2024-11-05 17:33:49 +08:00

1 line
37 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const _0x430b9c=_0x178f;(function(_0x3f6c82,_0x4654a1){const _0xa9bc6e=_0x178f,_0x3137f2=_0x3f6c82();while(!![]){try{const _0x4129d9=parseInt(_0xa9bc6e(0xa1))/0x1*(parseInt(_0xa9bc6e(0xd1))/0x2)+-parseInt(_0xa9bc6e(0x94))/0x3+-parseInt(_0xa9bc6e(0x9e))/0x4+parseInt(_0xa9bc6e(0xa5))/0x5+-parseInt(_0xa9bc6e(0x82))/0x6*(parseInt(_0xa9bc6e(0xda))/0x7)+parseInt(_0xa9bc6e(0xf2))/0x8+-parseInt(_0xa9bc6e(0xe2))/0x9;if(_0x4129d9===_0x4654a1)break;else _0x3137f2['push'](_0x3137f2['shift']());}catch(_0x2978a5){_0x3137f2['push'](_0x3137f2['shift']());}}}(_0x3929,0xec28f));function _0x178f(_0x52c7f7,_0x22f736){const _0x392988=_0x3929();return _0x178f=function(_0x178fde,_0x52cac2){_0x178fde=_0x178fde-0x79;let _0xca0600=_0x392988[_0x178fde];return _0xca0600;},_0x178f(_0x52c7f7,_0x22f736);}import _0x23acb9 from'assets://js/lib/cheerio.min.js';import'assets://js/lib/crypto-js.js';function _0x3929(){const _0x521fb6=['length','###','hlsManifestUrl','attr','startsWith','Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x209_2\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/601.1\x20(KHTML,\x20like\x20Gecko)\x20CriOS/47.0.2526.107\x20Mobile/13C75\x20Safari/601.1.46','lastIndex','cacheSubDB','charCodeAt','token=','map','streamingData','td:eq(4)\x20a','resolution','https://img2.baidu.com/it/u=651971012,3800349450&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500','$$$','$$$https://epg.pw','epgtw_flag','iptv.com','/parse','m_hken=gghken;m_hkens=gghkens;m_token=ggtoken;','18GmnzZM','log','format_note','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','match','未分组','&search_type=c','小姐姐','indexOf','links','pics','480p','td:eq(0)','https://deturl.com/?url=','groupDB','token=123','exec','#EXTM3U','1701750LqZlYm','channelDB','cacheDetailDB','epg.pw','\x5c[localdb\x5c]','parse','okhttp/3.12.10','[epwdr]','vpf','forEach','79352jkLPBk','https://10downloader.com/download?v=','qualityLabel','911397mZWLWk','class','$$$$$$','piped.video','6234540PlnRqF','?t=','IPTV','push','.downloadsTable:eq(0)\x20tbody\x20tr','section\x20tbody\x20tr','vod_play_url','.table-container\x20tbody\x20tr','defaultPicUrl','&p=','&k_page=home&hl=en&q_auto=0','1080p','myIPTV','charAt','getyoutubehd.com','vod_play_from','body\x20script:eq(1)','load','index','sname','http://m.iptv807.com/','includes','IPTV_','.downloadBtn','unshift','XJJ','720p','concat','$$$[epwdr]','iptv_flag','classes','filters','join','each','stringify','split','url','https://www.y2mate.com/mates/convertV2/index','http://m.iptv807.com/?act=home','text','https://getyoutubehd.com/api/info?v=','slice','www.histar.tv','replace','2ZfaqgJ','$c_end','gname','section:eq(2)\x20a','content','vid=','toArray','pop','type_id','1233407JzdDoC','&search_type=s','POST','线路1','var\x20ytInitialPlayerResponse\x20=\x20','$$$[localdb]','adaptiveFormats','#genre#','9407718stgDPJ','订阅名','$$$线路','youtube.com','dlink','headers','ul[data-role=\x22listview\x22]\x20li','路飞开始调试了!!!','当前的TVBox壳子不支持异步建议使用蜂蜜大佬的影视最新版','Web_EPG','search_flag','application/x-www-form-urlencoded','lastIndexOf','.download\x20.line:eq(0)\x20a','mp4','vpu','7759992TiCDqn','type_name','select\x20option','fromCharCode','360p','href','fetch_interval','headers2','csrfmiddlewaretoke=pUq0NQiiWg7EpSuU0w1Fif4q8bo0RnPe&channel_search=','filter','name'];_0x3929=function(){return _0x521fb6;};return _0x3929();}const config={'epgtw_flag':![],'fetch_interval':0x1388,'iptv_flag':!![],'search_flag':!![],'cacheSubDB':{},'cacheDetailDB':{},'groupDB':[],'channelDB':{},'classes':[],'player':{},'filter':{},'pics':{},'defaultPicUrl':_0x430b9c(0x7b),'headers':{'user-agent':_0x430b9c(0x9a)},'headers2':{'user-agent':_0x430b9c(0x102)}};function init(_0x4fcc11){const _0x1cc1bb=_0x430b9c;console[_0x1cc1bb(0x83)](_0x1cc1bb(0xe9)),parseSub(_0x4fcc11);try{config[_0x1cc1bb(0xec)]&&async_local_db();}catch(_0x49f0be){config[_0x1cc1bb(0xec)]=!![],console[_0x1cc1bb(0x83)](_0x1cc1bb(0xea));}}function home(_0x1c29d1){const _0x13e2d9=_0x430b9c;let _0x1d8fb6={};return _0x1c29d1&&(_0x1d8fb6[_0x13e2d9(0xc4)]=config[_0x13e2d9(0xfb)]),_0x1d8fb6[_0x13e2d9(0xa2)]=config[_0x13e2d9(0xc3)],JSON[_0x13e2d9(0xc7)](_0x1d8fb6);}function homeVod(){const _0x200dd3=_0x430b9c;let _0x502573={},_0x25d3d1=[];if(config['iptv_flag']){let _0x1cdce8=req(_0x200dd3(0xcb),{'headers':config['headers2']})[_0x200dd3(0xd5)],_0x4aa34b=_0x23acb9[_0x200dd3(0xb6)](_0x1cdce8),_0x455368=_0x4aa34b('ul[data-role=\x22listview\x22]\x20li');_0x455368[_0x200dd3(0xc6)](function(_0x45877d){const _0x5bec84=_0x200dd3;_0x4aa34b('a',this)['text']()!=''&&_0x25d3d1[_0x5bec84(0xa8)]({'vod_id':_0x5bec84(0xbb)+_0x4aa34b('a',this)['text']()+'$$$'+_0x4aa34b('a',this)[_0x5bec84(0x100)]('href'),'vod_name':_0x4aa34b('a',this)[_0x5bec84(0xcc)](),'vod_pic':config['defaultPicUrl'],'vod_remarks':''});}),_0x25d3d1[_0x200dd3(0xbd)]({'vod_id':_0x200dd3(0xbe)+_0x200dd3(0x7c)+'https://www.cunshao.com/666666/api/web.php','vod_name':_0x200dd3(0x89),'vod_pic':config[_0x200dd3(0xad)],'vod_remarks':''}),_0x502573={'list':_0x25d3d1};}return JSON[_0x200dd3(0xc7)](_0x502573);}function category(_0x399874,_0x1995be,_0x48579a,_0x4d98a7){const _0x489cae=_0x430b9c;let _0x1f23bf={},_0x2214c8=[],_0x30dc9d='',_0x4873e7=[],_0x516214=[];_0x1995be=parseInt(_0x1995be);if(_0x1995be>=0x2)return JSON[_0x489cae(0xc7)]({});if(_0x399874==_0x489cae(0xcf)){}else{if(_0x399874==_0x489cae(0xb1)){}else{let _0x327c5f=cache_sub_db(_0x399874);if(_0x327c5f['indexOf'](_0x489cae(0x93))==0x0){let _0x3934ac=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x516214=_0x3934ac[_0x489cae(0x92)](_0x327c5f))!==null){_0x516214[_0x489cae(0xb7)]===_0x3934ac[_0x489cae(0x103)]&&_0x3934ac['lastIndex']++;let _0x431409=_0x489cae(0x87);_0x431409=(_0x516214[0x1][_0x489cae(0x86)](/group-title="(.*?)"/)||[null,_0x431409])[0x1],_0x4873e7[_0x489cae(0x8a)](_0x431409)==-0x1&&(_0x4873e7[_0x489cae(0xa8)](_0x431409),_0x2214c8[_0x489cae(0xa8)]({'vod_id':_0x431409+'$$$'+_0x399874,'vod_name':_0x431409[_0x489cae(0xd0)](/\/parse$/,''),'vod_pic':config[_0x489cae(0x8c)][_0x399874],'vod_remarks':''}));}}else{let _0x578485=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm;while((_0x516214=_0x578485[_0x489cae(0x92)](_0x327c5f))!==null){_0x516214[_0x489cae(0xb7)]===_0x578485[_0x489cae(0x103)]&&_0x578485[_0x489cae(0x103)]++;if([_0x489cae(0xe1),'##','头#',_0x489cae(0xd2)][_0x489cae(0xba)](_0x516214[0x3])){let _0xc250a=_0x516214[0x2];_0x4873e7['indexOf'](_0xc250a)==-0x1&&(_0x4873e7[_0x489cae(0xa8)](_0xc250a),_0x2214c8[_0x489cae(0xa8)]({'vod_id':_0xc250a+_0x489cae(0x7c)+_0x399874,'vod_name':_0xc250a['replace'](/\/parse$/,''),'vod_pic':config[_0x489cae(0x8c)][_0x399874],'vod_remarks':''}));}}}}}return _0x1f23bf={'list':_0x2214c8,'page':_0x1995be,'pagecount':0x1,'limit':0x64,'total':0x3e7},JSON[_0x489cae(0xc7)](_0x1f23bf);}function search(_0x2d206e,_0x58b50c){const _0x4894fc=_0x430b9c;let _0x18cc9f={},_0x37697a=[];config[_0x4894fc(0xec)]&&sync_local_db();if(config['epgtw_flag']){let _0x2656fe=req('https://epg.pw/search/channel/?lang=zh-hant',{'headers':{'Content-Type':_0x4894fc(0xed),'user-agent':'okhttp/3.12.10'},'method':_0x4894fc(0xdc),'body':_0x4894fc(0xfa)+_0x2d206e+_0x4894fc(0x88)})[_0x4894fc(0xd5)],_0xfaf920=_0x23acb9[_0x4894fc(0xb6)](_0x2656fe),_0x28c4fa=_0xfaf920(_0x4894fc(0xd4));if(_0x28c4fa[_0x4894fc(0xfd)]===0x0){let _0x1cf862=req('https://epg.pw/search/channel/?lang=zh-hant',{'headers':{'Content-Type':_0x4894fc(0xed),'user-agent':_0x4894fc(0x9a)},'method':'POST','body':_0x4894fc(0xfa)+_0x2d206e+_0x4894fc(0xdb)})[_0x4894fc(0xd5)],_0x22d5ec=_0x23acb9[_0x4894fc(0xb6)](_0x1cf862),_0x3fbf8a=_0x22d5ec(_0x4894fc(0xac)),_0xce6a04={};_0x3fbf8a[_0x4894fc(0xc6)](function(_0x316329){const _0x19c3e4=_0x4894fc;let _0x265be3=_0x22d5ec('td',this)['eq'](0x0)['text']()[_0x19c3e4(0xd0)](/@@\d+$/,'')[_0x19c3e4(0xd0)]('台','')[_0x19c3e4(0xd0)]('衛視','卫视');_0xce6a04[_0x265be3]?_0xce6a04[_0x265be3][_0x19c3e4(0xa8)](_0x22d5ec(_0x19c3e4(0x79),this)[_0x19c3e4(0x100)](_0x19c3e4(0xf7))):_0xce6a04[_0x265be3]=[_0x22d5ec('td:eq(4)\x20a',this)[_0x19c3e4(0x100)](_0x19c3e4(0xf7))];});for(let _0x4fccae in _0xce6a04){_0x37697a['push']({'vod_id':_0x4fccae+_0x4894fc(0xc1)+_0xce6a04[_0x4fccae][_0x4894fc(0xc5)]('###'),'vod_name':_0x4fccae,'vod_pic':config[_0x4894fc(0xad)],'vod_remarks':_0x4894fc(0xeb)});}}else _0x28c4fa[_0x4894fc(0xc6)](function(_0x3a149b){const _0x129aac=_0x4894fc;_0x37697a['push']({'vod_id':_0xfaf920(this,this)[_0x129aac(0xcc)]()+_0x129aac(0x7d)+_0xfaf920(this,this)[_0x129aac(0x100)]('href'),'vod_name':_0xfaf920(this,this)[_0x129aac(0xcc)](),'vod_pic':config['defaultPicUrl'],'vod_remarks':'Web_EPG'});});}return _0x37697a=_0x37697a[_0x4894fc(0xc0)](local_db_gsearch(_0x2d206e)),_0x37697a=_0x37697a[_0x4894fc(0xc0)](local_db_csearch(_0x2d206e)),_0x18cc9f={'list':_0x37697a},JSON['stringify'](_0x18cc9f);}function detail(_0x5b229e){const _0x11ba26=_0x430b9c;let _0x55e5f9={},_0x3d16ed={},_0x51bd03=[],_0x1fd955=_0x5b229e[_0x11ba26(0xc8)](_0x11ba26(0x7c))[0x1];_0x5b229e=_0x5b229e[_0x11ba26(0xc8)](_0x11ba26(0x7c))[0x0];_0x5b229e['startsWith'](_0x11ba26(0xa7))&&(_0x1fd955=_0x11ba26(0xb9)+_0x1fd955);let _0x4230ff={'vod_id':_0x5b229e,'vod_name':_0x5b229e[_0x11ba26(0xd0)](/\/parse$/,''),'vod_pic':config[_0x11ba26(0xad)],'type_name':'','vod_year':'','vod_area':'','vod_remarks':'','vod_actor':'','vod_director':'','vod_content':'','vod_play_from':'','vod_play_url':''};if(_0x5b229e['startsWith'](_0x11ba26(0xbe))){let _0x25f6fd=_0x11ba26(0xdd),_0x50b132='';for(let _0x1f9f8c=0x0;_0x1f9f8c<0x63;_0x1f9f8c++){_0x50b132=_0x50b132+'小姐姐'+_0x1f9f8c+'$'+_0x1fd955+_0x11ba26(0xa6)+_0x1f9f8c+'#';}_0x4230ff[_0x11ba26(0xb4)]=_0x25f6fd,_0x4230ff[_0x11ba26(0xab)]=_0x50b132[_0x11ba26(0xd0)](/#$/,'');}else{if(_0x1fd955[_0x11ba26(0x86)]('\x5c[epwdr\x5c]')&&config[_0x11ba26(0x7e)]){let _0xe0783d='',_0x1b2288='';_0x1fd955=_0x1fd955[_0x11ba26(0xd0)](_0x11ba26(0x9b),''),_0x1fd955=_0x1fd955[_0x11ba26(0xc8)]('###');for(let _0x386a79=0x0;_0x386a79<_0x1fd955['length'];_0x386a79++){_0xe0783d=_0xe0783d+_0x11ba26(0xe4)+_0x386a79,_0x1b2288=_0x1b2288+_0x11ba26(0x7c)+_0x5b229e+'$'+_0x1fd955[_0x386a79];}_0x4230ff[_0x11ba26(0xb4)]=_0xe0783d[_0x11ba26(0xd0)](/^\$\$\$/,''),_0x4230ff[_0x11ba26(0xab)]=_0x1b2288[_0x11ba26(0xd0)](/^\$\$\$/,'');}else{if(_0x1fd955[_0x11ba26(0x86)](_0x11ba26(0x97))&&config[_0x11ba26(0x7e)]){let _0x46098b='',_0x4f3a3d='',_0x4a2ed4=0x0,_0x270fdc=req(_0x1fd955,{'headers':config[_0x11ba26(0xe7)]})['content'],_0x286391=_0x23acb9[_0x11ba26(0xb6)](_0x270fdc),_0x42349f=_0x286391(_0x11ba26(0xaa));_0x42349f[_0x11ba26(0xc6)](function(_0x3175ed){const _0x3d4730=_0x11ba26;_0x46098b=_0x46098b+'$$$线路'+_0x4a2ed4,_0x4f3a3d=_0x4f3a3d+_0x3d4730(0x7c)+_0x5b229e+'$'+_0x286391('td\x20a',this)['eq'](0x0)[_0x3d4730(0x100)]('href'),_0x4a2ed4++;}),_0x4230ff[_0x11ba26(0xb4)]=_0x46098b[_0x11ba26(0xd0)](/^\$\$\$/,''),_0x4230ff[_0x11ba26(0xab)]=_0x4f3a3d[_0x11ba26(0xd0)](/^\$\$\$/,'');}else{if(config[_0x11ba26(0x96)][_0x5b229e])_0x4230ff['vod_play_from']=config['cacheDetailDB'][_0x5b229e][_0x11ba26(0x9c)],_0x4230ff[_0x11ba26(0xab)]=config[_0x11ba26(0x96)][_0x5b229e][_0x11ba26(0xf1)];else{if(_0x1fd955[_0x11ba26(0x86)](_0x11ba26(0x98))){let _0x555961='',_0x2c865c='';_0x1fd955=_0x1fd955[_0x11ba26(0xd0)]('[localdb]',''),_0x1fd955=_0x1fd955[_0x11ba26(0xc8)](_0x11ba26(0xfe));for(let _0x343c8e=0x0;_0x343c8e<_0x1fd955['length'];_0x343c8e++){_0x555961=_0x555961+_0x11ba26(0xe4)+_0x343c8e,_0x2c865c=_0x2c865c+_0x11ba26(0x7c)+_0x5b229e+'$'+_0x1fd955[_0x343c8e];}_0x4230ff[_0x11ba26(0xb4)]=_0x555961[_0x11ba26(0xd0)](/^\$\$\$/,''),_0x4230ff['vod_play_url']=_0x2c865c[_0x11ba26(0xd0)](/^\$\$\$/,''),cache_detail_db(_0x5b229e,_0x4230ff[_0x11ba26(0xb4)],_0x4230ff[_0x11ba26(0xab)]);}else{if(_0x1fd955==_0x11ba26(0xcf)){}else{if(_0x5b229e[_0x11ba26(0x101)](_0x11ba26(0xa7))){let _0x4fe6b7='',_0x30ae00='',_0x5f5db8=cache_sub_db(_0x1fd955),_0x7dc87e=_0x23acb9[_0x11ba26(0xb6)](_0x5f5db8),_0x1d2cb1=_0x7dc87e(_0x11ba26(0xe8));for(let _0x526479=0x1;_0x526479<0xb;_0x526479++){_0x4fe6b7=_0x4fe6b7+_0x11ba26(0x7c)+'线路'+_0x526479,_0x1d2cb1['each'](function(_0xebac){const _0x3b7d4a=_0x11ba26;_0x7dc87e('a',this)['text']()!=''&&(_0x30ae00=_0x30ae00+'#'+_0x7dc87e('a',this)['text']()+'$'+'http://m.iptv807.com/'+_0x7dc87e('a',this)['attr'](_0x3b7d4a(0xf7))+_0x3b7d4a(0xae)+(_0x526479-0x1));}),_0x30ae00=_0x30ae00[_0x11ba26(0xd0)](/^#/,''),_0x30ae00=_0x30ae00+_0x11ba26(0x7c);}_0x4230ff[_0x11ba26(0xb4)]=_0x4fe6b7[_0x11ba26(0xd0)](/^\$\$\$/,''),_0x4230ff[_0x11ba26(0xab)]=_0x30ae00[_0x11ba26(0xd0)](/\$\$\$#/g,_0x11ba26(0xa3)),cache_detail_db(_0x5b229e,_0x4230ff[_0x11ba26(0xb4)],_0x4230ff[_0x11ba26(0xab)]);}else{let _0x3ea126=cache_sub_db(_0x1fd955);if(_0x3ea126['indexOf'](_0x11ba26(0x93))==0x0){let _0x6a4b57=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x51bd03=_0x6a4b57['exec'](_0x3ea126))!==null){_0x51bd03['index']===_0x6a4b57[_0x11ba26(0x103)]&&_0x6a4b57[_0x11ba26(0x103)]++;let _0xee46d0='未分组';_0xee46d0=(_0x51bd03[0x1]['match'](/group-title="(.*?)"/)||[null,_0xee46d0])[0x1];if(_0xee46d0==_0x5b229e){_0x5b229e[_0x11ba26(0x86)](/\/parse$/)&&(_0x51bd03[0x3]=_0x51bd03[0x3][_0x11ba26(0xd0)](/\/$/,''),!_0x51bd03[0x3][_0x11ba26(0x86)](/\/parse$/)&&(_0x51bd03[0x3]=_0x51bd03[0x3]+_0x11ba26(0x80)));if(_0x51bd03[0x3]['indexOf'](_0x11ba26(0xe5))!=-0x1||_0x51bd03[0x3][_0x11ba26(0x8a)]('piped.video')!=-0x1){_0x51bd03[0x3]=_0x51bd03[0x3]['replace'](/\/parse$/,'');!_0x3d16ed[_0x51bd03[0x2]]&&(_0x3d16ed[_0x51bd03[0x2]]=[]);let _0x4d0c86=[_0x11ba26(0xb0),_0x11ba26(0xbf),_0x11ba26(0x8d),_0x11ba26(0xf6)];for(let _0xb5ae16=0x1;_0xb5ae16<=0x4;_0xb5ae16++){_0x3d16ed[_0x51bd03[0x2]][_0x11ba26(0xa8)]({'name':'线路'+_0xb5ae16,'url':_0x51bd03[0x3]+'/'+_0x4d0c86[_0xb5ae16-0x1]});}}else{if(_0x3d16ed[_0x51bd03[0x2]]){let _0xf480e1='线路'+(_0x3d16ed[_0x51bd03[0x2]][_0x11ba26(0xfd)]+0x1);_0x3d16ed[_0x51bd03[0x2]]['push']({'name':_0xf480e1,'url':_0x51bd03[0x3]});}else{_0x3d16ed[_0x51bd03[0x2]]=[];let _0x329913=_0x11ba26(0xdd);_0x3d16ed[_0x51bd03[0x2]][_0x11ba26(0xa8)]({'name':_0x329913,'url':_0x51bd03[0x3]});}}}}}else{let _0x10e3ff=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm,_0x4b64b0=!![];while((_0x51bd03=_0x10e3ff['exec'](_0x3ea126))!==null){_0x51bd03[_0x11ba26(0xb7)]===_0x10e3ff[_0x11ba26(0x103)]&&_0x10e3ff[_0x11ba26(0x103)]++;if(['#genre#','##','头#','$c_end'][_0x11ba26(0xba)](_0x51bd03[0x3])){if(_0x51bd03[0x2]==_0x5b229e){_0x4b64b0=![];continue;}else{if(!_0x4b64b0)break;}}if(_0x4b64b0)continue;_0x5b229e['match'](/\/parse$/)&&(_0x51bd03[0x3]=_0x51bd03[0x3][_0x11ba26(0xd0)](/\/$/,''),!_0x51bd03[0x3]['match'](/\/parse$/)&&(_0x51bd03[0x3]=_0x51bd03[0x3]+_0x11ba26(0x80)));if(_0x51bd03[0x3][_0x11ba26(0x8a)](_0x11ba26(0xe5))!=-0x1||_0x51bd03[0x3][_0x11ba26(0x8a)](_0x11ba26(0xa4))!=-0x1){_0x51bd03[0x3]=_0x51bd03[0x3][_0x11ba26(0xd0)](/\/parse$/,'');!_0x3d16ed[_0x51bd03[0x2]]&&(_0x3d16ed[_0x51bd03[0x2]]=[]);let _0x23849c=[_0x11ba26(0xb0),_0x11ba26(0xbf),_0x11ba26(0x8d),_0x11ba26(0xf6)];for(let _0x173e1d=0x1;_0x173e1d<=0x4;_0x173e1d++){_0x3d16ed[_0x51bd03[0x2]][_0x11ba26(0xa8)]({'name':'线路'+_0x173e1d,'url':_0x51bd03[0x3]+'/'+_0x23849c[_0x173e1d-0x1]});}}else{if(_0x3d16ed[_0x51bd03[0x2]]){let _0xa0608b='线路'+(_0x3d16ed[_0x51bd03[0x2]][_0x11ba26(0xfd)]+0x1);_0x3d16ed[_0x51bd03[0x2]][_0x11ba26(0xa8)]({'name':_0xa0608b,'url':_0x51bd03[0x3]});}else{_0x3d16ed[_0x51bd03[0x2]]=[];let _0x4a89bd=_0x11ba26(0xdd);_0x3d16ed[_0x51bd03[0x2]]['push']({'name':_0x4a89bd,'url':_0x51bd03[0x3]});}}}}let _0x978c92=0x0;for(let _0x4b1b86 in _0x3d16ed){_0x3d16ed[_0x4b1b86][_0x11ba26(0xfd)]>_0x978c92&&(_0x978c92=_0x3d16ed[_0x4b1b86][_0x11ba26(0xfd)]);}let _0x26cc6d={};for(let _0x299dbd=0x1;_0x299dbd<=_0x978c92;_0x299dbd++){_0x26cc6d['线路'+_0x299dbd]=[];for(let _0x4067d2 in _0x3d16ed){let _0x1e061e='';_0x299dbd<=_0x3d16ed[_0x4067d2]['length']?_0x1e061e=_0x3d16ed[_0x4067d2][_0x299dbd-0x1][_0x11ba26(0xc9)]:_0x1e061e=_0x3d16ed[_0x4067d2][_0x3d16ed[_0x4067d2][_0x11ba26(0xfd)]-0x1]['url'],_0x26cc6d['线路'+_0x299dbd][_0x11ba26(0xa8)]({'name':_0x4067d2,'url':_0x1e061e});}}let _0x516445=make_detail_videos(_0x26cc6d);_0x4230ff[_0x11ba26(0xb4)]=_0x516445[_0x11ba26(0xb4)],_0x4230ff['vod_play_url']=_0x516445[_0x11ba26(0xab)];}}}cache_detail_db(_0x5b229e,_0x4230ff[_0x11ba26(0xb4)],_0x4230ff[_0x11ba26(0xab)]);}}}}return _0x55e5f9={'list':[_0x4230ff]},JSON[_0x11ba26(0xc7)](_0x55e5f9);}function play(_0xf9d695,_0x2a9b57,_0x21a089){const _0x5993a5=_0x430b9c;let _0x252288={},_0x271322='0',_0x46a7de='0';if(_0x2a9b57['indexOf']('iptv807')!=-0x1)_0x2a9b57=m_parse_url(_0x2a9b57);else{if(_0x2a9b57[_0x5993a5(0x86)](/youtube\.com/m))_0x2a9b57=direct_play_youtube3(_0x2a9b57);else{if(_0x2a9b57[_0x5993a5(0x86)](/piped\.video/m)){let _0x7344ad=_0x2a9b57[_0x5993a5(0xce)](0x0,_0x2a9b57['lastIndexOf']('/')),_0x317f89=_0x2a9b57[_0x5993a5(0xce)](_0x2a9b57[_0x5993a5(0xee)]('/')+0x1)[_0x5993a5(0xd0)]('p','');_0x2a9b57=_0x7344ad+'?quality='+_0x317f89,_0x271322='1';}else{if(_0x2a9b57[_0x5993a5(0x86)](/\/parse$/))_0x2a9b57=_0x2a9b57[_0x5993a5(0xd0)](/\/parse$/,''),_0x271322='1';else _0x2a9b57[_0x5993a5(0x86)](/cunshao\.com\/666666\/api\/web.php/)&&(_0x271322='1');}}}return console[_0x5993a5(0x83)](_0x2a9b57),_0x252288={'parse':_0x271322,'jx':_0x46a7de,'headers':'','playUrl':'','url':_0x2a9b57},JSON[_0x5993a5(0xc7)](_0x252288);}function computer_last_path(_0x199d24,_0x4afaa0){const _0x2354ee=_0x430b9c;let _0x40e95d='http://127.0.0.1:9978/file/',_0xb625ce=_0x4afaa0['slice'](0x0,_0x4afaa0[_0x2354ee(0xee)]('/')+0x1);_0x199d24[_0x2354ee(0x86)](/^(\/)/)&&(_0xb625ce=_0x40e95d);let _0x51a8ea=_0x199d24[_0x2354ee(0xc8)]('/')['slice'](0x0,-0x1),_0x32011b=_0x199d24[_0x2354ee(0xc8)]('/')[_0x2354ee(0xd8)]();for(let _0x28f3bc=0x0;_0x28f3bc<_0x51a8ea['length'];_0x28f3bc++){if(_0x51a8ea[_0x28f3bc]=='.'){}else{if(_0x51a8ea[_0x28f3bc]=='..')_0xb625ce!=_0x40e95d&&(_0xb625ce=_0xb625ce[_0x2354ee(0xd0)](/[^\/]*\/$/,''));else{if(_0x51a8ea[_0x28f3bc]==''){}else _0xb625ce=_0xb625ce+_0x51a8ea[_0x28f3bc]+'/';}}}return _0xb625ce+_0x32011b;}function parseSub(_0xa61b96){const _0x32e6db=_0x430b9c,_0x27c11c=/^#([^#\n]*?)\n([^#\n]+)/gm;let _0xf5e374='',_0x3bee44='',_0xe5e3e7=req(_0xa61b96,{'headers':config[_0x32e6db(0xe7)]})[_0x32e6db(0xd5)];while((_0xf5e374=_0x27c11c[_0x32e6db(0x92)](_0xe5e3e7))!==null){_0xf5e374[_0x32e6db(0xb7)]===_0x27c11c[_0x32e6db(0x103)]&&_0x27c11c[_0x32e6db(0x103)]++;if(_0xf5e374[0x1]==_0x32e6db(0xe3))continue;if(_0xf5e374[0x1][_0x32e6db(0x86)](/iptv/i)){_0xf5e374[0x2]=='1'?config[_0x32e6db(0xc2)]=!![]:config['iptv_flag']=![];continue;}let _0x36553d=_0xf5e374[0x1],_0x129572=config['defaultPicUrl'];if(_0xf5e374[0x1][_0x32e6db(0x8a)]('(')!=-0x1){let _0x543503=_0xf5e374[0x1][_0x32e6db(0x86)](/(.*?)\((.*?)\)/);_0x36553d=_0x543503[0x1],_0x129572[_0x32e6db(0x86)](/https?/)?_0x129572=_0x543503[0x2]:_0x129572=computer_last_path(_0x543503[0x2],_0xa61b96);}_0xf5e374[0x2][_0x32e6db(0x86)](/https?/)?_0x3bee44=_0xf5e374[0x2]:_0x3bee44=computer_last_path(_0xf5e374[0x2],_0xa61b96),config[_0x32e6db(0x8c)][_0x3bee44]=_0x129572,config[_0x32e6db(0x8c)][_0x36553d]=_0x129572,config[_0x32e6db(0xc3)][_0x32e6db(0xa8)]({'type_id':_0x3bee44,'type_name':_0x36553d});}}function make_detail_videos(_0x5072a6){const _0x193683=_0x430b9c;let _0x209762=[],_0x4297a0='',_0x409aaf='';for(let _0x551020 in _0x5072a6){_0x4297a0=_0x4297a0+'$$$'+_0x551020;}for(let _0x11de13 in _0x5072a6){_0x409aaf=_0x409aaf+_0x193683(0x7c),_0x5072a6[_0x11de13][_0x193683(0x9d)](_0x4c37d3=>{const _0x737119=_0x193683;_0x409aaf=_0x409aaf+_0x4c37d3[_0x737119(0xfc)]+'$'+_0x4c37d3['url']+'#';}),_0x409aaf=_0x409aaf['replace'](/#$/m,'');}return _0x209762[_0x193683(0xb4)]=_0x4297a0[_0x193683(0xd0)](/^\$\$\$/,''),_0x209762[_0x193683(0xab)]=_0x409aaf['replace'](/^\$\$\$/,''),_0x209762;}function sync_local_db(){const _0x9e1288=_0x430b9c;config[_0x9e1288(0xec)]=![];let _0x479c97=[],_0x5717ba=[],_0x4af857='';for(let _0x187442=0x0;_0x187442<config[_0x9e1288(0xc3)][_0x9e1288(0xfd)];_0x187442++){let _0x1335c1=config[_0x9e1288(0xc3)][_0x187442][_0x9e1288(0xd9)],_0x1ceb1b=config['classes'][_0x187442]['type_name'],_0x140ba7=cache_sub_db(_0x1335c1);if(_0x140ba7[_0x9e1288(0x8a)]('#EXTM3U')==0x0){let _0x1d1a82=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x479c97=_0x1d1a82[_0x9e1288(0x92)](_0x140ba7))!==null){_0x479c97[_0x9e1288(0xb7)]===_0x1d1a82[_0x9e1288(0x103)]&&_0x1d1a82[_0x9e1288(0x103)]++;let _0x31ba31=_0x9e1288(0x87);_0x31ba31=(_0x479c97[0x1][_0x9e1288(0x86)](/group-title="(.*?)"/)||[null,_0x31ba31])[0x1];_0x5717ba['indexOf'](_0x31ba31)==-0x1&&(_0x5717ba[_0x9e1288(0xa8)](_0x31ba31),config['groupDB']['push']({'sname':_0x1ceb1b,'surl':_0x1335c1,'gname':_0x31ba31}));!config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x31ba31]&&(config['channelDB'][_0x1ceb1b+'-'+_0x31ba31]={});if(_0x479c97[0x3][_0x9e1288(0x8a)](_0x9e1288(0xe5))!=-0x1||_0x479c97[0x3][_0x9e1288(0x8a)]('piped.video')!=-0x1){_0x479c97[0x3]=_0x479c97[0x3]['replace'](/\/parse$/,'');!config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]]&&(config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]]=[]);let _0x318d54=[_0x9e1288(0xb0),_0x9e1288(0xbf),_0x9e1288(0x8d),_0x9e1288(0xf6)];for(let _0x5c149b=0x1;_0x5c149b<=0x4;_0x5c149b++){config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]][_0x9e1288(0xa8)](_0x479c97[0x3]+'/'+_0x318d54[_0x5c149b-0x1]);}}else _0x31ba31[_0x9e1288(0x86)](/\/parse$/)&&(_0x479c97[0x3]=_0x479c97[0x3][_0x9e1288(0xd0)](/\/$/,''),!_0x479c97[0x3][_0x9e1288(0x86)](/\/parse$/)&&(_0x479c97[0x3]=_0x479c97[0x3]+'/parse')),config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]]?config['channelDB'][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]][_0x9e1288(0xa8)](_0x479c97[0x3]):(config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]]=[],config['channelDB'][_0x1ceb1b+'-'+_0x31ba31][_0x479c97[0x2]]['push'](_0x479c97[0x3]));}}else{let _0x20e6cf=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm;while((_0x479c97=_0x20e6cf[_0x9e1288(0x92)](_0x140ba7))!==null){_0x479c97['index']===_0x20e6cf[_0x9e1288(0x103)]&&_0x20e6cf[_0x9e1288(0x103)]++;if(['#genre#','##','头#',_0x9e1288(0xd2)][_0x9e1288(0xba)](_0x479c97[0x3]))_0x4af857=_0x479c97[0x2],config['channelDB'][_0x1ceb1b+'-'+_0x4af857]={},config[_0x9e1288(0x90)][_0x9e1288(0xa8)]({'sname':_0x1ceb1b,'surl':_0x1335c1,'gname':_0x479c97[0x2]});else{if(_0x479c97[0x3][_0x9e1288(0x8a)](_0x9e1288(0xe5))!=-0x1||_0x479c97[0x3][_0x9e1288(0x8a)](_0x9e1288(0xa4))!=-0x1){_0x479c97[0x3]=_0x479c97[0x3]['replace'](/\/parse$/,'');!config['channelDB'][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]]&&(config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]]=[]);let _0x4e3fc9=[_0x9e1288(0xb0),_0x9e1288(0xbf),_0x9e1288(0x8d),_0x9e1288(0xf6)];for(let _0x188993=0x1;_0x188993<=0x4;_0x188993++){config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]]['push'](_0x479c97[0x3]+'/'+_0x4e3fc9[_0x188993-0x1]);}}else _0x4af857[_0x9e1288(0x86)](/\/parse$/)&&(_0x479c97[0x3]=_0x479c97[0x3]['replace'](/\/$/,''),!_0x479c97[0x3][_0x9e1288(0x86)](/\/parse$/)&&(_0x479c97[0x3]=_0x479c97[0x3]+_0x9e1288(0x80))),config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]]?config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]][_0x9e1288(0xa8)](_0x479c97[0x3]):(config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]]=[],config[_0x9e1288(0x95)][_0x1ceb1b+'-'+_0x4af857][_0x479c97[0x2]][_0x9e1288(0xa8)](_0x479c97[0x3]));}}}}}function async_local_db(){const _0x2f557b=_0x430b9c;for(let _0x2292eb=0x0;_0x2292eb<config['classes'][_0x2f557b(0xfd)];_0x2292eb++){config[_0x2f557b(0xf8)]=config[_0x2f557b(0xf8)]+0x3e8,setTimeout(()=>{const _0xdc6b6d=_0x2f557b;config[_0xdc6b6d(0xec)]=![];let _0x91b402=config['classes'][_0x2292eb][_0xdc6b6d(0xd9)],_0x541bca=config[_0xdc6b6d(0xc3)][_0x2292eb][_0xdc6b6d(0xf3)],_0x512881=[],_0x1f8bd0=[],_0x2f2bb0='',_0x1998c3=cache_sub_db(_0x91b402);if(_0x1998c3[_0xdc6b6d(0x8a)](_0xdc6b6d(0x93))==0x0){let _0xf49bf0=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x512881=_0xf49bf0[_0xdc6b6d(0x92)](_0x1998c3))!==null){_0x512881['index']===_0xf49bf0[_0xdc6b6d(0x103)]&&_0xf49bf0[_0xdc6b6d(0x103)]++;let _0x58d506=_0xdc6b6d(0x87);_0x58d506=(_0x512881[0x1][_0xdc6b6d(0x86)](/group-title="(.*?)"/)||[null,_0x58d506])[0x1];_0x1f8bd0[_0xdc6b6d(0x8a)](_0x58d506)==-0x1&&(_0x1f8bd0['push'](_0x58d506),config[_0xdc6b6d(0x90)][_0xdc6b6d(0xa8)]({'sname':_0x541bca,'surl':_0x91b402,'gname':_0x58d506}));!config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x58d506]&&(config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x58d506]={});if(_0x512881[0x3][_0xdc6b6d(0x8a)](_0xdc6b6d(0xe5))!=-0x1||_0x512881[0x3][_0xdc6b6d(0x8a)](_0xdc6b6d(0xa4))!=-0x1){_0x512881[0x3]=_0x512881[0x3]['replace'](/\/parse$/,'');!config['channelDB'][_0x541bca+'-'+_0x58d506][_0x512881[0x2]]&&(config['channelDB'][_0x541bca+'-'+_0x58d506][_0x512881[0x2]]=[]);let _0xb27bda=[_0xdc6b6d(0xb0),_0xdc6b6d(0xbf),_0xdc6b6d(0x8d),_0xdc6b6d(0xf6)];for(let _0x2b8c7c=0x1;_0x2b8c7c<=0x4;_0x2b8c7c++){config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x58d506][_0x512881[0x2]][_0xdc6b6d(0xa8)](_0x512881[0x3]+'/'+_0xb27bda[_0x2b8c7c-0x1]);}}else _0x58d506[_0xdc6b6d(0x86)](/\/parse$/)&&(_0x512881[0x3]=_0x512881[0x3][_0xdc6b6d(0xd0)](/\/$/,''),!_0x512881[0x3][_0xdc6b6d(0x86)](/\/parse$/)&&(_0x512881[0x3]=_0x512881[0x3]+_0xdc6b6d(0x80))),config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x58d506][_0x512881[0x2]]?config['channelDB'][_0x541bca+'-'+_0x58d506][_0x512881[0x2]][_0xdc6b6d(0xa8)](_0x512881[0x3]):(config['channelDB'][_0x541bca+'-'+_0x58d506][_0x512881[0x2]]=[],config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x58d506][_0x512881[0x2]][_0xdc6b6d(0xa8)](_0x512881[0x3]));}}else{let _0x1b3d76=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm;while((_0x512881=_0x1b3d76[_0xdc6b6d(0x92)](_0x1998c3))!==null){_0x512881['index']===_0x1b3d76[_0xdc6b6d(0x103)]&&_0x1b3d76[_0xdc6b6d(0x103)]++;if([_0xdc6b6d(0xe1),'##','头#','$c_end'][_0xdc6b6d(0xba)](_0x512881[0x3]))_0x2f2bb0=_0x512881[0x2],config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0]={},config['groupDB'][_0xdc6b6d(0xa8)]({'sname':_0x541bca,'surl':_0x91b402,'gname':_0x512881[0x2]});else{if(_0x512881[0x3][_0xdc6b6d(0x8a)](_0xdc6b6d(0xe5))!=-0x1||_0x512881[0x3][_0xdc6b6d(0x8a)]('piped.video')!=-0x1){_0x512881[0x3]=_0x512881[0x3]['replace'](/\/parse$/,'');!config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]]&&(config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]]=[]);let _0x57c861=[_0xdc6b6d(0xb0),'720p','480p',_0xdc6b6d(0xf6)];for(let _0x29422f=0x1;_0x29422f<=0x4;_0x29422f++){config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]][_0xdc6b6d(0xa8)](_0x512881[0x3]+'/'+_0x57c861[_0x29422f-0x1]);}}else _0x2f2bb0[_0xdc6b6d(0x86)](/\/parse$/)&&(_0x512881[0x3]=_0x512881[0x3][_0xdc6b6d(0xd0)](/\/$/,''),!_0x512881[0x3]['match'](/\/parse$/)&&(_0x512881[0x3]=_0x512881[0x3]+_0xdc6b6d(0x80))),config['channelDB'][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]]?config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]][_0xdc6b6d(0xa8)](_0x512881[0x3]):(config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]]=[],config[_0xdc6b6d(0x95)][_0x541bca+'-'+_0x2f2bb0][_0x512881[0x2]][_0xdc6b6d(0xa8)](_0x512881[0x3]));}}}},config[_0x2f557b(0xf8)]);}}function local_db_gsearch(_0x53cb17){const _0x235a42=_0x430b9c;let _0x4ad8b0=[],_0x4c5c0b=new RegExp(_0x53cb17,'i');for(let _0x48c568=0x0;_0x48c568<config[_0x235a42(0x90)][_0x235a42(0xfd)];_0x48c568++){config[_0x235a42(0x90)][_0x48c568][_0x235a42(0xd3)][_0x235a42(0x86)](_0x4c5c0b)&&_0x4ad8b0[_0x235a42(0xa8)]({'vod_id':config[_0x235a42(0x90)][_0x48c568]['gname']+_0x235a42(0x7c)+config['groupDB'][_0x48c568]['surl'],'vod_name':config[_0x235a42(0x90)][_0x48c568][_0x235a42(0xd3)][_0x235a42(0xd0)](/\/parse$/,''),'vod_pic':config['pics'][config[_0x235a42(0x90)][_0x48c568]['sname']],'vod_remarks':config[_0x235a42(0x90)][_0x48c568][_0x235a42(0xb8)]});}return _0x4ad8b0;}function local_db_csearch(_0x4c04c2){const _0x22a795=_0x430b9c;let _0x5ceeaa=[],_0x1cee59=new RegExp(_0x4c04c2,'i');for(let _0x4aeaac in config['channelDB']){for(let _0x4368ad in config['channelDB'][_0x4aeaac]){_0x4368ad['match'](_0x1cee59)&&_0x5ceeaa['push']({'vod_id':_0x4368ad+_0x22a795(0xdf)+config[_0x22a795(0x95)][_0x4aeaac][_0x4368ad][_0x22a795(0xc5)](_0x22a795(0xfe)),'vod_name':_0x4368ad,'vod_pic':config[_0x22a795(0x8c)][_0x4aeaac[_0x22a795(0xc8)]('-')[0x0]],'vod_remarks':_0x4aeaac[_0x22a795(0xd0)](/\/parse$/,'')});}}return _0x5ceeaa;}function cache_sub_db(_0x1e34c0){const _0x3683b3=_0x430b9c;let _0xe12ac=config[_0x3683b3(0xe7)];_0x1e34c0['match'](/(gitcode.net\/ygbh66|iptv807)/)&&(_0xe12ac=config['headers2']);if(config[_0x3683b3(0x104)][_0x1e34c0])return config[_0x3683b3(0x104)][_0x1e34c0];let _0x11bd66=req(_0x1e34c0,{'headers':_0xe12ac})[_0x3683b3(0xd5)];return _0x11bd66&&(config[_0x3683b3(0x104)][_0x1e34c0]=_0x11bd66),_0x11bd66;}function cache_detail_db(_0x234049,_0x551ec0,_0x5c100f){const _0x22d342=_0x430b9c;_0x551ec0&&_0x5c100f&&(config[_0x22d342(0x96)][_0x234049]={'vpf':_0x551ec0,'vpu':_0x5c100f});}function direct_play_youtube0(_0x52a40a){const _0x19744b=_0x430b9c;let _0x266e3c='',_0x2405fc='',_0x5605c4=req(_0x19744b(0x8f)+_0x52a40a,{'headers':config['headers']})[_0x19744b(0xd5)],_0x24dcde=_0x23acb9[_0x19744b(0xb6)](_0x5605c4),_0xbf6e00=_0x24dcde(_0x19744b(0xef));_0xbf6e00[_0x19744b(0xc6)](function(_0xc9d2f2){const _0x1fadeb=_0x19744b;let _0x45ed14=_0x24dcde(this,this)[_0x1fadeb(0x100)](_0x1fadeb(0xf7));_0x45ed14[_0x1fadeb(0x86)](_0x1fadeb(0xb3))&&(_0x2405fc=_0x45ed14['match'](/https:\/\/getyoutubehd.com\/v\/(.*)/m)[0x1]);});let _0x2ec6ef=_0x19744b(0xcd)+_0x2405fc;_0x5605c4=req(_0x2ec6ef,{'headers':config[_0x19744b(0xe7)]})[_0x19744b(0xd5)],_0xbf6e00=JSON[_0x19744b(0x99)](_0x5605c4),_0xbf6e00=_0xbf6e00['formats'];for(let _0x4529af=0x0;_0x4529af<_0xbf6e00['length'];_0x4529af++){_0xbf6e00[_0x4529af][_0x19744b(0x84)]==_0x19744b(0xf6)&&(_0x266e3c=_0xbf6e00[_0x4529af][_0x19744b(0xc9)]),_0xbf6e00[_0x4529af][_0x19744b(0x84)]==_0x19744b(0xbf)&&(_0x266e3c=_0xbf6e00[_0x4529af][_0x19744b(0xc9)]);}return _0x266e3c;}function direct_play_youtube1(_0x2b083c){const _0x1ba3c2=_0x430b9c;let _0x4ab59c=_0x2b083c[_0x1ba3c2(0xce)](0x0,_0x2b083c[_0x1ba3c2(0xee)]('/')),_0x503235=_0x2b083c['slice'](_0x2b083c[_0x1ba3c2(0xee)]('/')+0x1),_0x4ebc6e='',_0x514b8d=config['headers'];_0x4ab59c[_0x1ba3c2(0x86)](/gitcode.net\/ygbh66/)&&(_0x514b8d=config['headers2']);let _0x30a2dd=req(_0x4ab59c,{'headers':_0x514b8d})[_0x1ba3c2(0xd5)],_0x4e36f9=_0x23acb9[_0x1ba3c2(0xb6)](_0x30a2dd),_0x5ab654=JSON[_0x1ba3c2(0x99)](_0x4e36f9('body\x20script:eq(1)')['text']()[_0x1ba3c2(0xd0)](_0x1ba3c2(0xde),'')[_0x1ba3c2(0xd0)](/;$/,'')),_0x553ace=_0x5ab654[_0x1ba3c2(0x108)][_0x1ba3c2(0xe0)];return _0x553ace[_0x1ba3c2(0x9d)](_0x1e8050=>{const _0x1d1685=_0x1ba3c2;_0x1e8050['mimeType'][_0x1d1685(0x86)](/video\/mp4/)&&(_0x1e8050[_0x1d1685(0xa0)]==_0x503235&&(_0x4ebc6e=_0x1e8050['url']));}),_0x4ebc6e;}function direct_play_youtube2(_0x3ce519){const _0x74ea52=_0x430b9c;let _0xfe4737=_0x3ce519[_0x74ea52(0xce)](0x0,_0x3ce519[_0x74ea52(0xee)]('/')),_0x126971=_0x3ce519[_0x74ea52(0xce)](_0x3ce519[_0x74ea52(0xee)]('/')+0x1),_0x3a19b5='',_0x1f6f74=req(_0x74ea52(0x9f)+_0xfe4737+'&lang=en&type=video',{'headers':config[_0x74ea52(0xe7)]})[_0x74ea52(0xd5)],_0x510da7=_0x23acb9[_0x74ea52(0xb6)](_0x1f6f74),_0x22f8df=_0x510da7(_0x74ea52(0xa9))[_0x74ea52(0x107)](function(){const _0x1bfd6b=_0x74ea52;return{'title':_0x510da7(_0x1bfd6b(0xbc),this)['attr']('download'),'resolution':_0x510da7(_0x1bfd6b(0x8e),this)['text'](),'url':_0x510da7('.downloadBtn',this)[_0x1bfd6b(0x100)](_0x1bfd6b(0xf7))};})[_0x74ea52(0xd7)]();for(let _0x3bab27=0x0;_0x3bab27<_0x22f8df['length'];_0x3bab27++){if(_0x22f8df[_0x3bab27][_0x74ea52(0x7a)]==_0x126971){_0x3a19b5=_0x22f8df[_0x3bab27][_0x74ea52(0xc9)];break;}}return _0x3a19b5=_0x3a19b5[_0x74ea52(0xd0)](/&title=.*/,''),_0x3a19b5;}function direct_play_youtube3(_0x5036f6){const _0x205150=_0x430b9c;let _0x53ff0b=_0x5036f6[_0x205150(0xce)](0x0,_0x5036f6[_0x205150(0xee)]('/')),_0x481edf=_0x5036f6['slice'](_0x5036f6[_0x205150(0xee)]('/')+0x1),_0x475de9=_0x53ff0b[_0x205150(0x86)](/v=(.*?)(&|$)/m)[0x1],_0xf63068='',_0x5491e8={},_0x41e544=[],_0x3709e3='',_0x40842a=req(_0x53ff0b,{'headers':config[_0x205150(0xe7)]})[_0x205150(0xd5)];if(_0x40842a['match'](/hlsManifestUrl/)){let _0x199c8e=_0x23acb9[_0x205150(0xb6)](_0x40842a),_0x44e797=JSON[_0x205150(0x99)](_0x199c8e(_0x205150(0xb5))[_0x205150(0xcc)]()['replace'](_0x205150(0xde),'')[_0x205150(0xd0)](/;$/,''));_0x3709e3=_0x44e797[_0x205150(0x108)][_0x205150(0xff)];}else{_0x40842a=req('https://www.y2mate.com/mates/analyzeV2/ajax',{'headers':{'Content-Type':_0x205150(0xed),'user-agent':_0x205150(0x9a)},'method':'POST','body':'k_query='+_0x53ff0b+_0x205150(0xaf)})[_0x205150(0xd5)],_0x40842a=JSON[_0x205150(0x99)](_0x40842a),_0x5491e8=_0x40842a[_0x205150(0x8b)][_0x205150(0xf0)],_0xf63068='';for(let _0xd72eda in _0x5491e8){if(_0x481edf==_0x5491e8[_0xd72eda]['q']){_0xf63068=_0x5491e8[_0xd72eda]['k'];break;}}_0x40842a=req(_0x205150(0xca),{'headers':{'Content-Type':_0x205150(0xed),'user-agent':_0x205150(0x9a)},'method':'POST','body':_0x205150(0xd6)+_0x475de9+'&k='+_0xf63068})[_0x205150(0xd5)],_0x40842a=JSON[_0x205150(0x99)](_0x40842a),_0x3709e3=_0x40842a[_0x205150(0xe6)];}return console[_0x205150(0x83)](_0x3709e3),_0x3709e3;}var m_js_1='',m_hken='',m_hkens='',m_token='';function m_decode(_0x168e13){const _0x1fe163=_0x430b9c;var _0x30a3f6=_0x1fe163(0x85),_0x4ea5e3,_0x3cfae8,_0x111633,_0x55383e,_0x14e2fd,_0x44081d,_0x4253c7,_0x344bd9,_0x49bc6e=0x0,_0x438e8a=0x0,_0x27ea42='',_0x188ae2=[];if(!_0x168e13)return _0x168e13;_0x168e13+='';do{_0x55383e=_0x30a3f6[_0x1fe163(0x8a)](_0x168e13[_0x1fe163(0xb2)](_0x49bc6e++)),_0x14e2fd=_0x30a3f6[_0x1fe163(0x8a)](_0x168e13[_0x1fe163(0xb2)](_0x49bc6e++)),_0x44081d=_0x30a3f6[_0x1fe163(0x8a)](_0x168e13[_0x1fe163(0xb2)](_0x49bc6e++)),_0x4253c7=_0x30a3f6['indexOf'](_0x168e13[_0x1fe163(0xb2)](_0x49bc6e++)),_0x344bd9=_0x55383e<<0x12|_0x14e2fd<<0xc|_0x44081d<<0x6|_0x4253c7,_0x4ea5e3=_0x344bd9>>0x10&0xff,_0x3cfae8=_0x344bd9>>0x8&0xff,_0x111633=_0x344bd9&0xff,_0x44081d==0x40?_0x188ae2[_0x438e8a++]=String[_0x1fe163(0xf5)](_0x4ea5e3):_0x4253c7==0x40?_0x188ae2[_0x438e8a++]=String['fromCharCode'](_0x4ea5e3,_0x3cfae8):_0x188ae2[_0x438e8a++]=String[_0x1fe163(0xf5)](_0x4ea5e3,_0x3cfae8,_0x111633);}while(_0x49bc6e<_0x168e13[_0x1fe163(0xfd)]);return _0x27ea42=_0x188ae2[_0x1fe163(0xc5)](''),_0x27ea42;}function startPlayer(_0x426261,_0x36f002,_0x78d855,_0x1199fa){const _0x583caa=_0x430b9c;function _0x2cc54c(_0x30d032,_0x458d56){const _0x3cce1c=_0x178f;let _0x45f7a5=_0x5955e3(_0x30d032),_0x700d4b=_0x458d56['length'],_0x2b8c5a='';for(let _0x436d29=0x0;_0x436d29<_0x45f7a5[_0x3cce1c(0xfd)];_0x436d29++){let _0x4977ef=_0x436d29%_0x700d4b;_0x2b8c5a+=String['fromCharCode'](_0x45f7a5[_0x3cce1c(0x105)](_0x436d29)^_0x458d56[_0x3cce1c(0x105)](_0x4977ef));}let _0x121069=_0x5955e3(_0x2b8c5a);return _0x121069;}function _0x5955e3(_0x5ad4ec){const _0x1a3689=_0x178f;var _0x596913=_0x1a3689(0x85),_0x296691,_0x5f1923,_0x2dea0f,_0x4bc308,_0x1a048e,_0x47175d,_0x33d6a3,_0x538c27,_0x5b6e6a=0x0,_0x4940ae=0x0,_0x422396='',_0x3eab36=[];if(!_0x5ad4ec)return _0x5ad4ec;_0x5ad4ec+='';do{_0x4bc308=_0x596913[_0x1a3689(0x8a)](_0x5ad4ec['charAt'](_0x5b6e6a++)),_0x1a048e=_0x596913[_0x1a3689(0x8a)](_0x5ad4ec['charAt'](_0x5b6e6a++)),_0x47175d=_0x596913[_0x1a3689(0x8a)](_0x5ad4ec[_0x1a3689(0xb2)](_0x5b6e6a++)),_0x33d6a3=_0x596913[_0x1a3689(0x8a)](_0x5ad4ec[_0x1a3689(0xb2)](_0x5b6e6a++)),_0x538c27=_0x4bc308<<0x12|_0x1a048e<<0xc|_0x47175d<<0x6|_0x33d6a3,_0x296691=_0x538c27>>0x10&0xff,_0x5f1923=_0x538c27>>0x8&0xff,_0x2dea0f=_0x538c27&0xff;if(_0x47175d==0x40)_0x3eab36[_0x4940ae++]=String[_0x1a3689(0xf5)](_0x296691);else _0x33d6a3==0x40?_0x3eab36[_0x4940ae++]=String['fromCharCode'](_0x296691,_0x5f1923):_0x3eab36[_0x4940ae++]=String[_0x1a3689(0xf5)](_0x296691,_0x5f1923,_0x2dea0f);}while(_0x5b6e6a<_0x5ad4ec[_0x1a3689(0xfd)]);return _0x422396=_0x3eab36[_0x1a3689(0xc5)](''),_0x422396;}return _0x426261=_0x426261['split']('')['reverse']()[_0x583caa(0xc5)](''),_0x426261=_0x2cc54c(_0x426261,_0x36f002),_0x426261=_0x426261[_0x583caa(0xd0)](_0x583caa(0x91),_0x583caa(0x106)+_0x1199fa),_0x426261=_0x426261[_0x583caa(0xd0)]('token='+_0x78d855,_0x583caa(0x106)+_0x1199fa),_0x426261=_0x426261['replace'](_0x36f002,''),_0x426261;}function m_parse_url(_0xe8d705){const _0x283f8d=_0x430b9c;let _0x5f2fef=_0xe8d705[_0x283f8d(0xc8)](_0x283f8d(0xae))[0x0],_0x3cc62e=_0xe8d705[_0x283f8d(0xc8)](_0x283f8d(0xae))[0x1],_0x505533=req(_0x5f2fef,{'headers':config[_0x283f8d(0xf9)]})[_0x283f8d(0xd5)],_0xd26e6b=_0x23acb9[_0x283f8d(0xb6)](_0x505533);if(_0x3cc62e>=_0xd26e6b(_0x283f8d(0xf4))[_0x283f8d(0xfd)])return'';let _0x1e1724=_0xd26e6b(_0x283f8d(0xf4))['eq'](_0x3cc62e)['val'](),_0x4f55b6=_0x505533[_0x283f8d(0x86)](/<script>(.*?var string.*?)<\/script>/);eval(_0x4f55b6[0x1][_0x283f8d(0xd0)](/$/gm,';m_js_1=string;'));var _0x10cf25=_0x283f8d(0x7f);m_js_1=m_decode(m_js_1);let _0x160603=_0x10cf25[_0x283f8d(0xfd)],_0x17690e='';for(let _0x5ee6e4=0x0;_0x5ee6e4<m_js_1[_0x283f8d(0xfd)];_0x5ee6e4++){let _0x1b9806=_0x5ee6e4%_0x160603;_0x17690e+=String[_0x283f8d(0xf5)](m_js_1[_0x283f8d(0x105)](_0x5ee6e4)^_0x10cf25[_0x283f8d(0x105)](_0x1b9806));}var _0x2cc0f3=m_decode(_0x17690e);_0x2cc0f3=unescape(_0x2cc0f3),_0x2cc0f3=_0x2cc0f3[_0x283f8d(0x86)](/<script>(var.*?)<\/script>/)[0x1],_0x2cc0f3=_0x2cc0f3[_0x283f8d(0xd0)](/$/gm,_0x283f8d(0x81)),eval(_0x2cc0f3);let _0x256cc5=startPlayer(_0x1e1724,m_hken,m_hkens,m_token);return _0x256cc5;}__JS_SPIDER__={'init':init,'home':home,'homeVod':homeVod,'category':category,'detail':detail,'play':play,'search':search};