Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / analyticTreeReport / analyticTreeReport.controller.js
index 11b4290..4f07c3a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4609=['update','destroy','then','error','stack','name','send','index','map','rawAttributes','type','model','query','keys','filters','intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','where','pick','filter','merge','options','AnalyticTreeReport','includeAll','include','findAll','rows','catch','show','params','create','body','find','eml-format','zip-dir','fast-json-patch','request-promise','moment','bluebird','util','path','ejs','fs-extra','lodash','squel','jsforce','desk.js','to-csv','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/license/util','../../mysqldb','sendStatus','end','status','json','offset','undefined','count','limit','set','Content-Range','apply','reject','save'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x4609,0x1b2));var _0x9460=function(_0x4c6d6f,_0x291557){_0x4c6d6f=_0x4c6d6f-0x0;var _0x2d4478=_0x4609[_0x4c6d6f];return _0x2d4478;};'use strict';var emlformat=require(_0x9460('0x0'));var rimraf=require('rimraf');var zipdir=require(_0x9460('0x1'));var jsonpatch=require(_0x9460('0x2'));var rp=require(_0x9460('0x3'));var moment=require(_0x9460('0x4'));var BPromise=require(_0x9460('0x5'));var Mustache=require('mustache');var util=require(_0x9460('0x6'));var path=require(_0x9460('0x7'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x9460('0x8'));var fs=require('fs');var fs_extra=require(_0x9460('0x9'));var _=require(_0x9460('0xa'));var squel=require(_0x9460('0xb'));var crypto=require('crypto');var jsforce=require(_0x9460('0xc'));var deskjs=require(_0x9460('0xd'));var toCsv=require(_0x9460('0xe'));var querystring=require(_0x9460('0xf'));var Papa=require(_0x9460('0x10'));var Redis=require(_0x9460('0x11'));var authService=require(_0x9460('0x12'));var qs=require(_0x9460('0x13'));var as=require(_0x9460('0x14'));var hardwareService=require(_0x9460('0x15'));var logger=require(_0x9460('0x16'))(_0x9460('0x17'));var utils=require(_0x9460('0x18'));var config=require('../../config/environment');var licenseUtil=require(_0x9460('0x19'));var db=require(_0x9460('0x1a'))['db'];function respondWithStatusCode(_0x303759,_0x16a99e){_0x16a99e=_0x16a99e||0xcc;return function(_0x362f40){if(_0x362f40){return _0x303759[_0x9460('0x1b')](_0x16a99e);}return _0x303759['status'](_0x16a99e)[_0x9460('0x1c')]();};}function respondWithResult(_0x24fd6f,_0x22e5d4){_0x22e5d4=_0x22e5d4||0xc8;return function(_0x5cda58){if(_0x5cda58){return _0x24fd6f[_0x9460('0x1d')](_0x22e5d4)[_0x9460('0x1e')](_0x5cda58);}};}function respondWithFilteredResult(_0xae4a0b,_0x5e40e6){return function(_0x253201){if(_0x253201){var _0x51442b=typeof _0x5e40e6[_0x9460('0x1f')]==='undefined'&&typeof _0x5e40e6['limit']===_0x9460('0x20');var _0x1698f4=_0x253201['count'];var _0xc2cceb=_0x51442b?0x0:_0x5e40e6[_0x9460('0x1f')];var _0x2469b9=_0x51442b?_0x253201[_0x9460('0x21')]:_0x5e40e6['offset']+_0x5e40e6[_0x9460('0x22')];var _0x19d944;if(_0x2469b9>=_0x1698f4){_0x2469b9=_0x1698f4;_0x19d944=0xc8;}else{_0x19d944=0xce;}_0xae4a0b[_0x9460('0x1d')](_0x19d944);return _0xae4a0b[_0x9460('0x23')](_0x9460('0x24'),_0xc2cceb+'-'+_0x2469b9+'/'+_0x1698f4)[_0x9460('0x1e')](_0x253201);}return null;};}function patchUpdates(_0x29dd37){return function(_0x4de73d){try{jsonpatch[_0x9460('0x25')](_0x4de73d,_0x29dd37,!![]);}catch(_0x4ccb71){return BPromise[_0x9460('0x26')](_0x4ccb71);}return _0x4de73d[_0x9460('0x27')]();};}function saveUpdates(_0x27abb2,_0x1ee13f){return function(_0x171f92){if(_0x171f92){return _0x171f92[_0x9460('0x28')](_0x27abb2)['then'](function(_0x5bc169){return _0x5bc169;});}return null;};}function removeEntity(_0x5e19f2,_0x108da2){return function(_0x5d3a17){if(_0x5d3a17){return _0x5d3a17[_0x9460('0x29')]()[_0x9460('0x2a')](function(){_0x5e19f2[_0x9460('0x1d')](0xcc)[_0x9460('0x1c')]();});}};}function handleEntityNotFound(_0x169a57,_0x1c8181){return function(_0x53f883){if(!_0x53f883){_0x169a57[_0x9460('0x1b')](0x194);}return _0x53f883;};}function handleError(_0x20d2db,_0x5b94c7){_0x5b94c7=_0x5b94c7||0x1f4;return function(_0x37317b){logger[_0x9460('0x2b')](_0x37317b[_0x9460('0x2c')]);if(_0x37317b[_0x9460('0x2d')]){delete _0x37317b['name'];}_0x20d2db[_0x9460('0x1d')](_0x5b94c7)[_0x9460('0x2e')](_0x37317b);};}exports[_0x9460('0x2f')]=function(_0x1d7303,_0x2c4e13){var _0x35f734={},_0x3d7ac1={},_0x48193a={'count':0x0,'rows':[]};var _0xcb2862=_[_0x9460('0x30')](db['AnalyticTreeReport'][_0x9460('0x31')],function(_0x159ae4){return{'name':_0x159ae4['fieldName'],'type':_0x159ae4[_0x9460('0x32')]['key']};});_0x3d7ac1[_0x9460('0x33')]=_[_0x9460('0x30')](_0xcb2862,_0x9460('0x2d'));_0x3d7ac1[_0x9460('0x34')]=_[_0x9460('0x35')](_0x1d7303[_0x9460('0x34')]);_0x3d7ac1[_0x9460('0x36')]=_[_0x9460('0x37')](_0x3d7ac1[_0x9460('0x33')],_0x3d7ac1[_0x9460('0x34')]);_0x35f734[_0x9460('0x38')]=_[_0x9460('0x37')](_0x3d7ac1[_0x9460('0x33')],qs[_0x9460('0x39')](_0x1d7303['query'][_0x9460('0x39')]));_0x35f734[_0x9460('0x38')]=_0x35f734['attributes'][_0x9460('0x3a')]?_0x35f734[_0x9460('0x38')]:_0x3d7ac1['model'];if(!_0x1d7303[_0x9460('0x34')][_0x9460('0x3b')](_0x9460('0x3c'))){_0x35f734[_0x9460('0x22')]=qs['limit'](_0x1d7303[_0x9460('0x34')][_0x9460('0x22')]);_0x35f734['offset']=qs['offset'](_0x1d7303[_0x9460('0x34')][_0x9460('0x1f')]);}_0x35f734[_0x9460('0x3d')]=qs[_0x9460('0x3e')](_0x1d7303['query'][_0x9460('0x3e')]);_0x35f734[_0x9460('0x3f')]=qs[_0x9460('0x36')](_[_0x9460('0x40')](_0x1d7303[_0x9460('0x34')],_0x3d7ac1[_0x9460('0x36')]),_0xcb2862);if(_0x1d7303[_0x9460('0x34')][_0x9460('0x41')]){_0x35f734[_0x9460('0x3f')]=_[_0x9460('0x42')](_0x35f734[_0x9460('0x3f')],{'$or':_['map'](_0xcb2862,function(_0x3b1367){if(_0x3b1367[_0x9460('0x32')]!=='VIRTUAL'){var _0x26c6ed={};_0x26c6ed[_0x3b1367[_0x9460('0x2d')]]={'$like':'%'+_0x1d7303[_0x9460('0x34')][_0x9460('0x41')]+'%'};return _0x26c6ed;}})});}_0x35f734=_[_0x9460('0x42')]({},_0x35f734,_0x1d7303[_0x9460('0x43')]);var _0x260b96={'where':_0x35f734[_0x9460('0x3f')]};return db[_0x9460('0x44')][_0x9460('0x21')](_0x260b96)[_0x9460('0x2a')](function(_0x386d86){_0x48193a[_0x9460('0x21')]=_0x386d86;if(_0x1d7303[_0x9460('0x34')][_0x9460('0x45')]){_0x35f734[_0x9460('0x46')]=[{'all':!![]}];}return db['AnalyticTreeReport'][_0x9460('0x47')](_0x35f734);})[_0x9460('0x2a')](function(_0x13a086){_0x48193a[_0x9460('0x48')]=_0x13a086;return _0x48193a;})[_0x9460('0x2a')](respondWithFilteredResult(_0x2c4e13,_0x35f734))[_0x9460('0x49')](handleError(_0x2c4e13,null));};exports[_0x9460('0x4a')]=function(_0x2fe9b0,_0x5d4fee){var _0x7d303f={'raw':!![],'where':{'id':_0x2fe9b0[_0x9460('0x4b')]['id']}},_0x599b9d={};_0x599b9d[_0x9460('0x33')]=_[_0x9460('0x35')](db['AnalyticTreeReport'][_0x9460('0x31')]);_0x599b9d[_0x9460('0x34')]=_[_0x9460('0x35')](_0x2fe9b0['query']);_0x599b9d[_0x9460('0x36')]=_[_0x9460('0x37')](_0x599b9d[_0x9460('0x33')],_0x599b9d[_0x9460('0x34')]);_0x7d303f['attributes']=_[_0x9460('0x37')](_0x599b9d[_0x9460('0x33')],qs[_0x9460('0x39')](_0x2fe9b0[_0x9460('0x34')][_0x9460('0x39')]));_0x7d303f[_0x9460('0x38')]=_0x7d303f[_0x9460('0x38')]['length']?_0x7d303f[_0x9460('0x38')]:_0x599b9d[_0x9460('0x33')];if(_0x2fe9b0[_0x9460('0x34')][_0x9460('0x45')]){_0x7d303f[_0x9460('0x46')]=[{'all':!![]}];}_0x7d303f=_[_0x9460('0x42')]({},_0x7d303f,_0x2fe9b0[_0x9460('0x43')]);return db[_0x9460('0x44')]['find'](_0x7d303f)[_0x9460('0x2a')](handleEntityNotFound(_0x5d4fee,null))[_0x9460('0x2a')](respondWithResult(_0x5d4fee,null))['catch'](handleError(_0x5d4fee,null));};exports['create']=function(_0x35dc4d,_0x4c9f04){return db['AnalyticTreeReport'][_0x9460('0x4c')](_0x35dc4d[_0x9460('0x4d')],{})[_0x9460('0x2a')](respondWithResult(_0x4c9f04,0xc9))['catch'](handleError(_0x4c9f04,null));};exports[_0x9460('0x28')]=function(_0x168f60,_0x590098){if(_0x168f60[_0x9460('0x4d')]['id']){delete _0x168f60[_0x9460('0x4d')]['id'];}return db[_0x9460('0x44')][_0x9460('0x4e')]({'where':{'id':_0x168f60[_0x9460('0x4b')]['id']}})[_0x9460('0x2a')](handleEntityNotFound(_0x590098,null))[_0x9460('0x2a')](saveUpdates(_0x168f60[_0x9460('0x4d')],null))[_0x9460('0x2a')](respondWithResult(_0x590098,null))[_0x9460('0x49')](handleError(_0x590098,null));};exports[_0x9460('0x29')]=function(_0xf9b5b3,_0x236e5b){return db['AnalyticTreeReport']['find']({'where':{'id':_0xf9b5b3[_0x9460('0x4b')]['id']}})[_0x9460('0x2a')](handleEntityNotFound(_0x236e5b,null))[_0x9460('0x2a')](removeEntity(_0x236e5b,null))[_0x9460('0x49')](handleError(_0x236e5b,null));};
\ No newline at end of file
+var _0x37f0=['intersection','attributes','fields','length','hasOwnProperty','nolimit','order','sort','filter','where','merge','options','includeAll','findAll','rows','catch','params','keys','rawAttributes','include','find','create','body','update','eml-format','rimraf','fast-json-patch','moment','bluebird','path','sox','ejs','fs-extra','lodash','crypto','jsforce','querystring','papaparse','ioredis','../../components/parsers/qs','../../config/license/hardware','../../config/logger','../../config/utils','../../config/environment','../../config/license/util','end','json','offset','undefined','limit','count','status','set','Content-Range','apply','reject','then','destroy','sendStatus','error','stack','name','send','map','AnalyticTreeReport','type','key','model','query','filters'];(function(_0x48344e,_0xb33d4e){var _0xc4b94e=function(_0x7b996){while(--_0x7b996){_0x48344e['push'](_0x48344e['shift']());}};_0xc4b94e(++_0xb33d4e);}(_0x37f0,0xea));var _0x037f=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x37f0[_0x19e35c];return _0x3e1fe8;};'use strict';var emlformat=require(_0x037f('0x0'));var rimraf=require(_0x037f('0x1'));var zipdir=require('zip-dir');var jsonpatch=require(_0x037f('0x2'));var rp=require('request-promise');var moment=require(_0x037f('0x3'));var BPromise=require(_0x037f('0x4'));var Mustache=require('mustache');var util=require('util');var path=require(_0x037f('0x5'));var sox=require(_0x037f('0x6'));var csv=require('to-csv');var ejs=require(_0x037f('0x7'));var fs=require('fs');var fs_extra=require(_0x037f('0x8'));var _=require(_0x037f('0x9'));var squel=require('squel');var crypto=require(_0x037f('0xa'));var jsforce=require(_0x037f('0xb'));var deskjs=require('desk.js');var toCsv=require('to-csv');var querystring=require(_0x037f('0xc'));var Papa=require(_0x037f('0xd'));var Redis=require(_0x037f('0xe'));var authService=require('../../components/auth/service');var qs=require(_0x037f('0xf'));var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x037f('0x10'));var logger=require(_0x037f('0x11'))('api');var utils=require(_0x037f('0x12'));var config=require(_0x037f('0x13'));var licenseUtil=require(_0x037f('0x14'));var db=require('../../mysqldb')['db'];function respondWithStatusCode(_0x3b675b,_0x36ab88){_0x36ab88=_0x36ab88||0xcc;return function(_0xf41ab9){if(_0xf41ab9){return _0x3b675b['sendStatus'](_0x36ab88);}return _0x3b675b['status'](_0x36ab88)[_0x037f('0x15')]();};}function respondWithResult(_0x1e701b,_0x358db1){_0x358db1=_0x358db1||0xc8;return function(_0x17d6cc){if(_0x17d6cc){return _0x1e701b['status'](_0x358db1)[_0x037f('0x16')](_0x17d6cc);}};}function respondWithFilteredResult(_0x1ed015,_0x2cf606){return function(_0x191304){if(_0x191304){var _0x51cdd6=typeof _0x2cf606[_0x037f('0x17')]===_0x037f('0x18')&&typeof _0x2cf606[_0x037f('0x19')]==='undefined';var _0x2d9ec1=_0x191304[_0x037f('0x1a')];var _0x29c47b=_0x51cdd6?0x0:_0x2cf606[_0x037f('0x17')];var _0x25913e=_0x51cdd6?_0x191304[_0x037f('0x1a')]:_0x2cf606['offset']+_0x2cf606[_0x037f('0x19')];var _0x54274a;if(_0x25913e>=_0x2d9ec1){_0x25913e=_0x2d9ec1;_0x54274a=0xc8;}else{_0x54274a=0xce;}_0x1ed015[_0x037f('0x1b')](_0x54274a);return _0x1ed015[_0x037f('0x1c')](_0x037f('0x1d'),_0x29c47b+'-'+_0x25913e+'/'+_0x2d9ec1)[_0x037f('0x16')](_0x191304);}return null;};}function patchUpdates(_0x3c22b4){return function(_0x477689){try{jsonpatch[_0x037f('0x1e')](_0x477689,_0x3c22b4,!![]);}catch(_0x73574d){return BPromise[_0x037f('0x1f')](_0x73574d);}return _0x477689['save']();};}function saveUpdates(_0x582781,_0x2bfde4){return function(_0x4e3d82){if(_0x4e3d82){return _0x4e3d82['update'](_0x582781)[_0x037f('0x20')](function(_0x506cf2){return _0x506cf2;});}return null;};}function removeEntity(_0x197637,_0x40458f){return function(_0x5794c7){if(_0x5794c7){return _0x5794c7[_0x037f('0x21')]()[_0x037f('0x20')](function(){_0x197637['status'](0xcc)[_0x037f('0x15')]();});}};}function handleEntityNotFound(_0x59085f,_0x448e63){return function(_0x311e16){if(!_0x311e16){_0x59085f[_0x037f('0x22')](0x194);}return _0x311e16;};}function handleError(_0x45ab36,_0x31d4b9){_0x31d4b9=_0x31d4b9||0x1f4;return function(_0x37dfdd){logger[_0x037f('0x23')](_0x37dfdd[_0x037f('0x24')]);if(_0x37dfdd['name']){delete _0x37dfdd[_0x037f('0x25')];}_0x45ab36[_0x037f('0x1b')](_0x31d4b9)[_0x037f('0x26')](_0x37dfdd);};}exports['index']=function(_0x3a1c35,_0x2f33e8){var _0x3f2a5f={},_0x37c4e2={},_0x24cc2d={'count':0x0,'rows':[]};var _0x132f24=_[_0x037f('0x27')](db[_0x037f('0x28')]['rawAttributes'],function(_0x2ecd11){return{'name':_0x2ecd11['fieldName'],'type':_0x2ecd11[_0x037f('0x29')][_0x037f('0x2a')]};});_0x37c4e2[_0x037f('0x2b')]=_[_0x037f('0x27')](_0x132f24,_0x037f('0x25'));_0x37c4e2[_0x037f('0x2c')]=_['keys'](_0x3a1c35[_0x037f('0x2c')]);_0x37c4e2[_0x037f('0x2d')]=_[_0x037f('0x2e')](_0x37c4e2['model'],_0x37c4e2[_0x037f('0x2c')]);_0x3f2a5f[_0x037f('0x2f')]=_[_0x037f('0x2e')](_0x37c4e2[_0x037f('0x2b')],qs[_0x037f('0x30')](_0x3a1c35[_0x037f('0x2c')]['fields']));_0x3f2a5f[_0x037f('0x2f')]=_0x3f2a5f[_0x037f('0x2f')][_0x037f('0x31')]?_0x3f2a5f['attributes']:_0x37c4e2['model'];if(!_0x3a1c35[_0x037f('0x2c')][_0x037f('0x32')](_0x037f('0x33'))){_0x3f2a5f['limit']=qs[_0x037f('0x19')](_0x3a1c35['query'][_0x037f('0x19')]);_0x3f2a5f[_0x037f('0x17')]=qs['offset'](_0x3a1c35[_0x037f('0x2c')][_0x037f('0x17')]);}_0x3f2a5f[_0x037f('0x34')]=qs[_0x037f('0x35')](_0x3a1c35[_0x037f('0x2c')][_0x037f('0x35')]);_0x3f2a5f['where']=qs[_0x037f('0x2d')](_['pick'](_0x3a1c35[_0x037f('0x2c')],_0x37c4e2[_0x037f('0x2d')]),_0x132f24);if(_0x3a1c35['query'][_0x037f('0x36')]){_0x3f2a5f[_0x037f('0x37')]=_[_0x037f('0x38')](_0x3f2a5f[_0x037f('0x37')],{'$or':_[_0x037f('0x27')](_0x132f24,function(_0x1561b1){if(_0x1561b1[_0x037f('0x29')]!=='VIRTUAL'){var _0x40240c={};_0x40240c[_0x1561b1['name']]={'$like':'%'+_0x3a1c35[_0x037f('0x2c')]['filter']+'%'};return _0x40240c;}})});}_0x3f2a5f=_[_0x037f('0x38')]({},_0x3f2a5f,_0x3a1c35[_0x037f('0x39')]);var _0x4f01a0={'where':_0x3f2a5f['where']};return db[_0x037f('0x28')][_0x037f('0x1a')](_0x4f01a0)[_0x037f('0x20')](function(_0x2a25e7){_0x24cc2d[_0x037f('0x1a')]=_0x2a25e7;if(_0x3a1c35[_0x037f('0x2c')][_0x037f('0x3a')]){_0x3f2a5f['include']=[{'all':!![]}];}return db[_0x037f('0x28')][_0x037f('0x3b')](_0x3f2a5f);})[_0x037f('0x20')](function(_0x857818){_0x24cc2d[_0x037f('0x3c')]=_0x857818;return _0x24cc2d;})['then'](respondWithFilteredResult(_0x2f33e8,_0x3f2a5f))[_0x037f('0x3d')](handleError(_0x2f33e8,null));};exports['show']=function(_0x2f7d96,_0x35200e){var _0x33dbb3={'raw':!![],'where':{'id':_0x2f7d96[_0x037f('0x3e')]['id']}},_0x4a720f={};_0x4a720f['model']=_[_0x037f('0x3f')](db[_0x037f('0x28')][_0x037f('0x40')]);_0x4a720f[_0x037f('0x2c')]=_[_0x037f('0x3f')](_0x2f7d96[_0x037f('0x2c')]);_0x4a720f[_0x037f('0x2d')]=_[_0x037f('0x2e')](_0x4a720f[_0x037f('0x2b')],_0x4a720f[_0x037f('0x2c')]);_0x33dbb3[_0x037f('0x2f')]=_['intersection'](_0x4a720f[_0x037f('0x2b')],qs[_0x037f('0x30')](_0x2f7d96[_0x037f('0x2c')][_0x037f('0x30')]));_0x33dbb3[_0x037f('0x2f')]=_0x33dbb3['attributes'][_0x037f('0x31')]?_0x33dbb3[_0x037f('0x2f')]:_0x4a720f[_0x037f('0x2b')];if(_0x2f7d96[_0x037f('0x2c')]['includeAll']){_0x33dbb3[_0x037f('0x41')]=[{'all':!![]}];}_0x33dbb3=_[_0x037f('0x38')]({},_0x33dbb3,_0x2f7d96[_0x037f('0x39')]);return db[_0x037f('0x28')][_0x037f('0x42')](_0x33dbb3)[_0x037f('0x20')](handleEntityNotFound(_0x35200e,null))[_0x037f('0x20')](respondWithResult(_0x35200e,null))[_0x037f('0x3d')](handleError(_0x35200e,null));};exports[_0x037f('0x43')]=function(_0x5dd678,_0x3cfe0c){return db['AnalyticTreeReport'][_0x037f('0x43')](_0x5dd678[_0x037f('0x44')],{})[_0x037f('0x20')](respondWithResult(_0x3cfe0c,0xc9))['catch'](handleError(_0x3cfe0c,null));};exports[_0x037f('0x45')]=function(_0x38a06a,_0xea7a8f){if(_0x38a06a[_0x037f('0x44')]['id']){delete _0x38a06a[_0x037f('0x44')]['id'];}return db[_0x037f('0x28')][_0x037f('0x42')]({'where':{'id':_0x38a06a[_0x037f('0x3e')]['id']}})[_0x037f('0x20')](handleEntityNotFound(_0xea7a8f,null))['then'](saveUpdates(_0x38a06a[_0x037f('0x44')],null))[_0x037f('0x20')](respondWithResult(_0xea7a8f,null))[_0x037f('0x3d')](handleError(_0xea7a8f,null));};exports[_0x037f('0x21')]=function(_0x5dab04,_0x55f3e6){return db[_0x037f('0x28')]['find']({'where':{'id':_0x5dab04[_0x037f('0x3e')]['id']}})[_0x037f('0x20')](handleEntityNotFound(_0x55f3e6,null))['then'](removeEntity(_0x55f3e6,null))['catch'](handleError(_0x55f3e6,null));};
\ No newline at end of file