@mooncompany/uplink-chat 0.37.0 → 0.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/uplink.js +1 -1
- package/middleware/error-handler.js +1 -1
- package/package.json +7 -4
- package/public/css/{app.09572269.css → app.e10c9861.css} +19 -0
- package/public/css/artifacts.css +10 -0
- package/public/css/mobile.css +2 -2
- package/public/dist/bundle.c6752890.js +1 -0
- package/public/index.html +30 -28
- package/public/js/agents-data.js +1 -1
- package/public/js/agents-ui.js +1 -1
- package/public/js/agents.js +1 -1
- package/public/js/app.js +1 -1
- package/public/js/appearance-settings.js +1 -1
- package/public/js/artifacts.js +1 -1
- package/public/js/audio-pcm-processor.js +1 -1
- package/public/js/audio-queue.js +1 -1
- package/public/js/bootstrap.js +1 -1
- package/public/js/chat.js +1 -1
- package/public/js/commands.js +1 -1
- package/public/js/connection-api.js +1 -1
- package/public/js/connection.js +1 -1
- package/public/js/context-tracker.js +1 -1
- package/public/js/core.js +1 -1
- package/public/js/cron-panel.js +1 -1
- package/public/js/dashboard.js +1 -1
- package/public/js/developer.js +1 -1
- package/public/js/encryption.js +1 -1
- package/public/js/errors.js +1 -1
- package/public/js/event-bus.js +1 -1
- package/public/js/fetch-utils.js +1 -1
- package/public/js/file-handler.js +1 -1
- package/public/js/files.js +1 -1
- package/public/js/gateway-chat.js +1 -1
- package/public/js/logger.js +1 -1
- package/public/js/markdown.js +1 -1
- package/public/js/message-actions.js +1 -1
- package/public/js/message-renderer.js +1 -1
- package/public/js/missed-messages.js +1 -1
- package/public/js/mobile-debug.js +1 -1
- package/public/js/notifications.js +1 -1
- package/public/js/offline-queue.js +1 -1
- package/public/js/onboarding.js +1 -1
- package/public/js/panels.js +1 -1
- package/public/js/premium.js +1 -1
- package/public/js/primary-header.js +1 -1
- package/public/js/realtime-voice.js +1 -1
- package/public/js/satellite-sync.js +1 -1
- package/public/js/satellite-ui.js +1 -1
- package/public/js/satellites.js +1 -1
- package/public/js/settings.js +1 -1
- package/public/js/shortcuts.js +1 -1
- package/public/js/split-chat.js +1 -1
- package/public/js/split-resize.js +1 -1
- package/public/js/splitview.js +1 -1
- package/public/js/storage.js +1 -1
- package/public/js/streaming-handler.js +1 -1
- package/public/js/stt-settings.js +1 -1
- package/public/js/themes.js +1 -1
- package/public/js/timestamps.js +1 -1
- package/public/js/tts-settings.js +1 -1
- package/public/js/ui.js +1 -1
- package/public/js/update-notifier.js +1 -1
- package/public/js/utils/constants.js +1 -1
- package/public/js/utils/icons.js +1 -1
- package/public/js/utils/sanitize.js +1 -1
- package/public/js/utils/sse-parser.js +1 -1
- package/public/js/vad.js +1 -1
- package/public/js/vendor/dompurify.min.js +1 -1
- package/public/js/voice-settings-v2.js +1 -1
- package/public/js/voice.js +1 -1
- package/public/manifest.json +1 -1
- package/public/sw.js +228 -1
- package/server/channel.js +1 -1
- package/server/chat.js +1 -1
- package/server/config-store.js +1 -1
- package/server/config.js +1 -1
- package/server/context.js +1 -1
- package/server/gateway-api-proxy.js +1 -1
- package/server/gateway-commands.js +1 -1
- package/server/gateway-proxy.js +1 -1
- package/server/index.js +1 -1
- package/server/logger.js +1 -1
- package/server/message-store.js +1 -1
- package/server/middleware/auth.js +1 -1
- package/server/middleware.js +1 -1
- package/server/openclaw-discover.js +1 -1
- package/server/premium/index.js +1 -1
- package/server/premium/license.js +1 -1
- package/server/realtime/bridge.js +1 -1
- package/server/realtime/index.js +1 -1
- package/server/realtime/tts-stream.js +1 -1
- package/server/routes/agents.js +1 -1
- package/server/routes/artifacts.js +1 -1
- package/server/routes/chat.js +1 -1
- package/server/routes/config-settings.js +1 -1
- package/server/routes/config.js +1 -1
- package/server/routes/cron.js +1 -1
- package/server/routes/files.js +1 -1
- package/server/routes/index.js +1 -1
- package/server/routes/media.js +1 -1
- package/server/routes/missed-messages.js +1 -1
- package/server/routes/premium.js +1 -1
- package/server/routes/push.js +1 -1
- package/server/routes/satellite.js +1 -1
- package/server/routes/status.js +1 -1
- package/server/routes/stt.js +1 -1
- package/server/routes/voice.js +1 -1
- package/server/routes/webhooks.js +1 -1
- package/server/routes.js +1 -1
- package/server/runtime-config.js +1 -1
- package/server/share.js +1 -1
- package/server/stt/faster-whisper.js +1 -1
- package/server/stt/groq.js +1 -1
- package/server/stt/index.js +1 -1
- package/server/stt/openai.js +1 -1
- package/server/sync.js +1 -1
- package/server/tailscale-https.js +1 -1
- package/server/tts.js +1 -1
- package/server/update-checker.js +1 -1
- package/server/utils/filename.js +1 -1
- package/server/utils.js +1 -1
- package/server/watchdog.js +1 -1
- package/server/websocket/broadcast.js +1 -1
- package/server/websocket/connections.js +1 -1
- package/server/websocket/index.js +1 -1
- package/server/websocket/routing.js +1 -1
- package/server/websocket/sync.js +1 -1
- package/server.js +1 -1
- package/utils/detect-tool-usage.js +1 -1
- package/utils/errors.js +1 -1
- package/utils/html-escape.js +1 -1
- package/utils/id-sanitize.js +1 -1
- package/utils/response.js +1 -1
- package/utils/with-retry.js +1 -1
- package/public/dist/bundle.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(_0x4fed1c,_0x16d596){const _0x267911=_0x4fed1c();function _0x148fef(_0x38430d,_0xf8224c){return _0x4d77(_0x38430d-0x257,_0xf8224c);}function _0x179602(_0xfcd804,_0x2a961e){return _0x4d77(_0xfcd804-0x20b,_0x2a961e);}while(!![]){try{const _0x4fdb57=parseInt(_0x148fef(0x817,0x9ac))/(-0x5*-0x68e+0x9f*-0x1f+-0xd84)*(parseInt(_0x148fef(0x4aa,0x558))/(0x3ab+-0x64d+0x2a4))+parseInt(_0x148fef(0x5ee,0x5c1))/(0x1ce1*0x1+0x1*0x228b+-0x3f69)+parseInt(_0x148fef(0x6e0,0x7c3))/(0x8*-0x1f9+-0xa08+0x3a*0x72)*(-parseInt(_0x148fef(0x68e,0x869))/(-0xffb+0x1676+0x33b*-0x2))+-parseInt(_0x148fef(0x5a5,0x576))/(0xe*-0x199+-0x958+0x1fbc)+-parseInt(_0x179602(0x4d4,0x522))/(-0xd99+0x2186+-0x13e6)*(parseInt(_0x179602(0x633,0x4bc))/(0x226c+0x24ae+0x1*-0x4712))+parseInt(_0x148fef(0x64c,0x504))/(0x1584*0x1+-0xc4*0x19+-0x257)+parseInt(_0x179602(0x735,0x58a))/(-0x7a7*-0x5+-0x2023+0x26*-0x29);if(_0x4fdb57===_0x16d596)break;else _0x267911['push'](_0x267911['shift']());}catch(_0x5e97f6){_0x267911['push'](_0x267911['shift']());}}}(_0x4c24,-0x8a6c*-0x14+0xf11*0xe3+0x2*-0x69c73));import{spawn,execSync}from'child_process';function _0x300bcb(_0x38596d,_0x43dd23){return _0x4d77(_0x38596d-0xe8,_0x43dd23);}import{fileURLToPath}from'url';import{dirname,join}from'path';import{existsSync,writeFileSync,readFileSync,unlinkSync,statSync,readdirSync,mkdirSync}from'fs';import{createRequire}from'module';import _0x32947b from'net';import _0x1765ba from'http';import _0x2a6377 from'os';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function _0x4d77(_0x4d7728,_0x32a97a){_0x4d7728=_0x4d7728-(0x1746+0xab7+0x71*-0x49);const _0x36beff=_0x4c24();let _0x46ecca=_0x36beff[_0x4d7728];return _0x46ecca;}function resolveDataDir(){const _0x236606={'YcXJU':function(_0x6fa8b2,_0x1edfc9,_0x5d02dd){return _0x6fa8b2(_0x1edfc9,_0x5d02dd);},'bZhEE':function(_0x30a0d9,_0x1677a5){return _0x30a0d9!==_0x1677a5;},'VFAph':'pJRvO','UJebh':_0x31ce90(0x42c,0x507),'VGglZ':_0x25f181(0x3e8,0x2ae),'DwuMA':function(_0x3ffe7b,_0x400d01){return _0x3ffe7b===_0x400d01;},'PyVeg':'qRkyX','jJGSn':function(_0x606542,_0x17052c){return _0x606542(_0x17052c);},'RVRZw':_0x31ce90(0x49e,0x457)+'ge.js'+'on','OlHWz':'pass','DBdFO':function(_0x5de477,_0x137a44){return _0x5de477===_0x137a44;},'mqPof':_0x25f181(0x57f,0x4a0),'iGCHg':function(_0xae11a3,_0x5dd6d6){return _0xae11a3(_0x5dd6d6);},'iWaFz':function(_0x33df93,_0x5cd9f4){return _0x33df93===_0x5cd9f4;},'xEoPb':'iKNEg','LDCBH':_0x25f181(0x498,0x347),'tMBPL':_0x25f181(0x5d6,0x424)+_0x31ce90(0x169,0x301)+'+$','NONuq':function(_0xefecc2,_0x458c7d){return _0xefecc2===_0x458c7d;},'cEELy':_0x31ce90(0x469,0x4f3),'oXyYP':function(_0x5432a9,_0x324cd9,_0x308c5d,_0x1feea3){return _0x5432a9(_0x324cd9,_0x308c5d,_0x1feea3);},'cQaRH':'Roami'+'ng','euXTw':_0x31ce90(0x6dc,0x6bb)+'nk'};function _0x31ce90(_0x30bf1d,_0x4db6d5){return _0x4d77(_0x4db6d5-0x131,_0x30bf1d);}const _0x51a665=(function(){function _0x5b884b(_0x1e9e0c,_0x25b37c){return _0x25f181(_0x25b37c,_0x1e9e0c- -0x283);}function _0x2877ed(_0x369d8a,_0x761d9a){return _0x25f181(_0x761d9a,_0x369d8a- -0x194);}const _0x28e89b={'qFHPA':function(_0x5dc9c5,_0x2f49e2){function _0x1678eb(_0x4c883e,_0x28b4b){return _0x4d77(_0x4c883e-0x1f8,_0x28b4b);}return _0x236606[_0x1678eb(0x43f,0x4fa)](_0x5dc9c5,_0x2f49e2);},'xjowt':function(_0x557aaf,_0x490ec7,_0x4e23f6){function _0x43a32a(_0x5bffde,_0x22ae54){return _0x4d77(_0x5bffde-0x25b,_0x22ae54);}return _0x236606[_0x43a32a(0x771,0x90e)](_0x557aaf,_0x490ec7,_0x4e23f6);},'JWbyS':_0x236606[_0x5b884b(0x2f8,0x476)],'FfLpg':_0x236606['OlHWz']};if(_0x236606[_0x2877ed(0x23f,0x47)](_0x236606['mqPof'],_0x236606[_0x2877ed(0x2bd,0xf7)])){let _0x16e66d=!![];return function(_0x2c110c,_0x59c580){function _0x74802d(_0x14a278,_0x494cdc){return _0x5b884b(_0x14a278- -0x6c,_0x494cdc);}function _0x28d2b3(_0x39c446,_0x399ea6){return _0x5b884b(_0x39c446-0x598,_0x399ea6);}const _0x179b64={'OmTxO':function(_0x25ea87,_0x494ffb,_0xb11d37){function _0x5123ad(_0x4628b5,_0x38ddfa){return _0x4d77(_0x4628b5-0xed,_0x38ddfa);}return _0x236606[_0x5123ad(0x603,0x71b)](_0x25ea87,_0x494ffb,_0xb11d37);},'djLTV':function(_0x15c0b0,_0x4d9381){function _0x2ce3d3(_0x266a60,_0xfc8f59){return _0x4d77(_0xfc8f59- -0x104,_0x266a60);}return _0x236606[_0x2ce3d3(0x46f,0x450)](_0x15c0b0,_0x4d9381);},'xbIou':_0x236606[_0x28d2b3(0x8d8,0x8a3)],'iIedz':_0x236606[_0x28d2b3(0x5bb,0x569)],'jDoUJ':_0x236606['VGglZ']};if(_0x236606[_0x74802d(-0x69,-0x1ea)](_0x28d2b3(0x5b1,0x44c),_0x236606[_0x28d2b3(0x6a9,0x666)])){const _0x4ca56a=_0x16e66d?function(){const _0x29863={'IiUfx':function(_0x47cd0a,_0x2e5234,_0x4848dc){function _0x4c86f2(_0x1b2437,_0x5d89a1){return _0x4d77(_0x5d89a1- -0x21a,_0x1b2437);}return _0x179b64[_0x4c86f2(0x40a,0x285)](_0x47cd0a,_0x2e5234,_0x4848dc);}};function _0x29da63(_0x1bda70,_0x335a06){return _0x28d2b3(_0x335a06- -0x1d3,_0x1bda70);}function _0x4d80a5(_0x456cb4,_0x493c6c){return _0x28d2b3(_0x493c6c- -0x245,_0x456cb4);}if(_0x179b64[_0x29da63(0x870,0x717)](_0x179b64[_0x4d80a5(0x619,0x589)],_0x4d80a5(0x37b,0x3c1)))_0x443965[_0x4d80a5(0x281,0x368)](_0x29da63(0x527,0x415)+_0x29da63(0x71f,0x64b)+_0x29da63(0x42d,0x5f5)+_0x29da63(0x59a,0x577)+_0x29da63(0x4e3,0x3b1)+_0x1bedb6[_0x4d80a5(0x482,0x5d5)+'ge']),_0x4c2faa[_0x4d80a5(0x604,0x4f5)](0x11*-0x149+0x270d+0x11*-0x103);else{if(_0x59c580){if(_0x179b64['iIedz']!==_0x179b64[_0x29da63(0x4a6,0x5ad)]){const _0x327bb8=_0x59c580[_0x4d80a5(0x461,0x64d)](_0x2c110c,arguments);return _0x59c580=null,_0x327bb8;}else{const _0x1d7362={};_0x1d7362[_0x29da63(0x65e,0x72e)+_0x29da63(0x498,0x446)]=!![],_0x29863['IiUfx'](_0xa95e6d,_0x1e4a04,_0x1d7362);}}}}:function(){};return _0x16e66d=![],_0x4ca56a;}else{const _0x3db1cc=_0x5c6a96(import.meta.url),_0x5e7cbf=_0x28e89b[_0x74802d(0xea,0x131)](_0x3db1cc,_0x28e89b['xjowt'](_0x50de72,_0x4bb372,_0x28e89b[_0x28d2b3(0x6c4,0x5d7)]));_0x1a365e[_0x28d2b3(0x8a3,0x860)](_0x74802d(0xf0,0x1f0)+_0x74802d(0x1e9,0x1b0)+_0x28d2b3(0x7f9,0x9ba)+_0x5e7cbf['versi'+'on']),_0x115e72['exit'](-0x1f*0x1c+0x13d3+-0x259*0x7);}};}else{const _0xa81b9a={};_0xa81b9a[_0x5b884b(0x193,0xa7)+'s']=_0x28e89b[_0x2877ed(0xee,0x109)],_0xa81b9a[_0x2877ed(0x37a,0x26b)]=_0x53562c,_0xa81b9a[_0x5b884b(0x119,-0x42)+'l']=_0x93f65e,_0x28eb69[_0x5b884b(0x24c,0x3b5)](_0xa81b9a);}}());function _0x25f181(_0x2cf81f,_0xf54612){return _0x4d77(_0xf54612-0x9c,_0x2cf81f);}const _0x357131=_0x236606['YcXJU'](_0x51a665,this,function(){function _0x19ccd0(_0x59720f,_0x1f6749){return _0x25f181(_0x59720f,_0x1f6749-0xe6);}function _0x58c1e0(_0xbc8791,_0x2631a4){return _0x25f181(_0x2631a4,_0xbc8791- -0x48);}if(_0x236606['iWaFz'](_0x236606[_0x19ccd0(0x602,0x5b3)],_0x236606[_0x58c1e0(0x3bb,0x38c)]))_0x5c9ab4[_0x19ccd0(0x36a,0x4d5)](),_0x236606['iGCHg'](_0x6beac2,!![]);else return _0x357131[_0x58c1e0(0x25d,0x35e)+_0x19ccd0(0x34e,0x43d)]()[_0x19ccd0(0x5aa,0x60c)+'h'](_0x236606[_0x19ccd0(0x573,0x496)])['toStr'+_0x58c1e0(0x30f,0x173)]()['const'+_0x58c1e0(0x5c5,0x5cd)+'r'](_0x357131)[_0x58c1e0(0x4de,0x6c9)+'h'](_0x236606[_0x19ccd0(0x626,0x496)]);});_0x357131();if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(_0x236606[_0x31ce90(0x497,0x461)](process[_0x31ce90(0x436,0x430)+_0x25f181(0x4fe,0x395)],_0x236606[_0x31ce90(0x281,0x3a7)])){const _0x5c9bac=process.env.APPDATA||_0x236606['oXyYP'](join,_0x2a6377['homed'+'ir'](),'AppDa'+'ta',_0x236606[_0x25f181(0x58a,0x38e)]);return join(_0x5c9bac,'uplin'+'k');}return join(_0x2a6377[_0x31ce90(0x117,0x2fd)+'ir'](),_0x236606['euXTw']);}const DATA_DIR=resolveDataDir();try{const _0x4123e3={};_0x4123e3[_0x261234(0x417,0x339)+_0x300bcb(0x350,0x470)]=!![],mkdirSync(DATA_DIR,_0x4123e3);}catch{}const PID_FILE=join(DATA_DIR,_0x300bcb(0x672,0x503)+'nk.pi'+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x300bcb(0x672,0x6ab)+_0x300bcb(0x412,0x36f)+_0x300bcb(0x640,0x506)+'g.pid'),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x300bcb(0x672,0x6c5)+_0x261234(0x1f1,0x2bf)+_0x261234(0x41f,0x294)+_0x261234(0x240,0x93)+'n'),args=process[_0x261234(0x26c,0x41b)]['slice'](-0x20d0+-0x654+0x1393*0x2),command=args[0x2*-0xc9d+-0x1e3f+0x3779]||_0x300bcb(0x316,0x4b9),flags={};function _0x4c24(){const _0x4f867a=['KEY','Gatew','(Ctrl','ached','ffMs','aw\x20se','v\x20fil','e:\x0a\x20\x20','vISUk','lines','e\x20by\x20','ning','k\x20Res','ed\x1b[0','tion','ver\x20a',':\x20upl','\x20comp','tall','hat\x20s','x\x20upl','Port\x20','\x20Upli','updat','.\x20Run','r.js','nfirm','o\x20rea','t\x20sta','\x20\x20\x20\x20\x20','l\x20con','k\x20Con','ZNWay','xbIou','uto-r','⬡\x20Cur','etup\x20','v\x20var','NyMyr','.\x20👋\x0a','ge.js','g.log','og\x20st','ocess','32nWHjPx','\x20\x20Typ','les','edit\x20','\x0a⬡\x20Re','uwWLZ','\x20on\x20(','pHWQC','\x20the\x20','xEoPb','\x20vers','push','\x20unin','ve\x20al','env','2928665junYoe','(watc','\x20→\x20v','ions\x20','ewZTV','k-cha','ation','⬡\x20Upd','UPLIN','l\x20cle','qhhUZ','8\x20is\x20','avail','Key','audio','\x0a⬡\x20Al','eZPIi','t\x20v','ewkNm','versi','pt\x0a\x20\x20','not\x20f','promp','resta','nLabs','\x20\x20⬡\x20A','\x20item','m\x20(PI','ELEVE','UcXBC','-host','aded\x20','o\x20Edg','outpu','\x20hist','\x20Remo','\x20\x20Try','pm\x20up','uploa','ning\x20','\x20\x20⬡\x20','k\x20whe','\x20loca','NLABS','#\x20Sta','evenL','d\x20(PI','\x20read','nk-se','--no-','messa','eset)','n\x20iss','rtCou','led\x20t','dit\x20m','mffnn','opped','log\x20e','label','WYgVy','reada','\x20\x20Ser','node_','tions','.env.','art!','.0.0.','nd\x20me','hUKcn','help','xampl','modul','\x20fail','ning\x0a','\x20with','s...\x20','stdou','Yylen','\x0a\x20\x20Po','\x20\x20upl','unins','4BWWAle','searc','info','ns]\x0a\x0a','which','ues\x0a\x20','WenDt','GATEW','nwOcN','.env','\x0a\x20\x20Da','ing\x20m','HhZMD','e\x20\x20\x20\x20','wing\x20','\x20cach','\x1b[31m','\x20Usag','mlKoj','es\x20mi','isten','\x20\x20Ski','OmTxO','e...','pass','toppe','\x201\x202>','quire','ssing','eady\x20','\x20Diag','mples','http:','s\x20are','oads\x20','nhQsE','rt\x20--','ow\x20cu','ity.j','WwCXY','\x20inst','\x20defa','\x20\x20\x20Ch','cache','ble','inher','ound\x20','creat','Run\x20i','nk-ch','d-con','examp','ges-s','--por','it\x20.e','not\x20s','e\x20\x22re','il\x20th','SgIfy','in\x20us','ng\x20Up','yrYQU','ble)\x1b','ed\x20','requi','ach','amdfI','\x1b[33m','ult:\x20','t\x20N\x20\x20','--hel','reset','p\x20it\x20','plink','pid','ete.','\x0a⬡\x20Wa','...\x0a','ulPpT','knhpz','ncell','mode','us\x20\x20\x20','he\x20se','-f\x20\x20\x20','⬡\x20Cre','RVRZw','at\x0a\x0a\x20','apply','AAKtP','le\x20pa','SIGIN','\x20(PID','AY_TO','toUpp','\x20on\x20t','pdate','QrDug','JBkzp','\x20\x20⚠️\x20\x20','\x0a\x20\x20Ca','letel','l\x20NOT','/dev/','igure','log','_KEY','bEeDy','hen\x20t','ocal\x20','node','WilDl','repea','AY_UR','d\x20ser','k\x20Doc','\x20>=\x201','#\x20Upl','ailed','th:\x20','rmDGO','DtoWu','at\x0a','er\x20of','_DIR/','setup','\x20\x20Use','\x20subs','kGBhE','tor:\x20','e\x20glo','readl','des','o\x20sto','rt:\x20\x20','ey\x20—\x20','\x0a\x20\x20','-forc','ync.j','rt\x20on','EADDR','YcXJU','copy\x20','\x1b[90m','Eleve','et\x0a','ng\x20np','etect','\x20\x20\x20\x20','\x20\x20✓\x20R','strin','ackag','lean.','Udgcd','jthtr','linux','f\x20Upl','Uplin','VFAph','\x20runn','g\x20fil','13532830UrVaiL','sh\x20st','ta\x20wi','LQHgJ','m(con','p\x20Upl','destr','or\x0a\x20\x20','s/dir','\x20clea','KEN','ed\x20to','NylOp','ame','-watc','djLTV','INDcW','quest','detac','ector','\x0a\x20\x20No','DPBfK','emove','ta\x20di','o\x20ope','s\x20alr','parse','noWat','(serv','nd]\x20[','ear\x20—','Node.','led.','abs\x20k','nd\x20lo','to\x20bi','PID\x20','ons.j','recur','\x20Star','actio','...','bZhEE','nning','iEPsf','\x20\x20\x20\x20v','tchdo','ound.','docto','join','ver\x20(','mpany','BpjRC','_modu','host','\x20MB\x20f','_API_','8080\x20','split','+C\x20to','aemon','ata\x0a\x20','ZLQwA','erCas','share','ink-c','//127','uIjCw','onfig','cJDuy','how\x20(','ructo','y/upl','adcgI','\x20npx\x20','or\x20El','commo','r.log','HOST','CkzwK','token','a\x20dir','\x0a\x20\x20⬡\x20','files','backo','\x20Stop','th:\x20u','fore\x20','\x20#\x20Ed','YfUFY','hostn','\x20\x20\x20un','es\x20N\x20','cwd','free\x20','padEn','.upli','dajzz','\x20enab','t\x20wat','fGaHI','ync','rver.','esSVU','ons','filte','slice','nose\x20','runni','\x20.env','pXpra','o\x20con','k\x20has','subsc','set\x22\x20','stall','(PID\x20','Stop\x20','es\x20ex','\x20warn','GKfXQ','how\x20t','ink\x20i','\x20--ed','ath','tjVxQ','l\x20log','vLcEb','nfo\x20\x20','gDncF','misse','no\x20Op','d\x20\x20\x20\x20','hGyKa','eInte','m\x20pac',')\x0a\x20\x20\x20','and\x20a','ctor\x20','nosti','op\x20a\x20','\x20\x20→\x20h','anual','all','y)\x1b[0','\x0a⬡\x20Up','round','sHXEs','\x20/nob','m(unr','137467qoozUT','fstat','et\x20in','kIVHs','fig)\x0a','\x20edit','evice','\x20to\x20s','ink\x20d','ll\x22\x20t','\x20\x20\x20\x20d','not\x20b','ted\x20t','t\x20\x20\x20\x20','✓\x1b[0m','\x0a\x20\x20⚠️\x20','homed','3456','vKFpc','\x20(def',')+)+)','alloc','npx\x20u','v:\x20','xeQhJ','edit','s\x20and','g.pid','some','kgrou','code','ver\x20P','tchin','\x20/t\x201','set\x20\x20','⬡\x20Sho','sWith','\x20to\x20r','Clear','Disk\x20','mine\x20','moonc','FfLpg','hed','\x20\x20Or\x20','\x20(con','DwuMA','og\x20(P','ykXBU','toLow','\x20star','\x20\x20✓\x20S','..\x0a','GohNs','t\x20rea','mPKKg','yWnju','.exam','d-mes','\x208080','null\x20','data','er\x20ru','fail','error','\x20\x20Res','nks\x20f','g\x20@mo','qRkyX','WZTTN','ver\x20f','\x20\x20\x20\x20#','n\x20npm','top','insta','tion\x20','end','toStr','UJebh','Depen','js\x20ve','led)','irst:','\x20Numb','ce\x20/v','v,\x20co','SRHIj','\x20chec','ved.\x0a','bMvRN','lengt','oonco','bally','hat','muAfU','emium','--pat','es\x20in','on\x0a','l\x20—\x20v','file','inclu','utf8','input','\x20\x20\x20\x20i','ErKvW','ssage','\x20\x20Exp','hat\x20[','map','CREDE','VoRDy','ime:\x20','ion\x0a\x20','start','ple\x20.','\x20via\x20','could','This\x20','ng\x1b[0','\x20file','gyRZo','\x20\x20\x20\x20O','⬡\x20Fai','l\x20Upl','to\x20cl','-g\x20@m','\x20than','OPENA','emovi',':\x20v','art','VSpoK','HmdDn','\x0a\x20\x20Lo','tarts','\x20node','ault:','\x20--li','jJGSn','--for','zxaOi','1:187','reque','metho','\x20pass','compl','ig\x20\x20\x20','trim','Value','cript','12rucUja','port\x20','pJRvO','\x20in\x20e','UMuIq','exist','Zjusi','\x20in\x20','able','\x20\x20Upt','anoth','ink\x20s','#\x20Cle','\x20Show','lhost','meout','resum','⬡\x20Res','logs','pany/','kjqGv','sive','th\x20wa','ady\x20c','⬡\x20Ope','\x20manu','\x20mode','er\x20pr','de.js','yPvas','I_API','GET','\x20Uplo','art\x20m','ay\x20re','cEELy','0.0.0','-chat','_here','tarti','liste','\x20remo','backg','activ','fault','\x20\x20npx','\x20-g\x20@','rce,\x20','faile','ly:\x20n','ready','kage.','KhrMZ','.env\x20','\x20--no','\x20less','OpenA','ompan','\x20\x20\x20Sh',':\x20\x20\x20\x20','AcaZO','ttp:/','ree','nd\x20wa','2>&1','\x20conf','ed.\x20N','rt\x20th','\x20curr','rt\x0a\x20\x20','\x20\x20\x20St','Sync','r:\x20\x20\x20','\x20\x20Opt','QGhvm','sages','y:\x20','es...','direc','\x20\x20\x20\x20-','charA','your_','ink\x20w','match','s\x20run','K_HOS','****','bXFQC','RMmJH','rash.','d\x20DAT','one.\x0a','Host\x20','ile)','e\x0a\x20\x20\x20','k\x20Uni','able\x20','edAt','||\x20ti','firm:','\x20\x20\x20--','/loca','tion\x0a','\x0a\x20\x20In','ing','\x20\x20Aut','ed\x20me','\x20stop',',\x20PID','WKsUq','chdog','estar','once','o\x0a\x0a\x20\x20','\x20crea','ver\x20l','the\x20l','qQAEk','252168pmcmGo','\x20upli','test\x20','ink\x20C','.json','ll\x20','⬡\x20Sto','zuCUd','ssed','cs\x0a\x20\x20','dog','serve','\x20\x20v','GVQFI','\x20\x20\x20\x20•','k\x20Inf','ts\x20(r','rface','versa','defau','rksHu','ion','confi','rent\x20','o-res','son','TTS\x20m','\x20Fail','npm\x20u','A_DIR','r\x20its','ENwkA','\x20—\x20ru','nes\x0a\x20','--edi','EceSK','pohNQ','r\x20and','atchd','UzCfo','execP','cQaRH','wPuCV','\x20\x20Set','erver','ZLokN','ve\x20ag','PyVeg','orm','Updat','ed,\x20','denci','ogs\x20i','space','platf','detai','g\x20was','ine','last\x20','\x20your','out\x20a','IgmSQ','\x20logs','\x20\x20Run','empty','⬡\x20Aut','path','d.\x20St','[0m','ated','PORT','0.0)\x0a','ally:','oioPb','JWbyS','tMBPL','cal\x20d','now','k\x20—\x20L','eeSpa','ed:\x20\x20','\x20\x20✗\x20F','s\x20wil','figur','\x20Miss','\x20been','e\x20is\x20','PASSW','premi','oncom','vatar','#\x20Run','AI\x20Ch','packa','ent\x20a','\x20data','\x20Chat','nk-wa','e\x20ser','nd\x20to','ies','link.','.migr','NONuq','floor','s\x20but','nv\x20in','stopp','elf\x0a','\x20\x1b[31','DBdFO','nstal','UMfoS','\x20audi','hat\x20c','⬡\x20No\x20','qFHPA','o\x20fil','stdin','GcPOq','ly\x20wi','ing\x20U','uplin','\x20for\x20','\x20@moo','\x20\x20\x20np','teway','PDMPR','s\x20not','igura','pping','DlKIh','log\x20f','6798666CRVjLt','LyCeH','\x0a\x20\x20\x20\x20','ree\x20—','stdio','close','qkBgd','ected','ay\x20be','force','\x20\x20Wat','r\x20(de','size','date\x20','achab','n\x20edi','--hos','watch','reak\x20','\x0a\x20\x20Ho','ks\x20pa','nd\x20(d','\x20npm\x20','for\x20r','or\x20us','LDCBH','thout','\x20\x20Thi','\x20\x20\x20\x20S','npm\x20p','\x20PID:','iMiID','ail\x20-','\x20Port','glanc','\x20stat','ate\x20o','\x20DATA','at\x20re','XlpdK','bomyB','\x20\x1b[32','ated\x20','g.jso','statu','ch,\x20-','ile\x20f','at\x20a\x20','\x20chat','50)\x0a\x20','MefTc','\x20The\x20','urati','\x20info','ignor','\x20\x20Sta','umKey','jnmMs','(((.+','exit','sion','e\x20to\x20','(empt','\x20--fo','rmcXA','re\x20\x22D','—\x20run','optio','and\x20c','ZpDZP','notep','ken','WSKyS','16515IDwfcG','wThEt','d\x20.en','publi','⬡\x20Upl','⬡\x20.en','ripti','\x20\x20Sto','warn','\x0a\x20\x20Pr','ory\x20a','\x20line','aldis','lled','argv','opEah','rver\x20','ggwsE','ions:','d\x20dat','c/aud','\x20\x20Cre','ID:\x20\x20','g\x20(au','sync-','stop','port','canno','dog.j','WSPlB','mqPof','to-re','lbrYt','ay\x20to','ar\x20da','\x0a\x20\x20Pa','rPid','\x20to\x20l','\x20—\x20No','\x20\x20\x20#\x20','push-','✗\x1b[0m','elp\x0a\x0a','win32','at\x20do','SIGTE','necte','gify','kill','index','disk\x20','TTS\x20A','on:\x20v','st:\x20\x20','lczku',':\x0a\x20\x20\x20','jDoUJ','runs.','d\x20in\x20','hdog\x20','mands','comma','tSCDb','mFypJ','cking','\x20not\x20','ing.','--lin','\x20limi','ng\x20wi','logs,','the\x20s','at\x20--','BsHLU','openS','\x20\x20Tha','media','.\x20Fre','his\x20h','koff:','firma','p\x20con','Tail\x20','he\x20Up','ch\x20','GgyDO','\x20or\x20e','timeo','thPls','\x20H\x20\x20\x20','setsi','tart\x20','ge.','\x0a\x20\x20Ga','3573675cqGBxP','\x20EDIT','readS','ig\x20--','SECRE','eServ','k\x20ser'];_0x4c24=function(){return _0x4f867a;};return _0x4c24();}for(let i=-0x20f1+0x3b6+0x1d3b;i<args[_0x261234(0xdd,0x206)+'h'];i++){args[i]===_0x300bcb(0x5a6,0x5f2)+'t'&&args[i+(0x155c+0xd7a+-0x22d5)]&&(flags[_0x300bcb(0x499,0x2a3)]=parseInt(args[i+(0xeb*0x8+-0x20f4+-0x1*-0x199d)],0x8*0x4a3+0x23ef+-0x48fd),i++),args[i]===_0x300bcb(0x446,0x3c8)+'t'&&(flags['host']=args[i+(-0x412+-0x29*0xda+0x26fd)]||_0x261234(0x13e,0x240)+'.0',i++),(args[i]===_0x261234(0x396,0x1ae)+'p'||args[i]==='-h')&&(flags[_0x261234(0x344,0x3d5)]=!![]),(args[i]==='--ver'+_0x300bcb(0x472,0x2f9)||args[i]==='-v')&&(flags[_0x261234(0x311,0x4b3)+'on']=!![]),(args[i]==='--det'+_0x261234(0x391,0x36f)||args[i]==='-d')&&(flags['detac'+'h']=!![]),args[i]===_0x300bcb(0x550,0x615)+_0x261234(0x226,0x3cd)+_0x261234(0x19a,0x186)&&(flags['noWat'+_0x300bcb(0x3a9,0x1e1)]=!![]),args[i]===_0x300bcb(0x4c2,0x6c2)+'es'&&args[i+(-0x3bc*-0x8+-0x1558*-0x1+-0x3337)]&&(flags[_0x261234(0x2cc,0x250)]=parseInt(args[i+(0x21d0+0x224a+-0x4419)],0x406+0x1223*-0x1+0xe27),i++),args[i]===_0x300bcb(0x3d3,0x500)+'t'&&(flags['edit']=!![]),args[i]===_0x261234(0xe3,0x2e3)+'h'&&(flags[_0x300bcb(0x3f3,0x548)]=!![]),(args[i]===_0x261234(0x10f,0x156)+'ce'||args[i]==='-f')&&(flags[_0x261234(0x21e,0x41b)]=!![]);}if(flags[_0x300bcb(0x532,0x6a5)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x261234(0x2eb,0x14a)+'on'));console[_0x261234(0x3b9,0x39a)](_0x261234(0x20a,0x345)+'k-cha'+_0x261234(0x30f,0x144)+pkg[_0x300bcb(0x532,0x487)+'on']),process['exit'](0x24*-0x10d+-0x16f*0x13+0x4111);}function _0x261234(_0x54cae7,_0x2e0f7e){return _0x4d77(_0x54cae7- -0x139,_0x2e0f7e);}flags[_0x300bcb(0x565,0x53f)]&&(console['log']('\x0a\x20\x20⬡\x20'+'Uplin'+_0x261234(0x1de,0x1e0)+_0x261234(0x3bd,0x484)+_0x300bcb(0x40d,0x53f)+_0x261234(0x3a7,0x4b3)+_0x261234(0x361,0x225)+_0x300bcb(0x4eb,0x4cf)+_0x261234(0x34e,0x17a)+_0x261234(0x432,0x4ad)+_0x300bcb(0x310,0x3f1)+_0x300bcb(0x4bc,0x349)+_0x300bcb(0x62f,0x44f)+_0x300bcb(0x479,0x599)+_0x300bcb(0x574,0x627)+'\x20\x20Com'+_0x261234(0x29a,0x3af)+_0x300bcb(0x4b6,0x61d)+_0x261234(0xb5,-0xb4)+_0x261234(0x90,-0x162)+_0x261234(0x160,0x1a7)+'art\x20t'+_0x300bcb(0x4d2,0x567)+'link\x20'+_0x300bcb(0x3bc,0x2c8)+_0x300bcb(0x441,0x2ac)+_0x300bcb(0x367,0x514)+_0x261234(0x479,0x4cc)+_0x300bcb(0x3a6,0x3da)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20St'+_0x300bcb(0x69e,0x6dc)+_0x300bcb(0x67e,0x5a8)+_0x300bcb(0x5ad,0x6ce)+'link\x20'+_0x261234(0x19b,0x294)+'r\x0a\x20\x20\x20'+_0x261234(0x238,0x9a)+_0x300bcb(0x5c3,0x58d)+_0x300bcb(0x59b,0x4b2)+'eck\x20i'+_0x300bcb(0x60d,0x504)+_0x261234(0x46b,0x4ae)+_0x300bcb(0x38f,0x21a)+_0x261234(0x348,0x2a7)+_0x300bcb(0x30c,0x13d)+_0x300bcb(0x692,0x81d)+_0x300bcb(0x501,0x66f)+_0x261234(0x127,0x162)+_0x300bcb(0x37f,0x4b4)+'ent\x20s'+_0x300bcb(0x508,0x407)+_0x261234(0x244,0x307)+_0x300bcb(0x458,0x28a)+_0x300bcb(0x399,0x538)+_0x261234(0x1ce,0x278)+_0x261234(0x2e0,0x263)+'\x20\x20\x20Ta'+_0x300bcb(0x5aa,0x70e)+_0x261234(0x1f2,0x2ac)+_0x300bcb(0x3ae,0x55d)+_0x300bcb(0x3e5,0x352)+'n\x20rea'+'l\x20tim'+_0x300bcb(0x399,0x1f6)+_0x261234(0x15b,0x26c)+_0x300bcb(0x337,0x307)+_0x300bcb(0x375,0x447)+_0x261234(0x375,0x1ba)+'rrent'+_0x261234(0x15b,0x2eb)+_0x261234(0x211,0x3d8)+_0x300bcb(0x3a1,0x328)+_0x261234(0x8d,0x92)+'octor'+_0x261234(0x2e0,0xef)+_0x261234(0x36e,0x1df)+_0x300bcb(0x67d,0x4a9)+_0x261234(0x43d,0x3c3)+_0x261234(0x332,0x36a)+_0x300bcb(0x576,0x55a)+'\x20\x20\x20re'+_0x300bcb(0x2c6,0x425)+_0x261234(0x2e0,0x3d7)+_0x300bcb(0x2ca,0x452)+_0x300bcb(0x466,0x26e)+_0x261234(0x320,0x4a3)+_0x261234(0x268,0x8a)+_0x300bcb(0x634,0x7c7)+_0x261234(0x1dc,0x2bb)+_0x300bcb(0x64f,0x7fe)+'\x20\x20\x20up'+_0x300bcb(0x443,0x524)+_0x300bcb(0x501,0x460)+_0x261234(0x1c1,0xc)+_0x261234(0x252,0x1ad)+_0x261234(0x18e,-0x42)+'atest'+'\x20vers'+'ion\x0a\x20'+_0x261234(0x44c,0x473)+'insta'+'ll\x20\x20\x20'+_0x300bcb(0x687,0x6ea)+_0x300bcb(0x3bc,0x3f0)+_0x261234(0x1b5,0x3a2)+_0x300bcb(0x364,0x2a3)+_0x300bcb(0x51d,0x460)+_0x300bcb(0x320,0x26f)+_0x300bcb(0x2ac,0x390)+'ata\x0a\x0a'+_0x300bcb(0x384,0x303)+_0x261234(0x270,0x435)+_0x261234(0x217,0x150)+_0x261234(0x385,0x2c8)+_0x261234(0x395,0x3c6)+_0x261234(0x2e0,0x2e7)+_0x261234(0x236,0x26c)+_0x300bcb(0x4a4,0x4e6)+_0x300bcb(0x585,0x708)+_0x300bcb(0x516,0x3d8)+'defau'+'lt:\x203'+'456)\x0a'+'\x20\x20\x20\x20-'+_0x261234(0x31c,0x466)+_0x261234(0x2b7,0x1d3)+_0x300bcb(0x501,0x6f0)+_0x261234(0x176,0x1e8)+_0x261234(0x414,0x2f9)+_0x261234(0x1f3,0x85)+_0x300bcb(0x2b7,0x46f)+_0x261234(0x10c,0x6d)+'\x200.0.'+_0x261234(0x1d7,0x106)+_0x261234(0x169,0xf4)+'-deta'+_0x300bcb(0x463,0x55a)+_0x300bcb(0x696,0x4d5)+_0x261234(0x380,0x4f5)+'n\x20bac'+_0x261234(0xa0,0x79)+_0x300bcb(0x44b,0x2cc)+_0x300bcb(0x64e,0x6c0)+_0x261234(0x134,-0xb5)+_0x300bcb(0x69a,0x7d6)+_0x300bcb(0x371,0x4a1)+_0x261234(0x3ff,0x41d)+_0x300bcb(0x4ba,0x33c)+_0x261234(0x1cf,0xf4)+_0x261234(0x349,0x1fc)+_0x261234(0x1cc,0x107)+_0x261234(0x2e5,0x427)+_0x300bcb(0x3aa,0x35b)+_0x261234(0x454,0x561)+_0x300bcb(0x3a9,0x598)+'\x0a\x20\x20\x20\x20'+_0x300bcb(0x4c2,0x4ae)+_0x300bcb(0x66e,0x823)+_0x261234(0x2e0,0x4cf)+_0x300bcb(0x2f7,0x1bc)+_0x261234(0x3cb,0x328)+'\x20log\x20'+'lines'+_0x300bcb(0x6af,0x587)+_0x261234(0x437,0x5ea)+_0x300bcb(0x4c5,0x44a)+_0x300bcb(0x59a,0x577)+_0x261234(0x394,0x4cc)+_0x300bcb(0x467,0x2a9)+_0x300bcb(0x39f,0x546)+_0x261234(0x2f2,0x1d9)+_0x300bcb(0x501,0x6b9)+_0x261234(0xfd,0x16a)+'pen\x20c'+'onfig'+_0x261234(0x11d,0x15d)+'ditor'+_0x300bcb(0x2d1,0xf4)+_0x261234(0x48b,0x364)+_0x261234(0x169,0x178)+'-path'+_0x300bcb(0x501,0x475)+'\x20\x20\x20\x20\x20'+'Print'+_0x300bcb(0x37c,0x3aa)+'ig\x20fi'+_0x261234(0x3aa,0x37c)+'th\x20(c'+_0x261234(0x435,0x58d)+_0x300bcb(0x69a,0x696)+_0x300bcb(0x475,0x4d3)+_0x300bcb(0x36a,0x1e0)+_0x261234(0x3a4,0x398)+_0x261234(0x365,0x305)+_0x300bcb(0x4d0,0x68d)+_0x300bcb(0x4cf,0x3fe)+_0x300bcb(0x2ef,0x3e1)+_0x300bcb(0x535,0x412)+_0x261234(0x1a0,0xc3)+(_0x300bcb(0x552,0x5f2)+_0x300bcb(0x438,0x470)+'-v\x20\x20\x20'+'\x20\x20\x20\x20\x20'+_0x261234(0x2e0,0x3b4)+_0x261234(0x127,0x325)+_0x300bcb(0x51a,0x3e4)+_0x261234(0xf4,-0xc0)+'\x20\x20\x20-h'+_0x261234(0x2e0,0xf9)+_0x261234(0x2e0,0x494)+_0x300bcb(0x452,0x5ed)+_0x261234(0x46a,0x484)+_0x300bcb(0x4cd,0x4c8)+_0x261234(0x288,0x32e)+'\x20\x20Exa'+_0x300bcb(0x590,0x6dd)+_0x300bcb(0x4b6,0x65b)+_0x261234(0x43b,0x437)+_0x261234(0x20a,0x2ae)+'k-cha'+'t\x20\x20\x20\x20'+_0x300bcb(0x501,0x3f6)+_0x300bcb(0x501,0x57e)+_0x261234(0xca,0x18a)+_0x261234(0x418,0x28d)+'t\x20on\x20'+_0x300bcb(0x3c4,0x5a4)+'lt\x20po'+_0x300bcb(0x380,0x52e)+_0x300bcb(0x368,0x41d)+_0x300bcb(0x3b2,0x584)+_0x261234(0x381,0x27a)+_0x300bcb(0x4c7,0x5da)+_0x300bcb(0x33c,0x1dc)+_0x300bcb(0x64b,0x6e2)+'\x20\x20\x20\x20\x20'+_0x261234(0x32a,0x342)+_0x261234(0x3db,0x1da)+'\x20port'+_0x261234(0xbe,-0x8e)+_0x261234(0x217,0x365)+_0x261234(0x99,0x1ce)+_0x261234(0x399,0x43d)+_0x300bcb(0x360,0x2fd)+_0x300bcb(0x3a6,0x3e7)+'\x20\x20\x20\x20\x20'+_0x261234(0x2e0,0x104)+'\x20\x20\x20#\x20'+'Stop\x20'+_0x261234(0x2a5,0x25f)+_0x261234(0x1bc,0x1b5)+_0x300bcb(0x438,0x60a)+_0x300bcb(0x2ba,0x47b)+'plink'+_0x261234(0x13f,0x2de)+'\x20info'+_0x261234(0x2e0,0x355)+_0x261234(0x2e0,0x4ca)+_0x300bcb(0x4a6,0x648)+'Show\x20'+_0x261234(0x3cd,0x259)+_0x300bcb(0x46b,0x49c)+_0x300bcb(0x438,0x538)+'npx\x20u'+_0x261234(0x399,0x44c)+_0x261234(0x13f,0x2bc)+'\x20logs'+_0x261234(0x10d,-0x59)+'nes\x201'+'00\x20#\x20'+_0x261234(0x2b0,0x2d8)+'last\x20'+'100\x20l'+'og\x20li'+_0x261234(0x1b1,0x385)+_0x261234(0x20d,0x22e)+_0x261234(0x2d7,0x4d8)+_0x261234(0x432,0x450)+_0x300bcb(0x423,0x5e7)+_0x300bcb(0x656,0x687)+_0x300bcb(0x68d,0x749)+'it\x20\x20\x20'+_0x261234(0x449,0x383)+_0x300bcb(0x5a7,0x47c)+_0x300bcb(0x41b,0x4cf)+_0x300bcb(0x3ec,0x25e)+_0x261234(0x48c,0x3a0)+_0x300bcb(0x619,0x57d)+_0x300bcb(0x368,0x47e)+_0x261234(0x191,0x5f)+_0x300bcb(0x5a2,0x780)+_0x300bcb(0x4ab,0x51d)+_0x261234(0x47b,0x484)+_0x261234(0x2e0,0x4ab)+'\x20\x20\x20\x20\x20'+_0x300bcb(0x40c,0x24d)+'\x20diag'+_0x261234(0x47c,0x28a)+_0x300bcb(0x3ba,0x536)+_0x300bcb(0x368,0x1ba)+_0x261234(0x191,0x285)+'nk-ch'+_0x300bcb(0x45c,0x5ac)+'set\x20-'+_0x261234(0x3d9,0x51c)+_0x300bcb(0x57e,0x397)+_0x300bcb(0x347,0x16a)+_0x300bcb(0x4a1,0x62c)+_0x300bcb(0x614,0x77e)+_0x300bcb(0x450,0x4ed)+'\x20prom'+_0x300bcb(0x533,0x3ac))),process[_0x261234(0x250,0x126)](-0x76c+0x3*-0x91c+-0x116*-0x20));function isRunning(_0x2a345f){const _0x26b2b9={};function _0x105ccf(_0xa24a9e,_0x285d27){return _0x261234(_0x285d27- -0xcc,_0xa24a9e);}function _0x1688cc(_0x3c9d0c,_0x2234ee){return _0x261234(_0x2234ee-0x3b6,_0x3c9d0c);}_0x26b2b9[_0x105ccf(-0x1bb,0x15)]='utf8',_0x26b2b9[_0x105ccf(0x4b1,0x386)]=_0x1688cc(0x5d5,0x505)+_0x1688cc(0x39f,0x49d),_0x26b2b9[_0x105ccf(0x171,0x331)]=_0x1688cc(0x683,0x4d5)+_0x1688cc(0x2ad,0x453)+_0x105ccf(0x1bb,0x261)+_0x105ccf(-0xc7,0x56),_0x26b2b9[_0x105ccf(0x2d2,0x2ef)]=_0x1688cc(0x5d4,0x4d5)+_0x105ccf(0x197,0x12d)+_0x1688cc(0x638,0x655)+_0x1688cc(0x6c5,0x6f1)+_0x105ccf(0xdf,0x2b0),_0x26b2b9[_0x105ccf(0x20c,0x280)]=function(_0x2c1a23,_0x28417a){return _0x2c1a23===_0x28417a;};const _0x238a76=_0x26b2b9;try{return process[_0x1688cc(0x66c,0x644)](_0x2a345f,-0x1*-0x4f2+0x632+0x3e*-0x2e),!![];}catch{if(_0x238a76['Yylen'](_0x1688cc(0x87a,0x75f),_0x105ccf(0x209,0x2dd)))return![];else try{_0x59bf51(_0x16f4bc,_0x238a76['muAfU']),_0x505648(_0x238a76[_0x105ccf(0x55d,0x386)],_0x238a76[_0x105ccf(0x3df,0x331)]);}catch{_0x354d28(_0x238a76['dajzz'],_0x238a76[_0x1688cc(0x667,0x771)]);}}}function getPid(){const _0x7bf394={'idKQN':_0xc1c579(0x214,0x15b)+'RM','UzCfo':function(_0x4ae3b1,_0xc0de9){return _0x4ae3b1(_0xc0de9);},'esNoG':function(_0x55c107,_0x5dba16,_0x38bd88){return _0x55c107(_0x5dba16,_0x38bd88);},'ZLQwA':function(_0x39f146,_0x222336,_0x1786f5){return _0x39f146(_0x222336,_0x1786f5);},'rmDGO':_0xc1c579(-0x1af,-0x47),'QGhvm':function(_0x2a5b59,_0x48a489){return _0x2a5b59===_0x48a489;},'yWnju':_0xc1c579(-0xd9,0x8a),'MEpBU':function(_0x540017,_0x3872d8){return _0x540017(_0x3872d8);}};if(!_0x7bf394[_0xc1c579(0x1f7,0x87)](existsSync,PID_FILE))return null;const _0x8938c6=_0x7bf394['esNoG'](parseInt,_0x7bf394[_0x99929f(0x2c7,0x3b2)](readFileSync,PID_FILE,_0x7bf394[_0x99929f(0x260,0xf5)])['trim'](),0x1abe+-0xe41*0x1+-0xc73);if(isNaN(_0x8938c6)||!_0x7bf394[_0xc1c579(-0xc0,0x87)](isRunning,_0x8938c6)){if(_0x7bf394[_0x99929f(-0x4,0x5c)](_0xc1c579(0x130,0x1e0),_0x7bf394[_0x99929f(-0xad,0xdf)]))_0x4d20cf[_0x99929f(0x126,0xb8)](_0x4f7ad7,_0x7bf394['idKQN']),_0x5c510a[_0xc1c579(0x463,0x289)]('\x20\x20✓\x20S'+'toppe'+_0x99929f(0x25a,0x452)+_0xc1c579(0x13e,0x2f3)+_0xc1c579(0x232,0x2e5)+_0x1e157b+')');else{try{_0x7bf394['MEpBU'](unlinkSync,PID_FILE);}catch{}return null;}}function _0xc1c579(_0x23e5ac,_0x2fa93f){return _0x300bcb(_0x2fa93f- -0x351,_0x23e5ac);}function _0x99929f(_0x47014d,_0x43eb4d){return _0x300bcb(_0x47014d- -0x389,_0x43eb4d);}return _0x8938c6;}function getWatchdogPid(){const _0x507759={'WKsUq':function(_0x4f125d,_0x2ec953,_0x310e7c){return _0x4f125d(_0x2ec953,_0x310e7c);},'cJDuy':function(_0x477e2c,_0x52597e){return _0x477e2c(_0x52597e);},'DPBfK':function(_0xf04422,_0xa796cf){return _0xf04422(_0xa796cf);},'ykXBU':'TfeSm','yrYQU':_0x2d867c(0x849,0x755),'iEPsf':function(_0x1b39bd,_0x1a24f4){return _0x1b39bd!==_0x1a24f4;},'qsBLE':_0x20882f(0xcd,0x4a),'hUKcn':_0x2d867c(0x59e,0x79d),'lbrYt':function(_0x1acd8,_0x1b1d34){return _0x1acd8(_0x1b1d34);}};function _0x20882f(_0x47a6fe,_0x3581e0){return _0x300bcb(_0x47a6fe- -0x246,_0x3581e0);}function _0x2d867c(_0x37049d,_0x20c751){return _0x300bcb(_0x37049d-0x2b5,_0x20c751);}if(!_0x507759[_0x20882f(0x411,0x40f)](existsSync,WATCHDOG_PID_FILE))return null;const _0x1da478=_0x507759[_0x2d867c(0x65d,0x7f0)](parseInt,_0x507759[_0x20882f(0x162,0x17a)](readFileSync,WATCHDOG_PID_FILE,'utf8')[_0x2d867c(0x5ed,0x6b1)](),0x12c8+0x6*0x45a+-0x2cda*0x1);if(_0x507759[_0x20882f(0x3e1,0x4f1)](isNaN,_0x1da478)||!_0x507759[_0x20882f(0x411,0x38a)](isRunning,_0x1da478)){if(_0x507759[_0x2d867c(0x589,0x4e7)]===_0x507759[_0x20882f(0x368,0x244)])_0x44e5fe[_0x20882f(0x394,0x372)](_0x20882f(0x45d,0x3c2)+_0x20882f(0x1fd,0x37)+_0x20882f(0xf0,0x58)+_0x2d867c(0x871,0x765));else{try{_0x507759[_0x2d867c(0x8f3,0x838)](_0x507759['qsBLE'],_0x507759[_0x2d867c(0x819,0x870)])?_0x507759[_0x2d867c(0x754,0x837)](unlinkSync,WATCHDOG_PID_FILE):(_0x4b7173[_0x20882f(0x253,0x12b)]=eIYzDh[_0x2d867c(0x65d,0x720)](_0x3b2a14,_0x427726[_0x1fb9c1+(-0x62*0x32+0x16f6+0x1*-0x3d1)],-0x1*-0xaa4+-0x10*-0x151+-0x1faa),_0x948d47++);}catch{}return null;}}return _0x1da478;}function getWatchdogState(){const _0x4b3b52={'qhhUZ':'SIGTE'+'RM','bMvRN':function(_0x17d8a1,_0x4d5455){return _0x17d8a1||_0x4d5455;},'oYFal':'serve'+'r','amdfI':_0x3a76ab(0x563,0x63f)+'dog.j'+'s','UMuIq':function(_0x391ac8,_0x27a26d){return _0x391ac8(_0x27a26d);},'kjqGv':function(_0x132181,_0x9a9762,_0x3fb425,_0x463844){return _0x132181(_0x9a9762,_0x3fb425,_0x463844);},'rksHu':_0x3a76ab(0x6e8,0x5dd)+'T','Zbvib':function(_0x9a572e,_0x5b406d){return _0x9a572e===_0x5b406d;},'sHXEs':_0x3a76ab(0x699,0x863),'kIVHs':function(_0x9c6b42,_0x4eb29e,_0x387f6d){return _0x9c6b42(_0x4eb29e,_0x387f6d);},'ozotw':_0x3a76ab(0x426,0x3ff),'aGCuL':function(_0x9890f6,_0x1f477d){return _0x9890f6!==_0x1f477d;},'WenDt':_0x3a76ab(0x64b,0x7c4)};if(!_0x4b3b52[_0x3a76ab(0x45b,0x38c)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x107f9d(_0x216beb,_0x4fa336){return _0x261234(_0x4fa336-0x3b6,_0x216beb);}function _0x3a76ab(_0x2e1d13,_0x15c08b){return _0x261234(_0x2e1d13-0x33d,_0x15c08b);}try{if(_0x4b3b52['Zbvib'](_0x4b3b52[_0x3a76ab(0x7c1,0x6a9)],_0x4b3b52[_0x3a76ab(0x7c1,0x885)]))return JSON['parse'](_0x4b3b52[_0x107f9d(0x8f1,0x840)](readFileSync,WATCHDOG_STATE_FILE,_0x4b3b52['ozotw']));else _0x2e2669['error']('\x20\x20✗\x20F'+_0x3a76ab(0x703,0x637)+_0x3a76ab(0x3e5,0x3d9)+'emove'+'\x20'+_0x10446d+':\x20'+_0x22e179['messa'+'ge']);}catch{if(_0x4b3b52['aGCuL'](_0x4b3b52[_0x107f9d(0x8c0,0x70c)],'eZPIi')){const _0x77bca1={'NRQSL':_0x4b3b52[_0x107f9d(0x6bf,0x6be)],'PDMPR':function(_0x224ee3,_0x31771f){function _0xe84d67(_0x42123e,_0x48f1e6){return _0x3a76ab(_0x48f1e6-0x17d,_0x42123e);}return _0x4b3b52[_0xe84d67(0x736,0x596)](_0x224ee3,_0x31771f);}},_0x539b2d=_0x28d6d8(_0x4407e3,_0x4b3b52['oYFal'],_0x4b3b52[_0x107f9d(0x86a,0x748)]),_0x12d286={};if(_0x28c157['port'])_0x12d286[_0x107f9d(0x77d,0x58c)]=_0x4b3b52[_0x3a76ab(0x45b,0x2c3)](_0x51d59c,_0x42c3d7[_0x107f9d(0x623,0x62e)]);if(_0x3a577b['host'])_0x12d286[_0x107f9d(0x52c,0x6bc)+_0x3a76ab(0x4ac,0x4b4)+'T']=_0x26fb5c[_0x107f9d(0x708,0x7dd)];const _0x46f467={};_0x46f467['cwd']=_0x52eaf3,_0x46f467[_0x3a76ab(0x63a,0x54a)]=_0x54af58,_0x46f467[_0x3a76ab(0x556,0x637)]='inher'+'it';const _0x18a55d=_0x4b3b52[_0x3a76ab(0x46b,0x587)](_0x496e1f,_0xcd5fbd[_0x107f9d(0x604,0x56e)+_0x107f9d(0x82d,0x823)],[_0x539b2d,_0x50f3ea['strin'+_0x3a76ab(0x5ca,0x425)](_0x12d286)],_0x46f467),_0x1c692=_0x1531d2['port']||_0x1db309['PORT']||0x1*0x20c2+0x4*-0x7be+0x5db*0x2;_0x4cad75['log'](_0x3a76ab(0x59f,0x555)+_0x3a76ab(0x462,0x51d)+'tarti'+_0x3a76ab(0x5e0,0x5e2)+'th\x20wa'+_0x3a76ab(0x75c,0x6a1)+'g\x20(au'+_0x3a76ab(0x5ba,0x475)+_0x107f9d(0x4c1,0x4ab)+_0x107f9d(0x81f,0x809)+_0x3a76ab(0x411,0x3b1)),_0x2f3023[_0x3a76ab(0x6f6,0x6d5)]('\x20\x20→\x20h'+'ttp:/'+_0x3a76ab(0x4bc,0x61a)+_0x3a76ab(0x465,0x383)+':'+_0x1c692),_0x10ad84['log'](_0x107f9d(0x72f,0x784)+_0x3a76ab(0x48d,0x5c1)+_0x3a76ab(0x73c,0x78a)+_0x107f9d(0x5e7,0x64f)+_0x107f9d(0x519,0x5e2)+_0x107f9d(0x6d3,0x67e)+'rver\x20'+_0x3a76ab(0x6de,0x4e5)),_0x541ad9['on'](_0x4b3b52[_0x107f9d(0x623,0x55a)],()=>{function _0x2544fb(_0x373034,_0x9c4edf){return _0x3a76ab(_0x373034- -0x598,_0x9c4edf);}_0x18a55d[_0x2544fb(0x33,0xd9)](_0x77bca1['NRQSL']);}),_0x4f9077['on']('SIGTE'+'RM',()=>{function _0x51da0a(_0x248566,_0x11230b){return _0x107f9d(_0x11230b,_0x248566- -0x1b8);}function _0x46efca(_0x5f31d7,_0x4566b1){return _0x107f9d(_0x5f31d7,_0x4566b1- -0x5bf);}_0x18a55d[_0x51da0a(0x48c,0x42a)](_0x4b3b52[_0x46efca(0x2a1,0xff)]);}),_0x18a55d['on'](_0x3a76ab(0x58d,0x39a),_0x14857f=>{function _0x238cc1(_0x5ef700,_0x4c8bbf){return _0x3a76ab(_0x4c8bbf-0x5a,_0x5ef700);}_0x11a910['exit'](_0x77bca1[_0x238cc1(0x516,0x5a6)](_0x14857f,-0x31e+-0x2d*-0xa3+-0x1989*0x1));});}else return null;}}function formatUptime(_0x1eb594){const _0x589c9a={};_0x589c9a[_0x27f2c9(0x5be,0x63b)]=function(_0x24ad8a,_0xdf45c){return _0x24ad8a/_0xdf45c;};function _0x27f2c9(_0x57faf9,_0x4eb866){return _0x261234(_0x4eb866-0x4ca,_0x57faf9);}_0x589c9a[_0x27f2c9(0x45c,0x582)]=function(_0x19276a,_0x279b4e){return _0x19276a%_0x279b4e;},_0x589c9a[_0x27f2c9(0x914,0x745)]=function(_0x380bf3,_0x7478ae){return _0x380bf3>_0x7478ae;},_0x589c9a[_0x27f2c9(0x814,0x89a)]=function(_0x3ef9e0,_0x35fa57){return _0x3ef9e0%_0x35fa57;};const _0x4ba056=_0x589c9a,_0x3cbc3b=Math['floor'](_0x4ba056['bXFQC'](_0x1eb594,0x2000+0x1*0xbe8+-0x2800)),_0x32e80e=Math[_0x27f2c9(0x6f1,0x6c2)](_0x4ba056[_0x27f2c9(0x469,0x63b)](_0x3cbc3b,-0xa7c+-0x10d4+0x1b8c)),_0x32342e=Math['floor'](_0x4ba056[_0x17c9e2(0x252,0x156)](_0x32e80e,-0x1130+-0x1*0xb61+-0x1ccd*-0x1)),_0x52c726=Math['floor'](_0x32342e/(0x7*0x47+0x14e4+0x16bd*-0x1));function _0x17c9e2(_0x1ec8f4,_0x45956a){return _0x261234(_0x1ec8f4-0xe1,_0x45956a);}if(_0x52c726>0x1a6f+-0x3f5+-0x167a)return _0x52c726+'d\x20'+_0x4ba056[_0x27f2c9(0x714,0x582)](_0x32342e,0x653+-0x284*-0x3+-0xdc7)+'h\x20'+_0x32e80e%(-0x11*0x83+0x6*-0x2c2+0x251*0xb)+'m';if(_0x4ba056['WSPlB'](_0x32342e,0x1b*0x15a+0x8e4+-0x2d62))return _0x32342e+'h\x20'+_0x32e80e%(-0x1a21*-0x1+-0x163d+-0x3a8)+'m\x20'+_0x4ba056[_0x27f2c9(0x6f0,0x89a)](_0x3cbc3b,0x1098+-0x5f9+-0xa63)+'s';if(_0x32e80e>-0x109d+0x188b+-0x7ee)return _0x32e80e+'m\x20'+_0x4ba056[_0x17c9e2(0x4b1,0x617)](_0x3cbc3b,-0x512*-0x2+0x1*-0x24f3+0x1b0b)+'s';return _0x3cbc3b+'s';}if(command==='stop'){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process[_0x300bcb(0x4af,0x60c)](watchdogPid,_0x261234(0x28b,0x319)+'RM'),console[_0x300bcb(0x5da,0x6b5)](_0x300bcb(0x483,0x43b)+_0x300bcb(0x38d,0x265)+_0x261234(0x1b6,0x37b)+_0x261234(0x2ed,0x471)+_0x261234(0x337,0x1fa)+_0x261234(0x3ac,0x4b0)+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x3a9fcb){console['error']('⬡\x20Fai'+_0x261234(0x334,0x2e2)+_0x300bcb(0x5f6,0x468)+_0x261234(0x3f6,0x202)+'ink\x20w'+_0x261234(0x1b6,0x2e5)+_0x261234(0xb2,0x215)+'ID\x20'+watchdogPid+'):',_0x3a9fcb[_0x261234(0x330,0x3e3)+'ge']),process['exit'](-0xf*0x94+-0x8af*-0x3+-0x8*0x22c);}process[_0x261234(0x250,0x1e2)](0x2*-0xb89+0x2100+-0x29*0x3e);}const pid=getPid();!pid&&(console[_0x261234(0x3b9,0x4ea)](_0x261234(0x262,0x15b)+_0x261234(0x46b,0x499)+'s\x20not'+_0x261234(0x3ef,0x360)+_0x261234(0x2a0,0xdd)),process[_0x261234(0x250,0x9d)](-0x1*0x13a9+-0x4*0x744+0x30b9));try{process[_0x300bcb(0x4af,0x36a)](pid,_0x300bcb(0x4ac,0x5c0)+'RM'),console[_0x300bcb(0x5da,0x7ba)](_0x261234(0x262,0x453)+_0x300bcb(0x346,0x258)+'toppe'+_0x261234(0x32c,0x30b)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x5d9956){console['error'](_0x300bcb(0x31f,0x4d3)+_0x261234(0x334,0x2d6)+_0x300bcb(0x5f6,0x66e)+_0x261234(0x3f6,0x42b)+'ink\x20('+_0x300bcb(0x636,0x813)+pid+'):',_0x5d9956[_0x261234(0x330,0x471)+'ge']),process[_0x300bcb(0x471,0x2e2)](-0x2b*-0x7d+-0x1af8+0x5fa);}process[_0x261234(0x250,0x3d0)](0x1*-0xe3+0x212+-0x12f);}if(command==='updat'+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x300bcb(0x40e,0x5ce)+_0x261234(0x2eb,0x26f)+'on')),currentVersion=pkg[_0x261234(0x311,0x15c)+'on'];console[_0x300bcb(0x5da,0x406)](_0x261234(0x2e6,0x23e)+_0x261234(0x1a7,0x2f3)+_0x261234(0x311,0x170)+_0x261234(0x292,0x2f6)+currentVersion),console[_0x300bcb(0x5da,0x490)]('⬡\x20Che'+_0x300bcb(0x4bf,0x5c9)+_0x300bcb(0x42c,0x323)+_0x300bcb(0x4fb,0x545)+_0x300bcb(0x388,0x3a9)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x261234(0x3b9,0x536)](_0x261234(0x196,0x1b5)+_0x261234(0x212,0x143)+_0x261234(0x2d9,0x48f)+'nk\x20be'+_0x300bcb(0x669,0x5f0)+'updat'+_0x261234(0x367,0x32f));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process['kill'](pidToKill,_0x261234(0x28b,0x423)+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x21d652={};_0x21d652[_0x300bcb(0x43a,0x28b)]=_0x261234(0x24b,0x3c8)+'e',execSync('sleep'+_0x300bcb(0x58b,0x685)+_0x261234(0x3b7,0x3f1)+_0x261234(0xbf,0x19a)+_0x261234(0x17c,0x2a8)+_0x261234(0x129,0x237)+_0x300bcb(0x2c5,0x4aa)+_0x300bcb(0x6a6,0x87d)+_0x300bcb(0x448,0x269)+'>nul\x20'+_0x261234(0x15a,0xb2),_0x21d652);}catch{}}try{console[_0x300bcb(0x5da,0x783)](_0x261234(0x305,0x288)+'ating'+_0x261234(0x20c,0x18f)+'ncomp'+'any/u'+_0x261234(0x399,0x3e8)+_0x261234(0x13f,0x156)+_0x300bcb(0x5be,0x7b2));const _0xdcfb1f={};_0xdcfb1f[_0x300bcb(0x43a,0x35b)]=_0x261234(0x37d,0x3de)+'it',execSync(_0x261234(0x1ac,0x122)+_0x261234(0x3b0,0x1b1)+_0x261234(0x148,0x1a0)+_0x300bcb(0x2cd,0x33f)+_0x261234(0x153,0x20b)+_0x300bcb(0x65a,0x745)+'ink-c'+_0x261234(0xe0,-0x35),_0xdcfb1f);}catch(_0x3db000){console[_0x300bcb(0x2e4,0x291)](_0x261234(0x482,0x50b)+_0x261234(0x222,0x3e9)+_0x261234(0x14a,0x7c)+'d:',_0x3db000[_0x261234(0x330,0x3ef)+'ge']),console['error'](_0x300bcb(0x543,0x3ff)+_0x261234(0x3ef,0x558)+_0x300bcb(0x57c,0x434)+'anual'+_0x261234(0x14b,0x2b9)+_0x261234(0x323,0x4c6)+_0x300bcb(0x443,0x60d)+_0x261234(0x101,0x86)+_0x261234(0xde,0xb)+_0x300bcb(0x645,0x7c4)+'/upli'+'nk-ch'+'at');if(wasRunning){console[_0x300bcb(0x5da,0x3f5)](_0x261234(0x2f3,0x40c)+_0x300bcb(0x316,0x4e9)+_0x300bcb(0x42a,0x2fa)+_0x261234(0x399,0x29c)+'...');const _0x11669b={};_0x11669b[_0x300bcb(0x43a,0x303)]=_0x261234(0x37d,0x205)+'it',execSync(_0x300bcb(0x42b,0x3fd)+_0x300bcb(0x524,0x6e1)+_0x300bcb(0x500,0x3b2)+_0x261234(0x374,0x18e)+_0x300bcb(0x624,0x6e8)+'h',_0x11669b);}process[_0x300bcb(0x471,0x46e)](0x2680+-0x1a56+-0xc29);}try{delete require[_0x300bcb(0x59c,0x536)][join(ROOT,_0x300bcb(0x40e,0x28d)+_0x300bcb(0x50c,0x4db)+'on')];const newPkg=require(join(ROOT,_0x261234(0x1ed,0x23)+'ge.js'+'on')),newVersion=newPkg[_0x300bcb(0x532,0x542)+'on'];newVersion!==currentVersion?console['log'](_0x300bcb(0x6a3,0x652)+'dated'+_0x300bcb(0x326,0x3c3)+currentVersion+_0x300bcb(0x521,0x560)+newVersion):console[_0x300bcb(0x5da,0x7b0)](_0x261234(0x30d,0x3d8)+_0x300bcb(0x36d,0x268)+_0x300bcb(0x5d0,0x56e)+'he\x20la'+_0x261234(0x192,0x2c0)+_0x300bcb(0x532,0x50a)+'on\x20(v'+currentVersion+').');}catch{console['log'](_0x300bcb(0x6a3,0x625)+_0x261234(0x222,0x265)+'compl'+_0x261234(0x39b,0x4da));}if(wasRunning){console[_0x261234(0x3b9,0x530)](_0x300bcb(0x34c,0x40d)+_0x300bcb(0x362,0x19a)+_0x261234(0x38c,0x44a)+_0x261234(0x1f5,0x340)+'..');try{const _0x381882={};_0x381882[_0x300bcb(0x43a,0x55b)]='inher'+'it',execSync(_0x261234(0x20a,0x3cc)+'k-cha'+_0x300bcb(0x500,0x53c)+_0x261234(0x374,0x17d)+_0x261234(0x403,0x5f0)+'h',_0x381882);}catch{console[_0x300bcb(0x5da,0x6ab)]('⬡\x20Aut'+_0x300bcb(0x3c9,0x498)+_0x261234(0x2b9,0x129)+_0x261234(0x14a,0x17e)+_0x300bcb(0x3f4,0x5cd)+_0x261234(0x13b,0x2a0)+_0x261234(0x47f,0x3ea)+_0x261234(0x208,0x29a)+_0x300bcb(0x668,0x50c)+_0x261234(0x399,0x421)+'-chat'+_0x300bcb(0x2d6,0x334)+'t');}}process[_0x261234(0x250,0x6f)](0xe97+0x1d41+-0x2bd8);}if(command==='statu'+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x300bcb(0x3fe,0x270)]()-state[_0x300bcb(0x316,0x295)+_0x261234(0x17b,0x2db)]);console['log']('⬡\x20Upl'+_0x300bcb(0x68c,0x67b)+_0x300bcb(0x38f,0x1b5)+_0x300bcb(0x546,0x539)+_0x261234(0x2ff,0x1bc)+_0x261234(0x299,0x3e7)+'mode)'),console['log'](_0x261234(0x21f,0x33a)+'chdog'+_0x300bcb(0x454,0x4c6)+'\x20'+watchdogPid);if(state[_0x300bcb(0x3bc,0x217)+_0x300bcb(0x4a3,0x4af)])console['log'](_0x300bcb(0x55d,0x506)+_0x300bcb(0x2c3,0xdc)+_0x300bcb(0x495,0x56b)+'\x20'+state[_0x261234(0x19b,0xf)+_0x300bcb(0x4a3,0x515)]);console[_0x300bcb(0x5da,0x4ec)](_0x261234(0x123,0x318)+_0x261234(0xf3,0x104)+_0x300bcb(0x501,0x5e8)+'\x20'+uptime),console[_0x300bcb(0x5da,0x4e2)](_0x300bcb(0x2e5,0x212)+_0x300bcb(0x32b,0x3cf)+_0x300bcb(0x376,0x41f)+'\x20'+(state[_0x300bcb(0x536,0x46d)+_0x300bcb(0x554,0x485)+'nt']||0x11*0x84+-0xa6*0x24+0xe94));if(state[_0x300bcb(0x666,0x5f3)+'ffMs']>0x377*0x8+-0xe80+-0x950)console[_0x300bcb(0x5da,0x6f6)]('\x20\x20Bac'+_0x261234(0x2ad,0x232)+_0x261234(0x2e0,0x319)+'\x20'+state[_0x261234(0x445,0x29c)+_0x300bcb(0x4e8,0x5c7)]+'ms');}else{const pid=getPid();pid?console[_0x261234(0x3b9,0x35f)](_0x261234(0x262,0x1c5)+'ink\x20i'+_0x261234(0x16e,0x214)+'ning\x20'+'(PID\x20'+pid+').'):console[_0x261234(0x3b9,0x549)](_0x300bcb(0x483,0x613)+_0x300bcb(0x68c,0x6f2)+_0x261234(0x210,0x397)+_0x261234(0x3ef,0x5ea)+_0x261234(0x2a0,0x333));}process[_0x300bcb(0x471,0x39b)](-0x18b6+-0x1054+0x290a);}if(command===_0x261234(0x34f,0x175)+_0x300bcb(0x4f6,0x496)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x300bcb(0x50c,0x661)+'on')),readline=await import(_0x300bcb(0x5f4,0x79d)+_0x261234(0x1c9,0x26c)),{rmSync}=await import('fs');console[_0x261234(0x3b9,0x420)](_0x300bcb(0x664,0x6e7)+'Uplin'+_0x261234(0x179,0x108)+'nstal'+_0x261234(0xe6,0x2bf)+pkg[_0x261234(0x311,0x318)+'on']+'\x0a'),console['log'](_0x300bcb(0x451,0x495)+'s\x20wil'+'l:'),console[_0x261234(0x3b9,0x539)](_0x261234(0x19e,-0xe)+_0x261234(0x446,0x2e1)+_0x300bcb(0x518,0x54a)+_0x261234(0x3ed,0x59b)+_0x261234(0x2c2,0x1e2)+_0x300bcb(0x4f3,0x612)+_0x261234(0x159,0xf1)+_0x300bcb(0x640,0x560)+'g'),console[_0x261234(0x3b9,0x31c)](_0x300bcb(0x3bf,0x598)+_0x261234(0x321,0x505)+_0x261234(0x2fc,0x3d2)+_0x261234(0x2e1,0x155)+'figur'+'ation'+'\x20(.en'+_0x300bcb(0x2f9,0x416)+'nfig\x20'+_0x261234(0x444,0x449)+')'),console[_0x261234(0x3b9,0x369)](_0x261234(0x19e,0x1d8)+_0x300bcb(0x542,0x584)+_0x300bcb(0x51d,0x57f)+'l\x20upl'+_0x261234(0x372,0x365)+_0x300bcb(0x47a,0x538)+_0x300bcb(0x4e7,0x6b6)+_0x300bcb(0x410,0x386)),console[_0x300bcb(0x5da,0x771)](_0x300bcb(0x3bf,0x30b)+_0x261234(0x321,0x2dd)+_0x300bcb(0x51d,0x6b1)+_0x300bcb(0x690,0x788)+_0x261234(0x9d,0x1c0)+'\x20PID\x20'+_0x261234(0x444,0x643)),console[_0x261234(0x3b9,0x44b)](_0x300bcb(0x3bf,0x28e)+'\x20Remo'+_0x261234(0x1be,0x1eb)+_0x261234(0x1ee,0x25e)+_0x300bcb(0x40b,0x3ea)+'s\x20and'+_0x300bcb(0x422,0x2f9)+_0x300bcb(0x426,0x27e)+'es'),console[_0x300bcb(0x5da,0x4f9)]('\x20\x20\x20\x20•'+'\x20Unin'+_0x300bcb(0x685,0x6f4)+_0x300bcb(0x518,0x552)+_0x300bcb(0x453,0x542)+_0x300bcb(0x608,0x7fc)+_0x300bcb(0x5f3,0x431)+_0x300bcb(0x300,0x338)+'\x0a'),console['log'](_0x261234(0x3b3,0x3dd)+_0x261234(0xf9,-0xf3)+_0x300bcb(0x63a,0x4c6)+'n\x20can'+_0x300bcb(0x2af,0x1b8)+'e\x20und'+_0x261234(0x175,0x10f));const _0x438fe1={};_0x438fe1['input']=process[_0x261234(0x206,0x1f6)],_0x438fe1[_0x261234(0x31f,0x4bc)+'t']=process[_0x261234(0x34b,0x47c)+'t'];const rl=readline['creat'+_0x261234(0x477,0x427)+_0x261234(0x1a1,0x374)](_0x438fe1),answer=await new Promise(_0x40a28d=>{function _0x1476b0(_0x40aeca,_0x2a3c47){return _0x261234(_0x2a3c47-0x180,_0x40aeca);}function _0x1681cb(_0xa8d91d,_0x141846){return _0x261234(_0x141846-0x449,_0xa8d91d);}rl[_0x1681cb(0x911,0x84b)+_0x1681cb(0x6fd,0x5ee)](_0x1476b0(0x3eb,0x470)+'e\x20\x22un'+'insta'+_0x1476b0(0x1d7,0x20c)+_0x1681cb(0xa78,0x8a9)+_0x1681cb(0x405,0x5c6)+'\x20',_0x40a28d);});rl[_0x261234(0x21a,0x3e9)]();answer['trim']()[_0x261234(0xb4,-0x7b)+_0x261234(0x430,0x2f0)+'e']()!==_0x261234(0x34f,0x1e4)+_0x300bcb(0x4f6,0x42c)&&(console[_0x300bcb(0x5da,0x464)](_0x261234(0x3b4,0x46d)+_0x300bcb(0x5c1,0x407)+_0x261234(0x15c,0x25f)+'othin'+_0x261234(0x1c8,0x296)+_0x300bcb(0x364,0x507)+_0x300bcb(0x2fc,0x3f2)),process[_0x300bcb(0x471,0x4fb)](-0x1ff9+0x1*0xa55+0x15a4));console[_0x300bcb(0x5da,0x717)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x300bcb(0x4af,0x330)](watchdogPid,_0x300bcb(0x4ac,0x48a)+'RM'),console[_0x261234(0x3b9,0x30b)](_0x261234(0xb6,0x2af)+_0x261234(0x369,0x3ea)+'d\x20wat'+_0x261234(0x188,0x364)+_0x261234(0x3ac,0x410)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x261234(0x28e,0x201)](serverPid,_0x300bcb(0x4ac,0x67b)+'RM'),console[_0x261234(0x3b9,0x255)](_0x261234(0xb6,0x8b)+_0x300bcb(0x58a,0x6f2)+_0x300bcb(0x5e3,0x3e9)+'ver\x20('+_0x300bcb(0x636,0x7b1)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x300bcb(0x5da,0x6ef)](_0x261234(0xb6,-0x11b)+_0x300bcb(0x3dd,0x4c2)+_0x261234(0x29f,0x112)+_0x261234(0x45d,0x403)+'ng');const legacyToRemove=[_0x261234(0x359,0x3b9),_0x300bcb(0x3c7,0x353)+_0x261234(0x240,0x3b4)+'n',_0x300bcb(0x672,0x68f)+'nk.pi'+'d',_0x300bcb(0x672,0x5c6)+_0x261234(0x1f1,0x176)+_0x261234(0x41f,0x387)+_0x261234(0x9e,0x20e),'.upli'+'nk-wa'+_0x261234(0x41f,0x531)+_0x300bcb(0x461,0x3fe)+'n',_0x261234(0x451,0x600)+_0x300bcb(0x412,0x2c0)+_0x261234(0x41f,0x5f4)+_0x261234(0x2ec,0x3e2),_0x261234(0x451,0x446)+_0x261234(0x32e,0x469)+'rver.'+'log',_0x300bcb(0x366,0x172)+_0x261234(0x376,0x44a)+'son','messa'+_0x261234(0x384,0x1db)+_0x261234(0x3da,0x312)+'son',_0x300bcb(0x4a7,0x62f)+_0x261234(0x462,0x542)+_0x261234(0x264,0x21a)+_0x261234(0x416,0x310)+_0x300bcb(0x3ca,0x583),_0x300bcb(0x694,0x49d)+_0x261234(0xbd,0x156)+_0x300bcb(0x386,0x508)+_0x261234(0x194,0x1ef),'uploa'+'ds',_0x261234(0x276,0x37b)+_0x261234(0xc0,0x17),_0x261234(0x261,0x1db)+_0x300bcb(0x493,0x4fa)+'io',_0x261234(0x261,0xae)+'c/img'+'/agen'+'ts'];let removed=-0x20*-0x83+0x200e*0x1+0x306e*-0x1;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x441e30={};_0x441e30['recur'+_0x300bcb(0x350,0x1e9)]=!![],_0x441e30[_0x300bcb(0x43f,0x5c8)]=!![],rmSync(fullPath,_0x441e30),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x4b33f1={};_0x4b33f1[_0x261234(0x417,0x4ae)+_0x261234(0x12f,0x2a2)]=!![],_0x4b33f1['force']=!![],rmSync(DATA_DIR,_0x4b33f1),removed++,console['log'](_0x261234(0x3e5,0x38f)+_0x300bcb(0x628,0x71f)+_0x300bcb(0x492,0x433)+_0x261234(0x442,0x332)+'ector'+_0x300bcb(0x387,0x402)+DATA_DIR);}catch{}console[_0x300bcb(0x5da,0x607)](_0x300bcb(0x606,0x646)+_0x261234(0x407,0x2e7)+'d\x20'+removed+('\x20data'+_0x261234(0xfb,-0x50)+_0x261234(0x3f9,0x2ce)+_0x300bcb(0x625,0x5be)+_0x300bcb(0x415,0x310))),console['log'](_0x261234(0x3e5,0x599)+_0x300bcb(0x325,0x217)+_0x300bcb(0x603,0x612)+_0x300bcb(0x699,0x88d)+_0x261234(0x14d,0x228)+_0x300bcb(0x2d8,0x193));try{const _0xbd7630={};_0xbd7630[_0x261234(0x219,0xdd)]='inher'+'it',execSync(_0x300bcb(0x3cd,0x405)+'ninst'+'all\x20-'+_0x261234(0xc6,-0x61)+_0x300bcb(0x40a,0x46c)+_0x300bcb(0x34e,0x536)+_0x261234(0x20a,0xa8)+'k-cha'+'t',_0xbd7630),console['log']('\x0a\x20\x20⬡\x20'+_0x300bcb(0x60e,0x792)+_0x300bcb(0x682,0x49a)+_0x300bcb(0x406,0x47e)+_0x300bcb(0x4f5,0x685)+_0x261234(0x3b5,0x48a)+'y\x20uni'+_0x261234(0x1ff,0x30)+_0x261234(0x411,0x23c)),console['log'](_0x300bcb(0x4ca,0x3a0)+_0x300bcb(0x2e6,0x11a)+_0x261234(0x22d,0x9b)+_0x261234(0x209,0x1f)+_0x300bcb(0x5ba,0x7b1)+_0x300bcb(0x50b,0x315));}catch(_0x5e6109){console[_0x261234(0xc3,-0x42)](_0x300bcb(0x2b3,0x3a1)+_0x261234(0x1ab,0x2c5)+_0x300bcb(0x61d,0x760)+_0x300bcb(0x51c,0x396)+_0x300bcb(0x685,0x53e)+_0x300bcb(0x44c,0x499)+_0x300bcb(0x40e,0x487)+_0x261234(0x2ba,0x115)),console['error']('\x20\x20Run'+_0x261234(0x133,-0x62)+_0x300bcb(0x3f9,0x44c)+_0x300bcb(0x44c,0x4b3)+'unins'+'tall\x20'+_0x300bcb(0x322,0x263)+_0x300bcb(0x2ff,0x254)+_0x261234(0x424,0x263)+'/upli'+_0x300bcb(0x5a2,0x44e)+_0x261234(0x3ca,0x557)),process[_0x261234(0x250,0x284)](0x21df*0x1+0xbfb*-0x1+-0x1*0x15e3);}process['exit'](-0xeef+0x57*0x57+-0xea2);}if(command===_0x300bcb(0x34d,0x356)){const LOG_FILE=join(ROOT,'serve'+'r.log'),ALT_LOG_FILE=join(ROOT,_0x261234(0x451,0x290)+_0x300bcb(0x54f,0x70d)+_0x300bcb(0x678,0x4d0)+_0x261234(0x3b9,0x51f)),DATA_LOG_FILE=join(DATA_DIR,_0x300bcb(0x672,0x4df)+_0x300bcb(0x54f,0x725)+_0x300bcb(0x678,0x552)+'log'),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;!logFile&&(console[_0x300bcb(0x5da,0x476)]('⬡\x20No\x20'+_0x300bcb(0x435,0x5f1)+_0x300bcb(0x464,0x347)+_0x300bcb(0x641,0x5f7)),console[_0x261234(0x3b9,0x2eb)](_0x300bcb(0x30f,0x2cf)+_0x261234(0x21c,0x15a)+_0x300bcb(0x549,0x4c5)+_0x300bcb(0x55f,0x66c)+':'),console[_0x261234(0x3b9,0x56a)]('\x20\x20\x20\x20'+LOG_FILE),console['log'](_0x261234(0x3e4,0x58e)+ALT_LOG_FILE),console['log'](''),console[_0x261234(0x3b9,0x4c0)]('\x20\x20Log'+_0x300bcb(0x592,0x6da)+_0x300bcb(0x3ad,0x455)+'ted\x20w'+_0x261234(0x3bc,0x362)+_0x261234(0x3a3,0x511)+_0x261234(0x26e,0xdb)+_0x300bcb(0x4b8,0x43d)),console[_0x300bcb(0x5da,0x638)](_0x300bcb(0x46d,0x665)+_0x300bcb(0x37e,0x419)+_0x261234(0x1f2,0x348)+_0x300bcb(0x2ea,0x3b8)+_0x261234(0xd5,0x2c1)+_0x300bcb(0x3b2,0x44e)+_0x261234(0x381,0x48d)+'at\x20st'+_0x261234(0x106,0x6c)),process[_0x261234(0x250,0x44d)](-0x6*-0xc2+0x1290+0x41*-0x5b));const lines=flags['lines']||-0x1261+-0xa0b+0x1c9e;try{const content=readFileSync(logFile,_0x261234(0xe9,0x199)),allLines=content[_0x261234(0x42b,0x3dd)]('\x0a'),tail=allLines[_0x300bcb(0x67c,0x7b4)](-lines)[_0x261234(0x422,0x505)]('\x0a');console['log'](_0x261234(0xa6,-0x92)+_0x300bcb(0x57f,0x402)+_0x300bcb(0x3eb,0x4ae)+lines+(_0x300bcb(0x48a,0x3e9)+'s\x20fro'+'m\x20')+logFile+'\x0a'),console[_0x261234(0x3b9,0x48f)](tail);}catch(_0xdf1c5){console[_0x300bcb(0x2e4,0x1ad)](_0x261234(0xfe,-0x71)+_0x300bcb(0x555,0x6cc)+'o\x20rea'+'d\x20log'+_0x261234(0xfb,0x3b)+':\x20'+_0xdf1c5[_0x261234(0x330,0x26d)+'ge']),process[_0x261234(0x250,0x29c)](-0x39+-0x249e+-0x48*-0x83);}console[_0x300bcb(0x5da,0x5f5)](_0x261234(0x39c,0x293)+_0x261234(0xa3,-0x12e)+'g\x20for'+'\x20new\x20'+_0x300bcb(0x559,0x3c4)+'ntrie'+_0x261234(0x34a,0x44b)+_0x261234(0x2c5,0xf9)+_0x300bcb(0x64d,0x495)+_0x300bcb(0x3a6,0x59f)+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x300bcb(0x442,0x2e1)];const watcher=fsModule[_0x261234(0x226,0xe8)](logFile,()=>{function _0x403922(_0x3d389c,_0x46a970){return _0x261234(_0x46a970-0x5e,_0x3d389c);}const _0x8f3543={};_0x8f3543['EceSK']=_0x403922(0x280,0x22f)+'o-res'+_0x403922(0x203,0x317)+'faile'+_0x403922(0x26a,0x231)+_0x403922(0x2db,0x199)+'anual'+_0xd28db4(0x64c,0x535)+_0xd28db4(0x8ea,0x774)+_0x403922(0x309,0x3f7)+_0x403922(0x36d,0x19d)+_0x403922(0x2b4,0x113)+'t',_0x8f3543[_0x403922(0x1df,0x25e)]=function(_0x2763aa,_0x5b451d){return _0x2763aa>_0x5b451d;},_0x8f3543[_0x403922(0x2af,0x305)]=_0xd28db4(0x479,0x47b),_0x8f3543[_0x403922(0x236,0x394)]=function(_0x2705f5,_0x2f1bcf){return _0x2705f5-_0x2f1bcf;},_0x8f3543[_0x403922(0xcc,0x16e)]=function(_0x47191b,_0x38bb24){return _0x47191b<_0x38bb24;};function _0xd28db4(_0x38ccab,_0x2cf25e){return _0x261234(_0x2cf25e-0x32d,_0x38ccab);}const _0x142324=_0x8f3543;try{const _0x14472a=fsModule[_0x403922(0x120,0x306)+_0x403922(0x660,0x4b4)](logFile,'r'),_0x438228=fsModule[_0xd28db4(0x638,0x7b5)+_0x403922(0x2e0,0x1bf)](_0x14472a)[_0xd28db4(0x480,0x54e)];if(_0x142324['UMfoS'](_0x438228,position)){if(_0x142324[_0xd28db4(0x4a0,0x5d4)]===_0x142324[_0x403922(0x1b0,0x305)]){const _0x460a96=Buffer[_0xd28db4(0x3d3,0x3c5)](_0x142324[_0xd28db4(0x71c,0x663)](_0x438228,position));fsModule[_0x403922(0x480,0x31c)+_0x403922(0x624,0x4b4)](_0x14472a,_0x460a96,-0x1*-0x4ab+0x54*-0x14+0x5*0x61,_0x460a96[_0x403922(0x3,0x13b)+'h'],position),process[_0xd28db4(0x48c,0x678)+'t']['write'](_0x460a96[_0xd28db4(0x4ad,0x3fd)+_0xd28db4(0x4b9,0x4af)](_0xd28db4(0x4e6,0x416))),position=_0x438228;}else _0x511232[_0xd28db4(0x5b9,0x6e6)](KdnTgj[_0xd28db4(0x505,0x4e0)]);}else _0x142324[_0xd28db4(0x44b,0x43d)](_0x438228,position)&&(position=-0xbaa+-0x1bb*0x15+0x3001);fsModule[_0x403922(0x1cd,0x278)+_0xd28db4(0x39f,0x48e)](_0x14472a);}catch{}});process['on'](_0x261234(0x3ab,0x31c)+'T',()=>{function _0x592385(_0x18df4e,_0x301603){return _0x261234(_0x18df4e- -0x25,_0x301603);}function _0x159b17(_0x26d7d2,_0x387ca1){return _0x261234(_0x387ca1- -0xe3,_0x26d7d2);}watcher[_0x592385(0x1f5,0xdf)](),process[_0x592385(0x22b,0x252)](0x8+0x3bd*-0x5+0x12a9);}),process['on'](_0x300bcb(0x4ac,0x498)+'RM',()=>{function _0x328e5a(_0x45e56d,_0x45ac91){return _0x261234(_0x45ac91- -0x166,_0x45e56d);}function _0x5dcb2a(_0x3e60d6,_0x29d7c0){return _0x261234(_0x29d7c0-0x275,_0x3e60d6);}watcher[_0x5dcb2a(0x32c,0x48f)](),process[_0x5dcb2a(0x58b,0x4c5)](-0x65d+0x1b*-0x166+-0x2d*-0xfb);});}if(command==='confi'+'g'){const ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,_0x300bcb(0x57a,0x411)):join(ROOT,_0x300bcb(0x57a,0x581));flags[_0x261234(0x1d2,0x32c)]&&(console['log'](ENV_FILE),process['exit'](-0x1df+-0x1*-0xeb9+-0x1*0xcda));if(flags['edit']){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x300bcb(0x560,0x678)+_0x261234(0x383,0x3f6)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x300bcb(0x30a,0x2de))),console[_0x300bcb(0x5da,0x5e6)]('⬡\x20Cre'+_0x300bcb(0x460,0x659)+_0x300bcb(0x370,0x23d)+'from\x20'+_0x261234(0x33f,0x416)+_0x261234(0x383,0x1f2)+'le')):(writeFileSync(ENV_FILE,_0x261234(0x3c5,0x439)+_0x300bcb(0x3b4,0x375)+'onfig'+_0x300bcb(0x46a,0x34a)+_0x300bcb(0x306,0x4ca)),console['log'](_0x300bcb(0x5c6,0x600)+_0x300bcb(0x460,0x484)+_0x261234(0x1d0,0x15e)+'\x20.env'+'\x20file'));}const editor=process.env.EDITOR||(process[_0x300bcb(0x3e7,0x20b)+_0x300bcb(0x3e1,0x3c1)]===_0x261234(0x289,0x3f5)?_0x261234(0x25b,0x129)+'ad':'nano');console['log'](_0x261234(0x132,0x1c3)+_0x300bcb(0x546,0x56b)+ENV_FILE+_0x261234(0x121,0x50)+editor+_0x261234(0x41a,0x330));try{const _0x23a3b8={};_0x23a3b8['stdio']=_0x261234(0x37d,0x4dd)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x23a3b8);}catch(_0x26e1bd){console[_0x300bcb(0x2e4,0x389)]('⬡\x20Fai'+'led\x20t'+_0x300bcb(0x62a,0x7a5)+_0x261234(0x224,0x72)+_0x261234(0x3d1,0x218)+_0x26e1bd[_0x300bcb(0x551,0x4c8)+'ge']),console[_0x300bcb(0x2e4,0x36a)](_0x261234(0x1bb,0x141)+_0x300bcb(0x4de,0x55a)+'OR\x20en'+_0x300bcb(0x509,0x588)+_0x261234(0x2b4,0x163)+_0x261234(0x335,0x38b)+_0x261234(0x47f,0x3dc)+'ly:\x20'+ENV_FILE),process[_0x261234(0x250,0x1eb)](0x53d*0x1+-0x1*0x1855+0x1319);}process['exit'](0x4b1*0x2+-0x7c6+-0x67*0x4);}!existsSync(ENV_FILE)&&(console[_0x261234(0x3b9,0x39a)](_0x261234(0x203,0xd0)+_0x300bcb(0x370,0x1fd)+'file\x20'+'found'+'.'),console[_0x300bcb(0x5da,0x738)](_0x300bcb(0x494,0x5b6)+_0x300bcb(0x45a,0x4df)+'ne\x20wi'+_0x261234(0x447,0x43c)+_0x300bcb(0x5ba,0x4c5)+_0x261234(0x13f,-0xa4)+_0x261234(0x15b,0xf2)+_0x261234(0x2bf,0x415)+_0x300bcb(0x2bd,0x482)),console[_0x300bcb(0x5da,0x4ff)](_0x300bcb(0x2d0,0x443)+_0x261234(0x3de,0x4a2)+'the\x20e'+_0x261234(0x345,0x374)+'e:\x20cp'+_0x300bcb(0x67f,0x663)+_0x300bcb(0x2dd,0x225)+_0x300bcb(0x317,0x419)+'env'),process[_0x300bcb(0x471,0x375)](-0x20bc+-0x1a8d+0x3b4a));const SENSITIVE_KEYS=['TOKEN',_0x261234(0x2c3,0x186),_0x261234(0x2c0,0x265)+'T',_0x261234(0x1e7,0x2b6)+'ORD',_0x261234(0xf1,0x158)+'NTIAL'];function maskValue(_0xea5319,_0x3c3d93){function _0x13808a(_0x15530d,_0x59566e){return _0x261234(_0x59566e- -0x27,_0x15530d);}const _0x5d80ef={};_0x5d80ef[_0x13808a(0x32b,0x1ec)]=function(_0x213084,_0x2c72a7){return _0x213084||_0x2c72a7;},_0x5d80ef[_0x13808a(0x2e7,0x227)]=_0x13808a(0x15b,0x149);const _0x16a433=_0x5d80ef;function _0x4efe49(_0x4f36a9,_0x60d127){return _0x261234(_0x4f36a9-0x2ef,_0x60d127);}const _0x310902=SENSITIVE_KEYS[_0x13808a(0x7d,0x78)](_0x2b8c9b=>_0xea5319[_0x13808a(0x27a,0x387)+_0x13808a(0x43f,0x409)+'e']()[_0x4efe49(0x3d7,0x3f9)+_0x13808a(0x599,0x3ad)](_0x2b8c9b));if(_0x16a433['DlKIh'](!_0x310902,!_0x3c3d93)||_0x3c3d93['lengt'+'h']<=-0xd3*0x5+0xab1+0x1*-0x68e)return _0x3c3d93;return _0x3c3d93[_0x13808a(0x291,0x434)](-0x137b+0x9+0x1372,0x5c*-0x1d+0x265f+0x1*-0x1bef)+_0x16a433[_0x13808a(0x161,0x227)];}try{const content=readFileSync(ENV_FILE,_0x261234(0xe9,-0xfa)),entries=[];for(const line of content[_0x300bcb(0x64c,0x829)]('\x0a')){const trimmed=line[_0x261234(0x117,0x1ff)]();if(!trimmed||trimmed[_0x300bcb(0x316,0x2b0)+'sWith']('#'))continue;const eqIdx=trimmed[_0x300bcb(0x4b0,0x491)+'Of']('=');if(eqIdx===-(-0x2*0x1344+-0x1376+0x39ff))continue;const key=trimmed[_0x261234(0x45b,0x272)](-0x26*0xc7+0x1b8e+0x1fc,eqIdx)[_0x261234(0x117,-0x1c)](),val=trimmed[_0x300bcb(0x67c,0x69f)](eqIdx+(-0x641+-0x21f6+-0x42*-0x9c))[_0x300bcb(0x338,0x260)]();entries[_0x261234(0x2fa,0x3a7)]([key,val]);}entries[_0x300bcb(0x2fe,0x23e)+'h']===0x21+0x77*0x49+0x442*-0x8&&(console['log'](_0x261234(0x263,0x6a)+_0x261234(0x2c9,0x323)+_0x261234(0x1e6,0x1c8)+'empty'+_0x261234(0x2db,0x25e)+_0x261234(0x2d3,0x490)+_0x261234(0x432,0x3cf)+'hat\x20c'+_0x261234(0x435,0x40c)+_0x261234(0x46c,0x37b)+'it'),process[_0x300bcb(0x471,0x297)](0x2cc+0x2693+-0x295f));const maxKeyLen=Math['max'](...entries[_0x261234(0xf0,0x1b6)](([_0xb23e68])=>_0xb23e68[_0x300bcb(0x2fe,0x10a)+'h']));console[_0x300bcb(0x5da,0x6de)]('\x0a\x20\x20⬡\x20'+_0x300bcb(0x60e,0x73c)+_0x300bcb(0x503,0x4be)+_0x300bcb(0x404,0x5ea)+_0x300bcb(0x525,0x5da)+'\x0a'),console['log']('\x20\x20'+_0x261234(0x30b,0x34d)[_0x261234(0x450,0x651)+'d'](maxKeyLen+(0x10c+-0x5c9*-0x5+-0x3*0x9fd))+_0x300bcb(0x339,0x150)),console[_0x261234(0x3b9,0x1be)]('\x20\x20'+'─'[_0x261234(0x3c0,0x4d4)+'t'](maxKeyLen+(0x14b5+-0x78a*0x4+0x975))+'─'['repea'+'t'](-0x4*0x626+-0x2452*0x1+-0x2*-0x1e89));for(const [key,val]of entries){const display=val?maskValue(key,val):_0x261234(0x3df,0x1f7)+_0x300bcb(0x474,0x5ba)+_0x300bcb(0x6a2,0x52d)+'m';console[_0x261234(0x3b9,0x3ec)]('\x20\x20'+key['padEn'+'d'](maxKeyLen+(0xbc4+-0x40b+-0x7b7))+display);}console[_0x300bcb(0x5da,0x524)](_0x261234(0x281,0xe4)+_0x261234(0x3c7,0x43e)+ENV_FILE+'\x0a');}catch(_0x298f1e){console[_0x300bcb(0x2e4,0x215)](_0x300bcb(0x31f,0x3ed)+_0x300bcb(0x555,0x43a)+_0x300bcb(0x4ff,0x43e)+_0x300bcb(0x481,0x46c)+_0x300bcb(0x2bb,0x1eb)+_0x298f1e[_0x300bcb(0x551,0x698)+'ge']),process['exit'](-0x178d*-0x1+-0x6ab+0x10e1*-0x1);}process[_0x300bcb(0x471,0x278)](-0x1f96+-0x1*-0x107b+0xf1b);}if(command===_0x300bcb(0x642,0x62c)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x261234(0x1ed,0xe7)+_0x300bcb(0x50c,0x54f)+'on'));console[_0x261234(0x3b9,0x415)](_0x300bcb(0x664,0x771)+_0x261234(0x3ed,0x36e)+_0x261234(0x3c3,0x3f7)+'tor\x20—'+'\x20v'+pkg[_0x300bcb(0x532,0x661)+'on']+'\x0a');const results=[];function pass(_0x3f98fd,_0x36e97b){const _0xdcd147={};_0xdcd147[_0x5e500c(0x23e,0x1da)+'s']=_0x913d4e(0x872,0x819);function _0x5e500c(_0x5ba35f,_0x1a54c0){return _0x261234(_0x5ba35f- -0x3,_0x1a54c0);}_0xdcd147[_0x5e500c(0x336,0x13b)]=_0x3f98fd,_0xdcd147['detai'+'l']=_0x36e97b;function _0x913d4e(_0x49d85b,_0x161140){return _0x261234(_0x49d85b-0x50a,_0x161140);}results[_0x913d4e(0x804,0x67d)](_0xdcd147);}function fail(_0x3d6f12,_0x54c409){function _0x21cf79(_0x4dffa3,_0x47a721){return _0x261234(_0x47a721-0x4e8,_0x4dffa3);}const _0x3b43c6={};_0x3b43c6[_0x25830b(0x82d,0x7bb)]=_0x21cf79(0x77e,0x5aa);function _0x25830b(_0x212a83,_0x23ae6e){return _0x261234(_0x212a83-0x3bd,_0x23ae6e);}const _0x345fb7=_0x3b43c6,_0x4292ab={};_0x4292ab[_0x25830b(0x5fe,0x496)+'s']=_0x345fb7[_0x21cf79(0x9a2,0x958)],_0x4292ab['label']=_0x3d6f12,_0x4292ab[_0x21cf79(0x585,0x6af)+'l']=_0x54c409,results['push'](_0x4292ab);}function warn(_0x448fcd,_0x2ebcb8){function _0x17610d(_0x18a7ed,_0x136787){return _0x261234(_0x18a7ed-0x1b9,_0x136787);}const _0x53dbc9={};_0x53dbc9[_0x2b1607(0x27e,0x419)]=_0x17610d(0x41f,0x2b7);const _0x44cfbf=_0x53dbc9;function _0x2b1607(_0x48d505,_0x42aa08){return _0x261234(_0x42aa08-0x1d2,_0x48d505);}const _0xc360d9={};_0xc360d9[_0x2b1607(0x383,0x413)+'s']=_0x44cfbf[_0x2b1607(0x402,0x419)],_0xc360d9[_0x2b1607(0x519,0x50b)]=_0x448fcd,_0xc360d9[_0x17610d(0x380,0x4cb)+'l']=_0x2ebcb8,results[_0x17610d(0x4b3,0x5ee)](_0xc360d9);}const nodeVer=process[_0x261234(0x311,0x137)+_0x300bcb(0x67a,0x623)][_0x261234(0x3be,0x504)],nodeMajor=parseInt(nodeVer[_0x300bcb(0x64c,0x835)]('.')[-0x3*0x427+-0x20b7+-0x1*-0x2d2c],-0x1770+0x560+0x121a);nodeMajor>=0x1*-0xdef+0x1ae5+-0xce4?pass('Node.'+_0x300bcb(0x2f4,0x4d2)+'rsion','v'+nodeVer+('\x20(>=\x20'+'18\x20re'+_0x261234(0x36b,0x233)+'d)')):fail(_0x300bcb(0x631,0x692)+_0x300bcb(0x2f4,0x3f8)+'rsion','v'+nodeVer+(_0x300bcb(0x4a5,0x652)+'de.js'+_0x261234(0x3c4,0x26e)+_0x300bcb(0x52a,0x435)+_0x300bcb(0x5b1,0x43e)+'red'));const ENV_FILE=existsSync(join(DATA_DIR,_0x300bcb(0x57a,0x4da)))?join(DATA_DIR,_0x300bcb(0x57a,0x6a1)):join(ROOT,_0x261234(0x359,0x1b6));let envPort=0x53*-0x3+0x2602+0x19*-0xf1,envGatewayUrl=_0x300bcb(0x591,0x568)+'//127'+_0x300bcb(0x562,0x5bf)+_0x261234(0x111,0x2c1)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x300bcb(0x30a,0x25d));for(const line of content[_0x300bcb(0x64c,0x736)]('\x0a')){const t=line[_0x300bcb(0x338,0x4a9)]();if(!t||t['start'+_0x261234(0xa7,-0xc6)]('#'))continue;const eqIdx=t[_0x261234(0x28f,0xe8)+'Of']('=');if(eqIdx===-(-0x213d+0x785*-0x4+-0x5*-0xcaa))continue;const k=t['slice'](-0xf07*0x2+0x1b2e+0x2*0x170,eqIdx)[_0x261234(0x117,0x237)](),v=t['slice'](eqIdx+(-0x1862+-0x1be1+0x3444))[_0x261234(0x117,0x177)]();if(k===_0x261234(0x1d6,0x1aa))envPort=parseInt(v,-0x1182*0x1+0x1f23+0xd97*-0x1)||-0x5e3+0x1073*0x1+0x2f0;if(k===_0x300bcb(0x578,0x452)+'AY_UR'+'L')envGatewayUrl=v;if(k===_0x300bcb(0x578,0x57c)+'AY_TO'+_0x261234(0x3fb,0x337))envGatewayToken=v;if(k===_0x300bcb(0x324,0x3fd)+_0x300bcb(0x359,0x46b)+_0x300bcb(0x5db,0x74f))envOpenAIKey=v;if(k===_0x261234(0x31a,0x38c)+_0x261234(0x329,0x358)+_0x261234(0x429,0x460)+_0x300bcb(0x4e4,0x35b))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x3f9457=>{const _0x4066d3={'tjVxQ':function(_0x3e5ffb,_0x3e7069,_0x19f80f){return _0x3e5ffb(_0x3e7069,_0x19f80f);},'oioPb':function(_0x47f043,_0x2932c5){return _0x47f043===_0x2932c5;},'tSCDb':_0x41615b(-0x57,0x14d),'jthtr':'mkfUp','bomyB':_0x41615b(0x1b4,0x322)+'INUSE','rmcXA':function(_0x4889f2,_0x1e5e76){return _0x4889f2(_0x1e5e76);},'wThEt':function(_0x717eb8,_0x580461){return _0x717eb8(_0x580461);},'CkzwK':'error','adcgI':_0x41615b(-0x15e,0x88)+_0x4b756b(0x5f7,0x66e),'vVSsF':'127.0'+'.0.1'},_0x4283b9=_0x32947b['creat'+_0x4b756b(0x5ea,0x5b7)+'er']();function _0x4b756b(_0x244089,_0x2d344d){return _0x261234(_0x244089-0x329,_0x2d344d);}_0x4283b9[_0x4b756b(0x4b3,0x4c6)](_0x4066d3[_0x4b756b(0x769,0x59c)],_0x1839f4=>{function _0x56b598(_0x4ce9aa,_0x34693b){return _0x41615b(_0x4ce9aa,_0x34693b-0x3f0);}function _0x349c64(_0x3befb2,_0x15889d){return _0x41615b(_0x3befb2,_0x15889d-0x2ea);}if(_0x4066d3[_0x56b598(0x4a0,0x50f)](_0x4066d3[_0x56b598(0x5ce,0x5d2)],_0x4066d3[_0x56b598(0x756,0x720)]))try{const _0x386fd4={};_0x386fd4['recur'+_0x349c64(0x43e,0x35f)]=!![],_0x386fd4[_0x349c64(0x413,0x44e)]=!![],_0x4066d3[_0x349c64(0x75e,0x69e)](_0x2d2bdc,_0x4fd518,_0x386fd4),_0x560a0e++,_0x2b5078['log'](_0x56b598(0x5c0,0x71b)+_0x349c64(0x6cd,0x637)+_0x56b598(0x665,0x4aa)+_0x349c64(0x45a,0x3dd)+'/'+_0x5672c2);}catch(_0x1843b8){_0x17cb99[_0x349c64(0x37f,0x2f3)](_0x56b598(0x3c6,0x517)+'ailed'+_0x56b598(0x337,0x3de)+'emove'+_0x56b598(0x3dd,0x570)+_0x349c64(0x577,0x5fc)+_0x551b2e+':\x20'+_0x1843b8[_0x349c64(0x659,0x560)+'ge']);}else{if(_0x1839f4[_0x56b598(0x5c9,0x3d7)]===_0x4066d3[_0x56b598(0x5d4,0x573)])_0x4066d3[_0x56b598(0x448,0x58b)](_0x3f9457,![]);else _0x4066d3[_0x349c64(0x502,0x485)](_0x3f9457,!![]);}}),_0x4283b9[_0x41615b(0xbd,0xd0)](_0x4066d3[_0x41615b(0x496,0x380)],()=>{function _0xa7d4bd(_0x2cbc94,_0x3d5f5b){return _0x41615b(_0x2cbc94,_0x3d5f5b-0xff);}_0x4283b9[_0xa7d4bd(0x97,0x25f)]();function _0x4a735a(_0x49b72f,_0x193fc2){return _0x41615b(_0x193fc2,_0x49b72f-0xb);}_0x4066d3[_0x4a735a(0x1b0,0xcd)](_0x3f9457,!![]);});function _0x41615b(_0x1ea305,_0x5d4eec){return _0x261234(_0x5d4eec- -0xba,_0x1ea305);}_0x4283b9[_0x41615b(-0x11d,0x88)+'n'](envPort,_0x4066d3['vVSsF']);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x261234(0x2d8,0x10b)+envPort,_0x261234(0x30a,0x1ff)+_0x261234(0x17a,0x7b)+_0x261234(0x40d,0x2ea)+_0x300bcb(0x2e2,0x295)+_0x300bcb(0x63d,0x698)+_0x261234(0xf7,-0xc8)+'PID\x20f'+_0x300bcb(0x398,0x4ed)):pass(_0x261234(0x2d8,0x41f)+envPort,_0x261234(0x30a,0x383)+_0x300bcb(0x343,0x4da)):serverRunning?pass(_0x300bcb(0x4f9,0x6ca)+envPort,_0x300bcb(0x5ac,0x6c2)+_0x300bcb(0x4ee,0x5d1)+'Uplin'+'k'):fail('Port\x20'+envPort,_0x261234(0x38b,0x422)+_0x300bcb(0x4ee,0x478)+_0x261234(0x124,0x158)+_0x300bcb(0x356,0x406)+_0x261234(0x2ee,0x448));const gatewayReachable=await new Promise(_0x2b3e1f=>{function _0x49c1c9(_0x1ebe1c,_0x519beb){return _0x300bcb(_0x519beb-0x247,_0x1ebe1c);}function _0x1c2174(_0x575798,_0x5c3c55){return _0x300bcb(_0x575798- -0x481,_0x5c3c55);}const _0xff0c56={'QrDug':function(_0x523308,_0x334958){return _0x523308+_0x334958;},'qkBgd':function(_0x30882f,_0x543c6b){return _0x30882f>_0x543c6b;},'FClhJ':function(_0x10a19d,_0x3a2268){return _0x10a19d!==_0x3a2268;},'WilDl':_0x49c1c9(0x72c,0x7a2),'ZLokN':function(_0x40c951,_0x4a222e){return _0x40c951(_0x4a222e);},'JBkzp':function(_0xcc1858,_0x132670){return _0xcc1858(_0x132670);},'gDncF':function(_0x492bec,_0x217785){return _0x492bec(_0x217785);},'uIjCw':_0x1c2174(0x34,0x214),'pXpra':_0x1c2174(0xbb,0x2af),'ulPpT':_0x1c2174(-0x127,0x87),'wICqn':'error','vKFpc':_0x1c2174(0x55,0x22c)+'ut','HmdDn':function(_0x21985a,_0x5deaf1){return _0x21985a(_0x5deaf1);}};try{if(_0xff0c56['FClhJ'](_0xff0c56[_0x1c2174(0x1d4,0xce)],_0xff0c56[_0x1c2174(0x1ff,0x2b2)])){const _0x33a3cd=new URL(envGatewayUrl),_0xb0513={};_0xb0513[_0x49c1c9(0x8ba,0x8b3)+'ame']=_0x33a3cd['hostn'+'ame'],_0xb0513[_0x49c1c9(0x6df,0x6e0)]=_0x33a3cd[_0x1c2174(0x18,0xfd)]||0x1cf3+-0x9*0x1c5+0x65b*-0x2,_0xb0513['path']='/',_0xb0513[_0x1c2174(-0x14d,-0x25f)+'d']=_0xff0c56[_0x49c1c9(0x943,0x806)],_0xb0513[_0x49c1c9(0x73d,0x71d)+'ut']=0x1388;const _0x3de927=_0x1765ba[_0x49c1c9(0x59b,0x57a)+'st'](_0xb0513,_0x160520=>{function _0x1b1bdf(_0x3c6543,_0x5ec855){return _0x49c1c9(_0x5ec855,_0x3c6543- -0x2e2);}function _0x456222(_0x355b58,_0x5181ec){return _0x49c1c9(_0x355b58,_0x5181ec- -0x3d3);}_0xff0c56['FClhJ'](_0x456222(0x4a9,0x3cf),_0xff0c56[_0x1b1bdf(0x545,0x3be)])?_0x2f6976[_0x456222(0x426,0x44e)](_0xff0c56[_0x456222(0x355,0x446)](_0x1b1bdf(0x4ac,0x40d)+_0x19ebad+(_0x456222(0x252,0x1a9)+_0x1b1bdf(0x348,0x25f))+_0x590d80+(_0x1b1bdf(0x4cd,0x4ee)+'ed'),_0x2bb21e?',\x20'+_0xded274+(_0x1b1bdf(0x5ee,0x5a8)+_0x456222(0x2bf,0x217))+(_0xff0c56[_0x456222(0x203,0x2b0)](_0xae108a,0x16dc+0x2705+-0x630*0xa)?'s':''):'')+'.'):(_0x160520[_0x456222(0x384,0x1bf)+'e'](),_0xff0c56[_0x456222(0x2f3,0x252)](_0x2b3e1f,!![]));});_0x3de927['on'](_0xff0c56['wICqn'],()=>_0x2b3e1f(![])),_0x3de927['on'](_0xff0c56[_0x49c1c9(0x389,0x4fd)],()=>{function _0x539c39(_0x3d7d51,_0x724c61){return _0x49c1c9(_0x724c61,_0x3d7d51- -0x622);}_0x3de927[_0x539c39(0x23d,0xc2)+'oy']();function _0x335640(_0x88b9d7,_0x376dd4){return _0x49c1c9(_0x376dd4,_0x88b9d7- -0x9a);}_0xff0c56[_0x539c39(0x1f8,0x22d)](_0x2b3e1f,![]);}),_0x3de927[_0x49c1c9(0x54e,0x537)]();}else _0xff0c56[_0x49c1c9(0x92e,0x8da)](_0x278699,_0x3d35c1);}catch{_0xff0c56[_0x1c2174(-0x158,0x18)](_0x2b3e1f,![]);}});gatewayReachable?pass(_0x300bcb(0x4e5,0x6a5)+'ay\x20re'+_0x300bcb(0x444,0x2b8)+'le',envGatewayUrl):fail(_0x300bcb(0x4e5,0x451)+_0x261234(0x13c,0xf8)+'achab'+'le',_0x261234(0x279,0x178)+_0x261234(0xb9,-0xe3)+_0x261234(0x2b2,0x1c1)+envGatewayUrl);existsSync(join(ROOT,'node_'+'modul'+'es'))?pass(_0x261234(0xd2,0x48)+'denci'+'es\x20in'+'stall'+'ed','node_'+'modul'+_0x300bcb(0x688,0x676)+'ists'):fail('Depen'+_0x261234(0x1c3,0x235)+_0x300bcb(0x305,0x434)+_0x261234(0x464,0x2dd)+'ed',_0x300bcb(0x55e,0x610)+_0x261234(0x346,0x494)+_0x261234(0x363,0x53f)+_0x300bcb(0x58d,0x535)+_0x261234(0x1b0,0x8)+_0x261234(0xcb,0x1f0)+_0x300bcb(0x599,0x4b7)+_0x261234(0x480,0x656));if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x261234(0xe9,0x1c5)),pass(_0x300bcb(0x370,0x32a)+_0x300bcb(0x308,0x4d3),_0x300bcb(0x340,0x267)+_0x300bcb(0x2be,0x3ba)+'\x20read'+'able');}catch{fail(_0x261234(0x14f,0x21a)+_0x300bcb(0x308,0x2a9),_0x300bcb(0x340,0x516)+_0x300bcb(0x41a,0x489)+_0x261234(0x29f,0x2f7)+_0x261234(0x33b,0x3e9)+_0x300bcb(0x59d,0x542));}else fail(_0x300bcb(0x370,0x3eb)+_0x261234(0xe7,0x19c),_0x300bcb(0x534,0x49e)+_0x261234(0x37e,0x3bf)+_0x300bcb(0x478,0x2c5)+_0x261234(0x2d3,0x3be)+_0x261234(0x432,0x4e6)+'hat\x20c'+'onfig'+_0x261234(0x46c,0x3c0)+'it');envGatewayToken&&envGatewayToken!==_0x300bcb(0x38c,0x488)+_0x261234(0x441,0x48e)+_0x300bcb(0x361,0x294)?pass('Gatew'+'ay\x20to'+'ken',_0x300bcb(0x3c7,0x255)+'gured'):fail(_0x300bcb(0x4e5,0x387)+_0x261234(0x27f,0x29a)+_0x300bcb(0x47d,0x3dc),_0x261234(0x387,0x56e)+_0x261234(0x489,0x5e0)+'\x20.env');if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers[_0x300bcb(0x51b,0x584)](_0x300bcb(0x373,0x1e8)+'I');if(envElevenLabsKey)providers[_0x300bcb(0x51b,0x5a7)](_0x300bcb(0x601,0x78a)+_0x300bcb(0x537,0x459));pass(_0x300bcb(0x4b2,0x681)+'PI\x20ke'+'ys',providers[_0x300bcb(0x643,0x7fd)](',\x20')+(_0x300bcb(0x37c,0x2a8)+_0x300bcb(0x5d9,0x5a8)+'d'));}else warn(_0x300bcb(0x4b2,0x386)+'PI\x20ke'+'ys',_0x300bcb(0x695,0x866)+'enAI\x20'+_0x261234(0x43c,0x4b0)+_0x300bcb(0x54c,0x744)+_0x261234(0x412,0x445)+_0x300bcb(0x5f8,0x42b)+_0x261234(0x1aa,0x196)+_0x300bcb(0x43e,0x382)+_0x261234(0x2a2,0x437)+_0x300bcb(0x2b0,0x1a2)+_0x261234(0x31e,0x264)+'e\x20TTS');try{const freeBytes=((()=>{const _0x220c7f={'BpjRC':_0x5bdf0c(0x6c1,0x602)+'RM','GgyDO':function(_0x513aac,_0x370e36){return _0x513aac===_0x370e36;},'hGyKa':_0x5f0657(0x16d,0x190),'MLoJF':function(_0x482c2e,_0x254274,_0x500383){return _0x482c2e(_0x254274,_0x500383);},'LyCeH':function(_0xb678e2,_0x29c327){return _0xb678e2+_0x29c327;},'WFYiW':'wmic\x20'+'logic'+_0x5f0657(0x202,0x171)+_0x5bdf0c(0x7fd,0x69e)+_0x5bdf0c(0x5a5,0x5cd)+_0x5f0657(0x1eb,0x394)+'ID=\x27','Udgcd':_0x5bdf0c(0x2f7,0x460),'LQHgJ':function(_0x5480ac,_0x5b1d1d){return _0x5480ac===_0x5b1d1d;},'nAYZh':_0x5bdf0c(0x509,0x5e6),'iMiID':_0x5f0657(0x428,0x370),'Zjusi':function(_0x521a4b,_0x73ce6c){return _0x521a4b*_0x73ce6c;},'thPls':function(_0x327028,_0x22a1a9,_0x3ef1a4){return _0x327028(_0x22a1a9,_0x3ef1a4);}};function _0x5bdf0c(_0x3df092,_0x5f5df4){return _0x300bcb(_0x5f5df4-0x156,_0x3df092);}function _0x5f0657(_0x242e0a,_0x208572){return _0x300bcb(_0x208572- -0x31a,_0x242e0a);}if(_0x220c7f[_0x5bdf0c(0x61e,0x62a)](process[_0x5f0657(0x9,0xcd)+_0x5bdf0c(0x3ec,0x537)],_0x220c7f[_0x5bdf0c(0x8d9,0x7ed)])){const _0x252554=_0x220c7f['MLoJF'](execSync,_0x220c7f[_0x5f0657(0xa0,0x11d)](_0x220c7f['WFYiW']+ROOT[_0x5bdf0c(0x6ad,0x4e1)+'t'](-0x366+0x4ee*0x7+0xf8e*-0x2),':\x27\x22\x20g'+'et\x20Fr'+_0x5bdf0c(0x719,0x556)+_0x5f0657(-0x1c9,-0x22)+'alue'),{'encoding':_0x220c7f[_0x5f0657(0x338,0x2f0)]}),_0x3321ed=_0x252554[_0x5bdf0c(0x4fb,0x4e4)](/FreeSpace=(\d+)/);return _0x3321ed?parseInt(_0x3321ed[-0x185*-0xf+0x167a+-0xb51*0x4],-0xb65*0x3+0x2556+-0x31d):null;}else{if(_0x220c7f[_0x5f0657(0x401,0x2fb)](_0x220c7f['nAYZh'],_0x220c7f[_0x5f0657(0xdb,0x13b)]))_0x4e78ba['kill'](_0x220c7f[_0x5f0657(0x3d4,0x32c)]);else{const _0xf3bc36=_0x220c7f['MLoJF'](execSync,'df\x20-k'+'\x20\x22'+ROOT+('\x22\x20|\x20t'+_0x5f0657(-0x37,0x13c)+'1'),{'encoding':_0x220c7f[_0x5bdf0c(0x73c,0x760)]}),_0x24832a=_0xf3bc36[_0x5bdf0c(0x438,0x48e)]()[_0x5f0657(0x140,0x332)](/\s+/);return _0x220c7f[_0x5f0657(0xf9,0x27)](_0x220c7f[_0x5f0657(0x310,0x1bd)](parseInt,_0x24832a[-0xd3*0x2+0x1*0x1bb2+-0x1a09],0x1b91+0x1c16+-0x379d),0xd5a+-0x1*0xa99+0x13f);}}})());if(freeBytes!==null){const freeMB=Math[_0x261234(0x483,0x505)](freeBytes/((0x8*0x412+0x2*-0xa9f+-0x752)*(-0x300+0x966+-0x266)));freeMB>=-0x728+-0x1*-0x5bf+0x3*0x11f?pass(_0x261234(0xaa,0x29)+'space',freeMB+('\x20MB\x20f'+_0x300bcb(0x379,0x22d))):warn('Disk\x20'+_0x300bcb(0x3e6,0x4b9),freeMB+(_0x261234(0x428,0x268)+_0x261234(0x218,0x309)+_0x300bcb(0x372,0x2da)+_0x261234(0x102,0x17a)+'\x20500\x20'+'MB'));}}catch{warn(_0x300bcb(0x2cb,0x34d)+_0x300bcb(0x3e6,0x595),_0x261234(0xf8,-0x94)+_0x261234(0x29f,0x1a8)+'deter'+_0x300bcb(0x2cc,0x268)+_0x261234(0x44f,0x3a2)+_0x300bcb(0x4b1,0x40e)+_0x261234(0x1c5,0x8));}const _0x2903e1={};_0x2903e1['pass']='\x1b[32m'+_0x300bcb(0x2b2,0x380),_0x2903e1[_0x300bcb(0x2e3,0x45a)]=_0x300bcb(0x581,0x50c)+_0x261234(0x287,0x3d8),_0x2903e1[_0x300bcb(0x487,0x28d)]=_0x261234(0x393,0x56b)+'!\x1b[0m';const icons=_0x2903e1;for(const r of results){console[_0x261234(0x3b9,0x23b)]('\x20\x20'+icons[r[_0x300bcb(0x462,0x37f)+'s']]+'\x20'+r[_0x261234(0x339,0x3ea)]+':\x20'+r[_0x261234(0x1c7,0x111)+'l']);}const passes=results[_0x300bcb(0x67b,0x6fe)+'r'](_0x2009f8=>_0x2009f8[_0x300bcb(0x462,0x4e6)+'s']===_0x261234(0x368,0x51b))[_0x300bcb(0x2fe,0x390)+'h'],fails=results[_0x300bcb(0x67b,0x730)+'r'](_0x55c245=>_0x55c245[_0x300bcb(0x462,0x644)+'s']===_0x261234(0xc2,0x1ff))['lengt'+'h'],warns=results[_0x300bcb(0x67b,0x54b)+'r'](_0x223eec=>_0x223eec[_0x261234(0x241,0x39b)+'s']==='warn')['lengt'+'h'];console[_0x261234(0x3b9,0x3ea)](''),fails===0x128c+0x48f+-0x171b?console['log'](_0x300bcb(0x538,0x3d1)+_0x261234(0x195,0x1b5)+passes+(_0x261234(0xda,0x198)+_0x300bcb(0x44a,0x4d2)+_0x300bcb(0x3b9,0x520))+(warns?'\x20('+warns+('\x20warn'+_0x300bcb(0x3a3,0x308))+(warns>0x2*-0x998+-0x2552+0x3883?'s':'')+')':'')+'.'):console['log'](_0x261234(0x326,0x15c)+passes+(_0x300bcb(0x335,0x39b)+_0x300bcb(0x3e3,0x384))+fails+(_0x300bcb(0x568,0x6c0)+'ed')+(warns?',\x20'+warns+(_0x261234(0x468,0x3b3)+_0x300bcb(0x3a3,0x409))+(warns>-0x1ca6+-0x2*-0xc7c+-0x1*-0x3af?'s':''):'')+'.'),console[_0x261234(0x3b9,0x48d)](''),process[_0x261234(0x250,0x199)](fails>0x1885+0x3*-0xa7b+0x2*0x376?0x32b*0xc+0x2b*-0x6c+-0x13df*0x1:0x1916+0x1*-0x2a1+-0x1675);}if(command===_0x300bcb(0x5b8,0x430)){const {rmSync}=await import('fs');console[_0x261234(0x3b9,0x4dd)](_0x261234(0x443,0x398)+_0x261234(0x3ed,0x4c5)+_0x261234(0x2cf,0x46d)+_0x300bcb(0x602,0x711)),console[_0x300bcb(0x5da,0x614)]('\x20\x20Thi'+'s\x20wil'+_0x261234(0x307,0x3a6)+'ar:'),console['log'](_0x300bcb(0x3bf,0x45d)+_0x300bcb(0x411,0x2f9)+_0x261234(0x320,0x1c6)+_0x300bcb(0x489,0x563)+_0x261234(0x342,0x14f)+_0x261234(0xed,-0x41)+'\x20sync'+_0x261234(0x1ef,0x1ac)),console[_0x261234(0x3b9,0x47c)](_0x261234(0x19e,-0x4f)+_0x261234(0x13a,0x1ca)+_0x261234(0x31d,0x47f)+_0x261234(0x444,0x2a2)+'\x20and\x20'+_0x261234(0x2aa,0x3e4)+_0x300bcb(0x580,0x770)+'e'),console['log'](_0x300bcb(0x3bf,0x323)+_0x300bcb(0x405,0x263)+_0x261234(0x184,-0x66)+_0x300bcb(0x30e,0x188)+'s\x20que'+'ue'),console['log'](_0x261234(0x19e,0x2df)+'\x20Push'+_0x261234(0x3cf,0x3e9)+_0x261234(0x119,-0xda)+_0x261234(0x301,0x3e6)+_0x261234(0x47a,0x2c5)+'ctivi'+'ty\x20da'+'ta'),console[_0x300bcb(0x5da,0x568)](''),console[_0x300bcb(0x5da,0x4cd)](_0x261234(0x230,0x2e9)+_0x300bcb(0x403,0x419)+_0x300bcb(0x5d7,0x5a0)+_0x300bcb(0x61b,0x5af)+'r:'),console[_0x261234(0x3b9,0x4e2)](_0x261234(0x19e,0x38c)+_0x300bcb(0x67f,0x4ab)+_0x261234(0x15b,0xbf)+_0x261234(0x211,0x182)+_0x261234(0x2d1,0x40b)),console[_0x300bcb(0x5da,0x44f)](_0x300bcb(0x3bf,0x42f)+_0x261234(0x10b,0xee)+_0x300bcb(0x647,0x5dc)+_0x261234(0x2f1,0x3c7)),console[_0x261234(0x3b9,0x495)](_0x300bcb(0x3bf,0x47d)+_0x300bcb(0x469,0x48c)+_0x261234(0x19b,0x2d7)+_0x261234(0x1ae,0x2d4)+_0x261234(0x1fc,0x150));if(!flags[_0x300bcb(0x43f,0x470)]){const readline=await import(_0x261234(0x3d3,0x4f0)+_0x261234(0x1c9,0x5c)),_0x3a58e8={};_0x3a58e8[_0x300bcb(0x30b,0x219)]=process[_0x261234(0x206,0xca)],_0x3a58e8['outpu'+'t']=process['stdou'+'t'];const rl=readline[_0x261234(0x37f,0x225)+'eInte'+_0x261234(0x1a1,0xdf)](_0x3a58e8),answer=await new Promise(_0x3fe546=>{const _0x1e0277={};function _0x14520e(_0x268eda,_0x23ec37){return _0x261234(_0x268eda-0x1d9,_0x23ec37);}_0x1e0277[_0x149f81(0x18c,0x160)]=_0x14520e(0x4c9,0x4af)+_0x149f81(0x377,0x578)+_0x14520e(0x63c,0x649)+'to\x20co'+_0x149f81(0x2cc,0x1e7)+':\x20';const _0x273ae7=_0x1e0277;function _0x149f81(_0x18527d,_0x25b205){return _0x261234(_0x18527d- -0x11,_0x25b205);}rl[_0x14520e(0x5db,0x4eb)+_0x14520e(0x37e,0x330)](_0x273ae7[_0x14520e(0x376,0x1ae)],_0x3fe546);});rl[_0x300bcb(0x43b,0x50a)](),answer[_0x261234(0x117,0x27b)]()[_0x261234(0xb4,0x1a6)+_0x261234(0x430,0x36c)+'e']()!==_0x300bcb(0x5b8,0x6e9)&&(console[_0x261234(0x3b9,0x488)](_0x300bcb(0x5d5,0x601)+_0x300bcb(0x5c1,0x538)+_0x300bcb(0x37d,0x1c8)+'othin'+'g\x20was'+_0x261234(0x143,-0xa5)+'ved.\x0a'),process[_0x300bcb(0x471,0x477)](0x6e9+-0x196d+0x2*0x942)),console[_0x300bcb(0x5da,0x480)]('');}const dataResets=[_0x261234(0x330,0x448)+'ges-s'+'ync.j'+_0x261234(0x1a9,0x360),'activ'+_0x300bcb(0x597,0x6a7)+_0x261234(0x1a9,0x241),'sync-'+_0x261234(0xc0,0x218),_0x300bcb(0x652,0x52a)+'d-con'+_0x261234(0x1a2,0x22b)+_0x261234(0x33e,0x1af),'uploa'+'ds',_0x261234(0x30c,0x344),_0x261234(0x1f6,0x196)+_0x261234(0x1d5,0x263)],rootResets=[_0x261234(0x330,0x3b9)+_0x261234(0x384,0x1cd)+_0x261234(0x3da,0x301)+_0x300bcb(0x3ca,0x56c),_0x261234(0x145,0x11)+_0x261234(0x376,0x1bd)+_0x300bcb(0x3ca,0x3e5),'sync-'+_0x300bcb(0x2e1,0x29f),'share'+_0x300bcb(0x5a3,0x799)+_0x261234(0x1a2,0x1b5)+_0x300bcb(0x55f,0x6c9),_0x261234(0x324,0x50a)+'ds','publi'+_0x300bcb(0x493,0x566)+'io',_0x300bcb(0x694,0x4f3)+'d-mes'+_0x261234(0x165,0x26b)+_0x300bcb(0x3b5,0x2b6),_0x261234(0x286,0x1de)+'subsc'+_0x261234(0x264,0x154)+'ons.j'+'son',_0x261234(0x19b,0x11a)+_0x261234(0x43e,0x5f4),_0x261234(0x451,0x42e)+_0x300bcb(0x54f,0x3c6)+_0x261234(0x457,0x54f)+_0x300bcb(0x5da,0x634),'.upli'+_0x300bcb(0x412,0x35c)+_0x261234(0x41f,0x497)+_0x261234(0x2ec,0x3ed)];let cleared=0x13e0+0x2*-0xce3+0x5e6;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x4bb01d={};_0x4bb01d[_0x261234(0x417,0x541)+'sive']=!![],_0x4bb01d[_0x261234(0x21e,0x2de)]=!![],rmSync(fullPath,_0x4bb01d),cleared++,console[_0x261234(0x3b9,0x4d5)](_0x261234(0x3e5,0x2dd)+'emove'+'d\x20DAT'+_0x261234(0x1ad,0x82)+'/'+item);}catch(_0x7afe8f){console['error'](_0x300bcb(0x402,0x3d1)+_0x300bcb(0x5e7,0x6df)+_0x300bcb(0x2c9,0x12b)+_0x300bcb(0x628,0x662)+_0x300bcb(0x45b,0x5a7)+'_DIR/'+item+':\x20'+_0x7afe8f[_0x261234(0x330,0x25a)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x26d948={};_0x26d948['recur'+_0x300bcb(0x350,0x369)]=!![],_0x26d948['force']=!![],rmSync(fullPath,_0x26d948),cleared++,console[_0x261234(0x3b9,0x4f8)](_0x261234(0x3e5,0x5a1)+_0x261234(0x407,0x2af)+'d\x20'+item);}catch(_0x263a78){console[_0x300bcb(0x2e4,0x2bd)]('\x20\x20✗\x20F'+'ailed'+'\x20to\x20r'+_0x261234(0x407,0x55b)+'\x20'+item+':\x20'+_0x263a78[_0x300bcb(0x551,0x68d)+'ge']);}}cleared===0x117c+0x2*0x626+-0x2*0xee4?console['log']('\x20\x20Not'+'hing\x20'+_0x300bcb(0x321,0x4c2)+_0x300bcb(0x630,0x452)+'\x20alre'+_0x300bcb(0x352,0x3b1)+_0x300bcb(0x609,0x754)):console[_0x261234(0x3b9,0x2bc)]('\x0a\x20\x20⬡\x20'+_0x261234(0xa9,-0xf0)+_0x300bcb(0x5b0,0x401)+cleared+_0x300bcb(0x539,0x397)+(cleared>-0xbef+0xbe2+0xe?'s':'')+(_0x300bcb(0x4cc,0x320)+_0x300bcb(0x613,0x6bc)+_0x261234(0x340,0x15b))),console[_0x261234(0x3b9,0x2f1)](''),process[_0x300bcb(0x471,0x4d2)](0x6a9*0x2+0x2066+0x1a2*-0x1c);}if(command==='info'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x300bcb(0x40e,0x521)+'ge.js'+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x300bcb(0x57a,0x76b)))?join(DATA_DIR,_0x300bcb(0x57a,0x53a)):join(ROOT,_0x300bcb(0x57a,0x67c));let envPort=_0x261234(0x94,-0x11e),envHost=_0x300bcb(0x35f,0x3c1)+'.0',envGatewayUrl=_0x300bcb(0x591,0x5f1)+_0x300bcb(0x654,0x7ea)+_0x261234(0x341,0x1e6)+'1:187'+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x261234(0xe9,-0x2e));for(const line of content['split']('\x0a')){const t=line['trim']();if(!t||t[_0x261234(0xf5,0x187)+_0x261234(0xa7,-0x90)]('#'))continue;const eqIdx=t[_0x261234(0x28f,0x408)+'Of']('=');if(eqIdx===-(-0x31*-0x48+0xaf*-0xf+0x1c3*-0x2))continue;const k=t['slice'](-0x22f3*-0x1+-0x29*0xc1+-0x40a,eqIdx)[_0x300bcb(0x338,0x39a)](),v=t[_0x261234(0x45b,0x2bd)](eqIdx+(0x1460+0xc2f+-0x208e))[_0x261234(0x117,0x19c)]();if(k==='PORT')envPort=v||_0x261234(0x94,0xc6);if(k==='UPLIN'+_0x261234(0x16f,0x5)+'T'||k===_0x261234(0x43f,0x253))envHost=v||_0x261234(0x13e,0x8f)+'.0';if(k===_0x300bcb(0x578,0x4cb)+_0x300bcb(0x5e2,0x489)+'L')envGatewayUrl=v;if(k==='GATEW'+_0x300bcb(0x5ce,0x73d)+_0x261234(0x3fb,0x392))envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+_0x261234(0x45d,0x53b)+_0x300bcb(0x31b,0x1f2)+_0x261234(0x319,0x209)+'D\x20'+(watchdogPid||serverPid)+')':_0x261234(0x360,0x2c0)+_0x261234(0x1fb,0xe3)+_0x300bcb(0x4f1,0x46c)+'m',gwReachable=await new Promise(_0x31bbe1=>{const _0x55c219={'NyMyr':function(_0xe8ab3b,_0x1e2ecf){return _0xe8ab3b/_0x1e2ecf;},'knhpz':function(_0x5e2c4b,_0x10b587){return _0x5e2c4b/_0x10b587;},'ZpDZP':function(_0x2353fa,_0x21d2bb){return _0x2353fa>_0x21d2bb;},'xeQhJ':function(_0x21f135,_0x5820a2){return _0x21f135%_0x5820a2;},'ewZTV':function(_0x15e798,_0x2108b0){return _0x15e798%_0x2108b0;},'GjWOB':function(_0x33cadc,_0x34892b){return _0x33cadc%_0x34892b;},'WwCXY':function(_0x54a39b,_0x5ddcb0){return _0x54a39b%_0x5ddcb0;},'WSKyS':_0x535eec(0x80d,0x97e),'pohNQ':'Isszv','XlpdK':function(_0x20f07a,_0x4d6b1f){return _0x20f07a(_0x4d6b1f);},'yPvas':function(_0x42f479,_0x545212){return _0x42f479!==_0x545212;},'fHZmx':_0x50c52e(0x457,0x386),'opEah':_0x50c52e(0x520,0x354),'fGaHI':function(_0x355e2c,_0xbaad7a){return _0x355e2c(_0xbaad7a);},'AcaZO':_0x50c52e(0x6e9,0x6f2),'uwWLZ':_0x535eec(0x678,0x76e),'YfUFY':_0x50c52e(0x3e6,0x3d3),'SFmmw':_0x535eec(0x760,0x84b)+'ut','ZNWay':function(_0x1b60dd,_0x927972){return _0x1b60dd===_0x927972;},'DtoWu':_0x535eec(0x5a7,0x7a6),'TYGRY':_0x535eec(0x8ac,0x958)};function _0x50c52e(_0x15b7a4,_0x2e1675){return _0x300bcb(_0x2e1675-0x79,_0x15b7a4);}function _0x535eec(_0x208579,_0x459835){return _0x300bcb(_0x208579-0x28a,_0x459835);}try{if(_0x55c219[_0x535eec(0x601,0x7c1)]===_0x55c219[_0x50c52e(0x43f,0x58e)]){const _0x523b4d=_0x11f3ca[_0x535eec(0x6a3,0x6f8)](AHfSmM[_0x50c52e(0x783,0x583)](_0x2dcf27,0x3d*-0x33+-0x53*-0x57+-0xc26)),_0x4d9704=_0x4281cc[_0x535eec(0x6a3,0x803)](AHfSmM[_0x50c52e(0x6d4,0x639)](_0x523b4d,-0x452+0x1606+-0x1178)),_0x2c855d=_0x3e0694[_0x50c52e(0x366,0x492)](AHfSmM[_0x535eec(0x794,0x872)](_0x4d9704,-0x1cdf+-0x1ce2+0x39fd*0x1)),_0x5c0105=_0x4a9079[_0x535eec(0x6a3,0x4f6)](AHfSmM[_0x535eec(0x84a,0x655)](_0x2c855d,-0x1796+-0x1*-0xdf3+0x9bb));if(AHfSmM['ZpDZP'](_0x5c0105,0x3d*-0x4f+0x1b51+0x87e*-0x1))return _0x5c0105+'d\x20'+AHfSmM[_0x535eec(0x546,0x3b3)](_0x2c855d,0xc00+0x4*0x7de+-0x2b60)+'h\x20'+AHfSmM[_0x535eec(0x7ad,0x7b7)](_0x4d9704,-0x725+-0xe7d+0x15de)+'m';if(_0x2c855d>0x62d*-0x1+0x6*0x67f+-0x20cd)return _0x2c855d+'h\x20'+_0x4d9704%(-0x1*0x153c+0x1*-0xd42+0x22ba)+'m\x20'+AHfSmM['GjWOB'](_0x523b4d,-0x4*-0x5e5+-0x1c16+0x4be)+'s';if(AHfSmM[_0x535eec(0x705,0x8f3)](_0x4d9704,0x12c3+0x3b*0x95+0x1a8d*-0x2))return _0x4d9704+'m\x20'+AHfSmM[_0x535eec(0x822,0x639)](_0x523b4d,-0xac4+-0x8e+0x57*0x22)+'s';return _0x523b4d+'s';}else{const _0x2b57d8=new URL(envGatewayUrl),_0x4477fb={};_0x4477fb[_0x535eec(0x8f6,0xaac)+_0x535eec(0x8a9,0x6b1)]=_0x2b57d8['hostn'+_0x50c52e(0x67b,0x698)],_0x4477fb['port']=_0x2b57d8['port']||0xe6b+0x26c8+0x11a1*-0x3,_0x4477fb[_0x535eec(0x67d,0x656)]='/',_0x4477fb[_0x50c52e(0x3e3,0x3ad)+'d']=_0x55c219[_0x50c52e(0x7c7,0x6e4)],_0x4477fb[_0x535eec(0x760,0x698)+'ut']=0xbb8;const _0x466c6f=_0x1765ba[_0x50c52e(0x224,0x3ac)+'st'](_0x4477fb,_0x393228=>{const _0x46deb0={'SgIfy':function(_0x533463,_0x23c2ad){return _0x533463(_0x23c2ad);}};function _0x3a2c52(_0xbf2908,_0x13ab58){return _0x50c52e(_0x13ab58,_0xbf2908- -0x153);}function _0x1f1fd1(_0x4d0cbc,_0x1cd03c){return _0x50c52e(_0x1cd03c,_0x4d0cbc- -0x271);}_0x55c219[_0x1f1fd1(0x286,0x3a1)]===_0x55c219[_0x3a2c52(0x2fb,0x3f8)]?_0x46deb0[_0x1f1fd1(0x3b3,0x47d)](_0x2892de,![]):(_0x393228[_0x3a2c52(0x271,0x247)+'e'](),_0x55c219[_0x1f1fd1(0x265,0xb4)](_0x31bbe1,!![]));});_0x466c6f['on'](_0x50c52e(0x378,0x35d),()=>_0x31bbe1(![])),_0x466c6f['on'](_0x55c219['SFmmw'],()=>{function _0x2a1b62(_0x5e8459,_0x3b85d7){return _0x50c52e(_0x5e8459,_0x3b85d7- -0x386);}function _0x2998fc(_0x4a1401,_0x4de352){return _0x50c52e(_0x4de352,_0x4a1401-0xec);}_0x55c219[_0x2a1b62(0x6c,0x4b)](_0x55c219['fHZmx'],_0x55c219[_0x2a1b62(0x323,0x181)])?(_0x466c6f[_0x2a1b62(0x173,0x30b)+'oy'](),_0x55c219[_0x2998fc(0x7db,0x869)](_0x31bbe1,![])):(_0x562d3a[_0x2998fc(0x4b0,0x4ff)+'e'](),_0x324326(!![]));}),_0x466c6f['end']();}}catch{_0x55c219[_0x50c52e(0x668,0x57d)](_0x55c219[_0x535eec(0x874,0xa22)],_0x55c219['TYGRY'])?AHfSmM[_0x535eec(0x6e7,0x5a9)](_0x56d49e,_0x4ae175):_0x55c219[_0x535eec(0x6e7,0x853)](_0x31bbe1,![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x300bcb(0x45f,0x2af)+_0x300bcb(0x616,0x78b)+_0x261234(0x28c,0x34a)+'d)\x1b[0'+'m'):envGatewayUrl+(_0x261234(0x1fd,0x22)+_0x300bcb(0x6a7,0x7dc)+'eacha'+_0x261234(0x38e,0x220)+_0x261234(0x1d4,0xcf)),LOG_FILE=join(ROOT,_0x261234(0x19b,0x24c)+_0x300bcb(0x65f,0x6d4)),ALT_LOG_FILE=join(ROOT,'.upli'+_0x261234(0x32e,0x528)+_0x300bcb(0x678,0x47f)+'log'),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:'(none'+')',premiumFile=join(ROOT,_0x300bcb(0x3bc,0x4a6)+'r',_0x300bcb(0x409,0x3fa)+'um');let premiumStatus='not\x20d'+_0x300bcb(0x604,0x478)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x300bcb(0x2ee,0x23c)+_0x300bcb(0x48c,0x540));const configFile=join(ROOT,_0x261234(0x1a6,0xee)+_0x300bcb(0x461,0x40a)+'n');if(existsSync(configFile))try{const cfg=JSON[_0x300bcb(0x62c,0x4a8)](readFileSync(configFile,_0x261234(0xe9,0x2d)));if(cfg[_0x261234(0x1e8,0x156)+'um']||cfg[_0x300bcb(0x409,0x5de)+_0x300bcb(0x46e,0x3fb)])premiumStatus='activ'+'e';}catch{}console[_0x300bcb(0x5da,0x72a)](_0x261234(0x443,0x326)+_0x300bcb(0x60e,0x470)+_0x300bcb(0x3c0,0x500)+_0x300bcb(0x3ac,0x257)+'Versi'+'on:\x20\x20'+_0x300bcb(0x63f,0x7dc)+pkg[_0x261234(0x311,0x502)+'on']+(_0x261234(0x405,0x40b)+_0x261234(0x136,0x22d)+_0x300bcb(0x376,0x401)+_0x261234(0x19c,0x2e))+process[_0x261234(0x311,0x492)+_0x300bcb(0x67a,0x776)][_0x261234(0x3be,0x256)]+(_0x300bcb(0x56e,0x680)+_0x261234(0x3d6,0x5ac)+_0x261234(0x2e0,0x126)+'\x20\x20')+envPort+(_0x261234(0x228,0x345)+_0x261234(0x293,0x32b)+'\x20\x20\x20\x20\x20'+'\x20\x20')+envHost+('\x0a\x20\x20Se'+'rver:'+_0x300bcb(0x501,0x3f3)+'\x20\x20')+serverStatus+(_0x261234(0x2bb,0xc3)+_0x300bcb(0x42f,0x398)+':\x20\x20\x20\x20'+'\x20\x20')+gwStatus+(_0x261234(0x35a,0x2b8)+_0x300bcb(0x629,0x4f5)+_0x300bcb(0x383,0x3b0)+'\x20\x20')+DATA_DIR+(_0x261234(0x109,0xa7)+_0x300bcb(0x611,0x7ef)+'e:\x20\x20\x20'+'\x20\x20')+logFile+(_0x300bcb(0x488,0x512)+_0x261234(0xe2,-0x11)+_0x261234(0x155,0x101)+'\x20\x20')+premiumStatus+(_0x261234(0x181,0x31e)+_0x261234(0x464,0x652)+_0x300bcb(0x401,0x5cd)+'\x20\x20')+ROOT+_0x261234(0x3d8,0x32a)),process[_0x300bcb(0x471,0x463)](-0x1da4*0x1+0x1e8d+-0xe9*0x1);}const ALL_COMMANDS=[_0x261234(0x277,0x3ae),'statu'+'s','updat'+'e',_0x261234(0x34f,0x2a1)+_0x300bcb(0x4f6,0x5d3),'logs','confi'+'g',_0x261234(0x421,0x38f)+'r',_0x300bcb(0x5b8,0x56d),_0x261234(0x352,0x3ea)];if(command===_0x300bcb(0x316,0x4e1)||!ALL_COMMANDS['inclu'+_0x261234(0x3d4,0x5b3)](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x300bcb(0x447,0x380)+_0x300bcb(0x3bb,0x29e):_0x300bcb(0x389,0x565)+'t';console[_0x261234(0x3b9,0x22c)]('⬡\x20Upl'+_0x261234(0x46b,0x5a0)+_0x261234(0x40a,0x482)+_0x300bcb(0x58e,0x4e8)+_0x300bcb(0x67e,0x659)+'ng\x20('+mode+(_0x261234(0x186,0xb4)+'\x20')+pid+').'),console[_0x261234(0x3b9,0x5b8)](_0x261234(0x265,0x27c)+_0x261234(0x398,0x3d6)+'first'+_0x300bcb(0x4f4,0x42d)+_0x300bcb(0x653,0x485)+'hat\x20s'+_0x300bcb(0x2ed,0x47c)),process[_0x300bcb(0x471,0x54f)](-0x3bb*-0x5+-0x7*-0x295+-0x24b9);}const env={...process.env};if(flags[_0x300bcb(0x499,0x44d)])env[_0x300bcb(0x3f7,0x46b)]=String(flags[_0x261234(0x278,0x267)]);if(flags[_0x300bcb(0x648,0x68d)])env['UPLIN'+_0x261234(0x16f,0x1ce)+'T']=flags[_0x261234(0x427,0x58b)];const serverPath=join(ROOT,_0x261234(0x19b,0x19a)+_0x261234(0x2dc,0x3fe));if(flags['detac'+'h']){const watchdogPath=join(ROOT,'serve'+'r','watch'+_0x261234(0x27a,0xad)+'s'),extraEnv={};if(flags[_0x261234(0x278,0xf9)])extraEnv[_0x300bcb(0x3f7,0x440)]=String(flags['port']);if(flags['host'])extraEnv[_0x261234(0x306,0x414)+_0x261234(0x16f,-0x6)+'T']=flags[_0x300bcb(0x648,0x629)];const isLinux=process['platf'+'orm']===_0x261234(0x3eb,0x568);let child;if(isLinux)try{const _0x147f45={};_0x147f45[_0x300bcb(0x43a,0x5c4)]=_0x300bcb(0x46c,0x52c)+'e',execSync(_0x261234(0x354,0x47e)+'\x20sets'+'id',_0x147f45);const _0x745c70={};_0x745c70[_0x261234(0x44e,0x483)]=ROOT,_0x745c70[_0x261234(0x2fd,0x48a)]=env,_0x745c70['detac'+'hed']=!![],_0x745c70['stdio']='ignor'+'e',child=spawn(_0x261234(0x2b8,0x418)+'d',[_0x300bcb(0x330,0x3ec)+'k',process['execP'+_0x300bcb(0x68e,0x6d2)],watchdogPath,JSON['strin'+'gify'](extraEnv)],_0x745c70);}catch{const _0x4e67ce={};_0x4e67ce[_0x261234(0x44e,0x470)]=ROOT,_0x4e67ce[_0x300bcb(0x51e,0x5af)]=env,_0x4e67ce[_0x300bcb(0x624,0x806)+_0x261234(0xae,0x5a)]=!![],_0x4e67ce[_0x261234(0x219,0x1a9)]='ignor'+'e',child=spawn(process[_0x261234(0x1b8,0x18e)+_0x261234(0x46d,0x2b7)],[watchdogPath,JSON[_0x261234(0x3e6,0x33e)+_0x261234(0x28d,0xc3)](extraEnv)],_0x4e67ce);}else{const _0x938aaa={};_0x938aaa[_0x300bcb(0x66f,0x6ae)]=ROOT,_0x938aaa[_0x261234(0x2fd,0x225)]=env,_0x938aaa[_0x261234(0x403,0x44b)+_0x300bcb(0x2cf,0x395)]=!![],_0x938aaa[_0x300bcb(0x43a,0x4c1)]=_0x300bcb(0x46c,0x5ab)+'e',child=spawn(process['execP'+_0x261234(0x46d,0x4b2)],[watchdogPath,JSON['strin'+_0x261234(0x28d,0x42d)](extraEnv)],_0x938aaa);}child['unref']();const port=flags[_0x261234(0x278,0x1e9)]||env[_0x261234(0x1d6,0xc2)]||0x10f3*-0x1+-0x12*-0xb5+-0x1*-0x11b9;console[_0x300bcb(0x5da,0x60f)]('⬡\x20Upl'+'ink\x20s'+'tarte'+_0x300bcb(0x4b9,0x4b9)+_0x300bcb(0x365,0x4d9)+_0x261234(0x483,0x303)+_0x261234(0x349,0x2c7)+'\x20watc'+_0x261234(0x299,0x321)+_0x261234(0x465,0x647)+child['pid']+').'),console[_0x261234(0x3b9,0x294)](_0x261234(0x47e,0x3c5)+_0x300bcb(0x378,0x44d)+_0x300bcb(0x3a0,0x447)+'lhost'+':'+port),console[_0x300bcb(0x5da,0x752)](_0x261234(0x183,0x1fe)+'o-res'+_0x261234(0x10a,-0xd0)+'\x20on\x20c'+_0x300bcb(0x394,0x19a)+'\x20Stop'+_0x261234(0x349,0x32b)+_0x300bcb(0x4f4,0x351)+_0x300bcb(0x653,0x687)+_0x261234(0x2d6,0x34d)+_0x261234(0xcc,0xe7)),process[_0x261234(0x250,0x53)](-0x110e+-0xe80+-0xfc7*-0x2);}else{if(flags[_0x300bcb(0x62d,0x53b)+'chdog']){const _0x511428={};_0x511428['cwd']=ROOT,_0x511428[_0x300bcb(0x51e,0x5c4)]=env,_0x511428[_0x300bcb(0x43a,0x3d2)]='inher'+'it';const child=spawn(process[_0x261234(0x1b8,-0x47)+_0x261234(0x46d,0x2fa)],[serverPath],_0x511428);writeFileSync(PID_FILE,String(child[_0x261234(0x39a,0x372)]));const cleanup=()=>{try{unlinkSync(PID_FILE);}catch{}};process['on'](_0x300bcb(0x5cc,0x761)+'T',()=>{function _0x14643f(_0x4f6409,_0x4dc762){return _0x261234(_0x4f6409- -0x153,_0x4dc762);}cleanup(),process[_0x14643f(0xfd,0x240)](0x586*-0x4+0x883*-0x3+0x2fa1*0x1);}),process['on'](_0x261234(0x28b,0x22e)+'RM',()=>{function _0x26e90f(_0x417f81,_0x290b1a){return _0x261234(_0x290b1a-0x1cf,_0x417f81);}function _0x2bdc2d(_0x27464d,_0x3c3e80){return _0x261234(_0x27464d-0x46a,_0x3c3e80);}const _0x38b6f2={'zuCUd':function(_0x24af0d){return _0x24af0d();}};_0x38b6f2[_0x26e90f(0x35e,0x366)](cleanup),process[_0x2bdc2d(0x6ba,0x524)](-0x1172+-0x13c8+0x253a);}),child['on'](_0x300bcb(0x471,0x364),_0x5bf0a9=>{function _0x4ce4c0(_0x5ae549,_0x12b00d){return _0x261234(_0x5ae549-0x112,_0x12b00d);}const _0x5aac2e={'nwOcN':function(_0xbf4ddb){return _0xbf4ddb();},'pHWQC':function(_0x2ce395,_0x488700){return _0x2ce395||_0x488700;}};_0x5aac2e[_0x8b8fd4(0x854,0x746)](cleanup);function _0x8b8fd4(_0x209d86,_0x3ab285){return _0x261234(_0x3ab285-0x3ee,_0x209d86);}process[_0x4ce4c0(0x362,0x53c)](_0x5aac2e[_0x4ce4c0(0x408,0x33c)](_0x5bf0a9,0x1*0xf59+-0x1286+0x32d));});}else{const watchdogPath=join(ROOT,_0x261234(0x19b,0x69)+'r',_0x261234(0x226,0xda)+_0x261234(0x27a,0x13d)+'s'),extraEnv={};if(flags[_0x261234(0x278,0x198)])extraEnv['PORT']=String(flags[_0x261234(0x278,0x2f9)]);if(flags['host'])extraEnv[_0x300bcb(0x527,0x444)+_0x300bcb(0x390,0x1f4)+'T']=flags['host'];const _0x164b52={};_0x164b52['cwd']=ROOT,_0x164b52[_0x300bcb(0x51e,0x629)]=env,_0x164b52[_0x261234(0x219,0x3b8)]=_0x261234(0x37d,0x431)+'it';const child=spawn(process['execP'+_0x300bcb(0x68e,0x513)],[watchdogPath,JSON['strin'+_0x261234(0x28d,0x440)](extraEnv)],_0x164b52),port=flags['port']||env[_0x300bcb(0x3f7,0x5eb)]||0x172c+0x4f9*0x5+0x15*-0x1a5;console['log'](_0x300bcb(0x483,0x4a3)+_0x261234(0x125,0x9f)+_0x300bcb(0x362,0x523)+'ng\x20wi'+_0x300bcb(0x351,0x4c9)+_0x300bcb(0x640,0x4f0)+_0x261234(0x275,0x17c)+_0x300bcb(0x49e,0x5d2)+_0x300bcb(0x316,0x490)+_0x261234(0x453,0x592)+_0x261234(0xd4,0x6a)),console[_0x261234(0x3b9,0x50f)](_0x300bcb(0x69f,0x4f9)+_0x261234(0x157,0xc1)+_0x261234(0x17f,0xc6)+_0x261234(0x128,-0x5c)+':'+port),console[_0x300bcb(0x5da,0x5ff)](_0x261234(0x3ce,0x254)+_0x261234(0x150,0x1c8)+_0x300bcb(0x620,0x774)+_0x300bcb(0x4ba,0x698)+_0x261234(0x22c,0xa1)+_0x300bcb(0x4e9,0x40d)+_0x300bcb(0x48f,0x506)+_0x300bcb(0x5c2,0x5c1)),process['on'](_0x300bcb(0x5cc,0x5f2)+'T',()=>{function _0x57c952(_0x47fff3,_0x9b0ad9){return _0x261234(_0x9b0ad9-0x2b4,_0x47fff3);}function _0x37049e(_0x1e9604,_0x2439ea){return _0x261234(_0x1e9604-0x1f2,_0x2439ea);}const _0x500ad9={};_0x500ad9[_0x57c952(0x641,0x463)]=_0x37049e(0x47d,0x35a)+'RM';const _0x5e5999=_0x500ad9;child[_0x57c952(0x389,0x542)](_0x5e5999['ENwkA']);}),process['on']('SIGTE'+'RM',()=>{function _0x101af0(_0x169559,_0x13d5a9){return _0x261234(_0x13d5a9-0x1a0,_0x169559);}function _0xf4ef6b(_0x45d778,_0x477877){return _0x261234(_0x45d778- -0x1ea,_0x477877);}const _0x226031={};_0x226031[_0x101af0(0x17b,0x32f)]='SIGTE'+'RM';const _0x482821=_0x226031;child[_0xf4ef6b(0xa4,0xf6)](_0x482821[_0xf4ef6b(-0x5b,-0x224)]);}),child['on'](_0x261234(0x250,0x228),_0x11ed26=>{const _0x39865c={};function _0x8611e1(_0x5ed5c1,_0xea1387){return _0x300bcb(_0xea1387- -0x35e,_0x5ed5c1);}_0x39865c[_0x1e154a(0x40a,0x213)]=function(_0x3df9a5,_0x47c4ce){return _0x3df9a5||_0x47c4ce;};const _0x3fe18a=_0x39865c;function _0x1e154a(_0x1c18c1,_0x46e721){return _0x300bcb(_0x46e721- -0x115,_0x1c18c1);}process[_0x8611e1(0x1ed,0x113)](_0x3fe18a[_0x1e154a(0x311,0x213)](_0x11ed26,-0x44c+-0x198f+0x1*0x1ddb));});}}}
|