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ASQ,KACjC,IAAI,IAAIC,KAAOD,EACXZ,EAAoBc,EAAEF,EAAYC,KAASb,EAAoBc,EAAEV,EAASS,IAC5EE,OAAOC,eAAeZ,EAASS,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDb,EAAoBc,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,G","sources":["webpack://less/./Static/js/account-pages.js","webpack://less/webpack/bootstrap","webpack://less/webpack/runtime/compat get default export","webpack://less/webpack/runtime/define property getters","webpack://less/webpack/runtime/hasOwnProperty shorthand"],"sourcesContent":["\n(function () {\n if (!document.getElementById(\"Code\"))\n return;\n\n var moveToNext = function (e) {\n var target = e.srcElement || e.target;\n var maxLength = parseInt(target.attributes[\"maxlength\"].value, 10);\n var myLength = target.value.length;\n if (myLength >= maxLength && e.keyCode !== 8) {\n var next = target;\n while (next = next.nextElementSibling) {\n if (next == null)\n break;\n if (next.tagName.toLowerCase() === \"input\") {\n next.focus();\n break;\n }\n }\n }\n // Move to previous field if empty (user pressed backspace)\n else if (myLength === 0 && e.keyCode === 8) {\n var previous = target;\n while (previous = previous.previousElementSibling) {\n if (previous == null)\n break;\n if (previous.tagName.toLowerCase() === \"input\") {\n previous.focus();\n break;\n }\n }\n }\n }\n\n var copyInputToHiddenField = function () {\n var code = \"\";\n document.querySelectorAll('.input-otp').forEach(function (field) {\n code += field.value;\n });\n document.getElementById(\"Code\").setAttribute('value', code);\n }\n\n var container = document.getElementsByClassName(\"otp\")[0];\n container.addEventListener('keydown', moveToNext);\n container.addEventListener('keyup', copyInputToHiddenField);\n\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\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.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](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\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))"],"names":["document","getElementById","container","getElementsByClassName","addEventListener","e","target","srcElement","maxLength","parseInt","attributes","value","myLength","length","keyCode","next","nextElementSibling","tagName","toLowerCase","focus","previous","previousElementSibling","code","querySelectorAll","forEach","field","setAttribute","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call"],"sourceRoot":""}