Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / memberReport / memberReport.controller.js
index f7672bc..3bfcb6e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x92f2=['mustache','path','ejs','fs-extra','lodash','squel','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','sendStatus','status','json','count','offset','limit','set','Content-Range','reject','save','update','then','destroy','end','error','stack','name','send','map','MemberReport','fieldName','type','key','model','query','keys','filters','fields','attributes','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','findAll','rows','catch','show','rawAttributes','intersection','include','options','find','create','body','params','describe','eml-format','rimraf','request-promise','moment'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x92f2,0x1b2));var _0x292f=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x92f2[_0xbca1b1];return _0x4e1686;};'use strict';var emlformat=require(_0x292f('0x0'));var rimraf=require(_0x292f('0x1'));var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require(_0x292f('0x2'));var moment=require(_0x292f('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x292f('0x4'));var util=require('util');var path=require(_0x292f('0x5'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x292f('0x6'));var fs=require('fs');var fs_extra=require(_0x292f('0x7'));var _=require(_0x292f('0x8'));var squel=require(_0x292f('0x9'));var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require('desk.js');var toCsv=require(_0x292f('0xa'));var querystring=require(_0x292f('0xb'));var Papa=require(_0x292f('0xc'));var Redis=require(_0x292f('0xd'));var authService=require('../../components/auth/service');var qs=require(_0x292f('0xe'));var as=require(_0x292f('0xf'));var hardwareService=require(_0x292f('0x10'));var logger=require(_0x292f('0x11'))('api');var utils=require(_0x292f('0x12'));var config=require(_0x292f('0x13'));var licenseUtil=require(_0x292f('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x2e833b,_0x55590d){_0x55590d=_0x55590d||0xcc;return function(_0x23345a){if(_0x23345a){return _0x2e833b[_0x292f('0x15')](_0x55590d);}return _0x2e833b[_0x292f('0x16')](_0x55590d)['end']();};}function respondWithResult(_0x3a12eb,_0x171879){_0x171879=_0x171879||0xc8;return function(_0x500614){if(_0x500614){return _0x3a12eb[_0x292f('0x16')](_0x171879)[_0x292f('0x17')](_0x500614);}};}function respondWithFilteredResult(_0x12db79,_0x396ced){return function(_0x42bfe7){if(_0x42bfe7){var _0x18e7fe=_0x42bfe7[_0x292f('0x18')],_0x254a50=_0x396ced[_0x292f('0x19')],_0x3e0fae=_0x396ced['offset']+_0x396ced[_0x292f('0x1a')],_0x4d7040;if(_0x3e0fae>=_0x18e7fe){_0x3e0fae=_0x18e7fe;_0x4d7040=0xc8;}else{_0x4d7040=0xce;}_0x12db79['status'](_0x4d7040);return _0x12db79[_0x292f('0x1b')](_0x292f('0x1c'),_0x254a50+'-'+_0x3e0fae+'/'+_0x18e7fe)[_0x292f('0x17')](_0x42bfe7);}return null;};}function patchUpdates(_0x927067){return function(_0x221be7){try{jsonpatch['apply'](_0x221be7,_0x927067,!![]);}catch(_0x3f24b1){return BPromise[_0x292f('0x1d')](_0x3f24b1);}return _0x221be7[_0x292f('0x1e')]();};}function saveUpdates(_0xcdd95d,_0x4442b){return function(_0x48d4c1){if(_0x48d4c1){return _0x48d4c1[_0x292f('0x1f')](_0xcdd95d)[_0x292f('0x20')](function(_0x568217){return _0x568217;});}return null;};}function removeEntity(_0x14f22b,_0x1c8abe){return function(_0x1b114a){if(_0x1b114a){return _0x1b114a[_0x292f('0x21')]()[_0x292f('0x20')](function(){_0x14f22b['status'](0xcc)[_0x292f('0x22')]();});}};}function handleEntityNotFound(_0x48b6c2,_0x586876){return function(_0x11555b){if(!_0x11555b){_0x48b6c2[_0x292f('0x15')](0x194);}return _0x11555b;};}function handleError(_0xff66d7,_0x493f76){_0x493f76=_0x493f76||0x1f4;return function(_0x228292){logger[_0x292f('0x23')](_0x228292[_0x292f('0x24')]);if(_0x228292['name']){delete _0x228292[_0x292f('0x25')];}_0xff66d7[_0x292f('0x16')](_0x493f76)[_0x292f('0x26')](_0x228292);};}exports['index']=function(_0xa30fee,_0x35d297){var _0xc6f2bc={},_0x22284e={},_0x3b51dc={'count':0x0,'rows':[]};var _0x25020a=_[_0x292f('0x27')](db[_0x292f('0x28')]['rawAttributes'],function(_0x33d1a9){return{'name':_0x33d1a9[_0x292f('0x29')],'type':_0x33d1a9[_0x292f('0x2a')][_0x292f('0x2b')]};});_0x22284e[_0x292f('0x2c')]=_[_0x292f('0x27')](_0x25020a,'name');_0x22284e[_0x292f('0x2d')]=_[_0x292f('0x2e')](_0xa30fee[_0x292f('0x2d')]);_0x22284e[_0x292f('0x2f')]=_['intersection'](_0x22284e[_0x292f('0x2c')],_0x22284e[_0x292f('0x2d')]);_0xc6f2bc['attributes']=_['intersection'](_0x22284e[_0x292f('0x2c')],qs[_0x292f('0x30')](_0xa30fee[_0x292f('0x2d')][_0x292f('0x30')]));_0xc6f2bc[_0x292f('0x31')]=_0xc6f2bc[_0x292f('0x31')][_0x292f('0x32')]?_0xc6f2bc[_0x292f('0x31')]:_0x22284e[_0x292f('0x2c')];if(!_0xa30fee[_0x292f('0x2d')][_0x292f('0x33')](_0x292f('0x34'))){_0xc6f2bc['limit']=qs[_0x292f('0x1a')](_0xa30fee[_0x292f('0x2d')][_0x292f('0x1a')]);_0xc6f2bc[_0x292f('0x19')]=qs[_0x292f('0x19')](_0xa30fee[_0x292f('0x2d')][_0x292f('0x19')]);}_0xc6f2bc[_0x292f('0x35')]=qs[_0x292f('0x36')](_0xa30fee[_0x292f('0x2d')][_0x292f('0x36')]);_0xc6f2bc[_0x292f('0x37')]=qs['filters'](_[_0x292f('0x38')](_0xa30fee[_0x292f('0x2d')],_0x22284e[_0x292f('0x2f')]),_0x25020a);if(_0xa30fee[_0x292f('0x2d')][_0x292f('0x39')]){_0xc6f2bc[_0x292f('0x37')]=_[_0x292f('0x3a')](_0xc6f2bc[_0x292f('0x37')],{'$or':_['map'](_0x25020a,function(_0x3dae73){if(_0x3dae73['type']!==_0x292f('0x3b')){var _0x3c9aca={};_0x3c9aca[_0x3dae73[_0x292f('0x25')]]={'$like':'%'+_0xa30fee[_0x292f('0x2d')][_0x292f('0x39')]+'%'};return _0x3c9aca;}})});}_0xc6f2bc=_[_0x292f('0x3a')]({},_0xc6f2bc,_0xa30fee['options']);var _0x530c9d={'where':_0xc6f2bc[_0x292f('0x37')]};return db['MemberReport'][_0x292f('0x18')](_0x530c9d)[_0x292f('0x20')](function(_0x231ee0){_0x3b51dc['count']=_0x231ee0;if(_0xa30fee[_0x292f('0x2d')]['includeAll']){_0xc6f2bc['include']=[{'all':!![]}];}return db[_0x292f('0x28')][_0x292f('0x3c')](_0xc6f2bc);})[_0x292f('0x20')](function(_0x4efc8c){_0x3b51dc[_0x292f('0x3d')]=_0x4efc8c;return _0x3b51dc;})[_0x292f('0x20')](respondWithFilteredResult(_0x35d297,_0xc6f2bc))[_0x292f('0x3e')](handleError(_0x35d297,null));};exports[_0x292f('0x3f')]=function(_0x3c4cfc,_0x1c03fe){var _0x1f1aaf={'raw':!![],'where':{'id':_0x3c4cfc['params']['id']}},_0x26166f={};_0x26166f[_0x292f('0x2c')]=_['keys'](db[_0x292f('0x28')][_0x292f('0x40')]);_0x26166f[_0x292f('0x2d')]=_[_0x292f('0x2e')](_0x3c4cfc[_0x292f('0x2d')]);_0x26166f[_0x292f('0x2f')]=_[_0x292f('0x41')](_0x26166f['model'],_0x26166f[_0x292f('0x2d')]);_0x1f1aaf[_0x292f('0x31')]=_[_0x292f('0x41')](_0x26166f[_0x292f('0x2c')],qs[_0x292f('0x30')](_0x3c4cfc[_0x292f('0x2d')][_0x292f('0x30')]));_0x1f1aaf[_0x292f('0x31')]=_0x1f1aaf['attributes'][_0x292f('0x32')]?_0x1f1aaf[_0x292f('0x31')]:_0x26166f['model'];if(_0x3c4cfc['query']['includeAll']){_0x1f1aaf[_0x292f('0x42')]=[{'all':!![]}];}_0x1f1aaf=_[_0x292f('0x3a')]({},_0x1f1aaf,_0x3c4cfc[_0x292f('0x43')]);return db[_0x292f('0x28')][_0x292f('0x44')](_0x1f1aaf)[_0x292f('0x20')](handleEntityNotFound(_0x1c03fe,null))['then'](respondWithResult(_0x1c03fe,null))[_0x292f('0x3e')](handleError(_0x1c03fe,null));};exports[_0x292f('0x45')]=function(_0xb907cf,_0x4c49dd){return db[_0x292f('0x28')]['create'](_0xb907cf[_0x292f('0x46')],{})[_0x292f('0x20')](respondWithResult(_0x4c49dd,0xc9))['catch'](handleError(_0x4c49dd,null));};exports[_0x292f('0x1f')]=function(_0x5b23b3,_0x4c08c2){if(_0x5b23b3['body']['id']){delete _0x5b23b3[_0x292f('0x46')]['id'];}return db[_0x292f('0x28')][_0x292f('0x44')]({'where':{'id':_0x5b23b3[_0x292f('0x47')]['id']}})['then'](handleEntityNotFound(_0x4c08c2,null))['then'](saveUpdates(_0x5b23b3[_0x292f('0x46')],null))[_0x292f('0x20')](respondWithResult(_0x4c08c2,null))[_0x292f('0x3e')](handleError(_0x4c08c2,null));};exports[_0x292f('0x21')]=function(_0x3194aa,_0x434332){return db[_0x292f('0x28')]['find']({'where':{'id':_0x3194aa['params']['id']}})[_0x292f('0x20')](handleEntityNotFound(_0x434332,null))[_0x292f('0x20')](removeEntity(_0x434332,null))['catch'](handleError(_0x434332,null));};exports['describe']=function(_0x65a0e4,_0x363081){return db[_0x292f('0x28')][_0x292f('0x48')]()['then'](respondWithResult(_0x363081,null))[_0x292f('0x3e')](handleError(_0x363081,null));};
\ No newline at end of file
+var _0xf3c1=['../../config/license/util','../../mysqldb','status','end','json','count','offset','limit','set','apply','reject','save','then','destroy','sendStatus','error','stack','name','index','map','MemberReport','rawAttributes','fieldName','key','model','query','filters','attributes','intersection','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','type','VIRTUAL','includeAll','include','findAll','catch','show','keys','fields','options','create','body','update','find','params','describe','rimraf','zip-dir','fast-json-patch','moment','mustache','util','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/logger','api','../../config/utils','../../config/environment'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xf3c1,0x120));var _0x1f3c=function(_0x2beb70,_0x264e7a){_0x2beb70=_0x2beb70-0x0;var _0x4975b9=_0xf3c1[_0x2beb70];return _0x4975b9;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x1f3c('0x0'));var zipdir=require(_0x1f3c('0x1'));var jsonpatch=require(_0x1f3c('0x2'));var rp=require('request-promise');var moment=require(_0x1f3c('0x3'));var BPromise=require('bluebird');var Mustache=require(_0x1f3c('0x4'));var util=require(_0x1f3c('0x5'));var path=require(_0x1f3c('0x6'));var sox=require(_0x1f3c('0x7'));var csv=require(_0x1f3c('0x8'));var ejs=require(_0x1f3c('0x9'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0x1f3c('0xa'));var squel=require('squel');var crypto=require(_0x1f3c('0xb'));var jsforce=require(_0x1f3c('0xc'));var deskjs=require(_0x1f3c('0xd'));var toCsv=require('to-csv');var querystring=require(_0x1f3c('0xe'));var Papa=require(_0x1f3c('0xf'));var Redis=require(_0x1f3c('0x10'));var authService=require(_0x1f3c('0x11'));var qs=require(_0x1f3c('0x12'));var as=require(_0x1f3c('0x13'));var hardwareService=require('../../config/license/hardware');var logger=require(_0x1f3c('0x14'))(_0x1f3c('0x15'));var utils=require(_0x1f3c('0x16'));var config=require(_0x1f3c('0x17'));var licenseUtil=require(_0x1f3c('0x18'));var db=require(_0x1f3c('0x19'))['db'];function respondWithStatusCode(_0x4923b2,_0x29c457){_0x29c457=_0x29c457||0xcc;return function(_0x34a3f8){if(_0x34a3f8){return _0x4923b2['sendStatus'](_0x29c457);}return _0x4923b2[_0x1f3c('0x1a')](_0x29c457)[_0x1f3c('0x1b')]();};}function respondWithResult(_0x41e9f6,_0x40849b){_0x40849b=_0x40849b||0xc8;return function(_0x2cfbfd){if(_0x2cfbfd){return _0x41e9f6['status'](_0x40849b)[_0x1f3c('0x1c')](_0x2cfbfd);}};}function respondWithFilteredResult(_0x3c6a7f,_0x304d19){return function(_0x163c08){if(_0x163c08){var _0x37929a=_0x163c08[_0x1f3c('0x1d')],_0x9bc13=_0x304d19[_0x1f3c('0x1e')],_0x478a98=_0x304d19['offset']+_0x304d19[_0x1f3c('0x1f')],_0x5c963d;if(_0x478a98>=_0x37929a){_0x478a98=_0x37929a;_0x5c963d=0xc8;}else{_0x5c963d=0xce;}_0x3c6a7f[_0x1f3c('0x1a')](_0x5c963d);return _0x3c6a7f[_0x1f3c('0x20')]('Content-Range',_0x9bc13+'-'+_0x478a98+'/'+_0x37929a)['json'](_0x163c08);}return null;};}function patchUpdates(_0x4416c5){return function(_0x4c13b4){try{jsonpatch[_0x1f3c('0x21')](_0x4c13b4,_0x4416c5,!![]);}catch(_0x245a84){return BPromise[_0x1f3c('0x22')](_0x245a84);}return _0x4c13b4[_0x1f3c('0x23')]();};}function saveUpdates(_0x485e44,_0x1efc69){return function(_0x395d78){if(_0x395d78){return _0x395d78['update'](_0x485e44)[_0x1f3c('0x24')](function(_0x563418){return _0x563418;});}return null;};}function removeEntity(_0x1b7fbe,_0x26ada6){return function(_0x4f73d3){if(_0x4f73d3){return _0x4f73d3[_0x1f3c('0x25')]()[_0x1f3c('0x24')](function(){_0x1b7fbe[_0x1f3c('0x1a')](0xcc)[_0x1f3c('0x1b')]();});}};}function handleEntityNotFound(_0xae6424,_0x543ee7){return function(_0x1c7b34){if(!_0x1c7b34){_0xae6424[_0x1f3c('0x26')](0x194);}return _0x1c7b34;};}function handleError(_0x2ba72d,_0x108c5f){_0x108c5f=_0x108c5f||0x1f4;return function(_0x17696c){logger[_0x1f3c('0x27')](_0x17696c[_0x1f3c('0x28')]);if(_0x17696c[_0x1f3c('0x29')]){delete _0x17696c[_0x1f3c('0x29')];}_0x2ba72d[_0x1f3c('0x1a')](_0x108c5f)['send'](_0x17696c);};}exports[_0x1f3c('0x2a')]=function(_0x98801b,_0x1a83cc){var _0x146be8={},_0x2b802e={},_0x8e4401={'count':0x0,'rows':[]};var _0x4f3cc8=_[_0x1f3c('0x2b')](db[_0x1f3c('0x2c')][_0x1f3c('0x2d')],function(_0x3a0807){return{'name':_0x3a0807[_0x1f3c('0x2e')],'type':_0x3a0807['type'][_0x1f3c('0x2f')]};});_0x2b802e[_0x1f3c('0x30')]=_['map'](_0x4f3cc8,_0x1f3c('0x29'));_0x2b802e[_0x1f3c('0x31')]=_['keys'](_0x98801b['query']);_0x2b802e[_0x1f3c('0x32')]=_['intersection'](_0x2b802e[_0x1f3c('0x30')],_0x2b802e[_0x1f3c('0x31')]);_0x146be8[_0x1f3c('0x33')]=_[_0x1f3c('0x34')](_0x2b802e[_0x1f3c('0x30')],qs['fields'](_0x98801b['query']['fields']));_0x146be8[_0x1f3c('0x33')]=_0x146be8[_0x1f3c('0x33')][_0x1f3c('0x35')]?_0x146be8[_0x1f3c('0x33')]:_0x2b802e[_0x1f3c('0x30')];if(!_0x98801b[_0x1f3c('0x31')][_0x1f3c('0x36')](_0x1f3c('0x37'))){_0x146be8[_0x1f3c('0x1f')]=qs[_0x1f3c('0x1f')](_0x98801b[_0x1f3c('0x31')][_0x1f3c('0x1f')]);_0x146be8[_0x1f3c('0x1e')]=qs['offset'](_0x98801b['query']['offset']);}_0x146be8[_0x1f3c('0x38')]=qs[_0x1f3c('0x39')](_0x98801b[_0x1f3c('0x31')]['sort']);_0x146be8['where']=qs[_0x1f3c('0x32')](_[_0x1f3c('0x3a')](_0x98801b[_0x1f3c('0x31')],_0x2b802e[_0x1f3c('0x32')]),_0x4f3cc8);if(_0x98801b[_0x1f3c('0x31')][_0x1f3c('0x3b')]){_0x146be8[_0x1f3c('0x3c')]=_[_0x1f3c('0x3d')](_0x146be8['where'],{'$or':_[_0x1f3c('0x2b')](_0x4f3cc8,function(_0xdeba71){if(_0xdeba71[_0x1f3c('0x3e')]!==_0x1f3c('0x3f')){var _0xd57df4={};_0xd57df4[_0xdeba71['name']]={'$like':'%'+_0x98801b[_0x1f3c('0x31')]['filter']+'%'};return _0xd57df4;}})});}_0x146be8=_[_0x1f3c('0x3d')]({},_0x146be8,_0x98801b['options']);var _0x4671c8={'where':_0x146be8['where']};return db[_0x1f3c('0x2c')][_0x1f3c('0x1d')](_0x4671c8)[_0x1f3c('0x24')](function(_0x2ced77){_0x8e4401[_0x1f3c('0x1d')]=_0x2ced77;if(_0x98801b[_0x1f3c('0x31')][_0x1f3c('0x40')]){_0x146be8[_0x1f3c('0x41')]=[{'all':!![]}];}return db[_0x1f3c('0x2c')][_0x1f3c('0x42')](_0x146be8);})[_0x1f3c('0x24')](function(_0x48fcad){_0x8e4401['rows']=_0x48fcad;return _0x8e4401;})['then'](respondWithFilteredResult(_0x1a83cc,_0x146be8))[_0x1f3c('0x43')](handleError(_0x1a83cc,null));};exports[_0x1f3c('0x44')]=function(_0x17b60c,_0x5a11a1){var _0x2d77c4={'raw':!![],'where':{'id':_0x17b60c['params']['id']}},_0x1dcc63={};_0x1dcc63[_0x1f3c('0x30')]=_[_0x1f3c('0x45')](db[_0x1f3c('0x2c')][_0x1f3c('0x2d')]);_0x1dcc63[_0x1f3c('0x31')]=_[_0x1f3c('0x45')](_0x17b60c[_0x1f3c('0x31')]);_0x1dcc63[_0x1f3c('0x32')]=_[_0x1f3c('0x34')](_0x1dcc63[_0x1f3c('0x30')],_0x1dcc63[_0x1f3c('0x31')]);_0x2d77c4['attributes']=_[_0x1f3c('0x34')](_0x1dcc63[_0x1f3c('0x30')],qs[_0x1f3c('0x46')](_0x17b60c[_0x1f3c('0x31')][_0x1f3c('0x46')]));_0x2d77c4[_0x1f3c('0x33')]=_0x2d77c4['attributes'][_0x1f3c('0x35')]?_0x2d77c4['attributes']:_0x1dcc63[_0x1f3c('0x30')];if(_0x17b60c[_0x1f3c('0x31')][_0x1f3c('0x40')]){_0x2d77c4[_0x1f3c('0x41')]=[{'all':!![]}];}_0x2d77c4=_['merge']({},_0x2d77c4,_0x17b60c[_0x1f3c('0x47')]);return db[_0x1f3c('0x2c')]['find'](_0x2d77c4)[_0x1f3c('0x24')](handleEntityNotFound(_0x5a11a1,null))[_0x1f3c('0x24')](respondWithResult(_0x5a11a1,null))['catch'](handleError(_0x5a11a1,null));};exports[_0x1f3c('0x48')]=function(_0x2be8d0,_0x2c4ecf){return db[_0x1f3c('0x2c')][_0x1f3c('0x48')](_0x2be8d0[_0x1f3c('0x49')],{})[_0x1f3c('0x24')](respondWithResult(_0x2c4ecf,0xc9))[_0x1f3c('0x43')](handleError(_0x2c4ecf,null));};exports[_0x1f3c('0x4a')]=function(_0x29aedb,_0x4aa24a){if(_0x29aedb[_0x1f3c('0x49')]['id']){delete _0x29aedb['body']['id'];}return db['MemberReport'][_0x1f3c('0x4b')]({'where':{'id':_0x29aedb[_0x1f3c('0x4c')]['id']}})[_0x1f3c('0x24')](handleEntityNotFound(_0x4aa24a,null))[_0x1f3c('0x24')](saveUpdates(_0x29aedb[_0x1f3c('0x49')],null))['then'](respondWithResult(_0x4aa24a,null))[_0x1f3c('0x43')](handleError(_0x4aa24a,null));};exports['destroy']=function(_0x367a38,_0x554d06){return db[_0x1f3c('0x2c')][_0x1f3c('0x4b')]({'where':{'id':_0x367a38[_0x1f3c('0x4c')]['id']}})[_0x1f3c('0x24')](handleEntityNotFound(_0x554d06,null))['then'](removeEntity(_0x554d06,null))[_0x1f3c('0x43')](handleError(_0x554d06,null));};exports[_0x1f3c('0x4d')]=function(_0x3ef9c1,_0x1dcacf){return db[_0x1f3c('0x2c')][_0x1f3c('0x4d')]()[_0x1f3c('0x24')](respondWithResult(_0x1dcacf,null))['catch'](handleError(_0x1dcacf,null));};
\ No newline at end of file