Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / faxApplication / faxApplication.controller.js
index aabb468..fe0ca04 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf343=['catch','create','body','update','html-pdf','eml-format','rimraf','zip-dir','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','crypto','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb','sendStatus','status','end','json','offset','limit','set','Content-Range','reject','then','destroy','error','name','send','index','FaxApplication','rawAttributes','fieldName','type','key','map','query','keys','filters','intersection','model','attributes','fields','order','sort','where','pick','merge','VIRTUAL','filter','options','count','include','findAll','rows','show','params','find'];(function(_0x24367c,_0x17b55){var _0x2cd30d=function(_0x12ed87){while(--_0x12ed87){_0x24367c['push'](_0x24367c['shift']());}};_0x2cd30d(++_0x17b55);}(_0xf343,0x128));var _0x3f34=function(_0x510933,_0x390356){_0x510933=_0x510933-0x0;var _0x25e236=_0xf343[_0x510933];return _0x25e236;};'use strict';var pdf=require(_0x3f34('0x0'));var emlformat=require(_0x3f34('0x1'));var rimraf=require(_0x3f34('0x2'));var zipdir=require(_0x3f34('0x3'));var jsonpatch=require(_0x3f34('0x4'));var rp=require('request-promise');var moment=require(_0x3f34('0x5'));var BPromise=require(_0x3f34('0x6'));var Mustache=require(_0x3f34('0x7'));var util=require('util');var path=require(_0x3f34('0x8'));var sox=require(_0x3f34('0x9'));var csv=require(_0x3f34('0xa'));var ejs=require(_0x3f34('0xb'));var fs=require('fs');var _=require(_0x3f34('0xc'));var squel=require('squel');var crypto=require(_0x3f34('0xd'));var jsforce=require('jsforce');var deskjs=require(_0x3f34('0xe'));var toCsv=require(_0x3f34('0xa'));var querystring=require(_0x3f34('0xf'));var Papa=require(_0x3f34('0x10'));var Redis=require(_0x3f34('0x11'));var authService=require(_0x3f34('0x12'));var qs=require('../../components/parsers/qs');var as=require('../../components/parsers/advancedSearch');var hardwareService=require(_0x3f34('0x13'));var logger=require(_0x3f34('0x14'))(_0x3f34('0x15'));var utils=require(_0x3f34('0x16'));var config=require(_0x3f34('0x17'));var licenseUtil=require(_0x3f34('0x18'));var db=require(_0x3f34('0x19'))['db'];function respondWithStatusCode(_0x4664f0,_0x14b8dd){_0x14b8dd=_0x14b8dd||0xcc;return function(_0x5b60e8){if(_0x5b60e8){return _0x4664f0[_0x3f34('0x1a')](_0x14b8dd);}return _0x4664f0[_0x3f34('0x1b')](_0x14b8dd)[_0x3f34('0x1c')]();};}function respondWithResult(_0x338576,_0x55ec90){_0x55ec90=_0x55ec90||0xc8;return function(_0x125bf6){if(_0x125bf6){return _0x338576[_0x3f34('0x1b')](_0x55ec90)[_0x3f34('0x1d')](_0x125bf6);}};}function respondWithFilteredResult(_0x503328,_0xd89637){return function(_0x489984){if(_0x489984){var _0x1beded=_0x489984['count'],_0x5b41aa=_0xd89637[_0x3f34('0x1e')],_0x1a6105=_0xd89637['offset']+_0xd89637[_0x3f34('0x1f')],_0x58a575;if(_0x1a6105>=_0x1beded){_0x1a6105=_0x1beded;_0x58a575=0xc8;}else{_0x58a575=0xce;}_0x503328['status'](_0x58a575);return _0x503328[_0x3f34('0x20')](_0x3f34('0x21'),_0x5b41aa+'-'+_0x1a6105+'/'+_0x1beded)[_0x3f34('0x1d')](_0x489984);}return null;};}function patchUpdates(_0x54e0ff){return function(_0x4c000d){try{jsonpatch['apply'](_0x4c000d,_0x54e0ff,!![]);}catch(_0x510069){return BPromise[_0x3f34('0x22')](_0x510069);}return _0x4c000d['save']();};}function saveUpdates(_0xca93b8,_0x32e005){return function(_0x249934){if(_0x249934){return _0x249934['update'](_0xca93b8)[_0x3f34('0x23')](function(_0x1b2a87){return _0x1b2a87;});}return null;};}function removeEntity(_0x238615,_0x135212){return function(_0x128d6c){if(_0x128d6c){return _0x128d6c[_0x3f34('0x24')]()['then'](function(){_0x238615[_0x3f34('0x1b')](0xcc)[_0x3f34('0x1c')]();});}};}function handleEntityNotFound(_0x2206e1,_0x1d0b14){return function(_0x2e078f){if(!_0x2e078f){_0x2206e1[_0x3f34('0x1a')](0x194);}return _0x2e078f;};}function handleError(_0x38396f,_0x2995d2){_0x2995d2=_0x2995d2||0x1f4;return function(_0x3975f0){logger[_0x3f34('0x25')](_0x3975f0['stack']);if(_0x3975f0[_0x3f34('0x26')]){delete _0x3975f0['name'];}_0x38396f[_0x3f34('0x1b')](_0x2995d2)[_0x3f34('0x27')](_0x3975f0);};}exports[_0x3f34('0x28')]=function(_0x1c3abd,_0x28bcfb){var _0x1894ce={},_0x9724d3={},_0x5de74c={'count':0x0,'rows':[]};var _0x191c14=_['map'](db[_0x3f34('0x29')][_0x3f34('0x2a')],function(_0x3c6b2f){return{'name':_0x3c6b2f[_0x3f34('0x2b')],'type':_0x3c6b2f[_0x3f34('0x2c')][_0x3f34('0x2d')]};});_0x9724d3['model']=_[_0x3f34('0x2e')](_0x191c14,_0x3f34('0x26'));_0x9724d3[_0x3f34('0x2f')]=_[_0x3f34('0x30')](_0x1c3abd[_0x3f34('0x2f')]);_0x9724d3[_0x3f34('0x31')]=_[_0x3f34('0x32')](_0x9724d3[_0x3f34('0x33')],_0x9724d3[_0x3f34('0x2f')]);_0x1894ce[_0x3f34('0x34')]=_[_0x3f34('0x32')](_0x9724d3[_0x3f34('0x33')],qs[_0x3f34('0x35')](_0x1c3abd[_0x3f34('0x2f')][_0x3f34('0x35')]));_0x1894ce[_0x3f34('0x34')]=_0x1894ce[_0x3f34('0x34')]['length']?_0x1894ce[_0x3f34('0x34')]:_0x9724d3[_0x3f34('0x33')];if(!_0x1c3abd[_0x3f34('0x2f')]['hasOwnProperty']('nolimit')){_0x1894ce[_0x3f34('0x1f')]=qs[_0x3f34('0x1f')](_0x1c3abd[_0x3f34('0x2f')]['limit']);_0x1894ce[_0x3f34('0x1e')]=qs[_0x3f34('0x1e')](_0x1c3abd[_0x3f34('0x2f')][_0x3f34('0x1e')]);}_0x1894ce[_0x3f34('0x36')]=qs[_0x3f34('0x37')](_0x1c3abd[_0x3f34('0x2f')][_0x3f34('0x37')]);_0x1894ce[_0x3f34('0x38')]=qs[_0x3f34('0x31')](_[_0x3f34('0x39')](_0x1c3abd[_0x3f34('0x2f')],_0x9724d3[_0x3f34('0x31')]),_0x191c14);if(_0x1c3abd[_0x3f34('0x2f')]['filter']){_0x1894ce[_0x3f34('0x38')]=_[_0x3f34('0x3a')](_0x1894ce[_0x3f34('0x38')],{'$or':_['map'](_0x191c14,function(_0x2bbd3e){if(_0x2bbd3e[_0x3f34('0x2c')]!==_0x3f34('0x3b')){var _0x16f019={};_0x16f019[_0x2bbd3e[_0x3f34('0x26')]]={'$like':'%'+_0x1c3abd['query'][_0x3f34('0x3c')]+'%'};return _0x16f019;}})});}_0x1894ce=_['merge']({},_0x1894ce,_0x1c3abd[_0x3f34('0x3d')]);var _0x587f3f={'where':_0x1894ce['where']};return db[_0x3f34('0x29')][_0x3f34('0x3e')](_0x587f3f)[_0x3f34('0x23')](function(_0xa77e38){_0x5de74c[_0x3f34('0x3e')]=_0xa77e38;if(_0x1c3abd[_0x3f34('0x2f')]['includeAll']){_0x1894ce[_0x3f34('0x3f')]=[{'all':!![]}];}return db[_0x3f34('0x29')][_0x3f34('0x40')](_0x1894ce);})[_0x3f34('0x23')](function(_0x3e8419){_0x5de74c[_0x3f34('0x41')]=_0x3e8419;return _0x5de74c;})[_0x3f34('0x23')](respondWithFilteredResult(_0x28bcfb,_0x1894ce))['catch'](handleError(_0x28bcfb,null));};exports[_0x3f34('0x42')]=function(_0x1693ea,_0x353cb0){var _0x461b6c={'raw':!![],'where':{'id':_0x1693ea[_0x3f34('0x43')]['id']}},_0x38a75a={};_0x38a75a[_0x3f34('0x33')]=_[_0x3f34('0x30')](db[_0x3f34('0x29')][_0x3f34('0x2a')]);_0x38a75a['query']=_['keys'](_0x1693ea[_0x3f34('0x2f')]);_0x38a75a['filters']=_['intersection'](_0x38a75a['model'],_0x38a75a[_0x3f34('0x2f')]);_0x461b6c['attributes']=_[_0x3f34('0x32')](_0x38a75a['model'],qs['fields'](_0x1693ea[_0x3f34('0x2f')]['fields']));_0x461b6c[_0x3f34('0x34')]=_0x461b6c[_0x3f34('0x34')]['length']?_0x461b6c[_0x3f34('0x34')]:_0x38a75a[_0x3f34('0x33')];if(_0x1693ea[_0x3f34('0x2f')]['includeAll']){_0x461b6c[_0x3f34('0x3f')]=[{'all':!![]}];}_0x461b6c=_[_0x3f34('0x3a')]({},_0x461b6c,_0x1693ea[_0x3f34('0x3d')]);return db['FaxApplication'][_0x3f34('0x44')](_0x461b6c)['then'](handleEntityNotFound(_0x353cb0,null))[_0x3f34('0x23')](respondWithResult(_0x353cb0,null))[_0x3f34('0x45')](handleError(_0x353cb0,null));};exports[_0x3f34('0x46')]=function(_0x56d285,_0x40c334){return db[_0x3f34('0x29')][_0x3f34('0x46')](_0x56d285[_0x3f34('0x47')],{})[_0x3f34('0x23')](respondWithResult(_0x40c334,0xc9))[_0x3f34('0x45')](handleError(_0x40c334,null));};exports[_0x3f34('0x48')]=function(_0xd3b1b5,_0x6d163f){if(_0xd3b1b5[_0x3f34('0x47')]['id']){delete _0xd3b1b5[_0x3f34('0x47')]['id'];}return db[_0x3f34('0x29')][_0x3f34('0x44')]({'where':{'id':_0xd3b1b5['params']['id']}})[_0x3f34('0x23')](handleEntityNotFound(_0x6d163f,null))[_0x3f34('0x23')](saveUpdates(_0xd3b1b5[_0x3f34('0x47')],null))[_0x3f34('0x23')](respondWithResult(_0x6d163f,null))[_0x3f34('0x45')](handleError(_0x6d163f,null));};exports[_0x3f34('0x24')]=function(_0x3fa5f3,_0x434b3e){return db[_0x3f34('0x29')][_0x3f34('0x44')]({'where':{'id':_0x3fa5f3[_0x3f34('0x43')]['id']}})['then'](handleEntityNotFound(_0x434b3e,null))['then'](removeEntity(_0x434b3e,null))['catch'](handleError(_0x434b3e,null));};
\ No newline at end of file
+var _0xafd5=['sendStatus','status','json','undefined','limit','count','offset','set','Content-Range','apply','reject','update','then','end','error','stack','name','send','map','FaxApplication','rawAttributes','fieldName','type','key','query','filters','model','attributes','intersection','fields','length','hasOwnProperty','nolimit','sort','where','pick','filter','merge','options','includeAll','include','findAll','rows','show','keys','find','catch','create','body','destroy','params','eml-format','rimraf','zip-dir','fast-json-patch','request-promise','moment','bluebird','mustache','util','path','sox','ejs','fs-extra','lodash','squel','crypto','desk.js','to-csv','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment','../../config/license/util','../../mysqldb'];(function(_0xc43efa,_0x290aa8){var _0x4ad73f=function(_0x2c19e4){while(--_0x2c19e4){_0xc43efa['push'](_0xc43efa['shift']());}};_0x4ad73f(++_0x290aa8);}(_0xafd5,0x126));var _0x5afd=function(_0x5317b5,_0x4dfd6e){_0x5317b5=_0x5317b5-0x0;var _0x3b7ce2=_0xafd5[_0x5317b5];return _0x3b7ce2;};'use strict';var emlformat=require(_0x5afd('0x0'));var rimraf=require(_0x5afd('0x1'));var zipdir=require(_0x5afd('0x2'));var jsonpatch=require(_0x5afd('0x3'));var rp=require(_0x5afd('0x4'));var moment=require(_0x5afd('0x5'));var BPromise=require(_0x5afd('0x6'));var Mustache=require(_0x5afd('0x7'));var util=require(_0x5afd('0x8'));var path=require(_0x5afd('0x9'));var sox=require(_0x5afd('0xa'));var csv=require('to-csv');var ejs=require(_0x5afd('0xb'));var fs=require('fs');var fs_extra=require(_0x5afd('0xc'));var _=require(_0x5afd('0xd'));var squel=require(_0x5afd('0xe'));var crypto=require(_0x5afd('0xf'));var jsforce=require('jsforce');var deskjs=require(_0x5afd('0x10'));var toCsv=require(_0x5afd('0x11'));var querystring=require('querystring');var Papa=require(_0x5afd('0x12'));var Redis=require(_0x5afd('0x13'));var authService=require(_0x5afd('0x14'));var qs=require(_0x5afd('0x15'));var as=require(_0x5afd('0x16'));var hardwareService=require(_0x5afd('0x17'));var logger=require(_0x5afd('0x18'))(_0x5afd('0x19'));var utils=require(_0x5afd('0x1a'));var config=require(_0x5afd('0x1b'));var licenseUtil=require(_0x5afd('0x1c'));var db=require(_0x5afd('0x1d'))['db'];function respondWithStatusCode(_0x1012b7,_0x36be41){_0x36be41=_0x36be41||0xcc;return function(_0xeb8f16){if(_0xeb8f16){return _0x1012b7[_0x5afd('0x1e')](_0x36be41);}return _0x1012b7[_0x5afd('0x1f')](_0x36be41)['end']();};}function respondWithResult(_0x2b4cd,_0x5866fc){_0x5866fc=_0x5866fc||0xc8;return function(_0x12d7c8){if(_0x12d7c8){return _0x2b4cd[_0x5afd('0x1f')](_0x5866fc)[_0x5afd('0x20')](_0x12d7c8);}};}function respondWithFilteredResult(_0x31172d,_0x1f3709){return function(_0x832ff0){if(_0x832ff0){var _0x37becf=typeof _0x1f3709['offset']===_0x5afd('0x21')&&typeof _0x1f3709[_0x5afd('0x22')]===_0x5afd('0x21');var _0x2210a4=_0x832ff0[_0x5afd('0x23')];var _0x343c98=_0x37becf?0x0:_0x1f3709[_0x5afd('0x24')];var _0x258a60=_0x37becf?_0x832ff0[_0x5afd('0x23')]:_0x1f3709[_0x5afd('0x24')]+_0x1f3709['limit'];var _0x2df971;if(_0x258a60>=_0x2210a4){_0x258a60=_0x2210a4;_0x2df971=0xc8;}else{_0x2df971=0xce;}_0x31172d[_0x5afd('0x1f')](_0x2df971);return _0x31172d[_0x5afd('0x25')](_0x5afd('0x26'),_0x343c98+'-'+_0x258a60+'/'+_0x2210a4)[_0x5afd('0x20')](_0x832ff0);}return null;};}function patchUpdates(_0x9f6d9c){return function(_0x164f43){try{jsonpatch[_0x5afd('0x27')](_0x164f43,_0x9f6d9c,!![]);}catch(_0x32136f){return BPromise[_0x5afd('0x28')](_0x32136f);}return _0x164f43['save']();};}function saveUpdates(_0x57fb9e,_0x4db8b3){return function(_0x4df054){if(_0x4df054){return _0x4df054[_0x5afd('0x29')](_0x57fb9e)[_0x5afd('0x2a')](function(_0x4010a4){return _0x4010a4;});}return null;};}function removeEntity(_0x464401,_0x3b0e2a){return function(_0x10a27b){if(_0x10a27b){return _0x10a27b['destroy']()[_0x5afd('0x2a')](function(){_0x464401[_0x5afd('0x1f')](0xcc)[_0x5afd('0x2b')]();});}};}function handleEntityNotFound(_0x4d0a00,_0x28af32){return function(_0x27ff7f){if(!_0x27ff7f){_0x4d0a00[_0x5afd('0x1e')](0x194);}return _0x27ff7f;};}function handleError(_0x49d13d,_0x2d5be8){_0x2d5be8=_0x2d5be8||0x1f4;return function(_0xf59b22){logger[_0x5afd('0x2c')](_0xf59b22[_0x5afd('0x2d')]);if(_0xf59b22[_0x5afd('0x2e')]){delete _0xf59b22[_0x5afd('0x2e')];}_0x49d13d['status'](_0x2d5be8)[_0x5afd('0x2f')](_0xf59b22);};}exports['index']=function(_0x5d4832,_0x55298b){var _0x13b0e5={},_0x111806={},_0x2dcc73={'count':0x0,'rows':[]};var _0x35b9d2=_[_0x5afd('0x30')](db[_0x5afd('0x31')][_0x5afd('0x32')],function(_0x1f069d){return{'name':_0x1f069d[_0x5afd('0x33')],'type':_0x1f069d[_0x5afd('0x34')][_0x5afd('0x35')]};});_0x111806['model']=_[_0x5afd('0x30')](_0x35b9d2,_0x5afd('0x2e'));_0x111806[_0x5afd('0x36')]=_['keys'](_0x5d4832[_0x5afd('0x36')]);_0x111806[_0x5afd('0x37')]=_['intersection'](_0x111806[_0x5afd('0x38')],_0x111806[_0x5afd('0x36')]);_0x13b0e5[_0x5afd('0x39')]=_[_0x5afd('0x3a')](_0x111806['model'],qs[_0x5afd('0x3b')](_0x5d4832['query'][_0x5afd('0x3b')]));_0x13b0e5[_0x5afd('0x39')]=_0x13b0e5[_0x5afd('0x39')][_0x5afd('0x3c')]?_0x13b0e5[_0x5afd('0x39')]:_0x111806[_0x5afd('0x38')];if(!_0x5d4832[_0x5afd('0x36')][_0x5afd('0x3d')](_0x5afd('0x3e'))){_0x13b0e5[_0x5afd('0x22')]=qs[_0x5afd('0x22')](_0x5d4832[_0x5afd('0x36')][_0x5afd('0x22')]);_0x13b0e5[_0x5afd('0x24')]=qs['offset'](_0x5d4832[_0x5afd('0x36')][_0x5afd('0x24')]);}_0x13b0e5['order']=qs['sort'](_0x5d4832[_0x5afd('0x36')][_0x5afd('0x3f')]);_0x13b0e5[_0x5afd('0x40')]=qs[_0x5afd('0x37')](_[_0x5afd('0x41')](_0x5d4832[_0x5afd('0x36')],_0x111806[_0x5afd('0x37')]),_0x35b9d2);if(_0x5d4832[_0x5afd('0x36')][_0x5afd('0x42')]){_0x13b0e5[_0x5afd('0x40')]=_['merge'](_0x13b0e5[_0x5afd('0x40')],{'$or':_[_0x5afd('0x30')](_0x35b9d2,function(_0x581e77){if(_0x581e77['type']!=='VIRTUAL'){var _0x16904f={};_0x16904f[_0x581e77['name']]={'$like':'%'+_0x5d4832[_0x5afd('0x36')][_0x5afd('0x42')]+'%'};return _0x16904f;}})});}_0x13b0e5=_[_0x5afd('0x43')]({},_0x13b0e5,_0x5d4832[_0x5afd('0x44')]);var _0x23420d={'where':_0x13b0e5[_0x5afd('0x40')]};return db[_0x5afd('0x31')][_0x5afd('0x23')](_0x23420d)[_0x5afd('0x2a')](function(_0x30a4a5){_0x2dcc73['count']=_0x30a4a5;if(_0x5d4832['query'][_0x5afd('0x45')]){_0x13b0e5[_0x5afd('0x46')]=[{'all':!![]}];}return db[_0x5afd('0x31')][_0x5afd('0x47')](_0x13b0e5);})[_0x5afd('0x2a')](function(_0x3c20d0){_0x2dcc73[_0x5afd('0x48')]=_0x3c20d0;return _0x2dcc73;})[_0x5afd('0x2a')](respondWithFilteredResult(_0x55298b,_0x13b0e5))['catch'](handleError(_0x55298b,null));};exports[_0x5afd('0x49')]=function(_0x2e87ec,_0x38538c){var _0x529b90={'raw':!![],'where':{'id':_0x2e87ec['params']['id']}},_0x26607a={};_0x26607a[_0x5afd('0x38')]=_[_0x5afd('0x4a')](db[_0x5afd('0x31')][_0x5afd('0x32')]);_0x26607a[_0x5afd('0x36')]=_[_0x5afd('0x4a')](_0x2e87ec[_0x5afd('0x36')]);_0x26607a['filters']=_[_0x5afd('0x3a')](_0x26607a['model'],_0x26607a[_0x5afd('0x36')]);_0x529b90[_0x5afd('0x39')]=_['intersection'](_0x26607a[_0x5afd('0x38')],qs[_0x5afd('0x3b')](_0x2e87ec[_0x5afd('0x36')]['fields']));_0x529b90[_0x5afd('0x39')]=_0x529b90[_0x5afd('0x39')]['length']?_0x529b90[_0x5afd('0x39')]:_0x26607a[_0x5afd('0x38')];if(_0x2e87ec[_0x5afd('0x36')][_0x5afd('0x45')]){_0x529b90[_0x5afd('0x46')]=[{'all':!![]}];}_0x529b90=_[_0x5afd('0x43')]({},_0x529b90,_0x2e87ec[_0x5afd('0x44')]);return db['FaxApplication'][_0x5afd('0x4b')](_0x529b90)[_0x5afd('0x2a')](handleEntityNotFound(_0x38538c,null))[_0x5afd('0x2a')](respondWithResult(_0x38538c,null))[_0x5afd('0x4c')](handleError(_0x38538c,null));};exports[_0x5afd('0x4d')]=function(_0x1921d0,_0x40c053){return db[_0x5afd('0x31')]['create'](_0x1921d0[_0x5afd('0x4e')],{})[_0x5afd('0x2a')](respondWithResult(_0x40c053,0xc9))[_0x5afd('0x4c')](handleError(_0x40c053,null));};exports['update']=function(_0x27a2cc,_0x7a15c0){if(_0x27a2cc[_0x5afd('0x4e')]['id']){delete _0x27a2cc[_0x5afd('0x4e')]['id'];}return db[_0x5afd('0x31')]['find']({'where':{'id':_0x27a2cc['params']['id']}})[_0x5afd('0x2a')](handleEntityNotFound(_0x7a15c0,null))[_0x5afd('0x2a')](saveUpdates(_0x27a2cc['body'],null))[_0x5afd('0x2a')](respondWithResult(_0x7a15c0,null))[_0x5afd('0x4c')](handleError(_0x7a15c0,null));};exports[_0x5afd('0x4f')]=function(_0x3f9858,_0x45a74e){return db[_0x5afd('0x31')]['find']({'where':{'id':_0x3f9858[_0x5afd('0x50')]['id']}})[_0x5afd('0x2a')](handleEntityNotFound(_0x45a74e,null))[_0x5afd('0x2a')](removeEntity(_0x45a74e,null))[_0x5afd('0x4c')](handleError(_0x45a74e,null));};
\ No newline at end of file