{"version":3,"sources":["Core/Theme/theme.js","Containers/Index/styles.js","Containers/MainPage/styles.js","Routes/routes.js","Containers/MainPage/MainPage.js","Containers/Layout/makeStyles.js","Containers/Header/styles.js","Containers/Header/Header.js","Containers/Layout/AppBarCustom/AppBarCustom.js","Storage/Storage.js","Routes/CustomRoute.js","Middleware/AuthMiddleware.js","Containers/Layout/Layout.js","App.js","serviceWorker.js","index.js"],"names":["colors","breakpoints","MOBILE","SM","MD","LG","XL","theme","createMuiTheme","palette","primary","main","secondary","typography","useNextVariants","fontFamily","overrides","MuiContainer","root","width","display","boxSizing","marginLeft","marginRight","paddingLeft","paddingRight","MuiAppBar","colorPrimary","backgroundColor","boxShadow","MuiExpansionPanelSummary","color","MuiExpansionPanelDetails","background","MuiTextField","margin","border","height","paddingTop","paddingBottom","MuiInputLabel","fontSize","transform","MuiLink","MuiInputBase","input","transition","MuiInput","underline","borderBottom","MuiButton","containedPrimary","containedSecondary","MuiButtonGroup","contained","groupedContainedHorizontal","borderRadius","borderLeft","borderColor","borderTop","borderRight","MuiListItem","styles","container","sectionDesktop","up","sectionMobile","imgLogo","maxWidth","padding","down","bp","socialLinks","marginTop","float","listStyle","loginAccess","pageBox","paper","textAlign","routesList","auth","component","withStyles","style","props","classes","Container","className","Grid","spacing","item","xs","Paper","href","alt","src","exact","name","path","useStyles","makeStyles","toolbar","toolbarIcon","alignItems","justifyContent","mixins","appBar","zIndex","drawer","transitions","create","easing","sharp","duration","leavingScreen","appBarShift","enteringScreen","menuButton","menuButtonHidden","title","flexGrow","drawerPaper","position","whiteSpace","drawerPaperClose","overflowX","appBarSpacer","content","overflow","flexDirection","fixedHeight","cardIcon","customChip","fontWeight","Link","target","direction","justify","AppBar","Toolbar","AppBarCustom","useState","open","setOpen","Fragment","clsx","IconButton","edge","aria-label","onClick","Drawer","variant","StorageSymbol","Symbol","StorageSymbolEnforce","Storage","enforcer","Error","_token","localStorage","setItem","getItem","_flag","this","isTokenExpired","removeItem","authMiddleware","storage","instance","token","getToken","to","pathname","CustomRoute","Component","rest","render","options","validate","CssBaseline","reject","Routes","map","page","strict","key","App","t","Boolean","window","location","hostname","match","dotenv","config","ReactDOM","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"8OAEaA,EACJ,UADIA,EAGL,UAHKA,EAMF,UANEA,EAOA,UAPAA,EASD,UATCA,EAcJ,UAdIA,EAeC,UAfDA,EAmBJ,UAIIC,EAAc,CACzBC,OAAQ,IACRC,GAAI,IACJC,GAAI,IACJC,GAAI,KACJC,GAAI,MAGOC,EAAQC,YAAe,CAClCC,QAAS,CACPC,QAAS,CACPC,KAAMX,GAERY,UAAW,CACTD,KAAMX,IAGVa,WAAY,CACVC,iBAAiB,EACjBC,WAAY,WAEdC,UAAW,CACTC,aAAc,CACZC,KAAM,CACJC,MAAO,OACPC,QAAS,QACTC,UAAW,aACXC,WAAY,OACZC,YAAa,OACbC,YAAa,OACbC,aAAc,OACd,4BAA6B,CAC3BD,YAAa,EACbC,aAAc,KAIpBC,UAAW,CACTC,aAAc,CACZC,gBAAgB,GAAD,OAAK5B,GACpB6B,UAEE,yGAGNC,yBAA0B,CACxBZ,KAAM,CACJU,gBAAgB,GAAD,OAAK5B,EAAL,eACf+B,MAAM,GAAD,OAAK/B,EAAL,iBAGTgC,yBAA0B,CACxBd,KAAM,CACJe,WAAW,GAAD,OAAKjC,EAAL,eACV+B,MAAM,GAAD,OAAK/B,EAAL,iBAGTkC,aAAc,CACZhB,KAAM,CACJiB,OAAQ,aACRC,OAAO,aAAD,OAAepC,GACrBwB,YAAa,OACba,OAAQ,OACRC,WAAY,OACZC,cAAe,MACfN,WAAW,GAAD,OAAKjC,KAGnBwC,cAAe,CACbtB,KAAM,CACJI,WAAY,OACZmB,SAAU,OACV,wBAAyB,CACvBV,MAAM,GAAD,OAAK/B,GACV0C,UAAW,wBAIjBC,QAAS,CACPzB,KAAM,CACJa,MAAM,GAAD,OAAK/B,GACVe,WAAY,gBAGhB6B,aAAc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AOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCfNC,IAAOC,SAEPC,IAASnB,OAAO,kBAAC,GAAD,MAASoB,SAASC,eAAe,SD4I3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,c","file":"static/js/main.4b1c5c80.chunk.js","sourcesContent":["import { createMuiTheme } from '@material-ui/core/styles';\r\n\r\nexport const colors = {\r\n black: '#000000',\r\n error: 'red',\r\n dark: '#1C1C1C',\r\n darkBlue: '#005670',\r\n gray: '#9A9A9A',\r\n midGray: '#757575',\r\n lightGray: '#797979',\r\n darkGray: '#2a2a2a',\r\n backGray: '#F8F8F8',\r\n orangeGrid:\r\n // eslint-disable-next-line max-len\r\n 'linear-gradient(rgba(255, 163, 0, 0.2) .1em, transparent .1em), linear-gradient(90deg, rgba(255, 163, 0, 0.2) .1em, transparent .1em)',\r\n orange: '#008945',\r\n green: '#008945',\r\n lightGreen: '#84BF48',\r\n orangeGradient:\r\n 'linear-gradient(180deg, #008945 0%, #008945 40%, #E76967 100%)',\r\n success: 'limegreen',\r\n white: '#FFFFFF',\r\n yellow: '#FFA300',\r\n};\r\n\r\nexport const breakpoints = {\r\n MOBILE: 480,\r\n SM: 600,\r\n MD: 960,\r\n LG: 1280,\r\n XL: 1920,\r\n};\r\n\r\nexport const theme = createMuiTheme({\r\n palette: {\r\n primary: {\r\n main: colors.green,\r\n },\r\n secondary: {\r\n main: colors.black,\r\n },\r\n },\r\n typography: {\r\n useNextVariants: true,\r\n fontFamily: \"'Inter'\",\r\n },\r\n overrides: {\r\n MuiContainer: {\r\n root: {\r\n width: '100%',\r\n display: 'block',\r\n boxSizing: 'border-box',\r\n marginLeft: 'auto',\r\n marginRight: 'auto',\r\n paddingLeft: '16px',\r\n paddingRight: '16px',\r\n '@media (min-width: 600px)': {\r\n paddingLeft: 0,\r\n paddingRight: 0,\r\n },\r\n },\r\n },\r\n MuiAppBar: {\r\n colorPrimary: {\r\n backgroundColor: `${colors.lightGreen}`,\r\n boxShadow:\r\n // eslint-disable-next-line max-len\r\n '0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12)',\r\n },\r\n },\r\n MuiExpansionPanelSummary: {\r\n root: {\r\n backgroundColor: `${colors.white} !important`,\r\n color: `${colors.green} !important`,\r\n },\r\n },\r\n MuiExpansionPanelDetails: {\r\n root: {\r\n background: `${colors.white} !important`,\r\n color: `${colors.green} !important`,\r\n },\r\n },\r\n MuiTextField: {\r\n root: {\r\n margin: '0px 0 20px',\r\n border: `solid 1px ${colors.lightGray}`,\r\n paddingLeft: '25px',\r\n height: '52px',\r\n paddingTop: '10px',\r\n paddingBottom: '6px',\r\n background: `${colors.white}`,\r\n },\r\n },\r\n MuiInputLabel: {\r\n root: {\r\n marginLeft: '25px',\r\n fontSize: '16px',\r\n \"&[data-shrink='true']\": {\r\n color: `${colors.dark}`,\r\n transform: 'translate(0, 10px)',\r\n },\r\n },\r\n },\r\n MuiLink: {\r\n root: {\r\n color: `${colors.green}`,\r\n fontFamily: \"'InterBold'\",\r\n },\r\n },\r\n MuiInputBase: {\r\n input: {\r\n '&:-internal-autofill-selected': {\r\n backgroundColor: `${colors.white} !important`,\r\n },\r\n '&:-webkit-autofill': {\r\n transition:\r\n 'background-color 50000s ease-in-out 0s, color 50000s ease-in-out 0s',\r\n },\r\n '&:-webkit-autofill:focus': {\r\n transition:\r\n 'background-color 50000s ease-in-out 0s, color 50000s ease-in-out 0s',\r\n },\r\n '&:-webkit-autofill:hover': {\r\n transition:\r\n 'background-color 50000s ease-in-out 0s, color 50000s ease-in-out 0s',\r\n },\r\n },\r\n },\r\n MuiInput: {\r\n underline: {\r\n '&:before': {\r\n borderBottom: 'none',\r\n },\r\n '&:hover:not($disabled):before': {\r\n borderBottom: 'none',\r\n },\r\n '&:after': {\r\n borderBottom: 'none',\r\n },\r\n },\r\n },\r\n MuiButton: {\r\n containedPrimary: {\r\n backgroundColor: `${colors.green}`,\r\n border: 0,\r\n height: 50,\r\n boxShadow: 'none',\r\n color: `${colors.white}`,\r\n fontFamily: \"'InterBold'\",\r\n '&:hover': {\r\n color: `${colors.green}`,\r\n backgroundColor: `${colors.white}`,\r\n },\r\n },\r\n containedSecondary: {\r\n backgroundColor: `${colors.white} !important`,\r\n color: `${colors.green} !important`,\r\n '&:hover': {\r\n backgroundColor: `${colors.white} !important`,\r\n },\r\n },\r\n },\r\n MuiButtonGroup: {\r\n contained: {\r\n boxShadow: 'none',\r\n },\r\n groupedContainedHorizontal: {\r\n color: `${colors.white}`,\r\n borderRadius: 10,\r\n backgroundColor: `${colors.green}`,\r\n fontFamily: \"'InterBold'\",\r\n fontSize: '12px',\r\n height: 40,\r\n\r\n '&:hover': {\r\n backgroundColor: `${colors.green}`,\r\n },\r\n\r\n '&:first-child': {\r\n borderLeft: '1px solid',\r\n },\r\n\r\n '&:not(:last-child)': {\r\n borderColor: `${colors.green} !important`,\r\n borderTop: '1px solid',\r\n borderBottom: '1px solid',\r\n },\r\n\r\n '&:last-child': {\r\n borderColor: `${colors.green} !important`,\r\n borderTop: '1px solid',\r\n borderBottom: '1px solid',\r\n borderRight: '1px solid',\r\n },\r\n },\r\n },\r\n MuiListItem: {\r\n root: {\r\n color: `${colors.midGray}`,\r\n },\r\n },\r\n },\r\n});\r\n\r\nexport default { breakpoints, theme };\r\n","import {\r\n colors,\r\n breakpoints as bp,\r\n} from '../../Core/Theme/theme';\r\n\r\nconst styles = theme => ({\r\n container: {\r\n background: colors.backGray,\r\n },\r\n sectionDesktop: {\r\n display: 'none',\r\n [theme.breakpoints.up('md')]: {\r\n display: 'flex',\r\n },\r\n },\r\n sectionMobile: {\r\n display: 'flex',\r\n [theme.breakpoints.up('md')]: {\r\n display: 'none',\r\n },\r\n },\r\n imgLogo: {\r\n maxWidth: '100%',\r\n height: 'auto',\r\n display: 'block',\r\n padding: 15,\r\n [theme.breakpoints.down(bp.MOBILE)]: {\r\n paddingTop: 25,\r\n },\r\n },\r\n socialLinks: {\r\n padding: 0,\r\n marginTop: 25,\r\n marginRight: 25,\r\n float: 'right',\r\n '& li': {\r\n listStyle: 'none',\r\n float: 'left',\r\n marginRight: '10px',\r\n },\r\n },\r\n loginAccess: {\r\n padding: 0,\r\n marginTop: 25,\r\n color: '#999',\r\n marginRight: 25,\r\n float: 'right',\r\n '& li': {\r\n listStyle: 'none',\r\n float: 'left',\r\n marginRight: '10px',\r\n paddingLeft: '25px',\r\n borderLeft: 'solid thin #000',\r\n '& span': {\r\n float: 'right',\r\n marginLeft: 5,\r\n marginTop: 3,\r\n },\r\n },\r\n },\r\n});\r\n\r\nexport default styles;\r\n","const styles = () => ({\r\n pageBox: {\r\n root: { backgroundColor: '#fff' },\r\n backgroundColor: '#fff',\r\n padding: 0,\r\n maxWidth: 1200,\r\n },\r\n paper: {\r\n padding: 20,\r\n textAlign: 'center',\r\n },\r\n});\r\n\r\nexport default styles;\r\n","/* eslint-disable max-len */\nimport MainPage from '../Containers/MainPage/MainPage';\n\nconst routesList = [\n {\n auth: false,\n component: MainPage,\n exact: true,\n name: 'mainPage',\n path: '/',\n },\n];\n\nexport default routesList;\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Container, Grid, Paper } from '@material-ui/core';\nimport style from './styles';\n\nconst MainPage = props => {\n const { classes } = props;\n\n MainPage.propTypes = {};\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default withStyles(style)(MainPage);\n","import { makeStyles } from '@material-ui/core/styles';\r\n\r\nconst drawerWidth = 340;\r\n\r\nconst useStyles = makeStyles(theme => ({\r\n root: {\r\n display: 'flex',\r\n },\r\n toolbar: {\r\n paddingRight: 24, // keep right padding when drawer closed\r\n },\r\n toolbarIcon: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'flex-end',\r\n padding: '0 8px',\r\n ...theme.mixins.toolbar,\r\n },\r\n appBar: {\r\n zIndex: theme.zIndex.drawer + 1,\r\n transition: theme.transitions.create(\r\n ['width', 'margin'],\r\n {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.leavingScreen,\r\n },\r\n ),\r\n },\r\n appBarShift: {\r\n marginLeft: drawerWidth,\r\n width: `calc(100% - ${drawerWidth}px)`,\r\n transition: theme.transitions.create(\r\n ['width', 'margin'],\r\n {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.enteringScreen,\r\n },\r\n ),\r\n },\r\n menuButton: {\r\n marginRight: 36,\r\n },\r\n menuButtonHidden: {\r\n display: 'none',\r\n },\r\n title: {\r\n flexGrow: 1,\r\n textAlign: 'left',\r\n },\r\n drawerPaper: {\r\n position: 'relative !important',\r\n whiteSpace: 'nowrap',\r\n width: drawerWidth,\r\n transition: theme.transitions.create('width', {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.enteringScreen,\r\n }),\r\n },\r\n drawerPaperClose: {\r\n overflowX: 'hidden',\r\n transition: theme.transitions.create('width', {\r\n easing: theme.transitions.easing.sharp,\r\n duration: theme.transitions.duration.leavingScreen,\r\n }),\r\n width: theme.spacing(7),\r\n [theme.breakpoints.up('sm')]: {\r\n width: theme.spacing(9),\r\n },\r\n },\r\n appBarSpacer: theme.mixins.toolbar,\r\n content: {\r\n flexGrow: 1,\r\n height: '100vh',\r\n overflow: 'auto',\r\n },\r\n container: {\r\n paddingTop: theme.spacing(4),\r\n paddingBottom: theme.spacing(4),\r\n },\r\n paper: {\r\n padding: theme.spacing(2),\r\n display: 'flex',\r\n overflow: 'auto',\r\n flexDirection: 'column',\r\n },\r\n fixedHeight: {\r\n height: 240,\r\n },\r\n imgLogo: {\r\n width: 263,\r\n padding: 15,\r\n },\r\n cardIcon: {\r\n background: '#84BF48',\r\n },\r\n customChip: {\r\n marginRight: 10,\r\n },\r\n}));\r\n\r\nexport default useStyles;\r\n","import {\r\n colors,\r\n breakpoints as bp,\r\n} from '../../Core/Theme/theme';\r\n\r\nconst styles = theme => ({\r\n container: {\r\n background: colors.backGray,\r\n },\r\n sectionDesktop: {\r\n display: 'none',\r\n [theme.breakpoints.up('md')]: {\r\n display: 'flex',\r\n },\r\n },\r\n sectionMobile: {\r\n display: 'flex',\r\n [theme.breakpoints.up('md')]: {\r\n display: 'none',\r\n },\r\n },\r\n imgLogo: {\r\n maxWidth: '100%',\r\n width: '245px',\r\n height: 'auto',\r\n display: 'block',\r\n padding: 15,\r\n [theme.breakpoints.down(bp.MOBILE)]: {\r\n paddingTop: 25,\r\n },\r\n },\r\n socialLinks: {\r\n padding: 0,\r\n marginTop: 25,\r\n marginRight: 25,\r\n float: 'right',\r\n '& li': {\r\n listStyle: 'none',\r\n float: 'left',\r\n marginRight: '10px',\r\n },\r\n },\r\n loginAccess: {\r\n padding: 0,\r\n marginTop: 25,\r\n color: '#999',\r\n marginRight: 25,\r\n float: 'right',\r\n '& li': {\r\n listStyle: 'none',\r\n float: 'left',\r\n marginRight: '10px',\r\n paddingLeft: '25px',\r\n borderLeft: 'solid thin #000',\r\n '& span': {\r\n float: 'right',\r\n marginLeft: 5,\r\n marginTop: 3,\r\n },\r\n '& a.MuiLink-root': {\r\n color: '#999',\r\n fontFamily: \"'Inter'\",\r\n },\r\n },\r\n },\r\n});\r\n\r\nexport default styles;\r\n","import React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\nimport { Container, Grid, Link } from '@material-ui/core';\nimport AppBar from '@material-ui/core/AppBar';\nimport Toolbar from '@material-ui/core/Toolbar';\nimport FacebookIcon from '@material-ui/icons/Facebook';\nimport InstagramIcon from '@material-ui/icons/Instagram';\nimport TwitterIcon from '@material-ui/icons/Twitter';\nimport YouTubeIcon from '@material-ui/icons/YouTube';\n\nimport style from './styles';\n\nconst Header = props => {\n const { classes } = props;\n\n return (\n \n \n \n \n \n \n \n Partido LiberaciĆ³n Nacional\n {' '}\n
\n PROCESO DE ELECCIONES 2021\n \n \n
\n \n \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n \n
    \n
    \n \n \n  \n \n \n
    \n );\n};\n\nexport default withStyles(style)(Header);\n","import React, { useState } from 'react';\nimport clsx from 'clsx';\nimport Toolbar from '@material-ui/core/Toolbar';\nimport IconButton from '@material-ui/core/IconButton';\nimport MenuIcon from '@material-ui/icons/Menu';\nimport Drawer from '@material-ui/core/Drawer';\nimport ChevronLeftIcon from '@material-ui/icons/ChevronLeft';\nimport AppBar from '@material-ui/core/AppBar';\n\nconst AppBarCustom = props => {\n const [open, setOpen] = useState(true);\n const { classes } = props;\n\n const handleDrawerOpen = () => {\n setOpen(true);\n };\n\n const handleDrawerClose = () => {\n setOpen(false);\n };\n\n return (\n \n \n \n \n \n \n \n \n \n
    \n \n \n \n \n
    \n \n
    \n );\n};\n\nexport default AppBarCustom;\n","/* eslint-disable class-methods-use-this */\r\nconst StorageSymbol = Symbol('empty');\r\nconst StorageSymbolEnforce = Symbol('empty');\r\n\r\nclass Storage {\r\n constructor(enforcer) {\r\n if (enforcer !== StorageSymbolEnforce) {\r\n throw new Error('Cannot construct singleton');\r\n }\r\n\r\n // this.isTokenExpired = true;\r\n }\r\n\r\n static get instance() {\r\n if (!this[StorageSymbol]) {\r\n this[StorageSymbol] = new Storage(\r\n StorageSymbolEnforce,\r\n );\r\n }\r\n return this[StorageSymbol];\r\n }\r\n\r\n setToken(_token) {\r\n localStorage.setItem('token', _token);\r\n }\r\n\r\n getToken() {\r\n const localToken = localStorage.getItem('token');\r\n return localToken;\r\n }\r\n\r\n setIsTokenExpired(_flag) {\r\n this.isTokenExpired = _flag;\r\n }\r\n\r\n getIsTokenExpired() {\r\n return this.isTokenExpired;\r\n }\r\n\r\n removeStorage() {\r\n localStorage.removeItem('token');\r\n }\r\n}\r\n\r\nexport default Storage;\r\n","/* eslint-disable react/jsx-props-no-spreading */\r\n/* eslint-disable react/prop-types */\r\n/* eslint-disable no-unused-vars */\r\nimport React from 'react';\r\nimport { Route } from 'react-router-dom';\r\nimport CssBaseline from '@material-ui/core/CssBaseline';\r\nimport useStyles from '../Containers/Layout/makeStyles';\r\nimport Header from '../Containers/Header/Header';\r\nimport AppBarCustom from '../Containers/Layout/AppBarCustom/AppBarCustom';\r\nimport AuthMiddleware from '../Middleware/AuthMiddleware';\r\n\r\nconst authMiddleware = new AuthMiddleware();\r\n\r\nconst CustomRoute = ({\r\n auth,\r\n component: Component,\r\n ...rest\r\n}) => {\r\n const classes = useStyles();\r\n\r\n return (\r\n {\r\n const { options } = rest.options || {};\r\n\r\n if (!auth) {\r\n return (\r\n <>\r\n
    \r\n \r\n \r\n );\r\n }\r\n\r\n if (!authMiddleware.validate()) {\r\n return authMiddleware.reject();\r\n }\r\n\r\n return (\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n }}\r\n />\r\n );\r\n};\r\n\r\nexport default CustomRoute;\r\n","import React from 'react';\r\nimport { Redirect } from 'react-router-dom';\r\nimport Storage from '../Storage/Storage';\r\n\r\nclass AuthMiddleware {\r\n constructor() {\r\n this.storage = Storage.instance;\r\n }\r\n\r\n validate() {\r\n const token = this.storage.getToken();\r\n return token !== null && token !== '';\r\n }\r\n\r\n // eslint-disable-next-line class-methods-use-this\r\n reject() {\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default AuthMiddleware;\r\n","import React from 'react';\r\nimport { Switch, BrowserRouter } from 'react-router-dom';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport { Container } from '@material-ui/core';\r\nimport style from '../Index/styles';\r\nimport Routes from '../../Routes/routes';\r\nimport CustomRoute from '../../Routes/CustomRoute';\r\n\r\nconst Layout = () => {\r\n return (\r\n \r\n \r\n \r\n {Routes.map(page => {\r\n return (\r\n \r\n );\r\n })}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default withStyles(style)(Layout);\r\n","import React from 'react';\nimport { MuiThemeProvider } from '@material-ui/core/styles';\nimport { theme as t } from './Core/Theme/theme';\nimport Layout from './Containers/Layout/Layout';\n\nconst App = () => {\n return (\n \n \n \n );\n};\n\nexport default App;\n","/* eslint no-use-before-define: 0 */ // --> OFF\r\n/* eslint no-param-reassign: 0 */ // --> OFF\r\n/* eslint no-console: 0 */ // --> OFF\r\n\r\n// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.0/8 are considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/,\r\n ),\r\n);\r\n\r\nexport function register(config) {\r\n if (\r\n process.env.NODE_ENV === 'production' &&\r\n 'serviceWorker' in navigator\r\n ) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(\r\n process.env.PUBLIC_URL,\r\n window.location.href,\r\n );\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config);\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA',\r\n );\r\n });\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n if (installingWorker == null) {\r\n return;\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.',\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration);\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log(\r\n 'Content is cached for offline use.',\r\n );\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration);\r\n }\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error(\r\n 'Error during service worker registration:',\r\n error,\r\n );\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl, {\r\n headers: { 'Service-Worker': 'script' },\r\n })\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get(\r\n 'content-type',\r\n );\r\n if (\r\n response.status === 404 ||\r\n (contentType != null &&\r\n contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.',\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready\r\n .then(registration => {\r\n registration.unregister();\r\n })\r\n .catch(error => {\r\n console.error(error.message);\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport dotenv from 'dotenv';\r\nimport App from './App';\r\nimport './index.css';\r\nimport * as serviceWorker from './serviceWorker';\r\n\r\ndotenv.config();\r\n\r\nReactDOM.render(, document.getElementById('root'));\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: https://bit.ly/CRA-PWA\r\nserviceWorker.unregister();\r\n"],"sourceRoot":""}