forked from XM4ZE/XMYULA-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
1 lines (1 loc) Β· 17.2 KB
/
main.js
1
const _0x2c2b57=_0x3b62;(function(_0x3b6596,_0x10ee49){const _0x170217=_0x3b62,_0x539f93=_0x3b6596();while(!![]){try{const _0x2ab22a=parseInt(_0x170217(0x247))/0x1+parseInt(_0x170217(0x266))/0x2+parseInt(_0x170217(0x209))/0x3+parseInt(_0x170217(0x203))/0x4*(parseInt(_0x170217(0x1fe))/0x5)+parseInt(_0x170217(0x216))/0x6*(parseInt(_0x170217(0x223))/0x7)+parseInt(_0x170217(0x257))/0x8+-parseInt(_0x170217(0x219))/0x9*(parseInt(_0x170217(0x214))/0xa);if(_0x2ab22a===_0x10ee49)break;else _0x539f93['push'](_0x539f93['shift']());}catch(_0x39b228){_0x539f93['push'](_0x539f93['shift']());}}}(_0x3793,0x6ad6f),process[_0x2c2b57(0x1ff)][_0x2c2b57(0x227)]='0');import'./config.js';import{createRequire}from'module';import _0x6ac9ca,{join}from'path';import{fileURLToPath,pathToFileURL}from'url';import{platform}from'process';global[_0x2c2b57(0x1f3)]=function filename(_0xca8036=import.meta[_0x2c2b57(0x279)],_0x1b02cd=platform!==_0x2c2b57(0x23a)){const _0x45f10d=_0x2c2b57;return _0x1b02cd?/file:\/\/\//[_0x45f10d(0x293)](_0xca8036)?fileURLToPath(_0xca8036):_0xca8036:pathToFileURL(_0xca8036)[_0x45f10d(0x280)]();},global[_0x2c2b57(0x233)]=function dirname(_0x50ab49){const _0x21d2a8=_0x2c2b57;return _0x6ac9ca['dirname'](global[_0x21d2a8(0x1f3)](_0x50ab49,!![]));},global[_0x2c2b57(0x27c)]=function require(_0x14d8a3=import.meta[_0x2c2b57(0x279)]){return createRequire(_0x14d8a3);};import*as _0x53d68c from'ws';import{readdirSync,statSync,unlinkSync,existsSync,readFileSync,watch}from'fs';import _0x3ea7ac from'yargs';import{spawn}from'child_process';import _0x429100 from'lodash';import{clear}from'console';import _0x1cc464 from'cfonts';import _0x53b2f1 from'syntax-error';import{tmpdir}from'os';import _0x3c5c92 from'chalk';import{format}from'util';import{makeWASocket,protoType,serialize}from'./lib/simple.js';import{Low,JSONFile}from'lowdb';import _0xe493e9 from'pino';import{mongoDB,mongoDBV2}from'./lib/mongoDB.js';const {makeCacheableSignalKeyStore,useMultiFileAuthState,DisconnectReason,fetchLatestBaileysVersion,PHONENUMBER_MCC}=await import(_0x2c2b57(0x28b)),{CONNECTING}=_0x53d68c,{chain}=_0x429100,PORT=process['env'][_0x2c2b57(0x286)]||process['env'][_0x2c2b57(0x23f)]||0xbb8;protoType(),serialize(),global['API']=(_0x464496,_0x3d6716='/',_0x4e96c5={},_0x2194d1)=>(_0x464496 in global[_0x2c2b57(0x26b)]?global[_0x2c2b57(0x26b)][_0x464496]:_0x464496)+_0x3d6716+(_0x4e96c5||_0x2194d1?'?'+new URLSearchParams(Object[_0x2c2b57(0x29b)]({..._0x4e96c5,..._0x2194d1?{[_0x2194d1]:global[_0x2c2b57(0x26f)][_0x464496 in global['APIs']?global[_0x2c2b57(0x26b)][_0x464496]:_0x464496]}:{}})):''),global[_0x2c2b57(0x27f)]={'start':new Date()};const __dirname=global[_0x2c2b57(0x233)](import.meta[_0x2c2b57(0x279)]);global[_0x2c2b57(0x210)]=new Object(_0x3ea7ac(process[_0x2c2b57(0x1fb)][_0x2c2b57(0x20c)](0x2))['exitProcess'](![])[_0x2c2b57(0x28a)]()),global[_0x2c2b57(0x1fc)]=new RegExp('^['+(opts[_0x2c2b57(0x1fc)]||'Γ’β¬Ε½xzXZ/i!#$%+ΓΒ£ΓΒ’Γ’βΒ¬ΓΒ₯^ΓΒ°=ΓΒΆΓ’Λβ ΓβΓΒ·Γβ¬Γ’ΛΕ‘Γ’ΕβΓΒ©ΓοΏ½?:;?&.\x5c-')[_0x2c2b57(0x229)](/[|\\{}()[\]^$+*?.\-\^]/g,_0x2c2b57(0x26c))+']'),global['db']=new Low(/https?:\/\//[_0x2c2b57(0x293)](opts['db']||'')?new cloudDBAdapter(opts['db']):/mongodb(\+srv)?:\/\//i[_0x2c2b57(0x293)](opts['db'])?opts['mongodbv2']?new mongoDBV2(opts['db']):new mongoDB(opts['db']):new JSONFile((opts['_'][0x0]?opts['_'][0x0]+'_':'')+'database.json')),global[_0x2c2b57(0x21c)]=async function loadDatabase(){const _0x5489fd=_0x2c2b57;if(global['db'][_0x5489fd(0x254)])return new Promise(_0x2a2530=>setInterval(async function(){const _0x39786f=_0x5489fd;!global['db'][_0x39786f(0x254)]&&(clearInterval(this),_0x2a2530(global['db'][_0x39786f(0x284)]==null?global['loadDatabase']():global['db'][_0x39786f(0x284)]));},0x1*0x3e8));if(global['db'][_0x5489fd(0x284)]!==null)return;global['db'][_0x5489fd(0x254)]=!![],await global['db'][_0x5489fd(0x296)]()['catch'](console[_0x5489fd(0x23c)]),global['db']['READ']=null,global['db'][_0x5489fd(0x284)]={'users':{},'chats':{},'stats':{},'msgs':{},'banned':{},'sticker':{},'settings':{},...global['db'][_0x5489fd(0x284)]||{}},global['db']['chain']=chain(global['db'][_0x5489fd(0x284)]);},loadDatabase(),global[_0x2c2b57(0x276)]=''+(opts['_'][0x0]||'sessions'),console[_0x2c2b57(0x25b)](_0x2c2b57(0x241)+authFile);function _0x3b62(_0x3eae6f,_0x1168f8){const _0x3793f8=_0x3793();return _0x3b62=function(_0x3b6251,_0x2a5f32){_0x3b6251=_0x3b6251-0x1f1;let _0x4dd684=_0x3793f8[_0x3b6251];return _0x4dd684;},_0x3b62(_0x3eae6f,_0x1168f8);}const {state,saveCreds}=await useMultiFileAuthState(global[_0x2c2b57(0x276)]),{version,isLatest}=await fetchLatestBaileysVersion();console[_0x2c2b57(0x25b)](_0x2c2b57(0x22a)+version['join']('.')+_0x2c2b57(0x27b)+isLatest);const pairingCode=process[_0x2c2b57(0x1fb)][_0x2c2b57(0x249)](_0x2c2b57(0x200)),connectionOptions={'version':version,'logger':_0xe493e9({'level':'silent'}),'printQRInTerminal':!pairingCode,'browser':[_0x2c2b57(0x273),_0x2c2b57(0x23b),_0x2c2b57(0x28f)],'auth':{'creds':state[_0x2c2b57(0x21b)],'keys':makeCacheableSignalKeyStore(state[_0x2c2b57(0x22e)],_0xe493e9()[_0x2c2b57(0x21e)]({'level':_0x2c2b57(0x255),'stream':_0x2c2b57(0x221)}))}};global[_0x2c2b57(0x22c)]=makeWASocket(connectionOptions),conn[_0x2c2b57(0x297)]=![];!opts[_0x2c2b57(0x293)]&&setInterval(async()=>{const _0x320e60=_0x2c2b57;if(global['db']['data'])await global['db']['write']()[_0x320e60(0x201)](console[_0x320e60(0x23c)]);},0x3c*0x3e8);if(opts[_0x2c2b57(0x230)])(await import(_0x2c2b57(0x28e)))[_0x2c2b57(0x258)](global['conn'],PORT);async function connectionUpdate(_0x521115){const _0x1de1bd=_0x2c2b57,{receivedPendingNotifications:_0x2fe7ab,connection:_0x3f7bad,lastDisconnect:_0x5935a8,isOnline:_0x403474,isNewLogin:_0x52388f}=_0x521115;if(_0x52388f)conn[_0x1de1bd(0x297)]=!![];if(_0x3f7bad==_0x1de1bd(0x1fd))console[_0x1de1bd(0x25b)](_0x3c5c92[_0x1de1bd(0x25d)](_0x1de1bd(0x251)));if(_0x3f7bad==_0x1de1bd(0x207))console['log'](_0x3c5c92['green'](_0x1de1bd(0x261)));if(_0x403474==!![])console['log'](_0x3c5c92[_0x1de1bd(0x24d)](_0x1de1bd(0x27a)));if(_0x403474==![])console[_0x1de1bd(0x25b)](_0x3c5c92[_0x1de1bd(0x26a)](_0x1de1bd(0x267)));if(_0x2fe7ab)console['log'](_0x3c5c92[_0x1de1bd(0x1f7)](_0x1de1bd(0x228)));if(_0x3f7bad==_0x1de1bd(0x268))console[_0x1de1bd(0x25b)](_0x3c5c92[_0x1de1bd(0x26a)]('koneksi\x20terputus\x20&\x20mencoba\x20menyambung\x20ulang...'));global[_0x1de1bd(0x27f)][_0x1de1bd(0x217)]=new Date();_0x5935a8&&_0x5935a8[_0x1de1bd(0x23c)]&&_0x5935a8['error'][_0x1de1bd(0x22f)]&&_0x5935a8[_0x1de1bd(0x23c)]['output']['statusCode']!==DisconnectReason[_0x1de1bd(0x244)]&&(console[_0x1de1bd(0x25b)](_0x3c5c92['red'](_0x1de1bd(0x24c))),await global[_0x1de1bd(0x237)](!![]));if(global['db']['data']==null)await global['loadDatabase']();}function _0x3793(){const _0x3fb751=['connectionUpdate','redBright','question','clear','Link\x20group\x20telah\x20diubah\x20ke\x20\x0a@revoke','Tersambung','ffmpeg','message.delete','group-participants.update','?update=','199600LRRXVR','Status\x20Mati','close','Judul\x20grup\x20telah\x20diubah\x20ke\x20\x0a@subject','red','APIs','\x5c$&','sIcon','logger','APIKeys','MASUKAN\x20NOMORMU\x20DENGAN\x20BENAR\x20AWALI\x20DENGAN\x2062\x20!!!','webp','-frames:v','Ubuntu','removeAllListeners','re\x20-\x20require\x20plugin\x20\x27','authFile','requestPairingCode','fromEntries','url','Status\x20Aktif',',\x20isLatest:\x20','__require','then','convert','timestamp','toString','sSubject','find','error\x20require\x20plugin\x20\x27','data','--version','PORT','all','βοΈ\x20Quick\x20Test\x20Done','freeze','parse','@adiwajshing/baileys','color','spromote','./server.js','20.0.04','uncaughtException','info','bgBlack','test','./plugins/index','groupsUpdate','read','isInit','support','join','\x0a\x0aMasukan\x20nomor\x20kamu\x20:','entries','warn','bye','__filename','requiring\x20new\x20plugin\x20\x27','some','blue','yellow','tiny','\x0aPAIRING\x20CODE\x0a','*@user*\x20*πππ\x20ππππ\x20πππ\x20πππππ*','argv','prefix','connecting','5jjFSSb','env','--pairing','catch','./handler.js','1146776hFyxJt','sDesc','ffmpegWebp','plugins','open','length','219819MveUho','Deskripsi\x20telah\x20diubah\x20ke\x20\x0a@desc','bind','slice','-hide_banner','registered','-filter_complex','opts','*@user*\x0a*πππ\x20ππππππ\x20πππ\x20πππππ*\x0a\x0aπ±πππππ\x20ππππ,\x20ππππ\x20ππππππ\x20ππ\x20ππππ\x20πππ\x20πππππ\x20πππππ','participantsUpdate','creds.update','20lsvjgl','sort','29586OHHgbO','connect','stdin','4311243hOYcQV','localeCompare','creds','loadDatabase','fromCharCode','child','sdemote','Please\x20install\x20ffmpeg\x20for\x20sending\x20videos\x20(pkg\x20install\x20ffmpeg)','store','-loglevel','28UnAUZZ','syntax\x20error\x20while\x20loading\x20\x27','module','now','NODE_TLS_REJECT_UNAUTHORIZED','Menunggu\x20Pesan\x20Baru','replace','using\x20WA\x20v','map','conn','Icon\x20grup\x20telah\x20diubah!','keys','output','server','off','left','__dirname','Stickers\x20may\x20not\x20animated\x20without\x20libwebp\x20on\x20ffmpeg\x20(--enable-ibwebp\x20while\x20compiling\x20ffmpeg)','deleted\x20plugin\x20\x27','bold','reloadHandler','white','credsUpdate','win32','Chrome','error','groups.update','reload','SERVER_PORT','magick','Load\x20AuthFile\x20from\x20','filter','welcome','loggedOut','connection.update','greenBright','120862CONWMA','match','includes','Kode\x20tautan\x20kamu\x20:\x20','startsWith','Connecting...','green','messages.upsert','say','authState','Mengaktifkan\x20Bot,\x20Mohon\x20tunggu\x20sebentar...','./handler.js?update=','race','READ','silent','onDelete','6362528KKXWKG','default','\x0aMasukan\x20nomor\x20:','handler','log'];_0x3793=function(){return _0x3fb751;};return _0x3793();}process['on'](_0x2c2b57(0x290),console[_0x2c2b57(0x23c)]);let isInit=!![],handler=await import(_0x2c2b57(0x202));global['reloadHandler']=async function(_0x16d2ff){const _0x282b5d=_0x2c2b57;try{const _0x6e776=await import(_0x282b5d(0x252)+Date[_0x282b5d(0x226)]())[_0x282b5d(0x201)](console[_0x282b5d(0x23c)]);if(Object['keys'](_0x6e776||{})[_0x282b5d(0x208)])handler=_0x6e776;}catch(_0x101fa9){console[_0x282b5d(0x23c)](_0x101fa9);}if(_0x16d2ff){const _0x326e7f=global[_0x282b5d(0x22c)]['chats'];try{global[_0x282b5d(0x22c)]['ws'][_0x282b5d(0x268)]();}catch{}conn['ev'][_0x282b5d(0x274)](),global[_0x282b5d(0x22c)]=makeWASocket(connectionOptions,{'chats':_0x326e7f}),isInit=!![];}return!isInit&&(conn['ev'][_0x282b5d(0x231)]('messages.upsert',conn[_0x282b5d(0x25a)]),conn['ev']['off'](_0x282b5d(0x264),conn['participantsUpdate']),conn['ev'][_0x282b5d(0x231)](_0x282b5d(0x23d),conn[_0x282b5d(0x295)]),conn['ev']['off'](_0x282b5d(0x263),conn[_0x282b5d(0x256)]),conn['ev'][_0x282b5d(0x231)]('connection.update',conn[_0x282b5d(0x25c)]),conn['ev'][_0x282b5d(0x231)](_0x282b5d(0x213),conn[_0x282b5d(0x239)])),conn[_0x282b5d(0x243)]=_0x282b5d(0x211),conn[_0x282b5d(0x1f2)]=_0x282b5d(0x1fa),conn[_0x282b5d(0x28d)]='@user\x20sekarang\x20admin!',conn[_0x282b5d(0x21f)]='@user\x20sekarang\x20bukan\x20admin!',conn[_0x282b5d(0x204)]=_0x282b5d(0x20a),conn[_0x282b5d(0x281)]=_0x282b5d(0x269),conn[_0x282b5d(0x26d)]=_0x282b5d(0x22d),conn['sRevoke']=_0x282b5d(0x260),conn[_0x282b5d(0x25a)]=handler['handler'][_0x282b5d(0x20b)](global['conn']),conn['participantsUpdate']=handler['participantsUpdate'][_0x282b5d(0x20b)](global[_0x282b5d(0x22c)]),conn[_0x282b5d(0x295)]=handler['groupsUpdate'][_0x282b5d(0x20b)](global[_0x282b5d(0x22c)]),conn['onDelete']=handler['deleteUpdate']['bind'](global[_0x282b5d(0x22c)]),conn[_0x282b5d(0x25c)]=connectionUpdate[_0x282b5d(0x20b)](global[_0x282b5d(0x22c)]),conn['credsUpdate']=saveCreds[_0x282b5d(0x20b)](global['conn']),conn['ev']['on'](_0x282b5d(0x24e),conn[_0x282b5d(0x25a)]),conn['ev']['on']('group-participants.update',conn[_0x282b5d(0x212)]),conn['ev']['on'](_0x282b5d(0x23d),conn['groupsUpdate']),conn['ev']['on'](_0x282b5d(0x263),conn[_0x282b5d(0x256)]),conn['ev']['on'](_0x282b5d(0x245),conn['connectionUpdate']),conn['ev']['on'](_0x282b5d(0x213),conn['credsUpdate']),isInit=![],!![];};const pluginFolder=global[_0x2c2b57(0x233)](join(__dirname,_0x2c2b57(0x294))),pluginFilter=_0x5eadda=>/\.js$/[_0x2c2b57(0x293)](_0x5eadda);global[_0x2c2b57(0x206)]={};async function filesInit(){const _0x41b8c6=_0x2c2b57;for(let _0x55b6ce of readdirSync(pluginFolder)[_0x41b8c6(0x242)](pluginFilter)){try{let _0x35ae55=global[_0x41b8c6(0x1f3)](join(pluginFolder,_0x55b6ce));const _0xa5ef84=await import(_0x35ae55);global['plugins'][_0x55b6ce]=_0xa5ef84['default']||_0xa5ef84;}catch(_0x45343a){conn[_0x41b8c6(0x26e)][_0x41b8c6(0x23c)](_0x45343a),delete global[_0x41b8c6(0x206)][_0x55b6ce];}}}filesInit()[_0x2c2b57(0x27d)](_0x2defbb=>console[_0x2c2b57(0x25b)](Object[_0x2c2b57(0x22e)](global[_0x2c2b57(0x206)])))['catch'](console['error']),global[_0x2c2b57(0x23e)]=async(_0x3c3a3a,_0x3ce7ca)=>{const _0x5d5508=_0x2c2b57;if(pluginFilter(_0x3ce7ca)){let _0x174331=global['__filename'](join(pluginFolder,_0x3ce7ca),!![]);if(_0x3ce7ca in global[_0x5d5508(0x206)]){if(existsSync(_0x174331))conn[_0x5d5508(0x26e)]['info'](_0x5d5508(0x275)+_0x3ce7ca+'\x27');else return conn[_0x5d5508(0x26e)][_0x5d5508(0x1f1)](_0x5d5508(0x235)+_0x3ce7ca+'\x27'),delete global[_0x5d5508(0x206)][_0x3ce7ca];}else conn[_0x5d5508(0x26e)][_0x5d5508(0x291)](_0x5d5508(0x1f4)+_0x3ce7ca+'\x27');let _0x57a549=_0x53b2f1(readFileSync(_0x174331),_0x3ce7ca,{'sourceType':_0x5d5508(0x225),'allowAwaitOutsideFunction':!![]});if(_0x57a549)conn[_0x5d5508(0x26e)][_0x5d5508(0x23c)](_0x5d5508(0x224)+_0x3ce7ca+'\x27\x0a'+format(_0x57a549));else try{const _0x4c5dda=await import(global[_0x5d5508(0x1f3)](_0x174331)+_0x5d5508(0x265)+Date[_0x5d5508(0x226)]());global['plugins'][_0x3ce7ca]=_0x4c5dda[_0x5d5508(0x258)]||_0x4c5dda;}catch(_0x4cd2ee){conn[_0x5d5508(0x26e)]['error'](_0x5d5508(0x283)+_0x3ce7ca+'\x0a'+format(_0x4cd2ee)+'\x27');}finally{global[_0x5d5508(0x206)]=Object[_0x5d5508(0x278)](Object[_0x5d5508(0x29b)](global[_0x5d5508(0x206)])[_0x5d5508(0x215)](([_0x20a07a],[_0x53e605])=>_0x20a07a[_0x5d5508(0x21a)](_0x53e605)));}}},Object[_0x2c2b57(0x289)](global[_0x2c2b57(0x23e)]),watch(pluginFolder,global[_0x2c2b57(0x23e)]),await global[_0x2c2b57(0x237)]();async function _quickTest(){const _0x30b15e=_0x2c2b57;let _0xb944c0=await Promise[_0x30b15e(0x287)]([spawn(_0x30b15e(0x262)),spawn('ffprobe'),spawn(_0x30b15e(0x262),[_0x30b15e(0x20d),_0x30b15e(0x222),_0x30b15e(0x23c),_0x30b15e(0x20f),_0x30b15e(0x28c),_0x30b15e(0x272),'1','-f',_0x30b15e(0x271),'-']),spawn('convert'),spawn(_0x30b15e(0x240)),spawn('gm'),spawn(_0x30b15e(0x282),[_0x30b15e(0x285)])][_0x30b15e(0x22b)](_0x3e6c4b=>{const _0x38dfc3=_0x30b15e;return Promise[_0x38dfc3(0x253)]([new Promise(_0x1e414b=>{const _0x24307b=_0x38dfc3;_0x3e6c4b['on'](_0x24307b(0x268),_0x1b9db7=>{_0x1e414b(_0x1b9db7!==0x7f);});}),new Promise(_0x3d97f6=>{const _0x5eab55=_0x38dfc3;_0x3e6c4b['on'](_0x5eab55(0x23c),_0x5111b1=>_0x3d97f6(![]));})]);})),[_0x54bde6,_0x25c741,_0x266554,_0x57031a,_0x287f31,_0x56b82e,_0x1e8810]=_0xb944c0;console['log'](_0xb944c0);let _0xd1ccfa=global[_0x30b15e(0x298)]={'ffmpeg':_0x54bde6,'ffprobe':_0x25c741,'ffmpegWebp':_0x266554,'convert':_0x57031a,'magick':_0x287f31,'gm':_0x56b82e,'find':_0x1e8810};Object[_0x30b15e(0x289)](global['support']);if(!_0xd1ccfa[_0x30b15e(0x262)])conn[_0x30b15e(0x26e)][_0x30b15e(0x1f1)](_0x30b15e(0x220));if(_0xd1ccfa[_0x30b15e(0x262)]&&!_0xd1ccfa[_0x30b15e(0x205)])conn['logger']['warn'](_0x30b15e(0x234));if(!_0xd1ccfa[_0x30b15e(0x27e)]&&!_0xd1ccfa[_0x30b15e(0x240)]&&!_0xd1ccfa['gm'])conn['logger'][_0x30b15e(0x1f1)]('Stickers\x20may\x20not\x20work\x20without\x20imagemagick\x20if\x20libwebp\x20on\x20ffmpeg\x20doesnt\x20isntalled\x20(pkg\x20install\x20imagemagick)');}_quickTest()[_0x2c2b57(0x27d)](()=>conn['logger']['info'](_0x2c2b57(0x288)))[_0x2c2b57(0x201)](console[_0x2c2b57(0x23c)]);import _0x59b1bb from'readline';const more=String[_0x2c2b57(0x21d)](0x200e),readMore=more['repeat'](0xfa1),sleep=_0x4f3027=>{return new Promise(_0x342503=>setTimeout(_0x342503,_0x4f3027));},rl=_0x59b1bb['createInterface']({'input':process[_0x2c2b57(0x218)],'output':process['stdout']}),question=_0xb62a35=>new Promise(_0xe97dc7=>rl[_0x2c2b57(0x25e)](_0xb62a35,_0xe97dc7));if(pairingCode&&!conn[_0x2c2b57(0x250)][_0x2c2b57(0x21b)][_0x2c2b57(0x20e)]){await sleep(0x1b58),console[_0x2c2b57(0x25f)](),_0x1cc464[_0x2c2b57(0x24f)](_0x2c2b57(0x1f9),{'font':_0x2c2b57(0x1f8),'align':_0x2c2b57(0x232),'gradient':[_0x2c2b57(0x26a),_0x2c2b57(0x1f6)]}),console[_0x2c2b57(0x25b)](_0x3c5c92['bold'][_0x2c2b57(0x238)]('βββββββββββ\x20https://github.com/XM4ZE\x20βββββββββββ')),console['log'](_0x3c5c92[_0x2c2b57(0x236)][_0x2c2b57(0x24d)](_0x2c2b57(0x29a)));let phoneNumber=await question(_0x3c5c92['bgBlack'](_0x3c5c92[_0x2c2b57(0x246)]('>\x20')));phoneNumber=phoneNumber[_0x2c2b57(0x229)](/[^0-9]/g,'');!Object[_0x2c2b57(0x22e)](PHONENUMBER_MCC)[_0x2c2b57(0x1f5)](_0x5d2ed4=>phoneNumber[_0x2c2b57(0x24b)](_0x5d2ed4))&&(console[_0x2c2b57(0x25b)](_0x3c5c92['bold']['red'](_0x2c2b57(0x270))),console[_0x2c2b57(0x25b)](_0x3c5c92[_0x2c2b57(0x236)][_0x2c2b57(0x24d)](_0x2c2b57(0x259))),phoneNumber=await question(_0x3c5c92[_0x2c2b57(0x292)](_0x3c5c92[_0x2c2b57(0x246)]('>'))),phoneNumber=phoneNumber['replace'](/[^0-9]/g,''));let code=await conn[_0x2c2b57(0x277)](phoneNumber);code=code?.[_0x2c2b57(0x248)](/.{1,4}/g)?.[_0x2c2b57(0x299)]('-')||code,console[_0x2c2b57(0x25b)](_0x3c5c92[_0x2c2b57(0x236)][_0x2c2b57(0x24d)](_0x2c2b57(0x24a)),_0x3c5c92['bold'][_0x2c2b57(0x1f7)](code)),rl[_0x2c2b57(0x268)]();}