Built motion from commit d3d6ca497.|1.0.32
[motion.git] / server / api / voice_queue / voice_queue.controller.js
index 2f0c65f..d3d9da2 100644 (file)
@@ -1 +1 @@
-var _0xaa41=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xaa41[0];var _=require(_0xaa41[1]);var util=require(_0xaa41[2]);var Util=require(_0xaa41[3]);var sequelize=require(_0xaa41[5])[_0xaa41[4]];var User=require(_0xaa41[5])[_0xaa41[6]];var VoiceQueue=require(_0xaa41[5])[_0xaa41[7]];var UserHasVoiceQueue=require(_0xaa41[5])[_0xaa41[8]];var VoiceExtension=require(_0xaa41[5])[_0xaa41[9]];exports[_0xaa41[10]]= function(_0x282fx9,_0x282fxa){switch(_0x282fx9[_0xaa41[18]][_0xaa41[22]]){case _0xaa41[18]:return User[_0xaa41[19]](_0x282fx9[_0xaa41[18]][_0xaa41[17]],{attributes:[_0xaa41[17]]})[_0xaa41[14]](Util[_0xaa41[16]](_0x282fx9[_0xaa41[15]]))[_0xaa41[14]](function(_0x282fxc){_0x282fxa[_0xaa41[13]](200)[_0xaa41[12]](_0x282fxc)})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)});default:return VoiceQueue[_0xaa41[21]](Util[_0xaa41[20]](_0x282fx9[_0xaa41[15]]))[_0xaa41[14]](function(_0x282fxc){_0x282fxa[_0xaa41[13]](200)[_0xaa41[12]](_0x282fxc)})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)})}};exports[_0xaa41[23]]= function(_0x282fx9,_0x282fxa){return VoiceQueue[_0xaa41[19]](_0x282fx9[_0xaa41[26]][_0xaa41[25]])[_0xaa41[14]](function(_0x282fxd){if(!_0x282fxd){return _0x282fxa[_0xaa41[24]](404)};return _0x282fxa[_0xaa41[12]](_0x282fxd)})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)})};exports[_0xaa41[27]]= function(_0x282fx9,_0x282fxa){return VoiceQueue[_0xaa41[19]](_0x282fx9[_0xaa41[26]][_0xaa41[25]])[_0xaa41[14]](function(_0x282fxf){if(!_0x282fxf){return _0x282fxa[_0xaa41[24]](404)};return _0x282fxf[_0xaa41[32]]({where:{role:_0xaa41[29]},attributes:[_0xaa41[17],_0xaa41[25],_0xaa41[30],_0xaa41[31]]})})[_0xaa41[14]](function(_0x282fxe){return _0x282fxa[_0xaa41[13]](200)[_0xaa41[12]]({rows:_0x282fxe,count:_0x282fxe[_0xaa41[28]]})})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)})};exports[_0xaa41[33]]= function(_0x282fx9,_0x282fxa){return VoiceQueue[_0xaa41[33]](_0x282fx9[_0xaa41[44]])[_0xaa41[14]](function(_0x282fxd){return _0x282fxa[_0xaa41[13]](201)[_0xaa41[12]](_0x282fxd)})[_0xaa41[11]](sequelize.UniqueConstraintError,function(_0x282fxb){var _0x282fx10=[];_0x282fxb[_0xaa41[38]][_0xaa41[37]](function(_0x282fx11){switch(_0x282fx11[_0xaa41[36]]){case _0xaa41[35]:_0x282fx10[_0xaa41[34]](_0xaa41[25]);break;default:_0x282fx10[_0xaa41[34]](_0x282fx11[_0xaa41[36]])}});_0x282fx10[_0xaa41[34]](_0xaa41[39]);_0x282fxb[_0xaa41[40]]= _0x282fx10[_0xaa41[41]]();_0x282fxb[_0xaa41[42]]= _0xaa41[43];return _0x282fxa[_0xaa41[13]](500)[_0xaa41[12]](_0x282fxb)})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)})};exports[_0xaa41[45]]= function(_0x282fx9,_0x282fxa){if(_0x282fx9[_0xaa41[44]][_0xaa41[25]]){delete _0x282fx9[_0xaa41[44]][_0xaa41[25]]};return VoiceQueue[_0xaa41[19]](_0x282fx9[_0xaa41[26]][_0xaa41[25]])[_0xaa41[14]](function(_0x282fxd){if(!_0x282fxd){return _0x282fxa[_0xaa41[24]](404)};var _0x282fx12=_[_0xaa41[47]](_0x282fxd,_0x282fx9[_0xaa41[44]]);return _0x282fx12[_0xaa41[48]]()})[_0xaa41[14]](function(_0x282fxd){return _0x282fxa[_0xaa41[13]](200)[_0xaa41[12]](_0x282fxd)})[_0xaa41[11]](function(_0x282fxb){console[_0xaa41[46]](_0x282fxb);return handleError(_0x282fxa,_0x282fxb)})};exports[_0xaa41[49]]= function(_0x282fx9,_0x282fxa,_0x282fx13){return User[_0xaa41[56]]({where:{id:{$in:_0x282fx9[_0xaa41[44]][_0xaa41[55]]}}})[_0xaa41[14]](function(_0x282fx14){var _0x282fx15=_[_0xaa41[53]](_0x282fx14,function(_0x282fx16){return {queue:_0x282fx9[_0xaa41[26]][_0xaa41[25]],location:util[_0xaa41[51]](_0xaa41[50],_0x282fx16[_0xaa41[25]]),membername:_0x282fx16[_0xaa41[25]],UserId:_0x282fx16[_0xaa41[17]],penalty:_0x282fx9[_0xaa41[44]][_0xaa41[52]]}});return UserHasVoiceQueue[_0xaa41[54]](_0x282fx15,{individualHooks:true})})[_0xaa41[14]](function(){return _0x282fxa[_0xaa41[24]](200)})[_0xaa41[11]](function(_0x282fxb){console[_0xaa41[46]](_0x282fxb);return _0x282fx13(_0x282fxb)})};exports[_0xaa41[57]]= function(_0x282fx9,_0x282fxa,_0x282fx13){return UserHasVoiceQueue[_0xaa41[58]]({where:{UserId:_0x282fx9[_0xaa41[15]][_0xaa41[55]],queue:_0x282fx9[_0xaa41[26]][_0xaa41[25]]},individualHooks:true})[_0xaa41[14]](function(){return _0x282fxa[_0xaa41[24]](202)})[_0xaa41[11]](function(_0x282fxb){return _0x282fx13(_0x282fxb)})};exports[_0xaa41[58]]= function(_0x282fx9,_0x282fxa){return VoiceQueue[_0xaa41[58]]({where:{name:_0x282fx9[_0xaa41[26]][_0xaa41[25]]},individualHooks:true})[_0xaa41[14]](function(){return _0x282fxa[_0xaa41[24]](204)})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)})};exports[_0xaa41[59]]= function(_0x282fx9,_0x282fxa){return VoiceQueue[_0xaa41[58]]({where:{name:_0x282fx9[_0xaa41[15]][_0xaa41[60]]},individualHooks:true})[_0xaa41[14]](function(){return _0x282fxa[_0xaa41[24]](204)})[_0xaa41[11]](function(_0x282fxb){return handleError(_0x282fxa,_0x282fxb)})};function handleError(_0x282fxa,_0x282fxb){return _0x282fxa[_0xaa41[13]](500)[_0xaa41[12]](_0x282fxb)}
\ No newline at end of file
+var _0xf358=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x61\x70\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x72\x6F\x6C\x65","\x67\x65\x74\x52\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x51\x75\x65\x75\x65\x4D\x65\x6D\x62\x65\x72\x73","\x61\x6D\x69","\x6C\x6F\x63\x61\x6C\x73","\x61\x70\x70","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x70\x75\x73\x68","\x50\x52\x49\x4D\x41\x52\x59","\x70\x61\x74\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x45\x58\x49\x53\x54\x5F\x51\x55\x45\x55\x45","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x53\x49\x50\x2F\x25\x73","\x66\x6F\x72\x6D\x61\x74","\x70\x65\x6E\x61\x6C\x74\x79","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x67\x65\x6E\x74\x73","\x66\x69\x6E\x64\x41\x6C\x6C","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x73\x74\x61\x63\x6B","\x65\x72\x72\x6F\x72"];_0xf358[0];var _=require(_0xf358[1]);var logger=require(_0xf358[3])(_0xf358[2]);var util=require(_0xf358[4]);var Util=require(_0xf358[5]);var sequelize=require(_0xf358[7])[_0xf358[6]];var User=require(_0xf358[7])[_0xf358[8]];var VoiceQueue=require(_0xf358[7])[_0xf358[9]];var UserHasVoiceQueue=require(_0xf358[7])[_0xf358[10]];var VoiceExtension=require(_0xf358[7])[_0xf358[11]];exports[_0xf358[12]]= function(_0x2359xa,_0x2359xb){switch(_0x2359xa[_0xf358[20]][_0xf358[24]]){case _0xf358[20]:return User[_0xf358[21]](_0x2359xa[_0xf358[20]][_0xf358[19]],{attributes:[_0xf358[19]]})[_0xf358[16]](Util[_0xf358[18]](_0x2359xa[_0xf358[17]]))[_0xf358[16]](function(_0x2359xd){_0x2359xb[_0xf358[15]](200)[_0xf358[14]](_0x2359xd)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)});default:return VoiceQueue[_0xf358[23]](Util[_0xf358[22]](_0x2359xa[_0xf358[17]]))[_0xf358[16]](function(_0x2359xd){_0x2359xb[_0xf358[15]](200)[_0xf358[14]](_0x2359xd)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})}};exports[_0xf358[25]]= function(_0x2359xa,_0x2359xb,_0x2359xe){var _0x2359xf;switch(_0x2359xa[_0xf358[20]][_0xf358[24]]){case _0xf358[20]:var _0x2359x10=[];return User[_0xf358[21]](_0x2359xa[_0xf358[20]][_0xf358[19]],{attributes:[_0xf358[19]]})[_0xf358[16]](Util[_0xf358[18]]({},{attributes:[_0xf358[31]],include:[{raw:true,model:User,attributes:[_0xf358[19]]}]}))[_0xf358[16]](function(_0x2359x11){_0x2359xf= _[_0xf358[32]](_0x2359x11[_0xf358[30]],_0xf358[31]);_0x2359x11[_0xf358[30]][_0xf358[34]](function(_0x2359x12){_0x2359x10= _[_0xf358[33]](_0x2359x10,_[_0xf358[32]](_0x2359x12.Users,_0xf358[19]))});return VoiceQueue[_0xf358[23]](_[_0xf358[35]](Util[_0xf358[22]](_0x2359xa[_0xf358[17]],{name:_0x2359xf}),{include:[{model:User,where:{id:_0x2359x10},required:false}]}))})[_0xf358[16]](function(_0x2359xd){_0x2359xa[_0xf358[29]][_0xf358[28]][_0xf358[27]][_0xf358[14]]({message:_0xf358[26],queues:_0x2359xf});return _0x2359xb[_0xf358[15]](200)[_0xf358[14]](_0x2359xd)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)});default:return VoiceQueue[_0xf358[23]](_[_0xf358[35]](Util[_0xf358[22]](_0x2359xa[_0xf358[17]]),{include:[{model:User,required:false}]}))[_0xf358[16]](function(_0x2359xd){_0x2359xf= _[_0xf358[32]](_0x2359xd[_0xf358[30]],_0xf358[31]);_0x2359xa[_0xf358[29]][_0xf358[28]][_0xf358[27]][_0xf358[14]]({message:_0xf358[26],queues:_0x2359xf});return _0x2359xb[_0xf358[15]](200)[_0xf358[14]](_0x2359xd)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})}};exports[_0xf358[36]]= function(_0x2359xa,_0x2359xb){return VoiceQueue[_0xf358[21]](_0x2359xa[_0xf358[38]][_0xf358[31]])[_0xf358[16]](function(_0x2359x13){if(!_0x2359x13){return _0x2359xb[_0xf358[37]](404)};return _0x2359xb[_0xf358[14]](_0x2359x13)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};exports[_0xf358[39]]= function(_0x2359xa,_0x2359xb){return VoiceQueue[_0xf358[21]](_0x2359xa[_0xf358[38]][_0xf358[31]])[_0xf358[16]](function(_0x2359x12){if(!_0x2359x12){return _0x2359xb[_0xf358[37]](404)};return _0x2359x12[_0xf358[42]]({where:{role:_0xf358[41]}})})[_0xf358[16]](function(_0x2359x10){return _0x2359xb[_0xf358[15]](200)[_0xf358[14]]({rows:_0x2359x10,count:_0x2359x10[_0xf358[40]]})})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};exports[_0xf358[43]]= function(_0x2359xa,_0x2359xb){var _0x2359x14;return VoiceQueue[_0xf358[43]](_0x2359xa[_0xf358[53]])[_0xf358[16]](function(_0x2359x13){_0x2359x14= _0x2359x13})[_0xf358[16]](addAgents(_0x2359xa,_0x2359xa[_0xf358[53]][_0xf358[31]]))[_0xf358[16]](function(){return _0x2359xb[_0xf358[15]](201)[_0xf358[14]](_0x2359x14)})[_0xf358[13]](sequelize.UniqueConstraintError,function(_0x2359xc){var _0x2359x15=[];_0x2359xc[_0xf358[47]][_0xf358[34]](function(_0x2359x16){switch(_0x2359x16[_0xf358[46]]){case _0xf358[45]:_0x2359x15[_0xf358[44]](_0xf358[31]);break;default:_0x2359x15[_0xf358[44]](_0x2359x16[_0xf358[46]])}});_0x2359x15[_0xf358[44]](_0xf358[48]);_0x2359xc[_0xf358[49]]= _0x2359x15[_0xf358[50]]();_0x2359xc[_0xf358[51]]= _0xf358[52];return _0x2359xb[_0xf358[15]](500)[_0xf358[14]](_0x2359xc)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};exports[_0xf358[54]]= function(_0x2359xa,_0x2359xb){if(_0x2359xa[_0xf358[53]][_0xf358[31]]){delete _0x2359xa[_0xf358[53]][_0xf358[31]]};return VoiceQueue[_0xf358[21]](_0x2359xa[_0xf358[38]][_0xf358[31]])[_0xf358[16]](function(_0x2359x13){if(!_0x2359x13){return _0x2359xb[_0xf358[37]](404)};var _0x2359x17=_[_0xf358[35]](_0x2359x13,_0x2359xa[_0xf358[53]]);return _0x2359x17[_0xf358[55]]()})[_0xf358[16]](function(_0x2359x13){return _0x2359xb[_0xf358[15]](200)[_0xf358[14]](_0x2359x13)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};function addAgents(_0x2359xa,_0x2359x12){return function(){return User[_0xf358[61]]({where:{id:_0x2359xa[_0xf358[53]][_0xf358[60]]},raw:true})[_0xf358[16]](function(_0x2359x19){var _0x2359x1a=_[_0xf358[32]](_0x2359x19,function(_0x2359x1b){return {queue:_0x2359x12,interface:util[_0xf358[57]](_0xf358[56],_0x2359x1b[_0xf358[31]]),stateinterface:util[_0xf358[57]](_0xf358[56],_0x2359x1b[_0xf358[31]]),membername:_0x2359x1b[_0xf358[31]],UserId:_0x2359x1b[_0xf358[19]],penalty:_0x2359xa[_0xf358[53]][_0xf358[58]]}});return UserHasVoiceQueue[_0xf358[59]](_0x2359x1a,{individualHooks:true})})}}exports[_0xf358[62]]= function(_0x2359xa,_0x2359xb,_0x2359xe){return Promise[_0xf358[63]]([])[_0xf358[16]](addAgents(_0x2359xa,_0x2359xa[_0xf358[38]][_0xf358[31]]))[_0xf358[16]](function(){return _0x2359xb[_0xf358[37]](200)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};exports[_0xf358[64]]= function(_0x2359xa,_0x2359xb,_0x2359xe){return UserHasVoiceQueue[_0xf358[65]]({where:{UserId:_0x2359xa[_0xf358[17]][_0xf358[60]],queue:_0x2359xa[_0xf358[38]][_0xf358[31]]},individualHooks:true})[_0xf358[16]](function(){return _0x2359xb[_0xf358[37]](202)})[_0xf358[13]](function(_0x2359xc){return _0x2359xe(_0x2359xc)})};exports[_0xf358[65]]= function(_0x2359xa,_0x2359xb){return VoiceQueue[_0xf358[65]]({where:{name:_0x2359xa[_0xf358[38]][_0xf358[31]]},individualHooks:true})[_0xf358[16]](function(){return _0x2359xb[_0xf358[37]](204)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};exports[_0xf358[66]]= function(_0x2359xa,_0x2359xb){return VoiceQueue[_0xf358[65]]({where:{name:_0x2359xa[_0xf358[17]][_0xf358[67]]},individualHooks:true})[_0xf358[16]](function(){return _0x2359xb[_0xf358[37]](204)})[_0xf358[13]](function(_0x2359xc){return handleError(_0x2359xb,_0x2359xc)})};function handleError(_0x2359xb,_0x2359xc){logger[_0xf358[69]](_0x2359xc[_0xf358[68]]);return _0x2359xb[_0xf358[15]](500)[_0xf358[14]](_0x2359xc)}
\ No newline at end of file