{"version":3,"sources":["webpack:///webpack/bootstrap f330027e57075836abb0","webpack:///./src/js/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","window","blocktype","el","document","documentMode","test","navigator","userAgent","$","attr","readonly","disabled","on","event","keyCode","this","prev","focus","obj","str","value","rbyte","length","escape","charAt","next","nextFocus"],"mappings":";;;;gBACA,IAAAA,KAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,IACAG,EAAAH,EACAI,GAAA,EACAH,YAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAZ,EAAAmB,EAAA,SAAAhB,GACA,IAAAS,EAAAT,KAAAiB,WACA,WAA2B,OAAAjB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAH,EAAAU,EAAAE,EAAA,IAAAA,GACAA,GAIAZ,EAAAa,EAAA,SAAAQ,EAAAC,GAAsD,OAAAR,OAAAS,UAAAC,eAAAjB,KAAAc,EAAAC,IAGtDtB,EAAAyB,EAAA,GAGAzB,IAAA0B,EAAA,mBC7DAC,OAAOC,UAAY,SAAUC,GAErBC,SAASC,cAAgB,OAAOC,KAAKC,UAAUC,WAC/CC,EAAEN,GAAIO,MAAMC,SAAS,aAErBF,EAAEN,GAAIO,MAAME,SAAS,cAI7BH,EAAE,mBAAmBI,GAAG,QAAS,SAAUC,GACnB,GAAjBA,EAAMC,SAAcN,EAAEO,MAAMC,OAAOC,SAkD1C,SAAmBC,GAGf,IAFA,IAAIC,EAAMD,EAAIE,MACVC,EAAQ,EACJ5C,EAAI,EAAGA,EAAI0C,EAAIG,OAAQ7C,IAQxB8C,OAAOJ,EAAIK,OAAO/C,IAAI6C,OAAS,IAC9BD,EACW,GAEPb,EAAEU,GAAKO,OAAOR,QAKjBT,EAAEU,GAAKO,OAAOR,QA1DvBS,CAAUX","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\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\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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap f330027e57075836abb0","window.blocktype = function (el) {\n /* ie8 이상 / edge */\n if (document.documentMode || /Edge/.test(navigator.userAgent))\n $(el).attr({readonly:'readonly'});\n else\n $(el).attr({disabled:'disabled'});\n};\n\nvar flag = false;\n$('.p-input--forme').on('keyup', function (event) {\n if(event.keyCode == 8) $(this).prev().focus(); //backspace를 눌렀을 떄\n // if(aletter(this)) $(this).next().focus(); //다음 자리수로 넘어갈 떄\n var char = 0;\n/*\n if(flag){ //자리가 한 번 바뀜\n for(var i = 0; i < this.value.length; i++){\n char = this.value.charCodeAt(i) + char;\n }\n }\n*/\n\n // console.log(unescape(char));\n nextFocus(this);\n});\n\n\nfunction replaceAll(strTemp, strValue1, strValue2){\n while(1){\n if( strTemp.indexOf(strValue1) != -1 )\n strTemp = strTemp.replace(strValue1, strValue2);\n else\n break;\n }\n return strTemp;\n}\n\n/* input 하나에 두자씩 들어가는 단점이 있음 */\nfunction aletter(obj){\n var str = obj.value;\n var rbyte = 0;\n for(var i = 0; i < str.length; i++){\n if(escape(str.charAt(i)).length > 4){\n rbyte ++;\n if(rbyte > 1) {\n $(obj).next().val(str.charAt(i));\n return true;\n }\n }\n else return true;\n }\n}\n\n/*\nfunction backspace(obj) {\n var keyID = obj.keyCode;\n if(keyID == 8){\n\n }\n}*/\n\nfunction nextFocus(obj){\n var str = obj.value;\n var rbyte = 0;\n for(var i = 0; i < str.length; i++){\n // console.log(str.charAt(i));\n // console.log(str.charCodeAt(i));\n /*\n if(str.charCodeAt(i)-44032 > 0){\n console.log('종성?)\n }\n */\n if(escape(str.charAt(i)).length > 4){\n rbyte ++;\n if(rbyte > 1) {\n // $(obj).next().val(str.charAt(i));\n $(obj).next().focus();\n // $(obj)[0].setSelectionRange(1,1);\n // flag = true;\n }\n }\n else $(obj).next().focus();\n }\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/js/index.js"],"sourceRoot":""}