Built motion from commit a0baffd.|1.0.1
[motion.git] / server / config / tools / user.js
index 3173e92..d851e53 100644 (file)
@@ -1 +1 @@
-var _0xa5e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x68\x61\x6E\x53\x70\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x63\x68\x61\x6E\x73\x70\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x63\x68\x61\x6E\x67\x65\x64","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x6E\x61\x6D\x65","\x6D\x61\x73\x73\x69\x6D\x69\x6C\x69\x61\x6E\x6F\x2E\x62\x75\x6E\x67\x61\x72\x6F","\x6C\x6F\x67","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x63\x61\x74\x63\x68","\x61\x6C\x6C","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x73\x61\x76\x65","\x65\x78\x74\x65\x6E","\x5F\x70\x72\x65\x76\x69\x6F\x75\x73\x44\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x61\x70\x70\x64\x61\x74\x61","\x53\x49\x50\x2F","\x67\x65\x74\x55\x73\x65\x72\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x44\x69\x61\x6C","\x48\x61\x6E\x67\x75\x70","","\x65\x78\x70\x6F\x72\x74\x73"];_0xa5e9[0];var fs=require(_0xa5e9[1]);var util=require(_0xa5e9[2]);var path=require(_0xa5e9[3]);var config=require(_0xa5e9[4]);var UserModel=require(_0xa5e9[6])[_0xa5e9[5]];var VoiceExtension=require(_0xa5e9[6])[_0xa5e9[7]];var ChanSpy=require(_0xa5e9[6])[_0xa5e9[8]];var sequelize=require(_0xa5e9[6])[_0xa5e9[9]];function User(){UserModel[_0xa5e9[11]](function(_0x7c4cxa){createCallerID(_0x7c4cxa);createExtension(_0x7c4cxa);if(_0x7c4cxa[_0xa5e9[10]]){createChanspy(_0x7c4cxa)}});UserModel[_0xa5e9[18]](function(_0x7c4cxa){if(!_0x7c4cxa[_0xa5e9[13]](_0xa5e9[12])&&!_0x7c4cxa[_0xa5e9[13]](_0xa5e9[14])){updateExtension(_0x7c4cxa);if(_0x7c4cxa[_0xa5e9[15]]===_0xa5e9[16]){console[_0xa5e9[17]](_0x7c4cxa[_0xa5e9[12]])};createCallerID(_0x7c4cxa);if((_0x7c4cxa[_0xa5e9[10]]&&_0x7c4cxa[_0xa5e9[13]](_0xa5e9[10]))){createChanspy(_0x7c4cxa)}else {if(_0x7c4cxa[_0xa5e9[10]]&&!_0x7c4cxa[_0xa5e9[13]](_0xa5e9[10])&&_0x7c4cxa[_0xa5e9[13]](_0xa5e9[15])){deleteChanSpy(_0x7c4cxa);createChanspy(_0x7c4cxa)}else {if(!_0x7c4cxa[_0xa5e9[10]]&&_0x7c4cxa[_0xa5e9[13]](_0xa5e9[10])){deleteChanSpy(_0x7c4cxa)}}}}})}function createChanspy(_0x7c4cxa){return sequelize[_0xa5e9[38]](function(_0x7c4cxd){return ChanSpy[_0xa5e9[37]]()[_0xa5e9[36]](function(_0x7c4cxe){var _0x7c4cxf=[];_0x7c4cxe[_0xa5e9[35]](function(_0x7c4cx10){var _0x7c4cx11=[];var _0x7c4cx12=1;if(_0x7c4cx10[_0xa5e9[21]]){_0x7c4cx11[_0xa5e9[30]]({context:_0xa5e9[22],exten:util[_0xa5e9[25]](_0xa5e9[23],_0x7c4cx10[_0xa5e9[24]],_0x7c4cxa[_0xa5e9[15]]),priority:_0x7c4cx12,app:_0xa5e9[26],appdata:_0x7c4cx10[_0xa5e9[27]],UserId:_0x7c4cxa[_0xa5e9[28]],ChanSpyId:_0x7c4cx10[_0xa5e9[28]],type:_0xa5e9[29]});_0x7c4cx12++};_0x7c4cx11[_0xa5e9[30]]({context:_0xa5e9[22],exten:util[_0xa5e9[25]](_0xa5e9[23],_0x7c4cx10[_0xa5e9[24]],_0x7c4cxa[_0xa5e9[15]]),priority:_0x7c4cx12,app:_0xa5e9[8],appdata:util[_0xa5e9[25]](_0xa5e9[31],_0x7c4cxa[_0xa5e9[15]],_0x7c4cx10[_0xa5e9[32]]),UserId:_0x7c4cxa[_0xa5e9[28]],ChanSpyId:_0x7c4cx10[_0xa5e9[28]],type:_0xa5e9[29]});_0x7c4cx12=1;if(_0x7c4cx10[_0xa5e9[21]]){_0x7c4cx11[_0xa5e9[30]]({context:_0xa5e9[22],exten:util[_0xa5e9[25]](_0xa5e9[23],_0x7c4cx10[_0xa5e9[24]],_0x7c4cxa[_0xa5e9[33]]),priority:_0x7c4cx12,app:_0xa5e9[26],appdata:_0x7c4cx10[_0xa5e9[27]],UserId:_0x7c4cxa[_0xa5e9[28]],ChanSpyId:_0x7c4cx10[_0xa5e9[28]],type:_0xa5e9[29]});_0x7c4cx12++};_0x7c4cx11[_0xa5e9[30]]({context:_0xa5e9[22],exten:util[_0xa5e9[25]](_0xa5e9[23],_0x7c4cx10[_0xa5e9[24]],_0x7c4cxa[_0xa5e9[33]]),priority:_0x7c4cx12,app:_0xa5e9[8],appdata:util[_0xa5e9[25]](_0xa5e9[31],_0x7c4cxa[_0xa5e9[15]],_0x7c4cx10[_0xa5e9[32]]),UserId:_0x7c4cxa[_0xa5e9[28]],ChanSpyId:_0x7c4cx10[_0xa5e9[28]],type:_0xa5e9[29]});_0x7c4cxf[_0xa5e9[30]](VoiceExtension[_0xa5e9[34]](_0x7c4cx11,{transaction:_0x7c4cxd}))});return _0x7c4cxf})[_0xa5e9[20]]()})[_0xa5e9[19]](function(_0x7c4cxc){console[_0xa5e9[17]](_0x7c4cxc)})}function deleteChanSpy(_0x7c4cxa){return sequelize[_0xa5e9[38]](function(_0x7c4cxd){return VoiceExtension[_0xa5e9[39]]({where:{UserId:_0x7c4cxa[_0xa5e9[28]],ChanSpyId:{$ne:null}},transaction:_0x7c4cxd})})[_0xa5e9[19]](function(_0x7c4cxc){console[_0xa5e9[17]](_0x7c4cxc)})}function createCallerID(_0x7c4cxa){if(_0x7c4cxa[_0xa5e9[40]]&&_0x7c4cxa[_0xa5e9[33]]){_0x7c4cxa[_0xa5e9[41]]=util[_0xa5e9[25]](_0xa5e9[42],_0x7c4cxa[_0xa5e9[40]],_0x7c4cxa[_0xa5e9[33]]);_0x7c4cxa[_0xa5e9[43]]()};return}function updateExtension(_0x7c4cxa){if(_0x7c4cxa[_0xa5e9[13]](_0xa5e9[15])){_0x7c4cxa[_0xa5e9[48]]()[_0xa5e9[36]](function(_0x7c4cx16){_0x7c4cx16[_0xa5e9[35]](function(_0x7c4cx10){_0x7c4cx10[_0xa5e9[44]]=(_0x7c4cx10[_0xa5e9[44]]===_0x7c4cxa[_0xa5e9[45]][_0xa5e9[33]])?_0x7c4cxa[_0xa5e9[33]]:_0x7c4cxa[_0xa5e9[15]];_0x7c4cx10[_0xa5e9[46]]=_0xa5e9[47]+_0x7c4cxa[_0xa5e9[15]];_0x7c4cx10[_0xa5e9[43]]()})})[_0xa5e9[19]](function(_0x7c4cxc){console[_0xa5e9[17]](_0x7c4cxc)})}}function createExtension(_0x7c4cxa){if(_0x7c4cxa[_0xa5e9[33]]){var _0x7c4cx18=[{context:_0xa5e9[22],exten:_0x7c4cxa[_0xa5e9[33]],priority:1,app:_0xa5e9[49],appdata:_0xa5e9[50],UserId:_0x7c4cxa[_0xa5e9[28]],type:_0xa5e9[29]},{context:_0xa5e9[22],exten:_0x7c4cxa[_0xa5e9[33]],priority:2,app:_0xa5e9[51],appdata:_0xa5e9[47]+_0x7c4cxa[_0xa5e9[15]],UserId:_0x7c4cxa[_0xa5e9[28]],type:_0xa5e9[29]},{context:_0xa5e9[22],exten:_0x7c4cxa[_0xa5e9[33]],priority:3,app:_0xa5e9[52],appdata:_0xa5e9[53],UserId:_0x7c4cxa[_0xa5e9[28]],type:_0xa5e9[29]},{context:_0xa5e9[22],exten:_0x7c4cxa[_0xa5e9[15]],priority:1,app:_0xa5e9[49],appdata:_0xa5e9[50],UserId:_0x7c4cxa[_0xa5e9[28]],type:_0xa5e9[29]},{context:_0xa5e9[22],exten:_0x7c4cxa[_0xa5e9[15]],priority:2,app:_0xa5e9[51],appdata:_0xa5e9[47]+_0x7c4cxa[_0xa5e9[15]],UserId:_0x7c4cxa[_0xa5e9[28]],type:_0xa5e9[29]},{context:_0xa5e9[22],exten:_0x7c4cxa[_0xa5e9[15]],priority:3,app:_0xa5e9[52],appdata:_0xa5e9[53],UserId:_0x7c4cxa[_0xa5e9[28]],type:_0xa5e9[29]}];return VoiceExtension[_0xa5e9[34]](_0x7c4cx18)[_0xa5e9[19]](function(_0x7c4cxc){console[_0xa5e9[17]](_0x7c4cxc)})}}module[_0xa5e9[54]]=User
\ No newline at end of file
+var _0xd155=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x43\x68\x61\x6E\x53\x70\x79","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x62\x6C\x75\x65\x62\x69\x72\x64","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x6C\x6C","\x61\x75\x74\x68","\x66\x72\x6F\x6D\x2D\x73\x69\x70","\x25\x73\x25\x73","\x70\x72\x65\x66\x69\x78","\x6E\x61\x6D\x65","\x66\x6F\x72\x6D\x61\x74","\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x69\x64","\x73\x79\x73\x74\x65\x6D","\x70\x75\x73\x68","\x53\x49\x50\x2F\x25\x73\x2C\x25\x73","\x6F\x70\x74\x69\x6F\x6E\x73","\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","\x66\x6F\x72\x45\x61\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x44\x65\x6C\x65\x74\x69\x6E\x67\x20\x63\x68\x61\x6E\x73\x70\x79\x2E\x2E\x2E","\x64\x65\x73\x74\x72\x6F\x79","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x68\x61\x73\x4F\x77\x6E\x50\x72\x6F\x70\x65\x72\x74\x79","\x5F\x63\x68\x61\x6E\x67\x65\x64","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x63\x61\x6C\x6C\x65\x72\x49\x44\x2E\x2E\x2E","\x63\x61\x6C\x6C\x65\x72\x69\x64","\x22\x25\x73\x22\x20\x3C\x25\x73\x3E","\x73\x61\x76\x65","\x72\x65\x73\x6F\x6C\x76\x65","\x43\x72\x65\x61\x74\x69\x6E\x67\x20\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E\x2E\x2E\x2E","\x5F","\x53\x65\x74","\x43\x44\x52\x28\x74\x79\x70\x65\x29\x3D\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x44\x69\x61\x6C","\x53\x49\x50\x2F","\x2C\x2C\x74\x54\x78\x58","\x48\x61\x6E\x67\x75\x70","","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x6C\x61\x73\x74\x4C\x6F\x67\x69\x6E\x41\x74","\x6F\x6E\x6C\x69\x6E\x65","\x65\x72\x72","\x73\x74\x61\x63\x6B","\x63\x61\x74\x63\x68","\x63\x68\x61\x6E\x73\x70\x79","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65"];_0xd155[0];var fs=require(_0xd155[1]);var util=require(_0xd155[2]);var path=require(_0xd155[3]);var config=require(_0xd155[4]);var UserModel=require(_0xd155[6])[_0xd155[5]];var VoiceExtension=require(_0xd155[6])[_0xd155[7]];var ChanSpy=require(_0xd155[6])[_0xd155[8]];var sequelize=require(_0xd155[6])[_0xd155[9]];var BPromise=require(_0xd155[10]);function createChanspy(_0xe27bxb,_0xe27bxc){console[_0xd155[12]](_0xd155[11]);return ChanSpy[_0xd155[32]]()[_0xd155[31]](function(_0xe27bxd){var _0xe27bxe=[];_0xe27bxd[_0xd155[30]](function(_0xe27bxf){var _0xe27bx10=[];var _0xe27bx11=1;if(_0xe27bxf[_0xd155[14]]){_0xe27bx10[_0xd155[24]]({context:_0xd155[15],exten:util[_0xd155[19]](_0xd155[16],_0xe27bxf[_0xd155[17]],_0xe27bxb[_0xd155[18]]),priority:_0xe27bx11,app:_0xd155[20],appdata:_0xe27bxf[_0xd155[21]],UserId:_0xe27bxb[_0xd155[22]],ChanSpyId:_0xe27bxf[_0xd155[22]],type:_0xd155[23]});_0xe27bx11++};_0xe27bx10[_0xd155[24]]({context:_0xd155[15],exten:util[_0xd155[19]](_0xd155[16],_0xe27bxf[_0xd155[17]],_0xe27bxb[_0xd155[18]]),priority:_0xe27bx11,app:_0xd155[8],appdata:util[_0xd155[19]](_0xd155[25],_0xe27bxb[_0xd155[18]],_0xe27bxf[_0xd155[26]]),UserId:_0xe27bxb[_0xd155[22]],ChanSpyId:_0xe27bxf[_0xd155[22]],type:_0xd155[23]});_0xe27bx11= 1;if(_0xe27bxf[_0xd155[14]]){_0xe27bx10[_0xd155[24]]({context:_0xd155[15],exten:util[_0xd155[19]](_0xd155[16],_0xe27bxf[_0xd155[17]],_0xe27bxb[_0xd155[27]]),priority:_0xe27bx11,app:_0xd155[20],appdata:_0xe27bxf[_0xd155[21]],UserId:_0xe27bxb[_0xd155[22]],ChanSpyId:_0xe27bxf[_0xd155[22]],type:_0xd155[23]});_0xe27bx11++};_0xe27bx10[_0xd155[24]]({context:_0xd155[15],exten:util[_0xd155[19]](_0xd155[16],_0xe27bxf[_0xd155[17]],_0xe27bxb[_0xd155[27]]),priority:_0xe27bx11,app:_0xd155[8],appdata:util[_0xd155[19]](_0xd155[25],_0xe27bxb[_0xd155[18]],_0xe27bxf[_0xd155[26]]),UserId:_0xe27bxb[_0xd155[22]],ChanSpyId:_0xe27bxf[_0xd155[22]],type:_0xd155[23]});_0xe27bxe[_0xd155[24]](VoiceExtension[_0xd155[29]](_0xe27bx10,{transaction:_0xe27bxc[_0xd155[28]]|| null}))});return _0xe27bxe})[_0xd155[13]]()}function deleteChanSpy(_0xe27bxb,_0xe27bxc){console[_0xd155[12]](_0xd155[33]);return VoiceExtension[_0xd155[34]]({where:{UserId:_0xe27bxb[_0xd155[22]],ChanSpyId:{$ne:null}},transaction:_0xe27bxc[_0xd155[28]]|| null})}function createCallerID(_0xe27bxb,_0xe27bxc){return function(){if(_0xe27bxb[_0xd155[35]]&& _0xe27bxb[_0xd155[27]]&& _0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[35])){console[_0xd155[12]](_0xd155[38]);_0xe27bxb[_0xd155[39]]= util[_0xd155[19]](_0xd155[40],_0xe27bxb[_0xd155[35]],_0xe27bxb[_0xd155[27]]);return _0xe27bxb[_0xd155[41]]({transaction:_0xe27bxc[_0xd155[28]]|| null})}else {return BPromise[_0xd155[42]]()}}}function createExtension(_0xe27bxb,_0xe27bxc){console[_0xd155[12]](_0xd155[43]);return function(){var _0xe27bx15=[{context:_0xd155[15],exten:_0xd155[44]+ _0xe27bxb[_0xd155[27]],priority:1,app:_0xd155[45],appdata:_0xd155[46],UserId:_0xe27bxb[_0xd155[22]],type:_0xd155[23]},{context:_0xd155[15],exten:_0xd155[44]+ _0xe27bxb[_0xd155[27]],priority:2,app:_0xd155[47],appdata:_0xd155[48]+ _0xe27bxb[_0xd155[18]]+ _0xd155[49],UserId:_0xe27bxb[_0xd155[22]],type:_0xd155[23]},{context:_0xd155[15],exten:_0xd155[44]+ _0xe27bxb[_0xd155[27]],priority:3,app:_0xd155[50],appdata:_0xd155[51],UserId:_0xe27bxb[_0xd155[22]],type:_0xd155[23]},{context:_0xd155[15],exten:_0xe27bxb[_0xd155[18]],priority:1,app:_0xd155[45],appdata:_0xd155[46],UserId:_0xe27bxb[_0xd155[22]],type:_0xd155[23]},{context:_0xd155[15],exten:_0xe27bxb[_0xd155[18]],priority:2,app:_0xd155[47],appdata:_0xd155[48]+ _0xe27bxb[_0xd155[18]]+ _0xd155[49],UserId:_0xe27bxb[_0xd155[22]],type:_0xd155[23]},{context:_0xd155[15],exten:_0xe27bxb[_0xd155[18]],priority:3,app:_0xd155[50],appdata:_0xd155[51],UserId:_0xe27bxb[_0xd155[22]],type:_0xd155[23]}];return VoiceExtension[_0xd155[29]](_0xe27bx15,{transaction:_0xe27bxc[_0xd155[28]]|| null})}}exports[_0xd155[52]]= function(_0xe27bxc){return function(_0xe27bxb){if(!_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[53])&& !_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[54])&& !_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[39])&& !_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[55])&& !_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[56])){return BPromise[_0xd155[42]]()[_0xd155[31]](createCallerID(_0xe27bxb,_0xe27bxc))[_0xd155[31]](function(){if((_0xe27bxb[_0xd155[60]]&& _0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[60]))){return createChanspy(_0xe27bxb,_0xe27bxc)}})[_0xd155[31]](function(){if(_0xe27bxb[_0xd155[60]]&& !_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[60])&& _0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[18])){return deleteChanSpy(_0xe27bxb,_0xe27bxc)}})[_0xd155[31]](function(){if(_0xe27bxb[_0xd155[60]]&& !_0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[60])&& _0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[18])){return createChanspy(_0xe27bxb,_0xe27bxc)}})[_0xd155[31]](function(){if(!_0xe27bxb[_0xd155[60]]&& _0xe27bxb[_0xd155[37]][_0xd155[36]](_0xd155[60])){return deleteChanSpy(_0xe27bxb,_0xe27bxc)}})[_0xd155[59]](function(_0xe27bx16){console[_0xd155[12]](_0xd155[57],_0xe27bx16[_0xd155[58]])})[_0xd155[31]](function(){return _0xe27bxb})}else {return BPromise[_0xd155[42]]()[_0xd155[31]](function(){return _0xe27bxb})}}};exports[_0xd155[61]]= function(_0xe27bxc){return function(_0xe27bxb){delete _0xe27bxb[_0xd155[37]][_0xd155[27]];return Promise[_0xd155[13]]([])[_0xd155[31]](createCallerID(_0xe27bxb,_0xe27bxc))[_0xd155[31]](createExtension(_0xe27bxb,_0xe27bxc))[_0xd155[31]](function(){if(_0xe27bxb[_0xd155[60]]){return createChanspy(_0xe27bxb,_0xe27bxc)}})[_0xd155[31]](function(){return _0xe27bxb})}}
\ No newline at end of file