@sentinel-core/sentinel 1.0.18 → 1.0.20

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.
@@ -2298,13 +2298,13 @@ function W(...e) {
2298
2298
  //#region src/ui/components/Tabs.tsx
2299
2299
  var pn = je, mn = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(Pe, {
2300
2300
  ref: r,
2301
- className: W("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", t),
2301
+ className: W("inline-flex h-10 items-center justify-center rounded-md bg-muted !p-1 text-muted-foreground", t),
2302
2302
  ...n
2303
2303
  }));
2304
2304
  mn.displayName = Pe.displayName;
2305
2305
  var hn = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(Be, {
2306
2306
  ref: r,
2307
- className: W("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-xs", t),
2307
+ className: W("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3! py-1.5! text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-xs", t),
2308
2308
  ...n
2309
2309
  }));
2310
2310
  hn.displayName = Be.displayName;
@@ -3514,27 +3514,36 @@ var la = (e) => {
3514
3514
  className: "ml-2 text-xs text-sky-400 underline cursor-pointer hover:text-sky-300",
3515
3515
  onClick: () => r((e) => !e)
3516
3516
  }, n ? "collapse" : `+${e.length - ma} more chars`));
3517
- }, ga = ({ value: e, depth: n = 0 }) => {
3517
+ }, ga = ({ value: e, depth: n = 0, collapseFromDepth: r = Infinity }) => {
3518
+ let [i, a] = d(n >= r);
3518
3519
  if (e === null) return /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, "null");
3519
3520
  if (typeof e == "boolean") return /* @__PURE__ */ t.createElement("span", { className: "text-orange-400" }, String(e));
3520
3521
  if (typeof e == "number") return /* @__PURE__ */ t.createElement("span", { className: "text-orange-400" }, e);
3521
3522
  if (typeof e == "string") return /* @__PURE__ */ t.createElement(ha, { value: e });
3522
- if (Array.isArray(e)) return e.length === 0 ? /* @__PURE__ */ t.createElement("span", null, "[]") : /* @__PURE__ */ t.createElement("span", null, "[", e.map((r, i) => /* @__PURE__ */ t.createElement("div", {
3523
- key: i,
3523
+ if (Array.isArray(e)) return e.length === 0 ? /* @__PURE__ */ t.createElement("span", null, "[]") : /* @__PURE__ */ t.createElement("span", null, /* @__PURE__ */ t.createElement("button", {
3524
+ onClick: () => a((e) => !e),
3525
+ className: "text-muted-foreground hover:text-foreground cursor-pointer select-none"
3526
+ }, i ? "▸" : "▾"), i ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, " [", e.length, "]") : /* @__PURE__ */ t.createElement(t.Fragment, null, " [", e.map((i, a) => /* @__PURE__ */ t.createElement("div", {
3527
+ key: a,
3524
3528
  style: { paddingLeft: 16 }
3525
3529
  }, /* @__PURE__ */ t.createElement(ga, {
3526
- value: r,
3527
- depth: n + 1
3528
- }), i < e.length - 1 && /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, ","))), "]");
3530
+ value: i,
3531
+ depth: n + 1,
3532
+ collapseFromDepth: r
3533
+ }), a < e.length - 1 && /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, ","))), "]"));
3529
3534
  if (typeof e == "object") {
3530
- let r = Object.entries(e);
3531
- return r.length === 0 ? /* @__PURE__ */ t.createElement("span", null, "{}") : /* @__PURE__ */ t.createElement("span", null, "{", r.map(([e, i], a) => /* @__PURE__ */ t.createElement("div", {
3535
+ let o = Object.entries(e);
3536
+ return o.length === 0 ? /* @__PURE__ */ t.createElement("span", null, "{}") : /* @__PURE__ */ t.createElement("span", null, /* @__PURE__ */ t.createElement("button", {
3537
+ onClick: () => a((e) => !e),
3538
+ className: "text-muted-foreground hover:text-foreground cursor-pointer select-none"
3539
+ }, i ? "▸" : "▾"), i ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, " {", o.slice(0, 3).map(([e]) => e).join(", "), o.length > 3 ? ", …" : "", "}") : /* @__PURE__ */ t.createElement(t.Fragment, null, " {", o.map(([e, i], a) => /* @__PURE__ */ t.createElement("div", {
3532
3540
  key: e,
3533
3541
  style: { paddingLeft: 16 }
3534
3542
  }, /* @__PURE__ */ t.createElement("span", { className: "text-sky-400" }, "\"", e, "\""), /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, ": "), /* @__PURE__ */ t.createElement(ga, {
3535
3543
  value: i,
3536
- depth: n + 1
3537
- }), a < r.length - 1 && /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, ","))), "}");
3544
+ depth: n + 1,
3545
+ collapseFromDepth: r
3546
+ }), a < o.length - 1 && /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground" }, ","))), "}"));
3538
3547
  }
3539
3548
  return /* @__PURE__ */ t.createElement("span", null, String(e));
3540
3549
  }, _a = ({ data: e, history: n }) => {
@@ -3546,7 +3555,7 @@ var la = (e) => {
3546
3555
  }
3547
3556
  i(!0), setTimeout(() => i(!1), 2e3);
3548
3557
  }, c = n?.slice(1) ?? [];
3549
- return /* @__PURE__ */ t.createElement("div", { className: "space-y-2" }, /* @__PURE__ */ t.createElement("div", { className: "relative bg-primary text-primary-foreground p-4 rounded-md font-mono text-sm leading-6 overflow-x-hidden" }, /* @__PURE__ */ t.createElement("button", {
3558
+ return /* @__PURE__ */ t.createElement("div", { className: "space-y-2" }, /* @__PURE__ */ t.createElement("div", { className: "relative bg-primary text-primary-foreground p-4! rounded-md font-mono text-sm leading-6 overflow-x-hidden" }, /* @__PURE__ */ t.createElement("button", {
3550
3559
  onClick: s,
3551
3560
  className: "absolute top-2 right-2 text-xs text-muted-foreground hover:text-primary-foreground transition-colors"
3552
3561
  }, r ? "✓ Copied" : "Copy"), /* @__PURE__ */ t.createElement(ga, { value: e })), c.length > 0 && /* @__PURE__ */ t.createElement("div", null, /* @__PURE__ */ t.createElement("button", {
@@ -3561,7 +3570,7 @@ var la = (e) => {
3561
3570
  let [t] = e.split(":");
3562
3571
  return t.replace(/\\/g, "/").split("/").slice(-3).join("/");
3563
3572
  }, ya = () => {
3564
- let { openDialogId: e, closeDialog: n, dialogMeta: r } = Ul();
3573
+ let { openDialogId: e, closeDialog: n, dialogMeta: r } = ql();
3565
3574
  return /* @__PURE__ */ t.createElement(ta, {
3566
3575
  open: e !== null,
3567
3576
  onOpenChange: (e) => !e && n()
@@ -3604,7 +3613,7 @@ var la = (e) => {
3604
3613
  ...!o && !Ta(c) && { "aria-hidden": "true" },
3605
3614
  ...c
3606
3615
  }, [...s.map(([e, t]) => r(e, t)), ...Array.isArray(o) ? o : [o]]);
3607
- }), ka = ((e, t) => {
3616
+ }), ka = (e, t) => {
3608
3617
  let n = i(({ className: n, ...i }, a) => r(Oa, {
3609
3618
  ref: a,
3610
3619
  iconNode: t,
@@ -3612,7 +3621,24 @@ var la = (e) => {
3612
3621
  ...i
3613
3622
  }));
3614
3623
  return n.displayName = Ca(e), n;
3615
- })("scan-eye", [
3624
+ }, Aa = ka("maximize-2", [
3625
+ ["path", {
3626
+ d: "M15 3h6v6",
3627
+ key: "1q9fwt"
3628
+ }],
3629
+ ["path", {
3630
+ d: "m21 3-7 7",
3631
+ key: "1l2asr"
3632
+ }],
3633
+ ["path", {
3634
+ d: "m3 21 7-7",
3635
+ key: "tjx5ai"
3636
+ }],
3637
+ ["path", {
3638
+ d: "M9 21H3v-6",
3639
+ key: "wtvkvv"
3640
+ }]
3641
+ ]), ja = ka("scan-eye", [
3616
3642
  ["path", {
3617
3643
  d: "M3 7V5a2 2 0 0 1 2-2h2",
3618
3644
  key: "aa7l1z"
@@ -3639,80 +3665,80 @@ var la = (e) => {
3639
3665
  d: "M18.944 12.33a1 1 0 0 0 0-.66 7.5 7.5 0 0 0-13.888 0 1 1 0 0 0 0 .66 7.5 7.5 0 0 0 13.888 0",
3640
3666
  key: "11ak4c"
3641
3667
  }]
3642
- ]), Aa = [
3668
+ ]), Ma = [
3643
3669
  "top",
3644
3670
  "right",
3645
3671
  "bottom",
3646
3672
  "left"
3647
- ], ja = Math.min, q = Math.max, Ma = Math.round, Na = Math.floor, J = (e) => ({
3673
+ ], Na = Math.min, q = Math.max, Pa = Math.round, Fa = Math.floor, J = (e) => ({
3648
3674
  x: e,
3649
3675
  y: e
3650
- }), Pa = {
3676
+ }), Ia = {
3651
3677
  left: "right",
3652
3678
  right: "left",
3653
3679
  bottom: "top",
3654
3680
  top: "bottom"
3655
3681
  };
3656
- function Fa(e, t, n) {
3657
- return q(e, ja(t, n));
3682
+ function La(e, t, n) {
3683
+ return q(e, Na(t, n));
3658
3684
  }
3659
- function Ia(e, t) {
3685
+ function Ra(e, t) {
3660
3686
  return typeof e == "function" ? e(t) : e;
3661
3687
  }
3662
- function La(e) {
3688
+ function za(e) {
3663
3689
  return e.split("-")[0];
3664
3690
  }
3665
- function Ra(e) {
3691
+ function Ba(e) {
3666
3692
  return e.split("-")[1];
3667
3693
  }
3668
- function za(e) {
3694
+ function Va(e) {
3669
3695
  return e === "x" ? "y" : "x";
3670
3696
  }
3671
- function Ba(e) {
3697
+ function Ha(e) {
3672
3698
  return e === "y" ? "height" : "width";
3673
3699
  }
3674
3700
  function Y(e) {
3675
3701
  let t = e[0];
3676
3702
  return t === "t" || t === "b" ? "y" : "x";
3677
3703
  }
3678
- function Va(e) {
3679
- return za(Y(e));
3704
+ function Ua(e) {
3705
+ return Va(Y(e));
3680
3706
  }
3681
- function Ha(e, t, n) {
3707
+ function Wa(e, t, n) {
3682
3708
  n === void 0 && (n = !1);
3683
- let r = Ra(e), i = Va(e), a = Ba(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
3684
- return t.reference[a] > t.floating[a] && (o = Za(o)), [o, Za(o)];
3709
+ let r = Ba(e), i = Ua(e), a = Ha(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
3710
+ return t.reference[a] > t.floating[a] && (o = $a(o)), [o, $a(o)];
3685
3711
  }
3686
- function Ua(e) {
3687
- let t = Za(e);
3712
+ function Ga(e) {
3713
+ let t = $a(e);
3688
3714
  return [
3689
- Wa(e),
3715
+ Ka(e),
3690
3716
  t,
3691
- Wa(t)
3717
+ Ka(t)
3692
3718
  ];
3693
3719
  }
3694
- function Wa(e) {
3720
+ function Ka(e) {
3695
3721
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
3696
3722
  }
3697
- var Ga = ["left", "right"], Ka = ["right", "left"], qa = ["top", "bottom"], Ja = ["bottom", "top"];
3698
- function Ya(e, t, n) {
3723
+ var qa = ["left", "right"], Ja = ["right", "left"], Ya = ["top", "bottom"], Xa = ["bottom", "top"];
3724
+ function Za(e, t, n) {
3699
3725
  switch (e) {
3700
3726
  case "top":
3701
- case "bottom": return n ? t ? Ka : Ga : t ? Ga : Ka;
3727
+ case "bottom": return n ? t ? Ja : qa : t ? qa : Ja;
3702
3728
  case "left":
3703
- case "right": return t ? qa : Ja;
3729
+ case "right": return t ? Ya : Xa;
3704
3730
  default: return [];
3705
3731
  }
3706
3732
  }
3707
- function Xa(e, t, n, r) {
3708
- let i = Ra(e), a = Ya(La(e), n === "start", r);
3709
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Wa)))), a;
3733
+ function Qa(e, t, n, r) {
3734
+ let i = Ba(e), a = Za(za(e), n === "start", r);
3735
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Ka)))), a;
3710
3736
  }
3711
- function Za(e) {
3712
- let t = La(e);
3713
- return Pa[t] + e.slice(t.length);
3737
+ function $a(e) {
3738
+ let t = za(e);
3739
+ return Ia[t] + e.slice(t.length);
3714
3740
  }
3715
- function Qa(e) {
3741
+ function eo(e) {
3716
3742
  return {
3717
3743
  top: 0,
3718
3744
  right: 0,
@@ -3721,15 +3747,15 @@ function Qa(e) {
3721
3747
  ...e
3722
3748
  };
3723
3749
  }
3724
- function $a(e) {
3750
+ function to(e) {
3725
3751
  return typeof e == "number" ? {
3726
3752
  top: e,
3727
3753
  right: e,
3728
3754
  bottom: e,
3729
3755
  left: e
3730
- } : Qa(e);
3756
+ } : eo(e);
3731
3757
  }
3732
- function eo(e) {
3758
+ function no(e) {
3733
3759
  let { x: t, y: n, width: r, height: i } = e;
3734
3760
  return {
3735
3761
  width: r,
@@ -3744,8 +3770,8 @@ function eo(e) {
3744
3770
  }
3745
3771
  //#endregion
3746
3772
  //#region ../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs
3747
- function to(e, t, n) {
3748
- let { reference: r, floating: i } = e, a = Y(t), o = Va(t), s = Ba(o), c = La(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
3773
+ function ro(e, t, n) {
3774
+ let { reference: r, floating: i } = e, a = Y(t), o = Ua(t), s = Ha(o), c = za(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
3749
3775
  switch (c) {
3750
3776
  case "top":
3751
3777
  p = {
@@ -3776,7 +3802,7 @@ function to(e, t, n) {
3776
3802
  y: r.y
3777
3803
  };
3778
3804
  }
3779
- switch (Ra(t)) {
3805
+ switch (Ba(t)) {
3780
3806
  case "start":
3781
3807
  p[o] -= f * (n && l ? -1 : 1);
3782
3808
  break;
@@ -3786,9 +3812,9 @@ function to(e, t, n) {
3786
3812
  }
3787
3813
  return p;
3788
3814
  }
3789
- async function no(e, t) {
3815
+ async function io(e, t) {
3790
3816
  t === void 0 && (t = {});
3791
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Ia(t, e), p = $a(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = eo(await i.getClippingRect({
3817
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Ra(t, e), p = to(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = no(await i.getClippingRect({
3792
3818
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
3793
3819
  boundary: c,
3794
3820
  rootBoundary: l,
@@ -3801,7 +3827,7 @@ async function no(e, t) {
3801
3827
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
3802
3828
  x: 1,
3803
3829
  y: 1
3804
- }, y = eo(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
3830
+ }, y = no(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
3805
3831
  elements: o,
3806
3832
  rect: g,
3807
3833
  offsetParent: _,
@@ -3814,15 +3840,15 @@ async function no(e, t) {
3814
3840
  right: (y.right - h.right + p.right) / v.x
3815
3841
  };
3816
3842
  }
3817
- var ro = 50, io = async (e, t, n) => {
3843
+ var ao = 50, oo = async (e, t, n) => {
3818
3844
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
3819
3845
  ...o,
3820
- detectOverflow: no
3846
+ detectOverflow: io
3821
3847
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
3822
3848
  reference: e,
3823
3849
  floating: t,
3824
3850
  strategy: i
3825
- }), { x: u, y: d } = to(l, r, c), f = r, p = 0, m = {};
3851
+ }), { x: u, y: d } = ro(l, r, c), f = r, p = 0, m = {};
3826
3852
  for (let n = 0; n < a.length; n++) {
3827
3853
  let h = a[n];
3828
3854
  if (!h) continue;
@@ -3843,11 +3869,11 @@ var ro = 50, io = async (e, t, n) => {
3843
3869
  u = v ?? u, d = y ?? d, m[g] = {
3844
3870
  ...m[g],
3845
3871
  ...b
3846
- }, x && p < ro && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
3872
+ }, x && p < ao && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
3847
3873
  reference: e,
3848
3874
  floating: t,
3849
3875
  strategy: i
3850
- }) : x.rects), {x: u, y: d} = to(l, f, c)), n = -1);
3876
+ }) : x.rects), {x: u, y: d} = ro(l, f, c)), n = -1);
3851
3877
  }
3852
3878
  return {
3853
3879
  x: u,
@@ -3856,18 +3882,18 @@ var ro = 50, io = async (e, t, n) => {
3856
3882
  strategy: i,
3857
3883
  middlewareData: m
3858
3884
  };
3859
- }, ao = (e) => ({
3885
+ }, so = (e) => ({
3860
3886
  name: "arrow",
3861
3887
  options: e,
3862
3888
  async fn(t) {
3863
- let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Ia(e, t) || {};
3889
+ let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Ra(e, t) || {};
3864
3890
  if (l == null) return {};
3865
- let d = $a(u), f = {
3891
+ let d = to(u), f = {
3866
3892
  x: n,
3867
3893
  y: r
3868
- }, p = Va(i), m = Ba(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
3894
+ }, p = Ua(i), m = Ha(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
3869
3895
  (!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
3870
- let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = ja(d[_], T), ee = ja(d[v], T), D = E, te = C - h[m] - ee, O = C / 2 - h[m] / 2 + w, k = Fa(D, O, te), A = !c.arrow && Ra(i) != null && O !== k && a.reference[m] / 2 - (O < D ? E : ee) - h[m] / 2 < 0, j = A ? O < D ? O - D : O - te : 0;
3896
+ let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = Na(d[_], T), ee = Na(d[v], T), D = E, te = C - h[m] - ee, O = C / 2 - h[m] / 2 + w, k = La(D, O, te), A = !c.arrow && Ba(i) != null && O !== k && a.reference[m] / 2 - (O < D ? E : ee) - h[m] / 2 < 0, j = A ? O < D ? O - D : O - te : 0;
3871
3897
  return {
3872
3898
  [p]: f[p] + j,
3873
3899
  data: {
@@ -3878,19 +3904,19 @@ var ro = 50, io = async (e, t, n) => {
3878
3904
  reset: A
3879
3905
  };
3880
3906
  }
3881
- }), oo = function(e) {
3907
+ }), co = function(e) {
3882
3908
  return e === void 0 && (e = {}), {
3883
3909
  name: "flip",
3884
3910
  options: e,
3885
3911
  async fn(t) {
3886
3912
  var n;
3887
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Ia(e, t);
3913
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Ra(e, t);
3888
3914
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
3889
- let g = La(r), _ = Y(o), v = La(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Za(o)] : Ua(o)), x = p !== "none";
3890
- !d && x && b.push(...Xa(o, m, p, y));
3915
+ let g = za(r), _ = Y(o), v = za(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [$a(o)] : Ga(o)), x = p !== "none";
3916
+ !d && x && b.push(...Qa(o, m, p, y));
3891
3917
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
3892
3918
  if (l && w.push(C[g]), u) {
3893
- let e = Ha(r, a, y);
3919
+ let e = Wa(r, a, y);
3894
3920
  w.push(C[e[0]], C[e[1]]);
3895
3921
  }
3896
3922
  if (T = [...T, {
@@ -3928,7 +3954,7 @@ var ro = 50, io = async (e, t, n) => {
3928
3954
  }
3929
3955
  };
3930
3956
  };
3931
- function so(e, t) {
3957
+ function lo(e, t) {
3932
3958
  return {
3933
3959
  top: e.top - t.height,
3934
3960
  right: e.right - t.width,
@@ -3936,43 +3962,43 @@ function so(e, t) {
3936
3962
  left: e.left - t.width
3937
3963
  };
3938
3964
  }
3939
- function co(e) {
3940
- return Aa.some((t) => e[t] >= 0);
3965
+ function uo(e) {
3966
+ return Ma.some((t) => e[t] >= 0);
3941
3967
  }
3942
- var lo = function(e) {
3968
+ var fo = function(e) {
3943
3969
  return e === void 0 && (e = {}), {
3944
3970
  name: "hide",
3945
3971
  options: e,
3946
3972
  async fn(t) {
3947
- let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = Ia(e, t);
3973
+ let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = Ra(e, t);
3948
3974
  switch (i) {
3949
3975
  case "referenceHidden": {
3950
- let e = so(await r.detectOverflow(t, {
3976
+ let e = lo(await r.detectOverflow(t, {
3951
3977
  ...a,
3952
3978
  elementContext: "reference"
3953
3979
  }), n.reference);
3954
3980
  return { data: {
3955
3981
  referenceHiddenOffsets: e,
3956
- referenceHidden: co(e)
3982
+ referenceHidden: uo(e)
3957
3983
  } };
3958
3984
  }
3959
3985
  case "escaped": {
3960
- let e = so(await r.detectOverflow(t, {
3986
+ let e = lo(await r.detectOverflow(t, {
3961
3987
  ...a,
3962
3988
  altBoundary: !0
3963
3989
  }), n.floating);
3964
3990
  return { data: {
3965
3991
  escapedOffsets: e,
3966
- escaped: co(e)
3992
+ escaped: uo(e)
3967
3993
  } };
3968
3994
  }
3969
3995
  default: return {};
3970
3996
  }
3971
3997
  }
3972
3998
  };
3973
- }, uo = /*#__PURE__*/ new Set(["left", "top"]);
3974
- async function fo(e, t) {
3975
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = La(n), s = Ra(n), c = Y(n) === "y", l = uo.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ia(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
3999
+ }, po = /*#__PURE__*/ new Set(["left", "top"]);
4000
+ async function mo(e, t) {
4001
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = za(n), s = Ba(n), c = Y(n) === "y", l = po.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ra(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
3976
4002
  mainAxis: d,
3977
4003
  crossAxis: 0,
3978
4004
  alignmentAxis: null
@@ -3989,13 +4015,13 @@ async function fo(e, t) {
3989
4015
  y: p * u
3990
4016
  };
3991
4017
  }
3992
- var po = function(e) {
4018
+ var ho = function(e) {
3993
4019
  return e === void 0 && (e = 0), {
3994
4020
  name: "offset",
3995
4021
  options: e,
3996
4022
  async fn(t) {
3997
4023
  var n;
3998
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await fo(t, e);
4024
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await mo(t, e);
3999
4025
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
4000
4026
  x: r + s.x,
4001
4027
  y: i + s.y,
@@ -4006,7 +4032,7 @@ var po = function(e) {
4006
4032
  };
4007
4033
  }
4008
4034
  };
4009
- }, mo = function(e) {
4035
+ }, go = function(e) {
4010
4036
  return e === void 0 && (e = {}), {
4011
4037
  name: "shift",
4012
4038
  options: e,
@@ -4017,17 +4043,17 @@ var po = function(e) {
4017
4043
  x: t,
4018
4044
  y: n
4019
4045
  };
4020
- } }, ...l } = Ia(e, t), u = {
4046
+ } }, ...l } = Ra(e, t), u = {
4021
4047
  x: n,
4022
4048
  y: r
4023
- }, d = await a.detectOverflow(t, l), f = Y(La(i)), p = za(f), m = u[p], h = u[f];
4049
+ }, d = await a.detectOverflow(t, l), f = Y(za(i)), p = Va(f), m = u[p], h = u[f];
4024
4050
  if (o) {
4025
4051
  let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
4026
- m = Fa(n, m, r);
4052
+ m = La(n, m, r);
4027
4053
  }
4028
4054
  if (s) {
4029
4055
  let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
4030
- h = Fa(n, h, r);
4056
+ h = La(n, h, r);
4031
4057
  }
4032
4058
  let g = c.fn({
4033
4059
  ...t,
@@ -4047,14 +4073,14 @@ var po = function(e) {
4047
4073
  };
4048
4074
  }
4049
4075
  };
4050
- }, ho = function(e) {
4076
+ }, _o = function(e) {
4051
4077
  return e === void 0 && (e = {}), {
4052
4078
  options: e,
4053
4079
  fn(t) {
4054
- let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = Ia(e, t), u = {
4080
+ let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = Ra(e, t), u = {
4055
4081
  x: n,
4056
4082
  y: r
4057
- }, d = Y(i), f = za(d), p = u[f], m = u[d], h = Ia(s, t), g = typeof h == "number" ? {
4083
+ }, d = Y(i), f = Va(d), p = u[f], m = u[d], h = Ra(s, t), g = typeof h == "number" ? {
4058
4084
  mainAxis: h,
4059
4085
  crossAxis: 0
4060
4086
  } : {
@@ -4067,7 +4093,7 @@ var po = function(e) {
4067
4093
  p < t ? p = t : p > n && (p = n);
4068
4094
  }
4069
4095
  if (l) {
4070
- let e = f === "y" ? "width" : "height", t = uo.has(La(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
4096
+ let e = f === "y" ? "width" : "height", t = po.has(za(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
4071
4097
  m < n ? m = n : m > r && (m = r);
4072
4098
  }
4073
4099
  return {
@@ -4076,15 +4102,15 @@ var po = function(e) {
4076
4102
  };
4077
4103
  }
4078
4104
  };
4079
- }, go = function(e) {
4105
+ }, vo = function(e) {
4080
4106
  return e === void 0 && (e = {}), {
4081
4107
  name: "size",
4082
4108
  options: e,
4083
4109
  async fn(t) {
4084
4110
  var n, r;
4085
- let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = Ia(e, t), u = await o.detectOverflow(t, l), d = La(i), f = Ra(i), p = Y(i) === "y", { width: m, height: h } = a.floating, g, _;
4111
+ let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = Ra(e, t), u = await o.detectOverflow(t, l), d = za(i), f = Ba(i), p = Y(i) === "y", { width: m, height: h } = a.floating, g, _;
4086
4112
  d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
4087
- let v = h - u.top - u.bottom, y = m - u.left - u.right, b = ja(h - u[g], v), x = ja(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
4113
+ let v = h - u.top - u.bottom, y = m - u.left - u.right, b = Na(h - u[g], v), x = Na(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
4088
4114
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
4089
4115
  let e = q(u.left, 0), t = q(u.right, 0), n = q(u.top, 0), r = q(u.bottom, 0);
4090
4116
  p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : q(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : q(u.top, u.bottom));
@@ -4101,39 +4127,39 @@ var po = function(e) {
4101
4127
  };
4102
4128
  //#endregion
4103
4129
  //#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
4104
- function _o() {
4130
+ function yo() {
4105
4131
  return typeof window < "u";
4106
4132
  }
4107
- function vo(e) {
4108
- return yo(e) ? (e.nodeName || "").toLowerCase() : "#document";
4133
+ function bo(e) {
4134
+ return xo(e) ? (e.nodeName || "").toLowerCase() : "#document";
4109
4135
  }
4110
4136
  function X(e) {
4111
4137
  var t;
4112
4138
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
4113
4139
  }
4114
4140
  function Z(e) {
4115
- return ((yo(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
4141
+ return ((xo(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
4116
4142
  }
4117
- function yo(e) {
4118
- return _o() ? e instanceof Node || e instanceof X(e).Node : !1;
4143
+ function xo(e) {
4144
+ return yo() ? e instanceof Node || e instanceof X(e).Node : !1;
4119
4145
  }
4120
4146
  function Q(e) {
4121
- return _o() ? e instanceof Element || e instanceof X(e).Element : !1;
4147
+ return yo() ? e instanceof Element || e instanceof X(e).Element : !1;
4122
4148
  }
4123
- function bo(e) {
4124
- return _o() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
4149
+ function So(e) {
4150
+ return yo() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
4125
4151
  }
4126
- function xo(e) {
4127
- return !_o() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
4152
+ function Co(e) {
4153
+ return !yo() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
4128
4154
  }
4129
- function So(e) {
4155
+ function wo(e) {
4130
4156
  let { overflow: t, overflowX: n, overflowY: r, display: i } = $(e);
4131
4157
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
4132
4158
  }
4133
- function Co(e) {
4134
- return /^(table|td|th)$/.test(vo(e));
4159
+ function To(e) {
4160
+ return /^(table|td|th)$/.test(bo(e));
4135
4161
  }
4136
- function wo(e) {
4162
+ function Eo(e) {
4137
4163
  try {
4138
4164
  if (e.matches(":popover-open")) return !0;
4139
4165
  } catch {}
@@ -4143,30 +4169,30 @@ function wo(e) {
4143
4169
  return !1;
4144
4170
  }
4145
4171
  }
4146
- var To = /transform|translate|scale|rotate|perspective|filter/, Eo = /paint|layout|strict|content/, Do = (e) => !!e && e !== "none", Oo;
4147
- function ko(e) {
4172
+ var Do = /transform|translate|scale|rotate|perspective|filter/, Oo = /paint|layout|strict|content/, ko = (e) => !!e && e !== "none", Ao;
4173
+ function jo(e) {
4148
4174
  let t = Q(e) ? $(e) : e;
4149
- return Do(t.transform) || Do(t.translate) || Do(t.scale) || Do(t.rotate) || Do(t.perspective) || !jo() && (Do(t.backdropFilter) || Do(t.filter)) || To.test(t.willChange || "") || Eo.test(t.contain || "");
4150
- }
4151
- function Ao(e) {
4152
- let t = Po(e);
4153
- for (; bo(t) && !Mo(t);) {
4154
- if (ko(t)) return t;
4155
- if (wo(t)) return null;
4156
- t = Po(t);
4175
+ return ko(t.transform) || ko(t.translate) || ko(t.scale) || ko(t.rotate) || ko(t.perspective) || !No() && (ko(t.backdropFilter) || ko(t.filter)) || Do.test(t.willChange || "") || Oo.test(t.contain || "");
4176
+ }
4177
+ function Mo(e) {
4178
+ let t = Io(e);
4179
+ for (; So(t) && !Po(t);) {
4180
+ if (jo(t)) return t;
4181
+ if (Eo(t)) return null;
4182
+ t = Io(t);
4157
4183
  }
4158
4184
  return null;
4159
4185
  }
4160
- function jo() {
4161
- return Oo ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Oo;
4186
+ function No() {
4187
+ return Ao ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Ao;
4162
4188
  }
4163
- function Mo(e) {
4164
- return /^(html|body|#document)$/.test(vo(e));
4189
+ function Po(e) {
4190
+ return /^(html|body|#document)$/.test(bo(e));
4165
4191
  }
4166
4192
  function $(e) {
4167
4193
  return X(e).getComputedStyle(e);
4168
4194
  }
4169
- function No(e) {
4195
+ function Fo(e) {
4170
4196
  return Q(e) ? {
4171
4197
  scrollLeft: e.scrollLeft,
4172
4198
  scrollTop: e.scrollTop
@@ -4175,101 +4201,101 @@ function No(e) {
4175
4201
  scrollTop: e.scrollY
4176
4202
  };
4177
4203
  }
4178
- function Po(e) {
4179
- if (vo(e) === "html") return e;
4180
- let t = e.assignedSlot || e.parentNode || xo(e) && e.host || Z(e);
4181
- return xo(t) ? t.host : t;
4204
+ function Io(e) {
4205
+ if (bo(e) === "html") return e;
4206
+ let t = e.assignedSlot || e.parentNode || Co(e) && e.host || Z(e);
4207
+ return Co(t) ? t.host : t;
4182
4208
  }
4183
- function Fo(e) {
4184
- let t = Po(e);
4185
- return Mo(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : bo(t) && So(t) ? t : Fo(t);
4209
+ function Lo(e) {
4210
+ let t = Io(e);
4211
+ return Po(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : So(t) && wo(t) ? t : Lo(t);
4186
4212
  }
4187
- function Io(e, t, n) {
4213
+ function Ro(e, t, n) {
4188
4214
  t === void 0 && (t = []), n === void 0 && (n = !0);
4189
- let r = Fo(e), i = r === e.ownerDocument?.body, a = X(r);
4215
+ let r = Lo(e), i = r === e.ownerDocument?.body, a = X(r);
4190
4216
  if (i) {
4191
- let e = Lo(a);
4192
- return t.concat(a, a.visualViewport || [], So(r) ? r : [], e && n ? Io(e) : []);
4193
- } else return t.concat(r, Io(r, [], n));
4217
+ let e = zo(a);
4218
+ return t.concat(a, a.visualViewport || [], wo(r) ? r : [], e && n ? Ro(e) : []);
4219
+ } else return t.concat(r, Ro(r, [], n));
4194
4220
  }
4195
- function Lo(e) {
4221
+ function zo(e) {
4196
4222
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
4197
4223
  }
4198
4224
  //#endregion
4199
4225
  //#region ../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
4200
- function Ro(e) {
4201
- let t = $(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = bo(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Ma(n) !== a || Ma(r) !== o;
4226
+ function Bo(e) {
4227
+ let t = $(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = So(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Pa(n) !== a || Pa(r) !== o;
4202
4228
  return s && (n = a, r = o), {
4203
4229
  width: n,
4204
4230
  height: r,
4205
4231
  $: s
4206
4232
  };
4207
4233
  }
4208
- function zo(e) {
4234
+ function Vo(e) {
4209
4235
  return Q(e) ? e : e.contextElement;
4210
4236
  }
4211
- function Bo(e) {
4212
- let t = zo(e);
4213
- if (!bo(t)) return J(1);
4214
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Ro(t), o = (a ? Ma(n.width) : n.width) / r, s = (a ? Ma(n.height) : n.height) / i;
4237
+ function Ho(e) {
4238
+ let t = Vo(e);
4239
+ if (!So(t)) return J(1);
4240
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Bo(t), o = (a ? Pa(n.width) : n.width) / r, s = (a ? Pa(n.height) : n.height) / i;
4215
4241
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
4216
4242
  x: o,
4217
4243
  y: s
4218
4244
  };
4219
4245
  }
4220
- var Vo = /*#__PURE__*/ J(0);
4221
- function Ho(e) {
4246
+ var Uo = /*#__PURE__*/ J(0);
4247
+ function Wo(e) {
4222
4248
  let t = X(e);
4223
- return !jo() || !t.visualViewport ? Vo : {
4249
+ return !No() || !t.visualViewport ? Uo : {
4224
4250
  x: t.visualViewport.offsetLeft,
4225
4251
  y: t.visualViewport.offsetTop
4226
4252
  };
4227
4253
  }
4228
- function Uo(e, t, n) {
4254
+ function Go(e, t, n) {
4229
4255
  return t === void 0 && (t = !1), !n || t && n !== X(e) ? !1 : t;
4230
4256
  }
4231
- function Wo(e, t, n, r) {
4257
+ function Ko(e, t, n, r) {
4232
4258
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4233
- let i = e.getBoundingClientRect(), a = zo(e), o = J(1);
4234
- t && (r ? Q(r) && (o = Bo(r)) : o = Bo(e));
4235
- let s = Uo(a, n, r) ? Ho(a) : J(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
4259
+ let i = e.getBoundingClientRect(), a = Vo(e), o = J(1);
4260
+ t && (r ? Q(r) && (o = Ho(r)) : o = Ho(e));
4261
+ let s = Go(a, n, r) ? Wo(a) : J(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
4236
4262
  if (a) {
4237
- let e = X(a), t = r && Q(r) ? X(r) : r, n = e, i = Lo(n);
4263
+ let e = X(a), t = r && Q(r) ? X(r) : r, n = e, i = zo(n);
4238
4264
  for (; i && r && t !== n;) {
4239
- let e = Bo(i), t = i.getBoundingClientRect(), r = $(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
4240
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = X(i), i = Lo(n);
4265
+ let e = Ho(i), t = i.getBoundingClientRect(), r = $(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
4266
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = X(i), i = zo(n);
4241
4267
  }
4242
4268
  }
4243
- return eo({
4269
+ return no({
4244
4270
  width: u,
4245
4271
  height: d,
4246
4272
  x: c,
4247
4273
  y: l
4248
4274
  });
4249
4275
  }
4250
- function Go(e, t) {
4251
- let n = No(e).scrollLeft;
4252
- return t ? t.left + n : Wo(Z(e)).left + n;
4276
+ function qo(e, t) {
4277
+ let n = Fo(e).scrollLeft;
4278
+ return t ? t.left + n : Ko(Z(e)).left + n;
4253
4279
  }
4254
- function Ko(e, t) {
4280
+ function Jo(e, t) {
4255
4281
  let n = e.getBoundingClientRect();
4256
4282
  return {
4257
- x: n.left + t.scrollLeft - Go(e, n),
4283
+ x: n.left + t.scrollLeft - qo(e, n),
4258
4284
  y: n.top + t.scrollTop
4259
4285
  };
4260
4286
  }
4261
- function qo(e) {
4262
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Z(r), s = t ? wo(t.floating) : !1;
4287
+ function Yo(e) {
4288
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = Z(r), s = t ? Eo(t.floating) : !1;
4263
4289
  if (r === o || s && a) return n;
4264
4290
  let c = {
4265
4291
  scrollLeft: 0,
4266
4292
  scrollTop: 0
4267
- }, l = J(1), u = J(0), d = bo(r);
4268
- if ((d || !d && !a) && ((vo(r) !== "body" || So(o)) && (c = No(r)), d)) {
4269
- let e = Wo(r);
4270
- l = Bo(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
4293
+ }, l = J(1), u = J(0), d = So(r);
4294
+ if ((d || !d && !a) && ((bo(r) !== "body" || wo(o)) && (c = Fo(r)), d)) {
4295
+ let e = Ko(r);
4296
+ l = Ho(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
4271
4297
  }
4272
- let f = o && !d && !a ? Ko(o, c) : J(0);
4298
+ let f = o && !d && !a ? Jo(o, c) : J(0);
4273
4299
  return {
4274
4300
  width: n.width * l.x,
4275
4301
  height: n.height * l.y,
@@ -4277,11 +4303,11 @@ function qo(e) {
4277
4303
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
4278
4304
  };
4279
4305
  }
4280
- function Jo(e) {
4306
+ function Xo(e) {
4281
4307
  return Array.from(e.getClientRects());
4282
4308
  }
4283
- function Yo(e) {
4284
- let t = Z(e), n = No(e), r = e.ownerDocument.body, i = q(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = q(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Go(e), s = -n.scrollTop;
4309
+ function Zo(e) {
4310
+ let t = Z(e), n = Fo(e), r = e.ownerDocument.body, i = q(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = q(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + qo(e), s = -n.scrollTop;
4285
4311
  return $(r).direction === "rtl" && (o += q(t.clientWidth, r.clientWidth) - i), {
4286
4312
  width: i,
4287
4313
  height: a,
@@ -4289,19 +4315,19 @@ function Yo(e) {
4289
4315
  y: s
4290
4316
  };
4291
4317
  }
4292
- var Xo = 25;
4293
- function Zo(e, t) {
4318
+ var Qo = 25;
4319
+ function $o(e, t) {
4294
4320
  let n = X(e), r = Z(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
4295
4321
  if (i) {
4296
4322
  a = i.width, o = i.height;
4297
- let e = jo();
4323
+ let e = No();
4298
4324
  (!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
4299
4325
  }
4300
- let l = Go(r);
4326
+ let l = qo(r);
4301
4327
  if (l <= 0) {
4302
4328
  let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
4303
- o <= Xo && (a -= o);
4304
- } else l <= Xo && (a += l);
4329
+ o <= Qo && (a -= o);
4330
+ } else l <= Qo && (a += l);
4305
4331
  return {
4306
4332
  width: a,
4307
4333
  height: o,
@@ -4309,8 +4335,8 @@ function Zo(e, t) {
4309
4335
  y: c
4310
4336
  };
4311
4337
  }
4312
- function Qo(e, t) {
4313
- let n = Wo(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = bo(e) ? Bo(e) : J(1);
4338
+ function es(e, t) {
4339
+ let n = Ko(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = So(e) ? Ho(e) : J(1);
4314
4340
  return {
4315
4341
  width: e.clientWidth * a.x,
4316
4342
  height: e.clientHeight * a.y,
@@ -4318,13 +4344,13 @@ function Qo(e, t) {
4318
4344
  y: r * a.y
4319
4345
  };
4320
4346
  }
4321
- function $o(e, t, n) {
4347
+ function ts(e, t, n) {
4322
4348
  let r;
4323
- if (t === "viewport") r = Zo(e, n);
4324
- else if (t === "document") r = Yo(Z(e));
4325
- else if (Q(t)) r = Qo(t, n);
4349
+ if (t === "viewport") r = $o(e, n);
4350
+ else if (t === "document") r = Zo(Z(e));
4351
+ else if (Q(t)) r = es(t, n);
4326
4352
  else {
4327
- let n = Ho(e);
4353
+ let n = Wo(e);
4328
4354
  r = {
4329
4355
  x: t.x - n.x,
4330
4356
  y: t.y - n.y,
@@ -4332,27 +4358,27 @@ function $o(e, t, n) {
4332
4358
  height: t.height
4333
4359
  };
4334
4360
  }
4335
- return eo(r);
4361
+ return no(r);
4336
4362
  }
4337
- function es(e, t) {
4338
- let n = Po(e);
4339
- return n === t || !Q(n) || Mo(n) ? !1 : $(n).position === "fixed" || es(n, t);
4363
+ function ns(e, t) {
4364
+ let n = Io(e);
4365
+ return n === t || !Q(n) || Po(n) ? !1 : $(n).position === "fixed" || ns(n, t);
4340
4366
  }
4341
- function ts(e, t) {
4367
+ function rs(e, t) {
4342
4368
  let n = t.get(e);
4343
4369
  if (n) return n;
4344
- let r = Io(e, [], !1).filter((e) => Q(e) && vo(e) !== "body"), i = null, a = $(e).position === "fixed", o = a ? Po(e) : e;
4345
- for (; Q(o) && !Mo(o);) {
4346
- let t = $(o), n = ko(o);
4347
- !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || So(o) && !n && es(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Po(o);
4370
+ let r = Ro(e, [], !1).filter((e) => Q(e) && bo(e) !== "body"), i = null, a = $(e).position === "fixed", o = a ? Io(e) : e;
4371
+ for (; Q(o) && !Po(o);) {
4372
+ let t = $(o), n = jo(o);
4373
+ !n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || wo(o) && !n && ns(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Io(o);
4348
4374
  }
4349
4375
  return t.set(e, r), r;
4350
4376
  }
4351
- function ns(e) {
4352
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? wo(t) ? [] : ts(t, this._c) : [].concat(n), r], o = $o(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
4377
+ function is(e) {
4378
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Eo(t) ? [] : rs(t, this._c) : [].concat(n), r], o = ts(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
4353
4379
  for (let e = 1; e < a.length; e++) {
4354
- let n = $o(t, a[e], i);
4355
- s = q(n.top, s), c = ja(n.right, c), l = ja(n.bottom, l), u = q(n.left, u);
4380
+ let n = ts(t, a[e], i);
4381
+ s = q(n.top, s), c = Na(n.right, c), l = Na(n.bottom, l), u = q(n.left, u);
4356
4382
  }
4357
4383
  return {
4358
4384
  width: c - u,
@@ -4361,27 +4387,27 @@ function ns(e) {
4361
4387
  y: s
4362
4388
  };
4363
4389
  }
4364
- function rs(e) {
4365
- let { width: t, height: n } = Ro(e);
4390
+ function as(e) {
4391
+ let { width: t, height: n } = Bo(e);
4366
4392
  return {
4367
4393
  width: t,
4368
4394
  height: n
4369
4395
  };
4370
4396
  }
4371
- function is(e, t, n) {
4372
- let r = bo(t), i = Z(t), a = n === "fixed", o = Wo(e, !0, a, t), s = {
4397
+ function os(e, t, n) {
4398
+ let r = So(t), i = Z(t), a = n === "fixed", o = Ko(e, !0, a, t), s = {
4373
4399
  scrollLeft: 0,
4374
4400
  scrollTop: 0
4375
4401
  }, c = J(0);
4376
4402
  function l() {
4377
- c.x = Go(i);
4403
+ c.x = qo(i);
4378
4404
  }
4379
- if (r || !r && !a) if ((vo(t) !== "body" || So(i)) && (s = No(t)), r) {
4380
- let e = Wo(t, !0, a, t);
4405
+ if (r || !r && !a) if ((bo(t) !== "body" || wo(i)) && (s = Fo(t)), r) {
4406
+ let e = Ko(t, !0, a, t);
4381
4407
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
4382
4408
  } else i && l();
4383
4409
  a && !r && i && l();
4384
- let u = i && !r && !a ? Ko(i, s) : J(0);
4410
+ let u = i && !r && !a ? Jo(i, s) : J(0);
4385
4411
  return {
4386
4412
  x: o.left + s.scrollLeft - c.x - u.x,
4387
4413
  y: o.top + s.scrollTop - c.y - u.y,
@@ -4389,34 +4415,34 @@ function is(e, t, n) {
4389
4415
  height: o.height
4390
4416
  };
4391
4417
  }
4392
- function as(e) {
4418
+ function ss(e) {
4393
4419
  return $(e).position === "static";
4394
4420
  }
4395
- function os(e, t) {
4396
- if (!bo(e) || $(e).position === "fixed") return null;
4421
+ function cs(e, t) {
4422
+ if (!So(e) || $(e).position === "fixed") return null;
4397
4423
  if (t) return t(e);
4398
4424
  let n = e.offsetParent;
4399
4425
  return Z(e) === n && (n = n.ownerDocument.body), n;
4400
4426
  }
4401
- function ss(e, t) {
4427
+ function ls(e, t) {
4402
4428
  let n = X(e);
4403
- if (wo(e)) return n;
4404
- if (!bo(e)) {
4405
- let t = Po(e);
4406
- for (; t && !Mo(t);) {
4407
- if (Q(t) && !as(t)) return t;
4408
- t = Po(t);
4429
+ if (Eo(e)) return n;
4430
+ if (!So(e)) {
4431
+ let t = Io(e);
4432
+ for (; t && !Po(t);) {
4433
+ if (Q(t) && !ss(t)) return t;
4434
+ t = Io(t);
4409
4435
  }
4410
4436
  return n;
4411
4437
  }
4412
- let r = os(e, t);
4413
- for (; r && Co(r) && as(r);) r = os(r, t);
4414
- return r && Mo(r) && as(r) && !ko(r) ? n : r || Ao(e) || n;
4438
+ let r = cs(e, t);
4439
+ for (; r && To(r) && ss(r);) r = cs(r, t);
4440
+ return r && Po(r) && ss(r) && !jo(r) ? n : r || Mo(e) || n;
4415
4441
  }
4416
- var cs = async function(e) {
4417
- let t = this.getOffsetParent || ss, n = this.getDimensions, r = await n(e.floating);
4442
+ var us = async function(e) {
4443
+ let t = this.getOffsetParent || ls, n = this.getDimensions, r = await n(e.floating);
4418
4444
  return {
4419
- reference: is(e.reference, await t(e.floating), e.strategy),
4445
+ reference: os(e.reference, await t(e.floating), e.strategy),
4420
4446
  floating: {
4421
4447
  x: 0,
4422
4448
  y: 0,
@@ -4425,25 +4451,25 @@ var cs = async function(e) {
4425
4451
  }
4426
4452
  };
4427
4453
  };
4428
- function ls(e) {
4454
+ function ds(e) {
4429
4455
  return $(e).direction === "rtl";
4430
4456
  }
4431
- var us = {
4432
- convertOffsetParentRelativeRectToViewportRelativeRect: qo,
4457
+ var fs = {
4458
+ convertOffsetParentRelativeRectToViewportRelativeRect: Yo,
4433
4459
  getDocumentElement: Z,
4434
- getClippingRect: ns,
4435
- getOffsetParent: ss,
4436
- getElementRects: cs,
4437
- getClientRects: Jo,
4438
- getDimensions: rs,
4439
- getScale: Bo,
4460
+ getClippingRect: is,
4461
+ getOffsetParent: ls,
4462
+ getElementRects: us,
4463
+ getClientRects: Xo,
4464
+ getDimensions: as,
4465
+ getScale: Ho,
4440
4466
  isElement: Q,
4441
- isRTL: ls
4467
+ isRTL: ds
4442
4468
  };
4443
- function ds(e, t) {
4469
+ function ps(e, t) {
4444
4470
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
4445
4471
  }
4446
- function fs(e, t) {
4472
+ function ms(e, t) {
4447
4473
  let n = null, r, i = Z(e);
4448
4474
  function a() {
4449
4475
  var e;
@@ -4453,9 +4479,9 @@ function fs(e, t) {
4453
4479
  s === void 0 && (s = !1), c === void 0 && (c = 1), a();
4454
4480
  let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
4455
4481
  if (s || t(), !f || !p) return;
4456
- let m = Na(d), h = Na(i.clientWidth - (u + f)), g = Na(i.clientHeight - (d + p)), _ = Na(u), v = {
4482
+ let m = Fa(d), h = Fa(i.clientWidth - (u + f)), g = Fa(i.clientHeight - (d + p)), _ = Fa(u), v = {
4457
4483
  rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
4458
- threshold: q(0, ja(1, c)) || 1
4484
+ threshold: q(0, Na(1, c)) || 1
4459
4485
  }, y = !0;
4460
4486
  function b(t) {
4461
4487
  let n = t[0].intersectionRatio;
@@ -4465,7 +4491,7 @@ function fs(e, t) {
4465
4491
  o(!1, 1e-7);
4466
4492
  }, 1e3);
4467
4493
  }
4468
- n === 1 && !ds(l, e.getBoundingClientRect()) && o(), y = !1;
4494
+ n === 1 && !ps(l, e.getBoundingClientRect()) && o(), y = !1;
4469
4495
  }
4470
4496
  try {
4471
4497
  n = new IntersectionObserver(b, {
@@ -4479,13 +4505,13 @@ function fs(e, t) {
4479
4505
  }
4480
4506
  return o(!0), a;
4481
4507
  }
4482
- function ps(e, t, n, r) {
4508
+ function hs(e, t, n, r) {
4483
4509
  r === void 0 && (r = {});
4484
- let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = zo(e), u = i || a ? [...l ? Io(l) : [], ...t ? Io(t) : []] : [];
4510
+ let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Vo(e), u = i || a ? [...l ? Ro(l) : [], ...t ? Ro(t) : []] : [];
4485
4511
  u.forEach((e) => {
4486
4512
  i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
4487
4513
  });
4488
- let d = l && s ? fs(l, n) : null, f = -1, p = null;
4514
+ let d = l && s ? ms(l, n) : null, f = -1, p = null;
4489
4515
  o && (p = new ResizeObserver((e) => {
4490
4516
  let [r] = e;
4491
4517
  r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
@@ -4493,11 +4519,11 @@ function ps(e, t, n, r) {
4493
4519
  (e = p) == null || e.observe(t);
4494
4520
  })), n();
4495
4521
  }), l && !c && p.observe(l), t && p.observe(t));
4496
- let m, h = c ? Wo(e) : null;
4522
+ let m, h = c ? Ko(e) : null;
4497
4523
  c && g();
4498
4524
  function g() {
4499
- let t = Wo(e);
4500
- h && !ds(h, t) && n(), h = t, m = requestAnimationFrame(g);
4525
+ let t = Ko(e);
4526
+ h && !ps(h, t) && n(), h = t, m = requestAnimationFrame(g);
4501
4527
  }
4502
4528
  return n(), () => {
4503
4529
  var e;
@@ -4506,20 +4532,20 @@ function ps(e, t, n, r) {
4506
4532
  }), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
4507
4533
  };
4508
4534
  }
4509
- var ms = po, hs = mo, gs = oo, _s = go, vs = lo, ys = ao, bs = ho, xs = (e, t, n) => {
4535
+ var gs = ho, _s = go, vs = co, ys = vo, bs = fo, xs = so, Ss = _o, Cs = (e, t, n) => {
4510
4536
  let r = /* @__PURE__ */ new Map(), i = {
4511
- platform: us,
4537
+ platform: fs,
4512
4538
  ...n
4513
4539
  }, a = {
4514
4540
  ...i.platform,
4515
4541
  _c: r
4516
4542
  };
4517
- return io(e, t, {
4543
+ return oo(e, t, {
4518
4544
  ...i,
4519
4545
  platform: a
4520
4546
  });
4521
- }, Ss = typeof document < "u" ? c : function() {};
4522
- function Cs(e, t) {
4547
+ }, ws = typeof document < "u" ? c : function() {};
4548
+ function Ts(e, t) {
4523
4549
  if (e === t) return !0;
4524
4550
  if (typeof e != typeof t) return !1;
4525
4551
  if (typeof e == "function" && e.toString() === t.toString()) return !0;
@@ -4527,33 +4553,33 @@ function Cs(e, t) {
4527
4553
  if (e && t && typeof e == "object") {
4528
4554
  if (Array.isArray(e)) {
4529
4555
  if (n = e.length, n !== t.length) return !1;
4530
- for (r = n; r-- !== 0;) if (!Cs(e[r], t[r])) return !1;
4556
+ for (r = n; r-- !== 0;) if (!Ts(e[r], t[r])) return !1;
4531
4557
  return !0;
4532
4558
  }
4533
4559
  if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
4534
4560
  for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
4535
4561
  for (r = n; r-- !== 0;) {
4536
4562
  let n = i[r];
4537
- if (!(n === "_owner" && e.$$typeof) && !Cs(e[n], t[n])) return !1;
4563
+ if (!(n === "_owner" && e.$$typeof) && !Ts(e[n], t[n])) return !1;
4538
4564
  }
4539
4565
  return !0;
4540
4566
  }
4541
4567
  return e !== e && t !== t;
4542
4568
  }
4543
- function ws(e) {
4569
+ function Es(e) {
4544
4570
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
4545
4571
  }
4546
- function Ts(e, t) {
4547
- let n = ws(e);
4572
+ function Ds(e, t) {
4573
+ let n = Es(e);
4548
4574
  return Math.round(t * n) / n;
4549
4575
  }
4550
- function Es(t) {
4576
+ function Os(t) {
4551
4577
  let n = e.useRef(t);
4552
- return Ss(() => {
4578
+ return ws(() => {
4553
4579
  n.current = t;
4554
4580
  }), n;
4555
4581
  }
4556
- function Ds(t) {
4582
+ function ks(t) {
4557
4583
  t === void 0 && (t = {});
4558
4584
  let { placement: n = "bottom", strategy: r = "absolute", middleware: i = [], platform: a, elements: { reference: o, floating: s } = {}, transform: c = !0, whileElementsMounted: l, open: u } = t, [d, p] = e.useState({
4559
4585
  x: 0,
@@ -4563,24 +4589,24 @@ function Ds(t) {
4563
4589
  middlewareData: {},
4564
4590
  isPositioned: !1
4565
4591
  }), [m, h] = e.useState(i);
4566
- Cs(m, i) || h(i);
4592
+ Ts(m, i) || h(i);
4567
4593
  let [g, _] = e.useState(null), [v, y] = e.useState(null), b = e.useCallback((e) => {
4568
4594
  e !== w.current && (w.current = e, _(e));
4569
4595
  }, []), x = e.useCallback((e) => {
4570
4596
  e !== T.current && (T.current = e, y(e));
4571
- }, []), S = o || g, C = s || v, w = e.useRef(null), T = e.useRef(null), E = e.useRef(d), ee = l != null, D = Es(l), te = Es(a), O = Es(u), k = e.useCallback(() => {
4597
+ }, []), S = o || g, C = s || v, w = e.useRef(null), T = e.useRef(null), E = e.useRef(d), ee = l != null, D = Os(l), te = Os(a), O = Os(u), k = e.useCallback(() => {
4572
4598
  if (!w.current || !T.current) return;
4573
4599
  let e = {
4574
4600
  placement: n,
4575
4601
  strategy: r,
4576
4602
  middleware: m
4577
4603
  };
4578
- te.current && (e.platform = te.current), xs(w.current, T.current, e).then((e) => {
4604
+ te.current && (e.platform = te.current), Cs(w.current, T.current, e).then((e) => {
4579
4605
  let t = {
4580
4606
  ...e,
4581
4607
  isPositioned: O.current !== !1
4582
4608
  };
4583
- A.current && !Cs(E.current, t) && (E.current = t, f.flushSync(() => {
4609
+ A.current && !Ts(E.current, t) && (E.current = t, f.flushSync(() => {
4584
4610
  p(t);
4585
4611
  }));
4586
4612
  });
@@ -4591,16 +4617,16 @@ function Ds(t) {
4591
4617
  te,
4592
4618
  O
4593
4619
  ]);
4594
- Ss(() => {
4620
+ ws(() => {
4595
4621
  u === !1 && E.current.isPositioned && (E.current.isPositioned = !1, p((e) => ({
4596
4622
  ...e,
4597
4623
  isPositioned: !1
4598
4624
  })));
4599
4625
  }, [u]);
4600
4626
  let A = e.useRef(!1);
4601
- Ss(() => (A.current = !0, () => {
4627
+ ws(() => (A.current = !0, () => {
4602
4628
  A.current = !1;
4603
- }), []), Ss(() => {
4629
+ }), []), ws(() => {
4604
4630
  if (S && (w.current = S), C && (T.current = C), S && C) {
4605
4631
  if (D.current) return D.current(S, C, k);
4606
4632
  k();
@@ -4627,11 +4653,11 @@ function Ds(t) {
4627
4653
  top: 0
4628
4654
  };
4629
4655
  if (!M.floating) return e;
4630
- let t = Ts(M.floating, d.x), n = Ts(M.floating, d.y);
4656
+ let t = Ds(M.floating, d.x), n = Ds(M.floating, d.y);
4631
4657
  return c ? {
4632
4658
  ...e,
4633
4659
  transform: "translate(" + t + "px, " + n + "px)",
4634
- ...ws(M.floating) >= 1.5 && { willChange: "transform" }
4660
+ ...Es(M.floating) >= 1.5 && { willChange: "transform" }
4635
4661
  } : {
4636
4662
  position: r,
4637
4663
  left: t,
@@ -4658,7 +4684,7 @@ function Ds(t) {
4658
4684
  N
4659
4685
  ]);
4660
4686
  }
4661
- var Os = (e) => {
4687
+ var As = (e) => {
4662
4688
  function t(e) {
4663
4689
  return {}.hasOwnProperty.call(e, "current");
4664
4690
  }
@@ -4667,61 +4693,61 @@ var Os = (e) => {
4667
4693
  options: e,
4668
4694
  fn(n) {
4669
4695
  let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
4670
- return r && t(r) ? r.current == null ? {} : ys({
4696
+ return r && t(r) ? r.current == null ? {} : xs({
4671
4697
  element: r.current,
4672
4698
  padding: i
4673
- }).fn(n) : r ? ys({
4699
+ }).fn(n) : r ? xs({
4674
4700
  element: r,
4675
4701
  padding: i
4676
4702
  }).fn(n) : {};
4677
4703
  }
4678
4704
  };
4679
- }, ks = (e, t) => {
4680
- let n = ms(e);
4705
+ }, js = (e, t) => {
4706
+ let n = gs(e);
4681
4707
  return {
4682
4708
  name: n.name,
4683
4709
  fn: n.fn,
4684
4710
  options: [e, t]
4685
4711
  };
4686
- }, As = (e, t) => {
4687
- let n = hs(e);
4712
+ }, Ms = (e, t) => {
4713
+ let n = _s(e);
4688
4714
  return {
4689
4715
  name: n.name,
4690
4716
  fn: n.fn,
4691
4717
  options: [e, t]
4692
4718
  };
4693
- }, js = (e, t) => ({
4694
- fn: bs(e).fn,
4719
+ }, Ns = (e, t) => ({
4720
+ fn: Ss(e).fn,
4695
4721
  options: [e, t]
4696
- }), Ms = (e, t) => {
4697
- let n = gs(e);
4722
+ }), Ps = (e, t) => {
4723
+ let n = vs(e);
4698
4724
  return {
4699
4725
  name: n.name,
4700
4726
  fn: n.fn,
4701
4727
  options: [e, t]
4702
4728
  };
4703
- }, Ns = (e, t) => {
4704
- let n = _s(e);
4729
+ }, Fs = (e, t) => {
4730
+ let n = ys(e);
4705
4731
  return {
4706
4732
  name: n.name,
4707
4733
  fn: n.fn,
4708
4734
  options: [e, t]
4709
4735
  };
4710
- }, Ps = (e, t) => {
4711
- let n = vs(e);
4736
+ }, Is = (e, t) => {
4737
+ let n = bs(e);
4712
4738
  return {
4713
4739
  name: n.name,
4714
4740
  fn: n.fn,
4715
4741
  options: [e, t]
4716
4742
  };
4717
- }, Fs = (e, t) => {
4718
- let n = Os(e);
4743
+ }, Ls = (e, t) => {
4744
+ let n = As(e);
4719
4745
  return {
4720
4746
  name: n.name,
4721
4747
  fn: n.fn,
4722
4748
  options: [e, t]
4723
4749
  };
4724
- }, Is = "Arrow", Ls = e.forwardRef((t, n) => {
4750
+ }, Rs = "Arrow", zs = e.forwardRef((t, n) => {
4725
4751
  let { children: r, width: i = 10, height: a = 5, ...o } = t;
4726
4752
  return /* @__PURE__ */ e.createElement(A.svg, {
4727
4753
  ...o,
@@ -4732,11 +4758,11 @@ var Os = (e) => {
4732
4758
  preserveAspectRatio: "none"
4733
4759
  }, t.asChild ? r : /* @__PURE__ */ e.createElement("polygon", { points: "0,0 30,0 15,10" }));
4734
4760
  });
4735
- Ls.displayName = Is;
4736
- var Rs = Ls;
4761
+ zs.displayName = Rs;
4762
+ var Bs = zs;
4737
4763
  //#endregion
4738
4764
  //#region ../../node_modules/@huin-core/react-use-size/dist/index.mjs
4739
- function zs(t) {
4765
+ function Vs(t) {
4740
4766
  let [n, r] = e.useState(void 0);
4741
4767
  return D(() => {
4742
4768
  if (t) {
@@ -4762,17 +4788,17 @@ function zs(t) {
4762
4788
  }
4763
4789
  //#endregion
4764
4790
  //#region ../../node_modules/@huin-core/react-popper/dist/index.mjs
4765
- var Bs = "Popper", [Vs, Hs] = h(Bs), [Us, Ws] = Vs(Bs), Gs = (t) => {
4791
+ var Hs = "Popper", [Us, Ws] = h(Hs), [Gs, Ks] = Us(Hs), qs = (t) => {
4766
4792
  let { __scopePopper: n, children: r } = t, [i, a] = e.useState(null);
4767
- return /* @__PURE__ */ e.createElement(Us, {
4793
+ return /* @__PURE__ */ e.createElement(Gs, {
4768
4794
  scope: n,
4769
4795
  anchor: i,
4770
4796
  onAnchorChange: a
4771
4797
  }, r);
4772
4798
  };
4773
- Gs.displayName = Bs;
4774
- var Ks = "PopperAnchor", qs = e.forwardRef((t, n) => {
4775
- let { __scopePopper: r, virtualRef: i, ...a } = t, o = Ws(Ks, r), s = e.useRef(null), c = b(n, s);
4799
+ qs.displayName = Hs;
4800
+ var Js = "PopperAnchor", Ys = e.forwardRef((t, n) => {
4801
+ let { __scopePopper: r, virtualRef: i, ...a } = t, o = Ks(Js, r), s = e.useRef(null), c = b(n, s);
4776
4802
  return e.useEffect(() => {
4777
4803
  o.onAnchorChange(i?.current || s.current);
4778
4804
  }), i ? null : /* @__PURE__ */ e.createElement(A.div, {
@@ -4780,9 +4806,9 @@ var Ks = "PopperAnchor", qs = e.forwardRef((t, n) => {
4780
4806
  ref: c
4781
4807
  });
4782
4808
  });
4783
- qs.displayName = Ks;
4784
- var Js = "PopperContent", [Ys, Xs] = Vs(Js), Zs = e.forwardRef((t, n) => {
4785
- let { __scopePopper: r, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions: l = !0, collisionBoundary: u = [], collisionPadding: d = 0, sticky: f = "partial", hideWhenDetached: p = !1, updatePositionStrategy: m = "optimized", onPlaced: h, ...g } = t, _ = Ws(Js, r), [v, y] = e.useState(null), x = b(n, (e) => y(e)), [S, C] = e.useState(null), w = zs(S), T = w?.width ?? 0, E = w?.height ?? 0, ee = i + (o === "center" ? "" : "-" + o), te = typeof d == "number" ? d : {
4809
+ Ys.displayName = Js;
4810
+ var Xs = "PopperContent", [Zs, Qs] = Us(Xs), $s = e.forwardRef((t, n) => {
4811
+ let { __scopePopper: r, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions: l = !0, collisionBoundary: u = [], collisionPadding: d = 0, sticky: f = "partial", hideWhenDetached: p = !1, updatePositionStrategy: m = "optimized", onPlaced: h, ...g } = t, _ = Ks(Xs, r), [v, y] = e.useState(null), x = b(n, (e) => y(e)), [S, C] = e.useState(null), w = Vs(S), T = w?.width ?? 0, E = w?.height ?? 0, ee = i + (o === "center" ? "" : "-" + o), te = typeof d == "number" ? d : {
4786
4812
  top: 0,
4787
4813
  right: 0,
4788
4814
  bottom: 0,
@@ -4790,46 +4816,46 @@ var Js = "PopperContent", [Ys, Xs] = Vs(Js), Zs = e.forwardRef((t, n) => {
4790
4816
  ...d
4791
4817
  }, O = Array.isArray(u) ? u : [u], k = O.length > 0, j = {
4792
4818
  padding: te,
4793
- boundary: O.filter(tc),
4819
+ boundary: O.filter(rc),
4794
4820
  altBoundary: k
4795
- }, { refs: N, floatingStyles: P, placement: ne, isPositioned: re, middlewareData: F } = Ds({
4821
+ }, { refs: N, floatingStyles: P, placement: ne, isPositioned: re, middlewareData: F } = ks({
4796
4822
  strategy: "fixed",
4797
4823
  placement: ee,
4798
- whileElementsMounted: (...e) => ps(...e, { animationFrame: m === "always" }),
4824
+ whileElementsMounted: (...e) => hs(...e, { animationFrame: m === "always" }),
4799
4825
  elements: { reference: _.anchor },
4800
4826
  middleware: [
4801
- ks({
4827
+ js({
4802
4828
  mainAxis: a + E,
4803
4829
  alignmentAxis: s
4804
4830
  }),
4805
- l && As({
4831
+ l && Ms({
4806
4832
  mainAxis: !0,
4807
4833
  crossAxis: !1,
4808
- limiter: f === "partial" ? js() : void 0,
4834
+ limiter: f === "partial" ? Ns() : void 0,
4809
4835
  ...j
4810
4836
  }),
4811
- l && Ms({ ...j }),
4812
- Ns({
4837
+ l && Ps({ ...j }),
4838
+ Fs({
4813
4839
  ...j,
4814
4840
  apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
4815
4841
  let { width: i, height: a } = t.reference, o = e.floating.style;
4816
4842
  o.setProperty("--huin-core-popper-available-width", `${n}px`), o.setProperty("--huin-core-popper-available-height", `${r}px`), o.setProperty("--huin-core-popper-anchor-width", `${i}px`), o.setProperty("--huin-core-popper-anchor-height", `${a}px`);
4817
4843
  }
4818
4844
  }),
4819
- S && Fs({
4845
+ S && Ls({
4820
4846
  element: S,
4821
4847
  padding: c
4822
4848
  }),
4823
- nc({
4849
+ ic({
4824
4850
  arrowWidth: T,
4825
4851
  arrowHeight: E
4826
4852
  }),
4827
- p && Ps({
4853
+ p && Is({
4828
4854
  strategy: "referenceHidden",
4829
4855
  ...j
4830
4856
  })
4831
4857
  ]
4832
- }), [ie, I] = rc(ne), L = M(h);
4858
+ }), [ie, I] = ac(ne), L = M(h);
4833
4859
  D(() => {
4834
4860
  re && L?.();
4835
4861
  }, [re, L]);
@@ -4851,7 +4877,7 @@ var Js = "PopperContent", [Ys, Xs] = Vs(Js), Zs = e.forwardRef((t, n) => {
4851
4877
  }
4852
4878
  },
4853
4879
  dir: t.dir
4854
- }, /* @__PURE__ */ e.createElement(Ys, {
4880
+ }, /* @__PURE__ */ e.createElement(Zs, {
4855
4881
  scope: r,
4856
4882
  placedSide: ie,
4857
4883
  onArrowChange: C,
@@ -4869,14 +4895,14 @@ var Js = "PopperContent", [Ys, Xs] = Vs(Js), Zs = e.forwardRef((t, n) => {
4869
4895
  }
4870
4896
  })));
4871
4897
  });
4872
- Zs.displayName = Js;
4873
- var Qs = "PopperArrow", $s = {
4898
+ $s.displayName = Xs;
4899
+ var ec = "PopperArrow", tc = {
4874
4900
  top: "bottom",
4875
4901
  right: "left",
4876
4902
  bottom: "top",
4877
4903
  left: "right"
4878
- }, ec = e.forwardRef(function(t, n) {
4879
- let { __scopePopper: r, ...i } = t, a = Xs(Qs, r), o = $s[a.placedSide];
4904
+ }, nc = e.forwardRef(function(t, n) {
4905
+ let { __scopePopper: r, ...i } = t, a = Qs(ec, r), o = tc[a.placedSide];
4880
4906
  return /* @__PURE__ */ e.createElement("span", {
4881
4907
  ref: a.onArrowChange,
4882
4908
  style: {
@@ -4898,7 +4924,7 @@ var Qs = "PopperArrow", $s = {
4898
4924
  }[a.placedSide],
4899
4925
  visibility: a.shouldHideArrow ? "hidden" : void 0
4900
4926
  }
4901
- }, /* @__PURE__ */ e.createElement(Rs, {
4927
+ }, /* @__PURE__ */ e.createElement(Bs, {
4902
4928
  ...i,
4903
4929
  ref: n,
4904
4930
  style: {
@@ -4907,15 +4933,15 @@ var Qs = "PopperArrow", $s = {
4907
4933
  }
4908
4934
  }));
4909
4935
  });
4910
- ec.displayName = Qs;
4911
- function tc(e) {
4936
+ nc.displayName = ec;
4937
+ function rc(e) {
4912
4938
  return e !== null;
4913
4939
  }
4914
- var nc = (e) => ({
4940
+ var ic = (e) => ({
4915
4941
  name: "transformOrigin",
4916
4942
  options: e,
4917
4943
  fn(t) {
4918
- let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = rc(n), u = {
4944
+ let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = ac(n), u = {
4919
4945
  start: "0%",
4920
4946
  center: "50%",
4921
4947
  end: "100%"
@@ -4926,15 +4952,15 @@ var nc = (e) => ({
4926
4952
  } };
4927
4953
  }
4928
4954
  });
4929
- function rc(e) {
4955
+ function ac(e) {
4930
4956
  let [t, n = "center"] = e.split("-");
4931
4957
  return [t, n];
4932
4958
  }
4933
- var ic = Gs, ac = qs, oc = Zs, sc = ec, cc = Mn(), lc = function() {}, uc = e.forwardRef(function(t, n) {
4959
+ var oc = qs, sc = Ys, cc = $s, lc = nc, uc = Mn(), dc = function() {}, fc = e.forwardRef(function(t, n) {
4934
4960
  var r = e.useRef(null), i = e.useState({
4935
- onScrollCapture: lc,
4936
- onWheelCapture: lc,
4937
- onTouchMoveCapture: lc
4961
+ onScrollCapture: dc,
4962
+ onWheelCapture: dc,
4963
+ onTouchMoveCapture: dc
4938
4964
  }), a = i[0], o = i[1], s = t.forwardProps, c = t.children, l = t.className, u = t.removeScrollBar, d = t.enabled, f = t.shards, p = t.sideCar, m = t.noIsolation, h = t.inert, g = t.allowPinchZoom, _ = t.as, v = _ === void 0 ? "div" : _, y = t.gapMode, b = yn(t, [
4939
4965
  "forwardProps",
4940
4966
  "children",
@@ -4950,7 +4976,7 @@ var ic = Gs, ac = qs, oc = Zs, sc = ec, cc = Mn(), lc = function() {}, uc = e.fo
4950
4976
  "gapMode"
4951
4977
  ]), x = p, S = kn([r, n]), C = G(G({}, b), a);
4952
4978
  return e.createElement(e.Fragment, null, d && e.createElement(x, {
4953
- sideCar: cc,
4979
+ sideCar: uc,
4954
4980
  removeScrollBar: u,
4955
4981
  shards: f,
4956
4982
  noIsolation: m,
@@ -4964,91 +4990,91 @@ var ic = Gs, ac = qs, oc = Zs, sc = ec, cc = Mn(), lc = function() {}, uc = e.fo
4964
4990
  ref: S
4965
4991
  }), c));
4966
4992
  });
4967
- uc.defaultProps = {
4993
+ fc.defaultProps = {
4968
4994
  enabled: !0,
4969
4995
  removeScrollBar: !0,
4970
4996
  inert: !1
4971
- }, uc.classNames = {
4997
+ }, fc.classNames = {
4972
4998
  fullWidth: Sn,
4973
4999
  zeroRight: xn
4974
5000
  };
4975
5001
  //#endregion
4976
5002
  //#region ../../node_modules/@huin-core/react-popover/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
4977
- var dc = !1;
5003
+ var pc = !1;
4978
5004
  if (typeof window < "u") try {
4979
- var fc = Object.defineProperty({}, "passive", { get: function() {
4980
- return dc = !0, !0;
5005
+ var mc = Object.defineProperty({}, "passive", { get: function() {
5006
+ return pc = !0, !0;
4981
5007
  } });
4982
- window.addEventListener("test", fc, fc), window.removeEventListener("test", fc, fc);
5008
+ window.addEventListener("test", mc, mc), window.removeEventListener("test", mc, mc);
4983
5009
  } catch {
4984
- dc = !1;
5010
+ pc = !1;
4985
5011
  }
4986
- var pc = dc ? { passive: !1 } : !1, mc = function(e) {
5012
+ var hc = pc ? { passive: !1 } : !1, gc = function(e) {
4987
5013
  return e.tagName === "TEXTAREA";
4988
- }, hc = function(e, t) {
5014
+ }, _c = function(e, t) {
4989
5015
  var n = window.getComputedStyle(e);
4990
- return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !mc(e) && n[t] === "visible");
4991
- }, gc = function(e) {
4992
- return hc(e, "overflowY");
4993
- }, _c = function(e) {
4994
- return hc(e, "overflowX");
4995
- }, vc = function(e, t) {
5016
+ return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !gc(e) && n[t] === "visible");
5017
+ }, vc = function(e) {
5018
+ return _c(e, "overflowY");
5019
+ }, yc = function(e) {
5020
+ return _c(e, "overflowX");
5021
+ }, bc = function(e, t) {
4996
5022
  var n = t.ownerDocument, r = t;
4997
5023
  do {
4998
- if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), xc(e, r)) {
4999
- var i = Sc(e, r);
5024
+ if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Cc(e, r)) {
5025
+ var i = wc(e, r);
5000
5026
  if (i[1] > i[2]) return !0;
5001
5027
  }
5002
5028
  r = r.parentNode;
5003
5029
  } while (r && r !== n.body);
5004
5030
  return !1;
5005
- }, yc = function(e) {
5031
+ }, xc = function(e) {
5006
5032
  return [
5007
5033
  e.scrollTop,
5008
5034
  e.scrollHeight,
5009
5035
  e.clientHeight
5010
5036
  ];
5011
- }, bc = function(e) {
5037
+ }, Sc = function(e) {
5012
5038
  return [
5013
5039
  e.scrollLeft,
5014
5040
  e.scrollWidth,
5015
5041
  e.clientWidth
5016
5042
  ];
5017
- }, xc = function(e, t) {
5018
- return e === "v" ? gc(t) : _c(t);
5019
- }, Sc = function(e, t) {
5020
- return e === "v" ? yc(t) : bc(t);
5021
5043
  }, Cc = function(e, t) {
5044
+ return e === "v" ? vc(t) : yc(t);
5045
+ }, wc = function(e, t) {
5046
+ return e === "v" ? xc(t) : Sc(t);
5047
+ }, Tc = function(e, t) {
5022
5048
  return e === "h" && t === "rtl" ? -1 : 1;
5023
- }, wc = function(e, t, n, r, i) {
5024
- var a = Cc(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
5049
+ }, Ec = function(e, t, n, r, i) {
5050
+ var a = Tc(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
5025
5051
  do {
5026
- var p = Sc(e, s), m = p[0], h = p[1] - p[2] - a * m;
5027
- (m || h) && xc(e, s) && (d += h, f += m), s = s instanceof ShadowRoot ? s.host : s.parentNode;
5052
+ var p = wc(e, s), m = p[0], h = p[1] - p[2] - a * m;
5053
+ (m || h) && Cc(e, s) && (d += h, f += m), s = s instanceof ShadowRoot ? s.host : s.parentNode;
5028
5054
  } while (!c && s !== document.body || c && (t.contains(s) || t === s));
5029
5055
  return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
5030
- }, Tc = function(e) {
5056
+ }, Dc = function(e) {
5031
5057
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
5032
- }, Ec = function(e) {
5058
+ }, Oc = function(e) {
5033
5059
  return [e.deltaX, e.deltaY];
5034
- }, Dc = function(e) {
5060
+ }, kc = function(e) {
5035
5061
  return e && "current" in e ? e.current : e;
5036
- }, Oc = function(e, t) {
5062
+ }, Ac = function(e, t) {
5037
5063
  return e[0] === t[0] && e[1] === t[1];
5038
- }, kc = function(e) {
5064
+ }, jc = function(e) {
5039
5065
  return `
5040
5066
  .block-interactivity-${e} {pointer-events: none;}
5041
5067
  .allow-interactivity-${e} {pointer-events: all;}
5042
5068
  `;
5043
- }, Ac = 0, jc = [];
5044
- function Mc(t) {
5045
- var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(Ac++)[0], o = e.useState(Gn)[0], s = e.useRef(t);
5069
+ }, Mc = 0, Nc = [];
5070
+ function Pc(t) {
5071
+ var n = e.useRef([]), r = e.useRef([0, 0]), i = e.useRef(), a = e.useState(Mc++)[0], o = e.useState(Gn)[0], s = e.useRef(t);
5046
5072
  e.useEffect(function() {
5047
5073
  s.current = t;
5048
5074
  }, [t]), e.useEffect(function() {
5049
5075
  if (t.inert) {
5050
5076
  document.body.classList.add(`block-interactivity-${a}`);
5051
- var e = bn([t.lockRef.current], (t.shards || []).map(Dc), !0).filter(Boolean);
5077
+ var e = bn([t.lockRef.current], (t.shards || []).map(kc), !0).filter(Boolean);
5052
5078
  return e.forEach(function(e) {
5053
5079
  return e.classList.add(`allow-interactivity-${a}`);
5054
5080
  }), function() {
@@ -5064,26 +5090,26 @@ function Mc(t) {
5064
5090
  ]);
5065
5091
  var c = e.useCallback(function(e, t) {
5066
5092
  if ("touches" in e && e.touches.length === 2) return !s.current.allowPinchZoom;
5067
- var n = Tc(e), a = r.current, o = "deltaX" in e ? e.deltaX : a[0] - n[0], c = "deltaY" in e ? e.deltaY : a[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
5093
+ var n = Dc(e), a = r.current, o = "deltaX" in e ? e.deltaX : a[0] - n[0], c = "deltaY" in e ? e.deltaY : a[1] - n[1], l, u = e.target, d = Math.abs(o) > Math.abs(c) ? "h" : "v";
5068
5094
  if ("touches" in e && d === "h" && u.type === "range") return !1;
5069
- var f = vc(d, u);
5095
+ var f = bc(d, u);
5070
5096
  if (!f) return !0;
5071
- if (f ? l = d : (l = d === "v" ? "h" : "v", f = vc(d, u)), !f) return !1;
5097
+ if (f ? l = d : (l = d === "v" ? "h" : "v", f = bc(d, u)), !f) return !1;
5072
5098
  if (!i.current && "changedTouches" in e && (o || c) && (i.current = l), !l) return !0;
5073
5099
  var p = i.current || l;
5074
- return wc(p, t, e, p === "h" ? o : c, !0);
5100
+ return Ec(p, t, e, p === "h" ? o : c, !0);
5075
5101
  }, []), l = e.useCallback(function(e) {
5076
5102
  var t = e;
5077
- if (!(!jc.length || jc[jc.length - 1] !== o)) {
5078
- var r = "deltaY" in t ? Ec(t) : Tc(t), i = n.current.filter(function(e) {
5079
- return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && Oc(e.delta, r);
5103
+ if (!(!Nc.length || Nc[Nc.length - 1] !== o)) {
5104
+ var r = "deltaY" in t ? Oc(t) : Dc(t), i = n.current.filter(function(e) {
5105
+ return e.name === t.type && (e.target === t.target || t.target === e.shadowParent) && Ac(e.delta, r);
5080
5106
  })[0];
5081
5107
  if (i && i.should) {
5082
5108
  t.cancelable && t.preventDefault();
5083
5109
  return;
5084
5110
  }
5085
5111
  if (!i) {
5086
- var a = (s.current.shards || []).map(Dc).filter(Boolean).filter(function(e) {
5112
+ var a = (s.current.shards || []).map(kc).filter(Boolean).filter(function(e) {
5087
5113
  return e.contains(t.target);
5088
5114
  });
5089
5115
  (a.length > 0 ? c(t, a[0]) : !s.current.noIsolation) && t.cancelable && t.preventDefault();
@@ -5095,7 +5121,7 @@ function Mc(t) {
5095
5121
  delta: t,
5096
5122
  target: r,
5097
5123
  should: i,
5098
- shadowParent: Nc(r)
5124
+ shadowParent: Fc(r)
5099
5125
  };
5100
5126
  n.current.push(a), setTimeout(function() {
5101
5127
  n.current = n.current.filter(function(e) {
@@ -5103,48 +5129,48 @@ function Mc(t) {
5103
5129
  });
5104
5130
  }, 1);
5105
5131
  }, []), d = e.useCallback(function(e) {
5106
- r.current = Tc(e), i.current = void 0;
5132
+ r.current = Dc(e), i.current = void 0;
5107
5133
  }, []), f = e.useCallback(function(e) {
5108
- u(e.type, Ec(e), e.target, c(e, t.lockRef.current));
5134
+ u(e.type, Oc(e), e.target, c(e, t.lockRef.current));
5109
5135
  }, []), p = e.useCallback(function(e) {
5110
- u(e.type, Tc(e), e.target, c(e, t.lockRef.current));
5136
+ u(e.type, Dc(e), e.target, c(e, t.lockRef.current));
5111
5137
  }, []);
5112
5138
  e.useEffect(function() {
5113
- return jc.push(o), t.setCallbacks({
5139
+ return Nc.push(o), t.setCallbacks({
5114
5140
  onScrollCapture: f,
5115
5141
  onWheelCapture: f,
5116
5142
  onTouchMoveCapture: p
5117
- }), document.addEventListener("wheel", l, pc), document.addEventListener("touchmove", l, pc), document.addEventListener("touchstart", d, pc), function() {
5118
- jc = jc.filter(function(e) {
5143
+ }), document.addEventListener("wheel", l, hc), document.addEventListener("touchmove", l, hc), document.addEventListener("touchstart", d, hc), function() {
5144
+ Nc = Nc.filter(function(e) {
5119
5145
  return e !== o;
5120
- }), document.removeEventListener("wheel", l, pc), document.removeEventListener("touchmove", l, pc), document.removeEventListener("touchstart", d, pc);
5146
+ }), document.removeEventListener("wheel", l, hc), document.removeEventListener("touchmove", l, hc), document.removeEventListener("touchstart", d, hc);
5121
5147
  };
5122
5148
  }, []);
5123
5149
  var m = t.removeScrollBar, h = t.inert;
5124
- return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles: kc(a) }) : null, m ? e.createElement(tr, { gapMode: t.gapMode }) : null);
5150
+ return e.createElement(e.Fragment, null, h ? e.createElement(o, { styles: jc(a) }) : null, m ? e.createElement(tr, { gapMode: t.gapMode }) : null);
5125
5151
  }
5126
- function Nc(e) {
5152
+ function Fc(e) {
5127
5153
  for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
5128
5154
  return t;
5129
5155
  }
5130
5156
  //#endregion
5131
5157
  //#region ../../node_modules/@huin-core/react-popover/node_modules/react-remove-scroll/dist/es2015/sidecar.js
5132
- var Pc = Pn(cc, Mc), Fc = e.forwardRef(function(t, n) {
5133
- return e.createElement(uc, G({}, t, {
5158
+ var Ic = Pn(uc, Pc), Lc = e.forwardRef(function(t, n) {
5159
+ return e.createElement(fc, G({}, t, {
5134
5160
  ref: n,
5135
- sideCar: Pc
5161
+ sideCar: Ic
5136
5162
  }));
5137
5163
  });
5138
- Fc.classNames = uc.classNames;
5164
+ Lc.classNames = fc.classNames;
5139
5165
  //#endregion
5140
5166
  //#region ../../node_modules/@huin-core/react-popover/dist/index.mjs
5141
- var Ic = "Popover", [Lc, Rc] = h(Ic, [Hs]), zc = Hs(), [Bc, Vc] = Lc(Ic), Hc = (t) => {
5142
- let { __scopePopover: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !1 } = t, c = zc(n), l = e.useRef(null), [u, d] = e.useState(!1), [f = !1, p] = N({
5167
+ var Rc = "Popover", [zc, Bc] = h(Rc, [Ws]), Vc = Ws(), [Hc, Uc] = zc(Rc), Wc = (t) => {
5168
+ let { __scopePopover: n, children: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !1 } = t, c = Vc(n), l = e.useRef(null), [u, d] = e.useState(!1), [f = !1, p] = N({
5143
5169
  prop: i,
5144
5170
  defaultProp: a,
5145
5171
  onChange: o
5146
5172
  });
5147
- return /* @__PURE__ */ e.createElement(ic, { ...c }, /* @__PURE__ */ e.createElement(Bc, {
5173
+ return /* @__PURE__ */ e.createElement(oc, { ...c }, /* @__PURE__ */ e.createElement(Hc, {
5148
5174
  scope: n,
5149
5175
  contentId: k(),
5150
5176
  triggerRef: l,
@@ -5157,19 +5183,19 @@ var Ic = "Popover", [Lc, Rc] = h(Ic, [Hs]), zc = Hs(), [Bc, Vc] = Lc(Ic), Hc = (
5157
5183
  modal: s
5158
5184
  }, r));
5159
5185
  };
5160
- Hc.displayName = Ic;
5161
- var Uc = Hc, Wc = "PopoverAnchor", Gc = t.forwardRef((e, n) => {
5162
- let { __scopePopover: r, ...i } = e, a = Vc(Wc, r), o = zc(r), { onCustomAnchorAdd: s, onCustomAnchorRemove: c } = a;
5163
- return t.useEffect(() => (s(), () => c()), [s, c]), /* @__PURE__ */ t.createElement(ac, {
5186
+ Wc.displayName = Rc;
5187
+ var Gc = Wc, Kc = "PopoverAnchor", qc = t.forwardRef((e, n) => {
5188
+ let { __scopePopover: r, ...i } = e, a = Uc(Kc, r), o = Vc(r), { onCustomAnchorAdd: s, onCustomAnchorRemove: c } = a;
5189
+ return t.useEffect(() => (s(), () => c()), [s, c]), /* @__PURE__ */ t.createElement(sc, {
5164
5190
  ...o,
5165
5191
  ...i,
5166
5192
  ref: n
5167
5193
  });
5168
5194
  });
5169
- Gc.displayName = Wc;
5170
- var Kc = "PopoverPortal", [qc, Jc] = Lc(Kc, { forceMount: void 0 }), Yc = (e) => {
5171
- let { __scopePopover: n, forceMount: r, children: i, container: a } = e, o = Vc(Kc, n);
5172
- return /* @__PURE__ */ t.createElement(qc, {
5195
+ qc.displayName = Kc;
5196
+ var Jc = "PopoverPortal", [Yc, Xc] = zc(Jc, { forceMount: void 0 }), Zc = (e) => {
5197
+ let { __scopePopover: n, forceMount: r, children: i, container: a } = e, o = Uc(Jc, n);
5198
+ return /* @__PURE__ */ t.createElement(Yc, {
5173
5199
  scope: n,
5174
5200
  forceMount: r
5175
5201
  }, /* @__PURE__ */ t.createElement(Se, { present: r || o.open }, /* @__PURE__ */ t.createElement(vn, {
@@ -5177,27 +5203,27 @@ var Kc = "PopoverPortal", [qc, Jc] = Lc(Kc, { forceMount: void 0 }), Yc = (e) =>
5177
5203
  container: a
5178
5204
  }, i)));
5179
5205
  };
5180
- Yc.displayName = Kc;
5181
- var Xc = "PopoverContent", Zc = t.forwardRef((e, n) => {
5182
- let r = Jc(Xc, e.__scopePopover), { forceMount: i = r.forceMount, ...a } = e, o = Vc(Xc, e.__scopePopover);
5183
- return /* @__PURE__ */ t.createElement(Se, { present: i || o.open }, o.modal ? /* @__PURE__ */ t.createElement(Qc, {
5206
+ Zc.displayName = Jc;
5207
+ var Qc = "PopoverContent", $c = t.forwardRef((e, n) => {
5208
+ let r = Xc(Qc, e.__scopePopover), { forceMount: i = r.forceMount, ...a } = e, o = Uc(Qc, e.__scopePopover);
5209
+ return /* @__PURE__ */ t.createElement(Se, { present: i || o.open }, o.modal ? /* @__PURE__ */ t.createElement(el, {
5184
5210
  ...a,
5185
5211
  ref: n
5186
- }) : /* @__PURE__ */ t.createElement($c, {
5212
+ }) : /* @__PURE__ */ t.createElement(tl, {
5187
5213
  ...a,
5188
5214
  ref: n
5189
5215
  }));
5190
5216
  });
5191
- Zc.displayName = Xc;
5192
- var Qc = t.forwardRef((e, n) => {
5193
- let r = Vc(Xc, e.__scopePopover), i = t.useRef(null), a = b(n, i), o = t.useRef(!1);
5217
+ $c.displayName = Qc;
5218
+ var el = t.forwardRef((e, n) => {
5219
+ let r = Uc(Qc, e.__scopePopover), i = t.useRef(null), a = b(n, i), o = t.useRef(!1);
5194
5220
  return t.useEffect(() => {
5195
5221
  let e = i.current;
5196
5222
  if (e) return Fr(e);
5197
- }, []), /* @__PURE__ */ t.createElement(Fc, {
5223
+ }, []), /* @__PURE__ */ t.createElement(Lc, {
5198
5224
  as: x,
5199
5225
  allowPinchZoom: !0
5200
- }, /* @__PURE__ */ t.createElement(el, {
5226
+ }, /* @__PURE__ */ t.createElement(nl, {
5201
5227
  ...e,
5202
5228
  ref: a,
5203
5229
  trapFocus: r.open,
@@ -5211,9 +5237,9 @@ var Qc = t.forwardRef((e, n) => {
5211
5237
  }, { checkForDefaultPrevented: !1 }),
5212
5238
  onFocusOutside: _(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
5213
5239
  }));
5214
- }), $c = t.forwardRef((e, n) => {
5215
- let r = Vc(Xc, e.__scopePopover), i = t.useRef(!1), a = t.useRef(!1);
5216
- return /* @__PURE__ */ t.createElement(el, {
5240
+ }), tl = t.forwardRef((e, n) => {
5241
+ let r = Uc(Qc, e.__scopePopover), i = t.useRef(!1), a = t.useRef(!1);
5242
+ return /* @__PURE__ */ t.createElement(nl, {
5217
5243
  ...e,
5218
5244
  ref: n,
5219
5245
  trapFocus: !1,
@@ -5227,8 +5253,8 @@ var Qc = t.forwardRef((e, n) => {
5227
5253
  r.triggerRef.current?.contains(n) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && a.current && t.preventDefault();
5228
5254
  }
5229
5255
  });
5230
- }), el = t.forwardRef((e, n) => {
5231
- let { __scopePopover: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, p = Vc(Xc, r), m = zc(r);
5256
+ }), nl = t.forwardRef((e, n) => {
5257
+ let { __scopePopover: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, p = Uc(Qc, r), m = Vc(r);
5232
5258
  return pi(), /* @__PURE__ */ t.createElement(ei, {
5233
5259
  asChild: !0,
5234
5260
  loop: !0,
@@ -5243,8 +5269,8 @@ var Qc = t.forwardRef((e, n) => {
5243
5269
  onPointerDownOutside: l,
5244
5270
  onFocusOutside: u,
5245
5271
  onDismiss: () => p.onOpenChange(!1)
5246
- }, /* @__PURE__ */ t.createElement(oc, {
5247
- "data-state": tl(p.open),
5272
+ }, /* @__PURE__ */ t.createElement(cc, {
5273
+ "data-state": rl(p.open),
5248
5274
  role: "dialog",
5249
5275
  id: p.contentId,
5250
5276
  ...m,
@@ -5260,28 +5286,28 @@ var Qc = t.forwardRef((e, n) => {
5260
5286
  }
5261
5287
  })));
5262
5288
  });
5263
- function tl(e) {
5289
+ function rl(e) {
5264
5290
  return e ? "open" : "closed";
5265
5291
  }
5266
- var nl = "PopoverTrigger", rl = t.forwardRef((e, n) => {
5267
- let { __scopePopover: r, ...i } = e, a = Vc(nl, r), o = zc(r), s = b(n, a.triggerRef), c = /* @__PURE__ */ t.createElement(A.button, {
5292
+ var il = "PopoverTrigger", al = t.forwardRef((e, n) => {
5293
+ let { __scopePopover: r, ...i } = e, a = Uc(il, r), o = Vc(r), s = b(n, a.triggerRef), c = /* @__PURE__ */ t.createElement(A.button, {
5268
5294
  type: "button",
5269
5295
  "aria-haspopup": "dialog",
5270
5296
  "aria-expanded": a.open,
5271
5297
  "aria-controls": a.contentId,
5272
- "data-state": tl(a.open),
5298
+ "data-state": rl(a.open),
5273
5299
  ...i,
5274
5300
  ref: s,
5275
5301
  onClick: _(e.onClick, a.onOpenToggle)
5276
5302
  });
5277
- return a.hasCustomAnchor ? c : /* @__PURE__ */ t.createElement(ac, {
5303
+ return a.hasCustomAnchor ? c : /* @__PURE__ */ t.createElement(sc, {
5278
5304
  asChild: !0,
5279
5305
  ...o
5280
5306
  }, c);
5281
5307
  });
5282
- rl.displayName = nl;
5283
- var il = "PopoverClose", al = t.forwardRef((e, n) => {
5284
- let { __scopePopover: r, ...i } = e, a = Vc(il, r);
5308
+ al.displayName = il;
5309
+ var ol = "PopoverClose", sl = t.forwardRef((e, n) => {
5310
+ let { __scopePopover: r, ...i } = e, a = Uc(ol, r);
5285
5311
  return /* @__PURE__ */ t.createElement(A.button, {
5286
5312
  type: "button",
5287
5313
  ...i,
@@ -5289,29 +5315,29 @@ var il = "PopoverClose", al = t.forwardRef((e, n) => {
5289
5315
  onClick: _(e.onClick, () => a.onOpenChange(!1))
5290
5316
  });
5291
5317
  });
5292
- al.displayName = il;
5293
- var ol = "PopoverArrow", sl = t.forwardRef((e, n) => {
5294
- let { __scopePopover: r, ...i } = e, a = zc(r);
5295
- return /* @__PURE__ */ t.createElement(sc, {
5318
+ sl.displayName = ol;
5319
+ var cl = "PopoverArrow", ll = t.forwardRef((e, n) => {
5320
+ let { __scopePopover: r, ...i } = e, a = Vc(r);
5321
+ return /* @__PURE__ */ t.createElement(lc, {
5296
5322
  ...a,
5297
5323
  ...i,
5298
5324
  ref: n
5299
5325
  });
5300
5326
  });
5301
- sl.displayName = ol;
5327
+ ll.displayName = cl;
5302
5328
  //#endregion
5303
5329
  //#region src/ui/components/Popover.tsx
5304
- var cl = Uc, ll = rl, ul = e.forwardRef(({ className: t, align: n = "center", sideOffset: r = 4, ...i }, a) => /* @__PURE__ */ e.createElement(Yc, null, /* @__PURE__ */ e.createElement(Zc, {
5330
+ var ul = Gc, dl = al, fl = e.forwardRef(({ className: t, align: n = "center", sideOffset: r = 4, ...i }, a) => /* @__PURE__ */ e.createElement(Zc, null, /* @__PURE__ */ e.createElement($c, {
5305
5331
  ref: a,
5306
5332
  align: n,
5307
5333
  sideOffset: r,
5308
- className: W("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
5334
+ className: W("z-50 w-72 rounded-md border bg-popover p-4! text-popover-foreground shadow-md outline-hidden data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", t),
5309
5335
  ...i
5310
5336
  })));
5311
- ul.displayName = Zc.displayName;
5337
+ fl.displayName = $c.displayName;
5312
5338
  //#endregion
5313
5339
  //#region ../../node_modules/@huin-core/react-use-previous/dist/index.mjs
5314
- function dl(t) {
5340
+ function pl(t) {
5315
5341
  let n = e.useRef({
5316
5342
  value: t,
5317
5343
  previous: t
@@ -5320,13 +5346,13 @@ function dl(t) {
5320
5346
  }
5321
5347
  //#endregion
5322
5348
  //#region ../../node_modules/@huin-core/react-switch/dist/index.mjs
5323
- var fl = "Switch", [pl] = h(fl), [ml, hl] = pl(fl), gl = e.forwardRef((t, n) => {
5349
+ var ml = "Switch", [hl] = h(ml), [gl, _l] = hl(ml), vl = e.forwardRef((t, n) => {
5324
5350
  let { __scopeSwitch: r, name: i, checked: a, defaultChecked: o, required: s, disabled: c, value: l = "on", onCheckedChange: u, form: d, ...f } = t, [p, m] = e.useState(null), h = b(n, (e) => m(e)), g = e.useRef(!1), v = p ? !!p.closest("form") : !0, [y = !1, x] = N({
5325
5351
  prop: a,
5326
5352
  defaultProp: o,
5327
5353
  onChange: u
5328
5354
  });
5329
- return /* @__PURE__ */ e.createElement(ml, {
5355
+ return /* @__PURE__ */ e.createElement(gl, {
5330
5356
  scope: r,
5331
5357
  checked: y,
5332
5358
  disabled: c
@@ -5335,7 +5361,7 @@ var fl = "Switch", [pl] = h(fl), [ml, hl] = pl(fl), gl = e.forwardRef((t, n) =>
5335
5361
  role: "switch",
5336
5362
  "aria-checked": y,
5337
5363
  "aria-required": s,
5338
- "data-state": vl(y),
5364
+ "data-state": bl(y),
5339
5365
  "data-disabled": c ? "" : void 0,
5340
5366
  disabled: c,
5341
5367
  value: l,
@@ -5344,7 +5370,7 @@ var fl = "Switch", [pl] = h(fl), [ml, hl] = pl(fl), gl = e.forwardRef((t, n) =>
5344
5370
  onClick: _(t.onClick, (e) => {
5345
5371
  x((e) => !e), v && (g.current = e.isPropagationStopped(), g.current || e.stopPropagation());
5346
5372
  })
5347
- }), v && /* @__PURE__ */ e.createElement(_l, {
5373
+ }), v && /* @__PURE__ */ e.createElement(yl, {
5348
5374
  control: p,
5349
5375
  bubbles: !g.current,
5350
5376
  name: i,
@@ -5356,9 +5382,9 @@ var fl = "Switch", [pl] = h(fl), [ml, hl] = pl(fl), gl = e.forwardRef((t, n) =>
5356
5382
  style: { transform: "translateX(-100%)" }
5357
5383
  }));
5358
5384
  });
5359
- gl.displayName = fl;
5360
- var _l = (t) => {
5361
- let { control: n, checked: r, bubbles: i = !0, ...a } = t, o = e.useRef(null), s = dl(r), c = zs(n);
5385
+ vl.displayName = ml;
5386
+ var yl = (t) => {
5387
+ let { control: n, checked: r, bubbles: i = !0, ...a } = t, o = e.useRef(null), s = pl(r), c = Vs(n);
5362
5388
  return e.useEffect(() => {
5363
5389
  let e = o.current, t = window.HTMLInputElement.prototype, n = Object.getOwnPropertyDescriptor(t, "checked").set;
5364
5390
  if (s !== r && n) {
@@ -5386,47 +5412,47 @@ var _l = (t) => {
5386
5412
  }
5387
5413
  });
5388
5414
  };
5389
- function vl(e) {
5415
+ function bl(e) {
5390
5416
  return e ? "checked" : "unchecked";
5391
5417
  }
5392
- var yl = gl, bl = "SwitchThumb", xl = t.forwardRef((e, n) => {
5393
- let { __scopeSwitch: r, ...i } = e, a = hl(bl, r);
5418
+ var xl = vl, Sl = "SwitchThumb", Cl = t.forwardRef((e, n) => {
5419
+ let { __scopeSwitch: r, ...i } = e, a = _l(Sl, r);
5394
5420
  return /* @__PURE__ */ t.createElement(A.span, {
5395
- "data-state": vl(a.checked),
5421
+ "data-state": bl(a.checked),
5396
5422
  "data-disabled": a.disabled ? "" : void 0,
5397
5423
  ...i,
5398
5424
  ref: n
5399
5425
  });
5400
5426
  });
5401
- xl.displayName = bl;
5427
+ Cl.displayName = Sl;
5402
5428
  //#endregion
5403
5429
  //#region src/ui/components/Switch.tsx
5404
- var Sl = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(yl, {
5430
+ var wl = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(xl, {
5405
5431
  className: W("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", t),
5406
5432
  ...n,
5407
5433
  ref: r
5408
- }, /* @__PURE__ */ e.createElement(xl, { className: W("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })));
5409
- Sl.displayName = yl.displayName;
5434
+ }, /* @__PURE__ */ e.createElement(Cl, { className: W("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })));
5435
+ wl.displayName = xl.displayName;
5410
5436
  //#endregion
5411
5437
  //#region ../../node_modules/@huin-core/react-label/dist/index.mjs
5412
- var Cl = "Label", wl = e.forwardRef(({ ...t }, n) => /* @__PURE__ */ e.createElement(A.label, {
5438
+ var Tl = "Label", El = e.forwardRef(({ ...t }, n) => /* @__PURE__ */ e.createElement(A.label, {
5413
5439
  ...t,
5414
5440
  ref: n,
5415
5441
  onMouseDown: (e) => {
5416
5442
  e.target.closest("button, input, select, textarea") || (t.onMouseDown?.(e), !e.defaultPrevented && e.detail > 1 && e.preventDefault());
5417
5443
  }
5418
5444
  }));
5419
- wl.displayName = Cl;
5420
- var Tl = wl, El = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(wl, {
5445
+ El.displayName = Tl;
5446
+ var Dl = El, Ol = e.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ e.createElement(El, {
5421
5447
  ref: r,
5422
5448
  className: W("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", t),
5423
5449
  ...n
5424
5450
  }));
5425
- El.displayName = Tl.displayName;
5451
+ Ol.displayName = Dl.displayName;
5426
5452
  //#endregion
5427
5453
  //#region ../../node_modules/@huin-core/react-separator/dist/index.mjs
5428
- var Dl = "Separator", Ol = "horizontal", kl = ["horizontal", "vertical"], Al = e.forwardRef((t, n) => {
5429
- let { decorative: r, orientation: i = Ol, ...a } = t, o = jl(i) ? i : Ol, s = r ? { role: "none" } : {
5454
+ var kl = "Separator", Al = "horizontal", jl = ["horizontal", "vertical"], Ml = e.forwardRef((t, n) => {
5455
+ let { decorative: r, orientation: i = Al, ...a } = t, o = Nl(i) ? i : Al, s = r ? { role: "none" } : {
5430
5456
  "aria-orientation": o === "vertical" ? o : void 0,
5431
5457
  role: "separator"
5432
5458
  };
@@ -5437,67 +5463,121 @@ var Dl = "Separator", Ol = "horizontal", kl = ["horizontal", "vertical"], Al = e
5437
5463
  ref: n
5438
5464
  });
5439
5465
  });
5440
- Al.displayName = Dl;
5441
- function jl(e) {
5442
- return kl.includes(e);
5466
+ Ml.displayName = kl;
5467
+ function Nl(e) {
5468
+ return jl.includes(e);
5443
5469
  }
5444
- var Ml = Al, Nl = e.forwardRef(({ className: t, orientation: n = "horizontal", decorative: r = !0, ...i }, a) => /* @__PURE__ */ e.createElement(Ml, {
5470
+ var Pl = Ml, Fl = e.forwardRef(({ className: t, orientation: n = "horizontal", decorative: r = !0, ...i }, a) => /* @__PURE__ */ e.createElement(Pl, {
5445
5471
  ref: a,
5446
5472
  decorative: r,
5447
5473
  orientation: n,
5448
5474
  className: W("shrink-0 bg-border", n === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", t),
5449
5475
  ...i
5450
5476
  }));
5451
- Nl.displayName = Ml.displayName;
5477
+ Fl.displayName = Pl.displayName;
5452
5478
  //#endregion
5453
5479
  //#region src/ui/components/Input.tsx
5454
- var Pl = e.forwardRef(({ className: t, type: n, ...r }, i) => /* @__PURE__ */ e.createElement(A.input, {
5480
+ var Il = e.forwardRef(({ className: t, type: n, ...r }, i) => /* @__PURE__ */ e.createElement(A.input, {
5455
5481
  type: n,
5456
- className: W("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", t),
5482
+ className: W("flex h-10 w-full rounded-md border border-input bg-background px-3! py-2! text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", t),
5457
5483
  ref: i,
5458
5484
  ...r
5459
5485
  }));
5460
- Pl.displayName = "Input";
5486
+ Il.displayName = "Input";
5461
5487
  //#endregion
5462
5488
  //#region src/ui/widgets/SentinelToolbar.tsx
5463
- var Fl = () => {
5464
- let { isActive: e, setIsActive: n, showOutlines: r, setShowOutlines: i, highlightName: a, setHighlightName: o } = Hl();
5465
- return /* @__PURE__ */ t.createElement(vn, null, /* @__PURE__ */ t.createElement("div", { className: "fixed bottom-4 right-4 z-[9999]" }, /* @__PURE__ */ t.createElement(cl, null, /* @__PURE__ */ t.createElement(ll, { className: W("flex h-10 w-10 items-center justify-center rounded-full border shadow-lg transition-all duration-200 outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer", e ? "bg-primary text-primary-foreground border-primary/30" : "bg-background text-muted-foreground border-border hover:text-foreground") }, /* @__PURE__ */ t.createElement(ka, { size: 18 })), /* @__PURE__ */ t.createElement(ul, {
5489
+ var Ll = (e, t) => {
5490
+ if (!t) return e;
5491
+ let n = t.toLowerCase();
5492
+ if (typeof e != "object" || !e) return String(e).toLowerCase().includes(n) ? e : void 0;
5493
+ if (Array.isArray(e)) {
5494
+ let n = e.map((e) => Ll(e, t)).filter((e) => e !== void 0);
5495
+ return n.length > 0 ? n : void 0;
5496
+ }
5497
+ let r = {};
5498
+ for (let [i, a] of Object.entries(e)) if (i.toLowerCase().includes(n)) r[i] = a;
5499
+ else {
5500
+ let e = Ll(a, t);
5501
+ e !== void 0 && (r[i] = e);
5502
+ }
5503
+ return Object.keys(r).length > 0 ? r : void 0;
5504
+ }, Rl = ({ store: e }) => {
5505
+ let [n, r] = t.useState(e?.getState()), [i, a] = t.useState(""), [o, s] = t.useState(!1);
5506
+ if (t.useEffect(() => {
5507
+ if (e) return r(e.getState()), e.subscribe(() => r(e.getState()));
5508
+ }, [e]), !e) return /* @__PURE__ */ t.createElement("div", { className: "py-6 text-center text-sm text-muted-foreground" }, "No store connected.", /* @__PURE__ */ t.createElement("span", { className: "block mt-1 text-xs font-mono" }, "<SentinelProvider store={store}>"));
5509
+ let c = Ll(n, i), l = ({ collapseDepth: e }) => c === void 0 ? /* @__PURE__ */ t.createElement("span", { className: "text-muted-foreground italic" }, "No results for \"", i, "\"") : /* @__PURE__ */ t.createElement(ga, {
5510
+ value: c,
5511
+ collapseFromDepth: e
5512
+ });
5513
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("div", { className: "py-3 space-y-2" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-1.5" }, /* @__PURE__ */ t.createElement(Il, {
5514
+ placeholder: "Search state…",
5515
+ value: i,
5516
+ onChange: (e) => a(e.target.value),
5517
+ className: "h-7 text-xs"
5518
+ }), /* @__PURE__ */ t.createElement("button", {
5519
+ onClick: () => s(!0),
5520
+ title: "Expand",
5521
+ className: "shrink-0 text-muted-foreground hover:text-foreground transition-colors"
5522
+ }, /* @__PURE__ */ t.createElement(Aa, { size: 14 }))), /* @__PURE__ */ t.createElement("div", { className: "max-h-60 overflow-y-auto" }, /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-3! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, /* @__PURE__ */ t.createElement(l, { collapseDepth: 1 })))), /* @__PURE__ */ t.createElement(ta, {
5523
+ open: o,
5524
+ onOpenChange: s
5525
+ }, /* @__PURE__ */ t.createElement(ia, { className: "flex flex-col overflow-hidden" }, /* @__PURE__ */ t.createElement(aa, null, /* @__PURE__ */ t.createElement(sa, null, "Redux State")), /* @__PURE__ */ t.createElement(Il, {
5526
+ placeholder: "Search state…",
5527
+ value: i,
5528
+ onChange: (e) => a(e.target.value),
5529
+ className: "h-8 text-sm shrink-0"
5530
+ }), /* @__PURE__ */ t.createElement("div", { className: "overflow-y-auto min-h-0 flex-1" }, /* @__PURE__ */ t.createElement("div", { className: "bg-primary text-primary-foreground p-4! rounded-md font-mono text-xs leading-5 overflow-x-hidden" }, /* @__PURE__ */ t.createElement(l, { collapseDepth: 2 }))))));
5531
+ }, zl = () => {
5532
+ let { isActive: e, setIsActive: n, showOutlines: r, setShowOutlines: i, highlightName: a, setHighlightName: o, reduxStore: s } = Kl();
5533
+ return /* @__PURE__ */ t.createElement(vn, null, /* @__PURE__ */ t.createElement("div", { className: "fixed bottom-4 right-4 z-[9999]" }, /* @__PURE__ */ t.createElement(ul, null, /* @__PURE__ */ t.createElement(dl, { className: W("flex h-10 w-10 items-center justify-center rounded-full border shadow-lg transition-all duration-200 outline-none focus-visible:ring-2 focus-visible:ring-ring cursor-pointer", e ? "bg-primary text-primary-foreground border-primary/30" : "bg-background text-muted-foreground border-border hover:text-foreground") }, /* @__PURE__ */ t.createElement(ja, { size: 18 })), /* @__PURE__ */ t.createElement(fl, {
5466
5534
  side: "top",
5467
5535
  align: "end",
5468
- className: "w-56 p-0"
5469
- }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between px-4! py-3!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ t.createElement(ka, {
5536
+ className: "w-72 p-0!"
5537
+ }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between py-3!" }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ t.createElement(ja, {
5470
5538
  size: 14,
5471
5539
  className: "text-muted-foreground"
5472
- }), /* @__PURE__ */ t.createElement("span", { className: "text-sm font-semibold" }, "Sentinel")), /* @__PURE__ */ t.createElement("kbd", { className: "text-sm text-muted-foreground bg-muted px-1.5 py-0.5 rounded font-mono" }, "⌃ ⇧ S")), /* @__PURE__ */ t.createElement(Nl, null), /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between px-4! py-3!" }, /* @__PURE__ */ t.createElement(El, {
5540
+ }), /* @__PURE__ */ t.createElement("span", { className: "text-sm font-semibold" }, "Sentinel")), /* @__PURE__ */ t.createElement("kbd", { className: "text-sm text-muted-foreground bg-muted px-1.5! py-0.5! rounded font-mono" }, "⌃ ⇧ S")), /* @__PURE__ */ t.createElement(Fl, null), /* @__PURE__ */ t.createElement(pn, { defaultValue: "controls" }, /* @__PURE__ */ t.createElement(mn, { className: "grid w-full grid-cols-2 mx-0 rounded-none border-b bg-transparent h-9 gap-4" }, /* @__PURE__ */ t.createElement(hn, {
5541
+ value: "controls",
5542
+ className: "text-xs"
5543
+ }, "Controls"), /* @__PURE__ */ t.createElement(hn, {
5544
+ value: "redux",
5545
+ className: "text-xs"
5546
+ }, "Redux")), /* @__PURE__ */ t.createElement(gn, {
5547
+ value: "controls",
5548
+ className: "mt-0"
5549
+ }, /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between py-3!" }, /* @__PURE__ */ t.createElement(Ol, {
5473
5550
  htmlFor: "sentinel-active-switch",
5474
5551
  className: "cursor-pointer"
5475
- }, "Active"), /* @__PURE__ */ t.createElement(Sl, {
5552
+ }, "Active"), /* @__PURE__ */ t.createElement(wl, {
5476
5553
  id: "sentinel-active-switch",
5477
5554
  checked: e,
5478
5555
  onCheckedChange: n
5479
- })), /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between px-4! pb-3!" }, /* @__PURE__ */ t.createElement(El, {
5556
+ })), /* @__PURE__ */ t.createElement("div", { className: "flex items-center justify-between pb-3!" }, /* @__PURE__ */ t.createElement(Ol, {
5480
5557
  htmlFor: "sentinel-outline-switch",
5481
5558
  className: W("cursor-pointer", !e && "opacity-40")
5482
- }, "Outline All"), /* @__PURE__ */ t.createElement(Sl, {
5559
+ }, "Outline All"), /* @__PURE__ */ t.createElement(wl, {
5483
5560
  id: "sentinel-outline-switch",
5484
5561
  checked: r,
5485
5562
  onCheckedChange: i,
5486
5563
  disabled: !e
5487
- })), /* @__PURE__ */ t.createElement(Nl, null), /* @__PURE__ */ t.createElement("div", { className: "px-4! py-3! space-y-1.5" }, /* @__PURE__ */ t.createElement(El, {
5564
+ })), /* @__PURE__ */ t.createElement(Fl, null), /* @__PURE__ */ t.createElement("div", { className: "py-3! space-y-1.5" }, /* @__PURE__ */ t.createElement(Ol, {
5488
5565
  htmlFor: "sentinel-filter-input",
5489
5566
  className: W("text-xs text-muted-foreground", !e && "opacity-40")
5490
- }, "Filter component"), /* @__PURE__ */ t.createElement(Pl, {
5567
+ }, "Filter component"), /* @__PURE__ */ t.createElement(Il, {
5491
5568
  id: "sentinel-filter-input",
5492
5569
  placeholder: "e.g. ProductCard",
5493
5570
  value: a,
5494
5571
  onChange: (e) => o(e.target.value),
5495
5572
  disabled: !e,
5496
5573
  className: "h-8 text-sm"
5497
- }))))));
5498
- }, Il = ({ children: e, active: n = !0 }) => {
5574
+ }))), /* @__PURE__ */ t.createElement(gn, {
5575
+ value: "redux",
5576
+ className: "mt-0"
5577
+ }, /* @__PURE__ */ t.createElement(Rl, { store: s })))))));
5578
+ }, Bl = ({ children: e, active: n = !0 }) => {
5499
5579
  if (!n) return /* @__PURE__ */ t.createElement(t.Fragment, null, e);
5500
- let { activeRect: r } = Hl(), i = r ? r.left + r.width / 2 : 0, a = r ? r.top + r.height / 2 : 0;
5580
+ let { activeRect: r } = Kl(), i = r ? r.left + r.width / 2 : 0, a = r ? r.top + r.height / 2 : 0;
5501
5581
  return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(vn, null, r && /* @__PURE__ */ t.createElement("div", {
5502
5582
  className: "pointer-events-none fixed inset-0 z-[999] transition-all duration-500 ease-[cubic-bezier(0.16,1,0.3,1)]",
5503
5583
  style: {
@@ -5514,22 +5594,22 @@ var Fl = () => {
5514
5594
  WebkitBackdropFilter: "blur(8px) saturate(140%) contrast(105%)"
5515
5595
  }
5516
5596
  }), e));
5517
- }, Ll = n(void 0), Rl = n(void 0), zl = ({ children: e }) => {
5518
- let [n, r] = d(null), [i, o] = d(null), [c, u] = d(null), [f, p] = d({}), [m, h] = d(!1), [g, _] = d(!1), [v, y] = d("");
5597
+ }, Vl = n(void 0), Hl = n(void 0), Ul = ({ children: e, store: n }) => {
5598
+ let [r, i] = d(null), [o, c] = d(null), [u, f] = d(null), [p, m] = d({}), [h, g] = d(!1), [_, v] = d(!1), [y, b] = d("");
5519
5599
  s(() => {
5520
- m || (r(null), o(null), u(null), p({}));
5521
- }, [m]), s(() => {
5600
+ h || (i(null), c(null), f(null), m({}));
5601
+ }, [h]), s(() => {
5522
5602
  let e = (e) => {
5523
- e.ctrlKey && e.shiftKey && e.key === "S" && h((e) => !e);
5603
+ e.ctrlKey && e.shiftKey && e.key === "S" && g((e) => !e);
5524
5604
  };
5525
5605
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
5526
5606
  }, []);
5527
- let b = a((e, t) => {
5528
- r(e), o(t);
5529
- }, []), x = a((e) => {
5530
- r((t) => t === e ? (o(null), null) : t);
5531
- }, []), S = a((e, t, n, r, i, a, o) => {
5532
- u(e), p({
5607
+ let x = a((e, t) => {
5608
+ i(e), c(t);
5609
+ }, []), S = a((e) => {
5610
+ i((t) => t === e ? (c(null), null) : t);
5611
+ }, []), C = a((e, t, n, r, i, a, o) => {
5612
+ f(e), m({
5533
5613
  componentName: t,
5534
5614
  sourceFile: i,
5535
5615
  renderCount: a,
@@ -5537,40 +5617,42 @@ var Fl = () => {
5537
5617
  md: n,
5538
5618
  componentProps: r
5539
5619
  });
5540
- }, []), C = a(() => {
5541
- u(null), p({});
5542
- }, []), w = l(() => ({
5543
- activeId: n,
5544
- activeRect: i,
5545
- isActive: m,
5546
- setIsActive: h,
5547
- showOutlines: g,
5548
- setShowOutlines: _,
5549
- highlightName: v,
5550
- setHighlightName: y,
5551
- registerHover: b,
5552
- unregisterHover: x,
5553
- openDialog: S
5620
+ }, []), w = a(() => {
5621
+ f(null), m({});
5622
+ }, []), T = l(() => ({
5623
+ activeId: r,
5624
+ activeRect: o,
5625
+ isActive: h,
5626
+ setIsActive: g,
5627
+ showOutlines: _,
5628
+ setShowOutlines: v,
5629
+ highlightName: y,
5630
+ setHighlightName: b,
5631
+ reduxStore: n,
5632
+ registerHover: x,
5633
+ unregisterHover: S,
5634
+ openDialog: C
5554
5635
  }), [
5636
+ r,
5637
+ o,
5638
+ h,
5639
+ _,
5640
+ y,
5555
5641
  n,
5556
- i,
5557
- m,
5558
- g,
5559
- v,
5560
- b,
5561
5642
  x,
5562
- S
5563
- ]), T = l(() => ({
5564
- openDialogId: c,
5565
- dialogMeta: f,
5566
- closeDialog: C
5567
- }), [
5568
- c,
5569
- f,
5643
+ S,
5570
5644
  C
5645
+ ]), E = l(() => ({
5646
+ openDialogId: u,
5647
+ dialogMeta: p,
5648
+ closeDialog: w
5649
+ }), [
5650
+ u,
5651
+ p,
5652
+ w
5571
5653
  ]);
5572
- return /* @__PURE__ */ t.createElement(Ll.Provider, { value: w }, /* @__PURE__ */ t.createElement(Rl.Provider, { value: T }, e, /* @__PURE__ */ t.createElement(Il, { active: m }, /* @__PURE__ */ t.createElement(ya, null)), /* @__PURE__ */ t.createElement(Fl, null)));
5573
- }, Bl = {
5654
+ return /* @__PURE__ */ t.createElement(Vl.Provider, { value: T }, /* @__PURE__ */ t.createElement(Hl.Provider, { value: E }, e, /* @__PURE__ */ t.createElement(Bl, { active: h }, /* @__PURE__ */ t.createElement(ya, null)), /* @__PURE__ */ t.createElement(zl, null)));
5655
+ }, Wl = {
5574
5656
  activeId: null,
5575
5657
  activeRect: null,
5576
5658
  isActive: !1,
@@ -5579,15 +5661,16 @@ var Fl = () => {
5579
5661
  setShowOutlines: () => {},
5580
5662
  highlightName: "",
5581
5663
  setHighlightName: () => {},
5664
+ reduxStore: void 0,
5582
5665
  registerHover: () => {},
5583
5666
  unregisterHover: () => {},
5584
5667
  openDialog: () => {}
5585
- }, Vl = {
5668
+ }, Gl = {
5586
5669
  openDialogId: null,
5587
5670
  dialogMeta: {},
5588
5671
  closeDialog: () => {}
5589
- }, Hl = () => o(Ll) ?? Bl, Ul = () => o(Rl) ?? Vl, Wl = () => {
5590
- let e = Hl(), t = Ul();
5672
+ }, Kl = () => o(Vl) ?? Wl, ql = () => o(Hl) ?? Gl, Jl = () => {
5673
+ let e = Kl(), t = ql();
5591
5674
  return {
5592
5675
  ...e,
5593
5676
  ...t
@@ -5595,7 +5678,7 @@ var Fl = () => {
5595
5678
  };
5596
5679
  //#endregion
5597
5680
  //#region src/utils/safeSerialize.ts
5598
- function Gl(e, t = 0, n = /* @__PURE__ */ new WeakSet()) {
5681
+ function Yl(e, t = 0, n = /* @__PURE__ */ new WeakSet()) {
5599
5682
  if (t > 6) return "[Max Depth]";
5600
5683
  if (e === null) return null;
5601
5684
  if (typeof e == "function") return "[Function]";
@@ -5603,15 +5686,15 @@ function Gl(e, t = 0, n = /* @__PURE__ */ new WeakSet()) {
5603
5686
  if (n.has(e)) return "[Circular]";
5604
5687
  if (n.add(e), "$$typeof" in e) return "[React Element]";
5605
5688
  if ("_context" in e || "Provider" in e && "Consumer" in e) return "[React Context]";
5606
- if (Array.isArray(e)) return e.map((e) => Gl(e, t + 1, n));
5689
+ if (Array.isArray(e)) return e.map((e) => Yl(e, t + 1, n));
5607
5690
  let r = {};
5608
- for (let [i, a] of Object.entries(e)) i.startsWith("__react") || i.startsWith("_react") || i === "_owner" || (r[i] = Gl(a, t + 1, n));
5691
+ for (let [i, a] of Object.entries(e)) i.startsWith("__react") || i.startsWith("_react") || i === "_owner" || (r[i] = Yl(a, t + 1, n));
5609
5692
  return r;
5610
5693
  }
5611
5694
  //#endregion
5612
5695
  //#region src/react/Sentinel.tsx
5613
- var Kl = ({ children: e, componentName: n, sourceFile: r, renderCount: i, dialogMd: a, componentProps: o }) => {
5614
- let s = k(), { activeId: c, isActive: l, showOutlines: d, highlightName: f, registerHover: p, unregisterHover: m, openDialog: h } = Hl(), g = u([]), _ = u(""), v = o ? Gl(o) : void 0, y = v ? JSON.stringify(v) : "";
5696
+ var Xl = ({ children: e, componentName: n, sourceFile: r, renderCount: i, dialogMd: a, componentProps: o }) => {
5697
+ let s = k(), { activeId: c, isActive: l, showOutlines: d, highlightName: f, registerHover: p, unregisterHover: m, openDialog: h } = Kl(), g = u([]), _ = u(""), v = o ? Yl(o) : void 0, y = v ? JSON.stringify(v) : "";
5615
5698
  v && y !== _.current && (_.current = y, g.current = [v, ...g.current].slice(0, 6));
5616
5699
  let b = l && c === s, x = l && !!f && !!n && n.toLowerCase().includes(f.toLowerCase());
5617
5700
  return /* @__PURE__ */ t.createElement("div", {
@@ -5627,7 +5710,7 @@ var Kl = ({ children: e, componentName: n, sourceFile: r, renderCount: i, dialog
5627
5710
  style: { zIndex: b ? 1e3 : "initial" },
5628
5711
  className: "relative transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]"
5629
5712
  }, /* @__PURE__ */ t.createElement("div", {
5630
- className: "w-full h-full p-0.5 transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]",
5713
+ className: "w-full h-full p-0.5! transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]",
5631
5714
  style: {
5632
5715
  zIndex: b ? 1e3 : "auto",
5633
5716
  border: x ? "2px dashed rgba(245, 158, 11, 0.8)" : b ? "2px dashed rgba(99, 102, 241, 0.55)" : l && d ? "2px dashed rgba(99, 102, 241, 0.22)" : "2px solid transparent",
@@ -5636,4 +5719,4 @@ var Kl = ({ children: e, componentName: n, sourceFile: r, renderCount: i, dialog
5636
5719
  }, e));
5637
5720
  };
5638
5721
  //#endregion
5639
- export { Kl as Sentinel, zl as SentinelProvider, Wl as useSentinel, Ul as useSentinelDialog, Hl as useSentinelInteraction };
5722
+ export { Xl as Sentinel, Ul as SentinelProvider, Jl as useSentinel, ql as useSentinelDialog, Kl as useSentinelInteraction };