!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/extend-live"]=t():e["feeds/extend-live"]=t()}(self,(function(){return function(){var e,t,n={67:function(e,t,n){var i=n(645)((function(e){return e[1]}));i.push([e.id,".live-up-list {\n max-height: calc(100vh - 315px);\n}\nbody.enable-feeds-filter .live-up-list {\n max-height: calc(100vh - 370px);\n}\nbody.feeds-filter-side-block-profile .live-up-list {\n max-height: calc(100vh - 180px);\n}\n\n.bili-dyn-live-users {\n display: flex !important;\n flex-direction: column !important;\n}\n\n.bili-dyn-live-users__body {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n margin: 0px -16px -16px -16px;\n padding: 0px 16px 4px 16px;\n max-height: calc(100vh - 318px);\n}\n.bili-dyn-live-users__body::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .bili-dyn-live-users__body {\n max-height: calc(100vh - 374px);\n}\nbody.feeds-filter-side-block-profile .bili-dyn-live-users__body {\n max-height: calc(100vh - 178px);\n}\n\n.live-up-list {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.live-up-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.live-up-list .live-detail[data-live-title] {\n color: black;\n}\nbody.dark .live-up-list .live-detail[data-live-title] {\n color: #eee;\n}\n.live-up-list .live-detail[data-live-title] .up-name {\n font-size: 13px !important;\n opacity: 0.6;\n}\n.live-up-list .live-detail[data-live-title]::before {\n content: attr(data-live-title);\n color: black;\n line-height: 1.5;\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\nbody.dark .live-up-list .live-detail[data-live-title]::before {\n color: #eee;\n}",""]),e.exports=i},645:function(e){"use strict"; // eslint-disable-next-line func-names e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")}, // eslint-disable-next-line func-names t.i=function(e,n,i){"string"==typeof e&&( // eslint-disable-next-line no-param-reassign e=[[null,e,""]]);var o={};if(i)for(var r=0;rPromise.resolve().then(o.t.bind(o,134,23))),(async()=>{const{select:e}=await Promise.resolve().then(o.t.bind(o,569,23)),t=await e(".live-up-list, .bili-dyn-live-users__body");if(null===t)return;const{getPages:n,getJsonWithCredentials:i}=await Promise.resolve().then(o.t.bind(o,663,23)),r=await n({api:e=>i(`https://api.live.bilibili.com/relation/v1/feed/feed_list?page=${e}&pagesize=24`),getList:e=>lodash.get(e,"data.list",[]),getTotal:e=>lodash.get(e,"data.results",0)}),l=".up-name, .bili-dyn-live-users__item__uname",a=dqa(t,l).map((e=>e.innerText.trim())),s=r.filter((e=>a.includes(e.uname))),c=r.filter((e=>!a.includes(e.uname))),d=t.children[0];c.forEach((e=>{if(dqa(t,l).some((t=>t.innerText.trim()===e.uname)))return;const n=(()=>{const t=d.cloneNode(!0),n=`https://live.bilibili.com/${e.roomid}`;dqa(t,"a[href]").forEach((e=>e.setAttribute("href",n))),t.matches(".bili-dyn-live-users__item")&&t.addEventListener("click",(()=>{window.open(n,"_blank")}));dq(t,".live-up-img, .bili-dyn-live-users__item__face .bili-awesome-img").style.backgroundImage=`url(${e.face})`;const i=dq(t,".live-name, .bili-dyn-live-users__item__title");i.innerHTML=e.title,i.title=e.title;const o=dq(t,l);return o.innerHTML=e.uname,o.title=e.uname,t})();t.insertAdjacentElement("beforeend",n)}));const{disableProfilePopup:u}=await Promise.resolve().then(o.t.bind(o,30,23));u(),console.log(s,c)})),tags:[componentsTags.feeds,componentsTags.live],urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],commitHash:"a05f7bb7441c6f123e5b87969840434690bca341",coreVersion:"2.1.7"}}(),r=r.component}()}));