Files
2026-08-26 13:22:49 -05:00

2 lines
23 KiB
JavaScript
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const _0x66bb91=_0x43c8;function _0x3b55(){const _0x48983d=['mJe2ma','Dgv4Dc9ODg1SlgfWCgXPy2f0Aw9Ul3HODg1Sk3HTBcXHChbSAwnHDgLVBI94BwW7Ct0WlJKSAw1Hz2uVyxzPzIXPBwfNzs93zwjWlcOVkJTXptaUoa','CMvZB2X2zq','DxjS','otm1mtG0CwvzwhHM','ue9tva','xhmQpvXZkIHBiIDDksHBxhnCu10QpYLCmq','mtmZndbxr3vYrfe','Ag9ZDg5HBwu','BwfW','Dgv4Da','BgfIzwW','EwvHCG','zw5KC1DPDgG','DMLKzw8VEc1TyxrYB3nRyq','ywXS','vuHetw92AwvZ','DMfSDwu','8j+tPIbtAxPLifvUA25VD24','lZ9Zpq','8j+AGcaXmdGWCa','Bw92Awu','CMvSzwfZzv9KyxrL','mZC1mZeXBvzMtw5I','sfruuca','ntK1shDtAfPs','BwvZC2fNzq','Bwf0y2G','Bg9N','DwHKBw92AwvZ','lMDVB2DSzxzPzgvVlMnVBq','ihWG','mtG2nwy0m2eWntq5y2e1mgqZndfKzdLHyJHImJLMndK','AhjLzG','AM9PBG','mty4otiZmJvtC29NweO','zMLSDgvY','w1vire1VDMLLC10GrxjYB3i6ia','Ag9ZDa','lNiYlMrLDG','BgvUz3rO','BgfUz3vHz2u','w1vire1VDMLLC10GvgHLigrVD25SB2fKigDHDgv3yxKGCMvQzwn0zwqGywXSihjLCxvLC3rZigLUihrOAxmGCNvUDgLTzq','C29Tzq','AgKG4OcIigvU','l21VDMLLlW','ywn0Aw9U','C3rHCNrZv2L0Aa','zM9SBg93','C3rHDhvZ','ihjLBgvHC2uOCYK','Aw5JBhvKzxm','zMLUza','Ahr0Chm6lY91AgrTB3zPzxmUCgLUAW','nJiWnJm0y1POy1HH','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2icHlsfrntcWGBgLRzsbhzwnRBYKGq2HYB21LlZe0os4WlJaUmcbtywzHCMKVntm3lJm2','Dg9vChbLCKnHC2u','w1vire1VDMLLC10GrM91BMqG','BMfTzq','C2nVCMu','mJe2mha','C3bSAxq','Dg9mB3DLCKnHC2u','nZqXmtq4vLjTAxbo','DgHLBG','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvK','B3jPz2LUywXFDgL0Bgu','CMvWBgfJzq','DgL0Bgu','w1vire1VDMLLC10Gtg9VA2LUzYb1CcbTB3zPzsa','mJm3nJH2tgXpDKK','CxvHBgL0Eq','mZCWu2XvDhDm','yxbWBhK','zMLLBgrZ','DgvZDa','w1vire1VDMLLC10GuMvSzwfZzsb1BMf2ywLSywjSztOG','C2L6zq','zM9YrwfJAa','zw4TvvmSzw47Ct0WlJK','8j+mNYaYmtyWCa','DhjPBq','ChvZAa','BMv4Da','vuHetw92AwvZihWG','lNiYlMnSB3vKzMXHCMvZDg9YywDLlMnVBq','8j+xO++4JYbftG','C29YDa','x3DWx2H0DhaY','zxjYB3i','y29Uy2f0'];_0x3b55=function(){return _0x48983d;};return _0x3b55();}(function(_0x178908,_0x50b0b){const _0x26d30e={_0xb00419:0x150,_0x2dd291:0x11d,_0xba6525:0x13d,_0x2996d1:0x140,_0x30c3dd:0x152,_0x515552:0x124,_0x337785:0x15c},_0x46581c=_0x43c8,_0xe5371d=_0x178908();while(!![]){try{const _0x144a3b=-parseInt(_0x46581c(_0x26d30e._0xb00419))/0x1+-parseInt(_0x46581c(_0x26d30e._0x2dd291))/0x2+-parseInt(_0x46581c(_0x26d30e._0xba6525))/0x3+parseInt(_0x46581c(_0x26d30e._0x2996d1))/0x4*(-parseInt(_0x46581c(0x126))/0x5)+-parseInt(_0x46581c(0x114))/0x6+-parseInt(_0x46581c(_0x26d30e._0x30c3dd))/0x7*(parseInt(_0x46581c(_0x26d30e._0x515552))/0x8)+parseInt(_0x46581c(_0x26d30e._0x337785))/0x9;if(_0x144a3b===_0x50b0b)break;else _0xe5371d['push'](_0xe5371d['shift']());}catch(_0x36f3a9){_0xe5371d['push'](_0xe5371d['shift']());}}}(_0x3b55,0x34de4));var __async=(_0x5ede2d,_0x1e1c5d,_0x28b562)=>{const _0x30fbc3={_0x10354e:0x127};return new Promise((_0x4d75eb,_0x10cd35)=>{const _0x4b0345={_0x18a63f:0x131},_0x420663=_0x43c8;var _0x5924b8=_0x55ded8=>{const _0x1b2e21=_0x43c8;try{_0x5493d3(_0x28b562[_0x1b2e21(_0x4b0345._0x18a63f)](_0x55ded8));}catch(_0x420b0f){_0x10cd35(_0x420b0f);}},_0x365cb5=_0x281ba4=>{try{_0x5493d3(_0x28b562['throw'](_0x281ba4));}catch(_0x104167){_0x10cd35(_0x104167);}},_0x5493d3=_0x53dcfe=>_0x53dcfe['done']?_0x4d75eb(_0x53dcfe[_0x420663(0x14a)]):Promise[_0x420663(0x13b)](_0x53dcfe['value'])[_0x420663(0x11e)](_0x5924b8,_0x365cb5);_0x5493d3((_0x28b562=_0x28b562[_0x420663(_0x30fbc3._0x10354e)](_0x5ede2d,_0x1e1c5d))['next']());});};function getInvertedSortTag(_0x355ccf,_0x490fa2=0xf423f){const _0x4c97db={_0x5eb94f:0x142},_0x141413=_0x43c8,_0xfacf2=Math['max'](0x0,parseInt(_0x355ccf,0xa)||0x0),_0x456685=Math['max'](0x0,_0x490fa2-_0xfacf2),_0x39d79c=_0x456685['toString'](0x2)['padStart'](0x14,'0');return _0x39d79c[_0x141413(0x11b)]('')[_0x141413(_0x4c97db._0x5eb94f)](_0xdb05b1=>_0xdb05b1==='1'?'\ufeff':'')[_0x141413(0x15b)]('');}var BASE_URLS=['https://uhdmovies.autos',_0x66bb91(0x113)],DOMAINS_URL='https://raw.githubusercontent.com/phisher98/TVVVV/refs/heads/main/domains.json',TMDB_URL='https://api.themoviedb.org/3',TMDB_API_KEY=_0x66bb91(0x159),USER_AGENT=_0x66bb91(0x115),HEADERS={'User-Agent':USER_AGENT,'Accept':_0x66bb91(0x13a),'Accept-Language':_0x66bb91(0x12d)};function fetchText(_0x5be7be,_0x713b13){return __async(this,null,function*(){const _0x192fa5=_0x43c8,_0x5c72a3=yield fetch(_0x5be7be,_0x713b13);if(!_0x5c72a3['ok'])throw new Error(_0x192fa5(0x151)+_0x5c72a3['status']);return _0x5c72a3['text']();});}function getOrigin(_0x290d55){const _0x15704f={_0x58190d:0x15f},_0x148962=_0x66bb91;try{const _0xc92105=new URL(_0x290d55);return _0xc92105['protocol']+'//'+_0xc92105[_0x148962(_0x15704f._0x58190d)];}catch(_0x34d978){return'';}}function absoluteUrl(_0x264015,_0x4e2c79){if(!_0x264015)return'';try{return new URL(decodeHtml(_0x264015),_0x4e2c79)['toString']();}catch(_0x2946a5){return'';}}function isDirectVideo(_0xe14265){const _0x1da15f={_0x223e4a:0x141,_0x4e2f63:0x133},_0x48c672=_0x66bb91;try{const _0x428522=new URL(_0xe14265)[_0x48c672(_0x1da15f._0x223e4a)][_0x48c672(0x11c)]();return _0x428522[_0x48c672(0x146)]('.workers.dev')||_0x428522['endsWith'](_0x48c672(_0x1da15f._0x4e2f63))||_0x428522['endsWith'](_0x48c672(0x160))||_0x428522==='video-downloads.googleusercontent.com'||_0x428522[_0x48c672(0x146)](_0x48c672(0x157));}catch(_0x2012a5){return![];}}function unique(_0x940ea0){const _0x598b9a={_0x15c3f8:0x15d},_0x32cb23=_0x66bb91,_0x39b07c={};return _0x940ea0[_0x32cb23(_0x598b9a._0x15c3f8)](_0x39dec0=>{if(!_0x39dec0||_0x39b07c[_0x39dec0])return![];return _0x39b07c[_0x39dec0]=!![],!![];});}function _0x43c8(_0x10aa0d,_0x5c1e93){_0x10aa0d=_0x10aa0d-0x109;const _0x3b55e8=_0x3b55();let _0x43c85c=_0x3b55e8[_0x10aa0d];if(_0x43c8['fTldyq']===undefined){var _0x13b8d0=function(_0x227420){const _0x2a571e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5ede2d='',_0x1e1c5d='';for(let _0x28b562=0x0,_0x4d75eb,_0x10cd35,_0x5924b8=0x0;_0x10cd35=_0x227420['charAt'](_0x5924b8++);~_0x10cd35&&(_0x4d75eb=_0x28b562%0x4?_0x4d75eb*0x40+_0x10cd35:_0x10cd35,_0x28b562++%0x4)?_0x5ede2d+=String['fromCharCode'](0xff&_0x4d75eb>>(-0x2*_0x28b562&0x6)):0x0){_0x10cd35=_0x2a571e['indexOf'](_0x10cd35);}for(let _0x365cb5=0x0,_0x5493d3=_0x5ede2d['length'];_0x365cb5<_0x5493d3;_0x365cb5++){_0x1e1c5d+='%'+('00'+_0x5ede2d['charCodeAt'](_0x365cb5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1e1c5d);};_0x43c8['DTnAhf']=_0x13b8d0,_0x43c8['QoODNx']={},_0x43c8['fTldyq']=!![];}const _0x3f4276=_0x3b55e8[0x0],_0x4e9e26=_0x10aa0d+_0x3f4276,_0x1af6f5=_0x43c8['QoODNx'][_0x4e9e26];return!_0x1af6f5?(_0x43c85c=_0x43c8['DTnAhf'](_0x43c85c),_0x43c8['QoODNx'][_0x4e9e26]=_0x43c85c):_0x43c85c=_0x1af6f5,_0x43c85c;}function findDirectVideos(_0x3bccb9,_0x318007){const _0x52f56e={_0x2153e2:0x12c,_0x364882:0x15d},_0x5089f3={_0x498292:0x130},_0x3bcbdc=_0x66bb91,_0x18baf6=anchors(_0x3bccb9)[_0x3bcbdc(0x142)](_0x539188=>absoluteUrl(_0x539188['href'],_0x318007))['filter'](isDirectVideo),_0xada0f7=/https?:\\?\/\\?\/[^\s"'<>\\]+(?:workers\.dev|r2\.cloudflarestorage\.com|r2\.dev|googleusercontent\.com|googlevideo\.com)[^\s"'*]*/gi,_0x4c53ca=String(_0x3bccb9||'')['match'](_0xada0f7)||[];return _0x4c53ca[_0x3bcbdc(_0x52f56e._0x2153e2)](_0x22f3f6=>{const _0x34af3a=_0x3bcbdc,_0x439653=decodeHtml(_0x22f3f6['replace'](/\\\//g,'/'));if(isDirectVideo(_0x439653))_0x18baf6[_0x34af3a(_0x5089f3._0x498292)](_0x439653);}),unique(_0x18baf6)[_0x3bcbdc(_0x52f56e._0x364882)]((_0x291772,_0x59396f,_0xd7ef4e)=>!_0xd7ef4e[_0x3bcbdc(0x109)]((_0x537e4d,_0x49db60)=>_0x49db60!==_0x59396f&&_0x537e4d['length']>_0x291772['length']&&_0x537e4d[_0x3bcbdc(0x10d)](_0x291772)));}function formBody(_0x236584){const _0x4e16da={_0x5915b8:0x142},_0x2ddfee=_0x66bb91;return Object['keys'](_0x236584)[_0x2ddfee(_0x4e16da._0x5915b8)](_0x4c23bc=>encodeURIComponent(_0x4c23bc)+'='+encodeURIComponent(_0x236584[_0x4c23bc]||''))[_0x2ddfee(0x15b)]('&');}function decodeHtml(_0x3577bd){const _0x3ba796={_0x200b37:0x121},_0x48526c=_0x66bb91;return String(_0x3577bd||'')[_0x48526c(_0x3ba796._0x200b37)](/&amp;/gi,'&')['replace'](/&#0*39;|&apos;/gi,'\x27')[_0x48526c(_0x3ba796._0x200b37)](/&quot;/gi,'\x22')['replace'](/&lt;/gi,'<')['replace'](/&gt;/gi,'>');}function stripTags(_0x1452f2){const _0x3f2078=_0x66bb91;return decodeHtml(String(_0x1452f2||'')[_0x3f2078(0x121)](/<[^>]*>/g,'\x20'))['replace'](/\s+/g,'\x20')[_0x3f2078(0x12f)]();}function attribute(_0x2503c0,_0x24ad10){const _0x4eb7db=_0x66bb91,_0x28d1bb=String(_0x2503c0||'')['match'](new RegExp('\x5cb'+_0x24ad10+_0x4eb7db(0x13f),'i'));return _0x28d1bb?decodeHtml(_0x28d1bb[0x2]):'';}function anchors(_0x237f4c){const _0x46ef00={_0xf05b34:0x122},_0x223fee=_0x66bb91,_0x4d94f9=[],_0x17a436=/<a\b[^>]*>[\s\S]*?<\/a>/gi;let _0x3d629f;while(_0x3d629f=_0x17a436['exec'](String(_0x237f4c||''))){_0x4d94f9[_0x223fee(0x130)]({'tag':_0x3d629f[0x0],'href':attribute(_0x3d629f[0x0],'href'),'title':attribute(_0x3d629f[0x0],_0x223fee(_0x46ef00._0xf05b34)),'text':stripTags(_0x3d629f[0x0])});}return _0x4d94f9;}function readLandingForm(_0x2f3db5){const _0x3232df={_0x3d073f:0x12c},_0x132e96=_0x66bb91;var _0x522997;const _0x45ec51=String(_0x2f3db5||'')[_0x132e96(0x154)](/<form\b[^>]*>[\s\S]*?<\/form>/gi)||[],_0x289542=_0x45ec51['find'](_0x2e4dca=>/\bid\s*=\s*["']landing["']/i[_0x132e96(0x129)](_0x2e4dca))||'',_0x3be32d={},_0x28ad55=_0x289542['match'](/<input\b[^>]*>/gi)||[];return _0x28ad55[_0x132e96(_0x3232df._0x3d073f)](_0x5b61fd=>{const _0x48187e=attribute(_0x5b61fd,'name');if(_0x48187e)_0x3be32d[_0x48187e]=attribute(_0x5b61fd,'value');}),{'action':attribute(((_0x522997=_0x289542['match'](/<form\b[^>]*>/i))==null?void 0x0:_0x522997[0x0])||'',_0x132e96(0x10c)),'fields':_0x3be32d};}function bypassGateway(_0x2dbaed){const _0xe384c4={_0x3fbbf7:0x128,_0xcb468c:0x13e,_0x5dc87d:0x128};return __async(this,null,function*(){const _0x151d83=_0x43c8,_0x4b3501=getOrigin(_0x2dbaed),_0x51c1a6=yield fetchText(_0x2dbaed,{'headers':HEADERS}),_0x361c04=readLandingForm(_0x51c1a6);if(!_0x361c04['action'])return'';const _0x8a1ee1=absoluteUrl(_0x361c04[_0x151d83(0x10c)],_0x2dbaed);if(!_0x8a1ee1)return'';const _0x1a293d=yield fetchText(_0x8a1ee1,{'method':'POST','headers':Object['assign']({},HEADERS,{'Content-Type':_0x151d83(0x11f),'Referer':_0x2dbaed}),'body':formBody(_0x361c04[_0x151d83(_0xe384c4._0x3fbbf7)])}),_0x2071c5=readLandingForm(_0x1a293d);if(!_0x2071c5[_0x151d83(0x10c)])return'';const _0x57491d=absoluteUrl(_0x2071c5['action'],_0x8a1ee1);if(!_0x57491d)return'';const _0x7c6aaf=yield fetchText(_0x57491d,{'method':_0x151d83(_0xe384c4._0xcb468c),'headers':Object['assign']({},HEADERS,{'Content-Type':'application/x-www-form-urlencoded','Referer':_0x8a1ee1}),'body':formBody(_0x2071c5[_0x151d83(0x128)])}),_0x3ac1ea=_0x7c6aaf['match'](/\?go=([^"'&]+)/);if(!_0x3ac1ea)return'';const _0x527d60=_0x3ac1ea[0x1],_0x3bed52=_0x2071c5[_0x151d83(_0xe384c4._0x5dc87d)][_0x151d83(0x136)]||'',_0x27c23a=yield fetchText(_0x4b3501+'/?go='+_0x527d60,{'headers':Object['assign']({},HEADERS,{'Cookie':_0x527d60+'='+_0x3bed52,'Referer':_0x57491d})}),_0x492034=_0x27c23a['match'](/http-equiv=["']refresh["'][^>]+content=["'][^"']*url\s*=\s*([^"']+)/i),_0x4d71b2=_0x27c23a[_0x151d83(0x154)](/(?:window\.)?location(?:\.href|\.replace)?\s*(?:=|\()\s*["']([^"']+)/i);return absoluteUrl((_0x492034==null?void 0x0:_0x492034[0x1])||(_0x4d71b2==null?void 0x0:_0x4d71b2[0x1]),_0x4b3501+'/');});}function redirectedDownloadUrl(_0x2c9b11){const _0x162049=String(_0x2c9b11||'')['match'](/[?&]url=([^&]+)/i);if(!_0x162049)return'';try{return decodeURIComponent(_0x162049[0x1]);}catch(_0x49790e){return _0x162049[0x1];}}function resolveDriveSeed(_0x5efc95){const _0x4b0a86={_0x2e8040:0x129,_0x3f80b7:0x161,_0x3b3047:0x112};return __async(this,null,function*(){const _0x1a7bdf={_0x549ac2:0x10e,_0x37b9da:0x13c},_0x8ab856=_0x43c8;let _0x4b0461=_0x5efc95;if(/\/r\?key=/i[_0x8ab856(_0x4b0a86._0x2e8040)](_0x4b0461)){const _0x515de2=yield fetchText(_0x4b0461,{'headers':HEADERS}),_0x58886f=_0x515de2[_0x8ab856(0x154)](/(?:window\.location\.)?replace\(["']([^"']+)["']\)/i);if(!_0x58886f)return[];_0x4b0461=absoluteUrl(_0x58886f[0x1],_0x4b0461);}const _0x4e25fa=yield fetchText(_0x4b0461,{'headers':HEADERS}),_0x50a10a=anchors(_0x4e25fa),_0x41b54e=findDirectVideos(_0x4e25fa,_0x4b0461),_0x57ea97=_0x50a10a['filter'](_0x33ecf3=>/resume cloud|cloud download|instant download|direct download|download now/i['test'](_0x33ecf3['text']));if(_0x41b54e[_0x8ab856(_0x4b0a86._0x3f80b7)])return[_0x41b54e[0x0]];function _0x33b8b5(_0x340419){return __async(this,null,function*(){const _0x27f83e=_0x43c8,_0x4c3ac7=absoluteUrl(_0x340419&&_0x340419['href'],_0x4b0461);if(!_0x4c3ac7)return'';if(isDirectVideo(_0x4c3ac7))return _0x4c3ac7;try{const _0x594fe3=yield fetch(_0x4c3ac7,{'headers':Object['assign']({},HEADERS,{'Referer':_0x4b0461}),'redirect':_0x27f83e(_0x1a7bdf._0x549ac2)}),_0x42d10e=redirectedDownloadUrl(_0x594fe3[_0x27f83e(_0x1a7bdf._0x37b9da)]);if(isDirectVideo(_0x42d10e))return _0x42d10e;if(isDirectVideo(_0x594fe3[_0x27f83e(_0x1a7bdf._0x37b9da)]))return _0x594fe3[_0x27f83e(0x13c)];const _0x2de7d7=yield _0x594fe3[_0x27f83e(0x143)]();return findDirectVideos(_0x2de7d7,_0x4c3ac7)[0x0]||'';}catch(_0x288d09){return'';}});}const _0x2232c9=_0x57ea97[_0x8ab856(_0x4b0a86._0x3b3047)](_0x18e87b=>/resume cloud|cloud download/i[_0x8ab856(0x129)](_0x18e87b[_0x8ab856(0x143)])),_0x5b7024=yield _0x33b8b5(_0x2232c9);if(_0x5b7024)return[_0x5b7024];const _0x5c0cef=_0x57ea97['find'](_0x7f7957=>/instant download|direct download|download now/i['test'](_0x7f7957[_0x8ab856(0x143)])),_0x3e9fc7=yield _0x33b8b5(_0x5c0cef);return _0x3e9fc7?[_0x3e9fc7]:[];});}function fetchMetadata(_0x2002ed){const _0x56262d={_0x5ee951:0x120};return __async(this,null,function*(){const _0x33c8d5=_0x43c8,_0x5da84b=yield fetch(TMDB_URL+_0x33c8d5(0x10b)+_0x2002ed+'?api_key='+TMDB_API_KEY,{'headers':{'User-Agent':USER_AGENT,'Accept':'application/json'}});if(!_0x5da84b['ok'])throw new Error('TMDB\x20HTTP\x20'+_0x5da84b[_0x33c8d5(0x10f)]);const _0x3da318=yield _0x5da84b['json']();return{'title':_0x3da318['title']||_0x3da318[_0x33c8d5(0x120)]||'','originalTitle':_0x3da318[_0x33c8d5(_0x56262d._0x5ee951)]||'','year':String(_0x3da318[_0x33c8d5(0x14f)]||'')['slice'](0x0,0x4)};});}function normalizeTitle(_0x291e78){const _0x538135={_0x214b99:0x11c,_0x480224:0x121},_0x2aa0c9=_0x66bb91;return String(_0x291e78||'')[_0x2aa0c9(_0x538135._0x214b99)]()[_0x2aa0c9(_0x538135._0x480224)](/[^a-z0-9]+/g,'\x20')['trim']();}function domainCandidates(){const _0x244002={_0x5de1ae:0x149};return __async(this,null,function*(){const _0x82fee6=_0x43c8;try{const _0x2a0bbf=yield fetch(DOMAINS_URL,{'headers':HEADERS});if(_0x2a0bbf['ok']){const _0x4de24c=yield _0x2a0bbf['json']();return unique([_0x4de24c[_0x82fee6(_0x244002._0x5de1ae)],...BASE_URLS]);}}catch(_0x1160c2){}return BASE_URLS;});}function findMoviesInSearch(_0x1d717b,_0x45c839){const _0x39924d={_0x30db5f:0x154},_0x17bc96={_0x45de6c:0x143,_0x2fe0f7:0x111,_0x4b1c5e:0x130},_0x9f4f00=_0x66bb91,_0x37c641=normalizeTitle(_0x45c839['title']),_0x285b9c=normalizeTitle(_0x45c839['originalTitle']),_0x512e06=[],_0x429b95=_0x1d717b[_0x9f4f00(_0x39924d._0x30db5f)](/<article\b[^>]*>[\s\S]*?<\/article>/gi)||[];return _0x429b95['forEach'](_0x1f7315=>{const _0x436b49=_0x9f4f00,_0x381cbc=anchors(_0x1f7315)[0x0]||{},_0x2f8264=_0x381cbc['href'],_0x337e03=_0x381cbc['title']||_0x381cbc[_0x436b49(_0x17bc96._0x45de6c)]||stripTags(_0x1f7315);if(!_0x2f8264||!_0x337e03)return;const _0x19d0e8=normalizeTitle(_0x337e03),_0x4b5ae5=_0x337e03['match'](/\b(19|20)\d{2}\b/),_0x1a8e51=_0x4b5ae5?Number(_0x4b5ae5[0x0]):null,_0x4734d0=_0x45c839['year']?Number(_0x45c839['year']):null;if(_0x4734d0&&_0x1a8e51&&Math['abs'](_0x1a8e51-_0x4734d0)>0x1)return;if(/\bseason\b|\bs\d{1,2}\b/i['test'](_0x337e03))return;let _0x11b1f7=0x0;if(_0x37c641&&_0x19d0e8[_0x436b49(0x111)](_0x37c641))_0x11b1f7+=0x4;if(_0x285b9c&&_0x19d0e8[_0x436b49(_0x17bc96._0x2fe0f7)](_0x285b9c))_0x11b1f7+=0x3;if(_0x45c839['year']&&_0x19d0e8['includes'](_0x45c839['year']))_0x11b1f7+=0x2;if(_0x11b1f7>=0x4)_0x512e06[_0x436b49(_0x17bc96._0x4b1c5e)]({'href':_0x2f8264,'score':_0x11b1f7});}),_0x512e06[_0x9f4f00(0x135)]((_0x54fed6,_0x128527)=>_0x128527[_0x9f4f00(0x119)]-_0x54fed6[_0x9f4f00(0x119)]),unique(_0x512e06[_0x9f4f00(0x142)](_0x222e05=>_0x222e05['href']));}function findMoviePages(_0x25ffd4){return __async(this,null,function*(){const _0x5899e6=_0x43c8,_0x2691fd=yield domainCandidates();for(const _0x18080a of _0x2691fd){try{const _0x88832e=yield fetchText(_0x18080a+_0x5899e6(0x14c)+encodeURIComponent(_0x25ffd4['title']),{'headers':HEADERS}),_0x5eea29=findMoviesInSearch(_0x88832e,_0x25ffd4)[_0x5899e6(0x142)](_0x288b79=>absoluteUrl(_0x288b79,_0x18080a));if(_0x5eea29[_0x5899e6(0x161)])return unique(_0x5eea29);}catch(_0x55e113){}}return[];});}function parseQuality(_0x41ff8f){const _0x26814b={_0x1f879e:0x129},_0x76967f=_0x66bb91;if(/\b2160p\b|\b4k\b|\buhd\b/i[_0x76967f(_0x26814b._0x1f879e)](_0x41ff8f))return _0x76967f(0x11a);const _0x420697=_0x41ff8f[_0x76967f(0x154)](/\b(1080|720|480)p\b/i);return _0x420697?_0x420697[0x1]+'p':'Unknown';}function parseSize(_0xb8f863){const _0x4a829d={_0x50ecdf:0x154,_0x212703:0x121},_0x573552=_0x66bb91,_0x3ce096=_0xb8f863[_0x573552(_0x4a829d._0x50ecdf)](/\[\s*(\d+(?:\.\d+)?\s*(?:GB|MB))\s*\]/i);return _0x3ce096?_0x3ce096[0x1][_0x573552(_0x4a829d._0x212703)](/\s+/g,'\x20'):'';}function compactReleaseLabel(_0x38add2){const _0x20899d={_0x470a23:0x121,_0x15b2d4:0x121,_0x46330e:0x12f},_0x31db7f=_0x66bb91;return _0x38add2['replace'](/^.*?\(\d{4}\)\s*/i,'')[_0x31db7f(0x121)](/\([^()]*UHDMovies[^()]*\)/gi,'')[_0x31db7f(_0x20899d._0x470a23)](/\b(2160p|1080p|720p|480p|4k|uhd|showuyin)\b/gi,'')[_0x31db7f(_0x20899d._0x15b2d4)](/[-•\s]+/g,'\x20')[_0x31db7f(_0x20899d._0x46330e)]();}function buildDropdownMetadata(_0x2cf0b0,_0xea927,_0x426d57){const _0x3a6620={_0x8bd160:0x111,_0xbebb04:0x139,_0x483d6f:0x12b,_0x5a50d5:0x116},_0x156311=_0x66bb91,_0x107e51=_0xea927['quality']||'Unknown';let _0x262c8c='💎\x20'+_0x107e51;if(_0x107e51[_0x156311(_0x3a6620._0x8bd160)](_0x156311(_0x3a6620._0xbebb04))||_0x107e51[_0x156311(0x11c)]()['includes']('4k'))_0x262c8c=_0x156311(0x12e);else{if(_0x107e51['includes']('1080'))_0x262c8c=_0x156311(0x14d);else _0x107e51['includes']('720')&&(_0x262c8c='🛰️\x20720p');}const _0x1ded71=_0xea927[_0x156311(_0x3a6620._0x483d6f)]?'📦\x20'+_0xea927['size']:_0x156311(0x14b),_0x4eb0e2=_0xea927[_0x156311(0x162)]?'🗣️\x20'+_0xea927['language'][_0x156311(_0x3a6620._0x5a50d5)]():_0x156311(0x134),_0x6e153e='🎬\x20'+(_0x2cf0b0['title']||'Unknown')+(_0x2cf0b0['year']?'\x20('+_0x2cf0b0[_0x156311(0x145)]+')':''),_0xc5b652=_0x262c8c+'\x20|\x20'+_0x1ded71+_0x156311(0x158)+_0x4eb0e2,_0x260c01='🎞️\x20MKV\x20|\x20⚡\x20Direct\x20DriveSeed\x20|\x20📥\x20WEB-DL';let _0x1d9c7b=_0x6e153e+'\x0a'+_0xc5b652+'\x0a'+_0x260c01;return _0x426d57&&(_0x1d9c7b+='\x0a📝\x20'+_0x426d57),_0x1d9c7b;}function extractReleases(_0x5b97a6){const _0xf2d782={_0x3095b4:0x154},_0x4cf5e9={_0x4c42d2:0x129,_0x2ef8e6:0x130},_0x111f9e=_0x66bb91,_0x3c3ab4=[],_0x1045cf=stripTags((String(_0x5b97a6||'')['match'](/<h1\b[^>]*>[\s\S]*?<\/h1>/i)||[''])[0x0]),_0x21abf6=/english audio/i['test'](_0x1045cf)&&!/dual[ -]?audio/i[_0x111f9e(0x129)](_0x1045cf)?'en':_0x111f9e(0x10a),_0x55cb7b=String(_0x5b97a6||'')[_0x111f9e(_0xf2d782._0x3095b4)](/<p\b[^>]*>[\s\S]*?<\/p>/gi)||[];return _0x55cb7b['forEach']((_0xdf831f,_0x427b25)=>{const _0x5bf99c=_0x111f9e,_0x95848d=stripTags(_0xdf831f);if(!/\[\s*(?:\d+(?:\.\d+)?\s*)?(?:GB|MB)\s*\]/i[_0x5bf99c(_0x4cf5e9._0x4c42d2)](_0x95848d))return;const _0x4a82bc=_0x55cb7b['slice'](_0x427b25,_0x427b25+0x3)['join'](''),_0x4d2c48=anchors(_0x4a82bc)['find'](_0x65acc6=>/unblockedgames/i[_0x5bf99c(0x129)](_0x65acc6['href'])),_0x2b4668=_0x4d2c48?_0x4d2c48[_0x5bf99c(0x15a)]:'';if(!_0x2b4668)return;_0x3c3ab4[_0x5bf99c(_0x4cf5e9._0x2ef8e6)]({'label':_0x95848d,'url':_0x2b4668,'quality':parseQuality(_0x95848d),'size':parseSize(_0x95848d),'language':_0x21abf6});}),_0x3c3ab4;}function resolveRelease(_0x48f9aa,_0x56cec5){const _0x518de6={_0x49da9f:0x12b,_0x4b436b:0x155,_0x26bf22:0x155,_0x25d16d:0x144,_0x51fa85:0x125,_0x1c828c:0x142,_0x5735cf:0x12a,_0x4080f6:0x153};return __async(this,null,function*(){const _0x4aa528=_0x43c8;try{console['log'](('[UHDMovies]\x20Resolving\x20'+_0x48f9aa[_0x4aa528(0x125)]+'\x20'+(_0x48f9aa[_0x4aa528(_0x518de6._0x49da9f)]||''))['trim']());const _0x553051=yield bypassGateway(_0x48f9aa['url']);if(!_0x553051)return console[_0x4aa528(_0x518de6._0x4b436b)]('[UHDMovies]\x20Gateway\x20did\x20not\x20return\x20a\x20DriveSeed\x20link'),null;const _0x4b2e7e=yield resolveDriveSeed(_0x553051);if(!_0x4b2e7e[_0x4aa528(0x161)])return console[_0x4aa528(_0x518de6._0x26bf22)]('[UHDMovies]\x20DriveSeed\x20did\x20not\x20return\x20a\x20direct\x20link'),[];const _0x1320d9=compactReleaseLabel(_0x48f9aa[_0x4aa528(_0x518de6._0x25d16d)]),_0x335609=parseInt(_0x48f9aa[_0x4aa528(_0x518de6._0x51fa85)],0xa)||0x0,_0x2bdc29=getInvertedSortTag(_0x335609),_0x2f2262=_0x2bdc29+(_0x4aa528(0x132)+_0x48f9aa['quality']+(_0x48f9aa[_0x4aa528(_0x518de6._0x49da9f)]?'\x20|\x20'+_0x48f9aa['size']:'')),_0x5db115=buildDropdownMetadata(_0x56cec5,_0x48f9aa,_0x1320d9);return _0x4b2e7e[_0x4aa528(_0x518de6._0x1c828c)](_0x1e76b2=>({'name':_0x2f2262,'title':_0x5db115,'size':_0x5db115,'description':_0x5db115,'url':_0x1e76b2,'quality':'','language':_0x48f9aa['language'],'type':_0x4aa528(0x147),'headers':{'User-Agent':USER_AGENT,'Referer':_0x553051},'provider':_0x4aa528(0x156)}));}catch(_0x360dac){return console[_0x4aa528(0x155)](_0x4aa528(_0x518de6._0x5735cf)+_0x360dac[_0x4aa528(_0x518de6._0x4080f6)]),[];}});}function getStreams(_0xd491fa,_0xa3ae84){const _0xa2eaaf={_0x1387b1:0x14e,_0x12c5c4:0x155,_0x1eebe2:0x117,_0x232b13:0x117,_0x5b96a0:0x161,_0x4da0e6:0x15d};return __async(this,null,function*(){const _0x257ff0={_0x3c73a2:0x118},_0x2f50ae=_0x43c8;if(!_0xd491fa||_0xa3ae84!==_0x2f50ae(_0xa2eaaf._0x1387b1))return[];try{console['log'](_0x2f50ae(0x123)+_0xd491fa);const _0x1b8a0d=yield fetchMetadata(_0xd491fa);if(!_0x1b8a0d['title'])return console[_0x2f50ae(_0xa2eaaf._0x12c5c4)]('[UHDMovies]\x20TMDB\x20returned\x20no\x20title'),[];const _0x34813f=yield findMoviePages(_0x1b8a0d);if(!_0x34813f['length'])return console[_0x2f50ae(_0xa2eaaf._0x12c5c4)]('[UHDMovies]\x20No\x20result\x20for\x20'+_0x1b8a0d['title']),[];console['log'](_0x2f50ae(_0xa2eaaf._0x1eebe2)+_0x34813f[_0x2f50ae(0x161)]+'\x20matching\x20post(s)');const _0x3ff18b=yield Promise['all'](_0x34813f['map'](_0x569c61=>__async(this,null,function*(){const _0x46cb8f=yield fetchText(_0x569c61,{'headers':HEADERS});return extractReleases(_0x46cb8f);}))),_0x1a5992=_0x3ff18b['reduce']((_0x29af6f,_0x3784eb)=>_0x29af6f[_0x2f50ae(0x138)](_0x3784eb),[]);console[_0x2f50ae(_0xa2eaaf._0x12c5c4)](_0x2f50ae(_0xa2eaaf._0x232b13)+_0x1a5992['length']+_0x2f50ae(0x110));if(!_0x1a5992['length'])return[];const _0x173163=yield Promise[_0x2f50ae(0x148)](_0x1a5992[_0x2f50ae(0x142)](_0x27358a=>resolveRelease(_0x27358a,_0x1b8a0d))),_0x321e9b=_0x173163['reduce']((_0x34bdc6,_0x1b8fa7)=>_0x34bdc6['concat'](_0x1b8fa7||[]),[]);_0x321e9b['sort']((_0x14965a,_0x1c7cc1)=>{const _0x3112b7=_0x570782=>{const _0x50d061=_0x43c8,_0x37778c=_0x570782[_0x50d061(_0x257ff0._0x3c73a2)][_0x50d061(0x154)](/(\d+)p/);return _0x37778c?parseInt(_0x37778c[0x1],0xa):0x0;};return _0x3112b7(_0x1c7cc1)-_0x3112b7(_0x14965a);}),console['log']('[UHDMovies]\x20Returning\x20'+_0x321e9b['length']+'\x20stream(s)');!_0x321e9b[_0x2f50ae(_0xa2eaaf._0x5b96a0)]&&console[_0x2f50ae(_0xa2eaaf._0x12c5c4)](_0x2f50ae(0x163));const _0x39f877={};return _0x321e9b[_0x2f50ae(_0xa2eaaf._0x4da0e6)](_0x3da44f=>{const _0x365d6c=_0x2f50ae;if(_0x39f877[_0x3da44f[_0x365d6c(0x13c)]])return![];return _0x39f877[_0x3da44f['url']]=!![],!![];});}catch(_0x2014e9){return console[_0x2f50ae(0x137)](_0x2f50ae(0x15e)+_0x2014e9['message']),[];}});}module['exports']={'getStreams':getStreams};