vome-core 0.0.80 → 0.0.82

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(_0x58aefc,_0x261051){const _0x3f719c=_0x2050,_0xef63ac=_0x58aefc();while(!![]){try{const _0x2d24f6=-parseInt(_0x3f719c(0x155))/0x1+-parseInt(_0x3f719c(0x15e))/0x2+parseInt(_0x3f719c(0x161))/0x3+-parseInt(_0x3f719c(0x16e))/0x4+parseInt(_0x3f719c(0x165))/0x5+-parseInt(_0x3f719c(0x160))/0x6*(-parseInt(_0x3f719c(0x166))/0x7)+parseInt(_0x3f719c(0x156))/0x8;if(_0x2d24f6===_0x261051)break;else _0xef63ac['push'](_0xef63ac['shift']());}catch(_0x9aeedb){_0xef63ac['push'](_0xef63ac['shift']());}}}(_0x2eb2,0xbef5b));import{onUnmounted,ref,watch}from'vue';export const FRAME_CAPTURE_TIMEOUT_MS=0x1f40;export function captureVideoFrame(_0x57e912){if(typeof document==='undefined')return Promise['resolve'](null);return new Promise(_0x4b616f=>{const _0xe38597=_0x2050,_0x543fcb=document['createElement'](_0xe38597(0x15d));_0x543fcb[_0xe38597(0x16a)]=_0xe38597(0x15c),_0x543fcb[_0xe38597(0x167)]=!![],_0x543fcb[_0xe38597(0x159)]=!![],_0x543fcb[_0xe38597(0x15f)]='auto';let _0x292e2a=![];const _0x210ebf=_0x13d7a9=>{const _0x392432=_0xe38597;if(_0x292e2a)return;_0x292e2a=!![],window[_0x392432(0x162)](_0x174525),_0x543fcb[_0x392432(0x16f)](_0x392432(0x16d)),_0x543fcb[_0x392432(0x157)](),_0x4b616f(_0x13d7a9);},_0x174525=window[_0xe38597(0x164)](()=>_0x210ebf(null),FRAME_CAPTURE_TIMEOUT_MS);_0x543fcb[_0xe38597(0x172)]('error',()=>_0x210ebf(null),{'once':!![]}),_0x543fcb[_0xe38597(0x172)](_0xe38597(0x168),()=>{try{_0x543fcb['currentTime']=0.01;}catch{_0x210ebf(null);}},{'once':!![]}),_0x543fcb[_0xe38597(0x172)](_0xe38597(0x15a),()=>{const _0x4074d6=_0xe38597;try{const _0x5b9d68=_0x543fcb[_0x4074d6(0x16c)],_0x3deb48=_0x543fcb[_0x4074d6(0x15b)];if(!_0x5b9d68||!_0x3deb48){_0x210ebf(null);return;}const _0x4ffb79=document[_0x4074d6(0x16b)]('canvas');_0x4ffb79['width']=_0x5b9d68,_0x4ffb79[_0x4074d6(0x169)]=_0x3deb48;const _0x3c5337=_0x4ffb79['getContext']('2d');if(!_0x3c5337){_0x210ebf(null);return;}_0x3c5337[_0x4074d6(0x163)](_0x543fcb,0x0,0x0,_0x5b9d68,_0x3deb48),_0x210ebf(_0x4ffb79['toDataURL'](_0x4074d6(0x158),0.82));}catch{_0x210ebf(null);}},{'once':!![]}),_0x543fcb['src']=_0x57e912;});}function _0x2050(_0x1c8180,_0x497e69){_0x1c8180=_0x1c8180-0x155;const _0x2eb2a9=_0x2eb2();let _0x205017=_0x2eb2a9[_0x1c8180];if(_0x2050['upUXMS']===undefined){var _0x403d96=function(_0x9a7e4f){const _0x326244='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57e912='',_0x4b616f='';for(let _0x543fcb=0x0,_0x292e2a,_0x210ebf,_0x174525=0x0;_0x210ebf=_0x9a7e4f['charAt'](_0x174525++);~_0x210ebf&&(_0x292e2a=_0x543fcb%0x4?_0x292e2a*0x40+_0x210ebf:_0x210ebf,_0x543fcb++%0x4)?_0x57e912+=String['fromCharCode'](0xff&_0x292e2a>>(-0x2*_0x543fcb&0x6)):0x0){_0x210ebf=_0x326244['indexOf'](_0x210ebf);}for(let _0x13d7a9=0x0,_0x5b9d68=_0x57e912['length'];_0x13d7a9<_0x5b9d68;_0x13d7a9++){_0x4b616f+='%'+('00'+_0x57e912['charCodeAt'](_0x13d7a9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b616f);};_0x2050['wdjRWG']=_0x403d96,_0x2050['sxQEhE']={},_0x2050['upUXMS']=!![];}const _0x50a8dc=_0x2eb2a9[0x0],_0x124dc4=_0x1c8180+_0x50a8dc,_0xbf6938=_0x2050['sxQEhE'][_0x124dc4];return!_0xbf6938?(_0x205017=_0x2050['wdjRWG'](_0x205017),_0x2050['sxQEhE'][_0x124dc4]=_0x205017):_0x205017=_0xbf6938,_0x205017;}function _0x2eb2(){const _0x1b5d7b=['Bxv0zwq','Bg9HzgvKzgf0yq','AgvPz2H0','y3jVC3npCMLNAw4','y3jLyxrLrwXLBwvUDa','DMLKzw9xAwr0Aa','C3jJ','ntu3ntG1mNn0zw9vCa','CMvTB3zLqxr0CMLIDxrL','DgHLBG','DMfSDwu','ywrKrxzLBNrmAxn0zw5LCG','mZa1mdC1vgD1vufQ','mtKXmZKZndr4vfLly1K','Bg9Hza','Aw1Hz2uVANbLzW','CgXHExnjBMXPBMu','C2vLA2vK','DMLKzw9izwLNAhq','yw5VBNLTB3vZ','DMLKzw8','mZa1nJy2mMfjC0nbBa','ChjLBg9Hza','mti1otKZngreCuLfzG','oty4odaYzKXoBwfQ','y2XLyxjuAw1LB3v0','zhjHD0LTywDL','C2v0vgLTzw91Da','ntqYmdK5nwTMrxPuAW','n0zuzKv0Cq'];_0x2eb2=function(){return _0x1b5d7b;};return _0x2eb2();}export function useVideoFrame(_0x2cbf99){const _0x14a731=ref(''),_0x13bad1=ref(![]);let _0x4ad3c8=0x0;return watch(_0x2cbf99,_0x2cb428=>{const _0x279bff=_0x2050;_0x4ad3c8+=0x1;const _0x3ab925=_0x4ad3c8;_0x14a731[_0x279bff(0x171)]='',_0x13bad1[_0x279bff(0x171)]=![];if(!_0x2cb428)return;captureVideoFrame(_0x2cb428)[_0x279bff(0x170)](_0x5371f9=>{const _0x5a6a3d=_0x279bff;if(_0x3ab925!==_0x4ad3c8)return;if(_0x5371f9)_0x14a731[_0x5a6a3d(0x171)]=_0x5371f9;else _0x13bad1[_0x5a6a3d(0x171)]=!![];});},{'immediate':!![]}),onUnmounted(()=>{_0x4ad3c8+=0x1;}),{'videoFrameSrc':_0x14a731,'frameFailed':_0x13bad1};}
1
+ (function(_0x291260,_0x3bbadf){const _0x52f423=_0x3981,_0x50e4cc=_0x291260();while(!![]){try{const _0x573882=-parseInt(_0x52f423(0x122))/0x1*(parseInt(_0x52f423(0x121))/0x2)+parseInt(_0x52f423(0x10d))/0x3*(-parseInt(_0x52f423(0x129))/0x4)+-parseInt(_0x52f423(0x118))/0x5+-parseInt(_0x52f423(0x113))/0x6+-parseInt(_0x52f423(0x12c))/0x7*(-parseInt(_0x52f423(0x120))/0x8)+-parseInt(_0x52f423(0x12a))/0x9+parseInt(_0x52f423(0x116))/0xa;if(_0x573882===_0x3bbadf)break;else _0x50e4cc['push'](_0x50e4cc['shift']());}catch(_0x207c46){_0x50e4cc['push'](_0x50e4cc['shift']());}}}(_0x1cd1,0x3abff));function _0x1cd1(){const _0x4f8263=['yw5VBNLTB3vZ','AgvPz2H0','C2v0vgLTzw91Da','D2LKDgG','mtq3nJG4DuXltfn3','mLHMAw1WtW','mtq5nZm1AxD3zeHY','Bg9HzgvKzgf0yq','y2fUDMfZ','CMvZB2X2zq','Dw5KzwzPBMvK','ChjLBg9Hza','DMLKzw8','oejXugnoqq','mJiWnZa1mLjythjvBW','DMfSDwu','ndLXBKDPwKW','yxv0BW','zxjYB3i','C3jJ','y2XLyxjuAw1LB3v0','Dg9eyxrHvvjm','odeWnJLtrvfiyu8','DMLKzw9xAwr0Aa','y3vYCMvUDfrPBwu','z2v0q29UDgv4Da','Bxv0zwq','Bg9Hza','mJC4mJCWngLZCNj3wG','ywrKrxzLBNrmAxn0zw5LCG','zhjHD0LTywDL','mtq1nJm3mZbKuLDst3K','Aw1Hz2uVANbLzW','mJe2mdG0mfzVrxjSvW','C2vLA2vK','DgHLBG','y3jLyxrLrwXLBwvUDa'];_0x1cd1=function(){return _0x4f8263;};return _0x1cd1();}import{onUnmounted,ref,watch}from'vue';function _0x3981(_0x28ec51,_0x528074){_0x28ec51=_0x28ec51-0x10b;const _0x1cd1b8=_0x1cd1();let _0x398167=_0x1cd1b8[_0x28ec51];if(_0x3981['bDiYfV']===undefined){var _0x143588=function(_0x524c60){const _0x43d9ae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3adec2='',_0x34ceeb='';for(let _0x5d4d88=0x0,_0x23a448,_0x2754fb,_0x523720=0x0;_0x2754fb=_0x524c60['charAt'](_0x523720++);~_0x2754fb&&(_0x23a448=_0x5d4d88%0x4?_0x23a448*0x40+_0x2754fb:_0x2754fb,_0x5d4d88++%0x4)?_0x3adec2+=String['fromCharCode'](0xff&_0x23a448>>(-0x2*_0x5d4d88&0x6)):0x0){_0x2754fb=_0x43d9ae['indexOf'](_0x2754fb);}for(let _0x239943=0x0,_0x2ed54e=_0x3adec2['length'];_0x239943<_0x2ed54e;_0x239943++){_0x34ceeb+='%'+('00'+_0x3adec2['charCodeAt'](_0x239943)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x34ceeb);};_0x3981['YFiQEl']=_0x143588,_0x3981['CJsopt']={},_0x3981['bDiYfV']=!![];}const _0x3fc18d=_0x1cd1b8[0x0],_0x1ce5bf=_0x28ec51+_0x3fc18d,_0x59393a=_0x3981['CJsopt'][_0x1ce5bf];return!_0x59393a?(_0x398167=_0x3981['YFiQEl'](_0x398167),_0x3981['CJsopt'][_0x1ce5bf]=_0x398167):_0x398167=_0x59393a,_0x398167;}export const FRAME_CAPTURE_TIMEOUT_MS=0x1f40;export function captureVideoFrame(_0x3adec2){const _0x4fd435=_0x3981;if(typeof document===_0x4fd435(0x126))return Promise[_0x4fd435(0x125)](null);return new Promise(_0x34ceeb=>{const _0x405261=_0x4fd435,_0x5d4d88=document[_0x405261(0x11b)](_0x405261(0x128));_0x5d4d88['crossOrigin']=_0x405261(0x11c),_0x5d4d88[_0x405261(0x111)]=!![],_0x5d4d88['playsInline']=!![],_0x5d4d88[_0x405261(0x127)]=_0x405261(0x12d);let _0x23a448=![];const _0x2754fb=_0x239943=>{const _0x5ac60b=_0x405261;if(_0x23a448)return;_0x23a448=!![],window[_0x5ac60b(0x10b)](_0x523720),_0x5d4d88['removeAttribute'](_0x5ac60b(0x12f)),_0x5d4d88[_0x5ac60b(0x112)](),_0x34ceeb(_0x239943);},_0x523720=window[_0x405261(0x11e)](()=>_0x2754fb(null),FRAME_CAPTURE_TIMEOUT_MS);_0x5d4d88['addEventListener'](_0x405261(0x12e),()=>_0x2754fb(null),{'once':!![]}),_0x5d4d88['addEventListener'](_0x405261(0x123),()=>{const _0x1b6051=_0x405261;try{_0x5d4d88[_0x1b6051(0x10f)]=0.01;}catch{_0x2754fb(null);}},{'once':!![]}),_0x5d4d88[_0x405261(0x114)](_0x405261(0x119),()=>{const _0x55b2f7=_0x405261;try{const _0x2ed54e=_0x5d4d88[_0x55b2f7(0x10e)],_0x5e8e99=_0x5d4d88['videoHeight'];if(!_0x2ed54e||!_0x5e8e99){_0x2754fb(null);return;}const _0x4ad467=document[_0x55b2f7(0x11b)](_0x55b2f7(0x124));_0x4ad467[_0x55b2f7(0x11f)]=_0x2ed54e,_0x4ad467[_0x55b2f7(0x11d)]=_0x5e8e99;const _0x301509=_0x4ad467[_0x55b2f7(0x110)]('2d');if(!_0x301509){_0x2754fb(null);return;}_0x301509[_0x55b2f7(0x115)](_0x5d4d88,0x0,0x0,_0x2ed54e,_0x5e8e99),_0x2754fb(_0x4ad467[_0x55b2f7(0x10c)](_0x55b2f7(0x117),0.82));}catch{_0x2754fb(null);}},{'once':!![]}),_0x5d4d88[_0x405261(0x12f)]=_0x3adec2;});}export function useVideoFrame(_0x182b54){const _0x23164c=ref(''),_0x192d45=ref(![]);let _0xb0daea=0x0;return watch(_0x182b54,_0x5065ee=>{const _0x405aff=_0x3981;_0xb0daea+=0x1;const _0x5fa7e8=_0xb0daea;_0x23164c[_0x405aff(0x12b)]='',_0x192d45[_0x405aff(0x12b)]=![];if(!_0x5065ee)return;captureVideoFrame(_0x5065ee)[_0x405aff(0x11a)](_0x230266=>{const _0x263959=_0x405aff;if(_0x5fa7e8!==_0xb0daea)return;if(_0x230266)_0x23164c[_0x263959(0x12b)]=_0x230266;else _0x192d45[_0x263959(0x12b)]=!![];});},{'immediate':!![]}),onUnmounted(()=>{_0xb0daea+=0x1;}),{'videoFrameSrc':_0x23164c,'frameFailed':_0x192d45};}