reend-components 1.1.0 → 1.2.1

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.
@@ -24,7 +24,6 @@ import * as gt from "@radix-ui/react-separator";
24
24
  import * as xe from "react-dom";
25
25
  import { Separator as ht } from "react-resizable-panels";
26
26
  import { Panel as An, Group as Mn, Separator as Ln } from "react-resizable-panels";
27
- import "recharts";
28
27
  import { AnimatePresence as yt, motion as ue, useInView as vt } from "framer-motion";
29
28
  function l(...t) {
30
29
  return lt(it(t));
@@ -236,7 +235,6 @@ const yn = ({ theme: t = "dark", ...r }) => /* @__PURE__ */ e(
236
235
  closeButton: !0,
237
236
  duration: 4e3,
238
237
  visibleToasts: 3,
239
- pauseWhenPageIsHidden: !0,
240
238
  toastOptions: {
241
239
  classNames: {
242
240
  toast: "group toast group-[.toaster]:bg-surface-2 group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg group-[.toaster]:border-l-[3px]",
@@ -3588,13 +3586,19 @@ const Sn = [
3588
3586
  grid: { stroke: "hsl(var(--border))" }
3589
3587
  };
3590
3588
  function Ra(t) {
3591
- return t.replace(/^### (.+)$/gm, "<h3>$1</h3>").replace(/^## (.+)$/gm, "<h2>$1</h2>").replace(/^# (.+)$/gm, "<h1>$1</h1>").replace(/^---$/gm, "<hr />").replace(/^> (.+)$/gm, "<blockquote>$1</blockquote>").replace(/^\d+\. (.+)$/gm, "<li>$1</li>").replace(/^[-*] (.+)$/gm, '<li class="ul">$1</li>').replace(/\*\*\*(.+?)\*\*\*/g, "<strong><em>$1</em></strong>").replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>").replace(/\*(.+?)\*/g, "<em>$1</em>").replace(/__(.+?)__/g, "<u>$1</u>").replace(/~~(.+?)~~/g, "<s>$1</s>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/\[(.+?)\]\((.+?)\)/g, '<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>').replace(/\n\n+/g, "</p><p>").replace(/^(?!<[hbloius])(.+)$/gm, (r) => r.trim() === "" ? "" : r.startsWith("<") ? r : `<p>${r}</p>`);
3589
+ return t.replace(/&/g, "&amp;").replace(/</g, "&lt;");
3592
3590
  }
3593
- function Ea(t, r, a = r, o = "") {
3591
+ function Ea(t) {
3592
+ return Ra(t).replace(/^### (.+)$/gm, "<h3>$1</h3>").replace(/^## (.+)$/gm, "<h2>$1</h2>").replace(/^# (.+)$/gm, "<h1>$1</h1>").replace(/^---$/gm, "<hr />").replace(/^> (.+)$/gm, "<blockquote>$1</blockquote>").replace(/^\d+\. (.+)$/gm, "<li>$1</li>").replace(/^[-*] (.+)$/gm, '<li class="ul">$1</li>').replace(/\*\*\*(.+?)\*\*\*/g, "<strong><em>$1</em></strong>").replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>").replace(/\*(.+?)\*/g, "<em>$1</em>").replace(/__(.+?)__/g, "<u>$1</u>").replace(/~~(.+?)~~/g, "<s>$1</s>").replace(/`(.+?)`/g, "<code>$1</code>").replace(/\[(.+?)\]\((.+?)\)/g, (r, a, o) => {
3593
+ const n = o.trim();
3594
+ return /^(https?:|mailto:|\/(?!\/))/i.test(n) ? `<a href="${n}" target="_blank" rel="noopener noreferrer">${a}</a>` : a;
3595
+ }).replace(/\n\n+/g, "</p><p>").replace(/^(?!<[hbloius])(.+)$/gm, (r) => r.trim() === "" ? "" : r.startsWith("<") ? r : `<p>${r}</p>`);
3596
+ }
3597
+ function Ia(t, r, a = r, o = "") {
3594
3598
  const { selectionStart: n, selectionEnd: i, value: c } = t, d = c.slice(n, i) || o, p = c.slice(0, n) + r + d + a + c.slice(i), b = n + r.length + d.length;
3595
3599
  return { newVal: p, newCursor: b };
3596
3600
  }
3597
- function Ia(t, r) {
3601
+ function _a(t, r) {
3598
3602
  const { selectionStart: a, value: o } = t, i = (a > 0 && o[a - 1] !== `
3599
3603
  ` ? `
3600
3604
  ` : "") + r + `
@@ -3615,7 +3619,7 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
3615
3619
  "aria-pressed": a,
3616
3620
  children: t
3617
3621
  }
3618
- ), ie = () => /* @__PURE__ */ e("div", { className: "w-px h-5 bg-border mx-1.5 shrink-0", "aria-hidden": "true" }), _a = s.forwardRef(
3622
+ ), ie = () => /* @__PURE__ */ e("div", { className: "w-px h-5 bg-border mx-1.5 shrink-0", "aria-hidden": "true" }), Da = s.forwardRef(
3619
3623
  ({
3620
3624
  value: t,
3621
3625
  onChange: r,
@@ -3628,9 +3632,9 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
3628
3632
  className: p,
3629
3633
  id: b
3630
3634
  }, f) => {
3631
- const [m, v] = s.useState(t ?? ""), [x, g] = s.useState(
3632
- i ?? "markdown"
3633
- ), N = s.useRef(null), h = t ?? m, y = i ?? x;
3635
+ const [m, v] = s.useState(
3636
+ t ?? ""
3637
+ ), [x, g] = s.useState(i ?? "markdown"), N = s.useRef(null), h = t ?? m, y = i ?? x;
3634
3638
  s.useEffect(() => {
3635
3639
  t !== void 0 && v(t);
3636
3640
  }, [t]);
@@ -3642,14 +3646,14 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
3642
3646
  }, E = (R, k = R, C = "text") => {
3643
3647
  const L = N.current;
3644
3648
  if (!L || d) return;
3645
- const { newVal: w, newCursor: _ } = Ea(L, R, k, C), M = o ? w.slice(0, o) : w;
3649
+ const { newVal: w, newCursor: _ } = Ia(L, R, k, C), M = o ? w.slice(0, o) : w;
3646
3650
  t === void 0 && v(M), r == null || r(M), requestAnimationFrame(() => {
3647
3651
  L.focus(), L.setSelectionRange(_, _);
3648
3652
  });
3649
3653
  }, D = (R) => {
3650
3654
  const k = N.current;
3651
3655
  if (!k || d) return;
3652
- const { newVal: C, newCursor: L } = Ia(k, R), w = o ? C.slice(0, o) : C;
3656
+ const { newVal: C, newCursor: L } = _a(k, R), w = o ? C.slice(0, o) : C;
3653
3657
  t === void 0 && v(w), r == null || r(w), requestAnimationFrame(() => {
3654
3658
  k.focus(), k.setSelectionRange(L, L);
3655
3659
  });
@@ -3666,23 +3670,121 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
3666
3670
  ),
3667
3671
  children: [
3668
3672
  /* @__PURE__ */ u("div", { className: "flex items-center gap-0.5 flex-wrap px-3 py-2 bg-surface-1 border border-border border-b-0", children: [
3669
- /* @__PURE__ */ e(V, { label: "B", title: "Bold (**text**)", onClick: () => E("**", "**", "bold") }),
3670
- /* @__PURE__ */ e(V, { label: "I", title: "Italic (*text*)", onClick: () => E("*", "*", "italic") }),
3671
- /* @__PURE__ */ e(V, { label: "U", title: "Underline (__text__)", onClick: () => E("__", "__", "text") }),
3672
- /* @__PURE__ */ e(V, { label: "S", title: "Strikethrough (~~text~~)", onClick: () => E("~~", "~~", "text") }),
3673
+ /* @__PURE__ */ e(
3674
+ V,
3675
+ {
3676
+ label: "B",
3677
+ title: "Bold (**text**)",
3678
+ onClick: () => E("**", "**", "bold")
3679
+ }
3680
+ ),
3681
+ /* @__PURE__ */ e(
3682
+ V,
3683
+ {
3684
+ label: "I",
3685
+ title: "Italic (*text*)",
3686
+ onClick: () => E("*", "*", "italic")
3687
+ }
3688
+ ),
3689
+ /* @__PURE__ */ e(
3690
+ V,
3691
+ {
3692
+ label: "U",
3693
+ title: "Underline (__text__)",
3694
+ onClick: () => E("__", "__", "text")
3695
+ }
3696
+ ),
3697
+ /* @__PURE__ */ e(
3698
+ V,
3699
+ {
3700
+ label: "S",
3701
+ title: "Strikethrough (~~text~~)",
3702
+ onClick: () => E("~~", "~~", "text")
3703
+ }
3704
+ ),
3673
3705
  /* @__PURE__ */ e(ie, {}),
3674
- /* @__PURE__ */ e(V, { label: "H1", title: "Heading 1", onClick: () => D("# Heading 1") }),
3675
- /* @__PURE__ */ e(V, { label: "H2", title: "Heading 2", onClick: () => D("## Heading 2") }),
3676
- /* @__PURE__ */ e(V, { label: "H3", title: "Heading 3", onClick: () => D("### Heading 3") }),
3706
+ /* @__PURE__ */ e(
3707
+ V,
3708
+ {
3709
+ label: "H1",
3710
+ title: "Heading 1",
3711
+ onClick: () => D("# Heading 1")
3712
+ }
3713
+ ),
3714
+ /* @__PURE__ */ e(
3715
+ V,
3716
+ {
3717
+ label: "H2",
3718
+ title: "Heading 2",
3719
+ onClick: () => D("## Heading 2")
3720
+ }
3721
+ ),
3722
+ /* @__PURE__ */ e(
3723
+ V,
3724
+ {
3725
+ label: "H3",
3726
+ title: "Heading 3",
3727
+ onClick: () => D("### Heading 3")
3728
+ }
3729
+ ),
3677
3730
  /* @__PURE__ */ e(ie, {}),
3678
- /* @__PURE__ */ e(V, { label: "❝", title: "Blockquote", onClick: () => D("> Quote") }),
3679
- /* @__PURE__ */ e(V, { label: "≡", title: "Unordered list", onClick: () => D("- Item") }),
3680
- /* @__PURE__ */ e(V, { label: "≡·", title: "Ordered list", onClick: () => D("1. Item") }),
3731
+ /* @__PURE__ */ e(
3732
+ V,
3733
+ {
3734
+ label: "❝",
3735
+ title: "Blockquote",
3736
+ onClick: () => D("> Quote")
3737
+ }
3738
+ ),
3739
+ /* @__PURE__ */ e(
3740
+ V,
3741
+ {
3742
+ label: "≡",
3743
+ title: "Unordered list",
3744
+ onClick: () => D("- Item")
3745
+ }
3746
+ ),
3747
+ /* @__PURE__ */ e(
3748
+ V,
3749
+ {
3750
+ label: "≡·",
3751
+ title: "Ordered list",
3752
+ onClick: () => D("1. Item")
3753
+ }
3754
+ ),
3681
3755
  /* @__PURE__ */ e(ie, {}),
3682
- /* @__PURE__ */ e(V, { label: "url", title: "Link", onClick: () => E("[", "](https://)", "link text") }),
3683
- /* @__PURE__ */ e(V, { label: "img", title: "Image", onClick: () => E("![", "](https://)", "alt text") }),
3684
- /* @__PURE__ */ e(V, { label: "⎯", title: "Horizontal divider (---)", onClick: () => D("---") }),
3685
- /* @__PURE__ */ e(V, { label: "`", title: "Inline code", onClick: () => E("`", "`", "code") })
3756
+ /* @__PURE__ */ e(
3757
+ V,
3758
+ {
3759
+ label: "url",
3760
+ title: "Link",
3761
+ onClick: () => E("[", "](https://)", "link text")
3762
+ }
3763
+ ),
3764
+ /* @__PURE__ */ e(
3765
+ V,
3766
+ {
3767
+ label: "img",
3768
+ title: "Image",
3769
+ onClick: () => E("![", "](https://)", "alt text")
3770
+ }
3771
+ ),
3772
+ /* @__PURE__ */ e(
3773
+ V,
3774
+ {
3775
+ label: "⎯",
3776
+ title: "Horizontal divider (---)",
3777
+ onClick: () => D("---")
3778
+ }
3779
+ ),
3780
+ /* @__PURE__ */ e(
3781
+ V,
3782
+ {
3783
+ label: "`",
3784
+ title: "Inline code",
3785
+ onClick: () => E("`", "`", "code")
3786
+ }
3787
+ )
3686
3788
  ] }),
3687
3789
  y === "markdown" ? /* @__PURE__ */ e(
3688
3790
  "textarea",
@@ -3731,7 +3833,7 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
3731
3833
  ),
3732
3834
  style: { minHeight: `${n}px` },
3733
3835
  dangerouslySetInnerHTML: {
3734
- __html: h ? Ra(h) : `<p class="text-muted-foreground/40">${a}</p>`
3836
+ __html: h ? Ea(h) : `<p class="text-muted-foreground/40">${a}</p>`
3735
3837
  },
3736
3838
  "aria-label": "Preview",
3737
3839
  "aria-live": "polite"
@@ -3777,15 +3879,15 @@ const V = ({ label: t, title: r, active: a, onClick: o }) => /* @__PURE__ */ e(
3777
3879
  );
3778
3880
  }
3779
3881
  );
3780
- _a.displayName = "RichTextEditor";
3781
- const Da = s.forwardRef(
3882
+ Da.displayName = "RichTextEditor";
3883
+ const Ca = s.forwardRef(
3782
3884
  ({ title: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ u("div", { ref: n, className: l("space-y-3", r), ...o, children: [
3783
3885
  /* @__PURE__ */ e("h3", { className: "font-display text-[12px] font-bold tracking-[0.15em] uppercase text-muted-foreground", children: t }),
3784
3886
  /* @__PURE__ */ e("ul", { className: "space-y-2", children: a })
3785
3887
  ] })
3786
3888
  );
3787
- Da.displayName = "FooterColumn";
3788
- const Ca = s.forwardRef(
3889
+ Ca.displayName = "FooterColumn";
3890
+ const Aa = s.forwardRef(
3789
3891
  ({ external: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
3790
3892
  "a",
3791
3893
  {
@@ -3801,8 +3903,8 @@ const Ca = s.forwardRef(
3801
3903
  }
3802
3904
  ) })
3803
3905
  );
3804
- Ca.displayName = "FooterLink";
3805
- const Aa = s.forwardRef(
3906
+ Aa.displayName = "FooterLink";
3907
+ const Ma = s.forwardRef(
3806
3908
  ({ brand: t, tagline: r, copyright: a, note: o, className: n, children: i, ...c }, d) => /* @__PURE__ */ u(
3807
3909
  "footer",
3808
3910
  {
@@ -3828,8 +3930,8 @@ const Aa = s.forwardRef(
3828
3930
  }
3829
3931
  )
3830
3932
  );
3831
- Aa.displayName = "Footer";
3832
- const Ma = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("div", { className: "relative w-full overflow-x-auto", children: /* @__PURE__ */ e(
3933
+ Ma.displayName = "Footer";
3934
+ const La = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("div", { className: "relative w-full overflow-x-auto", children: /* @__PURE__ */ e(
3833
3935
  "table",
3834
3936
  {
3835
3937
  ref: a,
@@ -3837,10 +3939,10 @@ const Ma = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("div",
3837
3939
  ...r
3838
3940
  }
3839
3941
  ) }));
3840
- Ma.displayName = "Table";
3841
- const La = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("thead", { ref: a, className: l("[&_tr]:border-b", t), ...r }));
3842
- La.displayName = "TableHeader";
3843
- const Oa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3942
+ La.displayName = "Table";
3943
+ const Oa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("thead", { ref: a, className: l("[&_tr]:border-b", t), ...r }));
3944
+ Oa.displayName = "TableHeader";
3945
+ const $a = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3844
3946
  "tbody",
3845
3947
  {
3846
3948
  ref: a,
@@ -3848,8 +3950,8 @@ const Oa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3848
3950
  ...r
3849
3951
  }
3850
3952
  ));
3851
- Oa.displayName = "TableBody";
3852
- const $a = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3953
+ $a.displayName = "TableBody";
3954
+ const Pa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3853
3955
  "tfoot",
3854
3956
  {
3855
3957
  ref: a,
@@ -3860,8 +3962,8 @@ const $a = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3860
3962
  ...r
3861
3963
  }
3862
3964
  ));
3863
- $a.displayName = "TableFooter";
3864
- const Pa = s.forwardRef(
3965
+ Pa.displayName = "TableFooter";
3966
+ const Va = s.forwardRef(
3865
3967
  ({ className: t, selected: r, ...a }, o) => /* @__PURE__ */ e(
3866
3968
  "tr",
3867
3969
  {
@@ -3879,8 +3981,8 @@ const Pa = s.forwardRef(
3879
3981
  }
3880
3982
  )
3881
3983
  );
3882
- Pa.displayName = "TableRow";
3883
- const Va = s.forwardRef(
3984
+ Va.displayName = "TableRow";
3985
+ const Ba = s.forwardRef(
3884
3986
  ({ className: t, sortable: r, sortDirection: a, onSort: o, children: n, ...i }, c) => /* @__PURE__ */ e(
3885
3987
  "th",
3886
3988
  {
@@ -3901,8 +4003,8 @@ const Va = s.forwardRef(
3901
4003
  }
3902
4004
  )
3903
4005
  );
3904
- Va.displayName = "TableHead";
3905
- const Ba = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4006
+ Ba.displayName = "TableHead";
4007
+ const ja = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3906
4008
  "td",
3907
4009
  {
3908
4010
  ref: a,
@@ -3913,8 +4015,8 @@ const Ba = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3913
4015
  ...r
3914
4016
  }
3915
4017
  ));
3916
- Ba.displayName = "TableCell";
3917
- const ja = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4018
+ ja.displayName = "TableCell";
4019
+ const Fa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3918
4020
  "caption",
3919
4021
  {
3920
4022
  ref: a,
@@ -3925,8 +4027,8 @@ const ja = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
3925
4027
  ...r
3926
4028
  }
3927
4029
  ));
3928
- ja.displayName = "TableCaption";
3929
- const Fa = s.forwardRef(
4030
+ Fa.displayName = "TableCaption";
4031
+ const za = s.forwardRef(
3930
4032
  ({ colSpan: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ e("tr", { ref: n, ...o, children: /* @__PURE__ */ e(
3931
4033
  "td",
3932
4034
  {
@@ -3942,12 +4044,12 @@ const Fa = s.forwardRef(
3942
4044
  }
3943
4045
  ) })
3944
4046
  );
3945
- Fa.displayName = "TableEmpty";
3946
- const za = s.forwardRef(
4047
+ za.displayName = "TableEmpty";
4048
+ const Ha = s.forwardRef(
3947
4049
  ({ className: t, ...r }, a) => /* @__PURE__ */ e("ul", { ref: a, className: l("space-y-2", t), ...r })
3948
4050
  );
3949
- za.displayName = "List";
3950
- const Ha = s.forwardRef(
4051
+ Ha.displayName = "List";
4052
+ const Ya = s.forwardRef(
3951
4053
  ({ className: t, children: r, ...a }, o) => /* @__PURE__ */ u(
3952
4054
  "li",
3953
4055
  {
@@ -3971,8 +4073,8 @@ const Ha = s.forwardRef(
3971
4073
  }
3972
4074
  )
3973
4075
  );
3974
- Ha.displayName = "ListItem";
3975
- const Ya = s.forwardRef(
4076
+ Ya.displayName = "ListItem";
4077
+ const Ua = s.forwardRef(
3976
4078
  ({ className: t, children: r, ...a }, o) => {
3977
4079
  const n = s.Children.map(r, (i, c) => s.isValidElement(i) ? s.cloneElement(
3978
4080
  i,
@@ -3983,8 +4085,8 @@ const Ya = s.forwardRef(
3983
4085
  return /* @__PURE__ */ e("ol", { ref: o, className: l("space-y-2", t), ...a, children: n });
3984
4086
  }
3985
4087
  );
3986
- Ya.displayName = "NumberedList";
3987
- const Ua = s.forwardRef(
4088
+ Ua.displayName = "NumberedList";
4089
+ const Ga = s.forwardRef(
3988
4090
  ({ className: t, children: r, _index: a = 0, ...o }, n) => /* @__PURE__ */ u(
3989
4091
  "li",
3990
4092
  {
@@ -3998,10 +4100,10 @@ const Ua = s.forwardRef(
3998
4100
  }
3999
4101
  )
4000
4102
  );
4001
- Ua.displayName = "NumberedListItem";
4002
- const Ga = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("dl", { ref: a, className: l("space-y-3", t), ...r }));
4003
- Ga.displayName = "DescriptionList";
4004
- const Wa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4103
+ Ga.displayName = "NumberedListItem";
4104
+ const Wa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e("dl", { ref: a, className: l("space-y-3", t), ...r }));
4105
+ Wa.displayName = "DescriptionList";
4106
+ const Ka = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4005
4107
  "dt",
4006
4108
  {
4007
4109
  ref: a,
@@ -4012,8 +4114,8 @@ const Wa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4012
4114
  ...r
4013
4115
  }
4014
4116
  ));
4015
- Wa.displayName = "DescriptionTerm";
4016
- const Ka = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4117
+ Ka.displayName = "DescriptionTerm";
4118
+ const qa = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4017
4119
  "dd",
4018
4120
  {
4019
4121
  ref: a,
@@ -4021,8 +4123,8 @@ const Ka = s.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ e(
4021
4123
  ...r
4022
4124
  }
4023
4125
  ));
4024
- Ka.displayName = "DescriptionDetail";
4025
- const qa = s.forwardRef(
4126
+ qa.displayName = "DescriptionDetail";
4127
+ const Xa = s.forwardRef(
4026
4128
  ({ className: t, ...r }, a) => /* @__PURE__ */ e(
4027
4129
  "ul",
4028
4130
  {
@@ -4032,8 +4134,8 @@ const qa = s.forwardRef(
4032
4134
  }
4033
4135
  )
4034
4136
  );
4035
- qa.displayName = "LinkList";
4036
- const Xa = s.forwardRef(
4137
+ Xa.displayName = "LinkList";
4138
+ const Ja = s.forwardRef(
4037
4139
  ({ className: t, children: r, description: a, ...o }, n) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ u(
4038
4140
  "a",
4039
4141
  {
@@ -4063,8 +4165,8 @@ const Xa = s.forwardRef(
4063
4165
  }
4064
4166
  ) })
4065
4167
  );
4066
- Xa.displayName = "LinkListItem";
4067
- const Ja = s.forwardRef(
4168
+ Ja.displayName = "LinkListItem";
4169
+ const Za = s.forwardRef(
4068
4170
  ({ value: t, label: r, trend: a, trendValue: o, description: n, className: i, ...c }, d) => {
4069
4171
  const p = a === "up" ? "text-ef-green" : a === "down" ? "text-destructive" : "text-muted-foreground", b = a === "up" ? "▲" : a === "down" ? "▼" : null;
4070
4172
  return /* @__PURE__ */ u(
@@ -4092,8 +4194,8 @@ const Ja = s.forwardRef(
4092
4194
  );
4093
4195
  }
4094
4196
  );
4095
- Ja.displayName = "Stat";
4096
- const Za = s.forwardRef(
4197
+ Za.displayName = "Stat";
4198
+ const Qa = s.forwardRef(
4097
4199
  ({ className: t, ...r }, a) => /* @__PURE__ */ e(
4098
4200
  "div",
4099
4201
  {
@@ -4107,8 +4209,8 @@ const Za = s.forwardRef(
4107
4209
  }
4108
4210
  )
4109
4211
  );
4110
- Za.displayName = "StatGrid";
4111
- const Qa = s.forwardRef(
4212
+ Qa.displayName = "StatGrid";
4213
+ const eo = s.forwardRef(
4112
4214
  ({ options: t, activeId: r, direction: a = "none", onSortChange: o, className: n }, i) => {
4113
4215
  const c = (d) => {
4114
4216
  o && (d === r ? a === "asc" ? o(d, "desc") : a === "desc" ? o(d, "none") : o(d, "asc") : o(d, "asc"));
@@ -4152,8 +4254,8 @@ const Qa = s.forwardRef(
4152
4254
  );
4153
4255
  }
4154
4256
  );
4155
- Qa.displayName = "SortControl";
4156
- const eo = 120, to = s.forwardRef(
4257
+ eo.displayName = "SortControl";
4258
+ const to = 120, ro = s.forwardRef(
4157
4259
  ({
4158
4260
  onRefresh: t,
4159
4261
  threshold: r = 60,
@@ -4190,7 +4292,7 @@ const eo = 120, to = s.forwardRef(
4190
4292
  g(0), v("idle");
4191
4293
  return;
4192
4294
  }
4193
- const C = Math.min(k, eo);
4295
+ const C = Math.min(k, to);
4194
4296
  g(C), C >= r ? (f.current || (h(10), f.current = !0), v("threshold")) : v("pulling");
4195
4297
  },
4196
4298
  [n, m, r, h]
@@ -4261,7 +4363,7 @@ const eo = 120, to = s.forwardRef(
4261
4363
  );
4262
4364
  }
4263
4365
  );
4264
- to.displayName = "PullToRefresh";
4366
+ ro.displayName = "PullToRefresh";
4265
4367
  function Te(t) {
4266
4368
  switch (t.variant) {
4267
4369
  case "archive":
@@ -4284,7 +4386,7 @@ function Se(t) {
4284
4386
  return "text-white";
4285
4387
  }
4286
4388
  }
4287
- const ro = s.forwardRef(
4389
+ const ao = s.forwardRef(
4288
4390
  ({
4289
4391
  leftSwipeAction: t,
4290
4392
  rightSwipeAction: r,
@@ -4382,10 +4484,10 @@ const ro = s.forwardRef(
4382
4484
  ] });
4383
4485
  }
4384
4486
  );
4385
- ro.displayName = "SwipeableItem";
4386
- const ao = s.forwardRef(
4487
+ ao.displayName = "SwipeableItem";
4488
+ const oo = s.forwardRef(
4387
4489
  ({ text: t, resetDelay: r = 2e3, onCopy: a, className: o, ...n }, i) => {
4388
- const [c, d] = s.useState(!1), p = s.useRef();
4490
+ const [c, d] = s.useState(!1), p = s.useRef(void 0);
4389
4491
  return s.useEffect(() => () => clearTimeout(p.current), []), /* @__PURE__ */ e(
4390
4492
  "button",
4391
4493
  {
@@ -4416,8 +4518,8 @@ const ao = s.forwardRef(
4416
4518
  );
4417
4519
  }
4418
4520
  );
4419
- ao.displayName = "CopyClipboard";
4420
- const oo = s.forwardRef(
4521
+ oo.displayName = "CopyClipboard";
4522
+ const no = s.forwardRef(
4421
4523
  ({ threshold: t = 300, smooth: r = !0, className: a, ...o }, n) => {
4422
4524
  const [i, c] = s.useState(!1);
4423
4525
  s.useEffect(() => {
@@ -4446,8 +4548,8 @@ const oo = s.forwardRef(
4446
4548
  ) : null;
4447
4549
  }
4448
4550
  );
4449
- oo.displayName = "BackToTop";
4450
- const no = s.forwardRef(
4551
+ no.displayName = "BackToTop";
4552
+ const so = s.forwardRef(
4451
4553
  ({ color: t, height: r = 2, className: a, style: o, ...n }, i) => {
4452
4554
  const [c, d] = s.useState(0);
4453
4555
  return s.useEffect(() => {
@@ -4481,8 +4583,8 @@ const no = s.forwardRef(
4481
4583
  );
4482
4584
  }
4483
4585
  );
4484
- no.displayName = "ScrollProgress";
4485
- const so = s.forwardRef(
4586
+ so.displayName = "ScrollProgress";
4587
+ const io = s.forwardRef(
4486
4588
  ({
4487
4589
  message: t,
4488
4590
  onAccept: r,
@@ -4530,7 +4632,7 @@ const so = s.forwardRef(
4530
4632
  }
4531
4633
  )
4532
4634
  );
4533
- so.displayName = "CookieConsent";
4635
+ io.displayName = "CookieConsent";
4534
4636
  function En() {
4535
4637
  const [t, r] = s.useState(!1);
4536
4638
  return s.useEffect(() => {
@@ -4544,7 +4646,7 @@ function En() {
4544
4646
  close: () => r(!1)
4545
4647
  };
4546
4648
  }
4547
- function io(t, r) {
4649
+ function lo(t, r) {
4548
4650
  if (!r.trim()) return t;
4549
4651
  const a = r.toLowerCase();
4550
4652
  return t.map((o) => ({
@@ -4552,14 +4654,14 @@ function io(t, r) {
4552
4654
  items: o.items.filter((n) => n.label.toLowerCase().includes(a))
4553
4655
  })).filter((o) => o.items.length > 0);
4554
4656
  }
4555
- const lo = ({
4657
+ const co = ({
4556
4658
  open: t,
4557
4659
  onOpenChange: r,
4558
4660
  groups: a,
4559
4661
  onSelect: o,
4560
4662
  placeholder: n = "Type a command or search..."
4561
4663
  }) => {
4562
- const [i, c] = s.useState(""), [d, p] = s.useState(0), b = s.useRef(null), f = io(a, i), m = f.flatMap((g) => g.items);
4664
+ const [i, c] = s.useState(""), [d, p] = s.useState(0), b = s.useRef(null), f = lo(a, i), m = f.flatMap((g) => g.items);
4563
4665
  s.useEffect(() => {
4564
4666
  if (t) {
4565
4667
  c(""), p(0);
@@ -4652,8 +4754,8 @@ const lo = ({
4652
4754
  )
4653
4755
  ] });
4654
4756
  };
4655
- lo.displayName = "CommandPalette";
4656
- const co = ({
4757
+ co.displayName = "CommandPalette";
4758
+ const uo = ({
4657
4759
  trigger: t,
4658
4760
  groups: r,
4659
4761
  items: a,
@@ -4697,8 +4799,8 @@ const co = ({
4697
4799
  ) })
4698
4800
  ] });
4699
4801
  };
4700
- co.displayName = "Dropdown";
4701
- const uo = ({
4802
+ uo.displayName = "Dropdown";
4803
+ const po = ({
4702
4804
  children: t,
4703
4805
  groups: r,
4704
4806
  items: a,
@@ -4772,8 +4874,8 @@ const uo = ({
4772
4874
  }
4773
4875
  );
4774
4876
  };
4775
- uo.displayName = "ContextMenu";
4776
- const po = s.forwardRef(
4877
+ po.displayName = "ContextMenu";
4878
+ const fo = s.forwardRef(
4777
4879
  ({
4778
4880
  children: t,
4779
4881
  title: r,
@@ -4837,8 +4939,8 @@ const po = s.forwardRef(
4837
4939
  );
4838
4940
  }
4839
4941
  );
4840
- po.displayName = "SpoilerBlock";
4841
- const fo = s.forwardRef(
4942
+ fo.displayName = "SpoilerBlock";
4943
+ const mo = s.forwardRef(
4842
4944
  ({ children: t, className: r, ...a }, o) => {
4843
4945
  const [n, i] = s.useState(!1);
4844
4946
  return /* @__PURE__ */ e(
@@ -4860,10 +4962,10 @@ const fo = s.forwardRef(
4860
4962
  );
4861
4963
  }
4862
4964
  );
4863
- fo.displayName = "SpoilerInline";
4864
- const mo = s.forwardRef(
4965
+ mo.displayName = "SpoilerInline";
4966
+ const bo = s.forwardRef(
4865
4967
  ({ storageKey: t = "ef-theme", className: r, ...a }, o) => {
4866
- const [n, i] = s.useState(!1), [c, d] = s.useState(!1), p = s.useRef();
4968
+ const [n, i] = s.useState(!1), [c, d] = s.useState(!1), p = s.useRef(void 0);
4867
4969
  return s.useEffect(() => {
4868
4970
  const f = localStorage.getItem(t);
4869
4971
  f === "light" ? (i(!0), document.documentElement.classList.add("light")) : f === "dark" ? (i(!1), document.documentElement.classList.remove("light")) : i(document.documentElement.classList.contains("light"));
@@ -4909,8 +5011,8 @@ const mo = s.forwardRef(
4909
5011
  );
4910
5012
  }
4911
5013
  );
4912
- mo.displayName = "ThemeSwitcher";
4913
- const bo = {
5014
+ bo.displayName = "ThemeSwitcher";
5015
+ const xo = {
4914
5016
  low: {
4915
5017
  duration: "6s",
4916
5018
  clipTop: "15% 0 70% 0",
@@ -4932,7 +5034,7 @@ const bo = {
4932
5034
  offset: 4,
4933
5035
  defaultInterval: 1200
4934
5036
  }
4935
- }, xo = s.forwardRef(
5037
+ }, go = s.forwardRef(
4936
5038
  ({
4937
5039
  children: t,
4938
5040
  className: r,
@@ -4941,7 +5043,7 @@ const bo = {
4941
5043
  continuousInterval: n,
4942
5044
  ...i
4943
5045
  }, c) => {
4944
- const d = bo[a], p = n ?? d.defaultInterval, [b, f] = s.useState(!1);
5046
+ const d = xo[a], p = n ?? d.defaultInterval, [b, f] = s.useState(!1);
4945
5047
  s.useEffect(() => {
4946
5048
  if (!o) return;
4947
5049
  const v = setInterval(() => {
@@ -4995,9 +5097,9 @@ const bo = {
4995
5097
  );
4996
5098
  }
4997
5099
  );
4998
- xo.displayName = "GlitchText";
4999
- const go = { sm: 16, md: 28, lg: 44 }, ho = s.forwardRef(({ size: t = "md", label: r, className: a }, o) => {
5000
- const n = go[t];
5100
+ go.displayName = "GlitchText";
5101
+ const ho = { sm: 16, md: 28, lg: 44 }, yo = s.forwardRef(({ size: t = "md", label: r, className: a }, o) => {
5102
+ const n = ho[t];
5001
5103
  return /* @__PURE__ */ u(
5002
5104
  "div",
5003
5105
  {
@@ -5021,18 +5123,18 @@ const go = { sm: 16, md: 28, lg: 44 }, ho = s.forwardRef(({ size: t = "md", labe
5021
5123
  }
5022
5124
  );
5023
5125
  });
5024
- ho.displayName = "DiamondLoader";
5025
- const yo = {
5126
+ yo.displayName = "DiamondLoader";
5127
+ const vo = {
5026
5128
  online: "ONLINE",
5027
5129
  warning: "CAUTION",
5028
5130
  offline: "OFFLINE",
5029
5131
  scanning: "SCANNING"
5030
- }, vo = {
5132
+ }, No = {
5031
5133
  online: "bg-ef-green",
5032
5134
  warning: "bg-ef-yellow",
5033
5135
  offline: "bg-ef-red",
5034
5136
  scanning: "bg-ef-cyan animate-pulse"
5035
- }, No = s.forwardRef(
5137
+ }, wo = s.forwardRef(
5036
5138
  ({
5037
5139
  title: t,
5038
5140
  status: r = "online",
@@ -5079,13 +5181,13 @@ const yo = {
5079
5181
  /* @__PURE__ */ e(
5080
5182
  "div",
5081
5183
  {
5082
- className: l("w-2 h-2", vo[r]),
5184
+ className: l("w-2 h-2", No[r]),
5083
5185
  style: {
5084
5186
  clipPath: "polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)"
5085
5187
  }
5086
5188
  }
5087
5189
  ),
5088
- /* @__PURE__ */ e("span", { className: "font-mono text-[10px] tracking-[0.1em] text-muted-foreground", children: yo[r] })
5190
+ /* @__PURE__ */ e("span", { className: "font-mono text-[10px] tracking-[0.1em] text-muted-foreground", children: vo[r] })
5089
5191
  ] }),
5090
5192
  n && /* @__PURE__ */ e(
5091
5193
  "div",
@@ -5118,8 +5220,8 @@ const yo = {
5118
5220
  );
5119
5221
  }
5120
5222
  );
5121
- No.displayName = "TacticalPanel";
5122
- const wo = s.forwardRef(
5223
+ wo.displayName = "TacticalPanel";
5224
+ const ko = s.forwardRef(
5123
5225
  ({ title: t, subtitle: r, icon: a, value: o, className: n }, i) => {
5124
5226
  const [c, d] = s.useState(!1);
5125
5227
  return /* @__PURE__ */ u(
@@ -5163,23 +5265,23 @@ const wo = s.forwardRef(
5163
5265
  );
5164
5266
  }
5165
5267
  );
5166
- wo.displayName = "HoloCard";
5268
+ ko.displayName = "HoloCard";
5167
5269
  const Re = {
5168
5270
  1: 2e3,
5169
5271
  2: 1500,
5170
5272
  3: 1e3,
5171
5273
  4: 600,
5172
5274
  5: 300
5173
- }, ko = {
5275
+ }, To = {
5174
5276
  mono: "text-muted-foreground",
5175
5277
  classified: "text-primary",
5176
5278
  transmission: "text-ef-cyan"
5177
- }, To = {
5279
+ }, So = {
5178
5280
  system: "text-muted-foreground",
5179
5281
  data: "text-ef-cyan",
5180
5282
  warning: "text-ef-orange",
5181
5283
  classified: "text-primary"
5182
- }, So = [
5284
+ }, Ro = [
5183
5285
  "[SYS] Initializing ENDFIELD protocol...",
5184
5286
  "[NET] Connection established — latency: 12ms",
5185
5287
  "[SEC] Authentication verified ◆ Level: ALPHA",
@@ -5194,16 +5296,16 @@ const Re = {
5194
5296
  function Ee(t) {
5195
5297
  return typeof t == "string" ? t : t.text;
5196
5298
  }
5197
- function Ro(t, r) {
5198
- if (r) return ko[r];
5299
+ function Eo(t, r) {
5300
+ if (r) return To[r];
5199
5301
  if (typeof t != "string" && t.type)
5200
- return To[t.type] ?? "text-muted-foreground";
5302
+ return So[t.type] ?? "text-muted-foreground";
5201
5303
  const a = typeof t == "string" ? t : t.text;
5202
5304
  return a.includes("[SEC]") ? "text-ef-green" : a.includes("[NET]") ? "text-ef-blue" : a.includes("[DAT]") ? "text-ef-cyan" : a.includes("[GPU]") ? "text-ef-purple" : "text-muted-foreground";
5203
5305
  }
5204
- const Eo = s.forwardRef(
5306
+ const Io = s.forwardRef(
5205
5307
  ({
5206
- messages: t = So,
5308
+ messages: t = Ro,
5207
5309
  speed: r = 3,
5208
5310
  messageType: a,
5209
5311
  className: o,
@@ -5258,7 +5360,7 @@ const Eo = s.forwardRef(
5258
5360
  {
5259
5361
  initial: { opacity: 0, x: -10 },
5260
5362
  animate: { opacity: 1, x: 0 },
5261
- className: Ro(f, a),
5363
+ className: Eo(f, a),
5262
5364
  children: Ee(f)
5263
5365
  },
5264
5366
  `${Ee(f)}-${m}`
@@ -5272,8 +5374,8 @@ const Eo = s.forwardRef(
5272
5374
  );
5273
5375
  }
5274
5376
  );
5275
- Eo.displayName = "DataStream";
5276
- const Io = O(
5377
+ Io.displayName = "DataStream";
5378
+ const _o = O(
5277
5379
  "inline-flex items-center gap-1.5 clip-corner-sm border px-3 py-1 font-display text-[10px] font-bold tracking-[0.15em] uppercase",
5278
5380
  {
5279
5381
  variants: {
@@ -5289,11 +5391,11 @@ const Io = O(
5289
5391
  variant: "default"
5290
5392
  }
5291
5393
  }
5292
- ), _o = s.forwardRef(({ variant: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ u(
5394
+ ), Do = s.forwardRef(({ variant: t, className: r, children: a, ...o }, n) => /* @__PURE__ */ u(
5293
5395
  "span",
5294
5396
  {
5295
5397
  ref: n,
5296
- className: l(Io({ variant: t }), r),
5398
+ className: l(_o({ variant: t }), r),
5297
5399
  ...o,
5298
5400
  children: [
5299
5401
  /* @__PURE__ */ e("span", { style: { fontSize: "6px" }, children: "◆" }),
@@ -5301,8 +5403,8 @@ const Io = O(
5301
5403
  ]
5302
5404
  }
5303
5405
  ));
5304
- _o.displayName = "TacticalBadge";
5305
- const Do = {
5406
+ Do.displayName = "TacticalBadge";
5407
+ const Co = {
5306
5408
  caution: {
5307
5409
  border: "border-ef-yellow/30",
5308
5410
  bg: "bg-ef-yellow/5",
@@ -5321,8 +5423,8 @@ const Do = {
5321
5423
  icon: "text-ef-red",
5322
5424
  label: "CRITICAL"
5323
5425
  }
5324
- }, Co = s.forwardRef(({ level: t = "caution", children: r, className: a }, o) => {
5325
- const n = Do[t];
5426
+ }, Ao = s.forwardRef(({ level: t = "caution", children: r, className: a }, o) => {
5427
+ const n = Co[t];
5326
5428
  return /* @__PURE__ */ u(
5327
5429
  "div",
5328
5430
  {
@@ -5344,8 +5446,8 @@ const Do = {
5344
5446
  }
5345
5447
  );
5346
5448
  });
5347
- Co.displayName = "WarningBanner";
5348
- const Ao = s.forwardRef(
5449
+ Ao.displayName = "WarningBanner";
5450
+ const Mo = s.forwardRef(
5349
5451
  ({ label: t, className: r }, a) => /* @__PURE__ */ u(
5350
5452
  "div",
5351
5453
  {
@@ -5365,8 +5467,8 @@ const Ao = s.forwardRef(
5365
5467
  }
5366
5468
  )
5367
5469
  );
5368
- Ao.displayName = "ScanDivider";
5369
- const Mo = s.forwardRef(({ label: t, value: r, unit: a, className: o }, n) => /* @__PURE__ */ u(
5470
+ Mo.displayName = "ScanDivider";
5471
+ const Lo = s.forwardRef(({ label: t, value: r, unit: a, className: o }, n) => /* @__PURE__ */ u(
5370
5472
  "div",
5371
5473
  {
5372
5474
  ref: n,
@@ -5378,7 +5480,7 @@ const Mo = s.forwardRef(({ label: t, value: r, unit: a, className: o }, n) => /*
5378
5480
  ]
5379
5481
  }
5380
5482
  ));
5381
- Mo.displayName = "CoordinateTag";
5483
+ Lo.displayName = "CoordinateTag";
5382
5484
  function G(t, r, a, o, n) {
5383
5485
  return {
5384
5486
  x: t + a * Math.sin(n * o),
@@ -5388,7 +5490,7 @@ function G(t, r, a, o, n) {
5388
5490
  function le(t) {
5389
5491
  return t.map((r) => `${r.x},${r.y}`).join(" ");
5390
5492
  }
5391
- const Lo = s.forwardRef(
5493
+ const Oo = s.forwardRef(
5392
5494
  ({
5393
5495
  data: t,
5394
5496
  color: r = "primary",
@@ -5572,12 +5674,12 @@ const Lo = s.forwardRef(
5572
5674
  );
5573
5675
  }
5574
5676
  );
5575
- Lo.displayName = "RadarChart";
5677
+ Oo.displayName = "RadarChart";
5576
5678
  const Ie = {
5577
5679
  sm: "w-5 h-5",
5578
5680
  md: "w-8 h-8",
5579
5681
  lg: "w-12 h-12"
5580
- }, Oo = s.forwardRef(
5682
+ }, $o = s.forwardRef(
5581
5683
  ({
5582
5684
  children: t,
5583
5685
  systemLabel: r = "SYS::ENDFIELD v2.0",
@@ -5691,8 +5793,8 @@ const Ie = {
5691
5793
  );
5692
5794
  }
5693
5795
  );
5694
- Oo.displayName = "HUDOverlay";
5695
- const $o = O(
5796
+ $o.displayName = "HUDOverlay";
5797
+ const Po = O(
5696
5798
  [
5697
5799
  "relative bg-surface-1 border overflow-hidden transition-all duration-300",
5698
5800
  "before:absolute before:top-0 before:left-0 before:w-5 before:h-5",
@@ -5722,7 +5824,7 @@ const $o = O(
5722
5824
  },
5723
5825
  defaultVariants: { priority: "medium", status: "active", clickable: !1 }
5724
5826
  }
5725
- ), Po = {
5827
+ ), Vo = {
5726
5828
  active: {
5727
5829
  label: "ACTIVE",
5728
5830
  cls: "text-ef-green border-ef-green/40 bg-ef-green/10"
@@ -5743,12 +5845,12 @@ const $o = O(
5743
5845
  label: "CLASSIFIED",
5744
5846
  cls: "text-primary border-primary/40 bg-primary/10"
5745
5847
  }
5746
- }, Vo = {
5848
+ }, Bo = {
5747
5849
  low: { label: "LOW", cls: "text-muted-foreground" },
5748
5850
  medium: { label: "MEDIUM", cls: "text-ef-blue" },
5749
5851
  high: { label: "HIGH", cls: "text-ef-orange" },
5750
5852
  critical: { label: "CRITICAL", cls: "text-destructive" }
5751
- }, Bo = s.forwardRef(
5853
+ }, jo = s.forwardRef(
5752
5854
  ({
5753
5855
  className: t,
5754
5856
  title: r,
@@ -5762,7 +5864,7 @@ const $o = O(
5762
5864
  onClick: b,
5763
5865
  ...f
5764
5866
  }, m) => {
5765
- const v = Po[n], x = Vo[i], g = !!b, N = (y) => {
5867
+ const v = Vo[n], x = Bo[i], g = !!b, N = (y) => {
5766
5868
  g && (y.key === "Enter" || y.key === " ") && (y.preventDefault(), b == null || b(y));
5767
5869
  }, h = d !== void 0 ? Math.min(100, Math.max(0, d)) : void 0;
5768
5870
  return /* @__PURE__ */ u(
@@ -5775,7 +5877,7 @@ const $o = O(
5775
5877
  onClick: b,
5776
5878
  onKeyDown: N,
5777
5879
  className: l(
5778
- $o({ priority: i, status: n, clickable: g }),
5880
+ Po({ priority: i, status: n, clickable: g }),
5779
5881
  t
5780
5882
  ),
5781
5883
  ...f,
@@ -5855,7 +5957,7 @@ const $o = O(
5855
5957
  );
5856
5958
  }
5857
5959
  );
5858
- Bo.displayName = "MissionCard";
5960
+ jo.displayName = "MissionCard";
5859
5961
  const _e = {
5860
5962
  1: "text-muted-foreground/60",
5861
5963
  2: "text-ef-green/70",
@@ -5901,7 +6003,16 @@ function Ae({
5901
6003
  style: {
5902
6004
  clipPath: "polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%)"
5903
6005
  },
5904
- children: t ? /* @__PURE__ */ e("img", { src: t, alt: r, className: "w-full h-full object-cover" }) : /* @__PURE__ */ e("span", { children: a ?? r.slice(0, 2) })
6006
+ children: t ? /* @__PURE__ */ e(
6007
+ "img",
6008
+ {
6009
+ src: t,
6010
+ alt: r,
6011
+ loading: "lazy",
6012
+ decoding: "async",
6013
+ className: "w-full h-full object-cover"
6014
+ }
6015
+ ) : /* @__PURE__ */ e("span", { children: a ?? r.slice(0, 2) })
5905
6016
  }
5906
6017
  );
5907
6018
  }
@@ -5919,7 +6030,7 @@ function Me({ rarity: t }) {
5919
6030
  }
5920
6031
  );
5921
6032
  }
5922
- function jo({ label: t }) {
6033
+ function Fo({ label: t }) {
5923
6034
  return /* @__PURE__ */ u(
5924
6035
  "span",
5925
6036
  {
@@ -5935,7 +6046,7 @@ function jo({ label: t }) {
5935
6046
  }
5936
6047
  );
5937
6048
  }
5938
- const Fo = s.forwardRef(
6049
+ const zo = s.forwardRef(
5939
6050
  ({
5940
6051
  className: t,
5941
6052
  name: r,
@@ -5996,7 +6107,7 @@ const Fo = s.forwardRef(
5996
6107
  /* @__PURE__ */ u("div", { className: "flex-1 min-w-0 pt-1", children: [
5997
6108
  /* @__PURE__ */ e("h3", { className: "font-display text-[16px] font-bold uppercase tracking-wider text-foreground leading-tight", children: r }),
5998
6109
  d && /* @__PURE__ */ e("p", { className: "font-mono text-[10px] text-muted-foreground/60 mt-0.5 uppercase tracking-wider", children: d }),
5999
- a && /* @__PURE__ */ e("div", { className: "mt-1.5", children: /* @__PURE__ */ e(jo, { label: a }) }),
6110
+ a && /* @__PURE__ */ e("div", { className: "mt-1.5", children: /* @__PURE__ */ e(Fo, { label: a }) }),
6000
6111
  /* @__PURE__ */ e("div", { className: "mt-2", children: /* @__PURE__ */ e(Me, { rarity: v }) })
6001
6112
  ] })
6002
6113
  ] }),
@@ -6027,8 +6138,8 @@ const Fo = s.forwardRef(
6027
6138
  );
6028
6139
  }
6029
6140
  );
6030
- Fo.displayName = "OperatorCard";
6031
- const zo = O("flex items-center gap-1.5", {
6141
+ zo.displayName = "OperatorCard";
6142
+ const Ho = O("flex items-center gap-1.5", {
6032
6143
  variants: {
6033
6144
  size: {
6034
6145
  sm: "[&>span.seg]:w-3 [&>span.seg]:h-2",
@@ -6037,7 +6148,7 @@ const zo = O("flex items-center gap-1.5", {
6037
6148
  }
6038
6149
  },
6039
6150
  defaultVariants: { size: "md" }
6040
- }), Ho = O("seg transition-all duration-200", {
6151
+ }), Yo = O("seg transition-all duration-200", {
6041
6152
  variants: {
6042
6153
  variant: {
6043
6154
  health: "",
@@ -6052,7 +6163,7 @@ const zo = O("flex items-center gap-1.5", {
6052
6163
  energy: "bg-primary",
6053
6164
  shield: "bg-ef-blue",
6054
6165
  experience: "bg-ef-purple"
6055
- }, Yo = s.forwardRef(
6166
+ }, Uo = s.forwardRef(
6056
6167
  ({
6057
6168
  className: t,
6058
6169
  value: r,
@@ -6085,11 +6196,11 @@ const zo = O("flex items-center gap-1.5", {
6085
6196
  ...p,
6086
6197
  children: [
6087
6198
  n && /* @__PURE__ */ e("span", { className: "font-mono text-[10px] uppercase tracking-wider text-muted-foreground shrink-0", children: n }),
6088
- /* @__PURE__ */ e("div", { className: l(zo({ size: c })), children: Array.from({ length: o }).map((g, N) => /* @__PURE__ */ e(
6199
+ /* @__PURE__ */ e("div", { className: l(Ho({ size: c })), children: Array.from({ length: o }).map((g, N) => /* @__PURE__ */ e(
6089
6200
  "span",
6090
6201
  {
6091
6202
  className: l(
6092
- Ho({ variant: d }),
6203
+ Yo({ variant: d }),
6093
6204
  x(N)
6094
6205
  )
6095
6206
  },
@@ -6105,14 +6216,14 @@ const zo = O("flex items-center gap-1.5", {
6105
6216
  );
6106
6217
  }
6107
6218
  );
6108
- Yo.displayName = "StatusBar";
6109
- const Uo = {
6219
+ Uo.displayName = "StatusBar";
6220
+ const Go = {
6110
6221
  system: { prefix: "[SYS] ", color: "text-muted-foreground", ariaLive: "off" },
6111
6222
  info: { prefix: "[INFO]", color: "text-ef-blue", ariaLive: "off" },
6112
6223
  success: { prefix: "[OK] ", color: "text-ef-green", ariaLive: "polite" },
6113
6224
  warning: { prefix: "[WARN]", color: "text-ef-orange", ariaLive: "polite" },
6114
6225
  error: { prefix: "[ERR] ", color: "text-destructive", ariaLive: "assertive" }
6115
- }, Go = s.forwardRef(
6226
+ }, Wo = s.forwardRef(
6116
6227
  ({
6117
6228
  className: t,
6118
6229
  entries: r,
@@ -6157,7 +6268,7 @@ const Uo = {
6157
6268
  children: [
6158
6269
  r.length === 0 && /* @__PURE__ */ e("div", { className: "px-4 py-2 text-muted-foreground/40 text-[12px]", children: "No output." }),
6159
6270
  r.map((m, v) => {
6160
- const x = Uo[m.level], g = m.id ?? v;
6271
+ const x = Go[m.level], g = m.id ?? v;
6161
6272
  return /* @__PURE__ */ u(
6162
6273
  "div",
6163
6274
  {
@@ -6199,8 +6310,8 @@ const Uo = {
6199
6310
  );
6200
6311
  }
6201
6312
  );
6202
- Go.displayName = "CommandOutput";
6203
- const Wo = O(
6313
+ Wo.displayName = "CommandOutput";
6314
+ const Ko = O(
6204
6315
  "font-display font-bold text-primary tabular-nums leading-none",
6205
6316
  {
6206
6317
  variants: {
@@ -6212,7 +6323,7 @@ const Wo = O(
6212
6323
  },
6213
6324
  defaultVariants: { size: "md" }
6214
6325
  }
6215
- ), Ko = O(
6326
+ ), qo = O(
6216
6327
  "font-mono uppercase tracking-widest text-muted-foreground/60",
6217
6328
  {
6218
6329
  variants: {
@@ -6238,8 +6349,8 @@ function Z({
6238
6349
  size: a
6239
6350
  }) {
6240
6351
  return /* @__PURE__ */ u("div", { className: "flex flex-col items-center gap-1", children: [
6241
- /* @__PURE__ */ e("span", { className: Wo({ size: a }), children: t }),
6242
- /* @__PURE__ */ e("span", { className: Ko({ size: a }), children: r })
6352
+ /* @__PURE__ */ e("span", { className: Ko({ size: a }), children: t }),
6353
+ /* @__PURE__ */ e("span", { className: qo({ size: a }), children: r })
6243
6354
  ] });
6244
6355
  }
6245
6356
  function ce({ size: t }) {
@@ -6254,7 +6365,7 @@ function ce({ size: t }) {
6254
6365
  }
6255
6366
  );
6256
6367
  }
6257
- const qo = s.forwardRef(
6368
+ const Xo = s.forwardRef(
6258
6369
  ({
6259
6370
  className: t,
6260
6371
  targetDate: r,
@@ -6281,7 +6392,7 @@ const qo = s.forwardRef(
6281
6392
  }, [f, o]);
6282
6393
  const g = s.useMemo(
6283
6394
  () => `Countdown: ${m.days} days ${m.hours} hours ${m.minutes} minutes ${m.seconds} seconds`,
6284
- [m.days, m.hours, m.minutes]
6395
+ [m.days, m.hours, m.minutes, m.seconds]
6285
6396
  ), N = c && !(i && m.days === 0);
6286
6397
  return /* @__PURE__ */ u(
6287
6398
  "div",
@@ -6310,14 +6421,14 @@ const qo = s.forwardRef(
6310
6421
  );
6311
6422
  }
6312
6423
  );
6313
- qo.displayName = "CountdownTimer";
6314
- function Xo({
6424
+ Xo.displayName = "CountdownTimer";
6425
+ function Jo({
6315
6426
  active: t,
6316
6427
  direction: r
6317
6428
  }) {
6318
6429
  return t ? /* @__PURE__ */ e("span", { className: "ml-1 text-primary text-[10px]", children: r === "asc" ? "▲" : "▼" }) : /* @__PURE__ */ e("span", { className: "ml-1 text-muted-foreground/20 text-[10px]", children: "↕" });
6319
6430
  }
6320
- function Jo({ colCount: t }) {
6431
+ function Zo({ colCount: t }) {
6321
6432
  return /* @__PURE__ */ e("tr", { children: Array.from({ length: t }).map((r, a) => /* @__PURE__ */ e("td", { className: "px-4 py-3 border-b border-border", children: /* @__PURE__ */ e(
6322
6433
  "div",
6323
6434
  {
@@ -6333,7 +6444,7 @@ const $e = {
6333
6444
  center: "text-center",
6334
6445
  right: "text-right"
6335
6446
  };
6336
- function Zo({
6447
+ function Qo({
6337
6448
  className: t,
6338
6449
  columns: r,
6339
6450
  data: a,
@@ -6376,7 +6487,7 @@ function Zo({
6376
6487
  children: [
6377
6488
  h.header,
6378
6489
  h.sortable && /* @__PURE__ */ e(
6379
- Xo,
6490
+ Jo,
6380
6491
  {
6381
6492
  active: y,
6382
6493
  direction: n
@@ -6387,7 +6498,7 @@ function Zo({
6387
6498
  h.key
6388
6499
  );
6389
6500
  }) }) }),
6390
- /* @__PURE__ */ e("tbody", { children: b ? Array.from({ length: f }).map((h, y) => /* @__PURE__ */ e(Jo, { colCount: r.length }, y)) : a.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: r.length, className: "px-4 py-12 text-center", children: m ?? /* @__PURE__ */ e("span", { className: "font-mono text-[12px] text-muted-foreground/40 uppercase tracking-wider", children: "NO DATA" }) }) }) : a.map((h, y) => {
6501
+ /* @__PURE__ */ e("tbody", { children: b ? Array.from({ length: f }).map((h, y) => /* @__PURE__ */ e(Zo, { colCount: r.length }, y)) : a.length === 0 ? /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: r.length, className: "px-4 py-12 text-center", children: m ?? /* @__PURE__ */ e("span", { className: "font-mono text-[12px] text-muted-foreground/40 uppercase tracking-wider", children: "NO DATA" }) }) }) : a.map((h, y) => {
6391
6502
  const T = c && N.has(y), S = y % 2 === 1;
6392
6503
  return /* @__PURE__ */ e(
6393
6504
  "tr",
@@ -6422,9 +6533,9 @@ function Zo({
6422
6533
  }
6423
6534
  );
6424
6535
  }
6425
- const Qo = s.forwardRef(Zo);
6426
- Qo.displayName = "TacticalTable";
6427
- const en = s.forwardRef(
6536
+ const en = s.forwardRef(Qo);
6537
+ en.displayName = "TacticalTable";
6538
+ const tn = s.forwardRef(
6428
6539
  ({
6429
6540
  className: t,
6430
6541
  cols: r = 20,
@@ -6486,8 +6597,8 @@ const en = s.forwardRef(
6486
6597
  );
6487
6598
  }
6488
6599
  );
6489
- en.displayName = "MatrixGrid";
6490
- const tn = O("flex items-end gap-px", {
6600
+ tn.displayName = "MatrixGrid";
6601
+ const rn = O("flex items-end gap-px", {
6491
6602
  variants: {
6492
6603
  color: {
6493
6604
  primary: "[&>span]:bg-primary",
@@ -6502,7 +6613,7 @@ const tn = O("flex items-end gap-px", {
6502
6613
  slow: "1.4s",
6503
6614
  medium: "0.8s",
6504
6615
  fast: "0.4s"
6505
- }, rn = s.forwardRef(
6616
+ }, an = s.forwardRef(
6506
6617
  ({
6507
6618
  className: t,
6508
6619
  barCount: r = 12,
@@ -6524,7 +6635,7 @@ const tn = O("flex items-end gap-px", {
6524
6635
  "div",
6525
6636
  {
6526
6637
  ref: b,
6527
- className: l(tn({ color: c }), t),
6638
+ className: l(rn({ color: c }), t),
6528
6639
  style: { height: o, ...d },
6529
6640
  "aria-hidden": "true",
6530
6641
  ...p,
@@ -6547,7 +6658,7 @@ const tn = O("flex items-end gap-px", {
6547
6658
  );
6548
6659
  }
6549
6660
  );
6550
- rn.displayName = "FrequencyBars";
6661
+ an.displayName = "FrequencyBars";
6551
6662
  export {
6552
6663
  gr as Accordion,
6553
6664
  vr as AccordionContent,
@@ -6557,7 +6668,7 @@ export {
6557
6668
  ur as Avatar,
6558
6669
  fr as AvatarFallback,
6559
6670
  pr as AvatarImage,
6560
- oo as BackToTop,
6671
+ no as BackToTop,
6561
6672
  At as Badge,
6562
6673
  wa as BottomSheet,
6563
6674
  ea as Breadcrumb,
@@ -6573,18 +6684,18 @@ export {
6573
6684
  Ta as Carousel,
6574
6685
  ka as CarouselItem,
6575
6686
  Jt as Checkbox,
6576
- Go as CommandOutput,
6577
- lo as CommandPalette,
6578
- uo as ContextMenu,
6579
- so as CookieConsent,
6580
- Mo as CoordinateTag,
6581
- ao as CopyClipboard,
6582
- qo as CountdownTimer,
6583
- Eo as DataStream,
6687
+ Wo as CommandOutput,
6688
+ co as CommandPalette,
6689
+ po as ContextMenu,
6690
+ io as CookieConsent,
6691
+ Lo as CoordinateTag,
6692
+ oo as CopyClipboard,
6693
+ Xo as CountdownTimer,
6694
+ Io as DataStream,
6584
6695
  fa as DatePicker,
6585
- Ka as DescriptionDetail,
6586
- Ga as DescriptionList,
6587
- Wa as DescriptionTerm,
6696
+ qa as DescriptionDetail,
6697
+ Wa as DescriptionList,
6698
+ Ka as DescriptionTerm,
6588
6699
  Ge as Dialog,
6589
6700
  Ar as DialogClose,
6590
6701
  qe as DialogContent,
@@ -6595,32 +6706,32 @@ export {
6595
6706
  We as DialogPortal,
6596
6707
  Je as DialogTitle,
6597
6708
  Cr as DialogTrigger,
6598
- ho as DiamondLoader,
6599
- co as Dropdown,
6709
+ yo as DiamondLoader,
6710
+ uo as Dropdown,
6600
6711
  Yr as EmptyState,
6601
6712
  ya as FileUpload,
6602
6713
  na as FilterBar,
6603
6714
  oa as FilterChip,
6604
- Aa as Footer,
6605
- Da as FooterColumn,
6606
- Ca as FooterLink,
6607
- rn as FrequencyBars,
6608
- xo as GlitchText,
6609
- Oo as HUDOverlay,
6715
+ Ma as Footer,
6716
+ Ca as FooterColumn,
6717
+ Aa as FooterLink,
6718
+ an as FrequencyBars,
6719
+ go as GlitchText,
6720
+ $o as HUDOverlay,
6610
6721
  Kt as HelperText,
6611
- wo as HoloCard,
6722
+ ko as HoloCard,
6612
6723
  Gt as Input,
6613
6724
  Wt as Label,
6614
6725
  Ht as LinkCard,
6615
- qa as LinkList,
6616
- Xa as LinkListItem,
6617
- za as List,
6618
- Ha as ListItem,
6619
- en as MatrixGrid,
6620
- Bo as MissionCard,
6726
+ Xa as LinkList,
6727
+ Ja as LinkListItem,
6728
+ Ha as List,
6729
+ Ya as ListItem,
6730
+ tn as MatrixGrid,
6731
+ jo as MissionCard,
6621
6732
  ra as NumberInput,
6622
- Ya as NumberedList,
6623
- Ua as NumberedListItem,
6733
+ Ua as NumberedList,
6734
+ Ga as NumberedListItem,
6624
6735
  sa as OTPInput,
6625
6736
  zt as OperatorCard,
6626
6737
  Qr as Pagination,
@@ -6632,15 +6743,15 @@ export {
6632
6743
  Dr as PopoverContent,
6633
6744
  Ir as PopoverTrigger,
6634
6745
  xr as Progress,
6635
- to as PullToRefresh,
6636
- Lo as RadarChart,
6746
+ ro as PullToRefresh,
6747
+ Oo as RadarChart,
6637
6748
  Zt as RadioGroup,
6638
6749
  Qt as RadioGroupItem,
6639
6750
  ba as Rating,
6640
6751
  Sa as ResizeHandle,
6641
- _a as RichTextEditor,
6642
- Ao as ScanDivider,
6643
- no as ScrollProgress,
6752
+ Da as RichTextEditor,
6753
+ Mo as ScanDivider,
6754
+ so as ScrollProgress,
6644
6755
  tr as Select,
6645
6756
  nr as SelectContent,
6646
6757
  rr as SelectGroup,
@@ -6660,33 +6771,33 @@ export {
6660
6771
  zr as SkeletonTableRow,
6661
6772
  Qe as SkeletonText,
6662
6773
  yn as SonnerToaster,
6663
- Qa as SortControl,
6664
- po as SpoilerBlock,
6665
- fo as SpoilerInline,
6666
- Ja as Stat,
6667
- Za as StatGrid,
6668
- Yo as StatusBar,
6774
+ eo as SortControl,
6775
+ fo as SpoilerBlock,
6776
+ mo as SpoilerInline,
6777
+ Za as Stat,
6778
+ Qa as StatGrid,
6779
+ Uo as StatusBar,
6669
6780
  Jr as Stepper,
6670
- ro as SwipeableItem,
6781
+ ao as SwipeableItem,
6671
6782
  er as Switch,
6672
- Ma as Table,
6673
- Oa as TableBody,
6674
- ja as TableCaption,
6675
- Ba as TableCell,
6676
- Fa as TableEmpty,
6677
- $a as TableFooter,
6678
- Va as TableHead,
6679
- La as TableHeader,
6680
- Pa as TableRow,
6783
+ La as Table,
6784
+ $a as TableBody,
6785
+ Fa as TableCaption,
6786
+ ja as TableCell,
6787
+ za as TableEmpty,
6788
+ Pa as TableFooter,
6789
+ Ba as TableHead,
6790
+ Oa as TableHeader,
6791
+ Va as TableRow,
6681
6792
  Nr as Tabs,
6682
6793
  Rr as TabsContent,
6683
6794
  kr as TabsList,
6684
6795
  Sr as TabsTrigger,
6685
- _o as TacticalBadge,
6686
- No as TacticalPanel,
6687
- Qo as TacticalTable,
6796
+ Do as TacticalBadge,
6797
+ wo as TacticalPanel,
6798
+ en as TacticalTable,
6688
6799
  Xt as Textarea,
6689
- mo as ThemeSwitcher,
6800
+ bo as ThemeSwitcher,
6690
6801
  Xr as Timeline,
6691
6802
  tt as TimelineItem,
6692
6803
  je as Toast,
@@ -6703,7 +6814,7 @@ export {
6703
6814
  gn as TooltipTrigger,
6704
6815
  Kr as TopBanner,
6705
6816
  aa as ViewToggle,
6706
- Co as WarningBanner,
6817
+ Ao as WarningBanner,
6707
6818
  Ur as alertVariants,
6708
6819
  dr as avatarVariants,
6709
6820
  Ct as badgeVariants,
@@ -6713,9 +6824,9 @@ export {
6713
6824
  Mr as dialogContentVariants,
6714
6825
  Hr as emptyStateVariants,
6715
6826
  Rn as endfieldChartTheme,
6716
- tn as frequencyBarsVariants,
6827
+ rn as frequencyBarsVariants,
6717
6828
  Ut as inputWrapperVariants,
6718
- $o as missionCardVariants,
6829
+ Po as missionCardVariants,
6719
6830
  vn as notify,
6720
6831
  ta as numberInputVariants,
6721
6832
  Ce as operatorCardVariants,
@@ -6724,11 +6835,11 @@ export {
6724
6835
  mr as progressTrackVariants,
6725
6836
  Or as separatorVariants,
6726
6837
  Pr as skeletonLineVariants,
6727
- zo as statusBarContainerVariants,
6728
- Ho as statusBarSegmentVariants,
6838
+ Ho as statusBarContainerVariants,
6839
+ Yo as statusBarSegmentVariants,
6729
6840
  wr as tabsListVariants,
6730
6841
  Tr as tabsTriggerVariants,
6731
- Io as tacticalBadgeVariants,
6842
+ _o as tacticalBadgeVariants,
6732
6843
  qt as textareaVariants,
6733
6844
  qr as timelineItemVariants,
6734
6845
  Dn as toast,