// * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
// * *
// *************************************************************************
-var _0x5200=['error','code','message','info','result','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../config/utils','../../config/logger','rpc','../../config/environment','client','http','request','then','JscriptyAnswerReport,\x20%s,\x20%s','request\x20sent','debug','JscriptyAnswerReport,\x20%s,\x20%s,\x20%s','stringify'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x5200,0x1e1));var _0x0520=function(_0x2bbad9,_0x1f3892){_0x2bbad9=_0x2bbad9-0x0;var _0x1683cb=_0x5200[_0x2bbad9];return _0x1683cb;};'use strict';var _=require(_0x0520('0x0'));var util=require(_0x0520('0x1'));var moment=require(_0x0520('0x2'));var BPromise=require(_0x0520('0x3'));var rs=require(_0x0520('0x4'));var fs=require('fs');var Redis=require(_0x0520('0x5'));var db=require('../../mysqldb')['db'];var utils=require(_0x0520('0x6'));var logger=require(_0x0520('0x7'))(_0x0520('0x8'));var config=require(_0x0520('0x9'));var jayson=require('jayson/promise');var client=jayson[_0x0520('0xa')][_0x0520('0xb')]({'port':0x232a});function respondWithRpcPromise(_0x420f3a,_0x348a68,_0x59eeb6){return new BPromise(function(_0x35f042,_0x4ecd6b){return client[_0x0520('0xc')](_0x420f3a,_0x59eeb6)[_0x0520('0xd')](function(_0xa84c21){logger['info'](_0x0520('0xe'),_0x348a68,_0x0520('0xf'));logger[_0x0520('0x10')](_0x0520('0x11'),_0x348a68,_0x0520('0xf'),JSON[_0x0520('0x12')](_0xa84c21));if(_0xa84c21[_0x0520('0x13')]){if(_0xa84c21['error'][_0x0520('0x14')]===0x1f4){logger['error'](_0x0520('0xe'),_0x348a68,_0xa84c21['error'][_0x0520('0x15')]);return _0x4ecd6b(_0xa84c21[_0x0520('0x13')][_0x0520('0x15')]);}logger[_0x0520('0x13')]('JscriptyAnswerReport,\x20%s,\x20%s',_0x348a68,_0xa84c21[_0x0520('0x13')]['message']);return _0x35f042(_0xa84c21['error'][_0x0520('0x15')]);}else{logger[_0x0520('0x16')](_0x0520('0xe'),_0x348a68,'request\x20sent');_0x35f042(_0xa84c21[_0x0520('0x17')][_0x0520('0x15')]);}})[_0x0520('0x18')](function(_0x46eee6){logger[_0x0520('0x13')](_0x0520('0xe'),_0x348a68,_0x46eee6);_0x4ecd6b(_0x46eee6);});});}
\ No newline at end of file
+var _0xecd6=['http','request','then','info','JscriptyAnswerReport,\x20%s,\x20%s','JscriptyAnswerReport,\x20%s,\x20%s,\x20%s','request\x20sent','stringify','error','message','catch','lodash','util','moment','bluebird','randomstring','ioredis','../../mysqldb','../../config/utils','rpc','../../config/environment','jayson/promise','client'];(function(_0x205329,_0x223a33){var _0x1594ab=function(_0x561afb){while(--_0x561afb){_0x205329['push'](_0x205329['shift']());}};_0x1594ab(++_0x223a33);}(_0xecd6,0x1ee));var _0x6ecd=function(_0x3cd58c,_0xdc02e5){_0x3cd58c=_0x3cd58c-0x0;var _0x42e24a=_0xecd6[_0x3cd58c];return _0x42e24a;};'use strict';var _=require(_0x6ecd('0x0'));var util=require(_0x6ecd('0x1'));var moment=require(_0x6ecd('0x2'));var BPromise=require(_0x6ecd('0x3'));var rs=require(_0x6ecd('0x4'));var fs=require('fs');var Redis=require(_0x6ecd('0x5'));var db=require(_0x6ecd('0x6'))['db'];var utils=require(_0x6ecd('0x7'));var logger=require('../../config/logger')(_0x6ecd('0x8'));var config=require(_0x6ecd('0x9'));var jayson=require(_0x6ecd('0xa'));var client=jayson[_0x6ecd('0xb')][_0x6ecd('0xc')]({'port':0x232a});function respondWithRpcPromise(_0x1ccb03,_0xac68d,_0x47f983){return new BPromise(function(_0x38ea78,_0xbca00d){return client[_0x6ecd('0xd')](_0x1ccb03,_0x47f983)[_0x6ecd('0xe')](function(_0x10684f){logger[_0x6ecd('0xf')](_0x6ecd('0x10'),_0xac68d,'request\x20sent');logger['debug'](_0x6ecd('0x11'),_0xac68d,_0x6ecd('0x12'),JSON[_0x6ecd('0x13')](_0x10684f));if(_0x10684f[_0x6ecd('0x14')]){if(_0x10684f[_0x6ecd('0x14')]['code']===0x1f4){logger[_0x6ecd('0x14')](_0x6ecd('0x10'),_0xac68d,_0x10684f['error']['message']);return _0xbca00d(_0x10684f[_0x6ecd('0x14')][_0x6ecd('0x15')]);}logger[_0x6ecd('0x14')](_0x6ecd('0x10'),_0xac68d,_0x10684f['error'][_0x6ecd('0x15')]);return _0x38ea78(_0x10684f['error'][_0x6ecd('0x15')]);}else{logger['info']('JscriptyAnswerReport,\x20%s,\x20%s',_0xac68d,_0x6ecd('0x12'));_0x38ea78(_0x10684f['result'][_0x6ecd('0x15')]);}})[_0x6ecd('0x16')](function(_0x4beeb0){logger[_0x6ecd('0x14')](_0x6ecd('0x10'),_0xac68d,_0x4beeb0);_0xbca00d(_0x4beeb0);});});}
\ No newline at end of file