{"version":3,"sources":["webpack://espritwebidp/./static_content/js/confirm-trusted-device-page.js","webpack://espritwebidp/./static_content/js/confirm-instructions-page.js","webpack://espritwebidp/./static_content/js/email-confirmation-page.js","webpack://espritwebidp/webpack/bootstrap","webpack://espritwebidp/webpack/runtime/compat get default export","webpack://espritwebidp/webpack/runtime/define property getters","webpack://espritwebidp/webpack/runtime/hasOwnProperty shorthand","webpack://espritwebidp/webpack/runtime/make namespace object","webpack://espritwebidp/webpack/runtime/jsonp chunk loading","webpack://espritwebidp/webpack/startup"],"names":["window","initConfirmTrustedDevicePage","deviceType","userId","token","translations","$","submitButton","codeInput","form","requestNewCodeButton","on","val","prop","formData","FormData","append","config","headers","RequestVerificationToken","Axios","then","alert","successMessage","errorMessage","initConfirmInstructionsPage","emailValidationUrl","continueBtn","emailValidationForm","instruction","response","data","submit","animate","opacity","initEmailConfirmationPage","validateBtn","valid","__webpack_module_cache__","__webpack_require__","moduleId","exports","module","__webpack_modules__","call","m","x","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prototype","hasOwnProperty","r","Symbol","toStringTag","value","installedChunks","296","deferredModules","checkDeferredModules","webpackJsonpCallback","parentChunkLoadingFunction","chunkId","chunkIds","moreModules","runtime","executeModules","i","resolves","length","push","shift","apply","chunkLoadingGlobal","self","checkDeferredModulesImpl","result","deferredModule","fulfilled","j","depId","splice","s","forEach","bind","startup"],"mappings":"+aAYAA,OAAOC,6BAA+B,SAASC,EAAYC,EAAQC,EAAOC,GACtEC,KAAE,WACE,IAAMC,EAAeD,IAAE,iBACjBE,EAAYF,IAAE,cACdG,EAAOH,IAAE,2BACTI,EAAuBJ,IAAE,yBAE/BG,EAAKE,GAAL,UAAkB,WACVH,EAAUI,OACVL,EAAaM,KAAb,YAA8B,MAItCH,EAAqBC,GAArB,SAAiC,WAC7B,IAAMG,EAAW,IAAIC,SACrBD,EAASE,OAAT,yBAA0Cd,GAC1CY,EAASE,OAAT,SAA0Bb,GAE1B,IAAMc,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AIF,EAAeR,OAAQU,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BvB,EAAgBwB,KAAcF,GAAY,GAE3CA,IACFpB,EAAgBuB,OAAOd,IAAK,GAC5BS,EAAS/C,EAAoBA,EAAoBqD,EAAIL,EAAe,KAOtE,OAJ8B,IAA3BnB,EAAgBW,SAClBxC,EAAoBO,IACpBP,EAAoBO,EAAIA,OAElBwC,EArBRH,EAAmBU,QAAQvB,EAAqBwB,KAAK,KAAM,IAC3DX,EAAmBH,KAAOV,EAAqBwB,KAAK,KAAMX,EAAmBH,KAAKc,KAAKX,IAsBvF,IAAIY,EAAUxD,EAAoBO,EAClCP,EAAoBO,EAAI,KAEvBP,EAAoBO,EAAIiD,GAAW,CAACjD,QAC5BuB,EAAuBgB,O,GClFzB9C,EAAoBO,K","file":"js/bundle.js","sourcesContent":["import $ from 'jquery';\r\nimport Axios from 'axios';\r\n\r\n/**\r\n * \r\n * @param {Number} deviceType\r\n * @param {Number} userId\r\n * @param {String} token\r\n * @param translations\r\n * @param translations.successMessage\r\n * @param translations.errorMessage\r\n */\r\nwindow.initConfirmTrustedDevicePage = function(deviceType, userId, token, translations) {\r\n $(() => {\r\n const submitButton = $(`#submitButton`);\r\n const codeInput = $(`#codeInput`);\r\n const form = $(`#deviceConfirmationForm`);\r\n const requestNewCodeButton = $(`#requestNewCodeButton`);\r\n\r\n form.on(`submit`, () => {\r\n if (codeInput.val()) {\r\n submitButton.prop(`disabled`, true);\r\n }\r\n });\r\n\r\n requestNewCodeButton.on(`click`, () => {\r\n const formData = new FormData();\r\n formData.append(`DeviceConfirmationType`, deviceType);\r\n formData.append(`UserId`, userId);\r\n\r\n const config = {\r\n headers: {\r\n 'Content-Type': `multipart/form-data`,\r\n 'X-Requested-With': `XMLHttpRequest`,\r\n RequestVerificationToken: token\r\n }\r\n };\r\n\r\n Axios.post('/Account/SendConfirmationCodeAgain', formData, config)\r\n .then(() => alert(translations.successMessage))\r\n .catch(() => alert(translations.errorMessage));\r\n });\r\n });\r\n};","import $ from 'jquery';\r\nimport Axios from 'axios';\r\n\r\nwindow.initConfirmInstructionsPage = function (emailValidationUrl) {\r\n $(() => {\r\n const continueBtn = $(`#continueBtn`);\r\n const emailValidationForm = $(`#emailValidationForm`);\r\n const instruction = $(`#instruction`);\r\n\r\n continueBtn.on(`click`, async () => {\r\n continueBtn.prop(`disabled`, true);\r\n\r\n try {\r\n const response = await Axios.get(emailValidationUrl);\r\n\r\n continueBtn.prop(`disabled`, false);\r\n if (response.data) {\r\n emailValidationForm.submit();\r\n } else {\r\n instruction.animate(\r\n { opacity: 0.3 },\r\n 350,\r\n `linear`,\r\n () => { instruction.animate({ opacity: 1 }, 350); }\r\n );\r\n }\r\n } catch (errorResponse) {\r\n alert(`There was an error during the email validation.`);\r\n continueBtn.prop(`disabled`, false);\r\n }\r\n });\r\n });\r\n};","import $ from 'jquery';\r\n\r\nwindow.initEmailConfirmationPage = function () {\r\n $(() => {\r\n const validateBtn = $(`#validateBtn`);\r\n const emailValidationForm = $(`#emailValidationForm`);\r\n\r\n validateBtn.on(`click`, () => {\r\n if (emailValidationForm.valid()) {\r\n validateBtn.prop(`disabled`, true);\r\n emailValidationForm.submit();\r\n }\r\n });\r\n });\r\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tif(__webpack_module_cache__[moduleId]) {\n\t\treturn __webpack_module_cache__[moduleId].exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// the startup function\n// It's empty as some runtime module handles the default behavior\n__webpack_require__.x = x => {}\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => module['default'] :\n\t\t() => module;\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// Promise = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t296: 0\n};\n\nvar deferredModules = [\n\t[6605,216]\n];\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\nvar checkDeferredModules = x => {};\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime, executeModules] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0, resolves = [];\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tresolves.push(installedChunks[chunkId][0]);\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\tfor(moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\twhile(resolves.length) {\n\t\tresolves.shift()();\n\t}\n\n\t// add entry modules from loaded chunk to deferred list\n\tif(executeModules) deferredModules.push.apply(deferredModules, executeModules);\n\n\t// run deferred modules when all chunks ready\n\treturn checkDeferredModules();\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkespritwebidp\"] = self[\"webpackChunkespritwebidp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));\n\nfunction checkDeferredModulesImpl() {\n\tvar result;\n\tfor(var i = 0; i < deferredModules.length; i++) {\n\t\tvar deferredModule = deferredModules[i];\n\t\tvar fulfilled = true;\n\t\tfor(var j = 1; j < deferredModule.length; j++) {\n\t\t\tvar depId = deferredModule[j];\n\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferredModules.splice(i--, 1);\n\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n\t\t}\n\t}\n\tif(deferredModules.length === 0) {\n\t\t__webpack_require__.x();\n\t\t__webpack_require__.x = x => {};\n\t}\n\treturn result;\n}\nvar startup = __webpack_require__.x;\n__webpack_require__.x = () => {\n\t// reset startup function so it can be called again when more startup code is added\n\t__webpack_require__.x = startup || (x => {});\n\treturn (checkDeferredModules = checkDeferredModulesImpl)();\n};","// run startup\nreturn __webpack_require__.x();\n"],"sourceRoot":""}