Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / api / faxQueueReport / faxQueueReport.controller.js
index 4b66311..3f31389 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x366f=['mustache','util','path','to-csv','ejs','lodash','crypto','jsforce','querystring','papaparse','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','end','json','offset','undefined','limit','count','Content-Range','save','destroy','then','error','stack','name','send','index','rawAttributes','fieldName','type','key','map','query','keys','filters','model','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','where','filter','merge','VIRTUAL','includeAll','include','FaxQueueReport','findAll','rows','catch','params','create','body','update','find','describe','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird'];(function(_0x2adbb3,_0x597024){var _0x2ff911=function(_0x52bebe){while(--_0x52bebe){_0x2adbb3['push'](_0x2adbb3['shift']());}};_0x2ff911(++_0x597024);}(_0x366f,0xd5));var _0xf366=function(_0x2aec52,_0x59d962){_0x2aec52=_0x2aec52-0x0;var _0x3b8835=_0x366f[_0x2aec52];return _0x3b8835;};'use strict';var emlformat=require(_0xf366('0x0'));var rimraf=require(_0xf366('0x1'));var zipdir=require(_0xf366('0x2'));var jsonpatch=require(_0xf366('0x3'));var rp=require('request-promise');var moment=require(_0xf366('0x4'));var BPromise=require(_0xf366('0x5'));var Mustache=require(_0xf366('0x6'));var util=require(_0xf366('0x7'));var path=require(_0xf366('0x8'));var sox=require('sox');var csv=require(_0xf366('0x9'));var ejs=require(_0xf366('0xa'));var fs=require('fs');var fs_extra=require('fs-extra');var _=require(_0xf366('0xb'));var squel=require('squel');var crypto=require(_0xf366('0xc'));var jsforce=require(_0xf366('0xd'));var deskjs=require('desk.js');var toCsv=require(_0xf366('0x9'));var querystring=require(_0xf366('0xe'));var Papa=require(_0xf366('0xf'));var Redis=require('ioredis');var authService=require('../../components/auth/service');var qs=require(_0xf366('0x10'));var as=require(_0xf366('0x11'));var hardwareService=require(_0xf366('0x12'));var logger=require(_0xf366('0x13'))(_0xf366('0x14'));var utils=require(_0xf366('0x15'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xf366('0x16'))['db'];function respondWithStatusCode(_0x1717e5,_0x3fa75c){_0x3fa75c=_0x3fa75c||0xcc;return function(_0x50921f){if(_0x50921f){return _0x1717e5[_0xf366('0x17')](_0x3fa75c);}return _0x1717e5[_0xf366('0x18')](_0x3fa75c)[_0xf366('0x19')]();};}function respondWithResult(_0x5e3d24,_0x2676ce){_0x2676ce=_0x2676ce||0xc8;return function(_0x44d5ef){if(_0x44d5ef){return _0x5e3d24[_0xf366('0x18')](_0x2676ce)[_0xf366('0x1a')](_0x44d5ef);}};}function respondWithFilteredResult(_0x382152,_0x172640){return function(_0x46e3cf){if(_0x46e3cf){var _0x2b0240=typeof _0x172640[_0xf366('0x1b')]===_0xf366('0x1c')&&typeof _0x172640[_0xf366('0x1d')]===_0xf366('0x1c');var _0x350151=_0x46e3cf[_0xf366('0x1e')];var _0x3e30ac=_0x2b0240?0x0:_0x172640[_0xf366('0x1b')];var _0x9f2961=_0x2b0240?_0x46e3cf['count']:_0x172640['offset']+_0x172640[_0xf366('0x1d')];var _0x30fa41;if(_0x9f2961>=_0x350151){_0x9f2961=_0x350151;_0x30fa41=0xc8;}else{_0x30fa41=0xce;}_0x382152['status'](_0x30fa41);return _0x382152['set'](_0xf366('0x1f'),_0x3e30ac+'-'+_0x9f2961+'/'+_0x350151)['json'](_0x46e3cf);}return null;};}function patchUpdates(_0x3682a5){return function(_0x4c8210){try{jsonpatch['apply'](_0x4c8210,_0x3682a5,!![]);}catch(_0x285d2e){return BPromise['reject'](_0x285d2e);}return _0x4c8210[_0xf366('0x20')]();};}function saveUpdates(_0x163c74,_0x38df8a){return function(_0x32ec59){if(_0x32ec59){return _0x32ec59['update'](_0x163c74)['then'](function(_0x3f26f9){return _0x3f26f9;});}return null;};}function removeEntity(_0x3aa768,_0x53a3a4){return function(_0x5041c5){if(_0x5041c5){return _0x5041c5[_0xf366('0x21')]()[_0xf366('0x22')](function(){_0x3aa768[_0xf366('0x18')](0xcc)[_0xf366('0x19')]();});}};}function handleEntityNotFound(_0x2f63da,_0x54c9ab){return function(_0x16d16f){if(!_0x16d16f){_0x2f63da[_0xf366('0x17')](0x194);}return _0x16d16f;};}function handleError(_0x3bdbfa,_0x4bbb09){_0x4bbb09=_0x4bbb09||0x1f4;return function(_0xe85c6c){logger[_0xf366('0x23')](_0xe85c6c[_0xf366('0x24')]);if(_0xe85c6c[_0xf366('0x25')]){delete _0xe85c6c[_0xf366('0x25')];}_0x3bdbfa['status'](_0x4bbb09)[_0xf366('0x26')](_0xe85c6c);};}exports[_0xf366('0x27')]=function(_0x4b5403,_0x32042f){var _0x3449e6={},_0x132ab3={},_0x395341={'count':0x0,'rows':[]};var _0x258409=_['map'](db['FaxQueueReport'][_0xf366('0x28')],function(_0x3b362d){return{'name':_0x3b362d[_0xf366('0x29')],'type':_0x3b362d[_0xf366('0x2a')][_0xf366('0x2b')]};});_0x132ab3['model']=_[_0xf366('0x2c')](_0x258409,_0xf366('0x25'));_0x132ab3[_0xf366('0x2d')]=_[_0xf366('0x2e')](_0x4b5403[_0xf366('0x2d')]);_0x132ab3[_0xf366('0x2f')]=_['intersection'](_0x132ab3[_0xf366('0x30')],_0x132ab3[_0xf366('0x2d')]);_0x3449e6[_0xf366('0x31')]=_[_0xf366('0x32')](_0x132ab3[_0xf366('0x30')],qs[_0xf366('0x33')](_0x4b5403['query'][_0xf366('0x33')]));_0x3449e6[_0xf366('0x31')]=_0x3449e6[_0xf366('0x31')][_0xf366('0x34')]?_0x3449e6[_0xf366('0x31')]:_0x132ab3[_0xf366('0x30')];if(!_0x4b5403[_0xf366('0x2d')][_0xf366('0x35')](_0xf366('0x36'))){_0x3449e6[_0xf366('0x1d')]=qs[_0xf366('0x1d')](_0x4b5403['query']['limit']);_0x3449e6['offset']=qs[_0xf366('0x1b')](_0x4b5403[_0xf366('0x2d')][_0xf366('0x1b')]);}_0x3449e6[_0xf366('0x37')]=qs[_0xf366('0x38')](_0x4b5403[_0xf366('0x2d')][_0xf366('0x38')]);_0x3449e6[_0xf366('0x39')]=qs['filters'](_['pick'](_0x4b5403['query'],_0x132ab3[_0xf366('0x2f')]),_0x258409);if(_0x4b5403[_0xf366('0x2d')][_0xf366('0x3a')]){_0x3449e6[_0xf366('0x39')]=_[_0xf366('0x3b')](_0x3449e6[_0xf366('0x39')],{'$or':_[_0xf366('0x2c')](_0x258409,function(_0xc20aae){if(_0xc20aae['type']!==_0xf366('0x3c')){var _0x2b37a9={};_0x2b37a9[_0xc20aae[_0xf366('0x25')]]={'$like':'%'+_0x4b5403[_0xf366('0x2d')][_0xf366('0x3a')]+'%'};return _0x2b37a9;}})});}_0x3449e6=_[_0xf366('0x3b')]({},_0x3449e6,_0x4b5403['options']);var _0x5851d2={'where':_0x3449e6[_0xf366('0x39')]};return db['FaxQueueReport'][_0xf366('0x1e')](_0x5851d2)[_0xf366('0x22')](function(_0x3a2408){_0x395341[_0xf366('0x1e')]=_0x3a2408;if(_0x4b5403[_0xf366('0x2d')][_0xf366('0x3d')]){_0x3449e6[_0xf366('0x3e')]=[{'all':!![]}];}return db[_0xf366('0x3f')][_0xf366('0x40')](_0x3449e6);})[_0xf366('0x22')](function(_0x339f33){_0x395341[_0xf366('0x41')]=_0x339f33;return _0x395341;})[_0xf366('0x22')](respondWithFilteredResult(_0x32042f,_0x3449e6))[_0xf366('0x42')](handleError(_0x32042f,null));};exports['show']=function(_0x1e5eff,_0x3fa447){var _0x3f9ae2={'raw':!![],'where':{'id':_0x1e5eff[_0xf366('0x43')]['id']}},_0x2af92a={};_0x2af92a['model']=_['keys'](db[_0xf366('0x3f')]['rawAttributes']);_0x2af92a[_0xf366('0x2d')]=_[_0xf366('0x2e')](_0x1e5eff[_0xf366('0x2d')]);_0x2af92a[_0xf366('0x2f')]=_['intersection'](_0x2af92a[_0xf366('0x30')],_0x2af92a[_0xf366('0x2d')]);_0x3f9ae2[_0xf366('0x31')]=_[_0xf366('0x32')](_0x2af92a[_0xf366('0x30')],qs[_0xf366('0x33')](_0x1e5eff[_0xf366('0x2d')][_0xf366('0x33')]));_0x3f9ae2['attributes']=_0x3f9ae2[_0xf366('0x31')][_0xf366('0x34')]?_0x3f9ae2[_0xf366('0x31')]:_0x2af92a['model'];if(_0x1e5eff[_0xf366('0x2d')][_0xf366('0x3d')]){_0x3f9ae2[_0xf366('0x3e')]=[{'all':!![]}];}_0x3f9ae2=_[_0xf366('0x3b')]({},_0x3f9ae2,_0x1e5eff['options']);return db[_0xf366('0x3f')]['find'](_0x3f9ae2)[_0xf366('0x22')](handleEntityNotFound(_0x3fa447,null))[_0xf366('0x22')](respondWithResult(_0x3fa447,null))[_0xf366('0x42')](handleError(_0x3fa447,null));};exports[_0xf366('0x44')]=function(_0x11cc9c,_0x3a5734){return db[_0xf366('0x3f')][_0xf366('0x44')](_0x11cc9c[_0xf366('0x45')],{})[_0xf366('0x22')](respondWithResult(_0x3a5734,0xc9))['catch'](handleError(_0x3a5734,null));};exports[_0xf366('0x46')]=function(_0x3a6ac6,_0x300436){if(_0x3a6ac6['body']['id']){delete _0x3a6ac6[_0xf366('0x45')]['id'];}return db[_0xf366('0x3f')][_0xf366('0x47')]({'where':{'id':_0x3a6ac6[_0xf366('0x43')]['id']}})[_0xf366('0x22')](handleEntityNotFound(_0x300436,null))['then'](saveUpdates(_0x3a6ac6['body'],null))['then'](respondWithResult(_0x300436,null))[_0xf366('0x42')](handleError(_0x300436,null));};exports[_0xf366('0x21')]=function(_0x2e7833,_0x5dc37b){return db[_0xf366('0x3f')][_0xf366('0x47')]({'where':{'id':_0x2e7833[_0xf366('0x43')]['id']}})[_0xf366('0x22')](handleEntityNotFound(_0x5dc37b,null))[_0xf366('0x22')](removeEntity(_0x5dc37b,null))[_0xf366('0x42')](handleError(_0x5dc37b,null));};exports['describe']=function(_0x35c4ba,_0x2c4a93){return db[_0xf366('0x3f')][_0xf366('0x48')]()[_0xf366('0x22')](respondWithResult(_0x2c4a93,null))[_0xf366('0x42')](handleError(_0x2c4a93,null));};
\ No newline at end of file
+var _0x05b0=['stack','name','send','index','map','FaxQueueReport','rawAttributes','type','key','keys','query','filters','attributes','intersection','fields','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','VIRTUAL','options','includeAll','include','rows','catch','show','params','model','length','body','find','destroy','describe','zip-dir','fast-json-patch','moment','bluebird','util','path','to-csv','ejs','fs-extra','lodash','squel','crypto','jsforce','querystring','../../components/auth/service','../../config/logger','api','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','offset','limit','undefined','count','Content-Range','json','apply','save','update','then','end','error'];(function(_0x476bf4,_0x2a3755){var _0x788ffe=function(_0x13fa11){while(--_0x13fa11){_0x476bf4['push'](_0x476bf4['shift']());}};_0x788ffe(++_0x2a3755);}(_0x05b0,0x188));var _0x005b=function(_0x43a86f,_0x3b4337){_0x43a86f=_0x43a86f-0x0;var _0x3aef8a=_0x05b0[_0x43a86f];return _0x3aef8a;};'use strict';var emlformat=require('eml-format');var rimraf=require('rimraf');var zipdir=require(_0x005b('0x0'));var jsonpatch=require(_0x005b('0x1'));var rp=require('request-promise');var moment=require(_0x005b('0x2'));var BPromise=require(_0x005b('0x3'));var Mustache=require('mustache');var util=require(_0x005b('0x4'));var path=require(_0x005b('0x5'));var sox=require('sox');var csv=require(_0x005b('0x6'));var ejs=require(_0x005b('0x7'));var fs=require('fs');var fs_extra=require(_0x005b('0x8'));var _=require(_0x005b('0x9'));var squel=require(_0x005b('0xa'));var crypto=require(_0x005b('0xb'));var jsforce=require(_0x005b('0xc'));var deskjs=require('desk.js');var toCsv=require(_0x005b('0x6'));var querystring=require(_0x005b('0xd'));var Papa=require('papaparse');var Redis=require('ioredis');var authService=require(_0x005b('0xe'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require('../../config/license/hardware');var logger=require(_0x005b('0xf'))(_0x005b('0x10'));var utils=require('../../config/utils');var config=require(_0x005b('0x11'));var licenseUtil=require(_0x005b('0x12'));var db=require(_0x005b('0x13'))['db'];function respondWithStatusCode(_0x10f9bb,_0xce7212){_0xce7212=_0xce7212||0xcc;return function(_0xe2674e){if(_0xe2674e){return _0x10f9bb[_0x005b('0x14')](_0xce7212);}return _0x10f9bb['status'](_0xce7212)['end']();};}function respondWithResult(_0x52ad9c,_0x309c8f){_0x309c8f=_0x309c8f||0xc8;return function(_0x50b7ce){if(_0x50b7ce){return _0x52ad9c[_0x005b('0x15')](_0x309c8f)['json'](_0x50b7ce);}};}function respondWithFilteredResult(_0x1c8eed,_0x1f7743){return function(_0x2ce01e){if(_0x2ce01e){var _0x1991e8=typeof _0x1f7743[_0x005b('0x16')]==='undefined'&&typeof _0x1f7743[_0x005b('0x17')]===_0x005b('0x18');var _0xf3cf84=_0x2ce01e['count'];var _0x206c0a=_0x1991e8?0x0:_0x1f7743[_0x005b('0x16')];var _0x50a6eb=_0x1991e8?_0x2ce01e[_0x005b('0x19')]:_0x1f7743[_0x005b('0x16')]+_0x1f7743[_0x005b('0x17')];var _0x434874;if(_0x50a6eb>=_0xf3cf84){_0x50a6eb=_0xf3cf84;_0x434874=0xc8;}else{_0x434874=0xce;}_0x1c8eed[_0x005b('0x15')](_0x434874);return _0x1c8eed['set'](_0x005b('0x1a'),_0x206c0a+'-'+_0x50a6eb+'/'+_0xf3cf84)[_0x005b('0x1b')](_0x2ce01e);}return null;};}function patchUpdates(_0x4ae164){return function(_0x24637d){try{jsonpatch[_0x005b('0x1c')](_0x24637d,_0x4ae164,!![]);}catch(_0xd97375){return BPromise['reject'](_0xd97375);}return _0x24637d[_0x005b('0x1d')]();};}function saveUpdates(_0x145c36,_0x319981){return function(_0x3521c9){if(_0x3521c9){return _0x3521c9[_0x005b('0x1e')](_0x145c36)[_0x005b('0x1f')](function(_0x4f632f){return _0x4f632f;});}return null;};}function removeEntity(_0x322229,_0x169428){return function(_0x1fef26){if(_0x1fef26){return _0x1fef26['destroy']()[_0x005b('0x1f')](function(){_0x322229['status'](0xcc)[_0x005b('0x20')]();});}};}function handleEntityNotFound(_0x527294,_0x542fa2){return function(_0x2dc341){if(!_0x2dc341){_0x527294[_0x005b('0x14')](0x194);}return _0x2dc341;};}function handleError(_0x3effd5,_0x267f10){_0x267f10=_0x267f10||0x1f4;return function(_0x6730d4){logger[_0x005b('0x21')](_0x6730d4[_0x005b('0x22')]);if(_0x6730d4[_0x005b('0x23')]){delete _0x6730d4['name'];}_0x3effd5[_0x005b('0x15')](_0x267f10)[_0x005b('0x24')](_0x6730d4);};}exports[_0x005b('0x25')]=function(_0x13e834,_0x2e92d1){var _0x1d8f93={},_0x4775a2={},_0x49561a={'count':0x0,'rows':[]};var _0xaf7c71=_[_0x005b('0x26')](db[_0x005b('0x27')][_0x005b('0x28')],function(_0x545a2b){return{'name':_0x545a2b['fieldName'],'type':_0x545a2b[_0x005b('0x29')][_0x005b('0x2a')]};});_0x4775a2['model']=_['map'](_0xaf7c71,_0x005b('0x23'));_0x4775a2['query']=_[_0x005b('0x2b')](_0x13e834[_0x005b('0x2c')]);_0x4775a2[_0x005b('0x2d')]=_['intersection'](_0x4775a2['model'],_0x4775a2[_0x005b('0x2c')]);_0x1d8f93[_0x005b('0x2e')]=_[_0x005b('0x2f')](_0x4775a2['model'],qs['fields'](_0x13e834[_0x005b('0x2c')][_0x005b('0x30')]));_0x1d8f93['attributes']=_0x1d8f93[_0x005b('0x2e')]['length']?_0x1d8f93[_0x005b('0x2e')]:_0x4775a2['model'];if(!_0x13e834['query'][_0x005b('0x31')](_0x005b('0x32'))){_0x1d8f93[_0x005b('0x17')]=qs[_0x005b('0x17')](_0x13e834[_0x005b('0x2c')]['limit']);_0x1d8f93['offset']=qs[_0x005b('0x16')](_0x13e834[_0x005b('0x2c')][_0x005b('0x16')]);}_0x1d8f93[_0x005b('0x33')]=qs[_0x005b('0x34')](_0x13e834[_0x005b('0x2c')]['sort']);_0x1d8f93[_0x005b('0x35')]=qs[_0x005b('0x2d')](_[_0x005b('0x36')](_0x13e834['query'],_0x4775a2[_0x005b('0x2d')]),_0xaf7c71);if(_0x13e834[_0x005b('0x2c')][_0x005b('0x37')]){_0x1d8f93[_0x005b('0x35')]=_[_0x005b('0x38')](_0x1d8f93[_0x005b('0x35')],{'$or':_[_0x005b('0x26')](_0xaf7c71,function(_0x9f4d6){if(_0x9f4d6[_0x005b('0x29')]!==_0x005b('0x39')){var _0x4d6064={};_0x4d6064[_0x9f4d6[_0x005b('0x23')]]={'$like':'%'+_0x13e834[_0x005b('0x2c')]['filter']+'%'};return _0x4d6064;}})});}_0x1d8f93=_[_0x005b('0x38')]({},_0x1d8f93,_0x13e834[_0x005b('0x3a')]);var _0x1f29de={'where':_0x1d8f93[_0x005b('0x35')]};return db['FaxQueueReport'][_0x005b('0x19')](_0x1f29de)[_0x005b('0x1f')](function(_0x4b0a10){_0x49561a[_0x005b('0x19')]=_0x4b0a10;if(_0x13e834[_0x005b('0x2c')][_0x005b('0x3b')]){_0x1d8f93[_0x005b('0x3c')]=[{'all':!![]}];}return db[_0x005b('0x27')]['findAll'](_0x1d8f93);})['then'](function(_0x1dfe28){_0x49561a[_0x005b('0x3d')]=_0x1dfe28;return _0x49561a;})[_0x005b('0x1f')](respondWithFilteredResult(_0x2e92d1,_0x1d8f93))[_0x005b('0x3e')](handleError(_0x2e92d1,null));};exports[_0x005b('0x3f')]=function(_0x59fefd,_0x182e3a){var _0x14bd15={'raw':!![],'where':{'id':_0x59fefd[_0x005b('0x40')]['id']}},_0x2bbb8a={};_0x2bbb8a[_0x005b('0x41')]=_[_0x005b('0x2b')](db['FaxQueueReport'][_0x005b('0x28')]);_0x2bbb8a['query']=_[_0x005b('0x2b')](_0x59fefd[_0x005b('0x2c')]);_0x2bbb8a['filters']=_[_0x005b('0x2f')](_0x2bbb8a[_0x005b('0x41')],_0x2bbb8a[_0x005b('0x2c')]);_0x14bd15[_0x005b('0x2e')]=_['intersection'](_0x2bbb8a[_0x005b('0x41')],qs[_0x005b('0x30')](_0x59fefd[_0x005b('0x2c')][_0x005b('0x30')]));_0x14bd15[_0x005b('0x2e')]=_0x14bd15[_0x005b('0x2e')][_0x005b('0x42')]?_0x14bd15[_0x005b('0x2e')]:_0x2bbb8a[_0x005b('0x41')];if(_0x59fefd['query'][_0x005b('0x3b')]){_0x14bd15[_0x005b('0x3c')]=[{'all':!![]}];}_0x14bd15=_[_0x005b('0x38')]({},_0x14bd15,_0x59fefd[_0x005b('0x3a')]);return db[_0x005b('0x27')]['find'](_0x14bd15)[_0x005b('0x1f')](handleEntityNotFound(_0x182e3a,null))[_0x005b('0x1f')](respondWithResult(_0x182e3a,null))[_0x005b('0x3e')](handleError(_0x182e3a,null));};exports['create']=function(_0x10a141,_0x50d178){return db['FaxQueueReport']['create'](_0x10a141['body'],{})[_0x005b('0x1f')](respondWithResult(_0x50d178,0xc9))[_0x005b('0x3e')](handleError(_0x50d178,null));};exports[_0x005b('0x1e')]=function(_0xb1898,_0x4e19cd){if(_0xb1898[_0x005b('0x43')]['id']){delete _0xb1898[_0x005b('0x43')]['id'];}return db['FaxQueueReport'][_0x005b('0x44')]({'where':{'id':_0xb1898[_0x005b('0x40')]['id']}})[_0x005b('0x1f')](handleEntityNotFound(_0x4e19cd,null))[_0x005b('0x1f')](saveUpdates(_0xb1898[_0x005b('0x43')],null))['then'](respondWithResult(_0x4e19cd,null))[_0x005b('0x3e')](handleError(_0x4e19cd,null));};exports[_0x005b('0x45')]=function(_0x2aebe9,_0x11dc21){return db[_0x005b('0x27')][_0x005b('0x44')]({'where':{'id':_0x2aebe9['params']['id']}})[_0x005b('0x1f')](handleEntityNotFound(_0x11dc21,null))[_0x005b('0x1f')](removeEntity(_0x11dc21,null))[_0x005b('0x3e')](handleError(_0x11dc21,null));};exports[_0x005b('0x46')]=function(_0x288935,_0x1be7c2){return db['FaxQueueReport'][_0x005b('0x46')]()[_0x005b('0x1f')](respondWithResult(_0x1be7c2,null))['catch'](handleError(_0x1be7c2,null));};
\ No newline at end of file