import{u as S,V as c,a as i,m as A,b as R}from"./VInput-BWBQqjuk.js";import{g as U,p as _,r as D,x as E,c0 as z,D as G,c1 as M,F as m,G as p,aI as X,au as $,U as j,a0 as n,X as r,I as q,ab as b,ag as f,E as l}from"./index-B-lUZalq.js";const H=_({...A(),...$(R(),["inline"])},"VCheckbox"),L=U()({name:"VCheckbox",inheritAttrs:!1,props:H(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,a){let{attrs:s,slots:u}=a;const o=D(e,"modelValue"),{isFocused:y,focus:V,blur:g}=S(e),d=E(),v=z();return G(()=>{const[k,h]=M(s),B=c.filterProps(e),w=i.filterProps(e);return m(c,p({ref:d,class:["v-checkbox",e.class]},k,B,{modelValue:o.value,"onUpdate:modelValue":t=>o.value=t,id:e.id||`checkbox-${v}`,focused:y.value,style:e.style}),{...u,default:t=>{let{id:P,messagesId:x,isDisabled:C,isReadonly:I,isValid:F}=t;return m(i,p(w,{id:P.value,"aria-describedby":x.value,disabled:C.value,readonly:I.value},h,{error:F.value===!1,modelValue:o.value,"onUpdate:modelValue":N=>o.value=N,onFocus:V,onBlur:g}),u)}})}),X({},d)}}),O=j({__name:"NowPlayingBadge",props:{showBadge:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},badgeStyle:{default:""},iconStyle:{default:""}},setup(e){return(a,s)=>(r(),n(q,null,[a.showBadge?(r(),n("span",{key:0,style:f(a.badgeStyle),class:"now-playing-badge","aria-label":"Now playing"}," Now playing ",4)):b("",!0),a.showIcon?(r(),n("div",{key:1,style:f(a.iconStyle),class:"now-playing-icon"},[...s[0]||(s[0]=[l("div",{class:"bar"},null,-1),l("div",{class:"bar"},null,-1),l("div",{class:"bar"},null,-1),l("div",{class:"bar"},null,-1)])],4)):b("",!0)],64))}});export{L as V,O as _};
