import{D as t,y as a,z as o,U as l,A as r,O as i}from"./EchoChannel-Bg1-kez_.js";const n={__name:"SessionGroup",props:{group:{required:!0,type:Object},isActive:{required:!0,type:Boolean},small:{type:Boolean,default:!1}},setup(e){return(u,s)=>(t(),a("div",{class:r(["border-2 border-qorus-purple text-qorus-purple h-fit w-fit rounded-full py-2 px-4 text-xs",[e.isActive&&"bg-qorus-purple !text-white",e.small&&"!h-fit !text-2xs !leading-[1.25] !py-2"]]),style:i([e.isActive?`background-color: ${e.group.primary}; border-color: ${e.group.primary}; color: ${e.group.secondary} !important;`:`border-color: ${e.group.primary}; color: ${e.group.primary};`])},[o("span",{class:r(["font-light uppercase",{"whitespace-nowrap":!e.small}])},l(e.group.name.length>25?`${e.group.name.slice(0,25)}...`:e.group.name),3)],6))}};export{n as default};