Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / intSugarcrmConfiguration / intSugarcrmConfiguration.controller.js
index d94d3b8..ff26489 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc84f=['request\x20sent','debug','SugarcrmConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','SugarcrmConfiguration,\x20%s,\x20%s','message','result','catch','status','end','json','count','offset','limit','Content-Range','apply','reject','update','destroy','sendStatus','stack','name','send','map','SugarcrmConfiguration','fieldName','type','model','query','filters','attributes','intersection','fields','length','hasOwnProperty','nolimit','order','sort','pick','filter','where','merge','VIRTUAL','includeAll','include','findAll','rows','params','keys','rawAttributes','create','body','find','getFields','findOne','SugarcrmField','options','getSubjects','getDescriptions','html-pdf','eml-format','fast-json-patch','moment','bluebird','mustache','path','sox','to-csv','ejs','lodash','crypto','jsforce','desk.js','querystring','ioredis','../../components/parsers/qs','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','../../config/utils','../../mysqldb','jayson/promise','client','Sequelize','ValidationError','The\x20password\x20must\x20be\x20at\x20least\x208\x20characters\x20long\x20and\x20have\x201\x20lowercase\x20character,\x201\x20uppercase\x20character,\x201\x20number\x20and\x201\x20special\x20character\x20~!@#$%^&-_=+[{]}.','then','info'];(function(_0x10942c,_0x2969cb){var _0x5530b0=function(_0x34b22f){while(--_0x34b22f){_0x10942c['push'](_0x10942c['shift']());}};_0x5530b0(++_0x2969cb);}(_0xc84f,0x1a5));var _0xfc84=function(_0x50b10b,_0x21fb33){_0x50b10b=_0x50b10b-0x0;var _0x3e5581=_0xc84f[_0x50b10b];return _0x3e5581;};'use strict';var pdf=require(_0xfc84('0x0'));var emlformat=require(_0xfc84('0x1'));var rimraf=require('rimraf');var zipdir=require('zip-dir');var jsonpatch=require(_0xfc84('0x2'));var rp=require('request-promise');var moment=require(_0xfc84('0x3'));var BPromise=require(_0xfc84('0x4'));var Mustache=require(_0xfc84('0x5'));var util=require('util');var path=require(_0xfc84('0x6'));var sox=require(_0xfc84('0x7'));var csv=require(_0xfc84('0x8'));var ejs=require(_0xfc84('0x9'));var fs=require('fs');var _=require(_0xfc84('0xa'));var squel=require('squel');var crypto=require(_0xfc84('0xb'));var jsforce=require(_0xfc84('0xc'));var deskjs=require(_0xfc84('0xd'));var toCsv=require(_0xfc84('0x8'));var querystring=require(_0xfc84('0xe'));var Papa=require('papaparse');var Redis=require(_0xfc84('0xf'));var authService=require('../../components/auth/service');var qs=require(_0xfc84('0x10'));var as=require(_0xfc84('0x11'));var hardwareService=require(_0xfc84('0x12'));var logger=require(_0xfc84('0x13'))('api');var utils=require(_0xfc84('0x14'));var config=require('../../config/environment');var db=require(_0xfc84('0x15'))['db'];var jayson=require(_0xfc84('0x16'));var client=jayson[_0xfc84('0x17')]['http']({'port':0x232a});function checkPasswordPattern(_0x33197b,_0x373e0d,_0x1bccff){if(_0x1bccff){var _0x25e0ae=new RegExp(/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[?!@#\$%\^&\*~\-_=+[{\]\}])(?=.{8,})/);if(_0x25e0ae['test'](_0x373e0d)){return _0x33197b;}else{throw new db[(_0xfc84('0x18'))][(_0xfc84('0x19'))](_0xfc84('0x1a'));}}else{return _0x33197b;}}function respondWithRpcPromise(_0x550c5d,_0x219a0b,_0x10969a,_0x33bbf6){return new BPromise(function(_0x4bf6ee,_0x410bda){var _0x3f79c7=_0x33bbf6||client;return _0x3f79c7['request'](_0x550c5d,_0x10969a)[_0xfc84('0x1b')](function(_0x55ae09){logger[_0xfc84('0x1c')]('SugarcrmConfiguration,\x20%s,\x20%s',_0x219a0b,_0xfc84('0x1d'));logger[_0xfc84('0x1e')](_0xfc84('0x1f'),_0x219a0b,_0xfc84('0x1d'),JSON[_0xfc84('0x20')](_0x55ae09));if(_0x55ae09[_0xfc84('0x21')]){if(_0x55ae09[_0xfc84('0x21')][_0xfc84('0x22')]===0x1f4){logger['error'](_0xfc84('0x23'),_0x219a0b,_0x55ae09[_0xfc84('0x21')]['message']);return _0x410bda(_0x55ae09[_0xfc84('0x21')]['message']);}logger[_0xfc84('0x21')](_0xfc84('0x23'),_0x219a0b,_0x55ae09['error'][_0xfc84('0x24')]);return _0x4bf6ee(_0x55ae09[_0xfc84('0x21')][_0xfc84('0x24')]);}else{logger[_0xfc84('0x1c')](_0xfc84('0x23'),_0x219a0b,_0xfc84('0x1d'));_0x4bf6ee(_0x55ae09[_0xfc84('0x25')]['message']);}})[_0xfc84('0x26')](function(_0x59abb6){logger[_0xfc84('0x21')](_0xfc84('0x23'),_0x219a0b,_0x59abb6);_0x410bda(_0x59abb6);});});}function respondWithStatusCode(_0x391b4e,_0x2201df){_0x2201df=_0x2201df||0xcc;return function(_0x45b432){if(_0x45b432){return _0x391b4e['sendStatus'](_0x2201df);}return _0x391b4e[_0xfc84('0x27')](_0x2201df)[_0xfc84('0x28')]();};}function respondWithResult(_0x35b2fe,_0x1e0ce0){_0x1e0ce0=_0x1e0ce0||0xc8;return function(_0x2e7e29){if(_0x2e7e29){return _0x35b2fe['status'](_0x1e0ce0)[_0xfc84('0x29')](_0x2e7e29);}};}function respondWithFilteredResult(_0x4d9cdd,_0x2451f8){return function(_0x4d069e){if(_0x4d069e){var _0x3bc6e0=_0x4d069e[_0xfc84('0x2a')],_0x5a4b38=_0x2451f8[_0xfc84('0x2b')],_0x5a3c0d=_0x2451f8[_0xfc84('0x2b')]+_0x2451f8[_0xfc84('0x2c')],_0x4906fd;if(_0x5a3c0d>=_0x3bc6e0){_0x5a3c0d=_0x3bc6e0;_0x4906fd=0xc8;}else{_0x4906fd=0xce;}_0x4d9cdd[_0xfc84('0x27')](_0x4906fd);return _0x4d9cdd['set'](_0xfc84('0x2d'),_0x5a4b38+'-'+_0x5a3c0d+'/'+_0x3bc6e0)['json'](_0x4d069e);}return null;};}function patchUpdates(_0x180bd1){return function(_0x27030e){try{jsonpatch[_0xfc84('0x2e')](_0x27030e,_0x180bd1,!![]);}catch(_0x48adfe){return BPromise[_0xfc84('0x2f')](_0x48adfe);}return _0x27030e['save']();};}function saveUpdates(_0x113038,_0x350591){return function(_0x3c1b59){if(_0x3c1b59){return _0x3c1b59[_0xfc84('0x30')](_0x113038)['then'](function(_0x459cbd){return _0x459cbd;});}return null;};}function removeEntity(_0x314af9,_0x7daa3b){return function(_0x5c2bec){if(_0x5c2bec){return _0x5c2bec[_0xfc84('0x31')]()['then'](function(){_0x314af9[_0xfc84('0x27')](0xcc)[_0xfc84('0x28')]();});}};}function handleEntityNotFound(_0x22dc11,_0x58bc74){return function(_0x32e62){if(!_0x32e62){_0x22dc11[_0xfc84('0x32')](0x194);}return _0x32e62;};}function handleError(_0x112225,_0x4f7d38){_0x4f7d38=_0x4f7d38||0x1f4;return function(_0x51881e){logger['error'](_0x51881e[_0xfc84('0x33')]);if(_0x51881e[_0xfc84('0x34')]){delete _0x51881e[_0xfc84('0x34')];}_0x112225[_0xfc84('0x27')](_0x4f7d38)[_0xfc84('0x35')](_0x51881e);};}exports['index']=function(_0x3f9c23,_0x83447b){var _0xba7d3a={},_0x374ab0={},_0x477e93={'count':0x0,'rows':[]};var _0x1c261e=_[_0xfc84('0x36')](db[_0xfc84('0x37')]['rawAttributes'],function(_0xffa7e7){return{'name':_0xffa7e7[_0xfc84('0x38')],'type':_0xffa7e7[_0xfc84('0x39')]['key']};});_0x374ab0[_0xfc84('0x3a')]=_[_0xfc84('0x36')](_0x1c261e,'name');_0x374ab0['query']=_['keys'](_0x3f9c23[_0xfc84('0x3b')]);_0x374ab0[_0xfc84('0x3c')]=_['intersection'](_0x374ab0[_0xfc84('0x3a')],_0x374ab0[_0xfc84('0x3b')]);_0xba7d3a[_0xfc84('0x3d')]=_[_0xfc84('0x3e')](_0x374ab0[_0xfc84('0x3a')],qs['fields'](_0x3f9c23[_0xfc84('0x3b')][_0xfc84('0x3f')]));_0xba7d3a[_0xfc84('0x3d')]=_0xba7d3a['attributes'][_0xfc84('0x40')]?_0xba7d3a['attributes']:_0x374ab0[_0xfc84('0x3a')];if(!_0x3f9c23['query'][_0xfc84('0x41')](_0xfc84('0x42'))){_0xba7d3a[_0xfc84('0x2c')]=qs[_0xfc84('0x2c')](_0x3f9c23[_0xfc84('0x3b')][_0xfc84('0x2c')]);_0xba7d3a[_0xfc84('0x2b')]=qs[_0xfc84('0x2b')](_0x3f9c23['query'][_0xfc84('0x2b')]);}_0xba7d3a[_0xfc84('0x43')]=qs[_0xfc84('0x44')](_0x3f9c23[_0xfc84('0x3b')][_0xfc84('0x44')]);_0xba7d3a['where']=qs[_0xfc84('0x3c')](_[_0xfc84('0x45')](_0x3f9c23[_0xfc84('0x3b')],_0x374ab0[_0xfc84('0x3c')]));if(_0x3f9c23['query'][_0xfc84('0x46')]){_0xba7d3a[_0xfc84('0x47')]=_[_0xfc84('0x48')](_0xba7d3a[_0xfc84('0x47')],{'$or':_[_0xfc84('0x36')](_0x1c261e,function(_0x5621d5){if(_0x5621d5['type']!==_0xfc84('0x49')){var _0xb790b0={};_0xb790b0[_0x5621d5[_0xfc84('0x34')]]={'$like':'%'+_0x3f9c23[_0xfc84('0x3b')][_0xfc84('0x46')]+'%'};return _0xb790b0;}})});}_0xba7d3a=_[_0xfc84('0x48')]({},_0xba7d3a,_0x3f9c23['options']);var _0x5b1cc8={'where':_0xba7d3a[_0xfc84('0x47')]};return db['SugarcrmConfiguration'][_0xfc84('0x2a')](_0x5b1cc8)[_0xfc84('0x1b')](function(_0x591977){_0x477e93['count']=_0x591977;if(_0x3f9c23[_0xfc84('0x3b')][_0xfc84('0x4a')]){_0xba7d3a[_0xfc84('0x4b')]=[{'all':!![]}];}return db['SugarcrmConfiguration'][_0xfc84('0x4c')](_0xba7d3a);})[_0xfc84('0x1b')](function(_0x2ff809){_0x477e93[_0xfc84('0x4d')]=_0x2ff809;return _0x477e93;})[_0xfc84('0x1b')](respondWithFilteredResult(_0x83447b,_0xba7d3a))[_0xfc84('0x26')](handleError(_0x83447b,null));};exports['show']=function(_0x595ea2,_0x3c762d){var _0x13c92={'raw':![],'where':{'id':_0x595ea2[_0xfc84('0x4e')]['id']}},_0x46699b={};_0x46699b[_0xfc84('0x3a')]=_[_0xfc84('0x4f')](db[_0xfc84('0x37')][_0xfc84('0x50')]);_0x46699b[_0xfc84('0x3b')]=_[_0xfc84('0x4f')](_0x595ea2['query']);_0x46699b[_0xfc84('0x3c')]=_[_0xfc84('0x3e')](_0x46699b[_0xfc84('0x3a')],_0x46699b['query']);_0x13c92[_0xfc84('0x3d')]=_[_0xfc84('0x3e')](_0x46699b[_0xfc84('0x3a')],qs[_0xfc84('0x3f')](_0x595ea2[_0xfc84('0x3b')][_0xfc84('0x3f')]));_0x13c92[_0xfc84('0x3d')]=_0x13c92['attributes'][_0xfc84('0x40')]?_0x13c92[_0xfc84('0x3d')]:_0x46699b[_0xfc84('0x3a')];if(_0x595ea2[_0xfc84('0x3b')][_0xfc84('0x4a')]){_0x13c92['include']=[{'all':!![]}];}_0x13c92=_['merge']({},_0x13c92,_0x595ea2['options']);return db[_0xfc84('0x37')]['find'](_0x13c92)[_0xfc84('0x1b')](handleEntityNotFound(_0x3c762d,null))[_0xfc84('0x1b')](respondWithResult(_0x3c762d,null))[_0xfc84('0x26')](handleError(_0x3c762d,null));};exports[_0xfc84('0x51')]=function(_0x2f8585,_0x308d61){return db[_0xfc84('0x37')]['create'](_0x2f8585[_0xfc84('0x52')],{})['then'](respondWithResult(_0x308d61,0xc9))[_0xfc84('0x26')](handleError(_0x308d61,null));};exports[_0xfc84('0x30')]=function(_0xf365ab,_0x44ff5d){if(_0xf365ab['body']['id']){delete _0xf365ab[_0xfc84('0x52')]['id'];}return db['SugarcrmConfiguration'][_0xfc84('0x53')]({'where':{'id':_0xf365ab[_0xfc84('0x4e')]['id']}})['then'](handleEntityNotFound(_0x44ff5d,null))[_0xfc84('0x1b')](saveUpdates(_0xf365ab['body'],null))['then'](respondWithResult(_0x44ff5d,null))[_0xfc84('0x26')](handleError(_0x44ff5d,null));};exports[_0xfc84('0x31')]=function(_0x43ee0f,_0x299b73){return db[_0xfc84('0x37')][_0xfc84('0x53')]({'where':{'id':_0x43ee0f['params']['id']}})[_0xfc84('0x1b')](handleEntityNotFound(_0x299b73,null))[_0xfc84('0x1b')](removeEntity(_0x299b73,null))[_0xfc84('0x26')](handleError(_0x299b73,null));};exports[_0xfc84('0x54')]=function(_0x1d4473,_0x79dc4,_0x4f05d3){var _0x1e1494={};var _0x5f3d12={};var _0x5b8b6f;var _0xe52ffb;return db[_0xfc84('0x37')][_0xfc84('0x55')]({'where':{'id':_0x1d4473[_0xfc84('0x4e')]['id']}})[_0xfc84('0x1b')](handleEntityNotFound(_0x79dc4,null))['then'](function(_0x505deb){if(_0x505deb){_0x5b8b6f=_0x505deb;_0x5f3d12['model']=_[_0xfc84('0x4f')](db[_0xfc84('0x56')]['rawAttributes']);_0x5f3d12[_0xfc84('0x3b')]=_[_0xfc84('0x4f')](_0x1d4473[_0xfc84('0x3b')]);_0x5f3d12[_0xfc84('0x3c')]=_[_0xfc84('0x3e')](_0x5f3d12[_0xfc84('0x3a')],_0x5f3d12[_0xfc84('0x3b')]);_0x1e1494[_0xfc84('0x3d')]=_[_0xfc84('0x3e')](_0x5f3d12[_0xfc84('0x3a')],qs[_0xfc84('0x3f')](_0x1d4473[_0xfc84('0x3b')][_0xfc84('0x3f')]));_0x1e1494[_0xfc84('0x3d')]=_0x1e1494[_0xfc84('0x3d')]['length']?_0x1e1494[_0xfc84('0x3d')]:_0x5f3d12['model'];_0x1e1494[_0xfc84('0x43')]=qs[_0xfc84('0x44')](_0x1d4473['query']['sort']);_0x1e1494['where']=qs[_0xfc84('0x3c')](_[_0xfc84('0x45')](_0x1d4473['query'],_0x5f3d12[_0xfc84('0x3c')]));if(_0x1d4473[_0xfc84('0x3b')][_0xfc84('0x46')]){_0x1e1494['where']=_[_0xfc84('0x48')](_0x1e1494[_0xfc84('0x47')],{'$or':_[_0xfc84('0x36')](_0x1e1494[_0xfc84('0x3d')],function(_0x5540b0){var _0x42c62e={};_0x42c62e[_0x5540b0]={'$like':'%'+_0x1d4473['query']['filter']+'%'};return _0x42c62e;})});}_0x1e1494=_[_0xfc84('0x48')]({},_0x1e1494,_0x1d4473[_0xfc84('0x57')]);return _0x5b8b6f[_0xfc84('0x54')](_0x1e1494);}})[_0xfc84('0x1b')](function(_0x4820ca){if(_0x4820ca){_0xe52ffb=_0x4820ca['length'];if(!_0x1d4473['query']['hasOwnProperty'](_0xfc84('0x42'))){_0x1e1494[_0xfc84('0x2c')]=qs['limit'](_0x1d4473[_0xfc84('0x3b')][_0xfc84('0x2c')]);_0x1e1494[_0xfc84('0x2b')]=qs['offset'](_0x1d4473['query']['offset']);}return _0x5b8b6f[_0xfc84('0x54')](_0x1e1494);}})[_0xfc84('0x1b')](function(_0x23b1a5){if(_0x23b1a5){return _0x23b1a5?{'count':_0xe52ffb,'rows':_0x23b1a5}:null;}})[_0xfc84('0x1b')](respondWithResult(_0x79dc4,null))[_0xfc84('0x26')](handleError(_0x79dc4,null));};exports[_0xfc84('0x58')]=function(_0x525cea,_0x2e23dc,_0x49bc3a){var _0x345e12={};var _0x488913={};var _0x41ea23;var _0xd963b0;return db['SugarcrmConfiguration']['findOne']({'where':{'id':_0x525cea[_0xfc84('0x4e')]['id']}})[_0xfc84('0x1b')](handleEntityNotFound(_0x2e23dc,null))[_0xfc84('0x1b')](function(_0x1cfd03){if(_0x1cfd03){_0x41ea23=_0x1cfd03;_0x488913['model']=_['keys'](db['SugarcrmField']['rawAttributes']);_0x488913[_0xfc84('0x3b')]=_[_0xfc84('0x4f')](_0x525cea['query']);_0x488913[_0xfc84('0x3c')]=_[_0xfc84('0x3e')](_0x488913[_0xfc84('0x3a')],_0x488913[_0xfc84('0x3b')]);_0x345e12[_0xfc84('0x3d')]=_[_0xfc84('0x3e')](_0x488913['model'],qs[_0xfc84('0x3f')](_0x525cea['query']['fields']));_0x345e12[_0xfc84('0x3d')]=_0x345e12[_0xfc84('0x3d')][_0xfc84('0x40')]?_0x345e12[_0xfc84('0x3d')]:_0x488913[_0xfc84('0x3a')];_0x345e12[_0xfc84('0x43')]=qs[_0xfc84('0x44')](_0x525cea[_0xfc84('0x3b')][_0xfc84('0x44')]);_0x345e12[_0xfc84('0x47')]=qs[_0xfc84('0x3c')](_['pick'](_0x525cea[_0xfc84('0x3b')],_0x488913['filters']));if(_0x525cea[_0xfc84('0x3b')][_0xfc84('0x46')]){_0x345e12[_0xfc84('0x47')]=_[_0xfc84('0x48')](_0x345e12['where'],{'$or':_[_0xfc84('0x36')](_0x345e12[_0xfc84('0x3d')],function(_0x1856d0){var _0x3ba069={};_0x3ba069[_0x1856d0]={'$like':'%'+_0x525cea['query']['filter']+'%'};return _0x3ba069;})});}_0x345e12=_[_0xfc84('0x48')]({},_0x345e12,_0x525cea[_0xfc84('0x57')]);return _0x41ea23['getSubjects'](_0x345e12);}})['then'](function(_0x42ce61){if(_0x42ce61){_0xd963b0=_0x42ce61[_0xfc84('0x40')];if(!_0x525cea[_0xfc84('0x3b')][_0xfc84('0x41')](_0xfc84('0x42'))){_0x345e12['limit']=qs['limit'](_0x525cea[_0xfc84('0x3b')][_0xfc84('0x2c')]);_0x345e12[_0xfc84('0x2b')]=qs[_0xfc84('0x2b')](_0x525cea[_0xfc84('0x3b')][_0xfc84('0x2b')]);}return _0x41ea23[_0xfc84('0x58')](_0x345e12);}})['then'](function(_0x36654a){if(_0x36654a){return _0x36654a?{'count':_0xd963b0,'rows':_0x36654a}:null;}})['then'](respondWithResult(_0x2e23dc,null))[_0xfc84('0x26')](handleError(_0x2e23dc,null));};exports[_0xfc84('0x59')]=function(_0x43c9c2,_0x5bc5e0,_0x179128){var _0x30766a={};var _0x1bae6b={};var _0x571a80;var _0x32aceb;return db[_0xfc84('0x37')]['findOne']({'where':{'id':_0x43c9c2[_0xfc84('0x4e')]['id']}})[_0xfc84('0x1b')](handleEntityNotFound(_0x5bc5e0,null))[_0xfc84('0x1b')](function(_0x440be5){if(_0x440be5){_0x571a80=_0x440be5;_0x1bae6b[_0xfc84('0x3a')]=_['keys'](db[_0xfc84('0x56')][_0xfc84('0x50')]);_0x1bae6b['query']=_[_0xfc84('0x4f')](_0x43c9c2[_0xfc84('0x3b')]);_0x1bae6b[_0xfc84('0x3c')]=_[_0xfc84('0x3e')](_0x1bae6b[_0xfc84('0x3a')],_0x1bae6b[_0xfc84('0x3b')]);_0x30766a[_0xfc84('0x3d')]=_['intersection'](_0x1bae6b[_0xfc84('0x3a')],qs[_0xfc84('0x3f')](_0x43c9c2[_0xfc84('0x3b')][_0xfc84('0x3f')]));_0x30766a[_0xfc84('0x3d')]=_0x30766a['attributes']['length']?_0x30766a[_0xfc84('0x3d')]:_0x1bae6b[_0xfc84('0x3a')];_0x30766a[_0xfc84('0x43')]=qs[_0xfc84('0x44')](_0x43c9c2[_0xfc84('0x3b')]['sort']);_0x30766a[_0xfc84('0x47')]=qs[_0xfc84('0x3c')](_[_0xfc84('0x45')](_0x43c9c2[_0xfc84('0x3b')],_0x1bae6b['filters']));if(_0x43c9c2[_0xfc84('0x3b')][_0xfc84('0x46')]){_0x30766a[_0xfc84('0x47')]=_[_0xfc84('0x48')](_0x30766a['where'],{'$or':_['map'](_0x30766a[_0xfc84('0x3d')],function(_0x15a2f3){var _0x1a76f0={};_0x1a76f0[_0x15a2f3]={'$like':'%'+_0x43c9c2[_0xfc84('0x3b')][_0xfc84('0x46')]+'%'};return _0x1a76f0;})});}_0x30766a=_[_0xfc84('0x48')]({},_0x30766a,_0x43c9c2[_0xfc84('0x57')]);return _0x571a80[_0xfc84('0x59')](_0x30766a);}})['then'](function(_0xb5a450){if(_0xb5a450){_0x32aceb=_0xb5a450['length'];if(!_0x43c9c2[_0xfc84('0x3b')]['hasOwnProperty'](_0xfc84('0x42'))){_0x30766a[_0xfc84('0x2c')]=qs[_0xfc84('0x2c')](_0x43c9c2['query'][_0xfc84('0x2c')]);_0x30766a[_0xfc84('0x2b')]=qs[_0xfc84('0x2b')](_0x43c9c2['query']['offset']);}return _0x571a80[_0xfc84('0x59')](_0x30766a);}})[_0xfc84('0x1b')](function(_0x16883f){if(_0x16883f){return _0x16883f?{'count':_0x32aceb,'rows':_0x16883f}:null;}})[_0xfc84('0x1b')](respondWithResult(_0x5bc5e0,null))[_0xfc84('0x26')](handleError(_0x5bc5e0,null));};
\ No newline at end of file
+var _0xf428=['../../config/license/util','../../mysqldb','client','request','then','info','SugarcrmConfiguration,\x20%s,\x20%s','request\x20sent','debug','SugarcrmConfiguration,\x20%s,\x20%s,\x20%s','stringify','error','code','message','catch','sendStatus','end','status','json','count','offset','set','Content-Range','destroy','stack','index','map','SugarcrmConfiguration','rawAttributes','type','model','keys','query','filters','attributes','intersection','fields','length','hasOwnProperty','limit','sort','where','filter','merge','VIRTUAL','options','includeAll','include','rows','show','params','create','body','update','find','getFields','findOne','SugarcrmField','order','pick','nolimit','getSubjects','getDescriptions','html-pdf','eml-format','rimraf','fast-json-patch','request-promise','moment','bluebird','mustache','path','ejs','lodash','squel','crypto','desk.js','to-csv','querystring','papaparse','ioredis','../../components/parsers/advancedSearch','../../config/license/hardware','../../config/logger','api','../../config/utils','../../config/environment'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xf428,0x1f2));var _0x8f42=function(_0xd86b32,_0x3c525a){_0xd86b32=_0xd86b32-0x0;var _0x455841=_0xf428[_0xd86b32];return _0x455841;};'use strict';var pdf=require(_0x8f42('0x0'));var emlformat=require(_0x8f42('0x1'));var rimraf=require(_0x8f42('0x2'));var zipdir=require('zip-dir');var jsonpatch=require(_0x8f42('0x3'));var rp=require(_0x8f42('0x4'));var moment=require(_0x8f42('0x5'));var BPromise=require(_0x8f42('0x6'));var Mustache=require(_0x8f42('0x7'));var util=require('util');var path=require(_0x8f42('0x8'));var sox=require('sox');var csv=require('to-csv');var ejs=require(_0x8f42('0x9'));var fs=require('fs');var _=require(_0x8f42('0xa'));var squel=require(_0x8f42('0xb'));var crypto=require(_0x8f42('0xc'));var jsforce=require('jsforce');var deskjs=require(_0x8f42('0xd'));var toCsv=require(_0x8f42('0xe'));var querystring=require(_0x8f42('0xf'));var Papa=require(_0x8f42('0x10'));var Redis=require(_0x8f42('0x11'));var authService=require('../../components/auth/service');var qs=require('../../components/parsers/qs');var as=require(_0x8f42('0x12'));var hardwareService=require(_0x8f42('0x13'));var logger=require(_0x8f42('0x14'))(_0x8f42('0x15'));var utils=require(_0x8f42('0x16'));var config=require(_0x8f42('0x17'));var licenseUtil=require(_0x8f42('0x18'));var db=require(_0x8f42('0x19'))['db'];var jayson=require('jayson/promise');var client=jayson[_0x8f42('0x1a')]['http']({'port':0x232a});function respondWithRpcPromise(_0x1f00ca,_0x4f94ad,_0x52b450,_0x2d422e){return new BPromise(function(_0x11342d,_0x544771){var _0x1b5e3d=_0x2d422e||client;return _0x1b5e3d[_0x8f42('0x1b')](_0x1f00ca,_0x52b450)[_0x8f42('0x1c')](function(_0x3e82c2){logger[_0x8f42('0x1d')](_0x8f42('0x1e'),_0x4f94ad,_0x8f42('0x1f'));logger[_0x8f42('0x20')](_0x8f42('0x21'),_0x4f94ad,'request\x20sent',JSON[_0x8f42('0x22')](_0x3e82c2));if(_0x3e82c2[_0x8f42('0x23')]){if(_0x3e82c2['error'][_0x8f42('0x24')]===0x1f4){logger[_0x8f42('0x23')](_0x8f42('0x1e'),_0x4f94ad,_0x3e82c2[_0x8f42('0x23')]['message']);return _0x544771(_0x3e82c2[_0x8f42('0x23')][_0x8f42('0x25')]);}logger[_0x8f42('0x23')](_0x8f42('0x1e'),_0x4f94ad,_0x3e82c2[_0x8f42('0x23')][_0x8f42('0x25')]);return _0x11342d(_0x3e82c2[_0x8f42('0x23')][_0x8f42('0x25')]);}else{logger[_0x8f42('0x1d')](_0x8f42('0x1e'),_0x4f94ad,_0x8f42('0x1f'));_0x11342d(_0x3e82c2['result'][_0x8f42('0x25')]);}})[_0x8f42('0x26')](function(_0x1d83ea){logger[_0x8f42('0x23')]('SugarcrmConfiguration,\x20%s,\x20%s',_0x4f94ad,_0x1d83ea);_0x544771(_0x1d83ea);});});}function respondWithStatusCode(_0x2b70,_0x32669d){_0x32669d=_0x32669d||0xcc;return function(_0x123671){if(_0x123671){return _0x2b70[_0x8f42('0x27')](_0x32669d);}return _0x2b70['status'](_0x32669d)[_0x8f42('0x28')]();};}function respondWithResult(_0x3e8a3b,_0x2e3c58){_0x2e3c58=_0x2e3c58||0xc8;return function(_0x431761){if(_0x431761){return _0x3e8a3b[_0x8f42('0x29')](_0x2e3c58)[_0x8f42('0x2a')](_0x431761);}};}function respondWithFilteredResult(_0x5dbd3a,_0x315b47){return function(_0x48eae0){if(_0x48eae0){var _0x3854ef=_0x48eae0[_0x8f42('0x2b')],_0x1955ab=_0x315b47[_0x8f42('0x2c')],_0x548b4a=_0x315b47['offset']+_0x315b47['limit'],_0xe542ed;if(_0x548b4a>=_0x3854ef){_0x548b4a=_0x3854ef;_0xe542ed=0xc8;}else{_0xe542ed=0xce;}_0x5dbd3a['status'](_0xe542ed);return _0x5dbd3a[_0x8f42('0x2d')](_0x8f42('0x2e'),_0x1955ab+'-'+_0x548b4a+'/'+_0x3854ef)[_0x8f42('0x2a')](_0x48eae0);}return null;};}function patchUpdates(_0x40d77e){return function(_0x4a00a8){try{jsonpatch['apply'](_0x4a00a8,_0x40d77e,!![]);}catch(_0x47f181){return BPromise['reject'](_0x47f181);}return _0x4a00a8['save']();};}function saveUpdates(_0xb71c04,_0x11be0f){return function(_0x14dc97){if(_0x14dc97){return _0x14dc97['update'](_0xb71c04)[_0x8f42('0x1c')](function(_0x45e637){return _0x45e637;});}return null;};}function removeEntity(_0x3a0bd6,_0x3daf1d){return function(_0x49b74c){if(_0x49b74c){return _0x49b74c[_0x8f42('0x2f')]()[_0x8f42('0x1c')](function(){_0x3a0bd6[_0x8f42('0x29')](0xcc)[_0x8f42('0x28')]();});}};}function handleEntityNotFound(_0x4d3858,_0x458d63){return function(_0x254afd){if(!_0x254afd){_0x4d3858['sendStatus'](0x194);}return _0x254afd;};}function handleError(_0x271de9,_0x37ef30){_0x37ef30=_0x37ef30||0x1f4;return function(_0x43b6f5){logger[_0x8f42('0x23')](_0x43b6f5[_0x8f42('0x30')]);if(_0x43b6f5['name']){delete _0x43b6f5['name'];}_0x271de9[_0x8f42('0x29')](_0x37ef30)['send'](_0x43b6f5);};}exports[_0x8f42('0x31')]=function(_0x48df3e,_0x47a4dc){var _0x5740b8={},_0x49d741={},_0x23e0e8={'count':0x0,'rows':[]};var _0x1bae7f=_[_0x8f42('0x32')](db[_0x8f42('0x33')][_0x8f42('0x34')],function(_0x32fb35){return{'name':_0x32fb35['fieldName'],'type':_0x32fb35[_0x8f42('0x35')]['key']};});_0x49d741[_0x8f42('0x36')]=_['map'](_0x1bae7f,'name');_0x49d741['query']=_[_0x8f42('0x37')](_0x48df3e[_0x8f42('0x38')]);_0x49d741[_0x8f42('0x39')]=_['intersection'](_0x49d741[_0x8f42('0x36')],_0x49d741['query']);_0x5740b8[_0x8f42('0x3a')]=_[_0x8f42('0x3b')](_0x49d741['model'],qs[_0x8f42('0x3c')](_0x48df3e['query'][_0x8f42('0x3c')]));_0x5740b8[_0x8f42('0x3a')]=_0x5740b8['attributes'][_0x8f42('0x3d')]?_0x5740b8[_0x8f42('0x3a')]:_0x49d741['model'];if(!_0x48df3e[_0x8f42('0x38')][_0x8f42('0x3e')]('nolimit')){_0x5740b8[_0x8f42('0x3f')]=qs[_0x8f42('0x3f')](_0x48df3e[_0x8f42('0x38')][_0x8f42('0x3f')]);_0x5740b8[_0x8f42('0x2c')]=qs[_0x8f42('0x2c')](_0x48df3e['query'][_0x8f42('0x2c')]);}_0x5740b8['order']=qs[_0x8f42('0x40')](_0x48df3e[_0x8f42('0x38')][_0x8f42('0x40')]);_0x5740b8[_0x8f42('0x41')]=qs[_0x8f42('0x39')](_['pick'](_0x48df3e[_0x8f42('0x38')],_0x49d741[_0x8f42('0x39')]),_0x1bae7f);if(_0x48df3e['query'][_0x8f42('0x42')]){_0x5740b8[_0x8f42('0x41')]=_[_0x8f42('0x43')](_0x5740b8[_0x8f42('0x41')],{'$or':_[_0x8f42('0x32')](_0x1bae7f,function(_0x4372ca){if(_0x4372ca[_0x8f42('0x35')]!==_0x8f42('0x44')){var _0x33a57e={};_0x33a57e[_0x4372ca['name']]={'$like':'%'+_0x48df3e[_0x8f42('0x38')]['filter']+'%'};return _0x33a57e;}})});}_0x5740b8=_[_0x8f42('0x43')]({},_0x5740b8,_0x48df3e[_0x8f42('0x45')]);var _0x1c6a05={'where':_0x5740b8[_0x8f42('0x41')]};return db['SugarcrmConfiguration'][_0x8f42('0x2b')](_0x1c6a05)[_0x8f42('0x1c')](function(_0x35a5c7){_0x23e0e8[_0x8f42('0x2b')]=_0x35a5c7;if(_0x48df3e[_0x8f42('0x38')][_0x8f42('0x46')]){_0x5740b8[_0x8f42('0x47')]=[{'all':!![]}];}return db[_0x8f42('0x33')]['findAll'](_0x5740b8);})[_0x8f42('0x1c')](function(_0x15c62b){_0x23e0e8[_0x8f42('0x48')]=_0x15c62b;return _0x23e0e8;})[_0x8f42('0x1c')](respondWithFilteredResult(_0x47a4dc,_0x5740b8))[_0x8f42('0x26')](handleError(_0x47a4dc,null));};exports[_0x8f42('0x49')]=function(_0x3f2af2,_0x3ef3e1){var _0x2ac359={'raw':![],'where':{'id':_0x3f2af2[_0x8f42('0x4a')]['id']}},_0x1d1fd0={};_0x1d1fd0[_0x8f42('0x36')]=_['keys'](db[_0x8f42('0x33')][_0x8f42('0x34')]);_0x1d1fd0[_0x8f42('0x38')]=_[_0x8f42('0x37')](_0x3f2af2[_0x8f42('0x38')]);_0x1d1fd0[_0x8f42('0x39')]=_[_0x8f42('0x3b')](_0x1d1fd0[_0x8f42('0x36')],_0x1d1fd0['query']);_0x2ac359[_0x8f42('0x3a')]=_['intersection'](_0x1d1fd0[_0x8f42('0x36')],qs[_0x8f42('0x3c')](_0x3f2af2['query'][_0x8f42('0x3c')]));_0x2ac359[_0x8f42('0x3a')]=_0x2ac359[_0x8f42('0x3a')]['length']?_0x2ac359[_0x8f42('0x3a')]:_0x1d1fd0[_0x8f42('0x36')];if(_0x3f2af2[_0x8f42('0x38')][_0x8f42('0x46')]){_0x2ac359[_0x8f42('0x47')]=[{'all':!![]}];}_0x2ac359=_[_0x8f42('0x43')]({},_0x2ac359,_0x3f2af2['options']);return db[_0x8f42('0x33')]['find'](_0x2ac359)[_0x8f42('0x1c')](handleEntityNotFound(_0x3ef3e1,null))[_0x8f42('0x1c')](respondWithResult(_0x3ef3e1,null))[_0x8f42('0x26')](handleError(_0x3ef3e1,null));};exports[_0x8f42('0x4b')]=function(_0x6a58d8,_0x2e8f79){return db['SugarcrmConfiguration'][_0x8f42('0x4b')](_0x6a58d8[_0x8f42('0x4c')],{})[_0x8f42('0x1c')](respondWithResult(_0x2e8f79,0xc9))['catch'](handleError(_0x2e8f79,null));};exports[_0x8f42('0x4d')]=function(_0x3f2832,_0x23c551){if(_0x3f2832[_0x8f42('0x4c')]['id']){delete _0x3f2832[_0x8f42('0x4c')]['id'];}return db[_0x8f42('0x33')][_0x8f42('0x4e')]({'where':{'id':_0x3f2832[_0x8f42('0x4a')]['id']}})['then'](handleEntityNotFound(_0x23c551,null))[_0x8f42('0x1c')](saveUpdates(_0x3f2832[_0x8f42('0x4c')],null))[_0x8f42('0x1c')](respondWithResult(_0x23c551,null))[_0x8f42('0x26')](handleError(_0x23c551,null));};exports[_0x8f42('0x2f')]=function(_0x19133f,_0x13e50a){return db['SugarcrmConfiguration'][_0x8f42('0x4e')]({'where':{'id':_0x19133f[_0x8f42('0x4a')]['id']}})[_0x8f42('0x1c')](handleEntityNotFound(_0x13e50a,null))[_0x8f42('0x1c')](removeEntity(_0x13e50a,null))[_0x8f42('0x26')](handleError(_0x13e50a,null));};exports[_0x8f42('0x4f')]=function(_0x141d03,_0x532b18,_0xea79bb){var _0x2aaa9e={};var _0x37b533={};var _0x43c10a;var _0x2b8db5;return db[_0x8f42('0x33')][_0x8f42('0x50')]({'where':{'id':_0x141d03[_0x8f42('0x4a')]['id']}})[_0x8f42('0x1c')](handleEntityNotFound(_0x532b18,null))[_0x8f42('0x1c')](function(_0x33c11a){if(_0x33c11a){_0x43c10a=_0x33c11a;_0x37b533[_0x8f42('0x36')]=_[_0x8f42('0x37')](db[_0x8f42('0x51')][_0x8f42('0x34')]);_0x37b533['query']=_[_0x8f42('0x37')](_0x141d03['query']);_0x37b533[_0x8f42('0x39')]=_[_0x8f42('0x3b')](_0x37b533[_0x8f42('0x36')],_0x37b533[_0x8f42('0x38')]);_0x2aaa9e[_0x8f42('0x3a')]=_[_0x8f42('0x3b')](_0x37b533[_0x8f42('0x36')],qs[_0x8f42('0x3c')](_0x141d03[_0x8f42('0x38')][_0x8f42('0x3c')]));_0x2aaa9e[_0x8f42('0x3a')]=_0x2aaa9e[_0x8f42('0x3a')][_0x8f42('0x3d')]?_0x2aaa9e[_0x8f42('0x3a')]:_0x37b533[_0x8f42('0x36')];_0x2aaa9e[_0x8f42('0x52')]=qs[_0x8f42('0x40')](_0x141d03[_0x8f42('0x38')][_0x8f42('0x40')]);_0x2aaa9e[_0x8f42('0x41')]=qs[_0x8f42('0x39')](_[_0x8f42('0x53')](_0x141d03['query'],_0x37b533['filters']));if(_0x141d03[_0x8f42('0x38')][_0x8f42('0x42')]){_0x2aaa9e[_0x8f42('0x41')]=_['merge'](_0x2aaa9e[_0x8f42('0x41')],{'$or':_[_0x8f42('0x32')](_0x2aaa9e[_0x8f42('0x3a')],function(_0x4128ec){var _0x1f209e={};_0x1f209e[_0x4128ec]={'$like':'%'+_0x141d03[_0x8f42('0x38')][_0x8f42('0x42')]+'%'};return _0x1f209e;})});}_0x2aaa9e=_[_0x8f42('0x43')]({},_0x2aaa9e,_0x141d03[_0x8f42('0x45')]);return _0x43c10a[_0x8f42('0x4f')](_0x2aaa9e);}})[_0x8f42('0x1c')](function(_0x144c8f){if(_0x144c8f){_0x2b8db5=_0x144c8f[_0x8f42('0x3d')];if(!_0x141d03['query']['hasOwnProperty'](_0x8f42('0x54'))){_0x2aaa9e['limit']=qs[_0x8f42('0x3f')](_0x141d03[_0x8f42('0x38')]['limit']);_0x2aaa9e['offset']=qs[_0x8f42('0x2c')](_0x141d03[_0x8f42('0x38')][_0x8f42('0x2c')]);}return _0x43c10a['getFields'](_0x2aaa9e);}})['then'](function(_0x374bfd){if(_0x374bfd){return _0x374bfd?{'count':_0x2b8db5,'rows':_0x374bfd}:null;}})[_0x8f42('0x1c')](respondWithResult(_0x532b18,null))[_0x8f42('0x26')](handleError(_0x532b18,null));};exports[_0x8f42('0x55')]=function(_0x33f7a7,_0xf27c06,_0x2d842f){var _0x4d9915={};var _0x5bf018={};var _0xaf214b;var _0x2f2efb;return db[_0x8f42('0x33')][_0x8f42('0x50')]({'where':{'id':_0x33f7a7[_0x8f42('0x4a')]['id']}})[_0x8f42('0x1c')](handleEntityNotFound(_0xf27c06,null))['then'](function(_0x2b9c72){if(_0x2b9c72){_0xaf214b=_0x2b9c72;_0x5bf018[_0x8f42('0x36')]=_[_0x8f42('0x37')](db[_0x8f42('0x51')][_0x8f42('0x34')]);_0x5bf018['query']=_[_0x8f42('0x37')](_0x33f7a7[_0x8f42('0x38')]);_0x5bf018[_0x8f42('0x39')]=_['intersection'](_0x5bf018[_0x8f42('0x36')],_0x5bf018['query']);_0x4d9915['attributes']=_[_0x8f42('0x3b')](_0x5bf018[_0x8f42('0x36')],qs[_0x8f42('0x3c')](_0x33f7a7[_0x8f42('0x38')]['fields']));_0x4d9915[_0x8f42('0x3a')]=_0x4d9915[_0x8f42('0x3a')]['length']?_0x4d9915['attributes']:_0x5bf018[_0x8f42('0x36')];_0x4d9915[_0x8f42('0x52')]=qs[_0x8f42('0x40')](_0x33f7a7['query'][_0x8f42('0x40')]);_0x4d9915['where']=qs[_0x8f42('0x39')](_[_0x8f42('0x53')](_0x33f7a7[_0x8f42('0x38')],_0x5bf018['filters']));if(_0x33f7a7[_0x8f42('0x38')]['filter']){_0x4d9915['where']=_[_0x8f42('0x43')](_0x4d9915[_0x8f42('0x41')],{'$or':_[_0x8f42('0x32')](_0x4d9915[_0x8f42('0x3a')],function(_0x327d5f){var _0x351c2e={};_0x351c2e[_0x327d5f]={'$like':'%'+_0x33f7a7[_0x8f42('0x38')][_0x8f42('0x42')]+'%'};return _0x351c2e;})});}_0x4d9915=_['merge']({},_0x4d9915,_0x33f7a7[_0x8f42('0x45')]);return _0xaf214b[_0x8f42('0x55')](_0x4d9915);}})[_0x8f42('0x1c')](function(_0x5dff48){if(_0x5dff48){_0x2f2efb=_0x5dff48[_0x8f42('0x3d')];if(!_0x33f7a7['query']['hasOwnProperty'](_0x8f42('0x54'))){_0x4d9915['limit']=qs['limit'](_0x33f7a7[_0x8f42('0x38')][_0x8f42('0x3f')]);_0x4d9915[_0x8f42('0x2c')]=qs[_0x8f42('0x2c')](_0x33f7a7[_0x8f42('0x38')][_0x8f42('0x2c')]);}return _0xaf214b[_0x8f42('0x55')](_0x4d9915);}})[_0x8f42('0x1c')](function(_0x1fb013){if(_0x1fb013){return _0x1fb013?{'count':_0x2f2efb,'rows':_0x1fb013}:null;}})[_0x8f42('0x1c')](respondWithResult(_0xf27c06,null))[_0x8f42('0x26')](handleError(_0xf27c06,null));};exports[_0x8f42('0x56')]=function(_0x5c5b1c,_0x4ca880,_0x404b3b){var _0x766bc6={};var _0x563706={};var _0x387170;var _0x4778ff;return db['SugarcrmConfiguration'][_0x8f42('0x50')]({'where':{'id':_0x5c5b1c[_0x8f42('0x4a')]['id']}})[_0x8f42('0x1c')](handleEntityNotFound(_0x4ca880,null))[_0x8f42('0x1c')](function(_0x12d138){if(_0x12d138){_0x387170=_0x12d138;_0x563706[_0x8f42('0x36')]=_[_0x8f42('0x37')](db[_0x8f42('0x51')]['rawAttributes']);_0x563706['query']=_[_0x8f42('0x37')](_0x5c5b1c[_0x8f42('0x38')]);_0x563706[_0x8f42('0x39')]=_['intersection'](_0x563706[_0x8f42('0x36')],_0x563706[_0x8f42('0x38')]);_0x766bc6[_0x8f42('0x3a')]=_[_0x8f42('0x3b')](_0x563706[_0x8f42('0x36')],qs['fields'](_0x5c5b1c[_0x8f42('0x38')][_0x8f42('0x3c')]));_0x766bc6[_0x8f42('0x3a')]=_0x766bc6[_0x8f42('0x3a')]['length']?_0x766bc6[_0x8f42('0x3a')]:_0x563706[_0x8f42('0x36')];_0x766bc6[_0x8f42('0x52')]=qs[_0x8f42('0x40')](_0x5c5b1c['query'][_0x8f42('0x40')]);_0x766bc6[_0x8f42('0x41')]=qs[_0x8f42('0x39')](_[_0x8f42('0x53')](_0x5c5b1c[_0x8f42('0x38')],_0x563706['filters']));if(_0x5c5b1c[_0x8f42('0x38')][_0x8f42('0x42')]){_0x766bc6[_0x8f42('0x41')]=_[_0x8f42('0x43')](_0x766bc6[_0x8f42('0x41')],{'$or':_[_0x8f42('0x32')](_0x766bc6[_0x8f42('0x3a')],function(_0x1b526e){var _0x324197={};_0x324197[_0x1b526e]={'$like':'%'+_0x5c5b1c['query'][_0x8f42('0x42')]+'%'};return _0x324197;})});}_0x766bc6=_[_0x8f42('0x43')]({},_0x766bc6,_0x5c5b1c[_0x8f42('0x45')]);return _0x387170[_0x8f42('0x56')](_0x766bc6);}})[_0x8f42('0x1c')](function(_0xbba0d){if(_0xbba0d){_0x4778ff=_0xbba0d[_0x8f42('0x3d')];if(!_0x5c5b1c['query'][_0x8f42('0x3e')](_0x8f42('0x54'))){_0x766bc6[_0x8f42('0x3f')]=qs[_0x8f42('0x3f')](_0x5c5b1c[_0x8f42('0x38')][_0x8f42('0x3f')]);_0x766bc6[_0x8f42('0x2c')]=qs[_0x8f42('0x2c')](_0x5c5b1c[_0x8f42('0x38')][_0x8f42('0x2c')]);}return _0x387170[_0x8f42('0x56')](_0x766bc6);}})['then'](function(_0xd6da6c){if(_0xd6da6c){return _0xd6da6c?{'count':_0x4778ff,'rows':_0xd6da6c}:null;}})[_0x8f42('0x1c')](respondWithResult(_0x4ca880,null))[_0x8f42('0x26')](handleError(_0x4ca880,null));};
\ No newline at end of file