import{n as e}from"./rolldown-runtime-DAXXjFlN.js";import{Dn as t,En as n,Fn as r,Mn as i,Pn as a,Wr as o,ar as s,dn as c,jn as l,xr as u,zn as d}from"./vendor-6bGPahzI.js";import{X as f,Y as p}from"./vendor-quasar-Bl8FKFQs.js";import{$n as m,Da as h,Nt as g,Oa as _,Pt as v,Qn as y,fr as b,ur as x}from"./ws-BfVPV0ME.js";import{f as S,p as C}from"./index-BfA-u3L9.js";import{m as w,n as T,p as E,t as D}from"./AMPlaybackActions-DE3IQYo9.js";import{i as O,n as k,r as A,t as j}from"./QueueButton-BwAUAUXa.js";import{n as M,t as N}from"./AMPLCD-C4iMq0Av.js";var P=e((()=>{})),F,I,L,R,z,B,V,H=e((()=>{c(),p(),v(),C(),x(),y(),M(),w(),O(),k(),T(),P(),_(),F={class:`lcdplayer-info window-drag`},I={key:0,class:`amp-lcd-container`},L={class:`lcdplayer-controls window-drag`,id:`lcdplayer-controls-listen`},R={class:`lcdplayer-side window-drag`},z={class:`volume-slider q-mr-sm`},B={__name:`LCDPlayerTop`,props:{showLcd:{type:Boolean,default:!0}},setup(e){let c=f(),p=b(),h=l(()=>b().getWindowControlsSide()),_=m(),v=l(()=>!!(g(`visual.overlayDrawer`)||c.screen.width<850)),y=l(()=>!!(p.rightDrawerOpen&&p.isIfLayout&&h.value==`right`||p.leftDrawerOpen&&p.isIfLayout&&h.value==`left`));return(c,l)=>o(_).isAuthorized?(s(),r(`div`,{key:0,class:u([`lcdplayer-top lcdPlayer`,{"left-controls":h.value==`left`,"no-controls":y.value&&!v.value||o(p).hasTitleBar}]),onDblclick:l[0]||=n(e=>o(S).maximizeWindow(),[`self`])},[i(`div`,F,[e.showLcd?(s(),r(`div`,I,[d(N)])):a(``,!0)]),i(`div`,L,[d(D)]),i(`div`,R,[i(`div`,z,[d(E)]),h.value==`left`||o(p).hasTitleBar?(s(),r(t,{key:0},[d(A),d(j)],64)):a(``,!0)])],34)):a(``,!0)}},V=h(B,[[`__scopeId`,`data-v-31c9c28c`]])}));H();export{V as default,H as t};