>8&1),512&i.flags&&(H[0]=255&v,H[1]=v>>>8&255,i.check=r(i.check,H,2,0)),p=v=0,i.mode=3;case 3:for(;p<32;){if(0===_)break e;_--,v+=h[w++]<>>8&255,H[2]=v>>>16&255,H[3]=v>>>24&255,i.check=r(i.check,H,4,0)),p=v=0,i.mode=4;case 4:for(;p<16;){if(0===_)break e;_--,v+=h[w++]<
>8),512&i.flags&&(H[0]=255&v,H[1]=v>>>8&255,i.check=r(i.check,H,2,0)),p=v=0,i.mode=5;case 5:if(1024&i.flags){for(;p<16;){if(0===_)break e;_--,v+=h[w++]<
>>8&255,i.check=r(i.check,H,2,0)),p=v=0}else i.head&&(i.head.extra=null);i.mode=6;case 6:if(1024&i.flags&&(_<(Z=i.length)&&(Z=_),Z&&(i.head&&(D=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,h,w,Z,D)),512&i.flags&&(i.check=r(i.check,h,Z,w)),_-=Z,w+=Z,i.length-=Z),i.length))break e;i.length=0,i.mode=7;case 7:if(2048&i.flags){if(0===_)break e;for(Z=0;D=h[w+Z++],i.head&&D&&i.length<65536&&(i.head.name+=String.fromCharCode(D)),D&&Z<_;);if(512&i.flags&&(i.check=r(i.check,h,Z,w)),_-=Z,w+=Z,D)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=8;case 8:if(4096&i.flags){if(0===_)break e;for(Z=0;D=h[w+Z++],i.head&&D&&i.length<65536&&(i.head.comment+=String.fromCharCode(D)),D&&Z<_;);if(512&i.flags&&(i.check=r(i.check,h,Z,w)),_-=Z,w+=Z,D)break e}else i.head&&(i.head.comment=null);i.mode=9;case 9:if(512&i.flags){for(;p<16;){if(0===_)break e;_--,v+=h[w++]<
>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=12;break;case 10:for(;p<32;){if(0===_)break e;_--,v+=h[w++]<
>>=7&p,p-=7&p,i.mode=27;break}for(;p<3;){if(0===_)break e;_--,v+=h[w++]<
>>=1)){case 0:i.mode=14;break;case 1:if(S(i),i.mode=20,6!==t)break;v>>>=2,p-=2;break e;case 2:i.mode=17;break;case 3:e.msg="invalid block type",i.mode=30}v>>>=2,p-=2;break;case 14:for(v>>>=7&p,p-=7&p;p<32;){if(0===_)break e;_--,v+=h[w++]<
>>16^65535)){e.msg="invalid stored block lengths",i.mode=30;break}if(i.length=65535&v,p=v=0,i.mode=15,6===t)break e;case 15:i.mode=16;case 16:if(Z=i.length){if(_>>=5,p-=5,i.ndist=1+(31&v),v>>>=5,p-=5,i.ncode=4+(15&v),v>>>=4,p-=4,286>>=3,p-=3}for(;i.have<19;)i.lens[K[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,U={bits:i.lenbits},T=s(0,i.lens,0,19,i.lencode,0,i.work,U),i.lenbits=U.bits,T){e.msg="invalid code lengths set",i.mode=30;break}i.have=0,i.mode=19;case 19:for(;i.have>>16&255,N=65535&L,!((z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<>>=z,p-=z,i.lens[i.have++]=N;else{if(16===N){for(F=z+2;p>>=z,p-=z,0===i.have){e.msg="invalid bit length repeat",i.mode=30;break}D=i.lens[i.have-1],Z=3+(3&v),v>>>=2,p-=2}else if(17===N){for(F=z+3;p>>=z)),v>>>=3,p-=3}else{for(F=z+7;p>>=z)),v>>>=7,p-=7}if(i.have+Z>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=30;break}for(;Z--;)i.lens[i.have++]=D}}if(30===i.mode)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=30;break}if(i.lenbits=9,U={bits:i.lenbits},T=s(f,i.lens,0,i.nlen,i.lencode,0,i.work,U),i.lenbits=U.bits,T){e.msg="invalid literal/lengths set",i.mode=30;break}if(i.distbits=6,i.distcode=i.distdyn,U={bits:i.distbits},T=s(l,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,U),i.distbits=U.bits,T){e.msg="invalid distances set",i.mode=30;break}if(i.mode=20,6===t)break e;case 20:i.mode=21;case 21:if(6<=_&&258<=g){e.next_out=k,e.avail_out=g,e.next_in=w,e.avail_in=_,i.hold=v,i.bits=p,o(e,y),k=e.next_out,b=e.output,g=e.avail_out,w=e.next_in,h=e.input,_=e.avail_in,v=i.hold,p=i.bits,12===i.mode&&(i.back=-1);break}for(i.back=0;R=(L=i.lencode[v&(1<>>16&255,N=65535&L,!((z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<>O)])>>>16&255,N=65535&L,!(O+(z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<
>>=O,p-=O,i.back+=O}if(v>>>=z,p-=z,i.back+=z,i.length=N,0===R){i.mode=26;break}if(32&R){i.back=-1,i.mode=12;break}if(64&R){e.msg="invalid literal/length code",i.mode=30;break}i.extra=15&R,i.mode=22;case 22:if(i.extra){for(F=i.extra;p>>=i.extra,p-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=23;case 23:for(;R=(L=i.distcode[v&(1<>>16&255,N=65535&L,!((z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<>O)])>>>16&255,N=65535&L,!(O+(z=L>>>24)<=p);){if(0===_)break e;_--,v+=h[w++]<
>>=O,p-=O,i.back+=O}if(v>>>=z,p-=z,i.back+=z,64&R){e.msg="invalid distance code",i.mode=30;break}i.offset=N,i.extra=15&R,i.mode=24;case 24:if(i.extra){for(F=i.extra;p>>=i.extra,p-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=30;break}i.mode=25;case 25:if(0===g)break e;if(Z=y-g,i.offset>Z){if((Z=i.offset-Z)>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=30;break}Z>i.wnext?(Z-=i.wnext,B=i.wsize-Z):B=i.wnext-Z,Z>i.length&&(Z=i.length),A=i.window}else A=b,B=k-i.offset,Z=i.length;for(g_?(v=U[F+c[S]],p=C[I+c[S]]):(v=96,p=0),h=1<>z)+(b-=h)]=g<<24|v<<16|p|0,0!==b;);for(h=1<>=1;if(0!==h?(O&=h-1,O+=h):O=0,S++,0==--D[y]){if(y===Z)break;y=t[i+c[S]]}if(B{return(o,e)=>{const n=document.URL.includes("bangumi")?"#bofqi":".video-info .video-title .tit";SpinQuery.select(n).then(async e=>{await SpinQuery.condition(()=>dq(".video-toolbar .ops .collect,.tool-bar .coin-info"),o=>{return o!==null&&o.innerText!=="--"});console.log(e);if(e===null){return}e.scrollIntoView();if(o.playerFocusOffset!==0){window.scrollBy(0,o.playerFocusOffset)}console.log(e.offsetTop,o.playerFocusOffset,window.scrollY)})}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/player-on-top.min.js"] = (()=>{return(n,o)=>{const e=`\n.v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n}\n.v-wrap .l-con .player-wrap,\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 16px 0 0 0 !important;\n}\n.video-info .video-data .argue,\n.video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n`;const i="player-on-top-style";return o.toggleStyle(e,i,{include:[/^https:\/\/www\.bilibili\.com\/video\//]})}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/player-shadow.min.js"] = (()=>{return(e,o)=>{const r=``;o.applyStyleFromText(r);return{reload:()=>o.applyStyleFromText(r),unload:()=>document.getElementById("player-shadow-style").remove()}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/quality-errors.min.js"] = (()=>{return(r,o)=>{const t=r=>{if(r===116||r===112||r===74){throw new Error("您选择的清晰度需要大会员, 请更改清晰度后重试.")}if(r===80||r===64){throw new Error("您选择的清晰度需要先登录.")}throw new Error("获取下载链接失败, 请尝试更换清晰度或更换视频格式.")};return{export:{throwQualityError:t}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/rank-list.vue.min.js"] = (()=>{return(i,n)=>{const e=``;n.applyStyleFromText(`.simple-home .rank{display:grid;width:calc(1.5 * var(--rank-width) + 10px);height:calc(2 * (var(--card-height) + 20px) + 48px);justify-self:right;overflow:auto;scrollbar-width:none!important;grid-template:"header header" auto "first second" calc(var(--rank-height)/ 2 + 10px) "first third" calc(var(--rank-height)/ 2 + 10px)/calc(var(--rank-width)) calc(10px + var(--rank-width)/ 2)}.simple-home .rank::-webkit-scrollbar{height:0!important;width:0!important}.simple-home .rank .area-header{position:-webkit-sticky;position:sticky;top:0;z-index:1000;background-color:#f4f4f4;color:#000}.simple-home .rank .area-header:link{cursor:pointer}body.dark .simple-home .rank .area-header{background-color:#161616;color:#eee}.simple-home .rank .rank-item{grid-column:1/3;color:inherit!important;position:relative}.simple-home .rank .rank-item .cover{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:12px;overflow:hidden}.simple-home .rank .rank-item .cover img{width:100%;height:100%;object-fit:cover}.simple-home .rank .rank-item:hover .cover img{transform:scale(1.05)}.simple-home .rank .rank-item .rank-number{position:absolute;top:4px;left:4px;width:20px;height:20px;line-height:20px;border-radius:50%;box-sizing:border-box;text-align:center;font-weight:700;font-size:12px;z-index:9;background-color:#000c;color:#fff}.simple-home .rank .rank-item .watchlater{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;box-sizing:border-box;z-index:9;background-color:#000a;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0}.simple-home .rank .rank-item:hover .watchlater{opacity:1}.simple-home .rank .rank-item .be-icon{font-size:16px}.simple-home .rank .rank-item .be-icon.mdi-fire{transform:scale(calc(18 / 16));margin-right:2px}.simple-home .rank .rank-item .details .cover,.simple-home .rank .rank-item .details .title{display:none}.simple-home .rank:not(.bangumi) .rank-item:not(:nth-child(n+5)){background-color:#fff}body.dark .simple-home .rank:not(.bangumi) .rank-item:not(:nth-child(n+5)){background-color:#282828}.simple-home .rank:not(.bangumi) .rank-item:not(:nth-child(2))>.title{overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.8em;word-break:break-all;line-height:1.4;padding:0 8px;margin-top:4px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2),.simple-home .rank:not(.bangumi) .rank-item:nth-child(3),.simple-home .rank:not(.bangumi) .rank-item:nth-child(4){border-radius:16px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .rank-number,.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .rank-number,.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .rank-number{background-color:var(--theme-color);color:var(--foreground-color);opacity:.9}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2){grid-area:first;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;margin-bottom:10px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .details{align-self:stretch}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .cover::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(to top,#000c 0,transparent 100%);z-index:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .title{font-weight:700;font-size:16px;line-height:1.5;color:#fff;padding:0 8px;z-index:10;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .up{display:flex;align-self:stretch;justify-content:space-between;align-items:center;opacity:.75;color:#fff;padding:0 12px 0 6px;margin:4px 0 8px;z-index:10}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .up>*{display:flex;align-items:center}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .up .be-iconfont-up{margin-right:4px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .up .points{flex-shrink:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .up .up-info{max-width:61%}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .up .up-info .up-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .stats{display:flex;justify-content:flex-start;align-items:center;color:#fff;opacity:0;padding:0 8px;position:absolute;bottom:8px;left:0;z-index:10}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .stats .be-icon{margin:0 2px 0 8px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2) .stats .be-icon:first-child{margin-left:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2):hover .up{opacity:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(2):hover .stats{opacity:.75}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3){grid-area:second;margin-bottom:10px;margin-left:10px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details{position:absolute;top:0;right:calc(100% + 10px);width:var(--rank-width);padding:4px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;z-index:10;opacity:0;pointer-events:none}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .title{font-weight:700;font-size:14px;line-height:1.5;color:#fff;padding:8px;z-index:10}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .cover{overflow:hidden;background-color:#000}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .cover img{filter:blur(16px) brightness(.5);transform:scale(1.5)}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .stats,.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .up{z-index:10;display:flex;color:#fff}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .stats .be-icon:not(.mdi-fire),.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .up .be-icon:not(.mdi-fire){margin:0 4px 0 8px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .up{justify-content:space-between;margin:0 10px 0 6px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .up>*{display:flex;align-items:center}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .stats{margin:8px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .stats .be-icon:first-child{margin-left:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3):hover .details{opacity:1}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3)>.title{display:none}.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .cover,.simple-home .rank:not(.bangumi) .rank-item:nth-child(3) .details .title{display:flex}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4){grid-area:third;margin-bottom:10px;margin-left:10px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details{position:absolute;top:0;right:calc(100% + 10px);width:var(--rank-width);padding:4px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;z-index:10;opacity:0;pointer-events:none}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .title{font-weight:700;font-size:14px;line-height:1.5;color:#fff;padding:8px;z-index:10}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .cover{overflow:hidden;background-color:#000}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .cover img{filter:blur(16px) brightness(.5);transform:scale(1.5)}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .stats,.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .up{z-index:10;display:flex;color:#fff}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .stats .be-icon:not(.mdi-fire),.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .up .be-icon:not(.mdi-fire){margin:0 4px 0 8px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .up{justify-content:space-between;margin:0 10px 0 6px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .up>*{display:flex;align-items:center}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .stats{margin:8px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .stats .be-icon:first-child{margin-left:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4):hover .details{opacity:1}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4)>.title{display:none}.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .cover,.simple-home .rank:not(.bangumi) .rank-item:nth-child(4) .details .title{display:flex}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5){background-color:transparent;display:grid;grid-template:"cover title" 2fr "cover up" 1fr/120px 1fr}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5):not(.bangumi):not(:nth-child(5)){margin-top:12px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5):not(.bangumi):not(:nth-child(5))::before{content:"";width:100%;height:1px;background-color:#8882;position:absolute;bottom:calc(100% + 6px);left:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5).bangumi:not(:nth-child(3)){margin-top:12px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5).bangumi:not(:nth-child(3))::before{content:"";width:100%;height:1px;background-color:#8882;position:absolute;bottom:calc(100% + 6px);left:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5)>.cover{grid-area:cover;position:static;width:120px;height:70px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5)>.title{grid-area:title}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .watchlater{right:unset;left:96px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details{grid-area:up;opacity:.75}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details,.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details *{display:flex;align-items:center}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .cover,.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .title{display:none}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .up{margin:4px 6px;position:absolute;bottom:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .up .up-info .up-name{margin-left:4px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .up>:not(:last-child){margin-right:16px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .stats{position:absolute;bottom:0;display:flex;align-items:center;margin:4px 8px;opacity:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5) .details .stats .number{margin:0 12px 0 4px}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5):hover .up{opacity:0}.simple-home .rank:not(.bangumi) .rank-item:nth-child(n+5):hover .stats{opacity:1}.simple-home .rank.bangumi{grid-template:"header" auto "first" calc(var(--rank-height))/calc(var(--rank-width));width:var(--rank-width)}.simple-home .rank.bangumi .rank-item:not(:nth-child(n+3)){background-color:#fff}body.dark .simple-home .rank.bangumi .rank-item:not(:nth-child(n+3)){background-color:#282828}.simple-home .rank.bangumi .rank-item:not(:nth-child(2))>.title{overflow:hidden;text-overflow:ellipsis;font-weight:700;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:2.8em;word-break:break-all;line-height:1.4;padding:0 8px;margin-top:4px}.simple-home .rank.bangumi .rank-item:nth-child(2),.simple-home .rank.bangumi .rank-item:nth-child(3),.simple-home .rank.bangumi .rank-item:nth-child(4){border-radius:16px}.simple-home .rank.bangumi .rank-item:nth-child(2) .rank-number,.simple-home .rank.bangumi .rank-item:nth-child(3) .rank-number,.simple-home .rank.bangumi .rank-item:nth-child(4) .rank-number{background-color:var(--theme-color);color:var(--foreground-color);opacity:.9}.simple-home .rank.bangumi .rank-item:nth-child(2){grid-area:first;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;margin-bottom:10px}.simple-home .rank.bangumi .rank-item:nth-child(2) .details{align-self:stretch}.simple-home .rank.bangumi .rank-item:nth-child(2) .cover::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-image:linear-gradient(to top,#000c 0,transparent 100%);z-index:0}.simple-home .rank.bangumi .rank-item:nth-child(2) .title{font-weight:700;font-size:16px;line-height:1.5;color:#fff;padding:0 8px;z-index:10;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.simple-home .rank.bangumi .rank-item:nth-child(2) .up{display:flex;align-self:stretch;justify-content:space-between;align-items:center;opacity:.75;color:#fff;padding:0 12px 0 6px;margin:4px 0 8px;z-index:10}.simple-home .rank.bangumi .rank-item:nth-child(2) .up>*{display:flex;align-items:center}.simple-home .rank.bangumi .rank-item:nth-child(2) .up .be-iconfont-up{margin-right:4px}.simple-home .rank.bangumi .rank-item:nth-child(2) .up .points{flex-shrink:0}.simple-home .rank.bangumi .rank-item:nth-child(2) .up .up-info{max-width:61%}.simple-home .rank.bangumi .rank-item:nth-child(2) .up .up-info .up-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.simple-home .rank.bangumi .rank-item:nth-child(2) .stats{display:flex;justify-content:flex-start;align-items:center;color:#fff;opacity:0;padding:0 8px;position:absolute;bottom:8px;left:0;z-index:10}.simple-home .rank.bangumi .rank-item:nth-child(2) .stats .be-icon{margin:0 2px 0 8px}.simple-home .rank.bangumi .rank-item:nth-child(2) .stats .be-icon:first-child{margin-left:0}.simple-home .rank.bangumi .rank-item:nth-child(2):hover .up{opacity:0}.simple-home .rank.bangumi .rank-item:nth-child(2):hover .stats{opacity:.75}.simple-home .rank.bangumi .rank-item:nth-child(n+3){background-color:transparent;display:grid;grid-template:"cover title" 2fr "cover up" 1fr/120px 1fr}.simple-home .rank.bangumi .rank-item:nth-child(n+3):not(.bangumi):not(:nth-child(5)){margin-top:12px}.simple-home .rank.bangumi .rank-item:nth-child(n+3):not(.bangumi):not(:nth-child(5))::before{content:"";width:100%;height:1px;background-color:#8882;position:absolute;bottom:calc(100% + 6px);left:0}.simple-home .rank.bangumi .rank-item:nth-child(n+3).bangumi:not(:nth-child(3)){margin-top:12px}.simple-home .rank.bangumi .rank-item:nth-child(n+3).bangumi:not(:nth-child(3))::before{content:"";width:100%;height:1px;background-color:#8882;position:absolute;bottom:calc(100% + 6px);left:0}.simple-home .rank.bangumi .rank-item:nth-child(n+3)>.cover{grid-area:cover;position:static;width:120px;height:70px}.simple-home .rank.bangumi .rank-item:nth-child(n+3)>.title{grid-area:title}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .watchlater{right:unset;left:96px}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details{grid-area:up;opacity:.75}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details,.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details *{display:flex;align-items:center}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .cover,.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .title{display:none}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .up{margin:4px 6px;position:absolute;bottom:0}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .up .up-info .up-name{margin-left:4px}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .up>:not(:last-child){margin-right:16px}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .stats{position:absolute;bottom:0;display:flex;align-items:center;margin:4px 8px;opacity:0}.simple-home .rank.bangumi .rank-item:nth-child(n+3) .details .stats .number{margin:0 12px 0 4px}.simple-home .rank.bangumi .rank-item:nth-child(n+3):hover .up{opacity:0}.simple-home .rank.bangumi .rank-item:nth-child(n+3):hover .stats{opacity:1}`,"rank-list-style");return{export:Object.assign({template:e},{props:["videos","view-mode","rank-link"],filters:{bigNumber(i){return formatCount(i)}},components:{Icon:()=>n.importAsync("icon.vue"),DpiImg:()=>n.importAsync("dpi-img.vue")},computed:{...Vuex.mapState(["watchlaterList"])},methods:{...Vuex.mapActions(["toggleWatchlater"])}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/record-live-danmaku.min.js"] = (()=>{return(e,n)=>{const t=()=>{return Boolean(document.URL.match(/live\.bilibili\.com\/(blanc\/)?(\d)+/))};const c=()=>{const e=dq(`#record-live-danmaku`);let t;e.addEventListener("click",async()=>{if(!dq(".live-danmaku-recorder")){const e=await n.importAsync("record-live-danmaku.vue");t=(new(Vue.extend(e))).$mount();const c=t.$el;document.body.insertAdjacentElement("beforeend",c);t.opened=true}else{t.opened=!t.opened}dq(".gui-settings-mask").click()})};return{widget:{content:`\n\n \n记录弹幕 \n \n`,condition:t,success:c}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/record-live-danmaku.vue.min.js"] = (()=>{return(e,o)=>{const r=`已记录{{danmakus.length}}条弹幕
正在连接...
记录中 开始记录
`;o.applyStyleFromText(`.live-danmaku-recorder{position:fixed;top:100%;left:0;transform:translateX(8px) translateY(calc(-100% + 8px));opacity:0;pointer-events:none;display:flex;flex-direction:column;align-items:center;padding:12px;z-index:1000;color:#000;background-color:#fff;box-shadow:rgba(0,0,0,.2) 0 4px 8px 0;border-radius:8px 8px 0 0;min-width:200px}.live-danmaku-recorder.opened{transform:translateX(8px) translateY(calc(-100%));opacity:1;pointer-events:initial}body.dark .live-danmaku-recorder{color:#fff;background-color:#282828}.live-danmaku-recorder,.live-danmaku-recorder *{transition:.2s ease-out}.live-danmaku-recorder .header{display:flex;align-items:center;align-self:stretch}.live-danmaku-recorder .header .collapse{cursor:pointer}.live-danmaku-recorder .header .collapse-danmaku-count{flex-grow:1;padding-right:24px}.live-danmaku-recorder .header .title{flex-grow:1;font-weight:700;font-size:15px;padding-right:16px}.live-danmaku-recorder .header .close{cursor:pointer}.live-danmaku-recorder .header .close .be-icon{font-size:20px}.live-danmaku-recorder .record-stats{margin-top:16px;margin-bottom:8px}.live-danmaku-recorder .loading-tip{margin-bottom:16px}.live-danmaku-recorder .toggle-record{display:flex;align-items:center;padding:8px;margin-bottom:16px;background-color:var(--theme-color);color:var(--foreground-color);cursor:pointer;border-radius:8px}.live-danmaku-recorder .toggle-record .be-icon{font-size:14px;margin-right:8px}.live-danmaku-recorder .exports{align-self:stretch;display:flex;align-items:center}.live-danmaku-recorder .exports>*{border-radius:8px;cursor:pointer;padding:8px;text-align:center;white-space:nowrap;background-color:#8882}.live-danmaku-recorder .exports>:hover{background-color:#8884}.live-danmaku-recorder .exports .export-xml{flex:2 0 0}.live-danmaku-recorder .exports .export-ass{flex:1 0 0;margin-left:8px}`,"record-live-danmaku-style");return{export:Object.assign({template:r},{components:{Icon:()=>o.importAsync("icon.vue")},data(){return{isRecording:true,danmakus:[],opened:false,collapsed:false,loading:true}},async mounted(){try{const{LiveSocket:e}=await o.importAsync("live-socket");const r=await SpinQuery.select(".header-info-ctnr .room-cover");const a=r.href.match(/space\.bilibili\.com\/(\d+)/)[1];const i=await Ajax.getJson(`https://api.live.bilibili.com/room/v1/Room/getRoomInfoOld?mid=${a}`);const t=_.get(i,"data.roomid",document.URL.match(/live\.bilibili\.com\/(\d+)/)[1]);const n=new e(parseInt(t));n.addEventListener("danmaku",e=>{if(this.isRecording){console.log(e.detail.content);this.danmakus.push(e.detail)}});await n.start()}catch(e){logError(e)}finally{this.loading=false}},methods:{getXML(){const e=this.danmakus.map(e=>{const o=e.content.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return`${o} `});const o=`\n\n\n ${e.join("\n ")}\n \n`.trim();return o},async exportXML(){const{getFriendlyTitle:e}=await o.importAsync("title");const{DownloadVideoPackage:r}=await o.importAsync("download-video-package");const a=new r;a.add(e()+".xml",this.getXML());await a.emit()},async exportASS(){const e=this.getXML();console.log(e)}}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/remove-promotions.min.css"] = `#home_popularize .adpos,#home_popularize .l-con,#reportFirst2 .extension,#slide_ad,.bili-header-m .nav-menu .nav-con .nav-item .text-red,.bilibili-player-promote-wrap,.bypb-window .operate-card,.gg-floor-module,.gg-window .operate-card,.home-app-download,.international-home .banner-card,.mascot,.mobile-link-l,.video-page-game-card,.video-page-special-card,body.remove-game-match-module #reportFirst3,body.remove-game-match-module .bili-wrapper>.home-match,body:not(.preserve-event-banner) .activity-m{display:none!important}#home_popularize{position:relative!important}.gg-window .online,.popularize-module .online{position:absolute!important;top:50%!important;right:.5%!important;transform:translateY(-100%)!important}.gg-window .online{right:0!important;padding:0 16px!important}#reportFirst2{position:relative;margin-bottom:4px}.blocked-ads{width:440px;height:220px;display:flex;color:#888;background-color:#8882;font-size:24pt;font-weight:700;align-items:center;justify-content:space-evenly}.blocked-ads.new{width:100%;height:100%;background-color:#eee}body.dark .blocked-ads.new{background-color:#333}body.compact .blocked-ads{width:480px;height:240px}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/remove-promotions.min.js"] = (()=>{return(e,t)=>{if(document.URL.replace(window.location.search,"")==="https://www.bilibili.com/"){addSettingsListener("removeGameMatchModule",e=>{document.body.classList.toggle("remove-game-match-module",e)},true);SpinQuery.any(()=>dqa(".gg-pic"),t=>{t.forEach(t=>{const n=t.parentElement;n.style.display="none";const l=[...n.parentElement.childNodes].indexOf(n)+1;const s=n.parentElement.parentElement.querySelector(`.pic li:nth-child(${l})`);if(s){s.style.display="flex";const t=s.querySelector("a:not(.more-text)");t.insertAdjacentHTML("afterend",`\n${e.showBlockedAdsTip?"🚫已屏蔽广告":""}
\n`);t.style.visibility="hidden";s.querySelector("a.more-text").style.display="none";s.querySelector("img").style.display="none"}})});SpinQuery.select(".focus-carousel.home-slide").then(t=>{if(!t){return}[...t.querySelectorAll(".gg-icon,.bypb-icon")].map(e=>e.parentElement.parentElement).forEach(t=>{t.style.display="none";t.insertAdjacentHTML("afterend",`\n${e.showBlockedAdsTip?"🚫已屏蔽广告":""}
\n`)})})}addSettingsListener("preserveEventBanner",e=>{document.body.classList.toggle("preserve-event-banner",e)},true)}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/remove-top-mask.min.js"] = (()=>{return(e,t)=>{const o=`.bilibili-player-video-top { display: none !important; }`;const n="remove-top-mask-style";const l=()=>t.applyStyleFromText(``);const r=()=>{const e=document.getElementById(n);if(e){e.remove()}};l();return{reload:l,unload:r}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/remove-watermark.min.js"] = (()=>{return(e,n)=>{const i="remove-live-watermark";const l=`\n.bilibili-live-player-video-logo\n{\n display: none !important;\n}\n`;return n.toggleStyle(l,i)}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/reorder.min.js"] = (()=>{return(e,t)=>{const s={horizontal:{name:"horizontal",getMoveTransform:(e,t)=>{return`translateX(${e}px)`},setOtherTransform:_.throttle((e,t,s,n)=>{if(!t.classList.contains(r.ReorderingClassName)){return}const a=e.find(e=>e.element===t);if(!a){return}const o=a.rect;const l=e.filter(e=>e.rect.left{return t.rect.left-e.rect.left});const c=e.filter(e=>e.rect.left>o.left).sort((e,t)=>{return e.rect.left-t.rect.left});if(s>=0){const[e]=c;l.forEach(e=>{e.element.style.transform="";e.element.classList.remove(r.ReorderIncreaseClassName)});c.forEach(t=>{if(o.left+s+o.width>=t.rect.left+t.rect.width/2){t.element.classList.add(r.ReorderDecreaseClassName);t.element.style.transform=`translateX(-${e.rect.left-o.left}px)`}else{t.element.classList.remove(r.ReorderDecreaseClassName);t.element.style.transform=""}})}else{const[e]=l;c.forEach(e=>{e.element.style.transform="";e.element.classList.remove(r.ReorderDecreaseClassName)});l.forEach(t=>{if(o.left+s<=t.rect.left+t.rect.width/2){t.element.classList.add(r.ReorderIncreaseClassName);t.element.style.transform=`translateX(${o.left+o.width-e.rect.left-e.rect.width}px)`}else{t.element.classList.remove(r.ReorderIncreaseClassName);t.element.style.transform=""}})}},50)},vertical:{name:"vertical",getMoveTransform:(e,t)=>{return`translateY(${t}px)`},setOtherTransform:_.throttle((e,t,s,n)=>{if(!t.classList.contains(r.ReorderingClassName)){return}const a=e.find(e=>e.element===t);if(!a){return}const o=a.rect;const l=e.filter(e=>e.rect.top{return t.rect.top-e.rect.top});const c=e.filter(e=>e.rect.top>o.top).sort((e,t)=>{return e.rect.top-t.rect.top});if(n>=0){const[e]=c;l.forEach(e=>{e.element.style.transform="";e.element.classList.remove(r.ReorderIncreaseClassName)});c.forEach(t=>{if(o.top+n+o.height>=t.rect.top+t.rect.height/2){t.element.classList.add(r.ReorderDecreaseClassName);t.element.style.transform=`translateY(-${e.rect.top-o.top}px)`}else{t.element.classList.remove(r.ReorderDecreaseClassName);t.element.style.transform=""}})}else{const[e]=l;c.forEach(e=>{e.element.style.transform="";e.element.classList.remove(r.ReorderDecreaseClassName)});l.forEach(t=>{if(o.top+n<=t.rect.top+t.rect.height/2){t.element.classList.add(r.ReorderIncreaseClassName);t.element.style.transform=`translateY(${o.top+o.height-e.rect.top-e.rect.height}px)`}else{t.element.classList.remove(r.ReorderIncreaseClassName);t.element.style.transform=""}})}},50)}};class r extends EventTarget{constructor(e){super();this.container=e;this.orientation=s.horizontal;this.enabled=false;this.snapshots=new Map;this.attachedEvents=[];this.children=[...this.container.children];if(this.children.every(e=>e.style.order==="")){this.children.forEach((e,t)=>{e.style.order=(t+1).toString()})}}addEventListener(e,t,s){super.addEventListener(e,t,s)}removeEventListener(e,t,s){super.addEventListener(e,t,s)}getOrderMap(){return new Map(this.children.map(e=>{return[e,parseInt(e.style.order)]}))}toggle(){if(this.enabled){this.disable()}else{this.enable()}}generateSnapshots(){this.children.forEach(e=>{this.snapshots.set(e,{element:e,rect:e.getBoundingClientRect()})})}enable(){this.children.forEach(e=>{let t=0;let s=0;let n=false;e.classList.add(r.ReorderEnabledClassName);const a=()=>{const a=(a,o)=>{e.classList.add(r.ReorderingClassName);e.style.transition="none";e.style.userSelect="none";this.generateSnapshots();this.children.filter(t=>t!==e).forEach(e=>e.style.transition="transform .2s ease-out");t=a;s=o;n=true};const o=e=>{a(e.screenX,e.screenY)};e.addEventListener("mousedown",o);this.attachedEvents.push(()=>e.removeEventListener("mousedown",o));const l=e=>{if(e.touches.length!==1){return}const[t]=e.touches;a(t.screenX,t.screenY)};e.addEventListener("touchstart",l);this.attachedEvents.push(()=>e.removeEventListener("touchstart",l))};const o=()=>{const r=(r,n)=>{const a=r-t;const o=n-s;e.style.transform=this.orientation.getMoveTransform(a,o);this.orientation.setOtherTransform([...this.snapshots.values()],e,a,o)};const a=e=>{if(!n){return}r(e.screenX,e.screenY);if(e.cancelable){e.preventDefault()}};document.addEventListener("mousemove",a);this.attachedEvents.push(()=>document.removeEventListener("mousemove",a));const o=e=>{if(!n){return}if(e.touches.length!==1){return}const[t]=e.touches;r(t.screenX,t.screenY);if(e.cancelable){e.preventDefault()}};e.addEventListener("touchmove",o,{passive:false});this.attachedEvents.push(()=>e.removeEventListener("touchmove",o))};const l=()=>{const t=()=>{if(!n){return}e.classList.remove(r.ReorderingClassName);n=false;let t=0;const s=this.children.filter(t=>t!==e);const a=[];s.forEach(e=>{e.style.transform="";e.style.transition="";if(e.classList.contains(r.ReorderIncreaseClassName)){t--;e.style.order=(parseInt(e.style.order)+1).toString();e.classList.remove(r.ReorderIncreaseClassName);a.push(this.snapshots.get(e))}else if(e.classList.contains(r.ReorderDecreaseClassName)){t++;e.style.order=(parseInt(e.style.order)-1).toString();e.classList.remove(r.ReorderDecreaseClassName);a.push(this.snapshots.get(e))}});e.style.userSelect="";e.style.order=(parseInt(e.style.order)+t).toString();e.style.transform="";e.style.transition="";this.dispatchEvent(new CustomEvent("reorder",{detail:this.children.map(e=>{return{element:e,order:parseInt(e.style.order)}})}))};document.addEventListener("mouseup",t);this.attachedEvents.push(()=>document.removeEventListener("mouseup",t));e.addEventListener("touchend",t);this.attachedEvents.push(()=>e.removeEventListener("touchend",t))};a();o();l()});this.enabled=true}disable(){this.attachedEvents.forEach(e=>e());this.children.forEach(e=>e.classList.remove(r.ReorderEnabledClassName));this.enabled=false}}r.ReorderDecreaseClassName="reorder-decrease";r.ReorderIncreaseClassName="reorder-increase";r.ReorderEnabledClassName="reorder-enabled";r.ReorderingClassName="reordering";return{export:{ReorderOrientations:s,Reorder:r}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/restore-floors.min.js"] = (()=>{return(e,t)=>{var o;(function(e){e[e["Default"]=1]="Default";e[e["ByTime"]=2]="ByTime";e[e["ByLikes"]=3]="ByLikes"})(o||(o={}));const r=(e,t,r=1)=>{if(t===o.ByTime){return Ajax.getJson(`https://api.bilibili.com/x/v2/reply/main?oid=${e}&type=1&mode=${t}`)}return Ajax.getJson(`https://api.bilibili.com/x/v2/reply/main?oid=${e}&type=1&mode=${t}&next=${r}`)};const i=async e=>{if(document.URL.match(/\/\/www\.bilibili\.com\/(video|bangumi)/)){return await SpinQuery.select(()=>unsafeWindow.aid)}console.error("No oid extract method for current context.",e)};const n=async e=>{const t=await i(e);if(t===undefined){return}const n=dq(e,".hot-sort.on")!==null?o.ByLikes:o.ByTime;const s=parseInt(dq(e,".paging-box .current").textContent);const a=await r(t,n,s);if(a.code!==0){console.error("Comment API failed: ",a.message);return}const l=_.flatMap(_.get(a,"data.replies",[]),e=>{const t=[{id:e.rpid_str,floor:e.floor}];if(e.replies!==null){t.push(...e.replies.map(e=>{return{id:e.rpid_str,floor:e.floor}}))}return t});console.log(l);const c=dqa(e,".reply-wrap[data-id]");const d=c.map(e=>dq(e,".reply-wrap > .con > .info, .reply-wrap > .info"));c.forEach((e,t)=>{const o=e.getAttribute("data-id");const r=l.find(e=>e.id===o);if(r!==undefined){const e=d[t];if(e.getAttribute("data-restore-floor")===null){e.insertAdjacentHTML("afterbegin",`#${r.floor} `);e.setAttribute("data-restore-floor",r.floor.toString())}}})};const s=e=>{const t="comment-loading";if(Array.prototype.some.call(e.children,e=>e.classList.contains(t))){const o=Observer.childList(e,r=>{if(r.some(e=>{Array.prototype.some.call(e.removedNodes,e=>{return e.nodeType===Node.ELEMENT_NODE&&e.classList.contains(t)})})){o.stop();s(e)}})}else{if(e.getAttribute("data-restore-floor")===null){e.setAttribute("data-restore-floor","true");const t=dq(e,".comment-list");Observer.childList(t,_.debounce(t=>{console.log(t);n(e)},100))}}};fullyLoaded(()=>{if(document.URL.match(/\/\/www\.bilibili\.com\/(video|bangumi)/)){const e=_.debounce(()=>dqa(".bb-comment").forEach(e=>s(e)),200);Observer.childListSubtree(document.body,e)}})}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/screenshot.min.css"] = `.video-take-screenshot{padding:0 4px 0 12px;height:100%;cursor:pointer;display:none!important}.video-take-screenshot.touch{padding:0 6px 0 10px;margin-left:12px}.bilibili-player-video-control-bottom .video-take-screenshot{display:flex!important}.video-take-screenshot.touch span{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.video-take-screenshot i{font-size:20px;color:#fff;transform:scale(1);opacity:.9;transition:.4s cubic-bezier(.18,.89,.32,1.28);display:block}.bilibili-player.mode-fullscreen .video-take-screenshot i,.bilibili-player.mode-webfullscreen .video-take-screenshot i{font-size:24px}.video-take-screenshot:hover i{transform:scale(1.05);opacity:1}.video-take-screenshot:active i{transform:scale(.95);opacity:1}.video-screenshot-container{position:relative;--screenshot-width:240px;--screenshot-width-negative:calc(0px - var(--screenshot-width));--screenshot-height:135px;--thumbnail-margin-vertical:12px;--thumbnail-margin-horizontal:24px;--screenshot-list-width:calc(2 * var(--thumbnail-margin-horizontal) + var(--screenshot-width))}.video-screenshot-batch{position:fixed;bottom:0;right:0;z-index:20000;display:flex;width:var(--screenshot-list-width);align-items:center;justify-content:space-evenly}.video-screenshot-batch button{background:#000c;color:#fff;border:none;border-radius:10px 10px 0 0;font-size:11pt;cursor:pointer;outline:0!important;padding:8px 12px;display:flex;justify-content:center;align-items:center}.video-screenshot-batch button i{font-size:14pt;margin-right:4px}.video-screenshot-container,.video-screenshot-container *{transition:.2s ease-out}.video-screenshot-list{position:fixed;top:0;right:0;z-index:20000;padding:var(--thumbnail-margin-vertical) 0;pointer-events:none;height:calc(100% - 2 * var(--thumbnail-margin-vertical) - 48px);width:var(--screenshot-list-width);overflow:auto}.video-screenshot-list *{pointer-events:initial}.video-screenshot-list-enter{opacity:0;transform:translateX(var(--screenshot-width-negative))}.video-screenshot-list-leave-to{opacity:0;transform:translateX(var(--screenshot-width))}.video-screenshot-thumbnail img{max-width:var(--screenshot-width);max-height:var(--screenshot-height);display:block;background-color:#000}.video-screenshot-thumbnail{margin:var(--thumbnail-margin-vertical) var(--thumbnail-margin-horizontal);position:relative;transition:.35s cubic-bezier(.18,.89,.32,1.28);width:var(--screenshot-width);height:var(--screenshot-height);background-color:#000;display:flex;justify-content:center;align-items:center}@keyframes spinner{to{transform:translate(-50%,-50%) rotate(360deg)}}.video-screenshot-thumbnail .loading::before{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0);width:24px;height:24px;border-radius:50%;border:3px solid #8888;border-top-color:var(--theme-color);animation:.6s linear infinite spinner}.video-screenshot-thumbnail.video-screenshot-list-leave-active{position:absolute;transition:.35s cubic-bezier(.6,-.28,.74,.05)}.video-screenshot-thumbnail .mask{position:absolute;opacity:0;top:0;left:0;width:100%;height:100%;background:#0008;display:flex;justify-content:space-around;align-items:center;transition:none;pointer-events:none}.video-screenshot-thumbnail:hover .mask{opacity:1}.video-screenshot-thumbnail .mask .time{color:#fff;position:absolute;bottom:4px;left:8px;font-size:10pt}.video-screenshot-thumbnail .mask button{background:#000a;color:#fff;border:none;border-radius:50%;font-size:24pt;cursor:pointer;width:48px;height:48px;pointer-events:initial;outline:0!important}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/screenshot.min.js"] = (()=>{return(e,t)=>{const{getFriendlyTitle:i}=t.import("title");const s=document.createElement("canvas");class n{constructor(e,t,i=false){this.url="";this.timeStamp=(new Date).getTime();this.withDanmaku=false;this.video=e;this.videoTime=t;this.withDanmaku=i;this.createUrl()}async createUrl(){s.width=this.video.videoWidth;s.height=this.video.videoHeight;const e=s.getContext("2d");if(e===null){logError("视频截图失败: canvas 未创建或创建失败.");return}e.drawImage(this.video,0,0);if(this.withDanmaku){const t=dq("canvas.bilibili-player-video-danmaku");if(t!==null){e.drawImage(t,0,0,this.video.videoWidth,this.video.videoHeight)}}try{s.toBlob(e=>{if(e===null){logError("视频截图失败: 创建 blob 失败.");return}this.blob=e;this.url=URL.createObjectURL(e)},"image/png")}catch(e){logError("视频截图失败: 操作被浏览器阻止. 这通常发生于电影的试看片段, 请在正片尝试使用截图功能.")}}get filename(){return`${i()} @${this.time.replace(/:/g,"-")} ${this.timeStamp.toString()}.png`}get id(){return this.videoTime.toString()+this.timeStamp.toString()}get time(){const e=Math.trunc(this.videoTime/3600).toString();const t=Math.trunc(this.videoTime/60).toString();const i=(this.videoTime%60).toFixed(2);if(e==="0"){return`${t.padStart(2,"0")}:${i.padStart(5,"0")}`}return`${e}:${t.padStart(2,"0")}:${i.padStart(5,"0")}`}revoke(){URL.revokeObjectURL(this.url)}}const o=(e,t=false)=>{const i=e.currentTime;return new n(e,i,t)};let r={screenshots:[]};Observer.videoChange(async()=>{if(!dq(".video-screenshot-container")){t.applyStyle("videoScreenshotStyle");document.body.insertAdjacentHTML("beforeend",`\n\n`);Vue.component("video-screenshot",{props:{objectUrl:String,filename:String,time:String},template:`\n\n
\n
\n
\n
\n
\n`,methods:{discard(){this.$emit("discard")},save(){this.$el.querySelector(".link").click();this.discard()}}});r=new Vue({el:".video-screenshot-container",data:{screenshots:[],batchFilename:i()+".zip"},methods:{discard(e){this.screenshots.splice(this.screenshots.indexOf(e),1);e.revoke()},async saveAll(){const e=new JSZip;this.screenshots.forEach(t=>{e.file(t.filename,t.blob,{date:new Date(t.timeStamp)})});const t=await e.generateAsync({type:"blob"});const i=this.$el.querySelector(".batch-link");i.href=URL.createObjectURL(t);i.click();URL.revokeObjectURL(i.href);i.href="";this.discardAll()},discardAll(){this.screenshots.forEach(e=>e.revoke());this.screenshots=[]}},computed:{showBatch(){return this.screenshots.length>=2}}})}const s=await SpinQuery.select("#bofqi video");if(s===null){return}const n=await SpinQuery.select(".bilibili-player-video-time");if(n===null||document.querySelector(".video-take-screenshot")){return}const c=`\n\n \n
`;n.insertAdjacentHTML("afterend",c);const a=document.querySelector(".video-take-screenshot");a.addEventListener("click",async e=>{const t=await SpinQuery.select("#bofqi video");const i=o(t,e.shiftKey);r.screenshots.unshift(i)});document.addEventListener("keydown",e=>{if(document.activeElement&&["input","textarea"].includes(document.activeElement.nodeName.toLowerCase())){return}if(e.ctrlKey&&e.altKey&&e.key.toLowerCase()==="c"){e.stopPropagation();e.preventDefault();a.click()}});if(e.touchVideoPlayer){document.querySelectorAll(".video-take-screenshot").forEach(e=>e.classList.add("touch"))}});return{export:{takeScreenshot:o,screenShotsList:r},unload:()=>document.querySelectorAll(".bilibili-player-video-control-bottom .video-take-screenshot,.video-screenshot-container").forEach(e=>e.setAttribute("style","display: none !important")),reload:()=>document.querySelectorAll(".bilibili-player-video-control-bottom .video-take-screenshot,.video-screenshot-container").forEach(e=>e.setAttribute("style","display: flex !important"))}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/scrollbar.min.css"] = `::-webkit-scrollbar{width:5px!important;height:5px!important}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:0 0!important}::-webkit-resizer,::-webkit-scrollbar-thumb{background:#aaa;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#888}*{scrollbar-color:#aaa transparent;scrollbar-width:thin!important}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/search.vue.min.js"] = (()=>{return(e,r)=>{const s=`ko no 搜索框 da!
`;r.applyStyleFromText(`.search{border:1px solid #8882}`,"search-style");return{export:Object.assign({template:s},{})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/seeds-to-coins.min.js"] = (()=>{return(s,e)=>{const t=`https://api.live.bilibili.com/pay/v1/Exchange/silver2coin`;return{widget:{content:`\n\n \n瓜子换硬币 \n `,success:()=>{const s=async()=>{const s=await Ajax.getJsonWithCredentials(t);if(s.code!==0){Toast.info(s.message,"瓜子换硬币",3e3)}else{Toast.success(`${s.message}\n剩余银瓜子:${s.data.silver}`,"瓜子换硬币",3e3)}};const e=dq("#seeds-to-coins");e.addEventListener("click",async()=>{try{e.disabled=true;await s()}finally{e.disabled=false}})}}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/selectable-column-text.min.js"] = (()=>{return(t,e)=>{const r=`.article-holder { user-select: text !important }`;const o="selectable-column-text-style";let l=false;const n=()=>{if(!document.URL.startsWith("https://www.bilibili.com/read/")){return}e.applyStyleFromText(r,o);if(!l){l=true;document.addEventListener("copy",t=>{t.stopImmediatePropagation()},{capture:true})}};n();return{reload:n,unload:()=>{document.getElementById(o).remove()}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-search.min.js"] = (()=>{return(t,e)=>{class s{constructor(){this.input=document.querySelector(".gui-settings-search");const t=[...document.querySelectorAll(".gui-settings-content>ul>li")];const e=t=>e=>e.classList.contains("category")===t;this.categories=t.filter(e(true));this.items=t.filter(e(false));this.importToolTips().then(()=>this.input.addEventListener("input",()=>this.keywordChange()))}async importToolTips(){if(typeof getI18nKey==="undefined"){console.error("请更新脚本后再使用设置搜索功能.");return}const{toolTips:t}=await e.importAsync(`settings-tooltip.${getI18nKey()}`);this.toolTips=t}keywordChange(){const t=this.input.value.trim();if(!t){this.categories.concat(this.items).forEach(t=>t.classList.add("folded"));return}this.items.forEach(e=>{const s=e.querySelector("input").getAttribute("key");const i=this.toolTips.get(s);let n=Resource.displayNames[s];if(i!==undefined){n+=i.replace(/<.*>|<\/.*>/g,"")}if(n.includes(t)){e.classList.remove("folded");const t=e.getAttribute("data-dependencies");if(t!==undefined&&t!==null){t.split(" ").forEach(t=>{const e=this.items.find(e=>e.getAttribute("data-key")===t);if(e!==undefined){e.classList.remove("folded")}})}}else{e.classList.add("folded")}});this.foldCategories()}foldCategories(){for(const e of this.categories){function t(){let t=e.nextElementSibling;while(t!==null&&!t.classList.contains("category")){if(!t.classList.contains("folded")){return"remove"}t=t.nextElementSibling}return"add"}e.classList[t()]("folded")}}}return{export:{SettingsSearch:s}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-side-bar.min.js"] = (()=>{return(e,t)=>{if(document.querySelector(".gui-settings-icon-panel")===null){document.body.insertAdjacentHTML("beforeend",`\n`);dq(".gui-settings").addEventListener("click",e=>{if(e.shiftKey===false){dqa(".gui-settings-box,.gui-settings-mask").forEach(e=>e.classList.add("opened"))}else{dqa(".bilibili-evolved-about,.gui-settings-mask").forEach(e=>e.classList.add("opened"));const e=dq(".bilibili-evolved-about");if(e){raiseEvent(e,"be:about-load-community")}}});dq(".gui-settings-widgets").addEventListener("click",e=>{if(e.shiftKey===false){dqa(".gui-settings-widgets-box,.gui-settings-mask").forEach(e=>e.classList.add("opened"))}else{debugger}});const e=dq(".gui-settings-icon-panel .gui-settings-widgets>i");const t=dq(".gui-settings-icon-panel .gui-settings>i");let i=false;let s=false;const n=()=>{t.classList.remove("icon-info");t.classList.add("icon-settings");t.parentElement.title="设置";e.classList.remove("icon-time");e.classList.add("icon-widgets");e.parentElement.title="附加功能";i=false;s=false};const d=()=>{t.classList.remove("icon-settings");t.classList.add("icon-info");t.parentElement.title="关于";e.classList.remove("icon-widgets");e.classList.add("icon-time");e.parentElement.title="「ザ・ワールド」";if(!i){document.body.addEventListener("keyup",n,{once:true});i=true}if(!s){window.addEventListener("blur",n,{once:true});s=true}};document.body.addEventListener("keydown",e=>{if(document.activeElement&&["input","textarea"].includes(document.activeElement.nodeName.toLowerCase())){return}if(e.shiftKey===true){d()}})}addSettingsListener("sideBarOffset",e=>{document.documentElement.style.setProperty("--side-bar-offset",e+"vh")},true)}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.en-US.min.js"] = (()=>{return(e,a)=>{const o=new Map([["useDefaultPlayerMode",`Set the default player mode. Could be Normal , Widescreen , Web fullscreen or Fullscreen .`],["defaultPlayerMode",`Select the default player mode.`],["applyPlayerModeOnPlay",`Apply mode on video play instead of page load.`],["useDefaultPlayerLayout",`Set the default player layout.\n- Old: The legacy layout\n- New: The default new layout\nWarning: Some features won't work on old layout.`],["defaultPlayerLayout",`Video player layout`],["defaultBangumiLayout",`Bangumi player layout`],["useDefaultVideoQuality",`Auto select the specified video quality. If the highest quality of video in lower than your choice, the highest quality will be used.`],["defaultVideoQuality","Select the default video quality."],["autoLightOff",`Auto turn off the light when video starts playing, and turn on the light after complete.`],["useDefaultDanmakuSettings",`Set the default settings about danmakus.`],["enableDanmaku",`Disable this if you want to turn off danmakus by default.`],["rememberDanmakuSettings",`Remember the "Prevent blocking subtitles" and "Smart danmaku mask" settings. If you change these settings on player, every video will apply these settings by default.`],["expandDanmakuList",`Auto expand the danmaku list.`],["autoPlay",`Auto start playing video on page load.`],["autoContinue",`If playback history exists, auto continue from it.`],["skipChargeList",`Skip charge acknowledgements on the end of some videos.`],["framePlayback",`Append 2 buttons to the right of video time to seek video by frame. Support keyboard shortcut Shift +← /→ . (Old layout can only use keyboard shortcut)`],["playerFocus",`Auto scroll to the player when you enter the page.`],["playerFocusOffset",`Set the scroll offset. (in px unit)`],["customStyleColor",`Set the theme color for custom navbar, dark mode and more. Click the color circle to choose from 16 predefined colors, or input any valid hex color in textbox. (#rrggbb or #rgb )`],["useDarkStyle",`Dark style looks much better at night, and will widely apply theme color.`],["darkSchedule",`Schedule the dark mode time.`],["compactLayout",`Use compact layout for homepage, reduce margin and remove rounded corner of video cards, use vector icons in categories.`],["useCommentStyle",`- Remove "Follow" button on hot comments\n- Remove the level badge of user\n- Remove the platform info (like From Android client )\n- Move post time to upper right.\n- Use vector icons\nTip: You can still access the removed "Follow" and level badge by hovering on their avatars.`],["simplifyLiveroom",`- Hide master icon\n- Hide fan badge\n- Hide event title\n- Hide user level\n- Hide captain icon\n- Hide global notice\n- Hide welcome message (xxx master entered room)\n- Hide lottery draw notifications\n- Disable room skin\nTip: Every item can be toggled individually in Add-ons.`],["blurVideoControl",`Use background blur effect for video controls.`],["customControlBackground",`Use a filled black rectangle as background of video controls instead of the original shadow effect.`],["customControlBackgroundOpacity",`Set the opacity of rectangle`],["harunaScale",`Make live room showgirl DPI-aware.`],["removeLiveWatermark",`Remove the watermark of live stream`],["removeVideoTopMask",`Remove the top mask of videos`],["removeAds",`Remove all ads. including slideshow ads, mobile app ads and video ads.`],["watchLaterRedirect",`Redirects all watchlater videos to the normal video page in order to use new layout.`],["favoritesRedirect",`Redirects all videos in favorites from favorites playlist to the individual video page.`],["hideTopSearch",`Use "Search" in place of search recommendations.`],["fullTweetsTitle",`Always expand full title in the feeds peek in navbar.`],["fullPageTitle",`Always expand full title of video episodes and (when there are many episodes) expand the entire list. (Not work for bangumi)`],["biliplusRedirect",`Append "Jump to BiliPlus" button to Add-ons.`],["imageResolution",`Request hi-resolution images by your screen DPI. But also cause longer loading time.`],["oldTweets",`Replace feeds link by the old version, and you can switch between new and old versions in Add-ons.`],["touchNavBar",`Allow to tap on a navbar item to view its popup info, instead of open the top-level link.`],["comboLike",`Allow long press the like button to perform a combo like.`],["touchVideoPlayer",`Increase margin of video control buttons for better touch experience. And enable touch gestures:\n- Left/Right slide to seek\n- Up/Down slide to adjust volume\n- Cancel a gesture on upper left/right corner\n- Slide on different position to use different sensibility.`],["touchVideoPlayerAnimation",`Use experimental animations for touch gestures, but may cause frame drops.`],["touchVideoPlayerDoubleTapControl",`Enable double-tap control: single tap to view/hide control bar, double tap to pause/resume.`],["toast",`Show toasts on the lower left corner of page, including update notifications and error display.`],["toastInternalError",`Show internal error messages, which may be helpful when reporting a bug.`],["useCache",`Use cache to increase load speed of this userscript.`],["outerWatchlater",`Move watchlater button from menu to outside.`],["i18n",`[Experimental] Provides UI translation for some common words.`],["i18nLanguage",`Set the target language.`],["customNavbar",`Enable custom navbar to replace the legacy one. New navbars in live/photos/shop are not affected.`],["customNavbarFill",`Use theme color to fill the navbar.`],[`customNavbarTransparent`,`Use transparent background if banner exists.`],["customNavbarShadow",`Drop shadow for custom navbar.`],["customNavbarCompact",`Use compact layout for custom navbar, provides smaller margins and use ... for long titles.`],["customNavbarBlur",`If top banner exists, use background blur effect.`],["playerShadow",`Use theme color shadow for player.`],["narrowDanmaku",`Force preserve danmaku input in web fullscreen mode. May cause buttons on the right out of screen.`],["hideOldEntry",`Hide "Back to old" buttons in new layout.`],["hideBanner",`Hide top banner.`],["allowJumpContinue",`Allow jump to episodes different from current.`],["hideBangumiReviews",`Hide reviews on bangumi page.`],["videoScreenshot",`Append screenshot button to the right of video time. Support keyboard shortcut Ctrl +Alt +C . (Old layout can only use keyboard shortcut)`],["filenameFormat",`Customize the filename format used by Download danmaku , Download video , Video screenshot , View cover .\nThere are a few variables:\n- title : Video title / Live room title\n- ep : Episode title\n- aid : AV ID\n- cid : CID (The unique ID of video, as AV ID may contains multiple episodes)\n- lid : Live room ID\n- y /M /d : Year / Month / Day of month\n- h /m /s /ms : Hour / Minute / Second / Millisecond\n\nThe default format is [title][ - ep] , representing video title and episode title. If episode title not exists, only video title is used.\n\nPut your variables inside square brackets, other contents inside brackets (like " - " in "[ - ep] ") will only appear when the variable exists. For instance, if the format is [title] - [ep] . Even there's no episode title, that " - " will still appear in filename (which is meaningless). So in default format, when episode title not exists, " - " will also disappear.\n\nA more specific example: To use a "video title + AV ID + time" format, we can use [title][ AVaid] [y]-[M]-[d] [h]-[m]-[s] . And get filenames like "xxxx AV23333 2019-05-29 19-59-44 ".`],["noLiveAutoplay",`Disable autoplay on live homepage.`],["hideHomeLive",`Hide recommended live rooms on live homepage.`],["sideBarOffset",`Set vertical offset of side bar (in percent). Valid range: -40% ~ 40%.`],["hideCategory",`Hide category bar on main site, you can select category from Home in navbar.`],["foldComment",`Append a "Fold comments" button on the bottom of page when viewing comments in feeds. Then you can quickly fold comments without scrolling up.`],["showDeadVideoTitle",`Retrieve title and cover of dead videos in your space`],["useBiliplusRedirect",`Jump to BiliPlus for dead videos.`],["deadVideoTitleProvider",`Select dead video info provider: Watchlater is stable but takes some time, BiliPlus runs fast but it's not implemented yet.`],["useDefaultVideoSpeed",`Set the default video playback rate.`],["defaultVideoSpeed",`Select the default playback rate.`],["seedsToCoins",`Append a Seeds to coins button, click to convert 700 silver seeds to 1 coin, up to one time per day.`],["autoDraw",`Auto click draw button when there're drawing events in live room.`],["keymap",`Enable more keyboard shortcuts for video player:\n- w Web fullscreen\n- t Wide screen / Theater mode\n- r Toggle repeat\n- m Toggle mute\n- d Toggle danmakus\n- l Like\n- c Coin\n- s Favorite\n- j 85s forward\n- Shift + j 85s backward\n- Shift + ↑/↓ / Shift + ,/. Playback speed adjust\n- Shift + / Reset playback speed`],["doubleClickFullscreen",`Allow double click the player to toggle fullscreen, please note that this feature will not work if 播放器触摸支持 - 启用双击控制 is also enabled.`],["ajaxHook",`The Ajax Hook API may help other extensions or add-ons access ajax requests in bilibili.`],["scriptLoadingMode",`Feature loading mode:\n- Simultaneous: Load features as soon as possible\n- Delay: Load features after the original page has loaded\n- Simultaneous (Auto): Auto determine loading mode and prefer Simultaneous mode\n- Delay (Auto): Auto determine loading mode and prefer Delay mode`],[`fullActivityContent`,`Always expand for full content of feeds.`],[`activityImageSaver`,`When viewing a save-restricted image in feeds, you can right-click to get a toast with that image for saving.`],[`selectableColumnText`,`Make texts in column selectable.`],[`watchlaterExpireWarnings`,`Videos in watchlater will expire and be deleted in 60 days. Enable this feature will show a warning if a video will expire in less than 14 days.`],[`miniPlayerTouchMove`,`Allow touch drag to move mini player.`],[`feedsFilter`,`Filter out unwanted feeds by type or keywords, and remove side cards in your feeds homepage.`],[`hideBangumiSponsors`,`Hide bangumi sponsors sections and buttons.`],[`hideRecommendLive`,`Hide recommended live broadcasts in video pages.`],[`hideRelatedVideos`,`Hide related videos in video and bangumi pages.`],[`simplifyHome`,`Replace the original homepage by one of these style:\n- Simple: A clean design with additional feeds section.\n- Minimal: Only video feeds and trending videos, no other sections.`],[`autoMatchMedal`,`Auto wear medal when you have the medal of the current live room, or wear the last manually selected medal.`],[`urlParamsClean`,`Auto remove redundant params in URL.`],[`collapseLiveSideBar`,`Collapse the side bar of live room.`],[`batchFilenameFormat`,`Customize the filename format of batch downloads, following the same rule as Filename format .\nAdditional variables:\n- n : The counting number of n-th video in batch downloads`],[`removeGameMatchModule`,`Also remove e-sports module.`],[`customNavbarTransparent`,`Use transparent fill when banner exists.`],[`recordLiveDanmaku`,`Record and XML file in live danmaku recorder from add-ons.`],[`feedsTranslate`,`Append translate button to every feeds. Can translate feeds into Chinese or language specified in UI Translation.`],[`feedsTranslateProvider`,`The machine translate provider.`],[`updateCdn`,`Select mirror for hot updates, invalid in offline versions.`],[`preserveEventBanner`,`Preserve event banners in video page.`],[`useDefaultLiveQuality`,`Set the default live quality. Will switch to it automatically when watching live stream.`],[`defaultLiveQuality`,`Select the default live quality.`],[`fixedSidebars`,`Fix position of sidebars and navbar in feeds home.`],[`extendFeedsLive`,`Inside Live broadcasting panel, insert titles for every room. Also can display more than 10 rooms.`],[`playerOnTop`,`Show video player on top. Move title and author down.`]]);return{export:{toolTips:o}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.ja-JP.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerLayout",`デフォルト・プレーヤー・レイアウトを設定する. できるだけ、適切なページに設定(例えば、番組の放送ページに番組プレーヤーのレイアウトを設定する)、そうでない場合は効果がない可能性があります.\n- 旧版: 伝統的なレイアウト\n- 新版: 動画ページに黙認の新版レイアウト\n注意: 伝統的なレイアウトでは、多くのスクリプト機能が適用されない.`],["defaultPlayerLayout",`動画プレーヤーのレイアウトを設定する.`],["defaultBangumiLayout",`番組プレーヤーのレイアウトを設定する.`],["useDefaultPlayerMode",`デフォルト・プレーヤー・モードが使用するかどうかを制御する、 例えば常规 、宽屏 、 网页全屏 か全屏 .`],["defaultPlayerMode",`デフォルト・プレーヤー・モードが設定する.`],["applyPlayerModeOnPlay",`再生時にモードを適用する、「いいえ」を選択すると、再生が開始されていないときに適用されます.`],["autoLightOff",`初回放送時には、自動的に消灯モードに入り、再生終了後に自動的に点灯します.`],["useDefaultVideoQuality",`動画を開くときに指定された画質を自動的に選択する. 映像の最高画質が選択された画質より低ければ、映像の最高画質を使用する.`],["defaultVideoQuality",`自動的に選択された映像画質を設定する.`],["useDefaultDanmakuSettings",`デフォルトで弾幕を開くかどうかを設定する.そして、「防挡字幕」と「智能防挡弹幕」を覚えておくかどうかを設定できる.`],["enableDanmaku",`弾幕がデフォルトで開くかどうかを制御する.`],["rememberDanmakuSettings",`弾幕ブロックの設定を覚えるかどうかを制御する、「防挡字幕」と「智能防挡弹幕」を含まれています.これらの設定を動画制御欄で変更すると、すべでの動画にデフォルトでこれらの設定が使用されます.`],["expandDanmakuList",`新版レイアウトでは、他のおすすめ動画が表示されるようにデフォルトで弾幕リストが折りたたまれています.この機能を有効にすると、動画が読み込まれるたびに弾幕リストが自動的に展開されます.`],["expandDescription",`長すぎる動画概要欄はデフォルトで折りたたまれています、この機能を有効にすると完全な動画概要欄が強制的に展開されます.`],["autoContinue",`動画再生時に視聴履歴が検出されると(前回の见た... 情報)、自動的に対応する時間に再生される.`],["allowJumpContinue",`履歴のセット数が現在開いているページと矛盾している場合でも、自動的にジャンプします.`],["autoPlay",`動画ページに入ると、自動的に動画の再生が開始されます.`],["skipChargeList",`エンディングの「充电鸣谢」を自動スキップ.`],["framePlayback",`プレーヤーの時間に右側に2つのボタンが追加されました.動画の時間を細かく調整するために使用される. キーボードショートカットに対応しますShift +← /→ . (伝統的なレイアウトでキーボードショートカットのみ使用でき、ボタンは表示されません)`],["videoScreenshot",`プレーヤーの時間に右側に1つのボタンが追加されました.動画スクリーンショットを使用されます. キーボードショートカットに対応しますCtrl +Alt +C . (伝統的なレイアウトでキーボードショートカットのみ使用でき、ボタンは表示されません)`],["playerFocus",`動画/番組の放送ページに入る時、プレーヤーに自動的に移動する.`],["playerFocusOffset",`移動時の垂直オフセット、単位はピクセル(px).`],["outerWatchlater",`動画放送ページの稍后再看 を外に移動します.`],["keymap",`動画プレーヤーのためにより多くのショートカットを有効にします:\n- w ウェブの全画面\n- t ワイドモード\n- r サイクル放送\n- m 消音\n- d 弾幕スイッチ\n- l いいね\n- c コインを投げる\n- s お気に入り\n- Shift + w 後で見る\n- Shift + ↑/↓ / Shift + ,/. 再生速度を調整する\n- Shift + / 再生速度をリセットする`],["doubleClickFullscreen",`ダブルクリックして全画面に切り替えることができます.ご注意ください播放器触摸支持 - 启用双击控制 と共に使用できない.`],["customStyleColor",`頂欄(スタイルの調整が有効な場合)とダークテーマのテーマ色で埋める、カラープレビューサークルをクリックして、设定の16種類のテーマカラーにできるの、右側のテキストボックスに任意の有効な16進数のカラー値を直接入力することもできます.(#rrggbb 或#rgb ).`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["customNavbar",`カスタム頂欄を使用する.伝統的な頂欄に取って代わる.メインステーション専用です.「生放送」、「アルバム」、「会員購」などには影響しません.`],["customNavbarSeasonLogo",`通常のロゴの代わりに季節のロゴを使用するかどうか.`],["customNavbarFill",`テーマ色で頂欄を埋める.`],[`customNavbarTransparent`,`トップの横断幕が存在する場合は、背景の透明効果を使用します.`],["customNavbarShadow",`頂欄に投影効果を追加する.`],["customNavbarCompact",`トップページにコンパクトなレイアウトを使する.コンパクトなレイアウトはより小さなスペースを使用し、そして動画のタイトルが長すぎる場合に後者の部分を省略するための 「...」を使用する.`],["customNavbarBlur",`トップの横断幕が存在する場合は、背景のぼかし効果を使用します.`],["useDarkStyle",`ダークテーマでは、ページの明るい部分が暗い色に変わり、夜間の視聴に最適な表示になります.そして多くのテーマカラーを適用します.ぜひお試しください.`],["darkSchedule",`ダークテーマを使用して计画タイムを設定する.この期間を開始または終了すると、ダークテーマは自動的にオンまたはオフになり、終了時刻は開始時刻より短く、翌日と見なされます.例えば18:00 から6:00 夜の18:00から翌日の6:00までを表しています.`],["darkScheduleStart",`計画期間の開始時刻を設定する.`],["darkScheduleEnd",`計画期間の終了時刻を設定する.`],["compactLayout",`ホームページでコンパクトレイアウトを使用するかどうかを設定します.動画の間隔が狭くなり、フィレットが切り取られ、カテゴリ欄のアイコンは高解像度版を使用します.`],["useCommentStyle",`- 人気コメントのアバターの下にある「フォロー」ボタンを削除します\n- ユーザーの「レベル」アイコンの削除します\n- 発送端末の情報を削除(例えば来自安卓客户端 )\n- 送信時刻は右上に移動します\n- ビットアイコンはすべてベクトルアイコンを入れ替えており、高解像度の画面はぼやけません.\n注釈:「フォロー」と「レベル」アイコンはマウスでアバタ上に置くことで,ポップアップした資料カードに表示することができる.`],["simplifyLiveroom",`- 「老爷」アイコンを隠す\n- 「ファン勲章」アイコンを隠す\n- 「活動肩書き」アイコンを隠す\n- 「レベル」アイコンを隠す\n- 「艦長」アイコンを隠す\n- 「全域放送」を隠す\n- 「ウェルカムメッセージ」を隠す (例えば、「xxx老爷进入直播间」)\n- 「ギフト弾幕」を隠す (弾幕リストのみ. 例えば「节奏风暴」など特殊効果は影響を受けません)\n- 「艦長購入のヒント」を隠す (弾幕リストの「xxxは艦長を購入する」)\n- 「有料ギフト」を隠す (プレーヤーの下でのさまざまな有料ギフト欄)\n- 「入場特殊効果」を隠す\n- 「看板娘」を隠す\n- 「イベント横断幕」を隠す\n- 「抽選のヒント」を隠す (例えば、「艦長」を購入する時、「小飞船」を購入する時、ギフトを抽選のヒント)\n- 配信ルームの「特殊な背景」を無効にする(ダークテーマでは、デフォルトでは「特殊な背景」も無効になっています)\n各項目は、非表示にするかどうかを附加功能 の中で個別に選択することができる.`],["hideBanner",`トップページの横断幕を非表示.`],["playerShadow",`プレーヤーにテーマカラーの投影の追加する.`],["narrowDanmaku",`ウェブの全画面表示されている場合は、幅が狭すぎても弾幕欄を強制的に保持し.この場合には右側の機能ボタンが境界線を押し出してしまう可能性があることに注意する.`],["blurVideoControl",`動画制御欄の背景をぼかします.伝統的な陰影効果は無効になります.`],["customControlBackground",`動画制御欄に半透明な黒を付ける、伝統的な陰影効果を置き換える.`],["customControlBackgroundOpacity",`制御欄に黒の不透明度(0~1)を設定し、数値が大きくなるほど黒が濃くなるように設定します.`],["harunaScale",`スクリーンDPIによって、配信ルームの看板娘のサイズをスケーリングして、ピクセルの解像度を高めます.`],["removeLiveWatermark",`生放送時、隅の透かしを削除する.`],["removeVideoTopMask",`マウスが通過したら、動画の右上隅にあるタイトル層を削除します.`],["hideOldEntry",`放送ページの右側返回旧版 を隠す.`],["hideBangumiReviews",`番組ページの採点区を隠す.`],["hideCategory",`ホームページのエリア欄を隠す、それでもエリア欄は頂欄のホームメニューからアクセスできます.`],["removeAds",`ビリビリのさまざまな広告を削除する.ホームページのプロモーションモジュール、モバイルアプリのおすすめ、動画ページの右側にある広告などが含まれます.`],["watchLaterRedirect",`「後で見る」のリンクを通常の再生ページに変更して、新版レイアウトの再生ページを使用する.`],["favoritesRedirect",`個人センターの「お気に入り」の動画を通常の再生ページに変更して、「お気に入り」再生の放送ページではなく.`],["hideTopSearch",`検索欄の推薦語を搜索 に置き換える.`],["fullTweetsTitle",`頂欄のフィードプレビューページでは、常に完全なタイトルが展開されます.`],["fullPageTitle",`動画選集リストですべでを展開し、タイトルが1行を超えたら、別の行を開始して完全なタイトルを表示します.`],["showDeadVideoTitle",`個人センターの中に、失効した動画のタイトルとサムネイルを復元する.`],["useBiliplusRedirect",`失効した動画のリンクを「BiliPlus」ページに変更して.`],["deadVideoTitleProvider",`失効した動画の情報源: 「後で見る」は安定していますが、少し時間がかかります; 「BiliPlus」のスピードは速いですが、書き残していますので、しばらく開けません.`],["biliplusRedirect",`動画、番組、個人センターページで、追加機能转到BiliPlus をクリックして、BiliPlusの対応するページに移動します.`],["imageResolution",`スクリーンDPIによって、より高い解像度の画像を読み込む.(例えば、スクリーンのDPIが200%に調整されている場合、解像度は2倍になり、読み込み時間は長くなります.)`],["oldTweets",`「新版のフィード」リンクを 「旧版のフィード」に置き換え、追加機能で 「新版のフィード」/「旧版のフィード」を切り替えます.`],["i18n",`インタフェースの一般的なテキストの翻訳を提供する.`],["i18nLanguage",`翻訳言語`],["noLiveAutoplay",`生放送のホームページのおすすめライブルームで自動的に再生を開始することは禁止されています.`],["hideHomeLive",`生放送のホームページのおすすめライブルームを隠す.`],["foldComment",`フィードページにコメントを表示しているときに下部に「コメントを閉じる」ボタンを追加します.`],["seedsToCoins",`追加機能に瓜子换硬币 ボタンを追加し、クリックして1日に1回に制限されて、1コインに700銀ヒマワリの種を交換してください.`],["touchNavBar",`頂欄の右側の1級リンクを削除します(大会員 から履歴 まで).タッチスクリーンデバイスですばやく情報を便利にします.削除されたリンクページはそれぞれのプレビューの中から查看更多 に入ることができます.`],["comboLike",`「おすすめ三連」(「いいね」を長押した)のタッチサポートを有効にする.`],["touchVideoPlayer",`制御欄のボタン間隔を大きくして、タッチ操作をより正確にする.プレーヤーのタッチサポートを有効にする:\n- 左右にスワイプして再生の進行状況を調整します\n- 上下にスワイプして音量を調整します\n- 進行状況の調整は左上と右上でキャンセルできます\n- 異なる位置にスワイプすると、3つの異なる感度を使用できます.`],["touchVideoPlayerAnimation",`タッチ調整のヒントボックスにアニメーションの表示と非表示のどうかを決定します.このアニメーションはフレームがドロップされる可能性があります.`],["touchVideoPlayerDoubleTapControl",`操作方法を変更する.クリック:制御欄を表示/非表示, ダブルクリック放送/一時停止.`],["toast",`ウェブページの左下隅に表示スクリプトからのメッセージ、例えば更新通知の送信、エラーメッセージなどです.`],["toastInternalError",`オープンしたら、エラーメッセージは詳細な技術的エラー情報とスタック追跡を表示します.これは通常問題発生の原因を正確に確定するために使用されます.だから、問題を報告する時にこれらの情報はとても役に立ちます.`],["useCache",`スクリプトの読み込み速度を上げるためにキャッシュを使う.`],["filenameFormat",`ファイルの命名形式をカスタマイズする、下载弹幕 、下载视频 、视频截图 、查看封面 に作用する.\n使用できる変数は:\n- title : 動画のタイトル/配信ルームのタイトル\n- ep : エピソードタイトル\n- aid : AV番号 (動画アドレス番号)\n- cid : CID (動画の唯一の番号、動画アドレス番号に対応するの動画アドレスは複数の動画を含み得る)\n- lid : 配信ルーム番号\n- y /M /d : 年/月/日\n- h /m /s /ms : 時間/分/秒/ミリ秒\n\nデフォルトの命名形式は[title][ - ep] 、動画のタイトル+エピソードタイトル、エピソードタイトルがない場合は動画のタイトルを表示する.\n\n変数は角括弧内に配置され、角括弧内のその他の内容は変数が有効な場合に表示されます. 例えば、命名形式が[title] - [ep] 書かれている場合ではエピソードタイトルがなくても、この - ファイル名にも表示されます. デフォルトとして角括弧で囲まれている場合、エピソードタイトルがない、 - が表示されません.\n\n例えば、タイトル+AV番号+時間の命名形式が欲しい、[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s] に設定することができます. xxxx AV23333 2019-06-1 22-22-22 ような名前をつけることができます.`],["sideBarOffset",`設定ボタンの垂直オフセット、単位はパーセント、許容範囲は-40%〜40%です.`],["useDefaultVideoSpeed",`デフォルトの再生速度を使用するかどうかを設定します.`],["defaultVideoSpeed",`デフォルトの動画再生速度を設定する.`],["autoDraw",`ライブルームに抽選活動がある場合は、「受け取り」ボタンを自動的にクリックします.\n 注意:少量の抽選にしか適用されますので、「99+限定抽選」は他の人のスピードに追いつけないかもしれません.`],["ajaxHook",`「Ajax Hook API」を有効にするかどうか、他のプラグインまたは追加機能は、この「API」を通じて「Ajax」が要求する情報を取得できます.`],["scriptLoadingMode",`スクリプト機能読み込みモード:\n- 同時: Bilibiliのページと同時に読み込む\n- 延後: Bilibiliのページを優先的に読み込み、元のページの読み込みが完了したらスクリプトの読み込みを開始します\n- 同時(自動): さまざまなページに従って読み込みモードを自動的に選択します.デフォルトは「同時」モード\n- 延後(自動): さまざまなページに従って読み込みモードを自動的に選択します.デフォルトは「延後」モード`],[`fullActivityContent`,`情報内容がどれぐらい長いにも関わらず、いつも完全な内容を展開します.`],[`activityImageSaver`,`大きなフィード画像を右クリックすると、画像付きのメッセージがポップアップ表示され、簡単に保存できます.`],[`selectableColumnText`,`コラムのテキストを選択可能にする.`],[`watchlaterExpireWarnings`,`「後で見る」の動画は、追加後60日で有効期限が切れます.この機能を開くと、14日より後のリストに有効期限の警告が表示されます.`],[`miniPlayerTouchMove`,`ミニプレーヤーをタッチしてドラッグする.`],[`feedsFilter`,`タイプまたはキーワードでフィードホームページの内容をフィルタリングするか、フィードページのいくつかのサイドカードを削除します. ご注意ください:今、「すべてのフィード」でのみ有効にする、別のカテゴリに切り替える場合は無効.`],[`hideBangumiSponsors`,`番組ページの下のスポンサーランクと右側のスポンサーボタンを隠す.`],[`hideRecommendLive`,`動画ページ右側のおすすめ生放送を隠す.`],[`hideRelatedVideos`,`番組と動画ページ右側のおすすめ動画を隠す.`],[`simplifyHome`,`ホームページを置き換えます.2つのスタイルがあります:\n- さわやか: レイアウトは元のホームページに似ており、フィードセクションが追加されています.\n- ミニマル: 他のすべてのセクションを削除し、動画フィードと人気動画のみを残します.`],[`autoMatchMedal`,`今の配信ルームの勲章を持っている場合は、自動的にそれを着用します.それ以外の場合は、最後に手動で選択した勲章を着用します.`],[`urlParamsClean`,`冗長な追跡パラメーターをリンクから自動的に削除します.`],[`collapseLiveSideBar`,`生放送のサイドカードを自動的に収めます.`],[`batchFilenameFormat`,`バッチダウンロードファイルの命名形式をカスタマイズする、ルールは単一文件命名格式 と同じです.\n新しい変数:\n- n : 番号、n番目の動画を意味します.`],[`removeGameMatchModule`,`電子スポーツプレート区を削除.`],[`recordLiveDanmaku`,`追加機能に生放送弾幕レコーダーを追加し、生放送弾幕を記録して「XML」をエクスポートできます.`],[`feedsTranslate`,`フィードごとの下に翻訳ボタンを追加して、フィード内容を中国語に翻訳します.「UI 翻訳」がオンになっている場合、「UI 翻訳」で設定された言語に翻訳されます.`],[`feedsTranslateProvider`,`機械翻訳の提供者`],[`updateCdn`,`ホットアップデートのアップデートソース、オフラインバージョンとスクリプト本体アップデートには無効.`],[`preserveEventBanner`,`動画ページの活動バナーを保持.`],[`useDefaultLiveQuality`,`デフォルトのライブ画質を使用するかどうかを制御します.デフォルトのライブ画質は検出され、配信ルームに入ると設定された画質に自動的に変更されます.`],[`defaultLiveQuality`,`デフォルトのライブ画質を選択します.`],[`fixedSidebars`,`フィードホームページの頂欄とサイドカードを強制的に固定します.フィードフィルターの固定解除効果よりも優先度が高く、高速プルによるジッターを回避できます.`],[`extendFeedsLive`,`フィードページの配信中 で、生放送情報にタイトルを追加し、10個を超える生放送ルーム情報を表示できます.`],[`playerOnTop`,`動画ページのプレーヤーを上に表示すると、タイトル/ UPメッセージなどの情報が下に移動します.`]]);return{export:{toolTips:e}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.loader.min.js"] = (()=>{return(t,e)=>{function n(t){const e=t.querySelector("input");if(e){return e.getAttribute("key")}return null}const o=async()=>{e.applyStyle("settingsTooltipStyle");const{toolTips:t}=await e.importAsync(`settings-tooltip.${getI18nKey()}`);const o=await SpinQuery.select(".gui-settings-tooltip");if(!o){return}document.querySelectorAll(".gui-settings-content>ul>li").forEach(e=>{e.addEventListener("mouseover",()=>{const s=n(e);if(s===null||t===null){return}const i=t.get(s);if(i!==undefined){o.innerHTML=i;o.classList.add("show")}});e.addEventListener("mouseout",()=>{o.classList.remove("show")})})};return{export:{loadTooltip:o}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.min.css"] = `.gui-settings-tooltip{position:fixed;left:440px;color:#fff;background:#0008;padding:1rem;font-size:12pt;top:50%;transform:translateY(-50%);transition:.2s ease-out .8s;opacity:0;min-width:100%;max-height:100%;line-height:2;white-space:pre-wrap;pointer-events:none}.round-corner .gui-settings-tooltip{border-radius:var(--large-corner-radius)}.gui-settings-tooltip.show{pointer-events:initial;opacity:1}.gui-settings-tooltip span{font-weight:700}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规 , 宽屏 , 网页全屏 或全屏 .`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到... 消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于较 精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键 . (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb 或#rgb ).`,useNewStyle:`主要 会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:00 至6:00 表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端 这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能 中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索 .`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus" , 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员 到历史 ), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多 进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/settings-tooltip.zh-CN.min.js"] = (()=>{return(a,n)=>{const e=new Map([["useDefaultPlayerMode",`控制是否使用默认播放器模式, 可以为常规 , 宽屏 , 网页全屏 或全屏 .`],["defaultPlayerMode",`设置默认的播放器模式.`],["applyPlayerModeOnPlay",`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`],["useDefaultPlayerLayout",`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`],["defaultPlayerLayout",`设置视频区的布局.`],["defaultBangumiLayout",`设置番剧区的布局.`],["useDefaultVideoQuality",`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`],["defaultVideoQuality",`设定自动选择的视频画质.`],["autoLightOff",`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`],["useDefaultDanmakuSettings",`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`],["enableDanmaku",`控制弹幕是否默认开启.`],["rememberDanmakuSettings",`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`],["expandDanmakuList",`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`],["expandDescription",`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`],["autoPlay",`进入视频页面时自动开始播放视频.`],["autoContinue",`播放视频时如果检测到历史记录信息(上次看到... 消息), 则自动跳转到相应的时间播放.`],["skipChargeList",`自动跳过视频结尾的充电鸣谢.`],["framePlayback",`在播放器的时间右边增加两个按钮, 用于较 精细调整视频时间. 支持键盘快捷键Shift +← /→ . (旧版播放器只能用键盘快捷键, 不会显示按钮)`],["playerFocus",`进入视频/番剧页面时, 自动定位到播放器.`],["playerFocusOffset",`定位时的竖直偏移量, 单位为像素(px).`],["customStyleColor",`设定顶栏(自定义顶栏启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb 或#rgb ).`],["useNewStyle",`主要 会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`],["blurBackgroundOpacity",`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`],["useDarkStyle",`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`],["darkSchedule",`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:00 至6:00 表示晚上18:00到次日6:00.`],["darkScheduleStart",`设置计划时段的起始时间.`],["darkScheduleEnd",`设置计划时段的结束时间.`],["compactLayout",`设置首页是否使用紧凑布局, 视频的间距会减小, 分区栏的图标会使用高清重制版.`],["useCommentStyle",`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端 这种)\n- 删除用户名右边的勋章\n- 删除评论区顶部的横幅\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n- 投票仅显示链接, 隐藏下面的大框.\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`],["simplifyLiveroom",`- 隐藏老爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx老爷进入直播间)\n- 隐藏礼物弹幕 (仅弹幕列表, 特殊效果如节奏风暴不受影响)\n- 隐藏上舰提示 (弹幕列表里的 xxx开通了舰长)\n- 隐藏付费礼物 (播放器下面的各种金瓜子礼物, 以及许愿瓶, 上舰等)\n- 隐藏入场特效\n- 隐藏看板娘\n- 隐藏活动横幅\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能 中单独选择是否隐藏.`],["preserveRank",`控制是否在搜索框左侧显示排行榜图标.`],["blurVideoControl",`模糊视频控制栏背景, 原版的阴影效果将无效.`],["customControlBackground",`给视频控制栏附上半透明的黑色, 代替原来的阴影.`],["customControlBackgroundOpacity",`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`],["harunaScale",`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`],["removeLiveWatermark",`删除观看直播时角落的水印.`],["removeVideoTopMask",`删除视频里鼠标经过时出现在右上角的覆盖层.`],["removeAds",`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`],["showBlockedAdsTip",`删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.`],["watchLaterRedirect",`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`],["favoritesRedirect",`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`],["hideTopSearch",`将搜索框的推荐词替换为搜索 .`],["fullTweetsTitle",`在顶栏的动态预览框中, 总是展开完整的视频标题.`],["fullPageTitle",`在视频选集列表中, (选集多时)展开整个列表, 当标题超出一行时, 另起一行以显示完整标题.`],["showDeadVideoTitle",`在个人空间中, 为已失效视频恢复标题和封面.`],["useBiliplusRedirect",`将失效视频重定向到BiliPlus.`],["deadVideoTitleProvider",`失效视频的信息来源: 稍后再看较稳定, 但需要一点时间来查询; BiliPlus速度更快, 但是因为没写完暂不开放.`],["biliplusRedirect",`在视频/番剧/空间中, 附加功能"转到BiliPlus" , 点击可以转到BiliPlus上对应的页面.`],["imageResolution",`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`],["oldTweets",`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`],["touchNavBar",`删除顶栏右侧的一级链接(从大会员 到历史 ), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多 进入.`],["comboLike",`为素质三连(长按点赞)启用触摸支持.`],["touchVideoPlayer",`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`],["touchVideoPlayerAnimation",`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`],["touchVideoPlayerDoubleTapControl",`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`],["toast",`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`],["toastInternalError",`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`],["useCache",`使用缓存以提高脚本的加载速度.`],["outerWatchlater",`将视频页面菜单里的稍后再看 移到外面.`],["i18n",`为界面中一些常用文本提供翻译.`],["i18nLanguage",`翻译的目标语言.`],["customNavbar",`启用自定义顶栏, 替代原版的顶栏, 仅对主站生效, 不影响直播/相簿/会员购等.`],["customNavbarSeasonLogo",`是否使用季节Logo代替普通的Logo.`],["customNavbarFill",`是否使用主题色填充顶栏.`],[`customNavbarTransparent`,`在有横幅的时候使顶栏透明.`],["customNavbarShadow",`是否为顶栏添加一层阴影效果.`],["customNavbarCompact",`是否为顶栏使用更紧凑的布局, 紧凑布局将使用更小的间距, 以及在视频标题过长时用...省略后面的部分.`],["customNavbarBlur",`是否在顶部横幅存在时, 使用背景模糊效果.`],["playerShadow",`为播放器添加主题色投影.`],["narrowDanmaku",`在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.`],["hideOldEntry",`隐藏播放页右侧的返回旧版 入口.`],["hideBanner",`隐藏首页顶部横幅.`],["allowJumpContinue",`当历史记录的集数与当前打开的不一致时, 仍然自动跳转.`],["hideBangumiReviews",`隐藏番剧播放页面里的点评板块.`],["videoScreenshot",`启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键Ctrl +Alt +C . (旧版播放器只能用键盘快捷键, 不会显示按钮)\n如果弹幕渲染类型选择了Canvas, 则可以再按住Shift 键来截取带弹幕的截图. 也就是鼠标操作为"按住Shift 点击截图按钮", 键盘操作为"Ctrl +Shift +Alt +C ".`],["filenameFormat",`自定义文件命名格式, 作用于下载弹幕 , 下载视频 , 视频截图 , 查看封面 .\n可以使用的变量有:\n- title : 视频标题/直播间标题\n- ep : 选集标题\n- aid : AV号\n- cid : CID (每个视频的唯一编号, AV号对应的视频可能有多集)\n- lid : 直播间号\n- y /M /d : 年/月/日\n- h /m /s /ms : 时/分/秒/毫秒\n\n默认的格式是[title][ - ep] , 标题+选集标题, 当没有选集标题时则只有标题.\n\n变量要放在方括号里, 而方括号里的其他内容会在变量有效时出现. 比如格式如果写成[title] - [ep] , 那么即使没有选集标题, 中间那个 - 也会出现在文件名里. 如果像默认那样放在方括号里, 没有选集标题时, - 也不会出现.\n\n例如, 想要标题+AV号+时间的格式, 可以设定为[title][ AVaid] [y]-[M]-[d] [h]-[m]-[s] , 能够得到类似xxxx AV23333 2019-05-29 19-59-44 的名字.`],["noLiveAutoplay",`禁止直播首页的推荐直播间自动开始播放.`],["hideHomeLive",`隐藏直播首页的推荐直播间板块.`],["sideBarOffset",`设定侧栏的垂直偏移量, 单位为百分比, 允许的范围为 -40% ~ 40%.`],["hideCategory",`隐藏主站的分区栏, 分区仍然可以从顶栏的主站菜单中进入.`],["foldComment",`动态里查看评论区时, 在底部添加一个收起评论 按钮, 这样就不用再回到上面收起了.`],["useDefaultVideoSpeed",`设置是否使用默认视频播放速度.`],["defaultVideoSpeed",`设置默认的视频播放速度.`],["seedsToCoins",`在附加功能中添加瓜子换硬币 的按钮, 点击可以将700银瓜子换成1个硬币, 每天限1次.`],["autoDraw",`在当前直播间有抽奖活动时, 自动点击抽奖按钮. 注意只适用于少量抽奖, 那种99+限量抽奖可能跟不上其他人的手速(`],["keymap",`为视频播放器启用更多的快捷键:\n- w 网页全屏\n- t 宽屏\n- r 循环播放\n- m 静音\n- d 弹幕开关\n- l 点赞\n- c 投币\n- s 收藏\n- j 前进85秒\n- Shift + j 倒退85秒\n- Shift + w 稍后再看\n- Shift + ↑/↓ / Shift + ,/. 播放速度调整\n- Shift + / 重置播放速度`],["doubleClickFullscreen",`允许双击播放器切换全屏, 请注意不能与播放器触摸支持-启用双击控制 一同使用.`],["ajaxHook",`是否启用 Ajax Hook API, 其他插件或附加功能能够通过此 API 获取 Ajax 请求的信息.`],["scriptLoadingMode",`脚本功能的加载模式:\n- 同时: 与b站页面同时加载\n- 延后: 优先加载b站页面, 在b站页面加载完成后再开始加载脚本功能\n- 同时(自动): 根据页面自动选择加载模式, 默认采用同时模式\n- 延后(自动): 根据页面自动选择加载模式, 默认采用延后模式`],[`fullActivityContent`,`不管内容多长, 总是完全展开动态的内容.`],[`activityImageSaver`,`右键点击动态大图时, 如果这张图的右键菜单被禁止了, 将弹出带图片的消息方便保存.`],[`selectableColumnText`,`使专栏的文字可以选择.`],[`watchlaterExpireWarnings`,`稍后再看里的视频添加后60天会过期自动删除. 开启此功能可在期限不足14天时在稍后再看列表里显示过期警告.`],[`miniPlayerTouchMove`,`使迷你播放器的拖动条可以触摸拖动.`],[`feedsFilter`,`按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 注意目前仅仅在全部动态里生效, 切换到别的类别时无效.`],[`hideBangumiSponsors`,`隐藏番剧页面下方的承包榜, 以及右边的承包按钮.`],[`hideRecommendLive`,`隐藏视频页面右侧下方的推荐直播.`],[`hideRelatedVideos`,`隐藏番剧和视频页面右侧的推荐视频列表.`],[`simplifyHome`,`替换原本的首页, 有两种样式可用:\n- 清爽: 布局与原主页类似, 多一个动态栏目.\n- 极简: 去除其他所有栏目, 只保留视频动态和热门视频两个功能.`],[`autoMatchMedal`,`如果拥有当前直播间的勋章, 则自动佩戴, 否则佩戴上次手动选择的勋章.`],[`urlParamsClean`,`自动删除链接中的多余跟踪参数.`],[`collapseLiveSideBar`,`自动收起直播间的侧边栏.`],[`batchFilenameFormat`,`自定义批量下载的文件命名格式, 规则同单个的文件命名格式 .\n新增的变量:\n- n : 数字, 表示第n个视频.`],[`removeGameMatchModule`,`删除电竞赛事板块.`],[`recordLiveDanmaku`,`在附加功能中添加直播弹幕记录器, 可以记录直播弹幕并导出XML.`],[`feedsTranslate`,`在每条动态下方添加翻译按钮, 可将动态的文字机器翻译为中文. 若开启了界面翻译, 则会翻译成界面翻译里设定的语言.`],[`feedsTranslateProvider`,`机器翻译的提供者.`],[`updateCdn`,`热更新的更新源, 对离线版和脚本本体更新无效.`],[`preserveEventBanner`,`保留视频页面的活动横幅.`],[`useDefaultLiveQuality`,`控制是否使用默认直播画质, 将会在进入直播后检测并自动更换到设定的画质.`],[`defaultLiveQuality`,`选择默认的直播画质.`],[`fixedSidebars`,`强制固定动态主页的顶栏和侧栏, 优先级高于动态过滤器的取消固定效果, 可以避免快速下拉产生的抖动.`],[`extendFeedsLive`,`在动态的正在直播 中, 为每一个直播间加上标题, 并且能够显示超过10个的直播间.`],[`playerOnTop`,`使视频页面播放器出现在最上方, 标题/UP主等信息往下移.`]]);return{export:{toolTips:e}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/show-dead-video-title.min.js"] = (()=>{return(e,t)=>{(async()=>{if(!document.URL.startsWith("https://space.bilibili.com")){return}class t{}class i extends t{convertToDeadVideoInfo(e,t){return{aid:e,title:t.title,cover:t.pic}}async queryInfo(e){const t=[];if(e.length<=i.MaxCountPerRequest){const s=await Ajax.getJson(`${i.BiliplusHost}/api/aidinfo?aid=${e.join(",")}`);if(s.code===0){t.push(...e.map(e=>{if(e in s.data){return this.convertToDeadVideoInfo(e,s.data[e])}else{return{aid:e,title:"已失效视频",cover:""}}}))}else{console.error(`[显示失效视频信息] Biliplus API 未成功. message=${s.message}`)}}else{t.push(...await this.queryInfo(e.slice(0,i.MaxCountPerRequest)));t.push(...await this.queryInfo(e.slice(i.MaxCountPerRequest)))}return t}}i.BiliplusHost=`https://hd.biliplus.com`;i.MaxCountPerRequest=30;class s extends t{async toggleWatchlater(e,t){for(const i of t){await Ajax.postTextWithCredentials(`https://api.bilibili.com/x/v2/history/toview/${e?"add":"del"}`,`aid=${i}&csrf=${getCsrf()}}`)}}async queryInfo(e){const t=[];await this.toggleWatchlater(true,e);const i=await Ajax.getJsonWithCredentials("https://api.bilibili.com/x/v2/history/toview/web");if(i.code===0){const s=i.data.list.map(e=>{return{aid:e.aid.toString(),title:e.title,cover:e.pic}});t.push(...e.map(e=>s.find(t=>t.aid===e)).filter(e=>e!==undefined));await this.toggleWatchlater(false,e)}else{console.error(`[显示失效视频信息] 稍后再看 API 未成功. message=${i.message}`)}return t}}const a=await SpinQuery.select("#app>.s-space");if(!a){return}Observer.childListSubtree(a,async()=>{const t=dqa(".disabled[data-aid]");if(t.length===0){return}const a=t.map(e=>e.getAttribute("data-aid"));const o=e.deadVideoTitleProvider==="BiliPlus"?new i:new s;const r=await o.queryInfo(a);console.log(`[显示失效视频信息]`,`deadVideos:`,t,`infos:`,r);t.forEach((t,i)=>{t.classList.remove("disabled");const s=t.getAttribute("data-aid");const a=(()=>{if(e.useBiliplusRedirect){return`https://hd.biliplus.com/video/av${s}`}else{return`//www.bilibili.com/video/av${s}`}})();const o=r.find(e=>e.aid===s);console.log(`[显示失效视频信息]`,"#"+i,o);if(o===undefined){console.error(`[显示失效视频信息]信息获取失败, aid=${s}`);return}const n=t.querySelector("a.cover");n.target="_blank";n.href=a;if(o.cover!==""){n.querySelector("img").src=o.cover.replace("http:","https:")}const l=t.querySelector("a.title");l.target="_blank";l.title=o.title;l.href=a;l.innerText=o.title})})})()}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home.vue.min.js"] = (()=>{return(e,o)=>{const t=`
`;o.applyStyleFromText(`.simple-home{--title-color:black;color:#444;display:grid;grid-template-areas:"blackboards trendings trendings" "feeds feeds info" "categories categories categories";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(3,auto);column-gap:32px;row-gap:16px}.simple-home,.simple-home *{transition:.2s ease-out}body.dark .simple-home{--title-color:white;color:#ddd}.simple-home .jump-dots{grid-area:dots;align-self:center;justify-self:center}.simple-home .jump-dots label{display:block}.simple-home .jump-dots label:not(:last-child){margin-bottom:6px}.simple-home .jump-dots .jump-dot{background-color:#ddd;width:8px;height:20px;border-radius:8px;cursor:pointer}body.dark .simple-home .jump-dots .jump-dot{background-color:#444}.simple-home .hidden-input{display:none}.simple-home .hidden-input:checked:nth-of-type(1)~.jump-dots label:nth-child(1) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(1)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 0 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(2)~.jump-dots label:nth-child(2) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(2)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 1 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(3)~.jump-dots label:nth-child(3) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(3)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 2 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(4)~.jump-dots label:nth-child(4) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(4)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 3 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(5)~.jump-dots label:nth-child(5) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(5)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 4 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(6)~.jump-dots label:nth-child(6) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(6)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 5 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(7)~.jump-dots label:nth-child(7) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(7)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 6 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(8)~.jump-dots label:nth-child(8) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(8)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 7 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(9)~.jump-dots label:nth-child(9) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(9)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 8 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(10)~.jump-dots label:nth-child(10) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(10)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 9 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(11)~.jump-dots label:nth-child(11) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(11)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 10 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(12)~.jump-dots label:nth-child(12) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(12)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 11 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(13)~.jump-dots label:nth-child(13) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(13)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 12 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(14)~.jump-dots label:nth-child(14) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(14)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 13 * var(--blackboard-height)))}.simple-home .hidden-input:checked:nth-of-type(15)~.jump-dots label:nth-child(15) .jump-dot{background-color:var(--theme-color);height:40px}.simple-home .hidden-input:checked:nth-of-type(15)~.blackboard-cards .blackboard-card{transform:translateY(calc(-1 * 14 * var(--blackboard-height)))}.simple-home .more,.simple-home .toggle-reorder{cursor:pointer;padding:4px 12px 4px 8px;display:flex;align-items:center;border-radius:16px;font-size:13px;font-weight:700}.simple-home .more .be-icon,.simple-home .toggle-reorder .be-icon{margin-right:8px;transition:.3s cubic-bezier(.25,.46,.45,.94);font-size:22px;font-weight:400}.simple-home .more:not(.toggle-reorder):hover .be-icon,.simple-home .toggle-reorder:not(.toggle-reorder):hover .be-icon{transform:rotate(180deg)}.simple-home .more,.simple-home .more.hover,.simple-home .toggle-reorder,.simple-home .toggle-reorder.hover{color:inherit!important;background-color:#ddd!important}body.dark .simple-home .more,body.dark .simple-home .more:hover,body.dark .simple-home .toggle-reorder,body.dark .simple-home .toggle-reorder:hover{color:inherit!important;background-color:#333!important}.simple-home .header{grid-area:header;display:flex;justify-content:space-between;align-items:center}.simple-home .header .title{color:var(--title-color);font-weight:700;font-size:22px}.simple-home .header .tabs{display:flex;align-items:center}.simple-home .header .tabs .tab{cursor:pointer;position:relative;white-space:nowrap}.simple-home .header .tabs .tab .tab-name{opacity:.5;font-size:14px}.simple-home .header .tabs .tab:not(:last-child){margin-right:24px}.simple-home .header .tabs .tab::after{content:"";width:calc(80%);height:3px;border-radius:2px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-6px;transform:scaleX(0);transition:.2s ease-out}.simple-home .header .tabs .tab.active::after{transform:scaleX(1)}.simple-home .header .tabs .tab.active .tab-name{font-weight:700;opacity:1;transform:scale(1.1)}.simple-home .sub-header{color:var(--title-color);font-weight:700;font-size:18px;display:flex;align-items:center}.simple-home .sub-header::before{content:"";display:block;width:12px;height:12px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .blackboards{grid-area:blackboards;justify-self:start}.simple-home .trendings{grid-area:trendings;transform:translateX(8px);justify-self:end}.simple-home .info-row{grid-area:info;justify-self:end}.simple-home .feeds{grid-area:feeds;transform:translateX(-8px);justify-self:start}.simple-home .categories{grid-area:categories;padding-bottom:32px}@media screen and (max-width:1100px){.simple-home{grid-template-areas:"blackboards" "trendings" "info" "feeds" "categories";grid-template-columns:1fr;grid-template-rows:repeat(5,auto)}.simple-home .blackboards,.simple-home .categories,.simple-home .feeds,.simple-home .info-row,.simple-home .trendings{justify-self:center}.simple-home .info-row{display:none}.simple-home .feeds,.simple-home .trendings{transform:translateX(0)}}`,"simple-home-style");return{export:Object.assign({template:t},{components:{Blackboards:()=>o.importAsync("blackboard.vue"),TrendingVideos:()=>o.importAsync("trending-videos.vue"),InfoRow:()=>o.importAsync("online-info-row.vue"),Feeds:()=>o.importAsync("simple-home-feeds.vue"),Categories:()=>o.importAsync("simple-home-categories.vue")}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home-bangumi-category.vue.min.js"] = (()=>{return(i,e)=>{const a=``;e.applyStyleFromText(`.simple-home .bangumi-category{display:grid;--total-height:1010px;--rank-width:350px;--rank-height:calc(var(--rank-width) / 16 * 10);grid-template:"timeline rank" 1fr/1fr var(--rank-width);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}@media screen and (min-width:1800px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1500px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1200px){.simple-home .bangumi-category{--rank-width:365px}}@media screen and (min-width:1700px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1400px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1100px){.simple-home .bangumi-category{--rank-width:380px}}@media screen and (min-width:1600px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1300px){.simple-home .bangumi-category{--rank-width:395px}}@media screen and (min-width:1000px){.simple-home .bangumi-category{--rank-width:395px}}.simple-home .bangumi-category,.simple-home .bangumi-category *,.simple-home .bangumi-category ::after,.simple-home .bangumi-category ::before{transition:.2s ease-out}.simple-home .bangumi-category .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.simple-home .bangumi-category .timeline{grid-area:timeline}.simple-home .bangumi-category.timeline-loading .timeline.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.timeline-loading .timeline:not(.loading){opacity:0;pointer-events:none}.simple-home .bangumi-category .rank{height:var(--total-height);grid-area:rank}.simple-home .bangumi-category.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.simple-home .bangumi-category.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}`,"simple-home-bangumi-category-style");return{export:Object.assign({template:a},{components:{BangumiTimeline:()=>e.importAsync("bangumi-timeline.vue"),RankList:()=>e.importAsync("rank-list.vue")},props:["rid"],data(){return{timeline:{error:false,loading:true},rank:{error:false,loading:true,videos:[]}}},computed:{timelineType(){return this.rid===13?"global":"chinese"},rankLink(){return this.rid===13?"https://www.bilibili.com/ranking/bangumi/13/0/3":"https://www.bilibili.com/ranking/bangumi/167/0/3"}},watch:{rid(){this.loadRankList()}},methods:{async loadRankList(){const{RegionCodes:i}=await e.importAsync("category-regions");const a=this.rid===i.bangumi?`https://api.bilibili.com/pgc/web/rank/list?season_type=1&day=3`:`https://api.bilibili.com/pgc/web/rank/list?season_type=4&day=3`;try{const i=await Ajax.getJson(a);if(i.code!==0){throw new Error(i.message)}const e=i.result.list.map(i=>{return{id:i.season_id,href:i.url,coverUrl:i.new_ep.cover.replace("http:","https:"),title:i.title,points:i.pts,epTitle:i.new_ep.index_show,playCount:i.stat.view,danmakuCount:i.stat.danmaku,watchlater:null}});this.rank.videos=e.slice(0,10)}catch(i){logError(i);this.rank.error=true}finally{this.rank.loading=false}}},mounted(){this.loadRankList()}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home-categories.vue.min.js"] = (()=>{return(e,t)=>{const i=`
`;t.applyStyleFromText(`.simple-home .categories{--loading-from:#d4d4d4;--loading-to:#ddd;--slideshow-ratio:0.6;--rank-width:370px;--rank-height:calc(var(--rank-width) / 16 * 10);--card-height:280px;--card-width:calc(var(--card-height) * (42 / 25));display:flex;flex-direction:column}body.dark .simple-home .categories{--loading-from:#333;--loading-to:#262626}@keyframes category-loading{from{background-color:var(--loading-from)}to{background-color:var(--loading-to)}}@media screen and (max-width:1800px){.simple-home .categories{--card-height:272px;--rank-width:350px}}@media screen and (max-width:1700px){.simple-home .categories{--card-height:264px;--rank-width:330px}}@media screen and (max-width:1600px){.simple-home .categories{--card-height:256px;--rank-width:310px}}@media screen and (max-width:1500px){.simple-home .categories{--card-height:248px;--rank-width:290px}}@media screen and (max-width:1400px){.simple-home .categories{--card-height:240px;--rank-width:270px}}@media screen and (max-width:1300px){.simple-home .categories{--card-height:232px;--rank-width:250px}}@media screen and (max-width:1200px){.simple-home .categories{--card-height:224px;--rank-width:230px}}@media screen and (max-width:1100px){.simple-home .categories{--card-height:216px;--rank-width:210px}}@media screen and (max-width:1000px){.simple-home .categories{--card-height:208px;--rank-width:190px}}@media screen and (max-width:900px){.simple-home .categories{--card-height:200px;--rank-width:170px}}@media screen and (max-width:800px){.simple-home .categories{--card-height:192px;--rank-width:150px}}@media screen and (max-width:700px){.simple-home .categories{--card-height:184px;--rank-width:130px}}.simple-home .categories,.simple-home .categories *,.simple-home .categories ::after,.simple-home .categories ::before{transition:.2s ease-out}.simple-home .categories .header .tabs{display:flex;flex:1 1 0;margin:0 32px;justify-content:flex-start;overflow:auto;width:0;height:42px;scrollbar-width:none!important}.simple-home .categories .header .tabs::-webkit-scrollbar{height:0!important;width:0!important}.simple-home .categories .header .tabs .tab{transition:none;margin-right:24px}.simple-home .categories .area-header{grid-area:header;display:flex;align-items:center;justify-content:flex-start;font-weight:700;font-size:11pt;padding-bottom:12px}.simple-home .categories .area-header::before{content:"";display:inline-flex;height:10px;width:10px;background-color:var(--theme-color);border-radius:50%;margin-right:8px}.simple-home .categories .category-content{margin-top:12px;margin-bottom:36px}.simple-home .categories .category-content-enter,.simple-home .categories .category-content-leave-to{opacity:0}`,"simple-home-categories-style");const r={anime:"动画",bangumi:"番剧",china:"国创",music:"音乐",dance:"舞蹈",game:"游戏",tech:"科技",digital:"数码",life:"生活",kichiku:"鬼畜",fashion:"时尚",ads:"广告",entertainment:"娱乐",movie:"电影",tv:"TV剧",film:"影视",documentary:"纪录片"};return{export:Object.assign({template:i},{components:{Icon:()=>t.importAsync("icon.vue"),NormalCategory:()=>t.importAsync("simple-home-normal-category.vue"),BangumiCategory:()=>t.importAsync("simple-home-bangumi-category.vue")},data(){return{tabs:Object.entries(r).map(([e,t])=>{return{key:e,name:t}}),selectedTab:Object.entries(e.simpleHomeCategoryOrders).sort((e,t)=>e[1]-t[1])[0][0],reordering:false,reorder:null,regionCodes:null,regionLinks:null}},async mounted(){const i=this.$refs.reorderContainer;const{RegionCodes:r,RegionLinks:a}=await t.importAsync("category-regions");this.regionCodes=r;this.regionLinks=a;const{Reorder:o}=await t.importAsync("reorder");const s=new o(i);this.reorder=s;s.addEventListener("reorder",t=>{const i=t.detail;for(const t of i){const{element:i,order:r}=t;e.simpleHomeCategoryOrders[i.getAttribute("data-key")]=r}e.simpleHomeCategoryOrders=e.simpleHomeCategoryOrders})},methods:{getOrder(t){return e.simpleHomeCategoryOrders[t]},selectTab(e){if(this.selectedTab===e.key&&this.regionLinks){const t=this.regionLinks[e.key];window.open(`https://www.bilibili.com/${t}`,"_blank")}else{this.selectedTab=e.key}}},computed:{content(){if(["bangumi","china"].includes(this.selectedTab)){return"BangumiCategory"}else if(this.selectedTab==="manga"){return null}else if(this.selectedTab==="column"){return null}else{return"NormalCategory"}},rid(){if(!this.regionCodes){return-1}else{return this.regionCodes[this.selectedTab]}}}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home-feeds.vue.min.js"] = (()=>{return(e,t)=>{const a=``;t.applyStyleFromText(`.simple-home .feeds{justify-self:start;display:grid;grid-template-areas:"header header" "contents contents";grid-template-columns:repeat(2,auto);grid-template-rows:repeat(2,auto);row-gap:16px;column-gap:16px}.simple-home .feeds .header,.simple-home .feeds .sub-header{padding:0 8px}.simple-home .feeds .header .tab:nth-child(2),.simple-home .feeds .sub-header .tab:nth-child(2){margin-left:32px}.simple-home .feeds .header .online,.simple-home .feeds .sub-header .online{padding:8px 16px;height:32px;border-radius:16px;background-color:#8882;color:inherit;font-size:12px;display:flex;align-items:center;box-sizing:border-box}.simple-home .feeds .contents{grid-area:contents;display:flex;overflow:auto;--card-width:200px;--card-height:250px;--card-count:4;width:calc((var(--card-width) + 16px) * var(--card-count));padding-bottom:16px;scrollbar-width:none!important;min-height:calc(var(--card-height) + 16px)}@media screen and (max-width:900px){.simple-home .feeds .contents{--card-count:3}}@media screen and (min-width:1100px){.simple-home .feeds .contents{--card-count:3}}@media screen and (min-width:1300px){.simple-home .feeds .contents{--card-count:4}}@media screen and (min-width:1550px){.simple-home .feeds .contents{--card-count:5}}.simple-home .feeds .contents::-webkit-scrollbar{width:0!important;height:0!important}.simple-home .feeds .contents .card-wrapper{padding:0 8px;scroll-snap-align:start;flex-shrink:0}.simple-home .feeds .contents .empty{display:flex;align-items:center;justify-content:center;width:100%;font-size:16px}`,"simple-home-feeds-style");const i=[{name:"视频",type:"video",url:"https://t.bilibili.com/?tab=8"},{name:"番剧",type:"bangumi",url:"https://t.bilibili.com/?tab=512"}];return{export:Object.assign({template:a},{components:{VideoCard:()=>t.importAsync("video-card.vue"),Icon:()=>t.importAsync("icon.vue")},data(){return{online:"--",tabs:i,currentTab:i[0],feedCards:[]}},watch:{currentTab(e){this.updateFeedCards(e)}},methods:{async updateFeedCards(e){const{getVideoFeeds:a}=await t.importAsync("feeds-apis");this.feedCards=await a(e.type)},changeTab(e){if(this.currentTab===e){open(e.url,"_blank")}else{this.currentTab=e}}},async mounted(){this.updateFeedCards(this.currentTab);const e=await Ajax.getJson("https://api.bilibili.com/x/web-interface/online");if(e.code===0){this.online=e.data.web_online}}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simple-home-normal-category.vue.min.js"] = (()=>{return(i,t)=>{const e=``;t.applyStyleFromText(`.category-view{display:grid;grid-template:"new-activity rank" 1fr "new-post rank" 1fr/1fr calc(1.5 * var(--rank-width) + 10px);grid-row-gap:24px;row-gap:24px;grid-column-gap:32px;column-gap:32px;position:relative}.category-view,.category-view *,.category-view ::after,.category-view ::before{transition:.2s ease-out}.category-view .loading{opacity:0;pointer-events:none;border-radius:16px;position:absolute}.category-view .new-activity{align-self:start;grid-area:new-activity}.category-view .new-post{align-self:end;grid-area:new-post}.category-view.new-activity-loading .new-activity.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.category-view.new-activity-loading .new-activity:not(.loading){opacity:0;pointer-events:none}.category-view.new-post-loading .new-post.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.category-view.new-post-loading .new-post:not(.loading){opacity:0;pointer-events:none}.category-view .rank{grid-area:rank}.category-view.rank-loading .rank.loading{position:static;animation:.64s ease-in-out infinite alternate category-loading;opacity:1;pointer-events:initial;width:100%;height:100%}.category-view.rank-loading .rank:not(.loading){opacity:0;pointer-events:none}@media screen and (max-width:1300px){.category-view{grid-template:"new-activity" 1fr "new-post" 1fr "rank" auto/1fr}.category-view .rank{display:none;justify-self:center}}`,"simple-home-normal-category-style");return{export:Object.assign({template:e},{components:{SlideshowCards:()=>t.importAsync("slideshow-cards.vue"),RankList:()=>t.importAsync("rank-list.vue")},store:store,props:{rid:{type:Number,required:true}},data(){return{newActivity:{error:false,loading:true,videos:[]},newPost:{error:false,loading:true,videos:[]},rank:{error:false,loading:true,videos:[]},loaded:false}},computed:{...Vuex.mapState(["watchlaterList"]),rankLink(){if(this.rid===165){return null}let i="all";if(this.rid===177||this.rid===23||this.rid===11){i="cinema"}return`https://www.bilibili.com/ranking/${i}/${this.rid}/0/3`}},methods:{async loadCards(i,t,e){if(e===undefined){e=(i=>{const t=getUID();const e=_.get(i,"data.archives",[]);return e.map(i=>{return{id:i.aid,aid:i.aid,coverUrl:i.pic.replace("http:","https:"),title:i.title,upName:i.owner.name,upFaceUrl:i.owner.face.replace("http:","https:"),upID:i.owner.mid,playCount:i.stat.view,danmakuCount:i.stat.danmaku,like:i.stat.like,coins:i.stat.coin,description:i.desc,type:i.tname,watchlater:t?this.watchlaterList.includes(i.aid):null}})})}try{this[i].loading=true;const a=await Ajax.getJson(t);if(a.code!==0){this[i].error=true}this[i].videos=e(a)}catch(t){logError(t);this[i].error=true}finally{this[i].loading=false}},async loadNewActivity(){await this.loadCards("newActivity",`https://api.bilibili.com/x/web-interface/dynamic/region?ps=10&rid=${this.rid}`)},async loadNewPost(){await this.loadCards("newPost",`https://api.bilibili.com/x/web-interface/newlist?ps=10&rid=${this.rid}`)},async loadRank(){await this.loadCards("rank",`https://api.bilibili.com/x/web-interface/ranking/region?rid=${this.rid}&day=3&original=0`,i=>{const t=getUID();const e=i.data;return e.map(i=>{return{id:i.aid,aid:parseInt(i.aid),title:i.title,playCount:i.play,favorites:i.favorites,upID:i.mid,upName:i.author,description:i.description,coverUrl:i.pic.replace("http:","https:"),coins:i.coins,durationText:i.duration,points:i.pts,watchlater:t?this.watchlaterList.includes(parseInt(i.aid)):null}})})},...Vuex.mapActions(["toggleWatchlater"]),updateVideos(){this.loadNewActivity();this.loadNewPost();this.loadRank()}},watch:{rid(i){if(i>0){if(this.loaded){this.updateVideos()}}else{console.warn(`rid=${i}`)}}},mounted(){const i=new IntersectionObserver(()=>{this.updateVideos();this.loaded=true;i.disconnect()});i.observe(this.$el)}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simplify-home.min.css"] = `#app>.bili-header-m.stardust-common>.bili-wrapper,#app>.bili-wrapper,#app>.elevator-module,.bili-header-m .head-banner .head-content .head-logo,.international-footer,.international-header .b-wrap,.international-home>:not(.international-header){display:none!important}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simplify-home.min.js"] = (()=>{return(e,i)=>{(async()=>{if(document.URL.replace(window.location.search,"")!=="https://www.bilibili.com/"){i.removeStyle("simplifyHomeStyle");return}document.body.insertAdjacentHTML("beforeend",`\n \n`);const m=new Vue({el:"simplify-home",components:{SimplifyHome:()=>i.importAsync("simplify-home.vue")},data:{homeStyle:e.simplifyHomeStyle}});addSettingsListener("simplifyHomeStyle",e=>m.homeStyle=e,false)})()}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simplify-home.vue.min.js"] = (()=>{return(e,o)=>{const m=`
`;o.applyStyleFromText(`.simplify-home{padding-top:32px;display:flex;align-items:flex-start;justify-content:center;min-height:100vh;background-color:#f4f4f4}body.dark .simplify-home{background-color:#181818}.simplify-home .simplify-home-component{max-width:100%}html{scroll-behavior:smooth}`,"simplify-home-style");return{export:Object.assign({template:m},{components:{"minimal-home":()=>o.importAsync("minimal-home.vue"),"simple-home":()=>o.importAsync("simple-home.vue")},computed:{activeComponent(){return this.homeStyle==="清爽"?"simple-home":"minimal-home"}},props:{homeStyle:String}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simplify-liveroom.min.css"] = `.simplify-eventsBanner .activity-pushing-out,.simplify-eventsBanner .z-section-blocks .left-container .flip-view,.simplify-fansMedal .fans-medal-item-ctnr,.simplify-giftMessage .chat-item.gift-item,.simplify-guard .chat-history-panel .guard-icon,.simplify-guardPurchase .chat-item.guard-buy,.simplify-kanban .live-haruna-ctnr,.simplify-popup #chat-draw-area-vm,.simplify-popup .chat-popups-section,.simplify-rankList .live-room-app .rank-list-section,.simplify-systemMessage .announcement-wrapper,.simplify-systemMessage .system-msg,.simplify-title .title-label,.simplify-userEffect .live-room-app .aside-area .activity-welcome-section,.simplify-userLevel .user-level-icon,.simplify-vip .vip-icon,.simplify-welcomeMessage .welcome-guard,.simplify-welcomeMessage .welcome-msg{display:none!important}.simplify-rankList .live-room-app .chat-history-panel{height:calc(100% - 145px)!important}.simplify-rankList .live-room-app .chat-history-panel .chat-history-list::-webkit-scrollbar-track{background:0 0!important}.simplify-rankList .live-room-app #pay-note-panel-vm .pay-note-panel,.simplify-rankList .live-room-app #pay-note-panel-vm .pay-note-panel .detail-info .mask,.simplify-rankList .live-room-app .chat-history-panel{border-radius:11px 11px 0 0!important}.simplify-rankList.player-full-win #pay-note-panel-vm .pay-note-panel,.simplify-rankList.player-full-win #pay-note-panel-vm .pay-note-panel .detail-info .mask,.simplify-rankList.player-full-win .chat-history-panel{border-radius:0!important}.simplify-giftPanel .gift-control-panel .wish-icon,.simplify-giftPanel .gift-control-panel .wish-tip,.simplify-giftPanel .gift-panel,.simplify-giftPanel .gift-panel-switch,.simplify-giftPanel .gift-section.guard-ent,.simplify-giftPanel .seeds-wrap>.dp-i-block>.item:not(.seeds){display:none!important}.simplify-giftPanel .gift-control-panel,.simplify-giftPanel .gift-control-section{height:48px!important}.simplify-giftPanel .anchor-lottery-entry,.simplify-giftPanel .draw-box,.simplify-giftPanel .treasure-box{display:flex!important;align-items:center!important;padding:10px 0 0 16px!important;max-height:36px!important}.simplify-giftPanel .anchor-lottery-entry .anchor-lot-icon,.simplify-giftPanel .anchor-lottery-entry .box-icon,.simplify-giftPanel .anchor-lottery-entry .draw-box-pic,.simplify-giftPanel .draw-box .anchor-lot-icon,.simplify-giftPanel .draw-box .box-icon,.simplify-giftPanel .draw-box .draw-box-pic,.simplify-giftPanel .treasure-box .anchor-lot-icon,.simplify-giftPanel .treasure-box .box-icon,.simplify-giftPanel .treasure-box .draw-box-pic{margin:0!important;width:24px!important;height:24px!important;background-position:0 -2.5px!important}.simplify-giftPanel .anchor-lottery-entry .anchor-lot-icon.open,.simplify-giftPanel .anchor-lottery-entry .box-icon.open,.simplify-giftPanel .anchor-lottery-entry .draw-box-pic.open,.simplify-giftPanel .draw-box .anchor-lot-icon.open,.simplify-giftPanel .draw-box .box-icon.open,.simplify-giftPanel .draw-box .draw-box-pic.open,.simplify-giftPanel .treasure-box .anchor-lot-icon.open,.simplify-giftPanel .treasure-box .box-icon.open,.simplify-giftPanel .treasure-box .draw-box-pic.open{background-position:0 -1px!important}.simplify-giftPanel .anchor-lottery-entry .draw-box-pic,.simplify-giftPanel .draw-box .draw-box-pic,.simplify-giftPanel .treasure-box .draw-box-pic{transform:scale(1.1)}.simplify-giftPanel .anchor-lottery-entry #BLRHH_treasure_div_tip br,.simplify-giftPanel .draw-box #BLRHH_treasure_div_tip br,.simplify-giftPanel .treasure-box #BLRHH_treasure_div_tip br{display:none!important}.simplify-giftPanel .anchor-lottery-entry #BLRHH_treasure_div canvas,.simplify-giftPanel .anchor-lottery-entry #BLRHH_treasure_div img,.simplify-giftPanel .draw-box #BLRHH_treasure_div canvas,.simplify-giftPanel .draw-box #BLRHH_treasure_div img,.simplify-giftPanel .treasure-box #BLRHH_treasure_div canvas,.simplify-giftPanel .treasure-box #BLRHH_treasure_div img{max-height:24px!important}.simplify-giftPanel .anchor-lottery-entry #BLRHH_treasure_div_timer,.simplify-giftPanel .anchor-lottery-entry #BLRHH_treasure_div_tip,.simplify-giftPanel .anchor-lottery-entry .anchor-lot-text,.simplify-giftPanel .anchor-lottery-entry .count-down,.simplify-giftPanel .anchor-lottery-entry .draw-box-text,.simplify-giftPanel .draw-box #BLRHH_treasure_div_timer,.simplify-giftPanel .draw-box #BLRHH_treasure_div_tip,.simplify-giftPanel .draw-box .anchor-lot-text,.simplify-giftPanel .draw-box .count-down,.simplify-giftPanel .draw-box .draw-box-text,.simplify-giftPanel .treasure-box #BLRHH_treasure_div_timer,.simplify-giftPanel .treasure-box #BLRHH_treasure_div_tip,.simplify-giftPanel .treasure-box .anchor-lot-text,.simplify-giftPanel .treasure-box .count-down,.simplify-giftPanel .treasure-box .draw-box-text{margin-left:12px!important;padding:4px 8px!important;max-width:unset!important}.simplify-giftPanel .anchor-lottery-entry .awarding-panel,.simplify-giftPanel .draw-box .awarding-panel,.simplify-giftPanel .treasure-box .awarding-panel{bottom:42px!important}.simplify-giftPanel .draw-box{padding-top:11px!important}.simplify-giftPanel .anchor-lottery-entry{padding-top:12px!important}.simplify-giftPanel .gift-control-panel .right-part{height:48px!important;display:flex!important;justify-content:flex-end!important;min-width:unset!important}.simplify-giftPanel .gift-control-panel .right-part>.dp-table-cell{display:flex!important;align-items:center!important}.simplify-giftPanel .gift-control-panel .right-part>.dp-table-cell .supporting-info{transform:translateY(-2px)!important}.simplify-skin #gift-control-vm,.simplify-skin #head-info-vm,.simplify-skin #rank-list-ctnr-box{background-image:none!important}.simplify-guard .guard-danmaku::before{border-image:none!important;background-color:transparent!important}.simplify-guard .guard-danmaku::before .guard-danmaku{margin:0!important;padding:4px 5px!important}.simplify-guard .guard-danmaku::before .guard-danmaku::after{background-image:none!important}.simplify-guard .chat-history-panel [class*=guard-level-]{padding:0!important;margin:0!important}.simplify-guard .chat-history-panel [class*=guard-level-]::after{display:none!important}.simplify-liveroom-settings>ul>li{padding:4px 12px;display:flex;align-items:center}.simplify-liveroom-settings>ul>li:hover{background:rgba(0,0,0,.16)}.round-corner .simplify-liveroom-settings>ul>li{border-radius:var(--corner-radius)}.simplify-liveroom-settings>ul>li.checked{opacity:.5}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/simplify-liveroom.min.js"] = (()=>{return(e,i)=>{const s={vip:"老爷图标",fansMedal:"粉丝勋章",title:"活动头衔",userLevel:"用户等级",guard:"舰长图标",systemMessage:"全区广播",welcomeMessage:"欢迎信息",giftMessage:"礼物弹幕",guardPurchase:"上舰提示",giftPanel:"付费礼物",userEffect:"入场特效",kanban:"看板娘",eventsBanner:"活动横幅",rankList:"排行榜",popup:"抽奖提示",skin:"房间皮肤"};class t{constructor(i,s){this.skinDisabled=e.simplifyLiveroomSettings.skin;this.skinSelectors=i;this.skinClass=s;i.forEach(e=>{SpinQuery.select(e,i=>{Observer.attributes(e,e=>{e.forEach(e=>{if(e.attributeName==="class"){if(this.skinDisabled&&i.classList.contains(s)){i.classList.remove(s)}else if(!this.skinDisabled&&!i.classList.contains(s)){i.classList.add(s)}}})})})})}setSkin(e){this.skinDisabled=!e;this.skinSelectors.forEach(i=>{SpinQuery.select(i,i=>i.classList[e?"add":"remove"](this.skinClass))})}}const n=[new t(["#head-info-vm","#gift-control-vm","#rank-list-vm","#rank-list-ctnr-box",".gift-panel.base-panel",".gift-panel.extend-panel",".seeds-wrap>div:first-child",".gift-section>div:last-child",".z-gift-package>div>div",".right-action"],"live-skin-coloration-area"),new t([".rank-list-ctnr .tabs"],"isHundred"),new t([".rank-list-ctnr .tab-content > div"],"hundred")];const c=(e,i)=>{document.body.classList.toggle(`simplify-${i}`,e);if(i==="skin"){n.forEach(i=>i.setSkin(!e))}};const a=()=>document.URL.startsWith(`https://live.bilibili.com/`);if(a()){Object.keys(s).forEach(i=>{const s=e.simplifyLiveroomSettings[i];c(s,i)})}return{widget:{condition:a,content:`\n\n \n简化直播间 \n\n
\n`,success:()=>{const i=document.querySelector("#simplify-liveroom");const t=document.querySelector(".gui-settings-mask");i.addEventListener("click",e=>{const i=document.querySelector(".simplify-liveroom-settings");if(i.contains(e.target)||e.target===i){return}i.classList.toggle("opened")});i.addEventListener("mouseenter",()=>t.classList.add("transparent"));i.addEventListener("mouseleave",()=>t.classList.remove("transparent"));new Vue({el:".simplify-liveroom-settings",data:{items:Object.entries(s).map(([i,s])=>{const t=e.simplifyLiveroomSettings[i];c(t,i);return{key:i,name:s,checked:t}})},methods:{itemClick(i){i.checked=!i.checked;c(i.checked,i.key);e.simplifyLiveroomSettings=Object.assign(e.simplifyLiveroomSettings,{[i.key]:i.checked})}}})}}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/skip-charge-list.min.css"] = `.bilibili-player .bilibili-player-area .bilibili-player-electric-panel{display:none!important}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/skip-charge-list.min.js"] = (()=>{return(e,n)=>{async function c(){const e=await SpinQuery.select(()=>document.querySelector("video"));e&&e.addEventListener("ended",async()=>{const e=await SpinQuery.select(()=>document.querySelector(".bilibili-player-electric-panel-jump"));e&&e.click()})}Observer.videoChange(c)}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/slideshow-cards.vue.min.js"] = (()=>{return(e,i)=>{const r=`
{{currentCard.title}} {{currentCard.upName}}{{currentCard.playCount | bigNumber}}
{{currentCard.danmakuCount | bigNumber}}
{{currentCard.like | bigNumber}}
{{currentCard.coins | bigNumber}}
{{currentCard.type}}
{{currentCard.description}}
下一个
`;i.applyStyleFromText(`.slideshow-cards{display:grid;position:relative;grid-template:"header header header header" auto "cards . operations info" var(--card-height)/var(--card-width) 48px auto 320px}.slideshow-cards .error{grid-column:1/4;grid-row:2/3;align-self:stretch;justify-self:stretch}.slideshow-cards .operations{grid-area:operations;display:flex;flex-direction:column;align-self:center;justify-self:start}.slideshow-cards .operations>*{background-color:#ddd;border-radius:50%;border:none;display:flex;height:32px;width:32px;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;margin-right:16px}.slideshow-cards .operations>:hover{background-color:#ccc}body.dark .slideshow-cards .operations>*{background-color:#333}body.dark .slideshow-cards .operations>:hover{background-color:#444}.slideshow-cards .operations>.checked{border:2px solid var(--theme-color)}.slideshow-cards .operations>* .be-icon{font-size:22px}.slideshow-cards .operations>:not(:last-child){margin-bottom:8px}.slideshow-cards .operations .play .be-icon{font-size:16px;transform:translateX(1.5px)}.slideshow-cards .operations .play,body.dark .slideshow-cards .operations .play{color:var(--foreground-color);background-color:var(--theme-color)}.slideshow-cards .operations .play:hover,body.dark .slideshow-cards .operations .play:hover{background-color:var(--theme-color-80)}.slideshow-cards .info{grid-area:info;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}.slideshow-cards .info>*{display:flex;align-items:center}.slideshow-cards .info .title{color:inherit!important;font-size:12pt;font-weight:700;text-align:right;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;max-height:3em}.slideshow-cards .info .up{font-size:10pt;color:inherit!important}.slideshow-cards .info .up .face{border-radius:50%;width:24px;height:24px;margin-right:8px}.slideshow-cards .info .stat,.slideshow-cards .info .type{opacity:.75;align-items:center}.slideshow-cards .info .stat .be-icon,.slideshow-cards .info .type .be-icon{margin:0 4px 0 16px;font-size:12pt}.slideshow-cards .info .description{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:6;-webkit-box-orient:vertical;line-height:1.5;max-height:9em;flex-grow:1;white-space:pre-wrap;text-align:right;opacity:.75}.slideshow-cards .info .buttons .be-icon{font-weight:400}.slideshow-cards .info .buttons>button{outline:0!important;cursor:pointer}.slideshow-cards .info .buttons .refresh{background-color:#ddd;border-radius:50%;border:none;display:flex;height:32px;width:32px;align-items:center;justify-content:center;box-sizing:border-box;margin-right:8px;cursor:pointer}.slideshow-cards .info .buttons .refresh:hover{background-color:#ccc}body.dark .slideshow-cards .info .buttons .refresh{background-color:#333}body.dark .slideshow-cards .info .buttons .refresh:hover{background-color:#444}.slideshow-cards .info .buttons .refresh.checked{border:2px solid var(--theme-color)}.slideshow-cards .info .buttons .refresh .be-icon{transition-duration:.5s;transform:scale(.9)}.slideshow-cards .info .buttons .refresh:hover .be-icon{transform:scale(.9) rotate(360deg)}.slideshow-cards .info .buttons .previous{background-color:#ddd;border-radius:50%;border:none;display:flex;height:32px;width:32px;align-items:center;justify-content:center;box-sizing:border-box;margin-right:8px;cursor:pointer}.slideshow-cards .info .buttons .previous:hover{background-color:#ccc}body.dark .slideshow-cards .info .buttons .previous{background-color:#333}body.dark .slideshow-cards .info .buttons .previous:hover{background-color:#444}.slideshow-cards .info .buttons .previous.checked{border:2px solid var(--theme-color)}.slideshow-cards .info .buttons .previous .be-icon{transform:translateX(-1px)}.slideshow-cards .info .buttons .next{display:flex;align-items:center;padding:4px 6px 4px 12px;background-color:var(--theme-color);border:none;color:var(--foreground-color)!important;height:32px;box-sizing:border-box;line-height:normal;font-size:11pt;font-weight:700;border-radius:16px}.slideshow-cards .info .buttons .next:hover{background-color:var(--theme-color-80)}.slideshow-cards .slideshow-card{grid-area:cards;cursor:pointer;align-self:stretch;justify-self:stretch;position:absolute;top:0;left:0;width:100%;height:100%;background-color:#8882;border-radius:16px}.slideshow-cards .slideshow-card:not(:first-child){transform-origin:right}.slideshow-cards .slideshow-card:not(:nth-child(2)){pointer-events:none;transform:translateX(39px) scale(.45);opacity:0}.slideshow-cards .slideshow-card img{border-radius:16px;width:100%;height:100%;object-fit:cover}.slideshow-cards .slideshow-card:nth-child(1){z-index:7}.slideshow-cards .slideshow-card:nth-child(2){z-index:6;pointer-events:initial}.slideshow-cards .slideshow-card:nth-child(3){z-index:5}.slideshow-cards .slideshow-card:nth-child(4){z-index:4}.slideshow-cards .slideshow-card:nth-child(5){z-index:3}.slideshow-cards .slideshow-card:nth-child(6){z-index:2}.slideshow-cards .slideshow-card:nth-child(7){z-index:1}.slideshow-cards .slideshow-card:first-child{transform:translateX(-10%) scale(1.1);opacity:0}.slideshow-cards .slideshow-card:nth-child(3){transform:translateX(20px) scale(.9);opacity:.5}.slideshow-cards .slideshow-card:nth-child(4){transform:translateX(30px) scale(.75);opacity:.25}.slideshow-cards .slideshow-card:nth-child(5){transform:translateX(35px) scale(.65);opacity:.125}.slideshow-cards .slideshow-card:nth-child(6){transform:translateX(37.5px) scale(.5);opacity:.0625}@media screen and (max-width:1600px){.slideshow-cards .info .description{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical;line-height:1.5;max-height:6em}}@media screen and (max-width:1400px){.slideshow-cards .info .description{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical;line-height:1.5;max-height:4.5em}}@media screen and (max-width:1200px){.slideshow-cards .info .description{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;max-height:3em}}@media screen and (max-width:1050px){.slideshow-cards .info .description{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical;line-height:1.5;max-height:1.5em}}@media screen and (max-width:950px){.slideshow-cards .info .title{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical;line-height:1.5;max-height:1.5em}}`,"slideshow-cards-style");return{export:Object.assign({template:r},{components:{Icon:()=>i.importAsync("icon.vue"),DpiImg:()=>i.importAsync("dpi-img.vue")},filters:{bigNumber(e){return formatCount(e)}},props:["cards","error","title","showStat"],data(){return{cardQueue:[]}},methods:{...Vuex.mapActions(["toggleWatchlater"]),regenerateQueue(){if(this.cards.length<7){return}const e=[...this.cards];e.unshift(e.pop());this.cardQueue=e},previousCard(){this.cardQueue.unshift(this.cardQueue.pop())},nextCard(){this.cardQueue.push(this.cardQueue.shift())},refresh(){this.$emit("refresh")}},watch:{cards(){this.regenerateQueue()}},computed:{...Vuex.mapState(["watchlaterList"]),currentCard(){return this.cardQueue[1]}},mounted(){this.regenerateQueue()}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/slip.min.js"] = (()=>{return(t,e)=>{const i=function(){"use strict";var t={container:{ariaRole:"listbox",tabIndex:0,focus:false},items:{ariaRole:"option",tabIndex:-1,focus:false}};var e=/Chrome\/[3-5]/.test(navigator.userAgent);var i=e;var n=e;var s=document.createElement("div").style;var o="transition"in s?"transition":"webkitTransition";var a="transform"in s?"transform":"webkitTransform";var r=a==="webkitTransform"?"-webkit-transform":"transform";var h="userSelect"in s?"userSelect":"webkitUserSelect";s[a]="translateZ(0)";var l=s[a]?"translateZ(0) ":"";var c=s[a]?"translateZ(1px) ":"";s=null;var u=0;var d=false;var f=function(){};function g(t,e){if("string"===typeof t)t=document.querySelector(t);if(!t||!t.addEventListener)throw new Error("Please specify DOM node to attach to");if(!this||this===window)return new g(t,e);this.options=e=e||{};this.options.keepSwipingPercent=e.keepSwipingPercent||0;this.options.minimumSwipeVelocity=e.minimumSwipeVelocity||1;this.options.minimumSwipeTime=e.minimumSwipeTime||110;this.options.ignoredElements=e.ignoredElements||[];if(!Array.isArray(this.options.ignoredElements))throw new Error("ignoredElements must be an Array");this.cancel=this.setState.bind(this,this.states.idle);this.onTouchStart=this.onTouchStart.bind(this);this.onTouchMove=this.onTouchMove.bind(this);this.onTouchEnd=this.onTouchEnd.bind(this);this.onMouseDown=this.onMouseDown.bind(this);this.onMouseMove=this.onMouseMove.bind(this);this.onMouseUp=this.onMouseUp.bind(this);this.onMouseLeave=this.onMouseLeave.bind(this);this.onSelection=this.onSelection.bind(this);this.onContainerFocus=this.onContainerFocus.bind(this);this.setState(this.states.idle);this.attach(t)}function m(t){var e=t.style[a];if(e){return{value:e,original:e}}if(window.getComputedStyle){var i=window.getComputedStyle(t).getPropertyValue(r);if(i&&i!=="none")return{value:i,original:""}}return{value:"",original:""}}function v(t,e){var i=0;var n=0;for(var s=0;s20&&t.y20){this.setState(this.states.idle)}if(t.x>t.y*1.2)return false},onLeave:function(){this.setState(this.states.idle)},onEnd:function(){var t=this.dispatch(this.target.originalTarget,"tap");this.setState(this.states.idle);return t}}},swipe:function t(){var e=false;var i=this.container;var n=v(this.target,this.container.childNodes);i.classList.add("slip-swiping-container");function s(){i.classList.remove("slip-swiping-container")}this.target.height=this.target.node.offsetHeight;return{leaveState:function(){if(e){this.animateSwipe(function(t){t.node.style[a]=t.baseTransform.original;if(this.dispatch(t.node,"afterswipe")){s();return true}else{this.animateToZero(undefined,t)}}.bind(this))}else{this.animateToZero(s)}},onMove:function(){var t=this.getTotalMovement();if(Math.abs(t.y)this.options.minimumSwipeVelocity&&t.time>this.options.minimumSwipeTime||this.options.keepSwipingPercent&&s>this.options.keepSwipingPercent;if(o){if(this.dispatch(this.target.node,"swipe",{direction:t.directionX,originalIndex:n})){e=true}}else{this.dispatch(this.target.node,"cancelswipe")}this.setState(this.states.idle);return!o}}},reorder:function e(){if(this.target.node.focus&&t.items.focus){this.target.node.focus()}this.target.height=this.target.node.offsetHeight;var i;if(this.options.ignoredElements.length){var s=this.container;var o=s.tagName.toLowerCase();if(s.getAttribute("id")){o="#"+s.getAttribute("id")}else if(s.classList.length){o+="."+s.getAttribute("class").replace(" ",".")}o+=" > ";this.options.ignoredElements.forEach(function(t){o+=":not("+t+")"});try{i=s.parentNode.querySelectorAll(o)}catch(t){if(t instanceof DOMException&&t.name==="SyntaxError")throw new Error("ignoredElements you specified contain invalid query");else throw t}}else{i=this.container.childNodes}var r=v(this.target,i);var u;var d=this.target.node.offsetTop+this.target.height/2;var f=[];for(var g=0;gt.y){n=e}else if(i.pos>0&&t.y>0&&i.post.y){break}}i=e}else{for(e=f.length-1;e>=0;e--){if(f[e].pos1){this.setState(this.states.idle);return}if(!this.setTarget(t))return;this.startAtPosition({x:t.touches[0].clientX,y:t.touches[0].clientY,time:t.timeStamp})},setTarget:function(t){var e=this.findTargetNode(t.target);if(!e){this.setState(this.states.idle);return false}var i=this.options.scrollContainer;if(!i){var n=document.scrollingElement||document.documentElement;i=e.parentNode;while(i){if(i==n)break;if(i!=document.body&&i.scrollHeight>i.clientHeight&&window.getComputedStyle(i)["overflow-y"]!="visible")break;i=i.parentNode}i=i||n}this.target={originalTarget:t.target,node:e,scrollContainer:i,origScrollTop:i.scrollTop,origScrollHeight:i.scrollHeight,baseTransform:m(e)};return true},startAtPosition:function(t){this.startPosition=this.previousPosition=this.latestPosition=t;this.setState(this.states.undecided)},updatePosition:function(t,e){if(this.target==null){return}this.latestPosition=e;if(this.state.onMove){if(this.state.onMove.call(this)===false){t.preventDefault()}}if(this.latestPosition.time-this.previousPosition.time>100){this.previousPosition=this.latestPosition}},onMouseMove:function(t){t.stopPropagation();this.updatePosition(t,{x:t.clientX,y:t.clientY,time:t.timeStamp})},onTouchMove:function(t){t.stopPropagation();this.updatePosition(t,{x:t.touches[0].clientX,y:t.touches[0].clientY,time:t.timeStamp});this.canPreventScrolling=false},onMouseUp:function(t){t.stopPropagation();if(this.usingTouch||t.button!==0)return;if(this.state.onEnd&&false===this.state.onEnd.call(this)){t.preventDefault()}},onTouchEnd:function(t){t.stopPropagation();if(t.touches.length>1){this.cancel()}else if(this.state.onEnd&&false===this.state.onEnd.call(this)){t.preventDefault()}},getTotalMovement:function(){var t=this.target.scrollContainer.scrollTop-this.target.origScrollTop;return{x:this.latestPosition.x-this.startPosition.x,y:this.latestPosition.y-this.startPosition.y+t,time:this.latestPosition.time-this.startPosition.time}},getAbsoluteMovement:function(){var t=this.getTotalMovement();return{x:Math.abs(t.x),y:Math.abs(t.y),time:t.time,directionX:t.x<0?"left":"right",directionY:t.y<0?"up":"down"}},updateScrolling:function(){var t=40,e=0;var i=this.target.scrollContainer,n=i.getBoundingClientRect(),s=this.target.node.getBoundingClientRect(),o=Math.min(n.bottom,window.innerHeight)-s.bottom,a=s.top-Math.max(n.top,0),r=this.target.origScrollHeight-Math.min(i.clientHeight,window.innerHeight);if(o0?"":"-")+"100%,0) "+l+e.baseTransform.value;setTimeout(function(){if(t.call(this,e)){i.forEach(function(t){t.node.style[a]=n+t.baseTransform.value});setTimeout(function(){i.forEach(function(t){t.node.style[a]="translate(0,0) "+l+t.baseTransform.value});setTimeout(function(){i.forEach(function(t){t.node.style[a]=t.baseTransform.original})},101)},1)}}.bind(this),101)}};if("function"===typeof define&&define.amd){define(function(){return g})}if("object"===typeof module&&module.exports){module.exports=g}return g}();return{export:{Slip:i}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/style.min.css"] = `.bili-wrapper{display:flex!important;justify-content:center!important;align-items:center!important;height:50px!important}.bili-header-m>.nav-menu,.link-navbar,.link-navbar .main-ctnr .nav-items-ctnr,.link-navbar-ctnr .link-navbar,.link-navbar-ctnr .link-navbar .main-ctnr .nav-items-ctnr,.nav-header-wrapper{background:var(--theme-color)!important}.bili-header-m>.nav-menu,.link-navbar-ctnr,.nav-header-wrapper{box-shadow:var(--theme-color-70) 0 2px 10px 1px!important}div.stardust-player{background:#fff!important}.nav-header-wrapper>.nav-header,.nav-mask{background-color:transparent!important}.link-navbar,.nav-mask{box-shadow:none!important}.nav-con{flex-grow:10!important;flex-shrink:0!important}.nav-con.fl{margin-left:-2em!important}.nav-search-box{margin:9px 0 0!important}.bili-header-m .nav-menu .nav-con .nav-item .t,.link-navbar .main-ctnr .custom-link>a,.link-navbar .main-ctnr .nav-logo,.link-navbar .main-ctnr .nav-switcher,.link-navbar .nav-item,.link-navbar .nav-item .icon-font,.link-navbar .nav-item.selected .label,.link-navbar .nav-item:hover,.my-link-btn,.nav-header-wrapper .nav-header .nav-header-mainsite,.nav-header-wrapper .nav-header .order-center,.shortcuts-ctnr,.shortcuts-ctnr .shortcut-item,.stardust-video .nav-menu .nav-con .nav-item.home .drop,.stardust-video .nav-menu .nav-con .nav-item.home .header-icon-Navbar_logo{color:var(--foreground-color-d)!important}.stardust-video .nav-menu .nav-con .nav-item.home .header-icon-Navbar_logo{transform:scale(.75)!important;top:7px!important}.stardust-video .nav-menu .up-load .up-nav{top:42px!important}.link-navbar .nav-item:hover,.link-navbar-ctnr .link-navbar .nav-item:hover,.link-navbar-ctnr .shortcuts-ctnr .shortcut-item:hover,.my-link-btn:hover,.publish-btn:hover,.shortcuts-ctnr .shortcut-item:hover,li.nav-item:not(.profile-info):hover{background-color:hsla(0,0%,var(--brightness),.2)!important}.link-navbar .nav-item:hover .nav-link .label,.my-link-btn .label:hover,.publish-btn:hover::after,.shortcuts-ctnr .shortcut-item .label-wrapper .text:hover,li.nav-item.home:hover{background:0 0!important}.vip-m{background:#fff!important}a.t>i.bili-icon,a.t>i.bili-icon-logo{width:50px!important;left:-60px!important;top:0!important;height:50px!important;background-position-y:12px!important}.link-navbar .nav-item:first-child::before,.main-ctnr .nav-logo:before,.nav-header-wrapper .nav-header .nav-header-logo,.nav-header-wrapper .nav-header .nav-header-tv-icon,.nav-header-wrapper .nav-header .order-icon,a.t>i.bili-icon,a.t>i.bili-icon-logo{filter:brightness(0) var(--invert-filter)!important;opacity:.81!important}#entryOld,.b-icon-app,.blp-red-tip::after,.main-container .entry-old,.nav-search-submit,.title-icon,body>#Header{display:none!important}.bilibili-player-video-inputbar{display:flex!important}.i-face>.face,.user-panel-ctnr .msg-hinter{box-shadow:0 0 2px 1.5px #0002!important}div.up-load{margin-top:8px!important;margin-left:9px!important;height:32px!important;order:4!important;flex-grow:0;flex-shrink:0}.stardust-video .nav-menu .nav-wrapper{padding:0 5rem!important}.publish-btn{height:40px!important;line-height:40px!important;background:var(--theme-color)!important;border:1px solid!important;border-radius:5px!important;box-shadow:none!important;top:calc(50% - 20px)!important;transition:.2s!important}.publish-panel{margin-top:7px!important}.my-link-btn{border-radius:0!important}.main-ctnr .search-bar-ctnr .search-bar input,.slot-ctnr a{color:#222!important}.main-ctnr .search-bar-ctnr .search-bar .placeholder,.main-ctnr .search-bar-ctnr .search-bar .search-btn{color:#878787!important}.main-ctnr .search-bar-ctnr .search-bar{border:none!important;box-shadow:0 2px 10px 1px #0002!important}.u-link{background:0 0!important;color:var(--foreground-color-d)!important;border-radius:4px!important;line-height:30px!important;height:30px!important;transition:background-color .2s!important}.shortcuts-ctnr .shortcut-item .hinter,.shortcuts-ctnr .shortcut-item .num-hinter,.u-link{border:1px solid!important}.u-link:hover{opacity:1!important;background-color:hsla(0,0%,var(--brightness),.2)!important}#nav_searchform,.stardust-video .nav-con .nav-search{width:130px!important}.stardust-video .nav-con .nav-search .nav-search-keyword{color:#222!important;width:120px!important;padding-right:32px}.nav-header-wrapper .nav-header .nav-header-search-bar,.stardust-video .nav-con #nav_searchform{border-radius:4px!important;background:#fffb!important;border:none!important;transition:background-color .2s!important;box-shadow:0 2px 10px 1px #0002;padding-right:0!important}.search-bar-ctnr .search-bar{background-color:#fffd!important;transition:.2s!important}.nav-header-wrapper .nav-header .nav-header-search-bar:focus-within,.nav-header-wrapper .nav-header .nav-header-search-bar:hover,.search-bar-ctnr .search-bar:focus-within,.search-bar-ctnr .search-bar:hover,.stardust-video .nav-con #nav_searchform:focus-within,.stardust-video .nav-con #nav_searchform:hover{background-color:#fff!important}#bilibiliPlayer{box-shadow:0 4px 16px 0 var(--theme-color-40)!important}.blur-bg{opacity:var(--blur-background-opacity)!important;filter:blur(20px)!important}.suggest-item .cancel{width:28px!important}.stardust-video .nav-con ul.bilibili-suggest{margin-left:-35px!important;width:200px!important}li.suggest-item>a{max-width:155px!important}.nav-item div.num{box-shadow:0 .5px 4px 0 #0004!important}#primary_menu,#primary_menu>ul.nav-menu{display:flex!important;align-items:center!important}.bilibili-player-video-btn-quality{width:auto!important;margin:0 6px!important}#primary_menu,div.nav-gif{padding:0!important}.filter-item.search,body{margin:0!important}.input-box textarea{padding:8px!important}.link-navbar .main-ctnr .nav-switcher.open-btn{filter:brightness(0) invert(1)!important;opacity:.8!important}.guard-rank-cntr.open .tip.rank-desc{visibility:visible!important}.guard-rank-cntr .rank-cntr .tip{visibility:hidden!important}.tag-container .tag-item .tag-border .tag-border-inner{width:100%!important}.bilibili-player-video-control{background-color:transparent!important}.mouse-hover .bilibili-player-video-control-top,.video-control-show .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:32px!important}.bilibili-player-video-control-top{left:-12px!important;right:-12px!important;bottom:0!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control-wrap{bottom:0!important}.showSearch .nav-search-submit{top:6px!important}.nav-header-wrapper .nav-header .nav-header-search-bar::placeholder,.search-bar-ctnr .search-bar .search-btn,.search-bar-ctnr .search-bar input::placeholder{color:#888!important}.card-list .card{border:none!important;border-radius:4px!important}@media only screen and (min-width:1291px){.nav-con{margin:0 1em!important}#nav_searchform,.stardust-video .nav-con .bilibili-suggest.nav,.stardust-video .nav-con .nav-search{width:250px!important}.stardust-video .nav-con .nav-search .nav-search-keyword{width:240px!important}.stardust-video .nav-con ul.bilibili-suggest{margin-left:0!important;width:250px!important}.stardust-video .nav-con li.suggest-item>a{max-width:205px!important}}@media screen and (min-width:750px){.player .bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-top,.player .bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-top{left:-12px!important;right:-12px!important;bottom:0!important}.mode-fullscreen .bilibili-player-area.mouse-hover:not(.disable-original-hover) .bilibili-player-video-control-top,.mode-fullscreen .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top,.mode-webfullscreen .bilibili-player-area.mouse-hover:not(.disable-original-hover) .bilibili-player-video-control-top,.mode-webfullscreen .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:42px!important}}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/subtitle-converter.min.js"] = (()=>{return(t,n)=>{const i={TopLeft:7,TopCenter:8,TopRight:9,BottomLeft:1,BottomCenter:2,BottomRight:3};const o=t=>{return Object.entries(i).filter(([,n])=>n===t).map(([t])=>t).shift()};var e;(function(t){t[t["VerySmall"]=1]="VerySmall";t[t["Small"]=2]="Small";t[t["Medium"]=3]="Medium";t[t["Large"]=4]="Large";t[t["VeryLarge"]=5]="VeryLarge"})(e||(e={}));class r{constructor(t){this.config=Object.assign(r.defaultConfig,t)}async getAssMeta(){const{convertHexColorForStyle:t}=await n.importAsync("ass-utils");const o=t(this.config.color);const e=t("#000000",this.config.opacity);const r=[];const a=(10*(this.config.size-3)+48)*this.config.height/720;console.log(a);for(const[t,n]of Object.entries(i)){r.push(`Style: ${t},微软雅黑,${a},${o},${o},${e},${e},0,0,0,0,100,100,0,0,3,${this.config.boxPadding},0,${n},${this.config.boxMargin},${this.config.boxMargin},${this.config.boxMargin},0`)}return`\n[Script Info]\n; Script generated by Bilibili Evolved Danmaku Converter\n; https://github.com/the1812/Bilibili-Evolved/\nTitle: ${this.config.title}\nScriptType: v4.00+\nPlayResX: ${this.config.width}\nPlayResY: ${this.config.height}\nTimer: 10.0000\nWrapStyle: 0\nScaledBorderAndShadow: no\n\n[V4+ Styles]\nFormat: Name, Fontname, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding\n${r.join("\n")}\n\n[Events]\nFormat: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text`.trim()}async convertToAss(t){const{convertTimeByEndTime:i,normalizeContent:e}=await n.importAsync("ass-utils");const r=await this.getAssMeta();return r+"\n"+t.map(t=>{const[n,r]=i(t.from,t.to);const a=`Dialogue: 0,${n},${r},${o(this.config.location)},,0,0,0,,${e(t.content)}`;return a}).join("\n")}}r.defaultConfig={title:"",color:"#ffffff",width:1920,height:1080,size:e.Medium,opacity:.5,location:i.BottomCenter,boxPadding:1,boxMargin:32};return{export:{SubtitleConverter:r,SubtitleLocation:i,SubtitleSize:e}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/superchat-translate.min.css"] = `.chat-history-panel .chat-item.superChat-card-detail .input-contain .text{display:block!important}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/superchat-translate.min.js"] = (()=>{return(t,e)=>{(async()=>{if(!document.URL.startsWith("https://live.bilibili.com/")){return}const t=document.URL.match(/live\.bilibili\.com\/(\d+)/);if(!t){return}const n=t[1];const a=await SpinQuery.select(".chat-history-list");if(a===null){console.warn("chatList not found");return}e.applyStyle("superchatTranslateStyle");const s=async()=>{const t=await Ajax.getJson(`https://api.live.bilibili.com/av/v1/SuperChat/getMessageList?room_id=${n}&jpn=1`);if(t.code!==0){console.warn(`getMessageList api failed: ${t.message}`);return[]}return _.get(t,"data.list",[])};const i=t=>{return new Promise(e=>{setTimeout(async()=>{const n=await Ajax.getJson(`https://api.live.bilibili.com/av/v1/SuperChat/messageInfo?id=${t}`);if(n.code!==0){console.warn(`messageInfo api failed: ${n.message}`);e("")}e(_.get(n,"data.message_jpn",""))},3e3)})};Observer.childListSubtree(".pay-note-panel",async()=>{console.log(".pay-note-panel");const t=dq(".detail-info .input-contain .text:not(.original):not(.jpn)");if(!t){return}const e=await s();const n=e.find(e=>e.message===t.innerText);if(!n){console.warn("message not found");return}const a=n.message_jpn||await i(n.id);t.classList.add("original");const o=document.createElement("span");o.classList.add("text","jpn");o.style.opacity=".5";o.innerText=a;t.insertAdjacentElement("afterend",o);console.log(`inserted translation: `,{original:n.message,translation:a})});Observer.childList(a,t=>{t.forEach(t=>{t.addedNodes.forEach(async t=>{if(t instanceof HTMLElement&&t.classList.contains("superChat-card-detail")){const e=t.getAttribute("data-danmaku");if(!e){console.warn("original not found");return}const n=await s();const a=n.find(t=>t.message===e);if(!a){console.warn("message not found");return}const o=a.message_jpn||await i(a.id);const r=await SpinQuery.select(`.superChat-card-detail[data-danmaku='${e}'] .input-contain .text:not(.original):not(.jpn)`);if(!r){console.warn("textElement not found");return}r.classList.add("original");const c=document.createElement("span");c.classList.add("text","jpn");c.style.opacity=".5";c.innerText=o;r.insertAdjacentElement("afterend",c);console.log(`inserted translation: `,{original:a.message,translation:o})}})})})})()}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/text-validate.min.js"] = (()=>{return(e,t)=>{class a{constructor(e){this.key=e}get originalValue(){return e[this.key]}static getValidator(e){switch(e){case"customStyleColor":return new i(e);case"blurBackgroundOpacity":case"customControlBackgroundOpacity":case"customNavbarBlurOpacity":return new s(e);case"defaultPlayerMode":case"defaultVideoQuality":case"i18nLanguage":case"deadVideoTitleProvider":return new r(e);case"darkScheduleStart":case"darkScheduleEnd":return new n(e);case"playerFocusOffset":return new u(e);case"sideBarOffset":return new o(e,-40,40);default:return new a(e)}}isValidate(e){return e}validate(e){const t=this.isValidate(e);if(t===undefined){return this.originalValue}return t}}class i extends a{isValidate(e){if(/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/.test(e)){if(e.length<7){return`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`}else{return e}}}}class s extends a{isValidate(e){if(/^([-+]?\d+)(\.\d+)?$/.test(e)){const t=parseFloat(e);if(t>=0&&t<=1){return e}}}}class r extends a{isValidate(e){const[t]=Object.values(Resource.manifest).filter(e=>e.dropdown&&e.dropdown.key===this.key).map(e=>e.dropdown);if(t.items.indexOf(e)!==-1){return e}}}class n extends a{isValidate(e){const t=e.match(/^([\d]{1,2}):([\d]{1,2})$/);if(t&&t.length>=3){const e={hour:parseInt(t[1]),minute:parseInt(t[2])};(function(){while(this.minute<0){this.minute+=60;this.hour-=1}while(this.minute>=60){this.minute-=60;this.hour+=1}while(this.hour<0){this.hour+=24}while(this.hour>=24){this.hour-=24}}).call(e);return`${e.hour}:${e.minute<10?"0"+e.minute:e.minute}`}}}class u extends a{isValidate(e){const t=parseInt(e);if(!isNaN(t)){return t}}}class o extends a{constructor(e,t,a){super(e);this.min=t;this.max=a}isValidate(e){const t=parseInt(e);if(!isNaN(t)&&t>=this.min&&t<=this.max){return t}}}return{export:{Validator:a,ColorValidator:i,DropDownValidator:r,OpacityValidator:s,TimeValidator:n,NumberValidator:u}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/theme-colors.min.js"] = (()=>{return(e,t)=>{const r={red:"#e57373",pink:"#F06292",purple:"#BA68C8",deepPurple:"#9575CD",indigo:"#7986CB",blue:"#2196F3",lightBlue:"#00A0D8",cyan:"#00ACC1",teal:"#26A69A",green:"#81C784",lightGreen:"#9CCC65",orange:"#FF9800",deepOrange:"#FF7043",brown:"#A1887F",grey:"#757575",blueGrey:"#78909C"};class o{constructor(){this.reloadColor=(()=>{const e=document.querySelector("html");return function(t){const r=new ColorProcessor(t);const o=e=>r.rgbToString(r.hexToRgba(e));e.style.setProperty("--theme-color",t);for(let r=10;r<=90;r+=10){e.style.setProperty(`--theme-color-${r}`,o(t+r))}e.style.setProperty("--foreground-color",r.foreground);e.style.setProperty("--foreground-color-b",o(r.foreground+"b"));e.style.setProperty("--foreground-color-d",o(r.foreground+"d"));e.style.setProperty("--blue-image-filter",r.blueImageFilter);e.style.setProperty("--pink-image-filter",r.pinkImageFilter);e.style.setProperty("--brightness",r.brightness);e.style.setProperty("--invert-filter",r.filterInvert)}})()}setupDom(){const t=document.querySelector(`input[key='customStyleColor']`);addSettingsListener("customStyleColor",e=>this.reloadColor(e));addSettingsListener("foregroundColorMode",()=>this.reloadColor(e.customStyleColor));const o=document.querySelector(".predefined-colors-grid");for(const e of Object.values(r)){const r=document.createElement("div");o.insertAdjacentElement("beforeend",r);r.classList.add("predefined-colors-grid-block");r.style.background=e;r.setAttribute("data-color",e);r.addEventListener("click",e=>{const r=e.target.getAttribute("data-color");t.value=r;raiseEvent(t,"input");raiseEvent(t,"change")})}const l=document.querySelector(".predefined-colors");document.querySelector("div.custom-color-preview").addEventListener("click",()=>{l.classList.toggle("opened")})}}return{export:{ThemeColors:o}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/title.min.js"] = (()=>{return(t,e)=>{function i(t=true){const e=document.title.replace("_番剧_bilibili_哔哩哔哩","").replace("_电影_bilibili_哔哩哔哩","").replace("_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili","").replace(" - 哔哩哔哩直播,二次元弹幕直播平台","").replace(/[\/\\:\*\?"<>\|]/g," ").trim();if(!t||document.URL.indexOf("/bangumi")!==-1){return e}else{const t=document.querySelector("#multi_page .cur-list>ul li.on a");if(t===null){return e}else{const i=t.getAttribute("title");return e+" - "+i}}}function r(t,e=true,i={}){const r=new Date;const n={title:document.title.replace(/:([^:]+?)_(番剧|国创|电影|纪录片|电视剧)_bilibili_哔哩哔哩/,"").replace("_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili","").replace(/(.*?) - (.*?) - 哔哩哔哩直播,二次元弹幕直播平台/,"$1").trim(),ep:(()=>{if(!e){return}const t=dq("#eplist_module li.cursor .ep-title");if(t!==null){return t.innerText}const i=document.querySelector("#multi_page .cur-list>ul li.on a");if(i!==null){return i.getAttribute("title")}})(),aid:unsafeWindow.aid,cid:unsafeWindow.cid,lid:document.URL.replace(/https:\/\/live\.bilibili\.com\/(\d+).*/,"$1"),y:r.getFullYear().toString(),M:(r.getMonth()+1).toString().padStart(2,"0"),d:r.getDate().toString().padStart(2,"0"),h:r.getHours().toString().padStart(2,"0"),m:r.getMinutes().toString().padStart(2,"0"),s:r.getSeconds().toString().padStart(2,"0"),ms:r.getMilliseconds().toString().substr(0,3)};Object.assign(n,i);const l=Object.keys(n).reduce((t,e)=>{return t.replace(new RegExp(`\\[([^\\[\\]]*?)${e}([^\\[\\]]*?)\\]`,"g"),n[e]?`$1${n[e]}$2`:"")},t);return l.replace(/[\/\\:\*\?"<>\|]/g," ")}function n(e=true){if(t.filenameFormat===undefined){return i(e)}return r(t.filenameFormat,e)}return{export:{getFriendlyTitle:n,formatTitle:r}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/toast.min.css"] = `.toast-card-container{--card-min-width:240px;--card-min-width-negative:-240px;position:fixed;left:0;bottom:0;display:flex;flex-direction:column-reverse;align-items:start;padding-left:16px;z-index:100001;pointer-events:none;overflow:hidden;width:100%;height:100%;transition:.2s ease-out}.toast-card-container *{pointer-events:initial;transition:.2s ease-out}.toast-card.toast-card-container-enter,.toast-card.toast-card-container-leave-to{opacity:0;transform:translateX(var(--card-min-width-negative))}.toast-card{background:#fff;min-width:var(--card-min-width);max-width:60vw;min-height:96px;margin:8px 0;box-shadow:rgba(0,0,0,.2) 0 4px 8px 0;transform-origin:left;overflow:hidden;display:flex;flex-direction:column;border-left-style:solid;transition:.3s cubic-bezier(.18,.89,.32,1.28);position:relative;border-left-width:0;padding-left:var(--corner-radius);border-radius:var(--corner-radius)}.toast-card.toast-card-container-leave-active{position:absolute;transition:.3s cubic-bezier(.6,-.28,.74,.05)}.toast-card-header{display:flex;align-items:center}.toast-card-title{font-size:18px;color:#000;opacity:.5;margin:16px;font-weight:700;flex:1 1 auto}.toast-card-dismiss{height:24px;width:24px;flex:0 0 auto;padding:16px;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:.2s ease-out;transform-origin:center;opacity:.5;box-sizing:content-box}.toast-card-dismiss:hover{transform:scale(1.2)}.toast-card-dismiss:active{transform:scale(1.1)}.toast-card-message{color:#000;font-size:14px;margin:0 16px 16px;white-space:pre-wrap;display:flex;align-items:center;line-height:1.5;flex-wrap:wrap;word-break:break-all;max-height:200px;overflow:auto}.toast-card.toast-default{border-left-color:#444}.toast-card.toast-error{border-left-color:#f44336}.toast-card.toast-info{border-left-color:#2196f3}.toast-card.toast-success{border-left-color:#8bc34a}.toast-card .toast-card-border{position:absolute;height:100%;width:4px;border-radius:var(--corner-radius);height:calc(100% - 10px);width:var(--corner-radius);top:5px;left:0}.toast-card.toast-default .toast-card-border{background-color:#444}.toast-card.toast-error .toast-card-border{background-color:#f44336}.toast-card.toast-info .toast-card-border{background-color:#2196f3}.toast-card.toast-success .toast-card-border{background-color:#8bc34a}.toast-card .link,.toast-card span{display:inline-block;padding:4px 6px;margin:0 2px;background-color:#8882;text-decoration:none;color:#000;transition:.2s ease-out;border-radius:var(--corner-radius)}.toast-card .link:hover{background-color:#8883}.toast-card .link:active{background-color:#8884}.toast-card .download-link{color:inherit!important;text-decoration:underline;word-break:break-all}@keyframes loading{0%,100%{top:0;left:50%}25%{top:50%;left:100%}50%{top:100%;left:50%}75%{top:50%;left:0}}.toast-card .loading{width:14px;height:14px;display:inline-block;margin-right:14px;position:relative}.toast-card .loading::after{content:"";width:10px;height:10px;background-color:#8884;border-radius:50%;display:block;transform:translateX(-50%) translateY(-50%);position:absolute;top:0;left:50%;animation:1s cubic-bezier(.22,.61,.36,1) infinite loading}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/toast.min.js"] = (()=>{return(t,a)=>{var s;(function(t){t["Default"]="default";t["Info"]="info";t["Success"]="success";t["Error"]="error"})(s||(s={}));let e;class r{constructor(t="",a="",e=s.Default){this.creationTime=new Date;this.type=e;this.message=t;this.title=a;this.duration=3e3;this.randomKey=Math.floor(Math.random()*(Number.MAX_SAFE_INTEGER+1))}show(){r.containerVM.cards.splice(0,0,this);if(this.duration!==undefined){setTimeout(()=>this.dismiss(),this.duration)}}dismiss(){if(r.containerVM.cards.includes(this)){r.containerVM.cards.splice(r.containerVM.cards.indexOf(this),1)}}get element(){return dq(`.toast-card[data-key='${this.key}']`)}get key(){return this.creationTime.toISOString()+`[${this.randomKey}]`}static get containerVM(){if(!e){r.createToastContainer()}return e}static createToastContainer(){if(!document.querySelector(".toast-card-container")){document.body.insertAdjacentHTML("beforeend",`\n\n \n `);e=new Vue({el:".toast-card-container",components:{"toast-card":{props:["card"],template:`\n\n`}},data:{cards:[]}})}}static internalShow(t,a,s,e){const n=new r(t,a,e);n.duration=s;n.show();return n}static show(t,a,e){return this.internalShow(t,a,e,s.Default)}static info(t,a,e){return this.internalShow(t,a,e,s.Info)}static success(t,a,e){return this.internalShow(t,a,e,s.Success)}static error(t,a,e){return this.internalShow(t,a,e,s.Error)}}a.applyStyle("toastStyle");return{export:r}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/touch-move.min.js"] = (()=>{return(e,t)=>{const n=(e,t,n)=>{const c=Math.pow(Math.abs(e.x-t.x),2);const s=Math.pow(Math.abs(e.y-t.y),2);return c+s>=n*n};const c=(e,t)=>{return new MouseEvent(e,{screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY,bubbles:true,cancelable:true,view:unsafeWindow,detail:1})};const s=(e,t,n)=>{return new WheelEvent("wheel",{deltaY:t.y-e.y,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY,bubbles:true,cancelable:true,view:unsafeWindow})};const o=[];const l={passive:false,capture:true};const r=(e,t)=>{if(o.some(t=>t.element===e)){return}let r;let a;let u;let i;const h=_.get(t,"minMoveDistance",20);const v=_.get(t,"scroll",false);const d=e=>{if(e.touches.length<1){return}const t=e.touches[0];a=t;r={x:t.clientX,y:t.clientY};e.target.dispatchEvent(c("mousedown",t))};e.addEventListener("touchstart",d,l);const f=e=>{if(e.touches.length!==1){return}const t=e.touches[0];const o={x:t.clientX,y:t.clientY};if(!v){if(n(r,o,h)){e.target.dispatchEvent(c("mousemove",t));i=true;if(e.cancelable){e.preventDefault()}}else{i=false}}else{const t={x:u?u.clientX:r.x,y:u?u.clientY:r.y};console.log("touch scroll",t,o);e.target.dispatchEvent(s(t,o,a))}u=t};e.addEventListener("touchmove",f,l);const b=e=>{if(i){e.target.dispatchEvent(c("mouseup",u));if(e.cancelable){e.preventDefault()}i=false}};e.addEventListener("touchend",b,l);e.addEventListener("touchcancel",b,l);o.push({element:e,touchstart:d,touchmove:f,touchend:b})};const a=e=>{const t=o.findIndex(t=>t.element===e);if(t===-1){return}const n=o[t];["touchstart","touchmove","touchend"].forEach(t=>{e.removeEventListener(t,n[t],l)});e.removeEventListener("touchcancel",n.touchend,l);o.splice(t,1)};return{export:{enableTouchMove:r,disableTouchMove:a}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/touch-navbar.min.js"] = (()=>{return(e,r)=>{SpinQuery.count(()=>document.querySelectorAll("ul.fr>li.nav-item:not(.profile-info), .nav-user-center .nav-item"),6,e=>{e.forEach(e=>{e.style.cursor="pointer";const r=e.querySelector("a.t");r.removeAttribute("href")})})}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/touch-player.min.css"] = `.touch-video-box-wrapper{display:flex;align-items:center;justify-content:center;width:100%;height:100%;position:absolute;top:0;left:0;z-index:14;pointer-events:none}.touch-video-box{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:rgba(0,0,0,.85);position:relative;max-width:390px;max-height:180px;border:4px solid transparent;transform-origin:center}.round-corner .touch-speed,.round-corner .touch-video-box{border-radius:var(--corner-radius)}.touch-video-box-wrapper.simple{align-items:flex-start}.touch-video-box.animation{transition:.2s cubic-bezier(.18,.89,.32,1.28)}.touch-video-info{color:#fff;font-size:14pt;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;width:100%}.touch-row{flex-grow:1;display:flex;align-items:center;justify-content:center;width:100%}.touch-info{display:block;color:var(--theme-color)}.touch-result{display:block;font-size:12pt;line-height:150%}.touch-speed{display:block;background:rgba(0,0,0,.1);padding:.5em}.touch-progress{position:absolute;bottom:0;left:0;background:var(--theme-color);width:0;height:4px}.round-corner .touch-progress{border-radius:2px}.touch-row-item{flex:1 0 0;display:none;align-items:center;justify-content:center}.touch-row-item-wide{flex:1.5 0 0;display:flex;align-items:center;justify-content:center}.videoshot{background-color:transparent;background-image:none;transform-origin:center;transform:scale(.9)}.adjust-closed{opacity:0;transform:scale(.9)}.adjust-opened{opacity:1;transform:scale(1)}.touch-video-info.speed .touch-row-item{display:flex}.touch-video-info.cancel .touch-progress,.touch-video-info.cancel .touch-result{opacity:0}.bilibili-player-video-control-top{left:0!important;right:0!important;opacity:1!important;transition:none!important}.bilibili-player-video-control-top .bui-track-video-progress{align-self:flex-end!important}.bilibili-player-video-control-top,.bilibili-player-video-progress-detail{bottom:0!important}div.bilibili-player-video-control{height:38px!important;align-items:center!important}.bilibili-player-video-btn{flex-grow:1!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}.pbp-panel-icon-wrap{height:auto!important;display:flex!important;transform:translateY(-1px)!important}.bilibili-player-video-btn-pagelist .bilibili-player-video-btn-name{display:none!important}.bilibili-player-video-btn-pagelist::before{display:block;width:36px;color:#eee;content:"";font:22px/1 "Material Design Icons";text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bilibili-player-video-inputbar,.bilibili-player-video-progress{flex-grow:30!important}.bilibili-player-video-quality-menu{display:flex!important;align-items:center!important;justify-content:center!important}.bilibili-player-iconfont-color,.bilibili-player-iconfont-danmaku,.bilibili-player-iconfont-danmaku-off,.bilibili-player-iconfont-fullscreen,.bilibili-player-iconfont-pause,.bilibili-player-iconfont-repeat,.bilibili-player-iconfont-setting,.bilibili-player-iconfont-start,.bilibili-player-iconfont-volume,.bilibili-player-iconfont-volume-max,.bilibili-player-iconfont-volume-min,.bilibili-player-iconfont-web-fullscreen,.bilibili-player-iconfont-widescreen{font-size:2.5rem!important}.bilibili-player-iconfont-next{font-size:2rem!important}.bilibili-player-video-btn-setting-panel,.bilibili-player-video-danmaku-setting-wrap,.bilibili-player.mode-fullscreen .bilibili-player-video-sendbar,.bpui-selectmenu-list{left:unset!important;bottom:38px!important}.bilibili-player-video-volumebar-wrp{left:unset!important}.bilibili-player-video-control-wrap{padding:0!important}.bilibili-player-video-control-bottom{transition:none!important;padding:0!important;align-items:center!important}.bilibili-player-iconfont-next,.bilibili-player-iconfont-setting,.bilibili-player-video-btn-volume.video-state-volume-max .bilibili-player-iconfont-volume-max,.bilibili-player-video-btn-volume.video-state-volume-min .bilibili-player-iconfont-volume-min,.bilibili-player-video-btn-volume:not(.video-state-volume-max):not(.video-state-volume-min) .bilibili-player-iconfont-volume,.bilibili-player-video-control-bottom-left{display:flex!important;align-items:center!important}.bilibili-player-video-btn-danmaku{flex-grow:0!important;display:flex!important;align-items:center!important;height:100%!important;margin:0!important;padding:0!important}.bilibili-player.mode-fullscreen .bilibili-player-video-sendbar{bottom:0!important}.bilibili-player .bilibili-player-area #bilibili_pbp,.bilibili-player .bilibili-player-area #bilibili_pbp_canvas{left:0!important;width:100%!important;bottom:4px!important}.bilibili-player .bilibili-player-area #bilibili_pbp_pin,.bilibili-player .bilibili-player-area .bilibili-player-video-control-wrap:hover #bilibili_pbp_pin{right:0!important}.bilibili-player .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:38px!important}.bilibili-player .bilibili-player-area.video-control-show:not(.disable-original-hover) #bilibili_pbp,.bilibili-player .bilibili-player-area.video-control-show:not(.disable-original-hover) #bilibili_pbp_canvas{bottom:calc(100% + 4px)!important}.bilibili-player .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-progress-detail{bottom:7px!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control .bilibili-player-video-progress-shadow{display:none!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn.bilibili-player-video-btn-fullscreen{margin-right:0!important;padding-right:8px!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn.bilibili-player-video-btn-start{padding-left:8px!important;flex-grow:1.2!important;margin-right:0!important;margin-left:0!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control .bilibili-player-video-btn{padding:0 3px!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control-bottom,.bilibili-player .bilibili-player-area .bilibili-player-video-control-bottom-right,.bilibili-player-video-control-bottom-left{height:100%!important;margin:0!important}.bilibili-player-video-btn-setting-panel-hover-bridge{display:none!important}#bofqi *{-webkit-tap-highlight-color:transparent!important}@media screen and (max-width:1400px){.bilibili-player.mode-fullscreen .bilibili-player-video-control-bottom-center,.bilibili-player.mode-webfullscreen .bilibili-player-video-control-bottom-center{padding:0 24px!important}}.disable-original-hover .bilibili-player-video-control-bottom,.disable-original-hover .bilibili-player-video-control-mask{opacity:0!important;visibility:hidden!important}.disable-original-hover .bilibili-player-video-control-wrap{opacity:1!important;visibility:visible!important}.disable-original-hover .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:0!important}.disable-original-hover #bilibili_pbp,.disable-original-hover #bilibili_pbp_canvas{left:0!important;width:100%!important;bottom:4px!important;opacity:0!important}.disable-original-hover #bilibili_pbp.pin,.disable-original-hover #bilibili_pbp_canvas.pin{opacity:1!important}.disable-original-hover #bilibili_pbp_pin{opacity:0!important}.disable-original-hover.touch-video-control-show .bilibili-player-video-control-bottom,.disable-original-hover.touch-video-control-show .bilibili-player-video-control-mask{opacity:1!important;visibility:visible!important}.disable-original-hover.touch-video-control-show #bilibili_pbp,.disable-original-hover.touch-video-control-show #bilibili_pbp_canvas{bottom:calc(100% + 4px)!important;opacity:1!important}.disable-original-hover.touch-video-control-show #bilibili_pbp_pin{opacity:1!important}.disable-original-hover.touch-video-control-show .bilibili-player-video-progress-detail{bottom:0!important}.disable-original-hover.touch-video-control-show .bilibili-player-video-control-top{bottom:38px!important}.disable-original-hover .bilibili-player-video-control-wrap:hover .bilibili-player-video-control-top .bilibili-player-video-progress-slider,.disable-original-hover.bilibili-player-area.video-control-show .bilibili-player-video-control-top .bilibili-player-video-progress-slider{height:2px!important}.disable-original-hover.bilibili-player-area .bilibili-player-video-control .bilibili-player-video-progress-detail.show{bottom:1px!important}.disable-original-hover.bilibili-player-area .subtitle-position.subtitle-position-bc,.disable-original-hover.bilibili-player-area .subtitle-position.subtitle-position-bl,.disable-original-hover.bilibili-player-area .subtitle-position.subtitle-position-br{bottom:20px!important}.disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-bc,.disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-bl,.disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-br{bottom:44px!important}.bilibili-player.mode-fullscreen .disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-bc,.bilibili-player.mode-fullscreen .disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-bl,.bilibili-player.mode-fullscreen .disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-br,.bilibili-player.mode-webfullscreen .disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-bc,.bilibili-player.mode-webfullscreen .disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-bl,.bilibili-player.mode-webfullscreen .disable-original-hover.touch-video-control-show .subtitle-position.subtitle-position-br{bottom:60px!important}.disable-original-hover .bilibili-player:not(.mode-webfullscreen):not(.mode-fullscreen) .bilibili-player-area:not(.disable-original-hover) .bilibili-player-video-control-wrap:hover .bilibili-player-video-control-top .bilibili-player-video-progress-slider,.disable-original-hover .bilibili-player:not(.mode-webfullscreen):not(.mode-fullscreen) .bilibili-player-area:not(.disable-original-hover).video-control-show .bilibili-player-video-control-top .bilibili-player-video-progress-slider{height:74px!important}.bilibili-player.mode-fullscreen .disable-original-hover .bilibili-player-video-control-top{opacity:1!important}@media screen and (min-width:750px){.bilibili-player.mode-fullscreen .bilibili-player-video-btn-pagelist::before,.bilibili-player.mode-webfullscreen .bilibili-player-video-btn-pagelist::before{font-size:26px}.bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-inputbar,.bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-inputbar{background:#fff1!important}.bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control,.bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control{height:100%!important;margin:0!important}.bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-bottom,.bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-bottom{margin:0!important}.bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-bottom-left,.bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-bottom-left{height:100%!important}.bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-top,.bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-top{left:0!important;right:0!important}.bilibili-player-video-btn.bilibili-player-video-btn-start{flex-grow:.5!important}.player .bilibili-player.mode-fullscreen .disable-original-hover .bilibili-player-video-control-top,.player .bilibili-player.mode-webfullscreen .disable-original-hover .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:0!important}.player .bilibili-player.mode-fullscreen .bilibili-player-area.mouse-hover:not(.disable-original-hover) .bilibili-player-video-control-top,.player .bilibili-player.mode-fullscreen .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top,.player .bilibili-player.mode-fullscreen .disable-original-hover.touch-video-control-show .bilibili-player-video-control-top,.player .bilibili-player.mode-webfullscreen .bilibili-player-area.mouse-hover:not(.disable-original-hover) .bilibili-player-video-control-top,.player .bilibili-player.mode-webfullscreen .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top,.player .bilibili-player.mode-webfullscreen .disable-original-hover.touch-video-control-show .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:54px!important}}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/touch-player.min.js"] = (()=>{return(t,e)=>{const i=t=>{let e=0;let i=0;while(t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop)){e+=t.offsetLeft-t.scrollLeft;i+=t.offsetTop-t.scrollTop;t=t.offsetParent}return{x:e,y:i}};const s=t=>{t=Math.abs(t);const e=Math.floor(t/3600);const i=Math.floor((t-e*3600)/60);const s=t-e*3600-i*60;let o=fixed(s)+"秒";if(i>0){o=i+"分"+o}if(e>0){o=e+"时"+o}return o};const o=t=>{t=Math.abs(t);const e=Math.floor(t/3600);const i=Math.floor((t-e*3600)/60);const s=t-e*3600-i*60;let o=(s<10?"0":"")+fixed(s);o=(i<10?"0":"")+i+":"+o;o=(e<10?"0":"")+e+":"+o;return o};class n{constructor(t){this.action=new l(t);this.onTouchStart=null;this.onTouchEnd=null;this.direction=null;t.addEventListener("touchstart",t=>{this.xDown=t.touches[0].clientX;this.yDown=t.touches[0].clientY;if(this.onTouchStart){this.onTouchStart(t)}});t.addEventListener("touchmove",e=>{if(!this.xDown||!this.yDown){return}const s=e.touches[0].clientX;const o=e.touches[0].clientY;const n=i(t);const l={x:(e.touches[0].pageX-n.x)/t.clientWidth,y:(e.touches[0].pageY-n.y)/t.clientHeight,width:t.clientWidth,height:t.clientHeight};const a=this.xDown-s;const c=this.yDown-o;if(!this.direction){let t="";if(Math.abs(a)>Math.abs(c)){t="horizontal"}else{t="vertical"}this.direction=t}else{if(this.direction==="vertical"){this.action.startAction(this.direction,c,l)}else if(this.direction==="horizontal"){this.action.startAction(this.direction,-a,l)}}if(e.cancelable){e.preventDefault()}});t.addEventListener("touchend",t=>{this.xDown=null;this.yDown=null;this.direction=null;if(this.onTouchEnd){this.onTouchEnd(t)}})}}class l{constructor(t){this.lowSpeedForward=null;this.lowSpeedBackward=null;this.mediumSpeedForward=null;this.mediumSpeedBackward=null;this.highSpeedForward=null;this.highSpeedBackward=null;this.volumeUp=null;this.volumeDown=null;this.brightnessUp=null;this.brightnessDown=null;this.speedCancel=null;this.minSwipeDistance=20;this.onActionStart=null;this.onActionEnd=null;this.element=t;this.touchStart=false;this.startPosition=null;this.lastAction=null;t.addEventListener("touchstart",()=>{this.touchStart=true});t.addEventListener("touchend",()=>{this.startPosition=null;this.onActionEnd&&this.onActionEnd(this.lastAction);this.lastAction=null})}startAction(t,e,i){if(this.touchStart){this.onActionStart&&this.onActionStart(t);this.startPosition=i;this.touchStart=false}if(t==="vertical"){let t;let s;if(this.startPosition.x<1/2){t=this.brightnessUp;s=this.brightnessDown;const o=Math.round(200*(e-this.minSwipeDistance)/(1.5*i.height));if(e>0){t&&t(o)}else{s&&s(o)}this.lastAction={type:"brightness",brightness:o}}else{t=this.volumeUp;s=this.volumeDown;const o=Math.round(200*(e-this.minSwipeDistance)/(1.5*i.height));if(e>0){t&&t(o)}else{s&&s(o)}this.lastAction={type:"volume",volume:o}}}else if(t==="horizontal"){if(i.y<1/3&&(i.x<.1||i.x>.9)){this.speedCancel&&this.speedCancel();this.lastAction=null}else{let t=0;let i;let s;if(this.startPosition.y<1/3){t=.05;i=this.lowSpeedForward;s=this.lowSpeedBackward}else if(this.startPosition.y>=1/3&&this.startPosition.y<=2/3){t=.2;i=this.mediumSpeedForward;s=this.mediumSpeedBackward}else{t=1;i=this.highSpeedForward;s=this.highSpeedBackward}if(e>0){const s=(e-this.minSwipeDistance)*t;i&&i(s);this.lastAction={type:"playback",seconds:s}}else{const i=(e+this.minSwipeDistance)*t;s&&s(i);this.lastAction={type:"playback",seconds:i}}}}}}class a{constructor(){this.aid=unsafeWindow.aid;this.cid=unsafeWindow.cid;this.cidData=null;this.supportWebp=a.supportWebp}getVideoshot(t,e){if(!(this.aid&&this.cid)){return}if(!this.cidData){Ajax.getText(`https://api.bilibili.com/x/player/videoshot?aid=${this.aid}&cid=${this.cid}&index=1`).then(i=>{this.cidData=JSON.parse(i).data;this.getVideoshot(t,e)})}else{const i=this.cidData;const s=i.index;let o=0;for(let e=0;e=s[e]&&tt.replace(".jpg",".jpg@.webp"))}const l=parseInt(i.pv_x_len)||10;const a=parseInt(i.pv_y_len)||10;const c=parseInt(i.pv_x_size)||160;const r=parseInt(i.pv_y_size)||90;const h=-(o%100%l)*c;const d=-Math.floor(o%100/a)*r;e({width:c,height:r,backgroundImage:`url(${n[Math.floor(o/100)]})`,backgroundPosition:`${h}px ${d}px`})}}static get supportWebp(){try{const t=document.createElement("canvas");if(t.getContext&&t.getContext("2d")){try{return t.toDataURL("image/webp").indexOf("data:image/webp")===0}catch(t){return false}}else{return false}}catch(t){return false}}}function c(t){t.unbind("click")}function r(t){if($(".touch-video-box").length!==0){return}$(".bilibili-player-video-subtitle").before(`\n`);let e=$("video");const i=e.prop("duration");const l=new n(t.get(0));const c=document.querySelector(".touch-video-info");const r=document.querySelector(".touch-video-box");const h=50;let d=100;let u=Math.round(e.prop("volume")*100);const p=_.debounce(t=>{t/=100;if(t<0){t=0}else if(t>1){t=1}e.prop("volume",t);$(".bilibili-player-video-volume-num").text(Math.round(t*100));$(".bui-thumb").css("transform",`translateY(-${48*t}px)`);$(".bui-track-vertical .bui-bar").css("transform",`scaleY(${t})`);if(t===0){$(".bilibili-player-video-btn-volume").addClass("video-state-volume-min");$(".bilibili-player-video-btn-volume").removeClass("video-state-volume-max");e.prop("muted",true)}else if(t===1){$(".bilibili-player-video-btn-volume").removeClass("video-state-volume-min");$(".bilibili-player-video-btn-volume").addClass("video-state-volume-max");e.prop("muted",false)}else{$(".bilibili-player-video-btn-volume").removeClass("video-state-volume-min");$(".bilibili-player-video-btn-volume").removeClass("video-state-volume-max");e.prop("muted",false)}},h);l.action.onActionStart=(t=>{r.classList.add("adjust-opened");c.classList[t==="vertical"?"remove":"add"]("speed");e=$("video");u=Math.round(e.prop("volume")*100);const i=e.css("filter").match(/brightness\((.+)\)/);d=Math.trunc((i?i[1]:1)*100)});const v=new a;const f=t=>{return n=>{const l=e.prop("currentTime");const a=fixed(100*l/i);let r=l+n;let h=fixed(100*r/i);let d=n;if(r>i){r=i;h=100;d=i-l}else if(r<0){r=0;h=0;d=l}const u=`${o(l)} (${a}%) 👇 ${o(r)} (${h}%)`;c.classList.remove("cancel");c.querySelector(".touch-speed").innerHTML=`${t}速`;c.querySelector(".touch-info").innerHTML=`进度: ${n>0?"+":"-"}${s(d)}`;c.querySelector(".touch-result").innerHTML=u;v.getVideoshot(r,t=>$(".videoshot").css(t));$(".touch-progress").css("width",`${h}%`)}};l.action.lowSpeedBackward=f("低");l.action.lowSpeedForward=f("低");l.action.mediumSpeedBackward=f("中");l.action.mediumSpeedForward=f("中");l.action.highSpeedBackward=f("高");l.action.highSpeedForward=f("高");const b=t=>{let e=u+t;let i=Math.abs(t);if(e>100){e=100;i=100-u}else if(e<0){e=0;i=u}const s=`${u} 👉 ${e}`;p(e);c.classList.remove("cancel");c.querySelector(".touch-info").innerHTML=`音量: ${t>0?"+":"-"}${i}`;c.querySelector(".touch-result").innerHTML=s;$(".touch-progress").css("width",`${e}%`)};l.action.volumeUp=b;l.action.volumeDown=b;const m=_.debounce(t=>{e.css("filter",`brightness(${t/100})`)},h);const w=t=>{let e=d+t;let i=Math.abs(t);if(e<0){e=0;i=d}const s=`${d} 👉 ${e}`;m(e);c.classList.remove("cancel");c.querySelector(".touch-info").innerHTML=`亮度: ${t>0?"+":"-"}${i}`;c.querySelector(".touch-result").innerHTML=s;$(".touch-progress").css("width",`${e>100?100:e}%`)};l.action.brightnessUp=w;l.action.brightnessDown=w;l.action.speedCancel=(()=>{c.querySelector(".touch-info").innerHTML=`取消时间调整`;c.classList.add("cancel")});l.action.onActionEnd=(t=>{if(!unsafeWindow.touchPlayerDebug){if(t){if(t.type==="playback"){let s=e.prop("currentTime");s+=t.seconds;if(s<0){s=0}else if(s>i){s=i}e.prop("currentTime",s)}else if(t.type==="volume"){const t=JSON.parse(localStorage.bilibili_player_settings);t.video_status.volume=e.prop("volume");localStorage.bilibili_player_settings=JSON.stringify(t)}}r.classList.remove("adjust-opened")}})}function h(t){if(!t.hasClass("disable-original-hover")){t.addClass("disable-original-hover");const e=unsafeWindow.$(".bilibili-player-video");const i="touch-video-control-show";const s=e.data("events").click[0].handler;const o=new DoubleClickEvent(t=>s(t),()=>t.toggleClass(i));e.unbind("click");o.bind(e[0])}}const d=()=>{SpinQuery.any(()=>$(".bilibili-player-iconfont,.bilibili-player-video-quality-menu"),c);SpinQuery.condition(()=>$(".bilibili-player-video"),t=>t.length>0&&$("video").length>0&&$("video").prop("duration"),r);if(t.touchVideoPlayerDoubleTapControl){new SpinQuery(()=>$(".bilibili-player-area"),t=>t.length>0&&unsafeWindow.$&&unsafeWindow.$(".bilibili-player-video").data("events"),h).start()}};Observer.videoChange(d);e.applyStyle("touchPlayerStyle")}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/trending-videos.min.js"] = (()=>{return(t,e)=>{const i=async(t,e)=>{const i=await Ajax.getJsonWithCredentials(`https://api.bilibili.com/x/web-interface/ranking/index?day=${t}`);if(i.code!==0){throw new Error(i.message)}return i.data.map(e=>({id:e.aid+"-"+t,aid:parseInt(e.aid),title:e.title,upID:e.mid,upName:e.author,coverUrl:e.pic.replace("http://","https://"),description:e.description,durationText:e.duration,playCount:formatCount(e.play),coins:formatCount(e.coins),favorites:formatCount(e.favorites),watchlater:true}))};return{export:{getTrendingVideos:i}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/trending-videos.vue.min.js"] = (()=>{return(a,t)=>{const i=``;t.applyStyleFromText(`.simple-home .trendings{display:flex;flex-direction:column}.simple-home .trendings .header{padding:0 8px}.simple-home .trendings .contents{--card-width:200px;--card-height:250px;--card-count:3;margin-top:16px;display:flex;overflow:auto;height:calc(var(--card-height) + 16px);width:calc((var(--card-width) + 16px) * var(--card-count));scrollbar-width:none!important}@media screen and (max-width:1300px) and (min-width:900px){.simple-home .trendings .contents{--card-count:2}}@media screen and (max-width:1100px) and (min-width:900px){.simple-home .trendings .contents{--card-count:4}}@media screen and (min-width:1550px){.simple-home .trendings .contents{--card-count:4}}.simple-home .trendings .contents::-webkit-scrollbar{width:0!important;height:0!important}.simple-home .trendings .contents .card-wrapper{padding:0 8px;scroll-snap-align:start;flex-shrink:0}`,"trending-videos-style");const n=[{name:"今日",day:1,url:"https://www.bilibili.com/ranking/all/0/0/1"},{name:"三日",day:3,url:"https://www.bilibili.com/ranking"},{name:"一周",day:7,url:"https://www.bilibili.com/ranking/all/0/0/7"}];return{export:Object.assign({template:i},{components:{VideoCard:()=>t.importAsync("video-card.vue")},data(){return{tabs:n,currentTab:n[0],trendingCards:[]}},watch:{currentTab(a){this.updateTrendingTab(a)}},methods:{async updateTrendingTab(a){const{getTrendingVideos:i}=await t.importAsync("trending-videos");this.trendingCards=await i(a.day)},changeTab(a){if(this.currentTab===a){open(a.url,"_blank")}else{this.currentTab=a}}},mounted(){this.updateTrendingTab(this.currentTab)}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/tweets.min.css"] = `.nav-search-submit{display:block!important;color:var(--foreground-color-d)!important;transform:translateX(-125px);-webkit-tap-highlight-color:transparent}.nav-search-submit:hover{color:var(--foreground-color)!important}#nav_searchform{transition:.3s ease-out;box-shadow:none;width:0!important;padding:0!important}.preserve-rank>a{opacity:0!important;pointer-events:none}.showSearch .preserve-rank>a{opacity:.382!important;pointer-events:initial}.showSearch #nav_searchform{box-shadow:0 2px 10px 1px #0002;width:250px!important}.showSearch .nav-search-submit,.showSearch .nav-search-submit:hover{color:#888!important;transform:none}@media only screen and (max-width:1291px){.showSearch #nav_searchform{width:140px!important}}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/url-params-clean.min.js"] = (()=>{return(t,e)=>{const r=["spm_id_from","from_source","from_spmid","from","seid","share_source","share_medium","share_plat","share_tag","bbid","ts","timestamp","unique_k","rt","tdsourcetag","accept_quality","broadcast_type","current_qn","current_quality","playurl_h264","playurl_h265","quality_description","network","network_status","platform_network_status"];const o=[/game\.bilibili\.com\/fgo/];const s=t=>{return t};const a=()=>{const t=location.search.substring(1).split("&");const e=t.filter(t=>{if(r.some(e=>t.startsWith(`${e}=`))){return false}return true});const o=e.join("&");const a=s(document.URL.replace(location.search,""));const n=o?"?"+o:"";const c=a+n;if(c!==document.URL){console.log("[URL params clean]",document.URL,c);history.replaceState({},document.title,c)}};fullyLoaded(()=>{a();Observer.videoChange(()=>a())})}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/v-checkbox.vue.min.js"] = (()=>{return(e,c)=>{const i=` {{title}}
`;c.applyStyleFromText(`.v-checkbox{font-size:10pt;cursor:pointer;display:flex;align-items:center}.v-checkbox .mdi{font-size:15pt;line-height:1}.v-checkbox .content{flex-grow:1;text-align:left;padding:0 8px}.v-checkbox .mdi-checkbox-marked-circle{color:var(--theme-color);position:absolute;top:0;left:0;transform:scale(0);transition-timing-function:cubic-bezier(.6,-.28,.74,.05)}.v-checkbox .mdi-checkbox-blank-circle-outline{color:#8884;position:relative}.v-checkbox.checked .mdi-checkbox-blank-circle-outline{color:var(--theme-color)}.v-checkbox.checked .mdi-checkbox-marked-circle{transform:scale(1);transition-timing-function:cubic-bezier(.18,.89,.32,1.28)}`,"v-checkbox-style");return{export:Object.assign({template:i},{props:["checked","title"],methods:{toggleCheck(){this.$emit("update:checked",!this.checked)}}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/v-dropdown.vue.min.js"] = (()=>{return(o,r)=>{const e=`{{ value }}
`;r.applyStyleFromText(`.v-dropdown{--background-color:#eee;position:relative;background-color:var(--background-color);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-width:100px;border-radius:var(--corner-radius)}body.dark .v-dropdown{--background-color:#333}.v-dropdown.round{border-radius:14px;padding:0 4px}.v-dropdown .dropdown-menu{transform-origin:top;transform:translateY(-4px) translateX(-50%);pointer-events:none;opacity:0;position:absolute;top:calc(100% + 2px);left:50%;background-color:var(--background-color);z-index:1;transition:.2s ease-out;box-shadow:rgba(0,0,0,.2) 0 4px 8px 0;border-radius:var(--corner-radius)}.v-dropdown .dropdown-menu.opened{transform:translateY(0) translateX(-50%);pointer-events:initial;opacity:1}.v-dropdown .dropdown-menu li{padding:4px 16px;box-sizing:content-box;white-space:nowrap;min-width:64px;text-align:center;cursor:pointer;color:inherit;background-color:transparent;border-radius:var(--corner-radius)}.v-dropdown .dropdown-menu li:hover{background-color:rgba(0,0,0,.08)}body.dark .v-dropdown .dropdown-menu li:hover{background-color:rgba(0,0,0,.16)}.v-dropdown .mdi-chevron-down{font-size:16pt;line-height:1;transform:rotate(0)}.v-dropdown .dropdown-menu.opened~.mdi-chevron-down{transform:rotate(180deg)}.v-dropdown .selected{user-select:none;padding:4px 8px}`,"v-dropdown-style");return{export:Object.assign({template:e},{props:["items","value","round"],data(){return{dropdownOpen:false}},methods:{toggleDropdown(){this.dropdownOpen=!this.dropdownOpen;if(this.dropdownOpen){document.addEventListener("click",o=>{const r=o.target;if(r===this.$el||this.$el.contains(r)){return}this.dropdownOpen=false},{once:true,capture:true})}},select(o){if(o!==this.value){this.$emit("update:value",o);this.$emit("change",o)}}}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/min/video-card.vue.min.js"] = (()=>{return(e,i)=>{const t=`{{durationText}}
{{watchlater ? '已添加' : '稍后再看'}}
{{title}} {{description}}
{{upName}}
{{like}} {{coins}} {{favorites}} {{playCount}} {{danmakuCount}}