Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / services / email / lib / utils.js
index abb3812..48000c6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x384d=['<p>Empty\x20message</p>','Attachments','Title','Data','user=','utf-8','toString','base64','lodash','randomstring','path','node-tnef','../../../config/logger','email','../../../config/environment','value','address','anonymous','generate','@xcally.com','name','indexOf','split','length','slice','join','Anonymous','pop','isEmpty','html','test','includes','<img','attachments','forEach','push','replace','_SRC','_IMG','<span\x20style=font-weight:bold>\x20[Attachment:\x20','body','textAsHtml','<a\x20target=\x22_blank\x22\x20','message','originTo','originCc','type','attachment','filename','attachment-','format','%s-%s','root','server/files/attachments/','content','contentType','headerLines','Auto-Submitted:\x20auto-replied','Precedence:\x20auto_reply','parser','from','subject','messageId','inReplyTo','date','filter','application/ms-tnef','Email\x20message\x20%s\x20is\x20in\x20TNEF\x20format:\x20message\x20content\x20will\x20be\x20converted\x20by\x20the\x20system','parseBuffer','first','BodyHTML'];(function(_0x456fb1,_0x859a1d){var _0x4083d6=function(_0xe1d0f2){while(--_0xe1d0f2){_0x456fb1['push'](_0x456fb1['shift']());}};_0x4083d6(++_0x859a1d);}(_0x384d,0x96));var _0xd384=function(_0x237bd2,_0x592caf){_0x237bd2=_0x237bd2-0x0;var _0x49e387=_0x384d[_0x237bd2];return _0x49e387;};'use strict';var _=require(_0xd384('0x0'));var moment=require('moment');var random=require(_0xd384('0x1'));var fs=require('fs');var path=require(_0xd384('0x2'));var util=require('util');var tnef=require(_0xd384('0x3'));var logger=require(_0xd384('0x4'))(_0xd384('0x5'));var config=require(_0xd384('0x6'));function getAddress(_0x4b4d57){var _0x3d529e=_['head'](_0x4b4d57[_0xd384('0x7')]);return _0x3d529e&&_0x3d529e[_0xd384('0x8')]?_0x3d529e[_0xd384('0x8')]:_0xd384('0x9')+random[_0xd384('0xa')](0x6)+_0xd384('0xb');}function getFirstName(_0x527aa2){var _0x382c31=_['head'](_0x527aa2['value']);if(_0x382c31&&_0x382c31[_0xd384('0xc')]){if(_0x382c31['name']==_0x382c31['address']){return _0x382c31[_0xd384('0xc')]['substring'](0x0,_0x382c31['name'][_0xd384('0xd')]('@'));}var _0x3d41e7=_0x382c31[_0xd384('0xc')][_0xd384('0xe')](/\s+/);return _0x3d41e7[_0xd384('0xf')]>0x1?_0x3d41e7[_0xd384('0x10')](0x0,-0x1)[_0xd384('0x11')]('\x20'):_0x382c31[_0xd384('0xc')];}return _0xd384('0x12');}function getLastName(_0x352140){var _0x479449=_['head'](_0x352140[_0xd384('0x7')]);if(_0x479449&&_0x479449[_0xd384('0xc')]){var _0x4bfe8f=_0x479449['name'][_0xd384('0xe')](/\s+/);return _0x4bfe8f[_0xd384('0xf')]>0x1?_0x4bfe8f[_0xd384('0x13')]():'';}return'';}function getMails(_0xe9be4e,_0x5958e2){var _0x3c0e35='';for(var _0xec4c21=0x0;_0xec4c21<_0x5958e2[_0xd384('0x7')][_0xd384('0xf')];_0xec4c21+=0x1){if(_0x5958e2[_0xd384('0x7')][_0xec4c21][_0xd384('0x8')]!==_0xe9be4e){if(!_[_0xd384('0x14')](_0x3c0e35)){_0x3c0e35+=',';}_0x3c0e35+=_0x5958e2[_0xd384('0x7')][_0xec4c21][_0xd384('0xc')]||_0x5958e2[_0xd384('0x7')][_0xec4c21][_0xd384('0x8')]||'';_0x3c0e35+='\x20<';_0x3c0e35+=_0x5958e2[_0xd384('0x7')][_0xec4c21][_0xd384('0x8')]?_0x5958e2[_0xd384('0x7')][_0xec4c21][_0xd384('0x8')]:'anonymous'+random[_0xd384('0xa')](0x6)+_0xd384('0xb');_0x3c0e35+='>';}}return _0x3c0e35;}function parseEmail(_0x5590d6,_0x1e5a14,_0x4a6a9b){if(_0x1e5a14[_0xd384('0x15')]){var _0x8a63d4=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;while(_0x8a63d4[_0xd384('0x16')](_0x1e5a14[_0xd384('0x15')])){_0x1e5a14[_0xd384('0x15')]=_0x1e5a14[_0xd384('0x15')]['replace'](_0x8a63d4,'');}if(_0x1e5a14[_0xd384('0x15')][_0xd384('0x17')](_0xd384('0x18'))){var _0xffd1e3=[];_0x1e5a14[_0xd384('0x19')][_0xd384('0x1a')](_0x26410d=>{_0xffd1e3[_0xd384('0x1b')](_0x26410d['filename']);});var _0x1d07c0=/<img.*? _SRC(.*?)[^>]+>/g;var _0xe1313d=/src="data:image\/([a-zA-Z]*);base64,([^"]*)"/g;var _0x63a210=_0x1e5a14['html'][_0xd384('0x1c')](_0xe1313d,_0xd384('0x1d'));var _0x5291ee=_0x63a210[_0xd384('0x1c')](_0x1d07c0,_0xd384('0x1e'));for(let _0x2a976e=0x0;_0x2a976e<_0xffd1e3[_0xd384('0xf')];_0x2a976e++){var _0x49dc47=_0x5291ee['replace']('_IMG',_0xd384('0x1f')+_0xffd1e3[_0x2a976e]+'\x20]</span>');_0x5291ee=_0x49dc47;}_0x1e5a14['html']=_0x5291ee;}_0x4a6a9b['body']=_0x1e5a14[_0xd384('0x15')];}else{_0x4a6a9b[_0xd384('0x20')]=_0x1e5a14[_0xd384('0x21')];}if(_0x4a6a9b[_0xd384('0x20')]){_0x4a6a9b[_0xd384('0x20')]=_0x4a6a9b[_0xd384('0x20')]['replace'](/<a\s+/gi,_0xd384('0x22'));}if(_0x1e5a14['to']){_0x4a6a9b[_0xd384('0x23')][_0xd384('0x24')]=getMails(null,_0x1e5a14['to']);var _0x37d575=getMails(_0x5590d6[_0xd384('0x5')],_0x1e5a14['to']);if(!_[_0xd384('0x14')](_0x37d575)){_0x4a6a9b['message']['cc']+=_0x37d575;}}if(_0x1e5a14['cc']){_0x4a6a9b[_0xd384('0x23')][_0xd384('0x25')]=getMails(null,_0x1e5a14['cc']);var _0x8a7708=getMails(_0x5590d6[_0xd384('0x5')],_0x1e5a14['cc']);if(!_[_0xd384('0x14')](_0x8a7708)){if(!_[_0xd384('0x14')](_0x4a6a9b[_0xd384('0x23')]['cc'])){_0x4a6a9b[_0xd384('0x23')]['cc']+=',';}_0x4a6a9b['message']['cc']+=_0x8a7708;}}if(!_['includes'](_0x4a6a9b['message']['originTo'],_0x5590d6['email'])&&!_[_0xd384('0x17')](_0x4a6a9b[_0xd384('0x23')][_0xd384('0x25')],_0x5590d6[_0xd384('0x5')])){_0x4a6a9b[_0xd384('0x23')]['bcc']=_0x5590d6['email'];}if(_0x1e5a14['attachments']&&_0x1e5a14[_0xd384('0x19')][_0xd384('0xf')]){_0x4a6a9b[_0xd384('0x23')]['attach']=_0x1e5a14[_0xd384('0x19')][_0xd384('0xf')];for(var _0x16c5e1=0x0,_0x2c3268,_0x8239f9,_0x2134ef;_0x16c5e1<_0x1e5a14['attachments'][_0xd384('0xf')];_0x16c5e1+=0x1){if(_0x1e5a14['attachments'][_0x16c5e1][_0xd384('0x26')]===_0xd384('0x27')){_0x2134ef=_0x1e5a14[_0xd384('0x19')][_0x16c5e1][_0xd384('0x28')]||_0xd384('0x29')+_0x16c5e1;_0x2c3268=util[_0xd384('0x2a')](_0xd384('0x2b'),Date['now'](),_0x2134ef);_0x8239f9=path['join'](config[_0xd384('0x2c')],_0xd384('0x2d'),_0x2c3268);fs['writeFileSync'](_0x8239f9,_0x1e5a14[_0xd384('0x19')][_0x16c5e1][_0xd384('0x2e')]);_0x4a6a9b[_0xd384('0x23')][_0xd384('0x19')][_0xd384('0x1b')]({'name':_0x2134ef,'basename':_0x2c3268,'type':_0x1e5a14[_0xd384('0x19')][_0x16c5e1][_0xd384('0x2f')],'filepath':_0x8239f9});}}}if(_0x1e5a14['headerLines']&&_0x1e5a14[_0xd384('0x30')][_0xd384('0xf')]>0x0){var _0x5c7527=[_0xd384('0x31'),'X-Auto-Response-Suppress:\x20All',_0xd384('0x32')];for(var _0x28c45f=0x0;_0x28c45f<_0x1e5a14['headerLines'][_0xd384('0xf')];_0x28c45f++){var _0x46ad8e=_[_0xd384('0xd')](_0x5c7527,_0x1e5a14['headerLines'][_0x28c45f]['line']);if(_0x46ad8e>=0x0){_0x4a6a9b['isAutoreply']=!![];}}}return _0x4a6a9b;}exports[_0xd384('0x33')]=function(_0x12fdbb,_0x30f900,_0x186c11){var _0x2d9dbb={'from':getAddress(_0x30f900['from']),'firstName':getFirstName(_0x30f900[_0xd384('0x34')]),'lastName':getLastName(_0x30f900[_0xd384('0x34')]),'mapKey':'email','message':{'from':getMails(_0x12fdbb['email'],_0x30f900[_0xd384('0x34')]),'to':_0x12fdbb[_0xd384('0x5')],'cc':'','subject':_0x30f900[_0xd384('0x35')]||'','messageId':_0x30f900[_0xd384('0x36')],'inReplyTo':_0x30f900[_0xd384('0x37')],'sentAt':moment(_0x30f900[_0xd384('0x38')])[_0xd384('0x2a')]('YYYY-MM-DD\x20HH:mm:ss'),'attach':![],'attachments':[]}};if(!_0x30f900['html']&&!_0x30f900[_0xd384('0x21')]){var _0x5bf037=_[_0xd384('0x39')](_0x30f900[_0xd384('0x19')],{'contentType':_0xd384('0x3a')});if(_0x5bf037[_0xd384('0xf')]){logger['info'](util[_0xd384('0x2a')](_0xd384('0x3b'),_0x30f900[_0xd384('0x36')]));tnef[_0xd384('0x3c')](_[_0xd384('0x3d')](_0x5bf037)['content'],function(_0x3dae3b,_0x348e58){if(_0x348e58){_0x30f900['html']=_0x348e58[_0xd384('0x3e')]||_0xd384('0x3f');if(_0x348e58[_0xd384('0x40')]){for(var _0x578d9a=0x0;_0x578d9a<_0x348e58[_0xd384('0x40')][_0xd384('0xf')];_0x578d9a++){var _0x59fb3f=_0x348e58[_0xd384('0x40')][_0x578d9a];_0x2d9dbb[_0xd384('0x23')][_0xd384('0x19')][_0xd384('0x1b')]({'filename':_0x59fb3f[_0xd384('0x41')],'content':Buffer['from'](_0x59fb3f[_0xd384('0x42')])});}}}_0x186c11(parseEmail(_0x12fdbb,_0x30f900,_0x2d9dbb));});}else{_0x30f900[_0xd384('0x15')]='<p>Empty\x20message</p>';_0x186c11(parseEmail(_0x12fdbb,_0x30f900,_0x2d9dbb));}}else{_0x186c11(parseEmail(_0x12fdbb,_0x30f900,_0x2d9dbb));}};exports['generateXOAuth2Token']=function(_0xdefe29,_0x269e38){var _0x59f473=[_0xd384('0x43')+(_0x269e38||''),'auth=Bearer\x20'+_0xdefe29,'',''];return Buffer[_0xd384('0x34')](_0x59f473[_0xd384('0x11')]('\ 1'),_0xd384('0x44'))[_0xd384('0x45')](_0xd384('0x46'));};
\ No newline at end of file
+var _0x163f=['anonymous','@xcally.com','name','indexOf','split','length','join','pop','isEmpty','generate','html','test','replace','includes','attachments','forEach','push','filename','_SRC','_IMG','\x20]</span>','body','textAsHtml','<a\x20target=\x22_blank\x22\x20','message','originTo','originCc','bcc','attach','type','attachment','attachment-','format','%s-%s','now','root','server/files/attachments/','writeFileSync','content','contentType','headerLines','Auto-Submitted:\x20auto-replied','X-Auto-Response-Suppress:\x20All','Precedence:\x20auto_reply','parser','from','subject','messageId','inReplyTo','date','YYYY-MM-DD\x20HH:mm:ss','filter','application/ms-tnef','info','parseBuffer','first','<p>Empty\x20message</p>','Attachments','generateXOAuth2Token','user=','utf-8','toString','base64','lodash','randomstring','util','node-tnef','../../../config/logger','email','head','value','address'];(function(_0x5b55fd,_0xae1e83){var _0xd03c51=function(_0x2ade2f){while(--_0x2ade2f){_0x5b55fd['push'](_0x5b55fd['shift']());}};_0xd03c51(++_0xae1e83);}(_0x163f,0xcf));var _0xf163=function(_0x4d8ed9,_0x2ae284){_0x4d8ed9=_0x4d8ed9-0x0;var _0x1e2140=_0x163f[_0x4d8ed9];return _0x1e2140;};'use strict';var _=require(_0xf163('0x0'));var moment=require('moment');var random=require(_0xf163('0x1'));var fs=require('fs');var path=require('path');var util=require(_0xf163('0x2'));var tnef=require(_0xf163('0x3'));var logger=require(_0xf163('0x4'))(_0xf163('0x5'));var config=require('../../../config/environment');function getAddress(_0x5184d7){var _0x3244b6=_[_0xf163('0x6')](_0x5184d7[_0xf163('0x7')]);return _0x3244b6&&_0x3244b6[_0xf163('0x8')]?_0x3244b6[_0xf163('0x8')]:_0xf163('0x9')+random['generate'](0x6)+_0xf163('0xa');}function getFirstName(_0x547248){var _0x42547f=_[_0xf163('0x6')](_0x547248[_0xf163('0x7')]);if(_0x42547f&&_0x42547f[_0xf163('0xb')]){if(_0x42547f[_0xf163('0xb')]==_0x42547f[_0xf163('0x8')]){return _0x42547f[_0xf163('0xb')]['substring'](0x0,_0x42547f['name'][_0xf163('0xc')]('@'));}var _0x5cbe75=_0x42547f[_0xf163('0xb')][_0xf163('0xd')](/\s+/);return _0x5cbe75[_0xf163('0xe')]>0x1?_0x5cbe75['slice'](0x0,-0x1)[_0xf163('0xf')]('\x20'):_0x42547f[_0xf163('0xb')];}return'Anonymous';}function getLastName(_0xbba78a){var _0x891282=_['head'](_0xbba78a['value']);if(_0x891282&&_0x891282[_0xf163('0xb')]){var _0x178c41=_0x891282[_0xf163('0xb')]['split'](/\s+/);return _0x178c41['length']>0x1?_0x178c41[_0xf163('0x10')]():'';}return'';}function getMails(_0x1a41f0,_0x59617c){var _0x59bf8c='';for(var _0x3cd5a4=0x0;_0x3cd5a4<_0x59617c[_0xf163('0x7')]['length'];_0x3cd5a4+=0x1){if(_0x59617c[_0xf163('0x7')][_0x3cd5a4][_0xf163('0x8')]!==_0x1a41f0){if(!_[_0xf163('0x11')](_0x59bf8c)){_0x59bf8c+=',';}_0x59bf8c+=_0x59617c[_0xf163('0x7')][_0x3cd5a4][_0xf163('0xb')]||_0x59617c['value'][_0x3cd5a4][_0xf163('0x8')]||'';_0x59bf8c+='\x20<';_0x59bf8c+=_0x59617c['value'][_0x3cd5a4][_0xf163('0x8')]?_0x59617c['value'][_0x3cd5a4][_0xf163('0x8')]:'anonymous'+random[_0xf163('0x12')](0x6)+'@xcally.com';_0x59bf8c+='>';}}return _0x59bf8c;}function parseEmail(_0x4f0275,_0x2e650c,_0x3893df){if(_0x2e650c[_0xf163('0x13')]){var _0x2aa5f9=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi;while(_0x2aa5f9[_0xf163('0x14')](_0x2e650c[_0xf163('0x13')])){_0x2e650c[_0xf163('0x13')]=_0x2e650c[_0xf163('0x13')][_0xf163('0x15')](_0x2aa5f9,'');}if(_0x2e650c[_0xf163('0x13')][_0xf163('0x16')]('<img')){var _0x44f13b=[];_0x2e650c[_0xf163('0x17')][_0xf163('0x18')](_0x1953d1=>{_0x44f13b[_0xf163('0x19')](_0x1953d1[_0xf163('0x1a')]);});var _0x5025e8=/<img.*? _SRC(.*?)[^>]+>/g;var _0x20c49b=/src="data:image\/([a-zA-Z]*);base64,([^"]*)"/g;var _0x3ebab8=_0x2e650c[_0xf163('0x13')]['replace'](_0x20c49b,_0xf163('0x1b'));var _0x20315d=_0x3ebab8['replace'](_0x5025e8,_0xf163('0x1c'));for(let _0x25086b=0x0;_0x25086b<_0x44f13b[_0xf163('0xe')];_0x25086b++){var _0x12ba3f=_0x20315d[_0xf163('0x15')]('_IMG','<span\x20style=font-weight:bold>\x20[Attachment:\x20'+_0x44f13b[_0x25086b]+_0xf163('0x1d'));_0x20315d=_0x12ba3f;}_0x2e650c[_0xf163('0x13')]=_0x20315d;}_0x3893df['body']=_0x2e650c['html'];}else{_0x3893df[_0xf163('0x1e')]=_0x2e650c[_0xf163('0x1f')];}if(_0x3893df['body']){_0x3893df[_0xf163('0x1e')]=_0x3893df[_0xf163('0x1e')][_0xf163('0x15')](/<a\s+/gi,_0xf163('0x20'));}if(_0x2e650c['to']){_0x3893df[_0xf163('0x21')][_0xf163('0x22')]=getMails(null,_0x2e650c['to']);var _0x5b6271=getMails(_0x4f0275[_0xf163('0x5')],_0x2e650c['to']);if(!_[_0xf163('0x11')](_0x5b6271)){_0x3893df[_0xf163('0x21')]['cc']+=_0x5b6271;}}if(_0x2e650c['cc']){_0x3893df['message']['originCc']=getMails(null,_0x2e650c['cc']);var _0x4e897a=getMails(_0x4f0275[_0xf163('0x5')],_0x2e650c['cc']);if(!_[_0xf163('0x11')](_0x4e897a)){if(!_[_0xf163('0x11')](_0x3893df['message']['cc'])){_0x3893df[_0xf163('0x21')]['cc']+=',';}_0x3893df['message']['cc']+=_0x4e897a;}}if(!_[_0xf163('0x16')](_0x3893df[_0xf163('0x21')][_0xf163('0x22')],_0x4f0275[_0xf163('0x5')])&&!_[_0xf163('0x16')](_0x3893df[_0xf163('0x21')][_0xf163('0x23')],_0x4f0275[_0xf163('0x5')])){_0x3893df[_0xf163('0x21')][_0xf163('0x24')]=_0x4f0275['email'];}if(_0x2e650c[_0xf163('0x17')]&&_0x2e650c['attachments'][_0xf163('0xe')]){_0x3893df[_0xf163('0x21')][_0xf163('0x25')]=_0x2e650c[_0xf163('0x17')][_0xf163('0xe')];for(var _0x3d24bb=0x0,_0x5c7851,_0x4804c0,_0x5e9df4;_0x3d24bb<_0x2e650c['attachments'][_0xf163('0xe')];_0x3d24bb+=0x1){if(_0x2e650c[_0xf163('0x17')][_0x3d24bb][_0xf163('0x26')]===_0xf163('0x27')){_0x5e9df4=_0x2e650c[_0xf163('0x17')][_0x3d24bb][_0xf163('0x1a')]||_0xf163('0x28')+_0x3d24bb;_0x5c7851=util[_0xf163('0x29')](_0xf163('0x2a'),Date[_0xf163('0x2b')](),_0x5e9df4);_0x4804c0=path['join'](config[_0xf163('0x2c')],_0xf163('0x2d'),_0x5c7851);fs[_0xf163('0x2e')](_0x4804c0,_0x2e650c['attachments'][_0x3d24bb][_0xf163('0x2f')]);_0x3893df['message'][_0xf163('0x17')][_0xf163('0x19')]({'name':_0x5e9df4,'basename':_0x5c7851,'type':_0x2e650c[_0xf163('0x17')][_0x3d24bb][_0xf163('0x30')],'filepath':_0x4804c0});}}}if(_0x2e650c['headerLines']&&_0x2e650c[_0xf163('0x31')][_0xf163('0xe')]>0x0){var _0x2a0fcb=[_0xf163('0x32'),_0xf163('0x33'),_0xf163('0x34')];for(var _0x4d908f=0x0;_0x4d908f<_0x2e650c['headerLines'][_0xf163('0xe')];_0x4d908f++){var _0x71c302=_[_0xf163('0xc')](_0x2a0fcb,_0x2e650c['headerLines'][_0x4d908f]['line']);if(_0x71c302>=0x0){_0x3893df['isAutoreply']=!![];}}}return _0x3893df;}exports[_0xf163('0x35')]=function(_0x1c2e33,_0x22e14d,_0x2e842c){var _0x4875f4={'from':getAddress(_0x22e14d[_0xf163('0x36')]),'firstName':getFirstName(_0x22e14d[_0xf163('0x36')]),'lastName':getLastName(_0x22e14d[_0xf163('0x36')]),'mapKey':_0xf163('0x5'),'message':{'from':getMails(_0x1c2e33[_0xf163('0x5')],_0x22e14d[_0xf163('0x36')]),'to':_0x1c2e33[_0xf163('0x5')],'cc':'','subject':_0x22e14d[_0xf163('0x37')]||'','messageId':_0x22e14d[_0xf163('0x38')],'inReplyTo':_0x22e14d[_0xf163('0x39')],'sentAt':moment(_0x22e14d[_0xf163('0x3a')])[_0xf163('0x29')](_0xf163('0x3b')),'attach':![],'attachments':[]}};if(!_0x22e14d[_0xf163('0x13')]&&!_0x22e14d['textAsHtml']){var _0x57c0d4=_[_0xf163('0x3c')](_0x22e14d[_0xf163('0x17')],{'contentType':_0xf163('0x3d')});if(_0x57c0d4[_0xf163('0xe')]){logger[_0xf163('0x3e')](util['format']('Email\x20message\x20%s\x20is\x20in\x20TNEF\x20format:\x20message\x20content\x20will\x20be\x20converted\x20by\x20the\x20system',_0x22e14d[_0xf163('0x38')]));tnef[_0xf163('0x3f')](_[_0xf163('0x40')](_0x57c0d4)[_0xf163('0x2f')],function(_0x2aa0c9,_0x475892){if(_0x475892){_0x22e14d['html']=_0x475892['BodyHTML']||_0xf163('0x41');if(_0x475892[_0xf163('0x42')]){for(var _0x332d38=0x0;_0x332d38<_0x475892[_0xf163('0x42')]['length'];_0x332d38++){var _0x2434d8=_0x475892[_0xf163('0x42')][_0x332d38];_0x4875f4['message'][_0xf163('0x17')][_0xf163('0x19')]({'filename':_0x2434d8['Title'],'content':Buffer[_0xf163('0x36')](_0x2434d8['Data'])});}}}_0x2e842c(parseEmail(_0x1c2e33,_0x22e14d,_0x4875f4));});}else{_0x22e14d['html']=_0xf163('0x41');_0x2e842c(parseEmail(_0x1c2e33,_0x22e14d,_0x4875f4));}}else{_0x2e842c(parseEmail(_0x1c2e33,_0x22e14d,_0x4875f4));}};exports[_0xf163('0x43')]=function(_0x37a44b,_0x244bea){var _0x3106c5=[_0xf163('0x44')+(_0x244bea||''),'auth=Bearer\x20'+_0x37a44b,'',''];return Buffer[_0xf163('0x36')](_0x3106c5[_0xf163('0xf')]('\ 1'),_0xf163('0x45'))[_0xf163('0x46')](_0xf163('0x47'));};
\ No newline at end of file