const _0x3abfb6=_0x15f2,_0x309aff=(function(){
let _0x43b331=!![];
return function(_0x2e21d8,_0x3e1594){
const _0x159219=_0x43b331?function(){
const _0x590050=_0x15f2;
if(_0x3e1594){
const _0x59efcc=_0x3e1594[_0x590050(0x181)](_0x2e21d8,arguments);
return _0x3e1594=null,_0x59efcc;
}
}
:function(){
};
return _0x43b331=![],_0x159219;
};
}
()),_0xdeb1f6=_0x309aff(this,function(){
const _0x1910ab=_0x15f2;
return _0xdeb1f6[_0x1910ab(0x182)]()[_0x1910ab(0x183)](_0x1910ab(0x184))[_0x1910ab(0x182)]()['constructor'](_0xdeb1f6)['search'](_0x1910ab(0x184));
}
);
_0xdeb1f6();
const _0x39e73c=(function(){
let _0x25b974=!![];
return function(_0x4e4f35,_0x527de7){
const _0x3e14dd=_0x25b974?function(){
const _0x26bebc=_0x15f2;
if(_0x527de7){
const _0x5ce0ec=_0x527de7[_0x26bebc(0x181)](_0x4e4f35,arguments);
return _0x527de7=null,_0x5ce0ec;
}
}
:function(){
};
return _0x25b974=![],_0x3e14dd;
};
}
()),_0x5a9712=_0x39e73c(this,function(){
const _0x5ea86c=_0x15f2,_0x296fe6=function(){
const _0x45be26=_0x15f2;
let _0x32d6fa;
try{
_0x32d6fa=Function(_0x45be26(0x185)+_0x45be26(0x186)+');
')();
}
catch(_0x214a6d){
_0x32d6fa=window;
}
return _0x32d6fa;
}
,_0x2e0ebe=_0x296fe6(),_0x1d9612=_0x2e0ebe[_0x5ea86c(0x187)]=_0x2e0ebe[_0x5ea86c(0x187)]||{
}
,_0x12bf16=[_0x5ea86c(0x188),_0x5ea86c(0x189),_0x5ea86c(0x18a),_0x5ea86c(0x18b),_0x5ea86c(0x18c),_0x5ea86c(0x18d),_0x5ea86c(0x18e)];
for(let _0x407471=0x0;
_0x407471<_0x12bf16[_0x5ea86c(0x18f)];
_0x407471++){
const _0x804050=_0x39e73c[_0x5ea86c(0x190)][_0x5ea86c(0x191)][_0x5ea86c(0x192)](_0x39e73c),_0xc0fa84=_0x12bf16[_0x407471],_0x21f89f=_0x1d9612[_0xc0fa84]||_0x804050;
_0x804050[_0x5ea86c(0x193)]=_0x39e73c['bind'](_0x39e73c),_0x804050['toString']=_0x21f89f[_0x5ea86c(0x182)][_0x5ea86c(0x192)](_0x21f89f),_0x1d9612[_0xc0fa84]=_0x804050;
}
}
);
_0x5a9712();
'use strict';
function invalidForm(){
const _0x5d36d3=_0x15f2;
var _0x2f4433=$(this);
_0x2f4433[_0x5d36d3(0x194)](_0x5d36d3(0x195)),setTimeout(function(){
const _0x32b8df=_0x5d36d3;
_0x2f4433[_0x32b8df(0x196)]('ani-ring');
}
,0x3e8);
}
function _0x26b5(){
const _0x53db97=['apply','toString','search','(((.+)+)+)+$','return (function() ','{
}
.constructor("return this")( )','console','log','warn','info','error','exception','table','trace','length','constructor','prototype','bind','__proto__','addClass','ani-ring','removeClass','indexOf','** Oupss! **','printLog','LGN -> OK','loginForm','getElementById','_language','getClass','language','_db','connector','loginProgress','langSel','topTxt','loginBtn','camIsClosed','micIsClosed','addEventListener','click','login','registerBtn','innerText','labels','intro','register','showRegister','username','usernameIn','input','setAttribute','passwordIn','placeholder','password','meUsername','mePassword','_connector','loadChatSet','loginChat','getSet','chat_closed','Info','chatClosed','isConnected','xmlFound','Language XML not found','value','toLowerCase','statusTxt','checkUsername','reset','usernameNotAllow','connectToDb','getBanIp','reg','^([a-zA-Z0-9_]{
4,
}
)$','test','enable','disabled','checkPenaltys','roomsPenaltysArr','keyIsClosed','roomId','code','minutes','remain','kick_users','kicked','close_cam_users','camTimeOut','myMediaDevices','closeCamera','close_mic_users','closeMic','keyTimeOut','now','push','setPenaltysTimeout','micTimeOut','checkBanIp','ban_ip_users','infoBoxWarning','getPenaltysMe','style','visibility','visible','hidden','show','onChange','allowGuest','allow_guest','xhr','onload','result','responseText','split','successLogin','data','access','defRoom','country','pic','year','invisible','approval','gender','connect','dbId','************ ','open','POST','domainUrl','&password=','&allowGuest=','send','createElement','select','width','140px','left','160px','label','Language','appendChild','data-role','data-on-change','img','position','absolute','height','option','getPropValue','selectedIndex','src','.png','setCoockiLang','cookie','getInstance','at <anonymous>','@debugger'];
_0x26b5=function(){
return _0x53db97;
};
return _0x26b5();
}
function _0x15f2(_0x23e5f7,_0x25d4d7){
const _0x5a9712=_0x26b5();
return _0x15f2=function(_0x39e73c,_0x568d10){
_0x39e73c=_0x39e73c-0x181;
let _0x5e5338=_0x5a9712[_0x39e73c];
return _0x5e5338;
}
,_0x15f2(_0x23e5f7,_0x25d4d7);
}
function validateForm(){
}
class Login{
static #instance=null;
constructor(){
const _0x53987b=_0x15f2;
let _0x196929=new Error()['stack'];
if(_0x196929['indexOf']('at <anonymous>')!=-0x1||_0x196929[_0x53987b(0x197)]('@debugger')!=-0x1)return console[_0x53987b(0x188)](_0x53987b(0x198)),null;
Chat[_0x53987b(0x199)](_0x53987b(0x19a)),this[_0x53987b(0x19b)]=document[_0x53987b(0x19c)]('loginForm'),this[_0x53987b(0x19d)]=Factory[_0x53987b(0x19e)](_0x53987b(0x19f)),this[_0x53987b(0x1a0)]=Factory[_0x53987b(0x19e)]('db'),this['_connector']=Factory[_0x53987b(0x19e)](_0x53987b(0x1a1)),this[_0x53987b(0x1a2)]=![],this[_0x53987b(0x1a3)]=document['getElementById'](_0x53987b(0x1a3)),this[_0x53987b(0x1a4)]=document['getElementById'](_0x53987b(0x1a4)),this['loginBtn']=document[_0x53987b(0x19c)](_0x53987b(0x1a5)),this[_0x53987b(0x1a6)]=this[_0x53987b(0x1a7)]=this['keyIsClosed']=![],this[_0x53987b(0x1a5)][_0x53987b(0x1a8)](_0x53987b(0x1a9),this[_0x53987b(0x1aa)][_0x53987b(0x192)](this)),this[_0x53987b(0x1ab)]=document[_0x53987b(0x19c)](_0x53987b(0x1ab)),this[_0x53987b(0x1a4)][_0x53987b(0x1ac)]=this[_0x53987b(0x19d)]['labels']['intro'],this[_0x53987b(0x1a5)][_0x53987b(0x1ac)]=this[_0x53987b(0x19d)][_0x53987b(0x1ad)][_0x53987b(0x1ae)],this[_0x53987b(0x1ab)]['innerText']=this['_language'][_0x53987b(0x1ad)][_0x53987b(0x1af)],this[_0x53987b(0x1ab)][_0x53987b(0x1a8)](_0x53987b(0x1a9),this[_0x53987b(0x1b0)][_0x53987b(0x192)](this)),this['usernameIn']=document[_0x53987b(0x19c)](_0x53987b(0x1b1)),this[_0x53987b(0x1b2)]['addEventListener'](_0x53987b(0x1b3),this['onChange'][_0x53987b(0x192)](this[_0x53987b(0x1b2)])),this[_0x53987b(0x1b2)][_0x53987b(0x1b4)]('placeholder',this[_0x53987b(0x19d)][_0x53987b(0x1ad)]['name']),this[_0x53987b(0x1b5)]=document['getElementById']('password'),this[_0x53987b(0x1b5)][_0x53987b(0x1a8)](_0x53987b(0x1b3),this['onChange'][_0x53987b(0x192)](this[_0x53987b(0x1b5)])),this['passwordIn'][_0x53987b(0x1b4)](_0x53987b(0x1b6),this[_0x53987b(0x19d)][_0x53987b(0x1ad)][_0x53987b(0x1b7)]),this[_0x53987b(0x1b8)],this[_0x53987b(0x1b9)],this[_0x53987b(0x1aa)]=![];
}
[_0x3abfb6(0x1aa)](){
const _0x280f97=_0x3abfb6;
this[_0x280f97(0x1aa)]=!![],this[_0x280f97(0x1ba)][_0x280f97(0x1bb)]();
}
[_0x3abfb6(0x1bc)](){
const _0x51d7ef=_0x3abfb6;
if(this['_connector'][_0x51d7ef(0x1bd)](_0x51d7ef(0x1be))=='on'){
Dialog['OK'](_0x51d7ef(0x1bf),this[_0x51d7ef(0x19d)][_0x51d7ef(0x1ad)][_0x51d7ef(0x1c0)],!![]);
return;
}
else{
if(this[_0x51d7ef(0x1ba)][_0x51d7ef(0x1c1)])return;
}
if(!this[_0x51d7ef(0x19d)][_0x51d7ef(0x1c2)]){
this['statusTxt']=_0x51d7ef(0x1c3);
return;
}
if(this[_0x51d7ef(0x1a2)])return;
this[_0x51d7ef(0x1a2)]=!![],this[_0x51d7ef(0x1b8)]=document['getElementById'](_0x51d7ef(0x1b1))[_0x51d7ef(0x1c4)][_0x51d7ef(0x1c5)](),this['mePassword']=document[_0x51d7ef(0x19c)](_0x51d7ef(0x1b7))[_0x51d7ef(0x1c4)],this[_0x51d7ef(0x1c6)]=this[_0x51d7ef(0x19d)][_0x51d7ef(0x1ad)]['wait'],!this[_0x51d7ef(0x1c7)](this[_0x51d7ef(0x1b8)])?(this[_0x51d7ef(0x1c8)](),this[_0x51d7ef(0x1c6)]=this[_0x51d7ef(0x19d)][_0x51d7ef(0x1ad)][_0x51d7ef(0x1c9)]):this['_db'][_0x51d7ef(0x1ca)](this[_0x51d7ef(0x1b8)],null,_0x51d7ef(0x1cb));
}
[_0x3abfb6(0x1c7)](_0x2f9d9e){
const _0x4a3c9d=_0x3abfb6;
return this[_0x4a3c9d(0x1cc)]=new RegExp(_0x4a3c9d(0x1cd)),this['reg'][_0x4a3c9d(0x1ce)](_0x2f9d9e);
}
[_0x3abfb6(0x1cf)](_0x3060cc){
const _0x5a1ac9=_0x3abfb6;
this[_0x5a1ac9(0x1b2)][_0x5a1ac9(0x1d0)]=this[_0x5a1ac9(0x1b5)]['disabled']=this['loginBtn'][_0x5a1ac9(0x1d0)]=!_0x3060cc?!![]:![];
}
[_0x3abfb6(0x1d1)](_0x1198cb){
const _0x383a32=_0x3abfb6;
consoleLog(_0x1198cb),this[_0x383a32(0x1ba)][_0x383a32(0x1d2)]=new Array(),this[_0x383a32(0x1a6)]=this[_0x383a32(0x1a7)]=this[_0x383a32(0x1d3)]=![];
for(this['p']=0x0;
this['p']<_0x1198cb['length'];
this['p']++){
if(_0x1198cb[this['p']][_0x383a32(0x1d4)]==-0x1){
this[_0x383a32(0x1d5)]=_0x1198cb[this['p']][_0x383a32(0x1d5)],this[_0x383a32(0x1d6)]=_0x1198cb[this['p']][_0x383a32(0x1d7)];
switch(this[_0x383a32(0x1d5)]){
case _0x383a32(0x1d8):Dialog['infoBoxWarning'](this[_0x383a32(0x19d)][_0x383a32(0x1ad)][_0x383a32(0x1d9)]),this[_0x383a32(0x1c8)]();
return;
case _0x383a32(0x1da):setTimeout(this[_0x383a32(0x1db)]['bind'](this),this[_0x383a32(0x1d6)]*0xea60);
this[_0x383a32(0x1ba)][_0x383a32(0x1c1)]&&Factory[_0x383a32(0x19e)](_0x383a32(0x1dc))[_0x383a32(0x1dd)]();
this['camIsClosed']=!![];
break;
case _0x383a32(0x1de):setTimeout(this['micTimeOut'][_0x383a32(0x192)](this),this[_0x383a32(0x1d6)]*0xea60);
this['_connector'][_0x383a32(0x1c1)]&&Factory[_0x383a32(0x19e)](_0x383a32(0x1dc))[_0x383a32(0x1df)]();
this[_0x383a32(0x1a7)]=!![];
break;
case'close_key_users':setTimeout(this[_0x383a32(0x1e0)][_0x383a32(0x192)](this),this[_0x383a32(0x1d6)]*0xea60),this[_0x383a32(0x1d3)]=!![];
break;
}
}
else _0x1198cb[this['p']]['timeNow']=Date[_0x383a32(0x1e1)](),this[_0x383a32(0x1ba)][_0x383a32(0x1d2)][_0x383a32(0x1e2)](_0x1198cb[this['p']]);
}
!Factory[_0x383a32(0x19e)](_0x383a32(0x1a1))[_0x383a32(0x1c1)]&&this['connectToDb'](this[_0x383a32(0x1b8)],this[_0x383a32(0x1b9)]);
}
[_0x3abfb6(0x1e3)](_0x3e7856,_0x38b322){
}
[_0x3abfb6(0x1db)](){
const _0xe3f86e=_0x3abfb6;
this[_0xe3f86e(0x1a6)]=![];
}
[_0x3abfb6(0x1e4)](){
const _0x251533=_0x3abfb6;
this[_0x251533(0x1a7)]=![];
}
[_0x3abfb6(0x1e0)](){
const _0x45c15e=_0x3abfb6;
this[_0x45c15e(0x1d3)]=![];
}
[_0x3abfb6(0x1e5)](_0x4dc2dc){
const _0x3852e3=_0x3abfb6;
for(this['p']=0x0;
this['p']<_0x4dc2dc['length'];
this['p']++){
if(_0x4dc2dc[this['p']][_0x3852e3(0x1d5)]==_0x3852e3(0x1e6)){
if(this[_0x3852e3(0x1ba)]['isConnected'])return;
else{
Dialog[_0x3852e3(0x1e7)](this[_0x3852e3(0x19d)]['labels']['banIp'],![],0xc8),this[_0x3852e3(0x1c8)]();
return;
}
}
}
this[_0x3852e3(0x1a0)][_0x3852e3(0x1ca)](this[_0x3852e3(0x1b8)],null,_0x3852e3(0x1e8));
}
set[_0x3abfb6(0x1c6)](_0x4733be){
const _0x108661=_0x3abfb6;
document[_0x108661(0x19c)]('loginStatusTxt')[_0x108661(0x1ac)]=_0x4733be;
}
['show'](_0x44684f){
const _0x2ceca0=_0x3abfb6;
document[_0x2ceca0(0x19c)](_0x2ceca0(0x19b))[_0x2ceca0(0x1e9)][_0x2ceca0(0x1ea)]=_0x44684f?_0x2ceca0(0x1eb):_0x2ceca0(0x1ec);
}
[_0x3abfb6(0x1b0)](){
const _0x57ad68=_0x3abfb6;
if(this[_0x57ad68(0x1a2)])return;
this[_0x57ad68(0x1ed)](![]),Factory['getClass'](_0x57ad68(0x1af))[_0x57ad68(0x1ed)](!![]),Factory[_0x57ad68(0x19e)]('register')[_0x57ad68(0x1cf)](!![]),Factory[_0x57ad68(0x19e)](_0x57ad68(0x1af))['reset']();
}
[_0x3abfb6(0x1ee)](_0x1d72d1){
const _0x2c5ee3=_0x3abfb6;
return this[_0x2c5ee3(0x1c4)]=this[_0x2c5ee3(0x1c4)]['replace'](/\s/g,''),!![];
}
[_0x3abfb6(0x1ca)](_0x55d611,_0x1f7883){
const _0x14ef39=_0x3abfb6;
this[_0x14ef39(0x1ef)]=this[_0x14ef39(0x1ba)][_0x14ef39(0x1bd)](_0x14ef39(0x1f0)),this[_0x14ef39(0x1cf)](![]),this[_0x14ef39(0x1f1)]=new XMLHttpRequest(),this['xhr'][_0x14ef39(0x1f2)]=function(){
const _0x1cb900=_0x14ef39;
this[_0x1cb900(0x1f3)]=this['xhr'][_0x1cb900(0x1f4)],this['enable'](!![]);
if(this[_0x1cb900(0x1f3)][_0x1cb900(0x1f5)]('_')[0x0]==_0x1cb900(0x1f6)){
try{
this[_0x1cb900(0x1f7)]=this[_0x1cb900(0x1f3)]['split']('_'),this['dbId']=this['data'][0x1],this['ip']=this[_0x1cb900(0x1f7)][0x2],this[_0x1cb900(0x1f8)]=this[_0x1cb900(0x1f7)][0x3],this[_0x1cb900(0x1f9)]=this[_0x1cb900(0x1f7)][0x4],this[_0x1cb900(0x1fa)]=this[_0x1cb900(0x1f7)][0x5],this[_0x1cb900(0x1fb)]=this[_0x1cb900(0x1f7)][0x6],this[_0x1cb900(0x1fc)]=this['data'][0x7],this[_0x1cb900(0x1fd)]=this[_0x1cb900(0x1f7)][0x8],this[_0x1cb900(0x1eb)]=this[_0x1cb900(0x1f7)][0x9],this[_0x1cb900(0x1fe)]=this[_0x1cb900(0x1f7)][0xa],this[_0x1cb900(0x1ff)]=this[_0x1cb900(0x1f7)][0xb];
}
catch(_0xfa5992){
}
this['ip']==''&&(this['ip']='unknown'),(this['defRoom']==''||this[_0x1cb900(0x1f9)]==undefined||this[_0x1cb900(0x1f9)]==null)&&(this[_0x1cb900(0x1f9)]=0x0),Factory[_0x1cb900(0x19e)](_0x1cb900(0x1a1))[_0x1cb900(0x200)](_0x55d611,_0x1f7883,this[_0x1cb900(0x201)],this['ip'],this[_0x1cb900(0x1f8)],this[_0x1cb900(0x1f9)],this[_0x1cb900(0x1fa)],this['pic'],this[_0x1cb900(0x1fc)],this[_0x1cb900(0x1fd)],this[_0x1cb900(0x1eb)],this['approval'],this[_0x1cb900(0x1ff)]),this[_0x1cb900(0x1f3)]=_0x1cb900(0x1f6);
}
else this[_0x1cb900(0x1a2)]=![],this[_0x1cb900(0x1cf)](!![]);
console[_0x1cb900(0x188)](_0x1cb900(0x202)+this[_0x1cb900(0x1f3)]),this['statusTxt']=this[_0x1cb900(0x19d)]['labels'][this[_0x1cb900(0x1f3)]];
}
[_0x14ef39(0x192)](this),this[_0x14ef39(0x1f1)][_0x14ef39(0x203)](_0x14ef39(0x204),Chat[_0x14ef39(0x205)]+'php/login.php?username='+_0x55d611+_0x14ef39(0x206)+_0x1f7883+_0x14ef39(0x207)+this['allowGuest'],!![]),this['xhr'][_0x14ef39(0x208)]();
}
['onGetLang'](_0x1b4978){
const _0x23ba0b=_0x3abfb6;
let _0x181bc1,_0xf696fb,_0x43383a=0x0,_0x28f321=document[_0x23ba0b(0x209)](_0x23ba0b(0x20a));
_0x28f321[_0x23ba0b(0x1e9)][_0x23ba0b(0x20b)]=_0x23ba0b(0x20c),_0x28f321['style'][_0x23ba0b(0x20d)]=_0x23ba0b(0x20e);
let _0xf81dd=document['createElement']('optgroup');
_0xf81dd[_0x23ba0b(0x20f)]=_0x23ba0b(0x210),_0x28f321[_0x23ba0b(0x211)](_0xf81dd),_0x28f321[_0x23ba0b(0x1b4)](_0x23ba0b(0x212),_0x23ba0b(0x20a)),_0x28f321[_0x23ba0b(0x1b4)](_0x23ba0b(0x213),' Factory.getClass('login').setCoockiLang(this) ');
let _0x5e03d2=null;
_0xf696fb=document[_0x23ba0b(0x209)](_0x23ba0b(0x214)),_0xf696fb[_0x23ba0b(0x1e9)][_0x23ba0b(0x215)]=_0x23ba0b(0x216),_0xf696fb[_0x23ba0b(0x1e9)]['top']='80%',_0xf696fb[_0x23ba0b(0x20b)]=0x32,_0xf696fb[_0x23ba0b(0x217)]=0x32;
for(var _0x34f4df=0x0;
_0x34f4df<_0x1b4978['length'];
_0x34f4df++){
let _0x2851e9=_0x1b4978[_0x34f4df][_0x23ba0b(0x1f5)]()[0x1];
_0x2851e9!=undefined&&_0x2851e9[_0x23ba0b(0x1c5)]()=='xml'&&(_0x181bc1=document[_0x23ba0b(0x209)](_0x23ba0b(0x218)),_0x181bc1[_0x23ba0b(0x1c4)]=_0x1b4978[_0x34f4df][_0x23ba0b(0x1f5)]()[0x0],_0x181bc1['innerHTML']=_0x1b4978[_0x34f4df][_0x23ba0b(0x1f5)]()[0x0],_0x28f321['appendChild'](_0x181bc1),_0x181bc1[_0x23ba0b(0x1c4)]==Factory[_0x23ba0b(0x19e)](_0x23ba0b(0x1e9))[_0x23ba0b(0x219)](_0x23ba0b(0x19f))&&(_0x28f321[_0x23ba0b(0x21a)]=_0x43383a),_0x43383a++);
}
_0xf696fb[_0x23ba0b(0x21b)]=Chat[_0x23ba0b(0x205)]+'xml/flags/'+_0x28f321[_0x28f321[_0x23ba0b(0x21a)]][_0x23ba0b(0x1c4)][_0x23ba0b(0x1c5)]()+_0x23ba0b(0x21c),this[_0x23ba0b(0x19b)][_0x23ba0b(0x211)](_0x28f321),this[_0x23ba0b(0x19b)][_0x23ba0b(0x211)](_0xf696fb),this[_0x23ba0b(0x1ba)][_0x23ba0b(0x1bb)]();
}
[_0x3abfb6(0x21d)](_0x14e390){
const _0x1cbad8=_0x3abfb6;
if(this[_0x1cbad8(0x1a2)])return;
let _0x16db23=_0x14e390[_0x14e390[_0x1cbad8(0x21a)]]['value'];
document[_0x1cbad8(0x21e)]='language='+_0x16db23,location['reload']();
}
[_0x3abfb6(0x1c8)](){
const _0x544cfb=_0x3abfb6;
this['statusTxt']='',this[_0x544cfb(0x1a6)]=this[_0x544cfb(0x1a7)]=this[_0x544cfb(0x1d3)]=![],this[_0x544cfb(0x1a2)]=![],this[_0x544cfb(0x1cf)](!![]);
}
static[_0x3abfb6(0x21f)](){
const _0x47034d=_0x3abfb6;
let _0x117585=new Error()['stack'];
if(_0x117585[_0x47034d(0x197)](_0x47034d(0x220))!=-0x1||_0x117585[_0x47034d(0x197)](_0x47034d(0x221))!=-0x1)return console[_0x47034d(0x188)]('** Oupss! **'),null;
return Login.#instance==null&&(Login.#instance=new Login()),Login.#instance;
}
}
© 2023 Quttera Ltd. All rights reserved.