@mooncompany/uplink-chat 0.34.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/uplink.js +1 -1
- package/middleware/error-handler.js +1 -1
- package/package.json +1 -1
- package/public/dist/bundle.5772e248.js +1 -0
- package/public/index.html +1 -1
- package/public/js/agents-data.js +1 -1
- package/public/js/agents-ui.js +1 -1
- package/public/js/agents.js +1 -1
- package/public/js/app.js +1 -1
- package/public/js/appearance-settings.js +1 -1
- package/public/js/artifacts.js +1 -1
- package/public/js/audio-pcm-processor.js +1 -1
- package/public/js/audio-queue.js +1 -1
- package/public/js/bootstrap.js +1 -1
- package/public/js/chat.js +1 -1
- package/public/js/commands.js +1 -1
- package/public/js/connection-api.js +1 -1
- package/public/js/connection.js +1 -1
- package/public/js/context-tracker.js +1 -1
- package/public/js/core.js +1 -1
- package/public/js/cron-panel.js +1 -1
- package/public/js/dashboard.js +1 -1
- package/public/js/developer.js +1 -1
- package/public/js/encryption.js +1 -1
- package/public/js/errors.js +1 -1
- package/public/js/event-bus.js +1 -1
- package/public/js/fetch-utils.js +1 -1
- package/public/js/file-handler.js +1 -1
- package/public/js/files.js +1 -1
- package/public/js/gateway-chat.js +1 -1
- package/public/js/logger.js +1 -1
- package/public/js/markdown.js +1 -1
- package/public/js/message-actions.js +1 -1
- package/public/js/message-renderer.js +1 -1
- package/public/js/missed-messages.js +1 -1
- package/public/js/mobile-debug.js +1 -1
- package/public/js/notifications.js +1 -1
- package/public/js/offline-queue.js +1 -1
- package/public/js/onboarding.js +1 -1
- package/public/js/panels.js +1 -1
- package/public/js/premium.js +1 -1
- package/public/js/primary-header.js +1 -1
- package/public/js/realtime-voice.js +1 -1
- package/public/js/satellite-sync.js +1 -1
- package/public/js/satellite-ui.js +1 -1
- package/public/js/satellites.js +1 -1
- package/public/js/settings.js +1 -1
- package/public/js/shortcuts.js +1 -1
- package/public/js/split-chat.js +1 -1
- package/public/js/split-resize.js +1 -1
- package/public/js/splitview.js +1 -1
- package/public/js/storage.js +1 -1
- package/public/js/streaming-handler.js +1 -1
- package/public/js/stt-settings.js +1 -1
- package/public/js/themes.js +1 -1
- package/public/js/timestamps.js +1 -1
- package/public/js/tts-settings.js +1 -1
- package/public/js/ui.js +1 -1
- package/public/js/update-notifier.js +1 -1
- package/public/js/utils/constants.js +1 -1
- package/public/js/utils/icons.js +1 -1
- package/public/js/utils/sanitize.js +1 -1
- package/public/js/utils/sse-parser.js +1 -1
- package/public/js/vad.js +1 -1
- package/public/js/vendor/dompurify.min.js +1 -1
- package/public/js/voice-settings-v2.js +1 -1
- package/public/js/voice.js +1 -1
- package/public/sw.js +1 -1
- package/server/channel.js +1 -1
- package/server/chat.js +1 -1
- package/server/config-store.js +1 -1
- package/server/config.js +1 -1
- package/server/context.js +1 -1
- package/server/gateway-api-proxy.js +1 -1
- package/server/gateway-commands.js +1 -1
- package/server/gateway-proxy.js +1 -1
- package/server/index.js +1 -1
- package/server/logger.js +1 -1
- package/server/message-store.js +1 -1
- package/server/middleware/auth.js +1 -1
- package/server/middleware.js +1 -1
- package/server/openclaw-discover.js +1 -1
- package/server/premium/index.js +1 -1
- package/server/premium/license.js +1 -1
- package/server/realtime/bridge.js +1 -1
- package/server/realtime/index.js +1 -1
- package/server/realtime/tts-stream.js +1 -1
- package/server/routes/agents.js +1 -1
- package/server/routes/artifacts.js +1 -1
- package/server/routes/chat.js +1 -1
- package/server/routes/config-settings.js +1 -1
- package/server/routes/config.js +1 -1
- package/server/routes/cron.js +1 -1
- package/server/routes/files.js +1 -1
- package/server/routes/index.js +1 -1
- package/server/routes/media.js +1 -1
- package/server/routes/missed-messages.js +1 -1
- package/server/routes/premium.js +1 -1
- package/server/routes/push.js +1 -1
- package/server/routes/satellite.js +1 -1
- package/server/routes/status.js +1 -1
- package/server/routes/stt.js +1 -1
- package/server/routes/voice.js +1 -1
- package/server/routes/webhooks.js +1 -1
- package/server/routes.js +1 -1
- package/server/runtime-config.js +1 -1
- package/server/share.js +1 -1
- package/server/stt/faster-whisper.js +1 -1
- package/server/stt/groq.js +1 -1
- package/server/stt/index.js +1 -1
- package/server/stt/openai.js +1 -1
- package/server/sync.js +1 -1
- package/server/tailscale-https.js +1 -1
- package/server/tts.js +1 -1
- package/server/update-checker.js +1 -1
- package/server/utils/filename.js +1 -1
- package/server/utils.js +1 -1
- package/server/watchdog.js +1 -1
- package/server/websocket/broadcast.js +1 -1
- package/server/websocket/connections.js +1 -1
- package/server/websocket/index.js +1 -1
- package/server/websocket/routing.js +1 -1
- package/server/websocket/sync.js +1 -1
- package/server.js +1 -1
- package/utils/detect-tool-usage.js +1 -1
- package/utils/errors.js +1 -1
- package/utils/html-escape.js +1 -1
- package/utils/id-sanitize.js +1 -1
- package/utils/response.js +1 -1
- package/utils/with-retry.js +1 -1
- package/public/dist/bundle.9b202855.js +0 -1
package/bin/uplink.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
(function(_0xa16693,_0x299360){const _0xb95181=_0xa16693();function _0x3ce2ba(_0x125d6f,_0x583ced){return _0x43f7(_0x125d6f-0x227,_0x583ced);}function _0x326f99(_0xb32764,_0x49feae){return _0x43f7(_0x49feae- -0x380,_0xb32764);}while(!![]){try{const _0x468562=parseInt(_0x326f99(0x1d8,0x26))/(-0x2245*-0x1+0x10*0x1a5+-0x3c94)*(-parseInt(_0x3ce2ba(0x40c,0x451))/(-0x108d+-0x1727+0x27b6))+parseInt(_0x3ce2ba(0x49c,0x57f))/(0x5b2+-0x72b*-0x3+0x57*-0x50)+parseInt(_0x3ce2ba(0x71c,0x53c))/(-0x1ca9+-0x2051+0x3cfe)*(parseInt(_0x326f99(-0x2db,-0x213))/(-0x178c+-0x17ff+0x2f90))+parseInt(_0x3ce2ba(0x6e8,0x6cf))/(-0x203d+-0x1f4d+0x3f90)+parseInt(_0x3ce2ba(0x5c2,0x6c2))/(0x13ed+-0x17d5+0x3ef)+parseInt(_0x3ce2ba(0x56a,0x535))/(-0x1*-0x22bb+0x189f+-0x3b52)*(-parseInt(_0x3ce2ba(0x3b8,0x3f7))/(-0x6b2*-0x5+0x12de+-0x344f))+-parseInt(_0x326f99(-0x8b,0x62))/(-0x29*0x27+0x4*-0x307+0x1265*0x1)*(parseInt(_0x326f99(0x196,0x16f))/(0x5d4*-0x3+-0x6ea*0x4+0x2d2f));if(_0x468562===_0x299360)break;else _0xb95181['push'](_0xb95181['shift']());}catch(_0x6c18a3){_0xb95181['push'](_0xb95181['shift']());}}}(_0x370d,0xa6b*-0xdf+0x489c7+0x9bff9));import{spawn,execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';function _0x370d(){const _0x1f4e09=['ll\x22\x20t','platf','split','_KEY','or\x20El','ail\x20-','ink\x20(','your_','inher','k-cha','slice','YBvmB','⬡\x20Cur','Doxxt','stdio','hostn','nd]\x20[','\x20\x20upl','KmdNu','lines','I_API','f\x20Upl','aldis','NTIAL','fJIpH','QtTKB','nstal','sfOjm','gify','files','link\x20','index','\x0a\x20\x20\x20\x20','empty','enAI\x20','evenL','/upli','#\x20Sta','...','rkRNt','port\x20','uofWg','not\x20f','erver','g.jso','faile','Mvqqy','SIGTE','⬡\x20No\x20','\x20\x20✓\x20R','ID:\x20\x20','liste','ueQyO','dit\x20m',')\x0a\x20\x20\x20','art','to-re','4|6|1','g\x20@mo','PgAmw','readl','fault','\x20limi','ed.\x20N','ta\x20di','iEmkL','rsion','d.\x20St','de.js','\x20\x20✗\x20F','he\x20la','Stop\x20','ion','Value','\x0a\x20\x20In','HemnC','on\x0a','urati','1:187','dfqFN','ing.','3087318Sdgbuo','s\x20alr','ory\x20a','not\x20d','env','jbxms','metho','\x20\x20\x20\x20#','node_','oncom','apply','n\x20edi','ocal\x20','tion\x20','ound\x20','KVbIE','YaRQd','tart\x20','Versi','\x20stat','info','th:\x20u','ay\x20to','kill','comma','⬡\x20Aut','et\x20in','r\x20and','\x20pass','rash.','.\x20👋\x0a','ll\x20','g.log','led)','ated\x20','d\x20\x20\x20\x20','g\x20for','it\x20\x20\x20','ached','denci','eacha','ay\x20be','GuFEo','ear\x20—','\x20\x20Set','gaQte','11DXYAdb','ta\x20wi','at\x20a\x20','(serv','\x20\x20\x20\x20','TOKEN','516036tDJVpG','dYzBl','ed\x20to','backo','e\x20ser','anual','ed:\x20\x20','ady\x20c','Updat','cache','rface','uplin','\x20conf','nfo\x20\x20','ver\x20(','es...','INUSE','ault:','link.','LAgQh','\x20the\x20','Clear','timeo','xGbli','trim','led\x20t','at\x20re','LcPte','win32','npm\x20u','ime:\x20','pany/','df\x20-k','optio','token','\x0a\x20\x20Pa','\x20(PID','\x20\x20⬡\x20','\x20\x20Upt','\x20\x20v','ocess','r\x20(de','(Ctrl','\x20audi','\x0a\x20\x20⬡\x20','set\x20-','\x1b[32m','subsc','ve\x20ag','gqxcF','s\x20fro','fOfeS','EZaBK','ent\x20s','\x0a\x20\x20Da','runni','tchin','ncomp','\x20\x20\x20#\x20','end','or\x0a\x20\x20','on:\x20\x20','\x20\x20→\x20h','...\x0a','\x20enab','\x20read','k\x20Con','\x20in\x20e','cking','ons','ViznM','\x20node','8\x20is\x20','resum','nd\x20lo','pm\x20up','\x20\x20Wat','ttmsG','runs.','XzMue','\x20Remo','ailed','\x20or\x20e','zpCVx','XLpEi','sqpbC','firm:','ID\x20','audio','file','-deta','TTS\x20A','at\x20do','gured','rt\x20--','noWat','AlCqe','\x20data','e:\x20cp','\x20\x20npx','opped','d\x20DAT','teway','\x20\x20\x20un','\x20to\x20s','//127','isten','nSusS','oonco','er\x20ru','Roami','logic','e\x20glo','\x20\x20Bac','Gatew','ninst','\x20star','.upli','readS','hhWVx','--edi','\x20\x20Log','pdate','sWith','ompan','lean.','\x20file','recur','yatui','oxuph','25jEStOP','ODVHr','he\x20se','\x0a⬡\x20Up','npm\x20p','50)\x0a\x20','\x20to\x20r','!\x1b[0m','.migr','x\x20upl','#\x20Cle','unins',':\x0a\x20\x20\x20','\x20Push','\x20-g\x20@','emium','ally:','ntrie','tion\x0a','k\x20—\x20L','canno','pen\x20c','o-res','RBCeT','\x20\x20Thi','d\x20(PI','ating','close','ssed','etect','OvRCo','aded\x20','#\x20Run','ve\x20al','\x20\x20Ser','AzgTr','9RcIXSb','tion','xzAWJ','host','\x20\x20Exa','Sync','GATEW','\x20runn','atchd','\x20hist','inclu','g.pid','_modu','KEN','toppe','ncell','stall','NSKVX','K_HOS','atest','e\x20is\x20','rLsqQ','etup\x20','input','.\x20Fre','ar:','help','chdog','ge.','t\x20wat','test\x20','OR\x20en','e\x20TTS','GET','any/u','round','ata\x0a\x0a','nk-se','--por','COENL','toStr','t\x20rea','ORD','ree','DnOlv','0.0)\x0a','KIqOS','re\x20\x22D','⬡\x20Ope','and\x20a','igure','fig)\x0a','to\x20cl','8080\x20','--for','tor\x20—','evice','letel','k\x20whe','\x20unin','ELEVE','XdehE','\x20less','\x20\x1b[32','--no-','UPLIN','vtlLp','ink-c','\x20\x20Typ','ver\x20a','\x20\x20Ski','rqVQa','NmAPV','detac','disk\x20','\x20prom','nMPvA','fstat','des','\x20\x20Cre','ink\x20w','how\x20t','kfXzj','\x20\x20Com','18768EzAHQk','ver\x20P','m\x20(PI','rver.','|2|3','[0m','ctivi','t\x20\x20\x20\x20','UXqXu','ready','AI\x20Ch','HfNBL','GqVms','VjUkT','ink\x20s','ed\x20me','o\x20Edg','node','e\x20by\x20','requi','✓\x1b[0m','ning','\x20your','\x20\x20\x20-h','\x20to\x20l','JqSqR','/agen','A_DIR','date\x20','\x20#\x20Ed','gGnfJ','fail','nk\x20be','****','/loca','-g\x20@m','xTjBh','>nul\x20','ructo','SECRE','edAt','last\x20','ning\x20','og\x20st','ch\x20','ed,\x20','zfyrn','c/img','first','\x20fail','\x20\x20\x20re','direc','bzfXF','all','plink','UwLll','\x0a⬡\x20Re','This\x20','figur','hing\x20','(((.+','ata\x0a\x20','ved.\x0a','serve','rver\x20','\x1b[90m','\x20—\x20No',':\x20\x20\x20\x20','art\x20m','ound.','--lin','t\x20v','ine','insta','diyLi','c/aud','SIGIN','ty\x20da','\x20warn','\x20sync','v\x20fil','zpFjP','from\x20','gFdui','some','Print','PBcyJ','HOST','xjDDH','PI\x20ke','us\x20\x20\x20','ig\x20--','\x20--ed','detai','avail','UzzbM','\x20vers','.env.','tions','ges-s','AY_TO','\x20\x20Opt','commo','d-con','\x20--no','ame','reque','r.log','l\x20con','lt:\x203','edit','OgDbo','\x20info','nes\x201','messa','emovi','stop','\x20\x20Tha','FPkJY','tadTn','TTS\x20m','sh\x20st','ink\x20i','Eleve','lt\x20po','packa','.0.0.','searc','\x20\x20Try',':\x27\x22\x20g','the\x20e','ng\x1b[0','dog','ZUWSH','data','encod','ns]\x0a\x0a','on\x20(v','rCPms','destr','\x20port','repea','argv','quire','482697KtqSZl','100\x20l','filte','uploa','AY_UR','in\x20us','oLGKw','erCas','Node.','space',',\x20PID','p\x20it\x20','\x20\x20Or\x20','ng\x20np','l\x20—\x20v',':\x20upl','ZMHWZ','sive','ions\x20','YoYAx','mwXxB','cript','rt\x20th','port','Disk\x20','p\x20Upl','\x20chec','g\x20was','og\x20(P','gapiO','not\x20b','\x20\x20\x20St','e\x0a\x20\x20\x20','k\x20ser','oRJGP','fwXpV','\x20in\x20','ckOsy','\x20Port','\x201\x202>','eInte','#\x20Upl','mpany','-chat','\x20manu','emove','l\x20NOT','sion','versa','hat\x20c','eServ','pping','ing\x20U','/dev/','ing\x20m','NkspE','ks\x20pa','--ver','⬡\x20Upl','\x20curr','\x20than','KBTgd','reada','nd\x20to','NiTiS','\x20(>=\x20','s\x20but','tarts','p\x20con','rt:\x20\x20','\x20via\x20','exit','-v\x20\x20\x20','\x20Diag','LtThW','warn','ach','\x20Miss','nning','dcsgh','FhqlQ','\x0a\x20\x20Lo','\x20with','o\x20sto','PZhIV','mine\x20','ity.j','GNIeY','ig\x20fi','able','s\x20que','\x20new\x20','free\x20','d\x20in\x20','\x20\x20\x20\x20S','error','not\x20s','edit\x20','\x20diag','d\x20dat','eeSpa','k\x20Doc','wmic\x20','rt\x20on','\x20\x20\x20\x20•','v,\x20co','ge.js','found','Uplin','g\x20fil','ree\x20—','o\x0a\x0a\x20\x20','log','floor','\x20comp','elf\x0a','vvonV','m(con','ng\x20wi','o\x20con','sages','\x0a\x20\x20⚠️\x20','l\x20tim','\x0a\x20\x20Ca','-host','\x20.env','nk-ch','ning\x0a','op\x20a\x20','cal\x20d','e\x20\x22re','k\x20Uni','\x20→\x20v','ey\x20—\x20','on:\x20v','http:','mNZrt','NOmDw','\x20\x20Sta','o\x20fil','stopp','tarti','ken','reset','max','OvJRw','path','firma','\x20crea','OPENA','ver\x20f','\x20@moo','logs','code','YQcTl','able\x20','\x20on\x20c','e...','PID\x20','s\x20and','yGvBw','Depen','\x20\x20Exp','kesIR','\x20clea','\x22\x20|\x20t','activ','ons.j','PyuSd','--hos','ected','_API_','lled','glanc','\x1b[33m','deter','examp','..\x0a','hat','red','\x20--li','th\x20(c','\x20(def','art!','log\x20e','xNqRh','hdog\x20','k\x20has','ZnjAM','RejuP','ion\x0a\x20','euROb','updat','kage.','⬡\x20Cre','linux','ile)','kaQlZ','JhfMj','igura','\x0a⬡\x20Wa','ssing','.env\x20','set\x22\x20','octor','e:\x20\x20\x20','4463352joVklO','dated','ync','th:\x20','\x20\x20⚠️\x20\x20','EADDR','art\x20t','openS','wing\x20','versi','OpenA','\x20log\x20','PORT','\x20500\x20','for\x20r','sync-','d-mes','confi','ed\x20','\x20(con','\x20upli','\x20npm\x20','\x20remo','GHWTQ','\x20Fail','push','which','456)\x0a','\x20on\x20t','othin','push-','stdou','lwdxD','ABdaQ',':\x20v','--pat','⬡\x20Sto','TFaNZ','anoth','watch','FhzAz','homed','publi','rPid','eady\x20','th\x20wa','ver\x20l','ay\x20re','orm','ete.','map','set\x20\x20','bfebR','quest','son','charA','\x20on\x20(','exist','\x20inst','OFUao','tor:\x20','HBHbj','lhost','\x20\x20\x20\x20O','UZcpQ','cppWp','\x20not\x20','t\x20sta','ng\x20Up','ll\x20\x20\x20','tchdo','padEn','yTxMt','oads\x20','y:\x20','nLabs','nks\x20f','\x20loca','apEXD','join','LKySt','\x208080','\x20>=\x201','and\x20c','PUCHE','y\x20uni','ssage','led.','1455174uzpvyS','s...\x20','\x20\x1b[31','ync.j','AppDa','\x20line','\x0a\x20\x20','nrvXZ','he\x20Up','vatar','er\x20pr','7TMzzug','.0.1','ult:\x20','fZzHv','CREDE','\x20been','n\x20can','zpAzf','defau','BpCgJ','creat','0.0.0','-path','mode','a\x20dir','l\x20log','ble','yfHwi','Show\x20','18\x20re','(empt','d\x20.en','lBZuP','lengt','out\x20a','s\x20wil','start','es\x20ex','.json','\x20\x20\x20Ta','\x20alre','k\x20Inf','\x20\x20✓\x20S','nk-wa','label','all\x20-','ector','o\x20rea','\x20item','(none','fDkqM','pid','es\x20in','ignor','ly:\x20n','hed','\x20—\x20ru','size','stdin','\x20\x20Not','\x0a⬡\x20Al','\x20MB\x20f','m\x20pac','\x20\x20\x20\x20v','hat\x20s','nano','once','utf8','cjSMp','ists','5631290UZbNED','l\x20cle','g\x20(au','\x20edit','nv\x20in','Run\x20i','o\x20ope','\x20stop','t\x20on\x20','zdBwd','.\x20Run','it\x20.e','dog.j','nk.pi','efAfp','\x20Uplo','KEY','Dpyrn','resta','.env','ch,\x20-','k\x20Res','ogs\x20i','could','parse','y)\x1b[0','n\x20bac','\x20\x20\x20\x20\x20','ath','tall','IYEkF','his\x20h','ijOxH','ar\x20da','sgvIv','premi','compl','2>&1','top','nose\x20','\x20\x20\x20up','ated','Zrciq','r.js','d\x20log','\x20for\x20','fTHVo','s\x20are','rent\x20','\x20\x20\x20--','hen\x20t','\x20\x20Use','\x20PID\x20','ing','d\x20wat','npx\x20u','PASSW','r\x0a\x20\x20\x20','\x20\x20\x20Sh','✗\x1b[0m','ted\x20t','eyBaK','write','nes\x0a\x20','onfig','mples','3456','(PID\x20','\x20--fo','alue','xJAYh','ation','hkGvt','Host\x20','backg','xampl','meout','--hel','ng\x20(','XcMDi','wdUlT','outpu','\x20watc','abs\x20k','\x20\x20\x20\x20d','\x20Numb','.exam','nd\x20(d','\x20\x20\x20\x20-','--det','statu','mands','fore\x20','\x20\x20\x20Ch','to\x20bi','cwd','⬡\x20Fai','alloc','pass','aw\x20se','ink\x20d','d\x20ser','modul','ttp:/','share','\x20defa','force','ripti','ly:\x20','\x20\x20Run','umKey','execP','-watc','uto-r','rt\x0a\x20\x20','+C\x20to','8|7|5','PID\x20f','or\x20us','_here','js\x20ve','s\x20run','e\x20\x20\x20\x20','127.0','docto','\x20logs','strin','wBQzH','xqBvr','\x20Stop','setsi','at\x20st','\x0a\x20\x20Po','les','eset)','TgTlw','et\x20Fr','toLow','—\x20run','⬡\x20Res','npQSn','Port\x20'];_0x370d=function(){return _0x1f4e09;};return _0x370d();}function _0x210841(_0x21d217,_0x14f0be){return _0x43f7(_0x21d217-0x27,_0x14f0be);}import{createRequire}from'module';import _0x53159e from'net';import _0x26ba20 from'http';import _0x4ee547 from'os';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x3fb8e7={'zfyrn':function(_0x3a1d0e,_0x3f13f0,_0x370bd2){return _0x3a1d0e(_0x3f13f0,_0x370bd2);},'AlCqe':_0x14a048(-0x130,-0x88)+'(empt'+'y)\x1b[0'+'m','fOLPf':function(_0x784783,_0x204985){return _0x784783/_0x204985;},'bzfXF':function(_0x3dda2b,_0x5536b4){return _0x3dda2b*_0x5536b4;},'JqSqR':_0x53f159(0x1fa,0xa1),'xjDDH':'RbdVx','ZUWSH':_0x14a048(-0x16d,0x67),'ckOsy':'KcwHa','gaQte':'MBfFV','VrgTh':_0x53f159(-0x156,-0x1b9)+')+)+)'+'+$','LcPte':'⬡\x20.en'+_0x53f159(-0x35a,-0x1a5)+_0x14a048(-0x105,-0x109)+_0x14a048(0x2e5,0x1e3)+_0x14a048(0x136,0x13e)+_0x14a048(-0x21c,-0x2a)+_0x14a048(-0x225,-0xda)+_0x53f159(0x5f,-0x134)+_0x14a048(0x292,0x174)+_0x53f159(-0x2a3,-0x199)+'it','KVbIE':function(_0x1e3cc5){return _0x1e3cc5();},'VjUkT':function(_0x2a489f,_0x1adb34){return _0x2a489f===_0x1adb34;},'fZzHv':_0x53f159(-0x3de,-0x26c),'pSSVE':function(_0x3e1800,_0x105e6d,_0x1f6f23,_0x27078a){return _0x3e1800(_0x105e6d,_0x1f6f23,_0x27078a);},'lihIa':_0x53f159(-0x22c,-0x281)+'ng','uBiFz':_0x14a048(0x1ed,0x252)+'k','cppWp':_0x53f159(-0x403,-0x27a)+'nk'};function _0x14a048(_0x3a2a1f,_0x414951){return _0x43f7(_0x414951- -0x2ae,_0x3a2a1f);}function _0x53f159(_0x2c31d8,_0x1dbd84){return _0x43f7(_0x1dbd84- -0x3da,_0x2c31d8);}const _0x2115b5=(function(){const _0x24076f={'Zrciq':function(_0x3afac1,_0x54ee56){return _0x3fb8e7['fOLPf'](_0x3afac1,_0x54ee56);},'cjSMp':function(_0x1ef618,_0x1d486b){function _0x1a0db0(_0x49b0b8,_0x55cdeb){return _0x43f7(_0x49b0b8- -0x211,_0x55cdeb);}return _0x3fb8e7[_0x1a0db0(0x8,0x60)](_0x1ef618,_0x1d486b);},'KmdNu':function(_0x4ec8c0,_0x2e5105){return _0x4ec8c0>=_0x2e5105;},'sWDrx':_0x109a24(0x3a1,0x345)+'space','jeDQp':function(_0x459444,_0x283917,_0x30017a){function _0x39a044(_0x5be7d9,_0x54b4dc){return _0x109a24(_0x54b4dc- -0x1d5,_0x5be7d9);}return _0x3fb8e7[_0x39a044(0x2c,0x152)](_0x459444,_0x283917,_0x30017a);},'RBCeT':_0x3fb8e7[_0x109a24(0x312,0x334)],'fAhit':_0x3fb8e7[_0x48b094(0x28f,0xfa)],'COENL':_0x3fb8e7[_0x109a24(0x37e,0x2ee)]};function _0x48b094(_0x28e9ac,_0x28dff0){return _0x53f159(_0x28dff0,_0x28e9ac-0x42c);}function _0x109a24(_0x1a12a8,_0x385a6a){return _0x53f159(_0x385a6a,_0x1a12a8-0x4ee);}if('KcwHa'!==_0x3fb8e7[_0x109a24(0x3ae,0x355)]){const _0x52ae01=_0x235b8f?_0x3fb8e7['zfyrn'](_0x8d65e1,_0x5d36d2,_0x478481):_0x3fb8e7[_0x109a24(0x25f,0x1f7)];_0x5df85d[_0x109a24(0x3f9,0x530)]('\x20\x20'+_0x7badbb[_0x48b094(0x3dc,0x273)+'d'](_0x30e209+(0x14ee+0x2b*-0x80+0x94))+_0x52ae01);}else{let _0x5839f6=!![];return function(_0x370b49,_0x503bd8){const _0x3ad017={};function _0x4d6906(_0x4d28a4,_0x58917f){return _0x109a24(_0x4d28a4- -0x295,_0x58917f);}_0x3ad017[_0x4d6906(0x17d,0x183)]=_0x24076f[_0x41d71b(-0x47,-0x15d)];const _0x1e0088=_0x3ad017;function _0x41d71b(_0x56d709,_0x36dd87){return _0x109a24(_0x56d709- -0x2df,_0x36dd87);}if(_0x24076f['fAhit']===_0x24076f[_0x41d71b(-0x13,0x173)]){const _0x2af179=_0x2e4499['round'](_0x24076f[_0x4d6906(0x28b,0x349)](_0x1c57fe,_0x24076f[_0x41d71b(0x215,0x167)](0x7*0x581+-0xb40+-0x1747,0x89f+-0x4*-0x5da+-0x7*0x401)));_0x24076f[_0x4d6906(0x301,0x4b1)](_0x2af179,0x1d89+-0x1ba1+0x6*0x2)?_0x47414b(_0x24076f['sWDrx'],_0x2af179+('\x20MB\x20f'+_0x4d6906(0x3b,0x135))):_0x24076f['jeDQp'](_0x65434f,_0x4d6906(0x10c,0x17a)+_0x41d71b(0xb3,0x21c),_0x2af179+(_0x4d6906(0x258,0xb7)+'ree\x20—'+_0x41d71b(0x4,0x137)+_0x4d6906(0x130,0x303)+_0x41d71b(0x185,0x27b)+'MB'));}else{const _0x153b07=_0x5839f6?function(){function _0xfb15dc(_0x421de2,_0x4cccaf){return _0x4d6906(_0x421de2- -0x1a0,_0x4cccaf);}function _0x39998e(_0x21180d,_0x24581a){return _0x4d6906(_0x24581a- -0x1aa,_0x21180d);}if(_0x503bd8){if('Sjpzr'===_0x1e0088[_0x39998e(0xe7,-0x2d)])_0x3330e3=_0x39998e(-0x21f,-0xfd)+_0x39998e(-0x175,-0xa);else{const _0x4c7543=_0x503bd8[_0x39998e(-0x5d,0x1a0)](_0x370b49,arguments);return _0x503bd8=null,_0x4c7543;}}}:function(){};return _0x5839f6=![],_0x153b07;}};}}()),_0x5440a1=_0x2115b5(this,function(){function _0x23416d(_0x28af50,_0xfec8b2){return _0x53f159(_0x28af50,_0xfec8b2-0x74c);}function _0x5974d5(_0x443980,_0x26f4e2){return _0x53f159(_0x443980,_0x26f4e2-0x20d);}return _0x3fb8e7[_0x5974d5(0x2c4,0x321)]==='MBfFV'?_0x5440a1[_0x23416d(0x343,0x52b)+_0x5974d5(0xff,0x24a)]()[_0x23416d(0x5ac,0x5d6)+'h'](_0x3fb8e7['VrgTh'])[_0x5974d5(0x15,-0x14)+'ing']()['const'+_0x23416d(0x5d7,0x57d)+'r'](_0x5440a1)[_0x5974d5(-0x88,0x97)+'h'](_0x3fb8e7['VrgTh']):null;});_0x3fb8e7[_0x53f159(-0x1d,0xf6)](_0x5440a1);if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x3fb8e7[_0x14a048(-0x222,-0xbc)](process['platf'+'orm'],_0x53f159(0x235,0x137))){if(_0x3fb8e7[_0x53f159(-0x7a,-0x1e8)](_0x3fb8e7['fZzHv'],_0x3fb8e7[_0x14a048(0x11,0xfb)])){const _0x45541f=process.env.APPDATA||_0x3fb8e7['pSSVE'](join,_0x4ee547[_0x53f159(-0x1ee,-0x6e)+'ir'](),_0x14a048(-0x8e,0xf1)+'ta',_0x3fb8e7['lihIa']);return join(_0x45541f,_0x3fb8e7['uBiFz']);}else _0x5e465e[_0x14a048(0x84,0x37)](_0x3fb8e7[_0x53f159(0x45,0x136)]),_0x20cd0d[_0x53f159(-0x2eb,-0x11e)](0x1e94+-0x1240+-0xc54);}return _0x3fb8e7[_0x14a048(0x120,-0x9b)](join,_0x4ee547[_0x14a048(-0xd,0xbe)+'ir'](),_0x3fb8e7[_0x14a048(-0xff,0xd6)]);}const DATA_DIR=resolveDataDir();try{const _0x32a24e={};_0x32a24e[_0x210841(0x191,0x381)+_0x6aac3f(0x99,0x42)]=!![],mkdirSync(DATA_DIR,_0x32a24e);}catch{}const PID_FILE=join(DATA_DIR,_0x210841(0x187,0x2f3)+_0x210841(0x416,0x251)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x6aac3f(-0x8d,0xb0)+_0x210841(0x3ee,0x1fa)+_0x6aac3f(0x19c,-0x4f)+_0x6aac3f(-0x51,-0x23c)),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x210841(0x187,0x28)+_0x6aac3f(0x1da,0x108)+_0x210841(0x3b0,0x306)+_0x6aac3f(0x2af,0x451)+'n'),args=process[_0x210841(0x29a,0x29a)][_0x6aac3f(0x28d,0xe3)](0x1857*0x1+-0x25*-0x37+0x812*-0x4),command=args[0x1*0x1196+0x2c6+-0x145c]||_0x6aac3f(0x1d3,0x1ae),flags={};for(let i=0x1bf5+-0xb5+-0x1b40;i<args[_0x210841(0x3e4,0x45a)+'h'];i++){const qlVsBy=(_0x6aac3f(0x2bc,0x471)+'|0|9|'+_0x6aac3f(0x269,0x129)+_0x210841(0x210,0x3db))[_0x210841(0x499,0x547)]('|');let qgKXAb=0x2*-0xda9+0x2493+-0x17*0x67;while(!![]){switch(qlVsBy[qgKXAb++]){case'0':(args[i]===_0x6aac3f(0xc1,-0x110)+_0x210841(0x2cb,0x22e)||args[i]==='-v')&&(flags[_0x210841(0x373,0x4af)+'on']=!![]);continue;case'1':(args[i]===_0x210841(0x456,0x5bc)+'p'||args[i]==='-h')&&(flags[_0x210841(0x1d2,0x128)]=!![]);continue;case'2':args[i]===_0x6aac3f(0x179,0x367)+'h'&&(flags[_0x210841(0x32e,0x384)]=!![]);continue;case'3':(args[i]===_0x210841(0x1ee,0x248)+'ce'||args[i]==='-f')&&(flags[_0x210841(0x473,0x466)]=!![]);continue;case'4':args[i]===_0x210841(0x1de,0x1d7)+'t'&&args[i+(-0x1*0x1c6a+-0xbf9*-0x3+-0x2*0x3c0)]&&(flags['port']=parseInt(args[i+(-0x223*-0x2+0x1bbb*-0x1+0x1776)],-0xd*0x5b+-0x1238+-0x16e1*-0x1),i++);continue;case'5':args[i]===_0x6aac3f(-0x8a,0xbc)+'t'&&(flags[_0x6aac3f(0x66,0x15f)]=!![]);continue;case'6':args[i]===_0x6aac3f(0x131,0x249)+'t'&&(flags[_0x210841(0x1bb,0x191)]=args[i+(-0x1d9a+0x2*-0xe6b+0x3a71)]||'0.0.0'+'.0',i++);continue;case'7':args[i]===_0x6aac3f(0x3e,0x154)+'es'&&args[i+(0xfcd+-0x7b8+-0x814)]&&(flags[_0x6aac3f(0x296,0x2f5)]=parseInt(args[i+(-0x1bbd+0x18a+0x1a34)],-0x17*-0x2+-0x3*-0xef+-0x2f1),i++);continue;case'8':args[i]===_0x210841(0x1f8,0x17)+_0x6aac3f(0x17d,0x243)+_0x6aac3f(0x7c,0x7f)&&(flags[_0x6aac3f(-0xa3,-0x32)+'chdog']=!![]);continue;case'9':(args[i]===_0x6aac3f(0x24e,0x277)+_0x6aac3f(0xd4,-0xb5)||args[i]==='-d')&&(flags[_0x210841(0x201,0x31b)+'h']=!![]);continue;}break;}}if(flags[_0x6aac3f(0x15f,0x14d)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x6aac3f(0x75,-0xef)+'ge.js'+'on'));console[_0x6aac3f(0xf8,-0x81)](_0x6aac3f(0x313,0x474)+_0x210841(0x4a0,0x48b)+_0x6aac3f(0x3f,0xfa)+pkg[_0x210841(0x373,0x430)+'on']),process[_0x6aac3f(0xcf,0x1a8)](-0x123c+-0x1*0x1ba7+0x2de3);}function _0x43f7(_0x1214ae,_0x2d624c){_0x1214ae=_0x1214ae-(0x2bb*0x1+0x1123+0x21*-0x92);const _0x272a98=_0x370d();let _0x41c1fa=_0x272a98[_0x1214ae];return _0x41c1fa;}flags[_0x210841(0x1d2,0x393)]&&(console[_0x6aac3f(0xf8,-0x7d)](_0x6aac3f(-0xd6,0x2f)+_0x210841(0x308,0x4e3)+_0x210841(0x1a7,0x249)+_0x6aac3f(0x2e0,0x1ed)+_0x6aac3f(0x2,-0xc4)+'at\x0a\x0a\x20'+'\x20Usag'+'e:\x0a\x20\x20'+_0x6aac3f(0x294,0x1b2)+_0x6aac3f(-0x19,-0x184)+'hat\x20['+_0x6aac3f(0x2ec,0x26c)+_0x6aac3f(0x293,0x2d5)+_0x210841(0x133,0x40)+_0x210841(0x294,0x380)+_0x210841(0x20b,0x36a)+_0x210841(0x464,0x343)+_0x6aac3f(-0x74,-0xf6)+_0x210841(0x186,0x316)+'t\x20\x20\x20\x20'+_0x6aac3f(0xa7,-0x64)+_0x210841(0x370,0x202)+_0x6aac3f(0x1b6,0xbd)+_0x210841(0x4b5,0x541)+_0x6aac3f(0x37,-0x103)+_0x210841(0x13b,0x64)+_0x210841(0x4d4,0x59f)+_0x6aac3f(0x2b9,0x431)+'\x20stop'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0xa7,0x1af)+_0x210841(0x31c,0x3d5)+_0x6aac3f(-0xcb,0x2e)+_0x6aac3f(0x19a,0x273)+_0x6aac3f(0x2a1,0x240)+_0x6aac3f(0x37,0x6f)+_0x210841(0x442,0x63e)+_0x6aac3f(0x2e7,0x143)+_0x210841(0x266,0x23d)+_0x6aac3f(0x252,0x357)+'eck\x20i'+_0x6aac3f(0x298,0x2c7)+_0x210841(0x286,0x3a2)+_0x210841(0x482,0x405)+_0x210841(0x31b,0x4d4)+'\x20\x20\x20\x20i'+_0x210841(0x529,0x3aa)+'\x20\x20\x20\x20\x20'+'\x20Show'+_0x6aac3f(0xc3,0xf6)+_0x6aac3f(-0xcd,-0x239)+_0x6aac3f(-0x46,-0x122)+_0x6aac3f(0x304,0x206)+_0x210841(0x349,0x230)+_0x210841(0x2bc,0x478)+_0x210841(0x486,0x528)+_0x210841(0x424,0x41b)+_0x210841(0x3ea,0x31c)+'il\x20th'+_0x6aac3f(0x30c,0x474)+_0x210841(0x398,0x47b)+_0x6aac3f(0x20b,0x3ba)+'n\x20rea'+_0x210841(0x316,0x373)+'e\x0a\x20\x20\x20'+_0x6aac3f(0x314,0x3b1)+'ig\x20\x20\x20'+_0x6aac3f(0x22f,0x19d)+'ow\x20cu'+'rrent'+_0x6aac3f(0x314,0x256)+_0x210841(0x363,0x1a4)+_0x210841(0x1a6,0x2f1)+_0x6aac3f(0x249,0x42c)+_0x210841(0x368,0x19c)+_0x210841(0x424,0x59a)+_0x6aac3f(0xd1,0x1e7)+_0x6aac3f(0x21c,0x390)+_0x210841(0x272,0x1c2)+'n\x20iss'+'ues\x0a\x20'+_0x210841(0x23e,0x204)+_0x6aac3f(0x189,0x297)+_0x6aac3f(0x210,0x196)+'Clear'+'\x20chat'+_0x210841(0x1c1,0x12d)+_0x6aac3f(0x2d6,0x48d)+_0x210841(0x15c,-0x99)+_0x6aac3f(0x109,0x2f8)+_0x6aac3f(0x35,-0x180)+_0x210841(0x431,0x400)+_0x210841(0x228,0xf0)+_0x6aac3f(0x210,0x324)+_0x210841(0x524,0x3c6)+'e\x20to\x20'+'the\x20l'+_0x6aac3f(-0x49,-0x140)+_0x6aac3f(0x58,-0x54)+'ion\x0a\x20'+_0x210841(0x179,-0x5e)+_0x6aac3f(0x41,0x149)+_0x6aac3f(0x19b,0x378)+_0x210841(0x4de,0x357)+'serve'+_0x210841(0x503,0x3c2)+'\x20remo'+_0x210841(0x1b5,0x27b)+'l\x20Upl'+_0x210841(0x46d,0x470)+_0x6aac3f(-0x38,0x196)+_0x210841(0x271,0x449)+'ions:'+_0x210841(0x4b7,0x36d)+_0x210841(0x1de,0x6e)+'t\x20N\x20\x20'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0xae,0x147)+_0x6aac3f(0x10,0x63)+_0x210841(0x17c,0x111)+_0x6aac3f(0x18e,0x2af)+_0x210841(0x3d5,0x30b)+_0x6aac3f(0x65,-0x188)+_0x210841(0x385,0x3f7)+_0x6aac3f(0x24d,0x52)+_0x6aac3f(0x104,-0xbb)+'\x20H\x20\x20\x20'+_0x6aac3f(0x210,0x380)+_0x210841(0x452,0x395)+_0x210841(0x467,0x41e)+_0x6aac3f(0xc7,0x8e)+_0x6aac3f(0x13e,0x225)+_0x210841(0x52d,0x32c)+'\x200.0.'+_0x210841(0x1e5,0x12f)+_0x210841(0x461,0x30a)+_0x6aac3f(-0xa8,0x17)+_0x6aac3f(0x209,0x1d2)+_0x6aac3f(0x2f7,0x141)+_0x210841(0x40e,0x552)+_0x210841(0x423,0x3fe)+'kgrou'+_0x6aac3f(0x24c,0x2f8)+'aemon'+'\x20mode'+_0x6aac3f(0x2b9,0x3ba)+_0x6aac3f(0x60,0x21d)+_0x6aac3f(0x265,0x21a)+'hdog\x20'+_0x210841(0x476,0x65d)+_0x6aac3f(0xda,0x296)+_0x210841(0x3e5,0x43c)+_0x6aac3f(0x266,0x11b)+'estar'+_0x210841(0x1d5,0x23c)+'chdog'+_0x210841(0x4b7,0x3ba)+_0x210841(0x252,0x353)+'es\x20N\x20'+_0x210841(0x424,0x3a8)+_0x210841(0x45e,0x25c)+'er\x20of'+_0x6aac3f(0x161,0xd8)+_0x210841(0x4aa,0x489)+_0x6aac3f(-0x9a,-0x1be)+'how\x20('+'logs,'+_0x210841(0x472,0x436)+_0x210841(0x3cf,0x2f7)+_0x210841(0x199,-0x5d)+_0x6aac3f(0x226,0x34a)+_0x6aac3f(0xe9,-0x8f)+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x195,0xe3)+_0x6aac3f(-0x6b,-0x2f)+'onfig'+_0x210841(0x155,0x30e)+'ditor'+_0x210841(0x37d,0x538)+_0x6aac3f(-0x29,-0x154)+_0x6aac3f(0x24d,0x93)+_0x210841(0x3d9,0x579)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x4d,-0xe5)+'\x20conf'+_0x210841(0x2f4,0xfa)+'le\x20pa'+_0x210841(0x351,0x4ce)+_0x210841(0x449,0x5ab)+_0x6aac3f(0x2b9,0x12c)+_0x6aac3f(0x239,0x173)+'rce,\x20'+'-f\x20\x20\x20'+_0x6aac3f(-0x16,0x139)+_0x6aac3f(0xcc,0x22c)+_0x210841(0x32f,0x3f3)+_0x210841(0x4f5,0x4c1)+'promp'+'ts\x20(r'+(_0x6aac3f(0x27b,0x2b9)+'\x0a\x20\x20\x20\x20'+_0x210841(0x2e4,0x15a)+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x210,0xd1)+'\x20Show'+_0x6aac3f(0x58,0xe2)+_0x6aac3f(0x146,0x16a)+_0x6aac3f(0xf,0x201)+_0x6aac3f(0x210,0x1f2)+_0x210841(0x424,0x4f3)+_0x6aac3f(0xe6,0x218)+_0x210841(0x209,0x12)+_0x6aac3f(0x214,0x10f)+'elp\x0a\x0a'+_0x6aac3f(-0x58,0x83)+_0x6aac3f(0x236,0x17b)+_0x210841(0x1a0,0x96)+'\x20npx\x20'+_0x6aac3f(0x313,0x45e)+_0x210841(0x4a0,0x3ff)+_0x210841(0x213,0x2d0)+_0x210841(0x424,0x497)+_0x210841(0x424,0x431)+_0x210841(0x4ef,0x67b)+'\x20Star'+_0x6aac3f(0x1fd,0x314)+_0x210841(0x3d5,0x28f)+_0x6aac3f(0x74,-0x1e)+_0x210841(0x47b,0x648)+_0x210841(0x175,0xd4)+_0x210841(0x37e,0x323)+_0x210841(0x31a,0x1fa)+'at\x20--'+_0x6aac3f(0x2ab,0x3dd)+_0x210841(0x1ed,0x138)+_0x210841(0x424,0x5a5)+_0x6aac3f(0x2a8,0x30d)+_0x210841(0x303,0x39d)+_0x210841(0x298,0x433)+_0x210841(0x3bb,0x539)+_0x6aac3f(0x2a3,0x226)+_0x6aac3f(0x22c,0x10c)+_0x6aac3f(0x2e,0xb3)+_0x6aac3f(0xb3,0xa2)+'\x20stop'+'\x20\x20\x20\x20\x20'+_0x6aac3f(0x210,0x6b)+_0x6aac3f(-0xc8,-0x187)+_0x210841(0x4de,0x6c1)+'the\x20s'+'erver'+'\x0a\x20\x20\x20\x20'+_0x210841(0x440,0x538)+_0x210841(0x242,0x3cc)+'-chat'+'\x20info'+_0x6aac3f(0x210,0x112)+_0x6aac3f(0x210,0x113)+_0x6aac3f(-0xc8,-0x2bb)+_0x6aac3f(0x1cb,0x39f)+'setup'+_0x6aac3f(0x68,0x1bb)+_0x6aac3f(0x2a3,0x21e)+_0x210841(0x440,0x5e5)+'plink'+_0x210841(0x2c7,0x11b)+_0x6aac3f(0x272,0x174)+_0x210841(0x350,0x190)+_0x210841(0x27d,0x3b6)+'00\x20#\x20'+'Tail\x20'+_0x210841(0x235,0x3f)+_0x6aac3f(0x89,-0xc3)+'og\x20li'+_0x210841(0x448,0x35a)+'\x20\x20\x20np'+_0x210841(0x19d,0x228)+'ink-c'+_0x6aac3f(0xb9,0xac)+'onfig'+_0x6aac3f(0x54,0x4c)+_0x210841(0x50d,0x446)+_0x210841(0x229,0x383)+_0x6aac3f(0x200,0x1cb)+_0x6aac3f(0x1f9,0x3ac)+_0x6aac3f(0xe,0x1cc)+_0x6aac3f(0x1f8,0x5a)+_0x6aac3f(-0xc6,-0x2a0)+_0x6aac3f(-0x9f,-0x1eb)+_0x6aac3f(0x16a,0x1f)+_0x210841(0x31a,0x2a5)+_0x210841(0x16e,0x73)+'ctor\x20'+_0x210841(0x424,0x54e)+_0x210841(0x424,0x609)+_0x6aac3f(-0x60,0x3b)+_0x6aac3f(0xea,-0x2)+'nosti'+'cs\x0a\x20\x20'+'\x20\x20npx'+_0x6aac3f(0x16a,0x1dd)+_0x6aac3f(0x106,0xa6)+_0x6aac3f(0x322,0x3ba)+_0x210841(0x13f,0x2d)+'-forc'+_0x210841(0x483,0x47e)+_0x6aac3f(-0x76,0xf5)+_0x210841(0x42a,0x515)+_0x210841(0x517,0x6be)+'thout'+_0x6aac3f(-0x11,-0x1c5)+'pt\x0a\x20\x20')),process[_0x210841(0x2e3,0x1b4)](-0x93*-0xf+-0xf*0x257+-0x153*-0x14));function isRunning(_0x2bd1ce){const _0x280777={};_0x280777[_0x193efd(-0x22a,-0x49)]='Disk\x20'+_0x4d7cf9(0x359,0x206),_0x280777[_0x193efd(0x268,0xd6)]=_0x193efd(0xb2,0x1c0)+'\x20not\x20'+'deter'+_0x4d7cf9(0x76,0x252)+_0x193efd(-0x110,0x98)+_0x4d7cf9(0x1,0x163)+_0x193efd(-0x89,0x45);function _0x193efd(_0x331d3f,_0x5cf883){return _0x210841(_0x5cf883- -0x260,_0x331d3f);}function _0x4d7cf9(_0x525d65,_0x12c874){return _0x210841(_0x12c874- -0x9f,_0x525d65);}_0x280777[_0x4d7cf9(0x462,0x413)]=function(_0x1e3422,_0x536519){return _0x1e3422!==_0x536519;},_0x280777[_0x193efd(-0x169,0x22)]=_0x4d7cf9(0x2e2,0x31f);const _0x3393d3=_0x280777;try{if(_0x3393d3[_0x4d7cf9(0x306,0x413)](_0x3393d3[_0x4d7cf9(-0x1c,0x1e3)],_0x3393d3['FPkJY']))_0x1cf222(_0x3393d3[_0x193efd(0x1a9,-0x49)],_0x3393d3['YQcTl']);else return process['kill'](_0x2bd1ce,0x2236+-0x1558+-0xb7*0x12),!![];}catch{return![];}}function getPid(){function _0x48ba45(_0x352a6c,_0x3e260b){return _0x6aac3f(_0x3e260b-0x53f,_0x352a6c);}const _0x4ae814={'XcMDi':function(_0x406efe,_0xcbff6,_0x287ef9){return _0x406efe(_0xcbff6,_0x287ef9);},'TFaNZ':_0x20aeb6(0x575,0x61a),'SjHDB':function(_0x2919f7,_0x12cb1a,_0x2dbf08){return _0x2919f7(_0x12cb1a,_0x2dbf08);},'uofWg':'.env\x20'+_0x20aeb6(0x4da,0x37f),'UZcpQ':_0x48ba45(0x73a,0x6ce)+_0x48ba45(0x499,0x666)+_0x20aeb6(0x1af,0x367)+'able','npQSn':_0x20aeb6(0x46b,0x5b7)+_0x20aeb6(0x583,0x4f2)+_0x48ba45(0x607,0x6d7)+_0x20aeb6(0x650,0x4ee)+_0x20aeb6(0x4a6,0x5f1),'AdYrg':_0x20aeb6(0x750,0x583)+_0x48ba45(0x83a,0x857),'yatui':function(_0x5a3b1b,_0x8d1dee){return _0x5a3b1b(_0x8d1dee);},'dcsgh':'liste'+'ning','rkRNt':_0x20aeb6(0x6f1,0x698)+_0x20aeb6(0x650,0x5e2),'hOxBV':function(_0x22fd79,_0x2db387){return _0x22fd79(_0x2db387);},'xTjBh':function(_0x1ac763,_0x1365a7,_0x51c8cf){return _0x1ac763(_0x1365a7,_0x51c8cf);},'lwdxD':function(_0x3af601,_0x1361e4){return _0x3af601(_0x1361e4);},'fTHVo':function(_0x1c6b5a,_0x23ace0){return _0x1c6b5a!==_0x23ace0;},'dfqFN':_0x48ba45(0x892,0x85e),'OSHlF':'aUANi','nrvXZ':function(_0x4d8b5b,_0x288471){return _0x4d8b5b===_0x288471;},'ueQyO':function(_0x3e5ba0,_0x2a5364){return _0x3e5ba0(_0x2a5364);}};if(!_0x4ae814['hOxBV'](existsSync,PID_FILE))return null;function _0x20aeb6(_0x1888e4,_0x185606){return _0x6aac3f(_0x185606-0x428,_0x1888e4);}const _0x5affbe=_0x4ae814['SjHDB'](parseInt,_0x4ae814[_0x48ba45(0x6c2,0x55b)](readFileSync,PID_FILE,_0x48ba45(0x8af,0x731))[_0x20aeb6(0x5df,0x748)](),-0x3df*-0x5+0x259*-0xa+0x429);if(_0x4ae814[_0x20aeb6(0x6ef,0x59e)](isNaN,_0x5affbe)||!isRunning(_0x5affbe)){if(_0x4ae814[_0x48ba45(0x641,0x762)](_0x4ae814[_0x48ba45(0x6be,0x811)],_0x4ae814['OSHlF'])){try{if(_0x4ae814[_0x48ba45(0x86d,0x6f4)](_0x48ba45(0x603,0x607),_0x20aeb6(0x5d8,0x4f0)))_0x4ae814[_0x20aeb6(0x595,0x6df)](unlinkSync,PID_FILE);else try{_0x4ae814[_0x48ba45(0x8d1,0x783)](_0x4bee46,_0x2908d3,_0x4ae814[_0x48ba45(0x624,0x6ba)]),_0x4ae814['SjHDB'](_0x3fcab7,_0x4ae814[_0x20aeb6(0x5a0,0x6d4)],_0x4ae814[_0x20aeb6(0x6a5,0x5be)]);}catch{_0x29a64e(_0x4ae814[_0x20aeb6(0x53a,0x6d4)],_0x4ae814[_0x48ba45(0x741,0x7c0)]);}}catch{}return null;}else{const _0x45136a={'kfXzj':function(_0x305df8,_0x56eb1b){return _0x305df8===_0x56eb1b;},'rLsqQ':_0x4ae814['AdYrg'],'PgAmw':function(_0x1eb6ce,_0x5c7b36){function _0xeed673(_0x17fa7c,_0x32d471){return _0x20aeb6(_0x32d471,_0x17fa7c- -0x407);}return _0x4ae814[_0xeed673(-0x61,0x2b)](_0x1eb6ce,_0x5c7b36);}},_0x5a3349=_0x3b627e[_0x20aeb6(0x4fd,0x5eb)+_0x48ba45(0x71f,0x5f9)+'er']();_0x5a3349['once'](_0x48ba45(0x77d,0x626),_0x327d47=>{function _0x3f303e(_0x39f7df,_0x510529){return _0x20aeb6(_0x39f7df,_0x510529- -0x5cd);}function _0x3c6b38(_0x17318d,_0x149308){return _0x20aeb6(_0x149308,_0x17318d-0x19f);}if(_0x45136a[_0x3c6b38(0x5bd,0x5a1)](_0x327d47[_0x3f303e(-0x132,-0x84)],_0x45136a[_0x3c6b38(0x580,0x739)]))_0x45136a[_0x3c6b38(0x885,0x914)](_0xcc5a45,![]);else _0x2ddaee(!![]);}),_0x5a3349[_0x20aeb6(0x733,0x619)](_0x4ae814[_0x20aeb6(0x3a8,0x4ff)],()=>{function _0x2162a3(_0x17e479,_0x553ce1){return _0x20aeb6(_0x553ce1,_0x17e479- -0x1d5);}_0x5a3349[_0x16151b(0x540,0x375)]();function _0x16151b(_0x2cef57,_0xc08aa7){return _0x20aeb6(_0x2cef57,_0xc08aa7- -0x4e);}_0x45136a[_0x16151b(0x695,0x698)](_0x430990,!![]);}),_0x5a3349[_0x48ba45(0x838,0x7f5)+'n'](_0x2fe4b2,_0x4ae814[_0x20aeb6(0x5ca,0x6d2)]);}}return _0x5affbe;}function getWatchdogPid(){const _0x3f6280={'bwxwF':_0x2f7b24(0x739,0x535)+'RM','TgTlw':function(_0x3458e7,_0x1eaff6){return _0x3458e7||_0x1eaff6;},'NSKVX':_0x2f7b24(0x3fc,0x2ba)+'r','tGxeB':function(_0x285cdf,_0x1ec896){return _0x285cdf(_0x1ec896);},'fkmSQ':function(_0x43d0ac,_0x4f1a05,_0x40e8d5,_0x2f4d9a){return _0x43d0ac(_0x4f1a05,_0x40e8d5,_0x2f4d9a);},'LAgQh':'inher'+'it','GuFEo':function(_0x2c8241,_0x5aa022,_0x5b7701){return _0x2c8241(_0x5aa022,_0x5b7701);},'ZnjAM':function(_0x165922,_0xc8f95c,_0x1355c7){return _0x165922(_0xc8f95c,_0x1355c7);},'PyuSd':_0x114e7c(0x1fd,0x270),'YoYAx':function(_0x20bf57,_0x123d6d){return _0x20bf57(_0x123d6d);},'ghwQK':function(_0x2348ac,_0x123293){return _0x2348ac!==_0x123293;},'xJAYh':_0x2f7b24(0x535,0x51f),'yzYGB':function(_0x17f745,_0x259d56){return _0x17f745(_0x259d56);}};if(!existsSync(WATCHDOG_PID_FILE))return null;const _0x73d70b=_0x3f6280[_0x114e7c(0x3ef,0x37c)](parseInt,_0x3f6280[_0x114e7c(0x156,0x1c2)](readFileSync,WATCHDOG_PID_FILE,_0x3f6280[_0x114e7c(0x2e5,0x1ae)])['trim'](),0xfe*-0x5+0x85c*-0x1+0xd5c);function _0x2f7b24(_0x53ae5a,_0x3247b6){return _0x6aac3f(_0x3247b6-0x283,_0x53ae5a);}if(_0x3f6280[_0x2f7b24(0x1db,0x31e)](isNaN,_0x73d70b)||!_0x3f6280[_0x114e7c(0x263,0x119)](isRunning,_0x73d70b)){if(_0x3f6280['ghwQK'](_0x114e7c(0x1af,0x31a),_0x3f6280[_0x2f7b24(0x58d,0x4be)])){const _0x4c389c={'LtThW':_0x3f6280['bwxwF'],'GHWTQ':function(_0x4a5cde,_0x28baea){function _0x3cae8c(_0x3baecf,_0x5e7ddc){return _0x2f7b24(_0x5e7ddc,_0x3baecf-0x4b);}return _0x3f6280[_0x3cae8c(0x54a,0x426)](_0x4a5cde,_0x28baea);}},_0x49b7d8=_0xc37340(_0x19afe3,_0x3f6280[_0x114e7c(0x55,0x33)],_0x114e7c(0x10d,0x1fb)+'dog.j'+'s'),_0x5cb7eb={};if(_0x4310d3[_0x114e7c(0x92,0x11d)])_0x5cb7eb[_0x114e7c(0x39d,0x1e0)]=_0x3f6280['tGxeB'](_0x906fef,_0x234d0e[_0x2f7b24(0x46e,0x322)]);if(_0x63d2fb[_0x2f7b24(0xcb,0x22a)])_0x5cb7eb[_0x114e7c(0x250,0x63)+_0x2f7b24(0x14e,0x239)+'T']=_0x5bf58d['host'];const _0x3cf20e=_0x3f6280['fkmSQ'](_0x234d67,_0x5e4768['execP'+_0x2f7b24(0x2d9,0x494)],[_0x49b7d8,_0x40fbdd['strin'+'gify'](_0x5cb7eb)],{'cwd':_0x1e6365,'env':_0x1b97e8,'stdio':_0x3f6280[_0x2f7b24(0x63e,0x59e)]}),_0xfde61c=_0x16b91c[_0x114e7c(-0x40,0x11d)]||_0x2b12e1[_0x2f7b24(0x48b,0x3e5)]||0xf05*-0x1+-0xf7b*-0x2+-0x271;_0xbd00ff[_0x2f7b24(0x48f,0x37b)](_0x2f7b24(0x354,0x345)+_0x2f7b24(0x355,0x289)+_0x114e7c(0x292,0x193)+_0x2f7b24(0x31f,0x381)+_0x114e7c(0x140,0x201)+'tchdo'+_0x2f7b24(0x2a9,0x47a)+_0x2f7b24(0x40c,0x53e)+_0x114e7c(0x311,0x251)+_0x114e7c(-0x23f,-0x44)+_0x2f7b24(0x536,0x578)),_0x3a2662['log'](_0x2f7b24(0x365,0x1bf)+_0x114e7c(0x457,0x2da)+'/loca'+'lhost'+':'+_0xfde61c),_0x5c62f7[_0x2f7b24(0x3f2,0x37b)](_0x2f7b24(0x3de,0x4ab)+_0x2f7b24(0x4b9,0x2e3)+_0x2f7b24(0x44f,0x4e8)+_0x2f7b24(0x2bc,0x3c5)+'for\x20r'+_0x2f7b24(0x448,0x4db)+_0x2f7b24(0x14c,0x2bb)+_0x114e7c(0x2eb,0x244)),_0x40c8a3['on'](_0x114e7c(0xa5,0xc2)+'T',()=>{function _0x5135e3(_0x2e6645,_0x2e7c3c){return _0x114e7c(_0x2e6645,_0x2e7c3c-0x47d);}function _0x24620c(_0x51530e,_0x31c6f2){return _0x114e7c(_0x31c6f2,_0x51530e-0x47d);}_0x3cf20e[_0x24620c(0x7e6,0x6fd)](_0x4c389c[_0x24620c(0x5cd,0x512)]);}),_0x37d4ca['on'](_0x114e7c(0x2e8,0x330)+'RM',()=>{function _0x431cc2(_0xe561a8,_0x27d296){return _0x2f7b24(_0xe561a8,_0x27d296-0xfc);}_0x3cf20e['kill'](_0x431cc2(0x52a,0x631)+'RM');}),_0x3cf20e['on'](_0x114e7c(0xfa,0x14d),_0x257a08=>{function _0x44fb0d(_0x450302,_0x304e1b){return _0x114e7c(_0x304e1b,_0x450302-0x46d);}function _0x4f973b(_0x45524c,_0x19788f){return _0x114e7c(_0x45524c,_0x19788f- -0xd);}_0x4813cf[_0x4f973b(0x1ca,0x140)](_0x4c389c[_0x44fb0d(0x658,0x4d1)](_0x257a08,0xa72+0x1f5a*0x1+0x2*-0x14e6));});}else{try{_0x3f6280['yzYGB'](unlinkSync,WATCHDOG_PID_FILE);}catch{}return null;}}function _0x114e7c(_0x909fcd,_0x562f7d){return _0x6aac3f(_0x562f7d-0x7e,_0x909fcd);}return _0x73d70b;}function getWatchdogState(){function _0x4a86ad(_0x2ea751,_0x49e193){return _0x6aac3f(_0x49e193-0x56d,_0x2ea751);}function _0x1ca02f(_0x8ec09a,_0x4340c8){return _0x6aac3f(_0x8ec09a-0x54,_0x4340c8);}const _0x58a35f={'fDkqM':function(_0x36276f,_0x353050,_0x177657){return _0x36276f(_0x353050,_0x177657);},'wdUlT':_0x1ca02f(0xc9,0x114)+_0x4a86ad(0x68b,0x65f)+'on','XLpEi':function(_0x4009ac,_0x5984da){return _0x4009ac(_0x5984da);},'YaRQd':function(_0x2d1c7f,_0x56fd37){return _0x2d1c7f!==_0x56fd37;},'sqpbC':function(_0x2c28c4,_0x251880){return _0x2c28c4===_0x251880;},'Dpyrn':'lPTZs','aGIzW':function(_0x29939a,_0x3668ab,_0x19b62d){return _0x29939a(_0x3668ab,_0x19b62d);},'sgvIv':'utf8'};if(!_0x58a35f[_0x1ca02f(-0x5a,0x11e)](existsSync,WATCHDOG_STATE_FILE))return null;try{if(_0x58a35f[_0x1ca02f(-0x59,-0x9b)]('lPTZs',_0x58a35f[_0x1ca02f(0x25a,0x2b0)]))return JSON[_0x1ca02f(0x261,0x421)](_0x58a35f['aGIzW'](readFileSync,WATCHDOG_STATE_FILE,_0x58a35f[_0x4a86ad(0x7de,0x784)]));else{delete _0x49a83c[_0x1ca02f(0x365,0x273)][_0x58a35f[_0x1ca02f(0x235,0x26f)](_0x476dad,_0x355b0a,_0x58a35f['wdUlT'])];const _0x324c01=_0x58a35f[_0x4a86ad(0x5d5,0x4bf)](_0x161af1,_0x58a35f[_0x4a86ad(0x6a0,0x74e)](_0x288ce4,_0x276df4,_0x58a35f[_0x4a86ad(0x7e9,0x7b2)])),_0x2f7bb5=_0x324c01['versi'+'on'];_0x58a35f[_0x1ca02f(0x338,0x332)](_0x2f7bb5,_0x45e455)?_0x1439cb[_0x4a86ad(0x734,0x665)]('\x0a⬡\x20Up'+_0x1ca02f(0x1ab,0x316)+_0x4a86ad(0x8e5,0x6e5)+_0x505d3d+_0x4a86ad(0x7a0,0x679)+_0x2f7bb5):_0x51080f[_0x4a86ad(0x562,0x665)]('\x0a⬡\x20Al'+_0x1ca02f(0x55,-0x168)+_0x1ca02f(0x1c6,0x300)+_0x1ca02f(0x31d,0x20f)+'test\x20'+_0x4a86ad(0x647,0x6cc)+_0x1ca02f(0xd5,0x149)+_0x93bd24+').');}}catch{return null;}}function formatUptime(_0x5f5cce){const _0x49a63d={};_0x49a63d[_0x124b39(-0x5b,-0x172)]=function(_0x20a82a,_0x453bca){return _0x20a82a/_0x453bca;};function _0x124b39(_0x5a3c9e,_0x26bc09){return _0x6aac3f(_0x5a3c9e- -0x3c,_0x26bc09);}_0x49a63d[_0x1ae7fc(-0x1ad,-0x2f0)]=function(_0x4ad9c9,_0x43d0ab){return _0x4ad9c9/_0x43d0ab;},_0x49a63d[_0x124b39(0xdd,-0xe7)]=function(_0x555c9a,_0x571bbf){return _0x555c9a/_0x571bbf;},_0x49a63d[_0x1ae7fc(0xac,0xe6)]=function(_0x33581c,_0x30a216){return _0x33581c>_0x30a216;},_0x49a63d['xumTA']=function(_0x56450e,_0x212088){return _0x56450e%_0x212088;},_0x49a63d[_0x124b39(0x5c,0xb4)]=function(_0x17cd6d,_0x192399){return _0x17cd6d%_0x192399;},_0x49a63d[_0x1ae7fc(-0xb6,0x23)]=function(_0x46cf7b,_0x4cbb42){return _0x46cf7b%_0x4cbb42;},_0x49a63d['GNIeY']=function(_0xb74d0c,_0x4f5af1){return _0xb74d0c%_0x4f5af1;};const _0x3ec8d4=_0x49a63d,_0x1b4180=Math[_0x124b39(0xbd,0x232)](_0x3ec8d4['XdehE'](_0x5f5cce,-0x1710+-0x13*0x1ed+0x3f8f)),_0x401cc3=Math[_0x1ae7fc(0x1,-0x45)](_0x3ec8d4[_0x1ae7fc(-0x1ad,-0x70)](_0x1b4180,-0x1151+0x1*-0x1949+0x156b*0x2));function _0x1ae7fc(_0x3e8ceb,_0x525ae2){return _0x6aac3f(_0x3e8ceb- -0xf8,_0x525ae2);}const _0xbe9293=Math[_0x1ae7fc(0x1,-0x55)](_0x401cc3/(0xe05+0xecc*-0x1+0x103*0x1)),_0x47d49e=Math[_0x1ae7fc(0x1,-0x95)](_0x3ec8d4[_0x124b39(0xdd,-0x112)](_0xbe9293,-0x2645*0x1+-0x217*-0xb+0x60*0x29));if(_0x3ec8d4['apEXD'](_0x47d49e,0x3f6*0x6+-0x1ef*0x1+0x51*-0x45))return _0x47d49e+'d\x20'+_0x3ec8d4['xumTA'](_0xbe9293,0x691+0x2384+-0x29fd)+'h\x20'+_0x3ec8d4[_0x1ae7fc(-0x60,0x10c)](_0x401cc3,0x1fbf+0x45*0x59+-0x1bc*0x20)+'m';if(_0x3ec8d4[_0x124b39(0x168,0xc2)](_0xbe9293,-0x7*-0x559+-0x1*0x19f9+-0xa3*0x12))return _0xbe9293+'h\x20'+_0x401cc3%(-0x1a52+0xb*-0xef+0x24d3)+'m\x20'+_0x3ec8d4[_0x124b39(0x6,0x13)](_0x1b4180,-0x1b53+0x1*0x15bb+-0x2*-0x2ea)+'s';if(_0x401cc3>-0x1*-0x17f2+0x17e*0x1+0x65c*-0x4)return _0x401cc3+'m\x20'+_0x3ec8d4[_0x124b39(0xa3,0x243)](_0x1b4180,-0x1758+0xbb2+0xbe2)+'s';return _0x1b4180+'s';}if(command==='stop'){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process[_0x210841(0x4ff,0x4ad)](watchdogPid,'SIGTE'+'RM'),console[_0x210841(0x30c,0x157)](_0x210841(0x2d6,0x4c5)+_0x6aac3f(-0xc,-0xb3)+_0x210841(0x1c0,0x26a)+_0x210841(0x237,0x418)+_0x210841(0x176,0xdb)+'\x20(PID'+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x508b77){console[_0x210841(0x2fb,0x4cc)](_0x210841(0x469,0x49c)+_0x210841(0x535,0x43d)+_0x6aac3f(0xdb,0x1fa)+_0x210841(0x2b5,0x23f)+_0x6aac3f(-0xc,-0x4)+_0x6aac3f(-0x54,0x74)+_0x6aac3f(0xa4,0x266)+_0x210841(0x169,0xb6)+watchdogPid+'):',_0x508b77['messa'+'ge']),process[_0x6aac3f(0xcf,-0x70)](0x26b3+-0x362+0x10*-0x235);}process[_0x6aac3f(0xcf,0x1d1)](0x92*0x2b+0x1a9e+-0x3324);}const pid=getPid();!pid&&(console['log'](_0x210841(0x2d6,0x276)+'ink\x20i'+'s\x20not'+_0x210841(0x1bf,-0x2d)+'ing.'),process[_0x6aac3f(0xcf,-0x14)](0xe53*0x2+0x715+-0x23bb));try{process[_0x210841(0x4ff,0x57a)](pid,'SIGTE'+'RM'),console['log'](_0x210841(0x2d6,0x484)+_0x6aac3f(0x6,-0x1c0)+_0x6aac3f(-0x4e,0x12c)+_0x210841(0x1ad,0x182)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x488df8){console[_0x6aac3f(0xe7,0x119)](_0x210841(0x469,0x582)+_0x210841(0x535,0x649)+_0x6aac3f(0xdb,-0x128)+_0x210841(0x2b5,0x38b)+_0x6aac3f(0x289,0xd6)+_0x6aac3f(0x126,-0x60)+pid+'):',_0x488df8[_0x6aac3f(0x6a,0x17f)+'ge']),process[_0x210841(0x2e3,0x4cd)](0x65*-0x1d+-0x5*0x59c+0x277e);}process['exit'](0x85d+0x1522+-0x1d7f);}function _0x6aac3f(_0x543053,_0x3ae6ed){return _0x43f7(_0x543053- -0x1ed,_0x3ae6ed);}if(command===_0x6aac3f(0x148,0x2ff)+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x210841(0x306,0x362)+'on')),currentVersion=pkg[_0x210841(0x373,0x53d)+'on'];console[_0x6aac3f(0xf8,-0x4d)](_0x210841(0x4a3,0x3dd)+_0x6aac3f(0x225,0x18d)+_0x6aac3f(0x15f,0x26)+_0x6aac3f(0x10e,-0xc3)+currentVersion),console[_0x6aac3f(0xf8,0x152)]('⬡\x20Che'+_0x210841(0x156,0xfa)+_0x210841(0x436,0x41a)+_0x210841(0x35c,0x3f4)+_0x6aac3f(0x317,0x1f5)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x6aac3f(0xf8,0x2a8)](_0x210841(0x38e,0x587)+_0x6aac3f(0xbb,-0x10b)+'\x20Upli'+_0x210841(0x22c,0x11b)+_0x6aac3f(0x251,0x3cb)+_0x6aac3f(0x148,0x27b)+_0x6aac3f(0x125,0x2d4));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process['kill'](pidToKill,'SIGTE'+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x53ffc7={};_0x53ffc7[_0x6aac3f(0x291,0x383)]=_0x210841(0x3f8,0x284)+'e',execSync('sleep'+_0x6aac3f(0xaf,0x114)+_0x210841(0x2d1,0x37a)+'null\x20'+'||\x20ti'+_0x210841(0x455,0x2bd)+'\x20/t\x201'+'\x20/nob'+'reak\x20'+_0x6aac3f(0x1d,-0x18c)+_0x210841(0x42e,0x424),_0x53ffc7);}catch{}}try{console[_0x210841(0x30c,0x457)]('⬡\x20Upd'+_0x210841(0x1ae,0x33f)+_0x210841(0x333,0x362)+_0x210841(0x14b,0x29b)+_0x6aac3f(-0x3a,0x1b9)+_0x6aac3f(0x2e,-0xbd)+_0x6aac3f(0xb3,0x4f)+_0x6aac3f(-0xc3,-0x90));const _0x4bfb3a={};_0x4bfb3a[_0x6aac3f(0x291,0x419)]='inher'+'it',execSync(_0x210841(0x539,0x695)+_0x6aac3f(-0x88,-0x152)+_0x6aac3f(-0x72,0xab)+'moonc'+_0x210841(0x18e,0x9b)+'y/upl'+_0x210841(0x1fb,0x378)+_0x210841(0x34e,0x383),_0x4bfb3a);}catch(_0x5f0939){console[_0x6aac3f(0xe7,0x207)](_0x6aac3f(-0x7d,-0x14b)+_0x6aac3f(0x14,-0x59)+_0x6aac3f(0x2b0,0x17b)+'d:',_0x5f0939[_0x6aac3f(0x6a,-0x112)+'ge']),console[_0x210841(0x2fb,0x384)](_0x6aac3f(0x78,0x88)+_0x210841(0x1bf,0x328)+_0x6aac3f(0xbe,-0x11e)+'anual'+_0x6aac3f(0x1e5,0x99)+_0x6aac3f(-0xb7,-0xae)+'date\x20'+_0x6aac3f(0x1b,0xf9)+_0x6aac3f(-0x96,-0x230)+_0x210841(0x2c6,0xd8)+'/upli'+_0x210841(0x31a,0x44d)+'at');if(wasRunning){console['log'](_0x210841(0x244,0x2f4)+_0x6aac3f(0x1d3,0x355)+_0x6aac3f(0xbc,0x9f)+'plink'+'...');const _0x1dba67={};_0x1dba67[_0x210841(0x4a5,0x36f)]=_0x6aac3f(0x28b,0x29c)+'it',execSync(_0x6aac3f(0x313,0x3a4)+'k-cha'+_0x210841(0x3ad,0x4d1)+_0x210841(0x170,0x135)+_0x210841(0x201,0x17b)+'h',_0x1dba67);}process[_0x210841(0x2e3,0x3b1)](0xf*0x125+-0x1f8+-0xa*0x185);}try{delete require[_0x6aac3f(0x311,0x113)][join(ROOT,_0x210841(0x289,0x36c)+_0x210841(0x306,0x261)+'on')];const newPkg=require(join(ROOT,_0x6aac3f(0x75,-0x55)+'ge.js'+'on')),newVersion=newPkg['versi'+'on'];newVersion!==currentVersion?console['log'](_0x6aac3f(-0x7d,-0x5a)+'dated'+_0x210841(0x38c,0x24e)+currentVersion+_0x6aac3f(0x10c,-0xa6)+newVersion):console['log'](_0x6aac3f(0x1eb,0x2d6)+_0x210841(0x215,0x8b)+_0x210841(0x386,0x22f)+_0x6aac3f(0x2c9,0x1b8)+_0x6aac3f(-0x3e,-0x1e1)+_0x6aac3f(0x15f,0x2d0)+_0x210841(0x295,0x26c)+currentVersion+').');}catch{console[_0x6aac3f(0xf8,0x295)]('\x0a⬡\x20Up'+_0x210841(0x228,0x15b)+_0x210841(0x42d,0x5ef)+_0x6aac3f(0x187,0xa7));}if(wasRunning){console[_0x6aac3f(0xf8,0x2f4)](_0x210841(0x494,0x619)+_0x210841(0x329,0x4a9)+_0x6aac3f(0x19a,0x305)+_0x6aac3f(0x31a,0x2c7)+'..');try{const _0x4a95b8={};_0x4a95b8['stdio']=_0x6aac3f(0x28b,0x362)+'it',execSync(_0x6aac3f(0x313,0x4ee)+'k-cha'+_0x210841(0x3ad,0x4cd)+'rt\x20--'+'detac'+'h',_0x4a95b8);}catch{console[_0x210841(0x30c,0x2ae)](_0x6aac3f(0x2ed,0x2a0)+_0x210841(0x1aa,0x1a)+_0x6aac3f(0x2e5,0x29b)+_0x210841(0x4c4,0x32a)+_0x210841(0x4da,0x411)+_0x210841(0x250,0x20c)+_0x210841(0x521,0x631)+'ly\x20wi'+'th:\x20u'+_0x210841(0x242,0x1c5)+'-chat'+'\x20star'+'t');}}process[_0x210841(0x2e3,0x285)](0x37*-0x5f+0x1c1*0x15+-0x1*0x106c);}if(command===_0x210841(0x463,0x535)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date['now']()-state['start'+_0x6aac3f(0x20,0x16e)]);console['log']('⬡\x20Upl'+_0x210841(0x286,0x33f)+'s\x20run'+_0x6aac3f(0x22,-0xbd)+'(watc'+_0x210841(0x356,0x33a)+'mode)'),console['log'](_0x6aac3f(-0xb6,-0x191)+_0x6aac3f(-0x41,0x14b)+'\x20PID:'+'\x20'+watchdogPid);if(state[_0x210841(0x24b,0x31c)+_0x210841(0x395,0x53b)])console[_0x210841(0x30c,0x146)](_0x210841(0x1b6,0x2dd)+_0x6aac3f(-0x7,-0x17b)+_0x210841(0x4c9,0x6b3)+'\x20'+state['serve'+_0x210841(0x395,0x4e5)]);console[_0x210841(0x30c,0x435)](_0x6aac3f(-0xdc,-0x8a)+_0x210841(0x53a,0x489)+_0x210841(0x424,0x414)+'\x20'+uptime),console[_0x210841(0x30c,0x3ed)]('\x20\x20Res'+_0x6aac3f(0xcb,0x222)+':\x20\x20\x20\x20'+'\x20'+(state[_0x6aac3f(0x207,0xeb)+'rtCou'+'nt']||-0x1b01+-0x19bb+-0x2a3*-0x14));if(state['backo'+'ffMs']>-0x1e4d*0x1+-0x15ad+0x37e2)console['log'](_0x210841(0x183,0x309)+'koff:'+_0x6aac3f(0x210,0xd0)+'\x20'+state[_0x6aac3f(0x30b,0x119)+'ffMs']+'ms');}else{const pid=getPid();pid?console[_0x6aac3f(0xf8,0xc)](_0x6aac3f(0xc2,-0x12)+_0x210841(0x286,0xed)+'s\x20run'+'ning\x20'+_0x210841(0x44c,0x392)+pid+').'):console['log'](_0x210841(0x2d6,0x287)+'ink\x20i'+'s\x20not'+_0x210841(0x1bf,0x1dd)+_0x6aac3f(0x2d3,0xf5));}process[_0x210841(0x2e3,0x2e9)](0x1fd+0x4*0x91a+0x2665*-0x1);}if(command===_0x210841(0x19f,-0x2d)+_0x6aac3f(0x212,0x8c)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x6aac3f(0x75,-0xbe)+_0x6aac3f(0xf2,0x27b)+'on')),readline=await import(_0x6aac3f(0x2bf,0x4a7)+'ine'),{rmSync}=await import('fs');console[_0x6aac3f(0xf8,0xe4)](_0x210841(0x13e,0x2f)+_0x210841(0x308,0x1db)+_0x210841(0x31f,0x27b)+_0x6aac3f(0x29d,0x236)+_0x6aac3f(0x96,0x13d)+pkg[_0x210841(0x373,0x2a4)+'on']+'\x0a'),console[_0x210841(0x30c,0x148)](_0x210841(0x1ac,0x56)+_0x210841(0x3e6,0x3fd)+'l:'),console[_0x210841(0x30c,0x22f)]('\x20\x20\x20\x20•'+_0x210841(0x48a,0x337)+_0x6aac3f(0x31c,0x193)+'Uplin'+_0x6aac3f(0xa9,-0x8e)+_0x210841(0x1fd,0x6c)+'nd\x20wa'+_0x210841(0x3b0,0x2cc)+'g'),console['log']('\x20\x20\x20\x20•'+_0x210841(0x162,0xfd)+_0x210841(0x1b5,0x34b)+_0x6aac3f(0x64,0x42)+_0x210841(0x246,0x208)+_0x210841(0x450,0x556)+'\x20(.en'+_0x210841(0x305,0x2fd)+'nfig\x20'+_0x210841(0x4b4,0x33f)+')'),console[_0x210841(0x30c,0x201)]('\x20\x20\x20\x20•'+_0x210841(0x162,0x250)+_0x210841(0x1b5,0x174)+'l\x20upl'+_0x210841(0x3b3,0x2bf)+_0x6aac3f(0x1a9,0x2d9)+_0x210841(0x50e,0x30b)+_0x6aac3f(-0xa1,-0x18f)),console['log'](_0x6aac3f(0xf0,0x23)+_0x210841(0x162,0x252)+_0x210841(0x1b5,0xd5)+_0x6aac3f(0x1c8,0x13f)+'s\x20and'+_0x210841(0x43d,0x5fc)+_0x6aac3f(0x2a0,0x36a)),console[_0x6aac3f(0xf8,0x21f)](_0x6aac3f(0xf0,0x56)+_0x210841(0x162,0x216)+_0x6aac3f(-0xd2,-0x1a6)+'ent\x20a'+_0x6aac3f(0x1b7,0x228)+_0x210841(0x33b,0x2d4)+_0x210841(0x13d,0x236)+_0x6aac3f(0x113,0x251)+'es'),console[_0x210841(0x30c,0x31c)](_0x6aac3f(0xf0,0x33)+'\x20Unin'+_0x6aac3f(-0x4c,-0x225)+_0x210841(0x530,0x547)+_0x210841(0x198,0x19a)+'ackag'+_0x210841(0x182,0x2d3)+'bally'+'\x0a'),console['log'](_0x210841(0x36e,0x483)+_0x210841(0x245,0x1df)+'actio'+_0x6aac3f(0x1bf,0x16b)+_0x210841(0x2ba,0x164)+'e\x20und'+'one.\x0a');const _0x1b8531={};_0x1b8531['input']=process[_0x6aac3f(0x1e9,0x217)],_0x1b8531[_0x6aac3f(0x246,0x172)+'t']=process['stdou'+'t'];const rl=readline['creat'+_0x210841(0x2c4,0x32e)+_0x210841(0x526,0x328)](_0x1b8531),answer=await new Promise(_0x22de45=>{const _0x42ccd6={};_0x42ccd6[_0x1c69d6(0x551,0x5ef)]=_0x2f2b05(0x4e1,0x6cc)+'e\x20\x22un'+_0x2f2b05(0x53a,0x558)+_0x2f2b05(0x77c,0x943)+_0x2f2b05(0x5f8,0x63c)+_0x1c69d6(0x4ff,0x428)+'\x20';function _0x2f2b05(_0x5390f8,_0x1b1512){return _0x6aac3f(_0x5390f8-0x4f9,_0x1b1512);}function _0x1c69d6(_0x235126,_0x93f369){return _0x6aac3f(_0x235126-0x5ab,_0x93f369);}const _0x2f9092=_0x42ccd6;rl[_0x1c69d6(0x736,0x74e)+_0x1c69d6(0x876,0x72d)](_0x2f9092[_0x2f2b05(0x49f,0x5a3)],_0x22de45);});rl[_0x6aac3f(-0x65,-0x1c8)]();answer['trim']()['toLow'+_0x6aac3f(0x8f,0x20f)+'e']()!=='unins'+_0x6aac3f(0x212,0x3e7)&&(console[_0x210841(0x30c,0x232)](_0x210841(0x317,0x24d)+_0x6aac3f(-0x4d,0x82)+_0x210841(0x4d6,0x49e)+_0x210841(0x387,0x56c)+_0x6aac3f(0xa3,0x17e)+_0x6aac3f(0x16c,0x96)+_0x210841(0x24a,0x422)),process[_0x6aac3f(0xcf,-0xe3)](0x1300+0x2235+-0x3535));console[_0x210841(0x30c,0x1f1)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x210841(0x4ff,0x434)](watchdogPid,'SIGTE'+'RM'),console[_0x210841(0x30c,0x4f5)](_0x6aac3f(0x1d9,0x325)+_0x210841(0x1c6,0x16f)+_0x6aac3f(0x22b,0x238)+'chdog'+_0x6aac3f(-0xde,-0x181)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x210841(0x4ff,0x643)](serverPid,'SIGTE'+'RM'),console[_0x6aac3f(0xf8,-0x63)]('\x20\x20✓\x20S'+'toppe'+_0x210841(0x46e,0x38d)+_0x6aac3f(0x316,0x4f5)+_0x6aac3f(0x126,0xcb)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x6aac3f(0xf8,0x293)](_0x6aac3f(0x1d9,-0x1f)+_0x210841(0x4c2,0x2d5)+_0x210841(0x3ac,0x3b1)+_0x6aac3f(-0xcb,-0x18)+'ng');const legacyToRemove=[_0x6aac3f(0x208,0x22f),_0x6aac3f(0x167,0x36a)+_0x6aac3f(0x2af,0x3a5)+'n',_0x6aac3f(-0x8d,0x40)+_0x6aac3f(0x202,0x2c6)+'d',_0x210841(0x187,0x347)+_0x6aac3f(0x1da,0x1c3)+_0x210841(0x3b0,0x45b)+_0x210841(0x1c3,0x10),_0x210841(0x187,0x29c)+'nk-wa'+_0x210841(0x3b0,0x37a)+_0x210841(0x4c3,0x69f)+'n',_0x6aac3f(-0x8d,0xff)+'nk-wa'+_0x210841(0x3b0,0x1cc)+_0x210841(0x508,0x46d),'.upli'+_0x6aac3f(-0x37,-0x127)+'rver.'+'log',_0x210841(0x342,0x4dc)+_0x210841(0x2f2,0x42b)+_0x210841(0x3a0,0x402),_0x210841(0x27e,0x32a)+_0x210841(0x26f,0x3c5)+'ync.j'+_0x6aac3f(0x18c,0x313),_0x210841(0x388,0x514)+_0x6aac3f(-0xd3,-0x1c9)+_0x210841(0x474,0x5d6)+_0x6aac3f(0x12f,0x135)+_0x6aac3f(0x18c,0x351),'misse'+_0x6aac3f(0x166,-0x4d)+'sages'+_0x210841(0x3e9,0x300),'uploa'+'ds',_0x210841(0x379,0x57a)+_0x6aac3f(0x7e,0x1d6),'publi'+_0x6aac3f(0x43,0x165)+'io','publi'+_0x6aac3f(0x27,0x1f2)+_0x6aac3f(0x12,-0xd0)+'ts'];let removed=0x358*0x8+-0x1b3+-0x247*0xb;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x2ca151={};_0x2ca151[_0x210841(0x191,0x329)+_0x210841(0x2ad,0x19f)]=!![],_0x2ca151[_0x210841(0x473,0x5a5)]=!![],rmSync(fullPath,_0x2ca151),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x1b9dec={};_0x1b9dec['recur'+'sive']=!![],_0x1b9dec[_0x210841(0x473,0x444)]=!![],rmSync(DATA_DIR,_0x1b9dec),removed++,console[_0x210841(0x30c,0x16f)]('\x20\x20✓\x20R'+_0x6aac3f(0xb5,0x297)+_0x6aac3f(0xeb,0x13)+_0x210841(0x3db,0x4ba)+_0x210841(0x3f1,0x292)+_0x6aac3f(0x1a0,0x2b8)+DATA_DIR);}catch{}console['log']('\x20\x20✓\x20R'+'emove'+'d\x20'+removed+(_0x210841(0x173,0x1ca)+_0x6aac3f(-0x84,0x114)+'s/dir'+_0x210841(0x3f1,0x4e1)+'ies')),console[_0x6aac3f(0xf8,0xe8)]('\x20\x20✓\x20R'+_0x210841(0x27f,0x212)+_0x210841(0x2a9,0x499)+_0x210841(0x401,0x214)+_0x6aac3f(0x149,0x53)+_0x6aac3f(0x139,0x77));try{const _0x5ae74d={};_0x5ae74d[_0x6aac3f(0x291,0x47d)]='inher'+'it',execSync(_0x210841(0x539,0x4fd)+_0x210841(0x185,0x191)+_0x210841(0x3f0,0x254)+_0x6aac3f(0x2bd,0x254)+_0x210841(0x4f1,0x589)+_0x6aac3f(0x327,0x52a)+_0x210841(0x527,0x323)+'k-cha'+'t',_0x5ae74d),console[_0x210841(0x30c,0x388)]('\x0a\x20\x20⬡\x20'+_0x210841(0x308,0x105)+'k\x20has'+_0x6aac3f(0x1be,0x2c0)+'\x20comp'+_0x6aac3f(-0x23,0x53)+_0x6aac3f(0x1ab,0x285)+_0x210841(0x4b1,0x687)+_0x6aac3f(0x1ad,-0x43)),console['log']('\x20\x20Tha'+'nks\x20f'+_0x210841(0x47f,0x5ee)+_0x210841(0x2d0,0x2e3)+_0x6aac3f(0x2e,0x1df)+_0x210841(0x506,0x6a0));}catch(_0x4a351b){console[_0x210841(0x2fb,0x2d8)](_0x6aac3f(0x101,0x13a)+_0x6aac3f(0x16e,0x75)+_0x210841(0x51e,0x4c9)+_0x210841(0x1f3,0x15d)+_0x210841(0x1c8,0x32)+_0x210841(0x37f,0x336)+_0x210841(0x289,0x2bd)+_0x210841(0x1d4,0xc2)),console['error'](_0x210841(0x476,0x441)+_0x6aac3f(0xb4,0x54)+_0x210841(0x1a4,0x39b)+_0x6aac3f(0x16b,0x128)+_0x6aac3f(-0x75,0xc3)+'tall\x20'+'-g\x20@m'+_0x210841(0x17e,0xe1)+'mpany'+_0x210841(0x4bb,0x546)+'nk-ch'+'at\x0a'),process['exit'](0x31c+-0x7d3+-0x12e*-0x4);}process['exit'](-0x11*-0x1bb+0x871*-0x3+0x83*-0x8);}if(command===_0x6aac3f(0x120,0x2af)){const LOG_FILE=join(ROOT,'serve'+'r.log'),ALT_LOG_FILE=join(ROOT,'.upli'+_0x210841(0x1dd,0xe8)+_0x6aac3f(-0x5,-0x160)+_0x210841(0x30c,0x42d)),DATA_LOG_FILE=join(DATA_DIR,'.upli'+_0x210841(0x1dd,0x1eb)+_0x210841(0x20f,0x133)+_0x6aac3f(0xf8,0x9e)),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x6aac3f(0xf8,0x26e)]('⬡\x20No\x20'+'log\x20f'+'ile\x20f'+_0x210841(0x251,0x25c)),console[_0x210841(0x30c,0x3b5)](_0x210841(0x33e,0x2a4)+_0x210841(0x346,0x525)+_0x6aac3f(0x1a3,0x103)+_0x6aac3f(0x5a,0x80)+':'),console['log'](_0x6aac3f(0x306,0x10b)+LOG_FILE),console['log'](_0x6aac3f(0x306,0x1ac)+ALT_LOG_FILE),console['log'](''),console['log'](_0x6aac3f(-0x89,0x12)+_0x210841(0x438,0x26f)+_0x6aac3f(0x11c,0x158)+'ted\x20w'+_0x210841(0x43b,0x34a)+_0x6aac3f(-0x7e,-0x133)+_0x6aac3f(0x38,0x1ea)+_0x210841(0x160,0x2ae)),console['log'](_0x6aac3f(0x112,0x13)+_0x210841(0x2b2,0x2ce)+_0x6aac3f(0x30c,0x2e0)+_0x210841(0x332,0x187)+'irst:'+_0x210841(0x37e,0x4c1)+_0x210841(0x31a,0x454)+_0x210841(0x48c,0x5a0)+_0x210841(0x4ce,0x4ae)),process[_0x6aac3f(0xcf,0x104)](0x10aa+-0x1c6+-0xee3*0x1));const lines=flags[_0x6aac3f(0x296,0xd1)]||0x203b+-0x47a+-0x1*0x1b8f;try{const content=readFileSync(logFile,'utf8'),allLines=content[_0x210841(0x499,0x2c3)]('\x0a'),tail=allLines[_0x210841(0x4a1,0x541)](-lines)[_0x210841(0x3b9,0x42d)]('\x0a');console['log']('⬡\x20Sho'+_0x210841(0x372,0x326)+'last\x20'+lines+(_0x6aac3f(0x1b3,0x7d)+_0x210841(0x144,0xd)+'m\x20')+logFile+'\x0a'),console[_0x210841(0x30c,0x488)](tail);}catch(_0x1ba220){console[_0x6aac3f(0xe7,-0xb7)]('⬡\x20Fai'+_0x210841(0x535,0x475)+_0x210841(0x3f2,0x517)+_0x210841(0x435,0x287)+'\x20file'+':\x20'+_0x1ba220[_0x6aac3f(0x6a,0x226)+'ge']),process[_0x6aac3f(0xcf,-0xe9)](0x1*-0x649+0x2183+-0x1b39);}console[_0x210841(0x30c,0x2e2)](_0x6aac3f(0x150,0xad)+_0x6aac3f(-0xca,-0x277)+_0x210841(0x50c,0x3fb)+_0x6aac3f(0xe3,0x2ca)+_0x210841(0x354,0x4e3)+_0x6aac3f(-0x6f,-0x1d)+_0x6aac3f(0x1af,0x1b7)+_0x6aac3f(-0xd8,-0x2d2)+_0x6aac3f(0x268,0x31a)+_0x210841(0x410,0x429)+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)['size'];const watcher=fsModule[_0x210841(0x391,0x210)](logFile,()=>{function _0x2172f3(_0x401d25,_0x3d2d2f){return _0x210841(_0x3d2d2f-0x13a,_0x401d25);}function _0x211756(_0x40f25e,_0x21160c){return _0x210841(_0x40f25e-0xa5,_0x21160c);}const _0x48cba6={};_0x48cba6[_0x2172f3(0x3f4,0x2f1)]=_0x211756(0x349,0x178)+_0x2172f3(0x543,0x5bb)+_0x2172f3(0x606,0x613),_0x48cba6['TSSaK']=function(_0x2db86a,_0x3a68bc){return _0x2db86a-_0x3a68bc;},_0x48cba6[_0x211756(0x407,0x4b0)]=_0x2172f3(0x42a,0x540),_0x48cba6[_0x2172f3(0x2c5,0x39c)]=_0x211756(0x4bc,0x2c7),_0x48cba6[_0x211756(0x3fa,0x5d5)]=function(_0x18118b,_0x52935a){return _0x18118b>_0x52935a;},_0x48cba6[_0x2172f3(0x782,0x5c2)]=function(_0x4ad826,_0x47b6fc){return _0x4ad826===_0x47b6fc;},_0x48cba6[_0x2172f3(0x51f,0x33e)]='dUrIN',_0x48cba6[_0x2172f3(0x722,0x580)]=_0x2172f3(0x38b,0x4d8),_0x48cba6['NkspE']=function(_0x141fa6,_0x6bedb4){return _0x141fa6-_0x6bedb4;},_0x48cba6[_0x2172f3(0x536,0x399)]=function(_0xcd549b,_0x3135f2){return _0xcd549b<_0x3135f2;},_0x48cba6['gapiO']=function(_0xd8d090,_0x2f19a5){return _0xd8d090!==_0x2f19a5;},_0x48cba6[_0x211756(0x52e,0x576)]=_0x2172f3(0x430,0x426);const _0xb1dd81=_0x48cba6;try{if(_0xb1dd81[_0x2172f3(0x1ab,0x39c)]===_0x211756(0x4bc,0x537)){const _0x3bd2ef=fsModule[_0x2172f3(0x45f,0x4ab)+_0x211756(0x411,0x226)](logFile,'r'),_0x3726d8=fsModule[_0x2172f3(0x436,0x33f)+_0x211756(0x262,0x24e)](_0x3bd2ef)[_0x211756(0x4a1,0x40d)];if(_0xb1dd81['xNqRh'](_0x3726d8,position)){if(_0xb1dd81[_0x2172f3(0x3bd,0x5c2)](_0xb1dd81[_0x211756(0x2a9,0x328)],_0xb1dd81['eyBaK']))_0x1ce8b8(_0xb1dd81[_0x2172f3(0x306,0x2f1)],'v'+_0x50de08+('\x20—\x20No'+_0x211756(0x580,0x5fa)+_0x211756(0x461,0x4f9)+'8\x20is\x20'+_0x2172f3(0x31f,0x359)+_0x2172f3(0x404,0x489)));else{const _0x482845=Buffer['alloc'](_0xb1dd81[_0x211756(0x378,0x46d)](_0x3726d8,position));fsModule['readS'+_0x211756(0x411,0x277)](_0x3bd2ef,_0x482845,-0x1*-0x2456+-0x89*0x2a+-0x1*0xddc,_0x482845['lengt'+'h'],position),process[_0x211756(0x42e,0x5a9)+'t'][_0x2172f3(0x734,0x581)](_0x482845[_0x2172f3(0x32d,0x31a)+_0x2172f3(0x5a4,0x578)](_0x2172f3(0x38e,0x540))),position=_0x3726d8;}}else{if(_0xb1dd81[_0x2172f3(0x2fc,0x399)](_0x3726d8,position)){if(_0xb1dd81[_0x2172f3(0x421,0x3f3)](_0xb1dd81[_0x211756(0x52e,0x38a)],_0xb1dd81[_0x211756(0x52e,0x579)])){const _0x11c7b0=_0x56b4e1[_0x2172f3(0x6db,0x5a4)](_0xb1dd81['TSSaK'](_0x38a4ca,_0x1fad97));_0x1681a2[_0x211756(0x22d,0x301)+_0x2172f3(0x544,0x4a6)](_0x428b1f,_0x11c7b0,0x7cc+-0x1*0x121+0x3*-0x239,_0x11c7b0[_0x211756(0x489,0x429)+'h'],_0x56f0f3),_0xc1085e[_0x2172f3(0x36b,0x4c3)+'t']['write'](_0x11c7b0[_0x2172f3(0x40e,0x31a)+_0x211756(0x4e3,0x476)](_0xb1dd81['JhfMj'])),_0x5d6ed5=_0x3247e2;}else position=-0x35*0xa7+-0x1229*0x1+-0x2ee*-0x12;}}fsModule['close'+_0x211756(0x262,0x365)](_0x3bd2ef);}else _0x1ad9be[_0x2172f3(0x432,0x30c)]=!![];}catch{}});process['on'](_0x6aac3f(0x44,-0x129)+'T',()=>{function _0x82663c(_0x649346,_0x516cc2){return _0x210841(_0x649346- -0xbf,_0x516cc2);}watcher[_0x82663c(0xf0,0x203)](),process['exit'](-0x536+0x5cc+0x1e*-0x5);}),process['on'](_0x6aac3f(0x2b2,0x2a1)+'RM',()=>{watcher['close'](),process['exit'](-0x1ac4+-0x439+0x1efd*0x1);});}if(command===_0x210841(0x37b,0x55d)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x210841(0x41c,0x412)))?join(DATA_DIR,_0x210841(0x41c,0x370)):join(ROOT,_0x6aac3f(0x208,0x389));flags[_0x6aac3f(0x11a,0x1be)]&&(console[_0x210841(0x30c,0x177)](ENV_FILE),process[_0x210841(0x2e3,0x230)](-0x16ed+-0x6b6+0x1da3));if(flags[_0x6aac3f(0x66,-0x1c)]){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x6aac3f(0x59,-0x6d)+_0x6aac3f(0x138,0x1b4)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,'utf8')),console[_0x210841(0x30c,0x3fd)](_0x6aac3f(0x14a,0x175)+_0x210841(0x50a,0x45e)+_0x210841(0x366,0x28b)+_0x210841(0x25e,0x429)+_0x6aac3f(0x59,0x235)+_0x210841(0x34c,0x3ca)+'le')):(writeFileSync(ENV_FILE,_0x210841(0x2c5,0x408)+'ink\x20C'+'onfig'+_0x6aac3f(0x2d0,0x3a9)+_0x6aac3f(0x2cf,0x276)),console[_0x210841(0x30c,0x1f5)](_0x210841(0x35e,0x1c2)+_0x6aac3f(0x2f6,0x489)+'empty'+_0x210841(0x319,0x466)+'\x20file'));}const editor=process.env.EDITOR||(process[_0x6aac3f(0x284,0xf4)+_0x6aac3f(0x186,0x354)]===_0x6aac3f(0x324,0x420)?'notep'+'ad':_0x6aac3f(0x1f0,0x251));console[_0x6aac3f(0xf8,-0x80)](_0x6aac3f(-0x2c,-0xda)+_0x210841(0x236,0x34e)+ENV_FILE+_0x6aac3f(0xac,0x1a1)+editor+_0x210841(0x4bd,0x45f));try{const _0x58807b={};_0x58807b[_0x6aac3f(0x291,0x415)]='inher'+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x58807b);}catch(_0x34500d){console[_0x210841(0x2fb,0x3eb)](_0x6aac3f(0x255,0x20f)+_0x210841(0x535,0x6fe)+_0x6aac3f(0x1fb,0x3fc)+_0x6aac3f(0x2df,0x2e6)+_0x210841(0x3a6,0x33e)+_0x34500d[_0x6aac3f(0x6a,0xd6)+'ge']),console[_0x6aac3f(0xe7,-0x1)](_0x210841(0x514,0x41f)+'\x20EDIT'+_0x210841(0x1d7,0xd7)+'v\x20var'+_0x6aac3f(-0xb0,-0xd9)+_0x6aac3f(0x2b8,0x34c)+_0x210841(0x521,0x5e3)+_0x210841(0x475,0x546)+ENV_FILE),process[_0x210841(0x2e3,0x412)](0x2701*-0x1+-0x56d*-0x3+0x16bb);}process['exit'](0x5a0+0x19f5+-0x651*0x5);}!existsSync(ENV_FILE)&&(console[_0x210841(0x30c,0x243)](_0x210841(0x4c7,0x479)+_0x210841(0x366,0x4aa)+'file\x20'+_0x6aac3f(0xf3,0x2ed)+'.'),console['log'](_0x210841(0x207,0x34d)+'ate\x20o'+'ne\x20wi'+_0x6aac3f(0x2e9,0x1ad)+_0x6aac3f(0x2e,0x5)+_0x6aac3f(0xb3,-0xbe)+_0x6aac3f(0x314,0x110)+_0x210841(0x267,0x32e)+'edit'),console[_0x6aac3f(0xf8,0x1aa)](_0x210841(0x2a8,0x1e2)+'copy\x20'+_0x210841(0x28e,0x309)+_0x210841(0x454,0x360)+_0x210841(0x174,-0x5)+'\x20.env'+_0x6aac3f(0x24b,0xf9)+'ple\x20.'+'env'),process[_0x210841(0x2e3,0x498)](-0x5*0x23c+0x74*-0x40+0xb*0x3a7));const SENSITIVE_KEYS=[_0x6aac3f(0x307,0x223),_0x210841(0x419,0x47b),_0x210841(0x233,0x249)+'T',_0x210841(0x441,0x4f3)+_0x6aac3f(-0x32,-0x213),_0x210841(0x3d1,0x5a6)+_0x210841(0x4ae,0x4e8)];function maskValue(_0x16dbbc,_0x1b3ed2){const _0x1be317={};_0x1be317[_0x54f82e(0x5c1,0x6d9)]=function(_0x3779c0,_0x460ec7){return _0x3779c0||_0x460ec7;};function _0x5ec84b(_0x483624,_0x445644){return _0x210841(_0x445644-0x16d,_0x483624);}_0x1be317[_0x5ec84b(0x567,0x3e8)]=function(_0x2e6b0e,_0x20a7ec){return _0x2e6b0e<=_0x20a7ec;},_0x1be317[_0x5ec84b(0x766,0x57f)]=function(_0x57f7b7,_0x17c99b){return _0x57f7b7+_0x17c99b;},_0x1be317[_0x54f82e(0x5bd,0x3e4)]=_0x5ec84b(0x45f,0x39a);const _0x46a7f3=_0x1be317;function _0x54f82e(_0x20feb1,_0xb6f21){return _0x210841(_0x20feb1-0x3a9,_0xb6f21);}const _0x113fd2=SENSITIVE_KEYS[_0x5ec84b(0x3b1,0x3cd)](_0x12fcd0=>_0x16dbbc['toUpp'+_0x54f82e(0x64c,0x72f)+'e']()[_0x54f82e(0x56b,0x6c2)+_0x54f82e(0x5af,0x5b3)](_0x12fcd0));if(_0x46a7f3[_0x5ec84b(0x4cd,0x385)](!_0x113fd2,!_0x1b3ed2)||_0x46a7f3[_0x5ec84b(0x509,0x3e8)](_0x1b3ed2[_0x5ec84b(0x5c5,0x551)+'h'],-0x1bbb+0x590+0x162f))return _0x1b3ed2;return _0x46a7f3[_0x5ec84b(0x5b7,0x57f)](_0x1b3ed2[_0x54f82e(0x84a,0x758)](0x220e+-0x11d9*0x1+0x1*-0x1035,-0x26ba+0x1c*-0x164+0x4dae),_0x46a7f3[_0x5ec84b(0x4f7,0x381)]);}try{const content=readFileSync(ENV_FILE,_0x6aac3f(0x1f2,0x173)),entries=[];for(const line of content[_0x6aac3f(0x285,0x2e5)]('\x0a')){const trimmed=line[_0x6aac3f(0x320,0x321)]();if(!trimmed||trimmed[_0x6aac3f(0x1d3,0x110)+'sWith']('#'))continue;const eqIdx=trimmed['index'+'Of']('=');if(eqIdx===-(-0x2090+0x1*-0xd93+0x1*0x2e24))continue;const key=trimmed[_0x210841(0x4a1,0x546)](0x2b*0x12+0x2509+-0x5b9*0x7,eqIdx)[_0x210841(0x534,0x4b3)](),val=trimmed[_0x210841(0x4a1,0x374)](eqIdx+(-0xff3*0x2+-0x1316+0x32fd))[_0x6aac3f(0x320,0x43e)]();entries[_0x6aac3f(0x16f,0x24b)]([key,val]);}entries[_0x210841(0x3e4,0x599)+'h']===0xf18+0x1*0x9ae+-0x421*0x6&&(console[_0x210841(0x30c,0x2cb)]('⬡\x20.en'+_0x210841(0x25c,0x382)+'e\x20is\x20'+'empty'+_0x6aac3f(0x1ff,0x2e2)+_0x6aac3f(0x97,-0x7c)+_0x6aac3f(-0x19,0x107)+'hat\x20c'+_0x210841(0x449,0x4ec)+_0x210841(0x268,0xe0)+'it'),process[_0x210841(0x2e3,0x1ae)](0x1e33+0x1*0x207d+-0x3eb0));const maxKeyLen=Math[_0x6aac3f(0x118,0x293)](...entries[_0x6aac3f(0x188,0x69)](([_0x45433e])=>_0x45433e['lengt'+'h']));console[_0x6aac3f(0xf8,0x2a5)](_0x210841(0x13e,0x39)+'Uplin'+_0x210841(0x154,0x357)+_0x6aac3f(0x32,-0x2d)+_0x210841(0x450,0x2e2)+'\x0a'),console['log']('\x20\x20'+'Key'[_0x210841(0x3b1,0x52e)+'d'](maxKeyLen+(0x25c8+-0x1*0xe2d+-0x1799))+_0x6aac3f(0x2cc,0x135)),console['log']('\x20\x20'+'─'[_0x6aac3f(0x85,-0xf1)+'t'](maxKeyLen+(-0x19f3+-0xdff*-0x1+0xbf6))+'─'[_0x210841(0x299,0x264)+'t'](-0x1*-0xeed+0x14af+-0x2374));for(const [key,val]of entries){const display=val?maskValue(key,val):_0x210841(0x24d,0x2b0)+_0x6aac3f(0x1cd,0x327)+_0x6aac3f(0x20e,0x3de)+'m';console[_0x210841(0x30c,0x380)]('\x20\x20'+key[_0x6aac3f(0x19d,0x33f)+'d'](maxKeyLen+(0x1c80+0x1802+-0x2a*0x140))+display);}console[_0x6aac3f(0xf8,0x21f)](_0x6aac3f(-0xdf,0xd4)+_0x210841(0x36d,0x479)+ENV_FILE+'\x0a');}catch(_0xa2b1bb){console[_0x210841(0x2fb,0x4c0)](_0x210841(0x469,0x61d)+_0x210841(0x535,0x44c)+_0x210841(0x3f2,0x59f)+_0x6aac3f(0x1ce,0xe0)+'v:\x20'+_0xa2b1bb[_0x6aac3f(0x6a,0x24c)+'ge']),process[_0x210841(0x2e3,0x223)](0x1*-0x1919+-0x13c*-0x14+0x6a);}process['exit'](-0x2*0x8a2+0x2*-0x35b+0x17fa);}if(command===_0x6aac3f(0x271,0x401)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x210841(0x306,0x29b)+'on'));console['log']('\x0a\x20\x20⬡\x20'+_0x210841(0x308,0x195)+_0x6aac3f(0xed,-0x8f)+_0x6aac3f(-0x25,0x1a5)+'\x20v'+pkg['versi'+'on']+'\x0a');const results=[];function pass(_0x4c3407,_0x52e638){const _0x5dd241={};function _0x3751b4(_0x326109,_0x2fdbb5){return _0x210841(_0x326109- -0x3b7,_0x2fdbb5);}_0x5dd241['BTFwy']=_0x48b93c(0x369,0x43f);const _0x26c9ba=_0x5dd241,_0x3ccbac={};_0x3ccbac['statu'+'s']=_0x26c9ba['BTFwy'],_0x3ccbac[_0x48b93c(0x212,0x3c3)]=_0x4c3407,_0x3ccbac[_0x48b93c(0x427,0x23d)+'l']=_0x52e638;function _0x48b93c(_0x23e593,_0x1dfd4a){return _0x210841(_0x1dfd4a- -0x2c,_0x23e593);}results[_0x48b93c(0x2de,0x357)](_0x3ccbac);}function fail(_0x3d2e70,_0x50ab36){const _0x55a902={};_0x55a902[_0x591bc5(0x384,0x31c)]=_0x591bc5(0x352,0x42d);const _0x46c04e=_0x55a902,_0xc01fe={};_0xc01fe[_0x591bc5(0x58a,0x668)+'s']=_0x46c04e[_0xf019c1(-0x41,0x6c)],_0xc01fe['label']=_0x3d2e70,_0xc01fe[_0x591bc5(0x390,0x419)+'l']=_0x50ab36;function _0x591bc5(_0x179ec8,_0x7fbae6){return _0x210841(_0x179ec8-0x127,_0x7fbae6);}function _0xf019c1(_0x3dcc75,_0x475934){return _0x210841(_0x3dcc75- -0x29e,_0x475934);}results[_0x591bc5(0x4aa,0x60a)](_0xc01fe);}function warn(_0x2987db,_0xa7b0bf){const _0x1a622f={};function _0x20ad03(_0xe34260,_0x28aa89){return _0x210841(_0x28aa89-0x21d,_0xe34260);}_0x1a622f[_0x4937d9(0x153,0x66)+'s']=_0x20ad03(0x4db,0x504),_0x1a622f['label']=_0x2987db;function _0x4937d9(_0x475aa1,_0x3f0a24){return _0x210841(_0x3f0a24- -0x3fd,_0x475aa1);}_0x1a622f[_0x4937d9(-0x111,-0x194)+'l']=_0xa7b0bf,results['push'](_0x1a622f);}const nodeVer=process[_0x210841(0x373,0x350)+_0x210841(0x157,0x50)]['node'],nodeMajor=parseInt(nodeVer[_0x6aac3f(0x285,0x351)]('.')[0x1*0xd49+0x1bf4+-0x45*0x99],0x542+-0x12*0xf2+0xbcc);nodeMajor>=0x9d*-0xd+-0x7*0x1d+-0x179*-0x6?pass('Node.'+_0x6aac3f(0x26d,0x3b4)+_0x210841(0x4d9,0x3ca),'v'+nodeVer+(_0x210841(0x2dd,0x338)+_0x6aac3f(0x1cc,0xa0)+_0x210841(0x29b,0x142)+'d)')):fail('Node.'+_0x210841(0x481,0x348)+_0x210841(0x4d9,0x3a0),'v'+nodeVer+(_0x210841(0x24e,0x408)+'de.js'+_0x210841(0x3bc,0x294)+_0x210841(0x15a,0x30b)+_0x210841(0x21f,0x2e7)+_0x6aac3f(0x13b,-0xc7)));const ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,_0x210841(0x41c,0x23c)):join(ROOT,_0x210841(0x41c,0x435));let envPort=-0x58*0x2d+-0x232b+-0x1561*-0x3,envGatewayUrl=_0x6aac3f(0x10f,0x1dd)+'//127'+_0x210841(0x28a,0x3ca)+_0x6aac3f(0x2d1,0x23f)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x210841(0x406,0x55a));for(const line of content[_0x210841(0x499,0x4b8)]('\x0a')){const t=line['trim']();if(!t||t[_0x6aac3f(0x1d3,0x32e)+'sWith']('#'))continue;const eqIdx=t[_0x6aac3f(0x2a2,0x36e)+'Of']('=');if(eqIdx===-(0x22c+-0x1901+0x16d6))continue;const k=t[_0x6aac3f(0x28d,0x306)](-0x1*0xccd+-0x1f7a+0x2c47,eqIdx)[_0x6aac3f(0x320,0x1c8)](),v=t['slice'](eqIdx+(0xb59+0x5a2*-0x6+0x1674))[_0x210841(0x534,0x580)]();if(k==='PORT')envPort=parseInt(v,-0x4e3*-0x1+-0x1cb7*0x1+0x4c6*0x5)||0x1a60+0x20c1+-0x2da1;if(k===_0x6aac3f(-0x56,-0x227)+_0x210841(0x2a0,0x3cb)+'L')envGatewayUrl=v;if(k===_0x6aac3f(-0x56,-0xd2)+_0x6aac3f(0x5c,0x18e)+_0x210841(0x1c5,0x34a))envGatewayToken=v;if(k===_0x210841(0x331,0x2e6)+_0x6aac3f(0x297,0x43f)+_0x6aac3f(0x286,0xae))envOpenAIKey=v;if(k===_0x6aac3f(-0x20,0x179)+'NLABS'+_0x210841(0x347,0x52d)+_0x6aac3f(0x205,0x2b2))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x5509fb=>{const _0x425935={'fJIpH':function(_0x11eeba,_0x16bc98){return _0x11eeba!==_0x16bc98;},'mNZrt':_0x6cda73(-0xe9,0x11c),'hhWVx':function(_0x690703,_0x108edd){return _0x690703===_0x108edd;},'HtaQQ':_0x6cda73(0x6a,0x208)+_0x2cc550(0x63a,0x804),'KIqOS':function(_0x1bb04f,_0x48f92b){return _0x1bb04f(_0x48f92b);},'UwLll':'\x0a\x20\x20⬡\x20'+_0x2cc550(0x7c6,0x5e0)+_0x6cda73(-0xc,0x1f0)+'\x20been'+_0x2cc550(0x507,0x5e6)+'letel'+_0x6cda73(0x162,0x258)+'nstal'+_0x6cda73(0x127,0x25a),'SMweX':_0x2cc550(0x566,0x559)+_0x2cc550(0x5fe,0x68e)+'or\x20us'+_0x2cc550(0x48a,0x5a8)+_0x2cc550(0x40a,0x51a)+'.\x20👋\x0a','OMcjd':_0x6cda73(-0x8,0x1a9),'tTvGj':_0x6cda73(0x290,0x240),'oLGKw':_0x2cc550(0x3d7,0x5d3),'kesIR':_0x6cda73(0x457,0x31d)+'.0.1'},_0x35e4d2=_0x53159e[_0x2cc550(0x6ed,0x6af)+'eServ'+'er']();function _0x2cc550(_0x44175d,_0x57a50d){return _0x6aac3f(_0x57a50d-0x4ec,_0x44175d);}function _0x6cda73(_0x213456,_0x3af632){return _0x6aac3f(_0x3af632-0xad,_0x213456);}_0x35e4d2[_0x6cda73(0x198,0x29e)](_0x425935[_0x6cda73(-0x32,0x13b)],_0x1e2a1e=>{function _0x31e13c(_0x2fbfe9,_0x30988b){return _0x6cda73(_0x2fbfe9,_0x30988b- -0xd2);}function _0x33d816(_0x23cd13,_0x2ea68){return _0x6cda73(_0x2ea68,_0x23cd13- -0x1fd);}if(_0x425935[_0x33d816(0x14b,0x195)](_0x31e13c(-0x11,0x181),_0x425935[_0x31e13c(0x1dc,0xeb)])){if(_0x425935[_0x33d816(-0x1db,-0x26)](_0x1e2a1e[_0x33d816(-0x2f,0xf5)],_0x425935['HtaQQ']))_0x425935[_0x33d816(-0x17e,-0x34d)](_0x5509fb,![]);else _0x5509fb(!![]);}else{const _0x3e7e11={};_0x3e7e11[_0x31e13c(-0x188,-0xa8)+_0x31e13c(-0xd9,0x74)]=!![],_0x3e7e11[_0x31e13c(0x2ba,0x23a)]=!![],_0x426dd2(_0x2f7e68,_0x3e7e11),_0x1c751a++,_0x2d26f9[_0x33d816(-0x58,0x181)](_0x33d816(0x164,0x2f9)+_0x33d816(-0x9b,-0x104)+'d\x20'+_0xc4e9d);}}),_0x35e4d2[_0x6cda73(0x3ef,0x29e)](_0x2cc550(0x712,0x7a2)+_0x6cda73(0x11a,0xba),()=>{const _0x48a9ad={};function _0x1f2efd(_0x4b81e8,_0x400405){return _0x2cc550(_0x4b81e8,_0x400405- -0x5c8);}_0x48a9ad['fLpix']=_0x5c0ca1(0x188,0x1e5)+'it',_0x48a9ad[_0x1f2efd(0x29d,0x139)]=_0x425935[_0x5c0ca1(-0x7c,-0x77)],_0x48a9ad[_0x5c0ca1(0x30d,0x11c)]=_0x425935['SMweX'];function _0x5c0ca1(_0x4b687e,_0xada574){return _0x2cc550(_0x4b687e,_0xada574- -0x592);}const _0x1ad58d=_0x48a9ad;if(_0x425935[_0x5c0ca1(0x11b,0x1f5)](_0x425935['OMcjd'],_0x425935['tTvGj']))_0x35e4d2[_0x1f2efd(0x48,-0x141)](),_0x425935[_0x1f2efd(-0x81,-0x10a)](_0x5509fb,!![]);else{const _0x3e2114={};_0x3e2114[_0x1f2efd(0x12c,0x1b5)]=rEeEAT['fLpix'],_0x2d4d05('npm\x20u'+_0x1f2efd(-0x17,-0x16b)+_0x5c0ca1(0x1fb,0x136)+_0x1f2efd(0x149,0x1e1)+_0x5c0ca1(0x169,0x237)+'pany/'+'uplin'+'k-cha'+'t',_0x3e2114),_0x2dadbb['log'](rEeEAT[_0x5c0ca1(0x356,0x16f)]),_0x21976d[_0x1f2efd(-0x1a1,0x1c)](rEeEAT['BpCgJ']);}}),_0x35e4d2[_0x6cda73(0x4d9,0x363)+'n'](envPort,_0x425935[_0x2cc550(0x7ca,0x617)]);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x6aac3f(0x282,0x3ad)+envPort,_0x6aac3f(0x56,0x1bb)+_0x210841(0x337,0x362)+_0x6aac3f(0x305,0x300)+_0x6aac3f(-0x95,0xd1)+_0x210841(0x2ea,0x465)+_0x210841(0x2e2,0x3f1)+_0x210841(0x47e,0x5b4)+_0x210841(0x360,0x2c5)):pass(_0x210841(0x496,0x300)+envPort,_0x210841(0x26a,0x264)+_0x6aac3f(0xe1,0x1e5)):serverRunning?pass('Port\x20'+envPort,'in\x20us'+_0x210841(0x21e,0x23c)+_0x6aac3f(0xf4,0xe)+'k'):fail('Port\x20'+envPort,_0x6aac3f(0x8d,0x125)+_0x210841(0x21e,0x7c)+_0x210841(0x390,0x239)+_0x210841(0x3cc,0x5cd)+_0x210841(0x13a,0x221));const gatewayReachable=await new Promise(_0x2e7129=>{function _0x3c128d(_0x20f4b0,_0x52bcf3){return _0x6aac3f(_0x52bcf3-0x4b2,_0x20f4b0);}const _0x3e5da4={'UyqNZ':function(_0x381715,_0x2c202e){return _0x381715>_0x2c202e;},'gqxcF':function(_0x345473,_0x28988f){return _0x345473!==_0x28988f;},'zpCVx':_0x3c128d(0x941,0x780),'KBTgd':function(_0x508dd6,_0x1834c5){return _0x508dd6(_0x1834c5);},'vtlLp':'GET','uNaAi':_0x86162a(0x5a8,0x48a),'OvRCo':'timeo'+'ut','PpOEq':_0x86162a(0x40e,0x4be)};function _0x86162a(_0x99c5b0,_0xfabfdc){return _0x6aac3f(_0x99c5b0-0x4c1,_0xfabfdc);}try{const _0x22dfb9=new URL(envGatewayUrl),_0xb99179={};_0xb99179[_0x3c128d(0x8aa,0x744)+_0x86162a(0x522,0x4f4)]=_0x22dfb9['hostn'+_0x86162a(0x522,0x3e6)],_0xb99179['port']=_0x22dfb9[_0x3c128d(0x702,0x551)]||0x1252+-0x1*-0x22+-0x1224,_0xb99179[_0x3c128d(0x64a,0x5cc)]='/',_0xb99179[_0x3c128d(0x894,0x78c)+'d']=_0x3e5da4[_0x86162a(0x4a7,0x64a)],_0xb99179[_0x86162a(0x7df,0x760)+'ut']=0x1388;const _0xaebf53=_0x26ba20[_0x3c128d(0x362,0x514)+'st'](_0xb99179,_0x41bd03=>{function _0x22d793(_0x55d7a5,_0x363e66){return _0x86162a(_0x55d7a5- -0x418,_0x363e66);}function _0x46c8ff(_0x20edc7,_0x4068d1){return _0x86162a(_0x20edc7- -0x85,_0x4068d1);}const _0x348c60={'fOfeS':function(_0x3528fe,_0x39fec3){return _0x3e5da4['UyqNZ'](_0x3528fe,_0x39fec3);}};_0x3e5da4[_0x22d793(-0x28,-0x1e)](_0x3e5da4['zpCVx'],_0x3e5da4[_0x22d793(-0x6,0x33)])?_0x45dc72['log'](_0x46c8ff(0x366,0x509)+_0x22d793(0x3c6,0x3f2)+_0x22d793(0x211,0x1f9)+_0x3508cf+_0x22d793(0x288,0x306)+(_0x348c60[_0x22d793(-0x26,-0x1f9)](_0x46e2ca,-0x1ca1+0xa26*0x1+-0xa9*-0x1c)?'s':'')+('.\x20Fre'+'sh\x20st'+'art!')):(_0x41bd03['resum'+'e'](),_0x3e5da4[_0x22d793(0x16e,0x174)](_0x2e7129,!![]));});_0xaebf53['on'](_0x3e5da4['uNaAi'],()=>_0x2e7129(![])),_0xaebf53['on'](_0x3e5da4[_0x86162a(0x45f,0x297)],()=>{_0xaebf53['destr'+'oy']();function _0x1a80b5(_0x90c71b,_0x2aebb8){return _0x86162a(_0x2aebb8- -0x463,_0x90c71b);}_0x3e5da4[_0x1a80b5(0x49,0x123)](_0x2e7129,![]);}),_0xaebf53[_0x86162a(0x3fa,0x57a)]();}catch{_0x3e5da4['PpOEq']!==_0x86162a(0x56c,0x6e2)?_0x3e5da4[_0x86162a(0x586,0x6fa)](_0x2e7129,![]):(_0x329a0f[_0x86162a(0x408,0x23d)+'e'](),_0x3e5da4[_0x86162a(0x586,0x77c)](_0x51fa8b,!![]));}});gatewayReachable?pass('Gatew'+_0x6aac3f(0x185,0x4c)+'achab'+'le',envGatewayUrl):fail(_0x6aac3f(-0x90,0xec)+_0x6aac3f(0x185,0x32d)+'achab'+'le',_0x210841(0x1a8,0x17d)+_0x210841(0x1e1,0x144)+_0x6aac3f(0x24,0xd)+envGatewayUrl);existsSync(join(ROOT,_0x210841(0x4f0,0x44e)+_0x210841(0x46f,0x397)+'es'))?pass(_0x210841(0x33d,0x37d)+_0x6aac3f(0x2fb,0x29f)+_0x210841(0x3f7,0x5b1)+_0x210841(0x1c8,0x3cd)+'ed',_0x210841(0x4f0,0x519)+_0x210841(0x46f,0x430)+_0x6aac3f(0x1d4,0x372)+_0x210841(0x408,0x502)):fail(_0x210841(0x33d,0x38f)+_0x210841(0x50f,0x3d8)+_0x210841(0x3f7,0x2f1)+_0x210841(0x1c8,0x197)+'ed',_0x210841(0x4f0,0x4d4)+'modul'+'es\x20mi'+_0x210841(0x365,0x1c2)+_0x210841(0x3fb,0x563)+'n\x20npm'+_0x210841(0x3a4,0x41f)+_0x210841(0x241,0x19b));if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x6aac3f(0x1f2,0x334)),pass(_0x6aac3f(0x152,0x82)+_0x6aac3f(-0xa9,0x7e),_0x210841(0x3a3,0x30c)+_0x6aac3f(0x127,0xac)+_0x6aac3f(-0xc1,-0xda)+_0x6aac3f(0xe1,-0x1d));}catch{fail(_0x210841(0x366,0x4b1)+_0x210841(0x16b,0x35c),'exist'+_0x6aac3f(0xca,0x100)+_0x210841(0x3ac,0x3de)+_0x6aac3f(0xc6,-0xe2)+_0x6aac3f(0x1c9,0x277));}else fail(_0x210841(0x366,0x301)+_0x6aac3f(-0xa9,-0x217),_0x6aac3f(0x2ad,0x271)+_0x210841(0x4f6,0x448)+_0x6aac3f(0x27f,0xbd)+':\x20upl'+'ink-c'+_0x210841(0x2cd,0x418)+_0x6aac3f(0x235,0x1a9)+_0x6aac3f(0x54,0x215)+'it');envGatewayToken&&envGatewayToken!==_0x6aac3f(0x28a,0x1d1)+_0x210841(0x134,0x2d7)+_0x6aac3f(0x26c,0x458)?pass(_0x210841(0x184,0xf)+_0x6aac3f(0x2ea,0x4bf)+_0x210841(0x32a,0x414),_0x6aac3f(0x167,-0x50)+_0x210841(0x16f,0x158)):fail(_0x210841(0x184,0x37a)+_0x6aac3f(0x2ea,0x4db)+_0x6aac3f(0x116,0x87),_0x210841(0x2fc,0x143)+_0x210841(0x502,0x3aa)+'\x20.env');if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers['push'](_0x210841(0x374,0x33f)+'I');if(envElevenLabsKey)providers[_0x210841(0x383,0x1c2)](_0x6aac3f(0x73,0x23d)+_0x210841(0x3b5,0x31b));pass(_0x210841(0x16d,0xd1)+_0x210841(0x265,0x7f)+'ys',providers[_0x6aac3f(0x1a5,0x1f6)](',\x20')+(_0x6aac3f(0x314,0x30b)+_0x6aac3f(-0x2a,-0x166)+'d'));}else warn(_0x210841(0x16d,0x172)+_0x6aac3f(0x51,0x63)+'ys','no\x20Op'+_0x210841(0x4b9,0x453)+_0x210841(0x49b,0x56a)+_0x6aac3f(0x2a6,0x2f6)+_0x210841(0x45c,0x25f)+_0x210841(0x321,0x1a6)+_0x210841(0x284,0x317)+_0x6aac3f(0x2fd,0x3d7)+_0x210841(0x4d5,0x49e)+_0x6aac3f(0x231,0x26b)+_0x6aac3f(0x8,-0x74)+_0x6aac3f(-0x3c,0x7c));try{const freeBytes=((()=>{function _0x2d972d(_0x75ba4d,_0x493a47){return _0x210841(_0x75ba4d-0x3b,_0x493a47);}const _0x38005e={'pHfkn':_0x410c5f(0x445,0x356)+'hing\x20'+_0x410c5f(-0x5f,0x144)+_0x410c5f(0x5d8,0x46b)+_0x2d972d(0x426,0x48e)+'ady\x20c'+_0x2d972d(0x1ca,0x1c5),'PZhIV':function(_0x3ef490,_0x5d8e13){return _0x3ef490===_0x5d8e13;},'Doxxt':_0x2d972d(0x573,0x459),'kaQlZ':_0x410c5f(0x390,0x1ee),'BIXmu':function(_0x39e349,_0xead8e7,_0x5cffd3){return _0x39e349(_0xead8e7,_0x5cffd3);},'mwXxB':function(_0x4f3e98,_0x520aa5){return _0x4f3e98+_0x520aa5;},'nSusS':function(_0x4b1280,_0x3d73bb,_0x302fb3){return _0x4b1280(_0x3d73bb,_0x302fb3);},'dYzBl':_0x2d972d(0x2f9,0x4ef),'iEmkL':function(_0x59ac02,_0x3789a9,_0x383031){return _0x59ac02(_0x3789a9,_0x383031);},'hkGvt':'utf8','RejuP':function(_0x10d91e,_0x237782){return _0x10d91e*_0x237782;}};function _0x410c5f(_0x5a1721,_0x21b077){return _0x210841(_0x21b077- -0xa8,_0x5a1721);}if(_0x38005e[_0x410c5f(0x39e,0x248)](process[_0x410c5f(0x241,0x3f0)+_0x2d972d(0x3d5,0x55c)],_0x38005e[_0x2d972d(0x4df,0x36d)])){if(_0x38005e[_0x410c5f(0x12f,0x248)](_0x38005e[_0x410c5f(0x29c,0x2b9)],_0x410c5f(0x82,0x1ee))){const _0x1ef131={};_0x1ef131[_0x410c5f(0x66,0x1eb)+'ing']='utf8';const _0x44a31f=_0x38005e['BIXmu'](execSync,_0x38005e[_0x410c5f(0x10a,0x208)](_0x38005e['mwXxB'](_0x410c5f(0x35c,0x25a)+_0x410c5f(0x14d,0xd9)+_0x410c5f(0x3a5,0x405)+_0x410c5f(0x36,0x14a)+_0x410c5f(0x1f4,0x13f)+_0x410c5f(0x314,0x148)+'ID=\x27',ROOT[_0x410c5f(0x2b3,0x2f9)+'t'](-0x4*0x84f+-0x730+0x286c)),_0x410c5f(0x19a,0x1e5)+_0x410c5f(0x37c,0x3e9)+_0x2d972d(0x33b,0x29e)+'ce\x20/v'+_0x410c5f(0x43e,0x3a6)),_0x1ef131),_0x5f33ac=_0x44a31f['match'](/FreeSpace=(\d+)/);return _0x5f33ac?_0x38005e[_0x410c5f(0x2a4,0xd5)](parseInt,_0x5f33ac[0xd*-0x14b+-0x1107*-0x1+0x5*-0xb],-0x1619+-0x2c*0x9e+0x314b*0x1):null;}else _0x206522[_0x2d972d(0x347,0x248)](_0x38005e['pHfkn']);}else{if(_0x38005e[_0x2d972d(0x32b,0x386)](_0x38005e[_0x410c5f(0x5c8,0x475)],_0x38005e[_0x2d972d(0x558,0x3cd)])){const _0x2e09af=_0x38005e[_0x2d972d(0x513,0x310)](execSync,_0x410c5f(0x3ea,0x494)+'\x20\x22'+ROOT+(_0x410c5f(0x137,0x299)+_0x410c5f(0x204,0x3f4)+'1'),{'encoding':_0x38005e[_0x2d972d(0x48c,0x3c9)]}),_0x365263=_0x2e09af[_0x2d972d(0x56f,0x743)]()['split'](/\s+/);return _0x38005e[_0x410c5f(0x410,0x2b1)](_0x38005e[_0x2d972d(0x1b8,0x23d)](parseInt,_0x365263[-0x24f3+-0x13*-0x65+0x1d77],-0x1df9+0x40*-0x6d+0x3943),-0x14ed+0xa06+-0x2fb*-0x5);}else _0xe60a38['edit']=!![];}})());if(freeBytes!==null){const freeMB=Math[_0x6aac3f(-0x39,-0x9f)](freeBytes/((0x89*0x22+0x75f*0x1+-0x1591)*(0x21e2+0x80*0xd+0x1231*-0x2)));freeMB>=-0x1e61+0x3fd*0x8+0x1*0x6d?pass('Disk\x20'+_0x210841(0x2a5,0x258),freeMB+('\x20MB\x20f'+_0x210841(0x1e3,0x256))):warn(_0x210841(0x2b4,0x375)+_0x6aac3f(0x91,0x269),freeMB+(_0x210841(0x400,0x5b9)+_0x210841(0x30a,0x1ce)+_0x210841(0x1f6,0x2a9)+_0x210841(0x2d8,0x3f6)+_0x210841(0x377,0x274)+'MB'));}}catch{warn(_0x6aac3f(0xa0,0x1ad)+_0x210841(0x2a5,0x21e),_0x6aac3f(0x20c,0x9a)+_0x210841(0x3ac,0x333)+_0x6aac3f(0x137,-0x80)+_0x210841(0x2f1,0x224)+_0x210841(0x2f8,0x47f)+_0x210841(0x202,0x2e0)+_0x6aac3f(0x91,-0x4d));}const _0x29fbd5={};_0x29fbd5[_0x210841(0x46b,0x2a0)]=_0x6aac3f(-0xd4,0x4f)+_0x6aac3f(0xc,0x1b2),_0x29fbd5['fail']='\x1b[31m'+_0x210841(0x444,0x441),_0x29fbd5[_0x210841(0x2e7,0x304)]=_0x6aac3f(0x136,0x1d7)+_0x6aac3f(-0x79,-0x4c);const icons=_0x29fbd5;for(const r of results){console[_0x210841(0x30c,0x432)]('\x20\x20'+icons[r[_0x6aac3f(0x24f,0x1b0)+'s']]+'\x20'+r[_0x6aac3f(0x1db,0x8f)]+':\x20'+r[_0x210841(0x269,0xdd)+'l']);}const passes=results[_0x6aac3f(0x8a,-0x56)+'r'](_0x4452d=>_0x4452d['statu'+'s']===_0x210841(0x46b,0x5e3))[_0x210841(0x3e4,0x399)+'h'],fails=results[_0x210841(0x29e,0x42e)+'r'](_0x269afd=>_0x269afd[_0x210841(0x463,0x4f8)+'s']===_0x210841(0x22b,0x22f))[_0x210841(0x3e4,0x3c5)+'h'],warns=results[_0x210841(0x29e,0x2c3)+'r'](_0x2eb6e1=>_0x2eb6e1[_0x6aac3f(0x24f,0x7f)+'s']===_0x210841(0x2e7,0x250))[_0x210841(0x3e4,0x1e3)+'h'];console[_0x6aac3f(0xf8,-0xee)](''),fails===-0x4*-0x287+0x1*0x15f7+-0x2013?console['log']('\x20\x20⬡\x20A'+_0x6aac3f(0x2f3,0x41f)+passes+(_0x6aac3f(0xa2,-0x49)+_0x210841(0x2d4,0x47e)+_0x210841(0x1b0,0x1b))+(warns?'\x20('+warns+(_0x210841(0x25a,0x69)+_0x210841(0x43e,0x2af))+(warns>-0x26fb+0x1f5b+0x7a1?'s':'')+')':'')+'.'):console[_0x210841(0x30c,0x48a)](_0x6aac3f(-0xdd,0x87)+passes+(_0x210841(0x504,0x44e)+_0x210841(0x239,0x28a))+fails+(_0x210841(0x23d,0x40)+'ed')+(warns?',\x20'+warns+(_0x6aac3f(0x46,0xad)+_0x210841(0x43e,0x4b1))+(warns>-0x1931+-0x39*0x9d+0xb1*0x57?'s':''):'')+'.'),console[_0x210841(0x30c,0x366)](''),process[_0x6aac3f(0xcf,0x43)](fails>0x262d*0x1+-0x1e93*-0x1+-0x44c0?0xf07*0x2+0x215+-0x2022:0x1266*0x2+0x1d2a*-0x1+0x3d1*-0x2);}if(command===_0x6aac3f(0x117,0x88)){const {rmSync}=await import('fs');console[_0x210841(0x30c,0x3a6)](_0x6aac3f(-0xd6,-0x15b)+_0x210841(0x308,0x179)+_0x6aac3f(0x20a,0x18d)+'et\x0a'),console[_0x6aac3f(0xf8,-0x1a)](_0x210841(0x1ac,0x33a)+_0x6aac3f(0x1d2,0x228)+_0x210841(0x40a,0x2be)+_0x6aac3f(-0x43,-0x178)),console[_0x210841(0x30c,0x212)]('\x20\x20\x20\x20•'+'\x20Chat'+'\x20hist'+_0x6aac3f(0x2d6,0x497)+'nd\x20me'+_0x6aac3f(0x1ac,0xef)+_0x210841(0x25b,0x23e)+_0x6aac3f(-0xa1,-0x113)),console[_0x210841(0x30c,0x111)](_0x6aac3f(0xf0,0x16c)+_0x210841(0x418,0x236)+_0x210841(0x1b3,0xee)+_0x210841(0x4b4,0x3d4)+'\x20and\x20'+'media'+'\x20cach'+'e'),console[_0x6aac3f(0xf8,-0xfb)](_0x210841(0x304,0x21f)+_0x6aac3f(0xd5,0x13b)+_0x6aac3f(0x7,0x136)+'ssage'+_0x6aac3f(0xe2,-0x72)+'ue'),console[_0x210841(0x30c,0x3ea)]('\x20\x20\x20\x20•'+_0x210841(0x1a1,0x351)+'\x20subs'+_0x6aac3f(0x9d,0x170)+_0x6aac3f(0x9a,0x5d)+_0x210841(0x1e9,0x40)+_0x210841(0x212,0xb7)+_0x6aac3f(0x45,0x43)+'ta'),console[_0x6aac3f(0xf8,-0x9d)](''),console['log'](_0x6aac3f(-0x68,0x1a)+_0x210841(0x3e6,0x353)+_0x210841(0x2ca,0x1a6)+_0x210841(0x340,0x3af)+'r:'),console[_0x210841(0x30c,0x47f)](_0x210841(0x304,0x37e)+_0x210841(0x319,0x2b4)+_0x6aac3f(0x314,0x2be)+_0x6aac3f(0x14f,0x212)+_0x210841(0x1b9,0xd9)),console[_0x210841(0x30c,0x32f)](_0x210841(0x304,0x458)+_0x6aac3f(-0xbb,-0x24c)+_0x6aac3f(-0x50,-0x8b)+_0x6aac3f(0x27a,0x1c5)),console['log']('\x20\x20\x20\x20•'+'\x20The\x20'+_0x210841(0x24b,0x56)+'r\x20its'+_0x210841(0x30f,0x3a3));if(!flags[_0x210841(0x473,0x35f)]){const readline=await import(_0x6aac3f(0x2bf,0x166)+_0x6aac3f(0x40,0x95)),_0x55b8be={};_0x55b8be[_0x210841(0x1cf,0x111)]=process[_0x210841(0x3fd,0x53a)],_0x55b8be[_0x6aac3f(0x246,0x253)+'t']=process[_0x6aac3f(0x175,0x34d)+'t'];const rl=readline['creat'+'eInte'+_0x6aac3f(0x312,0x443)](_0x55b8be),answer=await new Promise(_0x244aa8=>{const _0xbaaf20={};_0xbaaf20[_0x1004de(-0x2a,0x61)]='\x20\x20Typ'+_0x3319dd(-0x42,-0x44)+_0x3319dd(0x7,0xc1)+'to\x20co'+'nfirm'+':\x20';function _0x3319dd(_0x2722d9,_0x486c3e){return _0x210841(_0x2722d9- -0x360,_0x486c3e);}const _0xad3d62=_0xbaaf20;function _0x1004de(_0x1d54a0,_0x467c32){return _0x210841(_0x467c32- -0x19f,_0x1d54a0);}rl[_0x3319dd(0x3f,0x36)+_0x1004de(0x2d6,0x340)](_0xad3d62[_0x1004de(0x125,0x61)],_0x244aa8);});rl[_0x6aac3f(-0x65,-0x5a)](),answer[_0x210841(0x534,0x712)]()[_0x210841(0x492,0x68b)+'erCas'+'e']()!=='reset'&&(console[_0x6aac3f(0xf8,0x60)](_0x6aac3f(0x103,0x1b5)+_0x6aac3f(-0x4d,-0x157)+_0x210841(0x4d6,0x473)+_0x210841(0x387,0x410)+'g\x20was'+_0x6aac3f(0x16c,0x1b1)+_0x210841(0x24a,0x2a3)),process[_0x210841(0x2e3,0x26f)](0xc97+0x11*-0x15+-0xb32)),console[_0x6aac3f(0xf8,0x166)]('');}const dataResets=['messa'+_0x210841(0x26f,0x28c)+_0x210841(0x3c5,0x3c5)+_0x210841(0x3a0,0x591),_0x210841(0x342,0x442)+_0x6aac3f(0xde,0x14a)+'son','sync-'+_0x6aac3f(0x7e,-0x4),_0x6aac3f(0x25d,0x30d)+_0x210841(0x273,0x2eb)+_0x210841(0x2cc,0x4cb)+'tions',_0x6aac3f(0x8b,0x131)+'ds',_0x210841(0x16a,-0x85),_0x210841(0x19c,0x271)+_0x6aac3f(0x21e,0xc6)],rootResets=[_0x6aac3f(0x6a,0x1f2)+_0x210841(0x26f,0x468)+_0x6aac3f(0x1b1,0x19e)+_0x210841(0x3a0,0x513),_0x210841(0x342,0x282)+'ity.j'+'son',_0x6aac3f(0x165,0x2c6)+_0x210841(0x292,0xec),_0x6aac3f(0x25d,0x318)+_0x6aac3f(0x5f,0x143)+_0x6aac3f(0xb8,0x72)+'tions','uploa'+'ds',_0x210841(0x394,0x576)+_0x6aac3f(0x43,-0x6b)+'io','misse'+_0x6aac3f(0x166,0x207)+_0x6aac3f(0x100,0xa5)+_0x210841(0x3e9,0x4d3),_0x210841(0x388,0x268)+_0x6aac3f(-0xd3,0xf2)+'ripti'+_0x6aac3f(0x12f,0x201)+'son',_0x6aac3f(0x37,-0x174)+_0x210841(0x277,0x3f7),'.upli'+_0x6aac3f(-0x37,-0x7a)+_0x6aac3f(-0x5,0x41)+_0x6aac3f(0xf8,0x4e),_0x210841(0x187,0x296)+_0x6aac3f(0x1da,0x164)+'tchdo'+_0x6aac3f(0x2f4,0x193)];let cleared=-0x2*-0x2e0+0x115f*0x1+0x1*-0x171f;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x24aff6={};_0x24aff6['recur'+_0x6aac3f(0x99,0xe1)]=!![],_0x24aff6[_0x210841(0x473,0x482)]=!![],rmSync(fullPath,_0x24aff6),cleared++,console[_0x6aac3f(0xf8,0x2d9)](_0x6aac3f(0x2b4,0x2c6)+_0x6aac3f(0xb5,-0x26)+_0x6aac3f(-0x9d,-0x21a)+_0x6aac3f(0x13,-0x36)+'/'+item);}catch(_0x48f8a8){console['error']('\x20\x20✗\x20F'+_0x210841(0x163,0x68)+_0x6aac3f(-0x7a,-0x216)+_0x210841(0x2c9,0x33a)+'\x20DATA'+'_DIR/'+item+':\x20'+_0x48f8a8[_0x6aac3f(0x6a,0x267)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x4db280={};_0x4db280[_0x6aac3f(-0x83,-0x17b)+_0x210841(0x2ad,0xbf)]=!![],_0x4db280[_0x6aac3f(0x25f,0x29d)]=!![],rmSync(fullPath,_0x4db280),cleared++,console[_0x210841(0x30c,0x2ea)]('\x20\x20✓\x20R'+'emove'+'d\x20'+item);}catch(_0x42e69e){console[_0x6aac3f(0xe7,0x28b)](_0x210841(0x4dc,0x662)+_0x6aac3f(-0xb1,0x6)+_0x210841(0x19a,0x350)+_0x6aac3f(0xb5,0x1c9)+'\x20'+item+':\x20'+_0x42e69e['messa'+'ge']);}}cleared===0xb+-0x1*-0x137+-0x142?console[_0x6aac3f(0xf8,-0xc3)](_0x210841(0x3fe,0x345)+_0x210841(0x247,0x2e6)+'to\x20cl'+_0x6aac3f(0x2ff,0x249)+'\x20alre'+_0x210841(0x523,0x3fa)+'lean.'):console['log'](_0x6aac3f(-0xd6,0xb2)+_0x210841(0x531,0x6ad)+_0x210841(0x37c,0x3ee)+cleared+'\x20item'+(cleared>0x5ad*-0x1+-0x2b3*0x9+0x1df9?'s':'')+(_0x6aac3f(-0x44,-0xa3)+_0x6aac3f(0x71,-0xe)+_0x210841(0x353,0x246))),console[_0x6aac3f(0xf8,0x1ee)](''),process[_0x6aac3f(0xcf,-0x131)](-0x1437+-0x23bb*-0x1+-0xf84);}if(command===_0x210841(0x4fc,0x32a)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x6aac3f(0x75,0x21a)+_0x6aac3f(0xf2,0x240)+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x6aac3f(0x208,0x244)))?join(DATA_DIR,'.env'):join(ROOT,_0x6aac3f(0x208,0x57));let envPort='3456',envHost='0.0.0'+'.0',envGatewayUrl=_0x210841(0x323,0x170)+_0x210841(0x17b,0x2cf)+_0x210841(0x28a,0x3d5)+'1:187'+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,'utf8');for(const line of content[_0x210841(0x499,0x4f9)]('\x0a')){const t=line[_0x210841(0x534,0x5a2)]();if(!t||t['start'+_0x6aac3f(-0x87,-0x280)]('#'))continue;const eqIdx=t[_0x6aac3f(0x2a2,0x3c0)+'Of']('=');if(eqIdx===-(0x4c9*-0x5+-0x33a+-0xd94*-0x2))continue;const k=t[_0x6aac3f(0x28d,0x332)](-0x3*0xd01+-0xe7*0xb+0x30f0,eqIdx)[_0x210841(0x534,0x456)](),v=t['slice'](eqIdx+(0x232c+0x9b2+-0x8f9*0x5))[_0x6aac3f(0x320,0x306)]();if(k===_0x210841(0x376,0x392))envPort=v||_0x210841(0x44b,0x314);if(k==='UPLIN'+_0x6aac3f(-0x4a,-0x23)+'T'||k===_0x210841(0x263,0x422))envHost=v||_0x210841(0x3d8,0x308)+'.0';if(k===_0x6aac3f(-0x56,-0x214)+_0x210841(0x2a0,0x1d2)+'L')envGatewayUrl=v;if(k===_0x6aac3f(-0x56,0xb2)+_0x210841(0x270,0x34b)+'KEN')envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+_0x6aac3f(-0xcb,-0x182)+_0x210841(0x28f,0x2ea)+_0x6aac3f(-0x6,0x160)+'D\x20'+(watchdogPid||serverPid)+')':'\x1b[31m'+_0x6aac3f(0x114,-0x35)+'ed\x1b[0'+'m',gwReachable=await new Promise(_0x4c35c7=>{function _0x404b44(_0x34d66b,_0x786af6){return _0x210841(_0x786af6- -0x33b,_0x34d66b);}function _0x1bfedf(_0x11a2aa,_0x39068a){return _0x210841(_0x11a2aa-0x2ed,_0x39068a);}const _0x53d7d4={'gGnfJ':function(_0x293f96,_0x32a0c9){return _0x293f96(_0x32a0c9);},'yYYbG':_0x1bfedf(0x661,0x484)+'I','euROb':'Eleve'+'nLabs','oxuph':function(_0x22ef46,_0x8204d1,_0x47685e){return _0x22ef46(_0x8204d1,_0x47685e);},'peJpo':_0x1bfedf(0x45a,0x3f3)+_0x1bfedf(0x552,0x5cb)+'ys','EZaBK':function(_0x5943fa,_0x2080e7){return _0x5943fa+_0x2080e7;},'UTXgf':'\x20conf'+'igure'+'d','zpAzf':function(_0x101c09,_0x7ab4b6){return _0x101c09!==_0x7ab4b6;},'UzzbM':'LdUJf','Mvqqy':_0x404b44(-0x173,-0x13c),'ABdaQ':_0x1bfedf(0x4c6,0x668),'FhzAz':_0x404b44(0x183,0x1f7)+'ut'};try{if(_0x53d7d4[_0x1bfedf(0x6c1,0x882)](_0x53d7d4[_0x404b44(-0xc,-0xd0)],_0x53d7d4[_0x1bfedf(0x7b2,0x977)])){const _0x59f3b0=new URL(envGatewayUrl),_0x1781e6={};_0x1781e6[_0x404b44(0xda,0x16b)+_0x404b44(0xa5,-0xc6)]=_0x59f3b0[_0x404b44(0x264,0x16b)+'ame'],_0x1781e6[_0x404b44(-0x76,-0x88)]=_0x59f3b0[_0x404b44(0x45,-0x88)]||0x3*0x72d+0x1051+-0x2588,_0x1781e6[_0x404b44(-0x122,-0xd)]='/',_0x1781e6[_0x404b44(0xb8,0x1b3)+'d']=_0x53d7d4[_0x1bfedf(0x678,0x6ac)],_0x1781e6['timeo'+'ut']=0xbb8;const _0x21fb6f=_0x26ba20[_0x404b44(-0x1cd,-0xc5)+'st'](_0x1781e6,_0x20b6fc=>{_0x20b6fc['resum'+'e']();function _0x4e27e9(_0x4cc970,_0xe0488){return _0x404b44(_0x4cc970,_0xe0488-0x685);}_0x53d7d4[_0x4e27e9(0x3fa,0x574)](_0x4c35c7,!![]);});_0x21fb6f['on'](_0x404b44(0x11e,-0x40),()=>_0x4c35c7(![])),_0x21fb6f['on'](_0x53d7d4[_0x1bfedf(0x67f,0x509)],()=>{_0x21fb6f[_0x476a47(0x5ce,0x626)+'oy']();function _0x476a47(_0x30fc2d,_0x42694b){return _0x1bfedf(_0x30fc2d-0x4a,_0x42694b);}_0x4c35c7(![]);}),_0x21fb6f['end']();}else{const _0x5d09e7=[];if(_0x3966a8)_0x5d09e7['push'](jqCVBW['yYYbG']);if(_0x53f498)_0x5d09e7[_0x404b44(0x91,0x48)](jqCVBW[_0x404b44(-0x1,0x20)]);jqCVBW[_0x1bfedf(0x480,0x307)](_0x2e6245,jqCVBW['peJpo'],jqCVBW[_0x1bfedf(0x433,0x46a)](_0x5d09e7[_0x404b44(-0xde,0x7e)](',\x20'),jqCVBW['UTXgf']));}}catch{_0x53d7d4[_0x404b44(-0x2a,-0x111)](_0x4c35c7,![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x6aac3f(-0x1d,0x10e)+_0x210841(0x311,0x2ae)+'necte'+'d)\x1b[0'+'m'):envGatewayUrl+(_0x210841(0x3c4,0x3af)+'m(unr'+_0x6aac3f(0x2fc,0x47e)+'ble)\x1b'+_0x6aac3f(-0x3,-0x184)),LOG_FILE=join(ROOT,'serve'+_0x6aac3f(0x63,0x206)),ALT_LOG_FILE=join(ROOT,_0x6aac3f(-0x8d,0x167)+_0x210841(0x1dd,0x67)+_0x210841(0x20f,0xef)+_0x6aac3f(0xf8,0x227)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x6aac3f(0x1e0,0x242)+')',premiumFile=join(ROOT,'serve'+'r','premi'+'um');let premiumStatus=_0x6aac3f(0x2d7,0x137)+_0x210841(0x1b1,0x111)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x6aac3f(0x41,0xa8)+_0x210841(0x348,0x2d7));const configFile=join(ROOT,'confi'+_0x6aac3f(0x2af,0x126)+'n');if(existsSync(configFile))try{const cfg=JSON['parse'](readFileSync(configFile,'utf8'));if(cfg[_0x210841(0x42c,0x417)+'um']||cfg[_0x210841(0x42c,0x24f)+_0x6aac3f(0x263,0x252)])premiumStatus=_0x6aac3f(0x12e,-0x27)+'e';}catch{}console[_0x6aac3f(0xf8,0x70)]('\x0a\x20\x20⬡\x20'+_0x210841(0x308,0x3f4)+_0x210841(0x3ec,0x283)+_0x210841(0x30b,0x316)+_0x210841(0x4fa,0x432)+_0x210841(0x14f,0x228)+_0x6aac3f(0x1ee,0x6a)+pkg[_0x210841(0x373,0x457)+'on']+('\x0a\x20\x20No'+_0x210841(0x4db,0x35b)+':\x20\x20\x20\x20'+_0x6aac3f(-0xdb,0x99))+process['versi'+_0x6aac3f(-0xbd,-0xf0)][_0x210841(0x21d,0x1e6)]+(_0x210841(0x48d,0x3c1)+_0x6aac3f(0xcd,0x2a0)+_0x6aac3f(0x210,0xd4)+'\x20\x20')+envPort+('\x0a\x20\x20Ho'+'st:\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20')+envHost+('\x0a\x20\x20Se'+'rver:'+_0x6aac3f(0x210,0x35c)+'\x20\x20')+serverStatus+('\x0a\x20\x20Ga'+_0x6aac3f(-0x9c,-0x125)+_0x210841(0x24f,0x42e)+'\x20\x20')+gwStatus+(_0x210841(0x148,0x25f)+_0x210841(0x4d7,0x5d8)+'r:\x20\x20\x20'+'\x20\x20')+DATA_DIR+(_0x210841(0x2ed,0x369)+_0x210841(0x309,0x169)+_0x210841(0x369,0x1da)+'\x20\x20')+logFile+('\x0a\x20\x20Pr'+_0x210841(0x1a3,0x31a)+_0x210841(0x24f,0x33a)+'\x20\x20')+premiumStatus+(_0x6aac3f(0x2cd,0x22e)+_0x6aac3f(-0x4c,-0x214)+_0x210841(0x522,0x60f)+'\x20\x20')+ROOT+_0x6aac3f(0x1b4,0x102)),process[_0x210841(0x2e3,0x2c3)](-0x1*-0x26d3+-0x17b*0x5+0x1f6c*-0x1);}const ALL_COMMANDS=[_0x6aac3f(0x6c,0x25d),_0x210841(0x463,0x390)+'s',_0x6aac3f(0x148,0x30c)+'e',_0x6aac3f(-0x75,0x76)+_0x6aac3f(0x212,0x192),_0x6aac3f(0x120,0x274),_0x6aac3f(0x167,0xbf)+'g',_0x6aac3f(0x271,0x1d6)+'r',_0x210841(0x32b,0x475),'info'];if(command===_0x6aac3f(0x1d3,0x2c8)||!ALL_COMMANDS['inclu'+_0x6aac3f(-0xe,0x18)](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x210841(0x391,0x2e4)+_0x6aac3f(0x7c,-0x58):_0x210841(0x23f,0xe8)+'t';console[_0x6aac3f(0xf8,0xa9)](_0x6aac3f(0xc2,0x37)+'ink\x20i'+_0x6aac3f(0x2d5,0x17c)+_0x6aac3f(0x182,-0x8)+_0x210841(0x149,0x1a8)+_0x6aac3f(0x243,0x3d8)+mode+(_0x6aac3f(0x92,0x5)+'\x20')+pid+').'),console['log']('\x20\x20Sto'+_0x6aac3f(0x93,0x1e)+_0x6aac3f(0x28,0x1e)+_0x6aac3f(0x97,-0x7e)+_0x6aac3f(-0x19,0x1c8)+_0x210841(0x403,0x455)+_0x6aac3f(0x21b,0x240)),process[_0x210841(0x2e3,0x3ce)](0x4b*0x37+0x1f82+-0x2f9e);}const env={...process.env};if(flags[_0x210841(0x2b3,0x207)])env['PORT']=String(flags['port']);if(flags['host'])env[_0x210841(0x1f9,0x23c)+_0x210841(0x1ca,0x1a2)+'T']=flags[_0x6aac3f(-0x59,-0x7d)];const serverPath=join(ROOT,'serve'+_0x210841(0x434,0x50b));if(flags[_0x6aac3f(-0x13,0xe3)+'h']){const watchdogPath=join(ROOT,_0x210841(0x24b,0x384)+'r','watch'+_0x6aac3f(0x201,0x1c0)+'s'),extraEnv={};if(flags[_0x6aac3f(0x9f,0xac)])extraEnv['PORT']=String(flags['port']);if(flags[_0x6aac3f(-0x59,0x68)])extraEnv['UPLIN'+_0x210841(0x1ca,0xb)+'T']=flags[_0x210841(0x1bb,0x295)];const isLinux=process['platf'+_0x6aac3f(0x186,-0xb)]===_0x210841(0x35f,0x54a);let child;if(isLinux)try{const _0x473d39={};_0x473d39[_0x210841(0x4a5,0x671)]='ignor'+'e',execSync(_0x210841(0x384,0x1a0)+'\x20sets'+'id',_0x473d39);const _0x59ef39={};_0x59ef39[_0x6aac3f(0x254,0x44a)]=ROOT,_0x59ef39['env']=env,_0x59ef39[_0x210841(0x201,0x280)+_0x6aac3f(0x1e6,0x33a)]=!![],_0x59ef39[_0x6aac3f(0x291,0x173)]='ignor'+'e',child=spawn(_0x210841(0x48b,0x68e)+'d',['--for'+'k',process[_0x210841(0x478,0x448)+_0x210841(0x425,0x3b2)],watchdogPath,JSON['strin'+_0x6aac3f(0x29f,0x126)](extraEnv)],_0x59ef39);}catch{const _0x3fdd13={};_0x3fdd13[_0x210841(0x468,0x667)]=ROOT,_0x3fdd13[_0x210841(0x4ec,0x687)]=env,_0x3fdd13[_0x6aac3f(-0x13,0x18e)+'hed']=!![],_0x3fdd13[_0x6aac3f(0x291,0x3ad)]=_0x6aac3f(0x1e4,0x1e)+'e',child=spawn(process[_0x6aac3f(0x264,0x3b6)+_0x6aac3f(0x211,0x75)],[watchdogPath,JSON['strin'+_0x210841(0x4b3,0x31a)](extraEnv)],_0x3fdd13);}else{const _0x5a3f42={};_0x5a3f42[_0x210841(0x468,0x437)]=ROOT,_0x5a3f42[_0x6aac3f(0x2d8,0x446)]=env,_0x5a3f42[_0x6aac3f(-0x13,-0x3d)+'hed']=!![],_0x5a3f42[_0x6aac3f(0x291,0x156)]=_0x6aac3f(0x1e4,0x46)+'e',child=spawn(process[_0x6aac3f(0x264,0x3e0)+_0x6aac3f(0x211,0x2b3)],[watchdogPath,JSON[_0x210841(0x487,0x2e0)+'gify'](extraEnv)],_0x5a3f42);}child['unref']();const port=flags[_0x6aac3f(0x9f,0xf0)]||env[_0x210841(0x376,0x53b)]||-0x18d*0x15+-0x109a+0x3eab;console['log'](_0x6aac3f(0xc2,0x8b)+_0x6aac3f(0x6,-0x13d)+'tarte'+_0x6aac3f(0xe5,-0x40)+_0x210841(0x453,0x2c6)+'round'+_0x6aac3f(0xda,-0x104)+_0x6aac3f(0x247,0x361)+_0x6aac3f(0x142,0x1e7)+_0x210841(0x44c,0x401)+child[_0x210841(0x3f6,0x350)]+').'),console[_0x6aac3f(0xf8,0x15f)]('\x20\x20→\x20h'+'ttp:/'+_0x210841(0x22e,0xf9)+_0x210841(0x3a8,0x4e7)+':'+port),console[_0x210841(0x30c,0x36a)]('\x20\x20Aut'+'o-res'+_0x210841(0x2df,0x2c2)+_0x210841(0x338,0x455)+_0x210841(0x505,0x68e)+'\x20Stop'+_0x210841(0x2ee,0x3e1)+_0x6aac3f(0x97,-0x7a)+_0x6aac3f(-0x19,-0xb9)+'hat\x20s'+_0x210841(0x42f,0x53d)),process[_0x210841(0x2e3,0x3e8)](0x2f*-0xbc+-0x7+0x228b*0x1);}else{if(flags['noWat'+_0x210841(0x1d3,0x242)]){const _0x1ed278={};_0x1ed278['cwd']=ROOT,_0x1ed278[_0x6aac3f(0x2d8,0x226)]=env,_0x1ed278[_0x6aac3f(0x291,0x3a9)]=_0x6aac3f(0x28b,0x321)+'it';const child=spawn(process[_0x6aac3f(0x264,0x3c6)+'ath'],[serverPath],_0x1ed278);writeFileSync(PID_FILE,String(child[_0x6aac3f(0x1e2,0x188)]));const cleanup=()=>{function _0x53a02a(_0x3b404b,_0xa516e){return _0x6aac3f(_0x3b404b- -0x17e,_0xa516e);}function _0x35ae52(_0x53065a,_0x50104b){return _0x6aac3f(_0x50104b-0x587,_0x53065a);}const _0x12bd12={'NQMcl':function(_0x139774,_0x1ec2ca,_0x8ac01){return _0x139774(_0x1ec2ca,_0x8ac01);},'DnOlv':function(_0x4ce2f0,_0x7b0ac6){return _0x4ce2f0===_0x7b0ac6;},'IYEkF':_0x53a02a(0x4c,0xe6),'zrSpc':function(_0x4aa751,_0x3626d9){return _0x4aa751(_0x3626d9);}};try{if(_0x12bd12[_0x53a02a(-0x1ae,-0x2d6)](_0x12bd12[_0x35ae52(0x72e,0x79a)],_0x12bd12['IYEkF']))_0x12bd12['zrSpc'](unlinkSync,PID_FILE);else{const _0x4b0f0a={};_0x4b0f0a[_0x35ae52(0x510,0x504)+_0x35ae52(0x671,0x620)]=!![],_0x4b0f0a[_0x35ae52(0x66d,0x7e6)]=!![],FfFdOw['NQMcl'](_0xacfbf4,_0x290d05,_0x4b0f0a),_0x82adb++,_0x4ada41['log'](_0x35ae52(0x69d,0x83b)+_0x35ae52(0x7ef,0x63c)+'d\x20dat'+_0x53a02a(0x49,-0x17b)+_0x35ae52(0x6dd,0x764)+_0x53a02a(0x22,0x3c)+_0x5b3ad1);}}catch{}};process['on'](_0x6aac3f(0x44,-0xa2)+'T',()=>{const _0x2a6db0={'jbxms':function(_0x4d2c41){return _0x4d2c41();}};function _0x248af6(_0x4b3bf5,_0x20f2ae){return _0x210841(_0x4b3bf5-0x18b,_0x20f2ae);}function _0x33f8d3(_0x54d9df,_0x1bc097){return _0x210841(_0x54d9df- -0x338,_0x1bc097);}_0x2a6db0[_0x33f8d3(0x1b5,0x2a0)](cleanup),process[_0x33f8d3(-0x55,-0xd)](-0x7b5*-0x1+0x236e+-0x2b23);}),process['on']('SIGTE'+'RM',()=>{const _0x69af18={'lBZuP':function(_0xdc367b){return _0xdc367b();}};function _0x204a15(_0x797df3,_0x24d833){return _0x210841(_0x24d833-0x185,_0x797df3);}_0x69af18[_0xe76c26(0x424,0x2d4)](cleanup);function _0xe76c26(_0x2a604e,_0x1aac0c){return _0x210841(_0x2a604e-0x41,_0x1aac0c);}process[_0xe76c26(0x324,0x44a)](0x1*-0x197+0x1*0x716+-0x1*0x57f);}),child['on'](_0x210841(0x2e3,0x349),_0xec20ab=>{const _0x4bfd90={};_0x4bfd90['ViznM']=function(_0x6f86e2,_0x41c811){return _0x6f86e2||_0x41c811;};function _0x5d0bf5(_0x1d3f48,_0x2ae667){return _0x6aac3f(_0x1d3f48-0x307,_0x2ae667);}const _0x4d47a0=_0x4bfd90;cleanup(),process['exit'](_0x4d47a0[_0x5d0bf5(0x24b,0x398)](_0xec20ab,0x1*0x224b+0x184a+-0x3a95*0x1));});}else{const watchdogPath=join(ROOT,_0x210841(0x24b,0x23d)+'r',_0x210841(0x391,0x283)+_0x210841(0x415,0x551)+'s'),extraEnv={};if(flags[_0x210841(0x2b3,0x203)])extraEnv[_0x6aac3f(0x162,0x324)]=String(flags['port']);if(flags['host'])extraEnv[_0x210841(0x1f9,0x322)+'K_HOS'+'T']=flags['host'];const _0x57d075={};_0x57d075[_0x210841(0x468,0x5fc)]=ROOT,_0x57d075[_0x210841(0x4ec,0x5ac)]=env,_0x57d075[_0x210841(0x4a5,0x415)]=_0x6aac3f(0x28b,0x263)+'it';const child=spawn(process['execP'+_0x210841(0x425,0x53b)],[watchdogPath,JSON[_0x6aac3f(0x273,0x45b)+_0x6aac3f(0x29f,0x431)](extraEnv)],_0x57d075),port=flags['port']||env[_0x6aac3f(0x162,-0x6d)]||0xbf*0xb+0x202*-0x1+0x74d;console[_0x6aac3f(0xf8,0x176)](_0x210841(0x2d6,0x46b)+_0x6aac3f(0x6,-0x1c7)+_0x210841(0x329,0x2ad)+_0x6aac3f(0xfe,0x2e5)+_0x6aac3f(0x183,0x75)+'tchdo'+'g\x20(au'+_0x210841(0x4cf,0x505)+'start'+'\x20enab'+_0x6aac3f(0x2f5,0x255)),console[_0x6aac3f(0xf8,0x2b3)](_0x6aac3f(-0xc4,-0xc0)+_0x6aac3f(0x25c,0x25c)+'/loca'+_0x6aac3f(0x194,0x376)+':'+port),console['log'](_0x210841(0x43c,0x55f)+_0x210841(0x274,0x1e8)+'-watc'+'hdog\x20'+_0x210841(0x378,0x35e)+'aw\x20se'+'rver\x20'+_0x6aac3f(0x1c6,0x205)),process['on']('SIGIN'+'T',()=>{const _0x143054={};function _0x4b84cc(_0x3a8296,_0xf83a85){return _0x6aac3f(_0xf83a85-0xf3,_0x3a8296);}function _0x583574(_0x373b36,_0x2c405a){return _0x6aac3f(_0x373b36-0x43b,_0x2c405a);}_0x143054[_0x4b84cc(0x12c,0x291)]=_0x4b84cc(0x521,0x3a5)+'RM';const _0x3bc2bc=_0x143054;child['kill'](_0x3bc2bc[_0x583574(0x5d9,0x556)]);}),process['on'](_0x6aac3f(0x2b2,0x27d)+'RM',()=>{const _0x2abaa7={};_0x2abaa7[_0x32fbea(0x141,0x186)]=_0x32fbea(0x262,0x72)+'RM';function _0x516e51(_0x23206f,_0x356e58){return _0x6aac3f(_0x23206f-0x125,_0x356e58);}function _0x32fbea(_0x1ff7ee,_0x3a9f54){return _0x6aac3f(_0x1ff7ee- -0x50,_0x3a9f54);}const _0x1fca09=_0x2abaa7;child[_0x32fbea(0x29b,0x33e)](_0x1fca09[_0x516e51(0x2b6,0x287)]);}),child['on']('exit',_0x232851=>{function _0x1ca16c(_0x4fa3ab,_0x473ff5){return _0x6aac3f(_0x473ff5-0x40f,_0x4fa3ab);}process[_0x1ca16c(0x355,0x4de)](_0x232851||0x1584+0x1b3+-0x1737);});}}}
|
|
3
|
+
(function(_0x4800e8,_0x5e698c){function _0x25b115(_0x416a6a,_0x3de291){return _0x1d2a(_0x416a6a-0x2f2,_0x3de291);}function _0x3ad870(_0x323db5,_0x51c58e){return _0x1d2a(_0x323db5-0x390,_0x51c58e);}const _0x3d80a6=_0x4800e8();while(!![]){try{const _0x16b018=-parseInt(_0x3ad870(0x627,0x660))/(-0x1279+0x1*-0x223+0x149d)*(-parseInt(_0x3ad870(0x452,0x613))/(0xfba+-0xe28+-0x190))+parseInt(_0x25b115(0x461,0x647))/(-0x16f*0x19+-0x21e5+-0xdf3*-0x5)*(parseInt(_0x3ad870(0x4cb,0x392))/(-0x502+-0x10b6+-0x2*-0xade))+parseInt(_0x3ad870(0x640,0x70b))/(-0x3e+-0x14df+0x1522)+parseInt(_0x3ad870(0x762,0x738))/(-0x8d9+0xcfe*-0x2+0x22db*0x1)+-parseInt(_0x3ad870(0x49f,0x5bd))/(-0x7ed*0x4+-0x255e+0x4519)*(parseInt(_0x25b115(0x3d5,0x23f))/(-0x12e+-0xf87+0x1*0x10bd))+-parseInt(_0x3ad870(0x76f,0x914))/(-0x23f1+0x1f5+0x2205)+parseInt(_0x3ad870(0x46e,0x544))/(0x13*0x1c3+-0x35*0xa3+0x50)*(parseInt(_0x25b115(0x4a1,0x4c0))/(0x1*-0x1136+-0x1fb0+-0x30f1*-0x1));if(_0x16b018===_0x5e698c)break;else _0x3d80a6['push'](_0x3d80a6['shift']());}catch(_0x39cdbf){_0x3d80a6['push'](_0x3d80a6['shift']());}}}(_0x83cf,0x1945*-0xe+0x476a9+-0x5*-0x41bb));import{spawn,execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';import{createRequire}from'module';import _0x3fdfe2 from'net';import _0x497eb7 from'http';import _0x2d64a3 from'os';function _0x1d2a(_0x5c35b8,_0x5cf5bb){_0x5c35b8=_0x5c35b8-(-0x13c*-0x5+-0x1b0e*0x1+0x156b);const _0x51cee3=_0x83cf();let _0x19968b=_0x51cee3[_0x5c35b8];return _0x19968b;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x1e10e6={'pSLwB':function(_0x514b55,_0x401d74,_0x2b5ccd){return _0x514b55(_0x401d74,_0x2b5ccd);},'XsgtB':function(_0x7f6248,_0xa7285c){return _0x7f6248+_0xa7285c;},'MDdeF':_0x2d18b2(0x122,0x14b),'YdVsT':'avail'+_0x33a33b(0x3f7,0x4e4),'LdMyg':function(_0x159299,_0x1896e1){return _0x159299(_0x1896e1);},'vAiiR':function(_0x3a41c6,_0x35f97e){return _0x3a41c6!==_0x35f97e;},'UMHHG':_0x2d18b2(0x109,0x17f)+_0x2d18b2(0xcc,0x11)+_0x33a33b(0x37f,0x3ec)+'v\x20var'+_0x2d18b2(-0x4f,-0x63)+_0x33a33b(0x3af,0x4a1)+_0x2d18b2(-0x19b,-0x232)+'ly:\x20','btgvu':_0x2d18b2(-0xe4,-0x203),'oUprH':function(_0x4dbad1,_0x2b3605,_0x243034){return _0x4dbad1(_0x2b3605,_0x243034);},'csrVd':'Gatew'+'ay\x20to'+_0x33a33b(0x6f8,0x6f4),'PvRun':function(_0x572f2c,_0x3321ab){return _0x572f2c!==_0x3321ab;},'uVvEF':_0x2d18b2(-0x206,-0x15b),'BEZRJ':_0x2d18b2(-0x1fa,-0x1da),'HbBiw':_0x2d18b2(-0x21,0x5e)+_0x2d18b2(-0x34c,-0x195)+'+$','gYveF':function(_0x1fef40,_0x4bfa4e,_0x37501b){return _0x1fef40(_0x4bfa4e,_0x37501b);},'Lgfiy':function(_0x30689f){return _0x30689f();},'rJGSk':function(_0x55b6a3,_0x3f5a6f){return _0x55b6a3===_0x3f5a6f;},'HkymI':'win32','APiyc':_0x2d18b2(-0x104,-0x1c2)+'ta','jVWOd':'Roami'+'ng','UkXJq':function(_0x205379,_0x317482,_0x533812){return _0x205379(_0x317482,_0x533812);},'GVHDF':_0x2d18b2(-0x2a5,-0x1cc)+'k','QUKrq':function(_0x46903f,_0x21fec,_0x4148f6){return _0x46903f(_0x21fec,_0x4148f6);}};function _0x2d18b2(_0x1870f9,_0x37cb67){return _0x1d2a(_0x37cb67- -0x2fc,_0x1870f9);}const _0xf7a0f5=(function(){function _0x5d66d9(_0x435819,_0x26a9cd){return _0x33a33b(_0x26a9cd,_0x435819- -0x2f7);}const _0x4f7aab={'iwrls':function(_0xf36349,_0x5a6940){function _0x4eced4(_0x2179d7,_0x18a69f){return _0x1d2a(_0x18a69f-0x3e6,_0x2179d7);}return _0x1e10e6[_0x4eced4(0x5db,0x57e)](_0xf36349,_0x5a6940);},'vINlb':function(_0x314af4,_0x4cd627){function _0x1cce3f(_0x32fb20,_0x1e889a){return _0x1d2a(_0x1e889a-0x399,_0x32fb20);}return _0x1e10e6[_0x1cce3f(0x4b9,0x460)](_0x314af4,_0x4cd627);},'jfSmX':function(_0x41d834,_0xb26063){return _0x41d834+_0xb26063;},'ddCNZ':_0x1e10e6[_0x5d66d9(0x17b,0x202)],'jjBkH':function(_0xc047bc,_0xdcc327){function _0x492699(_0x43a596,_0x28b1b9){return _0x5d66d9(_0x43a596-0x3fb,_0x28b1b9);}return _0x1e10e6[_0x492699(0x4a1,0x562)](_0xc047bc,_0xdcc327);},'yrUIM':_0x5d66d9(0x2e6,0x46f)};function _0x2e14fa(_0x2a8c44,_0x1598a2){return _0x33a33b(_0x2a8c44,_0x1598a2- -0x3a3);}if('JkNwU'!==_0x1e10e6['btgvu'])_0x1e10e6[_0x5d66d9(0x1dd,0x2c0)](_0xcf61b,_0x1e10e6['XsgtB'](_0x1e10e6[_0x5d66d9(0x1a6,0x373)],_0x58881d),_0x1e10e6[_0x2e14fa(0xf3,0x1be)]);else{let _0x3173d9=!![];return function(_0x1195fd,_0x213215){function _0x45582d(_0xa49ee9,_0x38b640){return _0x2e14fa(_0xa49ee9,_0x38b640-0x45a);}function _0x39c984(_0x239aba,_0x4e2277){return _0x2e14fa(_0x4e2277,_0x239aba-0x13d);}if(_0x4f7aab[_0x39c984(0x448,0x50f)](_0x45582d(0x85f,0x79c),_0x4f7aab[_0x45582d(0x777,0x7df)])){const _0x5c9dd1=_0x3173d9?function(){function _0x1955e4(_0x14d9b1,_0x27156b){return _0x39c984(_0x14d9b1- -0x18e,_0x27156b);}function _0x26da50(_0x31b8c1,_0x4b1a13){return _0x39c984(_0x4b1a13- -0x68,_0x31b8c1);}const _0x15d5ce={'uTbDf':function(_0x5af951,_0x1fcb29){function _0x314d65(_0x3e9cd1,_0x301044){return _0x1d2a(_0x301044-0x365,_0x3e9cd1);}return _0x4f7aab[_0x314d65(0x8c4,0x7d2)](_0x5af951,_0x1fcb29);}};if(_0x213215){if(_0x4f7aab[_0x26da50(0x370,0x21f)](_0x26da50(0x70,0x166),_0x1955e4(0x40,0x121)))_0x12af8d[_0x1955e4(0x2b7,0x199)](),_0x15d5ce[_0x26da50(0x5d,0xfc)](_0x58cc3e,!![]);else{const _0x310c80=_0x213215[_0x26da50(-0x2c,0x189)](_0x1195fd,arguments);return _0x213215=null,_0x310c80;}}}:function(){};return _0x3173d9=![],_0x5c9dd1;}else _0x1e4eb0[_0x45582d(0x522,0x6b1)]('⬡\x20Fai'+_0x45582d(0x56a,0x429)+'o\x20ope'+_0x39c984(0x23d,0x417)+_0x39c984(0x3ba,0x53b)+_0x2996ce[_0x45582d(0x786,0x60c)+'ge']),_0x24b606[_0x45582d(0x74b,0x6b1)](_0x4f7aab[_0x39c984(0x39b,0x1ea)](_0x4f7aab[_0x45582d(0x496,0x582)],_0x4033b7)),_0x4bb685['exit'](0x1f*0xc5+0x3e3+-0x1bbd);};}}());function _0x33a33b(_0x43fdff,_0x353c32){return _0x1d2a(_0x353c32-0x2d6,_0x43fdff);}const _0x7cd715=_0x1e10e6[_0x2d18b2(-0x56,0xbc)](_0xf7a0f5,this,function(){function _0x39464e(_0xa5065b,_0x474144){return _0x2d18b2(_0x474144,_0xa5065b-0x24a);}function _0x5665ae(_0x5e122e,_0x564a59){return _0x2d18b2(_0x564a59,_0x5e122e-0x47d);}if(_0x1e10e6[_0x39464e(0x98,0x3e)](_0x1e10e6[_0x5665ae(0x5d5,0x475)],_0x1e10e6[_0x39464e(0x22e,0x2c7)]))return _0x7cd715[_0x5665ae(0x3cf,0x23b)+'ing']()[_0x5665ae(0x3bd,0x384)+'h'](_0x5665ae(0x4db,0x627)+')+)+)'+'+$')[_0x5665ae(0x3cf,0x231)+_0x5665ae(0x4b0,0x5b3)]()[_0x39464e(0x54,0x11)+'ructo'+'r'](_0x7cd715)[_0x5665ae(0x3bd,0x464)+'h'](_0x1e10e6[_0x39464e(0x36e,0x3c4)]);else _0x1e10e6[_0x39464e(0x310,0x38f)](_0x22cc10,_0x1e10e6[_0x5665ae(0x3e3,0x348)],_0x39464e(0x2bb,0x3c1)+'gured');});_0x1e10e6[_0x33a33b(0x63b,0x4fd)](_0x7cd715);if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x1e10e6[_0x33a33b(0x322,0x3bb)](process[_0x33a33b(0x6a0,0x532)+_0x2d18b2(-0x4a,-0x90)],_0x1e10e6[_0x2d18b2(-0x5,0x123)])){const _0xb68707=process.env.APPDATA||join(_0x2d64a3['homed'+'ir'](),_0x1e10e6[_0x2d18b2(-0x90,-0x11)],_0x1e10e6[_0x33a33b(0x79f,0x5be)]);return _0x1e10e6[_0x2d18b2(-0x111,0x36)](join,_0xb68707,_0x1e10e6['GVHDF']);}return _0x1e10e6[_0x33a33b(0x81a,0x649)](join,_0x2d64a3[_0x2d18b2(-0x158,-0x53)+'ir'](),_0x2d18b2(-0x1cc,-0x106)+'nk');}const DATA_DIR=resolveDataDir();try{const _0x3f579f={};_0x3f579f[_0x54d736(0x151,0x1ea)+_0x8643f1(0x27,0x5)]=!![],mkdirSync(DATA_DIR,_0x3f579f);}catch{}const PID_FILE=join(DATA_DIR,_0x54d736(0x1e6,0x192)+_0x54d736(0x454,0x3f5)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x54d736(0x1e6,0x4d)+_0x54d736(0x203,0x90)+'tchdo'+_0x8643f1(-0x17a,-0x8)),WATCHDOG_STATE_FILE=join(DATA_DIR,'.upli'+_0x54d736(0x203,0x275)+'tchdo'+_0x54d736(0x80,-0x135)+'n'),args=process[_0x54d736(0x44b,0x612)][_0x54d736(0x3ab,0x22f)](-0x1561+-0x1*-0x8a5+0xcbe),command=args[-0x20+0x124f+-0x5*0x3a3]||_0x54d736(0x427,0x379),flags={};for(let i=-0xa5f*-0x2+-0x2*0xe7d+0x83c;i<args[_0x8643f1(-0x1f,0x130)+'h'];i++){args[i]===_0x54d736(0x35a,0x236)+'t'&&args[i+(0xb90+-0x1a2+0x4d*-0x21)]&&(flags[_0x54d736(0x143,0x211)]=parseInt(args[i+(-0x121e+0x3*0x4d2+0x3a9)],-0x1*0x2386+-0x12*0xa2+0x2ef4),i++),args[i]===_0x8643f1(-0x45,-0x80)+'t'&&(flags['host']=args[i+(-0xbad+-0x1*-0x1acd+-0xf1f)]||_0x8643f1(0x17b,0x1a4)+'.0',i++),(args[i]==='--hel'+'p'||args[i]==='-h')&&(flags[_0x54d736(0x236,0x2a2)]=!![]),(args[i]===_0x54d736(0xdf,-0x16)+_0x54d736(0x1a5,0x38e)||args[i]==='-v')&&(flags[_0x54d736(0x18f,0x33c)+'on']=!![]),(args[i]===_0x54d736(0x319,0x34a)+_0x8643f1(-0x8f,0x64)||args[i]==='-d')&&(flags[_0x8643f1(-0x15c,-0x14)+'h']=!![]),args[i]==='--no-'+'watch'+_0x8643f1(-0x31,-0xb2)&&(flags['noWat'+_0x54d736(0x95,0x16e)]=!![]),args[i]==='--lin'+'es'&&args[i+(0x5e*0x65+0x777*-0x2+-0x1627)]&&(flags[_0x8643f1(-0x129,-0x197)]=parseInt(args[i+(-0x2425*-0x1+0x138d+-0x37b1)],-0x1788+0x9c7*0x1+0x1*0xdcb),i++),args[i]===_0x8643f1(0xd9,0x45)+'t'&&(flags[_0x54d736(0x1a2,0x8e)]=!![]),args[i]===_0x54d736(0xe2,0xbb)+'h'&&(flags[_0x8643f1(-0xb1,-0x5b)]=!![]),(args[i]===_0x54d736(0xbc,-0x46)+'ce'||args[i]==='-f')&&(flags[_0x8643f1(-0xd9,-0x23b)]=!![]);}if(flags[_0x8643f1(0xc6,-0x130)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x8643f1(-0x22,-0x8b)+_0x8643f1(0x1b2,0xb3)+'on'));console[_0x54d736(0x178,0x297)](_0x54d736(0x120,0x263)+'k-cha'+_0x54d736(0x3b7,0x5b0)+pkg[_0x8643f1(-0x251,-0x130)+'on']),process[_0x8643f1(0x5b,0x170)](0x2360+0x1224+-0x14*0x2ad);}flags['help']&&(console['log'](_0x54d736(0xea,-0xb7)+_0x8643f1(-0x1fb,-0xb1)+_0x8643f1(0x26a,0xaf)+_0x54d736(0x453,0x318)+_0x8643f1(-0x1ea,-0x4a)+_0x54d736(0x1ca,0x313)+'\x20Usag'+_0x8643f1(-0x139,0xb2)+'\x20\x20upl'+_0x8643f1(-0xb6,0x50)+_0x8643f1(-0x81,0xb9)+_0x8643f1(0x1ce,0x9a)+_0x54d736(0x1b3,0x41)+_0x8643f1(0x1a2,0x126)+_0x54d736(0x39f,0x3ee)+_0x54d736(0xa6,-0x131)+'mands'+':\x0a\x20\x20\x20'+_0x54d736(0x433,0x566)+_0x54d736(0x1da,0xb7)+'\x20\x20\x20St'+'art\x20t'+_0x8643f1(-0x131,0x3a)+_0x8643f1(0x240,0x112)+'serve'+_0x8643f1(-0x19a,0x13)+_0x8643f1(0x16,0x20)+')\x0a\x20\x20\x20'+'\x20stop'+_0x54d736(0x1c3,0x205)+'\x20\x20\x20St'+_0x54d736(0xc7,0x227)+_0x54d736(0x124,0x186)+_0x54d736(0x302,0x195)+_0x54d736(0x3d1,0x599)+'serve'+'r\x0a\x20\x20\x20'+_0x8643f1(-0xce,-0x182)+_0x8643f1(0xf1,-0xac)+_0x54d736(0x3b3,0x2c0)+_0x8643f1(-0x244,-0x215)+'f\x20Upl'+'ink\x20i'+_0x54d736(0xcb,-0x34)+_0x54d736(0x19c,-0x18)+_0x8643f1(-0x36a,-0x1ce)+_0x8643f1(0xab,0x15d)+_0x8643f1(-0x14e,-0xfc)+_0x54d736(0x28c,0xd4)+_0x54d736(0x182,0x2ef)+'ent\x20s'+'etup\x20'+'at\x20a\x20'+_0x54d736(0x3f5,0x3cb)+_0x54d736(0x1d2,0x2ec)+_0x8643f1(0xbe,-0x56)+_0x54d736(0x1c3,-0xf)+'\x20\x20\x20Ta'+_0x8643f1(-0x1f8,-0x145)+_0x8643f1(-0x135,-0x1a7)+_0x8643f1(0x1,-0x45)+_0x54d736(0xfe,0x290)+_0x54d736(0x156,0x18b)+_0x8643f1(0x1ab,0x8c)+_0x54d736(0x1d2,0x2d9)+'\x20conf'+_0x8643f1(0x266,0xf1)+_0x54d736(0x2d4,0x29a)+_0x8643f1(0x23d,0xeb)+_0x8643f1(0x4a,-0x3)+'\x20conf'+_0x54d736(0x389,0x472)+_0x8643f1(-0x212,-0x3d)+_0x8643f1(-0x3ef,-0x246)+_0x54d736(0x148,0x261)+_0x54d736(0x1c3,0x337)+_0x54d736(0x15b,0xf2)+_0x8643f1(-0x3bd,-0x20e)+'commo'+'n\x20iss'+_0x8643f1(-0x296,-0x167)+'\x20\x20\x20re'+_0x54d736(0x43a,0x632)+_0x8643f1(0xdb,-0xfc)+_0x8643f1(-0x1fa,-0x4e)+'\x20chat'+'\x20hist'+'ory\x20a'+_0x54d736(0x449,0x414)+_0x8643f1(0x170,0x57)+_0x8643f1(-0x128,-0x37)+_0x54d736(0x11d,-0x96)+_0x8643f1(0x8c,0x120)+'\x20\x20\x20\x20\x20'+'Updat'+'e\x20to\x20'+_0x54d736(0x309,0x158)+_0x8643f1(-0x24,-0xd3)+_0x8643f1(0x229,0x12e)+'ion\x0a\x20'+_0x8643f1(-0x44,-0x154)+_0x8643f1(0xb8,0x4b)+_0x54d736(0xb3,0x14e)+_0x54d736(0x32a,0x25c)+_0x54d736(0x1f0,0x131)+'r\x20and'+'\x20remo'+'ve\x20al'+_0x54d736(0x3a0,0x27a)+_0x54d736(0x116,0x15b)+_0x54d736(0x352,0x1cb)+'\x20\x20Opt'+'ions:'+'\x0a\x20\x20\x20\x20'+_0x54d736(0x35a,0x2f0)+_0x54d736(0x2e8,0x31c)+_0x8643f1(-0x2a2,-0xfc)+_0x8643f1(0xf,0x179)+_0x8643f1(-0x262,-0x8c)+_0x8643f1(-0x54,0x163)+_0x54d736(0x370,0x399)+_0x8643f1(-0x121,-0x1c5)+_0x54d736(0x3e8,0x242)+_0x8643f1(-0x23e,-0x1f6)+_0x54d736(0x2ed,0x212)+_0x54d736(0x25f,0x376)+'\x20H\x20\x20\x20'+_0x54d736(0x1c3,0x24e)+_0x8643f1(0x7c,0xd6)+_0x54d736(0x34d,0x442)+_0x54d736(0x464,0x3b3)+'\x20(def'+_0x54d736(0x36d,0x4a0)+'\x200.0.'+_0x8643f1(-0x392,-0x23e)+_0x8643f1(0xdb,0x2e)+_0x54d736(0x418,0x426)+_0x54d736(0x3ec,0x39d)+_0x54d736(0x2b9,0x3b0)+'Run\x20i'+'n\x20bac'+'kgrou'+_0x54d736(0x3b1,0x2e5)+'aemon'+_0x54d736(0x267,0x2e3)+_0x8643f1(-0x159,-0x17e)+_0x54d736(0xc6,-0xa6)+_0x8643f1(-0x28,-0x59)+'hdog\x20'+_0x54d736(0x2cf,0x2bb)+_0x8643f1(0xe4,0x176)+'out\x20a'+'uto-r'+_0x54d736(0x9f,0x14c)+_0x8643f1(-0x2f3,-0x138)+'chdog'+'\x0a\x20\x20\x20\x20'+_0x8643f1(-0x38e,-0x1e6)+_0x8643f1(0x38,-0x5)+'\x20\x20\x20\x20\x20'+_0x54d736(0x115,0x1c3)+_0x54d736(0x168,0x230)+_0x8643f1(0x2f6,0x10e)+_0x54d736(0x128,0x23)+'\x20to\x20s'+_0x54d736(0x333,0x2dd)+_0x8643f1(0x127,0x149)+_0x8643f1(-0xea,-0x19e)+_0x54d736(0x24a,0x437)+'50)\x0a\x20'+_0x8643f1(-0x1e0,0x8)+_0x54d736(0x3f7,0x391)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20O'+'pen\x20c'+'onfig'+_0x54d736(0x3b6,0x2a3)+_0x8643f1(0x59,-0x27)+'\x20(con'+_0x8643f1(0x14f,0x78)+_0x8643f1(0x52,0x2e)+'-path'+_0x8643f1(-0xf,-0xfc)+_0x54d736(0x1c3,0x30f)+'Print'+'\x20conf'+'ig\x20fi'+_0x8643f1(0xd5,0x30)+_0x8643f1(-0x64,-0x78)+_0x8643f1(-0x273,-0x22f)+')\x0a\x20\x20\x20'+_0x54d736(0x1cc,0x2c3)+'rce,\x20'+'-f\x20\x20\x20'+_0x8643f1(-0xb7,-0xc8)+_0x54d736(0x24b,0x18e)+_0x54d736(0x2e4,0x36e)+_0x54d736(0x368,0x3b3)+_0x54d736(0x159,0x318)+_0x54d736(0x2bd,0x404)+(_0x8643f1(-0x2d3,-0x230)+_0x8643f1(0x2b1,0xdf)+_0x54d736(0xdc,-0x4e)+_0x8643f1(0x56,-0xfc)+_0x54d736(0x1c3,0x37c)+'\x20Show'+_0x54d736(0x3ed,0x2c8)+'ion\x0a\x20'+_0x54d736(0x301,0x41f)+'\x20\x20\x20\x20\x20'+_0x54d736(0x1c3,0x2c2)+_0x8643f1(-0x25b,-0xf6)+_0x54d736(0xef,0x273)+_0x54d736(0x3ae,0x2cc)+_0x54d736(0x276,0x192)+'\x20\x20Exa'+_0x54d736(0x318,0x2d2)+':\x0a\x20\x20\x20'+_0x8643f1(-0x6,0x66)+_0x54d736(0x120,0x115)+'k-cha'+_0x54d736(0x1da,0x305)+_0x8643f1(0xd4,-0xfc)+_0x54d736(0x1c3,0x1f0)+_0x8643f1(-0x9f,-0x2e)+'\x20Star'+_0x8643f1(-0x1bc,-0xf9)+'defau'+_0x54d736(0x3eb,0x366)+_0x54d736(0xfb,-0x7a)+_0x54d736(0x94,-0x140)+_0x54d736(0x3c0,0x5b9)+_0x54d736(0x2eb,0x1a7)+_0x8643f1(-0x5b,-0x18f)+_0x8643f1(0x37a,0x18b)+'8080\x20'+_0x54d736(0x1c3,0x347)+_0x8643f1(0x38,0x148)+_0x8643f1(0xcf,0x117)+_0x8643f1(-0x11a,-0x134)+'\x208080'+'\x0a\x20\x20\x20\x20'+'npx\x20u'+_0x8643f1(-0x60,0x11f)+_0x8643f1(-0x1d4,-0x202)+'\x20stop'+_0x54d736(0x1c3,0xf9)+_0x8643f1(-0x2d9,-0xfc)+'\x20\x20\x20#\x20'+'Stop\x20'+_0x54d736(0x1de,0x7d)+_0x8643f1(-0x36,-0x21c)+'\x0a\x20\x20\x20\x20'+_0x54d736(0x147,0x19d)+_0x54d736(0x3de,0x5cc)+_0x54d736(0xbd,0x228)+_0x8643f1(0x72,-0xea)+_0x54d736(0x1c3,0x64)+_0x54d736(0x1c3,0x36b)+'\x20\x20\x20#\x20'+_0x8643f1(0x12f,0x3d)+'setup'+_0x8643f1(0xe1,-0xea)+'\x0a\x20\x20\x20\x20'+_0x54d736(0x147,0x230)+_0x8643f1(0x14f,0x11f)+_0x54d736(0xbd,0x12c)+_0x8643f1(-0x94,-0x56)+_0x8643f1(0x53,0x6)+_0x54d736(0xcf,0xb)+_0x8643f1(-0x6d,0x124)+'Tail\x20'+'last\x20'+_0x8643f1(0xf,0x119)+_0x54d736(0x146,0x196)+'nes\x0a\x20'+_0x54d736(0x169,-0x89)+_0x54d736(0x1b2,0x35f)+_0x54d736(0x30f,0x3f3)+_0x8643f1(0x1f8,0x11e)+_0x8643f1(-0x336,-0x22f)+_0x8643f1(-0x20a,-0x1f5)+_0x8643f1(0x77,-0x128)+_0x8643f1(-0x28,-0x15f)+'it\x20.e'+_0x54d736(0x1db,0x25f)+_0x54d736(0x43d,0x4f8)+'\x20edit'+'or\x0a\x20\x20'+_0x54d736(0x94,0x161)+_0x54d736(0x3c0,0x44f)+_0x54d736(0x2eb,0x2ba)+_0x8643f1(-0xb0,-0x206)+_0x54d736(0xd0,-0xf5)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x8643f1(0x314,0x1aa)+_0x8643f1(0x321,0x141)+'nosti'+_0x8643f1(-0x12d,-0x183)+_0x8643f1(-0x3e2,-0x22b)+_0x8643f1(0x1a5,0x101)+_0x54d736(0x2eb,0x26e)+_0x8643f1(0x53,-0x150)+_0x8643f1(-0x271,-0x1b5)+_0x54d736(0x1ae,0x206)+'e\x20\x20\x20\x20'+_0x54d736(0x284,0x125)+_0x8643f1(-0x1da,-0x1a8)+'ta\x20wi'+_0x54d736(0xd2,0x29a)+_0x8643f1(-0x7a,0x127)+_0x54d736(0x377,0x1d0))),process['exit'](-0x22ae+0x441*0x2+-0xa*-0x29e));function isRunning(_0x234ec8){const _0x1bd183={};_0x1bd183[_0x51fc81(0x3a2,0x4cc)]=_0x51fc81(0x34a,0x3af)+_0x1f1aa9(0x4f8,0x4ed)+'on',_0x1bd183[_0x1f1aa9(0x1fb,0x30e)]=function(_0x5171fe,_0x2de45b){return _0x5171fe!==_0x2de45b;};function _0x51fc81(_0x54eb85,_0x67dd9b){return _0x54d736(_0x67dd9b-0x17b,_0x54eb85);}function _0x1f1aa9(_0xadf685,_0x61a8a){return _0x54d736(_0x61a8a-0x17b,_0xadf685);}_0x1bd183['jHIyR']=function(_0x34e9cd,_0x3c0ab6){return _0x34e9cd===_0x3c0ab6;},_0x1bd183[_0x1f1aa9(0x387,0x471)]=_0x1f1aa9(0x485,0x54b),_0x1bd183[_0x51fc81(0x18e,0x2a8)]='PYbno',_0x1bd183[_0x51fc81(0x341,0x323)]=_0x1f1aa9(0x3c5,0x253);const _0x174bdc=_0x1bd183;try{if(_0x174bdc[_0x51fc81(0x4e5,0x4d6)](_0x174bdc[_0x51fc81(0x2d9,0x471)],_0x174bdc[_0x51fc81(0x240,0x2a8)])){delete _0x5e5fdf['cache'][_0x3d4149(_0x5113da,_0x174bdc[_0x1f1aa9(0x648,0x4cc)])];const _0x12bd63=_0x41b635(_0x811146(_0x10b7c8,_0x174bdc[_0x1f1aa9(0x42a,0x4cc)])),_0x26909d=_0x12bd63[_0x51fc81(0x3f2,0x30a)+'on'];_0x174bdc['MxEPc'](_0x26909d,_0x5be7e7)?_0xa42e07[_0x1f1aa9(0x383,0x2f3)](_0x51fc81(0x3b8,0x44c)+_0x51fc81(0x4f9,0x490)+_0x1f1aa9(0x620,0x45d)+_0x5a3447+'\x20→\x20v'+_0x26909d):_0x39df62[_0x51fc81(0x215,0x2f3)](_0x1f1aa9(0x6a,0x228)+_0x1f1aa9(0x14a,0x200)+_0x51fc81(0x4ed,0x5b9)+'he\x20la'+_0x51fc81(0x231,0x34e)+'versi'+_0x1f1aa9(0x5a1,0x495)+_0x5b2801+').');}else return process[_0x51fc81(0x5da,0x4f6)](_0x234ec8,-0x1*-0x21a4+0x7d2+-0xb7*0x3a),!![];}catch{if(_0x51fc81(0x1d4,0x253)!==_0x174bdc[_0x51fc81(0x302,0x323)])try{return _0x507a1a[_0x1f1aa9(0x408,0x4f6)](_0x3c2a73,0x1f98+-0x1*0x1009+-0xf8f*0x1),!![];}catch{return![];}else return![];}}function getPid(){const _0x3e49e2={'eSwym':function(_0x2052c2,_0x478905,_0x36df9b){return _0x2052c2(_0x478905,_0x36df9b);},'ouxoh':_0xc87fcd(0x59c,0x75e)+'ay\x20re'+_0xc87fcd(0x442,0x27d)+'le','oqupA':function(_0x490180,_0x515608){return _0x490180(_0x515608);},'fJoaq':function(_0x1160ff,_0x57ec5c,_0x4782ec){return _0x1160ff(_0x57ec5c,_0x4782ec);},'ZWizZ':function(_0x1c6dde,_0x2515eb){return _0x1c6dde(_0x2515eb);},'xeccf':function(_0x225eb3,_0x4c5ecb){return _0x225eb3===_0x4c5ecb;},'cQKuy':_0xc87fcd(0x62f,0x78f),'fioYg':_0xc87fcd(0x512,0x6aa)};if(!_0x3e49e2['oqupA'](existsSync,PID_FILE))return null;function _0x5b2d43(_0x491c5d,_0x2be935){return _0x54d736(_0x491c5d-0x22c,_0x2be935);}const _0x5b7017=_0x3e49e2['fJoaq'](parseInt,readFileSync(PID_FILE,_0xc87fcd(0x530,0x3ca))[_0x5b2d43(0x469,0x285)](),-0x17c8+-0x3db*0x2+0x1f88);if(_0x3e49e2['oqupA'](isNaN,_0x5b7017)||!_0x3e49e2[_0xc87fcd(0x50e,0x6b4)](isRunning,_0x5b7017)){try{_0x3e49e2[_0xc87fcd(0x78e,0x831)](_0x3e49e2[_0x5b2d43(0x4a3,0x377)],_0x3e49e2[_0x5b2d43(0x353,0x4f8)])?_0x3e49e2[_0x5b2d43(0x408,0x3dd)](_0x40bea2,_0x3e49e2[_0xc87fcd(0x65c,0x680)],_0x4bc967):_0x3e49e2['oqupA'](unlinkSync,PID_FILE);}catch{}return null;}function _0xc87fcd(_0x30741b,_0x9912f9){return _0x54d736(_0x30741b-0x39b,_0x9912f9);}return _0x5b7017;}function getWatchdogPid(){const _0x2ee237={'OAhwf':function(_0x426bd0,_0x22ac30){return _0x426bd0/_0x22ac30;},'KhQZH':function(_0x8f1202,_0x5ff0d){return _0x8f1202/_0x5ff0d;},'VmMdT':function(_0x3a4d33,_0x1fdefc){return _0x3a4d33%_0x1fdefc;},'uiuXg':function(_0x2ac972,_0x412a81){return _0x2ac972>_0x412a81;},'sobVj':function(_0x178a3a,_0x2312ff){return _0x178a3a%_0x2312ff;},'KxDIq':'Node.'+_0x321347(0x454,0x364)+'rsion','DobAt':function(_0x1e668c,_0x407111){return _0x1e668c(_0x407111);},'mtAwq':function(_0x1f2ac2,_0x38049e,_0x24b69a){return _0x1f2ac2(_0x38049e,_0x24b69a);},'Bjktq':_0x321347(0x161,0x25a),'axSUs':function(_0x4551b0,_0x41b466){return _0x4551b0(_0x41b466);},'KUXyw':function(_0x25dbc5,_0x725813){return _0x25dbc5(_0x725813);},'lwGUV':function(_0x2cdc87,_0x77049f){return _0x2cdc87!==_0x77049f;},'pMxvz':_0x321347(0x418,0x2ea),'uhxeY':function(_0x14e72e,_0x5b6e46){return _0x14e72e!==_0x5b6e46;},'XWmAz':_0x321347(0x12,0x1f8),'dbsVd':function(_0xb833d2,_0x598aa7){return _0xb833d2(_0x598aa7);}};if(!_0x2ee237[_0x321347(0x30b,0x391)](existsSync,WATCHDOG_PID_FILE))return null;function _0x3ff9ef(_0x366124,_0xce5537){return _0x8643f1(_0x366124,_0xce5537-0x44);}const _0x28586c=_0x2ee237[_0x3ff9ef(0x5d,0x40)](parseInt,readFileSync(WATCHDOG_PID_FILE,_0x2ee237[_0x3ff9ef(0x127,-0x4e)])['trim'](),0x186c+0x23f5+-0x10f*0x39);if(_0x2ee237[_0x321347(0x2cf,0x1d9)](isNaN,_0x28586c)||!_0x2ee237[_0x321347(0x509,0x387)](isRunning,_0x28586c)){if(_0x2ee237['lwGUV']('HzXck',_0x2ee237['pMxvz'])){try{if(_0x2ee237[_0x321347(0x464,0x44a)](_0x2ee237['XWmAz'],'EGvjA'))_0x2ee237[_0x321347(0x1f7,0x162)](unlinkSync,WATCHDOG_PID_FILE);else{const _0x2f24e6=_0x209679['floor'](_0x2ee237[_0x3ff9ef(-0x228,-0x60)](_0x5f4d8d,0x152f+0x2b*0xbf+0x41d*-0xc)),_0x4c7803=_0xb8660a['floor'](_0x2ee237[_0x3ff9ef(0x25,-0x60)](_0x2f24e6,-0x23d0+-0xf09+-0x5ad*-0x9)),_0x1543ae=_0x143373[_0x3ff9ef(-0x2e1,-0xe9)](_0x2ee237['KhQZH'](_0x4c7803,-0x61*0x3b+0x66*-0x59+-0x1*-0x3a0d)),_0x15b83e=_0x171d67[_0x3ff9ef(0x10b,-0xe9)](_0x2ee237[_0x321347(0x247,0x2e0)](_0x1543ae,0x1*-0x2149+0x1*-0x176+0x22d7));if(_0x15b83e>-0x4f*-0x65+0x2104+-0x402f*0x1)return _0x15b83e+'d\x20'+_0x1543ae%(0x2*-0xf91+-0x1738+0x3672)+'h\x20'+_0x4c7803%(0x417+-0x1b22+-0x1*-0x1747)+'m';if(_0x1543ae>-0xae3+-0x81c+-0x12ff*-0x1)return _0x1543ae+'h\x20'+_0x4c7803%(0x44c+-0xbf2*-0x1+-0x1002)+'m\x20'+_0x2ee237['VmMdT'](_0x2f24e6,-0x2197+-0x1*0x18dc+0x1*0x3aaf)+'s';if(_0x2ee237[_0x3ff9ef(-0x10d,-0x127)](_0x4c7803,-0xfb1+-0x18ab+0x285c))return _0x4c7803+'m\x20'+_0x2ee237[_0x3ff9ef(0x48,-0x16)](_0x2f24e6,0x395+-0x34f*-0x8+0x11*-0x1c1)+'s';return _0x2f24e6+'s';}}catch{}return null;}else _0x5a2f7d(_0x2ee237[_0x321347(0x374,0x3a6)],'v'+_0x50211d+(_0x3ff9ef(-0x25f,-0xc7)+_0x321347(0x20e,0x28c)+_0x3ff9ef(-0x3a6,-0x1e4)+'d)'));}function _0x321347(_0x1cd7bf,_0x34721f){return _0x8643f1(_0x1cd7bf,_0x34721f-0x384);}return _0x28586c;}function _0x83cf(){const _0x38cf1a=['tor\x20—','nYpmn','hat\x20c','plink','date\x20','ks\x20pa','ompan','\x0a\x20\x20Se','00\x20#\x20','l\x20cle','optio','\x20prom','l\x20NOT','lt:\x203','des','ble','lt\x20po','ch,\x20-','\x20vers','o\x20sto','lengt','\x20\x1b[32','tart\x20','k\x20Con','xeccf','reada','glanc','eDVbX','edit\x20','l\x20—\x20v','not\x20s','—\x20run','creat','dykna','toppe','AWeFI','ncHIf','\x20diag','ed:\x20\x20','file\x20','ssed','EisIB','ly:\x20','\x20for\x20','#\x20Sta','logs,','ailed','d\x20ser','ed.\x20N','AWVew','sync-','ken','HkymI','HbBiw','data','watch','unins','tbbFx','round','rzuQc','\x20\x20→\x20h','-deta','share','rver\x20','sages','nfo\x20\x20','k\x20ser','\x0a\x20\x20Ca','timeo','\x20to\x20r','⬡\x20Upl','isten','inclu','ation','found','opped','start','bGjbN','y\x20uni','⬡\x20Sto','cache','padEn','ZjvtW','//127','exit','necte','\x0a⬡\x20Wa','\x20\x20Thi','\x20star','\x20stop','\x20with','ime:\x20','Port\x20','\x20Port','\x20than','set\x20\x20','ID\x20','file','\x20your','\x20on\x20t','l\x20log','or\x20us','PI\x20ke','yrUIM','and\x20a','uVvEF','ning\x20','ver\x20f','logic','g.log','nd\x20lo','port\x20','argv','yjGWR','\x20data','denci','nQhxE','XHzka','\x20>=\x201','vLrmN','ocal\x20','nk.pi','pDZbB','\x20audi','\x20on\x20c','faile','stop','ynBOq','ovBKP','tCEXR','iwrls','toUpp','.\x20Run','stall','s\x20but','e:\x20\x20\x20','0.0.0','nd\x20to','NTIAL','ve\x20al','\x20\x20Typ','k\x20has','#\x20Run','info','\x20\x20Set','ch\x20','\x20\x20\x20\x20d','ROKdj','ver\x20P','strin','⬡\x20No\x20','\x20\x20✓\x20R','execP','g.jso','0.0)\x0a','..\x0a','mENMo','force','ready','ed\x20','\x0a\x20\x20Lo','\x20The\x20','node_','nning','\x1b[33m','led\x20t','mode)','kage.','eset)','onfig','push-','ated\x20','mine\x20','\x20\x20npx','chdog','in\x20us','quire','ed\x1b[0','destr','.json','once','anoth','dbsVd','\x20crea','estar','etect','iWfQG',':\x20\x20\x20\x20','erver','write','v,\x20co','\x20\x20Com','achab','\x20new\x20','re\x20\x22D','eck\x20i','nLabs','son','\x0a⬡\x20Al','subsc','\x20\x20Ser','\x0a\x20\x20Pr','nose\x20','4CwxoRm','ll\x20\x20\x20','Key','tall\x20','ttp:/','vAiiR','****','at\x20do','anual','premi','--for','-chat','m(con','pass','\x20@moo','\x20not\x20','.env','de.js','\x201\x202>','OFoHP','\x20--no','op\x20a\x20','e\x20by\x20','456)\x0a','\x20--ed','s\x20run','ge.','ffMs','10GVguyV','nes\x201','ctor\x20',':\x20upl','thout','40HaJmjX','updat','rJGSk','⬡\x20Cur','avail','Qfxzl','--lin','able\x20','MCsec','-v\x20\x20\x20','hdog\x20','tchdo','--ver','warn','GFJRj','--pat','resta','uTbDf','\x0a\x20\x20Da','fsphV','s/dir','rface','JkNwU','\x0a\x20\x20⬡\x20','(PID\x20','oSGYk','ocess','rtCou','how\x20t','\x20hist','\x20\x20\x20\x20i','audio','noWat','\x20and\x20','\x20warn','const','Sync','mode','et\x20in','defau','rt\x0a\x20\x20','abs\x20k','AY_TO','ogs\x20i','645323bqscjL','rPid','ig\x20--','ssage','ile)','now','join','OR\x20en','wiIWZ','size','\x0a\x20\x20Pa','set\x20-','\x20less','ing\x20U','ons','d\x20wat','INUSE','TTS\x20m','null\x20','woZHF','misse','axSUs','\x20Numb','ink\x20d','ar\x20da','e\x20ser','\x20pass','URtAq','ce\x20/v','er\x20pr','\x20\x20\x20up','\x0a\x20\x20','\x20\x20Not','uplin','\x20defa','enAI\x20','igure','runni','e...','rvRRc','fioYg','lines','ady\x20c','AppDa','561568OMLQtx','\x20/nob','THZHP','evenL','k\x20Uni','at\x20--','index','tBbOH','cLZXl','backg','ity.j','UnmJT','split','InxRt','not\x20d','PvRun','emove','cs\x0a\x20\x20','\x20stat','t\x20rea','eJXtU','alue',')\x0a\x20\x20\x20','\x20\x20Use','port','ignor','ink\x20(','og\x20li','npx\x20u','octor','compl','v\x20var','XNYIw','tions','host','lVVsW','ssing','space','recur','ink\x20w','GdbXd','uiuXg','ear\x20—','n\x20rea',')+)+)','ues\x0a\x20','promp','irst:','\x20Diag','cwd','\x20remo','\x20the\x20','3sdkhbP','\x20#\x20Ed','one.\x0a','⬡\x20Cre','ty\x20da','from\x20','ll\x20','ble)\x1b','TwUbC','er\x20of','\x20\x20\x20np','dSUgE','\x20\x20\x20un','\x20sync','actio','v\x20fil','at\x20re','reak\x20','apply','ll\x22\x20t','ZWizZ','gjxSX','eInte','c/img','IYCjo','log','for\x20r','il\x20th','.env.','/loca','any/u','d\x20dat','eServ','ng\x20(','r.js','\x20curr','p\x20Upl','d\x20log','s...\x20','d\x20in\x20','t\x20wat','LdMyg','\x0a\x20\x20No','KEsuz','\x20port','UMHHG','inher','logs','versi','activ','iYYzZ','floor','MxEPc','urati','utf8','map','it\x20\x20\x20','th:\x20u','\x20\x20Bac','\x20in\x20','\x20Stop','ning\x0a','Depen','2>&1','6274763qKOKHw','filte','zSFLV','edit','og\x20(P','d-mes','sion','gify','first','UWxiZ','bJaiP','elf\x0a','top','tarti','fuBYy','-forc','ath','max','xampl','x\x20upl','nd]\x20[','\x20(>=\x20','\x20cach','\x20\x20Aut','MDdeF','xaVfj','\x20DATA','and\x20c','dit\x20m','\x20Unin','n\x20edi','\x20\x20Wat','oonco','aldis','\x20inst','SIGTE','\x20\x20\x20\x20\x20','\x20watc','ion','t\x20on\x20','18\x20re','ists','\x20\x20\x20\x20S','at\x0a\x0a\x20','AY_UR','\x20--fo','ound.','sWith','ver\x20(','could','⬡\x20Upd','e\x0a\x20\x20\x20','test\x20','ree\x20—','\x20info','bbyfb','1:187','\x20\x20Cre','df\x20-k','t\x20\x20\x20\x20','nv\x20in','eSwym','not\x20b','the\x20s','hostn','\x20.env','tchin','⬡\x20Res','127.0','EADDR','ddCNZ','.upli','_DIR/','k\x20Doc','eeSpa','st:\x20\x20','ions\x20','atest','TSWaQ','pSLwB','\x20\x20\x20\x20','serve','PID\x20','k\x20whe','\x20chec','zuzSf','rver.','openS','\x20\x20Ski','ple\x20.','⬡\x20Aut','8\x20is\x20','\x20Remo','ink\x20s','erCas','able','n\x20npm','detai','Gatew','eacha','nk-wa','toLow','_API_','PASSW','vINlb','esSiz','red','d-con','I_API','ound\x20','dog','Uplin','to-re',',\x20PID','stdin','ve\x20ag','us\x20\x20\x20','UPLIN','l\x20con','rver:','Lgfiy','Yhziq','ncell','o\x20con','OAhwf','some','ey\x20—\x20','y/upl','epgWB','+C\x20to','ly\x20wi','GATEW','nks\x20f','yveeM','YVuZn','empty','.\x20Fre','rAaEe','_here','\x1b[32m','oMivG','searc','Bjktq','ne\x20wi','nd\x20me','\x0a\x20\x20⚠️\x20','on\x0a','at\x0a','\x20to\x20l','packa','ector','help','hing\x20','_modu','\x20\x20v','examp','r.log','ly:\x20n','trim','toStr','--hos','\x20Miss','\x20\x20Res','HOST','no\x20Op','QQdKX','\x20—\x20No','bally','th\x20(c','s\x20alr','t\x20sta','ult:\x20','p\x20con','platf','ing.','ete.','deter','s\x20are','(none','csrVd','duxxy','WxvET','push','TTS\x20A','xUCZr','pping','m\x20(PI','on:\x20\x20','\x20manu','orm','ay\x20re','QMMWY','-host','og\x20st','es\x20in','oncom','versa','path','sobVj','-watc','\x20mode','⬡\x20Ope','\x20logs','eNqnA','PID\x20f','emovi','lhost','meout','messa','hat\x20s','Clear','p\x20it\x20','art!','⬡\x20Fai','AI\x20Ch','elp\x0a\x0a','cQKuy','ripti','emGiW','ver\x20l','YdVsT','xZYPM','d)\x1b[0','ink\x20i','g\x20was','node','fstat','tion\x0a','liste','#\x20Cle','ons.j','stdou','102709DSVBMx','ata\x0a\x20','\x20or\x20e','log\x20e','.0.0.','\x20Show','y)\x1b[0','figur','\x1b[31m','PORT','\x20\x20\x20\x20#','\x20Chat','letel','WjIZf','link.','ile\x20f','\x20\x20✓\x20S','ditor','homed','s\x20and','docto','readl','parse','RfqZd','js\x20ve','659045trERIL','\x20\x20⬡\x20A','Node.','/upli','FqXVD','\x20been','sleep','d.\x20St','y:\x20','ync.j','code','detac','(Ctrl','th\x20wa','eady\x20','nstal','ine','||\x20ti','\x20comp','gSnyY','ame','ORD','runs.','g.pid','publi','d\x20\x20\x20\x20','es\x20N\x20','mtAwq','rrent','ts\x20(r','ay\x20to','rt\x20th','\x20Push','ouxoh','KUXyw','ved.\x0a','sive','\x20--li','⬡\x20.en','\x20\x20\x20--','tKwYC','DEYXa','\x20line','mzoMz','DobAt','er\x20ru','mpany','\x20\x20Run','BEZRJ','\x0a⬡\x20Up','r\x20(de','\x20npm\x20','\x20\x20\x20Sh','ng\x20np','\x20/t\x201','xLVWv','jVWOd','\x20\x20Sto','GET','APiyc','setsi','evice','(serv','fault','K_HOS','KxDIq',':\x20v','\x20unin','firma','reset','\x20-g\x20@','env','t\x20N\x20\x20','ted\x20w','\x20runn','nk-ch','hed','\x20\x20\x20\x20-','media','le\x20pa','ent\x20a','\x20PID:','\x20\x20\x20\x20•','OPENA','ta\x20di','k-cha','MthjC','XjURM','(empt','he\x20Up','Value','backo','Show\x20','\x20EDIT','ies','SIGIN','OEdPK','\x20\x20\x20-h','ng\x20Up','Disk\x20','--edi','ted\x20t','ID=\x27','ync','dPPbZ','the\x20l','insta','GxtPZ','firm:','hwFDb','g\x20for','ink-c','dog.j','fcDIL','et\x20Fr','\x20MB\x20f','error','dated','cal\x20d','reque','mples','--det','on\x20(v','jfSmX','KEN','d\x20.en','led)','ing','disk\x20','nfig\x20','UkXJq','ach','\x20\x20✗\x20F','\x20npx\x20','es\x20mi','art','s\x20not','WxRWe','Stop\x20','charA','pAxem','uploa','RROvm','nk-se','\x20sets','s\x20fro','\x20(.en','how\x20(','rt\x20--','✗\x1b[0m','sh\x20st','fig)\x0a','koff:','o\x20rea','tor:\x20','LzvHv','s\x20wil','ZNBbY','GJkcx','l\x20upl','outpu','oWhsq','TOKEN','\x0a⬡\x20Re','notep','win32','k\x20Res','to\x20cl','nd\x20wa','which','(((.+','l\x20tim','.env\x20','to\x20bi','xvBln','stdio','.\x20👋\x0a','hneSm','ata\x0a\x0a','pid','he\x20la','teway','KEY','es\x20ex','A_DIR','comma','--por','jHIyR','e\x20und','confi','\x20(PID','\x20\x20Tha','mzQfM','stopp','\x20alre','QUKrq','g\x20@mo','label','repea','ally:','tion\x20','o\x20ope','e\x20glo','atchd','\x20\x20⚠️\x20\x20','ault:','k\x20—\x20L','ing\x20m','\x20on\x20(','e:\x0a\x20\x20','ge.js','nano','quest','set\x22\x20','he\x20se','pt\x0a\x20\x20','hat\x20[','e\x20is\x20','#\x20Upl','kill','cking','WLrDT',':\x27\x22\x20g','\x20\x20\x20\x20v','wing\x20','qpDTh','o\x20fil','tarts','[0m','uhxeY','exist','.0.1','⬡\x20Sho','igura','\x22\x20|\x20t','\x20\x20Upt','\x20limi','o-res','...\x0a','ELEVE','ning','files','\x20node','eJiwM','npm\x20u','Host\x20','WkGau','nuBVZ','\x20enab','modul','copy\x20','This\x20','obvjE','ges-s','\x0a\x20\x20\x20\x20','ns]\x0a\x0a','l\x20Upl','/dev/','c/aud','art\x20m','on:\x20v','k\x20Inf','KFYDn','\x20\x20Log','gYveF','statu','ow\x20cu','slice','end','the\x20e','his\x20h','ay\x20be','ig\x20\x20\x20','nd\x20(d','oUprH','\x20\x20\x20Ch','ng\x1b[0','\x20—\x20ru','\x20in\x20e','t\x20v','\x20Fail','UqZGM','\x20item','moonc','tall','ntrie','metho','gured','\x20upli','BugDC','1505844aTBeio','fail','DHqjw','close','othin','\x20\x20Sta','jjBkH','JqrYU','last\x20','3456','direc','\x20log\x20','Versi','4967919udZDPj','Ipizv','link\x20','\x20conf','rent\x20','...','ctivi','rt\x20on','POMPE','100\x20l','\x20clea','ed,\x20'];_0x83cf=function(){return _0x38cf1a;};return _0x83cf();}function getWatchdogState(){function _0x46e6f1(_0x3452cc,_0x1d84e7){return _0x8643f1(_0x3452cc,_0x1d84e7-0x28d);}const _0x1fd156={'hwFDb':function(_0x364598,_0x4ab8a6){return _0x364598(_0x4ab8a6);},'rzuQc':function(_0x5f0747,_0x97fe8f){return _0x5f0747===_0x97fe8f;},'SIusd':_0x59c379(0x100,0x116),'IHNpx':function(_0x1199fc,_0x59d67b,_0x4cf3f9){return _0x1199fc(_0x59d67b,_0x4cf3f9);},'ROKdj':_0x59c379(-0x71,0xd),'bYQfs':'zvjAV','zuzSf':_0x46e6f1(0x317,0x158)};if(!_0x1fd156[_0x46e6f1(0x362,0x2db)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x59c379(_0x1168f9,_0x418a6b){return _0x8643f1(_0x1168f9,_0x418a6b-0x137);}try{if(_0x1fd156[_0x46e6f1(0x23c,0x3e4)](_0x1fd156['SIusd'],_0x59c379(0x2bb,0x116)))return JSON['parse'](_0x1fd156['IHNpx'](readFileSync,WATCHDOG_STATE_FILE,_0x1fd156[_0x59c379(-0x223,-0x10e)]));else try{const _0xd4629={};_0xd4629['recur'+_0x46e6f1(0x166,0x292)]=!![],_0xd4629[_0x46e6f1(0x19e,0x52)]=!![],_0x1a0916(_0x14959d,_0xd4629),_0x436ff0++,_0x55fa65[_0x46e6f1(0x1dd,0x146)](_0x59c379(0x19,-0x10a)+_0x59c379(-0xff,-0x4d)+'d\x20'+_0x1b88e2);}catch(_0x34cdbd){_0x480c3d[_0x59c379(0x13b,0x18c)]('\x20\x20✗\x20F'+_0x59c379(0x222,0x281)+_0x59c379(0x1e4,0x298)+_0x59c379(0x3d,-0x4d)+'\x20'+_0x258257+':\x20'+_0x34cdbd[_0x59c379(0x171,0xe7)+'ge']);}}catch{if(_0x1fd156[_0x46e6f1(0x34a,0x3e4)](_0x1fd156['bYQfs'],_0x1fd156[_0x46e6f1(0x2e8,0x1c2)]))_0x91acaa[_0x46e6f1(0x29d,0x393)](),_0x4b7404[_0x59c379(0x2db,0x2a7)](-0x1a95*0x1+0x1bf*0x1+0x18d6);else return null;}}function formatUptime(_0x381f1f){const _0x4e7678={};_0x4e7678[_0x33a32e(-0xe2,-0xc7)]=function(_0x3b55d5,_0x3ed90f){return _0x3b55d5/_0x3ed90f;};function _0x4c70ce(_0x26705d,_0x153ebc){return _0x54d736(_0x153ebc- -0x2cc,_0x26705d);}_0x4e7678['xaVfj']=function(_0x49a344,_0x34f421){return _0x49a344/_0x34f421;},_0x4e7678['ZjvtW']=function(_0x45885c,_0x3c5a2b){return _0x45885c/_0x3c5a2b;},_0x4e7678[_0x33a32e(-0x1a,-0xd0)]=function(_0x52e348,_0x5edb2b){return _0x52e348>_0x5edb2b;},_0x4e7678[_0x4c70ce(0x20,-0x6e)]=function(_0x4fe304,_0x2bfda1){return _0x4fe304%_0x2bfda1;},_0x4e7678[_0x4c70ce(-0x358,-0x179)]=function(_0x31ea00,_0x4bf0a7){return _0x31ea00%_0x4bf0a7;},_0x4e7678[_0x4c70ce(-0xa7,-0x19)]=function(_0x354dbd,_0x4fbf43){return _0x354dbd%_0x4fbf43;};const _0x3d6821=_0x4e7678,_0x580653=Math['floor'](_0x3d6821[_0x4c70ce(0x22e,0x45)](_0x381f1f,-0x1*-0x2531+-0x1*-0x125e+-0x33a7)),_0x10a3cd=Math['floor'](_0x580653/(-0x231a*0x1+0x14f0+0x733*0x2)),_0x27dcd3=Math[_0x33a32e(-0x246,-0x246)](_0x3d6821[_0x33a32e(-0xf1,-0x220)](_0x10a3cd,-0x411*0x4+-0x6da+0x175a)),_0x3a89ad=Math['floor'](_0x3d6821[_0x4c70ce(0x19f,0x161)](_0x27dcd3,-0xf4*0x8+-0x263d*-0x1+-0x1*0x1e85));function _0x33a32e(_0x378af8,_0x149020){return _0x54d736(_0x149020- -0x3d8,_0x378af8);}if(_0x3d6821[_0x4c70ce(-0xb8,0x3c)](_0x3a89ad,-0x969*-0x2+0x143e+0x8*-0x4e2))return _0x3a89ad+'d\x20'+_0x3d6821[_0x4c70ce(-0xde,-0x6e)](_0x27dcd3,0x2465+0x441+-0x288e)+'h\x20'+_0x3d6821['GdbXd'](_0x10a3cd,0x589+-0x15bf+0x1072)+'m';if(_0x3d6821[_0x4c70ce(-0xea,0x3c)](_0x27dcd3,0x1*-0x8f3+-0x224+0xb17))return _0x27dcd3+'h\x20'+_0x3d6821[_0x33a32e(-0x1f,-0x125)](_0x10a3cd,0x849*0x1+-0x1e4f+-0xb*-0x206)+'m\x20'+_0x3d6821[_0x33a32e(-0x9e,-0x17a)](_0x580653,0x142+-0x2561+0x245b*0x1)+'s';if(_0x10a3cd>-0x65b+0xb*-0x284+-0x1*-0x2207)return _0x10a3cd+'m\x20'+_0x580653%(-0x2*0x139+0x1ff7+-0x1d49)+'s';return _0x580653+'s';}if(command===_0x8643f1(0x2b,0x19a)){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process['kill'](watchdogPid,_0x8643f1(-0x110,-0xfd)+'RM'),console[_0x54d736(0x178,0x85)](_0x54d736(0x421,0x3b7)+_0x54d736(0x152,0x1df)+'atchd'+_0x54d736(0x260,0x21c)+_0x54d736(0x426,0x251)+'\x20(PID'+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x1c28c5){console[_0x8643f1(-0x74,0x55)]('⬡\x20Fai'+_0x8643f1(-0x31e,-0x233)+_0x54d736(0x3ee,0x431)+_0x54d736(0x183,0x35)+_0x54d736(0x152,0x54)+_0x8643f1(-0x68,0xac)+_0x8643f1(0xa2,-0x11c)+_0x8643f1(0x75,0x17c)+watchdogPid+'):',_0x1c28c5[_0x54d736(0x26f,0x188)+'ge']),process[_0x8643f1(0x4d,0x170)](0x2*-0xaf9+-0x1c38+0x322b);}process[_0x54d736(0x42f,0x34e)](0xca6+-0x15*-0xbe+-0x8b*0x34);}const pid=getPid();!pid&&(console[_0x8643f1(-0x2c,-0x147)](_0x54d736(0x421,0x4ea)+_0x8643f1(0x84,-0x41)+_0x54d736(0x328,0x251)+'\x20runn'+_0x54d736(0x24d,0x231)),process[_0x8643f1(0x14b,0x170)](0x134d*-0x2+-0x1920+-0x6*-0xa9f));try{process['kill'](pid,'SIGTE'+'RM'),console[_0x8643f1(-0x56,-0x147)](_0x8643f1(-0x6d,0x162)+_0x54d736(0x1fc,0x12e)+_0x54d736(0x3fd,0x4c4)+'d\x20(PI'+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x2a5e70){console[_0x8643f1(-0x39,0x55)](_0x54d736(0x274,0x2d6)+_0x54d736(0x8c,0x1ae)+_0x54d736(0x3ee,0x4bf)+_0x8643f1(-0xc2,-0x13c)+_0x8643f1(-0x12b,-0x17a)+_0x54d736(0x1f1,0x4f)+pid+'):',_0x2a5e70[_0x54d736(0x26f,0x35b)+'ge']),process['exit'](0x81*-0x4a+-0x7*0x589+0x4c0a*0x1);}process['exit'](0x2bd*0x2+0x2*-0xdf1+-0x18*-0xef);}if(command===_0x54d736(0xd4,0x1d5)+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x54d736(0x234,0x32a)+_0x8643f1(-0x88,0xb3)+'on')),currentVersion=pkg['versi'+'on'];console[_0x8643f1(-0x1d0,-0x147)](_0x8643f1(-0x134,-0x1e9)+_0x8643f1(0x29b,0x114)+'versi'+_0x8643f1(0x1f4,0xe5)+currentVersion),console[_0x54d736(0x178,-0xc)]('⬡\x20Che'+_0x54d736(0x37c,0x3d5)+_0x54d736(0x406,0x412)+'updat'+'es...'+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x8643f1(-0x258,-0x147)](_0x54d736(0x42a,0x55c)+_0x8643f1(0x31,-0x67)+'\x20Upli'+'nk\x20be'+'fore\x20'+_0x8643f1(-0x35,-0x1eb)+_0x54d736(0x125,0x11));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process[_0x54d736(0x37b,0x456)](pidToKill,'SIGTE'+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x16570f={};_0x16570f[_0x8643f1(0xf2,0x90)]=_0x8643f1(0x78,-0x17b)+'e',execSync(_0x8643f1(-0x1dd,-0x19)+_0x54d736(0xc4,-0xcd)+_0x54d736(0x3a1,0x2c2)+_0x8643f1(-0x170,-0x1ae)+_0x8643f1(-0x1b5,-0xe)+_0x54d736(0x26e,0x182)+_0x54d736(0x2d6,0xde)+_0x8643f1(-0x14,-0x193)+_0x8643f1(-0x224,-0x14f)+'>nul\x20'+_0x54d736(0x19e,0x136),_0x16570f);}catch{}}try{console[_0x54d736(0x178,0xec)](_0x8643f1(-0xa8,-0xee)+'ating'+_0x54d736(0xc0,0x100)+'ncomp'+_0x8643f1(-0x11e,-0x142)+_0x54d736(0x3de,0x323)+_0x54d736(0xbd,0x25d)+_0x8643f1(0x1,0xcf));const _0x2beda3={};_0x2beda3['stdio']=_0x54d736(0x18d,0x281)+'it',execSync('npm\x20u'+'pdate'+_0x54d736(0x2e6,0x3f7)+_0x8643f1(0x221,0xfc)+_0x54d736(0x3e1,0x21e)+_0x54d736(0x21e,0xa5)+_0x8643f1(0x12a,0x50)+'hat',_0x2beda3);}catch(_0x4971c6){console[_0x8643f1(0x236,0x55)](_0x54d736(0x2d1,0x341)+_0x8643f1(-0x14,0x120)+'faile'+'d:',_0x4971c6[_0x54d736(0x26f,0x16b)+'ge']),console[_0x8643f1(-0x79,0x55)]('\x20\x20Try'+_0x54d736(0x2ea,0x317)+_0x8643f1(0x45,0xb0)+_0x8643f1(-0x9c,-0x205)+_0x54d736(0x23c,0x199)+'pm\x20up'+_0x54d736(0x3df,0x3bd)+'-g\x20@m'+_0x54d736(0x1bf,0x171)+_0x54d736(0x2ce,0x10f)+_0x54d736(0x2a3,0x17f)+_0x8643f1(-0x54,0x2c)+'at');if(wasRunning){console[_0x8643f1(-0x14f,-0x147)](_0x8643f1(0x266,0x84)+_0x8643f1(0xbf,0x168)+_0x54d736(0x10c,-0xdb)+_0x54d736(0x3de,0x1fd)+_0x8643f1(0xd,0x115));const _0x2da06c={};_0x2da06c[_0x54d736(0x34f,0x4d3)]=_0x54d736(0x18d,0x5b)+'it',execSync(_0x8643f1(-0x172,-0x19f)+_0x54d736(0x2f5,0x3a1)+_0x8643f1(0x1b,-0x76)+_0x8643f1(-0x4c,0x75)+_0x8643f1(0xca,-0x14)+'h',_0x2da06c);}process[_0x54d736(0x42f,0x3ea)](-0x93a*0x3+-0xe8f*0x1+-0x2*-0x151f);}try{delete require[_0x8643f1(0x252,0x16c)][join(ROOT,_0x8643f1(0x137,-0x8b)+'ge.js'+'on')];const newPkg=require(join(ROOT,_0x8643f1(-0x75,-0x8b)+'ge.js'+'on')),newVersion=newPkg[_0x8643f1(-0xd3,-0x130)+'on'];newVersion!==currentVersion?console[_0x54d736(0x178,0x170)]('\x0a⬡\x20Up'+_0x8643f1(0x31,0x56)+_0x54d736(0x2e2,0x1db)+currentVersion+'\x20→\x20v'+newVersion):console[_0x54d736(0x178,0x301)](_0x54d736(0xad,-0x28)+'ready'+_0x8643f1(0x3a,0x17f)+_0x54d736(0x354,0x3a6)+_0x8643f1(0xf5,-0xec)+_0x54d736(0x18f,0x108)+'on\x20(v'+currentVersion+').');}catch{console[_0x8643f1(-0x16f,-0x147)](_0x54d736(0x2d1,0x28b)+'date\x20'+_0x54d736(0x149,0x1dd)+_0x54d736(0x24e,0x37d));}if(wasRunning){console[_0x54d736(0x178,0x35c)]('⬡\x20Res'+_0x8643f1(-0x88,-0x113)+_0x54d736(0x302,0x481)+_0x54d736(0x295,0x2f2)+'..');try{const _0x25a117={};_0x25a117[_0x8643f1(0x23c,0x90)]=_0x54d736(0x18d,-0x44)+'it',execSync(_0x54d736(0x120,0x186)+_0x54d736(0x2f5,0x1de)+_0x54d736(0x249,0x198)+'rt\x20--'+_0x8643f1(-0x20b,-0x14)+'h',_0x25a117);}catch{console['log'](_0x8643f1(0x8,-0xc6)+_0x54d736(0x38d,0x205)+_0x54d736(0x3f1,0x444)+_0x54d736(0x458,0x4c8)+'d.\x20St'+_0x8643f1(0xdb,0xe4)+'anual'+_0x8643f1(-0x17d,-0x9e)+_0x8643f1(-0x21c,-0x127)+_0x8643f1(0x260,0x11f)+'-chat'+_0x54d736(0x433,0x5b0)+'t');}}process[_0x8643f1(0x68,0x170)](-0x1d50+-0x8b6+-0x1f*-0x13a);}if(command===_0x54d736(0x3a9,0x421)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x54d736(0x104,0x2e6)]()-state['start'+'edAt']);console[_0x54d736(0x178,-0x4f)](_0x54d736(0x421,0x3d3)+'ink\x20i'+_0x54d736(0xcb,-0xb9)+_0x54d736(0x445,0x4be)+'(watc'+'hdog\x20'+_0x54d736(0x8d,-0x93)),console[_0x8643f1(-0x1b5,-0x147)](_0x54d736(0x1be,0x2e6)+'chdog'+_0x54d736(0x2f1,0x1d0)+'\x20'+watchdogPid);if(state[_0x54d736(0x1f0,0x23c)+_0x8643f1(-0x49,-0x1bf)])console['log'](_0x54d736(0xaf,-0x22)+_0x8643f1(-0x22c,-0x244)+'ID:\x20\x20'+'\x20'+state['serve'+'rPid']);console[_0x8643f1(0x30,-0x147)](_0x8643f1(0x1dd,0xcc)+_0x54d736(0x436,0x261)+_0x8643f1(-0x258,-0xfc)+'\x20'+uptime),console['log'](_0x8643f1(0x34,-0x7e)+'tarts'+_0x8643f1(-0x2e9,-0x21d)+'\x20'+(state[_0x8643f1(-0x39c,-0x1dc)+_0x8643f1(-0xba,-0x1d1)+'nt']||0x689+0x6c1+-0xd4a));if(state['backo'+'ffMs']>0x207f+0x1*-0x1f81+0x2ea)console[_0x54d736(0x178,0x5d)](_0x54d736(0x199,0x1cf)+_0x54d736(0x338,0x42b)+'\x20\x20\x20\x20\x20'+'\x20'+state[_0x54d736(0x2fb,0x23f)+_0x8643f1(-0x37,-0x1f2)]+'ms');}else{const pid=getPid();pid?console[_0x8643f1(-0xc7,-0x147)]('⬡\x20Upl'+'ink\x20i'+_0x8643f1(-0x3,-0x1f4)+_0x8643f1(0x12d,0x186)+'(PID\x20'+pid+').'):console[_0x8643f1(-0x103,-0x147)](_0x8643f1(0x256,0x162)+'ink\x20i'+_0x8643f1(-0xbb,0x69)+'\x20runn'+_0x8643f1(-0x147,-0x72));}process[_0x8643f1(0x14b,0x170)](0x150a+0x25f0+0x2*-0x1d7d);}if(command===_0x54d736(0x413,0x558)+_0x8643f1(0x1fc,0xfd)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x54d736(0x234,0x90)+'ge.js'+'on')),readline=await import('readl'+_0x54d736(0x2b0,0x2ec)),{rmSync}=await import('fs');console[_0x54d736(0x178,0x2ba)](_0x8643f1(-0x41,-0x1d5)+'Uplin'+_0x8643f1(-0x166,-0x190)+_0x54d736(0x2af,0xc0)+_0x8643f1(-0xa3,0x139)+pkg[_0x8643f1(0x49,-0x130)+'on']+'\x0a'),console[_0x54d736(0x178,0x13f)](_0x8643f1(0x16c,0x173)+_0x54d736(0x33c,0x188)+'l:'),console['log'](_0x54d736(0x2f2,0x372)+_0x8643f1(-0xdd,-0x124)+_0x54d736(0x15e,0x2ae)+_0x8643f1(-0x6c,-0xb1)+_0x8643f1(0x162,0x15e)+'ver\x20a'+_0x54d736(0x348,0x386)+_0x8643f1(-0x285,-0x1e1)+'g'),console[_0x54d736(0x178,0x348)](_0x54d736(0x2f2,0x329)+_0x8643f1(-0x278,-0xc4)+_0x54d736(0x466,0x392)+_0x54d736(0x215,0x8b)+_0x54d736(0x28e,0x449)+_0x8643f1(0x1a1,0x165)+_0x8643f1(0x14c,0x73)+_0x54d736(0xa5,-0x3d)+_0x8643f1(0xa5,0x62)+_0x54d736(0x391,0x3b6)+')'),console[_0x8643f1(-0x169,-0x147)](_0x8643f1(0x155,0x33)+_0x54d736(0x1fb,0x2e2)+_0x8643f1(0x2aa,0x1a7)+_0x8643f1(0x20c,0x80)+'oads\x20'+_0x8643f1(-0xe7,-0x105)+'ached'+'\x20data'),console[_0x8643f1(-0x12f,-0x147)]('\x20\x20\x20\x20•'+_0x8643f1(0x59,-0xc4)+_0x54d736(0x466,0x462)+_0x54d736(0x43f,0x36d)+_0x8643f1(0x8b,-0x25)+'\x20PID\x20'+_0x54d736(0x391,0x465)),console[_0x54d736(0x178,-0x9)](_0x8643f1(0x83,0x33)+_0x8643f1(0x4d,-0xc4)+_0x8643f1(0x22,-0xad)+_0x54d736(0x2f0,0x472)+'vatar'+_0x8643f1(0x125,-0x25)+_0x8643f1(0x6d,0x197)+_0x54d736(0x382,0x342)+'es'),console[_0x8643f1(0x5a,-0x147)](_0x54d736(0x2f2,0x29a)+_0x8643f1(-0x85,-0x103)+_0x8643f1(0x1a5,0x1a1)+_0x54d736(0x15e,0x27c)+'npm\x20p'+'ackag'+_0x8643f1(0x158,0xab)+_0x8643f1(0xa6,-0x79)+'\x0a'),console[_0x8643f1(-0x1f1,-0x147)](_0x8643f1(-0x4,0xad)+_0x8643f1(0x64,0xdc)+_0x54d736(0x16d,0x28e)+'n\x20can'+_0x8643f1(-0x289,-0xe2)+_0x8643f1(0x25,0x9d)+_0x8643f1(-0x203,-0x15e));const _0x16dd8e={};_0x16dd8e['input']=process['stdin'],_0x16dd8e[_0x8643f1(0x11f,0x81)+'t']=process[_0x54d736(0x286,0x284)+'t'];const rl=readline[_0x54d736(0x3fb,0x26a)+'eInte'+_0x8643f1(-0x6c,-0x1d7)](_0x16dd8e),answer=await new Promise(_0x47b65a=>{function _0x4ec6ef(_0x4a98ca,_0x3dfa20){return _0x8643f1(_0x4a98ca,_0x3dfa20-0x16a);}function _0x4f6d30(_0x35dc76,_0x66a70e){return _0x8643f1(_0x66a70e,_0x35dc76-0x61d);}const _0x78731b={};_0x78731b[_0x4ec6ef(0x214,0x23e)]=_0x4ec6ef(0x2dd,0x312)+'e\x20\x22un'+_0x4f6d30(0x668,0x524)+_0x4f6d30(0x4d0,0x4e6)+_0x4ec6ef(0x231,0xc5)+_0x4ec6ef(0x32a,0x1b7)+'\x20';const _0x5924b2=_0x78731b;rl[_0x4ec6ef(0x404,0x21f)+_0x4f6d30(0x523,0x3a9)](_0x5924b2['eJiwM'],_0x47b65a);});rl[_0x8643f1(0x2dc,0x106)]();answer['trim']()['toLow'+'erCas'+'e']()!==_0x8643f1(0x2d9,0x154)+_0x54d736(0x3bc,0x23c)&&(console[_0x8643f1(-0x232,-0x147)](_0x8643f1(0x2ff,0x15f)+'ncell'+_0x8643f1(0xe8,0x14c)+_0x8643f1(0x2b6,0x107)+_0x8643f1(-0x219,-0x40)+'\x20remo'+_0x54d736(0x2c3,0x451)),process['exit'](0x2504+-0x1*-0x847+-0x2d4b));console['log']('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x54d736(0x37b,0x1d6)](watchdogPid,'SIGTE'+'RM'),console[_0x54d736(0x178,-0x58)]('\x20\x20✓\x20S'+'toppe'+_0x8643f1(0x2c,-0x1b1)+_0x8643f1(-0x39e,-0x22a)+_0x8643f1(-0x5,0x9f)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x8643f1(0x216,0xbc)](serverPid,_0x8643f1(-0x1e4,-0xfd)+'RM'),console['log'](_0x54d736(0x297,0x405)+'toppe'+_0x54d736(0x40a,0x56b)+_0x8643f1(-0x72,-0xf0)+_0x54d736(0x1f1,0x2cb)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console['log'](_0x8643f1(-0xa4,-0x28)+_0x54d736(0xa3,0x20)+_0x8643f1(-0x3af,-0x1fe)+_0x54d736(0x124,0x51)+'ng');const legacyToRemove=[_0x54d736(0xc2,0x80),_0x8643f1(0xb4,0x9e)+'g.jso'+'n',_0x54d736(0x1e6,0x321)+'nk.pi'+'d',_0x8643f1(-0x289,-0xd9)+'nk-wa'+'tchdo'+_0x8643f1(0x10a,-0x8),_0x8643f1(-0x206,-0xd9)+_0x54d736(0x203,0x97)+'tchdo'+_0x8643f1(-0x41e,-0x23f)+'n',_0x8643f1(0xf7,-0xd9)+'nk-wa'+_0x8643f1(-0x220,-0x1e1)+_0x8643f1(0x309,0x189),_0x54d736(0x1e6,0x36d)+'nk-se'+_0x54d736(0x1f5,0x93)+_0x8643f1(-0x163,-0x147),_0x54d736(0x190,0x3f)+_0x8643f1(-0xc2,-0x18a)+'son',_0x54d736(0x26f,0x29d)+_0x54d736(0x39d,0x39c)+_0x54d736(0x2a9,0x163)+'son',_0x8643f1(-0x19c,-0x22e)+_0x54d736(0xae,0x282)+_0x8643f1(0x1,-0x47)+'ons.j'+_0x8643f1(-0x112,-0x213),_0x8643f1(-0x2a8,-0x1ac)+_0x8643f1(-0x161,-0x11b)+_0x8643f1(0x160,0x15c)+_0x54d736(0x9a,0x285),_0x8643f1(-0x142,0x6e)+'ds',_0x54d736(0x40d,0x27c)+'data',_0x8643f1(0x191,-0x7)+_0x54d736(0x3a2,0x31a)+'io',_0x54d736(0x2b8,0x3da)+_0x8643f1(-0x4a,-0x149)+'/agen'+'ts'];let removed=-0x1c81*0x1+0x163*-0x7+0x2636;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x315e8c={};_0x315e8c[_0x8643f1(-0x69,-0x16e)+_0x8643f1(0xad,0x5)]=!![],_0x315e8c[_0x8643f1(-0x140,-0x23b)]=!![],rmSync(fullPath,_0x315e8c),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x11ec9d={};_0x11ec9d[_0x54d736(0x151,0x28f)+_0x8643f1(-0x18e,0x5)]=!![],_0x11ec9d[_0x54d736(0x84,0x1d2)]=!![],rmSync(DATA_DIR,_0x11ec9d),removed++,console[_0x8643f1(-0x2eb,-0x147)](_0x8643f1(-0x345,-0x241)+_0x54d736(0x13b,0x3a)+_0x8643f1(-0x2,-0x141)+'a\x20dir'+_0x54d736(0x235,0x69)+_0x8643f1(-0xf,-0x17)+DATA_DIR);}catch{}console['log']('\x20\x20✓\x20R'+_0x54d736(0x13b,0x2c5)+'d\x20'+removed+(_0x54d736(0x44d,0x360)+'\x20file'+_0x54d736(0xe7,0x232)+_0x8643f1(0x160,-0x8a)+_0x8643f1(-0x1ba,0x3f))),console[_0x54d736(0x178,0x70)](_0x54d736(0x7e,-0xdd)+_0x8643f1(-0x126,-0x53)+_0x54d736(0x2d5,0x15d)+'m\x20pac'+_0x8643f1(-0xe0,-0x231)+_0x8643f1(-0x13b,-0x23d));try{const _0x4dda0b={};_0x4dda0b[_0x8643f1(0x13b,0x90)]=_0x8643f1(0x5c,-0x132)+'it',execSync(_0x54d736(0x394,0x35b)+'ninst'+'all\x20-'+_0x54d736(0x364,0x3f2)+_0x54d736(0x262,0x1d2)+'pany/'+_0x54d736(0x120,0x289)+'k-cha'+'t',_0x4dda0b),console['log']('\x0a\x20\x20⬡\x20'+_0x54d736(0x20e,0x401)+_0x8643f1(0x2e1,0x1a9)+_0x54d736(0x2a5,0x488)+_0x8643f1(-0x1ab,-0xd)+_0x8643f1(0x50,-0x2c)+_0x54d736(0x429,0x405)+_0x54d736(0x2af,0x3aa)+'led.'),console['log'](_0x8643f1(0xaa,0xa0)+_0x8643f1(0x14b,-0x9c)+_0x8643f1(0x9d,0x181)+_0x54d736(0x10c,0x88)+_0x54d736(0x3de,0x334)+_0x54d736(0x350,0x1cd));}catch(_0x23b3be){console[_0x54d736(0x314,0x3c6)](_0x8643f1(-0x269,-0x8f)+_0x8643f1(0x76,0xf9)+'ed\x20to'+_0x54d736(0x2e3,0x4bb)+'stall'+_0x54d736(0x2d3,0x1bb)+_0x8643f1(0x78,-0x8b)+_0x8643f1(-0x244,-0x1f3)),console[_0x8643f1(-0x45,0x55)](_0x54d736(0x2cf,0x49b)+_0x8643f1(-0x10c,-0x64)+_0x54d736(0x367,0x29b)+'\x20npm\x20'+_0x8643f1(0xd1,0x154)+_0x8643f1(-0x344,-0x20a)+'-g\x20@m'+'oonco'+_0x8643f1(0x13c,0xf)+_0x54d736(0x2a3,0x2fb)+_0x54d736(0x2eb,0x32e)+_0x54d736(0x232,0x271)),process['exit'](0x654+-0x1a2b+0x13d8);}process[_0x8643f1(0x8a,0x170)](0x19c*-0xf+0x2*0xb45+0x19a);}if(command===_0x54d736(0x18e,0x355)){const LOG_FILE=join(ROOT,'serve'+_0x8643f1(0x63,-0x84)),ALT_LOG_FILE=join(ROOT,_0x8643f1(-0x19b,-0xd9)+_0x8643f1(-0x116,0x70)+_0x54d736(0x1f5,0x3ec)+'log'),DATA_LOG_FILE=join(DATA_DIR,_0x8643f1(-0x128,-0xd9)+_0x54d736(0x32f,0x4a6)+_0x54d736(0x1f5,0x3dd)+'log'),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x54d736(0x178,0x4f)](_0x8643f1(-0x296,-0x242)+'log\x20f'+_0x8643f1(0x129,-0x29)+_0x54d736(0x1cd,0x29b)),console[_0x8643f1(-0x245,-0x147)]('\x20\x20Exp'+'ected'+'\x20loca'+_0x54d736(0x14c,0x20a)+':'),console[_0x54d736(0x178,-0x6)](_0x8643f1(-0x1e7,-0xd0)+LOG_FILE),console[_0x54d736(0x178,0x1ca)](_0x54d736(0x1ef,0x30b)+ALT_LOG_FILE),console['log'](''),console[_0x54d736(0x178,0x30)](_0x54d736(0x3a7,0x494)+_0x8643f1(0x104,-0x6f)+_0x54d736(0x9e,0x141)+_0x8643f1(-0xe8,0x2a)+'hen\x20t'+_0x8643f1(-0x128,0xb7)+_0x8643f1(-0xe,0x15b)+_0x8643f1(0x65,-0x9)),console[_0x54d736(0x178,0x16b)](_0x8643f1(0xf5,0x108)+_0x54d736(0x2bf,0x1b5)+_0x8643f1(-0xfc,-0x1a7)+_0x54d736(0x446,0x365)+_0x54d736(0x15a,0x166)+_0x54d736(0x3c0,0x4ed)+_0x8643f1(0x1e5,0x2c)+'at\x20st'+_0x54d736(0x327,0x1f5)),process['exit'](-0xf89+0x15b*-0x1c+0x357e));const lines=flags[_0x54d736(0x128,0x297)]||-0x356+0x1056+0xb*-0x12a;try{const content=readFileSync(logFile,_0x8643f1(-0xae,-0x12a)),allLines=content[_0x54d736(0x137,0x34)]('\x0a'),tail=allLines[_0x8643f1(-0xc,0xec)](-lines)[_0x54d736(0x105,0x2cf)]('\x0a');console[_0x54d736(0x178,0x1b7)](_0x8643f1(-0x87,0xc9)+_0x54d736(0x380,0x507)+_0x8643f1(-0x37,0x10b)+lines+(_0x54d736(0x2ca,0x4a5)+_0x54d736(0x331,0x3dd)+'m\x20')+logFile+'\x0a'),console[_0x8643f1(-0x144,-0x147)](tail);}catch(_0x2b88b5){console['error'](_0x8643f1(0x75,-0x4b)+_0x54d736(0x8c,-0xa0)+_0x8643f1(0x50,0x7a)+_0x8643f1(-0x150,-0x13b)+'\x20file'+':\x20'+_0x2b88b5[_0x8643f1(-0x1e3,-0x50)+'ge']),process[_0x54d736(0x42f,0x288)](0x227c+0xd*-0xf7+0x1b0*-0xd);}console[_0x8643f1(-0x2f8,-0x147)](_0x54d736(0x431,0x622)+_0x54d736(0x1e1,0x1e8)+_0x54d736(0x30e,0x27b)+_0x8643f1(-0x112,-0x217)+_0x54d736(0x28a,0x15d)+_0x8643f1(0x1a1,0xfe)+_0x8643f1(-0x1ba,-0x13a)+_0x8643f1(-0x13b,-0x13)+_0x8643f1(-0x148,-0x9f)+_0x8643f1(0x248,0x175)+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x54d736(0x108,-0xe6)];const watcher=fsModule[_0x8643f1(0x2e3,0x153)](logFile,()=>{function _0x45a8f7(_0x35bedf,_0x474568){return _0x8643f1(_0x474568,_0x35bedf-0xc5);}function _0x28154a(_0x171fb9,_0x416e6b){return _0x8643f1(_0x416e6b,_0x171fb9-0x160);}const _0x470c61={'duxxy':function(_0x526284,_0x48b203,_0xdb59d6){return _0x526284(_0x48b203,_0xdb59d6);},'cfdol':_0x45a8f7(-0xda,0xa0)+_0x28154a(0x196,0x9d)+_0x45a8f7(0x4f,-0xb6)+_0x28154a(0x1d5,0x171)+_0x28154a(0x14c,0x137)+'h','mzoMz':function(_0x2de1c1,_0x426331){return _0x2de1c1>_0x426331;},'obvjE':_0x28154a(0x36,0xc6),'eJXtU':function(_0x3a5c2a,_0x532c89){return _0x3a5c2a===_0x532c89;},'AWVew':'nYpmn'};try{const _0x247d6b=fsModule[_0x28154a(0x97,0x12a)+_0x45a8f7(0x10d,0x2cf)](logFile,'r'),_0x3bc09f=fsModule[_0x28154a(0x122,0xdb)+_0x45a8f7(-0x103,-0xa9)](_0x247d6b)[_0x28154a(-0x57,0xc4)];if(_0x470c61[_0x45a8f7(0xd1,0x1c5)](_0x3bc09f,position)){const _0x53c82a=Buffer['alloc'](_0x3bc09f-position);fsModule['readS'+_0x45a8f7(0x10d,-0xdb)](_0x247d6b,_0x53c82a,0xe13*-0x1+-0x23b5+-0x1*-0x31c8,_0x53c82a[_0x28154a(0x290,0x34e)+'h'],position),process[_0x45a8f7(0x8c,0xd2)+'t'][_0x45a8f7(-0x156,-0x92)](_0x53c82a[_0x45a8f7(0x44,-0x59)+_0x28154a(0x1c0,0x26e)](_0x470c61[_0x45a8f7(0x1a2,-0xe)])),position=_0x3bc09f;}else{if(_0x3bc09f<position){if(_0x470c61[_0x28154a(-0x20,0x146)](_0x45a8f7(0x1e2,-0xf),_0x470c61[_0x28154a(0x2ad,0xda)]))position=-0x1161*-0x1+0x264b+-0x1bd6*0x2;else{const _0x9f6a4e={};_0x9f6a4e[_0x45a8f7(0x155,0x233)]=_0x28154a(0x2e,-0x1a1)+'it',lguwfo[_0x28154a(0xf4,0x13c)](_0x4f12b6,lguwfo['cfdol'],_0x9f6a4e);}}}fsModule[_0x45a8f7(0x1cb,0x26a)+_0x45a8f7(-0x103,-0x13a)](_0x247d6b);}catch{}});process['on'](_0x54d736(0x2ff,0x20c)+'T',()=>{watcher['close'](),process['exit'](0x654*0x2+-0x1*0x2564+-0x4*-0x62f);}),process['on'](_0x8643f1(-0x2ef,-0xfd)+'RM',()=>{function _0xb0439d(_0x37070a,_0x204c72){return _0x54d736(_0x204c72-0x54,_0x37070a);}function _0x21bdf9(_0x2effbe,_0x292c7a){return _0x54d736(_0x2effbe-0x8a,_0x292c7a);}watcher[_0x21bdf9(0x44f,0x261)](),process[_0xb0439d(0x4ee,0x483)](0x8*-0x469+-0x1*0x7+0x234f);});}function _0x8643f1(_0xe2f9b6,_0x1dd757){return _0x1d2a(_0x1dd757- -0x2cf,_0xe2f9b6);}if(command===_0x54d736(0x35d,0x34e)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x54d736(0xc2,0x95)))?join(DATA_DIR,_0x54d736(0xc2,0x1d8)):join(ROOT,'.env');flags[_0x54d736(0x264,0x310)]&&(console[_0x54d736(0x178,0x2ea)](ENV_FILE),process[_0x54d736(0x42f,0x258)](0x20bc+0x41b*0x5+-0x3543));if(flags[_0x54d736(0x1a2,0x16c)]){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x54d736(0x17b,0x15)+_0x8643f1(-0x99,-0x85)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x8643f1(-0x300,-0x12a))),console[_0x8643f1(0x5e,-0x147)](_0x54d736(0x162,0x13d)+_0x54d736(0x92,-0xf3)+_0x8643f1(0x48,0x8d)+_0x54d736(0x164,0x86)+_0x54d736(0x17b,0xb8)+_0x8643f1(-0x178,-0x85)+'le')):(writeFileSync(ENV_FILE,_0x8643f1(0x111,0xbb)+'ink\x20C'+'onfig'+_0x8643f1(-0x2cb,-0x12b)+_0x54d736(0x231,0x417)),console['log'](_0x8643f1(-0xa5,-0x15d)+_0x8643f1(-0xef,-0x22d)+'empty'+'\x20.env'+'\x20file'));}const editor=process.env.EDITOR||(process[_0x54d736(0x24c,0x247)+_0x54d736(0x25c,0xe8)]===_0x54d736(0x345,0x3a3)?_0x8643f1(-0xf6,0x85)+'ad':_0x54d736(0x373,0x3f0));console['log'](_0x54d736(0x268,0x2df)+'ning\x20'+ENV_FILE+_0x8643f1(0x59,-0x125)+editor+_0x54d736(0x3d4,0x408));try{const _0x182b84={};_0x182b84[_0x54d736(0x34f,0x430)]=_0x54d736(0x18d,0x44)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x182b84);}catch(_0x5e930a){console[_0x54d736(0x314,0x1ac)](_0x8643f1(-0x115,-0x4b)+_0x54d736(0x8c,-0x105)+_0x54d736(0x369,0x520)+_0x54d736(0x1bd,0xd4)+'tor:\x20'+_0x5e930a[_0x54d736(0x26f,0x39f)+'ge']),console['error']('\x20\x20Set'+'\x20EDIT'+_0x54d736(0x106,-0x8a)+_0x54d736(0x14a,0x207)+_0x8643f1(0x137,-0x36)+_0x8643f1(-0x1d0,-0x104)+_0x54d736(0xba,0x1bc)+_0x54d736(0x405,0x2ff)+ENV_FILE),process[_0x8643f1(0x1b4,0x170)](0x2153+0x28d+-0x23df);}process['exit'](0x9b5+-0x1*-0xbc3+-0x394*0x6);}!existsSync(ENV_FILE)&&(console['log'](_0x8643f1(-0x1ad,-0x242)+_0x8643f1(-0xe9,0x8d)+_0x54d736(0x402,0x5aa)+_0x8643f1(0x2f3,0x166)+'.'),console[_0x54d736(0x178,0x133)](_0x8643f1(-0x80,-0xe7)+'ate\x20o'+_0x54d736(0x22e,0x134)+_0x8643f1(0xc9,-0x127)+'plink'+_0x54d736(0xbd,0xb8)+_0x54d736(0x3d2,0x4ce)+_0x54d736(0x101,0x2b7)+_0x8643f1(-0x171,-0x11d)),console[_0x54d736(0x178,0x186)]('\x20\x20Or\x20'+_0x54d736(0x39a,0x36e)+_0x54d736(0x3ad,0x3d0)+_0x54d736(0x1b1,0x23d)+'e:\x20cp'+'\x20.env'+'.exam'+_0x54d736(0x1f8,0x1c9)+_0x54d736(0x2e7,0x25f)),process[_0x54d736(0x42f,0x52b)](-0x17eb+-0x32c+0x1*0x1b18));const SENSITIVE_KEYS=[_0x54d736(0x342,0x2b1),_0x8643f1(0x21b,0x97),'SECRE'+'T',_0x54d736(0x206,0x163)+_0x54d736(0x2b5,0x19a),'CREDE'+_0x8643f1(0x37d,0x1a6)];function maskValue(_0x2994c2,_0x596628){const _0x571854={};_0x571854[_0x50af81(-0x15c,-0x1a)]=function(_0x29efca,_0x4e0523){return _0x29efca||_0x4e0523;},_0x571854['wImKC']=function(_0x5b32e5,_0x3b52c1){return _0x5b32e5<=_0x3b52c1;};function _0x50af81(_0x51507f,_0x4e764e){return _0x8643f1(_0x4e764e,_0x51507f-0x88);}_0x571854[_0x55c5af(-0x1a3,0x39)]=function(_0x9f0dd5,_0x1e1026){return _0x9f0dd5+_0x1e1026;},_0x571854[_0x50af81(0x182,0x1d8)]=_0x50af81(-0x17f,-0x2bd);const _0x4376cc=_0x571854,_0x17c7b7=SENSITIVE_KEYS[_0x55c5af(-0xf1,-0x108)](_0x57604b=>_0x2994c2[_0x50af81(0x227,0x384)+'erCas'+'e']()[_0x50af81(0x1ec,0x21f)+_0x50af81(0x1b2,0x37)](_0x57604b));if(_0x4376cc[_0x55c5af(-0x232,-0x417)](!_0x17c7b7,!_0x596628)||_0x4376cc['wImKC'](_0x596628['lengt'+'h'],0x695+-0x1*0x2542+-0x369*-0x9))return _0x596628;function _0x55c5af(_0x3fb189,_0x33cb30){return _0x8643f1(_0x33cb30,_0x3fb189- -0x4e);}return _0x4376cc[_0x50af81(-0xcd,-0x67)](_0x596628[_0x55c5af(0x9e,-0x13c)](-0x870+0x1*-0x135f+-0x3*-0x945,0x1ab7*-0x1+0x1596+0x525),_0x4376cc[_0x50af81(0x182,0x155)]);}try{const content=readFileSync(ENV_FILE,_0x54d736(0x195,0x34b)),entries=[];for(const line of content[_0x8643f1(-0x1b,-0x188)]('\x0a')){const trimmed=line[_0x54d736(0x23d,0x333)]();if(!trimmed||trimmed[_0x8643f1(0x22e,0x168)+_0x8643f1(0xb6,-0xf1)]('#'))continue;const eqIdx=trimmed[_0x54d736(0x131,-0x1e)+'Of']('=');if(eqIdx===-(0x1*-0x1b31+0x1*0x131+0x1a01))continue;const key=trimmed[_0x8643f1(0x1f8,0xec)](-0x68*0x1+-0x1aad+-0x3*-0x907,eqIdx)[_0x54d736(0x23d,0x135)](),val=trimmed[_0x8643f1(0x138,0xec)](eqIdx+(0x8f9+-0x885+0x1*-0x73))[_0x8643f1(-0x8d,-0x82)]();entries[_0x54d736(0x255,0x41f)]([key,val]);}entries[_0x8643f1(0x291,0x130)+'h']===-0xaf9+-0x39c+0xe95&&(console[_0x54d736(0x178,0x1c3)](_0x8643f1(-0x1da,0x7)+_0x8643f1(-0x20b,-0x151)+_0x54d736(0x379,0x1f9)+_0x8643f1(-0x1f4,-0x99)+_0x54d736(0x45f,0x2b4)+':\x20upl'+_0x54d736(0x30f,0x22d)+_0x54d736(0x3dd,0x3e9)+_0x8643f1(-0x1ad,-0x22f)+_0x8643f1(-0x1b,-0x1f5)+'it'),process[_0x8643f1(0x171,0x170)](-0x1dcc+0x30c+-0xd60*-0x2));const maxKeyLen=Math[_0x54d736(0x1b0,0x2e)](...entries[_0x54d736(0x196,0x17f)](([_0x1f5118])=>_0x1f5118['lengt'+'h']));console[_0x54d736(0x178,0x1a7)](_0x8643f1(-0x24f,-0x1d5)+_0x8643f1(0x42,-0xb1)+_0x54d736(0x3f2,0x2b9)+_0x54d736(0x28e,0x27e)+'ation'+'\x0a'),console[_0x8643f1(-0x1ae,-0x147)]('\x20\x20'+_0x8643f1(-0x395,-0x20b)[_0x54d736(0x42c,0x46c)+'d'](maxKeyLen+(-0xd*0x12b+0x25df+-0x16ae))+_0x54d736(0x2fa,0x1de)),console[_0x8643f1(-0x9e,-0x147)]('\x20\x20'+'─'['repea'+'t'](maxKeyLen+(-0x108f*0x2+-0x1eb9+0x3fd9))+'─'[_0x54d736(0x366,0x3f2)+'t'](-0xe2*-0x1f+-0x2b*-0xe3+-0x2b*0x185));for(const [key,val]of entries){const display=val?maskValue(key,val):'\x1b[90m'+_0x54d736(0x2f8,0x18e)+_0x8643f1(-0x172,-0x32)+'m';console['log']('\x20\x20'+key[_0x8643f1(-0xa,0x16d)+'d'](maxKeyLen+(0xa1*-0x35+0x1127+0x4a*0x38))+display);}console['log'](_0x8643f1(-0x112,-0x1b6)+'th:\x20'+ENV_FILE+'\x0a');}catch(_0x3ef0e0){console[_0x8643f1(-0x7e,0x55)](_0x8643f1(-0xbf,-0x4b)+'led\x20t'+'o\x20rea'+_0x54d736(0x31d,0x3df)+'v:\x20'+_0x3ef0e0[_0x8643f1(-0x1a5,-0x50)+'ge']),process[_0x54d736(0x42f,0x5a8)](-0x1*-0xeb9+-0x6dd*-0x1+-0x1595);}process['exit'](-0x1*0x2588+-0x228b+0x4813);}if(command===_0x8643f1(-0xf2,-0x24)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x8643f1(0xa8,-0x8b)+_0x8643f1(0x83,0xb3)+'on'));console['log'](_0x54d736(0xea,0x40)+_0x54d736(0x20e,0x251)+_0x8643f1(-0x14c,-0xd7)+_0x8643f1(0x1c3,0x11c)+'\x20v'+pkg[_0x54d736(0x18f,0xce)+'on']+'\x0a');const results=[];function pass(_0x2656d8,_0x2b0dcc){const _0x44ebc5={};function _0x5d3faf(_0x14fddc,_0x5bd286){return _0x54d736(_0x5bd286- -0x353,_0x14fddc);}_0x44ebc5[_0x5d3faf(0x15e,0x56)+'s']=_0x217782(0x3ca,0x1dd);function _0x217782(_0x237f0f,_0x11b80f){return _0x54d736(_0x11b80f-0x11e,_0x237f0f);}_0x44ebc5['label']=_0x2656d8,_0x44ebc5['detai'+'l']=_0x2b0dcc,results['push'](_0x44ebc5);}function fail(_0x254ee7,_0x4c612e){function _0xfbf0cd(_0x51b86e,_0x407a6a){return _0x54d736(_0x407a6a- -0x155,_0x51b86e);}function _0x298944(_0x499312,_0x576403){return _0x54d736(_0x499312-0x207,_0x576403);}const _0x2655b={};_0x2655b[_0xfbf0cd(0x30,-0x1f)]=_0xfbf0cd(0x8d,0x26e);const _0x9c22b5=_0x2655b,_0x4f1548={};_0x4f1548[_0x298944(0x5b0,0x41e)+'s']=_0x9c22b5[_0x298944(0x33d,0x270)],_0x4f1548[_0x298944(0x56c,0x41a)]=_0x254ee7,_0x4f1548[_0xfbf0cd(-0x89,0xab)+'l']=_0x4c612e,results['push'](_0x4f1548);}function warn(_0x1ed398,_0x574f3e){function _0x499bac(_0x21725d,_0x1b423e){return _0x54d736(_0x1b423e-0x5b,_0x21725d);}const _0x3bf963={};_0x3bf963[_0x499bac(0x111,0x18d)]=_0x44b7d9(-0x1a4,-0x2a2);const _0x314d6a=_0x3bf963,_0x552532={};_0x552532['statu'+'s']=_0x314d6a[_0x44b7d9(-0x152,-0x36)],_0x552532[_0x44b7d9(0xe1,0x1be)]=_0x1ed398,_0x552532[_0x44b7d9(-0x84,0xb7)+'l']=_0x574f3e;function _0x44b7d9(_0x253b90,_0x503685){return _0x54d736(_0x253b90- -0x284,_0x503685);}results[_0x44b7d9(-0x2f,0xb1)](_0x552532);}const nodeVer=process['versi'+_0x8643f1(-0x15b,-0x1b2)][_0x8643f1(-0x213,-0x3f)],nodeMajor=parseInt(nodeVer[_0x54d736(0x137,0x219)]('.')[-0x1*0xcbb+0x9*-0x24f+0x1*0x2182],-0x5*-0x377+-0x255d*0x1+0x1414);nodeMajor>=-0x5c9+-0x1fc3+0xc8a*0x3?pass('Node.'+'js\x20ve'+'rsion','v'+nodeVer+(_0x54d736(0x1b4,0x28d)+_0x8643f1(-0x252,-0xf8)+_0x8643f1(-0x11f,-0x228)+'d)')):fail(_0x54d736(0x2a2,0x2aa)+_0x54d736(0x29f,0x268)+'rsion','v'+nodeVer+(_0x8643f1(-0x79,-0x7a)+_0x8643f1(-0x18d,-0x1fc)+_0x54d736(0x451,0x599)+_0x54d736(0x1fa,0x165)+'requi'+_0x8643f1(-0x188,-0xb6)));const ENV_FILE=existsSync(join(DATA_DIR,_0x54d736(0xc2,0x57)))?join(DATA_DIR,'.env'):join(ROOT,_0x54d736(0xc2,0x3));let envPort=-0x20ff+-0x158e+0x1*0x440d,envGatewayUrl='http:'+_0x8643f1(0x350,0x16f)+_0x54d736(0x28b,0x1c7)+_0x8643f1(-0x2ba,-0xe8)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,'utf8');for(const line of content[_0x8643f1(-0x200,-0x188)]('\x0a')){const t=line['trim']();if(!t||t[_0x8643f1(0x120,0x168)+_0x54d736(0x1ce,0x233)]('#'))continue;const eqIdx=t['index'+'Of']('=');if(eqIdx===-(0x9*-0x3df+0xb41+-0x29f*-0x9))continue;const k=t[_0x54d736(0x3ab,0x4e3)](-0x2*-0x925+-0x2*-0x77d+-0x2144*0x1,eqIdx)[_0x54d736(0x23d,0x11f)](),v=t[_0x54d736(0x3ab,0x2b8)](eqIdx+(0x114f+0x1926+-0x2a74))[_0x8643f1(0xf0,-0x82)]();if(k===_0x8643f1(-0x193,-0x2f))envPort=parseInt(v,0x1f0+-0x1d*0xe9+0x187f)||0xe3a+-0xb6a+-0x90*-0x13;if(k===_0x8643f1(-0x25a,-0x9d)+_0x54d736(0x1cb,0x260)+'L')envGatewayUrl=v;if(k===_0x54d736(0x222,0x21f)+_0x54d736(0xfd,0x48)+_0x8643f1(-0x15,0x5d))envGatewayToken=v;if(k===_0x54d736(0x2f3,0x174)+_0x54d736(0x20b,0x369)+'_KEY')envOpenAIKey=v;if(k===_0x54d736(0x38f,0x536)+'NLABS'+_0x54d736(0x205,0x136)+_0x8643f1(-0x52,0x97))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x51761a=>{const _0x504ca2={'AWeFI':function(_0x2d603c,_0x599104,_0xa8dfcf){return _0x2d603c(_0x599104,_0xa8dfcf);},'xeAOX':function(_0xce8091,_0x38bab6){return _0xce8091+_0x38bab6;},'JqrYU':_0x17fdd0(-0x10f,-0x2c3)+_0x2f5335(0x3f,0x168)+_0x17fdd0(0x69,-0xb5)+'k','mENMo':function(_0x4fd046,_0x37f14b){return _0x4fd046+_0x37f14b;},'ZwaEX':_0x2f5335(0x3ae,0x2ca),'TwUbC':_0x2f5335(0xd,0x30)+_0x2f5335(0x3f,-0x77)+_0x2f5335(0x13,0x145)+_0x17fdd0(-0x89,-0x10b)+'ocess','dykna':function(_0x3eecc6,_0x2c9278){return _0x3eecc6===_0x2c9278;},'tCEXR':_0x17fdd0(-0x6d,0x9c),'URtAq':_0x2f5335(0x196,-0x55),'bGjbN':function(_0x5beadb,_0xb72c5e){return _0x5beadb===_0xb72c5e;},'KFYDn':function(_0x5051ee,_0x4eaec8){return _0x5051ee(_0x4eaec8);},'WkGau':function(_0x59a854,_0xc92017){return _0x59a854(_0xc92017);},'tbbFx':_0x17fdd0(0x2c2,0x4a3)+'e\x20\x22un'+_0x2f5335(0x281,0x1ca)+_0x2f5335(0xe9,0x288)+'o\x20con'+_0x17fdd0(0x167,0x28e)+'\x20','wiIWZ':_0x17fdd0(0x31,0x24),'xZYPM':_0x17fdd0(0x1f2,0x33f),'rAaEe':function(_0x51f397,_0x3c1581){return _0x51f397(_0x3c1581);},'EisIB':_0x17fdd0(0x16f,0x9b),'fsphV':'liste'+_0x2f5335(0x307,0x4de),'iPtHj':_0x2f5335(0x15a,0x2c6)+_0x17fdd0(0x1e2,0x3b0)};function _0x2f5335(_0x201788,_0x123e24){return _0x54d736(_0x201788- -0x89,_0x123e24);}function _0x17fdd0(_0x845456,_0x2c0396){return _0x54d736(_0x845456- -0x1a5,_0x2c0396);}const _0xcf29d7=_0x3fdfe2[_0x2f5335(0x372,0x525)+_0x17fdd0(-0x26,0x11e)+'er']();_0xcf29d7[_0x17fdd0(-0x10a,-0x5b)](_0x504ca2[_0x2f5335(0x37b,0x366)],_0x16d537=>{function _0x2b3341(_0x502c5d,_0xc081bb){return _0x2f5335(_0x502c5d- -0x140,_0xc081bb);}function _0x437044(_0x425c6b,_0x2323b4){return _0x2f5335(_0x2323b4- -0xb,_0x425c6b);}if(_0x504ca2[_0x2b3341(0x233,0x327)](_0x504ca2[_0x437044(0x22b,0x3c8)],_0x504ca2[_0x2b3341(-0xaf,-0x6b)]))_0x4bc760?_0x504ca2[_0x437044(0x204,0x36a)](_0x28ee51,_0x504ca2['xeAOX'](_0x2b3341(0x26e,0x36d),_0x1cc660),_0x504ca2[_0x2b3341(0x200,0x1ae)]):_0x32d799(_0x504ca2[_0x437044(-0x39,-0x11)](_0x504ca2['ZwaEX'],_0x1c8baa),_0x504ca2[_0x437044(0x22e,0xd3)]);else{if(_0x504ca2[_0x2b3341(0x25f,0x397)](_0x16d537[_0x437044(0x109,0x216)],_0x437044(0x26d,0x150)+_0x437044(0x12a,0x7b)))_0x504ca2[_0x2b3341(0x1dd,0x2da)](_0x51761a,![]);else _0x504ca2[_0x2b3341(0x1cd,0x1a2)](_0x51761a,!![]);}}),_0xcf29d7[_0x2f5335(0x12,0x15e)](_0x504ca2[_0x2f5335(0x5d,0x43)],()=>{function _0x1b9bc6(_0x30f7f1,_0x166490){return _0x2f5335(_0x30f7f1- -0x80,_0x166490);}function _0x41dbbc(_0x1098b2,_0xb15618){return _0x2f5335(_0x1098b2-0x273,_0xb15618);}_0x504ca2[_0x41dbbc(0x612,0x57f)](_0x504ca2[_0x41dbbc(0x2f1,0x257)],_0x504ca2[_0x1b9bc6(0x173,0x29a)])?_0x4a668a[_0x41dbbc(0x55e,0x736)+_0x1b9bc6(0xbc,-0x120)](LARrnF[_0x1b9bc6(0x30b,0x1df)],_0x100236):(_0xcf29d7['close'](),_0x504ca2[_0x1b9bc6(0x11f,-0x86)](_0x51761a,!![]));}),_0xcf29d7[_0x17fdd0(0xde,0x25)+'n'](envPort,_0x504ca2['iPtHj']);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x8643f1(0x211,0x178)+envPort,_0x54d736(0xd7,0x26b)+_0x54d736(0xda,0xaa)+_0x54d736(0x2de,0x160)+_0x54d736(0x2cd,0x1e4)+_0x8643f1(-0x257,-0x235)+'\x20via\x20'+_0x54d736(0x26b,0x123)+_0x54d736(0x103,0x161)):pass('Port\x20'+envPort,_0x54d736(0xd7,0x145)+_0x54d736(0x1fe,0xf4)):serverRunning?pass('Port\x20'+envPort,_0x54d736(0x96,-0x134)+'e\x20by\x20'+_0x54d736(0x20e,0x2ed)+'k'):fail(_0x8643f1(-0x48,0x178)+envPort,_0x8643f1(-0x25d,-0x229)+'e\x20by\x20'+_0x54d736(0x9c,0x257)+_0x54d736(0x11c,0x216)+_0x8643f1(-0x2e,-0x1d2));const gatewayReachable=await new Promise(_0x4d3687=>{const _0x365494={'tKwYC':function(_0x297a16,_0x4b71b1){return _0x297a16(_0x4b71b1);},'fuBYy':'kKwcU','FMrBz':_0x2f96e1(0xba,0x1ea),'WxRWe':function(_0x463749,_0x2dae34){return _0x463749(_0x2dae34);},'FqXVD':function(_0x26a35a,_0x2a325c){return _0x26a35a(_0x2a325c);},'RROvm':function(_0x4d47f9,_0x4da9b9,_0x331477){return _0x4d47f9(_0x4da9b9,_0x331477);},'nQhxE':_0x2d2cfb(0x3f0,0x353)+_0x2f96e1(0x1a7,0x2cc)+_0x2f96e1(0xfb,-0xdc)+'rt\x20--'+_0x2f96e1(0x15d,-0x4)+'h','XHzka':_0x2f96e1(0x3f,0x119)+'it','acMYh':function(_0xec06aa,_0x514d24){return _0xec06aa===_0x514d24;},'uuAPj':_0x2d2cfb(0x5aa,0x3b1),'eDVbX':'error','oWhsq':_0x2d2cfb(0x6ef,0x7ea)+'ut','xLVWv':function(_0x5c9baf,_0x55a7f7){return _0x5c9baf!==_0x55a7f7;},'ldhMR':_0x2d2cfb(0x5db,0x7a3),'Yhziq':function(_0x336377,_0xd82e8f){return _0x336377(_0xd82e8f);}};function _0x2d2cfb(_0x194e78,_0x1a198f){return _0x54d736(_0x194e78-0x2d0,_0x1a198f);}function _0x2f96e1(_0x2c70fd,_0x291a1d){return _0x54d736(_0x2c70fd- -0x14e,_0x291a1d);}try{if(_0x365494['acMYh'](_0x2d2cfb(0x4f4,0x6e3),_0x2f96e1(0x1ed,0x98)))_0x365494[_0x2d2cfb(0x598,0x491)](_0x33b5b6,![]);else{const _0x42e846=new URL(envGatewayUrl),_0x27c796={};_0x27c796[_0x2f96e1(0x91,0x197)+_0x2f96e1(0x166,0xd)]=_0x42e846['hostn'+'ame'],_0x27c796[_0x2d2cfb(0x413,0x35a)]=_0x42e846[_0x2d2cfb(0x413,0x3ad)]||-0x131b+0x1*-0xc2f+0x1f9a,_0x27c796[_0x2f96e1(0x116,0x1b2)]='/',_0x27c796[_0x2d2cfb(0x68e,0x657)+'d']=_0x365494['uuAPj'],_0x27c796[_0x2f96e1(0x2d1,0x481)+'ut']=0x1388;const _0x183c9e=_0x497eb7[_0x2f96e1(0x1c9,0x90)+'st'](_0x27c796,_0x428d00=>{function _0x290409(_0x52d895,_0x345292){return _0x2f96e1(_0x52d895- -0x22a,_0x345292);}function _0x93b71(_0x3e4c92,_0x40c685){return _0x2f96e1(_0x40c685-0x455,_0x3e4c92);}_0x365494[_0x290409(-0x1cb,-0x17f)]!==_0x365494['FMrBz']?(_0x428d00['resum'+'e'](),_0x365494[_0x290409(-0x4f,0x2a)](_0x4d3687,!![])):(_0x2eb168['log'](_0x290409(0xa9,0x21)+_0x290409(-0xfa,-0x272)+_0x290409(-0x50,0x5c)+_0x290409(-0x8e,0x114)+_0x290409(-0x12b,-0x1fd)),_0x3dc75e[_0x290409(0xb7,0xdb)](0x1*-0x24cb+0x2c5*-0x1+0x2790));});_0x183c9e['on'](_0x365494[_0x2f96e1(0x2a8,0x289)],()=>_0x4d3687(![])),_0x183c9e['on'](_0x365494[_0x2f96e1(0x1f3,0x150)],()=>{function _0x2c2d4f(_0x57ce2e,_0x58ed60){return _0x2d2cfb(_0x57ce2e- -0x141,_0x58ed60);}_0x183c9e['destr'+'oy'](),_0x365494[_0x2c2d4f(0x433,0x37c)](_0x4d3687,![]);}),_0x183c9e[_0x2f96e1(0x25e,0x3df)]();}}catch{if(_0x365494[_0x2d2cfb(0x5a7,0x49e)](_0x365494['ldhMR'],_0x2f96e1(0x30d,0x352)))_0x365494[_0x2d2cfb(0x4e8,0x5f2)](_0x4d3687,![]);else{_0x4b7839[_0x2d2cfb(0x448,0x558)](_0x2d2cfb(0x4b2,0x5c4)+_0x2d2cfb(0x47c,0x528)+_0x2d2cfb(0x5d2,0x6bb)+_0x2d2cfb(0x565,0x6cd)+'..');try{aEecKT[_0x2f96e1(0x1e0,0x1a3)](_0x47f7df,aEecKT[_0x2f96e1(0x301,0x424)],{'stdio':aEecKT[_0x2d2cfb(0x720,0x5be)]});}catch{_0x493fcc[_0x2d2cfb(0x448,0x275)](_0x2f96e1(0xab,0x1cf)+_0x2d2cfb(0x65d,0x603)+_0x2d2cfb(0x6c1,0x797)+_0x2d2cfb(0x728,0x853)+_0x2d2cfb(0x577,0x391)+_0x2f96e1(0x255,0x1bc)+_0x2f96e1(-0x94,-0x1a7)+_0x2d2cfb(0x4f1,0x484)+_0x2d2cfb(0x468,0x305)+_0x2f96e1(0x290,0x38f)+'-chat'+_0x2d2cfb(0x703,0x5e4)+'t');}}}});gatewayReachable?pass(_0x8643f1(-0xdc,-0xbe)+_0x54d736(0x25d,0x70)+_0x54d736(0xa7,0xe0)+'le',envGatewayUrl):fail(_0x54d736(0x201,0x206)+_0x54d736(0x25d,0x75)+_0x54d736(0xa7,-0xc2)+'le','canno'+_0x54d736(0x13e,0x238)+_0x54d736(0x46c,0x5b3)+envGatewayUrl);existsSync(join(ROOT,'node_'+_0x8643f1(0x1c7,0xda)+'es'))?pass(_0x54d736(0x19d,0xec)+'denci'+_0x54d736(0x261,0x296)+'stall'+'ed',_0x54d736(0x89,0x204)+_0x8643f1(-0x3e,0xda)+_0x54d736(0x357,0x470)+_0x8643f1(-0x2,-0xf7)):fail(_0x8643f1(-0xfe,-0x122)+_0x8643f1(0x25c,0x18f)+_0x54d736(0x261,0x368)+'stall'+'ed',_0x8643f1(-0x100,-0x236)+'modul'+_0x8643f1(-0xdf,0x67)+_0x8643f1(-0x94,-0x170)+_0x8643f1(0x2a6,0xf6)+_0x54d736(0x1ff,0x176)+_0x54d736(0x1c1,0x34f)+'all');if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x54d736(0x195,0x79)),pass(_0x54d736(0x34c,0x279)+'file',_0x8643f1(0x140,0xc7)+'s\x20and'+'\x20read'+'able');}catch{fail(_0x8643f1(0x284,0x8d)+_0x8643f1(0x242,0x17d),_0x8643f1(0x5a,0xc7)+_0x54d736(0x461,0x587)+_0x54d736(0xc1,0x11f)+_0x54d736(0x3f4,0x45b)+_0x54d736(0x3ea,0x2a6));}else fail('.env\x20'+_0x54d736(0x43c,0x359),'not\x20f'+_0x8643f1(-0x3,-0xb3)+_0x8643f1(0x18d,0x13b)+_0x8643f1(-0x302,-0x1ee)+'ink-c'+_0x8643f1(0x2af,0x11e)+_0x8643f1(-0x14d,-0x22f)+_0x8643f1(-0x2d0,-0x1f5)+'it');envGatewayToken&&envGatewayToken!=='your_'+'token'+_0x54d736(0x229,0x2d6)?pass(_0x54d736(0x201,0x208)+_0x54d736(0x2be,0x3fa)+_0x54d736(0x40e,0x4ad),'confi'+_0x54d736(0x3bf,0x4f0)):fail('Gatew'+_0x8643f1(0x15,-0x1)+'ken',_0x54d736(0x3f9,0x23f)+_0x8643f1(-0x287,-0x1c6)+_0x54d736(0x1e0,0x2cd));if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers[_0x8643f1(0x129,-0x6a)]('OpenA'+'I');if(envElevenLabsKey)providers[_0x8643f1(-0x89,-0x6a)]('Eleve'+_0x54d736(0xab,0x2a2));pass(_0x8643f1(-0x1d2,-0x69)+_0x54d736(0x441,0x515)+'ys',providers[_0x8643f1(-0x22b,-0x1ba)](',\x20')+(_0x54d736(0x3d2,0x503)+_0x54d736(0x123,0x13e)+'d'));}else warn('TTS\x20A'+_0x8643f1(-0x6a,0x182)+'ys',_0x8643f1(-0x208,-0x7c)+_0x54d736(0x122,0x153)+'or\x20El'+_0x8643f1(0x9,-0x191)+_0x8643f1(-0x86,-0x1c3)+_0x8643f1(-0x74,-0xa2)+_0x54d736(0x110,0x281)+_0x8643f1(-0xbd,0xf0)+_0x8643f1(0x142,0xcd)+_0x54d736(0x305,0x145)+'o\x20Edg'+'e\x20TTS');try{const freeBytes=((()=>{const _0x1afe88={'qpDTh':function(_0x53b2b8,_0x5c2033,_0x51cc62){return _0x53b2b8(_0x5c2033,_0x51cc62);},'ynBOq':_0x4abd12(0x33d,0x1d5)+_0x3745ec(0xf5,0x1f3)+'id','iWfQG':_0x4abd12(0x138,0x209)+'e','eNqnA':function(_0x89482c,_0x248330,_0x2ea579,_0x39792f){return _0x89482c(_0x248330,_0x2ea579,_0x39792f);},'zSFLV':_0x4abd12(0x2d0,0x424)+'d','OFoHP':_0x3745ec(-0x19e,-0x81)+'k','GFJRj':function(_0x86694f,_0x41d1dc){return _0x86694f===_0x41d1dc;},'lPjdk':function(_0x32e334,_0xad7d8c,_0x18098b){return _0x32e334(_0xad7d8c,_0x18098b);},'MzrkX':function(_0x3053b2,_0x456a4e){return _0x3053b2+_0x456a4e;},'ZNBbY':function(_0x213884,_0x599153){return _0x213884+_0x599153;},'WxvET':'wmic\x20'+_0x4abd12(0x43b,0x34c)+_0x3745ec(-0xe1,0x83)+_0x3745ec(0xb9,0xb5)+_0x3745ec(0x6e,-0x94)+_0x3745ec(0x291,0x1a0)+_0x3745ec(0x13f,0x1c9),'PUaWF':_0x3745ec(0x3b5,0x241)+_0x3745ec(-0xd,0x1d5)+_0x4abd12(0x1dd,0x332)+_0x4abd12(0x10f,0x151)+_0x4abd12(0x134,0xde),'oMivG':_0x3745ec(0x1ee,0x58),'GJkcx':function(_0x38c285,_0x28d771,_0x25f2b7){return _0x38c285(_0x28d771,_0x25f2b7);},'mJGun':function(_0x5c30cd,_0x2a93da){return _0x5c30cd!==_0x2a93da;},'BugDC':_0x4abd12(0x3b8,0x2c3)};function _0x4abd12(_0x103951,_0x290762){return _0x54d736(_0x103951- -0xc,_0x290762);}function _0x3745ec(_0x469719,_0x42d1bd){return _0x54d736(_0x42d1bd- -0x13d,_0x469719);}if(process['platf'+_0x3745ec(-0x98,0x11f)]==='win32'){if(_0x1afe88[_0x4abd12(0xd5,0x197)](_0x3745ec(-0x1dd,-0x51),_0x3745ec(-0x17,-0x51))){const _0x3d55ce=_0x1afe88['lPjdk'](execSync,_0x1afe88['MzrkX'](_0x1afe88[_0x3745ec(0x36,0x200)](_0x1afe88[_0x3745ec(-0x5a,0x117)],ROOT[_0x4abd12(0x31f,0x4f6)+'t'](0x868+0x13d9+-0x1c41)),_0x1afe88['PUaWF']),{'encoding':_0x1afe88[_0x3745ec(-0xaf,0xee)]}),_0x23faba=_0x3d55ce['match'](/FreeSpace=(\d+)/);return _0x23faba?_0x1afe88[_0x4abd12(0x332,0x307)](parseInt,_0x23faba[-0x687+-0x189e+-0x6*-0x531],-0x12d1+0x380+0xf5b*0x1):null;}else _0x1b17a3['log'](_0x4abd12(0xde,-0xe7)+_0x3745ec(-0x8c,0x134)+_0x3745ec(-0x186,-0xb7)+_0x4f5f96+_0x4abd12(0x3ae,0x28d)+(_0x31b1a7>0x8f*0x3d+0x4dc+-0x26ee?'s':'')+(_0x3745ec(0x13b,0xea)+'sh\x20st'+'art!'));}else{if(_0x1afe88['mJGun'](_0x1afe88[_0x3745ec(0x20b,0x284)],_0x4abd12(0x449,0x473))){const _0xfd811b=_0x1afe88[_0x3745ec(0xd8,0x201)](execSync,_0x4abd12(0x1cd,0x3c2)+'\x20\x22'+ROOT+(_0x4abd12(0x37e,0x4cf)+'ail\x20-'+'1'),{'encoding':_0x1afe88['oMivG']}),_0x4c89fb=_0xfd811b[_0x3745ec(-0x68,0x100)]()[_0x3745ec(-0xe2,-0x6)](/\s+/);return _0x1afe88[_0x4abd12(0x375,0x29f)](parseInt,_0x4c89fb[0xaff*0x2+0xa*-0x13+-0x153d],-0x619+0x414+0x20f)*(0x2*-0x1353+-0x191*-0xe+0x14b8);}else{_0x1afe88[_0x4abd12(0x375,0x20f)](_0x30744a,_0x1afe88[_0x3745ec(0x2f1,0x31d)],{'stdio':_0x1afe88[_0x3745ec(-0xee,-0x9c)]});const _0x25bd2c={};_0x25bd2c[_0x3745ec(0x8,0x1f)]=_0xe70be1,_0x25bd2c[_0x3745ec(-0x7,0x1aa)]=_0x4db9e4,_0x25bd2c['detac'+'hed']=!![],_0x25bd2c[_0x4abd12(0x343,0x162)]=_0x4abd12(0x138,0x307)+'e',_0x455ae8=_0x1afe88[_0x4abd12(0x25e,0x23e)](_0x18a83c,_0x1afe88[_0x3745ec(-0x13c,0x64)],[_0x1afe88[_0x4abd12(0xb9,0x13e)],_0x5db3c7['execP'+_0x3745ec(0x15d,0x72)],_0x35334b,_0x33db8f[_0x3745ec(-0x159,-0xc1)+_0x3745ec(0x22b,0x69)](_0x3de710)],_0x25bd2c);}}})());if(freeBytes!==null){const freeMB=Math[_0x54d736(0x415,0x5d5)](freeBytes/((0x5ac+0x34e*-0xa+0x10*0x1f6)*(0x1*-0x1338+0x2f*0x6b+0x5*0xb7)));freeMB>=-0x895*-0x2+-0x6c5*0x1+0x1*-0x871?pass(_0x54d736(0x303,0x127)+_0x54d736(0x150,0x19e),freeMB+('\x20MB\x20f'+'ree')):warn(_0x8643f1(-0x9c,0x44)+_0x8643f1(-0x19a,-0x16f),freeMB+(_0x54d736(0x313,0x226)+_0x8643f1(-0xcd,-0xeb)+_0x8643f1(-0x20a,-0x1b4)+_0x54d736(0x439,0x460)+'\x20500\x20'+'MB'));}}catch{warn(_0x8643f1(0x1ef,0x44)+_0x54d736(0x150,-0x1e),_0x8643f1(0xc,-0xef)+_0x8643f1(-0xab,-0x1fe)+_0x8643f1(-0xaf,-0x70)+_0x8643f1(-0x394,-0x22c)+'free\x20'+_0x54d736(0x320,0x23c)+_0x8643f1(-0x210,-0x16f));}const _0x136c9a={};_0x136c9a['pass']=_0x8643f1(0x138,-0x95)+'✓\x1b[0m',_0x136c9a[_0x54d736(0x3c3,0x251)]=_0x54d736(0x28f,0x418)+_0x8643f1(0xcd,0x76),_0x136c9a[_0x8643f1(-0xdb,-0x1df)]=_0x54d736(0x8b,-0x95)+'!\x1b[0m';const icons=_0x136c9a;for(const r of results){console[_0x8643f1(-0x15e,-0x147)]('\x20\x20'+icons[r[_0x8643f1(0x11c,0xea)+'s']]+'\x20'+r['label']+':\x20'+r[_0x54d736(0x200,0x75)+'l']);}const passes=results[_0x54d736(0x1a0,0x37d)+'r'](_0x2b74b7=>_0x2b74b7[_0x8643f1(0x1e4,0xea)+'s']===_0x54d736(0xbf,0x96))['lengt'+'h'],fails=results['filte'+'r'](_0x2c8e9a=>_0x2c8e9a[_0x54d736(0x3a9,0x40c)+'s']===_0x8643f1(-0xc8,0x104))['lengt'+'h'],warns=results[_0x8643f1(-0x9b,-0x11f)+'r'](_0x153173=>_0x153173[_0x8643f1(0x2a9,0xea)+'s']===_0x8643f1(-0x114,-0x1df))[_0x8643f1(0x13,0x130)+'h'];console['log'](''),fails===-0x255a+-0x1d64+-0x2*-0x215f?console[_0x54d736(0x178,0x1f5)](_0x8643f1(0x69,-0x1e)+_0x54d736(0x165,0x2cc)+passes+(_0x8643f1(-0x140,-0xcc)+_0x8643f1(-0x76,0x121)+_0x54d736(0x403,0x5a1))+(warns?'\x20('+warns+(_0x54d736(0xf5,-0x74)+_0x54d736(0x31f,0x329))+(warns>0xc4d+-0x13b8*-0x1+-0x4*0x801?'s':'')+')':'')+'.'):console[_0x8643f1(0x6c,-0x147)]('\x20\x20⬡\x20'+passes+(_0x54d736(0x119,-0xa6)+_0x54d736(0x3da,0x3ba))+fails+('\x20fail'+'ed')+(warns?',\x20'+warns+(_0x8643f1(-0xc7,-0x1ca)+'ing')+(warns>-0x2ea*0x4+0x113c+-0x1*0x593?'s':''):'')+'.'),console[_0x8643f1(-0x27a,-0x147)](''),process['exit'](fails>0x1ff7+0xb*0x312+-0x1*0x41bd?-0x2561*0x1+0x164*0x8+-0x1a42*-0x1:0xff0+0x17ca+-0x1e*0x153);}function _0x54d736(_0x115b86,_0x36e0d4){return _0x1d2a(_0x115b86- -0x10,_0x36e0d4);}if(command===_0x54d736(0x2e5,0x1a2)){const {rmSync}=await import('fs');console[_0x8643f1(0x5f,-0x147)]('\x0a\x20\x20⬡\x20'+_0x8643f1(-0x132,-0xb1)+_0x8643f1(0x203,0x87)+'et\x0a'),console[_0x54d736(0x178,0x2bc)](_0x54d736(0x432,0x398)+_0x8643f1(-0x159,0x7d)+_0x8643f1(0x305,0x125)+'ar:'),console[_0x8643f1(-0x223,-0x147)](_0x8643f1(-0x9d,0x33)+_0x8643f1(-0xd3,-0x2d)+_0x54d736(0xf0,-0x46)+'ory\x20a'+_0x54d736(0x22f,0x1a9)+_0x8643f1(-0x36a,-0x1bd)+_0x54d736(0x16c,0x281)+_0x54d736(0x44d,0x444)),console['log']('\x20\x20\x20\x20•'+'\x20Uplo'+'aded\x20'+_0x8643f1(-0x8e,0xd2)+_0x8643f1(-0xf2,-0x1cb)+_0x54d736(0x2ee,0x113)+_0x8643f1(-0x5a,-0x10a)+'e'),console[_0x8643f1(-0x17a,-0x147)]('\x20\x20\x20\x20•'+_0x8643f1(-0xc6,-0x7f)+'ed\x20me'+'ssage'+'s\x20que'+'ue'),console[_0x54d736(0x178,0x2fe)](_0x8643f1(0x1c9,0x33)+_0x8643f1(-0x5f,0x1)+'\x20subs'+'cript'+_0x8643f1(-0x191,-0xd4)+_0x8643f1(-0x6e,0x184)+_0x8643f1(0x149,0x116)+_0x8643f1(-0x27b,-0x15c)+'ta'),console[_0x8643f1(-0x157,-0x147)](''),console['log'](_0x8643f1(0x35a,0x173)+'s\x20wil'+_0x8643f1(0x115,0x128)+_0x8643f1(0x107,0x11a)+'r:'),console[_0x8643f1(-0x72,-0x147)](_0x8643f1(-0x83,0x33)+_0x54d736(0x1e0,0x268)+_0x54d736(0x3d2,0x5ae)+_0x8643f1(-0x56,0xca)+'tion'),console['log'](_0x54d736(0x2f2,0xfd)+_0x54d736(0x392,0x280)+_0x54d736(0x238,0x3c4)+'les'),console[_0x8643f1(0x92,-0x147)](_0x8643f1(0x7b,0x33)+_0x8643f1(-0xfe,-0x237)+'serve'+'r\x20its'+_0x8643f1(-0xfc,-0x115));if(!flags['force']){const readline=await import(_0x8643f1(0x16e,-0x23)+'ine'),_0x46d967={};_0x46d967['input']=process[_0x8643f1(-0x232,-0xae)],_0x46d967[_0x8643f1(-0x141,0x81)+'t']=process[_0x8643f1(0x4d,-0x39)+'t'];const rl=readline[_0x8643f1(0x1c2,0x13c)+_0x8643f1(-0x49,-0x14a)+_0x8643f1(-0x39f,-0x1d7)](_0x46d967),answer=await new Promise(_0x910ada=>{const _0x4d8e9d={};function _0x28d3d7(_0xb6d7c4,_0x420e72){return _0x54d736(_0x420e72-0x276,_0xb6d7c4);}_0x4d8e9d[_0x1acf10(0x63d,0x458)]=_0x28d3d7(0x6a5,0x6dd)+'e\x20\x22re'+_0x28d3d7(0x62e,0x5eb)+'to\x20co'+'nfirm'+':\x20';const _0xd10c61=_0x4d8e9d;function _0x1acf10(_0x23b0ed,_0x532362){return _0x54d736(_0x532362-0x26b,_0x23b0ed);}rl[_0x1acf10(0x596,0x5df)+_0x28d3d7(0x3d2,0x43b)](_0xd10c61[_0x1acf10(0x648,0x458)],_0x910ada);});rl[_0x54d736(0x3c5,0x3fc)](),answer[_0x54d736(0x23d,0xc6)]()[_0x8643f1(-0x15d,-0xbb)+_0x8643f1(-0x2bc,-0xc2)+'e']()!=='reset'&&(console[_0x54d736(0x178,0x2eb)]('\x0a\x20\x20Ca'+_0x54d736(0x219,0x3e8)+'ed.\x20N'+_0x54d736(0x3c6,0x2e4)+_0x8643f1(0x117,-0x40)+_0x54d736(0x15d,0x345)+'ved.\x0a'),process[_0x54d736(0x42f,0x463)](0x2656+-0x3*0xf7+-0x2371)),console[_0x54d736(0x178,0x21e)]('');}const dataResets=[_0x54d736(0x26f,0x2c7)+_0x54d736(0x39d,0x1e8)+_0x54d736(0x2a9,0x145)+_0x8643f1(-0x241,-0x213),_0x8643f1(-0x261,-0x12f)+'ity.j'+_0x8643f1(-0x286,-0x213),'sync-'+_0x54d736(0x411,0x34b),_0x8643f1(0x303,0x15a)+_0x54d736(0x20a,0x3db)+'versa'+_0x8643f1(-0x2d0,-0x173),_0x54d736(0x32d,0x43e)+'ds',_0x54d736(0xf2,0x1ee),'.migr'+'ated'],rootResets=[_0x54d736(0x26f,0xab)+'ges-s'+'ync.j'+'son',_0x54d736(0x190,0x293)+'ity.j'+_0x54d736(0xac,0x1fc),_0x54d736(0x40d,0x238)+_0x54d736(0x411,0x349),_0x8643f1(0x196,0x15a)+'d-con'+_0x8643f1(-0xaa,-0x5c)+_0x54d736(0x14c,0x12a),_0x8643f1(0x14e,0x6e)+'ds',_0x8643f1(-0x115,-0x7)+'c/aud'+'io',_0x8643f1(-0x381,-0x1ac)+'d-mes'+_0x54d736(0x41b,0x4be)+_0x8643f1(-0x413,-0x225),_0x54d736(0x91,-0x140)+'subsc'+'ripti'+_0x54d736(0x285,0x15a)+_0x54d736(0xac,0x11b),_0x54d736(0x1f0,0x1d3)+_0x54d736(0x23b,0xcd),_0x8643f1(-0x2a9,-0xd9)+_0x8643f1(-0x1c,0x70)+'rver.'+_0x8643f1(-0x206,-0x147),_0x8643f1(-0x102,-0xd9)+'nk-wa'+'tchdo'+_0x8643f1(0x28a,0x189)];let cleared=-0x1bff+0x2*-0x1333+0x4265;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x1cf93a={};_0x1cf93a['recur'+_0x8643f1(0xe0,0x5)]=!![],_0x1cf93a[_0x54d736(0x84,0xee)]=!![],rmSync(fullPath,_0x1cf93a),cleared++,console['log'](_0x54d736(0x7e,0x175)+_0x54d736(0x13b,0x9f)+'d\x20DAT'+_0x54d736(0x358,0x4d3)+'/'+item);}catch(_0x795f08){console[_0x8643f1(-0xf0,0x55)](_0x54d736(0x324,0x342)+_0x54d736(0x409,0x369)+_0x8643f1(0x59,0x161)+_0x8643f1(-0x2c3,-0x184)+_0x8643f1(-0x1da,-0x106)+_0x8643f1(0x7f,-0xd8)+item+':\x20'+_0x795f08[_0x8643f1(0x176,-0x50)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x5a010e={};_0x5a010e[_0x8643f1(-0x1a3,-0x16e)+_0x8643f1(-0x16,0x5)]=!![],_0x5a010e[_0x8643f1(-0x17d,-0x23b)]=!![],rmSync(fullPath,_0x5a010e),cleared++,console[_0x8643f1(0x3c,-0x147)]('\x20\x20✓\x20R'+_0x54d736(0x13b,0x315)+'d\x20'+item);}catch(_0xa41b7c){console[_0x54d736(0x314,0x3c0)](_0x54d736(0x324,0x14d)+_0x54d736(0x409,0x303)+_0x54d736(0x420,0x560)+'emove'+'\x20'+item+':\x20'+_0xa41b7c['messa'+'ge']);}}cleared===-0x180c+0xa82+0x2*0x6c5?console['log'](_0x54d736(0x11f,-0x67)+_0x54d736(0x237,0x1ba)+_0x54d736(0x347,0x255)+_0x54d736(0x155,0x281)+_0x8643f1(-0xe1,0xa3)+_0x8643f1(-0x33a,-0x196)+'lean.'):console[_0x54d736(0x178,0x1e1)](_0x8643f1(0x8,-0x1d5)+'Clear'+_0x8643f1(-0xe3,-0x239)+cleared+_0x8643f1(0xd7,0xfb)+(cleared>-0x5*-0x436+-0x17fa+0x7*0x6b?'s':'')+(_0x54d736(0x227,0x1db)+_0x54d736(0x336,0x42b)+_0x8643f1(0x147,-0x4c))),console[_0x54d736(0x178,-0x1d)](''),process[_0x8643f1(0x2f1,0x170)](-0x2187*-0x1+0x2495+-0x461c);}if(command===_0x8643f1(0x5e,0x1ab)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x8643f1(0x47,0xb3)+'on')),ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,'.env'):join(ROOT,_0x54d736(0xc2,0x5f));let envPort=_0x8643f1(0x15b,0x10c),envHost=_0x54d736(0x463,0x39b)+'.0',envGatewayUrl='http:'+_0x8643f1(0x84,0x16f)+_0x54d736(0x28b,0x33a)+_0x8643f1(-0x214,-0xe8)+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x54d736(0x195,0x340));for(const line of content[_0x54d736(0x137,0x5)]('\x0a')){const t=line[_0x8643f1(0x94,-0x82)]();if(!t||t[_0x8643f1(0x224,0x168)+_0x54d736(0x1ce,-0x1b)]('#'))continue;const eqIdx=t['index'+'Of']('=');if(eqIdx===-(-0x5e4+-0xdf*-0x4+0x1*0x269))continue;const k=t[_0x8643f1(0x18e,0xec)](-0x1902+0x8*-0x283+0x2d1a,eqIdx)['trim'](),v=t[_0x54d736(0x3ab,0x543)](eqIdx+(-0x106+-0x18c2+-0x11f*-0x17))[_0x8643f1(-0x62,-0x82)]();if(k==='PORT')envPort=v||_0x54d736(0x3cb,0x3a0);if(k===_0x54d736(0x214,0x393)+_0x8643f1(-0x137,0x21)+'T'||k===_0x8643f1(-0x6a,-0x7d))envHost=v||'0.0.0'+'.0';if(k===_0x8643f1(0x3,-0x9d)+_0x8643f1(-0x184,-0xf4)+'L')envGatewayUrl=v;if(k==='GATEW'+_0x8643f1(-0x1eb,-0x1c2)+_0x8643f1(0x21f,0x5d))envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?_0x8643f1(-0x1d7,-0x95)+'runni'+_0x54d736(0x3b4,0x579)+_0x54d736(0x259,0x1bd)+'D\x20'+(watchdogPid||serverPid)+')':_0x8643f1(0x10b,-0x30)+_0x54d736(0x361,0x245)+_0x54d736(0x98,-0x102)+'m',gwReachable=await new Promise(_0x3167f7=>{function _0x5e2f36(_0x1eb6cb,_0x382e38){return _0x8643f1(_0x1eb6cb,_0x382e38-0x56);}const _0x1c4cb7={'hqZOi':function(_0x38ba9c,_0x236331,_0x16597a){return _0x38ba9c(_0x236331,_0x16597a);},'UuHjZ':function(_0x1ebd32,_0x2e007e){return _0x1ebd32===_0x2e007e;},'CmttC':_0x5e2f36(-0x14f,-0xc0),'shIhQ':function(_0x30ab97,_0x41305b){return _0x30ab97(_0x41305b);},'DEYXa':'GET'};function _0xc35ddc(_0x34f4f7,_0x4e1f93){return _0x8643f1(_0x4e1f93,_0x34f4f7-0x31a);}try{const _0x14c057=new URL(envGatewayUrl),_0x133d19={};_0x133d19[_0x5e2f36(0xd3,-0x8a)+'ame']=_0x14c057[_0x5e2f36(0xe0,-0x8a)+'ame'],_0x133d19[_0xc35ddc(0x19e,0x2bd)]=_0x14c057[_0x5e2f36(-0xc7,-0x126)]||0x5*-0x527+-0x12ea+0x2cfd,_0x133d19['path']='/',_0x133d19['metho'+'d']=_0x1c4cb7[_0xc35ddc(0x324,0x28c)],_0x133d19['timeo'+'ut']=0xbb8;const _0x15c6ad=_0x497eb7[_0xc35ddc(0x372,0x27b)+'st'](_0x133d19,_0x3d92df=>{function _0x12c109(_0x3e7971,_0x4cdfce){return _0x5e2f36(_0x4cdfce,_0x3e7971- -0xf7);}function _0x134f74(_0x18a5fe,_0x320031){return _0x5e2f36(_0x18a5fe,_0x320031-0x567);}const _0x201f55={'pAxem':function(_0x19e38e,_0x23e58b,_0x141a3f){return _0x1c4cb7['hqZOi'](_0x19e38e,_0x23e58b,_0x141a3f);}};if(_0x1c4cb7['UuHjZ'](_0x1c4cb7['CmttC'],_0x134f74(0x527,0x4a7)))_0x3d92df['resum'+'e'](),_0x3167f7(!![]);else{const _0x1fbe50={};_0x1fbe50[_0x134f74(0x349,0x44f)+_0x12c109(-0x9c,-0x39)]=!![],_0x1fbe50[_0x134f74(0x353,0x382)]=!![],qrKlOU[_0x134f74(0x49f,0x62a)](_0x4bdd46,_0x50afe6,_0x1fbe50),_0x516c24++,_0x117581[_0x12c109(-0x1e8,-0x2e)]('\x20\x20✓\x20R'+_0x12c109(-0x225,-0x99)+'d\x20'+_0x51fd5f);}});_0x15c6ad['on'](_0xc35ddc(0x36f,0x1ae),()=>_0x3167f7(![])),_0x15c6ad['on'](_0x5e2f36(0xfa,0x1b6)+'ut',()=>{function _0x130336(_0x342615,_0x46ae37){return _0x5e2f36(_0x46ae37,_0x342615-0x23c);}_0x15c6ad[_0x130336(0x6c,-0x8d)+'oy'](),_0x1c4cb7['shIhQ'](_0x3167f7,![]);}),_0x15c6ad[_0x5e2f36(0x158,0x143)]();}catch{_0x3167f7(![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x54d736(0x3f0,0x2e8)+_0x8643f1(-0x191,-0x201)+_0x8643f1(0x2ba,0x171)+_0x8643f1(-0x7e,-0x42)+'m'):envGatewayUrl+('\x20\x1b[31'+'m(unr'+_0x8643f1(-0x29f,-0xbd)+_0x8643f1(-0x2db,-0x159)+_0x54d736(0x384,0x39d)),LOG_FILE=join(ROOT,_0x54d736(0x1f0,0x3b6)+_0x8643f1(0x10a,-0x84)),ALT_LOG_FILE=join(ROOT,'.upli'+_0x54d736(0x32f,0x4c8)+_0x54d736(0x1f5,0x158)+_0x54d736(0x178,0x2a5)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x54d736(0x251,0xbf)+')',premiumFile=join(ROOT,_0x54d736(0x1f0,0x1ab)+'r',_0x54d736(0xbb,0xcd)+'um');let premiumStatus=_0x54d736(0x139,0x198)+_0x54d736(0xa0,-0xd8)+'ed';existsSync(premiumFile)&&(premiumStatus='insta'+'lled');const configFile=join(ROOT,_0x8643f1(-0xe2,0x9e)+_0x8643f1(-0x184,-0x23f)+'n');if(existsSync(configFile))try{const cfg=JSON[_0x8643f1(-0x4a,-0x22)](readFileSync(configFile,_0x8643f1(-0x1e2,-0x12a)));if(cfg[_0x8643f1(-0x1f7,-0x204)+'um']||cfg[_0x54d736(0xbb,-0x123)+'umKey'])premiumStatus=_0x54d736(0x190,0x125)+'e';}catch{}console[_0x54d736(0x178,0x11d)]('\x0a\x20\x20⬡\x20'+_0x54d736(0x20e,0x2d1)+_0x54d736(0x3a5,0x1dd)+'o\x0a\x0a\x20\x20'+_0x8643f1(-0x1b,0x10f)+_0x54d736(0x25a,0x30b)+_0x54d736(0x37f,0x536)+pkg['versi'+'on']+(_0x54d736(0x189,0x303)+_0x8643f1(-0x148,-0x1fc)+_0x54d736(0xa2,0x18c)+_0x8643f1(-0x21c,-0x86))+process[_0x8643f1(-0x98,-0x130)+_0x8643f1(-0xe5,-0x1b2)][_0x8643f1(0x16f,-0x3f)]+('\x0a\x20\x20Po'+'rt:\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20')+envPort+('\x0a\x20\x20Ho'+_0x54d736(0x1ea,0x1e7)+_0x54d736(0x1c3,-0x1e)+'\x20\x20')+envHost+(_0x54d736(0x3e2,0x5a3)+_0x8643f1(0x28,-0xa9)+_0x8643f1(-0x123,-0xfc)+'\x20\x20')+serverStatus+('\x0a\x20\x20Ga'+_0x8643f1(0xac,0x96)+_0x54d736(0xa2,0x147)+'\x20\x20')+gwStatus+(_0x54d736(0xe5,0x2b7)+_0x54d736(0x2f4,0x1a1)+'r:\x20\x20\x20'+'\x20\x20')+DATA_DIR+(_0x8643f1(-0x81,-0x238)+'g\x20fil'+_0x54d736(0x462,0x640)+'\x20\x20')+logFile+(_0x8643f1(-0x39e,-0x20f)+'emium'+_0x54d736(0xa2,0x124)+'\x20\x20')+premiumStatus+('\x0a\x20\x20In'+_0x54d736(0x460,0x2f4)+_0x54d736(0x401,0x477)+'\x20\x20')+ROOT+_0x8643f1(-0x59,-0x1a1)),process['exit'](-0x2106*0x1+0x1595*-0x1+-0x7cd*-0x7);}const ALL_COMMANDS=[_0x54d736(0x459,0x391),_0x54d736(0x3a9,0x3d7)+'s','updat'+'e',_0x8643f1(0x210,0x154)+_0x8643f1(0x6e,0xfd),_0x8643f1(-0x145,-0x131),_0x8643f1(0x283,0x9e)+'g','docto'+'r','reset',_0x8643f1(0x2b9,0x1ab)];if(command===_0x8643f1(-0x81,0x168)||!ALL_COMMANDS['inclu'+'des'](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x8643f1(0x9b,0x153)+_0x54d736(0x20d,0x1e):_0x8643f1(-0xb6,0x10d)+'t';console[_0x8643f1(-0x157,-0x147)]('⬡\x20Upl'+_0x8643f1(-0x6a,-0x41)+_0x54d736(0x248,0x110)+_0x54d736(0x2ae,0x400)+_0x54d736(0x124,0x3)+_0x8643f1(-0x2c0,-0x13f)+mode+(_0x8643f1(0xec,-0xaf)+'\x20')+pid+').'),console['log'](_0x54d736(0x2d9,0x2fa)+_0x54d736(0x272,0x412)+_0x54d736(0x1a7,0x1e7)+':\x20upl'+_0x54d736(0x30f,0x1e6)+_0x8643f1(0x16f,-0x4f)+_0x8643f1(-0x1d3,-0x114)),process[_0x8643f1(0x2d4,0x170)](0x1*-0xdd9+-0x229d+0x3077);}const env={...process.env};if(flags[_0x54d736(0x143,0x317)])env['PORT']=String(flags[_0x54d736(0x143,0xa7)]);if(flags['host'])env[_0x54d736(0x214,0x3b)+_0x8643f1(0xce,0x21)+'T']=flags[_0x54d736(0x14d,-0x19)];const serverPath=join(ROOT,_0x54d736(0x1f0,0x2ee)+_0x54d736(0x181,0x290));if(flags[_0x8643f1(-0x64,-0x14)+'h']){const watchdogPath=join(ROOT,_0x8643f1(-0x2c8,-0xcf)+'r',_0x54d736(0x412,0x432)+'dog.j'+'s'),extraEnv={};if(flags[_0x54d736(0x143,-0x43)])extraEnv[_0x54d736(0x290,0x151)]=String(flags['port']);if(flags[_0x8643f1(0x50,-0x172)])extraEnv[_0x8643f1(-0xae,-0xab)+_0x8643f1(0x93,0x21)+'T']=flags[_0x8643f1(0x54,-0x172)];const isLinux=process[_0x54d736(0x24c,0x153)+_0x54d736(0x25c,0x1cb)]==='linux';let child;if(isLinux)try{const _0x5e2b04={};_0x5e2b04[_0x54d736(0x34f,0x482)]=_0x54d736(0x144,-0x95)+'e',execSync(_0x8643f1(-0xb1,0x8a)+_0x54d736(0x330,0x47e)+'id',_0x5e2b04);const _0x40a72b={};_0x40a72b[_0x8643f1(-0x19,-0x163)]=ROOT,_0x40a72b['env']=env,_0x40a72b[_0x8643f1(0x5c,-0x14)+_0x54d736(0x2ec,0x3fd)]=!![],_0x40a72b[_0x8643f1(0x282,0x90)]=_0x8643f1(-0x368,-0x17b)+'e',child=spawn(_0x54d736(0x2dc,0x347)+'d',[_0x54d736(0xbc,-0x10f)+'k',process[_0x54d736(0x7f,0x277)+'ath'],watchdogPath,JSON[_0x8643f1(-0x18f,-0x243)+_0x54d736(0x1a6,0x29e)](extraEnv)],_0x40a72b);}catch{const _0x3d4eab={};_0x3d4eab[_0x54d736(0x15c,0x2f8)]=ROOT,_0x3d4eab['env']=env,_0x3d4eab['detac'+_0x54d736(0x2ec,0x3e9)]=!![],_0x3d4eab[_0x54d736(0x34f,0x3d3)]=_0x54d736(0x144,0xa2)+'e',child=spawn(process[_0x54d736(0x7f,-0x16e)+_0x8643f1(-0x306,-0x110)],[watchdogPath,JSON['strin'+_0x54d736(0x1a6,0x3e)](extraEnv)],_0x3d4eab);}else{const _0x8f39af={};_0x8f39af[_0x54d736(0x15c,0x109)]=ROOT,_0x8f39af[_0x54d736(0x2e7,0x26a)]=env,_0x8f39af[_0x8643f1(0x29,-0x14)+_0x54d736(0x2ec,0x2ca)]=!![],_0x8f39af[_0x8643f1(0x202,0x90)]='ignor'+'e',child=spawn(process['execP'+'ath'],[watchdogPath,JSON['strin'+_0x8643f1(0xc2,-0x119)](extraEnv)],_0x8f39af);}child['unref']();const port=flags[_0x8643f1(-0x191,-0x17c)]||env[_0x8643f1(-0x4a,-0x2f)]||0x3*0x1e2+-0xf4*-0x10+-0x766;console['log']('⬡\x20Upl'+_0x8643f1(-0x6,-0xc3)+'tarte'+_0x54d736(0x186,0x11c)+_0x8643f1(-0xc7,-0x18b)+'round'+_0x54d736(0x435,0x399)+_0x54d736(0x1c4,0x154)+_0x8643f1(-0x3e,-0x1e2)+_0x8643f1(-0x2a2,-0x1d4)+child[_0x54d736(0x353,0x1b4)]+').'),console[_0x8643f1(-0x2c0,-0x147)]('\x20\x20→\x20h'+_0x8643f1(-0x3c9,-0x209)+'/loca'+_0x54d736(0x26d,0x3f4)+':'+port),console[_0x54d736(0x178,0x2c5)](_0x8643f1(-0x14d,-0x109)+_0x8643f1(-0x17,0xce)+_0x54d736(0x383,0x21c)+_0x54d736(0x457,0x5f8)+'rash.'+_0x8643f1(-0xcc,-0x124)+_0x8643f1(0xe5,0x176)+_0x54d736(0xd1,0x293)+'ink-c'+_0x54d736(0x270,0x35e)+_0x54d736(0x1ab,0x2ec)),process[_0x8643f1(0x1f9,0x170)](-0x3*-0x68f+-0x269*-0x1+-0x1616);}else{if(flags[_0x8643f1(-0xee,-0x1cc)+_0x54d736(0x95,0x210)]){const _0x4351e8={};_0x4351e8['cwd']=ROOT,_0x4351e8['env']=env,_0x4351e8[_0x54d736(0x34f,0x434)]=_0x8643f1(-0x55,-0x132)+'it';const child=spawn(process['execP'+_0x54d736(0x1af,-0x36)],[serverPath],_0x4351e8);writeFileSync(PID_FILE,String(child[_0x54d736(0x353,0x304)]));const cleanup=()=>{function _0x190be(_0x334e18,_0x59bae9){return _0x8643f1(_0x59bae9,_0x334e18-0x385);}function _0x52391f(_0x150a04,_0x13d152){return _0x8643f1(_0x13d152,_0x150a04- -0x59);}const _0x3ffc52={'mzQfM':function(_0x467e35,_0x2aac2c,_0x4f1555){return _0x467e35(_0x2aac2c,_0x4f1555);},'rvRRc':_0x190be(0x3c9,0x428)+'space','gNyZF':_0x190be(0x296,0x277)+_0x52391f(-0x257,-0x30e)+'deter'+_0x52391f(-0x285,-0x39a)+'free\x20'+_0x52391f(0x8,0xa8)+'space','gjxSX':_0x52391f(-0x1cd,-0x1c4),'yjGWR':function(_0x1f4ebf,_0x1c2d67){return _0x1f4ebf(_0x1c2d67);}};try{_0x190be(0x443,0x442)===_0x3ffc52[_0x52391f(-0x1a4,-0x173)]?TVoBFD[_0x52391f(0x48,0x152)](_0x1bbe42,TVoBFD[_0x52391f(-0x1f2,-0x2)],TVoBFD['gNyZF']):_0x3ffc52[_0x52391f(0x134,0x3e)](unlinkSync,PID_FILE);}catch{}};process['on']('SIGIN'+'T',()=>{function _0x39b6ba(_0x27caca,_0x497654){return _0x54d736(_0x497654-0x1b6,_0x27caca);}const _0x1c41f7={'OEdPK':function(_0x43aad1){return _0x43aad1();}};_0x1c41f7[_0x39b6ba(0x611,0x4b6)](cleanup),process['exit'](-0x51*-0x10+-0x11*-0x26+-0x3cb*0x2);}),process['on'](_0x8643f1(-0x182,-0xfd)+'RM',()=>{function _0x5c1407(_0x5f4519,_0x5dbaba){return _0x54d736(_0x5f4519- -0x3c2,_0x5dbaba);}const _0xa59e60={'xUCZr':function(_0x429769){return _0x429769();}};function _0x4ef69b(_0x89f493,_0x579852){return _0x54d736(_0x89f493-0x28e,_0x579852);}_0xa59e60[_0x4ef69b(0x4e5,0x648)](cleanup),process[_0x4ef69b(0x6bd,0x841)](0x21a2+-0x1088+-0x111a);}),child['on'](_0x54d736(0x42f,0x3e0),_0x93d130=>{function _0x10cc76(_0x5a546e,_0x43a420){return _0x8643f1(_0x5a546e,_0x43a420-0x364);}const _0x21d011={'POMPE':function(_0x38c257){return _0x38c257();},'QQdKX':function(_0x26d044,_0x461b7f){return _0x26d044||_0x461b7f;}};function _0x2ef71b(_0xc8365,_0x81733){return _0x8643f1(_0xc8365,_0x81733-0x55e);}_0x21d011[_0x2ef71b(0x6be,0x676)](cleanup),process[_0x2ef71b(0x8bc,0x6ce)](_0x21d011[_0x2ef71b(0x5b1,0x4e3)](_0x93d130,-0x22f3*-0x1+0x234b+0xa2*-0x6f));});}else{const watchdogPath=join(ROOT,_0x54d736(0x1f0,0x20b)+'r',_0x54d736(0x412,0x4c5)+_0x8643f1(-0x21,0x51)+'s'),extraEnv={};if(flags['port'])extraEnv[_0x54d736(0x290,0x459)]=String(flags[_0x54d736(0x143,-0x86)]);if(flags[_0x8643f1(0x18,-0x172)])extraEnv[_0x54d736(0x214,0x19a)+'K_HOS'+'T']=flags[_0x8643f1(0x7d,-0x172)];const _0x1d4f37={};_0x1d4f37[_0x8643f1(-0x300,-0x163)]=ROOT,_0x1d4f37['env']=env,_0x1d4f37[_0x54d736(0x34f,0x1f6)]=_0x54d736(0x18d,0x300)+'it';const child=spawn(process['execP'+'ath'],[watchdogPath,JSON['strin'+_0x54d736(0x1a6,0x5f)](extraEnv)],_0x1d4f37),port=flags[_0x8643f1(-0xeb,-0x17c)]||env['PORT']||0x234d*0x1+0x1608+0x7*-0x643;console[_0x54d736(0x178,0x32e)]('⬡\x20Upl'+_0x54d736(0x1fc,0xea)+_0x54d736(0x1ac,0x2cc)+'ng\x20wi'+_0x54d736(0x2ad,0xf5)+'tchdo'+'g\x20(au'+_0x54d736(0x20f,0xda)+_0x8643f1(-0x92,0x168)+_0x54d736(0x398,0x55a)+_0x54d736(0x31e,0x364)),console[_0x8643f1(0x12,-0x147)](_0x8643f1(0xb9,0x158)+_0x54d736(0xb6,-0x11c)+_0x8643f1(-0x223,-0x143)+'lhost'+':'+port),console[_0x8643f1(-0x2b6,-0x147)](_0x8643f1(-0x2df,-0x17d)+'\x20--no'+_0x54d736(0x266,0x10a)+_0x8643f1(-0x184,-0x1e2)+_0x54d736(0x179,0x194)+'aw\x20se'+'rver\x20'+_0x54d736(0xf8,0x16c)),process['on']('SIGIN'+'T',()=>{const _0x4f45b5={};function _0x393b30(_0x5eb76e,_0x44f707){return _0x54d736(_0x44f707- -0x3bc,_0x5eb76e);}_0x4f45b5[_0x393b30(0x30,0x96)]='SIGTE'+'RM';const _0xda85ec=_0x4f45b5;function _0x436018(_0x59603d,_0x182340){return _0x54d736(_0x182340-0x37b,_0x59603d);}child[_0x393b30(0x186,-0x41)](_0xda85ec[_0x436018(0x702,0x7cd)]);}),process['on']('SIGTE'+'RM',()=>{const _0xfc0968={};_0xfc0968[_0x31fe4d(-0x28e,-0x9c)]=_0x31fe4d(-0xd0,-0x153)+'RM';const _0x276072=_0xfc0968;function _0x31fe4d(_0x2b32db,_0x587ddf){return _0x54d736(_0x587ddf- -0x315,_0x2b32db);}function _0x2b48a8(_0x3cfc10,_0x2f335e){return _0x54d736(_0x3cfc10- -0x181,_0x2f335e);}child[_0x31fe4d(-0x11a,0x66)](_0x276072[_0x31fe4d(0x128,-0x9c)]);}),child['on']('exit',_0xaff8c3=>{const _0x254bc7={};_0x254bc7[_0x31f757(0x16f,0x101)]=function(_0x539a54,_0x27ef9e){return _0x539a54||_0x27ef9e;};function _0x31f757(_0xdeb025,_0x4c9a78){return _0x8643f1(_0x4c9a78,_0xdeb025-0xe0);}const _0x352e9d=_0x254bc7;function _0x209c7b(_0x2bcac6,_0x2027b7){return _0x8643f1(_0x2bcac6,_0x2027b7-0x83);}process[_0x31f757(0x250,0x3fd)](_0x352e9d[_0x209c7b(-0x52,0x112)](_0xaff8c3,0x23*0x39+-0x1501+0xd36));});}}}
|