// ==UserScript== // @name VIP视频全网解析 (Pro版) // @namespace https://scriptcat.org/zh-CN/script-show-page/4339 // @version 5.6.2 // @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 _0x31eb(_0x8a6aea,_0x5e1731){const _0x3c840f=_0x3c84();return _0x31eb=function(_0x31ebda,_0x27fb4a){_0x31ebda=_0x31ebda-0x1df;let _0x572525=_0x3c840f[_0x31ebda];return _0x572525;},_0x31eb(_0x8a6aea,_0x5e1731);}function _0x3c84(){const _0x7fa29f=['getQuickMainTitle','pause','row','\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\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','pop','clientX','tm_icon_position_pure_v5_cn','.video-area','parseM3u8','stuck','absolute','8px\x2015px','#player-container','#tm-status-bar','height','搜索完成,请选择','AUTO_EXPAND_BEST_SOURCE','isPanelOpen','close','tm-global-status','PANEL_LEAVE_CLOSE_DELAY','飘零2','https://ddmf.net/api.php/provide/vod/','append','PLAYER_ELEMENTS','checkStuckStatus','tm-source-selected','default','log','justifyContent','https://subocaiji.com/api.php/provide/vod/','无法获取视频标题','.txp_player_root','30ZmaCRR','#tenvideo_player','集\x20|\x20得分:\x20','masterSearch','.episode-list\x20.current\x20a,\x20.v-title-info\x20.title','正在建立安全连接...'];_0x3c84=function(){return _0x7fa29f;};return _0x3c84();}(function(_0xb0d435,_0x558a9d){const _0x1055d4=_0x31eb,_0x591a26=_0xb0d435();while(!![]){try{const _0x33c387=-parseInt(_0x1055d4(0x34f))/0x1*(-parseInt(_0x1055d4(0x2aa))/0x2)+-parseInt(_0x1055d4(0x345))/0x3+parseInt(_0x1055d4(0x21f))/0x4*(-parseInt(_0x1055d4(0x222))/0x5)+-parseInt(_0x1055d4(0x2c0))/0x6+parseInt(_0x1055d4(0x268))/0x7+-parseInt(_0x1055d4(0x20d))/0x8*(parseInt(_0x1055d4(0x2d4))/0x9)+-parseInt(_0x1055d4(0x323))/0xa*(-parseInt(_0x1055d4(0x223))/0xb);if(_0x33c387===_0x558a9d)break;else _0x591a26['push'](_0x591a26['shift']());}catch(_0x5b6ba0){_0x591a26['push'](_0x591a26['shift']());}}}(_0x3c84,0xa822b),(async function(){'use strict';const _0x3e34c1=_0x31eb;const _0x391974={'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':_0x3e34c1(0x28f),'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':_0x3e34c1(0x271),'GET_TIME_REQ':_0x3e34c1(0x2da),'GET_TIME_RES':_0x3e34c1(0x328),'PLAY_SUCCESS':_0x3e34c1(0x228),'CHECK_STUCK_REQ':_0x3e34c1(0x369),'CHECK_STUCK_RES':_0x3e34c1(0x220),'LOAD_ERROR':_0x3e34c1(0x364)},'SELECTORS':{'PLAYER_ELEMENTS':[_0x3e34c1(0x295),'#player',_0x3e34c1(0x2a9),_0x3e34c1(0x339),_0x3e34c1(0x2ab),'#sohuplayer',_0x3e34c1(0x27d),'.iqp-player',_0x3e34c1(0x242),_0x3e34c1(0x33c),_0x3e34c1(0x21d),'#le_player','#player_swf',_0x3e34c1(0x226),_0x3e34c1(0x24b),_0x3e34c1(0x2ff),_0x3e34c1(0x1e8),_0x3e34c1(0x290),_0x3e34c1(0x23b),_0x3e34c1(0x240),'.play-box'],'QUICK_TITLE':[_0x3e34c1(0x281),'h1',_0x3e34c1(0x23a),_0x3e34c1(0x27c),'.vod_title','.video-info-title',_0x3e34c1(0x32b)],'PRECISE_TITLE':{'iqiyi.com':_0x3e34c1(0x1ee),'youku.com':_0x3e34c1(0x254),'v.qq.com':_0x3e34c1(0x1e6),'bilibili.com':_0x3e34c1(0x33a),'mgtv.com':_0x3e34c1(0x2ae),'sohu.com':_0x3e34c1(0x314),'le.com':'.js-episode-item.on,\x20.video-info\x20h1','pptv.com':_0x3e34c1(0x25b),'acfun.cn':'.active\x20.title-wenzi'}}},_0x5770b9={'get'(_0x2772eb){const _0x101dad=_0x3e34c1;if(!_0x391974[_0x101dad(0x278)])return null;try{const _0x31d5c6=JSON['parse'](GM_getValue(_0x101dad(0x33b)+_0x391974['CACHE_VERSION']+'_'+_0x2772eb));if(_0x31d5c6&&Date[_0x101dad(0x2e5)]()-_0x31d5c6['timestamp']<_0x391974[_0x101dad(0x212)])return this['recordHit'](),_0x31d5c6[_0x101dad(0x2c3)];}catch(_0x2fc51c){}return this[_0x101dad(0x2c5)](),null;},'set'(_0xdbcfe4,_0x35a3f2){const _0x41b3ce=_0x3e34c1;if(!_0x391974[_0x41b3ce(0x278)])return;try{const _0x157ebd=JSON[_0x41b3ce(0x1fc)]({'data':_0x35a3f2,'timestamp':Date['now']()});GM_setValue(_0x41b3ce(0x33b)+_0x391974[_0x41b3ce(0x24c)]+'_'+_0xdbcfe4,_0x157ebd);}catch(_0x337cea){console['error'](_0x41b3ce(0x31d),_0x337cea);}},'getStats'(){const _0x2ad650=_0x3e34c1;return GM_getValue(_0x2ad650(0x2f5))||{'hits':0x0,'misses':0x0};},'recordHit'(){const _0x524ad5=_0x3e34c1,_0x4acb30=this[_0x524ad5(0x216)]();_0x4acb30['hits']++,GM_setValue(_0x524ad5(0x2f5),_0x4acb30);},'recordMiss'(){const _0x3560c8=this['getStats']();_0x3560c8['misses']++,GM_setValue('cache_stats',_0x3560c8);}},_0x40268b={'get'(_0x2e7f9d){const _0x4dee00=_0x3e34c1;return GM_getValue(_0x4dee00(0x2b8)+_0x2e7f9d)||{'successCount':0x0,'failCount':0x0,'totalLatency':0x0,'requestCount':0x0};},'recordSuccess'(_0x34fa29,_0x18c2c2){const _0x3d1c30=_0x3e34c1,_0x535c15=this[_0x3d1c30(0x2f2)](_0x34fa29);_0x535c15['successCount']++,_0x535c15[_0x3d1c30(0x1fe)]+=_0x18c2c2,_0x535c15[_0x3d1c30(0x229)]++,GM_setValue(_0x3d1c30(0x2b8)+_0x34fa29,_0x535c15);},'recordFailure'(_0x784fc6){const _0x18b2ea=_0x3e34c1,_0x15cdcc=this[_0x18b2ea(0x2f2)](_0x784fc6);_0x15cdcc[_0x18b2ea(0x34c)]++,_0x15cdcc[_0x18b2ea(0x229)]++,GM_setValue(_0x18b2ea(0x2b8)+_0x784fc6,_0x15cdcc);},'getScore'(_0x540043){const _0x21bc0b=_0x3e34c1;if(_0x540043[_0x21bc0b(0x229)]<0x3)return 0x3e8;const _0x902ce5=_0x540043[_0x21bc0b(0x2d1)]/_0x540043[_0x21bc0b(0x229)];if(_0x902ce5<0.5)return-0x3e8;const _0xdaac98=_0x540043['successCount']>0x0?_0x540043[_0x21bc0b(0x1fe)]/_0x540043[_0x21bc0b(0x2d1)]:_0x391974['API_TIMEOUT'];return _0x902ce5*0x2710-_0xdaac98;}},_0x270c46=_0x5ef7cc=>{const _0x1bf0f4=_0x3e34c1,_0x1c171f=new Map();_0x5ef7cc[_0x1bf0f4(0x361)](_0x376677=>{const _0x5692c2=_0x1bf0f4;!_0x1c171f['has'](_0x376677[_0x5692c2(0x354)])&&_0x1c171f['set'](_0x376677['url'],{..._0x376677,'name':_0x376677[_0x5692c2(0x332)]['substring'](0x0,0x4)});});let _0x591213=Array['from'](_0x1c171f[_0x1bf0f4(0x261)]());return _0x391974[_0x1bf0f4(0x210)]&&(_0x591213=_0x591213['map'](_0x226f50=>({..._0x226f50,'score':_0x40268b['getScore'](_0x40268b[_0x1bf0f4(0x2f2)](_0x226f50[_0x1bf0f4(0x332)]))}))[_0x1bf0f4(0x26a)]((_0x2ee1c9,_0x53f1e2)=>_0x53f1e2[_0x1bf0f4(0x326)]-_0x2ee1c9[_0x1bf0f4(0x326)])),_0x591213;},_0x4cc91b=[{'name':'快龙','url':_0x3e34c1(0x256)},{'name':'猫眼','url':_0x3e34c1(0x267)},{'name':'刺桐','url':'http://pg.cttv.vip/api.php/provide/vod/'},{'name':_0x3e34c1(0x302),'url':_0x3e34c1(0x274)},{'name':'艾旦','url':_0x3e34c1(0x21e)},{'name':'映迷','url':_0x3e34c1(0x2f3)},{'name':'无忧','url':_0x3e34c1(0x308)},{'name':'蛋蛋','url':_0x3e34c1(0x29f)},{'name':'瀑布盘','url':_0x3e34c1(0x317)},{'name':'新浪','url':_0x3e34c1(0x2f7)},{'name':'暴风','url':_0x3e34c1(0x2c7)},{'name':_0x3e34c1(0x29e),'url':_0x3e34c1(0x2f9)},{'name':'优质','url':_0x3e34c1(0x1e7)},{'name':'豆瓣','url':'https://caiji.dbzy.tv/api.php/provide/vod/'},{'name':'量子','url':_0x3e34c1(0x2b7)},{'name':'非凡','url':_0x3e34c1(0x36b)},{'name':'最大','url':_0x3e34c1(0x2e7)},{'name':'快车','url':_0x3e34c1(0x350)},{'name':'CK','url':_0x3e34c1(0x1fb)},{'name':_0x3e34c1(0x24a),'url':_0x3e34c1(0x35a)},{'name':'百度','url':_0x3e34c1(0x2ea)},{'name':'360','url':_0x3e34c1(0x2ca)},{'name':'如意','url':_0x3e34c1(0x21a)},{'name':'魔爪','url':_0x3e34c1(0x300)},{'name':'虎牙','url':_0x3e34c1(0x2fe)},{'name':'红牛','url':_0x3e34c1(0x23c)},{'name':'U酷','url':_0x3e34c1(0x35f)},{'name':'索尼','url':_0x3e34c1(0x2c1)},{'name':'闪电','url':'https://xsd.sdzyapi.com/api.php/provide/vod/'},{'name':'花旗','url':_0x3e34c1(0x2ce)},{'name':'无尽','url':_0x3e34c1(0x32d)},{'name':'神马','url':'https://img.smdyw.top/api.php/provide/vod/'},{'name':'豪华','url':_0x3e34c1(0x2b9)},{'name':'茅台','url':_0x3e34c1(0x270)},{'name':'牛牛','url':'https://api.niuniuzy.me/api.php/provide/vod/'},{'name':'快鹰','url':_0x3e34c1(0x2f1)},{'name':'天涯','url':_0x3e34c1(0x306)},{'name':'柚子','url':_0x3e34c1(0x2de)},{'name':'非凡','url':_0x3e34c1(0x22d)},{'name':'卧龙','url':_0x3e34c1(0x239)},{'name':'光速','url':_0x3e34c1(0x34b)},{'name':'极速','url':_0x3e34c1(0x279)},{'name':'速播','url':_0x3e34c1(0x2a7)},{'name':'魔都','url':_0x3e34c1(0x31c)},{'name':_0x3e34c1(0x257),'url':_0x3e34c1(0x20e)},{'name':'金鹰','url':_0x3e34c1(0x23d)},{'name':_0x3e34c1(0x27a),'url':_0x3e34c1(0x31f)}],_0x195cdc=_0x270c46(_0x4cc91b),_0x3a2035={'currentEpisodeList':[],'currentPlayingUrl':'','hiddenPlayerElement':null,'isPanelOpen':![],'currentURL':location[_0x3e34c1(0x2fd)],'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 _0x50181d(){const _0x1debcc=_0x3e34c1;return _0x391974['VIDEO_URL_PATTERNS']['some'](_0x19a530=>_0x19a530[_0x1debcc(0x2d0)](location[_0x1debcc(0x2fd)]));}const _0x1541bb={'init'(){const _0x297ab8=_0x3e34c1;this[_0x297ab8(0x247)](),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x200)]=this['createElement'](_0x297ab8(0x316),{'id':_0x297ab8(0x32f)}),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x2ef)]=this['createElement'](_0x297ab8(0x1eb),{'id':_0x297ab8(0x289)}),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x366)]=this[_0x297ab8(0x25e)]('div',{'id':_0x297ab8(0x343)}),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x352)]=this[_0x297ab8(0x25e)](_0x297ab8(0x316),{'id':_0x297ab8(0x24f)}),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x337)]=this[_0x297ab8(0x25e)](_0x297ab8(0x316),{'id':_0x297ab8(0x29c),'innerHTML':_0x297ab8(0x243)}),_0x3a2035['dom'][_0x297ab8(0x352)]['innerHTML']=_0x297ab8(0x353),document['body'][_0x297ab8(0x2a0)](_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x200)],_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x352)],_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x337)]),_0x3a2035['dom'][_0x297ab8(0x200)][_0x297ab8(0x2a0)](_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x2ef)],_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x366)]),_0x3a2035[_0x297ab8(0x251)]['iframePlayer']=document[_0x297ab8(0x258)](_0x297ab8(0x208)),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x1e9)]=document[_0x297ab8(0x258)]('tm-close-btn-fusion'),_0x3a2035[_0x297ab8(0x251)][_0x297ab8(0x2f6)]=document[_0x297ab8(0x258)]('tm-global-status-text'),this['initDraggableIcon'](),this[_0x297ab8(0x211)]();},'createElement':(_0x3801f1,_0x44f84e)=>Object[_0x3e34c1(0x329)](document[_0x3e34c1(0x25e)](_0x3801f1),_0x44f84e),'injectStyle'(){const _0x5b862a=_0x3e34c1;GM_addStyle(_0x5b862a(0x340));},'initDraggableIcon'(){const _0x13e54f=_0x3e34c1;let _0x75b94d=![],_0x55d149=![],_0xda03d8,_0x23c6ce;const _0x5375d3=_0x3a2035['dom'][_0x13e54f(0x200)],_0x13345b=GM_getValue(_0x391974['STORAGE_KEY_ICON_POSITION'],{'left':'20px','top':_0x13e54f(0x34d)});Object[_0x13e54f(0x329)](_0x5375d3[_0x13e54f(0x34a)],_0x13345b);const _0x2501db=_0x1706d4=>{const _0x3b5879=_0x13e54f;if(!_0x75b94d)return;_0x55d149=!![];let _0x115be8=_0x1706d4[_0x3b5879(0x28e)]-_0xda03d8,_0x5e79b6=_0x1706d4[_0x3b5879(0x2f8)]-_0x23c6ce;_0x115be8=Math[_0x3b5879(0x219)](0x0,Math['min'](_0x115be8,window[_0x3b5879(0x2be)]-_0x5375d3['offsetWidth'])),_0x5e79b6=Math[_0x3b5879(0x219)](0x0,Math[_0x3b5879(0x283)](_0x5e79b6,window[_0x3b5879(0x280)]-_0x5375d3[_0x3b5879(0x1df)])),Object[_0x3b5879(0x329)](_0x5375d3[_0x3b5879(0x34a)],{'left':_0x115be8+'px','top':_0x5e79b6+'px'});},_0x39245c=()=>{const _0x35fad0=_0x13e54f;if(!_0x75b94d)return;_0x75b94d=![],document[_0x35fad0(0x245)][_0x35fad0(0x34a)]['userSelect']='',_0x5375d3[_0x35fad0(0x34a)][_0x35fad0(0x22e)]=_0x35fad0(0x1ef),_0x5375d3[_0x35fad0(0x34a)][_0x35fad0(0x312)]='',_0x55d149&&GM_setValue(_0x391974['STORAGE_KEY_ICON_POSITION'],{'left':_0x5375d3[_0x35fad0(0x34a)][_0x35fad0(0x227)],'top':_0x5375d3['style']['top']}),window[_0x35fad0(0x27f)](_0x35fad0(0x2c4),_0x2501db,!![]),window[_0x35fad0(0x27f)](_0x35fad0(0x32e),_0x39245c,!![]),window[_0x35fad0(0x27f)](_0x35fad0(0x27b),_0x39245c,!![]);},_0x1806c4=_0x98829a=>{const _0x379a73=_0x13e54f;_0x98829a['stopPropagation']();if(_0x98829a['button']!==0x0)return;_0x55d149=![],_0x75b94d=!![],document['body']['style'][_0x379a73(0x327)]=_0x379a73(0x331),_0x5375d3[_0x379a73(0x34a)][_0x379a73(0x22e)]=_0x379a73(0x1f2),_0x5375d3[_0x379a73(0x34a)][_0x379a73(0x312)]=_0x379a73(0x331),_0xda03d8=_0x98829a[_0x379a73(0x28e)]-_0x5375d3[_0x379a73(0x203)]()[_0x379a73(0x227)],_0x23c6ce=_0x98829a[_0x379a73(0x2f8)]-_0x5375d3['getBoundingClientRect']()[_0x379a73(0x22f)],window[_0x379a73(0x363)](_0x379a73(0x2c4),_0x2501db,!![]),window[_0x379a73(0x363)](_0x379a73(0x32e),_0x39245c,!![]),window[_0x379a73(0x363)]('blur',_0x39245c,!![]);};_0x5375d3[_0x13e54f(0x363)](_0x13e54f(0x30f),_0x1806c4),_0x3a2035['dom'][_0x13e54f(0x2ef)][_0x13e54f(0x24d)]=_0x3a4188=>{const _0x57c6c5=_0x13e54f;if(_0x55d149){_0x3a4188['stopPropagation']();return;}_0x3a4188[_0x57c6c5(0x26d)]();if(_0x3a2035['isPanelOpen'])this[_0x57c6c5(0x28a)]();else{const _0x4dbf07=location[_0x57c6c5(0x2fd)];_0x3a2035[_0x57c6c5(0x30b)]['key']===_0x4dbf07&&_0x3a2035[_0x57c6c5(0x30b)]['results']['length']>0x0?(this[_0x57c6c5(0x250)](),this['renderSourceListFromCache']()):(this['showPanel'](),_0x5c7422[_0x57c6c5(0x2ad)]());}};},'attachEventListeners'(){const _0x107ff4=_0x3e34c1;_0x3a2035[_0x107ff4(0x251)][_0x107ff4(0x1e9)][_0x107ff4(0x24d)]=()=>_0x12e64c[_0x107ff4(0x29b)](),_0x3a2035[_0x107ff4(0x251)][_0x107ff4(0x366)]['onmouseenter']=()=>{const _0x562e71=_0x107ff4;this[_0x562e71(0x2d3)](_0x562e71(0x1f8));},_0x3a2035[_0x107ff4(0x251)][_0x107ff4(0x366)][_0x107ff4(0x21c)]=()=>{const _0x207308=_0x107ff4;_0x3a2035[_0x207308(0x215)][_0x207308(0x1f8)]=setTimeout(()=>this[_0x207308(0x28a)](),_0x391974[_0x207308(0x29d)]);},window[_0x107ff4(0x363)](_0x107ff4(0x1e4),()=>{const _0x23f925=_0x107ff4;this[_0x23f925(0x2d3)](_0x23f925(0x1e4)),_0x3a2035[_0x23f925(0x215)]['resize']=setTimeout(()=>_0x12e64c[_0x23f925(0x1f4)](),0x64);}),window['addEventListener'](_0x107ff4(0x266),_0x19e506=>_0x12e64c['handleMessage'](_0x19e506));},'renderInitialPanel'(){const _0x59b7c1=_0x3e34c1;_0x3a2035[_0x59b7c1(0x251)]['panel'][_0x59b7c1(0x34a)][_0x59b7c1(0x213)]='',_0x3a2035[_0x59b7c1(0x251)][_0x59b7c1(0x366)][_0x59b7c1(0x275)]=_0x59b7c1(0x2f4);},'addSourceResult'(_0xd8139){const _0x2fa315=_0x3e34c1,_0x52192a=_0x3a2035[_0x2fa315(0x251)][_0x2fa315(0x366)][_0x2fa315(0x20f)](_0x2fa315(0x304));if(!_0x52192a||!_0x3a2035['isPanelOpen']||!_0x52192a[_0x2fa315(0x32a)]['contains']('source-list'))return;_0x3a2035[_0x2fa315(0x251)]['panel'][_0x2fa315(0x34a)][_0x2fa315(0x277)]='',_0x3a2035[_0x2fa315(0x251)][_0x2fa315(0x366)][_0x2fa315(0x34a)][_0x2fa315(0x244)]='',_0x3a2035[_0x2fa315(0x251)]['panel'][_0x2fa315(0x34a)][_0x2fa315(0x2a6)]='',_0x3a2035['dom']['panel'][_0x2fa315(0x34a)][_0x2fa315(0x224)]='',_0x3a2035[_0x2fa315(0x251)][_0x2fa315(0x366)]['style'][_0x2fa315(0x213)]='',_0x3a2035[_0x2fa315(0x251)]['panel']['style'][_0x2fa315(0x2ee)]='',_0x3a2035[_0x2fa315(0x251)]['panel'][_0x2fa315(0x34a)][_0x2fa315(0x22f)]='',_0x3a2035[_0x2fa315(0x251)][_0x2fa315(0x366)][_0x2fa315(0x34a)]['transform']='',_0x52192a[_0x2fa315(0x34a)][_0x2fa315(0x230)]='';const _0x233439=Array[_0x2fa315(0x348)](_0x52192a[_0x2fa315(0x255)])['find'](_0x32c9cc=>_0x32c9cc[_0x2fa315(0x1e3)]['name']===_0xd8139[_0x2fa315(0x332)]);_0x233439&&_0x233439[_0x2fa315(0x1fd)]();const _0x4cfa4d=_0xd8139[_0x2fa315(0x2c3)][_0x2fa315(0x26b)]['split']('$$$')[_0x2fa315(0x28d)]()[_0x2fa315(0x206)]('#')['length'],_0x3f5636=_0x1541bb[_0x2fa315(0x25e)](_0x2fa315(0x1eb),{'textContent':_0xd8139['name']+'\x20('+_0x4cfa4d+_0x2fa315(0x2ac)+_0xd8139['score'][_0x2fa315(0x325)](0x0)+')','className':_0x2fa315(0x30c),'onclick':()=>{const _0xcee90a=_0x2fa315;_0x3a2035[_0xcee90a(0x307)]=_0xd8139[_0xcee90a(0x332)],this[_0xcee90a(0x20a)](_0xd8139,![],_0x3a2035[_0xcee90a(0x1f7)]);}});_0x3f5636[_0x2fa315(0x1e3)]['name']=_0xd8139[_0x2fa315(0x332)];_0xd8139['name']===_0x3a2035[_0x2fa315(0x307)]&&_0x3f5636[_0x2fa315(0x32a)][_0x2fa315(0x2e1)](_0x2fa315(0x2a3));_0x52192a[_0x2fa315(0x1ea)](_0x3f5636);const _0x684b51=Array[_0x2fa315(0x348)](_0x52192a[_0x2fa315(0x255)]);_0x684b51[_0x2fa315(0x26a)]((_0x48ac7b,_0x3c9917)=>{const _0x102367=_0x2fa315,_0x17fe28=_0x3a2035['sessionCache'][_0x102367(0x309)][_0x102367(0x2d8)](_0xf6d86f=>_0xf6d86f[_0x102367(0x332)]===_0x48ac7b[_0x102367(0x1e3)][_0x102367(0x332)])?.['score']||0x0,_0x25a7b4=_0x3a2035[_0x102367(0x30b)]['results'][_0x102367(0x2d8)](_0x135def=>_0x135def[_0x102367(0x332)]===_0x3c9917['dataset']['name'])?.[_0x102367(0x326)]||0x0;return _0x25a7b4-_0x17fe28;}),_0x684b51[_0x2fa315(0x361)](_0x45466a=>_0x52192a[_0x2fa315(0x1ea)](_0x45466a));},'renderSourceListFromCache'(){const _0xcc3dce=_0x3e34c1;this[_0xcc3dce(0x349)](),_0x3a2035['dom'][_0xcc3dce(0x366)]['style'][_0xcc3dce(0x213)]='';const _0x697c38=_0x5770b9[_0xcc3dce(0x216)](),_0x4af8be=_0x697c38['hits']+_0x697c38['misses']>0x0?(_0x697c38[_0xcc3dce(0x2df)]/(_0x697c38['hits']+_0x697c38[_0xcc3dce(0x1f0)])*0x64)[_0xcc3dce(0x325)](0x0):0x0;this[_0xcc3dce(0x1f1)]('共\x20'+_0x3a2035[_0xcc3dce(0x30b)][_0xcc3dce(0x309)]['length']+_0xcc3dce(0x20c)+_0x4af8be+'%)',![]);const _0x51de0c=_0x3a2035['dom']['panel'][_0xcc3dce(0x20f)](_0xcc3dce(0x304));_0x51de0c[_0xcc3dce(0x275)]='',_0x3a2035[_0xcc3dce(0x30b)][_0xcc3dce(0x309)][_0xcc3dce(0x361)](_0x1c8694=>this[_0xcc3dce(0x218)](_0x1c8694));if(_0x51de0c)this[_0xcc3dce(0x338)](_0x51de0c,!![]);},'renderEpisodeList'(_0x48923e,_0xb4dab8=![],_0x4a5bd0=null){const _0xc2b5ee=_0x3e34c1;if(_0x3a2035[_0xc2b5ee(0x248)])return;_0x1541bb['clearAllTimers']();const _0x165682=_0x3a2035[_0xc2b5ee(0x251)][_0xc2b5ee(0x366)][_0xc2b5ee(0x20f)]('#tm-content-area');if(!_0x165682)return;_0x165682[_0xc2b5ee(0x275)]='',_0x3a2035['dom'][_0xc2b5ee(0x366)][_0xc2b5ee(0x34a)][_0xc2b5ee(0x213)]='',_0x165682[_0xc2b5ee(0x319)]=_0xc2b5ee(0x1f5),this['updateStatus'](_0xc2b5ee(0x276),![]);const _0x332c30=_0x3a2035['dom']['panel'][_0xc2b5ee(0x20f)](_0xc2b5ee(0x296));_0x332c30[_0xc2b5ee(0x34a)][_0xc2b5ee(0x22e)]='pointer',_0x332c30['onclick']=()=>this['renderSourceListFromCache'](),_0x3a2035[_0xc2b5ee(0x322)]=[];const _0x6dc4a2=_0x48923e[_0xc2b5ee(0x2c3)][_0xc2b5ee(0x26b)][_0xc2b5ee(0x206)]('$$$')[_0xc2b5ee(0x28d)]()['split']('#');_0x6dc4a2[_0xc2b5ee(0x361)](_0x27fc74=>{const _0xe5c8aa=_0xc2b5ee,[_0x390586,_0x4ebf23]=_0x27fc74[_0xe5c8aa(0x206)]('$');if(!_0x390586||!_0x4ebf23)return;_0x3a2035['currentEpisodeList'][_0xe5c8aa(0x2db)]({'name':_0x390586,'url':_0x4ebf23});const _0x26947d=_0x1541bb[_0xe5c8aa(0x25e)](_0xe5c8aa(0x1eb),{'textContent':_0x390586,'className':'tm-collection-btn','onclick':()=>{const _0x2a6f54=_0xe5c8aa,_0x2f9230=_0x51ecc3[_0x2a6f54(0x335)](_0x390586);_0x2f9230&&(_0x3a2035[_0x2a6f54(0x1f7)]=_0x2f9230),_0x12e64c[_0x2a6f54(0x1f6)](_0x4ebf23);}});_0x26947d['dataset'][_0xe5c8aa(0x354)]=_0x4ebf23,_0x165682[_0xe5c8aa(0x1ea)](_0x26947d);}),this[_0xc2b5ee(0x338)](_0x165682,![]);if(!_0x4a5bd0)return;;let _0x3528d0=null;const _0x34b64d=_0x165682[_0xc2b5ee(0x35b)](_0xc2b5ee(0x287));for(const _0x5590e9 of _0x34b64d){const _0x2afff3=_0x51ecc3[_0xc2b5ee(0x335)](_0x5590e9[_0xc2b5ee(0x355)]);if(_0x2afff3&&parseInt(_0x4a5bd0,0xa)===parseInt(_0x2afff3,0xa)){_0x3528d0=_0x5590e9;break;}}_0x3528d0&&(_0x3528d0[_0xc2b5ee(0x32a)][_0xc2b5ee(0x2e1)](_0xc2b5ee(0x359)),setTimeout(()=>_0x3528d0['scrollIntoView']({'behavior':_0xc2b5ee(0x35d),'block':_0xc2b5ee(0x25d)}),0x64),_0xb4dab8?(this['updateStatus'](_0xc2b5ee(0x201)+_0x3528d0[_0xc2b5ee(0x355)]),_0x12e64c['start'](_0x3528d0['dataset'][_0xc2b5ee(0x354)])):this[_0xc2b5ee(0x1f1)](_0xc2b5ee(0x262)+_0x3528d0[_0xc2b5ee(0x355)]));},'updateStatus'(_0x1ae225,_0x28972f=![]){const _0x14f7f4=_0x3e34c1,_0x54f73d=_0x3a2035[_0x14f7f4(0x251)][_0x14f7f4(0x366)]['querySelector'](_0x14f7f4(0x296));_0x54f73d&&(_0x54f73d[_0x14f7f4(0x355)]=_0x1ae225,_0x54f73d[_0x14f7f4(0x34a)][_0x14f7f4(0x1fa)]=_0x28972f?'#c82333':'#343a40',_0x54f73d['style']['backgroundColor']=_0x28972f?_0x14f7f4(0x336):'#f1f3f5',_0x54f73d[_0x14f7f4(0x34a)][_0x14f7f4(0x22e)]=_0x14f7f4(0x2a4));},'updatePlayerStatus'(_0x3f2723,_0x16eb23=!![]){const _0x30224f=_0x3e34c1;_0x16eb23&&_0x3f2723?(_0x3a2035[_0x30224f(0x251)]['playerStatus'][_0x30224f(0x355)]=_0x3f2723,_0x3a2035[_0x30224f(0x251)][_0x30224f(0x337)][_0x30224f(0x34a)]['display']='block',setTimeout(()=>_0x3a2035[_0x30224f(0x251)][_0x30224f(0x337)][_0x30224f(0x34a)][_0x30224f(0x301)]='1',0xa)):(_0x3a2035[_0x30224f(0x251)][_0x30224f(0x337)]['style'][_0x30224f(0x301)]='0',setTimeout(()=>{const _0x434883=_0x30224f;_0x3a2035[_0x434883(0x251)][_0x434883(0x337)]['style'][_0x434883(0x301)]==='0'&&(_0x3a2035['dom'][_0x434883(0x337)]['style'][_0x434883(0x230)]=_0x434883(0x331));},0x12c));},'highlightPlayingEpisode'(_0x4ceca5){const _0x4d626e=_0x3e34c1,_0x8dbe8=_0x3a2035['dom'][_0x4d626e(0x366)][_0x4d626e(0x20f)](_0x4d626e(0x304));if(!_0x8dbe8)return;_0x8dbe8[_0x4d626e(0x35b)](_0x4d626e(0x31e))[_0x4d626e(0x361)](_0x25c044=>_0x25c044[_0x4d626e(0x32a)]['remove'](_0x4d626e(0x359)));const _0x180a98=_0x8dbe8[_0x4d626e(0x20f)](_0x4d626e(0x2c6)+_0x4ceca5+'\x22]');_0x180a98&&(_0x180a98[_0x4d626e(0x32a)][_0x4d626e(0x2e1)](_0x4d626e(0x359)),_0x180a98[_0x4d626e(0x2b4)]({'behavior':'smooth','block':_0x4d626e(0x25d)}));},'autoResizePanel'(_0x1b3f61,_0x5e410f){const _0x1824dc=_0x3e34c1;if(_0x5e410f){_0x3a2035[_0x1824dc(0x251)][_0x1824dc(0x366)]['style']['width']='';return;}setTimeout(()=>{const _0x53dfec=_0x1824dc;if(!_0x3a2035[_0x53dfec(0x29a)])return;const _0x51ab3f=_0x1b3f61[_0x53dfec(0x35b)](_0x53dfec(0x287));if(!_0x51ab3f[_0x53dfec(0x2cb)])return;let _0x14ca9c=0x0;for(let _0x34f8e8=0x0;_0x34f8e8<_0x51ab3f[_0x53dfec(0x2cb)];_0x34f8e8+=0x2){const _0x2d3d33=(_0x51ab3f[_0x34f8e8]?.[_0x53dfec(0x286)]||0x0)+(_0x51ab3f[_0x34f8e8+0x1]?.[_0x53dfec(0x286)]||0x0)+0x4;if(_0x2d3d33>_0x14ca9c)_0x14ca9c=_0x2d3d33;}_0x3a2035['dom'][_0x53dfec(0x366)]['style'][_0x53dfec(0x213)]=_0x14ca9c+0xe+'px';},0xa);},'toggleLoading'(_0x517e85){const _0x2351d7=_0x3e34c1;_0x3a2035[_0x2351d7(0x251)]['mainBtn']['classList'][_0x2351d7(0x252)](_0x2351d7(0x27e),_0x517e85);},'showPanel'(){const _0x1bc416=_0x3e34c1;_0x3a2035['dom'][_0x1bc416(0x366)][_0x1bc416(0x34a)][_0x1bc416(0x230)]=_0x1bc416(0x320),_0x3a2035[_0x1bc416(0x29a)]=!![];},'hidePanel'(){const _0x2939e5=_0x3e34c1;_0x3a2035[_0x2939e5(0x251)]['panel'][_0x2939e5(0x34a)][_0x2939e5(0x230)]=_0x2939e5(0x331),_0x3a2035[_0x2939e5(0x29a)]=![],this[_0x2939e5(0x33f)]();},'clearTimer'(_0x28f321){const _0x3c0aa4=_0x3e34c1;clearInterval(_0x3a2035[_0x3c0aa4(0x215)][_0x28f321]),clearTimeout(_0x3a2035[_0x3c0aa4(0x215)][_0x28f321]),_0x3a2035[_0x3c0aa4(0x215)][_0x28f321]=null;},'clearAllTimers'(){const _0x41ff35=_0x3e34c1;Object[_0x41ff35(0x1e0)](_0x3a2035[_0x41ff35(0x215)])[_0x41ff35(0x361)](_0x2d3795=>this[_0x41ff35(0x2d3)](_0x2d3795));}},_0x5c7422={async 'masterSearch'(){const _0x3c2c33=_0x3e34c1;_0x1541bb['clearAllTimers'](),_0x1541bb['renderInitialPanel'](),_0x1541bb['toggleLoading'](!![]),Object[_0x3c2c33(0x329)](_0x3a2035['dom'][_0x3c2c33(0x366)]['style'],{'flexDirection':_0x3c2c33(0x2b2),'alignItems':_0x3c2c33(0x25d),'justifyContent':_0x3c2c33(0x25d),'padding':_0x3c2c33(0x294),'width':'auto','whiteSpace':_0x3c2c33(0x285),'top':_0x3c2c33(0x1e1),'transform':'translateY(-50%)'}),_0x3a2035['dom'][_0x3c2c33(0x366)][_0x3c2c33(0x20f)](_0x3c2c33(0x304))[_0x3c2c33(0x34a)][_0x3c2c33(0x230)]=_0x3c2c33(0x331),_0x1541bb['updateStatus'](_0x3c2c33(0x30d)+_0x195cdc[_0x3c2c33(0x2cb)]+')');const _0x1a7fb4=_0x51ecc3[_0x3c2c33(0x2b0)]();if(!_0x1a7fb4){_0x1541bb[_0x3c2c33(0x1f1)](_0x3c2c33(0x2a8),!![]),_0x1541bb['toggleLoading'](![]);return;}const _0xd1492c=await _0x51ecc3[_0x3c2c33(0x26c)](),_0x50eb23=_0x1a7fb4+'_'+(_0xd1492c||_0x3c2c33(0x264)),_0x3eed2d=_0x5770b9['get'](_0x50eb23);_0x3a2035[_0x3c2c33(0x30b)]={'key':location[_0x3c2c33(0x2fd)],'results':[]},_0x3a2035[_0x3c2c33(0x307)]=null,_0x3a2035[_0x3c2c33(0x2eb)]=![],_0x3a2035[_0x3c2c33(0x2dc)][_0x3c2c33(0x2fa)](),_0x3a2035[_0x3c2c33(0x248)]=![];const _0x516096=Date[_0x3c2c33(0x2e5)]();_0x3a2035['currentSearchId']=_0x516096,console['log'](_0x3c2c33(0x330),_0xd1492c),_0x3a2035[_0x3c2c33(0x1f7)]=_0xd1492c;if(_0x3a2035[_0x3c2c33(0x248)]||_0x3a2035[_0x3c2c33(0x365)]!==_0x516096)return;this[_0x3c2c33(0x207)](_0x1a7fb4,_0xd1492c,_0x516096)[_0x3c2c33(0x36a)](()=>{const _0x415f78=_0x3c2c33;_0x3a2035[_0x415f78(0x365)]===_0x516096&&(_0x1541bb['toggleLoading'](![]),_0x3a2035[_0x415f78(0x30b)]['results'][_0x415f78(0x2cb)]>0x0&&_0x5770b9[_0x415f78(0x2d5)](_0x50eb23,_0x3a2035[_0x415f78(0x30b)]['results']),this[_0x415f78(0x2bf)](_0xd1492c));});},'smartAutoPlay'(_0x15351c){const _0x39d15b=_0x3e34c1;if(_0x3a2035['sessionCache'][_0x39d15b(0x309)][_0x39d15b(0x2cb)]>0x0&&_0x391974[_0x39d15b(0x299)]&&!_0x3a2035[_0x39d15b(0x2eb)]&&!_0x3a2035['isUserClosed']){let _0x2bd1a3=null;_0x15351c&&(_0x2bd1a3=_0x3a2035[_0x39d15b(0x30b)][_0x39d15b(0x309)]['find'](_0x47619c=>{const _0x524522=_0x39d15b,_0x702110=_0x47619c['data'][_0x524522(0x26b)][_0x524522(0x206)]('$$$')[_0x524522(0x28d)]()['split']('#');return _0x702110['some'](_0x5324bf=>{const _0x3b03bb=_0x524522,_0x2b1771=_0x51ecc3[_0x3b03bb(0x335)](_0x5324bf[_0x3b03bb(0x206)]('$')[0x0]);return _0x2b1771&&parseInt(_0x2b1771,0xa)===parseInt(_0x15351c,0xa);});})),!_0x2bd1a3&&_0x3a2035['sessionCache'][_0x39d15b(0x309)][_0x39d15b(0x2cb)]>0x0&&(_0x2bd1a3=_0x3a2035[_0x39d15b(0x30b)][_0x39d15b(0x309)][0x0]),_0x2bd1a3?(_0x3a2035[_0x39d15b(0x2eb)]=!![],_0x3a2035[_0x39d15b(0x307)]=_0x2bd1a3[_0x39d15b(0x332)],_0x1541bb[_0x39d15b(0x20a)](_0x2bd1a3,!![],_0x15351c)):_0x1541bb['updateStatus'](_0x39d15b(0x2bd),![]);}else{if(_0x3a2035[_0x39d15b(0x30b)][_0x39d15b(0x309)]['length']===0x0)_0x1541bb[_0x39d15b(0x1f1)]('未找到可用资源',!![]);else!_0x3a2035[_0x39d15b(0x248)]&&_0x1541bb[_0x39d15b(0x1f1)](_0x39d15b(0x298),![]);}const _0x2cb6c8=_0x3a2035[_0x39d15b(0x251)][_0x39d15b(0x366)][_0x39d15b(0x20f)](_0x39d15b(0x304));_0x2cb6c8&&_0x1541bb['autoResizePanel'](_0x2cb6c8,!![]);},async 'performApiSearch'(_0x4ae3d0,_0x513622,_0x40a01a){const _0x3105ba=_0x3e34c1;let _0x1f84af=0x0;const _0x3e4a1c=async _0xe2003=>{const _0x2f097b=_0x31eb;if(_0x3a2035[_0x2f097b(0x248)]||_0x3a2035[_0x2f097b(0x365)]!==_0x40a01a)return;const _0x50453d=await this['searchSingleApi'](_0xe2003,_0x4ae3d0);_0x1f84af++;if(_0x3a2035[_0x2f097b(0x29a)])_0x1541bb['updateStatus'](_0x2f097b(0x2c8)+_0x1f84af+'/'+_0x195cdc['length']+')');if(!_0x50453d){_0x40268b[_0x2f097b(0x368)](_0xe2003['name']);return;}_0x40268b[_0x2f097b(0x311)](_0xe2003['name'],_0x50453d[_0x2f097b(0x315)]);if(_0x3a2035[_0x2f097b(0x248)]||_0x3a2035[_0x2f097b(0x365)]!==_0x40a01a)return;const _0x1975af=_0x50453d[_0x2f097b(0x2c3)][_0x2f097b(0x26b)][_0x2f097b(0x206)](_0x2f097b(0x2e4))[_0x2f097b(0x28d)]()['split']('#');let _0xd7d17f=null;const _0x58e3cb=_0x1975af[_0x2f097b(0x2d8)](_0x23ca8e=>{const _0x48e6dd=_0x2f097b,[_0x5a5881]=_0x23ca8e['split']('$'),_0x25180f=_0x51ecc3[_0x48e6dd(0x335)](_0x5a5881);return _0x513622&&_0x25180f&&parseInt(_0x25180f,0xa)===parseInt(_0x513622,0xa);});if(_0x58e3cb)_0xd7d17f=_0x58e3cb['split']('$')[0x1];else _0x1975af[_0x2f097b(0x2cb)]>0x0&&_0x1975af[0x0]['includes']('$')&&(_0xd7d17f=_0x1975af[0x0][_0x2f097b(0x206)]('$')[0x1]);if(!_0xd7d17f||!_0xd7d17f[_0x2f097b(0x205)](_0x2f097b(0x20b)))return;const _0x214276=await _0x51ecc3[_0x2f097b(0x341)](_0xd7d17f);if(!_0x214276)return;const _0x79439d={..._0x50453d,..._0x214276};_0x391974[_0x2f097b(0x299)]&&!_0x3a2035[_0x2f097b(0x2eb)]&&_0x79439d[_0x2f097b(0x326)]>=0x4b&&_0x58e3cb&&(_0x3a2035[_0x2f097b(0x2eb)]=!![],_0x3a2035[_0x2f097b(0x307)]=_0x79439d[_0x2f097b(0x332)],_0x1541bb['renderEpisodeList'](_0x79439d,!![],_0x3a2035['currentPageEpisodeNumber']));const _0x4fec91=_0x3a2035['sessionCache'][_0x2f097b(0x309)]['findIndex'](_0x410c69=>_0x410c69[_0x2f097b(0x332)]===_0x79439d['name']);_0x4fec91>-0x1?_0x3a2035[_0x2f097b(0x30b)][_0x2f097b(0x309)][_0x4fec91]=_0x79439d:_0x3a2035[_0x2f097b(0x30b)][_0x2f097b(0x309)]['push'](_0x79439d),_0x3a2035[_0x2f097b(0x30b)][_0x2f097b(0x309)][_0x2f097b(0x26a)]((_0x15c3cb,_0x5f3fd0)=>_0x5f3fd0[_0x2f097b(0x326)]-_0x15c3cb[_0x2f097b(0x326)]),_0x1541bb[_0x2f097b(0x218)](_0x79439d);};await _0x51ecc3[_0x3105ba(0x334)](_0x391974['SEARCH_CONCURRENCY'],_0x195cdc,_0x3e4a1c);},'searchSingleApi':(_0x2ca1fd,_0x56c543)=>new Promise(async _0x1fb456=>{const _0x3fe363=_0x3e34c1;try{const _0x346dd3=await _0x51ecc3[_0x3fe363(0x2e6)](_0x3fe363(0x2bc)+encodeURIComponent(_0x56c543),_0x2ca1fd);if(_0x346dd3[_0x3fe363(0x2c3)]?.[_0x3fe363(0x234)]?.[0x0]?.[_0x3fe363(0x26b)]){_0x1fb456({'name':_0x2ca1fd[_0x3fe363(0x332)],'data':_0x346dd3['data'][_0x3fe363(0x234)][0x0],'latency':_0x346dd3[_0x3fe363(0x315)]});return;}const _0x432187=await _0x51ecc3[_0x3fe363(0x2e6)]('ac=list&wd='+encodeURIComponent(_0x56c543),_0x2ca1fd),_0x1d5f7c=_0x432187[_0x3fe363(0x2c3)]?.[_0x3fe363(0x234)]?.[0x0]?.[_0x3fe363(0x25c)];if(!_0x1d5f7c)return _0x1fb456(null);const _0x381b2f=await _0x51ecc3[_0x3fe363(0x2e6)](_0x3fe363(0x232)+_0x1d5f7c,_0x2ca1fd),_0x2d359e=_0x381b2f[_0x3fe363(0x2c3)]?.['list']?.[0x0];if(!_0x2d359e?.[_0x3fe363(0x26b)])return _0x1fb456(null);_0x1fb456({'name':_0x2ca1fd[_0x3fe363(0x332)],'data':_0x2d359e,'latency':_0x432187[_0x3fe363(0x315)]+_0x381b2f[_0x3fe363(0x315)]});}catch(_0x5a0d8f){_0x1fb456(null);}})},_0x12e64c={'initPlacement'(){const _0x31bd4c=_0x3e34c1;if(_0x3a2035['isUserClosed'])return;const _0x55f836='全网资源极速加载中...';_0x3a2035['dom'][_0x31bd4c(0x2d7)]['srcdoc']=_0x55f836,this[_0x31bd4c(0x23e)](0x0);},'findAndPositionOverlay'(_0x117ec8){const _0x290850=_0x3e34c1;if(_0x3a2035[_0x290850(0x248)])return;let _0x4c26d9=null;!_0x3a2035['hiddenPlayerElement']&&(_0x3a2035['hiddenPlayerElement']=_0x51ecc3[_0x290850(0x2e0)]());if(!_0x3a2035[_0x290850(0x34e)]){const _0x29cf06=document[_0x290850(0x20f)](_0x290850(0x233));if(_0x29cf06){let _0x13b75a=_0x29cf06[_0x290850(0x26f)];while(_0x13b75a&&_0x13b75a[_0x290850(0x288)]!==_0x290850(0x2d9)&&_0x13b75a[_0x290850(0x1df)]<0x12c){_0x13b75a=_0x13b75a[_0x290850(0x26f)];}_0x13b75a&&_0x13b75a['offsetHeight']>=0x12c&&(_0x3a2035['hiddenPlayerElement']=_0x13b75a,_0x3a2035[_0x290850(0x34e)][_0x290850(0x34a)][_0x290850(0x301)]='0');}}if(_0x3a2035['hiddenPlayerElement'])try{_0x4c26d9=_0x3a2035['hiddenPlayerElement']['getBoundingClientRect']();}catch(_0x1c4371){}if(_0x4c26d9&&_0x4c26d9[_0x290850(0x213)]>0xc8&&_0x4c26d9[_0x290850(0x297)]>0x64)Object[_0x290850(0x329)](_0x3a2035[_0x290850(0x251)][_0x290850(0x352)][_0x290850(0x34a)],{'position':_0x290850(0x293),'top':_0x4c26d9['top']+window['scrollY']+'px','left':_0x4c26d9[_0x290850(0x227)]+'px','width':_0x4c26d9[_0x290850(0x213)]+'px','height':_0x4c26d9[_0x290850(0x297)]+'px','display':_0x290850(0x35e),'zIndex':_0x290850(0x214),'transform':_0x290850(0x331)});else{if(_0x3a2035[_0x290850(0x28b)]&&_0x117ec8>0xa){console['warn'](_0x290850(0x202)),Object[_0x290850(0x329)](_0x3a2035[_0x290850(0x251)][_0x290850(0x352)]['style'],{'position':_0x290850(0x238),'top':_0x290850(0x1e1),'left':_0x290850(0x1e1),'width':'80%','height':_0x290850(0x2d6),'transform':'translate(-50%,\x20-50%)','display':_0x290850(0x35e),'zIndex':'2147483646','boxShadow':_0x290850(0x324)});if(_0x117ec8<0x32)setTimeout(()=>this[_0x290850(0x23e)](_0x117ec8+0x1),0x1f4);}else _0x117ec8<=0x14&&setTimeout(()=>this['findAndPositionOverlay'](_0x117ec8+0x1),0xc8);}},async 'start'(_0x21c841){const _0x5588f4=_0x3e34c1;if(_0x3a2035[_0x5588f4(0x248)])return;_0x1541bb['clearAllTimers'](),_0x1541bb[_0x5588f4(0x28a)](),_0x3a2035[_0x5588f4(0x28b)]=_0x21c841,_0x1541bb[_0x5588f4(0x241)](_0x21c841),_0x3a2035[_0x5588f4(0x22a)]=!![],this[_0x5588f4(0x2e3)](),this['findAndPositionOverlay'](0x0),_0x3a2035[_0x5588f4(0x251)][_0x5588f4(0x352)][_0x5588f4(0x34a)][_0x5588f4(0x230)]=_0x5588f4(0x35e),this[_0x5588f4(0x1f9)](_0x21c841);},'attemptToPlay'(_0x16bd17){const _0x3fe97f=_0x3e34c1;if(_0x3a2035[_0x3fe97f(0x248)])return;_0x1541bb[_0x3fe97f(0x2d3)](_0x3fe97f(0x292)),_0x1541bb['updatePlayerStatus'](_0x3fe97f(0x2af));const _0xca1678=this[_0x3fe97f(0x2cc)](_0x16bd17);_0x3a2035[_0x3fe97f(0x251)][_0x3fe97f(0x2d7)]['srcdoc']=_0xca1678,_0x3a2035['dom'][_0x3fe97f(0x2d7)][_0x3fe97f(0x259)]=()=>{const _0x28a3ee=_0x3fe97f;if(_0x3a2035[_0x28a3ee(0x248)])return;_0x3a2035[_0x28a3ee(0x215)][_0x28a3ee(0x292)]=setTimeout(()=>{const _0x9f4466=_0x28a3ee;this[_0x9f4466(0x2a2)]();},_0x391974['STUCK_CHECK_TIMEOUT']),setTimeout(()=>this['updateOverlayPosition'](),0x1f4);};},'checkStuckStatus'(){const _0x2592d5=_0x3e34c1;if(_0x3a2035['isUserClosed'])return;_0x3a2035['dom'][_0x2592d5(0x2d7)]&&_0x3a2035[_0x2592d5(0x251)][_0x2592d5(0x2d7)][_0x2592d5(0x249)]&&_0x3a2035[_0x2592d5(0x251)][_0x2592d5(0x2d7)][_0x2592d5(0x249)][_0x2592d5(0x346)]({'type':_0x391974[_0x2592d5(0x237)][_0x2592d5(0x356)]},'*');},'autoSwitchSource'(){const _0x1a2411=_0x3e34c1;_0x3a2035[_0x1a2411(0x2dc)]['add'](_0x3a2035[_0x1a2411(0x28b)]);const _0x38638f=parseInt(_0x3a2035[_0x1a2411(0x1f7)],0xa);if(isNaN(_0x38638f)){_0x1541bb[_0x1a2411(0x24e)]('自动切换失败,请手动选择其他源',!![]);return;}let _0x3653ee=null;for(const _0x43313d of _0x3a2035[_0x1a2411(0x30b)][_0x1a2411(0x309)]){if(_0x43313d[_0x1a2411(0x332)]===_0x3a2035[_0x1a2411(0x307)])continue;if(!_0x43313d[_0x1a2411(0x2c3)]||!_0x43313d[_0x1a2411(0x2c3)]['vod_play_url'])continue;const _0x1d936b=_0x43313d[_0x1a2411(0x2c3)]['vod_play_url'][_0x1a2411(0x206)](_0x1a2411(0x2e4))[_0x1a2411(0x28d)]()['split']('#'),_0x12fc77=_0x1d936b[_0x1a2411(0x2d8)](_0x2993ea=>{const _0x1f6347=_0x1a2411,[_0x17b73a,_0xb7408c]=_0x2993ea['split']('$'),_0xe8097f=_0x51ecc3[_0x1f6347(0x335)](_0x17b73a);return _0xe8097f&&parseInt(_0xe8097f,0xa)===_0x38638f&&!_0x3a2035['failedUrls'][_0x1f6347(0x2ba)](_0xb7408c);});if(_0x12fc77){_0x3653ee={'result':_0x43313d,'url':_0x12fc77[_0x1a2411(0x206)]('$')[0x1]};break;}}_0x3653ee?(_0x3a2035[_0x1a2411(0x307)]=_0x3653ee[_0x1a2411(0x2b6)][_0x1a2411(0x332)],_0x1541bb[_0x1a2411(0x20a)](_0x3653ee['result'],!![],_0x3a2035[_0x1a2411(0x1f7)])):_0x1541bb[_0x1a2411(0x24e)](_0x1a2411(0x23f),!![]);},'createHTML'(_0x13cba4){const _0x20d5c8=_0x3e34c1,_0x4f44a5=_0x13cba4+(_0x13cba4['includes']('?')?'&':'?')+(_0x20d5c8(0x231)+Date[_0x20d5c8(0x2e5)]()),_0x3d407f=_0x4f44a5[_0x20d5c8(0x303)](/'/g,'\x5c\x27'),_0x2f6410=JSON['stringify'](_0x391974[_0x20d5c8(0x22c)]);return _0x20d5c8(0x2b3)+_0x3d407f+_0x20d5c8(0x1ff)+_0x2f6410+_0x20d5c8(0x282)+_0x391974[_0x20d5c8(0x237)][_0x20d5c8(0x313)]+_0x20d5c8(0x1f3)+_0x391974[_0x20d5c8(0x237)]['VIDEO_ENDED']+_0x20d5c8(0x367)+_0x391974['MESSAGES'][_0x20d5c8(0x36c)]+_0x20d5c8(0x2fb)+_0x391974[_0x20d5c8(0x237)][_0x20d5c8(0x356)]+_0x20d5c8(0x26e)+_0x391974[_0x20d5c8(0x237)][_0x20d5c8(0x360)]+_0x20d5c8(0x28c);},'handleMessage'(_0x393bc1){const _0x115127=_0x3e34c1;if(_0x3a2035[_0x115127(0x248)])return;const _0x50a7db=_0x393bc1[_0x115127(0x2c3)];if(!_0x50a7db?.[_0x115127(0x2e9)])return;if(_0x50a7db[_0x115127(0x2e9)]===_0x391974[_0x115127(0x237)][_0x115127(0x235)]){if(!_0x3a2035[_0x115127(0x28b)]||!_0x3a2035[_0x115127(0x322)][_0x115127(0x2cb)])return;const _0x20b4f1=_0x3a2035['currentEpisodeList'][_0x115127(0x310)](_0x31a7cb=>_0x31a7cb[_0x115127(0x354)]===_0x3a2035['currentPlayingUrl']);if(_0x20b4f1>-0x1&&_0x20b4f1<_0x3a2035['currentEpisodeList'][_0x115127(0x2cb)]-0x1){const _0x11a3dd=_0x3a2035[_0x115127(0x322)][_0x20b4f1+0x1];_0x1541bb[_0x115127(0x24e)](_0x115127(0x333)+_0x11a3dd[_0x115127(0x332)],!![]),setTimeout(()=>this[_0x115127(0x1f6)](_0x11a3dd[_0x115127(0x354)]),_0x391974[_0x115127(0x269)]);}else _0x1541bb['updatePlayerStatus'](_0x115127(0x260),!![]),setTimeout(()=>this[_0x115127(0x29b)](),0xbb8);}else{if(_0x50a7db[_0x115127(0x2e9)]===_0x391974['MESSAGES'][_0x115127(0x313)])_0x1541bb[_0x115127(0x24e)](_0x115127(0x273),!![]),this[_0x115127(0x2ed)]();else{if(_0x50a7db[_0x115127(0x2e9)]===_0x391974['MESSAGES'][_0x115127(0x36c)])_0x1541bb[_0x115127(0x2d3)]('stuck'),_0x1541bb[_0x115127(0x24e)]('',![]);else _0x50a7db[_0x115127(0x2e9)]===_0x391974['MESSAGES'][_0x115127(0x360)]&&(_0x50a7db['time']<0.1&&(_0x1541bb[_0x115127(0x24e)](_0x115127(0x246),!![]),this[_0x115127(0x2ed)]()));}}},'close'(){const _0x2c8643=_0x3e34c1;_0x1541bb[_0x2c8643(0x33f)](),_0x3a2035['dom'][_0x2c8643(0x2d7)][_0x2c8643(0x2e8)]=_0x2c8643(0x1ed),_0x3a2035[_0x2c8643(0x251)][_0x2c8643(0x2d7)][_0x2c8643(0x321)]='',_0x3a2035[_0x2c8643(0x251)][_0x2c8643(0x352)]['style']['display']=_0x2c8643(0x331),_0x1541bb['updatePlayerStatus']('',![]),_0x3a2035[_0x2c8643(0x34e)]&&(_0x3a2035['hiddenPlayerElement'][_0x2c8643(0x34a)]['opacity']='',_0x3a2035[_0x2c8643(0x34e)]=null),_0x3a2035[_0x2c8643(0x28b)]='',_0x3a2035[_0x2c8643(0x2eb)]=!![],_0x3a2035[_0x2c8643(0x22a)]=![];},'pauseAndHideOriginalPlayer'(){const _0x5ac43c=_0x3e34c1;document[_0x5ac43c(0x35b)](_0x5ac43c(0x217))[_0x5ac43c(0x361)](_0x19fc58=>{const _0x2ec085=_0x5ac43c;if(!_0x19fc58[_0x2ec085(0x272)])_0x19fc58[_0x2ec085(0x2b1)]();_0x19fc58[_0x2ec085(0x358)]=!![];}),_0x3a2035[_0x5ac43c(0x34e)]=_0x51ecc3['findWebsitePlayerElement'](),_0x3a2035[_0x5ac43c(0x34e)]&&(_0x3a2035[_0x5ac43c(0x34e)][_0x5ac43c(0x34a)][_0x5ac43c(0x301)]='0');},'updateOverlayPosition'(){const _0x7749b1=_0x3e34c1;if(_0x3a2035[_0x7749b1(0x34e)]&&_0x3a2035['dom'][_0x7749b1(0x352)][_0x7749b1(0x34a)]['display']===_0x7749b1(0x35e)){const _0x2ccd8c=_0x3a2035[_0x7749b1(0x34e)][_0x7749b1(0x203)]();_0x2ccd8c[_0x7749b1(0x213)]>0x32&&_0x2ccd8c[_0x7749b1(0x297)]>0x32&&Object[_0x7749b1(0x329)](_0x3a2035[_0x7749b1(0x251)][_0x7749b1(0x352)]['style'],{'top':_0x2ccd8c[_0x7749b1(0x22f)]+window['scrollY']+'px','left':_0x2ccd8c[_0x7749b1(0x227)]+'px','width':_0x2ccd8c[_0x7749b1(0x213)]+'px','height':_0x2ccd8c['height']+'px','transform':'none','position':_0x7749b1(0x293)});}}},_0x51ecc3={async 'asyncPool'(_0x1ccbf9,_0x231745,_0x5c370d){const _0x1dbcd5=_0x3e34c1,_0x3c1dbf=[],_0x1936b2=new Set();for(const _0x37323b of _0x231745){const _0x426381=Promise[_0x1dbcd5(0x2dd)]()[_0x1dbcd5(0x36a)](()=>_0x5c370d(_0x37323b));_0x3c1dbf[_0x1dbcd5(0x2db)](_0x426381),_0x1936b2[_0x1dbcd5(0x2e1)](_0x426381);const _0x193363=()=>_0x1936b2[_0x1dbcd5(0x2fc)](_0x426381);_0x426381[_0x1dbcd5(0x36a)](_0x193363)[_0x1dbcd5(0x265)](_0x193363),_0x1936b2['size']>=_0x1ccbf9&&await Promise['race'](_0x1936b2);}return Promise[_0x1dbcd5(0x31b)](_0x3c1dbf);},'robustRequest'(_0x1df92d,_0x4ebbf9){return new Promise((_0x7f6aa3,_0x344d7b)=>{const _0x163591=_0x31eb,_0x4aa1a0=Date[_0x163591(0x2e5)]();GM_xmlhttpRequest({'method':_0x163591(0x2cf),'url':_0x4ebbf9[_0x163591(0x354)]+'?'+_0x1df92d,'headers':{'Referer':new URL(_0x4ebbf9['url'])['origin']},'timeout':_0x391974[_0x163591(0x22b)],'onload':_0x13433e=>{const _0x19ba8a=_0x163591,_0xf5f12=Date['now']()-_0x4aa1a0;if(_0x13433e['status']!==0xc8||!_0x13433e['responseText']||_0x13433e[_0x19ba8a(0x318)]['trim']()['startsWith']('<'))return _0x344d7b(new Error(_0x19ba8a(0x35c)));try{_0x7f6aa3({'data':JSON['parse'](_0x13433e['responseText']),'latency':_0xf5f12});}catch(_0x20830a){_0x344d7b(new Error(_0x19ba8a(0x30e)));}},'onerror':_0x23b766=>_0x344d7b(new Error('Request\x20failed:\x20'+_0x23b766[_0x163591(0x362)])),'ontimeout':()=>_0x344d7b(new Error(_0x163591(0x2b5)))});});},'normalize'(_0x5ad1ed,_0x13f9d3,_0x185ab1,_0x448f56=![]){const _0x2e4486=_0x3e34c1,_0x4ea0aa=Math[_0x2e4486(0x219)](_0x13f9d3,Math[_0x2e4486(0x283)](_0x5ad1ed,_0x185ab1)),_0x498a4a=_0x185ab1-_0x13f9d3===0x0?0x0:(_0x4ea0aa-_0x13f9d3)/(_0x185ab1-_0x13f9d3),_0x427f5d=_0x448f56?0x1-_0x498a4a:_0x498a4a;return _0x427f5d*0x64;},'parseM3u8'(_0x38ac4d){const _0x146f2e=_0x3e34c1;let _0x2b5388={'width':0x0,'height':0x0},_0x4705a0=0x0;const _0x12d02c=_0x38ac4d[_0x146f2e(0x206)]('\x0a');for(const _0x264d18 of _0x12d02c){if(_0x264d18['startsWith'](_0x146f2e(0x204))){const _0x5c8151=_0x264d18[_0x146f2e(0x2e2)](/RESOLUTION=(\d+)x(\d+)/);if(_0x5c8151){const _0x1fc098=parseInt(_0x5c8151[0x1],0xa),_0x11e99d=parseInt(_0x5c8151[0x2],0xa);if(_0x11e99d>_0x2b5388[_0x146f2e(0x297)]){_0x2b5388={'width':_0x1fc098,'height':_0x11e99d};const _0x201433=_0x264d18[_0x146f2e(0x2e2)](/BANDWIDTH=(\d+)/);_0x201433&&(_0x4705a0=parseInt(_0x201433[0x1],0xa));}}}}if(_0x2b5388[_0x146f2e(0x297)]===0x0)return{'resolution':0x0,'bitrate':0x0};return{'resolution':_0x2b5388[_0x146f2e(0x297)],'bitrate':_0x4705a0/0x3e8};},'evaluateSource':_0x3c2520=>new Promise(_0x43b87d=>{const _0x579114=_0x3e34c1,_0x16543d=Date[_0x579114(0x2e5)]();GM_xmlhttpRequest({'method':_0x579114(0x2cf),'url':_0x3c2520,'headers':{'Range':_0x579114(0x33e)},'responseType':_0x579114(0x2d2),'timeout':_0x391974[_0x579114(0x253)],'onload':_0x47e0fb=>{const _0x2dd49b=_0x579114,_0x2e649d=Date['now']()-_0x16543d;if(_0x47e0fb[_0x2dd49b(0x236)]>=0xc8&&_0x47e0fb[_0x2dd49b(0x236)]<0x190&&_0x47e0fb[_0x2dd49b(0x318)]){const _0x2a2aa0=_0x51ecc3[_0x2dd49b(0x291)](_0x47e0fb[_0x2dd49b(0x318)]),_0xbf9d42=_0x51ecc3[_0x2dd49b(0x221)](_0x2e649d,0x32,_0x391974[_0x2dd49b(0x253)],!![]),_0x3cd701=_0x51ecc3[_0x2dd49b(0x221)](_0x2a2aa0[_0x2dd49b(0x1e2)],0x1e0,0x870,![]),_0x164fd5=_0x51ecc3[_0x2dd49b(0x221)](_0x2a2aa0[_0x2dd49b(0x2c9)],0x1f4,0x1f40,![]),_0x149355=_0x3cd701*0.7+_0x164fd5*0.3,_0x5e5241=_0xbf9d42*0.8+_0x149355*0.2;_0x43b87d({'latency':_0x2e649d,'resolution':_0x2a2aa0[_0x2dd49b(0x1e2)],'bitrate':_0x2a2aa0['bitrate'],'score':_0x5e5241});}else _0x43b87d({'latency':_0x391974[_0x2dd49b(0x253)],'resolution':0x0,'bitrate':0x0,'score':0xa});},'onerror':()=>{_0x43b87d({'latency':_0x391974['FAST_EVAL_TIMEOUT'],'resolution':0x0,'bitrate':0x0,'score':0x5});},'ontimeout':()=>{const _0x2b443e=_0x579114;_0x43b87d({'latency':_0x391974[_0x2b443e(0x253)],'resolution':0x0,'bitrate':0x0,'score':0x5});}});}),'getQuickMainTitle'(){const _0x37e145=_0x3e34c1;for(const _0x292298 of _0x391974['SELECTORS'][_0x37e145(0x344)]){const _0x1c3430=document[_0x37e145(0x20f)](_0x292298);if(_0x1c3430){const _0x347d34=(_0x1c3430[_0x37e145(0x25a)](_0x37e145(0x2ec))||_0x1c3430[_0x37e145(0x355)]||'')['trim']();if(_0x347d34)return _0x347d34[_0x37e145(0x206)](/[-_\s((]/)[0x0]['replace'](/第.+[集季部]/,'')[_0x37e145(0x30a)]();}}return document[_0x37e145(0x32c)][_0x37e145(0x206)](/[-_\s((]/)[0x0]['replace'](/第.+[集季部]/,'')[_0x37e145(0x30a)]();},async 'getCurrentEpisodeNumber'(){const _0x102391=_0x3e34c1;try{const _0x2c414c=new URLSearchParams(location['href']);if(_0x2c414c[_0x102391(0x2ba)]('s4')){const _0xc28f0f=_0x2c414c[_0x102391(0x2f2)]('s4');if(_0xc28f0f&&!isNaN(_0xc28f0f))return _0xc28f0f;}if(_0x2c414c['has'](_0x102391(0x2cd))){const _0x9d6208=this[_0x102391(0x335)](decodeURIComponent(_0x2c414c[_0x102391(0x2f2)](_0x102391(0x2cd))));if(_0x9d6208)return _0x9d6208;}}catch(_0x23fa5f){}if(location[_0x102391(0x305)][_0x102391(0x205)](_0x102391(0x225))){const _0xb3a54c=this[_0x102391(0x335)](document[_0x102391(0x32c)]);if(_0xb3a54c)return _0xb3a54c;}const _0x1f358c=window['location']['hostname'],_0x267ca5=Object[_0x102391(0x1e0)](_0x391974['SELECTORS']['PRECISE_TITLE'])[_0x102391(0x2d8)](_0x1312c3=>_0x1f358c[_0x102391(0x205)](_0x1312c3));if(_0x267ca5)try{const _0x255cc1=await this[_0x102391(0x2bb)](_0x391974[_0x102391(0x284)]['PRECISE_TITLE'][_0x267ca5],0x3e8);if(_0x255cc1?.[_0x102391(0x355)]){const _0x5d0a1d=this[_0x102391(0x335)](_0x255cc1[_0x102391(0x355)]['trim']());if(_0x5d0a1d)return _0x5d0a1d;}}catch(_0x1e4b25){}return this['getEpisodeNumberFromString'](document[_0x102391(0x32c)]);},'getEpisodeNumberFromString'(_0x5ca1b8){const _0x4bc3bc=_0x3e34c1;if(!_0x5ca1b8)return null;if(/^\d+$/[_0x4bc3bc(0x2d0)](_0x5ca1b8[_0x4bc3bc(0x30a)]()))return _0x5ca1b8[_0x4bc3bc(0x30a)]();let _0x3b85ce=_0x5ca1b8[_0x4bc3bc(0x2e2)](/(?:第|EP|Ep|ep|E)\s*(\d+)/);if(_0x3b85ce&&_0x3b85ce[0x1])return _0x3b85ce[0x1];_0x3b85ce=_0x5ca1b8[_0x4bc3bc(0x2e2)](/(?:\D|^)(\d{1,4})(?:\D|$)/);if(_0x3b85ce&&_0x3b85ce[0x1])return _0x3b85ce[0x1];const _0x1bd5d7=_0x5ca1b8[_0x4bc3bc(0x2e2)](/\d+/g);return _0x1bd5d7?_0x1bd5d7[_0x1bd5d7[_0x4bc3bc(0x2cb)]-0x1]:null;},'findWebsitePlayerElement':()=>_0x391974[_0x3e34c1(0x284)][_0x3e34c1(0x2a1)][_0x3e34c1(0x21b)](_0x7fa253=>document[_0x3e34c1(0x20f)](_0x7fa253))[_0x3e34c1(0x2d8)](_0x49cbda=>_0x49cbda),'waitForElement'(_0x11a6e1,_0x23a926=0xbb8){return new Promise((_0x2f0911,_0x1a149a)=>{const _0x3aa446=_0x31eb,_0x593a3e=document[_0x3aa446(0x20f)](_0x11a6e1);if(_0x593a3e)return _0x2f0911(_0x593a3e);const _0x3a406b=new MutationObserver(()=>{const _0x2b8d76=_0x3aa446,_0x1f61ff=document[_0x2b8d76(0x20f)](_0x11a6e1);_0x1f61ff&&(_0x3a406b[_0x2b8d76(0x2c2)](),clearTimeout(_0x220b0c),_0x2f0911(_0x1f61ff));}),_0x220b0c=setTimeout(()=>{const _0x25df29=_0x3aa446;_0x3a406b[_0x25df29(0x2c2)](),_0x1a149a(new Error('Timeout\x20waiting\x20for\x20\x27'+_0x11a6e1+'\x27'));},_0x23a926);_0x3a406b[_0x3aa446(0x342)](document[_0x3aa446(0x245)],{'childList':!![],'subtree':!![]});});},'waitForPlayerResize'(_0x434dbf,_0xfd4385=0x7d0){return new Promise((_0x291b5c,_0x582428)=>{if(!_0x434dbf)return _0x582428(new Error('Player\x20element\x20not\x20found.'));let _0x2aab90=0x0,_0x541bdf=0x0,_0x28c3cc=0x0;const _0x5bc67f=0xc8,_0x2747cb=0x3,_0x20484b=setInterval(()=>{const _0x1546f1=_0x31eb,_0x24212d=_0x434dbf[_0x1546f1(0x203)]();_0x24212d[_0x1546f1(0x213)]>0x0&&_0x24212d[_0x1546f1(0x297)]>0x0&&(_0x24212d['width']===_0x2aab90&&_0x24212d['height']===_0x541bdf?++_0x28c3cc>=_0x2747cb&&(clearInterval(_0x20484b),clearTimeout(_0x47258c),_0x291b5c(_0x24212d)):(_0x28c3cc=0x0,_0x2aab90=_0x24212d[_0x1546f1(0x213)],_0x541bdf=_0x24212d[_0x1546f1(0x297)]));},_0x5bc67f),_0x47258c=setTimeout(()=>{const _0x5e0490=_0x31eb;clearInterval(_0x20484b);const _0x34fe4d=_0x434dbf[_0x5e0490(0x203)]();_0x34fe4d[_0x5e0490(0x213)]>0x0?_0x291b5c(_0x34fe4d):_0x582428(new Error(_0x5e0490(0x351)));},_0xfd4385);});}};function _0x326f06(){const _0x3fb9d2=_0x3e34c1;if(!_0x50181d()){console[_0x3fb9d2(0x2a5)](_0x3fb9d2(0x31a));return;}setTimeout(()=>{const _0x1249b0=_0x3fb9d2;if(document['getElementById'](_0x1249b0(0x32f)))return;_0x1541bb[_0x1249b0(0x1ec)]();const _0x3c723c=()=>{const _0x1eb818=_0x1249b0;if(location[_0x1eb818(0x2fd)]!==_0x3a2035[_0x1eb818(0x1e5)]){_0x3a2035[_0x1eb818(0x1e5)]=location['href'];if(_0x50181d()){_0x3a2035[_0x1eb818(0x2eb)]=![],_0x3a2035[_0x1eb818(0x30b)]={'key':null,'results':[]},_0x12e64c[_0x1eb818(0x29b)](),_0x1541bb[_0x1eb818(0x28a)]();if(_0x3a2035[_0x1eb818(0x251)][_0x1eb818(0x200)])_0x3a2035[_0x1eb818(0x251)][_0x1eb818(0x200)][_0x1eb818(0x34a)][_0x1eb818(0x230)]='block';}else{if(_0x3a2035[_0x1eb818(0x251)]['container'])_0x3a2035[_0x1eb818(0x251)][_0x1eb818(0x200)]['style'][_0x1eb818(0x230)]=_0x1eb818(0x331);}}},_0x1c1e8f=new MutationObserver(_0x3c723c);_0x1c1e8f['observe'](document['body'],{'childList':!![],'subtree':!![]}),document[_0x1249b0(0x363)](_0x1249b0(0x2f0),_0x2fd42c=>{const _0x4787b2=_0x1249b0;if(_0x3a2035[_0x4787b2(0x251)][_0x4787b2(0x200)]&&(_0x3a2035[_0x4787b2(0x251)][_0x4787b2(0x200)]['contains'](_0x2fd42c[_0x4787b2(0x33d)])||_0x3a2035[_0x4787b2(0x251)][_0x4787b2(0x352)][_0x4787b2(0x209)](_0x2fd42c['target'])))return;const _0x53efe5=_0x2fd42c[_0x4787b2(0x33d)][_0x4787b2(0x357)](_0x4787b2(0x25f));_0x53efe5&&setTimeout(_0x3c723c,0x64);},!![]);},0x1f4);}document[_0x3e34c1(0x347)]===_0x3e34c1(0x27e)?document['addEventListener'](_0x3e34c1(0x263),_0x326f06):_0x326f06();}()));