openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
2 lines • 2.4 kB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./control-ui-connection-D5QrEAFW.css"])))=>i.map(i=>d[i]);
import{n as e}from"./rolldown-runtime-CNOWq4Kh.js";import{lu as t,uu as n}from"./control-ui-connection-Bfj9beF_.js";import{BA as r,dj as i,mj as a,pj as o,zA as s}from"./control-ui-boot-shared-DFTSUQQ0.js";import{A as c,F as l,O as u,U as d,d as f,g as p,gt as m,j as h,l as g,m as _,s as v,u as y,x as b}from"./solid-runtime-C416s-HC.js";import{n as x,t as S}from"./en-debug-B2KGEt5m.js";function C(e){let n=c(()=>e.body),r,i,o=!1,d=l(()=>(i?.update(e.mode),e.mode));m(()=>(t(async()=>{let{createDebugOverlayLayout:e}=await import(`./debug-overlay-layout.runtime-Bo0yW-6m.js`);return{createDebugOverlayLayout:e}},__vite__mapDeps([0]),import.meta.url).then(({createDebugOverlayLayout:e})=>{!o&&r.isConnected&&(i=e(r),i.update(d()))}).catch(e=>console.error(`System busyness position controls could not load. Reload to retry.`,e)),()=>{o=!0,i?.disconnect()}));var v=T(),y=v.firstChild,b=y.firstChild,x=b.firstChild,S=b.nextSibling.firstChild,C=S.nextSibling,E=y.nextSibling;return _(()=>t=>{r=t,e.ref?.(t)},v),f(b,h(u,{get when(){return d()!==`minimized`},get children(){var e=w();return f(e,()=>a(`debug.overlay.eyebrow`)),e}}),x),f(x,()=>a(`debug.overlay.title`)),S._$$click=()=>e.onToggleMode(),f(S,h(s,{get name(){return d()===`minimized`?`maximize`:`minimize`}})),C._$$click=()=>e.onClose(),f(C,h(s,{name:`x`})),f(E,n),g(()=>({e:d()===`minimized`,t:a(`debug.overlay.title`),a:a(`debug.overlay.move`),o:a(d()===`minimized`?`debug.overlay.expand`:`debug.overlay.minimize`),i:a(d()===`minimized`?`debug.overlay.expand`:`debug.overlay.minimize`),n:a(`common.close`)}),({e,t,a:n,o:r,i,n:a},o)=>{e!==o?.e&&v.classList.toggle(`debug-overlay--minimized`,e),t!==o?.t&&p(v,`aria-label`,t),n!==o?.a&&p(y,`aria-label`,n),r!==o?.o&&p(S,`aria-label`,r),i!==o?.i&&p(S,`title`,i),a!==o?.n&&p(C,`aria-label`,a)}),v}var w,T;function E(){return(E=e((()=>{y(),d(),r(),S(),i(),n(),w=b(`<div class=debug-overlay__eyebrow>`),T=b(`<aside class=debug-overlay><header class=debug-overlay__header role=group tabindex=0><div><h2></h2></div><div class=debug-overlay__controls><button type=button class=debug-overlay__control></button><button type=button class="debug-overlay__control debug-overlay__close"></button></div></header><div class=debug-overlay__body>`),o(x),v([`click`])})))()}export{E as n,C as t};