@nuvin/nuvin-cli 1.20.1 → 1.20.2
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-2U3P6AHV.js +1 -1
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-CIGVGDJE.js +1 -1
- package/dist/chunk-M6KACDU7.js +1 -1
- package/dist/chunk-PC75UOLY.js +1 -1
- package/dist/chunk-WIGFOWBJ.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-ZKUW24V3.js +1 -1
- package/dist/mcp-handler-EMT3B64H.js +1 -1
- package/dist/messageProcessor-6LZZDCBX.js +1 -1
- package/dist/profile-handler-YJGREJDI.js +1 -1
- package/dist/useSessionManagement-4KJ55VBF.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x27deed,_0x1c006d){const _0xc4c325={_0x1da252:0x13d,_0x3f2207:0x134,_0x5bddea:0x12b,_0x6dc89e:0x1d3,_0x13b7b7:0x1de,_0x13ba70:0x1df,_0x137ad4:0x128,_0x207cb9:0x124,_0x1c084f:0x136,_0x35e184:0x1f5,_0x2f9e14:0x1f6,_0xe0ee9a:0x1e4,_0x4541fa:0x11b,_0x1ee009:0x127,_0x2a0a88:0x12a,_0x1fbfa5:0x1e1},_0x526c14={_0x33e591:0x3e1},_0x10c650={_0xb1af4e:0x337},_0x40c031=_0x27deed();function _0x28f893(_0x3d32ef,_0x31c67c,_0x243a8c,_0x3ceb45){return _0x51bd(_0x3ceb45- -_0x10c650._0xb1af4e,_0x3d32ef);}function _0x1ba194(_0x27b824,_0x403803,_0xfc0cd,_0x407ea1){return _0x51bd(_0x407ea1- -_0x526c14._0x33e591,_0xfc0cd);}while(!![]){try{const _0x1daec5=parseInt(_0x28f893(-_0xc4c325._0x1da252,-0x119,-_0xc4c325._0x3f2207,-_0xc4c325._0x5bddea))/0x1+-parseInt(_0x1ba194(-0x1be,-0x1e0,-0x1e1,-0x1d0))/0x2+parseInt(_0x1ba194(-_0xc4c325._0x6dc89e,-0x1d8,-_0xc4c325._0x13b7b7,-_0xc4c325._0x13ba70))/0x3+parseInt(_0x28f893(-_0xc4c325._0x137ad4,-0x138,-_0xc4c325._0x207cb9,-_0xc4c325._0x1c084f))/0x4+parseInt(_0x1ba194(-_0xc4c325._0x35e184,-0x1e6,-_0xc4c325._0x2f9e14,-_0xc4c325._0xe0ee9a))/0x5*(-parseInt(_0x28f893(-0x116,-_0xc4c325._0x4541fa,-0x136,-_0xc4c325._0x1ee009))/0x6)+parseInt(_0x28f893(-0x142,-_0xc4c325._0x2a0a88,-0x12c,-0x131))/0x7+-parseInt(_0x1ba194(-0x1e7,-0x1ea,-_0xc4c325._0x1fbfa5,-0x1dc))/0x8;if(_0x1daec5===_0x1c006d)break;else _0x40c031['push'](_0x40c031['shift']());}catch(_0x74091e){_0x40c031['push'](_0x40c031['shift']());}}}(_0x1077,0x438f8));import{exec as _0x4a302a,spawn as _0x461dea}from'child_process';import{promisify as _0x24a604}from'util';function _0x1077(){const _0x5e0347=['ndi2mdy5rfDwzLb1','l25WBs8','EwfYBIbNBg9IywWGywrKia','lY5WBNbTlW','EwfYBG','BM9Kzv9TB2r1BgvZ','nduWotC2rvnHs3v3','Cg5WBsbHzgqGlwCG','Aw5JBhvKzxm','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','mta4tKr2rhfn','ndm1mJHVwKHNz3e','ignVBxbSzxrLzcbZDwnJzxnZzNvSBhKH','vxbKyxrLigzHAwXLzdOG','l3bUCg0V','BwvZC2fNzq','B25vCgrHDgvdB21WBgv0zwq','Cg5WBq','Dw5Yzwy','BNbT','Bgf0zxn0','qg51DMLUl251DMLUlwnSAq','D2HPy2GGBNv2Aw4','B25vCgrHDgvtDgfYDgvK','qgXHDgvZDa','B25fCNjVCG','lY55yxjUlW','nJC5odv0sePdAxG','CMvHzgXPBMSGiG','l3LHCM4V','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','mtu0mZm2ngLVCM9TEG','mteYoty3n0z2sNrAyW','y2HLy2TbBMrvCgrHDgu','B25vCgrHDgvbDMfPBgfIBgu','ntG0oda0mhDvtNPkDq'];_0x1077=function(){return _0x5e0347;};return _0x1077();}var v=_0x24a604(_0x4a302a),d='@nuvin/nuvin-cli';async function a(_0x5e7fa3,_0x2a11f3){try{let {stdout:_0x35545f}=await v(_0x5e7fa3,{'timeout':_0x2a11f3});return _0x35545f['trim']();}catch{return null;}}function _0x51bd(_0x14c909,_0x51dc8f){_0x14c909=_0x14c909-0x1f1;const _0x107795=_0x1077();let _0x51bde9=_0x107795[_0x14c909];if(_0x51bd['DZsBbO']===undefined){var _0x223c93=function(_0x34e92b){const _0x432294='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a302a='',_0x461dea='';for(let _0x24a604=0x0,_0x5e7fa3,_0x2a11f3,_0x35545f=0x0;_0x2a11f3=_0x34e92b['charAt'](_0x35545f++);~_0x2a11f3&&(_0x5e7fa3=_0x24a604%0x4?_0x5e7fa3*0x40+_0x2a11f3:_0x2a11f3,_0x24a604++%0x4)?_0x4a302a+=String['fromCharCode'](0xff&_0x5e7fa3>>(-0x2*_0x24a604&0x6)):0x0){_0x2a11f3=_0x432294['indexOf'](_0x2a11f3);}for(let _0x4d7a9f=0x0,_0x3bc076=_0x4a302a['length'];_0x4d7a9f<_0x3bc076;_0x4d7a9f++){_0x461dea+='%'+('00'+_0x4a302a['charCodeAt'](_0x4d7a9f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x461dea);};_0x51bd['ROnSfa']=_0x223c93,_0x51bd['QyRQQB']={},_0x51bd['DZsBbO']=!![];}const _0x4e9863=_0x107795[0x0],_0x4be23b=_0x14c909+_0x4e9863,_0x485228=_0x51bd['QyRQQB'][_0x4be23b];return!_0x485228?(_0x51bde9=_0x51bd['ROnSfa'](_0x51bde9),_0x51bd['QyRQQB'][_0x4be23b]=_0x51bde9):_0x51bde9=_0x485228,_0x51bde9;}var h;(_0x4d7a9f=>{const _0x4bf8cd={_0x5dd009:0x252,_0xc8f71f:0x251,_0x5b3ec5:0x231},_0x2c07e6={_0x8e217d:0x428,_0x280e0b:0x41a,_0x289b00:0x425,_0x904dbd:0x108,_0x24f32b:0x11e,_0x265d41:0x10d,_0x2d1cf9:0xfa,_0xa4617:0x118,_0x70eae8:0x102,_0x46bd95:0x111,_0x3928fb:0x105},_0x314ca2={_0x5aa632:0x1f6,_0x463a49:0x1e8,_0xfa67ae:0x205,_0x362a14:0x48e,_0x5a4e22:0x4a2,_0x1815da:0x49f,_0x18ad0e:0x4a4,_0x1cf3b5:0x49e},_0x25883f={_0x31d93c:0x313,_0x45d311:0x2f4,_0x3f51a8:0x2f7,_0x56d0f5:0x309,_0x4cff7e:0x2f7,_0x16107f:0x324,_0x46dbae:0x326,_0x24048d:0x310},_0xa166da={_0x3e9963:0x1f0,_0x5f3812:0x41c,_0x252cf5:0x413,_0x46beba:0x41b,_0x398f30:0x419,_0x566fc3:0x428,_0x57bc93:0x41a},_0x46ea21={_0x2197e3:0x3d9},_0x2da2c4={_0xaa6e06:0x1c4,_0x481e08:0x1c0,_0x292d56:0x1b0,_0xf48c47:0x1e3,_0x1ead86:0x1f4,_0x34e8c9:0x204,_0x3a49cc:0x1a9,_0x3b07be:0x1b1,_0x589376:0x1c7,_0x4c0115:0x1c5,_0x4eb415:0x1c6,_0x267b8a:0x19e,_0x517bff:0x1aa,_0x182b03:0x1b4,_0x5ad09f:0x1b8,_0x234ffa:0x1ee,_0x52c052:0x1d3,_0x35b52f:0x1e9,_0x207a30:0x1ea,_0x503ece:0x1a0,_0x590f81:0x1bf,_0x1e22b8:0x1bd,_0x2fa460:0x1a3,_0x2fc452:0x1ac,_0x9b6dd1:0x1da,_0x1d9c42:0x1de,_0x3946ba:0x203,_0x15113a:0x1f6,_0x53df21:0x205,_0x90202b:0x1c5,_0x2d4122:0x1bb,_0x15aab1:0x1c8,_0x223f91:0x1aa,_0x5d05d8:0x1e1,_0x1dca03:0x1ef,_0x5155f8:0x1fd,_0x307762:0x1a4,_0x2ccf9c:0x1a9,_0x4a8ab5:0x1b7,_0x49d8a5:0x1be,_0x3666c4:0x1ba,_0x50674e:0x1ec,_0xeef1d5:0x1d9,_0x1dfcbb:0x1f3};function _0x4fa2aa(_0x25d8ee,_0x1cab79,_0x3b0b5f,_0x22c2b5){return _0x51bd(_0x25d8ee-0x40,_0x3b0b5f);}async function _0x3bc076(){let _0x4a85a4=await a(_0x5a6b8b(-0x1c7,-_0x2da2c4._0xaa6e06,-_0x2da2c4._0x481e08,-_0x2da2c4._0x292d56),0xbb8);function _0x5a6b8b(_0x561240,_0x4533b9,_0x12a890,_0x393b96){return _0x51bd(_0x12a890- -0x3b8,_0x4533b9);}if(_0x4a85a4){let _0x1a3a08=await a(_0xd83fb6(0x1e8,_0x2da2c4._0xf48c47,0x1e0,0x1da)+_0x4a85a4+'\x22',0xbb8);if(_0x1a3a08){if(_0x1a3a08[_0xd83fb6(0x1fc,0x1f3,_0x2da2c4._0x1ead86,0x203)](_0xd83fb6(_0x2da2c4._0x34e8c9,0x1f9,0x209,0x1fe))||_0x1a3a08[_0x5a6b8b(-_0x2da2c4._0x3a49cc,-0x1a5,-0x1aa,-_0x2da2c4._0x3b07be)]('/.pnpm/'))return _0x5a6b8b(-_0x2da2c4._0x589376,-0x1b3,-_0x2da2c4._0x4c0115,-_0x2da2c4._0x4eb415);if(_0x1a3a08[_0x5a6b8b(-0x1a4,-_0x2da2c4._0x267b8a,-_0x2da2c4._0x517bff,-_0x2da2c4._0x182b03)]('/yarn/')||_0x1a3a08[_0x5a6b8b(-_0x2da2c4._0x5ad09f,-0x1a4,-0x1aa,-0x1ad)](_0xd83fb6(_0x2da2c4._0x234ffa,0x1e1,_0x2da2c4._0x52c052,0x1d3)))return _0xd83fb6(_0x2da2c4._0x35b52f,0x1ef,_0x2da2c4._0x207a30,_0x2da2c4._0x234ffa);if(_0x1a3a08[_0x5a6b8b(-0x19b,-0x1bb,-_0x2da2c4._0x517bff,-_0x2da2c4._0x503ece)](_0x5a6b8b(-_0x2da2c4._0x590f81,-0x1ae,-0x1b1,-_0x2da2c4._0x1e22b8))||_0x1a3a08['includes'](_0x5a6b8b(-_0x2da2c4._0x2fa460,-0x1a0,-0x1ad,-_0x2da2c4._0x2fc452)))return _0xd83fb6(_0x2da2c4._0x9b6dd1,0x1da,_0x2da2c4._0x1d9c42,0x1e3);}else{if(_0x4a85a4[_0xd83fb6(_0x2da2c4._0x3946ba,0x1f3,_0x2da2c4._0x15113a,_0x2da2c4._0x53df21)]('/pnpm/')||_0x4a85a4['includes'](_0x5a6b8b(-0x1b2,-0x1b2,-0x1af,-0x1a6)))return _0x5a6b8b(-0x1b3,-0x1cb,-_0x2da2c4._0x90202b,-0x1c9);if(_0x4a85a4[_0x5a6b8b(-0x19c,-0x1bb,-0x1aa,-_0x2da2c4._0x2d4122)](_0x5a6b8b(-0x1ad,-0x1c9,-0x1b9,-_0x2da2c4._0x15aab1))||_0x4a85a4[_0x5a6b8b(-0x1b2,-0x19d,-_0x2da2c4._0x223f91,-0x1ad)](_0xd83fb6(0x1de,_0x2da2c4._0x5d05d8,0x1f2,0x1d9)))return _0xd83fb6(0x1df,_0x2da2c4._0x1dca03,0x1fb,_0x2da2c4._0x5155f8);}}let [_0x49fe4f,_0x56322d,_0x2f1843]=await Promise['all']([a(_0x5a6b8b(-_0x2da2c4._0x307762,-0x1a8,-_0x2da2c4._0x2ccf9c,-_0x2da2c4._0x4a8ab5),0x1388),a(_0x5a6b8b(-_0x2da2c4._0x49d8a5,-0x1b1,-0x1b8,-_0x2da2c4._0x3666c4),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);function _0xd83fb6(_0x19cc10,_0x44cb05,_0x2926fa,_0x30eb1c){return _0x51bd(_0x44cb05- -0x1b,_0x2926fa);}return _0x49fe4f?.['includes'](_0xd83fb6(_0x2da2c4._0x50674e,0x1dc,_0x2da2c4._0xeef1d5,0x1e6))?'npm':_0x56322d?.[_0xd83fb6(0x1ff,_0x2da2c4._0x1dfcbb,_0x2da2c4._0x207a30,0x1e7)]('@nuvin/nuvin-cli')?'pnpm':_0x2f1843?.['includes']('@nuvin/nuvin-cli')?'yarn':'npm';}function _0x4b9d5d(_0x117f7d,_0x438c14){function _0xb190f(_0x34872c,_0x438d66,_0x5b68c6,_0x3a2c4a){return _0x51bd(_0x5b68c6- -_0x46ea21._0x2197e3,_0x438d66);}let _0x182132=_0x438c14?d+'@'+_0x438c14:d+_0xb190f(-_0xa166da._0x3e9963,-0x1cd,-0x1df,-0x1e5);function _0x45cc29(_0x55c595,_0x32ccb4,_0x5d2fa5,_0x2bc260){return _0x51bd(_0x5d2fa5-0x212,_0x55c595);}switch(_0x117f7d){case'pnpm':return _0x45cc29(0x412,0x419,0x41f,_0xa166da._0x5f3812)+_0x182132;case _0x45cc29(_0xa166da._0x252cf5,_0xa166da._0x46beba,0x41c,_0xa166da._0x398f30):return _0x45cc29(0x424,_0xa166da._0x566fc3,_0xa166da._0x57bc93,0x41c)+_0x182132;default:return'npm\x20install\x20-g\x20'+_0x182132;}}async function _0x2f21db(_0x1bce2a){const _0x49227c={_0x251de6:0x58},_0xb88262={_0x54ca71:0x3,_0x39fdc7:0x1aa};let {UpdateChecker:_0x4b207a}=await import('./UpdateChecker-2LAM3Q56.js');function _0x1ff30d(_0x2cb9da,_0x180351,_0x4d99bb,_0x374092){return _0x51bd(_0x2cb9da-0x232,_0x4d99bb);}function _0x25c294(_0x1bd3f5,_0x56927b,_0x43f79f,_0x251b91){return _0x51bd(_0x1bd3f5- -0x306,_0x251b91);}try{let _0x133af8=await _0x4b207a['checkForUpdate']({'onUpdateAvailable':_0x1bce2a?.[_0x1ff30d(0x436,0x428,0x448,_0x2c07e6._0x8e217d)],'onError':_0x1bce2a?.[_0x1ff30d(0x42d,0x423,0x426,0x420)]});if(!_0x133af8['hasUpdate'])return!0x1;_0x1bce2a?.[_0x1ff30d(0x42b,0x439,0x427,_0x2c07e6._0x280e0b)]&&_0x1bce2a[_0x1ff30d(0x42b,0x41a,_0x2c07e6._0x289b00,0x437)]();let _0x431ccd=await _0x3bc076(),_0x59ff52=_0x4b9d5d(_0x431ccd,_0x133af8['latest']),_0x13069f=_0x461dea('sh',['-c',_0x59ff52],{'detached':!0x0,'stdio':'ignore'});return _0x13069f['on']('exit',_0x3f70ea=>{const _0x4785bd={_0x2fdd5a:0x10e,_0x2b35b4:0x1bb,_0x33f263:0x197};function _0x2c655b(_0x335c7d,_0x3a89b8,_0x4c1e82,_0x344d1a){return _0x1ff30d(_0x4c1e82- -0x11f,_0x3a89b8-0x1d9,_0x3a89b8,_0x344d1a-0xbe);}function _0x143d2a(_0x238bd8,_0x538121,_0x1f400a,_0x5d47e1){return _0x1ff30d(_0x538121- -_0x4785bd._0x2fdd5a,_0x538121-_0x4785bd._0x2b35b4,_0x238bd8,_0x5d47e1-_0x4785bd._0x33f263);}if(_0x1bce2a?.[_0x2c655b(_0x25883f._0x31d93c,0x30e,0x305,_0x25883f._0x45d311)]){let _0x334b22=_0x3f70ea===0x0,_0x505477=_0x334b22?'Update\x20to\x20v'+_0x133af8[_0x2c655b(_0x25883f._0x3f51a8,0x312,_0x25883f._0x56d0f5,_0x25883f._0x4cff7e)]+_0x143d2a(_0x25883f._0x16107f,0x336,_0x25883f._0x46dbae,0x344):'Update\x20failed.\x20Please\x20try\x20manually.';_0x1bce2a[_0x143d2a(0x311,0x316,_0x25883f._0x24048d,0x326)](_0x334b22,_0x505477);}}),_0x13069f['on']('error',_0x4f00e0=>{function _0x429c4f(_0xb58a2b,_0x2a1e9d,_0x37c895,_0xdf3b6){return _0x25c294(_0xdf3b6-0x5b3,_0x2a1e9d-_0xb88262._0x54ca71,_0x37c895-_0xb88262._0x39fdc7,_0x2a1e9d);}function _0xd8b508(_0x10f611,_0x215792,_0xa3c3f9,_0x2999bc){return _0x25c294(_0x10f611- -0xe2,_0x215792-_0x49227c._0x251de6,_0xa3c3f9-0x1d2,_0x215792);}_0x1bce2a?.[_0xd8b508(-_0x314ca2._0x5aa632,-_0x314ca2._0x463a49,-_0x314ca2._0xfa67ae,-0x1ea)]&&_0x1bce2a[_0x429c4f(_0x314ca2._0x362a14,_0x314ca2._0x5a4e22,0x4ad,_0x314ca2._0x1815da)](!0x1,_0x429c4f(0x4b7,0x4ca,0x4bc,0x4c0)+_0x4f00e0[_0x429c4f(0x49c,0x49a,_0x314ca2._0x18ad0e,_0x314ca2._0x1cf3b5)]);}),_0x13069f[_0x25c294(-0x112,-_0x2c07e6._0x904dbd,-0x101,-_0x2c07e6._0x24f32b)](),!0x0;}catch(_0xc65473){return _0x1bce2a?.[_0x25c294(-0x10b,-_0x2c07e6._0x265d41,-_0x2c07e6._0x2d1cf9,-_0x2c07e6._0xa4617)]&&_0x1bce2a[_0x25c294(-0x10b,-_0x2c07e6._0x70eae8,-_0x2c07e6._0x46bd95,-_0x2c07e6._0x3928fb)](_0xc65473 instanceof Error?_0xc65473:new Error(String(_0xc65473))),!0x1;}}_0x4d7a9f[_0x4fa2aa(0x243,_0x4bf8cd._0x5dd009,_0x4bf8cd._0xc8f71f,_0x4bf8cd._0x5b3ec5)]=_0x2f21db;})(h||={});export{h as AutoUpdater};
|
|
1
|
+
(function(_0x23339a,_0x5d8f76){const _0x72cff6={_0x16147e:0x216,_0x5a8c61:0x219,_0x39ad08:0x205,_0x433e57:0x208,_0x558dae:0x1fd,_0x5d16ea:0x209,_0x299127:0x207,_0x1920a1:0x1f4,_0x56d130:0x20a,_0x1faaf4:0x206,_0xb051e1:0x1fe,_0x425fe8:0x1ed,_0x3f2027:0x221,_0x5d327f:0x21b,_0x322c78:0x228,_0x453925:0x20e,_0x45ccbb:0x214,_0x19722f:0x211,_0xc98e8f:0x21a,_0x4e3ac1:0x221},_0x4a1c2f={_0x4de66e:0x2fc},_0x1a0acd={_0x1e3fa9:0x123};function _0xfb2a4b(_0xcaff10,_0x239bef,_0x4ddc76,_0x46ddcf){return _0x4d79(_0xcaff10-_0x1a0acd._0x1e3fa9,_0x239bef);}function _0x2e49de(_0x250559,_0x2644a1,_0x2ee6eb,_0x197cc9){return _0x4d79(_0x2ee6eb- -_0x4a1c2f._0x4de66e,_0x250559);}const _0xebccaf=_0x23339a();while(!![]){try{const _0x2a80b4=-parseInt(_0xfb2a4b(0x222,_0x72cff6._0x16147e,0x211,0x229))/0x1+-parseInt(_0xfb2a4b(_0x72cff6._0x5a8c61,_0x72cff6._0x39ad08,0x203,_0x72cff6._0x433e57))/0x2+-parseInt(_0x2e49de(-_0x72cff6._0x558dae,-_0x72cff6._0x5d16ea,-_0x72cff6._0x299127,-0x206))/0x3+parseInt(_0x2e49de(-_0x72cff6._0x1920a1,-0x1fc,-_0x72cff6._0x56d130,-0x1fc))/0x4*(parseInt(_0xfb2a4b(0x208,_0x72cff6._0x1faaf4,0x1f9,0x1fd))/0x5)+-parseInt(_0x2e49de(-_0x72cff6._0xb051e1,-0x1ed,-0x200,-0x215))/0x6*(-parseInt(_0x2e49de(-0x214,-0x214,-0x202,-_0x72cff6._0x425fe8))/0x7)+parseInt(_0xfb2a4b(_0x72cff6._0x3f2027,_0x72cff6._0x5d327f,_0x72cff6._0x322c78,_0x72cff6._0x453925))/0x8+parseInt(_0xfb2a4b(_0x72cff6._0x45ccbb,0x216,_0x72cff6._0x5a8c61,0x218))/0x9*(-parseInt(_0xfb2a4b(_0x72cff6._0x19722f,_0x72cff6._0xc98e8f,_0x72cff6._0xb051e1,_0x72cff6._0x4e3ac1))/0xa);if(_0x2a80b4===_0x5d8f76)break;else _0xebccaf['push'](_0xebccaf['shift']());}catch(_0x367221){_0xebccaf['push'](_0xebccaf['shift']());}}}(_0x1962,0x92090));import{exec as _0x51943c,spawn as _0x11cbfc}from'child_process';import{promisify as _0x1cd389}from'util';var v=_0x1cd389(_0x51943c),d='@nuvin/nuvin-cli';async function a(_0x17b818,_0x1164e9){const _0x586868={_0x2e9d00:0x3,_0x25f710:0xd},_0x2357be={_0xf29473:0xf5};function _0x5816cd(_0x2d2b7f,_0x117ecb,_0x2e66ca,_0x54f986){return _0x4d79(_0x54f986- -_0x2357be._0xf29473,_0x2e66ca);}try{let {stdout:_0xad9b3d}=await v(_0x17b818,{'timeout':_0x1164e9});return _0xad9b3d[_0x5816cd(-0x8,_0x586868._0x2e9d00,-0x1c,-_0x586868._0x25f710)]();}catch{return null;}}function _0x4d79(_0x58ea16,_0x363104){_0x58ea16=_0x58ea16-0xd5;const _0x196289=_0x1962();let _0x4d7970=_0x196289[_0x58ea16];if(_0x4d79['JlLrcD']===undefined){var _0x5ba263=function(_0x30c1bb){const _0x4bea64='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51943c='',_0x11cbfc='';for(let _0x1cd389=0x0,_0x17b818,_0x1164e9,_0xad9b3d=0x0;_0x1164e9=_0x30c1bb['charAt'](_0xad9b3d++);~_0x1164e9&&(_0x17b818=_0x1cd389%0x4?_0x17b818*0x40+_0x1164e9:_0x1164e9,_0x1cd389++%0x4)?_0x51943c+=String['fromCharCode'](0xff&_0x17b818>>(-0x2*_0x1cd389&0x6)):0x0){_0x1164e9=_0x4bea64['indexOf'](_0x1164e9);}for(let _0x3cd45d=0x0,_0x39360b=_0x51943c['length'];_0x3cd45d<_0x39360b;_0x3cd45d++){_0x11cbfc+='%'+('00'+_0x51943c['charCodeAt'](_0x3cd45d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x11cbfc);};_0x4d79['iihUcI']=_0x5ba263,_0x4d79['pwhbcr']={},_0x4d79['JlLrcD']=!![];}const _0x5cf089=_0x196289[0x0],_0x56ab91=_0x58ea16+_0x5cf089,_0x2c4ef0=_0x4d79['pwhbcr'][_0x56ab91];return!_0x2c4ef0?(_0x4d7970=_0x4d79['iihUcI'](_0x4d7970),_0x4d79['pwhbcr'][_0x56ab91]=_0x4d7970):_0x4d7970=_0x2c4ef0,_0x4d7970;}function _0x1962(){const _0x142e77=['lI9vCgrHDgvdAgvJA2vYltjmqu0Zutu2lMPZ','nta0ntKYwe5gCNvg','mJyWntKWAvf6CuLe','zxjYB3i','BNbTigXPC3qGlwCGqg51DMLUl251DMLUlwnSAsaTlwrLChrOptaGmJ4Vzgv2l251BgW','vxbKyxrLigzHAwXLzdOG','zxHPDa','BM9Kzv9TB2r1BgvZ','qgXHDgvZDa','y2HLy2TbBMrvCgrHDgu','AgfZvxbKyxrL','Bgf0zxn0','B25vCgrHDgvtDgfYDgvK','EwfYBG','qg51DMLUl251DMLUlwnSAq','B25vCgrHDgvbDMfPBgfIBgu','Cg5WBsbHzgqGlwCG','B25fCNjVCG','Cg5WBq','AwDUB3jL','mJGXnuDwuLfbyG','Cg5WBsbSAxn0ic1NiebUDxzPBI9UDxzPBI1JBgKGls1Kzxb0Ad0Widi+l2rLDI9UDwXS','Aw5JBhvKzxm','DhjPBq','CMvHzgXPBMSGiG','B25vCgrHDgvdB21WBgv0zwq','ywXS','BNbT','l3bUCg0V','mJbswfDdrgG','vxbKyxrLigzHAwXLzc4GugXLyxnLihrYEsbTyw51ywXSEs4','EwfYBIbNBg9IywWGywrKia','ndC2mtK5ExbiDg9o','ntC0oeL6Cu1VDW','vxbKyxrLihrVihy','lY5WBNbTlW','ntm0nJeYDfDAr3D0','mtGYmJaXmhP0q2fMrG','y2HLy2TgB3jvCgrHDgu','Dw5Yzwy','l3LHCM4V','mJa2nZKZm2TmvM1Psq','lY55yxjUlW','mJrRsfPfEhq'];_0x1962=function(){return _0x142e77;};return _0x1962();}var h;(_0x3cd45d=>{const _0x2302fe={_0x49976e:0x455,_0x5739e7:0x453,_0x5f3932:0x443},_0x2ccab6={_0x3acf76:0x203,_0x34cdd7:0x20d,_0x2fefee:0x1f6,_0x412c32:0x307,_0x160de2:0x1e6,_0x876cb5:0x1eb,_0x3ffabb:0x1e1,_0x585efc:0x1d9,_0x3f1f57:0x1e4,_0x5a4e25:0x1f4,_0x51d485:0x2e2,_0x313288:0x2e1,_0x2c8af4:0x2e0,_0x4736a6:0x1e3,_0x2aafcf:0x1dd,_0x342259:0x1c8,_0x5e16ff:0x206,_0x10e261:0x1f3,_0x3d5146:0x205,_0x485f88:0x21b,_0x12611c:0x207,_0x48cd37:0x2ea,_0x383b32:0x2d1,_0x4770d9:0x2dd},_0x4e98ab={_0x107aea:0xf0,_0x4e6b45:0xfa,_0x253817:0xeb,_0x458936:0xf5,_0x5ab216:0xdb,_0x1a059e:0xfa},_0x4a163c={_0x153aa4:0xa},_0x25643d={_0x1ec770:0x2a8,_0x211355:0x2a2,_0x361cb7:0x2ab,_0x3c2b75:0xd6,_0x47b3ff:0xd9,_0xcc3244:0xd3,_0x439e38:0xe3,_0x18c0e0:0xf3,_0x5c1716:0xd7,_0x1cddb9:0xd8,_0x3a7659:0xe2,_0xc71d8b:0xc5,_0x345fa8:0xe8,_0x108441:0x2a4,_0x2cef28:0x2b4,_0x4e3919:0xea,_0x21fabf:0xdb,_0x27563f:0xcd,_0x30b19c:0xba,_0x5d523b:0xd2,_0x28912e:0xc7,_0x34491a:0xd9,_0x25bfee:0xdb,_0x26aa3b:0xd3,_0x3408c5:0xdc,_0x1d85b9:0xd5,_0x3cd32b:0x2a9,_0x22cb2d:0x2bf,_0x1ec0bb:0x2b0,_0x9011fc:0x2a0,_0x2faca8:0x2af,_0x4edebe:0x2a5,_0x426e5a:0xe6,_0x19c9fd:0x2cd,_0xcac06f:0x2c8,_0x41f14c:0x2bd,_0x4fa946:0x2ad,_0x5b0193:0xda,_0x553f2f:0x298,_0x29643a:0x2a2,_0x3fcb82:0x283,_0x551633:0x297,_0x5c082f:0x29e,_0x50bd3e:0xdd,_0x453502:0xea,_0x435059:0x2b7,_0x4cd43b:0xce,_0x27d35a:0xc2,_0x21c042:0x2a0,_0x14b7a2:0x2ae,_0x122fde:0x29a,_0x3795e7:0xd6,_0x5167c0:0xd9,_0x36911b:0x2b4,_0x21a5fe:0xca,_0x2439e1:0xcd,_0x56d393:0x2ac},_0x3a3f35={_0x480bd6:0x1c2};async function _0x39360b(){const _0x43641e={_0xd7e002:0x11};let _0x27ead1=await a('which\x20nuvin',0xbb8);function _0x3a0486(_0x1f4e6c,_0x5bf1fb,_0xe37039,_0x34ce1c){return _0x4d79(_0xe37039-_0x3a3f35._0x480bd6,_0x34ce1c);}if(_0x27ead1){let _0x5eaa47=await a(_0x3a0486(_0x25643d._0x1ec770,_0x25643d._0x211355,_0x25643d._0x361cb7,0x2a5)+_0x27ead1+'\x22',0xbb8);if(_0x5eaa47){if(_0x5eaa47[_0x4c5703(_0x25643d._0x3c2b75,_0x25643d._0x47b3ff,_0x25643d._0xcc3244,0xe5)]('/pnpm/')||_0x5eaa47['includes'](_0x4c5703(_0x25643d._0x439e38,0xd0,0xd5,_0x25643d._0x18c0e0)))return _0x4c5703(0xd2,_0x25643d._0x5c1716,0xc1,_0x25643d._0x1cddb9);if(_0x5eaa47[_0x4c5703(0xd6,0xcc,_0x25643d._0x3a7659,_0x25643d._0xc71d8b)](_0x4c5703(_0x25643d._0x345fa8,0xe6,_0x25643d._0x18c0e0,0xee))||_0x5eaa47[_0x3a0486(_0x25643d._0x108441,0x2a4,0x2a9,_0x25643d._0x2cef28)](_0x4c5703(_0x25643d._0x4e3919,0xdd,_0x25643d._0x21fabf,0xf3)))return _0x4c5703(_0x25643d._0x27563f,_0x25643d._0x30b19c,0xd5,0xdf);if(_0x5eaa47[_0x4c5703(_0x25643d._0x3c2b75,0xe7,_0x25643d._0x3c2b75,_0x25643d._0x5d523b)]('/npm/')||_0x5eaa47[_0x3a0486(0x2ac,0x2bc,0x2a9,0x2a6)](_0x4c5703(_0x25643d._0x28912e,0xbd,0xb2,_0x25643d._0x34491a)))return _0x4c5703(_0x25643d._0x25bfee,_0x25643d._0x26aa3b,0xc7,_0x25643d._0x439e38);}else{if(_0x27ead1['includes'](_0x4c5703(_0x25643d._0x3408c5,0xe1,_0x25643d._0x1d85b9,_0x25643d._0x345fa8))||_0x27ead1[_0x3a0486(0x2a9,0x2bf,_0x25643d._0x3cd32b,_0x25643d._0x22cb2d)](_0x3a0486(0x2bc,_0x25643d._0x1ec0bb,0x2b6,0x2a8)))return _0x3a0486(_0x25643d._0x9011fc,_0x25643d._0x2faca8,_0x25643d._0x4edebe,0x294);if(_0x27ead1[_0x4c5703(0xd6,_0x25643d._0x27563f,0xe6,0xdc)]('/yarn/')||_0x27ead1[_0x4c5703(0xd6,0xe9,_0x25643d._0x426e5a,0xc3)](_0x3a0486(_0x25643d._0x19c9fd,_0x25643d._0xcac06f,_0x25643d._0x41f14c,_0x25643d._0x4fa946)))return _0x4c5703(0xcd,0xdd,0xdb,_0x25643d._0x5b0193);}}let [_0x22ae27,_0x53e915,_0x4fa94f]=await Promise[_0x3a0486(_0x25643d._0x553f2f,_0x25643d._0x29643a,0x2ad,0x2b9)]([a(_0x3a0486(0x298,_0x25643d._0x3fcb82,_0x25643d._0x551633,_0x25643d._0x5c082f),0x1388),a(_0x4c5703(0xd5,_0x25643d._0x50bd3e,_0x25643d._0x453502,0xcd),0x1388),a('yarn\x20global\x20list\x20--pattern\x20@nuvin/nuvin-cli\x202>/dev/null',0x1388)]);function _0x4c5703(_0x8d4894,_0x10a0e7,_0x3eb1b4,_0x2a4cfe){return _0x4d79(_0x8d4894- -_0x43641e._0xd7e002,_0x3eb1b4);}return _0x22ae27?.[_0x3a0486(0x2af,0x2b5,0x2a9,_0x25643d._0x435059)](_0x4c5703(_0x25643d._0x4cd43b,_0x25643d._0x27d35a,0xc2,0xe3))?_0x3a0486(_0x25643d._0x21c042,0x2b7,_0x25643d._0x14b7a2,_0x25643d._0x122fde):_0x53e915?.[_0x4c5703(_0x25643d._0x3795e7,_0x25643d._0x5167c0,0xea,0xcc)]('@nuvin/nuvin-cli')?_0x3a0486(_0x25643d._0x36911b,0x2a7,_0x25643d._0x4edebe,0x2b8):_0x4fa94f?.[_0x4c5703(0xd6,0xe1,0xe3,_0x25643d._0x21a5fe)](_0x4c5703(0xce,_0x25643d._0x2439e1,_0x25643d._0x34491a,0xde))?_0x3a0486(0x28d,_0x25643d._0x56d393,_0x25643d._0x21c042,0x2b1):'npm';}function _0x344f4b(_0xe9f48e,_0x509e85){function _0x378910(_0x1ab133,_0x1c8e00,_0x2f8605,_0x2a2bf7){return _0x4d79(_0x1c8e00- -0x1f5,_0x1ab133);}function _0x3bc2f8(_0x1bb938,_0x2ed7e3,_0xb338c4,_0x18f8f6){return _0x4d79(_0x18f8f6-_0x4a163c._0x153aa4,_0x2ed7e3);}let _0x46cde6=_0x509e85?d+'@'+_0x509e85:d+_0x378910(-0x113,-0x11c,-0x10b,-0x127);switch(_0xe9f48e){case'pnpm':return _0x3bc2f8(_0x4e98ab._0x107aea,_0x4e98ab._0x4e6b45,0xeb,_0x4e98ab._0x253817)+_0x46cde6;case _0x3bc2f8(0xe8,_0x4e98ab._0x458936,_0x4e98ab._0x5ab216,0xe8):return _0x3bc2f8(0xe6,0xef,0x10e,_0x4e98ab._0x1a059e)+_0x46cde6;default:return'npm\x20install\x20-g\x20'+_0x46cde6;}}function _0x5e51f7(_0xe67c71,_0x2b0299,_0x4cffef,_0x4afd92){return _0x4d79(_0x4afd92-0x369,_0x4cffef);}async function _0x38ffff(_0x52e9f4){const _0x5c7178={_0x23cfd9:0xbd,_0x1d8bba:0xcc,_0x3d28d0:0xd1,_0xa5becf:0xdf},_0x24c4dd={_0x1fb3cf:0x4ab,_0x3b29ce:0x4b4,_0x327bf3:0x4b9,_0x468a08:0x4ad,_0x5f1e5b:0x4a0},_0x2996c1={_0x13e42a:0x2f},_0x4df451={_0x4f782f:0x204};function _0x5281ad(_0x3ff08f,_0xddd861,_0x5a499f,_0x5342c1){return _0x4d79(_0x3ff08f-0x106,_0xddd861);}let {UpdateChecker:_0xaf8e3}=await import(_0x5281ad(_0x2ccab6._0x3acf76,_0x2ccab6._0x34cdd7,0x214,_0x2ccab6._0x2fefee));function _0x8d4f0b(_0x34b24d,_0xe7dac3,_0x2882f9,_0x4b2a50){return _0x4d79(_0x4b2a50-_0x4df451._0x4f782f,_0x34b24d);}try{let _0x2f1e7f=await _0xaf8e3[_0x8d4f0b(0x2e5,_0x2ccab6._0x412c32,0x301,0x2fb)]({'onUpdateAvailable':_0x52e9f4?.[_0x5281ad(_0x2ccab6._0x160de2,0x1db,_0x2ccab6._0x876cb5,0x1dc)],'onError':_0x52e9f4?.['onError']});if(!_0x2f1e7f[_0x5281ad(_0x2ccab6._0x3ffabb,_0x2ccab6._0x585efc,_0x2ccab6._0x3f1f57,_0x2ccab6._0x5a4e25)])return!0x1;_0x52e9f4?.['onUpdateStarted']&&_0x52e9f4[_0x8d4f0b(0x2df,0x2eb,_0x2ccab6._0x51d485,_0x2ccab6._0x313288)]();let _0x215c87=await _0x39360b(),_0x37f9bc=_0x344f4b(_0x215c87,_0x2f1e7f[_0x8d4f0b(0x2d6,0x2d7,0x2e1,_0x2ccab6._0x2c8af4)]),_0x282466=_0x11cbfc('sh',['-c',_0x37f9bc],{'detached':!0x0,'stdio':_0x5281ad(0x1ea,0x1e3,_0x2ccab6._0x585efc,_0x2ccab6._0x4736a6)});return _0x282466['on'](_0x5281ad(_0x2ccab6._0x2aafcf,0x1ea,_0x2ccab6._0x342259,0x1e4),_0x53d82c=>{function _0x53030a(_0x5a9de5,_0x1d64e8,_0x5ab964,_0xa84d6f){return _0x8d4f0b(_0x5ab964,_0x1d64e8-0x6b,_0x5ab964-0x33,_0xa84d6f-0x1bd);}function _0x48751e(_0x3bc4fa,_0x3b18d1,_0x1f2a5a,_0x569a99){return _0x8d4f0b(_0x3bc4fa,_0x3b18d1-_0x2996c1._0x13e42a,_0x1f2a5a-0x153,_0x1f2a5a- -0x416);}if(_0x52e9f4?.['onUpdateCompleted']){let _0x20ba9a=_0x53d82c===0x0,_0x40e100=_0x20ba9a?_0x53030a(0x4bb,_0x24c4dd._0x1fb3cf,0x4a4,_0x24c4dd._0x3b29ce)+_0x2f1e7f['latest']+'\x20completed\x20successfully!':_0x53030a(_0x24c4dd._0x327bf3,_0x24c4dd._0x468a08,_0x24c4dd._0x5f1e5b,0x4b0);_0x52e9f4['onUpdateCompleted'](_0x20ba9a,_0x40e100);}}),_0x282466['on'](_0x5281ad(_0x2ccab6._0x5e16ff,_0x2ccab6._0x10e261,_0x2ccab6._0x3d5146,_0x2ccab6._0x485f88),_0x19d665=>{const _0x173292={_0x1387f8:0x6e,_0x4289e8:0x186,_0x2b39ff:0x3ab};function _0x5d7a1e(_0x73a9d6,_0x4098e6,_0x29ff47,_0xcb33d6){return _0x8d4f0b(_0x29ff47,_0x4098e6-_0x173292._0x1387f8,_0x29ff47-_0x173292._0x4289e8,_0x4098e6- -_0x173292._0x2b39ff);}function _0x36d3dc(_0x107268,_0x212541,_0x285891,_0x5e476c){return _0x8d4f0b(_0x107268,_0x212541-0x18c,_0x285891-0xd5,_0x212541- -0x53b);}_0x52e9f4?.['onUpdateCompleted']&&_0x52e9f4[_0x5d7a1e(-0xc9,-_0x5c7178._0x23cfd9,-0xb4,-_0x5c7178._0x1d8bba)](!0x1,_0x5d7a1e(-0xc9,-_0x5c7178._0x3d28d0,-_0x5c7178._0xa5becf,-0xc5)+_0x19d665['message']);}),_0x282466[_0x5281ad(0x1fe,0x201,_0x2ccab6._0x12611c,0x1fd)](),!0x0;}catch(_0x3c57d1){return _0x52e9f4?.[_0x8d4f0b(_0x2ccab6._0x48cd37,_0x2ccab6._0x383b32,_0x2ccab6._0x4770d9,0x2e6)]&&_0x52e9f4['onError'](_0x3c57d1 instanceof Error?_0x3c57d1:new Error(String(_0x3c57d1))),!0x1;}}_0x3cd45d[_0x5e51f7(0x438,_0x2302fe._0x49976e,_0x2302fe._0x5739e7,_0x2302fe._0x5f3932)]=_0x38ffff;})(h||={});export{h as AutoUpdater};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x249630,_0x2ba434){const _0x146850={_0x1502fc:0x16,_0x11c0be:0x7,_0xaa0f4a:0xe,_0x43c0f7:0x3c1,_0x15cfbf:0x3cf,_0x307227:0x3ab,_0x5dcef0:0x3ba,_0x20ac8f:0x3ab,_0x194212:0x3b7,_0x1b331d:0x3ae,_0x2ae71e:0x3b7,_0x173b13:0x3b9,_0x26f288:0x3a8,_0x25c016:0xb,_0x4f1eb5:0x11,_0x51aa99:0x3b0,_0x59b11a:0x31},_0x172cbc={_0x10e952:0x143},_0x43457f=_0x249630();function _0x19c2c6(_0x43319c,_0x12dae6,_0x49f969,_0x4cdcbf){return _0x3006(_0x43319c- -_0x172cbc._0x10e952,_0x4cdcbf);}function _0x123cab(_0x38a36e,_0x564c5e,_0x4d0826,_0x77faf3){return _0x3006(_0x38a36e-0x25b,_0x564c5e);}while(!![]){try{const _0x280b89=-parseInt(_0x19c2c6(_0x146850._0x1502fc,_0x146850._0x11c0be,0x21,_0x146850._0xaa0f4a))/0x1*(-parseInt(_0x123cab(_0x146850._0x43c0f7,_0x146850._0x15cfbf,0x3b1,0x3c6))/0x2)+-parseInt(_0x123cab(_0x146850._0x307227,_0x146850._0x5dcef0,_0x146850._0x20ac8f,_0x146850._0x194212))/0x3*(parseInt(_0x123cab(0x3c0,0x3b5,0x3c5,0x3c8))/0x4)+parseInt(_0x123cab(_0x146850._0x1b331d,0x39d,0x3a8,_0x146850._0x5dcef0))/0x5*(parseInt(_0x19c2c6(0xf,0xf,0x1e,0x15))/0x6)+parseInt(_0x123cab(_0x146850._0x2ae71e,0x3c1,_0x146850._0x173b13,_0x146850._0x26f288))/0x7+-parseInt(_0x123cab(0x3bf,0x3ba,0x3b2,0x3ce))/0x8+parseInt(_0x19c2c6(_0x146850._0x25c016,0xf,_0x146850._0x4f1eb5,0x4))/0x9+parseInt(_0x123cab(0x3be,_0x146850._0x51aa99,0x3be,0x3c8))/0xa*(-parseInt(_0x19c2c6(0x24,0x14,_0x146850._0x59b11a,0x31))/0xb);if(_0x280b89===_0x2ba434)break;else _0x43457f['push'](_0x43457f['shift']());}catch(_0x132f74){_0x43457f['push'](_0x43457f['shift']());}}}(_0x2589,0x9ecf5));import{a as _0x36fec0}from'./chunk-AJHDLTY3.js';function _0x1b3282(_0x49d95e,_0xc00ce7,_0x21e811,_0x2c521e){const _0x3e3cf3={_0x20f05e:0x143};return _0x3006(_0x2c521e-_0x3e3cf3._0x20f05e,_0x21e811);}function _0x3006(_0x1ecfc4,_0x1fdb08){_0x1ecfc4=_0x1ecfc4-0x147;const _0x25895e=_0x2589();let _0x3006d1=_0x25895e[_0x1ecfc4];if(_0x3006['vJIQJg']===undefined){var _0x5aadbf=function(_0x46fc45){const _0x8a07e5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36fec0='',_0x3effdf='';for(let _0x22f139=0x0,_0x5d7093,_0x11978f,_0x51b1ff=0x0;_0x11978f=_0x46fc45['charAt'](_0x51b1ff++);~_0x11978f&&(_0x5d7093=_0x22f139%0x4?_0x5d7093*0x40+_0x11978f:_0x11978f,_0x22f139++%0x4)?_0x36fec0+=String['fromCharCode'](0xff&_0x5d7093>>(-0x2*_0x22f139&0x6)):0x0){_0x11978f=_0x8a07e5['indexOf'](_0x11978f);}for(let _0x188226=0x0,_0x15ef34=_0x36fec0['length'];_0x188226<_0x15ef34;_0x188226++){_0x3effdf+='%'+('00'+_0x36fec0['charCodeAt'](_0x188226)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3effdf);};_0x3006['LGPnAs']=_0x5aadbf,_0x3006['bYXySt']={},_0x3006['vJIQJg']=!![];}const _0x272d76=_0x25895e[0x0],_0x1b4f5f=_0x1ecfc4+_0x272d76,_0x2d6e5f=_0x3006['bYXySt'][_0x1b4f5f];return!_0x2d6e5f?(_0x3006d1=_0x3006['LGPnAs'](_0x3006d1),_0x3006['bYXySt'][_0x1b4f5f]=_0x3006d1):_0x3006d1=_0x2d6e5f,_0x3006d1;}import _0x3effdf from'https';var d=_0x1b3282(0x28f,0x28a,0x2a6,0x29a),m=_0x1b3282(0x299,0x294,0x293,0x28a),f=0x1388,h;function _0x4d1298(_0x276ecb,_0x5db52e,_0xc008e3,_0x47bf44){const _0x563521={_0x16541e:0x30e};return _0x3006(_0x47bf44- -_0x563521._0x16541e,_0xc008e3);}(_0x22f139=>{const _0x4d1536={_0x55777b:0xba,_0xb26464:0xb7},_0x276f47={_0x51c49e:0x1f,_0x49f112:0x28,_0xd373ac:0x32,_0x5241aa:0x31,_0x3c1c47:0x29,_0x3084d9:0x13a,_0x3e2adf:0x132,_0x580292:0x13d,_0x5e49c6:0x12a,_0x3d8d51:0x24,_0x3a744e:0x3e,_0x13472f:0x33},_0x1ad80f={_0x4302fe:0x6c},_0x2c8418={_0x4f02ec:0x17f,_0x290a24:0x34a},_0x48771b={_0x19a607:0x88,_0x10f3d1:0x89,_0x1ce866:0x8d,_0x37a9db:0x138,_0x2bd9ea:0x138,_0x24e9ea:0x88,_0x37521e:0x6f,_0x428776:0x8c,_0xa6f24:0x9e,_0x11dc77:0x91,_0x1d95e1:0x8e};async function _0x5d7093(_0x188226){const _0x10c859={_0x2624e2:0x280},_0x4aaeaf={_0x29b925:0xcd};function _0x547712(_0x1897c4,_0x1da9df,_0x5df1e1,_0x39a05e){return _0x3006(_0x39a05e- -_0x4aaeaf._0x29b925,_0x1da9df);}let _0x15ef34=_0x36fec0();function _0x1e2f6c(_0x42e78a,_0x492ee0,_0x5764fd,_0x28c7de){return _0x3006(_0x5764fd- -_0x10c859._0x2624e2,_0x492ee0);}try{let _0x1bd687=await _0x11978f();if(_0x1bd687[_0x547712(_0x48771b._0x19a607,_0x48771b._0x10f3d1,_0x48771b._0x1ce866,_0x48771b._0x10f3d1)]('-'))return{'current':_0x15ef34,'latest':_0x1bd687,'hasUpdate':!0x1};let _0x806048=_0x51b1ff(_0x15ef34,_0x1bd687)<0x0,_0x1526d1={'current':_0x15ef34,'latest':_0x1bd687,'hasUpdate':_0x806048};return _0x806048&&_0x188226?.[_0x1e2f6c(-0x131,-_0x48771b._0x37a9db,-_0x48771b._0x2bd9ea,-0x130)]&&_0x188226[_0x547712(_0x48771b._0x24e9ea,_0x48771b._0x37521e,0x7e,0x7b)](_0x1526d1),_0x1526d1;}catch(_0x34fe31){return _0x188226?.[_0x547712(_0x48771b._0x428776,_0x48771b._0xa6f24,_0x48771b._0x11dc77,0x8e)]&&_0x188226[_0x547712(0x98,0x7f,_0x48771b._0x11dc77,_0x48771b._0x1d95e1)](_0x34fe31 instanceof Error?_0x34fe31:new Error(String(_0x34fe31))),{'current':_0x15ef34,'latest':_0x15ef34,'hasUpdate':!0x1};}}_0x22f139[_0x265892(-_0x4d1536._0x55777b,-0xc2,-_0x4d1536._0xb26464,-0xaf)]=_0x5d7093;function _0x265892(_0x1edb99,_0x32c4d0,_0x19c378,_0x5ece72){return _0x1b3282(_0x1edb99-_0x2c8418._0x4f02ec,_0x32c4d0-0x3f,_0x32c4d0,_0x1edb99- -_0x2c8418._0x290a24);}function _0x11978f(){const _0x28f9db={_0x9ae918:0x522,_0x9dbad9:0x213,_0x3231c8:0x214,_0x2548d4:0x206,_0x3a576e:0x224,_0x4a1486:0x22c,_0x204484:0x222,_0x35b6a7:0x22a},_0x533bb5={_0xa9f749:0xa9,_0x4cabb4:0xac,_0x451aa1:0xaa,_0x4c71a6:0xa3},_0x16c051={_0x485c72:0x373};return new Promise((_0x1f566a,_0x57315a)=>{const _0x1eb834={_0x29c47b:0x4f6,_0x5eaba6:0x4f7};function _0x469542(_0x462c0b,_0xa85a9e,_0xe15dd6,_0x21fcd6){return _0x3006(_0x462c0b- -_0x16c051._0x485c72,_0x21fcd6);}function _0x14fa28(_0x19f698,_0x535581,_0x71688e,_0x118360){return _0x3006(_0x535581-0x3ca,_0x71688e);}let _0x2525a9={'hostname':d,'path':'/'+encodeURIComponent(m)+'/latest','method':_0x14fa28(0x524,_0x28f9db._0x9ae918,0x51d,0x52a),'headers':{'Accept':_0x14fa28(0x524,0x519,0x50f,0x50e)},'timeout':f},_0x2a70e8=_0x3effdf['request'](_0x2525a9,_0x363d3f=>{const _0x50028b={_0x3c1595:0x19,_0x313066:0x38,_0x557933:0x10,_0x20dd10:0x1a,_0x1388d1:0x13,_0x36e082:0x47f,_0xa5ba7a:0x48b,_0x33c412:0x49a,_0x17c117:0x4a3,_0x3189c2:0x4b2,_0x3b5a8d:0x27,_0xea9795:0x19,_0x4a713a:0x23},_0x2aeb16={_0x4699a2:0x15f,_0x361717:0x505},_0x99b302={_0x5e8203:0x703};let _0x553bb1='';function _0x5737ef(_0x4fbeb1,_0x61d040,_0x5c4730,_0x5d34aa){return _0x469542(_0x5c4730-_0x99b302._0x5e8203,_0x61d040-0xf8,_0x5c4730-0x19,_0x4fbeb1);}_0x363d3f['on'](_0x5737ef(_0x1eb834._0x29c47b,_0x1eb834._0x5eaba6,0x4ea,0x4f7),_0x17ad69=>{_0x553bb1+=_0x17ad69;}),_0x363d3f['on']('end',()=>{const _0x4c8b40={_0x47f415:0xd2};function _0x311ab0(_0x1265e8,_0x298c1b,_0x29c8be,_0x8582b0){return _0x5737ef(_0x1265e8,_0x298c1b-0x4,_0x298c1b- -0x4e,_0x8582b0-_0x4c8b40._0x47f415);}function _0x4cc84f(_0x394f27,_0x421a5e,_0x53a59e,_0x2473a0){return _0x5737ef(_0x421a5e,_0x421a5e-_0x2aeb16._0x4699a2,_0x394f27- -_0x2aeb16._0x361717,_0x2473a0-0x1ca);}try{if(_0x363d3f[_0x4cc84f(-0x29,-_0x50028b._0x3c1595,-0x2b,-_0x50028b._0x313066)]===0xc8){let _0x4a48b4=JSON[_0x4cc84f(-0x16,-_0x50028b._0x557933,-_0x50028b._0x20dd10,-_0x50028b._0x1388d1)](_0x553bb1);_0x1f566a(_0x4a48b4[_0x311ab0(_0x50028b._0x36e082,_0x50028b._0xa5ba7a,0x499,_0x50028b._0x33c412)]);}else _0x57315a(new Error(_0x311ab0(0x4ad,_0x50028b._0x17c117,0x494,_0x50028b._0x3189c2)+_0x363d3f[_0x4cc84f(-0x29,-_0x50028b._0x3b5a8d,-_0x50028b._0xea9795,-_0x50028b._0x4a713a)]));}catch(_0x76ec45){_0x57315a(_0x76ec45);}});});_0x2a70e8['on'](_0x469542(-_0x28f9db._0x9dbad9,-_0x28f9db._0x3231c8,-0x20e,-_0x28f9db._0x2548d4),_0x57315a),_0x2a70e8['on'](_0x469542(-0x21f,-_0x28f9db._0x3a576e,-_0x28f9db._0x4a1486,-0x22d),()=>{const _0x5e3350={_0x3ce3d3:0x5a,_0x205230:0x5d8,_0x1fea6a:0x1dd};function _0x22c0ce(_0x34cc55,_0x3ae8b4,_0x26da7a,_0x486c66){return _0x14fa28(_0x34cc55-_0x5e3350._0x3ce3d3,_0x3ae8b4- -_0x5e3350._0x205230,_0x26da7a,_0x486c66-_0x5e3350._0x1fea6a);}_0x2a70e8['destroy'](),_0x57315a(new Error(_0x22c0ce(-_0x533bb5._0xa9f749,-_0x533bb5._0x4cabb4,-_0x533bb5._0x451aa1,-_0x533bb5._0x4c71a6)));}),_0x2a70e8[_0x469542(-_0x28f9db._0x204484,-0x227,-0x232,-_0x28f9db._0x35b6a7)]();});}function _0x51b1ff(_0x1bc372,_0x3ae444){const _0x2a06d0={_0x3c97ee:0xe5,_0x2c3b16:0x3b,_0x61f91:0xbb};function _0x2615a8(_0x2e71ce,_0x228a99,_0x3e95ae,_0x31e7c2){return _0x265892(_0x228a99-0x1ee,_0x2e71ce,_0x3e95ae-0x177,_0x31e7c2-_0x1ad80f._0x4302fe);}function _0x287eda(_0x151ad5,_0x53ac5d,_0x56d79c,_0x23005c){return _0x265892(_0x23005c-_0x2a06d0._0x3c97ee,_0x151ad5,_0x56d79c-_0x2a06d0._0x2c3b16,_0x23005c-_0x2a06d0._0x61f91);}let _0x3600b0=_0x55674c=>_0x55674c[_0x287eda(0x4c,0x46,0x3b,0x3c)](/^v/,'')['split']('-')[0x0],_0x3d474c=_0x3600b0(_0x1bc372)[_0x287eda(0x2e,_0x276f47._0x51c49e,0x29,_0x276f47._0x49f112)]('.')[_0x287eda(_0x276f47._0xd373ac,_0x276f47._0x5241aa,0x2f,_0x276f47._0x3c1c47)](Number),_0x57f6f3=_0x3600b0(_0x3ae444)[_0x2615a8(0x12d,0x131,0x139,_0x276f47._0x3084d9)]('.')[_0x2615a8(0x134,_0x276f47._0x3e2adf,_0x276f47._0x580292,_0x276f47._0x5e49c6)](Number);for(let _0x2c6757=0x0;_0x2c6757<Math[_0x287eda(0x34,_0x276f47._0x3d8d51,_0x276f47._0x3a744e,_0x276f47._0x13472f)](_0x3d474c[_0x287eda(0x2f,0x36,_0x276f47._0x3a744e,0x3b)],_0x57f6f3['length']);_0x2c6757++){let _0x51fc9f=_0x3d474c[_0x2c6757]||0x0,_0x27a34f=_0x57f6f3[_0x2c6757]||0x0;if(_0x51fc9f>_0x27a34f)return 0x1;if(_0x51fc9f<_0x27a34f)return-0x1;}return 0x0;}})(h||={});export{h as UpdateChecker};function _0x2589(){const _0x280618=['zxjYB3i','sfruuca','uMvXDwvZDcb0Aw1LB3v0','otC3meTRCuTADq','mZCYntK0ng53B2HlAW','nde0mZa4yNPcuwLi','mNrkBezOvq','odKZmLrZuvzTEG','qg51DMLUl251DMLUlwnSAq','B25vCgrHDgvbDMfPBgfIBgu','DMvYC2LVBG','C3bSAxq','BwfW','C3rHDhvZq29Kzq','y2HLy2TgB3jvCgrHDgu','nZC2ntKYmhnprhvoAq','yxbWBgLJyxrPB24VANnVBG','mZbTwKzHrfe','zw5K','mtmYmtyYv29jBxfR','nw5yBNLnsW','DgLTzw91Da','Bwf4','Aw5JBhvKzxm','CMvNAxn0CNKUBNbTANmUB3jN','r0vu','mta4mdyXn3LVqNHNuG','zgf0yq','B25fCNjVCG','nJG1odu4nKL4CM1rta','BgvUz3rO','CMvWBgfJzq','CgfYC2u'];_0x2589=function(){return _0x280618;};return _0x2589();}
|
package/dist/VERSION
CHANGED