@nuvin/nuvin-cli 1.0.1 → 1.1.0
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/VERSION +2 -2
- package/dist/chunk-36SOPILP.js +1 -1
- package/dist/chunk-AHCP6GFO.js +1 -0
- package/dist/chunk-AJHDLTY3.js +1 -0
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-LHF44FMP.js +1 -0
- package/dist/messageProcessor-ACCG5YCI.js +1 -1
- package/dist/update-checker-JOQLO52K.js +1 -0
- package/package.json +1 -1
- package/dist/chunk-MQZ43J2Z.js +0 -1
- package/dist/demo-mode-KFAJ4HPC.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xf455(_0x1f84eb,_0x4ce23c){const _0x200f54=_0x200f();return _0xf455=function(_0xf45525,_0x5272b9){_0xf45525=_0xf45525-0x186;let _0x475333=_0x200f54[_0xf45525];if(_0xf455['MHOVZg']===undefined){var _0x2186d9=function(_0x36cc5){const _0x139dce='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54baf='',_0x2f0600='';for(let _0x5a4c1e=0x0,_0x36f947,_0x7e358b,_0x40e32d=0x0;_0x7e358b=_0x36cc5['charAt'](_0x40e32d++);~_0x7e358b&&(_0x36f947=_0x5a4c1e%0x4?_0x36f947*0x40+_0x7e358b:_0x7e358b,_0x5a4c1e++%0x4)?_0x54baf+=String['fromCharCode'](0xff&_0x36f947>>(-0x2*_0x5a4c1e&0x6)):0x0){_0x7e358b=_0x139dce['indexOf'](_0x7e358b);}for(let _0x36ea75=0x0,_0x5ca547=_0x54baf['length'];_0x36ea75<_0x5ca547;_0x36ea75++){_0x2f0600+='%'+('00'+_0x54baf['charCodeAt'](_0x36ea75)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f0600);};_0xf455['BIHUkg']=_0x2186d9,_0x1f84eb=arguments,_0xf455['MHOVZg']=!![];}const _0x2a1c3a=_0x200f54[0x0],_0x38e4ad=_0xf45525+_0x2a1c3a,_0x4bee61=_0x1f84eb[_0x38e4ad];return!_0x4bee61?(_0x475333=_0xf455['BIHUkg'](_0x475333),_0x1f84eb[_0x38e4ad]=_0x475333):_0x475333=_0x4bee61,_0x475333;},_0xf455(_0x1f84eb,_0x4ce23c);}(function(_0xab54c7,_0x203971){const _0x4dbadf={_0x390687:0x75,_0x37c84a:0x29e,_0x52b021:0x286,_0x2943ea:0x2ce,_0x23cd09:0x2c8,_0x1ad52a:0x55,_0x19bc5c:0x56,_0x514d1d:0x2af,_0x375b88:0x2ca,_0x2aec93:0x2d3,_0x34d93d:0x2cb,_0x331b3a:0x52,_0x268534:0x62,_0x1658c7:0x61,_0x1c10bc:0x88,_0x2c6bf0:0x85,_0x5ea7ef:0x54,_0x265017:0x6e,_0x58b418:0x64,_0x3fa5b3:0x70,_0x216ed5:0x4f,_0xd33475:0x2c9},_0x5cd4d1={_0x31159e:0x130};function _0x1ddf1a(_0x61f961,_0x68427e,_0x1a084a,_0x2da3e3){return _0xf455(_0x2da3e3- -_0x5cd4d1._0x31159e,_0x61f961);}const _0x43d1bf=_0xab54c7();function _0x88b570(_0x1d7ca,_0x224276,_0x327e49,_0x56f80e){return _0xf455(_0x56f80e-0x115,_0x327e49);}while(!![]){try{const _0x4925c5=-parseInt(_0x1ddf1a(0x73,_0x4dbadf._0x390687,0x74,0x7b))/0x1*(-parseInt(_0x88b570(_0x4dbadf._0x37c84a,_0x4dbadf._0x52b021,0x28c,0x29f))/0x2)+parseInt(_0x88b570(0x2b5,_0x4dbadf._0x2943ea,0x2cc,_0x4dbadf._0x23cd09))/0x3*(parseInt(_0x1ddf1a(0x3c,0x6c,_0x4dbadf._0x1ad52a,_0x4dbadf._0x19bc5c))/0x4)+-parseInt(_0x88b570(0x2c1,_0x4dbadf._0x514d1d,0x2e4,_0x4dbadf._0x375b88))/0x5+parseInt(_0x88b570(0x2e3,_0x4dbadf._0x2aec93,0x2c1,_0x4dbadf._0x34d93d))/0x6*(-parseInt(_0x1ddf1a(_0x4dbadf._0x331b3a,0x6b,_0x4dbadf._0x268534,_0x4dbadf._0x1658c7))/0x7)+-parseInt(_0x1ddf1a(_0x4dbadf._0x1c10bc,_0x4dbadf._0x2c6bf0,_0x4dbadf._0x5ea7ef,_0x4dbadf._0x265017))/0x8*(-parseInt(_0x1ddf1a(0x73,_0x4dbadf._0x58b418,0x72,_0x4dbadf._0x3fa5b3))/0x9)+-parseInt(_0x1ddf1a(0x56,_0x4dbadf._0x216ed5,0x58,0x67))/0xa+parseInt(_0x88b570(_0x4dbadf._0xd33475,0x2bf,0x2ac,0x2c5))/0xb;if(_0x4925c5===_0x203971)break;else _0x43d1bf['push'](_0x43d1bf['shift']());}catch(_0x57dae2){_0x43d1bf['push'](_0x43d1bf['shift']());}}}(_0x200f,0xadc86));import{exec as _0x36cc5}from'child_process';import{promisify as _0x139dce}from'util';import{platform as _0x54baf}from'os';import{readFileSync as _0x2f0600,unlinkSync as _0x5a4c1e}from'fs';import{tmpdir as _0x36f947}from'os';import{join as _0x7e358b}from'path';var a=_0x139dce(_0x36cc5);async function I(){const _0x51966f={_0x16192e:0x33d,_0x40519e:0x354,_0x2c98dc:0x357,_0x4a6629:0x401,_0x493285:0x3e7,_0x264ea6:0x339,_0x1b7883:0x32b,_0x27f42d:0x340,_0x4a7929:0x33c,_0x4b75b0:0x33f,_0x1c1453:0x346,_0x5276af:0x40e,_0x8868d1:0x425,_0x1f6eb0:0x36a,_0x3bb0d7:0x34f,_0x316eb6:0x3e9,_0x195e13:0x3ea,_0x5f23cd:0x343,_0x54d92d:0x336,_0x1c11ce:0x41b,_0x19b11c:0x40d,_0x2f9a3e:0x36e,_0x33d258:0x34c,_0x3f832c:0x3da,_0x2c5e9c:0x3e1,_0x4cb3cc:0x376,_0x42c3e1:0x3f4,_0xc998c9:0x3df,_0x2b57ab:0x33d,_0x3476de:0x359,_0x712585:0x343,_0x43d91f:0x32c,_0x5ea258:0x3e3,_0x51cf9e:0x3e5,_0x528abf:0x33b,_0x1ccb13:0x325,_0x45f88b:0x336,_0x35637d:0x3e6,_0x3a8e5b:0x3d7,_0x45eba0:0x33f,_0x459743:0x331,_0x3fb2cd:0x32d,_0x1c0561:0x3de,_0x405f70:0x3d2,_0x5cd0a2:0x347,_0x4e040a:0x330,_0x3d249d:0x349,_0x2442bc:0x339,_0x2b63f0:0x403,_0x4ca69b:0x3dc,_0x2f1c8:0x406,_0x139cb7:0x3f3,_0x2f45d1:0x32c},_0x51f68a={_0x1d72fe:0x253};function _0x2f0ed9(_0x3b7ff1,_0x1f3a37,_0x3a389e,_0x5e01f6){return _0xf455(_0x3a389e-_0x51f68a._0x1d72fe,_0x3b7ff1);}function _0x167aeb(_0x53fe93,_0x22868d,_0x2546db,_0xa74f2f){return _0xf455(_0x53fe93-0x1ad,_0x2546db);}try{let _0x40e32d=_0x54baf();if(_0x40e32d===_0x167aeb(0x354,_0x51966f._0x16192e,_0x51966f._0x40519e,_0x51966f._0x2c98dc)){let {stdout:_0x36ea75}=await a(_0x2f0ed9(_0x51966f._0x4a6629,0x3d7,0x3ec,_0x51966f._0x493285));return _0x36ea75[_0x167aeb(_0x51966f._0x264ea6,_0x51966f._0x1b7883,0x348,_0x51966f._0x27f42d)](_0x167aeb(_0x51966f._0x4a7929,_0x51966f._0x4b75b0,0x34d,_0x51966f._0x1c1453))||_0x36ea75['includes'](_0x2f0ed9(_0x51966f._0x5276af,_0x51966f._0x8868d1,0x40c,0x413))||_0x36ea75['includes'](_0x167aeb(0x352,0x36b,_0x51966f._0x1f6eb0,_0x51966f._0x3bb0d7))||_0x36ea75['includes'](_0x2f0ed9(_0x51966f._0x316eb6,_0x51966f._0x195e13,_0x51966f._0x4a6629,0x3fc))||_0x36ea75[_0x167aeb(0x339,_0x51966f._0x5f23cd,0x32e,_0x51966f._0x54d92d)](_0x2f0ed9(0x421,_0x51966f._0x1c11ce,_0x51966f._0x19b11c,0x426))||_0x36ea75['includes']('«class\x20HEIF»')||_0x36ea75['includes'](_0x167aeb(0x361,_0x51966f._0x2f9a3e,_0x51966f._0x33d258,0x350));}else{if(_0x40e32d==='linux'){let {stdout:_0x5ca547}=await a('xclip\x20-selection\x20clipboard\x20-t\x20TARGETS\x20-o\x202>/dev/null\x20||\x20echo\x20\x22\x22');return _0x5ca547[_0x2f0ed9(_0x51966f._0x3f832c,_0x51966f._0x2c5e9c,0x3df,0x3e2)](_0x167aeb(0x35f,0x372,0x34a,_0x51966f._0x4cb3cc))||_0x5ca547[_0x2f0ed9(_0x51966f._0x42c3e1,0x3e9,_0x51966f._0xc998c9,0x3ec)](_0x167aeb(0x348,0x34f,_0x51966f._0x2b57ab,_0x51966f._0x3476de))||_0x5ca547['includes'](_0x167aeb(_0x51966f._0x712585,0x33f,_0x51966f._0x43d91f,_0x51966f._0x3476de))||_0x5ca547[_0x2f0ed9(_0x51966f._0x5ea258,_0x51966f._0x51cf9e,0x3df,0x3ed)](_0x167aeb(_0x51966f._0x528abf,_0x51966f._0x1ccb13,_0x51966f._0x45f88b,0x354))||_0x5ca547[_0x2f0ed9(_0x51966f._0x35637d,0x3c6,0x3df,_0x51966f._0x3a8e5b)](_0x167aeb(_0x51966f._0x45eba0,_0x51966f._0x459743,_0x51966f._0x3fb2cd,0x341))||_0x5ca547[_0x2f0ed9(0x3db,_0x51966f._0x1c0561,_0x51966f._0xc998c9,_0x51966f._0x405f70)](_0x167aeb(_0x51966f._0x5cd0a2,0x360,_0x51966f._0x4e040a,0x350));}else{if(_0x40e32d===_0x167aeb(_0x51966f._0x3d249d,0x35b,_0x51966f._0x2442bc,0x351))try{let {stdout:_0x4542aa}=await a(_0x2f0ed9(0x3e3,_0x51966f._0x2b63f0,0x3f0,_0x51966f._0x4ca69b));return _0x4542aa[_0x2f0ed9(_0x51966f._0x2f1c8,0x3ec,0x404,_0x51966f._0x139cb7)]()===_0x167aeb(0x342,_0x51966f._0x2f45d1,0x34f,_0x51966f._0x2c98dc);}catch{return!0x1;}}}return!0x1;}catch{return!0x1;}}async function S(){const _0x3298a0={_0x4bc400:0x355,_0x34508b:0x363,_0x4db557:0x3ef,_0xde2498:0x36b,_0x23b7f8:0x3c9},_0x1b5e18={_0x15b3a5:0x23a},_0x31fc46={_0x30f1f8:0x1bc};function _0x58e928(_0x58fa65,_0x1bb246,_0x167717,_0x305a04){return _0xf455(_0x167717-_0x31fc46._0x30f1f8,_0x58fa65);}function _0x41ea60(_0x5cc0a3,_0x193081,_0x1de476,_0x10245b){return _0xf455(_0x10245b-_0x1b5e18._0x15b3a5,_0x1de476);}try{let _0x157e89=_0x54baf();return _0x157e89===_0x58e928(0x35e,_0x3298a0._0x4bc400,_0x3298a0._0x34508b,0x349)?await d():_0x157e89==='linux'?await u():_0x157e89===_0x41ea60(_0x3298a0._0x4db557,0x3bd,0x3cc,0x3d6)?await b():[];}catch(_0x3b2e2a){return console[_0x58e928(0x35c,0x35f,_0x3298a0._0xde2498,0x36f)](_0x41ea60(_0x3298a0._0x23b7f8,0x3c9,0x3da,0x3d9),_0x3b2e2a),[];}}async function d(){const _0x49e6f1={_0x35ac78:0xfc,_0x4fc1bc:0x486,_0x19848a:0x46d,_0x423f2c:0x47e,_0x33fae9:0x48e,_0x47322c:0x474,_0x265f93:0x474,_0x33b466:0x465,_0x3222ae:0x46f,_0x471fd5:0x470,_0xf9dbef:0x46e,_0x21b958:0x48d,_0xaeff44:0x476,_0xbe0f07:0x498,_0x322317:0x4a2,_0x3704ad:0x45f,_0x3ca30f:0x449,_0x7d2de4:0x107,_0x400e93:0x105,_0x2ddf36:0x125,_0x1421ff:0x14e,_0x4d22de:0x12b,_0xdc7d60:0x121,_0x6eb2b0:0x123,_0x1cb58f:0x10a,_0x5177fa:0x14a,_0x3eeff2:0x148,_0x49a93d:0x103,_0x3892a8:0x138,_0x5f3da9:0x465,_0x37d787:0x496,_0x45a347:0x493,_0x39ab99:0x478,_0xf821bc:0x492,_0x345d92:0x100,_0x46cba1:0x115,_0xd18dc:0xfe,_0x3cb5e8:0x117,_0x13a2f4:0x121,_0x2e2356:0x468,_0x195c01:0x44d,_0x48aab8:0x14d,_0x176642:0x14c,_0x15d9dd:0x46a,_0x5637aa:0x472,_0xba981c:0x115,_0x46ea3e:0x126,_0x2ad35a:0x13c,_0x302262:0x13a},_0x5a4801={_0x351439:0x72};function _0x5984ee(_0x2c03ba,_0x3d3b49,_0x541713,_0x54b143){return _0xf455(_0x54b143- -_0x5a4801._0x351439,_0x2c03ba);}let _0x56ab65=[{'format':'«class\x20PNGf»','extension':_0x5984ee(0x11d,0xfd,_0x49e6f1._0x35ac78,0x115),'mimeType':_0x4bf4fc(_0x49e6f1._0x4fc1bc,_0x49e6f1._0x19848a,_0x49e6f1._0x423f2c,0x489)},{'format':_0x4bf4fc(0x479,0x47a,_0x49e6f1._0x33fae9,0x463),'extension':_0x4bf4fc(0x461,_0x49e6f1._0x47322c,_0x49e6f1._0x265f93,_0x49e6f1._0x33b466),'mimeType':_0x4bf4fc(_0x49e6f1._0x3222ae,_0x49e6f1._0x471fd5,_0x49e6f1._0xf9dbef,0x46b)},{'format':_0x4bf4fc(_0x49e6f1._0x21b958,_0x49e6f1._0xaeff44,_0x49e6f1._0xbe0f07,_0x49e6f1._0x322317),'extension':_0x4bf4fc(_0x49e6f1._0x3704ad,0x469,_0x49e6f1._0x3ca30f,0x470),'mimeType':_0x5984ee(_0x49e6f1._0x7d2de4,_0x49e6f1._0x400e93,0x11e,0x120)},{'format':_0x5984ee(_0x49e6f1._0x2ddf36,_0x49e6f1._0x1421ff,_0x49e6f1._0x4d22de,0x13c),'extension':_0x5984ee(0x151,_0x49e6f1._0xdc7d60,_0x49e6f1._0x6eb2b0,0x13b),'mimeType':_0x5984ee(0x136,0x10b,_0x49e6f1._0x1cb58f,0x124)},{'format':_0x5984ee(0x151,0x157,_0x49e6f1._0x5177fa,_0x49e6f1._0x3eeff2),'extension':_0x5984ee(_0x49e6f1._0x49a93d,_0x49e6f1._0x4d22de,_0x49e6f1._0x3892a8,0x11e),'mimeType':'image/bmp'}];for(let {format:_0x31877a,extension:_0x9f0c68,mimeType:_0xcecacf}of _0x56ab65)try{let _0xa16042=_0x7e358b(_0x36f947(),_0x4bf4fc(0x468,0x44d,0x45a,_0x49e6f1._0x5f3da9)+Date[_0x4bf4fc(0x47e,_0x49e6f1._0x37d787,_0x49e6f1._0x21b958,_0x49e6f1._0x45a347)]()+'.'+_0x9f0c68);await a(_0x4bf4fc(_0x49e6f1._0x39ab99,0x467,0x473,0x47e)+_0x31877a+_0x4bf4fc(0x47a,0x46a,_0x49e6f1._0xf821bc,0x463)+_0xa16042+_0x5984ee(_0x49e6f1._0x345d92,_0x49e6f1._0x46cba1,_0x49e6f1._0xd18dc,_0x49e6f1._0x3cb5e8));let _0x88179f=_0x2f0600(_0xa16042);return _0x5a4c1e(_0xa16042),[{'data':_0x88179f,'type':_0xcecacf,'name':_0x5984ee(0x129,0x111,0x110,_0x49e6f1._0x13a2f4)+_0x9f0c68}];}catch{}try{let _0x908ca=_0x7e358b(_0x36f947(),_0x4bf4fc(_0x49e6f1._0x2e2356,0x467,0x480,_0x49e6f1._0x195c01)+Date[_0x5984ee(0x14c,_0x49e6f1._0x48aab8,_0x49e6f1._0x176642,_0x49e6f1._0x3892a8)]()+_0x4bf4fc(0x47c,_0x49e6f1._0x15d9dd,0x474,_0x49e6f1._0x5637aa));await a(_0x5984ee(0x123,0x113,_0x49e6f1._0xba981c,_0x49e6f1._0x46ea3e)+_0x908ca+'\x22');let _0x32fea9=_0x2f0600(_0x908ca);return _0x5a4c1e(_0x908ca),[{'data':_0x32fea9,'type':'image/png','name':'clipboard-image.png'}];}catch{}function _0x4bf4fc(_0x56ea8d,_0x39aadf,_0x52254d,_0x1ad664){return _0xf455(_0x56ea8d-0x2d4,_0x1ad664);}throw new Error(_0x5984ee(_0x49e6f1._0x2ad35a,0x145,0x14e,_0x49e6f1._0x302262));}async function u(){const _0x18a236={_0x329a18:0x343,_0x3dfebf:0x335,_0x12fbc4:0xac,_0x1b1c02:0xc3,_0x36a99f:0xba,_0x1efa22:0xa2,_0x181d68:0xc3,_0x20533a:0xcb,_0x3e5fc6:0x359,_0x137e51:0x318,_0x25b0ae:0xd9,_0x5e8154:0xb8,_0x1ae0eb:0xca,_0x5f3082:0xae,_0x57f604:0x98,_0x2f9534:0xc2,_0x34fd4d:0x353,_0x1d32ed:0x352,_0x4ee028:0x356,_0x3d6375:0xba,_0x52b3a3:0xaf,_0x1452f5:0xa5,_0xa1e84f:0xb1},_0x2bc4c2={_0x5a13e3:0x250};function _0x276869(_0x443e5d,_0x4c511b,_0x11b6f6,_0x29ca70){return _0xf455(_0x443e5d- -_0x2bc4c2._0x5a13e3,_0x4c511b);}let {stdout:_0x2c8a46}=await a('xclip\x20-selection\x20clipboard\x20-t\x20TARGETS\x20-o\x202>/dev/null\x20||\x20echo\x20\x22\x22'),_0x61aab8=[{'target':'image/png','extension':_0x2f3d81(0x33f,0x328,_0x18a236._0x329a18,_0x18a236._0x3dfebf)},{'target':_0x276869(-0xb5,-_0x18a236._0x12fbc4,-0xa7,-0xa0),'extension':_0x276869(-_0x18a236._0x1b1c02,-0xd0,-0xc8,-0xb0)},{'target':_0x276869(-_0x18a236._0x36a99f,-_0x18a236._0x1efa22,-_0x18a236._0x181d68,-_0x18a236._0x20533a),'extension':_0x2f3d81(0x35a,0x34e,0x365,_0x18a236._0x3e5fc6)},{'target':'image/bmp','extension':_0x2f3d81(0x327,0x331,0x318,_0x18a236._0x137e51)},{'target':_0x276869(-0xbe,-0xc5,-0xa9,-_0x18a236._0x25b0ae),'extension':'tiff'},{'target':'image/webp','extension':_0x276869(-0xc8,-0xbb,-_0x18a236._0x5e8154,-_0x18a236._0x1ae0eb)}];function _0x2f3d81(_0x41de2f,_0x4b9e67,_0x50e5fa,_0x294c0d){return _0xf455(_0x4b9e67-0x1a1,_0x50e5fa);}for(let {target:_0x23f52a,extension:_0x2413d4}of _0x61aab8)if(_0x2c8a46['includes'](_0x23f52a))try{let {stdout:_0x1f5651}=await a(_0x276869(-_0x18a236._0x5f3082,-_0x18a236._0x57f604,-_0x18a236._0x2f9534,-0xb1)+_0x23f52a+'\x20-o\x20|\x20base64');return[{'data':Buffer['from'](_0x1f5651[_0x2f3d81(_0x18a236._0x34fd4d,_0x18a236._0x1d32ed,0x345,_0x18a236._0x4ee028)](),_0x276869(-0x98,-0x8f,-0xa9,-0x98)),'type':_0x23f52a,'name':_0x276869(-0xbd,-0xab,-0xc5,-_0x18a236._0x3d6375)+_0x2413d4}];}catch{}throw new Error(_0x276869(-_0x18a236._0x52b3a3,-_0x18a236._0x1452f5,-_0x18a236._0xa1e84f,-0xb2));}function _0x200f(){const _0x2d48ad=['mteYote5nJbVwe9sBLu','Cg5NCgfZDguGiG','B3nHC2nYAxb0ic1LicjJBgLWyM9HCMqGAw5MBYi','Aw1Hz2uVD2vICa','Aw1Hz2uVANbLzW','D2LUmZi','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','mZK1mJe5mKHnCNfeDa','rMfPBgvKihrVigDLDcbJBgLWyM9HCMqGzMLSzxm6','mtHIyunTEfm','tM8GC3vWCg9YDgvKigLTywDLigzVCM1HDcbMB3vUzcbPBIbJBgLWyM9HCMq','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqG','Cg93zxjZAgvSBcaTy29TBwfUzcaIcIaGicaGiefKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkicaGicaGqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWOkicaGicaGAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSkicaGicaGicaKAw1Nid0Gw1n5C3rLBs5xAw5KB3DZlKzVCM1ZlKnSAxbIB2fYzf06oKDLDeLTywDLkcKkicaGicaGicbPzIaOjgLTzYaTBMuGjg51BgWPihSkicaGicaGicaGicrPBwCUu2f2zsGN','B3nHC2nYAxb0ic1LicikicaGicaGicbZzxqGAw1Hz2veyxrHihrVihrOzsbJBgLWyM9HCMqGyxmG','WQTJBgfZCYbkuevhWRS','cIaGicaGicaGC2v0igzPBgvszwyGDg8GB3bLBIbMB3iGywnJzxnZifbpu0LyigzPBguGxci','zgfYD2LU','lNbUzW','jYWGw1n5C3rLBs5eCMf3Aw5NlKLTywDPBMCUsw1Hz2vgB3jTyxrDoJPqBMCPcIaGicaGicaGicaKAw1NlKrPC3bVC2uOkqOGicaGicaGih0kicaGicaGFqOGicaGiG','BM93','mxjly3bxBa','vw5HyMXLihrVigv4DhjHy3qGy2XPCgjVyxjKigLTywDLig9Uig1Hy09t','z2LM','WQTJBgfZCYbhsuzMWRS','D2fYBG','mZa2ntq3mdf2BeTkrg4','DhjPBq','Aw1Hz2uVCg5N','mZu2mtq1uMnJEMj4','WQTJBgfZCYbxrujqWRS','nJy3mdqWmgn2AMD6sG','mtuZnda5oejovKDIrG','y2XPCgjVyxjKlwLTywDLlNbUzW','yMfZzty0','WQTJBgfZCYbusuzgWRS','WQTJBgfZCYbctvbMWRS','nfrJtNDsAW','Cg5N','D2vICa','xciGD2L0Acb3CML0zsbWzxjTAxnZAw9UcIaGicaGicaGD3jPDguGAw1Hz2veyxrHihrVigzPBgvszwykicaGicaGicbJBg9ZzsbHy2nLC3mGzMLSzvjLzGOGicaGicaI','mteXotKWmNzbq0j4sW','DgLMzG','Aw5JBhvKzxm','ANbN','Aw1Hz2uVyM1W','WQTJBgfZCYbqtKDMWRS','yM1W','mZvjzxzLCui','Aw1Hz2uVDgLMzG','y2XPCgjVyxjKlwLTywDLlG','y2XPCgjVyxjKlq','Dhj1zq','Aw1Hz2uVz2LM'];_0x200f=function(){return _0x2d48ad;};return _0x200f();}async function b(){const _0x5a07a8={_0x431dab:0x30,_0x20ee26:0x1a,_0x33df0e:0x21,_0x2f4356:0x46,_0x53d979:0x27,_0x410f86:0x4f},_0x57f77d={_0x4bfe83:0x173},_0x389647={_0x457e99:0x1de};function _0x11efba(_0x417e8b,_0x5d0b09,_0x518baa,_0x1fd9ce){return _0xf455(_0x417e8b-_0x389647._0x457e99,_0x1fd9ce);}function _0x5b5ced(_0x12aef2,_0x4a88fd,_0x5a390a,_0x2b2dd5){return _0xf455(_0x2b2dd5- -_0x57f77d._0x4bfe83,_0x12aef2);}let _0x3e3d67=_0x7e358b(_0x36f947(),_0x5b5ced(0x1a,_0x5a07a8._0x431dab,_0x5a07a8._0x20ee26,_0x5a07a8._0x33df0e)+Date['now']()+_0x5b5ced(_0x5a07a8._0x2f4356,0x2f,_0x5a07a8._0x53d979,0x35));try{await a(_0x11efba(0x381,0x37a,0x38a,0x370)+_0x3e3d67['replace'](/\\/g,'\x5c\x5c')+_0x5b5ced(0x39,_0x5a07a8._0x410f86,0x1d,0x36));let _0x4e3705=_0x2f0600(_0x3e3d67);return _0x5a4c1e(_0x3e3d67),[{'data':_0x4e3705,'type':'image/png','name':_0x11efba(0x395,0x382,0x39f,0x38d)}];}catch(_0x39c569){try{_0x5a4c1e(_0x3e3d67);}catch{}throw _0x39c569;}}export{S as getClipboardFiles,I as hasClipboardFiles};
|
|
1
|
+
(function(_0x4c75fa,_0x16763d){const _0x356c39={_0x44124b:0x180,_0x27e0c1:0x1d2,_0x38a2ad:0x1d3,_0x34c502:0x1d1,_0x2fd01f:0x1ea,_0x17db04:0x179,_0x190f7b:0x189,_0x373342:0x198,_0x1d96b0:0x17e,_0x547e25:0x1de,_0xc9d692:0x1f4,_0x2e9680:0x1eb,_0x57ce93:0x1e0,_0x55a3ab:0x1dd,_0x1aeab9:0x21b,_0x20c034:0x210,_0xa0d627:0x20b,_0x18621a:0x198,_0xd1ba11:0x167,_0xb0cddd:0x17a},_0x20a719={_0x3b4f8f:0x2a6},_0x569ce0={_0x137089:0xdb},_0x3bc30a=_0x4c75fa();function _0x362874(_0x33020e,_0x2c19f0,_0x3ca5f0,_0x35500d){return _0x5bc1(_0x2c19f0-_0x569ce0._0x137089,_0x3ca5f0);}function _0x16a72c(_0x1c331e,_0x45cceb,_0x802ece,_0x45dc9a){return _0x5bc1(_0x45dc9a- -_0x20a719._0x3b4f8f,_0x802ece);}while(!![]){try{const _0x2e5330=-parseInt(_0x362874(0x17c,0x181,_0x356c39._0x44124b,0x182))/0x1+-parseInt(_0x16a72c(-_0x356c39._0x27e0c1,-_0x356c39._0x38a2ad,-_0x356c39._0x34c502,-_0x356c39._0x2fd01f))/0x2*(parseInt(_0x362874(_0x356c39._0x17db04,0x192,_0x356c39._0x190f7b,0x189))/0x3)+parseInt(_0x362874(_0x356c39._0x373342,_0x356c39._0x44124b,_0x356c39._0x1d96b0,_0x356c39._0x373342))/0x4+parseInt(_0x16a72c(-_0x356c39._0x547e25,-0x1de,-0x1dc,-_0x356c39._0xc9d692))/0x5*(parseInt(_0x16a72c(-_0x356c39._0x2e9680,-0x1ed,-_0x356c39._0x57ce93,-_0x356c39._0x55a3ab))/0x6)+parseInt(_0x16a72c(-_0x356c39._0x1aeab9,-_0x356c39._0x20c034,-_0x356c39._0xa0d627,-0x204))/0x7+-parseInt(_0x362874(0x193,0x1a5,_0x356c39._0x18621a,0x1af))/0x8+parseInt(_0x362874(_0x356c39._0xd1ba11,0x17a,_0x356c39._0xb0cddd,0x18b))/0x9;if(_0x2e5330===_0x16763d)break;else _0x3bc30a['push'](_0x3bc30a['shift']());}catch(_0x3194cb){_0x3bc30a['push'](_0x3bc30a['shift']());}}}(_0x4c3a,0xeb117));import{exec as _0x3a4a91}from'child_process';import{promisify as _0x4e6971}from'util';function _0x4c3a(){const _0x15cb21=['Cg5N','zgfYD2LU','D2fYBG','D2vICa','zNjVBq','Cg93zxjZAgvSBcaTy29TBwfUzcaIcIaGicaGiefKzc1uExbLic1bC3nLBwjSEu5HBwuGu3LZDgvTlLDPBMrVD3mUrM9YBxmkicaGicaGqwrKlvr5CguGlufZC2vTyMX5tMfTzsbtExn0zw0UrhjHD2LUzWOkicaGicaGAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSkicaGicaGicaKAw1Nid0Gw1n5C3rLBs5xAw5KB3DZlKzVCM1ZlKnSAxbIB2fYzf06oKDLDeLTywDLkcKkicaGicaGicbPzIaOjgLTzYaTBMuGjg51BgWPihSkicaGicaGicaGicrPBwCUu2f2zsGN','Aw1Hz2uVDgLMzG','BM93','Aw1Hz2uVyM1W','Aw1Hz2uVCg5N','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqG','mZvPDMzjDxC','cIaGicaGicaGC2v0igzPBgvszwyGDg8GB3bLBIbMB3iGywnJzxnZifbpu0LyigzPBguGxci','Aw5JBhvKzxm','B3nHC2nYAxb0ic1LicikicaGicaGicbZzxqGAw1Hz2veyxrHihrVihrOzsbJBgLWyM9HCMqGyxmG','D2LUmZi','nZG1mZfTDMLHz28','Cg5NCgfZDguGiG','Aw1Hz2uVD2vICa','Cg93zxjZAgvSBcaTy29TBwfUzcaIAwyGkfTtExn0zw0Uv2LUzg93CY5gB3jTCY5dBgLWyM9HCMrDoJPdB250ywLUC0LTywDLkcKPihSGj3rYDwuNih0GzwXZzsb7icDMywXZzsCGFsiGmJ4KBNvSBa','yMfZzty0','mta2t0jSBLPw','rMfPBgvKihrVigDLDcbJBgLWyM9HCMqGzMLSzxm6','DhjPBq','Aw1Hz2uVz2LM','WQTJBgfZCYbxrujqWRS','vw5HyMXLihrVigv4DhjHy3qGy2XPCgjVyxjKigLTywDLig9Uig1Hy09t','yM1W','Dhj1zq','Aw1Hz2uVANbLzW','z2LM','y2XPCgjVyxjKlwLTywDLlG','y2XPCgjVyxjKlwLTywDLlNbUzW','xciGD2L0Acb3CML0zsbWzxjTAxnZAw9UcIaGicaGicaGD3jPDguGAw1Hz2veyxrHihrVigzPBgvszwykicaGicaGicbJBg9ZzsbHy2nLC3mGzMLSzvjLzGOGicaGicaI','mtu4ntC5ngTXr3LsBW','mtq3mdqZndrhsNHNu20','WQTJBgfZCYbusuzgWRS','B3nHC2nYAxb0ic1LicjJBgLWyM9HCMqGAw5MBYi','ANbN','y2XPCgjVyxjKlq','WQTJBgfZCYbqtKDMWRS','DgLMzG','WQTJBgfZCYbctvbMWRS','mtK5ndu0ndLtqxvuBwq','EgnSAxaGlxnLBgvJDgLVBIbJBgLWyM9HCMqGlxqGvefsr0vuuYaTBYaYpI9KzxyVBNvSBcb8FcbLy2HViciI','WQTJBgfZCYbkuevhWRS','ntG4mJqWoeHHr1fJDq','BgLUDxG','CMvWBgfJzq','mtG1mZu1mLL2txvxzG','mte4mtCYm0v6wer5CG'];_0x4c3a=function(){return _0x15cb21;};return _0x4c3a();}import{platform as _0x573c9e}from'os';import{readFileSync as _0x4442fd,unlinkSync as _0x598a64}from'fs';import{tmpdir as _0x41d88e}from'os';import{join as _0x275445}from'path';var a=_0x4e6971(_0x3a4a91);async function I(){const _0x51d909={_0x393084:0x23b,_0x18fae1:0x2fa,_0x1c24c7:0x257,_0x288445:0x248,_0x31c393:0x250,_0x17f438:0x30e,_0x34358b:0x2e7,_0x41f414:0x2df,_0x519e98:0x2f6,_0xb740db:0x272,_0x213f2c:0x27f,_0x493c7d:0x24d,_0xd07a6e:0x23d,_0x379629:0x25e,_0x3aeb5f:0x300,_0xe45cc2:0x24e,_0x4598ae:0x221,_0x1a5b82:0x24f,_0xd0b7fd:0x23a,_0x143bbc:0x2f7,_0x3d9ca9:0x2c5,_0x52cb80:0x2df,_0x23f02f:0x2f5,_0xe383a0:0x2f4,_0x1706a1:0x260,_0x33df0d:0x22b,_0x3fe772:0x231,_0x1ae18f:0x23f,_0x258c46:0x260,_0x6d531f:0x2f7,_0x51fb3e:0x25f,_0x3df7e8:0x25b,_0x20df0f:0x260,_0x2e2ab5:0x253,_0x4e3bde:0x250,_0x3aae8e:0x2e4,_0x503650:0x2e6,_0x2c896d:0x252,_0x55661b:0x249,_0x13d5b4:0x2c4,_0x1105f5:0x2da,_0x108fd8:0x2d9,_0x1fe502:0x254,_0x35a56c:0x2c9,_0x11a2e6:0x2d5,_0x40eab9:0x2db,_0x52c72e:0x253},_0x576002={_0x107eeb:0x19c};function _0x33029e(_0x43ca53,_0x890ca4,_0x62ab6a,_0x1d431f){return _0x5bc1(_0x1d431f-_0x576002._0x107eeb,_0x890ca4);}function _0x4c5ea9(_0x57a1b6,_0x341906,_0x352746,_0x3445d8){return _0x5bc1(_0x352746- -0x393,_0x57a1b6);}try{let _0x3e7540=_0x573c9e();if(_0x3e7540===_0x33029e(0x24e,0x246,_0x51d909._0x393084,0x244)){let {stdout:_0x36a463}=await a(_0x4c5ea9(-0x311,-0x304,-_0x51d909._0x18fae1,-0x2e4));return _0x36a463[_0x33029e(_0x51d909._0x1c24c7,0x24d,_0x51d909._0x288445,_0x51d909._0x31c393)](_0x4c5ea9(-_0x51d909._0x17f438,-0x2ef,-0x2f7,-0x30b))||_0x36a463[_0x4c5ea9(-0x2c9,-_0x51d909._0x34358b,-_0x51d909._0x41f414,-_0x51d909._0x519e98)](_0x33029e(_0x51d909._0xb740db,0x267,_0x51d909._0x213f2c,0x267))||_0x36a463[_0x33029e(_0x51d909._0x493c7d,_0x51d909._0xd07a6e,_0x51d909._0x379629,0x250)](_0x4c5ea9(-_0x51d909._0x3aeb5f,-0x2ed,-0x2f2,-0x2ef))||_0x36a463['includes']('«class\x20GIFf»')||_0x36a463[_0x33029e(0x23c,_0x51d909._0xe45cc2,0x23d,0x250)](_0x33029e(0x24e,_0x51d909._0x4598ae,_0x51d909._0x1a5b82,_0x51d909._0xd0b7fd))||_0x36a463[_0x4c5ea9(-_0x51d909._0x143bbc,-_0x51d909._0x3d9ca9,-_0x51d909._0x52cb80,-_0x51d909._0x23f02f)]('«class\x20HEIF»')||_0x36a463[_0x4c5ea9(-0x2eb,-0x2f3,-0x2df,-_0x51d909._0xe383a0)](_0x33029e(_0x51d909._0x1706a1,0x263,0x25a,0x25c));}else{if(_0x3e7540===_0x33029e(_0x51d909._0x33df0d,_0x51d909._0x3fe772,0x240,_0x51d909._0x1ae18f)){let {stdout:_0x143704}=await a('xclip\x20-selection\x20clipboard\x20-t\x20TARGETS\x20-o\x202>/dev/null\x20||\x20echo\x20\x22\x22');return _0x143704[_0x33029e(_0x51d909._0x258c46,0x24c,0x259,0x250)]('image/png')||_0x143704[_0x4c5ea9(-_0x51d909._0x6d531f,-0x2f7,-_0x51d909._0x41f414,-0x2d2)]('image/jpeg')||_0x143704[_0x33029e(0x236,0x255,_0x51d909._0x51fb3e,0x250)](_0x33029e(0x25a,0x268,0x24d,_0x51d909._0x3df7e8))||_0x143704[_0x33029e(_0x51d909._0x20df0f,_0x51d909._0x1706a1,_0x51d909._0x2e2ab5,_0x51d909._0x4e3bde)](_0x4c5ea9(-0x2db,-0x2e5,-_0x51d909._0x3aae8e,-_0x51d909._0x503650))||_0x143704['includes'](_0x33029e(0x240,_0x51d909._0x20df0f,_0x51d909._0x2c896d,_0x51d909._0x55661b))||_0x143704['includes'](_0x4c5ea9(-_0x51d909._0x13d5b4,-0x2c4,-_0x51d909._0x1105f5,-_0x51d909._0x108fd8));}else{if(_0x3e7540==='win32')try{let {stdout:_0x3ea345}=await a(_0x33029e(0x257,_0x51d909._0x1fe502,0x260,0x256));return _0x3ea345[_0x4c5ea9(-0x2c7,-_0x51d909._0x35a56c,-_0x51d909._0x11a2e6,-_0x51d909._0x40eab9)]()===_0x33029e(_0x51d909._0x52c72e,0x271,_0x51d909._0x51fb3e,0x25f);}catch{return!0x1;}}}return!0x1;}catch{return!0x1;}}async function S(){const _0x5efdc7={_0x24d7d1:0xde,_0x25903e:0x116,_0x34f4e3:0x114,_0xa76965:0x104,_0x33e95f:0x10c,_0x380bae:0x440,_0x2091eb:0x463},_0x224ca5={_0x4cd3e3:0x397};function _0x9ba518(_0x547023,_0x141afa,_0x4409f0,_0x3f1d6d){return _0x5bc1(_0x3f1d6d-0x4e,_0x4409f0);}function _0x19c0f1(_0x1d95b6,_0xac5dcc,_0xaf6b1e,_0x1a705c){return _0x5bc1(_0x1a705c-_0x224ca5._0x4cd3e3,_0xaf6b1e);}try{let _0x5ed402=_0x573c9e();return _0x5ed402==='darwin'?await d():_0x5ed402===_0x9ba518(0xf3,0xe7,_0x5efdc7._0x24d7d1,0xf1)?await u():_0x5ed402===_0x9ba518(_0x5efdc7._0x25903e,_0x5efdc7._0x34f4e3,0xfc,_0x5efdc7._0xa76965)?await b():[];}catch(_0x1da209){return console[_0x9ba518(0xe8,_0x5efdc7._0x33e95f,0xe6,0xf7)](_0x19c0f1(_0x5efdc7._0x380bae,0x447,_0x5efdc7._0x2091eb,0x454),_0x1da209),[];}}async function d(){const _0x122c5e={_0x122c7e:0x117,_0x517200:0xf3,_0x43b340:0x117,_0x4992c5:0x104,_0x1e3a54:0xf4,_0x50d6fd:0xf2,_0x22d1d3:0xf0,_0x4dc255:0x11c,_0x13895a:0x124,_0x162f8f:0x16c,_0x1eaf06:0x150,_0x5ec803:0x133,_0x21684e:0x147,_0x14873d:0xed,_0x5c5e60:0x101,_0x727a8e:0x108,_0x4b2586:0xfa,_0x4df514:0x103,_0x508b51:0x10a,_0x5e6d30:0x105,_0x51d8a9:0xf5,_0x4f4d2d:0x148,_0x3defb8:0x15a,_0x513750:0xd8,_0x16c9c3:0x11d,_0x2caa00:0x126,_0x1b1792:0x140,_0x3789dd:0x128,_0x3b4a47:0x15b,_0x12686c:0x14a,_0xe0742c:0x13e,_0x1a43ed:0xef,_0x21364d:0xfe};let _0x39d825=[{'format':'«class\x20PNGf»','extension':'png','mimeType':_0x4a6cad(-0x108,-0x10b,-_0x122c5e._0x122c7e,-_0x122c5e._0x517200)},{'format':_0x4a6cad(-_0x122c5e._0x43b340,-0x101,-0x125,-_0x122c5e._0x4992c5),'extension':'jpg','mimeType':_0x4a6cad(-_0x122c5e._0x1e3a54,-0xdd,-_0x122c5e._0x50d6fd,-_0x122c5e._0x22d1d3)},{'format':'«class\x20TIFF»','extension':_0x1f15b3(0x13a,0x12f,_0x122c5e._0x4dc255,_0x122c5e._0x13895a),'mimeType':'image/tiff'},{'format':'«class\x20GIFf»','extension':_0x1f15b3(_0x122c5e._0x162f8f,0x157,_0x122c5e._0x1eaf06,0x147),'mimeType':'image/gif'},{'format':_0x1f15b3(_0x122c5e._0x5ec803,0x130,_0x122c5e._0x21684e,_0x122c5e._0x21684e),'extension':_0x4a6cad(-0xf6,-0x10a,-_0x122c5e._0x14873d,-0xea),'mimeType':_0x4a6cad(-0x109,-_0x122c5e._0x5c5e60,-0x120,-0x108)}];for(let {format:_0x180c6b,extension:_0x2744d3,mimeType:_0x43128a}of _0x39d825)try{let _0x39abbf=_0x275445(_0x41d88e(),_0x4a6cad(-0x11d,-0x123,-0x12c,-_0x122c5e._0x727a8e)+Date[_0x4a6cad(-0x10a,-0x109,-0x100,-_0x122c5e._0x4b2586)]()+'.'+_0x2744d3);await a(_0x4a6cad(-_0x122c5e._0x4df514,-0x10c,-_0x122c5e._0x508b51,-_0x122c5e._0x4992c5)+_0x180c6b+_0x4a6cad(-_0x122c5e._0x5e6d30,-0x114,-0xfe,-_0x122c5e._0x51d8a9)+_0x39abbf+_0x1f15b3(_0x122c5e._0x4f4d2d,_0x122c5e._0x3defb8,0x155,0x153));let _0x401e3f=_0x4442fd(_0x39abbf);return _0x598a64(_0x39abbf),[{'data':_0x401e3f,'type':_0x43128a,'name':_0x4a6cad(-0xf2,-0xe9,-_0x122c5e._0x513750,-0x102)+_0x2744d3}];}catch{}function _0x4a6cad(_0x2391d4,_0x5c84f3,_0x26fcfe,_0x60e76c){return _0x5bc1(_0x2391d4- -0x1b8,_0x26fcfe);}try{let _0x26a022=_0x275445(_0x41d88e(),_0x4a6cad(-_0x122c5e._0x16c9c3,-0x124,-0x108,-_0x122c5e._0x2caa00)+Date[_0x1f15b3(0x133,_0x122c5e._0x1b1792,0x132,_0x122c5e._0x3789dd)]()+'.png');await a(_0x1f15b3(_0x122c5e._0x3b4a47,_0x122c5e._0x12686c,0x158,_0x122c5e._0xe0742c)+_0x26a022+'\x22');let _0x1d9ee9=_0x4442fd(_0x26a022);return _0x598a64(_0x26a022),[{'data':_0x1d9ee9,'type':'image/png','name':'clipboard-image.png'}];}catch{}function _0x1f15b3(_0xb8f9ee,_0x4a6861,_0x4d77a9,_0x45b2b8){return _0x5bc1(_0x4a6861-0x92,_0x45b2b8);}throw new Error(_0x4a6cad(-0xf7,-_0x122c5e._0x1a43ed,-_0x122c5e._0x21364d,-0x110));}function _0x5bc1(_0x301789,_0x39991e){const _0x4c3a01=_0x4c3a();return _0x5bc1=function(_0x5bc161,_0x68c6b8){_0x5bc161=_0x5bc161-0x99;let _0x408641=_0x4c3a01[_0x5bc161];if(_0x5bc1['mVSCDP']===undefined){var _0x5c22db=function(_0x3a4a91){const _0x4e6971='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x573c9e='',_0x4442fd='';for(let _0x598a64=0x0,_0x41d88e,_0x275445,_0x3e7540=0x0;_0x275445=_0x3a4a91['charAt'](_0x3e7540++);~_0x275445&&(_0x41d88e=_0x598a64%0x4?_0x41d88e*0x40+_0x275445:_0x275445,_0x598a64++%0x4)?_0x573c9e+=String['fromCharCode'](0xff&_0x41d88e>>(-0x2*_0x598a64&0x6)):0x0){_0x275445=_0x4e6971['indexOf'](_0x275445);}for(let _0x36a463=0x0,_0x143704=_0x573c9e['length'];_0x36a463<_0x143704;_0x36a463++){_0x4442fd+='%'+('00'+_0x573c9e['charCodeAt'](_0x36a463)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4442fd);};_0x5bc1['SewfUT']=_0x5c22db,_0x301789=arguments,_0x5bc1['mVSCDP']=!![];}const _0x5d6090=_0x4c3a01[0x0],_0x46c0e5=_0x5bc161+_0x5d6090,_0x3df6cf=_0x301789[_0x46c0e5];return!_0x3df6cf?(_0x408641=_0x5bc1['SewfUT'](_0x408641),_0x301789[_0x46c0e5]=_0x408641):_0x408641=_0x3df6cf,_0x408641;},_0x5bc1(_0x301789,_0x39991e);}async function u(){const _0x6db250={_0x1250a3:0x296,_0x5a05f2:0x283,_0x43fa26:0x45,_0x3a020c:0x64,_0x9d86c2:0x6f,_0x43730a:0x6c,_0x45f164:0x55,_0x4c7b8c:0x58,_0xce77d2:0x3d,_0x430fb4:0x4b,_0x1707f1:0x5a,_0x28aa4f:0x57,_0x53ee1c:0x29e,_0x183046:0x54,_0x4908ba:0x5c,_0x2991d2:0x55,_0x23765b:0x50,_0x97ebf0:0x59,_0x1aa271:0x61,_0x377f9c:0x284,_0x520913:0x285,_0x254489:0x28d,_0x4def23:0x275,_0x49ab1a:0x277,_0x5f4a4e:0x287,_0x40d879:0x2a7,_0x5aa806:0x28b,_0x3e22d6:0x2ae,_0x4d64bf:0x5a},_0x1ef7c0={_0x29a558:0x109};let {stdout:_0x199960}=await a(_0x16be46(0x28e,0x291,0x27f,0x27c)),_0x39c7d4=[{'target':'image/png','extension':_0x16be46(0x286,_0x6db250._0x1250a3,0x283,_0x6db250._0x5a05f2)},{'target':_0x3b751f(-0x5a,-_0x6db250._0x43fa26,-0x53,-0x3d),'extension':_0x3b751f(-_0x6db250._0x3a020c,-_0x6db250._0x9d86c2,-0x80,-_0x6db250._0x43730a)},{'target':_0x3b751f(-_0x6db250._0x45f164,-0x4a,-0x3a,-0x30),'extension':_0x3b751f(-0x5a,-0x44,-_0x6db250._0x4c7b8c,-_0x6db250._0xce77d2)},{'target':_0x3b751f(-_0x6db250._0x430fb4,-_0x6db250._0x1707f1,-_0x6db250._0x28aa4f,-_0x6db250._0x43730a),'extension':_0x16be46(0x2a4,0x29b,0x2b4,_0x6db250._0x53ee1c)},{'target':_0x3b751f(-_0x6db250._0x183046,-_0x6db250._0x4908ba,-0x65,-0x48),'extension':_0x16be46(0x262,0x285,0x27b,0x279)},{'target':_0x3b751f(-_0x6db250._0x2991d2,-_0x6db250._0x23765b,-0x52,-_0x6db250._0x97ebf0),'extension':_0x3b751f(-_0x6db250._0x9d86c2,-0x5f,-0x4a,-_0x6db250._0x1aa271)}];function _0x3b751f(_0x178200,_0x4623bd,_0x4cfbe5,_0x163839){return _0x5bc1(_0x4623bd- -_0x1ef7c0._0x29a558,_0x163839);}for(let {target:_0x1c083d,extension:_0x15e71f}of _0x39c7d4)if(_0x199960['includes'](_0x1c083d))try{let {stdout:_0x851211}=await a(_0x16be46(_0x6db250._0x377f9c,_0x6db250._0x520913,0x297,_0x6db250._0x254489)+_0x1c083d+'\x20-o\x20|\x20base64');return[{'data':Buffer[_0x16be46(0x28b,_0x6db250._0x4def23,_0x6db250._0x49ab1a,_0x6db250._0x5f4a4e)](_0x851211['trim'](),_0x16be46(_0x6db250._0x40d879,_0x6db250._0x5aa806,_0x6db250._0x3e22d6,0x297)),'type':_0x1c083d,'name':_0x3b751f(-_0x6db250._0x4d64bf,-0x43,-0x46,-0x32)+_0x15e71f}];}catch{}function _0x16be46(_0x12e91f,_0x4e3a18,_0x5a7213,_0x219b67){return _0x5bc1(_0x219b67-0x1dc,_0x12e91f);}throw new Error('No\x20supported\x20image\x20format\x20found\x20in\x20clipboard');}async function b(){const _0x24fe07={_0x2c3da2:0x11d,_0xe102c6:0x12c,_0x288f1c:0x192,_0x3a8b75:0x1a7,_0x452226:0x193,_0x3a647e:0x1a2,_0x13df1b:0x125,_0x18cdfb:0x122,_0x1d4d82:0x124,_0x3575cc:0x115,_0x25806e:0x1a9,_0x17d181:0x18c,_0xc6caa3:0x18b},_0xde5cca={_0x4e8c1e:0x253};let _0x5d3724=_0x275445(_0x41d88e(),'clipboard-'+Date[_0x181899(_0x24fe07._0x2c3da2,_0x24fe07._0xe102c6,0x116,0x123)]()+'.png');function _0x181899(_0x42afa8,_0x138862,_0xa3b9ff,_0x3e2c13){return _0x5bc1(_0x138862-0x7e,_0x42afa8);}function _0x316e30(_0x5aadc5,_0x32c02d,_0x40ce7f,_0x4ee130){return _0x5bc1(_0x32c02d- -_0xde5cca._0x4e8c1e,_0x5aadc5);}try{await a(_0x316e30(-_0x24fe07._0x288f1c,-_0x24fe07._0x3a8b75,-_0x24fe07._0x452226,-_0x24fe07._0x3a647e)+_0x5d3724[_0x181899(_0x24fe07._0x13df1b,_0x24fe07._0x18cdfb,_0x24fe07._0x1d4d82,_0x24fe07._0x3575cc)](/\\/g,'\x5c\x5c')+'\x27,\x20[System.Drawing.Imaging.ImageFormat]::Png)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20$img.Dispose()\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x22');let _0x568fc4=_0x4442fd(_0x5d3724);return _0x598a64(_0x5d3724),[{'data':_0x568fc4,'type':_0x316e30(-0x1b1,-0x1a3,-0x1aa,-_0x24fe07._0x25806e),'name':_0x316e30(-0x198,-_0x24fe07._0x17d181,-_0x24fe07._0xc6caa3,-0x19e)}];}catch(_0x4d529d){try{_0x598a64(_0x5d3724);}catch{}throw _0x4d529d;}}export{S as getClipboardFiles,I as hasClipboardFiles};
|
|
@@ -0,0 +1 @@
|
|
|
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 +1 @@
|
|
|
1
|
-
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
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();}
|