@mooncompany/uplink-chat 0.39.2 → 0.43.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.
Files changed (137) hide show
  1. package/bin/uplink.js +1 -1
  2. package/middleware/error-handler.js +1 -1
  3. package/package.json +1 -1
  4. package/public/css/{app.7351d729.css → app.c2307d5a.css} +66 -8
  5. package/public/css/connection.css +87 -0
  6. package/public/css/{split-view.4e286356.css → split-view.ed613bc7.css} +86 -43
  7. package/public/css/themes.css +43 -38
  8. package/public/dist/bundle.1660bd4a.js +1 -0
  9. package/public/index.html +42 -16
  10. package/public/js/agents-data.js +1 -1
  11. package/public/js/agents-ui.js +1 -1
  12. package/public/js/agents.js +1 -1
  13. package/public/js/app.js +1 -1
  14. package/public/js/appearance-settings.js +1 -1
  15. package/public/js/artifacts.js +1 -1
  16. package/public/js/audio-pcm-processor.js +1 -1
  17. package/public/js/audio-queue.js +1 -1
  18. package/public/js/bootstrap.js +1 -1
  19. package/public/js/chat.js +1 -1
  20. package/public/js/commands.js +1 -1
  21. package/public/js/connection-api.js +1 -1
  22. package/public/js/connection.js +1 -1
  23. package/public/js/context-tracker.js +1 -1
  24. package/public/js/context-utils.js +1 -0
  25. package/public/js/core.js +1 -1
  26. package/public/js/cron-panel.js +1 -1
  27. package/public/js/dashboard.js +1 -1
  28. package/public/js/developer.js +1 -1
  29. package/public/js/encryption.js +1 -1
  30. package/public/js/errors.js +1 -1
  31. package/public/js/event-bus.js +1 -1
  32. package/public/js/fetch-utils.js +1 -1
  33. package/public/js/file-handler.js +1 -1
  34. package/public/js/files.js +1 -1
  35. package/public/js/gateway-chat.js +1 -1
  36. package/public/js/logger.js +1 -1
  37. package/public/js/markdown.js +1 -1
  38. package/public/js/message-actions.js +1 -1
  39. package/public/js/message-renderer.js +1 -1
  40. package/public/js/missed-messages.js +1 -1
  41. package/public/js/mobile-debug.js +1 -1
  42. package/public/js/model-selector.js +1 -0
  43. package/public/js/notifications.js +1 -1
  44. package/public/js/offline-queue.js +1 -1
  45. package/public/js/onboarding.js +1 -1
  46. package/public/js/panels.js +1 -1
  47. package/public/js/premium.js +1 -1
  48. package/public/js/primary-header.js +1 -1
  49. package/public/js/realtime-voice.js +1 -1
  50. package/public/js/satellite-sync.js +1 -1
  51. package/public/js/satellite-ui.js +1 -1
  52. package/public/js/satellites.js +1 -1
  53. package/public/js/settings.js +1 -1
  54. package/public/js/shortcuts.js +1 -1
  55. package/public/js/split-chat.js +1 -1
  56. package/public/js/split-resize.js +1 -1
  57. package/public/js/splitview.js +1 -1
  58. package/public/js/storage.js +1 -1
  59. package/public/js/streaming-handler.js +1 -1
  60. package/public/js/stt-settings.js +1 -1
  61. package/public/js/themes.js +1 -1
  62. package/public/js/timestamps.js +1 -1
  63. package/public/js/tts-settings.js +1 -1
  64. package/public/js/ui.js +1 -1
  65. package/public/js/update-notifier.js +1 -1
  66. package/public/js/utils/constants.js +1 -1
  67. package/public/js/utils/icons.js +1 -1
  68. package/public/js/utils/sanitize.js +1 -1
  69. package/public/js/utils/sse-parser.js +1 -1
  70. package/public/js/vad.js +1 -1
  71. package/public/js/vendor/dompurify.min.js +1 -1
  72. package/public/js/voice-settings-v2.js +1 -1
  73. package/public/js/voice.js +1 -1
  74. package/public/sw.js +3 -3
  75. package/server/channel.js +1 -1
  76. package/server/chat.js +1 -1
  77. package/server/config-store.js +1 -1
  78. package/server/config.js +1 -1
  79. package/server/context.js +1 -1
  80. package/server/gateway-api-proxy.js +1 -1
  81. package/server/gateway-commands.js +1 -1
  82. package/server/gateway-proxy.js +1 -1
  83. package/server/index.js +1 -1
  84. package/server/logger.js +1 -1
  85. package/server/message-store.js +1 -1
  86. package/server/middleware/auth.js +1 -1
  87. package/server/middleware.js +1 -1
  88. package/server/openclaw-discover.js +1 -1
  89. package/server/premium/index.js +1 -1
  90. package/server/premium/license.js +1 -1
  91. package/server/realtime/bridge.js +1 -1
  92. package/server/realtime/index.js +1 -1
  93. package/server/realtime/tts-stream.js +1 -1
  94. package/server/routes/agents.js +1 -1
  95. package/server/routes/artifacts.js +1 -1
  96. package/server/routes/chat.js +1 -1
  97. package/server/routes/config-settings.js +1 -1
  98. package/server/routes/config.js +1 -1
  99. package/server/routes/cron.js +1 -1
  100. package/server/routes/files.js +1 -1
  101. package/server/routes/index.js +1 -1
  102. package/server/routes/media.js +1 -1
  103. package/server/routes/missed-messages.js +1 -1
  104. package/server/routes/premium.js +1 -1
  105. package/server/routes/push.js +1 -1
  106. package/server/routes/satellite.js +1 -1
  107. package/server/routes/status.js +1 -1
  108. package/server/routes/stt.js +1 -1
  109. package/server/routes/voice.js +1 -1
  110. package/server/routes/webhooks.js +1 -1
  111. package/server/routes.js +1 -1
  112. package/server/runtime-config.js +1 -1
  113. package/server/share.js +1 -1
  114. package/server/stt/faster-whisper.js +1 -1
  115. package/server/stt/groq.js +1 -1
  116. package/server/stt/index.js +1 -1
  117. package/server/stt/openai.js +1 -1
  118. package/server/sync.js +1 -1
  119. package/server/tailscale-https.js +1 -1
  120. package/server/tts.js +1 -1
  121. package/server/update-checker.js +1 -1
  122. package/server/utils/filename.js +1 -1
  123. package/server/utils.js +1 -1
  124. package/server/watchdog.js +1 -1
  125. package/server/websocket/broadcast.js +1 -1
  126. package/server/websocket/connections.js +1 -1
  127. package/server/websocket/index.js +1 -1
  128. package/server/websocket/routing.js +1 -1
  129. package/server/websocket/sync.js +1 -1
  130. package/server.js +1 -1
  131. package/utils/detect-tool-usage.js +1 -1
  132. package/utils/errors.js +1 -1
  133. package/utils/html-escape.js +1 -1
  134. package/utils/id-sanitize.js +1 -1
  135. package/utils/response.js +1 -1
  136. package/utils/with-retry.js +1 -1
  137. package/public/dist/bundle.22434672.js +0 -1
package/bin/uplink.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- (function(_0x4521c3,_0x306add){function _0x1eaa07(_0x59eda9,_0x1bc73f){return _0x10d4(_0x59eda9- -0x18,_0x1bc73f);}function _0x104648(_0x2c745d,_0x490c5f){return _0x10d4(_0x490c5f-0x247,_0x2c745d);}const _0x196c1a=_0x4521c3();while(!![]){try{const _0x32e355=-parseInt(_0x1eaa07(0x2e4,0x1b2))/(0x1271+-0x71*-0x2+0x2*-0x9a9)*(-parseInt(_0x1eaa07(0x111,-0x10))/(-0x1*-0x1f26+-0x1b36*-0x1+0x2*-0x1d2d))+parseInt(_0x104648(0x63b,0x69a))/(-0x18af+-0xa*0x107+0x22f8)+parseInt(_0x1eaa07(0x144,0x1e5))/(-0x1*-0x17ea+-0x1f36+0x68*0x12)+-parseInt(_0x104648(0x2b9,0x372))/(-0x353*0x4+-0xc8a+0x1*0x19db)+-parseInt(_0x104648(0x304,0x440))/(-0x13c9+-0x3e2+0x17b1)+parseInt(_0x1eaa07(0xbd,-0x100))/(-0x1d97+-0x137c+0x6*0x82f)+-parseInt(_0x104648(0x5a1,0x607))/(-0x10e9+-0x189*0xa+0x49d*0x7)*(parseInt(_0x1eaa07(0x121,0x69))/(-0x1f3b+-0x139d*-0x1+0xba7));if(_0x32e355===_0x306add)break;else _0x196c1a['push'](_0x196c1a['shift']());}catch(_0x2c8100){_0x196c1a['push'](_0x196c1a['shift']());}}}(_0x4ce9,0x8031*0x3+-0xb*-0x6925+0xfef1));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 _0x3653cc from'net';import _0x910dc9 from'http';import _0xae449b from'os';function _0x2077cd(_0x462f9b,_0x1ebef6){return _0x10d4(_0x462f9b-0xfa,_0x1ebef6);}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename),ROOT=join(__dirname,'..');function resolveDataDir(){const _0x3d844c={'jJtpk':_0x598f69(0x0,0x10e)+_0x598f69(0x5a,0xdc)+'+$','Oifpc':function(_0x3ad6ac,_0x4768b1){return _0x3ad6ac!==_0x4768b1;},'fewWi':'aIhPN','HtYkI':'xpWfl','YdGDk':function(_0x5ebb35,_0xfc3185){return _0x5ebb35===_0xfc3185;},'JgOBL':_0x37ccb6(0x27c,0x25c),'iqGGJ':function(_0x183068,_0x49fa4c,_0x46de3c){return _0x183068(_0x49fa4c,_0x46de3c);},'XpRdg':'activ'+'e','IcmnG':_0x37ccb6(0x205,0x1ad),'xTPzs':function(_0x4cb269){return _0x4cb269();},'Wjzuu':_0x37ccb6(0x2a1,0x16a),'IEXOs':_0x37ccb6(0x411,0x46d)+'ta','OEvIH':_0x598f69(0x15,-0x1cb)+'k','CPGgp':function(_0x1c6daa,_0x5ababe,_0x3815ed){return _0x1c6daa(_0x5ababe,_0x3815ed);},'DSUbX':'.upli'+'nk'},_0x46d692=(function(){const _0x3b165a={'zEEUd':_0x3d844c[_0x59b85a(0x519,0x509)],'UvwBw':function(_0x1e121f,_0x3903ad){function _0x224d1c(_0xe079b2,_0x53e872){return _0x59b85a(_0x53e872- -0x35f,_0xe079b2);}return _0x3d844c[_0x224d1c(-0xe4,0xcd)](_0x1e121f,_0x3903ad);},'zwBar':_0x3d844c[_0xafab4e(0x391,0x218)],'qGrrV':_0x3d844c[_0x59b85a(0x71e,0x8c1)],'ShoNa':function(_0x2c2b19,_0x3250ee){function _0x1e08e9(_0xa36ace,_0x9f73d1){return _0x59b85a(_0xa36ace- -0x2a6,_0x9f73d1);}return _0x3d844c[_0x1e08e9(0x267,0x384)](_0x2c2b19,_0x3250ee);},'whWlS':_0x3d844c[_0xafab4e(-0x19d,0x3d)]};function _0x59b85a(_0x312b67,_0x542dcf){return _0x598f69(_0x312b67-0x524,_0x542dcf);}function _0xafab4e(_0x5a7064,_0x4545d5){return _0x598f69(_0x4545d5-0x6a,_0x5a7064);}let _0x37f649=!![];return function(_0x423e7a,_0x23fa0f){const _0x9a222d=_0x37f649?function(){const _0x1d31d0={'ASvNt':_0x3b165a['zEEUd'],'IzEmt':function(_0x2956c6,_0x1e4d0d,_0x3f7046){return _0x2956c6(_0x1e4d0d,_0x3f7046);}};function _0x4ee95a(_0x37d83b,_0x2b9a61){return _0x10d4(_0x2b9a61-0x10a,_0x37d83b);}function _0xd34184(_0x4065bb,_0x5c14b4){return _0x10d4(_0x4065bb- -0x1c1,_0x5c14b4);}if(_0x3b165a[_0x4ee95a(0x4cb,0x42e)](_0x3b165a['zwBar'],_0x3b165a[_0x4ee95a(0x2a0,0x2f1)])){if(_0x23fa0f){if(_0x3b165a[_0xd34184(-0xd2,-0x287)]('rYjDJ',_0x3b165a[_0x4ee95a(0x2a3,0x253)])){const _0x10274a=_0x23fa0f[_0x4ee95a(0x3f8,0x559)](_0x423e7a,arguments);return _0x23fa0f=null,_0x10274a;}else return _0x5528ce[_0xd34184(0x210,0x1c8)+_0xd34184(-0x10f,-0x218)]()[_0xd34184(0x8e,-0x145)+'h'](_0x4ee95a(0x3c8,0x350)+')+)+)'+'+$')[_0x4ee95a(0x477,0x4db)+'ing']()['const'+'ructo'+'r'](_0x3f22cc)[_0xd34184(0x8e,0x14)+'h'](ubxLjZ['ASvNt']);}}else{const _0x5bd434={};_0x5bd434[_0x4ee95a(0x29f,0x33f)+_0xd34184(-0xe5,-0x16b)]=!![],_0x5bd434[_0x4ee95a(0x5bb,0x40d)]=!![],_0x1d31d0[_0x4ee95a(0x599,0x4b7)](_0x1f55cc,_0x84a2c7,_0x5bd434),_0x329085++,_0x433dd9['log'](_0x4ee95a(0x4d9,0x430)+_0x4ee95a(0x31b,0x4ed)+'d\x20'+_0x427caf);}}:function(){};return _0x37f649=![],_0x9a222d;};}()),_0x31ce34=_0x3d844c[_0x598f69(-0xa1,-0x110)](_0x46d692,this,function(){function _0x42424f(_0x439fe2,_0x18072b){return _0x598f69(_0x18072b-0x2e9,_0x439fe2);}function _0x2472c1(_0x1facf4,_0x3fcbf6){return _0x598f69(_0x1facf4-0x1ba,_0x3fcbf6);}if(_0x3d844c[_0x42424f(0x20e,0x2d2)](_0x3d844c['IcmnG'],'NMSzz'))try{const _0xf5c9bb=_0x212f0f[_0x42424f(0x86,0x1fd)](_0x3d844c[_0x42424f(0x3ce,0x248)](_0x19da8e,_0x2fe298,'utf8'));if(_0xf5c9bb[_0x2472c1(0x7e,0x125)+'um']||_0xf5c9bb[_0x2472c1(0x7e,0xdc)+'umKey'])_0x27e22f=_0x3d844c[_0x42424f(0x56,0x22e)];}catch{}else return _0x31ce34[_0x2472c1(0x345,0x3c8)+_0x2472c1(0x26,-0x9f)]()['searc'+'h'](_0x42424f(0x154,0x2e9)+_0x42424f(0x1ac,0x343)+'+$')[_0x42424f(0x385,0x474)+_0x2472c1(0x26,0x128)]()['const'+'ructo'+'r'](_0x31ce34)[_0x2472c1(0x1c3,0x221)+'h']('(((.+'+_0x2472c1(0x214,0x368)+'+$');});_0x3d844c[_0x598f69(0x74,0x7c)](_0x31ce34);function _0x37ccb6(_0x21b7d6,_0x57fb68){return _0x10d4(_0x57fb68-0x59,_0x21b7d6);}if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;function _0x598f69(_0x41958d,_0x4f9797){return _0x10d4(_0x41958d- -0x246,_0x4f9797);}if(process[_0x37ccb6(-0x21,0x110)+_0x37ccb6(0x3a5,0x21b)]===_0x3d844c['Wjzuu']){const _0x4dc551=process.env.APPDATA||join(_0xae449b[_0x37ccb6(0x245,0x28a)+'ir'](),_0x3d844c[_0x37ccb6(0x3f9,0x3e8)],'Roami'+'ng');return join(_0x4dc551,_0x3d844c[_0x37ccb6(0x281,0x161)]);}return _0x3d844c[_0x598f69(-0x1b3,-0x1b8)](join,_0xae449b[_0x37ccb6(0x3d0,0x28a)+'ir'](),_0x3d844c['DSUbX']);}const DATA_DIR=resolveDataDir();try{const _0x72f5={};_0x72f5[_0x2077cd(0x32f,0x1e5)+_0x24b44d(0x73,0x12f)]=!![],mkdirSync(DATA_DIR,_0x72f5);}catch{}const PID_FILE=join(DATA_DIR,'.upli'+_0x24b44d(0x117,0x316)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,_0x24b44d(0x3f5,0x534)+_0x2077cd(0x41a,0x4c6)+_0x24b44d(0x17,-0x195)+_0x24b44d(0xf8,-0x2)),WATCHDOG_STATE_FILE=join(DATA_DIR,'.upli'+_0x2077cd(0x41a,0x40d)+_0x24b44d(0x17,-0x162)+'g.jso'+'n'),args=process[_0x2077cd(0x547,0x6c7)][_0x2077cd(0x4f7,0x485)](0x7f8*0x3+0x1b5f*0x1+-0xa41*0x5),command=args[-0x116*-0xf+-0x5cb*0x3+0x117]||'start',flags={};for(let i=0x419+-0x1f2a*0x1+0x1b11;i<args[_0x24b44d(0x3e,0x67)+'h'];i++){const HAiEJM=(_0x24b44d(0xb4,0x63)+_0x2077cd(0x2bd,0x158)+'8|4|9'+_0x2077cd(0x1bc,0x28a))[_0x2077cd(0x323,0x3dc)]('|');let SemrJv=0x1539+0x312+-0x184b;while(!![]){switch(HAiEJM[SemrJv++]){case'0':(args[i]===_0x2077cd(0x40f,0x34e)+'p'||args[i]==='-h')&&(flags[_0x24b44d(0x2c8,0xcc)]=!![]);continue;case'1':(args[i]==='--ver'+_0x24b44d(0x2a0,0x482)||args[i]==='-v')&&(flags['versi'+'on']=!![]);continue;case'2':(args[i]===_0x24b44d(0x3a6,0x2fa)+'ce'||args[i]==='-f')&&(flags[_0x2077cd(0x3fd,0x332)]=!![]);continue;case'3':(args[i]===_0x2077cd(0x328,0x259)+_0x2077cd(0x2db,0x168)||args[i]==='-d')&&(flags[_0x24b44d(0x214,0xa6)+'h']=!![]);continue;case'4':args[i]===_0x24b44d(0x349,0x443)+'es'&&args[i+(0xc0d+0x1*-0x18c5+-0x1*-0xcb9)]&&(flags[_0x24b44d(0x8c,-0x38)]=parseInt(args[i+(0x3*0x2e3+-0x1*0xf64+0x1af*0x4)],-0x1*-0x1c33+0xc85+-0x28ae),i++);continue;case'5':args[i]===_0x24b44d(0x3a5,0x35e)+'h'&&(flags['path']=!![]);continue;case'6':args[i]===_0x2077cd(0x1e8,0xa5)+'t'&&(flags[_0x24b44d(0x104,0x2fa)]=args[i+(0xa*-0x1cf+0x133f+0x4*-0x4a)]||_0x24b44d(0xd4,0x2aa)+'.0',i++);continue;case'7':args[i]===_0x2077cd(0x1a2,0x173)+'t'&&args[i+(-0x207*-0x3+-0x41*0xb+-0x349*0x1)]&&(flags[_0x24b44d(0xfa,0x1d5)]=parseInt(args[i+(0x74*-0x3d+-0x40b+0x1fb0)],0x1*-0x99d+0x5*0x7c6+0x3*-0x9bd),i++);continue;case'8':args[i]===_0x24b44d(0x3d0,0x2c0)+_0x2077cd(0x29d,0x1f7)+_0x2077cd(0x1c1,0xef)&&(flags[_0x2077cd(0x29e,0x27a)+_0x2077cd(0x1fb,0x278)]=!![]);continue;case'9':args[i]===_0x24b44d(0x299,0x25b)+'t'&&(flags[_0x2077cd(0x513,0x328)]=!![]);continue;}break;}}if(flags[_0x2077cd(0x284,0x96)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2077cd(0x462,0x5e8)+_0x24b44d(0x39b,0x316)+'on'));console['log'](_0x24b44d(0x1f2,0xe6)+_0x2077cd(0x3dd,0x2f7)+'t\x20v'+pkg[_0x24b44d(0x121,0x23b)+'on']),process['exit'](-0x16fc+0x2*-0xb9c+0x2e34);}flags[_0x24b44d(0x2c8,0x11d)]&&(console[_0x24b44d(0x3e2,0x524)](_0x2077cd(0x490,0x31c)+_0x2077cd(0x4ad,0x568)+_0x2077cd(0x1e0,0xba)+_0x2077cd(0x423,0x49e)+_0x2077cd(0x1ea,0x221)+'at\x0a\x0a\x20'+_0x2077cd(0x400,0x41d)+_0x2077cd(0x1b6,0x208)+_0x2077cd(0x42f,0x440)+_0x2077cd(0x37e,0x1da)+_0x24b44d(0x34f,0x1ab)+'comma'+_0x24b44d(0x25f,0xe2)+'optio'+_0x24b44d(0x78,0x27)+_0x24b44d(0x74,-0xf1)+_0x2077cd(0x4d7,0x5a9)+_0x2077cd(0x541,0x6e7)+_0x2077cd(0x3e4,0x46e)+'t\x20\x20\x20\x20'+_0x24b44d(0xc3,0xf7)+_0x24b44d(0x56,-0x3e)+_0x2077cd(0x453,0x517)+'link\x20'+_0x24b44d(0x11f,0xfb)+_0x2077cd(0x45d,0x5cb)+'fault'+')\x0a\x20\x20\x20'+'\x20stop'+'\x20\x20\x20\x20\x20'+_0x2077cd(0x226,0x39a)+_0x2077cd(0x205,0x29b)+_0x2077cd(0x431,0x2ba)+'ng\x20Up'+'link\x20'+_0x2077cd(0x282,0x305)+_0x24b44d(0x2f4,0x346)+'\x20stat'+_0x2077cd(0x36b,0x29f)+'\x20\x20\x20Ch'+_0x2077cd(0x320,0x23e)+_0x24b44d(0x153,0x154)+_0x2077cd(0x1f6,0x93)+_0x24b44d(0x7e,0xd6)+'ning\x0a'+_0x2077cd(0x2f2,0x286)+_0x2077cd(0x367,0x397)+_0x2077cd(0x173,0xd0)+_0x24b44d(0x2a5,0x3b1)+_0x24b44d(0x26e,0x397)+_0x2077cd(0x3d0,0x2bc)+_0x2077cd(0x39f,0x534)+_0x2077cd(0x326,0x33a)+_0x24b44d(0x45,0x60)+'e\x0a\x20\x20\x20'+_0x24b44d(0x14d,0x201)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20Ta'+_0x24b44d(0x10f,-0x3c)+_0x24b44d(0x1bb,0x145)+_0x24b44d(0x2da,0x377)+_0x2077cd(0x452,0x26b)+_0x2077cd(0x43f,0x418)+_0x24b44d(0xd2,0x13e)+_0x24b44d(0x335,0x215)+_0x2077cd(0x4e9,0x5bd)+'ig\x20\x20\x20'+_0x24b44d(0x38c,0x51b)+_0x2077cd(0x1a5,0x5e)+_0x2077cd(0x1cc,0xd0)+_0x24b44d(0x386,0x35e)+_0x2077cd(0x22a,0x121)+_0x24b44d(0x319,0x452)+_0x2077cd(0x542,0x6e7)+_0x2077cd(0x2c0,0x13a)+_0x2077cd(0x173,0x30d)+_0x24b44d(0x106,0x223)+_0x24b44d(0x18b,-0x2e)+_0x24b44d(0x1fa,0x343)+_0x2077cd(0x2ff,0x15f)+_0x24b44d(0x367,0x44d)+_0x24b44d(0x370,0x279)+_0x24b44d(0x350,0x23e)+_0x24b44d(0x10,0x6)+_0x2077cd(0x38d,0x581)+_0x24b44d(0x3bb,0x583)+_0x24b44d(0x188,0x23)+_0x2077cd(0x17f,0x322)+'nd\x20lo'+'cal\x20d'+_0x2077cd(0x4f1,0x3d1)+'\x20\x20\x20up'+'date\x20'+_0x24b44d(0x10,-0x74)+'Updat'+_0x24b44d(0x3dc,0x339)+_0x2077cd(0x27c,0x220)+_0x24b44d(0x2b9,0x1c2)+'\x20vers'+'ion\x0a\x20'+_0x2077cd(0x395,0x42f)+_0x24b44d(0x3a7,0x286)+_0x24b44d(0x1de,-0xe)+_0x2077cd(0x436,0x307)+_0x2077cd(0x282,0x107)+_0x2077cd(0x503,0x6a3)+_0x24b44d(0x269,0x26b)+'ve\x20al'+_0x24b44d(0x371,0x1b7)+_0x24b44d(0x2fc,0x1ee)+_0x2077cd(0x362,0x53c)+_0x24b44d(0x26,-0x2e)+'ions:'+_0x2077cd(0x2dd,0x2ed)+_0x2077cd(0x1a2,0x1e)+_0x2077cd(0x384,0x215)+'\x20\x20\x20\x20\x20'+'\x20Port'+_0x2077cd(0x191,0x270)+_0x24b44d(0x359,0x300)+_0x24b44d(0x33,-0x1a0)+_0x24b44d(0x2c1,0x3b0)+_0x24b44d(0x18c,-0x72)+_0x2077cd(0x409,0x591)+'\x20\x20\x20\x20-'+'-host'+_0x24b44d(0x1b2,0x1ea)+'\x20\x20\x20\x20\x20'+_0x24b44d(0x95,0x85)+'to\x20bi'+'nd\x20to'+'\x20(def'+_0x24b44d(0x13e,0xa5)+'\x200.0.'+'0.0)\x0a'+_0x2077cd(0x22d,0x227)+_0x24b44d(0x323,0x2dd)+_0x2077cd(0x3e2,0x46d)+_0x24b44d(0x2f9,0x385)+'Run\x20i'+_0x2077cd(0x4c8,0x61a)+'kgrou'+'nd\x20(d'+_0x2077cd(0x428,0x22c)+_0x2077cd(0x33b,0x1a2)+_0x24b44d(0x3c3,0x4a4)+_0x24b44d(0x4b,0x22e)+_0x2077cd(0x425,0x559)+_0x2077cd(0x213,0x301)+_0x24b44d(0x3b8,0x57b)+_0x24b44d(0x27,-0xc5)+'out\x20a'+_0x24b44d(0x36f,0x430)+_0x2077cd(0x385,0x279)+_0x2077cd(0x180,0x350)+'chdog'+'\x0a\x20\x20\x20\x20'+'--lin'+_0x24b44d(0x40,-0x120)+_0x24b44d(0x10,0x6b)+_0x24b44d(0xae,0x2b)+_0x2077cd(0x342,0x4df)+_0x2077cd(0x4c0,0x2ea)+'lines'+_0x24b44d(0x364,0x183)+_0x24b44d(0x149,-0x29)+_0x24b44d(0x30,0x1ff)+'\x20defa'+_0x2077cd(0x32e,0x45c)+_0x24b44d(0x2c4,0x30f)+_0x24b44d(0x2c,-0xdf)+'edit\x20'+_0x24b44d(0x10,-0x117)+_0x2077cd(0x228,0x322)+'pen\x20c'+_0x24b44d(0x8e,-0x10b)+_0x24b44d(0x128,0x3f)+_0x24b44d(0x20c,0x3b6)+_0x2077cd(0x3c4,0x4be)+'fig)\x0a'+_0x2077cd(0x22d,0x268)+'-path'+_0x2077cd(0x173,0x2ca)+'\x20\x20\x20\x20\x20'+'Print'+_0x24b44d(0x386,0x3a3)+_0x2077cd(0x4c9,0x2ea)+_0x24b44d(0x242,0x19c)+_0x24b44d(0x215,0x1e0)+_0x2077cd(0x1f1,0x3a2)+_0x24b44d(0x3c3,0x564)+_0x2077cd(0x51f,0x36f)+_0x24b44d(0xc9,0x2a7)+_0x2077cd(0x2ca,0x145)+'\x20\x20Ski'+_0x24b44d(0x212,0x1bb)+_0x2077cd(0x265,0x1a0)+_0x2077cd(0x479,0x55f)+_0x2077cd(0x17d,0x18a)+_0x2077cd(0x34e,0x1db)+(_0x2077cd(0x4a9,0x3e2)+_0x2077cd(0x2dd,0x12d)+_0x2077cd(0x2d5,0x1ee)+_0x2077cd(0x173,0x25d)+_0x24b44d(0x10,0x1e2)+_0x24b44d(0x2a5,0x3d7)+_0x24b44d(0x4d,-0x123)+'ion\x0a\x20'+_0x2077cd(0x524,0x5f5)+_0x2077cd(0x173,0x31)+_0x24b44d(0x10,0x185)+_0x24b44d(0x2b8,0x195)+_0x2077cd(0x310,0x3eb)+_0x24b44d(0x225,0x2a4)+_0x24b44d(0x393,0x4bc)+'\x20\x20Exa'+_0x2077cd(0x1a6,0x18)+_0x2077cd(0x541,0x58f)+'\x20npx\x20'+_0x24b44d(0x1f2,0x2d4)+_0x24b44d(0x27a,0x310)+_0x2077cd(0x40c,0x322)+_0x24b44d(0x10,0x1dc)+'\x20\x20\x20\x20\x20'+_0x2077cd(0x40e,0x54a)+_0x2077cd(0x4b4,0x48a)+_0x24b44d(0x2d2,0x276)+_0x2077cd(0x424,0x5aa)+_0x2077cd(0x210,0x293)+_0x24b44d(0x2a2,0x404)+'\x20\x20npx'+_0x24b44d(0x12b,0x14e)+_0x2077cd(0x19e,0x287)+'at\x20--'+_0x24b44d(0x34e,0x533)+_0x2077cd(0x4f3,0x458)+_0x24b44d(0x10,-0x1d8)+_0x2077cd(0x387,0x272)+_0x2077cd(0x470,0x515)+_0x24b44d(0x382,0x382)+_0x2077cd(0x502,0x5fe)+_0x2077cd(0x2dd,0x22a)+_0x24b44d(0x23e,0x347)+_0x2077cd(0x3cd,0x28b)+_0x24b44d(0x327,0x2c4)+'\x20stop'+'\x20\x20\x20\x20\x20'+_0x2077cd(0x173,0x34d)+_0x2077cd(0x216,0xce)+_0x2077cd(0x436,0x526)+'the\x20s'+_0x2077cd(0x22f,0x331)+'\x0a\x20\x20\x20\x20'+_0x24b44d(0x23e,0x4d)+_0x24b44d(0x26a,0x103)+_0x24b44d(0x327,0x24e)+_0x2077cd(0x239,0x126)+_0x2077cd(0x173,0x173)+'\x20\x20\x20\x20\x20'+_0x2077cd(0x216,0x3da)+'Show\x20'+_0x24b44d(0x2e0,0x1f7)+_0x2077cd(0x239,0x231)+_0x24b44d(0x17a,0x111)+'npx\x20u'+'plink'+_0x24b44d(0x327,0x2ae)+_0x24b44d(0x14d,0x15)+'\x20--li'+_0x24b44d(0xa3,-0x130)+'00\x20#\x20'+_0x2077cd(0x177,0xea)+'last\x20'+_0x24b44d(0xf7,-0xc2)+'og\x20li'+_0x2077cd(0x557,0x505)+'\x20\x20\x20np'+_0x2077cd(0x4ab,0x3ea)+'ink-c'+_0x2077cd(0x16b,0x17d)+'onfig'+_0x24b44d(0x58,0xd5)+'it\x20\x20\x20'+_0x24b44d(0x11c,0x31b)+_0x2077cd(0x343,0x52c)+'nv\x20in'+'\x20your'+_0x24b44d(0x9d,-0xf4)+_0x2077cd(0x1ad,0x1ac)+_0x2077cd(0x4e6,0x4f4)+_0x24b44d(0x12b,0x203)+'nk-ch'+'at\x20do'+_0x2077cd(0x263,0xfd)+_0x24b44d(0x10,0x138)+_0x2077cd(0x173,0x13e)+_0x24b44d(0x3af,0x1f1)+'\x20diag'+_0x2077cd(0x2ab,0x1c9)+_0x2077cd(0x46c,0x418)+_0x2077cd(0x4e6,0x321)+_0x24b44d(0x12b,0x21)+_0x2077cd(0x19e,0x324)+'at\x20re'+_0x24b44d(0x10a,0x2ac)+_0x24b44d(0xa5,0x16c)+_0x24b44d(0x114,-0xa9)+_0x24b44d(0x3a,-0xaa)+_0x2077cd(0x31b,0x2b6)+'ta\x20wi'+_0x2077cd(0x53b,0x65c)+'\x20prom'+_0x24b44d(0xa,0x25))),process[_0x2077cd(0x34a,0x2cf)](-0x3*-0xc77+-0xaa3+-0xa*0x2ad));function _0x24b44d(_0x31fdd5,_0x3e2bbe){return _0x10d4(_0x31fdd5- -0x69,_0x3e2bbe);}function isRunning(_0x28995b){const _0x2c19af={'yCFIC':function(_0x322ef5,_0x5a2103,_0x1ba1a1){return _0x322ef5(_0x5a2103,_0x1ba1a1);},'aXGTe':function(_0xdd3cb2,_0x2273fc){return _0xdd3cb2+_0x2273fc;},'kpBUI':_0x2ebb4e(0x4ee,0x457),'lViQf':'in\x20us'+_0x472c0c(0x2ca,0xd2)+'anoth'+_0x2ebb4e(0x3ab,0x5a5)+'ocess','MAPZN':function(_0x3c19df,_0x1a6f00){return _0x3c19df===_0x1a6f00;},'ANEYC':_0x2ebb4e(0x410,0x54b)};function _0x472c0c(_0x3a4eab,_0x53e68f){return _0x2077cd(_0x53e68f- -0x19f,_0x3a4eab);}function _0x2ebb4e(_0x59639c,_0x3ce96d){return _0x2077cd(_0x3ce96d-0x175,_0x59639c);}try{return process[_0x472c0c(0x2d4,0x1dd)](_0x28995b,0x1a0e+0x1*-0x401+0x5*-0x469),!![];}catch{if(_0x2c19af[_0x472c0c(0x1f3,0xa3)](_0x472c0c(0x45a,0x2d9),_0x2c19af[_0x2ebb4e(0x6b7,0x520)]))_0x2c19af[_0x2ebb4e(0x6ac,0x600)](_0x5eeb5c,_0x2c19af[_0x472c0c(0x67,0x1f3)](_0x2c19af[_0x472c0c(0x8b,0xfb)],_0x5be363),_0x2c19af[_0x2ebb4e(0x7c3,0x632)]);else return![];}}function getPid(){function _0x38b272(_0x53598c,_0x2aeb47){return _0x24b44d(_0x2aeb47-0x23a,_0x53598c);}const _0x43be32={'btygY':function(_0xe8df46,_0x3d5bbd){return _0xe8df46(_0x3d5bbd);},'heJas':function(_0x357b85,_0x488a33,_0x3d6289){return _0x357b85(_0x488a33,_0x3d6289);},'ThxVl':_0x22eaf0(0x129,0x215),'Eadzh':function(_0x2befd0,_0x40ec55){return _0x2befd0(_0x40ec55);},'SZHdW':function(_0x2be7ba,_0x292e8b){return _0x2be7ba(_0x292e8b);}};function _0x22eaf0(_0x15907e,_0x3db3ce){return _0x24b44d(_0x3db3ce-0x213,_0x15907e);}if(!_0x43be32[_0x38b272(0x7b2,0x617)](existsSync,PID_FILE))return null;const _0x8c3e6a=_0x43be32['heJas'](parseInt,_0x43be32['heJas'](readFileSync,PID_FILE,_0x43be32[_0x38b272(0x2c3,0x493)])[_0x22eaf0(0x5a6,0x581)](),0x5*-0x4a9+-0x295*-0x2+-0x63*-0x2f);if(_0x43be32['Eadzh'](isNaN,_0x8c3e6a)||!_0x43be32[_0x38b272(0x5e8,0x513)](isRunning,_0x8c3e6a)){try{_0x43be32[_0x22eaf0(0x195,0x2fc)](unlinkSync,PID_FILE);}catch{}return null;}return _0x8c3e6a;}function getWatchdogPid(){function _0x47a617(_0x8e8c2f,_0x4d1d15){return _0x24b44d(_0x4d1d15-0x2d2,_0x8e8c2f);}const _0x150c65={'fQdhe':function(_0x279560,_0x2824fb,_0x383e02){return _0x279560(_0x2824fb,_0x383e02);},'qRZEv':_0x47a617(0x3c5,0x43f)+'e','SYkIm':function(_0x140ef7,_0x59689b,_0x50a80d){return _0x140ef7(_0x59689b,_0x50a80d);},'SkAjN':_0x47a617(0x274,0x2d6)+_0x139e65(0x353,0x436)+_0x47a617(0x76a,0x5d6),'llgUJ':function(_0x7b4e54,_0x501150){return _0x7b4e54(_0x501150);},'AQuhe':function(_0x11b151,_0xc555b8,_0x13bca4){return _0x11b151(_0xc555b8,_0x13bca4);},'yqnOE':function(_0x4b4a33,_0x65441a){return _0x4b4a33===_0x65441a;},'efNpL':_0x139e65(0x544,0x55a),'PAWMO':_0x139e65(0x6a0,0x7e9),'RlssE':_0x47a617(0x4ae,0x55d)};if(!_0x150c65[_0x139e65(0x3b0,0x4b8)](existsSync,WATCHDOG_PID_FILE))return null;function _0x139e65(_0x4f356f,_0x34d0c4){return _0x24b44d(_0x4f356f-0x2c6,_0x34d0c4);}const _0x4ad033=_0x150c65[_0x139e65(0x61a,0x6d7)](parseInt,_0x150c65[_0x139e65(0x418,0x344)](readFileSync,WATCHDOG_PID_FILE,_0x139e65(0x2c8,0x3b4))[_0x139e65(0x634,0x6b5)](),-0xb*-0x1d5+0x2*0x1223+0xb47*-0x5);if(_0x150c65['llgUJ'](isNaN,_0x4ad033)||!isRunning(_0x4ad033)){if(_0x150c65[_0x139e65(0x3db,0x524)](_0x150c65[_0x47a617(0x303,0x4cf)],_0x139e65(0x340,0x1f8))){const _0x561dd6=_0xf7beb5[_0x139e65(0x3b7,0x446)](_0x150c65[_0x47a617(0x3ff,0x424)](_0x33961a,_0x1d00db,_0x139e65(0x2c8,0x162)));if(_0x561dd6[_0x47a617(0x4ea,0x373)+'um']||_0x561dd6[_0x139e65(0x367,0x3f4)+_0x47a617(0x48c,0x3e2)])_0x2e8a5e=_0x150c65[_0x139e65(0x595,0x69b)];}else{try{_0x150c65[_0x139e65(0x4dc,0x454)]===_0x150c65['RlssE']?_0x150c65[_0x139e65(0x4b2,0x3ae)](_0x497ab9,_0x150c65[_0x139e65(0x40c,0x46e)],'v'+_0x31d9d1+(_0x139e65(0x521,0x48c)+_0x47a617(0x30b,0x446)+_0x139e65(0x597,0x6c8)+'8\x20is\x20'+_0x47a617(0x5b6,0x547)+'red')):unlinkSync(WATCHDOG_PID_FILE);}catch{}return null;}}return _0x4ad033;}function getWatchdogState(){function _0x2cbf9e(_0x5b5ae4,_0x131dd0){return _0x24b44d(_0x5b5ae4-0x1d5,_0x131dd0);}const _0x5ef770={'wOrGW':function(_0x35ff76,_0x5f4475,_0x2d778c){return _0x35ff76(_0x5f4475,_0x2d778c);},'RGRse':function(_0x2e41d1,_0x5b1141){return _0x2e41d1(_0x5b1141);},'wzdNQ':function(_0x4d213f,_0x351e2a,_0x2a099a){return _0x4d213f(_0x351e2a,_0x2a099a);},'NapTU':_0x6a074b(0x288,0x3ea),'uLfUG':function(_0x503f8c,_0xe0b0cf){return _0x503f8c!==_0xe0b0cf;},'ymPup':_0x2cbf9e(0x1fe,0x283)};function _0x6a074b(_0x46e7b4,_0x3bd9e1){return _0x24b44d(_0x46e7b4-0x286,_0x3bd9e1);}if(!existsSync(WATCHDOG_STATE_FILE))return null;try{return JSON[_0x6a074b(0x377,0x4c7)](_0x5ef770['wzdNQ'](readFileSync,WATCHDOG_STATE_FILE,_0x5ef770[_0x6a074b(0x4fe,0x316)]));}catch{if(_0x5ef770['uLfUG']('JjAql',_0x5ef770['ymPup'])){const _0x467b71=_0x5ef770[_0x6a074b(0x447,0x31e)](_0x1d7b89,_0x385b46,_0x4576b4);if(_0x5ef770['RGRse'](_0x444cc4,_0x467b71))try{const _0x226b8f={};_0x226b8f[_0x6a074b(0x452,0x3a8)+_0x2cbf9e(0x248,0x6e)]=!![],_0x226b8f[_0x2cbf9e(0x46f,0x58c)]=!![],_0x5ef770[_0x6a074b(0x447,0x5e0)](_0x1c73f5,_0x467b71,_0x226b8f),_0x15ebd5++;}catch{}}else return null;}}function formatUptime(_0xbd42c1){const _0x233105={};_0x233105[_0x28f65e(0x4c4,0x455)]=function(_0x1229fc,_0x54233e){return _0x1229fc/_0x54233e;},_0x233105[_0x1493b7(0x499,0x3be)]=function(_0x4a920d,_0x45e4c6){return _0x4a920d>_0x45e4c6;},_0x233105[_0x28f65e(0x576,0x5f8)]=function(_0xedd1d4,_0x12860d){return _0xedd1d4%_0x12860d;},_0x233105['DGQPj']=function(_0x545900,_0x54c3d3){return _0x545900%_0x54c3d3;},_0x233105['Itpjf']=function(_0x5adf05,_0x7cbc26){return _0x5adf05%_0x7cbc26;};const _0x390f23=_0x233105,_0x56e9fa=Math['floor'](_0x390f23[_0x1493b7(0x32e,0x2ef)](_0xbd42c1,-0xb69+-0x2*-0xb51+0x1*-0x751)),_0x5d0d66=Math['floor'](_0x390f23[_0x1493b7(0x32e,0x483)](_0x56e9fa,0x1ca3+0x2*-0xa1b+-0x831)),_0x4774be=Math['floor'](_0x390f23['uJUTB'](_0x5d0d66,-0xd5b+0x1*-0x25b7+0x334e)),_0x12f0c6=Math[_0x28f65e(0x64f,0x4f6)](_0x390f23['uJUTB'](_0x4774be,-0x1*0x1750+-0x2336+-0x7a*-0x7b));if(_0x390f23[_0x28f65e(0x62f,0x5be)](_0x12f0c6,-0x1ffb+0x1b*-0xc2+0x3471))return _0x12f0c6+'d\x20'+_0x4774be%(-0x17f*0x1a+0x1*0xccd+-0x95*-0x2d)+'h\x20'+_0x390f23[_0x1493b7(0x3e0,0x2ef)](_0x5d0d66,0x149d+-0x2*0xad+-0x1307)+'m';if(_0x390f23[_0x1493b7(0x499,0x63f)](_0x4774be,0x1*-0x1c55+0xb19*0x2+0x623))return _0x4774be+'h\x20'+_0x390f23[_0x28f65e(0x31d,0x4c7)](_0x5d0d66,0x191b+-0x6a*-0x7+0x1bc5*-0x1)+'m\x20'+_0x390f23[_0x28f65e(0x49d,0x583)](_0x56e9fa,0xc45+0xa*-0x191+0x3a1)+'s';function _0x1493b7(_0x53d0c7,_0x5d5a4e){return _0x24b44d(_0x53d0c7-0x12c,_0x5d5a4e);}function _0x28f65e(_0x2c7ff0,_0x1abe0a){return _0x24b44d(_0x2c7ff0-0x2c2,_0x1abe0a);}if(_0x5d0d66>0x22f3*-0x1+0x156+0x5*0x6b9)return _0x5d0d66+'m\x20'+_0x390f23[_0x1493b7(0x187,0x233)](_0x56e9fa,-0x109e+0x1*-0x245e+-0x1a*-0x20c)+'s';return _0x56e9fa+'s';}if(command===_0x24b44d(0x268,0x43a)){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process['kill'](watchdogPid,'SIGTE'+'RM'),console[_0x24b44d(0x3e2,0x303)](_0x2077cd(0x246,0x1d4)+'ink\x20w'+_0x2077cd(0x170,-0x17)+_0x2077cd(0x50c,0x3dd)+_0x24b44d(0x91,-0xe8)+'\x20(PID'+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x59be58){console[_0x24b44d(0x16e,0xf3)](_0x2077cd(0x291,0x389)+_0x24b44d(0x3b1,0x43e)+_0x2077cd(0x2e7,0x493)+_0x24b44d(0x336,0x18e)+_0x24b44d(0x37e,0x416)+_0x24b44d(0xd,0x157)+_0x2077cd(0x197,-0x1f)+_0x24b44d(0xed,0x184)+watchdogPid+'):',_0x59be58[_0x2077cd(0x26a,0x378)+'ge']),process[_0x2077cd(0x34a,0x33b)](0x434+0x1*-0x158f+-0xb*-0x194);}process['exit'](0x2208+-0xfaa*0x1+0x92f*-0x2);}const pid=getPid();!pid&&(console[_0x24b44d(0x3e2,0x445)](_0x24b44d(0xe3,-0x20)+_0x2077cd(0x1f6,0x27f)+_0x2077cd(0x37f,0x4b5)+_0x2077cd(0x29b,0x1ff)+_0x2077cd(0x183,0x1f9)),process[_0x24b44d(0x1e7,0x276)](0x18*-0x172+0xb*0x18d+0x1*0x11a1));try{process[_0x2077cd(0x37c,0x4e5)](pid,_0x24b44d(0xa0,0xd0)+'RM'),console[_0x2077cd(0x545,0x4e4)](_0x2077cd(0x246,0xce)+_0x2077cd(0x535,0x610)+_0x2077cd(0x4c5,0x62f)+_0x24b44d(0x24d,0x1f2)+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x3d1c7a){console[_0x2077cd(0x2d1,0x18c)](_0x24b44d(0x12e,0xbc)+_0x2077cd(0x514,0x447)+_0x2077cd(0x2e7,0xf6)+'p\x20Upl'+_0x24b44d(0x3b2,0x3ce)+'PID\x20'+pid+'):',_0x3d1c7a[_0x24b44d(0x107,0xab)+'ge']),process['exit'](0x1*0x473+-0x1fb8+-0x2*-0xda3);}process['exit'](-0x15*0x1cd+0x81a+0x1db7);}if(command==='updat'+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+'ge.js'+'on')),currentVersion=pkg['versi'+'on'];console[_0x24b44d(0x3e2,0x4ed)](_0x24b44d(0xd7,0x178)+_0x24b44d(0x3f1,0x2cc)+_0x24b44d(0x121,0x263)+_0x24b44d(0x290,0x2db)+currentVersion),console['log'](_0x2077cd(0x415,0x28f)+_0x24b44d(0x21d,0x21f)+'\x20for\x20'+_0x2077cd(0x3ef,0x546)+_0x2077cd(0x19b,-0x63)+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x24b44d(0x3e2,0x402)](_0x24b44d(0x9a,0x138)+_0x24b44d(0x33d,0x20a)+_0x2077cd(0x418,0x3be)+'nk\x20be'+_0x24b44d(0xc8,0x288)+_0x24b44d(0x28c,0x3e2)+_0x24b44d(0x189,0xa0));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process[_0x2077cd(0x37c,0x3f7)](pidToKill,'SIGTE'+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x996e57={};_0x996e57[_0x24b44d(0x25e,0x260)]='ignor'+'e',execSync('sleep'+_0x2077cd(0x41d,0x245)+_0x2077cd(0x268,0x10a)+_0x2077cd(0x464,0x38f)+_0x24b44d(0x52,0x2)+_0x24b44d(0x263,0x3cc)+_0x2077cd(0x20e,0x3ea)+_0x2077cd(0x2a2,0x164)+_0x2077cd(0x298,0x164)+'>nul\x20'+_0x2077cd(0x21c,0x12e),_0x996e57);}catch{}}try{console[_0x2077cd(0x545,0x423)](_0x24b44d(0x1,0xdb)+_0x2077cd(0x296,0x3c6)+_0x2077cd(0x258,0x261)+_0x2077cd(0x1c5,0xb2)+_0x24b44d(0x7c,-0x3f)+'plink'+_0x2077cd(0x48a,0x2ee)+_0x24b44d(0xc,-0x19c));const _0x31f600={};_0x31f600[_0x24b44d(0x25e,0x251)]='inher'+'it',execSync(_0x24b44d(0x1f8,0x158)+_0x2077cd(0x529,0x526)+_0x2077cd(0x24b,0x65)+_0x24b44d(0x3d9,0x472)+_0x2077cd(0x169,-0x6b)+_0x24b44d(0x2f3,0x4b6)+_0x2077cd(0x37e,0x32f)+_0x2077cd(0x33a,0x28a),_0x31f600);}catch(_0x27942a){console['error'](_0x24b44d(0x92,-0x144)+_0x2077cd(0x3d5,0x582)+_0x24b44d(0x5c,-0x40)+'d:',_0x27942a[_0x2077cd(0x26a,0x259)+'ge']),console['error'](_0x2077cd(0x1c2,0xf3)+'\x20runn'+_0x2077cd(0x306,0x4b7)+'anual'+_0x2077cd(0x279,0x466)+_0x24b44d(0xda,0x15c)+_0x24b44d(0x272,0x2b1)+_0x2077cd(0x26c,0x208)+_0x24b44d(0x182,0x139)+_0x24b44d(0xfc,0x2d2)+'/upli'+_0x24b44d(0x3b,-0x23)+'at');if(wasRunning){console[_0x24b44d(0x3e2,0x4b0)](_0x2077cd(0x528,0x5d6)+_0x24b44d(0x338,0x238)+'ing\x20U'+_0x2077cd(0x3cd,0x247)+'...');const _0x46ac09={};_0x46ac09[_0x24b44d(0x25e,0x394)]=_0x2077cd(0x352,0x231)+'it',execSync(_0x24b44d(0x1f2,0x92)+_0x2077cd(0x3dd,0x51a)+_0x2077cd(0x2bb,0x33e)+_0x2077cd(0x3a3,0x40f)+_0x24b44d(0x214,0x1c2)+'h',_0x46ac09);}process[_0x24b44d(0x1e7,0x311)](0x2dd+0x1*0x25b7+-0xdd*0x2f);}try{delete require['cache'][join(ROOT,_0x2077cd(0x462,0x41c)+'ge.js'+'on')];const newPkg=require(join(ROOT,_0x2077cd(0x462,0x5b5)+_0x2077cd(0x4fe,0x57c)+'on')),newVersion=newPkg['versi'+'on'];newVersion!==currentVersion?console[_0x24b44d(0x3e2,0x258)](_0x2077cd(0x1f5,0x288)+_0x2077cd(0x36e,0x290)+_0x24b44d(0x120,0x2be)+currentVersion+'\x20→\x20v'+newVersion):console[_0x2077cd(0x545,0x354)]('\x0a⬡\x20Al'+_0x24b44d(0x2b6,0x304)+_0x2077cd(0x21e,0x38d)+_0x24b44d(0x3ff,0x4ac)+_0x24b44d(0x2ec,0x31a)+_0x24b44d(0x121,0x61)+_0x2077cd(0x3ff,0x216)+currentVersion+').');}catch{console[_0x2077cd(0x545,0x727)](_0x24b44d(0x92,-0x104)+'date\x20'+_0x24b44d(0x54,0x1b6)+_0x24b44d(0x30b,0x43d));}if(wasRunning){console[_0x24b44d(0x3e2,0x4c4)](_0x2077cd(0x28a,0x2bd)+_0x2077cd(0x327,0x436)+_0x24b44d(0x150,0x124)+_0x24b44d(0xe7,0xc3)+'..');try{const _0x1c6301={};_0x1c6301[_0x24b44d(0x25e,0x15f)]=_0x24b44d(0x1ef,0x257)+'it',execSync(_0x24b44d(0x1f2,0x27d)+_0x24b44d(0x27a,0x344)+_0x2077cd(0x2bb,0x2c5)+_0x2077cd(0x3a3,0x42e)+_0x2077cd(0x377,0x50b)+'h',_0x1c6301);}catch{console[_0x24b44d(0x3e2,0x37c)](_0x24b44d(0x306,0x351)+_0x24b44d(0x10b,-0xb3)+_0x2077cd(0x55a,0x47f)+_0x24b44d(0x5c,0x77)+'d.\x20St'+_0x24b44d(0x312,0x4c2)+'anual'+_0x24b44d(0x376,0x542)+'th:\x20u'+_0x24b44d(0x26a,0x3cb)+_0x2077cd(0x48a,0x4db)+_0x2077cd(0x3e4,0x583)+'t');}}process[_0x24b44d(0x1e7,0x1d7)](-0x1373+-0x9b8+0x83*0x39);}if(command===_0x24b44d(0x21e,0x2b5)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x24b44d(0xb7,-0xb5)]()-state['start'+_0x2077cd(0x31f,0x213)]);console[_0x24b44d(0x3e2,0x2ea)]('⬡\x20Upl'+'ink\x20i'+_0x24b44d(0x7e,0xc4)+'ning\x20'+'(watc'+_0x24b44d(0xb0,-0x28)+_0x24b44d(0x20d,0x2b4)),console[_0x2077cd(0x545,0x513)](_0x2077cd(0x3d3,0x2f9)+_0x24b44d(0x98,-0x22)+_0x24b44d(0x3c2,0x5b6)+'\x20'+watchdogPid);if(state[_0x2077cd(0x282,0x41c)+_0x24b44d(0x113,0x41)])console['log'](_0x2077cd(0x4e3,0x620)+_0x24b44d(0x244,0x2a0)+_0x24b44d(0x32b,0x1ba)+'\x20'+state['serve'+_0x2077cd(0x276,0x184)]);console[_0x2077cd(0x545,0x3cf)](_0x24b44d(0x24b,0x392)+_0x2077cd(0x429,0x3ee)+_0x2077cd(0x173,0x7f)+'\x20'+uptime),console[_0x2077cd(0x545,0x694)](_0x24b44d(0x1d4,0x5a)+_0x2077cd(0x23f,0x254)+_0x24b44d(0x173,0xfd)+'\x20'+(state[_0x2077cd(0x347,0x501)+_0x2077cd(0x393,0x487)+'nt']||0x117*0x7+-0xfde+0x2bf*0x3));if(state[_0x2077cd(0x21f,0x333)+_0x2077cd(0x2c8,0xd3)]>-0x764+-0x26*0xcd+0x62*0x6d)console[_0x2077cd(0x545,0x6d4)]('\x20\x20Bac'+_0x24b44d(0x2ee,0x44e)+_0x24b44d(0x10,0x29)+'\x20'+state[_0x2077cd(0x21f,0x2e7)+_0x2077cd(0x2c8,0x1d4)]+'ms');}else{const pid=getPid();pid?console[_0x24b44d(0x3e2,0x4c6)](_0x24b44d(0xe3,-0x10c)+_0x24b44d(0x93,-0x51)+_0x2077cd(0x1e1,0x310)+'ning\x20'+'(PID\x20'+pid+').'):console['log']('⬡\x20Upl'+_0x24b44d(0x93,-0x3e)+_0x24b44d(0x21c,0x2f8)+_0x24b44d(0x138,0x27a)+_0x2077cd(0x183,0x32c));}process[_0x2077cd(0x34a,0x242)](0x184d+-0x2285+0xa38);}if(command===_0x24b44d(0x220,0x39c)+_0x2077cd(0x3f4,0x4d9)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x24b44d(0x2ff,0x341)+'ge.js'+'on')),readline=await import(_0x24b44d(0x166,0x152)+'ine'),{rmSync}=await import('fs');console[_0x2077cd(0x545,0x34c)]('\x0a\x20\x20⬡\x20'+_0x24b44d(0x34a,0x51e)+_0x24b44d(0x3a8,0x3d0)+'nstal'+'l\x20—\x20v'+pkg[_0x24b44d(0x121,0x27d)+'on']+'\x0a'),console[_0x24b44d(0x3e2,0x4f6)](_0x2077cd(0x195,0x1bb)+'s\x20wil'+'l:'),console['log'](_0x2077cd(0x175,0x225)+'\x20Stop'+_0x24b44d(0x305,0x195)+_0x2077cd(0x4ad,0x43f)+'k\x20ser'+'ver\x20a'+_0x2077cd(0x20f,0x34a)+_0x2077cd(0x17a,0x1de)+'g'),console[_0x2077cd(0x545,0x404)]('\x20\x20\x20\x20•'+_0x2077cd(0x38b,0x2f3)+_0x2077cd(0x4a2,0x358)+_0x24b44d(0xc1,0x18f)+_0x24b44d(0x193,0x2c6)+_0x24b44d(0x389,0x3d8)+_0x2077cd(0x4be,0x50b)+_0x2077cd(0x346,0x252)+_0x24b44d(0x3ba,0x29c)+'files'+')'),console[_0x24b44d(0x3e2,0x49e)](_0x2077cd(0x175,0x191)+_0x2077cd(0x38b,0x575)+_0x24b44d(0x33f,0x2fb)+_0x2077cd(0x52b,0x3e1)+_0x24b44d(0x1e5,0x3b2)+_0x24b44d(0x32e,0x2c9)+_0x24b44d(0xa7,0x52)+_0x2077cd(0x190,0x2ce)),console[_0x2077cd(0x545,0x52d)](_0x2077cd(0x175,0x26c)+_0x24b44d(0x228,0x6f)+_0x24b44d(0x33f,0x359)+_0x24b44d(0x8a,0x1a8)+_0x24b44d(0x32c,0x34f)+'\x20PID\x20'+_0x2077cd(0x47b,0x2a6)),console[_0x2077cd(0x545,0x45b)](_0x2077cd(0x175,0x1d7)+'\x20Remo'+_0x24b44d(0x2fb,0x1ba)+'ent\x20a'+_0x2077cd(0x275,0xa2)+_0x2077cd(0x48f,0x43b)+'\x20audi'+_0x2077cd(0x458,0x4fc)+'es'),console['log'](_0x24b44d(0x12,0x1d0)+_0x24b44d(0x35f,0x310)+_0x24b44d(0x181,0x27)+_0x24b44d(0x305,0x242)+_0x24b44d(0xb,0x170)+_0x24b44d(0x3d3,0x545)+_0x24b44d(0xaa,0x8e)+_0x2077cd(0x244,0x3ef)+'\x0a'),console[_0x24b44d(0x3e2,0x5cb)](_0x24b44d(0x264,0x37a)+'This\x20'+_0x24b44d(0x19,0x64)+_0x2077cd(0x2a0,0x2a0)+_0x24b44d(0x125,-0x4e)+_0x2077cd(0x1a4,-0xf)+_0x2077cd(0x55e,0x474));const _0x49f5bf={};_0x49f5bf[_0x24b44d(0x186,-0x57)]=process[_0x24b44d(0x175,0x14d)],_0x49f5bf[_0x24b44d(0x1e2,0xb3)+'t']=process[_0x24b44d(0x1ac,0x14f)+'t'];const rl=readline[_0x2077cd(0x1d4,0x31e)+'eInte'+_0x24b44d(0x2db,0x48e)](_0x49f5bf),answer=await new Promise(_0x4e101f=>{const _0x27d031={};function _0x5db5a6(_0x37bcc2,_0x56a1aa){return _0x24b44d(_0x56a1aa- -0x331,_0x37bcc2);}_0x27d031['HeMfT']='\x20\x20Typ'+_0x5db5a6(-0x193,-0x1e6)+_0x585577(0x379,0x38e)+_0x585577(0x356,0x433)+_0x585577(0x2a2,0x292)+'firm:'+'\x20';const _0x50dad1=_0x27d031;function _0x585577(_0x161272,_0x12745d){return _0x24b44d(_0x161272- -0x2e,_0x12745d);}rl['quest'+_0x5db5a6(-0x281,-0x2b1)](_0x50dad1[_0x585577(0xaf,-0x37)],_0x4e101f);});rl[_0x2077cd(0x1e4,0x273)]();answer[_0x2077cd(0x4d1,0x567)]()[_0x2077cd(0x3b2,0x1f7)+_0x24b44d(0x29b,0x24d)+'e']()!==_0x2077cd(0x383,0x369)+_0x2077cd(0x3f4,0x33c)&&(console[_0x2077cd(0x545,0x723)](_0x2077cd(0x221,0x6c)+_0x2077cd(0x2af,0x187)+_0x24b44d(0xfb,0x1e)+_0x24b44d(0x218,0x2b)+_0x2077cd(0x201,0x91)+_0x24b44d(0x269,0xc2)+_0x24b44d(0x1d0,0x262)),process[_0x24b44d(0x1e7,0x3a3)](0x1a08+0x3c7*-0x8+0x4*0x10c));console[_0x24b44d(0x3e2,0x459)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x2077cd(0x37c,0x3b2)](watchdogPid,_0x2077cd(0x203,0x11b)+'RM'),console[_0x24b44d(0x3e2,0x280)](_0x24b44d(0x33c,0x39f)+_0x24b44d(0x362,0x361)+_0x2077cd(0x3e5,0x4e5)+_0x2077cd(0x1fb,0x21d)+_0x24b44d(0x347,0x22b)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x2077cd(0x37c,0x350)](serverPid,'SIGTE'+'RM'),console['log'](_0x24b44d(0x33c,0x462)+'toppe'+_0x24b44d(0x1bf,0x14)+_0x2077cd(0x39d,0x483)+_0x24b44d(0x198,0x2ae)+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console[_0x2077cd(0x545,0x697)]('\x20\x20✓\x20S'+'erver'+'\x20not\x20'+'runni'+'ng');const legacyToRemove=[_0x2077cd(0x2dc,0xff),'confi'+'g.jso'+'n',_0x24b44d(0x3f5,0x3bd)+_0x2077cd(0x27a,0x2f0)+'d',_0x24b44d(0x3f5,0x47b)+'nk-wa'+_0x24b44d(0x17,0x13f)+_0x24b44d(0xf8,0x55),_0x24b44d(0x3f5,0x346)+_0x2077cd(0x41a,0x615)+'tchdo'+_0x24b44d(0x243,0x378)+'n','.upli'+_0x24b44d(0x2b7,0xfc)+_0x2077cd(0x17a,0x342)+_0x24b44d(0x2be,0x35a),_0x2077cd(0x558,0x710)+_0x24b44d(0x3ee,0x4b8)+'rver.'+'log',_0x2077cd(0x2d0,0x4c8)+_0x2077cd(0x397,0x547)+_0x24b44d(0x8f,-0xb3),'messa'+'ges-s'+_0x24b44d(0x39c,0x316)+_0x2077cd(0x1f2,0x296),_0x24b44d(0x18a,0x1e5)+'subsc'+_0x24b44d(0x1ea,0x333)+_0x2077cd(0x42e,0x609)+_0x24b44d(0x8f,-0x127),_0x24b44d(0x83,0x103)+_0x24b44d(0x11d,-0x36)+_0x24b44d(0x256,0x44a)+_0x2077cd(0x231,0x12e),'uploa'+'ds','sync-'+_0x2077cd(0x1e5,0x2b9),_0x2077cd(0x3f0,0x505)+_0x2077cd(0x412,0x29f)+'io','publi'+'c/img'+_0x2077cd(0x249,0x32e)+'ts'];let removed=-0x4e0+-0x1605+-0x3*-0x8f7;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x298e82={};_0x298e82['recur'+_0x2077cd(0x1d6,0x342)]=!![],_0x298e82[_0x2077cd(0x3fd,0x208)]=!![],rmSync(fullPath,_0x298e82),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x483505={};_0x483505[_0x2077cd(0x32f,0x267)+_0x24b44d(0x73,0x104)]=!![],_0x483505[_0x24b44d(0x29a,0x34e)]=!![],rmSync(DATA_DIR,_0x483505),removed++,console[_0x2077cd(0x545,0x3f9)](_0x24b44d(0x2bd,0x115)+_0x2077cd(0x4dd,0x5c8)+_0x24b44d(0x3e3,0x4ef)+_0x2077cd(0x30d,0x33c)+_0x2077cd(0x1f3,0x225)+_0x2077cd(0x2ce,0x1ad)+DATA_DIR);}catch{}console['log'](_0x24b44d(0x2bd,0x20f)+_0x24b44d(0x37a,0x1f4)+'d\x20'+removed+('\x20data'+_0x24b44d(0xa9,0x257)+'s/dir'+_0x2077cd(0x1f3,0xb6)+'ies')),console[_0x2077cd(0x545,0x6f1)]('\x20\x20✓\x20R'+_0x24b44d(0x192,0x2c9)+'ng\x20np'+_0x2077cd(0x40a,0x3a5)+'kage.'+'..\x0a');try{const _0xb7661e={};_0xb7661e['stdio']=_0x2077cd(0x352,0x421)+'it',execSync(_0x24b44d(0x1f8,0x394)+_0x24b44d(0x16,0xc0)+_0x24b44d(0x72,-0x142)+_0x24b44d(0x1b3,0x2a)+_0x2077cd(0x24f,0x1b8)+_0x24b44d(0xe4,0xc0)+_0x2077cd(0x355,0x456)+'k-cha'+'t',_0xb7661e),console[_0x2077cd(0x545,0x53a)]('\x0a\x20\x20⬡\x20'+_0x2077cd(0x4ad,0x428)+'k\x20has'+_0x24b44d(0x385,0x3b1)+_0x2077cd(0x49c,0x3ac)+_0x2077cd(0x305,0x3ec)+_0x2077cd(0x42c,0x620)+'nstal'+_0x2077cd(0x4bb,0x333)),console[_0x2077cd(0x545,0x55d)](_0x24b44d(0x156,0x264)+_0x24b44d(0x2f6,0x4e8)+_0x2077cd(0x252,0x3bd)+_0x24b44d(0x1d5,0x382)+_0x24b44d(0x26a,0x257)+_0x2077cd(0x555,0x3eb));}catch(_0x4b9164){console[_0x24b44d(0x16e,0x254)](_0x24b44d(0x1b5,0x387)+_0x24b44d(0x12f,0x1d5)+_0x24b44d(0x241,0x18e)+_0x24b44d(0x1b,-0x3e)+_0x2077cd(0x2e4,0x331)+_0x2077cd(0x54e,0x5a0)+_0x2077cd(0x462,0x3e5)+_0x24b44d(0x20a,0x191)),console[_0x2077cd(0x2d1,0x38a)](_0x2077cd(0x51b,0x657)+_0x2077cd(0x3f9,0x3aa)+_0x24b44d(0x1a9,0xc9)+_0x24b44d(0x3eb,0x51b)+_0x2077cd(0x383,0x264)+_0x24b44d(0x46,-0xb0)+'-g\x20@m'+_0x2077cd(0x2e5,0x2a8)+_0x2077cd(0x25f,0x13b)+'/upli'+_0x24b44d(0x3b,-0x98)+_0x2077cd(0x2df,0x1a0)),process[_0x2077cd(0x34a,0x192)](-0x76a*0x2+0x6ad*-0x5+0x3036);}process[_0x2077cd(0x34a,0x44c)](-0x1e6d*0x1+0x1217+0xc56);}if(command===_0x2077cd(0x1b4,0x17d)){const LOG_FILE=join(ROOT,_0x2077cd(0x282,0x3f9)+_0x24b44d(0xfe,0x57)),ALT_LOG_FILE=join(ROOT,'.upli'+'nk-se'+_0x24b44d(0x24a,0x2a4)+_0x2077cd(0x545,0x3d4)),DATA_LOG_FILE=join(DATA_DIR,_0x2077cd(0x558,0x51e)+_0x2077cd(0x551,0x6c5)+_0x24b44d(0x24a,0x251)+_0x2077cd(0x545,0x586)),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;if(!logFile){const VEFTGZ=(_0x2077cd(0x47d,0x4e1)+_0x24b44d(0x2de,0x2e1)+_0x24b44d(0x2a1,0x147))['split']('|');let rrVxuW=-0x317+-0x1f*-0xfe+0x3*-0x939;while(!![]){switch(VEFTGZ[rrVxuW++]){case'0':console[_0x2077cd(0x545,0x4e2)](_0x24b44d(0x1a1,0x384)+LOG_FILE);continue;case'1':console['log'](_0x2077cd(0x304,0x2f7)+ALT_LOG_FILE);continue;case'2':console[_0x24b44d(0x3e2,0x2cd)](_0x2077cd(0x1af,0x14a)+_0x24b44d(0x4f,0x140)+_0x2077cd(0x505,0x385)+'tions'+':');continue;case'3':console[_0x24b44d(0x3e2,0x2e5)](_0x24b44d(0x2e9,0x4ce)+'s\x20are'+'\x20crea'+'ted\x20w'+_0x2077cd(0x270,0x1b4)+'he\x20se'+'rver\x20'+_0x2077cd(0x391,0x476));continue;case'4':console[_0x24b44d(0x3e2,0x2bf)](_0x24b44d(0x1ba,0x18d)+_0x24b44d(0x14e,-0x39)+'e\x20ser'+'ver\x20f'+_0x24b44d(0xe2,0x232)+_0x2077cd(0x28e,0x1e4)+'nk-ch'+_0x24b44d(0x36b,0x569)+_0x2077cd(0x531,0x4a4));continue;case'5':process[_0x24b44d(0x1e7,0x270)](0xf08*-0x2+-0x390+-0x1*-0x21a1);continue;case'6':console[_0x2077cd(0x545,0x560)]('');continue;case'7':console[_0x2077cd(0x545,0x38d)](_0x2077cd(0x4d6,0x5df)+_0x24b44d(0x19b,0x21f)+_0x2077cd(0x2de,0x3bd)+'ound.');continue;}break;}}const lines=flags[_0x24b44d(0x8c,-0x11e)]||-0x1*-0x6fd+0x53c+-0x1*0xc07;try{const content=readFileSync(logFile,_0x2077cd(0x165,0x2d7)),allLines=content[_0x2077cd(0x323,0x41f)]('\x0a'),tail=allLines['slice'](-lines)[_0x24b44d(0x1cf,0x37d)]('\x0a');console[_0x2077cd(0x545,0x44b)](_0x2077cd(0x3ce,0x558)+_0x2077cd(0x1ff,0x112)+_0x2077cd(0x401,0x2a9)+lines+(_0x2077cd(0x1d9,-0x5)+_0x24b44d(0x308,0x438)+'m\x20')+logFile+'\x0a'),console[_0x24b44d(0x3e2,0x5d1)](tail);}catch(_0x5eb2a4){console[_0x24b44d(0x16e,0x2ec)](_0x24b44d(0x12e,-0x94)+_0x24b44d(0x3b1,0x39b)+'o\x20rea'+_0x2077cd(0x3d2,0x3a4)+'\x20file'+':\x20'+_0x5eb2a4[_0x24b44d(0x107,-0x6c)+'ge']),process['exit'](-0x3*-0x557+-0x1317+0x313);}console[_0x24b44d(0x3e2,0x480)](_0x24b44d(0x3c9,0x324)+'tchin'+_0x24b44d(0x67,-0x146)+_0x24b44d(0x2e6,0x1dd)+'log\x20e'+_0x2077cd(0x51c,0x532)+_0x2077cd(0x1b8,-0x2d)+_0x2077cd(0x219,0x227)+_0x24b44d(0x170,0x339)+'\x20stop'+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x2077cd(0x357,0x305)];const watcher=fsModule[_0x2077cd(0x29d,0x318)](logFile,()=>{function _0x3c3ccb(_0x4e5f70,_0x49c9dd){return _0x24b44d(_0x4e5f70-0x210,_0x49c9dd);}const _0xa7026e={'YFkiJ':function(_0x424026,_0x5cc30a){return _0x424026(_0x5cc30a);},'ZjoGK':_0x3c3ccb(0x2b0,0x362)+'RM','bizMr':function(_0x515074,_0x4414b9,_0x40f600){return _0x515074(_0x4414b9,_0x40f600);},'aEWGe':function(_0x7e8be0,_0x3693b7){return _0x7e8be0+_0x3693b7;},'ZBaan':_0x3c3ccb(0x54b,0x371)+_0x453ff5(0x75,0x2d)+'(serv'+'er\x20ru'+_0x3c3ccb(0x228,0x403)+_0x453ff5(-0x50,-0xab)+'PID\x20f'+_0x3c3ccb(0x36f,0x339),'YUGiK':function(_0x43f402,_0x18a631){return _0x43f402+_0x18a631;},'zYPtw':_0x3c3ccb(0x38f,0x573),'tYbEU':_0x3c3ccb(0x41f,0x617),'Eockx':function(_0x2bd4c9,_0x5df73e){return _0x2bd4c9>_0x5df73e;},'rXUAW':'HwOAn','JybWg':function(_0x23c7bd,_0x4836cf){return _0x23c7bd-_0x4836cf;},'ChepX':_0x3c3ccb(0x212,0x6f),'zKSKL':function(_0x697752,_0x3536a8){return _0x697752<_0x3536a8;},'Tlaqw':function(_0x369893,_0xc9fc5d){return _0x369893===_0xc9fc5d;},'PHdoj':_0x453ff5(-0x1e9,-0x3ac)};function _0x453ff5(_0x361725,_0x250d36){return _0x24b44d(_0x361725- -0x239,_0x250d36);}try{if(_0xa7026e[_0x453ff5(-0xc8,-0x240)]===_0x3c3ccb(0x41f,0x263)){const _0x540f04=fsModule[_0x453ff5(-0x16a,-0x2ac)+_0x453ff5(-0x1d4,-0x16c)](logFile,'r'),_0x5e5742=fsModule[_0x3c3ccb(0x436,0x23b)+_0x3c3ccb(0x44b,0x584)](_0x540f04)['size'];if(_0xa7026e[_0x453ff5(0x1c1,0x1a5)](_0x5e5742,position)){if(_0xa7026e[_0x453ff5(0x15c,0x194)]!==_0xa7026e['rXUAW']){const _0x5e87d9=_0x5a9799(_0x318e15,_0x4e72be);if(_0xa7026e[_0x453ff5(-0x204,-0x3ca)](_0x39f659,_0x5e87d9))try{const _0xaa1a95={};_0xaa1a95[_0x453ff5(-0x6d,0xd7)+'sive']=!![],_0xaa1a95[_0x453ff5(0x61,-0x26)]=!![],_0x4c3450(_0x5e87d9,_0xaa1a95),_0x53b003++,_0x28a4b3[_0x3c3ccb(0x5f2,0x5e4)](_0x453ff5(0x84,-0x17b)+'emove'+'d\x20'+_0x147372);}catch(_0x429819){_0x2bc92a[_0x3c3ccb(0x37e,0x257)](_0x3c3ccb(0x495,0x470)+'ailed'+_0x3c3ccb(0x4a4,0x31c)+_0x3c3ccb(0x58a,0x3ea)+'\x20'+_0x4f84dc+':\x20'+_0x429819['messa'+'ge']);}}else{const _0x4e552a=Buffer['alloc'](_0xa7026e[_0x453ff5(-0xa3,0x132)](_0x5e5742,position));fsModule[_0x453ff5(-0x9b,-0x221)+_0x3c3ccb(0x275,0x38d)](_0x540f04,_0x4e552a,-0xe87+0xd5*0x5+0xa5e,_0x4e552a['lengt'+'h'],position),process[_0x3c3ccb(0x3bc,0x261)+'t'][_0x3c3ccb(0x4fb,0x38e)](_0x4e552a['toStr'+_0x453ff5(-0x1f0,-0x12a)](_0xa7026e[_0x453ff5(-0xc2,-0x131)])),position=_0x5e5742;}}else _0xa7026e['zKSKL'](_0x5e5742,position)&&(_0xa7026e[_0x3c3ccb(0x5f9,0x457)](_0xa7026e[_0x453ff5(0x123,0x64)],_0x3c3ccb(0x355,0x173))?_0x1919bc[_0x3c3ccb(0x429,0x289)](_0xa7026e[_0x3c3ccb(0x215,0x2c)]):position=0x9e*0xd+0x1de8+0x2*-0x12f7);fsModule[_0x453ff5(-0x1b8,-0x1f4)+_0x453ff5(0x2,-0x154)](_0x540f04);}else _0x28ca9b?_0xa7026e[_0x453ff5(-0x228,-0x1ef)](_0x1625ea,_0xa7026e[_0x3c3ccb(0x4cf,0x50b)](_0x3c3ccb(0x38f,0x1b0),_0x51baf5),_0xa7026e[_0x453ff5(0x1a,-0x16c)]):_0xa7026e[_0x453ff5(-0x228,-0x2e3)](_0xb7fc49,_0xa7026e[_0x453ff5(-0x1fc,-0x313)](_0xa7026e[_0x453ff5(0x10,0xd2)],_0x4445ea),_0x3c3ccb(0x54b,0x5dd)+_0x3c3ccb(0x298,0x354));}catch{}});process['on'](_0x24b44d(0x77,0x18c)+'T',()=>{watcher['close'](),process['exit'](0x3*-0x527+-0x1*0xdce+0x1d43);}),process['on']('SIGTE'+'RM',()=>{watcher[_0x29a997(0x26f,0x2c5)]();function _0x32313c(_0x48f84c,_0x326c62){return _0x2077cd(_0x326c62- -0xc4,_0x48f84c);}function _0x29a997(_0x42b216,_0x216725){return _0x2077cd(_0x216725-0xe1,_0x42b216);}process[_0x29a997(0x4de,0x42b)](-0x2a1+0xc2e*-0x1+0xecf);});}function _0x4ce9(){const _0x15a7dd=['\x20been','\x20conf','PMvwi','enAI\x20','ation','execP','fewWi','\x20\x20\x20Sh','floor','ata\x0a\x20','kQRMV','8080\x20','ed,\x20','(PID\x20','elp\x0a\x0a','slice','rXUAW','destr','OR\x20en','EADDR','\x20on\x20c','\x20Uplo','ge.js','ync.j','found','ELEVE','\x208080','r\x20and','n\x20npm','\x20loca','dfGsa','PuhFs','--pat','--for','insta','k\x20Uni','og\x20st','\x20limi','AppDa','info','\x0a\x20\x20Ho','MxfJZ','#\x20Run','edit','led\x20t','ink\x20(','YYvvw','mDOpy','mode','abs\x20k','strin','\x20\x20Run','ntrie','nfig\x20','\x20chat','\x20--fo','audio','sWith','et\x20Fr','✓\x1b[0m','\x20\x20\x20-h','\x20PID:',')\x0a\x20\x20\x20','e\x20is\x20','\x0a⬡\x20Re','pdate','tarte','l\x20upl','\x0a⬡\x20Wa','tor\x20—','code','\x20.env','\x20warn','art','.migr','--no-','ce\x20/v','ink\x20s','ackag','[0m','\x0a\x20\x20Pr','index','HtYkI','thout','moonc','BctaN','confi','e\x20to\x20','btygY',':\x0a\x20\x20\x20','\x20\x20\x20\x20d','l\x20cle','to\x20cl','log','d\x20dat','argv','th\x20wa','apply','\x20\x20Aut','d\x20.en','Tlaqw','663855cGIcMm','\x20npm\x20','on:\x20\x20','DmDLh','nk-se','mine\x20','\x20—\x20ru','rent\x20','.\x20👋\x0a','ZgOnx','nes\x0a\x20','.upli','\x20less','tart\x20','gured','hing\x20','Eockx','one.\x0a','led)','from\x20','BQXgL','he\x20la','⬡\x20Upd','utf8','achab','Node.','ZjoGK','ompan','metho','hat\x20c','UPLIN','pt\x0a\x20\x20','npm\x20p','...\x0a','atchd','\x22\x20|\x20t','_API_','\x20\x20\x20\x20\x20','bizMr','\x20\x20\x20\x20•','18\x20re','Tail\x20','resum','ninst','tchdo','nning','actio','promp','\x20unin','ory\x20a','t\x20wat','vxAIF','\x0a\x20\x20No','ing.','fail','AXpPW','ORIba','notep','reada','\x20\x20Opt','\x20with','ple\x20.','JjAql','CPGgp','k\x20whe','\x20\x20\x20--','\x20data','\x20to\x20l','KEN','logs,','/loca','\x20\x20Thi','\x20on\x20(','og\x20(P','YFkiJ','g\x20(au','akLcd','es...','\x1b[31m','#\x20Cle','nk-ch','Depen','YUGiK','lengt','--por','es\x20N\x20','e\x20und','ow\x20cu','mples','\x20Miss','glanc','tall\x20','TTS\x20A','df\x20-k','ing','or\x0a\x20\x20','\x20--no','\x20\x20Exp','\x20vers','platf','ected','WXNMO','logs','||\x20ti','e:\x0a\x20\x20','compl','s...\x20','art\x20t','.0.0.','\x20--ed','|5|2','fPjKx','DGQPj','faile','⬡\x20Ope','dog','\x20\x20Try','dog.j',':\x27\x22\x20g','ncomp','I_API','s\x20alr','ync','versa','g\x20for','RUTwo','rrent','\x1b[32m','ound\x20','138775XmVpTw','\x20or\x20e','\x20(>=\x20','qPOYd','ated','creat','all\x20-','sive','\x20\x20Com','\x20\x20Or\x20','\x20line','SIGIN','ns]\x0a\x0a','ssed','pvXSI','vjXlB','any/u','k\x20—\x20L','s\x20run','not\x20s','ion','close','data','misse','\x20\x20Sto','--hos','ShoNa','AI\x20Ch','able','rt:\x20\x20','l\x20log','BMKhV','lines','js\x20ve','onfig','son','ector','opped','\x0a⬡\x20Up','ink\x20i','QAbtW','Host\x20','ine','aw\x20se','chdog','gify','⬡\x20Sto','\x20item','wing\x20','\x20edit','g\x20was','OEvIH','SIGTE','premi','op\x20a\x20','nes\x201','\x20\x20Cre','-forc','NLABS','ached','win32','\x20file','e\x20glo','\x20/t\x201','nd\x20wa','lt\x20po','\x20Numb','encod','hdog\x20','oqvKv','nphnc','\x20\x20\x20#\x20','7|6|0','INUSE','(Ctrl','now','et\x0a','2>&1','ID=\x27','\x20on\x20t','backo','kvlca','\x0a\x20\x20Ca','st:\x20\x20','536iLkBgU','l\x20con','814665IpTKSW','\x20\x20\x20St','ady\x20c','\x20\x20\x20\x20O','p\x20it\x20','igura','fore\x20','rce,\x20','\x20\x20\x20\x20-','\x20in\x20','erver','\x20cach','.json','openS','36RZDGlD','ists','l\x20tim','eady\x20','0.0.0','filte','\x20info','⬡\x20Cur','eacha','\x1b[90m','pm\x20up','docto','tarts','HeMfT','ZPYYA','MAPZN','whWlS','bally','irst:','⬡\x20Upl','pany/','Oifpc','/agen','link.','\x20-g\x20@','Eadzh','llgUJ','kKWls','oncom','ID\x20','HFJxo','or\x20us','padEn','parse','empty','751852OdpHRq','liste','\x20@moo','ssing','100\x20l','g.pid','th:\x20u','port','ed.\x20N','mpany','cwd','r.log','IeMar','ctor\x20','ll\x20','firma','direc','host','/dev/','\x20Diag','messa','s\x20but','-g\x20@m','set\x20-','o-res','sepHL','hen\x20t','e\x20by\x20','il\x20th','umKey','copy\x20','vatar','rPid','e\x20\x20\x20\x20','yqnOE','ly:\x20n','nk.pi','tions','the\x20l','label','ne\x20wi','\x20#\x20Ed','d-mes','Gatew','serve',':\x20v','versi','XpRdg','\x20enab','es\x20ex','not\x20b','eServ','⬡\x20Res','\x20in\x20e','igure','match','\x20upli','media','jAeYh','⬡\x20Fai','\x20Fail','once','exist','xampl','ating','first','reak\x20','y)\x1b[0','kpBUI','\x20runn','PID\x20f','watch','noWat','iqGGJ','n\x20can','ault:','\x20/nob','rver\x20','detai','\x20Push','ORD','jkPIh','tUimG','SkAjN','AY_TO','nosti','how\x20(','share','e\x20\x22un','ncell','\x20logs','rt\x20th','VVQpC','ng\x20Up','k\x20Res','fQdhe','f\x20Upl','the\x20e','subsc','\x20\x20Tha','linux','t\x20sta','orm','|1|3|','\x20and\x20','mxVCi','octor','\x20\x20Typ','ile)','.env\x20','reque','AY_UR','LqxhV','g\x20fil','ffMs','readl','-f\x20\x20\x20','path','space','max','y:\x20','anoth','activ','error','to\x20co','+C\x20to','tYbEU','-v\x20\x20\x20',':\x20\x20\x20\x20','de.js','stdin','nfirm','ChepX','ach','.env','\x0a\x20\x20\x20\x20','ile\x20f','at\x0a','\x20DATA','qGrrV','Port\x20','o\x20ope','stall','oonco','charA','o\x20sto','cript','input','ons','\x20hist','e...','push-','nose\x20','lt:\x203','hat\x20s','CREDE','\x20\x20\x20\x20i','1274742XHcoPo','anual','emovi','figur','\x20subs','hdeIn','JybWg','aded\x20','PID\x20','\x20sync','rYjDJ','log\x20f','n\x20iss','d-con','readS','ttp:/','file\x20','\x20\x20\x20\x20','letel','ing\x20m','file','k\x20Doc','OpenA','v\x20var','ng\x1b[0','ally:','a\x20dir','UdFAE','stdou','how\x20t','in\x20us','RzPtQ','JgOBL','n\x20edi','\x20H\x20\x20\x20','g\x20@mo','rUFrK','\x0a\x20\x20⚠️\x20','.0.1','ay\x20be','ar\x20da','\x0a\x20\x20In','\x20\x20Sta','e\x20ser','edAt','eck\x20i','backg','d\x20ser','split','wOrGW','t\x20rea','at\x20a\x20','tarti','--det','YdGDk','ctivi','homed','eeSpa','ken','ult:\x20','recur','KEY','red','join','ved.\x0a','ree','jJtpk','Disk\x20','\x20\x20Res','ing\x20U','.env.','hat','\x20mode','les','ning','Itpjf','ailed','(((.+','ll\x20\x20\x20','er\x20of','it\x20.e','OPENA','outpu','v,\x20co','resta','oads\x20','searc','exit','\x20than','\x20via\x20','ripti','ts\x20(r','SYkIm','sAIZK','GATEW','inher','v\x20fil','r\x20its','uplin','K_HOS','size','ear\x20—','✗\x1b[0m','warn','npm\x20u','⬡\x20.en','commo','\x20inst','ree\x20—','efNpL','(none','ata\x0a\x0a','.\x20Run','eqoMi','uJUTB','BMyAt','nfo\x20\x20','#\x20Upl','examp','m(unr','us\x20\x20\x20','re\x20\x22D','ge.','dated','ditor','mode)','Key','uTGps','ta\x20di','\x20clea','p\x20con','evice','detac','th\x20(c','PAWMO','no\x20Op','othin','kill','GhZfM','ink-c','s\x20not','cking','statu','ocess','unins','t\x20N\x20\x20','estar','\x0a\x20\x20Ga','#\x20Sta','his\x20h','fstat','or\x20El','\x20Remo','node_','Clear','gfscT','your_','MSkoB','runs.','aXGTe','rtCou','\x20Chat','\x20\x20\x20un','repea','ity.j','s\x20que','k\x20Con',')+)+)','ar:','ng\x20(','ver\x20(','Sync','etup\x20','—\x20run','npx\x20u','ksNew','rt\x20--','ed\x20to','le\x20pa','g.jso','ver\x20P','\x0a\x20\x20','toUpp','env','ANEYC','zYPtw','rver.','\x20\x20Upt','ugKgQ','d\x20(PI','vuEqW','toLow','ink\x20C','xTPzs','e:\x20cp','ZBaan','XBSGg','r.js','sages','hZPZn','hed','ThxVl','ay\x20to','\x20—\x20No','ANKwM','aldis','stdio','nd]\x20[','inclu','\x20(con','quest','meout','\x20\x20⚠️\x20\x20',':\x20upl','\x20node','o\x0a\x0a\x20\x20','stop','\x20remo','plink','⬡\x20Sho','evenL','ent\x20s','\x20curr','d\x20log','\x20\x20Wat','PNPuJ','date\x20','BQnmC','FLHwX','requi','pid','modul','NapTU','end','k-cha','qxGOX','RiPha','\x20\x20Set','WQKZZ','ch,\x20-','not\x20d','\x20star','d\x20wat','th:\x20','lean.','\x20\x20✗\x20F','could','hostn','YOYfx','ks\x20pa','PORT','STPol','updat','publi','token','http:','on:\x20v','tall','\x20not\x20','3327eDbIdr','\x20to\x20r','\x20\x20→\x20h','\x20manu','eInte','disk\x20','--edi','force','erCas','on\x20(v','\x20Usag','last\x20','ath','sion','3|4|5','rt\x0a\x20\x20','lled','l\x20NOT','\x20Show','456)\x0a','m\x20pac','VRwzL','t\x20\x20\x20\x20','1:187','\x20\x20\x20\x20#','--hel','GhYVF','able\x20','c/aud','nAHFy','set\x22\x20','⬡\x20Che','\x20\x1b[31','DdlJr','\x20Upli','ready','nk-wa','\x20\x20\x20\x20S','atest','\x201\x202>','UvwBw','rash.','\x20\x20✓\x20R','g.log','aEWGe','ocal\x20','defau','-watc','\x20MB\x20f','50)\x0a\x20','aemon','ime:\x20','ssage','help','y\x20uni','A_DIR','ons.j','\x20\x20upl','er\x20pr','runni','qRZEv','o\x20con','\x20>=\x201','t\x20on\x20','Stop\x20','round','TTS\x20m','ng\x20wi','\x20500\x20','ay\x20re','SZHdW','ver\x20l','rface','n\x20rea','to-re','|1|6|','etect','setup','_modu','logic','r:\x20\x20\x20','tor:\x20','urati','\x20new\x20','ignor','PI\x20ke','\x20\x20Log','teway','write','test\x20','pnrLe','koff:','ogs\x20i','he\x20Up','TOKEN','deter','y/upl','r\x0a\x20\x20\x20','o\x20fil','nks\x20f','Value','\x20\x20Not','d\x20\x20\x20\x20','r\x20(de','ve\x20ag','ink\x20d','ated\x20','necte','packa','es\x20in','null\x20','lhost','_DIR/','rsion','\x20the\x20','⬡\x20Aut','e\x20\x22re','s\x20fro','cs\x0a\x20\x20','not\x20f','ete.','Versi','rt\x20on','(serv',',\x20PID','\x20\x20Use','s\x20wil','art\x20m','emium','\x20watc','fIngG','tion\x20','des','files','tion\x0a','7|2|0','jDYav','KATwP','tion','\x20\x20⬡\x20A','XxKej','uRjRs','ions\x20','node','-deta','d)\x1b[0','some','IEXOs','-chat','yCFIC','ty\x20da','\x20chec','ID:\x20\x20','s\x20and','\x0a\x20\x20⬡\x20','and\x20c','NTIAL','gVWrj','timeo','e:\x20\x20\x20','dit\x20m','LYbrj','e\x0a\x20\x20\x20','p\x20Upl','map','start','\x20comp','uploa','avail','\x20\x20✓\x20S','pping','er\x20ru','ve\x20al','NFOyc','stopp','ate\x20o','ed\x1b[0','IzEmt','m\x20(PI','eset)','\x20(PID','x\x20upl','--lin','Uplin','⬡\x20Cre','127.0','ail\x20-','port\x20','hat\x20[','set\x20\x20','\x20Star','wmic\x20','pass','AQuhe','ges-s','FCcEs','971032RypUes','led.','isten','lViQf','\x20(.en','PHdoj','\x20log\x20','d\x20DAT','\x20Unin','quire','MdsIW','toppe','_here','\x20to\x20s','n\x20bac','ig\x20fi','ues\x0a\x20','toStr','nano','ed:\x20\x20','at\x20st','ed\x20me','kGjIM','trim','uto-r','\x20\x20\x20re','l\x20Upl','art!','⬡\x20No\x20','mands','sh\x20st','ly\x20wi','****','ig\x20--','PASSW','emove','ame','reset','push','ink\x20w','top','\x20\x20Ser','sync-','\x20port','\x20\x20npx','ll\x22\x20t'];_0x4ce9=function(){return _0x15a7dd;};return _0x4ce9();}if(command===_0x24b44d(0x3db,0x541)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,_0x24b44d(0x179,0xfc)))?join(DATA_DIR,_0x2077cd(0x2dc,0x22c)):join(ROOT,_0x24b44d(0x179,0xbb));flags[_0x2077cd(0x2cb,0x21a)]&&(console[_0x24b44d(0x3e2,0x1e4)](ENV_FILE),process[_0x2077cd(0x34a,0x1d0)](0x1*-0x44f+-0x203e*-0x1+-0x1bef));if(flags[_0x2077cd(0x513,0x4fd)]){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,_0x24b44d(0x1d6,0x1f0)+_0x24b44d(0x206,0x3bb)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,'utf8')),console[_0x24b44d(0x3e2,0x1f4)](_0x24b44d(0x34b,0x4b7)+'ated\x20'+_0x2077cd(0x2c3,0x4b1)+_0x2077cd(0x560,0x5f6)+'.env.'+_0x2077cd(0x369,0x4c9)+'le')):(writeFileSync(ENV_FILE,_0x24b44d(0x205,0xb4)+_0x2077cd(0x3b3,0x34e)+_0x2077cd(0x1f1,0x1c4)+_0x2077cd(0x448,0x377)+'on\x0a'),console[_0x24b44d(0x3e2,0x5b9)](_0x24b44d(0x34b,0x459)+_0x24b44d(0x2fd,0x42c)+_0x24b44d(0xf2,0x1f9)+_0x24b44d(0x3cc,0x238)+_0x24b44d(0xa9,0xb)));}const editor=process.env.EDITOR||(process[_0x2077cd(0x1b1,0x2b6)+_0x2077cd(0x2bc,0x134)]===_0x24b44d(0xa8,0x88)?_0x24b44d(0x24,0x109)+'ad':_0x24b44d(0x369,0x510));console['log'](_0x24b44d(0x5d,0x24)+'ning\x20'+ENV_FILE+_0x24b44d(0xcb,0x1d1)+editor+'...');try{const _0x23bafb={};_0x23bafb[_0x2077cd(0x3c1,0x4d4)]=_0x24b44d(0x1ef,0x90)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x23bafb);}catch(_0x4d4f5e){console['error'](_0x2077cd(0x291,0x141)+_0x2077cd(0x514,0x5b8)+_0x2077cd(0x2e3,0x1ab)+_0x2077cd(0x314,0x511)+_0x24b44d(0x2e4,0x30f)+_0x4d4f5e['messa'+'ge']),console[_0x24b44d(0x16e,0x71)](_0x24b44d(0x27d,0x397)+'\x20EDIT'+_0x24b44d(0x397,0x522)+_0x24b44d(0x1a7,0x21a)+_0x2077cd(0x1d0,0x11b)+_0x2077cd(0x496,0x55d)+_0x24b44d(0x191,0x9a)+'ly:\x20'+ENV_FILE),process[_0x2077cd(0x34a,0x2c3)](0x41b+0x13d*0x17+-0x2095*0x1);}process[_0x2077cd(0x34a,0x303)](-0x8*0x110+0x11*-0x17+0xa07*0x1);}!existsSync(ENV_FILE)&&(console[_0x2077cd(0x545,0x6fd)](_0x2077cd(0x4d6,0x651)+_0x2077cd(0x2c3,0x2e7)+_0x24b44d(0x1a0,0x278)+_0x2077cd(0x500,0x345)+'.'),console[_0x2077cd(0x545,0x6b3)](_0x24b44d(0xa4,0x23a)+_0x2077cd(0x4a5,0x473)+_0x24b44d(0x11b,0x109)+_0x2077cd(0x25c,0x2c1)+'plink'+_0x24b44d(0x327,0x3c6)+_0x2077cd(0x4e9,0x527)+_0x2077cd(0x4db,0x4d0)+_0x2077cd(0x513,0x41a)),console[_0x24b44d(0x3e2,0x2ab)](_0x2077cd(0x1d8,0x338)+_0x2077cd(0x274,0x29c)+_0x24b44d(0x154,-0x5b)+_0x24b44d(0x132,0x93)+_0x24b44d(0x252,0x44f)+_0x2077cd(0x52f,0x566)+'.exam'+_0x2077cd(0x18b,0x16f)+_0x24b44d(0x247,0x43f)),process[_0x2077cd(0x34a,0x14d)](-0x92b+-0x146e+-0x1a5*-0x12));const SENSITIVE_KEYS=[_0x24b44d(0x2f1,0x198),_0x2077cd(0x330,0x38d),'SECRE'+'T',_0x2077cd(0x4dc,0x30e)+_0x2077cd(0x2a6,0x435),_0x24b44d(0x18e,0x29d)+_0x24b44d(0x32f,0x21b)];function maskValue(_0x41dd37,_0x233b7f){const _0x89bbb9={};_0x89bbb9[_0x615cb2(-0x115,0x56)]=function(_0x536366,_0x4688d0){return _0x536366||_0x4688d0;},_0x89bbb9[_0x615cb2(0x123,0x269)]=function(_0x966d5c,_0x138372){return _0x966d5c+_0x138372;},_0x89bbb9[_0x3fec0b(0x18f,0x29d)]=_0x3fec0b(0x1c6,0x123);const _0x9907af=_0x89bbb9,_0x3471df=SENSITIVE_KEYS[_0x3fec0b(0x174,-0x3)](_0x53452e=>_0x41dd37[_0x615cb2(-0x1e,0xe4)+_0x615cb2(0x37,-0x6c)+'e']()['inclu'+_0x3fec0b(0x166,-0x61)](_0x53452e));function _0x615cb2(_0x24cac8,_0x4970d7){return _0x24b44d(_0x24cac8- -0x264,_0x4970d7);}if(_0x9907af[_0x3fec0b(-0x62,-0x146)](!_0x3471df,!_0x233b7f)||_0x233b7f['lengt'+'h']<=-0x347*0x4+0x13ec+0xa*-0xae)return _0x233b7f;function _0x3fec0b(_0x424516,_0x4cefb2){return _0x24b44d(_0x424516- -0x1b1,_0x4cefb2);}return _0x9907af[_0x3fec0b(0x1d6,0x2cd)](_0x233b7f[_0x615cb2(0x130,0x122)](0x1*-0xd1e+0x97d*-0x4+0x3312,-0x1d*0x3+0x3b3*0x1+-0x358),_0x9907af[_0x3fec0b(0x18f,0x387)]);}try{const content=readFileSync(ENV_FILE,'utf8'),entries=[];for(const line of content[_0x24b44d(0x1c0,0xc3)]('\x0a')){const trimmed=line[_0x2077cd(0x4d1,0x692)]();if(!trimmed||trimmed['start'+'sWith']('#'))continue;const eqIdx=trimmed['index'+'Of']('=');if(eqIdx===-(-0x43*0x12+0x158e+-0x10d7*0x1))continue;const key=trimmed['slice'](-0x1884+-0x15b5+0x2e39,eqIdx)[_0x24b44d(0x36e,0x4f9)](),val=trimmed['slice'](eqIdx+(0x2*0x5c1+0x7d5+-0x1356))['trim']();entries['push']([key,val]);}entries[_0x24b44d(0x3e,-0x7c)+'h']===0xc85+0x394+-0x1019&&(console[_0x24b44d(0x3e2,0x507)](_0x2077cd(0x35c,0x355)+_0x2077cd(0x353,0x384)+_0x24b44d(0x3c4,0x1ff)+'empty'+_0x24b44d(0x200,0x320)+':\x20upl'+_0x24b44d(0x21b,0x19c)+'hat\x20c'+_0x2077cd(0x1f1,0x3c2)+'\x20--ed'+'it'),process[_0x2077cd(0x34a,0x473)](-0x1d4e+0xdee*0x1+0xf60));const maxKeyLen=Math[_0x2077cd(0x2cd,0x413)](...entries[_0x24b44d(0x337,0x455)](([_0x321480])=>_0x321480[_0x2077cd(0x1a1,0x1e2)+'h']));console[_0x2077cd(0x545,0x64d)](_0x24b44d(0x32d,0x400)+_0x2077cd(0x4ad,0x4a2)+_0x2077cd(0x399,0x1f4)+_0x24b44d(0x193,0x82)+_0x24b44d(0x389,0x2a6)+'\x0a'),console['log']('\x20\x20'+_0x2077cd(0x371,0x332)[_0x2077cd(0x253,0x25c)+'d'](maxKeyLen+(-0xe*-0x227+0x13bd+0x3*-0x109f))+_0x24b44d(0x2f7,0x478)),console[_0x24b44d(0x3e2,0x412)]('\x20\x20'+'─'[_0x2077cd(0x396,0x327)+'t'](maxKeyLen+(0x19e6+-0x10f6*-0x1+-0x2ada))+'─'['repea'+'t'](-0xdd7+0xb05+-0x2fa*-0x1));for(const [key,val]of entries){const display=val?maskValue(key,val):_0x24b44d(0xd9,-0xa9)+'(empt'+_0x24b44d(0x136,0x118)+'m';console[_0x2077cd(0x545,0x360)]('\x20\x20'+key['padEn'+'d'](maxKeyLen+(0x11c9+-0x1acb+0x904*0x1))+display);}console[_0x2077cd(0x545,0x65d)]('\x0a\x20\x20Pa'+_0x24b44d(0x283,0x32a)+ENV_FILE+'\x0a');}catch(_0x2ed3bd){console[_0x2077cd(0x2d1,0x1db)](_0x24b44d(0x12e,-0x7e)+'led\x20t'+'o\x20rea'+_0x2077cd(0x54b,0x66c)+'v:\x20'+_0x2ed3bd[_0x24b44d(0x107,0x30)+'ge']),process[_0x2077cd(0x34a,0x485)](-0x1a8d+0x145+-0x1949*-0x1);}process[_0x2077cd(0x34a,0x498)](-0x23a+0x127d+-0x1*0x1043);}if(command===_0x2077cd(0x23e,0x250)+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x24b44d(0x2ff,0x211)+_0x24b44d(0x39b,0x1e3)+'on'));console[_0x2077cd(0x545,0x6b6)]('\x0a\x20\x20⬡\x20'+_0x24b44d(0x34a,0x4ae)+_0x24b44d(0x1a5,0x2e8)+_0x24b44d(0x3ca,0x2a0)+'\x20v'+pkg[_0x2077cd(0x284,0x440)+'on']+'\x0a');const results=[];function pass(_0x4e12e1,_0x55203c){const _0x2d198b={};_0x2d198b['UJuDg']='pass';function _0x5f2527(_0x28bc98,_0x2ca8c9){return _0x24b44d(_0x2ca8c9- -0x16f,_0x28bc98);}const _0x2535be=_0x2d198b,_0x541bbf={};function _0x581f00(_0x129e88,_0x597705){return _0x24b44d(_0x597705- -0x329,_0x129e88);}_0x541bbf['statu'+'s']=_0x2535be['UJuDg'],_0x541bbf[_0x5f2527(-0x123,-0x55)]=_0x4e12e1,_0x541bbf['detai'+'l']=_0x55203c,results[_0x581f00(0x1b0,0x54)](_0x541bbf);}function fail(_0x1603d2,_0x2b920c){function _0x18a1a0(_0x424395,_0x7009c6){return _0x2077cd(_0x424395-0x140,_0x7009c6);}const _0x293c39={};_0x293c39[_0x11b9f5(0x160,0x17b)]=_0x11b9f5(-0x2f9,-0x207);const _0x1cb319=_0x293c39,_0x412fa7={};_0x412fa7[_0x18a1a0(0x4c1,0x534)+'s']=_0x1cb319[_0x18a1a0(0x646,0x776)];function _0x11b9f5(_0x22e723,_0x236987){return _0x2077cd(_0x236987- -0x38b,_0x22e723);}_0x412fa7[_0x11b9f5(-0x27f,-0x10e)]=_0x1603d2,_0x412fa7[_0x11b9f5(-0x241,-0xe7)+'l']=_0x2b920c,results[_0x11b9f5(0x305,0x155)](_0x412fa7);}function warn(_0x26c4d5,_0x3fe63d){const _0x1b68e3={};_0x1b68e3['UdFAE']=_0x51d726(0xca,0x14f);const _0x1d2e51=_0x1b68e3,_0x372c51={};_0x372c51['statu'+'s']=_0x1d2e51[_0x4f68b8(0x18d,0x1d4)];function _0x4f68b8(_0x5ce8a1,_0x5a71f8){return _0x2077cd(_0x5a71f8- -0x13a,_0x5ce8a1);}function _0x51d726(_0x56e68a,_0x48d834){return _0x2077cd(_0x48d834- -0x20b,_0x56e68a);}_0x372c51['label']=_0x26c4d5,_0x372c51[_0x4f68b8(-0x22,0x16a)+'l']=_0x3fe63d,results['push'](_0x372c51);}const nodeVer=process[_0x24b44d(0x121,0x1df)+_0x24b44d(0x187,0x108)][_0x24b44d(0x322,0x368)],nodeMajor=parseInt(nodeVer['split']('.')[-0x3d7*-0x3+-0x2570+-0x19eb*-0x1],-0x24e7+0x1b80+0x971);nodeMajor>=-0x3*-0x4e5+0x18d6+-0x2773?pass(_0x24b44d(0x4,0x1c0)+_0x2077cd(0x1f0,0x153)+_0x24b44d(0x304,0x3fe),'v'+nodeVer+(_0x2077cd(0x1d1,0x277)+_0x24b44d(0x13,-0x121)+_0x24b44d(0x360,0x201)+'d)')):fail(_0x2077cd(0x167,0x1e0)+'js\x20ve'+'rsion','v'+nodeVer+(_0x2077cd(0x3be,0x35a)+'de.js'+_0x24b44d(0x2d1,0x3f0)+'8\x20is\x20'+_0x24b44d(0x275,0x285)+_0x24b44d(0x1ce,0x64)));const ENV_FILE=existsSync(join(DATA_DIR,_0x2077cd(0x2dc,0x323)))?join(DATA_DIR,_0x24b44d(0x179,0x1cd)):join(ROOT,_0x24b44d(0x179,0x155));let envPort=-0x3*-0x269+-0x6e+0x6b3,envGatewayUrl=_0x24b44d(0x28f,0x236)+'//127'+_0x2077cd(0x1ba,0x10f)+_0x2077cd(0x40d,0x4ee)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x2077cd(0x165,0x40));for(const line of content[_0x24b44d(0x1c0,0x57)]('\x0a')){const t=line[_0x2077cd(0x4d1,0x579)]();if(!t||t['start'+_0x24b44d(0x3be,0x329)]('#'))continue;const eqIdx=t[_0x2077cd(0x539,0x61f)+'Of']('=');if(eqIdx===-(0x1e52+0x4*-0x33e+-0x1159))continue;const k=t['slice'](-0x265e+0x11c7+-0x1497*-0x1,eqIdx)['trim'](),v=t['slice'](eqIdx+(-0x3e2+-0x44f+0x832))[_0x2077cd(0x4d1,0x2d5)]();if(k===_0x24b44d(0x28a,0xc0))envPort=parseInt(v,-0x1e6f+-0x2341+0x41ba)||-0x5*-0x1+-0x19fd+-0x2778*-0x1;if(k==='GATEW'+_0x24b44d(0x162,0x274)+'L')envGatewayUrl=v;if(k===_0x2077cd(0x351,0x407)+'AY_TO'+_0x24b44d(0x2f,0xed))envGatewayToken=v;if(k===_0x2077cd(0x344,0x231)+_0x2077cd(0x1c6,0x6d)+'_KEY')envOpenAIKey=v;if(k===_0x24b44d(0x39e,0x317)+_0x24b44d(0xa6,0x201)+_0x24b44d(0xf,-0x154)+_0x2077cd(0x330,0x40a))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x59e450=>{function _0x22b65f(_0x338c7e,_0x1452ac){return _0x2077cd(_0x1452ac- -0x250,_0x338c7e);}const _0x4859e9={'sbzaV':_0x27b66f(0x20a,0x134)+_0x22b65f(0xca,-0x38),'nAHFy':function(_0x52dff6,_0x549e7c){return _0x52dff6(_0x549e7c);},'hZPZn':_0x27b66f(-0x20,0x8),'MSkoB':_0x27b66f(-0x9a,-0xfc)+_0x27b66f(0x4c,-0x1a6),'qxGOX':'127.0'+'.0.1'},_0x2f3d62=_0x3653cc[_0x27b66f(-0x11d,-0x140)+_0x22b65f(0xb7,0x39)+'er']();_0x2f3d62[_0x27b66f(-0x5e,-0x3b)](_0x4859e9[_0x27b66f(0xc9,0x152)],_0x46ffbd=>{function _0x295e26(_0x230bc8,_0xd78728){return _0x27b66f(_0xd78728-0x573,_0x230bc8);}if(_0x46ffbd[_0x295e26(0x846,0x7b0)]===_0x4859e9['sbzaV'])_0x59e450(![]);else _0x4859e9['nAHFy'](_0x59e450,!![]);});function _0x27b66f(_0x364029,_0x21f676){return _0x2077cd(_0x364029- -0x2f1,_0x21f676);}_0x2f3d62['once'](_0x4859e9[_0x22b65f(0x137,0x140)],()=>{function _0x105415(_0x1e8488,_0x3d1c2d){return _0x22b65f(_0x1e8488,_0x3d1c2d- -0x150);}_0x2f3d62[_0x105415(-0x2dd,-0x1bc)]();function _0x148d8c(_0x5c4ad5,_0x213698){return _0x22b65f(_0x5c4ad5,_0x213698- -0xfc);}_0x4859e9[_0x148d8c(-0x3,0xc7)](_0x59e450,!![]);}),_0x2f3d62[_0x27b66f(-0x9a,0x91)+'n'](envPort,_0x4859e9[_0x27b66f(0xed,0x83)]);}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass(_0x24b44d(0x17f,0x361)+envPort,_0x2077cd(0x49e,0x4e6)+_0x2077cd(0x411,0x611)+_0x2077cd(0x471,0x2ca)+_0x2077cd(0x4a1,0x473)+'nning'+_0x2077cd(0x34c,0x44b)+'PID\x20f'+_0x24b44d(0x15f,0x117)):pass('Port\x20'+envPort,_0x24b44d(0x33b,0x4e3)+_0x2077cd(0x1eb,0x2fc)):serverRunning?pass(_0x24b44d(0x17f,0xa5)+envPort,'in\x20us'+_0x24b44d(0x10e,0x20f)+_0x24b44d(0x34a,0x29f)+'k'):fail(_0x24b44d(0x17f,0x1f7)+envPort,_0x2077cd(0x311,0x44c)+_0x2077cd(0x271,0x2f4)+_0x2077cd(0x2cf,0x35b)+_0x2077cd(0x430,0x4cc)+_0x2077cd(0x382,0x313));const gatewayReachable=await new Promise(_0x40a8d9=>{const _0x173b59={'KATwP':'inher'+'it','kkraH':function(_0x2e4bac,_0x27e034){return _0x2e4bac!==_0x27e034;},'FCcEs':_0xdf354b(0x582,0x399),'uRjRs':'ygAuX','ZgOnx':function(_0x12dd88,_0x3d7c30){return _0x12dd88(_0x3d7c30);},'gVWrj':_0xdf354b(0x3fa,0x456)+'ning','rUFrK':_0xdf354b(0x5ad,0x6ae)+_0xdf354b(0x3b3,0x518),'ZPYYA':function(_0x4fe94d,_0x47c94c){return _0x4fe94d===_0x47c94c;},'VRwzL':_0x53979e(0x2b7,0x46f),'XBSGg':_0xdf354b(0x651,0x5d6),'GhZfM':function(_0x5239f2,_0x2ffe45,_0x39c38e){return _0x5239f2(_0x2ffe45,_0x39c38e);},'RiPha':function(_0x293647,_0x2e10fc){return _0x293647+_0x2e10fc;},'iGzCo':_0x53979e(0x1ae,0x22f),'FfYLy':_0xdf354b(0x866,0x69d)+'able\x20'+'(serv'+'er\x20ru'+_0xdf354b(0x4d1,0x37a)+_0xdf354b(0x5fd,0x54b)+_0x53979e(0x168,0x4b)+'ile)','gxsww':function(_0x302dfe,_0x19074d){return _0x302dfe===_0x19074d;},'BMKhV':'ugKgQ','LqxhV':'GET','ksNew':_0x53979e(0x19d,-0x4e),'qPOYd':_0x53979e(0x360,0x540)+'ut','HFJxo':function(_0x573d00,_0x46d1a9){return _0x573d00!==_0x46d1a9;},'jAeYh':_0x53979e(0x3be,0x309),'vxAIF':_0xdf354b(0x758,0x565)};function _0xdf354b(_0x576b53,_0x3c994c){return _0x24b44d(_0x3c994c-0x362,_0x576b53);}function _0x53979e(_0x2e0298,_0x439a98){return _0x24b44d(_0x2e0298-0x2f,_0x439a98);}try{if(_0x173b59['gxsww'](_0x173b59[_0xdf354b(0x3e8,0x3ed)],_0xdf354b(0x40b,0x5ae))){const _0x14324b=new URL(envGatewayUrl),_0x26261e={};_0x26261e[_0x53979e(0x2b6,0x346)+_0xdf354b(0x88e,0x6dd)]=_0x14324b['hostn'+_0x53979e(0x3aa,0x39d)],_0x26261e[_0xdf354b(0x3fe,0x45c)]=_0x14324b[_0x53979e(0x129,0x10a)]||0x175d*-0x1+-0x1cd7+0x3484,_0x26261e['path']='/',_0x26261e[_0x53979e(0x36,0x1c2)+'d']=_0x173b59[_0xdf354b(0x3bb,0x4c5)],_0x26261e[_0x53979e(0x360,0x183)+'ut']=0x1388;const _0x47b764=_0x910dc9[_0xdf354b(0x3f3,0x4c3)+'st'](_0x26261e,_0x2d27cb=>{function _0x5d48b5(_0x4b4e3c,_0x66e80a){return _0x53979e(_0x4b4e3c-0x12f,_0x66e80a);}function _0xfa06a3(_0x2dd92b,_0x4c1b8b){return _0x53979e(_0x2dd92b- -0x10c,_0x4c1b8b);}const _0x473fd6={'mxVCi':function(_0x5d7eec,_0x56a73f,_0x3d5a42){return _0x5d7eec(_0x56a73f,_0x3d5a42);},'hygFA':_0x173b59[_0xfa06a3(0x23f,0x160)]};_0x173b59['kkraH'](_0x173b59[_0x5d48b5(0x4b4,0x618)],_0x173b59[_0x5d48b5(0x47e,0x608)])?(_0x2d27cb[_0xfa06a3(-0xc8,-0x2b5)+'e'](),_0x40a8d9(!![])):wCGaUB[_0x5d48b5(0x2ba,0x3b7)](_0x2faa5c,_0x148c84+'\x20\x22'+_0x1c28ac+'\x22',{'stdio':wCGaUB['hygFA']});});_0x47b764['on'](_0x173b59[_0x53979e(0x26e,0x11d)],()=>_0x40a8d9(![])),_0x47b764['on'](_0x173b59[_0xdf354b(0x5a9,0x3d1)],()=>{const _0x34e005={'AXpPW':function(_0x103db7,_0x56dff5){return _0x103db7===_0x56dff5;},'pnrLe':function(_0x1118c4,_0x367334){function _0x503497(_0x187eda,_0xfdef7e){return _0x10d4(_0x187eda- -0x34b,_0xfdef7e);}return _0x173b59[_0x503497(0x111,-0x12)](_0x1118c4,_0x367334);},'MdsIW':_0x173b59[_0x131c03(0x6ff,0x728)],'IbxUm':_0x173b59[_0x131c03(0x583,0x53b)]};function _0x131c03(_0x4ed7c2,_0x27710c){return _0xdf354b(_0x27710c,_0x4ed7c2-0x6d);}function _0x595055(_0x440162,_0x499185){return _0xdf354b(_0x440162,_0x499185- -0x39);}if(_0x173b59[_0x131c03(0x4ad,0x4d1)](_0x173b59[_0x595055(0x58a,0x5d1)],_0x173b59[_0x595055(0x681,0x57d)])){const _0x3e9a41={'cwnPm':function(_0x4ead24,_0x1a849e){function _0x536426(_0x45a2b4,_0x541abe){return _0x595055(_0x45a2b4,_0x541abe- -0x24);}return UdSPJo[_0x536426(0x2ca,0x327)](_0x4ead24,_0x1a849e);},'gfscT':_0x595055(0x573,0x6c1)+'INUSE','DmDLh':function(_0x33db91,_0xa34d70){function _0x13537a(_0x2bb4be,_0x3b48c1){return _0x595055(_0x3b48c1,_0x2bb4be- -0x109);}return UdSPJo[_0x13537a(0x50d,0x653)](_0x33db91,_0xa34d70);}},_0x2e1dc9=_0x55fe4d[_0x131c03(0x440,0x29e)+'eServ'+'er']();_0x2e1dc9[_0x131c03(0x4ff,0x6c5)](_0x595055(0x301,0x497),_0x3b48cb=>{function _0x50fe13(_0x3bf6d9,_0xfeec7b){return _0x131c03(_0xfeec7b- -0x18c,_0x3bf6d9);}function _0x428761(_0x1890b4,_0x5783d3){return _0x131c03(_0x1890b4- -0x47,_0x5783d3);}if(_0x3e9a41['cwnPm'](_0x3b48cb['code'],_0x3e9a41[_0x50fe13(0x4fd,0x46e)]))_0x3e9a41[_0x50fe13(0x7f3,0x630)](_0x2bef88,![]);else _0x3e9a41[_0x428761(0x775,0x8d7)](_0x57b948,!![]);}),_0x2e1dc9[_0x131c03(0x4ff,0x652)](UdSPJo[_0x595055(0x77e,0x68a)],()=>{function _0x5cdbde(_0x354c19,_0xae8dd5){return _0x595055(_0xae8dd5,_0x354c19- -0x1ab);}_0x2e1dc9[_0x5cdbde(0x1ff,0xfb)](),_0x3e9a41['DmDLh'](_0x3b7196,!![]);}),_0x2e1dc9[_0x595055(0x5cc,0x41d)+'n'](_0x4d2a40,UdSPJo['IbxUm']);}else _0x47b764[_0x131c03(0x765,0x7f0)+'oy'](),_0x173b59[_0x131c03(0x7c2,0x759)](_0x40a8d9,![]);}),_0x47b764[_0xdf354b(0x4b7,0x5db)]();}else EeiKlO[_0xdf354b(0x3f8,0x57c)](_0x302ed7,EeiKlO[_0xdf354b(0x702,0x5de)](EeiKlO['iGzCo'],_0x34fd88),EeiKlO['FfYLy']);}catch{_0x173b59[_0x53979e(0x11d,-0x56)](_0x173b59[_0xdf354b(0x30b,0x48f)],_0x173b59[_0xdf354b(0x421,0x380)])?_0x173b59[_0xdf354b(0x91d,0x755)](_0x40a8d9,![]):_0x22d50b[_0xdf354b(0x639,0x744)]('\x20\x20'+_0x405f48[_0x2894da[_0x53979e(0x24d,0x2ac)+'s']]+'\x20'+_0xe82c93[_0xdf354b(0x45e,0x47c)]+':\x20'+_0x10d73f[_0xdf354b(0x67b,0x4a3)+'l']);}});gatewayReachable?pass(_0x24b44d(0x11e,0x116)+_0x2077cd(0x43b,0x317)+_0x24b44d(0x3,0x2d)+'le',envGatewayUrl):fail(_0x24b44d(0x11e,0x1c0)+_0x2077cd(0x43b,0x25f)+_0x24b44d(0x3,0x48)+'le','canno'+_0x2077cd(0x325,0x3d0)+'ch\x20'+envGatewayUrl);existsSync(join(ROOT,_0x24b44d(0x229,0x2a8)+_0x24b44d(0x277,0x3fb)+'es'))?pass('Depen'+'denci'+_0x2077cd(0x463,0x300)+_0x24b44d(0x181,0x33c)+'ed',_0x24b44d(0x229,0x290)+_0x24b44d(0x277,0xef)+_0x24b44d(0x124,-0x88)+_0x2077cd(0x234,0x370)):fail(_0x2077cd(0x19f,0x26b)+'denci'+_0x24b44d(0x300,0x2a6)+_0x2077cd(0x2e4,0x1cc)+'ed',_0x24b44d(0x229,0x343)+_0x24b44d(0x277,0x1b2)+'es\x20mi'+_0x2077cd(0x259,0x16e)+_0x2077cd(0x553,0x5f4)+_0x24b44d(0x3a1,0x317)+_0x24b44d(0x1fb,0x287)+'all');if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,'utf8'),pass(_0x2077cd(0x2c3,0x3cb)+'file',_0x2077cd(0x294,0x146)+_0x2077cd(0x48f,0x492)+'\x20read'+'able');}catch{fail('.env\x20'+_0x2077cd(0x307,0x4a9),'exist'+_0x2077cd(0x26b,0x110)+_0x24b44d(0x292,0x2b0)+_0x24b44d(0x25,0x17c)+'ble');}else fail(_0x2077cd(0x2c3,0x285)+_0x24b44d(0x1a4,0x15),_0x24b44d(0x30a,0x4c4)+_0x2077cd(0x1ce,0x14a)+_0x24b44d(0x23d,0x356)+_0x24b44d(0x265,0x3a2)+_0x24b44d(0x21b,0x12e)+'hat\x20c'+'onfig'+_0x2077cd(0x1bb,0x148)+'it');envGatewayToken&&envGatewayToken!==_0x2077cd(0x38f,0x447)+_0x2077cd(0x3f1,0x591)+_0x2077cd(0x4c6,0x5ab)?pass(_0x2077cd(0x281,0x40d)+'ay\x20to'+_0x24b44d(0x1ca,0x11d),'confi'+_0x24b44d(0x3f8,0x4a6)):fail(_0x24b44d(0x11e,0x1fd)+_0x2077cd(0x3bd,0x3a6)+_0x2077cd(0x32d,0x308),_0x2077cd(0x1e2,0x2f6)+'et\x20in'+'\x20.env');if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers['push'](_0x2077cd(0x309,0x4a6)+'I');if(envElevenLabsKey)providers[_0x2077cd(0x4e0,0x6de)]('Eleve'+'nLabs');pass(_0x2077cd(0x1aa,0x1d3)+_0x2077cd(0x44b,0x2e7)+'ys',providers[_0x2077cd(0x332,0x4d5)](',\x20')+(_0x24b44d(0x386,0x3ec)+_0x24b44d(0x129,-0x4c)+'d'));}else warn(_0x24b44d(0x47,0x28)+_0x24b44d(0x2e8,0x244)+'ys',_0x24b44d(0x217,0xf1)+_0x24b44d(0x388,0x546)+_0x2077cd(0x38a,0x29f)+_0x2077cd(0x3cf,0x439)+_0x2077cd(0x519,0x645)+'ey\x20—\x20'+_0x24b44d(0x2d5,0x3a5)+_0x2077cd(0x31a,0x201)+_0x24b44d(0x3aa,0x2e2)+'ted\x20t'+'o\x20Edg'+'e\x20TTS');try{const freeBytes=((()=>{const _0x138b31={'kvlca':function(_0x4effc8,_0x418bf0){return _0x4effc8===_0x418bf0;},'RUTwo':_0x12d245(0x2da,0x3df),'mDOpy':function(_0x48f76c,_0x1cf02d){return _0x48f76c+_0x1cf02d;},'jDYav':function(_0x5c204d,_0x4e9142){return _0x5c204d+_0x4e9142;},'txVOY':_0x12d245(0x781,0x689)+_0x15f5d1(0x72e,0x8a7)+_0x12d245(0x45d,0x594)+_0x15f5d1(0x477,0x28f)+_0x15f5d1(0x655,0x607)+_0x15f5d1(0x65f,0x7f5)+_0x12d245(0x29f,0x3f1),'ucZZJ':_0x15f5d1(0x4ad,0x33c)+_0x12d245(0x85d,0x6f6)+_0x15f5d1(0x615,0x77c)+_0x15f5d1(0x81d,0x981)+'alue','rvtQE':'utf8','YYvvw':function(_0x4d42e8,_0x51b0da,_0x47ad41){return _0x4d42e8(_0x51b0da,_0x47ad41);},'ANKwM':function(_0x545eea,_0x915e83){return _0x545eea*_0x915e83;},'QAbtW':function(_0x12fcce,_0x5d8155,_0x6310ae){return _0x12fcce(_0x5d8155,_0x6310ae);}};function _0x15f5d1(_0x32fb00,_0x25212e){return _0x2077cd(_0x32fb00-0x2e9,_0x25212e);}function _0x12d245(_0x140021,_0x4802c5){return _0x2077cd(_0x4802c5-0x1d4,_0x140021);}if(_0x138b31[_0x15f5d1(0x509,0x415)](process['platf'+'orm'],_0x138b31[_0x15f5d1(0x4b4,0x64a)])){const _0x5d7541=execSync(_0x138b31[_0x12d245(0x8dd,0x6eb)](_0x138b31[_0x12d245(0x7a8,0x652)](_0x138b31['txVOY'],ROOT[_0x12d245(0x509,0x4ba)+'t'](-0x150b+-0x1837+-0xf16*-0x3)),_0x138b31['ucZZJ']),{'encoding':_0x138b31['rvtQE']}),_0x39dd41=_0x5d7541[_0x15f5d1(0x576,0x745)](/FreeSpace=(\d+)/);return _0x39dd41?_0x138b31[_0x12d245(0x808,0x6ea)](parseInt,_0x39dd41[-0xf25+-0x1221+0x2147],-0x1033+-0x1c1e+0x2c5b):null;}else{const _0x55dfc1={};_0x55dfc1[_0x15f5d1(0x4fb,0x423)+_0x12d245(0x244,0x380)]=_0x12d245(0x17f,0x339);const _0x2c9a20=_0x138b31[_0x12d245(0x659,0x6ea)](execSync,_0x15f5d1(0x494,0x530)+'\x20\x22'+ROOT+(_0x15f5d1(0x45a,0x5cb)+_0x15f5d1(0x799,0x65b)+'1'),_0x55dfc1),_0x3d9ec1=_0x2c9a20[_0x15f5d1(0x7ba,0x6d8)]()[_0x12d245(0x612,0x4f7)](/\s+/);return _0x138b31[_0x12d245(0x6cc,0x593)](_0x138b31[_0x12d245(0x33c,0x3cb)](parseInt,_0x3d9ec1[-0x1c09+-0xc8a+0x2896],-0x1*0x9f2+0x1fbc+0x740*-0x3),0x30e+0xbb6+-0xac4);}})());if(freeBytes!==null){const freeMB=Math[_0x24b44d(0x2d4,0x178)](freeBytes/((-0x1*0xc28+-0x1*-0x23fd+-0x13d5)*(-0x8*0x6+-0x5*0x47f+0x1aab)));freeMB>=0x230b*0x1+0x9d*-0xb+-0x1a58?pass(_0x2077cd(0x336,0x215)+_0x24b44d(0x169,0x9a),freeMB+(_0x2077cd(0x426,0x60e)+_0x24b44d(0x1d1,0xd2))):warn(_0x2077cd(0x336,0x48a)+_0x24b44d(0x169,0x1d9),freeMB+(_0x24b44d(0x2c3,0x335)+_0x24b44d(0x1fc,0x2e8)+_0x2077cd(0x559,0x699)+_0x2077cd(0x34b,0x4fd)+_0x24b44d(0x2d7,0x1ce)+'MB'));}}catch{warn(_0x2077cd(0x336,0x16a)+_0x2077cd(0x2cc,0x1bc),_0x24b44d(0x286,0x393)+_0x2077cd(0x3f5,0x243)+_0x24b44d(0x2f2,0x2da)+_0x24b44d(0x3ef,0x348)+'free\x20'+_0x2077cd(0x3fb,0x4bd)+'space');}const _0x4ff5df={};_0x4ff5df[_0x2077cd(0x4b6,0x41e)]='\x1b[32m'+_0x2077cd(0x523,0x4e4),_0x4ff5df['fail']=_0x2077cd(0x19c,0x19b)+_0x2077cd(0x359,0x492),_0x4ff5df[_0x2077cd(0x35a,0x4d8)]='\x1b[33m'+'!\x1b[0m';const icons=_0x4ff5df;for(const r of results){console[_0x2077cd(0x545,0x3a3)]('\x20\x20'+icons[r[_0x2077cd(0x381,0x1e8)+'s']]+'\x20'+r[_0x2077cd(0x27d,0x260)]+':\x20'+r[_0x24b44d(0x141,0x104)+'l']);}const passes=results[_0x2077cd(0x238,0x196)+'r'](_0x132efc=>_0x132efc[_0x2077cd(0x381,0x41b)+'s']===_0x2077cd(0x4b6,0x68b))['lengt'+'h'],fails=results[_0x24b44d(0xd5,0x15a)+'r'](_0x18658a=>_0x18658a[_0x2077cd(0x381,0x4e1)+'s']==='fail')[_0x2077cd(0x1a1,0x294)+'h'],warns=results[_0x2077cd(0x238,0x40)+'r'](_0x3c4edc=>_0x3c4edc[_0x2077cd(0x381,0x2f2)+'s']===_0x24b44d(0x1f7,0x1b))['lengt'+'h'];console[_0x24b44d(0x3e2,0x4c8)](''),fails===0x209b+0x1490*-0x1+0x1*-0xc0b?console[_0x2077cd(0x545,0x421)](_0x24b44d(0x31e,0x27a)+_0x24b44d(0x101,-0x88)+passes+(_0x2077cd(0x48d,0x2dc)+_0x2077cd(0x3ec,0x3b9)+_0x24b44d(0x79,-0xe1))+(warns?'\x20('+warns+(_0x24b44d(0x3cd,0x227)+'ing')+(warns>-0x17a3+-0x24fa+0x3c9e?'s':'')+')':'')+'.'):console['log']('\x20\x20⬡\x20'+passes+('\x20pass'+_0x2077cd(0x4f4,0x43e))+fails+('\x20fail'+'ed')+(warns?',\x20'+warns+(_0x24b44d(0x3cd,0x4fb)+_0x2077cd(0x1ac,0x178))+(warns>0x1*-0xb4d+-0x5cf+-0xd*-0x151?'s':''):'')+'.'),console['log'](''),process[_0x2077cd(0x34a,0x4cd)](fails>-0x6b+0x2074+-0x1*0x2009?0x3*-0x8cc+-0x89c+0x2301:-0x239f+0x2*0x455+0x1af5);}if(command===_0x2077cd(0x4df,0x43e)){const {rmSync}=await import('fs');console['log'](_0x2077cd(0x490,0x4fa)+_0x24b44d(0x34a,0x2af)+_0x24b44d(0x151,0x341)+_0x24b44d(0xb8,0x267)),console[_0x24b44d(0x3e2,0x21c)](_0x24b44d(0x32,-0xce)+_0x2077cd(0x474,0x30f)+_0x2077cd(0x543,0x66e)+_0x24b44d(0x238,0x20d)),console[_0x2077cd(0x545,0x4a1)]('\x20\x20\x20\x20•'+_0x2077cd(0x394,0x4ff)+_0x24b44d(0x188,0x2d8)+'ory\x20a'+'nd\x20me'+_0x24b44d(0x2c7,0x229)+_0x24b44d(0x199,0x1ac)+_0x2077cd(0x190,0x17e)),console[_0x24b44d(0x3e2,0x415)]('\x20\x20\x20\x20•'+_0x24b44d(0x39a,0x594)+_0x2077cd(0x2fa,0x1a0)+'files'+_0x2077cd(0x2be,0x1c3)+_0x2077cd(0x28f,0x2ba)+_0x2077cd(0x230,0x424)+'e'),console[_0x24b44d(0x3e2,0x598)](_0x2077cd(0x175,0x24b)+_0x24b44d(0x44,-0x197)+_0x24b44d(0x36c,0x2a3)+_0x2077cd(0x42a,0x5c5)+_0x2077cd(0x398,0x35f)+'ue'),console[_0x24b44d(0x3e2,0x3d2)](_0x24b44d(0x12,-0xf7)+_0x2077cd(0x2a5,0x424)+_0x24b44d(0x194,0x2a3)+_0x24b44d(0x185,0x2c5)+_0x24b44d(0x321,0x433)+'and\x20a'+_0x2077cd(0x32a,0x308)+_0x24b44d(0x329,0x172)+'ta'),console[_0x2077cd(0x545,0x648)](''),console[_0x24b44d(0x3e2,0x221)](_0x24b44d(0x32,0x100)+_0x24b44d(0x311,0x449)+_0x24b44d(0x2a4,0x2fb)+_0x24b44d(0x211,0xd3)+'r:'),console[_0x2077cd(0x545,0x4fd)](_0x2077cd(0x175,0x16b)+'\x20.env'+'\x20conf'+'igura'+_0x24b44d(0x31d,0x12f)),console[_0x24b44d(0x3e2,0x305)]('\x20\x20\x20\x20•'+_0x2077cd(0x3c9,0x210)+_0x2077cd(0x444,0x5de)+_0x2077cd(0x33c,0x368)),console[_0x2077cd(0x545,0x60d)]('\x20\x20\x20\x20•'+'\x20The\x20'+_0x24b44d(0x11f,0xb7)+_0x24b44d(0x1f1,0x3da)+'elf\x0a');if(!flags['force']){const readline=await import('readl'+_0x24b44d(0x96,-0xcd)),_0x3be5b0={};_0x3be5b0['input']=process['stdin'],_0x3be5b0['outpu'+'t']=process['stdou'+'t'];const rl=readline[_0x24b44d(0x71,0x54)+_0x24b44d(0x297,0x1a4)+_0x24b44d(0x2db,0x31f)](_0x3be5b0),answer=await new Promise(_0x448356=>{function _0x157196(_0x32b2c0,_0x4e166e){return _0x24b44d(_0x32b2c0- -0x46,_0x4e166e);}const _0x2394e8={};_0x2394e8[_0x2df2ca(0x2e5,0x4e0)]=_0x2df2ca(0x515,0x58d)+_0x157196(0x2c1,0x21c)+_0x2df2ca(0x8ab,0x6e0)+_0x157196(0x129,-0xba)+_0x157196(0x130,0x162)+':\x20';const _0x115ce4=_0x2394e8;function _0x2df2ca(_0x2e4374,_0x221e78){return _0x24b44d(_0x221e78-0x42f,_0x2e4374);}rl[_0x2df2ca(0x749,0x691)+'ion'](_0x115ce4[_0x2df2ca(0x438,0x4e0)],_0x448356);});rl['close'](),answer[_0x24b44d(0x36e,0x33e)]()['toLow'+_0x2077cd(0x3fe,0x21e)+'e']()!==_0x24b44d(0x37c,0x212)&&(console[_0x2077cd(0x545,0x68b)](_0x24b44d(0xbe,-0x80)+_0x24b44d(0x14c,0x1d9)+_0x24b44d(0xfb,0x146)+_0x24b44d(0x218,0x182)+_0x2077cd(0x201,0x293)+_0x2077cd(0x3cc,0x42e)+'ved.\x0a'),process['exit'](-0x789*-0x4+-0x110+-0x1d14)),console[_0x24b44d(0x3e2,0x4be)]('');}const dataResets=['messa'+_0x24b44d(0x355,0x268)+_0x2077cd(0x4ff,0x4d2)+_0x2077cd(0x1f2,0x23),'activ'+_0x24b44d(0x234,0x181)+_0x24b44d(0x8f,0x176),_0x24b44d(0x381,0x2b7)+_0x24b44d(0x82,0x1f0),_0x2077cd(0x2ad,0x11b)+_0x24b44d(0x19d,0x368)+_0x24b44d(0x66,0x151)+_0x24b44d(0x118,0xed),_0x2077cd(0x49d,0x3dd)+'ds',_0x24b44d(0x3bd,0x276),_0x24b44d(0x3cf,0x49d)+_0x2077cd(0x1d3,-0x7)],rootResets=['messa'+_0x24b44d(0x355,0x18f)+_0x24b44d(0x39c,0x2f0)+_0x24b44d(0x8f,0x236),_0x24b44d(0x16d,-0x28)+_0x2077cd(0x397,0x3ab)+'son','sync-'+_0x2077cd(0x1e5,0x345),_0x24b44d(0x14a,0x28d)+'d-con'+_0x24b44d(0x66,0x13c)+_0x24b44d(0x118,0xc9),_0x24b44d(0x33a,0x18a)+'ds',_0x2077cd(0x3f0,0x2d6)+'c/aud'+'io',_0x2077cd(0x1e6,0x7c)+_0x24b44d(0x11d,0x2a1)+_0x24b44d(0x256,0x3f7)+_0x2077cd(0x231,0x105),'push-'+_0x2077cd(0x2b8,0x199)+'ripti'+_0x2077cd(0x42e,0x3be)+_0x2077cd(0x1f2,0xfa),'serve'+'r.log',_0x24b44d(0x3f5,0x462)+_0x24b44d(0x3ee,0x548)+_0x2077cd(0x3ad,0x312)+_0x24b44d(0x3e2,0x49a),_0x24b44d(0x3f5,0x49a)+_0x24b44d(0x2b7,0x23b)+_0x24b44d(0x17,-0x1a6)+_0x2077cd(0x421,0x5ac)];let cleared=0x6*-0x2fb+-0x1a20+0x1601*0x2;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x43fd86={};_0x43fd86[_0x2077cd(0x32f,0x3fb)+'sive']=!![],_0x43fd86[_0x24b44d(0x29a,0x101)]=!![],rmSync(fullPath,_0x43fd86),cleared++,console[_0x2077cd(0x545,0x3a0)]('\x20\x20✓\x20R'+_0x24b44d(0x37a,0x47f)+_0x24b44d(0x35e,0x518)+_0x2077cd(0x42d,0x300)+'/'+item);}catch(_0x2006a9){console['error'](_0x2077cd(0x3e8,0x2e5)+_0x24b44d(0x1dc,0x2a2)+_0x24b44d(0x294,0xd0)+_0x2077cd(0x4dd,0x36d)+_0x2077cd(0x2e0,0x42c)+_0x2077cd(0x466,0x2ea)+item+':\x20'+_0x2006a9[_0x2077cd(0x26a,0x445)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0xe23e9c={};_0xe23e9c[_0x24b44d(0x1cc,0x305)+_0x24b44d(0x73,0x3d)]=!![],_0xe23e9c[_0x2077cd(0x3fd,0x29c)]=!![],rmSync(fullPath,_0xe23e9c),cleared++,console[_0x2077cd(0x545,0x396)]('\x20\x20✓\x20R'+_0x2077cd(0x4dd,0x5e6)+'d\x20'+item);}catch(_0xf67e6){console['error'](_0x2077cd(0x3e8,0x503)+'ailed'+'\x20to\x20r'+_0x24b44d(0x37a,0x271)+'\x20'+item+':\x20'+_0xf67e6[_0x2077cd(0x26a,0x3ef)+'ge']);}}cleared===-0x1*0xf29+-0x1*0x251a+0x11*0x313?console['log'](_0x24b44d(0x2f8,0x324)+_0x2077cd(0x55c,0x68e)+_0x24b44d(0x3e1,0x567)+_0x24b44d(0x1f5,0x3ea)+'\x20alre'+_0x2077cd(0x227,0x290)+_0x24b44d(0x284,0x458)):console[_0x2077cd(0x545,0x6c9)](_0x2077cd(0x490,0x5d2)+_0x2077cd(0x38d,0x476)+'ed\x20'+cleared+_0x24b44d(0x9b,0x61)+(cleared>0x1e47*0x1+-0x8a7*0x2+0x53*-0x28?'s':'')+('.\x20Fre'+_0x24b44d(0x375,0x559)+_0x2077cd(0x4d5,0x56b))),console[_0x24b44d(0x3e2,0x1ed)](''),process[_0x24b44d(0x1e7,0x150)](-0x1a7d+0x1ffb+-0x57e);}if(command===_0x24b44d(0x3ac,0x1d2)){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x24b44d(0x39b,0x30c)+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x24b44d(0x179,0x35a)))?join(DATA_DIR,_0x2077cd(0x2dc,0x154)):join(ROOT,'.env');let envPort='3456',envHost=_0x2077cd(0x237,0x350)+'.0',envGatewayUrl=_0x2077cd(0x3f2,0x204)+'//127'+_0x2077cd(0x1ba,0x252)+_0x24b44d(0x2aa,0x21d)+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x2077cd(0x165,0xca));for(const line of content[_0x24b44d(0x1c0,0x1e1)]('\x0a')){const t=line[_0x2077cd(0x4d1,0x4d8)]();if(!t||t[_0x24b44d(0x338,0x29f)+_0x2077cd(0x521,0x62a)]('#'))continue;const eqIdx=t['index'+'Of']('=');if(eqIdx===-(-0x1567+0x596*-0x1+0x1afe))continue;const k=t[_0x24b44d(0x394,0x213)](-0x1af2+-0xb*-0x26b+0x59,eqIdx)[_0x24b44d(0x36e,0x431)](),v=t['slice'](eqIdx+(-0x1a65+-0x2*-0xc8f+-0x2*-0xa4))['trim']();if(k===_0x24b44d(0x28a,0x3bf))envPort=v||'3456';if(k===_0x2077cd(0x16c,0x239)+_0x24b44d(0x1f3,0x343)+'T'||k==='HOST')envHost=v||_0x2077cd(0x237,0x14a)+'.0';if(k===_0x24b44d(0x1ee,0x35f)+'AY_UR'+'L')envGatewayUrl=v;if(k===_0x24b44d(0x1ee,0x8e)+_0x24b44d(0x147,0x10f)+'KEN')envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?_0x2077cd(0x1cd,0x183)+_0x24b44d(0x2ce,0x478)+_0x2077cd(0x30b,0x1c5)+_0x2077cd(0x4a8,0x49c)+'D\x20'+(watchdogPid||serverPid)+')':_0x24b44d(0x39,-0x53)+_0x24b44d(0x341,0x172)+_0x2077cd(0x4a6,0x41f)+'m',gwReachable=await new Promise(_0x48e37a=>{function _0x1cdf61(_0x4d8501,_0x52fe83){return _0x2077cd(_0x4d8501- -0x13,_0x52fe83);}function _0x4cff0b(_0x4b7652,_0x57efc2){return _0x2077cd(_0x57efc2- -0x1ac,_0x4b7652);}const _0x5bb4ba={'PNPuJ':function(_0x3fe526,_0x2ded84){return _0x3fe526(_0x2ded84);},'eqoMi':function(_0x2b7497,_0x574a63,_0x313542){return _0x2b7497(_0x574a63,_0x313542);},'BQXgL':_0x4cff0b(-0x19a,-0x47),'aPCKg':function(_0x5355b6,_0x15015a){return _0x5355b6*_0x15015a;},'LYbrj':function(_0x324701,_0x2bce7f){return _0x324701===_0x2bce7f;},'nphnc':_0x1cdf61(0x294,0x222),'IeMar':function(_0x479f96,_0x11d5c2){return _0x479f96(_0x11d5c2);},'XxKej':'dTrku','RzPtQ':_0x4cff0b(0x54,0x14c),'jJajE':'GET','sepHL':_0x1cdf61(0x2be,0x17f)};try{if(_0x5bb4ba[_0x4cff0b(0x14a,0x2eb)](_0x5bb4ba[_0x4cff0b(0x317,0x2d6)],_0x5bb4ba[_0x4cff0b(0xac,0x166)])){const _0x2b12d5={};_0x2b12d5['statu'+'s']='pass',_0x2b12d5[_0x1cdf61(0x26a,0x1d0)]=_0x2258c8,_0x2b12d5[_0x1cdf61(0x291,0x2a4)+'l']=_0x594892,_0x1cb270[_0x1cdf61(0x4cd,0x33b)](_0x2b12d5);}else{const _0x465503=new URL(envGatewayUrl),_0x21c23b={};_0x21c23b[_0x4cff0b(0x205,0x23e)+'ame']=_0x465503[_0x4cff0b(0x125,0x23e)+_0x1cdf61(0x4cb,0x533)],_0x21c23b[_0x4cff0b(0x23b,0xb1)]=_0x465503[_0x1cdf61(0x24a,0x23a)]||-0x13*-0x11e+0x1*0x18ab+0x2d95*-0x1,_0x21c23b[_0x4cff0b(0x59,0x11f)]='/',_0x21c23b[_0x1cdf61(0x157,0x47)+'d']=_0x5bb4ba['jJajE'],_0x21c23b[_0x1cdf61(0x481,0x35d)+'ut']=0xbb8;const _0x632a04=_0x910dc9[_0x1cdf61(0x2b1,0x208)+'st'](_0x21c23b,_0x3de3e8=>{_0x3de3e8[_0x5e7058(-0x241,-0x2f5)+'e']();function _0x5bab5b(_0x47088b,_0x5e6450){return _0x4cff0b(_0x5e6450,_0x47088b- -0x198);}function _0x5e7058(_0x156904,_0x544d7a){return _0x4cff0b(_0x156904,_0x544d7a- -0x2c1);}_0x5bb4ba[_0x5e7058(-0x1e1,-0x99)](_0x48e37a,!![]);});_0x632a04['on'](_0x5bb4ba[_0x1cdf61(0x25c,0x105)],()=>_0x48e37a(![])),_0x632a04['on']('timeo'+'ut',()=>{function _0x398437(_0xafe548,_0x1bbe37){return _0x4cff0b(_0x1bbe37,_0xafe548-0x151);}function _0x5c7063(_0x442424,_0x5e342c){return _0x4cff0b(_0x5e342c,_0x442424- -0x311);}if(_0x5bb4ba[_0x5c7063(-0x26,-0x105)](_0x398437(0x24c,0x269),_0x5bb4ba[_0x398437(0x1ba,0x3b5)]))_0x632a04['destr'+'oy'](),_0x5bb4ba[_0x398437(0x207,0x155)](_0x48e37a,![]);else{const _0x358847=VKpPwZ[_0x398437(0x309,0x272)](_0x26dfb0,'df\x20-k'+'\x20\x22'+_0x50110e+(_0x5c7063(-0x34c,-0x248)+_0x398437(0x455,0x5ed)+'1'),{'encoding':VKpPwZ[_0x398437(0x506,0x32f)]}),_0x39cfcd=_0x358847[_0x5c7063(0x14,-0x27)]()[_0x5c7063(-0x19a,-0x108)](/\s+/);return VKpPwZ['aPCKg'](_0x26f63d(_0x39cfcd[-0x25ad*-0x1+0x19e3+-0x3f8d],-0x207e+-0x1b01+-0x1*-0x3b89),0x620*0x4+0x1464+-0x1*0x28e4);}}),_0x632a04[_0x4cff0b(0xdf,0x230)]();}}catch{_0x5bb4ba[_0x1cdf61(0x24f,0x30f)](_0x48e37a,![]);}}),gwStatus=gwReachable?envGatewayUrl+('\x20\x1b[32'+'m(con'+_0x24b44d(0x2fe,0x38d)+_0x24b44d(0x324,0x279)+'m'):envGatewayUrl+(_0x24b44d(0x2b3,0x348)+_0x24b44d(0x207,0x231)+_0x2077cd(0x23b,0x433)+'ble)\x1b'+_0x2077cd(0x537,0x61e)),LOG_FILE=join(ROOT,_0x24b44d(0x11f,0x2e8)+'r.log'),ALT_LOG_FILE=join(ROOT,_0x24b44d(0x3f5,0x361)+_0x24b44d(0x3ee,0x34e)+_0x24b44d(0x24a,0x196)+'log'),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:_0x2077cd(0x361,0x2ab)+')',premiumFile=join(ROOT,_0x2077cd(0x282,0x2fc)+'r','premi'+'um');let premiumStatus=_0x2077cd(0x3e3,0x5ab)+_0x24b44d(0x2df,0x477)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x2077cd(0x50a,0x35f)+_0x2077cd(0x406,0x40f));const configFile=join(ROOT,_0x24b44d(0x3db,0x5d2)+_0x2077cd(0x3a6,0x25e)+'n');if(existsSync(configFile))try{const cfg=JSON[_0x24b44d(0xf1,0x16)](readFileSync(configFile,'utf8'));if(cfg[_0x2077cd(0x204,0x1f)+'um']||cfg[_0x24b44d(0xa1,0x246)+_0x2077cd(0x273,0x315)])premiumStatus=_0x24b44d(0x16d,0x330)+'e';}catch{}console['log']('\x0a\x20\x20⬡\x20'+_0x2077cd(0x4ad,0x2fe)+'k\x20Inf'+_0x2077cd(0x3ca,0x2b0)+_0x24b44d(0x30c,0x18c)+_0x24b44d(0x3ec,0x3a7)+'\x20\x20\x20\x20v'+pkg[_0x24b44d(0x121,0x1cb)+'on']+(_0x24b44d(0x1f,-0xd0)+'de.js'+_0x2077cd(0x2d6,0x16b)+'\x20\x20v')+process[_0x2077cd(0x284,0xc8)+_0x24b44d(0x187,-0x45)][_0x24b44d(0x322,0x200)]+('\x0a\x20\x20Po'+_0x2077cd(0x1ec,0x393)+_0x24b44d(0x10,0xb1)+'\x20\x20')+envPort+(_0x24b44d(0x3ad,0x33f)+_0x2077cd(0x222,0x112)+_0x2077cd(0x173,0x66)+'\x20\x20')+envHost+('\x0a\x20\x20Se'+'rver:'+_0x2077cd(0x173,0x346)+'\x20\x20')+serverStatus+(_0x2077cd(0x386,0x30c)+_0x24b44d(0x2ea,0x2eb)+_0x2077cd(0x2d6,0x172)+'\x20\x20')+gwStatus+('\x0a\x20\x20Da'+_0x2077cd(0x373,0x42d)+_0x2077cd(0x446,0x5f4)+'\x20\x20')+DATA_DIR+('\x0a\x20\x20Lo'+_0x2077cd(0x2c7,0x382)+_0x24b44d(0x332,0x24f)+'\x20\x20')+logFile+(_0x2077cd(0x538,0x53e)+_0x24b44d(0x313,0x234)+':\x20\x20\x20\x20'+'\x20\x20')+premiumStatus+(_0x2077cd(0x31c,0x4a4)+_0x24b44d(0x181,0x1be)+_0x24b44d(0x36a,0x346)+'\x20\x20')+ROOT+_0x24b44d(0x245,0x3e1)),process[_0x24b44d(0x1e7,0x12b)](-0x16c6+-0x2d*0xe+-0xa*-0x286);}function _0x10d4(_0x186bef,_0x55eb7b){_0x186bef=_0x186bef-(0x1274*0x2+0x18b7+-0x6cd*0x9);const _0x38497f=_0x4ce9();let _0x32e5b5=_0x38497f[_0x186bef];return _0x32e5b5;}const ALL_COMMANDS=['stop',_0x2077cd(0x381,0x300)+'s',_0x24b44d(0x28c,0x15e)+'e',_0x24b44d(0x220,0x2e1)+_0x24b44d(0x291,0x246),_0x24b44d(0x51,-0xa9),'confi'+'g',_0x24b44d(0xdb,0x9)+'r','reset',_0x2077cd(0x50f,0x6dd)];if(command===_0x2077cd(0x49b,0x495)||!ALL_COMMANDS[_0x2077cd(0x3c3,0x34f)+'des'](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x24b44d(0x13a,-0x45)+'dog':_0x24b44d(0x103,-0xc4)+'t';console[_0x2077cd(0x545,0x4d3)](_0x2077cd(0x246,0xba)+_0x2077cd(0x1f6,0x3a)+_0x24b44d(0x64,-0x100)+_0x2077cd(0x236,0x3af)+_0x2077cd(0x431,0x2fd)+_0x2077cd(0x39c,0x226)+mode+(_0x2077cd(0x472,0x521)+'\x20')+pid+').'),console[_0x2077cd(0x545,0x370)](_0x2077cd(0x1e7,-0x17)+_0x24b44d(0xc6,0x226)+_0x2077cd(0x297,0x483)+_0x2077cd(0x3c8,0x3c4)+'ink-c'+_0x2077cd(0x2f0,0x33c)+_0x24b44d(0x37f,0x246)),process[_0x24b44d(0x1e7,0x4a)](0x2c7+0x203*0x6+0x17c*-0xa);}const env={...process.env};if(flags[_0x2077cd(0x25d,0x80)])env[_0x2077cd(0x3ed,0x473)]=String(flags[_0x24b44d(0xfa,0x1ef)]);if(flags[_0x24b44d(0x104,-0xcb)])env[_0x24b44d(0x9,-0x10)+_0x24b44d(0x1f3,0x2b3)+'T']=flags[_0x24b44d(0x104,-0x1a)];const serverPath=join(ROOT,_0x2077cd(0x282,0x1c5)+_0x2077cd(0x3b8,0x21d));if(flags[_0x24b44d(0x214,0x2d1)+'h']){const watchdogPath=join(ROOT,_0x24b44d(0x11f,-0x59)+'r',_0x24b44d(0x13a,0x302)+_0x24b44d(0x60,-0xb4)+'s'),extraEnv={};if(flags[_0x24b44d(0xfa,0x2b)])extraEnv[_0x24b44d(0x28a,0x3fd)]=String(flags[_0x2077cd(0x25d,0x6d)]);if(flags[_0x2077cd(0x267,0x190)])extraEnv[_0x2077cd(0x16c,-0x6f)+_0x2077cd(0x356,0x2da)+'T']=flags[_0x2077cd(0x267,0x156)];const isLinux=process['platf'+_0x24b44d(0x159,0x120)]===_0x24b44d(0x157,0x19c);let child;if(isLinux)try{const _0x5df4e0={};_0x5df4e0['stdio']=_0x2077cd(0x44a,0x364)+'e',execSync('which'+'\x20sets'+'id',_0x5df4e0);const _0x319860={};_0x319860[_0x2077cd(0x260,0x10d)]=ROOT,_0x319860[_0x2077cd(0x3aa,0x467)]=env,_0x319860[_0x24b44d(0x214,0x32a)+_0x24b44d(0x258,0x20f)]=!![],_0x319860[_0x2077cd(0x3c1,0x4c6)]=_0x24b44d(0x2e7,0x15c)+'e',child=spawn('setsi'+'d',[_0x2077cd(0x509,0x531)+'k',process['execP'+_0x2077cd(0x402,0x226)],watchdogPath,JSON[_0x2077cd(0x51a,0x68d)+_0x24b44d(0x99,0x17a)](extraEnv)],_0x319860);}catch{const _0x578a40={};_0x578a40[_0x2077cd(0x260,0x1b2)]=ROOT,_0x578a40[_0x2077cd(0x3aa,0x223)]=env,_0x578a40[_0x24b44d(0x214,0x28b)+'hed']=!![],_0x578a40[_0x24b44d(0x25e,0x2c4)]=_0x2077cd(0x44a,0x33e)+'e',child=spawn(process[_0x2077cd(0x4ed,0x407)+_0x24b44d(0x29f,0x31c)],[watchdogPath,JSON[_0x2077cd(0x51a,0x55e)+_0x24b44d(0x99,-0xfa)](extraEnv)],_0x578a40);}else{const _0x127e03={};_0x127e03['cwd']=ROOT,_0x127e03['env']=env,_0x127e03['detac'+_0x24b44d(0x258,0xf1)]=!![],_0x127e03[_0x24b44d(0x25e,0x1d9)]=_0x24b44d(0x2e7,0x3f1)+'e',child=spawn(process['execP'+_0x24b44d(0x29f,0x106)],[watchdogPath,JSON['strin'+_0x24b44d(0x99,0x8a)](extraEnv)],_0x127e03);}child['unref']();const port=flags['port']||env[_0x2077cd(0x3ed,0x43f)]||0x1a6*0x9+-0xd8b+0x1*0xc35;console[_0x24b44d(0x3e2,0x54e)](_0x24b44d(0xe3,0x148)+'ink\x20s'+_0x24b44d(0x3c7,0x403)+'d\x20in\x20'+_0x24b44d(0x1be,0xca)+_0x24b44d(0x2d4,0x223)+_0x2077cd(0x18a,0x2e8)+_0x24b44d(0x314,0x402)+'hdog\x20'+_0x2077cd(0x4f5,0x583)+child['pid']+').'),console[_0x24b44d(0x3e2,0x2d9)]('\x20\x20→\x20h'+_0x2077cd(0x302,0x199)+_0x24b44d(0x31,0x1a)+'lhost'+':'+port),console[_0x2077cd(0x545,0x723)](_0x24b44d(0x3e7,0x21a)+'o-res'+'tarts'+_0x24b44d(0x399,0x501)+_0x24b44d(0x2bc,0x3b8)+'\x20Stop'+_0x2077cd(0x18a,0x27e)+_0x24b44d(0x265,0xe3)+_0x24b44d(0x21b,0x3c8)+'hat\x20s'+_0x2077cd(0x4e2,0x5ef)),process[_0x2077cd(0x34a,0x396)](0x4f6*-0x4+-0x1*0x1191+0x1*0x2569);}else{if(flags[_0x24b44d(0x13b,0xa2)+_0x2077cd(0x1fb,0x122)]){const _0x5c4612={};_0x5c4612[_0x2077cd(0x260,0x31b)]=ROOT,_0x5c4612[_0x2077cd(0x3aa,0x428)]=env,_0x5c4612['stdio']=_0x2077cd(0x352,0x350)+'it';const child=spawn(process[_0x2077cd(0x4ed,0x6a0)+_0x2077cd(0x402,0x352)],[serverPath],_0x5c4612);writeFileSync(PID_FILE,String(child[_0x24b44d(0x276,0x3f3)]));const cleanup=()=>{const _0x353f47={'omuYI':function(_0xc26467,_0xb737c2){return _0xc26467!==_0xb737c2;},'fPjKx':_0x57a2ef(0x619,0x4dc),'GhYVF':function(_0x1bc828,_0x54ea5e){return _0x1bc828(_0x54ea5e);}};function _0x7f737(_0x1868e7,_0x2081b9){return _0x24b44d(_0x1868e7-0x86,_0x2081b9);}function _0x57a2ef(_0x46256c,_0x2e5563){return _0x24b44d(_0x46256c-0x275,_0x2e5563);}try{_0x353f47['omuYI'](_0x57a2ef(0x619,0x41a),_0x353f47[_0x7f737(0xe0,-0x76)])?_0x36d112[_0x7f737(0x1f4,0x1a7)](_0x7f737(0x30b,0x4e7)+_0x57a2ef(0x451,0x2a5)+_0x57a2ef(0x509,0x422)+_0x7f737(0x400,0x376)+_0x7f737(0x203,0x2e0)+_0x57a2ef(0x578,0x3a4)+_0x187c88+':\x20'+_0x55f35b[_0x57a2ef(0x37c,0x3be)+'ge']):_0x353f47[_0x7f737(0x333,0x50f)](unlinkSync,PID_FILE);}catch{}};process['on'](_0x2077cd(0x1da,0x267)+'T',()=>{const _0x284277={'vuEqW':function(_0xe8f902){return _0xe8f902();}};function _0x1d8b55(_0x21500b,_0x2f02cd){return _0x2077cd(_0x21500b-0x4d,_0x2f02cd);}_0x284277[_0x367a8a(0x4c8,0x347)](cleanup);function _0x367a8a(_0x2e1f7a,_0x24c9e7){return _0x2077cd(_0x2e1f7a-0x117,_0x24c9e7);}process[_0x367a8a(0x461,0x5ac)](-0x21d8+-0x1*-0x3b3+-0x1e25*-0x1);}),process['on']('SIGTE'+'RM',()=>{function _0x3eb71a(_0x27d3e5,_0x2de721){return _0x24b44d(_0x2de721- -0x1cc,_0x27d3e5);}function _0x231190(_0x4e3e8b,_0x3600ff){return _0x24b44d(_0x3600ff- -0x28d,_0x4e3e8b);}const _0x3d80b4={'ORIba':function(_0x33fe78){return _0x33fe78();}};_0x3d80b4[_0x231190(-0x2f9,-0x26a)](cleanup),process[_0x231190(-0x123,-0xa6)](-0x132d*-0x2+0x9*-0x337+-0x96b*0x1);}),child['on'](_0x2077cd(0x34a,0x24d),_0x276f09=>{cleanup(),process['exit'](_0x276f09||0xa5a*0x3+0x511*-0x2+-0xce*0x1a);});}else{const watchdogPath=join(ROOT,'serve'+'r','watch'+_0x2077cd(0x1c3,0x391)+'s'),extraEnv={};if(flags[_0x24b44d(0xfa,0x1ef)])extraEnv[_0x24b44d(0x28a,0x182)]=String(flags[_0x2077cd(0x25d,0x386)]);if(flags[_0x2077cd(0x267,0x1e9)])extraEnv[_0x2077cd(0x16c,0x168)+_0x24b44d(0x1f3,0x17f)+'T']=flags[_0x24b44d(0x104,-0xcc)];const _0x117b75={};_0x117b75['cwd']=ROOT,_0x117b75[_0x2077cd(0x3aa,0x3a9)]=env,_0x117b75[_0x2077cd(0x3c1,0x1d6)]=_0x2077cd(0x352,0x455)+'it';const child=spawn(process['execP'+'ath'],[watchdogPath,JSON[_0x2077cd(0x51a,0x67b)+_0x24b44d(0x99,-0x143)](extraEnv)],_0x117b75),port=flags[_0x2077cd(0x25d,0x12e)]||env[_0x24b44d(0x28a,0xb0)]||-0x1*0xff7+-0x17*0x115+0x365a;console[_0x2077cd(0x545,0x691)](_0x24b44d(0xe3,0x74)+'ink\x20s'+_0x24b44d(0x1c4,0x1fc)+_0x2077cd(0x439,0x5f2)+_0x24b44d(0x3e5,0x56f)+_0x2077cd(0x17a,0x2de)+_0x2077cd(0x199,0x2da)+_0x24b44d(0x2dd,0x353)+_0x2077cd(0x49b,0x527)+_0x24b44d(0x123,0x2b0)+_0x2077cd(0x55f,0x63f)),console['log'](_0x24b44d(0x295,0x139)+_0x24b44d(0x19f,0x2d4)+_0x24b44d(0x31,0xfe)+_0x24b44d(0x302,0x1cf)+':'+port),console[_0x2077cd(0x545,0x6af)](_0x2077cd(0x473,0x2a8)+'\x20--no'+'-watc'+'hdog\x20'+'for\x20r'+_0x2077cd(0x1fa,0x21d)+_0x24b44d(0x140,0x2e8)+_0x24b44d(0x3b5,0x358)),process['on'](_0x24b44d(0x77,0x18c)+'T',()=>{const _0x36a486={};_0x36a486[_0x49dc82(-0x2a,-0x1ce)]=_0xbd4cbf(0x47e,0x540)+'RM';const _0x545459=_0x36a486;function _0x49dc82(_0x2ef592,_0x21401b){return _0x24b44d(_0x21401b- -0x249,_0x2ef592);}function _0xbd4cbf(_0x3eb3bb,_0x2746c4){return _0x24b44d(_0x3eb3bb-0x3de,_0x2746c4);}child['kill'](_0x545459[_0x49dc82(-0x131,-0x1ce)]);}),process['on'](_0x24b44d(0xa0,0x1cf)+'RM',()=>{const _0x150437={};function _0x3363d4(_0x7435f1,_0x5ef91f){return _0x2077cd(_0x7435f1-0x10b,_0x5ef91f);}_0x150437['MxfJZ']=_0x1a88d0(0x1fa,0x14e)+'RM';function _0x1a88d0(_0x16248b,_0x3890fb){return _0x2077cd(_0x16248b- -0x9,_0x3890fb);}const _0x5d2d82=_0x150437;child[_0x3363d4(0x487,0x36c)](_0x5d2d82[_0x3363d4(0x61c,0x6c1)]);}),child['on'](_0x24b44d(0x1e7,0x2d8),_0x1672d4=>{const _0x5a3ee8={};function _0x1e8df9(_0x24ff4c,_0x392c04){return _0x2077cd(_0x392c04-0x8e,_0x24ff4c);}_0x5a3ee8[_0x17587b(0x31d,0x26f)]=function(_0xed5fd6,_0x2d4963){return _0xed5fd6||_0x2d4963;};function _0x17587b(_0x3beb6d,_0x112773){return _0x2077cd(_0x3beb6d- -0x33,_0x112773);}const _0x1d27a4=_0x5a3ee8;process[_0x17587b(0x317,0x298)](_0x1d27a4[_0x17587b(0x31d,0x2f4)](_0x1672d4,-0x2092+0x2*0x28a+0x1b7e));});}}}
3
+ (function(_0x42f2d0,_0x8a7245){function _0x2268b5(_0x366137,_0x52b5ba){return _0x3817(_0x52b5ba- -0x6e,_0x366137);}function _0x5d0173(_0x31a0dd,_0x46aef3){return _0x3817(_0x31a0dd-0x6b,_0x46aef3);}const _0x461e7f=_0x42f2d0();while(!![]){try{const _0x4bc1e0=parseInt(_0x5d0173(0x32a,0x1b7))/(0xb*-0x4e+-0x2130+0x248b)+-parseInt(_0x2268b5(0x551,0x4a2))/(0x11*0xa3+0x160f*0x1+-0x20e0)*(parseInt(_0x2268b5(0x111,0x2b1))/(-0x1123+0x904+0x411*0x2))+-parseInt(_0x2268b5(0x175,0x367))/(-0x34*-0x20+-0xa*0x350+0x1aa4)*(parseInt(_0x5d0173(0x267,0xc4))/(-0x114*0x16+-0x105c+0x2819))+parseInt(_0x5d0173(0x483,0x607))/(0x153*0x2+-0x175f*-0x1+-0x19ff)+-parseInt(_0x5d0173(0x220,0x1d7))/(0x5f2*0x1+0x42*0x69+-0x20fd)+-parseInt(_0x5d0173(0x552,0x6cb))/(0x1f2+0x2233+-0x739*0x5)+parseInt(_0x2268b5(0x424,0x441))/(0x21ab+-0x3*0xb55+0x5d)*(parseInt(_0x2268b5(0x3b0,0x3b7))/(0x7ae*-0x3+0x1af9+0x1*-0x3e5));if(_0x4bc1e0===_0x8a7245)break;else _0x461e7f['push'](_0x461e7f['shift']());}catch(_0x13d8d8){_0x461e7f['push'](_0x461e7f['shift']());}}}(_0x4e16,-0x1a844+0x1*-0x17b19+0x50500));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 _0x306a6e from'net';import _0x571d0b from'http';import _0x126dce from'os';function _0x3817(_0x4e16e5,_0x381732){_0x4e16e5=_0x4e16e5-(0x23ac+-0xba4+-0x16dc);const _0x3f71ee=_0x4e16();let _0x3c7d60=_0x3f71ee[_0x4e16e5];return _0x3c7d60;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function _0x2a8cd3(_0x15690e,_0x5f4171){return _0x3817(_0x5f4171- -0x370,_0x15690e);}const ROOT=join(__dirname,'..');function resolveDataDir(){const _0x2ad68c={'heRpd':function(_0x5d9aac,_0x17772b,_0x39a061){return _0x5d9aac(_0x17772b,_0x39a061);},'uGycv':'liste'+_0x5120b6(0x10c,0x18c),'JgaAG':_0x5120b6(0x1bb,0x211)+_0x5120b6(-0xcd,0xd0),'VKaTg':_0x5120b6(0x9e,0x143)+_0x5120b6(0x2b6,0x283)+_0x5120b6(0x2d1,0x33b)+'ncomp'+'any/u'+'plink'+_0x5120b6(0x1b2,0x15a)+'...\x0a','osabn':_0x4e1e2e(0x516,0x50e)+_0x5120b6(-0x169,0xd)+_0x4e1e2e(0x5af,0x7a4)+_0x4e1e2e(0x3e5,0x35b)+_0x4e1e2e(0x4a8,0x33a)+_0x4e1e2e(0x50e,0x68e)+_0x4e1e2e(0x542,0x409)+_0x4e1e2e(0x5fb,0x5ff),'mNUVz':_0x4e1e2e(0x6d3,0x508)+'it','fRwWw':function(_0x3f57ca,_0x2327a7){return _0x3f57ca!==_0x2327a7;},'MFZxe':'wTNHa','FQaLf':_0x5120b6(-0x1d3,-0x21)+'ncell'+_0x4e1e2e(0x45f,0x494)+_0x5120b6(0x154,0x36)+_0x4e1e2e(0x5ea,0x502)+_0x5120b6(0x260,0xdc)+_0x4e1e2e(0x50b,0x373),'cOJDd':function(_0x201e55,_0x4ec2d3){return _0x201e55(_0x4ec2d3);},'xlyWg':_0x5120b6(0x228,0x1f7),'eUMLX':_0x4e1e2e(0x5d6,0x686),'RStqc':_0x5120b6(0x4e7,0x3b0),'Kpjkg':_0x5120b6(0x10e,0x313),'tYyog':'error','sQGHI':'timeo'+'ut','YJiOX':function(_0x5ed15c,_0x26ca5e){return _0x5ed15c===_0x26ca5e;},'XKjTh':_0x4e1e2e(0x5cf,0x5b5),'REauZ':'(((.+'+_0x4e1e2e(0x3f5,0x471)+'+$','AtcKO':function(_0x9d108a){return _0x9d108a();},'rhyuJ':'win32','mcngs':function(_0xa7e414,_0x52af59,_0xda3e3f,_0x4e4d33){return _0xa7e414(_0x52af59,_0xda3e3f,_0x4e4d33);},'VVFdR':_0x5120b6(0x1eb,0x343)+'ta','xzPXx':function(_0x31da13,_0x1a8c6a,_0x2ea505){return _0x31da13(_0x1a8c6a,_0x2ea505);},'eDiOQ':_0x5120b6(-0x6b,0x71)+'k','szCsg':function(_0x3b9b7f,_0x53cbcc,_0x196542){return _0x3b9b7f(_0x53cbcc,_0x196542);},'uxJGA':'.upli'+'nk'},_0xb27953=(function(){function _0x4ec08e(_0x44a6dd,_0x5441a6){return _0x4e1e2e(_0x44a6dd- -0x518,_0x5441a6);}function _0x5e73c5(_0x4243f0,_0x329cc0){return _0x4e1e2e(_0x329cc0- -0x388,_0x4243f0);}const _0x11ee03={'VmiuM':_0x2ad68c[_0x5e73c5(0x3a,0x70)],'Oyzka':function(_0x11ab2c,_0x3c53e0){function _0x1a5248(_0x31c21f,_0x1cbfc8){return _0x5e73c5(_0x31c21f,_0x1cbfc8-0x292);}return _0x2ad68c[_0x1a5248(0x48b,0x47e)](_0x11ab2c,_0x3c53e0);},'HkmUf':_0x2ad68c[_0x5e73c5(0x499,0x30f)],'vuCaM':_0x4ec08e(-0x10c,-0xbe),'whowV':_0x2ad68c[_0x5e73c5(0x1a4,0x1c5)]};if(_0x2ad68c[_0x5e73c5(0x453,0x36b)](_0x2ad68c[_0x5e73c5(-0x157,-0x5a)],_0x4ec08e(0x200,0x29b)))_0x5ae680['log'](_0x11ee03[_0x5e73c5(0x2c8,0x260)]),_0x5e1fad[_0x4ec08e(0x1a5,0x276)](-0xc2b+-0x2532+-0x315d*-0x1);else{let _0xae8dec=!![];return function(_0x11df0f,_0x300772){function _0x46f8aa(_0x368bab,_0x5932b0){return _0x5e73c5(_0x368bab,_0x5932b0-0x4bb);}const _0x3865c7={'mrzxJ':function(_0x294355,_0x5d5eac,_0x1668e5){function _0x47aaa3(_0x242f96,_0x425b50){return _0x3817(_0x242f96-0x358,_0x425b50);}return _0x2ad68c[_0x47aaa3(0x808,0x63a)](_0x294355,_0x5d5eac,_0x1668e5);},'pGAbC':_0x2ad68c['uGycv'],'kklTI':_0x2ad68c[_0x46f8aa(0x564,0x68d)],'oNozI':_0x2ad68c[_0x2b17e8(0x3d1,0x554)],'FYcUx':function(_0x716466,_0x14e08d,_0x530cdf){return _0x2ad68c['heRpd'](_0x716466,_0x14e08d,_0x530cdf);},'IXOGR':_0x2ad68c[_0x46f8aa(0x656,0x684)],'oFccR':_0x2ad68c[_0x2b17e8(0x207,0x377)]};function _0x2b17e8(_0x12298b,_0x1074a0){return _0x5e73c5(_0x1074a0,_0x12298b-0x144);}if(_0x2ad68c['fRwWw'](_0x2b17e8(0x464,0x567),_0x2ad68c['MFZxe'])){const _0x36349e=_0xae8dec?function(){const _0x4953bb={'HpJUB':function(_0x45e0df,_0x17f9ee){return _0x45e0df===_0x17f9ee;},'Lanxa':'EADDR'+_0x90221f(0x23c,0xda),'qFCsA':function(_0x1c18d5,_0x258179){function _0x156dc4(_0x47c8f3,_0x4f3e66){return _0x90221f(_0x4f3e66-0x95,_0x47c8f3);}return _0x11ee03[_0x156dc4(0x123,0x109)](_0x1c18d5,_0x258179);},'ytwba':function(_0x231879,_0x76150c){return _0x231879(_0x76150c);}};function _0x3bdc1f(_0x25a869,_0xceb973){return _0x2b17e8(_0x25a869- -0x76,_0xceb973);}function _0x90221f(_0x295eac,_0x409909){return _0x2b17e8(_0x295eac- -0x1aa,_0x409909);}if(_0x11ee03[_0x90221f(0x2e7,0x1e4)]!==_0x11ee03[_0x3bdc1f(0x387,0x377)]){if(_0x300772){if(_0x90221f(0x110,0x1cb)===_0x11ee03[_0x90221f(0x43,-0x1a0)]){const _0x2b00bf=_0xc9bccc(_0x36c9fd,_0x47973f);if(_0x131734(_0x2b00bf))try{const _0x54cd43={};_0x54cd43[_0x90221f(0x197,0x1b0)+'sive']=!![],_0x54cd43[_0x3bdc1f(0x2e3,0x18e)]=!![],_0x3865c7[_0x90221f(0xc2,-0x7f)](_0x3e85cf,_0x2b00bf,_0x54cd43),_0x140977++,_0x16ae7a['log'](_0x3bdc1f(0x2fe,0x206)+'emove'+'d\x20'+_0x2b6399);}catch(_0x4c7764){_0x538638[_0x3bdc1f(0x165,0x1b9)]('\x20\x20✗\x20F'+_0x3bdc1f(0x29b,0x32a)+_0x3bdc1f(0xc9,0x88)+_0x90221f(0x182,0x19b)+'\x20'+_0xa9634a+':\x20'+_0x4c7764[_0x3bdc1f(0x23d,0x2fb)+'ge']);}}else{const _0x4523b3=_0x300772['apply'](_0x11df0f,arguments);return _0x300772=null,_0x4523b3;}}}else{const _0x3e6563={'oIzsi':function(_0x212412,_0x1c30fa){return _0x212412(_0x1c30fa);}},_0x5406b0=_0x245e39[_0x3bdc1f(0xd0,0x2d)+_0x90221f(0x5,0x57)+'er']();_0x5406b0[_0x3bdc1f(0xbf,0x273)]('error',_0xad6d6f=>{function _0x5eb415(_0xa59590,_0x1fc125){return _0x90221f(_0xa59590-0x164,_0x1fc125);}function _0x4ea1e1(_0x1a78e0,_0x42b6ee){return _0x90221f(_0x42b6ee-0x199,_0x1a78e0);}if(_0x4953bb[_0x4ea1e1(0x205,0x226)](_0xad6d6f['code'],_0x4953bb[_0x5eb415(0x13d,0x100)]))_0x4953bb[_0x5eb415(0xac,0x19f)](_0x12a89a,![]);else _0x4953bb['ytwba'](_0x1c3f4c,!![]);}),_0x5406b0['once'](_0x3865c7['pGAbC'],()=>{_0x5406b0[_0x40aee7(-0xe4,-0x187)]();function _0x305298(_0x3d7890,_0x1ae8b1){return _0x90221f(_0x1ae8b1-0x1ab,_0x3d7890);}function _0x40aee7(_0x1f0e9e,_0x6bcda0){return _0x90221f(_0x1f0e9e- -0x32,_0x6bcda0);}_0x3e6563[_0x40aee7(0x1c7,0x396)](_0xc4bec2,!![]);}),_0x5406b0[_0x3bdc1f(0xb8,0x2c)+'n'](_0x49fb09,_0x3865c7[_0x90221f(0x192,0x2b4)]);}}:function(){};return _0xae8dec=![],_0x36349e;}else _0x32bd5b[_0x2b17e8(0x137,0x212)](_0x3865c7[_0x2b17e8(0x380,0x4cd)]),_0x3865c7['FYcUx'](_0x393903,_0x3865c7[_0x2b17e8(0x36a,0x50f)],{'stdio':_0x3865c7['oFccR']});};}}());function _0x4e1e2e(_0x1edf51,_0x316827){return _0x3817(_0x1edf51-0x1eb,_0x316827);}const _0x2c6ceb=_0x2ad68c['heRpd'](_0xb27953,this,function(){const _0x3c38ba={'OoYxc':function(_0x228663,_0x23b2b6){function _0x15da7b(_0x53b393,_0x582ec4){return _0x3817(_0x53b393-0x83,_0x582ec4);}return _0x2ad68c[_0x15da7b(0x40c,0x33d)](_0x228663,_0x23b2b6);}};function _0x1c7230(_0x32a69c,_0x251ec4){return _0x5120b6(_0x32a69c,_0x251ec4- -0x22a);}function _0x449848(_0x2806d5,_0x1b8457){return _0x5120b6(_0x1b8457,_0x2806d5- -0x161);}if(_0x2ad68c[_0x449848(0x70,0x34)](_0x2ad68c[_0x449848(0xe8,0x95)],_0x2ad68c[_0x1c7230(0x138,0x1f)]))return _0x2c6ceb['toStr'+_0x449848(0x234,0x31c)]()[_0x449848(-0xc,0x170)+'h'](_0x2ad68c[_0x1c7230(0x135,-0x81)])[_0x449848(0x183,0x305)+'ing']()[_0x1c7230(-0x17a,-0x207)+_0x449848(-0x120,-0xe0)+'r'](_0x2c6ceb)['searc'+'h'](_0x1c7230(-0x24,0x64)+_0x449848(-0xd4,-0x1e8)+'+$');else{const _0x2b62e8={'SimtK':function(_0x4abe55,_0x46e42c){function _0x230504(_0x14e199,_0x37452f){return _0x449848(_0x14e199-0x343,_0x37452f);}return _0x2ad68c[_0x230504(0x3ee,0x468)](_0x4abe55,_0x46e42c);}},_0x3f21db=new _0xadbf40(_0x5efd12),_0x583598={};_0x583598[_0x449848(-0x71,0xe1)+_0x1c7230(-0x194,-0x135)]=_0x3f21db[_0x1c7230(-0x181,-0x13a)+'ame'],_0x583598[_0x1c7230(-0x1ee,-0x3)]=_0x3f21db[_0x449848(0xc6,0x72)]||0x1d4b+-0x169*-0xa+-0x10d*0x29,_0x583598['path']='/',_0x583598['metho'+'d']=_0x2ad68c[_0x449848(-0x170,-0x3)],_0x583598[_0x449848(0x175,0x114)+'ut']=0xbb8;const _0x5dbff7=_0x205b31[_0x1c7230(-0x1a3,-0x15e)+'st'](_0x583598,_0x3abafc=>{function _0xb2e2b2(_0x4df17d,_0x1a84a4){return _0x449848(_0x4df17d-0x2a2,_0x1a84a4);}_0x3abafc[_0x2f924d(0x175,0x227)+'e']();function _0x2f924d(_0x51f8a6,_0x297dfc){return _0x449848(_0x51f8a6-0x15,_0x297dfc);}_0x2b62e8[_0x2f924d(-0x100,-0x1e8)](_0x20862a,!![]);});_0x5dbff7['on'](_0x2ad68c[_0x449848(-0x1a8,-0x62)],()=>_0x20f0c5(![])),_0x5dbff7['on'](_0x2ad68c[_0x1c7230(-0x2b8,-0x16c)],()=>{function _0x770eb8(_0x3530f7,_0x43edac){return _0x449848(_0x43edac-0x3a8,_0x3530f7);}function _0x17bed0(_0xcbb73b,_0x3e7a71){return _0x449848(_0xcbb73b- -0x97,_0x3e7a71);}_0x5dbff7[_0x17bed0(0xc2,-0x123)+'oy'](),_0x3c38ba[_0x770eb8(0x281,0x400)](_0xcd157f,![]);}),_0x5dbff7[_0x449848(0xec,-0xe3)]();}});_0x2ad68c[_0x4e1e2e(0x6e2,0x75b)](_0x2c6ceb);function _0x5120b6(_0x2c33d0,_0x47f245){return _0x3817(_0x47f245- -0x17d,_0x2c33d0);}if(process.env.UPLINK_DATA_DIR)return process.env.UPLINK_DATA_DIR;if(process[_0x5120b6(0x212,0x47)+_0x5120b6(-0x137,0x7)]===_0x2ad68c[_0x4e1e2e(0x6ae,0x847)]){const _0x339b20=process.env.APPDATA||_0x2ad68c[_0x4e1e2e(0x616,0x624)](join,_0x126dce[_0x4e1e2e(0x407,0x567)+'ir'](),_0x2ad68c[_0x5120b6(0x3,0xa5)],_0x5120b6(0x3d0,0x252)+'ng');return _0x2ad68c[_0x4e1e2e(0x6a9,0x687)](join,_0x339b20,_0x2ad68c[_0x4e1e2e(0x61c,0x560)]);}return _0x2ad68c[_0x4e1e2e(0x4e5,0x313)](join,_0x126dce[_0x4e1e2e(0x407,0x290)+'ir'](),_0x2ad68c[_0x5120b6(0x10,0x193)]);}const DATA_DIR=resolveDataDir();try{const _0x56a3ac={};_0x56a3ac[_0x2eb054(0x460,0x452)+'sive']=!![],mkdirSync(DATA_DIR,_0x56a3ac);}catch{}const PID_FILE=join(DATA_DIR,_0x2a8cd3(-0x236,-0x188)+_0x2a8cd3(-0x16,0x1c5)+'d'),WATCHDOG_PID_FILE=join(DATA_DIR,'.upli'+_0x2a8cd3(-0xa8,0x14c)+'tchdo'+'g.pid'),WATCHDOG_STATE_FILE=join(DATA_DIR,_0x2a8cd3(-0xa1,-0x188)+_0x2eb054(0x3fe,0x574)+_0x2a8cd3(0xbf,0x1be)+_0x2a8cd3(0x163,-0xa5)+'n'),args=process[_0x2eb054(0x674,0x51e)][_0x2eb054(0x4e2,0x426)](-0x21*-0x3+0xf89*-0x2+0x1eb1),command=args[0x1cf5+-0x13c+-0x1bb9]||_0x2eb054(0x270,0x2e2),flags={};for(let i=0x9*-0x1a0+-0x318+0x17a*0xc;i<args[_0x2eb054(0x3dc,0x5c6)+'h'];i++){const nNpsyp=(_0x2a8cd3(0x168,0xa7)+_0x2eb054(0x47d,0x4a0)+'0|3|6'+_0x2eb054(0x4a6,0x3bd))['split']('|');let ySEiKs=0x17f*-0x5+-0x19e1+0x2*0x10ae;while(!![]){switch(nNpsyp[ySEiKs++]){case'0':args[i]===_0x2a8cd3(-0x12d,-0x3f)+_0x2eb054(0x3da,0x31c)+'dog'&&(flags[_0x2eb054(0x11a,0x2ba)+'chdog']=!![]);continue;case'1':args[i]==='--pat'+'h'&&(flags[_0x2a8cd3(0x1e4,0xf7)]=!![]);continue;case'2':(args[i]===_0x2a8cd3(0x9,0x39)+'p'||args[i]==='-h')&&(flags[_0x2a8cd3(-0x3b1,-0x228)]=!![]);continue;case'3':args[i]===_0x2a8cd3(-0x8f,-0x1c5)+'es'&&args[i+(0x1676+0xacc*0x1+-0x2141)]&&(flags[_0x2a8cd3(-0xc,-0x71)]=parseInt(args[i+(-0x6*0x615+-0xd01*0x1+0x18c*0x20)],0xc9b+-0x1ebf+0x122e),i++);continue;case'4':args[i]==='--hos'+'t'&&(flags[_0x2eb054(0x2a2,0x316)]=args[i+(0x1fa8+0x19d*0x1+-0x2144)]||_0x2eb054(0x491,0x3fd)+'.0',i++);continue;case'5':(args[i]===_0x2eb054(0x3e8,0x354)+'sion'||args[i]==='-v')&&(flags[_0x2a8cd3(-0x7d,-0x37)+'on']=!![]);continue;case'6':args[i]===_0x2eb054(0x34c,0x444)+'t'&&(flags['edit']=!![]);continue;case'7':(args[i]===_0x2a8cd3(0x35a,0x1a6)+'ce'||args[i]==='-f')&&(flags['force']=!![]);continue;case'8':(args[i]===_0x2eb054(0x2b8,0x220)+_0x2a8cd3(0x4,0x159)||args[i]==='-d')&&(flags[_0x2a8cd3(0x31b,0x17d)+'h']=!![]);continue;case'9':args[i]===_0x2eb054(0x1b5,0x2f8)+'t'&&args[i+(0x3bc+-0x3be*0x2+0x3c1)]&&(flags[_0x2eb054(0x355,0x45c)]=parseInt(args[i+(-0x1*-0x255a+-0x222*-0x4+-0x2d*0x105)],0x1245*-0x1+-0xc41+-0xc*-0x28c),i++);continue;}break;}}if(flags[_0x2a8cd3(0x2e,-0x37)+'on']){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2a8cd3(0x99,0xd)+_0x2eb054(0xb8,0x25f)+'on'));console[_0x2a8cd3(-0x1dc,-0x1e0)]('uplin'+_0x2eb054(0x1fc,0x2f9)+_0x2a8cd3(-0xe1,-0x40)+pkg['versi'+'on']),process[_0x2eb054(0x4ad,0x58a)](0x5*0x232+-0x10a6+0x1*0x5ac);}flags['help']&&(console['log'](_0x2eb054(0x82,0x20a)+_0x2a8cd3(-0x12d,0x38)+_0x2eb054(0x230,0x39a)+_0x2eb054(0x4b6,0x5e1)+_0x2eb054(0x275,0x2cb)+_0x2eb054(0x574,0x52f)+_0x2eb054(0x4cf,0x38d)+_0x2a8cd3(-0xfe,-0x175)+_0x2a8cd3(-0x13,-0x1eb)+_0x2eb054(0x54b,0x40f)+'hat\x20['+_0x2eb054(0x277,0x20b)+'nd]\x20['+'optio'+_0x2eb054(0x267,0x409)+_0x2eb054(0x3da,0x352)+_0x2a8cd3(0x1d,-0x187)+_0x2a8cd3(-0x2ca,-0x132)+_0x2a8cd3(0x4a,0x16f)+_0x2a8cd3(0x228,0x95)+_0x2eb054(0x64f,0x48b)+_0x2a8cd3(-0x135,-0x1a1)+_0x2a8cd3(0x314,0x164)+_0x2eb054(0x170,0x278)+'serve'+_0x2eb054(0x3e5,0x54a)+_0x2a8cd3(0x17c,0x1cb)+')\x0a\x20\x20\x20'+_0x2a8cd3(-0x1f2,-0x1c2)+_0x2eb054(0x479,0x4d2)+_0x2a8cd3(0x43,0x63)+_0x2a8cd3(-0x87,-0xb)+_0x2eb054(0x4b0,0x385)+_0x2a8cd3(-0x75,0x181)+_0x2eb054(0x3f5,0x278)+_0x2eb054(0x35f,0x1f4)+_0x2eb054(0x405,0x497)+_0x2eb054(0x592,0x4fc)+_0x2a8cd3(0x174,0x16e)+_0x2eb054(0x3fe,0x2af)+_0x2eb054(0x33c,0x228)+_0x2a8cd3(-0x195,0x3d)+'ink\x20i'+_0x2a8cd3(-0x15b,-0xfb)+'ning\x0a'+_0x2eb054(0x5c1,0x4eb)+_0x2eb054(0x1b8,0x222)+_0x2eb054(0x645,0x4d2)+'\x20Show'+'\x20curr'+_0x2eb054(0x3c9,0x43a)+'etup\x20'+'at\x20a\x20'+_0x2eb054(0x3c2,0x5c9)+_0x2eb054(0x575,0x5d1)+_0x2a8cd3(0x31,-0x84)+_0x2eb054(0x475,0x4d2)+_0x2a8cd3(0x94,-0xc3)+'il\x20th'+_0x2eb054(0x441,0x2c8)+_0x2a8cd3(-0x1a0,-0x1c3)+_0x2a8cd3(0x13c,0x119)+_0x2a8cd3(0xae,0xe5)+_0x2eb054(0x379,0x573)+'e\x0a\x20\x20\x20'+_0x2a8cd3(-0x2c3,-0x13a)+_0x2a8cd3(-0x5b,0xea)+'\x20\x20\x20Sh'+_0x2eb054(0x764,0x5cf)+_0x2a8cd3(0x85,-0x9)+'\x20conf'+'igura'+_0x2a8cd3(-0x291,-0xd9)+_0x2eb054(0x6a0,0x5ac)+_0x2a8cd3(0x50,0x12d)+_0x2a8cd3(0x21,0xaa)+'\x20Diag'+_0x2eb054(0x3ce,0x3d0)+_0x2a8cd3(0x224,0x51)+_0x2eb054(0x16d,0x25d)+_0x2eb054(0x555,0x4e6)+_0x2eb054(0x3a4,0x538)+_0x2eb054(0x405,0x3f0)+_0x2a8cd3(0xcd,0xaa)+_0x2a8cd3(-0x229,-0x52)+_0x2eb054(0x3fc,0x3ce)+_0x2a8cd3(-0x105,-0xc1)+_0x2eb054(0x19f,0x1fc)+_0x2eb054(0x4ca,0x588)+_0x2a8cd3(-0x1,-0x13e)+'ata\x0a\x20'+_0x2eb054(0x40e,0x472)+_0x2eb054(0x3ef,0x42a)+_0x2eb054(0x2f0,0x4d2)+_0x2a8cd3(0xd8,0x129)+_0x2a8cd3(0x11a,-0x29)+_0x2eb054(0x4f2,0x5ec)+_0x2eb054(0x6db,0x52b)+'\x20vers'+_0x2a8cd3(-0x212,-0x185)+_0x2a8cd3(-0x2c,0x186)+_0x2a8cd3(-0xe5,-0x134)+_0x2a8cd3(0xdd,0x1a4)+_0x2eb054(0x591,0x468)+_0x2a8cd3(-0x348,-0x234)+_0x2a8cd3(-0x2df,-0x128)+'\x20remo'+'ve\x20al'+_0x2a8cd3(-0x10a,-0x20d)+_0x2a8cd3(-0x124,0x70)+'ata\x0a\x0a'+'\x20\x20Opt'+_0x2eb054(0x4fb,0x4b6)+_0x2a8cd3(-0x24d,-0x108)+_0x2eb054(0x21a,0x2f8)+'t\x20N\x20\x20'+'\x20\x20\x20\x20\x20'+_0x2a8cd3(-0x126,0x48)+_0x2a8cd3(-0x1a3,-0x1b1)+_0x2eb054(0x50d,0x5e8)+_0x2eb054(0x1bb,0x2ca)+'defau'+_0x2eb054(0x4c7,0x4f1)+_0x2a8cd3(-0x28,0x1c6)+_0x2a8cd3(-0x1e,0x89)+_0x2eb054(0x2ea,0x261)+_0x2a8cd3(-0x16d,0x88)+_0x2a8cd3(0x3f,0xaa)+_0x2a8cd3(0x2df,0x130)+_0x2a8cd3(0xb7,0x19c)+'nd\x20to'+_0x2eb054(0x346,0x3a2)+'ault:'+_0x2a8cd3(0x1c,-0x18b)+_0x2a8cd3(0x40,0x59)+'\x20\x20\x20\x20-'+'-deta'+_0x2a8cd3(-0xd5,0x93)+_0x2a8cd3(0xa4,-0xf4)+_0x2a8cd3(0xc6,0xcd)+_0x2a8cd3(-0x12c,0x71)+'kgrou'+_0x2eb054(0x447,0x342)+_0x2eb054(0x2ad,0x361)+_0x2a8cd3(0x2f4,0x19b)+')\x0a\x20\x20\x20'+_0x2a8cd3(-0xdd,0x113)+_0x2eb054(0x269,0x3fc)+_0x2a8cd3(-0xda,-0x11)+'\x20\x20Run'+_0x2eb054(0x303,0x362)+_0x2eb054(0x46a,0x3b9)+_0x2eb054(0x376,0x53a)+_0x2eb054(0x6c3,0x5a1)+_0x2eb054(0x300,0x40e)+_0x2eb054(0x493,0x562)+_0x2eb054(0x4bb,0x320)+_0x2eb054(0x22e,0x263)+_0x2eb054(0x139,0x29a)+_0x2a8cd3(-0x77,0xaa)+_0x2eb054(0x486,0x280)+_0x2eb054(0x4bb,0x5a6)+_0x2eb054(0x324,0x44b)+'lines'+'\x20to\x20s'+_0x2eb054(0x4eb,0x565)+_0x2a8cd3(-0xd,0x10e)+_0x2eb054(0x568,0x366)+_0x2eb054(0x2ed,0x443)+'50)\x0a\x20'+_0x2a8cd3(-0x333,-0x164)+_0x2a8cd3(-0x334,-0x15b)+_0x2eb054(0x4bc,0x4d2)+'\x20\x20\x20\x20O'+_0x2eb054(0x1df,0x372)+'onfig'+_0x2a8cd3(0xa5,-0xac)+'ditor'+_0x2a8cd3(0xb8,0xec)+_0x2eb054(0x124,0x2a2)+_0x2eb054(0x3b6,0x4b1)+_0x2eb054(0x52f,0x4a5)+_0x2a8cd3(0x23e,0xaa)+'\x20\x20\x20\x20\x20'+'Print'+_0x2a8cd3(-0x1c5,-0x13a)+'ig\x20fi'+'le\x20pa'+_0x2eb054(0x3e0,0x1f6)+_0x2eb054(0x13c,0x30d)+_0x2a8cd3(0x13f,0x9e)+_0x2eb054(0x2ba,0x22e)+_0x2a8cd3(0xe8,-0xee)+_0x2a8cd3(-0x2b0,-0x120)+'\x20\x20Ski'+_0x2eb054(0x3f3,0x56c)+'firma'+_0x2a8cd3(0x12e,-0xf)+_0x2a8cd3(-0x2cb,-0x114)+_0x2a8cd3(-0x58,0x36)+(_0x2a8cd3(0x76,-0x192)+_0x2a8cd3(-0x1d6,-0x108)+_0x2eb054(0x59f,0x3fa)+_0x2eb054(0x5d6,0x4d2)+_0x2a8cd3(-0xda,0xaa)+_0x2eb054(0x4d1,0x3b8)+'\x20vers'+_0x2a8cd3(-0xa3,-0x185)+'\x20\x20\x20-h'+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20S'+_0x2eb054(0x2c1,0x38b)+'his\x20h'+_0x2eb054(0x3c5,0x3e6)+_0x2a8cd3(-0x3bc,-0x1e4)+_0x2eb054(0x4b0,0x46c)+':\x0a\x20\x20\x20'+_0x2a8cd3(-0x12b,-0xe4)+_0x2eb054(0x3a4,0x2a6)+_0x2a8cd3(-0x272,-0x12f)+_0x2a8cd3(-0x1d,0x95)+_0x2a8cd3(-0xb1,0xaa)+_0x2eb054(0x540,0x4d2)+'\x20\x20\x20\x20#'+_0x2eb054(0x525,0x529)+'t\x20on\x20'+'defau'+_0x2eb054(0x6f8,0x507)+'rt\x0a\x20\x20'+_0x2a8cd3(0x1ea,0xed)+_0x2eb054(0x577,0x4d9)+_0x2eb054(0x428,0x3b6)+_0x2eb054(0x18f,0x35e)+_0x2a8cd3(-0x14,0x1b2)+_0x2a8cd3(0x64,-0x155)+'\x20\x20\x20\x20\x20'+'#\x20Sta'+_0x2a8cd3(0x53,-0x11e)+_0x2eb054(0x451,0x381)+_0x2eb054(0x48e,0x475)+_0x2a8cd3(-0x25d,-0x108)+'npx\x20u'+'plink'+'-chat'+_0x2a8cd3(-0x169,-0x1c2)+_0x2a8cd3(-0x1b,0xaa)+_0x2eb054(0x4a6,0x4d2)+_0x2eb054(0x2fb,0x1ed)+'Stop\x20'+'the\x20s'+_0x2a8cd3(-0x162,-0x106)+_0x2eb054(0x44e,0x320)+'npx\x20u'+_0x2eb054(0x759,0x5e3)+_0x2eb054(0x4a8,0x38f)+_0x2eb054(0xe7,0x267)+_0x2eb054(0x551,0x4d2)+'\x20\x20\x20\x20\x20'+'\x20\x20\x20#\x20'+'Show\x20'+_0x2eb054(0x53a,0x591)+_0x2a8cd3(-0x1ca,-0x1c1)+'\x0a\x20\x20\x20\x20'+_0x2a8cd3(-0x1f2,-0x1f9)+_0x2a8cd3(0x2d6,0x1bb)+'-chat'+_0x2eb054(0x527,0x3a4)+_0x2a8cd3(0x162,0xd0)+'nes\x201'+_0x2eb054(0x2ae,0x3ba)+_0x2eb054(0x40a,0x3e4)+_0x2a8cd3(0xa0,0xeb)+_0x2eb054(0x475,0x480)+'og\x20li'+'nes\x0a\x20'+'\x20\x20\x20np'+'x\x20upl'+'ink-c'+'hat\x20c'+_0x2eb054(0x16b,0x30d)+_0x2a8cd3(-0x119,0x7e)+_0x2a8cd3(0x85,0x133)+_0x2eb054(0x227,0x27a)+_0x2a8cd3(0xe6,0x1c9)+_0x2eb054(0x46f,0x594)+_0x2a8cd3(-0x2a3,-0x152)+_0x2eb054(0x2ed,0x2e8)+_0x2eb054(0x44f,0x4da)+'\x20\x20npx'+'\x20upli'+'nk-ch'+'at\x20do'+_0x2eb054(0x3c3,0x254)+_0x2a8cd3(0x22c,0xaa)+_0x2eb054(0x65d,0x4d2)+'#\x20Run'+_0x2a8cd3(0x7b,0xa3)+_0x2eb054(0x420,0x432)+_0x2a8cd3(-0x241,-0x223)+'\x20\x20npx'+_0x2eb054(0x660,0x4d9)+_0x2a8cd3(-0xe3,-0x72)+_0x2a8cd3(-0x277,-0x1b5)+'set\x20-'+_0x2eb054(0x4ff,0x458)+_0x2a8cd3(0x2f,-0x81)+_0x2eb054(0x30e,0x3c3)+_0x2eb054(0x459,0x2e5)+'ta\x20wi'+'thout'+_0x2eb054(0x567,0x49d)+_0x2a8cd3(0x154,-0x4c))),process[_0x2a8cd3(0x279,0x162)](-0x1*0x8db+-0x797+0x5*0x34a));function isRunning(_0x23f077){const _0x44b638={};_0x44b638[_0xbd441b(0xd5,-0xed)]=function(_0x1c9fc7,_0x289f1e){return _0x1c9fc7+_0x289f1e;},_0x44b638[_0x18af04(0x4c5,0x2dc)]='0.0.0'+'.0';function _0xbd441b(_0xac3b4c,_0x3544ff){return _0x2a8cd3(_0xac3b4c,_0x3544ff-0xf8);}_0x44b638[_0xbd441b(0x305,0x27a)]=_0x18af04(0x52b,0x346);const _0xb2ab59=_0x44b638;function _0x18af04(_0x497f87,_0x297f49){return _0x2a8cd3(_0x297f49,_0x497f87-0x6c4);}try{if(_0xb2ab59[_0x18af04(0x846,0x7c2)]!=='IEPFg')return process[_0x18af04(0x538,0x655)](_0x23f077,-0x5cf*0x3+-0x25ae+0x371b),!![];else _0x36e642['host']=_0x152efa[MljWPl[_0x18af04(0x4df,0x652)](_0xff9687,0x235+-0x1eb3+0x1c7f)]||MljWPl['CDSOv'],_0x35eedf++;}catch{return![];}}function getPid(){const _0x38c29b={'LFWjg':_0x3ed642(-0x3b,0xcc),'nijYi':function(_0x5d9d41,_0x48a081){return _0x5d9d41(_0x48a081);},'UVgAa':function(_0x32ab24,_0x189c7a,_0x47ef12){return _0x32ab24(_0x189c7a,_0x47ef12);},'OAqxE':_0x3ed642(0x3a6,0x579),'UkFmC':function(_0x15609d,_0x16bff3){return _0x15609d===_0x16bff3;},'vVYIb':_0x1bf56b(0x2f7,0x2a9)};function _0x3ed642(_0x18d663,_0x5458a1){return _0x2eb054(_0x5458a1,_0x18d663- -0x230);}if(!_0x38c29b[_0x3ed642(0x8,0x17e)](existsSync,PID_FILE))return null;const _0x14bf1c=parseInt(_0x38c29b['UVgAa'](readFileSync,PID_FILE,_0x38c29b[_0x3ed642(0x17e,0x2db)])[_0x1bf56b(0x175,0x37a)](),0x1151*-0x2+0x2282+0x2a);if(_0x38c29b[_0x1bf56b(0x8e,0x1aa)](isNaN,_0x14bf1c)||!_0x38c29b[_0x1bf56b(0x344,0x1aa)](isRunning,_0x14bf1c)){if(_0x38c29b[_0x3ed642(0x29d,0x25e)](_0x1bf56b(0x1cf,0x2a9),_0x38c29b[_0x1bf56b(0x506,0x3b0)])){try{_0x38c29b[_0x1bf56b(0x26a,0x1aa)](unlinkSync,PID_FILE);}catch{}return null;}else{const _0x247ea8={};_0x247ea8['statu'+'s']=_0x38c29b[_0x3ed642(0xe3,-0x11a)],_0x247ea8['label']=_0x56fff3,_0x247ea8[_0x3ed642(0x32a,0x33a)+'l']=_0x43c223,_0x146576[_0x3ed642(0x166,0x360)](_0x247ea8);}}function _0x1bf56b(_0x3f3ca0,_0xd56135){return _0x2eb054(_0x3f3ca0,_0xd56135- -0x8e);}return _0x14bf1c;}function getWatchdogPid(){function _0x3837ad(_0xbee395,_0x5daa65){return _0x2eb054(_0xbee395,_0x5daa65-0x190);}const _0x41b5ac={'xlFGX':function(_0x1a56f4,_0xfd8e3d){return _0x1a56f4+_0xfd8e3d;},'kvrQu':_0x18161c(0x671,0x647)+_0x18161c(0x499,0x2ab)+'aldis'+_0x18161c(0x796,0x838)+_0x3837ad(0x7e4,0x6b0)+_0x3837ad(0x515,0x571)+'ID=\x27','gzyho':':\x27\x22\x20g'+'et\x20Fr'+_0x18161c(0x77a,0x817)+_0x3837ad(0x501,0x604)+'alue','Etuuq':function(_0x1caee4,_0x190bb0,_0x1461c0){return _0x1caee4(_0x190bb0,_0x1461c0);},'CyUUC':_0x3837ad(0x49e,0x5de)+'PI\x20ke'+'ys','DdUgh':_0x18161c(0x801,0x65c)+'enAI\x20'+_0x18161c(0x78b,0x90d)+_0x18161c(0x42a,0x313)+'abs\x20k'+_0x3837ad(0x59b,0x43b)+'TTS\x20m'+_0x18161c(0x52b,0x634)+'\x20limi'+'ted\x20t'+_0x3837ad(0x76a,0x59c)+'e\x20TTS','BELre':_0x3837ad(0x891,0x766),'LFwZY':function(_0x375175,_0x2a292f){return _0x375175(_0x2a292f);},'qnvlD':function(_0x3423b0,_0x1f3c49){return _0x3423b0!==_0x1f3c49;},'QZvwj':_0x18161c(0x766,0x740),'IlFcB':_0x18161c(0x4c1,0x578),'EhtQb':_0x18161c(0x53f,0x539),'raWJD':'FJQSj'};if(!existsSync(WATCHDOG_PID_FILE))return null;const _0xc6a340=_0x41b5ac[_0x18161c(0x5ce,0x4bd)](parseInt,_0x41b5ac[_0x3837ad(0x357,0x536)](readFileSync,WATCHDOG_PID_FILE,_0x41b5ac[_0x3837ad(0x688,0x5fd)])['trim'](),0x1863+0x7a6+-0x1fff);if(_0x41b5ac[_0x3837ad(0x59a,0x582)](isNaN,_0xc6a340)||!isRunning(_0xc6a340)){if(_0x41b5ac['qnvlD'](_0x41b5ac[_0x3837ad(0x396,0x4fc)],_0x41b5ac[_0x3837ad(0x878,0x74e)])){try{if(_0x41b5ac[_0x3837ad(0x2c1,0x43a)](_0x41b5ac[_0x18161c(0x488,0x417)],_0x41b5ac[_0x3837ad(0x487,0x3e6)]))_0x41b5ac[_0x3837ad(0x3d5,0x582)](unlinkSync,WATCHDOG_PID_FILE);else{const _0xcc3ee2={};_0xcc3ee2[_0x3837ad(0x446,0x402)+_0x18161c(0x7f2,0x677)]='utf8';const _0x3b7d10=_0x46f56b(_0x41b5ac[_0x3837ad(0x3b6,0x569)](_0x41b5ac[_0x3837ad(0x711,0x569)](_0x41b5ac['kvrQu'],_0x1f148d[_0x3837ad(0x487,0x41a)+'t'](0x1cd4+0x64*0x43+-0x50*0xb0)),_0x41b5ac[_0x3837ad(0x3fe,0x48a)]),_0xcc3ee2),_0x2735de=_0x3b7d10['match'](/FreeSpace=(\d+)/);return _0x2735de?_0x41b5ac[_0x3837ad(0x35a,0x536)](_0x167e0f,_0x2735de[-0x3*0xc7a+-0x1eb*0x13+-0xc50*-0x6],-0x1973+0x45d+-0x20*-0xa9):null;}}catch{}return null;}else _0x825b78(_0x41b5ac[_0x18161c(0x635,0x7c5)],_0x41b5ac[_0x3837ad(0x610,0x550)]);}function _0x18161c(_0x8ee732,_0x4fb6f0){return _0x2eb054(_0x4fb6f0,_0x8ee732-0x228);}return _0xc6a340;}function getWatchdogState(){const _0x896f4d={'bJmYN':_0x40e0ce(-0x100,-0x15c)+_0x531660(0xac4,0x8c5)+_0x531660(0xa59,0x8eb)+_0x531660(0x798,0x64e)+_0x531660(0x88a,0x885),'yaBiH':function(_0x5467d6,_0x24daa1){return _0x5467d6(_0x24daa1);},'DvpBZ':function(_0xaeefa3,_0x4721a1){return _0xaeefa3!==_0x4721a1;},'CkRrY':_0x531660(0x8e2,0x6e3)};function _0x531660(_0x5d9ba8,_0x37eb81){return _0x2a8cd3(_0x5d9ba8,_0x37eb81-0x736);}if(!_0x896f4d[_0x40e0ce(0x8,-0x1e9)](existsSync,WATCHDOG_STATE_FILE))return null;function _0x40e0ce(_0x481f31,_0x38a90e){return _0x2a8cd3(_0x481f31,_0x38a90e- -0x3a);}try{return JSON['parse'](readFileSync(WATCHDOG_STATE_FILE,_0x40e0ce(0x291,0x174)));}catch{if(_0x896f4d['DvpBZ'](_0x896f4d[_0x531660(0x586,0x60a)],_0x40e0ce(-0x346,-0x1f4)))return null;else _0x107727['log'](_0x896f4d[_0x531660(0x6f5,0x68c)]),_0x5c62fc[_0x531660(0x8ad,0x898)](-0x1a1b+-0x124f+-0x3*-0xece);}}function formatUptime(_0x4837a9){function _0x4c3493(_0x190fcf,_0x251b05){return _0x2eb054(_0x251b05,_0x190fcf-0x16a);}const _0xbaf716={};_0xbaf716[_0x4c3493(0x71a,0x71f)]=function(_0x1b8a06,_0x27ea7b){return _0x1b8a06/_0x27ea7b;},_0xbaf716[_0x4c3493(0x3b4,0x28a)]=function(_0x1813c2,_0x156246){return _0x1813c2/_0x156246;},_0xbaf716[_0x4c3493(0x6c7,0x592)]=function(_0xcbfbe5,_0x35c1c9){return _0xcbfbe5/_0x35c1c9;};function _0xe72a91(_0x16f972,_0x411216){return _0x2eb054(_0x16f972,_0x411216- -0x45);}_0xbaf716[_0x4c3493(0x5a2,0x683)]=function(_0x4ffb6d,_0xd2ea3f){return _0x4ffb6d/_0xd2ea3f;},_0xbaf716[_0x4c3493(0x49b,0x644)]=function(_0x128e4d,_0x1dc56e){return _0x128e4d>_0x1dc56e;},_0xbaf716[_0xe72a91(0x6e1,0x57a)]=function(_0x506721,_0x2a01ab){return _0x506721%_0x2a01ab;},_0xbaf716[_0xe72a91(0x1c9,0x301)]=function(_0x542f78,_0xe25372){return _0x542f78%_0xe25372;},_0xbaf716[_0xe72a91(0x107,0x244)]=function(_0x46a6c9,_0x245de3){return _0x46a6c9>_0x245de3;},_0xbaf716['CRXBG']=function(_0x4d7878,_0x4c50c1){return _0x4d7878%_0x4c50c1;},_0xbaf716[_0xe72a91(0x4e0,0x350)]=function(_0xa48807,_0x47fda1){return _0xa48807%_0x47fda1;};const _0x52bf5=_0xbaf716,_0x24e90f=Math[_0x4c3493(0x69b,0x63a)](_0x52bf5[_0xe72a91(0x566,0x56b)](_0x4837a9,-0x19ba+0x48a+0x1918)),_0x2ecb6d=Math['floor'](_0x52bf5[_0xe72a91(0x1af,0x205)](_0x24e90f,-0x8*0xe9+0x20b0+-0x4*0x64b)),_0x57c4e3=Math[_0x4c3493(0x69b,0x7f0)](_0x52bf5[_0xe72a91(0x43b,0x518)](_0x2ecb6d,0x1ff3*-0x1+0xf69+0x10c6)),_0x5b4557=Math['floor'](_0x52bf5[_0x4c3493(0x5a2,0x719)](_0x57c4e3,0x43*-0x13+0x19d4+-0x14c3));if(_0x52bf5[_0x4c3493(0x49b,0x44a)](_0x5b4557,0x1*-0x132a+-0x2*-0x934+-0x61*-0x2))return _0x5b4557+'d\x20'+_0x52bf5[_0x4c3493(0x729,0x65f)](_0x57c4e3,0x5fb*-0x1+0x1*-0xbad+0x11c*0x10)+'h\x20'+_0x52bf5[_0xe72a91(0x371,0x301)](_0x2ecb6d,0x38a*-0xb+-0x1d9b+0x44c5)+'m';if(_0x52bf5['BRLMO'](_0x57c4e3,0x14ad+-0x4b2+-0xffb))return _0x57c4e3+'h\x20'+_0x52bf5[_0x4c3493(0x4e4,0x685)](_0x2ecb6d,0x15*-0x185+0x4bc*0x7+-0x33*0x5)+'m\x20'+_0x52bf5[_0x4c3493(0x4ff,0x64e)](_0x24e90f,-0xe*0x136+-0x67+0x1197)+'s';if(_0x2ecb6d>0xf*-0xf1+-0xe6+0xf05)return _0x2ecb6d+'m\x20'+_0x52bf5[_0x4c3493(0x4e4,0x311)](_0x24e90f,0xb9e+-0x2701*-0x1+0x3263*-0x1)+'s';return _0x24e90f+'s';}if(command==='stop'){const watchdogPid=getWatchdogPid();if(watchdogPid){try{process[_0x2eb054(0x144,0x29c)](watchdogPid,_0x2a8cd3(-0x29a,-0x23c)+'RM'),console[_0x2eb054(0x4e,0x248)]('⬡\x20Upl'+_0x2eb054(0x128,0x309)+_0x2a8cd3(0x7f,0x10c)+_0x2eb054(0x39b,0x390)+'opped'+_0x2eb054(0x4a1,0x3b0)+'\x20'+watchdogPid+').');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}}catch(_0x234be1){console['error'](_0x2a8cd3(0x28,0x13e)+_0x2eb054(0x65a,0x5c7)+'o\x20sto'+_0x2a8cd3(0xcc,0x72)+'ink\x20w'+_0x2eb054(0x6f8,0x534)+'og\x20(P'+'ID\x20'+watchdogPid+'):',_0x234be1['messa'+'ge']),process[_0x2eb054(0x783,0x58a)](0x1*-0x1e0e+0x15e9+0x413*0x2);}process['exit'](0x268e+-0xb50*-0x2+-0x3d2e);}const pid=getPid();!pid&&(console[_0x2eb054(0x3bc,0x248)]('⬡\x20Upl'+_0x2a8cd3(0x150,0x18f)+'s\x20not'+_0x2eb054(0x34b,0x340)+_0x2eb054(0x556,0x577)),process[_0x2a8cd3(0x94,0x162)](0x143c+0x45*-0x28+0x79*-0x14));try{process[_0x2eb054(0x187,0x29c)](pid,_0x2a8cd3(-0x418,-0x23c)+'RM'),console[_0x2a8cd3(-0x41,-0x1e0)](_0x2a8cd3(-0x313,-0x122)+_0x2eb054(0x777,0x5d4)+_0x2a8cd3(0x2b7,0x163)+'d\x20(PI'+'D\x20'+pid+').');try{unlinkSync(PID_FILE);}catch{}}catch(_0x39ef6){console[_0x2eb054(0x4d7,0x2ec)](_0x2eb054(0x58a,0x566)+_0x2eb054(0x4f8,0x5c7)+_0x2a8cd3(0x1b2,0xd2)+_0x2a8cd3(-0x6b,0x72)+_0x2a8cd3(-0x2f,0x1b7)+_0x2a8cd3(-0x15,-0x18a)+pid+'):',_0x39ef6[_0x2a8cd3(0x127,-0x64)+'ge']),process[_0x2eb054(0x716,0x58a)](-0x1f05+-0x1*0x7d3+0x26d9);}process[_0x2eb054(0x76e,0x58a)](-0x2e*-0xbf+-0x1e44+0x3*-0x15a);}if(command===_0x2eb054(0x416,0x37b)+'e'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2eb054(0x37e,0x435)+_0x2eb054(0x31c,0x25f)+'on')),currentVersion=pkg[_0x2eb054(0x3d0,0x3f1)+'on'];console['log']('⬡\x20Cur'+'rent\x20'+_0x2eb054(0x580,0x3f1)+_0x2eb054(0x2af,0x255)+currentVersion),console[_0x2a8cd3(-0x254,-0x1e0)](_0x2a8cd3(-0xe8,0x5e)+'cking'+_0x2a8cd3(0x114,-0xe7)+'updat'+'es...'+'\x0a');const wasRunning=!!(getWatchdogPid()||getPid());if(wasRunning){console[_0x2eb054(0xe9,0x248)](_0x2eb054(0x4a4,0x38c)+_0x2a8cd3(-0x6d,0x20)+_0x2eb054(0x511,0x430)+_0x2eb054(0x4d2,0x3d2)+_0x2a8cd3(-0x2f4,-0x149)+_0x2a8cd3(0x111,-0xad)+_0x2eb054(0x264,0x453));const watchdogPid=getWatchdogPid(),serverPid=getPid(),pidToKill=watchdogPid||serverPid;try{process[_0x2eb054(0x458,0x29c)](pidToKill,_0x2a8cd3(-0x260,-0x23c)+'RM');try{unlinkSync(WATCHDOG_PID_FILE);}catch{}try{unlinkSync(PID_FILE);}catch{}const _0x4ff3a4={};_0x4ff3a4[_0x2a8cd3(0x3b,0x19d)]=_0x2a8cd3(0x307,0x139)+'e',execSync(_0x2a8cd3(0x181,0x17f)+'\x201\x202>'+_0x2a8cd3(-0x2b5,-0x195)+_0x2a8cd3(-0x84,0xf5)+'||\x20ti'+_0x2eb054(0x696,0x516)+_0x2eb054(0x2f9,0x1f0)+'\x20/nob'+_0x2eb054(0x2cd,0x493)+_0x2eb054(0x356,0x459)+_0x2eb054(0x3d7,0x30b),_0x4ff3a4);}catch{}}try{console['log'](_0x2a8cd3(0xc0,-0xb0)+_0x2a8cd3(0x279,0x90)+_0x2eb054(0x615,0x570)+_0x2eb054(0x5da,0x42f)+'any/u'+_0x2eb054(0x5bd,0x5e3)+_0x2a8cd3(-0x296,-0x99)+_0x2eb054(0x300,0x22d));const _0x22b11e={};_0x22b11e[_0x2eb054(0x4ac,0x5c5)]=_0x2eb054(0x435,0x5a0)+'it',execSync(_0x2eb054(0x579,0x3e3)+_0x2a8cd3(-0x2d6,-0x1e6)+'\x20-g\x20@'+'moonc'+_0x2eb054(0x1e8,0x375)+_0x2a8cd3(-0x22a,-0x4d)+_0x2eb054(0x59b,0x40f)+_0x2eb054(0x442,0x4c8),_0x22b11e);}catch(_0x469936){console[_0x2a8cd3(-0x11c,-0x13c)](_0x2a8cd3(0x30f,0x1bf)+_0x2a8cd3(0x1b1,0x2)+_0x2eb054(0x6fa,0x5d0)+'d:',_0x469936[_0x2a8cd3(0x156,-0x64)+'ge']),console['error'](_0x2a8cd3(-0x356,-0x204)+_0x2a8cd3(-0x15,-0xe8)+'ing\x20m'+_0x2a8cd3(-0xb,0x100)+_0x2eb054(0x284,0x1ff)+'pm\x20up'+_0x2a8cd3(0x178,0x2)+_0x2eb054(0x364,0x295)+_0x2eb054(0x37f,0x2a9)+_0x2a8cd3(0x137,0x154)+_0x2a8cd3(0x228,0xb8)+'nk-ch'+'at');if(wasRunning){console[_0x2a8cd3(-0x30,-0x1e0)](_0x2a8cd3(0x32f,0x152)+_0x2a8cd3(-0x28f,-0x146)+_0x2eb054(0x496,0x5d3)+_0x2eb054(0x5cc,0x5e3)+_0x2a8cd3(0x154,0x155));const _0x458310={};_0x458310['stdio']=_0x2eb054(0x6ba,0x5a0)+'it',execSync(_0x2a8cd3(-0x17d,-0x182)+'k-cha'+'t\x20sta'+_0x2eb054(0x428,0x39c)+_0x2eb054(0x536,0x5a5)+'h',_0x458310);}process[_0x2a8cd3(0x193,0x162)](0x13f3+0x123f+-0x2631);}try{delete require[_0x2a8cd3(0x187,0xc6)][join(ROOT,'packa'+_0x2eb054(0x1bc,0x25f)+'on')];const newPkg=require(join(ROOT,_0x2eb054(0x23f,0x435)+_0x2a8cd3(-0x3e,-0x1c9)+'on')),newVersion=newPkg[_0x2eb054(0x389,0x3f1)+'on'];newVersion!==currentVersion?console['log']('\x0a⬡\x20Up'+_0x2eb054(0x34f,0x35a)+_0x2eb054(0x218,0x33d)+currentVersion+_0x2eb054(0x199,0x2b9)+newVersion):console['log']('\x0a⬡\x20Al'+_0x2a8cd3(0x152,0x176)+_0x2a8cd3(-0xb7,0x1d)+'he\x20la'+_0x2eb054(0x176,0x323)+_0x2a8cd3(-0x21e,-0x37)+_0x2a8cd3(0xc8,-0x39)+currentVersion+').');}catch{console[_0x2a8cd3(-0x48,-0x1e0)]('\x0a⬡\x20Up'+_0x2eb054(0x60e,0x42a)+'compl'+'ete.');}if(wasRunning){console[_0x2a8cd3(-0x97,-0x1e0)]('⬡\x20Res'+'tarti'+_0x2a8cd3(0x105,0x181)+'link.'+'..');try{const _0x43fa75={};_0x43fa75['stdio']=_0x2a8cd3(0x148,0x178)+'it',execSync('uplin'+_0x2eb054(0x3c5,0x2f9)+_0x2a8cd3(-0xf4,-0x9f)+_0x2a8cd3(-0x1f4,-0x8c)+'detac'+'h',_0x43fa75);}catch{console[_0x2eb054(0x413,0x248)]('⬡\x20Aut'+'o-res'+_0x2a8cd3(-0x199,0x2f)+_0x2a8cd3(0x25c,0x1a8)+_0x2eb054(0x585,0x45b)+_0x2a8cd3(-0x1c4,0xb)+_0x2eb054(0x559,0x528)+_0x2eb054(0x3a7,0x35d)+_0x2a8cd3(0x1,0x11f)+'plink'+'-chat'+_0x2eb054(0x4fc,0x597)+'t');}}process[_0x2eb054(0x761,0x58a)](-0x206d*0x1+0x244b+-0x3de);}if(command===_0x2a8cd3(0x217,0x1ba)+'s'){const watchdogPid=getWatchdogPid(),state=getWatchdogState();if(watchdogPid&&state){const uptime=formatUptime(Date[_0x2a8cd3(-0x226,-0x244)]()-state['start'+'edAt']);console[_0x2eb054(0x345,0x248)](_0x2a8cd3(-0xa5,-0x122)+'ink\x20i'+_0x2eb054(0x518,0x32d)+_0x2eb054(0x260,0x20c)+_0x2eb054(0x20e,0x2c1)+_0x2eb054(0x5b8,0x417)+_0x2eb054(0x3f1,0x589)),console[_0x2eb054(0x2e4,0x248)]('\x20\x20Wat'+_0x2eb054(0x40b,0x562)+_0x2a8cd3(-0x2c0,-0x1f8)+'\x20'+watchdogPid);if(state['serve'+'rPid'])console[_0x2eb054(0x128,0x248)](_0x2eb054(0x24a,0x3b4)+_0x2a8cd3(-0x8c,0x5c)+_0x2a8cd3(-0x32d,-0x17c)+'\x20'+state[_0x2a8cd3(-0x22c,-0x234)+_0x2a8cd3(-0x2cd,-0x21b)]);console['log'](_0x2eb054(0x6ef,0x583)+_0x2a8cd3(0x81,-0x101)+'\x20\x20\x20\x20\x20'+'\x20'+uptime),console['log'](_0x2a8cd3(-0x202,-0x88)+_0x2eb054(0x1b2,0x1fd)+_0x2a8cd3(0x9f,0x18)+'\x20'+(state[_0x2eb054(0x50d,0x4de)+_0x2eb054(0xe0,0x270)+'nt']||0x1*-0x235+0x1e11*-0x1+0xf3*0x22));if(state[_0x2eb054(0x54e,0x488)+_0x2eb054(0x60f,0x549)]>0x373*0x2+-0xd*-0xaf+-0xbe1)console[_0x2eb054(0x3cd,0x248)](_0x2eb054(0x361,0x423)+'koff:'+_0x2a8cd3(-0x1f,0xaa)+'\x20'+state[_0x2eb054(0x58d,0x488)+_0x2a8cd3(0x2e9,0x121)]+'ms');}else{const pid=getPid();pid?console['log'](_0x2a8cd3(0x8a,-0x122)+_0x2a8cd3(0x327,0x18f)+_0x2eb054(0x4d3,0x32d)+_0x2a8cd3(-0x150,-0x21c)+'(PID\x20'+pid+').'):console['log'](_0x2eb054(0x247,0x306)+_0x2a8cd3(0xc9,0x18f)+_0x2a8cd3(0x24,0x1b5)+_0x2a8cd3(-0x9c,-0xe8)+_0x2eb054(0x4e6,0x577));}process[_0x2a8cd3(0xa3,0x162)](-0x29d+-0x1*0x2486+0x2723*0x1);}function _0x2eb054(_0x4b53b9,_0x43acfe){return _0x3817(_0x43acfe-0xb8,_0x4b53b9);}if(command===_0x2eb054(0x574,0x4f4)+'tall'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,'packa'+_0x2eb054(0x3f2,0x25f)+'on')),readline=await import(_0x2a8cd3(0x5f,-0x102)+'ine'),{rmSync}=await import('fs');console[_0x2eb054(0x240,0x248)](_0x2a8cd3(-0x73,-0x21e)+_0x2a8cd3(-0x136,0x38)+_0x2eb054(0x3b1,0x4d1)+'nstal'+_0x2eb054(0x19c,0x2c9)+pkg[_0x2eb054(0x2ab,0x3f1)+'on']+'\x0a'),console[_0x2eb054(0x26a,0x248)](_0x2a8cd3(0x186,0x9)+_0x2a8cd3(-0x66,0x43)+'l:'),console[_0x2a8cd3(-0xd9,-0x1e0)](_0x2eb054(0x365,0x24b)+_0x2a8cd3(0x1c1,0x167)+'\x20the\x20'+_0x2eb054(0x56d,0x460)+_0x2eb054(0x472,0x56f)+_0x2a8cd3(-0x21e,-0x3c)+'nd\x20wa'+_0x2a8cd3(-0x19,0x1be)+'g'),console[_0x2a8cd3(-0x2f1,-0x1e0)]('\x20\x20\x20\x20•'+_0x2a8cd3(0x33,0x17c)+_0x2a8cd3(0x33,-0x31)+_0x2eb054(0x31e,0x3e2)+_0x2eb054(0x2f6,0x298)+'ation'+'\x20(.en'+_0x2eb054(0x576,0x51c)+_0x2a8cd3(-0x1b7,-0x150)+_0x2eb054(0xb7,0x225)+')'),console[_0x2eb054(0x7d,0x248)](_0x2eb054(0x335,0x24b)+_0x2a8cd3(0x36c,0x17c)+'ve\x20al'+'l\x20upl'+_0x2eb054(0x157,0x347)+_0x2eb054(0x1f7,0x350)+_0x2a8cd3(0x297,0x192)+_0x2a8cd3(-0xe9,0xae)),console['log']('\x20\x20\x20\x20•'+_0x2eb054(0x4d1,0x5a4)+_0x2a8cd3(0x1bb,-0x31)+'l\x20log'+'s\x20and'+'\x20PID\x20'+_0x2a8cd3(-0x1f4,-0x203)),console[_0x2a8cd3(-0x203,-0x1e0)]('\x20\x20\x20\x20•'+_0x2a8cd3(-0x6,0x17c)+_0x2eb054(0xcd,0x20e)+_0x2a8cd3(-0x166,-0x100)+_0x2eb054(0x3d4,0x4ce)+_0x2a8cd3(-0xd4,-0xcc)+_0x2a8cd3(0x21d,0x18d)+_0x2eb054(0x312,0x2e0)+'es'),console[_0x2a8cd3(-0x36,-0x1e0)](_0x2a8cd3(-0x152,-0x1dd)+_0x2eb054(0x42a,0x370)+_0x2eb054(0x7a2,0x5ad)+'\x20the\x20'+_0x2a8cd3(0x331,0x1af)+_0x2eb054(0x638,0x545)+'e\x20glo'+_0x2a8cd3(0x3e,0x15a)+'\x0a'),console[_0x2a8cd3(-0x6e,-0x1e0)](_0x2eb054(0x390,0x584)+_0x2eb054(0x4b4,0x3a9)+_0x2a8cd3(-0x212,-0x1be)+_0x2a8cd3(0x1a5,0xdc)+_0x2eb054(0x2f7,0x3ed)+_0x2eb054(0x350,0x556)+_0x2a8cd3(-0x47,0x41));const _0xb55f73={};_0xb55f73[_0x2eb054(0x2b2,0x4a9)]=process[_0x2a8cd3(-0x283,-0x224)],_0xb55f73[_0x2a8cd3(0x2b5,0x1ca)+'t']=process[_0x2a8cd3(0x1d7,0xdb)+'t'];const rl=readline[_0x2a8cd3(-0x1d4,-0x1d1)+_0x2eb054(0x618,0x44c)+_0x2eb054(0x486,0x4a8)](_0xb55f73),answer=await new Promise(_0x4eeb51=>{const _0x4c716f={};_0x4c716f[_0x47db16(0x48e,0x3ed)]=_0x5757c7(0x224,0x243)+_0x47db16(0x575,0x5a7)+'insta'+_0x47db16(0x63f,0x50a)+_0x5757c7(0x186,0x23f)+_0x47db16(0x2df,0x4b9)+'\x20';function _0x47db16(_0x5703eb,_0x362b4e){return _0x2eb054(_0x5703eb,_0x362b4e- -0x49);}const _0x26e371=_0x4c716f;function _0x5757c7(_0x3f93ae,_0xc95bc7){return _0x2eb054(_0x3f93ae,_0xc95bc7- -0x25c);}rl[_0x47db16(0x6fb,0x551)+_0x5757c7(0x15e,0x365)](_0x26e371[_0x47db16(0x494,0x3ed)],_0x4eeb51);});rl['close']();answer[_0x2a8cd3(-0xc1,-0x20)]()[_0x2a8cd3(0x1c2,0x84)+_0x2a8cd3(-0xff,-0xfd)+'e']()!==_0x2eb054(0x57d,0x4f4)+_0x2eb054(0x2e8,0x414)&&(console[_0x2eb054(0x336,0x248)](_0x2a8cd3(-0x11f,-0x214)+_0x2eb054(0x185,0x269)+_0x2eb054(0x204,0x32c)+'othin'+_0x2a8cd3(0x22c,0x8f)+'\x20remo'+_0x2a8cd3(-0x4a,-0x50)),process[_0x2eb054(0x38a,0x58a)](0x29*0x6b+0x11af+-0x22d2));console[_0x2eb054(0xcb,0x248)]('');const watchdogPid=getWatchdogPid(),serverPid=getPid();if(watchdogPid)try{process[_0x2eb054(0x1c3,0x29c)](watchdogPid,_0x2eb054(0x3e8,0x1ec)+'RM'),console[_0x2eb054(0xd6,0x248)](_0x2eb054(0x4fd,0x416)+'toppe'+'d\x20wat'+_0x2a8cd3(0x6,0x13a)+_0x2a8cd3(-0x103,-0x78)+'\x20'+watchdogPid+')');}catch{}if(serverPid)try{process[_0x2a8cd3(-0x93,-0x18c)](serverPid,_0x2eb054(0x1a0,0x1ec)+'RM'),console[_0x2a8cd3(-0x1f6,-0x1e0)](_0x2a8cd3(-0x182,-0x12)+_0x2a8cd3(0xc6,0x163)+_0x2a8cd3(0x15,0x143)+'ver\x20('+'PID\x20'+serverPid+')');}catch{}!watchdogPid&&!serverPid&&console['log'](_0x2eb054(0x56c,0x416)+_0x2eb054(0x1c6,0x322)+_0x2eb054(0x547,0x39d)+_0x2eb054(0x2df,0x385)+'ng');const legacyToRemove=[_0x2a8cd3(-0x4b,0xfe),'confi'+_0x2eb054(0x2e5,0x383)+'n','.upli'+'nk.pi'+'d',_0x2a8cd3(-0x71,-0x188)+_0x2a8cd3(-0x8a,0x14c)+_0x2a8cd3(0x30c,0x1be)+_0x2a8cd3(-0x232,-0x18d),_0x2a8cd3(-0x17a,-0x188)+_0x2eb054(0x69f,0x574)+_0x2a8cd3(0x197,0x1be)+_0x2a8cd3(-0x1a5,-0xa5)+'n',_0x2eb054(0x347,0x2a0)+'nk-wa'+_0x2a8cd3(0x2ff,0x1be)+_0x2a8cd3(0x12e,0xd9),_0x2a8cd3(-0x2ca,-0x188)+_0x2a8cd3(0x12b,0x11c)+_0x2a8cd3(0x3a,0x102)+_0x2a8cd3(-0x1f7,-0x1e0),_0x2eb054(0x56b,0x560)+_0x2eb054(0x4f4,0x3e5)+_0x2a8cd3(0x2df,0x1b3),'messa'+_0x2a8cd3(-0x11,0x2c)+_0x2a8cd3(-0x2db,-0x11c)+_0x2eb054(0x7e0,0x5db),_0x2a8cd3(0x16e,0x141)+_0x2eb054(0x1fc,0x38e)+_0x2a8cd3(0xf,-0x95)+_0x2eb054(0x382,0x2bd)+_0x2eb054(0x584,0x5db),'misse'+_0x2a8cd3(-0x12,0x18b)+_0x2eb054(0x22e,0x286)+_0x2eb054(0x564,0x5de),_0x2eb054(0x3af,0x2f2)+'ds',_0x2a8cd3(0x2a,-0x1a3)+_0x2eb054(0x22b,0x2b8),_0x2a8cd3(0x1ec,0x6a)+'c/aud'+'io','publi'+_0x2a8cd3(0x12e,0x82)+'/agen'+'ts'];let removed=0x19a7+-0x1b*-0x54+-0x1f*0x11d;for(const item of legacyToRemove){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x1f55c7={};_0x1f55c7[_0x2eb054(0x26d,0x452)+_0x2a8cd3(0x40,0x8a)]=!![],_0x1f55c7[_0x2eb054(0x5bf,0x46a)]=!![],rmSync(fullPath,_0x1f55c7),removed++;}catch{}}if(existsSync(DATA_DIR))try{const _0x42b68f={};_0x42b68f[_0x2a8cd3(-0x45,0x2a)+_0x2a8cd3(-0x117,0x8a)]=!![],_0x42b68f[_0x2a8cd3(-0x6b,0x42)]=!![],rmSync(DATA_DIR,_0x42b68f),removed++,console[_0x2eb054(0x3ea,0x248)](_0x2eb054(0x59c,0x485)+_0x2a8cd3(-0x1cf,0x15)+_0x2eb054(0x21a,0x2f7)+_0x2eb054(0x1e2,0x227)+_0x2eb054(0x57c,0x4ec)+_0x2a8cd3(-0xa4,0x108)+DATA_DIR);}catch{}console[_0x2eb054(0x37f,0x248)](_0x2eb054(0x474,0x485)+'emove'+'d\x20'+removed+(_0x2eb054(0x509,0x4d6)+'\x20file'+_0x2a8cd3(0x28e,0x10b)+'ector'+'ies')),console[_0x2eb054(0x432,0x248)](_0x2eb054(0x32e,0x485)+_0x2a8cd3(0x1,-0x3d)+_0x2a8cd3(-0xfc,-0x79)+_0x2a8cd3(-0x210,-0x89)+_0x2eb054(0x159,0x1e6)+'..\x0a');try{const _0x495172={};_0x495172['stdio']='inher'+'it',execSync(_0x2a8cd3(0x44,-0x45)+_0x2eb054(0x69f,0x5b6)+'all\x20-'+_0x2eb054(0x2d4,0x4a2)+_0x2a8cd3(0x1b2,0x18c)+'pany/'+_0x2a8cd3(-0x2eb,-0x182)+'k-cha'+'t',_0x495172),console[_0x2a8cd3(-0x1fb,-0x1e0)]('\x0a\x20\x20⬡\x20'+_0x2a8cd3(0xcc,0x38)+_0x2a8cd3(-0x9b,0xe4)+_0x2eb054(0x233,0x310)+_0x2a8cd3(-0x186,-0xf3)+'letel'+_0x2eb054(0x237,0x2f0)+'nstal'+_0x2a8cd3(0x358,0x190)),console[_0x2a8cd3(-0x1cc,-0x1e0)](_0x2a8cd3(-0x32e,-0x16c)+'nks\x20f'+_0x2eb054(0x479,0x537)+_0x2a8cd3(0x1f,0x1ab)+_0x2eb054(0x52d,0x5e3)+_0x2eb054(0x468,0x2ce));}catch(_0x12c863){console['error'](_0x2eb054(0x1a,0x1fa)+_0x2a8cd3(-0x174,-0x6c)+_0x2a8cd3(0x53,0x106)+_0x2eb054(0x19d,0x234)+_0x2a8cd3(0x1e1,0x185)+'\x20npm\x20'+'packa'+'ge.'),console['error']('\x20\x20Run'+_0x2a8cd3(-0x210,-0x1a6)+_0x2a8cd3(0xfa,-0x15)+_0x2a8cd3(0x2bc,0x11b)+'unins'+_0x2a8cd3(0x16,-0x91)+_0x2eb054(0x3e9,0x295)+_0x2a8cd3(0x29,-0x17f)+_0x2eb054(0x573,0x57c)+_0x2a8cd3(0x2aa,0xb8)+_0x2eb054(0x4b5,0x3b6)+_0x2a8cd3(-0x125,-0xed)),process[_0x2a8cd3(-0x7c,0x162)](0x20*-0x76+-0x1d81+-0xce*-0x37);}process[_0x2eb054(0x43f,0x58a)](0x18a*0x13+-0x2088+0x34a*0x1);}if(command==='logs'){const LOG_FILE=join(ROOT,_0x2a8cd3(-0x3a8,-0x234)+_0x2eb054(0x3ad,0x2ed)),ALT_LOG_FILE=join(ROOT,_0x2eb054(0x2eb,0x2a0)+_0x2eb054(0x697,0x544)+_0x2eb054(0x594,0x52a)+'log'),DATA_LOG_FILE=join(DATA_DIR,_0x2eb054(0xfb,0x2a0)+_0x2eb054(0x51d,0x544)+_0x2a8cd3(-0x9b,0x102)+_0x2eb054(0x23f,0x248)),logFile=existsSync(DATA_LOG_FILE)?DATA_LOG_FILE:existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:null;if(!logFile){const gGvDnh=(_0x2a8cd3(0x13,0x3f)+_0x2eb054(0x57d,0x463)+_0x2a8cd3(0x18c,0x118))[_0x2eb054(0x404,0x369)]('|');let hyElAk=0x2*-0xd3+0x1c*-0xda+0x197e;while(!![]){switch(gGvDnh[hyElAk++]){case'0':process[_0x2a8cd3(0x2c3,0x162)](0x2e6+0x17d+-0x462);continue;case'1':console['log'](_0x2eb054(0x3d5,0x213)+_0x2eb054(0x33a,0x483)+_0x2a8cd3(-0xff,-0x160)+_0x2eb054(0x3a1,0x2b6)+_0x2a8cd3(-0xd5,0x68)+_0x2eb054(0x316,0x4d9)+_0x2eb054(0x38c,0x3b6)+'at\x20st'+_0x2a8cd3(-0x1f1,-0x83));continue;case'2':console[_0x2eb054(0x2fa,0x248)](_0x2eb054(0x279,0x23e)+_0x2eb054(0x446,0x40b)+'ile\x20f'+_0x2a8cd3(0x7,-0x1c4));continue;case'3':console[_0x2a8cd3(-0x3da,-0x1e0)](_0x2a8cd3(-0x148,-0x19c)+LOG_FILE);continue;case'4':console['log']('\x20\x20Exp'+_0x2eb054(0x37b,0x442)+_0x2eb054(0x325,0x245)+'tions'+':');continue;case'5':console[_0x2a8cd3(-0x31f,-0x1e0)](_0x2eb054(0x1c0,0x28c)+ALT_LOG_FILE);continue;case'6':console['log'](_0x2eb054(0x206,0x374)+_0x2eb054(0x38b,0x411)+'\x20crea'+_0x2eb054(0x651,0x53c)+_0x2a8cd3(-0x70,-0x10d)+_0x2eb054(0x3bf,0x22c)+_0x2a8cd3(-0x290,-0x1a5)+_0x2eb054(0x499,0x4c1));continue;case'7':console[_0x2eb054(0x143,0x248)]('');continue;}break;}}const lines=flags['lines']||-0x5*0x5c6+0x1150+-0x20*-0x5e;try{const content=readFileSync(logFile,_0x2a8cd3(-0x32,0x1ae)),allLines=content[_0x2a8cd3(-0x77,-0xbf)]('\x0a'),tail=allLines[_0x2a8cd3(0xe9,-0x2)](-lines)[_0x2a8cd3(-0x105,-0x4)]('\x0a');console[_0x2eb054(0x24e,0x248)](_0x2a8cd3(0x168,-0x32)+_0x2eb054(0x41c,0x329)+_0x2eb054(0x6e0,0x513)+lines+('\x20line'+_0x2eb054(0x208,0x241)+'m\x20')+logFile+'\x0a'),console['log'](tail);}catch(_0x3d5bea){console[_0x2a8cd3(-0x2b4,-0x13c)]('⬡\x20Fai'+_0x2a8cd3(0x12c,0x19f)+'o\x20rea'+_0x2a8cd3(0xb3,-0x1e)+_0x2eb054(0x46b,0x572)+':\x20'+_0x3d5bea[_0x2a8cd3(-0x259,-0x64)+'ge']),process[_0x2eb054(0x4de,0x58a)](-0x450*-0x2+-0xf4c+0x1*0x6ad);}console['log'](_0x2a8cd3(-0x1c,-0x212)+'tchin'+'g\x20for'+_0x2a8cd3(0xe7,-0xbe)+_0x2eb054(0x42c,0x371)+_0x2eb054(0x2d6,0x3ea)+_0x2eb054(0x98,0x1fe)+_0x2a8cd3(-0x58,-0x12d)+_0x2eb054(0x1ac,0x2e7)+'\x20stop'+')\x0a');const fsModule=await import('fs');let position=statSync(logFile)[_0x2a8cd3(-0x1ca,-0x13d)];const watcher=fsModule[_0x2eb054(0x17f,0x31c)](logFile,()=>{function _0x282d95(_0x209a7a,_0x452896){return _0x2eb054(_0x209a7a,_0x452896-0x1ff);}function _0x3b5181(_0x2a8b6a,_0x2c2b37){return _0x2eb054(_0x2a8b6a,_0x2c2b37- -0x136);}const _0x345137={'PvLgs':function(_0x368092,_0xb3c8a1,_0x2be7a6){return _0x368092(_0xb3c8a1,_0x2be7a6);},'tejaz':_0x282d95(0x6d1,0x538)+_0x3b5181(0x477,0x39e)+_0x282d95(0x673,0x4e2),'TIpgX':function(_0x45f309,_0x222630,_0xdffc89,_0x3d5898){return _0x45f309(_0x222630,_0xdffc89,_0x3d5898);},'IXKEJ':function(_0x2393f3,_0x46f87a){return _0x2393f3===_0x46f87a;},'wziYD':_0x3b5181(0x2ed,0x3bd),'aGvya':_0x3b5181(0x596,0x3d2),'glwRu':function(_0x20d272,_0x4b86ab){return _0x20d272>_0x4b86ab;},'AuaLd':_0x282d95(0x905,0x7d5),'sIUhC':function(_0x523210,_0x26f2f0){return _0x523210<_0x26f2f0;},'WsjuP':function(_0xeb7fd0,_0x25455a){return _0xeb7fd0===_0x25455a;},'joSFx':_0x3b5181(0x2b8,0x359)};try{if(_0x345137['IXKEJ'](_0x345137[_0x282d95(0x73a,0x6e9)],_0x345137['aGvya']))_0x345137[_0x282d95(0x59a,0x549)](_0x3b5900,_0x345137[_0x282d95(0x836,0x79a)],'confi'+_0x3b5181(0x1e7,0xb4));else{const _0x2a9498=fsModule[_0x282d95(0x496,0x578)+_0x282d95(0x713,0x537)](logFile,'r'),_0x57578b=fsModule[_0x282d95(0x5b5,0x738)+'Sync'](_0x2a9498)[_0x282d95(0x41d,0x4ea)];if(_0x345137[_0x282d95(0x628,0x436)](_0x57578b,position)){const _0x27d6ba=Buffer['alloc'](_0x57578b-position);fsModule[_0x282d95(0x58a,0x491)+_0x3b5181(0x316,0x202)](_0x2a9498,_0x27d6ba,-0xa91+-0xb*0x131+0x17ac,_0x27d6ba[_0x282d95(0x957,0x7c5)+'h'],position),process[_0x3b5181(0x370,0x3cd)+'t'][_0x3b5181(0xbc,0x11d)](_0x27d6ba['toStr'+_0x282d95(0x879,0x7c9)](_0x345137[_0x3b5181(0x2c0,0x1ab)])),position=_0x57578b;}else{if(_0x345137['sIUhC'](_0x57578b,position)){if(_0x345137['WsjuP'](_0x345137[_0x3b5181(0x356,0x38a)],_0x282d95(0x643,0x68e)))position=0x1b97+-0x12c0+-0x49*0x1f;else{const _0x43efd9={};_0x43efd9[_0x282d95(0x40f,0x56a)]=_0x5098d3,_0x43efd9[_0x282d95(0x630,0x73e)]=_0x591c4f,_0x43efd9['detac'+_0x282d95(0x8c2,0x71a)]=!![],_0x43efd9[_0x282d95(0x98c,0x7c4)]='ignor'+'e',_0xf32eaa=_0x345137[_0x282d95(0x3d9,0x5c9)](_0x47aa5b,_0xcb8023[_0x282d95(0x76d,0x74e)+_0x3b5181(0x21e,0x383)],[_0x1d6343,_0x2ac68f[_0x3b5181(0x362,0x45d)+_0x3b5181(0x285,0x1df)](_0xb7cb99)],_0x43efd9);}}}fsModule[_0x3b5181(0x55,0xd3)+'Sync'](_0x2a9498);}}catch{}});process['on'](_0x2eb054(0x402,0x51a)+'T',()=>{function _0x18f3d2(_0x57d3e9,_0x5a5296){return _0x2a8cd3(_0x57d3e9,_0x5a5296-0x547);}watcher[_0x93952f(0x481,0x306)]();function _0x93952f(_0x179464,_0x2b3ba3){return _0x2a8cd3(_0x2b3ba3,_0x179464-0x6a0);}process[_0x18f3d2(0x865,0x6a9)](0x19ce*-0x1+-0x1*0x10d8+0x6a*0x67);}),process['on'](_0x2a8cd3(-0x258,-0x23c)+'RM',()=>{function _0x4ed4f6(_0x11bdc8,_0x43ae94){return _0x2eb054(_0x43ae94,_0x11bdc8- -0x428);}watcher[_0x4ed4f6(-0x21f,-0x398)]();function _0x418362(_0x1acc6c,_0x5ac6ea){return _0x2eb054(_0x5ac6ea,_0x1acc6c-0x55);}process[_0x4ed4f6(0x162,0x24a)](0x28b+-0x1997+-0x4*-0x5c3);});}if(command===_0x2eb054(0x34a,0x1e8)+'g'){const ENV_FILE=existsSync(join(DATA_DIR,'.env'))?join(DATA_DIR,_0x2a8cd3(0x13d,0xfe)):join(ROOT,_0x2a8cd3(0x38,0xfe));flags[_0x2a8cd3(0x1f7,0xf7)]&&(console[_0x2a8cd3(-0x3f,-0x1e0)](ENV_FILE),process['exit'](0x1*-0x103f+-0x2415+0x3454));if(flags['edit']){if(!existsSync(ENV_FILE)){const exampleFile=join(ROOT,'.env.'+_0x2eb054(0x4b3,0x3df)+'le');existsSync(exampleFile)?(writeFileSync(ENV_FILE,readFileSync(exampleFile,_0x2a8cd3(0x135,0x1ae))),console[_0x2a8cd3(-0xf,-0x1e0)](_0x2eb054(0x296,0x360)+_0x2eb054(0x310,0x4d3)+_0x2a8cd3(-0x5e,0x165)+_0x2a8cd3(-0x14d,-0xd0)+_0x2a8cd3(-0x2af,-0xc0)+_0x2eb054(0x25a,0x3df)+'le')):(writeFileSync(ENV_FILE,_0x2a8cd3(-0x86,0x131)+_0x2eb054(0x5b2,0x55c)+'onfig'+'urati'+_0x2eb054(0x36e,0x223)),console[_0x2a8cd3(-0x138,-0x1e0)]('⬡\x20Cre'+_0x2eb054(0x3e8,0x4d3)+_0x2eb054(0x165,0x2b0)+'\x20.env'+_0x2eb054(0x66d,0x572)));}const editor=process.env.EDITOR||(process['platf'+_0x2a8cd3(-0x121,-0x1ec)]===_0x2a8cd3(0x5f,-0xa0)?_0x2a8cd3(-0xb,-0x7)+'ad':_0x2a8cd3(0xd,0xfc));console[_0x2eb054(0xfd,0x248)](_0x2eb054(0x3e2,0x42b)+_0x2eb054(0x18e,0x20c)+ENV_FILE+_0x2a8cd3(-0x206,-0x210)+editor+_0x2a8cd3(-0xa6,0x155));try{const _0x14f044={};_0x14f044[_0x2eb054(0x42f,0x5c5)]=_0x2eb054(0x623,0x5a0)+'it',execSync(editor+'\x20\x22'+ENV_FILE+'\x22',_0x14f044);}catch(_0x1f10dd){console[_0x2a8cd3(0xbd,-0x13c)](_0x2eb054(0x543,0x566)+_0x2a8cd3(0x2ed,0x19f)+_0x2a8cd3(-0x280,-0x10a)+'n\x20edi'+_0x2a8cd3(-0xf2,0x2d)+_0x1f10dd[_0x2eb054(0x4ca,0x3c4)+'ge']),console[_0x2eb054(0x31c,0x2ec)](_0x2a8cd3(0x208,0x4f)+_0x2eb054(0x463,0x5cb)+_0x2eb054(0x450,0x373)+_0x2a8cd3(-0x95,-0x5c)+_0x2a8cd3(-0x1dc,-0x1fd)+_0x2a8cd3(0x1b8,0x1b8)+'anual'+_0x2eb054(0x4e8,0x357)+ENV_FILE),process[_0x2a8cd3(-0x10,0x162)](0xcb3+-0x12*-0x19d+0x1*-0x29bc);}process[_0x2a8cd3(0xde,0x162)](-0x16e8+-0x17ba+0x2ea2);}!existsSync(ENV_FILE)&&(console[_0x2a8cd3(-0x1bf,-0x1e0)](_0x2eb054(0x124,0x23e)+_0x2eb054(0x603,0x58d)+_0x2a8cd3(0x85,0x11a)+_0x2a8cd3(-0x265,-0x10b)+'.'),console[_0x2a8cd3(-0x12b,-0x1e0)](_0x2eb054(0x18c,0x32e)+'ate\x20o'+_0x2eb054(0x3bc,0x2de)+'th:\x20u'+_0x2eb054(0x70e,0x5e3)+_0x2a8cd3(-0x214,-0x99)+_0x2eb054(0x2af,0x2ee)+_0x2eb054(0x33c,0x21c)+_0x2a8cd3(-0x187,-0xdc)),console['log'](_0x2a8cd3(-0x18,-0x17a)+_0x2a8cd3(0x11d,-0xea)+_0x2eb054(0x2ee,0x1f8)+_0x2a8cd3(-0x1ed,-0x177)+'e:\x20cp'+_0x2eb054(0x78d,0x598)+_0x2eb054(0x2a4,0x206)+_0x2a8cd3(0xa1,0xf9)+_0x2eb054(0x561,0x53f)),process[_0x2a8cd3(0x34c,0x162)](0xde*0x29+-0xd*0xe+0x22d7*-0x1));const SENSITIVE_KEYS=['TOKEN',_0x2a8cd3(-0x19,0x97),_0x2a8cd3(-0x103,0x29)+'T',_0x2a8cd3(-0x24e,-0x1ad)+_0x2a8cd3(0x119,-0x97),_0x2a8cd3(0x2aa,0xf0)+_0x2a8cd3(0x95,0x47)];function maskValue(_0x2846d4,_0x37e108){const _0x1bd495={};_0x1bd495[_0x133b89(0x214,0x358)]=function(_0x4c814b,_0x58c376){return _0x4c814b||_0x58c376;},_0x1bd495[_0x156f33(0x428,0x28e)]=function(_0x212d45,_0x707bdf){return _0x212d45<=_0x707bdf;};function _0x133b89(_0x5007aa,_0x590020){return _0x2a8cd3(_0x5007aa,_0x590020-0x345);}_0x1bd495['cEYfQ']=function(_0x1f2d9c,_0xfa51c8){return _0x1f2d9c+_0xfa51c8;},_0x1bd495[_0x156f33(0x483,0x3e0)]=_0x156f33(0x2ce,0xec);const _0x55aa03=_0x1bd495,_0x3ab106=SENSITIVE_KEYS['some'](_0x29aa8e=>_0x2846d4[_0x133b89(0x1c2,0x24d)+_0x156f33(0x2c7,0x41f)+'e']()[_0x156f33(0x300,0x146)+'des'](_0x29aa8e));function _0x156f33(_0x350ac4,_0x2a6b4e){return _0x2a8cd3(_0x2a6b4e,_0x350ac4-0x3c4);}if(_0x55aa03[_0x156f33(0x3d7,0x1e7)](!_0x3ab106,!_0x37e108)||_0x55aa03[_0x133b89(0x424,0x3a9)](_0x37e108['lengt'+'h'],0x26c3+0x997+0x3056*-0x1))return _0x37e108;return _0x55aa03[_0x133b89(0x696,0x4da)](_0x37e108['slice'](-0x97*-0x30+-0x4*-0x871+0x1d*-0x224,0x764+0x1*-0x649+-0x1f*0x9),_0x55aa03[_0x133b89(0x1fd,0x404)]);}try{const content=readFileSync(ENV_FILE,'utf8'),entries=[];for(const line of content[_0x2eb054(0x2a5,0x369)]('\x0a')){const trimmed=line[_0x2a8cd3(0x8,-0x20)]();if(!trimmed||trimmed[_0x2eb054(0x39b,0x2e2)+_0x2eb054(0x74,0x231)]('#'))continue;const eqIdx=trimmed[_0x2eb054(0x2ff,0x2bb)+'Of']('=');if(eqIdx===-(0x1*0x101+0x1*0xaf3+-0xbf3))continue;const key=trimmed['slice'](0x5b*0xc+-0xb3+-0x391,eqIdx)['trim'](),val=trimmed['slice'](eqIdx+(-0x2e*-0xcd+-0x12d9+0x11fc*-0x1))[_0x2a8cd3(-0xa8,-0x20)]();entries[_0x2a8cd3(-0x1b4,-0x92)]([key,val]);}entries[_0x2a8cd3(0x247,0x19e)+'h']===0x2*-0xfd3+0x20f7+-0x1*0x151&&(console[_0x2eb054(0x204,0x248)](_0x2eb054(0x415,0x345)+_0x2a8cd3(0x228,0x17b)+_0x2a8cd3(0x84,0x96)+_0x2a8cd3(-0x18d,-0x178)+_0x2eb054(0x4df,0x2dc)+_0x2eb054(0x3d9,0x312)+_0x2eb054(0x32c,0x40f)+_0x2eb054(0x5b5,0x3b3)+_0x2eb054(0x4b9,0x30d)+'\x20--ed'+'it'),process['exit'](0x1*0x1f47+-0xad*0x18+-0xf0f));const maxKeyLen=Math[_0x2a8cd3(-0xe8,-0x218)](...entries[_0x2eb054(0x222,0x407)](([_0x318791])=>_0x318791[_0x2eb054(0x55f,0x5c6)+'h']));console[_0x2eb054(0x44d,0x248)](_0x2eb054(0x190,0x20a)+_0x2a8cd3(0xb3,0x38)+'k\x20Con'+_0x2a8cd3(-0x1d,-0x190)+'ation'+'\x0a'),console['log']('\x20\x20'+'Key'[_0x2eb054(0x4e2,0x324)+'d'](maxKeyLen+(0x2232+0x1433*0x1+0x75*-0x77))+_0x2eb054(0x493,0x2f5)),console[_0x2eb054(0x13e,0x248)]('\x20\x20'+'─'['repea'+'t'](maxKeyLen+(-0x1e6b+0xfab+0xec2))+'─'[_0x2a8cd3(-0x38,-0x207)+'t'](-0x10ca+-0x13*0x25+0x13b1));for(const [key,val]of entries){const display=val?maskValue(key,val):_0x2eb054(0x475,0x28e)+_0x2eb054(0x412,0x37f)+_0x2a8cd3(-0x19a,0x66)+'m';console[_0x2eb054(0x39a,0x248)]('\x20\x20'+key[_0x2eb054(0x47d,0x324)+'d'](maxKeyLen+(0x1e56+0xcb6*0x3+0x17*-0x2fa))+display);}console['log'](_0x2a8cd3(0x14d,-0xb2)+_0x2eb054(0x473,0x351)+ENV_FILE+'\x0a');}catch(_0x2b8e62){console[_0x2a8cd3(-0x266,-0x13c)](_0x2eb054(0x663,0x566)+_0x2eb054(0x556,0x5c7)+_0x2a8cd3(0x29c,0xb7)+_0x2eb054(0x1d1,0x2e6)+'v:\x20'+_0x2b8e62[_0x2eb054(0x33a,0x3c4)+'ge']),process['exit'](0x1*-0xdb2+-0x906+-0x7*-0x33f);}process['exit'](-0x6f3+-0x238+-0x1*-0x92b);}if(command==='docto'+'r'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2eb054(0x374,0x435)+_0x2a8cd3(-0x370,-0x1c9)+'on'));console['log'](_0x2eb054(0x2e6,0x20a)+_0x2eb054(0x600,0x460)+'k\x20Doc'+_0x2eb054(0x45d,0x415)+'\x20v'+pkg[_0x2eb054(0x20f,0x3f1)+'on']+'\x0a');const results=[];function pass(_0x3f75a2,_0x13be05){function _0x578f2f(_0x334d19,_0x3daf2a){return _0x2eb054(_0x3daf2a,_0x334d19-0x25b);}const _0x59e319={};_0x59e319[_0x578f2f(0x83d,0x8e0)+'s']=_0x578f2f(0x610,0x769),_0x59e319['label']=_0x3f75a2,_0x59e319[_0x2ac569(0x349,0x274)+'l']=_0x13be05;function _0x2ac569(_0x2f2414,_0x5540ab){return _0x2eb054(_0x5540ab,_0x2f2414- -0x211);}results['push'](_0x59e319);}function fail(_0x592828,_0x2d4c0b){const _0x1d49e0={};_0x1d49e0[_0x28681f(0x7a8,0x8a8)+'s']=_0x28681f(0x763,0x886);function _0x3ecc1f(_0x13bc55,_0x2080d6){return _0x2eb054(_0x2080d6,_0x13bc55- -0x74);}function _0x28681f(_0x36ba10,_0x1029e9){return _0x2eb054(_0x1029e9,_0x36ba10-0x1c6);}_0x1d49e0[_0x28681f(0x6f8,0x79b)]=_0x592828,_0x1d49e0[_0x3ecc1f(0x4e6,0x5dc)+'l']=_0x2d4c0b,results[_0x3ecc1f(0x322,0x36b)](_0x1d49e0);}function warn(_0x475937,_0x5c1f52){const _0xc33ad5={};_0xc33ad5[_0x8cad49(0x7bb,0x881)+'s']=_0x14b7fd(0x1e6,0x21d),_0xc33ad5['label']=_0x475937,_0xc33ad5[_0x14b7fd(0x54b,0x52e)+'l']=_0x5c1f52;function _0x14b7fd(_0x53d9ce,_0x559ec4){return _0x2a8cd3(_0x559ec4,_0x53d9ce-0x419);}function _0x8cad49(_0x1ee17c,_0x18879b){return _0x2a8cd3(_0x18879b,_0x1ee17c-0x601);}results['push'](_0xc33ad5);}const nodeVer=process[_0x2a8cd3(-0xc7,-0x37)+_0x2eb054(0x39d,0x45f)]['node'],nodeMajor=parseInt(nodeVer[_0x2a8cd3(-0x94,-0xbf)]('.')[0xe6e*-0x1+0x555+-0x1*-0x919],-0x18ac+0x13af*-0x1+-0x1*-0x2c65);nodeMajor>=-0x1*-0x7eb+-0xf64*0x1+0x78b?pass(_0x2a8cd3(0x41,-0x63)+_0x2a8cd3(0x1ec,0x166)+_0x2a8cd3(0x57,0x2e),'v'+nodeVer+(_0x2eb054(0x5e0,0x5bc)+'18\x20re'+_0x2a8cd3(-0x4c,-0xcd)+'d)')):fail(_0x2a8cd3(-0x5b,-0x63)+_0x2a8cd3(0x232,0x166)+_0x2a8cd3(-0x36,0x2e),'v'+nodeVer+('\x20—\x20No'+_0x2a8cd3(-0x3a,-0x1d9)+'\x20>=\x201'+_0x2eb054(0x392,0x27f)+_0x2eb054(0x343,0x41b)+_0x2eb054(0x76f,0x5dc)));const ENV_FILE=existsSync(join(DATA_DIR,_0x2eb054(0x5b2,0x526)))?join(DATA_DIR,_0x2eb054(0x338,0x526)):join(ROOT,_0x2a8cd3(0x10c,0xfe));let envPort=0x1e7c*-0x1+0x247d+0x77f,envGatewayUrl=_0x2eb054(0x7c4,0x5d5)+'//127'+_0x2a8cd3(0x282,0x171)+_0x2eb054(0x5a5,0x447)+'89',envGatewayToken='',envOpenAIKey='',envElevenLabsKey='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x2a8cd3(0x2c9,0x1ae));for(const line of content['split']('\x0a')){const t=line[_0x2eb054(0x414,0x408)]();if(!t||t['start'+'sWith']('#'))continue;const eqIdx=t[_0x2a8cd3(0x75,-0x16d)+'Of']('=');if(eqIdx===-(-0x1e22+0x808+0x1*0x161b))continue;const k=t[_0x2eb054(0x5b2,0x426)](-0x127*-0xf+-0x25f7+0x14ae,eqIdx)[_0x2eb054(0x2b6,0x408)](),v=t[_0x2a8cd3(0x1,-0x2)](eqIdx+(0x20*0xb2+-0x1f*-0x8+0x15*-0x11b))[_0x2a8cd3(-0x151,-0x20)]();if(k===_0x2eb054(0x3ee,0x34b))envPort=parseInt(v,-0x31a*-0x7+-0x2*-0x463+-0x1e72)||0xe3*0xa+0x783*-0x2+-0x44*-0x4a;if(k===_0x2eb054(0x5f3,0x412)+_0x2a8cd3(0x2b,-0xdf)+'L')envGatewayUrl=v;if(k===_0x2eb054(0x258,0x412)+_0x2a8cd3(-0x131,-0x129)+_0x2eb054(0x450,0x2e9))envGatewayToken=v;if(k==='OPENA'+_0x2a8cd3(-0x1b8,-0x209)+_0x2eb054(0x3ca,0x56d))envOpenAIKey=v;if(k===_0x2a8cd3(-0x30,0x0)+_0x2a8cd3(-0x20a,-0x26)+_0x2a8cd3(-0x55,-0x2a)+_0x2eb054(0x42e,0x4bf))envElevenLabsKey=v;}}catch{}const portAvailable=await new Promise(_0x127e6e=>{const _0x29b716={'noGrO':_0x56b299(0x6b0,0x5d0)+_0x56b299(0x455,0x48c)+'ally:'+_0xac6791(0x21e,0x201)+_0x56b299(0x797,0x6fe)+_0xac6791(0x72,0xa7)+_0x56b299(0x34f,0x49f)+'oonco'+_0xac6791(0x257,0x114)+_0x56b299(0x6a6,0x6ea)+_0x56b299(0x516,0x5c0)+_0x56b299(0x62e,0x545),'QRIiT':function(_0x5a9f61,_0x50dcb7){return _0x5a9f61!==_0x50dcb7;},'NvwLv':_0xac6791(0x1c3,-0x2d),'likZi':_0xac6791(-0x4,0x10a),'EwnMe':function(_0x44c0d1,_0x39cb1c){return _0x44c0d1===_0x39cb1c;},'EUklL':_0x56b299(0x75e,0x577)+_0xac6791(0x1d2,0x1bb),'qxLTE':function(_0x1f8b75,_0x234ec7){return _0x1f8b75(_0x234ec7);},'SUEmy':function(_0x13cfbb,_0x4740cc){return _0x13cfbb(_0x4740cc);},'efunF':function(_0x377337,_0x1e1462,_0x2dafb0){return _0x377337(_0x1e1462,_0x2dafb0);},'YTmlX':_0x56b299(0x672,0x5f1),'zclWI':function(_0x3d6be9,_0x3f081c){return _0x3d6be9(_0x3f081c);},'EKEAi':_0xac6791(-0x39,-0x17a)},_0x6d4ccd=_0x306a6e[_0xac6791(-0xce,-0x1ce)+'eServ'+'er']();function _0xac6791(_0x117385,_0x29bc58){return _0x2a8cd3(_0x29bc58,_0x117385-0x103);}function _0x56b299(_0x2ef4f2,_0x5444ff){return _0x2a8cd3(_0x2ef4f2,_0x5444ff-0x632);}_0x6d4ccd[_0x56b299(0x55d,0x450)](_0x29b716['EKEAi'],_0x19ac4f=>{function _0x301543(_0x5b5c7c,_0x5ddfb9){return _0xac6791(_0x5b5c7c-0x28,_0x5ddfb9);}function _0x59a17c(_0x2250d6,_0x451e58){return _0xac6791(_0x2250d6-0x4d6,_0x451e58);}if(_0x29b716[_0x301543(0x1bf,0x11)](_0x29b716[_0x301543(0x152,0x169)],_0x29b716[_0x301543(-0x5e,-0x1c4)])){if(_0x29b716[_0x301543(0x2e7,0x3c0)](_0x19ac4f[_0x59a17c(0x5a5,0x77c)],_0x29b716['EUklL']))_0x29b716[_0x301543(0xd2,-0x46)](_0x127e6e,![]);else _0x29b716[_0x301543(-0x9f,-0x294)](_0x127e6e,!![]);}else _0x3cdcb2[_0x301543(-0x11,0x10e)](_0x59a17c(0x3ab,0x1e0)+_0x301543(0xbf,-0x84)+_0x301543(0x231,0x2ab)+_0x301543(-0xc9,0x3f)+_0x59a17c(0x75e,0x71d)+_0x59a17c(0x6f4,0x553)+_0x301543(0x138,0x214)+_0x301543(-0x104,-0x2cd)),_0x54e27d[_0x59a17c(0x49d,0x40a)](wClkqR[_0x59a17c(0x64f,0x737)]),_0x44acd4['exit'](0x13a*0x15+0x16b4+-0x3075);}),_0x6d4ccd[_0xac6791(-0xdf,-0x14a)](_0xac6791(-0xe6,-0x147)+_0xac6791(0x9c,-0x9b),()=>{function _0x59830b(_0x37f58f,_0x14dd0c){return _0xac6791(_0x14dd0c- -0x13a,_0x37f58f);}const _0xb3e773={'sHzrr':function(_0x70b616,_0x2f321f,_0x6aaee2){return _0x29b716['efunF'](_0x70b616,_0x2f321f,_0x6aaee2);}};function _0x5edfbe(_0x5b5b2a,_0x489e5b){return _0xac6791(_0x5b5b2a- -0x7b,_0x489e5b);}_0x29b716[_0x5edfbe(-0x16b,-0x321)]!==_0x29b716['YTmlX']?_0xb3e773[_0x59830b(-0xbc,-0x112)](_0x46923f,_0x59830b(-0x182,-0x218)+_0x4b9324,_0x5edfbe(0x1fc,0x297)+_0x5edfbe(0x3,0x1e1)+'anoth'+_0x59830b(-0x9e,-0x1ba)+_0x59830b(-0x218,-0xb7)):(_0x6d4ccd['close'](),_0x29b716[_0x59830b(0x10,0x126)](_0x127e6e,!![]));}),_0x6d4ccd[_0xac6791(-0xe6,-0x13a)+'n'](envPort,_0x56b299(0x78f,0x650)+_0x56b299(0x6ba,0x50f));}),serverRunning=!!(getWatchdogPid()||getPid());portAvailable?serverRunning?pass('Port\x20'+envPort,_0x2eb054(0xfb,0x233)+_0x2eb054(0x330,0x386)+_0x2eb054(0x2ff,0x47f)+'er\x20ru'+_0x2a8cd3(-0x14,-0x1d7)+_0x2eb054(0x1b7,0x21e)+_0x2eb054(0x5a0,0x5ef)+_0x2eb054(0x563,0x5cd)):pass('Port\x20'+envPort,'avail'+_0x2eb054(0x460,0x319)):serverRunning?pass(_0x2a8cd3(-0x25c,-0x1e1)+envPort,_0x2a8cd3(0x2bd,0x174)+_0x2eb054(0x35c,0x3a3)+'Uplin'+'k'):fail(_0x2a8cd3(-0xe,-0x1e1)+envPort,_0x2eb054(0x63d,0x59c)+_0x2eb054(0x1c5,0x3a3)+_0x2a8cd3(-0x21a,-0xb9)+_0x2eb054(0x2eb,0x2a5)+_0x2a8cd3(-0x4,-0x80));const gatewayReachable=await new Promise(_0x4d5d82=>{const _0x186da5={'IUwLL':function(_0x2279df,_0x597c8d,_0x2af594){return _0x2279df(_0x597c8d,_0x2af594);},'DKSSD':function(_0x79a292,_0x4a6d94){return _0x79a292(_0x4a6d94);},'EVbUn':_0x1b4536(0x365,0x44b)+_0x493822(0x662,0x731)+_0x493822(0x71c,0x8a8)+_0x1b4536(0x5d6,0x443)+_0x1b4536(0x53a,0x453)+_0x493822(0x56e,0x460)+'le','vHENC':_0x493822(0x6e8,0x5bf)+'ink\x20C'+_0x1b4536(0x3dd,0x3f8)+_0x493822(0x4ae,0x5dc)+_0x493822(0x3b2,0x2de),'uBpGe':function(_0x5b5ea7,_0x1fa274){return _0x5b5ea7===_0x1fa274;},'NKFzD':'iFZQn','SgEPN':_0x1b4536(0x4e5,0x5b5),'iMBJI':function(_0x5944a7,_0x3d2a7e){return _0x5944a7(_0x3d2a7e);},'yUXAr':function(_0x59dd5c,_0x304a4b){return _0x59dd5c(_0x304a4b);},'VwhhQ':_0x493822(0x461,0x29c),'IXhHC':_0x493822(0x68d,0x51b),'rWMTi':_0x493822(0x6d7,0x777),'LyDVw':_0x493822(0x47b,0x605),'gTIjj':'timeo'+'ut','CiJvw':_0x1b4536(0x4fc,0x54d),'ryGKu':_0x1b4536(0x6fd,0x6d4)};function _0x493822(_0x5352a8,_0x254437){return _0x2a8cd3(_0x254437,_0x5352a8-0x5b7);}function _0x1b4536(_0x15eff8,_0x27f309){return _0x2a8cd3(_0x15eff8,_0x27f309-0x513);}try{const _0x488433=new URL(envGatewayUrl),_0x5a959b={};_0x5a959b['hostn'+_0x493822(0x4b9,0x5b1)]=_0x488433[_0x1b4536(0x289,0x410)+_0x493822(0x4b9,0x576)],_0x5a959b[_0x493822(0x5eb,0x576)]=_0x488433[_0x493822(0x5eb,0x401)]||-0x1310+0x20ca+-0x11*0xca,_0x5a959b[_0x1b4536(0x730,0x60a)]='/',_0x5a959b['metho'+'d']=_0x186da5[_0x493822(0x70d,0x675)],_0x5a959b[_0x1b4536(0x411,0x5f6)+'ut']=0x1388;const _0x271ef8=_0x571d0b[_0x493822(0x490,0x667)+'st'](_0x5a959b,_0x2702d3=>{const _0xaa56d5={'TEmMj':function(_0x4ec7aa,_0x5d30ef,_0x27dff4){function _0x4063f9(_0xa79387,_0x483e53){return _0x3817(_0xa79387- -0x3a6,_0x483e53);}return _0x186da5[_0x4063f9(-0x22,0x1d8)](_0x4ec7aa,_0x5d30ef,_0x27dff4);},'Flgtu':'.env.'+_0x51bf43(0xed,-0x7f)+'le','OyuqK':function(_0x736f76,_0x3e7e18){function _0x1a8289(_0x19dfda,_0x1543dd){return _0x51bf43(_0x19dfda,_0x1543dd-0x145);}return _0x186da5[_0x1a8289(0x73,0x14b)](_0x736f76,_0x3e7e18);},'XJTYB':_0x186da5[_0x51bf43(-0xbb,-0x108)],'MvRQT':_0x186da5['vHENC']};function _0x59a07c(_0x1a5b29,_0x28343b){return _0x1b4536(_0x28343b,_0x1a5b29- -0x234);}function _0x51bf43(_0x433717,_0x32e00f){return _0x1b4536(_0x433717,_0x32e00f- -0x549);}if(_0x186da5['uBpGe'](_0x186da5[_0x59a07c(0x3b4,0x3f7)],_0x186da5[_0x51bf43(-0x141,-0x1c7)])){const _0x563436=BWwAKc[_0x51bf43(-0x146,-0x18e)](_0x398aed,_0x43ffd0,BWwAKc['Flgtu']);BWwAKc[_0x51bf43(0xb8,-0x8d)](_0x5aabbf,_0x563436)?(BWwAKc['TEmMj'](_0xcc1c9b,_0x50a6cc,BWwAKc[_0x51bf43(-0x396,-0x18e)](_0x419262,_0x563436,_0x51bf43(-0x27,0x178))),_0x4128e5[_0x51bf43(-0x283,-0x216)](BWwAKc['XJTYB'])):(_0x3bd481(_0xbb38b1,BWwAKc[_0x59a07c(0x468,0x5c1)]),_0x2d90fd[_0x59a07c(0xff,0x284)](_0x51bf43(-0x6c,-0xfe)+_0x59a07c(0x38a,0x416)+_0x59a07c(0x167,0x190)+'\x20.env'+_0x51bf43(-0xbf,0x114)));}else _0x2702d3[_0x59a07c(0x3ad,0x4d9)+'e'](),_0x186da5[_0x59a07c(0x328,0x3a0)](_0x4d5d82,!![]);});_0x271ef8['on'](_0x186da5['LyDVw'],()=>_0x4d5d82(![])),_0x271ef8['on'](_0x186da5[_0x493822(0x3b9,0x321)],()=>{function _0x1f1208(_0x47eec8,_0x189d59){return _0x1b4536(_0x47eec8,_0x189d59- -0x1c4);}function _0x77cca(_0x1a8ed1,_0x34433e){return _0x1b4536(_0x34433e,_0x1a8ed1- -0x1f2);}if(_0x186da5[_0x77cca(0x10b,0x47)]===_0x186da5[_0x1f1208(0x6a,0x182)]){if(!hwmVJD[_0x1f1208(0x375,0x28a)](_0x8d2859,_0x2c1a06))return null;const _0x97989d=_0x86e994(_0x585fd1(_0x468536,_0x77cca(0x4cf,0x57c))[_0x77cca(0x301,0x3cb)](),-0x1*-0x1caf+0x10e7+-0x2d8c);if(hwmVJD[_0x1f1208(0x270,0x398)](_0x25a2c1,_0x97989d)||!hwmVJD[_0x77cca(0x25c,0x2c2)](_0x29cb5e,_0x97989d)){try{_0x100c14(_0x406cea);}catch{}return null;}return _0x97989d;}else _0x271ef8[_0x77cca(0x3e8,0x298)+'oy'](),_0x186da5['yUXAr'](_0x4d5d82,![]);}),_0x271ef8[_0x1b4536(0x6fd,0x56d)]();}catch{_0x186da5[_0x1b4536(0x63d,0x4aa)](_0x186da5[_0x493822(0x60c,0x6bf)],_0x186da5[_0x493822(0x6db,0x781)])?(_0x3ab96a['close'](),_0x2890cb(!![])):_0x186da5[_0x1b4536(0x591,0x44e)](_0x4d5d82,![]);}});gatewayReachable?pass(_0x2eb054(0x446,0x339)+_0x2a8cd3(-0x78,-0x239)+_0x2eb054(0x465,0x2ef)+'le',envGatewayUrl):fail('Gatew'+_0x2eb054(0x284,0x1ef)+_0x2eb054(0x28c,0x2ef)+'le',_0x2a8cd3(-0x226,-0x1b3)+_0x2eb054(0x760,0x5d2)+'ch\x20'+envGatewayUrl);existsSync(join(ROOT,_0x2eb054(0x3d3,0x527)+_0x2a8cd3(-0x161,-0x213)+'es'))?pass(_0x2a8cd3(-0x246,-0x235)+'denci'+_0x2a8cd3(-0xd4,-0x7c)+_0x2a8cd3(-0x34,0x185)+'ed','node_'+_0x2eb054(0x266,0x215)+_0x2a8cd3(0x23c,0x4e)+_0x2a8cd3(0x26b,0xbc)):fail(_0x2eb054(0x1d1,0x1f3)+_0x2a8cd3(-0xa9,0x104)+_0x2a8cd3(-0x267,-0x7c)+'stall'+'ed','node_'+_0x2a8cd3(-0x37d,-0x213)+_0x2eb054(0x766,0x595)+_0x2a8cd3(0x134,-0xc9)+_0x2a8cd3(0x231,0x158)+_0x2eb054(0x3cd,0x523)+_0x2eb054(0x80,0x207)+_0x2a8cd3(-0xfe,-0x162));if(existsSync(ENV_FILE))try{readFileSync(ENV_FILE,_0x2eb054(0x7a3,0x5d6)),pass(_0x2a8cd3(0x24f,0x165)+_0x2a8cd3(0x108,0xca),_0x2a8cd3(-0xc1,-0x1ed)+_0x2a8cd3(0x2e,-0xcc)+_0x2a8cd3(-0x59,-0x87)+_0x2eb054(0x50f,0x319));}catch{fail(_0x2a8cd3(0x2f7,0x165)+_0x2eb054(0x6b9,0x4f2),_0x2a8cd3(-0x252,-0x1ed)+_0x2eb054(0xea,0x25c)+_0x2a8cd3(-0x68,-0x8b)+_0x2eb054(0x351,0x4b3)+_0x2eb054(0x250,0x2a8));}else fail(_0x2eb054(0x616,0x58d)+_0x2eb054(0x5a5,0x4f2),'not\x20f'+_0x2eb054(0x1d4,0x2b7)+'—\x20run'+_0x2eb054(0x190,0x312)+_0x2eb054(0x484,0x40f)+_0x2a8cd3(-0xbe,-0x75)+_0x2eb054(0x3c1,0x30d)+_0x2a8cd3(0x32,0x7e)+'it');envGatewayToken&&envGatewayToken!=='your_'+_0x2eb054(0x603,0x439)+_0x2a8cd3(-0x11,-0x181)?pass(_0x2eb054(0x363,0x339)+_0x2eb054(0x677,0x4d4)+_0x2eb054(0x3d1,0x2e3),_0x2eb054(0x169,0x1e8)+'gured'):fail(_0x2eb054(0x191,0x339)+_0x2a8cd3(0xa4,0xac)+_0x2a8cd3(-0x152,-0x145),_0x2a8cd3(0x68,-0x96)+_0x2eb054(0x5f1,0x54e)+'\x20.env');if(envOpenAIKey||envElevenLabsKey){const providers=[];if(envOpenAIKey)providers['push'](_0x2a8cd3(0x1ad,0xbd)+'I');if(envElevenLabsKey)providers[_0x2a8cd3(0x168,-0x92)](_0x2a8cd3(-0x234,-0x126)+_0x2eb054(0x24a,0x401));pass(_0x2a8cd3(0x2d,0x26)+'PI\x20ke'+'ys',providers['join'](',\x20')+(_0x2eb054(0x357,0x2ee)+_0x2eb054(0x1b7,0x28d)+'d'));}else warn('TTS\x20A'+_0x2eb054(0x5e8,0x500)+'ys',_0x2a8cd3(0x2e6,0x1b1)+_0x2eb054(0x30f,0x437)+_0x2a8cd3(0x14d,0x13b)+_0x2a8cd3(-0x19a,-0x226)+_0x2a8cd3(-0xee,0x9f)+'ey\x20—\x20'+_0x2a8cd3(-0x93,-0x6d)+_0x2eb054(0xfc,0x303)+_0x2eb054(0x54c,0x4ae)+'ted\x20t'+'o\x20Edg'+'e\x20TTS');try{const freeBytes=((()=>{function _0xb2443f(_0x37b269,_0x4645c7){return _0x2eb054(_0x37b269,_0x4645c7- -0x468);}const _0x5cdb10={'Ditrr':function(_0x369ef6,_0x1b8d0c,_0x1477fa){return _0x369ef6(_0x1b8d0c,_0x1477fa);},'iwQoL':function(_0x37a79a,_0x51d418){return _0x37a79a+_0x51d418;},'vMzmx':_0x3bb8b2(0x42d,0x349)+'e\x20by\x20'+'Uplin'+'k','vyeyC':function(_0x31a722,_0xa437a8,_0x1e1dfd){return _0x31a722(_0xa437a8,_0x1e1dfd);},'bFLgt':_0xb2443f(-0x2f1,-0x221),'mpzpI':_0x3bb8b2(0x42d,0x349)+_0x3bb8b2(-0x65,0x150)+_0xb2443f(-0x297,-0xf9)+'er\x20pr'+_0xb2443f(-0xd0,-0xc0),'Lixfh':_0x3bb8b2(0x21a,0x135),'aqYVm':function(_0x3a1985,_0x1a48cc){return _0x3a1985===_0x1a48cc;},'nBVzU':function(_0x4c0640,_0x97606d,_0x2e019f){return _0x4c0640(_0x97606d,_0x2e019f);},'FsJuQ':function(_0x5ba699,_0x5cf0db){return _0x5ba699+_0x5cf0db;},'DAXyx':_0x3bb8b2(-0x2a,0xec)+_0xb2443f(0x8a,0x93)+_0xb2443f(-0x7f,0xea)+_0xb2443f(0x8c,0xc)+_0x3bb8b2(-0x23a,-0x6c),'iETkX':function(_0x3906c8,_0x4c4416,_0x3341bb){return _0x3906c8(_0x4c4416,_0x3341bb);},'RgLUR':_0xb2443f(-0x279,-0x115),'ijgPc':function(_0x529bb1,_0x18fe4e,_0x494043){return _0x529bb1(_0x18fe4e,_0x494043);},'cIxFq':_0xb2443f(-0xd,0x16e),'StyvP':function(_0x16d05d,_0x228fee){return _0x16d05d*_0x228fee;},'qGbyq':function(_0x4b7ed3,_0x5cde2b,_0x3532af){return _0x4b7ed3(_0x5cde2b,_0x3532af);}};function _0x3bb8b2(_0x307350,_0x3952f1){return _0x2eb054(_0x307350,_0x3952f1- -0x253);}if(process['platf'+_0x3bb8b2(0x1d6,-0x17)]===_0x5cdb10['Lixfh']){if(_0x5cdb10[_0x3bb8b2(0xef,0x2bd)]('fgVhO',_0x3bb8b2(0x364,0x2f3)))_0x5bd57b[_0x3bb8b2(0x43f,0x2cc)]=!![];else{const _0x19c272={};_0x19c272[_0xb2443f(-0x18f,-0x1f6)+'ing']=_0xb2443f(0x338,0x16e);const _0x6cdf13=_0x5cdb10['nBVzU'](execSync,_0x5cdb10[_0xb2443f(-0x1ef,-0x1c4)](_0xb2443f(0x25,-0x1f)+_0xb2443f(-0x1d4,-0x1f7)+_0x3bb8b2(-0x1ae,0x1c)+_0x3bb8b2(0x124,0x31b)+_0xb2443f(0x236,0xb8)+'evice'+_0x3bb8b2(0x286,0x267)+ROOT[_0xb2443f(-0x191,-0x1de)+'t'](0x1b02+-0x1336*-0x1+-0x2e38),_0x5cdb10[_0xb2443f(-0x136,-0x21b)]),_0x19c272),_0xec4aad=_0x6cdf13['match'](/FreeSpace=(\d+)/);return _0xec4aad?_0x5cdb10[_0x3bb8b2(0x1ea,0x2e2)](parseInt,_0xec4aad[-0x10*0x167+0x7b*-0x11+0x1e9c],-0x1525+0x3*0x97+0x3e2*0x5):null;}}else{if(_0x5cdb10[_0xb2443f(0x15e,0xa8)](_0x5cdb10[_0xb2443f(-0x241,-0xfa)],_0x5cdb10[_0x3bb8b2(-0x54,0x11b)])){const _0x3d673e=_0x5cdb10['ijgPc'](execSync,_0x3bb8b2(0x144,0x2b6)+'\x20\x22'+ROOT+(_0xb2443f(-0x9c,0x88)+_0xb2443f(-0x1dd,-0x232)+'1'),{'encoding':_0x5cdb10[_0xb2443f(0x222,0xe3)]}),_0x4fd49d=_0x3d673e[_0x3bb8b2(0xe5,0x1b5)]()[_0x3bb8b2(0x2f7,0x116)](/\s+/);return _0x5cdb10['StyvP'](_0x5cdb10[_0x3bb8b2(0x170,0x181)](parseInt,_0x4fd49d[0x15*0x8+-0x19*0xf6+-0x1*-0x1761],0x1b24+-0x262b*0x1+0xb11),0x7*-0x57e+-0xbae+-0x1b10*-0x2);}else _0x5e49a4?KavxMd['Ditrr'](_0x236a06,KavxMd[_0xb2443f(-0x85,-0x206)](_0xb2443f(-0xcb,-0x221),_0x2205b0),KavxMd[_0x3bb8b2(0x6d,0x242)]):KavxMd[_0x3bb8b2(-0x1e8,0x6)](_0x552b76,KavxMd['bFLgt']+_0x119d15,KavxMd[_0x3bb8b2(-0x131,-0x5c)]);}})());if(freeBytes!==null){const freeMB=Math[_0x2a8cd3(0x1bb,-0x33)](freeBytes/((-0x1*0x1fa5+-0xa01+-0x2*-0x16d3)*(-0x1*-0x1406+-0x65+-0xfa1*0x1)));freeMB>=-0x89e+0x7fa*0x1+0x298?pass(_0x2eb054(0x220,0x2bf)+_0x2a8cd3(-0x52,0x7c),freeMB+('\x20MB\x20f'+_0x2a8cd3(-0x226,-0x20e))):warn(_0x2eb054(0x4c4,0x2bf)+_0x2a8cd3(0x12,0x7c),freeMB+(_0x2a8cd3(-0x65,-0x35)+_0x2eb054(0x434,0x288)+'\x20less'+_0x2a8cd3(-0x1cb,-0x237)+'\x20500\x20'+'MB'));}}catch{warn(_0x2a8cd3(-0x348,-0x169)+_0x2eb054(0x390,0x4a4),_0x2eb054(0x287,0x3e0)+_0x2eb054(0x48d,0x39d)+_0x2a8cd3(0x79,0xc)+_0x2a8cd3(-0x282,-0x1e8)+_0x2eb054(0x1a5,0x399)+'disk\x20'+_0x2eb054(0x2c8,0x4a4));}const _0x2efba8={};_0x2efba8[_0x2eb054(0x1d2,0x3b5)]='\x1b[32m'+_0x2eb054(0x34c,0x398),_0x2efba8[_0x2eb054(0x636,0x59d)]=_0x2a8cd3(-0x225,-0x6a)+_0x2a8cd3(-0x41,0xdd),_0x2efba8[_0x2eb054(0x342,0x1f5)]=_0x2a8cd3(-0x4,0x15e)+_0x2eb054(0x19d,0x2d7);const icons=_0x2efba8;for(const r of results){console[_0x2eb054(0x2df,0x248)]('\x20\x20'+icons[r['statu'+'s']]+'\x20'+r[_0x2eb054(0x420,0x532)]+':\x20'+r[_0x2eb054(0x572,0x55a)+'l']);}const passes=results['filte'+'r'](_0x46e078=>_0x46e078[_0x2a8cd3(0x3b2,0x1ba)+'s']===_0x2a8cd3(-0x84,-0x73))[_0x2eb054(0x3d8,0x5c6)+'h'],fails=results[_0x2eb054(0x659,0x525)+'r'](_0x1cb3d1=>_0x1cb3d1[_0x2a8cd3(0x4d,0x1ba)+'s']===_0x2a8cd3(0x18c,0x175))['lengt'+'h'],warns=results[_0x2a8cd3(0x224,0xfd)+'r'](_0x22bd3a=>_0x22bd3a['statu'+'s']==='warn')['lengt'+'h'];console['log'](''),fails===-0x1*-0x2e4+0x29*0xeb+-0x53*0x7d?console['log']('\x20\x20⬡\x20A'+_0x2eb054(0x118,0x28b)+passes+(_0x2eb054(0x392,0x43f)+_0x2a8cd3(0x1c2,0x128)+_0x2eb054(0x691,0x489))+(warns?'\x20('+warns+('\x20warn'+'ing')+(warns>0x1c71+0x9*-0x3a2+0x442?'s':'')+')':'')+'.'):console[_0x2a8cd3(-0x39,-0x1e0)](_0x2a8cd3(-0x20c,-0x7b)+passes+('\x20pass'+_0x2eb054(0x322,0x4ff))+fails+('\x20fail'+'ed')+(warns?',\x20'+warns+(_0x2eb054(0x2e7,0x211)+_0x2a8cd3(0xca,0x1a2))+(warns>-0xbe6+-0x7*-0x32b+-0x5*0x20e?'s':''):'')+'.'),console[_0x2eb054(0x12d,0x248)](''),process['exit'](fails>0x1885*-0x1+-0x1291+0x89e*0x5?-0x48c*-0x2+-0x166d+0xd56:0x1aa9+-0x1*-0x150d+-0x2fb6);}if(command==='reset'){const {rmSync}=await import('fs');console[_0x2a8cd3(-0x20,-0x1e0)](_0x2a8cd3(-0x18d,-0x21e)+'Uplin'+'k\x20Res'+'et\x0a'),console[_0x2eb054(0x29b,0x248)]('\x20\x20Thi'+_0x2eb054(0x5ad,0x46b)+_0x2eb054(0x34b,0x47a)+_0x2a8cd3(0x207,0xfa)),console[_0x2eb054(0x224,0x248)](_0x2a8cd3(-0x155,-0x1dd)+'\x20Chat'+'\x20hist'+_0x2eb054(0x394,0x1fc)+_0x2a8cd3(-0xaf,0x62)+'ssage'+_0x2a8cd3(-0x1c,-0x1ab)+_0x2a8cd3(-0x2,0xae)),console[_0x2a8cd3(-0x1a6,-0x1e0)]('\x20\x20\x20\x20•'+_0x2a8cd3(-0x62,-0x161)+'aded\x20'+'files'+'\x20and\x20'+_0x2a8cd3(-0x55,0x35)+_0x2a8cd3(0x327,0x1c2)+'e'),console['log'](_0x2eb054(0x33f,0x24b)+'\x20Miss'+_0x2a8cd3(-0x228,-0x2d)+'ssage'+'s\x20que'+'ue'),console[_0x2a8cd3(-0x1f9,-0x1e0)]('\x20\x20\x20\x20•'+'\x20Push'+_0x2a8cd3(-0x2c8,-0x220)+_0x2a8cd3(-0x276,-0xec)+'ions\x20'+_0x2a8cd3(-0x112,0x46)+_0x2a8cd3(0xcb,-0xe5)+'ty\x20da'+'ta'),console['log'](''),console[_0x2a8cd3(-0x31d,-0x1e0)](_0x2a8cd3(-0x65,0x9)+_0x2a8cd3(0x101,0x43)+_0x2a8cd3(0x222,0x12c)+_0x2eb054(0x275,0x201)+'r:'),console[_0x2a8cd3(-0x25a,-0x1e0)](_0x2a8cd3(-0x1f6,-0x1dd)+'\x20.env'+_0x2a8cd3(-0x18b,-0x13a)+_0x2eb054(0x22e,0x39e)+'tion'),console['log'](_0x2eb054(0x37d,0x24b)+'\x20node'+_0x2eb054(0x328,0x3f8)+_0x2a8cd3(-0x382,-0x1aa)),console[_0x2eb054(0x40e,0x248)](_0x2a8cd3(-0x3d8,-0x1dd)+'\x20The\x20'+_0x2eb054(0x366,0x1f4)+'r\x20its'+_0x2a8cd3(-0x81,0x9c));if(!flags[_0x2a8cd3(-0xdc,0x42)]){const readline=await import(_0x2a8cd3(-0x28f,-0x102)+_0x2a8cd3(-0x2e8,-0x198)),_0x153c1b={};_0x153c1b[_0x2a8cd3(0x207,0x81)]=process['stdin'],_0x153c1b[_0x2a8cd3(0x1f7,0x1ca)+'t']=process[_0x2eb054(0x419,0x503)+'t'];const rl=readline[_0x2a8cd3(-0x1a,-0x1d1)+_0x2eb054(0x53a,0x44c)+_0x2eb054(0x5ae,0x4a8)](_0x153c1b),answer=await new Promise(_0x1877ba=>{function _0x1b1eea(_0x49f05,_0x484741){return _0x2eb054(_0x484741,_0x49f05- -0x1f0);}const _0x551086={};_0x551086[_0x3dd0df(0x6e8,0x61b)]='\x20\x20Typ'+'e\x20\x22re'+_0x3dd0df(0x4ce,0x3c2)+'to\x20co'+_0x3dd0df(0x89e,0x950)+':\x20';const _0x5e2927=_0x551086;function _0x3dd0df(_0x472275,_0x19c053){return _0x2eb054(_0x19c053,_0x472275-0x2e5);}rl[_0x1b1eea(0x3aa,0x5a7)+'ion'](_0x5e2927[_0x3dd0df(0x6e8,0x6ae)],_0x1877ba);});rl[_0x2a8cd3(-0xc9,-0x21f)](),answer[_0x2a8cd3(-0xcd,-0x20)]()['toLow'+_0x2a8cd3(0x61,-0xfd)+'e']()!=='reset'&&(console[_0x2a8cd3(-0x45,-0x1e0)]('\x0a\x20\x20Ca'+_0x2eb054(0x328,0x269)+_0x2a8cd3(-0x36,-0xfc)+'othin'+_0x2eb054(0x46b,0x4b7)+_0x2eb054(0x494,0x311)+_0x2eb054(0x409,0x3d8)),process[_0x2eb054(0x49c,0x58a)](-0x1f50+0x2600+-0x6b0)),console[_0x2eb054(0x200,0x248)]('');}const dataResets=[_0x2a8cd3(0x112,-0x64)+_0x2eb054(0x32b,0x454)+'ync.j'+_0x2a8cd3(0x2e0,0x1b3),'activ'+_0x2eb054(0x2e1,0x3e5)+_0x2a8cd3(0x254,0x1b3),_0x2a8cd3(0x43,-0x1a3)+_0x2a8cd3(-0x114,-0x170),_0x2a8cd3(-0x1,0x136)+_0x2a8cd3(-0x1cf,-0x119)+'versa'+_0x2a8cd3(0x182,0x28),_0x2a8cd3(-0x295,-0x136)+'ds',_0x2a8cd3(0x20,-0xd3),_0x2a8cd3(-0x153,-0xda)+_0x2eb054(0x299,0x336)],rootResets=[_0x2a8cd3(-0x133,-0x64)+_0x2a8cd3(-0xec,0x2c)+_0x2eb054(0x1a1,0x30c)+'son','activ'+_0x2eb054(0x50b,0x3e5)+_0x2eb054(0x495,0x5db),_0x2a8cd3(-0x37a,-0x1a3)+_0x2a8cd3(-0x242,-0x170),_0x2a8cd3(0x1be,0x136)+_0x2a8cd3(0xa5,-0x119)+'versa'+_0x2a8cd3(-0x112,0x28),_0x2eb054(0x336,0x2f2)+'ds',_0x2a8cd3(-0x101,0x6a)+_0x2eb054(0x5a9,0x4ad)+'io',_0x2a8cd3(-0x34f,-0x20b)+_0x2a8cd3(0x240,0x18b)+'sages'+_0x2a8cd3(0x34d,0x1b6),_0x2a8cd3(0x29c,0x141)+'subsc'+'ripti'+_0x2a8cd3(-0x2ed,-0x16b)+_0x2eb054(0x767,0x5db),_0x2eb054(0xe3,0x1f4)+_0x2eb054(0x15f,0x2ed),_0x2eb054(0x1bb,0x2a0)+_0x2eb054(0x493,0x544)+_0x2eb054(0x698,0x52a)+_0x2a8cd3(-0x26,-0x1e0),_0x2a8cd3(-0x33d,-0x188)+_0x2a8cd3(0x145,0x14c)+_0x2a8cd3(0xdd,0x1be)+_0x2a8cd3(-0x38,0xd9)];let cleared=-0x3*0x515+0x12e1+-0x3a2;for(const item of dataResets){const fullPath=join(DATA_DIR,item);if(existsSync(fullPath))try{const _0x4c9d9e={};_0x4c9d9e[_0x2eb054(0x635,0x452)+'sive']=!![],_0x4c9d9e['force']=!![],rmSync(fullPath,_0x4c9d9e),cleared++,console['log'](_0x2eb054(0x4e9,0x485)+_0x2a8cd3(-0x1d9,0x15)+_0x2a8cd3(-0x191,-0x2f)+_0x2a8cd3(-0x160,-0x17b)+'/'+item);}catch(_0x385da3){console[_0x2a8cd3(-0x1ae,-0x13c)]('\x20\x20✗\x20F'+_0x2eb054(0x555,0x422)+_0x2eb054(0x13c,0x250)+'emove'+_0x2eb054(0x4ac,0x404)+'_DIR/'+item+':\x20'+_0x385da3[_0x2eb054(0x326,0x3c4)+'ge']);}}for(const item of rootResets){const fullPath=join(ROOT,item);if(existsSync(fullPath))try{const _0x2c4814={};_0x2c4814[_0x2eb054(0x4a2,0x452)+_0x2eb054(0x600,0x4b2)]=!![],_0x2c4814[_0x2eb054(0x441,0x46a)]=!![],rmSync(fullPath,_0x2c4814),cleared++,console['log'](_0x2eb054(0x320,0x485)+_0x2a8cd3(-0x22,0x15)+'d\x20'+item);}catch(_0x5292fb){console['error']('\x20\x20✗\x20F'+_0x2eb054(0x563,0x422)+'\x20to\x20r'+_0x2a8cd3(-0x30,0x15)+'\x20'+item+':\x20'+_0x5292fb[_0x2eb054(0x488,0x3c4)+'ge']);}}cleared===-0x47c*0x1+0x269c+0x1c*-0x138?console[_0x2a8cd3(-0x80,-0x1e0)](_0x2eb054(0x23c,0x307)+_0x2a8cd3(-0x120,-0xcf)+_0x2eb054(0x211,0x3c9)+'ear\x20—'+'\x20alre'+_0x2a8cd3(-0x33,-0x18)+_0x2eb054(0xf5,0x1eb)):console['log']('\x0a\x20\x20⬡\x20'+_0x2a8cd3(-0xb6,-0x52)+'ed\x20'+cleared+_0x2eb054(0x6df,0x4e1)+(cleared>0x212f*0x1+0x1*0x11a5+-0x32d3?'s':'')+(_0x2a8cd3(-0x1c4,-0x1ee)+_0x2eb054(0x51f,0x5c2)+_0x2a8cd3(-0x72,-0x1ce))),console[_0x2eb054(0x3bc,0x248)](''),process['exit'](-0x54+-0x3e+0x92);}if(command==='info'){const require=createRequire(import.meta.url),pkg=require(join(ROOT,_0x2eb054(0x555,0x435)+_0x2eb054(0x1aa,0x25f)+'on')),ENV_FILE=existsSync(join(DATA_DIR,_0x2a8cd3(0x129,0xfe)))?join(DATA_DIR,_0x2eb054(0x715,0x526)):join(ROOT,'.env');let envPort=_0x2a8cd3(-0x1b7,-0xa4),envHost='0.0.0'+'.0',envGatewayUrl=_0x2a8cd3(0xfe,0x1ad)+'//127'+'.0.0.'+_0x2eb054(0x2bc,0x447)+'89',envGatewayToken='';if(existsSync(ENV_FILE))try{const content=readFileSync(ENV_FILE,_0x2a8cd3(0x390,0x1ae));for(const line of content[_0x2a8cd3(0x4a,-0xbf)]('\x0a')){const t=line[_0x2eb054(0x361,0x408)]();if(!t||t[_0x2a8cd3(-0x2b2,-0x146)+'sWith']('#'))continue;const eqIdx=t[_0x2eb054(0x18a,0x2bb)+'Of']('=');if(eqIdx===-(0x71d*-0x1+0xbe7+0xaf*-0x7))continue;const k=t['slice'](0x13*0x10b+-0x23aa+0xfd9,eqIdx)[_0x2a8cd3(0x7a,-0x20)](),v=t['slice'](eqIdx+(-0x248e+0xe*0x15b+0x1195))[_0x2a8cd3(0x27,-0x20)]();if(k===_0x2eb054(0x2ab,0x34b))envPort=v||_0x2a8cd3(-0x52,-0xa4);if(k===_0x2a8cd3(0x1c,-0x1d6)+_0x2a8cd3(-0x20d,-0x1ef)+'T'||k===_0x2a8cd3(-0x2d1,-0x1dc))envHost=v||_0x2a8cd3(-0x1eb,-0x2b)+'.0';if(k===_0x2eb054(0x464,0x412)+_0x2eb054(0x159,0x349)+'L')envGatewayUrl=v;if(k===_0x2eb054(0x44e,0x412)+_0x2a8cd3(0x99,-0x129)+'KEN')envGatewayToken=v;}}catch{}const watchdogPid=getWatchdogPid(),serverPid=getPid(),isServerRunning=!!(watchdogPid||serverPid),serverStatus=isServerRunning?'\x1b[32m'+_0x2eb054(0x2db,0x385)+_0x2eb054(0x249,0x425)+'m\x20(PI'+'D\x20'+(watchdogPid||serverPid)+')':'\x1b[31m'+'stopp'+_0x2eb054(0x3d8,0x5a8)+'m',gwReachable=await new Promise(_0x598a09=>{function _0x4981b7(_0x362cb9,_0x9e0e21){return _0x2eb054(_0x362cb9,_0x9e0e21- -0x1ba);}const _0x9399ba={'DVvOn':_0x3d1c76(0x472,0x3b1)+_0x3d1c76(0x5c6,0x6e3)+_0x4981b7(0x80,0x1b9)+'v\x20var'+'\x20or\x20e'+_0x3d1c76(0x5db,0x5d6)+_0x4981b7(0x16a,0x36e)+_0x4981b7(0x9a,0x19d),'NMncT':function(_0x345471,_0x19d220){return _0x345471!==_0x19d220;},'KkKdP':_0x4981b7(0x32f,0x2b9),'ZXngP':function(_0x4c0074,_0x5bc33d){return _0x4c0074(_0x5bc33d);},'hxvKB':function(_0x3b40d6,_0x1c7722){return _0x3b40d6===_0x1c7722;},'IMElV':_0x3d1c76(0x445,0x591),'zwkTH':'JTCaK','eOeNk':function(_0x15ef4a,_0x17ba16){return _0x15ef4a(_0x17ba16);},'SJsOl':function(_0x477dfd,_0x13e363){return _0x477dfd+_0x13e363;},'tbRNy':_0x4981b7(0x1be,0x79)+_0x3d1c76(0x381,0x45b)+_0x3d1c76(0x47a,0x2ca)+_0x3d1c76(0x2ec,0x2f8)+_0x4981b7(0x23a,0x97)+_0x3d1c76(0x219,0x5d)+_0x3d1c76(0x5ea,0x443)+_0x4981b7(0x4ab,0x413),'QBcDL':_0x3d1c76(0x244,0x2c3),'iZXod':_0x4981b7(0x239,0x3a5),'cveGs':_0x4981b7(0x52b,0x38e),'lycWM':_0x3d1c76(0x2e7,0x12c),'EAmiQ':_0x3d1c76(0x506,0x361)+'ut','XggFw':function(_0x78e3e0,_0x19b9b1){return _0x78e3e0(_0x19b9b1);}};function _0x3d1c76(_0x196ec5,_0x1950e9){return _0x2eb054(_0x1950e9,_0x196ec5- -0x5);}try{if(_0x9399ba[_0x3d1c76(0x3fb,0x322)](_0x9399ba[_0x3d1c76(0x5ad,0x5ce)],_0x9399ba['iZXod'])){const _0x14a205=new URL(envGatewayUrl),_0x50561f={};_0x50561f[_0x3d1c76(0x320,0x472)+'ame']=_0x14a205[_0x3d1c76(0x320,0x169)+_0x4981b7(0x93,0x170)],_0x50561f['port']=_0x14a205[_0x3d1c76(0x457,0x61b)]||0x2077+0x345*-0xb+0x3d0,_0x50561f[_0x3d1c76(0x51a,0x420)]='/',_0x50561f[_0x4981b7(0xc1,0x220)+'d']=_0x9399ba['cveGs'],_0x50561f[_0x3d1c76(0x506,0x47f)+'ut']=0xbb8;const _0x4da930=_0x571d0b[_0x3d1c76(0x2fc,0x4ca)+'st'](_0x50561f,_0x383559=>{const _0x5574f8={};_0x5574f8[_0x584761(0x2af,0x129)]=_0x9399ba[_0x5e3fe5(0xe7,0x150)];function _0x584761(_0x2e67f3,_0x46320d){return _0x3d1c76(_0x2e67f3- -0x50,_0x46320d);}const _0x3070ea=_0x5574f8;function _0x5e3fe5(_0x9c5aba,_0x287d1e){return _0x3d1c76(_0x287d1e- -0x2d4,_0x9c5aba);}_0x9399ba[_0x584761(0x3ab,0x5aa)](_0x9399ba[_0x584761(0x346,0x4f1)],_0x9399ba[_0x584761(0x346,0x4a6)])?(_0x26f5c8['error']('⬡\x20Fai'+_0x584761(0x572,0x48c)+_0x5e3fe5(0x100,0x45)+'n\x20edi'+_0x5e3fe5(0x274,0x17c)+_0x35e5b1[_0x584761(0x36f,0x170)+'ge']),_0x203419[_0x5e3fe5(-0x28,0x13)](TgYYAl['hutMs']+_0x511fb6),_0x3a121d[_0x5e3fe5(0x214,0x2b1)](-0x5*-0x59f+-0x7f*0x3d+-0x1*-0x229)):(_0x383559[_0x584761(0x4a1,0x465)+'e'](),_0x9399ba['ZXngP'](_0x598a09,!![]));});_0x4da930['on'](_0x9399ba['lycWM'],()=>_0x598a09(![])),_0x4da930['on'](_0x9399ba[_0x4981b7(0x3c9,0x1f1)],()=>{function _0x203c6b(_0x5ab41d,_0x1534e8){return _0x3d1c76(_0x1534e8- -0x92,_0x5ab41d);}const _0x196d45={'wtCXc':function(_0x2668fc,_0x7bc677){return _0x2668fc(_0x7bc677);}};function _0x427e94(_0x15d6c2,_0x142e80){return _0x3d1c76(_0x15d6c2-0x28c,_0x142e80);}if(_0x9399ba[_0x427e94(0x74c,0x57b)](_0x9399ba[_0x427e94(0x736,0x633)],_0x9399ba[_0x203c6b(0x347,0x42b)])){const _0x4a7b9e=ckNWYP[_0x203c6b(0x315,0x4f0)](_0x2a0196,_0x57e258[_0x427e94(0x46b,0x5bb)]()-_0x1b7dd8[_0x203c6b(0x1d2,0x24b)+_0x203c6b(0x23b,0x2f0)]);_0x529456['log'](_0x203c6b(0x2f9,0x26f)+'ink\x20i'+_0x427e94(0x5b4,0x5e7)+_0x203c6b(-0x41,0x175)+_0x203c6b(0x48,0x22a)+_0x203c6b(0x321,0x380)+_0x203c6b(0x524,0x4f2)),_0xc0e56e[_0x427e94(0x4cf,0x2ce)]('\x20\x20Wat'+'chdog'+_0x427e94(0x4b7,0x4c8)+'\x20'+_0x2fcd75);if(_0x2cefa3['serve'+_0x427e94(0x494,0x470)])_0x5285bc[_0x427e94(0x4cf,0x471)](_0x203c6b(0x4c9,0x31d)+_0x427e94(0x70b,0x765)+_0x203c6b(0x410,0x215)+'\x20'+_0x4483d2[_0x427e94(0x47b,0x470)+_0x203c6b(0x284,0x176)]);_0x2b84b3[_0x203c6b(0x12d,0x1b1)](_0x203c6b(0x4b6,0x4ec)+'ime:\x20'+'\x20\x20\x20\x20\x20'+'\x20'+_0x4a7b9e),_0x1eedec[_0x203c6b(0x387,0x1b1)](_0x427e94(0x627,0x520)+_0x203c6b(0x341,0x166)+_0x427e94(0x6c7,0x66a)+'\x20'+(_0x3cac4d[_0x427e94(0x765,0x599)+'rtCou'+'nt']||0x1147+-0x1*-0x219+-0xa0*0x1f));if(_0x2bd7c7[_0x203c6b(0x469,0x3f1)+'ffMs']>-0x142a+0x392*-0x5+0xa7b*0x4)_0x329963['log'](_0x203c6b(0x3df,0x38c)+_0x203c6b(0x521,0x33c)+'\x20\x20\x20\x20\x20'+'\x20'+_0x48d3a0['backo'+_0x203c6b(0x622,0x4b2)]+'ms');}else _0x4da930['destr'+'oy'](),_0x9399ba[_0x427e94(0x806,0x679)](_0x598a09,![]);}),_0x4da930[_0x4981b7(0x486,0x2c8)]();}else _0xf19c0d(aEeBVX['SJsOl'](_0x4981b7(0x50,0x8d),_0x168603),aEeBVX['tbRNy']);}catch{_0x9399ba[_0x4981b7(0x19a,0x2ac)](_0x598a09,![]);}}),gwStatus=gwReachable?envGatewayUrl+(_0x2a8cd3(-0xae,0xaf)+'m(con'+'necte'+_0x2a8cd3(-0x2f,0x115)+'m'):envGatewayUrl+(_0x2a8cd3(0x12,0xe9)+_0x2eb054(0x3d3,0x2fd)+'eacha'+'ble)\x1b'+_0x2a8cd3(-0x116,0x6c)),LOG_FILE=join(ROOT,_0x2eb054(0x363,0x1f4)+_0x2a8cd3(0xbe,-0x13b)),ALT_LOG_FILE=join(ROOT,_0x2eb054(0xc9,0x2a0)+_0x2eb054(0x378,0x544)+'rver.'+_0x2a8cd3(-0x215,-0x1e0)),logFile=existsSync(LOG_FILE)?LOG_FILE:existsSync(ALT_LOG_FILE)?ALT_LOG_FILE:'(none'+')',premiumFile=join(ROOT,_0x2eb054(0x1c9,0x1f4)+'r',_0x2a8cd3(-0xee,-0x15c)+'um');let premiumStatus=_0x2eb054(0x4ff,0x333)+_0x2a8cd3(0x260,0x105)+'ed';existsSync(premiumFile)&&(premiumStatus=_0x2a8cd3(0xb3,-0x134)+_0x2a8cd3(0x91,-0x66));const configFile=join(ROOT,'confi'+_0x2a8cd3(0x142,-0xa5)+'n');if(existsSync(configFile))try{const cfg=JSON['parse'](readFileSync(configFile,_0x2eb054(0x5b7,0x5d6)));if(cfg['premi'+'um']||cfg[_0x2eb054(0x46e,0x2cc)+_0x2a8cd3(-0x52,-0x94)])premiumStatus=_0x2a8cd3(0x30,0x138)+'e';}catch{}console[_0x2eb054(0x14a,0x248)](_0x2a8cd3(-0x7d,-0x21e)+_0x2a8cd3(-0x7c,0x38)+'k\x20Inf'+_0x2eb054(0x44d,0x50f)+_0x2a8cd3(-0x2f9,-0x20f)+'on:\x20\x20'+_0x2a8cd3(-0x109,-0x1f6)+pkg[_0x2a8cd3(-0x1ce,-0x37)+'on']+(_0x2a8cd3(0x4e,-0x165)+_0x2eb054(0x3b1,0x24f)+':\x20\x20\x20\x20'+_0x2eb054(0x4b1,0x50a))+process['versi'+_0x2a8cd3(-0x52,0x37)][_0x2eb054(0x638,0x592)]+(_0x2eb054(0x1a9,0x1e5)+_0x2eb054(0x2d0,0x42e)+'\x20\x20\x20\x20\x20'+'\x20\x20')+envPort+(_0x2eb054(0x6ba,0x4ed)+_0x2eb054(0x317,0x2b5)+'\x20\x20\x20\x20\x20'+'\x20\x20')+envHost+('\x0a\x20\x20Se'+_0x2a8cd3(-0x69,0x168)+'\x20\x20\x20\x20\x20'+'\x20\x20')+serverStatus+(_0x2a8cd3(0xa6,0x12f)+_0x2a8cd3(-0x38f,-0x1b4)+_0x2eb054(0x434,0x440)+'\x20\x20')+gwStatus+('\x0a\x20\x20Da'+_0x2eb054(0x1d7,0x284)+_0x2eb054(0x4a9,0x45a)+'\x20\x20')+DATA_DIR+(_0x2eb054(0x614,0x4ab)+_0x2a8cd3(-0x243,-0x144)+'e:\x20\x20\x20'+'\x20\x20')+logFile+(_0x2a8cd3(0x1df,0x5)+_0x2eb054(0x5b9,0x3c7)+_0x2eb054(0x603,0x440)+'\x20\x20')+premiumStatus+(_0x2a8cd3(0xb8,-0x7e)+_0x2a8cd3(0x247,0x185)+_0x2eb054(0x251,0x380)+'\x20\x20')+ROOT+_0x2a8cd3(-0x108,-0x10e)),process[_0x2eb054(0x514,0x58a)](-0x25f6*-0x1+0xb8*-0x2e+-0x2*0x273);}const ALL_COMMANDS=[_0x2eb054(0x5fe,0x4dc),_0x2a8cd3(0x1c6,0x1ba)+'s',_0x2eb054(0x424,0x37b)+'e',_0x2eb054(0x6f9,0x4f4)+_0x2eb054(0x418,0x414),'logs',_0x2a8cd3(-0x144,-0x240)+'g',_0x2a8cd3(0x1,-0x1da)+'r',_0x2eb054(0x402,0x3dd),_0x2a8cd3(0xa1,0xde)];function _0x4e16(){const _0x1187be=['\x20\x1b[31','ig\x20\x20\x20','last\x20','\x20(con','\x20\x20npx','meout','tarti','CREDE','toStr','SIGIN','hed','v,\x20co','null\x20','argv','path','re\x20\x22D','ple\x20.','ar:','n\x20npm','nano','filte','.env','node_','anual','\x20Star','rver.','atest','denci','etect','ed\x20to','at\x0a\x0a\x20','y:\x20','floor','label','s/dir','atchd','iETkX','logs,','or\x20us','\x20\x20\x20re','fstat','uto-r','\x20--no','ted\x20w','d)\x1b[0','yHEzX','env','6|1|0','ogs\x20i','file\x20','\x20npm\x20','nk-se','ackag','TLimG','th:\x20u','GET','ffMs','r\x20(de','cIxFq','ryGKu','p\x20it\x20','et\x20in','execP','ks\x20pa','Updat','eeSpa','ll\x22\x20t','l\x20NOT','octor','e\x20und','\x0a\x20\x20Ga','Host\x20','#\x20Upl','detai','it\x20\x20\x20','ink\x20C','MUnbM','share','HnMFB','activ','ignor','chdog','or\x20El','xlyWg','how\x20(','⬡\x20Fai','37197UVZmUQ','heRpd','push-','hat\x20s','d\x20ser','p\x20con','_KEY','k\x20whe','k\x20ser','\x20@moo','direc','\x20file','l\x20tim','nk-wa','oMxFS','xzPXx','ing.','AppDa',',\x20PID','\x0a⬡\x20Re','rhyuJ','mpany','...','rWMTi','eOeNk','\x20—\x20ru','ach','bally','\x20\x20Upt','\x20\x20⚠️\x20\x20','zclWI','\x1b[33m','wtCXc','nd\x20lo','mode)','exit','toppe','he\x20Up','.env\x20','js\x20ve','\x20Stop','rver:','setup','node','strin','nv\x20in','es\x20mi','us\x20\x20\x20','\x20star','\x20.env','.0.0.','quest','tejaz','in\x20us','fail','ready','1929928PMZepv','inher','estar','HkmUf','v\x20fil','\x20Remo','detac','er\x20of','sleep','ed\x1b[0','ng\x20Up','XOdbg','(PID\x20','\x20\x20\x20\x20d','stall','\x20\x20\x20un','AtcKO','pioJT','MvRQT','QBcDL','d-mes','oncom','\x20audi','ninst','ink\x20i','led.','nfirm','ached','backg','\x20(>=\x20','cEYfQ','IlFcB','dCljF','fRwWw','ion','sh\x20st','\x20mode','to\x20bi','stdio','lengt','led\x20t','6vuDmGI','glanc','ing','\x20EDIT','ll\x20\x20\x20','ile)','--for','ow\x20cu','faile','e\x0a\x20\x20\x20','t\x20rea','ing\x20U','ink\x20s','http:','utf8','npm\x20p','\x20enab','no\x20Op','port\x20','son','red','s\x20not','.json','ink\x20(','dit\x20m','ocal\x20','statu','plink','EwnMe','lfJRd','tchdo','\x0a⬡\x20Up','isten','fKJiO','\x20cach','nRDuK','the\x20l','nk.pi','456)\x0a','PID\x20f','e\x20\x22un','it\x20.e','outpu','fault','now','\x0a\x20\x20Po','kage.','alue','confi','set\x22\x20','gured','lean.','SIGTE','\x20\x20\x20#\x20','tYyog','ay\x20re','\x20/t\x201','\x20than','\x20\x20Use','Depen','serve','warn','th\x20(c','mpzpI','the\x20e','ge.','\x0a\x20\x20⚠️\x20','RStqc','ory\x20a','tarts','s...\x20','ly:\x20n','help','\x20clea','evenL','qFCsA','stdin','cs\x0a\x20\x20','.exam','\x20inst','\x20subs','close','\x0a\x20\x20⬡\x20','comma','ning\x20','rPid','ve\x20ag','aw\x20se','max','\x20warn','VwhhQ','\x20\x20Sta','\x0a\x20\x20Ca','modul','\x0a⬡\x20Wa','HbkOi','\x20in\x20','Versi','ree','l\x20Upl','ig\x20--','misse','\x20via\x20','I_API','--det','repea','nfo\x20\x20','on\x0a','\x20\x20Try','files','Kpjkg','a\x20dir','eck\x20i','CDSOv','gTIjj','\x20or\x20e','he\x20se','...\x0a','\x20--fo','npx\x20u','\x20PID:','sWith','\x20\x20\x20\x20v','avail','\x20unin','YTmlX','ail\x20-','glwRu','nijYi','K_HOS','.\x20Fre','exist','orm','\x20\x20upl','⬡\x20No\x20','liste','mine\x20','s\x20fro','pdate','zdvWP','\x20\x20Exa','\x20loca','once','Port\x20','log','rwBuT','hcSEi','\x20\x20\x20\x20•','HOST','DAXyx','docto','de.js','\x20to\x20r','nning','UPLIN','write','ctor\x20','on:\x20v','raWJD','creat','const','vyeyC','art!','IXhHC','s\x20but','n\x20iss','SUEmy','ge.js','EhtQb','-host','iwQoL','--lin','ound.','ver\x20l','\x20stop','\x20info','rash.','ncell','actio','othin','\x20sets','504266pBDYIm','pjCoN','aldis','rtCou','logic','encod','at\x20re','teway','canno','ructo','\x20to\x20l','link\x20','yaBiH','\x20#\x20Ed','PASSW','platf','\x20sync','les','8\x20is\x20','\x20Numb','SimtK','\x20manu','rver\x20','ta\x20di','sync-','sages','art\x20t','ree\x20—','BRLMO','charA','ll\x20','\x20\x20\x20\x20','igure','\x1b[90m','gooTd','ine','iUaHJ','readS','/dev/','Lanxa','-g\x20@m','eset)','SgEPN','figur','IURMe','es\x20N\x20','g.pid','kill','\x200.0.','PID\x20','likZi','.upli','mands','fig)\x0a','ion\x0a\x20','FsJuQ','er\x20pr','uplin','_here','ble','oonco','qnvlD','ey\x20—\x20','ID:\x20\x20','A_DIR','\x20\x20Or\x20','\x20\x20\x20Ch','empty','xampl','moonc','e:\x0a\x20\x20','5XUqTQL','st:\x20\x20','ver\x20f','ound\x20','data','\x20→\x20v','noWat','index','\x20\x20Tha','ons.j','d\x20in\x20','Disk\x20','eServ','(watc',')+)+)','\x0a\x20\x20No','\x20\x20\x20--','FQaLf','all','\x20Uplo','e\x20ser','l\x20—\x20v','\x20on\x20(','AI\x20Ch','premi','edit\x20','.\x20👋\x0a','g\x20(au','TEmMj','NwzZf','xpHoK','8080\x20','homed','eady\x20','\x20your','!\x1b[0m','nfig\x20','kSnmZ','VVFdR','r.js','.\x20Run','ng\x20wi','ne\x20wi','fore\x20','o\x20fil','AuaLd','start','ken','g\x20fil','ar\x20da','d\x20.en','+C\x20to','\x20edit','KEN','cal\x20d','size','error','r.log','\x20conf','achab','y\x20uni','er\x20ru','uploa','sQGHI','insta','Value',':\x0a\x20\x20\x20','d\x20dat','--por','k-cha','gzyho','(Ctrl','CkRrY','m(unr','whowV','AY_TO','r\x20and','reque','Eleve','ay\x20be','hutMs','.0.1','⬡\x20Upl','\x20\x20Not','-f\x20\x20\x20','ink\x20w','rt\x20on','2>&1','ync.j','onfig','linux','d-con','\x20been','\x20remo',':\x20upl','LFWjg','promp','gify','host','RAUWo','mNUVz','able','\x0a\x20\x20','hen\x20t','watch','found','o\x20ope','urati','\x0a\x20\x20\x20\x20','LLZLT','erver','test\x20','padEn','hostn','readl','ime:\x20','ent\x20a','wing\x20','ame','erCas','ed.\x20N','s\x20run','\x20\x20Cre','Oyzka','toUpp','xxkls','****','not\x20d','d\x20\x20\x20\x20','\x20comp','ated','GqhNV','ync','Gatew','rce,\x20','at\x0a','cript',':\x20v','copy\x20',':\x27\x22\x20g','\x20runn','\x20for\x20','nd\x20(d','ctivi','\x20npx\x20','⬡\x20.en','DirdQ','oads\x20','HpJUB','AY_UR','PvLgs','PORT','edit','sHzrr','.migr','tion\x0a','and\x20c','th:\x20','\x20\x20Com','gLIjI','--ver','audio','EVbUn','ly:\x20','from\x20','hing\x20','dated','quire','s\x20and','ly\x20wi','at\x20--','ssing','⬡\x20Cre','aemon','\x20with','yUXAr','inclu','\x20\x20\x20Ta','\x20defa','\x20hist','.env.','split','\x20new\x20','cwd','QZvwj','EADDR','RgLUR','anoth','\x20Unin','log\x20e','pen\x20c','OR\x20en','\x20\x20Log','ompan','\x0a\x20\x20Pa','159483zPXpPI','⬡\x20Upd','openS','CRXBG','updat','\x20in\x20e','mrzxJ','bJmYN','(empt','ed:\x20\x20','\x20port','o-res','g.jso','3456','runni','able\x20','edAt','win32','t\x20sta','searc','how\x20t','⬡\x20Sto','\x20Usag','subsc','-chat','og\x20st','ORD','not\x20s','ripti','umKey','GtBEJ','push','tall\x20','✓\x1b[0m','free\x20','k\x20—\x20L','KkKdP','rt\x20--','\x20not\x20','igura','m\x20pac','\x20\x20Res','\x20read','\x20(def','e\x20by\x20','\x20logs','art','Etuuq','e\x20\x20\x20\x20','ocess','This\x20','\x0a\x20\x20In','EAmiQ','es\x20in','\x20\x20⬡\x20','OAqxE','ng\x20np','\x20(PID','\x20\x20→\x20h','szCsg','hat\x20c','\x20\x20Ser','pass','nk-ch','lines','\x20Show','out\x20a','00\x20#\x20','TTS\x20m','\x20Fail','|1|7','\x1b[31m','uBpGe','DdUgh','ning','lled','#\x20Cle','messa','Node.','\x20\x20Run','emium','uxJGA','to\x20cl','TIpgX','LASLB','v\x20var','led)','\x20chat','qxLTE','nose\x20','OyuqK','nk\x20be','koff:','qGbyq','BFMMM','Clear','123447DyuxBR','ved.\x0a','xlFGX','metho','y/upl','pt\x0a\x20\x20','reset','REauZ','examp','could','evice','l\x20con','npm\x20u','Tail\x20','ity.j','elp\x0a\x0a','BHTFX','t\x20v','--no-','ntrie','emovi','ver\x20a','not\x20b','OoYxc','on\x20(v','set\x20\x20','versi','LFwZY','\x20MB\x20f','code','round','⬡\x20Sho','ve\x20al','_modu','d\x20DAT','-v\x20\x20\x20','ed\x20me','-watc','0.0.0','_API_','e\x20to\x20','NMncT','nLabs','NLABS','VsoRQ','\x20DATA','mode','YJiOX','map','trim','ns]\x0a\x0a','d\x20log','log\x20f','o\x20Edg','CyUUC','t\x20wat','ink-c','ady\x20c','s\x20are','GATEW','ally:','tall','tor\x20—','\x20\x20✓\x20S','hdog\x20','for\x20r','tion\x20','eUMLX','requi','\x20watc','op\x20a\x20','osabn','rrent','pid','notep','ailed','\x20\x20Bac','join','ng\x1b[0','slice','JgaAG','ELEVE','DVvOn','date\x20','⬡\x20Ope','KaNyS','\x0a\x20\x20Pr','rt:\x20\x20','ncomp','\x20Upli','\x20\x20Thi','nosti','art\x20m','deter','packa','vseUB','enAI\x20','UBMFL','token','ent\x20s','qydRC','IUwLL','emove','vVYIb','\x20chec',':\x20\x20\x20\x20','cOJDd','ected','ult:\x20','--edi','\x20on\x20t','127.0','1:187','pping','wmic\x20','DqQyl','\x20log\x20','eInte','kklTI','TTS\x20A','NvwLv','tions','SECRE','recur','e...','ges-s','tor:\x20','rsion','tart\x20','-forc','>nul\x20','r:\x20\x20\x20','d.\x20St','port','media','ts\x20(r','ons','Uplin','--hel','foALR','|5|7|','DKSSD','f\x20Upl','XggFw','2|4|3','Stop\x20','one.\x0a','force','s\x20wil','mples','BELre','and\x20a','NTIAL','\x20Port','iMBJI','\x20\x20\x20up','RTJcZ','ce\x20/v','\x208080','es\x20ex','\x20\x20Set','tarte','commo','l\x20cle','IXOGR','\x20-g\x20@','CiJvw','XKjTh','(serv','100\x20l','0.0)\x0a','end','rt\x20th','ver\x20P','\x20\x20✓\x20R','⬡\x20Che','Roami','backo','ssed','nd\x20me','\x20\x20\x20St','odouL','544244GBTfsP','y)\x1b[0','IbEci','irst:','oNozI','publi','reak\x20','[0m','vMzmx','dog.j','r\x0a\x20\x20\x20','ink\x20d','n\x20bac','p\x20Upl','o\x20con','BBsLM','\x20prom','noGrO','\x20\x20Typ','|5|8|','to-re','g\x20@mo','GaKuK','space','-path','\x20--ed','dog','rface','input','c/img','\x0a\x20\x20Lo','toLow','c/aud','\x20limi','IMElV','\x20H\x20\x20\x20','\x20\x20\x20\x20-','sive','reada','oIzsi','VmiuM','ions:','g\x20was','ating','ath','ID=\x27','ch,\x20-','QRIiT','t\x20\x20\x20\x20','e\x20is\x20','KEY','joSFx','runs.','zwkTH','(((.+','elf\x0a','hxvKB',')\x0a\x20\x20\x20','abs\x20k','hat','ttp:/','UWtCR','\x20diag','setsi','UkFmC','vatar','9|4|2','1458960OJdkfV','k\x20Uni','\x20\x20\x20\x20\x20','ated\x20','ay\x20to','top','\x20data','\x20\x1b[32','\x20on\x20c','\x20upli','or\x0a\x20\x20','des','stop','710sHjzVM','resta','o\x20rea','/upli','\x20item','VKaTg','mcngs','ists','OpenA','ues\x0a\x20','SGkzj','ueazQ','eDiOQ','wziYD','\x20\x20\x20\x20i','ector','\x0a\x20\x20Ho','cache','destr','\x22\x20|\x20t','lt:\x203','file','vtHRu','unins','Run\x20i','resum','INUSE','\x20--li','/loca','o\x20sto','et\x20Fr','\x20stat','NKFzD','yomrv','ed,\x20','PI\x20ke','g.log','firm:','stdou','n\x20can','✗\x1b[0m','info','lt\x20po','yMDVF','df\x20-k','\x20\x20v','timeo','k\x20has','n\x20rea','vuCaM','o\x0a\x0a\x20\x20','aqYVm'];_0x4e16=function(){return _0x1187be;};return _0x4e16();}if(command==='start'||!ALL_COMMANDS[_0x2eb054(0x46f,0x364)+_0x2a8cd3(0x1f7,0xb3)](command)){const existingWatchdog=getWatchdogPid(),existingPid=getPid();if(existingWatchdog||existingPid){const pid=existingWatchdog||existingPid,mode=existingWatchdog?_0x2eb054(0x3fb,0x31c)+_0x2a8cd3(-0xe5,0x7f):_0x2eb054(0x383,0x571)+'t';console[_0x2eb054(0xe4,0x248)](_0x2a8cd3(-0x5b,-0x122)+_0x2a8cd3(0x91,0x18f)+'s\x20alr'+_0x2eb054(0x1d4,0x2d5)+_0x2a8cd3(0xbd,-0xa3)+'ng\x20('+mode+(_0x2a8cd3(0x326,0x151)+'\x20')+pid+').'),console[_0x2a8cd3(-0x70,-0x1e0)]('\x20\x20Sto'+_0x2eb054(0x62f,0x54d)+'first'+_0x2a8cd3(-0x14b,-0x116)+_0x2eb054(0x3c6,0x40f)+'hat\x20s'+_0x2eb054(0x429,0x4d5)),process['exit'](0x511*-0x2+-0x3*-0x949+0x38*-0x51);}const env={...process.env};if(flags[_0x2eb054(0x462,0x45c)])env[_0x2a8cd3(-0x14e,-0xdd)]=String(flags[_0x2eb054(0x3fb,0x45c)]);if(flags[_0x2eb054(0x11a,0x316)])env[_0x2eb054(0x7d,0x252)+_0x2eb054(0x31a,0x239)+'T']=flags[_0x2a8cd3(-0x24a,-0x112)];const serverPath=join(ROOT,_0x2eb054(0x140,0x1f4)+_0x2eb054(0x1ba,0x2db));if(flags['detac'+'h']){const watchdogPath=join(ROOT,_0x2a8cd3(-0x3d7,-0x234)+'r',_0x2a8cd3(0xf9,-0x10c)+'dog.j'+'s'),extraEnv={};if(flags[_0x2a8cd3(-0xf5,0x34)])extraEnv['PORT']=String(flags['port']);if(flags[_0x2eb054(0x208,0x316)])extraEnv['UPLIN'+_0x2eb054(0x216,0x239)+'T']=flags[_0x2eb054(0x26b,0x316)];const isLinux=process['platf'+_0x2eb054(0x39b,0x23c)]===_0x2a8cd3(0xea,-0x11a);let child;if(isLinux)try{const _0x116932={};_0x116932['stdio']=_0x2eb054(0x36b,0x561)+'e',execSync('which'+_0x2eb054(0x8c,0x26c)+'id',_0x116932);const _0x41b42c={};_0x41b42c[_0x2eb054(0x29f,0x36b)]=ROOT,_0x41b42c[_0x2eb054(0x725,0x53f)]=env,_0x41b42c[_0x2eb054(0x575,0x5a5)+_0x2a8cd3(0x17a,0xf3)]=!![],_0x41b42c[_0x2a8cd3(0x327,0x19d)]=_0x2eb054(0x6b5,0x561)+'e',child=spawn(_0x2eb054(0x4be,0x4cc)+'d',[_0x2eb054(0x402,0x5ce)+'k',process[_0x2a8cd3(-0x4c,0x127)+_0x2a8cd3(-0x7f,0x91)],watchdogPath,JSON[_0x2eb054(0x4ea,0x593)+'gify'](extraEnv)],_0x41b42c);}catch{const _0x273d0e={};_0x273d0e[_0x2a8cd3(-0xa0,-0xbd)]=ROOT,_0x273d0e[_0x2eb054(0x3e6,0x53f)]=env,_0x273d0e[_0x2eb054(0x664,0x5a5)+'hed']=!![],_0x273d0e[_0x2a8cd3(0x17b,0x19d)]='ignor'+'e',child=spawn(process[_0x2a8cd3(-0x4,0x127)+'ath'],[watchdogPath,JSON[_0x2eb054(0x41c,0x593)+_0x2eb054(0x2b3,0x315)](extraEnv)],_0x273d0e);}else{const _0x386497={};_0x386497['cwd']=ROOT,_0x386497['env']=env,_0x386497['detac'+_0x2a8cd3(-0xf1,0xf3)]=!![],_0x386497[_0x2a8cd3(0xed,0x19d)]=_0x2eb054(0x6b7,0x561)+'e',child=spawn(process[_0x2eb054(0x520,0x54f)+_0x2a8cd3(0x148,0x91)],[watchdogPath,JSON[_0x2eb054(0x4f7,0x593)+_0x2a8cd3(-0x25d,-0x113)](extraEnv)],_0x386497);}child['unref']();const port=flags[_0x2eb054(0x4aa,0x45c)]||env[_0x2eb054(0x54b,0x34b)]||0x1c73+0x211d+-0x3010;console[_0x2a8cd3(-0x4a,-0x1e0)](_0x2a8cd3(-0x194,-0x122)+'ink\x20s'+_0x2a8cd3(0x10c,0x50)+_0x2a8cd3(0x68,-0x16a)+_0x2eb054(0x6b9,0x5bb)+_0x2a8cd3(-0x1a0,-0x33)+_0x2eb054(0x1cb,0x362)+_0x2eb054(0x2f3,0x41c)+_0x2a8cd3(0x141,-0x11)+_0x2a8cd3(0x347,0x183)+child[_0x2a8cd3(0xb1,-0x8)]+').'),console[_0x2eb054(0xda,0x248)](_0x2a8cd3(0x54,-0x77)+_0x2a8cd3(0x160,0xa1)+_0x2a8cd3(-0x122,0xd1)+'lhost'+':'+port),console['log']('\x20\x20Aut'+_0x2a8cd3(0x25,-0xa6)+'tarts'+_0x2a8cd3(0xa8,0xb0)+_0x2eb054(0x2f9,0x268)+_0x2eb054(0x6fc,0x58f)+_0x2a8cd3(0x6a,-0xc6)+_0x2a8cd3(-0x1fd,-0x116)+_0x2eb054(0x2c7,0x40f)+_0x2a8cd3(0x138,0x142)+_0x2a8cd3(0x1c2,0xad)),process[_0x2a8cd3(0x129,0x162)](-0xf7f+-0x6ea+0x1669);}else{if(flags[_0x2a8cd3(-0x96,-0x16e)+_0x2eb054(0x3f9,0x562)]){const _0x132b0b={};_0x132b0b[_0x2eb054(0x2c2,0x36b)]=ROOT,_0x132b0b['env']=env,_0x132b0b['stdio']=_0x2a8cd3(0x25c,0x178)+'it';const child=spawn(process['execP'+'ath'],[serverPath],_0x132b0b);writeFileSync(PID_FILE,String(child[_0x2a8cd3(-0x54,-0x8)]));const cleanup=()=>{function _0x98c6c5(_0x140e19,_0x3b967f){return _0x2a8cd3(_0x3b967f,_0x140e19- -0xf);}const _0xb9eae3={'iUaHJ':function(_0x10c2c2,_0x4f5bbe){return _0x10c2c2(_0x4f5bbe);},'HbkOi':_0x98c6c5(-0x166,-0x15c)};function _0x4dfba8(_0x50fb73,_0x30f00c){return _0x2a8cd3(_0x50fb73,_0x30f00c-0x77);}try{'xrtah'!==_0xb9eae3[_0x98c6c5(-0x220,-0x422)]?_0xb9eae3['iUaHJ'](unlinkSync,PID_FILE):TPRGgD[_0x4dfba8(-0x1b5,-0x120)](_0x3704fc,![]);}catch{}};process['on'](_0x2a8cd3(0x138,0xf2)+'T',()=>{function _0x40e708(_0x5bd88e,_0x12c325){return _0x2a8cd3(_0x5bd88e,_0x12c325-0x2cf);}cleanup(),process[_0x40e708(0x478,0x431)](-0x2651+-0x5a6+0x2bf7);}),process['on'](_0x2a8cd3(-0x265,-0x23c)+'RM',()=>{const _0x6499ab={'nRDuK':function(_0x1488f3){return _0x1488f3();}};function _0x46efb3(_0x158b9a,_0x2cb6b6){return _0x2a8cd3(_0x2cb6b6,_0x158b9a-0x624);}function _0x3bc0c2(_0x1dc4e4,_0x13b6ba){return _0x2a8cd3(_0x13b6ba,_0x1dc4e4- -0x2f);}_0x6499ab[_0x3bc0c2(0x194,0x223)](cleanup),process[_0x46efb3(0x786,0x5b3)](-0x230b+0x277+-0x2b7*-0xc);}),child['on'](_0x2a8cd3(0x273,0x162),_0x59e5a6=>{const _0x46c299={'tuCbj':function(_0x50e1ae){return _0x50e1ae();}};_0x46c299['tuCbj'](cleanup),process['exit'](_0x59e5a6||-0x4*-0x212+-0x65*0x4e+0x167e);});}else{const watchdogPath=join(ROOT,_0x2eb054(0x2bd,0x1f4)+'r',_0x2a8cd3(-0x4,-0x10c)+_0x2eb054(0x57c,0x496)+'s'),extraEnv={};if(flags[_0x2eb054(0x61f,0x45c)])extraEnv[_0x2a8cd3(-0x119,-0xdd)]=String(flags[_0x2a8cd3(-0x6d,0x34)]);if(flags[_0x2a8cd3(-0x173,-0x112)])extraEnv[_0x2a8cd3(-0x34,-0x1d6)+_0x2a8cd3(-0x295,-0x1ef)+'T']=flags[_0x2eb054(0x200,0x316)];const _0x1502d0={};_0x1502d0[_0x2eb054(0x175,0x36b)]=ROOT,_0x1502d0[_0x2a8cd3(-0x82,0x117)]=env,_0x1502d0['stdio']='inher'+'it';const child=spawn(process[_0x2a8cd3(0x1ed,0x127)+_0x2a8cd3(-0x2a,0x91)],[watchdogPath,JSON[_0x2eb054(0x5dc,0x593)+'gify'](extraEnv)],_0x1502d0),port=flags[_0x2eb054(0x65b,0x45c)]||env[_0x2eb054(0x254,0x34b)]||0x2*0xf29+-0x2*-0x32b+-0x9c*0x26;console['log'](_0x2eb054(0x1ee,0x306)+_0x2a8cd3(0x2e,0x1ac)+_0x2eb054(0x585,0x517)+_0x2eb054(0x145,0x2dd)+'th\x20wa'+_0x2eb054(0x650,0x5e6)+_0x2eb054(0x1c9,0x2cf)+_0x2a8cd3(-0xf9,0x79)+_0x2a8cd3(-0x2db,-0x146)+_0x2eb054(0x5c4,0x5d8)+_0x2eb054(0x392,0x3cd)),console[_0x2a8cd3(-0x19d,-0x1e0)](_0x2a8cd3(-0x92,-0x77)+_0x2a8cd3(0x24a,0xa1)+_0x2a8cd3(0x179,0xd1)+'lhost'+':'+port),console[_0x2a8cd3(-0x82,-0x1e0)](_0x2eb054(0x273,0x1f2)+_0x2a8cd3(0x1cd,0x113)+_0x2a8cd3(-0x29,-0x2c)+'hdog\x20'+_0x2eb054(0x3da,0x418)+_0x2eb054(0x3c9,0x20f)+_0x2a8cd3(-0x258,-0x1a5)+_0x2a8cd3(-0x19d,-0x23)),process['on'](_0x2a8cd3(-0x78,0xf2)+'T',()=>{function _0x50acb0(_0x352898,_0x32a55e){return _0x2a8cd3(_0x32a55e,_0x352898-0x637);}child[_0x50acb0(0x4ab,0x37f)]('SIGTE'+'RM');}),process['on']('SIGTE'+'RM',()=>{function _0x4f65b8(_0x456ee4,_0x3069cc){return _0x2a8cd3(_0x3069cc,_0x456ee4-0x540);}function _0x168d3d(_0x564621,_0x5527e5){return _0x2a8cd3(_0x564621,_0x5527e5-0x275);}child[_0x4f65b8(0x3b4,0x346)](_0x168d3d(-0x1bb,0x39)+'RM');}),child['on'](_0x2a8cd3(0xfa,0x162),_0x55a2e0=>{process['exit'](_0x55a2e0||0x15f6+0x2*-0x3e8+-0xe26);});}}}