import{n as e}from"./rolldown-runtime-DAXXjFlN.js";import{An as t,Cn as n,Dn as r,Fn as i,On as a,Sn as o,er as s,gr as c,jn as l,sn as u,zr as d}from"./vendor-Dcerr41Y.js";import{X as f,Y as p}from"./vendor-quasar-CU_esu6y.js";import{Yn as m,Zn as h,b as g,di as _,h as v,m as y,ui as b,x}from"./ws-DjAvcWfg.js";import{m as S,p as C}from"./index-IojTodLd.js";import{m as w,n as T,p as E,t as D}from"./AMPlaybackActions-BhoorvYm.js";import{i as O,n as k,r as A,t as j}from"./QueueButton-D2xC2ASx.js";import{n as M,t as N}from"./AMPLCD-CIQa0xvF.js";var P=e((()=>{})),F,I,L,R,z,B,V,H=e((()=>{u(),p(),x(),S(),m(),y(),M(),w(),O(),k(),T(),P(),_(),F={class:`lcdplayer-controls window-drag`,id:`lcdplayer-controls-listen`},I={class:`lcdplayer-info window-drag`},L={key:0,class:`amp-lcd-container`},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 u=f(),p=h(),m=r(()=>h().getWindowControlsSide()),_=v(),y=r(()=>!!(g(`visual.overlayDrawer`)||u.screen.width<850)),b=r(()=>!!(p.rightDrawerOpen&&p.isIfLayout&&m.value==`right`||p.leftDrawerOpen&&p.isIfLayout&&m.value==`left`));return(r,u)=>d(_).isAuthorized?(s(),l(`div`,{key:0,class:c([`lcdplayer-top lcdPlayer`,{"left-controls":m.value==`left`,"no-controls":b.value&&!y.value||d(p).hasTitleBar}]),onDblclick:u[0]||=o(e=>d(C).maximizeWindow(),[`self`])},[a(`div`,F,[i(D)]),a(`div`,I,[e.showLcd?(s(),l(`div`,L,[i(N)])):t(``,!0)]),a(`div`,R,[a(`div`,z,[i(E)]),m.value==`left`||d(p).hasTitleBar?(s(),l(n,{key:0},[i(A),i(j)],64)):t(``,!0)])],34)):t(``,!0)}},V=b(B,[[`__scopeId`,`data-v-d45a055b`]])}));H();export{V as default,H as t};