import{du as s,j as r,dY as t,am as n,an as i,T as m}from"./index-CK33qGU_.js";const p={[s.CACHED]:({onlineEnabled:e,size:a})=>r.jsx(t,{mainText:e?"Online Cached":"Offline Cached",variant:e?"green":"black",size:a==="sm"?"14.3px":"9px"}),[s.STREAM]:({onlineEnabled:e,size:a})=>r.jsx(n,{mainText:e?"Online Stream":"Offline Stream",children:r.jsx(i,{icon:m.streamed,color:e?"labels.green":"black",size:a,ml:"-1.5px"})}),[s.ON_DEMAND]:({onlineEnabled:e,size:a})=>r.jsx(t,{mainText:e?"Online External":"Offline External",variant:"white",size:a==="sm"?"14.3px":"9px",sx:{borderColor:e?"labels.green":"black"}})},o=({type:e,onlineEnabled:a,size:x="sm"})=>p[e]({onlineEnabled:a,size:x});export{o as F};
