@praxisjs/devtools 0.2.4 → 0.2.6

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,141 +1,117 @@
1
- var Tt = Object.create;
2
- var pe = Object.defineProperty;
3
- var qt = Object.getOwnPropertyDescriptor;
4
- var Ae = (r, t) => (t = Symbol[r]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + r), q = (r) => {
5
- throw TypeError(r);
6
- };
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
- return n;
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
- } }, e));
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
- handlers = /* @__PURE__ */ new Map();
32
- on(t, e) {
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);
1
+ import { jsxs as f, jsx as u } from "@praxisjs/jsx/jsx-runtime";
2
+ import { StatelessComponent as k, StatefulComponent as K } from "@praxisjs/core";
3
+ import { Component as x, State as O, Prop as ie, Emit as Tn, createMethodDecorator as jn, createGetterObserverDecorator as Fn, createFieldDecorator as Ln, ClassBehavior as An, createClassDecorator as Nn } from "@praxisjs/decorators";
4
+ import { render as Ft } from "@praxisjs/runtime";
5
+ import { computed as Bn } from "@praxisjs/core/internal";
6
+ const ir = "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", Rn = '*,: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,.h1{height:.25rem}.h-10{height:2.5rem}.h-3{height:.75rem}.h-7{height:1.75rem}.h-full{height:100%}.h-screen{height:100vh}.h2{height:.5rem}.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}.b,.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}';
7
+ class Un {
8
+ constructor() {
9
+ this.handlers = /* @__PURE__ */ new Map();
34
10
  }
35
- emit(t, e) {
11
+ on(t, r) {
12
+ return this.handlers.has(t) || this.handlers.set(t, /* @__PURE__ */ new Set()), this.handlers.get(t).add(r), () => this.handlers.get(t)?.delete(r);
13
+ }
14
+ emit(t, r) {
36
15
  this.handlers.get(t)?.forEach((n) => {
37
- n(e);
16
+ n(r);
38
17
  });
39
18
  }
40
19
  }
41
- const nn = 200;
42
- let rn = 0;
43
- function We() {
44
- return `v${(++rn).toString()}_${Date.now().toString(36)}`;
20
+ const Gn = 200;
21
+ let Hn = 0;
22
+ function Lt() {
23
+ return `v${(++Hn).toString()}_${Date.now().toString(36)}`;
45
24
  }
46
- class v {
47
- static _instance = null;
25
+ const H = class H {
26
+ constructor() {
27
+ this.bus = new Un(), this.instanceIds = /* @__PURE__ */ new WeakMap(), this.signals = /* @__PURE__ */ new Map(), this.components = /* @__PURE__ */ new Map(), this.timeline = [];
28
+ }
48
29
  static get instance() {
49
- return v._instance ??= new v(), v._instance;
30
+ return H._instance ??= new H(), H._instance;
50
31
  }
51
- bus = new tn();
52
- instanceIds = /* @__PURE__ */ new WeakMap();
53
- signals = /* @__PURE__ */ new Map();
54
- components = /* @__PURE__ */ new Map();
55
- timeline = [];
56
32
  getInstanceId(t) {
57
- return this.instanceIds.has(t) || this.instanceIds.set(t, We()), this.instanceIds.get(t);
33
+ return this.instanceIds.has(t) || this.instanceIds.set(t, Lt()), this.instanceIds.get(t);
58
34
  }
59
- registerSignal(t, e, n, i) {
60
- const a = this.getInstanceId(t), c = `${a}:${e}`, p = {
61
- id: c,
62
- label: e,
63
- componentId: a,
64
- componentName: i,
35
+ registerSignal(t, r, n, o) {
36
+ const i = this.getInstanceId(t), s = `${i}:${r}`, c = {
37
+ id: s,
38
+ label: r,
39
+ componentId: i,
40
+ componentName: o,
65
41
  value: n,
66
42
  history: [{ value: n, timestamp: Date.now() }],
67
43
  changedAt: Date.now()
68
44
  };
69
- this.signals.set(c, p), this.bus.emit("signal:registered", p);
45
+ this.signals.set(s, c), this.bus.emit("signal:registered", c);
70
46
  }
71
- updateSignal(t, e, n, i) {
72
- const c = `${this.getInstanceId(t)}:${e}`, p = this.signals.get(c);
73
- if (!p) return;
74
- const g = [
75
- ...p.history,
47
+ updateSignal(t, r, n, o) {
48
+ const s = `${this.getInstanceId(t)}:${r}`, c = this.signals.get(s);
49
+ if (!c) return;
50
+ const h = [
51
+ ...c.history,
76
52
  { value: n, timestamp: Date.now() }
77
- ].slice(-20), h = {
78
- ...p,
53
+ ].slice(-20), l = {
54
+ ...c,
79
55
  value: n,
80
- history: g,
56
+ history: h,
81
57
  changedAt: Date.now()
82
58
  };
83
- this.signals.set(c, h), this.bus.emit("signal:changed", { entry: h, oldValue: i }), this.pushTimeline({
59
+ this.signals.set(s, l), this.bus.emit("signal:changed", { entry: l, oldValue: o }), this.pushTimeline({
84
60
  type: "signal:change",
85
- label: `${p.componentName}.${e}`,
86
- data: { old: i, new: n, signalId: c }
61
+ label: `${c.componentName}.${r}`,
62
+ data: { old: o, new: n, signalId: s }
87
63
  });
88
64
  }
89
- registerComponent(t, e) {
90
- const n = this.getInstanceId(t), i = {
65
+ registerComponent(t, r) {
66
+ const n = this.getInstanceId(t), o = {
91
67
  id: n,
92
- name: e,
68
+ name: r,
93
69
  renderCount: 0,
94
70
  lastRenderDuration: 0,
95
71
  mountedAt: Date.now(),
96
72
  status: "mounted",
97
73
  lifecycle: []
98
74
  };
99
- this.components.set(n, i), this.bus.emit("component:registered", i);
75
+ this.components.set(n, o), this.bus.emit("component:registered", o);
100
76
  }
101
- recordRender(t, e) {
102
- const n = this.getInstanceId(t), i = this.components.get(n);
103
- i && (i.renderCount++, i.lastRenderDuration = e, this.bus.emit("component:render", { ...i }), this.pushTimeline({
77
+ recordRender(t, r) {
78
+ const n = this.getInstanceId(t), o = this.components.get(n);
79
+ o && (o.renderCount++, o.lastRenderDuration = r, this.bus.emit("component:render", { ...o }), this.pushTimeline({
104
80
  type: "component:render",
105
- label: `<${i.name}>`,
81
+ label: `<${o.name}>`,
106
82
  data: {
107
83
  componentId: n,
108
- duration: +e.toFixed(3),
109
- renderCount: i.renderCount
84
+ duration: +r.toFixed(3),
85
+ renderCount: o.renderCount
110
86
  }
111
87
  }));
112
88
  }
113
- recordLifecycle(t, e) {
114
- const n = this.getInstanceId(t), i = this.components.get(n);
115
- if (!i) return;
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";
89
+ recordLifecycle(t, r) {
90
+ const n = this.getInstanceId(t), o = this.components.get(n);
91
+ if (!o) return;
92
+ const i = { hook: r, timestamp: Date.now() };
93
+ o.lifecycle.push(i), this.bus.emit("lifecycle", { componentId: n, name: o.name, hook: r });
94
+ const s = r === "onUnmount" ? "component:unmount" : r === "onBeforeMount" ? "component:mount" : "lifecycle";
119
95
  if (this.pushTimeline({
120
- type: c,
121
- label: `<${i.name}>.${e}`,
122
- data: { componentId: n, hook: e }
123
- }), e === "onUnmount") {
124
- i.status = "unmounted", this.bus.emit("component:unmount", { ...i }), this.components.delete(n);
125
- for (const [p, g] of this.signals)
126
- g.componentId === n && this.signals.delete(p);
96
+ type: s,
97
+ label: `<${o.name}>.${r}`,
98
+ data: { componentId: n, hook: r }
99
+ }), r === "onUnmount") {
100
+ o.status = "unmounted", this.bus.emit("component:unmount", { ...o }), this.components.delete(n);
101
+ for (const [c, h] of this.signals)
102
+ h.componentId === n && this.signals.delete(c);
127
103
  }
128
104
  }
129
- recordMethodCall(t, e, n, i, a, c) {
130
- const p = this.getInstanceId(t);
105
+ recordMethodCall(t, r, n, o, i, s) {
106
+ const c = this.getInstanceId(t);
131
107
  this.pushTimeline({
132
108
  type: "method:call",
133
- label: `${c}.${e}()`,
109
+ label: `${s}.${r}()`,
134
110
  data: {
135
- componentId: p,
111
+ componentId: c,
136
112
  args: n,
137
- result: i,
138
- duration: +a.toFixed(3)
113
+ result: o,
114
+ duration: +i.toFixed(3)
139
115
  }
140
116
  });
141
117
  }
@@ -149,91 +125,156 @@ class v {
149
125
  return [...this.timeline];
150
126
  }
151
127
  getSignalsByComponent(t) {
152
- return this.getSignals().filter((e) => e.componentId === t);
128
+ return this.getSignals().filter((r) => r.componentId === t);
153
129
  }
154
130
  pushTimeline(t) {
155
- const e = {
156
- id: We(),
131
+ const r = {
132
+ id: Lt(),
157
133
  timestamp: Date.now(),
158
134
  ...t
159
135
  };
160
- this.timeline.push(e), this.timeline.length > nn && this.timeline.shift(), this.bus.emit("timeline:push", e);
136
+ this.timeline.push(r), this.timeline.length > Gn && this.timeline.shift(), this.bus.emit("timeline:push", r);
161
137
  }
162
- }
163
- var Te, ge, bn;
164
- Te = [m()];
165
- class G extends (bn = y) {
138
+ };
139
+ H._instance = null;
140
+ let I = H;
141
+ var Xn = Object.create, Fe = Object.defineProperty, Wn = Object.getOwnPropertyDescriptor, ar = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), sr = (e) => {
142
+ throw TypeError(e);
143
+ }, Yn = (e, t, r) => t in e ? Fe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => Fe(e, "name", { value: t, configurable: !0 }), qn = (e) => [, , , Xn(e?.[ar("metadata")] ?? null)], Kn = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], lr = (e) => e !== void 0 && typeof e != "function" ? sr("Function expected") : e, Zn = (e, t, r, n, o) => ({ kind: Kn[e], name: t, metadata: n, addInitializer: (i) => r._ ? sr("Already initialized") : o.push(lr(i || null)) }), Qn = (e, t) => Yn(t, ar("metadata"), e[3]), Vn = (e, t, r, n) => {
144
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
145
+ return n;
146
+ }, ei = (e, t, r, n, o, i) => {
147
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Wn(o, r));
148
+ Jn(o, r);
149
+ for (var p = n.length - 1; p >= 0; p--)
150
+ h = Zn(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, lr(s) && (o = s);
151
+ return Qn(e, o), d && Fe(o, r, d), _ ? l ^ 4 ? i : d : o;
152
+ }, cr, Le, dr;
153
+ cr = [x()];
154
+ class Y extends (dr = k) {
166
155
  render() {
167
- return /* @__PURE__ */ d("div", { class: "flex flex-col items-center justify-center gap-2 py-12", children: [
168
- /* @__PURE__ */ o("span", { class: "text-subtle text-[20px] leading-none select-none font-mono", children: "—" }),
169
- /* @__PURE__ */ o("p", { class: "text-subtle text-[11px] text-center leading-relaxed max-w-[200px]", children: this.props.message })
156
+ return /* @__PURE__ */ f("div", { class: "flex flex-col items-center justify-center gap-2 py-12", children: [
157
+ /* @__PURE__ */ u("span", { class: "text-subtle text-[20px] leading-none select-none font-mono", children: "—" }),
158
+ /* @__PURE__ */ u("p", { class: "text-subtle text-[11px] text-center leading-relaxed max-w-[200px]", children: this.props.message })
170
159
  ] });
171
160
  }
172
161
  }
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) {
162
+ Le = qn(dr);
163
+ Y = ei(Le, 0, "EmptyState", cr, Y);
164
+ Vn(Le, 1, Y);
165
+ var ti = Object.create, Ae = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, pr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ur = (e) => {
166
+ throw TypeError(e);
167
+ }, oi = (e, t, r) => t in e ? Ae(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ni = (e, t) => Ae(e, "name", { value: t, configurable: !0 }), ii = (e) => [, , , ti(e?.[pr("metadata")] ?? null)], ai = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], hr = (e) => e !== void 0 && typeof e != "function" ? ur("Function expected") : e, si = (e, t, r, n, o) => ({ kind: ai[e], name: t, metadata: n, addInitializer: (i) => r._ ? ur("Already initialized") : o.push(hr(i || null)) }), li = (e, t) => oi(t, pr("metadata"), e[3]), ci = (e, t, r, n) => {
168
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
169
+ return n;
170
+ }, di = (e, t, r, n, o, i) => {
171
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ri(o, r));
172
+ ni(o, r);
173
+ for (var p = n.length - 1; p >= 0; p--)
174
+ h = si(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, hr(s) && (o = s);
175
+ return li(e, o), d && Ae(o, r, d), _ ? l ^ 4 ? i : d : o;
176
+ }, _r, Ne, vr;
177
+ _r = [x()];
178
+ class ae extends (vr = k) {
177
179
  render() {
178
- const { children: t, width: e = "280px" } = this.props;
179
- return /* @__PURE__ */ o(
180
+ const { children: t, width: r = "280px" } = this.props;
181
+ return /* @__PURE__ */ u(
180
182
  "div",
181
183
  {
182
184
  class: "shrink-0 border-l border-border flex flex-col overflow-hidden",
183
- style: { width: e },
185
+ style: { width: r },
184
186
  children: t
185
187
  }
186
188
  );
187
189
  }
188
190
  }
189
- be = b(xn), X = l(be, 0, "SidePanel", qe, X), s(be, 1, X);
190
- function Ne(r) {
191
- if (r === null) return "null";
192
- if (r === void 0) return "undefined";
193
- if (typeof r == "string") return `"${r}"`;
194
- if (typeof r == "object")
191
+ Ne = ii(vr);
192
+ ae = di(Ne, 0, "SidePanel", _r, ae);
193
+ ci(Ne, 1, ae);
194
+ function Be(e) {
195
+ if (e === null) return "null";
196
+ if (e === void 0) return "undefined";
197
+ if (typeof e == "string") return `"${e}"`;
198
+ if (typeof e == "object")
195
199
  try {
196
- return JSON.stringify(r);
200
+ return JSON.stringify(e);
197
201
  } catch {
198
202
  return "[object]";
199
203
  }
200
- return String(r);
204
+ return String(e);
201
205
  }
202
- var Xe, xe, mn;
203
- Xe = [m()];
204
- class F extends (mn = y) {
206
+ var pi = Object.create, Re = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, br = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), gr = (e) => {
207
+ throw TypeError(e);
208
+ }, hi = (e, t, r) => t in e ? Re(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => Re(e, "name", { value: t, configurable: !0 }), vi = (e) => [, , , pi(e?.[br("metadata")] ?? null)], bi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], fr = (e) => e !== void 0 && typeof e != "function" ? gr("Function expected") : e, gi = (e, t, r, n, o) => ({ kind: bi[e], name: t, metadata: n, addInitializer: (i) => r._ ? gr("Already initialized") : o.push(fr(i || null)) }), fi = (e, t) => hi(t, br("metadata"), e[3]), mi = (e, t, r, n) => {
209
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
210
+ return n;
211
+ }, xi = (e, t, r, n, o, i) => {
212
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ui(o, r));
213
+ _i(o, r);
214
+ for (var p = n.length - 1; p >= 0; p--)
215
+ h = gi(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, fr(s) && (o = s);
216
+ return fi(e, o), d && Re(o, r, d), _ ? l ^ 4 ? i : d : o;
217
+ }, mr, Ue, xr;
218
+ mr = [x()];
219
+ class R extends (xr = k) {
205
220
  render() {
206
- const { k: t, v: e, signal: n } = this.props;
207
- return /* @__PURE__ */ d("div", { class: "flex justify-between items-center px-3 py-2 border-b border-border gap-3", children: [
208
- /* @__PURE__ */ o(
221
+ const { k: t, v: r, signal: n } = this.props;
222
+ return /* @__PURE__ */ f("div", { class: "flex justify-between items-center px-3 py-2 border-b border-border gap-3", children: [
223
+ /* @__PURE__ */ u(
209
224
  "span",
210
225
  {
211
226
  class: `text-[11px] font-mono shrink-0 ${n ? "text-accent" : "text-muted"}`,
212
227
  children: t
213
228
  }
214
229
  ),
215
- /* @__PURE__ */ o("span", { class: "text-[11px] text-text font-mono truncate text-right", children: e })
230
+ /* @__PURE__ */ u("span", { class: "text-[11px] text-text font-mono truncate text-right", children: r })
216
231
  ] });
217
232
  }
218
233
  }
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) {
234
+ Ue = vi(xr);
235
+ R = xi(Ue, 0, "DetailRow", mr, R);
236
+ mi(Ue, 1, R);
237
+ var wi = Object.create, Ge = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, wr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), $r = (e) => {
238
+ throw TypeError(e);
239
+ }, yi = (e, t, r) => t in e ? Ge(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => Ge(e, "name", { value: t, configurable: !0 }), ki = (e) => [, , , wi(e?.[wr("metadata")] ?? null)], zi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], yr = (e) => e !== void 0 && typeof e != "function" ? $r("Function expected") : e, Ii = (e, t, r, n, o) => ({ kind: zi[e], name: t, metadata: n, addInitializer: (i) => r._ ? $r("Already initialized") : o.push(yr(i || null)) }), Oi = (e, t) => yi(t, wr("metadata"), e[3]), Pi = (e, t, r, n) => {
240
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
241
+ return n;
242
+ }, Ci = (e, t, r, n, o, i) => {
243
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && $i(o, r));
244
+ Si(o, r);
245
+ for (var p = n.length - 1; p >= 0; p--)
246
+ h = Ii(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, yr(s) && (o = s);
247
+ return Oi(e, o), d && Ge(o, r, d), _ ? l ^ 4 ? i : d : o;
248
+ }, Sr, He, kr;
249
+ Sr = [x()];
250
+ class X extends (kr = k) {
223
251
  render() {
224
- return /* @__PURE__ */ d("div", { class: "border-b border-border", children: [
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 }),
252
+ return /* @__PURE__ */ f("div", { class: "border-b border-border", children: [
253
+ /* @__PURE__ */ u("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
254
  this.props.children
227
255
  ] });
228
256
  }
229
257
  }
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) {
258
+ He = ki(kr);
259
+ X = Ci(He, 0, "DetailSection", Sr, X);
260
+ Pi(He, 1, X);
261
+ var Ei = Object.create, Xe = Object.defineProperty, Di = Object.getOwnPropertyDescriptor, zr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Ir = (e) => {
262
+ throw TypeError(e);
263
+ }, Mi = (e, t, r) => t in e ? Xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => Xe(e, "name", { value: t, configurable: !0 }), ji = (e) => [, , , Ei(e?.[zr("metadata")] ?? null)], Fi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Or = (e) => e !== void 0 && typeof e != "function" ? Ir("Function expected") : e, Li = (e, t, r, n, o) => ({ kind: Fi[e], name: t, metadata: n, addInitializer: (i) => r._ ? Ir("Already initialized") : o.push(Or(i || null)) }), Ai = (e, t) => Mi(t, zr("metadata"), e[3]), Ni = (e, t, r, n) => {
264
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
265
+ return n;
266
+ }, Bi = (e, t, r, n, o, i) => {
267
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Di(o, r));
268
+ Ti(o, r);
269
+ for (var p = n.length - 1; p >= 0; p--)
270
+ h = Li(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Or(s) && (o = s);
271
+ return Ai(e, o), d && Xe(o, r, d), _ ? l ^ 4 ? i : d : o;
272
+ }, Pr, We, Cr;
273
+ Pr = [x()];
274
+ class se extends (Cr = k) {
234
275
  render() {
235
276
  const { status: t } = this.props;
236
- return /* @__PURE__ */ o(
277
+ return /* @__PURE__ */ u(
237
278
  "span",
238
279
  {
239
280
  class: `inline-block w-[6px] h-[6px] rounded-full shrink-0 ${t === "mounted" ? "bg-success" : "bg-subtle"}`,
@@ -242,81 +283,107 @@ class K extends (wn = y) {
242
283
  );
243
284
  }
244
285
  }
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) {
286
+ We = ji(Cr);
287
+ se = Bi(We, 0, "StatusDot", Pr, se);
288
+ Ni(We, 1, se);
289
+ var Ri = Object.create, Ye = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, Er = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Dr = (e) => {
290
+ throw TypeError(e);
291
+ }, Gi = (e, t, r) => t in e ? Ye(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => Ye(e, "name", { value: t, configurable: !0 }), Xi = (e) => [, , , Ri(e?.[Er("metadata")] ?? null)], Wi = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Mr = (e) => e !== void 0 && typeof e != "function" ? Dr("Function expected") : e, Yi = (e, t, r, n, o) => ({ kind: Wi[e], name: t, metadata: n, addInitializer: (i) => r._ ? Dr("Already initialized") : o.push(Mr(i || null)) }), Ji = (e, t) => Gi(t, Er("metadata"), e[3]), qi = (e, t, r, n) => {
292
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
293
+ return n;
294
+ }, Ki = (e, t, r, n, o, i) => {
295
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ui(o, r));
296
+ Hi(o, r);
297
+ for (var p = n.length - 1; p >= 0; p--)
298
+ h = Yi(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Mr(s) && (o = s);
299
+ return Ji(e, o), d && Ye(o, r, d), _ ? l ^ 4 ? i : d : o;
300
+ }, Tr, Je, jr;
301
+ Tr = [x()];
302
+ class _e extends (jr = k) {
249
303
  render() {
250
- const { entry: t, signals: e } = this.props;
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
- /* @__PURE__ */ o(K, { status: t.status }),
254
- /* @__PURE__ */ d("span", { class: "text-accent font-mono text-[11px] font-semibold truncate pl-1", children: [
304
+ const { entry: t, signals: r } = this.props;
305
+ return /* @__PURE__ */ f(ae, { children: [
306
+ /* @__PURE__ */ f("div", { class: "px-3 py-2 border-b border-border flex items-center gap-2 bg-bg shrink-0", children: [
307
+ /* @__PURE__ */ u(se, { status: t.status }),
308
+ /* @__PURE__ */ f("span", { class: "text-accent font-mono text-[11px] font-semibold truncate pl-1", children: [
255
309
  "<",
256
310
  t.name,
257
311
  ">"
258
312
  ] })
259
313
  ] }),
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
- /* @__PURE__ */ o(
264
- F,
314
+ /* @__PURE__ */ f("div", { class: "flex-1 overflow-y-auto", children: [
315
+ /* @__PURE__ */ f(X, { label: "Stats", children: [
316
+ /* @__PURE__ */ u(R, { k: "renders", v: String(t.renderCount) }),
317
+ /* @__PURE__ */ u(
318
+ R,
265
319
  {
266
320
  k: "last render",
267
321
  v: `${t.lastRenderDuration.toFixed(3)}ms`
268
322
  }
269
323
  ),
270
- /* @__PURE__ */ o(F, { k: "status", v: t.status })
324
+ /* @__PURE__ */ u(R, { k: "status", v: t.status })
271
325
  ] }),
272
- e.length > 0 && /* @__PURE__ */ o(W, { label: "State", children: e.map((n) => /* @__PURE__ */ o(
273
- F,
326
+ r.length > 0 && /* @__PURE__ */ u(X, { label: "State", children: r.map((n) => /* @__PURE__ */ u(
327
+ R,
274
328
  {
275
329
  k: n.label,
276
- v: Ne(n.value),
330
+ v: Be(n.value),
277
331
  signal: !0
278
332
  },
279
333
  n.id
280
334
  )) }),
281
- t.lifecycle.length > 0 && /* @__PURE__ */ o(W, { label: "Lifecycle", children: [...t.lifecycle].reverse().slice(0, 20).map((n, i) => /* @__PURE__ */ d(
335
+ t.lifecycle.length > 0 && /* @__PURE__ */ u(X, { label: "Lifecycle", children: [...t.lifecycle].reverse().slice(0, 20).map((n, o) => /* @__PURE__ */ f(
282
336
  "div",
283
337
  {
284
338
  class: "px-3 py-2 flex justify-between items-center border-b border-border",
285
339
  children: [
286
- /* @__PURE__ */ o("span", { class: "text-[11px] text-text font-mono", children: n.hook }),
287
- /* @__PURE__ */ o("span", { class: "text-[10px] text-subtle tabular-nums", children: new Date(n.timestamp).toLocaleTimeString() })
340
+ /* @__PURE__ */ u("span", { class: "text-[11px] text-text font-mono", children: n.hook }),
341
+ /* @__PURE__ */ u("span", { class: "text-[10px] text-subtle tabular-nums", children: new Date(n.timestamp).toLocaleTimeString() })
288
342
  ]
289
343
  },
290
- String(i)
344
+ String(o)
291
345
  )) })
292
346
  ] })
293
347
  ] });
294
348
  }
295
349
  }
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) {
350
+ Je = Xi(jr);
351
+ _e = Ki(Je, 0, "ComponentDetail", Tr, _e);
352
+ qi(Je, 1, _e);
353
+ var Zi = Object.create, qe = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, Fr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Lr = (e) => {
354
+ throw TypeError(e);
355
+ }, Vi = (e, t, r) => t in e ? qe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ea = (e, t) => qe(e, "name", { value: t, configurable: !0 }), ta = (e) => [, , , Zi(e?.[Fr("metadata")] ?? null)], ra = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Ar = (e) => e !== void 0 && typeof e != "function" ? Lr("Function expected") : e, oa = (e, t, r, n, o) => ({ kind: ra[e], name: t, metadata: n, addInitializer: (i) => r._ ? Lr("Already initialized") : o.push(Ar(i || null)) }), na = (e, t) => Vi(t, Fr("metadata"), e[3]), ia = (e, t, r, n) => {
356
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
357
+ return n;
358
+ }, aa = (e, t, r, n, o, i) => {
359
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Qi(o, r));
360
+ ea(o, r);
361
+ for (var p = n.length - 1; p >= 0; p--)
362
+ h = oa(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Ar(s) && (o = s);
363
+ return na(e, o), d && qe(o, r, d), _ ? l ^ 4 ? i : d : o;
364
+ }, Nr, Ke, Br;
365
+ Nr = [x()];
366
+ class ve extends (Br = k) {
300
367
  render() {
301
- const { entry: t, selected: e, onClick: n } = this.props;
302
- return /* @__PURE__ */ d(
368
+ const { entry: t, selected: r, onClick: n } = this.props;
369
+ return /* @__PURE__ */ f(
303
370
  "div",
304
371
  {
305
372
  onClick: n,
306
- class: () => `relative flex items-center gap-2 px-3 py-2 cursor-pointer border-b border-border transition-colors duration-100 ${e() ? "bg-selected" : "hover:bg-section"}`,
373
+ class: () => `relative flex items-center gap-2 px-3 py-2 cursor-pointer border-b border-border transition-colors duration-100 ${r() ? "bg-selected" : "hover:bg-section"}`,
307
374
  children: [
308
- () => e() && /* @__PURE__ */ o("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
309
- /* @__PURE__ */ o(K, { status: t.status }),
310
- /* @__PURE__ */ d("span", { class: "text-accent font-mono text-[11px] flex-1 truncate pl-1", children: [
375
+ () => r() && /* @__PURE__ */ u("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
376
+ /* @__PURE__ */ u(se, { status: t.status }),
377
+ /* @__PURE__ */ f("span", { class: "text-accent font-mono text-[11px] flex-1 truncate pl-1", children: [
311
378
  "<",
312
379
  t.name,
313
380
  ">"
314
381
  ] }),
315
- /* @__PURE__ */ d("span", { class: "text-muted text-[11px] tabular-nums", children: [
382
+ /* @__PURE__ */ f("span", { class: "text-muted text-[11px] tabular-nums", children: [
316
383
  "×",
317
384
  t.renderCount
318
385
  ] }),
319
- /* @__PURE__ */ d(
386
+ /* @__PURE__ */ f(
320
387
  "span",
321
388
  {
322
389
  class: `text-[10px] tabular-nums w-12 text-right ${t.lastRenderDuration > 16 ? "text-warn" : "text-subtle"}`,
@@ -331,22 +398,36 @@ class V extends (vn = y) {
331
398
  );
332
399
  }
333
400
  }
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) {
401
+ Ke = ta(Br);
402
+ ve = aa(Ke, 0, "ComponentRow", Nr, ve);
403
+ ia(Ke, 1, ve);
404
+ var sa = Object.create, Ze = Object.defineProperty, la = Object.getOwnPropertyDescriptor, Rr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), le = (e) => {
405
+ throw TypeError(e);
406
+ }, ca = (e, t, r) => t in e ? Ze(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => Ze(e, "name", { value: t, configurable: !0 }), da = (e) => [, , , sa(e?.[Rr("metadata")] ?? null)], Ur = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Z = (e) => e !== void 0 && typeof e != "function" ? le("Function expected") : e, pa = (e, t, r, n, o) => ({ kind: Ur[e], name: t, metadata: n, addInitializer: (i) => r._ ? le("Already initialized") : o.push(Z(i || null)) }), ua = (e, t) => ca(t, Rr("metadata"), e[3]), Q = (e, t, r, n) => {
407
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
408
+ return n;
409
+ }, Qe = (e, t, r, n, o, i) => {
410
+ var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Ur[a + 5], S = a > 3 && (e[p - 1] = []), P = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && la(a < 4 ? o : { get [r]() {
411
+ return Nt(this, i);
412
+ }, set [r](v) {
413
+ return Bt(this, i, v);
414
+ } }, r));
415
+ a ? d && a < 4 && At(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : At(o, r);
416
+ for (var $ = n.length - 1; $ >= 0; $--)
417
+ l = pa(a, r, h = {}, e[3], P), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => ha(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Nt : _a)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Bt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? Z(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? le("Object expected") : (Z(s = c.get) && (g.get = s), Z(s = c.set) && (g.set = s), Z(s = c.init) && S.unshift(s));
418
+ return a || ua(e, o), g && Ze(o, r, g), d ? a ^ 4 ? i : g : o;
419
+ }, Ve = (e, t, r) => t.has(e) || le("Cannot " + r), ha = (e, t) => Object(t) !== t ? le('Cannot use the "in" operator on this value') : e.has(t), Nt = (e, t, r) => (Ve(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Bt = (e, t, r, n) => (Ve(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), _a = (e, t, r) => (Ve(e, t, "access private method"), r), Gr, Hr, Ce, Xr, T;
420
+ Xr = [x()];
421
+ class J extends (Ce = K, Hr = [O()], Gr = [O()], Ce) {
338
422
  constructor() {
339
- super(...arguments);
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
- f(this, "_handlers", []);
423
+ super(...arguments), this.components = Q(T, 8, this, []), Q(T, 11, this), this.selectedId = Q(T, 12, this, null), Q(T, 15, this), this._handlers = [];
343
424
  }
344
425
  get registry() {
345
426
  return this.props.registry;
346
427
  }
347
428
  onMount() {
348
429
  this.components = this.registry.getComponents();
349
- const e = () => {
430
+ const t = () => {
350
431
  this.components = this.registry.getComponents();
351
432
  };
352
433
  this._handlers = [
@@ -356,134 +437,201 @@ class B extends (tt = J, et = [C()], Pe = [C()], tt) {
356
437
  "lifecycle",
357
438
  "signal:registered",
358
439
  "signal:changed"
359
- ].map((n) => this.registry.bus.on(n, e));
440
+ ].map((r) => this.registry.bus.on(r, t));
360
441
  }
361
442
  onUnmount() {
362
- this._handlers.forEach((e) => {
363
- e();
443
+ this._handlers.forEach((t) => {
444
+ t();
364
445
  });
365
446
  }
366
447
  render() {
367
- const { registry: e } = this;
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
- /* @__PURE__ */ o("span", { class: "flex-1", children: "Component" }),
372
- /* @__PURE__ */ o("span", { children: "Renders" }),
373
- /* @__PURE__ */ o("span", { class: "w-12 text-right", children: "Last" })
448
+ const { registry: t } = this;
449
+ return /* @__PURE__ */ f("div", { class: "flex h-full overflow-hidden", children: [
450
+ /* @__PURE__ */ f("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
451
+ /* @__PURE__ */ f("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: [
452
+ /* @__PURE__ */ u("span", { class: "flex-1", children: "Component" }),
453
+ /* @__PURE__ */ u("span", { children: "Renders" }),
454
+ /* @__PURE__ */ u("span", { class: "w-12 text-right", children: "Last" })
374
455
  ] }),
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,
456
+ /* @__PURE__ */ u("div", { class: "flex-1 overflow-y-auto", children: () => this.components.length === 0 ? /* @__PURE__ */ u(Y, { message: "No components tracked. Add @Trace() to component classes." }) : this.components.map((r) => /* @__PURE__ */ u(
457
+ ve,
377
458
  {
378
- entry: n,
379
- selected: () => this.selectedId === n.id,
459
+ entry: r,
460
+ selected: () => this.selectedId === r.id,
380
461
  onClick: () => {
381
- this.selectedId = this.selectedId === n.id ? null : n.id;
462
+ this.selectedId = this.selectedId === r.id ? null : r.id;
382
463
  }
383
464
  },
384
- n.id
465
+ r.id
385
466
  )) })
386
467
  ] }),
387
468
  () => {
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;
469
+ const r = this.selectedId, n = r ? this.components.find((i) => i.id === r) ?? null : null, o = r ? t.getSignalsByComponent(r) : [];
470
+ return n ? /* @__PURE__ */ u(_e, { entry: n, signals: o }) : null;
390
471
  }
391
472
  ] });
392
473
  }
393
474
  }
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 = {
475
+ T = da(Ce);
476
+ Qe(T, 5, "components", Hr, J);
477
+ Qe(T, 5, "selectedId", Gr, J);
478
+ J = Qe(T, 0, "ComponentsTab", Xr, J);
479
+ Q(T, 1, J);
480
+ const va = {
396
481
  id: "components",
397
482
  label: "Components",
398
- component: B
483
+ component: J
399
484
  };
400
- var rt, ve, kn;
401
- rt = [m()];
402
- class P extends (kn = y) {
485
+ var ba = Object.create, et = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, Wr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Yr = (e) => {
486
+ throw TypeError(e);
487
+ }, fa = (e, t, r) => t in e ? et(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ma = (e, t) => et(e, "name", { value: t, configurable: !0 }), xa = (e) => [, , , ba(e?.[Wr("metadata")] ?? null)], wa = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Jr = (e) => e !== void 0 && typeof e != "function" ? Yr("Function expected") : e, $a = (e, t, r, n, o) => ({ kind: wa[e], name: t, metadata: n, addInitializer: (i) => r._ ? Yr("Already initialized") : o.push(Jr(i || null)) }), ya = (e, t) => fa(t, Wr("metadata"), e[3]), Sa = (e, t, r, n) => {
488
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
489
+ return n;
490
+ }, ka = (e, t, r, n, o, i) => {
491
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ga(o, r));
492
+ ma(o, r);
493
+ for (var p = n.length - 1; p >= 0; p--)
494
+ h = $a(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Jr(s) && (o = s);
495
+ return ya(e, o), d && et(o, r, d), _ ? l ^ 4 ? i : d : o;
496
+ }, qr, tt, Kr;
497
+ qr = [x()];
498
+ class be extends (Kr = k) {
403
499
  render() {
404
- const { placeholder: t, onInput: e } = this.props;
405
- return /* @__PURE__ */ o(
500
+ const { placeholder: t, onInput: r } = this.props;
501
+ return /* @__PURE__ */ u(
406
502
  "input",
407
503
  {
408
504
  type: "text",
409
505
  placeholder: t,
410
506
  class: "w-full bg-input border border-border rounded-lg text-text text-[11px] px-3 py-[5px] outline-none box-border transition-shadow duration-150",
411
507
  onInput: (n) => {
412
- e(n.target.value);
508
+ r(n.target.value);
413
509
  }
414
510
  }
415
511
  );
416
512
  }
417
513
  }
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) {
514
+ tt = xa(Kr);
515
+ be = ka(tt, 0, "SearchInput", qr, be);
516
+ Sa(tt, 1, be);
517
+ var za = Object.create, rt = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, Zr = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Qr = (e) => {
518
+ throw TypeError(e);
519
+ }, Oa = (e, t, r) => t in e ? rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pa = (e, t) => rt(e, "name", { value: t, configurable: !0 }), Ca = (e) => [, , , za(e?.[Zr("metadata")] ?? null)], Ea = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Vr = (e) => e !== void 0 && typeof e != "function" ? Qr("Function expected") : e, Da = (e, t, r, n, o) => ({ kind: Ea[e], name: t, metadata: n, addInitializer: (i) => r._ ? Qr("Already initialized") : o.push(Vr(i || null)) }), Ma = (e, t) => Oa(t, Zr("metadata"), e[3]), Ta = (e, t, r, n) => {
520
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
521
+ return n;
522
+ }, ja = (e, t, r, n, o, i) => {
523
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ia(o, r));
524
+ Pa(o, r);
525
+ for (var p = n.length - 1; p >= 0; p--)
526
+ h = Da(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Vr(s) && (o = s);
527
+ return Ma(e, o), d && rt(o, r, d), _ ? l ^ 4 ? i : d : o;
528
+ }, eo, ot, to;
529
+ eo = [x()];
530
+ class ge extends (to = k) {
422
531
  render() {
423
- return /* @__PURE__ */ d("div", { class: "border-b border-border", children: [
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 }),
532
+ return /* @__PURE__ */ f("div", { class: "border-b border-border", children: [
533
+ /* @__PURE__ */ u("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
534
  this.props.children
426
535
  ] });
427
536
  }
428
537
  }
429
- ke = b(zn), ee = l(ke, 0, "PanelSection", ot, ee), s(ke, 1, ee);
430
- function De(r, t) {
431
- const e = t ? ` ${t}` : "", n = Date.now() - r;
432
- return n < 1e3 ? `${n.toString()}ms${e}` : n < 6e4 ? `${(n / 1e3).toFixed(1)}s${e}` : `${Math.floor(n / 6e4).toString()}m${e}`;
538
+ ot = Ca(to);
539
+ ge = ja(ot, 0, "PanelSection", eo, ge);
540
+ Ta(ot, 1, ge);
541
+ function nt(e, t) {
542
+ const r = t ? ` ${t}` : "", n = Date.now() - e;
543
+ return n < 1e3 ? `${n.toString()}ms${r}` : n < 6e4 ? `${(n / 1e3).toFixed(1)}s${r}` : `${Math.floor(n / 6e4).toString()}m${r}`;
433
544
  }
434
- var it, ze, Cn;
435
- it = [m()];
436
- class te extends (Cn = y) {
545
+ var Fa = Object.create, it = Object.defineProperty, La = Object.getOwnPropertyDescriptor, ro = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), oo = (e) => {
546
+ throw TypeError(e);
547
+ }, Aa = (e, t, r) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Na = (e, t) => it(e, "name", { value: t, configurable: !0 }), Ba = (e) => [, , , Fa(e?.[ro("metadata")] ?? null)], Ra = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], no = (e) => e !== void 0 && typeof e != "function" ? oo("Function expected") : e, Ua = (e, t, r, n, o) => ({ kind: Ra[e], name: t, metadata: n, addInitializer: (i) => r._ ? oo("Already initialized") : o.push(no(i || null)) }), Ga = (e, t) => Aa(t, ro("metadata"), e[3]), Ha = (e, t, r, n) => {
548
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
549
+ return n;
550
+ }, Xa = (e, t, r, n, o, i) => {
551
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && La(o, r));
552
+ Na(o, r);
553
+ for (var p = n.length - 1; p >= 0; p--)
554
+ h = Ua(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, no(s) && (o = s);
555
+ return Ga(e, o), d && it(o, r, d), _ ? l ^ 4 ? i : d : o;
556
+ }, io, at, ao;
557
+ io = [x()];
558
+ class fe extends (ao = k) {
437
559
  render() {
438
560
  const { entry: t } = this.props;
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(
561
+ return /* @__PURE__ */ u(ae, { width: "260px", children: /* @__PURE__ */ u(ge, { label: "History", children: /* @__PURE__ */ f("div", { class: "overflow-y-auto", children: [
562
+ [...t.history].reverse().map((r, n) => /* @__PURE__ */ f(
441
563
  "div",
442
564
  {
443
565
  class: "px-3 py-2 border-b border-border flex justify-between items-center gap-3",
444
566
  children: [
445
- /* @__PURE__ */ o("span", { class: "font-mono text-[11px] text-text truncate", children: Ne(e.value) }),
446
- /* @__PURE__ */ o("span", { class: "text-[10px] text-subtle shrink-0 tabular-nums", children: De(e.timestamp, "ago") })
567
+ /* @__PURE__ */ u("span", { class: "font-mono text-[11px] text-text truncate", children: Be(r.value) }),
568
+ /* @__PURE__ */ u("span", { class: "text-[10px] text-subtle shrink-0 tabular-nums", children: nt(r.timestamp, "ago") })
447
569
  ]
448
570
  },
449
571
  String(n)
450
572
  )),
451
- t.history.length === 0 && /* @__PURE__ */ o("p", { class: "px-3 py-6 text-[11px] text-subtle text-center", children: "No history yet." })
573
+ t.history.length === 0 && /* @__PURE__ */ u("p", { class: "px-3 py-6 text-[11px] text-subtle text-center", children: "No history yet." })
452
574
  ] }) }) });
453
575
  }
454
576
  }
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) {
577
+ at = Ba(ao);
578
+ fe = Xa(at, 0, "SignalDetail", io, fe);
579
+ Ha(at, 1, fe);
580
+ var Wa = Object.create, st = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, so = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), lo = (e) => {
581
+ throw TypeError(e);
582
+ }, Ja = (e, t, r) => t in e ? st(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qa = (e, t) => st(e, "name", { value: t, configurable: !0 }), Ka = (e) => [, , , Wa(e?.[so("metadata")] ?? null)], Za = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], co = (e) => e !== void 0 && typeof e != "function" ? lo("Function expected") : e, Qa = (e, t, r, n, o) => ({ kind: Za[e], name: t, metadata: n, addInitializer: (i) => r._ ? lo("Already initialized") : o.push(co(i || null)) }), Va = (e, t) => Ja(t, so("metadata"), e[3]), es = (e, t, r, n) => {
583
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
584
+ return n;
585
+ }, ts = (e, t, r, n, o, i) => {
586
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ya(o, r));
587
+ qa(o, r);
588
+ for (var p = n.length - 1; p >= 0; p--)
589
+ h = Qa(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, co(s) && (o = s);
590
+ return Va(e, o), d && st(o, r, d), _ ? l ^ 4 ? i : d : o;
591
+ }, po, lt, uo;
592
+ po = [x()];
593
+ class me extends (uo = k) {
459
594
  render() {
460
- const { entry: t, selected: e, onClick: n } = this.props;
461
- return /* @__PURE__ */ d(
595
+ const { entry: t, selected: r, onClick: n } = this.props;
596
+ return /* @__PURE__ */ f(
462
597
  "div",
463
598
  {
464
599
  onClick: n,
465
- class: `relative grid grid-cols-[1.2fr_0.8fr_1fr_auto] items-center px-3 py-2 cursor-pointer border-b border-border transition-colors duration-100 ${e ? "bg-selected" : "hover:bg-section"}`,
600
+ class: `relative grid grid-cols-[1.2fr_0.8fr_1fr_auto] items-center px-3 py-2 cursor-pointer border-b border-border transition-colors duration-100 ${r ? "bg-selected" : "hover:bg-section"}`,
466
601
  children: [
467
- e && /* @__PURE__ */ o("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
468
- /* @__PURE__ */ o("span", { class: "text-accent font-mono text-[11px] truncate pl-1", children: t.label }),
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: Ne(t.value) }),
471
- /* @__PURE__ */ o("span", { class: "text-subtle text-[10px] text-right tabular-nums", children: De(t.changedAt, "ago") })
602
+ r && /* @__PURE__ */ u("span", { class: "absolute left-0 top-0 bottom-0 w-[2px] bg-accent rounded-r" }),
603
+ /* @__PURE__ */ u("span", { class: "text-accent font-mono text-[11px] truncate pl-1", children: t.label }),
604
+ /* @__PURE__ */ u("span", { class: "text-muted text-[11px] truncate", children: t.componentName }),
605
+ /* @__PURE__ */ u("span", { class: "text-text font-mono text-[11px] truncate", children: Be(t.value) }),
606
+ /* @__PURE__ */ u("span", { class: "text-subtle text-[10px] text-right tabular-nums", children: nt(t.changedAt, "ago") })
472
607
  ]
473
608
  }
474
609
  );
475
610
  }
476
611
  }
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) {
612
+ lt = Ka(uo);
613
+ me = ts(lt, 0, "SignalRow", po, me);
614
+ es(lt, 1, me);
615
+ var rs = Object.create, ct = Object.defineProperty, os = Object.getOwnPropertyDescriptor, ho = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ce = (e) => {
616
+ throw TypeError(e);
617
+ }, ns = (e, t, r) => t in e ? ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => ct(e, "name", { value: t, configurable: !0 }), is = (e) => [, , , rs(e?.[ho("metadata")] ?? null)], _o = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], V = (e) => e !== void 0 && typeof e != "function" ? ce("Function expected") : e, as = (e, t, r, n, o) => ({ kind: _o[e], name: t, metadata: n, addInitializer: (i) => r._ ? ce("Already initialized") : o.push(V(i || null)) }), ss = (e, t) => ns(t, ho("metadata"), e[3]), A = (e, t, r, n) => {
618
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
619
+ return n;
620
+ }, Ie = (e, t, r, n, o, i) => {
621
+ var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = _o[a + 5], S = a > 3 && (e[p - 1] = []), P = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && os(a < 4 ? o : { get [r]() {
622
+ return Ut(this, i);
623
+ }, set [r](v) {
624
+ return Gt(this, i, v);
625
+ } }, r));
626
+ a ? d && a < 4 && Rt(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Rt(o, r);
627
+ for (var $ = n.length - 1; $ >= 0; $--)
628
+ l = as(a, r, h = {}, e[3], P), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => ls(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Ut : cs)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Gt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? V(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? ce("Object expected") : (V(s = c.get) && (g.get = s), V(s = c.set) && (g.set = s), V(s = c.init) && S.unshift(s));
629
+ return a || ss(e, o), g && ct(o, r, g), d ? a ^ 4 ? i : g : o;
630
+ }, dt = (e, t, r) => t.has(e) || ce("Cannot " + r), ls = (e, t) => Object(t) !== t ? ce('Cannot use the "in" operator on this value') : e.has(t), Ut = (e, t, r) => (dt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Gt = (e, t, r, n) => (dt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), cs = (e, t, r) => (dt(e, t, "access private method"), r), vo, bo, go, Ee, fo, C;
631
+ fo = [x()];
632
+ class U extends (Ee = K, go = [O()], bo = [O()], vo = [O()], Ee) {
481
633
  constructor() {
482
- super(...arguments);
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
- f(this, "_handlers", []);
634
+ super(...arguments), this.signals = A(C, 8, this, []), A(C, 11, this), this.search = A(C, 12, this, ""), A(C, 15, this), this.selectedId = A(C, 16, this, null), A(C, 19, this), this._handlers = [];
487
635
  }
488
636
  get registry() {
489
637
  return this.props.registry;
@@ -499,70 +647,75 @@ class U extends (dt = J, ct = [C()], lt = [C()], at = [C()], dt) {
499
647
  ];
500
648
  }
501
649
  onUnmount() {
502
- this._handlers.forEach((e) => {
503
- e();
650
+ this._handlers.forEach((t) => {
651
+ t();
504
652
  });
505
653
  }
506
654
  render() {
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
- /* @__PURE__ */ o("div", { class: "px-3 py-2 border-b border-border bg-bg shrink-0", children: /* @__PURE__ */ o(
510
- P,
655
+ return /* @__PURE__ */ f("div", { class: "flex h-full overflow-hidden", children: [
656
+ /* @__PURE__ */ f("div", { class: "flex-1 flex flex-col overflow-hidden min-w-0", children: [
657
+ /* @__PURE__ */ u("div", { class: "px-3 py-2 border-b border-border bg-bg shrink-0", children: /* @__PURE__ */ u(
658
+ be,
511
659
  {
512
660
  placeholder: "Search signals…",
513
- onInput: (e) => {
514
- this.search = e;
661
+ onInput: (t) => {
662
+ this.search = t;
515
663
  }
516
664
  }
517
665
  ) }),
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
- /* @__PURE__ */ o("span", { children: "Signal" }),
520
- /* @__PURE__ */ o("span", { children: "Component" }),
521
- /* @__PURE__ */ o("span", { children: "Value" }),
522
- /* @__PURE__ */ o("span", { children: "Age" })
666
+ /* @__PURE__ */ f("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: [
667
+ /* @__PURE__ */ u("span", { children: "Signal" }),
668
+ /* @__PURE__ */ u("span", { children: "Component" }),
669
+ /* @__PURE__ */ u("span", { children: "Value" }),
670
+ /* @__PURE__ */ u("span", { children: "Age" })
523
671
  ] }),
524
- /* @__PURE__ */ o("div", { class: "flex-1 overflow-y-auto", children: () => {
525
- const e = this.search.toLowerCase(), n = e === "" ? this.signals : this.signals.filter(
526
- (i) => i.label.toLowerCase().includes(e) || i.componentName.toLowerCase().includes(e)
672
+ /* @__PURE__ */ u("div", { class: "flex-1 overflow-y-auto", children: () => {
673
+ const t = this.search.toLowerCase(), r = t === "" ? this.signals : this.signals.filter(
674
+ (n) => n.label.toLowerCase().includes(t) || n.componentName.toLowerCase().includes(t)
527
675
  );
528
- return n.length === 0 ? /* @__PURE__ */ o(
529
- G,
676
+ return r.length === 0 ? /* @__PURE__ */ u(
677
+ Y,
530
678
  {
531
679
  message: this.signals.length === 0 ? "No signals tracked. Add @Debug() on top of @State() properties." : "No signals match your search."
532
680
  }
533
- ) : n.map((i) => /* @__PURE__ */ o(
534
- ne,
681
+ ) : r.map((n) => /* @__PURE__ */ u(
682
+ me,
535
683
  {
536
- entry: i,
537
- selected: this.selectedId === i.id,
684
+ entry: n,
685
+ selected: this.selectedId === n.id,
538
686
  onClick: () => {
539
- this.selectedId = this.selectedId === i.id ? null : i.id;
687
+ this.selectedId = this.selectedId === n.id ? null : n.id;
540
688
  }
541
689
  },
542
- i.id
690
+ n.id
543
691
  ));
544
692
  } })
545
693
  ] }),
546
694
  () => {
547
- const e = this.selectedId, n = e ? this.signals.find((i) => i.id === e) ?? null : null;
548
- return n ? /* @__PURE__ */ o(te, { entry: n }) : null;
695
+ const t = this.selectedId, r = t ? this.signals.find((n) => n.id === t) ?? null : null;
696
+ return r ? /* @__PURE__ */ u(fe, { entry: r }) : null;
549
697
  }
550
698
  ] });
551
699
  }
552
700
  }
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 = {
701
+ C = is(Ee);
702
+ Ie(C, 5, "signals", go, U);
703
+ Ie(C, 5, "search", bo, U);
704
+ Ie(C, 5, "selectedId", vo, U);
705
+ U = Ie(C, 0, "SignalsTab", fo, U);
706
+ A(C, 1, U);
707
+ const ds = {
555
708
  id: "signals",
556
709
  label: "Signals",
557
710
  component: U
558
- }, an = {
711
+ }, ps = {
559
712
  "signal:change": { label: "signal", cls: "text-[#9b90e6] bg-[rgba(155,144,230,0.14)]" },
560
713
  "component:render": { label: "render", cls: "text-[#4ade80] bg-[rgba(74,222,128,0.12)]" },
561
714
  "component:mount": { label: "mount", cls: "text-[#0ea57a] bg-[rgba(14,165,122,0.14)]" },
562
715
  "component:unmount": { label: "unmount", cls: "text-[#dc2626] bg-[rgba(220,38,38,0.14)]" },
563
716
  lifecycle: { label: "lifecycle", cls: "text-[#d97706] bg-[rgba(217,119,6,0.14)]" },
564
717
  "method:call": { label: "method", cls: "text-[#7c6dd6] bg-[rgba(124,109,214,0.14)]" }
565
- }, ln = [
718
+ }, us = [
566
719
  { value: "all", label: "All" },
567
720
  { value: "signal:change", label: "Signals" },
568
721
  { value: "component:render", label: "Renders" },
@@ -570,12 +723,23 @@ const sn = {
570
723
  { value: "lifecycle", label: "Lifecycle" },
571
724
  { value: "method:call", label: "Methods" }
572
725
  ];
573
- var pt, Me, Sn;
574
- pt = [m()];
575
- class re extends (Sn = y) {
726
+ var hs = Object.create, pt = Object.defineProperty, _s = Object.getOwnPropertyDescriptor, mo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), xo = (e) => {
727
+ throw TypeError(e);
728
+ }, vs = (e, t, r) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bs = (e, t) => pt(e, "name", { value: t, configurable: !0 }), gs = (e) => [, , , hs(e?.[mo("metadata")] ?? null)], fs = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], wo = (e) => e !== void 0 && typeof e != "function" ? xo("Function expected") : e, ms = (e, t, r, n, o) => ({ kind: fs[e], name: t, metadata: n, addInitializer: (i) => r._ ? xo("Already initialized") : o.push(wo(i || null)) }), xs = (e, t) => vs(t, mo("metadata"), e[3]), ws = (e, t, r, n) => {
729
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
730
+ return n;
731
+ }, $s = (e, t, r, n, o, i) => {
732
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && _s(o, r));
733
+ bs(o, r);
734
+ for (var p = n.length - 1; p >= 0; p--)
735
+ h = ms(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, wo(s) && (o = s);
736
+ return xs(e, o), d && pt(o, r, d), _ ? l ^ 4 ? i : d : o;
737
+ }, $o, ut, yo;
738
+ $o = [x()];
739
+ class xe extends (yo = k) {
576
740
  render() {
577
- const t = an[this.props.type];
578
- return /* @__PURE__ */ o(
741
+ const t = ps[this.props.type];
742
+ return /* @__PURE__ */ u(
579
743
  "span",
580
744
  {
581
745
  class: `text-[9px] px-[6px] py-[2px] rounded font-bold uppercase tracking-[0.07em] shrink-0 ${t.cls}`,
@@ -584,55 +748,85 @@ class re extends (Sn = y) {
584
748
  );
585
749
  }
586
750
  }
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) {
751
+ ut = gs(yo);
752
+ xe = $s(ut, 0, "Badge", $o, xe);
753
+ ws(ut, 1, xe);
754
+ var ys = Object.create, ht = Object.defineProperty, Ss = Object.getOwnPropertyDescriptor, So = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), de = (e) => {
755
+ throw TypeError(e);
756
+ }, ks = (e, t, r) => t in e ? ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => ht(e, "name", { value: t, configurable: !0 }), zs = (e) => [, , , ys(e?.[So("metadata")] ?? null)], ko = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], ee = (e) => e !== void 0 && typeof e != "function" ? de("Function expected") : e, Is = (e, t, r, n, o) => ({ kind: ko[e], name: t, metadata: n, addInitializer: (i) => r._ ? de("Already initialized") : o.push(ee(i || null)) }), Os = (e, t) => ks(t, So("metadata"), e[3]), te = (e, t, r, n) => {
757
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
758
+ return n;
759
+ }, _t = (e, t, r, n, o, i) => {
760
+ var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = ko[a + 5], S = a > 3 && (e[p - 1] = []), P = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && Ss(a < 4 ? o : { get [r]() {
761
+ return Xt(this, i);
762
+ }, set [r](v) {
763
+ return Wt(this, i, v);
764
+ } }, r));
765
+ a ? d && a < 4 && Ht(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Ht(o, r);
766
+ for (var $ = n.length - 1; $ >= 0; $--)
767
+ l = Is(a, r, h = {}, e[3], P), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => Ps(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Xt : Cs)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Wt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? ee(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? de("Object expected") : (ee(s = c.get) && (g.get = s), ee(s = c.set) && (g.set = s), ee(s = c.init) && S.unshift(s));
768
+ return a || Os(e, o), g && ht(o, r, g), d ? a ^ 4 ? i : g : o;
769
+ }, vt = (e, t, r) => t.has(e) || de("Cannot " + r), Ps = (e, t) => Object(t) !== t ? de('Cannot use the "in" operator on this value') : e.has(t), Xt = (e, t, r) => (vt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Wt = (e, t, r, n) => (vt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Cs = (e, t, r) => (vt(e, t, "access private method"), r), zo, Io, De, Oo, j;
770
+ Oo = [x()];
771
+ class q extends (De = K, Io = [O()], zo = [ie()], De) {
591
772
  constructor() {
592
- super(...arguments);
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);
773
+ super(...arguments), this.open = te(j, 8, this, !1), te(j, 11, this), this.entry = te(j, 12, this), te(j, 15, this);
595
774
  }
596
775
  render() {
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(
776
+ const t = this.entry;
777
+ if (!t) return null;
778
+ const r = Object.keys(t.data).length > 0;
779
+ return /* @__PURE__ */ f("div", { class: "border-b border-border", children: [
780
+ /* @__PURE__ */ f(
602
781
  "div",
603
782
  {
604
783
  onClick: () => {
605
- n && (this.open = !this.open);
784
+ r && (this.open = !this.open);
606
785
  },
607
- class: `flex items-center gap-2 px-3 py-2 transition-colors duration-100 ${n ? "cursor-pointer hover:bg-section" : "cursor-default"}`,
786
+ class: `flex items-center gap-2 px-3 py-2 transition-colors duration-100 ${r ? "cursor-pointer hover:bg-section" : "cursor-default"}`,
608
787
  children: [
609
- /* @__PURE__ */ o("span", { class: "text-subtle text-[10px] w-10 shrink-0 text-right tabular-nums font-mono", children: De(e.timestamp) }),
610
- /* @__PURE__ */ o(re, { type: e.type }),
611
- /* @__PURE__ */ o("span", { class: "flex-1 text-text font-mono text-[11px] truncate", children: e.label }),
612
- n && /* @__PURE__ */ o("span", { class: "text-subtle text-[11px] shrink-0 w-4 text-center", children: () => this.open ? "▾" : "▸" })
788
+ /* @__PURE__ */ u("span", { class: "text-subtle text-[10px] w-10 shrink-0 text-right tabular-nums font-mono", children: nt(t.timestamp) }),
789
+ /* @__PURE__ */ u(xe, { type: t.type }),
790
+ /* @__PURE__ */ u("span", { class: "flex-1 text-text font-mono text-[11px] truncate", children: t.label }),
791
+ r && /* @__PURE__ */ u("span", { class: "text-subtle text-[11px] shrink-0 w-4 text-center", children: () => this.open ? "▾" : "▸" })
613
792
  ]
614
793
  }
615
794
  ),
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: [
618
- i,
795
+ () => this.open && r ? /* @__PURE__ */ u("div", { class: "px-3 py-2 pl-[56px] font-mono text-[11px] bg-section border-t border-border", children: Object.entries(t.data).map(([n, o]) => /* @__PURE__ */ f("div", { class: "flex gap-3 py-[3px]", children: [
796
+ /* @__PURE__ */ f("span", { class: "text-accent shrink-0", children: [
797
+ n,
619
798
  ":"
620
799
  ] }),
621
- /* @__PURE__ */ o("span", { class: "text-muted truncate", children: typeof a == "object" ? JSON.stringify(a) : String(a) })
622
- ] }, i)) }) : null
800
+ /* @__PURE__ */ u("span", { class: "text-muted truncate", children: typeof o == "object" ? JSON.stringify(o) : String(o) })
801
+ ] }, n)) }) : null
623
802
  ] });
624
803
  }
625
804
  }
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) {
805
+ j = zs(De);
806
+ _t(j, 5, "open", Io, q);
807
+ _t(j, 5, "entry", zo, q);
808
+ q = _t(j, 0, "TimelineRow", Oo, q);
809
+ te(j, 1, q);
810
+ var Es = Object.create, bt = Object.defineProperty, Ds = Object.getOwnPropertyDescriptor, Po = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), pe = (e) => {
811
+ throw TypeError(e);
812
+ }, Ms = (e, t, r) => t in e ? bt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yt = (e, t) => bt(e, "name", { value: t, configurable: !0 }), Ts = (e) => [, , , Es(e?.[Po("metadata")] ?? null)], Co = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], re = (e) => e !== void 0 && typeof e != "function" ? pe("Function expected") : e, js = (e, t, r, n, o) => ({ kind: Co[e], name: t, metadata: n, addInitializer: (i) => r._ ? pe("Already initialized") : o.push(re(i || null)) }), Fs = (e, t) => Ms(t, Po("metadata"), e[3]), N = (e, t, r, n) => {
813
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
814
+ return n;
815
+ }, Oe = (e, t, r, n, o, i) => {
816
+ var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Co[a + 5], S = a > 3 && (e[p - 1] = []), P = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && Ds(a < 4 ? o : { get [r]() {
817
+ return Jt(this, i);
818
+ }, set [r](v) {
819
+ return qt(this, i, v);
820
+ } }, r));
821
+ a ? d && a < 4 && Yt(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Yt(o, r);
822
+ for (var $ = n.length - 1; $ >= 0; $--)
823
+ l = js(a, r, h = {}, e[3], P), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => Ls(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Jt : As)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => qt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? re(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? pe("Object expected") : (re(s = c.get) && (g.get = s), re(s = c.set) && (g.set = s), re(s = c.init) && S.unshift(s));
824
+ return a || Fs(e, o), g && bt(o, r, g), d ? a ^ 4 ? i : g : o;
825
+ }, gt = (e, t, r) => t.has(e) || pe("Cannot " + r), Ls = (e, t) => Object(t) !== t ? pe('Cannot use the "in" operator on this value') : e.has(t), Jt = (e, t, r) => (gt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), qt = (e, t, r, n) => (gt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), As = (e, t, r) => (gt(e, t, "access private method"), r), Eo, Do, Mo, Me, To, E;
826
+ To = [x()];
827
+ class G extends (Me = K, Mo = [O()], Do = [O()], Eo = [O()], Me) {
630
828
  constructor() {
631
- super(...arguments);
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);
635
- f(this, "_handlers", []);
829
+ super(...arguments), this.entries = N(E, 8, this, []), N(E, 11, this), this.filter = N(E, 12, this, "all"), N(E, 15, this), this.paused = N(E, 16, this, !1), N(E, 19, this), this._handlers = [];
636
830
  }
637
831
  get registry() {
638
832
  return this.props.registry;
@@ -645,26 +839,26 @@ class O extends (yt = J, wt = [C()], ft = [C()], mt = [C()], yt) {
645
839
  ];
646
840
  }
647
841
  onUnmount() {
648
- this._handlers.forEach((e) => {
649
- e();
842
+ this._handlers.forEach((t) => {
843
+ t();
650
844
  });
651
845
  }
652
846
  render() {
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(
847
+ return /* @__PURE__ */ f("div", { class: "flex flex-col h-full overflow-hidden", children: [
848
+ /* @__PURE__ */ f("div", { class: "flex items-center gap-[3px] px-2 py-2 border-b border-border bg-bg shrink-0 flex-wrap", children: [
849
+ us.map((t) => /* @__PURE__ */ u(
656
850
  "button",
657
851
  {
658
852
  onClick: () => {
659
- this.filter = e.value;
853
+ this.filter = t.value;
660
854
  },
661
- class: () => this.filter === e.value ? "text-[11px] px-2 py-[3px] rounded cursor-pointer font-sans bg-soft text-accent font-semibold" : "text-[11px] px-2 py-[3px] rounded cursor-pointer font-sans text-muted hover:text-text hover:bg-section transition-colors duration-150",
662
- children: e.label
855
+ class: () => this.filter === t.value ? "text-[11px] px-2 py-[3px] rounded cursor-pointer font-sans bg-soft text-accent font-semibold" : "text-[11px] px-2 py-[3px] rounded cursor-pointer font-sans text-muted hover:text-text hover:bg-section transition-colors duration-150",
856
+ children: t.label
663
857
  },
664
- e.value
858
+ t.value
665
859
  )),
666
- /* @__PURE__ */ o("div", { class: "flex-1" }),
667
- /* @__PURE__ */ o(
860
+ /* @__PURE__ */ u("div", { class: "flex-1" }),
861
+ /* @__PURE__ */ u(
668
862
  "button",
669
863
  {
670
864
  onClick: () => {
@@ -674,7 +868,7 @@ class O extends (yt = J, wt = [C()], ft = [C()], mt = [C()], yt) {
674
868
  children: () => this.paused ? "Resume" : "Pause"
675
869
  }
676
870
  ),
677
- /* @__PURE__ */ o(
871
+ /* @__PURE__ */ u(
678
872
  "button",
679
873
  {
680
874
  onClick: () => {
@@ -685,26 +879,42 @@ class O extends (yt = J, wt = [C()], ft = [C()], mt = [C()], yt) {
685
879
  }
686
880
  )
687
881
  ] }),
688
- /* @__PURE__ */ o("div", { class: "flex-1 overflow-y-auto", children: () => {
689
- const e = this.filter, n = e === "all" ? this.entries : this.entries.filter(
690
- (i) => i.type === e || e === "component:mount" && i.type === "component:unmount"
882
+ /* @__PURE__ */ u("div", { class: "flex-1 overflow-y-auto", children: () => {
883
+ const t = this.filter, r = t === "all" ? this.entries : this.entries.filter(
884
+ (n) => n.type === t || t === "component:mount" && n.type === "component:unmount"
691
885
  );
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));
886
+ return r.length === 0 ? /* @__PURE__ */ u(Y, { message: "No events yet. Interact with your app to see the timeline." }) : [...r].reverse().map((n) => /* @__PURE__ */ u(q, { entry: n }, n.id));
693
887
  } })
694
888
  ] });
695
889
  }
696
890
  }
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 = {
891
+ E = Ts(Me);
892
+ Oe(E, 5, "entries", Mo, G);
893
+ Oe(E, 5, "filter", Do, G);
894
+ Oe(E, 5, "paused", Eo, G);
895
+ G = Oe(E, 0, "TimelineTab", To, G);
896
+ N(E, 1, G);
897
+ const Ns = {
699
898
  id: "timeline",
700
899
  label: "Timeline",
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) {
900
+ component: G
901
+ }, Bs = '*,: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}';
902
+ var Rs = Object.create, ft = Object.defineProperty, Us = Object.getOwnPropertyDescriptor, jo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Fo = (e) => {
903
+ throw TypeError(e);
904
+ }, Gs = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hs = (e, t) => ft(e, "name", { value: t, configurable: !0 }), Xs = (e) => [, , , Rs(e?.[jo("metadata")] ?? null)], Ws = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Lo = (e) => e !== void 0 && typeof e != "function" ? Fo("Function expected") : e, Ys = (e, t, r, n, o) => ({ kind: Ws[e], name: t, metadata: n, addInitializer: (i) => r._ ? Fo("Already initialized") : o.push(Lo(i || null)) }), Js = (e, t) => Gs(t, jo("metadata"), e[3]), qs = (e, t, r, n) => {
905
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
906
+ return n;
907
+ }, Ks = (e, t, r, n, o, i) => {
908
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Us(o, r));
909
+ Hs(o, r);
910
+ for (var p = n.length - 1; p >= 0; p--)
911
+ h = Ys(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Lo(s) && (o = s);
912
+ return Js(e, o), d && ft(o, r, d), _ ? l ^ 4 ? i : d : o;
913
+ }, Ao, mt, No;
914
+ Ao = [x()];
915
+ class we extends (No = k) {
706
916
  render() {
707
- return /* @__PURE__ */ d(
917
+ return /* @__PURE__ */ f(
708
918
  "svg",
709
919
  {
710
920
  xmlns: "http://www.w3.org/2000/svg",
@@ -718,20 +928,33 @@ class oe extends (In = y) {
718
928
  "stroke-linejoin": "round",
719
929
  class: "lucide lucide-ellipsis-vertical-icon lucide-ellipsis-vertical",
720
930
  children: [
721
- /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "1" }),
722
- /* @__PURE__ */ o("circle", { cx: "12", cy: "5", r: "1" }),
723
- /* @__PURE__ */ o("circle", { cx: "12", cy: "19", r: "1" })
931
+ /* @__PURE__ */ u("circle", { cx: "12", cy: "12", r: "1" }),
932
+ /* @__PURE__ */ u("circle", { cx: "12", cy: "5", r: "1" }),
933
+ /* @__PURE__ */ u("circle", { cx: "12", cy: "19", r: "1" })
724
934
  ]
725
935
  }
726
936
  );
727
937
  }
728
938
  }
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) {
939
+ mt = Xs(No);
940
+ we = Ks(mt, 0, "EllipsisVerticalIcon", Ao, we);
941
+ qs(mt, 1, we);
942
+ var Zs = Object.create, xt = Object.defineProperty, Qs = Object.getOwnPropertyDescriptor, Bo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Ro = (e) => {
943
+ throw TypeError(e);
944
+ }, Vs = (e, t, r) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, el = (e, t) => xt(e, "name", { value: t, configurable: !0 }), tl = (e) => [, , , Zs(e?.[Bo("metadata")] ?? null)], rl = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Uo = (e) => e !== void 0 && typeof e != "function" ? Ro("Function expected") : e, ol = (e, t, r, n, o) => ({ kind: rl[e], name: t, metadata: n, addInitializer: (i) => r._ ? Ro("Already initialized") : o.push(Uo(i || null)) }), nl = (e, t) => Vs(t, Bo("metadata"), e[3]), il = (e, t, r, n) => {
945
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
946
+ return n;
947
+ }, al = (e, t, r, n, o, i) => {
948
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Qs(o, r));
949
+ el(o, r);
950
+ for (var p = n.length - 1; p >= 0; p--)
951
+ h = ol(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Uo(s) && (o = s);
952
+ return nl(e, o), d && xt(o, r, d), _ ? l ^ 4 ? i : d : o;
953
+ }, Go, wt, Ho;
954
+ Go = [x()];
955
+ class $e extends (Ho = k) {
733
956
  render() {
734
- return /* @__PURE__ */ d(
957
+ return /* @__PURE__ */ f(
735
958
  "svg",
736
959
  {
737
960
  xmlns: "http://www.w3.org/2000/svg",
@@ -745,19 +968,32 @@ class ie extends (Ln = y) {
745
968
  "stroke-linejoin": "round",
746
969
  class: "lucide lucide-panel-bottom-icon lucide-panel-bottom",
747
970
  children: [
748
- /* @__PURE__ */ o("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
749
- /* @__PURE__ */ o("path", { d: "M3 15h18" })
971
+ /* @__PURE__ */ u("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
972
+ /* @__PURE__ */ u("path", { d: "M3 15h18" })
750
973
  ]
751
974
  }
752
975
  );
753
976
  }
754
977
  }
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) {
978
+ wt = tl(Ho);
979
+ $e = al(wt, 0, "PanelBottomIcon", Go, $e);
980
+ il(wt, 1, $e);
981
+ var sl = Object.create, $t = Object.defineProperty, ll = Object.getOwnPropertyDescriptor, Xo = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Wo = (e) => {
982
+ throw TypeError(e);
983
+ }, cl = (e, t, r) => t in e ? $t(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dl = (e, t) => $t(e, "name", { value: t, configurable: !0 }), pl = (e) => [, , , sl(e?.[Xo("metadata")] ?? null)], ul = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Yo = (e) => e !== void 0 && typeof e != "function" ? Wo("Function expected") : e, hl = (e, t, r, n, o) => ({ kind: ul[e], name: t, metadata: n, addInitializer: (i) => r._ ? Wo("Already initialized") : o.push(Yo(i || null)) }), _l = (e, t) => cl(t, Xo("metadata"), e[3]), vl = (e, t, r, n) => {
984
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
985
+ return n;
986
+ }, bl = (e, t, r, n, o, i) => {
987
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && ll(o, r));
988
+ dl(o, r);
989
+ for (var p = n.length - 1; p >= 0; p--)
990
+ h = hl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Yo(s) && (o = s);
991
+ return _l(e, o), d && $t(o, r, d), _ ? l ^ 4 ? i : d : o;
992
+ }, Jo, yt, qo;
993
+ Jo = [x()];
994
+ class ye extends (qo = k) {
759
995
  render() {
760
- return /* @__PURE__ */ d(
996
+ return /* @__PURE__ */ f(
761
997
  "svg",
762
998
  {
763
999
  xmlns: "http://www.w3.org/2000/svg",
@@ -771,19 +1007,32 @@ class se extends (_n = y) {
771
1007
  "stroke-linejoin": "round",
772
1008
  class: "lucide lucide-panel-left-icon lucide-panel-left",
773
1009
  children: [
774
- /* @__PURE__ */ o("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
775
- /* @__PURE__ */ o("path", { d: "M9 3v18" })
1010
+ /* @__PURE__ */ u("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
1011
+ /* @__PURE__ */ u("path", { d: "M9 3v18" })
776
1012
  ]
777
1013
  }
778
1014
  );
779
1015
  }
780
1016
  }
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) {
1017
+ yt = pl(qo);
1018
+ ye = bl(yt, 0, "PanelLeftIcon", Jo, ye);
1019
+ vl(yt, 1, ye);
1020
+ var gl = Object.create, St = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, Ko = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), Zo = (e) => {
1021
+ throw TypeError(e);
1022
+ }, ml = (e, t, r) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xl = (e, t) => St(e, "name", { value: t, configurable: !0 }), wl = (e) => [, , , gl(e?.[Ko("metadata")] ?? null)], $l = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Qo = (e) => e !== void 0 && typeof e != "function" ? Zo("Function expected") : e, yl = (e, t, r, n, o) => ({ kind: $l[e], name: t, metadata: n, addInitializer: (i) => r._ ? Zo("Already initialized") : o.push(Qo(i || null)) }), Sl = (e, t) => ml(t, Ko("metadata"), e[3]), kl = (e, t, r, n) => {
1023
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
1024
+ return n;
1025
+ }, zl = (e, t, r, n, o, i) => {
1026
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && fl(o, r));
1027
+ xl(o, r);
1028
+ for (var p = n.length - 1; p >= 0; p--)
1029
+ h = yl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, Qo(s) && (o = s);
1030
+ return Sl(e, o), d && St(o, r, d), _ ? l ^ 4 ? i : d : o;
1031
+ }, Vo, kt, en;
1032
+ Vo = [x()];
1033
+ class Se extends (en = k) {
785
1034
  render() {
786
- return /* @__PURE__ */ d(
1035
+ return /* @__PURE__ */ f(
787
1036
  "svg",
788
1037
  {
789
1038
  xmlns: "http://www.w3.org/2000/svg",
@@ -797,19 +1046,32 @@ class ae extends ($n = y) {
797
1046
  "stroke-linejoin": "round",
798
1047
  class: "lucide lucide-panel-right-icon lucide-panel-right",
799
1048
  children: [
800
- /* @__PURE__ */ o("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
801
- /* @__PURE__ */ o("path", { d: "M15 3v18" })
1049
+ /* @__PURE__ */ u("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
1050
+ /* @__PURE__ */ u("path", { d: "M15 3v18" })
802
1051
  ]
803
1052
  }
804
1053
  );
805
1054
  }
806
1055
  }
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) {
1056
+ kt = wl(en);
1057
+ Se = zl(kt, 0, "PanelRightIcon", Vo, Se);
1058
+ kl(kt, 1, Se);
1059
+ var Il = Object.create, zt = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, tn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), rn = (e) => {
1060
+ throw TypeError(e);
1061
+ }, Pl = (e, t, r) => t in e ? zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Cl = (e, t) => zt(e, "name", { value: t, configurable: !0 }), El = (e) => [, , , Il(e?.[tn("metadata")] ?? null)], Dl = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], on = (e) => e !== void 0 && typeof e != "function" ? rn("Function expected") : e, Ml = (e, t, r, n, o) => ({ kind: Dl[e], name: t, metadata: n, addInitializer: (i) => r._ ? rn("Already initialized") : o.push(on(i || null)) }), Tl = (e, t) => Pl(t, tn("metadata"), e[3]), jl = (e, t, r, n) => {
1062
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
1063
+ return n;
1064
+ }, Fl = (e, t, r, n, o, i) => {
1065
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Ol(o, r));
1066
+ Cl(o, r);
1067
+ for (var p = n.length - 1; p >= 0; p--)
1068
+ h = Ml(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, on(s) && (o = s);
1069
+ return Tl(e, o), d && zt(o, r, d), _ ? l ^ 4 ? i : d : o;
1070
+ }, nn, It, an;
1071
+ nn = [x()];
1072
+ class ke extends (an = k) {
811
1073
  render() {
812
- return /* @__PURE__ */ d(
1074
+ return /* @__PURE__ */ f(
813
1075
  "svg",
814
1076
  {
815
1077
  xmlns: "http://www.w3.org/2000/svg",
@@ -823,19 +1085,32 @@ class le extends (jn = y) {
823
1085
  "stroke-linejoin": "round",
824
1086
  class: "lucide lucide-panel-top-icon lucide-panel-top",
825
1087
  children: [
826
- /* @__PURE__ */ o("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
827
- /* @__PURE__ */ o("path", { d: "M3 9h18" })
1088
+ /* @__PURE__ */ u("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
1089
+ /* @__PURE__ */ u("path", { d: "M3 9h18" })
828
1090
  ]
829
1091
  }
830
1092
  );
831
1093
  }
832
1094
  }
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) {
1095
+ It = El(an);
1096
+ ke = Fl(It, 0, "PanelTopIcon", nn, ke);
1097
+ jl(It, 1, ke);
1098
+ var Ll = Object.create, Ot = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, sn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ln = (e) => {
1099
+ throw TypeError(e);
1100
+ }, Nl = (e, t, r) => t in e ? Ot(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bl = (e, t) => Ot(e, "name", { value: t, configurable: !0 }), Rl = (e) => [, , , Ll(e?.[sn("metadata")] ?? null)], Ul = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], cn = (e) => e !== void 0 && typeof e != "function" ? ln("Function expected") : e, Gl = (e, t, r, n, o) => ({ kind: Ul[e], name: t, metadata: n, addInitializer: (i) => r._ ? ln("Already initialized") : o.push(cn(i || null)) }), Hl = (e, t) => Nl(t, sn("metadata"), e[3]), Xl = (e, t, r, n) => {
1101
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
1102
+ return n;
1103
+ }, Wl = (e, t, r, n, o, i) => {
1104
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Al(o, r));
1105
+ Bl(o, r);
1106
+ for (var p = n.length - 1; p >= 0; p--)
1107
+ h = Gl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, cn(s) && (o = s);
1108
+ return Hl(e, o), d && Ot(o, r, d), _ ? l ^ 4 ? i : d : o;
1109
+ }, dn, Pt, pn;
1110
+ dn = [x()];
1111
+ class ze extends (pn = k) {
837
1112
  render() {
838
- return /* @__PURE__ */ d(
1113
+ return /* @__PURE__ */ f(
839
1114
  "svg",
840
1115
  {
841
1116
  xmlns: "http://www.w3.org/2000/svg",
@@ -849,170 +1124,192 @@ class ce extends (En = y) {
849
1124
  "stroke-linejoin": "round",
850
1125
  class: "lucide lucide-x-icon lucide-x",
851
1126
  children: [
852
- /* @__PURE__ */ o("path", { d: "M18 6 6 18" }),
853
- /* @__PURE__ */ o("path", { d: "m6 6 12 12" })
1127
+ /* @__PURE__ */ u("path", { d: "M18 6 6 18" }),
1128
+ /* @__PURE__ */ u("path", { d: "m6 6 12 12" })
854
1129
  ]
855
1130
  }
856
1131
  );
857
1132
  }
858
1133
  }
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) {
1134
+ Pt = Rl(pn);
1135
+ ze = Wl(Pt, 0, "XIcon", dn, ze);
1136
+ Xl(Pt, 1, ze);
1137
+ var Yl = Object.create, Ct = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, un = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), hn = (e) => {
1138
+ throw TypeError(e);
1139
+ }, ql = (e, t, r) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kl = (e, t) => Ct(e, "name", { value: t, configurable: !0 }), Zl = (e) => [, , , Yl(e?.[un("metadata")] ?? null)], Ql = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], _n = (e) => e !== void 0 && typeof e != "function" ? hn("Function expected") : e, Vl = (e, t, r, n, o) => ({ kind: Ql[e], name: t, metadata: n, addInitializer: (i) => r._ ? hn("Already initialized") : o.push(_n(i || null)) }), ec = (e, t) => ql(t, un("metadata"), e[3]), tc = (e, t, r, n) => {
1140
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) i[o].call(r);
1141
+ return n;
1142
+ }, rc = (e, t, r, n, o, i) => {
1143
+ var s, c, h, l = t & 7, _ = !1, a = 0, b = e[a] || (e[a] = []), d = l && (o = o.prototype, l < 5 && (l > 3 || !_) && Jl(o, r));
1144
+ Kl(o, r);
1145
+ for (var p = n.length - 1; p >= 0; p--)
1146
+ h = Vl(l, r, c = {}, e[3], b), s = (0, n[p])(o, h), c._ = 1, _n(s) && (o = s);
1147
+ return ec(e, o), d && Ct(o, r, d), _ ? l ^ 4 ? i : d : o;
1148
+ }, vn, Et, bn;
1149
+ vn = [x()];
1150
+ class W extends (bn = k) {
863
1151
  render() {
864
- const { title: t, active: e, icon: n, onClick: i } = this.props;
865
- return /* @__PURE__ */ o(
1152
+ const { title: t, active: r, icon: n, onClick: o } = this.props;
1153
+ return /* @__PURE__ */ u(
866
1154
  "button",
867
1155
  {
868
1156
  title: t,
869
- onClick: i,
870
- class: () => `w-[22px] h-[22px] flex items-center justify-center rounded-md text-[11px] cursor-pointer transition-colors duration-150 ${(typeof e == "function" ? e() : e) ? "text-accent bg-soft color-white" : "text-subtle hover:color-muted hover:bg-section"}`,
871
- children: /* @__PURE__ */ o(n, {})
1157
+ onClick: o,
1158
+ class: () => `w-[22px] h-[22px] flex items-center justify-center rounded-md text-[11px] cursor-pointer transition-colors duration-150 ${(typeof r == "function" ? r() : r) ? "text-accent bg-soft color-white" : "text-subtle hover:color-muted hover:bg-section"}`,
1159
+ children: /* @__PURE__ */ u(n, {})
872
1160
  }
873
1161
  );
874
1162
  }
875
1163
  }
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
1164
+ Et = Zl(bn);
1165
+ W = rc(Et, 0, "IconButton", vn, W);
1166
+ tc(Et, 1, W);
1167
+ var oc = Object.create, Dt = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, gn = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), ue = (e) => {
1168
+ throw TypeError(e);
1169
+ }, ic = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kt = (e, t) => Dt(e, "name", { value: t, configurable: !0 }), ac = (e) => [, , , oc(e?.[gn("metadata")] ?? null)], fn = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], oe = (e) => e !== void 0 && typeof e != "function" ? ue("Function expected") : e, sc = (e, t, r, n, o) => ({ kind: fn[e], name: t, metadata: n, addInitializer: (i) => r._ ? ue("Already initialized") : o.push(oe(i || null)) }), lc = (e, t) => ic(t, gn("metadata"), e[3]), z = (e, t, r, n) => {
1170
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
1171
+ return n;
1172
+ }, F = (e, t, r, n, o, i) => {
1173
+ var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = fn[a + 5], S = a > 3 && (e[p - 1] = []), P = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && nc(a < 4 ? o : { get [r]() {
1174
+ return Zt(this, i);
1175
+ }, set [r](v) {
1176
+ return Qt(this, i, v);
1177
+ } }, r));
1178
+ a ? d && a < 4 && Kt(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : Kt(o, r);
1179
+ for (var $ = n.length - 1; $ >= 0; $--)
1180
+ l = sc(a, r, h = {}, e[3], P), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => cc(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? Zt : dc)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => Qt(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? oe(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? ue("Object expected") : (oe(s = c.get) && (g.get = s), oe(s = c.set) && (g.set = s), oe(s = c.init) && S.unshift(s));
1181
+ return a || lc(e, o), g && Dt(o, r, g), d ? a ^ 4 ? i : g : o;
1182
+ }, Mt = (e, t, r) => t.has(e) || ue("Cannot " + r), cc = (e, t) => Object(t) !== t ? ue('Cannot use the "in" operator on this value') : e.has(t), Zt = (e, t, r) => (Mt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Qt = (e, t, r, n) => (Mt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), dc = (e, t, r) => (Mt(e, t, "access private method"), r), mn, xn, wn, $n, yn, Sn, kn, zn, Te, In, m;
1183
+ const Vt = 180, pc = 300, er = 240, uc = 380, hc = {
1184
+ bottom: $e,
1185
+ top: ke,
1186
+ left: ye,
1187
+ right: Se
882
1188
  };
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) {
1189
+ In = [x()];
1190
+ class M extends (Te = K, zn = [O()], kn = [O()], Sn = [O()], yn = [O()], $n = [O()], wn = [ie()], xn = [ie()], mn = [Tn("onClose")], Te) {
886
1191
  constructor() {
887
- super(...arguments);
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);
1192
+ super(...arguments), z(m, 5, this), this.activeTab = z(m, 8, this, ""), z(m, 11, this), this.dock = z(m, 12, this, "bottom"), z(m, 15, this), this.dockMenuOpen = z(m, 16, this, !1), z(m, 19, this), this.bottomSize = z(m, 20, this, pc), z(m, 23, this), this.vertSize = z(m, 24, this, uc), z(m, 27, this), this.plugins = z(m, 28, this, []), z(m, 31, this), this.registry = z(m, 32, this), z(m, 35, this);
896
1193
  }
897
1194
  handleClose() {
898
1195
  }
899
1196
  onMount() {
900
1197
  this.plugins.length > 0 && (this.activeTab = this.plugins[0].id);
901
1198
  }
902
- handleMouseDown(e) {
903
- e.preventDefault();
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,
1199
+ handleMouseDown(t) {
1200
+ t.preventDefault();
1201
+ const r = t.clientX, n = t.clientY, o = this.dock, i = o === "bottom" || o === "top" ? this.bottomSize : this.vertSize, s = (h) => {
1202
+ const l = this.dock;
1203
+ l === "bottom" ? this.bottomSize = Math.max(
1204
+ Vt,
908
1205
  Math.min(
909
1206
  window.innerHeight * 0.85,
910
- c + (i - h.clientY)
1207
+ i + (n - h.clientY)
911
1208
  )
912
- ) : w === "top" ? this.bottomSize = Math.max(
913
- Ye,
1209
+ ) : l === "top" ? this.bottomSize = Math.max(
1210
+ Vt,
914
1211
  Math.min(
915
1212
  window.innerHeight * 0.85,
916
- c + (h.clientY - i)
1213
+ i + (h.clientY - n)
917
1214
  )
918
- ) : w === "left" ? this.vertSize = Math.max(
919
- Je,
920
- Math.min(window.innerWidth * 0.6, c + (h.clientX - n))
1215
+ ) : l === "left" ? this.vertSize = Math.max(
1216
+ er,
1217
+ Math.min(window.innerWidth * 0.6, i + (h.clientX - r))
921
1218
  ) : this.vertSize = Math.max(
922
- Je,
923
- Math.min(window.innerWidth * 0.6, c + (n - h.clientX))
1219
+ er,
1220
+ Math.min(window.innerWidth * 0.6, i + (r - h.clientX))
924
1221
  );
925
- }, g = () => {
926
- document.removeEventListener("mousemove", p), document.removeEventListener("mouseup", g);
1222
+ }, c = () => {
1223
+ document.removeEventListener("mousemove", s), document.removeEventListener("mouseup", c);
927
1224
  };
928
- document.addEventListener("mousemove", p), document.addEventListener("mouseup", g);
1225
+ document.addEventListener("mousemove", s), document.addEventListener("mouseup", c);
929
1226
  }
930
1227
  render() {
931
- return /* @__PURE__ */ d(
1228
+ return /* @__PURE__ */ f(
932
1229
  "div",
933
1230
  {
934
1231
  class: () => {
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]";
1232
+ const t = this.dock;
1233
+ return t === "top" ? "flex flex-col-reverse fixed top-0 left-0 w-full z-[2147483647]" : t === "left" ? "flex flex-row-reverse fixed left-0 top-0 h-screen z-[2147483647]" : t === "right" ? "flex fixed right-0 top-0 h-screen z-[2147483647]" : "flex flex-col fixed bottom-0 left-0 w-full z-[2147483647]";
937
1234
  },
938
1235
  children: [
939
- /* @__PURE__ */ o(
1236
+ /* @__PURE__ */ u(
940
1237
  "div",
941
1238
  {
942
1239
  class: () => {
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";
1240
+ const t = this.dock;
1241
+ return t === "bottom" || t === "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";
945
1242
  },
946
- onMouseDown: (e) => {
947
- this.handleMouseDown(e);
1243
+ onMouseDown: (t) => {
1244
+ this.handleMouseDown(t);
948
1245
  }
949
1246
  }
950
1247
  ),
951
- /* @__PURE__ */ o(
1248
+ /* @__PURE__ */ u(
952
1249
  "div",
953
1250
  {
954
1251
  class: () => {
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";
1252
+ const t = this.dock;
1253
+ return t === "top" ? "w-full h-full bg-bg border-b border-border" : t === "left" ? "w-full h-full bg-bg border-r border-border" : t === "right" ? "w-full h-full bg-bg border-l border-border" : "w-full h-full bg-bg border-t border-border";
957
1254
  },
958
1255
  style: () => {
959
- const e = this.dock;
960
- return e === "bottom" || e === "top" ? { height: `${this.bottomSize.toString()}px` } : { width: `${this.vertSize.toString()}px` };
1256
+ const t = this.dock;
1257
+ return t === "bottom" || t === "top" ? { height: `${this.bottomSize.toString()}px` } : { width: `${this.vertSize.toString()}px` };
961
1258
  },
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 }),
966
- /* @__PURE__ */ o("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "praxisjs" })
1259
+ children: /* @__PURE__ */ f("div", { class: "flex flex-col flex-1 w-full h-full overflow-hidden", children: [
1260
+ /* @__PURE__ */ f("div", { class: "flex h-10 items-stretch border-b border-border bg-header shrink-0 px-2 gap-[2px]", children: [
1261
+ /* @__PURE__ */ f("div", { class: "flex items-center gap-[6px] pr-3 mr-[2px] border-r border-border shrink-0", children: [
1262
+ /* @__PURE__ */ u("img", { class: "h-[13px] w-[13px]", src: ir }),
1263
+ /* @__PURE__ */ u("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "praxisjs" })
967
1264
  ] }),
968
- /* @__PURE__ */ o("div", { class: "flex items-stretch flex-1", children: () => this.plugins.map((e) => /* @__PURE__ */ d(
1265
+ /* @__PURE__ */ u("div", { class: "flex items-stretch flex-1", children: () => this.plugins.map((t) => /* @__PURE__ */ f(
969
1266
  "button",
970
1267
  {
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",
1268
+ class: () => this.activeTab === t.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",
972
1269
  onClick: () => {
973
- this.activeTab = e.id;
1270
+ this.activeTab = t.id;
974
1271
  },
975
1272
  children: [
976
- e.label,
977
- () => this.activeTab === e.id ? /* @__PURE__ */ o("span", { class: "absolute bottom-0 left-0 right-0 h-[2px] bg-accent" }) : null
1273
+ t.label,
1274
+ () => this.activeTab === t.id ? /* @__PURE__ */ u("span", { class: "absolute bottom-0 left-0 right-0 h-[2px] bg-accent" }) : null
978
1275
  ]
979
1276
  },
980
- e.id
1277
+ t.id
981
1278
  )) }),
982
- /* @__PURE__ */ d("div", { class: "flex items-center gap-[2px] shrink-0", children: [
983
- /* @__PURE__ */ d("div", { class: "relative", children: [
984
- /* @__PURE__ */ o(
985
- Y,
1279
+ /* @__PURE__ */ f("div", { class: "flex items-center gap-[2px] shrink-0", children: [
1280
+ /* @__PURE__ */ f("div", { class: "relative", children: [
1281
+ /* @__PURE__ */ u(
1282
+ W,
986
1283
  {
987
1284
  title: "Dock position",
988
- icon: oe,
1285
+ icon: we,
989
1286
  active: () => this.dockMenuOpen,
990
1287
  onClick: () => {
991
1288
  this.dockMenuOpen = !this.dockMenuOpen;
992
1289
  }
993
1290
  }
994
1291
  ),
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(
996
- (e) => /* @__PURE__ */ o(
997
- Y,
1292
+ () => this.dockMenuOpen ? /* @__PURE__ */ u("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(
1293
+ (t) => /* @__PURE__ */ u(
1294
+ W,
998
1295
  {
999
- title: `Dock ${e}`,
1000
- active: () => this.dock === e,
1001
- icon: hn[e],
1296
+ title: `Dock ${t}`,
1297
+ active: () => this.dock === t,
1298
+ icon: hc[t],
1002
1299
  onClick: () => {
1003
- this.dock = e, this.dockMenuOpen = !1;
1300
+ this.dock = t, this.dockMenuOpen = !1;
1004
1301
  }
1005
1302
  },
1006
- e
1303
+ t
1007
1304
  )
1008
1305
  ) }) : null
1009
1306
  ] }),
1010
- /* @__PURE__ */ o("div", { class: "w-px h-3 bg-border mx-1" }),
1011
- /* @__PURE__ */ o(
1012
- Y,
1307
+ /* @__PURE__ */ u("div", { class: "w-px h-3 bg-border mx-1" }),
1308
+ /* @__PURE__ */ u(
1309
+ W,
1013
1310
  {
1014
1311
  title: "Close",
1015
- icon: ce,
1312
+ icon: ze,
1016
1313
  onClick: () => {
1017
1314
  this.handleClose();
1018
1315
  }
@@ -1020,11 +1317,11 @@ class _ extends (Ft = J, Ot = [C()], Ut = [C()], Dt = [C()], Nt = [C()], Et = [C
1020
1317
  )
1021
1318
  ] })
1022
1319
  ] }),
1023
- /* @__PURE__ */ o("div", { class: "flex-1 overflow-hidden flex flex-col", children: () => {
1024
- const n = this.plugins.find(
1025
- (i) => i.id === this.activeTab
1320
+ /* @__PURE__ */ u("div", { class: "flex-1 overflow-hidden flex flex-col", children: () => {
1321
+ const r = this.plugins.find(
1322
+ (n) => n.id === this.activeTab
1026
1323
  )?.component;
1027
- return n ? /* @__PURE__ */ o(n, { registry: this.registry }) : null;
1324
+ return r ? /* @__PURE__ */ u(r, { registry: this.registry }) : null;
1028
1325
  } })
1029
1326
  ] })
1030
1327
  }
@@ -1034,24 +1331,46 @@ class _ extends (Ft = J, Ot = [C()], Ut = [C()], Dt = [C()], Nt = [C()], Et = [C
1034
1331
  );
1035
1332
  }
1036
1333
  }
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
1334
+ m = ac(Te);
1335
+ F(m, 1, "handleClose", mn, M);
1336
+ F(m, 5, "activeTab", zn, M);
1337
+ F(m, 5, "dock", kn, M);
1338
+ F(m, 5, "dockMenuOpen", Sn, M);
1339
+ F(m, 5, "bottomSize", yn, M);
1340
+ F(m, 5, "vertSize", $n, M);
1341
+ F(m, 5, "plugins", wn, M);
1342
+ F(m, 5, "registry", xn, M);
1343
+ M = F(m, 0, "Panel", In, M);
1344
+ z(m, 1, M);
1345
+ var _c = Object.create, Tt = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, On = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), he = (e) => {
1346
+ throw TypeError(e);
1347
+ }, bc = (e, t, r) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t) => Tt(e, "name", { value: t, configurable: !0 }), gc = (e) => [, , , _c(e?.[On("metadata")] ?? null)], Pn = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], ne = (e) => e !== void 0 && typeof e != "function" ? he("Function expected") : e, fc = (e, t, r, n, o) => ({ kind: Pn[e], name: t, metadata: n, addInitializer: (i) => r._ ? he("Already initialized") : o.push(ne(i || null)) }), mc = (e, t) => bc(t, On("metadata"), e[3]), B = (e, t, r, n) => {
1348
+ for (var o = 0, i = e[t >> 1], s = i && i.length; o < s; o++) t & 1 ? i[o].call(r) : n = i[o].call(r, n);
1349
+ return n;
1350
+ }, Pe = (e, t, r, n, o, i) => {
1351
+ var s, c, h, l, _, a = t & 7, b = !!(t & 8), d = !!(t & 16), p = a > 3 ? e.length + 1 : a ? b ? 1 : 2 : 0, w = Pn[a + 5], S = a > 3 && (e[p - 1] = []), P = e[p] || (e[p] = []), g = a && (!d && !b && (o = o.prototype), a < 5 && (a > 3 || !d) && vc(a < 4 ? o : { get [r]() {
1352
+ return rr(this, i);
1353
+ }, set [r](v) {
1354
+ return or(this, i, v);
1355
+ } }, r));
1356
+ a ? d && a < 4 && tr(i, (a > 2 ? "set " : a > 1 ? "get " : "") + r) : tr(o, r);
1357
+ for (var $ = n.length - 1; $ >= 0; $--)
1358
+ l = fc(a, r, h = {}, e[3], P), a && (l.static = b, l.private = d, _ = l.access = { has: d ? (v) => xc(o, v) : (v) => r in v }, a ^ 3 && (_.get = d ? (v) => (a ^ 1 ? rr : wc)(v, o, a ^ 4 ? i : g.get) : (v) => v[r]), a > 2 && (_.set = d ? (v, y) => or(v, o, y, a ^ 4 ? i : g.set) : (v, y) => v[r] = y)), c = (0, n[$])(a ? a < 4 ? d ? i : g[w] : a > 4 ? void 0 : { get: g.get, set: g.set } : o, l), h._ = 1, a ^ 4 || c === void 0 ? ne(c) && (a > 4 ? S.unshift(c) : a ? d ? i = c : g[w] = c : o = c) : typeof c != "object" || c === null ? he("Object expected") : (ne(s = c.get) && (g.get = s), ne(s = c.set) && (g.set = s), ne(s = c.init) && S.unshift(s));
1359
+ return a || mc(e, o), g && Tt(o, r, g), d ? a ^ 4 ? i : g : o;
1360
+ }, jt = (e, t, r) => t.has(e) || he("Cannot " + r), xc = (e, t) => Object(t) !== t ? he('Cannot use the "in" operator on this value') : e.has(t), rr = (e, t, r) => (jt(e, t, "read from private field"), r ? r.call(e) : t.get(e)), or = (e, t, r, n) => (jt(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), wc = (e, t, r) => (jt(e, t, "access private method"), r), Cn, En, Dn, je, Mn, D;
1361
+ const $c = [
1362
+ ds,
1363
+ va,
1364
+ Ns
1042
1365
  ];
1043
- var Bt, Ht, Gt, Wt, Yt, L;
1044
- Yt = [m()];
1045
- class D extends (Wt = J, Gt = [C()], Ht = [Z()], Bt = [Z()], Wt) {
1366
+ Mn = [x()];
1367
+ class L extends (je = K, Dn = [O()], En = [ie()], Cn = [ie()], je) {
1046
1368
  constructor() {
1047
- super(...arguments);
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);
1369
+ super(...arguments), this.open = B(D, 8, this, !1), B(D, 11, this), this.plugins = B(D, 12, this, []), B(D, 15, this), this.registry = B(D, 16, this), B(D, 19, this);
1051
1370
  }
1052
1371
  render() {
1053
- return /* @__PURE__ */ o("div", { children: () => this.open ? /* @__PURE__ */ o(
1054
- _,
1372
+ return /* @__PURE__ */ u("div", { children: () => this.open ? /* @__PURE__ */ u(
1373
+ M,
1055
1374
  {
1056
1375
  plugins: this.plugins,
1057
1376
  registry: this.registry,
@@ -1059,7 +1378,7 @@ class D extends (Wt = J, Gt = [C()], Ht = [Z()], Bt = [Z()], Wt) {
1059
1378
  this.open = !1;
1060
1379
  }
1061
1380
  }
1062
- ) : /* @__PURE__ */ d(
1381
+ ) : /* @__PURE__ */ f(
1063
1382
  "button",
1064
1383
  {
1065
1384
  onClick: () => {
@@ -1067,186 +1386,199 @@ class D extends (Wt = J, Gt = [C()], Ht = [Z()], Bt = [Z()], Wt) {
1067
1386
  },
1068
1387
  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)]",
1069
1388
  children: [
1070
- /* @__PURE__ */ o("img", { class: "h-[13px] w-[13px]", src: Jt }),
1071
- /* @__PURE__ */ o("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "devtools" })
1389
+ /* @__PURE__ */ u("img", { class: "h-[13px] w-[13px]", src: ir }),
1390
+ /* @__PURE__ */ u("span", { class: "text-[10px] font-bold text-accent tracking-widest uppercase", children: "devtools" })
1072
1391
  ]
1073
1392
  }
1074
1393
  ) });
1075
1394
  }
1076
1395
  }
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],
1396
+ D = gc(je);
1397
+ Pe(D, 5, "open", Dn, L);
1398
+ Pe(D, 5, "plugins", En, L);
1399
+ Pe(D, 5, "registry", Cn, L);
1400
+ L = Pe(D, 0, "DevToolsApp", Mn, L);
1401
+ B(D, 1, L);
1402
+ const Ec = {
1403
+ plugins: [...$c],
1080
1404
  host: null,
1081
1405
  cleanup: null,
1082
- init(r = {}) {
1406
+ init(e = {}) {
1083
1407
  if (this.host) return;
1084
- r.plugins && (this.plugins = r.plugins), this.plugins.forEach((a) => a.setup?.(v.instance));
1408
+ e.plugins && (this.plugins = e.plugins), this.plugins.forEach((i) => i.setup?.(I.instance));
1085
1409
  const t = document.createElement("div");
1086
1410
  t.id = "praxisjs-devtools", document.body.appendChild(t), this.host = t;
1087
- const e = t.attachShadow({ mode: "open" }), n = document.createElement("style");
1088
- n.textContent = dn + en, e.appendChild(n);
1089
- const i = document.createElement("div");
1090
- e.appendChild(i), this.cleanup = Ge(
1091
- () => /* @__PURE__ */ o(D, { plugins: this.plugins, registry: v.instance }),
1092
- i
1411
+ const r = t.attachShadow({ mode: "open" }), n = document.createElement("style");
1412
+ n.textContent = Bs + Rn, r.appendChild(n);
1413
+ const o = document.createElement("div");
1414
+ r.appendChild(o), this.cleanup = Ft(
1415
+ () => /* @__PURE__ */ u(L, { plugins: this.plugins, registry: I.instance }),
1416
+ o
1093
1417
  );
1094
1418
  },
1095
- registerPlugin(r) {
1096
- this.plugins.find((t) => t.id === r.id) || (r.setup?.(v.instance), this.plugins.push(r), this.remount());
1419
+ registerPlugin(e) {
1420
+ this.plugins.find((t) => t.id === e.id) || (e.setup?.(I.instance), this.plugins.push(e), this.remount());
1097
1421
  },
1098
1422
  get registry() {
1099
- return v.instance;
1423
+ return I.instance;
1100
1424
  },
1101
1425
  remount() {
1102
1426
  if (!this.host) return;
1103
1427
  const t = this.host.shadowRoot.querySelector("div:last-child");
1104
- this.cleanup?.(), this.cleanup = Ge(
1105
- () => /* @__PURE__ */ o(D, { plugins: this.plugins, registry: v.instance }),
1428
+ this.cleanup?.(), this.cleanup = Ft(
1429
+ () => /* @__PURE__ */ u(L, { plugins: this.plugins, registry: I.instance }),
1106
1430
  t
1107
1431
  );
1108
1432
  }
1109
1433
  };
1110
- function Re(r) {
1111
- return typeof r == "function" && typeof r.subscribe == "function" && !("set" in r);
1434
+ function nr(e) {
1435
+ return typeof e == "function" && typeof e.subscribe == "function" && !("set" in e);
1112
1436
  }
1113
- function Gn(r = {}) {
1114
- return function(e, n) {
1115
- const i = r.label ?? n.name;
1437
+ function Dc(e = {}) {
1438
+ return function(r, n) {
1439
+ const o = e.label ?? n.name;
1116
1440
  if (n.kind === "method") {
1117
- const a = e;
1118
- return function(...c) {
1119
- const p = this.constructor.name, g = performance.now();
1120
- let h, w = !1;
1121
- try {
1122
- h = a.apply(this, c);
1123
- } catch (u) {
1124
- throw w = !0, h = u, u;
1125
- } finally {
1126
- const u = performance.now() - g;
1127
- v.instance.recordMethodCall(
1128
- this,
1129
- i,
1130
- c,
1131
- w ? `throw ${String(h)}` : h,
1132
- u,
1133
- p
1134
- );
1441
+ const i = r;
1442
+ jn({
1443
+ wrap(s, c, h) {
1444
+ return function(...l) {
1445
+ const _ = this.constructor.name, a = performance.now();
1446
+ let b, d = !1;
1447
+ try {
1448
+ b = i.apply(this, l);
1449
+ } catch (p) {
1450
+ throw d = !0, b = p, p;
1451
+ } finally {
1452
+ const p = performance.now() - a;
1453
+ I.instance.recordMethodCall(
1454
+ this,
1455
+ o,
1456
+ l,
1457
+ d ? `throw ${String(b)}` : b,
1458
+ p,
1459
+ _
1460
+ );
1461
+ }
1462
+ return b;
1463
+ };
1135
1464
  }
1136
- return h;
1137
- };
1465
+ })(i, n);
1466
+ return;
1138
1467
  }
1139
1468
  if (n.kind === "getter") {
1140
- const a = e;
1141
- n.addInitializer(function() {
1142
- const c = this, p = c.constructor.name;
1143
- queueMicrotask(() => {
1144
- const g = Pt(() => a.call(c));
1145
- let h = !0, w = g();
1146
- v.instance.registerSignal(c, i, w, p), g.subscribe((u) => {
1147
- if (h) {
1148
- h = !1;
1149
- return;
1150
- }
1151
- v.instance.updateSignal(c, i, u, w), w = u;
1469
+ const i = r;
1470
+ Fn({
1471
+ observe(s, c, h) {
1472
+ const l = c.constructor.name;
1473
+ queueMicrotask(() => {
1474
+ const _ = Bn(() => s.call(c));
1475
+ let a = !0, b = _();
1476
+ I.instance.registerSignal(c, o, b, l), _.subscribe((d) => {
1477
+ if (a) {
1478
+ a = !1;
1479
+ return;
1480
+ }
1481
+ I.instance.updateSignal(c, o, d, b), b = d;
1482
+ });
1152
1483
  });
1153
- });
1154
- });
1484
+ }
1485
+ })(i, n);
1155
1486
  return;
1156
1487
  }
1157
- n.addInitializer(function() {
1158
- const a = this, c = n.name, p = a.constructor.name, g = Object.getOwnPropertyDescriptor(a, c);
1159
- if (g?.get && g.set) {
1160
- const k = g.get, z = g.set;
1161
- v.instance.registerSignal(
1162
- a,
1163
- i,
1164
- k.call(a),
1165
- p
1166
- ), Object.defineProperty(a, c, {
1167
- get() {
1168
- return k.call(this);
1169
- },
1170
- set(j) {
1171
- const A = k.call(this);
1172
- z.call(this, j), v.instance.updateSignal(this, i, j, A);
1173
- },
1174
- enumerable: !0,
1175
- configurable: !0
1176
- });
1177
- return;
1178
- }
1179
- const h = a[c];
1180
- if (Reflect.deleteProperty(a, c), !Re(h)) {
1181
- h !== void 0 && console.warn(
1182
- `[PraxisJS DevTools] @Debug() on "${p}.${c}": expected a computed() value but got ${typeof h}. Skipping.`
1183
- ), a[c] = h;
1184
- return;
1185
- }
1186
- let w;
1187
- function u(k) {
1188
- let z = !0, j = k();
1189
- const A = k.subscribe((R) => {
1190
- if (z) {
1191
- z = !1;
1192
- return;
1488
+ Ln({
1489
+ bind(i, s, c) {
1490
+ const h = i.constructor.name, l = Object.getOwnPropertyDescriptor(i, s);
1491
+ if (l?.get && l.set) {
1492
+ const d = l.get, p = l.set;
1493
+ return I.instance.registerSignal(i, o, d.call(i), h), {
1494
+ descriptor: {
1495
+ get() {
1496
+ return d.call(this);
1497
+ },
1498
+ set(w) {
1499
+ const S = d.call(this);
1500
+ p.call(this, w), I.instance.updateSignal(this, o, w, S);
1501
+ }
1502
+ }
1503
+ };
1504
+ }
1505
+ const _ = c;
1506
+ if (!nr(_))
1507
+ return _ !== void 0 && console.warn(
1508
+ `[PraxisJS DevTools] @Debug() on "${h}.${s}": expected a computed() value but got ${typeof _}. Skipping.`
1509
+ ), {};
1510
+ let a;
1511
+ function b(d) {
1512
+ let p = !0, w = d();
1513
+ const S = d.subscribe((P) => {
1514
+ if (p) {
1515
+ p = !1;
1516
+ return;
1517
+ }
1518
+ I.instance.updateSignal(i, o, P, w), w = P;
1519
+ });
1520
+ return I.instance.registerSignal(i, o, w, h), S;
1521
+ }
1522
+ return a = { computed: _, unsub: b(_) }, {
1523
+ descriptor: {
1524
+ get() {
1525
+ return a.computed;
1526
+ },
1527
+ set(d) {
1528
+ if (a.unsub(), !nr(d)) {
1529
+ console.warn(
1530
+ `[PraxisJS DevTools] @Debug() on "${h}.${s}": expected a computed() value but got ${typeof d}. Skipping.`
1531
+ );
1532
+ return;
1533
+ }
1534
+ a = { computed: d, unsub: b(d) };
1535
+ }
1193
1536
  }
1194
- v.instance.updateSignal(a, i, R, j), j = R;
1195
- });
1196
- return v.instance.registerSignal(a, i, j, p), A;
1537
+ };
1197
1538
  }
1198
- w = { computed: h, unsub: u(h) }, Object.defineProperty(a, c, {
1199
- get() {
1200
- return w.computed;
1201
- },
1202
- set(k) {
1203
- if (w.unsub(), !Re(k)) {
1204
- console.warn(
1205
- `[PraxisJS DevTools] @Debug() on "${p}.${c}": expected a computed() value but got ${typeof k}. Skipping.`
1206
- );
1207
- return;
1208
- }
1209
- w = { computed: k, unsub: u(k) };
1210
- },
1211
- enumerable: !0,
1212
- configurable: !0
1213
- });
1214
- });
1539
+ })(void 0, n);
1215
1540
  };
1216
1541
  }
1217
- function Wn() {
1218
- return function(r, t) {
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;
1223
- });
1224
- const c = i.onBeforeMount;
1225
- i.onBeforeMount = function(...g) {
1226
- return n.registerComponent(this, e), n.recordLifecycle(this, "onBeforeMount"), c?.call(this, ...g);
1542
+ const yc = ["onBeforeUpdate", "onUpdate", "onAfterUpdate"];
1543
+ class Sc extends An {
1544
+ create(t) {
1545
+ const r = I.instance;
1546
+ return {
1547
+ onMount() {
1548
+ r.recordLifecycle(t, "onMount");
1549
+ },
1550
+ onUnmount() {
1551
+ r.recordLifecycle(t, "onUnmount");
1552
+ },
1553
+ render(n) {
1554
+ const o = performance.now(), i = n(), s = performance.now() - o;
1555
+ return r.recordRender(t, s), i;
1556
+ }
1227
1557
  };
1228
- const p = [
1229
- "onMount",
1230
- "onUnmount",
1231
- "onBeforeUpdate",
1232
- "onUpdate",
1233
- "onAfterUpdate"
1234
- ];
1235
- for (const g of p) {
1236
- const h = i[g];
1237
- i[g] = function(...w) {
1238
- return n.recordLifecycle(this, g), h?.call(this, ...w);
1558
+ }
1559
+ initialize(t, r) {
1560
+ const n = r.name, o = I.instance, i = t.prototype, s = i.onBeforeMount;
1561
+ i.onBeforeMount = function(...c) {
1562
+ return o.registerComponent(this, n), o.recordLifecycle(this, "onBeforeMount"), s?.call(this, ...c);
1563
+ };
1564
+ for (const c of yc) {
1565
+ const h = i[c];
1566
+ i[c] = function(...l) {
1567
+ return o.recordLifecycle(this, c), h?.call(this, ...l);
1239
1568
  };
1240
1569
  }
1241
- return r;
1242
- };
1570
+ }
1571
+ }
1572
+ const kc = new Sc();
1573
+ function Mc() {
1574
+ return Nn(kc);
1243
1575
  }
1244
1576
  export {
1245
- on as ComponentsPlugin,
1246
- Gn as Debug,
1247
- Hn as DevTools,
1248
- v as Registry,
1249
- sn as SignalsPlugin,
1250
- cn as TimelinePlugin,
1251
- Wn as Trace
1577
+ va as ComponentsPlugin,
1578
+ Dc as Debug,
1579
+ Ec as DevTools,
1580
+ I as Registry,
1581
+ ds as SignalsPlugin,
1582
+ Ns as TimelinePlugin,
1583
+ Mc as Trace
1252
1584
  };