Built motion from commit 2238b68.|1.0.18
[motion.git] / server / config / forked_routing / mail / index.js
index 21adada..9b2ba98 100644 (file)
@@ -1 +1 @@
-var _0x3cc6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x72\x65\x64\x69\x73","\x61\x73\x79\x6E\x63","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x64\x69\x73\x50\x77\x64","\x69\x70","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F\x2D\x65\x6D\x69\x74\x74\x65\x72","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x45\x4E\x44\x20\x53\x43\x48\x45\x44\x55\x4C\x45\x52\x20\x49\x4E\x53\x54\x41\x4E\x43\x45\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64\x20\x28\x45\x52\x52\x4F\x52\x29","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x65\x78\x69\x74","\x45\x4E\x44\x20\x53\x43\x48\x45\x44\x55\x4C\x45\x52\x20\x49\x4E\x53\x54\x41\x4E\x43\x45\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64\x20\x28\x4E\x4F\x20\x41\x4E\x53\x57\x45\x52\x29","\x69\x6E\x66\x6F","\x73\x65\x72\x69\x65\x73","\x74\x68\x65\x6E","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x73\x70\x6C\x69\x74\x49\x6E\x74\x65\x72\x76\x61\x6C","\x69\x73\x56\x61\x6C\x69\x64\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x6F\x6D\x65","\x2E\x2F\x25\x73","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x70\x70","\x70\x75\x73\x68","\x43\x52\x45\x41\x54\x45\x20\x53\x43\x48\x45\x44\x55\x4C\x45\x52\x20\x49\x4E\x53\x54\x41\x4E\x43\x45\x20\x46\x4F\x52\x20\x41\x43\x43\x4F\x55\x4E\x54\x20\x25\x73\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x49\x44\x20\x25\x64","\x6E\x61\x6D\x65","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x6E\x63\x61\x75\x67\x68\x74\x45\x78\x63\x65\x70\x74\x69\x6F\x6E","\x6F\x6E","\x6D\x65\x73\x73\x61\x67\x65","\x53\x54\x41\x52\x54\x20\x52\x4F\x55\x54\x49\x4E\x47\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64","\x70\x61\x72\x61\x6D\x31","\x70\x61\x72\x61\x6D\x32","\x73\x74\x61\x72\x74","\x53\x54\x4F\x50\x20\x52\x4F\x55\x54\x49\x4E\x47\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64\x20\x28\x41\x43\x43\x45\x50\x54\x45\x44\x20\x42\x59\x20\x41\x47\x45\x4E\x54\x20\x25\x73\x29","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x73\x74\x6F\x70","\x74\x79\x70\x65"];_0x3cc6[0];var _data;var _message;var _callback;var _series=[];var _=require(_0x3cc6[1]);var util=require(_0x3cc6[2]);var redis=require(_0x3cc6[3]);var async=require(_0x3cc6[4]);var MyUtil=require(_0x3cc6[5]);var Account=require(_0x3cc6[7])[_0x3cc6[6]];var Interval=require(_0x3cc6[7])[_0x3cc6[8]];var config=require(_0x3cc6[9]);var redisConf;if(config[_0x3cc6[10]]){redisConf= {password:config[_0x3cc6[10]]}};var redisClient=redis[_0x3cc6[12]](6379,config[_0x3cc6[11]],redisConf);var io=require(_0x3cc6[13])(redisClient);function start(){return Account[_0x3cc6[41]](_data[_0x3cc6[39]],{attributes:[_0x3cc6[40],_0x3cc6[35]]})[_0x3cc6[23]](function(_0x7e6ax18){console[_0x3cc6[21]](util[_0x3cc6[18]](_0x3cc6[34],_0x7e6ax18[_0x3cc6[35]],_data[_0x3cc6[17]]));return _0x7e6ax18[_0x3cc6[38]]({order:_0x3cc6[36],include:[{model:Interval,attributes:[_0x3cc6[26]],include:[{model:Interval,as:_0x3cc6[37],attributes:[_0x3cc6[26]]}]}]})})[_0x3cc6[23]](function(_0x7e6ax12){for(var _0x7e6ax13=0;_0x7e6ax13< _0x7e6ax12[_0x3cc6[24]];_0x7e6ax13++){var _0x7e6ax14=false;var _0x7e6ax15=_0x7e6ax12[_0x7e6ax13][_0x3cc6[25]]({plain:true});if(_0x7e6ax15[_0x3cc6[8]]){if(_[_0x3cc6[29]](_0x7e6ax15[_0x3cc6[8]].SubIntervals,function(_0x7e6ax16){return MyUtil[_0x3cc6[28]](MyUtil[_0x3cc6[27]](_0x7e6ax16[_0x3cc6[26]]))})){_0x7e6ax14= true}}else {if(_0x7e6ax15[_0x3cc6[26]]){if(MyUtil[_0x3cc6[28]](MyUtil[_0x3cc6[27]](_0x7e6ax15[_0x3cc6[26]]))){_0x7e6ax14= true}}};if(_0x7e6ax14){_series[_0x3cc6[33]]((function(_0x7e6ax15,_data,_message,io){return function(_0x7e6ax17){require(util[_0x3cc6[18]](_0x3cc6[30],_0x7e6ax15[_0x3cc6[32]][_0x3cc6[31]]()))(_0x7e6ax15,_data,_message,io,_0x7e6ax17)}})(_0x7e6ax15,_data,_message,io))}}})[_0x3cc6[23]](function(){async[_0x3cc6[22]](_series,function(_0x7e6ax11){if(_0x7e6ax11){console[_0x3cc6[14]](util[_0x3cc6[18]](_0x3cc6[16],_data[_0x3cc6[17]]));console[_0x3cc6[14]](_0x7e6ax11);process[_0x3cc6[19]](0)}else {console[_0x3cc6[21]](util[_0x3cc6[18]](_0x3cc6[20],_data[_0x3cc6[17]]));process[_0x3cc6[19]](1)}})})[_0x3cc6[15]](function(_0x7e6ax11){console[_0x3cc6[14]](_0x7e6ax11)})}process[_0x3cc6[43]](_0x3cc6[42],function(_0x7e6ax11){if(_0x7e6ax11){console[_0x3cc6[14]](_0x7e6ax11)}});process[_0x3cc6[43]](_0x3cc6[44],function(_0x7e6ax19){switch(_0x7e6ax19[_0x3cc6[52]]){case _0x3cc6[48]:console[_0x3cc6[21]](util[_0x3cc6[18]](_0x3cc6[45],_0x7e6ax19[_0x3cc6[46]][_0x3cc6[17]]));_data= _0x7e6ax19[_0x3cc6[46]];_message= _0x7e6ax19[_0x3cc6[47]];start();break;case _0x3cc6[51]:console[_0x3cc6[21]](util[_0x3cc6[18]](_0x3cc6[49],_data[_0x3cc6[17]],_0x7e6ax19[_0x3cc6[50]]));process[_0x3cc6[19]](0);break;default:}})
\ No newline at end of file
+var _0x4f70=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x72\x65\x64\x69\x73","\x61\x73\x79\x6E\x63","\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x72\x65\x64\x69\x73\x50\x77\x64","\x69\x70","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x65\x6E\x74","\x73\x6F\x63\x6B\x65\x74\x2E\x69\x6F\x2D\x65\x6D\x69\x74\x74\x65\x72","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x45\x4E\x44\x20\x53\x43\x48\x45\x44\x55\x4C\x45\x52\x20\x49\x4E\x53\x54\x41\x4E\x43\x45\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64\x20\x28\x45\x52\x52\x4F\x52\x29","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x66\x6F\x72\x6D\x61\x74","\x65\x78\x69\x74","\x45\x4E\x44\x20\x53\x43\x48\x45\x44\x55\x4C\x45\x52\x20\x49\x4E\x53\x54\x41\x4E\x43\x45\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64\x20\x28\x4E\x4F\x20\x41\x4E\x53\x57\x45\x52\x29","\x69\x6E\x66\x6F","\x73\x65\x72\x69\x65\x73","\x74\x68\x65\x6E","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74","\x69\x6E\x74\x65\x72\x76\x61\x6C","\x73\x70\x6C\x69\x74\x49\x6E\x74\x65\x72\x76\x61\x6C","\x69\x73\x56\x61\x6C\x69\x64\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x6F\x6D\x65","\x2E\x2F\x25\x73","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x70\x70","\x70\x75\x73\x68","\x43\x52\x45\x41\x54\x45\x20\x53\x43\x48\x45\x44\x55\x4C\x45\x52\x20\x49\x4E\x53\x54\x41\x4E\x43\x45\x20\x46\x4F\x52\x20\x41\x43\x43\x4F\x55\x4E\x54\x20\x25\x73\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x49\x44\x20\x25\x64","\x6E\x61\x6D\x65","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x70\x72\x69\x6F\x72\x69\x74\x79\x20\x41\x53\x43","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x67\x65\x74\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x61\x63\x63\x6F\x75\x6E\x74\x69\x64","\x69\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x6E\x63\x61\x75\x67\x68\x74\x45\x78\x63\x65\x70\x74\x69\x6F\x6E","\x6F\x6E","\x6D\x65\x73\x73\x61\x67\x65","\x53\x54\x41\x52\x54\x20\x52\x4F\x55\x54\x49\x4E\x47\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64","\x70\x61\x72\x61\x6D\x31","\x70\x61\x72\x61\x6D\x32","\x73\x74\x61\x72\x74","\x53\x54\x4F\x50\x20\x52\x4F\x55\x54\x49\x4E\x47\x20\x46\x4F\x52\x20\x4D\x41\x49\x4C\x20\x4D\x45\x53\x53\x41\x47\x45\x20\x25\x64\x20\x28\x41\x43\x43\x45\x50\x54\x45\x44\x20\x42\x59\x20\x41\x47\x45\x4E\x54\x20\x25\x73\x29","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x73\x74\x6F\x70","\x74\x79\x70\x65"];_0x4f70[0];var _data;var _message;var _callback;var _series=[];var _=require(_0x4f70[1]);var util=require(_0x4f70[2]);var redis=require(_0x4f70[3]);var async=require(_0x4f70[4]);var logger=require(_0x4f70[6])(_0x4f70[5]);var MyUtil=require(_0x4f70[7]);var Account=require(_0x4f70[9])[_0x4f70[8]];var Interval=require(_0x4f70[9])[_0x4f70[10]];var config=require(_0x4f70[11]);var redisConf;if(config[_0x4f70[12]]){redisConf= {password:config[_0x4f70[12]]}};var redisClient=redis[_0x4f70[14]](6379,config[_0x4f70[13]],redisConf);var io=require(_0x4f70[15])(redisClient);function start(){return Account[_0x4f70[43]](_data[_0x4f70[41]],{attributes:[_0x4f70[42],_0x4f70[37]]})[_0x4f70[25]](function(_0xf68cx19){logger[_0x4f70[23]](util[_0x4f70[20]](_0x4f70[36],_0xf68cx19[_0x4f70[37]],_data[_0x4f70[19]]));return _0xf68cx19[_0x4f70[40]]({order:_0x4f70[38],include:[{model:Interval,attributes:[_0x4f70[28]],include:[{model:Interval,as:_0x4f70[39],attributes:[_0x4f70[28]]}]}]})})[_0x4f70[25]](function(_0xf68cx13){for(var _0xf68cx14=0;_0xf68cx14< _0xf68cx13[_0x4f70[26]];_0xf68cx14++){var _0xf68cx15=false;var _0xf68cx16=_0xf68cx13[_0xf68cx14][_0x4f70[27]]({plain:true});if(_0xf68cx16[_0x4f70[10]]){if(_[_0x4f70[31]](_0xf68cx16[_0x4f70[10]].SubIntervals,function(_0xf68cx17){return MyUtil[_0x4f70[30]](MyUtil[_0x4f70[29]](_0xf68cx17[_0x4f70[28]]))})){_0xf68cx15= true}}else {if(_0xf68cx16[_0x4f70[28]]){if(MyUtil[_0x4f70[30]](MyUtil[_0x4f70[29]](_0xf68cx16[_0x4f70[28]]))){_0xf68cx15= true}}};if(_0xf68cx15){_series[_0x4f70[35]]((function(_0xf68cx16,_data,_message,io){return function(_0xf68cx18){require(util[_0x4f70[20]](_0x4f70[32],_0xf68cx16[_0x4f70[34]][_0x4f70[33]]()))(_0xf68cx16,_data,_message,io,_0xf68cx18)}})(_0xf68cx16,_data,_message,io))}}})[_0x4f70[25]](function(){async[_0x4f70[24]](_series,function(_0xf68cx12){if(_0xf68cx12){console[_0x4f70[16]](util[_0x4f70[20]](_0x4f70[18],_data[_0x4f70[19]]));console[_0x4f70[16]](_0xf68cx12);process[_0x4f70[21]](0)}else {logger[_0x4f70[23]](util[_0x4f70[20]](_0x4f70[22],_data[_0x4f70[19]]));process[_0x4f70[21]](1)}})})[_0x4f70[17]](function(_0xf68cx12){console[_0x4f70[16]](_0xf68cx12)})}process[_0x4f70[45]](_0x4f70[44],function(_0xf68cx12){if(_0xf68cx12){console[_0x4f70[16]](_0xf68cx12)}});process[_0x4f70[45]](_0x4f70[46],function(_0xf68cx1a){switch(_0xf68cx1a[_0x4f70[54]]){case _0x4f70[50]:logger[_0x4f70[23]](util[_0x4f70[20]](_0x4f70[47],_0xf68cx1a[_0x4f70[48]][_0x4f70[19]]));_data= _0xf68cx1a[_0x4f70[48]];_message= _0xf68cx1a[_0x4f70[49]];start();break;case _0x4f70[53]:logger[_0x4f70[23]](util[_0x4f70[20]](_0x4f70[51],_data[_0x4f70[19]],_0xf68cx1a[_0x4f70[52]]));process[_0x4f70[21]](0);break;default:}})
\ No newline at end of file