import{n as e}from"./rolldown-runtime-CMxvf4Kt.js";import{Bn as t,_n as n,cn as r,gn as i,ln as a,mn as o,pn as s,qt as c,tr as l,wr as u,xn as d}from"./vendor-C4JLrdLj.js";import{Q as f,Z as p}from"./vendor-quasar-BMuYn1t2.js";import{Bn as m,Hn as h,Jr as g,b as _,h as v,m as y,qr as b,x}from"./ws-JRT2XE7Y.js";import{T as S,w as C}from"./index-Dhwlon97.js";import{m as w,n as T,p as E,t as D}from"./AMPlaybackActions-CHMHzCPG.js";import{i as O,n as k,r as A,t as j}from"./QueueButton-CvYMzy0n.js";import{n as M,t as N}from"./AMPLCD-BtIxCfTU.js";var P=e((()=>{})),F,I,L,R,z,B,V,H=e((()=>{c(),p(),x(),S(),m(),y(),M(),w(),O(),k(),T(),P(),g(),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 c=f(),p=h(),m=s(()=>h().getWindowControlsSide()),g=v(),y=s(()=>!!(_(`visual.overlayDrawer`)||c.screen.width<850)),b=s(()=>!!(p.rightDrawerOpen&&p.isIfLayout&&m.value==`right`||p.leftDrawerOpen&&p.isIfLayout&&m.value==`left`));return(s,c)=>u(g).isAuthorized?(t(),n(`div`,{key:0,class:l([`lcdplayer-top lcdPlayer`,{"left-controls":m.value==`left`,"no-controls":b.value&&!y.value||u(p).hasTitleBar}]),onDblclick:c[0]||=r(e=>u(C).maximizeWindow(),[`self`])},[o(`div`,F,[d(D)]),o(`div`,I,[e.showLcd?(t(),n(`div`,L,[d(N)])):i(``,!0)]),o(`div`,R,[o(`div`,z,[d(E)]),m.value==`left`||u(p).hasTitleBar?(t(),n(a,{key:0},[d(A),d(j)],64)):i(``,!0)])],34)):i(``,!0)}},V=b(B,[[`__scopeId`,`data-v-d45a055b`]])}));H();export{V as default,H as t};