{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/globalConfig/ap.config.defaults.js","webpack:///./src/main.js","webpack:///./src/api/fileApi.js"],"names":["i","chunkIds","length","deferredModules","j","deferredModule","chunkId","existingLinkTags","existingStyleTags","then","type","target","script","enumerable","get","getter","value","key","bind","module","Object","prototype","hasOwnProperty","call","object","property","console","error","err","jsonpArray","webpackJsonpCallback","storageCheckAttempt","storageCheckAttemptThreshold","storgeCheckAttemptInterval","storageCheckLoop","log","sessionStorage","localStorage","setItem","Date","now","setTimeout","fileApi","getAcademySettings","settings","apConfig","apDefaults","window","__academySettings","__translationsLoaded","_storage","VUE_APP_STORAGE","getItem","JSON","parse","VUE_APP_RAYGUN_API_KEY","rg4js","VUE_APP_RAYGUN_ENABLE_CRASHREPORTING","VUE_APP_RAYGUN_ENABLE_PULSE","appMounter","mount","catch","alert","instance","axios","create","Promise","resolve","reject","response","data","getJsonFile","path"],"mappings":"aACA,cAQA,IAPA,IAMA,IANA,OACA,OACA,OAIA,SACQA,EAAIC,EAASC,OAAQF,IAC7B,OACA,MACA,gBAEA,OAEA,WACA,4CACA,WAGA,QAEA,eACA,YAOA,OAHA,sBAGA,IAEA,aAEA,IADA,MACA,IAAkBA,EAAIG,EAAgBD,OAAQF,IAAK,CAGnD,IAFA,WACA,KACA,IAAmBI,EAAIC,EAAeH,OAAQE,IAAK,CACnD,WACA,iBAEA,IACA,gBACA,eAGA,SAIA,SAGA,GACA,OAMA,GACA,OAGA,KAGA,cACA,qBAA8CE,IAAUA,GAAW,IAAM,CAAC,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WAAW,iBAAiB,WA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F,GACrCG,OAAOC,kBAAoBH,EAC3BE,OAAOE,sBAAuB,EAE9B,IAAIC,EAAWb,aAEkC,iBAA7CU,OAAOC,kBAAkBG,kBAC3BD,EAAWd,gBAGMc,EAASE,QAAQ,qBAAsBC,KAAKC,MAAMJ,EAASE,QAAQ,qBAG/B,IAAnDL,OAAOC,kBAAkBO,yBAC3BC,MAAM,SAAUT,OAAOC,kBAAkBO,wBACzCC,MAAM,uBAAwBT,OAAOC,kBAAkBS,sCACvDD,MAAM,cAAeT,OAAOC,kBAAkBU,8BAIhD,iDAAuBjD,MAAK,SAACkD,GAE3BjC,QAAQS,IAAI,wBACZwB,EAAWC,cAEZC,OAAM,WAEPC,MAAM,oDAKZ5B,K,kCCrDA,yBAGM6B,GAHN,UAGiBC,IAAMC,OAAO,KAEf,QACXtB,mBAAoB,WAChB,OAAO,IAAIuB,SAAQ,SAACC,EAASC,GACzBL,EAASjD,IAAI,mBAAmBL,MAAK,SAAA4D,GACjCF,EAAQE,EAASC,SAClBT,OAAM,SAAAjC,GACLwC,EAAOxC,EAAIyC,iBAIvBE,YAAa,SAACC,GACV,OAAO,IAAIN,SAAQ,SAACC,EAASC,GACzBL,EAASjD,IAAT,WAAiB0D,EAAjB,UAA8B/D,MAAK,SAAA4D,GAC/BF,EAAQE,EAASC,SAClBT,OAAM,SAAAjC,GACLwC,EAAOxC,EAAIyC","file":"js/app.72a85fd4.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(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 \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\"app\": 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\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-487f59a6\":\"171f4d72\",\"chunk-0335901f\":\"2e75a181\",\"chunk-127390be\":\"f4761a45\",\"chunk-13266068\":\"90a0f79a\",\"chunk-1cbbb22b\":\"7310ee5e\",\"chunk-22d55bd5\":\"f76a8ecf\",\"chunk-23d2a561\":\"8be5a58f\",\"chunk-27cbc32a\":\"ea91331a\",\"chunk-2b2ee7c8\":\"a66a841f\",\"chunk-2d0a4b20\":\"77c11019\",\"chunk-2d0a4d8d\":\"801600e8\",\"chunk-2d0ab423\":\"b0858677\",\"chunk-2d0b5dd8\":\"01b98456\",\"chunk-2d0c0824\":\"a8689a46\",\"chunk-2d0cefe0\":\"dc8ae869\",\"chunk-2d21f81f\":\"66835328\",\"chunk-2d22fd40\":\"0001daba\",\"chunk-3caf0574\":\"f0e43818\",\"chunk-42937dc8\":\"21b3d116\",\"chunk-45848001\":\"33e541bb\",\"chunk-2d0cc99a\":\"a4f0a355\",\"chunk-2d0dad17\":\"258ad0d0\",\"chunk-2d0deca6\":\"53228e06\",\"chunk-4d1ea650\":\"965bfb88\",\"chunk-37cf2a0a\":\"c94f3568\",\"chunk-45728e1a\":\"221a4d64\",\"chunk-5351ed44\":\"d2ce7591\",\"chunk-556ce337\":\"6f4c6bbd\",\"chunk-63a420dd\":\"273aaa0d\",\"chunk-65304071\":\"0cd33f1f\",\"chunk-668440ac\":\"a1afa2c0\",\"chunk-71a095f8\":\"6fa86af4\",\"chunk-72d897d2\":\"181a2972\",\"chunk-2d0bfeb0\":\"ad05cbea\",\"chunk-620c74e6\":\"ea003f5d\",\"chunk-7a97ad94\":\"f3405555\",\"chunk-c1daf678\":\"b501bac8\",\"chunk-730f8322\":\"74f116d2\",\"chunk-75b0c32b\":\"deb80eb5\",\"chunk-779dc19f\":\"04cdfe92\",\"chunk-13355726\":\"33fa48bb\",\"chunk-38215008\":\"2fc862f5\",\"chunk-84f132e8\":\"1fe54fa9\",\"chunk-acf418a2\":\"2107959e\",\"chunk-cbb98126\":\"54ffab8d\",\"chunk-2d0ab30b\":\"5ab5aa36\",\"chunk-2d0dab20\":\"4e1960c4\"}[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 = {\"chunk-487f59a6\":1,\"chunk-0335901f\":1,\"chunk-127390be\":1,\"chunk-13266068\":1,\"chunk-1cbbb22b\":1,\"chunk-22d55bd5\":1,\"chunk-23d2a561\":1,\"chunk-27cbc32a\":1,\"chunk-2b2ee7c8\":1,\"chunk-3caf0574\":1,\"chunk-42937dc8\":1,\"chunk-45848001\":1,\"chunk-4d1ea650\":1,\"chunk-37cf2a0a\":1,\"chunk-45728e1a\":1,\"chunk-5351ed44\":1,\"chunk-556ce337\":1,\"chunk-65304071\":1,\"chunk-668440ac\":1,\"chunk-71a095f8\":1,\"chunk-72d897d2\":1,\"chunk-620c74e6\":1,\"chunk-7a97ad94\":1,\"chunk-c1daf678\":1,\"chunk-730f8322\":1,\"chunk-779dc19f\":1,\"chunk-13355726\":1,\"chunk-38215008\":1,\"chunk-84f132e8\":1,\"chunk-acf418a2\":1,\"chunk-cbb98126\":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/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-487f59a6\":\"857aa6e0\",\"chunk-0335901f\":\"f9af26b8\",\"chunk-127390be\":\"dcfe84a0\",\"chunk-13266068\":\"1d11f3ac\",\"chunk-1cbbb22b\":\"d2678c09\",\"chunk-22d55bd5\":\"693ec9ff\",\"chunk-23d2a561\":\"9a146dea\",\"chunk-27cbc32a\":\"e2865379\",\"chunk-2b2ee7c8\":\"00da06e0\",\"chunk-2d0a4b20\":\"31d6cfe0\",\"chunk-2d0a4d8d\":\"31d6cfe0\",\"chunk-2d0ab423\":\"31d6cfe0\",\"chunk-2d0b5dd8\":\"31d6cfe0\",\"chunk-2d0c0824\":\"31d6cfe0\",\"chunk-2d0cefe0\":\"31d6cfe0\",\"chunk-2d21f81f\":\"31d6cfe0\",\"chunk-2d22fd40\":\"31d6cfe0\",\"chunk-3caf0574\":\"71fe81cf\",\"chunk-42937dc8\":\"dcfe84a0\",\"chunk-45848001\":\"54d240c6\",\"chunk-2d0cc99a\":\"31d6cfe0\",\"chunk-2d0dad17\":\"31d6cfe0\",\"chunk-2d0deca6\":\"31d6cfe0\",\"chunk-4d1ea650\":\"050f8372\",\"chunk-37cf2a0a\":\"dcfe84a0\",\"chunk-45728e1a\":\"8c1e2377\",\"chunk-5351ed44\":\"00da06e0\",\"chunk-556ce337\":\"eb702565\",\"chunk-63a420dd\":\"31d6cfe0\",\"chunk-65304071\":\"1b5bd3a2\",\"chunk-668440ac\":\"e9b24b14\",\"chunk-71a095f8\":\"7d0e3ff9\",\"chunk-72d897d2\":\"4dcdfd57\",\"chunk-2d0bfeb0\":\"31d6cfe0\",\"chunk-620c74e6\":\"4ad0af63\",\"chunk-7a97ad94\":\"57aff207\",\"chunk-c1daf678\":\"67d29962\",\"chunk-730f8322\":\"4c1ddb17\",\"chunk-75b0c32b\":\"31d6cfe0\",\"chunk-779dc19f\":\"9b0adfa1\",\"chunk-13355726\":\"00da06e0\",\"chunk-38215008\":\"bbd6a700\",\"chunk-84f132e8\":\"dcfe84a0\",\"chunk-acf418a2\":\"dcfe84a0\",\"chunk-cbb98126\":\"dcfe84a0\",\"chunk-2d0ab30b\":\"31d6cfe0\",\"chunk-2d0dab20\":\"31d6cfe0\"}[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\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\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\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\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export default {\r\n \"VUE_APP_LMS_NAME\": \"Regal\",\r\n\t\"VUE_APP_BASE_URL\": \"https://devregal.academypoint.net/\",\r\n\t\"VUE_APP_API_URL\": \"https://devregalapi.academypoint.net/\",\r\n\t\"VUE_APP_CDN_URL\": \"https://devregalcdn.academypoint.net/\",\r\n\t\"VUE_APP_ACADEMY_ADMIN_URL\": \"https://devregal.academypoint.net/admin\",\r\n \"VUE_APP_ROUTER_MODE\": \"history\",\r\n \"VUE_APP_STORAGE\": \"sessionStorage\",\r\n \"VUE_APP_COLLECT_LOCATION_INFO\": 0,\r\n\t\"VUE_APP_TERMS_AND_CONDITIONS_URL\" : \"https://devregalapi.academypoint.net/data/SiteDocuments/{{userLang}}/termsAndConditions.pdf\",\r\n\t\"VUE_APP_PDP_GUIDE_URL\": \"https://devregalapi.academypoint.net/data/SiteDocuments/{{userLang}}/PdpGuide.pdf\",\r\n \"VUE_APP_HOME_PAGE_MODULESLIDER_CONTENT_TAG_CODE\": \"FeaturedLearning\",\r\n \"VUE_APP_PROFILE_IMAGE_SIZE_MB\": 5,\r\n \"VUE_APP_SCORM_RESULT_DELAY\": 3000,\r\n \"VUE_APP_FALLBACK_LANG\": \"en-GB\",\r\n \"VUE_APP_RAYGUN_ENABLE_CRASHREPORTING\": false,\r\n \"VUE_APP_RAYGUN_ENABLE_PULSE\": false,\r\n \"VUE_APP_RAYGUN_API_KEY\": \"\",\r\n \"VUE_APP_USE_CLIENT_ROUTER\": true,\r\n \"VUE_APP_MAIN_WEBSITE\": \"cineworld\",\r\n \"VUE_APP_SUB_WEBSITES\": [\"picturehouse\"],\r\n \"VUE_APP_SSO_OPENID_AUTHORITY\": \"https://login.microsoftonline.com/2f4e520a-afc4-4fd2-b102-4d9f6165e195/v2.0\",\r\n\t\"VUE_APP_SSO_OPENID_CLIENT_ID\": \"b773e507-bc7f-4fda-80e0-9c5a807cf091\",\r\n \"VUE_APP_SSO_OPENID_REDIRECT_URI\":\"https://devcore.academypoint.co.uk/oidc-callback\",\r\n\t\"VUE_APP_SSO_OPENID_SILENT_REDIRECT_URL\": \"https://devcore.academypoint.co.uk/silent-renew-oidc.html\",\r\n\t\"VUE_APP_SSO_OPENID_POST_LOGOUT_REDIRECT_URL\": \"https://devcore.academypoint.net/oidc-loggedout\",\r\n\t\"VUE_APP_SSO_OPENID_LOGGING\": true,\r\n\t\"VUE_APP_SSO_OPENID_RESPONSETYPES\": \"code\",\r\n\t\"VUE_APP_SSO_OPENID_ADMIN_REDIRECT_URL\": \"https://devcore.academypoint.co.uk/admin/indexSSO.html\",\r\n\t\"VUE_APP_SSO_OPENID_TOKEN_SCOPES\": \"openid profile\",\r\n\t\"VUE_APP_SSO_OPENID_SSOUID_CLAIM\": \"preferred_username\",\r\n\t\"VUE_APP_SSO_OPENID_AUTOSILENTRENEW\": true,\r\n\t\"VUE_APP_SSO_OPENID_AUTOSILENTSIGNIN\": false,\r\n\t\"VUE_APP_SSO_OPENID_LOAD_USERINFO\": false,\r\n\t\"VUE_APP_SSO_OPENID_STORAGE\": \"sessionStorage\",\r\n\t\"VUE_APP_SSO_OPENID_AZURE_LOGIN_RESOURCE\": \"\",\r\n\t\"VUE_APP_SSO_OPENID_TOKENEXPIRING_TIME\": 3000,\r\n\t\"VUE_APP_SSO_OPENID_EXEC_PROVIDERLOGOUT\": true,\r\n\t\"VUE_APP_SSO_OPENID_ALLOW_LOGINBYPASS_WHEN_AUTHD\": true,\r\n \"VUE_APP_SSO_ADMINSWITCH_VALUE\": \"ssoUId\"\r\n}","import 'babel-polyfill';\r\nimport fileApi from './api/fileApi';\r\nimport 'raygun4js';\r\nimport 'custom-event-polyfill';\r\nimport apDefaults from './globalConfig/ap.config.defaults';\r\n\r\nlet storageCheckAttempt = 0;\r\nlet storageCheckAttemptThreshold = 6;\r\nlet storgeCheckAttemptInterval = 300;\r\n\r\nfunction storageCheckLoop() {\r\n console.log(`Storage check attempt: ${storageCheckAttempt + 1}`);\r\n console.log(`Session storage length: ${sessionStorage.length}`);\r\n if (storageCheckAttempt < storageCheckAttemptThreshold && sessionStorage.length === 0) {\r\n localStorage.setItem('getSessionStorage', Date.now());\r\n storageCheckAttempt++;\r\n setTimeout(storageCheckLoop, storgeCheckAttemptInterval);\r\n }\r\n else {\r\n // retrieve academy settings\r\n fileApi.getAcademySettings().then((settings) => {\r\n const apConfig = { ...apDefaults, ...settings };\r\n window.__academySettings = apConfig; // put the global settings as window variables for global consumption across all files.\r\n window.__translationsLoaded = false;\r\n\r\n let _storage = localStorage;\r\n\r\n if (window.__academySettings.VUE_APP_STORAGE !== 'localStorage') {\r\n _storage = sessionStorage;\r\n }\r\n \r\n const userInfo = !!_storage.getItem('_academyUserInfo') ? JSON.parse(_storage.getItem('_academyUserInfo')) : null;\r\n \r\n // setup raygun\r\n if (window.__academySettings.VUE_APP_RAYGUN_API_KEY != \"\") {\r\n rg4js('apiKey', window.__academySettings.VUE_APP_RAYGUN_API_KEY);\r\n rg4js('enableCrashReporting', window.__academySettings.VUE_APP_RAYGUN_ENABLE_CRASHREPORTING);\r\n rg4js('enablePulse', window.__academySettings.VUE_APP_RAYGUN_ENABLE_PULSE);\r\n }\r\n\r\n // make sure academy settings is loaded before calling the mount function.\r\n import(\"./appMounter\").then((appMounter) => {\r\n\r\n console.log('Mounting application');\r\n appMounter.mount();\r\n });\r\n }).catch(() => {\r\n // at this point vue is not yet loaded, we can only use native alert.\r\n alert(\"ap.config.json not found in root directory!!!\");\r\n });\r\n }\r\n}\r\n\r\nstorageCheckLoop();\r\n","import axios from 'axios';\r\nimport { reject } from 'core-js/fn/promise';\r\n\r\nconst instance = axios.create({})\r\n\r\nexport default {\r\n getAcademySettings: () => {\r\n return new Promise((resolve, reject) => {\r\n instance.get(\"/ap.config.json\").then(response => {\r\n resolve(response.data);\r\n }).catch(err => {\r\n reject(err.response);\r\n })\r\n })\r\n },\r\n getJsonFile: (path) => {\r\n return new Promise((resolve, reject) => { \r\n instance.get(`/${path}.json`).then(response => {\r\n resolve(response.data);\r\n }).catch(err => {\r\n reject(err.response);\r\n })\r\n });\r\n }\r\n}\r\n "],"sourceRoot":""}