@nuvin/nuvin-cli 1.23.0 → 1.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AutoUpdater-B3B4RLR4.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-CIGVGDJE.js +1 -1
- package/dist/chunk-EL4T27CW.js +1 -0
- package/dist/chunk-GVQW5RFW.js +1 -0
- package/dist/chunk-ISIPLDYE.js +1 -0
- package/dist/chunk-M6KACDU7.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-TENZZUGQ.js +1 -0
- package/dist/mcp-handler-CHOW3QDO.js +1 -0
- package/dist/messageProcessor-6LZZDCBX.js +1 -1
- package/dist/profile-handler-LQ2UK6EO.js +1 -1
- package/dist/useSessionManagement-MPX2KXWN.js +1 -0
- package/package.json +3 -3
- package/dist/chunk-6HY54JHC.js +0 -1
- package/dist/chunk-PC75UOLY.js +0 -1
- package/dist/chunk-T3SXEFWA.js +0 -1
- package/dist/demo-mode-OMRNUDG2.js +0 -1
- package/dist/mcp-handler-G4YN3OTX.js +0 -1
- package/dist/useSessionManagement-5OKRZAQA.js +0 -1
package/dist/chunk-M6KACDU7.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4eceda,_0x55b0a2){const _0x58efee={_0x128e64:0x2c3,_0xc3a92a:0x2b2,_0x24c29f:0x2be,_0x566085:0x2a7,_0x22cc2c:0x296,_0x29ccba:0x2ad,_0x2df100:0x2a5,_0x56f635:0x3f,_0x35bb58:0x73,_0xd750cf:0x2c2,_0x5cd786:0x2a6,_0x3d2413:0x2a8,_0x3645ac:0x29b,_0x397df5:0x2d1,_0x38fc20:0x2b0,_0x39fa27:0x2ab,_0xefb377:0x273,_0x2885b0:0x291,_0x39cbe2:0x280,_0x2ee68f:0x29a,_0x5ed2cf:0x2a2,_0x11d849:0x54,_0x29dd90:0x3d},_0x4f0190={_0x30f414:0x1f8},_0x153ed5=_0x4eceda();function _0x3dac33(_0x276631,_0x50bbc7,_0x5457e5,_0x3142c5){return _0x3cdf(_0x50bbc7- -_0x4f0190._0x30f414,_0x276631);}function _0x530331(_0x1ac7ae,_0x527d44,_0x6292be,_0x29948e){return _0x3cdf(_0x1ac7ae-0x10d,_0x6292be);}while(!![]){try{const _0x44e505=-parseInt(_0x530331(_0x58efee._0x128e64,_0x58efee._0xc3a92a,0x2ca,_0x58efee._0x24c29f))/0x1*(-parseInt(_0x530331(_0x58efee._0x566085,_0x58efee._0x22cc2c,_0x58efee._0x29ccba,_0x58efee._0x2df100))/0x2)+parseInt(_0x3dac33(-0x4b,-0x44,-0x43,-_0x58efee._0x56f635))/0x3+-parseInt(_0x3dac33(-0x97,-_0x58efee._0x35bb58,-0x55,-0x5c))/0x4*(parseInt(_0x530331(_0x58efee._0xd750cf,_0x58efee._0x5cd786,0x2b5,0x2e2))/0x5)+parseInt(_0x530331(0x2b1,0x2c3,_0x58efee._0x3d2413,_0x58efee._0x3645ac))/0x6*(-parseInt(_0x530331(0x2c0,0x2a2,_0x58efee._0x397df5,0x2c9))/0x7)+parseInt(_0x530331(_0x58efee._0x38fc20,0x2bc,0x29b,_0x58efee._0x39fa27))/0x8+parseInt(_0x530331(0x28a,_0x58efee._0xefb377,0x281,0x283))/0x9+parseInt(_0x530331(_0x58efee._0x2885b0,_0x58efee._0x39cbe2,_0x58efee._0x2ee68f,_0x58efee._0x5ed2cf))/0xa*(-parseInt(_0x3dac33(-_0x58efee._0x11d849,-0x46,-0x3e,-_0x58efee._0x29dd90))/0xb);if(_0x44e505===_0x55b0a2)break;else _0x153ed5['push'](_0x153ed5['shift']());}catch(_0x3c7b58){_0x153ed5['push'](_0x153ed5['shift']());}}}(_0xacab,0x93e6e));var s=_0x5b2084(0x2a,0x5c,0x3b,0x37),c=_0x5b2084(0x29,0x3f,0x36,0x18),g='profiles';function _0x3cdf(_0x156b46,_0x4c10cf){_0x156b46=_0x156b46-0x17b;const _0xacabd1=_0xacab();let _0x3cdfe5=_0xacabd1[_0x156b46];if(_0x3cdf['IFGgNn']===undefined){var _0x47adbc=function(_0x1d3ca2){const _0x10770a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39a1e5='',_0x7b8da7='';for(let _0x23314e=0x0,_0x2549a2,_0xe160bc,_0x153a87=0x0;_0xe160bc=_0x1d3ca2['charAt'](_0x153a87++);~_0xe160bc&&(_0x2549a2=_0x23314e%0x4?_0x2549a2*0x40+_0xe160bc:_0xe160bc,_0x23314e++%0x4)?_0x39a1e5+=String['fromCharCode'](0xff&_0x2549a2>>(-0x2*_0x23314e&0x6)):0x0){_0xe160bc=_0x10770a['indexOf'](_0xe160bc);}for(let _0x249e02=0x0,_0x397a72=_0x39a1e5['length'];_0x249e02<_0x397a72;_0x249e02++){_0x7b8da7+='%'+('00'+_0x39a1e5['charCodeAt'](_0x249e02)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x7b8da7);};_0x3cdf['ahzbzz']=_0x47adbc,_0x3cdf['JDQunl']={},_0x3cdf['IFGgNn']=!![];}const _0x405928=_0xacabd1[0x0],_0x110462=_0x156b46+_0x405928,_0x54ebb6=_0x3cdf['JDQunl'][_0x110462];return!_0x54ebb6?(_0x3cdfe5=_0x3cdf['ahzbzz'](_0x3cdfe5),_0x3cdf['JDQunl'][_0x110462]=_0x3cdfe5):_0x3cdfe5=_0x54ebb6,_0x3cdfe5;}function _0x1897f1(_0x2abed9,_0x31aaf8,_0x1fd9f5,_0x6b4037){return _0x3cdf(_0x1fd9f5- -0x214,_0x31aaf8);}import*as _0x39a1e5 from'fs';import*as _0x7b8da7 from'os';import*as _0x23314e from'path';import{parse as _0x2549a2,stringify as _0xe160bc}from'yaml';function _0x5b2084(_0x43ed57,_0x493cc7,_0x48943d,_0x257da6){const _0xd0d16b={_0x98392c:0x145};return _0x3cdf(_0x48943d- -_0xd0d16b._0x98392c,_0x493cc7);}var p=class{constructor(_0x153a87=()=>{}){const _0x4c637d={_0x2725bc:0x540,_0x4c049f:0x556,_0x1d3ee4:0x235,_0x2027b9:0x240,_0x2c2f76:0x581,_0x2c1612:0x57b,_0xab3bcf:0x581,_0x11a8fe:0x221,_0x3361f9:0x56d,_0x3b0854:0x574,_0x54640d:0x55c,_0xe3fd66:0x54e,_0x103c5c:0x20f,_0x3d83f7:0x22b,_0x378734:0x241,_0x53ea23:0x21d,_0xa37e8f:0x231,_0x3dff31:0x203,_0x11b55c:0x243,_0x653938:0x241},_0x30297f={_0x2663bc:0x27a,_0x2f623e:0x100},_0x3adaf5={_0x14aecf:0x99};function _0x2be746(_0x1bf172,_0x4beb81,_0x37a07c,_0x1d1250){return _0x5b2084(_0x1bf172-_0x3adaf5._0x14aecf,_0x4beb81,_0x37a07c-0x506,_0x1d1250-0xdf);}function _0x47468d(_0x165981,_0xc07474,_0x5231ca,_0x2aa232){return _0x5b2084(_0x165981-0x112,_0x5231ca,_0xc07474- -_0x30297f._0x2663bc,_0x2aa232-_0x30297f._0x2f623e);}this[_0x2be746(0x530,_0x4c637d._0x2725bc,0x549,_0x4c637d._0x4c049f)]=_0x153a87,(this['baseDir']=_0x23314e[_0x47468d(-0x224,-0x221,-_0x4c637d._0x1d3ee4,-0x22d)](_0x7b8da7[_0x47468d(-0x219,-0x233,-0x21e,-_0x4c637d._0x2027b9)](),_0x2be746(_0x4c637d._0x2c2f76,0x57c,_0x4c637d._0x2c1612,_0x4c637d._0xab3bcf)),this['profilesDir']=_0x23314e[_0x47468d(-0x208,-_0x4c637d._0x11a8fe,-0x206,-0x245)](this[_0x2be746(_0x4c637d._0x3361f9,_0x4c637d._0x3b0854,_0x4c637d._0x54640d,_0x4c637d._0xe3fd66)],g),this[_0x47468d(-0x213,-_0x4c637d._0x103c5c,-0x22e,-_0x4c637d._0x3d83f7)]=_0x23314e[_0x47468d(-_0x4c637d._0x378734,-_0x4c637d._0x11a8fe,-_0x4c637d._0x53ea23,-0x234)](this[_0x47468d(-_0x4c637d._0xa37e8f,-0x224,-_0x4c637d._0x3dff31,-0x225)],c),this[_0x47468d(-_0x4c637d._0x11b55c,-_0x4c637d._0x653938,-0x259,-_0x4c637d._0x11a8fe)]={'active':s,'profiles':{}});}async[_0x1897f1(-0x79,-0x80,-0x69,-0x7c)](){const _0x33c06a={_0xecbed3:0x546,_0x9a12cb:0x53d,_0x114285:0x228,_0x45f3f3:0x225,_0x56f25d:0x22b,_0x51f534:0x22d,_0x3e69f2:0x58e,_0x184eb4:0x256,_0x55d882:0x263,_0x22bc22:0x56b},_0x3ea6a3={_0x3c8171:0x158};function _0x26cebe(_0x33a47c,_0x18eebf,_0x193d94,_0x149c8f){return _0x5b2084(_0x33a47c-_0x3ea6a3._0x3c8171,_0x193d94,_0x18eebf- -0x28f,_0x149c8f-0x18c);}function _0x1fa223(_0x17666f,_0x2529e9,_0x57a25d,_0x18ee26){return _0x5b2084(_0x17666f-0xb6,_0x18ee26,_0x2529e9-0x500,_0x18ee26-0xd4);}await _0x39a1e5[_0x1fa223(0x54f,0x560,_0x33c06a._0xecbed3,_0x33c06a._0x9a12cb)][_0x26cebe(-0x1fe,-0x214,-_0x33c06a._0x114285,-_0x33c06a._0x45f3f3)](this['baseDir'],{'recursive':!0x0}),await _0x39a1e5[_0x26cebe(-0x21a,-0x22f,-_0x33c06a._0x56f25d,-_0x33c06a._0x51f534)][_0x1fa223(0x599,0x57b,0x59f,_0x33c06a._0x3e69f2)](this['profilesDir'],{'recursive':!0x0}),this[_0x26cebe(-0x255,-_0x33c06a._0x184eb4,-0x261,-_0x33c06a._0x55d882)]=await this[_0x1fa223(_0x33c06a._0x22bc22,0x55b,0x553,0x566)]();}async[_0x5b2084(0x21,0x3f,0x3d,0x5c)](){const _0x13d355={_0x3e49f4:0xaf,_0x14020f:0xd0,_0x207f51:0xbc,_0x273328:0xf9,_0x2a0208:0xa1,_0x288b68:0xc3,_0x1b2aab:0xb5,_0x2ec0d8:0xcc,_0x46b1ac:0xa7,_0x149e16:0xb0,_0xf2285a:0xbb,_0x26ff72:0xb9},_0x4d69d0={_0x29d0d5:0xfb,_0x2f8239:0xfc},_0x134449={_0x8cd7e2:0x69,_0x15d1b0:0x10d};function _0x143ecf(_0x5273d1,_0x38487b,_0x2862a3,_0x3c89b1){return _0x5b2084(_0x5273d1-0xa2,_0x2862a3,_0x5273d1-_0x134449._0x8cd7e2,_0x3c89b1-_0x134449._0x15d1b0);}let _0x249e02=[];function _0x560b03(_0x58c4d0,_0xb156e,_0x542f82,_0x3333ea){return _0x5b2084(_0x58c4d0-0x8f,_0x58c4d0,_0xb156e- -_0x4d69d0._0x29d0d5,_0x3333ea-_0x4d69d0._0x2f8239);}_0x249e02[_0x143ecf(_0x13d355._0x3e49f4,_0x13d355._0x14020f,_0x13d355._0x207f51,0xb9)]({'name':s,'description':_0x143ecf(0xe0,0xc2,_0x13d355._0x273328,0xf3),'created':new Date()['toISOString'](),'lastUsed':new Date()[_0x560b03(-0x87,-_0x13d355._0x2a0208,-_0x13d355._0x288b68,-0x8b)]()});for(let _0x397a72 of Object[_0x143ecf(_0x13d355._0x1b2aab,_0x13d355._0x2ec0d8,_0x13d355._0x46b1ac,0xd1)](this[_0x143ecf(0xa2,0x9a,_0x13d355._0x149e16,0xb2)][_0x143ecf(0xb6,_0x13d355._0xf2285a,0xaa,_0x13d355._0x26ff72)]))_0x249e02['push'](_0x397a72);return _0x249e02;}async[_0x1897f1(-0x91,-0x9d,-0x7c,-0x63)](_0x46f356,_0x2ab983={}){const _0x28a9b2={_0x524731:0x2bd,_0x302da4:0x2ab,_0x150de6:0x2b1,_0xd4e1b3:0x29b,_0x1d0a32:0x2dd,_0x527c5e:0x29f,_0x282f29:0x2a6,_0x23cb64:0x27d,_0x5e72cd:0x28a,_0x4d663e:0x29d,_0x3df312:0x25,_0x2e5e20:0x12,_0xdb67ea:0x19,_0x1d2299:0x2b6,_0xc02fbf:0x29f,_0x53aa72:0x2aa,_0x183343:0x2a1,_0x1da044:0x2d2,_0x3cf9d9:0x1f,_0x1686a5:0x11,_0x442ba8:0x22,_0x337100:0x2a,_0xacd3a9:0x2d6,_0x4f3fd5:0xa,_0x4e13f1:0x16,_0x31fdb6:0x2,_0x573a0d:0x17,_0x3a41db:0x7,_0x33fff0:0x32,_0x5578d6:0x1a,_0x59baab:0x13,_0x4092c2:0x0,_0x343240:0x0,_0x1ca5e6:0x5,_0x34415b:0x2cd,_0x5dd376:0x2c4,_0x4265b8:0x18,_0xea841:0x2b4,_0x26268d:0x2a8,_0x116b20:0xe,_0x557140:0x17},_0x1b6c0c={_0x58b7d5:0x96},_0x495ee5={_0x13e104:0x1f0};if(_0x46f356===s)throw new Error(_0x5139a7(_0x28a9b2._0x524731,_0x28a9b2._0x302da4,_0x28a9b2._0x150de6,_0x28a9b2._0xd4e1b3)+s+'\x27\x20(reserved)');if(!/^[a-zA-Z0-9_-]+$/[_0x5139a7(0x2cc,0x2c0,0x2ca,_0x28a9b2._0x1d0a32)](_0x46f356))throw new Error(_0x5139a7(_0x28a9b2._0x527c5e,_0x28a9b2._0x282f29,_0x28a9b2._0x23cb64,_0x28a9b2._0x5e72cd));if(await this[_0x5139a7(_0x28a9b2._0x302da4,0x28e,0x2a3,_0x28a9b2._0x4d663e)](_0x46f356))throw new Error(_0xcea54f(_0x28a9b2._0x3df312,0x15,_0x28a9b2._0x2e5e20,_0x28a9b2._0xdb67ea)+_0x46f356+'\x27\x20already\x20exists');let _0x12a679=this[_0x5139a7(_0x28a9b2._0x1d2299,0x2ca,_0x28a9b2._0xc02fbf,0x2ca)](_0x46f356);function _0x5139a7(_0x1f7264,_0x386648,_0x4619a0,_0x31bd40){return _0x5b2084(_0x1f7264-0xcd,_0x386648,_0x1f7264-0x25a,_0x31bd40-_0x495ee5._0x13e104);}if(await _0x39a1e5[_0x5139a7(0x2ba,_0x28a9b2._0x53aa72,_0x28a9b2._0x183343,_0x28a9b2._0x1da044)][_0x5139a7(0x2d5,0x2ce,0x2da,0x2f6)](_0x12a679,{'recursive':!0x0}),await _0x39a1e5['promises']['mkdir'](_0x23314e[_0xcea54f(0xa,-0xa,0x1d,_0x28a9b2._0x3cf9d9)](_0x12a679,'agents'),{'recursive':!0x0}),await _0x39a1e5[_0xcea54f(_0x28a9b2._0x1686a5,_0x28a9b2._0x442ba8,0x4,_0x28a9b2._0x337100)][_0x5139a7(0x2d5,0x2f3,_0x28a9b2._0xacd3a9,0x2c5)](_0x23314e[_0xcea54f(_0x28a9b2._0x4f3fd5,-0x10,0x29,_0x28a9b2._0x4e13f1)](_0x12a679,'sessions'),{'recursive':!0x0}),_0x2ab983[_0xcea54f(0x24,0x12,0xf,0x1a)]&&_0x2ab983[_0xcea54f(0x24,0x4,0x16,0x2f)]!==s){if(!await this[_0xcea54f(_0x28a9b2._0x31fdb6,0x17,_0x28a9b2._0x573a0d,0x20)](_0x2ab983['cloneFrom']))throw new Error(_0xcea54f(-_0x28a9b2._0x1686a5,-_0x28a9b2._0x3a41db,-_0x28a9b2._0x33fff0,-_0x28a9b2._0x5578d6)+_0x2ab983['cloneFrom']+_0xcea54f(_0x28a9b2._0x59baab,_0x28a9b2._0x4092c2,0x18,_0x28a9b2._0x343240));await this[_0xcea54f(-0x6,-_0x28a9b2._0x1ca5e6,-0x11,-0xe)](_0x2ab983[_0x5139a7(_0x28a9b2._0x34415b,_0x28a9b2._0x5dd376,0x2eb,0x2cf)],_0x46f356);}let _0x15f3a9={'name':_0x46f356,'description':_0x2ab983[_0xcea54f(_0x28a9b2._0x4265b8,0x6,_0x28a9b2._0x4f3fd5,0x7)],'created':new Date()['toISOString'](),'lastUsed':new Date()[_0x5139a7(_0x28a9b2._0xea841,0x297,_0x28a9b2._0x26268d,0x293)]()};function _0xcea54f(_0x463a00,_0x273da2,_0x75f2a1,_0x3d8256){return _0x1897f1(_0x463a00-0x1c9,_0x75f2a1,_0x463a00-0x80,_0x3d8256-_0x1b6c0c._0x58b7d5);}this[_0xcea54f(-0x16,-0x1f,_0x28a9b2._0x116b20,-0x39)][_0xcea54f(-0x2,_0x28a9b2._0x573a0d,_0x28a9b2._0x557140,_0x28a9b2._0x31fdb6)][_0x46f356]=_0x15f3a9,await this['saveRegistry']();}async[_0x5b2084(0x5b,0x21,0x37,0x29)](_0x526353,_0x73a09c={}){const _0x45650e={_0x5575c0:0x1d0,_0xc40119:0x1ba,_0xf19aeb:0x1e2,_0x1060d5:0x1eb,_0x32b9e7:0x3ea,_0x4289a3:0x3da,_0xfccddc:0x1a9,_0x3ad512:0x1bc,_0x284cd1:0x1b1,_0x3442cd:0x407,_0x3cbf09:0x3ec,_0x59475d:0x3f2,_0x52830e:0x3b2,_0x5dfbe6:0x3aa,_0x5e0420:0x3c1,_0x587c12:0x1f6,_0x284e45:0x1d6,_0x52c927:0x3f4,_0x53eb83:0x3e0,_0x3ccb4e:0x3d0,_0x11c63e:0x3e0,_0x4bdcec:0x3d8,_0x3ade7a:0x1af,_0x107263:0x1c8,_0x28e478:0x1e1,_0x4ad00d:0x1f7,_0x329042:0x3b4,_0xa4eb1b:0x3e7,_0x193d28:0x3ef,_0x3fb587:0x3d2,_0x951e7f:0x3f0},_0x105212={_0x170181:0x13f,_0x4f25c4:0x157},_0x12ab45={_0x109824:0xb4};if(_0x526353===s)throw new Error(_0x318945(-0x1b6,-0x1c5,-_0x45650e._0x5575c0,-_0x45650e._0xc40119));function _0x409b88(_0x2581fe,_0x41b00b,_0x419e6d,_0x3decd0){return _0x1897f1(_0x2581fe-0xa6,_0x419e6d,_0x3decd0-0x457,_0x3decd0-_0x12ab45._0x109824);}if(!await this[_0x318945(-_0x45650e._0xf19aeb,-0x1df,-0x1d7,-_0x45650e._0x1060d5)](_0x526353))throw new Error('Profile\x20\x27'+_0x526353+'\x27\x20does\x20not\x20exist');if(this['registry'][_0x409b88(_0x45650e._0x32b9e7,0x3fc,0x3b9,_0x45650e._0x4289a3)]===_0x526353){if(!_0x73a09c[_0x318945(-_0x45650e._0xfccddc,-0x1c3,-_0x45650e._0x3ad512,-_0x45650e._0x284cd1)])throw new Error(_0x409b88(0x404,_0x45650e._0x3442cd,0x3fa,_0x45650e._0x3cbf09)+_0x526353+_0x409b88(0x3d8,0x3f0,0x3ec,_0x45650e._0x59475d));this[_0x409b88(_0x45650e._0x52830e,_0x45650e._0x5dfbe6,0x3b4,_0x45650e._0x5e0420)][_0x318945(-0x1db,-_0x45650e._0x587c12,-_0x45650e._0x284e45,-0x1ca)]=s;}function _0x318945(_0x8a8d21,_0x54769d,_0x4a60fa,_0xea4b89){return _0x5b2084(_0x8a8d21-_0x105212._0x170181,_0x54769d,_0x4a60fa- -0x228,_0xea4b89-_0x105212._0x4f25c4);}let _0x159f68=this[_0x409b88(_0x45650e._0x52c927,0x3e2,_0x45650e._0x53eb83,0x3e4)](_0x526353);_0x39a1e5[_0x409b88(0x3cb,_0x45650e._0x3ccb4e,_0x45650e._0x11c63e,_0x45650e._0x4bdcec)](_0x159f68)&&await _0x39a1e5[_0x318945(-_0x45650e._0x3ade7a,-0x1b5,-_0x45650e._0x107263,-0x1cc)]['rm'](_0x159f68,{'recursive':!0x0,'force':!0x0}),delete this[_0x318945(-_0x45650e._0x28e478,-_0x45650e._0x4ad00d,-0x1ef,-0x1e0)][_0x409b88(_0x45650e._0x329042,0x3e9,0x3e5,0x3d5)][_0x526353],await this[_0x409b88(_0x45650e._0xa4eb1b,_0x45650e._0x193d28,_0x45650e._0x3fb587,_0x45650e._0x951e7f)]();}async[_0x1897f1(-0x9b,-0xa2,-0x8b,-0xa2)](_0x1796fc){const _0x420bc4={_0x211640:0x4fc,_0x5c6ba0:0x4f7,_0x4ef0bd:0x7b,_0x259ae2:0xd7,_0x374e04:0xa6,_0x274cd7:0xc9,_0x3cca50:0x4c2,_0x277789:0x4bb,_0x25a791:0x4be,_0x16d58c:0xb5,_0x35447d:0xc2,_0x3a3f23:0xcb,_0xc73c68:0xae,_0x2c9bc7:0xb4,_0x223ff5:0xb3,_0x48c010:0xad},_0x270031={_0x46547b:0x22,_0x470fe7:0xcc},_0x15f39d={_0x3b803a:0x16a};function _0x1ebe50(_0x4370a5,_0x14d3c6,_0x59ed30,_0x1bd17d){return _0x1897f1(_0x4370a5-_0x15f39d._0x3b803a,_0x14d3c6,_0x1bd17d-0x554,_0x1bd17d-0xd8);}function _0x3c406e(_0x548a30,_0x1ddabe,_0x1a0bfd,_0x433f1e){return _0x5b2084(_0x548a30-_0x270031._0x46547b,_0x1a0bfd,_0x1ddabe- -0xfb,_0x433f1e-_0x270031._0x470fe7);}if(_0x1796fc!==s&&!await this['exists'](_0x1796fc))throw new Error(_0x1ebe50(_0x420bc4._0x211640,_0x420bc4._0x5c6ba0,0x4f7,0x4f9)+_0x1796fc+_0x3c406e(-_0x420bc4._0x4ef0bd,-0x99,-0x7d,-0xa5));this[_0x3c406e(-0xd9,-0xc2,-_0x420bc4._0x259ae2,-_0x420bc4._0x374e04)][_0x3c406e(-_0x420bc4._0x274cd7,-0xa9,-0xc6,-0xc4)]=_0x1796fc,_0x1796fc!==s&&this[_0x1ebe50(_0x420bc4._0x3cca50,0x4da,_0x420bc4._0x277789,_0x420bc4._0x25a791)]['profiles'][_0x1796fc]&&(this[_0x3c406e(-_0x420bc4._0x16d58c,-_0x420bc4._0x35447d,-0xb5,-0xa0)][_0x3c406e(-_0x420bc4._0x3a3f23,-_0x420bc4._0xc73c68,-_0x420bc4._0x2c9bc7,-_0x420bc4._0x223ff5)][_0x1796fc][_0x3c406e(-0xdd,-0xb9,-_0x420bc4._0x48c010,-0xd2)]=new Date()['toISOString']()),await this['saveRegistry']();}async[_0x5b2084(0x82,0x58,0x78,0x96)](){const _0x1347f6={_0x3b916b:0x213,_0x1ab192:0x1fc,_0x39be42:0x1f2},_0x5ace50={_0x29be33:0xc6};function _0x5e546c(_0x2459d2,_0x3f05b4,_0x25eedd,_0x3c67b0){return _0x5b2084(_0x2459d2-0x130,_0x25eedd,_0x3c67b0-0x1b9,_0x3c67b0-_0x5ace50._0x29be33);}return this[_0x5e546c(_0x1347f6._0x3b916b,_0x1347f6._0x1ab192,0x205,_0x1347f6._0x39be42)]['active']||s;}async[_0x5b2084(0x44,0x46,0x51,0x3c)](_0x4bab0b){const _0x3e35d8={_0x1e5b23:0x81,_0x3ef843:0x6a,_0x49e02a:0xd7,_0x56c431:0xde,_0x32a0c1:0x40,_0x11738b:0x32},_0x5a7423={_0x13d280:0x38};function _0x1bd558(_0x2313d7,_0x193cfc,_0x1ea414,_0xd03aa2){return _0x1897f1(_0x2313d7-0x1a5,_0x1ea414,_0x193cfc-0x160,_0xd03aa2-0x10);}function _0x369afe(_0x56f382,_0x5d4f77,_0x2af9ed,_0x22d37c){return _0x1897f1(_0x56f382-_0x5a7423._0x13d280,_0x2af9ed,_0x22d37c-0x29,_0x22d37c-0xe8);}return _0x4bab0b===s?!0x0:_0x4bab0b in this[_0x369afe(-0x86,-_0x3e35d8._0x1e5b23,-_0x3e35d8._0x3ef843,-0x6d)][_0x1bd558(_0x3e35d8._0x49e02a,_0x3e35d8._0x56c431,0xc4,0xd6)]&&_0x39a1e5['existsSync'](this[_0x369afe(-_0x3e35d8._0x32a0c1,-0x44,-_0x3e35d8._0x11738b,-0x4a)](_0x4bab0b));}[_0x5b2084(0x58,0x6c,0x5c,0x5e)](_0x2146d9){const _0x358b43={_0x4f5bcc:0x507,_0xff6fa8:0x514,_0x6018ae:0x521,_0x2fbc30:0x16,_0x45bdd9:0x31,_0x454fb1:0x23,_0x45ac41:0xa,_0x1f8456:0x14,_0x5b8215:0x8},_0x5415bc={_0x17c483:0x1e6},_0x384e6d={_0x4a8dd9:0xcb};function _0x4ccb26(_0x3a45f9,_0x445ee3,_0x1e6555,_0x468b50){return _0x5b2084(_0x3a45f9-_0x384e6d._0x4a8dd9,_0x1e6555,_0x3a45f9- -0x6c,_0x468b50-0x1e9);}function _0x4f21e4(_0x17b84d,_0x2e423c,_0x2a8c63,_0x34f1de){return _0x1897f1(_0x17b84d-0x1e4,_0x2a8c63,_0x17b84d-0x58e,_0x34f1de-_0x5415bc._0x17c483);}return this[_0x4f21e4(_0x358b43._0x4f5bcc,_0x358b43._0xff6fa8,_0x358b43._0x6018ae,0x4fa)](_0x2146d9)?this[_0x4ccb26(-_0x358b43._0x2fbc30,-_0x358b43._0x45bdd9,-0x2b,-_0x358b43._0x454fb1)]:_0x23314e['join'](this[_0x4ccb26(_0x358b43._0x45ac41,_0x358b43._0x1f8456,_0x358b43._0x5b8215,-0xa)],_0x2146d9);}['getProfileConfigPath'](_0x1292f3){const _0x299d4b={_0xaa6ccb:0x91,_0x445e8a:0xa0,_0x4bb381:0xae},_0x443905={_0x255bbb:0xea},_0x2255c5={_0x2134a3:0xaa,_0x453161:0x15b};function _0x1029e6(_0x3104a4,_0xf99d81,_0x4b0327,_0x52ab80){return _0x1897f1(_0x3104a4-_0x2255c5._0x2134a3,_0x4b0327,_0x3104a4- -0x38,_0x52ab80-_0x2255c5._0x453161);}function _0x417bca(_0x1898d9,_0x33612e,_0x4a4aff,_0x472c31){return _0x1897f1(_0x1898d9-0x161,_0x4a4aff,_0x472c31-_0x443905._0x255bbb,_0x472c31-0x14e);}return _0x23314e[_0x1029e6(-0xae,-_0x299d4b._0xaa6ccb,-_0x299d4b._0x445e8a,-0x91)](this['getProfileDir'](_0x1292f3),_0x417bca(_0x299d4b._0x4bb381,0x77,0x7d,0x97));}[_0x1897f1(-0x87,-0x68,-0x7b,-0x75)](_0x12535d){const _0x49bf7e={_0x1ec71e:0x278,_0x4bebd8:0x272,_0x16ba6b:0x4e,_0x152d57:0x5f,_0x4f23ec:0x40},_0x230908={_0x40239d:0x23,_0x3618a1:0x166},_0xbf84bc={_0x56d8a9:0x13d};function _0x413e74(_0x783df,_0x507d0e,_0x407c13,_0x271bee){return _0x5b2084(_0x783df-0x82,_0x271bee,_0x783df-0x201,_0x271bee-_0xbf84bc._0x56d8a9);}function _0x3d9d8d(_0x5b0805,_0x3a3fc3,_0x435588,_0x26ca10){return _0x5b2084(_0x5b0805-0x11d,_0x435588,_0x3a3fc3-_0x230908._0x40239d,_0x26ca10-_0x230908._0x3618a1);}return _0x23314e['join'](this[_0x413e74(0x25d,_0x49bf7e._0x1ec71e,_0x49bf7e._0x4bebd8,0x27a)](_0x12535d),_0x3d9d8d(_0x49bf7e._0x16ba6b,_0x49bf7e._0x152d57,0x7a,_0x49bf7e._0x4f23ec));}[_0x5b2084(0x5f,0x58,0x7a,0x71)](_0x495ea2){const _0x2ff987={_0x5ff3fc:0x132,_0x3e5456:0x120,_0x45de1c:0x119,_0x3046b8:0x116,_0x3b3a7b:0x3a6,_0x4fc7e3:0x3b7,_0x5ae10c:0x3c7},_0x3da395={_0x593777:0x17,_0x2f08f1:0x36c,_0xd9ce51:0x69},_0x4c122a={_0xa59c53:0x1bb,_0x1d49c7:0x3f};function _0x4643a7(_0x51b82f,_0x5e08d7,_0x5c66c7,_0x315366){return _0x5b2084(_0x51b82f-_0x4c122a._0xa59c53,_0x51b82f,_0x315366- -0x172,_0x315366-_0x4c122a._0x1d49c7);}function _0x26a2cf(_0x246f86,_0x4efb89,_0x52b514,_0x19daff){return _0x5b2084(_0x246f86-_0x3da395._0x593777,_0x19daff,_0x246f86-_0x3da395._0x2f08f1,_0x19daff-_0x3da395._0xd9ce51);}return _0x23314e[_0x4643a7(-0x10c,-_0x2ff987._0x5ff3fc,-_0x2ff987._0x3e5456,-_0x2ff987._0x45de1c)](this[_0x4643a7(-0xf7,-0x107,-0x12e,-_0x2ff987._0x3046b8)](_0x495ea2),_0x26a2cf(_0x2ff987._0x3b3a7b,0x3a6,_0x2ff987._0x4fc7e3,_0x2ff987._0x5ae10c));}['getProfileCommandsDir'](_0x21ff70){return _0x23314e['join'](this['getProfileDir'](_0x21ff70),'commands');}[_0x1897f1(-0x80,-0x66,-0x87,-0xa1)](_0x3a7e17){return _0x3a7e17===s;}async[_0x1897f1(-0x67,-0x85,-0x74,-0x53)](){const _0x16728c={_0x8c241d:0x110,_0x66938a:0x111,_0xb06da7:0x102,_0x3b02c4:0x185,_0x4d9281:0x18b,_0x288614:0x16a,_0x25d203:0xf0,_0x5d9af5:0xd6,_0x35d82d:0xef,_0x182f9e:0xdb,_0x307368:0x110,_0x782dea:0x123,_0x405b79:0x177,_0x3652a0:0x172,_0x2394bd:0x12b,_0x4500e7:0x192,_0x2c78ac:0x108,_0x61b2cb:0x1a2,_0x1c3aae:0x17f,_0x3b0e98:0xfc,_0x1d7f87:0x111,_0x4cf023:0xf2},_0x2e6823={_0x4b3579:0xcf},_0x2fd3d0={_0x131762:0x1e4,_0x29b119:0x1d7,_0x235d84:0x12};function _0x479bb1(_0x38b749,_0x5c0694,_0x24abbb,_0x526e7f){return _0x5b2084(_0x38b749-_0x2fd3d0._0x131762,_0x38b749,_0x526e7f- -_0x2fd3d0._0x29b119,_0x526e7f-_0x2fd3d0._0x235d84);}function _0x18d499(_0x29a695,_0x24a6de,_0x3e3d38,_0x4b5e98){return _0x1897f1(_0x29a695-_0x2e6823._0x4b3579,_0x24a6de,_0x29a695-0x174,_0x4b5e98-0x17b);}if(!_0x39a1e5['existsSync'](this[_0x18d499(_0x16728c._0x8c241d,_0x16728c._0x66938a,0x128,_0x16728c._0xb06da7)]))return{'active':s,'profiles':{}};try{let _0x37cb38=await _0x39a1e5[_0x479bb1(-_0x16728c._0x3b02c4,-_0x16728c._0x4d9281,-_0x16728c._0x288614,-0x177)][_0x18d499(_0x16728c._0x25d203,_0x16728c._0x5d9af5,_0x16728c._0x35d82d,_0x16728c._0x182f9e)](this[_0x18d499(_0x16728c._0x307368,0xef,_0x16728c._0x782dea,0x121)],_0x479bb1(-0x193,-_0x16728c._0x405b79,-0x15a,-0x172)),_0x28402e=_0x2549a2(_0x37cb38);if(!_0x28402e||typeof _0x28402e!=_0x479bb1(-0x164,-_0x16728c._0x3652a0,-0x169,-0x15e))return{'active':s,'profiles':{}};let _0x5cb489=_0x28402e;return(!_0x5cb489['profiles']||typeof _0x5cb489['profiles']!=_0x18d499(0x11e,0x108,0x12e,_0x16728c._0x2394bd))&&(_0x5cb489['profiles']={}),_0x5cb489[_0x479bb1(-0x191,-0x169,-_0x16728c._0x4500e7,-0x185)]||(_0x5cb489[_0x18d499(0xf7,0xf4,_0x16728c._0x2c78ac,0xe5)]=s),_0x5cb489;}catch(_0xa62393){return this[_0x479bb1(-0x1b6,-_0x16728c._0x61b2cb,-_0x16728c._0x1c3aae,-0x194)](_0x18d499(_0x16728c._0x3b0e98,0xf8,_0x16728c._0x1d7f87,_0x16728c._0x4cf023)+(_0xa62393 instanceof Error?_0xa62393['message']:String(_0xa62393))),{'active':s,'profiles':{}};}}async[_0x5b2084(0x52,0x45,0x68,0x4a)](){const _0x2d730f={_0xdf65fa:0x40d,_0x4672a4:0x416,_0x4d0aef:0x404,_0x302cbe:0x264,_0x4a10df:0x239,_0x44356e:0x246,_0x15cba9:0x43f,_0x375673:0x220,_0x20b39f:0x247,_0x4af523:0x231,_0x155bd3:0x24b,_0x5e3279:0x262,_0x57c645:0x23c},_0x5f5584={_0x3e36d8:0x129};function _0x284d0e(_0x27d3f5,_0x5a4927,_0xa646fb,_0x3146ab){return _0x5b2084(_0x27d3f5-0x1dc,_0x3146ab,_0xa646fb-0x1fc,_0x3146ab-0x1b0);}function _0x149411(_0x3e1b39,_0xc9056c,_0x100295,_0x4a24b4){return _0x5b2084(_0x3e1b39-0x16f,_0x100295,_0x3e1b39-0x3d4,_0x4a24b4-_0x5f5584._0x3e36d8);}try{let _0x328c8a=_0xe160bc(this[_0x149411(_0x2d730f._0xdf65fa,0x404,_0x2d730f._0x4672a4,_0x2d730f._0x4d0aef)]);await _0x39a1e5['promises'][_0x284d0e(_0x2d730f._0x302cbe,_0x2d730f._0x4a10df,_0x2d730f._0x44356e,0x241)](this[_0x149411(_0x2d730f._0x15cba9,0x445,0x449,0x438)],_0x328c8a,'utf-8');}catch(_0x524c51){throw this[_0x284d0e(_0x2d730f._0x375673,0x21d,0x23f,_0x2d730f._0x20b39f)](_0x284d0e(0x238,_0x2d730f._0x4af523,_0x2d730f._0x155bd3,_0x2d730f._0x5e3279)+(_0x524c51 instanceof Error?_0x524c51[_0x284d0e(0x23d,_0x2d730f._0x57c645,0x23d,0x221)]:String(_0x524c51))),_0x524c51;}}async[_0x5b2084(0x4c,0x48,0x49,0x3d)](_0x473054,_0x576632){const _0x5f5e0d={_0xfe0d46:0x116,_0x730ab2:0x127,_0x415852:0xe3,_0x2ad8b1:0xfa,_0x47c6c7:0x102,_0x47bea5:0x119,_0x5a956b:0x113,_0x2888c1:0x104,_0x49dc98:0x191,_0x307066:0x17e,_0x59ab43:0x16a,_0x4c0215:0x18a,_0x8a70dc:0x138,_0x1a0d21:0x119,_0x56b888:0x181,_0x5a81eb:0x18d},_0x5543f8={_0x911616:0x59,_0x57056b:0xa3,_0x3c2639:0xff},_0x2b5b96={_0x31bd94:0x33};let _0x173c7c=this[_0x38cd24(-0x106,-_0x5f5e0d._0xfe0d46,-_0x5f5e0d._0x730ab2,-0x127)](_0x473054),_0x210ddd=this['getProfileDir'](_0x576632),_0x5359b9=_0x23314e['join'](_0x173c7c,_0x38cd24(-_0x5f5e0d._0x415852,-0xf6,-_0x5f5e0d._0x2ad8b1,-_0x5f5e0d._0x47c6c7)),_0x285ec0=_0x23314e[_0x38cd24(-0xfc,-_0x5f5e0d._0x47bea5,-_0x5f5e0d._0x5a956b,-_0x5f5e0d._0x2888c1)](_0x210ddd,_0x38cd24(-0xfc,-0xf6,-0x115,-_0x5f5e0d._0x47c6c7));_0x39a1e5[_0x586bb7(0x170,0x181,0x173,0x168)](_0x5359b9)&&await _0x39a1e5[_0x586bb7(0x176,_0x5f5e0d._0x49dc98,0x191,0x180)][_0x586bb7(_0x5f5e0d._0x307066,0x18e,0x1ad,0x186)](_0x5359b9,_0x285ec0);let _0x5ce807=_0x23314e[_0x586bb7(0x171,0x18a,0x16d,_0x5f5e0d._0x59ab43)](_0x173c7c,_0x586bb7(0x185,0x16d,0x151,_0x5f5e0d._0x4c0215)),_0x759b1d=_0x23314e[_0x38cd24(-_0x5f5e0d._0x8a70dc,-_0x5f5e0d._0x1a0d21,-0x10f,-0x10f)](_0x210ddd,_0x38cd24(-0x146,-0x136,-0x14e,-0x13d));function _0x586bb7(_0x3067fb,_0x42ebcf,_0x2b97cd,_0x5780fd){return _0x1897f1(_0x3067fb-0xe4,_0x5780fd,_0x42ebcf-0x200,_0x5780fd-_0x2b5b96._0x31bd94);}function _0x38cd24(_0x517cca,_0x592f25,_0x195c7d,_0x19e7a3){return _0x1897f1(_0x517cca-_0x5543f8._0x911616,_0x195c7d,_0x592f25- -_0x5543f8._0x57056b,_0x19e7a3-_0x5543f8._0x3c2639);}_0x39a1e5[_0x586bb7(0x167,_0x5f5e0d._0x56b888,0x190,0x19d)](_0x5ce807)&&await this[_0x586bb7(0x1ad,0x192,0x187,_0x5f5e0d._0x5a81eb)](_0x5ce807,_0x759b1d);}async[_0x1897f1(-0x50,-0x79,-0x6e,-0x71)](_0x1e065b,_0x157aac){const _0x3433b0={_0x121166:0x46,_0xfa3791:0x41,_0x3e9be4:0x43,_0x42b575:0x397,_0x5efc20:0x38e,_0x26625d:0x381,_0x5835c0:0x37c,_0x1e6f45:0x37a,_0x176bde:0x42,_0x5e595f:0x3c,_0xca5ad9:0x34f,_0x3b2785:0x36a,_0x496d72:0x377,_0x18fe42:0x369,_0x1af855:0x31,_0x92e84f:0x365,_0x1ffffa:0x35a},_0x10708f={_0x36477a:0x14a},_0x552c69={_0x20bda4:0x1a};function _0x3e4009(_0x3411be,_0x1cc0a4,_0x232c41,_0x585711){return _0x5b2084(_0x3411be-_0x552c69._0x20bda4,_0x1cc0a4,_0x585711- -0x1d,_0x585711-0x28);}function _0x2c0157(_0x2e5b88,_0x4992ff,_0x53d8e9,_0x341585){return _0x5b2084(_0x2e5b88-_0x10708f._0x36477a,_0x341585,_0x4992ff-0x31c,_0x341585-0x12a);}await _0x39a1e5[_0x3e4009(0x51,_0x3433b0._0x121166,_0x3433b0._0xfa3791,_0x3433b0._0x3e9be4)][_0x2c0157(0x395,_0x3433b0._0x42b575,_0x3433b0._0x5efc20,0x38d)](_0x157aac,{'recursive':!0x0});let _0x389746=await _0x39a1e5[_0x2c0157(_0x3433b0._0x26625d,_0x3433b0._0x5835c0,0x37d,_0x3433b0._0x1e6f45)][_0x3e4009(_0x3433b0._0x176bde,0x2d,0x3c,0x4c)](_0x1e065b,{'withFileTypes':!0x0});for(let _0xc03b42 of _0x389746){let _0xc48f1a=_0x23314e[_0x3e4009(0x40,0x1d,0x53,_0x3433b0._0x5e595f)](_0x1e065b,_0xc03b42[_0x2c0157(_0x3433b0._0xca5ad9,_0x3433b0._0x3b2785,_0x3433b0._0x496d72,_0x3433b0._0x18fe42)]),_0x55d8fa=_0x23314e['join'](_0x157aac,_0xc03b42[_0x3e4009(_0x3433b0._0x1af855,0x16,0x12,0x31)]);_0xc03b42['isDirectory']()?await this['copyDirectory'](_0xc48f1a,_0x55d8fa):await _0x39a1e5[_0x2c0157(0x398,0x37c,_0x3433b0._0x92e84f,0x364)][_0x2c0157(0x395,0x379,0x360,_0x3433b0._0x1ffffa)](_0xc48f1a,_0x55d8fa);}}};function _0xacab(){const _0x4d0aff=['BgfZDfvZzwq','Bg9Nz2vY','C3DPDgnO','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','ChvZAa','Ag9TzwrPCG','AxnezwzHDwX0','y2XVBMvqCM9MAwXLrMLSzxm','D3jPDgvgAwXL','CMvHzezPBgu','DMfSDwvZ','ChjVzMLSzxm','BMfTzq','rMfPBgvKihrVihnHDMuGChjVzMLSzxmGCMvNAxn0CNK6ia','zxHPC3rZu3LUyW','zxHPC3rZ','ywn0AxzL','y3jLyxrL','z2v0uhjVzMLSzufNzw50C0rPCG','mLPfBwH6yW','yMfZzurPCG','rMfPBgvKihrVigXVywqGChjVzMLSzxmGCMvNAxn0CNK6ia','q2fUBM90igrLBgv0zsbKzwzHDwX0ihbYB2zPBgu','AM9PBG','Dg9ju09tDhjPBMC','Bg9HzfjLz2LZDhj5','z2v0uhjVzMLSzurPCG','y29WEuzPBgu','ndmXnJKZnNnhvKPVrG','nMz4C2nUwa','ChjVBwLZzxm','y29WEurPCMvJDg9YEq','jYbKB2vZig5VDcbLEgLZDa','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','q2fUBM90igrLBgv0zsbHy3rPDMuGChjVzMLSzsaN','DxrMltG','Aw5PDgLHBgL6zq','zgvZy3jPChrPB24','C2f2zvjLz2LZDhj5','CMvHzgrPCG','jY4Gu3DPDgnOihrVigfUB3rOzxiGChjVzMLSzsbMAxjZDcbVCIb1C2uGls1MB3jJzq','CMvNAxn0CNLqyxrO','zM9Yy2u','odeWnZGXngXdC0XHuq','mJaXntaYn2fSvvbcAW','mZe4mZyZnK5MyNHPqW','ndvouuXuBhm','nJa2mtu5y2nKuMjM','DgvZDa','y2XVBMvgCM9T','uhjVzMLSzsaN','lM51DMLUlwnSAq','ChjVzMLSzxneAxi','rgvMyxvSDcbWCM9MAwXL','z2v0qwn0AxzL','B2jQzwn0','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','BwTKAxi','y29UzMLNlNLHBwW','ChjVzMLSzxmUEwfTBa','zgvSzxrL','nZuYodG0mKTIwMrmrW','CMvNAxn0CNK','C2vZC2LVBNm','zgvMyxvSDa','ywDLBNrZ','BgLZDa','u291CMnLihbYB2zPBguGjW','mJbisu5Tvuu','mZaWmZe2wfHHBMzX','BwvZC2fNzq'];_0xacab=function(){return _0x4d0aff;};return _0xacab();}export{s as a,p as b};
|
|
1
|
+
(function(_0xb33fdc,_0x214643){const _0xf736cc={_0x47fc58:0x396,_0x275e7e:0x3b3,_0x28ac7d:0x4c,_0x2146aa:0x2f,_0x14c55c:0x37e,_0x4f2a7a:0x363,_0x15f280:0x391,_0x1eed1c:0x39a,_0x201486:0x53,_0x2cedc6:0x385,_0x5e1f5b:0x4f,_0x4f5f50:0x34,_0x4f5d45:0x4b,_0x3be049:0x5a,_0x14f814:0x4b,_0x29f7f5:0x4b},_0x47845d={_0x73dec1:0xfa},_0x5b9ffa={_0xb7cab9:0x23c},_0x17f8eb=_0xb33fdc();function _0x2c2255(_0x18f87f,_0x3b6629,_0x337f77,_0x2d53a2){return _0x2e7a(_0x3b6629-_0x5b9ffa._0xb7cab9,_0x337f77);}function _0x1e29a4(_0x1b1f27,_0x308c53,_0x49f936,_0x4c89a9){return _0x2e7a(_0x1b1f27- -_0x47845d._0x73dec1,_0x308c53);}while(!![]){try{const _0x33ea3b=-parseInt(_0x2c2255(0x386,_0xf736cc._0x47fc58,0x396,_0xf736cc._0x275e7e))/0x1*(parseInt(_0x1e29a4(_0xf736cc._0x28ac7d,_0xf736cc._0x2146aa,0x5a,0x46))/0x2)+parseInt(_0x2c2255(0x365,_0xf736cc._0x14c55c,_0xf736cc._0x4f2a7a,0x395))/0x3+-parseInt(_0x2c2255(_0xf736cc._0x15f280,_0xf736cc._0x1eed1c,0x38d,0x395))/0x4*(-parseInt(_0x1e29a4(0x4b,0x4c,_0xf736cc._0x201486,0x4b))/0x5)+-parseInt(_0x2c2255(0x350,0x36d,_0xf736cc._0x2cedc6,0x383))/0x6+-parseInt(_0x1e29a4(_0xf736cc._0x5e1f5b,0x48,_0xf736cc._0x4f5f50,_0xf736cc._0x4f5d45))/0x7*(-parseInt(_0x1e29a4(0x44,0x35,0x58,0x5d))/0x8)+-parseInt(_0x1e29a4(_0xf736cc._0x3be049,0x6b,_0xf736cc._0x14f814,0x54))/0x9+parseInt(_0x1e29a4(0x42,0x3f,0x5e,_0xf736cc._0x29f7f5))/0xa;if(_0x33ea3b===_0x214643)break;else _0x17f8eb['push'](_0x17f8eb['shift']());}catch(_0x273adb){_0x17f8eb['push'](_0x17f8eb['shift']());}}}(_0x49be,0x5d332));var s=_0x10a382(0x2c3,0x2c9,0x2c9,0x2d3),c=_0x10a382(0x2df,0x2df,0x2e4,0x2d9),g='profiles';function _0x2e7a(_0x336fb2,_0x383e5a){_0x336fb2=_0x336fb2-0x12b;const _0x49beea=_0x49be();let _0x2e7adb=_0x49beea[_0x336fb2];if(_0x2e7a['qDySXg']===undefined){var _0x140131=function(_0x4f52f2){const _0xb2d9f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x262ab5='',_0x4febde='';for(let _0xd63b9e=0x0,_0x9bf73b,_0x416d0f,_0x1224ef=0x0;_0x416d0f=_0x4f52f2['charAt'](_0x1224ef++);~_0x416d0f&&(_0x9bf73b=_0xd63b9e%0x4?_0x9bf73b*0x40+_0x416d0f:_0x416d0f,_0xd63b9e++%0x4)?_0x262ab5+=String['fromCharCode'](0xff&_0x9bf73b>>(-0x2*_0xd63b9e&0x6)):0x0){_0x416d0f=_0xb2d9f['indexOf'](_0x416d0f);}for(let _0x44163b=0x0,_0x377d2e=_0x262ab5['length'];_0x44163b<_0x377d2e;_0x44163b++){_0x4febde+='%'+('00'+_0x262ab5['charCodeAt'](_0x44163b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4febde);};_0x2e7a['UEJBFi']=_0x140131,_0x2e7a['OdbYig']={},_0x2e7a['qDySXg']=!![];}const _0x2b28d5=_0x49beea[0x0],_0x54020f=_0x336fb2+_0x2b28d5,_0xb1129b=_0x2e7a['OdbYig'][_0x54020f];return!_0xb1129b?(_0x2e7adb=_0x2e7a['UEJBFi'](_0x2e7adb),_0x2e7a['OdbYig'][_0x54020f]=_0x2e7adb):_0x2e7adb=_0xb1129b,_0x2e7adb;}import*as _0x262ab5 from'fs';function _0x44ffb8(_0x681fb1,_0x536586,_0x216034,_0x4951b9){const _0x301892={_0x3e89e6:0x24};return _0x2e7a(_0x4951b9-_0x301892._0x3e89e6,_0x681fb1);}function _0x49be(){const _0x391341=['nhvLqu5rta','z2v0uhjVzMLSzurPCG','BMfTzq','ChvZAa','CMvNAxn0CNLqyxrO','ywn0AxzL','Ag9TzwrPCG','uhjVzMLSzsaN','u291CMnLihbYB2zPBguGjW','ChjVzMLSzxneAxi','uhjVzMLSzsbUyw1Lig11C3qGy29UDgfPBIbVBMX5igfSCgHHBNvTzxjPyYbJAgfYywn0zxjZlcbOExbOzw5ZlcbHBMqGDw5KzxjZy29Yzxm','z2v0qwn0AxzL','y2XVBMvgCM9T','jYbHBhjLywr5igv4Axn0CW','zxHPC3rZu3LUyW','C3DPDgnO','zgvMyxvSDa','ChjVzMLSzxm','BwTKAxi','y29WEuzPBgu','ndmYnZq1ohz3z0vxta','zxHPC3rZ','zM9Yy2u','y2XVBMvqCM9MAwXLrMLSzxm','jYbKB2vZig5VDcbLEgLZDa','CMvHzgrPCG','q2fUBM90igrLBgv0zsbHy3rPDMuGChjVzMLSzsaN','zgvZy3jPChrPB24','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','CMvHzezPBgu','AxnezwzHDwX0','nZaYmJe1mhrIEfvktW','Bg9Nz2vY','mJC1ndrhrvLOvNu','C2f2zvjLz2LZDhj5','BgLZDa','y29TBwfUzhm','mtG5mde0n1rzwefRyq','ChjVzMLSzxmUEwfTBa','BwvZC2fNzq','mte2ndvSEevLBxe','mtmWmJiWnLbzyLP5Cq','z2v0uhjVzMLSzufNzw50C0rPCG','AM9PBG','otu5quTTq1jW','CMvNAxn0CNK','rMfPBgvKihrVigXVywqGChjVzMLSzxmGCMvNAxn0CNK6ia','Aw5PDgLHBgL6zq','ChjVBwLZzxm','y3jLyxrL','BgfZDfvZzwq','ywDLBNrZ','DxrMltG','q2fUBM90ignYzwf0zsbWCM9MAwXLig5HBwvKicC','Dg9ju09tDhjPBMC','ndy5nZi4AurrvM54','B2jQzwn0','yMfZzurPCG','Bg9HzfjLz2LZDhj5','D3jPDgvgAwXL','z2v0uhjVzMLSzunVBw1HBMrZrgLY','mvbhEwnhsq','y29UzMLNlNLHBwW','AxneAxjLy3rVCNK','C2vZC2LVBNm'];_0x49be=function(){return _0x391341;};return _0x49be();}import*as _0x4febde from'os';import*as _0xd63b9e from'path';import{parse as _0x9bf73b,stringify as _0x416d0f}from'yaml';var p=class{constructor(_0x1224ef=()=>{}){const _0x2e7b43={_0x290d85:0x26f,_0x4bb5c0:0x389,_0x2b41f8:0x374,_0x2c5423:0x398,_0x165bde:0x3ac,_0x3a2027:0x36c,_0x218d8a:0x36d,_0x49064a:0x34d},_0x2cef7a={_0x29672a:0x1dd,_0xde904c:0x201};this['logger']=_0x1224ef;function _0x3a0292(_0x9a9200,_0x4a8d6c,_0xda386d,_0x290e87){return _0x44ffb8(_0x4a8d6c,_0x4a8d6c-_0x2cef7a._0x29672a,_0xda386d-0x109,_0x9a9200-_0x2cef7a._0xde904c);}function _0x487f42(_0x1cccc8,_0x5e22db,_0x4abbd4,_0x3956b7){return _0x10a382(_0x1cccc8-0x9f,_0x1cccc8- -0x75,_0x4abbd4,_0x3956b7-0x28);}this[_0x487f42(0x27d,0x266,0x290,0x295)]=_0xd63b9e[_0x487f42(_0x2e7b43._0x290d85,0x26c,0x269,0x28b)](_0x4febde[_0x3a0292(_0x2e7b43._0x4bb5c0,_0x2e7b43._0x2b41f8,_0x2e7b43._0x2c5423,0x379)](),'.nuvin-cli'),this[_0x3a0292(0x38c,_0x2e7b43._0x165bde,0x391,0x383)]=_0xd63b9e[_0x3a0292(0x36d,0x34f,0x376,_0x2e7b43._0x3a2027)](this['baseDir'],g),this['registryPath']=_0xd63b9e[_0x3a0292(_0x2e7b43._0x218d8a,_0x2e7b43._0x49064a,0x36e,0x34e)](this['baseDir'],c),this['registry']={'active':s,'profiles':{}};}async[_0x44ffb8(0x166,0x18c,0x15a,0x170)](){const _0xee153b={_0x31f708:0x246,_0x16ae0d:0x25d,_0x4f73fc:0x23d,_0x37be14:0x248,_0x5ab1ab:0x238};function _0x16466b(_0x365308,_0x1ec353,_0xa927bf,_0x11fa73){return _0x44ffb8(_0x11fa73,_0x1ec353-0x5d,_0xa927bf-0x11e,_0x1ec353- -0x11c);}function _0x326523(_0x23fe03,_0x395453,_0x17c324,_0x24056e){return _0x44ffb8(_0x24056e,_0x395453-0x17d,_0x17c324-0x10,_0x17c324- -0x3b7);}await _0x262ab5[_0x326523(-0x246,-0x257,-_0xee153b._0x31f708,-0x259)][_0x326523(-0x270,-_0xee153b._0x31f708,-0x264,-0x252)](this[_0x326523(-0x22b,-_0xee153b._0x16ae0d,-_0xee153b._0x4f73fc,-_0xee153b._0x37be14)],{'recursive':!0x0}),await _0x262ab5[_0x326523(-0x265,-0x23b,-0x246,-_0xee153b._0x5ab1ab)]['mkdir'](this['profilesDir'],{'recursive':!0x0}),this['registry']=await this[_0x16466b(0x77,0x5f,0x6c,0x61)]();}async[_0x44ffb8(0x17c,0x144,0x148,0x164)](){const _0x46cc00={_0x4e9134:0x1cf,_0x28f135:0x1ee,_0x22f17e:0x1b2,_0x17bb5b:0x3bb,_0x3b0c99:0x1e9,_0x4620f7:0x1dd,_0x546937:0x1d7,_0x2da527:0x1d5,_0x39677e:0x1ca,_0x209fbd:0x1e6,_0x3ab6b7:0x1fa,_0x207d99:0x205},_0x1f81e1={_0x2369a7:0x51},_0x96e060={_0x100cd2:0xe8};let _0x44163b=[];function _0x53af97(_0x469930,_0xe031e1,_0x3b2ca1,_0x44892d){return _0x10a382(_0x469930-_0x96e060._0x100cd2,_0xe031e1- -0x4cc,_0x469930,_0x44892d-0x120);}function _0x3ac2c4(_0x3e0673,_0x56b17a,_0x3592cc,_0x4fe384){return _0x10a382(_0x3e0673-_0x1f81e1._0x2369a7,_0x3e0673-0xcc,_0x56b17a,_0x4fe384-0x7b);}_0x44163b[_0x53af97(-0x1c0,-_0x46cc00._0x4e9134,-_0x46cc00._0x28f135,-_0x46cc00._0x22f17e)]({'name':s,'description':'Default\x20profile','created':new Date()[_0x3ac2c4(_0x46cc00._0x17bb5b,0x3ae,0x3b9,0x3d8)](),'lastUsed':new Date()[_0x53af97(-_0x46cc00._0x3b0c99,-_0x46cc00._0x4620f7,-_0x46cc00._0x546937,-_0x46cc00._0x2da527)]()});for(let _0x377d2e of Object['values'](this[_0x53af97(-_0x46cc00._0x39677e,-_0x46cc00._0x209fbd,-_0x46cc00._0x3ab6b7,-_0x46cc00._0x207d99)]['profiles']))_0x44163b[_0x53af97(-0x1b7,-_0x46cc00._0x4e9134,-0x1b2,-0x1bd)](_0x377d2e);return _0x44163b;}async[_0x44ffb8(0x181,0x176,0x187,0x172)](_0x58a2bb,_0x3acd31={}){const _0x5b2543={_0x1e1e84:0xb2,_0x5cf0c4:0xc6,_0x20e6e6:0xc8,_0x5879c7:0x142,_0x5c8059:0x133,_0x300203:0x12b,_0x55cc98:0x12c,_0xcff8c2:0xad,_0x27d297:0xb7,_0x56a2c4:0xbf,_0xd7fad3:0x163,_0x257469:0x130,_0x18ff07:0x123,_0x4a2235:0xd0,_0xe63db4:0xb0,_0x185f75:0xa0,_0x284e7b:0xc7,_0x1992c2:0xb5,_0x34fe5a:0x110,_0x550abf:0x13a,_0x4ef0b5:0x109,_0x18874b:0x118,_0x5e6a05:0x11c,_0x3529aa:0xbd,_0x8b51b6:0xd1,_0x245f58:0x150,_0x4f5faf:0x143,_0x3e760d:0xb2,_0x370653:0xd3,_0x22fff9:0x94,_0x1e20eb:0xc1,_0xcf467f:0xca,_0x5275b7:0x96,_0x34d760:0x98,_0x1ed189:0x13f,_0x9a6092:0x132,_0x577db2:0x78,_0x446119:0xa8,_0x56dad4:0x131,_0x2106ea:0x149,_0x7aefd6:0x141},_0x2a08ca={_0x75c17:0xb4,_0x7aafe7:0x3a,_0x5159dc:0xc4},_0x4b3482={_0x2dda34:0x15d};if(_0x58a2bb===s)throw new Error(_0x470d34(0x9d,0xc0,0xc0,_0x5b2543._0x1e1e84)+s+'\x27\x20(reserved)');if(!/^[a-zA-Z0-9_-]+$/['test'](_0x58a2bb))throw new Error(_0x470d34(_0x5b2543._0x5cf0c4,0xb4,0xe1,_0x5b2543._0x20e6e6));if(await this[_0x4c08ed(-0x161,-0x150,-_0x5b2543._0x5879c7,-_0x5b2543._0x5c8059)](_0x58a2bb))throw new Error('Profile\x20\x27'+_0x58a2bb+_0x4c08ed(-_0x5b2543._0x300203,-0x117,-0x11e,-_0x5b2543._0x55cc98));function _0x4c08ed(_0x1b2767,_0x16594c,_0x9613e4,_0x54fda4){return _0x44ffb8(_0x1b2767,_0x16594c-0x150,_0x9613e4-_0x4b3482._0x2dda34,_0x16594c- -0x2a6);}let _0xea5172=this['getProfileDir'](_0x58a2bb);if(await _0x262ab5[_0x470d34(0x9e,0x8f,0xa3,_0x5b2543._0xcff8c2)]['mkdir'](_0xea5172,{'recursive':!0x0}),await _0x262ab5[_0x470d34(_0x5b2543._0x27d297,0xae,_0x5b2543._0x56a2c4,0xad)][_0x4c08ed(-_0x5b2543._0xd7fad3,-0x153,-0x14b,-0x151)](_0xd63b9e[_0x4c08ed(-_0x5b2543._0x257469,-0x13a,-0x13b,-_0x5b2543._0x18ff07)](_0xea5172,_0x470d34(0x9f,_0x5b2543._0x4a2235,0xb2,_0x5b2543._0xe63db4)),{'recursive':!0x0}),await _0x262ab5[_0x470d34(_0x5b2543._0x185f75,0xa5,0xae,0xad)]['mkdir'](_0xd63b9e[_0x470d34(0xb1,_0x5b2543._0x284e7b,_0x5b2543._0x1992c2,0xa8)](_0xea5172,_0x4c08ed(-0x11a,-0x125,-_0x5b2543._0x34fe5a,-_0x5b2543._0x550abf)),{'recursive':!0x0}),_0x3acd31[_0x4c08ed(-_0x5b2543._0x4ef0b5,-_0x5b2543._0x18874b,-_0x5b2543._0x5e6a05,-0x128)]&&_0x3acd31[_0x470d34(0xc0,_0x5b2543._0x3529aa,_0x5b2543._0x8b51b6,0xca)]!==s){if(!await this[_0x4c08ed(-0x164,-_0x5b2543._0x245f58,-0x159,-_0x5b2543._0x4f5faf)](_0x3acd31['cloneFrom']))throw new Error(_0x470d34(0xc7,0xd8,0xe4,_0x5b2543._0x5cf0c4)+_0x3acd31[_0x470d34(_0x5b2543._0x3e760d,0xc9,_0x5b2543._0x370653,0xca)]+'\x27\x20does\x20not\x20exist');await this[_0x470d34(0x81,0x95,0xa8,_0x5b2543._0x22fff9)](_0x3acd31[_0x470d34(_0x5b2543._0x1e20eb,0xaf,0xd1,_0x5b2543._0xcf467f)],_0x58a2bb);}let _0x521c59={'name':_0x58a2bb,'description':_0x3acd31[_0x470d34(_0x5b2543._0x5275b7,_0x5b2543._0x185f75,0x7d,_0x5b2543._0x34d760)],'created':new Date()[_0x4c08ed(-0x128,-0x12f,-0x125,-_0x5b2543._0x1ed189)](),'lastUsed':new Date()[_0x4c08ed(-0x13c,-0x12f,-0x11b,-_0x5b2543._0x9a6092)]()};function _0x470d34(_0x13600f,_0x2dadcc,_0x1dfa10,_0x3aaf06){return _0x44ffb8(_0x13600f,_0x2dadcc-_0x2a08ca._0x75c17,_0x1dfa10-_0x2a08ca._0x7aafe7,_0x3aaf06- -_0x2a08ca._0x5159dc);}this['registry'][_0x470d34(_0x5b2543._0x577db2,0x84,_0x5b2543._0x446119,0x8e)][_0x58a2bb]=_0x521c59,await this[_0x4c08ed(-_0x5b2543._0x56dad4,-0x143,-_0x5b2543._0x2106ea,-_0x5b2543._0x7aefd6)]();}async['delete'](_0x579f9a,_0x3dac91={}){const _0x2f5fa7={_0x28ede5:0x464,_0x42d733:0x465,_0x50092d:0x485,_0x3dfb29:0x434,_0x1f8fd6:0x448,_0xb6b0d1:0x12a,_0x3e092d:0x143,_0x26e84f:0x122,_0x5342b4:0x161,_0x2c76ea:0x172,_0x1e62df:0x17d,_0x8db3d1:0x141,_0x2b18c9:0x436,_0x264734:0x436,_0x534d84:0x14a,_0x198a7a:0x152,_0x3d6824:0x15f,_0x813d8d:0x470,_0x839a5b:0x46d,_0x24e9cd:0x175,_0x416325:0x16e,_0x1d2feb:0x14c,_0x54e21d:0x166},_0x54ab2c={_0x2e89a5:0x163},_0x357805={_0x5cc055:0x173,_0x2a19c4:0x167,_0x5635c6:0x2b8};function _0x403bcc(_0x14f128,_0x1409fb,_0x5d6395,_0x349b71){return _0x44ffb8(_0x5d6395,_0x1409fb-_0x357805._0x5cc055,_0x5d6395-_0x357805._0x2a19c4,_0x14f128- -_0x357805._0x5635c6);}function _0x4196a7(_0x62264e,_0x3ab4f5,_0x142e85,_0xd18232){return _0x10a382(_0x62264e-0x4f,_0x62264e-_0x54ab2c._0x2e89a5,_0x142e85,_0xd18232-0xe9);}if(_0x579f9a===s)throw new Error('Cannot\x20delete\x20default\x20profile');if(!await this['exists'](_0x579f9a))throw new Error(_0x4196a7(_0x2f5fa7._0x28ede5,_0x2f5fa7._0x42d733,_0x2f5fa7._0x50092d,0x47e)+_0x579f9a+_0x4196a7(_0x2f5fa7._0x3dfb29,_0x2f5fa7._0x1f8fd6,0x44a,0x44d));if(this[_0x403bcc(-0x14a,-0x166,-_0x2f5fa7._0xb6b0d1,-_0x2f5fa7._0x3e092d)][_0x403bcc(-0x131,-0x124,-0x152,-_0x2f5fa7._0x26e84f)]===_0x579f9a){if(!_0x3dac91[_0x403bcc(-_0x2f5fa7._0x5342b4,-_0x2f5fa7._0x2c76ea,-_0x2f5fa7._0x1e62df,-_0x2f5fa7._0x8db3d1)])throw new Error(_0x4196a7(_0x2f5fa7._0x2b18c9,0x42c,0x428,_0x2f5fa7._0x264734)+_0x579f9a+'\x27.\x20Switch\x20to\x20another\x20profile\x20first\x20or\x20use\x20--force');this[_0x403bcc(-_0x2f5fa7._0x534d84,-0x152,-_0x2f5fa7._0x198a7a,-_0x2f5fa7._0x3d6824)][_0x4196a7(0x462,0x45c,_0x2f5fa7._0x813d8d,_0x2f5fa7._0x839a5b)]=s;}let _0xa4a8c5=this[_0x403bcc(-0x135,-0x134,-0x116,-0x152)](_0x579f9a);_0x262ab5[_0x403bcc(-0x169,-_0x2f5fa7._0x24e9cd,-_0x2f5fa7._0x416325,-_0x2f5fa7._0x1d2feb)](_0xa4a8c5)&&await _0x262ab5['promises']['rm'](_0xa4a8c5,{'recursive':!0x0,'force':!0x0}),delete this['registry'][_0x403bcc(-_0x2f5fa7._0x54e21d,-0x16e,-0x154,-0x151)][_0x579f9a],await this['saveRegistry']();}async[_0x44ffb8(0x13c,0x140,0x143,0x150)](_0x46c0cb){const _0x3cdcd8={_0x145722:0x2a6,_0x36282f:0x295,_0x5d1dee:0x2a1,_0x46d99b:0x2b3,_0x173549:0x4e,_0x25ac20:0x44,_0x51e07f:0x46,_0x3c4e19:0x29b,_0x36b8e:0x2ac,_0x2498be:0x2a7,_0x153029:0x290,_0x1936e9:0x287,_0x33b98e:0x2a2,_0xedd195:0x2cb,_0x140487:0x2c8,_0x14fcac:0x2b5,_0x54df4f:0x2cc,_0x26814c:0x2af,_0x50f22d:0x2a2,_0x5af0bd:0x2a0},_0x59eca2={_0x393ab6:0x343},_0x144f87={_0x4f00b1:0x151,_0x503d2a:0x3a};function _0x2e7781(_0x178cb0,_0x288593,_0x4f116f,_0x5e3cbc){return _0x10a382(_0x178cb0-_0x144f87._0x4f00b1,_0x288593- -_0x144f87._0x503d2a,_0x5e3cbc,_0x5e3cbc-0x82);}function _0x31475a(_0x71a266,_0x3234f2,_0x476e7a,_0x53505a){return _0x10a382(_0x71a266-0x13f,_0x3234f2- -_0x59eca2._0x393ab6,_0x53505a,_0x53505a-0x79);}if(_0x46c0cb!==s&&!await this[_0x2e7781(0x2b0,0x294,_0x3cdcd8._0x145722,_0x3cdcd8._0x36282f)](_0x46c0cb))throw new Error('Profile\x20\x27'+_0x46c0cb+_0x2e7781(_0x3cdcd8._0x5d1dee,0x297,_0x3cdcd8._0x46d99b,0x28a));this[_0x2e7781(0x291,0x2ac,0x2ba,0x2a9)][_0x31475a(-_0x3cdcd8._0x173549,-_0x3cdcd8._0x25ac20,-0x35,-_0x3cdcd8._0x51e07f)]=_0x46c0cb,_0x46c0cb!==s&&this[_0x2e7781(_0x3cdcd8._0x3c4e19,_0x3cdcd8._0x36b8e,0x2b4,_0x3cdcd8._0x5d1dee)][_0x2e7781(_0x3cdcd8._0x2498be,_0x3cdcd8._0x153029,_0x3cdcd8._0x1936e9,0x2a5)][_0x46c0cb]&&(this['registry']['profiles'][_0x46c0cb][_0x2e7781(_0x3cdcd8._0x33b98e,0x2b1,_0x3cdcd8._0xedd195,0x2ca)]=new Date()[_0x2e7781(_0x3cdcd8._0x140487,_0x3cdcd8._0x14fcac,_0x3cdcd8._0x54df4f,_0x3cdcd8._0x26814c)]()),await this[_0x2e7781(0x2bd,0x2a1,_0x3cdcd8._0x50f22d,_0x3cdcd8._0x5af0bd)]();}async[_0x10a382(0x2f1,0x305,0x2f7,0x30e)](){const _0x444ae4={_0x2cf217:0x169,_0x3cd960:0x174,_0xb2671d:0x1f7,_0x5447ae:0x1fa},_0x33eff7={_0x11e63b:0x17c};function _0x37e43e(_0x5b3c12,_0x24f01e,_0x511530,_0x19e76d){return _0x44ffb8(_0x511530,_0x24f01e-0xd5,_0x511530-0x8d,_0x19e76d- -0xc);}function _0x2f3f9e(_0x5efbf9,_0x4ef8b8,_0x2937c2,_0x482f7f){return _0x44ffb8(_0x5efbf9,_0x4ef8b8-0x182,_0x2937c2-_0x33eff7._0x11e63b,_0x482f7f-0x73);}return this[_0x37e43e(_0x444ae4._0x2cf217,_0x444ae4._0x3cd960,0x152,0x162)][_0x2f3f9e(0x1e3,_0x444ae4._0xb2671d,0x1ee,_0x444ae4._0x5447ae)]||s;}async[_0x10a382(0x2be,0x2ce,0x2c6,0x2ad)](_0x40019f){const _0x5e9a9e={_0x4ec49d:0x25f,_0x485ca6:0x24e,_0x2da0f4:0x274,_0x450802:0x230,_0x22d1b0:0x228,_0x3f142f:0x2c6,_0x319026:0x2de,_0x4f6ae6:0x256},_0x54ce89={_0x2415f4:0x15a},_0x16b844={_0x52c3ab:0xf5,_0x40b8ba:0x17,_0x11fe0d:0x169};function _0x4bf697(_0x597f53,_0x16095b,_0x29bd74,_0x439bbd){return _0x10a382(_0x597f53-_0x16b844._0x52c3ab,_0x439bbd-_0x16b844._0x40b8ba,_0x29bd74,_0x439bbd-_0x16b844._0x11fe0d);}function _0x1dee14(_0x40d61b,_0x5f34d0,_0x54c274,_0x332bef){return _0x10a382(_0x40d61b-_0x54ce89._0x2415f4,_0x5f34d0- -0x87,_0x40d61b,_0x332bef-0x4a);}return _0x40019f===s?!0x0:_0x40019f in this[_0x1dee14(0x267,_0x5e9a9e._0x4ec49d,_0x5e9a9e._0x485ca6,_0x5e9a9e._0x2da0f4)][_0x1dee14(_0x5e9a9e._0x450802,0x243,0x252,_0x5e9a9e._0x22d1b0)]&&_0x262ab5[_0x4bf697(0x2f7,_0x5e9a9e._0x3f142f,0x2f2,_0x5e9a9e._0x319026)](this[_0x1dee14(0x253,0x274,0x268,_0x5e9a9e._0x4f6ae6)](_0x40019f));}[_0x10a382(0x30d,0x2fb,0x2e1,0x312)](_0x8ecd00){const _0x342dcd={_0x135f39:0xda,_0x3a8384:0xd2,_0x476c97:0xf4,_0x49242e:0x10a,_0x5d5128:0xf0,_0x4407a2:0x122,_0x486a6b:0x10f},_0x221041={_0x1071a6:0x265};function _0x81a113(_0x2faa55,_0x5126d9,_0x4cc61a,_0x3c64d8){return _0x44ffb8(_0x5126d9,_0x5126d9-0x173,_0x4cc61a-0x98,_0x3c64d8-_0x221041._0x1071a6);}function _0x5bd729(_0x31d23,_0x216f0f,_0xf96e8c,_0x28a91b){return _0x10a382(_0x31d23-0x190,_0x28a91b- -0x1f4,_0x31d23,_0x28a91b-0x7b);}return this[_0x5bd729(_0x342dcd._0x135f39,0xf7,_0x342dcd._0x3a8384,0xe3)](_0x8ecd00)?this[_0x5bd729(0xe8,0x109,0x10c,0xfe)]:_0xd63b9e[_0x5bd729(_0x342dcd._0x476c97,_0x342dcd._0x49242e,0xd0,_0x342dcd._0x5d5128)](this[_0x5bd729(0xfd,0xf9,_0x342dcd._0x4407a2,_0x342dcd._0x486a6b)],_0x8ecd00);}['getProfileConfigPath'](_0x421827){const _0x11170e={_0x4fa994:0x2b},_0xc4c80c={_0x17c416:0x176};function _0x4e3e39(_0x275009,_0x5184cf,_0x5bb91c,_0x5f0033){return _0x10a382(_0x275009-0xb0,_0x5184cf- -0x2cb,_0x275009,_0x5f0033-_0xc4c80c._0x17c416);}return _0xd63b9e['join'](this[_0x4e3e39(0x28,0x30,_0x11170e._0x4fa994,0x37)](_0x421827),'config.yaml');}[_0x44ffb8(0x180,0x164,0x16a,0x16b)](_0x21bc70){const _0x44ebdb={_0x4198c4:0x530,_0x211a3d:0x533,_0x3adac4:0x528,_0x445791:0x536},_0x58bb61={_0x2202cb:0x238},_0x3fa6cb={_0x19cc62:0x1bd};function _0x36ebef(_0x27c6f0,_0x1b54e6,_0x1a68fa,_0x61ae11){return _0x44ffb8(_0x61ae11,_0x1b54e6-_0x3fa6cb._0x19cc62,_0x1a68fa-0xf8,_0x27c6f0- -0x152);}function _0x5509ff(_0x2d1a97,_0x14d815,_0x578503,_0xc25d60){return _0x10a382(_0x2d1a97-0x166,_0xc25d60-_0x58bb61._0x2202cb,_0x578503,_0xc25d60-0x82);}return _0xd63b9e[_0x5509ff(0x506,0x501,0x52e,0x51c)](this[_0x5509ff(0x520,_0x44ebdb._0x4198c4,0x52b,_0x44ebdb._0x211a3d)](_0x21bc70),_0x5509ff(_0x44ebdb._0x3adac4,_0x44ebdb._0x445791,0x540,0x524));}[_0x44ffb8(0x175,0x13c,0x161,0x15d)](_0x291442){const _0x4604c1={_0xee0530:0x10b,_0x25050d:0x123,_0x484403:0x101,_0x51a957:0x12b,_0x1bbdee:0x102},_0x275831={_0x37e6a8:0x117,_0x4243fe:0x7c,_0x1889b6:0x29},_0x18de53={_0x283b87:0x58,_0x1bc4d5:0x64};function _0xf576b0(_0xe8fd82,_0x227a74,_0x42d491,_0x23b101){return _0x44ffb8(_0xe8fd82,_0x227a74-_0x18de53._0x283b87,_0x42d491-0xb0,_0x42d491- -_0x18de53._0x1bc4d5);}function _0x494f4e(_0x29041f,_0x558c32,_0x578cc1,_0x48fe3b){return _0x44ffb8(_0x578cc1,_0x558c32-_0x275831._0x37e6a8,_0x578cc1-_0x275831._0x4243fe,_0x29041f-_0x275831._0x1889b6);}return _0xd63b9e[_0xf576b0(0xec,_0x4604c1._0xee0530,0x108,_0x4604c1._0x25050d)](this[_0xf576b0(_0x4604c1._0x484403,_0x4604c1._0x51a957,0x11f,_0x4604c1._0x1bbdee)](_0x291442),_0x494f4e(0x1aa,0x1af,0x19d,0x18b));}[_0x44ffb8(0x199,0x164,0x191,0x17d)](_0x24866f){const _0x3a568c={_0x1b6675:0x9,_0x29554a:0x3d,_0x3e958f:0x8,_0x31b322:0x1d,_0x4c0a7e:0x0},_0xafb923={_0x4cd0fd:0x1d,_0x59a34a:0x182};function _0x2e2a29(_0x2c37c4,_0x1149ea,_0x51f462,_0x9a00f0){return _0x10a382(_0x2c37c4-0xb1,_0x51f462- -0x3d2,_0x2c37c4,_0x9a00f0-0x3);}function _0x5a8e87(_0x4cac23,_0x2cde44,_0x1d0063,_0x2da2be){return _0x44ffb8(_0x1d0063,_0x2cde44-_0xafb923._0x4cd0fd,_0x1d0063-_0xafb923._0x59a34a,_0x2cde44- -0x15d);}return _0xd63b9e['join'](this[_0x5a8e87(_0x3a568c._0x1b6675,0x26,_0x3a568c._0x29554a,0x35)](_0x24866f),_0x5a8e87(0xa,_0x3a568c._0x3e958f,_0x3a568c._0x31b322,_0x3a568c._0x4c0a7e));}['isDefault'](_0xed3397){return _0xed3397===s;}async[_0x10a382(0x2e1,0x2f3,0x2d5,0x2f3)](){const _0x27316d={_0x3ec4d0:0x38b,_0x304aff:0x36c,_0xddbb0:0x371,_0x296515:0x379,_0x2545c6:0x372,_0x5b3d3f:0x498,_0x4f00c7:0x3a4,_0x4ae76b:0x39a,_0x5865bf:0x388,_0x3473f4:0x479,_0x5ac900:0x492,_0xc7d87c:0x4aa,_0x1fcdd6:0x395,_0x5d78f0:0x37c,_0x1d6c86:0x357,_0x306d63:0x36b,_0x5d08cb:0x47f,_0x1c04c1:0x46f,_0x4fa508:0x46d,_0x4281c5:0x4a7,_0xeb8ac3:0x48e,_0xe05adb:0x4a4,_0x28549c:0x4ad,_0x120c0a:0x4a9,_0x47225d:0x495,_0x493d35:0x46c,_0x228a01:0x47e,_0x2d6505:0x377,_0x141c36:0x359,_0x5acaf6:0x467,_0x336610:0x489},_0x371b08={_0x18c3dd:0x1c2,_0x432489:0xd,_0x2332b4:0x31d},_0x231f3a={_0x229d85:0x1e0};if(!_0x262ab5[_0x1df63f(0x354,0x336,0x357,0x333)](this[_0x1df63f(_0x27316d._0x3ec4d0,_0x27316d._0x304aff,_0x27316d._0xddbb0,0x377)]))return{'active':s,'profiles':{}};function _0x1df63f(_0x30ca09,_0x2c2026,_0x254d00,_0x2baadb){return _0x10a382(_0x30ca09-0x1b2,_0x30ca09-0x8d,_0x2baadb,_0x2baadb-_0x231f3a._0x229d85);}function _0x227d1d(_0x50160c,_0x5d1d6c,_0x4547c5,_0xd8dc52){return _0x44ffb8(_0x5d1d6c,_0x5d1d6c-_0x371b08._0x18c3dd,_0x4547c5-_0x371b08._0x432489,_0x4547c5-_0x371b08._0x2332b4);}try{let _0x13ac9f=await _0x262ab5[_0x1df63f(0x376,_0x27316d._0x296515,_0x27316d._0x2545c6,0x364)][_0x227d1d(0x47e,_0x27316d._0x5b3d3f,0x47b,0x47d)](this[_0x1df63f(_0x27316d._0x3ec4d0,_0x27316d._0x4f00c7,_0x27316d._0x4ae76b,_0x27316d._0x5865bf)],_0x227d1d(_0x27316d._0x3473f4,0x492,_0x27316d._0x5ac900,_0x27316d._0xc7d87c)),_0x15fa7c=_0x9bf73b(_0x13ac9f);if(!_0x15fa7c||typeof _0x15fa7c!=_0x1df63f(0x37e,0x361,_0x27316d._0x1fcdd6,_0x27316d._0x5d78f0))return{'active':s,'profiles':{}};let _0x3ab839=_0x15fa7c;return(!_0x3ab839[_0x1df63f(_0x27316d._0x1d6c86,_0x27316d._0x306d63,0x358,0x36d)]||typeof _0x3ab839[_0x227d1d(0x46f,_0x27316d._0x5d08cb,_0x27316d._0x1c04c1,_0x27316d._0x4fa508)]!=_0x1df63f(0x37e,0x36b,0x35f,0x367))&&(_0x3ab839[_0x1df63f(0x357,0x357,_0x27316d._0x306d63,0x353)]={}),_0x3ab839[_0x227d1d(_0x27316d._0x4281c5,_0x27316d._0xeb8ac3,_0x27316d._0xe05adb,0x48e)]||(_0x3ab839[_0x227d1d(_0x27316d._0x28549c,_0x27316d._0x120c0a,_0x27316d._0xe05adb,_0x27316d._0x47225d)]=s),_0x3ab839;}catch(_0x4f00b8){return this[_0x227d1d(_0x27316d._0x493d35,0x490,_0x27316d._0x228a01,0x472)](_0x1df63f(0x374,_0x27316d._0x2d6505,_0x27316d._0x3ec4d0,_0x27316d._0x141c36)+(_0x4f00b8 instanceof Error?_0x4f00b8[_0x227d1d(_0x27316d._0x5acaf6,_0x27316d._0x336610,0x485,0x4a1)]:String(_0x4f00b8))),{'active':s,'profiles':{}};}}async['saveRegistry'](){const _0x3cc442={_0x3c6d64:0x106,_0x2bc440:0x125,_0x432bd0:0xed,_0x5b8679:0x10c,_0x5a6c4e:0x106,_0x3c838f:0xe7,_0x1a8bbe:0xf8,_0x50c795:0xee,_0x520e79:0x100,_0x3085d6:0xdd,_0x1734c5:0xf7,_0x5c253b:0x113,_0x2d0d7f:0x11a,_0x1d7349:0xf3,_0x5ed67e:0xf9,_0x2b2bd0:0xdb},_0x1ac5c9={_0xb4b4b5:0x11a,_0x1d569d:0x3ec,_0x5d1157:0x1b6},_0x3a3749={_0x20ad6e:0x14c,_0x455ca5:0x138};function _0x511684(_0x758515,_0x297ba8,_0x28fc87,_0xb1c281){return _0x10a382(_0x758515-_0x3a3749._0x20ad6e,_0x297ba8- -0x3bd,_0xb1c281,_0xb1c281-_0x3a3749._0x455ca5);}function _0x232bf6(_0x2406dd,_0x3d431d,_0x5d7658,_0x2ea0e0){return _0x10a382(_0x2406dd-_0x1ac5c9._0xb4b4b5,_0x2406dd- -_0x1ac5c9._0x1d569d,_0x2ea0e0,_0x2ea0e0-_0x1ac5c9._0x5d1157);}try{let _0x1e37a1=_0x416d0f(this[_0x232bf6(-_0x3cc442._0x3c6d64,-_0x3cc442._0x2bc440,-0xf0,-_0x3cc442._0x432bd0)]);await _0x262ab5[_0x232bf6(-0x103,-_0x3cc442._0x5b8679,-_0x3cc442._0x5a6c4e,-_0x3cc442._0x3c838f)][_0x232bf6(-_0x3cc442._0x1a8bbe,-0x105,-0x102,-0xff)](this[_0x232bf6(-_0x3cc442._0x50c795,-_0x3cc442._0x520e79,-_0x3cc442._0x3085d6,-_0x3cc442._0x1734c5)],_0x1e37a1,'utf-8');}catch(_0x3ce77a){throw this[_0x232bf6(-_0x3cc442._0x5c253b,-_0x3cc442._0x2d0d7f,-_0x3cc442._0x1d7349,-_0x3cc442._0x5ed67e)]('Failed\x20to\x20save\x20profiles\x20registry:\x20'+(_0x3ce77a instanceof Error?_0x3ce77a[_0x511684(-_0x3cc442._0x2b2bd0,-0xdd,-0xdb,-0xed)]:String(_0x3ce77a))),_0x3ce77a;}}async[_0x44ffb8(0x174,0x16a,0x13f,0x158)](_0x25eefc,_0x404772){const _0x54cd16={_0x48ff1f:0x3a5,_0x50889d:0x38c,_0x4872f7:0x368,_0x209a6d:0x371,_0x478aab:0x358,_0x4eb8d9:0x2ff,_0x13bfc8:0x375,_0x767cfc:0x2de,_0x52bf28:0x2dd,_0x462170:0x2d8,_0x497d38:0x2cf,_0x3d0905:0x390,_0x34df8a:0x375,_0x2b5f7a:0x36a,_0x265cbd:0x37d,_0x174073:0x367,_0x4bfcb2:0x2da,_0x1a004d:0x297},_0xb1ad46={_0x2133bb:0xe6,_0x2a0a92:0x1da},_0xda83c7={_0x25fed4:0x19a,_0x11779d:0x1c0};function _0x403414(_0x5e9c15,_0x5260ec,_0x275e1d,_0x488a4a){return _0x10a382(_0x5e9c15-_0xda83c7._0x25fed4,_0x275e1d-0x91,_0x5e9c15,_0x488a4a-_0xda83c7._0x11779d);}let _0x4a4943=this['getProfileDir'](_0x25eefc),_0x56da8f=this[_0x403414(_0x54cd16._0x48ff1f,0x384,_0x54cd16._0x50889d,0x3a1)](_0x404772),_0x216452=_0xd63b9e[_0x403414(_0x54cd16._0x4872f7,_0x54cd16._0x209a6d,0x375,_0x54cd16._0x478aab)](_0x4a4943,_0x1ba9b7(0x2e6,0x301,_0x54cd16._0x4eb8d9,0x2e7)),_0x55d4fa=_0xd63b9e[_0x403414(0x360,0x377,_0x54cd16._0x13bfc8,0x381)](_0x56da8f,_0x1ba9b7(0x2e6,_0x54cd16._0x767cfc,_0x54cd16._0x52bf28,0x2cc));function _0x1ba9b7(_0x5aa059,_0x30f300,_0x5cb255,_0x15d2c2){return _0x44ffb8(_0x30f300,_0x30f300-_0xb1ad46._0x2133bb,_0x5cb255-_0xb1ad46._0x2a0a92,_0x5aa059-0x167);}_0x262ab5['existsSync'](_0x216452)&&await _0x262ab5[_0x1ba9b7(_0x54cd16._0x462170,0x2c3,0x2f4,0x2bd)][_0x1ba9b7(0x2bb,0x2a2,0x2b4,_0x54cd16._0x497d38)](_0x216452,_0x55d4fa);let _0x33ca17=_0xd63b9e[_0x403414(_0x54cd16._0x3d0905,0x374,_0x54cd16._0x34df8a,0x379)](_0x4a4943,_0x403414(_0x54cd16._0x2b5f7a,0x36b,_0x54cd16._0x265cbd,_0x54cd16._0x174073)),_0x5db5a1=_0xd63b9e['join'](_0x56da8f,_0x1ba9b7(0x2db,_0x54cd16._0x4bfcb2,0x2cb,0x2e2));_0x262ab5[_0x1ba9b7(0x2b6,0x2bd,_0x54cd16._0x1a004d,0x2c1)](_0x33ca17)&&await this['copyDirectory'](_0x33ca17,_0x5db5a1);}async['copyDirectory'](_0x44ea3f,_0x2a077f){const _0x3e4250={_0x498400:0x4e5,_0x54e395:0x1cb,_0x489d1f:0x1e2,_0x32cb0d:0x4e5,_0x742cf:0x4ea,_0x112ce1:0x4cd,_0x1ecb83:0x4e3,_0x42adb2:0x4ce,_0x533110:0x4ed,_0x3a3227:0x201,_0x337e6e:0x1db,_0x57cc21:0x1f3,_0x9c2ad4:0x4fd,_0x397075:0x4dd,_0x6eec6d:0x503,_0x16c0e1:0x4dd,_0x4cf0cf:0x505,_0x50d586:0x50c,_0x4a3b99:0x1f8,_0x437dd2:0x1e1,_0x373a95:0x1f2,_0x55b5ba:0x4ef,_0xb13fdd:0x1ae},_0x5d1557={_0x2fc646:0x182},_0x5022ce={_0xb8591c:0x1b6,_0x4f8671:0x187};function _0x2c250e(_0x10e6f7,_0x29591f,_0x426f55,_0x16c14c){return _0x10a382(_0x10e6f7-_0x5022ce._0xb8591c,_0x29591f-0x201,_0x426f55,_0x16c14c-_0x5022ce._0x4f8671);}await _0x262ab5[_0x2c250e(0x4de,0x4ea,_0x3e4250._0x498400,0x4d9)][_0x3a650f(_0x3e4250._0x54e395,0x1da,0x1e5,_0x3e4250._0x489d1f)](_0x2a077f,{'recursive':!0x0});function _0x3a650f(_0x498842,_0x4f1f7d,_0x139de7,_0x16bf73){return _0x44ffb8(_0x139de7,_0x4f1f7d-0x48,_0x139de7-_0x5d1557._0x2fc646,_0x498842-0x78);}let _0x1a33a3=await _0x262ab5[_0x2c250e(_0x3e4250._0x32cb0d,_0x3e4250._0x742cf,_0x3e4250._0x112ce1,_0x3e4250._0x1ecb83)][_0x2c250e(_0x3e4250._0x42adb2,0x4d3,0x4e2,_0x3e4250._0x533110)](_0x44ea3f,{'withFileTypes':!0x0});for(let _0x36b87d of _0x1a33a3){let _0x3c4b14=_0xd63b9e[_0x3a650f(0x1e4,_0x3e4250._0x3a3227,_0x3e4250._0x337e6e,_0x3e4250._0x57cc21)](_0x44ea3f,_0x36b87d[_0x2c250e(0x508,_0x3e4250._0x9c2ad4,_0x3e4250._0x397075,0x4f9)]),_0x940836=_0xd63b9e[_0x2c250e(0x4f2,_0x3e4250._0x32cb0d,0x4f7,_0x3e4250._0x6eec6d)](_0x2a077f,_0x36b87d[_0x2c250e(_0x3e4250._0x16c0e1,0x4fd,_0x3e4250._0x4cf0cf,_0x3e4250._0x50d586)]);_0x36b87d[_0x3a650f(_0x3e4250._0x4a3b99,_0x3e4250._0x437dd2,_0x3e4250._0x373a95,0x1e7)]()?await this['copyDirectory'](_0x3c4b14,_0x940836):await _0x262ab5[_0x2c250e(0x4cf,0x4ea,_0x3e4250._0x55b5ba,0x4e8)][_0x3a650f(0x1cc,0x1b9,0x1c7,_0x3e4250._0xb13fdd)](_0x3c4b14,_0x940836);}}};function _0x10a382(_0xd1525b,_0x5d230e,_0x24200b,_0x28bbcb){return _0x2e7a(_0x5d230e-0x19c,_0x24200b);}export{s as a,p as b};
|