Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / intZohoField / intZohoField.controller.js
index 9f22e4a..256c80a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4885=['show','includeAll','find','create','body','params','eml-format','moment','bluebird','mustache','util','path','to-csv','ejs','fs-extra','squel','crypto','desk.js','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','sendStatus','status','end','json','offset','undefined','limit','count','set','Content-Range','apply','reject','update','destroy','error','stack','name','send','index','map','ZohoField','rawAttributes','key','model','keys','query','intersection','attributes','fields','length','nolimit','order','sort','where','filters','pick','filter','type','VIRTUAL','merge','options','then','include','catch'];(function(_0x5a1a26,_0x2060ca){var _0x13ec41=function(_0x33b1e4){while(--_0x33b1e4){_0x5a1a26['push'](_0x5a1a26['shift']());}};_0x13ec41(++_0x2060ca);}(_0x4885,0x12e));var _0x5488=function(_0xecfc69,_0x17151a){_0xecfc69=_0xecfc69-0x0;var _0x401a80=_0x4885[_0xecfc69];return _0x401a80;};'use strict';var emlformat=require(_0x5488('0x0'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require('fast-json-patch');var rp=require('request-promise');var moment=require(_0x5488('0x1'));var BPromise=require(_0x5488('0x2'));var Mustache=require(_0x5488('0x3'));var util=require(_0x5488('0x4'));var path=require(_0x5488('0x5'));var sox=require('sox');var csv=require(_0x5488('0x6'));var ejs=require(_0x5488('0x7'));var fs=require('fs');var fs_extra=require(_0x5488('0x8'));var _=require('lodash');var squel=require(_0x5488('0x9'));var crypto=require(_0x5488('0xa'));var jsforce=require('jsforce');var deskjs=require(_0x5488('0xb'));var toCsv=require(_0x5488('0x6'));var querystring=require('querystring');var Papa=require(_0x5488('0xc'));var Redis=require(_0x5488('0xd'));var authService=require(_0x5488('0xe'));var qs=require(_0x5488('0xf'));var as=require(_0x5488('0x10'));var hardwareService=require(_0x5488('0x11'));var logger=require(_0x5488('0x12'))(_0x5488('0x13'));var utils=require(_0x5488('0x14'));var config=require(_0x5488('0x15'));var licenseUtil=require(_0x5488('0x16'));var db=require(_0x5488('0x17'))['db'];function respondWithStatusCode(_0x4bf8c7,_0x1b9a7f){_0x1b9a7f=_0x1b9a7f||0xcc;return function(_0x2dcc76){if(_0x2dcc76){return _0x4bf8c7[_0x5488('0x18')](_0x1b9a7f);}return _0x4bf8c7[_0x5488('0x19')](_0x1b9a7f)[_0x5488('0x1a')]();};}function respondWithResult(_0x2f8793,_0x552830){_0x552830=_0x552830||0xc8;return function(_0x55e04e){if(_0x55e04e){return _0x2f8793[_0x5488('0x19')](_0x552830)[_0x5488('0x1b')](_0x55e04e);}};}function respondWithFilteredResult(_0x5ab0e4,_0x3fdaf7){return function(_0x4970fb){if(_0x4970fb){var _0x5d9d3a=typeof _0x3fdaf7[_0x5488('0x1c')]===_0x5488('0x1d')&&typeof _0x3fdaf7[_0x5488('0x1e')]===_0x5488('0x1d');var _0x1084bf=_0x4970fb[_0x5488('0x1f')];var _0x275efa=_0x5d9d3a?0x0:_0x3fdaf7[_0x5488('0x1c')];var _0x13b056=_0x5d9d3a?_0x4970fb['count']:_0x3fdaf7[_0x5488('0x1c')]+_0x3fdaf7['limit'];var _0x3a8ef8;if(_0x13b056>=_0x1084bf){_0x13b056=_0x1084bf;_0x3a8ef8=0xc8;}else{_0x3a8ef8=0xce;}_0x5ab0e4[_0x5488('0x19')](_0x3a8ef8);return _0x5ab0e4[_0x5488('0x20')](_0x5488('0x21'),_0x275efa+'-'+_0x13b056+'/'+_0x1084bf)[_0x5488('0x1b')](_0x4970fb);}return null;};}function patchUpdates(_0x42efe2){return function(_0x193769){try{jsonpatch[_0x5488('0x22')](_0x193769,_0x42efe2,!![]);}catch(_0x5b2142){return BPromise[_0x5488('0x23')](_0x5b2142);}return _0x193769['save']();};}function saveUpdates(_0x401bd5,_0x3f9e60){return function(_0x407812){if(_0x407812){return _0x407812[_0x5488('0x24')](_0x401bd5)['then'](function(_0x30c516){return _0x30c516;});}return null;};}function removeEntity(_0x4b3464,_0x54d931){return function(_0x5a2271){if(_0x5a2271){return _0x5a2271[_0x5488('0x25')]()['then'](function(){_0x4b3464[_0x5488('0x19')](0xcc)['end']();});}};}function handleEntityNotFound(_0x13f516,_0x25b74c){return function(_0x21554e){if(!_0x21554e){_0x13f516[_0x5488('0x18')](0x194);}return _0x21554e;};}function handleError(_0x28f180,_0x181d48){_0x181d48=_0x181d48||0x1f4;return function(_0x1e1a54){logger[_0x5488('0x26')](_0x1e1a54[_0x5488('0x27')]);if(_0x1e1a54[_0x5488('0x28')]){delete _0x1e1a54[_0x5488('0x28')];}_0x28f180[_0x5488('0x19')](_0x181d48)[_0x5488('0x29')](_0x1e1a54);};}exports[_0x5488('0x2a')]=function(_0x2eb65d,_0x5add23){var _0x50e7b6={},_0x377533={},_0x3594ff={'count':0x0,'rows':[]};var _0x168865=_[_0x5488('0x2b')](db[_0x5488('0x2c')][_0x5488('0x2d')],function(_0x4d112f){return{'name':_0x4d112f['fieldName'],'type':_0x4d112f['type'][_0x5488('0x2e')]};});_0x377533[_0x5488('0x2f')]=_['map'](_0x168865,_0x5488('0x28'));_0x377533['query']=_[_0x5488('0x30')](_0x2eb65d[_0x5488('0x31')]);_0x377533['filters']=_[_0x5488('0x32')](_0x377533[_0x5488('0x2f')],_0x377533[_0x5488('0x31')]);_0x50e7b6[_0x5488('0x33')]=_[_0x5488('0x32')](_0x377533['model'],qs['fields'](_0x2eb65d[_0x5488('0x31')][_0x5488('0x34')]));_0x50e7b6[_0x5488('0x33')]=_0x50e7b6[_0x5488('0x33')][_0x5488('0x35')]?_0x50e7b6[_0x5488('0x33')]:_0x377533[_0x5488('0x2f')];if(!_0x2eb65d[_0x5488('0x31')]['hasOwnProperty'](_0x5488('0x36'))){_0x50e7b6[_0x5488('0x1e')]=qs['limit'](_0x2eb65d['query']['limit']);_0x50e7b6[_0x5488('0x1c')]=qs[_0x5488('0x1c')](_0x2eb65d[_0x5488('0x31')][_0x5488('0x1c')]);}_0x50e7b6[_0x5488('0x37')]=qs['sort'](_0x2eb65d[_0x5488('0x31')][_0x5488('0x38')]);_0x50e7b6[_0x5488('0x39')]=qs[_0x5488('0x3a')](_[_0x5488('0x3b')](_0x2eb65d[_0x5488('0x31')],_0x377533['filters']),_0x168865);if(_0x2eb65d[_0x5488('0x31')][_0x5488('0x3c')]){_0x50e7b6[_0x5488('0x39')]=_['merge'](_0x50e7b6[_0x5488('0x39')],{'$or':_[_0x5488('0x2b')](_0x168865,function(_0x3a6b59){if(_0x3a6b59[_0x5488('0x3d')]!==_0x5488('0x3e')){var _0x4f8e8f={};_0x4f8e8f[_0x3a6b59['name']]={'$like':'%'+_0x2eb65d[_0x5488('0x31')]['filter']+'%'};return _0x4f8e8f;}})});}_0x50e7b6=_[_0x5488('0x3f')]({},_0x50e7b6,_0x2eb65d[_0x5488('0x40')]);var _0x1a943a={'where':_0x50e7b6[_0x5488('0x39')]};return db[_0x5488('0x2c')][_0x5488('0x1f')](_0x1a943a)[_0x5488('0x41')](function(_0x437a3c){_0x3594ff['count']=_0x437a3c;if(_0x2eb65d[_0x5488('0x31')]['includeAll']){_0x50e7b6[_0x5488('0x42')]=[{'all':!![]}];}return db['ZohoField']['findAll'](_0x50e7b6);})[_0x5488('0x41')](function(_0x4f1f15){_0x3594ff['rows']=_0x4f1f15;return _0x3594ff;})['then'](respondWithFilteredResult(_0x5add23,_0x50e7b6))[_0x5488('0x43')](handleError(_0x5add23,null));};exports[_0x5488('0x44')]=function(_0x51b275,_0xb8ce8e){var _0x4d397d={'raw':!![],'where':{'id':_0x51b275['params']['id']}},_0x267299={};_0x267299[_0x5488('0x2f')]=_[_0x5488('0x30')](db['ZohoField'][_0x5488('0x2d')]);_0x267299['query']=_['keys'](_0x51b275[_0x5488('0x31')]);_0x267299[_0x5488('0x3a')]=_['intersection'](_0x267299[_0x5488('0x2f')],_0x267299[_0x5488('0x31')]);_0x4d397d[_0x5488('0x33')]=_[_0x5488('0x32')](_0x267299['model'],qs['fields'](_0x51b275['query']['fields']));_0x4d397d[_0x5488('0x33')]=_0x4d397d['attributes'][_0x5488('0x35')]?_0x4d397d[_0x5488('0x33')]:_0x267299[_0x5488('0x2f')];if(_0x51b275[_0x5488('0x31')][_0x5488('0x45')]){_0x4d397d[_0x5488('0x42')]=[{'all':!![]}];}_0x4d397d=_[_0x5488('0x3f')]({},_0x4d397d,_0x51b275[_0x5488('0x40')]);return db[_0x5488('0x2c')][_0x5488('0x46')](_0x4d397d)[_0x5488('0x41')](handleEntityNotFound(_0xb8ce8e,null))[_0x5488('0x41')](respondWithResult(_0xb8ce8e,null))['catch'](handleError(_0xb8ce8e,null));};exports[_0x5488('0x47')]=function(_0x51a94c,_0x3a910a){return db['ZohoField'][_0x5488('0x47')](_0x51a94c[_0x5488('0x48')],{})[_0x5488('0x41')](respondWithResult(_0x3a910a,0xc9))[_0x5488('0x43')](handleError(_0x3a910a,null));};exports[_0x5488('0x24')]=function(_0x4d2635,_0x45b20e){if(_0x4d2635['body']['id']){delete _0x4d2635['body']['id'];}return db[_0x5488('0x2c')][_0x5488('0x46')]({'where':{'id':_0x4d2635['params']['id']}})[_0x5488('0x41')](handleEntityNotFound(_0x45b20e,null))[_0x5488('0x41')](saveUpdates(_0x4d2635[_0x5488('0x48')],null))['then'](respondWithResult(_0x45b20e,null))['catch'](handleError(_0x45b20e,null));};exports[_0x5488('0x25')]=function(_0x4f153a,_0x30ecbb){return db[_0x5488('0x2c')][_0x5488('0x46')]({'where':{'id':_0x4f153a[_0x5488('0x49')]['id']}})[_0x5488('0x41')](handleEntityNotFound(_0x30ecbb,null))[_0x5488('0x41')](removeEntity(_0x30ecbb,null))[_0x5488('0x43')](handleError(_0x30ecbb,null));};
\ No newline at end of file
+var _0x2baf=['undefined','count','offset','Content-Range','apply','reject','save','update','then','destroy','end','error','name','send','index','map','fieldName','type','key','model','keys','intersection','query','fields','attributes','length','hasOwnProperty','nolimit','limit','order','sort','filters','filter','where','VIRTUAL','merge','options','ZohoField','includeAll','include','findAll','catch','show','rawAttributes','find','create','body','params','rimraf','zip-dir','fast-json-patch','request-promise','moment','mustache','sox','to-csv','ejs','fs-extra','lodash','crypto','jsforce','desk.js','querystring','papaparse','ioredis','../../components/auth/service','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../mysqldb','sendStatus','status','json'];(function(_0x3f15c7,_0x1dbf1c){var _0x413706=function(_0x3b31c0){while(--_0x3b31c0){_0x3f15c7['push'](_0x3f15c7['shift']());}};_0x413706(++_0x1dbf1c);}(_0x2baf,0xc8));var _0xf2ba=function(_0x2afbb0,_0x44f16d){_0x2afbb0=_0x2afbb0-0x0;var _0x411ff2=_0x2baf[_0x2afbb0];return _0x411ff2;};'use strict';var emlformat=require('eml-format');var rimraf=require(_0xf2ba('0x0'));var zipdir=require(_0xf2ba('0x1'));var jsonpatch=require(_0xf2ba('0x2'));var rp=require(_0xf2ba('0x3'));var moment=require(_0xf2ba('0x4'));var BPromise=require('bluebird');var Mustache=require(_0xf2ba('0x5'));var util=require('util');var path=require('path');var sox=require(_0xf2ba('0x6'));var csv=require(_0xf2ba('0x7'));var ejs=require(_0xf2ba('0x8'));var fs=require('fs');var fs_extra=require(_0xf2ba('0x9'));var _=require(_0xf2ba('0xa'));var squel=require('squel');var crypto=require(_0xf2ba('0xb'));var jsforce=require(_0xf2ba('0xc'));var deskjs=require(_0xf2ba('0xd'));var toCsv=require(_0xf2ba('0x7'));var querystring=require(_0xf2ba('0xe'));var Papa=require(_0xf2ba('0xf'));var Redis=require(_0xf2ba('0x10'));var authService=require(_0xf2ba('0x11'));var qs=require(_0xf2ba('0x12'));var as=require(_0xf2ba('0x13'));var hardwareService=require(_0xf2ba('0x14'));var logger=require(_0xf2ba('0x15'))(_0xf2ba('0x16'));var utils=require(_0xf2ba('0x17'));var config=require('../../config/environment');var licenseUtil=require('../../config/license/util');var db=require(_0xf2ba('0x18'))['db'];function respondWithStatusCode(_0x101e81,_0x5c6307){_0x5c6307=_0x5c6307||0xcc;return function(_0x34006e){if(_0x34006e){return _0x101e81[_0xf2ba('0x19')](_0x5c6307);}return _0x101e81[_0xf2ba('0x1a')](_0x5c6307)['end']();};}function respondWithResult(_0x3ee056,_0x214430){_0x214430=_0x214430||0xc8;return function(_0x12e446){if(_0x12e446){return _0x3ee056[_0xf2ba('0x1a')](_0x214430)[_0xf2ba('0x1b')](_0x12e446);}};}function respondWithFilteredResult(_0x3499c2,_0x379e42){return function(_0x197ae6){if(_0x197ae6){var _0x16b094=typeof _0x379e42['offset']==='undefined'&&typeof _0x379e42['limit']===_0xf2ba('0x1c');var _0x465e2f=_0x197ae6[_0xf2ba('0x1d')];var _0x2c0bc4=_0x16b094?0x0:_0x379e42[_0xf2ba('0x1e')];var _0x52f53f=_0x16b094?_0x197ae6[_0xf2ba('0x1d')]:_0x379e42[_0xf2ba('0x1e')]+_0x379e42['limit'];var _0x226276;if(_0x52f53f>=_0x465e2f){_0x52f53f=_0x465e2f;_0x226276=0xc8;}else{_0x226276=0xce;}_0x3499c2[_0xf2ba('0x1a')](_0x226276);return _0x3499c2['set'](_0xf2ba('0x1f'),_0x2c0bc4+'-'+_0x52f53f+'/'+_0x465e2f)[_0xf2ba('0x1b')](_0x197ae6);}return null;};}function patchUpdates(_0x5b2724){return function(_0x21ca7e){try{jsonpatch[_0xf2ba('0x20')](_0x21ca7e,_0x5b2724,!![]);}catch(_0x432e80){return BPromise[_0xf2ba('0x21')](_0x432e80);}return _0x21ca7e[_0xf2ba('0x22')]();};}function saveUpdates(_0x505211,_0x3d082){return function(_0x5b8ae6){if(_0x5b8ae6){return _0x5b8ae6[_0xf2ba('0x23')](_0x505211)[_0xf2ba('0x24')](function(_0x599072){return _0x599072;});}return null;};}function removeEntity(_0x5ada32,_0x3de21b){return function(_0x368ffa){if(_0x368ffa){return _0x368ffa[_0xf2ba('0x25')]()[_0xf2ba('0x24')](function(){_0x5ada32[_0xf2ba('0x1a')](0xcc)[_0xf2ba('0x26')]();});}};}function handleEntityNotFound(_0x52f6b1,_0xab07bb){return function(_0x14e2d1){if(!_0x14e2d1){_0x52f6b1[_0xf2ba('0x19')](0x194);}return _0x14e2d1;};}function handleError(_0x50bc4a,_0x486064){_0x486064=_0x486064||0x1f4;return function(_0x151c24){logger[_0xf2ba('0x27')](_0x151c24['stack']);if(_0x151c24[_0xf2ba('0x28')]){delete _0x151c24[_0xf2ba('0x28')];}_0x50bc4a[_0xf2ba('0x1a')](_0x486064)[_0xf2ba('0x29')](_0x151c24);};}exports[_0xf2ba('0x2a')]=function(_0x15d237,_0x24c161){var _0x33adb5={},_0x30164b={},_0x1cd5bd={'count':0x0,'rows':[]};var _0x2b3cc0=_[_0xf2ba('0x2b')](db['ZohoField']['rawAttributes'],function(_0x5bfa95){return{'name':_0x5bfa95[_0xf2ba('0x2c')],'type':_0x5bfa95[_0xf2ba('0x2d')][_0xf2ba('0x2e')]};});_0x30164b[_0xf2ba('0x2f')]=_[_0xf2ba('0x2b')](_0x2b3cc0,'name');_0x30164b['query']=_[_0xf2ba('0x30')](_0x15d237['query']);_0x30164b['filters']=_[_0xf2ba('0x31')](_0x30164b[_0xf2ba('0x2f')],_0x30164b[_0xf2ba('0x32')]);_0x33adb5['attributes']=_[_0xf2ba('0x31')](_0x30164b[_0xf2ba('0x2f')],qs[_0xf2ba('0x33')](_0x15d237[_0xf2ba('0x32')]['fields']));_0x33adb5[_0xf2ba('0x34')]=_0x33adb5['attributes'][_0xf2ba('0x35')]?_0x33adb5[_0xf2ba('0x34')]:_0x30164b[_0xf2ba('0x2f')];if(!_0x15d237[_0xf2ba('0x32')][_0xf2ba('0x36')](_0xf2ba('0x37'))){_0x33adb5[_0xf2ba('0x38')]=qs[_0xf2ba('0x38')](_0x15d237[_0xf2ba('0x32')][_0xf2ba('0x38')]);_0x33adb5[_0xf2ba('0x1e')]=qs[_0xf2ba('0x1e')](_0x15d237[_0xf2ba('0x32')][_0xf2ba('0x1e')]);}_0x33adb5[_0xf2ba('0x39')]=qs[_0xf2ba('0x3a')](_0x15d237[_0xf2ba('0x32')][_0xf2ba('0x3a')]);_0x33adb5['where']=qs[_0xf2ba('0x3b')](_['pick'](_0x15d237[_0xf2ba('0x32')],_0x30164b[_0xf2ba('0x3b')]),_0x2b3cc0);if(_0x15d237['query'][_0xf2ba('0x3c')]){_0x33adb5[_0xf2ba('0x3d')]=_['merge'](_0x33adb5['where'],{'$or':_[_0xf2ba('0x2b')](_0x2b3cc0,function(_0x308210){if(_0x308210['type']!==_0xf2ba('0x3e')){var _0x23d214={};_0x23d214[_0x308210[_0xf2ba('0x28')]]={'$like':'%'+_0x15d237[_0xf2ba('0x32')][_0xf2ba('0x3c')]+'%'};return _0x23d214;}})});}_0x33adb5=_[_0xf2ba('0x3f')]({},_0x33adb5,_0x15d237[_0xf2ba('0x40')]);var _0xe84c42={'where':_0x33adb5[_0xf2ba('0x3d')]};return db[_0xf2ba('0x41')][_0xf2ba('0x1d')](_0xe84c42)[_0xf2ba('0x24')](function(_0x548a81){_0x1cd5bd[_0xf2ba('0x1d')]=_0x548a81;if(_0x15d237[_0xf2ba('0x32')][_0xf2ba('0x42')]){_0x33adb5[_0xf2ba('0x43')]=[{'all':!![]}];}return db[_0xf2ba('0x41')][_0xf2ba('0x44')](_0x33adb5);})[_0xf2ba('0x24')](function(_0x3da6d4){_0x1cd5bd['rows']=_0x3da6d4;return _0x1cd5bd;})[_0xf2ba('0x24')](respondWithFilteredResult(_0x24c161,_0x33adb5))[_0xf2ba('0x45')](handleError(_0x24c161,null));};exports[_0xf2ba('0x46')]=function(_0x461348,_0x4889d3){var _0x1b9999={'raw':!![],'where':{'id':_0x461348['params']['id']}},_0x3252c5={};_0x3252c5[_0xf2ba('0x2f')]=_[_0xf2ba('0x30')](db[_0xf2ba('0x41')][_0xf2ba('0x47')]);_0x3252c5[_0xf2ba('0x32')]=_[_0xf2ba('0x30')](_0x461348['query']);_0x3252c5[_0xf2ba('0x3b')]=_[_0xf2ba('0x31')](_0x3252c5[_0xf2ba('0x2f')],_0x3252c5[_0xf2ba('0x32')]);_0x1b9999[_0xf2ba('0x34')]=_[_0xf2ba('0x31')](_0x3252c5[_0xf2ba('0x2f')],qs[_0xf2ba('0x33')](_0x461348[_0xf2ba('0x32')][_0xf2ba('0x33')]));_0x1b9999[_0xf2ba('0x34')]=_0x1b9999['attributes'][_0xf2ba('0x35')]?_0x1b9999[_0xf2ba('0x34')]:_0x3252c5[_0xf2ba('0x2f')];if(_0x461348['query'][_0xf2ba('0x42')]){_0x1b9999[_0xf2ba('0x43')]=[{'all':!![]}];}_0x1b9999=_['merge']({},_0x1b9999,_0x461348['options']);return db['ZohoField'][_0xf2ba('0x48')](_0x1b9999)[_0xf2ba('0x24')](handleEntityNotFound(_0x4889d3,null))[_0xf2ba('0x24')](respondWithResult(_0x4889d3,null))[_0xf2ba('0x45')](handleError(_0x4889d3,null));};exports['create']=function(_0x55a9d7,_0x2d5ea7){return db['ZohoField'][_0xf2ba('0x49')](_0x55a9d7['body'],{})['then'](respondWithResult(_0x2d5ea7,0xc9))['catch'](handleError(_0x2d5ea7,null));};exports[_0xf2ba('0x23')]=function(_0x493d54,_0x5a3180){if(_0x493d54['body']['id']){delete _0x493d54[_0xf2ba('0x4a')]['id'];}return db[_0xf2ba('0x41')][_0xf2ba('0x48')]({'where':{'id':_0x493d54[_0xf2ba('0x4b')]['id']}})[_0xf2ba('0x24')](handleEntityNotFound(_0x5a3180,null))[_0xf2ba('0x24')](saveUpdates(_0x493d54[_0xf2ba('0x4a')],null))[_0xf2ba('0x24')](respondWithResult(_0x5a3180,null))['catch'](handleError(_0x5a3180,null));};exports[_0xf2ba('0x25')]=function(_0x1f4e4e,_0x139ffd){return db[_0xf2ba('0x41')][_0xf2ba('0x48')]({'where':{'id':_0x1f4e4e[_0xf2ba('0x4b')]['id']}})['then'](handleEntityNotFound(_0x139ffd,null))[_0xf2ba('0x24')](removeEntity(_0x139ffd,null))[_0xf2ba('0x45')](handleError(_0x139ffd,null));};
\ No newline at end of file