{"version":3,"sources":["polyfill.js","App.js","serviceWorker.js","utils/history.js","assets/icons/index.js","assets/icons/sygnet.js","assets/icons/logo.js","assets/icons/logo-negative.js","store.js","index.js","react-auth0-spa.js"],"names":["window","CustomEvent","event","params","bubbles","cancelable","detail","undefined","evt","document","createEvent","initCustomEvent","prototype","Event","Element","matches","msMatchesSelector","webkitMatchesSelector","closest","s","el","this","call","parentElement","parentNode","nodeType","TheLayout","React","lazy","App","useAuth0","isAuthenticated","loginWithRedirect","user","auth0Client","useEffect","title","process","logout","returnTo","location","origin","Suspense","fallback","className","path","name","render","props","Boolean","hostname","match","createBrowserHistory","icons","Object","assign","sygnet","logo","logoNegative","cilAlignCenter","cilAlignLeft","cilAlignRight","cilApplicationsSettings","cilArrowBottom","cilArrowRight","cilArrowTop","cilAsterisk","cilBan","cilBasket","cilBell","cilBold","cilBookmark","cilCalculator","cilCalendar","cilCloudDownload","cilChartPie","cilCheck","cilChevronBottom","cilChevronLeft","cilChevronRight","cilChevronTop","cilCircle","cilCheckCircle","cilCode","cilCommentSquare","cilCreditCard","cilCursor","cilCursorMove","cilDrop","cilDollar","cilEnvelopeClosed","cilEnvelopeLetter","cilEnvelopeOpen","cilEuro","cilEyedropper","cilFile","cilFullscreen","cilFullscreenExit","cilGlobeAlt","cilGraph","cilGrid","cilHome","cilInbox","cilIndentDecrease","cilIndentIncrease","cilInputPower","cilItalic","cilJustifyCenter","cilJustifyLeft","cilLaptop","cilLayers","cilLightbulb","cilList","cilListNumbered","cilListRich","cilLocationPin","cilLockLocked","cilMagnifyingGlass","cilMap","cilMoon","cilNotes","cilOptions","cilPaperclip","cilPaperPlane","cilPencil","cilPeople","cilPhone","cilPrint","cilPuzzle","cilSave","cilScrubber","cilSettings","cilShare","cilShareAll","cilShareBoxed","cilShieldAlt","cilSpeech","cilSpeedometer","cilSpreadsheet","cilStar","cilSun","cilTags","cilTask","cilTrash","cilUnderline","cilUser","cilUserFemale","cilUserFollow","cilUserUnfollow","cilX","cilXCircle","cilWarning","cilBarChart","cilChartLine","cilListFilter","cilAlarm","cilReportSlash","cilBellExclamation","cilInfo","cifUs","cifBr","cifIn","cifFr","cifEs","cifPl","cibSkype","cibFacebook","cibTwitter","cibLinkedin","cibFlickr","cibTumblr","cibXing","cibGithub","cibStackoverflow","cibYoutube","cibDribbble","cibInstagram","cibPinterest","cibVk","cibYahoo","cibAddthis","cibBehance","cibReddit","cibVimeo","cibCcMastercard","cibCcVisa","cibStripe","cibPaypal","cibGooglePay","cibCcAmex","initialState","sidebarShow","asideShow","darkMode","store","createStore","state","type","rest","ReactDOM","domain","client_id","redirect_uri","onRedirectCallback","appState","history","push","targetUrl","pathname","getElementById","navigator","serviceWorker","ready","then","registration","unregister","DEFAULT_REDIRECT_CALLBACK","replaceState","Auth0Context","createContext","useContext","Auth0Provider","children","initOptions","useState","setIsAuthenticated","setUser","setAuth0","loading","setLoading","popupOpen","setPopupOpen","a","createAuth0Client","auth0FromHook","search","includes","handleRedirectCallback","getUser","initAuth0","loginWithPopup","console","error","Provider","value","getIdTokenClaims","getTokenSilently","getTokenWithPopup"],"mappings":"6JA8BA,WAEE,GAAmC,oBAAvBA,OAAOC,YAA6B,OAAO,EAEvD,SAASA,EAAcC,EAAOC,GAC5BA,EAASA,GAAU,CAAEC,SAAS,EAAOC,YAAY,EAAOC,YAAQC,GAChE,IAAIC,EAAMC,SAASC,YAAa,eAEhC,OADAF,EAAIG,gBAAiBT,EAAOC,EAAOC,QAASD,EAAOE,WAAYF,EAAOG,QAC/DE,EAGTP,EAAYW,UAAYZ,OAAOa,MAAMD,UAErCZ,OAAOC,YAAcA,EAbvB,GAgBKa,QAAQF,UAAUG,UACrBD,QAAQF,UAAUG,QAChBD,QAAQF,UAAUI,mBAClBF,QAAQF,UAAUK,uBAGjBH,QAAQF,UAAUM,UACrBJ,QAAQF,UAAUM,QAAU,SAASC,GACnC,IAAIC,EAAKC,KAET,EAAG,CACD,GAAIP,QAAQF,UAAUG,QAAQO,KAAKF,EAAID,GA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BACAC,eACAC,sBACAC,oBACAC,eACAC,eACAC,kBACAC,aACAC,qBACAC,iBACAC,oBACAC,mBACAC,wBACAC,YACAC,aACAC,cACAC,gBACAC,kBACAC,mBACAC,eACAC,eACAC,cACAC,cACAC,eACAC,aACAC,iBACAC,iBACAC,cACAC,iBACAC,mBACAC,kBACAC,eACAC,oBACAC,oBACAC,aACAC,YACAC,aACAC,aACAC,cACAC,kBACAC,aACAC,mBACAC,mBACAC,qBACAC,UACAC,gBACAC,gBACAC,iBACAC,kBACAC,mBACAC,cACAC,oBACAC,wBACAC,cACC,CACDC,UACAC,UACAC,UACAC,UACAC,UACAC,WACC,CACDC,aACAC,gBACAC,eACAC,gBACAC,cACAC,cACAC,YACAC,cACAC,qBACAC,eACAC,gBACAC,iBACAC,iBACAC,UACAC,aACAC,eACAC,eACAC,cACAC,aACAC,oBACAC,cACAC,cACAC,cACAC,iBACAC,gB,yCIrRIC,GAAe,CACnBC,aAAa,EACbC,WAAW,EACXC,UAAU,GAaGC,GADDC,cATM,WAA8C,IAA7CC,EAA4C,uDAApCN,GAAoC,yCAApBO,EAAoB,EAApBA,KAASC,EAAW,mBAC/D,OAAQD,GACN,IAAK,MACH,OAAO,2BAAID,GAAUE,GACvB,QACE,OAAOF,MCEbzK,IAAM0B,MAAQA,GAYdkJ,IAASxJ,OAEL,cAAC,KAAD,CAAUmJ,MAAOA,GAAjB,SACE,cAAC,IAAD,CACEM,OAAQnK,mBACRoK,UAAWpK,mCACXqK,aAAcrK,sBACdsK,mBAfmB,SAAAC,GACzBC,EAAQC,KACNF,GAAYA,EAASG,UACjBH,EAASG,UACT/M,OAAOwC,SAASwK,WAOlB,SAME,cAAC,EAAD,QAINvM,SAASwM,eAAe,SPiFpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMC,MAAK,SAAAC,GACjCA,EAAaC,iB,sNQxHbC,EAA4B,kBAChCxN,OAAO6M,QAAQY,aAAa,GAAIhN,SAAS2B,MAAOpC,OAAOwC,SAASwK,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BoM,GAAW,GACXJ,GAAmB,GACnBC,EAAQjM,GANqB,2CAAH,qDAU5B,OACE,cAACyL,EAAayB,SAAd,CACEC,MAAO,CACLrN,kBACAE,OACAC,cACAkM,UACAE,YACAU,iBACAH,yBACAQ,iBAAkB,kBAAUnN,EAAYmN,iBAAZ,MAAAnN,EAAW,YACvCF,kBAAmB,kBAAUE,EAAYF,kBAAZ,MAAAE,EAAW,YACxCoN,iBAAkB,kBAAUpN,EAAYoN,iBAAZ,MAAApN,EAAW,YACvCqN,kBAAmB,kBAAUrN,EAAYqN,kBAAZ,MAAArN,EAAW,YACxCI,OAAQ,kBAAUJ,EAAYI,OAAZ,MAAAJ,EAAW,aAbjC,SAgBG4L,O","file":"static/js/main.07527a5d.chunk.js","sourcesContent":["/*\n* required polyfills\n*/\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import \"core-js\";\n// import 'core-js/features/symbol'\n// import 'core-js/features/object'\n// import 'core-js/features/function'\n// import 'core-js/features/parse-int'\n// import 'core-js/features/parse-float'\n// import 'core-js/features/number'\n// import 'core-js/features/math'\n// import 'core-js/features/string'\n// import 'core-js/features/date'\n// import 'core-js/features/array'\n// import 'core-js/features/regexp'\n// import 'core-js/features/map'\n// import 'core-js/features/weak-map'\n// import 'core-js/features/set'\n// import 'core-js/features/set/map';\n\n/** IE10 and IE11 requires the following for the Reflect API. */\n// import 'core-js/features/reflect';\n\n/** Evergreen browsers require these. **/\n// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.\n// import 'core-js/features/reflect'\n\n// CustomEvent() constructor functionality in IE9, IE10, IE11\n(function () {\n\n if ( typeof window.CustomEvent === \"function\" ) return false\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: undefined }\n var evt = document.createEvent( 'CustomEvent' )\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail )\n return evt\n }\n\n CustomEvent.prototype = window.Event.prototype\n\n window.CustomEvent = CustomEvent\n})()\n\nif (!Element.prototype.matches) {\n Element.prototype.matches =\n Element.prototype.msMatchesSelector ||\n Element.prototype.webkitMatchesSelector;\n}\n\nif (!Element.prototype.closest) {\n Element.prototype.closest = function(s) {\n var el = this;\n\n do {\n if (Element.prototype.matches.call(el, s)) return el;\n el = el.parentElement || el.parentNode;\n } while (el !== null && el.nodeType === 1);\n return null;\n };\n}\n","import 'devextreme/dist/css/dx.common.css';\nimport 'devextreme/dist/css/dx.light.css';\nimport { ToastContainer } from 'react-toastify';\nimport React, { useEffect } from 'react';\nimport { useAuth0 } from \"./react-auth0-spa\";\nimport { HashRouter, Route, Switch } from 'react-router-dom';\nimport './scss/style.scss';\n\nconst loading = () =>
;\n\n// Containers\nconst TheLayout = React.lazy(() => import('./containers/TheLayout'));\n\nconst App = () => {\n const { isAuthenticated, loginWithRedirect, user, auth0Client } = useAuth0();\n\n useEffect(() => {\n document.title = process.env.REACT_APP_TITLE;\n }, []);\n\n if (isAuthenticated === false) {\n auth0Client.logout({\n returnTo: window.location.origin\n });\n return loginWithRedirect({});\n }\n\n if (!user) {\n return null;\n } \n\n return (\n \n \n \n } />\n \n \n \n \n );\n}\nexport default App;\n","// In production, we register a service worker to serve assets from local cache.\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 the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\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\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);\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 console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://goo.gl/SC7cgQ'\n );\n });\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; please refresh.');\n\n // Execute callback\n if (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 console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\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 if (\n response.status === 404 ||\n response.headers.get('content-type').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 console.log(\n 'No internet connection found. App is running in offline mode.'\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","import { createBrowserHistory } from \"history\";\nexport default createBrowserHistory();","import { sygnet } from './sygnet'\nimport { logo } from './logo'\nimport { logoNegative } from './logo-negative'\n\nimport {\n cibSkype,\n cibFacebook,\n cibTwitter,\n cibLinkedin,\n cibFlickr,\n cibTumblr,\n cibXing,\n cibGithub,\n cibStackoverflow,\n cibYoutube,\n cibDribbble,\n cibInstagram,\n cibPinterest,\n cibVk,\n cibYahoo,\n cibAddthis,\n cibBehance,\n cibReddit,\n cibVimeo,\n cibCcMastercard,\n cibCcVisa,\n cibStripe,\n cibPaypal,\n cibGooglePay,\n cibCcAmex\n} from '@coreui/icons'\nimport {\n cifUs,\n cifBr,\n cifIn,\n cifFr,\n cifEs,\n cifPl\n} from '@coreui/icons'\nimport {\n cilAlignCenter,\n cilAlignLeft,\n cilAlignRight,\n cilApplicationsSettings,\n cilArrowBottom,\n cilArrowRight,\n cilArrowTop,\n cilAsterisk,\n cilBan,\n cilBasket,\n cilBell,\n cilBold,\n cilBookmark,\n cilCalculator,\n cilCalendar,\n cilCloudDownload,\n cilChartPie,\n cilCheck,\n cilChevronBottom,\n cilChevronLeft,\n cilChevronRight,\n cilChevronTop,\n cilCircle,\n cilCheckCircle,\n cilCode,\n cilCommentSquare,\n cilCreditCard,\n cilCursor,\n cilCursorMove,\n cilDrop,\n cilDollar,\n cilEnvelopeClosed,\n cilEnvelopeLetter,\n cilEnvelopeOpen,\n cilEuro,\n cilEyedropper,\n cilFile,\n cilFullscreen,\n cilFullscreenExit,\n cilGlobeAlt,\n cilGrid,\n cilGraph,\n cilHome,\n cilInbox,\n cilIndentDecrease,\n cilIndentIncrease,\n cilInputPower,\n cilItalic,\n cilJustifyCenter,\n cilJustifyLeft,\n cilLaptop,\n cilLayers,\n cilLightbulb,\n cilList,\n cilListNumbered,\n cilListRich,\n cilLocationPin,\n cilLockLocked,\n cilMagnifyingGlass,\n cilMap,\n cilMoon,\n cilNotes,\n cilOptions,\n cilPaperclip,\n cilPaperPlane,\n cilPencil,\n cilPeople,\n cilPhone,\n cilPrint,\n cilPuzzle,\n cilSave,\n cilScrubber,\n cilSettings,\n cilShare,\n cilShareAll,\n cilShareBoxed,\n cilShieldAlt,\n cilSpeech,\n cilSpeedometer,\n cilSpreadsheet,\n cilStar,\n cilSun,\n cilTags,\n cilTask,\n cilTrash,\n cilUnderline,\n cilUser,\n cilUserFemale,\n cilUserFollow,\n cilUserUnfollow,\n cilX,\n cilXCircle,\n cilWarning,\n cilBarChart,\n cilChartLine,\n cilListFilter,\n cilAlarm,\n cilReportSlash,\n cilBellExclamation,\n cilInfo\n} from '@coreui/icons'\n\nexport const icons = Object.assign({}, {\n sygnet,\n logo,\n logoNegative\n}, {\n cilAlignCenter,\n cilAlignLeft,\n cilAlignRight,\n cilApplicationsSettings,\n cilArrowBottom,\n cilArrowRight,\n cilArrowTop,\n cilAsterisk,\n cilBan,\n cilBasket,\n cilBell,\n cilBold,\n cilBookmark,\n cilCalculator,\n cilCalendar,\n cilCloudDownload,\n cilChartPie,\n cilCheck,\n cilChevronBottom,\n cilChevronLeft,\n cilChevronRight,\n cilChevronTop,\n cilCircle,\n cilCheckCircle,\n cilCode,\n cilCommentSquare,\n cilCreditCard,\n cilCursor,\n cilCursorMove,\n cilDrop,\n cilDollar,\n cilEnvelopeClosed,\n cilEnvelopeLetter,\n cilEnvelopeOpen,\n cilEuro,\n cilEyedropper,\n cilFile,\n cilFullscreen,\n cilFullscreenExit,\n cilGlobeAlt,\n cilGraph,\n cilGrid,\n cilHome,\n cilInbox,\n cilIndentDecrease,\n cilIndentIncrease,\n cilInputPower,\n cilItalic,\n cilJustifyCenter,\n cilJustifyLeft,\n cilLaptop,\n cilLayers,\n cilLightbulb,\n cilList,\n cilListNumbered,\n cilListRich,\n cilLocationPin,\n cilLockLocked,\n cilMagnifyingGlass,\n cilMap,\n cilMoon,\n cilNotes,\n cilOptions,\n cilPaperclip,\n cilPaperPlane,\n cilPencil,\n cilPeople,\n cilPhone,\n cilPrint,\n cilPuzzle,\n cilSave,\n cilScrubber,\n cilSettings,\n cilShare,\n cilShareAll,\n cilShareBoxed,\n cilShieldAlt,\n cilSpeech,\n cilSpeedometer,\n cilSpreadsheet,\n cilStar,\n cilSun,\n cilTags,\n cilTask,\n cilTrash,\n cilUnderline,\n cilUser,\n cilUserFemale,\n cilUserFollow,\n cilUserUnfollow,\n cilX,\n cilXCircle,\n cilWarning,\n cilBarChart,\n cilChartLine,\n cilListFilter,\n cilAlarm,\n cilReportSlash,\n cilBellExclamation,\n cilInfo\n}, {\n cifUs,\n cifBr,\n cifIn,\n cifFr,\n cifEs,\n cifPl\n}, {\n cibSkype,\n cibFacebook,\n cibTwitter,\n cibLinkedin,\n cibFlickr,\n cibTumblr,\n cibXing,\n cibGithub,\n cibStackoverflow,\n cibYoutube,\n cibDribbble,\n cibInstagram,\n cibPinterest,\n cibVk,\n cibYahoo,\n cibAddthis,\n cibBehance,\n cibReddit,\n cibVimeo,\n cibCcMastercard,\n cibCcVisa,\n cibStripe,\n cibPaypal,\n cibGooglePay,\n cibCcAmex\n})\n","export const sygnet = ['160 160', `\n coreui logo\n \n \n \n \n \n \n`]\n","export const logo = ['690 134', `\n coreui react pro\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","export const logoNegative = ['690 134', `\n coreui react pro logo\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","import { createStore } from 'redux'\n\nconst initialState = {\n sidebarShow: false, // Options: 'responsive', true and false\n asideShow: false,\n darkMode: false\n}\n\nconst changeState = (state = initialState, { type, ...rest }) => {\n switch (type) {\n case 'set':\n return {...state, ...rest }\n default:\n return state\n }\n}\n\nconst store = createStore(changeState)\nexport default store\n","import 'react-app-polyfill/ie11'; // For IE 11 support\nimport 'react-app-polyfill/stable';\nimport 'core-js';\nimport './polyfill'\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\nimport { Auth0Provider } from \"./react-auth0-spa\";\n//import config from \"./auth_config.json\";\nimport history from \"./utils/history\";\nimport { icons } from './assets/icons';\nimport { Provider } from 'react-redux';\nimport store from './store';\n\nReact.icons = icons\n\n// A function that routes the user to the right place\n// after login\nconst onRedirectCallback = appState => {\n history.push(\n appState && appState.targetUrl\n ? appState.targetUrl\n : window.location.pathname\n );\n};\n\nReactDOM.render(\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","import React, { useState, useEffect, useContext } from \"react\";\nimport createAuth0Client from \"@auth0/auth0-spa-js\";\n\nconst DEFAULT_REDIRECT_CALLBACK = () =>\n window.history.replaceState({}, document.title, window.location.pathname);\n\nexport const Auth0Context = React.createContext();\nexport const useAuth0 = () => useContext(Auth0Context);\nexport const Auth0Provider = ({\n children,\n onRedirectCallback = DEFAULT_REDIRECT_CALLBACK,\n ...initOptions\n}) => {\n const [isAuthenticated, setIsAuthenticated] = useState();\n const [user, setUser] = useState();\n const [auth0Client, setAuth0] = useState();\n const [loading, setLoading] = useState(true);\n const [popupOpen, setPopupOpen] = useState(false);\n\n useEffect(() => {\n const initAuth0 = async () => {\n const auth0FromHook = await createAuth0Client(initOptions);\n setAuth0(auth0FromHook);\n\n if (window.location.search.includes(\"code=\") &&\n window.location.search.includes(\"state=\")) {\n const { appState } = await auth0FromHook.handleRedirectCallback();\n onRedirectCallback(appState);\n }\n\n const isAuthenticated = await auth0FromHook.isAuthenticated();\n\n setIsAuthenticated(isAuthenticated);\n\n if (isAuthenticated) {\n const user = await auth0FromHook.getUser();\n setUser(user);\n }\n\n setLoading(false);\n };\n initAuth0();\n // eslint-disable-next-line\n }, []);\n\n const loginWithPopup = async (params = {}) => {\n setPopupOpen(true);\n try {\n await auth0Client.loginWithPopup(params);\n } catch (error) {\n console.error(error);\n } finally {\n setPopupOpen(false);\n }\n const user = await auth0Client.getUser();\n setUser(user);\n setIsAuthenticated(true);\n };\n\n const handleRedirectCallback = async () => {\n setLoading(true);\n await auth0Client.handleRedirectCallback();\n const user = await auth0Client.getUser();\n setLoading(false);\n setIsAuthenticated(true);\n setUser(user);\n };\n \n\n return (\n auth0Client.getIdTokenClaims(...p),\n loginWithRedirect: (...p) => auth0Client.loginWithRedirect(...p),\n getTokenSilently: (...p) => auth0Client.getTokenSilently(...p),\n getTokenWithPopup: (...p) => auth0Client.getTokenWithPopup(...p),\n logout: (...p) => auth0Client.logout(...p)\n }}\n >\n {children}\n \n );\n};"],"sourceRoot":""}