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