@nuvin/nuvin-cli 1.36.0 → 1.37.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/AutoUpdater-O6VF4T4I.js +1 -0
- package/dist/README.md +10 -0
- package/dist/TokenStorage-OZ7HSAEA.js +1 -1
- package/dist/UpdateChecker-37HQLC44.js +1 -0
- package/dist/VERSION +2 -2
- package/dist/chunk-3YTWOK4O.js +1 -1
- package/dist/chunk-6TF5BO5M.js +1 -0
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BCLZT6CC.js +1 -1
- package/dist/chunk-BWIY46RS.js +1 -1
- package/dist/chunk-EWJ4FPME.js +1 -0
- package/dist/chunk-NHBPZPAB.js +1 -1
- package/dist/chunk-QXF3MUZO.js +1 -0
- package/dist/chunk-RY5MYNSA.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-SLX5RSMH.js +1 -0
- package/dist/mcp-handler-4NECBU7D.js +1 -1
- package/dist/messageProcessor-GMABEADO.js +1 -1
- package/dist/profile-handler-QQEL2P7I.js +1 -1
- package/dist/start-KZNEOLTL.js +1 -0
- package/dist/useSessionManagement-6NGJIORU.js +1 -1
- package/package.json +3 -2
- package/dist/AutoUpdater-B3B4RLR4.js +0 -1
- package/dist/UpdateChecker-2LAM3Q56.js +0 -1
- package/dist/chunk-DREKEDTB.js +0 -1
- package/dist/demo-mode-QOLMQFUJ.js +0 -1
package/README.md
CHANGED
|
@@ -102,6 +102,16 @@ nuvin --provider openrouter --model openai/gpt-4o --config ./config.yaml
|
|
|
102
102
|
nuvin --provider zai --model glm-4.7
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
### ACP Server Mode
|
|
106
|
+
|
|
107
|
+
Run Nuvin as an ACP server over stdio:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
nuvin --acp
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Notes: Uses the same config resolution as the CLI. File system and terminal actions use local Nuvin tools (no ACP fs/terminal proxy in the initial implementation).
|
|
114
|
+
|
|
105
115
|
## Environment Variables
|
|
106
116
|
|
|
107
117
|
Set up authentication via environment variables:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x36145b,_0x1dde25){const _0x496c09={_0x30f985:0x40c,_0x4f5056:0x422,_0x1e2577:0x415,_0x203105:0x417,_0x3f0d07:0x417,_0x3ee8c6:0x411,_0x3d580e:0x400,_0x3ecfd4:0x24,_0x1f6b8c:0x34,_0x1270ea:0x26,_0x3c7ed9:0x2d,_0x343304:0x10,_0x588243:0x45,_0x3625cf:0x25,_0x2858c2:0x14,_0x40ed1d:0x412,_0x26bb6b:0x414,_0x2898bd:0x40c,_0x21f90d:0x36,_0x2eb536:0x2a,_0x165226:0x40e,_0x1438c6:0x40a,_0xca0d24:0x410,_0x200ea5:0x412},_0x213180={_0x2a98df:0x1b8},_0x6f4a55={_0x26cd8c:0x223};function _0x43bda9(_0x2655a4,_0x1271e8,_0x26a955,_0x445ce1){return _0x245c(_0x1271e8-_0x6f4a55._0x26cd8c,_0x26a955);}const _0x2991e9=_0x36145b();function _0x3cafe6(_0xb0702c,_0x3a48b1,_0x8f8016,_0x2aca96){return _0x245c(_0xb0702c- -_0x213180._0x2a98df,_0x8f8016);}while(!![]){try{const _0x4ffcf2=-parseInt(_0x43bda9(0x416,_0x496c09._0x30f985,_0x496c09._0x4f5056,0x3fb))/0x1*(parseInt(_0x43bda9(0x41c,_0x496c09._0x1e2577,_0x496c09._0x203105,_0x496c09._0x3f0d07))/0x2)+parseInt(_0x43bda9(_0x496c09._0x3ee8c6,_0x496c09._0x3d580e,0x407,0x3ed))/0x3+parseInt(_0x3cafe6(_0x496c09._0x3ecfd4,0x19,0x1f,_0x496c09._0x1f6b8c))/0x4+parseInt(_0x3cafe6(0x20,_0x496c09._0x1270ea,_0x496c09._0x3c7ed9,_0x496c09._0x343304))/0x5*(parseInt(_0x3cafe6(0x40,_0x496c09._0x588243,0x3e,0x48))/0x6)+-parseInt(_0x3cafe6(0x29,0x34,_0x496c09._0x3625cf,0x22))/0x7+parseInt(_0x3cafe6(0x26,0x2f,_0x496c09._0x2858c2,0x3b))/0x8*(parseInt(_0x43bda9(_0x496c09._0x40ed1d,_0x496c09._0x26bb6b,0x410,_0x496c09._0x2898bd))/0x9)+-parseInt(_0x3cafe6(_0x496c09._0x21f90d,0x2e,0x2d,_0x496c09._0x2eb536))/0xa*(-parseInt(_0x43bda9(_0x496c09._0x165226,_0x496c09._0x1438c6,_0x496c09._0xca0d24,_0x496c09._0x200ea5))/0xb);if(_0x4ffcf2===_0x1dde25)break;else _0x2991e9['push'](_0x2991e9['shift']());}catch(_0x2bcf88){_0x2991e9['push'](_0x2991e9['shift']());}}}(_0x3b62,0x9c370));import{exec as _0x474876,spawn as _0xe9dfd4}from'child_process';import{promisify as _0x3c0182}from'util';function _0x245c(_0x5be038,_0x3c5e38){_0x5be038=_0x5be038-0x1d5;const _0x3b62ea=_0x3b62();let _0x245c1e=_0x3b62ea[_0x5be038];if(_0x245c['qasqYV']===undefined){var _0x3fb71e=function(_0x495c0a){const _0x5bb344='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x474876='',_0xe9dfd4='';for(let _0x3c0182=0x0,_0x19e633,_0x733d7b,_0xab49a4=0x0;_0x733d7b=_0x495c0a['charAt'](_0xab49a4++);~_0x733d7b&&(_0x19e633=_0x3c0182%0x4?_0x19e633*0x40+_0x733d7b:_0x733d7b,_0x3c0182++%0x4)?_0x474876+=String['fromCharCode'](0xff&_0x19e633>>(-0x2*_0x3c0182&0x6)):0x0){_0x733d7b=_0x5bb344['indexOf'](_0x733d7b);}for(let _0x5fa3ca=0x0,_0x46b6f7=_0x474876['length'];_0x5fa3ca<_0x46b6f7;_0x5fa3ca++){_0xe9dfd4+='%'+('00'+_0x474876['charCodeAt'](_0x5fa3ca)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xe9dfd4);};_0x245c['VkrsOf']=_0x3fb71e,_0x245c['inTfsC']={},_0x245c['qasqYV']=!![];}const _0x130425=_0x3b62ea[0x0],_0x4da097=_0x5be038+_0x130425,_0x4fb58a=_0x245c['inTfsC'][_0x4da097];return!_0x4fb58a?(_0x245c1e=_0x245c['VkrsOf'](_0x245c1e),_0x245c['inTfsC'][_0x4da097]=_0x245c1e):_0x245c1e=_0x4fb58a,_0x245c1e;}function _0x3b62(){const _0x230e20=['l3bUCg0V','AwDUB3jL','lY55yxjUlW','Cg5WBq','mtuWmtCYvMfYB0Xm','CMvHzgXPBMSGiG','mZDcwhPIDfi','EwfYBIbNBg9IywWGBgLZDcaTlxbHDhrLCM4Gqg51DMLUl251DMLUlwnSAsaYpI9KzxyVBNvSBa','qg51DMLUl251DMLUlwnSAq','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','EwfYBG','mJuWrxfduMvs','B25vCgrHDgvdB21WBgv0zwq','y2HLy2TgB3jvCgrHDgu','nZj3Dfrst1K','ntKYmtjxteTizwq','qgXHDgvZDa','l3LHCM4V','ywXS','BM9Kzv9TB2r1BgvZ','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','mZm0mJeYnNHLDfLkAa','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','Dw5Yzwy','zxHPDa','vxbKyxrLigzHAwXLzdOG','Bgf0zxn0','EwfYBIbNBg9IywWGywrKia','BNbTigLUC3rHBgWGlwCG','Cg5WBsbHzgqGlwCG','Aw5JBhvKzxm','lI9vCgrHDgvdAgvJA2vYltm3sffmqZq0lMPZ','nun0twDIqG','l25WBs8','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','B25vCgrHDgvtDgfYDgvK','mtC1mtCXmM5wvLLJsq','mtG1mJiZm2TWCw5yrq','nZu2mta0EvHkvMjp','zxjYB3i','BNbT','nJGYmtqWmMTTt3nKCG','lY5WBNbTlW'];_0x3b62=function(){return _0x230e20;};return _0x3b62();}var v=_0x3c0182(_0x474876),d=_0x423ce3(0x2ce,0x2be,0x2b0,0x2b7);async function a(_0x19e633,_0x733d7b){try{let {stdout:_0xab49a4}=await v(_0x19e633,{'timeout':_0x733d7b});return _0xab49a4['trim']();}catch{return null;}}function _0x423ce3(_0x5e9186,_0x26b319,_0x4c6d0e,_0x5f417d){const _0x2a3386={_0x21dd75:0xd3};return _0x245c(_0x26b319-_0x2a3386._0x21dd75,_0x5f417d);}var h;(_0x5fa3ca=>{const _0x320b23={_0x13e7ac:0x78,_0x1ea8f7:0x81,_0x591726:0x552,_0x4b9b69:0x55e,_0x131758:0x8f,_0x38fd0d:0x75,_0x33e34b:0x563,_0x479f50:0x579,_0x2a5340:0x56c,_0x4f835b:0x584,_0x11a3ef:0x57e,_0x54290f:0x9a,_0x2b7571:0x56b,_0x48ecca:0x57d},_0x2df67c={_0x2a089e:0xf1,_0xb13851:0xf0,_0x3f8e73:0x10a,_0x521b69:0xf7,_0x2f8059:0xd6,_0x2410db:0x46,_0x3cf9b5:0x45,_0x222f85:0x4f,_0x46435d:0x40,_0x20304e:0x4a,_0x429162:0x33,_0x1ddf25:0x58,_0x37ed09:0x45},_0x4764df={_0x20ca84:0x54,_0x5980cf:0x61,_0x19e92a:0x43,_0x1f8238:0x2d2,_0x346b59:0x2db,_0x1674b7:0x2cd,_0x3c5554:0x52,_0x4034c2:0x4a,_0x4c488c:0x50,_0x383fb2:0x5f,_0x4b020c:0x56,_0xd3a9ac:0x67,_0x4ca490:0x66,_0x2b9d53:0x4d},_0x4a63de={_0x3c67f3:0x326,_0x24025d:0x31c,_0xbe7975:0x32a,_0x358bc6:0x159,_0x372488:0x339,_0x40bcbd:0x328,_0x4e26a3:0x126,_0x3b11e1:0x14d,_0x1e7e51:0x149,_0x4327ce:0x146,_0xc05d58:0x347,_0x1dbe0f:0x348,_0x417034:0x14b,_0x52013d:0x143,_0x15c105:0x149,_0xaaee56:0x334,_0x407c51:0x327,_0x186d65:0x155,_0xf94ed5:0x14a,_0x43f810:0x13c,_0x5d25e2:0x315,_0x10b552:0x338,_0x16d783:0x318,_0x1bfa95:0x328,_0x48895:0x325,_0x2f908a:0x145,_0x59ccd2:0x14d,_0x1d2162:0x13b,_0x1c4f0d:0x309,_0x517b13:0x306,_0x95ed72:0x305,_0x40ee79:0x308,_0x2aa7fa:0x307,_0x176b37:0x318,_0x2ca118:0x32f,_0xcd0cb9:0x338,_0x5bed70:0x337,_0x52c8a3:0x339,_0x186e54:0x32c,_0x4d5306:0x316,_0x385b97:0x32f,_0x5ae7cf:0x338,_0x4cdfca:0x15a,_0x486e6e:0x32d,_0xd76b9f:0x32d,_0x140d39:0x13b,_0x2236e4:0x138,_0x266c1e:0x33a,_0xfd48c2:0x142,_0x503976:0x13f};async function _0x46b6f7(){function _0x508279(_0x48af0d,_0x96fdde,_0x11405f,_0x170e55){return _0x245c(_0x11405f- -0x31f,_0x48af0d);}let _0x52d510=await a('which\x20nuvin',0xbb8);function _0x5973e7(_0xee0bb2,_0x37ea5d,_0x1d139e,_0x9f6330){return _0x245c(_0x9f6330-0x142,_0x37ea5d);}if(_0x52d510){let _0x402b99=await a(_0x5973e7(0x31d,_0x4a63de._0x3c67f3,_0x4a63de._0x24025d,_0x4a63de._0xbe7975)+_0x52d510+'\x22',0xbb8);if(_0x402b99){if(_0x402b99[_0x508279(-0x152,-0x13c,-0x149,-_0x4a63de._0x358bc6)](_0x508279(-0x12a,-0x136,-0x13c,-0x14b))||_0x402b99['includes'](_0x5973e7(_0x4a63de._0x372488,_0x4a63de._0x40bcbd,0x320,0x324)))return _0x508279(-_0x4a63de._0x4e26a3,-0x14d,-0x139,-0x149);if(_0x402b99[_0x508279(-0x157,-_0x4a63de._0x3b11e1,-_0x4a63de._0x1e7e51,-_0x4a63de._0x4327ce)](_0x5973e7(_0x4a63de._0xc05d58,_0x4a63de._0x1dbe0f,0x33b,0x336))||_0x402b99[_0x508279(-_0x4a63de._0x417034,-_0x4a63de._0x52013d,-_0x4a63de._0x15c105,-0x13a)](_0x5973e7(_0x4a63de._0xaaee56,0x31b,0x334,_0x4a63de._0x407c51)))return'yarn';if(_0x402b99[_0x508279(-0x13f,-0x14b,-_0x4a63de._0x15c105,-_0x4a63de._0x186d65)](_0x508279(-_0x4a63de._0xf94ed5,-0x152,-_0x4a63de._0x4327ce,-_0x4a63de._0x43f810))||_0x402b99[_0x5973e7(_0x4a63de._0x5d25e2,0x326,0x316,0x318)](_0x5973e7(0x344,0x345,0x34a,_0x4a63de._0x10b552)))return _0x5973e7(_0x4a63de._0xaaee56,_0x4a63de._0xbe7975,0x32b,0x322);}else{if(_0x52d510[_0x5973e7(_0x4a63de._0x407c51,0x306,0x303,_0x4a63de._0x16d783)](_0x5973e7(0x30f,0x310,_0x4a63de._0x1bfa95,_0x4a63de._0x48895))||_0x52d510[_0x508279(-0x13c,-_0x4a63de._0x2f908a,-0x149,-_0x4a63de._0x59ccd2)]('/.pnpm/'))return _0x508279(-_0x4a63de._0x1d2162,-0x14b,-0x139,-0x14a);if(_0x52d510[_0x5973e7(_0x4a63de._0x1c4f0d,_0x4a63de._0x517b13,_0x4a63de._0x95ed72,0x318)]('/yarn/')||_0x52d510[_0x5973e7(_0x4a63de._0x40ee79,0x30c,_0x4a63de._0x2aa7fa,_0x4a63de._0x176b37)](_0x508279(-0x14e,-0x145,-0x13a,-0x14f)))return _0x5973e7(0x32e,0x31f,0x31e,_0x4a63de._0x2ca118);}}let [_0x4af044,_0x2bbae2,_0x97a78b]=await Promise[_0x5973e7(0x32d,_0x4a63de._0xcd0cb9,0x34a,_0x4a63de._0x5bed70)]([a(_0x508279(-0x147,-_0x4a63de._0x1d2162,-0x145,-0x153),0x1388),a(_0x5973e7(0x33d,0x341,0x332,_0x4a63de._0x52c8a3),0x1388),a(_0x5973e7(0x319,0x33d,0x31d,_0x4a63de._0x186e54),0x1388)]);return _0x4af044?.[_0x5973e7(0x30d,_0x4a63de._0x4d5306,0x32a,_0x4a63de._0x16d783)](_0x5973e7(0x328,_0x4a63de._0x385b97,_0x4a63de._0x5ae7cf,0x32d))?'npm':_0x2bbae2?.[_0x508279(-0x15e,-_0x4a63de._0x2f908a,-0x149,-_0x4a63de._0x4cdfca)](_0x5973e7(_0x4a63de._0x486e6e,0x342,0x324,_0x4a63de._0xd76b9f))?_0x508279(-0x142,-0x14a,-0x139,-_0x4a63de._0x140d39):_0x97a78b?.[_0x508279(-_0x4a63de._0x2236e4,-0x135,-0x149,-0x152)](_0x5973e7(_0x4a63de._0x266c1e,0x31c,0x338,_0x4a63de._0xd76b9f))?'yarn':_0x508279(-0x13a,-_0x4a63de._0xfd48c2,-_0x4a63de._0x503976,-0x14e);}function _0x1d8445(_0x309385,_0x4a2637){const _0x14d9db={_0x40542f:0x19f},_0x213c54={_0x9a45f0:0xf8};function _0x145359(_0x16f655,_0x2d7dd7,_0x20c2b8,_0x622b04){return _0x245c(_0x622b04-_0x213c54._0x9a45f0,_0x20c2b8);}function _0x56ff55(_0x42a5d1,_0x52429f,_0x2bca9e,_0x3d878d){return _0x245c(_0x42a5d1- -_0x14d9db._0x40542f,_0x3d878d);}let _0x51de57=_0x4a2637?d+'@'+_0x4a2637:d+_0x56ff55(_0x4764df._0x20ca84,_0x4764df._0x5980cf,0x4f,_0x4764df._0x19e92a);switch(_0x309385){case'pnpm':return _0x145359(_0x4764df._0x1f8238,0x2e1,_0x4764df._0x346b59,_0x4764df._0x1674b7)+_0x51de57;case _0x56ff55(0x4e,_0x4764df._0x3c5554,_0x4764df._0x4034c2,_0x4764df._0x4c488c):return _0x56ff55(_0x4764df._0x383fb2,_0x4764df._0x4b020c,_0x4764df._0xd3a9ac,0x63)+_0x51de57;default:return _0x56ff55(0x60,_0x4764df._0x4ca490,_0x4764df._0x2b9d53,0x5f)+_0x51de57;}}async function _0x5f2841(_0x6eaf94){const _0x383e8b={_0x38782f:0x356,_0x3b4027:0x360},_0xd8dec7={_0x2b5aa7:0x87,_0x2acbbc:0x96},_0xd3c2e4={_0x4eec0c:0x157},_0x4f962d={_0x3c9c19:0x14a,_0x105dc5:0x10e,_0x244f74:0x669},_0x2a280b={_0x5ef7c0:0x383};function _0x3769f5(_0x10709c,_0xd887d3,_0x3ab599,_0x45b869){return _0x245c(_0x45b869-_0x2a280b._0x5ef7c0,_0x3ab599);}let {UpdateChecker:_0x5dce41}=await import(_0x557d7d(-0x8d,-0xa3,-0x9c,-0x9a));function _0x557d7d(_0x177993,_0x2a7d0e,_0x133889,_0x1df87){return _0x245c(_0x1df87- -0x271,_0x133889);}try{let _0x52f6c9=await _0x5dce41[_0x557d7d(-_0x320b23._0x13e7ac,-0x73,-0x76,-_0x320b23._0x1ea8f7)]({'onUpdateAvailable':_0x6eaf94?.['onUpdateAvailable'],'onError':_0x6eaf94?.['onError']});if(!_0x52f6c9['hasUpdate'])return!0x1;_0x6eaf94?.[_0x3769f5(0x56f,_0x320b23._0x591726,0x563,_0x320b23._0x4b9b69)]&&_0x6eaf94[_0x557d7d(-0x97,-_0x320b23._0x131758,-0x8d,-0x96)]();let _0x165a93=await _0x46b6f7(),_0x1ae0e9=_0x1d8445(_0x165a93,_0x52f6c9[_0x557d7d(-0x82,-_0x320b23._0x38fd0d,-0x8a,-0x74)]),_0x2992b6=_0xe9dfd4('sh',['-c',_0x1ae0e9],{'detached':!0x0,'stdio':_0x3769f5(_0x320b23._0x33e34b,_0x320b23._0x479f50,0x560,0x567)});return _0x2992b6['on'](_0x3769f5(0x56a,_0x320b23._0x2a5340,_0x320b23._0x4f835b,_0x320b23._0x11a3ef),_0x28b521=>{const _0x2675c3={_0x3c9bbe:0x186,_0x1112dc:0xc7};function _0x32b1ee(_0x31c2b6,_0x1bf876,_0x13d09c,_0x322826){return _0x3769f5(_0x31c2b6-_0x4f962d._0x3c9c19,_0x1bf876-_0x4f962d._0x105dc5,_0x13d09c,_0x1bf876- -_0x4f962d._0x244f74);}function _0xbac700(_0x2ad059,_0xf70c80,_0x5ac54a,_0x15e48e){return _0x557d7d(_0x2ad059-0xe7,_0xf70c80-_0x2675c3._0x3c9bbe,_0x15e48e,_0x5ac54a-_0x2675c3._0x1112dc);}if(_0x6eaf94?.[_0x32b1ee(-_0x2df67c._0x2a089e,-0xf7,-_0x2df67c._0xb13851,-_0x2df67c._0x3f8e73)]){let _0x19d0b7=_0x28b521===0x0,_0x287077=_0x19d0b7?'Update\x20to\x20v'+_0x52f6c9[_0x32b1ee(-_0x2df67c._0x521b69,-0xe9,-0xfd,-_0x2df67c._0x2f8059)]+_0xbac700(_0x2df67c._0x2410db,_0x2df67c._0x3cf9b5,_0x2df67c._0x222f85,0x46):_0xbac700(_0x2df67c._0x46435d,_0x2df67c._0x20304e,0x42,0x2c);_0x6eaf94[_0xbac700(_0x2df67c._0x429162,_0x2df67c._0x1ddf25,_0x2df67c._0x37ed09,0x3e)](_0x19d0b7,_0x287077);}}),_0x2992b6['on'](_0x557d7d(-0xa5,-0x88,-_0x320b23._0x54290f,-0x92),_0x4d935a=>{function _0x14b776(_0x3dedc4,_0x4aaed2,_0x5d7875,_0x11c149){return _0x3769f5(_0x3dedc4-_0xd3c2e4._0x4eec0c,_0x4aaed2-0x41,_0x4aaed2,_0x5d7875- -0x21f);}function _0x261b71(_0x4361a9,_0x8a97fe,_0x47b5f2,_0x5d2efb){return _0x3769f5(_0x4361a9-_0xd8dec7._0x2b5aa7,_0x8a97fe-0x1b7,_0x47b5f2,_0x8a97fe- -_0xd8dec7._0x2acbbc);}_0x6eaf94?.[_0x261b71(0x4ed,0x4dc,0x4d4,0x4e0)]&&_0x6eaf94['onUpdateCompleted'](!0x1,_0x14b776(0x358,_0x383e8b._0x38782f,_0x383e8b._0x3b4027,0x360)+_0x4d935a['message']);}),_0x2992b6[_0x3769f5(0x575,_0x320b23._0x2b7571,0x57d,_0x320b23._0x48ecca)](),!0x0;}catch(_0x527c9d){return _0x6eaf94?.['onError']&&_0x6eaf94['onError'](_0x527c9d instanceof Error?_0x527c9d:new Error(String(_0x527c9d))),!0x1;}}_0x5fa3ca['checkAndUpdate']=_0x5f2841;})(h||={});export{h as AutoUpdater};
|
package/dist/README.md
CHANGED
|
@@ -102,6 +102,16 @@ nuvin --provider openrouter --model openai/gpt-4o --config ./config.yaml
|
|
|
102
102
|
nuvin --provider zai --model glm-4.7
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
### ACP Server Mode
|
|
106
|
+
|
|
107
|
+
Run Nuvin as an ACP server over stdio:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
nuvin --acp
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Notes: Uses the same config resolution as the CLI. File system and terminal actions use local Nuvin tools (no ACP fs/terminal proxy in the initial implementation).
|
|
114
|
+
|
|
105
115
|
## Environment Variables
|
|
106
116
|
|
|
107
117
|
Set up authentication via environment variables:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
(function(_0x13a161,_0x455224){var _0x3427fd={_0x1cb679:0x12f,_0x45ba0a:0x12c,_0x2acb65:0x137,_0x1b4547:0x137,_0x262bcf:0x131,_0x55ff3c:0x137,_0x122e5d:0x2f5,_0x5656e1:0x2f4,_0x5f4647:0x12d,_0x837718:0x129,_0x9b7bef:0x2f5,_0x2e6c7e:0x2f7,_0x3aa7d5:0x2f8,_0xbf2fc9:0x2f9,_0x1e59c1:0x136,_0x2886cb:0x127,_0x75b093:0x2fd,_0x5822a7:0x2f4,_0x48f691:0x2f0,_0x4e6eda:0x2ef};function _0x1dd309(_0x1c8ff5,_0x5cd830,_0x5516d4,_0x3752a2){return _0x18eb(_0x5cd830-0x109,_0x3752a2);}var _0x4e5bb7=_0x13a161();function _0x442ca2(_0x1faa2e,_0x41c5db,_0x39ad53,_0x134ac0){return _0x18eb(_0x39ad53- -0xbf,_0x41c5db);}while(!![]){try{var _0x12863a=parseInt(_0x442ca2(_0x3427fd._0x1cb679,0x12f,0x12e,_0x3427fd._0x45ba0a))/0x1*(parseInt(_0x442ca2(_0x3427fd._0x2acb65,_0x3427fd._0x1b4547,_0x3427fd._0x262bcf,_0x3427fd._0x55ff3c))/0x2)+parseInt(_0x1dd309(0x2f3,_0x3427fd._0x122e5d,_0x3427fd._0x5656e1,0x2f8))/0x3+-parseInt(_0x1dd309(0x2ee,0x2f3,0x2ed,_0x3427fd._0x5656e1))/0x4*(-parseInt(_0x442ca2(_0x3427fd._0x5f4647,_0x3427fd._0x1cb679,_0x3427fd._0x837718,0x12a))/0x5)+-parseInt(_0x1dd309(0x2f8,0x2f2,0x2ec,0x2ef))/0x6+parseInt(_0x1dd309(_0x3427fd._0x9b7bef,_0x3427fd._0x2e6c7e,_0x3427fd._0x3aa7d5,_0x3427fd._0xbf2fc9))/0x7*(parseInt(_0x442ca2(0x12e,_0x3427fd._0x1e59c1,0x132,0x137))/0x8)+-parseInt(_0x442ca2(_0x3427fd._0x2886cb,0x129,0x12c,0x132))/0x9*(-parseInt(_0x1dd309(0x2f6,0x2f8,_0x3427fd._0x75b093,0x2f3))/0xa)+parseInt(_0x1dd309(_0x3427fd._0x5822a7,0x2f0,_0x3427fd._0x48f691,_0x3427fd._0x122e5d))/0xb*(-parseInt(_0x1dd309(0x2eb,_0x3427fd._0x4e6eda,0x2e9,0x2e9))/0xc);if(_0x12863a===_0x455224)break;else _0x4e5bb7['push'](_0x4e5bb7['shift']());}catch(_0x465e34){_0x4e5bb7['push'](_0x4e5bb7['shift']());}}}(_0x3fba,0x79019));import{a,b,c,d}from'./chunk-NHBPZPAB.js';export{a as FileTokenStorage,b as MemoryTokenStorage,c as getDefaultTokenStorage,d as setDefaultTokenStorage};function _0x18eb(_0x50d985,_0x5adc89){_0x50d985=_0x50d985-0x1e6;var _0x3fba24=_0x3fba();var _0x18ebf4=_0x3fba24[_0x50d985];if(_0x18eb['zFGvHA']===undefined){var _0x481b5f=function(_0x2082b3){var _0x32570b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x29edd0='',_0x544bd0='';for(var _0x368245=0x0,_0x565809,_0x78d225,_0x3d06ff=0x0;_0x78d225=_0x2082b3['charAt'](_0x3d06ff++);~_0x78d225&&(_0x565809=_0x368245%0x4?_0x565809*0x40+_0x78d225:_0x78d225,_0x368245++%0x4)?_0x29edd0+=String['fromCharCode'](0xff&_0x565809>>(-0x2*_0x368245&0x6)):0x0){_0x78d225=_0x32570b['indexOf'](_0x78d225);}for(var _0x581ccb=0x0,_0x3f793a=_0x29edd0['length'];_0x581ccb<_0x3f793a;_0x581ccb++){_0x544bd0+='%'+('00'+_0x29edd0['charCodeAt'](_0x581ccb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x544bd0);};_0x18eb['yGHmaq']=_0x481b5f,_0x18eb['yePJWw']={},_0x18eb['zFGvHA']=!![];}var _0x3fd60d=_0x3fba24[0x0],_0x258960=_0x50d985+_0x3fd60d,_0x193913=_0x18eb['yePJWw'][_0x258960];return!_0x193913?(_0x18ebf4=_0x18eb['yGHmaq'](_0x18ebf4),_0x18eb['yePJWw'][_0x258960]=_0x18ebf4):_0x18ebf4=_0x193913,_0x18ebf4;}function _0x3fba(){var _0x2c1313=['mtjovwLhvNC','mty0mZy0odzsuLDmz3m','mZbbA0z1uuW','ntaWnJG5ogLsBw1bqW','ntm1nZG0ueL2DhjO','mZC4mJaWn2zvvMLmDq','ndi1ndaZqxvQuvbP','mMvis1LiwG','mtK0mti3nxD4se9XDG','mJbwAe5fq3q','nZyXmtaYvvLuDerl','oeDfrhzNBG'];_0x3fba=function(){return _0x2c1313;};return _0x3fba();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x2ff0e1,_0x5bf152){const _0x6c7982={_0x4bd41a:0x293,_0x5e78ee:0x28d,_0x51d6d3:0x2a3,_0x25e99a:0x2a0,_0x3c7e95:0x2a8,_0x5f4c96:0x1d,_0x3a61ba:0x21,_0x21af86:0x24,_0x478c0e:0x12,_0x3274c1:0x29e,_0x1b488c:0x29a,_0xf251c8:0x2ad,_0x428c33:0x29,_0x1dcb3e:0x25,_0x2e328c:0x6,_0x3eb8a3:0x292,_0x28b3a1:0x29f,_0x1cd2c6:0x294,_0x194225:0x29c,_0x2cc97c:0x29c,_0x3aaa9b:0x297,_0x1607d7:0x16};function _0x1b2009(_0x10b8ff,_0x2fc34f,_0x233bea,_0x2a4e05){return _0x1b23(_0x233bea-0x165,_0x2a4e05);}function _0x530f39(_0x427692,_0x1fbf0e,_0x150b6b,_0xe7cefc){return _0x1b23(_0x150b6b- -0x114,_0xe7cefc);}const _0x2a98d5=_0x2ff0e1();while(!![]){try{const _0x41dfa7=parseInt(_0x1b2009(_0x6c7982._0x4bd41a,_0x6c7982._0x5e78ee,0x290,0x298))/0x1*(parseInt(_0x1b2009(_0x6c7982._0x51d6d3,0x2a2,_0x6c7982._0x25e99a,_0x6c7982._0x3c7e95))/0x2)+-parseInt(_0x530f39(_0x6c7982._0x5f4c96,_0x6c7982._0x3a61ba,0x20,0x29))/0x3*(parseInt(_0x530f39(0x22,_0x6c7982._0x21af86,0x1f,_0x6c7982._0x478c0e))/0x4)+parseInt(_0x1b2009(_0x6c7982._0x3274c1,_0x6c7982._0x1b488c,0x2a3,_0x6c7982._0xf251c8))/0x5*(-parseInt(_0x530f39(0x32,0x29,_0x6c7982._0x428c33,_0x6c7982._0x1dcb3e))/0x6)+parseInt(_0x1b2009(0x27f,0x292,0x289,0x281))/0x7*(parseInt(_0x530f39(0xd,_0x6c7982._0x2e328c,0x11,0x1f))/0x8)+parseInt(_0x1b2009(_0x6c7982._0x3274c1,_0x6c7982._0x3eb8a3,0x294,_0x6c7982._0x28b3a1))/0x9+parseInt(_0x1b2009(_0x6c7982._0x1cd2c6,_0x6c7982._0x194225,0x295,0x2a0))/0xa+parseInt(_0x1b2009(_0x6c7982._0x2cc97c,0x280,0x28d,_0x6c7982._0x3aaa9b))/0xb*(-parseInt(_0x530f39(0x19,0x21,_0x6c7982._0x1607d7,0xf))/0xc);if(_0x41dfa7===_0x5bf152)break;else _0x2a98d5['push'](_0x2a98d5['shift']());}catch(_0x3e0db2){_0x2a98d5['push'](_0x2a98d5['shift']());}}}(_0x1964,0xb4228));import{a as _0xc5fcbd}from'./chunk-AJHDLTY3.js';function _0x1964(){const _0x42a611=['zgvZDhjVEq','mtyXmJzJyLPcrLe','DMvYC2LVBG','mtu5nZjnufzVs3K','nJi3mdG2DfrJzxrs','Aw5JBhvKzxm','zw5K','B25fCNjVCG','oty0ndqYn0DrDMT4rW','odCZntG3mfrMsw5AyW','C3bSAxq','BwfW','ndaWmJeZmNvcAhnfqW','m2TAvu9QvW','CgfYC2u','qg51DMLUl251DMLUlwnSAq','B25vCgrHDgvbDMfPBgfIBgu','uMvXDwvZDcb0Aw1LB3v0','CMvXDwvZDa','BgvUz3rO','ng9Wv0rbCq','zgf0yq','ndGZmZi0CLngCuzq','ntbRtNLqweG','Bwf4','y2HLy2TgB3jvCgrHDgu','odq3vg5LB2nu','odu2nZjpDM5bwe4','yxbWBgLJyxrPB24VANnVBG'];_0x1964=function(){return _0x42a611;};return _0x1964();}import _0x15f2dc from'https';function _0x34cde2(_0x4b609d,_0x4ae738,_0x2b1acf,_0x25015d){const _0x5038f4={_0x50a787:0x6e};return _0x1b23(_0x4b609d- -_0x5038f4._0x50a787,_0x4ae738);}function _0x1b23(_0xeb2367,_0x1a8178){_0xeb2367=_0xeb2367-0x124;const _0x19645d=_0x1964();let _0x1b23cd=_0x19645d[_0xeb2367];if(_0x1b23['dIbNcr']===undefined){var _0x62796b=function(_0xc2ed23){const _0x31a2cc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc5fcbd='',_0x15f2dc='';for(let _0x3278db=0x0,_0x33425f,_0x1f7bfd,_0x347f45=0x0;_0x1f7bfd=_0xc2ed23['charAt'](_0x347f45++);~_0x1f7bfd&&(_0x33425f=_0x3278db%0x4?_0x33425f*0x40+_0x1f7bfd:_0x1f7bfd,_0x3278db++%0x4)?_0xc5fcbd+=String['fromCharCode'](0xff&_0x33425f>>(-0x2*_0x3278db&0x6)):0x0){_0x1f7bfd=_0x31a2cc['indexOf'](_0x1f7bfd);}for(let _0x46343f=0x0,_0x58f274=_0xc5fcbd['length'];_0x46343f<_0x58f274;_0x46343f++){_0x15f2dc+='%'+('00'+_0xc5fcbd['charCodeAt'](_0x46343f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x15f2dc);};_0x1b23['OJNzXT']=_0x62796b,_0x1b23['gHmzlC']={},_0x1b23['dIbNcr']=!![];}const _0x26315a=_0x19645d[0x0],_0x458490=_0xeb2367+_0x26315a,_0x12e46c=_0x1b23['gHmzlC'][_0x458490];return!_0x12e46c?(_0x1b23cd=_0x1b23['OJNzXT'](_0x1b23cd),_0x1b23['gHmzlC'][_0x458490]=_0x1b23cd):_0x1b23cd=_0x12e46c,_0x1b23cd;}var d='registry.npmjs.org',m=_0x34cde2(0xc8,0xc4,0xc2,0xba),f=0x1388,h;(_0x3278db=>{const _0x5a662c={_0x22848e:0x1b3,_0x256e30:0x1b8},_0x59def0={_0x1cded1:0x23b,_0x29e29a:0x246,_0x1f6344:0x23e,_0x4eedaf:0x23d,_0x1a7a41:0x16e,_0x1ee929:0x176,_0x1ddce6:0x16b,_0x3e5a9b:0x17b,_0x31a91b:0x23c,_0x1aa822:0x235,_0x4a66f2:0x232},_0x1db780={_0x23fcb9:0x1e3,_0x555554:0x101,_0xff055d:0x39},_0x599bed={_0x1edd41:0x2b7,_0x30b672:0x38f,_0x35d6ce:0x37b,_0x490a57:0x379,_0x1fabe6:0x391,_0x1f8ee5:0x384,_0x3fb2a5:0x37e,_0x266f3e:0x2c2,_0x2d5404:0x2ba,_0x17a817:0x2cd,_0x157df2:0x2bd,_0x30da6b:0x2b3,_0x2373e3:0x386},_0xe11dc8={_0x3fd305:0xe3,_0x28dc42:0x1b2};function _0x5d5a69(_0x43ecc2,_0x229a00,_0x630b69,_0x329ebb){return _0x34cde2(_0x329ebb-_0xe11dc8._0x3fd305,_0x43ecc2,_0x630b69-_0xe11dc8._0x28dc42,_0x329ebb-0x1d);}async function _0x33425f(_0x46343f){let _0x58f274=_0xc5fcbd();function _0x1422cf(_0x201472,_0x58ca7f,_0x43efea,_0x1990e5){return _0x1b23(_0x58ca7f-0x18b,_0x43efea);}function _0x35bbfe(_0x5a2733,_0x160070,_0x2ff159,_0x13a271){return _0x1b23(_0x2ff159-0x258,_0x160070);}try{let _0x3c8b38=await _0x1f7bfd();if(_0x3c8b38[_0x1422cf(0x2a9,0x2b7,0x2ac,_0x599bed._0x1edd41)]('-'))return{'current':_0x58f274,'latest':_0x3c8b38,'hasUpdate':!0x1};let _0x2e167d=_0x58f274[_0x35bbfe(_0x599bed._0x30b672,_0x599bed._0x35d6ce,0x384,0x380)]('-')&&!_0x3c8b38[_0x35bbfe(_0x599bed._0x490a57,_0x599bed._0x1fabe6,_0x599bed._0x1f8ee5,_0x599bed._0x3fb2a5)]('-')||_0x347f45(_0x58f274,_0x3c8b38)<0x0,_0x4bcd22={'current':_0x58f274,'latest':_0x3c8b38,'hasUpdate':_0x2e167d};return _0x2e167d&&_0x46343f?.['onUpdateAvailable']&&_0x46343f[_0x1422cf(0x2c3,_0x599bed._0x266f3e,_0x599bed._0x2d5404,_0x599bed._0x17a817)](_0x4bcd22),_0x4bcd22;}catch(_0x424dd1){return _0x46343f?.[_0x1422cf(0x2b0,0x2b9,_0x599bed._0x157df2,_0x599bed._0x30da6b)]&&_0x46343f[_0x35bbfe(0x38c,0x38e,_0x599bed._0x2373e3,0x37e)](_0x424dd1 instanceof Error?_0x424dd1:new Error(String(_0x424dd1))),{'current':_0x58f274,'latest':_0x58f274,'hasUpdate':!0x1};}}_0x3278db[_0x5d5a69(_0x5a662c._0x22848e,_0x5a662c._0x256e30,0x1b6,0x1b5)]=_0x33425f;function _0x1f7bfd(){const _0x266f7a={_0x25d39c:0xd3,_0xf54fd3:0xd0,_0x528fcc:0xba,_0x46f334:0xc1,_0x367e36:0xbd,_0x354d8c:0xc9,_0x3d1e73:0xbe,_0x17e3ee:0xcc},_0x31ce33={_0xb1a19:0x4a4,_0x3d2db7:0x48b,_0x14c582:0x49c,_0x1ec7a7:0x497,_0x37b499:0x2df,_0x39fd69:0x2d4,_0x3ca2ec:0x2ed};return new Promise((_0x54ec5a,_0x2332b3)=>{const _0x3b1bf9={_0x4804e0:0x83,_0x5ef839:0x22a},_0xd96bf7={_0x4d5310:0x1f6},_0x57b901={_0x574114:0x3d1},_0x4332cb={_0x2e3845:0x282},_0xf30b46={_0x37542d:0xed,_0x5f5471:0x788};let _0x223606={'hostname':d,'path':'/'+encodeURIComponent(m)+'/latest','method':'GET','headers':{'Accept':_0x44275c(-_0x266f7a._0x25d39c,-_0x266f7a._0xf54fd3,-0xc6,-0xd0)},'timeout':f},_0x123561=_0x15f2dc[_0x44275c(-_0x266f7a._0x528fcc,-0xb3,-_0x266f7a._0x46f334,-_0x266f7a._0x367e36)](_0x223606,_0x3226f8=>{const _0x455617={_0x368308:0x123,_0x2c77d1:0x12e,_0x320fea:0x132},_0x35475a={_0x4a960f:0x1ba,_0x336747:0x17d};let _0x18464f='';function _0x248d18(_0x4e73f6,_0x2275ed,_0x3954c8,_0x3a6ae1){return _0x43fa2c(_0x4e73f6-_0xf30b46._0x37542d,_0x4e73f6- -_0xf30b46._0x5f5471,_0x2275ed,_0x3a6ae1-0x132);}_0x3226f8['on'](_0x248d18(-0x27b,-0x280,-_0x4332cb._0x2e3845,-0x282),_0x2a2e1a=>{_0x18464f+=_0x2a2e1a;}),_0x3226f8['on']('end',()=>{const _0x702015={_0x45fe8f:0x11c};function _0x5eb96c(_0x3d4d9b,_0x510b7b,_0x39b142,_0x24dcc2){return _0x248d18(_0x3d4d9b-_0x35475a._0x4a960f,_0x24dcc2,_0x39b142-_0x35475a._0x336747,_0x24dcc2-0x198);}function _0x3cd18f(_0x24acd7,_0x30357a,_0xb5e3c6,_0x54577d){return _0x248d18(_0x54577d-0x15c,_0x30357a,_0xb5e3c6-0xa0,_0x54577d-_0x702015._0x45fe8f);}try{if(_0x3226f8['statusCode']===0xc8){let _0x324cb6=JSON[_0x3cd18f(-_0x455617._0x368308,-_0x455617._0x2c77d1,-0x12a,-0x126)](_0x18464f);_0x54ec5a(_0x324cb6[_0x3cd18f(-0x134,-0x12c,-0x12e,-_0x455617._0x320fea)]);}else _0x2332b3(new Error('HTTP\x20'+_0x3226f8['statusCode']));}catch(_0x3ceeef){_0x2332b3(_0x3ceeef);}});});function _0x43fa2c(_0x538083,_0x35e30e,_0x190af3,_0x1871b2){return _0x1b23(_0x35e30e-_0x57b901._0x574114,_0x190af3);}function _0x44275c(_0x41c1cb,_0x205abd,_0x5c8a46,_0x35fb85){return _0x1b23(_0x35fb85- -_0xd96bf7._0x4d5310,_0x41c1cb);}_0x123561['on']('error',_0x2332b3),_0x123561['on']('timeout',()=>{const _0x42c740={_0x308e5d:0x106,_0x45ebd1:0x95};function _0xef0d78(_0x19da21,_0x296e78,_0x40ed0a,_0x4a8b5b){return _0x43fa2c(_0x19da21-_0x3b1bf9._0x4804e0,_0x19da21- -_0x3b1bf9._0x5ef839,_0x296e78,_0x4a8b5b-0xbb);}function _0x3a0440(_0x3b1ef5,_0x4daabd,_0x2f0768,_0x40154a){return _0x44275c(_0x4daabd,_0x4daabd-_0x42c740._0x308e5d,_0x2f0768-_0x42c740._0x45ebd1,_0x40154a-0x566);}_0x123561[_0x3a0440(_0x31ce33._0xb1a19,_0x31ce33._0x3d2db7,_0x31ce33._0x14c582,_0x31ce33._0x1ec7a7)](),_0x2332b3(new Error(_0xef0d78(_0x31ce33._0x37b499,_0x31ce33._0x39fd69,0x2ea,_0x31ce33._0x3ca2ec)));}),_0x123561[_0x44275c(-_0x266f7a._0x354d8c,-_0x266f7a._0x3d1e73,-_0x266f7a._0x17e3ee,-0xc9)]();});}function _0x347f45(_0x58b506,_0xfdb8b6){const _0x48164a={_0x6a81f3:0x144,_0x8f2bae:0xf4};function _0x5147cb(_0x57df11,_0x39df80,_0x318b4c,_0x25089c){return _0x5d5a69(_0x57df11,_0x39df80-_0x48164a._0x6a81f3,_0x318b4c-_0x48164a._0x8f2bae,_0x318b4c- -0x3e4);}let _0x3a1ec5=_0x1957a6=>_0x1957a6['replace'](/^v/,'')[_0x326376(0x16d,0x177,0x162,0x170)]('-')[0x0],_0x2dbdda=_0x3a1ec5(_0x58b506)[_0x5147cb(-_0x59def0._0x1cded1,-_0x59def0._0x29e29a,-_0x59def0._0x1f6344,-0x241)]('.')[_0x5147cb(-0x23e,-0x241,-_0x59def0._0x4eedaf,-0x247)](Number),_0x186317=_0x3a1ec5(_0xfdb8b6)['split']('.')[_0x326376(_0x59def0._0x1a7a41,_0x59def0._0x1ee929,0x176,_0x59def0._0x1ddce6)](Number);for(let _0x5434f9=0x0;_0x5434f9<Math[_0x326376(_0x59def0._0x3e5a9b,0x171,0x182,0x185)](_0x2dbdda[_0x5147cb(-0x236,-0x237,-0x235,-_0x59def0._0x31a91b)],_0x186317[_0x5147cb(-0x23a,-0x240,-_0x59def0._0x1aa822,-_0x59def0._0x4a66f2)]);_0x5434f9++){let _0x4b3488=_0x2dbdda[_0x5434f9]||0x0,_0x50b0fb=_0x186317[_0x5434f9]||0x0;if(_0x4b3488>_0x50b0fb)return 0x1;if(_0x4b3488<_0x50b0fb)return-0x1;}function _0x326376(_0x9e7e9c,_0x1e886e,_0x171ecc,_0x296f3e){return _0x5d5a69(_0x1e886e,_0x1e886e-_0x1db780._0x23fcb9,_0x171ecc-_0x1db780._0x555554,_0x9e7e9c- -_0x1db780._0xff055d);}return 0x0;}})(h||={});export{h as UpdateChecker};
|
package/dist/VERSION
CHANGED
package/dist/chunk-3YTWOK4O.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x40c691,_0x5e0f85){const _0x71d7c={_0x2630d8:0x4d8,_0x1f6ab0:0x4c1,_0x3fdb77:0x4a0,_0x11fbf5:0x18f,_0x2b9939:0x4c7,_0x4de70c:0x495,_0x3c7c2e:0x4d7,_0x2bb11f:0x4fb,_0x4bc3f0:0x1d3,_0x328a8e:0x487,_0x213e87:0x497,_0x2b9b22:0x484,_0x464ff6:0x1ba,_0x1e8ac2:0x1bd,_0x135b56:0x4b8,_0x522470:0x1df,_0x5162c7:0x1d1,_0x282d19:0x1d1,_0x31a089:0x196,_0x212cba:0x1b7,_0x4701c9:0x1a3,_0x395d31:0x1a5,_0x4f817d:0x181,_0x19cd67:0x1a8,_0x654f51:0x183},_0xefd87c={_0x2ebc54:0x307},_0xe4659b={_0x454453:0x360};function _0x5b3b70(_0xd83fc2,_0x3ecf19,_0x3f334e,_0x5443a5){return _0x4589(_0x3ecf19-_0xe4659b._0x454453,_0x5443a5);}const _0x483b1a=_0x40c691();function _0xc67fb2(_0xec5a5d,_0x4c59be,_0x21ee24,_0x5178c6){return _0x4589(_0xec5a5d- -_0xefd87c._0x2ebc54,_0x4c59be);}while(!![]){try{const _0x4838da=-parseInt(_0x5b3b70(0x4be,0x4d4,0x4f3,_0x71d7c._0x2630d8))/0x1+parseInt(_0x5b3b70(0x4b8,_0x71d7c._0x1f6ab0,0x4bb,_0x71d7c._0x3fdb77))/0x2*(parseInt(_0xc67fb2(-_0x71d7c._0x11fbf5,-0x17a,-0x1ad,-0x171))/0x3)+parseInt(_0x5b3b70(0x492,0x4ab,_0x71d7c._0x2b9939,_0x71d7c._0x4de70c))/0x4*(parseInt(_0x5b3b70(0x4b9,_0x71d7c._0x3c7c2e,0x4d4,_0x71d7c._0x2bb11f))/0x5)+-parseInt(_0xc67fb2(-0x1be,-_0x71d7c._0x4bc3f0,-0x1cd,-0x19c))/0x6*(-parseInt(_0x5b3b70(_0x71d7c._0x328a8e,_0x71d7c._0x213e87,_0x71d7c._0x2b9b22,0x4a4))/0x7)+-parseInt(_0xc67fb2(-0x19d,-_0x71d7c._0x464ff6,-_0x71d7c._0x1e8ac2,-0x17e))/0x8*(parseInt(_0x5b3b70(_0x71d7c._0x135b56,_0x71d7c._0x4de70c,0x471,0x479))/0x9)+parseInt(_0xc67fb2(-0x1d3,-_0x71d7c._0x522470,-_0x71d7c._0x5162c7,-_0x71d7c._0x282d19))/0xa*(-parseInt(_0xc67fb2(-_0x71d7c._0x31a089,-0x1ae,-0x198,-_0x71d7c._0x212cba))/0xb)+-parseInt(_0xc67fb2(-_0x71d7c._0x4701c9,-0x1aa,-_0x71d7c._0x395d31,-_0x71d7c._0x4f817d))/0xc*(-parseInt(_0xc67fb2(-0x19c,-_0x71d7c._0x19cd67,-_0x71d7c._0x654f51,-0x190))/0xd);if(_0x4838da===_0x5e0f85)break;else _0x483b1a['push'](_0x483b1a['shift']());}catch(_0x4995b9){_0x483b1a['push'](_0x483b1a['shift']());}}}(_0x55aa,0x490a4));var s='default',c=_0x4195a5(0xbb,0x90,0x9a,0x9b),g=_0xa5a821(0x319,0x339,0x31e,0x319);import*as _0x2fff08 from'fs';function _0x4589(_0x131a66,_0x4f1e0c){_0x131a66=_0x131a66-0x131;const _0x55aa35=_0x55aa();let _0x458958=_0x55aa35[_0x131a66];if(_0x4589['dSKcDL']===undefined){var _0x1de38b=function(_0x1f3b48){const _0x361e70='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2fff08='',_0x4dd2c6='';for(let _0x4ca2da=0x0,_0x51d9a9,_0x4139a8,_0x478a6d=0x0;_0x4139a8=_0x1f3b48['charAt'](_0x478a6d++);~_0x4139a8&&(_0x51d9a9=_0x4ca2da%0x4?_0x51d9a9*0x40+_0x4139a8:_0x4139a8,_0x4ca2da++%0x4)?_0x2fff08+=String['fromCharCode'](0xff&_0x51d9a9>>(-0x2*_0x4ca2da&0x6)):0x0){_0x4139a8=_0x361e70['indexOf'](_0x4139a8);}for(let _0x5c760b=0x0,_0x38b953=_0x2fff08['length'];_0x5c760b<_0x38b953;_0x5c760b++){_0x4dd2c6+='%'+('00'+_0x2fff08['charCodeAt'](_0x5c760b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4dd2c6);};_0x4589['rTSOKU']=_0x1de38b,_0x4589['VuoOaU']={},_0x4589['dSKcDL']=!![];}const _0x5c5dcb=_0x55aa35[0x0],_0x23b15c=_0x131a66+_0x5c5dcb,_0xe78db=_0x4589['VuoOaU'][_0x23b15c];return!_0xe78db?(_0x458958=_0x4589['rTSOKU'](_0x458958),_0x4589['VuoOaU'][_0x23b15c]=_0x458958):_0x458958=_0xe78db,_0x458958;}function _0x4195a5(_0x7380be,_0x5470dc,_0x289d12,_0x5a49ee){return _0x4589(_0x5a49ee- -0xda,_0x5470dc);}import*as _0x4dd2c6 from'os';function _0x55aa(){const _0x4e20be=['uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','yMfZzurPCG','uhjVzMLSzsaN','mtCYn052quDnsa','BwTKAxi','y2XVBMvgCM9T','mZyWmZe1CeDrz25P','ChjVzMLSzxmUEwfTBa','D3jPDgvgAwXL','mta0mtvxuvfYENO','m0j1uxrfAG','CMvHzezPBgu','z2v0uhjVzMLSzurPCG','z2v0uhjVzMLSzunVBw1HBMrZrgLY','Dg9ju09tDhjPBMC','mZeWotbgwgnQufq','ndvSqKzeDNa','DgvZDa','mtmYmJnOEfniwwG','ywDLBNrZ','jYbHBhjLywr5igv4Axn0CW','ChjVBwLZzxm','B2jQzwn0','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','AxnezwzHDwX0','ChjVzMLSzxm','zgvZy3jPChrPB24','C2f2zvjLz2LZDhj5','CMvNAxn0CNK','u291CMnLihbYB2zPBguGjW','AM9PBG','CMvHzgrPCG','rgvMyxvSDcbWCM9MAwXL','BgLZDa','z2v0uhjVzMLSzufNzw50C0rPCG','Ag9TzwrPCG','nLzJrfDABG','DxrMltG','ndaWD3nIyvjy','ChvZAa','C3DPDgnO','BwvZC2fNzq','jY4Gu3DPDgnOihrVigfUB3rOzxiGChjVzMLSzsbMAxjZDcbVCIb1C2uGls1MB3jJzq','BgfZDfvZzwq','BMfTzq','y2XVBMvqCM9MAwXLrMLSzxm','DMfSDwvZ','zxHPC3rZu3LUyW','jYbKB2vZig5VDcbLEgLZDa','ChjVzMLSzxneAxi','y29WEurPCMvJDg9YEq','AxneAxjLy3rVCNK','C2vZC2LVBNm','y29WEuzPBgu','zgvSzxrL','lM51DMLU','ywn0AxzL','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','y3jLyxrL','q2fUBM90igrLBgv0zsbKzwzHDwX0ihbYB2zPBgu','mZi3mZaYtM9oqw1x','Bg9Nz2vY','q2fUBM90igrLBgv0zsbHy3rPDMuGChjVzMLSzsaN','mti4nhvRsfvHDG','CMvNAxn0CNLqyxrO','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','y29UzMLNlNLHBwW','z2v0uhjVzMLSzunVBMzPz1bHDgG','zM9Yy2u','nZC3mda4BfPjBMvN','mtuZmdeWq2vSy3vI','zxHPC3rZ','Bg9HzfjLz2LZDhj5'];_0x55aa=function(){return _0x4e20be;};return _0x55aa();}function _0xa5a821(_0x4c372e,_0xc85e93,_0x4f4c0c,_0x22afd3){return _0x4589(_0xc85e93-0x1fb,_0x22afd3);}import*as _0x4ca2da from'path';import{parse as _0x51d9a9,stringify as _0x4139a8}from'yaml';var p=class{constructor(_0x478a6d=()=>{}){const _0x4fe3f9={_0x185a5b:0x9a,_0x34d009:0x2d5,_0x22fb73:0x2c4,_0x2be110:0x2c6,_0x50bb82:0x2ae,_0x3122e1:0x2a6,_0x1719dc:0x8b,_0x3c8086:0x2aa,_0x38c38c:0x2bb,_0x2b1925:0x2a6,_0x1cbcb8:0x2c6,_0x430508:0x2cc,_0x23b6a6:0xaa,_0x3f1d55:0x7d,_0x3d438f:0x95,_0x4f4489:0x281,_0x16e363:0x2aa},_0xcfa92b={_0x2b74a3:0x1bb,_0x4077d7:0xa4,_0x5ebaee:0x19c},_0x55c098={_0x2b408e:0x1,_0x4f4415:0x12a};function _0xc14508(_0x1fc8aa,_0x487c49,_0x426678,_0x16df77){return _0x4195a5(_0x1fc8aa-0xa8,_0x487c49,_0x426678-_0x55c098._0x2b408e,_0x16df77- -_0x55c098._0x4f4415);}function _0x2f4a04(_0x1e28be,_0x1af593,_0x3f2652,_0x4d4495){return _0xa5a821(_0x1e28be-_0xcfa92b._0x2b74a3,_0x4d4495- -_0xcfa92b._0x4077d7,_0x3f2652-_0xcfa92b._0x5ebaee,_0x1af593);}this[_0xc14508(-_0x4fe3f9._0x185a5b,-0xbf,-0xb2,-0xa2)]=_0x478a6d,(this[_0x2f4a04(_0x4fe3f9._0x34d009,0x2e5,_0x4fe3f9._0x22fb73,_0x4fe3f9._0x2be110)]=_0x4ca2da['join'](_0x4dd2c6[_0x2f4a04(0x27d,_0x4fe3f9._0x50bb82,_0x4fe3f9._0x3122e1,0x29f)](),_0xc14508(-_0x4fe3f9._0x1719dc,-0x9a,-0x96,-0xa8)),this[_0xc14508(-0xca,-0xab,-0xb0,-0xae)]=_0x4ca2da['join'](this[_0x2f4a04(_0x4fe3f9._0x3c8086,_0x4fe3f9._0x38c38c,_0x4fe3f9._0x2b1925,_0x4fe3f9._0x1cbcb8)],g),this[_0x2f4a04(0x2b2,_0x4fe3f9._0x430508,0x2ae,0x2bc)]=_0x4ca2da[_0xc14508(-0xdc,-0xb9,-_0x4fe3f9._0x23b6a6,-0xc1)](this[_0xc14508(-_0x4fe3f9._0x3f1d55,-0x9d,-0x73,-_0x4fe3f9._0x3d438f)],c),this[_0x2f4a04(0x2b4,_0x4fe3f9._0x4f4489,_0x4fe3f9._0x16e363,0x298)]={'active':s,'profiles':{}});}async['initialize'](){const _0x332c15={_0x337f8f:0x188,_0xa07be:0x180,_0x5ed542:0x11f,_0x55c3b1:0x12c,_0x4ad17f:0x1c7,_0x11c955:0x101,_0x506fdf:0x10d,_0x2884dc:0x106,_0x4bbf36:0x1b5,_0x299337:0x17c,_0x6c28a6:0x199,_0x885592:0xf8,_0x2343f1:0x106,_0x4d13bc:0xe9,_0x56b5a1:0xfa,_0x15663c:0x111,_0x2adade:0x117},_0x5913ae={_0x15cc9e:0x1b8},_0x214ded={_0x34e56f:0x82};function _0x5ef972(_0x32f882,_0x3a49bc,_0x52c39c,_0x7c91aa){return _0x4195a5(_0x32f882-0x5d,_0x7c91aa,_0x52c39c-0xf2,_0x52c39c-_0x214ded._0x34e56f);}function _0x5b6dae(_0x3c8e6e,_0x5c9757,_0x248b50,_0x2d95be){return _0xa5a821(_0x3c8e6e-0x1,_0x2d95be- -_0x5913ae._0x15cc9e,_0x248b50-0x115,_0x248b50);}await _0x2fff08[_0x5b6dae(_0x332c15._0x337f8f,0x161,_0x332c15._0xa07be,0x17d)][_0x5ef972(0x139,_0x332c15._0x5ed542,0x11a,_0x332c15._0x55c3b1)](this[_0x5b6dae(_0x332c15._0x4ad17f,0x1c9,0x18f,0x1b2)],{'recursive':!0x0}),await _0x2fff08[_0x5ef972(0x100,_0x332c15._0x11c955,0xe2,0xe8)][_0x5ef972(_0x332c15._0x506fdf,_0x332c15._0x2884dc,0x11a,0x10f)](this[_0x5b6dae(_0x332c15._0x4bbf36,_0x332c15._0x299337,0x1a4,_0x332c15._0x6c28a6)],{'recursive':!0x0}),this[_0x5ef972(_0x332c15._0x885592,_0x332c15._0x2343f1,_0x332c15._0x4d13bc,_0x332c15._0x56b5a1)]=await this[_0x5ef972(0x119,_0x332c15._0x15663c,0x115,_0x332c15._0x2adade)]();}async[_0x4195a5(0x7c,0x87,0x89,0x6c)](){const _0x407b66={_0x165707:0x17,_0x5d6dc5:0x20,_0x23caa5:0x24,_0x1c2d05:0xea,_0x1a12d3:0x105,_0x513988:0xfd,_0x5d1cd0:0x34,_0x33c580:0x0,_0x228929:0xe8,_0x14d407:0xf2,_0x3e889f:0x17,_0x499243:0x18,_0x502e2b:0x10d},_0x3e9552={_0x334654:0x348},_0x38098f={_0x2cc18a:0x13d,_0x236ab8:0x67,_0x37cf42:0x161};let _0x5c760b=[];function _0x221a27(_0x18673d,_0x37b682,_0x506166,_0x2ecb11){return _0x4195a5(_0x18673d-_0x38098f._0x2cc18a,_0x18673d,_0x506166-_0x38098f._0x236ab8,_0x2ecb11- -_0x38098f._0x37cf42);}function _0x1061e7(_0x211f91,_0xd09812,_0x1c2adc,_0x32738c){return _0xa5a821(_0x211f91-0x2b,_0x1c2adc- -_0x3e9552._0x334654,_0x1c2adc-0x161,_0x211f91);}_0x5c760b[_0x1061e7(_0x407b66._0x165707,-_0x407b66._0x5d6dc5,-0x1,_0x407b66._0x23caa5)]({'name':s,'description':_0x221a27(-_0x407b66._0x1c2d05,-_0x407b66._0x1a12d3,-_0x407b66._0x513988,-0xf6),'created':new Date()[_0x1061e7(-_0x407b66._0x5d1cd0,-0x12,-0x1a,-0x28)](),'lastUsed':new Date()[_0x1061e7(-0x3b,-0x38,-0x1a,_0x407b66._0x33c580)]()});for(let _0x38b953 of Object[_0x221a27(-0xd5,-0xcf,-0xf9,-_0x407b66._0x228929)](this[_0x221a27(-0xee,-_0x407b66._0x14d407,-0x11a,-0xfa)][_0x1061e7(-0x1,-_0x407b66._0x3e889f,-0xf,-_0x407b66._0x499243)]))_0x5c760b[_0x221a27(-_0x407b66._0x502e2b,-0xde,-0xde,-0xef)](_0x38b953);return _0x5c760b;}async[_0x4195a5(0xa5,0x84,0x9c,0x85)](_0x5d705d,_0x15a33c={}){const _0x1024c7={_0x4e7e1e:0x50e,_0x43acb1:0x513,_0x511e1d:0x1c0,_0x2d322a:0x1b6,_0x37bf04:0x1cf,_0x2e37cb:0x1ea,_0x2fc8c1:0x1ec,_0x15dcd7:0x536,_0x353718:0x534,_0x27a237:0x524,_0x40a943:0x518,_0x4d6ae1:0x509,_0x3abc9e:0x20f,_0x359244:0x1e3,_0x1670f7:0x513,_0x1420e1:0x521,_0x6d157c:0x1c7,_0x33f2b8:0x1f7,_0xa6690a:0x1dd,_0x2ef5f6:0x1f1,_0xdfd6ca:0x1dc,_0x20f4a9:0x202,_0x3c7f46:0x1f3,_0x45c968:0x4f0,_0x447f61:0x52c,_0x158f74:0x51b,_0x15f3fd:0x533,_0x35827b:0x51e,_0x2596fe:0x518,_0x32e32a:0x1df,_0xc7b7cd:0x4eb,_0x4a75c4:0x4f3,_0x47052a:0x193,_0x33d8b8:0x18f,_0x4bbc35:0x1b3,_0x1684e5:0x1a3,_0x22009d:0x1b0,_0x643aa:0x1d4,_0x5349e7:0x1be,_0x55b4f9:0x506},_0x15d9a3={_0x20ee52:0xb0,_0x598a43:0x1d2},_0x25fc97={_0x1b1dff:0x17b};if(_0x5d705d===s)throw new Error(_0x1ad1b6(0x52c,0x543,_0x1024c7._0x4e7e1e,_0x1024c7._0x43acb1)+s+'\x27\x20(reserved)');if(!/^[a-zA-Z0-9_-]+$/[_0x3be343(0x1d1,_0x1024c7._0x511e1d,0x1a1,_0x1024c7._0x2d322a)](_0x5d705d))throw new Error(_0x1ad1b6(0x534,0x548,0x557,0x521));if(await this[_0x3be343(_0x1024c7._0x37bf04,0x1f7,_0x1024c7._0x2e37cb,_0x1024c7._0x2fc8c1)](_0x5d705d))throw new Error(_0x1ad1b6(_0x1024c7._0x15dcd7,0x51f,0x53c,_0x1024c7._0x353718)+_0x5d705d+_0x1ad1b6(0x4ff,_0x1024c7._0x27a237,_0x1024c7._0x40a943,_0x1024c7._0x4d6ae1));let _0x5798f3=this['getProfileDir'](_0x5d705d);function _0x3be343(_0x4543f4,_0x1e6d67,_0x5939cc,_0x29cb81){return _0xa5a821(_0x4543f4-0x99,_0x29cb81- -_0x25fc97._0x1b1dff,_0x5939cc-0x62,_0x1e6d67);}if(await _0x2fff08['promises'][_0x3be343(_0x1024c7._0x3abc9e,_0x1024c7._0x359244,0x1d6,0x1f2)](_0x5798f3,{'recursive':!0x0}),await _0x2fff08[_0x1ad1b6(0x500,0x51c,0x512,0x510)]['mkdir'](_0x4ca2da[_0x1ad1b6(0x509,0x513,_0x1024c7._0x1670f7,_0x1024c7._0x1420e1)](_0x5798f3,_0x3be343(0x1d7,_0x1024c7._0x6d157c,0x1db,0x1b8)),{'recursive':!0x0}),await _0x2fff08['promises']['mkdir'](_0x4ca2da['join'](_0x5798f3,_0x3be343(0x1e0,0x1fa,_0x1024c7._0x33f2b8,0x1d9)),{'recursive':!0x0}),_0x15a33c[_0x3be343(0x1e4,0x1d4,_0x1024c7._0xa6690a,0x1f3)]&&_0x15a33c['cloneFrom']!==s){if(!await this['exists'](_0x15a33c[_0x3be343(_0x1024c7._0x2ef5f6,_0x1024c7._0xdfd6ca,_0x1024c7._0x20f4a9,_0x1024c7._0x3c7f46)]))throw new Error(_0x1ad1b6(0x508,_0x1024c7._0x45c968,_0x1024c7._0x447f61,0x517)+_0x15a33c['cloneFrom']+_0x1ad1b6(_0x1024c7._0x158f74,_0x1024c7._0x15f3fd,_0x1024c7._0x35827b,0x519));await this[_0x1ad1b6(_0x1024c7._0x2596fe,0x4f8,0x506,0x4f7)](_0x15a33c[_0x3be343(0x207,_0x1024c7._0x32e32a,0x1ef,0x1f3)],_0x5d705d);}function _0x1ad1b6(_0x55799e,_0x108b92,_0x44e3ec,_0x2a44d0){return _0xa5a821(_0x55799e-_0x15d9a3._0x20ee52,_0x55799e-0x1cb,_0x44e3ec-_0x15d9a3._0x598a43,_0x108b92);}let _0x1c66ad={'name':_0x5d705d,'description':_0x15a33c[_0x1ad1b6(0x505,_0x1024c7._0xc7b7cd,_0x1024c7._0x4a75c4,0x50e)],'created':new Date()[_0x3be343(0x19c,_0x1024c7._0x47052a,_0x1024c7._0x33d8b8,_0x1024c7._0x4bbc35)](),'lastUsed':new Date()['toISOString']()};this[_0x3be343(_0x1024c7._0x1684e5,_0x1024c7._0x22009d,_0x1024c7._0x2d322a,0x1c1)][_0x3be343(0x1cd,0x1b2,_0x1024c7._0x643aa,_0x1024c7._0x5349e7)][_0x5d705d]=_0x1c66ad,await this[_0x1ad1b6(_0x1024c7._0x55b4f9,0x520,0x4ec,0x514)]();}async[_0xa5a821(0x375,0x356,0x337,0x353)](_0x52a0d5,_0x470e74={}){const _0x30c759={_0x369566:0x4cb,_0x3159fd:0x4ed,_0x9470c6:0x391,_0x4c11a2:0x3a6,_0x4d1eef:0x393,_0x489a36:0x374,_0x12938c:0x372,_0x106044:0x493,_0x67172:0x4a1,_0x1247aa:0x387,_0x49ac39:0x376,_0x47673e:0x384,_0x4a238b:0x3a2,_0x1e56b8:0x395,_0x25279e:0x4bb,_0x916210:0x4ce,_0x23bc5e:0x4ad,_0x153c90:0x4b6,_0x4bbc95:0x4a1,_0x33a2d7:0x4ac,_0x4e3360:0x48d,_0x422ffe:0x354,_0x1d8a64:0x4be,_0xb75fd6:0x4c8,_0x4ddd1b:0x4da,_0x33b239:0x499,_0x5ba848:0x4a5,_0xbdbf76:0x4b7,_0x2afe0f:0x494,_0x22d394:0x34a,_0x813ca9:0x4a9,_0x57058a:0x49a,_0x1d5c61:0x347},_0x21a3a6={_0x2a213a:0x1e,_0xc38fef:0x14b},_0x8178ec={_0x3153e5:0xad,_0x5263c2:0x18e,_0x5cf0ae:0x445};if(_0x52a0d5===s)throw new Error(_0x1421e5(0x4dc,_0x30c759._0x369566,0x4b3,_0x30c759._0x3159fd));if(!await this[_0x336d16(_0x30c759._0x9470c6,0x37d,_0x30c759._0x4c11a2,_0x30c759._0x4d1eef)](_0x52a0d5))throw new Error('Profile\x20\x27'+_0x52a0d5+_0x336d16(_0x30c759._0x489a36,0x3a1,_0x30c759._0x12938c,0x37c));function _0x1421e5(_0x532493,_0x39a846,_0x124e01,_0x1b657c){return _0x4195a5(_0x532493-_0x8178ec._0x3153e5,_0x124e01,_0x124e01-_0x8178ec._0x5263c2,_0x39a846-_0x8178ec._0x5cf0ae);}function _0x336d16(_0x5a8c35,_0x5249a2,_0x32454b,_0x4d9861){return _0x4195a5(_0x5a8c35-_0x21a3a6._0x2a213a,_0x32454b,_0x32454b-_0x21a3a6._0xc38fef,_0x4d9861-0x301);}if(this[_0x1421e5(_0x30c759._0x106044,0x4ac,_0x30c759._0x67172,0x4b1)][_0x336d16(_0x30c759._0x1247aa,0x365,_0x30c759._0x49ac39,_0x30c759._0x47673e)]===_0x52a0d5){if(!_0x470e74[_0x336d16(_0x30c759._0x4a238b,_0x30c759._0x1e56b8,0x393,0x390)])throw new Error(_0x1421e5(_0x30c759._0x25279e,_0x30c759._0x916210,_0x30c759._0x23bc5e,_0x30c759._0x153c90)+_0x52a0d5+_0x336d16(0x379,0x392,0x388,0x376));this[_0x1421e5(_0x30c759._0x4bbc95,_0x30c759._0x33a2d7,_0x30c759._0x4e3360,_0x30c759._0x106044)]['active']=s;}let _0x19adc9=this[_0x336d16(0x33a,0x349,_0x30c759._0x422ffe,0x358)](_0x52a0d5);_0x2fff08[_0x1421e5(_0x30c759._0x1d8a64,0x4bf,_0x30c759._0xb75fd6,_0x30c759._0x4ddd1b)](_0x19adc9)&&await _0x2fff08[_0x1421e5(_0x30c759._0x33b239,_0x30c759._0x5ba848,_0x30c759._0xbdbf76,_0x30c759._0x2afe0f)]['rm'](_0x19adc9,{'recursive':!0x0,'force':!0x0}),delete this[_0x336d16(_0x30c759._0x22d394,0x355,0x350,0x368)][_0x1421e5(0x4a1,_0x30c759._0x813ca9,0x499,_0x30c759._0x57058a)][_0x52a0d5],await this[_0x336d16(_0x30c759._0x1d5c61,0x34b,0x384,0x367)]();}async[_0xa5a821(0x329,0x348,0x33c,0x35f)](_0x345398){const _0x3da8b1={_0x1f92d2:0xe,_0x212307:0x24,_0x5b1d31:0xe,_0xda41b4:0x1de,_0x1573e9:0x1dc,_0x2df9f5:0x4c,_0x1e229f:0x1ff,_0x46869f:0x1fb,_0x46dc3d:0x1e1,_0x169ab1:0x203,_0x1de6d6:0x20a,_0x2b944e:0x22a,_0x48d047:0x210,_0x3d4c60:0x29,_0x4c88c7:0x26},_0x5aba3a={_0x4bc385:0x86};if(_0x345398!==s&&!await this[_0x44fa51(-0xf,_0x3da8b1._0x1f92d2,0x14,0x9)](_0x345398))throw new Error(_0x44fa51(-0xb,-0x2d,-_0x3da8b1._0x212307,-_0x3da8b1._0x5b1d31)+_0x345398+'\x27\x20does\x20not\x20exist');function _0x44fa51(_0x41b6db,_0x12d1d7,_0xb01163,_0x45fd92){return _0x4195a5(_0x41b6db-_0x5aba3a._0x4bc385,_0x45fd92,_0xb01163-0x14,_0x41b6db- -0xa1);}function _0x36c5da(_0x486240,_0x1a1052,_0x421c15,_0xc23fe9){return _0x4195a5(_0x486240-0x1b2,_0x421c15,_0x421c15-0x116,_0x486240- -0x263);}this['registry'][_0x36c5da(-0x1e0,-0x1e6,-_0x3da8b1._0xda41b4,-_0x3da8b1._0x1573e9)]=_0x345398,_0x345398!==s&&this['registry']['profiles'][_0x345398]&&(this[_0x44fa51(-0x3a,-_0x3da8b1._0x2df9f5,-0x5a,-0x43)][_0x36c5da(-_0x3da8b1._0x1e229f,-0x1f2,-0x1f9,-_0x3da8b1._0x46869f)][_0x345398][_0x36c5da(-0x1ed,-_0x3da8b1._0x46dc3d,-_0x3da8b1._0x169ab1,-0x1e7)]=new Date()[_0x36c5da(-_0x3da8b1._0x1de6d6,-0x1ef,-_0x3da8b1._0x2b944e,-_0x3da8b1._0x48d047)]()),await this[_0x44fa51(-0x3b,-_0x3da8b1._0x3d4c60,-0x29,-_0x3da8b1._0x4c88c7)]();}async['getActive'](){const _0x2e5f02={_0x3d726f:0x362,_0x1642db:0x33b},_0x2b7653={_0x1264f0:0x10,_0x85ecb1:0x167};function _0x48f29b(_0x332497,_0x567f7a,_0x284ae2,_0x54ed9b){return _0xa5a821(_0x332497-0x91,_0x332497- -_0x2b7653._0x1264f0,_0x284ae2-_0x2b7653._0x85ecb1,_0x284ae2);}return this['registry'][_0x48f29b(0x348,_0x2e5f02._0x3d726f,_0x2e5f02._0x1642db,0x343)]||s;}async['exists'](_0x34c6aa){const _0x49129e={_0x209666:0xfb},_0x2e1b96={_0x910526:0x17f};function _0x11e1fb(_0x66db8f,_0xb1e835,_0x355fa5,_0xa42a46){return _0x4195a5(_0x66db8f-0xcc,_0x355fa5,_0x355fa5-0x1a0,_0xa42a46- -_0x2e1b96._0x910526);}return _0x34c6aa===s?!0x0:_0x34c6aa in this['registry'][_0x11e1fb(-_0x49129e._0x209666,-0x11d,-0x10f,-0x11b)]&&_0x2fff08['existsSync'](this['getProfileDir'](_0x34c6aa));}['getProfileDir'](_0x309feb){const _0x3d09ab={_0x4069b8:0x123,_0x482391:0x135,_0x9b44b3:0x111},_0x2a2b45={_0x436232:0xd7,_0x1839c4:0xae};function _0x1960b3(_0x2e88c5,_0x50b65f,_0x5ce223,_0x4b1a30){return _0x4195a5(_0x2e88c5-0x97,_0x5ce223,_0x5ce223-_0x2a2b45._0x436232,_0x4b1a30-_0x2a2b45._0x1839c4);}return this[_0x1960b3(_0x3d09ab._0x4069b8,_0x3d09ab._0x482391,0x111,_0x3d09ab._0x9b44b3)](_0x309feb)?this['baseDir']:_0x4ca2da['join'](this['profilesDir'],_0x309feb);}[_0xa5a821(0x34d,0x363,0x34a,0x36c)](_0x51530e){const _0x4fe49c={_0x4b9345:0x28a,_0x32bc0e:0x273,_0x281b8f:0x26c,_0x31b227:0x298},_0x244af6={_0x3f323d:0x1da,_0x52a26f:0x1fd};function _0x3e9f4a(_0x20b958,_0x407036,_0x33f5c5,_0x3ca818){return _0x4195a5(_0x20b958-0x6,_0x3ca818,_0x33f5c5-_0x244af6._0x3f323d,_0x20b958-_0x244af6._0x52a26f);}return _0x4ca2da['join'](this['getProfileDir'](_0x51530e),_0x3e9f4a(_0x4fe49c._0x4b9345,_0x4fe49c._0x32bc0e,_0x4fe49c._0x281b8f,_0x4fe49c._0x31b227));}[_0x4195a5(0x79,0x84,0x92,0x6d)](_0x56046e){return _0x4ca2da['join'](this['getProfileDir'](_0x56046e),'agents');}[_0x4195a5(0x4e,0x6c,0x7d,0x62)](_0x46405c){const _0x599885={_0x21d161:0x35d,_0x1aa204:0x1a0,_0xeaeea6:0x1bb,_0x309d42:0x373},_0x39bc48={_0x18b4ce:0x1a0,_0x1610a3:0x4cc},_0x385218={_0x581dd8:0x6c,_0x1686d1:0x10,_0x6dfb66:0x2f4};function _0x2377df(_0x45bedd,_0x38ef53,_0x38e94e,_0x531365){return _0x4195a5(_0x45bedd-_0x385218._0x581dd8,_0x531365,_0x38e94e-_0x385218._0x1686d1,_0x45bedd-_0x385218._0x6dfb66);}function _0x4fb450(_0x19d3b6,_0x10ec66,_0x163d29,_0x961394){return _0xa5a821(_0x19d3b6-_0x39bc48._0x18b4ce,_0x19d3b6- -_0x39bc48._0x1610a3,_0x163d29-0x80,_0x10ec66);}return _0x4ca2da[_0x2377df(_0x599885._0x21d161,0x345,0x375,0x358)](this[_0x4fb450(-_0x599885._0x1aa204,-0x1a5,-_0x599885._0xeaeea6,-0x1b5)](_0x46405c),_0x2377df(_0x599885._0x309d42,0x352,0x393,0x352));}[_0x4195a5(0x72,0x66,0x76,0x58)](_0x1ce1e5){const _0x36144e={_0x154667:0x2af,_0x4f5816:0x29d,_0x224e0b:0x344},_0x12d10c={_0x1210fd:0x1c5,_0x537c92:0x2d9},_0x175f31={_0x3d316f:0xb1};function _0x5d2aa0(_0x10ded2,_0x249528,_0x584846,_0x3c6808){return _0xa5a821(_0x10ded2-0x1dd,_0x584846- -0xa1,_0x584846-_0x175f31._0x3d316f,_0x10ded2);}function _0xe2fac7(_0x401efd,_0x524afe,_0x208066,_0x443c64){return _0x4195a5(_0x401efd-_0x12d10c._0x1210fd,_0x443c64,_0x208066-0x142,_0x208066-_0x12d10c._0x537c92);}return _0x4ca2da[_0x5d2aa0(0x29a,_0x36144e._0x154667,_0x36144e._0x4f5816,0x2a1)](this[_0xe2fac7(_0x36144e._0x224e0b,0x33d,0x330,0x352)](_0x1ce1e5),'commands');}[_0xa5a821(0x354,0x338,0x34c,0x316)](_0x3f4484){return _0x3f4484===s;}async[_0xa5a821(0x355,0x368,0x377,0x375)](){const _0x5601ed={_0x32b71a:0x9,_0x1e889d:0xb,_0x2e43e6:0x21c,_0x2ad691:0x21b,_0x1b0202:0x23,_0x1cfbbf:0x11,_0x8c91b7:0x1ea,_0x156115:0x1de,_0x2d79db:0x1f6,_0x7619e2:0x1ed,_0x373e5d:0x2b,_0xfd2c85:0x1d9,_0x270844:0x1e0,_0x336a11:0x1dc,_0x1164fe:0x201,_0x22943f:0x207,_0x64dbca:0x200,_0x4d87c9:0x21f,_0x1255bc:0x210,_0x254641:0x201,_0x3a8f60:0x20c,_0x3450aa:0x1f1},_0x4a46f1={_0x2a3355:0x1bb},_0x19e668={_0x4b0586:0x94};function _0xfcdd4e(_0x44ca0d,_0x20b3a4,_0x45f3e3,_0x4920e2){return _0x4195a5(_0x44ca0d-0x69,_0x4920e2,_0x45f3e3-0x6a,_0x44ca0d- -_0x19e668._0x4b0586);}function _0x47a105(_0xb2c33,_0x4fbf86,_0x4a7beb,_0x31d77b){return _0xa5a821(_0xb2c33-0x183,_0x4fbf86- -0x158,_0x4a7beb-_0x4a46f1._0x2a3355,_0x31d77b);}if(!_0x2fff08[_0xfcdd4e(-0x1a,0x9,-0x2d,0xb)](this[_0xfcdd4e(-_0x5601ed._0x32b71a,0x10,-_0x5601ed._0x1e889d,-_0x5601ed._0x32b71a)]))return{'active':s,'profiles':{}};try{let _0x27be8e=await _0x2fff08['promises'][_0x47a105(0x21c,_0x5601ed._0x2e43e6,_0x5601ed._0x2ad691,0x231)](this['registryPath'],_0xfcdd4e(-0x24,-_0x5601ed._0x1b0202,-_0x5601ed._0x1cfbbf,-0x3a)),_0xaf7b95=_0x51d9a9(_0x27be8e);if(!_0xaf7b95||typeof _0xaf7b95!=_0x47a105(_0x5601ed._0x8c91b7,_0x5601ed._0x156115,0x1e0,_0x5601ed._0x2d79db))return{'active':s,'profiles':{}};let _0x39c35b=_0xaf7b95;return(!_0x39c35b[_0x47a105(_0x5601ed._0x7619e2,0x1e1,0x1ce,0x1cd)]||typeof _0x39c35b[_0xfcdd4e(-0x30,-0x52,-0xb,-_0x5601ed._0x373e5d)]!=_0x47a105(_0x5601ed._0xfd2c85,0x1de,_0x5601ed._0x270844,_0x5601ed._0x336a11))&&(_0x39c35b['profiles']={}),_0x39c35b[_0x47a105(_0x5601ed._0x1164fe,0x200,_0x5601ed._0x22943f,0x1fa)]||(_0x39c35b[_0x47a105(0x222,_0x5601ed._0x64dbca,_0x5601ed._0x4d87c9,0x200)]=s),_0x39c35b;}catch(_0x47ae63){return this[_0x47a105(_0x5601ed._0x1255bc,0x205,_0x5601ed._0x254641,_0x5601ed._0x3a8f60)]('Failed\x20to\x20load\x20profiles\x20registry:\x20'+(_0x47ae63 instanceof Error?_0x47ae63[_0x47a105(0x1ec,_0x5601ed._0x3450aa,0x204,0x1d4)]:String(_0x47ae63))),{'active':s,'profiles':{}};}}async[_0xa5a821(0x32c,0x33b,0x32b,0x33d)](){const _0x43c22c={_0x5eff4d:0xff,_0x2b405e:0xb6,_0x6380e1:0xc4,_0x11ac63:0x100,_0x1935cd:0x11d,_0xe8cc52:0x115,_0x2e5ed9:0xe5,_0x5bd435:0xe7,_0x20cd4c:0xdc,_0x1d16e0:0xb9,_0x35a7fa:0xda,_0x5c979e:0xdc,_0x4515b8:0xec,_0x4131cd:0xe8},_0x525728={_0x37cfc9:0x435,_0x2d0490:0x69},_0x16a2b4={_0x2765c3:0x9d};function _0x2f9c5b(_0x47048e,_0x4fff74,_0x50a1af,_0x1abb98){return _0x4195a5(_0x47048e-_0x16a2b4._0x2765c3,_0x47048e,_0x50a1af-0x146,_0x50a1af- -0x1a8);}function _0xd21409(_0x1c94e0,_0x468cdc,_0x5bcba8,_0x517a2a){return _0xa5a821(_0x1c94e0-0x197,_0x5bcba8- -_0x525728._0x37cfc9,_0x5bcba8-_0x525728._0x2d0490,_0x1c94e0);}try{let _0x40126a=_0x4139a8(this[_0xd21409(-0x112,-0xf7,-0xf9,-_0x43c22c._0x5eff4d)]);await _0x2fff08['promises'][_0xd21409(-0xaa,-_0x43c22c._0x2b405e,-_0x43c22c._0x6380e1,-0xad)](this[_0x2f9c5b(-0x113,-_0x43c22c._0x11ac63,-_0x43c22c._0x1935cd,-_0x43c22c._0xe8cc52)],_0x40126a,'utf-8');}catch(_0x2e1ef0){throw this[_0xd21409(-_0x43c22c._0x2e5ed9,-0xf8,-0xd8,-0xeb)](_0xd21409(-0xe4,-_0x43c22c._0x5bd435,-_0x43c22c._0x20cd4c,-_0x43c22c._0x1d16e0)+(_0x2e1ef0 instanceof Error?_0x2e1ef0[_0xd21409(-_0x43c22c._0x35a7fa,-_0x43c22c._0x5c979e,-_0x43c22c._0x4515b8,-_0x43c22c._0x4131cd)]:String(_0x2e1ef0))),_0x2e1ef0;}}async[_0x4195a5(0x8f,0x6c,0x6d,0x78)](_0x144179,_0x2944bf){const _0x4edab3={_0x231074:0xa9,_0x204706:0x98,_0x22243a:0xb9,_0x28536a:0x9c,_0x1f84f0:0x81,_0x4d4dfe:0x98,_0xcd734a:0x2ac,_0x5bdc38:0x289,_0x413f89:0x2b6,_0x42653c:0xa7,_0x3ca591:0x8d,_0x48058e:0xa2,_0x4214fe:0xc3,_0x4aad78:0x27a,_0x593917:0x2a7,_0x14e0c7:0x28a,_0x458b83:0x82,_0x194fde:0x91},_0x3aae49={_0x1b263d:0x59,_0x5a5e19:0x290},_0xe09f20={_0x535d08:0x53,_0x3b45a2:0x1ca,_0x5975d:0x303};let _0x1e29ba=this[_0x445635(0xc0,0x9c,_0x4edab3._0x231074,_0x4edab3._0x204706)](_0x144179),_0x3e272c=this[_0x445635(_0x4edab3._0x22243a,_0x4edab3._0x28536a,_0x4edab3._0x1f84f0,_0x4edab3._0x4d4dfe)](_0x2944bf),_0x4b469d=_0x4ca2da['join'](_0x1e29ba,_0x445635(0xb6,0xd2,0xcb,0xd4)),_0x4d0a8a=_0x4ca2da[_0x3caffa(-_0x4edab3._0xcd734a,-_0x4edab3._0x5bdc38,-0x29a,-_0x4edab3._0x413f89)](_0x3e272c,_0x3caffa(-0x252,-0x258,-0x276,-0x28b));function _0x3caffa(_0x28c0c2,_0x3e936e,_0xdc2ac7,_0x50c4f8){return _0x4195a5(_0x28c0c2-_0xe09f20._0x535d08,_0x50c4f8,_0xdc2ac7-_0xe09f20._0x3b45a2,_0xdc2ac7- -_0xe09f20._0x5975d);}_0x2fff08['existsSync'](_0x4b469d)&&await _0x2fff08[_0x445635(_0x4edab3._0x42653c,0xa5,_0x4edab3._0x3ca591,_0x4edab3._0x48058e)][_0x445635(_0x4edab3._0x4214fe,0xc5,0xd3,0xbb)](_0x4b469d,_0x4d0a8a);let _0x1d4bb7=_0x4ca2da[_0x3caffa(-_0x4edab3._0x4aad78,-0x27f,-0x29a,-_0x4edab3._0x593917)](_0x1e29ba,_0x3caffa(-0x2bd,-0x282,-0x2a5,-0x2b4)),_0x342d08=_0x4ca2da[_0x3caffa(-0x280,-0x285,-0x29a,-_0x4edab3._0x14e0c7)](_0x3e272c,_0x445635(0x98,0xa3,_0x4edab3._0x458b83,_0x4edab3._0x194fde));function _0x445635(_0x2bed75,_0x2d12d3,_0x488744,_0x566695){return _0xa5a821(_0x2bed75-_0x3aae49._0x1b263d,_0x2d12d3- -_0x3aae49._0x5a5e19,_0x488744-0x1c6,_0x488744);}_0x2fff08['existsSync'](_0x1d4bb7)&&await this['copyDirectory'](_0x1d4bb7,_0x342d08);}async[_0x4195a5(0x68,0x9c,0x65,0x7d)](_0x2d25df,_0x20c0b8){const _0xf025c6={_0x330093:0x111,_0xcc3dd2:0xf2,_0x25e589:0x149,_0x3b186d:0x129,_0x581a16:0x134,_0x521f42:0x4e,_0x654b3a:0x57,_0x4a2dcf:0x133,_0x36cc2b:0xfe,_0x32d7fc:0x55,_0xf39074:0x3c,_0x3c51bb:0x2e,_0x181e82:0x6a,_0x4aadaf:0x4f,_0x2d415f:0x3e,_0x549229:0x107,_0x8b64ac:0x52,_0x357b60:0x38,_0x3badfc:0x30,_0x17828b:0x58,_0x57e868:0x63},_0x492cf5={_0x29b319:0x1a1,_0x23aa86:0xb8},_0x22b26d={_0x2c5a02:0x186};await _0x2fff08[_0x374aaa(_0xf025c6._0x330093,0xf9,0xff,_0xf025c6._0xcc3dd2)][_0x374aaa(_0xf025c6._0x25e589,0x130,_0xf025c6._0x3b186d,_0xf025c6._0x581a16)](_0x20c0b8,{'recursive':!0x0});function _0x374aaa(_0x19b786,_0x4fe01a,_0x28b6f7,_0x4b53e8){return _0x4195a5(_0x19b786-0x197,_0x28b6f7,_0x28b6f7-_0x22b26d._0x2c5a02,_0x19b786-0xb1);}function _0x254c3e(_0x2391db,_0xe27e84,_0x3afee7,_0x472a87){return _0x4195a5(_0x2391db-0x16b,_0x472a87,_0x3afee7-_0x492cf5._0x29b319,_0xe27e84- -_0x492cf5._0x23aa86);}let _0x380f3e=await _0x2fff08['promises'][_0x254c3e(-0x34,-_0xf025c6._0x521f42,-0x41,-_0xf025c6._0x654b3a)](_0x2d25df,{'withFileTypes':!0x0});for(let _0x5e15ca of _0x380f3e){let _0x273b2f=_0x4ca2da[_0x374aaa(0x11a,_0xf025c6._0x4a2dcf,0x107,_0xf025c6._0x36cc2b)](_0x2d25df,_0x5e15ca[_0x254c3e(-_0xf025c6._0x32d7fc,-0x41,-_0xf025c6._0xf39074,-_0xf025c6._0x3c51bb)]),_0x88fb7a=_0x4ca2da[_0x254c3e(-_0xf025c6._0x181e82,-_0xf025c6._0x4aadaf,-0x38,-_0xf025c6._0x2d415f)](_0x20c0b8,_0x5e15ca[_0x374aaa(0x128,0x142,_0xf025c6._0x549229,0x13a)]);_0x5e15ca[_0x254c3e(-_0xf025c6._0x8b64ac,-0x3a,-_0xf025c6._0x357b60,-_0xf025c6._0x3badfc)]()?await this['copyDirectory'](_0x273b2f,_0x88fb7a):await _0x2fff08[_0x254c3e(-0x38,-_0xf025c6._0x17828b,-0x35,-_0xf025c6._0x57e868)][_0x254c3e(-0x32,-0x38,-0x33,-0x52)](_0x273b2f,_0x88fb7a);}}};export{s as a,p as b};
|
|
1
|
+
function _0x4811d2(_0x149b84,_0x4fd905,_0x36f970,_0x4924ea){return _0xf302(_0x4924ea- -0x2e1,_0x149b84);}(function(_0x1b1750,_0x3a9f47){const _0x3faf0f={_0x4993b5:0x100,_0x2e1f77:0xf3,_0x35368c:0x28b,_0x237f58:0x29a,_0x29a604:0x10f,_0x1c8db1:0xf2,_0x3754c2:0xfb,_0x385397:0xf1,_0x4ee0c1:0xfe,_0x4b1dd9:0xfd,_0x32afb5:0xf4,_0x30d85a:0xf9,_0x2efb62:0xf6,_0x21cf78:0x118},_0x176aa3={_0x1ab6ee:0x199},_0x5b4d3=_0x1b1750();function _0x432269(_0x10c5ce,_0x44ae2c,_0x4090aa,_0x170ccd){return _0xf302(_0x10c5ce- -0x1cd,_0x44ae2c);}function _0x90ed05(_0x23f9be,_0x4299d4,_0x362083,_0x1da585){return _0xf302(_0x362083-_0x176aa3._0x1ab6ee,_0x23f9be);}while(!![]){try{const _0x10edd0=-parseInt(_0x432269(-0xfc,-_0x3faf0f._0x4993b5,-0xed,-0x116))/0x1+-parseInt(_0x432269(-_0x3faf0f._0x2e1f77,-0xf5,-0xd3,-0x10e))/0x2*(-parseInt(_0x432269(-0x105,-0x115,-0x109,-0x11c))/0x3)+-parseInt(_0x90ed05(_0x3faf0f._0x35368c,0x266,0x284,_0x3faf0f._0x237f58))/0x4+parseInt(_0x432269(-0x110,-_0x3faf0f._0x29a604,-_0x3faf0f._0x1c8db1,-_0x3faf0f._0x29a604))/0x5+parseInt(_0x432269(-0xde,-_0x3faf0f._0x3754c2,-0xbd,-0xec))/0x6+-parseInt(_0x432269(-_0x3faf0f._0x385397,-0xf5,-0xda,-_0x3faf0f._0x4ee0c1))/0x7*(parseInt(_0x432269(-0xf0,-_0x3faf0f._0x3754c2,-_0x3faf0f._0x4b1dd9,-0xce))/0x8)+-parseInt(_0x432269(-_0x3faf0f._0x32afb5,-_0x3faf0f._0x30d85a,-_0x3faf0f._0x2efb62,-0xf0))/0x9*(-parseInt(_0x432269(-_0x3faf0f._0x21cf78,-_0x3faf0f._0x4ee0c1,-0x111,-0x131))/0xa);if(_0x10edd0===_0x3a9f47)break;else _0x5b4d3['push'](_0x5b4d3['shift']());}catch(_0x25da92){_0x5b4d3['push'](_0x5b4d3['shift']());}}}(_0x1fc0,0x503b7));var s=_0x4811d2(-0x20d,-0x1f9,-0x220,-0x216),c='profiles.yaml',g=_0x48ce20(0x2b4,0x296,0x2cb,0x2a4);function _0x1fc0(){const _0x5e9328=['AM9PBG','BgfZDfvZzwq','u291CMnLihbYB2zPBguGjW','zxHPC3rZu3LUyW','rMfPBgvKihrVigXVywqGChjVzMLSzxmGCMvNAxn0CNK6ia','y29WEurPCMvJDg9YEq','yMfZzurPCG','ChjVzMLSzxm','nteXnwP3yKruDG','D3jPDgvgAwXL','DgvZDa','zgvMyxvSDa','zgvZy3jPChrPB24','jYbKB2vZig5VDcbLEgLZDa','BMfTzq','C2vZC2LVBNm','z2v0uhjVzMLSzurPCG','mJqZodm4vNLIyuvf','BwTKAxi','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','y2XVBMvgCM9T','BgLZDa','Bg9Nz2vY','DxrMltG','C2f2zvjLz2LZDhj5','nJm4ndmZz29bCMrH','mLHlyKjqEq','CMvNAxn0CNK','nZq2mdm5B3Lsr2PV','mtzjC01xtvK','y29WEuzPBgu','AxnezwzHDwX0','CMvNAxn0CNLqyxrO','z2v0qwn0AxzL','AxneAxjLy3rVCNK','y2XVBMvqCM9MAwXLrMLSzxm','Dg9ju09tDhjPBMC','jYaOCMvZzxj2zwqP','zM9Yy2u','zgvSzxrL','DMfSDwvZ','q2fUBM90igrLBgv0zsbKzwzHDwX0ihbYB2zPBgu','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','ntK1odaWuLf0wxHW','zxHPC3rZ','C3DPDgnO','CMvHzgrPCG','mJe1nJKWngnftMDeEq','uhjVzMLSzsaN','BwvZC2fNzq','y29UzMLNlNLHBwW','ywDLBNrZ','B2jQzwn0','Aw5PDgLHBgL6zq','z2v0uhjVzMLSzunVBw1HBMrZrgLY','z2v0uhjVzMLSzufNzw50C0rPCG','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','ChjVzMLSzxneAxi','mtbzy0r5yxK','ywn0AxzL','y29TBwfUzhm','jYbHBhjLywr5igv4Axn0CW','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','Ag9TzwrPCG','Bg9HzfjLz2LZDhj5','ChvZAa','mJuXmJiZnvjhqvzqsq','rgvMyxvSDcbWCM9MAwXL','ChjVBwLZzxm'];_0x1fc0=function(){return _0x5e9328;};return _0x1fc0();}import*as _0x2a4272 from'fs';import*as _0x278581 from'os';import*as _0x58e816 from'path';function _0x48ce20(_0xd09a4e,_0x1d90f5,_0x31b586,_0x4ebc52){const _0x4b3ea2={_0x3b34a1:0x1ed};return _0xf302(_0xd09a4e-_0x4b3ea2._0x3b34a1,_0x31b586);}function _0xf302(_0xa28b31,_0x5e4d5e){_0xa28b31=_0xa28b31-0xb1;const _0x1fc0b1=_0x1fc0();let _0xf302d8=_0x1fc0b1[_0xa28b31];if(_0xf302['bGMIXP']===undefined){var _0x1b3894=function(_0x50f238){const _0x564d15='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a4272='',_0x278581='';for(let _0x58e816=0x0,_0x332a63,_0x3e5c6c,_0x2b5f4f=0x0;_0x3e5c6c=_0x50f238['charAt'](_0x2b5f4f++);~_0x3e5c6c&&(_0x332a63=_0x58e816%0x4?_0x332a63*0x40+_0x3e5c6c:_0x3e5c6c,_0x58e816++%0x4)?_0x2a4272+=String['fromCharCode'](0xff&_0x332a63>>(-0x2*_0x58e816&0x6)):0x0){_0x3e5c6c=_0x564d15['indexOf'](_0x3e5c6c);}for(let _0x191e2d=0x0,_0x53925a=_0x2a4272['length'];_0x191e2d<_0x53925a;_0x191e2d++){_0x278581+='%'+('00'+_0x2a4272['charCodeAt'](_0x191e2d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x278581);};_0xf302['ZJplei']=_0x1b3894,_0xf302['LNKzWH']={},_0xf302['bGMIXP']=!![];}const _0x4c1c70=_0x1fc0b1[0x0],_0x53c7f0=_0xa28b31+_0x4c1c70,_0x5958e8=_0xf302['LNKzWH'][_0x53c7f0];return!_0x5958e8?(_0xf302d8=_0xf302['ZJplei'](_0xf302d8),_0xf302['LNKzWH'][_0x53c7f0]=_0xf302d8):_0xf302d8=_0x5958e8,_0xf302d8;}import{parse as _0x332a63,stringify as _0x3e5c6c}from'yaml';var p=class{constructor(_0x2b5f4f=()=>{}){const _0x46e74a={_0x4b71d3:0x77,_0x169287:0x119,_0xee07fe:0x108,_0x2ddc8e:0x70,_0x408c8b:0x7d,_0x364f97:0x5b,_0x43a768:0x56,_0x241b00:0x63,_0xb3656a:0x61,_0x3a15ac:0x5a,_0x1a61b6:0x5c,_0x44c4be:0xf1,_0x4393c9:0x11d,_0x416a78:0x7d,_0x2f172e:0x9a,_0x49a6b9:0x105,_0x4a8d71:0x10c,_0x17c2a2:0x111,_0x2f9ed6:0xef,_0x194db1:0x100},_0x5b9e32={_0xb8de1:0x3b7},_0x35b436={_0x12537a:0x42};this[_0x5a6d56(0x65,_0x46e74a._0x4b71d3,0x75,0x6d)]=_0x2b5f4f;function _0x5a6d56(_0x2fc28a,_0x21b98d,_0x119607,_0x433fd7){return _0x48ce20(_0x21b98d- -0x24c,_0x21b98d-_0x35b436._0x12537a,_0x119607,_0x433fd7-0x1b1);}function _0x26e606(_0x479662,_0x166c29,_0x824693,_0x21d55b){return _0x48ce20(_0x166c29- -_0x5b9e32._0xb8de1,_0x166c29-0x4d,_0x824693,_0x21d55b-0x106);}this[_0x26e606(-_0x46e74a._0x169287,-0x104,-0x122,-_0x46e74a._0xee07fe)]=_0x58e816[_0x5a6d56(0x6e,0x61,0x62,_0x46e74a._0x2ddc8e)](_0x278581[_0x5a6d56(_0x46e74a._0x408c8b,_0x46e74a._0x364f97,_0x46e74a._0x43a768,_0x46e74a._0x241b00)](),'.nuvin'),this['profilesDir']=_0x58e816[_0x5a6d56(0x5b,_0x46e74a._0xb3656a,_0x46e74a._0x3a15ac,_0x46e74a._0x1a61b6)](this[_0x26e606(-_0x46e74a._0x44c4be,-0x104,-0xed,-_0x46e74a._0x4393c9)],g),this[_0x5a6d56(_0x46e74a._0x416a78,0x81,_0x46e74a._0x2f172e,0x76)]=_0x58e816[_0x26e606(-0xfc,-0x10a,-_0x46e74a._0x49a6b9,-_0x46e74a._0x4a8d71)](this[_0x26e606(-0xfa,-0x104,-0xf5,-_0x46e74a._0x17c2a2)],c),this[_0x26e606(-0xe1,-_0x46e74a._0x2f9ed6,-0x111,-_0x46e74a._0x194db1)]={'active':s,'profiles':{}};}async[_0x48ce20(0x2e2,0x2f9,0x2cd,0x2dc)](){const _0x481228={_0x367bff:0x4c2,_0x3f287a:0x4b8,_0x39a30e:0xf9,_0xfe165d:0x100,_0x128a3e:0x49a,_0x205552:0x4ab,_0x28d942:0x4c0,_0x90068a:0x4a9,_0x2c2656:0x4ae,_0x3de76e:0x14d,_0x1d9f09:0x10e,_0x124823:0x10a,_0x326545:0xf0,_0x5aab9b:0x4a3},_0xc7a553={_0x2972f4:0xab,_0x2461e8:0xfc},_0x13ed04={_0x2a3a4e:0x197};function _0x3e66c4(_0x470b06,_0x54a34c,_0x1284f2,_0x2f2358){return _0x48ce20(_0x54a34c-0x1f8,_0x54a34c-0x1f,_0x1284f2,_0x2f2358-_0x13ed04._0x2a3a4e);}function _0xa6a377(_0x53f018,_0x43a7a6,_0x430f73,_0x34f0bb){return _0x4811d2(_0x430f73,_0x43a7a6-0x66,_0x430f73-_0xc7a553._0x2972f4,_0x53f018-_0xc7a553._0x2461e8);}await _0x2a4272[_0x3e66c4(_0x481228._0x367bff,0x4a4,_0x481228._0x3f287a,0x49d)][_0xa6a377(-0x113,-_0x481228._0x39a30e,-0xf7,-_0x481228._0xfe165d)](this[_0x3e66c4(_0x481228._0x128a3e,_0x481228._0x205552,0x4c2,_0x481228._0x28d942)],{'recursive':!0x0}),await _0x2a4272[_0x3e66c4(_0x481228._0x90068a,0x4a4,_0x481228._0x2c2656,0x487)][_0xa6a377(-0x113,-0x12b,-0x113,-0x113)](this[_0xa6a377(-0x131,-0x14c,-_0x481228._0x3de76e,-_0x481228._0x1d9f09)],{'recursive':!0x0}),this[_0xa6a377(-_0x481228._0x124823,-_0x481228._0x326545,-0x11d,-0x115)]=await this[_0x3e66c4(_0x481228._0x5aab9b,0x4a0,0x4bd,0x484)]();}async[_0x4811d2(-0x22c,-0x223,-0x200,-0x20c)](){const _0x8686d={_0x18d584:0x252,_0x244164:0x249,_0x4633e2:0x22a,_0x301e74:0x234,_0x27aaf7:0x282,_0x206743:0x26d,_0x648002:0x288,_0x19b58e:0x22f,_0x22125c:0x237,_0x27a756:0x269},_0x1235ec={_0x5b872d:0x53,_0x1fda5f:0x1d1},_0x3f00f6={_0x3248bd:0xc1};let _0x191e2d=[];function _0x6e2ca2(_0x3f4d34,_0x2399cc,_0x18eeec,_0x2ceeae){return _0x4811d2(_0x18eeec,_0x2399cc-_0x3f00f6._0x3248bd,_0x18eeec-0x19a,_0x2ceeae- -0x37);}_0x191e2d[_0x1f6a72(0x254,0x256,0x242,0x23a)]({'name':s,'description':_0x1f6a72(0x27b,0x258,_0x8686d._0x18d584,_0x8686d._0x244164),'created':new Date()[_0x6e2ca2(-_0x8686d._0x4633e2,-0x23e,-0x214,-_0x8686d._0x301e74)](),'lastUsed':new Date()['toISOString']()});function _0x1f6a72(_0xd0be7f,_0x5a359a,_0x5ea2a2,_0x12679e){return _0x48ce20(_0x5a359a- -_0x1235ec._0x5b872d,_0x5a359a-_0x1235ec._0x1fda5f,_0x12679e,_0x12679e-0xfe);}for(let _0x53925a of Object[_0x1f6a72(0x29c,_0x8686d._0x27aaf7,_0x8686d._0x206743,_0x8686d._0x648002)](this[_0x6e2ca2(-_0x8686d._0x19b58e,-0x21e,-0x234,-0x23d)][_0x6e2ca2(-0x258,-_0x8686d._0x22125c,-_0x8686d._0x27a756,-0x251)]))_0x191e2d['push'](_0x53925a);return _0x191e2d;}async['create'](_0x14779b,_0x335512={}){const _0x534a31={_0x23784c:0x395,_0x34abc3:0x387,_0x2ff057:0x37c,_0xb543d2:0x3ac,_0xdbe7f0:0x3c7,_0x12acc5:0x3e6,_0xcd4b9d:0xa4,_0xd8334e:0xbd,_0x31fa79:0xb6,_0x1bfdcb:0x90,_0x25c622:0x9d,_0x24e174:0x3b0,_0x29d479:0x396,_0x18d07a:0x3aa,_0x519347:0x38f,_0x39d6f3:0x392,_0x1a4610:0xd5,_0x53a34f:0xaa,_0x192cb0:0xbf,_0x1b530b:0xc7,_0x27be28:0xd7,_0xfb4662:0xd9,_0x7389af:0x3a7,_0x2bb0c3:0x3c8,_0x1e584b:0xdb,_0x2f8d33:0xa3,_0x555bf2:0xd3,_0x146961:0xa0,_0x9739f0:0x97,_0x4a517e:0xb3,_0x2bf050:0x3b6,_0x44b547:0x3a4,_0x3d9ac9:0x3ae,_0xfa9145:0x3a4,_0x96f2f6:0x3c5,_0x5397ce:0x3c3,_0x3f3e4f:0xd9,_0x3c0a11:0x9b,_0x9c1b4c:0xd3,_0xc449a2:0x3c6,_0x4705cc:0x3bc,_0x2d48fd:0x3e4,_0x5479fd:0xc1,_0x32a196:0xc8},_0x174c3d={_0x47fa3f:0x63,_0x4673ee:0x197},_0x1bb2ce={_0x2e0bc2:0xf5};if(_0x14779b===s)throw new Error(_0x5ea6d9(_0x534a31._0x23784c,_0x534a31._0x34abc3,_0x534a31._0x2ff057,0x3b8)+s+_0x5ea6d9(0x3c7,_0x534a31._0xb543d2,_0x534a31._0xdbe7f0,_0x534a31._0x12acc5));function _0x5ea6d9(_0x1546cb,_0x391046,_0x163e71,_0x1eecf6){return _0x48ce20(_0x1546cb-_0x1bb2ce._0x2e0bc2,_0x391046-0x174,_0x391046,_0x1eecf6-0x1d7);}if(!/^[a-zA-Z0-9_-]+$/[_0x1b0b99(-0xbe,-0xbe,-_0x534a31._0xcd4b9d,-_0x534a31._0xd8334e)](_0x14779b))throw new Error(_0x1b0b99(-_0x534a31._0x31fa79,-_0x534a31._0x1bfdcb,-0x88,-_0x534a31._0x25c622));function _0x1b0b99(_0x4acbab,_0x4a2b9d,_0x274d20,_0x490f69){return _0x48ce20(_0x490f69- -0x374,_0x4a2b9d-_0x174c3d._0x47fa3f,_0x4a2b9d,_0x490f69-_0x174c3d._0x4673ee);}if(await this['exists'](_0x14779b))throw new Error(_0x5ea6d9(0x3d2,0x3e0,0x3be,0x3b8)+_0x14779b+_0x5ea6d9(0x39a,0x396,_0x534a31._0x24e174,_0x534a31._0x29d479));let _0x29ae66=this[_0x5ea6d9(0x3b2,0x3c5,_0x534a31._0x29d479,0x3b8)](_0x14779b);if(await _0x2a4272[_0x5ea6d9(0x3a1,0x3b8,_0x534a31._0x18d07a,0x397)]['mkdir'](_0x29ae66,{'recursive':!0x0}),await _0x2a4272[_0x5ea6d9(0x3a1,_0x534a31._0x519347,0x399,0x3ac)][_0x5ea6d9(0x3b4,0x3af,0x3a3,_0x534a31._0x39d6f3)](_0x58e816[_0x1b0b99(-_0x534a31._0x1a4610,-_0x534a31._0x53a34f,-_0x534a31._0x192cb0,-_0x534a31._0x1b530b)](_0x29ae66,'agents'),{'recursive':!0x0}),await _0x2a4272[_0x1b0b99(-0xe0,-_0x534a31._0x27be28,-_0x534a31._0xfb4662,-0xc8)][_0x5ea6d9(0x3b4,_0x534a31._0x7389af,_0x534a31._0x2bb0c3,0x3cc)](_0x58e816[_0x1b0b99(-_0x534a31._0x31fa79,-_0x534a31._0x1e584b,-0xa9,-0xc7)](_0x29ae66,_0x1b0b99(-_0x534a31._0x2f8d33,-_0x534a31._0x555bf2,-_0x534a31._0x146961,-0xb8)),{'recursive':!0x0}),_0x335512[_0x1b0b99(-0xd4,-0xc5,-_0x534a31._0x9739f0,-_0x534a31._0x4a517e)]&&_0x335512['cloneFrom']!==s){if(!await this['exists'](_0x335512[_0x5ea6d9(_0x534a31._0x2bf050,0x3c7,0x3c4,0x396)]))throw new Error(_0x5ea6d9(_0x534a31._0x44b547,_0x534a31._0xdbe7f0,0x3bb,0x3af)+_0x335512[_0x5ea6d9(0x3b6,0x3a8,_0x534a31._0x3d9ac9,_0x534a31._0xfa9145)]+'\x27\x20does\x20not\x20exist');await this[_0x5ea6d9(_0x534a31._0x96f2f6,0x3d1,0x3b6,_0x534a31._0xb543d2)](_0x335512[_0x5ea6d9(_0x534a31._0x2bf050,0x3ba,_0x534a31._0x24e174,_0x534a31._0x5397ce)],_0x14779b);}let _0x468ab6={'name':_0x14779b,'description':_0x335512[_0x1b0b99(-_0x534a31._0x3f3e4f,-_0x534a31._0x3c0a11,-_0x534a31._0x9c1b4c,-0xbb)],'created':new Date()['toISOString'](),'lastUsed':new Date()[_0x5ea6d9(_0x534a31._0xc449a2,_0x534a31._0x4705cc,0x3b4,_0x534a31._0x2d48fd)]()};this[_0x1b0b99(-0x92,-_0x534a31._0x5479fd,-_0x534a31._0x32a196,-0xac)]['profiles'][_0x14779b]=_0x468ab6,await this['saveRegistry']();}async[_0x48ce20(0x2d4,0x2b2,0x2d3,0x2c1)](_0x15bb7e,_0x3c380f={}){const _0x26e309={_0x57419c:0x25b,_0x4e7042:0x297,_0x1b3aac:0x277,_0x16ce16:0x261,_0x4c4933:0x259,_0x148f9f:0x279,_0x5d775c:0x27a,_0x5ed91b:0x23a,_0x44f241:0x25a,_0x266893:0x257,_0x4498b0:0x258,_0x4579dc:0x242,_0x16bd46:0x249,_0x16d0df:0x25d,_0x5f2a90:0x233,_0x564264:0x266,_0x3ece4f:0x242,_0x1bcd4a:0x234,_0x3f937a:0x24d,_0x531561:0x27e},_0x276093={_0x105d17:0x184},_0x3c4a7b={_0x1bcfde:0x108,_0x1be71c:0x1f1};function _0x1b481a(_0x519e95,_0x39b77b,_0x183b1f,_0x54ee24){return _0x48ce20(_0x54ee24- -0x5f,_0x39b77b-_0x3c4a7b._0x1bcfde,_0x519e95,_0x54ee24-_0x3c4a7b._0x1be71c);}if(_0x15bb7e===s)throw new Error(_0x1b481a(_0x26e309._0x57419c,_0x26e309._0x4e7042,0x25b,_0x26e309._0x1b3aac));function _0x1a0898(_0x10650f,_0x4a7024,_0x3d4e00,_0x3068c7){return _0x48ce20(_0x3d4e00- -0x7b,_0x4a7024-0x1c3,_0x10650f,_0x3068c7-_0x276093._0x105d17);}if(!await this['exists'](_0x15bb7e))throw new Error('Profile\x20\x27'+_0x15bb7e+_0x1b481a(_0x26e309._0x16ce16,0x23f,0x25d,0x25b));if(this[_0x1b481a(0x279,_0x26e309._0x4c4933,_0x26e309._0x148f9f,0x269)]['active']===_0x15bb7e){if(!_0x3c380f[_0x1b481a(_0x26e309._0x5d775c,0x263,0x286,0x274)])throw new Error('Cannot\x20delete\x20active\x20profile\x20\x27'+_0x15bb7e+'\x27.\x20Switch\x20to\x20another\x20profile\x20first\x20or\x20use\x20--force');this[_0x1a0898(_0x26e309._0x5ed91b,_0x26e309._0x44f241,0x24d,_0x26e309._0x266893)][_0x1a0898(0x20d,0x244,0x228,0x23b)]=s;}let _0x2dc186=this[_0x1a0898(_0x26e309._0x4498b0,_0x26e309._0x44f241,_0x26e309._0x4579dc,_0x26e309._0x16bd46)](_0x15bb7e);_0x2a4272[_0x1b481a(0x24d,_0x26e309._0x16d0df,_0x26e309._0x5f2a90,0x251)](_0x2dc186)&&await _0x2a4272[_0x1b481a(_0x26e309._0x564264,_0x26e309._0x3ece4f,0x251,0x24d)]['rm'](_0x2dc186,{'recursive':!0x0,'force':!0x0}),delete this[_0x1a0898(_0x26e309._0x1bcd4a,0x245,_0x26e309._0x3f937a,_0x26e309._0x16bd46)]['profiles'][_0x15bb7e],await this[_0x1b481a(_0x26e309._0x531561,0x274,0x27c,_0x26e309._0x564264)]();}async[_0x48ce20(0x2da,0x2dc,0x2d3,0x2df)](_0x8f76a3){const _0x922b74={_0x4dbae6:0xca,_0x30f134:0xd5,_0x2a7f55:0x45b,_0x490727:0x459,_0x5a7337:0x445,_0x1dc2a9:0x45e,_0x41fdf5:0x82,_0x179082:0xa1,_0x20b7b2:0x8b,_0x5e0924:0xb7,_0x1bb97f:0x430,_0x2a839b:0xc5,_0x3d8820:0x86,_0x300a03:0x93,_0x2106f0:0xaa,_0x54ab1d:0x79,_0x4acdec:0x44c,_0xb6ce9e:0x452,_0x407e83:0x456,_0x5801f9:0x456,_0x1e7dd5:0xa4,_0x3b5a1b:0x85,_0x3dcb93:0xa6,_0x2708c1:0x95},_0x1480be={_0x301ee4:0x221,_0x29202e:0x117,_0x2c6af9:0x1a6};function _0x3b1485(_0x26da9e,_0x488b9a,_0x242dda,_0xe9a7b0){return _0x4811d2(_0x488b9a,_0x488b9a-0x1b9,_0x242dda-0x1f4,_0xe9a7b0-0x653);}function _0x50a147(_0x3d954e,_0xef4ff2,_0x50c4ca,_0x1ce3e0){return _0x48ce20(_0x3d954e- -_0x1480be._0x301ee4,_0xef4ff2-_0x1480be._0x29202e,_0xef4ff2,_0x1ce3e0-_0x1480be._0x2c6af9);}if(_0x8f76a3!==s&&!await this[_0x3b1485(0x456,0x447,0x45a,0x45e)](_0x8f76a3))throw new Error(_0x50a147(0xbc,_0x922b74._0x4dbae6,_0x922b74._0x30f134,0x9f)+_0x8f76a3+_0x3b1485(0x451,_0x922b74._0x2a7f55,0x422,0x43f));this[_0x3b1485(_0x922b74._0x490727,_0x922b74._0x5a7337,_0x922b74._0x1dc2a9,0x44d)][_0x50a147(_0x922b74._0x41fdf5,_0x922b74._0x179082,0x73,0x72)]=_0x8f76a3,_0x8f76a3!==s&&this[_0x50a147(0xa7,0xb5,_0x922b74._0x20b7b2,_0x922b74._0x5e0924)][_0x3b1485(0x42e,0x449,_0x922b74._0x1bb97f,0x439)][_0x8f76a3]&&(this[_0x50a147(0xa7,_0x922b74._0x2a839b,0xa4,_0x922b74._0x3d8820)][_0x50a147(_0x922b74._0x300a03,_0x922b74._0x2106f0,_0x922b74._0x54ab1d,0x95)][_0x8f76a3][_0x3b1485(0x455,_0x922b74._0x4acdec,0x427,0x433)]=new Date()[_0x3b1485(_0x922b74._0xb6ce9e,_0x922b74._0x407e83,0x463,_0x922b74._0x5801f9)]()),await this[_0x50a147(_0x922b74._0x1e7dd5,_0x922b74._0x3b5a1b,_0x922b74._0x3dcb93,_0x922b74._0x2708c1)]();}async[_0x4811d2(-0x1f4,-0x1df,-0x20e,-0x200)](){return this['registry']['active']||s;}async['exists'](_0x3915c3){const _0x2696be={_0x200b4b:0xea,_0x5a45ce:0xca,_0x4e0e71:0xce,_0xab0299:0x26d,_0x314cc7:0x102,_0x26786a:0x100,_0x10d944:0x119,_0x250dbc:0x282,_0x59607f:0x25f},_0x34ed43={_0xb3ca61:0x18b,_0x2992ca:0x40},_0x5b5974={_0x3e688a:0x90,_0x3280ce:0x16b};function _0xc0255a(_0x399af5,_0x3b8c39,_0x21cb78,_0x164d1e){return _0x4811d2(_0x164d1e,_0x3b8c39-_0x5b5974._0x3e688a,_0x21cb78-_0x5b5974._0x3280ce,_0x3b8c39-0x470);}function _0x53918c(_0x1af50a,_0x13566a,_0x1de789,_0x21acf9){return _0x48ce20(_0x1af50a- -0x3b2,_0x13566a-_0x34ed43._0xb3ca61,_0x21acf9,_0x21acf9-_0x34ed43._0x2992ca);}return _0x3915c3===s?!0x0:_0x3915c3 in this[_0x53918c(-_0x2696be._0x200b4b,-_0x2696be._0x5a45ce,-_0x2696be._0x4e0e71,-0xeb)][_0xc0255a(0x242,0x256,_0x2696be._0xab0299,0x242)]&&_0x2a4272[_0x53918c(-_0x2696be._0x314cc7,-_0x2696be._0x26786a,-0xff,-_0x2696be._0x10d944)](this[_0xc0255a(_0x2696be._0x250dbc,_0x2696be._0x59607f,0x25b,0x24e)](_0x3915c3));}[_0x48ce20(0x2bd,0x2b9,0x2b7,0x2d4)](_0x4cbe75){const _0xace3d3={_0x10caf2:0xcc,_0x21c320:0xbe,_0x49c828:0xac,_0x12affc:0x117,_0x2b07c1:0x112,_0x4b2be0:0xcd,_0x24d78d:0xd9,_0xe26656:0xd9},_0xbb9215={_0x55475c:0x37a,_0x2193dd:0x135},_0x2a9d77={_0x17a0de:0x1c5};function _0x55ac1c(_0x54b995,_0x4b51ab,_0x14e582,_0x204c00){return _0x4811d2(_0x54b995,_0x4b51ab-_0x2a9d77._0x17a0de,_0x14e582-0xea,_0x4b51ab-0x332);}function _0x390f73(_0xfcee50,_0x1fd441,_0x577229,_0x250848){return _0x48ce20(_0x1fd441- -_0xbb9215._0x55475c,_0x1fd441-_0xbb9215._0x2193dd,_0xfcee50,_0x250848-0x151);}return this[_0x390f73(-_0xace3d3._0x10caf2,-0xae,-_0xace3d3._0x21c320,-_0xace3d3._0x49c828)](_0x4cbe75)?this[_0x55ac1c(0x116,_0xace3d3._0x12affc,0x138,_0xace3d3._0x2b07c1)]:_0x58e816[_0x390f73(-0xcc,-_0xace3d3._0x4b2be0,-_0xace3d3._0x24d78d,-0xb3)](this[_0x390f73(-0xbc,-_0xace3d3._0xe26656,-0xc9,-0xbb)],_0x4cbe75);}['getProfileConfigPath'](_0xfad578){const _0x59a0ea={_0x23c378:0x334,_0x5bebe0:0x332,_0x17502e:0x319,_0x558788:0x2f9,_0x2429ad:0x32a,_0x586b37:0x329,_0x2509bb:0x311,_0x36b096:0x353,_0x742968:0x34b,_0x2b442b:0x32f},_0x2213f8={_0x3e38a8:0x19c,_0x325536:0xbe},_0x3f4f56={_0x3bdac4:0x106,_0x20e792:0x5c,_0x40fb7b:0x53a};function _0x48a288(_0x22fae1,_0x3d04ea,_0x59c466,_0x702eb0){return _0x4811d2(_0x22fae1,_0x3d04ea-_0x3f4f56._0x3bdac4,_0x59c466-_0x3f4f56._0x20e792,_0x59c466-_0x3f4f56._0x40fb7b);}function _0x6efa69(_0x512cb1,_0x5f395f,_0x35b080,_0x3989ed){return _0x48ce20(_0x5f395f- -0x33c,_0x5f395f-_0x2213f8._0x3e38a8,_0x35b080,_0x3989ed-_0x2213f8._0x325536);}return _0x58e816[_0x48a288(_0x59a0ea._0x23c378,_0x59a0ea._0x5bebe0,_0x59a0ea._0x17502e,_0x59a0ea._0x558788)](this[_0x48a288(_0x59a0ea._0x2429ad,0x319,_0x59a0ea._0x586b37,_0x59a0ea._0x2509bb)](_0xfad578),_0x48a288(_0x59a0ea._0x36b096,0x34b,_0x59a0ea._0x742968,_0x59a0ea._0x2b442b));}[_0x48ce20(0x29f,0x2af,0x2b2,0x2a4)](_0x286eec){const _0x320c26={_0x41ea00:0x3c5,_0x423d3b:0x1e5};function _0x572bd8(_0x35e5d2,_0x5c3038,_0x58263e,_0x2e9dd3){return _0x48ce20(_0x2e9dd3- -_0x320c26._0x41ea00,_0x5c3038-0x107,_0x5c3038,_0x2e9dd3-_0x320c26._0x423d3b);}return _0x58e816[_0x572bd8(-0xf5,-0x12d,-0x138,-0x118)](this['getProfileDir'](_0x286eec),'agents');}[_0x48ce20(0x2c0,0x2b8,0x2dc,0x2a7)](_0x419c80){const _0x26c87b={_0x1d004c:0x27,_0x43c4dd:0x37,_0x125159:0x14b},_0x278d97={_0x2e2a78:0x16d,_0x243063:0x6a},_0x449b72={_0x66d1c4:0x268};function _0x2100b2(_0x5a9064,_0x359612,_0x231b75,_0x30e561){return _0x48ce20(_0x359612- -_0x449b72._0x66d1c4,_0x359612-0x166,_0x231b75,_0x30e561-0x162);}function _0x15d1b5(_0x5c2547,_0x43d19d,_0x19af0a,_0x311a7c){return _0x48ce20(_0x5c2547- -_0x278d97._0x2e2a78,_0x43d19d-_0x278d97._0x243063,_0x19af0a,_0x311a7c-0x146);}return _0x58e816[_0x2100b2(0x61,0x45,_0x26c87b._0x1d004c,_0x26c87b._0x43c4dd)](this[_0x15d1b5(0x150,0x14c,_0x26c87b._0x125159,0x168)](_0x419c80),'sessions');}[_0x4811d2(-0x218,-0x24a,-0x21c,-0x230)](_0x38cd07){const _0xc775d2={_0x4cf946:0x2c1,_0x421c90:0x2a2,_0x41e626:0x2c4,_0x276ff9:0x295,_0x27883e:0x2a7},_0x361e90={_0x565bf6:0x4d1},_0x5450f9={_0x184af1:0x100,_0xa0a4a0:0x17};function _0x2ef281(_0x4db414,_0x3a5507,_0x5403b1,_0x55a05f){return _0x4811d2(_0x5403b1,_0x3a5507-_0x5450f9._0x184af1,_0x5403b1-_0x5450f9._0xa0a4a0,_0x55a05f-0x2f1);}function _0x196b94(_0x49bf9b,_0x53e1a5,_0x275643,_0x1b0ef2){return _0x4811d2(_0x1b0ef2,_0x53e1a5-0x1b,_0x275643-0x177,_0x275643-_0x361e90._0x565bf6);}return _0x58e816[_0x196b94(0x2a9,_0xc775d2._0x4cf946,0x2b0,_0xc775d2._0x421c90)](this['getProfileDir'](_0x38cd07),_0x196b94(_0xc775d2._0x41e626,_0xc775d2._0x276ff9,_0xc775d2._0x27883e,0x2a2));}[_0x4811d2(-0x1f3,-0x1e4,-0x1f5,-0x202)](_0x245b90){return _0x245b90===s;}async[_0x4811d2(-0x213,-0x21a,-0x246,-0x226)](){const _0x13de13={_0xd93340:0x3b,_0x584f4a:0x56,_0x23da60:0x17e,_0x166e7a:0x18b,_0x452e30:0x17f,_0xf5a661:0x1ac,_0x46155d:0x1b6,_0x57af1e:0x1ac,_0x365b35:0x1b3,_0x27f0f9:0x1a3,_0x188211:0x1c7,_0x5b967d:0x1b5,_0x6b7448:0x6b,_0x284d7e:0x6f,_0x112459:0x63,_0x454959:0x3e,_0x1e0d6a:0x42,_0x5d1dd9:0x5b,_0x55241a:0x3d,_0x4afd85:0x182,_0xdd1c92:0x193,_0x25f81b:0x1be,_0x42e446:0x1a4,_0x235d47:0x175,_0x404436:0x1a6,_0x4c0aee:0x4e,_0x10446d:0x45,_0x425135:0x4a},_0xe44e29={_0xbe97c8:0x0,_0x467220:0x3ad},_0x27f3cf={_0x5dee01:0x67};function _0x3ddd8b(_0xa443f2,_0x2c0f5e,_0x4de0de,_0x5f36f2){return _0x4811d2(_0x4de0de,_0x2c0f5e-_0x27f3cf._0x5dee01,_0x4de0de-0x17b,_0x2c0f5e-0x1ab);}function _0x5182e0(_0x25e54a,_0x2acdc4,_0x5df412,_0x573c63){return _0x4811d2(_0x25e54a,_0x2acdc4-_0xe44e29._0xbe97c8,_0x5df412-0x7c,_0x2acdc4-_0xe44e29._0x467220);}if(!_0x2a4272['existsSync'](this[_0x3ddd8b(-_0x13de13._0xd93340,-_0x13de13._0x584f4a,-0x5e,-0x68)]))return{'active':s,'profiles':{}};try{let _0x262c3f=await _0x2a4272[_0x5182e0(_0x13de13._0x23da60,_0x13de13._0x166e7a,_0x13de13._0x452e30,_0x13de13._0xf5a661)]['readFile'](this[_0x5182e0(_0x13de13._0x46155d,_0x13de13._0x57af1e,0x1cb,0x191)],_0x5182e0(_0x13de13._0x365b35,_0x13de13._0x27f0f9,0x1b1,0x1a3)),_0x483d71=_0x332a63(_0x262c3f);if(!_0x483d71||typeof _0x483d71!=_0x5182e0(0x1c2,0x1c0,_0x13de13._0x188211,_0x13de13._0x5b967d))return{'active':s,'profiles':{}};let _0x188074=_0x483d71;return(!_0x188074[_0x5182e0(0x19f,0x193,0x172,0x1a4)]||typeof _0x188074[_0x3ddd8b(-_0x13de13._0x6b7448,-_0x13de13._0x284d7e,-0x8a,-_0x13de13._0x112459)]!=_0x3ddd8b(-_0x13de13._0x454959,-_0x13de13._0x1e0d6a,-_0x13de13._0x5d1dd9,-_0x13de13._0x55241a))&&(_0x188074['profiles']={}),_0x188074[_0x5182e0(0x168,_0x13de13._0x4afd85,_0x13de13._0xdd1c92,0x195)]||(_0x188074['active']=s),_0x188074;}catch(_0x1165e6){return this[_0x5182e0(_0x13de13._0x25f81b,0x1a2,0x1b1,_0x13de13._0x42e446)](_0x5182e0(_0x13de13._0x235d47,0x190,_0x13de13._0x404436,0x183)+(_0x1165e6 instanceof Error?_0x1165e6[_0x3ddd8b(-_0x13de13._0x4c0aee,-_0x13de13._0x10446d,-0x35,-_0x13de13._0x425135)]:String(_0x1165e6))),{'active':s,'profiles':{}};}}async[_0x4811d2(-0x223,-0x227,-0x1f1,-0x209)](){const _0x5a6931={_0x1add70:0x294,_0x28c2d0:0x2af,_0x133faa:0x2d2,_0x4d3d28:0x154,_0x2b6987:0x176,_0x147bce:0x13c,_0x23ef64:0x177,_0x273b86:0x27d,_0xf20078:0x29d,_0x19599c:0x2bf,_0x2c4dd6:0x2a7,_0x24f249:0x15e,_0x1537ce:0x162,_0x261d1a:0x137,_0x223d8f:0x28c},_0xcffce9={_0x3bab0f:0x13a};function _0x156d79(_0x131a0d,_0x100265,_0x3576c0,_0x2d308b){return _0x4811d2(_0x131a0d,_0x100265-0x6e,_0x3576c0-0x175,_0x100265- -0x9c);}function _0x2fa836(_0xa89487,_0x51ab48,_0x2d85f3,_0x4bc4cd){return _0x4811d2(_0x51ab48,_0x51ab48-_0xcffce9._0x3bab0f,_0x2d85f3-0x159,_0xa89487-0x36c);}try{let _0xb578f6=_0x3e5c6c(this[_0x156d79(-0x285,-0x2a2,-0x2af,-_0x5a6931._0x1add70)]);await _0x2a4272[_0x156d79(-0x2b6,-0x2be,-_0x5a6931._0x28c2d0,-_0x5a6931._0x133faa)][_0x2fa836(_0x5a6931._0x4d3d28,_0x5a6931._0x2b6987,_0x5a6931._0x147bce,_0x5a6931._0x23ef64)](this[_0x156d79(-_0x5a6931._0x273b86,-_0x5a6931._0xf20078,-0x292,-_0x5a6931._0x19599c)],_0xb578f6,'utf-8');}catch(_0x4dc62b){throw this[_0x156d79(-0x2ba,-_0x5a6931._0x2c4dd6,-0x2b3,-0x2bd)](_0x2fa836(0x144,_0x5a6931._0x24f249,_0x5a6931._0x1537ce,_0x5a6931._0x261d1a)+(_0x4dc62b instanceof Error?_0x4dc62b[_0x156d79(-0x275,-_0x5a6931._0x223d8f,-0x286,-0x2a1)]:String(_0x4dc62b))),_0x4dc62b;}}async[_0x4811d2(-0x1f0,-0x1e1,-0x1db,-0x1fe)](_0x507e86,_0x111830){const _0x38c739={_0x25ccd3:0x17c,_0x6b9834:0x94,_0x5c13be:0x85,_0x49d42d:0x1b7,_0x5d0e00:0x196,_0x25ed76:0x184,_0x5d4b4b:0x17b,_0x408d48:0x199,_0x3d63d6:0x88,_0x1f84f4:0x9e,_0x2395c3:0x91,_0x396530:0x171,_0x3a0154:0x188,_0x2c8f9a:0x166,_0x78926f:0x1a0,_0x5badf8:0x164,_0x80aa81:0x60,_0x3bffab:0x61},_0x1ff5a3={_0x4b3b77:0xfc,_0x534c76:0x17b},_0x227535={_0x1152f8:0x341,_0x354895:0x55,_0x5ecabb:0x4};function _0x3f433(_0x3ec6dc,_0x21b057,_0x49eb02,_0x477f51){return _0x48ce20(_0x477f51- -_0x227535._0x1152f8,_0x21b057-_0x227535._0x354895,_0x21b057,_0x477f51-_0x227535._0x5ecabb);}let _0x6d152e=this[_0xead071(0x172,_0x38c739._0x25ccd3,0x170,0x177)](_0x507e86),_0xb2a83b=this[_0x3f433(-_0x38c739._0x6b9834,-0x89,-_0x38c739._0x5c13be,-0x84)](_0x111830),_0xa211f0=_0x58e816['join'](_0x6d152e,_0xead071(_0x38c739._0x49d42d,_0x38c739._0x5d0e00,0x189,0x199)),_0x44841f=_0x58e816['join'](_0xb2a83b,_0xead071(_0x38c739._0x25ed76,0x1b2,_0x38c739._0x5d4b4b,_0x38c739._0x408d48));function _0xead071(_0x1ed729,_0x2089f2,_0x56c988,_0x2f8391){return _0x4811d2(_0x2089f2,_0x2089f2-_0x1ff5a3._0x4b3b77,_0x56c988-_0x1ff5a3._0x534c76,_0x2f8391-0x388);}_0x2a4272[_0x3f433(-_0x38c739._0x3d63d6,-0x94,-_0x38c739._0x1f84f4,-_0x38c739._0x2395c3)](_0xa211f0)&&await _0x2a4272[_0xead071(0x144,_0x38c739._0x396530,_0x38c739._0x3a0154,0x166)][_0xead071(_0x38c739._0x2c8f9a,_0x38c739._0x78926f,_0x38c739._0x5badf8,0x185)](_0xa211f0,_0x44841f);let _0x2705a5=_0x58e816['join'](_0x6d152e,_0x3f433(-0x5d,-_0x38c739._0x80aa81,-0x48,-_0x38c739._0x3bffab)),_0x2dbf35=_0x58e816['join'](_0xb2a83b,_0x3f433(-0x67,-0x70,-0x50,-0x61));_0x2a4272['existsSync'](_0x2705a5)&&await this['copyDirectory'](_0x2705a5,_0x2dbf35);}async[_0x48ce20(0x2b2,0x2ae,0x293,0x2a7)](_0x274df4,_0x35d9fb){const _0xa82b9d={_0x312dc1:0x78,_0x550a32:0x94,_0x6d7d5e:0x1b8,_0x5dcaaf:0x1cd,_0x5e951a:0x1c4,_0x5c01b7:0xb3,_0x1b7032:0x73,_0x47d4bb:0x88,_0x2018bc:0x1e2,_0xd37fd1:0x1df,_0x39ebcc:0x76,_0x4e9ba8:0x7a,_0x556f92:0x70,_0x552973:0x85,_0xcb3d30:0x5c,_0x534476:0x7a,_0x24fc66:0x1f8,_0x483226:0x1da,_0x2db93a:0x7d,_0x50a5d6:0x79,_0x33e20e:0x75},_0x59cf2a={_0x323ae0:0x48c,_0x106db6:0x132,_0x52c9b6:0x42},_0x21f198={_0x583aa0:0x13,_0x16af46:0x18e};await _0x2a4272[_0x965da8(-0xa5,-_0xa82b9d._0x312dc1,-0x89,-_0xa82b9d._0x550a32)][_0x3656d3(-0x1eb,-0x1df,-_0xa82b9d._0x6d7d5e,-_0xa82b9d._0x5dcaaf)](_0x35d9fb,{'recursive':!0x0});function _0x965da8(_0x36677a,_0xaf349f,_0x49f10e,_0x33cf52){return _0x4811d2(_0x49f10e,_0xaf349f-_0x21f198._0x583aa0,_0x49f10e-0x147,_0x33cf52-_0x21f198._0x16af46);}let _0x391238=await _0x2a4272['promises'][_0x3656d3(-0x19b,-0x1ce,-_0xa82b9d._0x5e951a,-0x1b1)](_0x274df4,{'withFileTypes':!0x0});function _0x3656d3(_0x593027,_0x5bad70,_0x1fe4c3,_0x5c90c7){return _0x48ce20(_0x5c90c7- -_0x59cf2a._0x323ae0,_0x5bad70-_0x59cf2a._0x106db6,_0x5bad70,_0x5c90c7-_0x59cf2a._0x52c9b6);}for(let _0x2b145c of _0x391238){let _0x11b8be=_0x58e816[_0x965da8(-_0xa82b9d._0x5c01b7,-_0xa82b9d._0x1b7032,-_0xa82b9d._0x47d4bb,-0x93)](_0x274df4,_0x2b145c['name']),_0x1bee54=_0x58e816[_0x3656d3(-0x1c4,-0x1e7,-_0xa82b9d._0x2018bc,-_0xa82b9d._0xd37fd1)](_0x35d9fb,_0x2b145c[_0x965da8(-_0xa82b9d._0x39ebcc,-_0xa82b9d._0x4e9ba8,-_0xa82b9d._0x556f92,-_0xa82b9d._0x552973)]);_0x2b145c[_0x965da8(-_0xa82b9d._0xcb3d30,-0x87,-_0xa82b9d._0x534476,-0x71)]()?await this[_0x3656d3(-0x1f7,-0x1c3,-_0xa82b9d._0x24fc66,-_0xa82b9d._0x483226)](_0x11b8be,_0x1bee54):await _0x2a4272[_0x3656d3(-0x1f3,-0x1c1,-0x1d8,-0x1e0)][_0x965da8(-_0xa82b9d._0x2db93a,-_0xa82b9d._0x50a5d6,-0x97,-_0xa82b9d._0x33e20e)](_0x11b8be,_0x1bee54);}}};export{s as a,p as b};
|