Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / cmContact / cmContact.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe183=['onlyIfOpen','BlackLists','CmHopperBlack','cmContact,\x20%s,\x20%s','message','List\x20not\x20found','isEmpty','destroy','ContactId','VoiceQueueId','CampaignId','push','all','info','[CmContact][afterDestroy][Succesfull]','[CmContact][afterDestroy][Error]','lodash','moment','bluebird','request-promise','path','../../config/environment/shared','./cmContact.attributes','exports','define','cm_contacts','phone','fti_cm_contacts','firstName','lastName','fax','email','FULLTEXT','utf8mb4','utf8mb4_unicode_ci','models','get','error','cmContact','inspect','scheduledat','format','YYYY-MM-DD\x20HH:mm:ss','isNil','dialTimezone','findOne','timezones','utcOffset','minutes','then','ret','CmHopper','create','ListId','priority','callbackUniqueid','catch','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopper\x20VoiceQueue\x20','CmHopperFinal','cmContact,\x20afterCreate,\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopperFinal\x20VoiceQueue\x20','afterCreate','Campaign','add','cmContact,\x20afterCreate\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20onlyIfOpen,\x20exist\x20in\x20hopper\x20Campaign\x20','\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopperFinal\x20Campaign\x20','VoiceQueue','findAll','outbound','dialCheckDuplicateType','CmList','Lists','length','always'];(function(_0x1f2319,_0x179326){var _0x5d5e99=function(_0x589c0c){while(--_0x589c0c){_0x1f2319['push'](_0x1f2319['shift']());}};_0x5d5e99(++_0x179326);}(_0xe183,0xf1));var _0x3e18=function(_0x368587,_0x1b6554){_0x368587=_0x368587-0x0;var _0x42d33c=_0xe183[_0x368587];return _0x42d33c;};'use strict';var _=require(_0x3e18('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x3e18('0x1'));var BPromise=require(_0x3e18('0x2'));var rp=require(_0x3e18('0x3'));var fs=require('fs');var path=require(_0x3e18('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var shared=require(_0x3e18('0x5'));var attributes=require(_0x3e18('0x6'));module[_0x3e18('0x7')]=function(_0x586cb8,_0x1b8385){return _0x586cb8[_0x3e18('0x8')]('CmContact',attributes,{'tableName':_0x3e18('0x9'),'paranoid':!![],'indexes':[{'name':_0x3e18('0xa'),'fields':[_0x3e18('0xa')]},{'name':_0x3e18('0xb'),'fields':[_0x3e18('0xc'),_0x3e18('0xd'),_0x3e18('0xa'),'mobile',_0x3e18('0xe'),_0x3e18('0xf')],'type':_0x3e18('0x10')}],'timestamps':!![],'charset':_0x3e18('0x11'),'collate':_0x3e18('0x12'),'hooks':{'afterCreate':function(_0x4e9e48,_0xd05137,_0x50fc1e){var _0x21b4f5=_0x586cb8[_0x3e18('0x13')];var _0x157092=_0x4e9e48[_0x3e18('0x14')]({'plain':!![]});function _0x352d31(){return function(_0x2d99a3){logger[_0x3e18('0x15')](_0x3e18('0x16'),'afterCreate',util[_0x3e18('0x17')](_0x2d99a3,{'showHidden':![],'depth':null}));};}function _0x5b527c(_0x434750,_0x1026e1){var _0x2f82dd=_0x1026e1[_0x3e18('0x18')]?_0x1026e1[_0x3e18('0x18')]:moment()[_0x3e18('0x19')](_0x3e18('0x1a'));return new BPromise(function(_0x261e83,_0x1dea74){if(_[_0x3e18('0x1b')](_0x1026e1[_0x3e18('0x1c')])){_0x261e83({'ret':_0x2f82dd});}else{_0x21b4f5['VoiceQueue'][_0x3e18('0x1d')]({'where':{'id':_0x434750['id']}})['then'](function(_0x204f23){if(!_['isNil'](_0x204f23)){var _0x4f3a76=_0x204f23[_0x3e18('0x1c')];if(!_[_0x3e18('0x1b')](_0x4f3a76)){var _0x488b9c=shared[_0x3e18('0x1e')];var _0x41bae9=_0x488b9c[_0x4f3a76];var _0x10b7ec=_0x488b9c[_0x1026e1[_0x3e18('0x1c')]];if(!_[_0x3e18('0x1b')](_0x41bae9)&&!_[_0x3e18('0x1b')](_0x10b7ec)){var _0x3ddd88=_0x41bae9['utcOffset']-_0x10b7ec[_0x3e18('0x1f')];_0x2f82dd=_0x1026e1['scheduledat']?_0x1026e1[_0x3e18('0x18')]:moment();var _0x579f65=moment(_0x2f82dd)['add'](_0x3ddd88,_0x3e18('0x20'));_0x261e83({'ret':_0x579f65[_0x3e18('0x19')](_0x3e18('0x1a'))});}else _0x261e83({'ret':_0x2f82dd});}else _0x261e83({'ret':_0x2f82dd});}else{_0x261e83({'ret':_0x2f82dd});}});}});return 0xa;}var _0xe50769=function(_0x4e2cfa){return new BPromise(function(_0x304834,_0x7bc660){_0x5b527c(_0x4e2cfa,_0x157092)[_0x3e18('0x21')](function(_0x318a11){_0x157092[_0x3e18('0x18')]=_0x318a11[_0x3e18('0x22')];_0x21b4f5['CmHopper'][_0x3e18('0x1d')]({'where':{'phone':_0x157092[_0x3e18('0xa')],'VoiceQueueId':_0x4e2cfa['id']}})['then'](function(_0x8c4ace){if(!_[_0x3e18('0x1b')](_0x8c4ace)){throw new Error('cmContact,\x20afterCreate\x20'+_0x157092[_0x3e18('0xa')]+'\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20onlyIfOpen,\x20exist\x20in\x20hopper\x20VoiceQueue\x20'+_0x4e2cfa['id']);}return _0x21b4f5[_0x3e18('0x23')][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092[_0x3e18('0x25')],'priority':_0x157092['priority']?_0x157092[_0x3e18('0x26')]:0x2,'scheduledat':_0x157092[_0x3e18('0x18')]?_0x157092[_0x3e18('0x18')]:moment()[_0x3e18('0x19')](_0x3e18('0x1a')),'callback':_0x157092[_0x3e18('0x27')]?!![]:![],'callbackuniqueid':_0x157092[_0x3e18('0x27')]?_0x157092[_0x3e18('0x27')]:undefined,'callbackat':_0x157092['callbackUniqueid']?moment()[_0x3e18('0x19')](_0x3e18('0x1a')):undefined,'VoiceQueueId':_0x4e2cfa['id']});})[_0x3e18('0x28')](function(_0x39c264){_0x7bc660(_0x39c264);});});});};var _0x1d7abb=function(_0x1839c1){return new BPromise(function(_0x4edf70,_0x1c6e52){_0x5b527c(_0x1839c1,_0x157092)[_0x3e18('0x21')](function(_0x49f4a4){_0x157092['scheduledat']=_0x49f4a4[_0x3e18('0x22')];_0x21b4f5[_0x3e18('0x23')]['findOne']({'where':{'phone':_0x157092['phone'],'VoiceQueueId':_0x1839c1['id']}})[_0x3e18('0x21')](function(_0x349951){if(!_[_0x3e18('0x1b')](_0x349951)){throw new Error('cmContact,\x20afterCreate\x20'+_0x157092[_0x3e18('0xa')]+_0x3e18('0x29')+_0x1839c1['id']);}return _0x21b4f5[_0x3e18('0x2a')][_0x3e18('0x1d')]({'where':{'calleridnum':_0x157092[_0x3e18('0xa')],'VoiceQueueId':_0x1839c1['id']}});})[_0x3e18('0x21')](function(_0x4b0d2c){if(!_[_0x3e18('0x1b')](_0x4b0d2c)){throw new Error(_0x3e18('0x2b')+_0x157092[_0x3e18('0xa')]+_0x3e18('0x2c')+_0x1839c1['id']);}return _0x21b4f5['CmHopper'][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092[_0x3e18('0x25')],'priority':_0x157092[_0x3e18('0x26')]?_0x157092[_0x3e18('0x26')]:0x2,'scheduledat':_0x157092[_0x3e18('0x18')]?_0x157092[_0x3e18('0x18')]:moment()[_0x3e18('0x19')](_0x3e18('0x1a')),'callback':_0x157092[_0x3e18('0x27')]?!![]:![],'callbackuniqueid':_0x157092['callbackUniqueid']?_0x157092[_0x3e18('0x27')]:undefined,'callbackat':_0x157092['callbackUniqueid']?moment()['format']('YYYY-MM-DD\x20HH:mm:ss'):undefined,'VoiceQueueId':_0x1839c1['id']});})[_0x3e18('0x28')](function(_0x166f72){_0x1c6e52(_0x166f72);});});});};function _0x505c9f(){return function(_0x11a5fe){logger[_0x3e18('0x15')]('cmContact',_0x3e18('0x2d'),util[_0x3e18('0x17')](_0x11a5fe,{'showHidden':![],'depth':null}));};}function _0x10201a(_0x88b8e2,_0x4ca0f7){var _0x41e85c=_0x4ca0f7[_0x3e18('0x18')]?_0x4ca0f7['scheduledat']:moment()[_0x3e18('0x19')](_0x3e18('0x1a'));return new BPromise(function(_0x4a6482,_0x184659){if(_[_0x3e18('0x1b')](_0x4ca0f7['dialTimezone'])){_0x4a6482({'ret':_0x41e85c});}else{_0x21b4f5[_0x3e18('0x2e')][_0x3e18('0x1d')]({'where':{'id':_0x88b8e2['id']}})['then'](function(_0x51fb13){if(!_[_0x3e18('0x1b')](_0x51fb13)){var _0x3f22e4=_0x51fb13[_0x3e18('0x1c')];if(!_['isNil'](_0x3f22e4)){var _0x4fe397=shared[_0x3e18('0x1e')];var _0x2c567c=_0x4fe397[_0x3f22e4];var _0x13240d=_0x4fe397[_0x4ca0f7[_0x3e18('0x1c')]];if(!_['isNil'](_0x2c567c)&&!_[_0x3e18('0x1b')](_0x13240d)){var _0x15a9d5=_0x2c567c[_0x3e18('0x1f')]-_0x13240d[_0x3e18('0x1f')];_0x41e85c=_0x4ca0f7[_0x3e18('0x18')]?_0x4ca0f7[_0x3e18('0x18')]:moment();var _0x1be5f7=moment(_0x41e85c)[_0x3e18('0x2f')](_0x15a9d5,_0x3e18('0x20'));_0x4a6482({'ret':_0x1be5f7['format']('YYYY-MM-DD\x20HH:mm:ss')});}else _0x4a6482({'ret':_0x41e85c});}else _0x4a6482({'ret':_0x41e85c});}else{_0x4a6482({'ret':_0x41e85c});}});}});return 0xa;}var _0x3cf243=function(_0x570c35){return new BPromise(function(_0x490282,_0x3805fe){_0x10201a(_0x570c35,_0x157092)['then'](function(_0x1a7e7f){_0x157092[_0x3e18('0x18')]=_0x1a7e7f[_0x3e18('0x22')];_0x21b4f5[_0x3e18('0x23')][_0x3e18('0x1d')]({'where':{'phone':_0x157092[_0x3e18('0xa')],'CampaignId':_0x570c35['id']}})[_0x3e18('0x21')](function(_0x224273){if(!_[_0x3e18('0x1b')](_0x224273)){throw new Error(_0x3e18('0x30')+_0x157092[_0x3e18('0xa')]+_0x3e18('0x31')+_0x570c35['id']);}return _0x21b4f5[_0x3e18('0x23')][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092[_0x3e18('0x25')],'priority':_0x157092[_0x3e18('0x26')]?_0x157092[_0x3e18('0x26')]:0x2,'scheduledat':_0x157092[_0x3e18('0x18')]?_0x157092[_0x3e18('0x18')]:moment()[_0x3e18('0x19')](_0x3e18('0x1a')),'callback':_0x157092[_0x3e18('0x27')]?!![]:![],'callbackuniqueid':_0x157092[_0x3e18('0x27')]?_0x157092[_0x3e18('0x27')]:undefined,'callbackat':_0x157092[_0x3e18('0x27')]?moment()[_0x3e18('0x19')](_0x3e18('0x1a')):undefined,'CampaignId':_0x570c35['id']});})[_0x3e18('0x28')](function(_0x50e63f){_0x3805fe(_0x50e63f);});});});};var _0x23510f=function(_0x3a6330){return new BPromise(function(_0x4b5bd6,_0x4efe53){_0x10201a(_0x3a6330,_0x157092)[_0x3e18('0x21')](function(_0x53d05a){_0x157092['scheduledat']=_0x53d05a[_0x3e18('0x22')];_0x21b4f5[_0x3e18('0x23')][_0x3e18('0x1d')]({'where':{'phone':_0x157092[_0x3e18('0xa')],'CampaignId':_0x3a6330['id']}})[_0x3e18('0x21')](function(_0x4920fc){if(!_[_0x3e18('0x1b')](_0x4920fc)){throw new Error('cmContact,\x20afterCreate\x20'+_0x157092[_0x3e18('0xa')]+'\x20contact\x20not\x20insert\x20in\x20hopper,\x20check\x20duplicate\x20always,\x20exist\x20in\x20hopper\x20Campaign\x20'+_0x3a6330['id']);}return _0x21b4f5[_0x3e18('0x2a')]['findOne']({'where':{'calleridnum':_0x157092[_0x3e18('0xa')],'CampaignId':_0x3a6330['id']}});})[_0x3e18('0x21')](function(_0x120ead){if(!_['isNil'](_0x120ead)){throw new Error(_0x3e18('0x2b')+_0x157092[_0x3e18('0xa')]+_0x3e18('0x32')+_0x3a6330['id']);}return _0x21b4f5['CmHopper'][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092['ListId'],'priority':_0x157092[_0x3e18('0x26')]?_0x157092[_0x3e18('0x26')]:0x2,'scheduledat':_0x157092[_0x3e18('0x18')]?_0x157092['scheduledat']:moment()['format'](_0x3e18('0x1a')),'callback':_0x157092[_0x3e18('0x27')]?!![]:![],'callbackuniqueid':_0x157092[_0x3e18('0x27')]?_0x157092['callbackUniqueid']:undefined,'callbackat':_0x157092[_0x3e18('0x27')]?moment()[_0x3e18('0x19')]('YYYY-MM-DD\x20HH:mm:ss'):undefined,'CampaignId':_0x3a6330['id']});})[_0x3e18('0x28')](function(_0x33e5aa){_0x4efe53(_0x33e5aa);});});});};if(_0x157092[_0x3e18('0x25')]){_0x21b4f5[_0x3e18('0x33')][_0x3e18('0x34')]({'where':{'type':_0x3e18('0x35')},'attributes':['id',_0x3e18('0x36'),_0x3e18('0x1c')],'include':[{'model':_0x21b4f5[_0x3e18('0x37')],'as':_0x3e18('0x38'),'where':{'id':_0x157092[_0x3e18('0x25')]}}]})[_0x3e18('0x21')](function(_0x28f011){if(_0x28f011){var _0x5b37dc=[];for(var _0x2848d7=0x0,_0x54d520;_0x2848d7<_0x28f011[_0x3e18('0x39')];_0x2848d7+=0x1){_0x54d520=_0x28f011[_0x2848d7]['get']({'plain':!![]});switch(_0x54d520['dialCheckDuplicateType']){case _0x3e18('0x3a'):_0x1d7abb(_0x54d520)[_0x3e18('0x28')](_0x352d31());break;case _0x3e18('0x3b'):_0xe50769(_0x54d520)['catch'](_0x352d31());break;default:_0x10201a(_0x54d520,_0x157092)[_0x3e18('0x21')](function(_0x473f19){_0x157092[_0x3e18('0x18')]=_0x473f19[_0x3e18('0x22')];_0x21b4f5[_0x3e18('0x23')][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092[_0x3e18('0x25')],'scheduledat':_0x157092[_0x3e18('0x18')]?_0x157092[_0x3e18('0x18')]:moment()[_0x3e18('0x19')]('YYYY-MM-DD\x20HH:mm:ss'),'priority':_0x157092[_0x3e18('0x26')]?_0x157092[_0x3e18('0x26')]:0x2,'callback':_0x157092[_0x3e18('0x27')]?!![]:![],'callbackuniqueid':_0x157092[_0x3e18('0x27')]?_0x157092[_0x3e18('0x27')]:undefined,'callbackat':_0x157092['callbackUniqueid']?moment()[_0x3e18('0x19')](_0x3e18('0x1a')):undefined,'VoiceQueueId':_0x54d520['id']})[_0x3e18('0x28')](_0x352d31());});}}}})[_0x3e18('0x21')](function(){return _0x21b4f5[_0x3e18('0x33')][_0x3e18('0x34')]({'where':{'type':'outbound'},'attributes':['id'],'include':[{'model':_0x21b4f5['CmList'],'as':_0x3e18('0x3c'),'where':{'id':_0x157092['ListId']}}]})[_0x3e18('0x21')](function(_0x303bc1){if(_0x303bc1){var _0x57236b=[];for(var _0x587da4=0x0,_0x3fcd83;_0x587da4<_0x303bc1[_0x3e18('0x39')];_0x587da4+=0x1){_0x3fcd83=_0x303bc1[_0x587da4]['get']({'plain':!![]});_0x21b4f5[_0x3e18('0x3d')][_0x3e18('0x24')]({'phone':_0x157092['phone'],'ContactId':_0x157092['id'],'ListId':_0x157092['ListId'],'VoiceQueueId':_0x3fcd83['id']})[_0x3e18('0x28')](function(_0x5f2113){logger[_0x3e18('0x15')](_0x3e18('0x3e'),'afterCreate',_0x5f2113[_0x3e18('0x3f')]);});}}});})['then'](function(){return _0x21b4f5[_0x3e18('0x2e')]['findAll']({'attributes':['id',_0x3e18('0x36'),_0x3e18('0x1c')],'include':[{'model':_0x21b4f5[_0x3e18('0x37')],'as':'Lists','where':{'id':_0x157092['ListId']}}]})[_0x3e18('0x21')](function(_0x8dcd05){if(_0x8dcd05){var _0x4d77af=[];for(var _0x3cf82c=0x0,_0x53001c;_0x3cf82c<_0x8dcd05['length'];_0x3cf82c+=0x1){_0x53001c=_0x8dcd05[_0x3cf82c][_0x3e18('0x14')]({'plain':!![]});switch(_0x53001c['dialCheckDuplicateType']){case _0x3e18('0x3a'):_0x23510f(_0x53001c)[_0x3e18('0x28')](_0x505c9f());break;case _0x3e18('0x3b'):_0x3cf243(_0x53001c)[_0x3e18('0x28')](_0x505c9f());break;default:_0x21b4f5[_0x3e18('0x23')][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092['ListId'],'scheduledat':_0x157092[_0x3e18('0x18')]?_0x157092[_0x3e18('0x18')]:moment()['format'](_0x3e18('0x1a')),'priority':_0x157092[_0x3e18('0x26')]?_0x157092['priority']:0x2,'callback':_0x157092[_0x3e18('0x27')]?!![]:![],'callbackuniqueid':_0x157092['callbackUniqueid']?_0x157092[_0x3e18('0x27')]:undefined,'callbackat':_0x157092[_0x3e18('0x27')]?moment()[_0x3e18('0x19')](_0x3e18('0x1a')):undefined,'CampaignId':_0x53001c['id']})['catch'](_0x505c9f());}}}});})[_0x3e18('0x21')](function(){return _0x21b4f5[_0x3e18('0x2e')]['findAll']({'attributes':['id'],'include':[{'model':_0x21b4f5[_0x3e18('0x37')],'as':_0x3e18('0x3c'),'where':{'id':_0x157092[_0x3e18('0x25')]}}]})[_0x3e18('0x21')](function(_0x4b5363){if(_0x4b5363){var _0x2b7837=[];for(var _0x1707ec=0x0,_0x4329b4;_0x1707ec<_0x4b5363[_0x3e18('0x39')];_0x1707ec+=0x1){_0x4329b4=_0x4b5363[_0x1707ec][_0x3e18('0x14')]({'plain':!![]});_0x21b4f5['CmHopperBlack'][_0x3e18('0x24')]({'phone':_0x157092[_0x3e18('0xa')],'ContactId':_0x157092['id'],'ListId':_0x157092[_0x3e18('0x25')],'CampaignId':_0x4329b4['id']})['catch'](function(_0x3e0a47){logger['error'](_0x3e18('0x3e'),_0x3e18('0x2d'),_0x3e0a47[_0x3e18('0x3f')]);});}}});})[_0x3e18('0x21')](function(){_0x50fc1e();})[_0x3e18('0x28')](function(_0x165a90){logger[_0x3e18('0x15')](_0x3e18('0x3e'),_0x3e18('0x2d'),_0x165a90[_0x3e18('0x3f')]);_0x50fc1e(_0x165a90);});}else{_0x50fc1e(new Error(_0x3e18('0x40')));}},'afterDestroy':function(_0x2016af,_0x1dfd7f,_0x34bfea){var _0x10af9e=_0x586cb8[_0x3e18('0x13')];var _0x2b0131=_0x2016af[_0x3e18('0x14')]({'plain':!![]});return _0x10af9e[_0x3e18('0x23')][_0x3e18('0x34')]({'raw':!![],'where':{'ListId':_0x2b0131[_0x3e18('0x25')],'ContactId':_0x2b0131['id']}})['then'](function(_0x3ac36f){if(!_[_0x3e18('0x41')](_0x3ac36f)){var _0x2db9f2=[];for(var _0x507f06=0x0;_0x507f06<_0x3ac36f[_0x3e18('0x39')];_0x507f06+=0x1){var _0x1adb11=_0x10af9e['CmHopper'][_0x3e18('0x42')]({'where':{'ListId':_0x3ac36f[_0x507f06][_0x3e18('0x25')],'ContactId':_0x3ac36f[_0x507f06][_0x3e18('0x43')],'VoiceQueueId':_0x3ac36f[_0x507f06][_0x3e18('0x44')],'CampaignId':_0x3ac36f[_0x507f06][_0x3e18('0x45')]}});_0x2db9f2[_0x3e18('0x46')](_0x1adb11);}return BPromise[_0x3e18('0x47')](_0x2db9f2);}})[_0x3e18('0x21')](function(_0x3e9db2){logger[_0x3e18('0x48')](_0x3e18('0x49'),util[_0x3e18('0x17')](_0x3e9db2,{'showHidden':![],'depth':null}));_0x34bfea();})[_0x3e18('0x28')](function(_0x4f0fb7){logger[_0x3e18('0x15')](_0x3e18('0x4a'),util['inspect'](_0x4f0fb7,{'showHidden':![],'depth':null}));_0x34bfea(_0x4f0fb7);});}}});};