Built motion from commit 16f801c.|1.0.17
[motion.git] / server / config / openchannel / custom.js
1 var _0xcfc3=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2E\x2F\x75\x74\x69\x6C","\x6D\x6F\x6D\x65\x6E\x74","\x70\x61\x74\x68","\x75\x74\x69\x6C","\x66\x73","\x55\x73\x65\x72","\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\x4D\x65\x73\x73\x61\x67\x65","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x52\x65\x70\x6F\x72\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x53\x6D\x73\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x52\x65\x70\x6F\x72\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x53\x65\x73\x73\x69\x6F\x6E","\x41\x63\x74\x69\x6F\x6E","\x63\x68\x69\x6C\x64\x5F\x70\x72\x6F\x63\x65\x73\x73","\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x43\x6F\x6E\x74\x61\x63\x74","\x6F\x70\x65\x6E\x20\x63\x68\x61\x6E\x6E\x65\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x61\x63\x63\x6F\x75\x6E\x74","\x65\x78\x69\x74","\x70\x69\x64","\x72\x65\x6D\x6F\x76\x65","\x6C\x65\x6E\x67\x74\x68","\x75\x70\x64\x61\x74\x65","\x74\x68\x65\x6E","\x72\x6F\x6F\x6D\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x6F\x6E","\x6D\x65\x73\x73\x61\x67\x65","\x6D\x73\x67","\x63\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x63\x72\x65\x61\x74\x65\x53\x6D\x73","\x74\x79\x70\x65","\x72\x6F\x6F\x74","\x2F\x73\x65\x72\x76\x65\x72\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x66\x6F\x72\x6B\x65\x64\x5F\x72\x6F\x75\x74\x69\x6E\x67\x2F\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x2F\x69\x6E\x64\x65\x78\x2E\x6A\x73","\x6A\x6F\x69\x6E","\x66\x6F\x72\x6B","\x73\x74\x61\x72\x74","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x25\x73\x2E\x25\x73","\x75\x6E\x69\x78","\x66\x6F\x72\x6D\x61\x74","\x73\x75\x62\x6A\x65\x63\x74","\x69\x64","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x52\x6F\x6F\x6D\x49\x64","\x6E\x61\x6D\x65","\x61\x64\x64\x72\x65\x73\x73","\x66\x72\x6F\x6D","\x73\x65\x6E\x64","\x70\x75\x73\x68","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x4F\x70\x65\x6E\x20\x63\x68\x61\x6E\x6E\x65\x6C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x43\x52\x45\x41\x54\x45","\x6F\x6E\x55\x70\x64\x61\x74\x65","\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x67\x65\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x64","\x63\x68\x61\x6E\x67\x65\x64","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x61\x63\x63\x65\x70\x74","\x77\x65\x62\x68\x6F\x6F\x6B","\x66\x69\x6E\x61\x6C\x6C\x79","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x66\x69\x6E\x64","\x73\x74\x6F\x70","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x70\x72\x6F\x63\x65\x73\x73","\x6D\x65\x6D\x62\x65\x72\x69\x64","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x75\x6E\x69\x71\x75\x65\x69\x64","\x72\x65\x6A\x65\x63\x74\x65\x64\x41\x74","\x72\x65\x6A\x65\x63\x74","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x41\x63\x63\x6F\x75\x6E\x74\x49\x64","\x73\x74\x61\x74\x75\x73","\x43\x4C\x4F\x53\x45\x44","\x63\x6C\x6F\x73\x65","\x6F\x6E\x52\x65\x6D\x6F\x76\x65","\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79","\x52\x45\x43\x45\x49\x56\x45\x44","\x6F\x6E\x53\x65\x6E\x64","\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65","\x73\x74\x61\x74\x65","\x20\x55\x50\x44\x41\x54\x45","\x5B\x4F\x70\x65\x6E\x20\x63\x68\x61\x6E\x6E\x65\x6C\x20\x2D\x20\x41\x63\x63\x6F\x75\x6E\x74\x20","\x20\x44\x45\x53\x54\x52\x4F\x59","\x53\x45\x4E\x44\x49\x4E\x47","\x65\x72\x72","\x45\x72\x72\x6F\x72\x20\x75\x70\x64\x61\x74\x69\x6E\x67\x20\x65\x72\x72\x6F\x72\x20\x73\x74\x61\x74\x75\x73","\x46\x41\x49\x4C\x45\x44","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x53\x45\x4E\x54","\x20\x4D\x65\x73\x73\x61\x67\x65\x20\x53\x45\x4E\x54\x2E\x2E\x2E","\x53\x45\x4E\x44\x49\x4E\x47\x20\x4D\x65\x73\x73\x61\x67\x65\x2E\x2E\x2E","\x72\x65\x70\x6C\x79\x4D\x65\x74\x68\x6F\x64","\x72\x65\x70\x6C\x79\x55\x72\x6C","\x74\x6F","\x62\x6F\x64\x79","\x55\x73\x65\x72\x49\x64","\x73\x65\x6E\x64\x52\x65\x71\x75\x65\x73\x74","\x45\x52\x52\x4F\x52","\x20\x41\x63\x63\x6F\x75\x6E\x74\x20\x48\x54\x54\x50\x20\x4D\x65\x74\x68\x6F\x64\x20\x6F\x72\x20\x55\x52\x4C\x20\x69\x73\x20\x6E\x6F\x74\x20\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x64\x2E\x20\x43\x6F\x6E\x74\x61\x63\x74\x20\x79\x6F\x75\x72\x20\x61\x64\x6D\x69\x6E\x69\x73\x74\x72\x61\x74\x6F\x72\x21\x21","\x61\x64\x64\x55\x73\x65\x72","\x50\x45\x4E\x44\x49\x4E\x47","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x4F\x75\x74","\x75\x73\x65\x72","\x73\x65\x74\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x52\x6F\x6F\x6D","\x61\x6C\x6C","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x44\x45\x53\x43","\x66\x69\x6E\x64\x41\x6C\x6C","\x72\x65\x71\x75\x65\x73\x74\x20\x66\x61\x69\x6C\x65\x64\x21","\x72\x65\x71\x75\x65\x73\x74\x20\x73\x75\x63\x63\x65\x73\x73\x65\x66\x75\x6C\x21","\x61\x63\x63\x65\x70\x74\x4D\x65\x74\x68\x6F\x64","\x61\x63\x63\x65\x70\x74\x55\x72\x6C","\x4F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C\x20\x61\x63\x63\x6F\x75\x6E\x74\x20\x3C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x61\x63\x63\x65\x70\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x61\x63\x74\x69\x6F\x6E\x73","\x65\x6E\x61\x62\x6C\x65\x64","\x65\x78\x65\x63\x41\x63\x74\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x72\x65\x6A\x65\x63\x74\x4D\x65\x74\x68\x6F\x64","\x72\x65\x6A\x65\x63\x74\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x72\x65\x6A\x65\x63\x74\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x63\x6C\x6F\x73\x65\x4D\x65\x74\x68\x6F\x64","\x63\x6C\x6F\x73\x65\x55\x72\x6C","\x3E\x20\x65\x78\x65\x63\x75\x74\x69\x6E\x67\x20\x63\x6C\x6F\x73\x65\x20\x77\x65\x62\x68\x6F\x6F\x6B","\x57\x65\x62\x68\x6F\x6F\x6B\x20\x6E\x6F\x74\x20\x72\x65\x63\x6F\x67\x6E\x69\x7A\x65\x64","\x65\x78\x70\x6F\x72\x74\x73"];_0xcfc3[0];var _=require(_0xcfc3[1]);var Promise=require(_0xcfc3[2]);var Util=require(_0xcfc3[3]);var moment=require(_0xcfc3[4]);var path=require(_0xcfc3[5]);var util=require(_0xcfc3[6]);var fs=require(_0xcfc3[7]);var Agent=require(_0xcfc3[9])[_0xcfc3[8]];var OpenchannelRoom=require(_0xcfc3[9])[_0xcfc3[10]];var OpenchannelMessage=require(_0xcfc3[9])[_0xcfc3[11]];var OpenchannelAccount=require(_0xcfc3[9])[_0xcfc3[12]];var ReportOpenchannel=require(_0xcfc3[9])[_0xcfc3[13]];var SmsMessage=require(_0xcfc3[9])[_0xcfc3[14]];var MailMessage=require(_0xcfc3[9])[_0xcfc3[15]];var Session=require(_0xcfc3[9])[_0xcfc3[16]];var Action=require(_0xcfc3[9])[_0xcfc3[17]];var path=require(_0xcfc3[5]);var fs=require(_0xcfc3[7]);var cp=require(_0xcfc3[18]);var config=require(_0xcfc3[19]);var Contact=require(_0xcfc3[9])[_0xcfc3[20]];var processes=[];function Custom(){console[_0xcfc3[22]](_0xcfc3[21]);this[_0xcfc3[23]]= null}function createAndStartRouting(_0x6c07x17,_0x6c07x18){var _0x6c07x19=cp[_0xcfc3[42]](path[_0xcfc3[41]](config[_0xcfc3[39]],_0xcfc3[40]))[_0xcfc3[32]](_0xcfc3[33],function(_0x6c07x1c){switch(_0x6c07x1c[_0xcfc3[38]]){case _0xcfc3[36]:return MailMessage[_0xcfc3[35]](_0x6c07x1c[_0xcfc3[34]]);case _0xcfc3[37]:return SmsMessage[_0xcfc3[35]](_0x6c07x1c[_0xcfc3[34]]);default:}})[_0xcfc3[32]](_0xcfc3[24],function(){var _0x6c07x1a=_[_0xcfc3[26]](processes,{pid:this[_0xcfc3[25]]});if(_0x6c07x1a&& _0x6c07x1a[_0xcfc3[27]]){return OpenchannelRoom[_0xcfc3[31]](_0x6c07x1a[0][_0xcfc3[30]])[_0xcfc3[29]](function(_0x6c07x1b){if(_0x6c07x1b){return _0x6c07x1b[_0xcfc3[28]]({waiting:false})}})}});_0x6c07x19[_0xcfc3[54]]({type:_0xcfc3[43],param1:{channel:_0xcfc3[44],uniqueid:util[_0xcfc3[47]](_0xcfc3[45],moment()[_0xcfc3[46]](),_0x6c07x17.OpenchannelRoomId),subject:_0x6c07x17[_0xcfc3[48]],messageid:_0x6c07x17[_0xcfc3[49]],roomid:_0x6c07x17[_0xcfc3[50]],accountid:_0x6c07x18[_0xcfc3[49]],accountname:_0x6c07x18[_0xcfc3[51]],accountaddress:_0x6c07x18[_0xcfc3[52]],from:_0x6c07x17[_0xcfc3[53]]},param2:_0x6c07x17});processes[_0xcfc3[55]]({id:_0x6c07x17[_0xcfc3[49]],channel:_0xcfc3[44],process:_0x6c07x19,roomid:_0x6c07x17[_0xcfc3[50]],pid:_0x6c07x19[_0xcfc3[25]]})}Custom[_0xcfc3[57]][_0xcfc3[56]]= function(_0x6c07x1d){var _0x6c07x1e=this;console[_0xcfc3[22]](_0xcfc3[58]+ _0x6c07x1d[_0xcfc3[51]]+ _0xcfc3[59]);_0x6c07x1e[_0xcfc3[23]]= _0x6c07x1d;OpenchannelAccount[_0xcfc3[61]](function(_0x6c07x1d){if(_0x6c07x1e[_0xcfc3[23]]&& _0x6c07x1d[_0xcfc3[49]]=== _0x6c07x1e[_0xcfc3[23]][_0xcfc3[49]]){_0x6c07x1e[_0xcfc3[60]](_0x6c07x1d)}});ReportOpenchannel[_0xcfc3[61]](function(_0x6c07x1d){if(_0x6c07x1e[_0xcfc3[23]]&& _0x6c07x1d[_0xcfc3[62]]== _0x6c07x1e[_0xcfc3[23]][_0xcfc3[49]]){var _0x6c07x1f=_0x6c07x1d[_0xcfc3[63]]({plain:true});if(_0x6c07x1d[_0xcfc3[65]](_0xcfc3[64])){return Session[_0xcfc3[28]]({memberid:_0x6c07x1f[_0xcfc3[76]],membername:_0x6c07x1f[_0xcfc3[74]],leaveAt:moment()[_0xcfc3[47]](_0xcfc3[77])},{where:{uniqueid:_0x6c07x1f[_0xcfc3[78]],leaveAt:null},individualHooks:true})[_0xcfc3[29]](function(){var _0x6c07x21=_[_0xcfc3[72]](processes,{id:_0x6c07x1f[_0xcfc3[71]]});if(_0x6c07x21){_0x6c07x21[_0xcfc3[75]][_0xcfc3[54]]({type:_0xcfc3[73],membername:_0x6c07x1f[_0xcfc3[74]]})}})[_0xcfc3[70]](function(){_0x6c07x1e[_0xcfc3[69]](_0x6c07x1d,_0xcfc3[68])})[_0xcfc3[67]](function(_0x6c07x20){console[_0xcfc3[66]](_0x6c07x20)})}else {if(_0x6c07x1d[_0xcfc3[65]](_0xcfc3[79])){var _0x6c07x21=_[_0xcfc3[72]](processes,{id:_0x6c07x1f[_0xcfc3[71]]});if(_0x6c07x21){_0x6c07x21[_0xcfc3[75]][_0xcfc3[54]]({type:_0xcfc3[80],id:_0x6c07x1f[_0xcfc3[76]],membername:_0x6c07x1f[_0xcfc3[74]]})};_0x6c07x1e[_0xcfc3[69]](_0x6c07x1d,_0xcfc3[80])}}}});OpenchannelRoom[_0xcfc3[61]](function(_0x6c07x1d){if(_0x6c07x1e[_0xcfc3[23]]&& _0x6c07x1d[_0xcfc3[81]]== _0x6c07x1e[_0xcfc3[23]][_0xcfc3[49]]){if(_0x6c07x1d[_0xcfc3[65]](_0xcfc3[82])&& _0x6c07x1d[_0xcfc3[82]]=== _0xcfc3[83]){_0x6c07x1e[_0xcfc3[69]](_0x6c07x1d,_0xcfc3[84])}}});OpenchannelAccount[_0xcfc3[86]](function(_0x6c07x1d){if(_0x6c07x1e[_0xcfc3[23]]&& _0x6c07x1d[_0xcfc3[49]]=== _0x6c07x1e[_0xcfc3[23]][_0xcfc3[49]]){_0x6c07x1e[_0xcfc3[85]](_0x6c07x1d)}});OpenchannelMessage[_0xcfc3[89]](function(_0x6c07x1d,_0x6c07x22){if(_0x6c07x1e[_0xcfc3[23]]&& _0x6c07x1e[_0xcfc3[23]][_0xcfc3[49]]== _0x6c07x1d[_0xcfc3[81]]){if(_0x6c07x1d[_0xcfc3[82]]=== _0xcfc3[87]){createAndStartRouting(_0x6c07x1d[_0xcfc3[63]]({plain:true}),_0x6c07x1e[_0xcfc3[23]])}else {_0x6c07x1e[_0xcfc3[88]](_0x6c07x1d,_0x6c07x22)}}})};Custom[_0xcfc3[57]][_0xcfc3[60]]= function(_0x6c07x1d){if(!_0x6c07x1d[_0xcfc3[65]](_0xcfc3[90])){console[_0xcfc3[22]](_0xcfc3[58]+ _0x6c07x1d[_0xcfc3[51]]+ _0xcfc3[91]);this[_0xcfc3[23]]= null;this[_0xcfc3[23]]= _0x6c07x1d}};Custom[_0xcfc3[57]][_0xcfc3[85]]= function(_0x6c07x1d){console[_0xcfc3[22]](_0xcfc3[92]+ _0x6c07x1d[_0xcfc3[51]]+ _0xcfc3[93]);this[_0xcfc3[23]]= null};Custom[_0xcfc3[57]][_0xcfc3[88]]= function(_0x6c07x23,_0x6c07x22){var _0x6c07x24=this[_0xcfc3[23]];var _0x6c07x25=_0x6c07x23;var _0x6c07x26;var _0x6c07x27;if(_0x6c07x25[_0xcfc3[82]]=== _0xcfc3[94]){return Promise[_0xcfc3[116]]([])[_0xcfc3[29]](getRoom(_0x6c07x25))[_0xcfc3[29]](function(_0x6c07x2a){_0x6c07x26= _0x6c07x2a;return _0x6c07x25[_0xcfc3[115]](_0x6c07x2a[_0xcfc3[49]])})[_0xcfc3[29]](function(){return _0x6c07x26[_0xcfc3[98]]({status:_0xcfc3[112],lastEvent:_0xcfc3[94],lastEventAt:moment()[_0xcfc3[47]](_0xcfc3[77]),openchannelOut:++_0x6c07x26[_0xcfc3[113]]},{individualHooks:true,user:_0x6c07x22[_0xcfc3[114]]})})[_0xcfc3[29]](function(_0x6c07x17){return Agent[_0xcfc3[31]](_0x6c07x25.UserId)})[_0xcfc3[29]](function(_0x6c07x29){_0x6c07x27= _0x6c07x29;return _0x6c07x26[_0xcfc3[111]](_0x6c07x27)})[_0xcfc3[29]](function(){console[_0xcfc3[22]](_0xcfc3[102]);if(_0x6c07x24[_0xcfc3[103]]&& _0x6c07x24[_0xcfc3[104]]){var _0x6c07x17={from:_0x6c07x25[_0xcfc3[53]],to:_0x6c07x25[_0xcfc3[105]],body:_0x6c07x25[_0xcfc3[106]],UserId:_0x6c07x25[_0xcfc3[107]],OpenchannelAccountId:_0x6c07x25[_0xcfc3[81]],OpenchannelRoomId:_0x6c07x25[_0xcfc3[50]]};return Util[_0xcfc3[108]](_0x6c07x17,_0x6c07x24[_0xcfc3[103]],_0x6c07x24[_0xcfc3[104]])}else {throw {name:_0xcfc3[109],message:_0xcfc3[110]}}})[_0xcfc3[29]](function(_0x6c07x28){console[_0xcfc3[22]](_0xcfc3[101]);return _0x6c07x25[_0xcfc3[28]]({status:_0xcfc3[100],res_data:JSON[_0xcfc3[99]](_0x6c07x28)})})[_0xcfc3[29]](function(){return _0x6c07x26[_0xcfc3[98]]({lastEvent:_0xcfc3[100],lastEventAt:moment()[_0xcfc3[47]](_0xcfc3[77])})})[_0xcfc3[67]](function(_0x6c07x20){console[_0xcfc3[22]](_0xcfc3[95],_0x6c07x20);_0x6c07x25[_0xcfc3[28]]({status:_0xcfc3[97],res_data:JSON[_0xcfc3[99]](_0x6c07x20)})[_0xcfc3[29]](function(){return _0x6c07x26[_0xcfc3[98]]({lastEvent:_0xcfc3[97],lastEventAt:moment()[_0xcfc3[47]](_0xcfc3[77])})})[_0xcfc3[67]](function(_0x6c07x20){console[_0xcfc3[22]](_0xcfc3[96])})})}};function getRoom(_0x6c07x25){return function(){if(_0x6c07x25[_0xcfc3[50]]){return OpenchannelRoom[_0xcfc3[31]](_0x6c07x25.OpenchannelRoomId)}else {return OpenchannelRoom[_0xcfc3[119]]({limit:1,where:{contact:_0x6c07x25[_0xcfc3[105]],OpenchannelAccountId:_0x6c07x25[_0xcfc3[81]]},order:[[_0xcfc3[117],_0xcfc3[118]]]})[_0xcfc3[29]](function(_0x6c07x2c){var _0x6c07x1b=_0x6c07x2c[0];if(!_0x6c07x1b|| _0x6c07x1b[_0xcfc3[82]]=== _0xcfc3[83]){var _0x6c07x2d=_0x6c07x1b?_0x6c07x1b[_0xcfc3[49]]:null;return OpenchannelRoom[_0xcfc3[35]]({contact:_0x6c07x25[_0xcfc3[105]],OpenchannelAccountId:_0x6c07x25[_0xcfc3[81]],status:_0xcfc3[112],ParentId:_0x6c07x2d})};return _0x6c07x1b})}}}function execRequest(_0x6c07x1d,_0x6c07x2f,_0x6c07x30){Util[_0xcfc3[108]](_0x6c07x1d,_0x6c07x2f,_0x6c07x30)[_0xcfc3[29]](function(_0x6c07x31){console[_0xcfc3[22]](_0xcfc3[121])})[_0xcfc3[67]](function(_0x6c07x20){console[_0xcfc3[22]](_0xcfc3[120])})}Custom[_0xcfc3[57]][_0xcfc3[69]]= function(_0x6c07x1d,_0x6c07x32){var _0x6c07x24=this[_0xcfc3[23]];switch(_0x6c07x32){case _0xcfc3[68]:if(_0x6c07x24[_0xcfc3[122]]&& _0x6c07x24[_0xcfc3[123]]){console[_0xcfc3[22]](_0xcfc3[124]+ _0x6c07x24[_0xcfc3[51]]+ _0xcfc3[125]);execRequest(_0x6c07x1d[_0xcfc3[126]],_0x6c07x24[_0xcfc3[122]],_0x6c07x24[_0xcfc3[123]])};if(_0x6c07x24[_0xcfc3[127]][_0xcfc3[27]]){_[_0xcfc3[130]](_0x6c07x24[_0xcfc3[127]],function(_0x6c07x33){if(_0x6c07x33[_0xcfc3[128]]){Util[_0xcfc3[129]](_0x6c07x33,_0x6c07x1d)}})};break;case _0xcfc3[80]:if(_0x6c07x24[_0xcfc3[131]]&& _0x6c07x24[_0xcfc3[132]]){console[_0xcfc3[22]](_0xcfc3[124]+ _0x6c07x24[_0xcfc3[51]]+ _0xcfc3[133]);execRequest(_0x6c07x1d[_0xcfc3[126]],_0x6c07x24[_0xcfc3[131]],_0x6c07x24[_0xcfc3[132]])};break;case _0xcfc3[84]:if(_0x6c07x24[_0xcfc3[134]]&& _0x6c07x24[_0xcfc3[135]]){console[_0xcfc3[22]](_0xcfc3[124]+ _0x6c07x24[_0xcfc3[51]]+ _0xcfc3[136]);execRequest(_0x6c07x1d[_0xcfc3[126]],_0x6c07x24[_0xcfc3[134]],_0x6c07x24[_0xcfc3[135]])};break;default:console[_0xcfc3[22]](_0xcfc3[137])}};module[_0xcfc3[138]]= Custom