@mooncompany/uplink-chat 0.37.2 → 0.38.1
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 +7 -4
- package/public/css/{app.09572269.css → app.e10c9861.css} +19 -0
- package/public/css/artifacts.css +10 -0
- package/public/css/mobile.css +2 -2
- package/public/dist/bundle.c6752890.js +1 -0
- package/public/index.html +30 -28
- 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/manifest.json +1 -1
- package/public/sw.js +228 -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.f3621856.js +0 -1
package/bin/uplink.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
(function(_0xafc2dc,_0xa4e574){const _0x2ed3cd=_0xafc2dc();function _0x174397(_0x272e85,_0x41a7b8){return _0x3018(_0x41a7b8- -0xb3,_0x272e85);}function _0x52868d(_0x4b50cf,_0x473c42){return _0x3018(_0x4b50cf- -0x21f,_0x473c42);}while(!![]){try{const _0x15f0ef=parseInt(_0x52868d(0x269,0x375))/(0x184e+0x5*0x185+0xff3*-0x2)*(parseInt(_0x52868d(-0xae,-0x26b))/(-0x75f+0x47f*-0x7+0x136d*0x2))+parseInt(_0x52868d(0x191,0x27b))/(-0x2501+0x1972+0xb92)+-parseInt(_0x52868d(-0x75,-0x1f9))/(-0x1fea+-0x1*-0x38+0x1fb6)+-parseInt(_0x52868d(0x280,0x102))/(0x1*-0x43+0x197+-0x14f)*(-parseInt(_0x174397(0xd3,0x29e))/(-0x1a*-0x8b+-0x58+0x37*-0x40))+-parseInt(_0x174397(0x21e,0x14e))/(-0x803+0x1e8c+0x1682*-0x1)+-parseInt(_0x52868d(0x1e5,0xb6))/(-0x179a+-0x13fd+0x2b9f)*(parseInt(_0x174397(0x12a,0x265))/(-0x6ee*0x5+0xaac+0x1803))+-parseInt(_0x52868d(-0xe9,-0x291))/(-0x1*-0x4f7+-0x1248+0xd5b);if(_0x15f0ef===_0xa4e574)break;else _0x2ed3cd['push'](_0x2ed3cd['shift']());}catch(_0x368400){_0x2ed3cd['push'](_0x2ed3cd['shift']());}}}(_0x5787,0x21e5b*-0x3+-0x115c67+0x246b87));import{spawn,execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';function _0x18cc4f(_0x385d56,_0xfd7b95){return _0x3018(_0xfd7b95-0x29a,_0x385d56);}import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';import{createRequire}from'module';import _0x16ff8b from'net';import _0x7c3987 from'http';import _0xd71058 from'os';function _0x20fd2f(_0x223798,_0x1fb59d){return _0x3018(_0x1fb59d- -0x1e5,_0x223798);}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x463b01={'byGKJ':'.env.'+_0x3cd651(0xf2,0x47)+'le','lMjLK':function(_0x921394,_0x48d573){return _0x921394(_0x48d573);},'vHgBh':function(_0x33c851,_0x58bcc2,_0x169a16){return _0x33c851(_0x58bcc2,_0x169a16);},'MvFcr':_0x12ef78(0x4ce,0x350),'OCrFX':_0x3cd651(0x94,-0x26)+_0x12ef78(0x78a,0x5a2)+_0x3cd651(0x319,0x474)+_0x12ef78(0x5b8,0x593)+_0x3cd651(0x1cb,0x1fa)+_0x3cd651(0xf2,0x2c)+'le','aDreu':function(_0x47da3f,_0x4c74ab,_0x276241){return _0x47da3f(_0x4c74ab,_0x276241);},'hplPL':'#\x20Upl'+_0x12ef78(0x360,0x418)+_0x12ef78(0x1c0,0x2af)+_0x3cd651(0x31e,0x517)+_0x12ef78(0x3be,0x2aa),'WQIUQ':_0x3cd651(0x94,0x20e)+_0x12ef78(0x4c3,0x5a2)+'empty'+'\x20.env'+_0x12ef78(0x4e2,0x35b),'jjYOK':function(_0x2abde5,_0x1eef04){return _0x2abde5>_0x1eef04;},'RaCzQ':_0x12ef78(0x687,0x4ee)+_0x3cd651(0x1d9,0x216)+_0x12ef78(0x271,0x30f)+_0x12ef78(0x30f,0x32b)+_0x12ef78(0x2e4,0x271)+_0x3cd651(0x31c,0x3de)+_0x3cd651(0x13f,0xa4),'OeLaN':function(_0x4811f7,_0x252b80){return _0x4811f7===_0x252b80;},'OWNnM':'rvtrW','dsjOh':_0x3cd651(0x2b8,0x209),'VSuVD':function(_0x2238d5,_0x44fc11){return _0x2238d5!==_0x44fc11;},'enIQp':'aaGMq','HpKyf':function(_0x2a5f76,_0x44a0de){return _0x2a5f76(_0x44a0de);},'UAwxf':function(_0x54c20b,_0x539561){return _0x54c20b===_0x539561;},'gfYwk':_0x12ef78(0x5e8,0x567),'vGfJL':_0x12ef78(0x1d8,0x38d),'BHGlT':_0x3cd651(0x238,0x415)+_0x3cd651(0x93,0x4)+'+$','xMhPS':function(_0xbadabc,_0x534fb1,_0x10b012){return _0xbadabc(_0x534fb1,_0x10b012);},'ScKOh':function(_0x6c667b){return _0x6c667b();},'BPyTK':function(_0x1838ba,_0x3f04e7){return _0x1838ba===_0x3f04e7;},'DSJdw':_0x12ef78(0x415,0x3b6),'rJzdx':function(_0x4efaff,_0x196822,_0x4bf5a0,_0x84ce61){return _0x4efaff(_0x196822,_0x4bf5a0,_0x84ce61);},'ZNXkz':_0x12ef78(0x595,0x414)+'ta','KePbf':_0x3cd651(0x213,0x3b7)+'ng','IhAGh':_0x12ef78(0x731,0x56a)+'nk'};function _0x12ef78(_0x4cb67d,_0x2f1a17){return _0x3018(_0x2f1a17-0x127,_0x4cb67d);}function _0x3cd651(_0x32cfaa,_0x826f77){return _0x3018(_0x32cfaa- -0xd8,_0x826f77);}const _0x2b5d16=(function(){function _0x5b9b46(_0x1dc1fe,_0x4c4b39){return _0x3cd651(_0x1dc1fe- -0x151,_0x4c4b39);}function _0x4ae1bd(_0x4a3714,_0x56cf32){return _0x3cd651(_0x4a3714- -0xdc,_0x56cf32);}const _0x23e2f6={'WmWVz':function(_0xdc3921,_0x7b307f){return _0xdc3921+_0x7b307f;},'TloHa':function(_0x13d352,_0x78be0b){return _0x463b01['jjYOK'](_0x13d352,_0x78be0b);},'Lauik':_0x463b01[_0x5b9b46(0x13,-0x13f)],'JwuCW':function(_0x2f219e,_0x1fc74b){return _0x2f219e!==_0x1fc74b;},'UTwdl':function(_0x3e0fd5,_0x98f72){return _0x463b01['OeLaN'](_0x3e0fd5,_0x98f72);},'zTkWs':_0x463b01[_0x4ae1bd(0x2ac,0x1ea)],'UsWkF':_0x463b01[_0x5b9b46(-0x150,-0x1cf)]};if(_0x463b01[_0x5b9b46(0x5e,0x171)](_0x4ae1bd(-0x77,-0x16d),_0x463b01[_0x5b9b46(-0xf6,-0xf3)])){const _0x85467a=_0x1e3074(_0x44d2e1,_0x463b01['byGKJ']);_0x463b01['lMjLK'](_0x417a62,_0x85467a)?(_0x463b01[_0x5b9b46(-0x4f,-0x237)](_0x26e3c3,_0x5399d9,_0x463b01[_0x5b9b46(-0x4f,-0x14f)](_0x40fc08,_0x85467a,_0x463b01[_0x5b9b46(0xce,-0xf9)])),_0x261fb2[_0x4ae1bd(-0x18,0x1e5)](_0x463b01[_0x4ae1bd(0x1c5,0x10)])):(_0x463b01[_0x5b9b46(-0x66,-0x242)](_0x38a48f,_0x269d37,_0x463b01[_0x4ae1bd(0xf3,0x195)]),_0x9e56f8[_0x5b9b46(-0x8d,-0x84)](_0x463b01[_0x4ae1bd(0x177,0x1bc)]));}else{let _0x131ce1=!![];return function(_0x387e2d,_0x5d496e){function _0x3ec6a9(_0x185ef5,_0x34eaf0){return _0x4ae1bd(_0x34eaf0-0x4ec,_0x185ef5);}function _0x584c6c(_0x279353,_0x9909b){return _0x4ae1bd(_0x279353- -0x1a4,_0x9909b);}const _0x10002c={'YWvdX':function(_0x3fe0aa,_0x4242af){return _0x23e2f6['WmWVz'](_0x3fe0aa,_0x4242af);},'QFVjM':function(_0x1af7fc,_0x51791b){function _0x43c654(_0x5a6606,_0x3b26d3){return _0x3018(_0x5a6606-0x2af,_0x3b26d3);}return _0x23e2f6[_0x43c654(0x3d0,0x257)](_0x1af7fc,_0x51791b);},'hjxTp':_0x23e2f6[_0x3ec6a9(0x32f,0x49d)],'VaIxx':function(_0x1cf072,_0xe3f67c){function _0x3257f9(_0x20a50b,_0x4952a4){return _0x3ec6a9(_0x20a50b,_0x4952a4-0x4);}return _0x23e2f6[_0x3257f9(0x54e,0x5ad)](_0x1cf072,_0xe3f67c);}};if(_0x23e2f6['UTwdl'](_0x23e2f6[_0x584c6c(-0xc8,0xe)],_0x23e2f6['UsWkF']))_0x2ef0c6['log'](_0x10002c['YWvdX'](_0x10002c[_0x3ec6a9(0x459,0x4ef)]('\x20\x20⬡\x20'+_0x11d63a+(_0x584c6c(-0x1cd,-0x36a)+_0x584c6c(-0x1ee,-0x21a))+_0x4b96ed+(_0x584c6c(-0x1b9,-0x9f)+'ed'),_0x4a774b?',\x20'+_0x46fef8+(_0x584c6c(-0x60,-0xe7)+'ing')+(_0x10002c[_0x3ec6a9(0x627,0x733)](_0x2f1c5b,0x2b4*0x9+0x1*-0x1d09+0x4b6)?'s':''):''),'.'));else{const _0x313a46=_0x131ce1?function(){const _0x29db64={};function _0x5bc6ad(_0x46534c,_0x1cd6f5){return _0x3ec6a9(_0x46534c,_0x1cd6f5- -0x5d7);}_0x29db64[_0x5bc6ad(0xad,-0x46)]=_0x10002c[_0x5bc6ad(0x281,0x118)];const _0x3c5ab9=_0x29db64;function _0x3a353e(_0x1cf36d,_0x22c229){return _0x3ec6a9(_0x22c229,_0x1cf36d-0x24);}if(_0x10002c[_0x5bc6ad(0x13c,0x174)](_0x3a353e(0x503,0x45c),_0x5bc6ad(-0x2f4,-0xf8)))_0x87358[_0x3a353e(0x4f8,0x4a0)](_0x3c5ab9['ezWeo']);else{if(_0x5d496e){const _0x4efa0d=_0x5d496e[_0x3a353e(0x7bd,0x92c)](_0x387e2d,arguments);return _0x5d496e=null,_0x4efa0d;}}}:function(){};return _0x131ce1=![],_0x313a46;}};}}()),_0x1dfc95=_0x463b01[_0x12ef78(0x64e,0x546)](_0x2b5d16,this,function(){function _0x324200(_0x3f6215,_0x4725cf){return _0x3cd651(_0x4725cf- -0x2d9,_0x3f6215);}function _0x98b7f4(_0x397a9c,_0x300937){return _0x3cd651(_0x300937- -0x2cd,_0x397a9c);}if(_0x463b01[_0x324200(-0x1ee,-0x1b1)](_0x463b01[_0x324200(-0x118,-0x264)],_0x463b01[_0x98b7f4(0x1b2,0xdd)])){if(!_0x463b01[_0x324200(0xcb,0x107)](_0x2b2f4d,_0x15f4bc))return null;try{return _0x47c816[_0x98b7f4(0x54,-0x4d)](_0x589e32(_0x2ee9bd,_0x463b01[_0x324200(-0x1b1,-0xba)]));}catch{return null;}}else return _0x1dfc95['toStr'+_0x324200(-0x102,-0x2e1)]()['searc'+'h'](_0x98b7f4(0x125,-0x95)+_0x98b7f4(-0x40,-0x23a)+'+$')[_0x324200(-0x1bd,-0x2c2)+_0x324200(-0x446,-0x2e1)]()['const'+_0x324200(-0xd0,-0xe3)+'r'](_0x1dfc95)[_0x98b7f4(-0x14a,-0x1ab)+'h'](_0x463b01[_0x324200(-0x1f3,-0x113)]);});_0x463b01[_0x12ef78(0x3eb,0x594)](_0x1dfc95);if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x463b01[_0x3cd651(0x36c,0x3b1)](process[_0x12ef78(0x55f,0x409)+_0x3cd651(0x19f,0x59)],_0x463b01[_0x3cd651(0x38a,0x47d)])){const _0x49ee41=process.env.APPDATA||_0x463b01[_0x3cd651(0x317,0x2ac)](join,_0xd71058['homed'+'ir'](),_0x463b01[_0x3cd651(0x19,0x32)],_0x463b01[_0x12ef78(0x569,0x46b)]);return _0x463b01[_0x3cd651(0x347,0x512)](join,_0x49ee41,_0x12ef78(0x332,0x30d)+'k');}return _0x463b01['xMhPS'](join,_0xd71058['homed'+'ir'](),_0x463b01[_0x12ef78(0x134,0x247)]);}const DATA_DIR=resolveDataDir();try{const _0x473266={};_0x473266[_0x20fd2f(0x3b3,0x203)+_0x20fd2f(0x192,0x2b0)]=!![],mkdirSync(DATA_DIR,_0x473266);}catch{}const PID_FILE=join(DATA_DIR,'.upli'+_0x18cc4f(0x2be,0x3de)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x20fd2f(0x12a,0x25e)+'nk-wa'+_0x20fd2f(-0x136,-0xd1)+_0x18cc4f(0x62f,0x5b8)),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x20fd2f(0x1ea,0x25e)+'nk-wa'+_0x20fd2f(-0xe7,-0xd1)+_0x18cc4f(0x78b,0x646)+'n'),args=process[_0x20fd2f(-0x132,0x6)][_0x20fd2f(0x243,0xf3)](0x945+0xe21+0x2*-0xbb2),command=args[-0x18e9+-0xc8+-0x1*-0x19b1]||_0x20fd2f(0x34f,0x225),flags={};for(let i=0x2414+0x17*0x1a3+0x1b*-0x2bb;i<args[_0x18cc4f(0x66d,0x5b3)+'h'];i++){const cowsoe=(_0x20fd2f(0x1e4,0x91)+_0x20fd2f(0xc3,0x88)+'8|9|5'+_0x20fd2f(0x117,0x144))[_0x18cc4f(0x2ac,0x3df)]('|');let VsYahV=0xb6c*0x1+0x1244+-0x1db*0x10;while(!![]){switch(cowsoe[VsYahV++]){case'0':(args[i]==='--for'+'ce'||args[i]==='-f')&&(flags[_0x20fd2f(0x116,-0x8f)]=!![]);continue;case'1':args[i]===_0x18cc4f(0x6bd,0x5e7)+'h'&&(flags[_0x20fd2f(-0x86,0x38)]=!![]);continue;case'2':args[i]===_0x18cc4f(0x475,0x531)+'t'&&args[i+(0x1116+-0x927*0x3+0x298*0x4)]&&(flags[_0x20fd2f(0x33e,0x268)]=parseInt(args[i+(-0x1f77+0xbb3+0x13c5*0x1)],-0x1*-0x8a1+0x2053+0x28ea*-0x1),i++);continue;case'3':(args[i]===_0x20fd2f(-0x192,-0x31)+'sion'||args[i]==='-v')&&(flags[_0x18cc4f(0x778,0x589)+'on']=!![]);continue;case'4':(args[i]===_0x18cc4f(0x708,0x660)+_0x20fd2f(-0x94,-0x5e)||args[i]==='-d')&&(flags['detac'+'h']=!![]);continue;case'5':args[i]===_0x20fd2f(-0xcd,-0xa9)+'t'&&(flags[_0x20fd2f(0x110,-0xb0)]=!![]);continue;case'6':args[i]===_0x18cc4f(0x60a,0x583)+'t'&&(flags[_0x20fd2f(0x462,0x267)]=args[i+(0x2f*-0x87+-0x364+0x1c2e)]||_0x18cc4f(0x2d4,0x432)+'.0',i++);continue;case'7':(args[i]==='--hel'+'p'||args[i]==='-h')&&(flags[_0x20fd2f(0x184,0xf2)]=!![]);continue;case'8':args[i]==='--no-'+_0x20fd2f(0x1e7,0x1a1)+'dog'&&(flags[_0x20fd2f(0xd9,0x24c)+'chdog']=!![]);continue;case'9':args[i]==='--lin'+'es'&&args[i+(-0x1c5a*-0x1+0x16f*0x12+-0x120d*0x3)]&&(flags['lines']=parseInt(args[i+(-0x16*0x80+-0x4*-0x5cb+0x1bd*-0x7)],0xa*-0x16f+0x1ea5+-0x1045),i++);continue;}break;}}if(flags[_0x18cc4f(0x6a7,0x589)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x18cc4f(0x36c,0x55e)+_0x18cc4f(0x74f,0x6ec)+'on'));console['log'](_0x20fd2f(-0x126,0x1)+'k-cha'+_0x18cc4f(0x558,0x59a)+pkg[_0x18cc4f(0x664,0x589)+'on']),process[_0x20fd2f(0x7d,0x179)](0xe69+-0x94c+-0x51d*0x1);}flags[_0x18cc4f(0x552,0x571)]&&(console[_0x18cc4f(0x628,0x436)]('\x0a\x20\x20⬡\x20'+'Uplin'+_0x20fd2f(0x117,0x172)+'ocal\x20'+_0x20fd2f(0x154,0x2ce)+_0x20fd2f(-0x142,0x50)+_0x20fd2f(0x466,0x2aa)+'e:\x0a\x20\x20'+'\x20\x20upl'+_0x18cc4f(0x594,0x581)+_0x20fd2f(0x6d,0x214)+'comma'+_0x20fd2f(0x27c,0x1d6)+_0x20fd2f(-0x1a,-0x11f)+_0x20fd2f(0x57,0x254)+_0x20fd2f(0xfc,-0x58)+_0x20fd2f(-0x16e,-0xc8)+_0x18cc4f(0x445,0x57e)+_0x20fd2f(-0x101,-0x92)+_0x20fd2f(0x198,0x299)+_0x20fd2f(-0x210,-0x99)+_0x18cc4f(0x609,0x6cc)+_0x18cc4f(0x48d,0x56a)+'link\x20'+'serve'+_0x20fd2f(0x204,0x13)+'fault'+_0x20fd2f(0x25f,0x292)+_0x20fd2f(-0x1a8,-0x7c)+_0x20fd2f(0x3c,0x18f)+_0x18cc4f(0x4d8,0x3e6)+_0x18cc4f(0x824,0x72a)+'runni'+_0x20fd2f(-0xc,-0xba)+_0x18cc4f(0x5b4,0x5ba)+_0x20fd2f(0xcb,-0x45)+_0x18cc4f(0x40b,0x540)+'\x20stat'+_0x20fd2f(0x3c9,0x28a)+_0x18cc4f(0x5b8,0x65c)+_0x18cc4f(0x469,0x435)+_0x18cc4f(0x638,0x5c8)+_0x20fd2f(0x71,0x15b)+_0x20fd2f(-0xc9,-0xe6)+_0x20fd2f(0x14c,0x75)+_0x18cc4f(0x23c,0x424)+_0x20fd2f(0xba,0x8d)+_0x18cc4f(0x62b,0x60e)+_0x20fd2f(0x45,0xd7)+_0x18cc4f(0x289,0x3fb)+_0x18cc4f(0x39c,0x50a)+'etup\x20'+'at\x20a\x20'+_0x18cc4f(0x6d7,0x5ae)+_0x20fd2f(0x17,-0x4b)+_0x18cc4f(0x7b8,0x5d5)+_0x18cc4f(0x5fa,0x60e)+_0x20fd2f(-0x45,0xed)+'il\x20th'+_0x18cc4f(0x4aa,0x4ab)+_0x20fd2f(0x1b7,-0x1d)+'ogs\x20i'+_0x20fd2f(0x10,0x11c)+_0x20fd2f(0x24d,0x18c)+_0x18cc4f(0x2d6,0x434)+_0x20fd2f(-0x1be,-0x25)+_0x20fd2f(0x252,0x178)+_0x18cc4f(0x320,0x380)+_0x20fd2f(-0xf1,0xe7)+_0x20fd2f(0x314,0x24b)+_0x18cc4f(0x41c,0x45a)+_0x20fd2f(0x23e,0x238)+'tion\x0a'+'\x20\x20\x20\x20d'+_0x20fd2f(0x53,-0x1e)+'\x20\x20\x20\x20\x20'+'\x20Diag'+'nose\x20'+'commo'+_0x20fd2f(0x1bc,0x85)+_0x18cc4f(0x416,0x3c0)+_0x18cc4f(0x546,0x542)+_0x20fd2f(0x3a6,0x2b4)+'\x20\x20\x20\x20\x20'+_0x20fd2f(0x1ec,0xbb)+'\x20chat'+_0x18cc4f(0x39f,0x54e)+'ory\x20a'+_0x18cc4f(0x59e,0x543)+_0x20fd2f(0xbd,0xc8)+_0x20fd2f(-0xaf,-0xb1)+_0x18cc4f(0x542,0x701)+_0x20fd2f(-0xd9,0xfb)+_0x18cc4f(0x71c,0x60e)+_0x20fd2f(0x74,-0x27)+'e\x20to\x20'+_0x20fd2f(0x140,0x105)+_0x20fd2f(0x2df,0x138)+'\x20vers'+'ion\x0a\x20'+_0x20fd2f(0x195,0x1e4)+_0x18cc4f(0x552,0x40c)+'ll\x20\x20\x20'+_0x18cc4f(0x694,0x54a)+'serve'+'r\x20and'+_0x18cc4f(0x4b5,0x5c0)+_0x18cc4f(0x465,0x491)+_0x18cc4f(0x7fc,0x62f)+_0x20fd2f(0x1e1,0xe2)+_0x18cc4f(0x534,0x4f0)+_0x20fd2f(0x303,0x186)+_0x18cc4f(0x5dd,0x51d)+_0x20fd2f(0x30,0x8f)+'--por'+'t\x20N\x20\x20'+'\x20\x20\x20\x20\x20'+_0x18cc4f(0x4db,0x6b4)+'\x20to\x20l'+_0x20fd2f(-0x19a,-0x105)+_0x20fd2f(0x164,0x291)+_0x20fd2f(0x27e,0x183)+_0x20fd2f(-0x183,-0x64)+'456)\x0a'+_0x18cc4f(0x79a,0x700)+_0x18cc4f(0x5f3,0x6c6)+_0x20fd2f(-0x164,-0x59)+_0x20fd2f(0x306,0x18f)+_0x18cc4f(0x794,0x69d)+_0x18cc4f(0x464,0x385)+_0x18cc4f(0x779,0x692)+'\x20(def'+_0x20fd2f(0xf4,0x79)+_0x18cc4f(0x77c,0x6cd)+_0x20fd2f(-0x39,-0x110)+_0x18cc4f(0x838,0x700)+_0x20fd2f(0xd1,-0x42)+_0x20fd2f(0x335,0x155)+'d\x20\x20\x20\x20'+_0x20fd2f(0x2f8,0x2c3)+_0x18cc4f(0x6d5,0x72e)+_0x20fd2f(-0xb6,-0x15)+'nd\x20(d'+_0x18cc4f(0x352,0x546)+'\x20mode'+')\x0a\x20\x20\x20'+_0x18cc4f(0x684,0x625)+'-watc'+_0x20fd2f(-0x195,-0x35)+_0x18cc4f(0x79d,0x630)+_0x20fd2f(-0xb9,-0x93)+'out\x20a'+'uto-r'+_0x20fd2f(0x1e1,0x16d)+'t\x20wat'+_0x20fd2f(0x1a7,0x250)+'\x0a\x20\x20\x20\x20'+_0x20fd2f(-0x2d,-0xfc)+'es\x20N\x20'+'\x20\x20\x20\x20\x20'+_0x18cc4f(0x3e1,0x526)+'er\x20of'+_0x20fd2f(-0xa5,0x8a)+_0x20fd2f(-0xa4,-0x4c)+'\x20to\x20s'+'how\x20('+_0x20fd2f(0x116,-0x5c)+'\x20defa'+_0x20fd2f(0x3de,0x270)+_0x20fd2f(-0x39,-0x39)+_0x18cc4f(0x711,0x53c)+_0x18cc4f(0x226,0x3e8)+_0x20fd2f(0x31d,0x18f)+'\x20\x20\x20\x20O'+_0x18cc4f(0x3dd,0x430)+_0x18cc4f(0x583,0x422)+_0x18cc4f(0x2a1,0x38c)+'ditor'+_0x18cc4f(0x55f,0x662)+_0x18cc4f(0x78a,0x70d)+_0x20fd2f(0x10c,0x281)+'-path'+_0x18cc4f(0x793,0x60e)+_0x18cc4f(0x63e,0x60e)+_0x18cc4f(0x585,0x5d7)+_0x18cc4f(0x33d,0x45a)+_0x18cc4f(0x4bd,0x590)+_0x20fd2f(0x404,0x28c)+_0x18cc4f(0x608,0x653)+'onfig'+_0x20fd2f(0x434,0x292)+_0x20fd2f(-0x31,-0x106)+_0x20fd2f(0x2d9,0x28d)+'-f\x20\x20\x20'+_0x20fd2f(-0x4c,-0x40)+_0x18cc4f(0x54a,0x4ec)+_0x18cc4f(0x1e6,0x35b)+_0x18cc4f(0x21b,0x3d5)+_0x20fd2f(0x19,0xb1)+'ts\x20(r'+(_0x20fd2f(0x178,0x181)+_0x18cc4f(0x482,0x50e)+'-v\x20\x20\x20'+_0x20fd2f(-0x20,0x18f)+_0x18cc4f(0x4a2,0x60e)+_0x20fd2f(0x16f,0xd7)+_0x20fd2f(-0x46,0x4)+_0x20fd2f(-0xef,-0x4)+_0x20fd2f(-0x34,0x2e)+_0x18cc4f(0x50d,0x60e)+'\x20\x20\x20\x20\x20'+_0x20fd2f(0x5b,-0x54)+_0x18cc4f(0x538,0x544)+_0x20fd2f(0x38c,0x1f2)+_0x20fd2f(0x2f2,0x28b)+'\x20\x20Exa'+_0x18cc4f(0x5dc,0x573)+_0x20fd2f(-0x30,0xff)+_0x18cc4f(0x52e,0x634)+_0x18cc4f(0x487,0x480)+_0x20fd2f(-0xeb,-0x120)+_0x18cc4f(0x589,0x718)+_0x18cc4f(0x6d0,0x60e)+_0x18cc4f(0x7e3,0x60e)+_0x20fd2f(0x1c4,0x87)+_0x20fd2f(-0x152,-0x81)+'t\x20on\x20'+'defau'+_0x18cc4f(0x601,0x5a6)+_0x18cc4f(0x64a,0x49d)+_0x20fd2f(-0x66,0xa6)+'\x20upli'+_0x18cc4f(0x55d,0x6ee)+_0x20fd2f(0xa7,0x140)+'port\x20'+'8080\x20'+_0x20fd2f(-0x5c,0x18f)+'#\x20Sta'+_0x18cc4f(0x363,0x44c)+_0x20fd2f(0x236,0xdc)+_0x18cc4f(0x1f9,0x395)+_0x18cc4f(0x652,0x50e)+_0x18cc4f(0x578,0x3c2)+_0x18cc4f(0x297,0x442)+_0x18cc4f(0x3c1,0x43c)+_0x20fd2f(-0x211,-0x7c)+_0x20fd2f(0x285,0x18f)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20#\x20'+_0x20fd2f(0x257,0xcb)+_0x20fd2f(0x352,0x277)+_0x18cc4f(0x367,0x53f)+_0x18cc4f(0x49f,0x50e)+_0x18cc4f(0x21e,0x3c2)+_0x18cc4f(0x4b2,0x442)+_0x18cc4f(0x476,0x43c)+_0x18cc4f(0x4b0,0x370)+_0x20fd2f(0xa,0x18f)+_0x20fd2f(0x126,0x18f)+_0x20fd2f(-0xb2,-0xad)+_0x20fd2f(-0x1,-0x100)+_0x18cc4f(0x826,0x6a9)+'\x20info'+'\x0a\x20\x20\x20\x20'+_0x20fd2f(0x3b,-0xbd)+'plink'+_0x18cc4f(0x55a,0x43c)+_0x18cc4f(0x5c1,0x5d5)+_0x20fd2f(0xab,0x136)+_0x18cc4f(0x4a9,0x47d)+_0x20fd2f(0x2e0,0x1a3)+_0x20fd2f(0x63,0x42)+_0x18cc4f(0x495,0x51a)+_0x18cc4f(0x52e,0x410)+_0x20fd2f(-0x6f,0x5b)+_0x20fd2f(0x328,0x1bb)+'\x20\x20\x20np'+_0x20fd2f(-0xe3,-0x111)+_0x18cc4f(0x528,0x581)+'hat\x20c'+_0x20fd2f(-0x18f,-0x5d)+_0x20fd2f(-0x287,-0xc7)+'it\x20\x20\x20'+_0x18cc4f(0x572,0x69c)+'it\x20.e'+_0x18cc4f(0x41f,0x548)+_0x18cc4f(0x5d8,0x453)+_0x18cc4f(0x5d4,0x741)+_0x20fd2f(0x26a,0x295)+_0x20fd2f(0x19d,0xa6)+_0x18cc4f(0x72d,0x52f)+'nk-ch'+_0x18cc4f(0x4aa,0x598)+_0x20fd2f(-0x120,-0x6b)+'\x20\x20\x20\x20\x20'+_0x20fd2f(0x34a,0x18f)+_0x18cc4f(0x619,0x457)+_0x20fd2f(0x88,0x5f)+_0x18cc4f(0x1e3,0x3ac)+_0x20fd2f(0x6c,0x12c)+_0x18cc4f(0x6ea,0x525)+'\x20upli'+_0x18cc4f(0x55f,0x6ee)+'at\x20re'+'set\x20-'+'-forc'+_0x18cc4f(0x866,0x726)+'#\x20Cle'+'ar\x20da'+'ta\x20wi'+_0x20fd2f(-0x147,0x51)+_0x20fd2f(0xaf,0x206)+_0x20fd2f(-0x17a,-0x71))),process[_0x18cc4f(0x63e,0x5f8)](0x878+-0x5f*-0x13+-0xf85));function isRunning(_0x4d5a64){function _0x384756(_0x52c4ed,_0x38a012){return _0x20fd2f(_0x38a012,_0x52c4ed-0x2f8);}function _0x3ee501(_0xa9ecf,_0x99e0e1){return _0x20fd2f(_0xa9ecf,_0x99e0e1-0x478);}const _0x39f800={'OzoDw':function(_0x575f31,_0x35c067){return _0x575f31(_0x35c067);},'gBidI':function(_0x4d5b9a,_0x1f31b1){return _0x4d5b9a===_0x1f31b1;},'OkYpc':'nEINE','ExKwj':_0x384756(0x477,0x4b7)};try{if(_0x39f800[_0x384756(0x320,0x32e)](_0x39f800[_0x3ee501(0x6ed,0x6cb)],_0x384756(0x2e1,0x3cf)))return process[_0x3ee501(0x5ec,0x466)](_0x4d5a64,-0x2*0x1dc+0x14fa+0x5e*-0x2f),!![];else _0x39f800[_0x3ee501(0x482,0x418)](_0x50e388,_0x183916);}catch{if(_0x39f800[_0x3ee501(0x55d,0x645)]===_0x384756(0x477,0x30d))return![];else try{const _0x30ca4d={};_0x30ca4d[_0x3ee501(0x5fd,0x67b)+_0x3ee501(0x79e,0x728)]=!![],_0x30ca4d[_0x3ee501(0x249,0x3e9)]=!![],_0x30ed8d(_0x22c7f3,_0x30ca4d),_0xf09198++,_0x1f7052[_0x3ee501(0x38c,0x42f)](_0x3ee501(0x453,0x425)+_0x384756(0x473,0x4ff)+'d\x20'+_0x430a46);}catch(_0x35a877){_0x242aa4['error'](_0x384756(0x432,0x2ff)+_0x384756(0x49a,0x600)+_0x3ee501(0x560,0x701)+'emove'+'\x20'+_0x539b34+':\x20'+_0x35a877['messa'+'ge']);}}}function getPid(){const _0x3e9105={'oolEp':'Node.'+_0xc12d28(0x4c4,0x3e8)+_0xc12d28(0x2e6,0x3e1),'IYIAM':function(_0x1d6c99,_0x5568a6){return _0x1d6c99(_0x5568a6);},'GRBdq':function(_0x40debb,_0x2afc6d,_0x2de2e6){return _0x40debb(_0x2afc6d,_0x2de2e6);},'QGYRz':'utf8','JIfqt':function(_0x37ef8e,_0x5611dd){return _0x37ef8e(_0x5611dd);},'nvLVh':function(_0x189ea9,_0x59b8f6){return _0x189ea9(_0x59b8f6);},'GQnoM':function(_0x20b67b,_0x479494){return _0x20b67b===_0x479494;},'bMEXQ':_0xc12d28(0x1a1,0x30d),'WZNMA':'YqKje','mvhzH':function(_0x439472,_0x565d98){return _0x439472!==_0x565d98;},'BaIFb':_0x5f3391(0x335,0x411)};if(!_0x3e9105[_0x5f3391(0x177,0x369)](existsSync,PID_FILE))return null;function _0xc12d28(_0x310f77,_0xde6eba){return _0x20fd2f(_0xde6eba,_0x310f77-0x20e);}function _0x5f3391(_0x2a292a,_0x3529d2){return _0x20fd2f(_0x2a292a,_0x3529d2-0x19d);}const _0x28b872=_0x3e9105[_0x5f3391(0x2da,0xf8)](parseInt,_0x3e9105[_0x5f3391(0x1f3,0xf8)](readFileSync,PID_FILE,_0x3e9105[_0xc12d28(0x42e,0x40e)])[_0x5f3391(0x13b,0x333)](),0x379+0x3*-0x34+-0x2d3*0x1);if(_0x3e9105[_0xc12d28(0x18b,0x269)](isNaN,_0x28b872)||!_0x3e9105[_0xc12d28(0x429,0x368)](isRunning,_0x28b872)){if(_0x3e9105[_0x5f3391(0x2b4,0x349)](_0x3e9105[_0x5f3391(0x1bf,0x3b9)],_0x3e9105['WZNMA']))_0x1d4e5d[_0x5f3391(0x1be,0x154)](_0xc12d28(0x487,0x376)+_0x5f3391(0x42e,0x298)+_0x5f3391(0x36a,0x3c5)+_0x5f3391(0x4ed,0x3bf));else{try{_0x3e9105[_0xc12d28(0x449,0x5a1)](_0x3e9105[_0xc12d28(0x121,0x9c)],_0x3e9105[_0x5f3391(0x23,0xb0)])?_0x586a6b(_0x3e9105['oolEp'],'v'+_0x51a639+(_0xc12d28(0x34a,0x2b9)+_0xc12d28(0x20e,0x328)+_0xc12d28(0x325,0x301)+'d)')):_0x3e9105[_0xc12d28(0x3da,0x2bd)](unlinkSync,PID_FILE);}catch{}return null;}}return _0x28b872;}function _0x5787(){const _0x5ac0c0=['eady\x20','premi','and\x20c','art!','data','tall','confi','GzPvn','\x20subs','pass','messa','ch,\x20-','\x20logs','k\x20Inf','Print','\x20via\x20','tart\x20','ink\x20i','ation','_modu','top','KePbf','warn','runni','ached','⬡\x20Upl','df\x20-k','code','toppe','no\x20Op','--pat','\x20\x20\x20\x20','peJhK','once','484284JLUaUG','estar','LMVAU','\x20\x20Log','empty','ync.j','k\x20—\x20L','parse','\x20line','ffMs','stdio','k\x20ser','ig\x20\x20\x20','exit','ncomp','emove','bally','fail','ning','UYaak','qkaKh','eset)',':\x20upl','defau','aVFxK','e...','\x20\x20Opt','\x20\x1b[32','ompan','eeSpa','LqxKM','et\x20in','l\x20tim','liste','AY_TO','\x20\x20\x20\x20\x20','free\x20','s\x20que','meout','\x20DATA','OCrFX','ted\x20t','trim','rt\x20--','\x20Remo','ed\x20to','LmMnW','s\x20not','aldis','ons','ing.','opped','\x20Fail','watch','ailed','00\x20#\x20','RxZeM','Value','\x20--no','ay\x20re','HOST','ceYmL','yMtJZ','nXEkf','GQnoM','nGIDS','\x201\x202>','ile)','l\x20Upl','\x20\x20Run','at\x0a','l\x20NOT','\x20item','\x20npx\x20','|6|2|','alloc','l\x20log','unins','ay\x20be','nes\x0a\x20','\x20node','charA','TFZpX','g\x20for','nk-wa','ame','creat','ntrie','\x20—\x20No','hostn','JhGhR','g.jso','\x20\x20→\x20h','\x20read','✗\x1b[0m','2771577KEHDXc','IYIAM','ExKwj','2>&1','xQILO','NLASW','rver\x20','hjxTp','detai','th\x20(c','nning','nd]\x20[','ink\x20w','ken','led\x20t','-g\x20@m','ple\x20.','KISGo','\x20\x20\x20Ch','ly:\x20n','OGRPA','toUpp','--det','\x20\x20Not','\x20(con','\x20\x20\x20un','_DIR/','.0.1','\x20on\x20c','CYsWs','tsxAI','ists','direc','evice','reada','d\x20dat','ound.','mode)','s\x20fro','his\x20h','ripti','GplEY','GsOog','es...','(PID\x20','e:\x20\x20\x20','#\x20Upl','DMiyv','nd\x20me','ocess','FaOgr','\x20Chat','\x20\x20⬡\x20A','\x0a⬡\x20Wa','syuCB','Cnemx','recur','PID\x20f','des','\x20prom','UaTAL','end','he\x20la','rJzdx','ound\x20','.env\x20','deter','\x0a\x20\x20No','ady\x20c','dit\x20m','urati','disk\x20','nd\x20to','hat\x20[','er\x20ru','QFVjM','\x20\x20Thi','\x20\x20Sta','v\x20var','c/aud','nvLVh','bMEXQ','\x20#\x20Ed','Host\x20','26192xraCaO','QGYRz','\x20Miss','ete.','ector','modul','start','files','input','compl','SIGIN','setup','+C\x20to','SyFjS','(none','VaIxx','ating','son','⬡\x20Aut','\x20less','RZLFt','th:\x20u','\x20Port','sages','and\x20a','igura','.exam','xMhPS','mvhzH','.\x20Fre','DpbuZ','http:','mpany','led.','file','subsc','hed','gify','QzhQq','d\x20wat','-host','push',':\x20v','...','rrent','noWat','art\x20t','\x200.0.','able','chdog','e\x20und','e\x20TTS','OkYpc','ns]\x0a\x0a','tions','e\x20\x22re','e:\x20cp','padEn','\x20500\x20','.env','bUHih','uNzVj','canno','.upli','BPyTK','\x20PID\x20','yKGLo','ine','Uplin','ed.\x20N','which','join','host','port','127.0','ver\x20f','⬡\x20Sho','ztWWd','ge.js','teway','nk-ch','ult:\x20','nfirm','strin','k\x20has','wvBCB','FkIMn','bRSzy','the\x20s','ath','\x0a⬡\x20Up','figur','OWNnM','apply','DSJdw','JOKWE','⬡\x20No\x20','og\x20st','\x20\x20\x20\x20-','\x20\x20\x20up','Node.','koff:','ks\x20pa','ay\x20to','from\x20','ScKOh','\x20to\x20r','us\x20\x20\x20','elp\x0a\x0a','le\x20pa','rce,\x20','fig)\x0a','found','elf\x0a','\x20on\x20(',')\x0a\x20\x20\x20','d\x20.en','ree\x20—','or\x0a\x20\x20','ated\x20','updat','o\x20rea','t\x20\x20\x20\x20','ate\x20o','hat\x20s','\x20\x20Tha','vGfJL','anual','rver:','mode','s\x20alr','achab','1vyLmWn','ng\x1b[0','ree','m(unr','e\x20\x20\x20\x20','repea','VHmiY','\x20Usag','op\x20a\x20','--for','d-mes','\x20PID:','n\x20bac','sive','⬡\x20Che','\x0a\x20\x20Lo','\x0a\x20\x20Pa','set\x20\x20','fAxfX','js\x20ve','\x20the\x20','y:\x20','space','5uxmWuf','\x20limi','BzMMq','/loca','\x20\x20Typ','max','FIGUi','p\x20it\x20','\x20edit','Run\x20i','\x20watc','n\x20can','UPLIN','or\x20us','iLPJR','tarti','d\x20DAT','PORT','emium','k\x20whe','AI\x20Ch','\x20\x20Or\x20','.\x20Run','s...\x20','LkbjM','HpKyf','rver.','ssage',':\x20\x20\x20\x20','og\x20(P','firma','\x20not\x20','openS','et\x0a','k-cha','optio','ce\x20/v','match','kywqJ','YisdN','(watc','tion','\x20crea','pWsIU','v\x20fil','ing','nfig\x20','PASSW','-watc','x\x20upl','0.0)\x0a','\x20info','o\x20sto','AAFgu','dsjOh','hat\x20c','ally:','xGnsP','kLDIl','\x20\x20Cre','\x20--fo','isten','ity.j','nks\x20f','all\x20-','loRjN','Show\x20','\x20\x20\x20Sh','USERF','cwd','--lin','inher','to\x20bi','wpeQJ','d.\x20St','I_API','toStr','GATEW','ZNXkz','\x20in\x20e','ver\x20P','HufGe','othin','\x20\x20Aut','etect','BaIFb','ID:\x20\x20','ons.j','\x208080','uploa','logs','OBlSq','s\x20run','XVllT','GET','ges-s','ll\x20','dog','ready','\x20\x20\x20\x20•','m(con','(Ctrl','nk-se','nLabs','//127','\x20chec','g\x20@mo','l\x20cle','not\x20b','push-','eInte','nosti','rTQGx','tchdo','\x1b[32m','in\x20us','ion','ing\x20U','on:\x20v','KEN','cGnZV','PbqvO','mands','\x20--ed','d-con','IhAGh','TloHa','ssing','publi','INUSE','hat','ues\x0a\x20','CREDE','npx\x20u','o\x20Edg','npm\x20p','ng\x20Up','logic','index','setsi','uJUyB','c/img','aded\x20','\x20enab','enIQp','ata\x0a\x20','edit','569080dFeftm','uZUgJ','\x20\x20\x20#\x20','\x20\x20Use','red','tion\x20','--edi','aaGMq','\x0a\x20\x20Se','notep','GRBdq','o-res','ink\x20(','moonc','nk.pi','split','eacha','lhost','t\x20sta','Chrfr','\x20alre','\x20\x20Ser','\x20\x20\x20St','gfYwk','edit\x20','\x0a\x20\x20⚠️\x20','art','g.log','\x20with','\x20star','l\x20upl','n\x20npm','force','VvTfJ','resta','TTS\x20m','k\x20Res','now','pm\x20up','\x20\x20Res','\x20or\x20e','d\x20log','****','\x20curr','JIfqt','linux','\x20Star','Lauik','ync','destr','r\x20its','\x20stop','ed,\x20',')+)+)','⬡\x20Cre','\x20\x20\x20\x20v','kage.','s\x20and','et\x20Fr','3229976CbCLie','insta','\x20npm\x20','pt\x0a\x20\x20','stop','100\x20l','Port\x20','ZCLLE','ected','ctor\x20','art\x20m','de.js','r:\x20\x20\x20','cbNOM','media','ey\x20—\x20','lt:\x203','node','on\x0a','d)\x1b[0','OzoDw','fore\x20','ach','onfig','logs,','\x20\x20\x20\x20i','\x20pass','\x20H\x20\x20\x20','\x20\x20Com','he\x20se','info','y/upl','\x20\x20\x20\x20S','\x20\x20✓\x20R','_here','HhhSF','ly:\x20','pen\x20c','VgXIa','0.0.0','lines','e\x0a\x20\x20\x20','eck\x20i','log','OpenA','\x20unin','\x20fail','serve','filte','-chat','-deta','timeo','\x20\x20Ski','AY_UR','LXczI','plink','kuIFY','134520HGwRmx','\x0a⬡\x20Re','50)\x0a\x20','statu','execP','readS','hdog\x20','stall','rt\x20on','e\x20by\x20','--ver','—\x20run','exist','YWvdX','1:187','\x20your','✓\x1b[0m','Qehhs','(serv','#\x20Run','Updat','ed\x1b[0','\x20conf','pping','xampl','aDreu','JkNeG','runs.','requi','octor','ver\x20l','could','examp','ninst','some','y\x20uni','nEINE','resum','kgrou','tIatG','SYrne','kill','ed\x20me','tarts','reque','e\x20is\x20','tor\x20—','QfkXN','vHgBh','YFMvI','\x20comp','reak\x20','\x20\x20Set','.json','readl','ion\x0a\x20','rent\x20','nes\x201','oIJAu','18\x20re','uplin','th\x20wa','to\x20cl','\x20vers','dog.j','argv','⬡\x20Upd','\x20\x20Try','tall\x20','g\x20was','PID\x20','\x20@moo','one.\x0a','ch\x20','stdou','SrPLW','erCas','ve\x20al','r\x20(de','\x20and\x20','searc','NLABS','...\x0a','d\x20ser','\x20>=\x201','ORD','UAwxf','1722798uzPVCB','tchin','rt\x0a\x20\x20','ear\x20—','K_HOS','ated','cache','alue','enAI\x20','unleA','dzOuh','null\x20','gBidI','A_DIR','[0m','cking','e\x20ser','tOTKI','\x20\x20\x20-h','es\x20in','activ','env','lean.','GhIjQ','BkzPq','docto','close','nstal','path','\x20/t\x201','ble','write','\x0a\x20\x20Po','8\x20is\x20','ink\x20s','s\x20wil','/agen','\x20The\x20','Tail\x20','EADDR','utf8','oads\x20','m\x20(PI','.migr','ATODb','quest','ver\x20(','sWith','PI\x20ke','sync-','log\x20e','\x20file','at\x0a\x0a\x20','thout','ID=\x27','\x20\x20Exp','log\x20f','yWcWm','\x20clea','RaCzQ','l\x20con','Disk\x20','\x20Uplo','og\x20li','ne\x20wi','floor','\x20MB\x20f','\x20diag','Key','!\x1b[0m','e\x20glo','o\x0a\x0a\x20\x20','led)','ng\x20np','re\x20\x22D','..\x0a','\x20on\x20t','wmic\x20','d\x20(PI','dated','\x0a\x20\x20Ca','p\x20con','\x20Unin','\x20\x20✓\x20S','OMuxW','ata\x0a\x0a','\x20\x20Sto','sleep','ezWeo','ning\x0a','reset','not\x20f','ent\x20a','ault:','inclu','CXwwz','share','pEPUr','t\x20rea','size','_API_','yDOaq','TTS\x20A','vatar','ignor','n\x20iss','IupTd','\x20\x20\x20\x20#','|3|4|','bKibM','\x20log\x20','ent\x20s','JwuCW','nfo\x20\x20','\x20(PID','\x0a\x20\x20\x20\x20','backo','2|6|7','orm','avail','pid','ory\x20a','KEY','SIGTE','Gatew','iqUCl','bTqEi','last\x20','nd\x20wa','test\x20','ions:','e\x20\x22un','DjKTF','UKZmy','VSuVD','p\x20Upl','ime:\x20','r.js','\x20\x20npx','\x20Numb','\x20for\x20','\x20\x1b[31','win32','zTkWs','\x20-g\x20@','\x20.env','\x20new\x20','Fskpv','\x20upli','promp','--por','versa','outpu','\x0a\x20\x20Da','\x20runn','rash.','xzSIg','BHGlT','error','Clear','Sync','\x20\x20\x20--','.env.','gured','erver','r\x0a\x20\x20\x20','hplPL','\x20\x20\x20re','nd\x20lo','how\x20t','\x20EDIT','aemon','cal\x20d','nv\x20in','ng\x20(','Stop\x20','hing\x20','r.log','.0.0.','\x20hist','edAt','l\x20—\x20v','detac','mine\x20','rPid','rface','\x0a\x20\x20⬡\x20','\x20Show','rsion','TOKEN','any/u','WrmJc','\x20port','xUudH','\x1b[31m','packa','SpaEr','\x22\x20|\x20t','ink\x20d','th:\x20','oonco','ncell','node_','ow\x20cu','AVCFV','ructo','3|5|7','he\x20Up','(empt','\x20\x20\x20Ta','ID\x20','Xiett','ARvEn','⬡\x20Res','help','slice','mples','k\x20Doc','ackag',',\x20PID','ies','round','ctivi','date\x20','\x0a\x20\x20','platf','\x0a\x20\x20Ga',':\x0a\x20\x20\x20','ELEVE','igure','ink-c','backg','--hos','the\x20l','Roami','⬡\x20Fai','AppDa','\x20sync','versi','ly\x20wi','ink\x20C','iygdl','ing\x20m','s/dir','anoth','ig\x20fi','MvFcr','\x20warn','label','ll\x22\x20t','1|0|4','quire','ning\x20','at\x20do','NsqAX','t\x20v','n\x20rea','v:\x20','LpRRD','BChbx','GlXFg','\x0a\x20\x20Ho','emovi','⬡\x20Ope','JPXEy','les','toLow','lt\x20po','faile','ver\x20a','oaPoQ','(((.+','cs\x0a\x20\x20','Depen','denci','glanc','AJheu','mpZxp','/upli','3987uWwGCU','lengt','atchd','\x20--li','pmsNP','atest','g.pid','\x20\x20✗\x20F','link\x20','\x20(>=\x20','\x20manu',':\x27\x22\x20g','qfMzr','at\x20--','\x20remo','qkVWZ','\x1b[33m','|1|0','a\x20dir','WQIUQ','d\x20in\x20','\x20data','f\x20Upl'];_0x5787=function(){return _0x5ac0c0;};return _0x5787();}function getWatchdogPid(){const _0x243e2b={'gbWtL':'Gatew'+_0x260d63(0x770,0x66c)+_0x260d63(0x6c2,0x61c),'DMiyv':'not\x20s'+_0x260d63(0x675,0x60d)+_0x19e99d(0x177,0x1c0),'UaTAL':function(_0x191943,_0x15268d){return _0x191943(_0x15268d);},'KISGo':function(_0x2ed22e,_0x3e3dd5,_0x542c02){return _0x2ed22e(_0x3e3dd5,_0x542c02);},'tsxAI':_0x260d63(0x52e,0x3bf),'ztWWd':function(_0x2b4fee,_0x764abd){return _0x2b4fee===_0x764abd;},'cbNOM':_0x19e99d(0x1a0,0x255),'GhIjQ':_0x260d63(0x746,0x833)};if(!_0x243e2b['UaTAL'](existsSync,WATCHDOG_PID_FILE))return null;function _0x260d63(_0x11daae,_0x43760c){return _0x20fd2f(_0x43760c,_0x11daae-0x4ea);}const _0x171352=_0x243e2b[_0x260d63(0x6c6,0x5dd)](parseInt,_0x243e2b[_0x260d63(0x6c6,0x6a7)](readFileSync,WATCHDOG_PID_FILE,_0x243e2b[_0x19e99d(0x117,0x2fc)])[_0x19e99d(0x23d,0x2a9)](),-0xa7e+0xcca+0x121*-0x2);function _0x19e99d(_0x2d8c29,_0x5dd779){return _0x20fd2f(_0x2d8c29,_0x5dd779-0x113);}if(isNaN(_0x171352)||!_0x243e2b[_0x260d63(0x6f1,0x780)](isRunning,_0x171352)){try{_0x243e2b[_0x19e99d(0x37d,0x37f)](_0x243e2b[_0x260d63(0x483,0x501)],_0x243e2b[_0x260d63(0x51d,0x5a5)])?_0x1b01b8(_0x243e2b['gbWtL'],_0x243e2b[_0x19e99d(0x16b,0x30d)]):_0x243e2b[_0x260d63(0x6f1,0x51a)](unlinkSync,WATCHDOG_PID_FILE);}catch{}return null;}return _0x171352;}function getWatchdogState(){function _0x15b33a(_0x33ea02,_0x53951d){return _0x20fd2f(_0x53951d,_0x33ea02-0x10a);}const _0x2aa04c={'iygdl':function(_0x4bbd34,_0x531531,_0x29ccf2){return _0x4bbd34(_0x531531,_0x29ccf2);},'tOTKI':function(_0x536033,_0x53a197){return _0x536033(_0x53a197);},'oIJAu':_0x15b33a(0x14e,0x1ca),'VHmiY':function(_0x33a878,_0x411b8e){return _0x33a878!==_0x411b8e;},'CXwwz':'rocTM'};if(!_0x2aa04c[_0x15b33a(0x137,0x32b)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x46f731(_0x3629cf,_0x3406a4){return _0x20fd2f(_0x3629cf,_0x3406a4-0x33b);}try{return JSON['parse'](_0x2aa04c[_0x46f731(0x25b,0x448)](readFileSync,WATCHDOG_STATE_FILE,_0x2aa04c[_0x46f731(0x1a4,0x33a)]));}catch{if(_0x2aa04c[_0x46f731(0x7cb,0x5e4)](_0x2aa04c[_0x15b33a(0x185,0x9)],_0x46f731(0x2dc,0x416)))return null;else{const _0x5c6847={};_0x5c6847[_0x15b33a(0x30d,0x16d)+'sive']=!![],xmMjOR['iygdl'](_0x26bfb6,_0x3e06c2,_0x5c6847);}}}function formatUptime(_0x496b5f){const _0x323cfc={};_0x323cfc[_0xeef1ab(0x307,0x4db)]=function(_0x6fb7c6,_0x4639a1){return _0x6fb7c6/_0x4639a1;},_0x323cfc['Xiett']=function(_0x2b1559,_0x51f2ca){return _0x2b1559/_0x51f2ca;},_0x323cfc[_0xeef1ab(0x414,0x369)]=function(_0x271aa8,_0x31cdec){return _0x271aa8/_0x31cdec;},_0x323cfc['RZLFt']=function(_0x4ac078,_0x39ead5){return _0x4ac078>_0x39ead5;},_0x323cfc[_0x396c62(0x2de,0x42f)]=function(_0x22dbd3,_0xa23c48){return _0x22dbd3%_0xa23c48;},_0x323cfc[_0x396c62(0x3cc,0x57a)]=function(_0x3456a0,_0x2996a4){return _0x3456a0%_0x2996a4;};const _0x3c20d5=_0x323cfc,_0x3eadd8=Math[_0x396c62(0x1a1,0x362)](_0x3c20d5[_0x396c62(0x52b,0x382)](_0x496b5f,0x1814+0x105b*0x1+0x40f*-0x9)),_0x452726=Math[_0x396c62(0x18e,0x362)](_0x3c20d5['Xiett'](_0x3eadd8,0x1118+-0xe2*-0x2b+-0x1246*0x3)),_0x419a97=Math['floor'](_0x3c20d5[_0x396c62(0x328,0x3f4)](_0x452726,-0xb7+0x36a+-0x277)),_0x5711a8=Math[_0xeef1ab(0x2e7,0x358)](_0x3c20d5['LqxKM'](_0x419a97,0x140a+0x1ab9+-0xd*0x397));if(_0x3c20d5[_0xeef1ab(0x4bd,0x4bf)](_0x5711a8,-0x2e2+0xc84+-0x9a2))return _0x5711a8+'d\x20'+_0x3c20d5['oaPoQ'](_0x419a97,-0x1*-0x129d+-0x193+-0x5a6*0x3)+'h\x20'+_0x452726%(0x1f89*-0x1+-0x5*0x608+0x53*0xbf)+'m';function _0x396c62(_0x488811,_0xdbe189){return _0x20fd2f(_0x488811,_0xdbe189-0x305);}function _0xeef1ab(_0x371014,_0x3fbea7){return _0x20fd2f(_0x3fbea7,_0x371014-0x28a);}if(_0x3c20d5[_0xeef1ab(0x4bd,0x63c)](_0x419a97,0x2665+0x1b5a+-0x41bf))return _0x419a97+'h\x20'+_0x452726%(-0x1621+-0x68e*-0x5+-0xa69)+'m\x20'+_0x3c20d5['FkIMn'](_0x3eadd8,0x2*0x5e+-0x1*-0x20d+-0x28d)+'s';if(_0x452726>-0xbd6+-0x159a+0x2170)return _0x452726+'m\x20'+_0x3c20d5[_0x396c62(0x76e,0x57a)](_0x3eadd8,0x1db4+-0x1e69+0xf1)+'s';return _0x3eadd8+'s';}if(command===_0x18cc4f(0x4b9,0x40f)){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process['kill'](watchdogPid,_0x20fd2f(0x10a,0x97)+'RM'),console[_0x18cc4f(0x458,0x436)](_0x20fd2f(-0x6b,0x163)+_0x18cc4f(0x5e0,0x656)+_0x18cc4f(0x43d,0x5b4)+_0x20fd2f(0x22e,0x280)+_0x18cc4f(0x4db,0x61e)+_0x20fd2f(0x1d9,0x8e)+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x50dd52){console[_0x18cc4f(0x368,0x539)](_0x18cc4f(0x444,0x586)+_0x18cc4f(0x4f0,0x658)+_0x18cc4f(0x249,0x371)+'p\x20Upl'+'ink\x20w'+_0x20fd2f(0x10,0x135)+_0x20fd2f(-0x31f,-0x125)+_0x18cc4f(0x561,0x56d)+watchdogPid+'):',_0x50dd52[_0x20fd2f(-0x67,0x154)+'ge']),process[_0x18cc4f(0x6b8,0x5f8)](-0x2246*-0x1+0x1b19*-0x1+-0x72c);}process['exit'](-0x1d98+0x1fd+0x1b9b);}const pid=getPid();!pid&&(console[_0x20fd2f(-0x1a0,-0x49)](_0x18cc4f(0x54c,0x5e2)+_0x20fd2f(0x14f,0x15b)+'s\x20not'+_0x20fd2f(0xc0,0xb6)+_0x20fd2f(0xae,0x19e)),process[_0x18cc4f(0x502,0x5f8)](0x761*0x3+0x12cb+-0x326*0xd));try{process[_0x18cc4f(0x3b9,0x46d)](pid,_0x18cc4f(0x3e8,0x516)+'RM'),console[_0x18cc4f(0x40c,0x436)](_0x20fd2f(0x217,0x163)+'ink\x20s'+'toppe'+_0x18cc4f(0x52e,0x4e9)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x1aa232){console[_0x18cc4f(0x5e4,0x539)](_0x20fd2f(0x164,0x107)+'led\x20t'+_0x20fd2f(-0x1ad,-0x10e)+'p\x20Upl'+_0x20fd2f(-0x17c,-0xa3)+'PID\x20'+pid+'):',_0x1aa232[_0x18cc4f(0x6dd,0x5d3)+'ge']),process['exit'](0x29f*0xd+0x1020+-0x3232);}process['exit'](-0x24df+-0xf23+0x3402);}if(command==='updat'+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x18cc4f(0x6d9,0x55e)+_0x18cc4f(0x50a,0x6ec)+'on')),currentVersion=pkg['versi'+'on'];console['log']('⬡\x20Cur'+_0x20fd2f(0x14a,-0x3)+_0x20fd2f(-0x2b,0x10a)+_0x18cc4f(0x2bf,0x3b3)+currentVersion),console['log'](_0x18cc4f(0x551,0x730)+_0x20fd2f(0x6c,0x2b)+_0x18cc4f(0x384,0x527)+_0x18cc4f(0x77b,0x716)+_0x18cc4f(0x764,0x675)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x18cc4f(0x2ed,0x436)]('⬡\x20Sto'+_0x20fd2f(-0x51,-0x24)+'\x20Upli'+'nk\x20be'+_0x18cc4f(0x4ea,0x420)+'updat'+_0x20fd2f(0x366,0x185));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process[_0x18cc4f(0x41e,0x46d)](pidToKill,'SIGTE'+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x376f50={};_0x376f50[_0x18cc4f(0x761,0x5f5)]=_0x20fd2f(0x10f,0x84)+'e',execSync(_0x20fd2f(-0x165,0x73)+_0x20fd2f(-0xe,0x1ae)+'/dev/'+_0x18cc4f(0x2fc,0x4a6)+'||\x20ti'+_0x18cc4f(0x688,0x611)+_0x20fd2f(0x8a,0x39)+'\x20/nob'+_0x18cc4f(0x385,0x477)+'>nul\x20'+_0x20fd2f(0x89,0x1ce),_0x376f50);}catch{}}try{console[_0x18cc4f(0x2d0,0x436)](_0x18cc4f(0x603,0x486)+_0x18cc4f(0x6e8,0x6ae)+_0x20fd2f(0xc7,0xc)+_0x20fd2f(0x260,0x17a)+_0x20fd2f(-0x80,0xda)+_0x18cc4f(0x2dc,0x442)+'-chat'+_0x20fd2f(0x1c,0x17));const _0x57d929={};_0x57d929['stdio']=_0x18cc4f(0x42c,0x384)+'it',execSync('npm\x20u'+'pdate'+_0x20fd2f(-0x12c,0xac)+_0x18cc4f(0x5b3,0x3dd)+_0x18cc4f(0x648,0x607)+_0x20fd2f(-0x11c,-0x55)+_0x20fd2f(0x2f5,0x102)+_0x18cc4f(0x292,0x3bf),_0x57d929);}catch(_0x2d71c5){console[_0x20fd2f(0x6f,0xba)](_0x20fd2f(0x32f,0x279)+'date\x20'+_0x20fd2f(0x271,0x128)+'d:',_0x2d71c5[_0x18cc4f(0x667,0x5d3)+'ge']),console[_0x18cc4f(0x479,0x539)](_0x20fd2f(-0x117,0x8)+_0x20fd2f(0x149,0xb6)+_0x18cc4f(0x76f,0x58d)+'anual'+_0x20fd2f(0x1df,0x1de)+_0x20fd2f(-0x1f0,-0x89)+'date\x20'+_0x18cc4f(0x6d8,0x659)+_0x20fd2f(0x38,0xe4)+_0x20fd2f(0xb2,0x23f)+'/upli'+_0x20fd2f(0x93,0x26f)+'at');if(wasRunning){console[_0x20fd2f(-0x80,-0x49)](_0x18cc4f(0x406,0x445)+_0x20fd2f(0x40d,0x225)+_0x20fd2f(-0x100,-0xcd)+_0x20fd2f(-0x171,-0x3d)+_0x18cc4f(0x823,0x6c9));const _0x28212c={};_0x28212c[_0x20fd2f(-0x75,0x176)]=_0x20fd2f(-0x154,-0xfb)+'it',execSync(_0x18cc4f(0x2cd,0x480)+_0x20fd2f(0x12,-0x120)+_0x20fd2f(0x154,-0x9d)+_0x18cc4f(0x71e,0x616)+_0x18cc4f(0x4e7,0x551)+'h',_0x28212c);}process['exit'](0x1*-0x14e3+0x1*0x1c9c+-0x7b8);}try{delete require[_0x18cc4f(0x61d,0x4a1)][join(ROOT,'packa'+_0x20fd2f(0x42a,0x26d)+'on')];const newPkg=require(join(ROOT,_0x18cc4f(0x4d5,0x55e)+'ge.js'+'on')),newVersion=newPkg[_0x20fd2f(-0xb8,0x10a)+'on'];newVersion!==currentVersion?console['log'](_0x18cc4f(0x76a,0x6f8)+_0x20fd2f(0x2,0x6b)+_0x18cc4f(0x8ba,0x6c8)+currentVersion+'\x20→\x20v'+newVersion):console[_0x20fd2f(-0x1bd,-0x49)]('\x0a⬡\x20Al'+_0x20fd2f(-0x148,-0xe0)+_0x18cc4f(0x58b,0x4e7)+_0x18cc4f(0x637,0x688)+_0x18cc4f(0x491,0x51c)+_0x20fd2f(0xd2,0x10a)+'on\x20(v'+currentVersion+').');}catch{console[_0x18cc4f(0x451,0x436)]('\x0a⬡\x20Up'+_0x20fd2f(0x262,0xfb)+_0x18cc4f(0x759,0x6a7)+'ete.');}if(wasRunning){console[_0x20fd2f(-0x144,-0x49)](_0x20fd2f(0x26f,0xf1)+'tarti'+_0x20fd2f(-0x2,-0xba)+'link.'+'..');try{const _0x1d0144={};_0x1d0144[_0x18cc4f(0x6c0,0x5f5)]=_0x18cc4f(0x47f,0x384)+'it',execSync(_0x20fd2f(0x43,0x1)+_0x20fd2f(0x4e,-0x120)+'t\x20sta'+_0x20fd2f(0x356,0x197)+_0x18cc4f(0x3a0,0x551)+'h',_0x1d0144);}catch{console[_0x20fd2f(0x112,-0x49)](_0x20fd2f(0x1c3,0x231)+_0x18cc4f(0x312,0x3db)+_0x20fd2f(0x159,0x15a)+'faile'+'d.\x20St'+_0x18cc4f(0x28a,0x415)+_0x20fd2f(0xd1,0x29e)+_0x20fd2f(-0x58,0x10b)+_0x20fd2f(0x3a4,0x234)+'plink'+'-chat'+_0x18cc4f(0x2e5,0x3ed)+'t');}}process[_0x18cc4f(0x7a7,0x5f8)](0x121*0x1a+-0x8*-0x298+0x1*-0x321a);}if(command==='statu'+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x20fd2f(-0x170,-0x8a)]()-state['start'+_0x20fd2f(0x1ab,0xd0)]);console[_0x20fd2f(-0x197,-0x49)]('⬡\x20Upl'+_0x20fd2f(0x30f,0x15b)+_0x20fd2f(-0x155,-0xe6)+_0x18cc4f(0x5e0,0x597)+_0x20fd2f(-0x1ca,-0x11a)+_0x18cc4f(0x25a,0x44a)+_0x20fd2f(0x21a,0x1f0)),console[_0x18cc4f(0x2ec,0x436)]('\x20\x20Wat'+_0x20fd2f(0xd3,0x250)+_0x20fd2f(0x251,0x2ae)+'\x20'+watchdogPid);if(state[_0x18cc4f(0x3c5,0x43a)+_0x20fd2f(-0x52,0xd4)])console[_0x18cc4f(0x5d8,0x436)](_0x20fd2f(0xf,-0x9a)+_0x18cc4f(0x3f9,0x38d)+_0x18cc4f(0x34a,0x393)+'\x20'+state['serve'+'rPid']);console[_0x18cc4f(0x3ee,0x436)]('\x20\x20Upt'+_0x18cc4f(0x472,0x523)+_0x20fd2f(-0x49,0x18f)+'\x20'+uptime),console['log'](_0x20fd2f(-0x1a,-0x88)+_0x20fd2f(0x71,-0x10)+_0x18cc4f(0x5d1,0x755)+'\x20'+(state[_0x20fd2f(-0x89,-0x8d)+'rtCou'+'nt']||-0x8bf+-0x2358+0x2c17));if(state[_0x18cc4f(0x37f,0x50f)+_0x18cc4f(0x561,0x5f4)]>-0x103+0x952*0x4+0x205d*-0x1)console[_0x20fd2f(0x13f,-0x49)]('\x20\x20Bac'+_0x18cc4f(0x734,0x703)+'\x20\x20\x20\x20\x20'+'\x20'+state[_0x20fd2f(0x1b1,0x90)+_0x20fd2f(0x2bc,0x175)]+'ms');}else{const pid=getPid();pid?console['log'](_0x18cc4f(0x723,0x5e2)+_0x20fd2f(0x94,0x15b)+_0x20fd2f(-0x9e,-0xe6)+_0x18cc4f(0x6bd,0x597)+'(PID\x20'+pid+').'):console[_0x20fd2f(-0x116,-0x49)]('⬡\x20Upl'+_0x18cc4f(0x59b,0x5da)+_0x18cc4f(0x5e6,0x61a)+_0x18cc4f(0x576,0x535)+_0x20fd2f(0x2a0,0x19e));}process['exit'](-0x21fd+0x1e2c+-0x1*-0x3d1);}if(command===_0x20fd2f(0x14f,0x1b9)+'tall'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x18cc4f(0x5b4,0x6ec)+'on')),readline=await import(_0x20fd2f(0x1ba,-0x5)+_0x18cc4f(0x8ca,0x6e1)),{rmSync}=await import('fs');console[_0x20fd2f(-0x132,-0x49)](_0x20fd2f(0x2ab,0xd6)+_0x20fd2f(0xb7,0x263)+'k\x20Uni'+_0x20fd2f(0x227,0x37)+_0x18cc4f(0x59d,0x550)+pkg['versi'+'on']+'\x0a'),console[_0x20fd2f(-0x5,-0x49)]('\x20\x20Thi'+_0x20fd2f(-0xd9,0x3f)+'l:'),console['log'](_0x20fd2f(-0x1d4,-0xdf)+'\x20Stop'+_0x20fd2f(0x226,0x2b7)+_0x20fd2f(0x115,0x263)+_0x18cc4f(0x6b4,0x5f6)+_0x18cc4f(0x41a,0x5a8)+_0x20fd2f(-0x41,0x9c)+_0x20fd2f(-0xa5,-0xd1)+'g'),console['log']('\x20\x20\x20\x20•'+_0x18cc4f(0x5ea,0x617)+'ve\x20al'+_0x20fd2f(0x6e,0x58)+_0x18cc4f(0x660,0x6f9)+_0x18cc4f(0x4f1,0x5db)+'\x20(.en'+'v,\x20co'+_0x20fd2f(-0x2a1,-0x114)+_0x18cc4f(0x691,0x6a5)+')'),console[_0x18cc4f(0x529,0x436)](_0x20fd2f(-0x102,-0xdf)+_0x18cc4f(0x500,0x617)+_0x18cc4f(0x2f2,0x491)+_0x20fd2f(0x90,-0x91)+_0x18cc4f(0x2e2,0x4c4)+_0x20fd2f(0xcd,0x14c)+_0x20fd2f(0x18b,0x162)+'\x20data'),console[_0x20fd2f(-0x10e,-0x49)](_0x20fd2f(-0x275,-0xdf)+'\x20Remo'+_0x18cc4f(0x38e,0x491)+_0x20fd2f(0x224,0x1b8)+'s\x20and'+_0x20fd2f(0xf6,0x260)+_0x20fd2f(0x6c,0x226)),console[_0x20fd2f(0x2f,-0x49)](_0x18cc4f(0x35a,0x3a0)+'\x20Remo'+'ve\x20ag'+_0x20fd2f(0xa5,0x78)+_0x20fd2f(-0x9e,0x83)+_0x18cc4f(0x3a9,0x409)+'\x20audi'+'o\x20fil'+'es'),console['log'](_0x20fd2f(-0x233,-0xdf)+_0x18cc4f(0x63b,0x4ed)+_0x20fd2f(0xbf,-0x34)+'\x20the\x20'+_0x20fd2f(0xf0,-0xbb)+_0x20fd2f(0x108,0xf6)+_0x18cc4f(0x3e4,0x4e1)+_0x18cc4f(0x433,0x5fb)+'\x0a'),console[_0x20fd2f(-0x221,-0x49)]('\x20\x20⚠️\x20\x20'+'This\x20'+'actio'+_0x18cc4f(0x6a2,0x744)+_0x20fd2f(0x79,-0xd6)+_0x20fd2f(0x283,0x251)+_0x18cc4f(0x62e,0x48c));const _0x261da0={};_0x261da0[_0x18cc4f(0x5cc,0x6a6)]=process['stdin'],_0x261da0[_0x20fd2f(-0xd0,0xb4)+'t']=process[_0x18cc4f(0x5b8,0x48e)+'t'];const rl=readline[_0x20fd2f(0x2c1,0x1c2)+_0x18cc4f(0x403,0x3ab)+_0x20fd2f(0x12b,0xd5)](_0x261da0),answer=await new Promise(_0x169486=>{function _0x4b4676(_0x5a94ee,_0x27a398){return _0x18cc4f(_0x5a94ee,_0x27a398- -0xd7);}const _0x4929d3={};_0x4929d3[_0x4b4676(0x384,0x28d)]=_0x4b4676(0x5b9,0x666)+_0x3a0411(-0x1b,-0xc8)+_0x4b4676(0x315,0x335)+_0x4b4676(0x483,0x4bd)+'o\x20con'+'firm:'+'\x20';const _0x34fb22=_0x4929d3;function _0x3a0411(_0x3ece64,_0x58ffc9){return _0x18cc4f(_0x3ece64,_0x58ffc9- -0x5e6);}rl[_0x3a0411(-0x247,-0x11e)+_0x4b4676(0x29f,0x2da)](_0x34fb22['YisdN'],_0x169486);});rl[_0x20fd2f(-0x198,0x36)]();answer['trim']()[_0x20fd2f(0x190,0x126)+'erCas'+'e']()!==_0x18cc4f(0x5c8,0x638)+_0x20fd2f(0x110,0x14f)&&(console[_0x18cc4f(0x3f1,0x436)](_0x20fd2f(0x172,0x6c)+'ncell'+_0x20fd2f(0x330,0x264)+_0x20fd2f(0x10b,-0xf0)+'g\x20was'+_0x20fd2f(0x233,0x141)+'ved.\x0a'),process[_0x20fd2f(0x11,0x179)](-0x1764+-0x21a3+-0x1*-0x3907));console['log']('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x20fd2f(0x17,-0x12)](watchdogPid,_0x18cc4f(0x69e,0x516)+'RM'),console[_0x20fd2f(-0x3a,-0x49)](_0x20fd2f(-0x2,0x6f)+_0x18cc4f(0x719,0x5e5)+_0x18cc4f(0x50f,0x6c5)+_0x20fd2f(0x28d,0x250)+'\x20(PID'+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x20fd2f(-0x48,-0x12)](serverPid,_0x18cc4f(0x4c3,0x516)+'RM'),console['log']('\x20\x20✓\x20S'+'toppe'+_0x20fd2f(0x45,0x18)+_0x20fd2f(-0x14e,0x4a)+'PID\x20'+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x18cc4f(0x318,0x436)](_0x18cc4f(0x437,0x4ee)+_0x18cc4f(0x636,0x53f)+'\x20not\x20'+'runni'+'ng');const legacyToRemove=[_0x20fd2f(0x3ec,0x25a),'confi'+'g.jso'+'n','.upli'+'nk.pi'+'d','.upli'+'nk-wa'+_0x20fd2f(-0x290,-0xd1)+_0x20fd2f(0x109,0x139),'.upli'+_0x18cc4f(0x6bb,0x63f)+_0x20fd2f(-0xe2,-0xd1)+_0x20fd2f(0x198,0x1c7)+'n',_0x20fd2f(0x183,0x25e)+_0x20fd2f(0x2eb,0x1c0)+_0x20fd2f(-0x1e0,-0xd1)+_0x20fd2f(-0x4d,-0x94),_0x18cc4f(0x516,0x6dd)+_0x18cc4f(0x3ca,0x3a3)+_0x20fd2f(0x460,0x2d4)+_0x20fd2f(-0x223,-0x49),'activ'+'ity.j'+'son',_0x18cc4f(0x798,0x5d3)+_0x20fd2f(-0x164,-0xe3)+'ync.j'+_0x20fd2f(0x1d5,0x230),_0x18cc4f(0x205,0x3aa)+_0x20fd2f(0x27e,0x242)+_0x20fd2f(0x286,0x1f3)+_0x18cc4f(0x512,0x394)+_0x18cc4f(0x4cf,0x6af),'misse'+'d-mes'+_0x18cc4f(0x5c8,0x6b5)+_0x18cc4f(0x574,0x479),_0x18cc4f(0x3da,0x396)+'ds',_0x20fd2f(-0x15a,0x4d)+_0x20fd2f(-0x5b,0x14e),_0x18cc4f(0x31d,0x3bd)+_0x18cc4f(0x639,0x699)+'io',_0x20fd2f(0xf7,-0xc2)+_0x18cc4f(0x531,0x3ca)+_0x18cc4f(0x4c8,0x4bf)+'ts'];let removed=-0x1c8+-0x95e+0xb26;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x5ab28d={};_0x5ab28d[_0x20fd2f(0x3a7,0x203)+_0x18cc4f(0x8b4,0x72f)]=!![],_0x5ab28d['force']=!![],rmSync(fullPath,_0x5ab28d),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0xa65595={};_0xa65595[_0x20fd2f(0x11e,0x203)+_0x18cc4f(0x5d2,0x72f)]=!![],_0xa65595[_0x20fd2f(-0x194,-0x8f)]=!![],rmSync(DATA_DIR,_0xa65595),removed++,console['log'](_0x20fd2f(0x170,-0x53)+_0x18cc4f(0x50c,0x5fa)+_0x20fd2f(0x337,0x1ee)+_0x18cc4f(0x421,0x5c4)+_0x20fd2f(0x63,0x223)+_0x18cc4f(0x5bb,0x737)+DATA_DIR);}catch{}console[_0x20fd2f(-0x6d,-0x49)](_0x20fd2f(0x6b,-0x53)+_0x20fd2f(0x2ec,0x17b)+'d\x20'+removed+(_0x20fd2f(0xac,0x148)+_0x18cc4f(0x59a,0x4ce)+_0x18cc4f(0x5d3,0x58e)+_0x18cc4f(0x728,0x6a2)+_0x20fd2f(-0xc7,0xf8))),console[_0x18cc4f(0x4fa,0x436)](_0x20fd2f(-0x14,-0x53)+_0x20fd2f(-0xc9,0x122)+_0x20fd2f(-0x151,0x65)+'m\x20pac'+_0x20fd2f(-0xed,-0x77)+_0x18cc4f(0x6cf,0x4e6));try{const _0x37af43={};_0x37af43[_0x18cc4f(0x6fe,0x5f5)]=_0x18cc4f(0x34c,0x384)+'it',execSync('npm\x20u'+_0x18cc4f(0x611,0x465)+_0x18cc4f(0x32c,0x37d)+_0x20fd2f(-0x20f,-0xd8)+'oncom'+'pany/'+_0x20fd2f(0x16c,0x1)+_0x20fd2f(-0x28b,-0x120)+'t',_0x37af43),console[_0x18cc4f(0x25f,0x436)](_0x18cc4f(0x563,0x555)+_0x18cc4f(0x5d2,0x6e2)+_0x18cc4f(0x8bd,0x6f2)+'\x20been'+_0x18cc4f(0x280,0x476)+'letel'+_0x18cc4f(0x370,0x467)+'nstal'+_0x20fd2f(0x2ec,0x240)),console[_0x20fd2f(0x8b,-0x49)](_0x20fd2f(0x245,0x29c)+_0x20fd2f(0x5b,-0x103)+_0x18cc4f(0x60b,0x746)+_0x20fd2f(-0x2c,-0xcd)+_0x18cc4f(0x514,0x442)+'.\x20👋\x0a');}catch(_0x505335){console['error'](_0x20fd2f(-0x1d3,-0x96)+_0x20fd2f(0x2f2,0x1a0)+_0x20fd2f(0x14c,0x199)+_0x20fd2f(-0x13a,-0x47)+_0x20fd2f(-0x154,-0x34)+_0x20fd2f(0x13,-0x72)+'packa'+'ge.'),console['error'](_0x20fd2f(0x1b5,0x1b1)+_0x18cc4f(0x6dd,0x5bc)+_0x20fd2f(-0x2f8,-0x10a)+_0x20fd2f(-0x1d,-0x72)+'unins'+_0x20fd2f(0x16,0x9)+_0x18cc4f(0x529,0x659)+'oonco'+_0x18cc4f(0x7c4,0x6be)+_0x18cc4f(0x748,0x5b1)+'nk-ch'+_0x18cc4f(0x765,0x631)),process[_0x20fd2f(0x294,0x179)](-0x30*-0x89+-0x1*-0x634+-0x9*0x38b);}process[_0x18cc4f(0x715,0x5f8)](0x2224+0x1*0xcba+-0x2ede);}if(command===_0x20fd2f(0x3a,-0xe8)){const LOG_FILE=join(ROOT,_0x20fd2f(0x7b,-0x45)+_0x18cc4f(0x545,0x54c)),ALT_LOG_FILE=join(ROOT,_0x18cc4f(0x75b,0x6dd)+_0x18cc4f(0x3eb,0x3a3)+_0x18cc4f(0x65a,0x753)+_0x18cc4f(0x470,0x436)),DATA_LOG_FILE=join(DATA_DIR,_0x18cc4f(0x609,0x6dd)+_0x18cc4f(0x3b4,0x3a3)+_0x18cc4f(0x697,0x753)+'log'),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;if(!logFile){const RhsXWB=(_0x20fd2f(0x271,0x116)+_0x18cc4f(0x5fb,0x635)+_0x18cc4f(0x732,0x569))[_0x18cc4f(0x5d0,0x3df)]('|');let ZEMxqm=0xba7*-0x1+-0x1*-0x1d56+-0x11af;while(!![]){switch(RhsXWB[ZEMxqm++]){case'0':console[_0x20fd2f(0xf3,-0x49)](_0x18cc4f(0x2ef,0x4d2)+_0x18cc4f(0x2a8,0x413)+'\x20loca'+_0x20fd2f(0x2d4,0x255)+':');continue;case'1':console[_0x20fd2f(-0x33,-0x49)]('⬡\x20No\x20'+_0x18cc4f(0x672,0x4d3)+'ile\x20f'+_0x20fd2f(0x1e1,0x1ef));continue;case'2':console[_0x20fd2f(-0x143,-0x49)]('');continue;case'3':console[_0x20fd2f(0x181,-0x49)](_0x18cc4f(0x641,0x5ee)+'s\x20are'+_0x18cc4f(0x1d0,0x367)+'ted\x20w'+'hen\x20t'+_0x20fd2f(-0x176,-0x57)+'rver\x20'+_0x18cc4f(0x659,0x45f));continue;case'4':console[_0x18cc4f(0x3b0,0x436)](_0x20fd2f(0x2fd,0x169)+LOG_FILE);continue;case'5':console['log'](_0x20fd2f(0x2ac,0x218)+'rt\x20th'+_0x18cc4f(0x4e4,0x4ab)+_0x20fd2f(0x95,0x26a)+'irst:'+_0x20fd2f(0x273,0xb0)+'nk-ch'+'at\x20st'+_0x20fd2f(-0x8c,-0x95));continue;case'6':console['log'](_0x18cc4f(0x4b8,0x5e8)+ALT_LOG_FILE);continue;case'7':process[_0x18cc4f(0x492,0x5f8)](0x1151+0x10c*0x16+-0x2858);continue;}break;}}const lines=flags[_0x18cc4f(0x376,0x433)]||0x1c*-0x160+0x232a+0x388;try{const content=readFileSync(logFile,_0x18cc4f(0x644,0x4c3)),allLines=content[_0x18cc4f(0x23c,0x3df)]('\x0a'),tail=allLines[_0x18cc4f(0x555,0x572)](-lines)[_0x20fd2f(0x3d3,0x266)]('\x0a');console[_0x18cc4f(0x575,0x436)](_0x20fd2f(0x322,0x26b)+'wing\x20'+'last\x20'+lines+(_0x18cc4f(0x47b,0x5f3)+_0x20fd2f(0x301,0x1f1)+'m\x20')+logFile+'\x0a'),console[_0x20fd2f(-0x1fc,-0x49)](tail);}catch(_0x54bed3){console[_0x20fd2f(0xcb,0xba)](_0x18cc4f(0x395,0x586)+_0x20fd2f(0x3d,0x1d9)+_0x20fd2f(0x19e,0x298)+_0x18cc4f(0x575,0x3f9)+_0x18cc4f(0x5e7,0x4ce)+':\x20'+_0x54bed3[_0x20fd2f(0x27,0x154)+'ge']),process[_0x20fd2f(0x23f,0x179)](-0xc0b+-0xab7*-0x3+-0x1419);}console['log'](_0x18cc4f(0x580,0x67f)+_0x18cc4f(0x30d,0x49c)+_0x18cc4f(0x47f,0x63e)+_0x20fd2f(0x203,0xae)+_0x20fd2f(-0x37,0x4e)+_0x20fd2f(0x349,0x1c3)+_0x18cc4f(0x826,0x750)+_0x20fd2f(-0x259,-0xdd)+_0x18cc4f(0x57f,0x6aa)+'\x20stop'+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x18cc4f(0x4e9,0x4fe)];const watcher=fsModule[_0x18cc4f(0x716,0x620)](logFile,()=>{const _0x28911f={'jjPiL':function(_0x31d38d,_0x330d0b){return _0x31d38d(_0x330d0b);},'XVllT':function(_0x444a2f,_0x588fcc,_0xe284a3){return _0x444a2f(_0x588fcc,_0xe284a3);},'YFMvI':'utf8','XhFFc':function(_0x5aacaf,_0x430441){return _0x5aacaf(_0x430441);},'DpbuZ':function(_0xc5f394,_0x2d7d93){return _0xc5f394(_0x2d7d93);},'yMtJZ':function(_0x16ad26,_0x192711){return _0x16ad26(_0x192711);},'AVCFV':_0xc9a515(0x37b,0x26a)+_0xc9a515(0x26b,0x29f),'xQILO':'not\x20f'+'ound\x20'+_0x107c16(0x3f0,0x3e8)+':\x20upl'+_0xc9a515(0x213,0x160)+_0x107c16(0x2ea,0x30d)+_0xc9a515(-0x113,0x1)+_0x107c16(0x404,0x351)+'it','wBkiy':_0xc9a515(0x257,0x14f)+_0xc9a515(0x3e8,0x327)+_0x107c16(0x289,0x35e)+'link.'+'..','qfMzr':function(_0x2460e8,_0x12ee6f,_0x3c5a73){return _0x2460e8(_0x12ee6f,_0x3c5a73);},'Fskpv':_0x107c16(0x509,0x419)+'k-cha'+_0x107c16(0x283,0x37b)+_0x107c16(0x579,0x5af)+_0x107c16(0x533,0x4ea)+'h','ATODb':_0x107c16(0x3d4,0x31d)+'it','ceYmL':_0x107c16(0x75b,0x649)+'o-res'+_0x107c16(0x646,0x572)+_0x107c16(0x56f,0x540)+_0xc9a515(-0x106,-0x9a)+_0xc9a515(0x152,-0xc)+_0x107c16(0x5b0,0x6b6)+_0x107c16(0x54a,0x523)+'th:\x20u'+_0x107c16(0x461,0x3db)+_0xc9a515(-0xb,0x1b)+_0x107c16(0x2f9,0x386)+'t','LmMnW':_0xc9a515(0xca,-0x6c),'DjKTF':function(_0x328a42,_0x3d0313){return _0x328a42>_0x3d0313;},'pmsNP':function(_0xf3e065,_0xcd978c){return _0xf3e065!==_0xcd978c;},'xUudH':_0xc9a515(0x17b,0x4b),'AAFgu':_0xc9a515(0x1a2,0xe4),'IaJaJ':function(_0x24843c,_0x34b933){return _0x24843c<_0x34b933;},'USERF':'rgLPu'};function _0xc9a515(_0x5e588b,_0x223f7a){return _0x20fd2f(_0x5e588b,_0x223f7a-0x5e);}function _0x107c16(_0x37e2ac,_0x3b8f3a){return _0x20fd2f(_0x37e2ac,_0x3b8f3a-0x418);}try{if(_0x28911f[_0x107c16(0x569,0x5b2)]===_0x28911f[_0xc9a515(0x33e,0x1f8)]){const _0x25e058=fsModule[_0x107c16(0x172,0x2f6)+_0xc9a515(-0x1b3,-0x21)](logFile,'r'),_0x32c52b=fsModule['fstat'+_0x107c16(0x522,0x4d4)](_0x25e058)[_0xc9a515(0x9d,0xdd)];if(_0x28911f[_0x107c16(0x47e,0x4b8)](_0x32c52b,position)){if(_0x28911f[_0xc9a515(0x374,0x195)](_0x28911f[_0xc9a515(0x89,0x13b)],_0x28911f[_0x107c16(0x3f8,0x30b)])){const _0x3e09d0=Buffer[_0x107c16(0x58f,0x5cf)](_0x32c52b-position);fsModule[_0x107c16(0x455,0x3e2)+_0xc9a515(-0x210,-0x21)](_0x25e058,_0x3e09d0,0x76*0x1c+-0x10bb+-0x1*-0x3d3,_0x3e09d0['lengt'+'h'],position),process[_0xc9a515(0x61,0x6d)+'t'][_0xc9a515(0x228,0x99)](_0x3e09d0['toStr'+_0xc9a515(-0x120,-0xb7)](_0x28911f[_0x107c16(0x490,0x40e)])),position=_0x32c52b;}else{if(!xndtFk['jjPiL'](_0x3a7399,_0x564847))return null;const _0x4853bf=_0x322072(xndtFk[_0xc9a515(0x105,-0x87)](_0x13ca95,_0x1cc6b4,xndtFk['YFMvI'])[_0x107c16(0x47a,0x5ae)](),-0x9*-0x2a7+-0xd9f*-0x1+0xc*-0x31f);if(xndtFk['XhFFc'](_0x55efc2,_0x4853bf)||!xndtFk[_0xc9a515(0x345,0x29b)](_0x353390,_0x4853bf)){try{xndtFk[_0xc9a515(0x2a9,0x208)](_0x192893,_0x3d9564);}catch{}return null;}return _0x4853bf;}}else _0x28911f['IaJaJ'](_0x32c52b,position)&&(_0x28911f[_0x107c16(0x144,0x31a)]==='boLGx'?_0x287555(_0x28911f[_0x107c16(0x69b,0x500)],_0x28911f[_0xc9a515(0x2b5,0x22d)]):position=-0x1*0x24c5+-0x191e+0x3de3);fsModule['close'+_0x107c16(0x466,0x4d4)](_0x25e058);}else{_0x53ea23[_0x107c16(0x29b,0x3cf)](xndtFk['wBkiy']);try{xndtFk[_0xc9a515(0x116,0x19d)](_0xba323f,xndtFk[_0x107c16(0x4e2,0x4c7)],{'stdio':xndtFk[_0x107c16(0x4fa,0x460)]});}catch{_0x21d8a8[_0x107c16(0x48c,0x3cf)](xndtFk[_0x107c16(0x5c3,0x5c1)]);}}}catch{}});process['on'](_0x18cc4f(0x6f3,0x6a8)+'T',()=>{watcher['close']();function _0x457f4f(_0x367564,_0x100fe5){return _0x18cc4f(_0x367564,_0x100fe5- -0x1e8);}process[_0x457f4f(0x5ef,0x410)](0x53*-0x3a+0xfe6+0x2e8);}),process['on'](_0x18cc4f(0x5d6,0x516)+'RM',()=>{function _0x1dc742(_0x3e3cd3,_0x4a9701){return _0x20fd2f(_0x4a9701,_0x3e3cd3-0x412);}function _0x2ebe1e(_0xe86f3a,_0x2846ea){return _0x20fd2f(_0xe86f3a,_0x2846ea-0x118);}watcher[_0x2ebe1e(-0x67,0x14e)](),process[_0x2ebe1e(0x308,0x291)](-0x21d6+-0x1b7f*-0x1+-0x657*-0x1);});}if(command===_0x18cc4f(0x619,0x5cf)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x18cc4f(0x5f7,0x6d9)))?join(DATA_DIR,'.env'):join(ROOT,_0x20fd2f(0x1cb,0x25a));flags[_0x18cc4f(0x624,0x4b7)]&&(console[_0x18cc4f(0x4c3,0x436)](ENV_FILE),process[_0x18cc4f(0x510,0x5f8)](0x3*0xce6+0x15c1*0x1+0x26b*-0x19));if(flags[_0x20fd2f(-0x20c,-0xb0)]){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x20fd2f(0xb1,0xbe)+_0x20fd2f(0x1b9,-0x1b)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x20fd2f(0x14,0x44))),console[_0x20fd2f(-0x80,-0x49)](_0x18cc4f(0x413,0x406)+'ated\x20'+_0x20fd2f(0x1e7,0x20c)+_0x18cc4f(0x51f,0x706)+'.env.'+'examp'+'le')):(writeFileSync(ENV_FILE,_0x18cc4f(0x78e,0x678)+_0x20fd2f(-0xe6,0x10c)+_0x18cc4f(0x5cc,0x422)+_0x20fd2f(0x1e3,0x211)+_0x20fd2f(0x33,-0x62)),console['log'](_0x18cc4f(0x323,0x406)+_0x20fd2f(0x193,0x296)+_0x18cc4f(0x6dc,0x5ef)+_0x20fd2f(-0x9a,0xad)+_0x18cc4f(0x538,0x4ce)));}const editor=process.env.EDITOR||(process[_0x20fd2f(0x6,0xfd)+_0x20fd2f(-0x1c,0x92)]===_0x20fd2f(-0xc9,0xaa)?_0x20fd2f(-0x159,-0xa6)+'ad':'nano');console[_0x20fd2f(-0x125,-0x49)](_0x18cc4f(0x74f,0x5a2)+_0x18cc4f(0x421,0x597)+ENV_FILE+'\x20in\x20'+editor+_0x20fd2f(0x26c,0x24a));try{const _0x25e5cc={};_0x25e5cc[_0x20fd2f(-0x4e,0x176)]=_0x20fd2f(-0x115,-0xfb)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x25e5cc);}catch(_0x5ee002){console[_0x20fd2f(0x14e,0xba)](_0x20fd2f(0x24f,0x107)+'led\x20t'+'o\x20ope'+'n\x20edi'+'tor:\x20'+_0x5ee002['messa'+'ge']),console[_0x20fd2f(0x10a,0xba)](_0x18cc4f(0x5bd,0x478)+_0x18cc4f(0x401,0x545)+'OR\x20en'+_0x20fd2f(0x266,0x219)+_0x20fd2f(-0x9d,-0x87)+_0x18cc4f(0x6ee,0x68f)+_0x20fd2f(0x317,0x29e)+_0x18cc4f(0x58b,0x42f)+ENV_FILE),process[_0x20fd2f(0x2e7,0x179)](-0x2*-0x4a8+0x1*-0x891+0x2*-0x5f);}process[_0x20fd2f(0x291,0x179)](0x21cb*0x1+-0x680+-0x1b4b);}!existsSync(ENV_FILE)&&(console[_0x18cc4f(0x3b9,0x436)](_0x20fd2f(0x434,0x27f)+_0x20fd2f(0x322,0x20c)+'file\x20'+_0x18cc4f(0x8c2,0x70e)+'.'),console['log'](_0x18cc4f(0x512,0x378)+_0x18cc4f(0x7df,0x719)+_0x20fd2f(0x50,0x5c)+_0x20fd2f(0x59,0x234)+_0x18cc4f(0x43c,0x442)+_0x20fd2f(0x92,-0x43)+_0x20fd2f(0x7,-0x25)+'ig\x20--'+_0x18cc4f(0x2f7,0x3cf)),console['log'](_0x20fd2f(0x4a5,0x2cf)+'copy\x20'+'the\x20e'+_0x20fd2f(-0x1d4,-0x23)+_0x20fd2f(0x13b,0x257)+_0x20fd2f(0x16c,0xad)+_0x20fd2f(0x350,0x239)+_0x18cc4f(0x74b,0x65a)+_0x18cc4f(0x5db,0x4b0)),process[_0x18cc4f(0x6cd,0x5f8)](0x1086+-0x11a7+-0x3a*-0x5));const SENSITIVE_KEYS=[_0x18cc4f(0x6b2,0x558),'KEY','SECRE'+'T',_0x20fd2f(-0x2a1,-0x113)+_0x20fd2f(0x19a,0x1a),_0x20fd2f(-0x2b0,-0xbe)+'NTIAL'];function maskValue(_0xd25382,_0x541837){const _0xfb73d7={};_0xfb73d7[_0x4d2aa2(-0x136,-0x8)]=function(_0xfdd056,_0x57f5ab){return _0xfdd056<=_0x57f5ab;},_0xfb73d7[_0x538110(0x3be,0x2bf)]=function(_0x8e8d91,_0x558bfc){return _0x8e8d91+_0x558bfc;};function _0x538110(_0x27c886,_0x10f4d1){return _0x20fd2f(_0x10f4d1,_0x27c886-0x2de);}_0xfb73d7[_0x4d2aa2(-0x10a,-0xe8)]=_0x4d2aa2(-0xe,-0x6c);function _0x4d2aa2(_0x1ae4bc,_0x785a08){return _0x20fd2f(_0x1ae4bc,_0x785a08-0x19);}const _0xee0440=_0xfb73d7,_0x2ceb0f=SENSITIVE_KEYS[_0x4d2aa2(-0x151,0x0)](_0x264379=>_0xd25382[_0x538110(0x4be,0x430)+_0x538110(0x2ef,0x179)+'e']()[_0x4d2aa2(0x40,0x93)+_0x4d2aa2(0x8c,0x21e)](_0x264379));if(!_0x2ceb0f||!_0x541837||_0xee0440[_0x538110(0x2bd,0x44e)](_0x541837['lengt'+'h'],0x1*0x23c5+0x379+-0x273a))return _0x541837;return _0xee0440[_0x538110(0x3be,0x20d)](_0x541837[_0x4d2aa2(-0x72,0x10c)](-0x300+-0x75*-0x9+0xf*-0x13,-0x301*0x2+-0xaea+0x8*0x21e),_0xee0440['loRjN']);}try{const content=readFileSync(ENV_FILE,'utf8'),entries=[];for(const line of content['split']('\x0a')){const trimmed=line[_0x20fd2f(0x1ba,0x196)]();if(!trimmed||trimmed[_0x18cc4f(0x4b4,0x6a4)+'sWith']('#'))continue;const eqIdx=trimmed['index'+'Of']('=');if(eqIdx===-(0xad5+-0x3*-0x3d9+0x3*-0x775))continue;const key=trimmed[_0x20fd2f(-0x95,0xf3)](-0x26*-0x7d+0x2*-0x17f+0x53*-0x30,eqIdx)[_0x20fd2f(0x65,0x196)](),val=trimmed[_0x18cc4f(0x704,0x572)](eqIdx+(0x251*0x10+-0x2f*0x1+0x8*-0x49c))['trim']();entries[_0x18cc4f(0x604,0x6c7)]([key,val]);}entries[_0x18cc4f(0x4b0,0x5b3)+'h']===0x1e69+-0x17*-0x175+-0x3fec*0x1&&(console[_0x18cc4f(0x3bb,0x436)]('⬡\x20.en'+_0x18cc4f(0x442,0x369)+_0x18cc4f(0x63c,0x471)+_0x18cc4f(0x597,0x5ef)+_0x18cc4f(0x71f,0x74f)+_0x18cc4f(0x66f,0x601)+_0x18cc4f(0x47e,0x581)+_0x20fd2f(-0x2c4,-0x10b)+'onfig'+_0x18cc4f(0x4fa,0x3b8)+'it'),process[_0x20fd2f(0x261,0x179)](-0x2502+0x25*0x1f+0x2087));const maxKeyLen=Math[_0x20fd2f(0x153,0x2bf)](...entries['map'](([_0x2c94e5])=>_0x2c94e5[_0x18cc4f(0x453,0x5b3)+'h']));console['log'](_0x20fd2f(0x239,0xd6)+_0x18cc4f(0x853,0x6e2)+'k\x20Con'+_0x18cc4f(0x8d2,0x6f9)+_0x20fd2f(0x2bd,0x15c)+'\x0a'),console['log']('\x20\x20'+_0x18cc4f(0x634,0x4df)['padEn'+'d'](maxKeyLen+(0xa1f+0x31*0x26+-0x1163*0x1))+_0x18cc4f(0x598,0x624)),console[_0x18cc4f(0x2b9,0x436)]('\x20\x20'+'─'[_0x20fd2f(0x1d2,0x2a8)+'t'](maxKeyLen+(0xcd5+-0xc1*-0x27+0x17*-0x1d6))+'─'[_0x20fd2f(0x136,0x2a8)+'t'](0x16*0x5f+0x157e+0x20*-0xec));for(const [key,val]of entries){const display=val?maskValue(key,val):'\x1b[90m'+_0x18cc4f(0x674,0x56b)+'y)\x1b[0'+'m';console[_0x20fd2f(-0x22b,-0x49)]('\x20\x20'+key[_0x20fd2f(0x36e,0x258)+'d'](maxKeyLen+(0x1288+0x426+0x2*-0xb56))+display);}console[_0x20fd2f(-0x3a,-0x49)](_0x18cc4f(0x546,0x732)+_0x20fd2f(0xf8,0xe3)+ENV_FILE+'\x0a');}catch(_0x95e330){console['error'](_0x20fd2f(-0x3,0x107)+'led\x20t'+_0x20fd2f(0x293,0x298)+_0x18cc4f(0x874,0x712)+_0x20fd2f(0x2a8,0x11d)+_0x95e330[_0x18cc4f(0x726,0x5d3)+'ge']),process[_0x18cc4f(0x4bb,0x5f8)](0x4af+-0x19c*-0x5+-0xcba);}process[_0x18cc4f(0x6bc,0x5f8)](-0x1074+-0x1302+0x2376);}if(command===_0x18cc4f(0x4fd,0x4b4)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x18cc4f(0x3d7,0x55e)+_0x20fd2f(0x217,0x26d)+'on'));console[_0x20fd2f(0x19d,-0x49)](_0x18cc4f(0x484,0x555)+_0x20fd2f(0x1e2,0x263)+_0x20fd2f(0x246,0xf5)+_0x20fd2f(-0x4c,-0xd)+'\x20v'+pkg[_0x20fd2f(0x68,0x10a)+'on']+'\x0a');const results=[];function pass(_0x270700,_0x44a556){const _0x4c381f={};_0x4c381f[_0x52cf32(-0xa5,0x146)]=_0x52cf32(0xff,0x6d);const _0x4805b1=_0x4c381f,_0x534f6d={};function _0x57928e(_0x8e6d5f,_0x2f2977){return _0x20fd2f(_0x8e6d5f,_0x2f2977-0x28f);}_0x534f6d[_0x57928e(0x253,0x257)+'s']=_0x4805b1[_0x57928e(0x38c,0x4bb)];function _0x52cf32(_0x5d49af,_0x598e0){return _0x20fd2f(_0x5d49af,_0x598e0- -0xe6);}_0x534f6d[_0x52cf32(0x13e,0x2e)]=_0x270700,_0x534f6d[_0x52cf32(0x2d9,0xed)+'l']=_0x44a556,results[_0x57928e(0x31a,0x4d7)](_0x534f6d);}function fail(_0x19099f,_0xcbac70){const _0x46aa04={};function _0x5b4100(_0x4fb161,_0x394fa1){return _0x20fd2f(_0x394fa1,_0x4fb161- -0x1f6);}_0x46aa04[_0x982410(0x280,0x387)+'s']=_0x5b4100(-0x79,-0x1f5),_0x46aa04[_0x982410(0x358,0x4d3)]=_0x19099f,_0x46aa04[_0x5b4100(-0x23,-0x134)+'l']=_0xcbac70;function _0x982410(_0x26c2ec,_0x5449e6){return _0x20fd2f(_0x26c2ec,_0x5449e6-0x3bf);}results[_0x982410(0x7ea,0x607)](_0x46aa04);}function warn(_0x2d5665,_0x87514f){function _0x29162d(_0x3d151b,_0x28bbc5){return _0x20fd2f(_0x28bbc5,_0x3d151b-0x4c8);}const _0x2ed70b={};_0x2ed70b[_0x10bfc6(-0x22b,-0x3cb)]=_0x10bfc6(0x7,-0x143);const _0x271aa4=_0x2ed70b,_0x49ed8c={};function _0x10bfc6(_0x4d403e,_0x222912){return _0x20fd2f(_0x222912,_0x4d403e- -0x159);}_0x49ed8c[_0x29162d(0x490,0x2d3)+'s']=_0x271aa4[_0x10bfc6(-0x22b,-0x200)],_0x49ed8c[_0x10bfc6(-0x45,-0x74)]=_0x2d5665,_0x49ed8c['detai'+'l']=_0x87514f,results[_0x10bfc6(0xef,0x182)](_0x49ed8c);}const nodeVer=process[_0x20fd2f(-0x2e,0x10a)+_0x18cc4f(0x5f2,0x61c)][_0x18cc4f(0x396,0x41c)],nodeMajor=parseInt(nodeVer[_0x18cc4f(0x2af,0x3df)]('.')[-0x2b*-0xbf+-0x1460+-0xbb5],-0x1572+0x13d*-0x15+-0x2f7d*-0x1);nodeMajor>=0x1*-0x18eb+0x1*0x677+0x1286?pass(_0x18cc4f(0x5f3,0x702)+'js\x20ve'+'rsion','v'+nodeVer+(_0x20fd2f(0x16,0x13c)+_0x18cc4f(0x473,0x47f)+_0x20fd2f(0xc1,0x117)+'d)')):fail(_0x20fd2f(0x15e,0x283)+'js\x20ve'+'rsion','v'+nodeVer+(_0x18cc4f(0x5bc,0x643)+_0x20fd2f(-0x69,-0x69)+_0x18cc4f(0x680,0x498)+_0x20fd2f(0x7e,0x3d)+_0x18cc4f(0x385,0x460)+_0x20fd2f(-0x1f3,-0xab)));const ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,_0x20fd2f(0x1b0,0x25a)):join(ROOT,'.env');let envPort=-0x11fc+0x1ff7+-0x7b,envGatewayUrl=_0x18cc4f(0x63f,0x6bd)+_0x18cc4f(0x250,0x3a5)+_0x18cc4f(0x62d,0x54d)+_0x20fd2f(0x41,-0x2d)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x20fd2f(0xcf,0x44));for(const line of content[_0x18cc4f(0x449,0x3df)]('\x0a')){const t=line[_0x18cc4f(0x4d0,0x615)]();if(!t||t['start'+_0x20fd2f(0x1e8,0x4b)]('#'))continue;const eqIdx=t[_0x18cc4f(0x239,0x3c7)+'Of']('=');if(eqIdx===-(-0x7a4+-0xfb2*-0x1+-0x80d))continue;const k=t[_0x20fd2f(0x27f,0xf3)](0x4*-0x1e0+0x1ea8+-0xf7*0x18,eqIdx)[_0x18cc4f(0x511,0x615)](),v=t[_0x20fd2f(0x2b1,0xf3)](eqIdx+(-0x7e5*0x1+-0x23c9*0x1+0x2baf))['trim']();if(k===_0x18cc4f(0x80f,0x74a))envPort=parseInt(v,-0x19eb*0x1+-0x7a5+0x219a)||0x1f99*-0x1+-0x3*-0x87c+0x13a5*0x1;if(k===_0x18cc4f(0x2ab,0x38a)+_0x18cc4f(0x5ed,0x440)+'L')envGatewayUrl=v;if(k===_0x18cc4f(0x554,0x38a)+_0x20fd2f(0x17b,0x18e)+_0x18cc4f(0x266,0x3b4))envGatewayToken=v;if(k==='OPENA'+_0x20fd2f(-0x1ee,-0xf7)+'_KEY')envOpenAIKey=v;if(k===_0x18cc4f(0x644,0x57f)+_0x20fd2f(0x112,0x16)+_0x20fd2f(0xe1,0x80)+_0x18cc4f(0x3ce,0x515))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x443680=>{const _0x3e75d6={'tIatG':function(_0xfb6987,_0x5d6daa){return _0xfb6987!==_0x5d6daa;},'uowjB':'nHxKb','kLDIl':function(_0xaf210,_0x135d09){return _0xaf210===_0x135d09;},'BzMMq':function(_0x979187,_0x16700d){return _0x979187(_0x16700d);},'NsqAX':'\x0a⬡\x20Up'+_0x5124e2(0x357,0x20e)+_0x5124e2(0x384,0x25c)+'d:','AJheu':_0x5124e2(0x222,0x29d)+_0x209d40(0x3fd,0x59f)+_0x5124e2(0x18f,-0x5f)+_0x209d40(0x19b,0x246)+'...','AVyCL':_0x209d40(0xdd,0x2b2)+'it','GplEY':_0x5124e2(0x400,0x30e),'Qehhs':function(_0x46514e,_0x30c560){return _0x46514e(_0x30c560);},'xzSIg':_0x5124e2(0x316,0x21f),'bKibM':_0x209d40(0x365,0x44b)+_0x209d40(0x356,0x3d9),'OMuxW':_0x5124e2(0x4c5,0x463)+_0x209d40(0x3be,0x3b0)},_0x2e2ce1=_0x16ff8b[_0x5124e2(0x41e,0x4ce)+'eServ'+'er']();_0x2e2ce1['once'](_0x3e75d6[_0x5124e2(0x314,0x3a1)],_0x11b25a=>{function _0x29d826(_0x3782e7,_0x3b23ff){return _0x5124e2(_0x3782e7- -0x3a5,_0x3b23ff);}function _0x12210d(_0x628ab5,_0x14d726){return _0x5124e2(_0x628ab5-0xe1,_0x14d726);}if(_0x3e75d6[_0x12210d(0x329,0x13b)](_0x29d826(-0x265,-0x2e9),_0x3e75d6['uowjB'])){if(_0x3e75d6['kLDIl'](_0x11b25a[_0x12210d(0x4a2,0x401)],_0x29d826(-0x106,-0x300)+_0x29d826(-0x20a,-0x3fc)))_0x3e75d6[_0x12210d(0x5f9,0x657)](_0x443680,![]);else _0x443680(!![]);}else try{_0x45ac52[_0x29d826(-0x15b,-0xf5)](_0x3dcf2f,_0x29d826(-0xb2,-0x203)+'RM'),_0x50401d[_0x12210d(0x2f4,0x19d)](_0x12210d(0x3ac,0x1cf)+_0x12210d(0x4a3,0x562)+_0x29d826(0xfd,0xa0)+_0x29d826(0x107,0x1c7)+'\x20(PID'+'\x20'+_0x3ebb66+')');}catch{}}),_0x2e2ce1[_0x5124e2(0x3c7,0x25a)](_0x3e75d6[_0x5124e2(0x2e5,0x2bd)],()=>{function _0x483fe1(_0x1debff,_0x53037c){return _0x209d40(_0x53037c- -0x102,_0x1debff);}const _0x485693={'wpeQJ':_0x3e75d6[_0x4bceb1(0x60a,0x6e6)],'bTqEi':_0x483fe1(0xc3,0xde)+_0x4bceb1(0x5a6,0x64f)+_0x483fe1(0x37b,0x1e4)+_0x483fe1(0x370,0x374)+_0x4bceb1(0x6ce,0x6a0)+_0x4bceb1(0x467,0x310)+_0x483fe1(-0x2b,0x1d1)+_0x483fe1(0x34a,0x2b0)+_0x483fe1(0x2e0,0x1ba)+_0x483fe1(0x345,0x315)+_0x4bceb1(0x622,0x5d3)+_0x483fe1(0x22c,0x345)+'at','aVFxK':_0x3e75d6[_0x4bceb1(0x620,0x735)],'FaOgr':function(_0x25a687,_0x893eb9,_0x3e528b){return _0x25a687(_0x893eb9,_0x3e528b);},'DyYKi':_0x4bceb1(0x4f1,0x54d)+_0x483fe1(-0x37,-0x4a)+_0x4bceb1(0x453,0x4f1)+_0x4bceb1(0x687,0x507)+_0x483fe1(0x373,0x1a8)+'h','WiAYS':_0x3e75d6['AVyCL']};function _0x4bceb1(_0x152e07,_0x5ad814){return _0x209d40(_0x152e07-0x318,_0x5ad814);}_0x3e75d6[_0x483fe1(-0x4e,-0x32)](_0x3e75d6[_0x4bceb1(0x6e4,0x57b)],_0x483fe1(0x26b,0x3a8))?(_0x157293['error'](HHRuNT[_0x4bceb1(0x3f7,0x449)],_0x1246ad[_0x483fe1(0x292,0x22a)+'ge']),_0x2ab820[_0x483fe1(0x31,0x190)](HHRuNT[_0x483fe1(0x131,0x170)]),_0x39aa60&&(_0x310576[_0x483fe1(0xd2,0x8d)](HHRuNT[_0x483fe1(0x151,0x25a)]),HHRuNT[_0x483fe1(0x367,0x2d3)](_0x19ce53,HHRuNT['DyYKi'],{'stdio':HHRuNT['WiAYS']})),_0x285818[_0x483fe1(0x400,0x24f)](-0x22a1+0x39*-0x71+0x3bcb)):(_0x2e2ce1['close'](),_0x3e75d6[_0x483fe1(0x1c9,0xac)](_0x443680,!![]));});function _0x5124e2(_0x3cbcba,_0x3a746){return _0x18cc4f(_0x3a746,_0x3cbcba- -0x223);}function _0x209d40(_0x21a04c,_0x4f6212){return _0x18cc4f(_0x4f6212,_0x21a04c- -0x2a7);}_0x2e2ce1['liste'+'n'](envPort,_0x3e75d6[_0x5124e2(0x2cc,0x14d)]);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x20fd2f(-0x164,-0x6e)+envPort,_0x18cc4f(0x33b,0x512)+'able\x20'+_0x18cc4f(0x4eb,0x456)+_0x18cc4f(0x756,0x694)+_0x18cc4f(0x5b2,0x654)+_0x20fd2f(-0x94,0x159)+_0x18cc4f(0x7ce,0x683)+_0x18cc4f(0x764,0x62e)):pass(_0x20fd2f(-0x168,-0x6e)+envPort,_0x18cc4f(0x4c9,0x512)+_0x18cc4f(0x69f,0x6ce)):serverRunning?pass(_0x18cc4f(0x4d5,0x411)+envPort,_0x20fd2f(-0x7,-0xcf)+_0x18cc4f(0x4e3,0x44d)+_0x18cc4f(0x735,0x6e2)+'k'):fail(_0x20fd2f(-0x104,-0x6e)+envPort,_0x18cc4f(0x382,0x3b0)+_0x20fd2f(0x3d,-0x32)+_0x18cc4f(0x3a3,0x58f)+'er\x20pr'+_0x20fd2f(0x55,0x1fc));const gatewayReachable=await new Promise(_0x4eb2a4=>{function _0x9e8f35(_0xae567a,_0x4809a0){return _0x18cc4f(_0x4809a0,_0xae567a- -0x2a);}const _0x21def3={'CYsWs':function(_0xadaed8,_0x4951fa){return _0xadaed8(_0x4951fa);},'Cnemx':function(_0x41aa3f,_0x37cbab){return _0x41aa3f===_0x37cbab;},'LpRRD':_0x28e9a2(0x94,-0x106),'cQuJC':function(_0x588872,_0x5a19b7){return _0x588872+_0x5a19b7;},'diDQc':function(_0x71b83e,_0xac362c,_0x51fef7){return _0x71b83e(_0xac362c,_0x51fef7);},'jHRps':_0x28e9a2(-0x11f,-0xc4),'unleA':_0x28e9a2(-0xfa,-0x259),'GzPvn':_0x28e9a2(0xa4,0x212)};function _0x28e9a2(_0x2cfc85,_0x2d96a2){return _0x18cc4f(_0x2d96a2,_0x2cfc85- -0x495);}try{const _0x26f8ff=new URL(envGatewayUrl),_0x5c397c={};_0x5c397c['hostn'+_0x28e9a2(0x1ab,-0x1f)]=_0x26f8ff[_0x9e8f35(0x61a,0x4ee)+_0x28e9a2(0x1ab,0x278)],_0x5c397c[_0x9e8f35(0x6bd,0x7d3)]=_0x26f8ff[_0x28e9a2(0x252,0x58)]||0xb20+-0x1c0b+0x113b,_0x5c397c[_0x28e9a2(0x22,0xc)]='/',_0x5c397c['metho'+'d']=_0x21def3[_0x28e9a2(0xf,0x181)],_0x5c397c[_0x28e9a2(-0x57,0x74)+'ut']=0x1388;const _0x2f6914=_0x7c3987[_0x28e9a2(-0x25,-0x19f)+'st'](_0x5c397c,_0x1433b8=>{function _0x4e3efa(_0x42066c,_0x275661){return _0x28e9a2(_0x275661-0x516,_0x42066c);}_0x1433b8[_0x2fead6(0x29b,0x178)+'e']();function _0x2fead6(_0x26659d,_0x3eab9d){return _0x28e9a2(_0x26659d-0x2c7,_0x3eab9d);}_0x21def3[_0x2fead6(0x499,0x321)](_0x4eb2a4,!![]);});_0x2f6914['on'](_0x21def3[_0x28e9a2(0x13b,0x5e)],()=>_0x4eb2a4(![])),_0x2f6914['on'](_0x9e8f35(0x414,0x597)+'ut',()=>{const _0x54106c={'nOJgg':function(_0x13a7c1,_0x24f00a){function _0x7efc6b(_0x5c484e,_0x1a8567){return _0x3018(_0x1a8567- -0x2db,_0x5c484e);}return _0x21def3[_0x7efc6b(-0xa0,0x10c)](_0x13a7c1,_0x24f00a);},'JOKWE':_0x21def3[_0x6500c(0xe7,0xea)],'aYleG':function(_0x29e644,_0x2f9224){return _0x29e644+_0x2f9224;},'VvTfJ':function(_0x1ba81f,_0x3a8c36){return _0x21def3['cQuJC'](_0x1ba81f,_0x3a8c36);},'BkzPq':_0x6500c(0xd,0xea),'Chrfr':function(_0x550754,_0x5c47b9,_0x5a7221){return _0x21def3['diDQc'](_0x550754,_0x5c47b9,_0x5a7221);},'uZUgJ':function(_0x1bccbb,_0x2a611e,_0x2884fc){return _0x21def3['diDQc'](_0x1bccbb,_0x2a611e,_0x2884fc);}};function _0x6500c(_0x5a0225,_0x4e3eb6){return _0x9e8f35(_0x5a0225- -0x48c,_0x4e3eb6);}function _0x6f86be(_0x3997c0,_0x5b98b2){return _0x9e8f35(_0x5b98b2- -0x2f5,_0x3997c0);}if(_0x21def3['jHRps']===_0x6f86be(-0x172,0x57))_0x2f6914[_0x6f86be(0x84,0xe2)+'oy'](),_0x4eb2a4(![]);else{if(_0x54106c['nOJgg'](_0x516d16[_0x6f86be(0x41a,0x25d)+_0x6500c(0x5b,0x1f7)],_0x54106c[_0x6500c(0x247,0x37e)])){const _0x1a734f=_0xeeb584(_0x54106c['aYleG'](_0x54106c[_0x6f86be(-0x10c,0xd2)]('wmic\x20'+_0x6500c(-0xf0,-0x7e)+'aldis'+_0x6f86be(0x251,0x42d)+_0x6500c(0x2f,-0x165)+_0x6500c(0x1b5,0x2b0)+_0x6f86be(0x2b2,0x1b2),_0x32501f[_0x6f86be(0x2a0,0x31d)+'t'](0xfa1*0x2+-0x121*-0xb+-0x2bad)),_0x6f86be(0x162,0x29e)+'et\x20Fr'+_0x6500c(0x152,0x23a)+_0x6500c(-0x155,-0x285)+'alue'),{'encoding':_0x54106c[_0x6500c(-0x3,-0x93)]}),_0x158f60=_0x1a734f[_0x6f86be(0x9c,0x43)](/FreeSpace=(\d+)/);return _0x158f60?_0x12549d(_0x158f60[-0x5d*0x49+0x1bbc+-0x136],-0x65b*0x1+-0x85b+-0x1d8*-0x8):null;}else{const _0x35e189=_0x54106c[_0x6f86be(-0x9f,0xc4)](_0x184d14,_0x6500c(0x12d,0x51)+'\x20\x22'+_0x3d27de+(_0x6500c(0xaa,0x1c1)+'ail\x20-'+'1'),{'encoding':_0x54106c[_0x6f86be(0x334,0x194)]}),_0x25c9c8=_0x35e189['trim']()[_0x6500c(-0xd7,-0x249)](/\s+/);return _0x54106c[_0x6f86be(0x156,0xb2)](_0x4f2064,_0x25c9c8[-0xbdb+0xb*0x257+0x1*-0xddf],0x2f*0xbd+0xd3b*0x1+-0x2fe4)*(0x35e*-0xb+-0x1e91*0x1+-0x479b*-0x1);}}}),_0x2f6914[_0x28e9a2(0x1f2,0xc1)]();}catch{_0x4eb2a4(![]);}});gatewayReachable?pass(_0x20fd2f(-0xe8,0x98)+'ay\x20re'+'achab'+'le',envGatewayUrl):fail(_0x20fd2f(0xe2,0x98)+_0x18cc4f(0x439,0x626)+_0x20fd2f(0xeb,0x2a2)+'le',_0x18cc4f(0x62d,0x6dc)+_0x20fd2f(0x172,0x7e)+_0x20fd2f(-0x1c3,0xe)+envGatewayUrl);existsSync(join(ROOT,'node_'+_0x20fd2f(0x31b,0x224)+'es'))?pass(_0x20fd2f(-0x80,0x12d)+'denci'+_0x18cc4f(0x3a1,0x4ae)+'stall'+'ed',_0x18cc4f(0x500,0x565)+_0x20fd2f(0x198,0x224)+'es\x20ex'+_0x20fd2f(0x195,0x1ea)):fail(_0x20fd2f(0xce,0x12d)+_0x20fd2f(0x1b3,0x12e)+_0x20fd2f(0x50,0x2f)+_0x18cc4f(0x310,0x44b)+'ed',_0x20fd2f(-0x115,0xe6)+'modul'+'es\x20mi'+_0x18cc4f(0x1f7,0x3bc)+'\x20—\x20ru'+_0x20fd2f(-0x21b,-0x90)+'\x20inst'+'all');if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x20fd2f(0x15,0x44)),pass('.env\x20'+'file',_0x20fd2f(0x7,-0x2f)+_0x18cc4f(0x535,0x409)+_0x20fd2f(0x30,0x1c9)+'able');}catch{fail(_0x18cc4f(0x4a2,0x68b)+_0x18cc4f(0x4c8,0x6c0),_0x20fd2f(0xec,-0x2f)+'s\x20but'+'\x20not\x20'+_0x18cc4f(0x784,0x66c)+_0x18cc4f(0x5a2,0x4b9));}else fail(_0x18cc4f(0x52e,0x68b)+_0x18cc4f(0x806,0x6c0),_0x18cc4f(0x5b9,0x4f6)+_0x20fd2f(0x3ec,0x20b)+_0x18cc4f(0x419,0x44f)+':\x20upl'+_0x20fd2f(0x126,0x102)+_0x20fd2f(0x51,-0x10b)+_0x18cc4f(0x536,0x422)+_0x20fd2f(-0x11c,-0xc7)+'it');envGatewayToken&&envGatewayToken!=='your_'+'token'+_0x18cc4f(0x394,0x42d)?pass(_0x18cc4f(0x67a,0x517)+_0x20fd2f(0x16c,0x286)+_0x18cc4f(0x737,0x657),'confi'+_0x18cc4f(0x5fd,0x53e)):fail(_0x18cc4f(0x436,0x517)+_0x20fd2f(0x36e,0x286)+'ken','not\x20s'+'et\x20in'+_0x20fd2f(0x57,0xad));if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers[_0x20fd2f(0x38e,0x248)](_0x18cc4f(0x24d,0x437)+'I');if(envElevenLabsKey)providers[_0x18cc4f(0x5bf,0x6c7)]('Eleve'+_0x20fd2f(-0x1fe,-0xdb));pass(_0x18cc4f(0x332,0x501)+_0x18cc4f(0x52b,0x4cb)+'ys',providers[_0x18cc4f(0x5d2,0x6e5)](',\x20')+('\x20conf'+_0x20fd2f(0x1dc,0x101)+'d'));}else warn(_0x18cc4f(0x5c5,0x501)+'PI\x20ke'+'ys',_0x18cc4f(0x551,0x5e6)+_0x20fd2f(0x3d,0x24)+'or\x20El'+'evenL'+'abs\x20k'+_0x20fd2f(-0x1fa,-0x65)+_0x18cc4f(0x578,0x3f3)+_0x18cc4f(0x5f4,0x639)+_0x20fd2f(0xdf,0x2bb)+_0x20fd2f(0x254,0x195)+_0x18cc4f(0x44b,0x3c3)+_0x18cc4f(0x631,0x6d1));try{const freeBytes=((()=>{function _0x3bb808(_0x37edbb,_0x292ecd){return _0x18cc4f(_0x292ecd,_0x37edbb- -0x42);}function _0x394288(_0x24c418,_0x8fad0c){return _0x18cc4f(_0x8fad0c,_0x24c418- -0x2fd);}const _0x41a4b8={'HufGe':function(_0x26d17c,_0x5a08a7,_0x22401a){return _0x26d17c(_0x5a08a7,_0x22401a);},'kuIFY':_0x394288(0x1c6,0xe),'JhGhR':_0x3bb808(0x46d,0x406)+'e','SPMhD':function(_0x56e92b,_0x53341e){return _0x56e92b===_0x53341e;},'nTMwm':_0x3bb808(0x4e7,0x5dc),'OBlSq':function(_0x145592,_0x52b0fd){return _0x145592!==_0x52b0fd;},'iLPJR':_0x394288(0x272,0x3bc),'NLASW':function(_0x1c7139,_0x1f1cd5,_0x318161){return _0x1c7139(_0x1f1cd5,_0x318161);},'fAxfX':function(_0x2c1bb5,_0x1f0ff4){return _0x2c1bb5+_0x1f0ff4;},'XHgto':function(_0x168975,_0x2e596f){return _0x168975+_0x2e596f;},'GsOog':_0x394288(0x1eb,0x132)+_0x3bb808(0x384,0x374)+_0x3bb808(0x5d9,0x765)+'k\x20whe'+'re\x20\x22D'+'evice'+'ID=\x27','BChbx':_0x394288(0x2c0,0x255)+_0x3bb808(0x3c8,0x3bc)+_0x394288(0x30b,0x2de)+_0x3bb808(0x31f,0x21d)+_0x394288(0x1a5,0x30d),'bAqVe':function(_0x5263c3,_0x5e01d9,_0x274d4b){return _0x5263c3(_0x5e01d9,_0x274d4b);},'qbrmD':_0x3bb808(0x374,0x32e)};if(_0x41a4b8['SPMhD'](process[_0x3bb808(0x53a,0x684)+_0x394288(0x214,0xbd)],_0x41a4b8['nTMwm'])){if(_0x41a4b8[_0x3bb808(0x356,0x44d)](_0x394288(0x1a8,0x2a3),_0x41a4b8[_0x394288(0x44a,0x5c1)])){const _0x4e3aaa=_0x41a4b8[_0x3bb808(0x60d,0x695)](execSync,_0x41a4b8[_0x3bb808(0x6f2,0x646)](_0x41a4b8['XHgto'](_0x41a4b8[_0x394288(0x377,0x3fa)],ROOT[_0x394288(0x33f,0x4fd)+'t'](-0x1*0x118d+0x24a1*-0x1+0x362e)),_0x41a4b8[_0x394288(0x2a1,0x2e3)]),{'encoding':_0x41a4b8[_0x3bb808(0x401,0x2ea)]}),_0x1c55bd=_0x4e3aaa[_0x394288(0x65,0x51)](/FreeSpace=(\d+)/);return _0x1c55bd?_0x41a4b8['bAqVe'](parseInt,_0x1c55bd[0x39a+-0x294+-0x105],0xc3*-0x3+0x24a3+-0x2250):null;}else try{const _0x22e378=_0x1af8db[_0x3bb808(0x5b0,0x5f5)](_0x41a4b8[_0x3bb808(0x34c,0x17d)](_0x2a6fb6,_0x14dece,_0x41a4b8[_0x3bb808(0x401,0x577)]));if(_0x22e378['premi'+'um']||_0x22e378[_0x394288(0x2cd,0x3e2)+'umKey'])_0x10d218=_0x41a4b8[_0x3bb808(0x603,0x5ef)];}catch{}}else{if(_0x394288(0xcc,0x295)===_0x41a4b8['qbrmD']){const _0x3401d7={};_0x3401d7[_0x3bb808(0x640,0x681)+_0x394288(0x432,0x51e)]=!![],_0x3401d7['force']=!![],_0x2a2f13(_0x578fbf,_0x3401d7),_0x309943++,_0xdc8f4d['log']('\x20\x20✓\x20R'+_0x394288(0x2fd,0x342)+_0x394288(0x44c,0x3b4)+_0x3bb808(0x466,0x343)+'/'+_0x19fede);}else{const _0x34bdeb=_0x41a4b8[_0x3bb808(0x60d,0x4fc)](execSync,_0x3bb808(0x5a1,0x47b)+'\x20\x22'+ROOT+(_0x3bb808(0x51e,0x4cd)+'ail\x20-'+'1'),{'encoding':_0x41a4b8[_0x394288(0x146,0xbf)]}),_0x352602=_0x34bdeb[_0x3bb808(0x5d3,0x40e)]()[_0x394288(0xe2,0x69)](/\s+/);return parseInt(_0x352602[0x6d*0x3e+0x17d1*0x1+-0x3234],0x1416+-0x8e0*0x2+-0x54*0x7)*(0x81+-0x2*-0x1102+-0x1e85);}}})());if(freeBytes!==null){const freeMB=Math[_0x18cc4f(0x702,0x578)](freeBytes/((-0x383*-0x1+0x1c11+-0x6e5*0x4)*(-0x244e+-0x25*0xf4+-0x472*-0x11)));freeMB>=-0xb94*0x1+-0xd16+0xd4f*0x2?pass(_0x18cc4f(0x3a3,0x4d8)+_0x18cc4f(0x87f,0x738),freeMB+(_0x20fd2f(0xf5,0x5e)+_0x20fd2f(0x491,0x2a5))):warn(_0x18cc4f(0x448,0x4d8)+_0x18cc4f(0x64b,0x738),freeMB+(_0x18cc4f(0x348,0x4dd)+_0x20fd2f(0x367,0x294)+_0x20fd2f(0x405,0x232)+'\x20than'+_0x18cc4f(0x819,0x6d8)+'MB'));}}catch{warn(_0x20fd2f(0x1e3,0x59)+_0x18cc4f(0x764,0x738),_0x20fd2f(0x7d,-0x1c)+_0x20fd2f(-0x307,-0x123)+_0x20fd2f(0x1c7,0x20d)+_0x20fd2f(0x176,0xd3)+_0x20fd2f(0x1f2,0x190)+_0x20fd2f(0x12d,0x212)+_0x18cc4f(0x61d,0x738));}const _0x5cfce3={};_0x5cfce3[_0x18cc4f(0x72e,0x5d2)]=_0x20fd2f(0x99,-0xd0)+_0x20fd2f(0x3a,-0x2b),_0x5cfce3[_0x20fd2f(0x19b,0x17d)]=_0x18cc4f(0x4b8,0x55d)+_0x20fd2f(0x262,0x1ca),_0x5cfce3['warn']=_0x20fd2f(0x145,0x143)+_0x20fd2f(-0x2b,0x61);const icons=_0x5cfce3;for(const r of results){console['log']('\x20\x20'+icons[r['statu'+'s']]+'\x20'+r['label']+':\x20'+r[_0x18cc4f(0x822,0x652)+'l']);}const passes=results[_0x20fd2f(-0x38,-0x44)+'r'](_0x17945e=>_0x17945e[_0x18cc4f(0x4bf,0x447)+'s']===_0x18cc4f(0x59c,0x5d2))[_0x20fd2f(0x21b,0x134)+'h'],fails=results[_0x20fd2f(-0x38,-0x44)+'r'](_0x41d6e0=>_0x41d6e0[_0x18cc4f(0x50a,0x447)+'s']==='fail')[_0x18cc4f(0x3fb,0x5b3)+'h'],warns=results[_0x20fd2f(-0x197,-0x44)+'r'](_0x18a961=>_0x18a961[_0x20fd2f(0x16a,-0x38)+'s']===_0x18cc4f(0x3e4,0x5df))[_0x18cc4f(0x6f3,0x5b3)+'h'];console[_0x20fd2f(0x99,-0x49)](''),fails===0x8e0+-0x1*-0x97+-0x977*0x1?console[_0x18cc4f(0x495,0x436)](_0x20fd2f(0x1b1,0x1ff)+_0x18cc4f(0x38c,0x39d)+passes+(_0x18cc4f(0x4c4,0x3a6)+_0x18cc4f(0x590,0x704)+'ssed')+(warns?'\x20('+warns+(_0x18cc4f(0x729,0x592)+'ing')+(warns>0xff7+-0xebb*0x1+-0x5*0x3f?'s':'')+')':'')+'.'):console[_0x18cc4f(0x4cd,0x436)]('\x20\x20⬡\x20'+passes+('\x20pass'+_0x18cc4f(0x554,0x404))+fails+(_0x18cc4f(0x55c,0x439)+'ed')+(warns?',\x20'+warns+(_0x20fd2f(-0x36,0x113)+_0x18cc4f(0x468,0x36a))+(warns>0x22d8+-0xf8c+-0x134b?'s':''):'')+'.'),console[_0x18cc4f(0x381,0x436)](''),process[_0x20fd2f(0x108,0x179)](fails>-0x22e9+-0x7f*0x47+-0xbf*-0x5e?-0x102f+-0x11*0x161+0x27a1:-0x1dc9+0x19ea+0x1*0x3df);}if(command==='reset'){const {rmSync}=await import('fs');console[_0x18cc4f(0x44f,0x436)](_0x20fd2f(0x121,0xd6)+_0x18cc4f(0x773,0x6e2)+_0x18cc4f(0x272,0x3f4)+_0x20fd2f(-0xf9,-0x121)),console[_0x20fd2f(-0x1a0,-0x49)](_0x20fd2f(0x116,0x217)+_0x18cc4f(0x2cf,0x4be)+_0x20fd2f(-0x8d,-0xd7)+'ar:'),console[_0x20fd2f(-0x1d5,-0x49)](_0x18cc4f(0x1dc,0x3a0)+_0x18cc4f(0x653,0x67d)+_0x20fd2f(0x60,0xcf)+_0x18cc4f(0x6c0,0x514)+_0x20fd2f(0x327,0x1fb)+_0x20fd2f(0x417,0x2d5)+_0x20fd2f(0x9a,0x109)+_0x18cc4f(0x559,0x5c7)),console['log']('\x20\x20\x20\x20•'+_0x18cc4f(0x3fe,0x4d9)+_0x18cc4f(0x203,0x3cb)+_0x20fd2f(0x41d,0x226)+_0x18cc4f(0x39b,0x493)+_0x20fd2f(-0x8a,-0x66)+'\x20cach'+'e'),console['log'](_0x20fd2f(-0x2ba,-0xdf)+_0x18cc4f(0x5c3,0x6a0)+_0x18cc4f(0x43a,0x46e)+_0x20fd2f(0xfc,0x2d5)+_0x18cc4f(0x465,0x610)+'ue'),console[_0x20fd2f(-0x5,-0x49)](_0x20fd2f(-0x3a,-0xdf)+'\x20Push'+_0x18cc4f(0x618,0x5d1)+'cript'+'ions\x20'+_0x20fd2f(0x281,0x237)+_0x20fd2f(0x243,0xfa)+'ty\x20da'+'ta'),console[_0x20fd2f(-0x245,-0x49)](''),console['log'](_0x20fd2f(0x3a1,0x217)+_0x20fd2f(0x3c,0x3f)+_0x18cc4f(0x5e2,0x632)+_0x20fd2f(-0x6,0x56)+'r:'),console['log'](_0x20fd2f(-0x6e,-0xdf)+_0x18cc4f(0x548,0x52c)+_0x18cc4f(0x365,0x45a)+_0x18cc4f(0x6a4,0x6b7)+_0x20fd2f(-0x1db,-0x119)),console['log']('\x20\x20\x20\x20•'+_0x20fd2f(0x70,0x1bc)+_0x18cc4f(0x45d,0x5dc)+_0x20fd2f(0x2e4,0x125)),console[_0x20fd2f(0x103,-0x49)](_0x18cc4f(0x461,0x3a0)+_0x20fd2f(0x1b9,0x41)+_0x18cc4f(0x381,0x43a)+_0x20fd2f(-0x92,-0x7d)+_0x20fd2f(0x3dc,0x290));if(!flags['force']){const readline=await import(_0x20fd2f(0x3d,-0x5)+'ine'),_0x39c98b={};_0x39c98b['input']=process['stdin'],_0x39c98b[_0x20fd2f(0x116,0xb4)+'t']=process[_0x20fd2f(-0x1,0xf)+'t'];const rl=readline['creat'+_0x18cc4f(0x267,0x3ab)+'rface'](_0x39c98b),answer=await new Promise(_0x5d3b64=>{function _0x21f3ba(_0x35a28c,_0x348904){return _0x18cc4f(_0x35a28c,_0x348904- -0x5a3);}const _0x342086={};_0x342086[_0x21f3ba(0x126,0xd)]=_0x5a95ca(0x6f9,0x84c)+_0x5a95ca(0x72f,0x7e4)+'set\x22\x20'+'to\x20co'+_0x21f3ba(0x10a,0x14d)+':\x20';function _0x5a95ca(_0x51ff31,_0x33f7f0){return _0x18cc4f(_0x51ff31,_0x33f7f0-0x10f);}const _0x480542=_0x342086;rl[_0x5a95ca(0x5b2,0x5d7)+_0x21f3ba(-0x3a9,-0x1f2)](_0x480542['mpZxp'],_0x5d3b64);});rl[_0x20fd2f(0x6,0x36)](),answer[_0x18cc4f(0x7a5,0x615)]()[_0x18cc4f(0x62e,0x5a5)+_0x18cc4f(0x3f9,0x490)+'e']()!=='reset'&&(console[_0x18cc4f(0x533,0x436)](_0x20fd2f(-0xe7,0x6c)+_0x20fd2f(0x5d,0xe5)+_0x20fd2f(0x276,0x264)+_0x20fd2f(0xa7,-0xf0)+_0x20fd2f(-0x141,0xa)+_0x18cc4f(0x5ab,0x5c0)+'ved.\x0a'),process[_0x20fd2f(-0x82,0x179)](0x11*0x12+-0x245c+-0x1195*-0x2)),console['log']('');}const dataResets=[_0x20fd2f(0x2a1,0x154)+'ges-s'+_0x20fd2f(0x35c,0x171)+_0x18cc4f(0x771,0x6af),'activ'+_0x20fd2f(-0x260,-0x104)+'son',_0x20fd2f(0x22c,0x4d)+_0x18cc4f(0x777,0x5cd),_0x20fd2f(-0x7b,0x7c)+'d-con'+'versa'+_0x18cc4f(0x74d,0x6d4),_0x18cc4f(0x54b,0x396)+'ds','audio',_0x18cc4f(0x4fe,0x4c6)+_0x18cc4f(0x672,0x4a0)],rootResets=[_0x18cc4f(0x72d,0x5d3)+_0x18cc4f(0x31e,0x39c)+_0x20fd2f(0x241,0x171)+'son',_0x20fd2f(0x69,0x30)+_0x20fd2f(0x56,-0x104)+_0x18cc4f(0x4f7,0x6af),_0x20fd2f(0x1ea,0x4d)+_0x20fd2f(0xc3,0x14e),'share'+_0x20fd2f(-0x74,-0xc6)+_0x18cc4f(0x431,0x532)+'tions',_0x18cc4f(0x4c0,0x396)+'ds',_0x20fd2f(-0x1f2,-0xc2)+_0x18cc4f(0x792,0x699)+'io','misse'+_0x20fd2f(0x132,0x2ad)+'sages'+_0x18cc4f(0x4da,0x479),_0x20fd2f(0x115,-0xd5)+_0x20fd2f(0x2ff,0x242)+'ripti'+'ons.j'+_0x18cc4f(0x753,0x6af),_0x18cc4f(0x542,0x43a)+_0x20fd2f(0x252,0xcd),_0x20fd2f(0x407,0x25e)+'nk-se'+_0x20fd2f(0x1fd,0x2d4)+_0x20fd2f(-0x139,-0x49),_0x18cc4f(0x6c7,0x6dd)+_0x20fd2f(0xfa,0x1c0)+'tchdo'+_0x20fd2f(-0x1f4,-0x94)];let cleared=-0xe3d+0xb64+0x2d9;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x4ac34d={};_0x4ac34d[_0x18cc4f(0x6f2,0x682)+_0x18cc4f(0x853,0x72f)]=!![],_0x4ac34d['force']=!![],rmSync(fullPath,_0x4ac34d),cleared++,console['log'](_0x20fd2f(-0xb6,-0x53)+'emove'+_0x18cc4f(0x5dd,0x749)+_0x20fd2f(-0xd,0x29)+'/'+item);}catch(_0x2e0807){console[_0x20fd2f(-0x1c,0xba)](_0x18cc4f(0x4c0,0x5b9)+_0x20fd2f(0x10e,0x1a2)+_0x18cc4f(0x8e3,0x708)+_0x18cc4f(0x401,0x5fa)+_0x18cc4f(0x607,0x612)+_0x20fd2f(-0x7,0x1e5)+item+':\x20'+_0x2e0807['messa'+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x21e853={};_0x21e853[_0x20fd2f(0xf0,0x203)+'sive']=!![],_0x21e853[_0x20fd2f(-0x209,-0x8f)]=!![],rmSync(fullPath,_0x21e853),cleared++,console[_0x18cc4f(0x428,0x436)](_0x20fd2f(-0x5c,-0x53)+_0x18cc4f(0x455,0x5fa)+'d\x20'+item);}catch(_0x3e99bd){console['error'](_0x20fd2f(0x9d,0x13a)+_0x18cc4f(0x75b,0x621)+_0x20fd2f(0x402,0x289)+_0x20fd2f(0x1d3,0x17b)+'\x20'+item+':\x20'+_0x3e99bd[_0x20fd2f(0x261,0x154)+'ge']);}}cleared===0x14cb+-0xd3*0x19+-0x6*0x8?console[_0x18cc4f(0x537,0x436)](_0x18cc4f(0x72e,0x661)+_0x18cc4f(0x735,0x54b)+_0x20fd2f(0xe5,0x3)+_0x18cc4f(0x5d3,0x49e)+'\x20alre'+_0x18cc4f(0x6db,0x68e)+_0x20fd2f(0xc0,0x32)):console['log']('\x0a\x20\x20⬡\x20'+'Clear'+'ed\x20'+cleared+_0x18cc4f(0x448,0x633)+(cleared>-0x19f9*-0x1+-0xaf7+0x17*-0xa7?'s':'')+(_0x20fd2f(0x31a,0x23c)+'sh\x20st'+_0x18cc4f(0x77a,0x5cc))),console['log'](''),process['exit'](0xf69+-0x2607+0x169e);}function _0x3018(_0x2ea75f,_0x26d3df){_0x2ea75f=_0x2ea75f-(0xe*0x8f+0x1f37+0x1*-0x2649);const _0x272d97=_0x5787();let _0x210e43=_0x272d97[_0x2ea75f];return _0x210e43;}if(command===_0x20fd2f(-0x184,-0x56)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x20fd2f(0x31c,0x26d)+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x20fd2f(0x273,0x25a)))?join(DATA_DIR,_0x18cc4f(0x5cc,0x6d9)):join(ROOT,_0x18cc4f(0x530,0x6d9));let envPort='3456',envHost=_0x18cc4f(0x523,0x432)+'.0',envGatewayUrl=_0x20fd2f(0x18d,0x23e)+_0x18cc4f(0x356,0x3a5)+_0x18cc4f(0x6c9,0x54d)+'1:187'+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x20fd2f(0x216,0x44));for(const line of content['split']('\x0a')){const t=line[_0x20fd2f(0x115,0x196)]();if(!t||t['start'+_0x20fd2f(-0x117,0x4b)]('#'))continue;const eqIdx=t[_0x20fd2f(-0xfb,-0xb8)+'Of']('=');if(eqIdx===-(0x13*-0xf7+0x1065+0x1f1))continue;const k=t[_0x20fd2f(-0x41,0xf3)](0x31*0x87+0x9*0x2b+-0x48f*0x6,eqIdx)[_0x18cc4f(0x418,0x615)](),v=t['slice'](eqIdx+(-0x44f*-0x3+-0xdbb*-0x1+-0x1aa7))[_0x20fd2f(0x378,0x196)]();if(k===_0x20fd2f(0x418,0x2cb))envPort=v||'3456';if(k===_0x20fd2f(0x124,0x2c6)+'K_HOS'+'T'||k===_0x18cc4f(0x637,0x627))envHost=v||_0x18cc4f(0x2cf,0x432)+'.0';if(k==='GATEW'+_0x20fd2f(-0x1e0,-0x3f)+'L')envGatewayUrl=v;if(k===_0x18cc4f(0x34e,0x38a)+_0x20fd2f(0x64,0x18e)+_0x18cc4f(0x58a,0x3b4))envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+_0x18cc4f(0x7bf,0x5e0)+_0x18cc4f(0x852,0x723)+_0x18cc4f(0x36d,0x4c5)+'D\x20'+(watchdogPid||serverPid)+')':_0x20fd2f(0x27a,0xde)+'stopp'+_0x18cc4f(0x327,0x459)+'m',gwReachable=await new Promise(_0x325726=>{function _0x451a3c(_0x3c7d58,_0x5cd05e){return _0x20fd2f(_0x5cd05e,_0x3c7d58-0x149);}function _0x5b5484(_0x72c86e,_0x9bda88){return _0x20fd2f(_0x9bda88,_0x72c86e-0x3e9);}const _0xe246f9={'UKZmy':'⬡\x20Aut'+_0x5b5484(0x345,0x1ac)+'tart\x20'+_0x451a3c(0x271,0x238)+_0x5b5484(0x2f1,0x49a)+'art\x20m'+_0x5b5484(0x687,0x7fd)+_0x451a3c(0x254,0xe4)+'th:\x20u'+_0x451a3c(0x10c,-0xa9)+_0x451a3c(0x106,0x13d)+'\x20star'+'t','VgXIa':function(_0x514ee7,_0x2d9ef6){return _0x514ee7!==_0x2d9ef6;},'yWcWm':'Djutr','oeREl':function(_0xb8d754){return _0xb8d754();},'LMVAU':'⬡\x20Upl'+_0x5b5484(0x544,0x589)+_0x5b5484(0x584,0x4ed)+'\x20runn'+_0x451a3c(0x2e7,0x1ff),'syuCB':function(_0x3dfad7,_0x2830de){return _0x3dfad7!==_0x2830de;},'peJhK':_0x5b5484(0x50d,0x69f),'OGRPA':_0x451a3c(0x203,0x29f),'nGIDS':_0x451a3c(0x108,0x2e0)+'ut','QzhQq':'xGMAU','IOHRf':function(_0x33b193,_0x54129e){return _0x33b193(_0x54129e);}};try{if(_0xe246f9[_0x5b5484(0x5ea,0x5d6)](_0xe246f9[_0x451a3c(0x2b3,0x495)],_0x451a3c(0x13d,-0x54))){const _0x4ad0c1=new URL(envGatewayUrl),_0x10252c={};_0x10252c[_0x5b5484(0x5ae,0x586)+'ame']=_0x4ad0c1['hostn'+_0x5b5484(0x5aa,0x787)],_0x10252c[_0x451a3c(0x3b1,0x2af)]=_0x4ad0c1[_0x451a3c(0x3b1,0x454)]||-0x1*0x20d2+-0xac*0x29+-0x3cae*-0x1,_0x10252c[_0x5b5484(0x421,0x374)]='/',_0x10252c['metho'+'d']='GET',_0x10252c[_0x451a3c(0x108,-0xc5)+'ut']=0xbb8;const _0x5eacd4=_0x7c3987['reque'+'st'](_0x10252c,_0x5ec34d=>{function _0x50e215(_0x41d593,_0x4f2b09){return _0x5b5484(_0x41d593- -0x4b2,_0x4f2b09);}function _0x45801c(_0x50f942,_0x51ed09){return _0x5b5484(_0x51ed09- -0x14e,_0x50f942);}_0xe246f9[_0x50e215(-0x117,0x9c)](_0xe246f9[_0x50e215(-0x74,-0x9a)],_0xe246f9[_0x45801c(0x466,0x2f0)])?_0x15db8e['log'](vqaaYm[_0x50e215(-0x28,-0x6f)]):(_0x5ec34d['resum'+'e'](),_0x325726(!![]));});_0x5eacd4['on'](_0xe246f9[_0x451a3c(0x328,0x254)],()=>_0x325726(![])),_0x5eacd4['on'](_0xe246f9[_0x5b5484(0x596,0x709)],()=>{_0x5eacd4[_0xfe9ca(0x152,0x300)+'oy']();function _0xfe9ca(_0x175bc2,_0x474736){return _0x451a3c(_0x474736-0x235,_0x175bc2);}_0x325726(![]);}),_0x5eacd4[_0x5b5484(0x5f1,0x799)]();}else{const _0x2884f0=vqaaYm['oeREl'](_0x1f43cd);_0x2884f0?_0xe46ff7[_0x5b5484(0x3a0,0x445)]('⬡\x20Upl'+_0x451a3c(0x2a4,0x240)+_0x451a3c(0x63,0x12c)+_0x451a3c(0x261,0x1d4)+_0x5b5484(0x5e0,0x625)+_0x2884f0+').'):_0x23b0ea[_0x5b5484(0x3a0,0x570)](vqaaYm[_0x5b5484(0x557,0x54e)]);}}catch{_0xe246f9['QzhQq']===_0xe246f9[_0x5b5484(0x62e,0x713)]?_0xe246f9['IOHRf'](_0x325726,![]):(_0xd3ad4a[_0x451a3c(0x203,0x1d)](_0x5b5484(0x4f0,0x3c5)+_0x5b5484(0x5c2,0x658)+_0x5b5484(0x2db,0x34f)+_0x451a3c(0x1ec,0x369)+_0x451a3c(0xa6,0x78)+_0x451a3c(0x154,0x2b9)+_0x118caf+'):',_0x4c2432['messa'+'ge']),_0x584e52[_0x5b5484(0x562,0x74a)](-0xa60*-0x3+-0x2139+-0x21a*-0x1));}}),gwStatus=gwReachable?envGatewayUrl+(_0x18cc4f(0x790,0x606)+_0x18cc4f(0x3cf,0x3a1)+'necte'+_0x20fd2f(-0x1ee,-0x61)+'m'):envGatewayUrl+(_0x20fd2f(0x19f,0xa9)+_0x20fd2f(0x1c1,0x2a6)+_0x18cc4f(0x20e,0x3e0)+'ble)\x1b'+_0x20fd2f(-0x133,0x2a)),LOG_FILE=join(ROOT,'serve'+'r.log'),ALT_LOG_FILE=join(ROOT,_0x20fd2f(0x25d,0x25e)+_0x18cc4f(0x498,0x3a3)+'rver.'+_0x20fd2f(-0x1c4,-0x49)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x20fd2f(0x1fb,0x22d)+')',premiumFile=join(ROOT,_0x18cc4f(0x470,0x43a)+'r','premi'+'um');let premiumStatus='not\x20d'+_0x18cc4f(0x3ef,0x391)+'ed';existsSync(premiumFile)&&(premiumStatus='insta'+'lled');const configFile=join(ROOT,_0x20fd2f(-0x4b,0x150)+_0x18cc4f(0x51f,0x646)+'n');if(existsSync(configFile))try{const cfg=JSON[_0x20fd2f(0x350,0x173)](readFileSync(configFile,_0x18cc4f(0x61d,0x4c3)));if(cfg[_0x20fd2f(0x1e5,0x14b)+'um']||cfg['premi'+'umKey'])premiumStatus=_0x20fd2f(-0x103,0x30)+'e';}catch{}console[_0x20fd2f(0xb1,-0x49)](_0x18cc4f(0x443,0x555)+_0x20fd2f(0x2d8,0x263)+_0x20fd2f(0x128,0x157)+_0x18cc4f(0x3c3,0x4e2)+'Versi'+'on:\x20\x20'+_0x20fd2f(-0x6a,-0x78)+pkg[_0x18cc4f(0x3b0,0x589)+'on']+(_0x18cc4f(0x5aa,0x68d)+'de.js'+_0x18cc4f(0x913,0x755)+'\x20\x20v')+process[_0x18cc4f(0x70d,0x589)+'ons'][_0x18cc4f(0x321,0x41c)]+(_0x18cc4f(0x3aa,0x4bb)+'rt:\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20')+envPort+(_0x18cc4f(0x79c,0x5a0)+'st:\x20\x20'+_0x20fd2f(0x13b,0x18f)+'\x20\x20')+envHost+(_0x20fd2f(-0x174,-0xa7)+_0x18cc4f(0x844,0x71e)+_0x18cc4f(0x7e1,0x60e)+'\x20\x20')+serverStatus+(_0x20fd2f(0x1ab,0xfe)+_0x20fd2f(0x137,0x26e)+_0x18cc4f(0x791,0x755)+'\x20\x20')+gwStatus+(_0x18cc4f(0x5ce,0x534)+'ta\x20di'+_0x18cc4f(0x278,0x417)+'\x20\x20')+DATA_DIR+(_0x18cc4f(0x72b,0x731)+'g\x20fil'+_0x20fd2f(0x1ed,0x1f8)+'\x20\x20')+logFile+('\x0a\x20\x20Pr'+_0x18cc4f(0x903,0x74b)+_0x20fd2f(0x131,0x2d6)+'\x20\x20')+premiumStatus+('\x0a\x20\x20In'+_0x18cc4f(0x5c2,0x44b)+'ed:\x20\x20'+'\x20\x20')+ROOT+_0x20fd2f(-0xe5,0xfc)),process[_0x18cc4f(0x44d,0x5f8)](0xe7d+0x1*0x3df+-0x2f*0x64);}const ALL_COMMANDS=[_0x18cc4f(0x24a,0x40f),_0x20fd2f(-0x1ff,-0x38)+'s',_0x18cc4f(0x636,0x716)+'e',_0x20fd2f(0x2c2,0x1b9)+'tall',_0x20fd2f(0x23,-0xe8),_0x20fd2f(0x16d,0x150)+'g',_0x20fd2f(0x190,0x35)+'r',_0x20fd2f(-0x43,0x76),_0x20fd2f(-0x1a,-0x56)];if(command===_0x20fd2f(0x2e2,0x225)||!ALL_COMMANDS['inclu'+'des'](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x20fd2f(0x98,0x1a1)+_0x20fd2f(-0x19,-0xe1):_0x20fd2f(0x11c,0x1eb)+'t';console[_0x20fd2f(-0xbf,-0x49)](_0x20fd2f(0x26b,0x163)+_0x18cc4f(0x447,0x5da)+_0x18cc4f(0x555,0x720)+_0x20fd2f(0x1ae,0x14a)+_0x18cc4f(0x481,0x5e0)+_0x20fd2f(0x11,0xca)+mode+(_0x20fd2f(0x180,0xf7)+'\x20')+pid+').'),console[_0x20fd2f(-0x220,-0x49)](_0x20fd2f(-0xeb,0x72)+_0x20fd2f(0x18b,0x2c1)+'first'+_0x20fd2f(-0x25,0x182)+'ink-c'+_0x20fd2f(0x2b5,0x29b)+_0x18cc4f(0x554,0x5dd)),process['exit'](-0x5*0x307+0x3*-0x32b+0x18a5);}const env={...process.env};if(flags['port'])env['PORT']=String(flags['port']);if(flags[_0x18cc4f(0x850,0x6e6)])env[_0x18cc4f(0x71f,0x745)+'K_HOS'+'T']=flags[_0x18cc4f(0x57f,0x6e6)];const serverPath=join(ROOT,_0x18cc4f(0x2cd,0x43a)+_0x18cc4f(0x601,0x524));if(flags[_0x18cc4f(0x4c9,0x551)+'h']){const watchdogPath=join(ROOT,_0x18cc4f(0x4b4,0x43a)+'r',_0x18cc4f(0x448,0x620)+_0x18cc4f(0x3ce,0x484)+'s'),extraEnv={};if(flags['port'])extraEnv[_0x20fd2f(0x1f3,0x2cb)]=String(flags[_0x20fd2f(0x366,0x268)]);if(flags[_0x18cc4f(0x586,0x6e6)])extraEnv['UPLIN'+_0x18cc4f(0x503,0x49f)+'T']=flags[_0x20fd2f(0x3b1,0x267)];const isLinux=process[_0x20fd2f(0x27a,0xfd)+_0x18cc4f(0x5e0,0x511)]===_0x18cc4f(0x57b,0x3fd);let child;if(isLinux)try{const _0x3dcd27={};_0x3dcd27[_0x18cc4f(0x6d3,0x5f5)]=_0x20fd2f(0x12a,0x84)+'e',execSync(_0x20fd2f(0x9e,0x265)+'\x20sets'+'id',_0x3dcd27);const _0x2ae7b5={};_0x2ae7b5['cwd']=ROOT,_0x2ae7b5[_0x18cc4f(0x356,0x4b0)]=env,_0x2ae7b5[_0x18cc4f(0x74a,0x551)+_0x20fd2f(0x1b4,0x243)]=!![],_0x2ae7b5[_0x18cc4f(0x41e,0x5f5)]='ignor'+'e',child=spawn(_0x20fd2f(-0x152,-0xb7)+'d',[_0x20fd2f(0x1b2,0x2ac)+'k',process[_0x20fd2f(0x105,-0x37)+_0x20fd2f(0x3b9,0x278)],watchdogPath,JSON[_0x18cc4f(0x8da,0x6f1)+_0x20fd2f(0x76,0x244)](extraEnv)],_0x2ae7b5);}catch{const _0x414fb={};_0x414fb[_0x20fd2f(-0x289,-0xfd)]=ROOT,_0x414fb[_0x18cc4f(0x439,0x4b0)]=env,_0x414fb[_0x20fd2f(0x98,0xd2)+'hed']=!![],_0x414fb['stdio']=_0x18cc4f(0x415,0x503)+'e',child=spawn(process[_0x20fd2f(-0x75,-0x37)+'ath'],[watchdogPath,JSON['strin'+_0x20fd2f(0x3a6,0x244)](extraEnv)],_0x414fb);}else{const _0x42530e={};_0x42530e[_0x20fd2f(-0xcf,-0xfd)]=ROOT,_0x42530e['env']=env,_0x42530e[_0x18cc4f(0x357,0x551)+_0x18cc4f(0x5cb,0x6c2)]=!![],_0x42530e[_0x18cc4f(0x6cc,0x5f5)]='ignor'+'e',child=spawn(process[_0x18cc4f(0x3c7,0x448)+_0x18cc4f(0x6b1,0x6f7)],[watchdogPath,JSON[_0x18cc4f(0x559,0x6f1)+_0x20fd2f(0x19a,0x244)](extraEnv)],_0x42530e);}child['unref']();const port=flags['port']||env[_0x20fd2f(0x3e8,0x2cb)]||0xe8d+-0xfa0+-0xd*-0x11f;console[_0x20fd2f(-0x195,-0x49)]('⬡\x20Upl'+_0x18cc4f(0x5ef,0x4bd)+'tarte'+_0x20fd2f(0x178,0x147)+_0x18cc4f(0x410,0x582)+_0x20fd2f(0xa9,0xf9)+_0x18cc4f(0x504,0x3ec)+_0x20fd2f(0x3e4,0x2c4)+'hdog\x20'+'(PID\x20'+child[_0x20fd2f(0x71,0x94)]+').'),console['log'](_0x18cc4f(0x7e2,0x647)+'ttp:/'+_0x18cc4f(0x7ad,0x73c)+_0x18cc4f(0x361,0x3e1)+':'+port),console[_0x18cc4f(0x2ca,0x436)](_0x18cc4f(0x22e,0x390)+_0x20fd2f(-0x6c,-0xa4)+_0x18cc4f(0x51d,0x46f)+_0x18cc4f(0x71e,0x666)+_0x20fd2f(0x4e,0xb7)+'\x20Stop'+_0x18cc4f(0x5b8,0x3ec)+_0x18cc4f(0x7e6,0x601)+_0x18cc4f(0x3f5,0x581)+_0x18cc4f(0x7f7,0x71a)+_0x20fd2f(0x131,0x15e)),process[_0x20fd2f(-0x1f,0x179)](-0x1085*0x2+-0x1833+0x393d);}else{if(flags[_0x20fd2f(0x37a,0x24c)+_0x18cc4f(0x74f,0x6cf)]){const _0x5c80bb={};_0x5c80bb[_0x20fd2f(-0x8a,-0xfd)]=ROOT,_0x5c80bb[_0x20fd2f(0xe6,0x31)]=env,_0x5c80bb[_0x20fd2f(0x30b,0x176)]=_0x18cc4f(0x1f9,0x384)+'it';const child=spawn(process['execP'+_0x18cc4f(0x7df,0x6f7)],[serverPath],_0x5c80bb);writeFileSync(PID_FILE,String(child[_0x18cc4f(0x45e,0x513)]));const cleanup=()=>{function _0xb27bfa(_0x251b1f,_0x258582){return _0x18cc4f(_0x251b1f,_0x258582- -0x27c);}function _0x27a036(_0x306410,_0x307348){return _0x18cc4f(_0x307348,_0x306410- -0x4c7);}const _0x36b45e={'FIGUi':_0x27a036(0x219,0x3df),'iqUCl':_0xb27bfa(0x2b1,0xec),'YiQzC':function(_0x5106e1,_0x49ae5b){return _0x5106e1(_0x49ae5b);}};try{if(_0x36b45e[_0xb27bfa(0x424,0x4c3)]===_0x36b45e[_0xb27bfa(0x322,0x29c)])try{return _0x27ac3d[_0xb27bfa(0x2f4,0x1f1)](_0xa7b330,-0x1*-0xeaa+-0x1a1*0x3+0x9c7*-0x1),!![];}catch{return![];}else _0x36b45e['YiQzC'](unlinkSync,PID_FILE);}catch{}};process['on'](_0x18cc4f(0x587,0x6a8)+'T',()=>{const _0x15acdc={'TEvnY':function(_0x3d16e4){return _0x3d16e4();}};function _0x4d862f(_0x5ced2a,_0x37b0a5){return _0x18cc4f(_0x37b0a5,_0x5ced2a- -0x36b);}_0x15acdc['TEvnY'](cleanup),process[_0x4d862f(0x28d,0x25c)](0x3*0xb87+-0x15*-0x1c9+-0x4812);}),process['on'](_0x20fd2f(0x105,0x97)+'RM',()=>{const _0x4ef5dc={'TFZpX':function(_0x1e3820){return _0x1e3820();}};_0x4ef5dc[_0x4fc695(0x1b1,0x11d)](cleanup);function _0x4fc695(_0x118e01,_0x4b8054){return _0x20fd2f(_0x118e01,_0x4b8054- -0xa1);}process['exit'](-0x2598+-0x1528+-0x5*-0xbc0);}),child['on'](_0x18cc4f(0x560,0x5f8),_0x56929c=>{const _0x116fe6={'SrPLW':function(_0x21c3f6){return _0x21c3f6();},'qkaKh':function(_0x57a786,_0x4a03ff){return _0x57a786||_0x4a03ff;}};function _0x1dad7e(_0x3c94b7,_0x13814a){return _0x18cc4f(_0x13814a,_0x3c94b7- -0x163);}function _0x325a37(_0x339952,_0x36a1ac){return _0x18cc4f(_0x36a1ac,_0x339952- -0x448);}_0x116fe6[_0x325a37(0x47,-0x1a7)](cleanup),process[_0x325a37(0x1b0,0x34d)](_0x116fe6[_0x325a37(0x1b7,0x1c0)](_0x56929c,-0x5e7+0x3*0x721+-0xf7c));});}else{const watchdogPath=join(ROOT,'serve'+'r',_0x18cc4f(0x6b4,0x620)+_0x20fd2f(0x1b,0x5)+'s'),extraEnv={};if(flags[_0x18cc4f(0x71f,0x6e7)])extraEnv['PORT']=String(flags[_0x18cc4f(0x70f,0x6e7)]);if(flags[_0x20fd2f(0x283,0x267)])extraEnv[_0x20fd2f(0x2c0,0x2c6)+_0x20fd2f(-0x13,0x20)+'T']=flags[_0x18cc4f(0x5a7,0x6e6)];const _0x1ec516={};_0x1ec516['cwd']=ROOT,_0x1ec516[_0x20fd2f(-0x191,0x31)]=env,_0x1ec516['stdio']=_0x18cc4f(0x306,0x384)+'it';const child=spawn(process[_0x20fd2f(-0x147,-0x37)+_0x20fd2f(0x27e,0x278)],[watchdogPath,JSON[_0x18cc4f(0x656,0x6f1)+_0x18cc4f(0x8af,0x6c3)](extraEnv)],_0x1ec516),port=flags['port']||env[_0x20fd2f(0x3cc,0x2cb)]||-0x1ba8+0x1e22+-0x22*-0x53;console['log'](_0x18cc4f(0x657,0x5e2)+_0x18cc4f(0x387,0x4bd)+_0x18cc4f(0x756,0x748)+'ng\x20wi'+_0x20fd2f(0xea,0x2)+_0x20fd2f(-0xc0,-0xd1)+'g\x20(au'+'to-re'+_0x20fd2f(0x161,0x225)+_0x18cc4f(0x2a6,0x3cc)+_0x20fd2f(0x228,0x64)),console['log'](_0x20fd2f(0x8,0x1c8)+'ttp:/'+_0x20fd2f(0x345,0x2bd)+_0x20fd2f(-0x13,-0x9e)+':'+port),console[_0x18cc4f(0x4e2,0x436)](_0x18cc4f(0x4c9,0x3d3)+_0x18cc4f(0x484,0x625)+_0x20fd2f(-0x1d8,-0x112)+_0x18cc4f(0x28f,0x44a)+'for\x20r'+'aw\x20se'+_0x18cc4f(0x6e8,0x650)+_0x20fd2f(0x15c,0x2a0)),process['on'](_0x18cc4f(0x64e,0x6a8)+'T',()=>{function _0x282f33(_0x33d665,_0x48291f){return _0x20fd2f(_0x48291f,_0x33d665-0x597);}const _0x5e580c={};_0x5e580c['bRSzy']='SIGTE'+'RM';const _0x2354f7=_0x5e580c;function _0x4bb948(_0x5ec7ea,_0x1d68e2){return _0x20fd2f(_0x5ec7ea,_0x1d68e2-0x4e5);}child[_0x4bb948(0x3bc,0x4d3)](_0x2354f7[_0x282f33(0x80d,0x858)]);}),process['on'](_0x18cc4f(0x329,0x516)+'RM',()=>{function _0x2ce779(_0x5b582a,_0x5f0f52){return _0x20fd2f(_0x5f0f52,_0x5b582a-0x376);}const _0x2a23b4={};_0x2a23b4[_0x2ea9c8(0x48b,0x36b)]=_0x2ce779(0x40d,0x4b7)+'RM';function _0x2ea9c8(_0x214db2,_0x383fd2){return _0x20fd2f(_0x214db2,_0x383fd2-0x24b);}const _0x24caad=_0x2a23b4;child[_0x2ea9c8(0x2c7,0x239)](_0x24caad[_0x2ce779(0x496,0x319)]);}),child['on']('exit',_0x4763e5=>{const _0x4c62dc={};_0x4c62dc[_0x3fc376(0x4a2,0x611)]=function(_0x375da2,_0x9c99c6){return _0x375da2||_0x9c99c6;};function _0x3fc376(_0x3945fa,_0x794c9a){return _0x18cc4f(_0x794c9a,_0x3945fa-0x74);}function _0x2b8d73(_0x1502a8,_0x1c8f23){return _0x18cc4f(_0x1502a8,_0x1c8f23- -0x25e);}const _0x5f4695=_0x4c62dc;process[_0x3fc376(0x66c,0x55b)](_0x5f4695[_0x3fc376(0x4a2,0x61e)](_0x4763e5,0xf49+0x25ed+-0x3536));});}}}
|
|
3
|
+
(function(_0x4fed1c,_0x16d596){const _0x267911=_0x4fed1c();function _0x148fef(_0x38430d,_0xf8224c){return _0x4d77(_0x38430d-0x257,_0xf8224c);}function _0x179602(_0xfcd804,_0x2a961e){return _0x4d77(_0xfcd804-0x20b,_0x2a961e);}while(!![]){try{const _0x4fdb57=parseInt(_0x148fef(0x817,0x9ac))/(-0x5*-0x68e+0x9f*-0x1f+-0xd84)*(parseInt(_0x148fef(0x4aa,0x558))/(0x3ab+-0x64d+0x2a4))+parseInt(_0x148fef(0x5ee,0x5c1))/(0x1ce1*0x1+0x1*0x228b+-0x3f69)+parseInt(_0x148fef(0x6e0,0x7c3))/(0x8*-0x1f9+-0xa08+0x3a*0x72)*(-parseInt(_0x148fef(0x68e,0x869))/(-0xffb+0x1676+0x33b*-0x2))+-parseInt(_0x148fef(0x5a5,0x576))/(0xe*-0x199+-0x958+0x1fbc)+-parseInt(_0x179602(0x4d4,0x522))/(-0xd99+0x2186+-0x13e6)*(parseInt(_0x179602(0x633,0x4bc))/(0x226c+0x24ae+0x1*-0x4712))+parseInt(_0x148fef(0x64c,0x504))/(0x1584*0x1+-0xc4*0x19+-0x257)+parseInt(_0x179602(0x735,0x58a))/(-0x7a7*-0x5+-0x2023+0x26*-0x29);if(_0x4fdb57===_0x16d596)break;else _0x267911['push'](_0x267911['shift']());}catch(_0x5e97f6){_0x267911['push'](_0x267911['shift']());}}}(_0x4c24,-0x8a6c*-0x14+0xf11*0xe3+0x2*-0x69c73));import{spawn,execSync}from'child_process';function _0x300bcb(_0x38596d,_0x43dd23){return _0x4d77(_0x38596d-0xe8,_0x43dd23);}import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';import{createRequire}from'module';import _0x32947b from'net';import _0x1765ba from'http';import _0x2a6377 from'os';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function _0x4d77(_0x4d7728,_0x32a97a){_0x4d7728=_0x4d7728-(0x1746+0xab7+0x71*-0x49);const _0x36beff=_0x4c24();let _0x46ecca=_0x36beff[_0x4d7728];return _0x46ecca;}function resolveDataDir(){const _0x236606={'YcXJU':function(_0x6fa8b2,_0x1edfc9,_0x5d02dd){return _0x6fa8b2(_0x1edfc9,_0x5d02dd);},'bZhEE':function(_0x30a0d9,_0x1677a5){return _0x30a0d9!==_0x1677a5;},'VFAph':'pJRvO','UJebh':_0x31ce90(0x42c,0x507),'VGglZ':_0x25f181(0x3e8,0x2ae),'DwuMA':function(_0x3ffe7b,_0x400d01){return _0x3ffe7b===_0x400d01;},'PyVeg':'qRkyX','jJGSn':function(_0x606542,_0x17052c){return _0x606542(_0x17052c);},'RVRZw':_0x31ce90(0x49e,0x457)+'ge.js'+'on','OlHWz':'pass','DBdFO':function(_0x5de477,_0x137a44){return _0x5de477===_0x137a44;},'mqPof':_0x25f181(0x57f,0x4a0),'iGCHg':function(_0xae11a3,_0x5dd6d6){return _0xae11a3(_0x5dd6d6);},'iWaFz':function(_0x33df93,_0x5cd9f4){return _0x33df93===_0x5cd9f4;},'xEoPb':'iKNEg','LDCBH':_0x25f181(0x498,0x347),'tMBPL':_0x25f181(0x5d6,0x424)+_0x31ce90(0x169,0x301)+'+$','NONuq':function(_0xefecc2,_0x458c7d){return _0xefecc2===_0x458c7d;},'cEELy':_0x31ce90(0x469,0x4f3),'oXyYP':function(_0x5432a9,_0x324cd9,_0x308c5d,_0x1feea3){return _0x5432a9(_0x324cd9,_0x308c5d,_0x1feea3);},'cQaRH':'Roami'+'ng','euXTw':_0x31ce90(0x6dc,0x6bb)+'nk'};function _0x31ce90(_0x30bf1d,_0x4db6d5){return _0x4d77(_0x4db6d5-0x131,_0x30bf1d);}const _0x51a665=(function(){function _0x5b884b(_0x1e9e0c,_0x25b37c){return _0x25f181(_0x25b37c,_0x1e9e0c- -0x283);}function _0x2877ed(_0x369d8a,_0x761d9a){return _0x25f181(_0x761d9a,_0x369d8a- -0x194);}const _0x28e89b={'qFHPA':function(_0x5dc9c5,_0x2f49e2){function _0x1678eb(_0x4c883e,_0x28b4b){return _0x4d77(_0x4c883e-0x1f8,_0x28b4b);}return _0x236606[_0x1678eb(0x43f,0x4fa)](_0x5dc9c5,_0x2f49e2);},'xjowt':function(_0x557aaf,_0x490ec7,_0x4e23f6){function _0x43a32a(_0x5bffde,_0x22ae54){return _0x4d77(_0x5bffde-0x25b,_0x22ae54);}return _0x236606[_0x43a32a(0x771,0x90e)](_0x557aaf,_0x490ec7,_0x4e23f6);},'JWbyS':_0x236606[_0x5b884b(0x2f8,0x476)],'FfLpg':_0x236606['OlHWz']};if(_0x236606[_0x2877ed(0x23f,0x47)](_0x236606['mqPof'],_0x236606[_0x2877ed(0x2bd,0xf7)])){let _0x16e66d=!![];return function(_0x2c110c,_0x59c580){function _0x74802d(_0x14a278,_0x494cdc){return _0x5b884b(_0x14a278- -0x6c,_0x494cdc);}function _0x28d2b3(_0x39c446,_0x399ea6){return _0x5b884b(_0x39c446-0x598,_0x399ea6);}const _0x179b64={'OmTxO':function(_0x25ea87,_0x494ffb,_0xb11d37){function _0x5123ad(_0x4628b5,_0x38ddfa){return _0x4d77(_0x4628b5-0xed,_0x38ddfa);}return _0x236606[_0x5123ad(0x603,0x71b)](_0x25ea87,_0x494ffb,_0xb11d37);},'djLTV':function(_0x15c0b0,_0x4d9381){function _0x2ce3d3(_0x266a60,_0xfc8f59){return _0x4d77(_0xfc8f59- -0x104,_0x266a60);}return _0x236606[_0x2ce3d3(0x46f,0x450)](_0x15c0b0,_0x4d9381);},'xbIou':_0x236606[_0x28d2b3(0x8d8,0x8a3)],'iIedz':_0x236606[_0x28d2b3(0x5bb,0x569)],'jDoUJ':_0x236606['VGglZ']};if(_0x236606[_0x74802d(-0x69,-0x1ea)](_0x28d2b3(0x5b1,0x44c),_0x236606[_0x28d2b3(0x6a9,0x666)])){const _0x4ca56a=_0x16e66d?function(){const _0x29863={'IiUfx':function(_0x47cd0a,_0x2e5234,_0x4848dc){function _0x4c86f2(_0x1b2437,_0x5d89a1){return _0x4d77(_0x5d89a1- -0x21a,_0x1b2437);}return _0x179b64[_0x4c86f2(0x40a,0x285)](_0x47cd0a,_0x2e5234,_0x4848dc);}};function _0x29da63(_0x1bda70,_0x335a06){return _0x28d2b3(_0x335a06- -0x1d3,_0x1bda70);}function _0x4d80a5(_0x456cb4,_0x493c6c){return _0x28d2b3(_0x493c6c- -0x245,_0x456cb4);}if(_0x179b64[_0x29da63(0x870,0x717)](_0x179b64[_0x4d80a5(0x619,0x589)],_0x4d80a5(0x37b,0x3c1)))_0x443965[_0x4d80a5(0x281,0x368)](_0x29da63(0x527,0x415)+_0x29da63(0x71f,0x64b)+_0x29da63(0x42d,0x5f5)+_0x29da63(0x59a,0x577)+_0x29da63(0x4e3,0x3b1)+_0x1bedb6[_0x4d80a5(0x482,0x5d5)+'ge']),_0x4c2faa[_0x4d80a5(0x604,0x4f5)](0x11*-0x149+0x270d+0x11*-0x103);else{if(_0x59c580){if(_0x179b64['iIedz']!==_0x179b64[_0x29da63(0x4a6,0x5ad)]){const _0x327bb8=_0x59c580[_0x4d80a5(0x461,0x64d)](_0x2c110c,arguments);return _0x59c580=null,_0x327bb8;}else{const _0x1d7362={};_0x1d7362[_0x29da63(0x65e,0x72e)+_0x29da63(0x498,0x446)]=!![],_0x29863['IiUfx'](_0xa95e6d,_0x1e4a04,_0x1d7362);}}}}:function(){};return _0x16e66d=![],_0x4ca56a;}else{const _0x3db1cc=_0x5c6a96(import.meta.url),_0x5e7cbf=_0x28e89b[_0x74802d(0xea,0x131)](_0x3db1cc,_0x28e89b['xjowt'](_0x50de72,_0x4bb372,_0x28e89b[_0x28d2b3(0x6c4,0x5d7)]));_0x1a365e[_0x28d2b3(0x8a3,0x860)](_0x74802d(0xf0,0x1f0)+_0x74802d(0x1e9,0x1b0)+_0x28d2b3(0x7f9,0x9ba)+_0x5e7cbf['versi'+'on']),_0x115e72['exit'](-0x1f*0x1c+0x13d3+-0x259*0x7);}};}else{const _0xa81b9a={};_0xa81b9a[_0x5b884b(0x193,0xa7)+'s']=_0x28e89b[_0x2877ed(0xee,0x109)],_0xa81b9a[_0x2877ed(0x37a,0x26b)]=_0x53562c,_0xa81b9a[_0x5b884b(0x119,-0x42)+'l']=_0x93f65e,_0x28eb69[_0x5b884b(0x24c,0x3b5)](_0xa81b9a);}}());function _0x25f181(_0x2cf81f,_0xf54612){return _0x4d77(_0xf54612-0x9c,_0x2cf81f);}const _0x357131=_0x236606['YcXJU'](_0x51a665,this,function(){function _0x19ccd0(_0x59720f,_0x1f6749){return _0x25f181(_0x59720f,_0x1f6749-0xe6);}function _0x58c1e0(_0xbc8791,_0x2631a4){return _0x25f181(_0x2631a4,_0xbc8791- -0x48);}if(_0x236606['iWaFz'](_0x236606[_0x19ccd0(0x602,0x5b3)],_0x236606[_0x58c1e0(0x3bb,0x38c)]))_0x5c9ab4[_0x19ccd0(0x36a,0x4d5)](),_0x236606['iGCHg'](_0x6beac2,!![]);else return _0x357131[_0x58c1e0(0x25d,0x35e)+_0x19ccd0(0x34e,0x43d)]()[_0x19ccd0(0x5aa,0x60c)+'h'](_0x236606[_0x19ccd0(0x573,0x496)])['toStr'+_0x58c1e0(0x30f,0x173)]()['const'+_0x58c1e0(0x5c5,0x5cd)+'r'](_0x357131)[_0x58c1e0(0x4de,0x6c9)+'h'](_0x236606[_0x19ccd0(0x626,0x496)]);});_0x357131();if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x236606[_0x31ce90(0x497,0x461)](process[_0x31ce90(0x436,0x430)+_0x25f181(0x4fe,0x395)],_0x236606[_0x31ce90(0x281,0x3a7)])){const _0x5c9bac=process.env.APPDATA||_0x236606['oXyYP'](join,_0x2a6377['homed'+'ir'](),'AppDa'+'ta',_0x236606[_0x25f181(0x58a,0x38e)]);return join(_0x5c9bac,'uplin'+'k');}return join(_0x2a6377[_0x31ce90(0x117,0x2fd)+'ir'](),_0x236606['euXTw']);}const DATA_DIR=resolveDataDir();try{const _0x4123e3={};_0x4123e3[_0x261234(0x417,0x339)+_0x300bcb(0x350,0x470)]=!![],mkdirSync(DATA_DIR,_0x4123e3);}catch{}const PID_FILE=join(DATA_DIR,_0x300bcb(0x672,0x503)+'nk.pi'+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x300bcb(0x672,0x6ab)+_0x300bcb(0x412,0x36f)+_0x300bcb(0x640,0x506)+'g.pid'),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x300bcb(0x672,0x6c5)+_0x261234(0x1f1,0x2bf)+_0x261234(0x41f,0x294)+_0x261234(0x240,0x93)+'n'),args=process[_0x261234(0x26c,0x41b)]['slice'](-0x20d0+-0x654+0x1393*0x2),command=args[0x2*-0xc9d+-0x1e3f+0x3779]||_0x300bcb(0x316,0x4b9),flags={};function _0x4c24(){const _0x4f867a=['KEY','Gatew','(Ctrl','ached','ffMs','aw\x20se','v\x20fil','e:\x0a\x20\x20','vISUk','lines','e\x20by\x20','ning','k\x20Res','ed\x1b[0','tion','ver\x20a',':\x20upl','\x20comp','tall','hat\x20s','x\x20upl','Port\x20','\x20Upli','updat','.\x20Run','r.js','nfirm','o\x20rea','t\x20sta','\x20\x20\x20\x20\x20','l\x20con','k\x20Con','ZNWay','xbIou','uto-r','⬡\x20Cur','etup\x20','v\x20var','NyMyr','.\x20👋\x0a','ge.js','g.log','og\x20st','ocess','32nWHjPx','\x20\x20Typ','les','edit\x20','\x0a⬡\x20Re','uwWLZ','\x20on\x20(','pHWQC','\x20the\x20','xEoPb','\x20vers','push','\x20unin','ve\x20al','env','2928665junYoe','(watc','\x20→\x20v','ions\x20','ewZTV','k-cha','ation','⬡\x20Upd','UPLIN','l\x20cle','qhhUZ','8\x20is\x20','avail','Key','audio','\x0a⬡\x20Al','eZPIi','t\x20v','ewkNm','versi','pt\x0a\x20\x20','not\x20f','promp','resta','nLabs','\x20\x20⬡\x20A','\x20item','m\x20(PI','ELEVE','UcXBC','-host','aded\x20','o\x20Edg','outpu','\x20hist','\x20Remo','\x20\x20Try','pm\x20up','uploa','ning\x20','\x20\x20⬡\x20','k\x20whe','\x20loca','NLABS','#\x20Sta','evenL','d\x20(PI','\x20read','nk-se','--no-','messa','eset)','n\x20iss','rtCou','led\x20t','dit\x20m','mffnn','opped','log\x20e','label','WYgVy','reada','\x20\x20Ser','node_','tions','.env.','art!','.0.0.','nd\x20me','hUKcn','help','xampl','modul','\x20fail','ning\x0a','\x20with','s...\x20','stdou','Yylen','\x0a\x20\x20Po','\x20\x20upl','unins','4BWWAle','searc','info','ns]\x0a\x0a','which','ues\x0a\x20','WenDt','GATEW','nwOcN','.env','\x0a\x20\x20Da','ing\x20m','HhZMD','e\x20\x20\x20\x20','wing\x20','\x20cach','\x1b[31m','\x20Usag','mlKoj','es\x20mi','isten','\x20\x20Ski','OmTxO','e...','pass','toppe','\x201\x202>','quire','ssing','eady\x20','\x20Diag','mples','http:','s\x20are','oads\x20','nhQsE','rt\x20--','ow\x20cu','ity.j','WwCXY','\x20inst','\x20defa','\x20\x20\x20Ch','cache','ble','inher','ound\x20','creat','Run\x20i','nk-ch','d-con','examp','ges-s','--por','it\x20.e','not\x20s','e\x20\x22re','il\x20th','SgIfy','in\x20us','ng\x20Up','yrYQU','ble)\x1b','ed\x20','requi','ach','amdfI','\x1b[33m','ult:\x20','t\x20N\x20\x20','--hel','reset','p\x20it\x20','plink','pid','ete.','\x0a⬡\x20Wa','...\x0a','ulPpT','knhpz','ncell','mode','us\x20\x20\x20','he\x20se','-f\x20\x20\x20','⬡\x20Cre','RVRZw','at\x0a\x0a\x20','apply','AAKtP','le\x20pa','SIGIN','\x20(PID','AY_TO','toUpp','\x20on\x20t','pdate','QrDug','JBkzp','\x20\x20⚠️\x20\x20','\x0a\x20\x20Ca','letel','l\x20NOT','/dev/','igure','log','_KEY','bEeDy','hen\x20t','ocal\x20','node','WilDl','repea','AY_UR','d\x20ser','k\x20Doc','\x20>=\x201','#\x20Upl','ailed','th:\x20','rmDGO','DtoWu','at\x0a','er\x20of','_DIR/','setup','\x20\x20Use','\x20subs','kGBhE','tor:\x20','e\x20glo','readl','des','o\x20sto','rt:\x20\x20','ey\x20—\x20','\x0a\x20\x20','-forc','ync.j','rt\x20on','EADDR','YcXJU','copy\x20','\x1b[90m','Eleve','et\x0a','ng\x20np','etect','\x20\x20\x20\x20','\x20\x20✓\x20R','strin','ackag','lean.','Udgcd','jthtr','linux','f\x20Upl','Uplin','VFAph','\x20runn','g\x20fil','13532830UrVaiL','sh\x20st','ta\x20wi','LQHgJ','m(con','p\x20Upl','destr','or\x0a\x20\x20','s/dir','\x20clea','KEN','ed\x20to','NylOp','ame','-watc','djLTV','INDcW','quest','detac','ector','\x0a\x20\x20No','DPBfK','emove','ta\x20di','o\x20ope','s\x20alr','parse','noWat','(serv','nd]\x20[','ear\x20—','Node.','led.','abs\x20k','nd\x20lo','to\x20bi','PID\x20','ons.j','recur','\x20Star','actio','...','bZhEE','nning','iEPsf','\x20\x20\x20\x20v','tchdo','ound.','docto','join','ver\x20(','mpany','BpjRC','_modu','host','\x20MB\x20f','_API_','8080\x20','split','+C\x20to','aemon','ata\x0a\x20','ZLQwA','erCas','share','ink-c','//127','uIjCw','onfig','cJDuy','how\x20(','ructo','y/upl','adcgI','\x20npx\x20','or\x20El','commo','r.log','HOST','CkzwK','token','a\x20dir','\x0a\x20\x20⬡\x20','files','backo','\x20Stop','th:\x20u','fore\x20','\x20#\x20Ed','YfUFY','hostn','\x20\x20\x20un','es\x20N\x20','cwd','free\x20','padEn','.upli','dajzz','\x20enab','t\x20wat','fGaHI','ync','rver.','esSVU','ons','filte','slice','nose\x20','runni','\x20.env','pXpra','o\x20con','k\x20has','subsc','set\x22\x20','stall','(PID\x20','Stop\x20','es\x20ex','\x20warn','GKfXQ','how\x20t','ink\x20i','\x20--ed','ath','tjVxQ','l\x20log','vLcEb','nfo\x20\x20','gDncF','misse','no\x20Op','d\x20\x20\x20\x20','hGyKa','eInte','m\x20pac',')\x0a\x20\x20\x20','and\x20a','ctor\x20','nosti','op\x20a\x20','\x20\x20→\x20h','anual','all','y)\x1b[0','\x0a⬡\x20Up','round','sHXEs','\x20/nob','m(unr','137467qoozUT','fstat','et\x20in','kIVHs','fig)\x0a','\x20edit','evice','\x20to\x20s','ink\x20d','ll\x22\x20t','\x20\x20\x20\x20d','not\x20b','ted\x20t','t\x20\x20\x20\x20','✓\x1b[0m','\x0a\x20\x20⚠️\x20','homed','3456','vKFpc','\x20(def',')+)+)','alloc','npx\x20u','v:\x20','xeQhJ','edit','s\x20and','g.pid','some','kgrou','code','ver\x20P','tchin','\x20/t\x201','set\x20\x20','⬡\x20Sho','sWith','\x20to\x20r','Clear','Disk\x20','mine\x20','moonc','FfLpg','hed','\x20\x20Or\x20','\x20(con','DwuMA','og\x20(P','ykXBU','toLow','\x20star','\x20\x20✓\x20S','..\x0a','GohNs','t\x20rea','mPKKg','yWnju','.exam','d-mes','\x208080','null\x20','data','er\x20ru','fail','error','\x20\x20Res','nks\x20f','g\x20@mo','qRkyX','WZTTN','ver\x20f','\x20\x20\x20\x20#','n\x20npm','top','insta','tion\x20','end','toStr','UJebh','Depen','js\x20ve','led)','irst:','\x20Numb','ce\x20/v','v,\x20co','SRHIj','\x20chec','ved.\x0a','bMvRN','lengt','oonco','bally','hat','muAfU','emium','--pat','es\x20in','on\x0a','l\x20—\x20v','file','inclu','utf8','input','\x20\x20\x20\x20i','ErKvW','ssage','\x20\x20Exp','hat\x20[','map','CREDE','VoRDy','ime:\x20','ion\x0a\x20','start','ple\x20.','\x20via\x20','could','This\x20','ng\x1b[0','\x20file','gyRZo','\x20\x20\x20\x20O','⬡\x20Fai','l\x20Upl','to\x20cl','-g\x20@m','\x20than','OPENA','emovi',':\x20v','art','VSpoK','HmdDn','\x0a\x20\x20Lo','tarts','\x20node','ault:','\x20--li','jJGSn','--for','zxaOi','1:187','reque','metho','\x20pass','compl','ig\x20\x20\x20','trim','Value','cript','12rucUja','port\x20','pJRvO','\x20in\x20e','UMuIq','exist','Zjusi','\x20in\x20','able','\x20\x20Upt','anoth','ink\x20s','#\x20Cle','\x20Show','lhost','meout','resum','⬡\x20Res','logs','pany/','kjqGv','sive','th\x20wa','ady\x20c','⬡\x20Ope','\x20manu','\x20mode','er\x20pr','de.js','yPvas','I_API','GET','\x20Uplo','art\x20m','ay\x20re','cEELy','0.0.0','-chat','_here','tarti','liste','\x20remo','backg','activ','fault','\x20\x20npx','\x20-g\x20@','rce,\x20','faile','ly:\x20n','ready','kage.','KhrMZ','.env\x20','\x20--no','\x20less','OpenA','ompan','\x20\x20\x20Sh',':\x20\x20\x20\x20','AcaZO','ttp:/','ree','nd\x20wa','2>&1','\x20conf','ed.\x20N','rt\x20th','\x20curr','rt\x0a\x20\x20','\x20\x20\x20St','Sync','r:\x20\x20\x20','\x20\x20Opt','QGhvm','sages','y:\x20','es...','direc','\x20\x20\x20\x20-','charA','your_','ink\x20w','match','s\x20run','K_HOS','****','bXFQC','RMmJH','rash.','d\x20DAT','one.\x0a','Host\x20','ile)','e\x0a\x20\x20\x20','k\x20Uni','able\x20','edAt','||\x20ti','firm:','\x20\x20\x20--','/loca','tion\x0a','\x0a\x20\x20In','ing','\x20\x20Aut','ed\x20me','\x20stop',',\x20PID','WKsUq','chdog','estar','once','o\x0a\x0a\x20\x20','\x20crea','ver\x20l','the\x20l','qQAEk','252168pmcmGo','\x20upli','test\x20','ink\x20C','.json','ll\x20','⬡\x20Sto','zuCUd','ssed','cs\x0a\x20\x20','dog','serve','\x20\x20v','GVQFI','\x20\x20\x20\x20•','k\x20Inf','ts\x20(r','rface','versa','defau','rksHu','ion','confi','rent\x20','o-res','son','TTS\x20m','\x20Fail','npm\x20u','A_DIR','r\x20its','ENwkA','\x20—\x20ru','nes\x0a\x20','--edi','EceSK','pohNQ','r\x20and','atchd','UzCfo','execP','cQaRH','wPuCV','\x20\x20Set','erver','ZLokN','ve\x20ag','PyVeg','orm','Updat','ed,\x20','denci','ogs\x20i','space','platf','detai','g\x20was','ine','last\x20','\x20your','out\x20a','IgmSQ','\x20logs','\x20\x20Run','empty','⬡\x20Aut','path','d.\x20St','[0m','ated','PORT','0.0)\x0a','ally:','oioPb','JWbyS','tMBPL','cal\x20d','now','k\x20—\x20L','eeSpa','ed:\x20\x20','\x20\x20✗\x20F','s\x20wil','figur','\x20Miss','\x20been','e\x20is\x20','PASSW','premi','oncom','vatar','#\x20Run','AI\x20Ch','packa','ent\x20a','\x20data','\x20Chat','nk-wa','e\x20ser','nd\x20to','ies','link.','.migr','NONuq','floor','s\x20but','nv\x20in','stopp','elf\x0a','\x20\x1b[31','DBdFO','nstal','UMfoS','\x20audi','hat\x20c','⬡\x20No\x20','qFHPA','o\x20fil','stdin','GcPOq','ly\x20wi','ing\x20U','uplin','\x20for\x20','\x20@moo','\x20\x20\x20np','teway','PDMPR','s\x20not','igura','pping','DlKIh','log\x20f','6798666CRVjLt','LyCeH','\x0a\x20\x20\x20\x20','ree\x20—','stdio','close','qkBgd','ected','ay\x20be','force','\x20\x20Wat','r\x20(de','size','date\x20','achab','n\x20edi','--hos','watch','reak\x20','\x0a\x20\x20Ho','ks\x20pa','nd\x20(d','\x20npm\x20','for\x20r','or\x20us','LDCBH','thout','\x20\x20Thi','\x20\x20\x20\x20S','npm\x20p','\x20PID:','iMiID','ail\x20-','\x20Port','glanc','\x20stat','ate\x20o','\x20DATA','at\x20re','XlpdK','bomyB','\x20\x1b[32','ated\x20','g.jso','statu','ch,\x20-','ile\x20f','at\x20a\x20','\x20chat','50)\x0a\x20','MefTc','\x20The\x20','urati','\x20info','ignor','\x20\x20Sta','umKey','jnmMs','(((.+','exit','sion','e\x20to\x20','(empt','\x20--fo','rmcXA','re\x20\x22D','—\x20run','optio','and\x20c','ZpDZP','notep','ken','WSKyS','16515IDwfcG','wThEt','d\x20.en','publi','⬡\x20Upl','⬡\x20.en','ripti','\x20\x20Sto','warn','\x0a\x20\x20Pr','ory\x20a','\x20line','aldis','lled','argv','opEah','rver\x20','ggwsE','ions:','d\x20dat','c/aud','\x20\x20Cre','ID:\x20\x20','g\x20(au','sync-','stop','port','canno','dog.j','WSPlB','mqPof','to-re','lbrYt','ay\x20to','ar\x20da','\x0a\x20\x20Pa','rPid','\x20to\x20l','\x20—\x20No','\x20\x20\x20#\x20','push-','✗\x1b[0m','elp\x0a\x0a','win32','at\x20do','SIGTE','necte','gify','kill','index','disk\x20','TTS\x20A','on:\x20v','st:\x20\x20','lczku',':\x0a\x20\x20\x20','jDoUJ','runs.','d\x20in\x20','hdog\x20','mands','comma','tSCDb','mFypJ','cking','\x20not\x20','ing.','--lin','\x20limi','ng\x20wi','logs,','the\x20s','at\x20--','BsHLU','openS','\x20\x20Tha','media','.\x20Fre','his\x20h','koff:','firma','p\x20con','Tail\x20','he\x20Up','ch\x20','GgyDO','\x20or\x20e','timeo','thPls','\x20H\x20\x20\x20','setsi','tart\x20','ge.','\x0a\x20\x20Ga','3573675cqGBxP','\x20EDIT','readS','ig\x20--','SECRE','eServ','k\x20ser'];_0x4c24=function(){return _0x4f867a;};return _0x4c24();}for(let i=-0x20f1+0x3b6+0x1d3b;i<args[_0x261234(0xdd,0x206)+'h'];i++){args[i]===_0x300bcb(0x5a6,0x5f2)+'t'&&args[i+(0x155c+0xd7a+-0x22d5)]&&(flags[_0x300bcb(0x499,0x2a3)]=parseInt(args[i+(0xeb*0x8+-0x20f4+-0x1*-0x199d)],0x8*0x4a3+0x23ef+-0x48fd),i++),args[i]===_0x300bcb(0x446,0x3c8)+'t'&&(flags['host']=args[i+(-0x412+-0x29*0xda+0x26fd)]||_0x261234(0x13e,0x240)+'.0',i++),(args[i]===_0x261234(0x396,0x1ae)+'p'||args[i]==='-h')&&(flags[_0x261234(0x344,0x3d5)]=!![]),(args[i]==='--ver'+_0x300bcb(0x472,0x2f9)||args[i]==='-v')&&(flags[_0x261234(0x311,0x4b3)+'on']=!![]),(args[i]==='--det'+_0x261234(0x391,0x36f)||args[i]==='-d')&&(flags['detac'+'h']=!![]),args[i]===_0x300bcb(0x550,0x615)+_0x261234(0x226,0x3cd)+_0x261234(0x19a,0x186)&&(flags['noWat'+_0x300bcb(0x3a9,0x1e1)]=!![]),args[i]===_0x300bcb(0x4c2,0x6c2)+'es'&&args[i+(-0x3bc*-0x8+-0x1558*-0x1+-0x3337)]&&(flags[_0x261234(0x2cc,0x250)]=parseInt(args[i+(0x21d0+0x224a+-0x4419)],0x406+0x1223*-0x1+0xe27),i++),args[i]===_0x300bcb(0x3d3,0x500)+'t'&&(flags['edit']=!![]),args[i]===_0x261234(0xe3,0x2e3)+'h'&&(flags[_0x300bcb(0x3f3,0x548)]=!![]),(args[i]===_0x261234(0x10f,0x156)+'ce'||args[i]==='-f')&&(flags[_0x261234(0x21e,0x41b)]=!![]);}if(flags[_0x300bcb(0x532,0x6a5)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x261234(0x2eb,0x14a)+'on'));console[_0x261234(0x3b9,0x39a)](_0x261234(0x20a,0x345)+'k-cha'+_0x261234(0x30f,0x144)+pkg[_0x300bcb(0x532,0x487)+'on']),process['exit'](0x24*-0x10d+-0x16f*0x13+0x4111);}function _0x261234(_0x54cae7,_0x2e0f7e){return _0x4d77(_0x54cae7- -0x139,_0x2e0f7e);}flags[_0x300bcb(0x565,0x53f)]&&(console['log']('\x0a\x20\x20⬡\x20'+'Uplin'+_0x261234(0x1de,0x1e0)+_0x261234(0x3bd,0x484)+_0x300bcb(0x40d,0x53f)+_0x261234(0x3a7,0x4b3)+_0x261234(0x361,0x225)+_0x300bcb(0x4eb,0x4cf)+_0x261234(0x34e,0x17a)+_0x261234(0x432,0x4ad)+_0x300bcb(0x310,0x3f1)+_0x300bcb(0x4bc,0x349)+_0x300bcb(0x62f,0x44f)+_0x300bcb(0x479,0x599)+_0x300bcb(0x574,0x627)+'\x20\x20Com'+_0x261234(0x29a,0x3af)+_0x300bcb(0x4b6,0x61d)+_0x261234(0xb5,-0xb4)+_0x261234(0x90,-0x162)+_0x261234(0x160,0x1a7)+'art\x20t'+_0x300bcb(0x4d2,0x567)+'link\x20'+_0x300bcb(0x3bc,0x2c8)+_0x300bcb(0x441,0x2ac)+_0x300bcb(0x367,0x514)+_0x261234(0x479,0x4cc)+_0x300bcb(0x3a6,0x3da)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20St'+_0x300bcb(0x69e,0x6dc)+_0x300bcb(0x67e,0x5a8)+_0x300bcb(0x5ad,0x6ce)+'link\x20'+_0x261234(0x19b,0x294)+'r\x0a\x20\x20\x20'+_0x261234(0x238,0x9a)+_0x300bcb(0x5c3,0x58d)+_0x300bcb(0x59b,0x4b2)+'eck\x20i'+_0x300bcb(0x60d,0x504)+_0x261234(0x46b,0x4ae)+_0x300bcb(0x38f,0x21a)+_0x261234(0x348,0x2a7)+_0x300bcb(0x30c,0x13d)+_0x300bcb(0x692,0x81d)+_0x300bcb(0x501,0x66f)+_0x261234(0x127,0x162)+_0x300bcb(0x37f,0x4b4)+'ent\x20s'+_0x300bcb(0x508,0x407)+_0x261234(0x244,0x307)+_0x300bcb(0x458,0x28a)+_0x300bcb(0x399,0x538)+_0x261234(0x1ce,0x278)+_0x261234(0x2e0,0x263)+'\x20\x20\x20Ta'+_0x300bcb(0x5aa,0x70e)+_0x261234(0x1f2,0x2ac)+_0x300bcb(0x3ae,0x55d)+_0x300bcb(0x3e5,0x352)+'n\x20rea'+'l\x20tim'+_0x300bcb(0x399,0x1f6)+_0x261234(0x15b,0x26c)+_0x300bcb(0x337,0x307)+_0x300bcb(0x375,0x447)+_0x261234(0x375,0x1ba)+'rrent'+_0x261234(0x15b,0x2eb)+_0x261234(0x211,0x3d8)+_0x300bcb(0x3a1,0x328)+_0x261234(0x8d,0x92)+'octor'+_0x261234(0x2e0,0xef)+_0x261234(0x36e,0x1df)+_0x300bcb(0x67d,0x4a9)+_0x261234(0x43d,0x3c3)+_0x261234(0x332,0x36a)+_0x300bcb(0x576,0x55a)+'\x20\x20\x20re'+_0x300bcb(0x2c6,0x425)+_0x261234(0x2e0,0x3d7)+_0x300bcb(0x2ca,0x452)+_0x300bcb(0x466,0x26e)+_0x261234(0x320,0x4a3)+_0x261234(0x268,0x8a)+_0x300bcb(0x634,0x7c7)+_0x261234(0x1dc,0x2bb)+_0x300bcb(0x64f,0x7fe)+'\x20\x20\x20up'+_0x300bcb(0x443,0x524)+_0x300bcb(0x501,0x460)+_0x261234(0x1c1,0xc)+_0x261234(0x252,0x1ad)+_0x261234(0x18e,-0x42)+'atest'+'\x20vers'+'ion\x0a\x20'+_0x261234(0x44c,0x473)+'insta'+'ll\x20\x20\x20'+_0x300bcb(0x687,0x6ea)+_0x300bcb(0x3bc,0x3f0)+_0x261234(0x1b5,0x3a2)+_0x300bcb(0x364,0x2a3)+_0x300bcb(0x51d,0x460)+_0x300bcb(0x320,0x26f)+_0x300bcb(0x2ac,0x390)+'ata\x0a\x0a'+_0x300bcb(0x384,0x303)+_0x261234(0x270,0x435)+_0x261234(0x217,0x150)+_0x261234(0x385,0x2c8)+_0x261234(0x395,0x3c6)+_0x261234(0x2e0,0x2e7)+_0x261234(0x236,0x26c)+_0x300bcb(0x4a4,0x4e6)+_0x300bcb(0x585,0x708)+_0x300bcb(0x516,0x3d8)+'defau'+'lt:\x203'+'456)\x0a'+'\x20\x20\x20\x20-'+_0x261234(0x31c,0x466)+_0x261234(0x2b7,0x1d3)+_0x300bcb(0x501,0x6f0)+_0x261234(0x176,0x1e8)+_0x261234(0x414,0x2f9)+_0x261234(0x1f3,0x85)+_0x300bcb(0x2b7,0x46f)+_0x261234(0x10c,0x6d)+'\x200.0.'+_0x261234(0x1d7,0x106)+_0x261234(0x169,0xf4)+'-deta'+_0x300bcb(0x463,0x55a)+_0x300bcb(0x696,0x4d5)+_0x261234(0x380,0x4f5)+'n\x20bac'+_0x261234(0xa0,0x79)+_0x300bcb(0x44b,0x2cc)+_0x300bcb(0x64e,0x6c0)+_0x261234(0x134,-0xb5)+_0x300bcb(0x69a,0x7d6)+_0x300bcb(0x371,0x4a1)+_0x261234(0x3ff,0x41d)+_0x300bcb(0x4ba,0x33c)+_0x261234(0x1cf,0xf4)+_0x261234(0x349,0x1fc)+_0x261234(0x1cc,0x107)+_0x261234(0x2e5,0x427)+_0x300bcb(0x3aa,0x35b)+_0x261234(0x454,0x561)+_0x300bcb(0x3a9,0x598)+'\x0a\x20\x20\x20\x20'+_0x300bcb(0x4c2,0x4ae)+_0x300bcb(0x66e,0x823)+_0x261234(0x2e0,0x4cf)+_0x300bcb(0x2f7,0x1bc)+_0x261234(0x3cb,0x328)+'\x20log\x20'+'lines'+_0x300bcb(0x6af,0x587)+_0x261234(0x437,0x5ea)+_0x300bcb(0x4c5,0x44a)+_0x300bcb(0x59a,0x577)+_0x261234(0x394,0x4cc)+_0x300bcb(0x467,0x2a9)+_0x300bcb(0x39f,0x546)+_0x261234(0x2f2,0x1d9)+_0x300bcb(0x501,0x6b9)+_0x261234(0xfd,0x16a)+'pen\x20c'+'onfig'+_0x261234(0x11d,0x15d)+'ditor'+_0x300bcb(0x2d1,0xf4)+_0x261234(0x48b,0x364)+_0x261234(0x169,0x178)+'-path'+_0x300bcb(0x501,0x475)+'\x20\x20\x20\x20\x20'+'Print'+_0x300bcb(0x37c,0x3aa)+'ig\x20fi'+_0x261234(0x3aa,0x37c)+'th\x20(c'+_0x261234(0x435,0x58d)+_0x300bcb(0x69a,0x696)+_0x300bcb(0x475,0x4d3)+_0x300bcb(0x36a,0x1e0)+_0x261234(0x3a4,0x398)+_0x261234(0x365,0x305)+_0x300bcb(0x4d0,0x68d)+_0x300bcb(0x4cf,0x3fe)+_0x300bcb(0x2ef,0x3e1)+_0x300bcb(0x535,0x412)+_0x261234(0x1a0,0xc3)+(_0x300bcb(0x552,0x5f2)+_0x300bcb(0x438,0x470)+'-v\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x261234(0x2e0,0x3b4)+_0x261234(0x127,0x325)+_0x300bcb(0x51a,0x3e4)+_0x261234(0xf4,-0xc0)+'\x20\x20\x20-h'+_0x261234(0x2e0,0xf9)+_0x261234(0x2e0,0x494)+_0x300bcb(0x452,0x5ed)+_0x261234(0x46a,0x484)+_0x300bcb(0x4cd,0x4c8)+_0x261234(0x288,0x32e)+'\x20\x20Exa'+_0x300bcb(0x590,0x6dd)+_0x300bcb(0x4b6,0x65b)+_0x261234(0x43b,0x437)+_0x261234(0x20a,0x2ae)+'k-cha'+'t\x20\x20\x20\x20'+_0x300bcb(0x501,0x3f6)+_0x300bcb(0x501,0x57e)+_0x261234(0xca,0x18a)+_0x261234(0x418,0x28d)+'t\x20on\x20'+_0x300bcb(0x3c4,0x5a4)+'lt\x20po'+_0x300bcb(0x380,0x52e)+_0x300bcb(0x368,0x41d)+_0x300bcb(0x3b2,0x584)+_0x261234(0x381,0x27a)+_0x300bcb(0x4c7,0x5da)+_0x300bcb(0x33c,0x1dc)+_0x300bcb(0x64b,0x6e2)+'\x20\x20\x20\x20\x20'+_0x261234(0x32a,0x342)+_0x261234(0x3db,0x1da)+'\x20port'+_0x261234(0xbe,-0x8e)+_0x261234(0x217,0x365)+_0x261234(0x99,0x1ce)+_0x261234(0x399,0x43d)+_0x300bcb(0x360,0x2fd)+_0x300bcb(0x3a6,0x3e7)+'\x20\x20\x20\x20\x20'+_0x261234(0x2e0,0x104)+'\x20\x20\x20#\x20'+'Stop\x20'+_0x261234(0x2a5,0x25f)+_0x261234(0x1bc,0x1b5)+_0x300bcb(0x438,0x60a)+_0x300bcb(0x2ba,0x47b)+'plink'+_0x261234(0x13f,0x2de)+'\x20info'+_0x261234(0x2e0,0x355)+_0x261234(0x2e0,0x4ca)+_0x300bcb(0x4a6,0x648)+'Show\x20'+_0x261234(0x3cd,0x259)+_0x300bcb(0x46b,0x49c)+_0x300bcb(0x438,0x538)+'npx\x20u'+_0x261234(0x399,0x44c)+_0x261234(0x13f,0x2bc)+'\x20logs'+_0x261234(0x10d,-0x59)+'nes\x201'+'00\x20#\x20'+_0x261234(0x2b0,0x2d8)+'last\x20'+'100\x20l'+'og\x20li'+_0x261234(0x1b1,0x385)+_0x261234(0x20d,0x22e)+_0x261234(0x2d7,0x4d8)+_0x261234(0x432,0x450)+_0x300bcb(0x423,0x5e7)+_0x300bcb(0x656,0x687)+_0x300bcb(0x68d,0x749)+'it\x20\x20\x20'+_0x261234(0x449,0x383)+_0x300bcb(0x5a7,0x47c)+_0x300bcb(0x41b,0x4cf)+_0x300bcb(0x3ec,0x25e)+_0x261234(0x48c,0x3a0)+_0x300bcb(0x619,0x57d)+_0x300bcb(0x368,0x47e)+_0x261234(0x191,0x5f)+_0x300bcb(0x5a2,0x780)+_0x300bcb(0x4ab,0x51d)+_0x261234(0x47b,0x484)+_0x261234(0x2e0,0x4ab)+'\x20\x20\x20\x20\x20'+_0x300bcb(0x40c,0x24d)+'\x20diag'+_0x261234(0x47c,0x28a)+_0x300bcb(0x3ba,0x536)+_0x300bcb(0x368,0x1ba)+_0x261234(0x191,0x285)+'nk-ch'+_0x300bcb(0x45c,0x5ac)+'set\x20-'+_0x261234(0x3d9,0x51c)+_0x300bcb(0x57e,0x397)+_0x300bcb(0x347,0x16a)+_0x300bcb(0x4a1,0x62c)+_0x300bcb(0x614,0x77e)+_0x300bcb(0x450,0x4ed)+'\x20prom'+_0x300bcb(0x533,0x3ac))),process[_0x261234(0x250,0x126)](-0x76c+0x3*-0x91c+-0x116*-0x20));function isRunning(_0x2a345f){const _0x26b2b9={};function _0x105ccf(_0xa24a9e,_0x285d27){return _0x261234(_0x285d27- -0xcc,_0xa24a9e);}function _0x1688cc(_0x3c9d0c,_0x2234ee){return _0x261234(_0x2234ee-0x3b6,_0x3c9d0c);}_0x26b2b9[_0x105ccf(-0x1bb,0x15)]='utf8',_0x26b2b9[_0x105ccf(0x4b1,0x386)]=_0x1688cc(0x5d5,0x505)+_0x1688cc(0x39f,0x49d),_0x26b2b9[_0x105ccf(0x171,0x331)]=_0x1688cc(0x683,0x4d5)+_0x1688cc(0x2ad,0x453)+_0x105ccf(0x1bb,0x261)+_0x105ccf(-0xc7,0x56),_0x26b2b9[_0x105ccf(0x2d2,0x2ef)]=_0x1688cc(0x5d4,0x4d5)+_0x105ccf(0x197,0x12d)+_0x1688cc(0x638,0x655)+_0x1688cc(0x6c5,0x6f1)+_0x105ccf(0xdf,0x2b0),_0x26b2b9[_0x105ccf(0x20c,0x280)]=function(_0x2c1a23,_0x28417a){return _0x2c1a23===_0x28417a;};const _0x238a76=_0x26b2b9;try{return process[_0x1688cc(0x66c,0x644)](_0x2a345f,-0x1*-0x4f2+0x632+0x3e*-0x2e),!![];}catch{if(_0x238a76['Yylen'](_0x1688cc(0x87a,0x75f),_0x105ccf(0x209,0x2dd)))return![];else try{_0x59bf51(_0x16f4bc,_0x238a76['muAfU']),_0x505648(_0x238a76[_0x105ccf(0x55d,0x386)],_0x238a76[_0x105ccf(0x3df,0x331)]);}catch{_0x354d28(_0x238a76['dajzz'],_0x238a76[_0x1688cc(0x667,0x771)]);}}}function getPid(){const _0x7bf394={'idKQN':_0xc1c579(0x214,0x15b)+'RM','UzCfo':function(_0x4ae3b1,_0xc0de9){return _0x4ae3b1(_0xc0de9);},'esNoG':function(_0x55c107,_0x5dba16,_0x38bd88){return _0x55c107(_0x5dba16,_0x38bd88);},'ZLQwA':function(_0x39f146,_0x222336,_0x1786f5){return _0x39f146(_0x222336,_0x1786f5);},'rmDGO':_0xc1c579(-0x1af,-0x47),'QGhvm':function(_0x2a5b59,_0x48a489){return _0x2a5b59===_0x48a489;},'yWnju':_0xc1c579(-0xd9,0x8a),'MEpBU':function(_0x540017,_0x3872d8){return _0x540017(_0x3872d8);}};if(!_0x7bf394[_0xc1c579(0x1f7,0x87)](existsSync,PID_FILE))return null;const _0x8938c6=_0x7bf394['esNoG'](parseInt,_0x7bf394[_0x99929f(0x2c7,0x3b2)](readFileSync,PID_FILE,_0x7bf394[_0x99929f(0x260,0xf5)])['trim'](),0x1abe+-0xe41*0x1+-0xc73);if(isNaN(_0x8938c6)||!_0x7bf394[_0xc1c579(-0xc0,0x87)](isRunning,_0x8938c6)){if(_0x7bf394[_0x99929f(-0x4,0x5c)](_0xc1c579(0x130,0x1e0),_0x7bf394[_0x99929f(-0xad,0xdf)]))_0x4d20cf[_0x99929f(0x126,0xb8)](_0x4f7ad7,_0x7bf394['idKQN']),_0x5c510a[_0xc1c579(0x463,0x289)]('\x20\x20✓\x20S'+'toppe'+_0x99929f(0x25a,0x452)+_0xc1c579(0x13e,0x2f3)+_0xc1c579(0x232,0x2e5)+_0x1e157b+')');else{try{_0x7bf394['MEpBU'](unlinkSync,PID_FILE);}catch{}return null;}}function _0xc1c579(_0x23e5ac,_0x2fa93f){return _0x300bcb(_0x2fa93f- -0x351,_0x23e5ac);}function _0x99929f(_0x47014d,_0x43eb4d){return _0x300bcb(_0x47014d- -0x389,_0x43eb4d);}return _0x8938c6;}function getWatchdogPid(){const _0x507759={'WKsUq':function(_0x4f125d,_0x2ec953,_0x310e7c){return _0x4f125d(_0x2ec953,_0x310e7c);},'cJDuy':function(_0x477e2c,_0x52597e){return _0x477e2c(_0x52597e);},'DPBfK':function(_0xf04422,_0xa796cf){return _0xf04422(_0xa796cf);},'ykXBU':'TfeSm','yrYQU':_0x2d867c(0x849,0x755),'iEPsf':function(_0x1b39bd,_0x1a24f4){return _0x1b39bd!==_0x1a24f4;},'qsBLE':_0x20882f(0xcd,0x4a),'hUKcn':_0x2d867c(0x59e,0x79d),'lbrYt':function(_0x1acd8,_0x1b1d34){return _0x1acd8(_0x1b1d34);}};function _0x20882f(_0x47a6fe,_0x3581e0){return _0x300bcb(_0x47a6fe- -0x246,_0x3581e0);}function _0x2d867c(_0x37049d,_0x20c751){return _0x300bcb(_0x37049d-0x2b5,_0x20c751);}if(!_0x507759[_0x20882f(0x411,0x40f)](existsSync,WATCHDOG_PID_FILE))return null;const _0x1da478=_0x507759[_0x2d867c(0x65d,0x7f0)](parseInt,_0x507759[_0x20882f(0x162,0x17a)](readFileSync,WATCHDOG_PID_FILE,'utf8')[_0x2d867c(0x5ed,0x6b1)](),0x12c8+0x6*0x45a+-0x2cda*0x1);if(_0x507759[_0x20882f(0x3e1,0x4f1)](isNaN,_0x1da478)||!_0x507759[_0x20882f(0x411,0x38a)](isRunning,_0x1da478)){if(_0x507759[_0x2d867c(0x589,0x4e7)]===_0x507759[_0x20882f(0x368,0x244)])_0x44e5fe[_0x20882f(0x394,0x372)](_0x20882f(0x45d,0x3c2)+_0x20882f(0x1fd,0x37)+_0x20882f(0xf0,0x58)+_0x2d867c(0x871,0x765));else{try{_0x507759[_0x2d867c(0x8f3,0x838)](_0x507759['qsBLE'],_0x507759[_0x2d867c(0x819,0x870)])?_0x507759[_0x2d867c(0x754,0x837)](unlinkSync,WATCHDOG_PID_FILE):(_0x4b7173[_0x20882f(0x253,0x12b)]=eIYzDh[_0x2d867c(0x65d,0x720)](_0x3b2a14,_0x427726[_0x1fb9c1+(-0x62*0x32+0x16f6+0x1*-0x3d1)],-0x1*-0xaa4+-0x10*-0x151+-0x1faa),_0x948d47++);}catch{}return null;}}return _0x1da478;}function getWatchdogState(){const _0x4b3b52={'qhhUZ':'SIGTE'+'RM','bMvRN':function(_0x17d8a1,_0x4d5455){return _0x17d8a1||_0x4d5455;},'oYFal':'serve'+'r','amdfI':_0x3a76ab(0x563,0x63f)+'dog.j'+'s','UMuIq':function(_0x391ac8,_0x27a26d){return _0x391ac8(_0x27a26d);},'kjqGv':function(_0x132181,_0x9a9762,_0x3fb425,_0x463844){return _0x132181(_0x9a9762,_0x3fb425,_0x463844);},'rksHu':_0x3a76ab(0x6e8,0x5dd)+'T','Zbvib':function(_0x9a572e,_0x5b406d){return _0x9a572e===_0x5b406d;},'sHXEs':_0x3a76ab(0x699,0x863),'kIVHs':function(_0x9c6b42,_0x4eb29e,_0x387f6d){return _0x9c6b42(_0x4eb29e,_0x387f6d);},'ozotw':_0x3a76ab(0x426,0x3ff),'aGCuL':function(_0x9890f6,_0x1f477d){return _0x9890f6!==_0x1f477d;},'WenDt':_0x3a76ab(0x64b,0x7c4)};if(!_0x4b3b52[_0x3a76ab(0x45b,0x38c)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x107f9d(_0x216beb,_0x4fa336){return _0x261234(_0x4fa336-0x3b6,_0x216beb);}function _0x3a76ab(_0x2e1d13,_0x15c08b){return _0x261234(_0x2e1d13-0x33d,_0x15c08b);}try{if(_0x4b3b52['Zbvib'](_0x4b3b52[_0x3a76ab(0x7c1,0x6a9)],_0x4b3b52[_0x3a76ab(0x7c1,0x885)]))return JSON['parse'](_0x4b3b52[_0x107f9d(0x8f1,0x840)](readFileSync,WATCHDOG_STATE_FILE,_0x4b3b52['ozotw']));else _0x2e2669['error']('\x20\x20✗\x20F'+_0x3a76ab(0x703,0x637)+_0x3a76ab(0x3e5,0x3d9)+'emove'+'\x20'+_0x10446d+':\x20'+_0x22e179['messa'+'ge']);}catch{if(_0x4b3b52['aGCuL'](_0x4b3b52[_0x107f9d(0x8c0,0x70c)],'eZPIi')){const _0x77bca1={'NRQSL':_0x4b3b52[_0x107f9d(0x6bf,0x6be)],'PDMPR':function(_0x224ee3,_0x31771f){function _0xe84d67(_0x42123e,_0x48f1e6){return _0x3a76ab(_0x48f1e6-0x17d,_0x42123e);}return _0x4b3b52[_0xe84d67(0x736,0x596)](_0x224ee3,_0x31771f);}},_0x539b2d=_0x28d6d8(_0x4407e3,_0x4b3b52['oYFal'],_0x4b3b52[_0x107f9d(0x86a,0x748)]),_0x12d286={};if(_0x28c157['port'])_0x12d286[_0x107f9d(0x77d,0x58c)]=_0x4b3b52[_0x3a76ab(0x45b,0x2c3)](_0x51d59c,_0x42c3d7[_0x107f9d(0x623,0x62e)]);if(_0x3a577b['host'])_0x12d286[_0x107f9d(0x52c,0x6bc)+_0x3a76ab(0x4ac,0x4b4)+'T']=_0x26fb5c[_0x107f9d(0x708,0x7dd)];const _0x46f467={};_0x46f467['cwd']=_0x52eaf3,_0x46f467[_0x3a76ab(0x63a,0x54a)]=_0x54af58,_0x46f467[_0x3a76ab(0x556,0x637)]='inher'+'it';const _0x18a55d=_0x4b3b52[_0x3a76ab(0x46b,0x587)](_0x496e1f,_0xcd5fbd[_0x107f9d(0x604,0x56e)+_0x107f9d(0x82d,0x823)],[_0x539b2d,_0x50f3ea['strin'+_0x3a76ab(0x5ca,0x425)](_0x12d286)],_0x46f467),_0x1c692=_0x1531d2['port']||_0x1db309['PORT']||0x1*0x20c2+0x4*-0x7be+0x5db*0x2;_0x4cad75['log'](_0x3a76ab(0x59f,0x555)+_0x3a76ab(0x462,0x51d)+'tarti'+_0x3a76ab(0x5e0,0x5e2)+'th\x20wa'+_0x3a76ab(0x75c,0x6a1)+'g\x20(au'+_0x3a76ab(0x5ba,0x475)+_0x107f9d(0x4c1,0x4ab)+_0x107f9d(0x81f,0x809)+_0x3a76ab(0x411,0x3b1)),_0x2f3023[_0x3a76ab(0x6f6,0x6d5)]('\x20\x20→\x20h'+'ttp:/'+_0x3a76ab(0x4bc,0x61a)+_0x3a76ab(0x465,0x383)+':'+_0x1c692),_0x10ad84['log'](_0x107f9d(0x72f,0x784)+_0x3a76ab(0x48d,0x5c1)+_0x3a76ab(0x73c,0x78a)+_0x107f9d(0x5e7,0x64f)+_0x107f9d(0x519,0x5e2)+_0x107f9d(0x6d3,0x67e)+'rver\x20'+_0x3a76ab(0x6de,0x4e5)),_0x541ad9['on'](_0x4b3b52[_0x107f9d(0x623,0x55a)],()=>{function _0x2544fb(_0x373034,_0x9c4edf){return _0x3a76ab(_0x373034- -0x598,_0x9c4edf);}_0x18a55d[_0x2544fb(0x33,0xd9)](_0x77bca1['NRQSL']);}),_0x4f9077['on']('SIGTE'+'RM',()=>{function _0x51da0a(_0x248566,_0x11230b){return _0x107f9d(_0x11230b,_0x248566- -0x1b8);}function _0x46efca(_0x5f31d7,_0x4566b1){return _0x107f9d(_0x5f31d7,_0x4566b1- -0x5bf);}_0x18a55d[_0x51da0a(0x48c,0x42a)](_0x4b3b52[_0x46efca(0x2a1,0xff)]);}),_0x18a55d['on'](_0x3a76ab(0x58d,0x39a),_0x14857f=>{function _0x238cc1(_0x5ef700,_0x4c8bbf){return _0x3a76ab(_0x4c8bbf-0x5a,_0x5ef700);}_0x11a910['exit'](_0x77bca1[_0x238cc1(0x516,0x5a6)](_0x14857f,-0x31e+-0x2d*-0xa3+-0x1989*0x1));});}else return null;}}function formatUptime(_0x1eb594){const _0x589c9a={};_0x589c9a[_0x27f2c9(0x5be,0x63b)]=function(_0x24ad8a,_0xdf45c){return _0x24ad8a/_0xdf45c;};function _0x27f2c9(_0x57faf9,_0x4eb866){return _0x261234(_0x4eb866-0x4ca,_0x57faf9);}_0x589c9a[_0x27f2c9(0x45c,0x582)]=function(_0x19276a,_0x279b4e){return _0x19276a%_0x279b4e;},_0x589c9a[_0x27f2c9(0x914,0x745)]=function(_0x380bf3,_0x7478ae){return _0x380bf3>_0x7478ae;},_0x589c9a[_0x27f2c9(0x814,0x89a)]=function(_0x3ef9e0,_0x35fa57){return _0x3ef9e0%_0x35fa57;};const _0x4ba056=_0x589c9a,_0x3cbc3b=Math['floor'](_0x4ba056['bXFQC'](_0x1eb594,0x2000+0x1*0xbe8+-0x2800)),_0x32e80e=Math[_0x27f2c9(0x6f1,0x6c2)](_0x4ba056[_0x27f2c9(0x469,0x63b)](_0x3cbc3b,-0xa7c+-0x10d4+0x1b8c)),_0x32342e=Math['floor'](_0x4ba056[_0x17c9e2(0x252,0x156)](_0x32e80e,-0x1130+-0x1*0xb61+-0x1ccd*-0x1)),_0x52c726=Math['floor'](_0x32342e/(0x7*0x47+0x14e4+0x16bd*-0x1));function _0x17c9e2(_0x1ec8f4,_0x45956a){return _0x261234(_0x1ec8f4-0xe1,_0x45956a);}if(_0x52c726>0x1a6f+-0x3f5+-0x167a)return _0x52c726+'d\x20'+_0x4ba056[_0x27f2c9(0x714,0x582)](_0x32342e,0x653+-0x284*-0x3+-0xdc7)+'h\x20'+_0x32e80e%(-0x11*0x83+0x6*-0x2c2+0x251*0xb)+'m';if(_0x4ba056['WSPlB'](_0x32342e,0x1b*0x15a+0x8e4+-0x2d62))return _0x32342e+'h\x20'+_0x32e80e%(-0x1a21*-0x1+-0x163d+-0x3a8)+'m\x20'+_0x4ba056[_0x27f2c9(0x6f0,0x89a)](_0x3cbc3b,0x1098+-0x5f9+-0xa63)+'s';if(_0x32e80e>-0x109d+0x188b+-0x7ee)return _0x32e80e+'m\x20'+_0x4ba056[_0x17c9e2(0x4b1,0x617)](_0x3cbc3b,-0x512*-0x2+0x1*-0x24f3+0x1b0b)+'s';return _0x3cbc3b+'s';}if(command==='stop'){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process[_0x300bcb(0x4af,0x60c)](watchdogPid,_0x261234(0x28b,0x319)+'RM'),console[_0x300bcb(0x5da,0x6b5)](_0x300bcb(0x483,0x43b)+_0x300bcb(0x38d,0x265)+_0x261234(0x1b6,0x37b)+_0x261234(0x2ed,0x471)+_0x261234(0x337,0x1fa)+_0x261234(0x3ac,0x4b0)+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x3a9fcb){console['error']('⬡\x20Fai'+_0x261234(0x334,0x2e2)+_0x300bcb(0x5f6,0x468)+_0x261234(0x3f6,0x202)+'ink\x20w'+_0x261234(0x1b6,0x2e5)+_0x261234(0xb2,0x215)+'ID\x20'+watchdogPid+'):',_0x3a9fcb[_0x261234(0x330,0x3e3)+'ge']),process['exit'](-0xf*0x94+-0x8af*-0x3+-0x8*0x22c);}process[_0x261234(0x250,0x1e2)](0x2*-0xb89+0x2100+-0x29*0x3e);}const pid=getPid();!pid&&(console[_0x261234(0x3b9,0x4ea)](_0x261234(0x262,0x15b)+_0x261234(0x46b,0x499)+'s\x20not'+_0x261234(0x3ef,0x360)+_0x261234(0x2a0,0xdd)),process[_0x261234(0x250,0x9d)](-0x1*0x13a9+-0x4*0x744+0x30b9));try{process[_0x300bcb(0x4af,0x36a)](pid,_0x300bcb(0x4ac,0x5c0)+'RM'),console[_0x300bcb(0x5da,0x7ba)](_0x261234(0x262,0x453)+_0x300bcb(0x346,0x258)+'toppe'+_0x261234(0x32c,0x30b)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x5d9956){console['error'](_0x300bcb(0x31f,0x4d3)+_0x261234(0x334,0x2d6)+_0x300bcb(0x5f6,0x66e)+_0x261234(0x3f6,0x42b)+'ink\x20('+_0x300bcb(0x636,0x813)+pid+'):',_0x5d9956[_0x261234(0x330,0x471)+'ge']),process[_0x300bcb(0x471,0x2e2)](-0x2b*-0x7d+-0x1af8+0x5fa);}process[_0x261234(0x250,0x3d0)](0x1*-0xe3+0x212+-0x12f);}if(command==='updat'+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x300bcb(0x40e,0x5ce)+_0x261234(0x2eb,0x26f)+'on')),currentVersion=pkg[_0x261234(0x311,0x15c)+'on'];console[_0x300bcb(0x5da,0x406)](_0x261234(0x2e6,0x23e)+_0x261234(0x1a7,0x2f3)+_0x261234(0x311,0x170)+_0x261234(0x292,0x2f6)+currentVersion),console[_0x300bcb(0x5da,0x490)]('⬡\x20Che'+_0x300bcb(0x4bf,0x5c9)+_0x300bcb(0x42c,0x323)+_0x300bcb(0x4fb,0x545)+_0x300bcb(0x388,0x3a9)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x261234(0x3b9,0x536)](_0x261234(0x196,0x1b5)+_0x261234(0x212,0x143)+_0x261234(0x2d9,0x48f)+'nk\x20be'+_0x300bcb(0x669,0x5f0)+'updat'+_0x261234(0x367,0x32f));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process['kill'](pidToKill,_0x261234(0x28b,0x423)+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x21d652={};_0x21d652[_0x300bcb(0x43a,0x28b)]=_0x261234(0x24b,0x3c8)+'e',execSync('sleep'+_0x300bcb(0x58b,0x685)+_0x261234(0x3b7,0x3f1)+_0x261234(0xbf,0x19a)+_0x261234(0x17c,0x2a8)+_0x261234(0x129,0x237)+_0x300bcb(0x2c5,0x4aa)+_0x300bcb(0x6a6,0x87d)+_0x300bcb(0x448,0x269)+'>nul\x20'+_0x261234(0x15a,0xb2),_0x21d652);}catch{}}try{console[_0x300bcb(0x5da,0x783)](_0x261234(0x305,0x288)+'ating'+_0x261234(0x20c,0x18f)+'ncomp'+'any/u'+_0x261234(0x399,0x3e8)+_0x261234(0x13f,0x156)+_0x300bcb(0x5be,0x7b2));const _0xdcfb1f={};_0xdcfb1f[_0x300bcb(0x43a,0x35b)]=_0x261234(0x37d,0x3de)+'it',execSync(_0x261234(0x1ac,0x122)+_0x261234(0x3b0,0x1b1)+_0x261234(0x148,0x1a0)+_0x300bcb(0x2cd,0x33f)+_0x261234(0x153,0x20b)+_0x300bcb(0x65a,0x745)+'ink-c'+_0x261234(0xe0,-0x35),_0xdcfb1f);}catch(_0x3db000){console[_0x300bcb(0x2e4,0x291)](_0x261234(0x482,0x50b)+_0x261234(0x222,0x3e9)+_0x261234(0x14a,0x7c)+'d:',_0x3db000[_0x261234(0x330,0x3ef)+'ge']),console['error'](_0x300bcb(0x543,0x3ff)+_0x261234(0x3ef,0x558)+_0x300bcb(0x57c,0x434)+'anual'+_0x261234(0x14b,0x2b9)+_0x261234(0x323,0x4c6)+_0x300bcb(0x443,0x60d)+_0x261234(0x101,0x86)+_0x261234(0xde,0xb)+_0x300bcb(0x645,0x7c4)+'/upli'+'nk-ch'+'at');if(wasRunning){console[_0x300bcb(0x5da,0x3f5)](_0x261234(0x2f3,0x40c)+_0x300bcb(0x316,0x4e9)+_0x300bcb(0x42a,0x2fa)+_0x261234(0x399,0x29c)+'...');const _0x11669b={};_0x11669b[_0x300bcb(0x43a,0x303)]=_0x261234(0x37d,0x205)+'it',execSync(_0x300bcb(0x42b,0x3fd)+_0x300bcb(0x524,0x6e1)+_0x300bcb(0x500,0x3b2)+_0x261234(0x374,0x18e)+_0x300bcb(0x624,0x6e8)+'h',_0x11669b);}process[_0x300bcb(0x471,0x46e)](0x2680+-0x1a56+-0xc29);}try{delete require[_0x300bcb(0x59c,0x536)][join(ROOT,_0x300bcb(0x40e,0x28d)+_0x300bcb(0x50c,0x4db)+'on')];const newPkg=require(join(ROOT,_0x261234(0x1ed,0x23)+'ge.js'+'on')),newVersion=newPkg[_0x300bcb(0x532,0x542)+'on'];newVersion!==currentVersion?console['log'](_0x300bcb(0x6a3,0x652)+'dated'+_0x300bcb(0x326,0x3c3)+currentVersion+_0x300bcb(0x521,0x560)+newVersion):console[_0x300bcb(0x5da,0x7b0)](_0x261234(0x30d,0x3d8)+_0x300bcb(0x36d,0x268)+_0x300bcb(0x5d0,0x56e)+'he\x20la'+_0x261234(0x192,0x2c0)+_0x300bcb(0x532,0x50a)+'on\x20(v'+currentVersion+').');}catch{console['log'](_0x300bcb(0x6a3,0x625)+_0x261234(0x222,0x265)+'compl'+_0x261234(0x39b,0x4da));}if(wasRunning){console[_0x261234(0x3b9,0x530)](_0x300bcb(0x34c,0x40d)+_0x300bcb(0x362,0x19a)+_0x261234(0x38c,0x44a)+_0x261234(0x1f5,0x340)+'..');try{const _0x381882={};_0x381882[_0x300bcb(0x43a,0x55b)]='inher'+'it',execSync(_0x261234(0x20a,0x3cc)+'k-cha'+_0x300bcb(0x500,0x53c)+_0x261234(0x374,0x17d)+_0x261234(0x403,0x5f0)+'h',_0x381882);}catch{console[_0x300bcb(0x5da,0x6ab)]('⬡\x20Aut'+_0x300bcb(0x3c9,0x498)+_0x261234(0x2b9,0x129)+_0x261234(0x14a,0x17e)+_0x300bcb(0x3f4,0x5cd)+_0x261234(0x13b,0x2a0)+_0x261234(0x47f,0x3ea)+_0x261234(0x208,0x29a)+_0x300bcb(0x668,0x50c)+_0x261234(0x399,0x421)+'-chat'+_0x300bcb(0x2d6,0x334)+'t');}}process[_0x261234(0x250,0x6f)](0xe97+0x1d41+-0x2bd8);}if(command==='statu'+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x300bcb(0x3fe,0x270)]()-state[_0x300bcb(0x316,0x295)+_0x261234(0x17b,0x2db)]);console['log']('⬡\x20Upl'+_0x300bcb(0x68c,0x67b)+_0x300bcb(0x38f,0x1b5)+_0x300bcb(0x546,0x539)+_0x261234(0x2ff,0x1bc)+_0x261234(0x299,0x3e7)+'mode)'),console['log'](_0x261234(0x21f,0x33a)+'chdog'+_0x300bcb(0x454,0x4c6)+'\x20'+watchdogPid);if(state[_0x300bcb(0x3bc,0x217)+_0x300bcb(0x4a3,0x4af)])console['log'](_0x300bcb(0x55d,0x506)+_0x300bcb(0x2c3,0xdc)+_0x300bcb(0x495,0x56b)+'\x20'+state[_0x261234(0x19b,0xf)+_0x300bcb(0x4a3,0x515)]);console[_0x300bcb(0x5da,0x4ec)](_0x261234(0x123,0x318)+_0x261234(0xf3,0x104)+_0x300bcb(0x501,0x5e8)+'\x20'+uptime),console[_0x300bcb(0x5da,0x4e2)](_0x300bcb(0x2e5,0x212)+_0x300bcb(0x32b,0x3cf)+_0x300bcb(0x376,0x41f)+'\x20'+(state[_0x300bcb(0x536,0x46d)+_0x300bcb(0x554,0x485)+'nt']||0x11*0x84+-0xa6*0x24+0xe94));if(state[_0x300bcb(0x666,0x5f3)+'ffMs']>0x377*0x8+-0xe80+-0x950)console[_0x300bcb(0x5da,0x6f6)]('\x20\x20Bac'+_0x261234(0x2ad,0x232)+_0x261234(0x2e0,0x319)+'\x20'+state[_0x261234(0x445,0x29c)+_0x300bcb(0x4e8,0x5c7)]+'ms');}else{const pid=getPid();pid?console[_0x261234(0x3b9,0x35f)](_0x261234(0x262,0x1c5)+'ink\x20i'+_0x261234(0x16e,0x214)+'ning\x20'+'(PID\x20'+pid+').'):console[_0x261234(0x3b9,0x549)](_0x300bcb(0x483,0x613)+_0x300bcb(0x68c,0x6f2)+_0x261234(0x210,0x397)+_0x261234(0x3ef,0x5ea)+_0x261234(0x2a0,0x333));}process[_0x300bcb(0x471,0x39b)](-0x18b6+-0x1054+0x290a);}if(command===_0x261234(0x34f,0x175)+_0x300bcb(0x4f6,0x496)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x300bcb(0x50c,0x661)+'on')),readline=await import(_0x300bcb(0x5f4,0x79d)+_0x261234(0x1c9,0x26c)),{rmSync}=await import('fs');console[_0x261234(0x3b9,0x420)](_0x300bcb(0x664,0x6e7)+'Uplin'+_0x261234(0x179,0x108)+'nstal'+_0x261234(0xe6,0x2bf)+pkg[_0x261234(0x311,0x318)+'on']+'\x0a'),console['log'](_0x300bcb(0x451,0x495)+'s\x20wil'+'l:'),console[_0x261234(0x3b9,0x539)](_0x261234(0x19e,-0xe)+_0x261234(0x446,0x2e1)+_0x300bcb(0x518,0x54a)+_0x261234(0x3ed,0x59b)+_0x261234(0x2c2,0x1e2)+_0x300bcb(0x4f3,0x612)+_0x261234(0x159,0xf1)+_0x300bcb(0x640,0x560)+'g'),console[_0x261234(0x3b9,0x31c)](_0x300bcb(0x3bf,0x598)+_0x261234(0x321,0x505)+_0x261234(0x2fc,0x3d2)+_0x261234(0x2e1,0x155)+'figur'+'ation'+'\x20(.en'+_0x300bcb(0x2f9,0x416)+'nfig\x20'+_0x261234(0x444,0x449)+')'),console[_0x261234(0x3b9,0x369)](_0x261234(0x19e,0x1d8)+_0x300bcb(0x542,0x584)+_0x300bcb(0x51d,0x57f)+'l\x20upl'+_0x261234(0x372,0x365)+_0x300bcb(0x47a,0x538)+_0x300bcb(0x4e7,0x6b6)+_0x300bcb(0x410,0x386)),console[_0x300bcb(0x5da,0x771)](_0x300bcb(0x3bf,0x30b)+_0x261234(0x321,0x2dd)+_0x300bcb(0x51d,0x6b1)+_0x300bcb(0x690,0x788)+_0x261234(0x9d,0x1c0)+'\x20PID\x20'+_0x261234(0x444,0x643)),console[_0x261234(0x3b9,0x44b)](_0x300bcb(0x3bf,0x28e)+'\x20Remo'+_0x261234(0x1be,0x1eb)+_0x261234(0x1ee,0x25e)+_0x300bcb(0x40b,0x3ea)+'s\x20and'+_0x300bcb(0x422,0x2f9)+_0x300bcb(0x426,0x27e)+'es'),console[_0x300bcb(0x5da,0x4f9)]('\x20\x20\x20\x20•'+'\x20Unin'+_0x300bcb(0x685,0x6f4)+_0x300bcb(0x518,0x552)+_0x300bcb(0x453,0x542)+_0x300bcb(0x608,0x7fc)+_0x300bcb(0x5f3,0x431)+_0x300bcb(0x300,0x338)+'\x0a'),console['log'](_0x261234(0x3b3,0x3dd)+_0x261234(0xf9,-0xf3)+_0x300bcb(0x63a,0x4c6)+'n\x20can'+_0x300bcb(0x2af,0x1b8)+'e\x20und'+_0x261234(0x175,0x10f));const _0x438fe1={};_0x438fe1['input']=process[_0x261234(0x206,0x1f6)],_0x438fe1[_0x261234(0x31f,0x4bc)+'t']=process[_0x261234(0x34b,0x47c)+'t'];const rl=readline['creat'+_0x261234(0x477,0x427)+_0x261234(0x1a1,0x374)](_0x438fe1),answer=await new Promise(_0x40a28d=>{function _0x1476b0(_0x40aeca,_0x2a3c47){return _0x261234(_0x2a3c47-0x180,_0x40aeca);}function _0x1681cb(_0xa8d91d,_0x141846){return _0x261234(_0x141846-0x449,_0xa8d91d);}rl[_0x1681cb(0x911,0x84b)+_0x1681cb(0x6fd,0x5ee)](_0x1476b0(0x3eb,0x470)+'e\x20\x22un'+'insta'+_0x1476b0(0x1d7,0x20c)+_0x1681cb(0xa78,0x8a9)+_0x1681cb(0x405,0x5c6)+'\x20',_0x40a28d);});rl[_0x261234(0x21a,0x3e9)]();answer['trim']()[_0x261234(0xb4,-0x7b)+_0x261234(0x430,0x2f0)+'e']()!==_0x261234(0x34f,0x1e4)+_0x300bcb(0x4f6,0x42c)&&(console[_0x300bcb(0x5da,0x464)](_0x261234(0x3b4,0x46d)+_0x300bcb(0x5c1,0x407)+_0x261234(0x15c,0x25f)+'othin'+_0x261234(0x1c8,0x296)+_0x300bcb(0x364,0x507)+_0x300bcb(0x2fc,0x3f2)),process[_0x300bcb(0x471,0x4fb)](-0x1ff9+0x1*0xa55+0x15a4));console[_0x300bcb(0x5da,0x717)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x300bcb(0x4af,0x330)](watchdogPid,_0x300bcb(0x4ac,0x48a)+'RM'),console[_0x261234(0x3b9,0x30b)](_0x261234(0xb6,0x2af)+_0x261234(0x369,0x3ea)+'d\x20wat'+_0x261234(0x188,0x364)+_0x261234(0x3ac,0x410)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x261234(0x28e,0x201)](serverPid,_0x300bcb(0x4ac,0x67b)+'RM'),console[_0x261234(0x3b9,0x255)](_0x261234(0xb6,0x8b)+_0x300bcb(0x58a,0x6f2)+_0x300bcb(0x5e3,0x3e9)+'ver\x20('+_0x300bcb(0x636,0x7b1)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x300bcb(0x5da,0x6ef)](_0x261234(0xb6,-0x11b)+_0x300bcb(0x3dd,0x4c2)+_0x261234(0x29f,0x112)+_0x261234(0x45d,0x403)+'ng');const legacyToRemove=[_0x261234(0x359,0x3b9),_0x300bcb(0x3c7,0x353)+_0x261234(0x240,0x3b4)+'n',_0x300bcb(0x672,0x68f)+'nk.pi'+'d',_0x300bcb(0x672,0x5c6)+_0x261234(0x1f1,0x176)+_0x261234(0x41f,0x387)+_0x261234(0x9e,0x20e),'.upli'+'nk-wa'+_0x261234(0x41f,0x531)+_0x300bcb(0x461,0x3fe)+'n',_0x261234(0x451,0x600)+_0x300bcb(0x412,0x2c0)+_0x261234(0x41f,0x5f4)+_0x261234(0x2ec,0x3e2),_0x261234(0x451,0x446)+_0x261234(0x32e,0x469)+'rver.'+'log',_0x300bcb(0x366,0x172)+_0x261234(0x376,0x44a)+'son','messa'+_0x261234(0x384,0x1db)+_0x261234(0x3da,0x312)+'son',_0x300bcb(0x4a7,0x62f)+_0x261234(0x462,0x542)+_0x261234(0x264,0x21a)+_0x261234(0x416,0x310)+_0x300bcb(0x3ca,0x583),_0x300bcb(0x694,0x49d)+_0x261234(0xbd,0x156)+_0x300bcb(0x386,0x508)+_0x261234(0x194,0x1ef),'uploa'+'ds',_0x261234(0x276,0x37b)+_0x261234(0xc0,0x17),_0x261234(0x261,0x1db)+_0x300bcb(0x493,0x4fa)+'io',_0x261234(0x261,0xae)+'c/img'+'/agen'+'ts'];let removed=-0x20*-0x83+0x200e*0x1+0x306e*-0x1;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x441e30={};_0x441e30['recur'+_0x300bcb(0x350,0x1e9)]=!![],_0x441e30[_0x300bcb(0x43f,0x5c8)]=!![],rmSync(fullPath,_0x441e30),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x4b33f1={};_0x4b33f1[_0x261234(0x417,0x4ae)+_0x261234(0x12f,0x2a2)]=!![],_0x4b33f1['force']=!![],rmSync(DATA_DIR,_0x4b33f1),removed++,console['log'](_0x261234(0x3e5,0x38f)+_0x300bcb(0x628,0x71f)+_0x300bcb(0x492,0x433)+_0x261234(0x442,0x332)+'ector'+_0x300bcb(0x387,0x402)+DATA_DIR);}catch{}console[_0x300bcb(0x5da,0x607)](_0x300bcb(0x606,0x646)+_0x261234(0x407,0x2e7)+'d\x20'+removed+('\x20data'+_0x261234(0xfb,-0x50)+_0x261234(0x3f9,0x2ce)+_0x300bcb(0x625,0x5be)+_0x300bcb(0x415,0x310))),console['log'](_0x261234(0x3e5,0x599)+_0x300bcb(0x325,0x217)+_0x300bcb(0x603,0x612)+_0x300bcb(0x699,0x88d)+_0x261234(0x14d,0x228)+_0x300bcb(0x2d8,0x193));try{const _0xbd7630={};_0xbd7630[_0x261234(0x219,0xdd)]='inher'+'it',execSync(_0x300bcb(0x3cd,0x405)+'ninst'+'all\x20-'+_0x261234(0xc6,-0x61)+_0x300bcb(0x40a,0x46c)+_0x300bcb(0x34e,0x536)+_0x261234(0x20a,0xa8)+'k-cha'+'t',_0xbd7630),console['log']('\x0a\x20\x20⬡\x20'+_0x300bcb(0x60e,0x792)+_0x300bcb(0x682,0x49a)+_0x300bcb(0x406,0x47e)+_0x300bcb(0x4f5,0x685)+_0x261234(0x3b5,0x48a)+'y\x20uni'+_0x261234(0x1ff,0x30)+_0x261234(0x411,0x23c)),console['log'](_0x300bcb(0x4ca,0x3a0)+_0x300bcb(0x2e6,0x11a)+_0x261234(0x22d,0x9b)+_0x261234(0x209,0x1f)+_0x300bcb(0x5ba,0x7b1)+_0x300bcb(0x50b,0x315));}catch(_0x5e6109){console[_0x261234(0xc3,-0x42)](_0x300bcb(0x2b3,0x3a1)+_0x261234(0x1ab,0x2c5)+_0x300bcb(0x61d,0x760)+_0x300bcb(0x51c,0x396)+_0x300bcb(0x685,0x53e)+_0x300bcb(0x44c,0x499)+_0x300bcb(0x40e,0x487)+_0x261234(0x2ba,0x115)),console['error']('\x20\x20Run'+_0x261234(0x133,-0x62)+_0x300bcb(0x3f9,0x44c)+_0x300bcb(0x44c,0x4b3)+'unins'+'tall\x20'+_0x300bcb(0x322,0x263)+_0x300bcb(0x2ff,0x254)+_0x261234(0x424,0x263)+'/upli'+_0x300bcb(0x5a2,0x44e)+_0x261234(0x3ca,0x557)),process[_0x261234(0x250,0x284)](0x21df*0x1+0xbfb*-0x1+-0x1*0x15e3);}process['exit'](-0xeef+0x57*0x57+-0xea2);}if(command===_0x300bcb(0x34d,0x356)){const LOG_FILE=join(ROOT,'serve'+'r.log'),ALT_LOG_FILE=join(ROOT,_0x261234(0x451,0x290)+_0x300bcb(0x54f,0x70d)+_0x300bcb(0x678,0x4d0)+_0x261234(0x3b9,0x51f)),DATA_LOG_FILE=join(DATA_DIR,_0x300bcb(0x672,0x4df)+_0x300bcb(0x54f,0x725)+_0x300bcb(0x678,0x552)+'log'),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x300bcb(0x5da,0x476)]('⬡\x20No\x20'+_0x300bcb(0x435,0x5f1)+_0x300bcb(0x464,0x347)+_0x300bcb(0x641,0x5f7)),console[_0x261234(0x3b9,0x2eb)](_0x300bcb(0x30f,0x2cf)+_0x261234(0x21c,0x15a)+_0x300bcb(0x549,0x4c5)+_0x300bcb(0x55f,0x66c)+':'),console[_0x261234(0x3b9,0x56a)]('\x20\x20\x20\x20'+LOG_FILE),console['log'](_0x261234(0x3e4,0x58e)+ALT_LOG_FILE),console['log'](''),console[_0x261234(0x3b9,0x4c0)]('\x20\x20Log'+_0x300bcb(0x592,0x6da)+_0x300bcb(0x3ad,0x455)+'ted\x20w'+_0x261234(0x3bc,0x362)+_0x261234(0x3a3,0x511)+_0x261234(0x26e,0xdb)+_0x300bcb(0x4b8,0x43d)),console[_0x300bcb(0x5da,0x638)](_0x300bcb(0x46d,0x665)+_0x300bcb(0x37e,0x419)+_0x261234(0x1f2,0x348)+_0x300bcb(0x2ea,0x3b8)+_0x261234(0xd5,0x2c1)+_0x300bcb(0x3b2,0x44e)+_0x261234(0x381,0x48d)+'at\x20st'+_0x261234(0x106,0x6c)),process[_0x261234(0x250,0x44d)](-0x6*-0xc2+0x1290+0x41*-0x5b));const lines=flags['lines']||-0x1261+-0xa0b+0x1c9e;try{const content=readFileSync(logFile,_0x261234(0xe9,0x199)),allLines=content[_0x261234(0x42b,0x3dd)]('\x0a'),tail=allLines[_0x300bcb(0x67c,0x7b4)](-lines)[_0x261234(0x422,0x505)]('\x0a');console['log'](_0x261234(0xa6,-0x92)+_0x300bcb(0x57f,0x402)+_0x300bcb(0x3eb,0x4ae)+lines+(_0x300bcb(0x48a,0x3e9)+'s\x20fro'+'m\x20')+logFile+'\x0a'),console[_0x261234(0x3b9,0x48f)](tail);}catch(_0xdf1c5){console[_0x300bcb(0x2e4,0x1ad)](_0x261234(0xfe,-0x71)+_0x300bcb(0x555,0x6cc)+'o\x20rea'+'d\x20log'+_0x261234(0xfb,0x3b)+':\x20'+_0xdf1c5[_0x261234(0x330,0x26d)+'ge']),process[_0x261234(0x250,0x29c)](-0x39+-0x249e+-0x48*-0x83);}console[_0x300bcb(0x5da,0x5f5)](_0x261234(0x39c,0x293)+_0x261234(0xa3,-0x12e)+'g\x20for'+'\x20new\x20'+_0x300bcb(0x559,0x3c4)+'ntrie'+_0x261234(0x34a,0x44b)+_0x261234(0x2c5,0xf9)+_0x300bcb(0x64d,0x495)+_0x300bcb(0x3a6,0x59f)+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x300bcb(0x442,0x2e1)];const watcher=fsModule[_0x261234(0x226,0xe8)](logFile,()=>{function _0x403922(_0x3d389c,_0x46a970){return _0x261234(_0x46a970-0x5e,_0x3d389c);}const _0x8f3543={};_0x8f3543['EceSK']=_0x403922(0x280,0x22f)+'o-res'+_0x403922(0x203,0x317)+'faile'+_0x403922(0x26a,0x231)+_0x403922(0x2db,0x199)+'anual'+_0xd28db4(0x64c,0x535)+_0xd28db4(0x8ea,0x774)+_0x403922(0x309,0x3f7)+_0x403922(0x36d,0x19d)+_0x403922(0x2b4,0x113)+'t',_0x8f3543[_0x403922(0x1df,0x25e)]=function(_0x2763aa,_0x5b451d){return _0x2763aa>_0x5b451d;},_0x8f3543[_0x403922(0x2af,0x305)]=_0xd28db4(0x479,0x47b),_0x8f3543[_0x403922(0x236,0x394)]=function(_0x2705f5,_0x2f1bcf){return _0x2705f5-_0x2f1bcf;},_0x8f3543[_0x403922(0xcc,0x16e)]=function(_0x47191b,_0x38bb24){return _0x47191b<_0x38bb24;};function _0xd28db4(_0x38ccab,_0x2cf25e){return _0x261234(_0x2cf25e-0x32d,_0x38ccab);}const _0x142324=_0x8f3543;try{const _0x14472a=fsModule[_0x403922(0x120,0x306)+_0x403922(0x660,0x4b4)](logFile,'r'),_0x438228=fsModule[_0xd28db4(0x638,0x7b5)+_0x403922(0x2e0,0x1bf)](_0x14472a)[_0xd28db4(0x480,0x54e)];if(_0x142324['UMfoS'](_0x438228,position)){if(_0x142324[_0xd28db4(0x4a0,0x5d4)]===_0x142324[_0x403922(0x1b0,0x305)]){const _0x460a96=Buffer[_0xd28db4(0x3d3,0x3c5)](_0x142324[_0xd28db4(0x71c,0x663)](_0x438228,position));fsModule[_0x403922(0x480,0x31c)+_0x403922(0x624,0x4b4)](_0x14472a,_0x460a96,-0x1*-0x4ab+0x54*-0x14+0x5*0x61,_0x460a96[_0x403922(0x3,0x13b)+'h'],position),process[_0xd28db4(0x48c,0x678)+'t']['write'](_0x460a96[_0xd28db4(0x4ad,0x3fd)+_0xd28db4(0x4b9,0x4af)](_0xd28db4(0x4e6,0x416))),position=_0x438228;}else _0x511232[_0xd28db4(0x5b9,0x6e6)](KdnTgj[_0xd28db4(0x505,0x4e0)]);}else _0x142324[_0xd28db4(0x44b,0x43d)](_0x438228,position)&&(position=-0xbaa+-0x1bb*0x15+0x3001);fsModule[_0x403922(0x1cd,0x278)+_0xd28db4(0x39f,0x48e)](_0x14472a);}catch{}});process['on'](_0x261234(0x3ab,0x31c)+'T',()=>{function _0x592385(_0x18df4e,_0x301603){return _0x261234(_0x18df4e- -0x25,_0x301603);}function _0x159b17(_0x26d7d2,_0x387ca1){return _0x261234(_0x387ca1- -0xe3,_0x26d7d2);}watcher[_0x592385(0x1f5,0xdf)](),process[_0x592385(0x22b,0x252)](0x8+0x3bd*-0x5+0x12a9);}),process['on'](_0x300bcb(0x4ac,0x498)+'RM',()=>{function _0x328e5a(_0x45e56d,_0x45ac91){return _0x261234(_0x45ac91- -0x166,_0x45e56d);}function _0x5dcb2a(_0x3e60d6,_0x29d7c0){return _0x261234(_0x29d7c0-0x275,_0x3e60d6);}watcher[_0x5dcb2a(0x32c,0x48f)](),process[_0x5dcb2a(0x58b,0x4c5)](-0x65d+0x1b*-0x166+-0x2d*-0xfb);});}if(command==='confi'+'g'){const ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,_0x300bcb(0x57a,0x411)):join(ROOT,_0x300bcb(0x57a,0x581));flags[_0x261234(0x1d2,0x32c)]&&(console['log'](ENV_FILE),process['exit'](-0x1df+-0x1*-0xeb9+-0x1*0xcda));if(flags['edit']){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x300bcb(0x560,0x678)+_0x261234(0x383,0x3f6)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x300bcb(0x30a,0x2de))),console[_0x300bcb(0x5da,0x5e6)]('⬡\x20Cre'+_0x300bcb(0x460,0x659)+_0x300bcb(0x370,0x23d)+'from\x20'+_0x261234(0x33f,0x416)+_0x261234(0x383,0x1f2)+'le')):(writeFileSync(ENV_FILE,_0x261234(0x3c5,0x439)+_0x300bcb(0x3b4,0x375)+'onfig'+_0x300bcb(0x46a,0x34a)+_0x300bcb(0x306,0x4ca)),console['log'](_0x300bcb(0x5c6,0x600)+_0x300bcb(0x460,0x484)+_0x261234(0x1d0,0x15e)+'\x20.env'+'\x20file'));}const editor=process.env.EDITOR||(process[_0x300bcb(0x3e7,0x20b)+_0x300bcb(0x3e1,0x3c1)]===_0x261234(0x289,0x3f5)?_0x261234(0x25b,0x129)+'ad':'nano');console['log'](_0x261234(0x132,0x1c3)+_0x300bcb(0x546,0x56b)+ENV_FILE+_0x261234(0x121,0x50)+editor+_0x261234(0x41a,0x330));try{const _0x23a3b8={};_0x23a3b8['stdio']=_0x261234(0x37d,0x4dd)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x23a3b8);}catch(_0x26e1bd){console[_0x300bcb(0x2e4,0x389)]('⬡\x20Fai'+'led\x20t'+_0x300bcb(0x62a,0x7a5)+_0x261234(0x224,0x72)+_0x261234(0x3d1,0x218)+_0x26e1bd[_0x300bcb(0x551,0x4c8)+'ge']),console[_0x300bcb(0x2e4,0x36a)](_0x261234(0x1bb,0x141)+_0x300bcb(0x4de,0x55a)+'OR\x20en'+_0x300bcb(0x509,0x588)+_0x261234(0x2b4,0x163)+_0x261234(0x335,0x38b)+_0x261234(0x47f,0x3dc)+'ly:\x20'+ENV_FILE),process[_0x261234(0x250,0x1eb)](0x53d*0x1+-0x1*0x1855+0x1319);}process['exit'](0x4b1*0x2+-0x7c6+-0x67*0x4);}!existsSync(ENV_FILE)&&(console[_0x261234(0x3b9,0x39a)](_0x261234(0x203,0xd0)+_0x300bcb(0x370,0x1fd)+'file\x20'+'found'+'.'),console[_0x300bcb(0x5da,0x738)](_0x300bcb(0x494,0x5b6)+_0x300bcb(0x45a,0x4df)+'ne\x20wi'+_0x261234(0x447,0x43c)+_0x300bcb(0x5ba,0x4c5)+_0x261234(0x13f,-0xa4)+_0x261234(0x15b,0xf2)+_0x261234(0x2bf,0x415)+_0x300bcb(0x2bd,0x482)),console[_0x300bcb(0x5da,0x4ff)](_0x300bcb(0x2d0,0x443)+_0x261234(0x3de,0x4a2)+'the\x20e'+_0x261234(0x345,0x374)+'e:\x20cp'+_0x300bcb(0x67f,0x663)+_0x300bcb(0x2dd,0x225)+_0x300bcb(0x317,0x419)+'env'),process[_0x300bcb(0x471,0x375)](-0x20bc+-0x1a8d+0x3b4a));const SENSITIVE_KEYS=['TOKEN',_0x261234(0x2c3,0x186),_0x261234(0x2c0,0x265)+'T',_0x261234(0x1e7,0x2b6)+'ORD',_0x261234(0xf1,0x158)+'NTIAL'];function maskValue(_0xea5319,_0x3c3d93){function _0x13808a(_0x15530d,_0x59566e){return _0x261234(_0x59566e- -0x27,_0x15530d);}const _0x5d80ef={};_0x5d80ef[_0x13808a(0x32b,0x1ec)]=function(_0x213084,_0x2c72a7){return _0x213084||_0x2c72a7;},_0x5d80ef[_0x13808a(0x2e7,0x227)]=_0x13808a(0x15b,0x149);const _0x16a433=_0x5d80ef;function _0x4efe49(_0x4f36a9,_0x60d127){return _0x261234(_0x4f36a9-0x2ef,_0x60d127);}const _0x310902=SENSITIVE_KEYS[_0x13808a(0x7d,0x78)](_0x2b8c9b=>_0xea5319[_0x13808a(0x27a,0x387)+_0x13808a(0x43f,0x409)+'e']()[_0x4efe49(0x3d7,0x3f9)+_0x13808a(0x599,0x3ad)](_0x2b8c9b));if(_0x16a433['DlKIh'](!_0x310902,!_0x3c3d93)||_0x3c3d93['lengt'+'h']<=-0xd3*0x5+0xab1+0x1*-0x68e)return _0x3c3d93;return _0x3c3d93[_0x13808a(0x291,0x434)](-0x137b+0x9+0x1372,0x5c*-0x1d+0x265f+0x1*-0x1bef)+_0x16a433[_0x13808a(0x161,0x227)];}try{const content=readFileSync(ENV_FILE,_0x261234(0xe9,-0xfa)),entries=[];for(const line of content[_0x300bcb(0x64c,0x829)]('\x0a')){const trimmed=line[_0x261234(0x117,0x1ff)]();if(!trimmed||trimmed[_0x300bcb(0x316,0x2b0)+'sWith']('#'))continue;const eqIdx=trimmed[_0x300bcb(0x4b0,0x491)+'Of']('=');if(eqIdx===-(-0x2*0x1344+-0x1376+0x39ff))continue;const key=trimmed[_0x261234(0x45b,0x272)](-0x26*0xc7+0x1b8e+0x1fc,eqIdx)[_0x261234(0x117,-0x1c)](),val=trimmed[_0x300bcb(0x67c,0x69f)](eqIdx+(-0x641+-0x21f6+-0x42*-0x9c))[_0x300bcb(0x338,0x260)]();entries[_0x261234(0x2fa,0x3a7)]([key,val]);}entries[_0x300bcb(0x2fe,0x23e)+'h']===0x21+0x77*0x49+0x442*-0x8&&(console['log'](_0x261234(0x263,0x6a)+_0x261234(0x2c9,0x323)+_0x261234(0x1e6,0x1c8)+'empty'+_0x261234(0x2db,0x25e)+_0x261234(0x2d3,0x490)+_0x261234(0x432,0x3cf)+'hat\x20c'+_0x261234(0x435,0x40c)+_0x261234(0x46c,0x37b)+'it'),process[_0x300bcb(0x471,0x297)](0x2cc+0x2693+-0x295f));const maxKeyLen=Math['max'](...entries[_0x261234(0xf0,0x1b6)](([_0xb23e68])=>_0xb23e68[_0x300bcb(0x2fe,0x10a)+'h']));console[_0x300bcb(0x5da,0x6de)]('\x0a\x20\x20⬡\x20'+_0x300bcb(0x60e,0x73c)+_0x300bcb(0x503,0x4be)+_0x300bcb(0x404,0x5ea)+_0x300bcb(0x525,0x5da)+'\x0a'),console['log']('\x20\x20'+_0x261234(0x30b,0x34d)[_0x261234(0x450,0x651)+'d'](maxKeyLen+(0x10c+-0x5c9*-0x5+-0x3*0x9fd))+_0x300bcb(0x339,0x150)),console[_0x261234(0x3b9,0x1be)]('\x20\x20'+'─'[_0x261234(0x3c0,0x4d4)+'t'](maxKeyLen+(0x14b5+-0x78a*0x4+0x975))+'─'['repea'+'t'](-0x4*0x626+-0x2452*0x1+-0x2*-0x1e89));for(const [key,val]of entries){const display=val?maskValue(key,val):_0x261234(0x3df,0x1f7)+_0x300bcb(0x474,0x5ba)+_0x300bcb(0x6a2,0x52d)+'m';console[_0x261234(0x3b9,0x3ec)]('\x20\x20'+key['padEn'+'d'](maxKeyLen+(0xbc4+-0x40b+-0x7b7))+display);}console[_0x300bcb(0x5da,0x524)](_0x261234(0x281,0xe4)+_0x261234(0x3c7,0x43e)+ENV_FILE+'\x0a');}catch(_0x298f1e){console[_0x300bcb(0x2e4,0x215)](_0x300bcb(0x31f,0x3ed)+_0x300bcb(0x555,0x43a)+_0x300bcb(0x4ff,0x43e)+_0x300bcb(0x481,0x46c)+_0x300bcb(0x2bb,0x1eb)+_0x298f1e[_0x300bcb(0x551,0x698)+'ge']),process['exit'](-0x178d*-0x1+-0x6ab+0x10e1*-0x1);}process[_0x300bcb(0x471,0x278)](-0x1f96+-0x1*-0x107b+0xf1b);}if(command===_0x300bcb(0x642,0x62c)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x261234(0x1ed,0xe7)+_0x300bcb(0x50c,0x54f)+'on'));console[_0x261234(0x3b9,0x415)](_0x300bcb(0x664,0x771)+_0x261234(0x3ed,0x36e)+_0x261234(0x3c3,0x3f7)+'tor\x20—'+'\x20v'+pkg[_0x300bcb(0x532,0x661)+'on']+'\x0a');const results=[];function pass(_0x3f98fd,_0x36e97b){const _0xdcd147={};_0xdcd147[_0x5e500c(0x23e,0x1da)+'s']=_0x913d4e(0x872,0x819);function _0x5e500c(_0x5ba35f,_0x1a54c0){return _0x261234(_0x5ba35f- -0x3,_0x1a54c0);}_0xdcd147[_0x5e500c(0x336,0x13b)]=_0x3f98fd,_0xdcd147['detai'+'l']=_0x36e97b;function _0x913d4e(_0x49d85b,_0x161140){return _0x261234(_0x49d85b-0x50a,_0x161140);}results[_0x913d4e(0x804,0x67d)](_0xdcd147);}function fail(_0x3d6f12,_0x54c409){function _0x21cf79(_0x4dffa3,_0x47a721){return _0x261234(_0x47a721-0x4e8,_0x4dffa3);}const _0x3b43c6={};_0x3b43c6[_0x25830b(0x82d,0x7bb)]=_0x21cf79(0x77e,0x5aa);function _0x25830b(_0x212a83,_0x23ae6e){return _0x261234(_0x212a83-0x3bd,_0x23ae6e);}const _0x345fb7=_0x3b43c6,_0x4292ab={};_0x4292ab[_0x25830b(0x5fe,0x496)+'s']=_0x345fb7[_0x21cf79(0x9a2,0x958)],_0x4292ab['label']=_0x3d6f12,_0x4292ab[_0x21cf79(0x585,0x6af)+'l']=_0x54c409,results['push'](_0x4292ab);}function warn(_0x448fcd,_0x2ebcb8){function _0x17610d(_0x18a7ed,_0x136787){return _0x261234(_0x18a7ed-0x1b9,_0x136787);}const _0x53dbc9={};_0x53dbc9[_0x2b1607(0x27e,0x419)]=_0x17610d(0x41f,0x2b7);const _0x44cfbf=_0x53dbc9;function _0x2b1607(_0x48d505,_0x42aa08){return _0x261234(_0x42aa08-0x1d2,_0x48d505);}const _0xc360d9={};_0xc360d9[_0x2b1607(0x383,0x413)+'s']=_0x44cfbf[_0x2b1607(0x402,0x419)],_0xc360d9[_0x2b1607(0x519,0x50b)]=_0x448fcd,_0xc360d9[_0x17610d(0x380,0x4cb)+'l']=_0x2ebcb8,results[_0x17610d(0x4b3,0x5ee)](_0xc360d9);}const nodeVer=process[_0x261234(0x311,0x137)+_0x300bcb(0x67a,0x623)][_0x261234(0x3be,0x504)],nodeMajor=parseInt(nodeVer[_0x300bcb(0x64c,0x835)]('.')[-0x3*0x427+-0x20b7+-0x1*-0x2d2c],-0x1770+0x560+0x121a);nodeMajor>=0x1*-0xdef+0x1ae5+-0xce4?pass('Node.'+_0x300bcb(0x2f4,0x4d2)+'rsion','v'+nodeVer+('\x20(>=\x20'+'18\x20re'+_0x261234(0x36b,0x233)+'d)')):fail(_0x300bcb(0x631,0x692)+_0x300bcb(0x2f4,0x3f8)+'rsion','v'+nodeVer+(_0x300bcb(0x4a5,0x652)+'de.js'+_0x261234(0x3c4,0x26e)+_0x300bcb(0x52a,0x435)+_0x300bcb(0x5b1,0x43e)+'red'));const ENV_FILE=existsSync(join(DATA_DIR,_0x300bcb(0x57a,0x4da)))?join(DATA_DIR,_0x300bcb(0x57a,0x6a1)):join(ROOT,_0x261234(0x359,0x1b6));let envPort=0x53*-0x3+0x2602+0x19*-0xf1,envGatewayUrl=_0x300bcb(0x591,0x568)+'//127'+_0x300bcb(0x562,0x5bf)+_0x261234(0x111,0x2c1)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x300bcb(0x30a,0x25d));for(const line of content[_0x300bcb(0x64c,0x736)]('\x0a')){const t=line[_0x300bcb(0x338,0x4a9)]();if(!t||t['start'+_0x261234(0xa7,-0xc6)]('#'))continue;const eqIdx=t[_0x261234(0x28f,0xe8)+'Of']('=');if(eqIdx===-(-0x213d+0x785*-0x4+-0x5*-0xcaa))continue;const k=t['slice'](-0xf07*0x2+0x1b2e+0x2*0x170,eqIdx)[_0x261234(0x117,0x237)](),v=t['slice'](eqIdx+(-0x1862+-0x1be1+0x3444))[_0x261234(0x117,0x177)]();if(k===_0x261234(0x1d6,0x1aa))envPort=parseInt(v,-0x1182*0x1+0x1f23+0xd97*-0x1)||-0x5e3+0x1073*0x1+0x2f0;if(k===_0x300bcb(0x578,0x452)+'AY_UR'+'L')envGatewayUrl=v;if(k===_0x300bcb(0x578,0x57c)+'AY_TO'+_0x261234(0x3fb,0x337))envGatewayToken=v;if(k===_0x300bcb(0x324,0x3fd)+_0x300bcb(0x359,0x46b)+_0x300bcb(0x5db,0x74f))envOpenAIKey=v;if(k===_0x261234(0x31a,0x38c)+_0x261234(0x329,0x358)+_0x261234(0x429,0x460)+_0x300bcb(0x4e4,0x35b))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x3f9457=>{const _0x4066d3={'tjVxQ':function(_0x3e5ffb,_0x3e7069,_0x19f80f){return _0x3e5ffb(_0x3e7069,_0x19f80f);},'oioPb':function(_0x47f043,_0x2932c5){return _0x47f043===_0x2932c5;},'tSCDb':_0x41615b(-0x57,0x14d),'jthtr':'mkfUp','bomyB':_0x41615b(0x1b4,0x322)+'INUSE','rmcXA':function(_0x4889f2,_0x1e5e76){return _0x4889f2(_0x1e5e76);},'wThEt':function(_0x717eb8,_0x580461){return _0x717eb8(_0x580461);},'CkzwK':'error','adcgI':_0x41615b(-0x15e,0x88)+_0x4b756b(0x5f7,0x66e),'vVSsF':'127.0'+'.0.1'},_0x4283b9=_0x32947b['creat'+_0x4b756b(0x5ea,0x5b7)+'er']();function _0x4b756b(_0x244089,_0x2d344d){return _0x261234(_0x244089-0x329,_0x2d344d);}_0x4283b9[_0x4b756b(0x4b3,0x4c6)](_0x4066d3[_0x4b756b(0x769,0x59c)],_0x1839f4=>{function _0x56b598(_0x4ce9aa,_0x34693b){return _0x41615b(_0x4ce9aa,_0x34693b-0x3f0);}function _0x349c64(_0x3befb2,_0x15889d){return _0x41615b(_0x3befb2,_0x15889d-0x2ea);}if(_0x4066d3[_0x56b598(0x4a0,0x50f)](_0x4066d3[_0x56b598(0x5ce,0x5d2)],_0x4066d3[_0x56b598(0x756,0x720)]))try{const _0x386fd4={};_0x386fd4['recur'+_0x349c64(0x43e,0x35f)]=!![],_0x386fd4[_0x349c64(0x413,0x44e)]=!![],_0x4066d3[_0x349c64(0x75e,0x69e)](_0x2d2bdc,_0x4fd518,_0x386fd4),_0x560a0e++,_0x2b5078['log'](_0x56b598(0x5c0,0x71b)+_0x349c64(0x6cd,0x637)+_0x56b598(0x665,0x4aa)+_0x349c64(0x45a,0x3dd)+'/'+_0x5672c2);}catch(_0x1843b8){_0x17cb99[_0x349c64(0x37f,0x2f3)](_0x56b598(0x3c6,0x517)+'ailed'+_0x56b598(0x337,0x3de)+'emove'+_0x56b598(0x3dd,0x570)+_0x349c64(0x577,0x5fc)+_0x551b2e+':\x20'+_0x1843b8[_0x349c64(0x659,0x560)+'ge']);}else{if(_0x1839f4[_0x56b598(0x5c9,0x3d7)]===_0x4066d3[_0x56b598(0x5d4,0x573)])_0x4066d3[_0x56b598(0x448,0x58b)](_0x3f9457,![]);else _0x4066d3[_0x349c64(0x502,0x485)](_0x3f9457,!![]);}}),_0x4283b9[_0x41615b(0xbd,0xd0)](_0x4066d3[_0x41615b(0x496,0x380)],()=>{function _0xa7d4bd(_0x2cbc94,_0x3d5f5b){return _0x41615b(_0x2cbc94,_0x3d5f5b-0xff);}_0x4283b9[_0xa7d4bd(0x97,0x25f)]();function _0x4a735a(_0x49b72f,_0x193fc2){return _0x41615b(_0x193fc2,_0x49b72f-0xb);}_0x4066d3[_0x4a735a(0x1b0,0xcd)](_0x3f9457,!![]);});function _0x41615b(_0x1ea305,_0x5d4eec){return _0x261234(_0x5d4eec- -0xba,_0x1ea305);}_0x4283b9[_0x41615b(-0x11d,0x88)+'n'](envPort,_0x4066d3['vVSsF']);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x261234(0x2d8,0x10b)+envPort,_0x261234(0x30a,0x1ff)+_0x261234(0x17a,0x7b)+_0x261234(0x40d,0x2ea)+_0x300bcb(0x2e2,0x295)+_0x300bcb(0x63d,0x698)+_0x261234(0xf7,-0xc8)+'PID\x20f'+_0x300bcb(0x398,0x4ed)):pass(_0x261234(0x2d8,0x41f)+envPort,_0x261234(0x30a,0x383)+_0x300bcb(0x343,0x4da)):serverRunning?pass(_0x300bcb(0x4f9,0x6ca)+envPort,_0x300bcb(0x5ac,0x6c2)+_0x300bcb(0x4ee,0x5d1)+'Uplin'+'k'):fail('Port\x20'+envPort,_0x261234(0x38b,0x422)+_0x300bcb(0x4ee,0x478)+_0x261234(0x124,0x158)+_0x300bcb(0x356,0x406)+_0x261234(0x2ee,0x448));const gatewayReachable=await new Promise(_0x2b3e1f=>{function _0x49c1c9(_0x1ebe1c,_0x519beb){return _0x300bcb(_0x519beb-0x247,_0x1ebe1c);}function _0x1c2174(_0x575798,_0x5c3c55){return _0x300bcb(_0x575798- -0x481,_0x5c3c55);}const _0xff0c56={'QrDug':function(_0x523308,_0x334958){return _0x523308+_0x334958;},'qkBgd':function(_0x30882f,_0x543c6b){return _0x30882f>_0x543c6b;},'FClhJ':function(_0x10a19d,_0x3a2268){return _0x10a19d!==_0x3a2268;},'WilDl':_0x49c1c9(0x72c,0x7a2),'ZLokN':function(_0x40c951,_0x4a222e){return _0x40c951(_0x4a222e);},'JBkzp':function(_0xcc1858,_0x132670){return _0xcc1858(_0x132670);},'gDncF':function(_0x492bec,_0x217785){return _0x492bec(_0x217785);},'uIjCw':_0x1c2174(0x34,0x214),'pXpra':_0x1c2174(0xbb,0x2af),'ulPpT':_0x1c2174(-0x127,0x87),'wICqn':'error','vKFpc':_0x1c2174(0x55,0x22c)+'ut','HmdDn':function(_0x21985a,_0x5deaf1){return _0x21985a(_0x5deaf1);}};try{if(_0xff0c56['FClhJ'](_0xff0c56[_0x1c2174(0x1d4,0xce)],_0xff0c56[_0x1c2174(0x1ff,0x2b2)])){const _0x33a3cd=new URL(envGatewayUrl),_0xb0513={};_0xb0513[_0x49c1c9(0x8ba,0x8b3)+'ame']=_0x33a3cd['hostn'+'ame'],_0xb0513[_0x49c1c9(0x6df,0x6e0)]=_0x33a3cd[_0x1c2174(0x18,0xfd)]||0x1cf3+-0x9*0x1c5+0x65b*-0x2,_0xb0513['path']='/',_0xb0513[_0x1c2174(-0x14d,-0x25f)+'d']=_0xff0c56[_0x49c1c9(0x943,0x806)],_0xb0513[_0x49c1c9(0x73d,0x71d)+'ut']=0x1388;const _0x3de927=_0x1765ba[_0x49c1c9(0x59b,0x57a)+'st'](_0xb0513,_0x160520=>{function _0x1b1bdf(_0x3c6543,_0x5ec855){return _0x49c1c9(_0x5ec855,_0x3c6543- -0x2e2);}function _0x456222(_0x355b58,_0x5181ec){return _0x49c1c9(_0x355b58,_0x5181ec- -0x3d3);}_0xff0c56['FClhJ'](_0x456222(0x4a9,0x3cf),_0xff0c56[_0x1b1bdf(0x545,0x3be)])?_0x2f6976[_0x456222(0x426,0x44e)](_0xff0c56[_0x456222(0x355,0x446)](_0x1b1bdf(0x4ac,0x40d)+_0x19ebad+(_0x456222(0x252,0x1a9)+_0x1b1bdf(0x348,0x25f))+_0x590d80+(_0x1b1bdf(0x4cd,0x4ee)+'ed'),_0x2bb21e?',\x20'+_0xded274+(_0x1b1bdf(0x5ee,0x5a8)+_0x456222(0x2bf,0x217))+(_0xff0c56[_0x456222(0x203,0x2b0)](_0xae108a,0x16dc+0x2705+-0x630*0xa)?'s':''):'')+'.'):(_0x160520[_0x456222(0x384,0x1bf)+'e'](),_0xff0c56[_0x456222(0x2f3,0x252)](_0x2b3e1f,!![]));});_0x3de927['on'](_0xff0c56['wICqn'],()=>_0x2b3e1f(![])),_0x3de927['on'](_0xff0c56[_0x49c1c9(0x389,0x4fd)],()=>{function _0x539c39(_0x3d7d51,_0x724c61){return _0x49c1c9(_0x724c61,_0x3d7d51- -0x622);}_0x3de927[_0x539c39(0x23d,0xc2)+'oy']();function _0x335640(_0x88b9d7,_0x376dd4){return _0x49c1c9(_0x376dd4,_0x88b9d7- -0x9a);}_0xff0c56[_0x539c39(0x1f8,0x22d)](_0x2b3e1f,![]);}),_0x3de927[_0x49c1c9(0x54e,0x537)]();}else _0xff0c56[_0x49c1c9(0x92e,0x8da)](_0x278699,_0x3d35c1);}catch{_0xff0c56[_0x1c2174(-0x158,0x18)](_0x2b3e1f,![]);}});gatewayReachable?pass(_0x300bcb(0x4e5,0x6a5)+'ay\x20re'+_0x300bcb(0x444,0x2b8)+'le',envGatewayUrl):fail(_0x300bcb(0x4e5,0x451)+_0x261234(0x13c,0xf8)+'achab'+'le',_0x261234(0x279,0x178)+_0x261234(0xb9,-0xe3)+_0x261234(0x2b2,0x1c1)+envGatewayUrl);existsSync(join(ROOT,'node_'+'modul'+'es'))?pass(_0x261234(0xd2,0x48)+'denci'+'es\x20in'+'stall'+'ed','node_'+'modul'+_0x300bcb(0x688,0x676)+'ists'):fail('Depen'+_0x261234(0x1c3,0x235)+_0x300bcb(0x305,0x434)+_0x261234(0x464,0x2dd)+'ed',_0x300bcb(0x55e,0x610)+_0x261234(0x346,0x494)+_0x261234(0x363,0x53f)+_0x300bcb(0x58d,0x535)+_0x261234(0x1b0,0x8)+_0x261234(0xcb,0x1f0)+_0x300bcb(0x599,0x4b7)+_0x261234(0x480,0x656));if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x261234(0xe9,0x1c5)),pass(_0x300bcb(0x370,0x32a)+_0x300bcb(0x308,0x4d3),_0x300bcb(0x340,0x267)+_0x300bcb(0x2be,0x3ba)+'\x20read'+'able');}catch{fail(_0x261234(0x14f,0x21a)+_0x300bcb(0x308,0x2a9),_0x300bcb(0x340,0x516)+_0x300bcb(0x41a,0x489)+_0x261234(0x29f,0x2f7)+_0x261234(0x33b,0x3e9)+_0x300bcb(0x59d,0x542));}else fail(_0x300bcb(0x370,0x3eb)+_0x261234(0xe7,0x19c),_0x300bcb(0x534,0x49e)+_0x261234(0x37e,0x3bf)+_0x300bcb(0x478,0x2c5)+_0x261234(0x2d3,0x3be)+_0x261234(0x432,0x4e6)+'hat\x20c'+'onfig'+_0x261234(0x46c,0x3c0)+'it');envGatewayToken&&envGatewayToken!==_0x300bcb(0x38c,0x488)+_0x261234(0x441,0x48e)+_0x300bcb(0x361,0x294)?pass('Gatew'+'ay\x20to'+'ken',_0x300bcb(0x3c7,0x255)+'gured'):fail(_0x300bcb(0x4e5,0x387)+_0x261234(0x27f,0x29a)+_0x300bcb(0x47d,0x3dc),_0x261234(0x387,0x56e)+_0x261234(0x489,0x5e0)+'\x20.env');if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers[_0x300bcb(0x51b,0x584)](_0x300bcb(0x373,0x1e8)+'I');if(envElevenLabsKey)providers[_0x300bcb(0x51b,0x5a7)](_0x300bcb(0x601,0x78a)+_0x300bcb(0x537,0x459));pass(_0x300bcb(0x4b2,0x681)+'PI\x20ke'+'ys',providers[_0x300bcb(0x643,0x7fd)](',\x20')+(_0x300bcb(0x37c,0x2a8)+_0x300bcb(0x5d9,0x5a8)+'d'));}else warn(_0x300bcb(0x4b2,0x386)+'PI\x20ke'+'ys',_0x300bcb(0x695,0x866)+'enAI\x20'+_0x261234(0x43c,0x4b0)+_0x300bcb(0x54c,0x744)+_0x261234(0x412,0x445)+_0x300bcb(0x5f8,0x42b)+_0x261234(0x1aa,0x196)+_0x300bcb(0x43e,0x382)+_0x261234(0x2a2,0x437)+_0x300bcb(0x2b0,0x1a2)+_0x261234(0x31e,0x264)+'e\x20TTS');try{const freeBytes=((()=>{const _0x220c7f={'BpjRC':_0x5bdf0c(0x6c1,0x602)+'RM','GgyDO':function(_0x513aac,_0x370e36){return _0x513aac===_0x370e36;},'hGyKa':_0x5f0657(0x16d,0x190),'MLoJF':function(_0x482c2e,_0x254274,_0x500383){return _0x482c2e(_0x254274,_0x500383);},'LyCeH':function(_0xb678e2,_0x29c327){return _0xb678e2+_0x29c327;},'WFYiW':'wmic\x20'+'logic'+_0x5f0657(0x202,0x171)+_0x5bdf0c(0x7fd,0x69e)+_0x5bdf0c(0x5a5,0x5cd)+_0x5f0657(0x1eb,0x394)+'ID=\x27','Udgcd':_0x5bdf0c(0x2f7,0x460),'LQHgJ':function(_0x5480ac,_0x5b1d1d){return _0x5480ac===_0x5b1d1d;},'nAYZh':_0x5bdf0c(0x509,0x5e6),'iMiID':_0x5f0657(0x428,0x370),'Zjusi':function(_0x521a4b,_0x73ce6c){return _0x521a4b*_0x73ce6c;},'thPls':function(_0x327028,_0x22a1a9,_0x3ef1a4){return _0x327028(_0x22a1a9,_0x3ef1a4);}};function _0x5bdf0c(_0x3df092,_0x5f5df4){return _0x300bcb(_0x5f5df4-0x156,_0x3df092);}function _0x5f0657(_0x242e0a,_0x208572){return _0x300bcb(_0x208572- -0x31a,_0x242e0a);}if(_0x220c7f[_0x5bdf0c(0x61e,0x62a)](process[_0x5f0657(0x9,0xcd)+_0x5bdf0c(0x3ec,0x537)],_0x220c7f[_0x5bdf0c(0x8d9,0x7ed)])){const _0x252554=_0x220c7f['MLoJF'](execSync,_0x220c7f[_0x5f0657(0xa0,0x11d)](_0x220c7f['WFYiW']+ROOT[_0x5bdf0c(0x6ad,0x4e1)+'t'](-0x366+0x4ee*0x7+0xf8e*-0x2),':\x27\x22\x20g'+'et\x20Fr'+_0x5bdf0c(0x719,0x556)+_0x5f0657(-0x1c9,-0x22)+'alue'),{'encoding':_0x220c7f[_0x5f0657(0x338,0x2f0)]}),_0x3321ed=_0x252554[_0x5bdf0c(0x4fb,0x4e4)](/FreeSpace=(\d+)/);return _0x3321ed?parseInt(_0x3321ed[-0x185*-0xf+0x167a+-0xb51*0x4],-0xb65*0x3+0x2556+-0x31d):null;}else{if(_0x220c7f[_0x5f0657(0x401,0x2fb)](_0x220c7f['nAYZh'],_0x220c7f[_0x5f0657(0xdb,0x13b)]))_0x4e78ba['kill'](_0x220c7f[_0x5f0657(0x3d4,0x32c)]);else{const _0xf3bc36=_0x220c7f['MLoJF'](execSync,'df\x20-k'+'\x20\x22'+ROOT+('\x22\x20|\x20t'+_0x5f0657(-0x37,0x13c)+'1'),{'encoding':_0x220c7f[_0x5bdf0c(0x73c,0x760)]}),_0x24832a=_0xf3bc36[_0x5bdf0c(0x438,0x48e)]()[_0x5f0657(0x140,0x332)](/\s+/);return _0x220c7f[_0x5f0657(0xf9,0x27)](_0x220c7f[_0x5f0657(0x310,0x1bd)](parseInt,_0x24832a[-0xd3*0x2+0x1*0x1bb2+-0x1a09],0x1b91+0x1c16+-0x379d),0xd5a+-0x1*0xa99+0x13f);}}})());if(freeBytes!==null){const freeMB=Math[_0x261234(0x483,0x505)](freeBytes/((0x8*0x412+0x2*-0xa9f+-0x752)*(-0x300+0x966+-0x266)));freeMB>=-0x728+-0x1*-0x5bf+0x3*0x11f?pass(_0x261234(0xaa,0x29)+'space',freeMB+('\x20MB\x20f'+_0x300bcb(0x379,0x22d))):warn('Disk\x20'+_0x300bcb(0x3e6,0x4b9),freeMB+(_0x261234(0x428,0x268)+_0x261234(0x218,0x309)+_0x300bcb(0x372,0x2da)+_0x261234(0x102,0x17a)+'\x20500\x20'+'MB'));}}catch{warn(_0x300bcb(0x2cb,0x34d)+_0x300bcb(0x3e6,0x595),_0x261234(0xf8,-0x94)+_0x261234(0x29f,0x1a8)+'deter'+_0x300bcb(0x2cc,0x268)+_0x261234(0x44f,0x3a2)+_0x300bcb(0x4b1,0x40e)+_0x261234(0x1c5,0x8));}const _0x2903e1={};_0x2903e1['pass']='\x1b[32m'+_0x300bcb(0x2b2,0x380),_0x2903e1[_0x300bcb(0x2e3,0x45a)]=_0x300bcb(0x581,0x50c)+_0x261234(0x287,0x3d8),_0x2903e1[_0x300bcb(0x487,0x28d)]=_0x261234(0x393,0x56b)+'!\x1b[0m';const icons=_0x2903e1;for(const r of results){console[_0x261234(0x3b9,0x23b)]('\x20\x20'+icons[r[_0x300bcb(0x462,0x37f)+'s']]+'\x20'+r[_0x261234(0x339,0x3ea)]+':\x20'+r[_0x261234(0x1c7,0x111)+'l']);}const passes=results[_0x300bcb(0x67b,0x6fe)+'r'](_0x2009f8=>_0x2009f8[_0x300bcb(0x462,0x4e6)+'s']===_0x261234(0x368,0x51b))[_0x300bcb(0x2fe,0x390)+'h'],fails=results[_0x300bcb(0x67b,0x730)+'r'](_0x55c245=>_0x55c245[_0x300bcb(0x462,0x644)+'s']===_0x261234(0xc2,0x1ff))['lengt'+'h'],warns=results[_0x300bcb(0x67b,0x54b)+'r'](_0x223eec=>_0x223eec[_0x261234(0x241,0x39b)+'s']==='warn')['lengt'+'h'];console[_0x261234(0x3b9,0x3ea)](''),fails===0x128c+0x48f+-0x171b?console['log'](_0x300bcb(0x538,0x3d1)+_0x261234(0x195,0x1b5)+passes+(_0x261234(0xda,0x198)+_0x300bcb(0x44a,0x4d2)+_0x300bcb(0x3b9,0x520))+(warns?'\x20('+warns+('\x20warn'+_0x300bcb(0x3a3,0x308))+(warns>0x2*-0x998+-0x2552+0x3883?'s':'')+')':'')+'.'):console['log'](_0x261234(0x326,0x15c)+passes+(_0x300bcb(0x335,0x39b)+_0x300bcb(0x3e3,0x384))+fails+(_0x300bcb(0x568,0x6c0)+'ed')+(warns?',\x20'+warns+(_0x261234(0x468,0x3b3)+_0x300bcb(0x3a3,0x409))+(warns>-0x1ca6+-0x2*-0xc7c+-0x1*-0x3af?'s':''):'')+'.'),console[_0x261234(0x3b9,0x48d)](''),process[_0x261234(0x250,0x199)](fails>0x1885+0x3*-0xa7b+0x2*0x376?0x32b*0xc+0x2b*-0x6c+-0x13df*0x1:0x1916+0x1*-0x2a1+-0x1675);}if(command===_0x300bcb(0x5b8,0x430)){const {rmSync}=await import('fs');console[_0x261234(0x3b9,0x4dd)](_0x261234(0x443,0x398)+_0x261234(0x3ed,0x4c5)+_0x261234(0x2cf,0x46d)+_0x300bcb(0x602,0x711)),console[_0x300bcb(0x5da,0x614)]('\x20\x20Thi'+'s\x20wil'+_0x261234(0x307,0x3a6)+'ar:'),console['log'](_0x300bcb(0x3bf,0x45d)+_0x300bcb(0x411,0x2f9)+_0x261234(0x320,0x1c6)+_0x300bcb(0x489,0x563)+_0x261234(0x342,0x14f)+_0x261234(0xed,-0x41)+'\x20sync'+_0x261234(0x1ef,0x1ac)),console[_0x261234(0x3b9,0x47c)](_0x261234(0x19e,-0x4f)+_0x261234(0x13a,0x1ca)+_0x261234(0x31d,0x47f)+_0x261234(0x444,0x2a2)+'\x20and\x20'+_0x261234(0x2aa,0x3e4)+_0x300bcb(0x580,0x770)+'e'),console['log'](_0x300bcb(0x3bf,0x323)+_0x300bcb(0x405,0x263)+_0x261234(0x184,-0x66)+_0x300bcb(0x30e,0x188)+'s\x20que'+'ue'),console['log'](_0x261234(0x19e,0x2df)+'\x20Push'+_0x261234(0x3cf,0x3e9)+_0x261234(0x119,-0xda)+_0x261234(0x301,0x3e6)+_0x261234(0x47a,0x2c5)+'ctivi'+'ty\x20da'+'ta'),console[_0x300bcb(0x5da,0x568)](''),console[_0x300bcb(0x5da,0x4cd)](_0x261234(0x230,0x2e9)+_0x300bcb(0x403,0x419)+_0x300bcb(0x5d7,0x5a0)+_0x300bcb(0x61b,0x5af)+'r:'),console[_0x261234(0x3b9,0x4e2)](_0x261234(0x19e,0x38c)+_0x300bcb(0x67f,0x4ab)+_0x261234(0x15b,0xbf)+_0x261234(0x211,0x182)+_0x261234(0x2d1,0x40b)),console[_0x300bcb(0x5da,0x44f)](_0x300bcb(0x3bf,0x42f)+_0x261234(0x10b,0xee)+_0x300bcb(0x647,0x5dc)+_0x261234(0x2f1,0x3c7)),console[_0x261234(0x3b9,0x495)](_0x300bcb(0x3bf,0x47d)+_0x300bcb(0x469,0x48c)+_0x261234(0x19b,0x2d7)+_0x261234(0x1ae,0x2d4)+_0x261234(0x1fc,0x150));if(!flags[_0x300bcb(0x43f,0x470)]){const readline=await import(_0x261234(0x3d3,0x4f0)+_0x261234(0x1c9,0x5c)),_0x3a58e8={};_0x3a58e8[_0x300bcb(0x30b,0x219)]=process[_0x261234(0x206,0xca)],_0x3a58e8['outpu'+'t']=process['stdou'+'t'];const rl=readline[_0x261234(0x37f,0x225)+'eInte'+_0x261234(0x1a1,0xdf)](_0x3a58e8),answer=await new Promise(_0x3fe546=>{const _0x1e0277={};function _0x14520e(_0x268eda,_0x23ec37){return _0x261234(_0x268eda-0x1d9,_0x23ec37);}_0x1e0277[_0x149f81(0x18c,0x160)]=_0x14520e(0x4c9,0x4af)+_0x149f81(0x377,0x578)+_0x14520e(0x63c,0x649)+'to\x20co'+_0x149f81(0x2cc,0x1e7)+':\x20';const _0x273ae7=_0x1e0277;function _0x149f81(_0x18527d,_0x25b205){return _0x261234(_0x18527d- -0x11,_0x25b205);}rl[_0x14520e(0x5db,0x4eb)+_0x14520e(0x37e,0x330)](_0x273ae7[_0x14520e(0x376,0x1ae)],_0x3fe546);});rl[_0x300bcb(0x43b,0x50a)](),answer[_0x261234(0x117,0x27b)]()[_0x261234(0xb4,0x1a6)+_0x261234(0x430,0x36c)+'e']()!==_0x300bcb(0x5b8,0x6e9)&&(console[_0x261234(0x3b9,0x488)](_0x300bcb(0x5d5,0x601)+_0x300bcb(0x5c1,0x538)+_0x300bcb(0x37d,0x1c8)+'othin'+'g\x20was'+_0x261234(0x143,-0xa5)+'ved.\x0a'),process[_0x300bcb(0x471,0x477)](0x6e9+-0x196d+0x2*0x942)),console[_0x300bcb(0x5da,0x480)]('');}const dataResets=[_0x261234(0x330,0x448)+'ges-s'+'ync.j'+_0x261234(0x1a9,0x360),'activ'+_0x300bcb(0x597,0x6a7)+_0x261234(0x1a9,0x241),'sync-'+_0x261234(0xc0,0x218),_0x300bcb(0x652,0x52a)+'d-con'+_0x261234(0x1a2,0x22b)+_0x261234(0x33e,0x1af),'uploa'+'ds',_0x261234(0x30c,0x344),_0x261234(0x1f6,0x196)+_0x261234(0x1d5,0x263)],rootResets=[_0x261234(0x330,0x3b9)+_0x261234(0x384,0x1cd)+_0x261234(0x3da,0x301)+_0x300bcb(0x3ca,0x56c),_0x261234(0x145,0x11)+_0x261234(0x376,0x1bd)+_0x300bcb(0x3ca,0x3e5),'sync-'+_0x300bcb(0x2e1,0x29f),'share'+_0x300bcb(0x5a3,0x799)+_0x261234(0x1a2,0x1b5)+_0x300bcb(0x55f,0x6c9),_0x261234(0x324,0x50a)+'ds','publi'+_0x300bcb(0x493,0x566)+'io',_0x300bcb(0x694,0x4f3)+'d-mes'+_0x261234(0x165,0x26b)+_0x300bcb(0x3b5,0x2b6),_0x261234(0x286,0x1de)+'subsc'+_0x261234(0x264,0x154)+'ons.j'+'son',_0x261234(0x19b,0x11a)+_0x261234(0x43e,0x5f4),_0x261234(0x451,0x42e)+_0x300bcb(0x54f,0x3c6)+_0x261234(0x457,0x54f)+_0x300bcb(0x5da,0x634),'.upli'+_0x300bcb(0x412,0x35c)+_0x261234(0x41f,0x497)+_0x261234(0x2ec,0x3ed)];let cleared=0x13e0+0x2*-0xce3+0x5e6;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x4bb01d={};_0x4bb01d[_0x261234(0x417,0x541)+'sive']=!![],_0x4bb01d[_0x261234(0x21e,0x2de)]=!![],rmSync(fullPath,_0x4bb01d),cleared++,console[_0x261234(0x3b9,0x4d5)](_0x261234(0x3e5,0x2dd)+'emove'+'d\x20DAT'+_0x261234(0x1ad,0x82)+'/'+item);}catch(_0x7afe8f){console['error'](_0x300bcb(0x402,0x3d1)+_0x300bcb(0x5e7,0x6df)+_0x300bcb(0x2c9,0x12b)+_0x300bcb(0x628,0x662)+_0x300bcb(0x45b,0x5a7)+'_DIR/'+item+':\x20'+_0x7afe8f[_0x261234(0x330,0x25a)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x26d948={};_0x26d948['recur'+_0x300bcb(0x350,0x369)]=!![],_0x26d948['force']=!![],rmSync(fullPath,_0x26d948),cleared++,console[_0x261234(0x3b9,0x4f8)](_0x261234(0x3e5,0x5a1)+_0x261234(0x407,0x2af)+'d\x20'+item);}catch(_0x263a78){console[_0x300bcb(0x2e4,0x2bd)]('\x20\x20✗\x20F'+'ailed'+'\x20to\x20r'+_0x261234(0x407,0x55b)+'\x20'+item+':\x20'+_0x263a78[_0x300bcb(0x551,0x68d)+'ge']);}}cleared===0x117c+0x2*0x626+-0x2*0xee4?console['log']('\x20\x20Not'+'hing\x20'+_0x300bcb(0x321,0x4c2)+_0x300bcb(0x630,0x452)+'\x20alre'+_0x300bcb(0x352,0x3b1)+_0x300bcb(0x609,0x754)):console[_0x261234(0x3b9,0x2bc)]('\x0a\x20\x20⬡\x20'+_0x261234(0xa9,-0xf0)+_0x300bcb(0x5b0,0x401)+cleared+_0x300bcb(0x539,0x397)+(cleared>-0xbef+0xbe2+0xe?'s':'')+(_0x300bcb(0x4cc,0x320)+_0x300bcb(0x613,0x6bc)+_0x261234(0x340,0x15b))),console[_0x261234(0x3b9,0x2f1)](''),process[_0x300bcb(0x471,0x4d2)](0x6a9*0x2+0x2066+0x1a2*-0x1c);}if(command==='info'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x300bcb(0x40e,0x521)+'ge.js'+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x300bcb(0x57a,0x76b)))?join(DATA_DIR,_0x300bcb(0x57a,0x53a)):join(ROOT,_0x300bcb(0x57a,0x67c));let envPort=_0x261234(0x94,-0x11e),envHost=_0x300bcb(0x35f,0x3c1)+'.0',envGatewayUrl=_0x300bcb(0x591,0x5f1)+_0x300bcb(0x654,0x7ea)+_0x261234(0x341,0x1e6)+'1:187'+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x261234(0xe9,-0x2e));for(const line of content['split']('\x0a')){const t=line['trim']();if(!t||t[_0x261234(0xf5,0x187)+_0x261234(0xa7,-0x90)]('#'))continue;const eqIdx=t[_0x261234(0x28f,0x408)+'Of']('=');if(eqIdx===-(-0x31*-0x48+0xaf*-0xf+0x1c3*-0x2))continue;const k=t['slice'](-0x22f3*-0x1+-0x29*0xc1+-0x40a,eqIdx)[_0x300bcb(0x338,0x39a)](),v=t[_0x261234(0x45b,0x2bd)](eqIdx+(0x1460+0xc2f+-0x208e))[_0x261234(0x117,0x19c)]();if(k==='PORT')envPort=v||_0x261234(0x94,0xc6);if(k==='UPLIN'+_0x261234(0x16f,0x5)+'T'||k===_0x261234(0x43f,0x253))envHost=v||_0x261234(0x13e,0x8f)+'.0';if(k===_0x300bcb(0x578,0x4cb)+_0x300bcb(0x5e2,0x489)+'L')envGatewayUrl=v;if(k==='GATEW'+_0x300bcb(0x5ce,0x73d)+_0x261234(0x3fb,0x392))envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+_0x261234(0x45d,0x53b)+_0x300bcb(0x31b,0x1f2)+_0x261234(0x319,0x209)+'D\x20'+(watchdogPid||serverPid)+')':_0x261234(0x360,0x2c0)+_0x261234(0x1fb,0xe3)+_0x300bcb(0x4f1,0x46c)+'m',gwReachable=await new Promise(_0x31bbe1=>{const _0x55c219={'NyMyr':function(_0xe8ab3b,_0x1e2ecf){return _0xe8ab3b/_0x1e2ecf;},'knhpz':function(_0x5e2c4b,_0x10b587){return _0x5e2c4b/_0x10b587;},'ZpDZP':function(_0x2353fa,_0x21d2bb){return _0x2353fa>_0x21d2bb;},'xeQhJ':function(_0x21f135,_0x5820a2){return _0x21f135%_0x5820a2;},'ewZTV':function(_0x15e798,_0x2108b0){return _0x15e798%_0x2108b0;},'GjWOB':function(_0x33cadc,_0x34892b){return _0x33cadc%_0x34892b;},'WwCXY':function(_0x54a39b,_0x5ddcb0){return _0x54a39b%_0x5ddcb0;},'WSKyS':_0x535eec(0x80d,0x97e),'pohNQ':'Isszv','XlpdK':function(_0x20f07a,_0x4d6b1f){return _0x20f07a(_0x4d6b1f);},'yPvas':function(_0x42f479,_0x545212){return _0x42f479!==_0x545212;},'fHZmx':_0x50c52e(0x457,0x386),'opEah':_0x50c52e(0x520,0x354),'fGaHI':function(_0x355e2c,_0xbaad7a){return _0x355e2c(_0xbaad7a);},'AcaZO':_0x50c52e(0x6e9,0x6f2),'uwWLZ':_0x535eec(0x678,0x76e),'YfUFY':_0x50c52e(0x3e6,0x3d3),'SFmmw':_0x535eec(0x760,0x84b)+'ut','ZNWay':function(_0x1b60dd,_0x927972){return _0x1b60dd===_0x927972;},'DtoWu':_0x535eec(0x5a7,0x7a6),'TYGRY':_0x535eec(0x8ac,0x958)};function _0x50c52e(_0x15b7a4,_0x2e1675){return _0x300bcb(_0x2e1675-0x79,_0x15b7a4);}function _0x535eec(_0x208579,_0x459835){return _0x300bcb(_0x208579-0x28a,_0x459835);}try{if(_0x55c219[_0x535eec(0x601,0x7c1)]===_0x55c219[_0x50c52e(0x43f,0x58e)]){const _0x523b4d=_0x11f3ca[_0x535eec(0x6a3,0x6f8)](AHfSmM[_0x50c52e(0x783,0x583)](_0x2dcf27,0x3d*-0x33+-0x53*-0x57+-0xc26)),_0x4d9704=_0x4281cc[_0x535eec(0x6a3,0x803)](AHfSmM[_0x50c52e(0x6d4,0x639)](_0x523b4d,-0x452+0x1606+-0x1178)),_0x2c855d=_0x3e0694[_0x50c52e(0x366,0x492)](AHfSmM[_0x535eec(0x794,0x872)](_0x4d9704,-0x1cdf+-0x1ce2+0x39fd*0x1)),_0x5c0105=_0x4a9079[_0x535eec(0x6a3,0x4f6)](AHfSmM[_0x535eec(0x84a,0x655)](_0x2c855d,-0x1796+-0x1*-0xdf3+0x9bb));if(AHfSmM['ZpDZP'](_0x5c0105,0x3d*-0x4f+0x1b51+0x87e*-0x1))return _0x5c0105+'d\x20'+AHfSmM[_0x535eec(0x546,0x3b3)](_0x2c855d,0xc00+0x4*0x7de+-0x2b60)+'h\x20'+AHfSmM[_0x535eec(0x7ad,0x7b7)](_0x4d9704,-0x725+-0xe7d+0x15de)+'m';if(_0x2c855d>0x62d*-0x1+0x6*0x67f+-0x20cd)return _0x2c855d+'h\x20'+_0x4d9704%(-0x1*0x153c+0x1*-0xd42+0x22ba)+'m\x20'+AHfSmM['GjWOB'](_0x523b4d,-0x4*-0x5e5+-0x1c16+0x4be)+'s';if(AHfSmM[_0x535eec(0x705,0x8f3)](_0x4d9704,0x12c3+0x3b*0x95+0x1a8d*-0x2))return _0x4d9704+'m\x20'+AHfSmM[_0x535eec(0x822,0x639)](_0x523b4d,-0xac4+-0x8e+0x57*0x22)+'s';return _0x523b4d+'s';}else{const _0x2b57d8=new URL(envGatewayUrl),_0x4477fb={};_0x4477fb[_0x535eec(0x8f6,0xaac)+_0x535eec(0x8a9,0x6b1)]=_0x2b57d8['hostn'+_0x50c52e(0x67b,0x698)],_0x4477fb['port']=_0x2b57d8['port']||0xe6b+0x26c8+0x11a1*-0x3,_0x4477fb[_0x535eec(0x67d,0x656)]='/',_0x4477fb[_0x50c52e(0x3e3,0x3ad)+'d']=_0x55c219[_0x50c52e(0x7c7,0x6e4)],_0x4477fb[_0x535eec(0x760,0x698)+'ut']=0xbb8;const _0x466c6f=_0x1765ba[_0x50c52e(0x224,0x3ac)+'st'](_0x4477fb,_0x393228=>{const _0x46deb0={'SgIfy':function(_0x533463,_0x23c2ad){return _0x533463(_0x23c2ad);}};function _0x3a2c52(_0xbf2908,_0x13ab58){return _0x50c52e(_0x13ab58,_0xbf2908- -0x153);}function _0x1f1fd1(_0x4d0cbc,_0x1cd03c){return _0x50c52e(_0x1cd03c,_0x4d0cbc- -0x271);}_0x55c219[_0x1f1fd1(0x286,0x3a1)]===_0x55c219[_0x3a2c52(0x2fb,0x3f8)]?_0x46deb0[_0x1f1fd1(0x3b3,0x47d)](_0x2892de,![]):(_0x393228[_0x3a2c52(0x271,0x247)+'e'](),_0x55c219[_0x1f1fd1(0x265,0xb4)](_0x31bbe1,!![]));});_0x466c6f['on'](_0x50c52e(0x378,0x35d),()=>_0x31bbe1(![])),_0x466c6f['on'](_0x55c219['SFmmw'],()=>{function _0x2a1b62(_0x5e8459,_0x3b85d7){return _0x50c52e(_0x5e8459,_0x3b85d7- -0x386);}function _0x2998fc(_0x4a1401,_0x4de352){return _0x50c52e(_0x4de352,_0x4a1401-0xec);}_0x55c219[_0x2a1b62(0x6c,0x4b)](_0x55c219['fHZmx'],_0x55c219[_0x2a1b62(0x323,0x181)])?(_0x466c6f[_0x2a1b62(0x173,0x30b)+'oy'](),_0x55c219[_0x2998fc(0x7db,0x869)](_0x31bbe1,![])):(_0x562d3a[_0x2998fc(0x4b0,0x4ff)+'e'](),_0x324326(!![]));}),_0x466c6f['end']();}}catch{_0x55c219[_0x50c52e(0x668,0x57d)](_0x55c219[_0x535eec(0x874,0xa22)],_0x55c219['TYGRY'])?AHfSmM[_0x535eec(0x6e7,0x5a9)](_0x56d49e,_0x4ae175):_0x55c219[_0x535eec(0x6e7,0x853)](_0x31bbe1,![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x300bcb(0x45f,0x2af)+_0x300bcb(0x616,0x78b)+_0x261234(0x28c,0x34a)+'d)\x1b[0'+'m'):envGatewayUrl+(_0x261234(0x1fd,0x22)+_0x300bcb(0x6a7,0x7dc)+'eacha'+_0x261234(0x38e,0x220)+_0x261234(0x1d4,0xcf)),LOG_FILE=join(ROOT,_0x261234(0x19b,0x24c)+_0x300bcb(0x65f,0x6d4)),ALT_LOG_FILE=join(ROOT,'.upli'+_0x261234(0x32e,0x528)+_0x300bcb(0x678,0x47f)+'log'),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:'(none'+')',premiumFile=join(ROOT,_0x300bcb(0x3bc,0x4a6)+'r',_0x300bcb(0x409,0x3fa)+'um');let premiumStatus='not\x20d'+_0x300bcb(0x604,0x478)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x300bcb(0x2ee,0x23c)+_0x300bcb(0x48c,0x540));const configFile=join(ROOT,_0x261234(0x1a6,0xee)+_0x300bcb(0x461,0x40a)+'n');if(existsSync(configFile))try{const cfg=JSON[_0x300bcb(0x62c,0x4a8)](readFileSync(configFile,_0x261234(0xe9,0x2d)));if(cfg[_0x261234(0x1e8,0x156)+'um']||cfg[_0x300bcb(0x409,0x5de)+_0x300bcb(0x46e,0x3fb)])premiumStatus='activ'+'e';}catch{}console[_0x300bcb(0x5da,0x72a)](_0x261234(0x443,0x326)+_0x300bcb(0x60e,0x470)+_0x300bcb(0x3c0,0x500)+_0x300bcb(0x3ac,0x257)+'Versi'+'on:\x20\x20'+_0x300bcb(0x63f,0x7dc)+pkg[_0x261234(0x311,0x502)+'on']+(_0x261234(0x405,0x40b)+_0x261234(0x136,0x22d)+_0x300bcb(0x376,0x401)+_0x261234(0x19c,0x2e))+process[_0x261234(0x311,0x492)+_0x300bcb(0x67a,0x776)][_0x261234(0x3be,0x256)]+(_0x300bcb(0x56e,0x680)+_0x261234(0x3d6,0x5ac)+_0x261234(0x2e0,0x126)+'\x20\x20')+envPort+(_0x261234(0x228,0x345)+_0x261234(0x293,0x32b)+'\x20\x20\x20\x20\x20'+'\x20\x20')+envHost+('\x0a\x20\x20Se'+'rver:'+_0x300bcb(0x501,0x3f3)+'\x20\x20')+serverStatus+(_0x261234(0x2bb,0xc3)+_0x300bcb(0x42f,0x398)+':\x20\x20\x20\x20'+'\x20\x20')+gwStatus+(_0x261234(0x35a,0x2b8)+_0x300bcb(0x629,0x4f5)+_0x300bcb(0x383,0x3b0)+'\x20\x20')+DATA_DIR+(_0x261234(0x109,0xa7)+_0x300bcb(0x611,0x7ef)+'e:\x20\x20\x20'+'\x20\x20')+logFile+(_0x300bcb(0x488,0x512)+_0x261234(0xe2,-0x11)+_0x261234(0x155,0x101)+'\x20\x20')+premiumStatus+(_0x261234(0x181,0x31e)+_0x261234(0x464,0x652)+_0x300bcb(0x401,0x5cd)+'\x20\x20')+ROOT+_0x261234(0x3d8,0x32a)),process[_0x300bcb(0x471,0x463)](-0x1da4*0x1+0x1e8d+-0xe9*0x1);}const ALL_COMMANDS=[_0x261234(0x277,0x3ae),'statu'+'s','updat'+'e',_0x261234(0x34f,0x2a1)+_0x300bcb(0x4f6,0x5d3),'logs','confi'+'g',_0x261234(0x421,0x38f)+'r',_0x300bcb(0x5b8,0x56d),_0x261234(0x352,0x3ea)];if(command===_0x300bcb(0x316,0x4e1)||!ALL_COMMANDS['inclu'+_0x261234(0x3d4,0x5b3)](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x300bcb(0x447,0x380)+_0x300bcb(0x3bb,0x29e):_0x300bcb(0x389,0x565)+'t';console[_0x261234(0x3b9,0x22c)]('⬡\x20Upl'+_0x261234(0x46b,0x5a0)+_0x261234(0x40a,0x482)+_0x300bcb(0x58e,0x4e8)+_0x300bcb(0x67e,0x659)+'ng\x20('+mode+(_0x261234(0x186,0xb4)+'\x20')+pid+').'),console[_0x261234(0x3b9,0x5b8)](_0x261234(0x265,0x27c)+_0x261234(0x398,0x3d6)+'first'+_0x300bcb(0x4f4,0x42d)+_0x300bcb(0x653,0x485)+'hat\x20s'+_0x300bcb(0x2ed,0x47c)),process[_0x300bcb(0x471,0x54f)](-0x3bb*-0x5+-0x7*-0x295+-0x24b9);}const env={...process.env};if(flags[_0x300bcb(0x499,0x44d)])env[_0x300bcb(0x3f7,0x46b)]=String(flags[_0x261234(0x278,0x267)]);if(flags[_0x300bcb(0x648,0x68d)])env['UPLIN'+_0x261234(0x16f,0x1ce)+'T']=flags[_0x261234(0x427,0x58b)];const serverPath=join(ROOT,_0x261234(0x19b,0x19a)+_0x261234(0x2dc,0x3fe));if(flags['detac'+'h']){const watchdogPath=join(ROOT,'serve'+'r','watch'+_0x261234(0x27a,0xad)+'s'),extraEnv={};if(flags[_0x261234(0x278,0xf9)])extraEnv[_0x300bcb(0x3f7,0x440)]=String(flags['port']);if(flags['host'])extraEnv[_0x261234(0x306,0x414)+_0x261234(0x16f,-0x6)+'T']=flags[_0x300bcb(0x648,0x629)];const isLinux=process['platf'+'orm']===_0x261234(0x3eb,0x568);let child;if(isLinux)try{const _0x147f45={};_0x147f45[_0x300bcb(0x43a,0x5c4)]=_0x300bcb(0x46c,0x52c)+'e',execSync(_0x261234(0x354,0x47e)+'\x20sets'+'id',_0x147f45);const _0x745c70={};_0x745c70[_0x261234(0x44e,0x483)]=ROOT,_0x745c70[_0x261234(0x2fd,0x48a)]=env,_0x745c70['detac'+'hed']=!![],_0x745c70['stdio']='ignor'+'e',child=spawn(_0x261234(0x2b8,0x418)+'d',[_0x300bcb(0x330,0x3ec)+'k',process['execP'+_0x300bcb(0x68e,0x6d2)],watchdogPath,JSON['strin'+'gify'](extraEnv)],_0x745c70);}catch{const _0x4e67ce={};_0x4e67ce[_0x261234(0x44e,0x470)]=ROOT,_0x4e67ce[_0x300bcb(0x51e,0x5af)]=env,_0x4e67ce[_0x300bcb(0x624,0x806)+_0x261234(0xae,0x5a)]=!![],_0x4e67ce[_0x261234(0x219,0x1a9)]='ignor'+'e',child=spawn(process[_0x261234(0x1b8,0x18e)+_0x261234(0x46d,0x2b7)],[watchdogPath,JSON[_0x261234(0x3e6,0x33e)+_0x261234(0x28d,0xc3)](extraEnv)],_0x4e67ce);}else{const _0x938aaa={};_0x938aaa[_0x300bcb(0x66f,0x6ae)]=ROOT,_0x938aaa[_0x261234(0x2fd,0x225)]=env,_0x938aaa[_0x261234(0x403,0x44b)+_0x300bcb(0x2cf,0x395)]=!![],_0x938aaa[_0x300bcb(0x43a,0x4c1)]=_0x300bcb(0x46c,0x5ab)+'e',child=spawn(process['execP'+_0x261234(0x46d,0x4b2)],[watchdogPath,JSON['strin'+_0x261234(0x28d,0x42d)](extraEnv)],_0x938aaa);}child['unref']();const port=flags[_0x261234(0x278,0x1e9)]||env[_0x261234(0x1d6,0xc2)]||0x10f3*-0x1+-0x12*-0xb5+-0x1*-0x11b9;console[_0x300bcb(0x5da,0x60f)]('⬡\x20Upl'+'ink\x20s'+'tarte'+_0x300bcb(0x4b9,0x4b9)+_0x300bcb(0x365,0x4d9)+_0x261234(0x483,0x303)+_0x261234(0x349,0x2c7)+'\x20watc'+_0x261234(0x299,0x321)+_0x261234(0x465,0x647)+child['pid']+').'),console[_0x261234(0x3b9,0x294)](_0x261234(0x47e,0x3c5)+_0x300bcb(0x378,0x44d)+_0x300bcb(0x3a0,0x447)+'lhost'+':'+port),console[_0x300bcb(0x5da,0x752)](_0x261234(0x183,0x1fe)+'o-res'+_0x261234(0x10a,-0xd0)+'\x20on\x20c'+_0x300bcb(0x394,0x19a)+'\x20Stop'+_0x261234(0x349,0x32b)+_0x300bcb(0x4f4,0x351)+_0x300bcb(0x653,0x687)+_0x261234(0x2d6,0x34d)+_0x261234(0xcc,0xe7)),process[_0x261234(0x250,0x53)](-0x110e+-0xe80+-0xfc7*-0x2);}else{if(flags[_0x300bcb(0x62d,0x53b)+'chdog']){const _0x511428={};_0x511428['cwd']=ROOT,_0x511428[_0x300bcb(0x51e,0x5c4)]=env,_0x511428[_0x300bcb(0x43a,0x3d2)]='inher'+'it';const child=spawn(process[_0x261234(0x1b8,-0x47)+_0x261234(0x46d,0x2fa)],[serverPath],_0x511428);writeFileSync(PID_FILE,String(child[_0x261234(0x39a,0x372)]));const cleanup=()=>{try{unlinkSync(PID_FILE);}catch{}};process['on'](_0x300bcb(0x5cc,0x761)+'T',()=>{function _0x14643f(_0x4f6409,_0x4dc762){return _0x261234(_0x4f6409- -0x153,_0x4dc762);}cleanup(),process[_0x14643f(0xfd,0x240)](0x586*-0x4+0x883*-0x3+0x2fa1*0x1);}),process['on'](_0x261234(0x28b,0x22e)+'RM',()=>{function _0x26e90f(_0x417f81,_0x290b1a){return _0x261234(_0x290b1a-0x1cf,_0x417f81);}function _0x2bdc2d(_0x27464d,_0x3c3e80){return _0x261234(_0x27464d-0x46a,_0x3c3e80);}const _0x38b6f2={'zuCUd':function(_0x24af0d){return _0x24af0d();}};_0x38b6f2[_0x26e90f(0x35e,0x366)](cleanup),process[_0x2bdc2d(0x6ba,0x524)](-0x1172+-0x13c8+0x253a);}),child['on'](_0x300bcb(0x471,0x364),_0x5bf0a9=>{function _0x4ce4c0(_0x5ae549,_0x12b00d){return _0x261234(_0x5ae549-0x112,_0x12b00d);}const _0x5aac2e={'nwOcN':function(_0xbf4ddb){return _0xbf4ddb();},'pHWQC':function(_0x2ce395,_0x488700){return _0x2ce395||_0x488700;}};_0x5aac2e[_0x8b8fd4(0x854,0x746)](cleanup);function _0x8b8fd4(_0x209d86,_0x3ab285){return _0x261234(_0x3ab285-0x3ee,_0x209d86);}process[_0x4ce4c0(0x362,0x53c)](_0x5aac2e[_0x4ce4c0(0x408,0x33c)](_0x5bf0a9,0x1*0xf59+-0x1286+0x32d));});}else{const watchdogPath=join(ROOT,_0x261234(0x19b,0x69)+'r',_0x261234(0x226,0xda)+_0x261234(0x27a,0x13d)+'s'),extraEnv={};if(flags[_0x261234(0x278,0x198)])extraEnv['PORT']=String(flags[_0x261234(0x278,0x2f9)]);if(flags['host'])extraEnv[_0x300bcb(0x527,0x444)+_0x300bcb(0x390,0x1f4)+'T']=flags['host'];const _0x164b52={};_0x164b52['cwd']=ROOT,_0x164b52[_0x300bcb(0x51e,0x629)]=env,_0x164b52[_0x261234(0x219,0x3b8)]=_0x261234(0x37d,0x431)+'it';const child=spawn(process['execP'+_0x300bcb(0x68e,0x513)],[watchdogPath,JSON['strin'+_0x261234(0x28d,0x440)](extraEnv)],_0x164b52),port=flags['port']||env[_0x300bcb(0x3f7,0x5eb)]||0x172c+0x4f9*0x5+0x15*-0x1a5;console['log'](_0x300bcb(0x483,0x4a3)+_0x261234(0x125,0x9f)+_0x300bcb(0x362,0x523)+'ng\x20wi'+_0x300bcb(0x351,0x4c9)+_0x300bcb(0x640,0x4f0)+_0x261234(0x275,0x17c)+_0x300bcb(0x49e,0x5d2)+_0x300bcb(0x316,0x490)+_0x261234(0x453,0x592)+_0x261234(0xd4,0x6a)),console[_0x261234(0x3b9,0x50f)](_0x300bcb(0x69f,0x4f9)+_0x261234(0x157,0xc1)+_0x261234(0x17f,0xc6)+_0x261234(0x128,-0x5c)+':'+port),console[_0x300bcb(0x5da,0x5ff)](_0x261234(0x3ce,0x254)+_0x261234(0x150,0x1c8)+_0x300bcb(0x620,0x774)+_0x300bcb(0x4ba,0x698)+_0x261234(0x22c,0xa1)+_0x300bcb(0x4e9,0x40d)+_0x300bcb(0x48f,0x506)+_0x300bcb(0x5c2,0x5c1)),process['on'](_0x300bcb(0x5cc,0x5f2)+'T',()=>{function _0x57c952(_0x47fff3,_0x9b0ad9){return _0x261234(_0x9b0ad9-0x2b4,_0x47fff3);}function _0x37049e(_0x1e9604,_0x2439ea){return _0x261234(_0x1e9604-0x1f2,_0x2439ea);}const _0x500ad9={};_0x500ad9[_0x57c952(0x641,0x463)]=_0x37049e(0x47d,0x35a)+'RM';const _0x5e5999=_0x500ad9;child[_0x57c952(0x389,0x542)](_0x5e5999['ENwkA']);}),process['on']('SIGTE'+'RM',()=>{function _0x101af0(_0x169559,_0x13d5a9){return _0x261234(_0x13d5a9-0x1a0,_0x169559);}function _0xf4ef6b(_0x45d778,_0x477877){return _0x261234(_0x45d778- -0x1ea,_0x477877);}const _0x226031={};_0x226031[_0x101af0(0x17b,0x32f)]='SIGTE'+'RM';const _0x482821=_0x226031;child[_0xf4ef6b(0xa4,0xf6)](_0x482821[_0xf4ef6b(-0x5b,-0x224)]);}),child['on'](_0x261234(0x250,0x228),_0x11ed26=>{const _0x39865c={};function _0x8611e1(_0x5ed5c1,_0xea1387){return _0x300bcb(_0xea1387- -0x35e,_0x5ed5c1);}_0x39865c[_0x1e154a(0x40a,0x213)]=function(_0x3df9a5,_0x47c4ce){return _0x3df9a5||_0x47c4ce;};const _0x3fe18a=_0x39865c;function _0x1e154a(_0x1c18c1,_0x46e721){return _0x300bcb(_0x46e721- -0x115,_0x1c18c1);}process[_0x8611e1(0x1ed,0x113)](_0x3fe18a[_0x1e154a(0x311,0x213)](_0x11ed26,-0x44c+-0x198f+0x1*0x1ddb));});}}}
|