vome-core 0.0.22 → 0.0.24

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(_0x1f2067,_0x293999){const _0x2df11a=_0x43fa,_0x59d467=_0x1f2067();while(!![]){try{const _0x3b410b=parseInt(_0x2df11a(0xe6))/0x1*(-parseInt(_0x2df11a(0xe4))/0x2)+-parseInt(_0x2df11a(0xda))/0x3*(parseInt(_0x2df11a(0xed))/0x4)+parseInt(_0x2df11a(0xeb))/0x5*(parseInt(_0x2df11a(0xcf))/0x6)+parseInt(_0x2df11a(0xec))/0x7*(parseInt(_0x2df11a(0xe5))/0x8)+parseInt(_0x2df11a(0xe9))/0x9*(-parseInt(_0x2df11a(0xd7))/0xa)+-parseInt(_0x2df11a(0xd2))/0xb+parseInt(_0x2df11a(0xe1))/0xc*(parseInt(_0x2df11a(0xdb))/0xd);if(_0x3b410b===_0x293999)break;else _0x59d467['push'](_0x59d467['shift']());}catch(_0x48dd76){_0x59d467['push'](_0x59d467['shift']());}}}(_0xa9ed,0xaa63f));function _0xa9ed(){const _0xe72251=['DMLKzw8','otC0mtmWm3btsvrpta','CgXHExnjBMXPBMu','DMfSDwu','zxjYB3i','Dw5KzwzPBMvK','mtm4mgPrtxnOwG','yw5VBNLTB3vZ','Bg9HzgvKzgf0yq','ntiYmdLNC01qBK0','mtu2tK9VvhvO','zhjHD0LTywDL','ywrKrxzLBNrmAxn0zw5LCG','DgHLBG','Bxv0zwq','y3jLyxrLrwXLBwvUDa','mZi4mda5mKPpuKHqra','CMvTB3zLqxr0CMLIDxrL','ChjLBg9Hza','mJu3nde5nhjZqKDJuq','ndK0mJe2wMzWu1nQ','mxLsvuzKCW','AgvPz2H0','C3jJ','ntKXotnJqwDNCwe','y3vYCMvUDfrPBwu','ntq2mJmWnwXiBgDrzq','ndLrA21mzu4','mJm2CMfvr3jR','DMLKzw9izwLNAhq','C2vLA2vK','Aw1Hz2uVANbLzW','y2fUDMfZ','y2XLyxjuAw1LB3v0','nK1Ny0zVBq','Dg9eyxrHvvjm'];_0xa9ed=function(){return _0xe72251;};return _0xa9ed();}import{onUnmounted,ref,watch}from'vue';export const FRAME_CAPTURE_TIMEOUT_MS=0x1f40;function _0x43fa(_0x2f7c52,_0x3cf059){_0x2f7c52=_0x2f7c52-0xcb;const _0xa9ed2f=_0xa9ed();let _0x43fa74=_0xa9ed2f[_0x2f7c52];if(_0x43fa['UIFhap']===undefined){var _0x217f31=function(_0xef7df4){const _0x2a416d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e0363='',_0x27cc6c='';for(let _0x324c0d=0x0,_0x308672,_0x33d731,_0x4a327c=0x0;_0x33d731=_0xef7df4['charAt'](_0x4a327c++);~_0x33d731&&(_0x308672=_0x324c0d%0x4?_0x308672*0x40+_0x33d731:_0x33d731,_0x324c0d++%0x4)?_0x5e0363+=String['fromCharCode'](0xff&_0x308672>>(-0x2*_0x324c0d&0x6)):0x0){_0x33d731=_0x2a416d['indexOf'](_0x33d731);}for(let _0x5c4b5b=0x0,_0x2105bf=_0x5e0363['length'];_0x5c4b5b<_0x2105bf;_0x5c4b5b++){_0x27cc6c+='%'+('00'+_0x5e0363['charCodeAt'](_0x5c4b5b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x27cc6c);};_0x43fa['fVNQgk']=_0x217f31,_0x43fa['dBGBVz']={},_0x43fa['UIFhap']=!![];}const _0x551925=_0xa9ed2f[0x0],_0x2e6626=_0x2f7c52+_0x551925,_0x2e6375=_0x43fa['dBGBVz'][_0x2e6626];return!_0x2e6375?(_0x43fa74=_0x43fa['fVNQgk'](_0x43fa74),_0x43fa['dBGBVz'][_0x2e6626]=_0x43fa74):_0x43fa74=_0x2e6375,_0x43fa74;}export function captureVideoFrame(_0x5e0363){const _0x943a6b=_0x43fa;if(typeof document===_0x943a6b(0xd6))return Promise['resolve'](null);return new Promise(_0x27cc6c=>{const _0x15cb88=_0x943a6b,_0x324c0d=document[_0x15cb88(0xe0)](_0x15cb88(0xd1));_0x324c0d['crossOrigin']=_0x15cb88(0xd8),_0x324c0d[_0x15cb88(0xdf)]=!![],_0x324c0d[_0x15cb88(0xd3)]=!![],_0x324c0d[_0x15cb88(0xe3)]='auto';let _0x308672=![];const _0x33d731=_0x5c4b5b=>{const _0x36a224=_0x15cb88;if(_0x308672)return;_0x308672=!![],window[_0x36a224(0xce)](_0x4a327c),_0x324c0d[_0x36a224(0xe2)]('src'),_0x324c0d['load'](),_0x27cc6c(_0x5c4b5b);},_0x4a327c=window['setTimeout'](()=>_0x33d731(null),FRAME_CAPTURE_TIMEOUT_MS);_0x324c0d['addEventListener'](_0x15cb88(0xd5),()=>_0x33d731(null),{'once':!![]}),_0x324c0d[_0x15cb88(0xdd)](_0x15cb88(0xd9),()=>{const _0x56de18=_0x15cb88;try{_0x324c0d[_0x56de18(0xea)]=0.01;}catch{_0x33d731(null);}},{'once':!![]}),_0x324c0d[_0x15cb88(0xdd)](_0x15cb88(0xcb),()=>{const _0x1aec7a=_0x15cb88;try{const _0x2105bf=_0x324c0d['videoWidth'],_0x30f405=_0x324c0d[_0x1aec7a(0xee)];if(!_0x2105bf||!_0x30f405){_0x33d731(null);return;}const _0x5b3573=document[_0x1aec7a(0xe0)](_0x1aec7a(0xcd));_0x5b3573['width']=_0x2105bf,_0x5b3573[_0x1aec7a(0xe7)]=_0x30f405;const _0x5d0f83=_0x5b3573['getContext']('2d');if(!_0x5d0f83){_0x33d731(null);return;}_0x5d0f83[_0x1aec7a(0xdc)](_0x324c0d,0x0,0x0,_0x2105bf,_0x30f405),_0x33d731(_0x5b3573[_0x1aec7a(0xd0)](_0x1aec7a(0xcc),0.82));}catch{_0x33d731(null);}},{'once':!![]}),_0x324c0d[_0x15cb88(0xe8)]=_0x5e0363;});}export function useVideoFrame(_0xfe80bf){const _0x13fc26=ref(''),_0x9216db=ref(![]);let _0x4634da=0x0;return watch(_0xfe80bf,_0x3118fe=>{const _0x1c2978=_0x43fa;_0x4634da+=0x1;const _0x28c237=_0x4634da;_0x13fc26['value']='',_0x9216db[_0x1c2978(0xd4)]=![];if(!_0x3118fe)return;captureVideoFrame(_0x3118fe)[_0x1c2978(0xde)](_0x175fd3=>{const _0x14cdd1=_0x1c2978;if(_0x28c237!==_0x4634da)return;if(_0x175fd3)_0x13fc26[_0x14cdd1(0xd4)]=_0x175fd3;else _0x9216db['value']=!![];});},{'immediate':!![]}),onUnmounted(()=>{_0x4634da+=0x1;}),{'videoFrameSrc':_0x13fc26,'frameFailed':_0x9216db};}
1
+ (function(_0x39f437,_0x12aa11){const _0x5cdfe2=_0x3a31,_0x4f2020=_0x39f437();while(!![]){try{const _0x2bd04c=-parseInt(_0x5cdfe2(0x177))/0x1+parseInt(_0x5cdfe2(0x17a))/0x2+parseInt(_0x5cdfe2(0x163))/0x3*(-parseInt(_0x5cdfe2(0x164))/0x4)+-parseInt(_0x5cdfe2(0x17e))/0x5*(-parseInt(_0x5cdfe2(0x159))/0x6)+-parseInt(_0x5cdfe2(0x176))/0x7*(parseInt(_0x5cdfe2(0x173))/0x8)+-parseInt(_0x5cdfe2(0x15b))/0x9+-parseInt(_0x5cdfe2(0x161))/0xa*(-parseInt(_0x5cdfe2(0x178))/0xb);if(_0x2bd04c===_0x12aa11)break;else _0x4f2020['push'](_0x4f2020['shift']());}catch(_0x33f104){_0x4f2020['push'](_0x4f2020['shift']());}}}(_0x19a4,0xac5c7));import{onUnmounted,ref,watch}from'vue';export const FRAME_CAPTURE_TIMEOUT_MS=0x1f40;function _0x19a4(){const _0x2cdb41=['Bxv0zwq','y3vYCMvUDfrPBwu','y3jVC3npCMLNAw4','DMLKzw8','y3jLyxrLrwXLBwvUDa','mta1nJGYmZb3BuTAA04','D2LKDgG','nK5Kv1P0Dq','mtC2nty4neT5tgzszG','Bg9HzgvKzgf0yq','Aw1Hz2uVANbLzW','z2v0q29UDgv4Da','C3jJ','yw5VBNLTB3vZ','ywrKrxzLBNrmAxn0zw5LCG','DMLKzw9xAwr0Aa','Dw5KzwzPBMvK','CMvTB3zLqxr0CMLIDxrL','CMvZB2X2zq','CgXHExnjBMXPBMu','y2fUDMfZ','ChjLBg9Hza','y2XLyxjuAw1LB3v0','mtqXnM9vCeHAzW','DMfSDwu','zxjYB3i','mJi5mtHwq2vwu1u','nduXoti3svjpzfb1','mJjLuePfzeu','DgHLBG','mtuYnJu2mKDQruLXuG','Bg9Hza','C2v0vgLTzw91Da','DMLKzw9izwLNAhq','nduWmJm3nu5IBLnZAG','nNHeCwDkrG','zhjHD0LTywDL','mta0mtqYotztBfnNuLu'];_0x19a4=function(){return _0x2cdb41;};return _0x19a4();}function _0x3a31(_0x2e3c7d,_0xe3171e){_0x2e3c7d=_0x2e3c7d-0x159;const _0x19a4b2=_0x19a4();let _0x3a31d7=_0x19a4b2[_0x2e3c7d];if(_0x3a31['nZJHmQ']===undefined){var _0x5c8f49=function(_0x295628){const _0x1d1f6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ffaa7='',_0x2b79bd='';for(let _0x4719fe=0x0,_0x5a4159,_0xb116be,_0x842ec5=0x0;_0xb116be=_0x295628['charAt'](_0x842ec5++);~_0xb116be&&(_0x5a4159=_0x4719fe%0x4?_0x5a4159*0x40+_0xb116be:_0xb116be,_0x4719fe++%0x4)?_0x4ffaa7+=String['fromCharCode'](0xff&_0x5a4159>>(-0x2*_0x4719fe&0x6)):0x0){_0xb116be=_0x1d1f6['indexOf'](_0xb116be);}for(let _0x4c62a0=0x0,_0x33f3b7=_0x4ffaa7['length'];_0x4c62a0<_0x33f3b7;_0x4c62a0++){_0x2b79bd+='%'+('00'+_0x4ffaa7['charCodeAt'](_0x4c62a0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b79bd);};_0x3a31['XFoLCH']=_0x5c8f49,_0x3a31['uHmGkw']={},_0x3a31['nZJHmQ']=!![];}const _0x3f059e=_0x19a4b2[0x0],_0xaae16f=_0x2e3c7d+_0x3f059e,_0x341326=_0x3a31['uHmGkw'][_0xaae16f];return!_0x341326?(_0x3a31d7=_0x3a31['XFoLCH'](_0x3a31d7),_0x3a31['uHmGkw'][_0xaae16f]=_0x3a31d7):_0x3a31d7=_0x341326,_0x3a31d7;}export function captureVideoFrame(_0x4ffaa7){const _0x49b7b8=_0x3a31;if(typeof document===_0x49b7b8(0x16c))return Promise[_0x49b7b8(0x16e)](null);return new Promise(_0x2b79bd=>{const _0x4a3632=_0x49b7b8,_0x4719fe=document['createElement'](_0x4a3632(0x15f));_0x4719fe[_0x4a3632(0x15e)]=_0x4a3632(0x169),_0x4719fe[_0x4a3632(0x15c)]=!![],_0x4719fe[_0x4a3632(0x16f)]=!![],_0x4719fe[_0x4a3632(0x171)]='auto';let _0x5a4159=![];const _0xb116be=_0x4c62a0=>{const _0x43251f=_0x4a3632;if(_0x5a4159)return;_0x5a4159=!![],window[_0x43251f(0x172)](_0x842ec5),_0x4719fe[_0x43251f(0x16d)](_0x43251f(0x168)),_0x4719fe[_0x43251f(0x17b)](),_0x2b79bd(_0x4c62a0);},_0x842ec5=window[_0x4a3632(0x17c)](()=>_0xb116be(null),FRAME_CAPTURE_TIMEOUT_MS);_0x4719fe[_0x4a3632(0x16a)](_0x4a3632(0x175),()=>_0xb116be(null),{'once':!![]}),_0x4719fe[_0x4a3632(0x16a)](_0x4a3632(0x165),()=>{const _0x39cda9=_0x4a3632;try{_0x4719fe[_0x39cda9(0x15d)]=0.01;}catch{_0xb116be(null);}},{'once':!![]}),_0x4719fe[_0x4a3632(0x16a)]('seeked',()=>{const _0x569598=_0x4a3632;try{const _0x33f3b7=_0x4719fe[_0x569598(0x16b)],_0x236650=_0x4719fe[_0x569598(0x17d)];if(!_0x33f3b7||!_0x236650){_0xb116be(null);return;}const _0x3321b3=document[_0x569598(0x160)](_0x569598(0x170));_0x3321b3[_0x569598(0x162)]=_0x33f3b7,_0x3321b3['height']=_0x236650;const _0x19ef5d=_0x3321b3[_0x569598(0x167)]('2d');if(!_0x19ef5d){_0xb116be(null);return;}_0x19ef5d[_0x569598(0x15a)](_0x4719fe,0x0,0x0,_0x33f3b7,_0x236650),_0xb116be(_0x3321b3['toDataURL'](_0x569598(0x166),0.82));}catch{_0xb116be(null);}},{'once':!![]}),_0x4719fe[_0x4a3632(0x168)]=_0x4ffaa7;});}export function useVideoFrame(_0x5a0173){const _0x3a86c8=ref(''),_0x5c72a6=ref(![]);let _0x13287e=0x0;return watch(_0x5a0173,_0x4e4b5a=>{const _0x575827=_0x3a31;_0x13287e+=0x1;const _0x497432=_0x13287e;_0x3a86c8[_0x575827(0x174)]='',_0x5c72a6[_0x575827(0x174)]=![];if(!_0x4e4b5a)return;captureVideoFrame(_0x4e4b5a)[_0x575827(0x179)](_0x536a70=>{const _0x1cb520=_0x575827;if(_0x497432!==_0x13287e)return;if(_0x536a70)_0x3a86c8[_0x1cb520(0x174)]=_0x536a70;else _0x5c72a6[_0x1cb520(0x174)]=!![];});},{'immediate':!![]}),onUnmounted(()=>{_0x13287e+=0x1;}),{'videoFrameSrc':_0x3a86c8,'frameFailed':_0x5c72a6};}