Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / chatOfflineMessage / chatOfflineMessage.controller.js
index 7cf8fca..de226c9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0127=['../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/environment','../../config/license/util','../../mysqldb','status','end','count','offset','limit','json','apply','reject','save','update','destroy','then','sendStatus','error','stack','name','map','ChatOfflineMessage','type','key','model','query','keys','intersection','attributes','fields','length','nolimit','order','sort','where','filters','pick','filter','merge','options','include','rows','catch','show','params','rawAttributes','includeAll','body','find','describe','html-pdf','eml-format','zip-dir','fast-json-patch','bluebird','util','path','ejs','crypto','desk.js','querystring','papaparse','ioredis'];(function(_0xbe048b,_0x2f8970){var _0x1d9099=function(_0x4920e){while(--_0x4920e){_0xbe048b['push'](_0xbe048b['shift']());}};_0x1d9099(++_0x2f8970);}(_0x0127,0x1c1));var _0x7012=function(_0x2a9d4c,_0x471913){_0x2a9d4c=_0x2a9d4c-0x0;var _0x15a94b=_0x0127[_0x2a9d4c];return _0x15a94b;};'use strict';var pdf=require(_0x7012('0x0'));var emlformat=require(_0x7012('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x7012('0x2'));var jsonpatch=require(_0x7012('0x3'));var rp=require('request-promise');var moment=require('moment');var BPromise=require(_0x7012('0x4'));var Mustache=require('mustache');var util=require(_0x7012('0x5'));var path=require(_0x7012('0x6'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x7012('0x7'));var fs=require('fs');var _=require('lodash');var squel=require('squel');var crypto=require(_0x7012('0x8'));var jsforce=require('jsforce');var deskjs=require(_0x7012('0x9'));var toCsv=require('to-csv');var querystring=require(_0x7012('0xa'));var Papa=require(_0x7012('0xb'));var Redis=require(_0x7012('0xc'));var authService=require(_0x7012('0xd'));var qs=require(_0x7012('0xe'));var as=require(_0x7012('0xf'));var hardwareService=require(_0x7012('0x10'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x7012('0x11'));var licenseUtil=require(_0x7012('0x12'));var db=require(_0x7012('0x13'))['db'];function respondWithStatusCode(_0x9814c9,_0x236f11){_0x236f11=_0x236f11||0xcc;return function(_0x54a3c2){if(_0x54a3c2){return _0x9814c9['sendStatus'](_0x236f11);}return _0x9814c9[_0x7012('0x14')](_0x236f11)[_0x7012('0x15')]();};}function respondWithResult(_0x337be9,_0x3a02da){_0x3a02da=_0x3a02da||0xc8;return function(_0x397fcf){if(_0x397fcf){return _0x337be9[_0x7012('0x14')](_0x3a02da)['json'](_0x397fcf);}};}function respondWithFilteredResult(_0x1f7d98,_0x6e9ca9){return function(_0x2e879f){if(_0x2e879f){var _0x2a69ef=_0x2e879f[_0x7012('0x16')],_0x3ac554=_0x6e9ca9[_0x7012('0x17')],_0x3262f2=_0x6e9ca9[_0x7012('0x17')]+_0x6e9ca9[_0x7012('0x18')],_0x8aee4c;if(_0x3262f2>=_0x2a69ef){_0x3262f2=_0x2a69ef;_0x8aee4c=0xc8;}else{_0x8aee4c=0xce;}_0x1f7d98[_0x7012('0x14')](_0x8aee4c);return _0x1f7d98['set']('Content-Range',_0x3ac554+'-'+_0x3262f2+'/'+_0x2a69ef)[_0x7012('0x19')](_0x2e879f);}return null;};}function patchUpdates(_0x2985c0){return function(_0x2646d2){try{jsonpatch[_0x7012('0x1a')](_0x2646d2,_0x2985c0,!![]);}catch(_0x451d41){return BPromise[_0x7012('0x1b')](_0x451d41);}return _0x2646d2[_0x7012('0x1c')]();};}function saveUpdates(_0x3e8a17,_0x196311){return function(_0x22678d){if(_0x22678d){return _0x22678d[_0x7012('0x1d')](_0x3e8a17)['then'](function(_0x4177d8){return _0x4177d8;});}return null;};}function removeEntity(_0x4f90dd,_0x3276d4){return function(_0x341fda){if(_0x341fda){return _0x341fda[_0x7012('0x1e')]()[_0x7012('0x1f')](function(){_0x4f90dd['status'](0xcc)[_0x7012('0x15')]();});}};}function handleEntityNotFound(_0xfc76f1,_0xbf7f87){return function(_0x482809){if(!_0x482809){_0xfc76f1[_0x7012('0x20')](0x194);}return _0x482809;};}function handleError(_0xfd1be2,_0x4bdfa3){_0x4bdfa3=_0x4bdfa3||0x1f4;return function(_0x125915){logger[_0x7012('0x21')](_0x125915[_0x7012('0x22')]);if(_0x125915[_0x7012('0x23')]){delete _0x125915['name'];}_0xfd1be2[_0x7012('0x14')](_0x4bdfa3)['send'](_0x125915);};}exports['index']=function(_0x56d676,_0x29d7dd){var _0x1b5814={},_0x463d39={},_0x3cece0={'count':0x0,'rows':[]};var _0x2e2a6d=_[_0x7012('0x24')](db[_0x7012('0x25')]['rawAttributes'],function(_0x50667f){return{'name':_0x50667f['fieldName'],'type':_0x50667f[_0x7012('0x26')][_0x7012('0x27')]};});_0x463d39[_0x7012('0x28')]=_[_0x7012('0x24')](_0x2e2a6d,_0x7012('0x23'));_0x463d39[_0x7012('0x29')]=_[_0x7012('0x2a')](_0x56d676['query']);_0x463d39['filters']=_[_0x7012('0x2b')](_0x463d39[_0x7012('0x28')],_0x463d39['query']);_0x1b5814[_0x7012('0x2c')]=_[_0x7012('0x2b')](_0x463d39['model'],qs[_0x7012('0x2d')](_0x56d676[_0x7012('0x29')][_0x7012('0x2d')]));_0x1b5814['attributes']=_0x1b5814[_0x7012('0x2c')][_0x7012('0x2e')]?_0x1b5814[_0x7012('0x2c')]:_0x463d39[_0x7012('0x28')];if(!_0x56d676[_0x7012('0x29')]['hasOwnProperty'](_0x7012('0x2f'))){_0x1b5814['limit']=qs[_0x7012('0x18')](_0x56d676[_0x7012('0x29')][_0x7012('0x18')]);_0x1b5814[_0x7012('0x17')]=qs['offset'](_0x56d676['query'][_0x7012('0x17')]);}_0x1b5814[_0x7012('0x30')]=qs['sort'](_0x56d676[_0x7012('0x29')][_0x7012('0x31')]);_0x1b5814[_0x7012('0x32')]=qs[_0x7012('0x33')](_[_0x7012('0x34')](_0x56d676[_0x7012('0x29')],_0x463d39[_0x7012('0x33')]),_0x2e2a6d);if(_0x56d676[_0x7012('0x29')][_0x7012('0x35')]){_0x1b5814[_0x7012('0x32')]=_[_0x7012('0x36')](_0x1b5814[_0x7012('0x32')],{'$or':_['map'](_0x2e2a6d,function(_0x424e9e){if(_0x424e9e[_0x7012('0x26')]!=='VIRTUAL'){var _0x19ba84={};_0x19ba84[_0x424e9e[_0x7012('0x23')]]={'$like':'%'+_0x56d676['query']['filter']+'%'};return _0x19ba84;}})});}_0x1b5814=_[_0x7012('0x36')]({},_0x1b5814,_0x56d676[_0x7012('0x37')]);var _0x234994={'where':_0x1b5814[_0x7012('0x32')]};return db[_0x7012('0x25')][_0x7012('0x16')](_0x234994)['then'](function(_0x54297e){_0x3cece0['count']=_0x54297e;if(_0x56d676[_0x7012('0x29')]['includeAll']){_0x1b5814[_0x7012('0x38')]=[{'all':!![]}];}return db[_0x7012('0x25')]['findAll'](_0x1b5814);})[_0x7012('0x1f')](function(_0x2af290){_0x3cece0[_0x7012('0x39')]=_0x2af290;return _0x3cece0;})['then'](respondWithFilteredResult(_0x29d7dd,_0x1b5814))[_0x7012('0x3a')](handleError(_0x29d7dd,null));};exports[_0x7012('0x3b')]=function(_0x31da6d,_0x487cb0){var _0x2ffa47={'raw':!![],'where':{'id':_0x31da6d[_0x7012('0x3c')]['id']}},_0x36ba64={};_0x36ba64[_0x7012('0x28')]=_[_0x7012('0x2a')](db['ChatOfflineMessage'][_0x7012('0x3d')]);_0x36ba64[_0x7012('0x29')]=_['keys'](_0x31da6d[_0x7012('0x29')]);_0x36ba64['filters']=_[_0x7012('0x2b')](_0x36ba64[_0x7012('0x28')],_0x36ba64['query']);_0x2ffa47[_0x7012('0x2c')]=_[_0x7012('0x2b')](_0x36ba64[_0x7012('0x28')],qs[_0x7012('0x2d')](_0x31da6d[_0x7012('0x29')]['fields']));_0x2ffa47['attributes']=_0x2ffa47['attributes']['length']?_0x2ffa47[_0x7012('0x2c')]:_0x36ba64[_0x7012('0x28')];if(_0x31da6d['query'][_0x7012('0x3e')]){_0x2ffa47[_0x7012('0x38')]=[{'all':!![]}];}_0x2ffa47=_[_0x7012('0x36')]({},_0x2ffa47,_0x31da6d['options']);return db[_0x7012('0x25')]['find'](_0x2ffa47)[_0x7012('0x1f')](handleEntityNotFound(_0x487cb0,null))[_0x7012('0x1f')](respondWithResult(_0x487cb0,null))[_0x7012('0x3a')](handleError(_0x487cb0,null));};exports['create']=function(_0x2ff466,_0x61e4e8){return db['ChatOfflineMessage']['create'](_0x2ff466[_0x7012('0x3f')],{})[_0x7012('0x1f')](respondWithResult(_0x61e4e8,0xc9))[_0x7012('0x3a')](handleError(_0x61e4e8,null));};exports[_0x7012('0x1d')]=function(_0x4a2e36,_0x377ec9){if(_0x4a2e36[_0x7012('0x3f')]['id']){delete _0x4a2e36[_0x7012('0x3f')]['id'];}return db[_0x7012('0x25')]['find']({'where':{'id':_0x4a2e36[_0x7012('0x3c')]['id']}})[_0x7012('0x1f')](handleEntityNotFound(_0x377ec9,null))[_0x7012('0x1f')](saveUpdates(_0x4a2e36[_0x7012('0x3f')],null))[_0x7012('0x1f')](respondWithResult(_0x377ec9,null))['catch'](handleError(_0x377ec9,null));};exports[_0x7012('0x1e')]=function(_0x46495e,_0x2b6c67){return db[_0x7012('0x25')][_0x7012('0x40')]({'where':{'id':_0x46495e[_0x7012('0x3c')]['id']}})['then'](handleEntityNotFound(_0x2b6c67,null))[_0x7012('0x1f')](removeEntity(_0x2b6c67,null))[_0x7012('0x3a')](handleError(_0x2b6c67,null));};exports[_0x7012('0x41')]=function(_0x2ae9b7,_0x280d4f){return db['ChatOfflineMessage'][_0x7012('0x41')]()[_0x7012('0x1f')](respondWithResult(_0x280d4f,null))[_0x7012('0x3a')](handleError(_0x280d4f,null));};
\ No newline at end of file
+var _0x9957=['sendStatus','status','json','undefined','count','offset','limit','set','Content-Range','reject','save','then','destroy','error','name','send','index','fieldName','type','key','model','map','keys','filters','intersection','query','attributes','fields','length','hasOwnProperty','nolimit','sort','where','filter','merge','VIRTUAL','options','ChatOfflineMessage','findAll','rows','show','rawAttributes','includeAll','include','find','create','catch','body','params','Attachment','forEach','join','root','server','files','attachments','basename','existsSync','remove','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','util','sox','to-csv','ejs','fs-extra','lodash','squel','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/license/util','../../mysqldb'];(function(_0x156f72,_0x3fe1f2){var _0x2fbc4f=function(_0x176ce3){while(--_0x176ce3){_0x156f72['push'](_0x156f72['shift']());}};_0x2fbc4f(++_0x3fe1f2);}(_0x9957,0x93));var _0x7995=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x9957[_0xbca1b1];return _0x4e1686;};'use strict';var emlformat=require(_0x7995('0x0'));var rimraf=require(_0x7995('0x1'));var zipdir=require(_0x7995('0x2'));var jsonpatch=require(_0x7995('0x3'));var rp=require('request-promise');var moment=require(_0x7995('0x4'));var BPromise=require(_0x7995('0x5'));var Mustache=require(_0x7995('0x6'));var util=require(_0x7995('0x7'));var path=require('path');var sox=require(_0x7995('0x8'));var csv=require(_0x7995('0x9'));var ejs=require(_0x7995('0xa'));var fs=require('fs');var fs_extra=require(_0x7995('0xb'));var _=require(_0x7995('0xc'));var squel=require(_0x7995('0xd'));var crypto=require('crypto');var jsforce=require(_0x7995('0xe'));var deskjs=require(_0x7995('0xf'));var toCsv=require('to-csv');var querystring=require(_0x7995('0x10'));var Papa=require(_0x7995('0x11'));var Redis=require(_0x7995('0x12'));var authService=require(_0x7995('0x13'));var qs=require(_0x7995('0x14'));var as=require(_0x7995('0x15'));var hardwareService=require(_0x7995('0x16'));var logger=require('../../config/logger')(_0x7995('0x17'));var utils=require(_0x7995('0x18'));var config=require('../../config/environment');var licenseUtil=require(_0x7995('0x19'));var db=require(_0x7995('0x1a'))['db'];function respondWithStatusCode(_0x19a27e,_0x385f00){_0x385f00=_0x385f00||0xcc;return function(_0x281576){if(_0x281576){return _0x19a27e[_0x7995('0x1b')](_0x385f00);}return _0x19a27e[_0x7995('0x1c')](_0x385f00)['end']();};}function respondWithResult(_0x58f5ad,_0x2b4e94){_0x2b4e94=_0x2b4e94||0xc8;return function(_0x2233dd){if(_0x2233dd){return _0x58f5ad[_0x7995('0x1c')](_0x2b4e94)[_0x7995('0x1d')](_0x2233dd);}};}function respondWithFilteredResult(_0x3f1d3e,_0x1a5310){return function(_0x2202ce){if(_0x2202ce){var _0x41cbf0=typeof _0x1a5310['offset']===_0x7995('0x1e')&&typeof _0x1a5310['limit']===_0x7995('0x1e');var _0x37f297=_0x2202ce[_0x7995('0x1f')];var _0x291317=_0x41cbf0?0x0:_0x1a5310[_0x7995('0x20')];var _0x37a7d4=_0x41cbf0?_0x2202ce['count']:_0x1a5310['offset']+_0x1a5310[_0x7995('0x21')];var _0x5e6f90;if(_0x37a7d4>=_0x37f297){_0x37a7d4=_0x37f297;_0x5e6f90=0xc8;}else{_0x5e6f90=0xce;}_0x3f1d3e['status'](_0x5e6f90);return _0x3f1d3e[_0x7995('0x22')](_0x7995('0x23'),_0x291317+'-'+_0x37a7d4+'/'+_0x37f297)['json'](_0x2202ce);}return null;};}function patchUpdates(_0x3a9b54){return function(_0x51f276){try{jsonpatch['apply'](_0x51f276,_0x3a9b54,!![]);}catch(_0x3e4c54){return BPromise[_0x7995('0x24')](_0x3e4c54);}return _0x51f276[_0x7995('0x25')]();};}function saveUpdates(_0x1a8568,_0x460924){return function(_0x1c278a){if(_0x1c278a){return _0x1c278a['update'](_0x1a8568)[_0x7995('0x26')](function(_0x46ee4b){return _0x46ee4b;});}return null;};}function removeEntity(_0x204507,_0x285437){return function(_0x563799){if(_0x563799){return _0x563799[_0x7995('0x27')]()[_0x7995('0x26')](function(){_0x204507[_0x7995('0x1c')](0xcc)['end']();});}};}function handleEntityNotFound(_0x39df42,_0x34e70c){return function(_0x401dc3){if(!_0x401dc3){_0x39df42[_0x7995('0x1b')](0x194);}return _0x401dc3;};}function handleError(_0x3a3fcf,_0x2a307e){_0x2a307e=_0x2a307e||0x1f4;return function(_0x56691a){logger[_0x7995('0x28')](_0x56691a['stack']);if(_0x56691a[_0x7995('0x29')]){delete _0x56691a[_0x7995('0x29')];}_0x3a3fcf[_0x7995('0x1c')](_0x2a307e)[_0x7995('0x2a')](_0x56691a);};}exports[_0x7995('0x2b')]=function(_0x4b6f99,_0x9b2a15){var _0x514445={},_0x456a28={},_0x3250e0={'count':0x0,'rows':[]};var _0x4253e5=_['map'](db['ChatOfflineMessage']['rawAttributes'],function(_0x3573be){return{'name':_0x3573be[_0x7995('0x2c')],'type':_0x3573be[_0x7995('0x2d')][_0x7995('0x2e')]};});_0x456a28[_0x7995('0x2f')]=_[_0x7995('0x30')](_0x4253e5,'name');_0x456a28['query']=_[_0x7995('0x31')](_0x4b6f99['query']);_0x456a28[_0x7995('0x32')]=_[_0x7995('0x33')](_0x456a28[_0x7995('0x2f')],_0x456a28[_0x7995('0x34')]);_0x514445[_0x7995('0x35')]=_['intersection'](_0x456a28[_0x7995('0x2f')],qs[_0x7995('0x36')](_0x4b6f99['query']['fields']));_0x514445['attributes']=_0x514445[_0x7995('0x35')][_0x7995('0x37')]?_0x514445['attributes']:_0x456a28[_0x7995('0x2f')];if(!_0x4b6f99['query'][_0x7995('0x38')](_0x7995('0x39'))){_0x514445[_0x7995('0x21')]=qs['limit'](_0x4b6f99['query'][_0x7995('0x21')]);_0x514445['offset']=qs['offset'](_0x4b6f99[_0x7995('0x34')][_0x7995('0x20')]);}_0x514445['order']=qs[_0x7995('0x3a')](_0x4b6f99[_0x7995('0x34')][_0x7995('0x3a')]);_0x514445[_0x7995('0x3b')]=qs[_0x7995('0x32')](_['pick'](_0x4b6f99[_0x7995('0x34')],_0x456a28[_0x7995('0x32')]),_0x4253e5);if(_0x4b6f99[_0x7995('0x34')][_0x7995('0x3c')]){_0x514445['where']=_[_0x7995('0x3d')](_0x514445[_0x7995('0x3b')],{'$or':_[_0x7995('0x30')](_0x4253e5,function(_0xe5ea43){if(_0xe5ea43[_0x7995('0x2d')]!==_0x7995('0x3e')){var _0x5688a1={};_0x5688a1[_0xe5ea43[_0x7995('0x29')]]={'$like':'%'+_0x4b6f99[_0x7995('0x34')][_0x7995('0x3c')]+'%'};return _0x5688a1;}})});}_0x514445=_[_0x7995('0x3d')]({},_0x514445,_0x4b6f99[_0x7995('0x3f')]);var _0x298fc2={'where':_0x514445[_0x7995('0x3b')]};return db[_0x7995('0x40')][_0x7995('0x1f')](_0x298fc2)[_0x7995('0x26')](function(_0x6fe77b){_0x3250e0[_0x7995('0x1f')]=_0x6fe77b;if(_0x4b6f99[_0x7995('0x34')]['includeAll']){_0x514445['include']=[{'all':!![]}];}return db[_0x7995('0x40')][_0x7995('0x41')](_0x514445);})['then'](function(_0x4b0855){_0x3250e0[_0x7995('0x42')]=_0x4b0855;return _0x3250e0;})['then'](respondWithFilteredResult(_0x9b2a15,_0x514445))['catch'](handleError(_0x9b2a15,null));};exports[_0x7995('0x43')]=function(_0x36e28b,_0x35c8ff){var _0x576b96={'raw':!![],'where':{'id':_0x36e28b['params']['id']}},_0x46ac4f={};_0x46ac4f[_0x7995('0x2f')]=_['keys'](db['ChatOfflineMessage'][_0x7995('0x44')]);_0x46ac4f[_0x7995('0x34')]=_[_0x7995('0x31')](_0x36e28b[_0x7995('0x34')]);_0x46ac4f['filters']=_[_0x7995('0x33')](_0x46ac4f[_0x7995('0x2f')],_0x46ac4f[_0x7995('0x34')]);_0x576b96[_0x7995('0x35')]=_['intersection'](_0x46ac4f['model'],qs[_0x7995('0x36')](_0x36e28b['query'][_0x7995('0x36')]));_0x576b96['attributes']=_0x576b96[_0x7995('0x35')]['length']?_0x576b96[_0x7995('0x35')]:_0x46ac4f[_0x7995('0x2f')];if(_0x36e28b['query'][_0x7995('0x45')]){_0x576b96[_0x7995('0x46')]=[{'all':!![]}];}_0x576b96=_[_0x7995('0x3d')]({},_0x576b96,_0x36e28b[_0x7995('0x3f')]);return db['ChatOfflineMessage'][_0x7995('0x47')](_0x576b96)[_0x7995('0x26')](handleEntityNotFound(_0x35c8ff,null))[_0x7995('0x26')](respondWithResult(_0x35c8ff,null))['catch'](handleError(_0x35c8ff,null));};exports[_0x7995('0x48')]=function(_0x44f516,_0x511567){return db[_0x7995('0x40')][_0x7995('0x48')](_0x44f516['body'],{})[_0x7995('0x26')](respondWithResult(_0x511567,0xc9))[_0x7995('0x49')](handleError(_0x511567,null));};exports['update']=function(_0x3d1dbb,_0x5843ba){if(_0x3d1dbb[_0x7995('0x4a')]['id']){delete _0x3d1dbb[_0x7995('0x4a')]['id'];}return db[_0x7995('0x40')][_0x7995('0x47')]({'where':{'id':_0x3d1dbb[_0x7995('0x4b')]['id']}})[_0x7995('0x26')](handleEntityNotFound(_0x5843ba,null))[_0x7995('0x26')](saveUpdates(_0x3d1dbb['body'],null))[_0x7995('0x26')](respondWithResult(_0x5843ba,null))[_0x7995('0x49')](handleError(_0x5843ba,null));};exports[_0x7995('0x27')]=function(_0x4ffc8a,_0x19da63){return db[_0x7995('0x4c')][_0x7995('0x41')]({'where':{'ChatOfflineMessageId':_0x4ffc8a['params']['id']},'raw':!![]})['then'](function(_0x5a592e){_0x5a592e[_0x7995('0x4d')](function(_0x1fd1ca){var _0x4cf5db=path[_0x7995('0x4e')](config[_0x7995('0x4f')],_0x7995('0x50'),_0x7995('0x51'),_0x7995('0x52'),'offline-chat',_0x1fd1ca[_0x7995('0x53')]);var _0x4ab09f=fs[_0x7995('0x54')](_0x4cf5db);if(_0x4ab09f)fs_extra[_0x7995('0x55')](_0x4cf5db);});})[_0x7995('0x26')](function(){return db['ChatOfflineMessage']['find']({'where':{'id':_0x4ffc8a['params']['id']},'individualHooks':!![]});})['then'](handleEntityNotFound(_0x19da63,null))[_0x7995('0x26')](removeEntity(_0x19da63,null))[_0x7995('0x49')](handleError(_0x19da63,null));};exports[_0x7995('0x56')]=function(_0x150261,_0x1d957e){return db[_0x7995('0x40')][_0x7995('0x56')]()[_0x7995('0x26')](respondWithResult(_0x1d957e,null))[_0x7995('0x49')](handleError(_0x1d957e,null));};
\ No newline at end of file