!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/control-background"]=t():o["video/player/control-background"]=t()}(self,(function(){return function(){var o,t,e={257:function(o,t,e){var n=e(645)((function(o){return o[1]}));n.push([o.id,".bilibili-player-video-control-mask {\n background: transparent !important;\n}\n.bilibili-player-video-control .bilibili-player-video-control-bottom {\n background: rgba(0, 0, 0, var(--video-control-opacity)) !important;\n margin: 5px 0 0 0 !important;\n padding: 9px 0 0 !important;\n height: 30px !important;\n}\nbody.player-mode-webfullscreen .bilibili-player-video-control .bilibili-player-video-control-bottom, body.player-fullscreen-fix .bilibili-player-video-control .bilibili-player-video-control-bottom, body.player-full-win .bilibili-player-video-control .bilibili-player-video-control-bottom {\n margin: -2px 0 0 0 !important;\n padding: 13px 0 0 !important;\n height: 45px !important;\n}\n\nbody.video-control-progress-background .bui-track-video-progress .bui-bar-wrap {\n background: rgba(0, 0, 0, var(--video-control-opacity)) !important;\n}",""]),o.exports=n},645:function(o){"use strict"; // eslint-disable-next-line func-names o.exports=function(o){var t=[];return t.toString=function(){return this.map((function(t){var e=o(t);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e})).join("")}, // eslint-disable-next-line func-names t.i=function(o,e,n){"string"==typeof o&&( // eslint-disable-next-line no-param-reassign o=[[null,o,""]]);var r={};if(n)for(var i=0;i{const{addComponentListener:t}=await Promise.resolve().then(r.t.bind(r,407,23));t(`${o.name}.includeProgress`,(o=>{document.body.classList.toggle("video-control-progress-background",o)}),!0),t(`${o.name}.opacity`,lodash.debounce((o=>{document.documentElement.style.setProperty("--video-control-opacity",(o/100).toString())}),200),!0)},instantStyles:[{name:"playerControlBackground",style:()=>Promise.resolve().then(r.t.bind(r,932,23))}],urlInclude:o.playerUrls,options:{opacity:{displayName:"不透明度(%)",defaultValue:64,slider:{}},includeProgress:{displayName:"包括进度条",defaultValue:!0}},commitHash:"03af3fac2fa27b4af88b8219ade89af08e2b1509",coreVersion:"2.1.6"}}(),i=i.component}()}));