// ==UserScript== // @name VIP视频全网解析 (Pro版) // @namespace https://scriptcat.org/zh-CN/script-show-page/4339 // @version 5.6 // @description 视频VIP 影视vip 电影vip解析-----支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析,影视vip解析。 强烈推荐用脚本猫加载此插件,资源搜索会快很多(请不要使用油猴加载此插件,会很慢)。(如果自动选择的播放源,不理想,卡顿,或不播放,声音不对,请手动点击黄色vip图标切换播放源,40多个源,一定有你需要的), // @icon data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI1MCIgZmlsbD0iI0ZGRDcwMCIvPjx0ZXh0IHg9IjUwIiB5PSI3MCIgZm9udC1zaXplPSI1MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXdlaWdodD0ibjkwMCI+VklQPC90ZXh0Pjwvc3ZnPg== // @author lsym // @license MIT // @match *://*.iqiyi.com/v_* // @match *://*.iqiyi.com/a_* // @match *://*.iqiyi.com/w_* // @match *://*.iq.com/play/* // @match *://v.youku.com/v_show/id_* // @match *://*.youku.com/v_show/id_* // @match *://v.qq.com/x/cover/* // @match *://v.qq.com/x/page/* // @match *://v.qq.com/tv/* // @match *://*.mgtv.com/b/* // @match *://*.bilibili.com/video/av* // @match *://*.bilibili.com/video/BV* // @match *://*.bilibili.com/bangumi/play/* // @match *://*.le.com/ptv/vplay/* // @match *://*.tudou.com/listplay/* // @match *://*.tudou.com/albumplay/* // @match *://*.tudou.com/programs/view/* // @match *://tv.sohu.com/v/* // @match *://film.sohu.com/album/* // @match *://*.pptv.com/show/* // @match *://*.acfun.cn/v/ac* // @match *://*.fun.tv/vplay/* // @match *://*.wasu.cn/Play/show/id/* // @match *://*.1905.com/play/* // @match *://*.ixigua.com/video/* // @match *://*.weibo.com/tv/show/* // @match *://*.weibo.com/v/tv/show/* // @grant GM_addStyle // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @grant GM_registerMenuCommand // @run-at document-end // @connect lz.118318.xyz // @connect api.maoyanapi.top // @connect pg.cttv.vip // @connect pg.fenwe078.cf // @connect www.lovedan.net // @connect www.inmi.app // @connect www.wyvod.com // @connect ddmf.net // @connect dh.ha.cn // @connect api.xinlangapi.com // @connect app.bfzyapi.com // @connect p2100.net // @connect bfzyapi.com // @connect api.yzzy-api.com // @connect caiji.dbzy.tv // @connect cj.lziapi.com // @connect api.ffzyapi.com // @connect api.zuidapi.com // @connect caiji.kuaichezy.org // @connect ckzy.me // @connect ikunzyapi.com // @connect api.apibdzy.com // @connect 360zy.com // @connect cj.rycjapi.com // @connect mozhuazy.com // @connect www.huyaapi.com // @connect www.hongniuzy2.com // @connect api.ukuapi88.com // @connect suoniapi.com // @connect xsd.sdzyapi.com // @connect www.seacms.org // @connect collect.wolongzy.cc // @connect api.wujinapi.me // @connect img.smdyw.top // @connect hhzyapi.com // @connect caiji.maotaizy.cc // @connect api.niuniuzy.me // @connect savviuux.hk3.345888.xyz.cdn.cloudflare.net // @connect tyyszyapi.com // @connect cj.ffzyapi.com // @connect collect.wolongzyw.com // @connect api.ukuapi.com // @connect api.guangsuapi.com // @connect jszyapi.com // @connect subocaiji.com // @connect www.mdzyapi.com // @connect iqiyizyapi.com // @connect jyzyapi.com // @connect caiji.dyttzyapi.com // @connect * // @antifeature piracy // ==/UserScript== (function(_0x37f38b,_0x3ff148){const _0x171c51=_0x595d,_0x401cc8=_0x37f38b();while(!![]){try{const _0x1e52fd=-parseInt(_0x171c51(0x2c6))/0x1*(parseInt(_0x171c51(0x222))/0x2)+-parseInt(_0x171c51(0x1be))/0x3*(parseInt(_0x171c51(0x2a8))/0x4)+parseInt(_0x171c51(0x17d))/0x5+parseInt(_0x171c51(0x191))/0x6+-parseInt(_0x171c51(0x2b2))/0x7+parseInt(_0x171c51(0x1f7))/0x8+-parseInt(_0x171c51(0x242))/0x9;if(_0x1e52fd===_0x3ff148)break;else _0x401cc8['push'](_0x401cc8['shift']());}catch(_0x541759){_0x401cc8['push'](_0x401cc8['shift']());}}}(_0x58f4,0xc14fa),(async function(){'use strict';const _0x4755c1=_0x595d;const _0x39b206={'API_TIMEOUT':0x1194,'STUCK_CHECK_TIMEOUT':0x2ee0,'SEARCH_CONCURRENCY':0x20,'AUTO_EXPAND_BEST_SOURCE':!![],'CACHE_ENABLED':!![],'CACHE_EXPIRY':0x1b7740,'CACHE_VERSION':'v2','SMART_SORTING':!![],'FAST_EVAL_TIMEOUT':0x5dc,'AUTOPLAY_NEXT_DELAY':0x64,'PANEL_LEAVE_CLOSE_DELAY':0x5dc,'STORAGE_KEY_ICON_POSITION':'tm_icon_position_pure_v5_cn','VIDEO_URL_PATTERNS':[/iqiyi\.com\/[vwa]_/,/iq\.com\/play\//,/youku\.com\/v_show\/id_/,/v\.qq\.com\/(x\/cover|x\/page|tv)\//,/mgtv\.com\/b\//,/bilibili\.com\/(video|bangumi\/play)\//,/le\.com\/ptv\/vplay\//,/tv\.sohu\.com\/v\//,/film\.sohu\.com\/album\//,/pptv\.com\/show\//,/acfun\.cn\/v\/ac/,/1905\.com\/play\//,/ixigua\.com\/video\//,/tudou\.com\/(listplay|albumplay|programs\/view)\//],'HLS_CONFIG':{'maxBufferLength':0x1e,'maxMaxBufferLength':0x3c,'fragLoadingTimeOut':0x61a8,'manifestLoadingTimeOut':0x2710,'levelLoadingTimeOut':0x2710,'fragLoadingMaxRetry':0x5,'manifestLoadingMaxRetry':0x2,'fragLoadingRetryDelay':0x3e8,'enableWorker':!![],'enableSoftwareAES':!![],'startFragPrefetch':!![],'lowLatencyMode':![],'backBufferLength':0x1e,'maxStarvationDelay':0x4,'capLevelToPlayerSize':![],'autoStartLoad':!![],'maxBufferHole':1.5,'maxFragLookUpTolerance':0.5},'MESSAGES':{'VIDEO_ENDED':_0x4755c1(0x24c),'GET_TIME_REQ':_0x4755c1(0x1f1),'GET_TIME_RES':'tm_get_time_res','PLAY_SUCCESS':_0x4755c1(0x2a6),'CHECK_STUCK_REQ':_0x4755c1(0x1fa),'CHECK_STUCK_RES':_0x4755c1(0x233),'LOAD_ERROR':'tm_load_error'},'SELECTORS':{'PLAYER_ELEMENTS':[_0x4755c1(0x25f),_0x4755c1(0x161),_0x4755c1(0x153),_0x4755c1(0x15b),_0x4755c1(0x225),_0x4755c1(0x15a),'#flashbox',_0x4755c1(0x25a),_0x4755c1(0x19c),_0x4755c1(0x221),_0x4755c1(0x172),_0x4755c1(0x2c2),_0x4755c1(0x2ac),_0x4755c1(0x1eb),_0x4755c1(0x1c2),_0x4755c1(0x155),_0x4755c1(0x158),_0x4755c1(0x232),_0x4755c1(0x202),_0x4755c1(0x170),'.play-box'],'QUICK_TITLE':[_0x4755c1(0x15d),'h1','.video-title','.title',_0x4755c1(0x286),_0x4755c1(0x1d8),_0x4755c1(0x281)],'PRECISE_TITLE':{'iqiyi.com':_0x4755c1(0x1f6),'youku.com':_0x4755c1(0x18f),'v.qq.com':'.episode-item--select,\x20.video-episode-card__item--select,\x20.playlist-item--current,\x20.episode-list-rect__item--current,\x20.episode-item-btn.current,\x20.playlist-track__item.is-active,\x20.episode-item.is-selected','bilibili.com':_0x4755c1(0x292),'mgtv.com':_0x4755c1(0x168),'sohu.com':_0x4755c1(0x22b),'le.com':_0x4755c1(0x234),'pptv.com':_0x4755c1(0x20c),'acfun.cn':_0x4755c1(0x26f)}}},_0x47b681={'get'(_0xc4da3f){const _0x7ac3fc=_0x4755c1;if(!_0x39b206[_0x7ac3fc(0x25b)])return null;try{const _0x42c534=JSON[_0x7ac3fc(0x28f)](GM_getValue(_0x7ac3fc(0x1ec)+_0x39b206[_0x7ac3fc(0x2a9)]+'_'+_0xc4da3f));if(_0x42c534&&Date['now']()-_0x42c534['timestamp']<_0x39b206['CACHE_EXPIRY'])return this['recordHit'](),_0x42c534[_0x7ac3fc(0x28b)];}catch(_0x1621cd){}return this[_0x7ac3fc(0x1ab)](),null;},'set'(_0x211c5b,_0x1d2d40){const _0x1ac317=_0x4755c1;if(!_0x39b206[_0x1ac317(0x25b)])return;try{const _0x382ead=JSON[_0x1ac317(0x253)]({'data':_0x1d2d40,'timestamp':Date[_0x1ac317(0x173)]()});GM_setValue(_0x1ac317(0x1ec)+_0x39b206[_0x1ac317(0x2a9)]+'_'+_0x211c5b,_0x382ead);}catch(_0x4efa30){console['error']('[Cache]\x20Save\x20failed:',_0x4efa30);}},'getStats'(){const _0x165383=_0x4755c1;return GM_getValue(_0x165383(0x1a6))||{'hits':0x0,'misses':0x0};},'recordHit'(){const _0x4376d2=_0x4755c1,_0x44fb56=this[_0x4376d2(0x20f)]();_0x44fb56['hits']++,GM_setValue(_0x4376d2(0x1a6),_0x44fb56);},'recordMiss'(){const _0x11fb32=_0x4755c1,_0x475a44=this[_0x11fb32(0x20f)]();_0x475a44[_0x11fb32(0x1b7)]++,GM_setValue(_0x11fb32(0x1a6),_0x475a44);}},_0x2fd2df={'get'(_0x406c93){const _0x2768ec=_0x4755c1;return GM_getValue(_0x2768ec(0x16b)+_0x406c93)||{'successCount':0x0,'failCount':0x0,'totalLatency':0x0,'requestCount':0x0};},'recordSuccess'(_0x41b599,_0x2e7b9b){const _0x3ee756=_0x4755c1,_0x1e8386=this[_0x3ee756(0x2aa)](_0x41b599);_0x1e8386[_0x3ee756(0x21f)]++,_0x1e8386[_0x3ee756(0x212)]+=_0x2e7b9b,_0x1e8386['requestCount']++,GM_setValue(_0x3ee756(0x16b)+_0x41b599,_0x1e8386);},'recordFailure'(_0x35c7d1){const _0x2d6da8=_0x4755c1,_0x51e03b=this[_0x2d6da8(0x2aa)](_0x35c7d1);_0x51e03b['failCount']++,_0x51e03b[_0x2d6da8(0x237)]++,GM_setValue(_0x2d6da8(0x16b)+_0x35c7d1,_0x51e03b);},'getScore'(_0x5887f2){const _0x5a19fb=_0x4755c1;if(_0x5887f2['requestCount']<0x3)return 0x3e8;const _0x447a32=_0x5887f2['successCount']/_0x5887f2[_0x5a19fb(0x237)];if(_0x447a32<0.5)return-0x3e8;const _0x135561=_0x5887f2[_0x5a19fb(0x21f)]>0x0?_0x5887f2[_0x5a19fb(0x212)]/_0x5887f2[_0x5a19fb(0x21f)]:_0x39b206[_0x5a19fb(0x1d2)];return _0x447a32*0x2710-_0x135561;}},_0x2901a1=_0x357133=>{const _0xfc14d3=_0x4755c1,_0xad29b6=new Map();_0x357133[_0xfc14d3(0x238)](_0x203efe=>{const _0x54c497=_0xfc14d3;!_0xad29b6[_0x54c497(0x1dd)](_0x203efe[_0x54c497(0x28a)])&&_0xad29b6[_0x54c497(0x1df)](_0x203efe['url'],{..._0x203efe,'name':_0x203efe[_0x54c497(0x20a)][_0x54c497(0x268)](0x0,0x4)});});let _0x386549=Array['from'](_0xad29b6[_0xfc14d3(0x1bc)]());return _0x39b206[_0xfc14d3(0x260)]&&(_0x386549=_0x386549[_0xfc14d3(0x227)](_0x7a4613=>({..._0x7a4613,'score':_0x2fd2df[_0xfc14d3(0x2a0)](_0x2fd2df[_0xfc14d3(0x2aa)](_0x7a4613['name']))}))[_0xfc14d3(0x20b)]((_0x83b442,_0x534803)=>_0x534803['score']-_0x83b442[_0xfc14d3(0x22f)])),_0x386549;},_0x4bff42=[{'name':'快龙','url':_0x4755c1(0x14c)},{'name':'猫眼','url':_0x4755c1(0x19f)},{'name':'刺桐','url':_0x4755c1(0x26c)},{'name':_0x4755c1(0x248),'url':'https://pg.fenwe078.cf/api.php/provide/vod/'},{'name':'艾旦','url':'https://www.lovedan.net/api.php/provide/vod/'},{'name':'映迷','url':_0x4755c1(0x148)},{'name':'无忧','url':_0x4755c1(0x277)},{'name':'蛋蛋','url':_0x4755c1(0x289)},{'name':_0x4755c1(0x2b0),'url':'https://dh.ha.cn/api.php/provide/vod/'},{'name':'新浪','url':'http://api.xinlangapi.com/xinlangapi.php/provide/vod/'},{'name':'暴风','url':_0x4755c1(0x213)},{'name':_0x4755c1(0x1f4),'url':_0x4755c1(0x262)},{'name':'优质','url':'https://api.yzzy-api.com/inc/apijson.php/provide/vod/'},{'name':'豆瓣','url':_0x4755c1(0x201)},{'name':'量子','url':'https://cj.lziapi.com/api.php/provide/vod/'},{'name':'非凡','url':_0x4755c1(0x274)},{'name':'最大','url':_0x4755c1(0x2a2)},{'name':'快车','url':'https://caiji.kuaichezy.org/api.php/provide/vod/'},{'name':'CK','url':_0x4755c1(0x1cc)},{'name':_0x4755c1(0x259),'url':'https://ikunzyapi.com/api.php/provide/vod/'},{'name':'百度','url':_0x4755c1(0x178)},{'name':'360','url':_0x4755c1(0x1d7)},{'name':'如意','url':_0x4755c1(0x17c)},{'name':'魔爪','url':'https://mozhuazy.com/api.php/provide/vod/'},{'name':'虎牙','url':_0x4755c1(0x2b1)},{'name':'红牛','url':_0x4755c1(0x181)},{'name':'U酷','url':'https://api.ukuapi88.com/api.php/provide/vod/'},{'name':'索尼','url':'https://suoniapi.com/api.php/provide/vod/'},{'name':'闪电','url':_0x4755c1(0x18b)},{'name':'花旗','url':_0x4755c1(0x209)},{'name':'无尽','url':_0x4755c1(0x28e)},{'name':'神马','url':_0x4755c1(0x19d)},{'name':'豪华','url':_0x4755c1(0x2b9)},{'name':'茅台','url':_0x4755c1(0x211)},{'name':'牛牛','url':'https://api.niuniuzy.me/api.php/provide/vod/'},{'name':'快鹰','url':_0x4755c1(0x29d)},{'name':'天涯','url':_0x4755c1(0x1a7)},{'name':'柚子','url':_0x4755c1(0x210)},{'name':'非凡','url':_0x4755c1(0x1d5)},{'name':'卧龙','url':'https://collect.wolongzyw.com/api.php/provide/vod/'},{'name':'光速','url':_0x4755c1(0x23c)},{'name':'极速','url':'https://jszyapi.com/api.php/provide/vod/'},{'name':'速播','url':_0x4755c1(0x14f)},{'name':'魔都','url':_0x4755c1(0x229)},{'name':'iqiyi','url':_0x4755c1(0x1ed)},{'name':'金鹰','url':_0x4755c1(0x165)},{'name':_0x4755c1(0x269),'url':_0x4755c1(0x278)}],_0x304ac3=_0x2901a1(_0x4bff42),_0x327590={'currentEpisodeList':[],'currentPlayingUrl':'','hiddenPlayerElement':null,'isPanelOpen':![],'currentURL':location['href'],'dom':{},'timers':{'resize':null,'panelCollapse':null,'stuck':null},'sessionCache':{'key':null,'results':[]},'activeSourceName':null,'isFirstAutoplayAttempted':![],'currentPageEpisodeNumber':null,'failedUrls':new Set(),'isUserClosed':![],'currentSearchId':0x0,'isPlayerActive':![]};function _0x346ae5(){const _0x9d45fa=_0x4755c1;return _0x39b206['VIDEO_URL_PATTERNS'][_0x9d45fa(0x14d)](_0x1b88b1=>_0x1b88b1[_0x9d45fa(0x23f)](location['href']));}const _0x1359d4={'init'(){const _0x1ab010=_0x4755c1;this['injectStyle'](),_0x327590['dom']['container']=this[_0x1ab010(0x1a8)](_0x1ab010(0x180),{'id':'tm-container-fusion'}),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x157)]=this[_0x1ab010(0x1a8)](_0x1ab010(0x1c9),{'id':_0x1ab010(0x2b6)}),_0x327590['dom']['panel']=this[_0x1ab010(0x1a8)]('div',{'id':'tm-panel-fusion'}),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x204)]=this[_0x1ab010(0x1a8)](_0x1ab010(0x180),{'id':_0x1ab010(0x291)}),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x2be)]=this[_0x1ab010(0x1a8)](_0x1ab010(0x180),{'id':_0x1ab010(0x244),'innerHTML':_0x1ab010(0x1f9)}),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x204)][_0x1ab010(0x280)]=_0x1ab010(0x22e),document[_0x1ab010(0x254)]['append'](_0x327590[_0x1ab010(0x164)][_0x1ab010(0x2ab)],_0x327590[_0x1ab010(0x164)]['playerOverlay'],_0x327590[_0x1ab010(0x164)]['globalStatus']),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x2ab)][_0x1ab010(0x182)](_0x327590[_0x1ab010(0x164)][_0x1ab010(0x157)],_0x327590['dom'][_0x1ab010(0x156)]),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x26e)]=document[_0x1ab010(0x145)](_0x1ab010(0x205)),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x26b)]=document[_0x1ab010(0x145)]('tm-close-btn-fusion'),_0x327590[_0x1ab010(0x164)][_0x1ab010(0x194)]=document[_0x1ab010(0x145)](_0x1ab010(0x171)),this[_0x1ab010(0x1aa)](),this[_0x1ab010(0x27d)]();},'createElement':(_0x4ecab0,_0x3257e8)=>Object[_0x4755c1(0x1f2)](document[_0x4755c1(0x1a8)](_0x4ecab0),_0x3257e8),'injectStyle'(){const _0x4d5ec2=_0x4755c1;GM_addStyle(_0x4d5ec2(0x217));},'initDraggableIcon'(){const _0x126bc3=_0x4755c1;let _0x2aca24=![],_0x5d5d75=![],_0x1f02ab,_0x470753;const _0x1773d4=_0x327590[_0x126bc3(0x164)][_0x126bc3(0x2ab)],_0x306e05=GM_getValue(_0x39b206[_0x126bc3(0x151)],{'left':_0x126bc3(0x1a3),'top':_0x126bc3(0x1bb)});Object[_0x126bc3(0x1f2)](_0x1773d4['style'],_0x306e05);const _0x2c3034=_0x1ba672=>{const _0x417b90=_0x126bc3;if(!_0x2aca24)return;_0x5d5d75=!![];let _0xfdd377=_0x1ba672[_0x417b90(0x1ba)]-_0x1f02ab,_0x40c9a9=_0x1ba672[_0x417b90(0x206)]-_0x470753;_0xfdd377=Math[_0x417b90(0x287)](0x0,Math[_0x417b90(0x1d1)](_0xfdd377,window['innerWidth']-_0x1773d4[_0x417b90(0x2ad)])),_0x40c9a9=Math['max'](0x0,Math[_0x417b90(0x1d1)](_0x40c9a9,window['innerHeight']-_0x1773d4[_0x417b90(0x1f3)])),Object['assign'](_0x1773d4[_0x417b90(0x293)],{'left':_0xfdd377+'px','top':_0x40c9a9+'px'});},_0x3c4d5c=()=>{const _0x3d8208=_0x126bc3;if(!_0x2aca24)return;_0x2aca24=![],document[_0x3d8208(0x254)][_0x3d8208(0x293)][_0x3d8208(0x1c6)]='',_0x1773d4[_0x3d8208(0x293)]['cursor']=_0x3d8208(0x1a1),_0x1773d4[_0x3d8208(0x293)][_0x3d8208(0x299)]='',_0x5d5d75&&GM_setValue(_0x39b206[_0x3d8208(0x151)],{'left':_0x1773d4[_0x3d8208(0x293)][_0x3d8208(0x23e)],'top':_0x1773d4[_0x3d8208(0x293)][_0x3d8208(0x2c3)]}),window[_0x3d8208(0x23b)]('mousemove',_0x2c3034,!![]),window[_0x3d8208(0x23b)](_0x3d8208(0x200),_0x3c4d5c,!![]),window['removeEventListener'](_0x3d8208(0x1d0),_0x3c4d5c,!![]);},_0x116b66=_0xce8f36=>{const _0x4ff97e=_0x126bc3;_0xce8f36[_0x4ff97e(0x1fd)]();if(_0xce8f36[_0x4ff97e(0x1c9)]!==0x0)return;_0x5d5d75=![],_0x2aca24=!![],document[_0x4ff97e(0x254)]['style']['userSelect']=_0x4ff97e(0x1ee),_0x1773d4[_0x4ff97e(0x293)]['cursor']=_0x4ff97e(0x1ac),_0x1773d4[_0x4ff97e(0x293)][_0x4ff97e(0x299)]=_0x4ff97e(0x1ee),_0x1f02ab=_0xce8f36['clientX']-_0x1773d4[_0x4ff97e(0x17f)]()[_0x4ff97e(0x23e)],_0x470753=_0xce8f36[_0x4ff97e(0x206)]-_0x1773d4['getBoundingClientRect']()[_0x4ff97e(0x2c3)],window[_0x4ff97e(0x2a1)](_0x4ff97e(0x1e6),_0x2c3034,!![]),window[_0x4ff97e(0x2a1)](_0x4ff97e(0x200),_0x3c4d5c,!![]),window[_0x4ff97e(0x2a1)](_0x4ff97e(0x1d0),_0x3c4d5c,!![]);};_0x1773d4[_0x126bc3(0x2a1)](_0x126bc3(0x166),_0x116b66),_0x327590[_0x126bc3(0x164)][_0x126bc3(0x157)][_0x126bc3(0x1a9)]=_0x51e48f=>{const _0x465fe1=_0x126bc3;if(_0x5d5d75){_0x51e48f[_0x465fe1(0x1fd)]();return;}_0x51e48f[_0x465fe1(0x1fd)]();if(_0x327590[_0x465fe1(0x27c)])this[_0x465fe1(0x22c)]();else{const _0x4749a9=location[_0x465fe1(0x22d)];_0x327590[_0x465fe1(0x160)][_0x465fe1(0x2ae)]===_0x4749a9&&_0x327590[_0x465fe1(0x160)]['results'][_0x465fe1(0x203)]>0x0?(this[_0x465fe1(0x1e0)](),this[_0x465fe1(0x17b)]()):(this[_0x465fe1(0x1e0)](),_0x3b1e51[_0x465fe1(0x184)]());}};},'attachEventListeners'(){const _0x3c59df=_0x4755c1;_0x327590[_0x3c59df(0x164)]['closeBtn']['onclick']=()=>_0xa58952[_0x3c59df(0x1b4)](),_0x327590[_0x3c59df(0x164)][_0x3c59df(0x156)][_0x3c59df(0x29b)]=()=>{const _0x1db061=_0x3c59df;this[_0x1db061(0x249)](_0x1db061(0x2c1));},_0x327590[_0x3c59df(0x164)][_0x3c59df(0x156)][_0x3c59df(0x16c)]=()=>{const _0x1c4e52=_0x3c59df;_0x327590[_0x1c4e52(0x208)][_0x1c4e52(0x2c1)]=setTimeout(()=>this[_0x1c4e52(0x22c)](),_0x39b206[_0x1c4e52(0x27b)]);},window[_0x3c59df(0x2a1)](_0x3c59df(0x1c0),()=>{const _0xe01ee8=_0x3c59df;this[_0xe01ee8(0x249)](_0xe01ee8(0x1c0)),_0x327590['timers'][_0xe01ee8(0x1c0)]=setTimeout(()=>_0xa58952[_0xe01ee8(0x1c5)](),0x64);}),window[_0x3c59df(0x2a1)](_0x3c59df(0x15e),_0x26c03b=>_0xa58952[_0x3c59df(0x2b3)](_0x26c03b));},'renderInitialPanel'(){const _0x4c23e2=_0x4755c1;_0x327590[_0x4c23e2(0x164)]['panel'][_0x4c23e2(0x293)][_0x4c23e2(0x1b3)]='',_0x327590[_0x4c23e2(0x164)][_0x4c23e2(0x156)][_0x4c23e2(0x280)]=_0x4c23e2(0x264);},'addSourceResult'(_0x44cfae){const _0x2c4a77=_0x4755c1,_0x4d7d10=_0x327590['dom'][_0x2c4a77(0x156)][_0x2c4a77(0x2c4)](_0x2c4a77(0x1f8));if(!_0x4d7d10||!_0x327590['isPanelOpen']||!_0x4d7d10[_0x2c4a77(0x1da)]['contains'](_0x2c4a77(0x1ff)))return;_0x327590[_0x2c4a77(0x164)]['panel'][_0x2c4a77(0x293)]['flexDirection']='',_0x327590[_0x2c4a77(0x164)][_0x2c4a77(0x156)]['style'][_0x2c4a77(0x263)]='',_0x327590[_0x2c4a77(0x164)][_0x2c4a77(0x156)]['style'][_0x2c4a77(0x2b7)]='',_0x327590[_0x2c4a77(0x164)][_0x2c4a77(0x156)][_0x2c4a77(0x293)][_0x2c4a77(0x195)]='',_0x327590[_0x2c4a77(0x164)][_0x2c4a77(0x156)][_0x2c4a77(0x293)][_0x2c4a77(0x1b3)]='',_0x327590[_0x2c4a77(0x164)][_0x2c4a77(0x156)][_0x2c4a77(0x293)][_0x2c4a77(0x272)]='',_0x327590[_0x2c4a77(0x164)][_0x2c4a77(0x156)][_0x2c4a77(0x293)][_0x2c4a77(0x2c3)]='',_0x327590[_0x2c4a77(0x164)]['panel'][_0x2c4a77(0x293)][_0x2c4a77(0x1ae)]='',_0x4d7d10['style'][_0x2c4a77(0x219)]='';const _0x386697=Array[_0x2c4a77(0x152)](_0x4d7d10[_0x2c4a77(0x14a)])[_0x2c4a77(0x2a7)](_0x337480=>_0x337480[_0x2c4a77(0x2a4)][_0x2c4a77(0x20a)]===_0x44cfae[_0x2c4a77(0x20a)]);_0x386697&&_0x386697[_0x2c4a77(0x21a)]();const _0x18735e=_0x44cfae[_0x2c4a77(0x28b)][_0x2c4a77(0x27e)][_0x2c4a77(0x275)](_0x2c4a77(0x235))['pop']()[_0x2c4a77(0x275)]('#')[_0x2c4a77(0x203)],_0x3251d4=_0x1359d4[_0x2c4a77(0x1a8)](_0x2c4a77(0x1c9),{'textContent':_0x44cfae[_0x2c4a77(0x20a)]+'\x20('+_0x18735e+_0x2c4a77(0x2b8)+_0x44cfae[_0x2c4a77(0x22f)][_0x2c4a77(0x1b2)](0x0)+')','className':_0x2c4a77(0x1e7),'onclick':()=>{const _0x5cd0c9=_0x2c4a77;_0x327590[_0x5cd0c9(0x16e)]=_0x44cfae[_0x5cd0c9(0x20a)],this['renderEpisodeList'](_0x44cfae,![],_0x327590[_0x5cd0c9(0x186)]);}});_0x3251d4[_0x2c4a77(0x2a4)][_0x2c4a77(0x20a)]=_0x44cfae[_0x2c4a77(0x20a)];_0x44cfae[_0x2c4a77(0x20a)]===_0x327590[_0x2c4a77(0x16e)]&&_0x3251d4[_0x2c4a77(0x1da)][_0x2c4a77(0x20e)](_0x2c4a77(0x1e8));_0x4d7d10[_0x2c4a77(0x14b)](_0x3251d4);const _0x2a7242=Array[_0x2c4a77(0x152)](_0x4d7d10[_0x2c4a77(0x14a)]);_0x2a7242[_0x2c4a77(0x20b)]((_0x14fef2,_0xc8f7cd)=>{const _0x35be55=_0x2c4a77,_0x24c5bf=_0x327590[_0x35be55(0x160)]['results'][_0x35be55(0x2a7)](_0x154a7a=>_0x154a7a['name']===_0x14fef2[_0x35be55(0x2a4)][_0x35be55(0x20a)])?.[_0x35be55(0x22f)]||0x0,_0x107b7a=_0x327590[_0x35be55(0x160)]['results'][_0x35be55(0x2a7)](_0x5d35eb=>_0x5d35eb[_0x35be55(0x20a)]===_0xc8f7cd[_0x35be55(0x2a4)]['name'])?.['score']||0x0;return _0x107b7a-_0x24c5bf;}),_0x2a7242[_0x2c4a77(0x238)](_0x269d0c=>_0x4d7d10['appendChild'](_0x269d0c));},'renderSourceListFromCache'(){const _0x132182=_0x4755c1;this[_0x132182(0x185)](),_0x327590[_0x132182(0x164)]['panel'][_0x132182(0x293)][_0x132182(0x1b3)]='';const _0x36f927=_0x47b681['getStats'](),_0x434d99=_0x36f927[_0x132182(0x288)]+_0x36f927[_0x132182(0x1b7)]>0x0?(_0x36f927[_0x132182(0x288)]/(_0x36f927[_0x132182(0x288)]+_0x36f927['misses'])*0x64)[_0x132182(0x1b2)](0x0):0x0;this[_0x132182(0x176)]('共\x20'+_0x327590[_0x132182(0x160)][_0x132182(0x16f)][_0x132182(0x203)]+_0x132182(0x241)+_0x434d99+'%)',![]);const _0x5316e7=_0x327590['dom'][_0x132182(0x156)][_0x132182(0x2c4)](_0x132182(0x1f8));_0x5316e7[_0x132182(0x280)]='',_0x327590[_0x132182(0x160)][_0x132182(0x16f)][_0x132182(0x238)](_0x529cba=>this['addSourceResult'](_0x529cba));if(_0x5316e7)this['autoResizePanel'](_0x5316e7,!![]);},'renderEpisodeList'(_0x553fee,_0xeccc04=![],_0x374c1f=null){const _0xed953f=_0x4755c1;if(_0x327590[_0xed953f(0x21c)])return;_0x1359d4['clearAllTimers']();const _0x153083=_0x327590[_0xed953f(0x164)][_0xed953f(0x156)][_0xed953f(0x2c4)](_0xed953f(0x1f8));if(!_0x153083)return;_0x153083[_0xed953f(0x280)]='',_0x327590['dom'][_0xed953f(0x156)][_0xed953f(0x293)][_0xed953f(0x1b3)]='',_0x153083['className']=_0xed953f(0x1fb),this[_0xed953f(0x176)]('‹\x20返回源列表',![]);const _0x223695=_0x327590['dom'][_0xed953f(0x156)][_0xed953f(0x2c4)]('#tm-status-bar');_0x223695[_0xed953f(0x293)][_0xed953f(0x1c3)]=_0xed953f(0x2c5),_0x223695[_0xed953f(0x1a9)]=()=>this[_0xed953f(0x17b)](),_0x327590[_0xed953f(0x162)]=[];const _0x461317=_0x553fee[_0xed953f(0x28b)][_0xed953f(0x27e)]['split']('$$$')[_0xed953f(0x215)]()[_0xed953f(0x275)]('#');_0x461317['forEach'](_0x57d3d3=>{const _0x2aeeaf=_0xed953f,[_0x484aca,_0x19de56]=_0x57d3d3[_0x2aeeaf(0x275)]('$');if(!_0x484aca||!_0x19de56)return;_0x327590[_0x2aeeaf(0x162)][_0x2aeeaf(0x18a)]({'name':_0x484aca,'url':_0x19de56});const _0x4e93d5=_0x1359d4[_0x2aeeaf(0x1a8)](_0x2aeeaf(0x1c9),{'textContent':_0x484aca,'className':_0x2aeeaf(0x1e7),'onclick':()=>{const _0x575ec6=_0x2aeeaf,_0x316e1f=_0x1427c4[_0x575ec6(0x294)](_0x484aca);_0x316e1f&&(_0x327590['currentPageEpisodeNumber']=_0x316e1f),_0xa58952['start'](_0x19de56);}});_0x4e93d5[_0x2aeeaf(0x2a4)]['url']=_0x19de56,_0x153083[_0x2aeeaf(0x14b)](_0x4e93d5);}),this[_0xed953f(0x1ca)](_0x153083,![]);if(!_0x374c1f)return;;let _0x576f4c=null;const _0x5e232b=_0x153083[_0xed953f(0x1b6)](_0xed953f(0x29a));for(const _0x47c69e of _0x5e232b){const _0x59bf5c=_0x1427c4[_0xed953f(0x294)](_0x47c69e[_0xed953f(0x214)]);if(_0x59bf5c&&parseInt(_0x374c1f,0xa)===parseInt(_0x59bf5c,0xa)){_0x576f4c=_0x47c69e;break;}}_0x576f4c&&(_0x576f4c['classList']['add'](_0xed953f(0x283)),setTimeout(()=>_0x576f4c['scrollIntoView']({'behavior':'smooth','block':'center'}),0x64),_0xeccc04?(this[_0xed953f(0x176)](_0xed953f(0x19a)+_0x576f4c['textContent']),_0xa58952[_0xed953f(0x223)](_0x576f4c[_0xed953f(0x2a4)]['url'])):this[_0xed953f(0x176)](_0xed953f(0x1a2)+_0x576f4c[_0xed953f(0x214)]));},'updateStatus'(_0x4544e1,_0x352f73=![]){const _0x4d22d2=_0x4755c1,_0x5e25bc=_0x327590[_0x4d22d2(0x164)]['panel'][_0x4d22d2(0x2c4)](_0x4d22d2(0x20d));_0x5e25bc&&(_0x5e25bc['textContent']=_0x4544e1,_0x5e25bc[_0x4d22d2(0x293)][_0x4d22d2(0x1b1)]=_0x352f73?_0x4d22d2(0x245):_0x4d22d2(0x273),_0x5e25bc['style'][_0x4d22d2(0x21b)]=_0x352f73?_0x4d22d2(0x1c1):_0x4d22d2(0x236),_0x5e25bc[_0x4d22d2(0x293)][_0x4d22d2(0x1c3)]=_0x4d22d2(0x218));},'updatePlayerStatus'(_0x4c25e8,_0x1effc7=!![]){const _0xfed15f=_0x4755c1;_0x1effc7&&_0x4c25e8?(_0x327590[_0xfed15f(0x164)]['playerStatus'][_0xfed15f(0x214)]=_0x4c25e8,_0x327590[_0xfed15f(0x164)][_0xfed15f(0x2be)]['style'][_0xfed15f(0x219)]='block',setTimeout(()=>_0x327590['dom'][_0xfed15f(0x2be)][_0xfed15f(0x293)][_0xfed15f(0x252)]='1',0xa)):(_0x327590['dom']['globalStatus'][_0xfed15f(0x293)][_0xfed15f(0x252)]='0',setTimeout(()=>{const _0x453870=_0xfed15f;_0x327590[_0x453870(0x164)][_0x453870(0x2be)]['style'][_0x453870(0x252)]==='0'&&(_0x327590['dom'][_0x453870(0x2be)]['style'][_0x453870(0x219)]=_0x453870(0x1ee));},0x12c));},'highlightPlayingEpisode'(_0x326764){const _0x279b35=_0x4755c1,_0x2afef7=_0x327590[_0x279b35(0x164)][_0x279b35(0x156)][_0x279b35(0x2c4)](_0x279b35(0x1f8));if(!_0x2afef7)return;_0x2afef7[_0x279b35(0x1b6)](_0x279b35(0x1e1))['forEach'](_0x4f6ec2=>_0x4f6ec2[_0x279b35(0x1da)][_0x279b35(0x21a)](_0x279b35(0x283)));const _0x2a2f3c=_0x2afef7[_0x279b35(0x2c4)]('.tm-collection-btn[data-url=\x22'+_0x326764+'\x22]');_0x2a2f3c&&(_0x2a2f3c[_0x279b35(0x1da)][_0x279b35(0x20e)]('tm-episode-matched'),_0x2a2f3c[_0x279b35(0x247)]({'behavior':'smooth','block':_0x279b35(0x17a)}));},'autoResizePanel'(_0x57bd31,_0x5891b9){const _0x11202c=_0x4755c1;if(_0x5891b9){_0x327590[_0x11202c(0x164)][_0x11202c(0x156)]['style'][_0x11202c(0x1b3)]='';return;}setTimeout(()=>{const _0x2692ec=_0x11202c;if(!_0x327590[_0x2692ec(0x27c)])return;const _0x48bb23=_0x57bd31['querySelectorAll']('.tm-collection-btn');if(!_0x48bb23['length'])return;let _0x5b0e2a=0x0;for(let _0x271bf9=0x0;_0x271bf9<_0x48bb23['length'];_0x271bf9+=0x2){const _0x4570c9=(_0x48bb23[_0x271bf9]?.['scrollWidth']||0x0)+(_0x48bb23[_0x271bf9+0x1]?.[_0x2692ec(0x285)]||0x0)+0x4;if(_0x4570c9>_0x5b0e2a)_0x5b0e2a=_0x4570c9;}_0x327590[_0x2692ec(0x164)][_0x2692ec(0x156)]['style'][_0x2692ec(0x1b3)]=_0x5b0e2a+0xe+'px';},0xa);},'toggleLoading'(_0x19c910){const _0x558dc3=_0x4755c1;_0x327590[_0x558dc3(0x164)][_0x558dc3(0x157)][_0x558dc3(0x1da)][_0x558dc3(0x17e)](_0x558dc3(0x1de),_0x19c910);},'showPanel'(){const _0x12da37=_0x4755c1;_0x327590[_0x12da37(0x164)][_0x12da37(0x156)][_0x12da37(0x293)][_0x12da37(0x219)]='flex',_0x327590[_0x12da37(0x27c)]=!![];},'hidePanel'(){const _0xb2182e=_0x4755c1;_0x327590[_0xb2182e(0x164)][_0xb2182e(0x156)][_0xb2182e(0x293)][_0xb2182e(0x219)]='none',_0x327590[_0xb2182e(0x27c)]=![],this['clearAllTimers']();},'clearTimer'(_0x261018){const _0x6c0417=_0x4755c1;clearInterval(_0x327590[_0x6c0417(0x208)][_0x261018]),clearTimeout(_0x327590[_0x6c0417(0x208)][_0x261018]),_0x327590['timers'][_0x261018]=null;},'clearAllTimers'(){const _0x133996=_0x4755c1;Object[_0x133996(0x23a)](_0x327590[_0x133996(0x208)])[_0x133996(0x238)](_0x4ce506=>this[_0x133996(0x249)](_0x4ce506));}},_0x3b1e51={async 'masterSearch'(){const _0x427c38=_0x4755c1;_0x1359d4['clearAllTimers'](),_0x1359d4[_0x427c38(0x185)](),_0x1359d4[_0x427c38(0x24f)](!![]),Object['assign'](_0x327590['dom']['panel'][_0x427c38(0x293)],{'flexDirection':_0x427c38(0x29c),'alignItems':_0x427c38(0x17a),'justifyContent':_0x427c38(0x17a),'padding':_0x427c38(0x2b5),'width':_0x427c38(0x15f),'whiteSpace':'nowrap','top':_0x427c38(0x169),'transform':_0x427c38(0x250)}),_0x327590[_0x427c38(0x164)][_0x427c38(0x156)][_0x427c38(0x2c4)](_0x427c38(0x1f8))['style']['display']=_0x427c38(0x1ee),_0x1359d4[_0x427c38(0x176)](_0x427c38(0x298)+_0x304ac3[_0x427c38(0x203)]+')');const _0x7e156d=_0x1427c4[_0x427c38(0x19b)]();if(!_0x7e156d){_0x1359d4['updateStatus'](_0x427c38(0x154),!![]),_0x1359d4[_0x427c38(0x24f)](![]);return;}const _0x22e48d=await _0x1427c4['getCurrentEpisodeNumber'](),_0x50c448=_0x7e156d+'_'+(_0x22e48d||_0x427c38(0x1af)),_0x5dedae=_0x47b681[_0x427c38(0x2aa)](_0x50c448);if(_0x5dedae){_0x327590[_0x427c38(0x160)]={'key':location[_0x427c38(0x22d)],'results':_0x5dedae},_0x1359d4[_0x427c38(0x24f)](![]),this[_0x427c38(0x22a)](_0x22e48d),_0x1359d4['renderSourceListFromCache']();return;}_0x327590[_0x427c38(0x160)]={'key':location[_0x427c38(0x22d)],'results':[]},_0x327590['activeSourceName']=null,_0x327590[_0x427c38(0x2bb)]=![],_0x327590['failedUrls'][_0x427c38(0x2a5)](),_0x327590[_0x427c38(0x21c)]=![];const _0x2ca8f5=Date[_0x427c38(0x173)]();_0x327590[_0x427c38(0x25e)]=_0x2ca8f5,console['log'](_0x427c38(0x1f0),_0x22e48d),_0x327590['currentPageEpisodeNumber']=_0x22e48d;if(_0x327590['isUserClosed']||_0x327590[_0x427c38(0x25e)]!==_0x2ca8f5)return;this[_0x427c38(0x265)](_0x7e156d,_0x22e48d,_0x2ca8f5)[_0x427c38(0x290)](()=>{const _0x23f8a4=_0x427c38;_0x327590[_0x23f8a4(0x25e)]===_0x2ca8f5&&(_0x1359d4[_0x23f8a4(0x24f)](![]),_0x327590[_0x23f8a4(0x160)][_0x23f8a4(0x16f)][_0x23f8a4(0x203)]>0x0&&_0x47b681['set'](_0x50c448,_0x327590[_0x23f8a4(0x160)][_0x23f8a4(0x16f)]),this['smartAutoPlay'](_0x22e48d));});},'smartAutoPlay'(_0x5856e4){const _0x215ef0=_0x4755c1;if(_0x327590['sessionCache'][_0x215ef0(0x16f)][_0x215ef0(0x203)]>0x0&&_0x39b206[_0x215ef0(0x167)]&&!_0x327590[_0x215ef0(0x2bb)]&&!_0x327590[_0x215ef0(0x21c)]){let _0x20f253=null;_0x5856e4&&(_0x20f253=_0x327590[_0x215ef0(0x160)][_0x215ef0(0x16f)][_0x215ef0(0x2a7)](_0x4f081a=>{const _0x228ecb=_0x215ef0,_0x161968=_0x4f081a[_0x228ecb(0x28b)][_0x228ecb(0x27e)][_0x228ecb(0x275)]('$$$')[_0x228ecb(0x215)]()[_0x228ecb(0x275)]('#');return _0x161968[_0x228ecb(0x14d)](_0x3c8bc1=>{const _0x24160e=_0x228ecb,_0x3bead8=_0x1427c4[_0x24160e(0x294)](_0x3c8bc1[_0x24160e(0x275)]('$')[0x0]);return _0x3bead8&&parseInt(_0x3bead8,0xa)===parseInt(_0x5856e4,0xa);});})),!_0x20f253&&_0x327590[_0x215ef0(0x160)][_0x215ef0(0x16f)][_0x215ef0(0x203)]>0x0&&(_0x20f253=_0x327590[_0x215ef0(0x160)][_0x215ef0(0x16f)][0x0]),_0x20f253?(_0x327590['isFirstAutoplayAttempted']=!![],_0x327590[_0x215ef0(0x16e)]=_0x20f253[_0x215ef0(0x20a)],_0x1359d4[_0x215ef0(0x1d6)](_0x20f253,!![],_0x5856e4)):_0x1359d4['updateStatus']('请选择播放源',![]);}else{if(_0x327590[_0x215ef0(0x160)]['results'][_0x215ef0(0x203)]===0x0)_0x1359d4[_0x215ef0(0x176)]('未找到可用资源',!![]);else!_0x327590[_0x215ef0(0x21c)]&&_0x1359d4[_0x215ef0(0x176)]('搜索完成,请选择',![]);}const _0x167222=_0x327590[_0x215ef0(0x164)][_0x215ef0(0x156)]['querySelector'](_0x215ef0(0x1f8));_0x167222&&_0x1359d4[_0x215ef0(0x1ca)](_0x167222,!![]);},async 'performApiSearch'(_0x4eaf2f,_0x5632ec,_0x5c9f0d){const _0x21cc50=_0x4755c1;let _0xf9aeea=0x0;const _0x21f9d3=async _0x143b8a=>{const _0xafa842=_0x595d;if(_0x327590[_0xafa842(0x21c)]||_0x327590['currentSearchId']!==_0x5c9f0d)return;const _0x4db231=await this[_0xafa842(0x295)](_0x143b8a,_0x4eaf2f);_0xf9aeea++;if(_0x327590[_0xafa842(0x27c)])_0x1359d4[_0xafa842(0x176)]('评估资源...\x20('+_0xf9aeea+'/'+_0x304ac3[_0xafa842(0x203)]+')');if(!_0x4db231){_0x2fd2df[_0xafa842(0x190)](_0x143b8a['name']);return;}_0x2fd2df['recordSuccess'](_0x143b8a['name'],_0x4db231[_0xafa842(0x1c8)]);if(_0x327590[_0xafa842(0x21c)]||_0x327590['currentSearchId']!==_0x5c9f0d)return;const _0x10f3b9=_0x4db231[_0xafa842(0x28b)][_0xafa842(0x27e)]['split'](_0xafa842(0x235))['pop']()['split']('#');let _0x5c96be=null;const _0x4c9012=_0x10f3b9['find'](_0x2722b3=>{const _0x165e7d=_0xafa842,[_0x5b5b4e]=_0x2722b3[_0x165e7d(0x275)]('$'),_0x40a2cb=_0x1427c4[_0x165e7d(0x294)](_0x5b5b4e);return _0x5632ec&&_0x40a2cb&&parseInt(_0x40a2cb,0xa)===parseInt(_0x5632ec,0xa);});if(_0x4c9012)_0x5c96be=_0x4c9012[_0xafa842(0x275)]('$')[0x1];else _0x10f3b9[_0xafa842(0x203)]>0x0&&_0x10f3b9[0x0][_0xafa842(0x29f)]('$')&&(_0x5c96be=_0x10f3b9[0x0][_0xafa842(0x275)]('$')[0x1]);if(!_0x5c96be||!_0x5c96be[_0xafa842(0x29f)](_0xafa842(0x188)))return;const _0x1ede5d=await _0x1427c4[_0xafa842(0x18e)](_0x5c96be);if(!_0x1ede5d)return;const _0x370adb={..._0x4db231,..._0x1ede5d};_0x39b206[_0xafa842(0x167)]&&!_0x327590[_0xafa842(0x2bb)]&&_0x370adb[_0xafa842(0x22f)]>=0x4b&&_0x4c9012&&(_0x327590[_0xafa842(0x2bb)]=!![],_0x327590[_0xafa842(0x16e)]=_0x370adb[_0xafa842(0x20a)],_0x1359d4[_0xafa842(0x1d6)](_0x370adb,!![],_0x327590[_0xafa842(0x186)]));const _0x23203b=_0x327590['sessionCache'][_0xafa842(0x16f)][_0xafa842(0x1c7)](_0x222da9=>_0x222da9[_0xafa842(0x20a)]===_0x370adb[_0xafa842(0x20a)]);_0x23203b>-0x1?_0x327590[_0xafa842(0x160)][_0xafa842(0x16f)][_0x23203b]=_0x370adb:_0x327590[_0xafa842(0x160)][_0xafa842(0x16f)]['push'](_0x370adb),_0x327590[_0xafa842(0x160)]['results'][_0xafa842(0x20b)]((_0x53d469,_0xe744ff)=>_0xe744ff[_0xafa842(0x22f)]-_0x53d469[_0xafa842(0x22f)]),_0x1359d4[_0xafa842(0x220)](_0x370adb);};await _0x1427c4['asyncPool'](_0x39b206[_0x21cc50(0x150)],_0x304ac3,_0x21f9d3);},'searchSingleApi':(_0x5d68ba,_0x30dde1)=>new Promise(async _0xe41032=>{const _0x14bc81=_0x4755c1;try{const _0x1b6f32=await _0x1427c4[_0x14bc81(0x192)](_0x14bc81(0x1b5)+encodeURIComponent(_0x30dde1),_0x5d68ba);if(_0x1b6f32['data']?.['list']?.[0x0]?.[_0x14bc81(0x27e)]){_0xe41032({'name':_0x5d68ba[_0x14bc81(0x20a)],'data':_0x1b6f32['data'][_0x14bc81(0x1ce)][0x0],'latency':_0x1b6f32[_0x14bc81(0x1c8)]});return;}const _0xbfd82f=await _0x1427c4[_0x14bc81(0x192)](_0x14bc81(0x2b4)+encodeURIComponent(_0x30dde1),_0x5d68ba),_0x207584=_0xbfd82f[_0x14bc81(0x28b)]?.['list']?.[0x0]?.[_0x14bc81(0x2bf)];if(!_0x207584)return _0xe41032(null);const _0x1f6039=await _0x1427c4[_0x14bc81(0x192)]('ac=detail&ids='+_0x207584,_0x5d68ba),_0x4a54d1=_0x1f6039[_0x14bc81(0x28b)]?.[_0x14bc81(0x1ce)]?.[0x0];if(!_0x4a54d1?.[_0x14bc81(0x27e)])return _0xe41032(null);_0xe41032({'name':_0x5d68ba[_0x14bc81(0x20a)],'data':_0x4a54d1,'latency':_0xbfd82f[_0x14bc81(0x1c8)]+_0x1f6039[_0x14bc81(0x1c8)]});}catch(_0x35034e){_0xe41032(null);}})},_0xa58952={'initPlacement'(){const _0x77d372=_0x4755c1;if(_0x327590['isUserClosed'])return;const _0x2203b4=_0x77d372(0x251);_0x327590[_0x77d372(0x164)][_0x77d372(0x26e)][_0x77d372(0x230)]=_0x2203b4,this[_0x77d372(0x159)](0x0);},'findAndPositionOverlay'(_0x55d2b7){const _0x216560=_0x4755c1;if(_0x327590[_0x216560(0x21c)])return;let _0x4e9aa2=null;!_0x327590[_0x216560(0x25d)]&&(_0x327590[_0x216560(0x25d)]=_0x1427c4[_0x216560(0x1e2)]());if(!_0x327590[_0x216560(0x25d)]){const _0x37ec3a=document[_0x216560(0x2c4)](_0x216560(0x1bf));if(_0x37ec3a){let _0x4b3d56=_0x37ec3a['parentElement'];while(_0x4b3d56&&_0x4b3d56[_0x216560(0x2c0)]!==_0x216560(0x1dc)&&_0x4b3d56[_0x216560(0x1f3)]<0x12c){_0x4b3d56=_0x4b3d56[_0x216560(0x16a)];}_0x4b3d56&&_0x4b3d56[_0x216560(0x1f3)]>=0x12c&&(_0x327590[_0x216560(0x25d)]=_0x4b3d56,_0x327590[_0x216560(0x25d)][_0x216560(0x293)][_0x216560(0x252)]='0');}}if(_0x327590[_0x216560(0x25d)])try{_0x4e9aa2=_0x327590[_0x216560(0x25d)]['getBoundingClientRect']();}catch(_0x5cde1c){}if(_0x4e9aa2&&_0x4e9aa2[_0x216560(0x1b3)]>0xc8&&_0x4e9aa2[_0x216560(0x196)]>0x64)Object[_0x216560(0x1f2)](_0x327590[_0x216560(0x164)][_0x216560(0x204)][_0x216560(0x293)],{'position':_0x216560(0x256),'top':_0x4e9aa2[_0x216560(0x2c3)]+window[_0x216560(0x24d)]+'px','left':_0x4e9aa2[_0x216560(0x23e)]+'px','width':_0x4e9aa2[_0x216560(0x1b3)]+'px','height':_0x4e9aa2[_0x216560(0x196)]+'px','display':'block','zIndex':_0x216560(0x1d4),'transform':_0x216560(0x1ee)});else{if(_0x327590[_0x216560(0x21d)]&&_0x55d2b7>0xa){console[_0x216560(0x257)](_0x216560(0x228)),Object[_0x216560(0x1f2)](_0x327590[_0x216560(0x164)][_0x216560(0x204)][_0x216560(0x293)],{'position':_0x216560(0x189),'top':_0x216560(0x169),'left':'50%','width':'80%','height':_0x216560(0x279),'transform':_0x216560(0x28c),'display':_0x216560(0x187),'zIndex':'2147483646','boxShadow':_0x216560(0x258)});if(_0x55d2b7<0x32)setTimeout(()=>this['findAndPositionOverlay'](_0x55d2b7+0x1),0x1f4);}else _0x55d2b7<=0x14&&setTimeout(()=>this[_0x216560(0x159)](_0x55d2b7+0x1),0xc8);}},async 'start'(_0x371fb){const _0x56e273=_0x4755c1;if(_0x327590[_0x56e273(0x21c)])return;_0x1359d4[_0x56e273(0x146)](),_0x1359d4[_0x56e273(0x22c)](),_0x327590['currentPlayingUrl']=_0x371fb,_0x1359d4['highlightPlayingEpisode'](_0x371fb),_0x327590[_0x56e273(0x16d)]=!![],this[_0x56e273(0x2a3)](),this[_0x56e273(0x159)](0x0),_0x327590[_0x56e273(0x164)][_0x56e273(0x204)][_0x56e273(0x293)]['display']=_0x56e273(0x187),this[_0x56e273(0x271)](_0x371fb);},'attemptToPlay'(_0x3e6102){const _0x260225=_0x4755c1;if(_0x327590['isUserClosed'])return;_0x1359d4[_0x260225(0x249)]('stuck'),_0x1359d4[_0x260225(0x243)]('正在建立安全连接...');const _0x3c30d7=this[_0x260225(0x284)](_0x3e6102);_0x327590[_0x260225(0x164)][_0x260225(0x26e)]['srcdoc']=_0x3c30d7,_0x327590['dom'][_0x260225(0x26e)][_0x260225(0x1ea)]=()=>{const _0x59c82e=_0x260225;if(_0x327590[_0x59c82e(0x21c)])return;_0x327590['timers']['stuck']=setTimeout(()=>{const _0x18f8a1=_0x59c82e;this[_0x18f8a1(0x276)]();},_0x39b206[_0x59c82e(0x163)]),setTimeout(()=>this[_0x59c82e(0x1c5)](),0x1f4);};},'checkStuckStatus'(){const _0x10f774=_0x4755c1;if(_0x327590[_0x10f774(0x21c)])return;_0x327590[_0x10f774(0x164)][_0x10f774(0x26e)]&&_0x327590['dom'][_0x10f774(0x26e)][_0x10f774(0x1e5)]&&_0x327590['dom']['iframePlayer'][_0x10f774(0x1e5)][_0x10f774(0x224)]({'type':_0x39b206['MESSAGES'][_0x10f774(0x28d)]},'*');},'autoSwitchSource'(){const _0x45a241=_0x4755c1;_0x327590[_0x45a241(0x198)][_0x45a241(0x20e)](_0x327590[_0x45a241(0x21d)]);const _0x1813d5=parseInt(_0x327590[_0x45a241(0x186)],0xa);if(isNaN(_0x1813d5)){_0x1359d4[_0x45a241(0x243)](_0x45a241(0x1ad),!![]);return;}let _0x5be9e4=null;for(const _0x509fab of _0x327590[_0x45a241(0x160)][_0x45a241(0x16f)]){if(_0x509fab[_0x45a241(0x20a)]===_0x327590[_0x45a241(0x16e)])continue;if(!_0x509fab['data']||!_0x509fab[_0x45a241(0x28b)][_0x45a241(0x27e)])continue;const _0x5248b8=_0x509fab[_0x45a241(0x28b)]['vod_play_url'][_0x45a241(0x275)](_0x45a241(0x235))[_0x45a241(0x215)]()[_0x45a241(0x275)]('#'),_0x2f0a15=_0x5248b8['find'](_0x588b34=>{const _0x52c9ad=_0x45a241,[_0x2ba572,_0x1b70bb]=_0x588b34[_0x52c9ad(0x275)]('$'),_0x5706b5=_0x1427c4[_0x52c9ad(0x294)](_0x2ba572);return _0x5706b5&&parseInt(_0x5706b5,0xa)===_0x1813d5&&!_0x327590[_0x52c9ad(0x198)][_0x52c9ad(0x1dd)](_0x1b70bb);});if(_0x2f0a15){_0x5be9e4={'result':_0x509fab,'url':_0x2f0a15[_0x45a241(0x275)]('$')[0x1]};break;}}_0x5be9e4?(_0x327590[_0x45a241(0x16e)]=_0x5be9e4[_0x45a241(0x24e)][_0x45a241(0x20a)],_0x1359d4[_0x45a241(0x1d6)](_0x5be9e4['result'],!![],_0x327590[_0x45a241(0x186)])):_0x1359d4['updatePlayerStatus'](_0x45a241(0x197),!![]);},'createHTML'(_0x10d83d){const _0x5722b3=_0x4755c1,_0x2299dc=_0x10d83d+(_0x10d83d[_0x5722b3(0x29f)]('?')?'&':'?')+(_0x5722b3(0x270)+Date['now']()),_0x4b429c=_0x2299dc[_0x5722b3(0x23d)](/'/g,'\x5c\x27'),_0x2e6ef4=JSON[_0x5722b3(0x253)](_0x39b206[_0x5722b3(0x179)]);return _0x5722b3(0x1e4)+_0x4b429c+_0x5722b3(0x267)+_0x2e6ef4+');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.loadSource(url);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.attachMedia(video);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.on(Hls.Events.ERROR,\x20function\x20(event,\x20data)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(data.fatal)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(data.type\x20===\x20Hls.ErrorTypes.NETWORK_ERROR)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20parent.postMessage({\x20type:\x20\x27'+_0x39b206[_0x5722b3(0x29e)][_0x5722b3(0x1e3)]+'\x27\x20},\x20\x27*\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.destroy();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.recoverMediaError();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.on(\x27destroy\x27,\x20()\x20=>\x20hls.destroy());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20if\x20(video.canPlayType(\x27application/vnd.apple.mpegurl\x27))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20video.src\x20=\x20url;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.notice.show\x20=\x20\x27当前浏览器不支持播放此格式\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.on(\x27video:ended\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20parent.postMessage({\x20type:\x20\x27'+_0x39b206[_0x5722b3(0x29e)][_0x5722b3(0x266)]+'\x27\x20},\x20\x27*\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20successSent\x20=\x20false;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.on(\x27video:timeupdate\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!successSent\x20&&\x20art.video.currentTime\x20>\x200.1)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20successSent\x20=\x20true;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20parent.postMessage({\x20type:\x20\x27'+_0x39b206['MESSAGES']['PLAY_SUCCESS']+'\x27\x20},\x20\x27*\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.on(\x27ready\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.video.style.objectFit\x20=\x20\x27contain\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.play();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.video.style.width\x20=\x20\x27100%\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20art.video.style.height\x20=\x20\x27100%\x27;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20window.addEventListener(\x27message\x27,\x20e\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(e.data?.type\x20===\x20\x27'+_0x39b206[_0x5722b3(0x29e)][_0x5722b3(0x28d)]+'\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20parent.postMessage({\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type:\x20\x27'+_0x39b206[_0x5722b3(0x29e)][_0x5722b3(0x1bd)]+'\x27,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20time:\x20art.video.currentTime\x20||\x200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20},\x20\x27*\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20';},'handleMessage'(_0x344f2e){const _0x296ca8=_0x4755c1;if(_0x327590[_0x296ca8(0x21c)])return;const _0x39b145=_0x344f2e[_0x296ca8(0x28b)];if(!_0x39b145?.[_0x296ca8(0x1cd)])return;if(_0x39b145[_0x296ca8(0x1cd)]===_0x39b206[_0x296ca8(0x29e)]['VIDEO_ENDED']){if(!_0x327590[_0x296ca8(0x21d)]||!_0x327590['currentEpisodeList'][_0x296ca8(0x203)])return;const _0x1400c0=_0x327590[_0x296ca8(0x162)][_0x296ca8(0x1c7)](_0x54a71f=>_0x54a71f[_0x296ca8(0x28a)]===_0x327590['currentPlayingUrl']);if(_0x1400c0>-0x1&&_0x1400c0<_0x327590[_0x296ca8(0x162)][_0x296ca8(0x203)]-0x1){const _0x4b0ba7=_0x327590['currentEpisodeList'][_0x1400c0+0x1];_0x1359d4[_0x296ca8(0x243)]('自动播放下集:\x20'+_0x4b0ba7[_0x296ca8(0x20a)],!![]),setTimeout(()=>this['start'](_0x4b0ba7[_0x296ca8(0x28a)]),_0x39b206[_0x296ca8(0x18c)]);}else _0x1359d4[_0x296ca8(0x243)](_0x296ca8(0x1a0),!![]),setTimeout(()=>this[_0x296ca8(0x1b4)](),0xbb8);}else{if(_0x39b145[_0x296ca8(0x1cd)]===_0x39b206['MESSAGES'][_0x296ca8(0x1e3)])_0x1359d4[_0x296ca8(0x243)](_0x296ca8(0x27a),!![]),this[_0x296ca8(0x183)]();else{if(_0x39b145[_0x296ca8(0x1cd)]===_0x39b206[_0x296ca8(0x29e)][_0x296ca8(0x255)])_0x1359d4[_0x296ca8(0x249)]('stuck'),_0x1359d4[_0x296ca8(0x243)]('',![]);else _0x39b145[_0x296ca8(0x1cd)]===_0x39b206[_0x296ca8(0x29e)][_0x296ca8(0x1bd)]&&(_0x39b145['time']<0.1&&(_0x1359d4['updatePlayerStatus'](_0x296ca8(0x175),!![]),this[_0x296ca8(0x183)]()));}}},'close'(){const _0x5258ed=_0x4755c1;_0x1359d4[_0x5258ed(0x146)](),_0x327590[_0x5258ed(0x164)][_0x5258ed(0x26e)]['src']='about:blank',_0x327590[_0x5258ed(0x164)]['iframePlayer']['srcdoc']='',_0x327590[_0x5258ed(0x164)]['playerOverlay'][_0x5258ed(0x293)][_0x5258ed(0x219)]='none',_0x1359d4['updatePlayerStatus']('',![]),_0x327590[_0x5258ed(0x25d)]&&(_0x327590[_0x5258ed(0x25d)]['style']['opacity']='',_0x327590[_0x5258ed(0x25d)]=null),_0x327590[_0x5258ed(0x21d)]='',_0x327590['isFirstAutoplayAttempted']=!![],_0x327590['isPlayerActive']=![];},'pauseAndHideOriginalPlayer'(){const _0x26c29c=_0x4755c1;document[_0x26c29c(0x1b6)]('audio,\x20video')['forEach'](_0x29a5ec=>{const _0xb2bd48=_0x26c29c;if(!_0x29a5ec[_0xb2bd48(0x282)])_0x29a5ec[_0xb2bd48(0x24b)]();_0x29a5ec[_0xb2bd48(0x261)]=!![];}),_0x327590[_0x26c29c(0x25d)]=_0x1427c4['findWebsitePlayerElement'](),_0x327590[_0x26c29c(0x25d)]&&(_0x327590[_0x26c29c(0x25d)][_0x26c29c(0x293)][_0x26c29c(0x252)]='0');},'updateOverlayPosition'(){const _0x4d6932=_0x4755c1;if(_0x327590[_0x4d6932(0x25d)]&&_0x327590['dom'][_0x4d6932(0x204)][_0x4d6932(0x293)][_0x4d6932(0x219)]==='block'){const _0x2ff76a=_0x327590[_0x4d6932(0x25d)][_0x4d6932(0x17f)]();_0x2ff76a[_0x4d6932(0x1b3)]>0x32&&_0x2ff76a[_0x4d6932(0x196)]>0x32&&Object[_0x4d6932(0x1f2)](_0x327590[_0x4d6932(0x164)]['playerOverlay'][_0x4d6932(0x293)],{'top':_0x2ff76a[_0x4d6932(0x2c3)]+window['scrollY']+'px','left':_0x2ff76a[_0x4d6932(0x23e)]+'px','width':_0x2ff76a[_0x4d6932(0x1b3)]+'px','height':_0x2ff76a[_0x4d6932(0x196)]+'px','transform':_0x4d6932(0x1ee),'position':_0x4d6932(0x256)});}}},_0x1427c4={async 'asyncPool'(_0x464ff7,_0x30d3cf,_0x51fe2a){const _0x135e7b=_0x4755c1,_0x18a337=[],_0x4ed812=new Set();for(const _0x23f334 of _0x30d3cf){const _0xf84d8a=Promise[_0x135e7b(0x2bc)]()[_0x135e7b(0x290)](()=>_0x51fe2a(_0x23f334));_0x18a337[_0x135e7b(0x18a)](_0xf84d8a),_0x4ed812[_0x135e7b(0x20e)](_0xf84d8a);const _0x4ba9c7=()=>_0x4ed812[_0x135e7b(0x246)](_0xf84d8a);_0xf84d8a[_0x135e7b(0x290)](_0x4ba9c7)[_0x135e7b(0x1c4)](_0x4ba9c7),_0x4ed812['size']>=_0x464ff7&&await Promise[_0x135e7b(0x1b9)](_0x4ed812);}return Promise[_0x135e7b(0x1b8)](_0x18a337);},'robustRequest'(_0x250430,_0x6f5742){return new Promise((_0xac8aed,_0x1a1d7c)=>{const _0x48a1f6=_0x595d,_0x395c8a=Date[_0x48a1f6(0x173)]();GM_xmlhttpRequest({'method':_0x48a1f6(0x1cf),'url':_0x6f5742['url']+'?'+_0x250430,'headers':{'Referer':new URL(_0x6f5742['url'])[_0x48a1f6(0x26d)]},'timeout':_0x39b206[_0x48a1f6(0x1d2)],'onload':_0x3432b5=>{const _0x16a592=_0x48a1f6,_0xd713e5=Date[_0x16a592(0x173)]()-_0x395c8a;if(_0x3432b5[_0x16a592(0x1d9)]!==0xc8||!_0x3432b5[_0x16a592(0x177)]||_0x3432b5['responseText'][_0x16a592(0x14e)]()['startsWith']('<'))return _0x1a1d7c(new Error(_0x16a592(0x240)));try{_0xac8aed({'data':JSON[_0x16a592(0x28f)](_0x3432b5[_0x16a592(0x177)]),'latency':_0xd713e5});}catch(_0x2aadf7){_0x1a1d7c(new Error(_0x16a592(0x149)));}},'onerror':_0x76ffc6=>_0x1a1d7c(new Error(_0x48a1f6(0x25c)+_0x76ffc6[_0x48a1f6(0x1db)])),'ontimeout':()=>_0x1a1d7c(new Error('Request\x20timeout'))});});},'normalize'(_0x15b4ea,_0x538e27,_0x497377,_0x50038b=![]){const _0x5366cf=_0x4755c1,_0x55f6bf=Math['max'](_0x538e27,Math[_0x5366cf(0x1d1)](_0x15b4ea,_0x497377)),_0x1fedc5=_0x497377-_0x538e27===0x0?0x0:(_0x55f6bf-_0x538e27)/(_0x497377-_0x538e27),_0x11a73c=_0x50038b?0x1-_0x1fedc5:_0x1fedc5;return _0x11a73c*0x64;},'parseM3u8'(_0x20755c){const _0x1cb062=_0x4755c1;let _0x3c41b8={'width':0x0,'height':0x0},_0x43f5f9=0x0;const _0x1d502c=_0x20755c[_0x1cb062(0x275)]('\x0a');for(const _0x229929 of _0x1d502c){if(_0x229929['startsWith'](_0x1cb062(0x1a5))){const _0x282caf=_0x229929['match'](/RESOLUTION=(\d+)x(\d+)/);if(_0x282caf){const _0x505aed=parseInt(_0x282caf[0x1],0xa),_0x4427e8=parseInt(_0x282caf[0x2],0xa);if(_0x4427e8>_0x3c41b8['height']){_0x3c41b8={'width':_0x505aed,'height':_0x4427e8};const _0x15d745=_0x229929['match'](/BANDWIDTH=(\d+)/);_0x15d745&&(_0x43f5f9=parseInt(_0x15d745[0x1],0xa));}}}}if(_0x3c41b8['height']===0x0)return{'resolution':0x0,'bitrate':0x0};return{'resolution':_0x3c41b8['height'],'bitrate':_0x43f5f9/0x3e8};},'evaluateSource':_0x202623=>new Promise(_0x2cbfc9=>{const _0x451498=_0x4755c1,_0x2f5635=Date['now']();GM_xmlhttpRequest({'method':_0x451498(0x1cf),'url':_0x202623,'headers':{'Range':'bytes=0-4096'},'responseType':_0x451498(0x147),'timeout':_0x39b206[_0x451498(0x1ef)],'onload':_0x3867fd=>{const _0x156c8d=_0x451498,_0x1f88b4=Date[_0x156c8d(0x173)]()-_0x2f5635;if(_0x3867fd['status']>=0xc8&&_0x3867fd[_0x156c8d(0x1d9)]<0x190&&_0x3867fd[_0x156c8d(0x177)]){const _0x460b92=_0x1427c4[_0x156c8d(0x207)](_0x3867fd[_0x156c8d(0x177)]),_0x492d4f=_0x1427c4[_0x156c8d(0x24a)](_0x1f88b4,0x32,_0x39b206['FAST_EVAL_TIMEOUT'],!![]),_0x2551f8=_0x1427c4[_0x156c8d(0x24a)](_0x460b92[_0x156c8d(0x1fc)],0x1e0,0x870,![]),_0x37c509=_0x1427c4['normalize'](_0x460b92[_0x156c8d(0x199)],0x1f4,0x1f40,![]),_0x2cfe57=_0x2551f8*0.7+_0x37c509*0.3,_0x5232ca=_0x492d4f*0.8+_0x2cfe57*0.2;_0x2cbfc9({'latency':_0x1f88b4,'resolution':_0x460b92[_0x156c8d(0x1fc)],'bitrate':_0x460b92[_0x156c8d(0x199)],'score':_0x5232ca});}else _0x2cbfc9(null);},'onerror':()=>_0x2cbfc9(null),'ontimeout':()=>_0x2cbfc9(null)});}),'getQuickMainTitle'(){const _0x29383b=_0x4755c1;for(const _0x57ea2a of _0x39b206[_0x29383b(0x2af)][_0x29383b(0x1a4)]){const _0x45f384=document[_0x29383b(0x2c4)](_0x57ea2a);if(_0x45f384){const _0x40f370=(_0x45f384[_0x29383b(0x1cb)]('content')||_0x45f384['textContent']||'')[_0x29383b(0x14e)]();if(_0x40f370)return _0x40f370[_0x29383b(0x275)](/[-_\s((]/)[0x0][_0x29383b(0x23d)](/第.+[集季部]/,'')[_0x29383b(0x14e)]();}}return document[_0x29383b(0x1f5)][_0x29383b(0x275)](/[-_\s((]/)[0x0][_0x29383b(0x23d)](/第.+[集季部]/,'')[_0x29383b(0x14e)]();},async 'getCurrentEpisodeNumber'(){const _0x4f0269=_0x4755c1;try{const _0x11741e=new URLSearchParams(location[_0x4f0269(0x22d)]);if(_0x11741e[_0x4f0269(0x1dd)]('s4')){const _0x5e368c=_0x11741e[_0x4f0269(0x2aa)]('s4');if(_0x5e368c&&!isNaN(_0x5e368c))return _0x5e368c;}if(_0x11741e[_0x4f0269(0x1dd)](_0x4f0269(0x2bd))){const _0x4f323f=this['getEpisodeNumberFromString'](decodeURIComponent(_0x11741e['get'](_0x4f0269(0x2bd))));if(_0x4f323f)return _0x4f323f;}}catch(_0x20f2b6){}if(location['hostname'][_0x4f0269(0x29f)](_0x4f0269(0x1d3))){const _0x8ae6ed=this['getEpisodeNumberFromString'](document[_0x4f0269(0x1f5)]);if(_0x8ae6ed)return _0x8ae6ed;}const _0x181f09=window[_0x4f0269(0x216)][_0x4f0269(0x193)],_0x11b58e=Object['keys'](_0x39b206[_0x4f0269(0x2af)][_0x4f0269(0x1fe)])[_0x4f0269(0x2a7)](_0x310fb4=>_0x181f09['includes'](_0x310fb4));if(_0x11b58e)try{const _0x2665a2=await this[_0x4f0269(0x226)](_0x39b206[_0x4f0269(0x2af)][_0x4f0269(0x1fe)][_0x11b58e],0x3e8);if(_0x2665a2?.[_0x4f0269(0x214)]){const _0x1a4e10=this['getEpisodeNumberFromString'](_0x2665a2[_0x4f0269(0x214)][_0x4f0269(0x14e)]());if(_0x1a4e10)return _0x1a4e10;}}catch(_0x3e2563){}return this[_0x4f0269(0x294)](document['title']);},'getEpisodeNumberFromString'(_0x12f138){const _0x9c9162=_0x4755c1;if(!_0x12f138)return null;if(/^\d+$/['test'](_0x12f138['trim']()))return _0x12f138['trim']();let _0x1a7d37=_0x12f138['match'](/(?:第|EP|Ep|ep|E)\s*(\d+)/);if(_0x1a7d37&&_0x1a7d37[0x1])return _0x1a7d37[0x1];_0x1a7d37=_0x12f138[_0x9c9162(0x297)](/(?:\D|^)(\d{1,4})(?:\D|$)/);if(_0x1a7d37&&_0x1a7d37[0x1])return _0x1a7d37[0x1];const _0x43a320=_0x12f138['match'](/\d+/g);return _0x43a320?_0x43a320[_0x43a320[_0x9c9162(0x203)]-0x1]:null;},'findWebsitePlayerElement':()=>_0x39b206['SELECTORS']['PLAYER_ELEMENTS'][_0x4755c1(0x227)](_0x56ad54=>document['querySelector'](_0x56ad54))['find'](_0x99951a=>_0x99951a),'waitForElement'(_0x20b1e3,_0x38537e=0xbb8){return new Promise((_0x1964ed,_0x35c3d7)=>{const _0x4ac759=_0x595d,_0x2ead49=document[_0x4ac759(0x2c4)](_0x20b1e3);if(_0x2ead49)return _0x1964ed(_0x2ead49);const _0xf2c54c=new MutationObserver(()=>{const _0x27960c=_0x4ac759,_0x1d1cad=document[_0x27960c(0x2c4)](_0x20b1e3);_0x1d1cad&&(_0xf2c54c[_0x27960c(0x1e9)](),clearTimeout(_0x49c6b6),_0x1964ed(_0x1d1cad));}),_0x49c6b6=setTimeout(()=>{const _0x1a5a6a=_0x4ac759;_0xf2c54c[_0x1a5a6a(0x1e9)](),_0x35c3d7(new Error(_0x1a5a6a(0x1b0)+_0x20b1e3+'\x27'));},_0x38537e);_0xf2c54c[_0x4ac759(0x21e)](document[_0x4ac759(0x254)],{'childList':!![],'subtree':!![]});});},'waitForPlayerResize'(_0x31c3a1,_0x134c47=0x7d0){return new Promise((_0x2071cc,_0x29cf1a)=>{const _0x427998=_0x595d;if(!_0x31c3a1)return _0x29cf1a(new Error(_0x427998(0x26a)));let _0x1f7ebf=0x0,_0x5d732a=0x0,_0x1e81a5=0x0;const _0x3d2609=0xc8,_0x350a5c=0x3,_0x430a6c=setInterval(()=>{const _0x10d40b=_0x427998,_0x67825c=_0x31c3a1[_0x10d40b(0x17f)]();_0x67825c[_0x10d40b(0x1b3)]>0x0&&_0x67825c['height']>0x0&&(_0x67825c['width']===_0x1f7ebf&&_0x67825c[_0x10d40b(0x196)]===_0x5d732a?++_0x1e81a5>=_0x350a5c&&(clearInterval(_0x430a6c),clearTimeout(_0x58e69b),_0x2071cc(_0x67825c)):(_0x1e81a5=0x0,_0x1f7ebf=_0x67825c[_0x10d40b(0x1b3)],_0x5d732a=_0x67825c[_0x10d40b(0x196)]));},_0x3d2609),_0x58e69b=setTimeout(()=>{clearInterval(_0x430a6c);const _0x5f4b5e=_0x31c3a1['getBoundingClientRect']();_0x5f4b5e['width']>0x0?_0x2071cc(_0x5f4b5e):_0x29cf1a(new Error('Player\x20did\x20not\x20resize\x20in\x20time'));},_0x134c47);});}};function _0x582e5a(){const _0x42ed1f=_0x4755c1;if(!_0x346ae5()){console[_0x42ed1f(0x19e)]('[VIP]\x20Current\x20page\x20is\x20not\x20a\x20recognized\x20video\x20page.\x20Script\x20will\x20not\x20initialize\x20UI.');return;}setTimeout(()=>{const _0x8edf21=_0x42ed1f;if(document[_0x8edf21(0x145)](_0x8edf21(0x239)))return;_0x1359d4[_0x8edf21(0x15c)]();const _0x4180e2=()=>{const _0xe80f17=_0x8edf21;if(location[_0xe80f17(0x22d)]!==_0x327590[_0xe80f17(0x296)]){_0x327590[_0xe80f17(0x296)]=location[_0xe80f17(0x22d)];if(_0x346ae5()){_0x327590['isFirstAutoplayAttempted']=![],_0x327590[_0xe80f17(0x160)]={'key':null,'results':[]},_0xa58952[_0xe80f17(0x1b4)](),_0x1359d4[_0xe80f17(0x22c)]();if(_0x327590[_0xe80f17(0x164)][_0xe80f17(0x2ab)])_0x327590[_0xe80f17(0x164)][_0xe80f17(0x2ab)][_0xe80f17(0x293)][_0xe80f17(0x219)]=_0xe80f17(0x187);}else{if(_0x327590['dom'][_0xe80f17(0x2ab)])_0x327590['dom'][_0xe80f17(0x2ab)][_0xe80f17(0x293)][_0xe80f17(0x219)]='none';}}},_0x5bb1c0=new MutationObserver(_0x4180e2);_0x5bb1c0[_0x8edf21(0x21e)](document[_0x8edf21(0x254)],{'childList':!![],'subtree':!![]}),document[_0x8edf21(0x2a1)](_0x8edf21(0x18d),_0x3a63b3=>{const _0x13aafa=_0x8edf21;if(_0x327590[_0x13aafa(0x164)][_0x13aafa(0x2ab)]&&(_0x327590[_0x13aafa(0x164)][_0x13aafa(0x2ab)][_0x13aafa(0x27f)](_0x3a63b3[_0x13aafa(0x174)])||_0x327590[_0x13aafa(0x164)]['playerOverlay'][_0x13aafa(0x27f)](_0x3a63b3[_0x13aafa(0x174)])))return;const _0x6be62f=_0x3a63b3['target'][_0x13aafa(0x231)]('a,\x20.item,\x20li,\x20[role=\x22button\x22]');_0x6be62f&&setTimeout(_0x4180e2,0x64);},!![]);},0x1f4);}document[_0x4755c1(0x2ba)]==='loading'?document[_0x4755c1(0x2a1)]('DOMContentLoaded',_0x582e5a):_0x582e5a();}()));function _0x595d(_0x2d92c1,_0x1c9f90){const _0x58f4f3=_0x58f4();return _0x595d=function(_0x595d29,_0x34e2e4){_0x595d29=_0x595d29-0x145;let _0x43a2b8=_0x58f4f3[_0x595d29];return _0x43a2b8;},_0x595d(_0x2d92c1,_0x1c9f90);}function _0x58f4(){const _0x4a9811=['style','getEpisodeNumberFromString','searchSingleApi','currentURL','match','全网资源扫描中...\x20(0/','transition','.tm-collection-btn','onmouseenter','row','http://savviuux.hk3.345888.xyz.cdn.cloudflare.net/api.php/provide/vod/','MESSAGES','includes','getScore','addEventListener','https://api.zuidapi.com/api.php/provide/vod/','pauseAndHideOriginalPlayer','dataset','clear','tm_play_success','find','225788nhFfrK','CACHE_VERSION','get','container','#player_swf','offsetWidth','key','SELECTORS','瀑布盘','https://www.huyaapi.com/api.php/provide/vod/','1020488pewAqC','handleMessage','ac=list&wd=','8px\x2015px','tm-main-btn-fusion','justifyContent','集\x20|\x20得分:\x20','https://hhzyapi.com/api.php/provide/vod/','readyState','isFirstAutoplayAttempted','resolve','tvname','globalStatus','vod_id','tagName','panelCollapse','#le_player','top','querySelector','pointer','314nYtpXf','getElementById','clearAllTimers','text','https://www.inmi.app/api.php/provide/vod/','JSON\x20parse\x20error','children','appendChild','https://lz.118318.xyz/api.php/provide/vod/','some','trim','https://subocaiji.com/api.php/provide/vod/','SEARCH_CONCURRENCY','STORAGE_KEY_ICON_POSITION','from','.txp_player_root','无法获取视频标题','#video-player','panel','mainBtn','#xigua-player','findAndPositionOverlay','#sohuplayer','.container-player','init','meta[property=\x22og:title\x22]','message','auto','sessionCache','#player','currentEpisodeList','STUCK_CHECK_TIMEOUT','dom','https://jyzyapi.com/api.php/provide/vod/','mousedown','AUTO_EXPAND_BEST_SOURCE','.episode-list\x20.current\x20a,\x20.v-title-info\x20.title','50%','parentElement','api_stats_','onmouseleave','isPlayerActive','activeSourceName','results','.play-player','tm-global-status-text','#mgtv-player-wrap','now','target','播放无响应,自动切换线路...','updateStatus','responseText','https://api.apibdzy.com/api.php/provide/vod/','HLS_CONFIG','center','renderSourceListFromCache','https://cj.rycjapi.com/api.php/provide/vod/','7303620rcDfge','toggle','getBoundingClientRect','div','https://www.hongniuzy2.com/api.php/provide/vod/','append','autoSwitchSource','masterSearch','renderInitialPanel','currentPageEpisodeNumber','block','.m3u8','fixed','push','https://xsd.sdzyapi.com/api.php/provide/vod/','AUTOPLAY_NEXT_DELAY','click','evaluateSource','.anthology-wrap\x20li.active\x20span,\x20.list-single-episode.current\x20a','recordFailure','9289866IrPwzK','robustRequest','hostname','playerStatus','padding','height','所有源已尝试,请手动切换或刷新','failedUrls','bitrate','正在播放:\x20','getQuickMainTitle','#bilibili-player','https://img.smdyw.top/api.php/provide/vod/','log','https://api.maoyanapi.top/api.php/provide/vod/','播放完毕','grab','已匹配:\x20','20px','QUICK_TITLE','#EXT-X-STREAM-INF','cache_stats','https://tyyszyapi.com/api.php/provide/vod/','createElement','onclick','initDraggableIcon','recordMiss','grabbing','自动切换失败,请手动选择其他源','transform','any','Timeout\x20waiting\x20for\x20\x27','color','toFixed','width','close','ac=detail&wd=','querySelectorAll','misses','all','race','clientX','250px','values','CHECK_STUCK_RES','66lkMzdL','video','resize','#f8d7da','#ACPlayer','cursor','catch','updateOverlayPosition','userSelect','findIndex','latency','button','autoResizePanel','getAttribute','https://ckzy.me/api.php/provide/vod/','type','list','GET','blur','min','API_TIMEOUT','qq.com','2147483646','https://cj.ffzyapi.com/api.php/provide/vod/','renderEpisodeList','https://360zy.com/api.php/provide/vod/','.video-info-title','status','classList','error','BODY','has','loading','set','showPanel','.tm-episode-matched','findWebsitePlayerElement','LOAD_ERROR','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VIP\x20Play\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20