Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / chatTransferReport / chatTransferReport.controller.js
index 96df9f5..3d0d203 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc239=['moment','bluebird','mustache','util','sox','to-csv','ejs','lodash','crypto','desk.js','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','set','apply','reject','save','update','then','name','map','ChatTransferReport','fieldName','model','query','filters','intersection','attributes','length','hasOwnProperty','limit','offset','order','sort','where','filter','merge','VIRTUAL','options','count','includeAll','findAll','rows','catch','show','params','keys','rawAttributes','fields','include','find','create','body','destroy','describe','html-pdf','eml-format','zip-dir','request-promise'];(function(_0xe65b9f,_0x2d2b11){var _0x1a1b47=function(_0x4d0924){while(--_0x4d0924){_0xe65b9f['push'](_0xe65b9f['shift']());}};_0x1a1b47(++_0x2d2b11);}(_0xc239,0xc8));var _0x9c23=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0xc239[_0x4a9fb1];return _0x348672;};'use strict';var pdf=require(_0x9c23('0x0'));var emlformat=require(_0x9c23('0x1'));var rimraf=require('rimraf');var zipdir=require(_0x9c23('0x2'));var jsonpatch=require('fast-json-patch');var rp=require(_0x9c23('0x3'));var moment=require(_0x9c23('0x4'));var BPromise=require(_0x9c23('0x5'));var Mustache=require(_0x9c23('0x6'));var util=require(_0x9c23('0x7'));var path=require('path');var sox=require(_0x9c23('0x8'));var csv=require(_0x9c23('0x9'));var ejs=require(_0x9c23('0xa'));var fs=require('fs');var _=require(_0x9c23('0xb'));var squel=require('squel');var crypto=require(_0x9c23('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x9c23('0xd'));var toCsv=require(_0x9c23('0x9'));var querystring=require('querystring');var Papa=require('papaparse');var Redis=require(_0x9c23('0xe'));var authService=require(_0x9c23('0xf'));var qs=require(_0x9c23('0x10'));var as=require(_0x9c23('0x11'));var hardwareService=require(_0x9c23('0x12'));var logger=require('../../config/logger')('api');var utils=require('../../config/utils');var config=require(_0x9c23('0x13'));var licenseUtil=require(_0x9c23('0x14'));var db=require(_0x9c23('0x15'))['db'];function respondWithStatusCode(_0x2e334e,_0x245e2d){_0x245e2d=_0x245e2d||0xcc;return function(_0x2485dd){if(_0x2485dd){return _0x2e334e[_0x9c23('0x16')](_0x245e2d);}return _0x2e334e[_0x9c23('0x17')](_0x245e2d)[_0x9c23('0x18')]();};}function respondWithResult(_0x4a3847,_0x1c5918){_0x1c5918=_0x1c5918||0xc8;return function(_0x4fb690){if(_0x4fb690){return _0x4a3847[_0x9c23('0x17')](_0x1c5918)[_0x9c23('0x19')](_0x4fb690);}};}function respondWithFilteredResult(_0x1e531d,_0x5df575){return function(_0x1a04a9){if(_0x1a04a9){var _0x599b80=_0x1a04a9['count'],_0xf59962=_0x5df575['offset'],_0x5b998b=_0x5df575['offset']+_0x5df575['limit'],_0x299ffb;if(_0x5b998b>=_0x599b80){_0x5b998b=_0x599b80;_0x299ffb=0xc8;}else{_0x299ffb=0xce;}_0x1e531d['status'](_0x299ffb);return _0x1e531d[_0x9c23('0x1a')]('Content-Range',_0xf59962+'-'+_0x5b998b+'/'+_0x599b80)['json'](_0x1a04a9);}return null;};}function patchUpdates(_0x380de5){return function(_0x59e25f){try{jsonpatch[_0x9c23('0x1b')](_0x59e25f,_0x380de5,!![]);}catch(_0x5c8fbb){return BPromise[_0x9c23('0x1c')](_0x5c8fbb);}return _0x59e25f[_0x9c23('0x1d')]();};}function saveUpdates(_0x74cfcc,_0x281849){return function(_0x57f4ff){if(_0x57f4ff){return _0x57f4ff[_0x9c23('0x1e')](_0x74cfcc)['then'](function(_0x31a461){return _0x31a461;});}return null;};}function removeEntity(_0x460b65,_0x54aad6){return function(_0x113096){if(_0x113096){return _0x113096['destroy']()[_0x9c23('0x1f')](function(){_0x460b65['status'](0xcc)['end']();});}};}function handleEntityNotFound(_0x50b3b5,_0x32ce31){return function(_0x116774){if(!_0x116774){_0x50b3b5[_0x9c23('0x16')](0x194);}return _0x116774;};}function handleError(_0x38a80a,_0x5dd2da){_0x5dd2da=_0x5dd2da||0x1f4;return function(_0x44acfc){logger['error'](_0x44acfc['stack']);if(_0x44acfc[_0x9c23('0x20')]){delete _0x44acfc[_0x9c23('0x20')];}_0x38a80a[_0x9c23('0x17')](_0x5dd2da)['send'](_0x44acfc);};}exports['index']=function(_0x348e6b,_0x19cfa5){var _0x21e409={},_0x181965={},_0x2f50ec={'count':0x0,'rows':[]};var _0x2daf20=_[_0x9c23('0x21')](db[_0x9c23('0x22')]['rawAttributes'],function(_0x4d0b54){return{'name':_0x4d0b54[_0x9c23('0x23')],'type':_0x4d0b54['type']['key']};});_0x181965[_0x9c23('0x24')]=_['map'](_0x2daf20,_0x9c23('0x20'));_0x181965[_0x9c23('0x25')]=_['keys'](_0x348e6b['query']);_0x181965[_0x9c23('0x26')]=_['intersection'](_0x181965['model'],_0x181965['query']);_0x21e409['attributes']=_[_0x9c23('0x27')](_0x181965[_0x9c23('0x24')],qs['fields'](_0x348e6b[_0x9c23('0x25')]['fields']));_0x21e409[_0x9c23('0x28')]=_0x21e409[_0x9c23('0x28')][_0x9c23('0x29')]?_0x21e409['attributes']:_0x181965[_0x9c23('0x24')];if(!_0x348e6b['query'][_0x9c23('0x2a')]('nolimit')){_0x21e409[_0x9c23('0x2b')]=qs[_0x9c23('0x2b')](_0x348e6b[_0x9c23('0x25')][_0x9c23('0x2b')]);_0x21e409['offset']=qs[_0x9c23('0x2c')](_0x348e6b[_0x9c23('0x25')][_0x9c23('0x2c')]);}_0x21e409[_0x9c23('0x2d')]=qs[_0x9c23('0x2e')](_0x348e6b[_0x9c23('0x25')][_0x9c23('0x2e')]);_0x21e409[_0x9c23('0x2f')]=qs['filters'](_['pick'](_0x348e6b[_0x9c23('0x25')],_0x181965[_0x9c23('0x26')]),_0x2daf20);if(_0x348e6b['query'][_0x9c23('0x30')]){_0x21e409[_0x9c23('0x2f')]=_[_0x9c23('0x31')](_0x21e409[_0x9c23('0x2f')],{'$or':_['map'](_0x2daf20,function(_0x51cdda){if(_0x51cdda['type']!==_0x9c23('0x32')){var _0xe7a973={};_0xe7a973[_0x51cdda[_0x9c23('0x20')]]={'$like':'%'+_0x348e6b[_0x9c23('0x25')][_0x9c23('0x30')]+'%'};return _0xe7a973;}})});}_0x21e409=_[_0x9c23('0x31')]({},_0x21e409,_0x348e6b[_0x9c23('0x33')]);var _0x3a3f37={'where':_0x21e409[_0x9c23('0x2f')]};return db[_0x9c23('0x22')][_0x9c23('0x34')](_0x3a3f37)[_0x9c23('0x1f')](function(_0x3a0c32){_0x2f50ec['count']=_0x3a0c32;if(_0x348e6b[_0x9c23('0x25')][_0x9c23('0x35')]){_0x21e409['include']=[{'all':!![]}];}return db[_0x9c23('0x22')][_0x9c23('0x36')](_0x21e409);})[_0x9c23('0x1f')](function(_0xb99f74){_0x2f50ec[_0x9c23('0x37')]=_0xb99f74;return _0x2f50ec;})[_0x9c23('0x1f')](respondWithFilteredResult(_0x19cfa5,_0x21e409))[_0x9c23('0x38')](handleError(_0x19cfa5,null));};exports[_0x9c23('0x39')]=function(_0x483873,_0x72b70d){var _0xe8ddb3={'raw':!![],'where':{'id':_0x483873[_0x9c23('0x3a')]['id']}},_0x333489={};_0x333489[_0x9c23('0x24')]=_[_0x9c23('0x3b')](db[_0x9c23('0x22')][_0x9c23('0x3c')]);_0x333489[_0x9c23('0x25')]=_[_0x9c23('0x3b')](_0x483873['query']);_0x333489[_0x9c23('0x26')]=_[_0x9c23('0x27')](_0x333489[_0x9c23('0x24')],_0x333489[_0x9c23('0x25')]);_0xe8ddb3[_0x9c23('0x28')]=_[_0x9c23('0x27')](_0x333489[_0x9c23('0x24')],qs[_0x9c23('0x3d')](_0x483873[_0x9c23('0x25')][_0x9c23('0x3d')]));_0xe8ddb3[_0x9c23('0x28')]=_0xe8ddb3[_0x9c23('0x28')][_0x9c23('0x29')]?_0xe8ddb3[_0x9c23('0x28')]:_0x333489[_0x9c23('0x24')];if(_0x483873[_0x9c23('0x25')][_0x9c23('0x35')]){_0xe8ddb3[_0x9c23('0x3e')]=[{'all':!![]}];}_0xe8ddb3=_[_0x9c23('0x31')]({},_0xe8ddb3,_0x483873[_0x9c23('0x33')]);return db[_0x9c23('0x22')][_0x9c23('0x3f')](_0xe8ddb3)[_0x9c23('0x1f')](handleEntityNotFound(_0x72b70d,null))[_0x9c23('0x1f')](respondWithResult(_0x72b70d,null))['catch'](handleError(_0x72b70d,null));};exports[_0x9c23('0x40')]=function(_0x39f4b6,_0x485a7c){return db['ChatTransferReport'][_0x9c23('0x40')](_0x39f4b6[_0x9c23('0x41')],{})['then'](respondWithResult(_0x485a7c,0xc9))[_0x9c23('0x38')](handleError(_0x485a7c,null));};exports[_0x9c23('0x1e')]=function(_0x9a27f1,_0x272bc5){if(_0x9a27f1[_0x9c23('0x41')]['id']){delete _0x9a27f1[_0x9c23('0x41')]['id'];}return db[_0x9c23('0x22')][_0x9c23('0x3f')]({'where':{'id':_0x9a27f1[_0x9c23('0x3a')]['id']}})[_0x9c23('0x1f')](handleEntityNotFound(_0x272bc5,null))['then'](saveUpdates(_0x9a27f1[_0x9c23('0x41')],null))['then'](respondWithResult(_0x272bc5,null))[_0x9c23('0x38')](handleError(_0x272bc5,null));};exports[_0x9c23('0x42')]=function(_0x537c8c,_0xe54d51){return db[_0x9c23('0x22')][_0x9c23('0x3f')]({'where':{'id':_0x537c8c[_0x9c23('0x3a')]['id']}})['then'](handleEntityNotFound(_0xe54d51,null))[_0x9c23('0x1f')](removeEntity(_0xe54d51,null))[_0x9c23('0x38')](handleError(_0xe54d51,null));};exports[_0x9c23('0x43')]=function(_0x69bff8,_0x333e46){return db[_0x9c23('0x22')]['describe']()['then'](respondWithResult(_0x333e46,null))[_0x9c23('0x38')](handleError(_0x333e46,null));};
\ No newline at end of file
+var _0xb5ae=['crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','count','set','Content-Range','json','apply','reject','update','then','error','stack','name','send','index','map','ChatTransferReport','rawAttributes','type','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','limit','offset','order','sort','where','pick','filter','VIRTUAL','includeAll','include','rows','catch','params','merge','options','find','create','body','destroy','describe','html-pdf','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','ejs','lodash','squel'];(function(_0x3d0084,_0x35667e){var _0x257515=function(_0x23ad31){while(--_0x23ad31){_0x3d0084['push'](_0x3d0084['shift']());}};_0x257515(++_0x35667e);}(_0xb5ae,0x125));var _0xeb5a=function(_0x4a1918,_0x20e55e){_0x4a1918=_0x4a1918-0x0;var _0x47974e=_0xb5ae[_0x4a1918];return _0x47974e;};'use strict';var pdf=require(_0xeb5a('0x0'));var emlformat=require('eml-format');var rimraf=require(_0xeb5a('0x1'));var zipdir=require(_0xeb5a('0x2'));var jsonpatch=require(_0xeb5a('0x3'));var rp=require(_0xeb5a('0x4'));var moment=require(_0xeb5a('0x5'));var BPromise=require(_0xeb5a('0x6'));var Mustache=require(_0xeb5a('0x7'));var util=require(_0xeb5a('0x8'));var path=require(_0xeb5a('0x9'));var sox=require(_0xeb5a('0xa'));var csv=require(_0xeb5a('0xb'));var ejs=require(_0xeb5a('0xc'));var fs=require('fs');var _=require(_0xeb5a('0xd'));var squel=require(_0xeb5a('0xe'));var crypto=require(_0xeb5a('0xf'));var jsforce=require('jsforce');var deskjs=require(_0xeb5a('0x10'));var toCsv=require(_0xeb5a('0xb'));var querystring=require(_0xeb5a('0x11'));var Papa=require(_0xeb5a('0x12'));var Redis=require(_0xeb5a('0x13'));var authService=require(_0xeb5a('0x14'));var qs=require('../../components/parsers/qs');var as=require(_0xeb5a('0x15'));var hardwareService=require(_0xeb5a('0x16'));var logger=require(_0xeb5a('0x17'))(_0xeb5a('0x18'));var utils=require('../../config/utils');var config=require(_0xeb5a('0x19'));var licenseUtil=require(_0xeb5a('0x1a'));var db=require(_0xeb5a('0x1b'))['db'];function respondWithStatusCode(_0x33535c,_0x55b5f4){_0x55b5f4=_0x55b5f4||0xcc;return function(_0x563a74){if(_0x563a74){return _0x33535c[_0xeb5a('0x1c')](_0x55b5f4);}return _0x33535c[_0xeb5a('0x1d')](_0x55b5f4)[_0xeb5a('0x1e')]();};}function respondWithResult(_0x41db21,_0x4a8438){_0x4a8438=_0x4a8438||0xc8;return function(_0x592b63){if(_0x592b63){return _0x41db21[_0xeb5a('0x1d')](_0x4a8438)['json'](_0x592b63);}};}function respondWithFilteredResult(_0x42def8,_0x58577f){return function(_0x358389){if(_0x358389){var _0x7bd83b=_0x358389[_0xeb5a('0x1f')],_0x49dc17=_0x58577f['offset'],_0x57701c=_0x58577f['offset']+_0x58577f['limit'],_0x57dcb9;if(_0x57701c>=_0x7bd83b){_0x57701c=_0x7bd83b;_0x57dcb9=0xc8;}else{_0x57dcb9=0xce;}_0x42def8[_0xeb5a('0x1d')](_0x57dcb9);return _0x42def8[_0xeb5a('0x20')](_0xeb5a('0x21'),_0x49dc17+'-'+_0x57701c+'/'+_0x7bd83b)[_0xeb5a('0x22')](_0x358389);}return null;};}function patchUpdates(_0xd5ab95){return function(_0x1caf14){try{jsonpatch[_0xeb5a('0x23')](_0x1caf14,_0xd5ab95,!![]);}catch(_0x15ea79){return BPromise[_0xeb5a('0x24')](_0x15ea79);}return _0x1caf14['save']();};}function saveUpdates(_0x4264ec,_0x5d73af){return function(_0xfb1478){if(_0xfb1478){return _0xfb1478[_0xeb5a('0x25')](_0x4264ec)['then'](function(_0x7be296){return _0x7be296;});}return null;};}function removeEntity(_0x3495e4,_0x38ed17){return function(_0x3b62b1){if(_0x3b62b1){return _0x3b62b1['destroy']()[_0xeb5a('0x26')](function(){_0x3495e4[_0xeb5a('0x1d')](0xcc)[_0xeb5a('0x1e')]();});}};}function handleEntityNotFound(_0x33054f,_0x3bc1d2){return function(_0x581da3){if(!_0x581da3){_0x33054f[_0xeb5a('0x1c')](0x194);}return _0x581da3;};}function handleError(_0x3f5e3f,_0x3e74e7){_0x3e74e7=_0x3e74e7||0x1f4;return function(_0x23f419){logger[_0xeb5a('0x27')](_0x23f419[_0xeb5a('0x28')]);if(_0x23f419['name']){delete _0x23f419[_0xeb5a('0x29')];}_0x3f5e3f[_0xeb5a('0x1d')](_0x3e74e7)[_0xeb5a('0x2a')](_0x23f419);};}exports[_0xeb5a('0x2b')]=function(_0x1be400,_0x34e63f){var _0x3e0b66={},_0xe3b347={},_0x25b8ab={'count':0x0,'rows':[]};var _0x4c0063=_[_0xeb5a('0x2c')](db[_0xeb5a('0x2d')][_0xeb5a('0x2e')],function(_0x589847){return{'name':_0x589847['fieldName'],'type':_0x589847[_0xeb5a('0x2f')]['key']};});_0xe3b347[_0xeb5a('0x30')]=_['map'](_0x4c0063,'name');_0xe3b347[_0xeb5a('0x31')]=_[_0xeb5a('0x32')](_0x1be400[_0xeb5a('0x31')]);_0xe3b347[_0xeb5a('0x33')]=_[_0xeb5a('0x34')](_0xe3b347[_0xeb5a('0x30')],_0xe3b347[_0xeb5a('0x31')]);_0x3e0b66['attributes']=_[_0xeb5a('0x34')](_0xe3b347[_0xeb5a('0x30')],qs[_0xeb5a('0x35')](_0x1be400[_0xeb5a('0x31')][_0xeb5a('0x35')]));_0x3e0b66[_0xeb5a('0x36')]=_0x3e0b66[_0xeb5a('0x36')][_0xeb5a('0x37')]?_0x3e0b66[_0xeb5a('0x36')]:_0xe3b347[_0xeb5a('0x30')];if(!_0x1be400[_0xeb5a('0x31')][_0xeb5a('0x38')]('nolimit')){_0x3e0b66['limit']=qs[_0xeb5a('0x39')](_0x1be400[_0xeb5a('0x31')][_0xeb5a('0x39')]);_0x3e0b66[_0xeb5a('0x3a')]=qs[_0xeb5a('0x3a')](_0x1be400['query'][_0xeb5a('0x3a')]);}_0x3e0b66[_0xeb5a('0x3b')]=qs[_0xeb5a('0x3c')](_0x1be400[_0xeb5a('0x31')][_0xeb5a('0x3c')]);_0x3e0b66[_0xeb5a('0x3d')]=qs[_0xeb5a('0x33')](_[_0xeb5a('0x3e')](_0x1be400['query'],_0xe3b347[_0xeb5a('0x33')]),_0x4c0063);if(_0x1be400[_0xeb5a('0x31')][_0xeb5a('0x3f')]){_0x3e0b66[_0xeb5a('0x3d')]=_['merge'](_0x3e0b66[_0xeb5a('0x3d')],{'$or':_[_0xeb5a('0x2c')](_0x4c0063,function(_0xa1297e){if(_0xa1297e[_0xeb5a('0x2f')]!==_0xeb5a('0x40')){var _0x12851d={};_0x12851d[_0xa1297e[_0xeb5a('0x29')]]={'$like':'%'+_0x1be400[_0xeb5a('0x31')]['filter']+'%'};return _0x12851d;}})});}_0x3e0b66=_['merge']({},_0x3e0b66,_0x1be400['options']);var _0x1dccac={'where':_0x3e0b66['where']};return db[_0xeb5a('0x2d')]['count'](_0x1dccac)[_0xeb5a('0x26')](function(_0x4806e2){_0x25b8ab['count']=_0x4806e2;if(_0x1be400['query'][_0xeb5a('0x41')]){_0x3e0b66[_0xeb5a('0x42')]=[{'all':!![]}];}return db['ChatTransferReport']['findAll'](_0x3e0b66);})[_0xeb5a('0x26')](function(_0x1465f9){_0x25b8ab[_0xeb5a('0x43')]=_0x1465f9;return _0x25b8ab;})[_0xeb5a('0x26')](respondWithFilteredResult(_0x34e63f,_0x3e0b66))[_0xeb5a('0x44')](handleError(_0x34e63f,null));};exports['show']=function(_0x175742,_0x2d22a1){var _0x48f532={'raw':!![],'where':{'id':_0x175742[_0xeb5a('0x45')]['id']}},_0x124fbc={};_0x124fbc[_0xeb5a('0x30')]=_['keys'](db[_0xeb5a('0x2d')][_0xeb5a('0x2e')]);_0x124fbc[_0xeb5a('0x31')]=_['keys'](_0x175742[_0xeb5a('0x31')]);_0x124fbc[_0xeb5a('0x33')]=_['intersection'](_0x124fbc['model'],_0x124fbc['query']);_0x48f532[_0xeb5a('0x36')]=_['intersection'](_0x124fbc[_0xeb5a('0x30')],qs[_0xeb5a('0x35')](_0x175742[_0xeb5a('0x31')][_0xeb5a('0x35')]));_0x48f532[_0xeb5a('0x36')]=_0x48f532['attributes']['length']?_0x48f532['attributes']:_0x124fbc['model'];if(_0x175742[_0xeb5a('0x31')][_0xeb5a('0x41')]){_0x48f532['include']=[{'all':!![]}];}_0x48f532=_[_0xeb5a('0x46')]({},_0x48f532,_0x175742[_0xeb5a('0x47')]);return db[_0xeb5a('0x2d')][_0xeb5a('0x48')](_0x48f532)[_0xeb5a('0x26')](handleEntityNotFound(_0x2d22a1,null))[_0xeb5a('0x26')](respondWithResult(_0x2d22a1,null))[_0xeb5a('0x44')](handleError(_0x2d22a1,null));};exports[_0xeb5a('0x49')]=function(_0x56ac8a,_0x349be8){return db['ChatTransferReport']['create'](_0x56ac8a[_0xeb5a('0x4a')],{})[_0xeb5a('0x26')](respondWithResult(_0x349be8,0xc9))[_0xeb5a('0x44')](handleError(_0x349be8,null));};exports[_0xeb5a('0x25')]=function(_0x273dba,_0xee5d5e){if(_0x273dba[_0xeb5a('0x4a')]['id']){delete _0x273dba['body']['id'];}return db[_0xeb5a('0x2d')][_0xeb5a('0x48')]({'where':{'id':_0x273dba[_0xeb5a('0x45')]['id']}})[_0xeb5a('0x26')](handleEntityNotFound(_0xee5d5e,null))['then'](saveUpdates(_0x273dba[_0xeb5a('0x4a')],null))['then'](respondWithResult(_0xee5d5e,null))['catch'](handleError(_0xee5d5e,null));};exports[_0xeb5a('0x4b')]=function(_0x4c8ec6,_0xc23746){return db[_0xeb5a('0x2d')]['find']({'where':{'id':_0x4c8ec6['params']['id']}})[_0xeb5a('0x26')](handleEntityNotFound(_0xc23746,null))[_0xeb5a('0x26')](removeEntity(_0xc23746,null))['catch'](handleError(_0xc23746,null));};exports[_0xeb5a('0x4c')]=function(_0x37fb9a,_0x52b679){return db[_0xeb5a('0x2d')]['describe']()[_0xeb5a('0x26')](respondWithResult(_0x52b679,null))['catch'](handleError(_0x52b679,null));};
\ No newline at end of file