// ==UserScript== // @name 星速VIP视频解析播放引擎 // @namespace https://scriptcat.org/zh-CN/script-show-page/4339 // @version 6.7.7 // @description ✅ 支持爱奇艺、腾讯、优酷等主流平台✅ 无需会员,VIP内容免费看✅ 多线路备选,永不剧荒✅ 简洁界面,老人小孩都会用✅ 持续更新,资源库不断扩充 // @icon data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI1MCIgZmlsbD0idXJsKCNncmFkKSIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iZ3JhZCIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMzM5OSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNjZjYyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjx0ZXh0IHg9IjUwIiB5PSI3MCIgZm9udC1zaXplPSI1MCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXdlaWdodD0ibjkwMCI+VklQPC90ZXh0Pjwvc3ZnPg== // @author lsym // @license MIT // @noframes // @match *://*/* // @grant GM_addStyle // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @grant GM_registerMenuCommand // @run-at document-end // @connect * // @antifeature piracy // ==/UserScript== (function(_0x231bc8,_0x3e1d1f){const _0x279f24=_0x106c,_0x1f1c7f=_0x231bc8();while(!![]){try{const _0x5ec231=parseInt(_0x279f24(0x221))/0x1+-parseInt(_0x279f24(0x1fd))/0x2+parseInt(_0x279f24(0x303))/0x3+-parseInt(_0x279f24(0x234))/0x4+parseInt(_0x279f24(0x27d))/0x5+-parseInt(_0x279f24(0x1a4))/0x6+parseInt(_0x279f24(0x2ca))/0x7;if(_0x5ec231===_0x3e1d1f)break;else _0x1f1c7f['push'](_0x1f1c7f['shift']());}catch(_0x29e282){_0x1f1c7f['push'](_0x1f1c7f['shift']());}}}(_0x29b3,0xc6599),(function(){const _0x446873=_0x106c;if(window['hasInitVipScript'])return;window[_0x446873(0x1b6)]=!![],_0x446873(0x1e8);const _0x459638={'API_TIMEOUT':0x7d0,'STUCK_CHECK_TIMEOUT':0x1770,'SEARCH_CONCURRENCY':0x4,'AUTO_EXPAND_BEST_SOURCE':!![],'CACHE_ENABLED':!![],'CACHE_EXPIRY':0x1b7740,'CACHE_VERSION':'v2','SMART_SORTING':!![],'AUTOPLAY_NEXT_DELAY':0x64,'PANEL_LEAVE_CLOSE_DELAY':0x7d0,'PANEL_EPISODE_GRACE_PERIOD':0x7d0,'STORAGE_KEY_ICON_POSITION':_0x446873(0x1bf),'VIDEO_URL_PATTERNS':[/iqiyi\.com\/[vwa]_/,/iq\.com\/play\//,/youku\.com\/v_show\/id_/,/v\.youku\.com\/v_show\/id_/,/v\.qq\.com\/(x\/cover|x\/page|tv)\//,/mgtv\.com\/b\//,/mgtv\.com\/s\//,/bilibili\.com\/(video|bangumi\/play)\//,/b23\.tv\//,/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\//,/ixigua\.com\/play\//,/tudou\.com\/(listplay|albumplay|programs\/view)\//,/fun\.tv\/vod-play\//,/baofeng\.com\/play\//,/migumovie\.hcs\.cmvideo\.cn\/movie/,/miguvideo\.com\/detail/,/douyin\.com\/video\//,/kuaishou\.com\/short-video\//,/hanju\.koudaibaobao\.com\//,/maiduidui\.com\/play\//,/rrsp\.tv\/play\//,/vas\.hiaiabc\.com\/play/],'MESSAGES':{'VIDEO_ENDED':_0x446873(0x285),'PLAY_SUCCESS':_0x446873(0x2a6),'CHECK_STUCK_REQ':_0x446873(0x1e6),'CHECK_STUCK_RES':_0x446873(0x2d4)},'SELECTORS':{'PLAYER_ELEMENTS':['.txp_player_root','#player-container',_0x446873(0x20a),'.container-player',_0x446873(0x226),_0x446873(0x274),_0x446873(0x28a),'.iqp-player','#bilibili-player',_0x446873(0x21f),_0x446873(0x308),_0x446873(0x27c),'#player_swf',_0x446873(0x1eb),'#ACPlayer',_0x446873(0x1b7),_0x446873(0x246),_0x446873(0x2b7),_0x446873(0x215)],'QUICK_TITLE':[_0x446873(0x1bd),'h1',_0x446873(0x269),'.title',_0x446873(0x1f2)],'PRECISE_TITLE':{'iqiyi.com':_0x446873(0x22e),'youku.com':'.anthology-wrap\x20li.active\x20span','v.qq.com':'.episode-item--select,\x20.playlist-item--current,\x20[class*=\x22selected\x22]\x20[class*=\x22episode-item-text\x22],\x20[class*=\x22episode-item\x22][class*=\x22selected\x22]\x20.episode-item-text,\x20[class*=\x22episode-item\x22][class*=\x22current\x22]\x20.episode-item-text,\x20[class*=\x22episode-item\x22][class*=\x22active\x22]\x20.episode-item-text,\x20[class*=\x22numberListItem_select\x22]\x20[class*=\x22numberListItem_title\x22],\x20[class*=\x22ele_select\x22]\x20.episode-item-text','bilibili.com':_0x446873(0x2d7),'mgtv.com':_0x446873(0x2bb),'sohu.com':_0x446873(0x1da),'le.com':_0x446873(0x23c),'pptv.com':_0x446873(0x249),'acfun.cn':_0x446873(0x1c4)},'PRECISE_MAIN_TITLE':{'qq.com':_0x446873(0x1a5),'iqiyi.com':_0x446873(0x218),'iq.com':_0x446873(0x218),'youku.com':_0x446873(0x2c0),'bilibili.com':_0x446873(0x2f4),'b23.tv':_0x446873(0x2f4)}}},_0x332d5c={'get':_0x53d6d6=>{const _0x38b082=_0x446873;if(!_0x459638[_0x38b082(0x229)])return null;try{const _0x35a821=JSON['parse'](GM_getValue(_0x38b082(0x2bd)+_0x459638[_0x38b082(0x28e)]+'_'+_0x53d6d6));if(_0x35a821&&Date[_0x38b082(0x2f9)]()-_0x35a821[_0x38b082(0x1c9)]<_0x459638[_0x38b082(0x219)])return _0x35a821[_0x38b082(0x26b)];}catch(_0x5bc520){}return null;},'set':(_0x40adb2,_0x2b47cb)=>{const _0x4f2fa3=_0x446873;if(!_0x459638[_0x4f2fa3(0x229)])return;try{GM_setValue(_0x4f2fa3(0x2bd)+_0x459638['CACHE_VERSION']+'_'+_0x40adb2,JSON[_0x4f2fa3(0x1ac)]({'data':_0x2b47cb,'timestamp':Date['now']()}));}catch(_0x2c7bc0){}}},_0x2e8029={'_pending':{},'_flushTimer':null,'_flush'(){const _0x77bcf0=_0x446873,_0x484e23=_0x2e8029[_0x77bcf0(0x207)];_0x2e8029[_0x77bcf0(0x207)]={},_0x2e8029[_0x77bcf0(0x214)]=null;for(const [_0x4b0080,_0x36c412]of Object[_0x77bcf0(0x1a1)](_0x484e23)){GM_setValue(_0x77bcf0(0x225)+_0x4b0080,_0x36c412);}},'_scheduleFlush'(){const _0x59b50a=_0x446873;if(!_0x2e8029[_0x59b50a(0x214)])_0x2e8029[_0x59b50a(0x214)]=setTimeout(()=>_0x2e8029[_0x59b50a(0x1d0)](),0x7d0);},'get'(_0x159fbe){const _0x2d3545=_0x446873;return _0x2e8029['_pending'][_0x159fbe]||GM_getValue(_0x2d3545(0x225)+_0x159fbe)||{'successCount':0x0,'failCount':0x0,'totalLatency':0x0,'requestCount':0x0};},'recordSuccess'(_0x16a4a6,_0x376414){const _0x50a6a3=_0x446873,_0x534c0d=_0x2e8029[_0x50a6a3(0x306)](_0x16a4a6);_0x534c0d[_0x50a6a3(0x2dc)]++,_0x534c0d[_0x50a6a3(0x1c1)]+=_0x376414,_0x534c0d['requestCount']++,_0x2e8029['_pending'][_0x16a4a6]=_0x534c0d,_0x2e8029[_0x50a6a3(0x26c)]();},'recordFailure'(_0x38e4e8){const _0x1016dc=_0x446873,_0x57fb21=_0x2e8029[_0x1016dc(0x306)](_0x38e4e8);_0x57fb21['failCount']++,_0x57fb21['requestCount']++,_0x2e8029[_0x1016dc(0x207)][_0x38e4e8]=_0x57fb21,_0x2e8029[_0x1016dc(0x26c)]();},'getScore':_0x440230=>{const _0x3e8d95=_0x446873;if(_0x440230[_0x3e8d95(0x1d1)]<0x3)return 0x3e8;const _0x5a78bd=_0x440230[_0x3e8d95(0x2dc)]/_0x440230[_0x3e8d95(0x1d1)];if(_0x5a78bd<0.5)return-0x3e8;return _0x5a78bd*0x2710-(_0x440230[_0x3e8d95(0x2dc)]>0x0?_0x440230[_0x3e8d95(0x1c1)]/_0x440230['successCount']:_0x459638[_0x3e8d95(0x1e4)]);}},_0xa63be3=[{'name':'极速','url':'https://jszyapi.com/api.php/provide/vod/'},{'name':_0x446873(0x24f),'url':_0x446873(0x241)},{'name':_0x446873(0x2a5),'url':_0x446873(0x1b0)},{'name':'卧龙','url':_0x446873(0x1e1)},{'name':'非凡','url':_0x446873(0x2a3)},{'name':'优质','url':_0x446873(0x1c3)},{'name':'猫眼','url':'https://api.maoyanapi.top/api.php/provide/vod'},{'name':_0x446873(0x1dc),'url':_0x446873(0x2ac)},{'name':_0x446873(0x1ec),'url':'https://pg.fenwe078.cf/api.php/provide/vod/'},{'name':'艾旦','url':'https://www.lovedan.net/api.php/provide/vod/'},{'name':'映迷','url':_0x446873(0x1de)},{'name':'无忧','url':'https://www.wyvod.com/api.php/provide/vod/'},{'name':'蛋蛋','url':_0x446873(0x294)},{'name':'新浪','url':'https://api.xinlangapi.com/xinlangapi.php/provide/vod/'},{'name':'暴风','url':_0x446873(0x1ff)},{'name':_0x446873(0x22f),'url':_0x446873(0x2e4)},{'name':'豆瓣','url':_0x446873(0x19e)},{'name':'量子','url':_0x446873(0x2af)},{'name':'最大','url':_0x446873(0x2e2)},{'name':'快车','url':'https://caiji.kuaichezy.org/api.php/provide/vod/'},{'name':'CK','url':_0x446873(0x1d3)},{'name':_0x446873(0x1ef),'url':_0x446873(0x1b9)},{'name':'百度','url':_0x446873(0x26a)},{'name':'如意','url':_0x446873(0x2db)},{'name':'魔爪','url':_0x446873(0x2f6)},{'name':'虎牙','url':_0x446873(0x2b0)},{'name':'U酷','url':_0x446873(0x1b5)},{'name':'花旗','url':'https://www.seacms.org/api.php/provide/vod/'},{'name':'闪电','url':'https://xsd.sdzyapi.com/api.php/provide/vod/'},{'name':'无尽','url':_0x446873(0x213)},{'name':'豪华','url':_0x446873(0x2d2)},{'name':'牛牛','url':'https://api.niuniuzy.me/api.php/provide/vod/'},{'name':'天涯','url':_0x446873(0x1f1)},{'name':'光速','url':'https://api.guangsuapi.com/api.php/provide/vod/'},{'name':'速播','url':_0x446873(0x289)},{'name':'魔都','url':_0x446873(0x197)},{'name':'快龙','url':'https://lz.118318.xyz/api.php/provide/vod/'},{'name':'刺桐','url':'https://pg.cttv.vip/api.php/provide/vod/'},{'name':'金鹰','url':'https://jyzyapi.com/api.php/provide/vod/'}],_0x1ef44f=_0x388003=>{const _0x3c3f78=_0x446873,_0x4fa1f5=new Map();_0x388003[_0x3c3f78(0x29c)](_0x27c8e4=>{const _0x336c89=_0x3c3f78;if(!_0x4fa1f5[_0x336c89(0x28f)](_0x27c8e4[_0x336c89(0x1b8)]))_0x4fa1f5[_0x336c89(0x2c7)](_0x27c8e4[_0x336c89(0x1b8)],{..._0x27c8e4,'shortName':_0x27c8e4[_0x336c89(0x287)][_0x336c89(0x2e5)](0x0,0x4)});});let _0x57e6c3=Array[_0x3c3f78(0x238)](_0x4fa1f5[_0x3c3f78(0x312)]());if(_0x459638[_0x3c3f78(0x21c)])_0x57e6c3=_0x57e6c3[_0x3c3f78(0x243)](_0x4fd319=>({..._0x4fd319,'score':_0x2e8029['getScore'](_0x2e8029[_0x3c3f78(0x306)](_0x4fd319[_0x3c3f78(0x1d8)]))}))[_0x3c3f78(0x247)]((_0x1fea48,_0x21a239)=>_0x21a239[_0x3c3f78(0x25b)]-_0x1fea48[_0x3c3f78(0x25b)]);return _0x57e6c3;},_0x30dc96=_0x1ef44f(_0xa63be3),_0x2338ca={'currentEpisodeList':[],'currentPlayingUrl':'','hiddenPlayerElement':null,'isPanelOpen':![],'currentURL':location[_0x446873(0x200)],'dom':{},'timers':{},'sessionCache':{'key':null,'results':[]},'activeSourceName':null,'isFirstAutoplayAttempted':![],'currentPageEpisodeNumber':null,'failedUrls':new Set(),'isUserClosed':![],'currentSearchId':0x0,'isPlayerActive':![],'episodePanelOpenedAt':0x0},_0x36618a=()=>_0x459638[_0x446873(0x26e)][_0x446873(0x2f5)](_0x37a10d=>_0x37a10d[_0x446873(0x252)](location[_0x446873(0x200)])),_0x199176={'init'(){const _0x58393c=_0x446873;this['injectStyle'](),_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x26d)]=this['createElement'](_0x58393c(0x251),{'id':_0x58393c(0x24e)}),_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x2c5)]=this[_0x58393c(0x1a2)](_0x58393c(0x1a6),{'id':_0x58393c(0x1df)}),_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x1e2)]=this[_0x58393c(0x1a2)](_0x58393c(0x251),{'id':_0x58393c(0x30c)}),_0x2338ca['dom'][_0x58393c(0x2d5)]=this['createElement'](_0x58393c(0x251),{'id':_0x58393c(0x28b)}),_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x2d5)]['innerHTML']=_0x58393c(0x1aa),document[_0x58393c(0x1fc)][_0x58393c(0x265)](_0x2338ca['dom'][_0x58393c(0x26d)],_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x2d5)]),_0x2338ca['dom'][_0x58393c(0x26d)][_0x58393c(0x265)](_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x2c5)],_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x1e2)]),_0x2338ca[_0x58393c(0x2fc)]['iframePlayer']=document[_0x58393c(0x278)](_0x58393c(0x28d)),_0x2338ca[_0x58393c(0x2fc)][_0x58393c(0x2b2)]=document[_0x58393c(0x278)]('tm-close-btn-fusion'),this[_0x58393c(0x30e)](),this[_0x58393c(0x2ec)]();},'createElement':(_0x190790,_0x7a4e03)=>Object[_0x446873(0x263)](document['createElement'](_0x190790),_0x7a4e03),'injectStyle'(){const _0x61eacd=_0x446873;GM_addStyle(_0x61eacd(0x283));},'initDraggableIcon'(){const _0x329f09=_0x446873;let _0x3ce6ec=![],_0x48f7b3=![],_0x4409d2,_0x56dd82;const _0x548b5d=_0x2338ca[_0x329f09(0x2fc)]['container'],_0x352e4c=GM_getValue(_0x459638[_0x329f09(0x23e)],{'left':_0x329f09(0x1c2),'top':_0x329f09(0x2b5)});Object[_0x329f09(0x263)](_0x548b5d[_0x329f09(0x299)],_0x352e4c);const _0x579954=_0x58db75=>{const _0x12feee=_0x329f09;if(!_0x3ce6ec)return;_0x48f7b3=!![];let _0x734ed1=Math[_0x12feee(0x302)](0x0,Math[_0x12feee(0x253)](_0x58db75[_0x12feee(0x29e)]-_0x4409d2,window[_0x12feee(0x1f5)]-_0x548b5d[_0x12feee(0x1fb)])),_0x3eb692=Math[_0x12feee(0x302)](0x0,Math['min'](_0x58db75[_0x12feee(0x2bc)]-_0x56dd82,window[_0x12feee(0x2ef)]-_0x548b5d['offsetHeight']));Object['assign'](_0x548b5d[_0x12feee(0x299)],{'left':_0x734ed1+'px','top':_0x3eb692+'px'});},_0x2928e6=()=>{const _0x514142=_0x329f09;if(!_0x3ce6ec)return;_0x3ce6ec=![],document[_0x514142(0x1fc)][_0x514142(0x299)]['userSelect']='',_0x548b5d[_0x514142(0x299)]['cursor']='grab',_0x548b5d[_0x514142(0x299)]['transition']='';if(_0x48f7b3)GM_setValue(_0x459638[_0x514142(0x23e)],{'left':_0x548b5d['style']['left'],'top':_0x548b5d['style']['top']});window[_0x514142(0x29b)](_0x514142(0x1b4),_0x579954,!![]),window[_0x514142(0x29b)](_0x514142(0x1cf),_0x2928e6,!![]),window[_0x514142(0x29b)](_0x514142(0x258),_0x2928e6,!![]);},_0x3ae1de=_0x3168fd=>{const _0x41dbb9=_0x329f09;_0x3168fd[_0x41dbb9(0x1f8)]();if(_0x3168fd[_0x41dbb9(0x1a6)]!==0x0)return;_0x48f7b3=![],_0x3ce6ec=!![],document[_0x41dbb9(0x1fc)][_0x41dbb9(0x299)][_0x41dbb9(0x311)]='none',_0x548b5d[_0x41dbb9(0x299)][_0x41dbb9(0x19f)]='grabbing',_0x548b5d['style'][_0x41dbb9(0x1a8)]='none',_0x4409d2=_0x3168fd['clientX']-_0x548b5d[_0x41dbb9(0x1fe)]()[_0x41dbb9(0x1d7)],_0x56dd82=_0x3168fd[_0x41dbb9(0x2bc)]-_0x548b5d[_0x41dbb9(0x1fe)]()[_0x41dbb9(0x1c8)],window[_0x41dbb9(0x1f3)](_0x41dbb9(0x1b4),_0x579954,!![]),window[_0x41dbb9(0x1f3)](_0x41dbb9(0x1cf),_0x2928e6,!![]),window[_0x41dbb9(0x1f3)](_0x41dbb9(0x258),_0x2928e6,!![]);};_0x548b5d[_0x329f09(0x1f3)](_0x329f09(0x273),_0x3ae1de),_0x2338ca[_0x329f09(0x2fc)][_0x329f09(0x2c5)][_0x329f09(0x1ae)]=_0x502f4b=>{const _0x434263=_0x329f09;_0x502f4b[_0x434263(0x1f8)](),setTimeout(()=>{const _0x54ff41=_0x434263;if(_0x2338ca[_0x54ff41(0x316)])this[_0x54ff41(0x20e)]();else{const _0x11a067=location['href'];_0x2338ca[_0x54ff41(0x211)][_0x54ff41(0x22b)]===_0x11a067&&_0x2338ca[_0x54ff41(0x211)][_0x54ff41(0x2d8)][_0x54ff41(0x25c)]>0x0?(this[_0x54ff41(0x2ce)](),this[_0x54ff41(0x23b)]()):(this['showPanel'](),_0x1139f4[_0x54ff41(0x314)]());}},0x32);};},'attachEventListeners'(){const _0x322aac=_0x446873;_0x2338ca[_0x322aac(0x2fc)][_0x322aac(0x2b2)][_0x322aac(0x1ae)]=()=>_0x5bea57['close'](),_0x2338ca['dom'][_0x322aac(0x1e2)][_0x322aac(0x286)]=()=>{const _0x1a9860=_0x322aac;this[_0x1a9860(0x240)](_0x1a9860(0x27a)),this['clearTimer'](_0x1a9860(0x223));},_0x2338ca[_0x322aac(0x2fc)][_0x322aac(0x1e2)][_0x322aac(0x1f7)]=()=>{const _0x36a066=_0x322aac;_0x2338ca[_0x36a066(0x1e9)][_0x36a066(0x27a)]=setTimeout(()=>this[_0x36a066(0x20e)](),_0x459638[_0x36a066(0x199)]);},window[_0x322aac(0x1f3)]('resize',()=>{const _0x4be142=_0x322aac;this[_0x4be142(0x240)]('resize'),_0x2338ca[_0x4be142(0x1e9)]['resize']=setTimeout(()=>_0x5bea57[_0x4be142(0x2ed)](),0x64);}),window[_0x322aac(0x1f3)](_0x322aac(0x305),_0x56ba02=>_0x5bea57[_0x322aac(0x31a)](_0x56ba02));},'renderInitialPanel'(){const _0x2a226e=_0x446873;_0x2338ca[_0x2a226e(0x2fc)][_0x2a226e(0x1e2)][_0x2a226e(0x299)][_0x2a226e(0x239)]='',_0x2338ca['dom'][_0x2a226e(0x1e2)][_0x2a226e(0x2e1)]=_0x2a226e(0x2da);},'addSourceResult'(_0x2b3715){const _0x36ae1c=_0x446873,_0x36c9ff=_0x2338ca['dom'][_0x36ae1c(0x1e2)][_0x36ae1c(0x2a8)](_0x36ae1c(0x2c9));if(!_0x36c9ff||!_0x2338ca[_0x36ae1c(0x316)]||_0x36c9ff[_0x36ae1c(0x1ba)][_0x36ae1c(0x2c6)]('episode-list'))return;Object[_0x36ae1c(0x263)](_0x2338ca[_0x36ae1c(0x2fc)][_0x36ae1c(0x1e2)][_0x36ae1c(0x299)],{'flexDirection':'','alignItems':'','justifyContent':'','padding':'','width':_0x36ae1c(0x24c),'whiteSpace':'','top':'','transform':''}),_0x36c9ff['style'][_0x36ae1c(0x281)]='';const _0x1a70f0=Array[_0x36ae1c(0x238)](_0x36c9ff[_0x36ae1c(0x2c1)])[_0x36ae1c(0x2a1)](_0x26af3a=>_0x26af3a[_0x36ae1c(0x256)][_0x36ae1c(0x287)]===_0x2b3715[_0x36ae1c(0x287)]);if(_0x1a70f0)_0x1a70f0[_0x36ae1c(0x20f)]();const _0x1ce697=_0x2b3715['data'][_0x36ae1c(0x1ad)]||'',_0x4a3ce2=_0x1ce697[_0x36ae1c(0x2aa)](_0x36ae1c(0x319))?_0x1ce697[_0x36ae1c(0x31b)](_0x36ae1c(0x319))[_0x36ae1c(0x227)]()['split']('#')[_0x36ae1c(0x25c)]:_0x1ce697['includes']('#')?_0x1ce697['split']('#')[_0x36ae1c(0x25c)]:_0x1ce697['includes']('$')?_0x1ce697[_0x36ae1c(0x31b)]('$')[_0x36ae1c(0x25c)]:0x1,_0x276ac9=_0x199176[_0x36ae1c(0x1a2)](_0x36ae1c(0x1a6),{'textContent':_0x2b3715[_0x36ae1c(0x287)]+'\x20('+_0x4a3ce2+'集)','className':_0x36ae1c(0x309),'onclick':()=>{const _0x137395=_0x36ae1c;_0x2338ca[_0x137395(0x220)]=_0x2b3715[_0x137395(0x287)],this[_0x137395(0x2a4)](_0x2b3715,![],_0x2338ca[_0x137395(0x2b6)]);}});_0x276ac9[_0x36ae1c(0x256)][_0x36ae1c(0x287)]=_0x2b3715[_0x36ae1c(0x287)];if(_0x2b3715['name']===_0x2338ca['activeSourceName'])_0x276ac9[_0x36ae1c(0x1ba)][_0x36ae1c(0x1f9)](_0x36ae1c(0x2fe));_0x36c9ff[_0x36ae1c(0x25f)](_0x276ac9);},'renderSourceListFromCache'(){const _0x35d231=_0x446873;this['renderInitialPanel'](),_0x2338ca[_0x35d231(0x2fc)][_0x35d231(0x1e2)][_0x35d231(0x299)][_0x35d231(0x239)]=_0x35d231(0x24c),_0x2338ca[_0x35d231(0x2fc)][_0x35d231(0x1e2)][_0x35d231(0x1ba)][_0x35d231(0x1f9)]('source-panel-open'),this['updateStatus']('共\x20'+_0x2338ca[_0x35d231(0x211)]['results'][_0x35d231(0x25c)]+'\x20个资源',![]);const _0x2146d0=_0x2338ca[_0x35d231(0x2fc)][_0x35d231(0x1e2)][_0x35d231(0x2a8)](_0x35d231(0x2c9));_0x2146d0[_0x35d231(0x2e1)]='',_0x2338ca[_0x35d231(0x211)][_0x35d231(0x2d8)][_0x35d231(0x29c)](_0x15ae95=>this[_0x35d231(0x1e7)](_0x15ae95));},'renderEpisodeList'(_0x15f2ab,_0x3901c5=![],_0x1505c5=null){const _0xec8c31=_0x446873;if(_0x2338ca[_0xec8c31(0x27b)])return;_0x199176[_0xec8c31(0x1ab)]();const _0x5448c5=_0x2338ca[_0xec8c31(0x2fc)][_0xec8c31(0x1e2)][_0xec8c31(0x2a8)](_0xec8c31(0x2c9));if(!_0x5448c5)return;_0x5448c5[_0xec8c31(0x2e1)]='',_0x2338ca[_0xec8c31(0x2fc)][_0xec8c31(0x1e2)]['style'][_0xec8c31(0x239)]='',_0x2338ca[_0xec8c31(0x2fc)][_0xec8c31(0x1e2)]['classList'][_0xec8c31(0x20f)](_0xec8c31(0x2e7)),_0x5448c5[_0xec8c31(0x1e5)]=_0xec8c31(0x260),this[_0xec8c31(0x1b3)](_0xec8c31(0x29a),![]);const _0x1b7db1=_0x2338ca['dom']['panel'][_0xec8c31(0x2a8)]('#tm-status-bar');_0x1b7db1['style'][_0xec8c31(0x19f)]='pointer',_0x1b7db1[_0xec8c31(0x1ae)]=()=>this[_0xec8c31(0x23b)](),_0x2338ca[_0xec8c31(0x24d)]=[];let _0x7c6faf=_0x15f2ab['data'][_0xec8c31(0x1ad)]||'';if(!_0x7c6faf){this['updateStatus'](_0xec8c31(0x1b2),!![]),this['_startEpisodeGraceTimer']();return;}let _0x71593b=_0x7c6faf['includes'](_0xec8c31(0x319))?_0x7c6faf[_0xec8c31(0x31b)](_0xec8c31(0x319))[_0xec8c31(0x227)]()[_0xec8c31(0x31b)]('#'):_0x7c6faf[_0xec8c31(0x2aa)]('#')?_0x7c6faf[_0xec8c31(0x31b)]('#'):[_0x7c6faf];if(!_0x71593b[_0xec8c31(0x25c)]||_0x71593b[_0xec8c31(0x25c)]===0x1&&!_0x71593b[0x0]){this[_0xec8c31(0x1b3)](_0xec8c31(0x2ff),!![]),this[_0xec8c31(0x30b)]();return;}let _0x432537=0x0;_0x71593b[_0xec8c31(0x29c)](_0x51ec67=>{const _0x2fa43c=_0xec8c31,_0x3ba084=_0x51ec67[_0x2fa43c(0x31b)]('$'),_0x468893=_0x3ba084[0x0]?.[_0x2fa43c(0x2f1)](),_0x1c59b2=_0x3ba084[0x1]?.['trim']()||_0x3ba084[0x0]?.[_0x2fa43c(0x2f1)]();if(!_0x468893&&!_0x1c59b2)return;_0x432537++,_0x2338ca[_0x2fa43c(0x24d)][_0x2fa43c(0x1fa)]({'name':_0x468893||'集'+_0x432537,'url':_0x1c59b2});const _0x3094be=_0x199176[_0x2fa43c(0x1a2)](_0x2fa43c(0x1a6),{'textContent':_0x468893||'集'+_0x432537,'className':_0x2fa43c(0x309),'onclick':()=>{const _0x11d545=_0x2fa43c,_0x470f1f=_0x40e421[_0x11d545(0x19b)](_0x468893);if(_0x470f1f)_0x2338ca[_0x11d545(0x2b6)]=_0x470f1f;_0x5bea57[_0x11d545(0x2d0)](_0x1c59b2);}});_0x3094be[_0x2fa43c(0x256)][_0x2fa43c(0x1b8)]=_0x1c59b2,_0x5448c5[_0x2fa43c(0x25f)](_0x3094be);}),this[_0xec8c31(0x2d6)](_0x5448c5,![]);if(!_0x1505c5){if(_0x3901c5&&_0x2338ca[_0xec8c31(0x24d)][_0xec8c31(0x25c)]>0x0){const _0x53fc7b=['蓝光','4K',_0xec8c31(0x1e0),'超清',_0xec8c31(0x25d),'HD','国语','高清','720P','BD','正片',_0xec8c31(0x304),'国语高清',_0xec8c31(0x2c8),'TC','TS',_0xec8c31(0x30f),'抢先',_0xec8c31(0x1c0)];let _0x1f13eb=_0x2338ca[_0xec8c31(0x24d)][0x0],_0x52568b=Infinity;for(const _0x5558c9 of _0x2338ca[_0xec8c31(0x24d)]){for(let _0x1ba870=0x0;_0x1ba870<_0x53fc7b[_0xec8c31(0x25c)];_0x1ba870++){if(_0x5558c9[_0xec8c31(0x287)]===_0x53fc7b[_0x1ba870]||_0x5558c9[_0xec8c31(0x287)][_0xec8c31(0x2aa)](_0x53fc7b[_0x1ba870])){_0x1ba870<_0x52568b&&(_0x52568b=_0x1ba870,_0x1f13eb=_0x5558c9);break;}}}const _0x28348c=Array[_0xec8c31(0x238)](_0x5448c5[_0xec8c31(0x196)]('.tm-collection-btn'))['find'](_0x3f25a3=>_0x3f25a3[_0xec8c31(0x256)][_0xec8c31(0x1b8)]===_0x1f13eb[_0xec8c31(0x1b8)]);if(_0x28348c)_0x28348c[_0xec8c31(0x1ba)][_0xec8c31(0x1f9)](_0xec8c31(0x1f0));this[_0xec8c31(0x1b3)](_0xec8c31(0x232)+_0x1f13eb[_0xec8c31(0x287)]),_0x5bea57[_0xec8c31(0x2d0)](_0x1f13eb[_0xec8c31(0x1b8)]);}this[_0xec8c31(0x30b)]();return;}const _0x23bd22=String(parseInt(_0x1505c5,0xa));let _0x37b8da=null;const _0x4c3683=_0x5448c5[_0xec8c31(0x196)]('.tm-collection-btn');for(const _0x65b96d of _0x4c3683){const _0x3ecebd=_0x40e421[_0xec8c31(0x19b)](_0x65b96d['textContent']);if(_0x3ecebd&&String(parseInt(_0x3ecebd,0xa))===_0x23bd22){_0x37b8da=_0x65b96d;break;}}if(!_0x37b8da)for(const _0x250f3a of _0x4c3683){if(_0x250f3a[_0xec8c31(0x2ba)]['includes'](_0x23bd22)){_0x37b8da=_0x250f3a;break;}}_0x37b8da&&(_0x37b8da[_0xec8c31(0x1ba)][_0xec8c31(0x1f9)](_0xec8c31(0x1f0)),setTimeout(()=>_0x37b8da['scrollIntoView']({'behavior':_0xec8c31(0x296),'block':_0xec8c31(0x2e3)}),0x64),_0x3901c5?(this[_0xec8c31(0x1b3)](_0xec8c31(0x232)+_0x37b8da[_0xec8c31(0x2ba)]),_0x5bea57['start'](_0x37b8da[_0xec8c31(0x256)]['url'])):this[_0xec8c31(0x1b3)]('已匹配剧集:\x20'+_0x37b8da['textContent'])),this[_0xec8c31(0x30b)]();},'_startEpisodeGraceTimer'(){const _0x3f37bf=_0x446873;if(!_0x2338ca[_0x3f37bf(0x316)])return;this[_0x3f37bf(0x240)](_0x3f37bf(0x223));if(_0x2338ca[_0x3f37bf(0x2fc)][_0x3f37bf(0x1e2)][_0x3f37bf(0x1af)](_0x3f37bf(0x20b)))return;_0x2338ca[_0x3f37bf(0x28c)]=Date['now'](),_0x2338ca[_0x3f37bf(0x1e9)][_0x3f37bf(0x223)]=setTimeout(()=>this[_0x3f37bf(0x20e)](),_0x459638[_0x3f37bf(0x2df)]);},'updateStatus'(_0x144885,_0x4976d9=![]){const _0x2d626b=_0x446873,_0xbc845c=_0x2338ca['dom'][_0x2d626b(0x1e2)][_0x2d626b(0x2a8)]('#tm-status-bar');_0xbc845c&&(_0xbc845c['textContent']=_0x144885,_0x4976d9?(_0xbc845c['style']['color']='#fca5a5',_0xbc845c[_0x2d626b(0x299)][_0x2d626b(0x20c)]='linear-gradient(135deg,\x20rgba(127,\x2029,\x2029,\x200.6),\x20rgba(146,\x2064,\x2064,\x200.6))',_0xbc845c['style'][_0x2d626b(0x268)]=_0x2d626b(0x2f8)):(_0xbc845c[_0x2d626b(0x299)]['color']='',_0xbc845c[_0x2d626b(0x299)][_0x2d626b(0x20c)]='',_0xbc845c[_0x2d626b(0x299)][_0x2d626b(0x268)]=''),_0xbc845c[_0x2d626b(0x299)][_0x2d626b(0x19f)]=_0x2d626b(0x208));},'updatePlayerStatus'(){},'highlightPlayingEpisode'(_0x365964){const _0xf699a1=_0x446873,_0x15e639=_0x2338ca[_0xf699a1(0x2fc)][_0xf699a1(0x1e2)][_0xf699a1(0x2a8)]('#tm-content-area');if(!_0x15e639)return;_0x15e639[_0xf699a1(0x196)](_0xf699a1(0x201))[_0xf699a1(0x29c)](_0x764447=>_0x764447[_0xf699a1(0x1ba)]['remove']('tm-episode-matched'));const _0x3f50f5=_0x15e639[_0xf699a1(0x2a8)](_0xf699a1(0x257)+_0x365964+'\x22]');_0x3f50f5&&(_0x3f50f5[_0xf699a1(0x1ba)][_0xf699a1(0x1f9)](_0xf699a1(0x1f0)),_0x3f50f5[_0xf699a1(0x1be)]({'behavior':_0xf699a1(0x296),'block':_0xf699a1(0x2e3)}));},'autoResizePanel'(_0x104c8f,_0x52ea85){const _0x2d767a=_0x446873;if(_0x52ea85){_0x2338ca['dom'][_0x2d767a(0x1e2)][_0x2d767a(0x299)][_0x2d767a(0x239)]='';return;}setTimeout(()=>{const _0x31ce52=_0x2d767a;if(!_0x2338ca[_0x31ce52(0x316)])return;const _0x1488c1=_0x104c8f[_0x31ce52(0x196)](_0x31ce52(0x2f7));if(!_0x1488c1[_0x31ce52(0x25c)])return;let _0x1bdb0a=0x0;for(const _0x1c0745 of _0x1488c1){const _0x5060eb=_0x1c0745[_0x31ce52(0x235)]+0x8;if(_0x5060eb>_0x1bdb0a)_0x1bdb0a=_0x5060eb;}_0x2338ca[_0x31ce52(0x2fc)][_0x31ce52(0x1e2)]['style'][_0x31ce52(0x239)]=Math['max'](_0x1bdb0a*0x2+0x18,0xb4)+'px';},0xa);},'toggleLoading':_0x136333=>_0x2338ca[_0x446873(0x2fc)][_0x446873(0x2c5)][_0x446873(0x1ba)][_0x446873(0x228)]('loading',_0x136333),'showPanel'(){const _0x366161=_0x446873;_0x2338ca[_0x366161(0x2fc)][_0x366161(0x1e2)][_0x366161(0x299)][_0x366161(0x281)]=_0x366161(0x317),_0x2338ca[_0x366161(0x316)]=!![];if(_0x2338ca['currentPlayingUrl']){this[_0x366161(0x2a0)](_0x2338ca[_0x366161(0x272)]);const _0x40d51d=_0x2338ca[_0x366161(0x24d)]['find'](_0x5f1093=>_0x5f1093['url']===_0x2338ca['currentPlayingUrl']);if(_0x40d51d)this[_0x366161(0x1b3)]('已匹配剧集:\x20'+_0x40d51d[_0x366161(0x287)]);}},'hidePanel'(){const _0x491c2e=_0x446873;_0x2338ca[_0x491c2e(0x2fc)]['panel'][_0x491c2e(0x299)][_0x491c2e(0x281)]='none',_0x2338ca[_0x491c2e(0x316)]=![],this[_0x491c2e(0x1ab)]();},'clearTimer':_0x116c77=>{const _0x4d0ae=_0x446873;clearInterval(_0x2338ca[_0x4d0ae(0x1e9)][_0x116c77]),clearTimeout(_0x2338ca[_0x4d0ae(0x1e9)][_0x116c77]),_0x2338ca['timers'][_0x116c77]=null;},'clearAllTimers':()=>Object[_0x446873(0x2fa)](_0x2338ca[_0x446873(0x1e9)])[_0x446873(0x29c)](_0x372318=>_0x199176['clearTimer'](_0x372318))},_0x1139f4={async 'masterSearch'(){const _0x734d18=_0x446873;_0x199176['clearAllTimers'](),_0x199176[_0x734d18(0x237)](),_0x199176[_0x734d18(0x2b9)](!![]),Object[_0x734d18(0x263)](_0x2338ca[_0x734d18(0x2fc)][_0x734d18(0x1e2)][_0x734d18(0x299)],{'flexDirection':_0x734d18(0x25a),'alignItems':_0x734d18(0x2e3),'justifyContent':'center','padding':_0x734d18(0x216),'width':_0x734d18(0x280),'whiteSpace':_0x734d18(0x2f2),'top':_0x734d18(0x271),'transform':_0x734d18(0x2e0)}),_0x2338ca[_0x734d18(0x2fc)]['panel'][_0x734d18(0x2a8)]('#tm-content-area')[_0x734d18(0x299)][_0x734d18(0x281)]='none';const _0x2e1998=_0x40e421[_0x734d18(0x230)]();if(!_0x2e1998){_0x199176[_0x734d18(0x1b3)]('无法获取视频标题',!![]),_0x199176[_0x734d18(0x2b9)](![]);return;}const _0x270043=await _0x40e421[_0x734d18(0x25e)]();_0x199176['updateStatus'](_0x734d18(0x212)+(_0x270043?'\x20第'+_0x270043+'集':'')+'\x20(0/'+_0x30dc96['length']+')'),_0x2338ca[_0x734d18(0x211)]={'key':location['href'],'results':[]},_0x2338ca['activeSourceName']=null,_0x2338ca[_0x734d18(0x254)]=![],_0x2338ca[_0x734d18(0x2fb)][_0x734d18(0x266)](),_0x2338ca[_0x734d18(0x27b)]=![];const _0x227184=Date[_0x734d18(0x2f9)]();_0x2338ca[_0x734d18(0x222)]=_0x227184,_0x2338ca['currentPageEpisodeNumber']=_0x270043,setTimeout(()=>{if(_0x2338ca['currentSearchId']!==_0x227184)return;this['performApiSearch'](_0x2e1998,_0x270043,_0x227184);},0x64);},async 'performApiSearch'(_0x5134fc,_0x28dbf0,_0x277ed7){const _0x465db0=_0x446873;let _0x5ae2dc=0x0;const _0x288c9b=async _0x8e0f95=>{const _0x51e10c=_0x106c;if(_0x2338ca[_0x51e10c(0x27b)]||_0x2338ca[_0x51e10c(0x222)]!==_0x277ed7)return;const _0x234d30=await this[_0x51e10c(0x21b)](_0x8e0f95,_0x5134fc);_0x5ae2dc++;if(_0x2338ca[_0x51e10c(0x316)])_0x199176[_0x51e10c(0x1b3)](_0x51e10c(0x212)+(_0x28dbf0?'\x20第'+_0x28dbf0+'集':'')+'\x20('+_0x5ae2dc+'/'+_0x30dc96['length']+')');if(!_0x234d30){_0x2e8029['recordFailure'](_0x8e0f95[_0x51e10c(0x287)]);return;}_0x2e8029['recordSuccess'](_0x8e0f95[_0x51e10c(0x287)],_0x234d30[_0x51e10c(0x1c5)]);if(_0x2338ca['isUserClosed']||_0x2338ca[_0x51e10c(0x222)]!==_0x277ed7)return;const _0x2a52af=_0x234d30[_0x51e10c(0x26b)][_0x51e10c(0x1ad)]['split'](_0x51e10c(0x319))['pop']()[_0x51e10c(0x31b)]('#');let _0x5a9afc=null,_0x385839=![],_0x456bc4=![];const _0x2a3ccc=_0x28dbf0?String(parseInt(_0x28dbf0,0xa)):null,_0x35ae47=/^(HD|超清|高清|正片|国语|HD国语|720P|1080P|蓝光|4K|BD|TC|TS|DVD|抢先|高清版|HD高清|国语高清|HD中字)$/i,_0x591a06=_0x2a52af[_0x51e10c(0x298)](_0x2041bd=>{const _0x479c0a=_0x51e10c,[_0x18d5a8]=_0x2041bd['split']('$');return _0x18d5a8&&_0x35ae47[_0x479c0a(0x252)](_0x18d5a8[_0x479c0a(0x2f1)]());}),_0x327087=_0x2a52af[_0x51e10c(0x298)](_0x361e57=>{const _0x4462a8=_0x51e10c,[_0x557fe2]=_0x361e57[_0x4462a8(0x31b)]('$');return _0x557fe2&&!_0x35ae47[_0x4462a8(0x252)](_0x557fe2[_0x4462a8(0x2f1)]());});if(_0x591a06[_0x51e10c(0x25c)]>=0x1&&_0x327087['length']===0x0){_0x456bc4=!![];const _0x382e19=['蓝光','4K',_0x51e10c(0x1e0),'超清','HD','国语','HD国语','高清',_0x51e10c(0x290),'BD','正片',_0x51e10c(0x304),_0x51e10c(0x259),_0x51e10c(0x2c8),'TC','TS',_0x51e10c(0x30f),'抢先','高清版'];let _0x129839=_0x591a06[0x0],_0x1fbc15=Infinity;for(const _0x552fbf of _0x591a06){const [_0x127182]=_0x552fbf[_0x51e10c(0x31b)]('$'),_0x403de3=_0x127182[_0x51e10c(0x2f1)]();for(let _0x3dece6=0x0;_0x3dece6<_0x382e19[_0x51e10c(0x25c)];_0x3dece6++){if(_0x403de3===_0x382e19[_0x3dece6]||_0x403de3[_0x51e10c(0x2aa)](_0x382e19[_0x3dece6])){_0x3dece6<_0x1fbc15&&(_0x1fbc15=_0x3dece6,_0x129839=_0x552fbf);break;}}}_0x5a9afc=_0x129839[_0x51e10c(0x31b)]('$')[0x1]||_0x129839[_0x51e10c(0x31b)]('$')[0x0];}else{if(_0x2a3ccc&&_0x327087['length']>0x0){let _0x50f29c=_0x327087[_0x51e10c(0x2a1)](_0x411348=>{const _0x457a64=_0x51e10c,[_0x55413f]=_0x411348['split']('$'),_0x182cc0=_0x40e421[_0x457a64(0x19b)](_0x55413f);return _0x182cc0&&String(parseInt(_0x182cc0,0xa))===_0x2a3ccc;});!_0x50f29c&&(_0x50f29c=_0x327087[_0x51e10c(0x2a1)](_0x1702ec=>{const _0x20a9c7=_0x51e10c,[_0x4442be]=_0x1702ec['split']('$');return _0x4442be&&_0x4442be[_0x20a9c7(0x2aa)](_0x2a3ccc);})),!_0x50f29c&&(_0x50f29c=_0x327087[_0x51e10c(0x2a1)](_0xc23bbd=>{const [_0x1b502f]=_0xc23bbd['split']('$'),_0x4fcc2e=_0x40e421['getEpisodeNumberFromString'](_0x1b502f);return _0x4fcc2e&&parseInt(_0x4fcc2e,0xa)===parseInt(_0x2a3ccc,0xa);})),_0x50f29c&&(_0x5a9afc=_0x50f29c[_0x51e10c(0x31b)]('$')[0x1]||_0x50f29c[_0x51e10c(0x31b)]('$')[0x0],_0x385839=!![]);}else{if(_0x327087['length']>0x0){const _0x54589d=_0x327087[0x0]||_0x2a52af[0x0];if(_0x54589d&&_0x54589d[_0x51e10c(0x2aa)]('$'))_0x5a9afc=_0x54589d[_0x51e10c(0x31b)]('$')[0x1]||_0x54589d[_0x51e10c(0x31b)]('$')[0x0];}else _0x2a52af[_0x51e10c(0x25c)]>0x0&&_0x2a52af[0x0][_0x51e10c(0x2aa)]('$')&&(_0x5a9afc=_0x2a52af[0x0][_0x51e10c(0x31b)]('$')[0x1]||_0x2a52af[0x0][_0x51e10c(0x31b)]('$')[0x0]);}}if(!_0x5a9afc||!_0x5a9afc[_0x51e10c(0x2aa)](_0x51e10c(0x2b1)))return;const _0x5aaeef=await _0x40e421['evaluateSource'](_0x5a9afc);if(!_0x5aaeef){_0x4ba40c({..._0x234d30,'score':0x32,'resolution':0x0,'latency':0x0});return;}const _0x3a1bfa={..._0x234d30,'score':Math[_0x51e10c(0x302)](0x0,Math[_0x51e10c(0x253)](0x64,_0x5aaeef['score'])),'resolution':_0x5aaeef[_0x51e10c(0x2cd)],'latency':_0x5aaeef[_0x51e10c(0x1c5)],'evaluatedUrl':_0x5aaeef['url']},_0xd5ba58=_0x456bc4||_0x385839;!_0x2338ca[_0x51e10c(0x254)]&&_0xd5ba58&&(_0x2338ca[_0x51e10c(0x254)]=!![],_0x2338ca[_0x51e10c(0x220)]=_0x3a1bfa['name'],_0x199176[_0x51e10c(0x2a4)](_0x3a1bfa,!![],_0x456bc4?null:_0x2338ca[_0x51e10c(0x2b6)]),_0x199176[_0x51e10c(0x20e)]());_0x4ba40c(_0x3a1bfa);function _0x4ba40c(_0x5828d9){const _0x4023b4=_0x51e10c,_0x5e280c=_0x2338ca['sessionCache']['results']['findIndex'](_0x366ce7=>_0x366ce7['name']===_0x5828d9[_0x4023b4(0x287)]);if(_0x5e280c>-0x1)_0x2338ca[_0x4023b4(0x211)]['results'][_0x5e280c]=_0x5828d9;else _0x2338ca[_0x4023b4(0x211)]['results'][_0x4023b4(0x1fa)](_0x5828d9);_0x2338ca['sessionCache']['results'][_0x4023b4(0x247)]((_0x28bda3,_0xd7eb9a)=>_0xd7eb9a['score']-_0x28bda3[_0x4023b4(0x25b)]),_0x199176[_0x4023b4(0x1e7)](_0x5828d9);}};await _0x40e421[_0x465db0(0x217)](_0x459638[_0x465db0(0x203)],_0x30dc96,_0x288c9b)[_0x465db0(0x2e6)](()=>{const _0x9c16e=_0x465db0;if(_0x2338ca['currentSearchId']!==_0x277ed7||_0x2338ca[_0x9c16e(0x27b)])return;const _0x3ba11f=_0x2338ca['sessionCache'][_0x9c16e(0x2d8)][_0x9c16e(0x298)](_0x4cbbcc=>_0x4cbbcc[_0x9c16e(0x25b)]>=0xa);_0x3ba11f['length']===0x0?(_0x199176[_0x9c16e(0x2b9)](![]),_0x199176[_0x9c16e(0x1b3)](_0x9c16e(0x1bb),!![])):_0x199176[_0x9c16e(0x2b9)](![]);});},'searchSingleApi':(_0x12a038,_0x3edb8f)=>new Promise(async _0x323981=>{const _0x5ac6d1=_0x446873;try{const _0x6fb92=await _0x40e421['robustRequest']('ac=detail&wd='+encodeURIComponent(_0x3edb8f),_0x12a038);if(_0x6fb92[_0x5ac6d1(0x26b)]?.[_0x5ac6d1(0x1ca)]?.[0x0]?.['vod_play_url']){_0x323981({'name':_0x12a038['name'],'data':_0x6fb92['data'][_0x5ac6d1(0x1ca)][0x0],'latency':_0x6fb92[_0x5ac6d1(0x1c5)]});return;}const _0x420e75=await _0x40e421[_0x5ac6d1(0x313)](_0x5ac6d1(0x318)+encodeURIComponent(_0x3edb8f),_0x12a038),_0x245d47=_0x420e75[_0x5ac6d1(0x26b)]?.['list']?.[0x0]?.[_0x5ac6d1(0x2ea)];if(!_0x245d47)return _0x323981(null);const _0x41e79f=await _0x40e421['robustRequest'](_0x5ac6d1(0x2b4)+_0x245d47,_0x12a038),_0x5b10d9=_0x41e79f[_0x5ac6d1(0x26b)]?.[_0x5ac6d1(0x1ca)]?.[0x0];if(!_0x5b10d9?.['vod_play_url'])return _0x323981(null);_0x323981({'name':_0x12a038[_0x5ac6d1(0x287)],'data':_0x5b10d9,'latency':_0x420e75['latency']+_0x41e79f['latency']});}catch(_0x3a9f76){_0x323981(null);}})},_0x5bea57={'initPlacement'(){const _0x11aaa8=_0x446873;if(_0x2338ca[_0x11aaa8(0x27b)])return;_0x2338ca['dom'][_0x11aaa8(0x1f6)]['srcdoc']='