1 var _0xe456=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x6F\x6D\x65\x6E\x74","\x75\x74\x69\x6C","\x62\x6C\x75\x65\x62\x69\x72\x64","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x63\x74\x69\x6F\x6E","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x52\x65\x70\x6F\x72\x74\x4D\x65\x6D\x62\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x46\x61\x78\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x53\x6D\x73\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x51\x75\x65\x75\x65","\x41\x63\x74\x69\x6F\x6E\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x76\x6F\x69\x63\x65","\x63\x68\x61\x74","\x6D\x61\x69\x6C","\x66\x61\x78","\x73\x6D\x73","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x61\x6C\x6C","\x74\x68\x65\x6E","\x63\x68\x61\x6E\x6E\x65\x6C","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65","\x74\x79\x70\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x62\x65\x66\x6F\x72\x65\x43\x72\x65\x61\x74\x65","\x6E\x61\x6D\x65","\x25\x73\x2F\x25\x73","\x53\x49\x50","\x50\x41\x55\x53\x45","\x62\x6F\x64\x79","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x51\x75\x65\x75\x65\x50\x61\x75\x73\x65","\x61\x63\x74\x69\x6F\x6E","\x70\x72\x6F\x6D\x69\x73\x69\x66\x79","\x6C\x6F\x67\x69\x6E\x49\x6E\x50\x61\x75\x73\x65","\x6F\x6E\x6C\x69\x6E\x65","\x44\x45\x46\x41\x55\x4C\x54\x20\x50\x41\x55\x53\x45","\x41\x6C\x72\x65\x61\x64\x79\x20\x50\x61\x75\x73\x65\x20\x4F\x66\x66","\x66\x69\x6E\x64\x4F\x6E\x65","\x25\x73\x25\x73","\x50\x61\x75\x73\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x4C\x4F\x47\x49\x4E","\x51\x75\x65\x75\x65\x41\x64\x64","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x51\x75\x65\x75\x65\x52\x65\x6D\x6F\x76\x65","\x69\x64","\x53\x49\x50\x2F\x25\x73","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x71\x75\x65\x75\x65\x73","\x71\x75\x65\x75\x65\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E\x20\x72\x65\x6D\x6F\x76\x65\x20\x65\x72\x72\x6F\x72\x20\x3A","\x71\x75\x65\x75\x65","\x64\x65\x73\x74\x72\x6F\x79","\x71\x75\x65\x75\x65\x49\x64","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x67\x65\x6E\x74","\x61\x67\x65\x6E\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x70\x61\x75\x73\x65","\x75\x6E\x70\x61\x75\x73\x65","\x6C\x6F\x67\x69\x6E","\x6C\x6F\x67\x6F\x75\x74","\x55\x6E\x6B\x6E\x6F\x77\x6E\x20\x41\x63\x74\x69\x6F\x6E","\x65\x78\x70\x6F\x72\x74\x73"];_0xe456[0];var moment=require(_0xe456[1]);var util=require(_0xe456[2]);var Promise=require(_0xe456[3]);var Agent=require(_0xe456[5])[_0xe456[4]];var _Action=require(_0xe456[5])[_0xe456[6]];var Sequelize=require(_0xe456[5])[_0xe456[7]];var VoiceQueue=require(_0xe456[5])[_0xe456[8]];var ReportMember=require(_0xe456[5])[_0xe456[9]];var UserHasVoiceQueue=require(_0xe456[5])[_0xe456[10]];var UserHasChatQueue=require(_0xe456[5])[_0xe456[11]];var UserHasMailQueue=require(_0xe456[5])[_0xe456[12]];var UserHasFaxQueue=require(_0xe456[5])[_0xe456[13]];var UserHasSmsQueue=require(_0xe456[5])[_0xe456[14]];var UserHasOpenchannelQueue=require(_0xe456[5])[_0xe456[15]];function Action(_0x5ad2x10){console[_0xe456[17]](_0xe456[16]);var _0x5ad2x11=[_0xe456[18],_0xe456[19],_0xe456[20],_0xe456[21],_0xe456[22],_0xe456[23]];_Action[_0xe456[24]](function(_0x5ad2x12,_0x5ad2x13){return _0x5ad2x32(_0x5ad2x12,_0x5ad2x13,_0x5ad2x10)});ReportMember[_0xe456[37]](function(_0x5ad2x12,_0x5ad2x13){return ReportMember[_0xe456[36]]({where:{channel:_0x5ad2x12[_0xe456[32]],membername:_0x5ad2x12[_0xe456[33]],interface:_0x5ad2x12[_0xe456[34]],type:_0x5ad2x12[_0xe456[35]],exitAt:null}})[_0xe456[31]](function(_0x5ad2x14){var _0x5ad2x15=[];_0x5ad2x14[_0xe456[29]](function(_0x5ad2x16){_0x5ad2x15[_0xe456[28]](_0x5ad2x16[_0xe456[27]]({exitAt:moment()[_0xe456[26]](_0xe456[25])}))});return Promise[_0xe456[30]](_0x5ad2x15)})});function _0x5ad2x17(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){return Promise[_0xe456[53]](_0x5ad2x10[_0xe456[52]])({action:_0xe456[51],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),paused:true,reason:_0x5ad2x13[_0xe456[42]][_0xe456[35]]|| _0x5ad2x18[_0xe456[43]]})[_0xe456[31]](function(_0x5ad2x1c){return _0x5ad2x19[_0xe456[27]]({voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,openchannelPause:true,pauseType:_0x5ad2x13[_0xe456[42]][_0xe456[35]]|| _0x5ad2x18[_0xe456[43]],lastPauseAt:moment()[_0xe456[26]](_0xe456[25])},{transaction:_0x5ad2x13[_0xe456[49]]|| null})})[_0xe456[31]](function(_0x5ad2x19){var _0x5ad2x1a=[];_0x5ad2x11[_0xe456[29]](function(_0x5ad2x1b){_0x5ad2x1a[_0xe456[28]]({channel:_0x5ad2x1b,membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[41],enterAt:moment()[_0xe456[26]](_0xe456[25]),data1:_0x5ad2x13[_0xe456[42]][_0xe456[35]]|| _0x5ad2x18[_0xe456[43]],data2:_0x5ad2x18[_0xe456[44]],data3:_0x5ad2x18[_0xe456[45]],data4:_0x5ad2x18[_0xe456[46]],role:_0x5ad2x19[_0xe456[47]],internal:_0x5ad2x19[_0xe456[48]]})});return ReportMember[_0xe456[50]](_0x5ad2x1a,{individualHooks:true,transaction:_0x5ad2x13[_0xe456[49]]|| null})})}}function _0x5ad2x1d(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){if(_0x5ad2x19[_0xe456[54]]&& !_0x5ad2x19[_0xe456[55]]){return Promise[_0xe456[53]](_0x5ad2x10[_0xe456[52]])({action:_0xe456[51],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),paused:true,reason:_0xe456[56]})[_0xe456[31]](function(_0x5ad2x1c){return _0x5ad2x19[_0xe456[27]]({voicePause:true,chatPause:true,mailPause:true,faxPause:true,smsPause:true,openchannelPause:true,pauseType:_0xe456[56],lastPauseAt:moment()[_0xe456[26]](_0xe456[25])},{transaction:_0x5ad2x13[_0xe456[49]]|| null})})[_0xe456[31]](function(_0x5ad2x19){var _0x5ad2x1a=[];_0x5ad2x11[_0xe456[29]](function(_0x5ad2x1b){_0x5ad2x1a[_0xe456[28]]({channel:_0x5ad2x1b,membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[41],enterAt:moment()[_0xe456[26]](_0xe456[25]),data1:_0xe456[56],data2:_0x5ad2x18[_0xe456[44]],data3:_0x5ad2x18[_0xe456[45]],data4:_0xe456[56],role:_0x5ad2x19[_0xe456[47]],internal:_0x5ad2x19[_0xe456[48]]})});return ReportMember[_0xe456[50]](_0x5ad2x1a,{individualHooks:true,transaction:_0x5ad2x13[_0xe456[49]]|| null})})}}}function _0x5ad2x1e(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){if(!_0x5ad2x13[_0xe456[42]]){_0x5ad2x13[_0xe456[42]]= {}};switch(_0x5ad2x13[_0xe456[42]][_0xe456[32]]){case _0xe456[18]:return Promise[_0xe456[53]](_0x5ad2x10[_0xe456[52]])({action:_0xe456[51],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),paused:false,reason:_0x5ad2x13[_0xe456[42]][_0xe456[35]]})[_0xe456[31]](function(){return _0x5ad2x19[_0xe456[27]]({voicePause:false},{transaction:_0x5ad2x13[_0xe456[49]]|| null})})[_0xe456[31]](function(_0x5ad2x19){return ReportMember[_0xe456[58]]({where:{channel:_0x5ad2x13[_0xe456[42]][_0xe456[32]],membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[41],exitAt:null}})})[_0xe456[31]](_0x5ad2x2f({message:_0xe456[57]}))[_0xe456[31]](function(_0x5ad2x1f){return _0x5ad2x1f[_0xe456[27]]({exitAt:moment()[_0xe456[26]](_0xe456[25])},{individualHooks:true,transaction:_0x5ad2x13[_0xe456[49]]|| null})})[_0xe456[31]](function(){return _0x5ad2x19});case _0xe456[19]:;case _0xe456[20]:;case _0xe456[21]:;case _0xe456[22]:;case _0xe456[23]:var _0x5ad2x20={};_0x5ad2x20[util[_0xe456[26]](_0xe456[59],_0x5ad2x13[_0xe456[42]][_0xe456[32]],_0xe456[60])]= false;return _0x5ad2x19[_0xe456[27]](_0x5ad2x20,{transaction:_0x5ad2x13[_0xe456[49]]|| null})[_0xe456[31]](function(_0x5ad2x19){return ReportMember[_0xe456[58]]({where:{channel:_0x5ad2x13[_0xe456[42]][_0xe456[32]],membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[41],exitAt:null}})})[_0xe456[31]](_0x5ad2x2f({message:_0xe456[57]}))[_0xe456[31]](function(_0x5ad2x1f){return _0x5ad2x1f[_0xe456[27]]({exitAt:moment()[_0xe456[26]](_0xe456[25])},{individualHooks:true,transaction:_0x5ad2x13[_0xe456[49]]|| null})})[_0xe456[31]](function(){return _0x5ad2x19});default:var _0x5ad2x18=Promise[_0xe456[53]](_0x5ad2x10[_0xe456[52]]);return _0x5ad2x18({action:_0xe456[51],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),paused:false})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0x5ad2x24)})[_0xe456[31]](function(){return _0x5ad2x19[_0xe456[27]]({voicePause:false,mailPause:false,chatPause:false,faxPause:false,smsPause:false,openchannelPause:false},{transaction:_0x5ad2x13[_0xe456[49]]|| null})})[_0xe456[31]](function(_0x5ad2x19){return ReportMember[_0xe456[36]]({where:{membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[41],exitAt:null}})})[_0xe456[31]](function(_0x5ad2x21){var _0x5ad2x22=[];_0x5ad2x21[_0xe456[29]](function(_0x5ad2x23){_0x5ad2x22[_0xe456[28]](_0x5ad2x23[_0xe456[27]]({exitAt:moment()[_0xe456[26]](_0xe456[25])}))});return Promise[_0xe456[30]](_0x5ad2x22)})[_0xe456[31]](function(){return _0x5ad2x19})}}}function _0x5ad2x25(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){if(!_0x5ad2x19[_0xe456[55]]){return _0x5ad2x19[_0xe456[65]]()[_0xe456[31]](function(_0x5ad2x26){var _0x5ad2x27=[];_0x5ad2x26[_0xe456[29]](function(_0x5ad2x28){_0x5ad2x27[_0xe456[28]](_0x5ad2x10[_0xe456[52]]({action:_0xe456[64],queue:_0x5ad2x28[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),membername:_0x5ad2x19[_0xe456[38]]}))});return Promise[_0xe456[30]](_0x5ad2x27)})[_0xe456[31]](function(_0x5ad2x1c){var _0x5ad2x1a=[];_0x5ad2x11[_0xe456[29]](function(_0x5ad2x1b){_0x5ad2x1a[_0xe456[28]]({channel:_0x5ad2x1b,membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[63],enterAt:moment()[_0xe456[26]](_0xe456[25]),role:_0x5ad2x19[_0xe456[47]],internal:_0x5ad2x19[_0xe456[48]]})});return ReportMember[_0xe456[50]](_0x5ad2x1a,{individualHooks:true})})}}}function _0x5ad2x29(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){return VoiceQueue[_0xe456[36]]()[_0xe456[31]](function(_0x5ad2x26){var _0x5ad2x27=[];_0x5ad2x26[_0xe456[29]](function(_0x5ad2x28){_0x5ad2x27[_0xe456[28]](_0x5ad2x10[_0xe456[52]]({action:_0xe456[66],queue:_0x5ad2x28[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]])}))});return Promise[_0xe456[30]](_0x5ad2x27)[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0x5ad2x24)})})[_0xe456[31]](function(_0x5ad2x1c){return ReportMember[_0xe456[36]]({where:{membername:_0x5ad2x19[_0xe456[38]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),type:_0xe456[63],exitAt:null}})})[_0xe456[31]](function(_0x5ad2x21){var _0x5ad2x22=[];_0x5ad2x21[_0xe456[29]](function(_0x5ad2x23){_0x5ad2x22[_0xe456[28]](_0x5ad2x23[_0xe456[27]]({exitAt:moment()[_0xe456[26]](_0xe456[25])}))});return Promise[_0xe456[30]](_0x5ad2x22)})}}function _0x5ad2x2a(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){var _0x5ad2x2b=[];switch(_0x5ad2x13[_0xe456[42]][_0xe456[32]]){case _0xe456[18]:_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x2b[_0xe456[28]](UserHasVoiceQueue[_0xe456[69]]({where:{UserId:_0x5ad2x19[_0xe456[67]],queue:_0x5ad2x2c},defaults:{queue:_0x5ad2x2c,location:util[_0xe456[26]](_0xe456[68],_0x5ad2x19[_0xe456[38]]),membername:_0x5ad2x19[_0xe456[38]],UserId:_0x5ad2x19[_0xe456[67]]},transaction:_0x5ad2x13[_0xe456[49]]|| null}))});return Promise[_0xe456[30]](_0x5ad2x2b)[_0xe456[31]](function(){var _0x5ad2x27=[];_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x27[_0xe456[28]](_0x5ad2x10[_0xe456[52]]({action:_0xe456[64],queue:_0x5ad2x2c,interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]]),membername:_0x5ad2x19[_0xe456[38]]}))});return Promise[_0xe456[30]](_0x5ad2x27)})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0x5ad2x24)});case _0xe456[19]:_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x2b[_0xe456[28]](UserHasChatQueue[_0xe456[69]]({where:{UserId:_0x5ad2x19[_0xe456[67]],ChatQueueId:_0x5ad2x2c[_0xe456[67]]},defaults:{ChatQueueId:_0x5ad2x2c[_0xe456[67]],queue:_0x5ad2x2c[_0xe456[38]],UserId:_0x5ad2x19[_0xe456[67]]},transaction:_0x5ad2x13[_0xe456[49]]|| null}))});return Promise[_0xe456[30]](_0x5ad2x2b)[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[17]](_0x5ad2x24)});case _0xe456[20]:_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x2b[_0xe456[28]](UserHasMailQueue[_0xe456[69]]({where:{UserId:_0x5ad2x19[_0xe456[67]],MailQueueId:_0x5ad2x2c[_0xe456[67]]},defaults:{MailQueueId:_0x5ad2x2c[_0xe456[67]],queue:_0x5ad2x2c[_0xe456[38]],UserId:_0x5ad2x19[_0xe456[67]]},transaction:_0x5ad2x13[_0xe456[49]]|| null}))});return Promise[_0xe456[30]](_0x5ad2x2b)[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[17]](_0x5ad2x24)});case _0xe456[22]:_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x2b[_0xe456[28]](UserHasSmsQueue[_0xe456[69]]({where:{UserId:_0x5ad2x19[_0xe456[67]],SmsQueueId:_0x5ad2x2c[_0xe456[67]]},defaults:{SmsQueueId:_0x5ad2x2c[_0xe456[67]],queue:_0x5ad2x2c[_0xe456[38]],UserId:_0x5ad2x19[_0xe456[67]]},transaction:_0x5ad2x13[_0xe456[49]]|| null}))});return Promise[_0xe456[30]](_0x5ad2x2b)[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[17]](_0x5ad2x24)});case _0xe456[23]:_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x2b[_0xe456[28]](UserHasOpenchannelQueue[_0xe456[69]]({where:{UserId:_0x5ad2x19[_0xe456[67]],OpenchannelQueueId:_0x5ad2x2c[_0xe456[67]]},defaults:{OpenchannelQueueId:_0x5ad2x2c[_0xe456[67]],queue:_0x5ad2x2c[_0xe456[38]],UserId:_0x5ad2x19[_0xe456[67]]},transaction:_0x5ad2x13[_0xe456[49]]|| null}))});return Promise[_0xe456[30]](_0x5ad2x2b)[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[17]](_0x5ad2x24)});case _0xe456[21]:_0x5ad2x13[_0xe456[42]][_0xe456[70]][_0xe456[29]](function(_0x5ad2x2c){_0x5ad2x2b[_0xe456[28]](UserHasFaxQueue[_0xe456[69]]({where:{UserId:_0x5ad2x19[_0xe456[67]],FaxQueueId:_0x5ad2x2c[_0xe456[67]]},defaults:{faxQueueId:_0x5ad2x2c[_0xe456[67]],queue:_0x5ad2x2c[_0xe456[38]],UserId:_0x5ad2x19[_0xe456[67]]},transaction:_0x5ad2x13[_0xe456[49]]|| null}))});return Promise[_0xe456[30]](_0x5ad2x2b)[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[17]](_0x5ad2x24)});default:}}}function _0x5ad2x2d(_0x5ad2x13,_0x5ad2x18){return function(_0x5ad2x19){switch(_0x5ad2x13[_0xe456[42]][_0xe456[32]]){case _0xe456[18]:return UserHasVoiceQueue[_0xe456[73]]({where:{UserId:_0x5ad2x19[_0xe456[67]],queue:_0x5ad2x13[_0xe456[42]][_0xe456[72]]},transaction:_0x5ad2x13[_0xe456[49]]|| null,individualHooks:true})[_0xe456[31]](function(){var _0x5ad2x2e=Promise[_0xe456[53]](_0x5ad2x10[_0xe456[52]]);return _0x5ad2x2e({action:_0xe456[66],queue:_0x5ad2x13[_0xe456[42]][_0xe456[72]],interface:util[_0xe456[26]](_0xe456[39],_0xe456[40],_0x5ad2x19[_0xe456[38]])})})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0xe456[71],_0x5ad2x24)});case _0xe456[19]:return UserHasChatQueue[_0xe456[73]]({where:{UserId:_0x5ad2x19[_0xe456[67]],ChatQueueId:_0x5ad2x13[_0xe456[42]][_0xe456[74]]},transaction:_0x5ad2x13[_0xe456[49]]|| null,individualHooks:true})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0xe456[71],_0x5ad2x24)});case _0xe456[20]:return UserHasMailQueue[_0xe456[73]]({where:{UserId:_0x5ad2x19[_0xe456[67]],MailQueueId:_0x5ad2x13[_0xe456[42]][_0xe456[74]]},transaction:_0x5ad2x13[_0xe456[49]]|| null,individualHooks:true})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0xe456[71],_0x5ad2x24)});case _0xe456[22]:return UserHasSmsQueue[_0xe456[73]]({where:{UserId:_0x5ad2x19[_0xe456[67]],SmsQueueId:_0x5ad2x13[_0xe456[42]][_0xe456[74]]},transaction:_0x5ad2x13[_0xe456[49]]|| null,individualHooks:true})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0xe456[71],_0x5ad2x24)});case _0xe456[23]:return UserHasOpenchannelQueue[_0xe456[73]]({where:{UserId:_0x5ad2x19[_0xe456[67]],OpenchannelQueueId:_0x5ad2x13[_0xe456[42]][_0xe456[74]]},transaction:_0x5ad2x13[_0xe456[49]]|| null,individualHooks:true})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0xe456[71],_0x5ad2x24)});case _0xe456[21]:return UserHasFaxQueue[_0xe456[73]]({where:{UserId:_0x5ad2x19[_0xe456[67]],FaxQueueId:_0x5ad2x13[_0xe456[42]][_0xe456[74]]},transaction:_0x5ad2x13[_0xe456[49]]|| null,individualHooks:true})[_0xe456[62]](function(_0x5ad2x24){console[_0xe456[61]](_0xe456[71],_0x5ad2x24)});default:}}}function _0x5ad2x2f(_0x5ad2x30){return function(_0x5ad2x31){if(!_0x5ad2x31){throw _0x5ad2x30};return _0x5ad2x31}}function _0x5ad2x32(_0x5ad2x18,_0x5ad2x13,_0x5ad2x10){switch(_0x5ad2x18[_0xe456[38]]){case _0xe456[78]:return Agent[_0xe456[77]](_0x5ad2x13[_0xe456[42]][_0xe456[76]])[_0xe456[31]](_0x5ad2x2f({message:_0xe456[75]}))[_0xe456[31]](_0x5ad2x17(_0x5ad2x13,_0x5ad2x18));case _0xe456[79]:return Agent[_0xe456[77]](_0x5ad2x13[_0xe456[42]][_0xe456[76]])[_0xe456[31]](_0x5ad2x2f({message:_0xe456[75]}))[_0xe456[31]](_0x5ad2x1e(_0x5ad2x13,_0x5ad2x18));case _0xe456[80]:return Agent[_0xe456[77]](_0x5ad2x18[_0xe456[43]])[_0xe456[31]](_0x5ad2x2f({message:_0xe456[75]}))[_0xe456[31]](_0x5ad2x25(_0x5ad2x13,_0x5ad2x18))[_0xe456[31]](function(){return Agent[_0xe456[77]](_0x5ad2x18[_0xe456[43]])})[_0xe456[31]](_0x5ad2x1d(_0x5ad2x13,_0x5ad2x18));case _0xe456[81]:return Agent[_0xe456[77]](_0x5ad2x18[_0xe456[43]])[_0xe456[31]](_0x5ad2x2f({message:_0xe456[75]}))[_0xe456[31]](_0x5ad2x1e(_0x5ad2x13,_0x5ad2x18))[_0xe456[31]](_0x5ad2x29(_0x5ad2x13,_0x5ad2x18));case _0xe456[64]:return Agent[_0xe456[77]](_0x5ad2x13[_0xe456[42]][_0xe456[76]])[_0xe456[31]](_0x5ad2x2f({message:_0xe456[75]}))[_0xe456[31]](_0x5ad2x2a(_0x5ad2x13,_0x5ad2x18));case _0xe456[66]:return Agent[_0xe456[77]](_0x5ad2x13[_0xe456[42]][_0xe456[76]])[_0xe456[31]](_0x5ad2x2f({message:_0xe456[75]}))[_0xe456[31]](_0x5ad2x2d(_0x5ad2x13,_0x5ad2x18));default:throw {message:_0xe456[82]}}}return {}}module[_0xe456[83]]= Action