Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / userProfileSection / userProfileSection.controller.js
index ec89fa0..1cae10a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf579=['moment','bluebird','mustache','util','path','fs-extra','lodash','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','api','../../config/license/util','../../mysqldb','sendStatus','status','end','offset','undefined','limit','count','set','Content-Range','json','apply','reject','then','destroy','error','stack','name','map','UserProfileSection','rawAttributes','key','query','filters','intersection','model','attributes','hasOwnProperty','order','sort','where','pick','filter','merge','options','includeAll','include','findAll','catch','show','params','keys','fields','length','create','update','body','find','describe','rimraf','zip-dir','request-promise'];(function(_0x25b78d,_0x347586){var _0x3d04f5=function(_0x1c0c81){while(--_0x1c0c81){_0x25b78d['push'](_0x25b78d['shift']());}};_0x3d04f5(++_0x347586);}(_0xf579,0x87));var _0x9f57=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xf579[_0x502c7d];return _0x30b7ed;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0x9f57('0x0'));var zipdir=require(_0x9f57('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x9f57('0x2'));var moment=require(_0x9f57('0x3'));var BPromise=require(_0x9f57('0x4'));var Mustache=require(_0x9f57('0x5'));var util=require(_0x9f57('0x6'));var path=require(_0x9f57('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require('ejs');var fs=require('fs');var fs_extra=require(_0x9f57('0x8'));var _=require(_0x9f57('0x9'));var squel=require('squel');var crypto=require('crypto');var jsforce=require('jsforce');var deskjs=require(_0x9f57('0xa'));var toCsv=require(_0x9f57('0xb'));var querystring=require(_0x9f57('0xc'));var Papa=require(_0x9f57('0xd'));var Redis=require(_0x9f57('0xe'));var authService=require('../../components/auth/service');var qs=require(_0x9f57('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x9f57('0x10'));var logger=require(_0x9f57('0x11'))(_0x9f57('0x12'));var utils=require('../../config/utils');var config=require('../../config/environment');var licenseUtil=require(_0x9f57('0x13'));var db=require(_0x9f57('0x14'))['db'];function respondWithStatusCode(_0x1b1845,_0x13873b){_0x13873b=_0x13873b||0xcc;return function(_0x12cba0){if(_0x12cba0){return _0x1b1845[_0x9f57('0x15')](_0x13873b);}return _0x1b1845[_0x9f57('0x16')](_0x13873b)[_0x9f57('0x17')]();};}function respondWithResult(_0xc8d0f,_0x31d600){_0x31d600=_0x31d600||0xc8;return function(_0x4343a5){if(_0x4343a5){return _0xc8d0f[_0x9f57('0x16')](_0x31d600)['json'](_0x4343a5);}};}function respondWithFilteredResult(_0x132b68,_0x89fb4e){return function(_0xaf2ea7){if(_0xaf2ea7){var _0x51499d=typeof _0x89fb4e[_0x9f57('0x18')]===_0x9f57('0x19')&&typeof _0x89fb4e[_0x9f57('0x1a')]==='undefined';var _0x338f38=_0xaf2ea7['count'];var _0x5e330e=_0x51499d?0x0:_0x89fb4e[_0x9f57('0x18')];var _0x2f0b4c=_0x51499d?_0xaf2ea7[_0x9f57('0x1b')]:_0x89fb4e[_0x9f57('0x18')]+_0x89fb4e['limit'];var _0x539c11;if(_0x2f0b4c>=_0x338f38){_0x2f0b4c=_0x338f38;_0x539c11=0xc8;}else{_0x539c11=0xce;}_0x132b68[_0x9f57('0x16')](_0x539c11);return _0x132b68[_0x9f57('0x1c')](_0x9f57('0x1d'),_0x5e330e+'-'+_0x2f0b4c+'/'+_0x338f38)[_0x9f57('0x1e')](_0xaf2ea7);}return null;};}function patchUpdates(_0x47cd32){return function(_0x497559){try{jsonpatch[_0x9f57('0x1f')](_0x497559,_0x47cd32,!![]);}catch(_0x1f12c0){return BPromise[_0x9f57('0x20')](_0x1f12c0);}return _0x497559['save']();};}function saveUpdates(_0x1a95ce,_0xea764f){return function(_0x26d940){if(_0x26d940){return _0x26d940['update'](_0x1a95ce)[_0x9f57('0x21')](function(_0x38fac5){return _0x38fac5;});}return null;};}function removeEntity(_0x82727b,_0x424f4d){return function(_0x911b19){if(_0x911b19){return _0x911b19[_0x9f57('0x22')]()['then'](function(){_0x82727b[_0x9f57('0x16')](0xcc)['end']();});}};}function handleEntityNotFound(_0x1ce83e,_0x3c68d1){return function(_0x523806){if(!_0x523806){_0x1ce83e['sendStatus'](0x194);}return _0x523806;};}function handleError(_0x5cbfe1,_0x33367b){_0x33367b=_0x33367b||0x1f4;return function(_0x540b96){logger[_0x9f57('0x23')](_0x540b96[_0x9f57('0x24')]);if(_0x540b96[_0x9f57('0x25')]){delete _0x540b96[_0x9f57('0x25')];}_0x5cbfe1[_0x9f57('0x16')](_0x33367b)['send'](_0x540b96);};}exports['index']=function(_0x27e90c,_0x450e1d){var _0x2f68f2={},_0x35e3c9={},_0x398dca={'count':0x0,'rows':[]};var _0x3571c7=_[_0x9f57('0x26')](db[_0x9f57('0x27')][_0x9f57('0x28')],function(_0x34737a){return{'name':_0x34737a['fieldName'],'type':_0x34737a['type'][_0x9f57('0x29')]};});_0x35e3c9['model']=_[_0x9f57('0x26')](_0x3571c7,_0x9f57('0x25'));_0x35e3c9[_0x9f57('0x2a')]=_['keys'](_0x27e90c[_0x9f57('0x2a')]);_0x35e3c9[_0x9f57('0x2b')]=_[_0x9f57('0x2c')](_0x35e3c9[_0x9f57('0x2d')],_0x35e3c9[_0x9f57('0x2a')]);_0x2f68f2[_0x9f57('0x2e')]=_['intersection'](_0x35e3c9['model'],qs['fields'](_0x27e90c[_0x9f57('0x2a')]['fields']));_0x2f68f2[_0x9f57('0x2e')]=_0x2f68f2[_0x9f57('0x2e')]['length']?_0x2f68f2['attributes']:_0x35e3c9[_0x9f57('0x2d')];if(!_0x27e90c['query'][_0x9f57('0x2f')]('nolimit')){_0x2f68f2[_0x9f57('0x1a')]=qs[_0x9f57('0x1a')](_0x27e90c[_0x9f57('0x2a')][_0x9f57('0x1a')]);_0x2f68f2[_0x9f57('0x18')]=qs['offset'](_0x27e90c['query'][_0x9f57('0x18')]);}_0x2f68f2[_0x9f57('0x30')]=qs['sort'](_0x27e90c['query'][_0x9f57('0x31')]);_0x2f68f2[_0x9f57('0x32')]=qs[_0x9f57('0x2b')](_[_0x9f57('0x33')](_0x27e90c[_0x9f57('0x2a')],_0x35e3c9[_0x9f57('0x2b')]),_0x3571c7);if(_0x27e90c[_0x9f57('0x2a')][_0x9f57('0x34')]){_0x2f68f2[_0x9f57('0x32')]=_[_0x9f57('0x35')](_0x2f68f2[_0x9f57('0x32')],{'$or':_['map'](_0x3571c7,function(_0x4de921){if(_0x4de921['type']!=='VIRTUAL'){var _0x598ec2={};_0x598ec2[_0x4de921[_0x9f57('0x25')]]={'$like':'%'+_0x27e90c['query'][_0x9f57('0x34')]+'%'};return _0x598ec2;}})});}_0x2f68f2=_[_0x9f57('0x35')]({},_0x2f68f2,_0x27e90c[_0x9f57('0x36')]);var _0x476ffd={'where':_0x2f68f2[_0x9f57('0x32')]};return db[_0x9f57('0x27')][_0x9f57('0x1b')](_0x476ffd)['then'](function(_0x29d9fa){_0x398dca['count']=_0x29d9fa;if(_0x27e90c[_0x9f57('0x2a')][_0x9f57('0x37')]){_0x2f68f2[_0x9f57('0x38')]=[{'all':!![]}];}return db[_0x9f57('0x27')][_0x9f57('0x39')](_0x2f68f2);})['then'](function(_0x36dcdf){_0x398dca['rows']=_0x36dcdf;return _0x398dca;})[_0x9f57('0x21')](respondWithFilteredResult(_0x450e1d,_0x2f68f2))[_0x9f57('0x3a')](handleError(_0x450e1d,null));};exports[_0x9f57('0x3b')]=function(_0x30d840,_0x469f06){var _0x5110b2={'raw':![],'where':{'id':_0x30d840[_0x9f57('0x3c')]['id']}},_0x12b850={};_0x12b850[_0x9f57('0x2d')]=_['keys'](db[_0x9f57('0x27')]['rawAttributes']);_0x12b850[_0x9f57('0x2a')]=_[_0x9f57('0x3d')](_0x30d840[_0x9f57('0x2a')]);_0x12b850[_0x9f57('0x2b')]=_[_0x9f57('0x2c')](_0x12b850[_0x9f57('0x2d')],_0x12b850[_0x9f57('0x2a')]);_0x5110b2[_0x9f57('0x2e')]=_[_0x9f57('0x2c')](_0x12b850[_0x9f57('0x2d')],qs[_0x9f57('0x3e')](_0x30d840[_0x9f57('0x2a')][_0x9f57('0x3e')]));_0x5110b2[_0x9f57('0x2e')]=_0x5110b2[_0x9f57('0x2e')][_0x9f57('0x3f')]?_0x5110b2[_0x9f57('0x2e')]:_0x12b850[_0x9f57('0x2d')];if(_0x30d840[_0x9f57('0x2a')][_0x9f57('0x37')]){_0x5110b2[_0x9f57('0x38')]=[{'all':!![]}];}_0x5110b2=_[_0x9f57('0x35')]({},_0x5110b2,_0x30d840['options']);return db[_0x9f57('0x27')]['find'](_0x5110b2)['then'](handleEntityNotFound(_0x469f06,null))[_0x9f57('0x21')](respondWithResult(_0x469f06,null))['catch'](handleError(_0x469f06,null));};exports[_0x9f57('0x40')]=function(_0x46e945,_0x115c5){return db[_0x9f57('0x27')]['create'](_0x46e945['body'],{})[_0x9f57('0x21')](respondWithResult(_0x115c5,0xc9))[_0x9f57('0x3a')](handleError(_0x115c5,null));};exports[_0x9f57('0x41')]=function(_0x3e18f5,_0x4c5be3){if(_0x3e18f5[_0x9f57('0x42')]['id']){delete _0x3e18f5[_0x9f57('0x42')]['id'];}return db['UserProfileSection'][_0x9f57('0x43')]({'where':{'id':_0x3e18f5[_0x9f57('0x3c')]['id']}})['then'](handleEntityNotFound(_0x4c5be3,null))[_0x9f57('0x21')](saveUpdates(_0x3e18f5[_0x9f57('0x42')],null))[_0x9f57('0x21')](respondWithResult(_0x4c5be3,null))[_0x9f57('0x3a')](handleError(_0x4c5be3,null));};exports[_0x9f57('0x22')]=function(_0x3fcd7e,_0x19f784){return db[_0x9f57('0x27')][_0x9f57('0x43')]({'where':{'id':_0x3fcd7e[_0x9f57('0x3c')]['id']}})['then'](handleEntityNotFound(_0x19f784,null))[_0x9f57('0x21')](removeEntity(_0x19f784,null))[_0x9f57('0x3a')](handleError(_0x19f784,null));};exports[_0x9f57('0x44')]=function(_0x4299ed,_0x4b531e){return db[_0x9f57('0x27')][_0x9f57('0x44')]()['then'](respondWithResult(_0x4b531e,null))[_0x9f57('0x3a')](handleError(_0x4b531e,null));};
\ No newline at end of file
+var _0x4618=['UserProfileSection','rawAttributes','fieldName','type','key','model','keys','filters','query','attributes','fields','length','hasOwnProperty','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','findAll','then','rows','catch','show','params','intersection','include','find','create','body','describe','eml-format','zip-dir','request-promise','moment','util','path','sox','to-csv','ejs','fs-extra','lodash','squel','crypto','desk.js','querystring','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/environment','../../mysqldb','sendStatus','end','status','json','offset','undefined','limit','count','set','Content-Range','reject','save','update','destroy','error','stack','name','index','map'];(function(_0x18cd5b,_0x10240b){var _0x5eaa52=function(_0x2bccad){while(--_0x2bccad){_0x18cd5b['push'](_0x18cd5b['shift']());}};_0x5eaa52(++_0x10240b);}(_0x4618,0x109));var _0x8461=function(_0x2fc012,_0x503e5b){_0x2fc012=_0x2fc012-0x0;var _0x2891f9=_0x4618[_0x2fc012];return _0x2891f9;};'use strict';var emlformat=require(_0x8461('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x8461('0x1'));var jsonpatch=require('fast-json-patch');var rp=require(_0x8461('0x2'));var moment=require(_0x8461('0x3'));var BPromise=require('bluebird');var Mustache=require('mustache');var util=require(_0x8461('0x4'));var path=require(_0x8461('0x5'));var sox=require(_0x8461('0x6'));var csv=require(_0x8461('0x7'));var ejs=require(_0x8461('0x8'));var fs=require('fs');var fs_extra=require(_0x8461('0x9'));var _=require(_0x8461('0xa'));var squel=require(_0x8461('0xb'));var crypto=require(_0x8461('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x8461('0xd'));var toCsv=require(_0x8461('0x7'));var querystring=require(_0x8461('0xe'));var Papa=require('papaparse');var Redis=require(_0x8461('0xf'));var authService=require(_0x8461('0x10'));var qs=require(_0x8461('0x11'));var as=require(_0x8461('0x12'));var hardwareService=require(_0x8461('0x13'));var logger=require(_0x8461('0x14'))(_0x8461('0x15'));var utils=require('../../config/utils');var config=require(_0x8461('0x16'));var licenseUtil=require('../../config/license/util');var db=require(_0x8461('0x17'))['db'];function respondWithStatusCode(_0x390a0c,_0x2e3c26){_0x2e3c26=_0x2e3c26||0xcc;return function(_0x244477){if(_0x244477){return _0x390a0c[_0x8461('0x18')](_0x2e3c26);}return _0x390a0c['status'](_0x2e3c26)[_0x8461('0x19')]();};}function respondWithResult(_0x46e243,_0x4c5314){_0x4c5314=_0x4c5314||0xc8;return function(_0x265fed){if(_0x265fed){return _0x46e243[_0x8461('0x1a')](_0x4c5314)[_0x8461('0x1b')](_0x265fed);}};}function respondWithFilteredResult(_0x1baf14,_0x3da535){return function(_0x4ec6c1){if(_0x4ec6c1){var _0x3a2834=typeof _0x3da535[_0x8461('0x1c')]===_0x8461('0x1d')&&typeof _0x3da535[_0x8461('0x1e')]===_0x8461('0x1d');var _0x36abb3=_0x4ec6c1[_0x8461('0x1f')];var _0x11e0aa=_0x3a2834?0x0:_0x3da535['offset'];var _0x11d62d=_0x3a2834?_0x4ec6c1['count']:_0x3da535['offset']+_0x3da535[_0x8461('0x1e')];var _0x5f24ba;if(_0x11d62d>=_0x36abb3){_0x11d62d=_0x36abb3;_0x5f24ba=0xc8;}else{_0x5f24ba=0xce;}_0x1baf14[_0x8461('0x1a')](_0x5f24ba);return _0x1baf14[_0x8461('0x20')](_0x8461('0x21'),_0x11e0aa+'-'+_0x11d62d+'/'+_0x36abb3)[_0x8461('0x1b')](_0x4ec6c1);}return null;};}function patchUpdates(_0xc1c46e){return function(_0x3c08b4){try{jsonpatch['apply'](_0x3c08b4,_0xc1c46e,!![]);}catch(_0x255109){return BPromise[_0x8461('0x22')](_0x255109);}return _0x3c08b4[_0x8461('0x23')]();};}function saveUpdates(_0x20d72b,_0x1aac85){return function(_0x47b95a){if(_0x47b95a){return _0x47b95a[_0x8461('0x24')](_0x20d72b)['then'](function(_0x215e57){return _0x215e57;});}return null;};}function removeEntity(_0x21b70d,_0x277fd0){return function(_0x1a60d6){if(_0x1a60d6){return _0x1a60d6[_0x8461('0x25')]()['then'](function(){_0x21b70d[_0x8461('0x1a')](0xcc)[_0x8461('0x19')]();});}};}function handleEntityNotFound(_0x539aab,_0x3ac870){return function(_0x177e4d){if(!_0x177e4d){_0x539aab[_0x8461('0x18')](0x194);}return _0x177e4d;};}function handleError(_0x3445c0,_0x2332c8){_0x2332c8=_0x2332c8||0x1f4;return function(_0x1b296e){logger[_0x8461('0x26')](_0x1b296e[_0x8461('0x27')]);if(_0x1b296e[_0x8461('0x28')]){delete _0x1b296e[_0x8461('0x28')];}_0x3445c0['status'](_0x2332c8)['send'](_0x1b296e);};}exports[_0x8461('0x29')]=function(_0x2260a1,_0x2a2730){var _0x39425f={},_0x317215={},_0x1d0d33={'count':0x0,'rows':[]};var _0x1a7eb6=_[_0x8461('0x2a')](db[_0x8461('0x2b')][_0x8461('0x2c')],function(_0x54b7a8){return{'name':_0x54b7a8[_0x8461('0x2d')],'type':_0x54b7a8[_0x8461('0x2e')][_0x8461('0x2f')]};});_0x317215[_0x8461('0x30')]=_['map'](_0x1a7eb6,_0x8461('0x28'));_0x317215['query']=_[_0x8461('0x31')](_0x2260a1['query']);_0x317215[_0x8461('0x32')]=_['intersection'](_0x317215[_0x8461('0x30')],_0x317215[_0x8461('0x33')]);_0x39425f[_0x8461('0x34')]=_['intersection'](_0x317215[_0x8461('0x30')],qs[_0x8461('0x35')](_0x2260a1[_0x8461('0x33')][_0x8461('0x35')]));_0x39425f[_0x8461('0x34')]=_0x39425f[_0x8461('0x34')][_0x8461('0x36')]?_0x39425f[_0x8461('0x34')]:_0x317215[_0x8461('0x30')];if(!_0x2260a1[_0x8461('0x33')][_0x8461('0x37')]('nolimit')){_0x39425f[_0x8461('0x1e')]=qs['limit'](_0x2260a1[_0x8461('0x33')][_0x8461('0x1e')]);_0x39425f['offset']=qs[_0x8461('0x1c')](_0x2260a1['query']['offset']);}_0x39425f[_0x8461('0x38')]=qs[_0x8461('0x39')](_0x2260a1[_0x8461('0x33')][_0x8461('0x39')]);_0x39425f[_0x8461('0x3a')]=qs[_0x8461('0x32')](_[_0x8461('0x3b')](_0x2260a1[_0x8461('0x33')],_0x317215['filters']),_0x1a7eb6);if(_0x2260a1[_0x8461('0x33')][_0x8461('0x3c')]){_0x39425f[_0x8461('0x3a')]=_[_0x8461('0x3d')](_0x39425f['where'],{'$or':_[_0x8461('0x2a')](_0x1a7eb6,function(_0x579ba0){if(_0x579ba0[_0x8461('0x2e')]!==_0x8461('0x3e')){var _0x379297={};_0x379297[_0x579ba0['name']]={'$like':'%'+_0x2260a1['query']['filter']+'%'};return _0x379297;}})});}_0x39425f=_[_0x8461('0x3d')]({},_0x39425f,_0x2260a1[_0x8461('0x3f')]);var _0x215782={'where':_0x39425f[_0x8461('0x3a')]};return db['UserProfileSection'][_0x8461('0x1f')](_0x215782)['then'](function(_0x1edf53){_0x1d0d33[_0x8461('0x1f')]=_0x1edf53;if(_0x2260a1['query'][_0x8461('0x40')]){_0x39425f['include']=[{'all':!![]}];}return db['UserProfileSection'][_0x8461('0x41')](_0x39425f);})[_0x8461('0x42')](function(_0x4b44a9){_0x1d0d33[_0x8461('0x43')]=_0x4b44a9;return _0x1d0d33;})[_0x8461('0x42')](respondWithFilteredResult(_0x2a2730,_0x39425f))[_0x8461('0x44')](handleError(_0x2a2730,null));};exports[_0x8461('0x45')]=function(_0x4d05ed,_0x3a87f3){var _0x56794b={'raw':![],'where':{'id':_0x4d05ed[_0x8461('0x46')]['id']}},_0x11638d={};_0x11638d[_0x8461('0x30')]=_[_0x8461('0x31')](db['UserProfileSection'][_0x8461('0x2c')]);_0x11638d[_0x8461('0x33')]=_['keys'](_0x4d05ed['query']);_0x11638d['filters']=_[_0x8461('0x47')](_0x11638d[_0x8461('0x30')],_0x11638d[_0x8461('0x33')]);_0x56794b['attributes']=_[_0x8461('0x47')](_0x11638d[_0x8461('0x30')],qs['fields'](_0x4d05ed[_0x8461('0x33')][_0x8461('0x35')]));_0x56794b[_0x8461('0x34')]=_0x56794b[_0x8461('0x34')][_0x8461('0x36')]?_0x56794b['attributes']:_0x11638d[_0x8461('0x30')];if(_0x4d05ed[_0x8461('0x33')][_0x8461('0x40')]){_0x56794b[_0x8461('0x48')]=[{'all':!![]}];}_0x56794b=_[_0x8461('0x3d')]({},_0x56794b,_0x4d05ed['options']);return db[_0x8461('0x2b')][_0x8461('0x49')](_0x56794b)[_0x8461('0x42')](handleEntityNotFound(_0x3a87f3,null))[_0x8461('0x42')](respondWithResult(_0x3a87f3,null))[_0x8461('0x44')](handleError(_0x3a87f3,null));};exports['create']=function(_0x48883a,_0x5c724b){return db[_0x8461('0x2b')][_0x8461('0x4a')](_0x48883a[_0x8461('0x4b')],{})[_0x8461('0x42')](respondWithResult(_0x5c724b,0xc9))[_0x8461('0x44')](handleError(_0x5c724b,null));};exports[_0x8461('0x24')]=function(_0x5880e7,_0x5254d4){if(_0x5880e7[_0x8461('0x4b')]['id']){delete _0x5880e7[_0x8461('0x4b')]['id'];}return db[_0x8461('0x2b')][_0x8461('0x49')]({'where':{'id':_0x5880e7['params']['id']}})[_0x8461('0x42')](handleEntityNotFound(_0x5254d4,null))[_0x8461('0x42')](saveUpdates(_0x5880e7[_0x8461('0x4b')],null))['then'](respondWithResult(_0x5254d4,null))['catch'](handleError(_0x5254d4,null));};exports['destroy']=function(_0x547eb9,_0x30a59f){return db[_0x8461('0x2b')][_0x8461('0x49')]({'where':{'id':_0x547eb9[_0x8461('0x46')]['id']}})[_0x8461('0x42')](handleEntityNotFound(_0x30a59f,null))[_0x8461('0x42')](removeEntity(_0x30a59f,null))[_0x8461('0x44')](handleError(_0x30a59f,null));};exports[_0x8461('0x4c')]=function(_0x153313,_0x3cba24){return db[_0x8461('0x2b')][_0x8461('0x4c')]()[_0x8461('0x42')](respondWithResult(_0x3cba24,null))['catch'](handleError(_0x3cba24,null));};
\ No newline at end of file