// ==UserScript== // @name 采集接口VIP视频通行证 // @namespace http://tampermonkey.net/lsym-optimized // @version 4.1.3 // @description 视频VIP 影视vip 电影vip解析-----支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析,影视vip解析。 (强烈推荐用脚本猫加载此插件或使用浏览器插件压缩包,资源搜索会快很多。大版本升级,修改操作简化,ui交换更智能,解析更快。) // @author lsym // @license MIT // @uuid a1e8a8e1-8b9a-4f7c-8e3b-9f6a7d2c1b4d // @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 * // @antifeature piracy // ==/UserScript== function _0x340f(){const _0x47a2b8=['4608168CUsDlV','srcdoc','https://iqiyizyapi.com/api.php/provide/vod/','#flashbox','并发搜索中(','meta[property=\x22og:title\x22]','tm-global-status','scrollY','remove','waitForElement','textContent','type','\x27,\x20type:\x20\x27customVideo\x27,\x20customType:\x20{\x20customVideo:\x20(video,\x20player)\x20=>\x20{\x20','SEARCH_CONCURRENCY','filter','11XANmQa','paused','pause','https://www.mdzyapi.com/api.php/provide/vod/','responseText','addEventListener','match','.video-title','highlightPlayingEpisode','default','getCurrentEpisodeNumber','播放器加载超时,请按\x20Ctrl+R\x20切换解码引擎','.\x20Falling\x20back\x20to\x20fullscreen.','接口缓存已清除,\x20重新搜索...','searchSingleApi','time','.video-area','https://api.wujinapi.me/api.php/provide/vod/','hostname','stopPropagation','querySelectorAll','init','loading','playerOverlay','disconnect','pop','responseHeaders','https://collect.wolongzyw.com/api.php/provide/vod/at/json','.js-episode-item.on,\x20.video-info\x20h1','','#sohuplayer','JSON\x20parse\x20error','PANEL_LEAVE_CLOSE_DELAY','360','currentPageEpisodeNumber','.tm-collection-btn','values','pauseAndHideOriginalPlayer','搜索完成,共\x20','未找到任何可用资源','autoResizePanel','left','tm-global-status-text','display','.player-container','最快链接:\x20','toLowerCase','\x27);\x20hls.attachMedia(video);\x20hls.on(Hls.Events.ERROR,\x20(event,\x20data)\x20=>\x20{\x20console.error(\x27HLS.js\x20Error:\x27,\x20data);\x20if\x20(data.fatal)\x20{\x20switch(data.type)\x20{\x20case\x20Hls.ErrorTypes.MEDIA_ERROR:\x20hls.recoverMediaError();\x20break;\x20case\x20Hls.ErrorTypes.NETWORK_ERROR:\x20hls.startLoad();\x20break;\x20default:\x20parent.postMessage({\x20type:\x20\x27','text/html','#343a40','panelCollapse','hidePanel','DPlayer\x20(HLS)','.\x20Resetting\x20state\x20for\x20SPA.','.video-info-title','attemptToPlay','backgroundColor','mainBtn','tm-source-selected','100%','https://api.xinlangapi.com/xinlangapi.php/provide/vod/','hidden','scrollIntoView','STORAGE_KEY_ICON_POSITION','trim','resize','.qy-episode-item[class*=\x22is-active\x22]\x20a,\x20.album-list\x20.is-active\x20.title-content,\x20[class*=\x22video-title_text\x22]','#f1f3f5','dataset','blur','location','https://ikunzyapi.com/api.php/provide/vod/','postMessage','globalStatus','scrollWidth','GET_TIME_RES','#le_player','getBoundingClientRect','Request\x20failed:\x20','tvname','isHardResetting','tm-episode-matched','#player-container','close',');\x20hls.loadSource(\x27','#video-player','无直连匹配,\x20按API速度排序','url','tm-collection-btn','clientX','observe','min','SELECTORS','addSourceResult','includes','replace','https://www.huyaapi.com/api.php/provide/vod/','clearTimer','API\x20format\x20error','classList','https://www.hongniuzy2.com/api.php/provide/vod/','\x20>\x200)\x20{\x20dp.on(\x27canplay\x27,\x20()\x20=>\x20dp.seek(','REAL_LINK_TIMEOUT','createHTML','fallback','18Ptrncb','href','activeSourceName','appendChild','#player','#player_swf','tm-panel-fusion','tm_video_ended','closeBtn','tm-iframe-player-fusion','all','2GAkBhw','.txp_player_root','div','onmouseenter','.video-name','首次加载,\x20自动播放:\x20','renderEpisodeList','加载中:\x20','button','210XpzrXT','_t=','Player\x20did\x20not\x20resize\x20in\x20time','smooth','transition','\x20个资源\x20(缓存)','status','clientY','...','\x27\x20});\x20playerInstance.attachMediaElement(video);\x20playerInstance.load();\x20}\x20','https://subocaiji.com/api.php/provide/vod/','log','\x27)\x20{\x20parent.postMessage({\x20type:\x20\x27','.anthology-wrap\x20li.active\x20span,\x20.list-single-episode.current\x20a','.ep-list-item.on\x20.ep-item-title,\x20.bpx-player-sending-info\x20.bpx-player-video-title','),\x20{\x20once:\x20true\x20});\x20}\x20dp.on(\x27ended\x27,\x20()\x20=>\x20parent.postMessage({\x20type:\x20\x27','dplayer_hls','assign','.active\x20.title-wenzi','isFirstAutoplayAttempted','height','flex','updateStatus','已全部播放完毕!','center','masterSearch','block','body','split',')...\x20找到\x20','preventDefault','\x27\x20},\x20\x27*\x27));\x20window.addEventListener(\x27message\x27,\x20e\x20=>\x20{\x20if\x20(e.data?.type\x20===\x20\x27','content-type','tm-close-btn-fusion','getAttribute','renderInitialPanel','userSelect','tm_get_time_req','data','onmouseleave','vod_play_url','append','latency','14703880mFxLBl','robustRequest','length','VIDEO_ENDED','readyState','fixed','top','GET','HARD_RESET_REQ','.title','tm_hard_reset_req','findWebsitePlayerElement','https://bfzyapi.com/api.php/provide/vod/','getQuickMainTitle','episode-list','检测\x20','https://jszyapi.com/api.php/provide/vod/','[VIP-Refined]\x20Manual\x20cache\x20clear\x20triggered.','realLatency','864037lCSIVY','panel','offsetHeight','delete','
','sessionCache','createElement','ac=detail&ids=','Mozilla/5.0','iqiyi','onclick','HLS_CONFIG','start','asyncPool','dom','max','PRECISE_TITLE','.episode-list\x20.current,\x20.video-title\x20a','','#tm-content-area','name','集\x20|\x20','has','message','performApiSearch','.play-box','.bpx-player-container','playerStatus','key','map','timers','renderSourceListFromCache','currentEpisodeList','.tm-episode-matched','size','stringify','find','now','PLAYER_ELEMENTS','hiddenPlayerElement','4502110YHShoT','list','ac=list&wd=','MESSAGES','.play-player','tm_icon_position_v3.2','container','tm-main-btn-fusion','手动清除接口缓存','ENGINE_FALLBACK_TIMEOUT','7133182QOjneT','468424ZBVRBw','即将播放下一集:\x20','innerHTML','tm_get_time_res','播放器\x20[','push','currentURL','.vod_title','20px','切换引擎修复:\x20','HEAD','initDraggableIcon','#pp-player','from','currentPlayingUrl','无法获取视频标题','currentEngineIndex','vod_id','Request\x20timeout','tm-container-fusion','absolute','grabbing','ms)','tm-player-overlay-fusion','#bilibili-player','content','.tm-collection-btn[data-url=\x22','.episode-list-rect__item--current\x20.episode-list-rect__title,\x20.episode-item.current\x20.episode-item-num','warn','removeEventListener','\x20hls\x20=\x20new\x20Hls(','contentWindow','iframePlayer','cursor','querySelector','isPanelOpen','\x20个源的真实链接...','forEach','opacity','width','#ACPlayer'];_0x340f=function(){return _0x47a2b8;};return _0x340f();}function _0x33c2(_0x109308,_0x5cd29b){const _0x340f6e=_0x340f();return _0x33c2=function(_0x33c24b,_0xb6d633){_0x33c24b=_0x33c24b-0x103;let _0x5b3db9=_0x340f6e[_0x33c24b];return _0x5b3db9;},_0x33c2(_0x109308,_0x5cd29b);}(function(_0x4dbc33,_0x1b5cf5){const _0x536713=_0x33c2,_0x2290b2=_0x4dbc33();while(!![]){try{const _0x15ddbd=-parseInt(_0x536713(0x1cc))/0x1*(parseInt(_0x536713(0x185))/0x2)+-parseInt(_0x536713(0x18e))/0x3*(-parseInt(_0x536713(0x1f5))/0x4)+-parseInt(_0x536713(0x21a))/0x5+parseInt(_0x536713(0x24e))/0x6+-parseInt(_0x536713(0x224))/0x7+parseInt(_0x536713(0x225))/0x8*(parseInt(_0x536713(0x17a))/0x9)+-parseInt(_0x536713(0x1b9))/0xa*(-parseInt(_0x536713(0x111))/0xb);if(_0x15ddbd===_0x1b5cf5)break;else _0x2290b2['push'](_0x2290b2['shift']());}catch(_0x41dbe7){_0x2290b2['push'](_0x2290b2['shift']());}}}(_0x340f,0x8428f),(function(){'use strict';const _0x58f102=_0x33c2;const _0xa8b506={'API_TIMEOUT':0x1194,'REAL_LINK_TIMEOUT':0xdac,'ENGINE_FALLBACK_TIMEOUT':0x1f40,'AUTOPLAY_NEXT_DELAY':0x5dc,'PANEL_LEAVE_CLOSE_DELAY':0x7d0,'STORAGE_KEY_ICON_POSITION':_0x58f102(0x21f),'SEARCH_CONCURRENCY':0x8,'AUTO_EXPAND_BEST_SOURCE':!![],'HLS_CONFIG':{'enableWorker':!![],'fragLoadingMaxRetry':0x4,'levelLoadingMaxRetry':0x4,'fragLoadingTimeOut':0x3a98,'manifestLoadingTimeOut':0x1f40,'maxBufferLength':0x3c,'maxMaxBufferLength':0x78},'MESSAGES':{'VIDEO_ENDED':_0x58f102(0x181),'HARD_RESET_REQ':_0x58f102(0x1c3),'GET_TIME_REQ':_0x58f102(0x1b3),'GET_TIME_RES':_0x58f102(0x228)},'SELECTORS':{'PLAYER_ELEMENTS':[_0x58f102(0x12f),_0x58f102(0x105),_0x58f102(0x163),_0x58f102(0x17e),'.iqp-player',_0x58f102(0x186),_0x58f102(0x23d),_0x58f102(0x20c),'#mgtv-player-wrap',_0x58f102(0x15d),_0x58f102(0x17f),_0x58f102(0x231),_0x58f102(0x24d),_0x58f102(0x166),'#xigua-player',_0x58f102(0x121),_0x58f102(0x13d),_0x58f102(0x21e),_0x58f102(0x20b)],'QUICK_TITLE':[_0x58f102(0x107),'h1',_0x58f102(0x118),_0x58f102(0x1c2),_0x58f102(0x22c),_0x58f102(0x147),_0x58f102(0x189)],'PRECISE_TITLE':{'iqiyi.com':_0x58f102(0x153),'youku.com':_0x58f102(0x19b),'v.qq.com':_0x58f102(0x240),'bilibili.com':_0x58f102(0x19c),'mgtv.com':_0x58f102(0x1e8),'sohu.com':'.player-album-list\x20.on\x20a,\x20.c-info-title','le.com':_0x58f102(0x12d),'pptv.com':_0x58f102(0x1dd),'acfun.cn':_0x58f102(0x1a0)}}},_0x3afc7=[{'name':'卧龙','url':_0x58f102(0x12c)},{'name':'无尽','url':_0x58f102(0x122)},{'name':'非凡','url':'https://cj.ffzyapi.com/api.php/provide/vod/'},{'name':'暴风','url':_0x58f102(0x1c5)},{'name':'红牛','url':_0x58f102(0x175)},{'name':'U酷','url':'https://api.ukuapi.com/api.php/provide/vod/'},{'name':'光速','url':_0x58f102(0x1fe)},{'name':'新浪','url':_0x58f102(0x14d)},{'name':'极速','url':_0x58f102(0x1c9)},{'name':'火狐','url':'https://hhzyapi.com/api.php/provide/vod/'},{'name':_0x58f102(0x132),'url':'https://360zy.com/api.php/provide/vod/'},{'name':'速播','url':_0x58f102(0x198)},{'name':'虎牙','url':_0x58f102(0x171)},{'name':'百度','url':'https://api.apibdzy.com/api.php/provide/vod/'},{'name':'魔都','url':_0x58f102(0x114)},{'name':_0x58f102(0x1d5),'url':_0x58f102(0x104)},{'name':'爱哭','url':_0x58f102(0x158)},{'name':'金鹰','url':_0x58f102(0x1f8)},{'name':'电影天堂','url':'http://caiji.dyttzyapi.com/api.php/provide/vod/'}],_0x24450d=[...new Map(_0x3afc7[_0x58f102(0x20f)](_0x1087a9=>[_0x1087a9['name'],_0x1087a9]))[_0x58f102(0x135)]()],_0x5b60fe=[{'name':_0x58f102(0x145),'type':'dplayer_hls'},{'name':'DPlayer\x20(MPEGTS)','type':'dplayer_mpegts'}],_0x4f2503={'currentEpisodeList':[],'currentPlayingUrl':'','currentEngineIndex':0x0,'hiddenPlayerElement':null,'isHardResetting':![],'isPanelOpen':![],'currentURL':location['href'],'dom':{},'timers':{'fallback':null,'resize':null,'panelCollapse':null},'sessionCache':{'key':null,'results':[]},'activeSourceName':null,'isFirstAutoplayAttempted':![],'currentPageEpisodeNumber':null},_0x65f38c={'init'(){const _0x10e94a=_0x58f102;this[_0x10e94a(0x1ec)](),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x220)]=this[_0x10e94a(0x1d2)](_0x10e94a(0x187),{'id':_0x10e94a(0x238)}),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x14a)]=this['createElement'](_0x10e94a(0x18d),{'id':_0x10e94a(0x221)}),_0x4f2503[_0x10e94a(0x1da)]['panel']=this[_0x10e94a(0x1d2)](_0x10e94a(0x187),{'id':_0x10e94a(0x180)}),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x128)]=this['createElement'](_0x10e94a(0x187),{'id':_0x10e94a(0x23c)}),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x15a)]=this['createElement']('div',{'id':_0x10e94a(0x108),'innerHTML':''}),_0x4f2503['dom']['playerOverlay'][_0x10e94a(0x227)]=_0x10e94a(0x1ee),document[_0x10e94a(0x1a9)][_0x10e94a(0x1b7)](_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x220)],_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x128)],_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x15a)]),_0x4f2503['dom'][_0x10e94a(0x220)][_0x10e94a(0x1b7)](_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x14a)],_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x1cd)]),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x245)]=document['getElementById'](_0x10e94a(0x183)),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x182)]=document[_0x10e94a(0x1ed)](_0x10e94a(0x1af)),_0x4f2503[_0x10e94a(0x1da)][_0x10e94a(0x20d)]=document['getElementById'](_0x10e94a(0x13b)),this[_0x10e94a(0x230)](),this['attachEventListeners']();},'createElement':(_0x5cfe89,_0xae1a72)=>Object[_0x58f102(0x19f)](document[_0x58f102(0x1d2)](_0x5cfe89),_0xae1a72),'injectStyle'(){GM_addStyle('\x20#tm-container-fusion\x20{\x20position:\x20fixed;\x20z-index:\x201000003;\x20width:\x2038px;\x20height:\x2038px;\x20text-align:\x20center;\x20cursor:\x20grab;\x20user-select:\x20none;\x20}\x20#tm-main-btn-fusion\x20{\x20width:\x20100%;\x20height:\x20100%;\x20border:\x20none;\x20border-radius:\x2050%;\x20background:\x20linear-gradient(135deg,\x20#FFD700,\x20#FFA500);\x20color:\x20white;\x20cursor:\x20pointer;\x20box-shadow:\x200\x204px\x208px\x20rgba(0,0,0,0.2);\x20transition:\x20all\x200.3s\x20ease;\x20padding:\x200;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20center;\x20overflow:\x20hidden;\x20}\x20#tm-main-btn-fusion:hover\x20{\x20transform:\x20scale(1.1);\x20box-shadow:\x200\x206px\x2012px\x20rgba(0,0,0,0.3);\x20}\x20#tm-main-btn-fusion::before\x20{\x20content:\x20\x22VIP\x22;\x20font-size:\x2016px;\x20font-weight:\x20bold;\x20color:\x20#fff;\x20text-shadow:\x200\x201px\x202px\x20rgba(0,0,0,0.2);\x20}\x20@keyframes\x20tm-spin\x20{\x20to\x20{\x20transform:\x20rotate(360deg);\x20}\x20}\x20#tm-main-btn-fusion.loading::before\x20{\x20content:\x20\x27\x27;\x20box-sizing:\x20border-box;\x20width:\x2020px;\x20height:\x2020px;\x20border-radius:\x2050%;\x20border:\x203px\x20solid\x20rgba(255,255,255,0.4);\x20border-top-color:\x20#fff;\x20animation:\x20tm-spin\x200.8s\x20linear\x20infinite;\x20}\x20#tm-panel-fusion\x20{\x20display:\x20none;\x20position:\x20absolute;\x20left:\x2048px;\x20top:\x200;\x20min-width:\x20150px;\x20background:\x20rgba(255,\x20255,\x20255,\x200.95);\x20border-radius:\x208px;\x20padding:\x205px;\x20max-height:\x2070vh;\x20box-shadow:\x200\x206px\x2020px\x20rgba(0,0,0,0.15);\x20font-size:\x2012px;\x20backdrop-filter:\x20blur(10px);\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.2);\x20flex-direction:\x20column;\x20}\x20#tm-status-bar\x20{\x20padding:\x204px;\x20margin-bottom:\x205px;\x20background:\x20#f1f3f5;\x20border-radius:\x206px;\x20text-align:\x20center;\x20font-weight:\x20500;\x20color:\x20#495057;\x20font-size:\x2011px;\x20min-height:\x2016px;\x20}\x20.tm-collection-btn\x20{\x20display:\x20block;\x20width:\x20100%;\x20padding:\x204px\x206px;\x20margin-bottom:\x204px;\x20background:\x20#fff;\x20border:\x201px\x20solid\x20#e9ecef;\x20border-radius:\x206px;\x20cursor:\x20pointer;\x20text-align:\x20left;\x20font-weight:\x20500;\x20color:\x20#495057;\x20font-size:\x2011px;\x20transition:\x20all\x200.2s\x20ease;\x20white-space:\x20nowrap;\x20box-sizing:\x20border-box;\x20}\x20.tm-collection-btn:hover\x20{\x20background:\x20#f8f9fa;\x20transform:\x20translateY(-1px);\x20}\x20.tm-episode-matched,\x20.tm-source-selected\x20{\x20background:\x20linear-gradient(135deg,\x20#28a745,\x20#20c997)\x20!important;\x20color:\x20white\x20!important;\x20border-color:\x20transparent\x20!important;\x20}\x20#tm-content-area\x20{\x20display:\x20grid;\x20grid-template-columns:\x201fr;\x20gap:\x204px;\x20flex-grow:\x201;\x20overflow-y:\x20auto;\x20padding-right:\x208px;\x20}\x20#tm-content-area.episode-list\x20{\x20grid-template-columns:\x201fr\x201fr;\x20}\x20#tm-content-area::-webkit-scrollbar\x20{\x20width:\x208px;\x20}\x20#tm-content-area::-webkit-scrollbar-track\x20{\x20background:\x20transparent;\x20}\x20#tm-content-area::-webkit-scrollbar-thumb\x20{\x20background:\x20#ccc;\x20border-radius:\x204px;\x20border:\x202px\x20solid\x20transparent;\x20background-clip:\x20content-box;\x20}\x20#tm-content-area::-webkit-scrollbar-thumb:hover\x20{\x20background:\x20#aaa;\x20}\x20#tm-player-overlay-fusion\x20{\x20position:\x20absolute;\x20background-color:\x20#000;\x20z-index:\x20999998;\x20display:\x20none;\x20}\x20#tm-iframe-player-fusion\x20{\x20width:\x20100%;\x20height:\x20100%;\x20border:\x20none;\x20}\x20#tm-close-btn-fusion\x20{\x20position:\x20fixed;\x20top:\x2015px;\x20right:\x2015px;\x20z-index:\x201000003;\x20width:\x2036px;\x20height:\x2036px;\x20border-radius:\x2050%;\x20background:\x20rgba(220,\x2053,\x2069,\x200.9);\x20color:\x20white;\x20border:\x20none;\x20cursor:\x20pointer;\x20font-size:\x2016px;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20center;\x20transition:\x20all\x200.3s\x20ease;\x20}\x20#tm-close-btn-fusion:hover\x20{\x20background:\x20#dc3545;\x20transform:\x20scale(1.1);\x20}\x20#tm-global-status\x20{\x20position:\x20fixed;\x20top:\x200;\x20left:\x200;\x20width:\x20100%;\x20text-align:\x20center;\x20z-index:\x201000002;\x20pointer-events:\x20none;\x20padding-top:\x2010px;\x20transition:\x20opacity\x200.3s;\x20opacity:\x200;\x20display:\x20none;\x20}\x20#tm-global-status-text\x20{\x20display:\x20inline-block;\x20background:\x20rgba(0,\x200,\x200,\x200.7);\x20color:\x20white;\x20padding:\x208px\x2016px;\x20border-radius:\x2020px;\x20font-size:\x2014px;\x20backdrop-filter:\x20blur(4px);\x20}\x20');},'initDraggableIcon'(){const _0x153fb6=_0x58f102;let _0x5d12e1=![],_0xdf0e34=![],_0x62aca6,_0x5d12eb;const _0x120f3c=_0x4f2503[_0x153fb6(0x1da)][_0x153fb6(0x220)],_0x2b5daa=GM_getValue(_0xa8b506['STORAGE_KEY_ICON_POSITION'],{'left':_0x153fb6(0x22d),'top':'250px'});Object[_0x153fb6(0x19f)](_0x120f3c[_0x153fb6(0x1f7)],_0x2b5daa);const _0x344ad3=_0x4ff1ff=>{const _0x3a3dfa=_0x153fb6;if(!_0x5d12e1)return;_0xdf0e34=!![];let _0x53eb92=_0x4ff1ff[_0x3a3dfa(0x16a)]-_0x62aca6,_0x4136c2=_0x4ff1ff[_0x3a3dfa(0x195)]-_0x5d12eb;_0x53eb92=Math[_0x3a3dfa(0x1db)](0x0,Math['min'](_0x53eb92,window['innerWidth']-_0x120f3c[_0x3a3dfa(0x1ef)])),_0x4136c2=Math[_0x3a3dfa(0x1db)](0x0,Math[_0x3a3dfa(0x16c)](_0x4136c2,window['innerHeight']-_0x120f3c[_0x3a3dfa(0x1ce)])),Object[_0x3a3dfa(0x19f)](_0x120f3c[_0x3a3dfa(0x1f7)],{'left':_0x53eb92+'px','top':_0x4136c2+'px'});},_0x4cea96=()=>{const _0x34ecf2=_0x153fb6;if(!_0x5d12e1)return;_0x5d12e1=![],document[_0x34ecf2(0x1a9)]['style'][_0x34ecf2(0x1b2)]='',_0x120f3c[_0x34ecf2(0x1f7)]['cursor']='grab',_0x120f3c[_0x34ecf2(0x1f7)][_0x34ecf2(0x192)]='',_0xdf0e34&&GM_setValue(_0xa8b506[_0x34ecf2(0x150)],{'left':_0x120f3c[_0x34ecf2(0x1f7)]['left'],'top':_0x120f3c[_0x34ecf2(0x1f7)][_0x34ecf2(0x1bf)]}),window['removeEventListener'](_0x34ecf2(0x1fb),_0x344ad3,!![]),window[_0x34ecf2(0x242)](_0x34ecf2(0x1f1),_0x4cea96,!![]),window[_0x34ecf2(0x242)](_0x34ecf2(0x156),_0x4cea96,!![]);},_0x490a84=_0x50431f=>{const _0x5f3642=_0x153fb6;_0x50431f[_0x5f3642(0x124)]();if(_0x50431f[_0x5f3642(0x18d)]!==0x0)return;_0xdf0e34=![],_0x5d12e1=!![],document[_0x5f3642(0x1a9)]['style'][_0x5f3642(0x1b2)]='none',_0x120f3c[_0x5f3642(0x1f7)][_0x5f3642(0x246)]=_0x5f3642(0x23a),_0x120f3c[_0x5f3642(0x1f7)][_0x5f3642(0x192)]=_0x5f3642(0x1f9),_0x62aca6=_0x50431f['clientX']-_0x120f3c['getBoundingClientRect']()[_0x5f3642(0x13a)],_0x5d12eb=_0x50431f['clientY']-_0x120f3c[_0x5f3642(0x15e)]()['top'],window[_0x5f3642(0x116)](_0x5f3642(0x1fb),_0x344ad3,!![]),window[_0x5f3642(0x116)](_0x5f3642(0x1f1),_0x4cea96,!![]),window[_0x5f3642(0x116)](_0x5f3642(0x156),_0x4cea96,!![]);};_0x120f3c[_0x153fb6(0x116)]('mousedown',_0x490a84),_0x4f2503['dom'][_0x153fb6(0x14a)][_0x153fb6(0x1d6)]=_0xd633fd=>{const _0x175342=_0x153fb6;if(_0xdf0e34){_0xd633fd[_0x175342(0x124)]();return;}_0xd633fd[_0x175342(0x124)]();if(_0x4f2503[_0x175342(0x248)])this[_0x175342(0x144)]();else{const _0x41ae16=location[_0x175342(0x17b)];_0x4f2503[_0x175342(0x1d1)]['key']===_0x41ae16&&_0x4f2503['sessionCache'][_0x175342(0x200)][_0x175342(0x1bb)]>0x0?(this['showPanel'](),this[_0x175342(0x211)]()):(this[_0x175342(0x1e5)](),_0x4ea6eb[_0x175342(0x1a7)]());}};},'attachEventListeners'(){const _0x503ba5=_0x58f102;_0x4f2503[_0x503ba5(0x1da)][_0x503ba5(0x182)][_0x503ba5(0x1d6)]=()=>_0x524e74['close'](),_0x4f2503[_0x503ba5(0x1da)][_0x503ba5(0x1cd)][_0x503ba5(0x188)]=()=>{const _0x4fc969=_0x503ba5;this[_0x4fc969(0x172)](_0x4fc969(0x143));},_0x4f2503[_0x503ba5(0x1da)][_0x503ba5(0x1cd)][_0x503ba5(0x1b5)]=()=>{const _0xe6bd49=_0x503ba5;_0x4f2503[_0xe6bd49(0x210)]['panelCollapse']=setTimeout(()=>this['hidePanel'](),_0xa8b506[_0xe6bd49(0x131)]);},window[_0x503ba5(0x116)](_0x503ba5(0x152),()=>{const _0x14a56e=_0x503ba5;this[_0x14a56e(0x172)](_0x14a56e(0x152)),_0x4f2503[_0x14a56e(0x210)]['resize']=setTimeout(()=>_0x524e74[_0x14a56e(0x1e7)](),0x64);}),window[_0x503ba5(0x116)](_0x503ba5(0x209),_0x33d4e1=>_0x524e74['handleMessage'](_0x33d4e1)),document[_0x503ba5(0x116)]('keydown',_0x52932c=>{const _0x15d38f=_0x503ba5;_0x52932c[_0x15d38f(0x1ff)]&&_0x52932c[_0x15d38f(0x20e)]['toLowerCase']()==='r'&&_0x4f2503[_0x15d38f(0x1da)]['playerOverlay'][_0x15d38f(0x1f7)]['display']==='block'&&(_0x52932c[_0x15d38f(0x1ac)](),_0x52932c[_0x15d38f(0x124)](),_0x524e74[_0x15d38f(0x202)]());});},'renderInitialPanel'(){const _0x3c103d=_0x58f102;_0x4f2503['dom'][_0x3c103d(0x1cd)][_0x3c103d(0x1f7)][_0x3c103d(0x24c)]='150px',_0x4f2503['dom'][_0x3c103d(0x1cd)][_0x3c103d(0x227)]=_0x3c103d(0x1d0);},'addSourceResult'(_0x1ce7cb){const _0xc7c999=_0x58f102,_0x4f296f=_0x4f2503[_0xc7c999(0x1da)]['panel'][_0xc7c999(0x247)]('#tm-content-area');if(!_0x4f296f||!_0x4f2503[_0xc7c999(0x248)])return;const _0x3c088a=_0x1ce7cb[_0xc7c999(0x1b4)][_0xc7c999(0x1b6)]['split'](_0xc7c999(0x203))[_0xc7c999(0x12a)]()[_0xc7c999(0x1aa)]('#')[_0xc7c999(0x1bb)],_0x35f51e=_0x65f38c[_0xc7c999(0x1d2)](_0xc7c999(0x18d),{'textContent':_0x1ce7cb['name']+'\x20('+_0x3c088a+_0xc7c999(0x207)+_0x1ce7cb[_0xc7c999(0x1b8)]+'ms)','className':_0xc7c999(0x169),'onclick':()=>{const _0x2ec3d3=_0xc7c999;_0x4f2503[_0x2ec3d3(0x17c)]=_0x1ce7cb[_0x2ec3d3(0x206)],this[_0x2ec3d3(0x18b)](_0x1ce7cb,![],_0x4f2503['currentPageEpisodeNumber']);}});_0x1ce7cb[_0xc7c999(0x206)]===_0x4f2503['activeSourceName']&&_0x35f51e[_0xc7c999(0x174)][_0xc7c999(0x1e2)](_0xc7c999(0x14b)),_0x4f296f[_0xc7c999(0x17d)](_0x35f51e);},'renderSourceListFromCache'(){const _0x50a85d=_0x58f102;this[_0x50a85d(0x1b1)](),this[_0x50a85d(0x1a4)]('共\x20'+_0x4f2503[_0x50a85d(0x1d1)][_0x50a85d(0x200)]['length']+_0x50a85d(0x193),![]);const _0x19736b=_0x4f2503[_0x50a85d(0x1da)][_0x50a85d(0x1cd)][_0x50a85d(0x247)]('#tm-content-area');_0x4f2503[_0x50a85d(0x1d1)][_0x50a85d(0x200)][_0x50a85d(0x24a)](_0x4819ab=>this[_0x50a85d(0x16e)](_0x4819ab));if(_0x19736b)this[_0x50a85d(0x139)](_0x19736b,!![]);},'renderEpisodeList'(_0x46338a,_0x114cf1=![],_0x18042c=null){const _0x1568d9=_0x58f102;_0x65f38c[_0x1568d9(0x1e4)]();const _0x206c80=_0x4f2503[_0x1568d9(0x1da)][_0x1568d9(0x1cd)][_0x1568d9(0x247)]('#tm-content-area');if(!_0x206c80)return;_0x206c80[_0x1568d9(0x227)]='',_0x206c80['className']=_0x1568d9(0x1c7),this[_0x1568d9(0x1a4)](_0x1568d9(0x1fc),![]);const _0x1b9fe2=_0x4f2503[_0x1568d9(0x1da)][_0x1568d9(0x1cd)][_0x1568d9(0x247)](_0x1568d9(0x1eb));_0x1b9fe2['style'][_0x1568d9(0x246)]='pointer',_0x1b9fe2[_0x1568d9(0x1d6)]=()=>this[_0x1568d9(0x211)](),_0x4f2503[_0x1568d9(0x212)]=[];const _0x3d2528=_0x46338a['data']['vod_play_url']['split'](_0x1568d9(0x203))['pop']()[_0x1568d9(0x1aa)]('#');_0x3d2528[_0x1568d9(0x24a)](_0x1d73bb=>{const _0x14e61e=_0x1568d9,[_0x2b7b5f,_0x109cb0]=_0x1d73bb[_0x14e61e(0x1aa)]('$');if(!_0x2b7b5f||!_0x109cb0)return;_0x4f2503[_0x14e61e(0x212)][_0x14e61e(0x22a)]({'name':_0x2b7b5f,'url':_0x109cb0});const _0x7eb0f6=_0x65f38c[_0x14e61e(0x1d2)]('button',{'textContent':_0x2b7b5f,'className':'tm-collection-btn','onclick':()=>_0x524e74[_0x14e61e(0x1d8)](_0x109cb0)});_0x7eb0f6[_0x14e61e(0x155)]['url']=_0x109cb0,_0x206c80[_0x14e61e(0x17d)](_0x7eb0f6);}),this['autoResizePanel'](_0x206c80,![]);if(!_0x18042c)return;;let _0x3810ed=null;const _0x535142=_0x206c80[_0x1568d9(0x125)](_0x1568d9(0x134));for(const _0x136b59 of _0x535142){const _0x42d762=_0x2ef891['getEpisodeNumberFromString'](_0x136b59[_0x1568d9(0x10c)]);if(_0x42d762&&parseInt(_0x18042c,0xa)===parseInt(_0x42d762,0xa)){_0x3810ed=_0x136b59;break;}}_0x3810ed&&(_0x3810ed[_0x1568d9(0x174)][_0x1568d9(0x1e2)](_0x1568d9(0x162)),setTimeout(()=>_0x3810ed[_0x1568d9(0x14f)]({'behavior':_0x1568d9(0x191),'block':'center'}),0x64),_0x114cf1?(this[_0x1568d9(0x1a4)](_0x1568d9(0x18a)+_0x3810ed[_0x1568d9(0x10c)]),_0x524e74['start'](_0x3810ed[_0x1568d9(0x155)]['url'])):this['updateStatus'](_0x1568d9(0x1f2)+_0x3810ed['textContent']));},'updateStatus'(_0x195a36,_0x237459=![]){const _0x5ae837=_0x58f102,_0x9a73a3=_0x4f2503['dom']['panel'][_0x5ae837(0x247)]('#tm-status-bar');_0x9a73a3&&(_0x9a73a3[_0x5ae837(0x10c)]=_0x195a36,_0x9a73a3[_0x5ae837(0x1f7)]['color']=_0x237459?'#c82333':_0x5ae837(0x142),_0x9a73a3[_0x5ae837(0x1f7)][_0x5ae837(0x149)]=_0x237459?'#f8d7da':_0x5ae837(0x154),_0x9a73a3[_0x5ae837(0x1f7)]['cursor']=_0x5ae837(0x11a));},'updatePlayerStatus'(_0x3d4afe,_0x1f1d9c=!![]){const _0x55781e=_0x58f102;_0x1f1d9c&&_0x3d4afe?(_0x4f2503[_0x55781e(0x1da)]['playerStatus'][_0x55781e(0x10c)]=_0x3d4afe,_0x4f2503[_0x55781e(0x1da)][_0x55781e(0x15a)][_0x55781e(0x1f7)][_0x55781e(0x13c)]=_0x55781e(0x1a8),setTimeout(()=>_0x4f2503[_0x55781e(0x1da)][_0x55781e(0x15a)][_0x55781e(0x1f7)][_0x55781e(0x24b)]='1',0xa)):(_0x4f2503[_0x55781e(0x1da)][_0x55781e(0x15a)][_0x55781e(0x1f7)]['opacity']='0',setTimeout(()=>{const _0x43666f=_0x55781e;_0x4f2503[_0x43666f(0x1da)][_0x43666f(0x15a)][_0x43666f(0x1f7)][_0x43666f(0x24b)]==='0'&&(_0x4f2503[_0x43666f(0x1da)]['globalStatus'][_0x43666f(0x1f7)][_0x43666f(0x13c)]=_0x43666f(0x1f9));},0x12c));},'highlightPlayingEpisode'(_0x17fe4e){const _0x502579=_0x58f102,_0x4d4e35=_0x4f2503['dom'][_0x502579(0x1cd)][_0x502579(0x247)]('#tm-content-area');if(!_0x4d4e35)return;_0x4d4e35[_0x502579(0x125)](_0x502579(0x213))[_0x502579(0x24a)](_0x508fd1=>_0x508fd1[_0x502579(0x174)][_0x502579(0x10a)](_0x502579(0x162)));const _0x10eb82=_0x4d4e35[_0x502579(0x247)](_0x502579(0x23f)+_0x17fe4e+'\x22]');_0x10eb82&&(_0x10eb82[_0x502579(0x174)]['add'](_0x502579(0x162)),_0x10eb82[_0x502579(0x14f)]({'behavior':_0x502579(0x191),'block':_0x502579(0x1a6)}));},'autoResizePanel'(_0x25b3f2,_0x38bd7b){setTimeout(()=>{const _0x279274=_0x33c2;if(!_0x4f2503[_0x279274(0x248)])return;const _0x3e7168=_0x25b3f2[_0x279274(0x125)]('.tm-collection-btn');if(!_0x3e7168['length'])return;let _0x6eb012=0x0;if(_0x38bd7b)_0x6eb012=Math['max'](...Array[_0x279274(0x232)](_0x3e7168)[_0x279274(0x20f)](_0x4a585e=>_0x4a585e['scrollWidth']));else for(let _0x1e3044=0x0;_0x1e3044<_0x3e7168[_0x279274(0x1bb)];_0x1e3044+=0x2){const _0x1e2bc3=(_0x3e7168[_0x1e3044]?.[_0x279274(0x15b)]||0x0)+(_0x3e7168[_0x1e3044+0x1]?.[_0x279274(0x15b)]||0x0)+0x4;if(_0x1e2bc3>_0x6eb012)_0x6eb012=_0x1e2bc3;}_0x4f2503[_0x279274(0x1da)]['panel'][_0x279274(0x1f7)][_0x279274(0x24c)]=_0x6eb012+0xe+'px';},0xa);},'toggleLoading'(_0x2dd1ad){const _0x11a9f0=_0x58f102;_0x4f2503[_0x11a9f0(0x1da)][_0x11a9f0(0x14a)][_0x11a9f0(0x174)]['toggle'](_0x11a9f0(0x127),_0x2dd1ad);},'showPanel'(){const _0x35d444=_0x58f102;_0x4f2503['dom'][_0x35d444(0x1cd)][_0x35d444(0x1f7)]['display']=_0x35d444(0x1a3),_0x4f2503[_0x35d444(0x248)]=!![];},'hidePanel'(){const _0x4d5b57=_0x58f102;_0x4f2503['dom'][_0x4d5b57(0x1cd)]['style']['display']='none',_0x4f2503[_0x4d5b57(0x248)]=![],this[_0x4d5b57(0x1e4)]();},'clearTimer'(_0x4c9d31){const _0x3ece41=_0x58f102;clearInterval(_0x4f2503[_0x3ece41(0x210)][_0x4c9d31]),clearTimeout(_0x4f2503[_0x3ece41(0x210)][_0x4c9d31]),_0x4f2503[_0x3ece41(0x210)][_0x4c9d31]=null;},'clearAllTimers'(){const _0x29affd=_0x58f102;Object[_0x29affd(0x1f0)](_0x4f2503['timers'])[_0x29affd(0x24a)](_0x58fa40=>this['clearTimer'](_0x58fa40));}},_0x4ea6eb={async 'masterSearch'(){const _0x1785c2=_0x58f102;_0x65f38c[_0x1785c2(0x1e4)](),_0x65f38c[_0x1785c2(0x1b1)](),_0x65f38c['toggleLoading'](!![]),_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x1e1)+_0x24450d[_0x1785c2(0x1bb)]+_0x1785c2(0x1f4));const _0x68fc85=_0x2ef891[_0x1785c2(0x1c6)]();if(!_0x68fc85){_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x234),!![]),_0x65f38c['toggleLoading'](![]);return;}const _0x51b858=_0x2ef891[_0x1785c2(0x11b)](),_0x415ca4=this[_0x1785c2(0x20a)](_0x68fc85),[_0x415c46,_0x2bf192]=await Promise['all']([_0x51b858,_0x415ca4]);_0x4f2503[_0x1785c2(0x133)]=_0x415c46,_0x4f2503[_0x1785c2(0x1d1)]={'key':location[_0x1785c2(0x17b)],'results':_0x2bf192},_0x4f2503[_0x1785c2(0x17c)]=null,_0x65f38c['toggleLoading'](![]);if(_0x2bf192[_0x1785c2(0x1bb)]===0x0){_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x138),!![]);return;}_0x2bf192[_0x1785c2(0x24a)](_0x4e9dfb=>_0x65f38c['addSourceResult'](_0x4e9dfb));const _0x2300ab=_0x4f2503[_0x1785c2(0x1da)][_0x1785c2(0x1cd)][_0x1785c2(0x247)](_0x1785c2(0x205));if(_0x2300ab)_0x65f38c[_0x1785c2(0x139)](_0x2300ab,!![]);_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x137)+_0x2bf192[_0x1785c2(0x1bb)]+'\x20个',![]);if(_0xa8b506['AUTO_EXPAND_BEST_SOURCE']&&_0x2bf192[_0x1785c2(0x1bb)]>0x0){let _0x4e5f25=null;const _0x153ec2=_0x2bf192[_0x1785c2(0x110)](_0x4e7926=>{const _0x109a91=_0x1785c2,_0xb624a5=_0x4e7926['data'][_0x109a91(0x1b6)][_0x109a91(0x1aa)](_0x109a91(0x203))[_0x109a91(0x12a)]()['split']('#');return _0xb624a5['some'](_0x2012ac=>{const _0x2a6f57=_0x109a91,[_0x5b3151]=_0x2012ac[_0x2a6f57(0x1aa)]('$'),_0xfa0715=_0x2ef891[_0x2a6f57(0x1f3)](_0x5b3151);return _0xfa0715&&parseInt(_0xfa0715,0xa)===parseInt(_0x415c46,0xa);});});if(_0x153ec2[_0x1785c2(0x1bb)]>0x0){_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x1c8)+_0x153ec2[_0x1785c2(0x1bb)]+_0x1785c2(0x249),![]);const _0x4e4b1f=_0x153ec2[_0x1785c2(0x20f)](async _0x1b8c42=>{const _0x44fe19=_0x1785c2,_0xd31be0=_0x1b8c42['data'][_0x44fe19(0x1b6)]['split'](_0x44fe19(0x203))[_0x44fe19(0x12a)]()['split']('#'),_0x8834b=_0xd31be0['find'](_0x4ba84d=>{const _0x9f3dc9=_0x44fe19,[_0x595bbd]=_0x4ba84d[_0x9f3dc9(0x1aa)]('$'),_0x50b93a=_0x2ef891[_0x9f3dc9(0x1f3)](_0x595bbd);return _0x50b93a&&parseInt(_0x50b93a,0xa)===parseInt(_0x4f2503['currentPageEpisodeNumber'],0xa);});if(_0x8834b){const [,_0x1fd37d]=_0x8834b['split']('$');_0x1b8c42[_0x44fe19(0x1cb)]=await _0x2ef891['checkUrlLatency'](_0x1fd37d);}else _0x1b8c42[_0x44fe19(0x1cb)]=Infinity;return _0x1b8c42;}),_0x1f6d95=await Promise[_0x1785c2(0x184)](_0x4e4b1f),_0x2d9e38=_0x1f6d95[_0x1785c2(0x110)](_0xb6f8f8=>_0xb6f8f8[_0x1785c2(0x1cb)]!==Infinity)['sort']((_0x4f602d,_0x474dc9)=>_0x4f602d[_0x1785c2(0x1cb)]-_0x474dc9['realLatency']);_0x2d9e38[_0x1785c2(0x1bb)]>0x0&&(_0x4e5f25=_0x2d9e38[0x0],_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x13e)+_0x4e5f25[_0x1785c2(0x206)]+'\x20('+_0x4e5f25[_0x1785c2(0x1cb)]+_0x1785c2(0x23b),![]));}!_0x4e5f25&&(_0x65f38c[_0x1785c2(0x1a4)](_0x1785c2(0x167),![]),_0x4e5f25=(_0x153ec2[_0x1785c2(0x1bb)]>0x0?_0x153ec2:_0x2bf192)[_0x1785c2(0x1fa)]((_0x5f1262,_0x2957b9)=>_0x5f1262[_0x1785c2(0x1b8)]-_0x2957b9[_0x1785c2(0x1b8)])[0x0]);_0x4f2503[_0x1785c2(0x17c)]=_0x4e5f25[_0x1785c2(0x206)];const _0x12a952=!_0x4f2503[_0x1785c2(0x1a1)];if(_0x12a952)_0x4f2503[_0x1785c2(0x1a1)]=!![];_0x65f38c[_0x1785c2(0x18b)](_0x4e5f25,_0x12a952,_0x4f2503['currentPageEpisodeNumber']);}},async 'performApiSearch'(_0xc427cf){const _0x135a18=_0x58f102,_0x5d6354=[];let _0x1bfc7c=0x0;const _0x136438=async _0x5d9ac5=>{const _0xf96e2=_0x33c2,_0xb94e1a=await this[_0xf96e2(0x11f)](_0x5d9ac5,_0xc427cf);_0x1bfc7c++;_0xb94e1a&&_0x5d6354[_0xf96e2(0x22a)](_0xb94e1a);if(_0x4f2503[_0xf96e2(0x248)])_0x65f38c[_0xf96e2(0x1a4)](_0xf96e2(0x106)+_0x1bfc7c+'/'+_0x24450d[_0xf96e2(0x1bb)]+_0xf96e2(0x1ab)+_0x5d6354[_0xf96e2(0x1bb)]+'\x20个');};return await _0x2ef891[_0x135a18(0x1d9)](_0xa8b506[_0x135a18(0x10f)],_0x24450d,_0x136438),_0x5d6354[_0x135a18(0x1fa)]((_0x8b215,_0x27689a)=>_0x8b215[_0x135a18(0x1b8)]-_0x27689a[_0x135a18(0x1b8)]);},'searchSingleApi':(_0x2915ab,_0x368ed5)=>new Promise(async _0x12c8ec=>{const _0x3e75c3=_0x58f102;try{const _0x13ba39=await _0x2ef891[_0x3e75c3(0x1ba)](_0x3e75c3(0x21c)+encodeURIComponent(_0x368ed5),_0x2915ab);let _0x55b273=_0x13ba39[_0x3e75c3(0x1b8)];const _0xad53c8=_0x13ba39[_0x3e75c3(0x1b4)]?.[_0x3e75c3(0x21b)]?.[0x0]?.[_0x3e75c3(0x236)];if(!_0xad53c8)return _0x12c8ec(null);const _0x405639=await _0x2ef891[_0x3e75c3(0x1ba)](_0x3e75c3(0x1d3)+_0xad53c8,_0x2915ab);_0x55b273+=_0x405639[_0x3e75c3(0x1b8)];const _0x52b6ff=_0x405639['data']?.[_0x3e75c3(0x21b)]?.[0x0];if(!_0x52b6ff?.['vod_play_url'])return _0x12c8ec(null);_0x12c8ec({'name':_0x2915ab['name'],'data':_0x52b6ff,'latency':_0x55b273});}catch(_0x5592e4){_0x12c8ec(null);}})},_0x524e74={async 'start'(_0x7f8294){const _0x4b696f=_0x58f102;_0x65f38c['clearAllTimers'](),_0x65f38c[_0x4b696f(0x144)](),_0x4f2503['currentPlayingUrl']=_0x7f8294,_0x65f38c[_0x4b696f(0x119)](_0x7f8294),this[_0x4b696f(0x136)]();try{const _0x3a6b35=await _0x2ef891[_0x4b696f(0x1e0)](_0x4f2503['hiddenPlayerElement']);Object[_0x4b696f(0x19f)](_0x4f2503[_0x4b696f(0x1da)][_0x4b696f(0x128)]['style'],{'position':_0x4b696f(0x239),'top':_0x3a6b35[_0x4b696f(0x1bf)]+window['scrollY']+'px','left':_0x3a6b35[_0x4b696f(0x13a)]+'px','width':_0x3a6b35[_0x4b696f(0x24c)]+'px','height':_0x3a6b35[_0x4b696f(0x1a2)]+'px'});}catch(_0x4d5149){console[_0x4b696f(0x241)](_0x4b696f(0x1ea)+_0x4d5149['message']+_0x4b696f(0x11d)),Object[_0x4b696f(0x19f)](_0x4f2503['dom']['playerOverlay'][_0x4b696f(0x1f7)],{'position':_0x4b696f(0x1be),'top':'0','left':'0','width':_0x4b696f(0x14c),'height':'100%'});}_0x4f2503['currentEngineIndex']=0x0,_0x4f2503[_0x4b696f(0x1da)][_0x4b696f(0x128)][_0x4b696f(0x1f7)][_0x4b696f(0x13c)]=_0x4b696f(0x1a8),this[_0x4b696f(0x148)](_0x7f8294);},'attemptToPlay'(_0xdba40a,_0x5734a7=0x0){const _0x4976a0=_0x58f102;if(_0x4f2503[_0x4976a0(0x161)]&&_0x5734a7===0x0)return;_0x65f38c['clearTimer'](_0x4976a0(0x179));if(_0x5734a7>0x0)_0x4f2503['isHardResetting']=!![];const _0x31cec4=_0x5b60fe[_0x4f2503['currentEngineIndex']],_0x28a7ba=_0x5734a7>0x0?_0x4976a0(0x22e)+_0x31cec4[_0x4976a0(0x206)]:_0x4976a0(0x18c)+_0x31cec4[_0x4976a0(0x206)]+_0x4976a0(0x196);_0x65f38c[_0x4976a0(0x1e9)](_0x28a7ba);const _0x4fd760=this[_0x4976a0(0x178)](_0xdba40a,_0x31cec4['type'],_0x5734a7);_0x4f2503[_0x4976a0(0x1da)][_0x4976a0(0x245)]['srcdoc']=_0x4fd760,_0x4f2503[_0x4976a0(0x1da)][_0x4976a0(0x245)]['onload']=()=>{const _0x5d90d0=_0x4976a0;_0x65f38c[_0x5d90d0(0x172)](_0x5d90d0(0x179)),_0x65f38c[_0x5d90d0(0x1e9)](_0x5d90d0(0x229)+_0x31cec4[_0x5d90d0(0x206)]+']\x20加载成功',!![]),setTimeout(()=>_0x65f38c['updatePlayerStatus']('',![]),0xbb8);if(_0x4f2503['isHardResetting'])setTimeout(()=>_0x4f2503[_0x5d90d0(0x161)]=![],0xbb8);},_0x4f2503[_0x4976a0(0x210)][_0x4976a0(0x179)]=setTimeout(()=>{const _0x1b2ab3=_0x4976a0;_0x65f38c[_0x1b2ab3(0x1e9)](_0x1b2ab3(0x11c),!![]);},_0xa8b506[_0x4976a0(0x223)]);},'createHTML'(_0x8e40dd,_0x26a31d,_0x45ccbb=0x0){const _0x4775e2=_0x58f102,_0x3d2cc4=_0x8e40dd+(_0x8e40dd['includes']('?')?'&':'?')+(_0x4775e2(0x18f)+Date[_0x4775e2(0x217)]()),_0xa926bd=_0x3d2cc4[_0x4775e2(0x170)](/'/g,'\x5c\x27'),_0x281c79=JSON[_0x4775e2(0x215)](_0xa8b506[_0x4775e2(0x1d7)]);let _0x175612='',_0x2f4b12='';return _0x26a31d===_0x4775e2(0x19e)?(_0x175612=_0x4775e2(0x12e),_0x2f4b12=_0x4775e2(0x243)+_0x281c79+_0x4775e2(0x165)+_0xa926bd+_0x4775e2(0x140)+_0xa8b506[_0x4775e2(0x21d)][_0x4775e2(0x1c1)]+'\x27\x20},\x20\x27*\x27);\x20break;\x20}\x20}\x20});\x20'):(_0x175612=_0x4775e2(0x204),_0x2f4b12='\x20if\x20(mpegts.isSupported())\x20{\x20playerInstance\x20=\x20mpegts.createPlayer({\x20type:\x20\x27mse\x27,\x20isLive:\x20false,\x20url:\x20\x27'+_0xa926bd+_0x4775e2(0x197)),_0x4775e2(0x1fd)+_0x175612+_0x4775e2(0x1de)+_0xa926bd+_0x4775e2(0x10e)+_0x2f4b12+'\x20}\x20}\x20}\x20});\x20if\x20('+_0x45ccbb+_0x4775e2(0x176)+_0x45ccbb+_0x4775e2(0x19d)+_0xa8b506[_0x4775e2(0x21d)][_0x4775e2(0x1bc)]+_0x4775e2(0x1ad)+_0xa8b506['MESSAGES'][_0x4775e2(0x201)]+_0x4775e2(0x19a)+_0xa8b506['MESSAGES']['GET_TIME_RES']+'\x27,\x20time:\x20dp?.video.currentTime\x20||\x200\x20},\x20\x27*\x27);\x20}\x20});\x20});