Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / jscriptyAnswerReport / jscriptyAnswerReport.controller.js
index d1a4f8d..558b113 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2975=['pick','filter','merge','options','include','findAll','rows','show','params','find','catch','create','body','destroy','describe','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','offset','undefined','limit','count','Content-Range','json','reject','update','then','end','error','stack','name','send','index','map','JscriptyAnswerReport','rawAttributes','fieldName','type','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','order','sort'];(function(_0x2b4411,_0x2625ed){var _0x8e41ef=function(_0x2aa8c1){while(--_0x2aa8c1){_0x2b4411['push'](_0x2b4411['shift']());}};_0x8e41ef(++_0x2625ed);}(_0x2975,0x1c5));var _0x5297=function(_0xdc7816,_0x47e8bd){_0xdc7816=_0xdc7816-0x0;var _0x270591=_0x2975[_0xdc7816];return _0x270591;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x5297('0x0'));var zipdir=require(_0x5297('0x1'));var jsonpatch=require(_0x5297('0x2'));var rp=require(_0x5297('0x3'));var moment=require(_0x5297('0x4'));var BPromise=require(_0x5297('0x5'));var Mustache=require('mustache');var util=require('util');var path=require('path');var sox=require(_0x5297('0x6'));var csv=require(_0x5297('0x7'));var ejs=require(_0x5297('0x8'));var fs=require('fs');var fs_extra=require(_0x5297('0x9'));var _=require(_0x5297('0xa'));var squel=require(_0x5297('0xb'));var crypto=require(_0x5297('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x5297('0xd'));var toCsv=require(_0x5297('0x7'));var querystring=require(_0x5297('0xe'));var Papa=require(_0x5297('0xf'));var Redis=require(_0x5297('0x10'));var authService=require('../../components/auth/service');var qs=require(_0x5297('0x11'));var as=require(_0x5297('0x12'));var hardwareService=require(_0x5297('0x13'));var logger=require('../../config/logger')(_0x5297('0x14'));var utils=require(_0x5297('0x15'));var config=require(_0x5297('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0x5297('0x17'))['db'];function respondWithStatusCode(_0x21bef8,_0x491fec){_0x491fec=_0x491fec||0xcc;return function(_0x594191){if(_0x594191){return _0x21bef8[_0x5297('0x18')](_0x491fec);}return _0x21bef8[_0x5297('0x19')](_0x491fec)['end']();};}function respondWithResult(_0x7e3417,_0x5b1a97){_0x5b1a97=_0x5b1a97||0xc8;return function(_0x253b83){if(_0x253b83){return _0x7e3417[_0x5297('0x19')](_0x5b1a97)['json'](_0x253b83);}};}function respondWithFilteredResult(_0x96304b,_0x1e5499){return function(_0x15e2e1){if(_0x15e2e1){var _0x40afca=typeof _0x1e5499[_0x5297('0x1a')]===_0x5297('0x1b')&&typeof _0x1e5499[_0x5297('0x1c')]===_0x5297('0x1b');var _0x4ae2fe=_0x15e2e1[_0x5297('0x1d')];var _0x136461=_0x40afca?0x0:_0x1e5499[_0x5297('0x1a')];var _0x38f106=_0x40afca?_0x15e2e1['count']:_0x1e5499[_0x5297('0x1a')]+_0x1e5499[_0x5297('0x1c')];var _0x52286c;if(_0x38f106>=_0x4ae2fe){_0x38f106=_0x4ae2fe;_0x52286c=0xc8;}else{_0x52286c=0xce;}_0x96304b[_0x5297('0x19')](_0x52286c);return _0x96304b['set'](_0x5297('0x1e'),_0x136461+'-'+_0x38f106+'/'+_0x4ae2fe)[_0x5297('0x1f')](_0x15e2e1);}return null;};}function patchUpdates(_0x39b675){return function(_0xc33c){try{jsonpatch['apply'](_0xc33c,_0x39b675,!![]);}catch(_0x43e00e){return BPromise[_0x5297('0x20')](_0x43e00e);}return _0xc33c['save']();};}function saveUpdates(_0x38408e,_0x3ebbc5){return function(_0x56fffa){if(_0x56fffa){return _0x56fffa[_0x5297('0x21')](_0x38408e)[_0x5297('0x22')](function(_0x574899){return _0x574899;});}return null;};}function removeEntity(_0x28df2d,_0x31ffc4){return function(_0x2c0f01){if(_0x2c0f01){return _0x2c0f01['destroy']()['then'](function(){_0x28df2d[_0x5297('0x19')](0xcc)[_0x5297('0x23')]();});}};}function handleEntityNotFound(_0x18fe2a,_0x4e1300){return function(_0x2ca4cc){if(!_0x2ca4cc){_0x18fe2a['sendStatus'](0x194);}return _0x2ca4cc;};}function handleError(_0x515a51,_0x28819d){_0x28819d=_0x28819d||0x1f4;return function(_0x373414){logger[_0x5297('0x24')](_0x373414[_0x5297('0x25')]);if(_0x373414['name']){delete _0x373414[_0x5297('0x26')];}_0x515a51[_0x5297('0x19')](_0x28819d)[_0x5297('0x27')](_0x373414);};}exports[_0x5297('0x28')]=function(_0x3826d2,_0x201181){var _0x248348={},_0x1dee33={},_0x62d992={'count':0x0,'rows':[]};var _0x51d0fd=_[_0x5297('0x29')](db[_0x5297('0x2a')][_0x5297('0x2b')],function(_0x505469){return{'name':_0x505469[_0x5297('0x2c')],'type':_0x505469[_0x5297('0x2d')]['key']};});_0x1dee33[_0x5297('0x2e')]=_[_0x5297('0x29')](_0x51d0fd,_0x5297('0x26'));_0x1dee33[_0x5297('0x2f')]=_[_0x5297('0x30')](_0x3826d2['query']);_0x1dee33[_0x5297('0x31')]=_[_0x5297('0x32')](_0x1dee33[_0x5297('0x2e')],_0x1dee33[_0x5297('0x2f')]);_0x248348['attributes']=_[_0x5297('0x32')](_0x1dee33['model'],qs[_0x5297('0x33')](_0x3826d2[_0x5297('0x2f')]['fields']));_0x248348[_0x5297('0x34')]=_0x248348[_0x5297('0x34')][_0x5297('0x35')]?_0x248348[_0x5297('0x34')]:_0x1dee33['model'];if(!_0x3826d2[_0x5297('0x2f')][_0x5297('0x36')](_0x5297('0x37'))){_0x248348[_0x5297('0x1c')]=qs['limit'](_0x3826d2[_0x5297('0x2f')][_0x5297('0x1c')]);_0x248348[_0x5297('0x1a')]=qs[_0x5297('0x1a')](_0x3826d2[_0x5297('0x2f')][_0x5297('0x1a')]);}_0x248348[_0x5297('0x38')]=qs[_0x5297('0x39')](_0x3826d2[_0x5297('0x2f')][_0x5297('0x39')]);_0x248348['where']=qs[_0x5297('0x31')](_[_0x5297('0x3a')](_0x3826d2[_0x5297('0x2f')],_0x1dee33[_0x5297('0x31')]),_0x51d0fd);if(_0x3826d2[_0x5297('0x2f')][_0x5297('0x3b')]){_0x248348['where']=_[_0x5297('0x3c')](_0x248348['where'],{'$or':_[_0x5297('0x29')](_0x51d0fd,function(_0x3588f0){if(_0x3588f0[_0x5297('0x2d')]!=='VIRTUAL'){var _0x5d0cc3={};_0x5d0cc3[_0x3588f0[_0x5297('0x26')]]={'$like':'%'+_0x3826d2[_0x5297('0x2f')][_0x5297('0x3b')]+'%'};return _0x5d0cc3;}})});}_0x248348=_['merge']({},_0x248348,_0x3826d2[_0x5297('0x3d')]);var _0x49e0ed={'where':_0x248348['where']};return db[_0x5297('0x2a')][_0x5297('0x1d')](_0x49e0ed)[_0x5297('0x22')](function(_0x2095f3){_0x62d992[_0x5297('0x1d')]=_0x2095f3;if(_0x3826d2[_0x5297('0x2f')]['includeAll']){_0x248348[_0x5297('0x3e')]=[{'all':!![]}];}return db[_0x5297('0x2a')][_0x5297('0x3f')](_0x248348);})[_0x5297('0x22')](function(_0x57fd3b){_0x62d992[_0x5297('0x40')]=_0x57fd3b;return _0x62d992;})['then'](respondWithFilteredResult(_0x201181,_0x248348))['catch'](handleError(_0x201181,null));};exports[_0x5297('0x41')]=function(_0x272e8f,_0x51730f){var _0x52d1d6={'raw':!![],'where':{'id':_0x272e8f[_0x5297('0x42')]['id']}},_0x2dc0dd={};_0x2dc0dd['model']=_[_0x5297('0x30')](db['JscriptyAnswerReport'][_0x5297('0x2b')]);_0x2dc0dd[_0x5297('0x2f')]=_[_0x5297('0x30')](_0x272e8f['query']);_0x2dc0dd[_0x5297('0x31')]=_[_0x5297('0x32')](_0x2dc0dd[_0x5297('0x2e')],_0x2dc0dd[_0x5297('0x2f')]);_0x52d1d6['attributes']=_[_0x5297('0x32')](_0x2dc0dd[_0x5297('0x2e')],qs[_0x5297('0x33')](_0x272e8f[_0x5297('0x2f')][_0x5297('0x33')]));_0x52d1d6[_0x5297('0x34')]=_0x52d1d6[_0x5297('0x34')]['length']?_0x52d1d6[_0x5297('0x34')]:_0x2dc0dd['model'];if(_0x272e8f[_0x5297('0x2f')]['includeAll']){_0x52d1d6['include']=[{'all':!![]}];}_0x52d1d6=_[_0x5297('0x3c')]({},_0x52d1d6,_0x272e8f[_0x5297('0x3d')]);return db['JscriptyAnswerReport'][_0x5297('0x43')](_0x52d1d6)[_0x5297('0x22')](handleEntityNotFound(_0x51730f,null))[_0x5297('0x22')](respondWithResult(_0x51730f,null))[_0x5297('0x44')](handleError(_0x51730f,null));};exports[_0x5297('0x45')]=function(_0x163328,_0x5a89fd){return db[_0x5297('0x2a')][_0x5297('0x45')](_0x163328['body'],{})[_0x5297('0x22')](respondWithResult(_0x5a89fd,0xc9))[_0x5297('0x44')](handleError(_0x5a89fd,null));};exports[_0x5297('0x21')]=function(_0x155cbc,_0x5e3fbb){if(_0x155cbc[_0x5297('0x46')]['id']){delete _0x155cbc[_0x5297('0x46')]['id'];}return db[_0x5297('0x2a')][_0x5297('0x43')]({'where':{'id':_0x155cbc['params']['id']}})[_0x5297('0x22')](handleEntityNotFound(_0x5e3fbb,null))[_0x5297('0x22')](saveUpdates(_0x155cbc[_0x5297('0x46')],null))['then'](respondWithResult(_0x5e3fbb,null))[_0x5297('0x44')](handleError(_0x5e3fbb,null));};exports[_0x5297('0x47')]=function(_0x1dd7ce,_0x445e3a){return db[_0x5297('0x2a')]['find']({'where':{'id':_0x1dd7ce[_0x5297('0x42')]['id']}})[_0x5297('0x22')](handleEntityNotFound(_0x445e3a,null))[_0x5297('0x22')](removeEntity(_0x445e3a,null))[_0x5297('0x44')](handleError(_0x445e3a,null));};exports[_0x5297('0x48')]=function(_0x363acb,_0x75c624){return db[_0x5297('0x2a')]['describe']()[_0x5297('0x22')](respondWithResult(_0x75c624,null))[_0x5297('0x44')](handleError(_0x75c624,null));};
\ No newline at end of file
+var _0x7f94=['JscriptyAnswerReport','rawAttributes','fieldName','type','keys','query','filters','intersection','model','attributes','fields','length','hasOwnProperty','order','sort','pick','where','filter','merge','options','include','findAll','rows','catch','find','create','body','params','describe','eml-format','zip-dir','fast-json-patch','request-promise','moment','mustache','util','path','sox','to-csv','ejs','fs-extra','squel','crypto','jsforce','desk.js','querystring','papaparse','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','end','status','json','offset','undefined','limit','count','set','Content-Range','reject','update','then','destroy','error','stack','name','send','index','map'];(function(_0x37c37d,_0x82e988){var _0x2383c2=function(_0x13b5b7){while(--_0x13b5b7){_0x37c37d['push'](_0x37c37d['shift']());}};_0x2383c2(++_0x82e988);}(_0x7f94,0x65));var _0x47f9=function(_0x5cb992,_0x40e046){_0x5cb992=_0x5cb992-0x0;var _0x450e90=_0x7f94[_0x5cb992];return _0x450e90;};'use strict';var emlformat=require(_0x47f9('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x47f9('0x1'));var jsonpatch=require(_0x47f9('0x2'));var rp=require(_0x47f9('0x3'));var moment=require(_0x47f9('0x4'));var BPromise=require('bluebird');var Mustache=require(_0x47f9('0x5'));var util=require(_0x47f9('0x6'));var path=require(_0x47f9('0x7'));var sox=require(_0x47f9('0x8'));var csv=require(_0x47f9('0x9'));var ejs=require(_0x47f9('0xa'));var fs=require('fs');var fs_extra=require(_0x47f9('0xb'));var _=require('lodash');var squel=require(_0x47f9('0xc'));var crypto=require(_0x47f9('0xd'));var jsforce=require(_0x47f9('0xe'));var deskjs=require(_0x47f9('0xf'));var toCsv=require(_0x47f9('0x9'));var querystring=require(_0x47f9('0x10'));var Papa=require(_0x47f9('0x11'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x47f9('0x12'));var logger=require(_0x47f9('0x13'))(_0x47f9('0x14'));var utils=require(_0x47f9('0x15'));var config=require(_0x47f9('0x16'));var licenseUtil=require(_0x47f9('0x17'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x5a8bac,_0x1002f7){_0x1002f7=_0x1002f7||0xcc;return function(_0x49c33c){if(_0x49c33c){return _0x5a8bac['sendStatus'](_0x1002f7);}return _0x5a8bac['status'](_0x1002f7)[_0x47f9('0x18')]();};}function respondWithResult(_0x43e4db,_0x4d44dd){_0x4d44dd=_0x4d44dd||0xc8;return function(_0x166860){if(_0x166860){return _0x43e4db[_0x47f9('0x19')](_0x4d44dd)[_0x47f9('0x1a')](_0x166860);}};}function respondWithFilteredResult(_0x2a6444,_0x48cc81){return function(_0x3320d1){if(_0x3320d1){var _0x3703e1=typeof _0x48cc81[_0x47f9('0x1b')]===_0x47f9('0x1c')&&typeof _0x48cc81[_0x47f9('0x1d')]==='undefined';var _0x56775f=_0x3320d1['count'];var _0xd80474=_0x3703e1?0x0:_0x48cc81[_0x47f9('0x1b')];var _0x32bb57=_0x3703e1?_0x3320d1[_0x47f9('0x1e')]:_0x48cc81[_0x47f9('0x1b')]+_0x48cc81[_0x47f9('0x1d')];var _0x29700e;if(_0x32bb57>=_0x56775f){_0x32bb57=_0x56775f;_0x29700e=0xc8;}else{_0x29700e=0xce;}_0x2a6444[_0x47f9('0x19')](_0x29700e);return _0x2a6444[_0x47f9('0x1f')](_0x47f9('0x20'),_0xd80474+'-'+_0x32bb57+'/'+_0x56775f)[_0x47f9('0x1a')](_0x3320d1);}return null;};}function patchUpdates(_0x328d14){return function(_0x397dd5){try{jsonpatch['apply'](_0x397dd5,_0x328d14,!![]);}catch(_0x4d35bf){return BPromise[_0x47f9('0x21')](_0x4d35bf);}return _0x397dd5['save']();};}function saveUpdates(_0x2e2b69,_0x29b7f8){return function(_0x2ecf99){if(_0x2ecf99){return _0x2ecf99[_0x47f9('0x22')](_0x2e2b69)[_0x47f9('0x23')](function(_0x11ef91){return _0x11ef91;});}return null;};}function removeEntity(_0x6a49d,_0x3c4778){return function(_0x4fd2b1){if(_0x4fd2b1){return _0x4fd2b1[_0x47f9('0x24')]()[_0x47f9('0x23')](function(){_0x6a49d['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x26bd84,_0x4c16e0){return function(_0x76077d){if(!_0x76077d){_0x26bd84['sendStatus'](0x194);}return _0x76077d;};}function handleError(_0x26174a,_0x1a8c4b){_0x1a8c4b=_0x1a8c4b||0x1f4;return function(_0x5dbdda){logger[_0x47f9('0x25')](_0x5dbdda[_0x47f9('0x26')]);if(_0x5dbdda[_0x47f9('0x27')]){delete _0x5dbdda[_0x47f9('0x27')];}_0x26174a[_0x47f9('0x19')](_0x1a8c4b)[_0x47f9('0x28')](_0x5dbdda);};}exports[_0x47f9('0x29')]=function(_0x52927a,_0x53e951){var _0x4c37d2={},_0x481ccb={},_0x1a5b58={'count':0x0,'rows':[]};var _0x5818a6=_[_0x47f9('0x2a')](db[_0x47f9('0x2b')][_0x47f9('0x2c')],function(_0xaf0fea){return{'name':_0xaf0fea[_0x47f9('0x2d')],'type':_0xaf0fea[_0x47f9('0x2e')]['key']};});_0x481ccb['model']=_[_0x47f9('0x2a')](_0x5818a6,_0x47f9('0x27'));_0x481ccb['query']=_[_0x47f9('0x2f')](_0x52927a[_0x47f9('0x30')]);_0x481ccb[_0x47f9('0x31')]=_[_0x47f9('0x32')](_0x481ccb[_0x47f9('0x33')],_0x481ccb[_0x47f9('0x30')]);_0x4c37d2[_0x47f9('0x34')]=_[_0x47f9('0x32')](_0x481ccb[_0x47f9('0x33')],qs[_0x47f9('0x35')](_0x52927a[_0x47f9('0x30')][_0x47f9('0x35')]));_0x4c37d2[_0x47f9('0x34')]=_0x4c37d2['attributes'][_0x47f9('0x36')]?_0x4c37d2[_0x47f9('0x34')]:_0x481ccb['model'];if(!_0x52927a[_0x47f9('0x30')][_0x47f9('0x37')]('nolimit')){_0x4c37d2[_0x47f9('0x1d')]=qs['limit'](_0x52927a[_0x47f9('0x30')][_0x47f9('0x1d')]);_0x4c37d2[_0x47f9('0x1b')]=qs['offset'](_0x52927a[_0x47f9('0x30')][_0x47f9('0x1b')]);}_0x4c37d2[_0x47f9('0x38')]=qs[_0x47f9('0x39')](_0x52927a[_0x47f9('0x30')]['sort']);_0x4c37d2['where']=qs['filters'](_[_0x47f9('0x3a')](_0x52927a[_0x47f9('0x30')],_0x481ccb[_0x47f9('0x31')]),_0x5818a6);if(_0x52927a['query']['filter']){_0x4c37d2[_0x47f9('0x3b')]=_['merge'](_0x4c37d2[_0x47f9('0x3b')],{'$or':_['map'](_0x5818a6,function(_0x563492){if(_0x563492[_0x47f9('0x2e')]!=='VIRTUAL'){var _0xfe4480={};_0xfe4480[_0x563492[_0x47f9('0x27')]]={'$like':'%'+_0x52927a[_0x47f9('0x30')][_0x47f9('0x3c')]+'%'};return _0xfe4480;}})});}_0x4c37d2=_[_0x47f9('0x3d')]({},_0x4c37d2,_0x52927a[_0x47f9('0x3e')]);var _0x27ca33={'where':_0x4c37d2['where']};return db['JscriptyAnswerReport'][_0x47f9('0x1e')](_0x27ca33)[_0x47f9('0x23')](function(_0x118db1){_0x1a5b58[_0x47f9('0x1e')]=_0x118db1;if(_0x52927a[_0x47f9('0x30')]['includeAll']){_0x4c37d2[_0x47f9('0x3f')]=[{'all':!![]}];}return db[_0x47f9('0x2b')][_0x47f9('0x40')](_0x4c37d2);})[_0x47f9('0x23')](function(_0x3128bc){_0x1a5b58[_0x47f9('0x41')]=_0x3128bc;return _0x1a5b58;})[_0x47f9('0x23')](respondWithFilteredResult(_0x53e951,_0x4c37d2))[_0x47f9('0x42')](handleError(_0x53e951,null));};exports['show']=function(_0x311975,_0xc61254){var _0x55443d={'raw':!![],'where':{'id':_0x311975['params']['id']}},_0x587a7f={};_0x587a7f[_0x47f9('0x33')]=_[_0x47f9('0x2f')](db[_0x47f9('0x2b')][_0x47f9('0x2c')]);_0x587a7f[_0x47f9('0x30')]=_[_0x47f9('0x2f')](_0x311975[_0x47f9('0x30')]);_0x587a7f[_0x47f9('0x31')]=_[_0x47f9('0x32')](_0x587a7f[_0x47f9('0x33')],_0x587a7f['query']);_0x55443d['attributes']=_['intersection'](_0x587a7f[_0x47f9('0x33')],qs['fields'](_0x311975[_0x47f9('0x30')][_0x47f9('0x35')]));_0x55443d['attributes']=_0x55443d[_0x47f9('0x34')][_0x47f9('0x36')]?_0x55443d['attributes']:_0x587a7f[_0x47f9('0x33')];if(_0x311975[_0x47f9('0x30')]['includeAll']){_0x55443d[_0x47f9('0x3f')]=[{'all':!![]}];}_0x55443d=_[_0x47f9('0x3d')]({},_0x55443d,_0x311975[_0x47f9('0x3e')]);return db[_0x47f9('0x2b')][_0x47f9('0x43')](_0x55443d)[_0x47f9('0x23')](handleEntityNotFound(_0xc61254,null))[_0x47f9('0x23')](respondWithResult(_0xc61254,null))[_0x47f9('0x42')](handleError(_0xc61254,null));};exports[_0x47f9('0x44')]=function(_0x411695,_0x38d61d){return db[_0x47f9('0x2b')][_0x47f9('0x44')](_0x411695[_0x47f9('0x45')],{})[_0x47f9('0x23')](respondWithResult(_0x38d61d,0xc9))['catch'](handleError(_0x38d61d,null));};exports[_0x47f9('0x22')]=function(_0x1c6e21,_0x58fc09){if(_0x1c6e21[_0x47f9('0x45')]['id']){delete _0x1c6e21[_0x47f9('0x45')]['id'];}return db[_0x47f9('0x2b')]['find']({'where':{'id':_0x1c6e21['params']['id']}})[_0x47f9('0x23')](handleEntityNotFound(_0x58fc09,null))['then'](saveUpdates(_0x1c6e21[_0x47f9('0x45')],null))['then'](respondWithResult(_0x58fc09,null))['catch'](handleError(_0x58fc09,null));};exports[_0x47f9('0x24')]=function(_0x2bd2c7,_0x1b1029){return db[_0x47f9('0x2b')]['find']({'where':{'id':_0x2bd2c7[_0x47f9('0x46')]['id']}})['then'](handleEntityNotFound(_0x1b1029,null))['then'](removeEntity(_0x1b1029,null))[_0x47f9('0x42')](handleError(_0x1b1029,null));};exports[_0x47f9('0x47')]=function(_0x43eb5b,_0x3d796c){return db[_0x47f9('0x2b')][_0x47f9('0x47')]()['then'](respondWithResult(_0x3d796c,null))[_0x47f9('0x42')](handleError(_0x3d796c,null));};
\ No newline at end of file