import{e3 as r,j as s,es as t,ar as i,as as n,Z as p}from"./index-dP1W1_bd.js";const l={[r.CACHED]:({onlineEnabled:e,size:a})=>s.jsx(t,{mainText:e?"Online Cached":"Offline Cached",variant:e?"green":"black",size:a==="sm"?"14.3px":"9px"}),[r.STREAM]:({onlineEnabled:e,size:a})=>s.jsx(i,{mainText:e?"Online Stream":"Offline Stream",children:s.jsx(n,{icon:p.streamed,color:e?"labels.green":"black",size:a,ml:"-1.5px"})}),[r.ON_DEMAND]:({onlineEnabled:e,size:a})=>s.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"})=>l[e]({onlineEnabled:a,size:x});export{o as F};
