UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 2.32 kB
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{dj as t,mj as n,pj as r}from"./control-ui-boot-shared-DFTSUQQ0.js";import{C as i,O as a,U as o,d as s,g as c,j as l,l as u,o as d,u as f,x as p}from"./solid-runtime-C416s-HC.js";import{n as m,t as h}from"./en-debug-B2KGEt5m.js";var g;function _(){return(_=e((()=>{h(),m(),g={lanes:{id:`lanes`,titleKey:`debug.overlay.lanes`},status:{id:`status`,titleKey:`debug.overlay.status`},"active-runs":{id:`active-runs`,titleKey:`debug.overlay.activeRuns`},events:{id:`events`,titleKey:`debug.overlay.events`}}})))()}function v(e){var t=x(),r=t.firstChild;return s(r,l(a,{get when(){return e.id===`status`},get fallback(){return l(a,{get when(){return e.id===`lanes`},get fallback(){var t=C();return s(t,l(i,{get each(){return Array.from({length:e.id===`events`?3:2})},children:()=>w()})),t},get children(){var e=S(),t=e.firstChild,r=t.nextSibling;return s(e,l(i,{each:[`lane`,`active`,`queued`,`blocked`],children:e=>(()=>{var t=T();return s(t,()=>n(`debug.lanes.${e}`)),t})()}),t),s(e,l(i,{get each(){return Array.from({length:12})},children:()=>w()}),r),e}})},get children(){var e=b();return s(e,l(i,{each:[`cpu`,`memory`,`delayP99`],children:e=>(()=>{var t=E(),r=t.firstChild;return s(r,()=>n(`debug.overlay.${e}`)),t})()})),e}})),u(()=>({e:[`debug-overlay__placeholder`,`debug-overlay__placeholder--${e.id}`],t:n(`common.loading`)}),({e,t:n},r)=>{d(t,e,r?.e),n!==r?.t&&c(t,`aria-label`,n)}),t}function y(){return l(i,{get each(){return Object.values(g)},children:e=>(()=>{var t=D(),r=t.firstChild;return s(r,()=>n(e.titleKey)),s(t,l(v,{get id(){return e.id}}),null),t})()})}var b,x,S,C,w,T,E,D;function O(){return(O=e((()=>{f(),o(),h(),t(),_(),b=p(`<div class=debug-overlay__placeholder-vitals>`),x=p(`<div role=status><div class=debug-overlay__placeholder-content aria-hidden=true>`),S=p(`<div class=debug-overlay__placeholder-lanes><!><!>`),C=p(`<div class=debug-overlay__placeholder-rows>`),w=p(`<div class="skeleton debug-overlay__placeholder-line">`),T=p(`<span>`),E=p(`<div class=debug-overlay__placeholder-vital><span></span><div class="skeleton debug-overlay__placeholder-value"></div><div class="skeleton debug-overlay__placeholder-line">`),D=p(`<section class=debug-overlay__section aria-busy=true><h3>`),r(m)})))()}export{_ as a,g as i,v as n,O as r,y as t};