Built motion from commit 95c3d5ad5.|1.0.29
[motion.git] / server / config / forked_routing / openchannel / queue.js
index cb2cb9e..88033bf 100644 (file)
@@ -1 +1 @@
-var _0x1ce3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x52\x6F\x6F\x6D","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x52\x65\x70\x6F\x72\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x65\x73\x73\x61\x67\x65","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x50\x50\x20\x51\x55\x45\x55\x45\x2C\x20\x51\x55\x45\x55\x45\x3A","\x6E\x61\x6D\x65","\x53\x54\x52\x41\x54\x45\x47\x59\x3A","\x73\x74\x72\x61\x74\x65\x67\x79","\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x41\x47\x45\x4E\x54","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x52\x45\x4A\x45\x43\x54\x45\x44","\x69\x6E\x66\x6F","\x69\x64","\x70\x75\x73\x68","\x72\x65\x6A\x65\x63\x74","\x74\x79\x70\x65","\x6F\x6E","\x66\x69\x6E\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x6C\x65\x6E\x67\x74\x68","\x6D\x61\x70","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x50\x61\x75\x73\x65","\x46\x49\x45\x4C\x44\x28\x55\x73\x65\x72\x2E\x69\x64\x2C\x25\x73\x29","\x6A\x6F\x69\x6E","\x66\x6F\x72\x6D\x61\x74","\x45\x52\x52\x4F\x52","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x25\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x74\x6F","\x67\x65\x74","\x41\x47\x45\x4E\x54\x20\x53\x45\x4C\x45\x43\x54\x45\x44\x3A","\x66\x69\x6E\x64\x49\x6E\x64\x65\x78","\x73\x70\x6C\x69\x63\x65","\x68\x65\x61\x64","\x71\x75\x65\x75\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x6D\x65\x72\x67\x65","\x63\x72\x65\x61\x74\x65","\x4E\x4F\x20\x41\x56\x41\x49\x4C\x41\x42\x4C\x45\x20\x41\x47\x45\x4E\x54\x53","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x74\x61\x63\x6B","\x72\x65\x70\x6F\x72\x74\x5F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x61\x64\x6D\x69\x6E\x73","\x75\x73\x65\x72\x73","\x45\x4E\x44\x20\x28\x4E\x4F\x20\x41\x4E\x53\x57\x45\x52\x20\x42\x59\x20\x41\x47\x45\x4E\x54\x53\x29","\x75\x70\x64\x61\x74\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x67\x72\x6F\x75\x70\x42\x79","\x76\x61\x6C\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65","\x63\x6C\x6F\x6E\x65","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x6C\x61\x73\x74\x41\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x73\x6F\x72\x74\x42\x79","\x72\x6F\x75\x6E\x64\x72\x6F\x62\x69\x6E","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x72\x6F\x6F\x6D\x69\x64","\x54\x49\x4D\x45\x4F\x55\x54","\x53\x45\x43"];_0x1ce3[0];var _=require(_0x1ce3[1]);var util=require(_0x1ce3[2]);var moment=require(_0x1ce3[3]);var logger=require(_0x1ce3[5])(_0x1ce3[4]);var Agent=require(_0x1ce3[7])[_0x1ce3[6]];var Room=require(_0x1ce3[7])[_0x1ce3[8]];var Queue=require(_0x1ce3[7])[_0x1ce3[9]];var Report=require(_0x1ce3[7])[_0x1ce3[10]];var Session=require(_0x1ce3[7])[_0x1ce3[11]];module[_0x1ce3[12]]= function(_0x9fd8xa,_0x9fd8xb,_0x9fd8xc,_0x9fd8xd,_0x9fd8xe){var _0x9fd8xf=[];var _0x9fd8x10;var _0x9fd8x11;var _0x9fd8x12;var _0x9fd8x13=0;process[_0x1ce3[30]](_0x1ce3[13],function(_0x9fd8xc){switch(_0x9fd8xc[_0x1ce3[29]]){case _0x1ce3[28]:logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[22],_0x9fd8xc[_0x1ce3[23]],_0x1ce3[24]);_0x9fd8xf[_0x1ce3[27]]({id:_0x9fd8xc[_0x1ce3[26]]});break;default:}});function _0x9fd8x14(_0x9fd8x15){var _0x9fd8x16=_[_0x1ce3[31]](_0x9fd8xf,{id:_0x9fd8x15[_0x1ce3[26]]});return _0x9fd8x16?true:false}function _0x9fd8x17(){var _0x9fd8x18=((_0x9fd8xa[_0x1ce3[32]]- _0x9fd8x13)> _0x9fd8x12[_0x1ce3[32]])?_0x9fd8x12[_0x1ce3[32]]:(_0x9fd8xa[_0x1ce3[32]]- _0x9fd8x13);if(_0x9fd8x18> 0){if(_0x9fd8x11[_0x1ce3[33]]){var _0x9fd8x19={where:{id:{$in:_[_0x1ce3[34]](_0x9fd8x11,_0x1ce3[26])},online:true,openchannelPause:false},include:[{model:Room,attributes:[_0x1ce3[26]],raw:true}],attributes:[_0x1ce3[26],_0x1ce3[17],_0x1ce3[35],_0x1ce3[36],_0x1ce3[37]],order:[[{raw:util[_0x1ce3[40]](_0x1ce3[38],_[_0x1ce3[34]](_0x9fd8x11,_0x1ce3[26])[_0x1ce3[39]]())}]]};Agent[_0x1ce3[60]](_0x9fd8x19)[_0x1ce3[44]](function(_0x9fd8x1c){if(_0x9fd8x1c[_0x1ce3[33]]){var _0x9fd8x1d;for(var _0x9fd8x1e=0;_0x9fd8x1e< _0x9fd8x1c[_0x1ce3[33]];_0x9fd8x1e++){var _0x9fd8x15=_0x9fd8x1c[_0x9fd8x1e][_0x1ce3[50]]({plain:true});if(!_0x9fd8x14(_0x9fd8x15)){_0x9fd8x1d= _0x9fd8x15;break}};if(_0x9fd8x1d){logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[51],_0x9fd8x1d[_0x1ce3[26]],_0x9fd8x1d[_0x1ce3[17]]);var _0x9fd8x1f=_[_0x1ce3[52]](_0x9fd8x11,{"\x69\x64":_0x9fd8x1d[_0x1ce3[26]]});if(_0x9fd8x1f>= 0){var _0x9fd8x20=_0x9fd8x11[_0x1ce3[53]](_0x9fd8x1f,1);if(_0x9fd8x20&& _0x9fd8x20[_0x1ce3[33]]){_0x9fd8x11[_0x1ce3[27]](_[_0x1ce3[54]](_0x9fd8x20))}};return Report[_0x1ce3[58]](_[_0x1ce3[57]](_0x9fd8xb,{timeslot:_0x9fd8x18,application:_0x1ce3[55],membername:_0x9fd8x1d[_0x1ce3[17]],memberid:_0x9fd8x1d[_0x1ce3[26]],queue:_0x9fd8x12[_0x1ce3[26]],queuename:_0x9fd8x12[_0x1ce3[17]],calledAt:moment()[_0x1ce3[40]](_0x1ce3[56])}))};logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[59]);return}else {logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[59]);return}})[_0x1ce3[44]](function(_0x9fd8x1b){if(_0x9fd8x1b){_0x9fd8xd[_0x1ce3[49]](util[_0x1ce3[40]](_0x1ce3[47],_0x9fd8x1b[_0x1ce3[48]]))[_0x1ce3[46]](_0x1ce3[45],_0x9fd8x1b)}})[_0x1ce3[44]](function(){_0x9fd8x10= setTimeout(function(){_0x9fd8x13+= _0x9fd8x12[_0x1ce3[32]];_0x9fd8x17()},_0x9fd8x18* 1000)})[_0x1ce3[43]](function(_0x9fd8x1a){logger[_0x1ce3[42]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[41]);_0x9fd8xe(_0x9fd8x1a)})}else {logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[59]);_0x9fd8x10= setTimeout(function(){_0x9fd8x13+= _0x9fd8x12[_0x1ce3[32]];_0x9fd8x17()},_0x9fd8x18* 1000)}}else {return Session[_0x1ce3[66]]({leaveAt:moment()[_0x1ce3[40]](_0x1ce3[56]),timeout:true},{where:{uniqueid:_0x9fd8xb[_0x1ce3[21]],leaveAt:null},individualHooks:true})[_0x1ce3[44]](function(_0x9fd8x21){if(_0x9fd8x21&& _0x9fd8x21[_0x1ce3[33]]&& _0x9fd8x21[1][_0x1ce3[33]]){for(var _0x9fd8x1e=0;_0x9fd8x1e< _0x9fd8x21[1][_0x1ce3[33]];_0x9fd8x1e++){var _0x9fd8x22=_0x9fd8x21[1][_0x9fd8x1e][_0x1ce3[50]]({plain:true});_0x9fd8xd[_0x1ce3[49]](_0x1ce3[63])[_0x1ce3[46]](_0x1ce3[62],_0x9fd8x22);_0x9fd8xd[_0x1ce3[49]](_0x1ce3[64])[_0x1ce3[46]](_0x1ce3[62],_0x9fd8x22)}};logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[65]);clearTimeout(_0x9fd8x10);_0x9fd8xe()})[_0x1ce3[43]](function(_0x9fd8x1a){logger[_0x1ce3[42]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[41]);logger[_0x1ce3[42]](_0x9fd8x1a[_0x1ce3[61]]);_0x9fd8xe(_0x9fd8x1a)})}}function _0x9fd8x23(){var _0x9fd8x18=((_0x9fd8xa[_0x1ce3[32]]- _0x9fd8x13)> _0x9fd8x12[_0x1ce3[32]])?_0x9fd8x12[_0x1ce3[32]]:(_0x9fd8xa[_0x1ce3[32]]- _0x9fd8x13);if(_0x9fd8x18> 0){Queue[_0x1ce3[74]](_0x9fd8xa.OpenchannelQueueId,{attributes:[_0x1ce3[26],_0x1ce3[17],_0x1ce3[32],_0x1ce3[19],_0x1ce3[73]],include:[{model:Agent,where:{online:true,openchannelPause:false},attributes:[_0x1ce3[26],_0x1ce3[17],_0x1ce3[35],_0x1ce3[36],_0x1ce3[37]],raw:true}]})[_0x1ce3[44]](function(_0x9fd8x25){if(_0x9fd8x25){var _0x9fd8x1c=_[_0x1ce3[69]](_[_0x1ce3[68]](_0x9fd8x25.Users,_0x1ce3[67]));if(_0x9fd8x1c&& _0x9fd8x1c[_0x1ce3[33]]){var _0x9fd8x26;for(var _0x9fd8x1e=0;_0x9fd8x1e< _0x9fd8x1c[_0x1ce3[33]];_0x9fd8x1e++){_[_0x1ce3[70]](_0x9fd8x1c[_0x9fd8x1e],function(_0x9fd8x15){return _0x9fd8x14(_0x9fd8x15)});if(_0x9fd8x1c[_0x9fd8x1e][_0x1ce3[33]]){_0x9fd8x26= _0x9fd8x1c[_0x9fd8x1e];break}};if(_0x9fd8x26&& _0x9fd8x26[_0x1ce3[33]]){var _0x9fd8x27=_[_0x1ce3[34]](_0x9fd8x26,function(_0x9fd8x15){return _[_0x1ce3[71]](_[_0x1ce3[57]](_0x9fd8xb,{timeslot:_0x9fd8x18,application:_0x1ce3[55],membername:_0x9fd8x15[_0x1ce3[17]],memberid:_0x9fd8x15[_0x1ce3[26]],queue:_0x9fd8x12[_0x1ce3[26]],queuename:_0x9fd8x12[_0x1ce3[17]],calledAt:moment()[_0x1ce3[40]](_0x1ce3[56])}))});return Report[_0x1ce3[72]](_0x9fd8x27,{individualHooks:true})}else {logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[59])}}else {logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[59])}}else {logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[59])}})[_0x1ce3[44]](function(_0x9fd8x24){if(_0x9fd8x24&& _0x9fd8x24[_0x1ce3[33]]){for(var _0x9fd8x1e=0;_0x9fd8x1e< _0x9fd8x24[_0x1ce3[33]];_0x9fd8x1e++){var _0x9fd8x1b=_0x9fd8x24[_0x9fd8x1e][_0x1ce3[50]]({plain:true});_0x9fd8xd[_0x1ce3[49]](util[_0x1ce3[40]](_0x1ce3[47],_0x9fd8x1b[_0x1ce3[48]]))[_0x1ce3[46]](_0x1ce3[45],_0x9fd8x1b)}};_0x9fd8x10= setTimeout(function(){_0x9fd8x13+= _0x9fd8x12[_0x1ce3[32]];_0x9fd8x23()},_0x9fd8x18* 1000)})[_0x1ce3[43]](function(_0x9fd8x1a){logger[_0x1ce3[42]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[41]);logger[_0x1ce3[42]](_0x9fd8x1a[_0x1ce3[61]]);_0x9fd8xe(_0x9fd8x1a)})}else {return Session[_0x1ce3[66]]({leaveAt:moment()[_0x1ce3[40]](_0x1ce3[56]),timeout:true},{where:{uniqueid:_0x9fd8xb[_0x1ce3[21]],leaveAt:null},individualHooks:true})[_0x1ce3[44]](function(_0x9fd8x21){if(_0x9fd8x21&& _0x9fd8x21[_0x1ce3[33]]&& _0x9fd8x21[1][_0x1ce3[33]]){for(var _0x9fd8x1e=0;_0x9fd8x1e< _0x9fd8x21[1][_0x1ce3[33]];_0x9fd8x1e++){var _0x9fd8x22=_0x9fd8x21[1][_0x9fd8x1e][_0x1ce3[50]]({plain:true});_0x9fd8xd[_0x1ce3[49]](_0x1ce3[63])[_0x1ce3[46]](_0x1ce3[62],_0x9fd8x22);_0x9fd8xd[_0x1ce3[49]](_0x1ce3[64])[_0x1ce3[46]](_0x1ce3[62],_0x9fd8x22)}};logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[65]);clearTimeout(_0x9fd8x10);_0x9fd8xe()})[_0x1ce3[43]](function(_0x9fd8x1a){logger[_0x1ce3[42]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[41]);logger[_0x1ce3[42]](_0x9fd8x1a[_0x1ce3[61]]);_0x9fd8xe(_0x9fd8x1a)})}}return Queue[_0x1ce3[74]](_0x9fd8xa.OpenchannelQueueId,{attributes:[_0x1ce3[26],_0x1ce3[17],_0x1ce3[32],_0x1ce3[19],_0x1ce3[73]],include:[{model:Agent,attributes:[_0x1ce3[26]],raw:true}]})[_0x1ce3[44]](function(_0x9fd8x25){_0x9fd8x12= _0x9fd8x25[_0x1ce3[50]]({plain:true});logger[_0x1ce3[25]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[83],_0x9fd8xa[_0x1ce3[32]],_0x1ce3[84]);return Session[_0x1ce3[58]](_[_0x1ce3[57]](_0x9fd8xb,{timeslot:_0x9fd8xa[_0x1ce3[32]],application:_0x1ce3[55],queue:_0x9fd8x25[_0x1ce3[26]],queuename:_0x9fd8x25[_0x1ce3[17]],calledAt:moment()[_0x1ce3[40]](_0x1ce3[56]),joinAt:moment()[_0x1ce3[40]](_0x1ce3[56]),membername:null,memberid:null}))})[_0x1ce3[44]](function(_0x9fd8x22){_0x9fd8xd[_0x1ce3[49]](_0x1ce3[63])[_0x1ce3[46]](_0x1ce3[62],_0x9fd8x22);_0x9fd8xd[_0x1ce3[49]](_0x1ce3[64])[_0x1ce3[46]](_0x1ce3[62],_0x9fd8x22);return Room[_0x1ce3[74]](_0x9fd8xb[_0x1ce3[82]])})[_0x1ce3[44]](function(_0x9fd8x28){if(_0x9fd8x28){return _0x9fd8x28[_0x1ce3[66]]({waiting:true})}})[_0x1ce3[44]](function(_0x9fd8x28){if(_0x9fd8x28){_0x9fd8xd[_0x1ce3[46]](_0x1ce3[81],_0x9fd8x28[_0x1ce3[50]]({plain:true}))}})[_0x1ce3[44]](function(_0x9fd8x28){switch(_0x9fd8x12[_0x1ce3[19]]){case _0x1ce3[75]:_0x9fd8x23();break;case _0x1ce3[79]:_0x9fd8x11= _[_0x1ce3[78]](_0x9fd8x12.Users,[function(_0x9fd8x29){return _0x9fd8x29[_0x1ce3[77]][_0x1ce3[76]]|| 0}]);_0x9fd8x17();break;case _0x1ce3[80]:_0x9fd8x11= _[_0x1ce3[78]](_0x9fd8x12.Users,[function(_0x9fd8x29){return _0x9fd8x29[_0x1ce3[77]][_0x1ce3[76]]|| 0}]);_0x9fd8x17();break;default:}})[_0x1ce3[43]](function(_0x9fd8x1a){logger[_0x1ce3[42]](_0x9fd8xb[_0x1ce3[15]][_0x1ce3[14]](),_0x1ce3[16],_0x9fd8x12[_0x1ce3[17]][_0x1ce3[14]](),_0x1ce3[18],_0x9fd8x12[_0x1ce3[19]],_0x1ce3[20],_0x9fd8xb[_0x1ce3[21]],_0x1ce3[41]);logger[_0x1ce3[42]](_0x9fd8x1a[_0x1ce3[61]]);_0x9fd8xe(_0x9fd8x1a)})}
\ No newline at end of file
+var _0xfa42=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x52\x6F\x6F\x6D","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x52\x65\x70\x6F\x72\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73","\x6D\x65\x73\x73\x61\x67\x65","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x50\x50\x20\x51\x55\x45\x55\x45\x2C\x20\x51\x55\x45\x55\x45\x3A","\x6E\x61\x6D\x65","\x53\x54\x52\x41\x54\x45\x47\x59\x3A","\x73\x74\x72\x61\x74\x65\x67\x79","\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x41\x47\x45\x4E\x54","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x52\x45\x4A\x45\x43\x54\x45\x44","\x69\x6E\x66\x6F","\x69\x64","\x70\x75\x73\x68","\x72\x65\x6A\x65\x63\x74","\x74\x79\x70\x65","\x6F\x6E","\x66\x69\x6E\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x6C\x65\x6E\x67\x74\x68","\x6D\x61\x70","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x6F\x6E\x6C\x69\x6E\x65","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x50\x61\x75\x73\x65","\x46\x49\x45\x4C\x44\x28\x55\x73\x65\x72\x2E\x69\x64\x2C\x25\x73\x29","\x6A\x6F\x69\x6E","\x66\x6F\x72\x6D\x61\x74","\x45\x52\x52\x4F\x52","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x72\x65\x70\x6F\x72\x74\x5F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x3A\x73\x61\x76\x65","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x25\x64","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x74\x6F","\x67\x65\x74","\x41\x47\x45\x4E\x54\x20\x53\x45\x4C\x45\x43\x54\x45\x44\x3A","\x66\x69\x6E\x64\x49\x6E\x64\x65\x78","\x73\x70\x6C\x69\x63\x65","\x68\x65\x61\x64","\x71\x75\x65\x75\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x6D\x65\x72\x67\x65","\x63\x72\x65\x61\x74\x65","\x4E\x4F\x20\x41\x56\x41\x49\x4C\x41\x42\x4C\x45\x20\x41\x47\x45\x4E\x54\x53","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x74\x61\x63\x6B","\x72\x65\x70\x6F\x72\x74\x5F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x73\x65\x73\x73\x69\x6F\x6E\x3A\x73\x61\x76\x65","\x61\x64\x6D\x69\x6E\x73","\x75\x73\x65\x72\x73","\x45\x4E\x44\x20\x28\x4E\x4F\x20\x41\x4E\x53\x57\x45\x52\x20\x42\x59\x20\x41\x47\x45\x4E\x54\x53\x29","\x75\x70\x64\x61\x74\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65\x2E\x70\x65\x6E\x61\x6C\x74\x79","\x67\x72\x6F\x75\x70\x42\x79","\x76\x61\x6C\x75\x65\x73","\x72\x65\x6D\x6F\x76\x65","\x63\x6C\x6F\x6E\x65","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x6C\x61\x73\x74\x41\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x62\x65\x65\x70\x61\x6C\x6C","\x70\x65\x6E\x61\x6C\x74\x79","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x73\x6F\x72\x74\x42\x79","\x72\x6F\x75\x6E\x64\x72\x6F\x62\x69\x6E","\x72\x72\x6D\x65\x6D\x6F\x72\x79","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x72\x6F\x6F\x6D\x3A\x73\x61\x76\x65","\x72\x6F\x6F\x6D\x69\x64","\x54\x49\x4D\x45\x4F\x55\x54","\x53\x45\x43"];_0xfa42[0];var _=require(_0xfa42[1]);var util=require(_0xfa42[2]);var moment=require(_0xfa42[3]);var logger=require(_0xfa42[5])(_0xfa42[4]);var Agent=require(_0xfa42[7])[_0xfa42[6]];var Room=require(_0xfa42[7])[_0xfa42[8]];var Queue=require(_0xfa42[7])[_0xfa42[9]];var Report=require(_0xfa42[7])[_0xfa42[10]];var Session=require(_0xfa42[7])[_0xfa42[11]];module[_0xfa42[12]]= function(_0xa046xa,_0xa046xb,_0xa046xc,_0xa046xd,_0xa046xe){var _0xa046xf=[];var _0xa046x10;var _0xa046x11;var _0xa046x12;var _0xa046x13=0;process[_0xfa42[30]](_0xfa42[13],function(_0xa046xc){switch(_0xa046xc[_0xfa42[29]]){case _0xfa42[28]:logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[22],_0xa046xc[_0xfa42[23]],_0xfa42[24]);_0xa046xf[_0xfa42[27]]({id:_0xa046xc[_0xfa42[26]]});break;default:}});function _0xa046x14(_0xa046x15){var _0xa046x16=_[_0xfa42[31]](_0xa046xf,{id:_0xa046x15[_0xfa42[26]]});return _0xa046x16?true:false}function _0xa046x17(){var _0xa046x18=((_0xa046xa[_0xfa42[32]]- _0xa046x13)> _0xa046x12[_0xfa42[32]])?_0xa046x12[_0xfa42[32]]:(_0xa046xa[_0xfa42[32]]- _0xa046x13);if(_0xa046x18> 0){if(_0xa046x11[_0xfa42[33]]){var _0xa046x19={where:{id:{$in:_[_0xfa42[34]](_0xa046x11,_0xfa42[26])},online:true,openchannelPause:false},include:[{model:Room,attributes:[_0xfa42[26]],raw:true}],attributes:[_0xfa42[26],_0xfa42[17],_0xfa42[35],_0xfa42[36],_0xfa42[37]],order:[[{raw:util[_0xfa42[40]](_0xfa42[38],_[_0xfa42[34]](_0xa046x11,_0xfa42[26])[_0xfa42[39]]())}]]};Agent[_0xfa42[60]](_0xa046x19)[_0xfa42[44]](function(_0xa046x1c){if(_0xa046x1c[_0xfa42[33]]){var _0xa046x1d;for(var _0xa046x1e=0;_0xa046x1e< _0xa046x1c[_0xfa42[33]];_0xa046x1e++){var _0xa046x15=_0xa046x1c[_0xa046x1e][_0xfa42[50]]({plain:true});if(!_0xa046x14(_0xa046x15)){_0xa046x1d= _0xa046x15;break}};if(_0xa046x1d){logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[51],_0xa046x1d[_0xfa42[26]],_0xa046x1d[_0xfa42[17]]);var _0xa046x1f=_[_0xfa42[52]](_0xa046x11,{"\x69\x64":_0xa046x1d[_0xfa42[26]]});if(_0xa046x1f>= 0){var _0xa046x20=_0xa046x11[_0xfa42[53]](_0xa046x1f,1);if(_0xa046x20&& _0xa046x20[_0xfa42[33]]){_0xa046x11[_0xfa42[27]](_[_0xfa42[54]](_0xa046x20))}};return Report[_0xfa42[58]](_[_0xfa42[57]](_0xa046xb,{timeslot:_0xa046x18,application:_0xfa42[55],membername:_0xa046x1d[_0xfa42[17]],memberid:_0xa046x1d[_0xfa42[26]],queue:_0xa046x12[_0xfa42[26]],queuename:_0xa046x12[_0xfa42[17]],calledAt:moment()[_0xfa42[40]](_0xfa42[56])}))};logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[59]);return}else {logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[59]);return}})[_0xfa42[44]](function(_0xa046x1b){if(_0xa046x1b){_0xa046xd[_0xfa42[49]](util[_0xfa42[40]](_0xfa42[47],_0xa046x1b[_0xfa42[48]]))[_0xfa42[46]](_0xfa42[45],_0xa046x1b)}})[_0xfa42[44]](function(){_0xa046x10= setTimeout(function(){_0xa046x13+= _0xa046x12[_0xfa42[32]];_0xa046x17()},_0xa046x18* 1000)})[_0xfa42[43]](function(_0xa046x1a){logger[_0xfa42[42]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[41]);_0xa046xe(_0xa046x1a)})}else {logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[59]);_0xa046x10= setTimeout(function(){_0xa046x13+= _0xa046x12[_0xfa42[32]];_0xa046x17()},_0xa046x18* 1000)}}else {return Session[_0xfa42[66]]({leaveAt:moment()[_0xfa42[40]](_0xfa42[56]),timeout:true},{where:{uniqueid:_0xa046xb[_0xfa42[21]],leaveAt:null},individualHooks:true})[_0xfa42[44]](function(_0xa046x21){if(_0xa046x21&& _0xa046x21[_0xfa42[33]]&& _0xa046x21[1][_0xfa42[33]]){for(var _0xa046x1e=0;_0xa046x1e< _0xa046x21[1][_0xfa42[33]];_0xa046x1e++){var _0xa046x22=_0xa046x21[1][_0xa046x1e][_0xfa42[50]]({plain:true});_0xa046xd[_0xfa42[49]](_0xfa42[63])[_0xfa42[46]](_0xfa42[62],_0xa046x22);_0xa046xd[_0xfa42[49]](_0xfa42[64])[_0xfa42[46]](_0xfa42[62],_0xa046x22)}};logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[65]);clearTimeout(_0xa046x10);_0xa046xe()})[_0xfa42[43]](function(_0xa046x1a){logger[_0xfa42[42]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[41]);logger[_0xfa42[42]](_0xa046x1a[_0xfa42[61]]);_0xa046xe(_0xa046x1a)})}}function _0xa046x23(){var _0xa046x18=((_0xa046xa[_0xfa42[32]]- _0xa046x13)> _0xa046x12[_0xfa42[32]])?_0xa046x12[_0xfa42[32]]:(_0xa046xa[_0xfa42[32]]- _0xa046x13);if(_0xa046x18> 0){Queue[_0xfa42[74]](_0xa046xa.OpenchannelQueueId,{attributes:[_0xfa42[26],_0xfa42[17],_0xfa42[32],_0xfa42[19],_0xfa42[73]],include:[{model:Agent,where:{online:true,openchannelPause:false},attributes:[_0xfa42[26],_0xfa42[17],_0xfa42[35],_0xfa42[36],_0xfa42[37]],raw:true}]})[_0xfa42[44]](function(_0xa046x25){if(_0xa046x25){var _0xa046x1c=_[_0xfa42[69]](_[_0xfa42[68]](_0xa046x25.Users,_0xfa42[67]));if(_0xa046x1c&& _0xa046x1c[_0xfa42[33]]){var _0xa046x26;for(var _0xa046x1e=0;_0xa046x1e< _0xa046x1c[_0xfa42[33]];_0xa046x1e++){_[_0xfa42[70]](_0xa046x1c[_0xa046x1e],function(_0xa046x15){return _0xa046x14(_0xa046x15)});if(_0xa046x1c[_0xa046x1e][_0xfa42[33]]){_0xa046x26= _0xa046x1c[_0xa046x1e];break}};if(_0xa046x26&& _0xa046x26[_0xfa42[33]]){var _0xa046x27=_[_0xfa42[34]](_0xa046x26,function(_0xa046x15){return _[_0xfa42[71]](_[_0xfa42[57]](_0xa046xb,{timeslot:_0xa046x18,application:_0xfa42[55],membername:_0xa046x15[_0xfa42[17]],memberid:_0xa046x15[_0xfa42[26]],queue:_0xa046x12[_0xfa42[26]],queuename:_0xa046x12[_0xfa42[17]],calledAt:moment()[_0xfa42[40]](_0xfa42[56])}))});return Report[_0xfa42[72]](_0xa046x27,{individualHooks:true})}else {logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[59])}}else {logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[59])}}else {logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[59])}})[_0xfa42[44]](function(_0xa046x24){if(_0xa046x24&& _0xa046x24[_0xfa42[33]]){for(var _0xa046x1e=0;_0xa046x1e< _0xa046x24[_0xfa42[33]];_0xa046x1e++){var _0xa046x1b=_0xa046x24[_0xa046x1e][_0xfa42[50]]({plain:true});_0xa046xd[_0xfa42[49]](util[_0xfa42[40]](_0xfa42[47],_0xa046x1b[_0xfa42[48]]))[_0xfa42[46]](_0xfa42[45],_0xa046x1b)}};_0xa046x10= setTimeout(function(){_0xa046x13+= _0xa046x12[_0xfa42[32]];_0xa046x23()},_0xa046x18* 1000)})[_0xfa42[43]](function(_0xa046x1a){logger[_0xfa42[42]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[41]);logger[_0xfa42[42]](_0xa046x1a[_0xfa42[61]]);_0xa046xe(_0xa046x1a)})}else {return Session[_0xfa42[66]]({leaveAt:moment()[_0xfa42[40]](_0xfa42[56]),timeout:true},{where:{uniqueid:_0xa046xb[_0xfa42[21]],leaveAt:null},individualHooks:true})[_0xfa42[44]](function(_0xa046x21){if(_0xa046x21&& _0xa046x21[_0xfa42[33]]&& _0xa046x21[1][_0xfa42[33]]){for(var _0xa046x1e=0;_0xa046x1e< _0xa046x21[1][_0xfa42[33]];_0xa046x1e++){var _0xa046x22=_0xa046x21[1][_0xa046x1e][_0xfa42[50]]({plain:true});_0xa046xd[_0xfa42[49]](_0xfa42[63])[_0xfa42[46]](_0xfa42[62],_0xa046x22);_0xa046xd[_0xfa42[49]](_0xfa42[64])[_0xfa42[46]](_0xfa42[62],_0xa046x22)}};logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[65]);clearTimeout(_0xa046x10);_0xa046xe()})[_0xfa42[43]](function(_0xa046x1a){logger[_0xfa42[42]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[41]);logger[_0xfa42[42]](_0xa046x1a[_0xfa42[61]]);_0xa046xe(_0xa046x1a)})}}return Queue[_0xfa42[74]](_0xa046xa.OpenchannelQueueId,{attributes:[_0xfa42[26],_0xfa42[17],_0xfa42[32],_0xfa42[19],_0xfa42[73]],include:[{model:Agent,attributes:[_0xfa42[26]],raw:true}]})[_0xfa42[44]](function(_0xa046x25){_0xa046x12= _0xa046x25[_0xfa42[50]]({plain:true});logger[_0xfa42[25]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[83],_0xa046xa[_0xfa42[32]],_0xfa42[84]);return Session[_0xfa42[58]](_[_0xfa42[57]](_0xa046xb,{timeslot:_0xa046xa[_0xfa42[32]],application:_0xfa42[55],queue:_0xa046x25[_0xfa42[26]],queuename:_0xa046x25[_0xfa42[17]],calledAt:moment()[_0xfa42[40]](_0xfa42[56]),joinAt:moment()[_0xfa42[40]](_0xfa42[56]),membername:null,memberid:null}))})[_0xfa42[44]](function(_0xa046x22){_0xa046xd[_0xfa42[49]](_0xfa42[63])[_0xfa42[46]](_0xfa42[62],_0xa046x22);_0xa046xd[_0xfa42[49]](_0xfa42[64])[_0xfa42[46]](_0xfa42[62],_0xa046x22);return Room[_0xfa42[74]](_0xa046xb[_0xfa42[82]])})[_0xfa42[44]](function(_0xa046x28){if(_0xa046x28){return _0xa046x28[_0xfa42[66]]({waiting:true})}})[_0xfa42[44]](function(_0xa046x28){if(_0xa046x28){_0xa046xd[_0xfa42[46]](_0xfa42[81],_0xa046x28[_0xfa42[50]]({plain:true}))}})[_0xfa42[44]](function(_0xa046x28){switch(_0xa046x12[_0xfa42[19]]){case _0xfa42[75]:_0xa046x23();break;case _0xfa42[79]:_0xa046x11= _[_0xfa42[78]](_0xa046x12.Users,[function(_0xa046x29){return _0xa046x29[_0xfa42[77]][_0xfa42[76]]|| 0}]);_0xa046x17();break;case _0xfa42[80]:_0xa046x11= _[_0xfa42[78]](_0xa046x12.Users,[function(_0xa046x29){return _0xa046x29[_0xfa42[77]][_0xfa42[76]]|| 0}]);_0xa046x17();break;default:}})[_0xfa42[43]](function(_0xa046x1a){logger[_0xfa42[42]](_0xa046xb[_0xfa42[15]][_0xfa42[14]](),_0xfa42[16],_0xa046x12[_0xfa42[17]][_0xfa42[14]](),_0xfa42[18],_0xa046x12[_0xfa42[19]],_0xfa42[20],_0xa046xb[_0xfa42[21]],_0xfa42[41]);logger[_0xfa42[42]](_0xa046x1a[_0xfa42[61]]);_0xa046xe(_0xa046x1a)})}
\ No newline at end of file