(()=>{return(t,e)=>{return{widget:{content:`\n\n`,condition:()=>{return document.URL.match(/https:\/\/live.bilibili.com\/(blanc\/)?([\d]+)/)&&"requestPictureInPicture"in HTMLVideoElement.prototype},success:()=>{dq("#live-pip").addEventListener("click",()=>{if(document.pictureInPictureElement===dq("video")){document.exitPictureInPicture()}else{dq("video").requestPictureInPicture()}})}}}}})();