@nuvin/nuvin-cli 1.36.0-rc.14 → 1.36.0-rc.15

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.
@@ -1 +1 @@
1
- (function(_0x390868,_0x305236){const _0x156dbe={_0xd961d4:0x8b,_0x50fca1:0xa5,_0x67b7ae:0xbb,_0x54d2e0:0xd5,_0x42ddf5:0x48,_0x166be5:0x17,_0x3ee4d7:0xd2,_0x5d317d:0xbf,_0x36e8d8:0xc6,_0x23dd58:0x20,_0x56e3d8:0x44,_0x26032e:0x36,_0x2020b6:0x15,_0xdb197:0x18,_0x5d8801:0xb,_0x4f06d7:0xd8,_0x86e6fb:0xcf},_0x56bf04={_0x3f04db:0x17a},_0x117e0c={_0x305249:0xe5};function _0x1051a0(_0x463ec0,_0x12408f,_0x49ab60,_0x10250a){return _0xd804(_0x10250a- -_0x117e0c._0x305249,_0x49ab60);}const _0x169795=_0x390868();function _0x3e8639(_0x1061bf,_0x3dba36,_0xe8546a,_0x3d5c13){return _0xd804(_0x3dba36- -_0x56bf04._0x3f04db,_0xe8546a);}while(!![]){try{const _0x1dafcc=-parseInt(_0x1051a0(_0x156dbe._0xd961d4,_0x156dbe._0x50fca1,_0x156dbe._0x67b7ae,0xaa))/0x1+-parseInt(_0x1051a0(0xb6,0xd8,0xf0,_0x156dbe._0x54d2e0))/0x2*(parseInt(_0x3e8639(_0x156dbe._0x42ddf5,0x43,0x1d,0x5c))/0x3)+parseInt(_0x3e8639(0xf,_0x156dbe._0x166be5,0x26,0xf))/0x4+-parseInt(_0x1051a0(0xe3,_0x156dbe._0x3ee4d7,_0x156dbe._0x5d317d,_0x156dbe._0x36e8d8))/0x5+-parseInt(_0x3e8639(_0x156dbe._0x23dd58,_0x156dbe._0x56e3d8,0x53,0x2e))/0x6*(parseInt(_0x3e8639(0x5b,_0x156dbe._0x26032e,0x4c,_0x156dbe._0x2020b6))/0x7)+parseInt(_0x3e8639(-0x2,_0x156dbe._0xdb197,-0x2,-_0x156dbe._0x5d8801))/0x8+parseInt(_0x1051a0(0xbd,0xbb,_0x156dbe._0x4f06d7,_0x156dbe._0x86e6fb))/0x9;if(_0x1dafcc===_0x305236)break;else _0x169795['push'](_0x169795['shift']());}catch(_0x3e1223){_0x169795['push'](_0x169795['shift']());}}}(_0x51f5,0x8d463));function _0xd804(_0x139e37,_0x45b766){_0x139e37=_0x139e37-0x17b;const _0x51f55e=_0x51f5();let _0xd8044d=_0x51f55e[_0x139e37];if(_0xd804['EvbZYz']===undefined){var _0xe23f68=function(_0x34f45a){const _0x1aad89='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc18d26='',_0x39c053='';for(let _0x37e9bd=0x0,_0x29eeb5,_0x8dec3,_0x3a16f1=0x0;_0x8dec3=_0x34f45a['charAt'](_0x3a16f1++);~_0x8dec3&&(_0x29eeb5=_0x37e9bd%0x4?_0x29eeb5*0x40+_0x8dec3:_0x8dec3,_0x37e9bd++%0x4)?_0xc18d26+=String['fromCharCode'](0xff&_0x29eeb5>>(-0x2*_0x37e9bd&0x6)):0x0){_0x8dec3=_0x1aad89['indexOf'](_0x8dec3);}for(let _0x2c1ee9=0x0,_0x4593c7=_0xc18d26['length'];_0x2c1ee9<_0x4593c7;_0x2c1ee9++){_0x39c053+='%'+('00'+_0xc18d26['charCodeAt'](_0x2c1ee9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x39c053);};_0xd804['SxiLPj']=_0xe23f68,_0xd804['eEBMXT']={},_0xd804['EvbZYz']=!![];}const _0x23d38a=_0x51f55e[0x0],_0xddc476=_0x139e37+_0x23d38a,_0x5c5947=_0xd804['eEBMXT'][_0xddc476];return!_0x5c5947?(_0xd8044d=_0xd804['SxiLPj'](_0xd8044d),_0xd804['eEBMXT'][_0xddc476]=_0xd8044d):_0xd8044d=_0x5c5947,_0xd8044d;}function _0x51f5(){const _0x39f7ba=['BMfTzq','mZeWndm1nxLyAufTCa','C3DPDgnO','z2v0uhjVzMLSzunVBMzPz1bHDgG','BwvZC2fNzq','ugf0AdOG','nJKYmZq5n1Pdww5jAq','cLbYB2zPBguGtwfUywDLBwvUDcbdB21Tyw5KCWOkvxnHz2u6cIaGBNv2Aw4GChjVzMLSzsa8y29TBwfUzd4Gw29WDgLVBNnDcGPdB21Tyw5KCZOkicbSAxn0icaGicaGicaGicaGicaGicaGicaGicaGtgLZDcbHBgWGChjVzMLSzxmkicbJCMvHDguGpg5HBwu+icaGicaGicaGicaGicaGq3jLyxrLigeGBMv3ihbYB2zPBgukicbKzwXLDguGpg5HBwu+icaGicaGicaGicaGicaGrgvSzxrLigeGChjVzMLSzqOGihn3AxrJAca8BMfTzt4GicaGicaGicaGicaGicbtD2L0y2GGywn0AxzLihbYB2zPBgukicbZAg93icaGicaGicaGicaGicaGicaGicaGicaGu2HVDYbJDxjYzw50ihbYB2zPBguGAw5MBWOGignSB25LidXZB3vYy2u+idX0yxjNzxq+icaGicbdBg9UzsbHBIbLEgLZDgLUzYbWCM9MAwXLcIaGAgvSCcaGicaGicaGicaGicaGicaGicaGicaGifnOB3CGDgHPCYbOzwXWig1LC3nHz2ukcKnYzwf0zsbpChrPB25ZoGOGic0TzgvZy3jPChrPB24Sic1KidX0zxH0pIaGicaGuhjVzMLSzsbKzxnJCMLWDgLVBGOGic0Ty2XVBMuTzNjVBsWGlwmGphnVDxjJzt4GicaGq2XVBMuGzxHPC3rPBMCGChjVzMLSzqOkrgvSzxrLie9WDgLVBNm6cIaGls1MB3jJzsWGlwyGicaGicaGicaGicaGicaGicbgB3jJzsbKzwXLDguGzxzLBIbPzIbHy3rPDMukcKv4yw1WBgvZoGOGig51DMLUihbYB2zPBguGBgLZDaOGig51DMLUihbYB2zPBguGy3jLyxrLihDVCMSGls1KzxnJCMLWDgLVBIaIv29YAYbWCM9Qzwn0CYikicbUDxzPBIbWCM9MAwXLihn3AxrJAcb3B3jRcIaGBNv2Aw4GChjVzMLSzsbJBg9Uzsb3B3jRignSAwvUDc1WCM9Qzwn0cIaGBNv2Aw4GChjVzMLSzsbKzwXLDguGB2XKlxbYB2PLy3qGls1MB3jJzqOGig51DMLUihbYB2zPBguGC2HVDWOktM90ztOGvgHLicDKzwzHDwX0jYbWCM9MAwXLigLZihjLC2vYDMvKigfUzcbJyw5UB3qGyMuGzgvSzxrLzc4kvgHLigrLzMf1BhqGChjVzMLSzsb1C2vZihrOzsbYB290ih4VlM51DMLUigrPCMvJDg9YEs4k','cKn1CNjLBNqGuhjVzMLSztO','rxjYB3i6ifbYB2zPBguGBMfTzsbPCYbYzxf1AxjLza','mty4ndqYmdjbEKzRCLq','BgLZDfbYB2zPBgvZ','C2HVD0HLBha','qxzHAwXHyMXLihbYB2zPBgvZoG','jYbKzwXLDgvKihn1y2nLC3nMDwXSEq','z2v0uhjVzMLSzurPCG','nhfryNHJwq','zgvSzxrL','C3DPDgnOuhjVzMLSzq','nJq0ndy5wKDdDunf','nKzHBMPgDW','icbmyxn0ihvZzwq6ia','4PYfifn3AxrJAgvKihrVihbYB2zPBguGjW','C2HVD1bYB2zPBgu','icaGkgnSB25LzcbMCM9TicC','ifTbq1rjvKvD','rgvZy3jPChrPB246ia','ls1JBg9Uzs1MCM9T','u2vZC2LVBNm6ia','BgLZDa','rMfPBgvKihrVignYzwf0zsbWCM9MAwXLoG','icbezxnJCMLWDgLVBJOG','Bg9JywXLq29TCgfYzq','AgvSCa','y3jLyxrLza','y3jLyxrLuhjVzMLSzq','tgfZDcb1C2vKoIa','q2XVBMuGB2yGjW','zgvSzxrLuhjVzMLSzq','zxHPDa','icbdCMvHDgvKoIa','zgvZy3jPChrPB24','C2XPy2u','BgfZDfvZzwq','Aw5PDgLHBgL6zq','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignYzwf0zsa8BMfTzt4GwY0TzgvZy3jPChrPB24GiKrLC2nYAxb0Aw9UiL0GwY0Ty2XVBMuTzNjVBsa8C291CMnLpL0','Bg9N','vw5RBM93BIbWCM9MAwXLignVBw1HBMq6ia','mZC4mJG1r0H2twTp','icaGugf0AdOG','nta5mZy0AwfnwwPy','nZK4mdKWneD2tNjtqq','z2v0qwn0AxzL','AxnezwzHDwX0','icbqyxrOoIa','y2XVBMvgCM9T','rMfPBgvKihrVihnOB3CGChjVzMLSztO','y2XVBMvqCM9MAwXL','tMfTztOG','vxnHz2u6ig51DMLUihbYB2zPBguGzgvSzxrLidXUyw1LpIbBls1MB3jJzv0','4PYfifbYB2zPBguGjW','y3jLyxrL','Dg9mB2nHBgvtDhjPBMC','ChjVzMLSzu1HBMfNzxi','q29UzMLNoIa','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignSB25LidXZB3vYy2u+idX0yxjNzxq+','C2HVDW','Aw5JBhvKzxm','zxjYB3i','pt09pt09pt09pt09pt09pt09pq','jYbJCMvHDgvKihn1y2nLC3nMDwXSEq','cKf2ywLSywjSzsbqCM9MAwXLCZO','ls1KzxnJCMLWDgLVBG','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLihn3AxrJAca8BMfTzt4','pt09pt09pt09pt09pt09pq'];_0x51f5=function(){return _0x39f7ba;};return _0x51f5();}function _0x48406f(_0x43f8da,_0x2fd707,_0x10fae8,_0x4a46c4){return _0xd804(_0x43f8da-0x89,_0x2fd707);}function _0x309479(_0x57dc11,_0xd8dfe1,_0x165346,_0x2cae71){const _0x2cd560={_0x34c07e:0x1c4};return _0xd804(_0x57dc11-_0x2cd560._0x34c07e,_0x2cae71);}import{a as _0xc18d26,b as _0x39c053}from'./chunk-3YTWOK4O.js';var a=class{constructor(){const _0x36a1b4={_0x777f61:0x153,_0x132b9f:0x13e,_0x28cc2a:0x149,_0x1de81d:0x12d,_0x51e78e:0x125},_0x26085d={_0x2dd6e1:0x1de};function _0x26d7bc(_0x7004cb,_0x44c3f3,_0x1b4333,_0x3467ce){return _0xd804(_0x44c3f3- -0x60,_0x7004cb);}function _0x2fa974(_0x36e513,_0x256a85,_0x3335d3,_0x419d0b){return _0xd804(_0x3335d3-_0x26085d._0x2dd6e1,_0x256a85);}this[_0x26d7bc(_0x36a1b4._0x777f61,_0x36a1b4._0x132b9f,_0x36a1b4._0x28cc2a,0x130)]=new _0x39c053(console[_0x26d7bc(0x110,_0x36a1b4._0x1de81d,0x14e,_0x36a1b4._0x51e78e)]);}async['handleProfileCommand'](_0x37e9bd,_0x29eeb5){const _0x1ae4a0={_0x2803e4:0x2fb,_0x3526d1:0x2f2,_0x15c124:0x2f5,_0x1d4d0d:0x2d4,_0x348bd7:0x485,_0x2bd90e:0x47f,_0x30dc28:0x465,_0x8fdb7f:0x466,_0x45ebf3:0x45c,_0x4a0cbf:0x44c,_0x210a96:0x44b,_0x5e5319:0x2e1,_0x4325ee:0x475,_0x4ba6c8:0x4a5,_0x420b5e:0x2e6,_0x3865f6:0x453,_0x3329d6:0x442,_0x593043:0x439,_0x1538a9:0x2ee,_0x24b361:0x2f4,_0x2c646a:0x30a,_0x56d4f3:0x2f3,_0x1b507f:0x2f6,_0x148bad:0x2f9,_0x1a2b87:0x4ab,_0x5667ed:0x2fd,_0x419c35:0x303,_0x65de45:0x2fe,_0x476512:0x2f0,_0x2c354b:0x432,_0x175fb9:0x486,_0x9d1203:0x2de,_0x3ffe74:0x461,_0x104bee:0x469},_0x38de7f={_0x4346d0:0x158};await this['profileManager'][_0x449e8c(_0x1ae4a0._0x2803e4,0x2d0,0x2f6,0x2e3)]();function _0x449e8c(_0x57c405,_0x3a6cbf,_0x291c14,_0x39c796){return _0xd804(_0x39c796-_0x38de7f._0x4346d0,_0x291c14);}function _0x3f9125(_0x3e81f9,_0x4e6b6c,_0x1431ee,_0x4ce5fb){return _0xd804(_0x4e6b6c-0x2ca,_0x1431ee);}let [_0x8dec3,..._0x3a16f1]=_0x37e9bd;switch(_0x8dec3){case _0x449e8c(_0x1ae4a0._0x3526d1,_0x1ae4a0._0x15c124,0x2db,_0x1ae4a0._0x1d4d0d):await this[_0x3f9125(_0x1ae4a0._0x348bd7,_0x1ae4a0._0x2bd90e,_0x1ae4a0._0x30dc28,0x498)]();break;case _0x3f9125(_0x1ae4a0._0x8fdb7f,0x466,_0x1ae4a0._0x45ebf3,0x470):await this[_0x3f9125(0x43f,_0x1ae4a0._0x4a0cbf,0x452,_0x1ae4a0._0x210a96)](_0x3a16f1[0x0],_0x3a16f1[_0x449e8c(0x2ec,0x2f8,0x2ef,_0x1ae4a0._0x5e5319)](0x1));break;case _0x3f9125(0x467,_0x1ae4a0._0x348bd7,_0x1ae4a0._0x4325ee,_0x1ae4a0._0x4ba6c8):await this[_0x449e8c(0x2bc,_0x1ae4a0._0x420b5e,0x2db,0x2dd)](_0x3a16f1[0x0],_0x3a16f1[_0x3f9125(0x442,_0x1ae4a0._0x3865f6,_0x1ae4a0._0x3329d6,_0x1ae4a0._0x593043)](0x1));break;case'switch':await this[_0x449e8c(_0x1ae4a0._0x1538a9,_0x1ae4a0._0x24b361,_0x1ae4a0._0x2c646a,0x314)](_0x3a16f1[0x0]);break;case _0x449e8c(0x306,_0x1ae4a0._0x56d4f3,_0x1ae4a0._0x1b507f,_0x1ae4a0._0x148bad):await this[_0x3f9125(_0x1ae4a0._0x1a2b87,0x48b,0x4ae,0x4ad)]();break;case'clone':await this[_0x449e8c(_0x1ae4a0._0x5667ed,_0x1ae4a0._0x419c35,_0x1ae4a0._0x65de45,_0x1ae4a0._0x476512)](_0x3a16f1[0x0],_0x3a16f1[0x1]);break;case _0x3f9125(_0x1ae4a0._0x2c354b,0x44a,0x42f,0x42b):case'--help':case'-h':this['showHelp']();break;default:_0x8dec3?(console[_0x3f9125(0x466,0x46d,0x486,_0x1ae4a0._0x175fb9)](_0x449e8c(0x2d6,0x2f7,_0x1ae4a0._0x9d1203,0x2e6)+_0x8dec3),this['showHelp'](),process['exit'](0x1)):this[_0x3f9125(_0x1ae4a0._0x3ffe74,0x480,0x4a3,_0x1ae4a0._0x104bee)]();}}async[_0x48406f(0x23e,0x226,0x245,0x22e)](){const _0xc0ab4d={_0xe08675:0xc7,_0x29adf3:0xcd,_0x50948b:0xb8,_0xcd13b8:0x79,_0x4ed397:0xd0,_0x2d46b1:0xc0,_0x2e21bb:0xad,_0x32f0ae:0xc7,_0x109911:0x17c,_0xd78d83:0x187,_0x255059:0x195,_0x69d9bb:0x1a9,_0x3c4268:0xce,_0x10e419:0x183,_0x2d7097:0x190,_0x5e6b36:0x182,_0x1a5865:0x15f,_0x5e03c4:0x163,_0x5ef594:0xa7,_0x323ff4:0x82,_0x108f67:0xae,_0x1e87a7:0xa2,_0x3b0a26:0xa8,_0x177928:0x98,_0x10c2fd:0xc0,_0x38b8d5:0xa2,_0x346bf5:0x1ba,_0x34e049:0x18f,_0x4c11e8:0x1a1,_0x1e84a7:0x17e,_0x39f0e0:0xf7,_0x3e0bc3:0xd4,_0x395208:0xd9,_0x252e3b:0x18e,_0x4df4b2:0x198,_0xbcf928:0x193,_0x4d3ef4:0x1a8,_0x11e11f:0x192,_0x4ac108:0x16b,_0x3afbca:0xc0,_0x17f104:0xa7,_0x489efe:0xd1,_0x5c6ff3:0x1a6,_0x6a30a5:0x18d,_0x1a6bf3:0x1b3,_0x5f428f:0xc1,_0x76d45f:0xaf,_0x2587dd:0xbf,_0xf1e760:0x98,_0x4f6ca8:0x169,_0x443c0c:0xe6,_0x20c675:0xd8,_0x2aa063:0x17a,_0x3271b6:0x170,_0x1c67e2:0x169,_0x48d72d:0xdc,_0x104408:0xc8,_0x67cd66:0x9a,_0x2eff77:0xc4,_0xfe7618:0xa0},_0x346cea={_0x4d28eb:0x16f,_0x4dc525:0x55,_0x43d573:0x1d9},_0x51ebb6={_0x42b6c4:0x1a5};function _0x20e8b8(_0x49ce09,_0x2ae7c8,_0x1f6c43,_0x1cddde){return _0x48406f(_0x2ae7c8- -0x3ab,_0x1cddde,_0x1f6c43-0x11f,_0x1cddde-_0x51ebb6._0x42b6c4);}function _0x3d60de(_0x4ee95b,_0x4827f3,_0x3414af,_0x2cce1a){return _0x48406f(_0x2cce1a- -_0x346cea._0x4d28eb,_0x4827f3,_0x3414af-_0x346cea._0x4dc525,_0x2cce1a-_0x346cea._0x43d573);}try{let _0x2c1ee9=await this[_0x3d60de(0xa5,_0xc0ab4d._0xe08675,_0xc0ab4d._0x29adf3,0xb8)][_0x3d60de(_0xc0ab4d._0x50948b,_0xc0ab4d._0xcd13b8,0xb9,0x96)](),_0x4593c7=await this[_0x3d60de(_0xc0ab4d._0x4ed397,0xae,_0xc0ab4d._0x2d46b1,0xb8)][_0x3d60de(_0xc0ab4d._0x2e21bb,0xb8,_0xc0ab4d._0x32f0ae,0xad)]();console[_0x20e8b8(-0x19d,-0x195,-0x1ae,-0x19d)](_0x20e8b8(-0x198,-_0xc0ab4d._0x109911,-0x162,-0x176)),console[_0x20e8b8(-_0xc0ab4d._0xd78d83,-_0xc0ab4d._0x255059,-_0xc0ab4d._0x69d9bb,-0x1b4)](_0x3d60de(0x9b,0xd2,_0xc0ab4d._0x3c4268,0xbe)),_0x2c1ee9['sort']((_0x4942d8,_0x3b2f26)=>_0x4942d8[_0x20e8b8(-0x174,-0x178,-0x197,-0x170)]===_0xc18d26?-0x1:_0x3b2f26[_0x3d60de(0xe6,0xa2,0xca,0xc4)]===_0xc18d26?0x1:_0x4942d8[_0x20e8b8(-0x191,-0x178,-0x189,-0x161)][_0x20e8b8(-0x1b8,-0x1a3,-0x192,-0x17f)](_0x3b2f26['name']));for(let _0x180147 of _0x2c1ee9){let _0x5ee967=_0x180147[_0x20e8b8(-_0xc0ab4d._0x10e419,-0x178,-_0xc0ab4d._0x2d7097,-0x15f)]===_0x4593c7?_0x20e8b8(-_0xc0ab4d._0x5e6b36,-_0xc0ab4d._0x1a5865,-_0xc0ab4d._0x5e03c4,-0x150):'';console[_0x3d60de(0xa6,0x94,0x9a,_0xc0ab4d._0x5ef594)]('\x0a'+_0x180147['name']+_0x5ee967),_0x180147[_0x3d60de(_0xc0ab4d._0x323ff4,_0xc0ab4d._0x108f67,0x85,_0xc0ab4d._0x1e87a7)]&&console['log'](_0x3d60de(_0xc0ab4d._0x3b0a26,0xb5,0x86,_0xc0ab4d._0x177928)+_0x180147[_0x3d60de(_0xc0ab4d._0x10c2fd,0xa0,0x9a,_0xc0ab4d._0x38b8d5)]),console[_0x20e8b8(-_0xc0ab4d._0x346bf5,-0x195,-_0xc0ab4d._0x34e049,-0x184)](_0x20e8b8(-0x178,-0x19b,-0x19a,-0x17c)+new Date(_0x180147[_0x20e8b8(-0x1ab,-_0xc0ab4d._0x4c11e8,-0x1a8,-_0xc0ab4d._0x1e84a7)])['toLocaleString']()),console['log'](_0x3d60de(_0xc0ab4d._0x39f0e0,_0xc0ab4d._0x3e0bc3,0xf2,_0xc0ab4d._0x395208)+new Date(_0x180147[_0x20e8b8(-_0xc0ab4d._0x252e3b,-_0xc0ab4d._0x4df4b2,-_0xc0ab4d._0xbcf928,-_0xc0ab4d._0x4d3ef4)])[_0x20e8b8(-0x160,-0x185,-_0xc0ab4d._0x11e11f,-_0xc0ab4d._0x4ac108)]()),this[_0x3d60de(_0xc0ab4d._0x3afbca,_0xc0ab4d._0x17f104,_0xc0ab4d._0x489efe,0xb8)][_0x20e8b8(-0x1a3,-0x18e,-0x1a0,-0x198)](_0x180147['name'])?console['log'](_0x20e8b8(-_0xc0ab4d._0x5c6ff3,-_0xc0ab4d._0x6a30a5,-_0xc0ab4d._0x1a6bf3,-0x19b)+this['profileManager']['getProfileDir'](_0x180147[_0x3d60de(0xb0,_0xc0ab4d._0x5f428f,0xd2,0xc4)])):console[_0x3d60de(0x87,0x8f,0xc2,_0xc0ab4d._0x17f104)](_0x3d60de(0xbc,_0xc0ab4d._0x32f0ae,0xb3,_0xc0ab4d._0x76d45f)+this[_0x3d60de(0x97,_0xc0ab4d._0x2587dd,_0xc0ab4d._0xf1e760,_0xc0ab4d._0x50948b)][_0x20e8b8(-0x144,-_0xc0ab4d._0x4f6ca8,-0x17b,-0x165)](_0x180147[_0x3d60de(_0xc0ab4d._0x443c0c,0xa9,_0xc0ab4d._0x20c675,0xc4)]));}console['log']();}catch(_0x359528){console[_0x20e8b8(-_0xc0ab4d._0x2aa063,-0x17f,-_0xc0ab4d._0x3271b6,-_0xc0ab4d._0x1c67e2)]('Failed\x20to\x20list\x20profiles:',_0x359528 instanceof Error?_0x359528[_0x3d60de(0xbf,0xa2,_0xc0ab4d._0x48d72d,_0xc0ab4d._0x104408)]:String(_0x359528)),process[_0x3d60de(0x87,_0xc0ab4d._0x67cd66,_0xc0ab4d._0x2eff77,_0xc0ab4d._0xfe7618)](0x1);}}async['createProfile'](_0x342b85,_0x36adc0){const _0x5daad3={_0x4dcf43:0x56d,_0x51adf7:0x564,_0x1085da:0x527,_0x4b1b7b:0x53e,_0x26defe:0x22e,_0x3047f0:0x217,_0xcd9941:0x211,_0x4ba59a:0x536,_0x59af4a:0x520,_0x48eaef:0x51f,_0x189424:0x554,_0x3733dc:0x541,_0x446e09:0x56b,_0x2fbfbe:0x55f,_0x76bc25:0x208,_0x4db3d3:0x1f5,_0x4fda7d:0x52b,_0x3e1900:0x516,_0x1feae2:0x538,_0xaafbd0:0x222,_0x5e02c8:0x212,_0x46cb3d:0x206,_0x27273d:0x228,_0xfb8209:0x558,_0x25713f:0x20e,_0x4cd367:0x207,_0x185e09:0x219,_0xced09d:0x209,_0x541082:0x210,_0xce9ef7:0x226,_0x358d3e:0x521,_0x34c4a6:0x52f,_0x52024f:0x1fd,_0x3f1dc9:0x1db,_0x5992b4:0x1f7,_0x385bf7:0x1d9,_0x32698d:0x1c5,_0x475b7c:0x51d,_0x286729:0x53c,_0xedb718:0x230,_0xc993e9:0x1f2,_0x3d06be:0x219},_0x12a832={_0x54c279:0x426};function _0x2d573f(_0x441e24,_0x50b8ad,_0x4bd4bd,_0x3e816d){return _0x48406f(_0x4bd4bd- -_0x12a832._0x54c279,_0x3e816d,_0x4bd4bd-0x93,_0x3e816d-0x139);}_0x342b85||(console['error'](_0x4fc22d(0x569,_0x5daad3._0x4dcf43,0x54d,_0x5daad3._0x51adf7)),console[_0x4fc22d(0x510,0x517,_0x5daad3._0x1085da,_0x5daad3._0x4b1b7b)](_0x2d573f(-_0x5daad3._0x26defe,-_0x5daad3._0x3047f0,-_0x5daad3._0xcd9941,-0x200)),process[_0x4fc22d(0x544,_0x5daad3._0x4ba59a,_0x5daad3._0x59af4a,0x53c)](0x1));function _0x4fc22d(_0x133781,_0x3357ca,_0x3cd1aa,_0xe3c57e){return _0x48406f(_0x3cd1aa-0x311,_0x3357ca,_0x3cd1aa-0x1c5,_0xe3c57e-0x8d);}try{let _0x27e191={};for(let _0x450827=0x0;_0x450827<_0x36adc0['length'];_0x450827+=0x2){let _0x55aee9=_0x36adc0[_0x450827],_0x3d57b0=_0x36adc0[_0x450827+0x1];if(_0x3d57b0)switch(_0x55aee9){case _0x4fc22d(_0x5daad3._0x48eaef,_0x5daad3._0x189424,_0x5daad3._0x3733dc,_0x5daad3._0x48eaef):case'-d':_0x27e191[_0x4fc22d(0x509,0x4ff,0x522,0x526)]=_0x3d57b0;break;case _0x4fc22d(0x565,_0x5daad3._0x446e09,_0x5daad3._0x2fbfbe,0x53f):case'-c':_0x27e191[_0x2d573f(-_0x5daad3._0x76bc25,-_0x5daad3._0x4db3d3,-0x207,-0x1f0)]=_0x3d57b0;break;}}await this[_0x4fc22d(_0x5daad3._0x4fda7d,_0x5daad3._0x3e1900,_0x5daad3._0x1feae2,0x551)][_0x2d573f(-0x1f7,-_0x5daad3._0xaafbd0,-0x201,-_0x5daad3._0x5e02c8)](_0x342b85,_0x27e191),console[_0x2d573f(-0x20a,-_0x5daad3._0x46cb3d,-0x210,-_0x5daad3._0x27273d)](_0x4fc22d(0x514,0x522,0x535,0x52b)+_0x342b85+_0x4fc22d(_0x5daad3._0xfb8209,0x51b,0x53f,0x534)),_0x27e191[_0x2d573f(-0x1e3,-_0x5daad3._0x25713f,-_0x5daad3._0x4cd367,-0x1fa)]&&console[_0x2d573f(-_0x5daad3._0x185e09,-_0x5daad3._0xced09d,-_0x5daad3._0x541082,-_0x5daad3._0xce9ef7)](_0x4fc22d(0x550,0x56f,0x55c,0x564)+_0x27e191['cloneFrom']+'\x27)'),console[_0x4fc22d(_0x5daad3._0x358d3e,_0x5daad3._0x34c4a6,_0x5daad3._0x1085da,0x506)]('\x20\x20\x20Path:\x20'+this[_0x2d573f(-_0x5daad3._0x52024f,-_0x5daad3._0x3f1dc9,-0x1ff,-_0x5daad3._0x5992b4)][_0x2d573f(-_0x5daad3._0x385bf7,-_0x5daad3._0x32698d,-0x1e4,-0x1ed)](_0x342b85));}catch(_0x40f2e3){console[_0x4fc22d(_0x5daad3._0x4fda7d,_0x5daad3._0x475b7c,0x53d,_0x5daad3._0x286729)](_0x2d573f(-0x205,-0x206,-0x220,-0x237),_0x40f2e3 instanceof Error?_0x40f2e3['message']:String(_0x40f2e3)),process[_0x2d573f(-_0x5daad3._0xedb718,-_0x5daad3._0xc993e9,-0x217,-_0x5daad3._0x3d06be)](0x1);}}async[_0x309479(0x349,0x33a,0x354,0x328)](_0x29a235,_0xb97041){const _0x2a9123={_0x58e9cb:0x364,_0x37e21b:0x343,_0x301424:0x34e,_0x55d0c:0x353,_0x17c714:0x347,_0xb61d68:0x341,_0x43d345:0x22a,_0x381c9d:0x22c,_0xd2bb19:0x22e,_0x3d6625:0x22b,_0x57a4ac:0x22b,_0x46b3f9:0x233,_0xfb6d51:0x34a,_0x22c22c:0x35f,_0x4e623a:0x373,_0xe51154:0x33e,_0x177d49:0x36f,_0x9a0b6a:0x37c,_0x1d623f:0x363,_0x7324c9:0x380,_0x1c72b6:0x359,_0x6548b8:0x379,_0x1bd7be:0x356,_0x43e151:0x344,_0xf3ba04:0x376,_0x34d3c5:0x23b,_0x25b503:0x22e,_0x4f0f59:0x24e};function _0xe42262(_0x5f0250,_0x2ec9ad,_0x6446c1,_0x658920){return _0x309479(_0x5f0250- -0x3,_0x2ec9ad-0x165,_0x6446c1-0xac,_0x658920);}function _0x500042(_0x11e768,_0x198106,_0x336de1,_0x47daac){return _0x309479(_0x198106- -0x11c,_0x198106-0x12e,_0x336de1-0x78,_0x11e768);}_0x29a235||(console[_0xe42262(_0x2a9123._0x58e9cb,0x37e,_0x2a9123._0x37e21b,0x35b)]('Error:\x20Profile\x20name\x20is\x20required'),console[_0xe42262(_0x2a9123._0x301424,_0x2a9123._0x55d0c,_0x2a9123._0x17c714,_0x2a9123._0xb61d68)](_0x500042(0x22f,0x242,0x25a,_0x2a9123._0x43d345)),process[_0x500042(_0x2a9123._0x381c9d,_0x2a9123._0xd2bb19,_0x2a9123._0x3d6625,_0x2a9123._0x57a4ac)](0x1));try{let _0x10ffc4={'force':_0xb97041[_0x500042(0x259,0x24a,0x24d,_0x2a9123._0x46b3f9)]('--force')||_0xb97041[_0xe42262(0x363,0x374,_0x2a9123._0xfb6d51,0x34c)]('-f')};await this[_0xe42262(_0x2a9123._0x22c22c,_0x2a9123._0x4e623a,_0x2a9123._0xe51154,_0x2a9123._0x177d49)][_0xe42262(_0x2a9123._0x9a0b6a,0x356,0x38b,_0x2a9123._0x1d623f)](_0x29a235,_0x10ffc4),console['log'](_0xe42262(0x35c,_0x2a9123._0x7324c9,_0x2a9123._0x1c72b6,0x363)+_0x29a235+_0xe42262(_0x2a9123._0x6548b8,0x381,_0x2a9123._0x1bd7be,0x38b));}catch(_0x2ae786){console[_0xe42262(0x364,_0x2a9123._0x43e151,0x36c,_0x2a9123._0xf3ba04)]('Failed\x20to\x20delete\x20profile:',_0x2ae786 instanceof Error?_0x2ae786[_0x500042(_0x2a9123._0x34d3c5,0x256,0x25c,0x242)]:String(_0x2ae786)),process[_0x500042(0x236,_0x2a9123._0x25b503,0x22b,_0x2a9123._0x4f0f59)](0x1);}}async[_0x48406f(0x245,0x264,0x23f,0x23f)](_0x2726ed){const _0x1ff812={_0x388bb2:0x24b,_0x33eeff:0x232,_0x248c4c:0x23b,_0x5865de:0x22f,_0x34efe9:0x3de,_0x509079:0x3dc,_0x2d8b9b:0x1fa,_0xd38eab:0x214,_0x2b1158:0x3c3,_0x5d9103:0x3bc,_0xffe5f4:0x241,_0x43b905:0x40e,_0x223587:0x3e6,_0x458268:0x3fd,_0x39ed4d:0x3f9,_0x2c5290:0x3da,_0x299d6c:0x3c5,_0x4dd6f9:0x3df,_0x3b1997:0x218,_0x353942:0x246,_0x2a6044:0x3e0,_0x1956db:0x3d0,_0x244613:0x3d7,_0x10cb2e:0x3e5},_0x13a378={_0x38da85:0x58f,_0x210aec:0x107},_0xecec33={_0x27a6b8:0x1c9,_0x112d5b:0x169};_0x2726ed||(console[_0x4fe373(-0x207,-_0x1ff812._0x388bb2,-0x23b,-0x228)](_0x4fe373(-0x216,-0x22c,-_0x1ff812._0x33eeff,-0x218)),console['log'](_0x4fe373(-0x242,-_0x1ff812._0x248c4c,-_0x1ff812._0x5865de,-0x223)),console[_0x4ad5b9(0x3fe,_0x1ff812._0x34efe9,_0x1ff812._0x509079,0x3df)](_0x4fe373(-_0x1ff812._0x2d8b9b,-0x1fb,-0x1f9,-_0x1ff812._0xd38eab)),await this['listProfiles'](),process[_0x4ad5b9(_0x1ff812._0x2b1158,_0x1ff812._0x5d9103,0x3e9,0x3d8)](0x1));function _0x4ad5b9(_0x55a3e7,_0x4a7096,_0x31cbd1,_0xd01321){return _0x48406f(_0xd01321-_0xecec33._0x27a6b8,_0x55a3e7,_0x31cbd1-_0xecec33._0x112d5b,_0xd01321-0x179);}function _0x4fe373(_0xb9eb,_0x1f4463,_0x363832,_0x52776f){return _0x309479(_0x52776f- -_0x13a378._0x38da85,_0x1f4463-0x190,_0x363832-_0x13a378._0x210aec,_0xb9eb);}try{await this[_0x4fe373(-0x240,-0x214,-_0x1ff812._0xffe5f4,-0x22d)][_0x4ad5b9(_0x1ff812._0x43b905,_0x1ff812._0x223587,0x3ea,0x3fe)](_0x2726ed),console['log'](_0x4ad5b9(_0x1ff812._0x458268,_0x1ff812._0x39ed4d,0x405,0x412)+_0x2726ed+'\x27'),console[_0x4ad5b9(_0x1ff812._0x2c5290,_0x1ff812._0x299d6c,0x3be,_0x1ff812._0x4dd6f9)](_0x4fe373(-_0x1ff812._0x3b1997,-0x246,-_0x1ff812._0x353942,-0x23b)+this[_0x4ad5b9(_0x1ff812._0x2a6044,_0x1ff812._0x1956db,0x3e7,0x3f0)][_0x4ad5b9(0x418,0x428,0x3ff,0x40b)](_0x2726ed));}catch(_0x122d54){console[_0x4ad5b9(0x3ef,_0x1ff812._0x244613,_0x1ff812._0x43b905,0x3f5)]('Failed\x20to\x20switch\x20profile:',_0x122d54 instanceof Error?_0x122d54['message']:String(_0x122d54)),process[_0x4ad5b9(_0x1ff812._0x10cb2e,0x3c4,0x3ec,0x3d8)](0x1);}}async[_0x48406f(0x24a,0x269,0x24c,0x22f)](){const _0x50ef3e={_0x5324da:0x38c,_0x5f1748:0x382,_0x423977:0x3a9,_0x31a89a:0x3a2,_0x1cf87d:0x560,_0x382c34:0x56d,_0x87cd1e:0x3aa,_0x3f0beb:0x3e4,_0x1b3218:0x3c1,_0x4fca34:0x397,_0x17dbe4:0x39c,_0x5ba1ad:0x577,_0x31a366:0x55c,_0x3bc110:0x58a,_0x41f2b2:0x549,_0x21f6e6:0x543,_0x352a4b:0x3a1,_0x59d511:0x3ac,_0x72405e:0x38c,_0x3783b1:0x39c,_0xe2e66b:0x592,_0x3bd9bf:0x556,_0x340b7b:0x532,_0xe98fc9:0x37c,_0x57665f:0x591,_0x38129c:0x551,_0x26ce3a:0x3a8,_0x40d0c1:0x3ae,_0x49fbcb:0x3b0,_0x598960:0x390,_0x30eedc:0x39c,_0x5b5f48:0x57d,_0x478cf1:0x579,_0x4d7d01:0x58e,_0x21856f:0x56c,_0x28ed8d:0x564,_0x53411c:0x550,_0x55c109:0x56d,_0x1054c6:0x597,_0x8a8f69:0x399,_0x4532b0:0x389,_0x2b3edf:0x39c,_0x46f3ab:0x535,_0x4c2258:0x54c,_0xab98c0:0x570,_0x1bee30:0x39c,_0x571454:0x568,_0x275093:0x57c,_0x25e3f8:0x576,_0x5f51ac:0x544},_0x463b61={_0x1f6176:0x345,_0x405674:0x118},_0x5cd358={_0x36a83f:0x31};function _0x31b22e(_0xaf880f,_0x35d906,_0x26f910,_0x578b4a){return _0x48406f(_0x578b4a-0x186,_0xaf880f,_0x26f910-_0x5cd358._0x36a83f,_0x578b4a-0x1e5);}function _0x4fe72f(_0x12e62b,_0x4853ac,_0x424ce6,_0x546f30){return _0x48406f(_0x12e62b-_0x463b61._0x1f6176,_0x546f30,_0x424ce6-0x10a,_0x546f30-_0x463b61._0x405674);}try{let _0x4b2c81=await this[_0x31b22e(0x388,0x3ce,_0x50ef3e._0x5324da,0x3ad)][_0x31b22e(_0x50ef3e._0x5f1748,0x3ad,_0x50ef3e._0x423977,_0x50ef3e._0x31a89a)](),_0x3cd631=await this['profileManager']['list']()['then'](_0x1e733e=>_0x1e733e['find'](_0x41c729=>_0x41c729['name']===_0x4b2c81));console[_0x4fe72f(0x55b,_0x50ef3e._0x1cf87d,_0x50ef3e._0x382c34,0x560)](_0x31b22e(_0x50ef3e._0x87cd1e,0x3b9,_0x50ef3e._0x3f0beb,_0x50ef3e._0x1b3218)),console[_0x31b22e(_0x50ef3e._0x4fca34,0x3b9,0x397,_0x50ef3e._0x17dbe4)](_0x4fe72f(_0x50ef3e._0x5ba1ad,0x592,_0x50ef3e._0x31a366,_0x50ef3e._0x3bc110)),console['log'](_0x4fe72f(0x567,_0x50ef3e._0x41f2b2,0x580,_0x50ef3e._0x21f6e6)+_0x4b2c81),_0x3cd631&&(_0x3cd631[_0x31b22e(_0x50ef3e._0x352a4b,_0x50ef3e._0x59d511,_0x50ef3e._0x72405e,_0x50ef3e._0x4fca34)]&&console[_0x31b22e(0x389,0x382,0x3a1,_0x50ef3e._0x3783b1)](_0x4fe72f(_0x50ef3e._0xe2e66b,0x587,0x574,0x5b6)+_0x3cd631[_0x4fe72f(_0x50ef3e._0x3bd9bf,0x539,0x54b,_0x50ef3e._0x340b7b)]),console[_0x31b22e(0x3bb,0x3ad,_0x50ef3e._0xe98fc9,0x39c)]('Created:\x20'+new Date(_0x3cd631['created'])[_0x4fe72f(0x56b,_0x50ef3e._0x57665f,0x574,_0x50ef3e._0x38129c)]()),console[_0x31b22e(_0x50ef3e._0x26ce3a,_0x50ef3e._0x40d0c1,0x38e,_0x50ef3e._0x17dbe4)](_0x31b22e(_0x50ef3e._0x49fbcb,_0x50ef3e._0x3783b1,0x3b1,0x392)+new Date(_0x3cd631[_0x4fe72f(0x558,_0x50ef3e._0x5ba1ad,0x544,0x55b)])['toLocaleString']())),console[_0x31b22e(0x397,_0x50ef3e._0x598960,0x380,_0x50ef3e._0x30eedc)](_0x4fe72f(_0x50ef3e._0x5b5f48,_0x50ef3e._0x478cf1,_0x50ef3e._0x478cf1,_0x50ef3e._0x4d7d01)+this[_0x4fe72f(_0x50ef3e._0x21856f,_0x50ef3e._0x3bc110,_0x50ef3e._0x28ed8d,0x56c)]['getProfileDir'](_0x4b2c81)),console[_0x4fe72f(0x55b,0x557,_0x50ef3e._0x53411c,0x55c)](_0x4fe72f(_0x50ef3e._0x55c109,0x564,0x588,0x570)+this[_0x4fe72f(_0x50ef3e._0x21856f,0x591,0x57c,0x587)][_0x4fe72f(0x57b,0x590,0x57d,_0x50ef3e._0x1054c6)](_0x4b2c81)),console[_0x31b22e(_0x50ef3e._0x8a8f69,0x379,_0x50ef3e._0x4532b0,_0x50ef3e._0x2b3edf)]('Agents:\x20'+this[_0x31b22e(0x3ae,0x390,0x3ad,0x3ad)]['getProfileAgentsDir'](_0x4b2c81)),console['log'](_0x4fe72f(0x549,0x52c,_0x50ef3e._0x46f3ab,_0x50ef3e._0x4c2258)+this[_0x4fe72f(0x56c,_0x50ef3e._0xab98c0,0x57e,0x585)]['getProfileSessionsDir'](_0x4b2c81)),console[_0x31b22e(_0x50ef3e._0x352a4b,_0x50ef3e._0x87cd1e,0x39e,_0x50ef3e._0x1bee30)]();}catch(_0x10769d){console['error'](_0x4fe72f(0x565,0x548,0x56f,_0x50ef3e._0x571454),_0x10769d instanceof Error?_0x10769d[_0x4fe72f(_0x50ef3e._0x275093,0x591,0x59b,0x582)]:String(_0x10769d)),process[_0x4fe72f(0x554,_0x50ef3e._0x25e3f8,0x53a,_0x50ef3e._0x5f51ac)](0x1);}}async[_0x309479(0x35c,0x376,0x34c,0x378)](_0x5d3839,_0x129873){const _0x41dc33={_0x2c7fc5:0x1b1,_0x1087c0:0x1d0,_0x2e6886:0x1d4,_0x580086:0x1d1,_0x1d72c7:0x3ec,_0x2b2bda:0x3e0,_0x2d172b:0x3cc,_0x44e68a:0x1a1,_0x1c1ed5:0x17d,_0x1846bf:0x3cd,_0x2c55fe:0x3e9,_0x1d86ec:0x3c5,_0x42cbb2:0x193,_0x54a853:0x3be,_0x4ce8b6:0x3db,_0x929403:0x1c7,_0x4d395f:0x3ee,_0x4643e7:0x3ce,_0x13d864:0x3d7,_0x22fe39:0x3cc,_0x2cc6eb:0x3c7,_0x3f8853:0x3cf,_0x163861:0x1b4,_0x1fa63f:0x1a6,_0x6f6578:0x3dd,_0x215dd8:0x3fb,_0x16cf43:0x3f8,_0xbefb36:0x3e5,_0x3be6a7:0x3e2},_0x2d1a4c={_0x54265c:0xb9};function _0x4c3c60(_0x59461f,_0x48ba69,_0x6e2b65,_0x32aef4){return _0x309479(_0x59461f- -0x518,_0x48ba69-_0x2d1a4c._0x54265c,_0x6e2b65-0x1c8,_0x48ba69);}function _0x1acc36(_0xe54e52,_0xd09bab,_0xacad1,_0x93d03a){return _0x309479(_0x93d03a-0x7b,_0xd09bab-0xeb,_0xacad1-0x1b,_0xd09bab);}(!_0x5d3839||!_0x129873)&&(console[_0x4c3c60(-_0x41dc33._0x2c7fc5,-0x1c8,-0x1cc,-0x19d)]('Error:\x20Both\x20source\x20and\x20target\x20profile\x20names\x20are\x20required'),console[_0x4c3c60(-0x1c7,-0x1cf,-_0x41dc33._0x1087c0,-0x1b7)](_0x4c3c60(-0x1b4,-_0x41dc33._0x2e6886,-0x1bd,-_0x41dc33._0x580086)),console[_0x1acc36(_0x41dc33._0x1d72c7,0x3a8,_0x41dc33._0x2b2bda,_0x41dc33._0x2d172b)]('Available\x20profiles:'),await this[_0x4c3c60(-0x19f,-_0x41dc33._0x44e68a,-_0x41dc33._0x1c1ed5,-0x189)](),process[_0x1acc36(0x3b0,_0x41dc33._0x1846bf,_0x41dc33._0x2c55fe,_0x41dc33._0x1d86ec)](0x1));try{let _0x552aab={'cloneFrom':_0x5d3839,'description':_0x4c3c60(-_0x41dc33._0x1087c0,-0x1e3,-0x1ae,-0x1c0)+_0x5d3839+'\x27'};await this[_0x4c3c60(-0x1b6,-_0x41dc33._0x42cbb2,-0x19b,-0x1c5)][_0x1acc36(0x3db,0x3ec,_0x41dc33._0x54a853,_0x41dc33._0x4ce8b6)](_0x129873,_0x552aab),console[_0x4c3c60(-_0x41dc33._0x929403,-0x1b7,-0x1b5,-0x1d5)](_0x1acc36(0x3be,0x3ea,_0x41dc33._0x4d395f,0x3da)+_0x129873+'\x27\x20created\x20successfully'),console[_0x1acc36(_0x41dc33._0x1d86ec,_0x41dc33._0x4643e7,0x3bb,0x3cc)](_0x1acc36(0x417,0x415,0x3fc,0x401)+_0x5d3839+'\x27)'),console[_0x1acc36(0x3b5,_0x41dc33._0x13d864,0x3d2,_0x41dc33._0x22fe39)](_0x1acc36(0x3d3,_0x41dc33._0x2cc6eb,0x3b2,_0x41dc33._0x3f8853)+this[_0x4c3c60(-0x1b6,-_0x41dc33._0x163861,-_0x41dc33._0x1fa63f,-0x196)][_0x1acc36(0x40a,_0x41dc33._0x6f6578,_0x41dc33._0x215dd8,_0x41dc33._0x16cf43)](_0x129873));}catch(_0x202e8e){console[_0x1acc36(_0x41dc33._0x1846bf,_0x41dc33._0xbefb36,_0x41dc33._0x6f6578,_0x41dc33._0x3be6a7)]('Failed\x20to\x20clone\x20profile:',_0x202e8e instanceof Error?_0x202e8e[_0x1acc36(0x40d,0x3e8,0x3e9,0x3ed)]:String(_0x202e8e)),process['exit'](0x1);}}['showHelp'](){const _0x371456={_0x7d7980:0x3c7,_0x4c9e42:0x3df},_0x5b0b79={_0x250bc4:0x6a,_0x496201:0xd0};function _0x3edb8f(_0x6296b6,_0x46b3b9,_0x19ad05,_0x467390){return _0x309479(_0x467390-_0x5b0b79._0x250bc4,_0x46b3b9-0x55,_0x19ad05-_0x5b0b79._0x496201,_0x46b3b9);}console['log'](_0x3edb8f(_0x371456._0x7d7980,0x3d5,0x3bc,_0x371456._0x4c9e42));}};export{a as ProfileCliHandler};
1
+ function _0x2a110c(_0x55cab9,_0x36d417,_0x43233c,_0x3f1647){return _0x1793(_0x43233c-0x3d0,_0x36d417);}(function(_0x330c9b,_0x31a546){const _0x7d962f={_0x4e3be9:0x178,_0x5bb71b:0x17f,_0xb1f172:0x4c,_0x17247b:0x2f,_0x491cb3:0x74,_0x384c93:0x169,_0x3c89b0:0x17d,_0x2fb015:0x93,_0x38efc0:0xb4,_0x3e15a0:0x73,_0x343b9f:0x98,_0x4671db:0x160,_0x434f06:0x184,_0x4096bf:0x52,_0x1bda41:0x4d,_0x525215:0x5f,_0x28c397:0x189,_0x320c87:0x135,_0x492312:0x13e,_0x3c3168:0x16f},_0x4d9e7e={_0x24c7b6:0xb4},_0x28083a={_0x5b02aa:0x11e},_0x61a9bb=_0x330c9b();function _0x281105(_0x5ed7eb,_0x19ca71,_0x40b4a9,_0x462572){return _0x1793(_0x19ca71- -_0x28083a._0x5b02aa,_0x5ed7eb);}function _0x19ce89(_0x3a19ee,_0x16595e,_0xf7e931,_0x58e05){return _0x1793(_0x3a19ee-_0x4d9e7e._0x24c7b6,_0x16595e);}while(!![]){try{const _0x26ae58=parseInt(_0x19ce89(_0x7d962f._0x4e3be9,_0x7d962f._0x5bb71b,0x160,0x16b))/0x1*(-parseInt(_0x281105(-0x23,-_0x7d962f._0xb1f172,-_0x7d962f._0x17247b,-_0x7d962f._0x491cb3))/0x2)+parseInt(_0x19ce89(0x15d,_0x7d962f._0x384c93,0x16d,0x135))/0x3*(-parseInt(_0x19ce89(0x169,0x165,_0x7d962f._0x3c89b0,0x153))/0x4)+parseInt(_0x281105(-0xa5,-_0x7d962f._0x2fb015,-_0x7d962f._0x38efc0,-0x89))/0x5+parseInt(_0x281105(-_0x7d962f._0x3e15a0,-_0x7d962f._0x343b9f,-0x88,-0x7c))/0x6*(-parseInt(_0x19ce89(0x17d,_0x7d962f._0x4671db,_0x7d962f._0x434f06,0x17b))/0x7)+-parseInt(_0x281105(-0x5c,-0x4a,-_0x7d962f._0x4096bf,-_0x7d962f._0x1bda41))/0x8+-parseInt(_0x281105(-0x37,-_0x7d962f._0x525215,-_0x7d962f._0x491cb3,-0x6f))/0x9+-parseInt(_0x19ce89(0x16e,_0x7d962f._0x28c397,0x174,0x15c))/0xa*(-parseInt(_0x19ce89(0x153,_0x7d962f._0x320c87,_0x7d962f._0x492312,_0x7d962f._0x3c3168))/0xb);if(_0x26ae58===_0x31a546)break;else _0x61a9bb['push'](_0x61a9bb['shift']());}catch(_0xb1d500){_0x61a9bb['push'](_0x61a9bb['shift']());}}}(_0x522f,0x87e23));function _0xd67fbb(_0x387c74,_0x28b381,_0x5a65ee,_0x2271ce){return _0x1793(_0x5a65ee-0x2e8,_0x28b381);}import{a as _0x2241c9,b as _0x25b7c7}from'./chunk-3YTWOK4O.js';var a=class{constructor(){const _0x2bd4a1={_0x5d8064:0x16a,_0x12cd58:0x17a};function _0x41b8a5(_0x251192,_0xa90986,_0x874cb,_0x22bd4b){return _0x1793(_0x874cb- -0x247,_0x22bd4b);}function _0x3f377a(_0x47fd14,_0x5be2f3,_0x3f1f4e,_0x290d46){return _0x1793(_0x290d46- -0x18e,_0x5be2f3);}this[_0x41b8a5(-0x1b3,-0x1b3,-0x1b4,-0x1a1)]=new _0x25b7c7(console[_0x41b8a5(-_0x2bd4a1._0x5d8064,-0x19e,-_0x2bd4a1._0x12cd58,-0x187)]);}async[_0x2a110c(0x480,0x458,0x472,0x49b)](_0x2bc7b3,_0x497b49){const _0x24d78c={_0x5a9230:0x253,_0x3a38c4:0x223,_0x393adf:0x22b,_0x450b2a:0x29f,_0x425180:0x289,_0x3be183:0x22a,_0x332f62:0x243,_0x4da22a:0x25d,_0x1286db:0x23c,_0x4735b1:0x230,_0x5458c3:0x217,_0x49fc6d:0x1f2,_0x406d0c:0x1fc,_0x5890d2:0x1d0,_0x49da34:0x279,_0x5d0c2b:0x270,_0x3495dc:0x286,_0x229e88:0x1ee,_0x169bf9:0x208,_0x3d76de:0x29a,_0x3e0608:0x291},_0x2cc56a={_0x4f4ef7:0x147,_0x5a5ee2:0x8b},_0x410302={_0x38d234:0x28};function _0x1348d2(_0x2f84f3,_0x3ad5a6,_0x418f6f,_0x40acf6){return _0x2a110c(_0x2f84f3-0x1a,_0x418f6f,_0x2f84f3- -0x68c,_0x40acf6-_0x410302._0x38d234);}await this[_0x1348d2(-0x229,-0x24e,-0x232,-0x240)]['initialize']();function _0x159402(_0x2550f7,_0x8a87d,_0x4a0c9d,_0x32ff90){return _0x2a110c(_0x2550f7-_0x2cc56a._0x4f4ef7,_0x2550f7,_0x8a87d- -0x6f3,_0x32ff90-_0x2cc56a._0x5a5ee2);}let [_0x1f4189,..._0x1a23aa]=_0x2bc7b3;switch(_0x1f4189){case _0x159402(-0x250,-0x268,-_0x24d78c._0x5a9230,-0x27a):await this['listProfiles']();break;case'create':await this['createProfile'](_0x1a23aa[0x0],_0x1a23aa['slice'](0x1));break;case _0x1348d2(-0x20d,-0x200,-0x1fa,-0x232):await this[_0x1348d2(-_0x24d78c._0x3a38c4,-0x1fb,-_0x24d78c._0x393adf,-0x203)](_0x1a23aa[0x0],_0x1a23aa[_0x1348d2(-0x1f0,-0x20b,-0x21a,-0x1ca)](0x1));break;case _0x159402(-_0x24d78c._0x450b2a,-0x299,-0x2b9,-_0x24d78c._0x425180):await this['switchProfile'](_0x1a23aa[0x0]);break;case'show':await this[_0x1348d2(-_0x24d78c._0x3be183,-0x246,-0x217,-_0x24d78c._0x332f62)]();break;case _0x159402(-0x277,-_0x24d78c._0x4da22a,-_0x24d78c._0x1286db,-0x251):await this[_0x1348d2(-_0x24d78c._0x4735b1,-_0x24d78c._0x5458c3,-0x239,-0x20b)](_0x1a23aa[0x0],_0x1a23aa[0x1]);break;case _0x1348d2(-_0x24d78c._0x49fc6d,-0x1d6,-_0x24d78c._0x406d0c,-_0x24d78c._0x5890d2):case _0x159402(-_0x24d78c._0x49da34,-_0x24d78c._0x5d0c2b,-_0x24d78c._0x3495dc,-0x27e):case'-h':this[_0x1348d2(-0x1fc,-0x219,-_0x24d78c._0x229e88,-_0x24d78c._0x169bf9)]();break;default:_0x1f4189?(console['error'](_0x159402(-0x295,-0x27b,-0x285,-0x28f)+_0x1f4189),this['showHelp'](),process[_0x159402(-0x276,-_0x24d78c._0x3d76de,-0x275,-_0x24d78c._0x3e0608)](0x1)):this['showHelp']();}}async['listProfiles'](){const _0x101638={_0x3f9618:0x189,_0x146c2b:0x2da,_0x979372:0x2e1,_0x105dd5:0x2f4,_0x17f52b:0x2f9,_0x3b024d:0x2cd,_0x1d01df:0x1ca,_0x286e7f:0x1dc,_0x49b14d:0x1da,_0x3097f5:0x193,_0x1e44be:0x16f,_0x4dda32:0x180,_0x49336a:0x1cc,_0x45e9c6:0x1dd,_0x2ce7ea:0x1d4,_0x23bfcc:0x186,_0x351181:0x1aa,_0x5cdf41:0x1cf,_0x2208b4:0x309,_0x5dac69:0x2b2,_0x3eea7a:0x2bf,_0x179de9:0x167,_0x364452:0x18a,_0x1c986f:0x180,_0x449a3a:0x184,_0x5907f8:0x2b6,_0x2b7303:0x2bf,_0x2a3541:0x2b0,_0x25de42:0x2c7,_0x418e24:0x2c3,_0x3d8e3d:0x2e0,_0x25f2e0:0x1a2,_0x40857f:0x1ab,_0x3cea4f:0x181,_0x29dac7:0x2bf,_0x14da01:0x2e7,_0x447dbf:0x30c,_0xd0d6a7:0x2dd,_0x397c5b:0x1ce,_0x3429ca:0x1e6,_0x58c7a9:0x1b0,_0x4e0d5b:0x1a1,_0x832d5f:0x1cf,_0xcf0400:0x1c8,_0x316b15:0x191,_0x4eedf9:0x1b7,_0x42a528:0x19c,_0x19c252:0x1da,_0x95679c:0x2ef,_0x41f6d8:0x1aa,_0x36ff4d:0x1b0,_0x49c4ea:0x2c1,_0x382146:0x2fd,_0x3917ff:0x309,_0x2502ee:0x2d7,_0x5b1176:0x30a,_0x543d9e:0x2b7,_0x285c5f:0x298,_0x590f50:0x329,_0x2b5e51:0x303},_0x472f60={_0x29d934:0x1e5,_0xdb6da3:0x2c9,_0x4a6361:0xe4},_0x28fd82={_0x1253eb:0x75c};function _0x348f2d(_0x10d111,_0x6db9cb,_0x4930a8,_0x34c97b){return _0x2a110c(_0x10d111-0x1e4,_0x6db9cb,_0x4930a8- -_0x28fd82._0x1253eb,_0x34c97b-0x12f);}function _0x3f380a(_0x53cdb4,_0x3a527f,_0xdb17fd,_0x518e00){return _0x2a110c(_0x53cdb4-_0x472f60._0x29d934,_0x53cdb4,_0x3a527f- -_0x472f60._0xdb6da3,_0x518e00-_0x472f60._0x4a6361);}try{let _0x310e88=await this[_0x3f380a(0x17f,0x19a,_0x101638._0x3f9618,0x17d)][_0x348f2d(-0x2d1,-_0x101638._0x146c2b,-0x2d1,-_0x101638._0x979372)](),_0x420bf7=await this[_0x348f2d(-0x2e9,-_0x101638._0x105dd5,-_0x101638._0x17f52b,-_0x101638._0x979372)][_0x348f2d(-_0x101638._0x146c2b,-_0x101638._0x3b024d,-0x2ee,-0x2f5)]();console[_0x3f380a(0x1b6,0x1d4,0x1ad,_0x101638._0x1d01df)](_0x3f380a(0x1a9,0x1bf,0x1a6,_0x101638._0x286e7f)),console[_0x3f380a(_0x101638._0x49b14d,0x1d4,0x1b3,0x1be)]('==================='),_0x310e88[_0x3f380a(_0x101638._0x3097f5,0x18c,_0x101638._0x1e44be,_0x101638._0x4dda32)]((_0x5a1bb9,_0xe85d2b)=>_0x5a1bb9[_0x3f380a(0x19a,0x1aa,0x1ae,0x184)]===_0x2241c9?-0x1:_0xe85d2b[_0x348f2d(-0x2f1,-0x310,-0x2e9,-0x310)]===_0x2241c9?0x1:_0x5a1bb9['name'][_0x348f2d(-0x2ca,-0x2f7,-0x2ec,-0x2c4)](_0xe85d2b['name']));for(let _0x3ef7f2 of _0x310e88){let _0x46aa52=_0x3ef7f2['name']===_0x420bf7?_0x3f380a(_0x101638._0x1d01df,_0x101638._0x49336a,0x1da,0x1ab):'';console[_0x3f380a(_0x101638._0x45e9c6,_0x101638._0x2ce7ea,0x1ad,0x1db)]('\x0a'+_0x3ef7f2[_0x3f380a(_0x101638._0x23bfcc,_0x101638._0x351181,0x1b5,_0x101638._0x5cdf41)]+_0x46aa52),_0x3ef7f2[_0x348f2d(-0x30b,-0x326,-_0x101638._0x2208b4,-0x320)]&&console[_0x348f2d(-0x29b,-_0x101638._0x5dac69,-_0x101638._0x3eea7a,-0x2d3)]('\x20\x20Description:\x20'+_0x3ef7f2[_0x3f380a(_0x101638._0x179de9,_0x101638._0x364452,_0x101638._0x1c986f,_0x101638._0x449a3a)]),console[_0x348f2d(-0x2b6,-_0x101638._0x5907f8,-_0x101638._0x2b7303,-_0x101638._0x2a3541)](_0x348f2d(-_0x101638._0x25de42,-_0x101638._0x418e24,-_0x101638._0x3d8e3d,-0x2ff)+new Date(_0x3ef7f2[_0x3f380a(0x196,0x1a2,_0x101638._0x25f2e0,0x183)])[_0x3f380a(0x1a3,_0x101638._0x40857f,_0x101638._0x3cea4f,0x19a)]()),console[_0x348f2d(-0x2e8,-0x29d,-_0x101638._0x29dac7,-_0x101638._0x14da01)](_0x348f2d(-0x321,-_0x101638._0x447dbf,-0x304,-_0x101638._0xd0d6a7)+new Date(_0x3ef7f2[_0x3f380a(0x1da,_0x101638._0x397c5b,_0x101638._0x3429ca,0x1b4)])['toLocaleString']()),this[_0x3f380a(0x197,0x19a,_0x101638._0x58c7a9,0x1b7)]['isDefault'](_0x3ef7f2[_0x3f380a(_0x101638._0x4e0d5b,0x1aa,_0x101638._0x832d5f,0x199)])?console[_0x3f380a(_0x101638._0xcf0400,0x1d4,0x1fd,0x1ed)](_0x3f380a(_0x101638._0x316b15,_0x101638._0x4eedf9,_0x101638._0x42a528,_0x101638._0x19c252)+this[_0x348f2d(-0x302,-0x31e,-0x2f9,-_0x101638._0x95679c)]['getProfileDir'](_0x3ef7f2[_0x3f380a(0x1b8,_0x101638._0x41f6d8,_0x101638._0x36ff4d,0x1ae)])):console[_0x348f2d(-0x2bf,-0x2c3,-_0x101638._0x3eea7a,-_0x101638._0x49c4ea)](_0x348f2d(-_0x101638._0x382146,-0x2f7,-0x2dc,-0x2e5)+this['profileManager']['getProfileDir'](_0x3ef7f2[_0x348f2d(-_0x101638._0x3917ff,-0x30a,-0x2e9,-0x2ee)]));}console[_0x348f2d(-0x2c1,-0x2ca,-0x2bf,-0x2cd)]();}catch(_0x31639b){console[_0x348f2d(-0x2ab,-0x2af,-0x2bd,-0x29b)](_0x348f2d(-_0x101638._0x2502ee,-0x2de,-0x2e6,-_0x101638._0x5b1176),_0x31639b instanceof Error?_0x31639b[_0x348f2d(-_0x101638._0x543d9e,-0x2af,-_0x101638._0x543d9e,-_0x101638._0x285c5f)]:String(_0x31639b)),process[_0x348f2d(-_0x101638._0x590f50,-0x2ea,-_0x101638._0x2b5e51,-_0x101638._0x447dbf)](0x1);}}async[_0xd67fbb(0x395,0x37a,0x399,0x37f)](_0x33c416,_0x4fbad6){const _0x32fef3={_0x41005b:0xb7,_0x396b84:0xcf,_0x7afa23:0x4b,_0x354f55:0x56,_0x418359:0x88,_0x4cd4a0:0x94,_0x50b29f:0x53,_0x2ed931:0xb0,_0xb59f3f:0xc6,_0x5097c8:0x8f,_0x5d1fff:0x8f,_0x35ffad:0x9c,_0x4d2df8:0x76,_0x53599a:0x6d,_0x426eed:0x72,_0x5e000a:0x2e,_0x242ac6:0xb2,_0x2f53f4:0x81,_0x4c1cd2:0x6c,_0x32dac7:0x77,_0x24c31b:0x66,_0x340094:0x45,_0x12d385:0x78,_0x4d744a:0x7c,_0x6f6a80:0x68,_0x30e4a6:0x6f,_0x1f812f:0x7d,_0x2f8191:0x3c,_0x5e8c19:0xc7,_0x581b87:0xab,_0x492aea:0x8d,_0x59c361:0x82,_0x48130b:0x54,_0x2631d3:0x4d,_0x5c8f6e:0x35,_0x3a86c0:0xe0,_0x34a52c:0xe0,_0x2c634c:0x7f,_0xe19e41:0x83},_0x1ea460={_0xa4ff44:0x18e,_0x421381:0x4f3,_0x29c49f:0x10a},_0x9be653={_0x43acba:0x10d};function _0x1c0ea8(_0x33c9fa,_0x53a891,_0x242b25,_0x6e576d){return _0xd67fbb(_0x33c9fa-_0x9be653._0x43acba,_0x6e576d,_0x242b25- -0x2ee,_0x6e576d-0x1ed);}_0x33c416||(console[_0x54a06d(-0x6a,-0x54,-0x7e,-0x38)](_0x1c0ea8(_0x32fef3._0x41005b,_0x32fef3._0x396b84,0xc2,0xac)),console[_0x54a06d(-_0x32fef3._0x7afa23,-_0x32fef3._0x354f55,-0x3f,-0x6b)](_0x1c0ea8(0x5f,0x67,0x81,_0x32fef3._0x418359)),process['exit'](0x1));function _0x54a06d(_0x347cc7,_0x580edf,_0xeacc91,_0x3fa9a8){return _0x2a110c(_0x347cc7-_0x1ea460._0xa4ff44,_0x347cc7,_0x580edf- -_0x1ea460._0x421381,_0x3fa9a8-_0x1ea460._0x29c49f);}try{let _0x459ccc={};for(let _0x71d266=0x0;_0x71d266<_0x4fbad6[_0x54a06d(-0x6c,-0x8f,-0x9f,-0x88)];_0x71d266+=0x2){let _0x48a2bf=_0x4fbad6[_0x71d266],_0x5150fd=_0x4fbad6[_0x71d266+0x1];if(_0x5150fd)switch(_0x48a2bf){case _0x54a06d(-_0x32fef3._0x4cd4a0,-0x6a,-_0x32fef3._0x50b29f,-0x53):case'-d':_0x459ccc['description']=_0x5150fd;break;case _0x1c0ea8(_0x32fef3._0x2ed931,_0x32fef3._0xb59f3f,0xa5,0xba):case'-c':_0x459ccc[_0x54a06d(-0x85,-0x66,-_0x32fef3._0x5097c8,-_0x32fef3._0x5d1fff)]=_0x5150fd;break;}}await this[_0x54a06d(-0xb4,-0x90,-_0x32fef3._0x35ffad,-0xaa)][_0x54a06d(-0x74,-_0x32fef3._0x4d2df8,-_0x32fef3._0x53599a,-0x93)](_0x33c416,_0x459ccc),console[_0x54a06d(-_0x32fef3._0x426eed,-_0x32fef3._0x354f55,-0x53,-_0x32fef3._0x5e000a)](_0x1c0ea8(_0x32fef3._0x242ac6,0x73,0x9b,0x88)+_0x33c416+_0x1c0ea8(_0x32fef3._0x2f53f4,0x7e,0x7e,_0x32fef3._0x4c1cd2)),_0x459ccc[_0x54a06d(-_0x32fef3._0x32dac7,-_0x32fef3._0x24c31b,-0x62,-_0x32fef3._0x340094)]&&console[_0x54a06d(-_0x32fef3._0x12d385,-0x56,-_0x32fef3._0x4d744a,-_0x32fef3._0x6f6a80)](_0x54a06d(-0x58,-0x6c,-0x83,-_0x32fef3._0x30e4a6)+_0x459ccc[_0x54a06d(-_0x32fef3._0x1f812f,-0x66,-_0x32fef3._0x2f8191,-_0x32fef3._0x30e4a6)]+'\x27)'),console[_0x1c0ea8(0xcd,0xc9,_0x32fef3._0x5e8c19,0xd7)](_0x1c0ea8(0x87,_0x32fef3._0x581b87,0xa1,0x8a)+this[_0x1c0ea8(_0x32fef3._0x242ac6,0xb0,_0x32fef3._0x492aea,_0x32fef3._0x59c361)]['getProfileDir'](_0x33c416));}catch(_0x5a9858){console[_0x54a06d(-0x7d,-_0x32fef3._0x48130b,-0x68,-_0x32fef3._0x2631d3)](_0x54a06d(-_0x32fef3._0x5c8f6e,-_0x32fef3._0x50b29f,-0x46,-0x7b),_0x5a9858 instanceof Error?_0x5a9858[_0x1c0ea8(0xe4,_0x32fef3._0x3a86c0,0xcf,_0x32fef3._0x34a52c)]:String(_0x5a9858)),process[_0x1c0ea8(_0x32fef3._0x2c634c,0x7c,_0x32fef3._0xe19e41,0x91)](0x1);}}async[_0xd67fbb(0x375,0x385,0x381,0x35d)](_0x84601c,_0x3622e5){const _0x37916d={_0x29965f:0x147,_0x119992:0x185,_0x4c3331:0x17e,_0x1e7a4f:0x105,_0x5a9165:0x117,_0x3204d2:0x141,_0x41c189:0x12d,_0x3c9d7a:0x1a0,_0x5ba814:0x1c8,_0x536cc4:0x19a,_0x4b55ea:0x169,_0x58967d:0x161,_0x17988b:0x17c,_0x11392a:0x1a4,_0x5510e9:0x1bc,_0x37c212:0x1a3,_0x9ff721:0x11a,_0x54c735:0x11e,_0x3eafc3:0x124,_0xc2296d:0x170,_0x3ae0c2:0x14e,_0x3ab113:0x167,_0x59f88b:0x133,_0x24e352:0x15c,_0x255bfa:0x11b,_0xce38c3:0x10b,_0x36172c:0x108},_0x3f9488={_0x2d4787:0x531},_0x2d47bb={_0x465e0b:0x351};function _0x14d462(_0x2d6635,_0x6813b1,_0x3ddbbd,_0x3d2636){return _0x2a110c(_0x2d6635-0x1dc,_0x3ddbbd,_0x3d2636- -_0x2d47bb._0x465e0b,_0x3d2636-0x127);}function _0x314c76(_0x5ef8a6,_0x380174,_0x469e66,_0x6af9e){return _0xd67fbb(_0x5ef8a6-0x5d,_0x380174,_0x469e66- -_0x3f9488._0x2d4787,_0x6af9e-0xbd);}_0x84601c||(console['error'](_0x14d462(0x13d,0x12a,0x123,_0x37916d._0x29965f)),console[_0x314c76(-_0x37916d._0x119992,-_0x37916d._0x4c3331,-0x17c,-0x197)]('Usage:\x20nuvin\x20profile\x20delete\x20<name>\x20[--force]'),process['exit'](0x1));try{let _0x4fe743={'force':_0x3622e5['includes'](_0x14d462(_0x37916d._0x1e7a4f,_0x37916d._0x5a9165,_0x37916d._0x3204d2,_0x37916d._0x41c189))||_0x3622e5[_0x314c76(-0x17e,-_0x37916d._0x3c9d7a,-0x19f,-0x1b7)]('-f')};await this[_0x314c76(-_0x37916d._0x5ba814,-0x1c6,-0x1b6,-_0x37916d._0x3c9d7a)][_0x314c76(-0x19f,-0x19b,-_0x37916d._0x536cc4,-0x1af)](_0x84601c,_0x4fe743),console[_0x314c76(-_0x37916d._0x4b55ea,-_0x37916d._0x58967d,-_0x37916d._0x17988b,-0x15c)](_0x314c76(-_0x37916d._0x11392a,-_0x37916d._0x5510e9,-0x1a8,-_0x37916d._0x37c212)+_0x84601c+_0x14d462(_0x37916d._0x9ff721,_0x37916d._0x54c735,0x11d,_0x37916d._0x3eafc3));}catch(_0x3d3141){console[_0x14d462(0x130,0x141,_0x37916d._0xc2296d,_0x37916d._0x3ae0c2)](_0x14d462(0x16f,_0x37916d._0x3ab113,_0x37916d._0x59f88b,0x152),_0x3d3141 instanceof Error?_0x3d3141[_0x314c76(-_0x37916d._0x24e352,-_0x37916d._0x536cc4,-0x174,-0x19b)]:String(_0x3d3141)),process[_0x14d462(0xe1,_0x37916d._0x255bfa,_0x37916d._0xce38c3,_0x37916d._0x36172c)](0x1);}}async[_0xd67fbb(0x37b,0x38b,0x39a,0x3a3)](_0x4d95f8){const _0x234033={_0x3f9ac5:0x172,_0x15f56a:0x1a5,_0x277743:0x2e,_0x5b5d0f:0x155,_0x5937d5:0x15a,_0x1a6548:0x151,_0x149a1c:0x129,_0x359700:0x152,_0x94e7c1:0x137,_0x4df199:0x146,_0x170deb:0x141,_0x224bd3:0x5e,_0xbfb5cb:0x60,_0x1b0950:0x2b,_0x26a081:0x50,_0x2409e4:0x67},_0xa6d67={_0xa7047e:0x11f,_0x2c65ba:0x151};function _0x29ed24(_0x58324f,_0x330701,_0x452aa7,_0x157834){return _0x2a110c(_0x58324f-_0xa6d67._0xa7047e,_0x452aa7,_0x58324f- -0x322,_0x157834-_0xa6d67._0x2c65ba);}_0x4d95f8||(console[_0x29ed24(0x17d,_0x234033._0x3f9ac5,_0x234033._0x15f56a,0x187)]('Error:\x20Profile\x20name\x20is\x20required'),console[_0x72a64e(-0x46,-0x27,-0x30,-_0x234033._0x277743)]('Usage:\x20nuvin-cli\x20profile\x20switch\x20<name>'),console[_0x29ed24(0x17b,_0x234033._0x5b5d0f,_0x234033._0x5937d5,0x191)](_0x29ed24(0x170,_0x234033._0x1a6548,0x155,0x16f)),await this[_0x29ed24(0x13e,0x149,_0x234033._0x149a1c,_0x234033._0x359700)](),process[_0x29ed24(_0x234033._0x94e7c1,0x13b,_0x234033._0x4df199,0x151)](0x1));function _0x72a64e(_0x203f71,_0x5ab3aa,_0x16991f,_0x27c471){return _0x2a110c(_0x203f71-0xe4,_0x27c471,_0x16991f- -0x4cd,_0x27c471-0x134);}try{await this[_0x29ed24(_0x234033._0x170deb,0x11c,0x149,0x133)][_0x72a64e(-0x6a,-0x88,-0x73,-_0x234033._0x224bd3)](_0x4d95f8),console['log'](_0x72a64e(-0x3b,-0x68,-_0x234033._0xbfb5cb,-0x79)+_0x4d95f8+'\x27'),console['log']('\x20\x20\x20Path:\x20'+this['profileManager']['getProfileDir'](_0x4d95f8));}catch(_0x4d33f0){console[_0x72a64e(-0x48,-0x4b,-0x2e,-_0x234033._0x1b0950)](_0x72a64e(-_0x234033._0x26a081,-0x68,-_0x234033._0x2409e4,-0x41),_0x4d33f0 instanceof Error?_0x4d33f0['message']:String(_0x4d33f0)),process['exit'](0x1);}}async[_0xd67fbb(0x359,0x3a1,0x37a,0x359)](){const _0x1e3294={_0x4769aa:0x249,_0x5610eb:0x272,_0x37d23f:0x277,_0x59b57b:0x28d,_0x1d2027:0x2a5,_0x5301f0:0x27a,_0x51a236:0x28e,_0x406774:0x366,_0x5cf6c7:0x349,_0x2e92fe:0x3b0,_0x578ccd:0x3a7,_0x46a2fd:0x2c4,_0x1da4e9:0x266,_0x2b534d:0x25b,_0x3b7116:0x283,_0x4455d5:0x2a0,_0x41c13c:0x2a5,_0x414e71:0x2b2,_0x1ea687:0x37b,_0x552113:0x36f,_0x499031:0x27c,_0x1cdf83:0x29b,_0x290add:0x2c7,_0x2cf5c3:0x2a4,_0x1e3a4c:0x38f,_0xcefa45:0x3b1,_0x79d2e0:0x3b8,_0x432275:0x3a9,_0x37e715:0x3a0,_0x52dbe6:0x382,_0x248920:0x3b0,_0x2a2bd4:0x3ca,_0x2ffb6a:0x26d,_0x1433fc:0x393,_0x57ab5b:0x367,_0x1eeffb:0x399,_0x124c03:0x38d,_0xf8ab21:0x29f,_0x27ff74:0x379,_0x39e28e:0x26b,_0x35026b:0x399,_0x209cd4:0x3b9,_0x280311:0x3d6,_0x7cb39f:0x3b0,_0x351597:0x389,_0x53ecb8:0x34e,_0x4164d9:0x36d,_0x7bab8d:0x388,_0x12274f:0x3b4,_0x1e8b2c:0x39f,_0xd229c8:0x395,_0xb87654:0x2ac,_0x82a20c:0x2b6,_0x34abb8:0x34b,_0x2ab2d8:0x36d},_0x6e618c={_0x13abf0:0x5,_0x2cde13:0x1ca},_0x4f911d={_0x3edf0b:0x164,_0xe62436:0x110,_0x10fe36:0x17a};function _0x29fe26(_0x47ba9d,_0xc51c5f,_0xb82384,_0x3f43a2){return _0xd67fbb(_0x47ba9d-_0x4f911d._0x3edf0b,_0x47ba9d,_0xb82384- -_0x4f911d._0xe62436,_0x3f43a2-_0x4f911d._0x10fe36);}function _0x484f09(_0x39aff3,_0x5e26b1,_0x51798c,_0x257274){return _0xd67fbb(_0x39aff3-0x5d,_0x39aff3,_0x5e26b1- -_0x6e618c._0x13abf0,_0x257274-_0x6e618c._0x2cde13);}try{let _0x32a08b=await this['profileManager']['getActive'](),_0x2f1947=await this['profileManager']['list']()['then'](_0x159b07=>_0x159b07['find'](_0xb75581=>_0xb75581['name']===_0x32a08b));console['log'](_0x29fe26(0x296,_0x1e3294._0x4769aa,_0x1e3294._0x5610eb,_0x1e3294._0x37d23f)),console[_0x484f09(0x387,0x3b0,0x3a0,0x387)]('================'),console[_0x29fe26(_0x1e3294._0x59b57b,_0x1e3294._0x1d2027,0x2a5,0x2ac)](_0x29fe26(0x279,_0x1e3294._0x5301f0,_0x1e3294._0x51a236,0x2ae)+_0x32a08b),_0x2f1947&&(_0x2f1947[_0x484f09(0x353,_0x1e3294._0x406774,0x38c,_0x1e3294._0x5cf6c7)]&&console[_0x484f09(0x39f,_0x1e3294._0x2e92fe,_0x1e3294._0x578ccd,0x3d5)](_0x29fe26(_0x1e3294._0x46a2fd,0x2a4,0x2a3,0x297)+_0x2f1947[_0x29fe26(_0x1e3294._0x1da4e9,0x248,_0x1e3294._0x2b534d,0x26d)]),console[_0x29fe26(_0x1e3294._0x3b7116,_0x1e3294._0x4455d5,_0x1e3294._0x41c13c,_0x1e3294._0x414e71)](_0x484f09(0x36d,_0x1e3294._0x1ea687,_0x1e3294._0x552113,0x39e)+new Date(_0x2f1947[_0x29fe26(_0x1e3294._0x499031,0x28a,0x273,0x281)])[_0x29fe26(0x29b,_0x1e3294._0x1cdf83,0x27c,0x273)]()),console[_0x29fe26(0x2bc,_0x1e3294._0x290add,_0x1e3294._0x41c13c,_0x1e3294._0x2cf5c3)](_0x484f09(_0x1e3294._0x1e3a4c,_0x1e3294._0xcefa45,_0x1e3294._0x79d2e0,_0x1e3294._0x432275)+new Date(_0x2f1947[_0x484f09(_0x1e3294._0x37e715,0x3aa,_0x1e3294._0x52dbe6,0x3ba)])['toLocaleString']())),console[_0x484f09(0x38c,_0x1e3294._0x248920,_0x1e3294._0x2a2bd4,0x3ca)](_0x29fe26(0x277,0x24f,_0x1e3294._0x2ffb6a,0x24d)+this['profileManager'][_0x484f09(0x399,0x3a4,_0x1e3294._0x1433fc,0x394)](_0x32a08b)),console['log'](_0x484f09(_0x1e3294._0x57ab5b,0x371,_0x1e3294._0x1eeffb,0x37a)+this[_0x484f09(_0x1e3294._0x37e715,0x376,0x387,_0x1e3294._0x124c03)][_0x29fe26(0x282,0x257,0x265,0x28f)](_0x32a08b)),console[_0x29fe26(_0x1e3294._0xf8ab21,0x295,0x2a5,0x2c0)](_0x484f09(0x356,0x37f,_0x1e3294._0x27ff74,0x381)+this[_0x29fe26(0x24e,0x281,_0x1e3294._0x39e28e,0x277)][_0x484f09(0x3ba,0x3a1,_0x1e3294._0x35026b,_0x1e3294._0x209cd4)](_0x32a08b)),console[_0x484f09(_0x1e3294._0x280311,_0x1e3294._0x7cb39f,_0x1e3294._0x351597,0x393)](_0x484f09(_0x1e3294._0x53ecb8,0x372,_0x1e3294._0x4164d9,_0x1e3294._0x7bab8d)+this['profileManager'][_0x484f09(_0x1e3294._0x12274f,_0x1e3294._0x1e8b2c,_0x1e3294._0xd229c8,0x3ba)](_0x32a08b)),console[_0x29fe26(0x2c1,_0x1e3294._0xb87654,0x2a5,_0x1e3294._0x82a20c)]();}catch(_0xff0f2d){console['error'](_0x484f09(0x3c5,0x3b4,0x391,0x393),_0xff0f2d instanceof Error?_0xff0f2d[_0x29fe26(0x2be,0x291,0x2ad,0x2c8)]:String(_0xff0f2d)),process[_0x484f09(_0x1e3294._0x34abb8,0x36c,0x350,_0x1e3294._0x2ab2d8)](0x1);}}async[_0x2a110c(0x454,0x438,0x45c,0x44b)](_0x346bf6,_0x14ae02){const _0x3f9fa6={_0x55dbe9:0x1d9,_0x2e2190:0x1e6,_0x450304:0x1e4,_0x2130d4:0x8d,_0x284540:0x7d,_0x3f81a9:0x2d,_0x351163:0x1c3,_0x2c47d0:0x1c5,_0x6c67ac:0x66,_0x384e56:0x38,_0x38f627:0x45,_0x1a7434:0x49,_0x20d620:0x65,_0x75d307:0x7a,_0x4a2d17:0x7c,_0x52ea39:0x1be,_0x99b3e7:0x1c4,_0x8cb7c7:0xa3,_0x52b83d:0x187,_0x10664d:0x1b8,_0x5f5844:0x1be,_0x2b6225:0x1c8,_0x2aa367:0x1f8,_0x497553:0x19e,_0x346d94:0x1d2,_0x1a44a3:0x1f1,_0xd1cdb2:0x1f8,_0x58851b:0x1cc,_0x340a32:0x1cb,_0x1f7501:0x1de,_0x1c31d0:0x49,_0x361187:0x38},_0x2aa7e2={_0x4e0fa1:0x9};function _0x5936b6(_0x2067b3,_0x7600f0,_0x3837ba,_0x2fea96){return _0x2a110c(_0x2067b3-0xa2,_0x2067b3,_0x3837ba- -0x2b9,_0x2fea96-0xfb);}function _0x50b9e8(_0x39e514,_0x5cef08,_0x36c909,_0x3f5f9b){return _0xd67fbb(_0x39e514-0x72,_0x5cef08,_0x39e514- -0x328,_0x3f5f9b-_0x2aa7e2._0x4e0fa1);}(!_0x346bf6||!_0x14ae02)&&(console[_0x5936b6(0x1e4,_0x3f9fa6._0x55dbe9,_0x3f9fa6._0x2e2190,_0x3f9fa6._0x450304)]('Error:\x20Both\x20source\x20and\x20target\x20profile\x20names\x20are\x20required'),console[_0x50b9e8(_0x3f9fa6._0x2130d4,0x93,_0x3f9fa6._0x284540,0xaf)](_0x50b9e8(0x51,_0x3f9fa6._0x3f81a9,0x45,0x4c)),console[_0x5936b6(_0x3f9fa6._0x351163,0x1be,0x1e4,_0x3f9fa6._0x2c47d0)](_0x50b9e8(0x82,_0x3f9fa6._0x6c67ac,0x7c,0x60)),await this[_0x50b9e8(0x50,_0x3f9fa6._0x384e56,_0x3f9fa6._0x38f627,0x3b)](),process[_0x50b9e8(_0x3f9fa6._0x1a7434,_0x3f9fa6._0x20d620,0x67,0x6b)](0x1));try{let _0xfc55a1={'cloneFrom':_0x346bf6,'description':_0x50b9e8(0x57,0x38,_0x3f9fa6._0x75d307,_0x3f9fa6._0x4a2d17)+_0x346bf6+'\x27'};await this[_0x50b9e8(0x53,0x76,0x6b,0x48)][_0x5936b6(_0x3f9fa6._0x52ea39,0x1e0,_0x3f9fa6._0x99b3e7,0x1ae)](_0x14ae02,_0xfc55a1),console[_0x50b9e8(0x8d,_0x3f9fa6._0x8cb7c7,0x86,0x6a)]('✅\x20Profile\x20\x27'+_0x14ae02+_0x5936b6(_0x3f9fa6._0x52b83d,_0x3f9fa6._0x10664d,0x19b,_0x3f9fa6._0x5f5844)),console[_0x5936b6(_0x3f9fa6._0x2b6225,0x1d9,_0x3f9fa6._0x450304,0x1bc)]('\x20\x20\x20(cloned\x20from\x20\x27'+_0x346bf6+'\x27)'),console[_0x5936b6(0x1bd,0x1eb,0x1e4,_0x3f9fa6._0x2aa367)](_0x5936b6(0x1b9,0x1b6,0x1be,_0x3f9fa6._0x497553)+this['profileManager'][_0x5936b6(0x1b3,_0x3f9fa6._0x346d94,0x1d8,0x1f6)](_0x14ae02));}catch(_0x3d40b4){console[_0x5936b6(_0x3f9fa6._0x1a44a3,0x1d3,0x1e6,_0x3f9fa6._0xd1cdb2)](_0x5936b6(_0x3f9fa6._0x450304,_0x3f9fa6._0x58851b,_0x3f9fa6._0x340a32,_0x3f9fa6._0x1f7501),_0x3d40b4 instanceof Error?_0x3d40b4['message']:String(_0x3d40b4)),process[_0x50b9e8(_0x3f9fa6._0x1c31d0,0x40,0x6c,_0x3f9fa6._0x361187)](0x1);}}[_0xd67fbb(0x3b4,0x3c5,0x3a8,0x39d)](){const _0x6946fb={_0x29cfea:0x27d},_0x186161={_0x4ba583:0x181},_0x2bb34d={_0x3990b4:0x736,_0x4b8ebd:0x1bd};function _0x549ac5(_0xec5cdf,_0x62967d,_0x4665a2,_0x5b8596){return _0x2a110c(_0xec5cdf-0x7f,_0x5b8596,_0x62967d- -_0x2bb34d._0x3990b4,_0x5b8596-_0x2bb34d._0x4b8ebd);}function _0x12015d(_0x184cad,_0x2865c7,_0x2b0dac,_0x1c06b2){return _0xd67fbb(_0x184cad-_0x186161._0x4ba583,_0x2b0dac,_0x2865c7- -0x539,_0x1c06b2-0x1e3);}console[_0x549ac5(-0x2ba,-0x299,-_0x6946fb._0x29cfea,-0x2b7)](_0x12015d(-0x188,-0x18e,-0x167,-0x19b));}};function _0x1793(_0x1c6a78,_0xd3de3b){_0x1c6a78=_0x1c6a78-0x83;const _0x522f05=_0x522f();let _0x1793ba=_0x522f05[_0x1c6a78];if(_0x1793['ZEZzTX']===undefined){var _0x2bd03d=function(_0xa17a1d){const _0x22a6bc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2241c9='',_0x25b7c7='';for(let _0x2bc7b3=0x0,_0x497b49,_0x1f4189,_0x1a23aa=0x0;_0x1f4189=_0xa17a1d['charAt'](_0x1a23aa++);~_0x1f4189&&(_0x497b49=_0x2bc7b3%0x4?_0x497b49*0x40+_0x1f4189:_0x1f4189,_0x2bc7b3++%0x4)?_0x2241c9+=String['fromCharCode'](0xff&_0x497b49>>(-0x2*_0x2bc7b3&0x6)):0x0){_0x1f4189=_0x22a6bc['indexOf'](_0x1f4189);}for(let _0x310e88=0x0,_0x420bf7=_0x2241c9['length'];_0x310e88<_0x420bf7;_0x310e88++){_0x25b7c7+='%'+('00'+_0x2241c9['charCodeAt'](_0x310e88)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x25b7c7);};_0x1793['gBfXVH']=_0x2bd03d,_0x1793['VYmRcN']={},_0x1793['ZEZzTX']=!![];}const _0xfe7639=_0x522f05[0x0],_0x4c776f=_0x1c6a78+_0xfe7639,_0x47ff7a=_0x1793['VYmRcN'][_0x4c776f];return!_0x47ff7a?(_0x1793ba=_0x1793['gBfXVH'](_0x1793ba),_0x1793['VYmRcN'][_0x4c776f]=_0x1793ba):_0x1793ba=_0x47ff7a,_0x1793ba;}function _0x522f(){const _0x4a1c23=['u2vZC2LVBNm6ia','BgLZDfbYB2zPBgvZ','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignSB25LidXZB3vYy2u+idX0yxjNzxq+','C2HVD1bYB2zPBgu','ChjVzMLSzu1HBMfNzxi','BgvUz3rO','ugf0AdOG','rMfPBgvKihrVihn3AxrJAcbWCM9MAwXLoG','q2XVBMuGB2yGjW','q3jLyxrLzdOG','zgvSzxrLuhjVzMLSzq','cKn1CNjLBNqGuhjVzMLSztO','y3jLyxrLza','qwDLBNrZoIa','4PYfifn3AxrJAgvKihrVihbYB2zPBguGjW','z2v0qwn0AxzL','nde4t3zRvg1j','Bg9JywXLq29TCgfYzq','4PYfifbYB2zPBguGjW','AgfUzgXLuhjVzMLSzunVBw1HBMq','BMfTzq','Dg9mB2nHBgvtDhjPBMC','jYbKzwXLDgvKihn1y2nLC3nMDwXSEq','rMfPBgvKihrVigXPC3qGChjVzMLSzxm6','icaGugf0AdOG','vw5RBM93BIbWCM9MAwXLignVBw1HBMq6ia','mtiXnZKXm2Ttqw1ysa','Aw5JBhvKzxm','ls1JBg9Uzs1MCM9T','icbdCMvHDgvKoIa','y3jLyxrL','ls1MB3jJzq','zgvSzxrL','icbqyxrOoIa','y3jLyxrLuhjVzMLSzq','C3DPDgnOuhjVzMLSzq','ls1OzwXW','rMfPBgvKihrVignSB25LihbYB2zPBgu6','ofzuB1LWrW','tMfTztOG','icaGkgnSB25LzcbMCM9TicC','cKf2ywLSywjSzsbqCM9MAwXLCZO','ls1KzxnJCMLWDgLVBG','nJe1odGWvhzMqM1d','BgLZDa','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','y2XVBMvgCM9T','z2v0uhjVzMLSzufNzw50C0rPCG','ndCWmdDythr3zwW','C2HVD0HLBha','z2v0uhjVzMLSzurPCG','qxzHAwXHyMXLihbYB2zPBgvZoG','cLbYB2zPBguGtwfUywDLBwvUDcbdB21Tyw5KCWOkvxnHz2u6cIaGBNv2Aw4GChjVzMLSzsa8y29TBwfUzd4Gw29WDgLVBNnDcGPdB21Tyw5KCZOkicbSAxn0icaGicaGicaGicaGicaGicaGicaGicaGtgLZDcbHBgWGChjVzMLSzxmkicbJCMvHDguGpg5HBwu+icaGicaGicaGicaGicaGq3jLyxrLigeGBMv3ihbYB2zPBgukicbKzwXLDguGpg5HBwu+icaGicaGicaGicaGicaGrgvSzxrLigeGChjVzMLSzqOGihn3AxrJAca8BMfTzt4GicaGicaGicaGicaGicbtD2L0y2GGywn0AxzLihbYB2zPBgukicbZAg93icaGicaGicaGicaGicaGicaGicaGicaGu2HVDYbJDxjYzw50ihbYB2zPBguGAw5MBWOGignSB25LidXZB3vYy2u+idX0yxjNzxq+icaGicbdBg9UzsbHBIbLEgLZDgLUzYbWCM9MAwXLcIaGAgvSCcaGicaGicaGicaGicaGicaGicaGicaGifnOB3CGDgHPCYbOzwXWig1LC3nHz2ukcKnYzwf0zsbpChrPB25ZoGOGic0TzgvZy3jPChrPB24Sic1KidX0zxH0pIaGicaGuhjVzMLSzsbKzxnJCMLWDgLVBGOGic0Ty2XVBMuTzNjVBsWGlwmGphnVDxjJzt4GicaGq2XVBMuGzxHPC3rPBMCGChjVzMLSzqOkrgvSzxrLie9WDgLVBNm6cIaGls1MB3jJzsWGlwyGicaGicaGicaGicaGicaGicbgB3jJzsbKzwXLDguGzxzLBIbPzIbHy3rPDMukcKv4yw1WBgvZoGOGig51DMLUihbYB2zPBguGBgLZDaOGig51DMLUihbYB2zPBguGy3jLyxrLihDVCMSGls1KzxnJCMLWDgLVBIaIv29YAYbWCM9Qzwn0CYikicbUDxzPBIbWCM9MAwXLihn3AxrJAcb3B3jRcIaGBNv2Aw4GChjVzMLSzsbJBg9Uzsb3B3jRignSAwvUDc1WCM9Qzwn0cIaGBNv2Aw4GChjVzMLSzsbKzwXLDguGB2XKlxbYB2PLy3qGls1MB3jJzqOGig51DMLUihbYB2zPBguGC2HVDWOktM90ztOGvgHLicDKzwzHDwX0jYbWCM9MAwXLigLZihjLC2vYDMvKigfUzcbJyw5UB3qGyMuGzgvSzxrLzc4kvgHLigrLzMf1BhqGChjVzMLSzsb1C2vZihrOzsbYB290ih4VlM51DMLUigrPCMvJDg9YEs4k','mtG3nty3t1bUCLnh','ifTbq1rjvKvD','y2XVBMu','BgfZDfvZzwq','rxjYB3i6ifbYB2zPBguGBMfTzsbPCYbYzxf1AxjLza','odeZnJHpBKzsC28','AgvSCa','rgvZy3jPChrPB246ia','C2XPy2u','Bg9N','tgfZDcb1C2vKoIa','zxjYB3i','rMfPBgvKihrVignYzwf0zsbWCM9MAwXLoG','rMfPBgvKihrVihnOB3CGChjVzMLSztO','nLj0qunyza','rMfPBgvKihrVigrLBgv0zsbWCM9MAwXLoG','ody2mdy4ohPOAfP6sG','BwvZC2fNzq','zgvZy3jPChrPB24','jYbJCMvHDgvKihn1y2nLC3nMDwXSEq','C29YDa','ntrYDM1SDgC','vxnHz2u6ig51DMLUlwnSAsbWCM9MAwXLignYzwf0zsa8BMfTzt4GwY0TzgvZy3jPChrPB24GiKrLC2nYAxb0Aw9UiL0GwY0Ty2XVBMuTzNjVBsa8C291CMnLpL0','icbmyxn0ihvZzwq6ia','zxHPDa','C3DPDgnO','mZKXnJuXnujyy25nva','y2XVBMvqCM9MAwXL','z2v0uhjVzMLSzunVBMzPz1bHDgG','q29UzMLNoIa'];_0x522f=function(){return _0x4a1c23;};return _0x522f();}export{a as ProfileCliHandler};
@@ -1 +1 @@
1
- (function(_0x47a4ec,_0x1b20eb){var _0x52e33b={_0x3af244:0x2fd,_0x4d55a2:0x2fd,_0x4e90bb:0x301,_0x29a5eb:0x2fc,_0x16909d:0x2ff,_0x2f4953:0x2fb,_0x35fc40:0x362,_0x10d00d:0x367,_0x576348:0x2fa,_0x21bcb3:0x365,_0x46b9db:0x35f,_0x25f9a4:0x360,_0x54ac90:0x2f6,_0x297a31:0x2f1,_0x319633:0x2f1,_0x11573e:0x2f9,_0x4b2050:0x2f2,_0x3b39f1:0x363,_0x387de2:0x2f2,_0x1da333:0x2f7};function _0x1f0e78(_0x3df61f,_0x2dfacc,_0x32c67a,_0x37b2cd){return _0x39af(_0x3df61f- -0x371,_0x37b2cd);}function _0x102951(_0x3e8f09,_0x38c4d8,_0x1e839d,_0x2c66da){return _0x39af(_0x3e8f09-0x2e8,_0x38c4d8);}var _0x4330f5=_0x47a4ec();while(!![]){try{var _0x1d0876=parseInt(_0x1f0e78(-0x2fc,-0x2f7,-0x2fb,-0x2fa))/0x1+-parseInt(_0x1f0e78(-_0x52e33b._0x3af244,-_0x52e33b._0x4d55a2,-_0x52e33b._0x4e90bb,-0x2fc))/0x2*(-parseInt(_0x1f0e78(-0x2fb,-_0x52e33b._0x29a5eb,-_0x52e33b._0x16909d,-_0x52e33b._0x2f4953))/0x3)+parseInt(_0x1f0e78(-0x2fa,-0x2f7,-0x2fe,-0x2f5))/0x4*(parseInt(_0x102951(0x366,_0x52e33b._0x35fc40,_0x52e33b._0x10d00d,0x367))/0x5)+-parseInt(_0x1f0e78(-0x2f8,-_0x52e33b._0x576348,-0x2fe,-_0x52e33b._0x2f4953))/0x6+-parseInt(_0x102951(0x362,_0x52e33b._0x21bcb3,_0x52e33b._0x46b9db,_0x52e33b._0x25f9a4))/0x7+-parseInt(_0x1f0e78(-_0x52e33b._0x54ac90,-_0x52e33b._0x297a31,-_0x52e33b._0x319633,-_0x52e33b._0x11573e))/0x8*(-parseInt(_0x1f0e78(-0x2f5,-0x2f6,-_0x52e33b._0x4b2050,-0x2fa))/0x9)+-parseInt(_0x102951(_0x52e33b._0x25f9a4,0x365,_0x52e33b._0x3b39f1,0x360))/0xa*(-parseInt(_0x1f0e78(-0x2f4,-_0x52e33b._0x387de2,-_0x52e33b._0x1da333,-0x2f3))/0xb);if(_0x1d0876===_0x1b20eb)break;else _0x4330f5['push'](_0x4330f5['shift']());}catch(_0x4fce6c){_0x4330f5['push'](_0x4330f5['shift']());}}}(_0x1590,0x69a07));import{b as _0x51032c,c as _0x335309,d as _0x2168ae,e as _0x37951e,f as _0x271bb7,g as _0x17d5ac}from'./chunk-RY5MYNSA.js';function _0x1590(){var _0x2b3241=['nta0otmYBw1iqNbo','oduWnZboBMvVvLe','ntGZnJmYsxjHB1Pr','mtKYmdqZnKXYueLQqW','mtCZotyWv3Pnvg5P','mZzQDhngzMS','nJzIvMP3vgi','mtv3tM5HyvC','mtiXmJiYzK1Py3PA','mty2mZi0tM1orgzl','nK1kvejRAq'];_0x1590=function(){return _0x2b3241;};return _0x1590();}import'./chunk-BWIY46RS.js';import'./chunk-3YTWOK4O.js';function _0x39af(_0x4ff4be,_0xa034c3){_0x4ff4be=_0x4ff4be-0x74;var _0x15902c=_0x1590();var _0x39af2a=_0x15902c[_0x4ff4be];if(_0x39af['MkGUbM']===undefined){var _0x34f39d=function(_0x7aeb09){var _0x3fdd70='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x51032c='',_0x335309='';for(var _0x2168ae=0x0,_0x37951e,_0x271bb7,_0x17d5ac=0x0;_0x271bb7=_0x7aeb09['charAt'](_0x17d5ac++);~_0x271bb7&&(_0x37951e=_0x2168ae%0x4?_0x37951e*0x40+_0x271bb7:_0x271bb7,_0x2168ae++%0x4)?_0x51032c+=String['fromCharCode'](0xff&_0x37951e>>(-0x2*_0x2168ae&0x6)):0x0){_0x271bb7=_0x3fdd70['indexOf'](_0x271bb7);}for(var _0x23412d=0x0,_0x38da69=_0x51032c['length'];_0x23412d<_0x38da69;_0x23412d++){_0x335309+='%'+('00'+_0x51032c['charCodeAt'](_0x23412d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x335309);};_0x39af['cWpSNF']=_0x34f39d,_0x39af['ntrDHn']={},_0x39af['MkGUbM']=!![];}var _0x380fea=_0x15902c[0x0],_0x567b6d=_0x4ff4be+_0x380fea,_0x4c3f7b=_0x39af['ntrDHn'][_0x567b6d];return!_0x4c3f7b?(_0x39af2a=_0x39af['cWpSNF'](_0x39af2a),_0x39af['ntrDHn'][_0x567b6d]=_0x39af2a):_0x39af2a=_0x4c3f7b,_0x39af2a;}export{_0x335309 as createNewSession,_0x271bb7 as getSessionDir,_0x2168ae as loadHistoryFromFile,_0x37951e as loadSessionHistory,_0x51032c as scanAvailableSessions,_0x17d5ac as useSessionManagement};
1
+ (function(_0x5ee024,_0x3c2936){var _0x593c9d={_0x3dfcd2:0x3ae,_0x205d72:0xdd,_0x508a9d:0xe0,_0x29c80a:0xde,_0x2d83b2:0x3af,_0xe9af9a:0xde,_0x2bd61f:0xd8,_0x407f47:0xd9,_0x168a15:0x3b3,_0x39ca0e:0xe4,_0x98193b:0xe1,_0x3ace06:0xdb,_0x24a483:0xda},_0x338333={_0x33c2ff:0x2a7},_0x16bce3={_0xad8e15:0x2f};function _0x1880d2(_0x5a9683,_0x5b7dad,_0x12f38b,_0x2bf842){return _0x2d2e(_0x2bf842- -_0x16bce3._0xad8e15,_0x5a9683);}var _0x4780b8=_0x5ee024();function _0x76b425(_0x286a23,_0x1b4072,_0x433ff6,_0x1d8f93){return _0x2d2e(_0x433ff6-_0x338333._0x33c2ff,_0x1b4072);}while(!![]){try{var _0x2cd007=-parseInt(_0x76b425(0x3ac,0x3b1,0x3b0,_0x593c9d._0x3dfcd2))/0x1+parseInt(_0x1880d2(0xe1,_0x593c9d._0x205d72,0xd9,0xdc))/0x2+parseInt(_0x1880d2(0xd8,_0x593c9d._0x508a9d,_0x593c9d._0x29c80a,0xdb))/0x3+parseInt(_0x76b425(0x3ae,_0x593c9d._0x2d83b2,0x3ae,0x3b1))/0x4*(-parseInt(_0x1880d2(_0x593c9d._0xe9af9a,0xde,0xdd,_0x593c9d._0x29c80a))/0x5)+parseInt(_0x1880d2(0xde,0xdb,_0x593c9d._0x2bd61f,_0x593c9d._0x407f47))/0x6+parseInt(_0x76b425(0x3b7,0x3b5,_0x593c9d._0x168a15,0x3b3))/0x7*(-parseInt(_0x1880d2(_0x593c9d._0x39ca0e,0xe5,0xe1,0xe0))/0x8)+parseInt(_0x1880d2(0xe6,0xdc,0xe0,_0x593c9d._0x98193b))/0x9*(-parseInt(_0x1880d2(_0x593c9d._0x3ace06,_0x593c9d._0x24a483,_0x593c9d._0x205d72,0xdf))/0xa);if(_0x2cd007===_0x3c2936)break;else _0x4780b8['push'](_0x4780b8['shift']());}catch(_0x1cc078){_0x4780b8['push'](_0x4780b8['shift']());}}}(_0x920a,0x6b963));import{b as _0x39ced9,c as _0x33359f,d as _0x197d19,e as _0x38bebd,f as _0xf2d574,g as _0x208455}from'./chunk-RY5MYNSA.js';import'./chunk-BWIY46RS.js';import'./chunk-3YTWOK4O.js';function _0x920a(){var _0x13a6dc=['mJCYotq1DwXorvDd','ntbRwuPVsLa','mtaYodi0DffYDgDk','mZC2mtGYzujgBMXm','mJbmvLHIEvq','mJi4nZK4nKL3EvHtwq','ndG2mJi5CvH1A3vX','mtu0mJe5ogDtD25Otq','mtq2mZG4nNHVrM5pvW','mte5A2rjv0zt'];_0x920a=function(){return _0x13a6dc;};return _0x920a();}function _0x2d2e(_0x5ae0b1,_0x5d243e){_0x5ae0b1=_0x5ae0b1-0x107;var _0x920ad=_0x920a();var _0x2d2e9a=_0x920ad[_0x5ae0b1];if(_0x2d2e['KfnoPC']===undefined){var _0x4ee4f3=function(_0x2a8c75){var _0x3988f1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x39ced9='',_0x33359f='';for(var _0x197d19=0x0,_0x38bebd,_0xf2d574,_0x208455=0x0;_0xf2d574=_0x2a8c75['charAt'](_0x208455++);~_0xf2d574&&(_0x38bebd=_0x197d19%0x4?_0x38bebd*0x40+_0xf2d574:_0xf2d574,_0x197d19++%0x4)?_0x39ced9+=String['fromCharCode'](0xff&_0x38bebd>>(-0x2*_0x197d19&0x6)):0x0){_0xf2d574=_0x3988f1['indexOf'](_0xf2d574);}for(var _0x241aeb=0x0,_0x156278=_0x39ced9['length'];_0x241aeb<_0x156278;_0x241aeb++){_0x33359f+='%'+('00'+_0x39ced9['charCodeAt'](_0x241aeb)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x33359f);};_0x2d2e['XRIUTx']=_0x4ee4f3,_0x2d2e['CTFksj']={},_0x2d2e['KfnoPC']=!![];}var _0x44edc5=_0x920ad[0x0],_0x4944c0=_0x5ae0b1+_0x44edc5,_0x50cc15=_0x2d2e['CTFksj'][_0x4944c0];return!_0x50cc15?(_0x2d2e9a=_0x2d2e['XRIUTx'](_0x2d2e9a),_0x2d2e['CTFksj'][_0x4944c0]=_0x2d2e9a):_0x2d2e9a=_0x50cc15,_0x2d2e9a;}export{_0x33359f as createNewSession,_0xf2d574 as getSessionDir,_0x197d19 as loadHistoryFromFile,_0x38bebd as loadSessionHistory,_0x39ced9 as scanAvailableSessions,_0x208455 as useSessionManagement};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuvin/nuvin-cli",
3
- "version": "1.36.0-rc.14",
3
+ "version": "1.36.0-rc.15",
4
4
  "private": false,
5
5
  "description": "Interactive AI coding assistant CLI powered by Nuvin core",
6
6
  "license": "Apache-2.0",
@@ -91,7 +91,7 @@
91
91
  "build": "node scripts/build.js",
92
92
  "clean": "rm -rf dist",
93
93
  "dev": "tsup --watch",
94
- "run:dev": "npx tsx source/cli.tsx",
94
+ "run:dev": "npx tsx --import ./scripts/register-md-loader.js source/cli.tsx",
95
95
  "run:scroll": "npx tsx source/position-demo.tsx",
96
96
  "run:prod": "node dist/cli.js",
97
97
  "test": "vitest run",
@@ -1,60 +0,0 @@
1
- ---
2
- name: code-reviewer
3
- description: Perform comprehensive code reviews for quality, correctness, security, and maintainability. Use when reviewing pull requests, before merging code, or when needing feedback on implementation quality.
4
- allowed_tools:
5
- - file_read
6
- - file_edit
7
- - grep_tool
8
- - glob_tool
9
- - lsp
10
- - findReferences
11
- temperature: 0.3
12
- ---
13
-
14
- You are a Code Review Agent — an elite code reviewer focused on quality, correctness, security, and maintainability.
15
-
16
- ## Principles
17
-
18
- - **Evidence-based reviews**: Support all feedback with specific code references (file:line)
19
- - **Security-first**: Flag OWASP Top 10 vulnerabilities, injection risks, and security anti-patterns
20
- - **Pragmatic over pedantic**: Focus on issues that impact correctness, security, or maintainability
21
- - **Actionable feedback**: Provide specific suggestions, not just problems
22
- - **Constructive tone**: Reviews should help the author improve, not just criticize
23
-
24
- ## Review Focus
25
-
26
- 1. **Correctness**: Logic errors, edge cases, race conditions, off-by-one errors
27
- 2. **Security**: Injection vulnerabilities, authentication/authorization flaws, secret exposure
28
- 3. **Performance**: O(n²) where O(n) possible, unnecessary allocations, blocking operations
29
- 4. **Maintainability**: Code duplication, unclear names, missing error handling, lack of tests
30
- 5. **Type safety**: Missing types, incorrect types, unsafe any usage
31
- 6. **Error handling**: Swallowed errors, missing error propagation, unclear error messages
32
-
33
- ## Workflow
34
-
35
- 1. Read and understand the code changes using `file_read`, `grep_tool`, and `lsp`
36
- 2. Analyze for issues across the review focus areas
37
- 3. Check test coverage if tests exist (`grep_tool` for .test.ts, .spec.ts files)
38
- 4. Use `lsp` to trace imports and understand call relationships
39
- 5. Organize findings by severity: critical → major → minor → suggestions
40
- 6. Provide specific file:line citations for each issue
41
-
42
- ## Output Format
43
-
44
- ### Summary
45
- Brief overview of what was reviewed and overall assessment.
46
-
47
- ### Critical Issues
48
- Security vulnerabilities, crashes, data loss risks (if any).
49
-
50
- ### Major Issues
51
- Functional bugs, significant performance problems, maintainability concerns.
52
-
53
- ### Minor Issues
54
- Style inconsistencies, small improvements, unclear names.
55
-
56
- ### Suggestions
57
- Optional improvements and best practice recommendations.
58
-
59
- ### Positive Notes
60
- Well-implemented patterns, good practices to acknowledge.
@@ -1,68 +0,0 @@
1
- ---
2
- name: explorer
3
- description: Explore and understand the structure and architecture of the codebase. Use this agent when you need to map out the project, understand file relationships, or get familiar with a new codebase.
4
- allowed_tools:
5
- - file_read
6
- - glob_tool
7
- - grep_tool
8
- - ls_tool
9
- - lsp
10
- temperature: 0.5
11
- ---
12
-
13
- You are an Exploration Agent — a fast, read-only codebase investigator.
14
-
15
- **Your job**: Understand a specific area of the codebase and return a concise, structured summary that enables the main agent to make decisions and take action.
16
-
17
- **You are NOT** the one implementing changes. Your output is consumed by another agent, so be precise and actionable — not verbose.
18
-
19
- ## Principles
20
-
21
- - **Read-only**: Never modify, create, or delete files
22
- - **Mission-focused**: Stay scoped to the specific exploration task. Do not explore beyond what's asked
23
- - **Concise output**: Return synthesized findings — never dump raw file contents or tool outputs
24
- - **Evidence-based**: Always cite specific file paths and line numbers (e.g., `src/auth/service.ts:45`)
25
- - **Progressive discovery**: Start broad (file names, exports), then drill into specifics only as needed
26
-
27
- ## Workflow
28
-
29
- 1. Parse the task to understand exactly what the main agent needs to know
30
- 2. Use `glob_tool` or `ls_tool` to map the relevant file structure
31
- 3. Use `grep_tool` to locate key symbols, patterns, and imports
32
- 4. Use `file_read` on essential files only — read headers, exports, and key sections, not entire files
33
- 5. Use `lsp` to trace definitions and references when you need to understand relationships
34
- 6. Synthesize findings into the output format below
35
-
36
- ## Tool Rules
37
-
38
- - Use `file_read` with `lineStart`/`lineEnd` to read specific sections — avoid reading entire large files
39
- - Use `glob_tool` to find files, `grep_tool` to search contents — never use `bash_tool` for these
40
- - Use `lsp documentSymbol` to quickly understand what a file exports without reading it fully
41
- - Use `lsp goToDefinition` to trace where imports come from
42
- - **NEVER** use `bash_tool` for `cat`, `find`, `grep`, `tree`, `ls` — use the dedicated tools
43
- - **NEVER** use `file_edit`, `file_new`, or any write operation
44
-
45
- ## Output Format
46
-
47
- Return findings in this structure. Omit sections that aren't relevant to the task.
48
-
49
- ### Purpose
50
- What was explored and why.
51
-
52
- ### Key Files
53
- - `path/to/file.ts` — Role/purpose (one line each)
54
-
55
- ### Architecture
56
- High-level structure: layers, modules, data flow. Keep to 3-5 sentences.
57
-
58
- ### Entry Points
59
- Main exports, public APIs, initialization functions with file:line references.
60
-
61
- ### Patterns
62
- Design patterns, naming conventions, organization approach.
63
-
64
- ### Dependencies
65
- How components connect. Key imports and relationships between modules.
66
-
67
- ### Observations
68
- Important findings, potential issues, or things the main agent should know.
@@ -1,62 +0,0 @@
1
- ---
2
- name: integration-test-engineer
3
- description: Design and implement comprehensive integration tests for complex systems. Use when setting up test suites, debugging flaky tests, ensuring service boundaries work correctly, or validating API contracts between components.
4
- allowed_tools:
5
- - file_read
6
- - file_edit
7
- - file_new
8
- - grep_tool
9
- - glob_tool
10
- - bash_tool
11
- - lsp
12
- - findReferences
13
- temperature: 0.5
14
- ---
15
-
16
- You are an Integration Test Engineer — specialist in testing how components interact in real systems.
17
-
18
- ## Principles
19
-
20
- - **Integration over unit**: Focus on component interactions, not individual functions
21
- - **Realistic environments**: Use test environments that mirror production setup
22
- - **Deterministic tests**: Eliminate flakiness through proper setup/teardown and mocking
23
- - **Fast feedback**: Optimize test suites for quick execution without sacrificing coverage
24
- - **Clear failures**: Test failures should immediately indicate what broke and where
25
-
26
- ## Test Types
27
-
28
- 1. **API contracts**: Request/response validation, error handling, status codes
29
- 2. **Service boundaries**: Message passing, database interactions, external calls
30
- 3. **Data flow**: End-to-end data transformation through the system
31
- 4. **Error scenarios**: Timeouts, failures, retries, circuit breakers
32
- 5. **State management**: Session handling, cache behavior, transaction integrity
33
-
34
- ## Workflow
35
-
36
- 1. Understand the system architecture using `lsp`, `glob_tool`, and `file_read`
37
- 2. Identify integration points between components
38
- 3. Design test cases covering happy path and failure scenarios
39
- 4. Implement tests with proper setup/teardown
40
- 5. Add necessary mocks/stubs for external dependencies
41
- 6. Ensure tests can run in parallel (isolation)
42
- 7. Verify tests are deterministic (run multiple times)
43
-
44
- ## Output Format
45
-
46
- ### Test Plan
47
- Overview of what's being tested and approach.
48
-
49
- ### Test Suite Structure
50
- File organization and test hierarchy.
51
-
52
- ### Test Cases Implemented
53
- List of test cases with descriptions.
54
-
55
- ### Coverage Notes
56
- What's covered and what's intentionally not covered.
57
-
58
- ### Setup Requirements
59
- Environment setup, fixtures, mocks needed.
60
-
61
- ### Running the Tests
62
- Commands to execute the test suite.
@@ -1,67 +0,0 @@
1
- ---
2
- name: software-engineer
3
- description: An elite software engineer for high-quality code implementation, refactoring, and architecture decisions. Use for code reviews, design pattern implementation, complex feature development, and achieving world-class code quality.
4
- allowed_tools:
5
- - file_read
6
- - file_edit
7
- - file_new
8
- - grep_tool
9
- - glob_tool
10
- - bash_tool
11
- - lsp
12
- - findReferences
13
- temperature: 0.4
14
- ---
15
-
16
- You are an Elite Software Engineer — specialist in high-quality implementation, refactoring, and architecture.
17
-
18
- ## Principles
19
-
20
- - **Clean code matters**: Names should reveal intent, functions should do one thing
21
- - **SOLID principles**: Single responsibility, open/closed, Liskov substitution, interface segregation, dependency inversion
22
- - **DRY over abstraction**: Three similar lines beat a premature abstraction
23
- - **Fail fast**: Validate inputs early, throw explicit errors, handle edge cases
24
- - **Production-ready**: Include logging, monitoring, error handling, tests
25
-
26
- ## Implementation Approach
27
-
28
- 1. **Understand requirements**: Ask clarifying questions before implementing
29
- 2. **Design first**: Consider types, interfaces, and module structure
30
- 3. **Implement incrementally**: Small, testable changes
31
- 4. **Refactor continuously**: Improve code as understanding deepens
32
- 5. **Test thoroughly**: Unit tests for logic, integration for interactions
33
- 6. **Document sparingly**: Code should be self-documenting; document only "why"
34
-
35
- ## Code Quality Standards
36
-
37
- - **Types**: Leverage TypeScript's type system; avoid `any` and `as`
38
- - **Error handling**: Explicit error types, never swallow errors, log context
39
- - **Naming**: Verbs for functions (getUser, validateInput), nouns for types
40
- - **Functions**: Pure when possible, < 20 lines, single responsibility
41
- - **Files**: Cohesive (single concern), well-organized imports
42
-
43
- ## Workflow
44
-
45
- 1. Use `lsp` and `file_read` to understand existing code structure
46
- 2. Use `grep_tool` to find related code and patterns
47
- 3. Design the solution considering existing architecture
48
- 4. Implement changes with `file_edit` or `file_new`
49
- 5. Use `lsp` diagnostics to verify correctness
50
- 6. Run tests to ensure nothing broke
51
-
52
- ## Output Format
53
-
54
- ### Implementation Plan
55
- Approach and key decisions made.
56
-
57
- ### Changes Made
58
- List of files modified with summary of changes.
59
-
60
- ### Technical Details
61
- Architecture patterns used, trade-offs considered.
62
-
63
- ### Testing Notes
64
- How the implementation was tested.
65
-
66
- ### Next Steps
67
- Any follow-up work or considerations.
@@ -1,55 +0,0 @@
1
- ---
2
- name: test-case-counter
3
- description: Count and analyze test cases in a codebase. Use when you need to determine the total number of tests, track test coverage metrics, or generate reports on test statistics across files.
4
- allowed_tools:
5
- - glob_tool
6
- - grep_tool
7
- - file_read
8
- - bash_tool
9
- - lsp
10
- temperature: 0.2
11
- ---
12
-
13
- You are a Test Case Analyzer — specialist in counting, categorizing, and reporting on test coverage.
14
-
15
- ## Principles
16
-
17
- - **Comprehensive counting**: Count all test files and test cases accurately
18
- - **Categorization**: Group tests by type (unit, integration, e2e) and module
19
- - **Metrics focus**: Provide statistics, not raw dumps
20
- - **Gap identification**: Highlight untested or under-tested areas
21
- - **Actionable reports**: Format findings for easy consumption
22
-
23
- ## Analysis Types
24
-
25
- 1. **Test file discovery**: Find all test files (.test.ts, .spec.ts, __tests__)
26
- 2. **Test case counting**: Count it(), test(), describe() blocks
27
- 3. **Coverage estimation**: Map test files to source files
28
- 4. **Test type classification**: Unit vs integration vs e2e
29
- 5. **Trend analysis**: Track test growth over time
30
-
31
- ## Workflow
32
-
33
- 1. Use `glob_tool` to find all test files
34
- 2. Use `grep_tool` to count test cases within files
35
- 3. Use `file_read` to examine test structure and categorize
36
- 4. Map test files to source files using naming conventions
37
- 5. Aggregate statistics and generate report
38
- 6. Identify uncovered modules
39
-
40
- ## Output Format
41
-
42
- ### Test Statistics
43
- - Total test files: X
44
- - Total test cases: Y
45
- - Test categories: unit (A), integration (B), e2e (C)
46
-
47
- ### Test Coverage by Module
48
- | Module | Test Files | Test Cases | Coverage |
49
- |--------|-----------|-----------|----------|
50
-
51
- ### Untested Areas
52
- List of modules/files without corresponding tests.
53
-
54
- ### Recommendations
55
- Areas needing test coverage or improvement.