-
Notifications
You must be signed in to change notification settings - Fork 0
/
filtering.js
1 lines (1 loc) · 6 KB
/
filtering.js
1
const _0x4a5205 = _0x4bd5; function _0x4bd5(_0x2067af, _0x3b30a5) { const _0x22f405 = _0x22f4(); return _0x4bd5 = function (_0x4bd53c, _0x394494) { _0x4bd53c = _0x4bd53c - 0x134; let _0x56ff8c = _0x22f405[_0x4bd53c]; return _0x56ff8c; }, _0x4bd5(_0x2067af, _0x3b30a5); } function _0x22f4() { const _0x107f25 = ['>겉감</option>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<option\x20value=\x22roman\x22\x20', 'length', 'getElementById', 'shift', 'DOMContentLoaded', '.filterInput', 'remove', '11rhGTXo', '3160ugsJCW', '31461nSbPMu', 'map', 'inner', 'input', 'colorInput', 'click', 'value', 'addEventListener', 'anywhere', '\x0a\x20\x20\x20\x20\x20\x20\x20\x20<label\x20for=\x22filterType\x22></label>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<select\x20class=\x22filterType\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<option\x20value=\x22anywhere\x22\x20', 'stringify', 'and', '10kPaetA', '1BFbQaI', 'querySelectorAll', 'filterInputs', 'classList', '5506548aSXcmk', '.filterType', 'div', '>AND</option>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<option\x20value=\x22or\x22\x20', 'tooltip', 'setItem', 'filterType', 'forEach', '.colorInput', '4255024HZKVxr', 'roman', 'filterAndOr', 'selected', '>OR</option>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20class=\x22filterDeleteButton\x22>삭제</button>\x0a\x20\x20\x20\x20', '.filterAndOr', '207078xuXMkY', '5161268bBwObl', 'querySelector', '180kFMfpd', 'parse', 'addInputButton', 'createElement', '4821741myqKUz', 'add', 'innerHTML', '4224ggfamN', 'change', '>안감</option>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</select>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<input\x20type=\x22text\x22\x20class=\x22colorInput\x22\x20placeholder=\x22예:\x200,\x20255,\x200\x22\x20value=\x22']; _0x22f4 = function () { return _0x107f25; }; return _0x22f4(); } (function (_0x485e4b, _0x54e6dd) { const _0x212e9a = _0x4bd5, _0x332721 = _0x485e4b(); while (!![]) { try { const _0x1f72d4 = -parseInt(_0x212e9a(0x150)) / 0x1 * (-parseInt(_0x212e9a(0x163)) / 0x2) + -parseInt(_0x212e9a(0x143)) / 0x3 * (parseInt(_0x212e9a(0x166)) / 0x4) + parseInt(_0x212e9a(0x142)) / 0x5 * (-parseInt(_0x212e9a(0x137)) / 0x6) + parseInt(_0x212e9a(0x164)) / 0x7 + parseInt(_0x212e9a(0x15d)) / 0x8 + parseInt(_0x212e9a(0x134)) / 0x9 * (-parseInt(_0x212e9a(0x14f)) / 0xa) + -parseInt(_0x212e9a(0x141)) / 0xb * (-parseInt(_0x212e9a(0x154)) / 0xc); if (_0x1f72d4 === _0x54e6dd) break; else _0x332721['push'](_0x332721['shift']()); } catch (_0x4d76fc) { _0x332721['push'](_0x332721['shift']()); } } }(_0x22f4, 0x5c894), document[_0x4a5205(0x14a)](_0x4a5205(0x13e), () => { const _0x2c8187 = _0x4a5205, _0x262a03 = JSON[_0x2c8187(0x167)](localStorage['getItem'](_0x2c8187(0x152))) || []; if (_0x262a03[_0x2c8187(0x13b)] > 0x0) { const _0x3cb25e = _0x262a03[_0x2c8187(0x13d)](), _0x1a3e48 = document[_0x2c8187(0x165)](_0x2c8187(0x13f)); _0x1a3e48 && (_0x1a3e48[_0x2c8187(0x165)](_0x2c8187(0x155))['value'] = _0x3cb25e[_0x2c8187(0x15a)], _0x1a3e48[_0x2c8187(0x165)](_0x2c8187(0x15c))[_0x2c8187(0x149)] = _0x3cb25e[_0x2c8187(0x147)], _0x1a3e48[_0x2c8187(0x165)](_0x2c8187(0x155))['addEventListener'](_0x2c8187(0x138), saveToLocalStorage), _0x1a3e48['querySelector'](_0x2c8187(0x15c))['addEventListener'](_0x2c8187(0x146), saveToLocalStorage)); } _0x262a03[_0x2c8187(0x15b)](_0x4f5cfa => { const _0x4253ec = _0x2c8187; addInputGroup(_0x4f5cfa[_0x4253ec(0x15a)], _0x4f5cfa['colorInput'], _0x4f5cfa[_0x4253ec(0x15f)]); }); }), document[_0x4a5205(0x13c)](_0x4a5205(0x168))[_0x4a5205(0x14a)](_0x4a5205(0x148), () => { const _0x5e45d3 = addInputGroup(); saveToLocalStorage(); })); function addInputGroup(_0x59999f = 'anywhere', _0x3b877c = '', _0x2685c8 = _0x4a5205(0x14e)) { const _0x16d38c = _0x4a5205, _0x318e93 = document[_0x16d38c(0x169)](_0x16d38c(0x156)); return _0x318e93[_0x16d38c(0x153)][_0x16d38c(0x135)](_0x16d38c(0x158), 'filterInput'), _0x318e93[_0x16d38c(0x136)] = _0x16d38c(0x14c) + (_0x59999f === _0x16d38c(0x14b) ? _0x16d38c(0x160) : '') + '>전체</option>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<option\x20value=\x22outer\x22\x20' + (_0x59999f === 'outer' ? _0x16d38c(0x160) : '') + _0x16d38c(0x13a) + (_0x59999f === _0x16d38c(0x15e) ? _0x16d38c(0x160) : '') + '>로마자</option>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<option\x20value=\x22inner\x22\x20' + (_0x59999f === _0x16d38c(0x145) ? 'selected' : '') + _0x16d38c(0x139) + _0x3b877c + '\x22\x20/>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22tooltiptext\x22>필터링\x20RGB값\x20예시\x20-\x20(0,0,0)\x20|\x200/0/0\x20|\x200.0.0\x20|\x200\x200\x200</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<select\x20class=\x22filterAndOr\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<option\x20value=\x22and\x22\x20' + (_0x2685c8 === _0x16d38c(0x14e) ? 'selected' : '') + _0x16d38c(0x157) + (_0x2685c8 === 'or' ? _0x16d38c(0x160) : '') + _0x16d38c(0x161), _0x318e93[_0x16d38c(0x165)]('.filterDeleteButton')[_0x16d38c(0x14a)](_0x16d38c(0x148), () => { const _0x555f7a = _0x16d38c; _0x318e93[_0x555f7a(0x140)](), saveToLocalStorage(); }), document[_0x16d38c(0x13c)]('filterAbove')['appendChild'](_0x318e93), _0x318e93['querySelector'](_0x16d38c(0x155))[_0x16d38c(0x14a)](_0x16d38c(0x138), saveToLocalStorage), _0x318e93[_0x16d38c(0x165)](_0x16d38c(0x15c))['addEventListener']('input', saveToLocalStorage), _0x318e93[_0x16d38c(0x165)](_0x16d38c(0x162))[_0x16d38c(0x14a)](_0x16d38c(0x138), saveToLocalStorage), _0x318e93; } function saveToLocalStorage() { const _0xa188f8 = _0x4a5205, _0x47e972 = Array['from'](document[_0xa188f8(0x151)](_0xa188f8(0x13f)))[_0xa188f8(0x144)](_0x45f1c8 => { const _0x533168 = _0xa188f8, _0x110947 = _0x45f1c8[_0x533168(0x165)](_0x533168(0x155))[_0x533168(0x149)], _0x1ad301 = _0x45f1c8[_0x533168(0x165)](_0x533168(0x15c))[_0x533168(0x149)], _0x5d8a61 = _0x45f1c8[_0x533168(0x165)](_0x533168(0x162)), _0x3e2fcf = _0x5d8a61 ? _0x5d8a61['value'] : _0x533168(0x14e); return { 'filterType': _0x110947, 'colorInput': _0x1ad301, 'filterAndOr': _0x3e2fcf }; }); localStorage[_0xa188f8(0x159)]('filterInputs', JSON[_0xa188f8(0x14d)](_0x47e972)); }