@praxisjs/devtools 0.2.2 → 0.2.4

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 Tt = Object.create;
2
2
  var pe = Object.defineProperty;
3
- var Ht = Object.getOwnPropertyDescriptor;
4
- var Ae = (r, t) => (t = Symbol[r]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + r), J = (r) => {
3
+ var qt = Object.getOwnPropertyDescriptor;
4
+ var Ae = (r, t) => (t = Symbol[r]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + r), q = (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) => [, , , Tt(r?.[Ae("metadata")] ?? null)], He = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], T = (r) => r !== void 0 && typeof r != "function" ? q("Function expected") : r, Xt = (r, t, e, n, i) => ({ kind: He[r], name: t, metadata: n, addInitializer: (a) => e._ ? q("Already initialized") : i.push(T(a || null)) }), Kt = (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, w, u = t & 7, k = !!(t & 8), z = !!(t & 16), j = u > 3 ? r.length + 1 : u ? k ? 1 : 2 : 0, A = He[u + 5], R = u > 3 && (r[j - 1] = []), Rt = r[j] || (r[j] = []), $ = u && (!z && !k && (i = i.prototype), u < 5 && (u > 3 || !z) && qt(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 = Xt(u, e, g = {}, r[3], Rt), u && (h.static = k, h.private = z, w = h.access = { has: z ? (M) => Zt(i, M) : (M) => e in M }, u ^ 3 && (w.get = z ? (M) => (u ^ 1 ? Oe : Qt)(M, i, u ^ 4 ? a : $.get) : (M) => M[e]), u > 2 && (w.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 : $[A] : u > 4 ? void 0 : { get: $.get, set: $.set } : i, h), g._ = 1, u ^ 4 || p === void 0 ? T(p) && (u > 4 ? R.unshift(p) : u ? z ? a = p : $[A] = p : i = p) : typeof p != "object" || p === null ? q("Object expected") : (T(c = p.get) && ($.get = c), T(c = p.set) && ($.set = c), T(c = p.init) && R.unshift(c));
21
+ return u || Kt(r, i), $ && pe(i, e, $), z ? u ^ 4 ? a : $ : i;
22
+ }, f = (r, t, e) => Be(r, typeof t != "symbol" ? t + "" : t, e), he = (r, t, e) => t.has(r) || q("Cannot " + e), Zt = (r, t) => Object(t) !== t ? q('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), Qt = (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 J } from "@praxisjs/core";
26
+ import { Component as m, State as C, Prop as Z, Emit as Vt } from "@praxisjs/decorators";
27
+ import { render as Ge } from "@praxisjs/runtime";
28
+ import { computed as Pt } from "@praxisjs/core/internal";
29
+ const Jt = "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", en = '*,: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 tn {
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 nn = 200;
42
+ let rn = 0;
43
+ function We() {
44
+ return `v${(++rn).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 tn();
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, We()), 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: We(),
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 > nn && 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 Te, ge, bn;
164
+ Te = [m()];
165
+ class G extends (bn = 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(bn), G = l(ge, 0, "EmptyState", Te, G), s(ge, 1, G);
174
+ var qe, be, xn;
175
+ qe = [m()];
176
+ class X extends (xn = 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(xn), 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, mn;
203
+ Xe = [m()];
204
+ class F extends (mn = 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(mn), F = l(xe, 0, "DetailRow", Xe, F), s(xe, 1, F);
220
+ var Ke, me, fn;
221
+ Ke = [m()];
222
+ class W extends (fn = 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(fn), W = l(me, 0, "DetailSection", Ke, W), s(me, 1, W);
231
+ var Ze, fe, wn;
232
+ Ze = [m()];
233
+ class K extends (wn = 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(wn), K = l(fe, 0, "StatusDot", Ze, K), s(fe, 1, K);
246
+ var Qe, we, yn;
247
+ Qe = [m()];
248
+ class Q extends (yn = 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(W, { label: "Stats", children: [
262
+ /* @__PURE__ */ o(F, { k: "renders", v: String(t.renderCount) }),
263
263
  /* @__PURE__ */ o(
264
- N,
264
+ F,
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(F, { k: "status", v: t.status })
271
271
  ] }),
272
- e.length > 0 && /* @__PURE__ */ o(G, { label: "State", children: e.map((n) => /* @__PURE__ */ o(
273
- N,
272
+ e.length > 0 && /* @__PURE__ */ o(W, { label: "State", children: e.map((n) => /* @__PURE__ */ o(
273
+ F,
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(W, { 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(yn), Q = l(we, 0, "ComponentDetail", Qe, Q), s(we, 1, Q);
297
+ var Ve, ye, vn;
298
+ Ve = [m()];
299
+ class V extends (vn = 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,14 +331,14 @@ 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(vn), V = l(ye, 0, "ComponentRow", Ve, V), s(ye, 1, V);
335
+ var Pe, et, tt, nt, E;
336
+ nt = [m()];
337
+ class B extends (tt = J, 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);
340
+ f(this, "components", s(E, 8, this, [])), s(E, 11, this);
341
+ f(this, "selectedId", s(E, 12, this, null)), s(E, 15, this);
342
342
  f(this, "_handlers", []);
343
343
  }
344
344
  get registry() {
@@ -365,15 +365,15 @@ 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" })
374
374
  ] }),
375
- /* @__PURE__ */ o("div", { class: "flex-1 overflow-y-auto", children: () => this.components.length === 0 ? /* @__PURE__ */ o(H, { message: "No components tracked. Add @Trace() to component classes." }) : this.components.map((n) => /* @__PURE__ */ o(
376
- Q,
375
+ /* @__PURE__ */ o("div", { class: "flex-1 overflow-y-auto", children: () => this.components.length === 0 ? /* @__PURE__ */ o(G, { message: "No components tracked. Add @Trace() to component classes." }) : this.components.map((n) => /* @__PURE__ */ o(
376
+ V,
377
377
  {
378
378
  entry: n,
379
379
  selected: () => this.selectedId === n.id,
@@ -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(Q, { 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 on = {
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, kn;
401
+ rt = [m()];
402
+ class P extends (kn = 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(kn), P = l(ve, 0, "SearchInput", rt, P), s(ve, 1, P);
419
+ var ot, ke, zn;
420
+ ot = [m()];
421
+ class ee extends (zn = 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(zn), ee = l(ke, 0, "PanelSection", ot, ee), s(ke, 1, ee);
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, Cn;
435
+ it = [m()];
436
+ class te extends (Cn = 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(ee, { 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(Cn), te = l(ze, 0, "SignalDetail", it, te), s(ze, 1, te);
456
+ var st, Ce, Mn;
457
+ st = [m()];
458
+ class ne extends (Mn = 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,22 +467,22 @@ 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(Mn), ne = l(Ce, 0, "SignalRow", st, ne), s(Ce, 1, ne);
478
+ var at, lt, ct, dt, ut, S;
479
+ ut = [m()];
480
+ class U extends (dt = J, 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);
483
+ f(this, "signals", s(S, 8, this, [])), s(S, 11, this);
484
+ f(this, "search", s(S, 12, this, "")), s(S, 15, this);
485
+ f(this, "selectedId", s(S, 16, this, null)), s(S, 19, this);
486
486
  f(this, "_handlers", []);
487
487
  }
488
488
  get registry() {
@@ -504,8 +504,8 @@ 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
510
  P,
511
511
  {
@@ -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" }),
@@ -526,12 +526,12 @@ class E extends (ct = R, lt = [M()], at = [M()], st = [M()], ct) {
526
526
  (i) => i.label.toLowerCase().includes(e) || i.componentName.toLowerCase().includes(e)
527
527
  );
528
528
  return n.length === 0 ? /* @__PURE__ */ o(
529
- H,
529
+ G,
530
530
  {
531
531
  message: this.signals.length === 0 ? "No signals tracked. Add @Debug() on top of @State() properties." : "No signals match your search."
532
532
  }
533
533
  ) : n.map((i) => /* @__PURE__ */ o(
534
- te,
534
+ ne,
535
535
  {
536
536
  entry: i,
537
537
  selected: this.selectedId === i.id,
@@ -545,24 +545,24 @@ class E extends (ct = R, lt = [M()], at = [M()], st = [M()], ct) {
545
545
  ] }),
546
546
  () => {
547
547
  const e = this.selectedId, n = e ? this.signals.find((i) => i.id === e) ?? null : null;
548
- return n ? /* @__PURE__ */ o(ee, { entry: n }) : null;
548
+ return n ? /* @__PURE__ */ o(te, { entry: n }) : null;
549
549
  }
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, U), l(S, 5, "search", lt, U), l(S, 5, "selectedId", at, U), U = l(S, 0, "SignalsTab", ut, U), s(S, 1, U);
554
+ const sn = {
555
555
  id: "signals",
556
556
  label: "Signals",
557
- component: E
558
- }, Pt = {
557
+ component: U
558
+ }, an = {
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
+ }, ln = [
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, Sn;
574
+ pt = [m()];
575
+ class re extends (Sn = y) {
576
576
  render() {
577
- const t = Pt[this.props.type];
577
+ const t = an[this.props.type];
578
578
  return /* @__PURE__ */ o(
579
579
  "span",
580
580
  {
@@ -584,18 +584,21 @@ 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(Sn), re = l(Me, 0, "Badge", pt, re), s(Me, 1, re);
588
+ var ht, gt, bt, xt, N;
589
+ xt = [m()];
590
+ class H extends (bt = J, gt = [C()], ht = [Z()], bt) {
591
591
  constructor() {
592
592
  super(...arguments);
593
- f(this, "open", a(O, 8, this, !1)), a(O, 11, this);
593
+ f(this, "open", s(N, 8, this, !1)), s(N, 11, this);
594
+ f(this, "entry", s(N, 12, this)), s(N, 15, this);
594
595
  }
595
596
  render() {
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
+ const e = this.entry;
598
+ if (!e) return null;
599
+ const n = Object.keys(e.data).length > 0;
600
+ return /* @__PURE__ */ d("div", { class: "border-b border-border", children: [
601
+ /* @__PURE__ */ d(
599
602
  "div",
600
603
  {
601
604
  onClick: () => {
@@ -604,31 +607,31 @@ class q extends (ht = R, ut = [M()], ht) {
604
607
  class: `flex items-center gap-2 px-3 py-2 transition-colors duration-100 ${n ? "cursor-pointer hover:bg-section" : "cursor-default"}`,
605
608
  children: [
606
609
  /* @__PURE__ */ o("span", { class: "text-subtle text-[10px] w-10 shrink-0 text-right tabular-nums font-mono", children: De(e.timestamp) }),
607
- /* @__PURE__ */ o(ne, { type: e.type }),
610
+ /* @__PURE__ */ o(re, { type: e.type }),
608
611
  /* @__PURE__ */ o("span", { class: "flex-1 text-text font-mono text-[11px] truncate", children: e.label }),
609
612
  n && /* @__PURE__ */ o("span", { class: "text-subtle text-[11px] shrink-0 w-4 text-center", children: () => this.open ? "▾" : "▸" })
610
613
  ]
611
614
  }
612
615
  ),
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: [
616
+ () => 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: [
617
+ /* @__PURE__ */ d("span", { class: "text-accent shrink-0", children: [
615
618
  i,
616
619
  ":"
617
620
  ] }),
618
- /* @__PURE__ */ o("span", { class: "text-muted truncate", children: typeof s == "object" ? JSON.stringify(s) : String(s) })
621
+ /* @__PURE__ */ o("span", { class: "text-muted truncate", children: typeof a == "object" ? JSON.stringify(a) : String(a) })
619
622
  ] }, i)) }) : null
620
623
  ] });
621
624
  }
622
625
  }
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) {
626
+ N = b(bt), l(N, 5, "open", gt, H), l(N, 5, "entry", ht, H), H = l(N, 0, "TimelineRow", xt, H), s(N, 1, H);
627
+ var mt, ft, wt, yt, vt, I;
628
+ vt = [m()];
629
+ class O extends (yt = J, wt = [C()], ft = [C()], mt = [C()], yt) {
627
630
  constructor() {
628
631
  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, "entries", s(I, 8, this, [])), s(I, 11, this);
633
+ f(this, "filter", s(I, 12, this, "all")), s(I, 15, this);
634
+ f(this, "paused", s(I, 16, this, !1)), s(I, 19, this);
632
635
  f(this, "_handlers", []);
633
636
  }
634
637
  get registry() {
@@ -647,9 +650,9 @@ class D extends (ft = R, mt = [M()], xt = [M()], bt = [M()], ft) {
647
650
  });
648
651
  }
649
652
  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(
653
+ return /* @__PURE__ */ d("div", { class: "flex flex-col h-full overflow-hidden", children: [
654
+ /* @__PURE__ */ d("div", { class: "flex items-center gap-[3px] px-2 py-2 border-b border-border bg-bg shrink-0 flex-wrap", children: [
655
+ ln.map((e) => /* @__PURE__ */ o(
653
656
  "button",
654
657
  {
655
658
  onClick: () => {
@@ -686,22 +689,22 @@ class D extends (ft = R, mt = [M()], xt = [M()], bt = [M()], ft) {
686
689
  const e = this.filter, n = e === "all" ? this.entries : this.entries.filter(
687
690
  (i) => i.type === e || e === "component:mount" && i.type === "component:unmount"
688
691
  );
689
- return n.length === 0 ? /* @__PURE__ */ o(H, { message: "No events yet. Interact with your app to see the timeline." }) : [...n].reverse().map((i) => /* @__PURE__ */ o(q, { entry: i }, i.id));
692
+ return n.length === 0 ? /* @__PURE__ */ o(G, { message: "No events yet. Interact with your app to see the timeline." }) : [...n].reverse().map((i) => /* @__PURE__ */ o(H, { entry: i }, i.id));
690
693
  } })
691
694
  ] });
692
695
  }
693
696
  }
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 = {
697
+ I = b(yt), l(I, 5, "entries", wt, O), l(I, 5, "filter", ft, O), l(I, 5, "paused", mt, O), O = l(I, 0, "TimelineTab", vt, O), s(I, 1, O);
698
+ const cn = {
696
699
  id: "timeline",
697
700
  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) {
701
+ component: O
702
+ }, dn = '*,: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}';
703
+ var kt, Se, In;
704
+ kt = [m()];
705
+ class oe extends (In = y) {
703
706
  render() {
704
- return /* @__PURE__ */ c(
707
+ return /* @__PURE__ */ d(
705
708
  "svg",
706
709
  {
707
710
  xmlns: "http://www.w3.org/2000/svg",
@@ -723,12 +726,12 @@ class re extends (wn = w) {
723
726
  );
724
727
  }
725
728
  }
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) {
729
+ Se = b(In), oe = l(Se, 0, "EllipsisVerticalIcon", kt, oe), s(Se, 1, oe);
730
+ var zt, Ie, Ln;
731
+ zt = [m()];
732
+ class ie extends (Ln = y) {
730
733
  render() {
731
- return /* @__PURE__ */ c(
734
+ return /* @__PURE__ */ d(
732
735
  "svg",
733
736
  {
734
737
  xmlns: "http://www.w3.org/2000/svg",
@@ -749,12 +752,12 @@ class oe extends (yn = w) {
749
752
  );
750
753
  }
751
754
  }
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) {
755
+ Ie = b(Ln), ie = l(Ie, 0, "PanelBottomIcon", zt, ie), s(Ie, 1, ie);
756
+ var Ct, Le, _n;
757
+ Ct = [m()];
758
+ class se extends (_n = y) {
756
759
  render() {
757
- return /* @__PURE__ */ c(
760
+ return /* @__PURE__ */ d(
758
761
  "svg",
759
762
  {
760
763
  xmlns: "http://www.w3.org/2000/svg",
@@ -775,12 +778,12 @@ class ie extends (vn = w) {
775
778
  );
776
779
  }
777
780
  }
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) {
781
+ Le = b(_n), se = l(Le, 0, "PanelLeftIcon", Ct, se), s(Le, 1, se);
782
+ var Mt, _e, $n;
783
+ Mt = [m()];
784
+ class ae extends ($n = y) {
782
785
  render() {
783
- return /* @__PURE__ */ c(
786
+ return /* @__PURE__ */ d(
784
787
  "svg",
785
788
  {
786
789
  xmlns: "http://www.w3.org/2000/svg",
@@ -801,12 +804,12 @@ class se extends (kn = w) {
801
804
  );
802
805
  }
803
806
  }
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) {
807
+ _e = b($n), ae = l(_e, 0, "PanelRightIcon", Mt, ae), s(_e, 1, ae);
808
+ var St, $e, jn;
809
+ St = [m()];
810
+ class le extends (jn = y) {
808
811
  render() {
809
- return /* @__PURE__ */ c(
812
+ return /* @__PURE__ */ d(
810
813
  "svg",
811
814
  {
812
815
  xmlns: "http://www.w3.org/2000/svg",
@@ -827,12 +830,12 @@ class ae extends (zn = w) {
827
830
  );
828
831
  }
829
832
  }
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) {
833
+ $e = b(jn), le = l($e, 0, "PanelTopIcon", St, le), s($e, 1, le);
834
+ var It, je, En;
835
+ It = [m()];
836
+ class ce extends (En = y) {
834
837
  render() {
835
- return /* @__PURE__ */ c(
838
+ return /* @__PURE__ */ d(
836
839
  "svg",
837
840
  {
838
841
  xmlns: "http://www.w3.org/2000/svg",
@@ -853,10 +856,10 @@ class le extends (Mn = w) {
853
856
  );
854
857
  }
855
858
  }
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) {
859
+ je = b(En), ce = l(je, 0, "XIcon", It, ce), s(je, 1, ce);
860
+ var Lt, Ee, Nn;
861
+ Lt = [m()];
862
+ class Y extends (Nn = y) {
860
863
  render() {
861
864
  const { title: t, active: e, icon: n, onClick: i } = this.props;
862
865
  return /* @__PURE__ */ o(
@@ -870,58 +873,54 @@ class T extends (Cn = w) {
870
873
  );
871
874
  }
872
875
  }
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 = {
875
- bottom: oe,
876
- top: ae,
877
- left: ie,
878
- right: se
876
+ Ee = b(Nn), Y = l(Ee, 0, "IconButton", Lt, Y), s(Ee, 1, Y);
877
+ const Ye = 180, un = 300, Je = 240, pn = 380, hn = {
878
+ bottom: ie,
879
+ top: le,
880
+ left: se,
881
+ right: ae
879
882
  };
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) {
883
+ var _t, $t, jt, Et, Nt, Dt, Ut, Ot, Ft, At, x;
884
+ At = [m()];
885
+ class _ extends (Ft = J, Ot = [C()], Ut = [C()], Dt = [C()], Nt = [C()], Et = [C()], jt = [Z()], $t = [Z()], _t = [Vt("onClose")], Ft) {
883
886
  constructor() {
884
887
  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);
888
+ s(x, 5, this);
889
+ f(this, "activeTab", s(x, 8, this, "")), s(x, 11, this);
890
+ f(this, "dock", s(x, 12, this, "bottom")), s(x, 15, this);
891
+ f(this, "dockMenuOpen", s(x, 16, this, !1)), s(x, 19, this);
892
+ f(this, "bottomSize", s(x, 20, this, un)), s(x, 23, this);
893
+ f(this, "vertSize", s(x, 24, this, pn)), s(x, 27, this);
894
+ f(this, "plugins", s(x, 28, this, [])), s(x, 31, this);
895
+ f(this, "registry", s(x, 32, this)), s(x, 35, this);
890
896
  }
891
- get p() {
892
- return this.props;
897
+ handleClose() {
893
898
  }
894
- onBeforeMount() {
895
- this.activeTab = this.p.plugins[0]?.id ?? "";
899
+ onMount() {
900
+ this.plugins.length > 0 && (this.activeTab = this.plugins[0].id);
896
901
  }
897
902
  handleMouseDown(e) {
898
903
  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(
902
- Te,
904
+ const n = e.clientX, i = e.clientY, a = this.dock, c = a === "bottom" || a === "top" ? this.bottomSize : this.vertSize, p = (h) => {
905
+ const w = this.dock;
906
+ w === "bottom" ? this.bottomSize = Math.max(
907
+ Ye,
903
908
  Math.min(
904
909
  window.innerHeight * 0.85,
905
- l + (i - h.clientY)
910
+ c + (i - h.clientY)
906
911
  )
907
- ) : m === "top" ? this.bottomSize = Math.max(
908
- Te,
912
+ ) : w === "top" ? this.bottomSize = Math.max(
913
+ Ye,
909
914
  Math.min(
910
915
  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)
916
+ c + (h.clientY - i)
918
917
  )
918
+ ) : w === "left" ? this.vertSize = Math.max(
919
+ Je,
920
+ Math.min(window.innerWidth * 0.6, c + (h.clientX - n))
919
921
  ) : this.vertSize = Math.max(
920
- Re,
921
- Math.min(
922
- window.innerWidth * 0.6,
923
- l + (n - h.clientX)
924
- )
922
+ Je,
923
+ Math.min(window.innerWidth * 0.6, c + (n - h.clientX))
925
924
  );
926
925
  }, g = () => {
927
926
  document.removeEventListener("mousemove", p), document.removeEventListener("mouseup", g);
@@ -929,24 +928,23 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
929
928
  document.addEventListener("mousemove", p), document.addEventListener("mouseup", g);
930
929
  }
931
930
  render() {
932
- const { plugins: e, registry: n, onClose: i } = this.p;
933
- return /* @__PURE__ */ c(
931
+ return /* @__PURE__ */ d(
934
932
  "div",
935
933
  {
936
934
  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]";
935
+ const e = this.dock;
936
+ 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
937
  },
940
938
  children: [
941
939
  /* @__PURE__ */ o(
942
940
  "div",
943
941
  {
944
942
  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";
943
+ const e = this.dock;
944
+ 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
945
  },
948
- onMouseDown: (s) => {
949
- this.handleMouseDown(s);
946
+ onMouseDown: (e) => {
947
+ this.handleMouseDown(e);
950
948
  }
951
949
  }
952
950
  ),
@@ -954,40 +952,40 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
954
952
  "div",
955
953
  {
956
954
  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";
955
+ const e = this.dock;
956
+ 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
957
  },
960
958
  style: () => {
961
- const s = this.dock;
962
- return s === "bottom" || s === "top" ? { height: `${this.bottomSize.toString()}px` } : { width: `${this.vertSize.toString()}px` };
959
+ const e = this.dock;
960
+ return e === "bottom" || e === "top" ? { height: `${this.bottomSize.toString()}px` } : { width: `${this.vertSize.toString()}px` };
963
961
  },
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 }),
962
+ children: /* @__PURE__ */ d("div", { class: "flex flex-col flex-1 w-full h-full overflow-hidden", children: [
963
+ /* @__PURE__ */ d("div", { class: "flex h-10 items-stretch border-b border-border bg-header shrink-0 px-2 gap-[2px]", children: [
964
+ /* @__PURE__ */ d("div", { class: "flex items-center gap-[6px] pr-3 mr-[2px] border-r border-border shrink-0", children: [
965
+ /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: Jt }),
968
966
  /* @__PURE__ */ o("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "praxisjs" })
969
967
  ] }),
970
- /* @__PURE__ */ o("div", { class: "flex items-stretch flex-1", children: e.map((s) => /* @__PURE__ */ c(
968
+ /* @__PURE__ */ o("div", { class: "flex items-stretch flex-1", children: () => this.plugins.map((e) => /* @__PURE__ */ d(
971
969
  "button",
972
970
  {
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",
971
+ 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
972
  onClick: () => {
975
- this.activeTab = s.id;
973
+ this.activeTab = e.id;
976
974
  },
977
975
  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
976
+ e.label,
977
+ () => this.activeTab === e.id ? /* @__PURE__ */ o("span", { class: "absolute bottom-0 left-0 right-0 h-[2px] bg-accent" }) : null
980
978
  ]
981
979
  },
982
- s.id
980
+ e.id
983
981
  )) }),
984
- /* @__PURE__ */ c("div", { class: "flex items-center gap-[2px] shrink-0", children: [
985
- /* @__PURE__ */ c("div", { class: "relative", children: [
982
+ /* @__PURE__ */ d("div", { class: "flex items-center gap-[2px] shrink-0", children: [
983
+ /* @__PURE__ */ d("div", { class: "relative", children: [
986
984
  /* @__PURE__ */ o(
987
- T,
985
+ Y,
988
986
  {
989
987
  title: "Dock position",
990
- icon: re,
988
+ icon: oe,
991
989
  active: () => this.dockMenuOpen,
992
990
  onClick: () => {
993
991
  this.dockMenuOpen = !this.dockMenuOpen;
@@ -995,27 +993,38 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
995
993
  }
996
994
  ),
997
995
  () => 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,
996
+ (e) => /* @__PURE__ */ o(
997
+ Y,
1000
998
  {
1001
- title: `Dock ${s}`,
1002
- active: () => this.dock === s,
1003
- icon: on[s],
999
+ title: `Dock ${e}`,
1000
+ active: () => this.dock === e,
1001
+ icon: hn[e],
1004
1002
  onClick: () => {
1005
- this.dock = s, this.dockMenuOpen = !1;
1003
+ this.dock = e, this.dockMenuOpen = !1;
1006
1004
  }
1007
1005
  },
1008
- s
1006
+ e
1009
1007
  )
1010
1008
  ) }) : null
1011
1009
  ] }),
1012
1010
  /* @__PURE__ */ o("div", { class: "w-px h-3 bg-border mx-1" }),
1013
- /* @__PURE__ */ o(T, { title: "Close", icon: le, onClick: i })
1011
+ /* @__PURE__ */ o(
1012
+ Y,
1013
+ {
1014
+ title: "Close",
1015
+ icon: ce,
1016
+ onClick: () => {
1017
+ this.handleClose();
1018
+ }
1019
+ }
1020
+ )
1014
1021
  ] })
1015
1022
  ] }),
1016
1023
  /* @__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;
1024
+ const n = this.plugins.find(
1025
+ (i) => i.id === this.activeTab
1026
+ )?.component;
1027
+ return n ? /* @__PURE__ */ o(n, { registry: this.registry }) : null;
1019
1028
  } })
1020
1029
  ] })
1021
1030
  }
@@ -1025,34 +1034,32 @@ class j extends (Et = R, jt = [M()], $t = [M()], _t = [M()], Lt = [M()], It = [M
1025
1034
  );
1026
1035
  }
1027
1036
  }
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
1037
+ x = b(Ft), l(x, 1, "handleClose", _t, _), l(x, 5, "activeTab", Ot, _), l(x, 5, "dock", Ut, _), l(x, 5, "dockMenuOpen", Dt, _), l(x, 5, "bottomSize", Nt, _), l(x, 5, "vertSize", Et, _), l(x, 5, "plugins", jt, _), l(x, 5, "registry", $t, _), _ = l(x, 0, "Panel", At, _), s(x, 1, _);
1038
+ const gn = [
1039
+ sn,
1040
+ on,
1041
+ cn
1033
1042
  ];
1034
- var Nt, Ut, Ot, A;
1035
- Ot = [x()];
1036
- class B extends (Ut = R, Nt = [M()], Ut) {
1043
+ var Bt, Ht, Gt, Wt, Yt, L;
1044
+ Yt = [m()];
1045
+ class D extends (Wt = J, Gt = [C()], Ht = [Z()], Bt = [Z()], Wt) {
1037
1046
  constructor() {
1038
1047
  super(...arguments);
1039
- f(this, "open", a(A, 8, this, !1)), a(A, 11, this);
1040
- }
1041
- get p() {
1042
- return this.props;
1048
+ f(this, "open", s(L, 8, this, !1)), s(L, 11, this);
1049
+ f(this, "plugins", s(L, 12, this, [])), s(L, 15, this);
1050
+ f(this, "registry", s(L, 16, this)), s(L, 19, this);
1043
1051
  }
1044
1052
  render() {
1045
- const { plugins: e, registry: n } = this.p;
1046
1053
  return /* @__PURE__ */ o("div", { children: () => this.open ? /* @__PURE__ */ o(
1047
- j,
1054
+ _,
1048
1055
  {
1049
- plugins: e,
1050
- registry: n,
1056
+ plugins: this.plugins,
1057
+ registry: this.registry,
1051
1058
  onClose: () => {
1052
1059
  this.open = !1;
1053
1060
  }
1054
1061
  }
1055
- ) : /* @__PURE__ */ c(
1062
+ ) : /* @__PURE__ */ d(
1056
1063
  "button",
1057
1064
  {
1058
1065
  onClick: () => {
@@ -1060,28 +1067,28 @@ class B extends (Ut = R, Nt = [M()], Ut) {
1060
1067
  },
1061
1068
  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
1069
  children: [
1063
- /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: At }),
1070
+ /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: Jt }),
1064
1071
  /* @__PURE__ */ o("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "devtools" })
1065
1072
  ]
1066
1073
  }
1067
1074
  ) });
1068
1075
  }
1069
1076
  }
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],
1077
+ L = b(Wt), l(L, 5, "open", Gt, D), l(L, 5, "plugins", Ht, D), l(L, 5, "registry", Bt, D), D = l(L, 0, "DevToolsApp", Yt, D), s(L, 1, D);
1078
+ const Hn = {
1079
+ plugins: [...gn],
1073
1080
  host: null,
1074
1081
  cleanup: null,
1075
1082
  init(r = {}) {
1076
1083
  if (this.host) return;
1077
- r.plugins && (this.plugins = r.plugins), this.plugins.forEach((s) => s.setup?.(v.instance));
1084
+ r.plugins && (this.plugins = r.plugins), this.plugins.forEach((a) => a.setup?.(v.instance));
1078
1085
  const t = document.createElement("div");
1079
1086
  t.id = "praxisjs-devtools", document.body.appendChild(t), this.host = t;
1080
1087
  const e = t.attachShadow({ mode: "open" }), n = document.createElement("style");
1081
- n.textContent = tn + Jt, e.appendChild(n);
1088
+ n.textContent = dn + en, e.appendChild(n);
1082
1089
  const i = document.createElement("div");
1083
- e.appendChild(i), this.cleanup = He(
1084
- () => /* @__PURE__ */ o(B, { plugins: this.plugins, registry: v.instance }),
1090
+ e.appendChild(i), this.cleanup = Ge(
1091
+ () => /* @__PURE__ */ o(D, { plugins: this.plugins, registry: v.instance }),
1085
1092
  i
1086
1093
  );
1087
1094
  },
@@ -1094,34 +1101,34 @@ const En = {
1094
1101
  remount() {
1095
1102
  if (!this.host) return;
1096
1103
  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 }),
1104
+ this.cleanup?.(), this.cleanup = Ge(
1105
+ () => /* @__PURE__ */ o(D, { plugins: this.plugins, registry: v.instance }),
1099
1106
  t
1100
1107
  );
1101
1108
  }
1102
1109
  };
1103
- function We(r) {
1110
+ function Re(r) {
1104
1111
  return typeof r == "function" && typeof r.subscribe == "function" && !("set" in r);
1105
1112
  }
1106
- function Dn(r = {}) {
1113
+ function Gn(r = {}) {
1107
1114
  return function(e, n) {
1108
1115
  const i = r.label ?? n.name;
1109
1116
  if (n.kind === "method") {
1110
- const s = e;
1111
- return function(...l) {
1117
+ const a = e;
1118
+ return function(...c) {
1112
1119
  const p = this.constructor.name, g = performance.now();
1113
- let h, m = !1;
1120
+ let h, w = !1;
1114
1121
  try {
1115
- h = s.apply(this, l);
1122
+ h = a.apply(this, c);
1116
1123
  } catch (u) {
1117
- throw m = !0, h = u, u;
1124
+ throw w = !0, h = u, u;
1118
1125
  } finally {
1119
1126
  const u = performance.now() - g;
1120
1127
  v.instance.recordMethodCall(
1121
1128
  this,
1122
1129
  i,
1123
- l,
1124
- m ? `throw ${String(h)}` : h,
1130
+ c,
1131
+ w ? `throw ${String(h)}` : h,
1125
1132
  u,
1126
1133
  p
1127
1134
  );
@@ -1130,76 +1137,76 @@ function Dn(r = {}) {
1130
1137
  };
1131
1138
  }
1132
1139
  if (n.kind === "getter") {
1133
- const s = e;
1140
+ const a = e;
1134
1141
  n.addInitializer(function() {
1135
- const l = this, p = l.constructor.name;
1142
+ const c = this, p = c.constructor.name;
1136
1143
  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) => {
1144
+ const g = Pt(() => a.call(c));
1145
+ let h = !0, w = g();
1146
+ v.instance.registerSignal(c, i, w, p), g.subscribe((u) => {
1140
1147
  if (h) {
1141
1148
  h = !1;
1142
1149
  return;
1143
1150
  }
1144
- v.instance.updateSignal(l, i, u, m), m = u;
1151
+ v.instance.updateSignal(c, i, u, w), w = u;
1145
1152
  });
1146
1153
  });
1147
1154
  });
1148
1155
  return;
1149
1156
  }
1150
1157
  n.addInitializer(function() {
1151
- const s = this, l = n.name, p = s.constructor.name, g = Object.getOwnPropertyDescriptor(s, l);
1158
+ const a = this, c = n.name, p = a.constructor.name, g = Object.getOwnPropertyDescriptor(a, c);
1152
1159
  if (g?.get && g.set) {
1153
1160
  const k = g.get, z = g.set;
1154
1161
  v.instance.registerSignal(
1155
- s,
1162
+ a,
1156
1163
  i,
1157
- k.call(s),
1164
+ k.call(a),
1158
1165
  p
1159
- ), Object.defineProperty(s, l, {
1166
+ ), Object.defineProperty(a, c, {
1160
1167
  get() {
1161
1168
  return k.call(this);
1162
1169
  },
1163
- set(_) {
1164
- const U = k.call(this);
1165
- z.call(this, _), v.instance.updateSignal(this, i, _, U);
1170
+ set(j) {
1171
+ const A = k.call(this);
1172
+ z.call(this, j), v.instance.updateSignal(this, i, j, A);
1166
1173
  },
1167
1174
  enumerable: !0,
1168
1175
  configurable: !0
1169
1176
  });
1170
1177
  return;
1171
1178
  }
1172
- const h = s[l];
1173
- if (Reflect.deleteProperty(s, l), !We(h)) {
1179
+ const h = a[c];
1180
+ if (Reflect.deleteProperty(a, c), !Re(h)) {
1174
1181
  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;
1182
+ `[PraxisJS DevTools] @Debug() on "${p}.${c}": expected a computed() value but got ${typeof h}. Skipping.`
1183
+ ), a[c] = h;
1177
1184
  return;
1178
1185
  }
1179
- let m;
1186
+ let w;
1180
1187
  function u(k) {
1181
- let z = !0, _ = k();
1182
- const U = k.subscribe((W) => {
1188
+ let z = !0, j = k();
1189
+ const A = k.subscribe((R) => {
1183
1190
  if (z) {
1184
1191
  z = !1;
1185
1192
  return;
1186
1193
  }
1187
- v.instance.updateSignal(s, i, W, _), _ = W;
1194
+ v.instance.updateSignal(a, i, R, j), j = R;
1188
1195
  });
1189
- return v.instance.registerSignal(s, i, _, p), U;
1196
+ return v.instance.registerSignal(a, i, j, p), A;
1190
1197
  }
1191
- m = { computed: h, unsub: u(h) }, Object.defineProperty(s, l, {
1198
+ w = { computed: h, unsub: u(h) }, Object.defineProperty(a, c, {
1192
1199
  get() {
1193
- return m.computed;
1200
+ return w.computed;
1194
1201
  },
1195
1202
  set(k) {
1196
- if (m.unsub(), !We(k)) {
1203
+ if (w.unsub(), !Re(k)) {
1197
1204
  console.warn(
1198
- `[PraxisJS DevTools] @Debug() on "${p}.${l}": expected a computed() value but got ${typeof k}. Skipping.`
1205
+ `[PraxisJS DevTools] @Debug() on "${p}.${c}": expected a computed() value but got ${typeof k}. Skipping.`
1199
1206
  );
1200
1207
  return;
1201
1208
  }
1202
- m = { computed: k, unsub: u(k) };
1209
+ w = { computed: k, unsub: u(k) };
1203
1210
  },
1204
1211
  enumerable: !0,
1205
1212
  configurable: !0
@@ -1207,16 +1214,16 @@ function Dn(r = {}) {
1207
1214
  });
1208
1215
  };
1209
1216
  }
1210
- function Nn() {
1217
+ function Wn() {
1211
1218
  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;
1219
+ const e = r.name, n = v.instance, i = r.prototype, a = i.render;
1220
+ a && (i.render = function(...g) {
1221
+ const h = performance.now(), w = a.call(this, ...g), u = performance.now() - h;
1222
+ return n.recordRender(this, u), w;
1216
1223
  });
1217
- const l = i.onBeforeMount;
1224
+ const c = i.onBeforeMount;
1218
1225
  i.onBeforeMount = function(...g) {
1219
- return n.registerComponent(this, e), n.recordLifecycle(this, "onBeforeMount"), l?.call(this, ...g);
1226
+ return n.registerComponent(this, e), n.recordLifecycle(this, "onBeforeMount"), c?.call(this, ...g);
1220
1227
  };
1221
1228
  const p = [
1222
1229
  "onMount",
@@ -1227,19 +1234,19 @@ function Nn() {
1227
1234
  ];
1228
1235
  for (const g of p) {
1229
1236
  const h = i[g];
1230
- i[g] = function(...m) {
1231
- return n.recordLifecycle(this, g), h?.call(this, ...m);
1237
+ i[g] = function(...w) {
1238
+ return n.recordLifecycle(this, g), h?.call(this, ...w);
1232
1239
  };
1233
1240
  }
1234
1241
  return r;
1235
1242
  };
1236
1243
  }
1237
1244
  export {
1238
- Zt as ComponentsPlugin,
1239
- Dn as Debug,
1240
- En as DevTools,
1245
+ on as ComponentsPlugin,
1246
+ Gn as Debug,
1247
+ Hn as DevTools,
1241
1248
  v as Registry,
1242
- Qt as SignalsPlugin,
1243
- en as TimelinePlugin,
1244
- Nn as Trace
1249
+ sn as SignalsPlugin,
1250
+ cn as TimelinePlugin,
1251
+ Wn as Trace
1245
1252
  };