@praxisjs/devtools 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,33 +1,33 @@
1
- var Bt = Object.create;
1
+ var Yt = Object.create;
2
2
  var pe = Object.defineProperty;
3
- var Ht = Object.getOwnPropertyDescriptor;
3
+ var Jt = Object.getOwnPropertyDescriptor;
4
4
  var Ae = (r, t) => (t = Symbol[r]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + r), J = (r) => {
5
5
  throw TypeError(r);
6
6
  };
7
- var Fe = (r, t, e) => t in r ? pe(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
8
- var Ne = (r, t) => pe(r, "name", { value: t, configurable: !0 });
9
- var b = (r) => [, , , Bt(r?.[Ae("metadata")] ?? null)], Be = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Y = (r) => r !== void 0 && typeof r != "function" ? J("Function expected") : r, Gt = (r, t, e, n, i) => ({ kind: Be[r], name: t, metadata: n, addInitializer: (s) => e._ ? J("Already initialized") : i.push(Y(s || null)) }), Tt = (r, t) => Fe(t, Ae("metadata"), r[3]), a = (r, t, e, n) => {
10
- for (var i = 0, s = r[t >> 1], l = s && s.length; i < l; i++) t & 1 ? s[i].call(e) : n = s[i].call(e, n);
7
+ var Be = (r, t, e) => t in r ? pe(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
8
+ var Ue = (r, t) => pe(r, "name", { value: t, configurable: !0 });
9
+ var b = (r) => [, , , Yt(r?.[Ae("metadata")] ?? null)], He = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Y = (r) => r !== void 0 && typeof r != "function" ? J("Function expected") : r, qt = (r, t, e, n, i) => ({ kind: He[r], name: t, metadata: n, addInitializer: (a) => e._ ? J("Already initialized") : i.push(Y(a || null)) }), Xt = (r, t) => Be(t, Ae("metadata"), r[3]), s = (r, t, e, n) => {
10
+ for (var i = 0, a = r[t >> 1], c = a && a.length; i < c; i++) t & 1 ? a[i].call(e) : n = a[i].call(e, n);
11
11
  return n;
12
- }, d = (r, t, e, n, i, s) => {
13
- var l, p, g, h, m, u = t & 7, k = !!(t & 8), z = !!(t & 16), _ = u > 3 ? r.length + 1 : u ? k ? 1 : 2 : 0, U = Be[u + 5], W = u > 3 && (r[_ - 1] = []), Ft = r[_] || (r[_] = []), L = u && (!z && !k && (i = i.prototype), u < 5 && (u > 3 || !z) && Ht(u < 4 ? i : { get [e]() {
14
- return Ue(this, s);
15
- }, set [e](C) {
16
- return Oe(this, s, C);
12
+ }, l = (r, t, e, n, i, a) => {
13
+ var c, p, g, h, f, u = t & 7, k = !!(t & 8), z = !!(t & 16), j = u > 3 ? r.length + 1 : u ? k ? 1 : 2 : 0, F = He[u + 5], W = u > 3 && (r[j - 1] = []), Wt = r[j] || (r[j] = []), $ = u && (!z && !k && (i = i.prototype), u < 5 && (u > 3 || !z) && Jt(u < 4 ? i : { get [e]() {
14
+ return Oe(this, a);
15
+ }, set [e](M) {
16
+ return Fe(this, a, M);
17
17
  } }, e));
18
- u ? z && u < 4 && Ne(s, (u > 2 ? "set " : u > 1 ? "get " : "") + e) : Ne(i, e);
19
- for (var ce = n.length - 1; ce >= 0; ce--)
20
- h = Gt(u, e, g = {}, r[3], Ft), u && (h.static = k, h.private = z, m = h.access = { has: z ? (C) => Rt(i, C) : (C) => e in C }, u ^ 3 && (m.get = z ? (C) => (u ^ 1 ? Ue : Wt)(C, i, u ^ 4 ? s : L.get) : (C) => C[e]), u > 2 && (m.set = z ? (C, de) => Oe(C, i, de, u ^ 4 ? s : L.set) : (C, de) => C[e] = de)), p = (0, n[ce])(u ? u < 4 ? z ? s : L[U] : u > 4 ? void 0 : { get: L.get, set: L.set } : i, h), g._ = 1, u ^ 4 || p === void 0 ? Y(p) && (u > 4 ? W.unshift(p) : u ? z ? s = p : L[U] = p : i = p) : typeof p != "object" || p === null ? J("Object expected") : (Y(l = p.get) && (L.get = l), Y(l = p.set) && (L.set = l), Y(l = p.init) && W.unshift(l));
21
- return u || Tt(r, i), L && pe(i, e, L), z ? u ^ 4 ? s : L : i;
22
- }, f = (r, t, e) => Fe(r, typeof t != "symbol" ? t + "" : t, e), ue = (r, t, e) => t.has(r) || J("Cannot " + e), Rt = (r, t) => Object(t) !== t ? J('Cannot use the "in" operator on this value') : r.has(t), Ue = (r, t, e) => (ue(r, t, "read from private field"), e ? e.call(r) : t.get(r));
23
- var Oe = (r, t, e, n) => (ue(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e), Wt = (r, t, e) => (ue(r, t, "access private method"), e);
24
- import { jsxs as c, jsx as o } from "@praxisjs/jsx/jsx-runtime";
25
- import { StatelessComponent as w, StatefulComponent as R } from "@praxisjs/core";
26
- import { Component as x, State as M } from "@praxisjs/decorators";
27
- import { render as He } from "@praxisjs/runtime";
28
- import { computed as Yt } from "@praxisjs/core/internal";
29
- const At = "data:image/svg+xml,%3csvg%20width='1024'%20height='1024'%20viewBox='0%200%201024%201024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M605.411%20445.66L641.322%20498.293L641.342%20498.278L697.538%20578.57L742.673%20512.806L512.5%20178.878L281.327%20512.806L512.5%20848.182L603.519%20715.561L650.559%20782.134L512.701%20983L187%20510.478L512.701%2040L837%20510.478L698.206%20712.709L668.895%20671.104L604.033%20578.775L512%20712.504L373.199%20511.5L512.233%20309.092L584.13%20414.469L536.746%20480.456L513.69%20445.66L466.305%20511.5L512.166%20577.425L556.48%20513.91L605.411%20445.66Z'%20fill='url(%23paint0_linear_3024_20)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3024_20'%20x1='512'%20y1='40'%20x2='512'%20y2='983'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239B76FF'%20stop-opacity='0.86'/%3e%3cstop%20offset='1'%20stop-color='%232D246B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Jt = '*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:host{all:initial;display:block;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}input::placeholder{color:#6f6a8f}input:focus{outline:none;box-shadow:0 0 0 2px #9b90e64d}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#9b90e633;border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#9b90e666}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.bottom-0{bottom:0}.bottom-5{bottom:1.25rem}.left-0{left:0}.right-0{right:0}.right-5{right:1.25rem}.top-0{top:0}.top-full{top:100%}.z-\\[2147483647\\]{z-index:2147483647}.z-10{z-index:10}.grid{display:grid}.grid-cols-\\[1\\.2fr_0\\.8fr_1fr_auto\\]{grid-template-columns:1.2fr .8fr 1fr auto}.m6{margin:1.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mr-\\[2px\\]{margin-right:2px}.ms{margin-inline-start:1rem}.mt-1{margin-top:.25rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.h-\\[13px\\]{height:13px}.h-\\[22px\\]{height:22px}.h-\\[2px\\]{height:2px}.h-\\[32px\\]{height:32px}.h-\\[6px\\]{height:6px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-3{height:.75rem}.h-7{height:1.75rem}.h-full{height:100%}.h-screen{height:100vh}.max-w-\\[200px\\]{max-width:200px}.min-w-0{min-width:0}.w-\\[13px\\]{width:13px}.w-\\[22px\\]{width:22px}.w-\\[2px\\]{width:2px}.w-\\[6px\\]{width:6px}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-4{width:1rem}.w-full{width:100%}.w-px{width:1px}.flex{display:flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.cursor-\\[ew-resize\\]{cursor:ew-resize}.cursor-\\[ns-resize\\]{cursor:ns-resize}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[6px\\]{gap:6px}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-border{--un-border-opacity:.25;border-color:rgba(155,144,230,var(--un-border-opacity))}.border-warn{--un-border-opacity:1;border-color:rgb(217 119 6 / var(--un-border-opacity))}.hover\\:border-accent:hover{--un-border-opacity:1;border-color:rgb(155 144 230 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.bg-\\[rgba\\(124\\,109\\,214\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(124,109,214,var(--un-bg-opacity))}.bg-\\[rgba\\(14\\,165\\,122\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(14,165,122,var(--un-bg-opacity))}.bg-\\[rgba\\(155\\,144\\,230\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-\\[rgba\\(217\\,119\\,6\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(217,119,6,var(--un-bg-opacity))}.bg-\\[rgba\\(220\\,38\\,38\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(220,38,38,var(--un-bg-opacity))}.bg-\\[rgba\\(74\\,222\\,128\\,0\\.12\\)\\]{--un-bg-opacity:.12;background-color:rgba(74,222,128,var(--un-bg-opacity))}.bg-accent{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.bg-bg{--un-bg-opacity:1;background-color:rgb(15 13 23 / var(--un-bg-opacity))}.bg-border{--un-bg-opacity:.25;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-header{--un-bg-opacity:1;background-color:rgb(22 19 38 / var(--un-bg-opacity))}.bg-input,.bg-section{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.bg-selected{--un-bg-opacity:1;background-color:rgb(34 30 61 / var(--un-bg-opacity))}.bg-soft{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-subtle{--un-bg-opacity:1;background-color:rgb(111 106 143 / var(--un-bg-opacity))}.bg-success{--un-bg-opacity:1;background-color:rgb(14 165 122 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.hover\\:bg-accent:hover{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.hover\\:bg-section:hover{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.hover\\:bg-soft:hover{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.p-1{padding:.25rem}.px{padding-left:1rem;padding-right:1rem}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-\\[2px\\]{padding-top:2px;padding-bottom:2px}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pl-\\[10px\\]{padding-left:10px}.pl-\\[56px\\]{padding-left:56px}.pl-1{padding-left:.25rem}.pr-\\[14px\\]{padding-right:14px}.pr-3{padding-right:.75rem}.text-center{text-align:center}.text-right{text-align:right}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[20px\\]{font-size:20px}.text-\\[9px\\]{font-size:9px}.text-\\[\\#0ea57a\\]{--un-text-opacity:1;color:rgb(14 165 122 / var(--un-text-opacity))}.text-\\[\\#4ade80\\]{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-\\[\\#7c6dd6\\]{--un-text-opacity:1;color:rgb(124 109 214 / var(--un-text-opacity))}.text-\\[\\#9b90e6\\],.text-accent{--un-text-opacity:1;color:rgb(155 144 230 / var(--un-text-opacity))}.text-\\[\\#d97706\\],.text-warn{--un-text-opacity:1;color:rgb(217 119 6 / var(--un-text-opacity))}.text-\\[\\#dc2626\\]{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-muted{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.text-subtle{--un-text-opacity:1;color:rgb(111 106 143 / var(--un-text-opacity))}.text-text,.hover\\:text-text:hover{--un-text-opacity:1;color:rgb(244 242 255 / var(--un-text-opacity))}.color-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.hover\\:color-muted:hover{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-\\[0\\.07em\\]{letter-spacing:.07em}.tracking-\\[0\\.12em\\]{letter-spacing:.12em}.tracking-widest{letter-spacing:.1em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.uppercase{text-transform:uppercase}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-\\[0_8px_32px_rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(0, 0, 0, .7));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.hover\\:shadow-\\[0_8px_32px_rgba\\(56\\,189\\,248\\,0\\.1\\)\\]:hover{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(56, 189, 248, .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}';
30
- class qt {
18
+ u ? z && u < 4 && Ue(a, (u > 2 ? "set " : u > 1 ? "get " : "") + e) : Ue(i, e);
19
+ for (var de = n.length - 1; de >= 0; de--)
20
+ h = qt(u, e, g = {}, r[3], Wt), u && (h.static = k, h.private = z, f = h.access = { has: z ? (M) => Kt(i, M) : (M) => e in M }, u ^ 3 && (f.get = z ? (M) => (u ^ 1 ? Oe : Zt)(M, i, u ^ 4 ? a : $.get) : (M) => M[e]), u > 2 && (f.set = z ? (M, ue) => Fe(M, i, ue, u ^ 4 ? a : $.set) : (M, ue) => M[e] = ue)), p = (0, n[de])(u ? u < 4 ? z ? a : $[F] : u > 4 ? void 0 : { get: $.get, set: $.set } : i, h), g._ = 1, u ^ 4 || p === void 0 ? Y(p) && (u > 4 ? W.unshift(p) : u ? z ? a = p : $[F] = p : i = p) : typeof p != "object" || p === null ? J("Object expected") : (Y(c = p.get) && ($.get = c), Y(c = p.set) && ($.set = c), Y(c = p.init) && W.unshift(c));
21
+ return u || Xt(r, i), $ && pe(i, e, $), z ? u ^ 4 ? a : $ : i;
22
+ }, w = (r, t, e) => Be(r, typeof t != "symbol" ? t + "" : t, e), he = (r, t, e) => t.has(r) || J("Cannot " + e), Kt = (r, t) => Object(t) !== t ? J('Cannot use the "in" operator on this value') : r.has(t), Oe = (r, t, e) => (he(r, t, "read from private field"), e ? e.call(r) : t.get(r));
23
+ var Fe = (r, t, e, n) => (he(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e), Zt = (r, t, e) => (he(r, t, "access private method"), e);
24
+ import { jsxs as d, jsx as o } from "@praxisjs/jsx/jsx-runtime";
25
+ import { StatelessComponent as y, StatefulComponent as T } from "@praxisjs/core";
26
+ import { Component as m, State as C, Prop as ce, Emit as Qt } from "@praxisjs/decorators";
27
+ import { render as Ge } from "@praxisjs/runtime";
28
+ import { computed as Vt } from "@praxisjs/core/internal";
29
+ const Tt = "data:image/svg+xml,%3csvg%20width='1024'%20height='1024'%20viewBox='0%200%201024%201024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M605.411%20445.66L641.322%20498.293L641.342%20498.278L697.538%20578.57L742.673%20512.806L512.5%20178.878L281.327%20512.806L512.5%20848.182L603.519%20715.561L650.559%20782.134L512.701%20983L187%20510.478L512.701%2040L837%20510.478L698.206%20712.709L668.895%20671.104L604.033%20578.775L512%20712.504L373.199%20511.5L512.233%20309.092L584.13%20414.469L536.746%20480.456L513.69%20445.66L466.305%20511.5L512.166%20577.425L556.48%20513.91L605.411%20445.66Z'%20fill='url(%23paint0_linear_3024_20)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3024_20'%20x1='512'%20y1='40'%20x2='512'%20y2='983'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239B76FF'%20stop-opacity='0.86'/%3e%3cstop%20offset='1'%20stop-color='%232D246B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Pt = '*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }:host{all:initial;display:block;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}input::placeholder{color:#6f6a8f}input:focus{outline:none;box-shadow:0 0 0 2px #9b90e64d}::-webkit-scrollbar{width:4px;height:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#9b90e633;border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#9b90e666}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.bottom-0{bottom:0}.bottom-5{bottom:1.25rem}.left-0{left:0}.right-0{right:0}.right-5{right:1.25rem}.top-0{top:0}.top-full{top:100%}.z-\\[2147483647\\]{z-index:2147483647}.z-10{z-index:10}.grid{display:grid}.grid-cols-\\[1\\.2fr_0\\.8fr_1fr_auto\\]{grid-template-columns:1.2fr .8fr 1fr auto}.m6{margin:1.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mr-\\[2px\\]{margin-right:2px}.ms{margin-inline-start:1rem}.mt-1{margin-top:.25rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.h-\\[13px\\]{height:13px}.h-\\[22px\\]{height:22px}.h-\\[2px\\]{height:2px}.h-\\[32px\\]{height:32px}.h-\\[6px\\]{height:6px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-3{height:.75rem}.h-7{height:1.75rem}.h-full{height:100%}.h-screen{height:100vh}.max-w-\\[200px\\]{max-width:200px}.min-w-0{min-width:0}.w-\\[13px\\]{width:13px}.w-\\[22px\\]{width:22px}.w-\\[2px\\]{width:2px}.w-\\[6px\\]{width:6px}.w-1{width:.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-4{width:1rem}.w-full{width:100%}.w-px{width:1px}.flex{display:flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.cursor-\\[ew-resize\\]{cursor:ew-resize}.cursor-\\[ns-resize\\]{cursor:ns-resize}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-\\[6px\\]{gap:6px}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-border{--un-border-opacity:.25;border-color:rgba(155,144,230,var(--un-border-opacity))}.border-warn{--un-border-opacity:1;border-color:rgb(217 119 6 / var(--un-border-opacity))}.hover\\:border-accent:hover{--un-border-opacity:1;border-color:rgb(155 144 230 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.bg-\\[rgba\\(124\\,109\\,214\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(124,109,214,var(--un-bg-opacity))}.bg-\\[rgba\\(14\\,165\\,122\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(14,165,122,var(--un-bg-opacity))}.bg-\\[rgba\\(155\\,144\\,230\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-\\[rgba\\(217\\,119\\,6\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(217,119,6,var(--un-bg-opacity))}.bg-\\[rgba\\(220\\,38\\,38\\,0\\.14\\)\\]{--un-bg-opacity:.14;background-color:rgba(220,38,38,var(--un-bg-opacity))}.bg-\\[rgba\\(74\\,222\\,128\\,0\\.12\\)\\]{--un-bg-opacity:.12;background-color:rgba(74,222,128,var(--un-bg-opacity))}.bg-accent{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.bg-bg{--un-bg-opacity:1;background-color:rgb(15 13 23 / var(--un-bg-opacity))}.bg-border{--un-bg-opacity:.25;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-header{--un-bg-opacity:1;background-color:rgb(22 19 38 / var(--un-bg-opacity))}.bg-input,.bg-section{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.bg-selected{--un-bg-opacity:1;background-color:rgb(34 30 61 / var(--un-bg-opacity))}.bg-soft{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.bg-subtle{--un-bg-opacity:1;background-color:rgb(111 106 143 / var(--un-bg-opacity))}.bg-success{--un-bg-opacity:1;background-color:rgb(14 165 122 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.hover\\:bg-accent:hover{--un-bg-opacity:1;background-color:rgb(155 144 230 / var(--un-bg-opacity))}.hover\\:bg-section:hover{--un-bg-opacity:1;background-color:rgb(27 24 48 / var(--un-bg-opacity))}.hover\\:bg-soft:hover{--un-bg-opacity:.18;background-color:rgba(155,144,230,var(--un-bg-opacity))}.p-1{padding:.25rem}.px{padding-left:1rem;padding-right:1rem}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-\\[2px\\]{padding-top:2px;padding-bottom:2px}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.py-\\[4px\\]{padding-top:4px;padding-bottom:4px}.py-\\[5px\\]{padding-top:5px;padding-bottom:5px}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pl-\\[10px\\]{padding-left:10px}.pl-\\[56px\\]{padding-left:56px}.pl-1{padding-left:.25rem}.pr-\\[14px\\]{padding-right:14px}.pr-3{padding-right:.75rem}.text-center{text-align:center}.text-right{text-align:right}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[20px\\]{font-size:20px}.text-\\[9px\\]{font-size:9px}.text-\\[\\#0ea57a\\]{--un-text-opacity:1;color:rgb(14 165 122 / var(--un-text-opacity))}.text-\\[\\#4ade80\\]{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-\\[\\#7c6dd6\\]{--un-text-opacity:1;color:rgb(124 109 214 / var(--un-text-opacity))}.text-\\[\\#9b90e6\\],.text-accent{--un-text-opacity:1;color:rgb(155 144 230 / var(--un-text-opacity))}.text-\\[\\#d97706\\],.text-warn{--un-text-opacity:1;color:rgb(217 119 6 / var(--un-text-opacity))}.text-\\[\\#dc2626\\]{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.text-muted{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.text-subtle{--un-text-opacity:1;color:rgb(111 106 143 / var(--un-text-opacity))}.text-text,.hover\\:text-text:hover{--un-text-opacity:1;color:rgb(244 242 255 / var(--un-text-opacity))}.color-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.hover\\:color-muted:hover{--un-text-opacity:1;color:rgb(199 195 230 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.tracking-\\[0\\.07em\\]{letter-spacing:.07em}.tracking-\\[0\\.12em\\]{letter-spacing:.12em}.tracking-widest{letter-spacing:.1em}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.uppercase{text-transform:uppercase}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-\\[0_8px_32px_rgba\\(0\\,0\\,0\\,0\\.7\\)\\]{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(0, 0, 0, .7));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.hover\\:shadow-\\[0_8px_32px_rgba\\(56\\,189\\,248\\,0\\.1\\)\\]:hover{--un-shadow:0 8px 32px var(--un-shadow-color, rgba(56, 189, 248, .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}';
30
+ class en {
31
31
  handlers = /* @__PURE__ */ new Map();
32
32
  on(t, e) {
33
33
  return this.handlers.has(t) || this.handlers.set(t, /* @__PURE__ */ new Set()), this.handlers.get(t).add(e), () => this.handlers.get(t)?.delete(e);
@@ -38,38 +38,38 @@ class qt {
38
38
  });
39
39
  }
40
40
  }
41
- const Xt = 200;
42
- let Kt = 0;
43
- function Ge() {
44
- return `v${(++Kt).toString()}_${Date.now().toString(36)}`;
41
+ const tn = 200;
42
+ let nn = 0;
43
+ function Re() {
44
+ return `v${(++nn).toString()}_${Date.now().toString(36)}`;
45
45
  }
46
46
  class v {
47
47
  static _instance = null;
48
48
  static get instance() {
49
49
  return v._instance ??= new v(), v._instance;
50
50
  }
51
- bus = new qt();
51
+ bus = new en();
52
52
  instanceIds = /* @__PURE__ */ new WeakMap();
53
53
  signals = /* @__PURE__ */ new Map();
54
54
  components = /* @__PURE__ */ new Map();
55
55
  timeline = [];
56
56
  getInstanceId(t) {
57
- return this.instanceIds.has(t) || this.instanceIds.set(t, Ge()), this.instanceIds.get(t);
57
+ return this.instanceIds.has(t) || this.instanceIds.set(t, Re()), this.instanceIds.get(t);
58
58
  }
59
59
  registerSignal(t, e, n, i) {
60
- const s = this.getInstanceId(t), l = `${s}:${e}`, p = {
61
- id: l,
60
+ const a = this.getInstanceId(t), c = `${a}:${e}`, p = {
61
+ id: c,
62
62
  label: e,
63
- componentId: s,
63
+ componentId: a,
64
64
  componentName: i,
65
65
  value: n,
66
66
  history: [{ value: n, timestamp: Date.now() }],
67
67
  changedAt: Date.now()
68
68
  };
69
- this.signals.set(l, p), this.bus.emit("signal:registered", p);
69
+ this.signals.set(c, p), this.bus.emit("signal:registered", p);
70
70
  }
71
71
  updateSignal(t, e, n, i) {
72
- const l = `${this.getInstanceId(t)}:${e}`, p = this.signals.get(l);
72
+ const c = `${this.getInstanceId(t)}:${e}`, p = this.signals.get(c);
73
73
  if (!p) return;
74
74
  const g = [
75
75
  ...p.history,
@@ -80,10 +80,10 @@ class v {
80
80
  history: g,
81
81
  changedAt: Date.now()
82
82
  };
83
- this.signals.set(l, h), this.bus.emit("signal:changed", { entry: h, oldValue: i }), this.pushTimeline({
83
+ this.signals.set(c, h), this.bus.emit("signal:changed", { entry: h, oldValue: i }), this.pushTimeline({
84
84
  type: "signal:change",
85
85
  label: `${p.componentName}.${e}`,
86
- data: { old: i, new: n, signalId: l }
86
+ data: { old: i, new: n, signalId: c }
87
87
  });
88
88
  }
89
89
  registerComponent(t, e) {
@@ -113,11 +113,11 @@ class v {
113
113
  recordLifecycle(t, e) {
114
114
  const n = this.getInstanceId(t), i = this.components.get(n);
115
115
  if (!i) return;
116
- const s = { hook: e, timestamp: Date.now() };
117
- i.lifecycle.push(s), this.bus.emit("lifecycle", { componentId: n, name: i.name, hook: e });
118
- const l = e === "onUnmount" ? "component:unmount" : e === "onBeforeMount" ? "component:mount" : "lifecycle";
116
+ const a = { hook: e, timestamp: Date.now() };
117
+ i.lifecycle.push(a), this.bus.emit("lifecycle", { componentId: n, name: i.name, hook: e });
118
+ const c = e === "onUnmount" ? "component:unmount" : e === "onBeforeMount" ? "component:mount" : "lifecycle";
119
119
  if (this.pushTimeline({
120
- type: l,
120
+ type: c,
121
121
  label: `<${i.name}>.${e}`,
122
122
  data: { componentId: n, hook: e }
123
123
  }), e === "onUnmount") {
@@ -126,16 +126,16 @@ class v {
126
126
  g.componentId === n && this.signals.delete(p);
127
127
  }
128
128
  }
129
- recordMethodCall(t, e, n, i, s, l) {
129
+ recordMethodCall(t, e, n, i, a, c) {
130
130
  const p = this.getInstanceId(t);
131
131
  this.pushTimeline({
132
132
  type: "method:call",
133
- label: `${l}.${e}()`,
133
+ label: `${c}.${e}()`,
134
134
  data: {
135
135
  componentId: p,
136
136
  args: n,
137
137
  result: i,
138
- duration: +s.toFixed(3)
138
+ duration: +a.toFixed(3)
139
139
  }
140
140
  });
141
141
  }
@@ -153,27 +153,27 @@ class v {
153
153
  }
154
154
  pushTimeline(t) {
155
155
  const e = {
156
- id: Ge(),
156
+ id: Re(),
157
157
  timestamp: Date.now(),
158
158
  ...t
159
159
  };
160
- this.timeline.push(e), this.timeline.length > Xt && this.timeline.shift(), this.bus.emit("timeline:push", e);
160
+ this.timeline.push(e), this.timeline.length > tn && this.timeline.shift(), this.bus.emit("timeline:push", e);
161
161
  }
162
162
  }
163
- var Ye, he, an;
164
- Ye = [x()];
165
- class H extends (an = w) {
163
+ var Je, ge, gn;
164
+ Je = [m()];
165
+ class H extends (gn = y) {
166
166
  render() {
167
- return /* @__PURE__ */ c("div", { class: "flex flex-col items-center justify-center gap-2 py-12", children: [
167
+ return /* @__PURE__ */ d("div", { class: "flex flex-col items-center justify-center gap-2 py-12", children: [
168
168
  /* @__PURE__ */ o("span", { class: "text-subtle text-[20px] leading-none select-none font-mono", children: "—" }),
169
169
  /* @__PURE__ */ o("p", { class: "text-subtle text-[11px] text-center leading-relaxed max-w-[200px]", children: this.props.message })
170
170
  ] });
171
171
  }
172
172
  }
173
- he = b(an), H = d(he, 0, "EmptyState", Ye, H), a(he, 1, H);
174
- var Je, ge, ln;
175
- Je = [x()];
176
- class X extends (ln = w) {
173
+ ge = b(gn), H = l(ge, 0, "EmptyState", Je, H), s(ge, 1, H);
174
+ var qe, be, bn;
175
+ qe = [m()];
176
+ class X extends (bn = y) {
177
177
  render() {
178
178
  const { children: t, width: e = "280px" } = this.props;
179
179
  return /* @__PURE__ */ o(
@@ -186,8 +186,8 @@ class X extends (ln = w) {
186
186
  );
187
187
  }
188
188
  }
189
- ge = b(ln), X = d(ge, 0, "SidePanel", Je, X), a(ge, 1, X);
190
- function Ee(r) {
189
+ be = b(bn), X = l(be, 0, "SidePanel", qe, X), s(be, 1, X);
190
+ function Ne(r) {
191
191
  if (r === null) return "null";
192
192
  if (r === void 0) return "undefined";
193
193
  if (typeof r == "string") return `"${r}"`;
@@ -199,12 +199,12 @@ function Ee(r) {
199
199
  }
200
200
  return String(r);
201
201
  }
202
- var qe, be, cn;
203
- qe = [x()];
204
- class N extends (cn = w) {
202
+ var Xe, xe, xn;
203
+ Xe = [m()];
204
+ class O extends (xn = y) {
205
205
  render() {
206
206
  const { k: t, v: e, signal: n } = this.props;
207
- return /* @__PURE__ */ c("div", { class: "flex justify-between items-center px-3 py-2 border-b border-border gap-3", children: [
207
+ return /* @__PURE__ */ d("div", { class: "flex justify-between items-center px-3 py-2 border-b border-border gap-3", children: [
208
208
  /* @__PURE__ */ o(
209
209
  "span",
210
210
  {
@@ -216,21 +216,21 @@ class N extends (cn = w) {
216
216
  ] });
217
217
  }
218
218
  }
219
- be = b(cn), N = d(be, 0, "DetailRow", qe, N), a(be, 1, N);
220
- var Xe, xe, dn;
221
- Xe = [x()];
222
- class G extends (dn = w) {
219
+ xe = b(xn), O = l(xe, 0, "DetailRow", Xe, O), s(xe, 1, O);
220
+ var Ke, me, mn;
221
+ Ke = [m()];
222
+ class G extends (mn = y) {
223
223
  render() {
224
- return /* @__PURE__ */ c("div", { class: "border-b border-border", children: [
224
+ return /* @__PURE__ */ d("div", { class: "border-b border-border", children: [
225
225
  /* @__PURE__ */ o("div", { class: "px-3 py-[4px] text-[9px] text-subtle font-bold tracking-[0.12em] uppercase bg-section border-b border-border", children: this.props.label }),
226
226
  this.props.children
227
227
  ] });
228
228
  }
229
229
  }
230
- xe = b(dn), G = d(xe, 0, "DetailSection", Xe, G), a(xe, 1, G);
231
- var Ke, me, pn;
232
- Ke = [x()];
233
- class K extends (pn = w) {
230
+ me = b(mn), G = l(me, 0, "DetailSection", Ke, G), s(me, 1, G);
231
+ var Ze, fe, fn;
232
+ Ze = [m()];
233
+ class K extends (fn = y) {
234
234
  render() {
235
235
  const { status: t } = this.props;
236
236
  return /* @__PURE__ */ o(
@@ -242,43 +242,43 @@ class K extends (pn = w) {
242
242
  );
243
243
  }
244
244
  }
245
- me = b(pn), K = d(me, 0, "StatusDot", Ke, K), a(me, 1, K);
246
- var Ze, fe, un;
247
- Ze = [x()];
248
- class Z extends (un = w) {
245
+ fe = b(fn), K = l(fe, 0, "StatusDot", Ze, K), s(fe, 1, K);
246
+ var Qe, we, wn;
247
+ Qe = [m()];
248
+ class Z extends (wn = y) {
249
249
  render() {
250
250
  const { entry: t, signals: e } = this.props;
251
- return /* @__PURE__ */ c(X, { children: [
252
- /* @__PURE__ */ c("div", { class: "px-3 py-2 border-b border-border flex items-center gap-2 bg-bg shrink-0", children: [
251
+ return /* @__PURE__ */ d(X, { children: [
252
+ /* @__PURE__ */ d("div", { class: "px-3 py-2 border-b border-border flex items-center gap-2 bg-bg shrink-0", children: [
253
253
  /* @__PURE__ */ o(K, { status: t.status }),
254
- /* @__PURE__ */ c("span", { class: "text-accent font-mono text-[11px] font-semibold truncate pl-1", children: [
254
+ /* @__PURE__ */ d("span", { class: "text-accent font-mono text-[11px] font-semibold truncate pl-1", children: [
255
255
  "<",
256
256
  t.name,
257
257
  ">"
258
258
  ] })
259
259
  ] }),
260
- /* @__PURE__ */ c("div", { class: "flex-1 overflow-y-auto", children: [
261
- /* @__PURE__ */ c(G, { label: "Stats", children: [
262
- /* @__PURE__ */ o(N, { k: "renders", v: String(t.renderCount) }),
260
+ /* @__PURE__ */ d("div", { class: "flex-1 overflow-y-auto", children: [
261
+ /* @__PURE__ */ d(G, { label: "Stats", children: [
262
+ /* @__PURE__ */ o(O, { k: "renders", v: String(t.renderCount) }),
263
263
  /* @__PURE__ */ o(
264
- N,
264
+ O,
265
265
  {
266
266
  k: "last render",
267
267
  v: `${t.lastRenderDuration.toFixed(3)}ms`
268
268
  }
269
269
  ),
270
- /* @__PURE__ */ o(N, { k: "status", v: t.status })
270
+ /* @__PURE__ */ o(O, { k: "status", v: t.status })
271
271
  ] }),
272
272
  e.length > 0 && /* @__PURE__ */ o(G, { label: "State", children: e.map((n) => /* @__PURE__ */ o(
273
- N,
273
+ O,
274
274
  {
275
275
  k: n.label,
276
- v: Ee(n.value),
276
+ v: Ne(n.value),
277
277
  signal: !0
278
278
  },
279
279
  n.id
280
280
  )) }),
281
- t.lifecycle.length > 0 && /* @__PURE__ */ o(G, { label: "Lifecycle", children: [...t.lifecycle].reverse().slice(0, 20).map((n, i) => /* @__PURE__ */ c(
281
+ t.lifecycle.length > 0 && /* @__PURE__ */ o(G, { label: "Lifecycle", children: [...t.lifecycle].reverse().slice(0, 20).map((n, i) => /* @__PURE__ */ d(
282
282
  "div",
283
283
  {
284
284
  class: "px-3 py-2 flex justify-between items-center border-b border-border",
@@ -293,13 +293,13 @@ class Z extends (un = w) {
293
293
  ] });
294
294
  }
295
295
  }
296
- fe = b(un), Z = d(fe, 0, "ComponentDetail", Ze, Z), a(fe, 1, Z);
297
- var Qe, we, hn;
298
- Qe = [x()];
299
- class Q extends (hn = w) {
296
+ we = b(wn), Z = l(we, 0, "ComponentDetail", Qe, Z), s(we, 1, Z);
297
+ var Ve, ye, yn;
298
+ Ve = [m()];
299
+ class Q extends (yn = y) {
300
300
  render() {
301
301
  const { entry: t, selected: e, onClick: n } = this.props;
302
- return /* @__PURE__ */ c(
302
+ return /* @__PURE__ */ d(
303
303
  "div",
304
304
  {
305
305
  onClick: n,
@@ -307,16 +307,16 @@ class Q extends (hn = w) {
307
307
  children: [
308
308
  () => e() && /* @__PURE__ */ o("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
309
309
  /* @__PURE__ */ o(K, { status: t.status }),
310
- /* @__PURE__ */ c("span", { class: "text-accent font-mono text-[11px] flex-1 truncate pl-1", children: [
310
+ /* @__PURE__ */ d("span", { class: "text-accent font-mono text-[11px] flex-1 truncate pl-1", children: [
311
311
  "<",
312
312
  t.name,
313
313
  ">"
314
314
  ] }),
315
- /* @__PURE__ */ c("span", { class: "text-muted text-[11px] tabular-nums", children: [
315
+ /* @__PURE__ */ d("span", { class: "text-muted text-[11px] tabular-nums", children: [
316
316
  "×",
317
317
  t.renderCount
318
318
  ] }),
319
- /* @__PURE__ */ c(
319
+ /* @__PURE__ */ d(
320
320
  "span",
321
321
  {
322
322
  class: `text-[10px] tabular-nums w-12 text-right ${t.lastRenderDuration > 16 ? "text-warn" : "text-subtle"}`,
@@ -331,15 +331,15 @@ class Q extends (hn = w) {
331
331
  );
332
332
  }
333
333
  }
334
- we = b(hn), Q = d(we, 0, "ComponentRow", Qe, Q), a(we, 1, Q);
335
- var Pe, Ve, et, tt, $;
336
- tt = [x()];
337
- class F extends (et = R, Ve = [M()], Pe = [M()], et) {
334
+ ye = b(yn), Q = l(ye, 0, "ComponentRow", Ve, Q), s(ye, 1, Q);
335
+ var Pe, et, tt, nt, E;
336
+ nt = [m()];
337
+ class B extends (tt = T, et = [C()], Pe = [C()], tt) {
338
338
  constructor() {
339
339
  super(...arguments);
340
- f(this, "components", a($, 8, this, [])), a($, 11, this);
341
- f(this, "selectedId", a($, 12, this, null)), a($, 15, this);
342
- f(this, "_handlers", []);
340
+ w(this, "components", s(E, 8, this, [])), s(E, 11, this);
341
+ w(this, "selectedId", s(E, 12, this, null)), s(E, 15, this);
342
+ w(this, "_handlers", []);
343
343
  }
344
344
  get registry() {
345
345
  return this.props.registry;
@@ -365,9 +365,9 @@ class F extends (et = R, Ve = [M()], Pe = [M()], et) {
365
365
  }
366
366
  render() {
367
367
  const { registry: e } = this;
368
- return /* @__PURE__ */ c("div", { class: "flex h-full overflow-hidden", children: [
369
- /* @__PURE__ */ c("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
370
- /* @__PURE__ */ c("div", { class: "flex items-center px-3 h-7 text-[9px] text-subtle font-bold tracking-[0.12em] uppercase border-b border-border bg-section gap-2 shrink-0", children: [
368
+ return /* @__PURE__ */ d("div", { class: "flex h-full overflow-hidden", children: [
369
+ /* @__PURE__ */ d("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
370
+ /* @__PURE__ */ d("div", { class: "flex items-center px-3 h-7 text-[9px] text-subtle font-bold tracking-[0.12em] uppercase border-b border-border bg-section gap-2 shrink-0", children: [
371
371
  /* @__PURE__ */ o("span", { class: "flex-1", children: "Component" }),
372
372
  /* @__PURE__ */ o("span", { children: "Renders" }),
373
373
  /* @__PURE__ */ o("span", { class: "w-12 text-right", children: "Last" })
@@ -385,21 +385,21 @@ class F extends (et = R, Ve = [M()], Pe = [M()], et) {
385
385
  )) })
386
386
  ] }),
387
387
  () => {
388
- const n = this.selectedId, i = n ? this.components.find((l) => l.id === n) ?? null : null, s = n ? e.getSignalsByComponent(n) : [];
389
- return i ? /* @__PURE__ */ o(Z, { entry: i, signals: s }) : null;
388
+ const n = this.selectedId, i = n ? this.components.find((c) => c.id === n) ?? null : null, a = n ? e.getSignalsByComponent(n) : [];
389
+ return i ? /* @__PURE__ */ o(Z, { entry: i, signals: a }) : null;
390
390
  }
391
391
  ] });
392
392
  }
393
393
  }
394
- $ = b(et), d($, 5, "components", Ve, F), d($, 5, "selectedId", Pe, F), F = d($, 0, "ComponentsTab", tt, F), a($, 1, F);
395
- const Zt = {
394
+ E = b(tt), l(E, 5, "components", et, B), l(E, 5, "selectedId", Pe, B), B = l(E, 0, "ComponentsTab", nt, B), s(E, 1, B);
395
+ const rn = {
396
396
  id: "components",
397
397
  label: "Components",
398
- component: F
398
+ component: B
399
399
  };
400
- var nt, ye, gn;
401
- nt = [x()];
402
- class P extends (gn = w) {
400
+ var rt, ve, vn;
401
+ rt = [m()];
402
+ class V extends (vn = y) {
403
403
  render() {
404
404
  const { placeholder: t, onInput: e } = this.props;
405
405
  return /* @__PURE__ */ o(
@@ -415,34 +415,34 @@ class P extends (gn = w) {
415
415
  );
416
416
  }
417
417
  }
418
- ye = b(gn), P = d(ye, 0, "SearchInput", nt, P), a(ye, 1, P);
419
- var rt, ve, bn;
420
- rt = [x()];
421
- class V extends (bn = w) {
418
+ ve = b(vn), V = l(ve, 0, "SearchInput", rt, V), s(ve, 1, V);
419
+ var ot, ke, kn;
420
+ ot = [m()];
421
+ class P extends (kn = y) {
422
422
  render() {
423
- return /* @__PURE__ */ c("div", { class: "border-b border-border", children: [
423
+ return /* @__PURE__ */ d("div", { class: "border-b border-border", children: [
424
424
  /* @__PURE__ */ o("div", { class: "px-3 py-[4px] text-[9px] text-subtle font-bold tracking-[0.12em] uppercase bg-section border-b border-border", children: this.props.label }),
425
425
  this.props.children
426
426
  ] });
427
427
  }
428
428
  }
429
- ve = b(bn), V = d(ve, 0, "PanelSection", rt, V), a(ve, 1, V);
429
+ ke = b(kn), P = l(ke, 0, "PanelSection", ot, P), s(ke, 1, P);
430
430
  function De(r, t) {
431
431
  const e = t ? ` ${t}` : "", n = Date.now() - r;
432
432
  return n < 1e3 ? `${n.toString()}ms${e}` : n < 6e4 ? `${(n / 1e3).toFixed(1)}s${e}` : `${Math.floor(n / 6e4).toString()}m${e}`;
433
433
  }
434
- var ot, ke, xn;
435
- ot = [x()];
436
- class ee extends (xn = w) {
434
+ var it, ze, zn;
435
+ it = [m()];
436
+ class ee extends (zn = y) {
437
437
  render() {
438
438
  const { entry: t } = this.props;
439
- return /* @__PURE__ */ o(X, { width: "260px", children: /* @__PURE__ */ o(V, { label: "History", children: /* @__PURE__ */ c("div", { class: "overflow-y-auto", children: [
440
- [...t.history].reverse().map((e, n) => /* @__PURE__ */ c(
439
+ return /* @__PURE__ */ o(X, { width: "260px", children: /* @__PURE__ */ o(P, { label: "History", children: /* @__PURE__ */ d("div", { class: "overflow-y-auto", children: [
440
+ [...t.history].reverse().map((e, n) => /* @__PURE__ */ d(
441
441
  "div",
442
442
  {
443
443
  class: "px-3 py-2 border-b border-border flex justify-between items-center gap-3",
444
444
  children: [
445
- /* @__PURE__ */ o("span", { class: "font-mono text-[11px] text-text truncate", children: Ee(e.value) }),
445
+ /* @__PURE__ */ o("span", { class: "font-mono text-[11px] text-text truncate", children: Ne(e.value) }),
446
446
  /* @__PURE__ */ o("span", { class: "text-[10px] text-subtle shrink-0 tabular-nums", children: De(e.timestamp, "ago") })
447
447
  ]
448
448
  },
@@ -452,13 +452,13 @@ class ee extends (xn = w) {
452
452
  ] }) }) });
453
453
  }
454
454
  }
455
- ke = b(xn), ee = d(ke, 0, "SignalDetail", ot, ee), a(ke, 1, ee);
456
- var it, ze, mn;
457
- it = [x()];
458
- class te extends (mn = w) {
455
+ ze = b(zn), ee = l(ze, 0, "SignalDetail", it, ee), s(ze, 1, ee);
456
+ var st, Ce, Cn;
457
+ st = [m()];
458
+ class te extends (Cn = y) {
459
459
  render() {
460
460
  const { entry: t, selected: e, onClick: n } = this.props;
461
- return /* @__PURE__ */ c(
461
+ return /* @__PURE__ */ d(
462
462
  "div",
463
463
  {
464
464
  onClick: n,
@@ -467,23 +467,23 @@ class te extends (mn = w) {
467
467
  e && /* @__PURE__ */ o("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
468
468
  /* @__PURE__ */ o("span", { class: "text-accent font-mono text-[11px] truncate pl-1", children: t.label }),
469
469
  /* @__PURE__ */ o("span", { class: "text-muted text-[11px] truncate", children: t.componentName }),
470
- /* @__PURE__ */ o("span", { class: "text-text font-mono text-[11px] truncate", children: Ee(t.value) }),
470
+ /* @__PURE__ */ o("span", { class: "text-text font-mono text-[11px] truncate", children: Ne(t.value) }),
471
471
  /* @__PURE__ */ o("span", { class: "text-subtle text-[10px] text-right tabular-nums", children: De(t.changedAt, "ago") })
472
472
  ]
473
473
  }
474
474
  );
475
475
  }
476
476
  }
477
- ze = b(mn), te = d(ze, 0, "SignalRow", it, te), a(ze, 1, te);
478
- var st, at, lt, ct, dt, S;
479
- dt = [x()];
480
- class E extends (ct = R, lt = [M()], at = [M()], st = [M()], ct) {
477
+ Ce = b(Cn), te = l(Ce, 0, "SignalRow", st, te), s(Ce, 1, te);
478
+ var at, lt, ct, dt, ut, S;
479
+ ut = [m()];
480
+ class D extends (dt = T, ct = [C()], lt = [C()], at = [C()], dt) {
481
481
  constructor() {
482
482
  super(...arguments);
483
- f(this, "signals", a(S, 8, this, [])), a(S, 11, this);
484
- f(this, "search", a(S, 12, this, "")), a(S, 15, this);
485
- f(this, "selectedId", a(S, 16, this, null)), a(S, 19, this);
486
- f(this, "_handlers", []);
483
+ w(this, "signals", s(S, 8, this, [])), s(S, 11, this);
484
+ w(this, "search", s(S, 12, this, "")), s(S, 15, this);
485
+ w(this, "selectedId", s(S, 16, this, null)), s(S, 19, this);
486
+ w(this, "_handlers", []);
487
487
  }
488
488
  get registry() {
489
489
  return this.props.registry;
@@ -504,10 +504,10 @@ class E extends (ct = R, lt = [M()], at = [M()], st = [M()], ct) {
504
504
  });
505
505
  }
506
506
  render() {
507
- return /* @__PURE__ */ c("div", { class: "flex h-full overflow-hidden", children: [
508
- /* @__PURE__ */ c("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
507
+ return /* @__PURE__ */ d("div", { class: "flex h-full overflow-hidden", children: [
508
+ /* @__PURE__ */ d("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
509
509
  /* @__PURE__ */ o("div", { class: "px-3 py-2 border-b border-border bg-bg shrink-0", children: /* @__PURE__ */ o(
510
- P,
510
+ V,
511
511
  {
512
512
  placeholder: "Search signals…",
513
513
  onInput: (e) => {
@@ -515,7 +515,7 @@ class E extends (ct = R, lt = [M()], at = [M()], st = [M()], ct) {
515
515
  }
516
516
  }
517
517
  ) }),
518
- /* @__PURE__ */ c("div", { class: "grid grid-cols-[1.2fr_0.8fr_1fr_auto] items-center px-3 h-7 text-[9px] text-subtle font-bold tracking-[0.12em] uppercase border-b border-border bg-section gap-2 shrink-0", children: [
518
+ /* @__PURE__ */ d("div", { class: "grid grid-cols-[1.2fr_0.8fr_1fr_auto] items-center px-3 h-7 text-[9px] text-subtle font-bold tracking-[0.12em] uppercase border-b border-border bg-section gap-2 shrink-0", children: [
519
519
  /* @__PURE__ */ o("span", { children: "Signal" }),
520
520
  /* @__PURE__ */ o("span", { children: "Component" }),
521
521
  /* @__PURE__ */ o("span", { children: "Value" }),
@@ -550,19 +550,19 @@ class E extends (ct = R, lt = [M()], at = [M()], st = [M()], ct) {
550
550
  ] });
551
551
  }
552
552
  }
553
- S = b(ct), d(S, 5, "signals", lt, E), d(S, 5, "search", at, E), d(S, 5, "selectedId", st, E), E = d(S, 0, "SignalsTab", dt, E), a(S, 1, E);
554
- const Qt = {
553
+ S = b(dt), l(S, 5, "signals", ct, D), l(S, 5, "search", lt, D), l(S, 5, "selectedId", at, D), D = l(S, 0, "SignalsTab", ut, D), s(S, 1, D);
554
+ const on = {
555
555
  id: "signals",
556
556
  label: "Signals",
557
- component: E
558
- }, Pt = {
557
+ component: D
558
+ }, sn = {
559
559
  "signal:change": { label: "signal", cls: "text-[#9b90e6] bg-[rgba(155,144,230,0.14)]" },
560
560
  "component:render": { label: "render", cls: "text-[#4ade80] bg-[rgba(74,222,128,0.12)]" },
561
561
  "component:mount": { label: "mount", cls: "text-[#0ea57a] bg-[rgba(14,165,122,0.14)]" },
562
562
  "component:unmount": { label: "unmount", cls: "text-[#dc2626] bg-[rgba(220,38,38,0.14)]" },
563
563
  lifecycle: { label: "lifecycle", cls: "text-[#d97706] bg-[rgba(217,119,6,0.14)]" },
564
564
  "method:call": { label: "method", cls: "text-[#7c6dd6] bg-[rgba(124,109,214,0.14)]" }
565
- }, Vt = [
565
+ }, an = [
566
566
  { value: "all", label: "All" },
567
567
  { value: "signal:change", label: "Signals" },
568
568
  { value: "component:render", label: "Renders" },
@@ -570,11 +570,11 @@ const Qt = {
570
570
  { value: "lifecycle", label: "Lifecycle" },
571
571
  { value: "method:call", label: "Methods" }
572
572
  ];
573
- var pt, Me, fn;
574
- pt = [x()];
575
- class ne extends (fn = w) {
573
+ var pt, Me, Mn;
574
+ pt = [m()];
575
+ class ne extends (Mn = y) {
576
576
  render() {
577
- const t = Pt[this.props.type];
577
+ const t = sn[this.props.type];
578
578
  return /* @__PURE__ */ o(
579
579
  "span",
580
580
  {
@@ -584,18 +584,18 @@ class ne extends (fn = w) {
584
584
  );
585
585
  }
586
586
  }
587
- Me = b(fn), ne = d(Me, 0, "Badge", pt, ne), a(Me, 1, ne);
588
- var ut, ht, gt, O;
589
- gt = [x()];
590
- class q extends (ht = R, ut = [M()], ht) {
587
+ Me = b(Mn), ne = l(Me, 0, "Badge", pt, ne), s(Me, 1, ne);
588
+ var ht, gt, bt, A;
589
+ bt = [m()];
590
+ class q extends (gt = T, ht = [C()], gt) {
591
591
  constructor() {
592
592
  super(...arguments);
593
- f(this, "open", a(O, 8, this, !1)), a(O, 11, this);
593
+ w(this, "open", s(A, 8, this, !1)), s(A, 11, this);
594
594
  }
595
595
  render() {
596
596
  const { entry: e } = this.props, n = Object.keys(e.data).length > 0;
597
- return /* @__PURE__ */ c("div", { class: "border-b border-border", children: [
598
- /* @__PURE__ */ c(
597
+ return /* @__PURE__ */ d("div", { class: "border-b border-border", children: [
598
+ /* @__PURE__ */ d(
599
599
  "div",
600
600
  {
601
601
  onClick: () => {
@@ -610,26 +610,26 @@ class q extends (ht = R, ut = [M()], ht) {
610
610
  ]
611
611
  }
612
612
  ),
613
- () => this.open && n ? /* @__PURE__ */ o("div", { class: "px-3 py-2 pl-[56px] font-mono text-[11px] bg-section border-t border-border", children: Object.entries(e.data).map(([i, s]) => /* @__PURE__ */ c("div", { class: "flex gap-3 py-[3px]", children: [
614
- /* @__PURE__ */ c("span", { class: "text-accent shrink-0", children: [
613
+ () => this.open && n ? /* @__PURE__ */ o("div", { class: "px-3 py-2 pl-[56px] font-mono text-[11px] bg-section border-t border-border", children: Object.entries(e.data).map(([i, a]) => /* @__PURE__ */ d("div", { class: "flex gap-3 py-[3px]", children: [
614
+ /* @__PURE__ */ d("span", { class: "text-accent shrink-0", children: [
615
615
  i,
616
616
  ":"
617
617
  ] }),
618
- /* @__PURE__ */ o("span", { class: "text-muted truncate", children: typeof s == "object" ? JSON.stringify(s) : String(s) })
618
+ /* @__PURE__ */ o("span", { class: "text-muted truncate", children: typeof a == "object" ? JSON.stringify(a) : String(a) })
619
619
  ] }, i)) }) : null
620
620
  ] });
621
621
  }
622
622
  }
623
- O = b(ht), d(O, 5, "open", ut, q), q = d(O, 0, "TimelineRow", gt, q), a(O, 1, q);
624
- var bt, xt, mt, ft, wt, I;
625
- wt = [x()];
626
- class D extends (ft = R, mt = [M()], xt = [M()], bt = [M()], ft) {
623
+ A = b(gt), l(A, 5, "open", ht, q), q = l(A, 0, "TimelineRow", bt, q), s(A, 1, q);
624
+ var xt, mt, ft, wt, yt, I;
625
+ yt = [m()];
626
+ class U extends (wt = T, ft = [C()], mt = [C()], xt = [C()], wt) {
627
627
  constructor() {
628
628
  super(...arguments);
629
- f(this, "entries", a(I, 8, this, [])), a(I, 11, this);
630
- f(this, "filter", a(I, 12, this, "all")), a(I, 15, this);
631
- f(this, "paused", a(I, 16, this, !1)), a(I, 19, this);
632
- f(this, "_handlers", []);
629
+ w(this, "entries", s(I, 8, this, [])), s(I, 11, this);
630
+ w(this, "filter", s(I, 12, this, "all")), s(I, 15, this);
631
+ w(this, "paused", s(I, 16, this, !1)), s(I, 19, this);
632
+ w(this, "_handlers", []);
633
633
  }
634
634
  get registry() {
635
635
  return this.props.registry;
@@ -647,9 +647,9 @@ class D extends (ft = R, mt = [M()], xt = [M()], bt = [M()], ft) {
647
647
  });
648
648
  }
649
649
  render() {
650
- return /* @__PURE__ */ c("div", { class: "flex flex-col h-full overflow-hidden", children: [
651
- /* @__PURE__ */ c("div", { class: "flex items-center gap-[3px] px-2 py-2 border-b border-border bg-bg shrink-0 flex-wrap", children: [
652
- Vt.map((e) => /* @__PURE__ */ o(
650
+ return /* @__PURE__ */ d("div", { class: "flex flex-col h-full overflow-hidden", children: [
651
+ /* @__PURE__ */ d("div", { class: "flex items-center gap-[3px] px-2 py-2 border-b border-border bg-bg shrink-0 flex-wrap", children: [
652
+ an.map((e) => /* @__PURE__ */ o(
653
653
  "button",
654
654
  {
655
655
  onClick: () => {
@@ -691,17 +691,17 @@ class D extends (ft = R, mt = [M()], xt = [M()], bt = [M()], ft) {
691
691
  ] });
692
692
  }
693
693
  }
694
- I = b(ft), d(I, 5, "entries", mt, D), d(I, 5, "filter", xt, D), d(I, 5, "paused", bt, D), D = d(I, 0, "TimelineTab", wt, D), a(I, 1, D);
695
- const en = {
694
+ I = b(wt), l(I, 5, "entries", ft, U), l(I, 5, "filter", mt, U), l(I, 5, "paused", xt, U), U = l(I, 0, "TimelineTab", yt, U), s(I, 1, U);
695
+ const ln = {
696
696
  id: "timeline",
697
697
  label: "Timeline",
698
- component: D
699
- }, tn = '*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}';
700
- var yt, Ce, wn;
701
- yt = [x()];
702
- class re extends (wn = w) {
698
+ component: U
699
+ }, cn = '*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}';
700
+ var vt, Se, Sn;
701
+ vt = [m()];
702
+ class re extends (Sn = y) {
703
703
  render() {
704
- return /* @__PURE__ */ c(
704
+ return /* @__PURE__ */ d(
705
705
  "svg",
706
706
  {
707
707
  xmlns: "http://www.w3.org/2000/svg",
@@ -723,12 +723,12 @@ class re extends (wn = w) {
723
723
  );
724
724
  }
725
725
  }
726
- Ce = b(wn), re = d(Ce, 0, "EllipsisVerticalIcon", yt, re), a(Ce, 1, re);
727
- var vt, Se, yn;
728
- vt = [x()];
729
- class oe extends (yn = w) {
726
+ Se = b(Sn), re = l(Se, 0, "EllipsisVerticalIcon", vt, re), s(Se, 1, re);
727
+ var kt, Ie, In;
728
+ kt = [m()];
729
+ class oe extends (In = y) {
730
730
  render() {
731
- return /* @__PURE__ */ c(
731
+ return /* @__PURE__ */ d(
732
732
  "svg",
733
733
  {
734
734
  xmlns: "http://www.w3.org/2000/svg",
@@ -749,12 +749,12 @@ class oe extends (yn = w) {
749
749
  );
750
750
  }
751
751
  }
752
- Se = b(yn), oe = d(Se, 0, "PanelBottomIcon", vt, oe), a(Se, 1, oe);
753
- var kt, Ie, vn;
754
- kt = [x()];
755
- class ie extends (vn = w) {
752
+ Ie = b(In), oe = l(Ie, 0, "PanelBottomIcon", kt, oe), s(Ie, 1, oe);
753
+ var zt, Le, Ln;
754
+ zt = [m()];
755
+ class ie extends (Ln = y) {
756
756
  render() {
757
- return /* @__PURE__ */ c(
757
+ return /* @__PURE__ */ d(
758
758
  "svg",
759
759
  {
760
760
  xmlns: "http://www.w3.org/2000/svg",
@@ -775,12 +775,12 @@ class ie extends (vn = w) {
775
775
  );
776
776
  }
777
777
  }
778
- Ie = b(vn), ie = d(Ie, 0, "PanelLeftIcon", kt, ie), a(Ie, 1, ie);
779
- var zt, Le, kn;
780
- zt = [x()];
781
- class se extends (kn = w) {
778
+ Le = b(Ln), ie = l(Le, 0, "PanelLeftIcon", zt, ie), s(Le, 1, ie);
779
+ var Ct, _e, _n;
780
+ Ct = [m()];
781
+ class se extends (_n = y) {
782
782
  render() {
783
- return /* @__PURE__ */ c(
783
+ return /* @__PURE__ */ d(
784
784
  "svg",
785
785
  {
786
786
  xmlns: "http://www.w3.org/2000/svg",
@@ -801,12 +801,12 @@ class se extends (kn = w) {
801
801
  );
802
802
  }
803
803
  }
804
- Le = b(kn), se = d(Le, 0, "PanelRightIcon", zt, se), a(Le, 1, se);
805
- var Mt, _e, zn;
806
- Mt = [x()];
807
- class ae extends (zn = w) {
804
+ _e = b(_n), se = l(_e, 0, "PanelRightIcon", Ct, se), s(_e, 1, se);
805
+ var Mt, $e, $n;
806
+ Mt = [m()];
807
+ class ae extends ($n = y) {
808
808
  render() {
809
- return /* @__PURE__ */ c(
809
+ return /* @__PURE__ */ d(
810
810
  "svg",
811
811
  {
812
812
  xmlns: "http://www.w3.org/2000/svg",
@@ -827,12 +827,12 @@ class ae extends (zn = w) {
827
827
  );
828
828
  }
829
829
  }
830
- _e = b(zn), ae = d(_e, 0, "PanelTopIcon", Mt, ae), a(_e, 1, ae);
831
- var Ct, $e, Mn;
832
- Ct = [x()];
833
- class le extends (Mn = w) {
830
+ $e = b($n), ae = l($e, 0, "PanelTopIcon", Mt, ae), s($e, 1, ae);
831
+ var St, je, jn;
832
+ St = [m()];
833
+ class le extends (jn = y) {
834
834
  render() {
835
- return /* @__PURE__ */ c(
835
+ return /* @__PURE__ */ d(
836
836
  "svg",
837
837
  {
838
838
  xmlns: "http://www.w3.org/2000/svg",
@@ -853,10 +853,10 @@ class le extends (Mn = w) {
853
853
  );
854
854
  }
855
855
  }
856
- $e = b(Mn), le = d($e, 0, "XIcon", Ct, le), a($e, 1, le);
857
- var St, je, Cn;
858
- St = [x()];
859
- class T extends (Cn = w) {
856
+ je = b(jn), le = l(je, 0, "XIcon", St, le), s(je, 1, le);
857
+ var It, Ee, En;
858
+ It = [m()];
859
+ class R extends (En = y) {
860
860
  render() {
861
861
  const { title: t, active: e, icon: n, onClick: i } = this.props;
862
862
  return /* @__PURE__ */ o(
@@ -870,58 +870,54 @@ class T extends (Cn = w) {
870
870
  );
871
871
  }
872
872
  }
873
- je = b(Cn), T = d(je, 0, "IconButton", St, T), a(je, 1, T);
874
- const Te = 180, nn = 300, Re = 240, rn = 380, on = {
873
+ Ee = b(En), R = l(Ee, 0, "IconButton", It, R), s(Ee, 1, R);
874
+ const Te = 180, dn = 300, We = 240, un = 380, pn = {
875
875
  bottom: oe,
876
876
  top: ae,
877
877
  left: ie,
878
878
  right: se
879
879
  };
880
- var It, Lt, _t, $t, jt, Et, Dt, y;
881
- Dt = [x()];
882
- class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M()], Et) {
880
+ var Lt, _t, $t, jt, Et, Nt, Dt, Ut, Ot, Ft, x;
881
+ Ft = [m()];
882
+ class _ extends (Ot = T, Ut = [C()], Dt = [C()], Nt = [C()], Et = [C()], jt = [C()], $t = [ce()], _t = [ce()], Lt = [Qt("onClose")], Ot) {
883
883
  constructor() {
884
884
  super(...arguments);
885
- f(this, "activeTab", a(y, 8, this, "")), a(y, 11, this);
886
- f(this, "dock", a(y, 12, this, "bottom")), a(y, 15, this);
887
- f(this, "dockMenuOpen", a(y, 16, this, !1)), a(y, 19, this);
888
- f(this, "bottomSize", a(y, 20, this, nn)), a(y, 23, this);
889
- f(this, "vertSize", a(y, 24, this, rn)), a(y, 27, this);
885
+ s(x, 5, this);
886
+ w(this, "activeTab", s(x, 8, this, "")), s(x, 11, this);
887
+ w(this, "dock", s(x, 12, this, "bottom")), s(x, 15, this);
888
+ w(this, "dockMenuOpen", s(x, 16, this, !1)), s(x, 19, this);
889
+ w(this, "bottomSize", s(x, 20, this, dn)), s(x, 23, this);
890
+ w(this, "vertSize", s(x, 24, this, un)), s(x, 27, this);
891
+ w(this, "plugins", s(x, 28, this, [])), s(x, 31, this);
892
+ w(this, "registry", s(x, 32, this)), s(x, 35, this);
890
893
  }
891
- get p() {
892
- return this.props;
894
+ handleClose() {
893
895
  }
894
- onBeforeMount() {
895
- this.activeTab = this.p.plugins[0]?.id ?? "";
896
+ onMount() {
897
+ this.plugins.length > 0 && (this.activeTab = this.plugins[0].id);
896
898
  }
897
899
  handleMouseDown(e) {
898
900
  e.preventDefault();
899
- const n = e.clientX, i = e.clientY, s = this.dock, l = s === "bottom" || s === "top" ? this.bottomSize : this.vertSize, p = (h) => {
900
- const m = this.dock;
901
- m === "bottom" ? this.bottomSize = Math.max(
901
+ const n = e.clientX, i = e.clientY, a = this.dock, c = a === "bottom" || a === "top" ? this.bottomSize : this.vertSize, p = (h) => {
902
+ const f = this.dock;
903
+ f === "bottom" ? this.bottomSize = Math.max(
902
904
  Te,
903
905
  Math.min(
904
906
  window.innerHeight * 0.85,
905
- l + (i - h.clientY)
907
+ c + (i - h.clientY)
906
908
  )
907
- ) : m === "top" ? this.bottomSize = Math.max(
909
+ ) : f === "top" ? this.bottomSize = Math.max(
908
910
  Te,
909
911
  Math.min(
910
912
  window.innerHeight * 0.85,
911
- l + (h.clientY - i)
912
- )
913
- ) : m === "left" ? this.vertSize = Math.max(
914
- Re,
915
- Math.min(
916
- window.innerWidth * 0.6,
917
- l + (h.clientX - n)
913
+ c + (h.clientY - i)
918
914
  )
915
+ ) : f === "left" ? this.vertSize = Math.max(
916
+ We,
917
+ Math.min(window.innerWidth * 0.6, c + (h.clientX - n))
919
918
  ) : this.vertSize = Math.max(
920
- Re,
921
- Math.min(
922
- window.innerWidth * 0.6,
923
- l + (n - h.clientX)
924
- )
919
+ We,
920
+ Math.min(window.innerWidth * 0.6, c + (n - h.clientX))
925
921
  );
926
922
  }, g = () => {
927
923
  document.removeEventListener("mousemove", p), document.removeEventListener("mouseup", g);
@@ -929,24 +925,23 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
929
925
  document.addEventListener("mousemove", p), document.addEventListener("mouseup", g);
930
926
  }
931
927
  render() {
932
- const { plugins: e, registry: n, onClose: i } = this.p;
933
- return /* @__PURE__ */ c(
928
+ return /* @__PURE__ */ d(
934
929
  "div",
935
930
  {
936
931
  class: () => {
937
- const s = this.dock;
938
- return s === "top" ? "flex flex-col-reverse fixed top-0 left-0 w-full z-[2147483647]" : s === "left" ? "flex flex-row-reverse fixed left-0 top-0 h-screen z-[2147483647]" : s === "right" ? "flex fixed right-0 top-0 h-screen z-[2147483647]" : "flex flex-col fixed bottom-0 left-0 w-full z-[2147483647]";
932
+ const e = this.dock;
933
+ return e === "top" ? "flex flex-col-reverse fixed top-0 left-0 w-full z-[2147483647]" : e === "left" ? "flex flex-row-reverse fixed left-0 top-0 h-screen z-[2147483647]" : e === "right" ? "flex fixed right-0 top-0 h-screen z-[2147483647]" : "flex flex-col fixed bottom-0 left-0 w-full z-[2147483647]";
939
934
  },
940
935
  children: [
941
936
  /* @__PURE__ */ o(
942
937
  "div",
943
938
  {
944
939
  class: () => {
945
- const s = this.dock;
946
- return s === "bottom" || s === "top" ? "h-1 cursor-[ns-resize] bg-transparent hover:bg-accent transition-colors duration-200" : "w-1 cursor-[ew-resize] bg-transparent hover:bg-accent transition-colors duration-200";
940
+ const e = this.dock;
941
+ return e === "bottom" || e === "top" ? "h-1 cursor-[ns-resize] bg-transparent hover:bg-accent transition-colors duration-200" : "w-1 cursor-[ew-resize] bg-transparent hover:bg-accent transition-colors duration-200";
947
942
  },
948
- onMouseDown: (s) => {
949
- this.handleMouseDown(s);
943
+ onMouseDown: (e) => {
944
+ this.handleMouseDown(e);
950
945
  }
951
946
  }
952
947
  ),
@@ -954,37 +949,37 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
954
949
  "div",
955
950
  {
956
951
  class: () => {
957
- const s = this.dock;
958
- return s === "top" ? "w-full h-full bg-bg border-b border-border" : s === "left" ? "w-full h-full bg-bg border-r border-border" : s === "right" ? "w-full h-full bg-bg border-l border-border" : "w-full h-full bg-bg border-t border-border";
952
+ const e = this.dock;
953
+ return e === "top" ? "w-full h-full bg-bg border-b border-border" : e === "left" ? "w-full h-full bg-bg border-r border-border" : e === "right" ? "w-full h-full bg-bg border-l border-border" : "w-full h-full bg-bg border-t border-border";
959
954
  },
960
955
  style: () => {
961
- const s = this.dock;
962
- return s === "bottom" || s === "top" ? { height: `${this.bottomSize.toString()}px` } : { width: `${this.vertSize.toString()}px` };
956
+ const e = this.dock;
957
+ return e === "bottom" || e === "top" ? { height: `${this.bottomSize.toString()}px` } : { width: `${this.vertSize.toString()}px` };
963
958
  },
964
- children: /* @__PURE__ */ c("div", { class: "flex flex-col flex-1 w-full h-full overflow-hidden", children: [
965
- /* @__PURE__ */ c("div", { class: "flex h-10 items-stretch border-b border-border bg-header shrink-0 px-2 gap-[2px]", children: [
966
- /* @__PURE__ */ c("div", { class: "flex items-center gap-[6px] pr-3 mr-[2px] border-r border-border shrink-0", children: [
967
- /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: At }),
959
+ children: /* @__PURE__ */ d("div", { class: "flex flex-col flex-1 w-full h-full overflow-hidden", children: [
960
+ /* @__PURE__ */ d("div", { class: "flex h-10 items-stretch border-b border-border bg-header shrink-0 px-2 gap-[2px]", children: [
961
+ /* @__PURE__ */ d("div", { class: "flex items-center gap-[6px] pr-3 mr-[2px] border-r border-border shrink-0", children: [
962
+ /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: Tt }),
968
963
  /* @__PURE__ */ o("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "praxisjs" })
969
964
  ] }),
970
- /* @__PURE__ */ o("div", { class: "flex items-stretch flex-1", children: e.map((s) => /* @__PURE__ */ c(
965
+ /* @__PURE__ */ o("div", { class: "flex items-stretch flex-1", children: () => this.plugins.map((e) => /* @__PURE__ */ d(
971
966
  "button",
972
967
  {
973
- class: () => this.activeTab === s.id ? "relative flex items-center px-3 text-[11px] font-semibold text-accent cursor-pointer" : "flex items-center px-3 text-[11px] text-muted cursor-pointer hover:text-text transition-colors duration-150",
968
+ class: () => this.activeTab === e.id ? "relative flex items-center px-3 text-[11px] font-semibold text-accent cursor-pointer" : "flex items-center px-3 text-[11px] text-muted cursor-pointer hover:text-text transition-colors duration-150",
974
969
  onClick: () => {
975
- this.activeTab = s.id;
970
+ this.activeTab = e.id;
976
971
  },
977
972
  children: [
978
- s.label,
979
- () => this.activeTab === s.id ? /* @__PURE__ */ o("span", { class: "absolute bottom-0 left-0 right-0 h-[2px] bg-accent" }) : null
973
+ e.label,
974
+ () => this.activeTab === e.id ? /* @__PURE__ */ o("span", { class: "absolute bottom-0 left-0 right-0 h-[2px] bg-accent" }) : null
980
975
  ]
981
976
  },
982
- s.id
977
+ e.id
983
978
  )) }),
984
- /* @__PURE__ */ c("div", { class: "flex items-center gap-[2px] shrink-0", children: [
985
- /* @__PURE__ */ c("div", { class: "relative", children: [
979
+ /* @__PURE__ */ d("div", { class: "flex items-center gap-[2px] shrink-0", children: [
980
+ /* @__PURE__ */ d("div", { class: "relative", children: [
986
981
  /* @__PURE__ */ o(
987
- T,
982
+ R,
988
983
  {
989
984
  title: "Dock position",
990
985
  icon: re,
@@ -995,27 +990,38 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
995
990
  }
996
991
  ),
997
992
  () => this.dockMenuOpen ? /* @__PURE__ */ o("div", { class: "absolute right-0 top-full mt-1 flex gap-[2px] bg-bg border border-border rounded-md shadow-lg p-1 z-10", children: ["bottom", "top", "left", "right"].map(
998
- (s) => /* @__PURE__ */ o(
999
- T,
993
+ (e) => /* @__PURE__ */ o(
994
+ R,
1000
995
  {
1001
- title: `Dock ${s}`,
1002
- active: () => this.dock === s,
1003
- icon: on[s],
996
+ title: `Dock ${e}`,
997
+ active: () => this.dock === e,
998
+ icon: pn[e],
1004
999
  onClick: () => {
1005
- this.dock = s, this.dockMenuOpen = !1;
1000
+ this.dock = e, this.dockMenuOpen = !1;
1006
1001
  }
1007
1002
  },
1008
- s
1003
+ e
1009
1004
  )
1010
1005
  ) }) : null
1011
1006
  ] }),
1012
1007
  /* @__PURE__ */ o("div", { class: "w-px h-3 bg-border mx-1" }),
1013
- /* @__PURE__ */ o(T, { title: "Close", icon: le, onClick: i })
1008
+ /* @__PURE__ */ o(
1009
+ R,
1010
+ {
1011
+ title: "Close",
1012
+ icon: le,
1013
+ onClick: () => {
1014
+ this.handleClose();
1015
+ }
1016
+ }
1017
+ )
1014
1018
  ] })
1015
1019
  ] }),
1016
1020
  /* @__PURE__ */ o("div", { class: "flex-1 overflow-hidden flex flex-col", children: () => {
1017
- const l = e.find((p) => p.id === this.activeTab)?.component;
1018
- return l ? /* @__PURE__ */ o(l, { registry: n }) : null;
1021
+ const n = this.plugins.find(
1022
+ (i) => i.id === this.activeTab
1023
+ )?.component;
1024
+ return n ? /* @__PURE__ */ o(n, { registry: this.registry }) : null;
1019
1025
  } })
1020
1026
  ] })
1021
1027
  }
@@ -1025,34 +1031,32 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
1025
1031
  );
1026
1032
  }
1027
1033
  }
1028
- y = b(Et), d(y, 5, "activeTab", jt, j), d(y, 5, "dock", $t, j), d(y, 5, "dockMenuOpen", _t, j), d(y, 5, "bottomSize", Lt, j), d(y, 5, "vertSize", It, j), j = d(y, 0, "Panel", Dt, j), a(y, 1, j);
1029
- const sn = [
1030
- Qt,
1031
- Zt,
1032
- en
1034
+ x = b(Ot), l(x, 1, "handleClose", Lt, _), l(x, 5, "activeTab", Ut, _), l(x, 5, "dock", Dt, _), l(x, 5, "dockMenuOpen", Nt, _), l(x, 5, "bottomSize", Et, _), l(x, 5, "vertSize", jt, _), l(x, 5, "plugins", $t, _), l(x, 5, "registry", _t, _), _ = l(x, 0, "Panel", Ft, _), s(x, 1, _);
1035
+ const hn = [
1036
+ on,
1037
+ rn,
1038
+ ln
1033
1039
  ];
1034
- var Nt, Ut, Ot, A;
1035
- Ot = [x()];
1036
- class B extends (Ut = R, Nt = [M()], Ut) {
1040
+ var At, Bt, Ht, Gt, Rt, L;
1041
+ Rt = [m()];
1042
+ class N extends (Gt = T, Ht = [C()], Bt = [ce()], At = [ce()], Gt) {
1037
1043
  constructor() {
1038
1044
  super(...arguments);
1039
- f(this, "open", a(A, 8, this, !1)), a(A, 11, this);
1040
- }
1041
- get p() {
1042
- return this.props;
1045
+ w(this, "open", s(L, 8, this, !1)), s(L, 11, this);
1046
+ w(this, "plugins", s(L, 12, this, [])), s(L, 15, this);
1047
+ w(this, "registry", s(L, 16, this)), s(L, 19, this);
1043
1048
  }
1044
1049
  render() {
1045
- const { plugins: e, registry: n } = this.p;
1046
1050
  return /* @__PURE__ */ o("div", { children: () => this.open ? /* @__PURE__ */ o(
1047
- j,
1051
+ _,
1048
1052
  {
1049
- plugins: e,
1050
- registry: n,
1053
+ plugins: this.plugins,
1054
+ registry: this.registry,
1051
1055
  onClose: () => {
1052
1056
  this.open = !1;
1053
1057
  }
1054
1058
  }
1055
- ) : /* @__PURE__ */ c(
1059
+ ) : /* @__PURE__ */ d(
1056
1060
  "button",
1057
1061
  {
1058
1062
  onClick: () => {
@@ -1060,28 +1064,28 @@ class B extends (Ut = R, Nt = [M()], Ut) {
1060
1064
  },
1061
1065
  class: "fixed bottom-5 right-5 z-[2147483647] flex items-center gap-1 pl-[10px] pr-[14px] h-[32px] rounded-xl font-sans font-semibold text-[12px] text-accent bg-header border border-border cursor-pointer select-none shadow-[0_8px_32px_rgba(0,0,0,0.7)] transition-all duration-200 hover:border-accent hover:bg-soft hover:shadow-[0_8px_32px_rgba(56,189,248,0.1)]",
1062
1066
  children: [
1063
- /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: At }),
1067
+ /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: Tt }),
1064
1068
  /* @__PURE__ */ o("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "devtools" })
1065
1069
  ]
1066
1070
  }
1067
1071
  ) });
1068
1072
  }
1069
1073
  }
1070
- A = b(Ut), d(A, 5, "open", Nt, B), B = d(A, 0, "DevToolsApp", Ot, B), a(A, 1, B);
1071
- const En = {
1072
- plugins: [...sn],
1074
+ L = b(Gt), l(L, 5, "open", Ht, N), l(L, 5, "plugins", Bt, N), l(L, 5, "registry", At, N), N = l(L, 0, "DevToolsApp", Rt, N), s(L, 1, N);
1075
+ const Bn = {
1076
+ plugins: [...hn],
1073
1077
  host: null,
1074
1078
  cleanup: null,
1075
1079
  init(r = {}) {
1076
1080
  if (this.host) return;
1077
- r.plugins && (this.plugins = r.plugins), this.plugins.forEach((s) => s.setup?.(v.instance));
1081
+ r.plugins && (this.plugins = r.plugins), this.plugins.forEach((a) => a.setup?.(v.instance));
1078
1082
  const t = document.createElement("div");
1079
1083
  t.id = "praxisjs-devtools", document.body.appendChild(t), this.host = t;
1080
1084
  const e = t.attachShadow({ mode: "open" }), n = document.createElement("style");
1081
- n.textContent = tn + Jt, e.appendChild(n);
1085
+ n.textContent = cn + Pt, e.appendChild(n);
1082
1086
  const i = document.createElement("div");
1083
- e.appendChild(i), this.cleanup = He(
1084
- () => /* @__PURE__ */ o(B, { plugins: this.plugins, registry: v.instance }),
1087
+ e.appendChild(i), this.cleanup = Ge(
1088
+ () => /* @__PURE__ */ o(N, { plugins: this.plugins, registry: v.instance }),
1085
1089
  i
1086
1090
  );
1087
1091
  },
@@ -1094,34 +1098,34 @@ const En = {
1094
1098
  remount() {
1095
1099
  if (!this.host) return;
1096
1100
  const t = this.host.shadowRoot.querySelector("div:last-child");
1097
- this.cleanup?.(), this.cleanup = He(
1098
- () => /* @__PURE__ */ o(B, { plugins: this.plugins, registry: v.instance }),
1101
+ this.cleanup?.(), this.cleanup = Ge(
1102
+ () => /* @__PURE__ */ o(N, { plugins: this.plugins, registry: v.instance }),
1099
1103
  t
1100
1104
  );
1101
1105
  }
1102
1106
  };
1103
- function We(r) {
1107
+ function Ye(r) {
1104
1108
  return typeof r == "function" && typeof r.subscribe == "function" && !("set" in r);
1105
1109
  }
1106
- function Dn(r = {}) {
1110
+ function Hn(r = {}) {
1107
1111
  return function(e, n) {
1108
1112
  const i = r.label ?? n.name;
1109
1113
  if (n.kind === "method") {
1110
- const s = e;
1111
- return function(...l) {
1114
+ const a = e;
1115
+ return function(...c) {
1112
1116
  const p = this.constructor.name, g = performance.now();
1113
- let h, m = !1;
1117
+ let h, f = !1;
1114
1118
  try {
1115
- h = s.apply(this, l);
1119
+ h = a.apply(this, c);
1116
1120
  } catch (u) {
1117
- throw m = !0, h = u, u;
1121
+ throw f = !0, h = u, u;
1118
1122
  } finally {
1119
1123
  const u = performance.now() - g;
1120
1124
  v.instance.recordMethodCall(
1121
1125
  this,
1122
1126
  i,
1123
- l,
1124
- m ? `throw ${String(h)}` : h,
1127
+ c,
1128
+ f ? `throw ${String(h)}` : h,
1125
1129
  u,
1126
1130
  p
1127
1131
  );
@@ -1130,76 +1134,76 @@ function Dn(r = {}) {
1130
1134
  };
1131
1135
  }
1132
1136
  if (n.kind === "getter") {
1133
- const s = e;
1137
+ const a = e;
1134
1138
  n.addInitializer(function() {
1135
- const l = this, p = l.constructor.name;
1139
+ const c = this, p = c.constructor.name;
1136
1140
  queueMicrotask(() => {
1137
- const g = Yt(() => s.call(l));
1138
- let h = !0, m = g();
1139
- v.instance.registerSignal(l, i, m, p), g.subscribe((u) => {
1141
+ const g = Vt(() => a.call(c));
1142
+ let h = !0, f = g();
1143
+ v.instance.registerSignal(c, i, f, p), g.subscribe((u) => {
1140
1144
  if (h) {
1141
1145
  h = !1;
1142
1146
  return;
1143
1147
  }
1144
- v.instance.updateSignal(l, i, u, m), m = u;
1148
+ v.instance.updateSignal(c, i, u, f), f = u;
1145
1149
  });
1146
1150
  });
1147
1151
  });
1148
1152
  return;
1149
1153
  }
1150
1154
  n.addInitializer(function() {
1151
- const s = this, l = n.name, p = s.constructor.name, g = Object.getOwnPropertyDescriptor(s, l);
1155
+ const a = this, c = n.name, p = a.constructor.name, g = Object.getOwnPropertyDescriptor(a, c);
1152
1156
  if (g?.get && g.set) {
1153
1157
  const k = g.get, z = g.set;
1154
1158
  v.instance.registerSignal(
1155
- s,
1159
+ a,
1156
1160
  i,
1157
- k.call(s),
1161
+ k.call(a),
1158
1162
  p
1159
- ), Object.defineProperty(s, l, {
1163
+ ), Object.defineProperty(a, c, {
1160
1164
  get() {
1161
1165
  return k.call(this);
1162
1166
  },
1163
- set(_) {
1164
- const U = k.call(this);
1165
- z.call(this, _), v.instance.updateSignal(this, i, _, U);
1167
+ set(j) {
1168
+ const F = k.call(this);
1169
+ z.call(this, j), v.instance.updateSignal(this, i, j, F);
1166
1170
  },
1167
1171
  enumerable: !0,
1168
1172
  configurable: !0
1169
1173
  });
1170
1174
  return;
1171
1175
  }
1172
- const h = s[l];
1173
- if (Reflect.deleteProperty(s, l), !We(h)) {
1176
+ const h = a[c];
1177
+ if (Reflect.deleteProperty(a, c), !Ye(h)) {
1174
1178
  h !== void 0 && console.warn(
1175
- `[PraxisJS DevTools] @Debug() on "${p}.${l}": expected a computed() value but got ${typeof h}. Skipping.`
1176
- ), s[l] = h;
1179
+ `[PraxisJS DevTools] @Debug() on "${p}.${c}": expected a computed() value but got ${typeof h}. Skipping.`
1180
+ ), a[c] = h;
1177
1181
  return;
1178
1182
  }
1179
- let m;
1183
+ let f;
1180
1184
  function u(k) {
1181
- let z = !0, _ = k();
1182
- const U = k.subscribe((W) => {
1185
+ let z = !0, j = k();
1186
+ const F = k.subscribe((W) => {
1183
1187
  if (z) {
1184
1188
  z = !1;
1185
1189
  return;
1186
1190
  }
1187
- v.instance.updateSignal(s, i, W, _), _ = W;
1191
+ v.instance.updateSignal(a, i, W, j), j = W;
1188
1192
  });
1189
- return v.instance.registerSignal(s, i, _, p), U;
1193
+ return v.instance.registerSignal(a, i, j, p), F;
1190
1194
  }
1191
- m = { computed: h, unsub: u(h) }, Object.defineProperty(s, l, {
1195
+ f = { computed: h, unsub: u(h) }, Object.defineProperty(a, c, {
1192
1196
  get() {
1193
- return m.computed;
1197
+ return f.computed;
1194
1198
  },
1195
1199
  set(k) {
1196
- if (m.unsub(), !We(k)) {
1200
+ if (f.unsub(), !Ye(k)) {
1197
1201
  console.warn(
1198
- `[PraxisJS DevTools] @Debug() on "${p}.${l}": expected a computed() value but got ${typeof k}. Skipping.`
1202
+ `[PraxisJS DevTools] @Debug() on "${p}.${c}": expected a computed() value but got ${typeof k}. Skipping.`
1199
1203
  );
1200
1204
  return;
1201
1205
  }
1202
- m = { computed: k, unsub: u(k) };
1206
+ f = { computed: k, unsub: u(k) };
1203
1207
  },
1204
1208
  enumerable: !0,
1205
1209
  configurable: !0
@@ -1207,16 +1211,16 @@ function Dn(r = {}) {
1207
1211
  });
1208
1212
  };
1209
1213
  }
1210
- function Nn() {
1214
+ function Gn() {
1211
1215
  return function(r, t) {
1212
- const e = r.name, n = v.instance, i = r.prototype, s = i.render;
1213
- s && (i.render = function(...g) {
1214
- const h = performance.now(), m = s.call(this, ...g), u = performance.now() - h;
1215
- return n.recordRender(this, u), m;
1216
+ const e = r.name, n = v.instance, i = r.prototype, a = i.render;
1217
+ a && (i.render = function(...g) {
1218
+ const h = performance.now(), f = a.call(this, ...g), u = performance.now() - h;
1219
+ return n.recordRender(this, u), f;
1216
1220
  });
1217
- const l = i.onBeforeMount;
1221
+ const c = i.onBeforeMount;
1218
1222
  i.onBeforeMount = function(...g) {
1219
- return n.registerComponent(this, e), n.recordLifecycle(this, "onBeforeMount"), l?.call(this, ...g);
1223
+ return n.registerComponent(this, e), n.recordLifecycle(this, "onBeforeMount"), c?.call(this, ...g);
1220
1224
  };
1221
1225
  const p = [
1222
1226
  "onMount",
@@ -1227,19 +1231,19 @@ function Nn() {
1227
1231
  ];
1228
1232
  for (const g of p) {
1229
1233
  const h = i[g];
1230
- i[g] = function(...m) {
1231
- return n.recordLifecycle(this, g), h?.call(this, ...m);
1234
+ i[g] = function(...f) {
1235
+ return n.recordLifecycle(this, g), h?.call(this, ...f);
1232
1236
  };
1233
1237
  }
1234
1238
  return r;
1235
1239
  };
1236
1240
  }
1237
1241
  export {
1238
- Zt as ComponentsPlugin,
1239
- Dn as Debug,
1240
- En as DevTools,
1242
+ rn as ComponentsPlugin,
1243
+ Hn as Debug,
1244
+ Bn as DevTools,
1241
1245
  v as Registry,
1242
- Qt as SignalsPlugin,
1243
- en as TimelinePlugin,
1244
- Nn as Trace
1246
+ on as SignalsPlugin,
1247
+ ln as TimelinePlugin,
1248
+ Gn as Trace
1245
1249
  };