@nuvin/nuvin-cli 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- function _0x55d9(){const _0x8ec9ba=['mZqWrfPIDuLr','ntu5otyWofjhCKvZtq','nZaYnLLVtKnJvq','mti2mZm3mZbNAgHwseO','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','rgvTBYbnB2rL','zxjYB3i','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','AgLZDg9YEvbHDgG','CM9Szq','ndq0mJeZnLr6q3rVva','mZC4mdeWnfPgquvAqq','BgvUz3rO','CgfYC2u','CMvHzezPBgu','y2XLyxi','ntvpuvP2yKS','odi1ndj5yMr2vha','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','ru5pru5u','EwvSBg93','CNvU','ChvZAa','CMvZB2X2zq','rxjYB3iGBg9HzgLUzYbKzw1VoIa','mtC1otiZmMHYyvHdwa','yxnZAxn0yw50','y29Kzq','C2LUz2XL','y2XP','Bg9N','mZzezxnotei','y29SDw1U','zxHPDa'];_0x55d9=function(){return _0x8ec9ba;};return _0x55d9();}(function(_0x3edcf7,_0x411b5e){const _0x22801d={_0x5e44ca:0x135,_0x32f879:0x152,_0x3ab72e:0x146,_0x307ad7:0x149,_0x19e0ea:0x2b6,_0x52f00f:0x2c5,_0x4ff4f3:0x2b9,_0x534854:0x15c,_0x5d9f94:0x166,_0x4d9e3e:0x156,_0x4b63c5:0x150,_0x3d84c4:0x145,_0x40391d:0x2b0,_0x226c32:0x2a0,_0x4d5929:0x2a5,_0x549566:0x14c,_0x1f8f10:0x147,_0x105c32:0x14b},_0xdd7f0e={_0xcfb1a0:0x4e},_0x1cf968={_0x2feee2:0x1bc},_0x4cea1b=_0x3edcf7();function _0x4c0df1(_0x2cc8ee,_0x40ac8e,_0x207cf3,_0x38a7b3){return _0x5bcc(_0x40ac8e-_0x1cf968._0x2feee2,_0x207cf3);}function _0xd399e3(_0x57f7c3,_0x5edeb7,_0x3a10ef,_0x3455f6){return _0x5bcc(_0x5edeb7-_0xdd7f0e._0xcfb1a0,_0x57f7c3);}while(!![]){try{const _0x585f87=parseInt(_0xd399e3(0x14d,0x144,0x143,_0x22801d._0x5e44ca))/0x1*(parseInt(_0xd399e3(_0x22801d._0x32f879,_0x22801d._0x3ab72e,_0x22801d._0x307ad7,0x141))/0x2)+parseInt(_0x4c0df1(_0x22801d._0x19e0ea,0x2bc,0x2af,0x2ad))/0x3+parseInt(_0x4c0df1(0x2c3,0x2bd,0x2ad,_0x22801d._0x52f00f))/0x4+parseInt(_0x4c0df1(_0x22801d._0x4ff4f3,0x2c2,0x2b8,0x2b5))/0x5*(parseInt(_0xd399e3(_0x22801d._0x534854,0x155,_0x22801d._0x5d9f94,_0x22801d._0x4d9e3e))/0x6)+-parseInt(_0xd399e3(_0x22801d._0x4b63c5,_0x22801d._0x3d84c4,_0x22801d._0x3ab72e,_0x22801d._0x307ad7))/0x7+-parseInt(_0x4c0df1(0x2a5,0x2a9,0x2a6,_0x22801d._0x40391d))/0x8*(parseInt(_0x4c0df1(_0x22801d._0x226c32,0x2af,_0x22801d._0x4d5929,0x2ba))/0x9)+-parseInt(_0xd399e3(_0x22801d._0x549566,_0x22801d._0x1f8f10,0x143,_0x22801d._0x105c32))/0xa;if(_0x585f87===_0x411b5e)break;else _0x4cea1b['push'](_0x4cea1b['shift']());}catch(_0x5d3762){_0x4cea1b['push'](_0x4cea1b['shift']());}}}(_0x55d9,0xca488));import{C as _0x37f5c5,E as _0xdd612f,I as _0xa6691f,U as _0xf5851c,i as _0x55e434,n as _0x2e6a97,w as _0x36b691,y as _0x374b8c}from'./chunk-AHCP6GFO.js';function _0x21b887(_0x3f71ac,_0x9c292d,_0x4e2b4c,_0x46bf41){return _0x5bcc(_0x9c292d- -0x24a,_0x46bf41);}import{d as _0x3528a9}from'./chunk-36SOPILP.js';import'./chunk-AJHDLTY3.js';import{useEffect as _0x5149c4}from'react';import{render as _0xbde4e3}from'ink';import{Box as _0x1cb2e8,Text as _0x28ac66,useApp as _0x401659}from'ink';import*as _0x1b200b from'fs/promises';import*as _0x365eb7 from'path';import{jsx as _0x5e9464,jsxs as _0x5814b5}from'react/jsx-runtime';function N({messages:_0x85e5e9,metadata:_0x46f961,messageCount:_0x28a352}){const _0x300878={_0x3b50ef:0x3e7,_0x44f1fe:0x3d2,_0x59971c:0x3d4,_0x55bec5:0x3d3,_0x3e11bf:0x3cc,_0x22c1be:0x3ed,_0x9a5c5b:0x3ef,_0x1aebe6:0x3e7,_0x1f7e0b:0x3e6},_0x394973={_0xff9620:0x2ff};let {exit:_0x4d2284}=_0x401659();function _0x284ed5(_0x28de1c,_0xb83f19,_0x157bf3,_0x27243c){return _0x5bcc(_0x27243c-0x2de,_0x157bf3);}function _0x15a7da(_0x37a98e,_0x33656f,_0xc0feda,_0x2b0c6b){return _0x5bcc(_0x2b0c6b-_0x394973._0xff9620,_0x33656f);}return _0x5149c4(()=>{let _0x1b7e74=setTimeout(()=>{_0x4d2284();},0x12c);return()=>clearTimeout(_0x1b7e74);},[_0x4d2284]),_0x5814b5(_0x1cb2e8,{'flexDirection':_0x15a7da(0x3fb,0x3f0,_0x300878._0x3b50ef,0x3f3),'height':'100%','width':'100%','children':[_0x5e9464(_0x374b8c,{'messages':_0x85e5e9},'demo'),_0x5e9464(_0xa6691f,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x5e9464(_0xdd612f,{'status':_0x15a7da(0x3fb,0x402,0x3f9,0x3fa),'lastMetadata':_0x46f961,'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':'insert','workingDirectory':process['cwd']()}),_0x5e9464(_0x1cb2e8,{'paddingX':0x1,'borderStyle':_0x284ed5(_0x300878._0x44f1fe,_0x300878._0x59971c,0x3be,0x3ce),'borderColor':_0x284ed5(0x3c8,_0x300878._0x55bec5,_0x300878._0x3e11bf,0x3c6),'marginTop':-0x1,'children':_0x5814b5(_0x28ac66,{'color':_0x15a7da(0x3dc,_0x300878._0x22c1be,_0x300878._0x9a5c5b,_0x300878._0x1aebe6),'children':[_0x284ed5(0x3e2,0x3f6,0x3d7,_0x300878._0x1f7e0b),_0x28a352,'\x20messages\x20-\x20Auto-exiting\x20in\x203s...']})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function S({messages:_0xabf3cb,metadata:_0xfe71cc,messageCount:_0x190e49}){function _0x88ea9d(_0x2cd201,_0x25016d,_0x41dd39,_0x468b27){return _0x5bcc(_0x25016d-0x330,_0x41dd39);}return _0x5e9464(_0x36b691,{'children':_0x5e9464(_0x37f5c5,{'initialConfig':b,'children':_0x5e9464(_0x2e6a97,{'children':_0x5e9464(_0x55e434,{'requireToolApproval':!0x1,'onError':_0x244700=>console[_0x88ea9d(0x42c,0x42c,0x42b,0x42a)](_0x244700),'children':_0x5e9464(_0xf5851c,{'children':_0x5e9464(N,{'messages':_0xabf3cb,'metadata':_0xfe71cc,'messageCount':_0x190e49})})})})})});}function _0x5bcc(_0x8bab20,_0x56b98b){const _0x55d97a=_0x55d9();return _0x5bcc=function(_0x5bcc27,_0x941e00){_0x5bcc27=_0x5bcc27-0xe8;let _0x515055=_0x55d97a[_0x5bcc27];if(_0x5bcc['lCEMjl']===undefined){var _0x5d0a2a=function(_0x37f5c5){const _0xdd612f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa6691f='',_0xf5851c='';for(let _0x55e434=0x0,_0x2e6a97,_0x36b691,_0x374b8c=0x0;_0x36b691=_0x37f5c5['charAt'](_0x374b8c++);~_0x36b691&&(_0x2e6a97=_0x55e434%0x4?_0x2e6a97*0x40+_0x36b691:_0x36b691,_0x55e434++%0x4)?_0xa6691f+=String['fromCharCode'](0xff&_0x2e6a97>>(-0x2*_0x55e434&0x6)):0x0){_0x36b691=_0xdd612f['indexOf'](_0x36b691);}for(let _0x3528a9=0x0,_0x5149c4=_0xa6691f['length'];_0x3528a9<_0x5149c4;_0x3528a9++){_0xf5851c+='%'+('00'+_0xa6691f['charCodeAt'](_0x3528a9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xf5851c);};_0x5bcc['IEjoOF']=_0x5d0a2a,_0x8bab20=arguments,_0x5bcc['lCEMjl']=!![];}const _0x23acb0=_0x55d97a[0x0],_0x169990=_0x5bcc27+_0x23acb0,_0x51fd5b=_0x8bab20[_0x169990];return!_0x51fd5b?(_0x515055=_0x5bcc['IEjoOF'](_0x515055),_0x8bab20[_0x169990]=_0x515055):_0x515055=_0x51fd5b,_0x515055;},_0x5bcc(_0x8bab20,_0x56b98b);}var M=class{constructor(_0x25d69d){const _0x3d9199={_0x13d9df:0x369,_0x55c49e:0x35d};function _0x5e4e6f(_0x8e591c,_0x2eda81,_0x4e490a,_0x39f6ce){return _0x5bcc(_0x39f6ce-0x25f,_0x8e591c);}this[_0x5e4e6f(_0x3d9199._0x13d9df,0x35e,0x36d,_0x3d9199._0x55c49e)]=_0x25d69d;}async[_0x21b887(-0x160,-0x161,-0x15b,-0x152)](){const _0x3bd296={_0x5b5738:0x1f2,_0x569e6a:0x120,_0x3c5169:0x11d,_0x4a4e32:0x10f,_0x23ccdf:0x1fc,_0x348dc8:0x201,_0xc9a75:0x1ee,_0x401dd5:0x11d,_0x54cacc:0x112,_0x2f9aab:0x1e9,_0x2abc82:0x1ed,_0x1081da:0x1dc,_0x354165:0x119,_0x25c3d2:0x126,_0x5bcb4a:0x120,_0x39eaa9:0x124,_0x1616d2:0x116,_0x143fa7:0x12a,_0x4962e3:0x130,_0x5dc439:0x12b,_0x28643f:0x11b,_0x2a4176:0x11e,_0x1c4a44:0x113,_0x299424:0x108,_0x1b2a94:0x123,_0x4038b3:0x127,_0xd22a10:0x1fd,_0x333b70:0x1e4,_0xb50c91:0x1f6,_0xab8cd9:0x1f5,_0x2ab534:0x1ea,_0x469b4d:0x1f0,_0x439975:0x205,_0x17f93e:0x129,_0x4defe9:0x1e2,_0x361ff2:0x1da,_0x498e51:0x1ed,_0x12a3bb:0x1ec,_0x4b46e8:0x1f3,_0x1ac3c1:0x1f8},_0x5327ac={_0x10be0e:0x27},_0x57478c={_0x246ce1:0xa9,_0x1df11d:0x174};function _0x5650b1(_0x3bb03d,_0x4b9535,_0x370a5e,_0x6f6dc0){return _0x21b887(_0x3bb03d-_0x57478c._0x246ce1,_0x3bb03d-0x342,_0x370a5e-_0x57478c._0x1df11d,_0x6f6dc0);}function _0xfdb227(_0xfb0535,_0x17b7bd,_0x3b229d,_0x40b65b){return _0x21b887(_0xfb0535-_0x5327ac._0x10be0e,_0x40b65b-0x35,_0x3b229d-0x8e,_0x17b7bd);}try{let _0x4cd1e3=_0x365eb7[_0x5650b1(0x1e3,0x1ee,0x1d8,_0x3bd296._0x5b5738)](this[_0xfdb227(-_0x3bd296._0x569e6a,-_0x3bd296._0x3c5169,-_0x3bd296._0x4a4e32,-0x117)]),_0x30754f=await _0x1b200b[_0x5650b1(_0x3bd296._0x23ccdf,_0x3bd296._0x348dc8,0x1ec,_0x3bd296._0xc9a75)](_0x4cd1e3,'utf-8'),_0x48f903=JSON[_0xfdb227(-_0x3bd296._0x401dd5,-0x107,-0x11d,-_0x3bd296._0x54cacc)](_0x30754f);(!_0x48f903[_0x5650b1(_0x3bd296._0x2f9aab,0x1f2,_0x3bd296._0x2abc82,_0x3bd296._0x1081da)]||_0x48f903['cli'][_0xfdb227(-0x105,-0x10e,-_0x3bd296._0x354165,-0x113)]===0x0)&&(console[_0xfdb227(-_0x3bd296._0x25c3d2,-_0x3bd296._0x401dd5,-_0x3bd296._0x5bcb4a,-0x119)](_0x5650b1(_0x3bd296._0x5b5738,0x1ef,0x1eb,0x1e1)),process[_0xfdb227(-0x11b,-0x12a,-_0x3bd296._0x39eaa9,-_0x3bd296._0x5bcb4a)](0x1));let _0x42b250=_0x48f903[_0xfdb227(-0x122,-_0x3bd296._0x1616d2,-_0x3bd296._0x143fa7,-0x124)],_0x1cea46=[];for(let _0x53804b of _0x42b250)_0x1cea46[_0xfdb227(-0x124,-_0x3bd296._0x4962e3,-0x12a,-_0x3bd296._0x5dc439)](..._0x3528a9(_0x53804b));let _0x233809=null;for(let _0x3c7e9d=_0x42b250[_0xfdb227(-0x124,-_0x3bd296._0x28643f,-_0x3bd296._0x2a4176,-_0x3bd296._0x1c4a44)]-0x1;_0x3c7e9d>=0x0;_0x3c7e9d--)if(_0x42b250[_0x3c7e9d][_0xfdb227(-0x110,-_0x3bd296._0x299424,-_0x3bd296._0x1b2a94,-0x116)]===_0xfdb227(-0x123,-0x11d,-0x11d,-_0x3bd296._0x4038b3)){_0x233809={'totalTokens':0x0};break;}console[_0x5650b1(0x1fd,0x1f3,0x1f5,_0x3bd296._0xd22a10)](),console[_0xfdb227(-0x120,-0x120,-_0x3bd296._0x1c4a44,-0x123)]('\x1bc');let {waitUntilExit:_0x391c3d}=_0xbde4e3(_0x5e9464(S,{'messages':_0x1cea46,'metadata':_0x233809,'messageCount':_0x42b250[_0x5650b1(0x1fa,_0x3bd296._0xd22a10,0x1eb,0x1f3)]}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x391c3d();}catch(_0x462c24){if(_0x462c24[_0x5650b1(0x1e7,_0x3bd296._0x333b70,0x1d9,0x1ea)]===_0x5650b1(0x201,0x1f4,0x1fb,0x1fb))console[_0x5650b1(0x1f4,0x1fe,_0x3bd296._0xb50c91,0x1ff)](_0x5650b1(_0x3bd296._0xab8cd9,_0x3bd296._0x5b5738,0x1eb,0x1ea)+this[_0x5650b1(0x1f6,_0x3bd296._0x2ab534,0x1e9,0x1f7)]);else{if(_0x462c24 instanceof SyntaxError)console[_0x5650b1(0x1f4,0x1f4,_0x3bd296._0x469b4d,0x204)]('Error:\x20Invalid\x20JSON\x20in\x20history\x20file:\x20'+this[_0x5650b1(0x1f6,0x1f8,_0x3bd296._0xb50c91,_0x3bd296._0x439975)]);else{let _0x6a9be1=_0x462c24 instanceof Error?_0x462c24['message']:String(_0x462c24);console[_0xfdb227(-0x117,-0x11a,-_0x3bd296._0x17f93e,-_0x3bd296._0x354165)](_0x5650b1(_0x3bd296._0x333b70,_0x3bd296._0x4defe9,_0x3bd296._0x361ff2,0x1d6)+_0x6a9be1);}}process[_0x5650b1(_0x3bd296._0x498e51,_0x3bd296._0x12a3bb,_0x3bd296._0x4b46e8,_0x3bd296._0x1ac3c1)](0x1);}}};export{M as DemoMode};
@@ -1 +0,0 @@
1
- (function(_0x352884,_0x5bd75b){var _0x39e378={_0x54d033:0xd3,_0x42b394:0xd2,_0x3cc9e6:0x498,_0x46dc9b:0x499,_0x11e956:0x493,_0x38137f:0xcb,_0x40b70c:0xce,_0x4e6ef6:0xd1,_0x1c2d7a:0xcc,_0x49374c:0xc9,_0x4c0cbe:0x496,_0x57856d:0x498,_0x46d4b4:0xd4,_0x5e9c61:0xd1,_0x2f68ec:0x49a,_0x1dff6e:0x49e,_0x386ac2:0x490,_0x530c24:0x497,_0xa300f0:0xca},_0x222270=_0x352884();function _0x153a15(_0x3c555a,_0x4b039e,_0x30db85,_0x209362){return _0x26af(_0x3c555a-0x321,_0x30db85);}function _0x4504cb(_0x26cffd,_0x5d25a5,_0x4d936a,_0x3a8d0c){return _0x26af(_0x5d25a5- -0xa7,_0x4d936a);}while(!![]){try{var _0x4416f8=-parseInt(_0x4504cb(0xd8,_0x39e378._0x54d033,_0x39e378._0x42b394,0xd3))/0x1*(-parseInt(_0x153a15(_0x39e378._0x3cc9e6,_0x39e378._0x46dc9b,_0x39e378._0x11e956,_0x39e378._0x3cc9e6))/0x2)+parseInt(_0x4504cb(0xc9,0xcb,_0x39e378._0x38137f,0xcd))/0x3+parseInt(_0x4504cb(0xcc,0xcd,_0x39e378._0x40b70c,_0x39e378._0x4e6ef6))/0x4+parseInt(_0x4504cb(0xce,_0x39e378._0x40b70c,_0x39e378._0x1c2d7a,_0x39e378._0x49374c))/0x5*(-parseInt(_0x153a15(0x494,0x498,0x491,_0x39e378._0x4c0cbe))/0x6)+-parseInt(_0x153a15(0x499,0x496,_0x39e378._0x57856d,0x497))/0x7*(parseInt(_0x4504cb(0xce,_0x39e378._0x46d4b4,_0x39e378._0x5e9c61,0xd8))/0x8)+-parseInt(_0x153a15(_0x39e378._0x2f68ec,0x49b,0x49f,_0x39e378._0x1dff6e))/0x9*(-parseInt(_0x153a15(0x492,_0x39e378._0x386ac2,_0x39e378._0x530c24,0x498))/0xa)+-parseInt(_0x4504cb(_0x39e378._0xa300f0,0xcf,0xca,0xd1))/0xb;if(_0x4416f8===_0x5bd75b)break;else _0x222270['push'](_0x222270['shift']());}catch(_0x2b8c34){_0x222270['push'](_0x222270['shift']());}}}(_0x5eb3,0x613a2));function _0x5eb3(){var _0x5990b3=['mtm5otGWtu1eAvPk','mtK5mtrtqMzLA3y','otGWnZC2y2rlyK1r','ndeWEMfSBvLv','mZy2mJKYm29zwMnJDW','nK9jyNLyAq','mteYn0rPEKXhDG','mJa3Aejby2nc','ndi1nJLmCM90ChG','mta5nNvWseH2EG','mJyZndmWyunuEwHq'];_0x5eb3=function(){return _0x5990b3;};return _0x5eb3();}function _0x26af(_0x127187,_0x2723dd){var _0x5eb372=_0x5eb3();return _0x26af=function(_0x26af83,_0x1bdb76){_0x26af83=_0x26af83-0x171;var _0x3f0a35=_0x5eb372[_0x26af83];if(_0x26af['aEixlq']===undefined){var _0x2ec41b=function(_0x1f9bfa){var _0x37554d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x327b4e='',_0x3e5dc0='';for(var _0x1f6589=0x0,_0x2e5e3d,_0x53f542,_0x39615d=0x0;_0x53f542=_0x1f9bfa['charAt'](_0x39615d++);~_0x53f542&&(_0x2e5e3d=_0x1f6589%0x4?_0x2e5e3d*0x40+_0x53f542:_0x53f542,_0x1f6589++%0x4)?_0x327b4e+=String['fromCharCode'](0xff&_0x2e5e3d>>(-0x2*_0x1f6589&0x6)):0x0){_0x53f542=_0x37554d['indexOf'](_0x53f542);}for(var _0x12d70d=0x0,_0xdac66d=_0x327b4e['length'];_0x12d70d<_0xdac66d;_0x12d70d++){_0x3e5dc0+='%'+('00'+_0x327b4e['charCodeAt'](_0x12d70d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3e5dc0);};_0x26af['unCwpa']=_0x2ec41b,_0x127187=arguments,_0x26af['aEixlq']=!![];}var _0x22994a=_0x5eb372[0x0],_0x42be17=_0x26af83+_0x22994a,_0x222776=_0x127187[_0x42be17];return!_0x222776?(_0x3f0a35=_0x26af['unCwpa'](_0x3f0a35),_0x127187[_0x42be17]=_0x3f0a35):_0x3f0a35=_0x222776,_0x3f0a35;},_0x26af(_0x127187,_0x2723dd);}import{a,b,c,d}from'./chunk-36SOPILP.js';export{a as flattenError,b as flattenObject,d as processMessageToUILines,c as renderToolCall};
@@ -1 +0,0 @@
1
- function _0x1d039d(_0x33279b,_0x13c019,_0x30a7cc,_0x32aa0d){return _0x4d39(_0x32aa0d- -0x27e,_0x33279b);}(function(_0x133853,_0x1b5268){const _0x3f4297={_0x4094e4:0x25e,_0x5ca689:0xe0,_0x34dcd0:0xe8,_0x250425:0x272,_0x4b972d:0x268,_0x3f586a:0x281,_0x1d007f:0x27b,_0x22cb96:0x277,_0x414082:0x27b,_0x495a63:0x100,_0x1dfb94:0x279,_0x59e19b:0x27c,_0x1549d7:0x107,_0x2b8f78:0x272,_0x58e318:0x25d,_0x1484ac:0xdb,_0x581cb4:0xdb},_0x37e1b9={_0x2150a3:0xe9};function _0x5ba084(_0x385b6b,_0x47fcc3,_0x3fd36e,_0x7899cc){return _0x4d39(_0x47fcc3-_0x37e1b9._0x2150a3,_0x7899cc);}const _0x504e2c=_0x133853();function _0x344725(_0xe2bbfa,_0x4ec596,_0x43f0a4,_0x15fe40){return _0x4d39(_0xe2bbfa- -0x94,_0x43f0a4);}while(!![]){try{const _0x195332=parseInt(_0x5ba084(0x25f,0x268,_0x3f4297._0x4094e4,0x26b))/0x1+-parseInt(_0x344725(0xe6,_0x3f4297._0x5ca689,0xf2,_0x3f4297._0x34dcd0))/0x2+parseInt(_0x5ba084(0x26f,_0x3f4297._0x250425,_0x3f4297._0x4b972d,_0x3f4297._0x3f586a))/0x3*(-parseInt(_0x5ba084(_0x3f4297._0x1d007f,_0x3f4297._0x22cb96,_0x3f4297._0x414082,0x279))/0x4)+-parseInt(_0x344725(0xfe,_0x3f4297._0x495a63,0xef,0x105))/0x5+parseInt(_0x344725(0x101,0x109,0x10b,0x106))/0x6*(-parseInt(_0x5ba084(0x26d,_0x3f4297._0x1dfb94,0x276,_0x3f4297._0x59e19b))/0x7)+parseInt(_0x344725(0xfd,0xec,_0x3f4297._0x1549d7,0xf6))/0x8+parseInt(_0x5ba084(_0x3f4297._0x2b8f78,0x269,_0x3f4297._0x58e318,_0x3f4297._0x4094e4))/0x9*(parseInt(_0x344725(0xe8,_0x3f4297._0x1484ac,0xe5,_0x3f4297._0x581cb4))/0xa);if(_0x195332===_0x1b5268)break;else _0x504e2c['push'](_0x504e2c['shift']());}catch(_0x5d66cb){_0x504e2c['push'](_0x504e2c['shift']());}}}(_0x2a8f,0xcd154));import{a as _0x189ba9}from'./chunk-AJHDLTY3.js';function _0x3bc91c(_0x5c11c6,_0x3785ea,_0x181ced,_0x53e9f9){return _0x4d39(_0x3785ea-0x345,_0x5c11c6);}import _0x2cbe19 from'https';var m=class i{static{this[_0x1d039d(-0xe5,-0xf9,-0xf1,-0xf2)]='registry.npmjs.org';}static{this[_0x1d039d(-0xf5,-0x100,-0x100,-0xf9)]=_0x3bc91c(0x4c0,0x4cb,0x4d3,0x4cd);}static{this[_0x1d039d(-0xe9,-0xec,-0xe5,-0xef)]=0x1388;}static async[_0x1d039d(-0x103,-0x101,-0xff,-0xfc)](){const _0x4bf809={_0x5554b0:0x56,_0x55b59a:0x60,_0x4b7bf3:0x6d},_0x3478ad={_0x20d156:0x533,_0x58d0de:0x36,_0x172b7f:0xe1},_0x52019a={_0x5f0311:0x5e9,_0x290dcd:0x1ab};function _0xe5bd2e(_0x4b3853,_0xef4c90,_0x196a1b,_0x224b5f){return _0x3bc91c(_0x224b5f,_0x196a1b- -_0x52019a._0x5f0311,_0x196a1b-_0x52019a._0x290dcd,_0x224b5f-0x1ec);}let _0x2bb096=_0x189ba9();function _0x16f834(_0x4bdf0c,_0xd0830d,_0x55d637,_0x44fc45){return _0x3bc91c(_0x44fc45,_0xd0830d- -_0x3478ad._0x20d156,_0x55d637-_0x3478ad._0x58d0de,_0x44fc45-_0x3478ad._0x172b7f);}try{let _0xc8c141=await i[_0x16f834(-_0x4bf809._0x5554b0,-0x5b,-0x5d,-_0x4bf809._0x5554b0)](),_0x18b3bb=i[_0x16f834(-_0x4bf809._0x55b59a,-_0x4bf809._0x4b7bf3,-0x7c,-0x78)](_0x2bb096,_0xc8c141)<=0x0;return{'current':_0x2bb096,'latest':_0xc8c141,'hasUpdate':_0x18b3bb};}catch{return{'current':_0x2bb096,'latest':_0x2bb096,'hasUpdate':!0x1};}}static[_0x3bc91c(0x4d8,0x4d8,0x4e2,0x4de)](){const _0x5be7e2={_0x2fb2b0:0x5f,_0x49f586:0x191,_0x1ec364:0x172,_0x3925e1:0x6f,_0x4418f0:0x77,_0x5421e7:0x82,_0xa2a709:0x16c,_0x351030:0x5b,_0x1af849:0x179,_0x192ff9:0x16a,_0x18e332:0x17a},_0x477cf2={_0x3ab955:0x1cf,_0x51da4d:0x1d6},_0x157d77={_0x30a4f6:0x54,_0x244e38:0x1a,_0x2e8e44:0x34,_0x4f6f96:0x26};return new Promise((_0x35d410,_0x35decf)=>{const _0x3e1f90={_0x32b205:0x40,_0x15d392:0x1bb},_0x2982c5={_0x38422f:0x1c2,_0x4a71f0:0x154,_0x8db6c8:0x101},_0x394278={_0x585f05:0x149};function _0x23da9c(_0xdff393,_0x174eb0,_0x256b0a,_0x358851){return _0x4d39(_0x256b0a- -0x1f2,_0xdff393);}function _0x43657b(_0x160c23,_0x4b611d,_0x377000,_0x3570bf){return _0x4d39(_0x377000- -0xd,_0x160c23);}let _0x4388b8={'hostname':i[_0x23da9c(-_0x5be7e2._0x2fb2b0,-0x55,-0x66,-0x5a)],'path':'/'+encodeURIComponent(i['PACKAGE_NAME'])+'/latest','method':_0x43657b(_0x5be7e2._0x49f586,0x183,0x180,_0x5be7e2._0x1ec364),'headers':{'Accept':'application/json'},'timeout':i['TIMEOUT_MS']},_0x59b47a=_0x2cbe19[_0x23da9c(-_0x5be7e2._0x3925e1,-0x6e,-_0x5be7e2._0x4418f0,-_0x5be7e2._0x5421e7)](_0x4388b8,_0x1b6242=>{const _0x4d11be={_0x24db86:0x218,_0x124706:0x1f8,_0x1ed98b:0x1eb,_0x33e512:0x1ed,_0x1508d7:0x1fb,_0x142bb3:0x207,_0x4fcf1:0x1fd,_0x45e69f:0x209,_0xb7a6ba:0x216},_0x468ee5={_0x222eca:0x1b3,_0x5c1d9d:0x5b};function _0x57cd5c(_0xe9f5fe,_0x29ae4e,_0x83c542,_0xcff98e){return _0x43657b(_0x29ae4e,_0x29ae4e-0x106,_0x83c542- -0x1d8,_0xcff98e-_0x394278._0x585f05);}let _0x5d6972='';function _0x460534(_0x493ed8,_0x2574f9,_0x4edb51,_0x480824){return _0x43657b(_0x493ed8,_0x2574f9-_0x2982c5._0x38422f,_0x480824- -_0x2982c5._0x4a71f0,_0x480824-_0x2982c5._0x8db6c8);}_0x1b6242['on'](_0x57cd5c(-0x5a,-_0x157d77._0x30a4f6,-0x4f,-0x57),_0x5a34cb=>{_0x5d6972+=_0x5a34cb;}),_0x1b6242['on'](_0x460534(_0x157d77._0x244e38,0x22,_0x157d77._0x2e8e44,_0x157d77._0x4f6f96),()=>{const _0x4840bc={_0x4649f1:0x112,_0x43a485:0xf0,_0xa25011:0x1d4};function _0x1fd44c(_0x24d403,_0x5aee23,_0x307409,_0x46ef17){return _0x57cd5c(_0x24d403-0x1a9,_0x46ef17,_0x5aee23- -_0x468ee5._0x222eca,_0x46ef17-_0x468ee5._0x5c1d9d);}function _0x29b7a9(_0x47930e,_0x3905bb,_0x3774a8,_0x5a81f7){return _0x460534(_0x5a81f7,_0x3905bb-_0x4840bc._0x4649f1,_0x3774a8-_0x4840bc._0x43a485,_0x3774a8-_0x4840bc._0xa25011);}try{if(_0x1b6242[_0x1fd44c(-_0x4d11be._0x24db86,-0x20d,-0x213,-0x206)]===0xc8){let _0x64c256=JSON[_0x29b7a9(_0x4d11be._0x124706,0x1ef,_0x4d11be._0x1ed98b,0x1e0)](_0x5d6972);_0x35d410(_0x64c256[_0x29b7a9(0x1ed,_0x4d11be._0x33e512,0x1fb,_0x4d11be._0x1508d7)]);}else _0x35decf(new Error(_0x29b7a9(_0x4d11be._0x142bb3,0x1f5,_0x4d11be._0x4fcf1,0x1f8)+_0x1b6242[_0x1fd44c(-_0x4d11be._0x45e69f,-0x20d,-0x21b,-_0x4d11be._0xb7a6ba)]));}catch(_0x4e8ae5){_0x35decf(_0x4e8ae5);}});});_0x59b47a['on'](_0x43657b(0x15f,0x15c,_0x5be7e2._0xa2a709,0x167),_0x35decf),_0x59b47a['on'](_0x23da9c(-0x4c,-0x4c,-_0x5be7e2._0x351030,-0x5f),()=>{function _0x57f720(_0x5a3380,_0x1b472a,_0x3de337,_0x5dd79c){return _0x43657b(_0x1b472a,_0x1b472a-_0x3e1f90._0x32b205,_0x5a3380-0x48,_0x5dd79c-_0x3e1f90._0x15d392);}_0x59b47a['destroy'](),_0x35decf(new Error(_0x57f720(_0x477cf2._0x3ab955,0x1df,0x1d8,_0x477cf2._0x51da4d)));}),_0x59b47a[_0x43657b(_0x5be7e2._0x1af849,_0x5be7e2._0x192ff9,_0x5be7e2._0x18e332,0x177)]();});}static[_0x3bc91c(0x4c2,0x4c6,0x4b6,0x4d3)](_0x458591,_0x1f0e2d){const _0xfc6911={_0x2fb791:0x165,_0x29209c:0x184,_0x3a24f9:0x184,_0x4b8ecb:0x18e,_0x1a710a:0x184,_0x5022ad:0x170,_0x330d3e:0x179,_0x59d790:0x174,_0x560adc:0x1e6,_0xcaa68:0x193,_0x617f2b:0x17c,_0x29f6c8:0x189,_0x4117d1:0x181,_0x3da0d6:0x197,_0x29be2c:0x188},_0x216029={_0x5874f0:0x6b6};function _0x44f7e7(_0x49659b,_0x1d2025,_0x915b10,_0xd11b0f){return _0x3bc91c(_0x915b10,_0xd11b0f- -0x651,_0x915b10-0x7f,_0xd11b0f-0xe8);}function _0x43032a(_0x44e80b,_0x7236b2,_0x2e1c58,_0x599cda){return _0x3bc91c(_0x7236b2,_0x599cda- -_0x216029._0x5874f0,_0x2e1c58-0x1a6,_0x599cda-0x2d);}let _0x5e1ce6=_0xe965d6=>_0xe965d6[_0x43032a(-0x1f8,-0x1e4,-0x1ec,-0x1f4)](/^v/,'')[_0x43032a(-0x1ca,-0x1cb,-0x1e1,-0x1d9)]('-')[0x0],_0x55e6a8=_0x5e1ce6(_0x458591)[_0x44f7e7(-_0xfc6911._0x2fb791,-0x16d,-_0xfc6911._0x29209c,-0x174)]('.')[_0x44f7e7(-0x196,-0x197,-_0xfc6911._0x3a24f9,-_0xfc6911._0x4b8ecb)](Number),_0x262923=_0x5e1ce6(_0x1f0e2d)[_0x44f7e7(-_0xfc6911._0x1a710a,-_0xfc6911._0x5022ad,-_0xfc6911._0x330d3e,-_0xfc6911._0x59d790)]('.')[_0x43032a(-0x1f9,-0x1f0,-_0xfc6911._0x560adc,-0x1f3)](Number);for(let _0x3337aa=0x0;_0x3337aa<Math[_0x44f7e7(-_0xfc6911._0xcaa68,-_0xfc6911._0x617f2b,-0x195,-_0xfc6911._0x29f6c8)](_0x55e6a8[_0x44f7e7(-_0xfc6911._0x4117d1,-0x195,-0x181,-0x188)],_0x262923[_0x44f7e7(-0x17b,-_0xfc6911._0x3da0d6,-0x186,-_0xfc6911._0x29be2c)]);_0x3337aa++){let _0x32d80b=_0x55e6a8[_0x3337aa]||0x0,_0x13523f=_0x262923[_0x3337aa]||0x0;if(_0x32d80b>_0x13523f)return 0x1;if(_0x32d80b<_0x13523f)return-0x1;}return 0x0;}};export{m as UpdateChecker};function _0x4d39(_0x541213,_0x255828){const _0x2a8f30=_0x2a8f();return _0x4d39=function(_0x4d39f5,_0x4177d8){_0x4d39f5=_0x4d39f5-0x178;let _0x23ef9b=_0x2a8f30[_0x4d39f5];if(_0x4d39['vWJqiv']===undefined){var _0x50bcc=function(_0x189ba9){const _0x2cbe19='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2bb096='',_0xc8c141='';for(let _0x18b3bb=0x0,_0x35d410,_0x35decf,_0x4388b8=0x0;_0x35decf=_0x189ba9['charAt'](_0x4388b8++);~_0x35decf&&(_0x35d410=_0x18b3bb%0x4?_0x35d410*0x40+_0x35decf:_0x35decf,_0x18b3bb++%0x4)?_0x2bb096+=String['fromCharCode'](0xff&_0x35d410>>(-0x2*_0x18b3bb&0x6)):0x0){_0x35decf=_0x2cbe19['indexOf'](_0x35decf);}for(let _0x59b47a=0x0,_0x1b6242=_0x2bb096['length'];_0x59b47a<_0x1b6242;_0x59b47a++){_0xc8c141+='%'+('00'+_0x2bb096['charCodeAt'](_0x59b47a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc8c141);};_0x4d39['LUoOZL']=_0x50bcc,_0x541213=arguments,_0x4d39['vWJqiv']=!![];}const _0x25bb20=_0x2a8f30[0x0],_0x353b09=_0x4d39f5+_0x25bb20,_0x1eaee3=_0x541213[_0x353b09];return!_0x1eaee3?(_0x23ef9b=_0x4d39['LUoOZL'](_0x23ef9b),_0x541213[_0x353b09]=_0x23ef9b):_0x23ef9b=_0x1eaee3,_0x23ef9b;},_0x4d39(_0x541213,_0x255828);}function _0x2a8f(){const _0x3933ca=['zxjYB3i','mZe1otK5me9MzhjeqW','CMvXDwvZDa','mZuYmtCXnZbIt29WC0K','CMvWBgfJzq','BwfW','ndm0ntq3wK5usu9W','oxLYzK9IAa','y29TCgfYzvzLCNnPB25Z','y2HLy2TgB3jvCgrHDgu','Bwf4','BgvUz3rO','uefds0fhrv9oqu1f','qg51DMLUl251DMLUlwnSAq','zw5K','DMvYC2LVBG','m3rWzfvAuG','sfruuca','C3rHDhvZq29Kzq','tLbnx1jfr0Ltvfjz','r0vu','odm4ndi0tgXQBw1r','veLnru9vvf9nuW','mZuZnZC5m2DquNzVEG','mta3mtG4nJrRve56Eu8','odi3oduXnuTVDvnPCG','zMv0y2HmyxrLC3rwzxjZAw9U','uMvXDwvZDcb0Aw1LB3v0','mtj2rvnQru4','zgf0yq','DgLTzw91Da','C3bSAxq','CgfYC2u'];_0x2a8f=function(){return _0x3933ca;};return _0x2a8f();}