@mooncompany/uplink-chat 0.37.0 → 0.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/uplink.js +1 -1
- package/middleware/error-handler.js +1 -1
- package/package.json +1 -1
- package/public/dist/bundle.f3621856.js +1 -0
- package/public/index.html +1 -1
- package/public/js/agents-data.js +1 -1
- package/public/js/agents-ui.js +1 -1
- package/public/js/agents.js +1 -1
- package/public/js/app.js +1 -1
- package/public/js/appearance-settings.js +1 -1
- package/public/js/artifacts.js +1 -1
- package/public/js/audio-pcm-processor.js +1 -1
- package/public/js/audio-queue.js +1 -1
- package/public/js/bootstrap.js +1 -1
- package/public/js/chat.js +1 -1
- package/public/js/commands.js +1 -1
- package/public/js/connection-api.js +1 -1
- package/public/js/connection.js +1 -1
- package/public/js/context-tracker.js +1 -1
- package/public/js/core.js +1 -1
- package/public/js/cron-panel.js +1 -1
- package/public/js/dashboard.js +1 -1
- package/public/js/developer.js +1 -1
- package/public/js/encryption.js +1 -1
- package/public/js/errors.js +1 -1
- package/public/js/event-bus.js +1 -1
- package/public/js/fetch-utils.js +1 -1
- package/public/js/file-handler.js +1 -1
- package/public/js/files.js +1 -1
- package/public/js/gateway-chat.js +1 -1
- package/public/js/logger.js +1 -1
- package/public/js/markdown.js +1 -1
- package/public/js/message-actions.js +1 -1
- package/public/js/message-renderer.js +1 -1
- package/public/js/missed-messages.js +1 -1
- package/public/js/mobile-debug.js +1 -1
- package/public/js/notifications.js +1 -1
- package/public/js/offline-queue.js +1 -1
- package/public/js/onboarding.js +1 -1
- package/public/js/panels.js +1 -1
- package/public/js/premium.js +1 -1
- package/public/js/primary-header.js +1 -1
- package/public/js/realtime-voice.js +1 -1
- package/public/js/satellite-sync.js +1 -1
- package/public/js/satellite-ui.js +1 -1
- package/public/js/satellites.js +1 -1
- package/public/js/settings.js +1 -1
- package/public/js/shortcuts.js +1 -1
- package/public/js/split-chat.js +1 -1
- package/public/js/split-resize.js +1 -1
- package/public/js/splitview.js +1 -1
- package/public/js/storage.js +1 -1
- package/public/js/streaming-handler.js +1 -1
- package/public/js/stt-settings.js +1 -1
- package/public/js/themes.js +1 -1
- package/public/js/timestamps.js +1 -1
- package/public/js/tts-settings.js +1 -1
- package/public/js/ui.js +1 -1
- package/public/js/update-notifier.js +1 -1
- package/public/js/utils/constants.js +1 -1
- package/public/js/utils/icons.js +1 -1
- package/public/js/utils/sanitize.js +1 -1
- package/public/js/utils/sse-parser.js +1 -1
- package/public/js/vad.js +1 -1
- package/public/js/vendor/dompurify.min.js +1 -1
- package/public/js/voice-settings-v2.js +1 -1
- package/public/js/voice.js +1 -1
- package/public/sw.js +1 -1
- package/server/channel.js +1 -1
- package/server/chat.js +1 -1
- package/server/config-store.js +1 -1
- package/server/config.js +1 -1
- package/server/context.js +1 -1
- package/server/gateway-api-proxy.js +1 -1
- package/server/gateway-commands.js +1 -1
- package/server/gateway-proxy.js +1 -1
- package/server/index.js +1 -1
- package/server/logger.js +1 -1
- package/server/message-store.js +1 -1
- package/server/middleware/auth.js +1 -1
- package/server/middleware.js +1 -1
- package/server/openclaw-discover.js +1 -1
- package/server/premium/index.js +1 -1
- package/server/premium/license.js +1 -1
- package/server/realtime/bridge.js +1 -1
- package/server/realtime/index.js +1 -1
- package/server/realtime/tts-stream.js +1 -1
- package/server/routes/agents.js +1 -1
- package/server/routes/artifacts.js +1 -1
- package/server/routes/chat.js +1 -1
- package/server/routes/config-settings.js +1 -1
- package/server/routes/config.js +1 -1
- package/server/routes/cron.js +1 -1
- package/server/routes/files.js +1 -1
- package/server/routes/index.js +1 -1
- package/server/routes/media.js +1 -1
- package/server/routes/missed-messages.js +1 -1
- package/server/routes/premium.js +1 -1
- package/server/routes/push.js +1 -1
- package/server/routes/satellite.js +1 -1
- package/server/routes/status.js +1 -1
- package/server/routes/stt.js +1 -1
- package/server/routes/voice.js +1 -1
- package/server/routes/webhooks.js +1 -1
- package/server/routes.js +1 -1
- package/server/runtime-config.js +1 -1
- package/server/share.js +1 -1
- package/server/stt/faster-whisper.js +1 -1
- package/server/stt/groq.js +1 -1
- package/server/stt/index.js +1 -1
- package/server/stt/openai.js +1 -1
- package/server/sync.js +1 -1
- package/server/tailscale-https.js +1 -1
- package/server/tts.js +1 -1
- package/server/update-checker.js +1 -1
- package/server/utils/filename.js +1 -1
- package/server/utils.js +1 -1
- package/server/watchdog.js +1 -1
- package/server/websocket/broadcast.js +1 -1
- package/server/websocket/connections.js +1 -1
- package/server/websocket/index.js +1 -1
- package/server/websocket/routing.js +1 -1
- package/server/websocket/sync.js +1 -1
- package/server.js +1 -1
- package/utils/detect-tool-usage.js +1 -1
- package/utils/errors.js +1 -1
- package/utils/html-escape.js +1 -1
- package/utils/id-sanitize.js +1 -1
- package/utils/response.js +1 -1
- package/utils/with-retry.js +1 -1
- package/public/dist/bundle.5772e248.js +0 -1
package/bin/uplink.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
(function(_0x4800e8,_0x5e698c){function _0x25b115(_0x416a6a,_0x3de291){return _0x1d2a(_0x416a6a-0x2f2,_0x3de291);}function _0x3ad870(_0x323db5,_0x51c58e){return _0x1d2a(_0x323db5-0x390,_0x51c58e);}const _0x3d80a6=_0x4800e8();while(!![]){try{const _0x16b018=-parseInt(_0x3ad870(0x627,0x660))/(-0x1279+0x1*-0x223+0x149d)*(-parseInt(_0x3ad870(0x452,0x613))/(0xfba+-0xe28+-0x190))+parseInt(_0x25b115(0x461,0x647))/(-0x16f*0x19+-0x21e5+-0xdf3*-0x5)*(parseInt(_0x3ad870(0x4cb,0x392))/(-0x502+-0x10b6+-0x2*-0xade))+parseInt(_0x3ad870(0x640,0x70b))/(-0x3e+-0x14df+0x1522)+parseInt(_0x3ad870(0x762,0x738))/(-0x8d9+0xcfe*-0x2+0x22db*0x1)+-parseInt(_0x3ad870(0x49f,0x5bd))/(-0x7ed*0x4+-0x255e+0x4519)*(parseInt(_0x25b115(0x3d5,0x23f))/(-0x12e+-0xf87+0x1*0x10bd))+-parseInt(_0x3ad870(0x76f,0x914))/(-0x23f1+0x1f5+0x2205)+parseInt(_0x3ad870(0x46e,0x544))/(0x13*0x1c3+-0x35*0xa3+0x50)*(parseInt(_0x25b115(0x4a1,0x4c0))/(0x1*-0x1136+-0x1fb0+-0x30f1*-0x1));if(_0x16b018===_0x5e698c)break;else _0x3d80a6['push'](_0x3d80a6['shift']());}catch(_0x39cdbf){_0x3d80a6['push'](_0x3d80a6['shift']());}}}(_0x83cf,0x1945*-0xe+0x476a9+-0x5*-0x41bb));import{spawn,execSync}from'child_process';import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';import{createRequire}from'module';import _0x3fdfe2 from'net';import _0x497eb7 from'http';import _0x2d64a3 from'os';function _0x1d2a(_0x5c35b8,_0x5cf5bb){_0x5c35b8=_0x5c35b8-(-0x13c*-0x5+-0x1b0e*0x1+0x156b);const _0x51cee3=_0x83cf();let _0x19968b=_0x51cee3[_0x5c35b8];return _0x19968b;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x1e10e6={'pSLwB':function(_0x514b55,_0x401d74,_0x2b5ccd){return _0x514b55(_0x401d74,_0x2b5ccd);},'XsgtB':function(_0x7f6248,_0xa7285c){return _0x7f6248+_0xa7285c;},'MDdeF':_0x2d18b2(0x122,0x14b),'YdVsT':'avail'+_0x33a33b(0x3f7,0x4e4),'LdMyg':function(_0x159299,_0x1896e1){return _0x159299(_0x1896e1);},'vAiiR':function(_0x3a41c6,_0x35f97e){return _0x3a41c6!==_0x35f97e;},'UMHHG':_0x2d18b2(0x109,0x17f)+_0x2d18b2(0xcc,0x11)+_0x33a33b(0x37f,0x3ec)+'v\x20var'+_0x2d18b2(-0x4f,-0x63)+_0x33a33b(0x3af,0x4a1)+_0x2d18b2(-0x19b,-0x232)+'ly:\x20','btgvu':_0x2d18b2(-0xe4,-0x203),'oUprH':function(_0x4dbad1,_0x2b3605,_0x243034){return _0x4dbad1(_0x2b3605,_0x243034);},'csrVd':'Gatew'+'ay\x20to'+_0x33a33b(0x6f8,0x6f4),'PvRun':function(_0x572f2c,_0x3321ab){return _0x572f2c!==_0x3321ab;},'uVvEF':_0x2d18b2(-0x206,-0x15b),'BEZRJ':_0x2d18b2(-0x1fa,-0x1da),'HbBiw':_0x2d18b2(-0x21,0x5e)+_0x2d18b2(-0x34c,-0x195)+'+$','gYveF':function(_0x1fef40,_0x4bfa4e,_0x37501b){return _0x1fef40(_0x4bfa4e,_0x37501b);},'Lgfiy':function(_0x30689f){return _0x30689f();},'rJGSk':function(_0x55b6a3,_0x3f5a6f){return _0x55b6a3===_0x3f5a6f;},'HkymI':'win32','APiyc':_0x2d18b2(-0x104,-0x1c2)+'ta','jVWOd':'Roami'+'ng','UkXJq':function(_0x205379,_0x317482,_0x533812){return _0x205379(_0x317482,_0x533812);},'GVHDF':_0x2d18b2(-0x2a5,-0x1cc)+'k','QUKrq':function(_0x46903f,_0x21fec,_0x4148f6){return _0x46903f(_0x21fec,_0x4148f6);}};function _0x2d18b2(_0x1870f9,_0x37cb67){return _0x1d2a(_0x37cb67- -0x2fc,_0x1870f9);}const _0xf7a0f5=(function(){function _0x5d66d9(_0x435819,_0x26a9cd){return _0x33a33b(_0x26a9cd,_0x435819- -0x2f7);}const _0x4f7aab={'iwrls':function(_0xf36349,_0x5a6940){function _0x4eced4(_0x2179d7,_0x18a69f){return _0x1d2a(_0x18a69f-0x3e6,_0x2179d7);}return _0x1e10e6[_0x4eced4(0x5db,0x57e)](_0xf36349,_0x5a6940);},'vINlb':function(_0x314af4,_0x4cd627){function _0x1cce3f(_0x32fb20,_0x1e889a){return _0x1d2a(_0x1e889a-0x399,_0x32fb20);}return _0x1e10e6[_0x1cce3f(0x4b9,0x460)](_0x314af4,_0x4cd627);},'jfSmX':function(_0x41d834,_0xb26063){return _0x41d834+_0xb26063;},'ddCNZ':_0x1e10e6[_0x5d66d9(0x17b,0x202)],'jjBkH':function(_0xc047bc,_0xdcc327){function _0x492699(_0x43a596,_0x28b1b9){return _0x5d66d9(_0x43a596-0x3fb,_0x28b1b9);}return _0x1e10e6[_0x492699(0x4a1,0x562)](_0xc047bc,_0xdcc327);},'yrUIM':_0x5d66d9(0x2e6,0x46f)};function _0x2e14fa(_0x2a8c44,_0x1598a2){return _0x33a33b(_0x2a8c44,_0x1598a2- -0x3a3);}if('JkNwU'!==_0x1e10e6['btgvu'])_0x1e10e6[_0x5d66d9(0x1dd,0x2c0)](_0xcf61b,_0x1e10e6['XsgtB'](_0x1e10e6[_0x5d66d9(0x1a6,0x373)],_0x58881d),_0x1e10e6[_0x2e14fa(0xf3,0x1be)]);else{let _0x3173d9=!![];return function(_0x1195fd,_0x213215){function _0x45582d(_0xa49ee9,_0x38b640){return _0x2e14fa(_0xa49ee9,_0x38b640-0x45a);}function _0x39c984(_0x239aba,_0x4e2277){return _0x2e14fa(_0x4e2277,_0x239aba-0x13d);}if(_0x4f7aab[_0x39c984(0x448,0x50f)](_0x45582d(0x85f,0x79c),_0x4f7aab[_0x45582d(0x777,0x7df)])){const _0x5c9dd1=_0x3173d9?function(){function _0x1955e4(_0x14d9b1,_0x27156b){return _0x39c984(_0x14d9b1- -0x18e,_0x27156b);}function _0x26da50(_0x31b8c1,_0x4b1a13){return _0x39c984(_0x4b1a13- -0x68,_0x31b8c1);}const _0x15d5ce={'uTbDf':function(_0x5af951,_0x1fcb29){function _0x314d65(_0x3e9cd1,_0x301044){return _0x1d2a(_0x301044-0x365,_0x3e9cd1);}return _0x4f7aab[_0x314d65(0x8c4,0x7d2)](_0x5af951,_0x1fcb29);}};if(_0x213215){if(_0x4f7aab[_0x26da50(0x370,0x21f)](_0x26da50(0x70,0x166),_0x1955e4(0x40,0x121)))_0x12af8d[_0x1955e4(0x2b7,0x199)](),_0x15d5ce[_0x26da50(0x5d,0xfc)](_0x58cc3e,!![]);else{const _0x310c80=_0x213215[_0x26da50(-0x2c,0x189)](_0x1195fd,arguments);return _0x213215=null,_0x310c80;}}}:function(){};return _0x3173d9=![],_0x5c9dd1;}else _0x1e4eb0[_0x45582d(0x522,0x6b1)]('⬡\x20Fai'+_0x45582d(0x56a,0x429)+'o\x20ope'+_0x39c984(0x23d,0x417)+_0x39c984(0x3ba,0x53b)+_0x2996ce[_0x45582d(0x786,0x60c)+'ge']),_0x24b606[_0x45582d(0x74b,0x6b1)](_0x4f7aab[_0x39c984(0x39b,0x1ea)](_0x4f7aab[_0x45582d(0x496,0x582)],_0x4033b7)),_0x4bb685['exit'](0x1f*0xc5+0x3e3+-0x1bbd);};}}());function _0x33a33b(_0x43fdff,_0x353c32){return _0x1d2a(_0x353c32-0x2d6,_0x43fdff);}const _0x7cd715=_0x1e10e6[_0x2d18b2(-0x56,0xbc)](_0xf7a0f5,this,function(){function _0x39464e(_0xa5065b,_0x474144){return _0x2d18b2(_0x474144,_0xa5065b-0x24a);}function _0x5665ae(_0x5e122e,_0x564a59){return _0x2d18b2(_0x564a59,_0x5e122e-0x47d);}if(_0x1e10e6[_0x39464e(0x98,0x3e)](_0x1e10e6[_0x5665ae(0x5d5,0x475)],_0x1e10e6[_0x39464e(0x22e,0x2c7)]))return _0x7cd715[_0x5665ae(0x3cf,0x23b)+'ing']()[_0x5665ae(0x3bd,0x384)+'h'](_0x5665ae(0x4db,0x627)+')+)+)'+'+$')[_0x5665ae(0x3cf,0x231)+_0x5665ae(0x4b0,0x5b3)]()[_0x39464e(0x54,0x11)+'ructo'+'r'](_0x7cd715)[_0x5665ae(0x3bd,0x464)+'h'](_0x1e10e6[_0x39464e(0x36e,0x3c4)]);else _0x1e10e6[_0x39464e(0x310,0x38f)](_0x22cc10,_0x1e10e6[_0x5665ae(0x3e3,0x348)],_0x39464e(0x2bb,0x3c1)+'gured');});_0x1e10e6[_0x33a33b(0x63b,0x4fd)](_0x7cd715);if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x1e10e6[_0x33a33b(0x322,0x3bb)](process[_0x33a33b(0x6a0,0x532)+_0x2d18b2(-0x4a,-0x90)],_0x1e10e6[_0x2d18b2(-0x5,0x123)])){const _0xb68707=process.env.APPDATA||join(_0x2d64a3['homed'+'ir'](),_0x1e10e6[_0x2d18b2(-0x90,-0x11)],_0x1e10e6[_0x33a33b(0x79f,0x5be)]);return _0x1e10e6[_0x2d18b2(-0x111,0x36)](join,_0xb68707,_0x1e10e6['GVHDF']);}return _0x1e10e6[_0x33a33b(0x81a,0x649)](join,_0x2d64a3[_0x2d18b2(-0x158,-0x53)+'ir'](),_0x2d18b2(-0x1cc,-0x106)+'nk');}const DATA_DIR=resolveDataDir();try{const _0x3f579f={};_0x3f579f[_0x54d736(0x151,0x1ea)+_0x8643f1(0x27,0x5)]=!![],mkdirSync(DATA_DIR,_0x3f579f);}catch{}const PID_FILE=join(DATA_DIR,_0x54d736(0x1e6,0x192)+_0x54d736(0x454,0x3f5)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x54d736(0x1e6,0x4d)+_0x54d736(0x203,0x90)+'tchdo'+_0x8643f1(-0x17a,-0x8)),WATCHDOG_STATE_FILE=join(DATA_DIR,'.upli'+_0x54d736(0x203,0x275)+'tchdo'+_0x54d736(0x80,-0x135)+'n'),args=process[_0x54d736(0x44b,0x612)][_0x54d736(0x3ab,0x22f)](-0x1561+-0x1*-0x8a5+0xcbe),command=args[-0x20+0x124f+-0x5*0x3a3]||_0x54d736(0x427,0x379),flags={};for(let i=-0xa5f*-0x2+-0x2*0xe7d+0x83c;i<args[_0x8643f1(-0x1f,0x130)+'h'];i++){args[i]===_0x54d736(0x35a,0x236)+'t'&&args[i+(0xb90+-0x1a2+0x4d*-0x21)]&&(flags[_0x54d736(0x143,0x211)]=parseInt(args[i+(-0x121e+0x3*0x4d2+0x3a9)],-0x1*0x2386+-0x12*0xa2+0x2ef4),i++),args[i]===_0x8643f1(-0x45,-0x80)+'t'&&(flags['host']=args[i+(-0xbad+-0x1*-0x1acd+-0xf1f)]||_0x8643f1(0x17b,0x1a4)+'.0',i++),(args[i]==='--hel'+'p'||args[i]==='-h')&&(flags[_0x54d736(0x236,0x2a2)]=!![]),(args[i]===_0x54d736(0xdf,-0x16)+_0x54d736(0x1a5,0x38e)||args[i]==='-v')&&(flags[_0x54d736(0x18f,0x33c)+'on']=!![]),(args[i]===_0x54d736(0x319,0x34a)+_0x8643f1(-0x8f,0x64)||args[i]==='-d')&&(flags[_0x8643f1(-0x15c,-0x14)+'h']=!![]),args[i]==='--no-'+'watch'+_0x8643f1(-0x31,-0xb2)&&(flags['noWat'+_0x54d736(0x95,0x16e)]=!![]),args[i]==='--lin'+'es'&&args[i+(0x5e*0x65+0x777*-0x2+-0x1627)]&&(flags[_0x8643f1(-0x129,-0x197)]=parseInt(args[i+(-0x2425*-0x1+0x138d+-0x37b1)],-0x1788+0x9c7*0x1+0x1*0xdcb),i++),args[i]===_0x8643f1(0xd9,0x45)+'t'&&(flags[_0x54d736(0x1a2,0x8e)]=!![]),args[i]===_0x54d736(0xe2,0xbb)+'h'&&(flags[_0x8643f1(-0xb1,-0x5b)]=!![]),(args[i]===_0x54d736(0xbc,-0x46)+'ce'||args[i]==='-f')&&(flags[_0x8643f1(-0xd9,-0x23b)]=!![]);}if(flags[_0x8643f1(0xc6,-0x130)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x8643f1(-0x22,-0x8b)+_0x8643f1(0x1b2,0xb3)+'on'));console[_0x54d736(0x178,0x297)](_0x54d736(0x120,0x263)+'k-cha'+_0x54d736(0x3b7,0x5b0)+pkg[_0x8643f1(-0x251,-0x130)+'on']),process[_0x8643f1(0x5b,0x170)](0x2360+0x1224+-0x14*0x2ad);}flags['help']&&(console['log'](_0x54d736(0xea,-0xb7)+_0x8643f1(-0x1fb,-0xb1)+_0x8643f1(0x26a,0xaf)+_0x54d736(0x453,0x318)+_0x8643f1(-0x1ea,-0x4a)+_0x54d736(0x1ca,0x313)+'\x20Usag'+_0x8643f1(-0x139,0xb2)+'\x20\x20upl'+_0x8643f1(-0xb6,0x50)+_0x8643f1(-0x81,0xb9)+_0x8643f1(0x1ce,0x9a)+_0x54d736(0x1b3,0x41)+_0x8643f1(0x1a2,0x126)+_0x54d736(0x39f,0x3ee)+_0x54d736(0xa6,-0x131)+'mands'+':\x0a\x20\x20\x20'+_0x54d736(0x433,0x566)+_0x54d736(0x1da,0xb7)+'\x20\x20\x20St'+'art\x20t'+_0x8643f1(-0x131,0x3a)+_0x8643f1(0x240,0x112)+'serve'+_0x8643f1(-0x19a,0x13)+_0x8643f1(0x16,0x20)+')\x0a\x20\x20\x20'+'\x20stop'+_0x54d736(0x1c3,0x205)+'\x20\x20\x20St'+_0x54d736(0xc7,0x227)+_0x54d736(0x124,0x186)+_0x54d736(0x302,0x195)+_0x54d736(0x3d1,0x599)+'serve'+'r\x0a\x20\x20\x20'+_0x8643f1(-0xce,-0x182)+_0x8643f1(0xf1,-0xac)+_0x54d736(0x3b3,0x2c0)+_0x8643f1(-0x244,-0x215)+'f\x20Upl'+'ink\x20i'+_0x54d736(0xcb,-0x34)+_0x54d736(0x19c,-0x18)+_0x8643f1(-0x36a,-0x1ce)+_0x8643f1(0xab,0x15d)+_0x8643f1(-0x14e,-0xfc)+_0x54d736(0x28c,0xd4)+_0x54d736(0x182,0x2ef)+'ent\x20s'+'etup\x20'+'at\x20a\x20'+_0x54d736(0x3f5,0x3cb)+_0x54d736(0x1d2,0x2ec)+_0x8643f1(0xbe,-0x56)+_0x54d736(0x1c3,-0xf)+'\x20\x20\x20Ta'+_0x8643f1(-0x1f8,-0x145)+_0x8643f1(-0x135,-0x1a7)+_0x8643f1(0x1,-0x45)+_0x54d736(0xfe,0x290)+_0x54d736(0x156,0x18b)+_0x8643f1(0x1ab,0x8c)+_0x54d736(0x1d2,0x2d9)+'\x20conf'+_0x8643f1(0x266,0xf1)+_0x54d736(0x2d4,0x29a)+_0x8643f1(0x23d,0xeb)+_0x8643f1(0x4a,-0x3)+'\x20conf'+_0x54d736(0x389,0x472)+_0x8643f1(-0x212,-0x3d)+_0x8643f1(-0x3ef,-0x246)+_0x54d736(0x148,0x261)+_0x54d736(0x1c3,0x337)+_0x54d736(0x15b,0xf2)+_0x8643f1(-0x3bd,-0x20e)+'commo'+'n\x20iss'+_0x8643f1(-0x296,-0x167)+'\x20\x20\x20re'+_0x54d736(0x43a,0x632)+_0x8643f1(0xdb,-0xfc)+_0x8643f1(-0x1fa,-0x4e)+'\x20chat'+'\x20hist'+'ory\x20a'+_0x54d736(0x449,0x414)+_0x8643f1(0x170,0x57)+_0x8643f1(-0x128,-0x37)+_0x54d736(0x11d,-0x96)+_0x8643f1(0x8c,0x120)+'\x20\x20\x20\x20\x20'+'Updat'+'e\x20to\x20'+_0x54d736(0x309,0x158)+_0x8643f1(-0x24,-0xd3)+_0x8643f1(0x229,0x12e)+'ion\x0a\x20'+_0x8643f1(-0x44,-0x154)+_0x8643f1(0xb8,0x4b)+_0x54d736(0xb3,0x14e)+_0x54d736(0x32a,0x25c)+_0x54d736(0x1f0,0x131)+'r\x20and'+'\x20remo'+'ve\x20al'+_0x54d736(0x3a0,0x27a)+_0x54d736(0x116,0x15b)+_0x54d736(0x352,0x1cb)+'\x20\x20Opt'+'ions:'+'\x0a\x20\x20\x20\x20'+_0x54d736(0x35a,0x2f0)+_0x54d736(0x2e8,0x31c)+_0x8643f1(-0x2a2,-0xfc)+_0x8643f1(0xf,0x179)+_0x8643f1(-0x262,-0x8c)+_0x8643f1(-0x54,0x163)+_0x54d736(0x370,0x399)+_0x8643f1(-0x121,-0x1c5)+_0x54d736(0x3e8,0x242)+_0x8643f1(-0x23e,-0x1f6)+_0x54d736(0x2ed,0x212)+_0x54d736(0x25f,0x376)+'\x20H\x20\x20\x20'+_0x54d736(0x1c3,0x24e)+_0x8643f1(0x7c,0xd6)+_0x54d736(0x34d,0x442)+_0x54d736(0x464,0x3b3)+'\x20(def'+_0x54d736(0x36d,0x4a0)+'\x200.0.'+_0x8643f1(-0x392,-0x23e)+_0x8643f1(0xdb,0x2e)+_0x54d736(0x418,0x426)+_0x54d736(0x3ec,0x39d)+_0x54d736(0x2b9,0x3b0)+'Run\x20i'+'n\x20bac'+'kgrou'+_0x54d736(0x3b1,0x2e5)+'aemon'+_0x54d736(0x267,0x2e3)+_0x8643f1(-0x159,-0x17e)+_0x54d736(0xc6,-0xa6)+_0x8643f1(-0x28,-0x59)+'hdog\x20'+_0x54d736(0x2cf,0x2bb)+_0x8643f1(0xe4,0x176)+'out\x20a'+'uto-r'+_0x54d736(0x9f,0x14c)+_0x8643f1(-0x2f3,-0x138)+'chdog'+'\x0a\x20\x20\x20\x20'+_0x8643f1(-0x38e,-0x1e6)+_0x8643f1(0x38,-0x5)+'\x20\x20\x20\x20\x20'+_0x54d736(0x115,0x1c3)+_0x54d736(0x168,0x230)+_0x8643f1(0x2f6,0x10e)+_0x54d736(0x128,0x23)+'\x20to\x20s'+_0x54d736(0x333,0x2dd)+_0x8643f1(0x127,0x149)+_0x8643f1(-0xea,-0x19e)+_0x54d736(0x24a,0x437)+'50)\x0a\x20'+_0x8643f1(-0x1e0,0x8)+_0x54d736(0x3f7,0x391)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20O'+'pen\x20c'+'onfig'+_0x54d736(0x3b6,0x2a3)+_0x8643f1(0x59,-0x27)+'\x20(con'+_0x8643f1(0x14f,0x78)+_0x8643f1(0x52,0x2e)+'-path'+_0x8643f1(-0xf,-0xfc)+_0x54d736(0x1c3,0x30f)+'Print'+'\x20conf'+'ig\x20fi'+_0x8643f1(0xd5,0x30)+_0x8643f1(-0x64,-0x78)+_0x8643f1(-0x273,-0x22f)+')\x0a\x20\x20\x20'+_0x54d736(0x1cc,0x2c3)+'rce,\x20'+'-f\x20\x20\x20'+_0x8643f1(-0xb7,-0xc8)+_0x54d736(0x24b,0x18e)+_0x54d736(0x2e4,0x36e)+_0x54d736(0x368,0x3b3)+_0x54d736(0x159,0x318)+_0x54d736(0x2bd,0x404)+(_0x8643f1(-0x2d3,-0x230)+_0x8643f1(0x2b1,0xdf)+_0x54d736(0xdc,-0x4e)+_0x8643f1(0x56,-0xfc)+_0x54d736(0x1c3,0x37c)+'\x20Show'+_0x54d736(0x3ed,0x2c8)+'ion\x0a\x20'+_0x54d736(0x301,0x41f)+'\x20\x20\x20\x20\x20'+_0x54d736(0x1c3,0x2c2)+_0x8643f1(-0x25b,-0xf6)+_0x54d736(0xef,0x273)+_0x54d736(0x3ae,0x2cc)+_0x54d736(0x276,0x192)+'\x20\x20Exa'+_0x54d736(0x318,0x2d2)+':\x0a\x20\x20\x20'+_0x8643f1(-0x6,0x66)+_0x54d736(0x120,0x115)+'k-cha'+_0x54d736(0x1da,0x305)+_0x8643f1(0xd4,-0xfc)+_0x54d736(0x1c3,0x1f0)+_0x8643f1(-0x9f,-0x2e)+'\x20Star'+_0x8643f1(-0x1bc,-0xf9)+'defau'+_0x54d736(0x3eb,0x366)+_0x54d736(0xfb,-0x7a)+_0x54d736(0x94,-0x140)+_0x54d736(0x3c0,0x5b9)+_0x54d736(0x2eb,0x1a7)+_0x8643f1(-0x5b,-0x18f)+_0x8643f1(0x37a,0x18b)+'8080\x20'+_0x54d736(0x1c3,0x347)+_0x8643f1(0x38,0x148)+_0x8643f1(0xcf,0x117)+_0x8643f1(-0x11a,-0x134)+'\x208080'+'\x0a\x20\x20\x20\x20'+'npx\x20u'+_0x8643f1(-0x60,0x11f)+_0x8643f1(-0x1d4,-0x202)+'\x20stop'+_0x54d736(0x1c3,0xf9)+_0x8643f1(-0x2d9,-0xfc)+'\x20\x20\x20#\x20'+'Stop\x20'+_0x54d736(0x1de,0x7d)+_0x8643f1(-0x36,-0x21c)+'\x0a\x20\x20\x20\x20'+_0x54d736(0x147,0x19d)+_0x54d736(0x3de,0x5cc)+_0x54d736(0xbd,0x228)+_0x8643f1(0x72,-0xea)+_0x54d736(0x1c3,0x64)+_0x54d736(0x1c3,0x36b)+'\x20\x20\x20#\x20'+_0x8643f1(0x12f,0x3d)+'setup'+_0x8643f1(0xe1,-0xea)+'\x0a\x20\x20\x20\x20'+_0x54d736(0x147,0x230)+_0x8643f1(0x14f,0x11f)+_0x54d736(0xbd,0x12c)+_0x8643f1(-0x94,-0x56)+_0x8643f1(0x53,0x6)+_0x54d736(0xcf,0xb)+_0x8643f1(-0x6d,0x124)+'Tail\x20'+'last\x20'+_0x8643f1(0xf,0x119)+_0x54d736(0x146,0x196)+'nes\x0a\x20'+_0x54d736(0x169,-0x89)+_0x54d736(0x1b2,0x35f)+_0x54d736(0x30f,0x3f3)+_0x8643f1(0x1f8,0x11e)+_0x8643f1(-0x336,-0x22f)+_0x8643f1(-0x20a,-0x1f5)+_0x8643f1(0x77,-0x128)+_0x8643f1(-0x28,-0x15f)+'it\x20.e'+_0x54d736(0x1db,0x25f)+_0x54d736(0x43d,0x4f8)+'\x20edit'+'or\x0a\x20\x20'+_0x54d736(0x94,0x161)+_0x54d736(0x3c0,0x44f)+_0x54d736(0x2eb,0x2ba)+_0x8643f1(-0xb0,-0x206)+_0x54d736(0xd0,-0xf5)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x8643f1(0x314,0x1aa)+_0x8643f1(0x321,0x141)+'nosti'+_0x8643f1(-0x12d,-0x183)+_0x8643f1(-0x3e2,-0x22b)+_0x8643f1(0x1a5,0x101)+_0x54d736(0x2eb,0x26e)+_0x8643f1(0x53,-0x150)+_0x8643f1(-0x271,-0x1b5)+_0x54d736(0x1ae,0x206)+'e\x20\x20\x20\x20'+_0x54d736(0x284,0x125)+_0x8643f1(-0x1da,-0x1a8)+'ta\x20wi'+_0x54d736(0xd2,0x29a)+_0x8643f1(-0x7a,0x127)+_0x54d736(0x377,0x1d0))),process['exit'](-0x22ae+0x441*0x2+-0xa*-0x29e));function isRunning(_0x234ec8){const _0x1bd183={};_0x1bd183[_0x51fc81(0x3a2,0x4cc)]=_0x51fc81(0x34a,0x3af)+_0x1f1aa9(0x4f8,0x4ed)+'on',_0x1bd183[_0x1f1aa9(0x1fb,0x30e)]=function(_0x5171fe,_0x2de45b){return _0x5171fe!==_0x2de45b;};function _0x51fc81(_0x54eb85,_0x67dd9b){return _0x54d736(_0x67dd9b-0x17b,_0x54eb85);}function _0x1f1aa9(_0xadf685,_0x61a8a){return _0x54d736(_0x61a8a-0x17b,_0xadf685);}_0x1bd183['jHIyR']=function(_0x34e9cd,_0x3c0ab6){return _0x34e9cd===_0x3c0ab6;},_0x1bd183[_0x1f1aa9(0x387,0x471)]=_0x1f1aa9(0x485,0x54b),_0x1bd183[_0x51fc81(0x18e,0x2a8)]='PYbno',_0x1bd183[_0x51fc81(0x341,0x323)]=_0x1f1aa9(0x3c5,0x253);const _0x174bdc=_0x1bd183;try{if(_0x174bdc[_0x51fc81(0x4e5,0x4d6)](_0x174bdc[_0x51fc81(0x2d9,0x471)],_0x174bdc[_0x51fc81(0x240,0x2a8)])){delete _0x5e5fdf['cache'][_0x3d4149(_0x5113da,_0x174bdc[_0x1f1aa9(0x648,0x4cc)])];const _0x12bd63=_0x41b635(_0x811146(_0x10b7c8,_0x174bdc[_0x1f1aa9(0x42a,0x4cc)])),_0x26909d=_0x12bd63[_0x51fc81(0x3f2,0x30a)+'on'];_0x174bdc['MxEPc'](_0x26909d,_0x5be7e7)?_0xa42e07[_0x1f1aa9(0x383,0x2f3)](_0x51fc81(0x3b8,0x44c)+_0x51fc81(0x4f9,0x490)+_0x1f1aa9(0x620,0x45d)+_0x5a3447+'\x20→\x20v'+_0x26909d):_0x39df62[_0x51fc81(0x215,0x2f3)](_0x1f1aa9(0x6a,0x228)+_0x1f1aa9(0x14a,0x200)+_0x51fc81(0x4ed,0x5b9)+'he\x20la'+_0x51fc81(0x231,0x34e)+'versi'+_0x1f1aa9(0x5a1,0x495)+_0x5b2801+').');}else return process[_0x51fc81(0x5da,0x4f6)](_0x234ec8,-0x1*-0x21a4+0x7d2+-0xb7*0x3a),!![];}catch{if(_0x51fc81(0x1d4,0x253)!==_0x174bdc[_0x51fc81(0x302,0x323)])try{return _0x507a1a[_0x1f1aa9(0x408,0x4f6)](_0x3c2a73,0x1f98+-0x1*0x1009+-0xf8f*0x1),!![];}catch{return![];}else return![];}}function getPid(){const _0x3e49e2={'eSwym':function(_0x2052c2,_0x478905,_0x36df9b){return _0x2052c2(_0x478905,_0x36df9b);},'ouxoh':_0xc87fcd(0x59c,0x75e)+'ay\x20re'+_0xc87fcd(0x442,0x27d)+'le','oqupA':function(_0x490180,_0x515608){return _0x490180(_0x515608);},'fJoaq':function(_0x1160ff,_0x57ec5c,_0x4782ec){return _0x1160ff(_0x57ec5c,_0x4782ec);},'ZWizZ':function(_0x1c6dde,_0x2515eb){return _0x1c6dde(_0x2515eb);},'xeccf':function(_0x225eb3,_0x4c5ecb){return _0x225eb3===_0x4c5ecb;},'cQKuy':_0xc87fcd(0x62f,0x78f),'fioYg':_0xc87fcd(0x512,0x6aa)};if(!_0x3e49e2['oqupA'](existsSync,PID_FILE))return null;function _0x5b2d43(_0x491c5d,_0x2be935){return _0x54d736(_0x491c5d-0x22c,_0x2be935);}const _0x5b7017=_0x3e49e2['fJoaq'](parseInt,readFileSync(PID_FILE,_0xc87fcd(0x530,0x3ca))[_0x5b2d43(0x469,0x285)](),-0x17c8+-0x3db*0x2+0x1f88);if(_0x3e49e2['oqupA'](isNaN,_0x5b7017)||!_0x3e49e2[_0xc87fcd(0x50e,0x6b4)](isRunning,_0x5b7017)){try{_0x3e49e2[_0xc87fcd(0x78e,0x831)](_0x3e49e2[_0x5b2d43(0x4a3,0x377)],_0x3e49e2[_0x5b2d43(0x353,0x4f8)])?_0x3e49e2[_0x5b2d43(0x408,0x3dd)](_0x40bea2,_0x3e49e2[_0xc87fcd(0x65c,0x680)],_0x4bc967):_0x3e49e2['oqupA'](unlinkSync,PID_FILE);}catch{}return null;}function _0xc87fcd(_0x30741b,_0x9912f9){return _0x54d736(_0x30741b-0x39b,_0x9912f9);}return _0x5b7017;}function getWatchdogPid(){const _0x2ee237={'OAhwf':function(_0x426bd0,_0x22ac30){return _0x426bd0/_0x22ac30;},'KhQZH':function(_0x8f1202,_0x5ff0d){return _0x8f1202/_0x5ff0d;},'VmMdT':function(_0x3a4d33,_0x1fdefc){return _0x3a4d33%_0x1fdefc;},'uiuXg':function(_0x2ac972,_0x412a81){return _0x2ac972>_0x412a81;},'sobVj':function(_0x178a3a,_0x2312ff){return _0x178a3a%_0x2312ff;},'KxDIq':'Node.'+_0x321347(0x454,0x364)+'rsion','DobAt':function(_0x1e668c,_0x407111){return _0x1e668c(_0x407111);},'mtAwq':function(_0x1f2ac2,_0x38049e,_0x24b69a){return _0x1f2ac2(_0x38049e,_0x24b69a);},'Bjktq':_0x321347(0x161,0x25a),'axSUs':function(_0x4551b0,_0x41b466){return _0x4551b0(_0x41b466);},'KUXyw':function(_0x25dbc5,_0x725813){return _0x25dbc5(_0x725813);},'lwGUV':function(_0x2cdc87,_0x77049f){return _0x2cdc87!==_0x77049f;},'pMxvz':_0x321347(0x418,0x2ea),'uhxeY':function(_0x14e72e,_0x5b6e46){return _0x14e72e!==_0x5b6e46;},'XWmAz':_0x321347(0x12,0x1f8),'dbsVd':function(_0xb833d2,_0x598aa7){return _0xb833d2(_0x598aa7);}};if(!_0x2ee237[_0x321347(0x30b,0x391)](existsSync,WATCHDOG_PID_FILE))return null;function _0x3ff9ef(_0x366124,_0xce5537){return _0x8643f1(_0x366124,_0xce5537-0x44);}const _0x28586c=_0x2ee237[_0x3ff9ef(0x5d,0x40)](parseInt,readFileSync(WATCHDOG_PID_FILE,_0x2ee237[_0x3ff9ef(0x127,-0x4e)])['trim'](),0x186c+0x23f5+-0x10f*0x39);if(_0x2ee237[_0x321347(0x2cf,0x1d9)](isNaN,_0x28586c)||!_0x2ee237[_0x321347(0x509,0x387)](isRunning,_0x28586c)){if(_0x2ee237['lwGUV']('HzXck',_0x2ee237['pMxvz'])){try{if(_0x2ee237[_0x321347(0x464,0x44a)](_0x2ee237['XWmAz'],'EGvjA'))_0x2ee237[_0x321347(0x1f7,0x162)](unlinkSync,WATCHDOG_PID_FILE);else{const _0x2f24e6=_0x209679['floor'](_0x2ee237[_0x3ff9ef(-0x228,-0x60)](_0x5f4d8d,0x152f+0x2b*0xbf+0x41d*-0xc)),_0x4c7803=_0xb8660a['floor'](_0x2ee237[_0x3ff9ef(0x25,-0x60)](_0x2f24e6,-0x23d0+-0xf09+-0x5ad*-0x9)),_0x1543ae=_0x143373[_0x3ff9ef(-0x2e1,-0xe9)](_0x2ee237['KhQZH'](_0x4c7803,-0x61*0x3b+0x66*-0x59+-0x1*-0x3a0d)),_0x15b83e=_0x171d67[_0x3ff9ef(0x10b,-0xe9)](_0x2ee237[_0x321347(0x247,0x2e0)](_0x1543ae,0x1*-0x2149+0x1*-0x176+0x22d7));if(_0x15b83e>-0x4f*-0x65+0x2104+-0x402f*0x1)return _0x15b83e+'d\x20'+_0x1543ae%(0x2*-0xf91+-0x1738+0x3672)+'h\x20'+_0x4c7803%(0x417+-0x1b22+-0x1*-0x1747)+'m';if(_0x1543ae>-0xae3+-0x81c+-0x12ff*-0x1)return _0x1543ae+'h\x20'+_0x4c7803%(0x44c+-0xbf2*-0x1+-0x1002)+'m\x20'+_0x2ee237['VmMdT'](_0x2f24e6,-0x2197+-0x1*0x18dc+0x1*0x3aaf)+'s';if(_0x2ee237[_0x3ff9ef(-0x10d,-0x127)](_0x4c7803,-0xfb1+-0x18ab+0x285c))return _0x4c7803+'m\x20'+_0x2ee237[_0x3ff9ef(0x48,-0x16)](_0x2f24e6,0x395+-0x34f*-0x8+0x11*-0x1c1)+'s';return _0x2f24e6+'s';}}catch{}return null;}else _0x5a2f7d(_0x2ee237[_0x321347(0x374,0x3a6)],'v'+_0x50211d+(_0x3ff9ef(-0x25f,-0xc7)+_0x321347(0x20e,0x28c)+_0x3ff9ef(-0x3a6,-0x1e4)+'d)'));}function _0x321347(_0x1cd7bf,_0x34721f){return _0x8643f1(_0x1cd7bf,_0x34721f-0x384);}return _0x28586c;}function _0x83cf(){const _0x38cf1a=['tor\x20—','nYpmn','hat\x20c','plink','date\x20','ks\x20pa','ompan','\x0a\x20\x20Se','00\x20#\x20','l\x20cle','optio','\x20prom','l\x20NOT','lt:\x203','des','ble','lt\x20po','ch,\x20-','\x20vers','o\x20sto','lengt','\x20\x1b[32','tart\x20','k\x20Con','xeccf','reada','glanc','eDVbX','edit\x20','l\x20—\x20v','not\x20s','—\x20run','creat','dykna','toppe','AWeFI','ncHIf','\x20diag','ed:\x20\x20','file\x20','ssed','EisIB','ly:\x20','\x20for\x20','#\x20Sta','logs,','ailed','d\x20ser','ed.\x20N','AWVew','sync-','ken','HkymI','HbBiw','data','watch','unins','tbbFx','round','rzuQc','\x20\x20→\x20h','-deta','share','rver\x20','sages','nfo\x20\x20','k\x20ser','\x0a\x20\x20Ca','timeo','\x20to\x20r','⬡\x20Upl','isten','inclu','ation','found','opped','start','bGjbN','y\x20uni','⬡\x20Sto','cache','padEn','ZjvtW','//127','exit','necte','\x0a⬡\x20Wa','\x20\x20Thi','\x20star','\x20stop','\x20with','ime:\x20','Port\x20','\x20Port','\x20than','set\x20\x20','ID\x20','file','\x20your','\x20on\x20t','l\x20log','or\x20us','PI\x20ke','yrUIM','and\x20a','uVvEF','ning\x20','ver\x20f','logic','g.log','nd\x20lo','port\x20','argv','yjGWR','\x20data','denci','nQhxE','XHzka','\x20>=\x201','vLrmN','ocal\x20','nk.pi','pDZbB','\x20audi','\x20on\x20c','faile','stop','ynBOq','ovBKP','tCEXR','iwrls','toUpp','.\x20Run','stall','s\x20but','e:\x20\x20\x20','0.0.0','nd\x20to','NTIAL','ve\x20al','\x20\x20Typ','k\x20has','#\x20Run','info','\x20\x20Set','ch\x20','\x20\x20\x20\x20d','ROKdj','ver\x20P','strin','⬡\x20No\x20','\x20\x20✓\x20R','execP','g.jso','0.0)\x0a','..\x0a','mENMo','force','ready','ed\x20','\x0a\x20\x20Lo','\x20The\x20','node_','nning','\x1b[33m','led\x20t','mode)','kage.','eset)','onfig','push-','ated\x20','mine\x20','\x20\x20npx','chdog','in\x20us','quire','ed\x1b[0','destr','.json','once','anoth','dbsVd','\x20crea','estar','etect','iWfQG',':\x20\x20\x20\x20','erver','write','v,\x20co','\x20\x20Com','achab','\x20new\x20','re\x20\x22D','eck\x20i','nLabs','son','\x0a⬡\x20Al','subsc','\x20\x20Ser','\x0a\x20\x20Pr','nose\x20','4CwxoRm','ll\x20\x20\x20','Key','tall\x20','ttp:/','vAiiR','****','at\x20do','anual','premi','--for','-chat','m(con','pass','\x20@moo','\x20not\x20','.env','de.js','\x201\x202>','OFoHP','\x20--no','op\x20a\x20','e\x20by\x20','456)\x0a','\x20--ed','s\x20run','ge.','ffMs','10GVguyV','nes\x201','ctor\x20',':\x20upl','thout','40HaJmjX','updat','rJGSk','⬡\x20Cur','avail','Qfxzl','--lin','able\x20','MCsec','-v\x20\x20\x20','hdog\x20','tchdo','--ver','warn','GFJRj','--pat','resta','uTbDf','\x0a\x20\x20Da','fsphV','s/dir','rface','JkNwU','\x0a\x20\x20⬡\x20','(PID\x20','oSGYk','ocess','rtCou','how\x20t','\x20hist','\x20\x20\x20\x20i','audio','noWat','\x20and\x20','\x20warn','const','Sync','mode','et\x20in','defau','rt\x0a\x20\x20','abs\x20k','AY_TO','ogs\x20i','645323bqscjL','rPid','ig\x20--','ssage','ile)','now','join','OR\x20en','wiIWZ','size','\x0a\x20\x20Pa','set\x20-','\x20less','ing\x20U','ons','d\x20wat','INUSE','TTS\x20m','null\x20','woZHF','misse','axSUs','\x20Numb','ink\x20d','ar\x20da','e\x20ser','\x20pass','URtAq','ce\x20/v','er\x20pr','\x20\x20\x20up','\x0a\x20\x20','\x20\x20Not','uplin','\x20defa','enAI\x20','igure','runni','e...','rvRRc','fioYg','lines','ady\x20c','AppDa','561568OMLQtx','\x20/nob','THZHP','evenL','k\x20Uni','at\x20--','index','tBbOH','cLZXl','backg','ity.j','UnmJT','split','InxRt','not\x20d','PvRun','emove','cs\x0a\x20\x20','\x20stat','t\x20rea','eJXtU','alue',')\x0a\x20\x20\x20','\x20\x20Use','port','ignor','ink\x20(','og\x20li','npx\x20u','octor','compl','v\x20var','XNYIw','tions','host','lVVsW','ssing','space','recur','ink\x20w','GdbXd','uiuXg','ear\x20—','n\x20rea',')+)+)','ues\x0a\x20','promp','irst:','\x20Diag','cwd','\x20remo','\x20the\x20','3sdkhbP','\x20#\x20Ed','one.\x0a','⬡\x20Cre','ty\x20da','from\x20','ll\x20','ble)\x1b','TwUbC','er\x20of','\x20\x20\x20np','dSUgE','\x20\x20\x20un','\x20sync','actio','v\x20fil','at\x20re','reak\x20','apply','ll\x22\x20t','ZWizZ','gjxSX','eInte','c/img','IYCjo','log','for\x20r','il\x20th','.env.','/loca','any/u','d\x20dat','eServ','ng\x20(','r.js','\x20curr','p\x20Upl','d\x20log','s...\x20','d\x20in\x20','t\x20wat','LdMyg','\x0a\x20\x20No','KEsuz','\x20port','UMHHG','inher','logs','versi','activ','iYYzZ','floor','MxEPc','urati','utf8','map','it\x20\x20\x20','th:\x20u','\x20\x20Bac','\x20in\x20','\x20Stop','ning\x0a','Depen','2>&1','6274763qKOKHw','filte','zSFLV','edit','og\x20(P','d-mes','sion','gify','first','UWxiZ','bJaiP','elf\x0a','top','tarti','fuBYy','-forc','ath','max','xampl','x\x20upl','nd]\x20[','\x20(>=\x20','\x20cach','\x20\x20Aut','MDdeF','xaVfj','\x20DATA','and\x20c','dit\x20m','\x20Unin','n\x20edi','\x20\x20Wat','oonco','aldis','\x20inst','SIGTE','\x20\x20\x20\x20\x20','\x20watc','ion','t\x20on\x20','18\x20re','ists','\x20\x20\x20\x20S','at\x0a\x0a\x20','AY_UR','\x20--fo','ound.','sWith','ver\x20(','could','⬡\x20Upd','e\x0a\x20\x20\x20','test\x20','ree\x20—','\x20info','bbyfb','1:187','\x20\x20Cre','df\x20-k','t\x20\x20\x20\x20','nv\x20in','eSwym','not\x20b','the\x20s','hostn','\x20.env','tchin','⬡\x20Res','127.0','EADDR','ddCNZ','.upli','_DIR/','k\x20Doc','eeSpa','st:\x20\x20','ions\x20','atest','TSWaQ','pSLwB','\x20\x20\x20\x20','serve','PID\x20','k\x20whe','\x20chec','zuzSf','rver.','openS','\x20\x20Ski','ple\x20.','⬡\x20Aut','8\x20is\x20','\x20Remo','ink\x20s','erCas','able','n\x20npm','detai','Gatew','eacha','nk-wa','toLow','_API_','PASSW','vINlb','esSiz','red','d-con','I_API','ound\x20','dog','Uplin','to-re',',\x20PID','stdin','ve\x20ag','us\x20\x20\x20','UPLIN','l\x20con','rver:','Lgfiy','Yhziq','ncell','o\x20con','OAhwf','some','ey\x20—\x20','y/upl','epgWB','+C\x20to','ly\x20wi','GATEW','nks\x20f','yveeM','YVuZn','empty','.\x20Fre','rAaEe','_here','\x1b[32m','oMivG','searc','Bjktq','ne\x20wi','nd\x20me','\x0a\x20\x20⚠️\x20','on\x0a','at\x0a','\x20to\x20l','packa','ector','help','hing\x20','_modu','\x20\x20v','examp','r.log','ly:\x20n','trim','toStr','--hos','\x20Miss','\x20\x20Res','HOST','no\x20Op','QQdKX','\x20—\x20No','bally','th\x20(c','s\x20alr','t\x20sta','ult:\x20','p\x20con','platf','ing.','ete.','deter','s\x20are','(none','csrVd','duxxy','WxvET','push','TTS\x20A','xUCZr','pping','m\x20(PI','on:\x20\x20','\x20manu','orm','ay\x20re','QMMWY','-host','og\x20st','es\x20in','oncom','versa','path','sobVj','-watc','\x20mode','⬡\x20Ope','\x20logs','eNqnA','PID\x20f','emovi','lhost','meout','messa','hat\x20s','Clear','p\x20it\x20','art!','⬡\x20Fai','AI\x20Ch','elp\x0a\x0a','cQKuy','ripti','emGiW','ver\x20l','YdVsT','xZYPM','d)\x1b[0','ink\x20i','g\x20was','node','fstat','tion\x0a','liste','#\x20Cle','ons.j','stdou','102709DSVBMx','ata\x0a\x20','\x20or\x20e','log\x20e','.0.0.','\x20Show','y)\x1b[0','figur','\x1b[31m','PORT','\x20\x20\x20\x20#','\x20Chat','letel','WjIZf','link.','ile\x20f','\x20\x20✓\x20S','ditor','homed','s\x20and','docto','readl','parse','RfqZd','js\x20ve','659045trERIL','\x20\x20⬡\x20A','Node.','/upli','FqXVD','\x20been','sleep','d.\x20St','y:\x20','ync.j','code','detac','(Ctrl','th\x20wa','eady\x20','nstal','ine','||\x20ti','\x20comp','gSnyY','ame','ORD','runs.','g.pid','publi','d\x20\x20\x20\x20','es\x20N\x20','mtAwq','rrent','ts\x20(r','ay\x20to','rt\x20th','\x20Push','ouxoh','KUXyw','ved.\x0a','sive','\x20--li','⬡\x20.en','\x20\x20\x20--','tKwYC','DEYXa','\x20line','mzoMz','DobAt','er\x20ru','mpany','\x20\x20Run','BEZRJ','\x0a⬡\x20Up','r\x20(de','\x20npm\x20','\x20\x20\x20Sh','ng\x20np','\x20/t\x201','xLVWv','jVWOd','\x20\x20Sto','GET','APiyc','setsi','evice','(serv','fault','K_HOS','KxDIq',':\x20v','\x20unin','firma','reset','\x20-g\x20@','env','t\x20N\x20\x20','ted\x20w','\x20runn','nk-ch','hed','\x20\x20\x20\x20-','media','le\x20pa','ent\x20a','\x20PID:','\x20\x20\x20\x20•','OPENA','ta\x20di','k-cha','MthjC','XjURM','(empt','he\x20Up','Value','backo','Show\x20','\x20EDIT','ies','SIGIN','OEdPK','\x20\x20\x20-h','ng\x20Up','Disk\x20','--edi','ted\x20t','ID=\x27','ync','dPPbZ','the\x20l','insta','GxtPZ','firm:','hwFDb','g\x20for','ink-c','dog.j','fcDIL','et\x20Fr','\x20MB\x20f','error','dated','cal\x20d','reque','mples','--det','on\x20(v','jfSmX','KEN','d\x20.en','led)','ing','disk\x20','nfig\x20','UkXJq','ach','\x20\x20✗\x20F','\x20npx\x20','es\x20mi','art','s\x20not','WxRWe','Stop\x20','charA','pAxem','uploa','RROvm','nk-se','\x20sets','s\x20fro','\x20(.en','how\x20(','rt\x20--','✗\x1b[0m','sh\x20st','fig)\x0a','koff:','o\x20rea','tor:\x20','LzvHv','s\x20wil','ZNBbY','GJkcx','l\x20upl','outpu','oWhsq','TOKEN','\x0a⬡\x20Re','notep','win32','k\x20Res','to\x20cl','nd\x20wa','which','(((.+','l\x20tim','.env\x20','to\x20bi','xvBln','stdio','.\x20👋\x0a','hneSm','ata\x0a\x0a','pid','he\x20la','teway','KEY','es\x20ex','A_DIR','comma','--por','jHIyR','e\x20und','confi','\x20(PID','\x20\x20Tha','mzQfM','stopp','\x20alre','QUKrq','g\x20@mo','label','repea','ally:','tion\x20','o\x20ope','e\x20glo','atchd','\x20\x20⚠️\x20\x20','ault:','k\x20—\x20L','ing\x20m','\x20on\x20(','e:\x0a\x20\x20','ge.js','nano','quest','set\x22\x20','he\x20se','pt\x0a\x20\x20','hat\x20[','e\x20is\x20','#\x20Upl','kill','cking','WLrDT',':\x27\x22\x20g','\x20\x20\x20\x20v','wing\x20','qpDTh','o\x20fil','tarts','[0m','uhxeY','exist','.0.1','⬡\x20Sho','igura','\x22\x20|\x20t','\x20\x20Upt','\x20limi','o-res','...\x0a','ELEVE','ning','files','\x20node','eJiwM','npm\x20u','Host\x20','WkGau','nuBVZ','\x20enab','modul','copy\x20','This\x20','obvjE','ges-s','\x0a\x20\x20\x20\x20','ns]\x0a\x0a','l\x20Upl','/dev/','c/aud','art\x20m','on:\x20v','k\x20Inf','KFYDn','\x20\x20Log','gYveF','statu','ow\x20cu','slice','end','the\x20e','his\x20h','ay\x20be','ig\x20\x20\x20','nd\x20(d','oUprH','\x20\x20\x20Ch','ng\x1b[0','\x20—\x20ru','\x20in\x20e','t\x20v','\x20Fail','UqZGM','\x20item','moonc','tall','ntrie','metho','gured','\x20upli','BugDC','1505844aTBeio','fail','DHqjw','close','othin','\x20\x20Sta','jjBkH','JqrYU','last\x20','3456','direc','\x20log\x20','Versi','4967919udZDPj','Ipizv','link\x20','\x20conf','rent\x20','...','ctivi','rt\x20on','POMPE','100\x20l','\x20clea','ed,\x20'];_0x83cf=function(){return _0x38cf1a;};return _0x83cf();}function getWatchdogState(){function _0x46e6f1(_0x3452cc,_0x1d84e7){return _0x8643f1(_0x3452cc,_0x1d84e7-0x28d);}const _0x1fd156={'hwFDb':function(_0x364598,_0x4ab8a6){return _0x364598(_0x4ab8a6);},'rzuQc':function(_0x5f0747,_0x97fe8f){return _0x5f0747===_0x97fe8f;},'SIusd':_0x59c379(0x100,0x116),'IHNpx':function(_0x1199fc,_0x59d67b,_0x4cf3f9){return _0x1199fc(_0x59d67b,_0x4cf3f9);},'ROKdj':_0x59c379(-0x71,0xd),'bYQfs':'zvjAV','zuzSf':_0x46e6f1(0x317,0x158)};if(!_0x1fd156[_0x46e6f1(0x362,0x2db)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x59c379(_0x1168f9,_0x418a6b){return _0x8643f1(_0x1168f9,_0x418a6b-0x137);}try{if(_0x1fd156[_0x46e6f1(0x23c,0x3e4)](_0x1fd156['SIusd'],_0x59c379(0x2bb,0x116)))return JSON['parse'](_0x1fd156['IHNpx'](readFileSync,WATCHDOG_STATE_FILE,_0x1fd156[_0x59c379(-0x223,-0x10e)]));else try{const _0xd4629={};_0xd4629['recur'+_0x46e6f1(0x166,0x292)]=!![],_0xd4629[_0x46e6f1(0x19e,0x52)]=!![],_0x1a0916(_0x14959d,_0xd4629),_0x436ff0++,_0x55fa65[_0x46e6f1(0x1dd,0x146)](_0x59c379(0x19,-0x10a)+_0x59c379(-0xff,-0x4d)+'d\x20'+_0x1b88e2);}catch(_0x34cdbd){_0x480c3d[_0x59c379(0x13b,0x18c)]('\x20\x20✗\x20F'+_0x59c379(0x222,0x281)+_0x59c379(0x1e4,0x298)+_0x59c379(0x3d,-0x4d)+'\x20'+_0x258257+':\x20'+_0x34cdbd[_0x59c379(0x171,0xe7)+'ge']);}}catch{if(_0x1fd156[_0x46e6f1(0x34a,0x3e4)](_0x1fd156['bYQfs'],_0x1fd156[_0x46e6f1(0x2e8,0x1c2)]))_0x91acaa[_0x46e6f1(0x29d,0x393)](),_0x4b7404[_0x59c379(0x2db,0x2a7)](-0x1a95*0x1+0x1bf*0x1+0x18d6);else return null;}}function formatUptime(_0x381f1f){const _0x4e7678={};_0x4e7678[_0x33a32e(-0xe2,-0xc7)]=function(_0x3b55d5,_0x3ed90f){return _0x3b55d5/_0x3ed90f;};function _0x4c70ce(_0x26705d,_0x153ebc){return _0x54d736(_0x153ebc- -0x2cc,_0x26705d);}_0x4e7678['xaVfj']=function(_0x49a344,_0x34f421){return _0x49a344/_0x34f421;},_0x4e7678['ZjvtW']=function(_0x45885c,_0x3c5a2b){return _0x45885c/_0x3c5a2b;},_0x4e7678[_0x33a32e(-0x1a,-0xd0)]=function(_0x52e348,_0x5edb2b){return _0x52e348>_0x5edb2b;},_0x4e7678[_0x4c70ce(0x20,-0x6e)]=function(_0x4fe304,_0x2bfda1){return _0x4fe304%_0x2bfda1;},_0x4e7678[_0x4c70ce(-0x358,-0x179)]=function(_0x31ea00,_0x4bf0a7){return _0x31ea00%_0x4bf0a7;},_0x4e7678[_0x4c70ce(-0xa7,-0x19)]=function(_0x354dbd,_0x4fbf43){return _0x354dbd%_0x4fbf43;};const _0x3d6821=_0x4e7678,_0x580653=Math['floor'](_0x3d6821[_0x4c70ce(0x22e,0x45)](_0x381f1f,-0x1*-0x2531+-0x1*-0x125e+-0x33a7)),_0x10a3cd=Math['floor'](_0x580653/(-0x231a*0x1+0x14f0+0x733*0x2)),_0x27dcd3=Math[_0x33a32e(-0x246,-0x246)](_0x3d6821[_0x33a32e(-0xf1,-0x220)](_0x10a3cd,-0x411*0x4+-0x6da+0x175a)),_0x3a89ad=Math['floor'](_0x3d6821[_0x4c70ce(0x19f,0x161)](_0x27dcd3,-0xf4*0x8+-0x263d*-0x1+-0x1*0x1e85));function _0x33a32e(_0x378af8,_0x149020){return _0x54d736(_0x149020- -0x3d8,_0x378af8);}if(_0x3d6821[_0x4c70ce(-0xb8,0x3c)](_0x3a89ad,-0x969*-0x2+0x143e+0x8*-0x4e2))return _0x3a89ad+'d\x20'+_0x3d6821[_0x4c70ce(-0xde,-0x6e)](_0x27dcd3,0x2465+0x441+-0x288e)+'h\x20'+_0x3d6821['GdbXd'](_0x10a3cd,0x589+-0x15bf+0x1072)+'m';if(_0x3d6821[_0x4c70ce(-0xea,0x3c)](_0x27dcd3,0x1*-0x8f3+-0x224+0xb17))return _0x27dcd3+'h\x20'+_0x3d6821[_0x33a32e(-0x1f,-0x125)](_0x10a3cd,0x849*0x1+-0x1e4f+-0xb*-0x206)+'m\x20'+_0x3d6821[_0x33a32e(-0x9e,-0x17a)](_0x580653,0x142+-0x2561+0x245b*0x1)+'s';if(_0x10a3cd>-0x65b+0xb*-0x284+-0x1*-0x2207)return _0x10a3cd+'m\x20'+_0x580653%(-0x2*0x139+0x1ff7+-0x1d49)+'s';return _0x580653+'s';}if(command===_0x8643f1(0x2b,0x19a)){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process['kill'](watchdogPid,_0x8643f1(-0x110,-0xfd)+'RM'),console[_0x54d736(0x178,0x85)](_0x54d736(0x421,0x3b7)+_0x54d736(0x152,0x1df)+'atchd'+_0x54d736(0x260,0x21c)+_0x54d736(0x426,0x251)+'\x20(PID'+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x1c28c5){console[_0x8643f1(-0x74,0x55)]('⬡\x20Fai'+_0x8643f1(-0x31e,-0x233)+_0x54d736(0x3ee,0x431)+_0x54d736(0x183,0x35)+_0x54d736(0x152,0x54)+_0x8643f1(-0x68,0xac)+_0x8643f1(0xa2,-0x11c)+_0x8643f1(0x75,0x17c)+watchdogPid+'):',_0x1c28c5[_0x54d736(0x26f,0x188)+'ge']),process[_0x8643f1(0x4d,0x170)](0x2*-0xaf9+-0x1c38+0x322b);}process[_0x54d736(0x42f,0x34e)](0xca6+-0x15*-0xbe+-0x8b*0x34);}const pid=getPid();!pid&&(console[_0x8643f1(-0x2c,-0x147)](_0x54d736(0x421,0x4ea)+_0x8643f1(0x84,-0x41)+_0x54d736(0x328,0x251)+'\x20runn'+_0x54d736(0x24d,0x231)),process[_0x8643f1(0x14b,0x170)](0x134d*-0x2+-0x1920+-0x6*-0xa9f));try{process['kill'](pid,'SIGTE'+'RM'),console[_0x8643f1(-0x56,-0x147)](_0x8643f1(-0x6d,0x162)+_0x54d736(0x1fc,0x12e)+_0x54d736(0x3fd,0x4c4)+'d\x20(PI'+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x2a5e70){console[_0x8643f1(-0x39,0x55)](_0x54d736(0x274,0x2d6)+_0x54d736(0x8c,0x1ae)+_0x54d736(0x3ee,0x4bf)+_0x8643f1(-0xc2,-0x13c)+_0x8643f1(-0x12b,-0x17a)+_0x54d736(0x1f1,0x4f)+pid+'):',_0x2a5e70[_0x54d736(0x26f,0x35b)+'ge']),process['exit'](0x81*-0x4a+-0x7*0x589+0x4c0a*0x1);}process['exit'](0x2bd*0x2+0x2*-0xdf1+-0x18*-0xef);}if(command===_0x54d736(0xd4,0x1d5)+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x54d736(0x234,0x32a)+_0x8643f1(-0x88,0xb3)+'on')),currentVersion=pkg['versi'+'on'];console[_0x8643f1(-0x1d0,-0x147)](_0x8643f1(-0x134,-0x1e9)+_0x8643f1(0x29b,0x114)+'versi'+_0x8643f1(0x1f4,0xe5)+currentVersion),console[_0x54d736(0x178,-0xc)]('⬡\x20Che'+_0x54d736(0x37c,0x3d5)+_0x54d736(0x406,0x412)+'updat'+'es...'+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x8643f1(-0x258,-0x147)](_0x54d736(0x42a,0x55c)+_0x8643f1(0x31,-0x67)+'\x20Upli'+'nk\x20be'+'fore\x20'+_0x8643f1(-0x35,-0x1eb)+_0x54d736(0x125,0x11));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process[_0x54d736(0x37b,0x456)](pidToKill,'SIGTE'+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x16570f={};_0x16570f[_0x8643f1(0xf2,0x90)]=_0x8643f1(0x78,-0x17b)+'e',execSync(_0x8643f1(-0x1dd,-0x19)+_0x54d736(0xc4,-0xcd)+_0x54d736(0x3a1,0x2c2)+_0x8643f1(-0x170,-0x1ae)+_0x8643f1(-0x1b5,-0xe)+_0x54d736(0x26e,0x182)+_0x54d736(0x2d6,0xde)+_0x8643f1(-0x14,-0x193)+_0x8643f1(-0x224,-0x14f)+'>nul\x20'+_0x54d736(0x19e,0x136),_0x16570f);}catch{}}try{console[_0x54d736(0x178,0xec)](_0x8643f1(-0xa8,-0xee)+'ating'+_0x54d736(0xc0,0x100)+'ncomp'+_0x8643f1(-0x11e,-0x142)+_0x54d736(0x3de,0x323)+_0x54d736(0xbd,0x25d)+_0x8643f1(0x1,0xcf));const _0x2beda3={};_0x2beda3['stdio']=_0x54d736(0x18d,0x281)+'it',execSync('npm\x20u'+'pdate'+_0x54d736(0x2e6,0x3f7)+_0x8643f1(0x221,0xfc)+_0x54d736(0x3e1,0x21e)+_0x54d736(0x21e,0xa5)+_0x8643f1(0x12a,0x50)+'hat',_0x2beda3);}catch(_0x4971c6){console[_0x8643f1(0x236,0x55)](_0x54d736(0x2d1,0x341)+_0x8643f1(-0x14,0x120)+'faile'+'d:',_0x4971c6[_0x54d736(0x26f,0x16b)+'ge']),console[_0x8643f1(-0x79,0x55)]('\x20\x20Try'+_0x54d736(0x2ea,0x317)+_0x8643f1(0x45,0xb0)+_0x8643f1(-0x9c,-0x205)+_0x54d736(0x23c,0x199)+'pm\x20up'+_0x54d736(0x3df,0x3bd)+'-g\x20@m'+_0x54d736(0x1bf,0x171)+_0x54d736(0x2ce,0x10f)+_0x54d736(0x2a3,0x17f)+_0x8643f1(-0x54,0x2c)+'at');if(wasRunning){console[_0x8643f1(-0x14f,-0x147)](_0x8643f1(0x266,0x84)+_0x8643f1(0xbf,0x168)+_0x54d736(0x10c,-0xdb)+_0x54d736(0x3de,0x1fd)+_0x8643f1(0xd,0x115));const _0x2da06c={};_0x2da06c[_0x54d736(0x34f,0x4d3)]=_0x54d736(0x18d,0x5b)+'it',execSync(_0x8643f1(-0x172,-0x19f)+_0x54d736(0x2f5,0x3a1)+_0x8643f1(0x1b,-0x76)+_0x8643f1(-0x4c,0x75)+_0x8643f1(0xca,-0x14)+'h',_0x2da06c);}process[_0x54d736(0x42f,0x3ea)](-0x93a*0x3+-0xe8f*0x1+-0x2*-0x151f);}try{delete require[_0x8643f1(0x252,0x16c)][join(ROOT,_0x8643f1(0x137,-0x8b)+'ge.js'+'on')];const newPkg=require(join(ROOT,_0x8643f1(-0x75,-0x8b)+'ge.js'+'on')),newVersion=newPkg[_0x8643f1(-0xd3,-0x130)+'on'];newVersion!==currentVersion?console[_0x54d736(0x178,0x170)]('\x0a⬡\x20Up'+_0x8643f1(0x31,0x56)+_0x54d736(0x2e2,0x1db)+currentVersion+'\x20→\x20v'+newVersion):console[_0x54d736(0x178,0x301)](_0x54d736(0xad,-0x28)+'ready'+_0x8643f1(0x3a,0x17f)+_0x54d736(0x354,0x3a6)+_0x8643f1(0xf5,-0xec)+_0x54d736(0x18f,0x108)+'on\x20(v'+currentVersion+').');}catch{console[_0x8643f1(-0x16f,-0x147)](_0x54d736(0x2d1,0x28b)+'date\x20'+_0x54d736(0x149,0x1dd)+_0x54d736(0x24e,0x37d));}if(wasRunning){console[_0x54d736(0x178,0x35c)]('⬡\x20Res'+_0x8643f1(-0x88,-0x113)+_0x54d736(0x302,0x481)+_0x54d736(0x295,0x2f2)+'..');try{const _0x25a117={};_0x25a117[_0x8643f1(0x23c,0x90)]=_0x54d736(0x18d,-0x44)+'it',execSync(_0x54d736(0x120,0x186)+_0x54d736(0x2f5,0x1de)+_0x54d736(0x249,0x198)+'rt\x20--'+_0x8643f1(-0x20b,-0x14)+'h',_0x25a117);}catch{console['log'](_0x8643f1(0x8,-0xc6)+_0x54d736(0x38d,0x205)+_0x54d736(0x3f1,0x444)+_0x54d736(0x458,0x4c8)+'d.\x20St'+_0x8643f1(0xdb,0xe4)+'anual'+_0x8643f1(-0x17d,-0x9e)+_0x8643f1(-0x21c,-0x127)+_0x8643f1(0x260,0x11f)+'-chat'+_0x54d736(0x433,0x5b0)+'t');}}process[_0x8643f1(0x68,0x170)](-0x1d50+-0x8b6+-0x1f*-0x13a);}if(command===_0x54d736(0x3a9,0x421)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x54d736(0x104,0x2e6)]()-state['start'+'edAt']);console[_0x54d736(0x178,-0x4f)](_0x54d736(0x421,0x3d3)+'ink\x20i'+_0x54d736(0xcb,-0xb9)+_0x54d736(0x445,0x4be)+'(watc'+'hdog\x20'+_0x54d736(0x8d,-0x93)),console[_0x8643f1(-0x1b5,-0x147)](_0x54d736(0x1be,0x2e6)+'chdog'+_0x54d736(0x2f1,0x1d0)+'\x20'+watchdogPid);if(state[_0x54d736(0x1f0,0x23c)+_0x8643f1(-0x49,-0x1bf)])console['log'](_0x54d736(0xaf,-0x22)+_0x8643f1(-0x22c,-0x244)+'ID:\x20\x20'+'\x20'+state['serve'+'rPid']);console[_0x8643f1(0x30,-0x147)](_0x8643f1(0x1dd,0xcc)+_0x54d736(0x436,0x261)+_0x8643f1(-0x258,-0xfc)+'\x20'+uptime),console['log'](_0x8643f1(0x34,-0x7e)+'tarts'+_0x8643f1(-0x2e9,-0x21d)+'\x20'+(state[_0x8643f1(-0x39c,-0x1dc)+_0x8643f1(-0xba,-0x1d1)+'nt']||0x689+0x6c1+-0xd4a));if(state['backo'+'ffMs']>0x207f+0x1*-0x1f81+0x2ea)console[_0x54d736(0x178,0x5d)](_0x54d736(0x199,0x1cf)+_0x54d736(0x338,0x42b)+'\x20\x20\x20\x20\x20'+'\x20'+state[_0x54d736(0x2fb,0x23f)+_0x8643f1(-0x37,-0x1f2)]+'ms');}else{const pid=getPid();pid?console[_0x8643f1(-0xc7,-0x147)]('⬡\x20Upl'+'ink\x20i'+_0x8643f1(-0x3,-0x1f4)+_0x8643f1(0x12d,0x186)+'(PID\x20'+pid+').'):console[_0x8643f1(-0x103,-0x147)](_0x8643f1(0x256,0x162)+'ink\x20i'+_0x8643f1(-0xbb,0x69)+'\x20runn'+_0x8643f1(-0x147,-0x72));}process[_0x8643f1(0x14b,0x170)](0x150a+0x25f0+0x2*-0x1d7d);}if(command===_0x54d736(0x413,0x558)+_0x8643f1(0x1fc,0xfd)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x54d736(0x234,0x90)+'ge.js'+'on')),readline=await import('readl'+_0x54d736(0x2b0,0x2ec)),{rmSync}=await import('fs');console[_0x54d736(0x178,0x2ba)](_0x8643f1(-0x41,-0x1d5)+'Uplin'+_0x8643f1(-0x166,-0x190)+_0x54d736(0x2af,0xc0)+_0x8643f1(-0xa3,0x139)+pkg[_0x8643f1(0x49,-0x130)+'on']+'\x0a'),console[_0x54d736(0x178,0x13f)](_0x8643f1(0x16c,0x173)+_0x54d736(0x33c,0x188)+'l:'),console['log'](_0x54d736(0x2f2,0x372)+_0x8643f1(-0xdd,-0x124)+_0x54d736(0x15e,0x2ae)+_0x8643f1(-0x6c,-0xb1)+_0x8643f1(0x162,0x15e)+'ver\x20a'+_0x54d736(0x348,0x386)+_0x8643f1(-0x285,-0x1e1)+'g'),console[_0x54d736(0x178,0x348)](_0x54d736(0x2f2,0x329)+_0x8643f1(-0x278,-0xc4)+_0x54d736(0x466,0x392)+_0x54d736(0x215,0x8b)+_0x54d736(0x28e,0x449)+_0x8643f1(0x1a1,0x165)+_0x8643f1(0x14c,0x73)+_0x54d736(0xa5,-0x3d)+_0x8643f1(0xa5,0x62)+_0x54d736(0x391,0x3b6)+')'),console[_0x8643f1(-0x169,-0x147)](_0x8643f1(0x155,0x33)+_0x54d736(0x1fb,0x2e2)+_0x8643f1(0x2aa,0x1a7)+_0x8643f1(0x20c,0x80)+'oads\x20'+_0x8643f1(-0xe7,-0x105)+'ached'+'\x20data'),console[_0x8643f1(-0x12f,-0x147)]('\x20\x20\x20\x20•'+_0x8643f1(0x59,-0xc4)+_0x54d736(0x466,0x462)+_0x54d736(0x43f,0x36d)+_0x8643f1(0x8b,-0x25)+'\x20PID\x20'+_0x54d736(0x391,0x465)),console[_0x54d736(0x178,-0x9)](_0x8643f1(0x83,0x33)+_0x8643f1(0x4d,-0xc4)+_0x8643f1(0x22,-0xad)+_0x54d736(0x2f0,0x472)+'vatar'+_0x8643f1(0x125,-0x25)+_0x8643f1(0x6d,0x197)+_0x54d736(0x382,0x342)+'es'),console[_0x8643f1(0x5a,-0x147)](_0x54d736(0x2f2,0x29a)+_0x8643f1(-0x85,-0x103)+_0x8643f1(0x1a5,0x1a1)+_0x54d736(0x15e,0x27c)+'npm\x20p'+'ackag'+_0x8643f1(0x158,0xab)+_0x8643f1(0xa6,-0x79)+'\x0a'),console[_0x8643f1(-0x1f1,-0x147)](_0x8643f1(-0x4,0xad)+_0x8643f1(0x64,0xdc)+_0x54d736(0x16d,0x28e)+'n\x20can'+_0x8643f1(-0x289,-0xe2)+_0x8643f1(0x25,0x9d)+_0x8643f1(-0x203,-0x15e));const _0x16dd8e={};_0x16dd8e['input']=process['stdin'],_0x16dd8e[_0x8643f1(0x11f,0x81)+'t']=process[_0x54d736(0x286,0x284)+'t'];const rl=readline[_0x54d736(0x3fb,0x26a)+'eInte'+_0x8643f1(-0x6c,-0x1d7)](_0x16dd8e),answer=await new Promise(_0x47b65a=>{function _0x4ec6ef(_0x4a98ca,_0x3dfa20){return _0x8643f1(_0x4a98ca,_0x3dfa20-0x16a);}function _0x4f6d30(_0x35dc76,_0x66a70e){return _0x8643f1(_0x66a70e,_0x35dc76-0x61d);}const _0x78731b={};_0x78731b[_0x4ec6ef(0x214,0x23e)]=_0x4ec6ef(0x2dd,0x312)+'e\x20\x22un'+_0x4f6d30(0x668,0x524)+_0x4f6d30(0x4d0,0x4e6)+_0x4ec6ef(0x231,0xc5)+_0x4ec6ef(0x32a,0x1b7)+'\x20';const _0x5924b2=_0x78731b;rl[_0x4ec6ef(0x404,0x21f)+_0x4f6d30(0x523,0x3a9)](_0x5924b2['eJiwM'],_0x47b65a);});rl[_0x8643f1(0x2dc,0x106)]();answer['trim']()['toLow'+'erCas'+'e']()!==_0x8643f1(0x2d9,0x154)+_0x54d736(0x3bc,0x23c)&&(console[_0x8643f1(-0x232,-0x147)](_0x8643f1(0x2ff,0x15f)+'ncell'+_0x8643f1(0xe8,0x14c)+_0x8643f1(0x2b6,0x107)+_0x8643f1(-0x219,-0x40)+'\x20remo'+_0x54d736(0x2c3,0x451)),process['exit'](0x2504+-0x1*-0x847+-0x2d4b));console['log']('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x54d736(0x37b,0x1d6)](watchdogPid,'SIGTE'+'RM'),console[_0x54d736(0x178,-0x58)]('\x20\x20✓\x20S'+'toppe'+_0x8643f1(0x2c,-0x1b1)+_0x8643f1(-0x39e,-0x22a)+_0x8643f1(-0x5,0x9f)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x8643f1(0x216,0xbc)](serverPid,_0x8643f1(-0x1e4,-0xfd)+'RM'),console['log'](_0x54d736(0x297,0x405)+'toppe'+_0x54d736(0x40a,0x56b)+_0x8643f1(-0x72,-0xf0)+_0x54d736(0x1f1,0x2cb)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console['log'](_0x8643f1(-0xa4,-0x28)+_0x54d736(0xa3,0x20)+_0x8643f1(-0x3af,-0x1fe)+_0x54d736(0x124,0x51)+'ng');const legacyToRemove=[_0x54d736(0xc2,0x80),_0x8643f1(0xb4,0x9e)+'g.jso'+'n',_0x54d736(0x1e6,0x321)+'nk.pi'+'d',_0x8643f1(-0x289,-0xd9)+'nk-wa'+'tchdo'+_0x8643f1(0x10a,-0x8),_0x8643f1(-0x206,-0xd9)+_0x54d736(0x203,0x97)+'tchdo'+_0x8643f1(-0x41e,-0x23f)+'n',_0x8643f1(0xf7,-0xd9)+'nk-wa'+_0x8643f1(-0x220,-0x1e1)+_0x8643f1(0x309,0x189),_0x54d736(0x1e6,0x36d)+'nk-se'+_0x54d736(0x1f5,0x93)+_0x8643f1(-0x163,-0x147),_0x54d736(0x190,0x3f)+_0x8643f1(-0xc2,-0x18a)+'son',_0x54d736(0x26f,0x29d)+_0x54d736(0x39d,0x39c)+_0x54d736(0x2a9,0x163)+'son',_0x8643f1(-0x19c,-0x22e)+_0x54d736(0xae,0x282)+_0x8643f1(0x1,-0x47)+'ons.j'+_0x8643f1(-0x112,-0x213),_0x8643f1(-0x2a8,-0x1ac)+_0x8643f1(-0x161,-0x11b)+_0x8643f1(0x160,0x15c)+_0x54d736(0x9a,0x285),_0x8643f1(-0x142,0x6e)+'ds',_0x54d736(0x40d,0x27c)+'data',_0x8643f1(0x191,-0x7)+_0x54d736(0x3a2,0x31a)+'io',_0x54d736(0x2b8,0x3da)+_0x8643f1(-0x4a,-0x149)+'/agen'+'ts'];let removed=-0x1c81*0x1+0x163*-0x7+0x2636;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x315e8c={};_0x315e8c[_0x8643f1(-0x69,-0x16e)+_0x8643f1(0xad,0x5)]=!![],_0x315e8c[_0x8643f1(-0x140,-0x23b)]=!![],rmSync(fullPath,_0x315e8c),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x11ec9d={};_0x11ec9d[_0x54d736(0x151,0x28f)+_0x8643f1(-0x18e,0x5)]=!![],_0x11ec9d[_0x54d736(0x84,0x1d2)]=!![],rmSync(DATA_DIR,_0x11ec9d),removed++,console[_0x8643f1(-0x2eb,-0x147)](_0x8643f1(-0x345,-0x241)+_0x54d736(0x13b,0x3a)+_0x8643f1(-0x2,-0x141)+'a\x20dir'+_0x54d736(0x235,0x69)+_0x8643f1(-0xf,-0x17)+DATA_DIR);}catch{}console['log']('\x20\x20✓\x20R'+_0x54d736(0x13b,0x2c5)+'d\x20'+removed+(_0x54d736(0x44d,0x360)+'\x20file'+_0x54d736(0xe7,0x232)+_0x8643f1(0x160,-0x8a)+_0x8643f1(-0x1ba,0x3f))),console[_0x54d736(0x178,0x70)](_0x54d736(0x7e,-0xdd)+_0x8643f1(-0x126,-0x53)+_0x54d736(0x2d5,0x15d)+'m\x20pac'+_0x8643f1(-0xe0,-0x231)+_0x8643f1(-0x13b,-0x23d));try{const _0x4dda0b={};_0x4dda0b[_0x8643f1(0x13b,0x90)]=_0x8643f1(0x5c,-0x132)+'it',execSync(_0x54d736(0x394,0x35b)+'ninst'+'all\x20-'+_0x54d736(0x364,0x3f2)+_0x54d736(0x262,0x1d2)+'pany/'+_0x54d736(0x120,0x289)+'k-cha'+'t',_0x4dda0b),console['log']('\x0a\x20\x20⬡\x20'+_0x54d736(0x20e,0x401)+_0x8643f1(0x2e1,0x1a9)+_0x54d736(0x2a5,0x488)+_0x8643f1(-0x1ab,-0xd)+_0x8643f1(0x50,-0x2c)+_0x54d736(0x429,0x405)+_0x54d736(0x2af,0x3aa)+'led.'),console['log'](_0x8643f1(0xaa,0xa0)+_0x8643f1(0x14b,-0x9c)+_0x8643f1(0x9d,0x181)+_0x54d736(0x10c,0x88)+_0x54d736(0x3de,0x334)+_0x54d736(0x350,0x1cd));}catch(_0x23b3be){console[_0x54d736(0x314,0x3c6)](_0x8643f1(-0x269,-0x8f)+_0x8643f1(0x76,0xf9)+'ed\x20to'+_0x54d736(0x2e3,0x4bb)+'stall'+_0x54d736(0x2d3,0x1bb)+_0x8643f1(0x78,-0x8b)+_0x8643f1(-0x244,-0x1f3)),console[_0x8643f1(-0x45,0x55)](_0x54d736(0x2cf,0x49b)+_0x8643f1(-0x10c,-0x64)+_0x54d736(0x367,0x29b)+'\x20npm\x20'+_0x8643f1(0xd1,0x154)+_0x8643f1(-0x344,-0x20a)+'-g\x20@m'+'oonco'+_0x8643f1(0x13c,0xf)+_0x54d736(0x2a3,0x2fb)+_0x54d736(0x2eb,0x32e)+_0x54d736(0x232,0x271)),process['exit'](0x654+-0x1a2b+0x13d8);}process[_0x8643f1(0x8a,0x170)](0x19c*-0xf+0x2*0xb45+0x19a);}if(command===_0x54d736(0x18e,0x355)){const LOG_FILE=join(ROOT,'serve'+_0x8643f1(0x63,-0x84)),ALT_LOG_FILE=join(ROOT,_0x8643f1(-0x19b,-0xd9)+_0x8643f1(-0x116,0x70)+_0x54d736(0x1f5,0x3ec)+'log'),DATA_LOG_FILE=join(DATA_DIR,_0x8643f1(-0x128,-0xd9)+_0x54d736(0x32f,0x4a6)+_0x54d736(0x1f5,0x3dd)+'log'),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x54d736(0x178,0x4f)](_0x8643f1(-0x296,-0x242)+'log\x20f'+_0x8643f1(0x129,-0x29)+_0x54d736(0x1cd,0x29b)),console[_0x8643f1(-0x245,-0x147)]('\x20\x20Exp'+'ected'+'\x20loca'+_0x54d736(0x14c,0x20a)+':'),console[_0x54d736(0x178,-0x6)](_0x8643f1(-0x1e7,-0xd0)+LOG_FILE),console[_0x54d736(0x178,0x1ca)](_0x54d736(0x1ef,0x30b)+ALT_LOG_FILE),console['log'](''),console[_0x54d736(0x178,0x30)](_0x54d736(0x3a7,0x494)+_0x8643f1(0x104,-0x6f)+_0x54d736(0x9e,0x141)+_0x8643f1(-0xe8,0x2a)+'hen\x20t'+_0x8643f1(-0x128,0xb7)+_0x8643f1(-0xe,0x15b)+_0x8643f1(0x65,-0x9)),console[_0x54d736(0x178,0x16b)](_0x8643f1(0xf5,0x108)+_0x54d736(0x2bf,0x1b5)+_0x8643f1(-0xfc,-0x1a7)+_0x54d736(0x446,0x365)+_0x54d736(0x15a,0x166)+_0x54d736(0x3c0,0x4ed)+_0x8643f1(0x1e5,0x2c)+'at\x20st'+_0x54d736(0x327,0x1f5)),process['exit'](-0xf89+0x15b*-0x1c+0x357e));const lines=flags[_0x54d736(0x128,0x297)]||-0x356+0x1056+0xb*-0x12a;try{const content=readFileSync(logFile,_0x8643f1(-0xae,-0x12a)),allLines=content[_0x54d736(0x137,0x34)]('\x0a'),tail=allLines[_0x8643f1(-0xc,0xec)](-lines)[_0x54d736(0x105,0x2cf)]('\x0a');console[_0x54d736(0x178,0x1b7)](_0x8643f1(-0x87,0xc9)+_0x54d736(0x380,0x507)+_0x8643f1(-0x37,0x10b)+lines+(_0x54d736(0x2ca,0x4a5)+_0x54d736(0x331,0x3dd)+'m\x20')+logFile+'\x0a'),console[_0x8643f1(-0x144,-0x147)](tail);}catch(_0x2b88b5){console['error'](_0x8643f1(0x75,-0x4b)+_0x54d736(0x8c,-0xa0)+_0x8643f1(0x50,0x7a)+_0x8643f1(-0x150,-0x13b)+'\x20file'+':\x20'+_0x2b88b5[_0x8643f1(-0x1e3,-0x50)+'ge']),process[_0x54d736(0x42f,0x288)](0x227c+0xd*-0xf7+0x1b0*-0xd);}console[_0x8643f1(-0x2f8,-0x147)](_0x54d736(0x431,0x622)+_0x54d736(0x1e1,0x1e8)+_0x54d736(0x30e,0x27b)+_0x8643f1(-0x112,-0x217)+_0x54d736(0x28a,0x15d)+_0x8643f1(0x1a1,0xfe)+_0x8643f1(-0x1ba,-0x13a)+_0x8643f1(-0x13b,-0x13)+_0x8643f1(-0x148,-0x9f)+_0x8643f1(0x248,0x175)+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x54d736(0x108,-0xe6)];const watcher=fsModule[_0x8643f1(0x2e3,0x153)](logFile,()=>{function _0x45a8f7(_0x35bedf,_0x474568){return _0x8643f1(_0x474568,_0x35bedf-0xc5);}function _0x28154a(_0x171fb9,_0x416e6b){return _0x8643f1(_0x416e6b,_0x171fb9-0x160);}const _0x470c61={'duxxy':function(_0x526284,_0x48b203,_0xdb59d6){return _0x526284(_0x48b203,_0xdb59d6);},'cfdol':_0x45a8f7(-0xda,0xa0)+_0x28154a(0x196,0x9d)+_0x45a8f7(0x4f,-0xb6)+_0x28154a(0x1d5,0x171)+_0x28154a(0x14c,0x137)+'h','mzoMz':function(_0x2de1c1,_0x426331){return _0x2de1c1>_0x426331;},'obvjE':_0x28154a(0x36,0xc6),'eJXtU':function(_0x3a5c2a,_0x532c89){return _0x3a5c2a===_0x532c89;},'AWVew':'nYpmn'};try{const _0x247d6b=fsModule[_0x28154a(0x97,0x12a)+_0x45a8f7(0x10d,0x2cf)](logFile,'r'),_0x3bc09f=fsModule[_0x28154a(0x122,0xdb)+_0x45a8f7(-0x103,-0xa9)](_0x247d6b)[_0x28154a(-0x57,0xc4)];if(_0x470c61[_0x45a8f7(0xd1,0x1c5)](_0x3bc09f,position)){const _0x53c82a=Buffer['alloc'](_0x3bc09f-position);fsModule['readS'+_0x45a8f7(0x10d,-0xdb)](_0x247d6b,_0x53c82a,0xe13*-0x1+-0x23b5+-0x1*-0x31c8,_0x53c82a[_0x28154a(0x290,0x34e)+'h'],position),process[_0x45a8f7(0x8c,0xd2)+'t'][_0x45a8f7(-0x156,-0x92)](_0x53c82a[_0x45a8f7(0x44,-0x59)+_0x28154a(0x1c0,0x26e)](_0x470c61[_0x45a8f7(0x1a2,-0xe)])),position=_0x3bc09f;}else{if(_0x3bc09f<position){if(_0x470c61[_0x28154a(-0x20,0x146)](_0x45a8f7(0x1e2,-0xf),_0x470c61[_0x28154a(0x2ad,0xda)]))position=-0x1161*-0x1+0x264b+-0x1bd6*0x2;else{const _0x9f6a4e={};_0x9f6a4e[_0x45a8f7(0x155,0x233)]=_0x28154a(0x2e,-0x1a1)+'it',lguwfo[_0x28154a(0xf4,0x13c)](_0x4f12b6,lguwfo['cfdol'],_0x9f6a4e);}}}fsModule[_0x45a8f7(0x1cb,0x26a)+_0x45a8f7(-0x103,-0x13a)](_0x247d6b);}catch{}});process['on'](_0x54d736(0x2ff,0x20c)+'T',()=>{watcher['close'](),process['exit'](0x654*0x2+-0x1*0x2564+-0x4*-0x62f);}),process['on'](_0x8643f1(-0x2ef,-0xfd)+'RM',()=>{function _0xb0439d(_0x37070a,_0x204c72){return _0x54d736(_0x204c72-0x54,_0x37070a);}function _0x21bdf9(_0x2effbe,_0x292c7a){return _0x54d736(_0x2effbe-0x8a,_0x292c7a);}watcher[_0x21bdf9(0x44f,0x261)](),process[_0xb0439d(0x4ee,0x483)](0x8*-0x469+-0x1*0x7+0x234f);});}function _0x8643f1(_0xe2f9b6,_0x1dd757){return _0x1d2a(_0x1dd757- -0x2cf,_0xe2f9b6);}if(command===_0x54d736(0x35d,0x34e)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x54d736(0xc2,0x95)))?join(DATA_DIR,_0x54d736(0xc2,0x1d8)):join(ROOT,'.env');flags[_0x54d736(0x264,0x310)]&&(console[_0x54d736(0x178,0x2ea)](ENV_FILE),process[_0x54d736(0x42f,0x258)](0x20bc+0x41b*0x5+-0x3543));if(flags[_0x54d736(0x1a2,0x16c)]){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x54d736(0x17b,0x15)+_0x8643f1(-0x99,-0x85)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x8643f1(-0x300,-0x12a))),console[_0x8643f1(0x5e,-0x147)](_0x54d736(0x162,0x13d)+_0x54d736(0x92,-0xf3)+_0x8643f1(0x48,0x8d)+_0x54d736(0x164,0x86)+_0x54d736(0x17b,0xb8)+_0x8643f1(-0x178,-0x85)+'le')):(writeFileSync(ENV_FILE,_0x8643f1(0x111,0xbb)+'ink\x20C'+'onfig'+_0x8643f1(-0x2cb,-0x12b)+_0x54d736(0x231,0x417)),console['log'](_0x8643f1(-0xa5,-0x15d)+_0x8643f1(-0xef,-0x22d)+'empty'+'\x20.env'+'\x20file'));}const editor=process.env.EDITOR||(process[_0x54d736(0x24c,0x247)+_0x54d736(0x25c,0xe8)]===_0x54d736(0x345,0x3a3)?_0x8643f1(-0xf6,0x85)+'ad':_0x54d736(0x373,0x3f0));console['log'](_0x54d736(0x268,0x2df)+'ning\x20'+ENV_FILE+_0x8643f1(0x59,-0x125)+editor+_0x54d736(0x3d4,0x408));try{const _0x182b84={};_0x182b84[_0x54d736(0x34f,0x430)]=_0x54d736(0x18d,0x44)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x182b84);}catch(_0x5e930a){console[_0x54d736(0x314,0x1ac)](_0x8643f1(-0x115,-0x4b)+_0x54d736(0x8c,-0x105)+_0x54d736(0x369,0x520)+_0x54d736(0x1bd,0xd4)+'tor:\x20'+_0x5e930a[_0x54d736(0x26f,0x39f)+'ge']),console['error']('\x20\x20Set'+'\x20EDIT'+_0x54d736(0x106,-0x8a)+_0x54d736(0x14a,0x207)+_0x8643f1(0x137,-0x36)+_0x8643f1(-0x1d0,-0x104)+_0x54d736(0xba,0x1bc)+_0x54d736(0x405,0x2ff)+ENV_FILE),process[_0x8643f1(0x1b4,0x170)](0x2153+0x28d+-0x23df);}process['exit'](0x9b5+-0x1*-0xbc3+-0x394*0x6);}!existsSync(ENV_FILE)&&(console['log'](_0x8643f1(-0x1ad,-0x242)+_0x8643f1(-0xe9,0x8d)+_0x54d736(0x402,0x5aa)+_0x8643f1(0x2f3,0x166)+'.'),console[_0x54d736(0x178,0x133)](_0x8643f1(-0x80,-0xe7)+'ate\x20o'+_0x54d736(0x22e,0x134)+_0x8643f1(0xc9,-0x127)+'plink'+_0x54d736(0xbd,0xb8)+_0x54d736(0x3d2,0x4ce)+_0x54d736(0x101,0x2b7)+_0x8643f1(-0x171,-0x11d)),console[_0x54d736(0x178,0x186)]('\x20\x20Or\x20'+_0x54d736(0x39a,0x36e)+_0x54d736(0x3ad,0x3d0)+_0x54d736(0x1b1,0x23d)+'e:\x20cp'+'\x20.env'+'.exam'+_0x54d736(0x1f8,0x1c9)+_0x54d736(0x2e7,0x25f)),process[_0x54d736(0x42f,0x52b)](-0x17eb+-0x32c+0x1*0x1b18));const SENSITIVE_KEYS=[_0x54d736(0x342,0x2b1),_0x8643f1(0x21b,0x97),'SECRE'+'T',_0x54d736(0x206,0x163)+_0x54d736(0x2b5,0x19a),'CREDE'+_0x8643f1(0x37d,0x1a6)];function maskValue(_0x2994c2,_0x596628){const _0x571854={};_0x571854[_0x50af81(-0x15c,-0x1a)]=function(_0x29efca,_0x4e0523){return _0x29efca||_0x4e0523;},_0x571854['wImKC']=function(_0x5b32e5,_0x3b52c1){return _0x5b32e5<=_0x3b52c1;};function _0x50af81(_0x51507f,_0x4e764e){return _0x8643f1(_0x4e764e,_0x51507f-0x88);}_0x571854[_0x55c5af(-0x1a3,0x39)]=function(_0x9f0dd5,_0x1e1026){return _0x9f0dd5+_0x1e1026;},_0x571854[_0x50af81(0x182,0x1d8)]=_0x50af81(-0x17f,-0x2bd);const _0x4376cc=_0x571854,_0x17c7b7=SENSITIVE_KEYS[_0x55c5af(-0xf1,-0x108)](_0x57604b=>_0x2994c2[_0x50af81(0x227,0x384)+'erCas'+'e']()[_0x50af81(0x1ec,0x21f)+_0x50af81(0x1b2,0x37)](_0x57604b));if(_0x4376cc[_0x55c5af(-0x232,-0x417)](!_0x17c7b7,!_0x596628)||_0x4376cc['wImKC'](_0x596628['lengt'+'h'],0x695+-0x1*0x2542+-0x369*-0x9))return _0x596628;function _0x55c5af(_0x3fb189,_0x33cb30){return _0x8643f1(_0x33cb30,_0x3fb189- -0x4e);}return _0x4376cc[_0x50af81(-0xcd,-0x67)](_0x596628[_0x55c5af(0x9e,-0x13c)](-0x870+0x1*-0x135f+-0x3*-0x945,0x1ab7*-0x1+0x1596+0x525),_0x4376cc[_0x50af81(0x182,0x155)]);}try{const content=readFileSync(ENV_FILE,_0x54d736(0x195,0x34b)),entries=[];for(const line of content[_0x8643f1(-0x1b,-0x188)]('\x0a')){const trimmed=line[_0x54d736(0x23d,0x333)]();if(!trimmed||trimmed[_0x8643f1(0x22e,0x168)+_0x8643f1(0xb6,-0xf1)]('#'))continue;const eqIdx=trimmed[_0x54d736(0x131,-0x1e)+'Of']('=');if(eqIdx===-(0x1*-0x1b31+0x1*0x131+0x1a01))continue;const key=trimmed[_0x8643f1(0x1f8,0xec)](-0x68*0x1+-0x1aad+-0x3*-0x907,eqIdx)[_0x54d736(0x23d,0x135)](),val=trimmed[_0x8643f1(0x138,0xec)](eqIdx+(0x8f9+-0x885+0x1*-0x73))[_0x8643f1(-0x8d,-0x82)]();entries[_0x54d736(0x255,0x41f)]([key,val]);}entries[_0x8643f1(0x291,0x130)+'h']===-0xaf9+-0x39c+0xe95&&(console[_0x54d736(0x178,0x1c3)](_0x8643f1(-0x1da,0x7)+_0x8643f1(-0x20b,-0x151)+_0x54d736(0x379,0x1f9)+_0x8643f1(-0x1f4,-0x99)+_0x54d736(0x45f,0x2b4)+':\x20upl'+_0x54d736(0x30f,0x22d)+_0x54d736(0x3dd,0x3e9)+_0x8643f1(-0x1ad,-0x22f)+_0x8643f1(-0x1b,-0x1f5)+'it'),process[_0x8643f1(0x171,0x170)](-0x1dcc+0x30c+-0xd60*-0x2));const maxKeyLen=Math[_0x54d736(0x1b0,0x2e)](...entries[_0x54d736(0x196,0x17f)](([_0x1f5118])=>_0x1f5118['lengt'+'h']));console[_0x54d736(0x178,0x1a7)](_0x8643f1(-0x24f,-0x1d5)+_0x8643f1(0x42,-0xb1)+_0x54d736(0x3f2,0x2b9)+_0x54d736(0x28e,0x27e)+'ation'+'\x0a'),console[_0x8643f1(-0x1ae,-0x147)]('\x20\x20'+_0x8643f1(-0x395,-0x20b)[_0x54d736(0x42c,0x46c)+'d'](maxKeyLen+(-0xd*0x12b+0x25df+-0x16ae))+_0x54d736(0x2fa,0x1de)),console[_0x8643f1(-0x9e,-0x147)]('\x20\x20'+'─'['repea'+'t'](maxKeyLen+(-0x108f*0x2+-0x1eb9+0x3fd9))+'─'[_0x54d736(0x366,0x3f2)+'t'](-0xe2*-0x1f+-0x2b*-0xe3+-0x2b*0x185));for(const [key,val]of entries){const display=val?maskValue(key,val):'\x1b[90m'+_0x54d736(0x2f8,0x18e)+_0x8643f1(-0x172,-0x32)+'m';console['log']('\x20\x20'+key[_0x8643f1(-0xa,0x16d)+'d'](maxKeyLen+(0xa1*-0x35+0x1127+0x4a*0x38))+display);}console['log'](_0x8643f1(-0x112,-0x1b6)+'th:\x20'+ENV_FILE+'\x0a');}catch(_0x3ef0e0){console[_0x8643f1(-0x7e,0x55)](_0x8643f1(-0xbf,-0x4b)+'led\x20t'+'o\x20rea'+_0x54d736(0x31d,0x3df)+'v:\x20'+_0x3ef0e0[_0x8643f1(-0x1a5,-0x50)+'ge']),process[_0x54d736(0x42f,0x5a8)](-0x1*-0xeb9+-0x6dd*-0x1+-0x1595);}process['exit'](-0x1*0x2588+-0x228b+0x4813);}if(command===_0x8643f1(-0xf2,-0x24)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x8643f1(0xa8,-0x8b)+_0x8643f1(0x83,0xb3)+'on'));console['log'](_0x54d736(0xea,0x40)+_0x54d736(0x20e,0x251)+_0x8643f1(-0x14c,-0xd7)+_0x8643f1(0x1c3,0x11c)+'\x20v'+pkg[_0x54d736(0x18f,0xce)+'on']+'\x0a');const results=[];function pass(_0x2656d8,_0x2b0dcc){const _0x44ebc5={};function _0x5d3faf(_0x14fddc,_0x5bd286){return _0x54d736(_0x5bd286- -0x353,_0x14fddc);}_0x44ebc5[_0x5d3faf(0x15e,0x56)+'s']=_0x217782(0x3ca,0x1dd);function _0x217782(_0x237f0f,_0x11b80f){return _0x54d736(_0x11b80f-0x11e,_0x237f0f);}_0x44ebc5['label']=_0x2656d8,_0x44ebc5['detai'+'l']=_0x2b0dcc,results['push'](_0x44ebc5);}function fail(_0x254ee7,_0x4c612e){function _0xfbf0cd(_0x51b86e,_0x407a6a){return _0x54d736(_0x407a6a- -0x155,_0x51b86e);}function _0x298944(_0x499312,_0x576403){return _0x54d736(_0x499312-0x207,_0x576403);}const _0x2655b={};_0x2655b[_0xfbf0cd(0x30,-0x1f)]=_0xfbf0cd(0x8d,0x26e);const _0x9c22b5=_0x2655b,_0x4f1548={};_0x4f1548[_0x298944(0x5b0,0x41e)+'s']=_0x9c22b5[_0x298944(0x33d,0x270)],_0x4f1548[_0x298944(0x56c,0x41a)]=_0x254ee7,_0x4f1548[_0xfbf0cd(-0x89,0xab)+'l']=_0x4c612e,results['push'](_0x4f1548);}function warn(_0x1ed398,_0x574f3e){function _0x499bac(_0x21725d,_0x1b423e){return _0x54d736(_0x1b423e-0x5b,_0x21725d);}const _0x3bf963={};_0x3bf963[_0x499bac(0x111,0x18d)]=_0x44b7d9(-0x1a4,-0x2a2);const _0x314d6a=_0x3bf963,_0x552532={};_0x552532['statu'+'s']=_0x314d6a[_0x44b7d9(-0x152,-0x36)],_0x552532[_0x44b7d9(0xe1,0x1be)]=_0x1ed398,_0x552532[_0x44b7d9(-0x84,0xb7)+'l']=_0x574f3e;function _0x44b7d9(_0x253b90,_0x503685){return _0x54d736(_0x253b90- -0x284,_0x503685);}results[_0x44b7d9(-0x2f,0xb1)](_0x552532);}const nodeVer=process['versi'+_0x8643f1(-0x15b,-0x1b2)][_0x8643f1(-0x213,-0x3f)],nodeMajor=parseInt(nodeVer[_0x54d736(0x137,0x219)]('.')[-0x1*0xcbb+0x9*-0x24f+0x1*0x2182],-0x5*-0x377+-0x255d*0x1+0x1414);nodeMajor>=-0x5c9+-0x1fc3+0xc8a*0x3?pass('Node.'+'js\x20ve'+'rsion','v'+nodeVer+(_0x54d736(0x1b4,0x28d)+_0x8643f1(-0x252,-0xf8)+_0x8643f1(-0x11f,-0x228)+'d)')):fail(_0x54d736(0x2a2,0x2aa)+_0x54d736(0x29f,0x268)+'rsion','v'+nodeVer+(_0x8643f1(-0x79,-0x7a)+_0x8643f1(-0x18d,-0x1fc)+_0x54d736(0x451,0x599)+_0x54d736(0x1fa,0x165)+'requi'+_0x8643f1(-0x188,-0xb6)));const ENV_FILE=existsSync(join(DATA_DIR,_0x54d736(0xc2,0x57)))?join(DATA_DIR,'.env'):join(ROOT,_0x54d736(0xc2,0x3));let envPort=-0x20ff+-0x158e+0x1*0x440d,envGatewayUrl='http:'+_0x8643f1(0x350,0x16f)+_0x54d736(0x28b,0x1c7)+_0x8643f1(-0x2ba,-0xe8)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,'utf8');for(const line of content[_0x8643f1(-0x200,-0x188)]('\x0a')){const t=line['trim']();if(!t||t[_0x8643f1(0x120,0x168)+_0x54d736(0x1ce,0x233)]('#'))continue;const eqIdx=t['index'+'Of']('=');if(eqIdx===-(0x9*-0x3df+0xb41+-0x29f*-0x9))continue;const k=t[_0x54d736(0x3ab,0x4e3)](-0x2*-0x925+-0x2*-0x77d+-0x2144*0x1,eqIdx)[_0x54d736(0x23d,0x11f)](),v=t[_0x54d736(0x3ab,0x2b8)](eqIdx+(0x114f+0x1926+-0x2a74))[_0x8643f1(0xf0,-0x82)]();if(k===_0x8643f1(-0x193,-0x2f))envPort=parseInt(v,0x1f0+-0x1d*0xe9+0x187f)||0xe3a+-0xb6a+-0x90*-0x13;if(k===_0x8643f1(-0x25a,-0x9d)+_0x54d736(0x1cb,0x260)+'L')envGatewayUrl=v;if(k===_0x54d736(0x222,0x21f)+_0x54d736(0xfd,0x48)+_0x8643f1(-0x15,0x5d))envGatewayToken=v;if(k===_0x54d736(0x2f3,0x174)+_0x54d736(0x20b,0x369)+'_KEY')envOpenAIKey=v;if(k===_0x54d736(0x38f,0x536)+'NLABS'+_0x54d736(0x205,0x136)+_0x8643f1(-0x52,0x97))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x51761a=>{const _0x504ca2={'AWeFI':function(_0x2d603c,_0x599104,_0xa8dfcf){return _0x2d603c(_0x599104,_0xa8dfcf);},'xeAOX':function(_0xce8091,_0x38bab6){return _0xce8091+_0x38bab6;},'JqrYU':_0x17fdd0(-0x10f,-0x2c3)+_0x2f5335(0x3f,0x168)+_0x17fdd0(0x69,-0xb5)+'k','mENMo':function(_0x4fd046,_0x37f14b){return _0x4fd046+_0x37f14b;},'ZwaEX':_0x2f5335(0x3ae,0x2ca),'TwUbC':_0x2f5335(0xd,0x30)+_0x2f5335(0x3f,-0x77)+_0x2f5335(0x13,0x145)+_0x17fdd0(-0x89,-0x10b)+'ocess','dykna':function(_0x3eecc6,_0x2c9278){return _0x3eecc6===_0x2c9278;},'tCEXR':_0x17fdd0(-0x6d,0x9c),'URtAq':_0x2f5335(0x196,-0x55),'bGjbN':function(_0x5beadb,_0xb72c5e){return _0x5beadb===_0xb72c5e;},'KFYDn':function(_0x5051ee,_0x4eaec8){return _0x5051ee(_0x4eaec8);},'WkGau':function(_0x59a854,_0xc92017){return _0x59a854(_0xc92017);},'tbbFx':_0x17fdd0(0x2c2,0x4a3)+'e\x20\x22un'+_0x2f5335(0x281,0x1ca)+_0x2f5335(0xe9,0x288)+'o\x20con'+_0x17fdd0(0x167,0x28e)+'\x20','wiIWZ':_0x17fdd0(0x31,0x24),'xZYPM':_0x17fdd0(0x1f2,0x33f),'rAaEe':function(_0x51f397,_0x3c1581){return _0x51f397(_0x3c1581);},'EisIB':_0x17fdd0(0x16f,0x9b),'fsphV':'liste'+_0x2f5335(0x307,0x4de),'iPtHj':_0x2f5335(0x15a,0x2c6)+_0x17fdd0(0x1e2,0x3b0)};function _0x2f5335(_0x201788,_0x123e24){return _0x54d736(_0x201788- -0x89,_0x123e24);}function _0x17fdd0(_0x845456,_0x2c0396){return _0x54d736(_0x845456- -0x1a5,_0x2c0396);}const _0xcf29d7=_0x3fdfe2[_0x2f5335(0x372,0x525)+_0x17fdd0(-0x26,0x11e)+'er']();_0xcf29d7[_0x17fdd0(-0x10a,-0x5b)](_0x504ca2[_0x2f5335(0x37b,0x366)],_0x16d537=>{function _0x2b3341(_0x502c5d,_0xc081bb){return _0x2f5335(_0x502c5d- -0x140,_0xc081bb);}function _0x437044(_0x425c6b,_0x2323b4){return _0x2f5335(_0x2323b4- -0xb,_0x425c6b);}if(_0x504ca2[_0x2b3341(0x233,0x327)](_0x504ca2[_0x437044(0x22b,0x3c8)],_0x504ca2[_0x2b3341(-0xaf,-0x6b)]))_0x4bc760?_0x504ca2[_0x437044(0x204,0x36a)](_0x28ee51,_0x504ca2['xeAOX'](_0x2b3341(0x26e,0x36d),_0x1cc660),_0x504ca2[_0x2b3341(0x200,0x1ae)]):_0x32d799(_0x504ca2[_0x437044(-0x39,-0x11)](_0x504ca2['ZwaEX'],_0x1c8baa),_0x504ca2[_0x437044(0x22e,0xd3)]);else{if(_0x504ca2[_0x2b3341(0x25f,0x397)](_0x16d537[_0x437044(0x109,0x216)],_0x437044(0x26d,0x150)+_0x437044(0x12a,0x7b)))_0x504ca2[_0x2b3341(0x1dd,0x2da)](_0x51761a,![]);else _0x504ca2[_0x2b3341(0x1cd,0x1a2)](_0x51761a,!![]);}}),_0xcf29d7[_0x2f5335(0x12,0x15e)](_0x504ca2[_0x2f5335(0x5d,0x43)],()=>{function _0x1b9bc6(_0x30f7f1,_0x166490){return _0x2f5335(_0x30f7f1- -0x80,_0x166490);}function _0x41dbbc(_0x1098b2,_0xb15618){return _0x2f5335(_0x1098b2-0x273,_0xb15618);}_0x504ca2[_0x41dbbc(0x612,0x57f)](_0x504ca2[_0x41dbbc(0x2f1,0x257)],_0x504ca2[_0x1b9bc6(0x173,0x29a)])?_0x4a668a[_0x41dbbc(0x55e,0x736)+_0x1b9bc6(0xbc,-0x120)](LARrnF[_0x1b9bc6(0x30b,0x1df)],_0x100236):(_0xcf29d7['close'](),_0x504ca2[_0x1b9bc6(0x11f,-0x86)](_0x51761a,!![]));}),_0xcf29d7[_0x17fdd0(0xde,0x25)+'n'](envPort,_0x504ca2['iPtHj']);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x8643f1(0x211,0x178)+envPort,_0x54d736(0xd7,0x26b)+_0x54d736(0xda,0xaa)+_0x54d736(0x2de,0x160)+_0x54d736(0x2cd,0x1e4)+_0x8643f1(-0x257,-0x235)+'\x20via\x20'+_0x54d736(0x26b,0x123)+_0x54d736(0x103,0x161)):pass('Port\x20'+envPort,_0x54d736(0xd7,0x145)+_0x54d736(0x1fe,0xf4)):serverRunning?pass('Port\x20'+envPort,_0x54d736(0x96,-0x134)+'e\x20by\x20'+_0x54d736(0x20e,0x2ed)+'k'):fail(_0x8643f1(-0x48,0x178)+envPort,_0x8643f1(-0x25d,-0x229)+'e\x20by\x20'+_0x54d736(0x9c,0x257)+_0x54d736(0x11c,0x216)+_0x8643f1(-0x2e,-0x1d2));const gatewayReachable=await new Promise(_0x4d3687=>{const _0x365494={'tKwYC':function(_0x297a16,_0x4b71b1){return _0x297a16(_0x4b71b1);},'fuBYy':'kKwcU','FMrBz':_0x2f96e1(0xba,0x1ea),'WxRWe':function(_0x463749,_0x2dae34){return _0x463749(_0x2dae34);},'FqXVD':function(_0x26a35a,_0x2a325c){return _0x26a35a(_0x2a325c);},'RROvm':function(_0x4d47f9,_0x4da9b9,_0x331477){return _0x4d47f9(_0x4da9b9,_0x331477);},'nQhxE':_0x2d2cfb(0x3f0,0x353)+_0x2f96e1(0x1a7,0x2cc)+_0x2f96e1(0xfb,-0xdc)+'rt\x20--'+_0x2f96e1(0x15d,-0x4)+'h','XHzka':_0x2f96e1(0x3f,0x119)+'it','acMYh':function(_0xec06aa,_0x514d24){return _0xec06aa===_0x514d24;},'uuAPj':_0x2d2cfb(0x5aa,0x3b1),'eDVbX':'error','oWhsq':_0x2d2cfb(0x6ef,0x7ea)+'ut','xLVWv':function(_0x5c9baf,_0x55a7f7){return _0x5c9baf!==_0x55a7f7;},'ldhMR':_0x2d2cfb(0x5db,0x7a3),'Yhziq':function(_0x336377,_0xd82e8f){return _0x336377(_0xd82e8f);}};function _0x2d2cfb(_0x194e78,_0x1a198f){return _0x54d736(_0x194e78-0x2d0,_0x1a198f);}function _0x2f96e1(_0x2c70fd,_0x291a1d){return _0x54d736(_0x2c70fd- -0x14e,_0x291a1d);}try{if(_0x365494['acMYh'](_0x2d2cfb(0x4f4,0x6e3),_0x2f96e1(0x1ed,0x98)))_0x365494[_0x2d2cfb(0x598,0x491)](_0x33b5b6,![]);else{const _0x42e846=new URL(envGatewayUrl),_0x27c796={};_0x27c796[_0x2f96e1(0x91,0x197)+_0x2f96e1(0x166,0xd)]=_0x42e846['hostn'+'ame'],_0x27c796[_0x2d2cfb(0x413,0x35a)]=_0x42e846[_0x2d2cfb(0x413,0x3ad)]||-0x131b+0x1*-0xc2f+0x1f9a,_0x27c796[_0x2f96e1(0x116,0x1b2)]='/',_0x27c796[_0x2d2cfb(0x68e,0x657)+'d']=_0x365494['uuAPj'],_0x27c796[_0x2f96e1(0x2d1,0x481)+'ut']=0x1388;const _0x183c9e=_0x497eb7[_0x2f96e1(0x1c9,0x90)+'st'](_0x27c796,_0x428d00=>{function _0x290409(_0x52d895,_0x345292){return _0x2f96e1(_0x52d895- -0x22a,_0x345292);}function _0x93b71(_0x3e4c92,_0x40c685){return _0x2f96e1(_0x40c685-0x455,_0x3e4c92);}_0x365494[_0x290409(-0x1cb,-0x17f)]!==_0x365494['FMrBz']?(_0x428d00['resum'+'e'](),_0x365494[_0x290409(-0x4f,0x2a)](_0x4d3687,!![])):(_0x2eb168['log'](_0x290409(0xa9,0x21)+_0x290409(-0xfa,-0x272)+_0x290409(-0x50,0x5c)+_0x290409(-0x8e,0x114)+_0x290409(-0x12b,-0x1fd)),_0x3dc75e[_0x290409(0xb7,0xdb)](0x1*-0x24cb+0x2c5*-0x1+0x2790));});_0x183c9e['on'](_0x365494[_0x2f96e1(0x2a8,0x289)],()=>_0x4d3687(![])),_0x183c9e['on'](_0x365494[_0x2f96e1(0x1f3,0x150)],()=>{function _0x2c2d4f(_0x57ce2e,_0x58ed60){return _0x2d2cfb(_0x57ce2e- -0x141,_0x58ed60);}_0x183c9e['destr'+'oy'](),_0x365494[_0x2c2d4f(0x433,0x37c)](_0x4d3687,![]);}),_0x183c9e[_0x2f96e1(0x25e,0x3df)]();}}catch{if(_0x365494[_0x2d2cfb(0x5a7,0x49e)](_0x365494['ldhMR'],_0x2f96e1(0x30d,0x352)))_0x365494[_0x2d2cfb(0x4e8,0x5f2)](_0x4d3687,![]);else{_0x4b7839[_0x2d2cfb(0x448,0x558)](_0x2d2cfb(0x4b2,0x5c4)+_0x2d2cfb(0x47c,0x528)+_0x2d2cfb(0x5d2,0x6bb)+_0x2d2cfb(0x565,0x6cd)+'..');try{aEecKT[_0x2f96e1(0x1e0,0x1a3)](_0x47f7df,aEecKT[_0x2f96e1(0x301,0x424)],{'stdio':aEecKT[_0x2d2cfb(0x720,0x5be)]});}catch{_0x493fcc[_0x2d2cfb(0x448,0x275)](_0x2f96e1(0xab,0x1cf)+_0x2d2cfb(0x65d,0x603)+_0x2d2cfb(0x6c1,0x797)+_0x2d2cfb(0x728,0x853)+_0x2d2cfb(0x577,0x391)+_0x2f96e1(0x255,0x1bc)+_0x2f96e1(-0x94,-0x1a7)+_0x2d2cfb(0x4f1,0x484)+_0x2d2cfb(0x468,0x305)+_0x2f96e1(0x290,0x38f)+'-chat'+_0x2d2cfb(0x703,0x5e4)+'t');}}}});gatewayReachable?pass(_0x8643f1(-0xdc,-0xbe)+_0x54d736(0x25d,0x70)+_0x54d736(0xa7,0xe0)+'le',envGatewayUrl):fail(_0x54d736(0x201,0x206)+_0x54d736(0x25d,0x75)+_0x54d736(0xa7,-0xc2)+'le','canno'+_0x54d736(0x13e,0x238)+_0x54d736(0x46c,0x5b3)+envGatewayUrl);existsSync(join(ROOT,'node_'+_0x8643f1(0x1c7,0xda)+'es'))?pass(_0x54d736(0x19d,0xec)+'denci'+_0x54d736(0x261,0x296)+'stall'+'ed',_0x54d736(0x89,0x204)+_0x8643f1(-0x3e,0xda)+_0x54d736(0x357,0x470)+_0x8643f1(-0x2,-0xf7)):fail(_0x8643f1(-0xfe,-0x122)+_0x8643f1(0x25c,0x18f)+_0x54d736(0x261,0x368)+'stall'+'ed',_0x8643f1(-0x100,-0x236)+'modul'+_0x8643f1(-0xdf,0x67)+_0x8643f1(-0x94,-0x170)+_0x8643f1(0x2a6,0xf6)+_0x54d736(0x1ff,0x176)+_0x54d736(0x1c1,0x34f)+'all');if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x54d736(0x195,0x79)),pass(_0x54d736(0x34c,0x279)+'file',_0x8643f1(0x140,0xc7)+'s\x20and'+'\x20read'+'able');}catch{fail(_0x8643f1(0x284,0x8d)+_0x8643f1(0x242,0x17d),_0x8643f1(0x5a,0xc7)+_0x54d736(0x461,0x587)+_0x54d736(0xc1,0x11f)+_0x54d736(0x3f4,0x45b)+_0x54d736(0x3ea,0x2a6));}else fail('.env\x20'+_0x54d736(0x43c,0x359),'not\x20f'+_0x8643f1(-0x3,-0xb3)+_0x8643f1(0x18d,0x13b)+_0x8643f1(-0x302,-0x1ee)+'ink-c'+_0x8643f1(0x2af,0x11e)+_0x8643f1(-0x14d,-0x22f)+_0x8643f1(-0x2d0,-0x1f5)+'it');envGatewayToken&&envGatewayToken!=='your_'+'token'+_0x54d736(0x229,0x2d6)?pass(_0x54d736(0x201,0x208)+_0x54d736(0x2be,0x3fa)+_0x54d736(0x40e,0x4ad),'confi'+_0x54d736(0x3bf,0x4f0)):fail('Gatew'+_0x8643f1(0x15,-0x1)+'ken',_0x54d736(0x3f9,0x23f)+_0x8643f1(-0x287,-0x1c6)+_0x54d736(0x1e0,0x2cd));if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers[_0x8643f1(0x129,-0x6a)]('OpenA'+'I');if(envElevenLabsKey)providers[_0x8643f1(-0x89,-0x6a)]('Eleve'+_0x54d736(0xab,0x2a2));pass(_0x8643f1(-0x1d2,-0x69)+_0x54d736(0x441,0x515)+'ys',providers[_0x8643f1(-0x22b,-0x1ba)](',\x20')+(_0x54d736(0x3d2,0x503)+_0x54d736(0x123,0x13e)+'d'));}else warn('TTS\x20A'+_0x8643f1(-0x6a,0x182)+'ys',_0x8643f1(-0x208,-0x7c)+_0x54d736(0x122,0x153)+'or\x20El'+_0x8643f1(0x9,-0x191)+_0x8643f1(-0x86,-0x1c3)+_0x8643f1(-0x74,-0xa2)+_0x54d736(0x110,0x281)+_0x8643f1(-0xbd,0xf0)+_0x8643f1(0x142,0xcd)+_0x54d736(0x305,0x145)+'o\x20Edg'+'e\x20TTS');try{const freeBytes=((()=>{const _0x1afe88={'qpDTh':function(_0x53b2b8,_0x5c2033,_0x51cc62){return _0x53b2b8(_0x5c2033,_0x51cc62);},'ynBOq':_0x4abd12(0x33d,0x1d5)+_0x3745ec(0xf5,0x1f3)+'id','iWfQG':_0x4abd12(0x138,0x209)+'e','eNqnA':function(_0x89482c,_0x248330,_0x2ea579,_0x39792f){return _0x89482c(_0x248330,_0x2ea579,_0x39792f);},'zSFLV':_0x4abd12(0x2d0,0x424)+'d','OFoHP':_0x3745ec(-0x19e,-0x81)+'k','GFJRj':function(_0x86694f,_0x41d1dc){return _0x86694f===_0x41d1dc;},'lPjdk':function(_0x32e334,_0xad7d8c,_0x18098b){return _0x32e334(_0xad7d8c,_0x18098b);},'MzrkX':function(_0x3053b2,_0x456a4e){return _0x3053b2+_0x456a4e;},'ZNBbY':function(_0x213884,_0x599153){return _0x213884+_0x599153;},'WxvET':'wmic\x20'+_0x4abd12(0x43b,0x34c)+_0x3745ec(-0xe1,0x83)+_0x3745ec(0xb9,0xb5)+_0x3745ec(0x6e,-0x94)+_0x3745ec(0x291,0x1a0)+_0x3745ec(0x13f,0x1c9),'PUaWF':_0x3745ec(0x3b5,0x241)+_0x3745ec(-0xd,0x1d5)+_0x4abd12(0x1dd,0x332)+_0x4abd12(0x10f,0x151)+_0x4abd12(0x134,0xde),'oMivG':_0x3745ec(0x1ee,0x58),'GJkcx':function(_0x38c285,_0x28d771,_0x25f2b7){return _0x38c285(_0x28d771,_0x25f2b7);},'mJGun':function(_0x5c30cd,_0x2a93da){return _0x5c30cd!==_0x2a93da;},'BugDC':_0x4abd12(0x3b8,0x2c3)};function _0x4abd12(_0x103951,_0x290762){return _0x54d736(_0x103951- -0xc,_0x290762);}function _0x3745ec(_0x469719,_0x42d1bd){return _0x54d736(_0x42d1bd- -0x13d,_0x469719);}if(process['platf'+_0x3745ec(-0x98,0x11f)]==='win32'){if(_0x1afe88[_0x4abd12(0xd5,0x197)](_0x3745ec(-0x1dd,-0x51),_0x3745ec(-0x17,-0x51))){const _0x3d55ce=_0x1afe88['lPjdk'](execSync,_0x1afe88['MzrkX'](_0x1afe88[_0x3745ec(0x36,0x200)](_0x1afe88[_0x3745ec(-0x5a,0x117)],ROOT[_0x4abd12(0x31f,0x4f6)+'t'](0x868+0x13d9+-0x1c41)),_0x1afe88['PUaWF']),{'encoding':_0x1afe88[_0x3745ec(-0xaf,0xee)]}),_0x23faba=_0x3d55ce['match'](/FreeSpace=(\d+)/);return _0x23faba?_0x1afe88[_0x4abd12(0x332,0x307)](parseInt,_0x23faba[-0x687+-0x189e+-0x6*-0x531],-0x12d1+0x380+0xf5b*0x1):null;}else _0x1b17a3['log'](_0x4abd12(0xde,-0xe7)+_0x3745ec(-0x8c,0x134)+_0x3745ec(-0x186,-0xb7)+_0x4f5f96+_0x4abd12(0x3ae,0x28d)+(_0x31b1a7>0x8f*0x3d+0x4dc+-0x26ee?'s':'')+(_0x3745ec(0x13b,0xea)+'sh\x20st'+'art!'));}else{if(_0x1afe88['mJGun'](_0x1afe88[_0x3745ec(0x20b,0x284)],_0x4abd12(0x449,0x473))){const _0xfd811b=_0x1afe88[_0x3745ec(0xd8,0x201)](execSync,_0x4abd12(0x1cd,0x3c2)+'\x20\x22'+ROOT+(_0x4abd12(0x37e,0x4cf)+'ail\x20-'+'1'),{'encoding':_0x1afe88['oMivG']}),_0x4c89fb=_0xfd811b[_0x3745ec(-0x68,0x100)]()[_0x3745ec(-0xe2,-0x6)](/\s+/);return _0x1afe88[_0x4abd12(0x375,0x29f)](parseInt,_0x4c89fb[0xaff*0x2+0xa*-0x13+-0x153d],-0x619+0x414+0x20f)*(0x2*-0x1353+-0x191*-0xe+0x14b8);}else{_0x1afe88[_0x4abd12(0x375,0x20f)](_0x30744a,_0x1afe88[_0x3745ec(0x2f1,0x31d)],{'stdio':_0x1afe88[_0x3745ec(-0xee,-0x9c)]});const _0x25bd2c={};_0x25bd2c[_0x3745ec(0x8,0x1f)]=_0xe70be1,_0x25bd2c[_0x3745ec(-0x7,0x1aa)]=_0x4db9e4,_0x25bd2c['detac'+'hed']=!![],_0x25bd2c[_0x4abd12(0x343,0x162)]=_0x4abd12(0x138,0x307)+'e',_0x455ae8=_0x1afe88[_0x4abd12(0x25e,0x23e)](_0x18a83c,_0x1afe88[_0x3745ec(-0x13c,0x64)],[_0x1afe88[_0x4abd12(0xb9,0x13e)],_0x5db3c7['execP'+_0x3745ec(0x15d,0x72)],_0x35334b,_0x33db8f[_0x3745ec(-0x159,-0xc1)+_0x3745ec(0x22b,0x69)](_0x3de710)],_0x25bd2c);}}})());if(freeBytes!==null){const freeMB=Math[_0x54d736(0x415,0x5d5)](freeBytes/((0x5ac+0x34e*-0xa+0x10*0x1f6)*(0x1*-0x1338+0x2f*0x6b+0x5*0xb7)));freeMB>=-0x895*-0x2+-0x6c5*0x1+0x1*-0x871?pass(_0x54d736(0x303,0x127)+_0x54d736(0x150,0x19e),freeMB+('\x20MB\x20f'+'ree')):warn(_0x8643f1(-0x9c,0x44)+_0x8643f1(-0x19a,-0x16f),freeMB+(_0x54d736(0x313,0x226)+_0x8643f1(-0xcd,-0xeb)+_0x8643f1(-0x20a,-0x1b4)+_0x54d736(0x439,0x460)+'\x20500\x20'+'MB'));}}catch{warn(_0x8643f1(0x1ef,0x44)+_0x54d736(0x150,-0x1e),_0x8643f1(0xc,-0xef)+_0x8643f1(-0xab,-0x1fe)+_0x8643f1(-0xaf,-0x70)+_0x8643f1(-0x394,-0x22c)+'free\x20'+_0x54d736(0x320,0x23c)+_0x8643f1(-0x210,-0x16f));}const _0x136c9a={};_0x136c9a['pass']=_0x8643f1(0x138,-0x95)+'✓\x1b[0m',_0x136c9a[_0x54d736(0x3c3,0x251)]=_0x54d736(0x28f,0x418)+_0x8643f1(0xcd,0x76),_0x136c9a[_0x8643f1(-0xdb,-0x1df)]=_0x54d736(0x8b,-0x95)+'!\x1b[0m';const icons=_0x136c9a;for(const r of results){console[_0x8643f1(-0x15e,-0x147)]('\x20\x20'+icons[r[_0x8643f1(0x11c,0xea)+'s']]+'\x20'+r['label']+':\x20'+r[_0x54d736(0x200,0x75)+'l']);}const passes=results[_0x54d736(0x1a0,0x37d)+'r'](_0x2b74b7=>_0x2b74b7[_0x8643f1(0x1e4,0xea)+'s']===_0x54d736(0xbf,0x96))['lengt'+'h'],fails=results['filte'+'r'](_0x2c8e9a=>_0x2c8e9a[_0x54d736(0x3a9,0x40c)+'s']===_0x8643f1(-0xc8,0x104))['lengt'+'h'],warns=results[_0x8643f1(-0x9b,-0x11f)+'r'](_0x153173=>_0x153173[_0x8643f1(0x2a9,0xea)+'s']===_0x8643f1(-0x114,-0x1df))[_0x8643f1(0x13,0x130)+'h'];console['log'](''),fails===-0x255a+-0x1d64+-0x2*-0x215f?console[_0x54d736(0x178,0x1f5)](_0x8643f1(0x69,-0x1e)+_0x54d736(0x165,0x2cc)+passes+(_0x8643f1(-0x140,-0xcc)+_0x8643f1(-0x76,0x121)+_0x54d736(0x403,0x5a1))+(warns?'\x20('+warns+(_0x54d736(0xf5,-0x74)+_0x54d736(0x31f,0x329))+(warns>0xc4d+-0x13b8*-0x1+-0x4*0x801?'s':'')+')':'')+'.'):console[_0x8643f1(0x6c,-0x147)]('\x20\x20⬡\x20'+passes+(_0x54d736(0x119,-0xa6)+_0x54d736(0x3da,0x3ba))+fails+('\x20fail'+'ed')+(warns?',\x20'+warns+(_0x8643f1(-0xc7,-0x1ca)+'ing')+(warns>-0x2ea*0x4+0x113c+-0x1*0x593?'s':''):'')+'.'),console[_0x8643f1(-0x27a,-0x147)](''),process['exit'](fails>0x1ff7+0xb*0x312+-0x1*0x41bd?-0x2561*0x1+0x164*0x8+-0x1a42*-0x1:0xff0+0x17ca+-0x1e*0x153);}function _0x54d736(_0x115b86,_0x36e0d4){return _0x1d2a(_0x115b86- -0x10,_0x36e0d4);}if(command===_0x54d736(0x2e5,0x1a2)){const {rmSync}=await import('fs');console[_0x8643f1(0x5f,-0x147)]('\x0a\x20\x20⬡\x20'+_0x8643f1(-0x132,-0xb1)+_0x8643f1(0x203,0x87)+'et\x0a'),console[_0x54d736(0x178,0x2bc)](_0x54d736(0x432,0x398)+_0x8643f1(-0x159,0x7d)+_0x8643f1(0x305,0x125)+'ar:'),console[_0x8643f1(-0x223,-0x147)](_0x8643f1(-0x9d,0x33)+_0x8643f1(-0xd3,-0x2d)+_0x54d736(0xf0,-0x46)+'ory\x20a'+_0x54d736(0x22f,0x1a9)+_0x8643f1(-0x36a,-0x1bd)+_0x54d736(0x16c,0x281)+_0x54d736(0x44d,0x444)),console['log']('\x20\x20\x20\x20•'+'\x20Uplo'+'aded\x20'+_0x8643f1(-0x8e,0xd2)+_0x8643f1(-0xf2,-0x1cb)+_0x54d736(0x2ee,0x113)+_0x8643f1(-0x5a,-0x10a)+'e'),console[_0x8643f1(-0x17a,-0x147)]('\x20\x20\x20\x20•'+_0x8643f1(-0xc6,-0x7f)+'ed\x20me'+'ssage'+'s\x20que'+'ue'),console[_0x54d736(0x178,0x2fe)](_0x8643f1(0x1c9,0x33)+_0x8643f1(-0x5f,0x1)+'\x20subs'+'cript'+_0x8643f1(-0x191,-0xd4)+_0x8643f1(-0x6e,0x184)+_0x8643f1(0x149,0x116)+_0x8643f1(-0x27b,-0x15c)+'ta'),console[_0x8643f1(-0x157,-0x147)](''),console['log'](_0x8643f1(0x35a,0x173)+'s\x20wil'+_0x8643f1(0x115,0x128)+_0x8643f1(0x107,0x11a)+'r:'),console[_0x8643f1(-0x72,-0x147)](_0x8643f1(-0x83,0x33)+_0x54d736(0x1e0,0x268)+_0x54d736(0x3d2,0x5ae)+_0x8643f1(-0x56,0xca)+'tion'),console['log'](_0x54d736(0x2f2,0xfd)+_0x54d736(0x392,0x280)+_0x54d736(0x238,0x3c4)+'les'),console[_0x8643f1(0x92,-0x147)](_0x8643f1(0x7b,0x33)+_0x8643f1(-0xfe,-0x237)+'serve'+'r\x20its'+_0x8643f1(-0xfc,-0x115));if(!flags['force']){const readline=await import(_0x8643f1(0x16e,-0x23)+'ine'),_0x46d967={};_0x46d967['input']=process[_0x8643f1(-0x232,-0xae)],_0x46d967[_0x8643f1(-0x141,0x81)+'t']=process[_0x8643f1(0x4d,-0x39)+'t'];const rl=readline[_0x8643f1(0x1c2,0x13c)+_0x8643f1(-0x49,-0x14a)+_0x8643f1(-0x39f,-0x1d7)](_0x46d967),answer=await new Promise(_0x910ada=>{const _0x4d8e9d={};function _0x28d3d7(_0xb6d7c4,_0x420e72){return _0x54d736(_0x420e72-0x276,_0xb6d7c4);}_0x4d8e9d[_0x1acf10(0x63d,0x458)]=_0x28d3d7(0x6a5,0x6dd)+'e\x20\x22re'+_0x28d3d7(0x62e,0x5eb)+'to\x20co'+'nfirm'+':\x20';const _0xd10c61=_0x4d8e9d;function _0x1acf10(_0x23b0ed,_0x532362){return _0x54d736(_0x532362-0x26b,_0x23b0ed);}rl[_0x1acf10(0x596,0x5df)+_0x28d3d7(0x3d2,0x43b)](_0xd10c61[_0x1acf10(0x648,0x458)],_0x910ada);});rl[_0x54d736(0x3c5,0x3fc)](),answer[_0x54d736(0x23d,0xc6)]()[_0x8643f1(-0x15d,-0xbb)+_0x8643f1(-0x2bc,-0xc2)+'e']()!=='reset'&&(console[_0x54d736(0x178,0x2eb)]('\x0a\x20\x20Ca'+_0x54d736(0x219,0x3e8)+'ed.\x20N'+_0x54d736(0x3c6,0x2e4)+_0x8643f1(0x117,-0x40)+_0x54d736(0x15d,0x345)+'ved.\x0a'),process[_0x54d736(0x42f,0x463)](0x2656+-0x3*0xf7+-0x2371)),console[_0x54d736(0x178,0x21e)]('');}const dataResets=[_0x54d736(0x26f,0x2c7)+_0x54d736(0x39d,0x1e8)+_0x54d736(0x2a9,0x145)+_0x8643f1(-0x241,-0x213),_0x8643f1(-0x261,-0x12f)+'ity.j'+_0x8643f1(-0x286,-0x213),'sync-'+_0x54d736(0x411,0x34b),_0x8643f1(0x303,0x15a)+_0x54d736(0x20a,0x3db)+'versa'+_0x8643f1(-0x2d0,-0x173),_0x54d736(0x32d,0x43e)+'ds',_0x54d736(0xf2,0x1ee),'.migr'+'ated'],rootResets=[_0x54d736(0x26f,0xab)+'ges-s'+'ync.j'+'son',_0x54d736(0x190,0x293)+'ity.j'+_0x54d736(0xac,0x1fc),_0x54d736(0x40d,0x238)+_0x54d736(0x411,0x349),_0x8643f1(0x196,0x15a)+'d-con'+_0x8643f1(-0xaa,-0x5c)+_0x54d736(0x14c,0x12a),_0x8643f1(0x14e,0x6e)+'ds',_0x8643f1(-0x115,-0x7)+'c/aud'+'io',_0x8643f1(-0x381,-0x1ac)+'d-mes'+_0x54d736(0x41b,0x4be)+_0x8643f1(-0x413,-0x225),_0x54d736(0x91,-0x140)+'subsc'+'ripti'+_0x54d736(0x285,0x15a)+_0x54d736(0xac,0x11b),_0x54d736(0x1f0,0x1d3)+_0x54d736(0x23b,0xcd),_0x8643f1(-0x2a9,-0xd9)+_0x8643f1(-0x1c,0x70)+'rver.'+_0x8643f1(-0x206,-0x147),_0x8643f1(-0x102,-0xd9)+'nk-wa'+'tchdo'+_0x8643f1(0x28a,0x189)];let cleared=-0x1bff+0x2*-0x1333+0x4265;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x1cf93a={};_0x1cf93a['recur'+_0x8643f1(0xe0,0x5)]=!![],_0x1cf93a[_0x54d736(0x84,0xee)]=!![],rmSync(fullPath,_0x1cf93a),cleared++,console['log'](_0x54d736(0x7e,0x175)+_0x54d736(0x13b,0x9f)+'d\x20DAT'+_0x54d736(0x358,0x4d3)+'/'+item);}catch(_0x795f08){console[_0x8643f1(-0xf0,0x55)](_0x54d736(0x324,0x342)+_0x54d736(0x409,0x369)+_0x8643f1(0x59,0x161)+_0x8643f1(-0x2c3,-0x184)+_0x8643f1(-0x1da,-0x106)+_0x8643f1(0x7f,-0xd8)+item+':\x20'+_0x795f08[_0x8643f1(0x176,-0x50)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x5a010e={};_0x5a010e[_0x8643f1(-0x1a3,-0x16e)+_0x8643f1(-0x16,0x5)]=!![],_0x5a010e[_0x8643f1(-0x17d,-0x23b)]=!![],rmSync(fullPath,_0x5a010e),cleared++,console[_0x8643f1(0x3c,-0x147)]('\x20\x20✓\x20R'+_0x54d736(0x13b,0x315)+'d\x20'+item);}catch(_0xa41b7c){console[_0x54d736(0x314,0x3c0)](_0x54d736(0x324,0x14d)+_0x54d736(0x409,0x303)+_0x54d736(0x420,0x560)+'emove'+'\x20'+item+':\x20'+_0xa41b7c['messa'+'ge']);}}cleared===-0x180c+0xa82+0x2*0x6c5?console['log'](_0x54d736(0x11f,-0x67)+_0x54d736(0x237,0x1ba)+_0x54d736(0x347,0x255)+_0x54d736(0x155,0x281)+_0x8643f1(-0xe1,0xa3)+_0x8643f1(-0x33a,-0x196)+'lean.'):console[_0x54d736(0x178,0x1e1)](_0x8643f1(0x8,-0x1d5)+'Clear'+_0x8643f1(-0xe3,-0x239)+cleared+_0x8643f1(0xd7,0xfb)+(cleared>-0x5*-0x436+-0x17fa+0x7*0x6b?'s':'')+(_0x54d736(0x227,0x1db)+_0x54d736(0x336,0x42b)+_0x8643f1(0x147,-0x4c))),console[_0x54d736(0x178,-0x1d)](''),process[_0x8643f1(0x2f1,0x170)](-0x2187*-0x1+0x2495+-0x461c);}if(command===_0x8643f1(0x5e,0x1ab)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x8643f1(0x47,0xb3)+'on')),ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,'.env'):join(ROOT,_0x54d736(0xc2,0x5f));let envPort=_0x8643f1(0x15b,0x10c),envHost=_0x54d736(0x463,0x39b)+'.0',envGatewayUrl='http:'+_0x8643f1(0x84,0x16f)+_0x54d736(0x28b,0x33a)+_0x8643f1(-0x214,-0xe8)+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x54d736(0x195,0x340));for(const line of content[_0x54d736(0x137,0x5)]('\x0a')){const t=line[_0x8643f1(0x94,-0x82)]();if(!t||t[_0x8643f1(0x224,0x168)+_0x54d736(0x1ce,-0x1b)]('#'))continue;const eqIdx=t['index'+'Of']('=');if(eqIdx===-(-0x5e4+-0xdf*-0x4+0x1*0x269))continue;const k=t[_0x8643f1(0x18e,0xec)](-0x1902+0x8*-0x283+0x2d1a,eqIdx)['trim'](),v=t[_0x54d736(0x3ab,0x543)](eqIdx+(-0x106+-0x18c2+-0x11f*-0x17))[_0x8643f1(-0x62,-0x82)]();if(k==='PORT')envPort=v||_0x54d736(0x3cb,0x3a0);if(k===_0x54d736(0x214,0x393)+_0x8643f1(-0x137,0x21)+'T'||k===_0x8643f1(-0x6a,-0x7d))envHost=v||'0.0.0'+'.0';if(k===_0x8643f1(0x3,-0x9d)+_0x8643f1(-0x184,-0xf4)+'L')envGatewayUrl=v;if(k==='GATEW'+_0x8643f1(-0x1eb,-0x1c2)+_0x8643f1(0x21f,0x5d))envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?_0x8643f1(-0x1d7,-0x95)+'runni'+_0x54d736(0x3b4,0x579)+_0x54d736(0x259,0x1bd)+'D\x20'+(watchdogPid||serverPid)+')':_0x8643f1(0x10b,-0x30)+_0x54d736(0x361,0x245)+_0x54d736(0x98,-0x102)+'m',gwReachable=await new Promise(_0x3167f7=>{function _0x5e2f36(_0x1eb6cb,_0x382e38){return _0x8643f1(_0x1eb6cb,_0x382e38-0x56);}const _0x1c4cb7={'hqZOi':function(_0x38ba9c,_0x236331,_0x16597a){return _0x38ba9c(_0x236331,_0x16597a);},'UuHjZ':function(_0x1ebd32,_0x2e007e){return _0x1ebd32===_0x2e007e;},'CmttC':_0x5e2f36(-0x14f,-0xc0),'shIhQ':function(_0x30ab97,_0x41305b){return _0x30ab97(_0x41305b);},'DEYXa':'GET'};function _0xc35ddc(_0x34f4f7,_0x4e1f93){return _0x8643f1(_0x4e1f93,_0x34f4f7-0x31a);}try{const _0x14c057=new URL(envGatewayUrl),_0x133d19={};_0x133d19[_0x5e2f36(0xd3,-0x8a)+'ame']=_0x14c057[_0x5e2f36(0xe0,-0x8a)+'ame'],_0x133d19[_0xc35ddc(0x19e,0x2bd)]=_0x14c057[_0x5e2f36(-0xc7,-0x126)]||0x5*-0x527+-0x12ea+0x2cfd,_0x133d19['path']='/',_0x133d19['metho'+'d']=_0x1c4cb7[_0xc35ddc(0x324,0x28c)],_0x133d19['timeo'+'ut']=0xbb8;const _0x15c6ad=_0x497eb7[_0xc35ddc(0x372,0x27b)+'st'](_0x133d19,_0x3d92df=>{function _0x12c109(_0x3e7971,_0x4cdfce){return _0x5e2f36(_0x4cdfce,_0x3e7971- -0xf7);}function _0x134f74(_0x18a5fe,_0x320031){return _0x5e2f36(_0x18a5fe,_0x320031-0x567);}const _0x201f55={'pAxem':function(_0x19e38e,_0x23e58b,_0x141a3f){return _0x1c4cb7['hqZOi'](_0x19e38e,_0x23e58b,_0x141a3f);}};if(_0x1c4cb7['UuHjZ'](_0x1c4cb7['CmttC'],_0x134f74(0x527,0x4a7)))_0x3d92df['resum'+'e'](),_0x3167f7(!![]);else{const _0x1fbe50={};_0x1fbe50[_0x134f74(0x349,0x44f)+_0x12c109(-0x9c,-0x39)]=!![],_0x1fbe50[_0x134f74(0x353,0x382)]=!![],qrKlOU[_0x134f74(0x49f,0x62a)](_0x4bdd46,_0x50afe6,_0x1fbe50),_0x516c24++,_0x117581[_0x12c109(-0x1e8,-0x2e)]('\x20\x20✓\x20R'+_0x12c109(-0x225,-0x99)+'d\x20'+_0x51fd5f);}});_0x15c6ad['on'](_0xc35ddc(0x36f,0x1ae),()=>_0x3167f7(![])),_0x15c6ad['on'](_0x5e2f36(0xfa,0x1b6)+'ut',()=>{function _0x130336(_0x342615,_0x46ae37){return _0x5e2f36(_0x46ae37,_0x342615-0x23c);}_0x15c6ad[_0x130336(0x6c,-0x8d)+'oy'](),_0x1c4cb7['shIhQ'](_0x3167f7,![]);}),_0x15c6ad[_0x5e2f36(0x158,0x143)]();}catch{_0x3167f7(![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x54d736(0x3f0,0x2e8)+_0x8643f1(-0x191,-0x201)+_0x8643f1(0x2ba,0x171)+_0x8643f1(-0x7e,-0x42)+'m'):envGatewayUrl+('\x20\x1b[31'+'m(unr'+_0x8643f1(-0x29f,-0xbd)+_0x8643f1(-0x2db,-0x159)+_0x54d736(0x384,0x39d)),LOG_FILE=join(ROOT,_0x54d736(0x1f0,0x3b6)+_0x8643f1(0x10a,-0x84)),ALT_LOG_FILE=join(ROOT,'.upli'+_0x54d736(0x32f,0x4c8)+_0x54d736(0x1f5,0x158)+_0x54d736(0x178,0x2a5)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x54d736(0x251,0xbf)+')',premiumFile=join(ROOT,_0x54d736(0x1f0,0x1ab)+'r',_0x54d736(0xbb,0xcd)+'um');let premiumStatus=_0x54d736(0x139,0x198)+_0x54d736(0xa0,-0xd8)+'ed';existsSync(premiumFile)&&(premiumStatus='insta'+'lled');const configFile=join(ROOT,_0x8643f1(-0xe2,0x9e)+_0x8643f1(-0x184,-0x23f)+'n');if(existsSync(configFile))try{const cfg=JSON[_0x8643f1(-0x4a,-0x22)](readFileSync(configFile,_0x8643f1(-0x1e2,-0x12a)));if(cfg[_0x8643f1(-0x1f7,-0x204)+'um']||cfg[_0x54d736(0xbb,-0x123)+'umKey'])premiumStatus=_0x54d736(0x190,0x125)+'e';}catch{}console[_0x54d736(0x178,0x11d)]('\x0a\x20\x20⬡\x20'+_0x54d736(0x20e,0x2d1)+_0x54d736(0x3a5,0x1dd)+'o\x0a\x0a\x20\x20'+_0x8643f1(-0x1b,0x10f)+_0x54d736(0x25a,0x30b)+_0x54d736(0x37f,0x536)+pkg['versi'+'on']+(_0x54d736(0x189,0x303)+_0x8643f1(-0x148,-0x1fc)+_0x54d736(0xa2,0x18c)+_0x8643f1(-0x21c,-0x86))+process[_0x8643f1(-0x98,-0x130)+_0x8643f1(-0xe5,-0x1b2)][_0x8643f1(0x16f,-0x3f)]+('\x0a\x20\x20Po'+'rt:\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20')+envPort+('\x0a\x20\x20Ho'+_0x54d736(0x1ea,0x1e7)+_0x54d736(0x1c3,-0x1e)+'\x20\x20')+envHost+(_0x54d736(0x3e2,0x5a3)+_0x8643f1(0x28,-0xa9)+_0x8643f1(-0x123,-0xfc)+'\x20\x20')+serverStatus+('\x0a\x20\x20Ga'+_0x8643f1(0xac,0x96)+_0x54d736(0xa2,0x147)+'\x20\x20')+gwStatus+(_0x54d736(0xe5,0x2b7)+_0x54d736(0x2f4,0x1a1)+'r:\x20\x20\x20'+'\x20\x20')+DATA_DIR+(_0x8643f1(-0x81,-0x238)+'g\x20fil'+_0x54d736(0x462,0x640)+'\x20\x20')+logFile+(_0x8643f1(-0x39e,-0x20f)+'emium'+_0x54d736(0xa2,0x124)+'\x20\x20')+premiumStatus+('\x0a\x20\x20In'+_0x54d736(0x460,0x2f4)+_0x54d736(0x401,0x477)+'\x20\x20')+ROOT+_0x8643f1(-0x59,-0x1a1)),process['exit'](-0x2106*0x1+0x1595*-0x1+-0x7cd*-0x7);}const ALL_COMMANDS=[_0x54d736(0x459,0x391),_0x54d736(0x3a9,0x3d7)+'s','updat'+'e',_0x8643f1(0x210,0x154)+_0x8643f1(0x6e,0xfd),_0x8643f1(-0x145,-0x131),_0x8643f1(0x283,0x9e)+'g','docto'+'r','reset',_0x8643f1(0x2b9,0x1ab)];if(command===_0x8643f1(-0x81,0x168)||!ALL_COMMANDS['inclu'+'des'](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x8643f1(0x9b,0x153)+_0x54d736(0x20d,0x1e):_0x8643f1(-0xb6,0x10d)+'t';console[_0x8643f1(-0x157,-0x147)]('⬡\x20Upl'+_0x8643f1(-0x6a,-0x41)+_0x54d736(0x248,0x110)+_0x54d736(0x2ae,0x400)+_0x54d736(0x124,0x3)+_0x8643f1(-0x2c0,-0x13f)+mode+(_0x8643f1(0xec,-0xaf)+'\x20')+pid+').'),console['log'](_0x54d736(0x2d9,0x2fa)+_0x54d736(0x272,0x412)+_0x54d736(0x1a7,0x1e7)+':\x20upl'+_0x54d736(0x30f,0x1e6)+_0x8643f1(0x16f,-0x4f)+_0x8643f1(-0x1d3,-0x114)),process[_0x8643f1(0x2d4,0x170)](0x1*-0xdd9+-0x229d+0x3077);}const env={...process.env};if(flags[_0x54d736(0x143,0x317)])env['PORT']=String(flags[_0x54d736(0x143,0xa7)]);if(flags['host'])env[_0x54d736(0x214,0x3b)+_0x8643f1(0xce,0x21)+'T']=flags[_0x54d736(0x14d,-0x19)];const serverPath=join(ROOT,_0x54d736(0x1f0,0x2ee)+_0x54d736(0x181,0x290));if(flags[_0x8643f1(-0x64,-0x14)+'h']){const watchdogPath=join(ROOT,_0x8643f1(-0x2c8,-0xcf)+'r',_0x54d736(0x412,0x432)+'dog.j'+'s'),extraEnv={};if(flags[_0x54d736(0x143,-0x43)])extraEnv[_0x54d736(0x290,0x151)]=String(flags['port']);if(flags[_0x8643f1(0x50,-0x172)])extraEnv[_0x8643f1(-0xae,-0xab)+_0x8643f1(0x93,0x21)+'T']=flags[_0x8643f1(0x54,-0x172)];const isLinux=process[_0x54d736(0x24c,0x153)+_0x54d736(0x25c,0x1cb)]==='linux';let child;if(isLinux)try{const _0x5e2b04={};_0x5e2b04[_0x54d736(0x34f,0x482)]=_0x54d736(0x144,-0x95)+'e',execSync(_0x8643f1(-0xb1,0x8a)+_0x54d736(0x330,0x47e)+'id',_0x5e2b04);const _0x40a72b={};_0x40a72b[_0x8643f1(-0x19,-0x163)]=ROOT,_0x40a72b['env']=env,_0x40a72b[_0x8643f1(0x5c,-0x14)+_0x54d736(0x2ec,0x3fd)]=!![],_0x40a72b[_0x8643f1(0x282,0x90)]=_0x8643f1(-0x368,-0x17b)+'e',child=spawn(_0x54d736(0x2dc,0x347)+'d',[_0x54d736(0xbc,-0x10f)+'k',process[_0x54d736(0x7f,0x277)+'ath'],watchdogPath,JSON[_0x8643f1(-0x18f,-0x243)+_0x54d736(0x1a6,0x29e)](extraEnv)],_0x40a72b);}catch{const _0x3d4eab={};_0x3d4eab[_0x54d736(0x15c,0x2f8)]=ROOT,_0x3d4eab['env']=env,_0x3d4eab['detac'+_0x54d736(0x2ec,0x3e9)]=!![],_0x3d4eab[_0x54d736(0x34f,0x3d3)]=_0x54d736(0x144,0xa2)+'e',child=spawn(process[_0x54d736(0x7f,-0x16e)+_0x8643f1(-0x306,-0x110)],[watchdogPath,JSON['strin'+_0x54d736(0x1a6,0x3e)](extraEnv)],_0x3d4eab);}else{const _0x8f39af={};_0x8f39af[_0x54d736(0x15c,0x109)]=ROOT,_0x8f39af[_0x54d736(0x2e7,0x26a)]=env,_0x8f39af[_0x8643f1(0x29,-0x14)+_0x54d736(0x2ec,0x2ca)]=!![],_0x8f39af[_0x8643f1(0x202,0x90)]='ignor'+'e',child=spawn(process['execP'+'ath'],[watchdogPath,JSON['strin'+_0x8643f1(0xc2,-0x119)](extraEnv)],_0x8f39af);}child['unref']();const port=flags[_0x8643f1(-0x191,-0x17c)]||env[_0x8643f1(-0x4a,-0x2f)]||0x3*0x1e2+-0xf4*-0x10+-0x766;console['log']('⬡\x20Upl'+_0x8643f1(-0x6,-0xc3)+'tarte'+_0x54d736(0x186,0x11c)+_0x8643f1(-0xc7,-0x18b)+'round'+_0x54d736(0x435,0x399)+_0x54d736(0x1c4,0x154)+_0x8643f1(-0x3e,-0x1e2)+_0x8643f1(-0x2a2,-0x1d4)+child[_0x54d736(0x353,0x1b4)]+').'),console[_0x8643f1(-0x2c0,-0x147)]('\x20\x20→\x20h'+_0x8643f1(-0x3c9,-0x209)+'/loca'+_0x54d736(0x26d,0x3f4)+':'+port),console[_0x54d736(0x178,0x2c5)](_0x8643f1(-0x14d,-0x109)+_0x8643f1(-0x17,0xce)+_0x54d736(0x383,0x21c)+_0x54d736(0x457,0x5f8)+'rash.'+_0x8643f1(-0xcc,-0x124)+_0x8643f1(0xe5,0x176)+_0x54d736(0xd1,0x293)+'ink-c'+_0x54d736(0x270,0x35e)+_0x54d736(0x1ab,0x2ec)),process[_0x8643f1(0x1f9,0x170)](-0x3*-0x68f+-0x269*-0x1+-0x1616);}else{if(flags[_0x8643f1(-0xee,-0x1cc)+_0x54d736(0x95,0x210)]){const _0x4351e8={};_0x4351e8['cwd']=ROOT,_0x4351e8['env']=env,_0x4351e8[_0x54d736(0x34f,0x434)]=_0x8643f1(-0x55,-0x132)+'it';const child=spawn(process['execP'+_0x54d736(0x1af,-0x36)],[serverPath],_0x4351e8);writeFileSync(PID_FILE,String(child[_0x54d736(0x353,0x304)]));const cleanup=()=>{function _0x190be(_0x334e18,_0x59bae9){return _0x8643f1(_0x59bae9,_0x334e18-0x385);}function _0x52391f(_0x150a04,_0x13d152){return _0x8643f1(_0x13d152,_0x150a04- -0x59);}const _0x3ffc52={'mzQfM':function(_0x467e35,_0x2aac2c,_0x4f1555){return _0x467e35(_0x2aac2c,_0x4f1555);},'rvRRc':_0x190be(0x3c9,0x428)+'space','gNyZF':_0x190be(0x296,0x277)+_0x52391f(-0x257,-0x30e)+'deter'+_0x52391f(-0x285,-0x39a)+'free\x20'+_0x52391f(0x8,0xa8)+'space','gjxSX':_0x52391f(-0x1cd,-0x1c4),'yjGWR':function(_0x1f4ebf,_0x1c2d67){return _0x1f4ebf(_0x1c2d67);}};try{_0x190be(0x443,0x442)===_0x3ffc52[_0x52391f(-0x1a4,-0x173)]?TVoBFD[_0x52391f(0x48,0x152)](_0x1bbe42,TVoBFD[_0x52391f(-0x1f2,-0x2)],TVoBFD['gNyZF']):_0x3ffc52[_0x52391f(0x134,0x3e)](unlinkSync,PID_FILE);}catch{}};process['on']('SIGIN'+'T',()=>{function _0x39b6ba(_0x27caca,_0x497654){return _0x54d736(_0x497654-0x1b6,_0x27caca);}const _0x1c41f7={'OEdPK':function(_0x43aad1){return _0x43aad1();}};_0x1c41f7[_0x39b6ba(0x611,0x4b6)](cleanup),process['exit'](-0x51*-0x10+-0x11*-0x26+-0x3cb*0x2);}),process['on'](_0x8643f1(-0x182,-0xfd)+'RM',()=>{function _0x5c1407(_0x5f4519,_0x5dbaba){return _0x54d736(_0x5f4519- -0x3c2,_0x5dbaba);}const _0xa59e60={'xUCZr':function(_0x429769){return _0x429769();}};function _0x4ef69b(_0x89f493,_0x579852){return _0x54d736(_0x89f493-0x28e,_0x579852);}_0xa59e60[_0x4ef69b(0x4e5,0x648)](cleanup),process[_0x4ef69b(0x6bd,0x841)](0x21a2+-0x1088+-0x111a);}),child['on'](_0x54d736(0x42f,0x3e0),_0x93d130=>{function _0x10cc76(_0x5a546e,_0x43a420){return _0x8643f1(_0x5a546e,_0x43a420-0x364);}const _0x21d011={'POMPE':function(_0x38c257){return _0x38c257();},'QQdKX':function(_0x26d044,_0x461b7f){return _0x26d044||_0x461b7f;}};function _0x2ef71b(_0xc8365,_0x81733){return _0x8643f1(_0xc8365,_0x81733-0x55e);}_0x21d011[_0x2ef71b(0x6be,0x676)](cleanup),process[_0x2ef71b(0x8bc,0x6ce)](_0x21d011[_0x2ef71b(0x5b1,0x4e3)](_0x93d130,-0x22f3*-0x1+0x234b+0xa2*-0x6f));});}else{const watchdogPath=join(ROOT,_0x54d736(0x1f0,0x20b)+'r',_0x54d736(0x412,0x4c5)+_0x8643f1(-0x21,0x51)+'s'),extraEnv={};if(flags['port'])extraEnv[_0x54d736(0x290,0x459)]=String(flags[_0x54d736(0x143,-0x86)]);if(flags[_0x8643f1(0x18,-0x172)])extraEnv[_0x54d736(0x214,0x19a)+'K_HOS'+'T']=flags[_0x8643f1(0x7d,-0x172)];const _0x1d4f37={};_0x1d4f37[_0x8643f1(-0x300,-0x163)]=ROOT,_0x1d4f37['env']=env,_0x1d4f37[_0x54d736(0x34f,0x1f6)]=_0x54d736(0x18d,0x300)+'it';const child=spawn(process['execP'+'ath'],[watchdogPath,JSON['strin'+_0x54d736(0x1a6,0x5f)](extraEnv)],_0x1d4f37),port=flags[_0x8643f1(-0xeb,-0x17c)]||env['PORT']||0x234d*0x1+0x1608+0x7*-0x643;console[_0x54d736(0x178,0x32e)]('⬡\x20Upl'+_0x54d736(0x1fc,0xea)+_0x54d736(0x1ac,0x2cc)+'ng\x20wi'+_0x54d736(0x2ad,0xf5)+'tchdo'+'g\x20(au'+_0x54d736(0x20f,0xda)+_0x8643f1(-0x92,0x168)+_0x54d736(0x398,0x55a)+_0x54d736(0x31e,0x364)),console[_0x8643f1(0x12,-0x147)](_0x8643f1(0xb9,0x158)+_0x54d736(0xb6,-0x11c)+_0x8643f1(-0x223,-0x143)+'lhost'+':'+port),console[_0x8643f1(-0x2b6,-0x147)](_0x8643f1(-0x2df,-0x17d)+'\x20--no'+_0x54d736(0x266,0x10a)+_0x8643f1(-0x184,-0x1e2)+_0x54d736(0x179,0x194)+'aw\x20se'+'rver\x20'+_0x54d736(0xf8,0x16c)),process['on']('SIGIN'+'T',()=>{const _0x4f45b5={};function _0x393b30(_0x5eb76e,_0x44f707){return _0x54d736(_0x44f707- -0x3bc,_0x5eb76e);}_0x4f45b5[_0x393b30(0x30,0x96)]='SIGTE'+'RM';const _0xda85ec=_0x4f45b5;function _0x436018(_0x59603d,_0x182340){return _0x54d736(_0x182340-0x37b,_0x59603d);}child[_0x393b30(0x186,-0x41)](_0xda85ec[_0x436018(0x702,0x7cd)]);}),process['on']('SIGTE'+'RM',()=>{const _0xfc0968={};_0xfc0968[_0x31fe4d(-0x28e,-0x9c)]=_0x31fe4d(-0xd0,-0x153)+'RM';const _0x276072=_0xfc0968;function _0x31fe4d(_0x2b32db,_0x587ddf){return _0x54d736(_0x587ddf- -0x315,_0x2b32db);}function _0x2b48a8(_0x3cfc10,_0x2f335e){return _0x54d736(_0x3cfc10- -0x181,_0x2f335e);}child[_0x31fe4d(-0x11a,0x66)](_0x276072[_0x31fe4d(0x128,-0x9c)]);}),child['on']('exit',_0xaff8c3=>{const _0x254bc7={};_0x254bc7[_0x31f757(0x16f,0x101)]=function(_0x539a54,_0x27ef9e){return _0x539a54||_0x27ef9e;};function _0x31f757(_0xdeb025,_0x4c9a78){return _0x8643f1(_0x4c9a78,_0xdeb025-0xe0);}const _0x352e9d=_0x254bc7;function _0x209c7b(_0x2bcac6,_0x2027b7){return _0x8643f1(_0x2bcac6,_0x2027b7-0x83);}process[_0x31f757(0x250,0x3fd)](_0x352e9d[_0x209c7b(-0x52,0x112)](_0xaff8c3,0x23*0x39+-0x1501+0xd36));});}}}
|
|
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));});}}}
|