1 var _0xfcc5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x72\x70\x63","\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x6C\x6F\x64\x61\x73\x68","\x6A\x61\x79\x73\x6F\x6E\x2F\x70\x72\x6F\x6D\x69\x73\x65","\x69\x6E\x63\x6C\x75\x64\x65","\x6C\x65\x6E\x67\x74\x68","\x6D\x6F\x64\x65\x6C","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x66\x69\x6E\x64","\x75\x70\x64\x61\x74\x65","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x63\x6F\x75\x6E\x74","\x53\x45\x4C\x45\x43\x54","\x51\x75\x65\x72\x79\x54\x79\x70\x65\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x71\x75\x65\x72\x79","\x73\x65\x72\x76\x65\x72","\x52\x50\x43\x20\x53\x65\x72\x76\x65\x72\x20\x72\x75\x6E\x6E\x69\x6E\x67\x2E\x2E\x2E","\x69\x6E\x66\x6F","\x72\x70\x63\x20\x73\x65\x72\x76\x65\x72\x20\x6C\x69\x73\x74\x65\x6E\x69\x6E\x67\x2E\x2E\x2E","\x73\x65\x6E\x64","\x6C\x69\x73\x74\x65\x6E","\x68\x74\x74\x70"];_0xfcc5[0];var db=require(_0xfcc5[1]);var logger=require(_0xfcc5[3])(_0xfcc5[2]);var _=require(_0xfcc5[4]);var jayson=require(_0xfcc5[5]);function traverseObject(_0xe6f0x6){if(_0xe6f0x6&& _0xe6f0x6[_0xfcc5[6]]){for(var _0xe6f0x7=0;_0xe6f0x7< _0xe6f0x6[_0xfcc5[6]][_0xfcc5[7]];_0xe6f0x7++){traverseObject(_0xe6f0x6[_0xfcc5[6]][_0xe6f0x7]);if(_0xe6f0x6[_0xfcc5[6]][_0xe6f0x7][_0xfcc5[8]]){_0xe6f0x6[_0xfcc5[6]][_0xe6f0x7][_0xfcc5[8]]= db[_0xe6f0x6[_0xfcc5[6]][_0xe6f0x7][_0xfcc5[8]]]}}}}var server=jayson[_0xfcc5[25]]({index:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[1]);db[_0xe6f0x9[0]][_0xfcc5[13]](_0xe6f0x9[1])[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},show:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[1]);db[_0xe6f0x9[0]][_0xfcc5[14]](_0xe6f0x9[1])[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},update:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[2]);db[_0xe6f0x9[0]][_0xfcc5[14]](_0xe6f0x9[2])[_0xfcc5[12]](function(_0xe6f0xc){if(_0xe6f0xc){return _0xe6f0xc[_0xfcc5[15]](_0xe6f0x9[1])}})[_0xfcc5[12]](function(_0xe6f0xc){if(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)}else {_0xe6f0xa(null,null)}})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},create:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[2]);db[_0xe6f0x9[0]][_0xfcc5[16]](_0xe6f0x9[1],_0xe6f0x9[2])[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},findOrCreate:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[1]);db[_0xe6f0x9[0]][_0xfcc5[17]](_0xe6f0x9[1])[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},bulkCreate:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[2]);db[_0xe6f0x9[0]][_0xfcc5[18]](_0xe6f0x9[1],_0xe6f0x9[2])[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},delete:function(_0xe6f0x9,_0xe6f0xa){try{traverseObject(_0xe6f0x9[1]);db[_0xe6f0x9[0]][_0xfcc5[14]](_0xe6f0x9[1])[_0xfcc5[12]](function(_0xe6f0xc){if(_0xe6f0xc){return _0xe6f0xc[_0xfcc5[19]]()}})[_0xfcc5[12]](function(_0xe6f0xc){if(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)}else {_0xe6f0xa(null,null)}})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},count:function(_0xe6f0x9,_0xe6f0xa){try{db[_0xe6f0x9[0]][_0xfcc5[20]](_0xe6f0x9[1])[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}},query:function(_0xe6f0x9,_0xe6f0xa){try{db[_0xfcc5[23]][_0xfcc5[24]](_0xe6f0x9[0],{type:db[_0xfcc5[23]][_0xfcc5[22]][_0xfcc5[21]]})[_0xfcc5[12]](function(_0xe6f0xc){_0xe6f0xa(null,_0xe6f0xc)})[_0xfcc5[11]](function(_0xe6f0xb){logger[_0xfcc5[10]](_0xe6f0xb[_0xfcc5[9]]);_0xe6f0xa(_0xe6f0xb)})}catch(err){logger[_0xfcc5[10]](err[_0xfcc5[9]]);_0xe6f0xa(err)}}});server[_0xfcc5[31]]()[_0xfcc5[30]](9001,function(){logger[_0xfcc5[27]](_0xfcc5[26]);process[_0xfcc5[29]]({message:_0xfcc5[28]})})