1 var _0x3ad3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x64\x6D\x69\x6E","\x6E\x61\x6D\x65","\x6A\x6F\x69\x6E","\x65\x6D\x69\x74","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x3A\x73\x61\x76\x65","\x45\x72\x72\x6F\x72\x20\x66\x69\x6C\x74\x65\x72\x69\x6E\x67\x20\x71\x75\x65\x75\x65\x73\x20\x61\x66\x74\x65\x72\x20\x71\x75\x65\x75\x65\x20\x73\x61\x76\x65","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x69\x6E\x63\x6C\x75\x64\x65\x73","\x74\x68\x65\x6E","\x72\x65\x73\x6F\x6C\x76\x65","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x3A\x75\x70\x64\x61\x74\x65","\x6C\x65\x61\x76\x65","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x5F\x71\x75\x65\x75\x65\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x72\x6F\x77\x73","\x6D\x61\x70","\x67\x65\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x75\x73\x65\x72\x49\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x41\x6C\x6C"];_0x3ad3[0];var OpenchannelQueueEvents=require(_0x3ad3[1]);var OpenchannelQueue=require(_0x3ad3[3])[_0x3ad3[2]];var User=require(_0x3ad3[3])[_0x3ad3[4]];var Util=require(_0x3ad3[5]);var _=require(_0x3ad3[6]);var Promise=require(_0x3ad3[7]);var events=[_0x3ad3[8],_0x3ad3[9]];exports[_0x3ad3[10]]= function(_0x89dax8){for(var _0x89dax9=0,_0x89daxa=events[_0x3ad3[11]];_0x89dax9< _0x89daxa;_0x89dax9++){var _0x89daxb=events[_0x89dax9];var _0x89daxc=createListener(_0x3ad3[12]+ _0x89daxb,_0x89dax8);OpenchannelQueueEvents[_0x3ad3[13]](_0x89daxb,_0x89daxc);_0x89dax8[_0x3ad3[13]](_0x3ad3[14],removeListener(_0x89daxb,_0x89daxc))}};function createListener(_0x89daxb,_0x89dax8){return function(_0x89daxe){switch(_0x89daxb){case _0x3ad3[20]:if(_0x89dax8[_0x3ad3[15]]=== _0x3ad3[16]){_0x89dax8[_0x3ad3[18]](_0x89daxe[_0x3ad3[17]]);_0x89dax8[_0x3ad3[19]](_0x89daxb,_0x89daxe)};break;case _0x3ad3[27]:return Promise[_0x3ad3[26]]()[_0x3ad3[25]](getOpenchannelQueues(_0x89dax8))[_0x3ad3[25]](function(_0x89dax10){if(_[_0x3ad3[24]](_0x89dax10,_0x89daxe[_0x3ad3[17]])){_0x89dax8[_0x3ad3[19]](_0x89daxb,_0x89daxe)}})[_0x3ad3[23]](function(_0x89daxf){console[_0x3ad3[22]](_0x3ad3[21],_0x89daxf)});break;case _0x3ad3[29]:_0x89dax8[_0x3ad3[28]](_0x89daxe[_0x3ad3[17]]);_0x89dax8[_0x3ad3[19]](_0x89daxb,_0x89daxe);break;default:}}}function removeListener(_0x89daxb,_0x89daxc){return function(){OpenchannelQueueEvents[_0x3ad3[30]](_0x89daxb,_0x89daxc)}}function getOpenchannelQueues(_0x89dax13){return function(){switch(_0x89dax13[_0x3ad3[15]]){case _0x3ad3[37]:return User[_0x3ad3[36]](_0x89dax13[_0x3ad3[34]],{attributes:[_0x3ad3[35]]})[_0x3ad3[25]](Util[_0x3ad3[33]]())[_0x3ad3[25]](function(_0x89dax10){return _[_0x3ad3[32]](_0x89dax10[_0x3ad3[31]],_0x3ad3[17])});case _0x3ad3[16]:return OpenchannelQueue[_0x3ad3[38]]()[_0x3ad3[25]](function(_0x89dax14){return {rows:_0x89dax14}})[_0x3ad3[25]](function(_0x89dax10){return _[_0x3ad3[32]](_0x89dax10[_0x3ad3[31]],_0x3ad3[17])});default:return []}}}