-
Notifications
You must be signed in to change notification settings - Fork 0
/
kb.js
1 lines (1 loc) · 14.4 KB
/
kb.js
1
var _0x5234=['Späť','Exit','Search','Vyhledávání','Vyhľadávanie','Next','Další','Ďalší','Rename','Přejmenovat','Premenovať','space','пространство','Raum','priestor','delete','удалять','löschen','vymazať','Caps','language','язык','sprache','jazyk','Keyboard','клавиатура','Tastatur','klávesnica','http://','https://','www.','.com','caps','English','Russian','Germany','Slovakia','<div\x20class=\x27crkeyboard\x27>','<div\x20class=\x27crbgdiv\x27></div>','<div\x20class=\x27crkeybox\x27>','<div\x20class=\x27crlangname\x20crclearfix\x27>','keyboard','\x20[<span></span>]<a></a></div>','<div\x20class=\x27crprintbox\x20crclearfix\x27>','<div></div>','<span></span><a></a>','</div>','<ul\x20class=\x27cr_ul_keybox\x20crclearfix\x27></ul>','.cr_ul_keybox\x20>\x20li','length','.cr_ul_keybox\x20>\x20li:eq(','addClass','hover','siblings','removeClass','getOwnPropertyDescriptor','prototype','value','set','call','input','dispatchEvent','text','Sprache','Jazyk','key','<li>','</li>','<li\x20style=width:','.cr_ul_keybox','html','.crlangname\x20>\x20span','name','addEventListener','keydown','activeElement','.crkeyboard','remove','body','append','.crprintbox\x20>\x20span','log','keyTree','animate','focus','css','text-transform','uppercase','lowercase','removeEventListener','-500px','keyCode','preventDefault','floor','toLowerCase',' ','substring','replace','[class=\x22crlangname\x20crclearfix\x22]','[<span>','</span>]<a></a>','langID_cr:\x20','setLangID_cr:\x20','keyID_cr:\x20','toUpperCase','fromCharCode','val','stopPropagation','which','input[type=search],input[type=text],input[type=password]','keypress','add\x20event\x20listener\x20for\x20input','blur','input[type=search],input[type=text],input[type=password],input[type=search],input:not([type])','No\x20result','Subscribe\x20successfully','Delete\x20Subscription','Request\x20timeout','Delete','Vymazat','Vymazať','Switch','Shift','Posunout','Posunúť','Confirm','Potvrdit','Potvrdiť','Cancel','Zrušit','Zrušiť','Language','Message\x20Box','Zpráva','Správa','Change','Změna','Zmena','Select','Výběr','Výber','Menu','Back','Zpět'];(function(_0x48fdaf,_0x42f9a7){var _0x25880c=function(_0x154a87){while(--_0x154a87){_0x48fdaf['push'](_0x48fdaf['shift']());}};_0x25880c(++_0x42f9a7);}(_0x5234,0x192));var _0x4e6f=function(_0x437485,_0x559529){_0x437485=_0x437485-0x0;var _0x55d47f=_0x5234[_0x437485];return _0x55d47f;};var langID_cr='en';var lang_cr={'no_result':{'en':_0x4e6f('0x0'),'cz':'','sk':''},'subscribe_successfully':{'en':_0x4e6f('0x1'),'cz':'','sk':''},'delete_subscription':{'en':_0x4e6f('0x2'),'cz':'','sk':''},'request_timeout':{'en':_0x4e6f('0x3'),'cz':'','sk':''},'input_delete':{'en':_0x4e6f('0x4'),'cz':_0x4e6f('0x5'),'sk':_0x4e6f('0x6')},'input_switch':{'en':_0x4e6f('0x7'),'cz':_0x4e6f('0x7'),'sk':_0x4e6f('0x7')},'input_shift':{'en':_0x4e6f('0x8'),'cz':_0x4e6f('0x9'),'sk':_0x4e6f('0xa')},'input_confirm':{'en':_0x4e6f('0xb'),'cz':_0x4e6f('0xc'),'sk':_0x4e6f('0xd')},'input_cancel':{'en':_0x4e6f('0xe'),'cz':_0x4e6f('0xf'),'sk':_0x4e6f('0x10')},'input_lang':{'en':_0x4e6f('0x11'),'cz':_0x4e6f('0x11'),'sk':_0x4e6f('0x11')},'message_box':{'en':_0x4e6f('0x12'),'cz':_0x4e6f('0x13'),'sk':_0x4e6f('0x14')},'changes':{'en':_0x4e6f('0x15'),'cz':_0x4e6f('0x16'),'sk':_0x4e6f('0x17')},'selects':{'en':_0x4e6f('0x18'),'cz':_0x4e6f('0x19'),'sk':_0x4e6f('0x1a')},'menu':{'en':_0x4e6f('0x1b'),'cz':_0x4e6f('0x1b'),'sk':_0x4e6f('0x1b')},'backwards':{'en':_0x4e6f('0x1c'),'cz':_0x4e6f('0x1d'),'sk':_0x4e6f('0x1e')},'exit':{'en':_0x4e6f('0x1f'),'cz':_0x4e6f('0x1f'),'sk':_0x4e6f('0x1f')},'searchs':{'en':_0x4e6f('0x20'),'cz':_0x4e6f('0x21'),'sk':_0x4e6f('0x22')},'nexts':{'en':_0x4e6f('0x23'),'cz':_0x4e6f('0x24'),'sk':_0x4e6f('0x25')},'rename':{'en':_0x4e6f('0x26'),'cz':_0x4e6f('0x27'),'sk':_0x4e6f('0x28')},'cancel':{'en':_0x4e6f('0xe'),'cz':_0x4e6f('0xf'),'sk':_0x4e6f('0x10')},'ok':{'en':'OK','cz':'OK','sk':'OK'},'space':{'en':_0x4e6f('0x29'),'ru':_0x4e6f('0x2a'),'de':_0x4e6f('0x2b'),'sk':_0x4e6f('0x2c'),'cz':''},'delete':{'en':_0x4e6f('0x2d'),'ru':_0x4e6f('0x2e'),'de':_0x4e6f('0x2f'),'sk':_0x4e6f('0x30'),'cz':''},'caps':{'en':_0x4e6f('0x31'),'ru':_0x4e6f('0x31'),'de':_0x4e6f('0x31'),'sk':_0x4e6f('0x31'),'cz':''},'language':{'en':_0x4e6f('0x32'),'ru':_0x4e6f('0x33'),'de':_0x4e6f('0x34'),'sk':_0x4e6f('0x35'),'cz':''},'keyboard':{'en':_0x4e6f('0x36'),'ru':_0x4e6f('0x37'),'de':_0x4e6f('0x38'),'sk':_0x4e6f('0x39'),'cz':''}};function returnLanguage_cr(_0xa08505){return lang_cr[_0xa08505][langID_cr];}var keycode_cr;var realkey_cr;var leftkey=0x25;var upkey=0x26;var rightkey=0x27;var downkey=0x28;var enterkey=0xd;var backkey=0x8;var redkey=0x34;var greenkey=0x35;var yellowkey=0x36;var bluekey=0x37;var numkey0=0x30;var numkey1=0x31;var numkey2=0x32;var numkey3=0x33;var numkey4=0x34;var numkey5=0x35;var numkey6=0x36;var numkey7=0x37;var numkey8=0x38;var numkey9=0x39;var setLangID_cr=0x0;var setLang_cr=['en','ru','de','sk'];var userText_cr=['0','1','2','3','4','5','6','7','8','9','@','#','$','%','^','&','*','(',')','-','+','_','=','{','}','[',']',':',';','\x22','\x27','<','>',',','.','?','/','\x5c','|','~','`',_0x4e6f('0x3a'),_0x4e6f('0x3b'),_0x4e6f('0x3c'),_0x4e6f('0x3d'),_0x4e6f('0x29'),_0x4e6f('0x2d'),_0x4e6f('0x3e'),'ok',_0x4e6f('0x32')];var userLang_cr={'en':{'name':_0x4e6f('0x3f'),'key':['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']},'ru':{'name':_0x4e6f('0x40'),'key':['а','б','в','г','д','е','ж','з','и','й','к','л','м','н','о','п','р','с','т','у','ф','х','ц','ч','ш','щ','ъ','ы','ь','э','ю','я','ё','є','ґ','і','ї']},'de':{'name':_0x4e6f('0x41'),'key':['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','ä','ö','ü','β']},'sk':{'name':_0x4e6f('0x42'),'key':['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','á','ä','č','ď','é','ě','í','ĺ','ľ','ň','ó','ô','ř','ŕ','š','ť','ú','ů','ý','ž','ţ']}};var cr_keyboard=_0x4e6f('0x43')+_0x4e6f('0x44')+_0x4e6f('0x45')+_0x4e6f('0x46')+returnLanguage_cr(_0x4e6f('0x47'))+_0x4e6f('0x48')+_0x4e6f('0x49')+_0x4e6f('0x4a')+_0x4e6f('0x4b')+_0x4e6f('0x4c')+_0x4e6f('0x4d')+_0x4e6f('0x4c')+_0x4e6f('0x4c');var keyID_cr=0x0,textLen_cr=0x96,isUpperCase_cr=0x0;function keyFocus_cr(_0x43c9dd=![]){if(_0x43c9dd){keyID_cr=$(_0x4e6f('0x4e'))[_0x4e6f('0x4f')]-0x1;}$(_0x4e6f('0x50')+keyID_cr+')')[_0x4e6f('0x51')](_0x4e6f('0x52'))[_0x4e6f('0x53')]()[_0x4e6f('0x54')]();}function updateInputValue(_0x4408fd,_0x3f5a6e){var _0x1e609b=Object[_0x4e6f('0x55')](HTMLInputElement[_0x4e6f('0x56')],_0x4e6f('0x57'))[_0x4e6f('0x58')];_0x1e609b[_0x4e6f('0x59')](_0x4408fd,_0x3f5a6e);var _0x35a9ae=new Event(_0x4e6f('0x5a'),{'bubbles':!![]});_0x4408fd[_0x4e6f('0x5b')](_0x35a9ae);}function switchBtnLang(){var _0xdd88dc=$(_0x4e6f('0x4e'));for(var _0x3d3545=0x0;_0x3d3545<_0xdd88dc[_0x4e6f('0x4f')];_0x3d3545++){switch($(_0xdd88dc[_0x3d3545])[_0x4e6f('0x5c')]()){case _0x4e6f('0x32'):case _0x4e6f('0x33'):case _0x4e6f('0x5d'):case _0x4e6f('0x5e'):$(_0xdd88dc[_0x3d3545])[_0x4e6f('0x5c')](returnLanguage_cr(_0x4e6f('0x32')));break;default:break;}}}function switchLanguage_cr(_0x4e8a70=![]){var _0x46fc8c='',_0x53869e='',_0x5f5e0c='';for(var _0x747b46=0x0;_0x747b46<userLang_cr[setLang_cr[setLangID_cr]][_0x4e6f('0x5f')][_0x4e6f('0x4f')];_0x747b46++){_0x46fc8c+=_0x4e6f('0x60')+userLang_cr[setLang_cr[setLangID_cr]][_0x4e6f('0x5f')][_0x747b46]+_0x4e6f('0x61');}for(var _0x747b46=0x0;_0x747b46<userText_cr[_0x4e6f('0x4f')];_0x747b46++){var _0x5a735f=userText_cr[_0x747b46];if(_0x5a735f[_0x4e6f('0x4f')]>0x1){var _0x5ce7ad=0x30*0x2+'px';_0x53869e+=_0x4e6f('0x62')+_0x5ce7ad+'>'+_0x5a735f+_0x4e6f('0x61');}else{_0x53869e+=_0x4e6f('0x60')+_0x5a735f+_0x4e6f('0x61');}}_0x5f5e0c=_0x46fc8c+_0x53869e;$(_0x4e6f('0x63'))[_0x4e6f('0x64')](_0x5f5e0c);$(_0x4e6f('0x65'))[_0x4e6f('0x64')](userLang_cr[setLang_cr[setLangID_cr]][_0x4e6f('0x66')]);switchBtnLang();keyID_cr=0x0;keyFocus_cr(_0x4e8a70);}var old_cates_cr=null,cates_cr=null,echo_elem_cr=null,slideTime_cr=0x190,text_part2_cr='';function showKeyboard(){isUpperCase_cr=0x0;document[_0x4e6f('0x67')](_0x4e6f('0x68'),eventKeydown_cr,!![]);showKeyboard_cr(document[_0x4e6f('0x69')]);}function showKeyboard_cr(_0x5eb0dd){$(_0x4e6f('0x6a'))[_0x4e6f('0x6b')]();$(document[_0x4e6f('0x6c')])[_0x4e6f('0x6d')](cr_keyboard);switchLanguage_cr();var _0x3c0e40=$(_0x4e6f('0x6e'));var _0x2a4b09=_0x5eb0dd[_0x4e6f('0x57')];console[_0x4e6f('0x6f')](_0x5eb0dd);console[_0x4e6f('0x6f')](_0x2a4b09);_0x3c0e40[_0x4e6f('0x64')](_0x2a4b09);text_part2_cr=_0x2a4b09;old_cates_cr=cates_cr;echo_elem_cr=_0x5eb0dd;cates_cr=_0x4e6f('0x70');$(_0x4e6f('0x6a'))[_0x4e6f('0x71')]({'bottom':0x0},slideTime_cr);$(_0x4e6f('0x6a'))[_0x4e6f('0x72')]();}function toggleText_cr(){if(isUpperCase_cr==0x0){var _0x3d575b=$(_0x4e6f('0x4e'));for(var _0x5e2b57=0x0;_0x5e2b57<_0x3d575b[_0x4e6f('0x4f')];_0x5e2b57++){$(_0x3d575b[_0x5e2b57])[_0x4e6f('0x73')](_0x4e6f('0x74'),_0x4e6f('0x75'));if($(_0x3d575b[_0x5e2b57])[_0x4e6f('0x5c')]()==='0'){break;}}isUpperCase_cr=0x1;}else{$(_0x4e6f('0x4e'))[_0x4e6f('0x73')](_0x4e6f('0x74'),_0x4e6f('0x76'));isUpperCase_cr=0x0;}}function toggleKeyboard(){document[_0x4e6f('0x77')](_0x4e6f('0x68'),eventKeydown_cr,!![]);$(_0x4e6f('0x6a'))[_0x4e6f('0x71')]({'bottom':_0x4e6f('0x78')},slideTime_cr);$(_0x4e6f('0x6a'))[_0x4e6f('0x6b')]();cates_cr=old_cates_cr;}function eventKeydown_cr(_0x1aa228){keycode_cr=_0x1aa228[_0x4e6f('0x79')];console[_0x4e6f('0x6f')](keycode_cr);if(cates_cr==_0x4e6f('0x70')){if(keycode_cr==leftkey){keyID_cr--;if(keyID_cr<0x0)keyID_cr=$(_0x4e6f('0x4e'))[_0x4e6f('0x4f')]-0x1;keyFocus_cr();_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==rightkey){keyID_cr++;if(keyID_cr>$(_0x4e6f('0x4e'))[_0x4e6f('0x4f')]-0x1)keyID_cr=0x0;keyFocus_cr();_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==upkey){var _0x175d4e=keyID_cr;keyID_cr-=0xb;if(keyID_cr<0x0){var _0x45f74a=$(_0x4e6f('0x4e'))[_0x4e6f('0x4f')]-0x1;keyID_cr=Math[_0x4e6f('0x7b')]((_0x45f74a-_0x175d4e)/0xb)*0xb+_0x175d4e;}keyFocus_cr();_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==downkey){keyID_cr+=0xb;if(keyID_cr>$(_0x4e6f('0x4e'))[_0x4e6f('0x4f')]-0x1){keyID_cr=keyID_cr%0xb;}keyFocus_cr();_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==enterkey){var _0x4bb38=$(_0x4e6f('0x6e'));var _0x3e6d59=$(_0x4e6f('0x50')+keyID_cr+')');console[_0x4e6f('0x6f')](keyID_cr);console[_0x4e6f('0x6f')](_0x3e6d59[_0x4e6f('0x64')]());switch(_0x3e6d59[_0x4e6f('0x64')]()[_0x4e6f('0x7c')]()){case _0x4e6f('0x29'):var _0x3aec92=_0x4bb38[_0x4e6f('0x64')]()+_0x4e6f('0x7d');if(_0x3aec92[_0x4e6f('0x4f')]>textLen_cr)_0x3aec92=_0x3aec92[_0x4e6f('0x7e')](0x0,textLen_cr);_0x4bb38[_0x4e6f('0x64')](_0x3aec92);break;case _0x4e6f('0x2d'):var _0x4bb38=$(_0x4e6f('0x6e'));var _0x272ae7=_0x4bb38[_0x4e6f('0x64')]();_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/ /g,'\x20');_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/&/g,'&');_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/</g,'<');_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/>/g,'>');_0x4bb38[_0x4e6f('0x64')](_0x272ae7[_0x4e6f('0x7e')](0x0,_0x272ae7[_0x4e6f('0x4f')]-0x1));break;case _0x4e6f('0x3e'):toggleText_cr();break;case'ok':var _0x4bb38=$(_0x4e6f('0x6e'))[_0x4e6f('0x64')]();_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/ /g,'\x20');_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/&/g,'&');_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/</g,'<');_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/>/g,'>');updateInputValue(echo_elem_cr,_0x4bb38);toggleKeyboard();break;case _0x4e6f('0x32'):case _0x4e6f('0x33'):case _0x4e6f('0x34'):case _0x4e6f('0x35'):setLangID_cr++;if(setLangID_cr>setLang_cr[_0x4e6f('0x4f')]-0x1){setLangID_cr=0x0;}langID_cr=setLang_cr[setLangID_cr];$(_0x4e6f('0x80'))[_0x4e6f('0x64')](returnLanguage_cr(_0x4e6f('0x47'))+_0x4e6f('0x81')+returnLanguage_cr(_0x4e6f('0x32'))+_0x4e6f('0x82'));console[_0x4e6f('0x6f')](_0x4e6f('0x83'),langID_cr);console[_0x4e6f('0x6f')](_0x4e6f('0x84'),setLangID_cr);console[_0x4e6f('0x6f')](_0x4e6f('0x85'),keyID_cr);switchLanguage_cr(!![]);break;default:if(isUpperCase_cr==0x1){var _0x3aec92=_0x4bb38[_0x4e6f('0x64')]()+_0x3e6d59[_0x4e6f('0x64')]()[_0x4e6f('0x86')]();if(_0x3aec92[_0x4e6f('0x4f')]>textLen_cr)_0x3aec92=_0x3aec92[_0x4e6f('0x7e')](0x0,textLen_cr);_0x4bb38[_0x4e6f('0x64')](_0x3aec92);}else{var _0x3aec92=_0x4bb38[_0x4e6f('0x64')]()+_0x3e6d59[_0x4e6f('0x64')]()[_0x4e6f('0x7c')]();if(_0x3aec92[_0x4e6f('0x4f')]>textLen_cr)_0x3aec92=_0x3aec92[_0x4e6f('0x7e')](0x0,textLen_cr);_0x4bb38[_0x4e6f('0x64')](_0x3aec92);}break;}_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==numkey0||keycode_cr==numkey1||keycode_cr==numkey2||keycode_cr==numkey3||keycode_cr==numkey4||keycode_cr==numkey5||keycode_cr==numkey6||keycode_cr==numkey7||keycode_cr==numkey8||keycode_cr==numkey9){realkey_cr=String[_0x4e6f('0x87')](keycode_cr);var _0x4bb38=$(_0x4e6f('0x6e'));var _0x3aec92=_0x4bb38[_0x4e6f('0x64')]()+realkey_cr;if(_0x3aec92[_0x4e6f('0x4f')]>textLen_cr)_0x3aec92=_0x3aec92[_0x4e6f('0x7e')](0x0,textLen_cr);_0x4bb38[_0x4e6f('0x64')](_0x3aec92);_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==redkey){var _0x4bb38=$(_0x4e6f('0x6e'));var _0x272ae7=_0x4bb38[_0x4e6f('0x64')]();_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/ /g,'\x20');_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/&/g,'&');_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/</g,'<');_0x272ae7=_0x272ae7[_0x4e6f('0x7f')](/>/g,'>');_0x4bb38[_0x4e6f('0x64')](_0x272ae7[_0x4e6f('0x7e')](0x0,_0x272ae7[_0x4e6f('0x4f')]-0x1));_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==greenkey){toggleText_cr();_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==yellowkey){var _0x4bb38=$(_0x4e6f('0x6e'))[_0x4e6f('0x64')]();_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/ /g,'\x20');_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/&/g,'&');_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/</g,'<');_0x4bb38=_0x4bb38[_0x4e6f('0x7f')](/>/g,'>');if(_0x4bb38){var _0x278076=echo_elem_cr[_0x4e6f('0x88')]();echo_elem_cr[_0x4e6f('0x88')](_0x278076+_0x4bb38+text_part2_cr);}_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==bluekey){setLangID_cr++;if(setLangID_cr>setLang_cr[_0x4e6f('0x4f')]-0x1)setLangID_cr=0x0;switchLanguage_cr();_0x1aa228[_0x4e6f('0x7a')]();}if(keycode_cr==backkey){toggleKeyboard();_0x1aa228[_0x4e6f('0x7a')]();}}_0x1aa228[_0x4e6f('0x89')]();}function kb_portal(_0x449b0c){var _0x201e3d=_0x449b0c[_0x4e6f('0x8a')]||_0x449b0c[_0x4e6f('0x79')];if(_0x201e3d===0xd){showKeyboard();_0x449b0c[_0x4e6f('0x7a')]();_0x449b0c[_0x4e6f('0x89')]();}}$(_0x4e6f('0x6c'))['on'](_0x4e6f('0x72'),_0x4e6f('0x8b'),function(){this[_0x4e6f('0x67')](_0x4e6f('0x8c'),kb_portal);console[_0x4e6f('0x6f')](_0x4e6f('0x8d'));});$(_0x4e6f('0x6c'))['on'](_0x4e6f('0x8e'),_0x4e6f('0x8f'),function(){this[_0x4e6f('0x77')](_0x4e6f('0x8c'),kb_portal);});