{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/services/http.js","webpack:///./src/App.vue?7c58","webpack:///./src/components/Alerts.vue?e976","webpack:///src/components/Alerts.vue","webpack:///./src/components/Alerts.vue?0c6e","webpack:///./src/components/Alerts.vue","webpack:///src/App.vue","webpack:///./src/App.vue?7865","webpack:///./src/App.vue","webpack:///./src/router/index.js","webpack:///./src/registerServiceWorker.js","webpack:///./src/main.js","webpack:///./src/services/users.js","webpack:///./src/App.vue?f63c","webpack:///./src/components/Alerts.vue?d086","webpack:///./src/services/auth.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","AxiosInstance","Axios","axios","baseURL","process","interceptors","use","config","checkToken","AuthService","getToken","response","headers","authorization","accessToken","status","login","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","staticClass","model","callback","$$v","success","expression","_v","_s","mdiCheck","successMessage","mdiAlertCircle","errorMessage","mdi","mounted","$root","$on","component","VIcon","VSnackbar","components","Alerts","VApp","Vue","VueRouter","Roles","Admin","Manager","checkRoles","role","to","from","next","getUserRole","userRole","includes","path","routes","redirect","meta","requiresAuth","beforeEnter","router","base","beforeEach","matched","some","record","isAuthenticated","register","ready","log","registered","cached","updatefound","updated","offline","productionTip","mixin","methods","setStorageItem","_value","JSON","stringify","sessionStorage","setItem","getStorageItem","parse","getItem","removeStorageItem","removeItem","i18n","vuetify","render","h","App","$mount","getProfile","http","auth","clientId","authority","validateAuthority","redirectUri","cache","cacheLocation","storeAuthStateInCookie","locale","supportedLocales","navigator","language","scopes","loginReqest","extraQueryParameters","ui_locales","tokenRequest","app","Msal","handleRedirectCallback","indexOf","location","tokenType","idToken","claims","logout","hash","history","replaceState","loginRedirect","getAccount","isCallback","savedUser","getUserProfile","profile","applicationRole","origin","clear","acquireTokenSilent","acquireTokenRedirect"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,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,gBAAkB,EAC/C,IACE9H,OAAO+H,SAAW,kBAClB,MAAOlL,GACPiD,QAAQgF,IAAIjI,QAGX,CAIL,GACyB,aAAvBiE,EAASkH,WAC0B,yBAAnClH,EAASmH,QAAQC,OAAO,OAExB,OAAO,EAAKC,SAGTnI,OAAO+H,SAASK,KAAKtE,SAAS,UAEjCuE,QAAQC,aAAa,KAAM,KAAM,S,yDAM/BpB,GACR7F,KAAK6F,OAASC,OAAiBD,K,8BAI/B7F,KAAKsG,IAAIY,cAAclH,KAAKiG,OAAOC,e,wLAI/BlG,KAAKsG,IAAIa,cAAiBnH,KAAKsG,IAAIc,WAAWzI,OAAO+H,SAASK,M,gCACnD/G,KAAKR,W,sDAElBQ,KAAKF,Q,mBACE,G,uSAKHuH,EAAYjD,KAAKK,MAAMH,eAAeI,QAAQ,UAEhD2C,E,yCACKnN,QAAQC,QAAQkN,I,gCAIAlC,iB,cAAjB1F,E,OACN6E,eAAeC,QAAQ,OAAQH,KAAKC,UAAU5E,EAAS9H,O,kBAChD8H,EAAS9H,M,qCAEhB8G,QAAQjC,MAAR,M,kUAMsBwD,KAAKsH,iB,cAArBC,E,yBACCA,EAAQC,iB,mCAEf/I,QAAQjC,MAAR,M,iJAIFwK,QAAQC,aAAa,KAAM,KAA3B,UAAoCtI,OAAO+H,SAASe,SACpDnD,eAAeoD,QACf1H,KAAKsG,IAAIQ,W,0LAGHb,EAASjG,KAAKiG,O,kBAELjG,KAAKsG,IAAIqB,mBAAmB1B,EAAOI,c,8EAEhD5H,QAAQjC,MAAM,0BAAd,MACmB,iCAAf,KAAMM,K,4CAEOkD,KAAKsG,IAAIsB,qBAAqB3B,EAAOI,c,+EAElD5H,QAAQjC,MAAM,4BAAd,M,iIAOK,WAAI+C,G","file":"js/index.53e9927b.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"index\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"index\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\":\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\",\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\":\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\",\"account~adminLogs~installSensor\":\"account~adminLogs~installSensor\",\"account\":\"account\",\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\":\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\",\"adminLogs\":\"adminLogs\",\"installSensor\":\"installSensor\",\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\":\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\",\"adminUsers\":\"adminUsers\",\"newAccount\":\"newAccount\",\"registrationStepOne\":\"registrationStepOne\",\"registrationStepTwo\":\"registrationStepTwo\",\"scanVIN\":\"scanVIN\",\"shareApp\":\"shareApp\",\"privacyPolicy\":\"privacyPolicy\",\"swapAxles~swapWheels~trailerOverview\":\"swapAxles~swapWheels~trailerOverview\",\"swapAxles\":\"swapAxles\",\"swapWheels\":\"swapWheels\",\"trailerOverview\":\"trailerOverview\",\"termsAndConditions\":\"termsAndConditions\",\"wheelMenu\":\"wheelMenu\",\"help\":\"help\",\"trailerHistory\":\"trailerHistory\",\"resetPassword\":\"resetPassword\",\"resetPasswordThankyou\":\"resetPasswordThankyou\",\"welcome\":\"welcome\",\"notFound\":\"notFound\",\"thankyou\":\"thankyou\"}[chunkId]||chunkId) + \".\" + {\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\":\"38245c48\",\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\":\"0e3ce1fe\",\"account~adminLogs~installSensor\":\"c3f23097\",\"account\":\"cbba00d2\",\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\":\"541924b3\",\"adminLogs\":\"5c6cbd1c\",\"installSensor\":\"2c130990\",\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\":\"9e881071\",\"adminUsers\":\"410e86ae\",\"newAccount\":\"71baf236\",\"registrationStepOne\":\"ee4180ec\",\"registrationStepTwo\":\"36e409e5\",\"scanVIN\":\"c2ff7aea\",\"shareApp\":\"e263e82a\",\"privacyPolicy\":\"10f46661\",\"swapAxles~swapWheels~trailerOverview\":\"fa576c0d\",\"swapAxles\":\"3a894ad8\",\"swapWheels\":\"f4063241\",\"trailerOverview\":\"038d6b56\",\"termsAndConditions\":\"5702acab\",\"wheelMenu\":\"0802e1ae\",\"help\":\"e0d8e5b3\",\"trailerHistory\":\"17013b84\",\"resetPassword\":\"749767b4\",\"resetPasswordThankyou\":\"30e8004c\",\"welcome\":\"c3331090\",\"notFound\":\"9863f628\",\"thankyou\":\"c6611eca\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\":1,\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\":1,\"account~adminLogs~installSensor\":1,\"account\":1,\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\":1,\"adminLogs\":1,\"installSensor\":1,\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\":1,\"adminUsers\":1,\"newAccount\":1,\"registrationStepOne\":1,\"registrationStepTwo\":1,\"scanVIN\":1,\"shareApp\":1,\"privacyPolicy\":1,\"swapAxles~swapWheels~trailerOverview\":1,\"trailerOverview\":1,\"termsAndConditions\":1,\"wheelMenu\":1,\"help\":1,\"trailerHistory\":1,\"resetPassword\":1,\"resetPasswordThankyou\":1,\"welcome\":1,\"notFound\":1,\"thankyou\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\":\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\",\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\":\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\",\"account~adminLogs~installSensor\":\"account~adminLogs~installSensor\",\"account\":\"account\",\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\":\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\",\"adminLogs\":\"adminLogs\",\"installSensor\":\"installSensor\",\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\":\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\",\"adminUsers\":\"adminUsers\",\"newAccount\":\"newAccount\",\"registrationStepOne\":\"registrationStepOne\",\"registrationStepTwo\":\"registrationStepTwo\",\"scanVIN\":\"scanVIN\",\"shareApp\":\"shareApp\",\"privacyPolicy\":\"privacyPolicy\",\"swapAxles~swapWheels~trailerOverview\":\"swapAxles~swapWheels~trailerOverview\",\"swapAxles\":\"swapAxles\",\"swapWheels\":\"swapWheels\",\"trailerOverview\":\"trailerOverview\",\"termsAndConditions\":\"termsAndConditions\",\"wheelMenu\":\"wheelMenu\",\"help\":\"help\",\"trailerHistory\":\"trailerHistory\",\"resetPassword\":\"resetPassword\",\"resetPasswordThankyou\":\"resetPasswordThankyou\",\"welcome\":\"welcome\",\"notFound\":\"notFound\",\"thankyou\":\"thankyou\"}[chunkId]||chunkId) + \".\" + {\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~95bb31cf\":\"579cd98b\",\"account~adminLogs~adminUsers~help~installSensor~newAccount~privacyPolicy~registrationStepOne~registr~bed7a126\":\"32f0d470\",\"account~adminLogs~installSensor\":\"58e78643\",\"account\":\"da2c5003\",\"adminLogs~adminUsers~installSensor~newAccount~registrationStepOne~registrationStepTwo~resetPassword~~d38b041c\":\"1f91ff79\",\"adminLogs\":\"d8b22b46\",\"installSensor\":\"1678f33f\",\"adminUsers~newAccount~notFound~privacyPolicy~registrationStepOne~registrationStepTwo~resetPassword~r~7f88eba4\":\"6a47b58b\",\"adminUsers\":\"162a6bc3\",\"newAccount\":\"f967f5e6\",\"registrationStepOne\":\"1e3319f2\",\"registrationStepTwo\":\"0f199b40\",\"scanVIN\":\"3a3d0fd9\",\"shareApp\":\"f967f5e6\",\"privacyPolicy\":\"8e9f28be\",\"swapAxles~swapWheels~trailerOverview\":\"2cbbcca3\",\"swapAxles\":\"31d6cfe0\",\"swapWheels\":\"31d6cfe0\",\"trailerOverview\":\"a7c4c5eb\",\"termsAndConditions\":\"c1c2858d\",\"wheelMenu\":\"66d740ac\",\"help\":\"da9ed092\",\"trailerHistory\":\"298730f5\",\"resetPassword\":\"69638cb6\",\"resetPasswordThankyou\":\"4fe72483\",\"welcome\":\"ca746360\",\"notFound\":\"1f0184a6\",\"thankyou\":\"b3b9a207\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\",\"chunk-common\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import axios from \"axios\";\nimport AuthService from \"@/services/auth\";\n\nconst AxiosInstance = () => {\n const Axios = axios.create({\n baseURL: process.env.VUE_APP_API_URL\n });\n\n Axios.interceptors.request.use(\n async config => {\n const checkToken =\n config.checkToken !== undefined ? config.checkToken : true;\n if (checkToken) {\n const response = await AuthService.getToken();\n config.headers.authorization = `Bearer ${response.accessToken}`;\n }\n\n return config;\n },\n error => Promise.reject(error)\n );\n\n Axios.interceptors.response.use(\n response => response,\n error => {\n if (error.response.status === 401) {\n AuthService.login();\n }\n return Promise.reject(error.response);\n }\n );\n return Axios;\n};\n\nexport default AxiosInstance();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"app\"}},[_c('Alerts'),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-snackbar',{staticClass:\"successAlert\",attrs:{\"top\":\"\",\"outlined\":\"\",\"color\":\"success\",\"timeout\":_vm.timeout},model:{value:(_vm.success),callback:function ($$v) {_vm.success=$$v},expression:\"success\"}},[_c('span',{staticClass:\"icon\"},[_c('v-icon',{attrs:{\"size\":\"20\",\"color\":\"#8bc62d\"}},[_vm._v(\" \"+_vm._s(_vm.mdiCheck)+\" \")])],1),_c('span',[_vm._v(_vm._s(_vm.successMessage))])]),_c('v-snackbar',{staticClass:\"errorAlert\",attrs:{\"top\":\"\",\"outlined\":\"\",\"color\":\"error\",\"timeout\":_vm.timeout},model:{value:(_vm.error),callback:function ($$v) {_vm.error=$$v},expression:\"error\"}},[_c('span',{staticClass:\"icon\"},[_c('v-icon',{attrs:{\"size\":\"24\",\"color\":\"#e3000f\"}},[_vm._v(\" \"+_vm._s(_vm.mdiAlertCircle)+\" \")])],1),_c('span',[_vm._v(_vm._s(_vm.errorMessage))])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alerts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alerts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alerts.vue?vue&type=template&id=41c0b14e&scoped=true&\"\nimport script from \"./Alerts.vue?vue&type=script&lang=js&\"\nexport * from \"./Alerts.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Alerts.vue?vue&type=style&index=0&id=41c0b14e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"41c0b14e\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\ninstallComponents(component, {VIcon,VSnackbar})\n","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=64378471&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\ninstallComponents(component, {VApp})\n","import Vue from \"vue\";\nimport VueRouter from \"vue-router\";\nimport AuthService from \"@/services/auth\";\n\nVue.use(VueRouter);\n\nconst Roles = {\n Admin: \"Admin\",\n Manager: \"Manager\"\n};\n\nconst checkRoles = role => async (to, from, next) => {\n const userRole = await AuthService.getUserRole();\n if (role.includes(userRole)) {\n next();\n } else {\n next({ path: \"/\" });\n }\n};\n\nconst routes = [\n {\n path: \"/\",\n redirect: \"/scan-vin\"\n },\n {\n path: \"/scan-vin\",\n name: \"VIN\",\n component: () =>\n import(/* webpackChunkName: \"scanVIN\" */ \"../views/ScanVinPage.vue\"),\n meta: { requiresAuth: true }\n },\n {\n path: \"/trailer/:vin/overview\",\n name: \"Trailer overview\",\n component: () =>\n import(\n /* webpackChunkName: \"trailerOverview\" */ \"../views/TrailerConfigPage.vue\"\n ),\n meta: { requiresAuth: true }\n },\n {\n path: \"/trailer/:vin/wheel/:element\",\n name: \"Wheel menu\",\n component: () =>\n import(/* webpackChunkName: \"wheelMenu\" */ \"../views/WheelMenuPage.vue\"),\n meta: { requiresAuth: true }\n },\n {\n path: \"/trailer/:vin/wheel/:element/swap-wheels\",\n name: \"Swap wheels\",\n component: () =>\n import(\n /* webpackChunkName: \"swapWheels\" */ \"../views/SwapWheelsPage.vue\"\n ),\n meta: { requiresAuth: true }\n },\n {\n path: \"/trailer/:vin/wheel/:element/install-sensor\",\n name: \"Install sensor\",\n component: () =>\n import(\n /* webpackChunkName: \"installSensor\" */ \"../views/InstallSensorPage.vue\"\n ),\n meta: { requiresAuth: true }\n },\n {\n path: \"/trailer/:vin/wheel/:element/swap-axles\",\n name: \"Swap axles\",\n component: () =>\n import(/* webpackChunkName: \"swapAxles\" */ \"../views/SwapAxlesPage.vue\"),\n meta: { requiresAuth: true }\n },\n {\n path: \"/trailer/:vin/history\",\n name: \"Trailer history\",\n component: () =>\n import(\n /* webpackChunkName: \"trailerHistory\" */ \"../views/TrailerHistoryPage.vue\"\n ),\n meta: { requiresAuth: true }\n },\n {\n path: \"/account\",\n name: \"Account\",\n component: () =>\n import(/* webpackChunkName: \"account\" */ \"../views/AccountPage.vue\"),\n meta: { requiresAuth: true }\n },\n {\n path: \"/account-new\",\n name: \"New Account\",\n component: () =>\n import(\n /* webpackChunkName: \"newAccount\" */ \"../views/NewAccountPage.vue\"\n ),\n meta: { requiresAuth: true },\n beforeEnter: checkRoles([Roles.Admin, Roles.Manager])\n },\n {\n path: \"/share-app\",\n name: \"Share App\",\n component: () =>\n import(/* webpackChunkName: \"shareApp\" */ \"../views/ShareAppPage.vue\"),\n meta: { requiresAuth: true }\n },\n {\n path: \"/help\",\n name: \"Help\",\n component: () =>\n import(/* webpackChunkName: \"help\" */ \"../views/HelpPage.vue\"),\n meta: { requiresAuth: true }\n },\n {\n path: \"/terms-and-conditions\",\n name: \"Terms And Conditions\",\n component: () =>\n import(\n /* webpackChunkName: \"termsAndConditions\" */ \"../views/TermsAndConditionsPage.vue\"\n )\n },\n {\n path: \"/privacy-policy\",\n name: \"Privacy policy\",\n component: () =>\n import(\n /* webpackChunkName: \"privacyPolicy\" */ \"../views/PrivacyPolicyPage.vue\"\n )\n },\n {\n path: \"/welcome\",\n name: \"Welcome\",\n component: () =>\n import(/* webpackChunkName: \"welcome\" */ \"../views/WelcomePage.vue\")\n },\n {\n path: \"/registration-step-one\",\n name: \"Registration Step one\",\n component: () =>\n import(\n /* webpackChunkName: \"registrationStepOne\" */ \"../views/RegistrationStepOnePage.vue\"\n )\n },\n {\n path: \"/registration-step-two\",\n name: \"Registration Step two\",\n component: () =>\n import(\n /* webpackChunkName: \"registrationStepTwo\" */ \"../views/RegistrationStepTwoPage.vue\"\n )\n },\n {\n path: \"/thankyou\",\n name: \"Thank you\",\n component: () =>\n import(/* webpackChunkName: \"thankyou\" */ \"../views/ThankyouPage.vue\")\n },\n {\n path: \"/reset-password\",\n name: \"Reset password\",\n component: () =>\n import(\n /* webpackChunkName: \"resetPassword\" */ \"../views/ResetPasswordPage.vue\"\n )\n },\n {\n path: \"/reset-password&hint=*\",\n name: \"Reset password\",\n component: () =>\n import(\n /* webpackChunkName: \"resetPassword\" */ \"../views/ResetPasswordPage.vue\"\n )\n },\n {\n path: \"/reset-password-thankyou\",\n name: \"Reset password Thankyou\",\n component: () =>\n import(\n /* webpackChunkName: \"resetPasswordThankyou\" */ \"../views/ResetPasswordThankyouPage.vue\"\n ),\n beforeEnter: (to, from, next) => {\n if (from.name === \"Reset password\") {\n next();\n } else {\n next({ path: \"/\" });\n }\n }\n },\n {\n path: \"/admin\",\n redirect: \"/admin/logs\"\n },\n {\n path: \"/admin/users\",\n name: \"Admin Users\",\n component: () =>\n import(\n /* webpackChunkName: \"adminUsers\" */ \"../views/admin/AdminUsersPage.vue\"\n ),\n meta: { requiresAuth: true },\n beforeEnter: checkRoles([Roles.Admin])\n },\n {\n path: \"/admin/logs\",\n name: \"Admin Logs\",\n component: () =>\n import(\n /* webpackChunkName: \"adminLogs\" */ \"../views/admin/AdminLogsPage.vue\"\n ),\n meta: { requiresAuth: true },\n beforeEnter: checkRoles([Roles.Admin])\n },\n {\n path: \"*\",\n component: () =>\n import(/* webpackChunkName: \"notFound\" */ \"../views/NotFoundPage.vue\")\n }\n];\n\nconst router = new VueRouter({\n mode: \"history\",\n base: process.env.BASE_URL,\n routes\n});\n\nrouter.beforeEach(async (to, from, next) => {\n if (to.matched.some(record => record.meta.requiresAuth)) {\n // this route requires auth, check if logged in\n // if not, redirect to login page.\n const response = await AuthService.isAuthenticated();\n\n if (response && response.accessToken) {\n next();\n }\n } else {\n next();\n }\n});\n\nexport default router;\n","/* eslint-disable no-console */\n\nimport { register } from \"register-service-worker\";\n\nif (process.env.NODE_ENV === \"production\") {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready() {\n console.log(\n \"App is being served from cache by a service worker.\\n\" +\n \"For more details, visit https://goo.gl/AFskqB\"\n );\n },\n registered() {\n console.log(\"Service worker has been registered.\");\n },\n cached() {\n console.log(\"Content has been cached for offline use.\");\n },\n updatefound() {\n console.log(\"New content is downloading.\");\n },\n updated() {\n console.log(\"New content is available; please refresh.\");\n },\n offline() {\n console.log(\n \"No internet connection found. App is running in offline mode.\"\n );\n },\n error(error) {\n console.error(\"Error during service worker registration:\", error);\n }\n });\n}\n","import Vue from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport \"./registerServiceWorker\";\nimport i18n from \"./i18n\";\nimport vuetify from \"./plugins/vuetify\";\n\nVue.config.productionTip = false;\n\nVue.mixin({\n methods: {\n setStorageItem(key, value) {\n const _value = JSON.stringify(value);\n sessionStorage.setItem(key, _value);\n },\n getStorageItem(key) {\n return JSON.parse(sessionStorage.getItem(key));\n },\n removeStorageItem(key) {\n sessionStorage.removeItem(key);\n }\n }\n});\n\nnew Vue({\n router,\n i18n,\n vuetify,\n render: h => h(App)\n}).$mount(\"#app\");\n","import http from \"./http\";\n\nexport const getProfile = () => {\n return http.get(\"/Users/profile\");\n};\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alerts.vue?vue&type=style&index=0&id=41c0b14e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alerts.vue?vue&type=style&index=0&id=41c0b14e&lang=scss&scoped=true&\"","import * as Msal from \"msal\";\nimport { getProfile } from \"@/services/users\";\nimport { supportedLocales } from \"@/i18n\";\n\nclass AuthService {\n constructor() {\n this.config = {\n auth: {\n clientId: process.env.VUE_APP_ADB2C_CLIENT_ID,\n authority: process.env.VUE_APP_ADB2C_AUTHORITY,\n validateAuthority: false,\n redirectUri: process.env.VUE_APP_ADB2C_REDIRECT_URI\n },\n cache: {\n cacheLocation: \"sessionStorage\",\n storeAuthStateInCookie: false\n }\n };\n\n this.locale =\n supportedLocales[navigator.language] || process.env.VUE_APP_I18N_LOCALE;\n\n this.scopes = {\n loginReqest: {\n scopes: [\"openid\", \"profile\"],\n extraQueryParameters: { ui_locales: this.locale }\n },\n tokenRequest: {\n scopes: [process.env.VUE_APP_ADB2C_SCOPES]\n // forceRefresh: true\n }\n };\n\n this.app = new Msal.UserAgentApplication(this.config);\n\n this.app.handleRedirectCallback((error, response) => {\n if (error) {\n console.error(error);\n\n // Check for forgot password error\n // Learn more about AAD error codes at https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes\n if (error.errorMessage.indexOf(\"AADB2C90118\") > -1) {\n try {\n window.location = \"/reset-password\";\n } catch (err) {\n console.log(err);\n }\n }\n } else {\n // We need to reject id tokens that were not issued with the default sign-in policy.\n // \"acr\" claim in the token tells us what policy is used (NOTE: for new policies (v2.0), use \"tfp\" instead of \"acr\")\n // To learn more about b2c tokens, visit https://docs.microsoft.com/en-us/azure/active-directory-b2c/tokens-overview\n if (\n response.tokenType === \"id_token\" &&\n response.idToken.claims[\"acr\"] !== \"b2c_1a_signup_signin\"\n ) {\n return this.logout();\n }\n\n if (!window.location.hash.includes(\"state\")) {\n // remove # from url\n history.replaceState(null, null, \" \");\n }\n }\n });\n }\n\n setLocale(locale) {\n this.locale = supportedLocales[locale];\n }\n\n login() {\n this.app.loginRedirect(this.scopes.loginReqest);\n }\n\n async isAuthenticated() {\n if (this.app.getAccount() && !this.app.isCallback(window.location.hash)) {\n return await this.getToken();\n } else {\n this.login();\n return false;\n }\n }\n\n async getUserProfile() {\n const savedUser = JSON.parse(sessionStorage.getItem(\"user\"));\n\n if (savedUser) {\n return Promise.resolve(savedUser);\n }\n\n try {\n const response = await getProfile();\n sessionStorage.setItem(\"user\", JSON.stringify(response.data));\n return response.data;\n } catch (error) {\n console.error(error);\n }\n }\n\n async getUserRole() {\n try {\n const profile = await this.getUserProfile();\n return profile.applicationRole;\n } catch (error) {\n console.error(error);\n }\n }\n logout() {\n history.replaceState(null, null, `${window.location.origin}`);\n sessionStorage.clear();\n this.app.logout();\n }\n async getToken() {\n const scopes = this.scopes;\n try {\n return await this.app.acquireTokenSilent(scopes.tokenRequest);\n } catch (error) {\n console.error(\"acquireTokenSilentError\", error);\n if (error.name === \"InteractionRequiredAuthError\") {\n try {\n return await this.app.acquireTokenRedirect(scopes.tokenRequest);\n } catch (error) {\n console.error(\"acquireTokenRedirectError\", error);\n }\n }\n }\n }\n}\n\nexport default new AuthService();\n"],"sourceRoot":""}