Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / chatQueueReport / chatQueueReport.controller.js
index 22e417a..d8e7131 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4b80=['update','destroy','then','stack','name','send','map','ChatQueueReport','rawAttributes','fieldName','type','model','query','intersection','attributes','fields','length','hasOwnProperty','sort','filters','filter','where','VIRTUAL','merge','options','include','rows','catch','show','params','keys','includeAll','find','create','body','describe','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','to-csv','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','api','../../config/utils','../../config/environment','../../mysqldb','sendStatus','status','end','json','count','offset','limit','set','Content-Range','apply','reject','save'];(function(_0x5f0089,_0x227e2c){var _0x193892=function(_0x24051f){while(--_0x24051f){_0x5f0089['push'](_0x5f0089['shift']());}};_0x193892(++_0x227e2c);}(_0x4b80,0x6e));var _0x04b8=function(_0x1cacea,_0x521835){_0x1cacea=_0x1cacea-0x0;var _0x34250f=_0x4b80[_0x1cacea];return _0x34250f;};'use strict';var pdf=require(_0x04b8('0x0'));var emlformat=require(_0x04b8('0x1'));var rimraf=require(_0x04b8('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x04b8('0x3'));var rp=require(_0x04b8('0x4'));var moment=require(_0x04b8('0x5'));var BPromise=require(_0x04b8('0x6'));var Mustache=require(_0x04b8('0x7'));var util=require(_0x04b8('0x8'));var path=require(_0x04b8('0x9'));var sox=require(_0x04b8('0xa'));var csv=require(_0x04b8('0xb'));var ejs=require('ejs');var fs=require('fs');var _=require(_0x04b8('0xc'));var squel=require('squel');var crypto=require(_0x04b8('0xd'));var jsforce=require(_0x04b8('0xe'));var deskjs=require(_0x04b8('0xf'));var toCsv=require(_0x04b8('0xb'));var querystring=require(_0x04b8('0x10'));var Papa=require('papaparse');var Redis=require(_0x04b8('0x11'));var authService=require(_0x04b8('0x12'));var qs=require(_0x04b8('0x13'));var as=require(_0x04b8('0x14'));var hardwareService=require(_0x04b8('0x15'));var logger=require('../../config/logger')(_0x04b8('0x16'));var utils=require(_0x04b8('0x17'));var config=require(_0x04b8('0x18'));var db=require(_0x04b8('0x19'))['db'];function respondWithStatusCode(_0x4d14dc,_0x46b612){_0x46b612=_0x46b612||0xcc;return function(_0x1cefff){if(_0x1cefff){return _0x4d14dc[_0x04b8('0x1a')](_0x46b612);}return _0x4d14dc[_0x04b8('0x1b')](_0x46b612)[_0x04b8('0x1c')]();};}function respondWithResult(_0x5bdae9,_0x22c2ee){_0x22c2ee=_0x22c2ee||0xc8;return function(_0x39f95d){if(_0x39f95d){return _0x5bdae9['status'](_0x22c2ee)[_0x04b8('0x1d')](_0x39f95d);}};}function respondWithFilteredResult(_0x56d7eb,_0x499d7c){return function(_0x26b91d){if(_0x26b91d){var _0x2fd370=_0x26b91d[_0x04b8('0x1e')],_0x103b32=_0x499d7c[_0x04b8('0x1f')],_0x305cb3=_0x499d7c[_0x04b8('0x1f')]+_0x499d7c[_0x04b8('0x20')],_0x158fc4;if(_0x305cb3>=_0x2fd370){_0x305cb3=_0x2fd370;_0x158fc4=0xc8;}else{_0x158fc4=0xce;}_0x56d7eb['status'](_0x158fc4);return _0x56d7eb[_0x04b8('0x21')](_0x04b8('0x22'),_0x103b32+'-'+_0x305cb3+'/'+_0x2fd370)[_0x04b8('0x1d')](_0x26b91d);}return null;};}function patchUpdates(_0x6b6f86){return function(_0x584dfe){try{jsonpatch[_0x04b8('0x23')](_0x584dfe,_0x6b6f86,!![]);}catch(_0x26980e){return BPromise[_0x04b8('0x24')](_0x26980e);}return _0x584dfe[_0x04b8('0x25')]();};}function saveUpdates(_0x43d760,_0x5178ab){return function(_0x514c51){if(_0x514c51){return _0x514c51[_0x04b8('0x26')](_0x43d760)['then'](function(_0x146cd7){return _0x146cd7;});}return null;};}function removeEntity(_0x236d97,_0x4557f1){return function(_0x18f4a8){if(_0x18f4a8){return _0x18f4a8[_0x04b8('0x27')]()[_0x04b8('0x28')](function(){_0x236d97[_0x04b8('0x1b')](0xcc)[_0x04b8('0x1c')]();});}};}function handleEntityNotFound(_0x1cdd0a,_0x2cca1c){return function(_0x45b3aa){if(!_0x45b3aa){_0x1cdd0a[_0x04b8('0x1a')](0x194);}return _0x45b3aa;};}function handleError(_0x182823,_0x127c5f){_0x127c5f=_0x127c5f||0x1f4;return function(_0x4a0c35){logger['error'](_0x4a0c35[_0x04b8('0x29')]);if(_0x4a0c35[_0x04b8('0x2a')]){delete _0x4a0c35[_0x04b8('0x2a')];}_0x182823[_0x04b8('0x1b')](_0x127c5f)[_0x04b8('0x2b')](_0x4a0c35);};}exports['index']=function(_0x17557e,_0x2bb993){var _0x474dea={},_0x58c996={},_0x534bc4={'count':0x0,'rows':[]};var _0x1d88cd=_[_0x04b8('0x2c')](db[_0x04b8('0x2d')][_0x04b8('0x2e')],function(_0x327edf){return{'name':_0x327edf[_0x04b8('0x2f')],'type':_0x327edf[_0x04b8('0x30')]['key']};});_0x58c996[_0x04b8('0x31')]=_[_0x04b8('0x2c')](_0x1d88cd,_0x04b8('0x2a'));_0x58c996[_0x04b8('0x32')]=_['keys'](_0x17557e['query']);_0x58c996['filters']=_[_0x04b8('0x33')](_0x58c996[_0x04b8('0x31')],_0x58c996[_0x04b8('0x32')]);_0x474dea[_0x04b8('0x34')]=_['intersection'](_0x58c996['model'],qs[_0x04b8('0x35')](_0x17557e['query']['fields']));_0x474dea['attributes']=_0x474dea[_0x04b8('0x34')][_0x04b8('0x36')]?_0x474dea['attributes']:_0x58c996['model'];if(!_0x17557e['query'][_0x04b8('0x37')]('nolimit')){_0x474dea['limit']=qs[_0x04b8('0x20')](_0x17557e[_0x04b8('0x32')]['limit']);_0x474dea['offset']=qs[_0x04b8('0x1f')](_0x17557e[_0x04b8('0x32')]['offset']);}_0x474dea['order']=qs[_0x04b8('0x38')](_0x17557e[_0x04b8('0x32')]['sort']);_0x474dea['where']=qs['filters'](_['pick'](_0x17557e[_0x04b8('0x32')],_0x58c996[_0x04b8('0x39')]));if(_0x17557e[_0x04b8('0x32')][_0x04b8('0x3a')]){_0x474dea[_0x04b8('0x3b')]=_['merge'](_0x474dea[_0x04b8('0x3b')],{'$or':_['map'](_0x1d88cd,function(_0x20302b){if(_0x20302b[_0x04b8('0x30')]!==_0x04b8('0x3c')){var _0x467382={};_0x467382[_0x20302b[_0x04b8('0x2a')]]={'$like':'%'+_0x17557e[_0x04b8('0x32')][_0x04b8('0x3a')]+'%'};return _0x467382;}})});}_0x474dea=_[_0x04b8('0x3d')]({},_0x474dea,_0x17557e[_0x04b8('0x3e')]);var _0x2ac82b={'where':_0x474dea[_0x04b8('0x3b')]};return db[_0x04b8('0x2d')]['count'](_0x2ac82b)[_0x04b8('0x28')](function(_0x4b4b37){_0x534bc4['count']=_0x4b4b37;if(_0x17557e['query']['includeAll']){_0x474dea[_0x04b8('0x3f')]=[{'all':!![]}];}return db['ChatQueueReport']['findAll'](_0x474dea);})[_0x04b8('0x28')](function(_0x72db64){_0x534bc4[_0x04b8('0x40')]=_0x72db64;return _0x534bc4;})[_0x04b8('0x28')](respondWithFilteredResult(_0x2bb993,_0x474dea))[_0x04b8('0x41')](handleError(_0x2bb993,null));};exports[_0x04b8('0x42')]=function(_0x475d86,_0x4b3c7c){var _0x44a205={'raw':!![],'where':{'id':_0x475d86[_0x04b8('0x43')]['id']}},_0x402eb8={};_0x402eb8[_0x04b8('0x31')]=_['keys'](db['ChatQueueReport'][_0x04b8('0x2e')]);_0x402eb8[_0x04b8('0x32')]=_[_0x04b8('0x44')](_0x475d86['query']);_0x402eb8[_0x04b8('0x39')]=_[_0x04b8('0x33')](_0x402eb8[_0x04b8('0x31')],_0x402eb8[_0x04b8('0x32')]);_0x44a205[_0x04b8('0x34')]=_['intersection'](_0x402eb8['model'],qs['fields'](_0x475d86[_0x04b8('0x32')][_0x04b8('0x35')]));_0x44a205['attributes']=_0x44a205[_0x04b8('0x34')]['length']?_0x44a205[_0x04b8('0x34')]:_0x402eb8['model'];if(_0x475d86[_0x04b8('0x32')][_0x04b8('0x45')]){_0x44a205['include']=[{'all':!![]}];}_0x44a205=_[_0x04b8('0x3d')]({},_0x44a205,_0x475d86['options']);return db['ChatQueueReport'][_0x04b8('0x46')](_0x44a205)[_0x04b8('0x28')](handleEntityNotFound(_0x4b3c7c,null))[_0x04b8('0x28')](respondWithResult(_0x4b3c7c,null))['catch'](handleError(_0x4b3c7c,null));};exports[_0x04b8('0x47')]=function(_0x96455d,_0x4b84bb){return db[_0x04b8('0x2d')][_0x04b8('0x47')](_0x96455d[_0x04b8('0x48')],{})[_0x04b8('0x28')](respondWithResult(_0x4b84bb,0xc9))['catch'](handleError(_0x4b84bb,null));};exports[_0x04b8('0x26')]=function(_0x38d6c5,_0xbe4fd4){if(_0x38d6c5[_0x04b8('0x48')]['id']){delete _0x38d6c5['body']['id'];}return db[_0x04b8('0x2d')][_0x04b8('0x46')]({'where':{'id':_0x38d6c5[_0x04b8('0x43')]['id']}})[_0x04b8('0x28')](handleEntityNotFound(_0xbe4fd4,null))[_0x04b8('0x28')](saveUpdates(_0x38d6c5[_0x04b8('0x48')],null))[_0x04b8('0x28')](respondWithResult(_0xbe4fd4,null))[_0x04b8('0x41')](handleError(_0xbe4fd4,null));};exports[_0x04b8('0x27')]=function(_0xf59c64,_0x3f233f){return db[_0x04b8('0x2d')][_0x04b8('0x46')]({'where':{'id':_0xf59c64[_0x04b8('0x43')]['id']}})[_0x04b8('0x28')](handleEntityNotFound(_0x3f233f,null))['then'](removeEntity(_0x3f233f,null))[_0x04b8('0x41')](handleError(_0x3f233f,null));};exports[_0x04b8('0x49')]=function(_0x40f47a,_0x56593e){return db['ChatQueueReport']['describe']()[_0x04b8('0x28')](respondWithResult(_0x56593e,null))[_0x04b8('0x41')](handleError(_0x56593e,null));};
\ No newline at end of file
+var _0xafc4=['update','destroy','then','stack','name','rawAttributes','fieldName','type','key','model','query','keys','filters','intersection','fields','attributes','length','hasOwnProperty','nolimit','sort','where','filter','merge','map','VIRTUAL','options','ChatQueueReport','includeAll','catch','show','params','create','body','find','describe','eml-format','zip-dir','request-promise','moment','bluebird','mustache','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','reject','save'];(function(_0x5dea35,_0x4403ce){var _0x420537=function(_0x262e1c){while(--_0x262e1c){_0x5dea35['push'](_0x5dea35['shift']());}};_0x420537(++_0x4403ce);}(_0xafc4,0x69));var _0x4afc=function(_0x43963c,_0x111a1d){_0x43963c=_0x43963c-0x0;var _0x1b2c40=_0xafc4[_0x43963c];return _0x1b2c40;};'use strict';var emlformat=require(_0x4afc('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x4afc('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x4afc('0x2'));var moment=require(_0x4afc('0x3'));var BPromise=require(_0x4afc('0x4'));var Mustache=require(_0x4afc('0x5'));var util=require('util');var path=require('path');var sox=require('sox');var csv=require(_0x4afc('0x6'));var ejs=require(_0x4afc('0x7'));var fs=require('fs');var fs_extra=require(_0x4afc('0x8'));var _=require(_0x4afc('0x9'));var squel=require(_0x4afc('0xa'));var crypto=require(_0x4afc('0xb'));var jsforce=require('jsforce');var deskjs=require(_0x4afc('0xc'));var toCsv=require(_0x4afc('0x6'));var querystring=require(_0x4afc('0xd'));var Papa=require(_0x4afc('0xe'));var Redis=require(_0x4afc('0xf'));var authService=require(_0x4afc('0x10'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x4afc('0x11'));var logger=require('../../config/logger')(_0x4afc('0x12'));var utils=require(_0x4afc('0x13'));var config=require('../../config/environment');var licenseUtil=require(_0x4afc('0x14'));var db=require(_0x4afc('0x15'))['db'];function respondWithStatusCode(_0x2b191c,_0x2768bf){_0x2768bf=_0x2768bf||0xcc;return function(_0x1d8f98){if(_0x1d8f98){return _0x2b191c[_0x4afc('0x16')](_0x2768bf);}return _0x2b191c[_0x4afc('0x17')](_0x2768bf)[_0x4afc('0x18')]();};}function respondWithResult(_0x5effb4,_0x26f3f1){_0x26f3f1=_0x26f3f1||0xc8;return function(_0x429fd8){if(_0x429fd8){return _0x5effb4[_0x4afc('0x17')](_0x26f3f1)[_0x4afc('0x19')](_0x429fd8);}};}function respondWithFilteredResult(_0x5f2dc9,_0x4e32e8){return function(_0x2452ae){if(_0x2452ae){var _0x4f3127=typeof _0x4e32e8[_0x4afc('0x1a')]===_0x4afc('0x1b')&&typeof _0x4e32e8[_0x4afc('0x1c')]===_0x4afc('0x1b');var _0x3a306f=_0x2452ae[_0x4afc('0x1d')];var _0x22f809=_0x4f3127?0x0:_0x4e32e8[_0x4afc('0x1a')];var _0x16365f=_0x4f3127?_0x2452ae[_0x4afc('0x1d')]:_0x4e32e8[_0x4afc('0x1a')]+_0x4e32e8['limit'];var _0x1a8f49;if(_0x16365f>=_0x3a306f){_0x16365f=_0x3a306f;_0x1a8f49=0xc8;}else{_0x1a8f49=0xce;}_0x5f2dc9[_0x4afc('0x17')](_0x1a8f49);return _0x5f2dc9[_0x4afc('0x1e')](_0x4afc('0x1f'),_0x22f809+'-'+_0x16365f+'/'+_0x3a306f)['json'](_0x2452ae);}return null;};}function patchUpdates(_0x3bddc0){return function(_0x30eda3){try{jsonpatch[_0x4afc('0x20')](_0x30eda3,_0x3bddc0,!![]);}catch(_0x280587){return BPromise[_0x4afc('0x21')](_0x280587);}return _0x30eda3[_0x4afc('0x22')]();};}function saveUpdates(_0x3ad7a5,_0x573a75){return function(_0x5403e4){if(_0x5403e4){return _0x5403e4[_0x4afc('0x23')](_0x3ad7a5)['then'](function(_0x37debf){return _0x37debf;});}return null;};}function removeEntity(_0x4e9a48,_0x1aa676){return function(_0x2a0314){if(_0x2a0314){return _0x2a0314[_0x4afc('0x24')]()[_0x4afc('0x25')](function(){_0x4e9a48[_0x4afc('0x17')](0xcc)[_0x4afc('0x18')]();});}};}function handleEntityNotFound(_0x40a0db,_0x383a71){return function(_0x2bb837){if(!_0x2bb837){_0x40a0db[_0x4afc('0x16')](0x194);}return _0x2bb837;};}function handleError(_0x4e8273,_0x359c07){_0x359c07=_0x359c07||0x1f4;return function(_0x35f5b3){logger['error'](_0x35f5b3[_0x4afc('0x26')]);if(_0x35f5b3[_0x4afc('0x27')]){delete _0x35f5b3[_0x4afc('0x27')];}_0x4e8273['status'](_0x359c07)['send'](_0x35f5b3);};}exports['index']=function(_0x426e9d,_0x5db47e){var _0x5e4747={},_0xd26d2f={},_0x628e42={'count':0x0,'rows':[]};var _0x494fe7=_['map'](db['ChatQueueReport'][_0x4afc('0x28')],function(_0x34434a){return{'name':_0x34434a[_0x4afc('0x29')],'type':_0x34434a[_0x4afc('0x2a')][_0x4afc('0x2b')]};});_0xd26d2f[_0x4afc('0x2c')]=_['map'](_0x494fe7,_0x4afc('0x27'));_0xd26d2f[_0x4afc('0x2d')]=_[_0x4afc('0x2e')](_0x426e9d[_0x4afc('0x2d')]);_0xd26d2f[_0x4afc('0x2f')]=_[_0x4afc('0x30')](_0xd26d2f[_0x4afc('0x2c')],_0xd26d2f[_0x4afc('0x2d')]);_0x5e4747['attributes']=_[_0x4afc('0x30')](_0xd26d2f['model'],qs['fields'](_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x31')]));_0x5e4747[_0x4afc('0x32')]=_0x5e4747[_0x4afc('0x32')][_0x4afc('0x33')]?_0x5e4747[_0x4afc('0x32')]:_0xd26d2f['model'];if(!_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x34')](_0x4afc('0x35'))){_0x5e4747[_0x4afc('0x1c')]=qs[_0x4afc('0x1c')](_0x426e9d[_0x4afc('0x2d')]['limit']);_0x5e4747[_0x4afc('0x1a')]=qs[_0x4afc('0x1a')](_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x1a')]);}_0x5e4747['order']=qs['sort'](_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x36')]);_0x5e4747[_0x4afc('0x37')]=qs['filters'](_['pick'](_0x426e9d[_0x4afc('0x2d')],_0xd26d2f['filters']),_0x494fe7);if(_0x426e9d['query'][_0x4afc('0x38')]){_0x5e4747[_0x4afc('0x37')]=_[_0x4afc('0x39')](_0x5e4747[_0x4afc('0x37')],{'$or':_[_0x4afc('0x3a')](_0x494fe7,function(_0x4420fb){if(_0x4420fb[_0x4afc('0x2a')]!==_0x4afc('0x3b')){var _0x3ccc5a={};_0x3ccc5a[_0x4420fb[_0x4afc('0x27')]]={'$like':'%'+_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x38')]+'%'};return _0x3ccc5a;}})});}_0x5e4747=_[_0x4afc('0x39')]({},_0x5e4747,_0x426e9d[_0x4afc('0x3c')]);var _0x46dd2a={'where':_0x5e4747['where']};return db[_0x4afc('0x3d')][_0x4afc('0x1d')](_0x46dd2a)[_0x4afc('0x25')](function(_0xe6db12){_0x628e42[_0x4afc('0x1d')]=_0xe6db12;if(_0x426e9d[_0x4afc('0x2d')][_0x4afc('0x3e')]){_0x5e4747['include']=[{'all':!![]}];}return db['ChatQueueReport']['findAll'](_0x5e4747);})[_0x4afc('0x25')](function(_0x105c03){_0x628e42['rows']=_0x105c03;return _0x628e42;})[_0x4afc('0x25')](respondWithFilteredResult(_0x5db47e,_0x5e4747))[_0x4afc('0x3f')](handleError(_0x5db47e,null));};exports[_0x4afc('0x40')]=function(_0x397996,_0x545109){var _0x12b5db={'raw':!![],'where':{'id':_0x397996[_0x4afc('0x41')]['id']}},_0x45c9c3={};_0x45c9c3[_0x4afc('0x2c')]=_[_0x4afc('0x2e')](db[_0x4afc('0x3d')]['rawAttributes']);_0x45c9c3[_0x4afc('0x2d')]=_['keys'](_0x397996[_0x4afc('0x2d')]);_0x45c9c3[_0x4afc('0x2f')]=_[_0x4afc('0x30')](_0x45c9c3['model'],_0x45c9c3['query']);_0x12b5db[_0x4afc('0x32')]=_[_0x4afc('0x30')](_0x45c9c3[_0x4afc('0x2c')],qs[_0x4afc('0x31')](_0x397996[_0x4afc('0x2d')][_0x4afc('0x31')]));_0x12b5db[_0x4afc('0x32')]=_0x12b5db[_0x4afc('0x32')]['length']?_0x12b5db[_0x4afc('0x32')]:_0x45c9c3[_0x4afc('0x2c')];if(_0x397996['query'][_0x4afc('0x3e')]){_0x12b5db['include']=[{'all':!![]}];}_0x12b5db=_[_0x4afc('0x39')]({},_0x12b5db,_0x397996[_0x4afc('0x3c')]);return db[_0x4afc('0x3d')]['find'](_0x12b5db)[_0x4afc('0x25')](handleEntityNotFound(_0x545109,null))[_0x4afc('0x25')](respondWithResult(_0x545109,null))[_0x4afc('0x3f')](handleError(_0x545109,null));};exports[_0x4afc('0x42')]=function(_0x4772db,_0x19a0ac){return db['ChatQueueReport']['create'](_0x4772db['body'],{})[_0x4afc('0x25')](respondWithResult(_0x19a0ac,0xc9))[_0x4afc('0x3f')](handleError(_0x19a0ac,null));};exports[_0x4afc('0x23')]=function(_0x269c24,_0xb5cca9){if(_0x269c24[_0x4afc('0x43')]['id']){delete _0x269c24[_0x4afc('0x43')]['id'];}return db[_0x4afc('0x3d')][_0x4afc('0x44')]({'where':{'id':_0x269c24[_0x4afc('0x41')]['id']}})['then'](handleEntityNotFound(_0xb5cca9,null))[_0x4afc('0x25')](saveUpdates(_0x269c24['body'],null))['then'](respondWithResult(_0xb5cca9,null))[_0x4afc('0x3f')](handleError(_0xb5cca9,null));};exports['destroy']=function(_0x428d78,_0x355198){return db[_0x4afc('0x3d')][_0x4afc('0x44')]({'where':{'id':_0x428d78['params']['id']}})[_0x4afc('0x25')](handleEntityNotFound(_0x355198,null))['then'](removeEntity(_0x355198,null))[_0x4afc('0x3f')](handleError(_0x355198,null));};exports[_0x4afc('0x45')]=function(_0x3625c9,_0x387834){return db[_0x4afc('0x3d')][_0x4afc('0x45')]()[_0x4afc('0x25')](respondWithResult(_0x387834,null))[_0x4afc('0x3f')](handleError(_0x387834,null));};
\ No newline at end of file