@slop-motion/connect 0.1.0-alpha → 0.1.2-alpha
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/bin/motion.js +8 -0
- package/dist/cli/commands/connect.js +1 -1
- package/dist/cli/commands/generate-mask.js +1 -1
- package/dist/cli/commands/init.js +1 -1
- package/dist/client/MotionWebClient.js +1 -1
- package/dist/client/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/masking/MaskGenerator.js +1 -1
- package/dist/masking/MediaPipeMaskGenerator.js +1 -1
- package/dist/masking/RVMMaskGenerator.js +1 -1
- package/dist/masking/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/watcher/index.js +1 -1
- package/package.json +2 -1
package/dist/watcher/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x47af4f,_0x1174cc){const _0x3e4e42={_0x153c4f:0x262,_0x463b1e:0x225,_0x1baaac:0x221,_0x1d73cf:0x239,_0x4949e0:0x246,_0x4de24f:0x63,_0x246ce8:0x51,_0x6ddbfd:0x23d,_0x33f124:0x250,_0x2e2831:0x96,_0x4bcd52:0x7e};function _0x2fd521(_0x487b31,_0xe8bd70,_0x3e7df7,_0x59ca16){return _0x558e(_0x3e7df7- -0x3a6,_0x487b31);}const _0x474298=_0x47af4f();function _0x27d3dd(_0x560d89,_0xda957b,_0x3236bd,_0x1550e7){return _0x558e(_0x560d89- -0x1cf,_0x3236bd);}while(!![]){try{const _0x582276=parseInt(_0x2fd521(-0x23c,-_0x3e4e42._0x153c4f,-0x251,-0x260))/(0x1c8e+0xb08+-0x2795*0x1)+parseInt(_0x2fd521(-_0x3e4e42._0x463b1e,-_0x3e4e42._0x1baaac,-_0x3e4e42._0x1d73cf,-_0x3e4e42._0x1d73cf))/(-0x1fcb+-0x217e+-0xd0f*-0x5)+-parseInt(_0x2fd521(-0x256,-_0x3e4e42._0x4949e0,-0x259,-0x241))/(-0x1e5a+-0x1e54+-0x143b*-0x3)+parseInt(_0x27d3dd(-_0x3e4e42._0x4de24f,-0x64,-0x54,-_0x3e4e42._0x246ce8))/(0x2701*-0x1+-0x599+0x2c9e)+parseInt(_0x2fd521(-_0x3e4e42._0x6ddbfd,-_0x3e4e42._0x33f124,-0x238,-0x237))/(0xa6b+-0x1*0x27f+0x1*-0x7e7)+parseInt(_0x2fd521(-0x26a,-0x267,-0x255,-0x25a))/(-0x3*0x3b9+0x10d*0x1+0xa24)+-parseInt(_0x27d3dd(-0x80,-_0x3e4e42._0x2e2831,-_0x3e4e42._0x4bcd52,-0x92))/(0xdf*0xf+-0x1*-0xd4e+-0x1a58);if(_0x582276===_0x1174cc)break;else _0x474298['push'](_0x474298['shift']());}catch(_0x51b893){_0x474298['push'](_0x474298['shift']());}}}(_0x1061,-0x23*0x1875+-0x529*-0xb2+0x1*0x1bcbd));function _0x558e(_0x4aa3d5,_0xd8cf6a){_0x4aa3d5=_0x4aa3d5-(-0x2341+-0x11f*0x2+0x26c2);const _0x501ee4=_0x1061();let _0x6c3bf8=_0x501ee4[_0x4aa3d5];if(_0x558e['GYZTTy']===undefined){var _0x5a17ba=function(_0x2963d6){const _0x2180ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x10d22a='',_0x8aa845='';for(let _0x210b3c=-0x7*-0xe6+0x175c+-0x1da6,_0xbc2512,_0x3ef8c0,_0x97259=-0xdeb+0x938+0x191*0x3;_0x3ef8c0=_0x2963d6['charAt'](_0x97259++);~_0x3ef8c0&&(_0xbc2512=_0x210b3c%(-0x471+-0x67*-0x8+0x13d*0x1)?_0xbc2512*(0x16f6*0x1+-0x1588+-0x12e*0x1)+_0x3ef8c0:_0x3ef8c0,_0x210b3c++%(-0x923*-0x1+-0xb61+0x242))?_0x10d22a+=String['fromCharCode'](0x3*-0xb47+-0x6d7*0x1+-0x1*-0x29ab&_0xbc2512>>(-(-0x1143+0x1*-0x1345+0x248a)*_0x210b3c&0x19+0x86e*-0x2+0x10c9)):0x31*-0x3b+-0xcb*-0xc+0x1c7){_0x3ef8c0=_0x2180ae['indexOf'](_0x3ef8c0);}for(let _0x3aa85a=0x1*-0x1408+-0x11*0x23b+-0x17*-0x285,_0xd62854=_0x10d22a['length'];_0x3aa85a<_0xd62854;_0x3aa85a++){_0x8aa845+='%'+('00'+_0x10d22a['charCodeAt'](_0x3aa85a)['toString'](0x287*0xe+0x4e1*0x4+-0x1*0x36d6))['slice'](-(0x382+0xb33*-0x1+0x7b3));}return decodeURIComponent(_0x8aa845);};_0x558e['yDgkdG']=_0x5a17ba,_0x558e['ApKhEu']={},_0x558e['GYZTTy']=!![];}const _0x385908=_0x501ee4[-0x10f8+0x1374+0x9f*-0x4],_0x1adfbb=_0x4aa3d5+_0x385908,_0x172128=_0x558e['ApKhEu'][_0x1adfbb];return!_0x172128?(_0x6c3bf8=_0x558e['yDgkdG'](_0x6c3bf8),_0x558e['ApKhEu'][_0x1adfbb]=_0x6c3bf8):_0x6c3bf8=_0x172128,_0x6c3bf8;}function _0x1061(){const _0x2e1382=['CY54BwW','C29U','BI54BwW','BwzeAvu','kIOVzgLZDc8QkG','wKLluue','DvLAAwu','rxnyCxy','zhfptwm','wez5uue','B25dB21WAwXL','nZeZmta4wvLXwu9n','nta5nZq0ELLHvwns','mJi1mteWu2XUwwLR','B25fCNjVCG','AfLHCfO','kIOVkI5MB250CW','DKjotNO','kIOVkI5SyxLLCG','kIOVkI5YzxvZyq','kIOVkI5JB21WlG','kIOVB3v0Chv0lW','y2f0y2G','rKvyyLC','ywHSv2q','kIOVBM9Kzv9TBW','D0LvEuq','AKffwwi','CY5QC29U','mJm5ntiWzefrruXn','ANnVBG','mZy2mdC3nMPQDvDjqW','BI5QC29U','mtq2ntGWnKrlyNnlrW','wuLAD0e','y29TCgLSzwqUAG','vuPSy2W','mtaXotjYAgXfAuC','Dw5SAw5R','lMPZB24','yMXLCY5QC29U','lNHTBa','kIOVlMDPDc8QkG','kIOVkI5HC3nLDa','kIOVBw90Aw9UlG','Eg1S','ufLzBhG','DgHLBG','kIOVkI5TB3rPBW'];_0x1061=function(){return _0x2e1382;};return _0x1061();}import _0x20f044 from'chokidar';export function createWatcher(_0x47851f,_0x2244f1){const _0x84f772={_0x286b61:0x1b2,_0x168e5d:0x1a4,_0x2c01ec:0x11e,_0x4fa0eb:0x1c2,_0x6eb95c:0x1b9,_0x215380:0x1e5,_0x555c08:0x142,_0x1b1fc4:0x1bd,_0xd1be52:0x12e,_0x1942cf:0x13d,_0x1ce54d:0x1e2,_0x26859f:0x1d1,_0x31e373:0x129,_0xc86722:0x1b7,_0x391951:0x1cc,_0x17507f:0x1bf,_0x571b03:0x137,_0x3491d0:0x121,_0x39c2d0:0x12f,_0x5affd1:0x1a4,_0x4ad689:0x197,_0x48f8b9:0x13c,_0x5d3ae7:0x12b,_0x30c457:0x12e,_0x470ffe:0x1b3,_0x119507:0x1ac,_0x435ec6:0x1c6,_0x3f6f1d:0x1cf,_0xfdac68:0x138,_0xa7f932:0x12d,_0x141592:0x128,_0x29769b:0x12b,_0x1243b9:0x130,_0x57d100:0x136,_0x41f935:0x133,_0x3001b5:0x14c,_0xcd305:0x14d,_0x2fdf0a:0x13b,_0x126857:0x1b4,_0x4a3ed5:0x1c8,_0x48bd33:0x1cb,_0x329c73:0x1ca,_0x4b8038:0x1d1,_0x2d2e44:0x122,_0x3568da:0x127,_0x59815d:0x1b5,_0x4985ac:0x1d9,_0x2cbb87:0x1c9,_0x522188:0x1d4,_0x32fd3:0x1b0,_0x40cd34:0x19f,_0x492ac8:0x18a,_0x50304d:0x18f,_0x48805b:0x1c1,_0x48aa44:0x10e,_0x1cf985:0x124,_0x421ee2:0x118,_0x64b88a:0x125,_0xe2582:0x131,_0x5528fb:0x138,_0x4dfe24:0x13f,_0x13eafa:0x148,_0x290e88:0x1d8,_0x4f34e1:0x1b0,_0x48b1f4:0x1bf,_0xe52b02:0x1bd,_0x3e42b5:0x11c,_0x4bb6d8:0x121,_0x48fe11:0x108,_0x2141eb:0x11d,_0x3813b0:0x11b},_0x24c4e8={_0x2a05bf:0xda,_0x1805ca:0xd4,_0x52bd25:0xab,_0x1ef570:0x97,_0x1573ee:0xf4,_0x3f6c2d:0xf9,_0x4c4066:0xc4,_0x38a4ce:0xcd},_0x37d88f={_0x34d48e:0x93,_0x1b3fda:0x1ae},_0x18ed1d={_0x346ddc:0x310},_0x576c01={_0x320572:0x28a},_0x5ef9e7={_0x16033d:0x1bc,_0x260b3e:0x1ce,_0x9d22f4:0x19d,_0x26786d:0x177},_0x41db09={_0x4ba2f0:0x2d4,_0x208d50:0x1e7},_0x4fd17c={'hYapZ':function(_0x464102,_0x569a9e){return _0x464102(_0x569a9e);},'vBNNz':_0x196c0e(-0x1d3,-0x1bc,-_0x84f772._0x286b61,-_0x84f772._0x168e5d),'mfDiU':function(_0x35752a){return _0x35752a();},'JYhtz':'**/*.motio'+_0x196c0e(-0x1b0,-0x1c0,-0x1c0,-0x1cd),'XFyQA':_0x1cdaaa(-0x11b,-_0x84f772._0x2c01ec,-0x104,-0x117)+_0x196c0e(-_0x84f772._0x4fa0eb,-_0x84f772._0x6eb95c,-0x1bd,-0x1c7),'aVQxi':_0x196c0e(-0x1d3,-0x1cd,-_0x84f772._0x215380,-0x1cf)+_0x1cdaaa(-0x11a,-0x12f,-_0x84f772._0x555c08,-0x132),'ahlWd':_0x196c0e(-_0x84f772._0x1b1fc4,-0x1b5,-0x1a4,-0x1cd)+_0x1cdaaa(-_0x84f772._0xd1be52,-0x131,-_0x84f772._0x1942cf,-0x13e),'wgJpU':_0x196c0e(-_0x84f772._0x1ce54d,-0x1cc,-0x1d6,-_0x84f772._0x26859f)+_0x1cdaaa(-0x11a,-0x145,-_0x84f772._0x31e373,-0x12d),'lQENz':'**/*.layer'+_0x196c0e(-0x1b6,-_0x84f772._0xc86722,-_0x84f772._0x391951,-_0x84f772._0x17507f),'FEXbW':_0x1cdaaa(-0x118,-_0x84f772._0x571b03,-_0x84f772._0x3491d0,-_0x84f772._0x39c2d0)+_0x196c0e(-0x1a5,-0x1af,-_0x84f772._0x5affd1,-_0x84f772._0x4ad689),'ZIKQA':_0x1cdaaa(-_0x84f772._0x48f8b9,-0x12a,-_0x84f772._0x5d3ae7,-_0x84f772._0x30c457)+_0x196c0e(-_0x84f772._0x17507f,-_0x84f772._0x470ffe,-_0x84f772._0x119507,-0x1bc),'wIUyD':_0x196c0e(-_0x84f772._0x435ec6,-0x1b6,-_0x84f772._0x4fa0eb,-_0x84f772._0x3f6f1d),'jAEYb':_0x1cdaaa(-_0x84f772._0xfdac68,-_0x84f772._0xa7f932,-_0x84f772._0x141592,-0x12e)+_0x1cdaaa(-_0x84f772._0x29769b,-0x130,-_0x84f772._0x1243b9,-0x137)+_0x1cdaaa(-_0x84f772._0x57d100,-0x138,-_0x84f772._0x41f935,-0x128),'sZRUS':'add','dqOMc':'error'},_0x35fd74=[_0x4fd17c['JYhtz'],_0x1cdaaa(-_0x84f772._0x3001b5,-0x14b,-0x154,-0x146)+_0x1cdaaa(-_0x84f772._0xcd305,-_0x84f772._0x2fdf0a,-0x148,-0x13c),_0x4fd17c[_0x196c0e(-0x194,-0x1a6,-0x1a2,-0x1b5)],_0x4fd17c['aVQxi'],_0x4fd17c[_0x196c0e(-_0x84f772._0x126857,-_0x84f772._0x4a3ed5,-_0x84f772._0x48bd33,-_0x84f772._0x329c73)],'**/*.fonts'+_0x196c0e(-_0x84f772._0x26859f,-_0x84f772._0x6eb95c,-_0x84f772._0x4b8038,-0x1ae),_0x196c0e(-0x1a7,-0x1b4,-0x1a6,-0x1aa)+'json',_0x1cdaaa(-0x13e,-_0x84f772._0x2d2e44,-0x113,-0x12a)+_0x1cdaaa(-0x123,-_0x84f772._0x39c2d0,-0x11e,-_0x84f772._0x3568da),_0x4fd17c['wgJpU'],_0x4fd17c['lQENz'],_0x196c0e(-0x1dc,-0x1cd,-_0x84f772._0x59815d,-0x1cd)+'bles.xml',_0x4fd17c[_0x196c0e(-_0x84f772._0x4985ac,-_0x84f772._0x2cbb87,-0x1be,-_0x84f772._0x522188)],_0x196c0e(-_0x84f772._0x32fd3,-_0x84f772._0x40cd34,-_0x84f772._0x492ac8,-_0x84f772._0x50304d)+_0x196c0e(-_0x84f772._0x32fd3,-0x1b7,-_0x84f772._0x48805b,-0x1ad),_0x4fd17c[_0x1cdaaa(-0x125,-0x111,-_0x84f772._0x48aa44,-_0x84f772._0x1cf985)]],_0x11211b=debounce(_0x2244f1[_0x1cdaaa(-_0x84f772._0x141592,-0x10c,-_0x84f772._0x421ee2,-0x11f)],_0x2244f1['debounceMs']??0x23b4+-0x5cf*-0x5+-0x405b),_0x1fe788=_0x20f044['watch'](_0x35fd74,{'cwd':_0x47851f,'ignoreInitial':!![],'ignored':[_0x196c0e(-0x1cb,-0x1c7,-0x1b6,-0x1b9)+'dules/**',_0x1cdaaa(-0x12d,-0x12d,-0x12a,-_0x84f772._0x64b88a),_0x1cdaaa(-0x150,-_0x84f772._0xe2582,-_0x84f772._0x5528fb,-0x145)+'**',_0x4fd17c[_0x1cdaaa(-0x148,-_0x84f772._0x4dfe24,-_0x84f772._0x13eafa,-0x140)],_0x4fd17c[_0x196c0e(-_0x84f772._0x290e88,-0x1c5,-_0x84f772._0x4f34e1,-0x1ac)]],'persistent':!![],'awaitWriteFinish':{'stabilityThreshold':0x64,'pollInterval':0x32}});_0x1fe788['on']('change',_0x37fba8=>{function _0x1e7d22(_0xc5d9b3,_0x2918f4,_0x399c97,_0x17742c){return _0x196c0e(_0x2918f4,_0xc5d9b3-_0x41db09._0x4ba2f0,_0x399c97-0x43,_0x17742c-_0x41db09._0x208d50);}function _0xd6f461(_0x167c5b,_0x42ad47,_0x404401,_0x157d88){return _0x1cdaaa(_0x167c5b-0xe0,_0x42ad47-0x153,_0x404401,_0x157d88- -0x73);}_0x11211b()[_0xd6f461(-0x1b9,-_0x5ef9e7._0x16033d,-_0x5ef9e7._0x260b3e,-0x1b7)](_0x2244f1[_0xd6f461(-_0x5ef9e7._0x9d22f4,-_0x5ef9e7._0x26786d,-0x1a5,-0x18e)]);});function _0x1cdaaa(_0x409393,_0x29cb42,_0x33fea5,_0x597d26){return _0x558e(_0x597d26- -_0x576c01._0x320572,_0x33fea5);}_0x1fe788['on'](_0x4fd17c['sZRUS'],_0x20307f=>{_0x11211b()['catch'](_0x2244f1['onError']);});function _0x196c0e(_0x1af2f5,_0x2e8911,_0x31c642,_0x138b42){return _0x558e(_0x2e8911- -_0x18ed1d._0x346ddc,_0x1af2f5);}return _0x1fe788['on'](_0x196c0e(-_0x84f772._0x48b1f4,-0x1ba,-_0x84f772._0xe52b02,-0x1a5),_0x13264b=>{const _0x2af16c={_0x3deb21:0x1bb,_0x50d078:0x20f},_0x1e20ac={_0x1ccda5:0xad,_0x1edbf7:0x89,_0x2a8507:0x95},_0x284d75={'uYZie':function(_0x4d474e,_0x2026d8){const _0x918b99={_0x3ffb99:0xdb};function _0x1aba78(_0x2b5591,_0x1b37d7,_0x327252,_0x55be0c){return _0x558e(_0x55be0c- -_0x918b99._0x3ffb99,_0x327252);}return _0x4fd17c[_0x1aba78(_0x1e20ac._0x1ccda5,_0x1e20ac._0x1edbf7,0xa6,_0x1e20ac._0x2a8507)](_0x4d474e,_0x2026d8);}};function _0x563e91(_0xd3362b,_0x46da3f,_0xf74aca,_0x454a55){return _0x1cdaaa(_0xd3362b-_0x37d88f._0x34d48e,_0x46da3f-_0x37d88f._0x1b3fda,_0xd3362b,_0x46da3f-0x1e7);}function _0x25d081(_0x1034c9,_0x40d912,_0x9ca339,_0x345861){return _0x1cdaaa(_0x1034c9-_0x2af16c._0x3deb21,_0x40d912-0x1a2,_0x40d912,_0x1034c9-_0x2af16c._0x50d078);}_0x4fd17c[_0x563e91(_0x24c4e8._0x2a05bf,0xcf,0xb7,_0x24c4e8._0x1805ca)]===_0x4fd17c['vBNNz']?_0x4fd17c[_0x563e91(0xd8,0xc1,0xd2,_0x24c4e8._0x52bd25)](_0x11211b)[_0x563e91(_0x24c4e8._0x1ef570,0xa3,0x93,0xb1)](_0x2244f1[_0x25d081(_0x24c4e8._0x1573ee,0xef,0xf3,_0x24c4e8._0x3f6c2d)]):_0x284d75[_0x563e91(0xbe,_0x24c4e8._0x4c4066,_0x24c4e8._0x38a4ce,_0x24c4e8._0x4c4066)](_0x3aa85a,_0xd62854);}),_0x1fe788['on'](_0x4fd17c[_0x1cdaaa(-_0x84f772._0x3e42b5,-0x10a,-0x10d,-_0x84f772._0x4bb6d8)],_0x2244f1[_0x1cdaaa(-_0x84f772._0x48fe11,-_0x84f772._0x2141eb,-0x131,-_0x84f772._0x3813b0)]),_0x1fe788;}function debounce(_0x44994b,_0x3ca490){const _0x578638={_0x4d8883:0x408,_0x20b318:0x3f7},_0x301ec2={_0x1404d8:0x299},_0x4f92df={'NmtGZ':function(_0x5bc1be,_0x47a404){return _0x5bc1be!==_0x47a404;},'YIZwA':_0x9a836d(_0x578638._0x4d8883,0x3f5,_0x578638._0x20b318,0x3df)};let _0x2983dc=null;function _0x9a836d(_0x41cc46,_0x15bb2a,_0x2bb7c7,_0x57050d){return _0x558e(_0x2bb7c7-_0x301ec2._0x1404d8,_0x15bb2a);}return(..._0x2f83a4)=>{const _0x1dd306={_0x2382b9:0x16b,_0x5a4f8a:0x155,_0x221191:0x160,_0x46312a:0x145,_0x16c830:0x136,_0x5cc941:0x99,_0x29228b:0x88,_0x4981fb:0x82,_0xd300d0:0x125,_0x295712:0x142};return new Promise((_0x38bc20,_0x51d2de)=>{const _0x26ace3={_0x319dac:0x239,_0x35dbd7:0x230,_0x3efe2b:0x228,_0x40fda8:0xc6,_0x9f8889:0xcf},_0x2dff57={_0xca94f9:0x18e};function _0xa78087(_0x2d50a5,_0x2c6d7b,_0x298045,_0x9e90a1){return _0x558e(_0x9e90a1- -0x1f9,_0x2c6d7b);}_0x2983dc&&(_0x4f92df['NmtGZ'](_0x45a45f(_0x1dd306._0x2382b9,_0x1dd306._0x5a4f8a,_0x1dd306._0x221191,_0x1dd306._0x46312a),_0x4f92df[_0x45a45f(0x142,0x13f,0x140,_0x1dd306._0x16c830)])?clearTimeout(_0x2983dc):_0x4cb34f(..._0x545295)[_0xa78087(-_0x1dd306._0x5cc941,-_0x1dd306._0x29228b,-_0x1dd306._0x4981fb,-0x9a)](_0x3b3536)[_0x45a45f(0x11b,0x133,_0x1dd306._0xd300d0,_0x1dd306._0x295712)](_0x47547c));function _0x45a45f(_0x24ccdc,_0xcc4c13,_0x3a41ac,_0x18beb8){return _0x558e(_0xcc4c13- -0x13,_0x3a41ac);}_0x2983dc=setTimeout(()=>{function _0x1f3163(_0x3ce251,_0x247398,_0x4db145,_0x30471d){return _0xa78087(_0x3ce251-0x15d,_0x247398,_0x4db145-0x88,_0x30471d- -0x13);}function _0x4db2f2(_0x527d36,_0x2d4b19,_0x1b3205,_0x25def0){return _0xa78087(_0x527d36-0xe8,_0x527d36,_0x1b3205-0xf8,_0x25def0- -_0x2dff57._0xca94f9);}_0x44994b(..._0x2f83a4)[_0x4db2f2(-0x227,-_0x26ace3._0x319dac,-_0x26ace3._0x35dbd7,-_0x26ace3._0x3efe2b)](_0x38bc20)[_0x1f3163(-_0x26ace3._0x40fda8,-0xb1,-_0x26ace3._0x9f8889,-0xc6)](_0x51d2de);},_0x3ca490);});};}
|
|
1
|
+
(function(_0x21d3cb,_0x173083){const _0x27aef0={_0x4ada94:0xbd,_0x482510:0x9f,_0x1670f8:0x395,_0x4e7763:0x38b,_0xfed73a:0x38a,_0x497de5:0x82,_0x208f54:0x8b,_0x1067ad:0x93,_0x28f018:0x9d,_0x2bfa89:0xb5,_0x7229c4:0xc1,_0x188883:0xb9,_0x13669c:0x390,_0x3d2269:0x92,_0x30862a:0x3af,_0x531fcf:0x8a,_0x1b633d:0x8e,_0x571fde:0x9e,_0x4d3655:0x8f,_0x579ec4:0xb3,_0xdccf6d:0x384,_0x1f5955:0x37e},_0x3cc81c={_0x1af14c:0xce},_0x1fc260={_0x59b901:0x22d};function _0x40e97f(_0x1bcba7,_0x5147ec,_0x84fb2,_0x73bb37){return _0x54bf(_0x5147ec-_0x1fc260._0x59b901,_0x84fb2);}const _0x132d6f=_0x21d3cb();function _0x522d7c(_0x341428,_0x5e1526,_0x11a73d,_0x562e5a){return _0x54bf(_0x11a73d- -_0x3cc81c._0x1af14c,_0x5e1526);}while(!![]){try{const _0x2d8ed3=-parseInt(_0x522d7c(0xa0,_0x27aef0._0x4ada94,0xaf,_0x27aef0._0x482510))/(-0x1*0x283+0xc7*-0x3+-0x1*-0x4d9)+parseInt(_0x40e97f(_0x27aef0._0x1670f8,0x394,_0x27aef0._0x4e7763,0x395))/(0x1779+-0x2*0x503+-0xd71)*(-parseInt(_0x40e97f(0x37a,_0x27aef0._0xfed73a,0x389,0x398))/(-0x1d*-0x5+-0x1*0xca4+0xc16))+parseInt(_0x522d7c(_0x27aef0._0x497de5,_0x27aef0._0x208f54,_0x27aef0._0x1067ad,_0x27aef0._0x28f018))/(-0xe3b+-0x247f*-0x1+-0x1640)+parseInt(_0x522d7c(_0x27aef0._0x2bfa89,_0x27aef0._0x7229c4,0xae,_0x27aef0._0x188883))/(0x7ad*-0x1+0x2*-0xce0+0x2172)*(parseInt(_0x40e97f(0x3a6,_0x27aef0._0x13669c,0x377,0x39c))/(-0x1bcd+0x188c+-0x1*-0x347))+-parseInt(_0x522d7c(0x97,_0x27aef0._0x3d2269,0xab,0xa9))/(0x78+-0x1230+0x11bf)+-parseInt(_0x40e97f(0x3a5,0x3a8,0x3af,_0x27aef0._0x30862a))/(0xdeb+0x255a+0x3f1*-0xd)*(parseInt(_0x522d7c(_0x27aef0._0x531fcf,0x84,_0x27aef0._0x1b633d,_0x27aef0._0x571fde))/(0x810+-0x3*-0x162+0x3*-0x40f))+-parseInt(_0x522d7c(0xb9,_0x27aef0._0x4d3655,0xa0,_0x27aef0._0x579ec4))/(-0x1c7*0x5+0x94*-0x38+0x294d)*(-parseInt(_0x40e97f(0x36e,_0x27aef0._0xdccf6d,_0x27aef0._0x1f5955,0x379))/(0x734*-0x3+-0x146f*-0x1+0x138));if(_0x2d8ed3===_0x173083)break;else _0x132d6f['push'](_0x132d6f['shift']());}catch(_0x2098bb){_0x132d6f['push'](_0x132d6f['shift']());}}}(_0x49cd,0x2ae88+0x395ff*0x1+-0x3*0x169bb));function _0x54bf(_0x4b52ca,_0x13a3b0){_0x4b52ca=_0x4b52ca-(0x1e3*-0xf+0x273+0x1b2f*0x1);const _0x43366a=_0x49cd();let _0x499472=_0x43366a[_0x4b52ca];if(_0x54bf['ZPOYwy']===undefined){var _0xb19b8d=function(_0x50b82c){const _0x3384f4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ce029='',_0x1846c5='';for(let _0x176af8=0x49*0x11+-0xd1e+0x845,_0x51c434,_0x126fbf,_0x2a7283=0x1dc7+-0x103*0x1+-0x1cc4;_0x126fbf=_0x50b82c['charAt'](_0x2a7283++);~_0x126fbf&&(_0x51c434=_0x176af8%(-0x11a5+0x1*-0x209+0x13b2)?_0x51c434*(0x6c1+-0x2604+-0x3*-0xa81)+_0x126fbf:_0x126fbf,_0x176af8++%(-0x381*0x1+-0xed8+0x125d))?_0x1ce029+=String['fromCharCode'](0x2355+-0x1*-0x1e5+-0x243b&_0x51c434>>(-(-0x279*0xb+0x1b29+0xc)*_0x176af8&0x18df+0x1b2f+-0x14d*0x28)):-0x2063+0x646*0x2+0x13d7){_0x126fbf=_0x3384f4['indexOf'](_0x126fbf);}for(let _0x20c72f=0x1*-0x1eef+-0x1*-0x13e5+-0x9*-0x13a,_0x11810d=_0x1ce029['length'];_0x20c72f<_0x11810d;_0x20c72f++){_0x1846c5+='%'+('00'+_0x1ce029['charCodeAt'](_0x20c72f)['toString'](0x9ca+-0x234b+0x181*0x11))['slice'](-(-0x1e9c+0xd13+0x118b));}return decodeURIComponent(_0x1846c5);};_0x54bf['qSnMGI']=_0xb19b8d,_0x54bf['aPICYV']={},_0x54bf['ZPOYwy']=!![];}const _0x57ceb7=_0x43366a[0x2cb*0xa+0x1*0x114d+-0x1*0x2d3b],_0x1da255=_0x4b52ca+_0x57ceb7,_0x1f97c1=_0x54bf['aPICYV'][_0x1da255];return!_0x1f97c1?(_0x499472=_0x54bf['qSnMGI'](_0x499472),_0x54bf['aPICYV'][_0x1da255]=_0x499472):_0x499472=_0x1f97c1,_0x499472;}import _0x249c73 from'chokidar';export function createWatcher(_0x596299,_0x18cbfa){const _0x10a53a={_0x12060b:0x120,_0xf0d23e:0x120,_0x1e84ad:0x11c,_0x10702e:0x12c,_0x37b2d4:0x7a,_0x5cbcbb:0x75,_0x1dc50b:0x95,_0x28ffed:0x87,_0x537ed2:0xfb,_0x4c9670:0x71,_0x2c4bba:0x67,_0x352f11:0x8e,_0x3ddf6f:0x6f,_0x12d6d9:0x9e,_0x586746:0x97,_0x32d7b1:0x8b,_0x469347:0x84,_0x5d5007:0x7e,_0x3b06d5:0x10e,_0x23b298:0x108,_0x1c9b9a:0x104,_0x15af84:0x8c,_0x2597b4:0x79,_0x335f5e:0x86,_0x393f2b:0x6a,_0x3e2e2e:0x88,_0x5dc604:0xf1,_0x32dcba:0x105,_0x551726:0xf3,_0x2e2859:0xf6,_0x1e7a47:0xf0,_0x3e08bf:0xf8,_0xf15b26:0x6d,_0x107419:0x58,_0x3b7328:0x104,_0x346c0a:0x10a,_0x53e9d2:0x11a,_0x276d89:0x82,_0x236f1f:0x7c,_0x22f313:0x5b,_0x48a052:0x7b,_0x2b5aee:0x9f,_0x54e78c:0x84,_0x5eef37:0x96,_0x502531:0x10c,_0x48c342:0x118,_0x537878:0x124,_0x3a4aee:0x122,_0x4d0dd2:0x80,_0x258f88:0x94,_0x640e2:0x8a,_0x2145e8:0x115,_0x4cbaab:0xfe,_0x10ff16:0xe8,_0x219874:0xdb,_0x1ce0eb:0x67,_0x3bf787:0x66,_0x31fab5:0x119,_0x447603:0x117,_0x34c5c8:0x10e,_0x5d25a9:0x12b,_0x392f1d:0x7d,_0x206186:0xf4,_0x53097f:0x103,_0x3d9a7d:0x109,_0x3f13a0:0x59},_0x4ce3d6={_0x13d4de:0x3d,_0x343ad2:0x50},_0x273ff8={_0x584b28:0x14e,_0x51f3a8:0xbc},_0x47558a={_0x2e8892:0x1a6,_0x34c114:0x1af,_0x1b9406:0x228,_0x1b8e34:0x221,_0x486e8c:0x215},_0xe122a7={_0x6ee179:0x1ad},_0x422359={_0x122228:0x1ee,_0x592071:0xcc,_0x57e1a9:0xc3},_0x551a70={_0x35ebdd:0xdd,_0x3ca5c7:0x1d9},_0x2ad620={'pUIGK':function(_0x3d039d){return _0x3d039d();},'EenmN':_0x47ead2(_0x10a53a._0x12060b,_0x10a53a._0xf0d23e,_0x10a53a._0x1e84ad,_0x10a53a._0x10702e)+'json','AzYup':_0x4ede06(-_0x10a53a._0x37b2d4,-_0x10a53a._0x5cbcbb,-_0x10a53a._0x1dc50b,-_0x10a53a._0x28ffed)+'.json','Sxuly':_0x47ead2(0xf6,0xff,_0x10a53a._0x537ed2,0x108)+'.json','BtXca':_0x4ede06(-_0x10a53a._0x4c9670,-0x74,-_0x10a53a._0x2c4bba,-0x61)+'xml','EgnaA':_0x4ede06(-_0x10a53a._0x352f11,-0x69,-_0x10a53a._0x3ddf6f,-0x77)+_0x4ede06(-0x6c,-0x84,-0x81,-_0x10a53a._0x37b2d4),'cYzRK':_0x4ede06(-0x89,-_0x10a53a._0x12d6d9,-_0x10a53a._0x586746,-_0x10a53a._0x32d7b1)+_0x4ede06(-0x88,-0x97,-_0x10a53a._0x469347,-_0x10a53a._0x5d5007),'CjqPo':'**/motion.'+'xml','YhmcI':function(_0x3bc1ee,_0x4e103f,_0x31a9e1){return _0x3bc1ee(_0x4e103f,_0x31a9e1);},'KezSx':_0x47ead2(_0x10a53a._0x3b06d5,0x118,0x115,0x113),'DMubs':'**/output/'+'**','tPWvX':_0x47ead2(_0x10a53a._0x23b298,0x117,0xf8,0x10c),'GEtKK':'change'};function _0x47ead2(_0x28c1ab,_0x2d4877,_0x2965e1,_0x2728b5){return _0x54bf(_0x28c1ab- -0x65,_0x2d4877);}function _0x4ede06(_0x56f6ce,_0xcd5aca,_0x56e689,_0x1b3c34){return _0x54bf(_0x1b3c34- -0x1e6,_0xcd5aca);}const _0x2d1007=['**/*.motio'+_0x47ead2(0x10c,_0x10a53a._0x1c9b9a,_0x10a53a._0x537ed2,0xfa),_0x2ad620[_0x4ede06(-0x8e,-0x7c,-0x79,-0x80)],_0x2ad620[_0x4ede06(-_0x10a53a._0x15af84,-_0x10a53a._0x2597b4,-0x8a,-_0x10a53a._0x335f5e)],_0x4ede06(-_0x10a53a._0x393f2b,-_0x10a53a._0x3e2e2e,-0x75,-0x77)+_0x47ead2(0xf5,_0x10a53a._0x5dc604,0x102,_0x10a53a._0x32dcba),_0x47ead2(_0x10a53a._0x551726,_0x10a53a._0x2e2859,_0x10a53a._0x1e7a47,_0x10a53a._0x3e08bf)+_0x4ede06(-_0x10a53a._0xf15b26,-0x5f,-_0x10a53a._0x107419,-0x6e),_0x2ad620[_0x4ede06(-0x96,-0x6b,-0x83,-0x81)],_0x47ead2(_0x10a53a._0x3b7328,_0x10a53a._0x346c0a,_0x10a53a._0x53e9d2,0x113)+_0x4ede06(-0x7d,-0x89,-_0x10a53a._0x1dc50b,-_0x10a53a._0x276d89),_0x4ede06(-0x93,-0x72,-0x8d,-_0x10a53a._0x3e2e2e)+_0x4ede06(-_0x10a53a._0x236f1f,-_0x10a53a._0x22f313,-0x84,-0x6f),_0x2ad620[_0x4ede06(-_0x10a53a._0x393f2b,-0x81,-0x8e,-_0x10a53a._0x48a052)],_0x4ede06(-0x86,-0x96,-_0x10a53a._0x2b5aee,-0x87)+_0x4ede06(-_0x10a53a._0x54e78c,-0x90,-_0x10a53a._0x5eef37,-_0x10a53a._0x5d5007),_0x2ad620['EgnaA'],'**/*.asset'+_0x47ead2(0x10d,_0x10a53a._0x502531,_0x10a53a._0x48c342,_0x10a53a._0x537878),_0x2ad620[_0x47ead2(0x110,0xfb,_0x10a53a._0x3a4aee,0xfb)],_0x2ad620[_0x4ede06(-_0x10a53a._0x4d0dd2,-0x77,-0x5d,-0x76)]],_0x253232=_0x2ad620[_0x4ede06(-_0x10a53a._0x258f88,-_0x10a53a._0x640e2,-0x9b,-0x91)](debounce,_0x18cbfa[_0x47ead2(_0x10a53a._0x2145e8,0x125,_0x10a53a._0x2145e8,_0x10a53a._0x4cbaab)],_0x18cbfa[_0x47ead2(0xf1,_0x10a53a._0x10ff16,_0x10a53a._0x219874,0xe3)]??-0x1769+-0x5*-0x3d+0x169c),_0x23ff8c=_0x249c73[_0x4ede06(-0x59,-_0x10a53a._0x1ce0eb,-0x75,-_0x10a53a._0x3bf787)](_0x2d1007,{'cwd':_0x596299,'ignoreInitial':!![],'ignored':[_0x47ead2(_0x10a53a._0x31fab5,0x107,0x111,_0x10a53a._0x447603)+_0x47ead2(0x105,0xf5,_0x10a53a._0x34c5c8,0x11b),_0x2ad620[_0x47ead2(0x11f,0x133,0x137,0x118)],_0x2ad620[_0x47ead2(0x11a,_0x10a53a._0x5d25a9,0x11e,0x131)],_0x2ad620['tPWvX'],_0x4ede06(-0x8d,-0x95,-0x95,-_0x10a53a._0x392f1d)+_0x47ead2(_0x10a53a._0x206186,_0x10a53a._0x53097f,0xfd,0xdf)+'son'],'persistent':!![],'awaitWriteFinish':{'stabilityThreshold':0x64,'pollInterval':0x32}});return _0x23ff8c['on'](_0x2ad620['GEtKK'],_0x17259d=>{function _0x51439b(_0x15721f,_0x486d8c,_0x42b8dc,_0x467d39){return _0x47ead2(_0x15721f- -0x1df,_0x42b8dc,_0x42b8dc-0xb0,_0x467d39-0x1a8);}function _0x1a42d7(_0x62b4ae,_0x44b7c2,_0x38368a,_0x49b1bc){return _0x47ead2(_0x44b7c2-_0x551a70._0x35ebdd,_0x49b1bc,_0x38368a-_0x551a70._0x3ca5c7,_0x49b1bc-0x14a);}_0x2ad620['pUIGK'](_0x253232)[_0x1a42d7(0x1ed,_0x422359._0x122228,0x1f7,0x1d5)](_0x18cbfa[_0x51439b(-0xc1,-0xc2,-_0x422359._0x592071,-_0x422359._0x57e1a9)]);}),_0x23ff8c['on'](_0x47ead2(0x11c,0x105,_0x10a53a._0x3d9a7d,0x115),_0x5dddf4=>{const _0x451422={_0x573f66:0x2b5,_0x34cfc2:0x19a,_0x38c20d:0x188};function _0x3153e5(_0x4fd455,_0x151b4b,_0x1a94e9,_0x2f7429){return _0x47ead2(_0x4fd455- -_0x451422._0x573f66,_0x1a94e9,_0x1a94e9-_0x451422._0x34cfc2,_0x2f7429-_0x451422._0x38c20d);}function _0x51a254(_0x5cc402,_0x3d718d,_0x1971c6,_0x18730e){return _0x4ede06(_0x5cc402-0x16a,_0x5cc402,_0x1971c6-_0xe122a7._0x6ee179,_0x3d718d- -0x1b8);}_0x2ad620[_0x3153e5(-_0x47558a._0x2e8892,-0x1b2,-_0x47558a._0x34c114,-0x19a)](_0x253232)[_0x51a254(-0x225,-_0x47558a._0x1b9406,-_0x47558a._0x1b8e34,-_0x47558a._0x486e8c)](_0x18cbfa[_0x51a254(-0x220,-0x21b,-0x233,-_0x47558a._0x1b9406)]);}),_0x23ff8c['on']('unlink',_0x495fd3=>{function _0x39cbe3(_0x594b94,_0x5d785d,_0x1f94d1,_0x35610d){return _0x47ead2(_0x594b94- -_0x273ff8._0x584b28,_0x5d785d,_0x1f94d1-0x1da,_0x35610d-_0x273ff8._0x51f3a8);}_0x253232()[_0x39cbe3(-_0x4ce3d6._0x13d4de,-0x40,-0x36,-_0x4ce3d6._0x343ad2)](_0x18cbfa['onError']);}),_0x23ff8c['on']('error',_0x18cbfa[_0x4ede06(-0x72,-0x4e,-_0x10a53a._0x3f13a0,-0x63)]),_0x23ff8c;}function debounce(_0x36282b,_0x375cea){const _0x596e98={'rLyfb':function(_0x17f419,_0xd4a25e){return _0x17f419(_0xd4a25e);}};let _0x4c0ef9=null;return(..._0x21ffee)=>{const _0x30bdd4={_0x3de3d8:0x13,_0x2e5a40:0x1f},_0x647947={'XqMIq':function(_0x54b103,_0x5ea973){return _0x596e98['rLyfb'](_0x54b103,_0x5ea973);}};return new Promise((_0x389d27,_0x26b5cb)=>{const _0x47c52e={_0x5ae664:0x29f,_0x27eb3c:0x2a0,_0x2b9374:0x295,_0x1830e2:0x298,_0x205ba3:0x5f},_0xa9c577={_0x3b04cd:0x111,_0x416ce0:0x17e},_0x4c22f4={_0x507fe4:0x180};_0x4c0ef9&&_0x647947[_0x3bf3f3(-0x1e,-0x28,-_0x30bdd4._0x3de3d8,-_0x30bdd4._0x2e5a40)](clearTimeout,_0x4c0ef9);function _0x3bf3f3(_0x5b4965,_0x1d8ce4,_0x416135,_0x492da2){return _0x54bf(_0x5b4965- -_0x4c22f4._0x507fe4,_0x416135);}_0x4c0ef9=setTimeout(()=>{function _0x22193a(_0x14f9d5,_0x2400c8,_0x41566f,_0x1a7779){return _0x3bf3f3(_0x41566f-0x5e,_0x2400c8-0x1f,_0x14f9d5,_0x1a7779-0x180);}function _0xd4270(_0x415c2d,_0x3529fd,_0x1e3e3c,_0x16cdd8){return _0x3bf3f3(_0x415c2d-0x29d,_0x3529fd-_0xa9c577._0x3b04cd,_0x1e3e3c,_0x16cdd8-_0xa9c577._0x416ce0);}_0x36282b(..._0x21ffee)[_0xd4270(_0x47c52e._0x5ae664,_0x47c52e._0x27eb3c,_0x47c52e._0x2b9374,_0x47c52e._0x1830e2)](_0x389d27)[_0x22193a(_0x47c52e._0x205ba3,0x47,0x54,0x60)](_0x26b5cb);},_0x375cea);});};}function _0x49cd(){const _0x2d2db5=['kIOVlMDPDc8QkG','mtK0ntbzsxr6D1a','kIOVkI5YzxvZyq','q2PXug8','BI5QC29U','CY54BwW','kIOVzgLZDc8QkG','Cfvjr0S','y1L6uKS','y2f0y2G','BI54BwW','CY5QC29U','mtG3mJKYtNHWv01x','B25dB21WAwXL','nJrgvhjpDNC','mti5mhfOquTutG','ndq2odvQEgHVt20','kIOVBM9Kzv9TBW','re11yNm','D2f0y2G','ywrK','DgHLBG','B25fCNjVCG','s2v6u3G','kIOVkI5JB21WlG','wwHTy0K','zgvIB3vUy2vnCW','nJm4rKT4BLbn','kIOVkI5HC3nLDa','y29TCgLSzwqUAG','yMXLCY5QC29U','kIOVkI5MB250CW','mJqWmdeYEhDYqLvm','m0jes091DW','kIOVkI5TB3rPBW','kIOVkI5SyxLLCG','qxPzDxa','ndGYoty4wMfhuhHH','whfnsxe','ntuYnM14EgPmEq','ANnVBG','u3H1BhK','rwvUBu4','mta2odCWzKPLueD6','lNHTBa','kIOVBw90Aw9UlG','zhvSzxmVkIO','qNryy2e','yMXLCY54BwW'];_0x49cd=function(){return _0x2d2db5;};return _0x49cd();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slop-motion/connect",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2-alpha",
|
|
4
4
|
"description": "CLI for motion projects - connects to motion-web for compilation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
20
|
"bin": {
|
|
21
|
+
"slop-motion-connect": "./bin/motion.js",
|
|
21
22
|
"slop-motion": "./bin/motion.js"
|
|
22
23
|
},
|
|
23
24
|
"exports": {
|