import{Ft as e,H as t,K as n,Mt as r,Q as i,V as a,Z as o,_t as s,at as c,d as l,ht as u,jt as d,ot as f,s as p,st as m}from"./BA99CCI5.js";import"./xihTtKlq.js";import"./DGo8yE5j.js";import{t as h}from"./BBtCGbx62.js";function g(g,_){r(_,!1);let v=u(),y=u(),b=p(_,`row`,8),x={TRACE:`bg-neutral-100 text-neutral-700 dark:bg-neutral-800 dark:text-neutral-300`,DEBUG:`bg-cyan-100 text-cyan-800 dark:bg-cyan-900 dark:text-cyan-200`,INFO:`bg-emerald-100 text-emerald-800 dark:bg-emerald-900 dark:text-emerald-200`,WARN:`bg-amber-100 text-amber-800 dark:bg-amber-900 dark:text-amber-200`,ERROR:`bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200`,FATAL:`bg-red-200 text-red-900 dark:bg-red-950 dark:text-red-100`};c(()=>o(b()),()=>{s(v,b().level.toUpperCase())}),c(()=>i(v),()=>{s(y,x[i(v)]||`bg-neutral-100 text-neutral-700 dark:bg-neutral-800 dark:text-neutral-300`)}),f(),l(),h(g,{get customVariant(){return i(y)},size:`sm`,rounded:`md`,children:(r,o)=>{e();var s=n();m(()=>a(s,i(v))),t(r,s)},$$slots:{default:!0}}),d()}function _(g,_){r(_,!1);let v=u(),y=p(_,`row`,8);c(()=>o(y()),()=>{s(v,y().source||y().logger||`-`)}),f(),l(),h(g,{variant:`secondary`,size:`sm`,rounded:`md`,mono:!0,children:(r,o)=>{e();var s=n();m(()=>a(s,i(v))),t(r,s)},$$slots:{default:!0}}),d()}export{g as n,_ as t};