// ==UserScript== // @name VIP视频全网解析 (Pro版) // @namespace https://scriptcat.org/zh-CN/script-show-page/4339 // @version 4.8 // @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 _0x5d66(_0x231b5d,_0x35eeb9){const _0x71666c=_0x7166();return _0x5d66=function(_0x5d66ce,_0x40d923){_0x5d66ce=_0x5d66ce-0x103;let _0x2d225e=_0x71666c[_0x5d66ce];return _0x2d225e;},_0x5d66(_0x231b5d,_0x35eeb9);}(function(_0xc14189,_0x483865){const _0x24de4c=_0x5d66,_0x2ef453=_0xc14189();while(!![]){try{const _0x26dd44=-parseInt(_0x24de4c(0x170))/0x1+-parseInt(_0x24de4c(0x218))/0x2*(parseInt(_0x24de4c(0x21a))/0x3)+parseInt(_0x24de4c(0x16a))/0x4*(parseInt(_0x24de4c(0x1ae))/0x5)+-parseInt(_0x24de4c(0x1d3))/0x6+parseInt(_0x24de4c(0x142))/0x7+-parseInt(_0x24de4c(0x157))/0x8+parseInt(_0x24de4c(0x18e))/0x9*(parseInt(_0x24de4c(0x11e))/0xa);if(_0x26dd44===_0x483865)break;else _0x2ef453['push'](_0x2ef453['shift']());}catch(_0x2848f2){_0x2ef453['push'](_0x2ef453['shift']());}}}(_0x7166,0x90086),(function(){'use strict';const _0x4edd68=_0x5d66;const _0x3c4b20={'API_TIMEOUT':0x1388,'STUCK_CHECK_TIMEOUT':0x1770,'AUTOPLAY_NEXT_DELAY':0x64,'PANEL_LEAVE_CLOSE_DELAY':0x5dc,'STORAGE_KEY_ICON_POSITION':_0x4edd68(0x229),'SEARCH_CONCURRENCY':0x14,'AUTO_EXPAND_BEST_SOURCE':!![],'HLS_CONFIG':{'enableWorker':![],'lowLatencyMode':![],'startFragPrefetch':!![],'maxBufferLength':0x78,'maxMaxBufferLength':0x12c,'maxStarvationDelay':0x5,'fragLoadingTimeOut':0x7530,'manifestLoadingTimeOut':0x4e20,'levelLoadingTimeOut':0x4e20,'enableSoftwareAES':!![]},'MESSAGES':{'VIDEO_ENDED':_0x4edd68(0x15d),'GET_TIME_REQ':_0x4edd68(0x18f),'GET_TIME_RES':_0x4edd68(0x234),'PLAY_SUCCESS':'tm_play_success','CHECK_STUCK_REQ':_0x4edd68(0x1a0),'CHECK_STUCK_RES':'tm_check_stuck_res','LOAD_ERROR':_0x4edd68(0x233)},'SELECTORS':{'PLAYER_ELEMENTS':[_0x4edd68(0x244),_0x4edd68(0x12e),_0x4edd68(0x1f4),_0x4edd68(0x1e5),_0x4edd68(0x237),_0x4edd68(0x1ca),_0x4edd68(0x213),_0x4edd68(0x24b),'#bilibili-player','.bpx-player-container',_0x4edd68(0x1e3),_0x4edd68(0x239),_0x4edd68(0x217),_0x4edd68(0x24c),'#ACPlayer','#video-player',_0x4edd68(0x1ce),_0x4edd68(0x230),'.player-container',_0x4edd68(0x209),_0x4edd68(0x1f0)],'QUICK_TITLE':[_0x4edd68(0x241),'h1',_0x4edd68(0x1f7),_0x4edd68(0x23d),'.vod_title',_0x4edd68(0x190),_0x4edd68(0x1c9)],'PRECISE_TITLE':{'iqiyi.com':'.qy-episode-item[class*=\x22is-active\x22]\x20a,\x20.album-list\x20.is-active\x20.title-content,\x20[class*=\x22video-title_text\x22]','youku.com':_0x4edd68(0x106),'v.qq.com':_0x4edd68(0x14d),'bilibili.com':_0x4edd68(0x1ac),'mgtv.com':_0x4edd68(0x12b),'sohu.com':_0x4edd68(0x216),'le.com':'.js-episode-item.on,\x20.video-info\x20h1','pptv.com':'.episode-list\x20.current,\x20.video-title\x20a','acfun.cn':_0x4edd68(0x1cd)}}},_0x9a0f0a=_0x161615=>{const _0xdb13=_0x4edd68,_0x36eaea=new Map();return _0x161615[_0xdb13(0x1db)](_0x33ff4d=>{const _0x5ce438=_0xdb13;!_0x36eaea[_0x5ce438(0x193)](_0x33ff4d[_0x5ce438(0x18d)])&&_0x36eaea[_0x5ce438(0x1e1)](_0x33ff4d['url'],{..._0x33ff4d,'name':_0x33ff4d[_0x5ce438(0x1e4)][_0x5ce438(0x110)](0x0,0x2)});}),Array[_0xdb13(0x187)](_0x36eaea[_0xdb13(0x10d)]());},_0x31e7a8=[{'name':'快龙','url':_0x4edd68(0x1d7)},{'name':'猫眼','url':_0x4edd68(0x18a)},{'name':'刺桐','url':_0x4edd68(0x1c8)},{'name':_0x4edd68(0x1b8),'url':_0x4edd68(0x1aa)},{'name':'艾旦','url':_0x4edd68(0x1d8)},{'name':'映迷','url':_0x4edd68(0x206)},{'name':'无忧','url':'https://www.wyvod.com/api.php/provide/vod/'},{'name':'蛋蛋','url':_0x4edd68(0x247)},{'name':_0x4edd68(0x1be),'url':_0x4edd68(0x1f3)},{'name':_0x4edd68(0x10a),'url':_0x4edd68(0x160)},{'name':'暴风','url':_0x4edd68(0x186)},{'name':'优质','url':'https://api.yzzy-api.com/inc/apijson.php?ac=list'},{'name':'豆瓣','url':_0x4edd68(0x159)},{'name':'量子','url':_0x4edd68(0x191)},{'name':'快车','url':'https://caiji.kuaichezy.org/api.php/provide/vod/'},{'name':'CK','url':'https://ckzy.me/api.php/provide/vod/'},{'name':_0x4edd68(0x24d),'url':'https://ikunzyapi.com/api.php/provide/vod'},{'name':'如意','url':_0x4edd68(0x231)},{'name':'魔爪','url':_0x4edd68(0x111)},{'name':'索尼','url':_0x4edd68(0x20f)},{'name':'闪电','url':'https://xsd.sdzyapi.com/api.php/provide/vod/'},{'name':'花旗','url':'https://www.seacms.org/api.php/provide/vod/'},{'name':'神马','url':'https://img.smdyw.top/api.php/provide/vod'},{'name':'豪华','url':_0x4edd68(0x220)},{'name':'茅台','url':_0x4edd68(0x15c)},{'name':'牛牛','url':'https://api.niuniuzy.me/api.php/provide/vod/'},{'name':'快鹰','url':'http://savviuux.hk3.345888.xyz.cdn.cloudflare.net/api.php/provide/vod/'},{'name':'天涯','url':'https://tyyszyapi.com/api.php/provide/vod/'},{'name':'柚子','url':_0x4edd68(0x1bd)},{'name':'非凡','url':_0x4edd68(0x11d)},{'name':'卧龙','url':_0x4edd68(0x1c2)},{'name':'无尽','url':'https://api.wujinapi.me/api.php/provide/vod/'},{'name':'红牛','url':_0x4edd68(0x144)},{'name':'U酷','url':_0x4edd68(0x23b)},{'name':'光速','url':'https://api.guangsuapi.com/api.php/provide/vod/'},{'name':'新浪','url':_0x4edd68(0x16b)},{'name':'极速','url':_0x4edd68(0x114)},{'name':_0x4edd68(0x23c),'url':'https://360zy.com/api.php/provide/vod/'},{'name':'速播','url':'https://subocaiji.com/api.php/provide/vod/'},{'name':'虎牙','url':_0x4edd68(0x205)},{'name':'百度','url':_0x4edd68(0x175)},{'name':'魔都','url':_0x4edd68(0x240)},{'name':_0x4edd68(0x154),'url':_0x4edd68(0x215)},{'name':'金鹰','url':_0x4edd68(0x19e)},{'name':'最大','url':_0x4edd68(0x18c)},{'name':_0x4edd68(0x1e2),'url':'http://caiji.dyttzyapi.com/api.php/provide/vod/'}],_0x58e1fc=_0x9a0f0a(_0x31e7a8),_0x2b27ef=[...new Map(_0x58e1fc[_0x4edd68(0x20e)](_0x3587e7=>[_0x3587e7[_0x4edd68(0x1e4)],_0x3587e7]))[_0x4edd68(0x10d)]()],_0x28b6cf={'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},_0xbda14a={'init'(){const _0x3f95d9=_0x4edd68;this[_0x3f95d9(0x143)](),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x13d)]=this[_0x3f95d9(0x21c)]('div',{'id':'tm-container-fusion'}),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x127)]=this['createElement'](_0x3f95d9(0x10b),{'id':'tm-main-btn-fusion'}),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x1bf)]=this[_0x3f95d9(0x21c)](_0x3f95d9(0x13f),{'id':_0x3f95d9(0x226)}),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x1af)]=this['createElement']('div',{'id':_0x3f95d9(0x17a)}),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x223)]=this['createElement'](_0x3f95d9(0x13f),{'id':_0x3f95d9(0x1c4),'innerHTML':''}),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x1af)][_0x3f95d9(0x24a)]=_0x3f95d9(0x211),document[_0x3f95d9(0x135)][_0x3f95d9(0x1df)](_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x13d)],_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x1af)],_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x223)]),_0x28b6cf[_0x3f95d9(0x124)]['container'][_0x3f95d9(0x1df)](_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x127)],_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x1bf)]),_0x28b6cf['dom']['iframePlayer']=document['getElementById'](_0x3f95d9(0x118)),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x19d)]=document[_0x3f95d9(0x1e0)]('tm-close-btn-fusion'),_0x28b6cf[_0x3f95d9(0x124)][_0x3f95d9(0x1f5)]=document[_0x3f95d9(0x1e0)](_0x3f95d9(0x1b4)),this[_0x3f95d9(0x1c3)](),this['attachEventListeners']();},'createElement':(_0x409835,_0x3fdd26)=>Object[_0x4edd68(0x137)](document[_0x4edd68(0x21c)](_0x409835),_0x3fdd26),'injectStyle'(){const _0x1945e9=_0x4edd68;GM_addStyle(_0x1945e9(0x13e));},'initDraggableIcon'(){const _0xc4af28=_0x4edd68;let _0xf97145=![],_0x28704a=![],_0x261f31,_0x2fa075;const _0x87016c=_0x28b6cf[_0xc4af28(0x124)][_0xc4af28(0x13d)],_0x1c3171=GM_getValue(_0x3c4b20[_0xc4af28(0x116)],{'left':_0xc4af28(0x108),'top':_0xc4af28(0x201)});Object[_0xc4af28(0x137)](_0x87016c[_0xc4af28(0x149)],_0x1c3171);const _0x258914=_0x1c2ca8=>{const _0x1f1d77=_0xc4af28;if(!_0xf97145)return;_0x28704a=!![];let _0x169774=_0x1c2ca8['clientX']-_0x261f31,_0x1571de=_0x1c2ca8[_0x1f1d77(0x1dd)]-_0x2fa075;_0x169774=Math[_0x1f1d77(0x19b)](0x0,Math['min'](_0x169774,window[_0x1f1d77(0x182)]-_0x87016c[_0x1f1d77(0x252)])),_0x1571de=Math[_0x1f1d77(0x19b)](0x0,Math[_0x1f1d77(0x1f1)](_0x1571de,window['innerHeight']-_0x87016c[_0x1f1d77(0x1ed)])),Object['assign'](_0x87016c['style'],{'left':_0x169774+'px','top':_0x1571de+'px'});},_0x2938fc=()=>{const _0x1a846d=_0xc4af28;if(!_0xf97145)return;_0xf97145=![],document[_0x1a846d(0x135)][_0x1a846d(0x149)]['userSelect']='',_0x87016c['style']['cursor']='grab',_0x87016c['style'][_0x1a846d(0x1bb)]='',_0x28704a&&GM_setValue(_0x3c4b20[_0x1a846d(0x116)],{'left':_0x87016c['style'][_0x1a846d(0x1a9)],'top':_0x87016c['style']['top']}),window['removeEventListener']('mousemove',_0x258914,!![]),window[_0x1a846d(0x1c7)]('mouseup',_0x2938fc,!![]),window[_0x1a846d(0x1c7)](_0x1a846d(0x221),_0x2938fc,!![]);},_0x557910=_0x443d4a=>{const _0x397719=_0xc4af28;_0x443d4a['stopPropagation']();if(_0x443d4a[_0x397719(0x10b)]!==0x0)return;_0x28704a=![],_0xf97145=!![],document[_0x397719(0x135)][_0x397719(0x149)]['userSelect']=_0x397719(0x235),_0x87016c[_0x397719(0x149)][_0x397719(0x129)]=_0x397719(0x17b),_0x87016c[_0x397719(0x149)][_0x397719(0x1bb)]='none',_0x261f31=_0x443d4a[_0x397719(0x1e8)]-_0x87016c[_0x397719(0x21e)]()[_0x397719(0x1a9)],_0x2fa075=_0x443d4a[_0x397719(0x1dd)]-_0x87016c['getBoundingClientRect']()[_0x397719(0x13b)],window[_0x397719(0x1eb)](_0x397719(0x22a),_0x258914,!![]),window['addEventListener'](_0x397719(0x1ba),_0x2938fc,!![]),window[_0x397719(0x1eb)](_0x397719(0x221),_0x2938fc,!![]);};_0x87016c['addEventListener'](_0xc4af28(0x125),_0x557910),_0x28b6cf[_0xc4af28(0x124)][_0xc4af28(0x127)][_0xc4af28(0x11c)]=_0x5ec6b9=>{const _0x14793a=_0xc4af28;if(_0x28704a){_0x5ec6b9[_0x14793a(0x210)]();return;}_0x5ec6b9[_0x14793a(0x210)]();if(_0x28b6cf[_0x14793a(0x24e)])this['hidePanel']();else{const _0x1eb242=location[_0x14793a(0x17d)];_0x28b6cf[_0x14793a(0x150)][_0x14793a(0x212)]===_0x1eb242&&_0x28b6cf[_0x14793a(0x150)][_0x14793a(0x196)]['length']>0x0?(this[_0x14793a(0x162)](),this[_0x14793a(0x145)]()):(this[_0x14793a(0x162)](),_0x2c3c35[_0x14793a(0x203)]());}};},'attachEventListeners'(){const _0x26c167=_0x4edd68;_0x28b6cf['dom'][_0x26c167(0x19d)][_0x26c167(0x11c)]=()=>_0x54cfea[_0x26c167(0x1d6)](),_0x28b6cf[_0x26c167(0x124)][_0x26c167(0x1bf)][_0x26c167(0x132)]=()=>{this['clearTimer']('panelCollapse');},_0x28b6cf[_0x26c167(0x124)][_0x26c167(0x1bf)]['onmouseleave']=()=>{const _0x178071=_0x26c167;_0x28b6cf[_0x178071(0x138)][_0x178071(0x128)]=setTimeout(()=>this[_0x178071(0x1c0)](),_0x3c4b20[_0x178071(0x1d9)]);},window[_0x26c167(0x1eb)](_0x26c167(0x16f),()=>{const _0x1cf08c=_0x26c167;this[_0x1cf08c(0x183)](_0x1cf08c(0x16f)),_0x28b6cf['timers'][_0x1cf08c(0x16f)]=setTimeout(()=>_0x54cfea[_0x1cf08c(0x1e9)](),0x64);}),window['addEventListener']('message',_0x218e94=>_0x54cfea[_0x26c167(0x119)](_0x218e94));},'renderInitialPanel'(){const _0x450b90=_0x4edd68;_0x28b6cf[_0x450b90(0x124)][_0x450b90(0x1bf)]['style'][_0x450b90(0x1d0)]=_0x450b90(0x204),_0x28b6cf['dom'][_0x450b90(0x1bf)][_0x450b90(0x24a)]=_0x450b90(0x1a7);},'addSourceResult'(_0x25c8ac){const _0x4d0474=_0x4edd68,_0x295d3a=_0x28b6cf['dom'][_0x4d0474(0x1bf)]['querySelector']('#tm-content-area');if(!_0x295d3a||!_0x28b6cf[_0x4d0474(0x24e)])return;const _0x138197=Array[_0x4d0474(0x187)](_0x295d3a[_0x4d0474(0x238)])[_0x4d0474(0x1de)](_0x49f6a0=>_0x49f6a0[_0x4d0474(0x1f6)][_0x4d0474(0x192)](_0x25c8ac[_0x4d0474(0x1e4)]));if(_0x138197)return;const _0xc55a8c=_0x25c8ac['data'][_0x4d0474(0x21d)][_0x4d0474(0x15b)](_0x4d0474(0x161))['pop']()[_0x4d0474(0x15b)]('#')[_0x4d0474(0x20a)],_0xbedb86=_0xbda14a[_0x4d0474(0x21c)](_0x4d0474(0x10b),{'textContent':_0x25c8ac[_0x4d0474(0x1e4)]+'\x20('+_0xc55a8c+_0x4d0474(0x1fc)+_0x25c8ac[_0x4d0474(0x1fb)]+_0x4d0474(0x13a),'className':'tm-collection-btn','onclick':()=>{const _0x4fc5a3=_0x4d0474;_0x28b6cf[_0x4fc5a3(0x232)]=_0x25c8ac[_0x4fc5a3(0x1e4)],this['renderEpisodeList'](_0x25c8ac,![],_0x28b6cf[_0x4fc5a3(0x1b9)]);}});_0x25c8ac[_0x4d0474(0x1e4)]===_0x28b6cf['activeSourceName']&&_0xbedb86[_0x4d0474(0x174)]['add'](_0x4d0474(0x22f)),_0x295d3a['appendChild'](_0xbedb86),_0xbda14a[_0x4d0474(0x169)](_0x295d3a,!![]);},'renderSourceListFromCache'(){const _0x1600e3=_0x4edd68;this[_0x1600e3(0x1d4)](),this[_0x1600e3(0x155)]('共\x20'+_0x28b6cf['sessionCache'][_0x1600e3(0x196)][_0x1600e3(0x20a)]+_0x1600e3(0x228),![]);const _0x222d7e=_0x28b6cf[_0x1600e3(0x124)][_0x1600e3(0x1bf)][_0x1600e3(0x17e)]('#tm-content-area');_0x28b6cf[_0x1600e3(0x150)][_0x1600e3(0x196)][_0x1600e3(0x1db)](_0x3647a0=>this[_0x1600e3(0x15f)](_0x3647a0));if(_0x222d7e)this[_0x1600e3(0x169)](_0x222d7e,!![]);},'renderEpisodeList'(_0x3d69fa,_0x1b2ab8=![],_0x11fd67=null){const _0x5641ae=_0x4edd68;if(_0x28b6cf['isUserClosed'])return;_0xbda14a[_0x5641ae(0x1b1)]();const _0x50827e=_0x28b6cf[_0x5641ae(0x124)][_0x5641ae(0x1bf)][_0x5641ae(0x17e)](_0x5641ae(0x23f));if(!_0x50827e)return;_0x50827e[_0x5641ae(0x24a)]='',_0x50827e[_0x5641ae(0x22b)]=_0x5641ae(0x107),this[_0x5641ae(0x155)](_0x5641ae(0x1cc),![]);const _0xfe002b=_0x28b6cf[_0x5641ae(0x124)][_0x5641ae(0x1bf)]['querySelector'](_0x5641ae(0x179));_0xfe002b['style'][_0x5641ae(0x129)]=_0x5641ae(0x207),_0xfe002b['onclick']=()=>this[_0x5641ae(0x145)](),_0x28b6cf[_0x5641ae(0x1bc)]=[];const _0x1ba31e=_0x3d69fa[_0x5641ae(0x17c)]['vod_play_url'][_0x5641ae(0x15b)](_0x5641ae(0x161))[_0x5641ae(0x21f)]()[_0x5641ae(0x15b)]('#');_0x1ba31e['forEach'](_0x48a196=>{const _0x166aa3=_0x5641ae,[_0x5d6fd6,_0x412d27]=_0x48a196[_0x166aa3(0x15b)]('$');if(!_0x5d6fd6||!_0x412d27)return;_0x28b6cf['currentEpisodeList']['push']({'name':_0x5d6fd6,'url':_0x412d27});const _0x394276=_0xbda14a[_0x166aa3(0x21c)](_0x166aa3(0x10b),{'textContent':_0x5d6fd6,'className':_0x166aa3(0x12c),'onclick':()=>{const _0x13a717=_0x166aa3,_0x414f21=_0x2fc857[_0x13a717(0x1a3)](_0x5d6fd6);_0x414f21&&(_0x28b6cf[_0x13a717(0x1b9)]=_0x414f21),_0x54cfea[_0x13a717(0x14c)](_0x412d27);}});_0x394276['dataset'][_0x166aa3(0x18d)]=_0x412d27,_0x50827e[_0x166aa3(0x22e)](_0x394276);}),this['autoResizePanel'](_0x50827e,![]);if(!_0x11fd67)return;;let _0x5c693f=null;const _0x22e3a5=_0x50827e[_0x5641ae(0x1d1)](_0x5641ae(0x1a2));for(const _0x33630c of _0x22e3a5){const _0x3e8755=_0x2fc857['getEpisodeNumberFromString'](_0x33630c[_0x5641ae(0x1f6)]);if(_0x3e8755&&parseInt(_0x11fd67,0xa)===parseInt(_0x3e8755,0xa)){_0x5c693f=_0x33630c;break;}}_0x5c693f&&(_0x5c693f[_0x5641ae(0x174)][_0x5641ae(0x11f)]('tm-episode-matched'),setTimeout(()=>_0x5c693f['scrollIntoView']({'behavior':_0x5641ae(0x153),'block':_0x5641ae(0x1ec)}),0x64),_0x1b2ab8?(this['updateStatus'](_0x5641ae(0x121)+_0x5c693f['textContent']),_0x54cfea[_0x5641ae(0x14c)](_0x5c693f[_0x5641ae(0x1b0)]['url'])):this[_0x5641ae(0x155)](_0x5641ae(0x10e)+_0x5c693f[_0x5641ae(0x1f6)]));},'updateStatus'(_0x2d8bd3,_0x17bdae=![]){const _0x3b8b85=_0x4edd68,_0x446471=_0x28b6cf['dom']['panel'][_0x3b8b85(0x17e)](_0x3b8b85(0x179));_0x446471&&(_0x446471[_0x3b8b85(0x1f6)]=_0x2d8bd3,_0x446471[_0x3b8b85(0x149)][_0x3b8b85(0x1f8)]=_0x17bdae?_0x3b8b85(0x251):_0x3b8b85(0x178),_0x446471[_0x3b8b85(0x149)]['backgroundColor']=_0x17bdae?_0x3b8b85(0x1ff):_0x3b8b85(0x152),_0x446471[_0x3b8b85(0x149)][_0x3b8b85(0x129)]=_0x3b8b85(0x140));},'updatePlayerStatus'(_0x4e3e3e,_0x1d2137=!![]){const _0xcff571=_0x4edd68;_0x1d2137&&_0x4e3e3e?(_0x28b6cf[_0xcff571(0x124)][_0xcff571(0x1f5)][_0xcff571(0x1f6)]=_0x4e3e3e,_0x28b6cf[_0xcff571(0x124)]['globalStatus'][_0xcff571(0x149)][_0xcff571(0x224)]='block',setTimeout(()=>_0x28b6cf[_0xcff571(0x124)][_0xcff571(0x223)]['style'][_0xcff571(0x1ef)]='1',0xa)):(_0x28b6cf['dom'][_0xcff571(0x223)][_0xcff571(0x149)][_0xcff571(0x1ef)]='0',setTimeout(()=>{const _0xcda29d=_0xcff571;_0x28b6cf['dom'][_0xcda29d(0x223)][_0xcda29d(0x149)]['opacity']==='0'&&(_0x28b6cf[_0xcda29d(0x124)][_0xcda29d(0x223)][_0xcda29d(0x149)][_0xcda29d(0x224)]=_0xcda29d(0x235));},0x12c));},'highlightPlayingEpisode'(_0x5c75ad){const _0x30d2d4=_0x4edd68,_0xbc72bb=_0x28b6cf['dom'][_0x30d2d4(0x1bf)][_0x30d2d4(0x17e)]('#tm-content-area');if(!_0xbc72bb)return;_0xbc72bb['querySelectorAll']('.tm-episode-matched')[_0x30d2d4(0x1db)](_0x440d44=>_0x440d44[_0x30d2d4(0x174)][_0x30d2d4(0x136)](_0x30d2d4(0x1ad)));const _0x410615=_0xbc72bb[_0x30d2d4(0x17e)]('.tm-collection-btn[data-url=\x22'+_0x5c75ad+'\x22]');_0x410615&&(_0x410615[_0x30d2d4(0x174)][_0x30d2d4(0x11f)]('tm-episode-matched'),_0x410615['scrollIntoView']({'behavior':_0x30d2d4(0x153),'block':_0x30d2d4(0x1ec)}));},'autoResizePanel'(_0xdeb3ca,_0x5064d4){setTimeout(()=>{const _0x3c3cd8=_0x5d66;if(!_0x28b6cf[_0x3c3cd8(0x24e)])return;const _0x22cc68=_0xdeb3ca[_0x3c3cd8(0x1d1)](_0x3c3cd8(0x1a2));if(!_0x22cc68[_0x3c3cd8(0x20a)])return;let _0x3acd39=0x0;if(_0x5064d4)_0x3acd39=Math[_0x3c3cd8(0x19b)](...Array[_0x3c3cd8(0x187)](_0x22cc68)[_0x3c3cd8(0x20e)](_0x30a5b9=>_0x30a5b9[_0x3c3cd8(0x10c)]));else for(let _0x2ad9be=0x0;_0x2ad9be<_0x22cc68[_0x3c3cd8(0x20a)];_0x2ad9be+=0x2){const _0x39c8f7=(_0x22cc68[_0x2ad9be]?.[_0x3c3cd8(0x10c)]||0x0)+(_0x22cc68[_0x2ad9be+0x1]?.[_0x3c3cd8(0x10c)]||0x0)+0x4;if(_0x39c8f7>_0x3acd39)_0x3acd39=_0x39c8f7;}_0x28b6cf['dom'][_0x3c3cd8(0x1bf)][_0x3c3cd8(0x149)][_0x3c3cd8(0x1d0)]=_0x3acd39+0xe+'px';},0xa);},'toggleLoading'(_0x369f82){const _0x53ea6b=_0x4edd68;_0x28b6cf[_0x53ea6b(0x124)]['mainBtn'][_0x53ea6b(0x174)][_0x53ea6b(0x222)]('loading',_0x369f82);},'showPanel'(){const _0x4b99a0=_0x4edd68;_0x28b6cf['dom'][_0x4b99a0(0x1bf)][_0x4b99a0(0x149)][_0x4b99a0(0x224)]=_0x4b99a0(0x256),_0x28b6cf[_0x4b99a0(0x24e)]=!![];},'hidePanel'(){const _0x41c1d8=_0x4edd68;_0x28b6cf[_0x41c1d8(0x124)][_0x41c1d8(0x1bf)][_0x41c1d8(0x149)]['display']='none',_0x28b6cf[_0x41c1d8(0x24e)]=![],this[_0x41c1d8(0x1b1)]();},'clearTimer'(_0x35fba2){const _0x221b49=_0x4edd68;clearInterval(_0x28b6cf[_0x221b49(0x138)][_0x35fba2]),clearTimeout(_0x28b6cf[_0x221b49(0x138)][_0x35fba2]),_0x28b6cf[_0x221b49(0x138)][_0x35fba2]=null;},'clearAllTimers'(){const _0xc52704=_0x4edd68;Object[_0xc52704(0x243)](_0x28b6cf[_0xc52704(0x138)])[_0xc52704(0x1db)](_0x4331e6=>this['clearTimer'](_0x4331e6));}},_0x2c3c35={async 'masterSearch'(){const _0x243d70=_0x4edd68;_0xbda14a['clearAllTimers'](),_0xbda14a[_0x243d70(0x1d4)](),_0xbda14a[_0x243d70(0x248)](!![]),_0x54cfea['initPlacement'](),_0xbda14a[_0x243d70(0x155)](_0x243d70(0x23a));const _0x5667d0=_0x2fc857[_0x243d70(0x123)]();if(!_0x5667d0){_0xbda14a['updateStatus'](_0x243d70(0x165),!![]),_0xbda14a[_0x243d70(0x248)](![]);return;}_0x28b6cf[_0x243d70(0x150)]={'key':location[_0x243d70(0x17d)],'results':[]},_0x28b6cf[_0x243d70(0x232)]=null,_0x28b6cf[_0x243d70(0x1b6)]=![],_0x28b6cf[_0x243d70(0x1f9)]['clear'](),_0x28b6cf['isUserClosed']=![];const _0x5ba85f=Date[_0x243d70(0x1b3)]();_0x28b6cf['currentSearchId']=_0x5ba85f;const _0x3a07ae=await _0x2fc857[_0x243d70(0x1a1)]();console[_0x243d70(0x1cb)](_0x243d70(0x148),_0x3a07ae),_0x28b6cf['currentPageEpisodeNumber']=_0x3a07ae;if(_0x28b6cf[_0x243d70(0x126)]||_0x28b6cf[_0x243d70(0x18b)]!==_0x5ba85f)return;this['performApiSearch'](_0x5667d0,_0x3a07ae,_0x5ba85f)[_0x243d70(0x242)](()=>{const _0x389a20=_0x243d70;if(_0x28b6cf[_0x389a20(0x18b)]===_0x5ba85f){_0xbda14a['toggleLoading'](![]);if(_0x28b6cf[_0x389a20(0x150)][_0x389a20(0x196)][_0x389a20(0x20a)]===0x0)_0xbda14a[_0x389a20(0x155)](_0x389a20(0x139),!![]);else!_0x28b6cf['isFirstAutoplayAttempted']&&!_0x28b6cf[_0x389a20(0x126)]&&_0xbda14a[_0x389a20(0x155)](_0x389a20(0x1f2),![]);}});},async 'performApiSearch'(_0x3fdd5b,_0x55228b,_0x5195ac){const _0x4c8f4f=_0x4edd68;let _0x2164bf=0x0;const _0x355966=async _0xbf5496=>{const _0x414ddd=_0x5d66;if(_0x28b6cf['isUserClosed']||_0x28b6cf[_0x414ddd(0x18b)]!==_0x5195ac)return;const _0x152313=await this[_0x414ddd(0x1e6)](_0xbf5496,_0x3fdd5b);if(_0x28b6cf['currentSearchId']!==_0x5195ac)return;_0x2164bf++;if(_0x28b6cf['isPanelOpen']&&!_0x28b6cf[_0x414ddd(0x1b6)]&&!_0x28b6cf[_0x414ddd(0x126)])_0xbda14a['updateStatus'](_0x414ddd(0x1a6)+_0x2164bf+'/'+_0x2b27ef[_0x414ddd(0x20a)]+')');if(_0x152313&&!_0x28b6cf[_0x414ddd(0x126)]){if(_0x28b6cf[_0x414ddd(0x150)][_0x414ddd(0x196)][_0x414ddd(0x188)](_0x15e360=>_0x15e360[_0x414ddd(0x1e4)]===_0x152313[_0x414ddd(0x1e4)]))return;_0x28b6cf[_0x414ddd(0x150)][_0x414ddd(0x196)][_0x414ddd(0x225)](_0x152313),_0xbda14a[_0x414ddd(0x15f)](_0x152313);if(_0x3c4b20[_0x414ddd(0x120)]&&!_0x28b6cf['isFirstAutoplayAttempted']){const _0x5efb20=_0x152313[_0x414ddd(0x17c)][_0x414ddd(0x21d)][_0x414ddd(0x15b)](_0x414ddd(0x161))[_0x414ddd(0x21f)]()['split']('#'),_0x4f3798=_0x5efb20['find'](_0x4b0dc7=>{const _0x46e304=_0x414ddd,[_0xe26e33]=_0x4b0dc7[_0x46e304(0x15b)]('$'),_0x59ecd4=_0x2fc857[_0x46e304(0x1a3)](_0xe26e33);return _0x59ecd4&&parseInt(_0x59ecd4,0xa)===parseInt(_0x55228b,0xa);});_0x4f3798&&(_0x28b6cf['isFirstAutoplayAttempted']=!![],_0x28b6cf['activeSourceName']=_0x152313[_0x414ddd(0x1e4)],_0xbda14a[_0x414ddd(0x155)](_0x414ddd(0x1b5)+_0x152313['name'],![]),_0xbda14a[_0x414ddd(0x115)](_0x152313,!![],_0x55228b));}}};await _0x2fc857['asyncPool'](_0x3c4b20[_0x4c8f4f(0x13c)],_0x2b27ef,_0x355966);},'searchSingleApi':(_0x31d3e1,_0x3689ee)=>new Promise(async _0x480058=>{const _0x437793=_0x4edd68;try{const _0x7372a0=await _0x2fc857[_0x437793(0x181)](_0x437793(0x16d)+encodeURIComponent(_0x3689ee),_0x31d3e1);let _0x57f5f3=_0x7372a0[_0x437793(0x1fb)];const _0x3fd719=_0x7372a0[_0x437793(0x17c)]?.[_0x437793(0x134)]?.[0x0]?.[_0x437793(0x151)];if(!_0x3fd719)return _0x480058(null);const _0x589bcd=await _0x2fc857[_0x437793(0x181)]('ac=detail&ids='+_0x3fd719,_0x31d3e1);_0x57f5f3+=_0x589bcd[_0x437793(0x1fb)];const _0x460219=_0x589bcd['data']?.['list']?.[0x0];if(!_0x460219?.[_0x437793(0x21d)])return _0x480058(null);_0x480058({'name':_0x31d3e1[_0x437793(0x1e4)],'data':_0x460219,'latency':_0x57f5f3});}catch(_0x27317d){_0x480058(null);}})},_0x54cfea={'initPlacement'(){const _0x7c6373=_0x4edd68;if(_0x28b6cf[_0x7c6373(0x126)])return;this['pauseAndHideOriginalPlayer']();const _0x4e323b=_0x7c6373(0x180);_0x28b6cf[_0x7c6373(0x124)][_0x7c6373(0x254)]['srcdoc']=_0x4e323b,this[_0x7c6373(0x22c)](0x0);},'findAndPositionOverlay'(_0x1efd31){const _0x264cd6=_0x4edd68;if(_0x28b6cf['isUserClosed'])return;if(_0x1efd31>0x14){console[_0x264cd6(0x22d)]('[VIP]\x20Failed\x20to\x20find\x20player\x20container.');return;}let _0x1de751=null;!_0x28b6cf[_0x264cd6(0x109)]&&(_0x28b6cf[_0x264cd6(0x109)]=_0x2fc857[_0x264cd6(0x12f)]());if(!_0x28b6cf[_0x264cd6(0x109)]){const _0x2e1667=document[_0x264cd6(0x17e)](_0x264cd6(0x1a4));if(_0x2e1667){let _0x8d11d9=_0x2e1667[_0x264cd6(0x1b7)];while(_0x8d11d9&&_0x8d11d9[_0x264cd6(0x197)]!==_0x264cd6(0x1a5)&&_0x8d11d9[_0x264cd6(0x1ed)]<0x12c){_0x8d11d9=_0x8d11d9[_0x264cd6(0x1b7)];}_0x8d11d9&&_0x8d11d9[_0x264cd6(0x1ed)]>=0x12c&&(_0x28b6cf[_0x264cd6(0x109)]=_0x8d11d9,_0x28b6cf[_0x264cd6(0x109)][_0x264cd6(0x149)][_0x264cd6(0x19f)]=_0x264cd6(0x17f));}}if(_0x28b6cf[_0x264cd6(0x109)])try{_0x1de751=_0x28b6cf['hiddenPlayerElement'][_0x264cd6(0x21e)]();}catch(_0x1b5b18){}_0x1de751&&_0x1de751[_0x264cd6(0x1d0)]>0xc8&&_0x1de751[_0x264cd6(0x1d2)]>0x64?Object[_0x264cd6(0x137)](_0x28b6cf[_0x264cd6(0x124)]['playerOverlay'][_0x264cd6(0x149)],{'position':'absolute','top':_0x1de751[_0x264cd6(0x13b)]+window[_0x264cd6(0x227)]+'px','left':_0x1de751['left']+'px','width':_0x1de751[_0x264cd6(0x1d0)]+'px','height':_0x1de751[_0x264cd6(0x1d2)]+'px','display':_0x264cd6(0x122),'zIndex':'9999'}):setTimeout(()=>this[_0x264cd6(0x22c)](_0x1efd31+0x1),0xc8);},async 'start'(_0x3d2cc5){const _0xb340eb=_0x4edd68;if(_0x28b6cf['isUserClosed'])return;_0xbda14a['clearAllTimers'](),_0xbda14a['hidePanel'](),_0x28b6cf[_0xb340eb(0x1fd)]=_0x3d2cc5,_0xbda14a[_0xb340eb(0x195)](_0x3d2cc5),_0x28b6cf[_0xb340eb(0x124)][_0xb340eb(0x1af)]['style'][_0xb340eb(0x224)]===_0xb340eb(0x235)&&this[_0xb340eb(0x22c)](0x0),this['attemptToPlay'](_0x3d2cc5);},'attemptToPlay'(_0x123ef4){const _0x3b4112=_0x4edd68;if(_0x28b6cf['isUserClosed'])return;_0xbda14a[_0x3b4112(0x183)](_0x3b4112(0x130)),_0xbda14a[_0x3b4112(0x19c)]('正在急速加载资源...');const _0xbe418d=this[_0x3b4112(0x255)](_0x123ef4);_0x28b6cf['dom'][_0x3b4112(0x254)][_0x3b4112(0x250)]=_0xbe418d,_0x28b6cf[_0x3b4112(0x124)][_0x3b4112(0x254)][_0x3b4112(0x1e7)]=()=>{const _0x26dc0c=_0x3b4112;if(_0x28b6cf[_0x26dc0c(0x126)])return;_0x28b6cf['timers']['stuck']=setTimeout(()=>{const _0x35cde6=_0x26dc0c;this[_0x35cde6(0x21b)]();},_0x3c4b20[_0x26dc0c(0x1cf)]);};},'checkStuckStatus'(){const _0x31c1d0=_0x4edd68;if(_0x28b6cf[_0x31c1d0(0x126)])return;_0x28b6cf[_0x31c1d0(0x124)][_0x31c1d0(0x254)]&&_0x28b6cf[_0x31c1d0(0x124)][_0x31c1d0(0x254)][_0x31c1d0(0x146)]&&_0x28b6cf[_0x31c1d0(0x124)][_0x31c1d0(0x254)][_0x31c1d0(0x146)][_0x31c1d0(0x1b2)]({'type':_0x3c4b20[_0x31c1d0(0x12d)]['CHECK_STUCK_REQ']},'*');},'autoSwitchSource'(){const _0x4f8346=_0x4edd68;_0x28b6cf[_0x4f8346(0x1f9)][_0x4f8346(0x11f)](_0x28b6cf[_0x4f8346(0x1fd)]);const _0x5574c9=parseInt(_0x28b6cf[_0x4f8346(0x1b9)],0xa);if(isNaN(_0x5574c9)){_0xbda14a['updatePlayerStatus'](_0x4f8346(0x11b),!![]);return;}let _0x1b4430=null;for(const _0x2b907d of _0x28b6cf[_0x4f8346(0x150)]['results']){if(_0x2b907d[_0x4f8346(0x1e4)]===_0x28b6cf[_0x4f8346(0x232)])continue;if(!_0x2b907d[_0x4f8346(0x17c)]||!_0x2b907d[_0x4f8346(0x17c)][_0x4f8346(0x21d)])continue;const _0x32d8e7=_0x2b907d[_0x4f8346(0x17c)]['vod_play_url'][_0x4f8346(0x15b)]('$$$')[_0x4f8346(0x21f)]()[_0x4f8346(0x15b)]('#'),_0x594dbf=_0x32d8e7[_0x4f8346(0x1de)](_0x206b33=>{const _0x160400=_0x4f8346,[_0x25dd88,_0x441e74]=_0x206b33[_0x160400(0x15b)]('$'),_0x1c6e2f=_0x2fc857['getEpisodeNumberFromString'](_0x25dd88);return _0x1c6e2f&&parseInt(_0x1c6e2f,0xa)===_0x5574c9&&!_0x28b6cf[_0x160400(0x1f9)][_0x160400(0x193)](_0x441e74);});if(_0x594dbf){_0x1b4430={'result':_0x2b907d,'url':_0x594dbf[_0x4f8346(0x15b)]('$')[0x1]};break;}}_0x1b4430?(_0x28b6cf[_0x4f8346(0x232)]=_0x1b4430['result']['name'],_0xbda14a[_0x4f8346(0x155)](_0x4f8346(0x214)+_0x1b4430[_0x4f8346(0x208)][_0x4f8346(0x1e4)],![]),_0xbda14a[_0x4f8346(0x115)](_0x1b4430[_0x4f8346(0x208)],!![],_0x28b6cf[_0x4f8346(0x1b9)])):_0xbda14a['updatePlayerStatus'](_0x4f8346(0x163),!![]);},'createHTML'(_0x1ba447){const _0x1ec56a=_0x4edd68,_0x16dc0e=_0x1ba447+(_0x1ba447['includes']('?')?'&':'?')+(_0x1ec56a(0x176)+Date[_0x1ec56a(0x1b3)]()),_0x36d912=_0x16dc0e[_0x1ec56a(0x103)](/'/g,'\x5c\x27'),_0x463981=JSON['stringify'](_0x3c4b20['HLS_CONFIG']),_0x547679='\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls\x20=\x20new\x20Hls('+_0x463981+');\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.loadSource(\x27'+_0x36d912+_0x1ec56a(0x189)+_0x3c4b20['MESSAGES'][_0x1ec56a(0x20d)]+_0x1ec56a(0x1ee);return _0x1ec56a(0x14a)+_0x36d912+_0x1ec56a(0x14f)+_0x547679+_0x1ec56a(0x158)+_0x3c4b20['MESSAGES'][_0x1ec56a(0x1da)]+'\x27\x20},\x20\x27*\x27));\x20let\x20successSent\x20=\x20false;\x20dp.on(\x27timeupdate\x27,\x20()\x20=>\x20{\x20if\x20(!successSent\x20&&\x20dp.video.currentTime\x20>\x200.1)\x20{\x20successSent\x20=\x20true;\x20parent.postMessage({\x20type:\x20\x27'+_0x3c4b20[_0x1ec56a(0x12d)][_0x1ec56a(0x236)]+'\x27\x20},\x20\x27*\x27);\x20}\x20});\x20window.addEventListener(\x27message\x27,\x20e\x20=>\x20{\x20if\x20(e.data?.type\x20===\x20\x27'+_0x3c4b20[_0x1ec56a(0x12d)][_0x1ec56a(0x249)]+'\x27)\x20{\x20parent.postMessage({\x20type:\x20\x27'+_0x3c4b20[_0x1ec56a(0x12d)]['CHECK_STUCK_RES']+_0x1ec56a(0x1fe);},'handleMessage'(_0x16ceeb){const _0x383036=_0x4edd68;if(_0x28b6cf[_0x383036(0x126)])return;const _0x348fe2=_0x16ceeb[_0x383036(0x17c)];if(!_0x348fe2?.[_0x383036(0x245)])return;if(_0x348fe2['type']===_0x3c4b20[_0x383036(0x12d)]['VIDEO_ENDED']){if(!_0x28b6cf[_0x383036(0x1fd)]||!_0x28b6cf[_0x383036(0x1bc)]['length'])return;const _0x341f09=_0x28b6cf['currentEpisodeList'][_0x383036(0x19a)](_0x2ffa99=>_0x2ffa99['url']===_0x28b6cf[_0x383036(0x1fd)]);if(_0x341f09>-0x1&&_0x341f09<_0x28b6cf[_0x383036(0x1bc)][_0x383036(0x20a)]-0x1){const _0x26b1ca=_0x28b6cf[_0x383036(0x1bc)][_0x341f09+0x1];_0xbda14a['updatePlayerStatus'](_0x383036(0x24f)+_0x26b1ca[_0x383036(0x1e4)],!![]),setTimeout(()=>this[_0x383036(0x14c)](_0x26b1ca[_0x383036(0x18d)]),_0x3c4b20[_0x383036(0x1fa)]);}else _0xbda14a[_0x383036(0x19c)](_0x383036(0x166),!![]),setTimeout(()=>this[_0x383036(0x1d6)](),0xbb8);}else{if(_0x348fe2['type']===_0x3c4b20[_0x383036(0x12d)]['LOAD_ERROR'])_0xbda14a['updatePlayerStatus'](_0x383036(0x1a8),!![]),this[_0x383036(0x167)]();else{if(_0x348fe2[_0x383036(0x245)]===_0x3c4b20[_0x383036(0x12d)][_0x383036(0x236)])_0xbda14a[_0x383036(0x183)]('stuck'),_0xbda14a[_0x383036(0x19c)]('',![]);else _0x348fe2[_0x383036(0x245)]===_0x3c4b20[_0x383036(0x12d)][_0x383036(0x104)]&&(_0x348fe2[_0x383036(0x194)]<0.1&&(_0xbda14a[_0x383036(0x19c)](_0x383036(0x112),!![]),this[_0x383036(0x167)]()));}}},'close'(){const _0x208aca=_0x4edd68;_0xbda14a[_0x208aca(0x1b1)](),_0x28b6cf[_0x208aca(0x126)]=!![],_0x28b6cf[_0x208aca(0x124)][_0x208aca(0x254)][_0x208aca(0x185)]=_0x208aca(0x1d5),_0x28b6cf[_0x208aca(0x124)][_0x208aca(0x254)]['srcdoc']='',_0x28b6cf[_0x208aca(0x124)][_0x208aca(0x1af)][_0x208aca(0x149)]['display']='none',_0xbda14a[_0x208aca(0x19c)]('',![]),_0x28b6cf[_0x208aca(0x109)]&&(_0x28b6cf[_0x208aca(0x109)]['style'][_0x208aca(0x19f)]=_0x208aca(0x1ea),_0x28b6cf[_0x208aca(0x109)]=null),_0x28b6cf['currentPlayingUrl']='',_0x28b6cf[_0x208aca(0x1b6)]=!![];},'pauseAndHideOriginalPlayer'(){const _0xa70436=_0x4edd68;document['querySelectorAll'](_0xa70436(0x1a4))['forEach'](_0x14f4b6=>{const _0x64162c=_0xa70436;if(!_0x14f4b6[_0x64162c(0x133)])_0x14f4b6[_0x64162c(0x105)]();}),_0x28b6cf[_0xa70436(0x109)]=_0x2fc857[_0xa70436(0x12f)](),_0x28b6cf[_0xa70436(0x109)]&&(_0x28b6cf[_0xa70436(0x109)][_0xa70436(0x149)][_0xa70436(0x19f)]=_0xa70436(0x17f));},'updateOverlayPosition'(){const _0x341558=_0x4edd68;if(_0x28b6cf[_0x341558(0x109)]&&_0x28b6cf[_0x341558(0x124)][_0x341558(0x1af)]['style'][_0x341558(0x224)]==='block'){const _0x495313=_0x28b6cf[_0x341558(0x109)][_0x341558(0x21e)]();Object[_0x341558(0x137)](_0x28b6cf[_0x341558(0x124)]['playerOverlay'][_0x341558(0x149)],{'top':_0x495313[_0x341558(0x13b)]+window[_0x341558(0x227)]+'px','left':_0x495313[_0x341558(0x1a9)]+'px','width':_0x495313['width']+'px','height':_0x495313[_0x341558(0x1d2)]+'px'});}}},_0x2fc857={async 'asyncPool'(_0x1ba1b7,_0x2fcd90,_0x158798){const _0x661b28=_0x4edd68,_0x1278da=[],_0x21820e=new Set();for(const _0x5e16ee of _0x2fcd90){const _0x2c1f77=Promise['resolve']()[_0x661b28(0x242)](()=>_0x158798(_0x5e16ee));_0x1278da[_0x661b28(0x225)](_0x2c1f77),_0x21820e[_0x661b28(0x11f)](_0x2c1f77);const _0x2a85c1=()=>_0x21820e[_0x661b28(0x23e)](_0x2c1f77);_0x2c1f77[_0x661b28(0x242)](_0x2a85c1)[_0x661b28(0x117)](_0x2a85c1),_0x21820e[_0x661b28(0x15a)]>=_0x1ba1b7&&await Promise['race'](_0x21820e);}return Promise['all'](_0x1278da);},'robustRequest'(_0x260643,_0x5443b3){return new Promise((_0x2b53ca,_0x32961b)=>{const _0x5ac9d0=_0x5d66,_0x2bb89f=Date[_0x5ac9d0(0x1b3)]();GM_xmlhttpRequest({'method':_0x5ac9d0(0x12a),'url':_0x5443b3[_0x5ac9d0(0x18d)]+'?'+_0x260643,'headers':{'Referer':new URL(_0x5443b3[_0x5ac9d0(0x18d)])[_0x5ac9d0(0x219)]},'timeout':_0x3c4b20[_0x5ac9d0(0x177)],'onload':_0x3cbc72=>{const _0x4de2f3=_0x5ac9d0,_0x8dae6b=Date[_0x4de2f3(0x1b3)]()-_0x2bb89f;if(_0x3cbc72[_0x4de2f3(0x1c6)]!==0xc8||!_0x3cbc72[_0x4de2f3(0x20b)]||_0x3cbc72[_0x4de2f3(0x20b)]['trim']()[_0x4de2f3(0x192)]('<'))return _0x32961b(new Error(_0x4de2f3(0x172)));try{_0x2b53ca({'data':JSON[_0x4de2f3(0x20c)](_0x3cbc72[_0x4de2f3(0x20b)]),'latency':_0x8dae6b});}catch(_0x3799b4){_0x32961b(new Error('JSON\x20parse\x20error'));}},'onerror':_0x30e54=>_0x32961b(new Error(_0x5ac9d0(0x164)+_0x30e54['error'])),'ontimeout':()=>_0x32961b(new Error(_0x5ac9d0(0x1c1)))});});},'getQuickMainTitle'(){const _0x4acc1c=_0x4edd68;for(const _0x5b7b5b of _0x3c4b20['SELECTORS']['QUICK_TITLE']){const _0x204dea=document[_0x4acc1c(0x17e)](_0x5b7b5b);if(_0x204dea){const _0x15a5e4=(_0x204dea['getAttribute'](_0x4acc1c(0x1ab))||_0x204dea[_0x4acc1c(0x1f6)]||'')['trim']();if(_0x15a5e4)return _0x15a5e4[_0x4acc1c(0x15b)](/[-_\s((]/)[0x0][_0x4acc1c(0x103)](/第.+[集季部]/,'')['trim']();}}return document[_0x4acc1c(0x199)]['split'](/[-_\s((]/)[0x0][_0x4acc1c(0x103)](/第.+[集季部]/,'')[_0x4acc1c(0x147)]();},async 'getCurrentEpisodeNumber'(){const _0x41e649=_0x4edd68;try{const _0x448dca=new URLSearchParams(location[_0x41e649(0x17d)]);if(_0x448dca[_0x41e649(0x193)]('s4')){const _0xbd1d19=_0x448dca['get']('s4');if(_0xbd1d19&&!isNaN(_0xbd1d19))return _0xbd1d19;}if(_0x448dca[_0x41e649(0x193)](_0x41e649(0x16e))){const _0x5a0401=this[_0x41e649(0x1a3)](decodeURIComponent(_0x448dca[_0x41e649(0x141)]('tvname')));if(_0x5a0401)return _0x5a0401;}}catch(_0x2228d3){}if(location[_0x41e649(0x131)][_0x41e649(0x113)]('qq.com')){const _0x5b1f98=this[_0x41e649(0x1a3)](document[_0x41e649(0x199)]);if(_0x5b1f98)return _0x5b1f98;}const _0x5506bc=window[_0x41e649(0x16c)][_0x41e649(0x131)],_0x3c48cd=Object[_0x41e649(0x243)](_0x3c4b20[_0x41e649(0x173)][_0x41e649(0x168)])[_0x41e649(0x1de)](_0x176cc4=>_0x5506bc['includes'](_0x176cc4));if(_0x3c48cd)try{const _0x4948d6=await this[_0x41e649(0x200)](_0x3c4b20[_0x41e649(0x173)][_0x41e649(0x168)][_0x3c48cd],0x3e8);if(_0x4948d6?.[_0x41e649(0x1f6)]){const _0x266eac=this[_0x41e649(0x1a3)](_0x4948d6[_0x41e649(0x1f6)][_0x41e649(0x147)]());if(_0x266eac)return _0x266eac;}}catch(_0xf999c7){}return this['getEpisodeNumberFromString'](document[_0x41e649(0x199)]);},'getEpisodeNumberFromString'(_0x2361d9){const _0x337b5=_0x4edd68;if(!_0x2361d9)return null;if(/^\d+$/[_0x337b5(0x198)](_0x2361d9['trim']()))return _0x2361d9['trim']();let _0x16b7bc=_0x2361d9[_0x337b5(0x14b)](/(?:第|EP|Ep|ep|E)\s*(\d+)/);if(_0x16b7bc&&_0x16b7bc[0x1])return _0x16b7bc[0x1];_0x16b7bc=_0x2361d9[_0x337b5(0x14b)](/(?:\D|^)(\d{1,4})(?:\D|$)/);if(_0x16b7bc&&_0x16b7bc[0x1])return _0x16b7bc[0x1];const _0x35ca87=_0x2361d9[_0x337b5(0x14b)](/\d+/g);return _0x35ca87?_0x35ca87[_0x35ca87[_0x337b5(0x20a)]-0x1]:null;},'findWebsitePlayerElement':()=>_0x3c4b20[_0x4edd68(0x173)][_0x4edd68(0x184)][_0x4edd68(0x20e)](_0xdbadac=>document['querySelector'](_0xdbadac))[_0x4edd68(0x1de)](_0x2a646a=>_0x2a646a),'waitForElement'(_0x5850d1,_0x4949d5=0xbb8){return new Promise((_0x348add,_0x650872)=>{const _0x251ac8=_0x5d66,_0x25406a=document[_0x251ac8(0x17e)](_0x5850d1);if(_0x25406a)return _0x348add(_0x25406a);const _0x4d6138=new MutationObserver(()=>{const _0x3904cf=_0x251ac8,_0x1fe41b=document['querySelector'](_0x5850d1);_0x1fe41b&&(_0x4d6138[_0x3904cf(0x11a)](),clearTimeout(_0x3f3cd9),_0x348add(_0x1fe41b));}),_0x3f3cd9=setTimeout(()=>{const _0x4fca40=_0x251ac8;_0x4d6138['disconnect'](),_0x650872(new Error(_0x4fca40(0x14e)+_0x5850d1+'\x27'));},_0x4949d5);_0x4d6138[_0x251ac8(0x246)](document[_0x251ac8(0x135)],{'childList':!![],'subtree':!![]});});},'waitForPlayerResize'(_0x2f9876,_0x2de4d3=0x7d0){return new Promise((_0x2b12b6,_0x5a8cdb)=>{const _0x583e05=_0x5d66;if(!_0x2f9876)return _0x5a8cdb(new Error(_0x583e05(0x15e)));let _0x1a91f7=0x0,_0x40198e=0x0,_0x5b6be1=0x0;const _0x6ba179=0xc8,_0xa2b21a=0x3,_0x113ae0=setInterval(()=>{const _0x398c20=_0x583e05,_0x1a5769=_0x2f9876[_0x398c20(0x21e)]();_0x1a5769[_0x398c20(0x1d0)]>0x0&&_0x1a5769[_0x398c20(0x1d2)]>0x0&&(_0x1a5769[_0x398c20(0x1d0)]===_0x1a91f7&&_0x1a5769[_0x398c20(0x1d2)]===_0x40198e?++_0x5b6be1>=_0xa2b21a&&(clearInterval(_0x113ae0),clearTimeout(_0x420a86),_0x2b12b6(_0x1a5769)):(_0x5b6be1=0x0,_0x1a91f7=_0x1a5769[_0x398c20(0x1d0)],_0x40198e=_0x1a5769[_0x398c20(0x1d2)]));},_0x6ba179),_0x420a86=setTimeout(()=>{const _0x44cb54=_0x583e05;clearInterval(_0x113ae0);const _0xf92ba5=_0x2f9876['getBoundingClientRect']();_0xf92ba5[_0x44cb54(0x1d0)]>0x0?_0x2b12b6(_0xf92ba5):_0x5a8cdb(new Error('Player\x20did\x20not\x20resize\x20in\x20time'));},_0x2de4d3);});}};function _0x5c2678(){setTimeout(()=>{const _0x356138=_0x5d66;if(document[_0x356138(0x1e0)](_0x356138(0x10f)))return;_0xbda14a[_0x356138(0x156)](),GM_registerMenuCommand(_0x356138(0x1c5),()=>{const _0x84adb0=_0x356138;_0xbda14a[_0x84adb0(0x19c)]('接口缓存已清除,\x20重新搜索...',!![]),_0x28b6cf[_0x84adb0(0x150)]={'key':null,'results':[]};if(_0x28b6cf[_0x84adb0(0x24e)])_0x2c3c35[_0x84adb0(0x203)]();setTimeout(()=>_0xbda14a[_0x84adb0(0x19c)]('',![]),0x9c4);});const _0x102fe5=new MutationObserver(()=>{const _0x14cc7e=_0x356138;if(location[_0x14cc7e(0x17d)]!==_0x28b6cf[_0x14cc7e(0x171)]){_0x28b6cf[_0x14cc7e(0x171)]=location['href'],_0x28b6cf[_0x14cc7e(0x1b6)]=![],_0x28b6cf[_0x14cc7e(0x150)]={'key':null,'results':[]};if(_0x28b6cf[_0x14cc7e(0x24e)])_0xbda14a[_0x14cc7e(0x1c0)]();}});_0x102fe5['observe'](document['body'],{'childList':!![],'subtree':!![]});},0x1f4);}document[_0x4edd68(0x202)]===_0x4edd68(0x253)?document[_0x4edd68(0x1eb)](_0x4edd68(0x1dc),_0x5c2678):_0x5c2678();}()));function _0x7166(){const _0x50669f=['https://api.apibdzy.com/api.php/provide/vod/','_t=','API_TIMEOUT','#343a40','#tm-status-bar','tm-player-overlay-fusion','grabbing','data','href','querySelector','hidden','