@nuvin/nuvin-cli 1.0.0 → 1.0.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.
@@ -1 +1 @@
1
- (function(_0x14d6d6,_0x47ff09){const _0x43bf7a={_0x37eb1a:0xbb,_0x317680:0xab,_0x443674:0xce,_0x18b04f:0xc0,_0x6317d9:0xc8,_0x327875:0xd7,_0x421bd8:0xbb,_0x38a632:0xd1,_0x305e7a:0x8a,_0x305017:0x97,_0xbb5941:0x7f,_0x55ce56:0xa2,_0x489d3b:0xc6,_0x3fdab3:0xc5,_0x3bd34c:0xdd,_0x5a41c6:0xc1,_0x199578:0xb3,_0x5675d5:0xae,_0x8dc279:0xd4},_0x3ca7fd={_0x25dfef:0x121},_0x52a37a={_0xeb29d4:0x295},_0x5d74af=_0x14d6d6();function _0x1627e9(_0x58f9d3,_0x12c32a,_0x164b13,_0x3a52e1){return _0x2efa(_0x58f9d3- -_0x52a37a._0xeb29d4,_0x164b13);}function _0x577dbd(_0x1bdd1b,_0x5f5b92,_0x519cfc,_0x5a2a2b){return _0x2efa(_0x5f5b92- -_0x3ca7fd._0x25dfef,_0x5a2a2b);}while(!![]){try{const _0x2c01da=-parseInt(_0x1627e9(-_0x43bf7a._0x37eb1a,-0xa5,-_0x43bf7a._0x317680,-0xc0))/0x1*(parseInt(_0x577dbd(_0x43bf7a._0x443674,_0x43bf7a._0x18b04f,0xd3,_0x43bf7a._0x6317d9))/0x2)+-parseInt(_0x1627e9(-0xc9,-0xd0,-0xb3,-_0x43bf7a._0x327875))/0x3+-parseInt(_0x577dbd(0xaf,_0x43bf7a._0x421bd8,_0x43bf7a._0x38a632,0xb4))/0x4+parseInt(_0x577dbd(_0x43bf7a._0x305e7a,_0x43bf7a._0x305017,0x90,_0x43bf7a._0xbb5941))/0x5*(parseInt(_0x577dbd(_0x43bf7a._0x55ce56,0xb5,0x9c,_0x43bf7a._0x489d3b))/0x6)+parseInt(_0x1627e9(-_0x43bf7a._0x3fdab3,-_0x43bf7a._0x3bd34c,-_0x43bf7a._0x5a41c6,-_0x43bf7a._0x199578))/0x7+parseInt(_0x577dbd(0xb4,_0x43bf7a._0x5675d5,0xc1,0x9b))/0x8+parseInt(_0x1627e9(-0xda,-_0x43bf7a._0x8dc279,-0xc7,-0xf0))/0x9;if(_0x2c01da===_0x47ff09)break;else _0x5d74af['push'](_0x5d74af['shift']());}catch(_0x1fd9c5){_0x5d74af['push'](_0x5d74af['shift']());}}}(_0x45e6,0x5c863));function _0x2efa(_0x2d6bb8,_0x4ce67e){const _0x45e657=_0x45e6();return _0x2efa=function(_0x2efa0d,_0x27164e){_0x2efa0d=_0x2efa0d-0x1b1;let _0x28f1cc=_0x45e657[_0x2efa0d];if(_0x2efa['qKHGRc']===undefined){var _0x25971e=function(_0x229119){const _0xab3e78='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x291ebe='',_0x31b444='';for(let _0x406719=0x0,_0x5524ba,_0xe59a16,_0x1ccd8d=0x0;_0xe59a16=_0x229119['charAt'](_0x1ccd8d++);~_0xe59a16&&(_0x5524ba=_0x406719%0x4?_0x5524ba*0x40+_0xe59a16:_0xe59a16,_0x406719++%0x4)?_0x291ebe+=String['fromCharCode'](0xff&_0x5524ba>>(-0x2*_0x406719&0x6)):0x0){_0xe59a16=_0xab3e78['indexOf'](_0xe59a16);}for(let _0x58feea=0x0,_0x441085=_0x291ebe['length'];_0x58feea<_0x441085;_0x58feea++){_0x31b444+='%'+('00'+_0x291ebe['charCodeAt'](_0x58feea)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31b444);};_0x2efa['kRQkXM']=_0x25971e,_0x2d6bb8=arguments,_0x2efa['qKHGRc']=!![];}const _0x5f5bb3=_0x45e657[0x0],_0x453009=_0x2efa0d+_0x5f5bb3,_0x54d8a4=_0x2d6bb8[_0x453009];return!_0x54d8a4?(_0x28f1cc=_0x2efa['kRQkXM'](_0x28f1cc),_0x2d6bb8[_0x453009]=_0x28f1cc):_0x28f1cc=_0x54d8a4,_0x28f1cc;},_0x2efa(_0x2d6bb8,_0x4ce67e);}import{exec as _0x229119}from'child_process';import{promisify as _0xab3e78}from'util';import{platform as _0x291ebe}from'os';import{readFileSync as _0x31b444,unlinkSync as _0x406719}from'fs';function _0x45e6(){const _0x1a5d30=['EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqG','rMfPBgvKihrVigDLDcbJBgLWyM9HCMqGzMLSzxm6','odi0mty2t2TQsg1J','y2XPCgjVyxjKlwLTywDLlNbUzW','Aw1Hz2uVyM1W','WQTJBgfZCYbhsuzMWRS','Aw1Hz2uVCg5N','Aw5JBhvKzxm','yM1W','xciGD2L0Acb3CML0zsbWzxjTAxnZAw9UcIaGicaGicaGD3jPDguGAw1Hz2veyxrHihrVigzPBgvszwykicaGicaGicbJBg9ZzsbHy2nLC3mGzMLSzvjLzGOGicaGicaI','Cg5NCgfZDguGiG','Aw1Hz2uVANbLzW','WQTJBgfZCYbxrujqWRS','zgfYD2LU','yMfZzty0','ANbN','vw5HyMXLihrVigv4DhjHy3qGy2XPCgjVyxjKigLTywDLig9Uig1Hy09t','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqGvefsr0vuuYaTBYaYpI9KzxyVBNvSBcb8FcbLy2HViciI','WQTJBgfZCYbctvbMWRS','nJy4nZLcqK9WELy','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','Aw1Hz2uVD2vICa','nJG4mteYr1Lnze1i','mtqZnde3ngvIDgnmrG','y2XPCgjVyxjKlwLTywDLlG','Aw1Hz2uVDgLMzG','lNbUzW','BgLUDxG','WQTJBgfZCYbusuzgWRS','nde0AKXRy29v','cIaGicaGicaGC2v0igzPBgvszwyGDg8GB3bLBIbMB3iGywnJzxnZifbpu0LyigzPBguGxci','B3nHC2nYAxb0ic1LicjJBgLWyM9HCMqGAw5MBYi','BM93','owXUChjmAq','DhjPBq','mJy2mJrLrevcsM8','Dhj1zq','jYWGw1n5C3rLBs5eCMf3Aw5NlKLTywDPBMCUsw1Hz2vgB3jTyxrDoJPqBMCPcIaGicaGicaGicaKAw1NlKrPC3bVC2uOkqOGicaGicaGih0kicaGicaGFqOGicaGiG','Cg93zxjZAgvSBcaTy29TBwfUzcaIcIaGicaGiefKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkicaGicaGqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWOkicaGicaGAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSkicaGicaGicaKAw1Nid0Gw1n5C3rLBs5xAw5KB3DZlKzVCM1ZlKnSAxbIB2fYzf06oKDLDeLTywDLkcKkicaGicaGicbPzIaOjgLTzYaTBMuGjg51BgWPihSkicaGicaGicaGicrPBwCUu2f2zsGN','B3nHC2nYAxb0ic1LicikicaGicaGicbZzxqGAw1Hz2veyxrHihrVihrOzsbJBgLWyM9HCMqGyxmG','ntu4mKT5wgHrBq','DgLMzG','y2XPCgjVyxjKlq','Aw1Hz2uVz2LM','D2LUmZi','Cg5N','z2LM','zNjVBq','WQTJBgfZCYbkuevhWRS','mZy2nwzxAM5NDG'];_0x45e6=function(){return _0x1a5d30;};return _0x45e6();}import{tmpdir as _0x5524ba}from'os';import{join as _0xe59a16}from'path';var a=_0xab3e78(_0x229119);async function I(){const _0x3ba43f={_0x49a4a7:0xa,_0x19c2e4:0x4d4,_0x34f0a6:0x4d2,_0x39bc51:0x4d2,_0x3eca17:0x4dd,_0x303e5e:0x4b4,_0x492373:0x4c1,_0x49b808:0x4a9,_0x7d895b:0x26,_0x18f6ec:0x14,_0x5ce7b7:0x37,_0x4bfa4b:0x4bb,_0x23eb13:0x4c6,_0x378ee6:0x1e,_0x532516:0x4c8,_0x5f3905:0x4d4,_0x45dcd4:0x26,_0x169eb1:0x18,_0xb5c96b:0x17,_0x8154cd:0x4d5,_0x364d19:0x4c4,_0x14d666:0x4d1,_0x1683f3:0x4e2,_0x4cb494:0x4bd,_0xfbc807:0x27,_0x2eff89:0x3b,_0x326eef:0x4c1,_0x5555df:0x4c4,_0x3b05cb:0x32,_0x391a9c:0x4a4,_0x36301c:0x4ba,_0x2e5854:0x4ca,_0x3db9dc:0x14,_0x57a3ed:0xe,_0x2c3ad7:0x1b,_0x4182d9:0x4be,_0x436431:0x4b0,_0x52a0d7:0x4c5,_0x450d1e:0x2e,_0x2c3f3a:0x0,_0x3c382a:0x30,_0x1c1462:0x4ef,_0x1a7b9f:0x4da},_0x4139ba={_0x45463b:0x1e6},_0x320adf={_0x1acbd1:0x2fd};function _0x31db34(_0x6e2e67,_0x391c24,_0x3262e2,_0x5e8294){return _0x2efa(_0x391c24-_0x320adf._0x1acbd1,_0x6e2e67);}function _0x518712(_0x263a5,_0x3f211c,_0x43cfe8,_0x47c7cd){return _0x2efa(_0x263a5- -_0x4139ba._0x45463b,_0x47c7cd);}try{let _0x1ccd8d=_0x291ebe();if(_0x1ccd8d==='darwin'){let {stdout:_0x58feea}=await a(_0x518712(-0xe,-0x21,-0x14,-_0x3ba43f._0x49a4a7));return _0x58feea['includes']('«class\x20PNGf»')||_0x58feea[_0x31db34(_0x3ba43f._0x19c2e4,0x4bd,_0x3ba43f._0x34f0a6,0x4d3)](_0x31db34(0x4d2,_0x3ba43f._0x39bc51,0x4d7,_0x3ba43f._0x3eca17))||_0x58feea['includes'](_0x31db34(0x4c3,_0x3ba43f._0x303e5e,_0x3ba43f._0x492373,_0x3ba43f._0x49b808))||_0x58feea[_0x518712(-_0x3ba43f._0x7d895b,-_0x3ba43f._0x18f6ec,-0xe,-_0x3ba43f._0x5ce7b7)](_0x31db34(0x4b8,_0x3ba43f._0x4bfa4b,_0x3ba43f._0x23eb13,0x4bc))||_0x58feea[_0x518712(-_0x3ba43f._0x7d895b,-0x15,-_0x3ba43f._0x378ee6,-0x21)](_0x31db34(0x4c8,_0x3ba43f._0x532516,_0x3ba43f._0x5f3905,0x4ca))||_0x58feea[_0x518712(-_0x3ba43f._0x45dcd4,-_0x3ba43f._0x169eb1,-0x23,-_0x3ba43f._0xb5c96b)]('«class\x20HEIF»')||_0x58feea[_0x518712(-_0x3ba43f._0x45dcd4,-0x23,-0x36,-_0x3ba43f._0x5ce7b7)](_0x31db34(0x4c6,0x4c2,0x4be,_0x3ba43f._0x8154cd));}else{if(_0x1ccd8d===_0x31db34(_0x3ba43f._0x364d19,_0x3ba43f._0x14d666,0x4d1,_0x3ba43f._0x1683f3)){let {stdout:_0x441085}=await a('xclip\x20-selection\x20clipboard\x20-t\x20TARGETS\x20-o\x202>/dev/null\x20||\x20echo\x20\x22\x22');return _0x441085[_0x31db34(0x4c8,_0x3ba43f._0x4cb494,0x4ca,0x4d1)](_0x518712(-_0x3ba43f._0xfbc807,-_0x3ba43f._0x2eff89,-0x1a,-0x2d))||_0x441085['includes'](_0x31db34(0x4c0,_0x3ba43f._0x326eef,_0x3ba43f._0x5555df,0x4b3))||_0x441085[_0x518712(-0x26,-_0x3ba43f._0x3b05cb,-0x15,-0x13)]('image/gif')||_0x441085['includes'](_0x31db34(_0x3ba43f._0x391a9c,_0x3ba43f._0x36301c,_0x3ba43f._0x2e5854,0x4cf))||_0x441085[_0x518712(-0x26,-_0x3ba43f._0x2eff89,-0x2c,-0x27)](_0x518712(-_0x3ba43f._0x3db9dc,-_0x3ba43f._0x57a3ed,-_0x3ba43f._0x2c3ad7,-0xf))||_0x441085[_0x31db34(0x4b7,0x4bd,_0x3ba43f._0x4182d9,0x4c5)]('image/webp');}else{if(_0x1ccd8d===_0x31db34(_0x3ba43f._0x436431,0x4b0,_0x3ba43f._0x52a0d7,0x4bc))try{let {stdout:_0x566706}=await a(_0x518712(-0x19,-_0x3ba43f._0x450d1e,_0x3ba43f._0x2c3f3a,-_0x3ba43f._0x3c382a));return _0x566706[_0x31db34(0x4ef,0x4d8,0x4d3,_0x3ba43f._0x1c1462)]()===_0x31db34(0x4c3,_0x3ba43f._0x1a7b9f,0x4c2,0x4da);}catch{return!0x1;}}}return!0x1;}catch{return!0x1;}}async function S(){const _0x298ac3={_0x15c554:0x3f8,_0x5a705f:0x3f0,_0x1fd5fa:0x40c,_0x28507c:0x428,_0x3b286b:0x419,_0x16f6b7:0x414,_0x1467c6:0x277,_0x5d87f8:0x28a,_0x305165:0x284,_0x512430:0x29d,_0x94282a:0x3f7},_0x46d55a={_0x520896:0x240},_0x49a5e3={_0x156df4:0xd1};function _0x5cd926(_0x3b3545,_0x567e3d,_0x6387e6,_0x6f7e1){return _0x2efa(_0x6387e6-_0x49a5e3._0x156df4,_0x6f7e1);}function _0x34c114(_0x3506b3,_0x306820,_0x574063,_0x596095){return _0x2efa(_0x596095-_0x46d55a._0x520896,_0x574063);}try{let _0x3e735a=_0x291ebe();return _0x3e735a===_0x34c114(_0x298ac3._0x15c554,_0x298ac3._0x5a705f,_0x298ac3._0x1fd5fa,0x406)?await d():_0x3e735a===_0x34c114(_0x298ac3._0x28507c,0x406,_0x298ac3._0x3b286b,_0x298ac3._0x16f6b7)?await u():_0x3e735a===_0x5cd926(_0x298ac3._0x1467c6,_0x298ac3._0x5d87f8,_0x298ac3._0x305165,_0x298ac3._0x512430)?await b():[];}catch(_0x4f1a4a){return console['warn'](_0x34c114(0x407,0x3ec,_0x298ac3._0x94282a,0x3fa),_0x4f1a4a),[];}}async function d(){const _0x235a8a={_0x5702cd:0x1f3,_0xeaf083:0x1da,_0x2e6d93:0x154,_0x364f75:0x13a,_0x3b2d5a:0x136,_0x5bfdfe:0x139,_0x2742be:0x20a,_0x4f715b:0x146,_0x4769c8:0x1fd,_0x6bfac2:0x20b,_0x23653f:0x203,_0x1bc7ca:0x15e,_0x127869:0x1fe,_0x289cb1:0x200,_0x47deaf:0x214,_0x1bb8f0:0x213,_0x166437:0x14e,_0x2d8081:0x140,_0x122b4f:0x14a,_0xac3d:0x16a,_0x32a113:0x129,_0x24037b:0x134,_0x3e0d0d:0x149,_0x50490b:0x162,_0x56fbb6:0x218,_0x1aee11:0x217,_0x541c1f:0x21b,_0x534ccf:0x21c,_0x295714:0x202,_0x5d3141:0x204,_0x5aba14:0x142,_0x4b2a6a:0x157,_0x340164:0x132},_0x33b14f={_0x37b77e:0x3f},_0x35d3cd={_0x4e63d0:0x30b};let _0x242231=[{'format':'«class\x20PNGf»','extension':_0x4ac162(_0x235a8a._0x5702cd,0x1fe,0x1de,_0x235a8a._0xeaf083),'mimeType':_0x48b710(-0x14c,-0x146,-0x15d,-0x154)},{'format':_0x48b710(-0x154,-0x163,-0x16c,-_0x235a8a._0x2e6d93),'extension':'jpg','mimeType':_0x48b710(-0x147,-0x14c,-_0x235a8a._0x364f75,-0x147)},{'format':_0x48b710(-_0x235a8a._0x3b2d5a,-0x11d,-0x130,-_0x235a8a._0x5bfdfe),'extension':_0x4ac162(0x221,0x215,_0x235a8a._0x2742be,0x21f),'mimeType':_0x48b710(-0x139,-_0x235a8a._0x4f715b,-0x126,-0x149)},{'format':_0x4ac162(_0x235a8a._0x4769c8,_0x235a8a._0x5702cd,_0x235a8a._0x6bfac2,_0x235a8a._0x23653f),'extension':'gif','mimeType':_0x48b710(-0x159,-_0x235a8a._0x1bc7ca,-0x15a,-0x16b)},{'format':_0x4ac162(0x20a,0x1f6,_0x235a8a._0x127869,0x1fa),'extension':_0x4ac162(_0x235a8a._0x289cb1,_0x235a8a._0x47deaf,0x1fc,_0x235a8a._0x1bb8f0),'mimeType':_0x48b710(-_0x235a8a._0x166437,-0x13e,-0x13f,-_0x235a8a._0x2d8081)}];function _0x48b710(_0x3243c8,_0x28ff56,_0x22b7b5,_0x4db802){return _0x2efa(_0x3243c8- -_0x35d3cd._0x4e63d0,_0x28ff56);}for(let {format:_0x44791e,extension:_0x30b31b,mimeType:_0x25c5a9}of _0x242231)try{let _0x1c7eb2=_0xe59a16(_0x5524ba(),_0x48b710(-0x15a,-_0x235a8a._0x122b4f,-0x172,-_0x235a8a._0xac3d)+Date['now']()+'.'+_0x30b31b);await a(_0x48b710(-0x12b,-_0x235a8a._0x32a113,-0x115,-0x12e)+_0x44791e+_0x48b710(-_0x235a8a._0x24037b,-0x13f,-0x147,-0x134)+_0x1c7eb2+_0x48b710(-_0x235a8a._0x3e0d0d,-0x159,-0x14c,-0x150));let _0x2e2da0=_0x31b444(_0x1c7eb2);return _0x406719(_0x1c7eb2),[{'data':_0x2e2da0,'type':_0x25c5a9,'name':'clipboard-image.'+_0x30b31b}];}catch{}function _0x4ac162(_0x21059d,_0x2df509,_0x592ef9,_0x5098b1){return _0x2efa(_0x21059d-_0x33b14f._0x37b77e,_0x5098b1);}try{let _0x4e6764=_0xe59a16(_0x5524ba(),_0x48b710(-0x15a,-0x142,-_0x235a8a._0x50490b,-0x14b)+Date[_0x4ac162(_0x235a8a._0x56fbb6,_0x235a8a._0x1aee11,_0x235a8a._0x541c1f,_0x235a8a._0x534ccf)]()+'.png');await a(_0x4ac162(_0x235a8a._0x295714,0x1f5,0x21b,0x200)+_0x4e6764+'\x22');let _0x3207bd=_0x31b444(_0x4e6764);return _0x406719(_0x4e6764),[{'data':_0x3207bd,'type':_0x4ac162(0x1fe,0x1f2,0x216,_0x235a8a._0x5d3141),'name':_0x4ac162(0x1fb,0x20e,0x204,0x1fd)}];}catch{}throw new Error(_0x48b710(-_0x235a8a._0x5aba14,-_0x235a8a._0x4b2a6a,-_0x235a8a._0x340164,-0x12b));}async function u(){const _0x5e8ce5={_0x710b3f:0x48a,_0x3ffbf5:0x48b,_0x5f57fb:0x476,_0x15f982:0x1ab,_0x2bde6d:0x1ad,_0x1be071:0x16f,_0x19cec1:0x186,_0x3cd214:0x192,_0x11ea40:0x1b3,_0x2a9af3:0x47c,_0x51d1ac:0x1a3,_0xf35289:0x19f,_0x1e09b2:0x46c,_0x5351a8:0x48b,_0x5bef5f:0x1ac,_0x5a1e75:0x489,_0x3c9f8b:0x497,_0xdfe9ec:0x485,_0x93079:0x48d},_0x321c97={_0x7292dc:0x2c2},_0x3755bb={_0x1fd160:0x2f};function _0x3a9341(_0x259512,_0x40813c,_0x2e48fc,_0x2aa3c8){return _0x2efa(_0x2aa3c8- -_0x3755bb._0x1fd160,_0x2e48fc);}let {stdout:_0x3c0bec}=await a(_0x2ba5e3(_0x5e8ce5._0x710b3f,0x488,0x48c,0x476)),_0x3f606b=[{'target':'image/png','extension':_0x2ba5e3(0x464,_0x5e8ce5._0x3ffbf5,_0x5e8ce5._0x5f57fb,0x47a)},{'target':'image/jpeg','extension':_0x3a9341(_0x5e8ce5._0x15f982,0x1ab,_0x5e8ce5._0x2bde6d,0x199)},{'target':'image/gif','extension':_0x3a9341(_0x5e8ce5._0x1be071,0x17a,_0x5e8ce5._0x19cec1,0x186)},{'target':'image/bmp','extension':_0x3a9341(0x188,0x196,0x199,_0x5e8ce5._0x3cd214)},{'target':'image/tiff','extension':_0x3a9341(0x1be,0x1ae,0x1cb,_0x5e8ce5._0x11ea40)},{'target':_0x2ba5e3(0x492,0x485,0x490,_0x5e8ce5._0x2a9af3),'extension':'webp'}];for(let {target:_0x5c26da,extension:_0x480b84}of _0x3f606b)if(_0x3c0bec[_0x3a9341(_0x5e8ce5._0x51d1ac,0x1a1,_0x5e8ce5._0xf35289,0x191)](_0x5c26da))try{let {stdout:_0x3da2ba}=await a(_0x3a9341(_0x5e8ce5._0x19cec1,0x191,0x1a3,0x18a)+_0x5c26da+'\x20-o\x20|\x20base64');return[{'data':Buffer[_0x2ba5e3(0x48b,_0x5e8ce5._0x1e09b2,0x478,_0x5e8ce5._0x5351a8)](_0x3da2ba[_0x3a9341(0x1c2,0x1a0,_0x5e8ce5._0x15f982,_0x5e8ce5._0x5bef5f)](),_0x2ba5e3(0x48f,0x493,_0x5e8ce5._0x5a1e75,0x47b)),'type':_0x5c26da,'name':_0x2ba5e3(_0x5e8ce5._0x3c9f8b,_0x5e8ce5._0xdfe9ec,0x493,_0x5e8ce5._0x93079)+_0x480b84}];}catch{}function _0x2ba5e3(_0x2906cf,_0xe2665b,_0x4e35dd,_0x36794c){return _0x2efa(_0x4e35dd-_0x321c97._0x7292dc,_0x36794c);}throw new Error('No\x20supported\x20image\x20format\x20found\x20in\x20clipboard');}async function b(){const _0x145dc5={_0x3c0a6f:0x1a3,_0x53febf:0x1be,_0x381983:0x176,_0x3c5e4e:0x185,_0x63cbad:0xa0,_0x40ca64:0x99,_0xe265cc:0xa3,_0x2d9a7c:0x193,_0x1452f7:0x18b,_0x5d7638:0x16f,_0x26b3e7:0xaf,_0x152a73:0xa3,_0x46a0e6:0xb2,_0x1bfa9f:0xb2},_0x11cc7b={_0x5baaa5:0x35e},_0x59a275={_0x51d905:0x26e};function _0x5677cc(_0x375aa2,_0x45e5e0,_0x41b3e6,_0x48a58e){return _0x2efa(_0x45e5e0- -_0x59a275._0x51d905,_0x41b3e6);}function _0x10fcb2(_0x4e012d,_0x32247d,_0xee29b2,_0x46d570){return _0x2efa(_0x46d570- -_0x11cc7b._0x5baaa5,_0x4e012d);}let _0x2dd915=_0xe59a16(_0x5524ba(),_0x10fcb2(-0x1a7,-_0x145dc5._0x3c0a6f,-_0x145dc5._0x53febf,-0x1ad)+Date[_0x10fcb2(-0x17d,-0x180,-_0x145dc5._0x381983,-_0x145dc5._0x3c5e4e)]()+_0x5677cc(-_0x145dc5._0x63cbad,-0x9b,-_0x145dc5._0x40ca64,-_0x145dc5._0xe265cc));try{await a(_0x10fcb2(-0x18e,-_0x145dc5._0x2d9a7c,-_0x145dc5._0x2d9a7c,-0x17f)+_0x2dd915['replace'](/\\/g,'\x5c\x5c')+_0x10fcb2(-_0x145dc5._0x1452f7,-0x169,-_0x145dc5._0x5d7638,-0x180));let _0x2024e8=_0x31b444(_0x2dd915);return _0x406719(_0x2dd915),[{'data':_0x2024e8,'type':_0x5677cc(-0xaa,-_0x145dc5._0x26b3e7,-0xb4,-_0x145dc5._0x152a73),'name':_0x5677cc(-_0x145dc5._0x46a0e6,-_0x145dc5._0x1bfa9f,-0xa8,-0xc2)}];}catch(_0x3e36b3){try{_0x406719(_0x2dd915);}catch{}throw _0x3e36b3;}}export{S as getClipboardFiles,I as hasClipboardFiles};
1
+ (function(_0x5c4fa4,_0x2f351e){const _0x297304={_0x3be436:0xa3,_0x281866:0x9c,_0x5a1f24:0xbe,_0xf2193f:0xc2,_0x14714e:0xb1,_0x166a15:0x95,_0x4518be:0x9e,_0x35ee38:0x7d,_0x6a98f3:0x88,_0x119ed5:0xad,_0x3f2ee6:0xa9,_0xb2af3b:0xa2,_0x2c1ec9:0xaa,_0x1c697b:0x8d,_0x489efd:0x96,_0x325e75:0xbd,_0x356794:0xce,_0x503e40:0xc8,_0x4df198:0xb0,_0x249e6a:0x95},_0x39c3e8={_0x5eb5b2:0x11c},_0x5e2b6a=_0x5c4fa4();function _0xbb2f6e(_0x4109a0,_0x24425e,_0x41dd43,_0x59b907){return _0x1266(_0x4109a0- -0x268,_0x41dd43);}function _0x3a7155(_0x1e97e6,_0x41751f,_0x257bf9,_0x46edd6){return _0x1266(_0x41751f- -_0x39c3e8._0x5eb5b2,_0x257bf9);}while(!![]){try{const _0x2727f3=parseInt(_0xbb2f6e(-_0x297304._0x3be436,-0x8c,-_0x297304._0x3be436,-_0x297304._0x281866))/0x1*(parseInt(_0x3a7155(_0x297304._0x5a1f24,0xb4,_0x297304._0xf2193f,_0x297304._0x14714e))/0x2)+-parseInt(_0x3a7155(_0x297304._0x166a15,0x9e,0xb5,_0x297304._0x4518be))/0x3+parseInt(_0xbb2f6e(-0x9e,-0xa6,-0x89,-0xac))/0x4*(-parseInt(_0x3a7155(_0x297304._0x35ee38,0x8b,_0x297304._0x6a98f3,0x78))/0x5)+-parseInt(_0x3a7155(0x97,_0x297304._0x119ed5,_0x297304._0x281866,_0x297304._0x3f2ee6))/0x6+-parseInt(_0xbb2f6e(-_0x297304._0xb2af3b,-0xa0,-_0x297304._0x2c1ec9,-_0x297304._0x1c697b))/0x7*(parseInt(_0x3a7155(0xa3,_0x297304._0x489efd,0x7e,0x9f))/0x8)+-parseInt(_0xbb2f6e(-_0x297304._0x325e75,-_0x297304._0x356794,-_0x297304._0x325e75,-_0x297304._0x503e40))/0x9*(-parseInt(_0xbb2f6e(-0x9c,-_0x297304._0x6a98f3,-0x8b,-_0x297304._0x4df198))/0xa)+parseInt(_0x3a7155(0x76,_0x297304._0x6a98f3,0x83,_0x297304._0x249e6a))/0xb;if(_0x2727f3===_0x2f351e)break;else _0x5e2b6a['push'](_0x5e2b6a['shift']());}catch(_0x5d0006){_0x5e2b6a['push'](_0x5e2b6a['shift']());}}}(_0x3d9c,0x1bf2d));function _0x3d9c(){const _0x2e9f82=['Aw1Hz2uVANbLzW','WQTJBgfZCYbiruLgWRS','WQTJBgfZCYbusuzgWRS','y2XPCgjVyxjKlwLTywDLlNbUzW','WQTJBgfZCYbxrujqWRS','ndqWodGXmuzwCxngDG','CMvWBgfJzq','D2LUmZi','mtvADgzkt0G','WQTJBgfZCYbqtKDMWRS','BM93','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','nda4mtiZwhvmzvbh','Cg5N','WQTJBgfZCYbhsuzMWRS','DhjPBq','yMfZzty0','Cg93zxjZAgvSBcaTy29TBwfUzcaIcIaGicaGiefKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkicaGicaGqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWOkicaGicaGAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSkicaGicaGicaKAw1Nid0Gw1n5C3rLBs5xAw5KB3DZlKzVCM1ZlKnSAxbIB2fYzf06oKDLDeLTywDLkcKkicaGicaGicbPzIaOjgLTzYaTBMuGjg51BgWPihSkicaGicaGicaGicrPBwCUu2f2zsGN','Aw1Hz2uVCg5N','mte5mMLyuNPyCW','Aw1Hz2uVyM1W','yM1W','z2LM','D2fYBG','Aw1Hz2uVz2LM','Aw5JBhvKzxm','D2vICa','ntaYote3tLn2vw9R','xciGD2L0Acb3CML0zsbWzxjTAxnZAw9UcIaGicaGicaGD3jPDguGAw1Hz2veyxrHihrVigzPBgvszwykicaGicaGicbJBg9ZzsbHy2nLC3mGzMLSzvjLzGOGicaGicaI','y2XPCgjVyxjKlwLTywDLlG','Dhj1zq','ANbN','Cg5NCgfZDguGiG','tM8GC3vWCg9YDgvKigLTywDLigzVCM1HDcbMB3vUzcbPBIbJBgLWyM9HCMq','WQTJBgfZCYbctvbMWRS','Aw1Hz2uVDgLMzG','jYWGw1n5C3rLBs5eCMf3Aw5NlKLTywDPBMCUsw1Hz2vgB3jTyxrDoJPqBMCPcIaGicaGicaGicaKAw1NlKrPC3bVC2uOkqOGicaGicaGih0kicaGicaGFqOGicaGiG','ic1VihWGyMfZzty0','mwHdvLDMEG','ody4n2n4BxjizG','y2XPCgjVyxjKlq','WQTJBgfZCYbkuevhWRS','oda3mdq4q2nQCLzO','otq1nZzUDwPVCxC','cIaGicaGicaGC2v0igzPBgvszwyGDg8GB3bLBIbMB3iGywnJzxnZifbpu0LyigzPBguGxci','mZbkrgLkD0G','vw5HyMXLihrVigv4DhjHy3qGy2XPCgjVyxjKigLTywDLig9Uig1Hy09t','zgfYD2LU','Aw1Hz2uVD2vICa','mJCXmJq2thrHy2LA','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqGvefsr0vuuYaTBYaYpI9KzxyVBNvSBcb8FcbLy2HViciI','DgLMzG'];_0x3d9c=function(){return _0x2e9f82;};return _0x3d9c();}function _0x1266(_0x4fd942,_0x339511){const _0x3d9c50=_0x3d9c();return _0x1266=function(_0x12669b,_0x270a44){_0x12669b=_0x12669b-0x1a2;let _0x47e693=_0x3d9c50[_0x12669b];if(_0x1266['AexWtY']===undefined){var _0x1ff6e0=function(_0x2e885b){const _0xfbe623='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42f1bb='',_0x4fe56c='';for(let _0x2056ae=0x0,_0x1c4b2b,_0x1da5b7,_0x264c6f=0x0;_0x1da5b7=_0x2e885b['charAt'](_0x264c6f++);~_0x1da5b7&&(_0x1c4b2b=_0x2056ae%0x4?_0x1c4b2b*0x40+_0x1da5b7:_0x1da5b7,_0x2056ae++%0x4)?_0x42f1bb+=String['fromCharCode'](0xff&_0x1c4b2b>>(-0x2*_0x2056ae&0x6)):0x0){_0x1da5b7=_0xfbe623['indexOf'](_0x1da5b7);}for(let _0x311bfa=0x0,_0x2f3380=_0x42f1bb['length'];_0x311bfa<_0x2f3380;_0x311bfa++){_0x4fe56c+='%'+('00'+_0x42f1bb['charCodeAt'](_0x311bfa)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4fe56c);};_0x1266['jYiPjc']=_0x1ff6e0,_0x4fd942=arguments,_0x1266['AexWtY']=!![];}const _0xc19184=_0x3d9c50[0x0],_0x21e170=_0x12669b+_0xc19184,_0x2fb1f9=_0x4fd942[_0x21e170];return!_0x2fb1f9?(_0x47e693=_0x1266['jYiPjc'](_0x47e693),_0x4fd942[_0x21e170]=_0x47e693):_0x47e693=_0x2fb1f9,_0x47e693;},_0x1266(_0x4fd942,_0x339511);}import{exec as _0x2e885b}from'child_process';import{promisify as _0xfbe623}from'util';import{platform as _0x42f1bb}from'os';import{readFileSync as _0x4fe56c,unlinkSync as _0x2056ae}from'fs';import{tmpdir as _0x1c4b2b}from'os';import{join as _0x1da5b7}from'path';var a=_0xfbe623(_0x2e885b);async function I(){const _0xc0bc1a={_0x4c3a29:0x4d,_0x520c47:0x29c,_0x5ebe2f:0x2a1,_0x139d35:0x2c2,_0x54b1fa:0x2a8,_0x50fb19:0x2a9,_0x91aa01:0x2a5,_0x2f0ce0:0x2a2,_0xd5adff:0x2b1,_0x3ef527:0x28f,_0x18704b:0x7f,_0x56e859:0x68,_0xabe15a:0x86,_0x26afed:0x71,_0x367771:0x84,_0x5c409a:0x2cc,_0x50668a:0x2c1,_0x5099d2:0x2a9,_0x371808:0x298,_0x344693:0x66,_0xda347d:0x58,_0x936ac3:0x6c,_0x46b67b:0x6b,_0x7688ac:0x81,_0xbf08b5:0x29e,_0x87529d:0x56,_0x479749:0x5b,_0x1f6846:0x6a,_0x517a7e:0x79,_0x4c625d:0x63,_0xd621d7:0x2b3,_0x37e739:0x78,_0x25f139:0x5b,_0x589e24:0x67,_0x1dc004:0x6e,_0x6ca02d:0x2a6,_0x50d812:0x297,_0x47aeb9:0x2aa,_0x1cf4a9:0x28e,_0x1dc446:0x27f,_0x33c35f:0x6e,_0x5733cb:0x69};function _0x11872c(_0x45ba07,_0x35d38e,_0x31b8bf,_0x35e184){return _0x1266(_0x35d38e- -0x229,_0x45ba07);}function _0x2eea30(_0x4ad3dc,_0x2bc405,_0x28ad45,_0x100a3a){return _0x1266(_0x4ad3dc-0xed,_0x2bc405);}try{let _0x264c6f=_0x42f1bb();if(_0x264c6f===_0x11872c(-_0xc0bc1a._0x4c3a29,-0x5b,-0x58,-0x44)){let {stdout:_0x311bfa}=await a('osascript\x20-e\x20\x22clipboard\x20info\x22');return _0x311bfa['includes']('«class\x20PNGf»')||_0x311bfa[_0x2eea30(0x2a5,_0xc0bc1a._0x520c47,0x295,_0xc0bc1a._0x5ebe2f)](_0x2eea30(_0xc0bc1a._0x139d35,_0xc0bc1a._0x54b1fa,_0xc0bc1a._0x50fb19,_0xc0bc1a._0x50fb19))||_0x311bfa[_0x2eea30(_0xc0bc1a._0x91aa01,_0xc0bc1a._0x2f0ce0,_0xc0bc1a._0xd5adff,_0xc0bc1a._0x3ef527)]('«class\x20JPEG»')||_0x311bfa['includes']('«class\x20GIFf»')||_0x311bfa[_0x11872c(-0x63,-0x71,-0x63,-0x87)](_0x11872c(-_0xc0bc1a._0x18704b,-_0xc0bc1a._0x56e859,-0x7a,-0x6b))||_0x311bfa[_0x11872c(-_0xc0bc1a._0xabe15a,-_0xc0bc1a._0x26afed,-_0xc0bc1a._0x367771,-0x63)](_0x2eea30(0x2c1,_0xc0bc1a._0x5c409a,_0xc0bc1a._0x50668a,0x2ad))||_0x311bfa[_0x2eea30(_0xc0bc1a._0x91aa01,_0xc0bc1a._0x5099d2,_0xc0bc1a._0x371808,0x2ac)](_0x2eea30(0x290,_0xc0bc1a._0x520c47,0x29e,0x2a7));}else{if(_0x264c6f==='linux'){let {stdout:_0x2f3380}=await a(_0x11872c(-_0xc0bc1a._0x344693,-_0xc0bc1a._0xda347d,-_0xc0bc1a._0x936ac3,-_0xc0bc1a._0x46b67b));return _0x2f3380[_0x11872c(-_0xc0bc1a._0x7688ac,-0x71,-0x6d,-_0xc0bc1a._0xda347d)](_0x2eea30(_0xc0bc1a._0xbf08b5,0x291,0x2ad,0x2b2))||_0x2f3380['includes'](_0x11872c(-0x64,-_0xc0bc1a._0x87529d,-_0xc0bc1a._0x479749,-_0xc0bc1a._0x1f6846))||_0x2f3380['includes'](_0x2eea30(0x2a4,_0xc0bc1a._0x54b1fa,0x29b,0x28b))||_0x2f3380[_0x11872c(-_0xc0bc1a._0x517a7e,-0x71,-0x6f,-_0xc0bc1a._0x4c625d)](_0x2eea30(0x2a0,0x2b2,_0xc0bc1a._0xd621d7,0x2a6))||_0x2f3380[_0x11872c(-_0xc0bc1a._0x37e739,-_0xc0bc1a._0x26afed,-0x83,-_0xc0bc1a._0x25f139)](_0x11872c(-0x4d,-_0xc0bc1a._0x589e24,-0x81,-_0xc0bc1a._0x1dc004))||_0x2f3380['includes'](_0x2eea30(0x2bc,0x2c7,_0xc0bc1a._0x6ca02d,0x2b6));}else{if(_0x264c6f==='win32')try{let {stdout:_0x57560a}=await a(_0x2eea30(_0xc0bc1a._0x50d812,_0xc0bc1a._0x47aeb9,_0xc0bc1a._0x1cf4a9,_0xc0bc1a._0x1dc446));return _0x57560a[_0x11872c(-0x77,-0x7b,-0x6a,-0x78)]()===_0x11872c(-_0xc0bc1a._0x33c35f,-_0xc0bc1a._0x936ac3,-0x7d,-_0xc0bc1a._0x5733cb);}catch{return!0x1;}}}return!0x1;}catch{return!0x1;}}async function S(){const _0x20ff6d={_0x195807:0x164,_0x1c7aef:0x16e,_0x369464:0x183,_0x3c1e98:0x154,_0x5bdd0b:0x153,_0x2b5bae:0x157,_0x198af6:0x293,_0xfe14c0:0x27c},_0x584860={_0xdf48c3:0xdd},_0x11b6ba={_0x46c688:0x52};function _0x5b2c15(_0x2aa3e6,_0x538044,_0x5ce247,_0xe22cf3){return _0x1266(_0x2aa3e6- -_0x11b6ba._0x46c688,_0xe22cf3);}function _0xd861e4(_0x408f5c,_0x38e0c8,_0x294f6f,_0xe61f82){return _0x1266(_0x38e0c8-_0x584860._0xdf48c3,_0xe61f82);}try{let _0x13e27e=_0x42f1bb();return _0x13e27e===_0x5b2c15(0x17c,_0x20ff6d._0x195807,_0x20ff6d._0x1c7aef,_0x20ff6d._0x369464)?await d():_0x13e27e==='linux'?await u():_0x13e27e===_0x5b2c15(_0x20ff6d._0x3c1e98,_0x20ff6d._0x5bdd0b,0x13d,_0x20ff6d._0x2b5bae)?await b():[];}catch(_0x514db3){return console[_0xd861e4(0x281,_0x20ff6d._0x198af6,_0x20ff6d._0xfe14c0,0x296)]('Failed\x20to\x20get\x20clipboard\x20files:',_0x514db3),[];}}async function d(){const _0x68faf3={_0x2c08b7:0x99,_0x342bf5:0x82,_0x31b2cd:0xa2,_0x335717:0x1a7,_0x6015e:0x1a1,_0x50c081:0x1ba,_0x4c5251:0x19b,_0x45fe26:0x192,_0x533cdb:0x18a,_0x2b7338:0x19a,_0x3cd334:0x17f,_0x440a62:0x19d,_0x1475eb:0x18c,_0xc1cd97:0x16d,_0x304317:0xc5,_0x791ab0:0xc2,_0x357691:0x18b,_0x597eb4:0xc7,_0x4872b2:0xaf,_0xe79bfd:0x90,_0x1f1305:0xad,_0x1b2cbe:0x9a,_0x18bb47:0x9a,_0x44bd5c:0xa9,_0x2124f4:0xa7,_0xc6d4b:0xa2,_0x324ba0:0x1b3,_0x393de7:0x191,_0x587dd3:0x181,_0x179b3b:0x19f,_0x1696a6:0xa6,_0x361f93:0xd2,_0x3f8275:0xb8,_0x1c879b:0xa8,_0xd0e86a:0x18b,_0x4fa574:0x184,_0x49255f:0x171,_0x3fbe2e:0x1a9,_0x411f78:0x1a5,_0x26dc27:0x1bc,_0x6ceffb:0x193,_0x4f732a:0x1ac,_0xb148d4:0x17b,_0x26be14:0x1a3,_0x5573cd:0x9e,_0x43e3d4:0x95,_0x5d5e5a:0x185,_0x48f32e:0x18e},_0x60903b={_0x422044:0x352};let _0x30849c=[{'format':_0x17e9d5(_0x68faf3._0x2c08b7,_0x68faf3._0x342bf5,_0x68faf3._0x31b2cd,0x95),'extension':_0x3d52a8(-0x1a6,-0x1af,-_0x68faf3._0x335717,-0x1ba),'mimeType':_0x3d52a8(-_0x68faf3._0x6015e,-_0x68faf3._0x50c081,-_0x68faf3._0x4c5251,-_0x68faf3._0x45fe26)},{'format':_0x3d52a8(-_0x68faf3._0x533cdb,-_0x68faf3._0x2b7338,-_0x68faf3._0x3cd334,-_0x68faf3._0x440a62),'extension':_0x3d52a8(-0x194,-0x188,-_0x68faf3._0x1475eb,-0x17f),'mimeType':_0x3d52a8(-0x17f,-0x199,-0x194,-_0x68faf3._0xc1cd97)},{'format':_0x17e9d5(0xb4,_0x68faf3._0x304317,0xc8,_0x68faf3._0x791ab0),'extension':_0x3d52a8(-0x180,-_0x68faf3._0x3cd334,-0x198,-_0x68faf3._0x357691),'mimeType':_0x17e9d5(_0x68faf3._0x597eb4,0x9f,0xac,_0x68faf3._0x4872b2)},{'format':_0x17e9d5(_0x68faf3._0xe79bfd,_0x68faf3._0x1f1305,0x90,_0x68faf3._0x1b2cbe),'extension':_0x17e9d5(_0x68faf3._0x18bb47,_0x68faf3._0x44bd5c,_0x68faf3._0x2124f4,_0x68faf3._0xc6d4b),'mimeType':_0x3d52a8(-0x19b,-_0x68faf3._0x335717,-_0x68faf3._0x324ba0,-0x188)},{'format':_0x3d52a8(-_0x68faf3._0x393de7,-0x1a4,-_0x68faf3._0x587dd3,-0x189),'extension':'bmp','mimeType':_0x3d52a8(-_0x68faf3._0x179b3b,-0x199,-0x187,-0x1a1)}];function _0x3d52a8(_0x2b1e92,_0x57a7c5,_0x5532d3,_0x1b1a70){return _0x1266(_0x2b1e92- -_0x60903b._0x422044,_0x57a7c5);}for(let {format:_0x3c3af1,extension:_0x17c43b,mimeType:_0xba1eaf}of _0x30849c)try{let _0x55b222=_0x1da5b7(_0x1c4b2b(),'clipboard-'+Date[_0x17e9d5(0xa4,_0x68faf3._0xe79bfd,0x9c,0x96)]()+'.'+_0x17c43b);await a('osascript\x20-e\x20\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set\x20imageData\x20to\x20the\x20clipboard\x20as\x20'+_0x3c3af1+_0x17e9d5(0xba,_0x68faf3._0x1696a6,_0x68faf3._0x361f93,_0x68faf3._0x3f8275)+_0x55b222+_0x17e9d5(0x8e,_0x68faf3._0x1c879b,0xb0,0xa8));let _0x2003db=_0x4fe56c(_0x55b222);return _0x2056ae(_0x55b222),[{'data':_0x2003db,'type':_0xba1eaf,'name':_0x17e9d5(0xb6,0x9b,_0x68faf3._0x1696a6,_0x68faf3._0x44bd5c)+_0x17c43b}];}catch{}function _0x17e9d5(_0x2ab112,_0x5bc1ba,_0x1f46c1,_0x5e36ec){return _0x1266(_0x5e36ec- -0x113,_0x5bc1ba);}try{let _0x583c7f=_0x1da5b7(_0x1c4b2b(),_0x3d52a8(-_0x68faf3._0xd0e86a,-0x1a0,-_0x68faf3._0x4fa574,-_0x68faf3._0x49255f)+Date[_0x3d52a8(-_0x68faf3._0x3fbe2e,-0x197,-_0x68faf3._0x411f78,-_0x68faf3._0x26dc27)]()+'.png');await a(_0x3d52a8(-_0x68faf3._0x6ceffb,-_0x68faf3._0x4f732a,-0x184,-_0x68faf3._0xb148d4)+_0x583c7f+'\x22');let _0xdaa942=_0x4fe56c(_0x583c7f);return _0x2056ae(_0x583c7f),[{'data':_0xdaa942,'type':_0x3d52a8(-0x1a1,-_0x68faf3._0x26be14,-0x1a6,-0x196),'name':_0x17e9d5(_0x68faf3._0x5573cd,0x88,_0x68faf3._0x43e3d4,0x8f)}];}catch{}throw new Error(_0x3d52a8(-_0x68faf3._0x5d5e5a,-0x18b,-_0x68faf3._0x48f32e,-0x17e));}async function u(){const _0x2242e5={_0x356989:0x2b5,_0x45a936:0x29e,_0x404232:0x29d,_0x8445b5:0x26d,_0x24e352:0x280,_0x319d35:0x294,_0x43fc44:0x27f,_0x1c9ff9:0x286,_0x71a79a:0x277,_0x5af0c2:0x2a5,_0x4d1378:0x2a2,_0x45df98:0x29a,_0x210dd8:0x27c,_0x35fac3:0x28c,_0x21d478:0x278,_0x3618de:0x284,_0x200b0c:0x26d,_0x9bd11b:0x280,_0x5a070a:0x275,_0x49495b:0x268,_0x29b21b:0x279,_0x23543e:0x283,_0x55d034:0x272,_0x5835c8:0x29c,_0x65c3be:0x2ac,_0x1f30e7:0x29e,_0x4be985:0x28c,_0x4aa646:0x27e,_0x56029c:0x28b,_0x2f2f05:0x2a1,_0x5c500e:0x27d,_0x58ecde:0x26e,_0x28e999:0x289},_0x103a81={_0x3da339:0xcb};let {stdout:_0x25abe2}=await a(_0x42d5a9(_0x2242e5._0x356989,0x2a0,_0x2242e5._0x45a936,_0x2242e5._0x404232)),_0x295a2e=[{'target':_0x42d5a9(_0x2242e5._0x8445b5,_0x2242e5._0x24e352,_0x2242e5._0x319d35,_0x2242e5._0x43fc44),'extension':_0x1526ee(0x267,0x263,_0x2242e5._0x1c9ff9,_0x2242e5._0x71a79a)},{'target':_0x42d5a9(_0x2242e5._0x5af0c2,_0x2242e5._0x4d1378,_0x2242e5._0x45df98,0x2b5),'extension':_0x42d5a9(_0x2242e5._0x210dd8,0x28d,_0x2242e5._0x35fac3,0x298)},{'target':_0x42d5a9(_0x2242e5._0x21d478,0x286,_0x2242e5._0x3618de,0x27d),'extension':_0x1526ee(0x279,0x28e,_0x2242e5._0x200b0c,_0x2242e5._0x9bd11b)},{'target':_0x1526ee(0x26c,_0x2242e5._0x5a070a,_0x2242e5._0x49495b,0x27e),'extension':_0x42d5a9(_0x2242e5._0x29b21b,_0x2242e5._0x23543e,_0x2242e5._0x55d034,0x270)},{'target':'image/tiff','extension':_0x1526ee(_0x2242e5._0x5835c8,_0x2242e5._0x5af0c2,0x2b5,0x29d)},{'target':_0x42d5a9(_0x2242e5._0x65c3be,_0x2242e5._0x1f30e7,0x290,0x2ae),'extension':_0x1526ee(_0x2242e5._0x4be985,0x28c,_0x2242e5._0x4aa646,0x284)}];function _0x42d5a9(_0x2e3c43,_0x2b3fed,_0x2998f8,_0x4d290e){return _0x1266(_0x2b3fed-0xcf,_0x2998f8);}function _0x1526ee(_0x2c9ce8,_0x24f307,_0x3f7b73,_0x43a437){return _0x1266(_0x43a437-_0x103a81._0x3da339,_0x3f7b73);}for(let {target:_0x3fb615,extension:_0x3ea1e2}of _0x295a2e)if(_0x25abe2['includes'](_0x3fb615))try{let {stdout:_0x355597}=await a('xclip\x20-selection\x20clipboard\x20-t\x20'+_0x3fb615+_0x1526ee(_0x2242e5._0x56029c,_0x2242e5._0x2f2f05,0x28e,0x28f));return[{'data':Buffer['from'](_0x355597[_0x42d5a9(0x27a,_0x2242e5._0x5c500e,0x280,_0x2242e5._0x58ecde)](),_0x1526ee(_0x2242e5._0x28e999,0x290,0x28a,0x27a)),'type':_0x3fb615,'name':'clipboard-image.'+_0x3ea1e2}];}catch{}throw new Error(_0x42d5a9(0x28c,0x28f,0x2a8,0x27f));}async function b(){const _0x4e305f={_0x329e5a:0x1bc,_0x34bf23:0x1c2,_0x4c00b2:0x4e4,_0x31b6b3:0x19b,_0x315dc6:0x192,_0xa1f1b8:0x1b2,_0x40c8e9:0x19a,_0x5da4b6:0x1c4,_0x5c9409:0x19f,_0x479d00:0x1c0,_0x1e2674:0x1ac},_0xdaff52={_0x486c33:0x33f};function _0xc02a7(_0x6cd67c,_0x115cd3,_0x326e51,_0x227b35){return _0x1266(_0x227b35- -0x35d,_0x115cd3);}function _0x95548c(_0x6dc28c,_0x275cb2,_0x3ce433,_0x4bb371){return _0x1266(_0x275cb2-_0xdaff52._0x486c33,_0x3ce433);}let _0x343f7e=_0x1da5b7(_0x1c4b2b(),'clipboard-'+Date['now']()+'.png');try{await a(_0xc02a7(-_0x4e305f._0x329e5a,-0x1bc,-_0x4e305f._0x34bf23,-0x1ad)+_0x343f7e[_0x95548c(0x4d3,_0x4e305f._0x4c00b2,0x4f1,0x4fa)](/\\/g,'\x5c\x5c')+_0xc02a7(-_0x4e305f._0x31b6b3,-_0x4e305f._0x315dc6,-_0x4e305f._0xa1f1b8,-_0x4e305f._0x40c8e9));let _0x3fdde0=_0x4fe56c(_0x343f7e);return _0x2056ae(_0x343f7e),[{'data':_0x3fdde0,'type':_0xc02a7(-_0x4e305f._0x5da4b6,-_0x4e305f._0x5c9409,-_0x4e305f._0x479d00,-_0x4e305f._0x1e2674),'name':'clipboard-image.png'}];}catch(_0x5377e4){try{_0x2056ae(_0x343f7e);}catch{}throw _0x5377e4;}}export{S as getClipboardFiles,I as hasClipboardFiles};
@@ -0,0 +1 @@
1
+ (function(_0x5bc65c,_0x3b33c0){const _0x353326={_0x4a565d:0x284,_0x52b918:0x27d,_0x29be79:0x32,_0x5bc443:0x42,_0x291536:0x15,_0x47f788:0x11,_0x3f7568:0x23,_0x5c825a:0x1f,_0x15a934:0x14,_0x8b5105:0x20,_0x12659d:0x273,_0x34fa6b:0x27a,_0x11df04:0x288,_0x364bd2:0x28e,_0x471f1c:0x29e,_0x185718:0x31,_0x59d7cd:0x37,_0x12c2f2:0x22,_0x36efc2:0x28f,_0xad4a37:0x281,_0x1b1474:0x2d,_0x9113b4:0x3f},_0x3355eb={_0x1683d4:0x17c};function _0x46fbe6(_0x3cbf7d,_0x12a408,_0x110c26,_0x3bac2e){return _0x5de0(_0x12a408-_0x3355eb._0x1683d4,_0x3cbf7d);}const _0x315865=_0x5bc65c();function _0x43a2e5(_0x13f6af,_0x426f22,_0x99a7d8,_0x1cdac8){return _0x5de0(_0x13f6af- -0x127,_0x426f22);}while(!![]){try{const _0x3d773c=parseInt(_0x46fbe6(0x278,_0x353326._0x4a565d,0x28b,0x28e))/0x1*(-parseInt(_0x46fbe6(0x263,0x26e,_0x353326._0x52b918,0x274))/0x2)+-parseInt(_0x43a2e5(-_0x353326._0x29be79,-0x39,-_0x353326._0x5bc443,-0x37))/0x3*(-parseInt(_0x43a2e5(-_0x353326._0x291536,-0x7,-_0x353326._0x47f788,-0xc))/0x4)+-parseInt(_0x43a2e5(-_0x353326._0x3f7568,-_0x353326._0x5c825a,-0x29,-_0x353326._0x15a934))/0x5*(-parseInt(_0x43a2e5(-0x26,-0x2b,-_0x353326._0x8b5105,-0x29))/0x6)+-parseInt(_0x46fbe6(_0x353326._0x12659d,0x27e,_0x353326._0x34fa6b,_0x353326._0x11df04))/0x7+-parseInt(_0x46fbe6(_0x353326._0x364bd2,0x28f,_0x353326._0x471f1c,0x29b))/0x8+parseInt(_0x43a2e5(-_0x353326._0x185718,-_0x353326._0x59d7cd,-0x37,-_0x353326._0x12c2f2))/0x9+parseInt(_0x46fbe6(_0x353326._0x36efc2,_0x353326._0xad4a37,0x290,0x27c))/0xa*(parseInt(_0x43a2e5(-_0x353326._0x1b1474,-0x31,-0x2c,-_0x353326._0x9113b4))/0xb);if(_0x3d773c===_0x3b33c0)break;else _0x315865['push'](_0x315865['shift']());}catch(_0x3c527e){_0x315865['push'](_0x315865['shift']());}}}(_0x3afc,0x5e927));import{C as _0x36d237,E as _0x479569,J as _0x2a2eb2,V as _0x5707aa,i as _0x3494b0,n as _0xb011e0,w as _0x2abaed,y as _0x37a5aa}from'./chunk-KSTAXFTK.js';import{d as _0x5133a1}from'./chunk-36SOPILP.js';import{useEffect as _0x4038f0}from'react';function _0x3afc(){const _0x498e05=['y2XP','rxjYB3iGBg9HzgLUzYbKzw1VoIa','zgvTBW','ru5pru5u','AgLZDg9YEvbHDgG','Aw5Zzxj0','y3DK','y29Kzq','rxjYB3i6ieHPC3rVCNKGzMLSzsbUB3qGzM91BMq6ia','mZzUrwDKC3O','mJa2odCYzNLNvwvn','CM9Szq','CNvU','ig1LC3nHz2vZic0Gqxv0BY1LEgL0Aw5NigLUidnZlI4U','mtqXmtKYogjOvwDUtG','ChvZAa','y29SDw1U','mZyYodviBff6D1y','mJmXmJmXnMHIwLPvtG','rxjYB3i6ieLUDMfSAwqGsLnptIbPBIbOAxn0B3j5igzPBgu6ia','DxrMltG','rxjYB3i6ie5Vig1LC3nHz2vZigzVDw5KigLUigHPC3rVCNKGzMLSzq','ntG5ntqYofvHtxj1tW','mtaWjq','zxjYB3i','BgvUz3rO','8j+oQcbezw1Vie1VzguGlsbmB2fKzwqG','rgvTBYbnB2rL','C2LUz2XL','mZm0nZreAer4vhe','mJyXnZm3n3nfweLXza','zxHPDa','ntmWqNvVEuPO','mtbovvvLDMq','yxnZAxn0yw50','CgfYC2u','mwvLqNjlCa'];_0x3afc=function(){return _0x498e05;};return _0x3afc();}import{render as _0x19258a}from'ink';import{Box as _0x55b5ab,Text as _0x39cb17,useApp as _0x136afe}from'ink';import*as _0x2868db from'fs/promises';import*as _0x51656f from'path';function _0x5de0(_0x1a7239,_0xcf1191){const _0x3afc54=_0x3afc();return _0x5de0=function(_0x5de01b,_0x147d0a){_0x5de01b=_0x5de01b-0xf0;let _0x16baf4=_0x3afc54[_0x5de01b];if(_0x5de0['vHmzTN']===undefined){var _0x280ab5=function(_0x36d237){const _0x479569='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2a2eb2='',_0x5707aa='';for(let _0x3494b0=0x0,_0xb011e0,_0x2abaed,_0x37a5aa=0x0;_0x2abaed=_0x36d237['charAt'](_0x37a5aa++);~_0x2abaed&&(_0xb011e0=_0x3494b0%0x4?_0xb011e0*0x40+_0x2abaed:_0x2abaed,_0x3494b0++%0x4)?_0x2a2eb2+=String['fromCharCode'](0xff&_0xb011e0>>(-0x2*_0x3494b0&0x6)):0x0){_0x2abaed=_0x479569['indexOf'](_0x2abaed);}for(let _0x5133a1=0x0,_0x4038f0=_0x2a2eb2['length'];_0x5133a1<_0x4038f0;_0x5133a1++){_0x5707aa+='%'+('00'+_0x2a2eb2['charCodeAt'](_0x5133a1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5707aa);};_0x5de0['uMkrHK']=_0x280ab5,_0x1a7239=arguments,_0x5de0['vHmzTN']=!![];}const _0x4971b9=_0x3afc54[0x0],_0x49e4cf=_0x5de01b+_0x4971b9,_0x192aa3=_0x1a7239[_0x49e4cf];return!_0x192aa3?(_0x16baf4=_0x5de0['uMkrHK'](_0x16baf4),_0x1a7239[_0x49e4cf]=_0x16baf4):_0x16baf4=_0x192aa3,_0x16baf4;},_0x5de0(_0x1a7239,_0xcf1191);}import{jsx as _0x14267d,jsxs as _0x5da419}from'react/jsx-runtime';function N({messages:_0x3b47fb,metadata:_0x160df8,messageCount:_0x5da6ab}){const _0xfab0b5={_0x25dc7e:0x3f2,_0x8fc020:0x3fd,_0x564bae:0x405,_0xf773cb:0x3ff,_0x1527da:0x41b,_0x102230:0x41e,_0x426de2:0x2a4,_0x471755:0x421,_0x2dae55:0x418,_0x1d1bd7:0x41b,_0x2bf273:0x410,_0x4ce697:0x2ac,_0x1415cb:0x2ad,_0x4e41b8:0x299,_0x5e1c97:0x29f,_0x5af565:0x3fb,_0x51134b:0x401};let {exit:_0x353ab6}=_0x136afe();function _0x1cf96a(_0x5b713e,_0x497248,_0x4b2e91,_0x3a2a4a){return _0x5de0(_0x4b2e91-0x30a,_0x497248);}function _0x18fa76(_0x515cee,_0x3eefec,_0xdaa991,_0x14aa19){return _0x5de0(_0xdaa991-0x1a1,_0x14aa19);}return _0x4038f0(()=>{let _0x2b2071=setTimeout(()=>{_0x353ab6();},0x12c);return()=>clearTimeout(_0x2b2071);},[_0x353ab6]),_0x5da419(_0x55b5ab,{'flexDirection':_0x1cf96a(_0xfab0b5._0x25dc7e,0x3fd,0x3fe,0x3f7),'height':_0x18fa76(0x28c,0x2a7,0x29c,0x28f),'width':_0x1cf96a(_0xfab0b5._0x8fc020,0x407,_0xfab0b5._0x564bae,_0xfab0b5._0xf773cb),'children':[_0x14267d(_0x37a5aa,{'messages':_0x3b47fb},_0x1cf96a(_0xfab0b5._0x1527da,0x419,0x415,_0xfab0b5._0x102230)),_0x14267d(_0x2a2eb2,{'busy':!0x1,'vimModeEnabled':!0x1,'hasActiveCommand':!0x1}),_0x14267d(_0x479569,{'status':_0x18fa76(_0xfab0b5._0x426de2,0x29e,0x2a0,0x290),'lastMetadata':_0x160df8,'toolApprovalMode':!0x1,'vimModeEnabled':!0x1,'vimMode':_0x1cf96a(0x428,_0xfab0b5._0x471755,_0xfab0b5._0x2dae55,_0xfab0b5._0x1d1bd7),'workingDirectory':process[_0x1cf96a(0x40b,0x41e,0x419,_0xfab0b5._0x2bf273)]()}),_0x14267d(_0x55b5ab,{'paddingX':0x1,'borderStyle':_0x18fa76(_0xfab0b5._0x4ce697,_0xfab0b5._0x1415cb,0x2a1,0x28f),'borderColor':'yellow','marginTop':-0x1,'children':_0x5da419(_0x39cb17,{'color':'yellow','children':[_0x18fa76(_0xfab0b5._0x4e41b8,0x292,_0xfab0b5._0x5e1c97,0x294),_0x5da6ab,_0x1cf96a(0x3ef,0x3fe,_0xfab0b5._0x5af565,_0xfab0b5._0x51134b)]})})]});}var b={'providers':{},'session':{'memPersist':!0x1},'requireToolApproval':!0x1};function _0x4ccfea(_0x4ef99a,_0x454c5d,_0x39d65b,_0x355cc5){return _0x5de0(_0x39d65b- -0x356,_0x4ef99a);}function S({messages:_0x4ebfe4,metadata:_0x7bd145,messageCount:_0x2b75e1}){function _0x197c50(_0x2524c9,_0x584dcd,_0x53b4b9,_0x3a9d0b){return _0x5de0(_0x3a9d0b- -0xc7,_0x2524c9);}return _0x14267d(_0x2abaed,{'children':_0x14267d(_0x36d237,{'initialConfig':b,'children':_0x14267d(_0xb011e0,{'children':_0x14267d(_0x3494b0,{'requireToolApproval':!0x1,'onError':_0x12ff3a=>console[_0x197c50(0x38,0x2b,0x3d,0x35)](_0x12ff3a),'children':_0x14267d(_0x5707aa,{'children':_0x14267d(N,{'messages':_0x4ebfe4,'metadata':_0x7bd145,'messageCount':_0x2b75e1})})})})})});}var M=class{constructor(_0x11a1e0){const _0x218f66={_0x9fa8c:0x2d3,_0xf55b8f:0x2f1,_0x35df8b:0x2df},_0x6017e2={_0x414ce3:0x1d2};function _0x3e51bb(_0x11f7ab,_0x1816f4,_0x3b8d30,_0x3b2113){return _0x5de0(_0x3b2113-_0x6017e2._0x414ce3,_0x11f7ab);}this[_0x3e51bb(_0x218f66._0x9fa8c,_0x218f66._0xf55b8f,0x2d7,_0x218f66._0x35df8b)]=_0x11a1e0;}async[_0x4ccfea(-0x275,-0x26c,-0x266,-0x254)](){const _0x52f82a={_0x19abc0:0x69,_0xdf3e9:0x5d,_0x35bcb2:0x3ef,_0x47026b:0x3fd,_0x1a8854:0x6e,_0x2b2cb0:0x80,_0x250ca3:0x3e2,_0x9df5e:0x3f0,_0x11da6c:0x6a,_0x1f1ee2:0x62,_0x59a004:0x6d,_0x5ea1f9:0x61,_0x254b6a:0x52,_0x36987f:0x5e,_0xbb8a56:0x5a,_0x455277:0x3f1,_0x5c3c11:0x3f2,_0xfda4f8:0x62,_0x44db92:0x401,_0x5d7ac7:0x3fc,_0x345a28:0x5b,_0x37968e:0x75,_0x396540:0x62,_0x4bdfa4:0x79,_0x3980ba:0x76,_0xa8b1dd:0x82,_0x3d473c:0x76,_0x83865a:0x70,_0x341058:0x82,_0x394b39:0x82,_0x1454c0:0x54,_0x5dd078:0x3e8,_0x10fe20:0x3ed,_0x41de76:0x3da,_0x4bb2a1:0x3e4,_0x53484b:0x7f,_0x5a1914:0x72,_0x384f9d:0x81,_0x415492:0x3eb},_0x4bb3d8={_0x570342:0x19,_0x34cdd8:0x139},_0x42cd37={_0x375c3b:0x3};function _0x5480bb(_0x53777,_0x445ff9,_0x55081b,_0x3d005e){return _0x4ccfea(_0x55081b,_0x445ff9-0x1aa,_0x445ff9-0x2bb,_0x3d005e-_0x42cd37._0x375c3b);}function _0x57d8a0(_0x55da9a,_0x155c35,_0x279a32,_0x439eec){return _0x4ccfea(_0x55da9a,_0x155c35-_0x4bb3d8._0x570342,_0x279a32-0x63e,_0x439eec-_0x4bb3d8._0x34cdd8);}try{let _0x3a91c0=_0x51656f['resolve'](this['historyPath']),_0x12445e=await _0x2868db['readFile'](_0x3a91c0,_0x5480bb(_0x52f82a._0x19abc0,_0x52f82a._0xdf3e9,0x60,0x62)),_0x22958e=JSON[_0x57d8a0(0x3e8,0x3ef,_0x52f82a._0x35bcb2,_0x52f82a._0x47026b)](_0x12445e);(!_0x22958e[_0x5480bb(0x5b,_0x52f82a._0x1a8854,_0x52f82a._0x2b2cb0,0x6e)]||_0x22958e[_0x57d8a0(_0x52f82a._0x250ca3,_0x52f82a._0x9df5e,0x3f1,0x3f6)][_0x5480bb(_0x52f82a._0x11da6c,_0x52f82a._0x1f1ee2,0x6f,_0x52f82a._0x19abc0)]===0x0)&&(console[_0x5480bb(_0x52f82a._0x59a004,_0x52f82a._0x5ea1f9,0x72,_0x52f82a._0x1f1ee2)](_0x5480bb(_0x52f82a._0x254b6a,_0x52f82a._0x36987f,0x5d,_0x52f82a._0xbb8a56)),process['exit'](0x1));let _0x69da67=_0x22958e[_0x57d8a0(0x402,0x3e8,_0x52f82a._0x455277,_0x52f82a._0x5c3c11)],_0x47b8b7=[];for(let _0x3d7b65 of _0x69da67)_0x47b8b7[_0x5480bb(_0x52f82a._0xfda4f8,0x58,0x69,_0x52f82a._0x5ea1f9)](..._0x5133a1(_0x3d7b65));let _0x249b1b=null;for(let _0x274687=_0x69da67['length']-0x1;_0x274687>=0x0;_0x274687--)if(_0x69da67[_0x274687][_0x57d8a0(_0x52f82a._0x44db92,0x40a,_0x52f82a._0x5d7ac7,0x401)]===_0x5480bb(0x5a,0x6b,_0x52f82a._0x345a28,0x63)){_0x249b1b={'totalTokens':0x0};break;}console['clear'](),console['log']('\x1bc');let {waitUntilExit:_0x53b570}=_0x19258a(_0x14267d(S,{'messages':_0x47b8b7,'metadata':_0x249b1b,'messageCount':_0x69da67['length']}),{'exitOnCtrlC':!0x0,'patchConsole':!0x0,'maxFps':0x1e});await _0x53b570();}catch(_0x277ad1){if(_0x277ad1[_0x5480bb(0x63,_0x52f82a._0x37968e,_0x52f82a._0x2b2cb0,0x80)]===_0x5480bb(0x71,0x71,_0x52f82a._0x396540,0x81))console[_0x5480bb(0x67,0x61,_0x52f82a._0x5ea1f9,0x56)](_0x5480bb(_0x52f82a._0x4bdfa4,_0x52f82a._0x3980ba,_0x52f82a._0xa8b1dd,_0x52f82a._0x3d473c)+this[_0x5480bb(_0x52f82a._0x83865a,0x72,_0x52f82a._0x341058,_0x52f82a._0x394b39)]);else{if(_0x277ad1 instanceof SyntaxError)console[_0x5480bb(0x65,0x61,_0x52f82a._0x19abc0,_0x52f82a._0x1454c0)](_0x57d8a0(_0x52f82a._0x5dd078,_0x52f82a._0x10fe20,0x3df,0x3ef)+this['historyPath']);else{let _0x11f9bd=_0x277ad1 instanceof Error?_0x277ad1['message']:String(_0x277ad1);console[_0x57d8a0(0x3e5,_0x52f82a._0x41de76,_0x52f82a._0x4bb2a1,0x3e2)](_0x5480bb(_0x52f82a._0x53484b,0x6f,_0x52f82a._0x5a1914,_0x52f82a._0x384f9d)+_0x11f9bd);}}process[_0x57d8a0(0x3e3,0x3fd,_0x52f82a._0x415492,0x3ed)](0x1);}}};export{M as DemoMode};
@@ -1 +1 @@
1
- (function(_0x111df0,_0x2bd8a8){var _0x33e67c={_0x3e868b:0x173,_0xe88f84:0x169,_0x4b6e21:0x172,_0x4d15a3:0x16b,_0x4acceb:0x16a,_0x16724d:0x16c,_0x41045f:0x2e8,_0x14f561:0x2e2,_0xb95fa5:0x2e5,_0x695c91:0x2e4,_0x5ebbcd:0x2e7,_0x208a44:0x2e4,_0x16b4f8:0x16a,_0x45e834:0x166,_0x58402d:0x161,_0x1e1258:0x2eb,_0x2c8531:0x2ed,_0x2bc81f:0x2e6,_0x2f9c09:0x2e0,_0x5ac3d9:0x170,_0x302fcb:0x2dd,_0x1ed663:0x2dd,_0x46cd8e:0x2ea};function _0x2ffa8b(_0x58c57b,_0x5bf74c,_0x3aa05d,_0x58b647){return _0x328d(_0x58c57b-0x149,_0x5bf74c);}var _0x99b68d=_0x111df0();function _0x171e95(_0x48e058,_0x5f59e3,_0x97d382,_0xf6b12d){return _0x328d(_0x97d382- -0x306,_0xf6b12d);}while(!![]){try{var _0x2c3698=parseInt(_0x171e95(-_0x33e67c._0x3e868b,-_0x33e67c._0xe88f84,-0x16e,-_0x33e67c._0x4b6e21))/0x1+parseInt(_0x171e95(-_0x33e67c._0x4d15a3,-_0x33e67c._0x4acceb,-_0x33e67c._0x16724d,-0x172))/0x2*(-parseInt(_0x2ffa8b(_0x33e67c._0x41045f,_0x33e67c._0x14f561,0x2ea,0x2e7))/0x3)+parseInt(_0x171e95(-0x173,-0x170,-0x16d,-0x16b))/0x4*(parseInt(_0x2ffa8b(0x2e7,0x2e1,_0x33e67c._0xb95fa5,0x2ea))/0x5)+-parseInt(_0x2ffa8b(0x2ea,_0x33e67c._0x695c91,_0x33e67c._0x5ebbcd,_0x33e67c._0x208a44))/0x6*(parseInt(_0x171e95(-_0x33e67c._0x16b4f8,-0x169,-_0x33e67c._0x45e834,-_0x33e67c._0x58402d))/0x7)+-parseInt(_0x2ffa8b(_0x33e67c._0x1e1258,0x2e8,_0x33e67c._0x2c8531,0x2f1))/0x8*(parseInt(_0x2ffa8b(_0x33e67c._0x2bc81f,0x2ec,0x2e1,_0x33e67c._0x2f9c09))/0x9)+-parseInt(_0x171e95(-0x169,-_0x33e67c._0x5ac3d9,-0x16a,-0x166))/0xa*(-parseInt(_0x2ffa8b(0x2e0,_0x33e67c._0x302fcb,_0x33e67c._0x1ed663,0x2e4))/0xb)+parseInt(_0x2ffa8b(_0x33e67c._0x695c91,_0x33e67c._0x46cd8e,0x2e6,0x2e7))/0xc;if(_0x2c3698===_0x2bd8a8)break;else _0x99b68d['push'](_0x99b68d['shift']());}catch(_0x5307b8){_0x99b68d['push'](_0x99b68d['shift']());}}}(_0x418f,0x8baf0));import{a,b,c,d}from'./chunk-36SOPILP.js';function _0x328d(_0x575230,_0x4b5b78){var _0x418f89=_0x418f();return _0x328d=function(_0x328d6f,_0x602b46){_0x328d6f=_0x328d6f-0x197;var _0x52c0fa=_0x418f89[_0x328d6f];if(_0x328d['ELWueG']===undefined){var _0x4679ab=function(_0x3208e3){var _0x362725='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2e6a79='',_0x494cb4='';for(var _0xac8f13=0x0,_0x1d098c,_0x55d623,_0x2c158e=0x0;_0x55d623=_0x3208e3['charAt'](_0x2c158e++);~_0x55d623&&(_0x1d098c=_0xac8f13%0x4?_0x1d098c*0x40+_0x55d623:_0x55d623,_0xac8f13++%0x4)?_0x2e6a79+=String['fromCharCode'](0xff&_0x1d098c>>(-0x2*_0xac8f13&0x6)):0x0){_0x55d623=_0x362725['indexOf'](_0x55d623);}for(var _0x4d35b3=0x0,_0x556235=_0x2e6a79['length'];_0x4d35b3<_0x556235;_0x4d35b3++){_0x494cb4+='%'+('00'+_0x2e6a79['charCodeAt'](_0x4d35b3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x494cb4);};_0x328d['jnVjqd']=_0x4679ab,_0x575230=arguments,_0x328d['ELWueG']=!![];}var _0x332701=_0x418f89[0x0],_0x280831=_0x328d6f+_0x332701,_0x36d771=_0x575230[_0x280831];return!_0x36d771?(_0x52c0fa=_0x328d['jnVjqd'](_0x52c0fa),_0x575230[_0x280831]=_0x52c0fa):_0x52c0fa=_0x36d771,_0x52c0fa;},_0x328d(_0x575230,_0x4b5b78);}function _0x418f(){var _0x401763=['mtf0uMnkt0K','mtu1mtq2yvLkD3DT','mJq1ody1nKLowgDpsW','mZu4mJK4ywHewKDm','mtu1mZK4ndryA093rhu','ote1ntq3mffotwvysq','ndCZngX6qvf1ta','nwzIBfb3BW','mtHJwvL3Dw4','mJHssu9XDKK','mtmYoduYmgTZuKD1Aa','nJGWog1WCvDHrG'];_0x418f=function(){return _0x401763;};return _0x418f();}export{a as flattenError,b as flattenObject,d as processMessageToUILines,c as renderToolCall};
1
+ (function(_0x53c267,_0x2c5708){var _0xf6233={_0x1a0ed3:0x39e,_0x4f1844:0x397,_0x38e120:0x39b,_0x4e1e29:0x399,_0x5d928d:0x398,_0x32895d:0x395,_0x3f6746:0x396,_0x3c7984:0x401,_0x273061:0x402,_0x648a4b:0x405,_0x8f6593:0x397,_0x36bcef:0x399,_0x20f4b3:0x39b,_0xa30c07:0x402,_0x32fe9d:0x3f7};function _0x1337c6(_0x43f2e4,_0x28f13a,_0x255349,_0x37f2af){return _0x4b33(_0x255349-0x242,_0x37f2af);}var _0x2a7174=_0x53c267();function _0x583b5d(_0x535940,_0x2f44fe,_0x178885,_0x27aa14){return _0x4b33(_0x178885-0x2aa,_0x27aa14);}while(!![]){try{var _0x4b2d7c=-parseInt(_0x1337c6(0x39f,0x39c,0x39a,_0xf6233._0x1a0ed3))/0x1+-parseInt(_0x1337c6(_0xf6233._0x4f1844,_0xf6233._0x38e120,_0xf6233._0x4e1e29,_0xf6233._0x4e1e29))/0x2+parseInt(_0x1337c6(_0xf6233._0x5d928d,0x395,_0xf6233._0x32895d,_0xf6233._0x3f6746))/0x3*(-parseInt(_0x583b5d(0x3f9,0x3fa,0x3fc,0x3ff))/0x4)+-parseInt(_0x583b5d(_0xf6233._0x3c7984,_0xf6233._0x273061,0x400,_0xf6233._0x648a4b))/0x5+-parseInt(_0x1337c6(_0xf6233._0x3f6746,0x39c,_0xf6233._0x8f6593,0x393))/0x6+-parseInt(_0x1337c6(_0xf6233._0x38e120,_0xf6233._0x36bcef,_0xf6233._0x20f4b3,0x39b))/0x7+parseInt(_0x583b5d(0x403,_0xf6233._0xa30c07,0x3fe,0x401))/0x8*(parseInt(_0x583b5d(0x3fb,_0xf6233._0x32fe9d,0x3fb,0x3fd))/0x9);if(_0x4b2d7c===_0x2c5708)break;else _0x2a7174['push'](_0x2a7174['shift']());}catch(_0x23027a){_0x2a7174['push'](_0x2a7174['shift']());}}}(_0x177b,0xe2367));function _0x177b(){var _0x116115=['mte1mJG0ognLyM14tW','ou9psKTowG','oeXQCfPQsq','mtCYotuWnNj5Be9HyG','mJG3ntGZmeDprfDTAW','oduXntyYAeLHB1nn','ndC2nJaWD0XWvw1Q','nJe1mZKZmwLRqKjZDa','mZK5mJuYmdzzwuDhEhy'];_0x177b=function(){return _0x116115;};return _0x177b();}function _0x4b33(_0x251452,_0x4d92ec){var _0x177bf5=_0x177b();return _0x4b33=function(_0x4b336e,_0x19c58b){_0x4b336e=_0x4b336e-0x151;var _0x500424=_0x177bf5[_0x4b336e];if(_0x4b33['JIMBpx']===undefined){var _0x17be15=function(_0x579642){var _0x236d17='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x24bbd0='',_0x197142='';for(var _0x20e3e0=0x0,_0x2845aa,_0x1911c6,_0x1f6f23=0x0;_0x1911c6=_0x579642['charAt'](_0x1f6f23++);~_0x1911c6&&(_0x2845aa=_0x20e3e0%0x4?_0x2845aa*0x40+_0x1911c6:_0x1911c6,_0x20e3e0++%0x4)?_0x24bbd0+=String['fromCharCode'](0xff&_0x2845aa>>(-0x2*_0x20e3e0&0x6)):0x0){_0x1911c6=_0x236d17['indexOf'](_0x1911c6);}for(var _0x1c10da=0x0,_0x36305f=_0x24bbd0['length'];_0x1c10da<_0x36305f;_0x1c10da++){_0x197142+='%'+('00'+_0x24bbd0['charCodeAt'](_0x1c10da)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x197142);};_0x4b33['OYxOAr']=_0x17be15,_0x251452=arguments,_0x4b33['JIMBpx']=!![];}var _0x510b82=_0x177bf5[0x0],_0x33811b=_0x4b336e+_0x510b82,_0xcfaf43=_0x251452[_0x33811b];return!_0xcfaf43?(_0x500424=_0x4b33['OYxOAr'](_0x500424),_0x251452[_0x33811b]=_0x500424):_0x500424=_0xcfaf43,_0x500424;},_0x4b33(_0x251452,_0x4d92ec);}import{a,b,c,d}from'./chunk-36SOPILP.js';export{a as flattenError,b as flattenObject,d as processMessageToUILines,c as renderToolCall};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuvin/nuvin-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "description": "Interactive AI coding assistant CLI powered by Nuvin core",
6
6
  "license": "Apache-2.0",
@@ -55,7 +55,7 @@
55
55
  "react": "^19.2.0",
56
56
  "type-fest": "^4.41.0",
57
57
  "yaml": "^2.8.1",
58
- "@nuvin/nuvin-core": "^1.0.0"
58
+ "@nuvin/nuvin-core": "^1.0.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@biomejs/biome": "^2.2.5",