\n ,\n img: error400Img,\n cta: 'Try again',\n ctaLink: '.',\n}, {\n code: 401,\n title:\n \n Sorry, something's not adding up.\n ,\n details:\n \n We couldn't verify your credentials. Check your details and try again.\n
Error code: 401
\n ,\n img: error401Img,\n cta: 'Go to login',\n ctaLink: `${EnvValues.API_ENDPOINT}/logout`,\n}, {\n code: 403,\n title:\n \n Sorry, it looks like you don't have permission to access this content.\n ,\n details:\n \n Check the link is correct and try again.\n
Error code: 403
\n ,\n img: error403Img,\n cta: 'Go to login',\n ctaLink: `${EnvValues.API_ENDPOINT}/logout`,\n}, {\n code: 404,\n title:\n \n Sorry, we can't find the page you're looking for.\n ,\n details:\n \n Check the link is correct and try again.\n
\n ,\n img: error500Img,\n cta: 'Try again',\n ctaLink: '.',\n}, {\n code: 501,\n title:\n \n We've encountered an error\n ,\n details:\n \n We are urgently working on a fix. Try reloading the page.\n
Error code: 501
\n ,\n img: error501Img,\n cta: 'Try again',\n ctaLink: '.',\n}, {\n code: 502,\n title:\n \n We've encountered an error\n ,\n details:\n \n We are urgently working on a fix. Try reloading the page.\n
Error code: 502
\n ,\n img: error502Img,\n cta: 'Try again',\n ctaLink: '.',\n}, {\n code: 503,\n title:\n \n We've encountered an error\n ,\n details:\n \n We are urgently working on a fix. Try reloading the page.\n
Error code: 503
\n ,\n img: error503Img,\n cta: 'Try again',\n ctaLink: '.',\n}, {\n code: 504,\n title:\n \n We've encountered an error\n ,\n details:\n \n We are urgently working on a fix. Try reloading the page.\n
\n \n \n );\n }\n}\n\nApp.propTypes = {\n classes: PropTypes.shape({}).isRequired,\n};\n\nfunction External() {\n window.location = getOidcLogoutEndpoint();\n return null;\n}\n\nconst style = theme => ({\n mainBody: {\n minHeight: '100%',\n position: 'relative',\n paddingTop: 67,\n marginLeft: 115,\n [theme.breakpoints.down('md')]: {\n marginLeft: 0,\n paddingTop: 117,\n },\n },\n mainBodyPublic: {\n minHeight: '100%',\n position: 'relative',\n },\n mainBodyContent: {\n [theme.breakpoints.down('md')]: {\n margin: 0,\n },\n overflow: 'hidden',\n },\n});\n\nexport default withStyles(style)(App);\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read http://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost'\n // [::1] is the IPv6 localhost address.\n || window.location.hostname === '[::1]'\n // 127.0.0.1/8 is considered localhost for IPv4.\n || window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/,\n ),\n);\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then((registration) => {\n // eslint-disable-next-line no-param-reassign\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n // eslint-disable-next-line no-console\n console.log(\n 'New content is available and will be used when all '\n + 'tabs for this page are closed. See http://bit.ly/CRA-PWA.',\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n // eslint-disable-next-line no-console\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch((error) => {\n // eslint-disable-next-line no-console\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then((response) => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404\n || (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n // eslint-disable-next-line no-console\n console.log(\n 'No internet connection found. App is running in offline mode.',\n );\n });\n}\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n // eslint-disable-next-line no-console\n console.log(\n 'This web app is being served cache-first by a service '\n + 'worker. To learn more, visit http://bit.ly/CRA-PWA',\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister();\n });\n }\n}\n","/* istanbul ignore file */\nimport EnvValues from '../conf/config';\nimport { getUserInfo } from '../app/security';\n\nwindow['adrum-start-time'] = new Date().getTime();\n\nconst userInfo = getUserInfo();\n\n/* eslint no-param-reassign: \"error\" */\n((config) => {\n config.appKey = EnvValues.APP_DYNAMICS_EUM_ID;\n config.adrumExtUrlHttp = './assets/app-dynamics';\n config.adrumExtUrlHttps = './assets/app-dynamics';\n config.beaconUrlHttp = EnvValues.HOST_URL;\n config.beaconUrlHttps = EnvValues.HOST_URL;\n config.xd = { enable: false };\n config.spa = {\n spa2: true,\n };\n})(window['adrum-config'] || (window['adrum-config'] = {\n userEventInfo: {\n PageView() {\n return {\n userData: {\n userName: userInfo.username,\n fullName: userInfo.fullName,\n subscriberName: userInfo.partyName,\n },\n };\n },\n Ajax() {\n return {\n userData: {\n userName: userInfo.username,\n fullName: userInfo.fullName,\n subscriberName: userInfo.partyName,\n },\n };\n },\n VPageView() {\n return {\n userData: {\n userName: userInfo.username,\n fullName: userInfo.fullName,\n subscriberName: userInfo.partyName,\n },\n };\n },\n },\n}));\n\ndocument.write(`${unescape('%3Cscript')} src='./assets/app-dynamics/adrum-latest.js' type='text/javascript' charset='UTF-8'${unescape('%3E%3C/script%3E')}`);\n","import 'react-app-polyfill/ie11';\nimport 'react-app-polyfill/stable';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport DateFnsUtils from '@date-io/date-fns';\nimport { ThemeProvider as MuiThemeProvider } from '@material-ui/core/styles';\nimport { MuiPickersUtilsProvider } from '@material-ui/pickers';\nimport CssBaseline from '@material-ui/core/CssBaseline';\nimport { Provider } from 'react-redux';\n\nimport PexaMuiTheme from './theme';\n\nimport App from './app';\n\nimport store from './store';\n\nimport * as serviceWorker from './serviceWorker';\n\nimport './index.css';\nimport './utils/appDynamics';\n\nReactDOM.render(\n \n \n \n \n \n \n \n ,\n document.getElementById('root'),\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: http://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}