@stackable-labs/embeddables 1.21.2 → 1.21.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { jsxs as O, jsx as f, Fragment as Ce } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
- import de, { createContext as Gi, useState as oe, useRef as Ue, useEffect as ie, useContext as qi, useMemo as xo, useCallback as Mt, createElement as Ft, forwardRef as So, useLayoutEffect as Ki } from "react";
3
+ import de, { createContext as Gi, useState as oe, useRef as Ue, useEffect as ie, useContext as qi, useMemo as So, useCallback as Mt, createElement as Ft, forwardRef as Co, useLayoutEffect as Ki } from "react";
4
4
  import * as Yt from "react-dom";
5
5
  import Yi from "react-dom";
6
6
  const Xi = () => {
7
7
  try {
8
- return "a7247077-4a2a-4e33-b571-a66c375ddd48";
8
+ return "d6c5897d-f623-4ff6-90a9-c5c93f393042";
9
9
  } catch {
10
10
  return "dev";
11
11
  }
@@ -107,7 +107,7 @@ const Xi = () => {
107
107
  "ui-button": ["variant", "size", "disabled", "onClick", "type", "className", "title"],
108
108
  "ui-text": ["className", "tone"],
109
109
  "ui-heading": ["level", "className"],
110
- "ui-badge": ["variant", "tone", "className"],
110
+ "ui-badge": ["variant", "hue", "tone", "className"],
111
111
  "ui-input": ["type", "placeholder", "value", "onChange", "disabled", "className", "id"],
112
112
  "ui-textarea": ["placeholder", "value", "onChange", "disabled", "rows", "className", "id"],
113
113
  "ui-select": ["value", "defaultValue", "onChange", "placeholder", "disabled", "className"],
@@ -143,7 +143,7 @@ const Xi = () => {
143
143
  "ui-card": ["ui-card-header", "ui-card-content"],
144
144
  "ui-menu": ["ui-menu-item"],
145
145
  "ui-select": ["ui-select-option"],
146
- "ui-radio-group": ["ui-radio-group-item"],
146
+ "ui-radio-group": ["ui-radio-group-item", "ui-label", "ui-inline"],
147
147
  "ui-collapsible": ["ui-collapsible-trigger", "ui-collapsible-content"]
148
148
  }, rc = {
149
149
  "context.read": "context:read",
@@ -151,18 +151,18 @@ const Xi = () => {
151
151
  "data.fetch": "data:fetch",
152
152
  "actions.toast": "actions:toast",
153
153
  "actions.invoke": "actions:invoke"
154
- }, Co = {
154
+ }, ko = {
155
155
  ADMIN: "org:super_admin"
156
- }, Ar = {
156
+ }, Tr = {
157
157
  ADMIN: "org:admin",
158
158
  OWNER: "org:owner"
159
159
  }, oc = [
160
- Co.ADMIN,
161
- Ar.ADMIN,
162
- Ar.OWNER
160
+ ko.ADMIN,
161
+ Tr.ADMIN,
162
+ Tr.OWNER
163
163
  ];
164
164
  [
165
- ...Object.values(Co),
165
+ ...Object.values(ko),
166
166
  ...Object.values(oc)
167
167
  ];
168
168
  const sc = (e) => {
@@ -231,7 +231,7 @@ const sc = (e) => {
231
231
  return window.addEventListener("message", t), () => {
232
232
  window.removeEventListener("message", t);
233
233
  };
234
- }, ko = Gi({
234
+ }, Eo = Gi({
235
235
  extensions: [],
236
236
  components: {},
237
237
  ready: !1
@@ -260,11 +260,11 @@ const sc = (e) => {
260
260
  Ji(p.id);
261
261
  (u = i.current) == null || u.call(i);
262
262
  };
263
- }, [e, t]), /* @__PURE__ */ O(ko.Provider, { value: { extensions: e, components: n, ready: o }, children: [
263
+ }, [e, t]), /* @__PURE__ */ O(Eo.Provider, { value: { extensions: e, components: n, ready: o }, children: [
264
264
  /* @__PURE__ */ f("div", { ref: a, style: { display: "none" } }),
265
265
  r
266
266
  ] });
267
- }, ic = () => qi(ko), cc = (e) => ec.includes(e), lc = (e, t) => {
267
+ }, ic = () => qi(Eo), cc = (e) => ec.includes(e), lc = (e, t) => {
268
268
  const n = {}, r = [];
269
269
  if (!t) return { filtered: n, stripped: r };
270
270
  const o = tc[e];
@@ -291,7 +291,7 @@ const sc = (e) => {
291
291
  fallback: o = null,
292
292
  render: s
293
293
  }) => {
294
- const { extensions: a, components: i, ready: c } = ic(), [l, u] = oe({}), p = Ue(""), m = xo(
294
+ const { extensions: a, components: i, ready: c } = ic(), [l, u] = oe({}), p = Ue(""), m = So(
295
295
  () => a.filter((g) => g.enabled && g.manifest.targets.includes(e)),
296
296
  // eslint-disable-next-line react-hooks/exhaustive-deps
297
297
  [a.map((g) => g.id).join(","), e]
@@ -302,20 +302,20 @@ const sc = (e) => {
302
302
  return g.text || null;
303
303
  if (!g.tag) return null;
304
304
  if (g.tag === "__fragment")
305
- return /* @__PURE__ */ f(de.Fragment, { children: (k = g.children) == null ? void 0 : k.map((_, D) => v(_, b, D)) }, y);
305
+ return /* @__PURE__ */ f(de.Fragment, { children: (k = g.children) == null ? void 0 : k.map((_, z) => v(_, b, z)) }, y);
306
306
  if (!cc(g.tag))
307
307
  return console.warn(`[ExtensionHost] Unknown UI tag rejected: <${g.tag}>`), null;
308
308
  const x = i[g.tag];
309
309
  if (!x)
310
- return g.tag.startsWith("ui-") ? (console.warn(`[ExtensionSlot] Unregistered UI tag: <${g.tag}>`), null) : /* @__PURE__ */ f(de.Fragment, { children: (N = g.children) == null ? void 0 : N.map((_, D) => v(_, b, D)) }, y);
310
+ return g.tag.startsWith("ui-") ? (console.warn(`[ExtensionSlot] Unregistered UI tag: <${g.tag}>`), null) : /* @__PURE__ */ f(de.Fragment, { children: (N = g.children) == null ? void 0 : N.map((_, z) => v(_, b, z)) }, y);
311
311
  const { filtered: S, stripped: R } = lc(g.tag, g.attrs);
312
312
  R.length > 0 && console.warn(`[ExtensionSlot] Attributes not allowed on <${g.tag}>, stripped: ${R.join(", ")}`);
313
313
  const E = dc(g.tag, g.children);
314
314
  if (E.length > 0 && console.warn(`[ExtensionSlot] Invalid children in <${g.tag}>: ${E.join(", ")}`), g.actionId) {
315
315
  const _ = g.actionId;
316
316
  S.onClick = () => {
317
- const D = b;
318
- D == null || D.postMessage(
317
+ const z = b;
318
+ z == null || z.postMessage(
319
319
  { type: "action-invoke", surfaceId: e, actionId: _ },
320
320
  "*"
321
321
  );
@@ -323,15 +323,15 @@ const sc = (e) => {
323
323
  }
324
324
  if (S["data-onchange-id"]) {
325
325
  const _ = S["data-onchange-id"];
326
- delete S["data-onchange-id"], S.onChange = (D) => {
326
+ delete S["data-onchange-id"], S.onChange = (z) => {
327
327
  const V = b;
328
328
  V == null || V.postMessage(
329
- { type: "action-invoke", surfaceId: e, actionId: _, value: D.target.value },
329
+ { type: "action-invoke", surfaceId: e, actionId: _, value: z.target.value },
330
330
  "*"
331
331
  );
332
332
  };
333
333
  }
334
- const C = (I = g.children) == null ? void 0 : I.map((_, D) => v(_, b, D));
334
+ const C = (I = g.children) == null ? void 0 : I.map((_, z) => v(_, b, z));
335
335
  return /* @__PURE__ */ Ft(x, { ...S, key: y }, C && C.length > 0 ? C : void 0);
336
336
  },
337
337
  [e, i]
@@ -410,7 +410,7 @@ const sc = (e) => {
410
410
  } catch {
411
411
  return !1;
412
412
  }
413
- }, Eo = (e) => {
413
+ }, Ro = (e) => {
414
414
  const n = new URLSearchParams(e).getAll("_stackable_dev");
415
415
  if (n.length === 0)
416
416
  return [];
@@ -442,7 +442,7 @@ const sc = (e) => {
442
442
  * This source code is licensed under the ISC license.
443
443
  * See the LICENSE file in the root directory of this source tree.
444
444
  */
445
- const Ro = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
445
+ const No = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
446
446
  /**
447
447
  * @license lucide-react v0.577.0 - ISC
448
448
  *
@@ -466,7 +466,7 @@ const mc = (e) => e.replace(
466
466
  * This source code is licensed under the ISC license.
467
467
  * See the LICENSE file in the root directory of this source tree.
468
468
  */
469
- const Tr = (e) => {
469
+ const _r = (e) => {
470
470
  const t = mc(e);
471
471
  return t.charAt(0).toUpperCase() + t.slice(1);
472
472
  };
@@ -505,7 +505,7 @@ const gc = (e) => {
505
505
  * This source code is licensed under the ISC license.
506
506
  * See the LICENSE file in the root directory of this source tree.
507
507
  */
508
- const vc = So(
508
+ const vc = Co(
509
509
  ({
510
510
  color: e = "currentColor",
511
511
  size: t = 24,
@@ -524,7 +524,7 @@ const vc = So(
524
524
  height: t,
525
525
  stroke: e,
526
526
  strokeWidth: r ? Number(n) * 24 / Number(t) : n,
527
- className: Ro("lucide", o),
527
+ className: No("lucide", o),
528
528
  ...!s && !gc(i) && { "aria-hidden": "true" },
529
529
  ...i
530
530
  },
@@ -541,19 +541,19 @@ const vc = So(
541
541
  * See the LICENSE file in the root directory of this source tree.
542
542
  */
543
543
  const X = (e, t) => {
544
- const n = So(
544
+ const n = Co(
545
545
  ({ className: r, ...o }, s) => Ft(vc, {
546
546
  ref: s,
547
547
  iconNode: t,
548
- className: Ro(
549
- `lucide-${pc(Tr(e))}`,
548
+ className: No(
549
+ `lucide-${pc(_r(e))}`,
550
550
  `lucide-${e}`,
551
551
  r
552
552
  ),
553
553
  ...o
554
554
  })
555
555
  );
556
- return n.displayName = Tr(e), n;
556
+ return n.displayName = _r(e), n;
557
557
  };
558
558
  /**
559
559
  * @license lucide-react v0.577.0 - ISC
@@ -615,14 +615,14 @@ const kc = [
615
615
  * This source code is licensed under the ISC license.
616
616
  * See the LICENSE file in the root directory of this source tree.
617
617
  */
618
- const Rc = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], No = X("check", Rc);
618
+ const Rc = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Po = X("check", Rc);
619
619
  /**
620
620
  * @license lucide-react v0.577.0 - ISC
621
621
  *
622
622
  * This source code is licensed under the ISC license.
623
623
  * See the LICENSE file in the root directory of this source tree.
624
624
  */
625
- const Nc = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Po = X("chevron-down", Nc);
625
+ const Nc = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Ao = X("chevron-down", Nc);
626
626
  /**
627
627
  * @license lucide-react v0.577.0 - ISC
628
628
  *
@@ -636,7 +636,7 @@ const Pc = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Ac = X("chevron-l
636
636
  * This source code is licensed under the ISC license.
637
637
  * See the LICENSE file in the root directory of this source tree.
638
638
  */
639
- const Tc = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Ao = X("chevron-right", Tc);
639
+ const Tc = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], tr = X("chevron-right", Tc);
640
640
  /**
641
641
  * @license lucide-react v0.577.0 - ISC
642
642
  *
@@ -735,7 +735,7 @@ const Kc = [
735
735
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
736
736
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
737
737
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
738
- ], tr = X("info", Kc);
738
+ ], nr = X("info", Kc);
739
739
  /**
740
740
  * @license lucide-react v0.577.0 - ISC
741
741
  *
@@ -933,7 +933,7 @@ const hl = (e, t) => {
933
933
  nextPart: e,
934
934
  validators: t,
935
935
  classGroupId: n
936
- }), Ht = "-", _r = [], vl = "arbitrary..", bl = (e) => {
936
+ }), Ht = "-", Ir = [], vl = "arbitrary..", bl = (e) => {
937
937
  const t = yl(e), {
938
938
  conflictingClassGroups: n,
939
939
  conflictingClassGroupModifiers: r
@@ -948,9 +948,9 @@ const hl = (e, t) => {
948
948
  getConflictingClassGroupIds: (a, i) => {
949
949
  if (i) {
950
950
  const c = r[a], l = n[a];
951
- return c ? l ? hl(l, c) : c : l || _r;
951
+ return c ? l ? hl(l, c) : c : l || Ir;
952
952
  }
953
- return n[a] || _r;
953
+ return n[a] || Ir;
954
954
  }
955
955
  };
956
956
  }, zo = (e, t, n) => {
@@ -983,10 +983,10 @@ const hl = (e, t) => {
983
983
  const n = Do();
984
984
  for (const r in e) {
985
985
  const o = e[r];
986
- nr(o, n, r, t);
986
+ rr(o, n, r, t);
987
987
  }
988
988
  return n;
989
- }, nr = (e, t, n, r) => {
989
+ }, rr = (e, t, n, r) => {
990
990
  const o = e.length;
991
991
  for (let s = 0; s < o; s++) {
992
992
  const a = e[s];
@@ -1007,7 +1007,7 @@ const hl = (e, t) => {
1007
1007
  r.classGroupId = n;
1008
1008
  }, kl = (e, t, n, r) => {
1009
1009
  if (Rl(e)) {
1010
- nr(e(r), t, n, r);
1010
+ rr(e(r), t, n, r);
1011
1011
  return;
1012
1012
  }
1013
1013
  t.validators === null && (t.validators = []), t.validators.push(gl(n, e));
@@ -1015,7 +1015,7 @@ const hl = (e, t) => {
1015
1015
  const o = Object.entries(e), s = o.length;
1016
1016
  for (let a = 0; a < s; a++) {
1017
1017
  const [i, c] = o[a];
1018
- nr(c, $o(t, i), n, r);
1018
+ rr(c, $o(t, i), n, r);
1019
1019
  }
1020
1020
  }, $o = (e, t) => {
1021
1021
  let n = e;
@@ -1050,7 +1050,7 @@ const hl = (e, t) => {
1050
1050
  s in n ? n[s] = a : o(s, a);
1051
1051
  }
1052
1052
  };
1053
- }, Dn = "!", Ir = ":", Pl = [], Mr = (e, t, n, r, o) => ({
1053
+ }, Dn = "!", Mr = ":", Pl = [], Or = (e, t, n, r, o) => ({
1054
1054
  modifiers: e,
1055
1055
  hasImportantModifier: t,
1056
1056
  baseClassName: n,
@@ -1068,7 +1068,7 @@ const hl = (e, t) => {
1068
1068
  for (let h = 0; h < u; h++) {
1069
1069
  const g = o[h];
1070
1070
  if (a === 0 && i === 0) {
1071
- if (g === Ir) {
1071
+ if (g === Mr) {
1072
1072
  s.push(o.slice(c, h)), c = h + 1;
1073
1073
  continue;
1074
1074
  }
@@ -1089,11 +1089,11 @@ const hl = (e, t) => {
1089
1089
  p.startsWith(Dn) && (m = p.slice(1), v = !0)
1090
1090
  );
1091
1091
  const w = l && l > c ? l - c : void 0;
1092
- return Mr(s, v, m, w);
1092
+ return Or(s, v, m, w);
1093
1093
  };
1094
1094
  if (t) {
1095
- const o = t + Ir, s = r;
1096
- r = (a) => a.startsWith(o) ? s(a.slice(o.length)) : Mr(Pl, !1, a, void 0, !0);
1095
+ const o = t + Mr, s = r;
1096
+ r = (a) => a.startsWith(o) ? s(a.slice(o.length)) : Or(Pl, !1, a, void 0, !0);
1097
1097
  }
1098
1098
  if (n) {
1099
1099
  const o = r;
@@ -1198,7 +1198,7 @@ const hl = (e, t) => {
1198
1198
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1199
1199
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1200
1200
  Fl.test(e) && !Hl.test(e)
1201
- ), rr = () => !1, Ul = (e) => Bl.test(e), jl = (e) => Wl.test(e), Gl = (e) => !A(e) && !T(e), ql = (e) => Fe(e, jo, rr), A = (e) => Ho.test(e), We = (e) => Fe(e, Go, Vl), Or = (e) => Fe(e, td, B), Kl = (e) => Fe(e, Ko, Wo), Yl = (e) => Fe(e, qo, rr), Lr = (e) => Fe(e, Vo, rr), Xl = (e) => Fe(e, Uo, jl), Et = (e) => Fe(e, Yo, Ul), T = (e) => Bo.test(e), ft = (e) => Ye(e, Go), Zl = (e) => Ye(e, qo), Dr = (e) => Ye(e, Vo), Jl = (e) => Ye(e, jo), Ql = (e) => Ye(e, Uo), Rt = (e) => Ye(e, Yo, !0), ed = (e) => Ye(e, Ko, !0), Fe = (e, t, n) => {
1201
+ ), or = () => !1, Ul = (e) => Bl.test(e), jl = (e) => Wl.test(e), Gl = (e) => !A(e) && !T(e), ql = (e) => Fe(e, jo, or), A = (e) => Ho.test(e), We = (e) => Fe(e, Go, Vl), Lr = (e) => Fe(e, td, B), Kl = (e) => Fe(e, Ko, Wo), Yl = (e) => Fe(e, qo, or), Dr = (e) => Fe(e, Vo, or), Xl = (e) => Fe(e, Uo, jl), Et = (e) => Fe(e, Yo, Ul), T = (e) => Bo.test(e), ft = (e) => Ye(e, Go), Zl = (e) => Ye(e, qo), zr = (e) => Ye(e, Vo), Jl = (e) => Ye(e, jo), Ql = (e) => Ye(e, Uo), Rt = (e) => Ye(e, Yo, !0), ed = (e) => Ye(e, Ko, !0), Fe = (e, t, n) => {
1202
1202
  const r = Ho.exec(e);
1203
1203
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
1204
1204
  }, Ye = (e, t, n = !1) => {
@@ -1225,7 +1225,7 @@ const hl = (e, t) => {
1225
1225
  "left-bottom"
1226
1226
  ], R = () => [...S(), T, A], E = () => ["auto", "hidden", "clip", "visible", "scroll"], C = () => ["auto", "contain", "none"], k = () => [T, A, c], N = () => [Me, "full", "auto", ...k()], I = () => [Oe, "none", "subgrid", T, A], _ = () => ["auto", {
1227
1227
  span: ["full", Oe, T, A]
1228
- }, Oe, T, A], D = () => [Oe, "auto", T, A], V = () => ["auto", "min", "max", "fr", T, A], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...k()], W = () => [Me, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], H = () => [Me, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...k()], Z = () => [Me, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...k()], P = () => [e, T, A], pe = () => [...S(), Dr, Lr, {
1228
+ }, Oe, T, A], z = () => [Oe, "auto", T, A], V = () => ["auto", "min", "max", "fr", T, A], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...k()], W = () => [Me, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], H = () => [Me, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...k()], Z = () => [Me, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...k()], P = () => [e, T, A], pe = () => [...S(), zr, Dr, {
1229
1229
  position: [T, A]
1230
1230
  }], _e = () => ["no-repeat", {
1231
1231
  repeat: ["", "x", "y", "space", "round"]
@@ -1239,7 +1239,7 @@ const hl = (e, t) => {
1239
1239
  l,
1240
1240
  T,
1241
1241
  A
1242
- ], ee = () => ["", B, ft, We], $ = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [B, wn, Dr, Lr], J = () => [
1242
+ ], ee = () => ["", B, ft, We], $ = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [B, wn, zr, Dr], J = () => [
1243
1243
  // Deprecated since Tailwind CSS v4.0.0
1244
1244
  "",
1245
1245
  "none",
@@ -1591,14 +1591,14 @@ const hl = (e, t) => {
1591
1591
  * @see https://tailwindcss.com/docs/grid-column
1592
1592
  */
1593
1593
  "col-start": [{
1594
- "col-start": D()
1594
+ "col-start": z()
1595
1595
  }],
1596
1596
  /**
1597
1597
  * Grid Column End
1598
1598
  * @see https://tailwindcss.com/docs/grid-column
1599
1599
  */
1600
1600
  "col-end": [{
1601
- "col-end": D()
1601
+ "col-end": z()
1602
1602
  }],
1603
1603
  /**
1604
1604
  * Grid Template Rows
@@ -1619,14 +1619,14 @@ const hl = (e, t) => {
1619
1619
  * @see https://tailwindcss.com/docs/grid-row
1620
1620
  */
1621
1621
  "row-start": [{
1622
- "row-start": D()
1622
+ "row-start": z()
1623
1623
  }],
1624
1624
  /**
1625
1625
  * Grid Row End
1626
1626
  * @see https://tailwindcss.com/docs/grid-row
1627
1627
  */
1628
1628
  "row-end": [{
1629
- "row-end": D()
1629
+ "row-end": z()
1630
1630
  }],
1631
1631
  /**
1632
1632
  * Grid Auto Flow
@@ -2117,7 +2117,7 @@ const hl = (e, t) => {
2117
2117
  * @see https://tailwindcss.com/docs/line-clamp
2118
2118
  */
2119
2119
  "line-clamp": [{
2120
- "line-clamp": [B, "none", T, Or]
2120
+ "line-clamp": [B, "none", T, Lr]
2121
2121
  }],
2122
2122
  /**
2123
2123
  * Line Height
@@ -3758,7 +3758,7 @@ const hl = (e, t) => {
3758
3758
  * @see https://tailwindcss.com/docs/stroke-width
3759
3759
  */
3760
3760
  "stroke-w": [{
3761
- stroke: [B, ft, We, Or]
3761
+ stroke: [B, ft, We, Lr]
3762
3762
  }],
3763
3763
  /**
3764
3764
  * Stroke
@@ -3833,13 +3833,13 @@ const hl = (e, t) => {
3833
3833
  },
3834
3834
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3835
3835
  };
3836
- }, rd = /* @__PURE__ */ Ll(nd), z = (...e) => rd(Lo(e));
3836
+ }, rd = /* @__PURE__ */ Ll(nd), D = (...e) => rd(Lo(e));
3837
3837
  function mt({ className: e, ...t }) {
3838
3838
  return /* @__PURE__ */ f(
3839
3839
  "div",
3840
3840
  {
3841
3841
  "data-slot": "card",
3842
- className: z(
3842
+ className: D(
3843
3843
  "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",
3844
3844
  e
3845
3845
  ),
@@ -3852,7 +3852,7 @@ function od({ className: e, ...t }) {
3852
3852
  "div",
3853
3853
  {
3854
3854
  "data-slot": "card-header",
3855
- className: z(
3855
+ className: D(
3856
3856
  "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
3857
3857
  e
3858
3858
  ),
@@ -3865,18 +3865,18 @@ function ht({ className: e, ...t }) {
3865
3865
  "div",
3866
3866
  {
3867
3867
  "data-slot": "card-content",
3868
- className: z("px-6", e),
3868
+ className: D("px-6", e),
3869
3869
  ...t
3870
3870
  }
3871
3871
  );
3872
3872
  }
3873
- const zr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, $r = Lo, Xt = (e, t) => (n) => {
3873
+ const $r = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Fr = Lo, Xt = (e, t) => (n) => {
3874
3874
  var r;
3875
- if ((t == null ? void 0 : t.variants) == null) return $r(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3875
+ if ((t == null ? void 0 : t.variants) == null) return Fr(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3876
3876
  const { variants: o, defaultVariants: s } = t, a = Object.keys(o).map((l) => {
3877
3877
  const u = n == null ? void 0 : n[l], p = s == null ? void 0 : s[l];
3878
3878
  if (u === null) return null;
3879
- const m = zr(u) || zr(p);
3879
+ const m = $r(u) || $r(p);
3880
3880
  return o[l][m];
3881
3881
  }), i = n && Object.entries(n).reduce((l, u) => {
3882
3882
  let [p, m] = u;
@@ -3898,9 +3898,9 @@ const zr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, $r = Lo, X
3898
3898
  m
3899
3899
  ] : l;
3900
3900
  }, []);
3901
- return $r(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3901
+ return Fr(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3902
3902
  };
3903
- function Fr(e, t) {
3903
+ function Hr(e, t) {
3904
3904
  if (typeof e == "function")
3905
3905
  return e(t);
3906
3906
  e != null && (e.current = t);
@@ -3909,14 +3909,14 @@ function Xo(...e) {
3909
3909
  return (t) => {
3910
3910
  let n = !1;
3911
3911
  const r = e.map((o) => {
3912
- const s = Fr(o, t);
3912
+ const s = Hr(o, t);
3913
3913
  return !n && typeof s == "function" && (n = !0), s;
3914
3914
  });
3915
3915
  if (n)
3916
3916
  return () => {
3917
3917
  for (let o = 0; o < r.length; o++) {
3918
3918
  const s = r[o];
3919
- typeof s == "function" ? s() : Fr(e[o], null);
3919
+ typeof s == "function" ? s() : Hr(e[o], null);
3920
3920
  }
3921
3921
  };
3922
3922
  };
@@ -4245,7 +4245,7 @@ function Xe(e) {
4245
4245
  n((r) => r ?? String(Sd++));
4246
4246
  }, [e]), e || (t ? `radix-${t}` : "");
4247
4247
  }
4248
- var Zt = "Collapsible", [Cd] = le(Zt), [kd, or] = Cd(Zt), ns = d.forwardRef(
4248
+ var Zt = "Collapsible", [Cd] = le(Zt), [kd, sr] = Cd(Zt), ns = d.forwardRef(
4249
4249
  (e, t) => {
4250
4250
  const {
4251
4251
  __scopeCollapsible: n,
@@ -4271,7 +4271,7 @@ var Zt = "Collapsible", [Cd] = le(Zt), [kd, or] = Cd(Zt), ns = d.forwardRef(
4271
4271
  children: /* @__PURE__ */ f(
4272
4272
  L.div,
4273
4273
  {
4274
- "data-state": ar(c),
4274
+ "data-state": ir(c),
4275
4275
  "data-disabled": s ? "" : void 0,
4276
4276
  ...i,
4277
4277
  ref: t
@@ -4284,14 +4284,14 @@ var Zt = "Collapsible", [Cd] = le(Zt), [kd, or] = Cd(Zt), ns = d.forwardRef(
4284
4284
  ns.displayName = Zt;
4285
4285
  var rs = "CollapsibleTrigger", os = d.forwardRef(
4286
4286
  (e, t) => {
4287
- const { __scopeCollapsible: n, ...r } = e, o = or(rs, n);
4287
+ const { __scopeCollapsible: n, ...r } = e, o = sr(rs, n);
4288
4288
  return /* @__PURE__ */ f(
4289
4289
  L.button,
4290
4290
  {
4291
4291
  type: "button",
4292
4292
  "aria-controls": o.contentId,
4293
4293
  "aria-expanded": o.open || !1,
4294
- "data-state": ar(o.open),
4294
+ "data-state": ir(o.open),
4295
4295
  "data-disabled": o.disabled ? "" : void 0,
4296
4296
  disabled: o.disabled,
4297
4297
  ...r,
@@ -4302,15 +4302,15 @@ var rs = "CollapsibleTrigger", os = d.forwardRef(
4302
4302
  }
4303
4303
  );
4304
4304
  os.displayName = rs;
4305
- var sr = "CollapsibleContent", ss = d.forwardRef(
4305
+ var ar = "CollapsibleContent", ss = d.forwardRef(
4306
4306
  (e, t) => {
4307
- const { forceMount: n, ...r } = e, o = or(sr, e.__scopeCollapsible);
4307
+ const { forceMount: n, ...r } = e, o = sr(ar, e.__scopeCollapsible);
4308
4308
  return /* @__PURE__ */ f(we, { present: n || o.open, children: ({ present: s }) => /* @__PURE__ */ f(Ed, { ...r, ref: t, present: s }) });
4309
4309
  }
4310
4310
  );
4311
- ss.displayName = sr;
4311
+ ss.displayName = ar;
4312
4312
  var Ed = d.forwardRef((e, t) => {
4313
- const { __scopeCollapsible: n, present: r, children: o, ...s } = e, a = or(sr, n), [i, c] = d.useState(r), l = d.useRef(null), u = G(t, l), p = d.useRef(0), m = p.current, v = d.useRef(0), w = v.current, h = a.open || i, g = d.useRef(h), b = d.useRef(void 0);
4313
+ const { __scopeCollapsible: n, present: r, children: o, ...s } = e, a = sr(ar, n), [i, c] = d.useState(r), l = d.useRef(null), u = G(t, l), p = d.useRef(0), m = p.current, v = d.useRef(0), w = v.current, h = a.open || i, g = d.useRef(h), b = d.useRef(void 0);
4314
4314
  return d.useEffect(() => {
4315
4315
  const y = requestAnimationFrame(() => g.current = !1);
4316
4316
  return () => cancelAnimationFrame(y);
@@ -4327,7 +4327,7 @@ var Ed = d.forwardRef((e, t) => {
4327
4327
  }, [a.open, r]), /* @__PURE__ */ f(
4328
4328
  L.div,
4329
4329
  {
4330
- "data-state": ar(a.open),
4330
+ "data-state": ir(a.open),
4331
4331
  "data-disabled": a.disabled ? "" : void 0,
4332
4332
  id: a.contentId,
4333
4333
  hidden: !h,
@@ -4342,7 +4342,7 @@ var Ed = d.forwardRef((e, t) => {
4342
4342
  }
4343
4343
  );
4344
4344
  });
4345
- function ar(e) {
4345
+ function ir(e) {
4346
4346
  return e ? "open" : "closed";
4347
4347
  }
4348
4348
  var Rd = ns, Nd = d.createContext(void 0);
@@ -4368,11 +4368,11 @@ function Pd(e, t = globalThis == null ? void 0 : globalThis.document) {
4368
4368
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
4369
4369
  }, [n, t]);
4370
4370
  }
4371
- var Ad = "DismissableLayer", zn = "dismissableLayer.update", Td = "dismissableLayer.pointerDownOutside", _d = "dismissableLayer.focusOutside", Hr, as = d.createContext({
4371
+ var Ad = "DismissableLayer", zn = "dismissableLayer.update", Td = "dismissableLayer.pointerDownOutside", _d = "dismissableLayer.focusOutside", Br, as = d.createContext({
4372
4372
  layers: /* @__PURE__ */ new Set(),
4373
4373
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
4374
4374
  branches: /* @__PURE__ */ new Set()
4375
- }), ir = d.forwardRef(
4375
+ }), cr = d.forwardRef(
4376
4376
  (e, t) => {
4377
4377
  const {
4378
4378
  disableOutsidePointerEvents: n = !1,
@@ -4393,11 +4393,11 @@ var Ad = "DismissableLayer", zn = "dismissableLayer.update", Td = "dismissableLa
4393
4393
  y === l.layers.size - 1 && (r == null || r(C), !C.defaultPrevented && i && (C.preventDefault(), i()));
4394
4394
  }, m), d.useEffect(() => {
4395
4395
  if (u)
4396
- return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Hr = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Br(), () => {
4397
- n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = Hr);
4396
+ return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (Br = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(u)), l.layers.add(u), Wr(), () => {
4397
+ n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = Br);
4398
4398
  };
4399
4399
  }, [u, m, n, l]), d.useEffect(() => () => {
4400
- u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Br());
4400
+ u && (l.layers.delete(u), l.layersWithOutsidePointerEventsDisabled.delete(u), Wr());
4401
4401
  }, [u, l]), d.useEffect(() => {
4402
4402
  const C = () => v({});
4403
4403
  return document.addEventListener(zn, C), () => document.removeEventListener(zn, C);
@@ -4420,7 +4420,7 @@ var Ad = "DismissableLayer", zn = "dismissableLayer.update", Td = "dismissableLa
4420
4420
  );
4421
4421
  }
4422
4422
  );
4423
- ir.displayName = Ad;
4423
+ cr.displayName = Ad;
4424
4424
  var Id = "DismissableLayerBranch", Md = d.forwardRef((e, t) => {
4425
4425
  const n = d.useContext(as), r = d.useRef(null), o = G(t, r);
4426
4426
  return d.useEffect(() => {
@@ -4476,7 +4476,7 @@ function Ld(e, t = globalThis == null ? void 0 : globalThis.document) {
4476
4476
  onBlurCapture: () => r.current = !1
4477
4477
  };
4478
4478
  }
4479
- function Br() {
4479
+ function Wr() {
4480
4480
  const e = new CustomEvent(zn);
4481
4481
  document.dispatchEvent(e);
4482
4482
  }
@@ -4484,7 +4484,7 @@ function is(e, t, n, { discrete: r }) {
4484
4484
  const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
4485
4485
  t && o.addEventListener(e, t, { once: !0 }), r ? ud(o, s) : o.dispatchEvent(s);
4486
4486
  }
4487
- var yn = "focusScope.autoFocusOnMount", xn = "focusScope.autoFocusOnUnmount", Wr = { bubbles: !1, cancelable: !0 }, Dd = "FocusScope", cs = d.forwardRef((e, t) => {
4487
+ var yn = "focusScope.autoFocusOnMount", xn = "focusScope.autoFocusOnUnmount", Vr = { bubbles: !1, cancelable: !0 }, Dd = "FocusScope", cs = d.forwardRef((e, t) => {
4488
4488
  const {
4489
4489
  loop: n = !1,
4490
4490
  trapped: r = !1,
@@ -4523,16 +4523,16 @@ var yn = "focusScope.autoFocusOnMount", xn = "focusScope.autoFocusOnUnmount", Wr
4523
4523
  }
4524
4524
  }, [r, i, v.paused]), d.useEffect(() => {
4525
4525
  if (i) {
4526
- Ur.add(v);
4526
+ jr.add(v);
4527
4527
  const h = document.activeElement;
4528
4528
  if (!i.contains(h)) {
4529
- const b = new CustomEvent(yn, Wr);
4529
+ const b = new CustomEvent(yn, Vr);
4530
4530
  i.addEventListener(yn, l), i.dispatchEvent(b), b.defaultPrevented || (zd(Wd(ls(i)), { select: !0 }), document.activeElement === h && Le(i));
4531
4531
  }
4532
4532
  return () => {
4533
4533
  i.removeEventListener(yn, l), setTimeout(() => {
4534
- const b = new CustomEvent(xn, Wr);
4535
- i.addEventListener(xn, u), i.dispatchEvent(b), b.defaultPrevented || Le(h ?? document.body, { select: !0 }), i.removeEventListener(xn, u), Ur.remove(v);
4534
+ const b = new CustomEvent(xn, Vr);
4535
+ i.addEventListener(xn, u), i.dispatchEvent(b), b.defaultPrevented || Le(h ?? document.body, { select: !0 }), i.removeEventListener(xn, u), jr.remove(v);
4536
4536
  }, 0);
4537
4537
  };
4538
4538
  }
@@ -4557,7 +4557,7 @@ function zd(e, { select: t = !1 } = {}) {
4557
4557
  if (Le(r, { select: t }), document.activeElement !== n) return;
4558
4558
  }
4559
4559
  function $d(e) {
4560
- const t = ls(e), n = Vr(t, e), r = Vr(t.reverse(), e);
4560
+ const t = ls(e), n = Ur(t, e), r = Ur(t.reverse(), e);
4561
4561
  return [n, r];
4562
4562
  }
4563
4563
  function ls(e) {
@@ -4570,7 +4570,7 @@ function ls(e) {
4570
4570
  for (; n.nextNode(); ) t.push(n.currentNode);
4571
4571
  return t;
4572
4572
  }
4573
- function Vr(e, t) {
4573
+ function Ur(e, t) {
4574
4574
  for (const n of e)
4575
4575
  if (!Fd(n, { upTo: t })) return n;
4576
4576
  }
@@ -4592,45 +4592,45 @@ function Le(e, { select: t = !1 } = {}) {
4592
4592
  e.focus({ preventScroll: !0 }), e !== n && Hd(e) && t && e.select();
4593
4593
  }
4594
4594
  }
4595
- var Ur = Bd();
4595
+ var jr = Bd();
4596
4596
  function Bd() {
4597
4597
  let e = [];
4598
4598
  return {
4599
4599
  add(t) {
4600
4600
  const n = e[0];
4601
- t !== n && (n == null || n.pause()), e = jr(e, t), e.unshift(t);
4601
+ t !== n && (n == null || n.pause()), e = Gr(e, t), e.unshift(t);
4602
4602
  },
4603
4603
  remove(t) {
4604
4604
  var n;
4605
- e = jr(e, t), (n = e[0]) == null || n.resume();
4605
+ e = Gr(e, t), (n = e[0]) == null || n.resume();
4606
4606
  }
4607
4607
  };
4608
4608
  }
4609
- function jr(e, t) {
4609
+ function Gr(e, t) {
4610
4610
  const n = [...e], r = n.indexOf(t);
4611
4611
  return r !== -1 && n.splice(r, 1), n;
4612
4612
  }
4613
4613
  function Wd(e) {
4614
4614
  return e.filter((t) => t.tagName !== "A");
4615
4615
  }
4616
- var Vd = "Portal", cr = d.forwardRef((e, t) => {
4616
+ var Vd = "Portal", lr = d.forwardRef((e, t) => {
4617
4617
  var i;
4618
4618
  const { container: n, ...r } = e, [o, s] = d.useState(!1);
4619
4619
  ne(() => s(!0), []);
4620
4620
  const a = n || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
4621
4621
  return a ? Yi.createPortal(/* @__PURE__ */ f(L.div, { ...r, ref: t }), a) : null;
4622
4622
  });
4623
- cr.displayName = Vd;
4623
+ lr.displayName = Vd;
4624
4624
  var Sn = 0;
4625
4625
  function Ud() {
4626
4626
  d.useEffect(() => {
4627
4627
  const e = document.querySelectorAll("[data-radix-focus-guard]");
4628
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gr()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gr()), Sn++, () => {
4628
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? qr()), document.body.insertAdjacentElement("beforeend", e[1] ?? qr()), Sn++, () => {
4629
4629
  Sn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Sn--;
4630
4630
  };
4631
4631
  }, []);
4632
4632
  }
4633
- function Gr() {
4633
+ function qr() {
4634
4634
  const e = document.createElement("span");
4635
4635
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
4636
4636
  }
@@ -4681,7 +4681,7 @@ function Kd(e, t) {
4681
4681
  })[0];
4682
4682
  return n.callback = t, n.facade;
4683
4683
  }
4684
- var Yd = typeof window < "u" ? d.useLayoutEffect : d.useEffect, qr = /* @__PURE__ */ new WeakMap();
4684
+ var Yd = typeof window < "u" ? d.useLayoutEffect : d.useEffect, Kr = /* @__PURE__ */ new WeakMap();
4685
4685
  function Xd(e, t) {
4686
4686
  var n = Kd(null, function(r) {
4687
4687
  return e.forEach(function(o) {
@@ -4689,7 +4689,7 @@ function Xd(e, t) {
4689
4689
  });
4690
4690
  });
4691
4691
  return Yd(function() {
4692
- var r = qr.get(n);
4692
+ var r = Kr.get(n);
4693
4693
  if (r) {
4694
4694
  var o = new Set(r), s = new Set(e), a = n.current;
4695
4695
  o.forEach(function(i) {
@@ -4698,7 +4698,7 @@ function Xd(e, t) {
4698
4698
  o.has(i) || Cn(i, a);
4699
4699
  });
4700
4700
  }
4701
- qr.set(n, e);
4701
+ Kr.set(n, e);
4702
4702
  }, [e]), n;
4703
4703
  }
4704
4704
  function Zd(e) {
@@ -4908,13 +4908,13 @@ var su = function() {
4908
4908
  `).concat(qd, ": ").concat(i, `px;
4909
4909
  }
4910
4910
  `);
4911
- }, Kr = function() {
4911
+ }, Yr = function() {
4912
4912
  var e = parseInt(document.body.getAttribute(tt) || "0", 10);
4913
4913
  return isFinite(e) ? e : 0;
4914
4914
  }, fu = function() {
4915
4915
  d.useEffect(function() {
4916
- return document.body.setAttribute(tt, (Kr() + 1).toString()), function() {
4917
- var e = Kr() - 1;
4916
+ return document.body.setAttribute(tt, (Yr() + 1).toString()), function() {
4917
+ var e = Yr() - 1;
4918
4918
  e <= 0 ? document.body.removeAttribute(tt) : document.body.setAttribute(tt, e.toString());
4919
4919
  };
4920
4920
  }, []);
@@ -4952,7 +4952,7 @@ var Ze = $n ? { passive: !1 } : !1, mu = function(e) {
4952
4952
  return ms(e, "overflowY");
4953
4953
  }, gu = function(e) {
4954
4954
  return ms(e, "overflowX");
4955
- }, Yr = function(e, t) {
4955
+ }, Xr = function(e, t) {
4956
4956
  var n = t.ownerDocument, r = t;
4957
4957
  do {
4958
4958
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
@@ -5002,9 +5002,9 @@ var Ze = $n ? { passive: !1 } : !1, mu = function(e) {
5002
5002
  return (u && Math.abs(p) < 1 || !u && Math.abs(m) < 1) && (l = !0), l;
5003
5003
  }, At = function(e) {
5004
5004
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
5005
- }, Xr = function(e) {
5006
- return [e.deltaX, e.deltaY];
5007
5005
  }, Zr = function(e) {
5006
+ return [e.deltaX, e.deltaY];
5007
+ }, Jr = function(e) {
5008
5008
  return e && "current" in e ? e.current : e;
5009
5009
  }, xu = function(e, t) {
5010
5010
  return e[0] === t[0] && e[1] === t[1];
@@ -5021,7 +5021,7 @@ function ku(e) {
5021
5021
  }, [e]), d.useEffect(function() {
5022
5022
  if (e.inert) {
5023
5023
  document.body.classList.add("block-interactivity-".concat(o));
5024
- var h = jd([e.lockRef.current], (e.shards || []).map(Zr), !0).filter(Boolean);
5024
+ var h = jd([e.lockRef.current], (e.shards || []).map(Jr), !0).filter(Boolean);
5025
5025
  return h.forEach(function(g) {
5026
5026
  return g.classList.add("allow-interactivity-".concat(o));
5027
5027
  }), function() {
@@ -5040,19 +5040,19 @@ function ku(e) {
5040
5040
  var k = window.getSelection(), N = k && k.anchorNode, I = N ? N === E || N.contains(E) : !1;
5041
5041
  if (I)
5042
5042
  return !1;
5043
- var _ = Yr(C, E);
5043
+ var _ = Xr(C, E);
5044
5044
  if (!_)
5045
5045
  return !0;
5046
- if (_ ? R = C : (R = C === "v" ? "h" : "v", _ = Yr(C, E)), !_)
5046
+ if (_ ? R = C : (R = C === "v" ? "h" : "v", _ = Xr(C, E)), !_)
5047
5047
  return !1;
5048
5048
  if (!r.current && "changedTouches" in h && (x || S) && (r.current = R), !R)
5049
5049
  return !0;
5050
- var D = r.current || R;
5051
- return yu(D, g, h, D === "h" ? x : S);
5050
+ var z = r.current || R;
5051
+ return yu(z, g, h, z === "h" ? x : S);
5052
5052
  }, []), c = d.useCallback(function(h) {
5053
5053
  var g = h;
5054
5054
  if (!(!Je.length || Je[Je.length - 1] !== s)) {
5055
- var b = "deltaY" in g ? Xr(g) : At(g), y = t.current.filter(function(R) {
5055
+ var b = "deltaY" in g ? Zr(g) : At(g), y = t.current.filter(function(R) {
5056
5056
  return R.name === g.type && (R.target === g.target || g.target === R.shadowParent) && xu(R.delta, b);
5057
5057
  })[0];
5058
5058
  if (y && y.should) {
@@ -5060,7 +5060,7 @@ function ku(e) {
5060
5060
  return;
5061
5061
  }
5062
5062
  if (!y) {
5063
- var x = (a.current.shards || []).map(Zr).filter(Boolean).filter(function(R) {
5063
+ var x = (a.current.shards || []).map(Jr).filter(Boolean).filter(function(R) {
5064
5064
  return R.contains(g.target);
5065
5065
  }), S = x.length > 0 ? i(g, x[0]) : !a.current.noIsolation;
5066
5066
  S && g.cancelable && g.preventDefault();
@@ -5076,7 +5076,7 @@ function ku(e) {
5076
5076
  }, []), u = d.useCallback(function(h) {
5077
5077
  n.current = At(h), r.current = void 0;
5078
5078
  }, []), p = d.useCallback(function(h) {
5079
- l(h.type, Xr(h), h.target, i(h, e.lockRef.current));
5079
+ l(h.type, Zr(h), h.target, i(h, e.lockRef.current));
5080
5080
  }, []), m = d.useCallback(function(h) {
5081
5081
  l(h.type, At(h), h.target, i(h, e.lockRef.current));
5082
5082
  }, []);
@@ -5167,10 +5167,10 @@ var Nu = function(e) {
5167
5167
  * This source code is licensed under the MIT license found in the
5168
5168
  * LICENSE file in the root directory of this source tree.
5169
5169
  */
5170
- var Jr;
5170
+ var Qr;
5171
5171
  function _u() {
5172
- if (Jr) return Pn;
5173
- Jr = 1;
5172
+ if (Qr) return Pn;
5173
+ Qr = 1;
5174
5174
  var e = de;
5175
5175
  function t(p, m) {
5176
5176
  return p === m && (p !== 0 || 1 / p === 1 / m) || p !== p && m !== m;
@@ -5208,9 +5208,9 @@ function _u() {
5208
5208
  var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : i;
5209
5209
  return Pn.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, Pn;
5210
5210
  }
5211
- var Qr;
5211
+ var eo;
5212
5212
  function Iu() {
5213
- return Qr || (Qr = 1, Nn.exports = _u()), Nn.exports;
5213
+ return eo || (eo = 1, Nn.exports = _u()), Nn.exports;
5214
5214
  }
5215
5215
  var Mu = Iu();
5216
5216
  function Ou() {
@@ -5224,7 +5224,7 @@ function Lu() {
5224
5224
  return () => {
5225
5225
  };
5226
5226
  }
5227
- var lr = "Avatar", [Du] = le(lr), [zu, ws] = Du(lr), ys = d.forwardRef(
5227
+ var dr = "Avatar", [Du] = le(dr), [zu, ws] = Du(dr), ys = d.forwardRef(
5228
5228
  (e, t) => {
5229
5229
  const { __scopeAvatar: n, ...r } = e, [o, s] = d.useState("idle");
5230
5230
  return /* @__PURE__ */ f(
@@ -5238,7 +5238,7 @@ var lr = "Avatar", [Du] = le(lr), [zu, ws] = Du(lr), ys = d.forwardRef(
5238
5238
  );
5239
5239
  }
5240
5240
  );
5241
- ys.displayName = lr;
5241
+ ys.displayName = dr;
5242
5242
  var xs = "AvatarImage", Ss = d.forwardRef(
5243
5243
  (e, t) => {
5244
5244
  const { __scopeAvatar: n, src: r, onLoadingStatusChange: o = () => {
@@ -5263,15 +5263,15 @@ var Cs = "AvatarFallback", ks = d.forwardRef(
5263
5263
  }
5264
5264
  );
5265
5265
  ks.displayName = Cs;
5266
- function eo(e, t) {
5266
+ function to(e, t) {
5267
5267
  return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
5268
5268
  }
5269
5269
  function $u(e, { referrerPolicy: t, crossOrigin: n }) {
5270
5270
  const r = Ou(), o = d.useRef(null), s = r ? (o.current || (o.current = new window.Image()), o.current) : null, [a, i] = d.useState(
5271
- () => eo(s, e)
5271
+ () => to(s, e)
5272
5272
  );
5273
5273
  return ne(() => {
5274
- i(eo(s, e));
5274
+ i(to(s, e));
5275
5275
  }, [s, e]), ne(() => {
5276
5276
  const c = (p) => () => {
5277
5277
  i(p);
@@ -5310,7 +5310,7 @@ function en(e) {
5310
5310
  n(void 0);
5311
5311
  }, [e]), t;
5312
5312
  }
5313
- var tn = "Checkbox", [Wu] = le(tn), [Vu, dr] = Wu(tn);
5313
+ var tn = "Checkbox", [Wu] = le(tn), [Vu, ur] = Wu(tn);
5314
5314
  function Uu(e) {
5315
5315
  const {
5316
5316
  __scopeCheckbox: t,
@@ -5371,7 +5371,7 @@ var Es = "CheckboxTrigger", Rs = d.forwardRef(
5371
5371
  hasConsumerStoppedPropagationRef: m,
5372
5372
  isFormControl: v,
5373
5373
  bubbleInput: w
5374
- } = dr(Es, e), h = G(o, u), g = d.useRef(c);
5374
+ } = ur(Es, e), h = G(o, u), g = d.useRef(c);
5375
5375
  return d.useEffect(() => {
5376
5376
  const b = s == null ? void 0 : s.form;
5377
5377
  if (b) {
@@ -5451,7 +5451,7 @@ var Ns = d.forwardRef(
5451
5451
  Ns.displayName = tn;
5452
5452
  var Ps = "CheckboxIndicator", As = d.forwardRef(
5453
5453
  (e, t) => {
5454
- const { __scopeCheckbox: n, forceMount: r, ...o } = e, s = dr(Ps, n);
5454
+ const { __scopeCheckbox: n, forceMount: r, ...o } = e, s = ur(Ps, n);
5455
5455
  return /* @__PURE__ */ f(
5456
5456
  we,
5457
5457
  {
@@ -5485,7 +5485,7 @@ var Ts = "CheckboxBubbleInput", _s = d.forwardRef(
5485
5485
  form: p,
5486
5486
  bubbleInput: m,
5487
5487
  setBubbleInput: v
5488
- } = dr(Ts, e), w = G(n, v), h = Qt(s), g = en(r);
5488
+ } = ur(Ts, e), w = G(n, v), h = Qt(s), g = en(r);
5489
5489
  d.useEffect(() => {
5490
5490
  const y = m;
5491
5491
  if (!y) return;
@@ -5560,22 +5560,22 @@ function Ae(e) {
5560
5560
  function at(e) {
5561
5561
  return e.split("-")[1];
5562
5562
  }
5563
- function ur(e) {
5563
+ function fr(e) {
5564
5564
  return e === "x" ? "y" : "x";
5565
5565
  }
5566
- function fr(e) {
5566
+ function pr(e) {
5567
5567
  return e === "y" ? "height" : "width";
5568
5568
  }
5569
5569
  function xe(e) {
5570
5570
  const t = e[0];
5571
5571
  return t === "t" || t === "b" ? "y" : "x";
5572
5572
  }
5573
- function pr(e) {
5574
- return ur(xe(e));
5573
+ function mr(e) {
5574
+ return fr(xe(e));
5575
5575
  }
5576
5576
  function Ku(e, t, n) {
5577
5577
  n === void 0 && (n = !1);
5578
- const r = at(e), o = pr(e), s = fr(o);
5578
+ const r = at(e), o = mr(e), s = pr(o);
5579
5579
  let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
5580
5580
  return t.reference[s] > t.floating[s] && (a = Wt(a)), [a, Wt(a)];
5581
5581
  }
@@ -5586,12 +5586,12 @@ function Yu(e) {
5586
5586
  function Hn(e) {
5587
5587
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
5588
5588
  }
5589
- const to = ["left", "right"], no = ["right", "left"], Xu = ["top", "bottom"], Zu = ["bottom", "top"];
5589
+ const no = ["left", "right"], ro = ["right", "left"], Xu = ["top", "bottom"], Zu = ["bottom", "top"];
5590
5590
  function Ju(e, t, n) {
5591
5591
  switch (e) {
5592
5592
  case "top":
5593
5593
  case "bottom":
5594
- return n ? t ? no : to : t ? to : no;
5594
+ return n ? t ? ro : no : t ? no : ro;
5595
5595
  case "left":
5596
5596
  case "right":
5597
5597
  return t ? Xu : Zu;
@@ -5643,12 +5643,12 @@ function Vt(e) {
5643
5643
  y: n
5644
5644
  };
5645
5645
  }
5646
- function ro(e, t, n) {
5646
+ function oo(e, t, n) {
5647
5647
  let {
5648
5648
  reference: r,
5649
5649
  floating: o
5650
5650
  } = e;
5651
- const s = xe(t), a = pr(t), i = fr(a), c = Ae(t), l = s === "y", u = r.x + r.width / 2 - o.width / 2, p = r.y + r.height / 2 - o.height / 2, m = r[i] / 2 - o[i] / 2;
5651
+ const s = xe(t), a = mr(t), i = pr(a), c = Ae(t), l = s === "y", u = r.x + r.width / 2 - o.width / 2, p = r.y + r.height / 2 - o.height / 2, m = r[i] / 2 - o[i] / 2;
5652
5652
  let v;
5653
5653
  switch (c) {
5654
5654
  case "top":
@@ -5753,7 +5753,7 @@ const nf = 50, rf = async (e, t, n) => {
5753
5753
  }), {
5754
5754
  x: u,
5755
5755
  y: p
5756
- } = ro(l, r, c), m = r, v = 0;
5756
+ } = oo(l, r, c), m = r, v = 0;
5757
5757
  const w = {};
5758
5758
  for (let h = 0; h < s.length; h++) {
5759
5759
  const g = s[h];
@@ -5791,7 +5791,7 @@ const nf = 50, rf = async (e, t, n) => {
5791
5791
  }) : E.rects), {
5792
5792
  x: u,
5793
5793
  y: p
5794
- } = ro(l, m, c)), h = -1);
5794
+ } = oo(l, m, c)), h = -1);
5795
5795
  }
5796
5796
  return {
5797
5797
  x: u,
@@ -5821,10 +5821,10 @@ const nf = 50, rf = async (e, t, n) => {
5821
5821
  const p = Ms(u), m = {
5822
5822
  x: n,
5823
5823
  y: r
5824
- }, v = pr(o), w = fr(v), h = await a.getDimensions(l), g = v === "y", b = g ? "top" : "left", y = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", S = s.reference[w] + s.reference[v] - m[v] - s.floating[w], R = m[v] - s.reference[v], E = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
5824
+ }, v = mr(o), w = pr(v), h = await a.getDimensions(l), g = v === "y", b = g ? "top" : "left", y = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", S = s.reference[w] + s.reference[v] - m[v] - s.floating[w], R = m[v] - s.reference[v], E = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
5825
5825
  let C = E ? E[x] : 0;
5826
5826
  (!C || !await (a.isElement == null ? void 0 : a.isElement(E))) && (C = i.floating[x] || s.floating[w]);
5827
- const k = S / 2 - R / 2, N = C / 2 - h[w] / 2 - 1, I = ze(p[b], N), _ = ze(p[y], N), D = I, V = C - h[w] - _, U = C / 2 - h[w] / 2 + k, Y = Fn(D, U, V), M = !c.arrow && at(o) != null && U !== Y && s.reference[w] / 2 - (U < D ? I : _) - h[w] / 2 < 0, W = M ? U < D ? U - D : U - V : 0;
5827
+ const k = S / 2 - R / 2, N = C / 2 - h[w] / 2 - 1, I = ze(p[b], N), _ = ze(p[y], N), z = I, V = C - h[w] - _, U = C / 2 - h[w] / 2 + k, Y = Fn(z, U, V), M = !c.arrow && at(o) != null && U !== Y && s.reference[w] / 2 - (U < z ? I : _) - h[w] / 2 < 0, W = M ? U < z ? U - z : U - V : 0;
5828
5828
  return {
5829
5829
  [v]: m[v] + W,
5830
5830
  data: {
@@ -5873,7 +5873,7 @@ const nf = 50, rf = async (e, t, n) => {
5873
5873
  placement: o,
5874
5874
  overflows: N
5875
5875
  }], !N.every((U) => U <= 0)) {
5876
- var _, D;
5876
+ var _, z;
5877
5877
  const U = (((_ = s.flip) == null ? void 0 : _.index) || 0) + 1, Y = C[U];
5878
5878
  if (Y && (!(p === "alignment" ? y !== xe(Y) : !1) || // We leave the current main axis only if every placement on that axis
5879
5879
  // overflows the main axis.
@@ -5887,7 +5887,7 @@ const nf = 50, rf = async (e, t, n) => {
5887
5887
  placement: Y
5888
5888
  }
5889
5889
  };
5890
- let M = (D = I.filter((W) => W.overflows[0] <= 0).sort((W, H) => W.overflows[1] - H.overflows[1])[0]) == null ? void 0 : D.placement;
5890
+ let M = (z = I.filter((W) => W.overflows[0] <= 0).sort((W, H) => W.overflows[1] - H.overflows[1])[0]) == null ? void 0 : z.placement;
5891
5891
  if (!M)
5892
5892
  switch (v) {
5893
5893
  case "bestFit": {
@@ -5919,7 +5919,7 @@ const nf = 50, rf = async (e, t, n) => {
5919
5919
  }
5920
5920
  };
5921
5921
  };
5922
- function oo(e, t) {
5922
+ function so(e, t) {
5923
5923
  return {
5924
5924
  top: e.top - t.height,
5925
5925
  right: e.right - t.width,
@@ -5927,7 +5927,7 @@ function oo(e, t) {
5927
5927
  left: e.left - t.width
5928
5928
  };
5929
5929
  }
5930
- function so(e) {
5930
+ function ao(e) {
5931
5931
  return Gu.some((t) => e[t] >= 0);
5932
5932
  }
5933
5933
  const af = function(e) {
@@ -5947,11 +5947,11 @@ const af = function(e) {
5947
5947
  const a = await r.detectOverflow(t, {
5948
5948
  ...s,
5949
5949
  elementContext: "reference"
5950
- }), i = oo(a, n.reference);
5950
+ }), i = so(a, n.reference);
5951
5951
  return {
5952
5952
  data: {
5953
5953
  referenceHiddenOffsets: i,
5954
- referenceHidden: so(i)
5954
+ referenceHidden: ao(i)
5955
5955
  }
5956
5956
  };
5957
5957
  }
@@ -5959,11 +5959,11 @@ const af = function(e) {
5959
5959
  const a = await r.detectOverflow(t, {
5960
5960
  ...s,
5961
5961
  altBoundary: !0
5962
- }), i = oo(a, n.floating);
5962
+ }), i = so(a, n.floating);
5963
5963
  return {
5964
5964
  data: {
5965
5965
  escapedOffsets: i,
5966
- escaped: so(i)
5966
+ escaped: ao(i)
5967
5967
  }
5968
5968
  };
5969
5969
  }
@@ -6051,7 +6051,7 @@ const lf = function(e) {
6051
6051
  } = Pe(e, t), u = {
6052
6052
  x: n,
6053
6053
  y: r
6054
- }, p = await s.detectOverflow(t, l), m = xe(Ae(o)), v = ur(m);
6054
+ }, p = await s.detectOverflow(t, l), m = xe(Ae(o)), v = fr(m);
6055
6055
  let w = u[v], h = u[m];
6056
6056
  if (a) {
6057
6057
  const b = v === "y" ? "top" : "left", y = v === "y" ? "bottom" : "right", x = w + p[b], S = w - p[y];
@@ -6096,7 +6096,7 @@ const lf = function(e) {
6096
6096
  } = Pe(e, t), u = {
6097
6097
  x: n,
6098
6098
  y: r
6099
- }, p = xe(o), m = ur(p);
6099
+ }, p = xe(o), m = fr(p);
6100
6100
  let v = u[m], w = u[p];
6101
6101
  const h = Pe(i, t), g = typeof h == "number" ? {
6102
6102
  mainAxis: h,
@@ -6145,8 +6145,8 @@ const lf = function(e) {
6145
6145
  const y = h - u.top - u.bottom, x = w - u.left - u.right, S = ze(h - u[g], y), R = ze(w - u[b], x), E = !t.middlewareData.shift;
6146
6146
  let C = S, k = R;
6147
6147
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (k = x), (r = t.middlewareData.shift) != null && r.enabled.y && (C = y), E && !m) {
6148
- const I = ue(u.left, 0), _ = ue(u.right, 0), D = ue(u.top, 0), V = ue(u.bottom, 0);
6149
- v ? k = w - 2 * (I !== 0 || _ !== 0 ? I + _ : ue(u.left, u.right)) : C = h - 2 * (D !== 0 || V !== 0 ? D + V : ue(u.top, u.bottom));
6148
+ const I = ue(u.left, 0), _ = ue(u.right, 0), z = ue(u.top, 0), V = ue(u.bottom, 0);
6149
+ v ? k = w - 2 * (I !== 0 || _ !== 0 ? I + _ : ue(u.left, u.right)) : C = h - 2 * (z !== 0 || V !== 0 ? z + V : ue(u.top, u.bottom));
6150
6150
  }
6151
6151
  await c({
6152
6152
  ...t,
@@ -6185,7 +6185,7 @@ function ve(e) {
6185
6185
  function Te(e) {
6186
6186
  return nn() ? e instanceof HTMLElement || e instanceof fe(e).HTMLElement : !1;
6187
6187
  }
6188
- function ao(e) {
6188
+ function io(e) {
6189
6189
  return !nn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof fe(e).ShadowRoot;
6190
6190
  }
6191
6191
  function yt(e) {
@@ -6214,14 +6214,14 @@ function rn(e) {
6214
6214
  }
6215
6215
  const mf = /transform|translate|scale|rotate|perspective|filter/, hf = /paint|layout|strict|content/, Ve = (e) => !!e && e !== "none";
6216
6216
  let An;
6217
- function mr(e) {
6217
+ function hr(e) {
6218
6218
  const t = ve(e) ? be(e) : e;
6219
- return Ve(t.transform) || Ve(t.translate) || Ve(t.scale) || Ve(t.rotate) || Ve(t.perspective) || !hr() && (Ve(t.backdropFilter) || Ve(t.filter)) || mf.test(t.willChange || "") || hf.test(t.contain || "");
6219
+ return Ve(t.transform) || Ve(t.translate) || Ve(t.scale) || Ve(t.rotate) || Ve(t.perspective) || !gr() && (Ve(t.backdropFilter) || Ve(t.filter)) || mf.test(t.willChange || "") || hf.test(t.contain || "");
6220
6220
  }
6221
6221
  function gf(e) {
6222
6222
  let t = $e(e);
6223
6223
  for (; Te(t) && !rt(t); ) {
6224
- if (mr(t))
6224
+ if (hr(t))
6225
6225
  return t;
6226
6226
  if (rn(t))
6227
6227
  return null;
@@ -6229,7 +6229,7 @@ function gf(e) {
6229
6229
  }
6230
6230
  return null;
6231
6231
  }
6232
- function hr() {
6232
+ function gr() {
6233
6233
  return An == null && (An = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), An;
6234
6234
  }
6235
6235
  function rt(e) {
@@ -6254,10 +6254,10 @@ function $e(e) {
6254
6254
  // Step into the shadow DOM of the parent of a slotted node.
6255
6255
  e.assignedSlot || // DOM Element detected.
6256
6256
  e.parentNode || // ShadowRoot detected.
6257
- ao(e) && e.host || // Fallback.
6257
+ io(e) && e.host || // Fallback.
6258
6258
  ke(e)
6259
6259
  );
6260
- return ao(t) ? t.host : t;
6260
+ return io(t) ? t.host : t;
6261
6261
  }
6262
6262
  function Ds(e) {
6263
6263
  const t = $e(e);
@@ -6286,11 +6286,11 @@ function zs(e) {
6286
6286
  $: i
6287
6287
  };
6288
6288
  }
6289
- function gr(e) {
6289
+ function vr(e) {
6290
6290
  return ve(e) ? e : e.contextElement;
6291
6291
  }
6292
6292
  function nt(e) {
6293
- const t = gr(e);
6293
+ const t = vr(e);
6294
6294
  if (!Te(t))
6295
6295
  return Se(1);
6296
6296
  const n = t.getBoundingClientRect(), {
@@ -6307,7 +6307,7 @@ function nt(e) {
6307
6307
  const vf = /* @__PURE__ */ Se(0);
6308
6308
  function $s(e) {
6309
6309
  const t = fe(e);
6310
- return !hr() || !t.visualViewport ? vf : {
6310
+ return !gr() || !t.visualViewport ? vf : {
6311
6311
  x: t.visualViewport.offsetLeft,
6312
6312
  y: t.visualViewport.offsetTop
6313
6313
  };
@@ -6317,7 +6317,7 @@ function bf(e, t, n) {
6317
6317
  }
6318
6318
  function Ge(e, t, n, r) {
6319
6319
  t === void 0 && (t = !1), n === void 0 && (n = !1);
6320
- const o = e.getBoundingClientRect(), s = gr(e);
6320
+ const o = e.getBoundingClientRect(), s = vr(e);
6321
6321
  let a = Se(1);
6322
6322
  t && (r ? ve(r) && (a = nt(r)) : a = nt(e));
6323
6323
  const i = bf(s, n, r) ? $s(s) : Se(0);
@@ -6389,20 +6389,20 @@ function xf(e) {
6389
6389
  y: i
6390
6390
  };
6391
6391
  }
6392
- const io = 25;
6392
+ const co = 25;
6393
6393
  function Sf(e, t) {
6394
6394
  const n = fe(e), r = ke(e), o = n.visualViewport;
6395
6395
  let s = r.clientWidth, a = r.clientHeight, i = 0, c = 0;
6396
6396
  if (o) {
6397
6397
  s = o.width, a = o.height;
6398
- const u = hr();
6398
+ const u = gr();
6399
6399
  (!u || u && t === "fixed") && (i = o.offsetLeft, c = o.offsetTop);
6400
6400
  }
6401
6401
  const l = sn(r);
6402
6402
  if (l <= 0) {
6403
6403
  const u = r.ownerDocument, p = u.body, m = getComputedStyle(p), v = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, w = Math.abs(r.clientWidth - p.clientWidth - v);
6404
- w <= io && (s -= w);
6405
- } else l <= io && (s += l);
6404
+ w <= co && (s -= w);
6405
+ } else l <= co && (s += l);
6406
6406
  return {
6407
6407
  width: s,
6408
6408
  height: a,
@@ -6419,7 +6419,7 @@ function Cf(e, t) {
6419
6419
  y: l
6420
6420
  };
6421
6421
  }
6422
- function co(e, t, n) {
6422
+ function lo(e, t, n) {
6423
6423
  let r;
6424
6424
  if (t === "viewport")
6425
6425
  r = Sf(e, n);
@@ -6450,7 +6450,7 @@ function kf(e, t) {
6450
6450
  const s = be(e).position === "fixed";
6451
6451
  let a = s ? $e(e) : e;
6452
6452
  for (; ve(a) && !rt(a); ) {
6453
- const i = be(a), c = mr(a);
6453
+ const i = be(a), c = hr(a);
6454
6454
  !c && i.position === "fixed" && (o = null), (s ? !c && !o : !c && i.position === "static" && !!o && (o.position === "absolute" || o.position === "fixed") || yt(a) && !c && Hs(e, a)) ? r = r.filter((u) => u !== a) : o = i, a = $e(a);
6455
6455
  }
6456
6456
  return t.set(e, r), r;
@@ -6462,10 +6462,10 @@ function Ef(e) {
6462
6462
  rootBoundary: r,
6463
6463
  strategy: o
6464
6464
  } = e;
6465
- const a = [...n === "clippingAncestors" ? rn(t) ? [] : kf(t, this._c) : [].concat(n), r], i = co(t, a[0], o);
6465
+ const a = [...n === "clippingAncestors" ? rn(t) ? [] : kf(t, this._c) : [].concat(n), r], i = lo(t, a[0], o);
6466
6466
  let c = i.top, l = i.right, u = i.bottom, p = i.left;
6467
6467
  for (let m = 1; m < a.length; m++) {
6468
- const v = co(t, a[m], o);
6468
+ const v = lo(t, a[m], o);
6469
6469
  c = ue(v.top, c), l = ze(v.right, l), u = ze(v.bottom, u), p = ue(v.left, p);
6470
6470
  }
6471
6471
  return {
@@ -6512,7 +6512,7 @@ function Nf(e, t, n) {
6512
6512
  function Tn(e) {
6513
6513
  return be(e).position === "static";
6514
6514
  }
6515
- function lo(e, t) {
6515
+ function uo(e, t) {
6516
6516
  if (!Te(e) || be(e).position === "fixed")
6517
6517
  return null;
6518
6518
  if (t)
@@ -6533,10 +6533,10 @@ function Bs(e, t) {
6533
6533
  }
6534
6534
  return n;
6535
6535
  }
6536
- let r = lo(e, t);
6536
+ let r = uo(e, t);
6537
6537
  for (; r && pf(r) && Tn(r); )
6538
- r = lo(r, t);
6539
- return r && rt(r) && Tn(r) && !mr(r) ? n : r || gf(e) || n;
6538
+ r = uo(r, t);
6539
+ return r && rt(r) && Tn(r) && !hr(r) ? n : r || gf(e) || n;
6540
6540
  }
6541
6541
  const Pf = async function(e) {
6542
6542
  const t = this.getOffsetParent || Bs, n = this.getDimensions, r = await n(e.floating);
@@ -6622,7 +6622,7 @@ function If(e, t, n, r) {
6622
6622
  elementResize: a = typeof ResizeObserver == "function",
6623
6623
  layoutShift: i = typeof IntersectionObserver == "function",
6624
6624
  animationFrame: c = !1
6625
- } = r, l = gr(e), u = o || s ? [...l ? vt(l) : [], ...t ? vt(t) : []] : [];
6625
+ } = r, l = vr(e), u = o || s ? [...l ? vt(l) : [], ...t ? vt(t) : []] : [];
6626
6626
  u.forEach((b) => {
6627
6627
  o && b.addEventListener("scroll", n, {
6628
6628
  passive: !0
@@ -6650,7 +6650,7 @@ function If(e, t, n, r) {
6650
6650
  }), p == null || p(), (b = v) == null || b.disconnect(), v = null, c && cancelAnimationFrame(w);
6651
6651
  };
6652
6652
  }
6653
- const Mf = lf, Of = df, Lf = sf, Df = ff, zf = af, uo = of, $f = uf, Ff = (e, t, n) => {
6653
+ const Mf = lf, Of = df, Lf = sf, Df = ff, zf = af, fo = of, $f = uf, Ff = (e, t, n) => {
6654
6654
  const r = /* @__PURE__ */ new Map(), o = {
6655
6655
  platform: Tf,
6656
6656
  ...n
@@ -6698,7 +6698,7 @@ function Ut(e, t) {
6698
6698
  function Vs(e) {
6699
6699
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
6700
6700
  }
6701
- function fo(e, t) {
6701
+ function po(e, t) {
6702
6702
  const n = Vs(e);
6703
6703
  return Math.round(t * n) / n;
6704
6704
  }
@@ -6735,7 +6735,7 @@ function Wf(e) {
6735
6735
  H !== E.current && (E.current = H, h(H));
6736
6736
  }, []), x = d.useCallback((H) => {
6737
6737
  H !== C.current && (C.current = H, b(H));
6738
- }, []), S = s || w, R = a || g, E = d.useRef(null), C = d.useRef(null), k = d.useRef(u), N = c != null, I = _n(c), _ = _n(o), D = _n(l), V = d.useCallback(() => {
6738
+ }, []), S = s || w, R = a || g, E = d.useRef(null), C = d.useRef(null), k = d.useRef(u), N = c != null, I = _n(c), _ = _n(o), z = _n(l), V = d.useCallback(() => {
6739
6739
  if (!E.current || !C.current)
6740
6740
  return;
6741
6741
  const H = {
@@ -6750,13 +6750,13 @@ function Wf(e) {
6750
6750
  // but still mounted (such as when transitioning out). To ensure
6751
6751
  // `isPositioned` will be `false` initially on the next open, avoid
6752
6752
  // setting it to `true` when `open === false` (must be specified).
6753
- isPositioned: D.current !== !1
6753
+ isPositioned: z.current !== !1
6754
6754
  };
6755
6755
  U.current && !Ut(k.current, P) && (k.current = P, Yt.flushSync(() => {
6756
6756
  p(P);
6757
6757
  }));
6758
6758
  });
6759
- }, [m, t, n, _, D]);
6759
+ }, [m, t, n, _, z]);
6760
6760
  zt(() => {
6761
6761
  l === !1 && k.current.isPositioned && (k.current.isPositioned = !1, p((H) => ({
6762
6762
  ...H,
@@ -6789,7 +6789,7 @@ function Wf(e) {
6789
6789
  };
6790
6790
  if (!M.floating)
6791
6791
  return H;
6792
- const Z = fo(M.floating, u.x), P = fo(M.floating, u.y);
6792
+ const Z = po(M.floating, u.x), P = po(M.floating, u.y);
6793
6793
  return i ? {
6794
6794
  ...H,
6795
6795
  transform: "translate(" + Z + "px, " + P + "px)",
@@ -6822,10 +6822,10 @@ const Vf = (e) => {
6822
6822
  element: r,
6823
6823
  padding: o
6824
6824
  } = typeof e == "function" ? e(n) : e;
6825
- return r && t(r) ? r.current != null ? uo({
6825
+ return r && t(r) ? r.current != null ? fo({
6826
6826
  element: r.current,
6827
6827
  padding: o
6828
- }).fn(n) : {} : r ? uo({
6828
+ }).fn(n) : {} : r ? fo({
6829
6829
  element: r,
6830
6830
  padding: o
6831
6831
  }).fn(n) : {};
@@ -6893,11 +6893,11 @@ var Zf = "Arrow", Us = d.forwardRef((e, t) => {
6893
6893
  );
6894
6894
  });
6895
6895
  Us.displayName = Zf;
6896
- var Jf = Us, vr = "Popper", [js, an] = le(vr), [Qf, Gs] = js(vr), qs = (e) => {
6896
+ var Jf = Us, br = "Popper", [js, an] = le(br), [Qf, Gs] = js(br), qs = (e) => {
6897
6897
  const { __scopePopper: t, children: n } = e, [r, o] = d.useState(null);
6898
6898
  return /* @__PURE__ */ f(Qf, { scope: t, anchor: r, onAnchorChange: o, children: n });
6899
6899
  };
6900
- qs.displayName = vr;
6900
+ qs.displayName = br;
6901
6901
  var Ks = "PopperAnchor", Ys = d.forwardRef(
6902
6902
  (e, t) => {
6903
6903
  const { __scopePopper: n, virtualRef: r, ...o } = e, s = Gs(Ks, n), a = d.useRef(null), i = G(t, a), c = d.useRef(null);
@@ -6908,7 +6908,7 @@ var Ks = "PopperAnchor", Ys = d.forwardRef(
6908
6908
  }
6909
6909
  );
6910
6910
  Ys.displayName = Ks;
6911
- var br = "PopperContent", [ep, tp] = js(br), Xs = d.forwardRef(
6911
+ var wr = "PopperContent", [ep, tp] = js(wr), Xs = d.forwardRef(
6912
6912
  (e, t) => {
6913
6913
  var $, Q, j, J, q, K;
6914
6914
  const {
@@ -6926,11 +6926,11 @@ var br = "PopperContent", [ep, tp] = js(br), Xs = d.forwardRef(
6926
6926
  updatePositionStrategy: v = "optimized",
6927
6927
  onPlaced: w,
6928
6928
  ...h
6929
- } = e, g = Gs(br, n), [b, y] = d.useState(null), x = G(t, (se) => y(se)), [S, R] = d.useState(null), E = en(S), C = (E == null ? void 0 : E.width) ?? 0, k = (E == null ? void 0 : E.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, _ = Array.isArray(l) ? l : [l], D = _.length > 0, V = {
6929
+ } = e, g = Gs(wr, n), [b, y] = d.useState(null), x = G(t, (se) => y(se)), [S, R] = d.useState(null), E = en(S), C = (E == null ? void 0 : E.width) ?? 0, k = (E == null ? void 0 : E.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, _ = Array.isArray(l) ? l : [l], z = _.length > 0, V = {
6930
6930
  padding: I,
6931
6931
  boundary: _.filter(rp),
6932
6932
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
6933
- altBoundary: D
6933
+ altBoundary: z
6934
6934
  }, { refs: U, floatingStyles: Y, placement: M, isPositioned: W, middlewareData: H } = Wf({
6935
6935
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
6936
6936
  strategy: "fixed",
@@ -7022,7 +7022,7 @@ var br = "PopperContent", [ep, tp] = js(br), Xs = d.forwardRef(
7022
7022
  );
7023
7023
  }
7024
7024
  );
7025
- Xs.displayName = br;
7025
+ Xs.displayName = wr;
7026
7026
  var Zs = "PopperArrow", np = {
7027
7027
  top: "bottom",
7028
7028
  right: "left",
@@ -7157,7 +7157,7 @@ var dp = d.forwardRef((e, t) => {
7157
7157
  if (k.target === k.currentTarget && N && !b) {
7158
7158
  const I = new CustomEvent(In, sp);
7159
7159
  if (k.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
7160
- const _ = S().filter((M) => M.focusable), D = _.find((M) => M.active), V = _.find((M) => M.id === h), Y = [D, V, ..._].filter(
7160
+ const _ = S().filter((M) => M.focusable), z = _.find((M) => M.active), V = _.find((M) => M.id === h), Y = [z, V, ..._].filter(
7161
7161
  Boolean
7162
7162
  ).map((M) => M.ref.current);
7163
7163
  ca(Y, u);
@@ -7271,7 +7271,7 @@ var gp = ua;
7271
7271
  function Vn(e, [t, n]) {
7272
7272
  return Math.min(n, Math.max(t, e));
7273
7273
  }
7274
- var wr = "Progress", yr = 100, [vp] = le(wr), [bp, wp] = vp(wr), fa = d.forwardRef(
7274
+ var yr = "Progress", xr = 100, [vp] = le(yr), [bp, wp] = vp(yr), fa = d.forwardRef(
7275
7275
  (e, t) => {
7276
7276
  const {
7277
7277
  __scopeProgress: n,
@@ -7280,10 +7280,10 @@ var wr = "Progress", yr = 100, [vp] = le(wr), [bp, wp] = vp(wr), fa = d.forwardR
7280
7280
  getValueLabel: s = yp,
7281
7281
  ...a
7282
7282
  } = e;
7283
- (o || o === 0) && !po(o) && console.error(xp(`${o}`, "Progress"));
7284
- const i = po(o) ? o : yr;
7285
- r !== null && !mo(r, i) && console.error(Sp(`${r}`, "Progress"));
7286
- const c = mo(r, i) ? r : null, l = jt(c) ? s(c, i) : void 0;
7283
+ (o || o === 0) && !mo(o) && console.error(xp(`${o}`, "Progress"));
7284
+ const i = mo(o) ? o : xr;
7285
+ r !== null && !ho(r, i) && console.error(Sp(`${r}`, "Progress"));
7286
+ const c = ho(r, i) ? r : null, l = jt(c) ? s(c, i) : void 0;
7287
7287
  return /* @__PURE__ */ f(bp, { scope: n, value: c, max: i, children: /* @__PURE__ */ f(
7288
7288
  L.div,
7289
7289
  {
@@ -7301,7 +7301,7 @@ var wr = "Progress", yr = 100, [vp] = le(wr), [bp, wp] = vp(wr), fa = d.forwardR
7301
7301
  ) });
7302
7302
  }
7303
7303
  );
7304
- fa.displayName = wr;
7304
+ fa.displayName = yr;
7305
7305
  var pa = "ProgressIndicator", ma = d.forwardRef(
7306
7306
  (e, t) => {
7307
7307
  const { __scopeProgress: n, ...r } = e, o = wp(pa, n);
@@ -7327,24 +7327,24 @@ function ha(e, t) {
7327
7327
  function jt(e) {
7328
7328
  return typeof e == "number";
7329
7329
  }
7330
- function po(e) {
7330
+ function mo(e) {
7331
7331
  return jt(e) && !isNaN(e) && e > 0;
7332
7332
  }
7333
- function mo(e, t) {
7333
+ function ho(e, t) {
7334
7334
  return jt(e) && !isNaN(e) && e <= t && e >= 0;
7335
7335
  }
7336
7336
  function xp(e, t) {
7337
- return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${yr}\`.`;
7337
+ return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${xr}\`.`;
7338
7338
  }
7339
7339
  function Sp(e, t) {
7340
7340
  return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
7341
7341
  - a positive number
7342
- - less than the value passed to \`max\` (or ${yr} if no \`max\` prop is set)
7342
+ - less than the value passed to \`max\` (or ${xr} if no \`max\` prop is set)
7343
7343
  - \`null\` or \`undefined\` if the progress is indeterminate.
7344
7344
 
7345
7345
  Defaulting to \`null\`.`;
7346
7346
  }
7347
- var Cp = fa, kp = ma, xr = "Radio", [Ep, ga] = le(xr), [Rp, Np] = Ep(xr), va = d.forwardRef(
7347
+ var Cp = fa, kp = ma, Sr = "Radio", [Ep, ga] = le(Sr), [Rp, Np] = Ep(Sr), va = d.forwardRef(
7348
7348
  (e, t) => {
7349
7349
  const {
7350
7350
  __scopeRadio: n,
@@ -7392,7 +7392,7 @@ var Cp = fa, kp = ma, xr = "Radio", [Ep, ga] = le(xr), [Rp, Np] = Ep(xr), va = d
7392
7392
  ] });
7393
7393
  }
7394
7394
  );
7395
- va.displayName = xr;
7395
+ va.displayName = Sr;
7396
7396
  var ba = "RadioIndicator", wa = d.forwardRef(
7397
7397
  (e, t) => {
7398
7398
  const { __scopeRadio: n, forceMount: r, ...o } = e, s = Np(ba, n);
@@ -7565,7 +7565,7 @@ var Op = ka, Lp = Ra, Dp = Na;
7565
7565
  function zp(e, t) {
7566
7566
  return d.useReducer((n, r) => t[n][r] ?? n, e);
7567
7567
  }
7568
- var Sr = "ScrollArea", [Pa] = le(Sr), [$p, he] = Pa(Sr), Aa = d.forwardRef(
7568
+ var Cr = "ScrollArea", [Pa] = le(Cr), [$p, he] = Pa(Cr), Aa = d.forwardRef(
7569
7569
  (e, t) => {
7570
7570
  const {
7571
7571
  __scopeScrollArea: n,
@@ -7615,7 +7615,7 @@ var Sr = "ScrollArea", [Pa] = le(Sr), [$p, he] = Pa(Sr), Aa = d.forwardRef(
7615
7615
  );
7616
7616
  }
7617
7617
  );
7618
- Aa.displayName = Sr;
7618
+ Aa.displayName = Cr;
7619
7619
  var Ta = "ScrollAreaViewport", _a = d.forwardRef(
7620
7620
  (e, t) => {
7621
7621
  const { __scopeScrollArea: n, children: r, nonce: o, ...s } = e, a = he(Ta, n), i = d.useRef(null), c = G(t, i, a.onViewportChange);
@@ -7663,7 +7663,7 @@ var Ee = "ScrollAreaScrollbar", Ia = d.forwardRef(
7663
7663
  const { forceMount: n, ...r } = e, o = he(Ee, e.__scopeScrollArea), { onScrollbarXEnabledChange: s, onScrollbarYEnabledChange: a } = o, i = e.orientation === "horizontal";
7664
7664
  return d.useEffect(() => (i ? s(!0) : a(!0), () => {
7665
7665
  i ? s(!1) : a(!1);
7666
- }), [i, s, a]), o.type === "hover" ? /* @__PURE__ */ f(Fp, { ...r, ref: t, forceMount: n }) : o.type === "scroll" ? /* @__PURE__ */ f(Hp, { ...r, ref: t, forceMount: n }) : o.type === "auto" ? /* @__PURE__ */ f(Ma, { ...r, ref: t, forceMount: n }) : o.type === "always" ? /* @__PURE__ */ f(Cr, { ...r, ref: t }) : null;
7666
+ }), [i, s, a]), o.type === "hover" ? /* @__PURE__ */ f(Fp, { ...r, ref: t, forceMount: n }) : o.type === "scroll" ? /* @__PURE__ */ f(Hp, { ...r, ref: t, forceMount: n }) : o.type === "auto" ? /* @__PURE__ */ f(Ma, { ...r, ref: t, forceMount: n }) : o.type === "always" ? /* @__PURE__ */ f(kr, { ...r, ref: t }) : null;
7667
7667
  }
7668
7668
  );
7669
7669
  Ia.displayName = Ee;
@@ -7725,7 +7725,7 @@ var Fp = d.forwardRef((e, t) => {
7725
7725
  return l.addEventListener("scroll", m), () => l.removeEventListener("scroll", m);
7726
7726
  }
7727
7727
  }, [o.viewport, s, c, a]), /* @__PURE__ */ f(we, { present: n || i !== "hidden", children: /* @__PURE__ */ f(
7728
- Cr,
7728
+ kr,
7729
7729
  {
7730
7730
  "data-state": i === "hidden" ? "hidden" : "visible",
7731
7731
  ...r,
@@ -7742,14 +7742,14 @@ var Fp = d.forwardRef((e, t) => {
7742
7742
  }
7743
7743
  }, 10);
7744
7744
  return ot(n.viewport, c), ot(n.content, c), /* @__PURE__ */ f(we, { present: r || s, children: /* @__PURE__ */ f(
7745
- Cr,
7745
+ kr,
7746
7746
  {
7747
7747
  "data-state": s ? "visible" : "hidden",
7748
7748
  ...o,
7749
7749
  ref: t
7750
7750
  }
7751
7751
  ) });
7752
- }), Cr = d.forwardRef((e, t) => {
7752
+ }), kr = d.forwardRef((e, t) => {
7753
7753
  const { orientation: n = "vertical", ...r } = e, o = he(Ee, e.__scopeScrollArea), s = d.useRef(null), a = d.useRef(0), [i, c] = d.useState({
7754
7754
  content: 0,
7755
7755
  viewport: 0,
@@ -7773,7 +7773,7 @@ var Fp = d.forwardRef((e, t) => {
7773
7773
  ref: t,
7774
7774
  onThumbPositionChange: () => {
7775
7775
  if (o.viewport && s.current) {
7776
- const m = o.viewport.scrollLeft, v = ho(m, i, o.dir);
7776
+ const m = o.viewport.scrollLeft, v = go(m, i, o.dir);
7777
7777
  s.current.style.transform = `translate3d(${v}px, 0, 0)`;
7778
7778
  }
7779
7779
  },
@@ -7791,7 +7791,7 @@ var Fp = d.forwardRef((e, t) => {
7791
7791
  ref: t,
7792
7792
  onThumbPositionChange: () => {
7793
7793
  if (o.viewport && s.current) {
7794
- const m = o.viewport.scrollTop, v = ho(m, i);
7794
+ const m = o.viewport.scrollTop, v = go(m, i);
7795
7795
  s.current.style.transform = `translate3d(0, ${v}px, 0)`;
7796
7796
  }
7797
7797
  },
@@ -7981,15 +7981,15 @@ var Fp = d.forwardRef((e, t) => {
7981
7981
  }
7982
7982
  );
7983
7983
  Da.displayName = Gt;
7984
- var kr = "ScrollAreaCorner", za = d.forwardRef(
7984
+ var Er = "ScrollAreaCorner", za = d.forwardRef(
7985
7985
  (e, t) => {
7986
- const n = he(kr, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
7986
+ const n = he(Er, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
7987
7987
  return n.type !== "scroll" && r ? /* @__PURE__ */ f(jp, { ...e, ref: t }) : null;
7988
7988
  }
7989
7989
  );
7990
- za.displayName = kr;
7990
+ za.displayName = Er;
7991
7991
  var jp = d.forwardRef((e, t) => {
7992
- const { __scopeScrollArea: n, ...r } = e, o = he(kr, n), [s, a] = d.useState(0), [i, c] = d.useState(0), l = !!(s && i);
7992
+ const { __scopeScrollArea: n, ...r } = e, o = he(Er, n), [s, a] = d.useState(0), [i, c] = d.useState(0), l = !!(s && i);
7993
7993
  return ot(o.scrollbarX, () => {
7994
7994
  var p;
7995
7995
  const u = ((p = o.scrollbarX) == null ? void 0 : p.offsetHeight) || 0;
@@ -8030,7 +8030,7 @@ function Gp(e, t, n, r = "ltr") {
8030
8030
  const o = dn(n), s = o / 2, a = t || s, i = o - a, c = n.scrollbar.paddingStart + a, l = n.scrollbar.size - n.scrollbar.paddingEnd - i, u = n.content - n.viewport, p = r === "ltr" ? [0, u] : [u * -1, 0];
8031
8031
  return Fa([c, l], p)(e);
8032
8032
  }
8033
- function ho(e, t, n = "ltr") {
8033
+ function go(e, t, n = "ltr") {
8034
8034
  const r = dn(t), o = t.scrollbar.paddingStart + t.scrollbar.paddingEnd, s = t.scrollbar.size - o, a = t.content - t.viewport, i = s - r, c = n === "ltr" ? [0, a] : [a * -1, 0], l = Vn(e, c);
8035
8035
  return Fa([0, a], [0, i])(l);
8036
8036
  }
@@ -8101,7 +8101,7 @@ var Kp = Aa, Yp = _a, Xp = za, Zp = [" ", "Enter", "ArrowUp", "ArrowDown"], Jp =
8101
8101
  defaultProp: i,
8102
8102
  onChange: c,
8103
8103
  caller: qe
8104
- }), _ = d.useRef(null), D = g ? w || !!g.closest("form") : !0, [V, U] = d.useState(/* @__PURE__ */ new Set()), Y = Array.from(V).map((M) => M.props.value).join(";");
8104
+ }), _ = d.useRef(null), z = g ? w || !!g.closest("form") : !0, [V, U] = d.useState(/* @__PURE__ */ new Set()), Y = Array.from(V).map((M) => M.props.value).join(";");
8105
8105
  return /* @__PURE__ */ f(ea, { ...h, children: /* @__PURE__ */ O(
8106
8106
  em,
8107
8107
  {
@@ -8138,7 +8138,7 @@ var Kp = Aa, Yp = _a, Xp = za, Zp = [" ", "Enter", "ArrowUp", "ArrowDown"], Jp =
8138
8138
  children: n
8139
8139
  }
8140
8140
  ) }),
8141
- D ? /* @__PURE__ */ O(
8141
+ z ? /* @__PURE__ */ O(
8142
8142
  li,
8143
8143
  {
8144
8144
  "aria-hidden": !0,
@@ -8230,7 +8230,7 @@ var rm = "SelectIcon", Ga = d.forwardRef(
8230
8230
  }
8231
8231
  );
8232
8232
  Ga.displayName = rm;
8233
- var om = "SelectPortal", qa = (e) => /* @__PURE__ */ f(cr, { asChild: !0, ...e });
8233
+ var om = "SelectPortal", qa = (e) => /* @__PURE__ */ f(lr, { asChild: !0, ...e });
8234
8234
  qa.displayName = om;
8235
8235
  var Ke = "SelectContent", Ka = d.forwardRef(
8236
8236
  (e, t) => {
@@ -8272,17 +8272,17 @@ var ge = 10, [Ya, Be] = ct(Ke), sm = "SelectContentImpl", am = /* @__PURE__ */ g
8272
8272
  ...b
8273
8273
  } = e, y = He(Ke, n), [x, S] = d.useState(null), [R, E] = d.useState(null), C = G(t, ($) => S($)), [k, N] = d.useState(null), [I, _] = d.useState(
8274
8274
  null
8275
- ), D = pn(n), [V, U] = d.useState(!1), Y = d.useRef(!1);
8275
+ ), z = pn(n), [V, U] = d.useState(!1), Y = d.useRef(!1);
8276
8276
  d.useEffect(() => {
8277
8277
  if (x) return Tu(x);
8278
8278
  }, [x]), Ud();
8279
8279
  const M = d.useCallback(
8280
8280
  ($) => {
8281
- const [Q, ...j] = D().map((K) => K.ref.current), [J] = j.slice(-1), q = document.activeElement;
8281
+ const [Q, ...j] = z().map((K) => K.ref.current), [J] = j.slice(-1), q = document.activeElement;
8282
8282
  for (const K of $)
8283
8283
  if (K === q || (K == null || K.scrollIntoView({ block: "nearest" }), K === Q && R && (R.scrollTop = 0), K === J && R && (R.scrollTop = R.scrollHeight), K == null || K.focus(), document.activeElement !== q)) return;
8284
8284
  },
8285
- [D, R]
8285
+ [z, R]
8286
8286
  ), W = d.useCallback(
8287
8287
  () => M([k, x]),
8288
8288
  [M, k, x]
@@ -8314,7 +8314,7 @@ var ge = 10, [Ya, Be] = ct(Ke), sm = "SelectContentImpl", am = /* @__PURE__ */ g
8314
8314
  };
8315
8315
  }, [H]);
8316
8316
  const [P, pe] = ui(($) => {
8317
- const Q = D().filter((q) => !q.disabled), j = Q.find((q) => q.ref.current === document.activeElement), J = fi(Q, $, j);
8317
+ const Q = z().filter((q) => !q.disabled), j = Q.find((q) => q.ref.current === document.activeElement), J = fi(Q, $, j);
8318
8318
  J && setTimeout(() => J.ref.current.focus());
8319
8319
  }), _e = d.useCallback(
8320
8320
  ($, Q, j) => {
@@ -8369,7 +8369,7 @@ var ge = 10, [Ya, Be] = ct(Ke), sm = "SelectContentImpl", am = /* @__PURE__ */ g
8369
8369
  (Q = y.trigger) == null || Q.focus({ preventScroll: !0 }), $.preventDefault();
8370
8370
  }),
8371
8371
  children: /* @__PURE__ */ f(
8372
- ir,
8372
+ cr,
8373
8373
  {
8374
8374
  asChild: !0,
8375
8375
  disableOutsidePointerEvents: !0,
@@ -8400,7 +8400,7 @@ var ge = 10, [Ya, Be] = ct(Ke), sm = "SelectContentImpl", am = /* @__PURE__ */ g
8400
8400
  onKeyDown: F(b.onKeyDown, ($) => {
8401
8401
  const Q = $.ctrlKey || $.altKey || $.metaKey;
8402
8402
  if ($.key === "Tab" && $.preventDefault(), !Q && $.key.length === 1 && pe($.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes($.key)) {
8403
- let J = D().filter((q) => !q.disabled).map((q) => q.ref.current);
8403
+ let J = z().filter((q) => !q.disabled).map((q) => q.ref.current);
8404
8404
  if (["ArrowUp", "End"].includes($.key) && (J = J.slice().reverse()), ["ArrowUp", "ArrowDown"].includes($.key)) {
8405
8405
  const q = $.target, K = J.indexOf(q);
8406
8406
  J = J.slice(K + 1);
@@ -8441,7 +8441,7 @@ var im = "SelectItemAlignedPosition", Za = d.forwardRef((e, t) => {
8441
8441
  ]);
8442
8442
  i.style.minWidth = ce + "px", i.style.right = ut + "px";
8443
8443
  }
8444
- const _ = m(), D = window.innerHeight - ge * 2, V = h.scrollHeight, U = window.getComputedStyle(l), Y = parseInt(U.borderTopWidth, 10), M = parseInt(U.paddingTop, 10), W = parseInt(U.borderBottomWidth, 10), H = parseInt(U.paddingBottom, 10), Z = Y + M + V + H + W, P = Math.min(g.offsetHeight * 5, Z), pe = window.getComputedStyle(h), _e = parseInt(pe.paddingTop, 10), Ie = parseInt(pe.paddingBottom, 10), me = C.top + C.height / 2 - ge, te = D - me, ee = g.offsetHeight / 2, $ = g.offsetTop + ee, Q = Y + M + $, j = Z - Q;
8444
+ const _ = m(), z = window.innerHeight - ge * 2, V = h.scrollHeight, U = window.getComputedStyle(l), Y = parseInt(U.borderTopWidth, 10), M = parseInt(U.paddingTop, 10), W = parseInt(U.borderBottomWidth, 10), H = parseInt(U.paddingBottom, 10), Z = Y + M + V + H + W, P = Math.min(g.offsetHeight * 5, Z), pe = window.getComputedStyle(h), _e = parseInt(pe.paddingTop, 10), Ie = parseInt(pe.paddingBottom, 10), me = C.top + C.height / 2 - ge, te = z - me, ee = g.offsetHeight / 2, $ = g.offsetTop + ee, Q = Y + M + $, j = Z - Q;
8445
8445
  if (Q <= me) {
8446
8446
  const q = _.length > 0 && g === _[_.length - 1].ref.current;
8447
8447
  i.style.bottom = "0px";
@@ -8461,7 +8461,7 @@ var im = "SelectItemAlignedPosition", Za = d.forwardRef((e, t) => {
8461
8461
  ) + j;
8462
8462
  i.style.height = se + "px", h.scrollTop = Q - me + h.offsetTop;
8463
8463
  }
8464
- i.style.margin = `${ge}px 0`, i.style.minHeight = P + "px", i.style.maxHeight = D + "px", r == null || r(), requestAnimationFrame(() => v.current = !0);
8464
+ i.style.margin = `${ge}px 0`, i.style.minHeight = P + "px", i.style.maxHeight = z + "px", r == null || r(), requestAnimationFrame(() => v.current = !0);
8465
8465
  }
8466
8466
  }, [
8467
8467
  m,
@@ -8553,9 +8553,9 @@ var cm = "SelectPopperPosition", Un = d.forwardRef((e, t) => {
8553
8553
  );
8554
8554
  });
8555
8555
  Un.displayName = cm;
8556
- var [lm, Er] = ct(Ke, {}), jn = "SelectViewport", Ja = d.forwardRef(
8556
+ var [lm, Rr] = ct(Ke, {}), jn = "SelectViewport", Ja = d.forwardRef(
8557
8557
  (e, t) => {
8558
- const { __scopeSelect: n, nonce: r, ...o } = e, s = Be(jn, n), a = Er(jn, n), i = G(t, s.onViewportChange), c = d.useRef(0);
8558
+ const { __scopeSelect: n, nonce: r, ...o } = e, s = Be(jn, n), a = Rr(jn, n), i = G(t, s.onViewportChange), c = d.useRef(0);
8559
8559
  return /* @__PURE__ */ O(Ce, { children: [
8560
8560
  /* @__PURE__ */ f(
8561
8561
  "style",
@@ -8733,7 +8733,7 @@ var oi = "SelectItemIndicator", si = d.forwardRef(
8733
8733
  );
8734
8734
  si.displayName = oi;
8735
8735
  var Gn = "SelectScrollUpButton", ai = d.forwardRef((e, t) => {
8736
- const n = Be(Gn, e.__scopeSelect), r = Er(Gn, e.__scopeSelect), [o, s] = d.useState(!1), a = G(t, r.onScrollButtonChange);
8736
+ const n = Be(Gn, e.__scopeSelect), r = Rr(Gn, e.__scopeSelect), [o, s] = d.useState(!1), a = G(t, r.onScrollButtonChange);
8737
8737
  return ne(() => {
8738
8738
  if (n.viewport && n.isPositioned) {
8739
8739
  let i = function() {
@@ -8757,7 +8757,7 @@ var Gn = "SelectScrollUpButton", ai = d.forwardRef((e, t) => {
8757
8757
  });
8758
8758
  ai.displayName = Gn;
8759
8759
  var qn = "SelectScrollDownButton", ii = d.forwardRef((e, t) => {
8760
- const n = Be(qn, e.__scopeSelect), r = Er(qn, e.__scopeSelect), [o, s] = d.useState(!1), a = G(t, r.onScrollButtonChange);
8760
+ const n = Be(qn, e.__scopeSelect), r = Rr(qn, e.__scopeSelect), [o, s] = d.useState(!1), a = G(t, r.onScrollButtonChange);
8761
8761
  return ne(() => {
8762
8762
  if (n.viewport && n.isPositioned) {
8763
8763
  let i = function() {
@@ -8876,8 +8876,8 @@ function fi(e, t, n) {
8876
8876
  function wm(e, t) {
8877
8877
  return e.map((n, r) => e[(t + r) % e.length]);
8878
8878
  }
8879
- var ym = Ba, xm = Va, Sm = ja, Cm = Ga, km = qa, Em = Ka, Rm = Ja, Nm = ni, Pm = ri, Am = si, Tm = ai, _m = ii, Im = "Separator", go = "horizontal", Mm = ["horizontal", "vertical"], pi = d.forwardRef((e, t) => {
8880
- const { decorative: n, orientation: r = go, ...o } = e, s = Om(r) ? r : go, i = n ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
8879
+ var ym = Ba, xm = Va, Sm = ja, Cm = Ga, km = qa, Em = Ka, Rm = Ja, Nm = ni, Pm = ri, Am = si, Tm = ai, _m = ii, Im = "Separator", vo = "horizontal", Mm = ["horizontal", "vertical"], pi = d.forwardRef((e, t) => {
8880
+ const { decorative: n, orientation: r = vo, ...o } = e, s = Om(r) ? r : vo, i = n ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
8881
8881
  return /* @__PURE__ */ f(
8882
8882
  L.div,
8883
8883
  {
@@ -9010,7 +9010,7 @@ function bi(e) {
9010
9010
  }
9011
9011
  var Hm = mi, Bm = gi, gn = "Tabs", [Wm] = le(gn, [
9012
9012
  cn
9013
- ]), wi = cn(), [Vm, Rr] = Wm(gn), yi = d.forwardRef(
9013
+ ]), wi = cn(), [Vm, Nr] = Wm(gn), yi = d.forwardRef(
9014
9014
  (e, t) => {
9015
9015
  const {
9016
9016
  __scopeTabs: n,
@@ -9053,7 +9053,7 @@ var Hm = mi, Bm = gi, gn = "Tabs", [Wm] = le(gn, [
9053
9053
  yi.displayName = gn;
9054
9054
  var xi = "TabsList", Si = d.forwardRef(
9055
9055
  (e, t) => {
9056
- const { __scopeTabs: n, loop: r = !0, ...o } = e, s = Rr(xi, n), a = wi(n);
9056
+ const { __scopeTabs: n, loop: r = !0, ...o } = e, s = Nr(xi, n), a = wi(n);
9057
9057
  return /* @__PURE__ */ f(
9058
9058
  la,
9059
9059
  {
@@ -9078,7 +9078,7 @@ var xi = "TabsList", Si = d.forwardRef(
9078
9078
  Si.displayName = xi;
9079
9079
  var Ci = "TabsTrigger", ki = d.forwardRef(
9080
9080
  (e, t) => {
9081
- const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, a = Rr(Ci, n), i = wi(n), c = Ni(a.baseId, r), l = Pi(a.baseId, r), u = r === a.value;
9081
+ const { __scopeTabs: n, value: r, disabled: o = !1, ...s } = e, a = Nr(Ci, n), i = wi(n), c = Ni(a.baseId, r), l = Pi(a.baseId, r), u = r === a.value;
9082
9082
  return /* @__PURE__ */ f(
9083
9083
  da,
9084
9084
  {
@@ -9118,7 +9118,7 @@ var Ci = "TabsTrigger", ki = d.forwardRef(
9118
9118
  ki.displayName = Ci;
9119
9119
  var Ei = "TabsContent", Ri = d.forwardRef(
9120
9120
  (e, t) => {
9121
- const { __scopeTabs: n, value: r, forceMount: o, children: s, ...a } = e, i = Rr(Ei, n), c = Ni(i.baseId, r), l = Pi(i.baseId, r), u = r === i.value, p = d.useRef(u);
9121
+ const { __scopeTabs: n, value: r, forceMount: o, children: s, ...a } = e, i = Nr(Ei, n), c = Ni(i.baseId, r), l = Pi(i.baseId, r), u = r === i.value, p = d.useRef(u);
9122
9122
  return d.useEffect(() => {
9123
9123
  const m = requestAnimationFrame(() => p.current = !1);
9124
9124
  return () => cancelAnimationFrame(m);
@@ -9152,7 +9152,7 @@ function Pi(e, t) {
9152
9152
  }
9153
9153
  var Um = yi, jm = Si, Gm = ki, qm = Ri, [vn] = le("Tooltip", [
9154
9154
  an
9155
- ]), bn = an(), Ai = "TooltipProvider", Km = 700, Yn = "tooltip.open", [Ym, Nr] = vn(Ai), Ti = (e) => {
9155
+ ]), bn = an(), Ai = "TooltipProvider", Km = 700, Yn = "tooltip.open", [Ym, Pr] = vn(Ai), Ti = (e) => {
9156
9156
  const {
9157
9157
  __scopeTooltip: t,
9158
9158
  delayDuration: n = Km,
@@ -9197,7 +9197,7 @@ var bt = "Tooltip", [Xm, St] = vn(bt), _i = (e) => {
9197
9197
  onOpenChange: s,
9198
9198
  disableHoverableContent: a,
9199
9199
  delayDuration: i
9200
- } = e, c = Nr(bt, e.__scopeTooltip), l = bn(t), [u, p] = d.useState(null), m = Xe(), v = d.useRef(0), w = a ?? c.disableHoverableContent, h = i ?? c.delayDuration, g = d.useRef(!1), [b, y] = Ne({
9200
+ } = e, c = Pr(bt, e.__scopeTooltip), l = bn(t), [u, p] = d.useState(null), m = Xe(), v = d.useRef(0), w = a ?? c.disableHoverableContent, h = i ?? c.delayDuration, g = d.useRef(!1), [b, y] = Ne({
9201
9201
  prop: r,
9202
9202
  defaultProp: o ?? !1,
9203
9203
  onChange: (C) => {
@@ -9240,7 +9240,7 @@ var bt = "Tooltip", [Xm, St] = vn(bt), _i = (e) => {
9240
9240
  _i.displayName = bt;
9241
9241
  var Xn = "TooltipTrigger", Ii = d.forwardRef(
9242
9242
  (e, t) => {
9243
- const { __scopeTooltip: n, ...r } = e, o = St(Xn, n), s = Nr(Xn, n), a = bn(n), i = d.useRef(null), c = G(t, i, o.onTriggerChange), l = d.useRef(!1), u = d.useRef(!1), p = d.useCallback(() => l.current = !1, []);
9243
+ const { __scopeTooltip: n, ...r } = e, o = St(Xn, n), s = Pr(Xn, n), a = bn(n), i = d.useRef(null), c = G(t, i, o.onTriggerChange), l = d.useRef(!1), u = d.useRef(!1), p = d.useCallback(() => l.current = !1, []);
9244
9244
  return d.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ f(ta, { asChild: !0, ...a, children: /* @__PURE__ */ f(
9245
9245
  L.button,
9246
9246
  {
@@ -9267,20 +9267,20 @@ var Xn = "TooltipTrigger", Ii = d.forwardRef(
9267
9267
  }
9268
9268
  );
9269
9269
  Ii.displayName = Xn;
9270
- var Pr = "TooltipPortal", [Zm, Jm] = vn(Pr, {
9270
+ var Ar = "TooltipPortal", [Zm, Jm] = vn(Ar, {
9271
9271
  forceMount: void 0
9272
9272
  }), Mi = (e) => {
9273
- const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = St(Pr, t);
9274
- return /* @__PURE__ */ f(Zm, { scope: t, forceMount: n, children: /* @__PURE__ */ f(we, { present: n || s.open, children: /* @__PURE__ */ f(cr, { asChild: !0, container: o, children: r }) }) });
9273
+ const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = St(Ar, t);
9274
+ return /* @__PURE__ */ f(Zm, { scope: t, forceMount: n, children: /* @__PURE__ */ f(we, { present: n || s.open, children: /* @__PURE__ */ f(lr, { asChild: !0, container: o, children: r }) }) });
9275
9275
  };
9276
- Mi.displayName = Pr;
9276
+ Mi.displayName = Ar;
9277
9277
  var st = "TooltipContent", Oi = d.forwardRef(
9278
9278
  (e, t) => {
9279
9279
  const n = Jm(st, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, a = St(st, e.__scopeTooltip);
9280
9280
  return /* @__PURE__ */ f(we, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ f(Li, { side: o, ...s, ref: t }) : /* @__PURE__ */ f(Qm, { side: o, ...s, ref: t }) });
9281
9281
  }
9282
9282
  ), Qm = d.forwardRef((e, t) => {
9283
- const n = St(st, e.__scopeTooltip), r = Nr(st, e.__scopeTooltip), o = d.useRef(null), s = G(t, o), [a, i] = d.useState(null), { trigger: c, onClose: l } = n, u = o.current, { onPointerInTransitChange: p } = r, m = d.useCallback(() => {
9283
+ const n = St(st, e.__scopeTooltip), r = Pr(st, e.__scopeTooltip), o = d.useRef(null), s = G(t, o), [a, i] = d.useState(null), { trigger: c, onClose: l } = n, u = o.current, { onPointerInTransitChange: p } = r, m = d.useCallback(() => {
9284
9284
  i(null), p(!1);
9285
9285
  }, [p]), v = d.useCallback(
9286
9286
  (w, h) => {
@@ -9324,7 +9324,7 @@ var st = "TooltipContent", Oi = d.forwardRef(
9324
9324
  return window.addEventListener("scroll", p, { capture: !0 }), () => window.removeEventListener("scroll", p, { capture: !0 });
9325
9325
  }
9326
9326
  }, [c.trigger, u]), /* @__PURE__ */ f(
9327
- ir,
9327
+ cr,
9328
9328
  {
9329
9329
  asChild: !0,
9330
9330
  disableOutsidePointerEvents: !1,
@@ -9462,7 +9462,7 @@ function ch(e) {
9462
9462
  }
9463
9463
  var lh = Ti, dh = _i, uh = Ii, fh = Mi, ph = Oi, mh = zi;
9464
9464
  const hh = Xt(
9465
- "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9465
+ "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all cursor-pointer outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9466
9466
  {
9467
9467
  variants: {
9468
9468
  variant: {
@@ -9503,12 +9503,20 @@ function $i({
9503
9503
  "data-slot": "button",
9504
9504
  "data-variant": t,
9505
9505
  "data-size": n,
9506
- className: z(hh({ variant: t, size: n, className: e })),
9506
+ className: D(hh({ variant: t, size: n, className: e })),
9507
9507
  ...o
9508
9508
  }
9509
9509
  );
9510
9510
  }
9511
- const gh = Xt(
9511
+ const gh = {
9512
+ amber: "bg-amber-100 text-amber-800",
9513
+ blue: "bg-blue-100 text-blue-800",
9514
+ emerald: "bg-emerald-100 text-emerald-800",
9515
+ red: "bg-red-100 text-red-800",
9516
+ purple: "bg-purple-100 text-purple-800",
9517
+ pink: "bg-pink-100 text-pink-800",
9518
+ gray: "bg-gray-100 text-gray-800"
9519
+ }, vh = Xt(
9512
9520
  "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
9513
9521
  {
9514
9522
  variants: {
@@ -9526,29 +9534,31 @@ const gh = Xt(
9526
9534
  }
9527
9535
  }
9528
9536
  );
9529
- function vh({
9537
+ function bh({
9530
9538
  className: e,
9531
9539
  variant: t = "default",
9532
- asChild: n = !1,
9533
- ...r
9540
+ hue: n,
9541
+ asChild: r = !1,
9542
+ ...o
9534
9543
  }) {
9544
+ const s = r ? Zo : "span", a = n ? gh[n] : void 0;
9535
9545
  return /* @__PURE__ */ f(
9536
- n ? Zo : "span",
9546
+ s,
9537
9547
  {
9538
9548
  "data-slot": "badge",
9539
9549
  "data-variant": t,
9540
- className: z(gh({ variant: t }), e),
9541
- ...r
9550
+ className: D(vh({ variant: t }), a, e),
9551
+ ...o
9542
9552
  }
9543
9553
  );
9544
9554
  }
9545
- function bh({ className: e, type: t, ...n }) {
9555
+ function wh({ className: e, type: t, ...n }) {
9546
9556
  return /* @__PURE__ */ f(
9547
9557
  "input",
9548
9558
  {
9549
9559
  type: t,
9550
9560
  "data-slot": "input",
9551
- className: z(
9561
+ className: D(
9552
9562
  "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
9553
9563
  "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
9554
9564
  "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
@@ -9558,12 +9568,12 @@ function bh({ className: e, type: t, ...n }) {
9558
9568
  }
9559
9569
  );
9560
9570
  }
9561
- function wh({ className: e, ...t }) {
9571
+ function yh({ className: e, ...t }) {
9562
9572
  return /* @__PURE__ */ f(
9563
9573
  "textarea",
9564
9574
  {
9565
9575
  "data-slot": "textarea",
9566
- className: z(
9576
+ className: D(
9567
9577
  "flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:ring-destructive/40",
9568
9578
  e
9569
9579
  ),
@@ -9571,17 +9581,17 @@ function wh({ className: e, ...t }) {
9571
9581
  }
9572
9582
  );
9573
9583
  }
9574
- function yh({
9584
+ function xh({
9575
9585
  ...e
9576
9586
  }) {
9577
9587
  return /* @__PURE__ */ f(ym, { "data-slot": "select", ...e });
9578
9588
  }
9579
- function xh({
9589
+ function Sh({
9580
9590
  ...e
9581
9591
  }) {
9582
9592
  return /* @__PURE__ */ f(Sm, { "data-slot": "select-value", ...e });
9583
9593
  }
9584
- function Sh({
9594
+ function Ch({
9585
9595
  className: e,
9586
9596
  size: t = "default",
9587
9597
  children: n,
@@ -9592,19 +9602,19 @@ function Sh({
9592
9602
  {
9593
9603
  "data-slot": "select-trigger",
9594
9604
  "data-size": t,
9595
- className: z(
9605
+ className: D(
9596
9606
  "flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",
9597
9607
  e
9598
9608
  ),
9599
9609
  ...r,
9600
9610
  children: [
9601
9611
  n,
9602
- /* @__PURE__ */ f(Cm, { asChild: !0, children: /* @__PURE__ */ f(Po, { className: "size-4 opacity-50" }) })
9612
+ /* @__PURE__ */ f(Cm, { asChild: !0, children: /* @__PURE__ */ f(Ao, { className: "size-4 opacity-50" }) })
9603
9613
  ]
9604
9614
  }
9605
9615
  );
9606
9616
  }
9607
- function Ch({
9617
+ function kh({
9608
9618
  className: e,
9609
9619
  children: t,
9610
9620
  position: n = "item-aligned",
@@ -9615,7 +9625,7 @@ function Ch({
9615
9625
  Em,
9616
9626
  {
9617
9627
  "data-slot": "select-content",
9618
- className: z(
9628
+ className: D(
9619
9629
  "relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
9620
9630
  n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
9621
9631
  e
@@ -9624,23 +9634,23 @@ function Ch({
9624
9634
  align: r,
9625
9635
  ...o,
9626
9636
  children: [
9627
- /* @__PURE__ */ f(Eh, {}),
9637
+ /* @__PURE__ */ f(Rh, {}),
9628
9638
  /* @__PURE__ */ f(
9629
9639
  Rm,
9630
9640
  {
9631
- className: z(
9641
+ className: D(
9632
9642
  "p-1",
9633
9643
  n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
9634
9644
  ),
9635
9645
  children: t
9636
9646
  }
9637
9647
  ),
9638
- /* @__PURE__ */ f(Rh, {})
9648
+ /* @__PURE__ */ f(Nh, {})
9639
9649
  ]
9640
9650
  }
9641
9651
  ) });
9642
9652
  }
9643
- function kh({
9653
+ function Eh({
9644
9654
  className: e,
9645
9655
  children: t,
9646
9656
  ...n
@@ -9649,7 +9659,7 @@ function kh({
9649
9659
  Nm,
9650
9660
  {
9651
9661
  "data-slot": "select-item",
9652
- className: z(
9662
+ className: D(
9653
9663
  "relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
9654
9664
  e
9655
9665
  ),
@@ -9660,7 +9670,7 @@ function kh({
9660
9670
  {
9661
9671
  "data-slot": "select-item-indicator",
9662
9672
  className: "absolute right-2 flex size-3.5 items-center justify-center",
9663
- children: /* @__PURE__ */ f(Am, { children: /* @__PURE__ */ f(No, { className: "size-4" }) })
9673
+ children: /* @__PURE__ */ f(Am, { children: /* @__PURE__ */ f(Po, { className: "size-4" }) })
9664
9674
  }
9665
9675
  ),
9666
9676
  /* @__PURE__ */ f(Pm, { children: t })
@@ -9668,7 +9678,7 @@ function kh({
9668
9678
  }
9669
9679
  );
9670
9680
  }
9671
- function Eh({
9681
+ function Rh({
9672
9682
  className: e,
9673
9683
  ...t
9674
9684
  }) {
@@ -9676,7 +9686,7 @@ function Eh({
9676
9686
  Tm,
9677
9687
  {
9678
9688
  "data-slot": "select-scroll-up-button",
9679
- className: z(
9689
+ className: D(
9680
9690
  "flex cursor-default items-center justify-center py-1",
9681
9691
  e
9682
9692
  ),
@@ -9685,7 +9695,7 @@ function Eh({
9685
9695
  }
9686
9696
  );
9687
9697
  }
9688
- function Rh({
9698
+ function Nh({
9689
9699
  className: e,
9690
9700
  ...t
9691
9701
  }) {
@@ -9693,16 +9703,16 @@ function Rh({
9693
9703
  _m,
9694
9704
  {
9695
9705
  "data-slot": "select-scroll-down-button",
9696
- className: z(
9706
+ className: D(
9697
9707
  "flex cursor-default items-center justify-center py-1",
9698
9708
  e
9699
9709
  ),
9700
9710
  ...t,
9701
- children: /* @__PURE__ */ f(Po, { className: "size-4" })
9711
+ children: /* @__PURE__ */ f(Ao, { className: "size-4" })
9702
9712
  }
9703
9713
  );
9704
9714
  }
9705
- function Nh({
9715
+ function Ph({
9706
9716
  className: e,
9707
9717
  ...t
9708
9718
  }) {
@@ -9710,7 +9720,7 @@ function Nh({
9710
9720
  Ns,
9711
9721
  {
9712
9722
  "data-slot": "checkbox",
9713
- className: z(
9723
+ className: D(
9714
9724
  "peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",
9715
9725
  e
9716
9726
  ),
@@ -9720,13 +9730,13 @@ function Nh({
9720
9730
  {
9721
9731
  "data-slot": "checkbox-indicator",
9722
9732
  className: "grid place-content-center text-current transition-none",
9723
- children: /* @__PURE__ */ f(No, { className: "size-3.5" })
9733
+ children: /* @__PURE__ */ f(Po, { className: "size-3.5" })
9724
9734
  }
9725
9735
  )
9726
9736
  }
9727
9737
  );
9728
9738
  }
9729
- function Ph({
9739
+ function Ah({
9730
9740
  className: e,
9731
9741
  size: t = "default",
9732
9742
  ...n
@@ -9736,7 +9746,7 @@ function Ph({
9736
9746
  {
9737
9747
  "data-slot": "switch",
9738
9748
  "data-size": t,
9739
- className: z(
9749
+ className: D(
9740
9750
  "peer group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80",
9741
9751
  e
9742
9752
  ),
@@ -9745,7 +9755,7 @@ function Ph({
9745
9755
  Bm,
9746
9756
  {
9747
9757
  "data-slot": "switch-thumb",
9748
- className: z(
9758
+ className: D(
9749
9759
  "pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground"
9750
9760
  )
9751
9761
  }
@@ -9753,7 +9763,7 @@ function Ph({
9753
9763
  }
9754
9764
  );
9755
9765
  }
9756
- function Ah({
9766
+ function Th({
9757
9767
  className: e,
9758
9768
  ...t
9759
9769
  }) {
@@ -9761,7 +9771,7 @@ function Ah({
9761
9771
  gp,
9762
9772
  {
9763
9773
  "data-slot": "label",
9764
- className: z(
9774
+ className: D(
9765
9775
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
9766
9776
  e
9767
9777
  ),
@@ -9769,7 +9779,7 @@ function Ah({
9769
9779
  }
9770
9780
  );
9771
9781
  }
9772
- function Th({
9782
+ function _h({
9773
9783
  className: e,
9774
9784
  ...t
9775
9785
  }) {
@@ -9777,12 +9787,12 @@ function Th({
9777
9787
  Op,
9778
9788
  {
9779
9789
  "data-slot": "radio-group",
9780
- className: z("grid gap-3", e),
9790
+ className: D("grid gap-3", e),
9781
9791
  ...t
9782
9792
  }
9783
9793
  );
9784
9794
  }
9785
- function _h({
9795
+ function Ih({
9786
9796
  className: e,
9787
9797
  ...t
9788
9798
  }) {
@@ -9790,7 +9800,7 @@ function _h({
9790
9800
  Lp,
9791
9801
  {
9792
9802
  "data-slot": "radio-group-item",
9793
- className: z(
9803
+ className: D(
9794
9804
  "aspect-square size-4 shrink-0 rounded-full border border-input text-primary shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:ring-destructive/40",
9795
9805
  e
9796
9806
  ),
@@ -9806,7 +9816,7 @@ function _h({
9806
9816
  }
9807
9817
  );
9808
9818
  }
9809
- function Ih({
9819
+ function Mh({
9810
9820
  className: e,
9811
9821
  orientation: t = "horizontal",
9812
9822
  decorative: n = !0,
@@ -9818,7 +9828,7 @@ function Ih({
9818
9828
  "data-slot": "separator",
9819
9829
  decorative: n,
9820
9830
  orientation: t,
9821
- className: z(
9831
+ className: D(
9822
9832
  "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
9823
9833
  e
9824
9834
  ),
@@ -9826,7 +9836,7 @@ function Ih({
9826
9836
  }
9827
9837
  );
9828
9838
  }
9829
- function Mh({
9839
+ function Oh({
9830
9840
  className: e,
9831
9841
  orientation: t = "horizontal",
9832
9842
  ...n
@@ -9837,7 +9847,7 @@ function Mh({
9837
9847
  "data-slot": "tabs",
9838
9848
  "data-orientation": t,
9839
9849
  orientation: t,
9840
- className: z(
9850
+ className: D(
9841
9851
  "group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",
9842
9852
  e
9843
9853
  ),
@@ -9845,7 +9855,7 @@ function Mh({
9845
9855
  }
9846
9856
  );
9847
9857
  }
9848
- const Oh = Xt(
9858
+ const Lh = Xt(
9849
9859
  "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",
9850
9860
  {
9851
9861
  variants: {
@@ -9859,7 +9869,7 @@ const Oh = Xt(
9859
9869
  }
9860
9870
  }
9861
9871
  );
9862
- function Lh({
9872
+ function Dh({
9863
9873
  className: e,
9864
9874
  variant: t = "default",
9865
9875
  ...n
@@ -9869,12 +9879,12 @@ function Lh({
9869
9879
  {
9870
9880
  "data-slot": "tabs-list",
9871
9881
  "data-variant": t,
9872
- className: z(Oh({ variant: t }), e),
9882
+ className: D(Lh({ variant: t }), e),
9873
9883
  ...n
9874
9884
  }
9875
9885
  );
9876
9886
  }
9877
- function Dh({
9887
+ function zh({
9878
9888
  className: e,
9879
9889
  ...t
9880
9890
  }) {
@@ -9882,8 +9892,8 @@ function Dh({
9882
9892
  Gm,
9883
9893
  {
9884
9894
  "data-slot": "tabs-trigger",
9885
- className: z(
9886
- "relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9895
+ className: D(
9896
+ "cursor-pointer relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9887
9897
  "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent",
9888
9898
  "data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground",
9889
9899
  "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",
@@ -9893,7 +9903,7 @@ function Dh({
9893
9903
  }
9894
9904
  );
9895
9905
  }
9896
- function zh({
9906
+ function $h({
9897
9907
  className: e,
9898
9908
  ...t
9899
9909
  }) {
@@ -9901,12 +9911,12 @@ function zh({
9901
9911
  qm,
9902
9912
  {
9903
9913
  "data-slot": "tabs-content",
9904
- className: z("flex-1 outline-none", e),
9914
+ className: D("flex-1 outline-none", e),
9905
9915
  ...t
9906
9916
  }
9907
9917
  );
9908
9918
  }
9909
- function $h({
9919
+ function Fh({
9910
9920
  className: e,
9911
9921
  children: t,
9912
9922
  ...n
@@ -9915,7 +9925,7 @@ function $h({
9915
9925
  Kp,
9916
9926
  {
9917
9927
  "data-slot": "scroll-area",
9918
- className: z("relative", e),
9928
+ className: D("relative", e),
9919
9929
  ...n,
9920
9930
  children: [
9921
9931
  /* @__PURE__ */ f(
@@ -9926,13 +9936,13 @@ function $h({
9926
9936
  children: t
9927
9937
  }
9928
9938
  ),
9929
- /* @__PURE__ */ f(Fh, {}),
9939
+ /* @__PURE__ */ f(Hh, {}),
9930
9940
  /* @__PURE__ */ f(Xp, {})
9931
9941
  ]
9932
9942
  }
9933
9943
  );
9934
9944
  }
9935
- function Fh({
9945
+ function Hh({
9936
9946
  className: e,
9937
9947
  orientation: t = "vertical",
9938
9948
  ...n
@@ -9942,7 +9952,7 @@ function Fh({
9942
9952
  {
9943
9953
  "data-slot": "scroll-area-scrollbar",
9944
9954
  orientation: t,
9945
- className: z(
9955
+ className: D(
9946
9956
  "flex touch-none p-px transition-colors select-none",
9947
9957
  t === "vertical" && "h-full w-2.5 border-l border-l-transparent",
9948
9958
  t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
@@ -9969,7 +9979,7 @@ function Zn({
9969
9979
  {
9970
9980
  "data-slot": "avatar",
9971
9981
  "data-size": t,
9972
- className: z(
9982
+ className: D(
9973
9983
  "group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",
9974
9984
  e
9975
9985
  ),
@@ -9985,7 +9995,7 @@ function Jn({
9985
9995
  Hu,
9986
9996
  {
9987
9997
  "data-slot": "avatar-image",
9988
- className: z("aspect-square size-full", e),
9998
+ className: D("aspect-square size-full", e),
9989
9999
  ...t
9990
10000
  }
9991
10001
  );
@@ -9998,7 +10008,7 @@ function Qn({
9998
10008
  Bu,
9999
10009
  {
10000
10010
  "data-slot": "avatar-fallback",
10001
- className: z(
10011
+ className: D(
10002
10012
  "flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
10003
10013
  e
10004
10014
  ),
@@ -10006,17 +10016,17 @@ function Qn({
10006
10016
  }
10007
10017
  );
10008
10018
  }
10009
- function Hh({ className: e, ...t }) {
10019
+ function Bh({ className: e, ...t }) {
10010
10020
  return /* @__PURE__ */ f(
10011
10021
  "div",
10012
10022
  {
10013
10023
  "data-slot": "skeleton",
10014
- className: z("animate-pulse rounded-md bg-accent", e),
10024
+ className: D("animate-pulse rounded-md bg-accent", e),
10015
10025
  ...t
10016
10026
  }
10017
10027
  );
10018
10028
  }
10019
- function Bh({
10029
+ function Wh({
10020
10030
  delayDuration: e = 0,
10021
10031
  ...t
10022
10032
  }) {
@@ -10029,17 +10039,17 @@ function Bh({
10029
10039
  }
10030
10040
  );
10031
10041
  }
10032
- function Wh({
10042
+ function Vh({
10033
10043
  ...e
10034
10044
  }) {
10035
10045
  return /* @__PURE__ */ f(dh, { "data-slot": "tooltip", ...e });
10036
10046
  }
10037
- function Vh({
10047
+ function Uh({
10038
10048
  ...e
10039
10049
  }) {
10040
10050
  return /* @__PURE__ */ f(uh, { "data-slot": "tooltip-trigger", ...e });
10041
10051
  }
10042
- function Uh({
10052
+ function jh({
10043
10053
  className: e,
10044
10054
  sideOffset: t = 0,
10045
10055
  children: n,
@@ -10050,7 +10060,7 @@ function Uh({
10050
10060
  {
10051
10061
  "data-slot": "tooltip-content",
10052
10062
  sideOffset: t,
10053
- className: z(
10063
+ className: D(
10054
10064
  "z-50 w-fit origin-(--radix-tooltip-content-transform-origin) animate-in rounded-md bg-foreground px-3 py-1.5 text-xs text-balance text-background fade-in-0 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
10055
10065
  e
10056
10066
  ),
@@ -10062,7 +10072,7 @@ function Uh({
10062
10072
  }
10063
10073
  ) });
10064
10074
  }
10065
- function jh({
10075
+ function Gh({
10066
10076
  className: e,
10067
10077
  value: t,
10068
10078
  ...n
@@ -10071,7 +10081,7 @@ function jh({
10071
10081
  Cp,
10072
10082
  {
10073
10083
  "data-slot": "progress",
10074
- className: z(
10084
+ className: D(
10075
10085
  "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
10076
10086
  e
10077
10087
  ),
@@ -10087,7 +10097,7 @@ function jh({
10087
10097
  }
10088
10098
  );
10089
10099
  }
10090
- const Gh = Xt(
10100
+ const qh = Xt(
10091
10101
  "relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-lg border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
10092
10102
  {
10093
10103
  variants: {
@@ -10101,7 +10111,7 @@ const Gh = Xt(
10101
10111
  }
10102
10112
  }
10103
10113
  );
10104
- function qh({
10114
+ function Kh({
10105
10115
  className: e,
10106
10116
  variant: t,
10107
10117
  ...n
@@ -10111,17 +10121,17 @@ function qh({
10111
10121
  {
10112
10122
  "data-slot": "alert",
10113
10123
  role: "alert",
10114
- className: z(Gh({ variant: t }), e),
10124
+ className: D(qh({ variant: t }), e),
10115
10125
  ...n
10116
10126
  }
10117
10127
  );
10118
10128
  }
10119
- function Kh({ className: e, ...t }) {
10129
+ function Yh({ className: e, ...t }) {
10120
10130
  return /* @__PURE__ */ f(
10121
10131
  "div",
10122
10132
  {
10123
10133
  "data-slot": "alert-title",
10124
- className: z(
10134
+ className: D(
10125
10135
  "col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
10126
10136
  e
10127
10137
  ),
@@ -10129,7 +10139,7 @@ function Kh({ className: e, ...t }) {
10129
10139
  }
10130
10140
  );
10131
10141
  }
10132
- function Yh({
10142
+ function Xh({
10133
10143
  className: e,
10134
10144
  ...t
10135
10145
  }) {
@@ -10137,7 +10147,7 @@ function Yh({
10137
10147
  "div",
10138
10148
  {
10139
10149
  "data-slot": "alert-description",
10140
- className: z(
10150
+ className: D(
10141
10151
  "col-start-2 grid justify-items-start gap-1 text-sm text-muted-foreground [&_p]:leading-relaxed",
10142
10152
  e
10143
10153
  ),
@@ -10145,12 +10155,12 @@ function Yh({
10145
10155
  }
10146
10156
  );
10147
10157
  }
10148
- function Xh({
10158
+ function Zh({
10149
10159
  ...e
10150
10160
  }) {
10151
10161
  return /* @__PURE__ */ f(Rd, { "data-slot": "collapsible", ...e });
10152
10162
  }
10153
- function Zh({
10163
+ function Jh({
10154
10164
  ...e
10155
10165
  }) {
10156
10166
  return /* @__PURE__ */ f(
@@ -10161,7 +10171,7 @@ function Zh({
10161
10171
  }
10162
10172
  );
10163
10173
  }
10164
- function Jh({
10174
+ function Qh({
10165
10175
  ...e
10166
10176
  }) {
10167
10177
  return /* @__PURE__ */ f(
@@ -10177,12 +10187,12 @@ const Fi = {
10177
10187
  calendar: Ec,
10178
10188
  "check-circle-2": Lc,
10179
10189
  "chevron-left": Ac,
10180
- "chevron-right": Ao,
10190
+ "chevron-right": tr,
10181
10191
  clock: Vc,
10182
10192
  "credit-card": jc,
10183
10193
  "external-link": qc,
10184
10194
  "help-circle": zc,
10185
- info: tr,
10195
+ info: nr,
10186
10196
  "loader-2": _o,
10187
10197
  mail: Ln,
10188
10198
  "map-pin": Jc,
@@ -10198,7 +10208,7 @@ const Fi = {
10198
10208
  "x-circle": Fc,
10199
10209
  "alert-circle": To,
10200
10210
  "book-open": Cc
10201
- }, vo = {
10211
+ }, bo = {
10202
10212
  0: "gap-0",
10203
10213
  1: "gap-1",
10204
10214
  2: "gap-2",
@@ -10209,14 +10219,14 @@ const Fi = {
10209
10219
  8: "gap-8",
10210
10220
  10: "gap-10",
10211
10221
  12: "gap-12"
10212
- }, Hi = (e) => typeof e == "number" ? vo[String(e)] ?? "gap-2" : typeof e == "string" ? vo[e.trim()] ?? "gap-2" : "gap-2", Qh = ({ children: e, className: t, onClick: n }) => /* @__PURE__ */ f(
10222
+ }, Hi = (e) => typeof e == "number" ? bo[String(e)] ?? "gap-2" : typeof e == "string" ? bo[e.trim()] ?? "gap-2" : "gap-2", eg = ({ children: e, className: t, onClick: n }) => /* @__PURE__ */ f(
10213
10223
  mt,
10214
10224
  {
10215
10225
  className: t,
10216
10226
  onClick: n,
10217
10227
  children: e
10218
10228
  }
10219
- ), eg = ({ children: e, className: t }) => /* @__PURE__ */ f(ht, { className: t, children: e }), tg = ({ children: e, className: t }) => /* @__PURE__ */ f(od, { className: t, children: e }), ng = ({ children: e, className: t, onClick: n, variant: r, size: o, disabled: s, title: a }) => /* @__PURE__ */ f(
10229
+ ), tg = ({ children: e, className: t }) => /* @__PURE__ */ f(ht, { className: t, children: e }), ng = ({ children: e, className: t }) => /* @__PURE__ */ f(od, { className: t, children: e }), rg = ({ children: e, className: t, onClick: n, variant: r, size: o, disabled: s, title: a }) => /* @__PURE__ */ f(
10220
10230
  $i,
10221
10231
  {
10222
10232
  className: t,
@@ -10227,29 +10237,30 @@ const Fi = {
10227
10237
  title: a,
10228
10238
  children: e
10229
10239
  }
10230
- ), rg = ({ children: e, className: t, variant: n }) => /* @__PURE__ */ f(
10231
- vh,
10240
+ ), og = ({ children: e, className: t, variant: n, hue: r }) => /* @__PURE__ */ f(
10241
+ bh,
10232
10242
  {
10233
10243
  className: t,
10234
10244
  variant: n,
10245
+ hue: r,
10235
10246
  children: e
10236
10247
  }
10237
- ), og = ({ className: e, onChange: t, ...n }) => /* @__PURE__ */ f(
10238
- bh,
10248
+ ), sg = ({ className: e, onChange: t, ...n }) => /* @__PURE__ */ f(
10249
+ wh,
10239
10250
  {
10240
10251
  className: e,
10241
10252
  onChange: t,
10242
10253
  ...n
10243
10254
  }
10244
- ), sg = ({ className: e, onChange: t, ...n }) => /* @__PURE__ */ f(
10245
- wh,
10255
+ ), ag = ({ className: e, onChange: t, ...n }) => /* @__PURE__ */ f(
10256
+ yh,
10246
10257
  {
10247
10258
  className: e,
10248
10259
  onChange: t,
10249
10260
  ...n
10250
10261
  }
10251
- ), ag = ({ children: e, className: t, value: n, defaultValue: r, onChange: o, placeholder: s, disabled: a }) => /* @__PURE__ */ O(
10252
- yh,
10262
+ ), ig = ({ children: e, className: t, value: n, defaultValue: r, onChange: o, placeholder: s, disabled: a }) => /* @__PURE__ */ O(
10263
+ xh,
10253
10264
  {
10254
10265
  value: n,
10255
10266
  defaultValue: r,
@@ -10259,52 +10270,52 @@ const Fi = {
10259
10270
  },
10260
10271
  disabled: a,
10261
10272
  children: [
10262
- /* @__PURE__ */ f(Sh, { className: t, children: /* @__PURE__ */ f(xh, { placeholder: s }) }),
10263
- /* @__PURE__ */ f(Ch, { children: e })
10273
+ /* @__PURE__ */ f(Ch, { className: t, children: /* @__PURE__ */ f(Sh, { placeholder: s }) }),
10274
+ /* @__PURE__ */ f(kh, { style: { zIndex: "calc(var(--widget-z, 1000) + 1)" }, children: e })
10264
10275
  ]
10265
10276
  }
10266
- ), ig = ({ children: e, value: t, disabled: n, className: r }) => /* @__PURE__ */ f(
10267
- kh,
10277
+ ), cg = ({ children: e, value: t, disabled: n, className: r }) => /* @__PURE__ */ f(
10278
+ Eh,
10268
10279
  {
10269
10280
  value: t,
10270
10281
  disabled: n,
10271
10282
  className: r,
10272
10283
  children: e
10273
10284
  }
10274
- ), cg = ({ checked: e, onChange: t, disabled: n, className: r, id: o }) => /* @__PURE__ */ f(
10275
- Nh,
10276
- {
10277
- checked: e === "true" || e === !0,
10278
- onCheckedChange: (s) => {
10279
- const a = t;
10280
- a == null || a({ target: { value: String(s) } });
10281
- },
10282
- disabled: n,
10283
- className: r,
10284
- id: o
10285
- }
10286
- ), lg = ({ checked: e, onChange: t, disabled: n, size: r, className: o, id: s }) => /* @__PURE__ */ f(
10287
- Ph,
10288
- {
10289
- checked: e === "true" || e === !0,
10290
- onCheckedChange: (a) => {
10291
- const i = t;
10292
- i == null || i({ target: { value: String(a) } });
10293
- },
10294
- disabled: n,
10295
- size: r,
10296
- className: o,
10297
- id: s
10298
- }
10299
- ), dg = ({ children: e, htmlFor: t, className: n }) => /* @__PURE__ */ f(
10300
- Ah,
10285
+ ), lg = ({ checked: e, onChange: t, disabled: n, className: r, id: o }) => {
10286
+ const s = e !== void 0, a = t;
10287
+ return /* @__PURE__ */ f(
10288
+ Ph,
10289
+ {
10290
+ ...s ? { checked: e === "true" || e === !0 } : {},
10291
+ onCheckedChange: (i) => a == null ? void 0 : a({ target: { value: String(i) } }),
10292
+ disabled: n,
10293
+ className: r,
10294
+ id: o
10295
+ }
10296
+ );
10297
+ }, dg = ({ checked: e, onChange: t, disabled: n, size: r, className: o, id: s }) => {
10298
+ const a = e !== void 0, i = t;
10299
+ return /* @__PURE__ */ f(
10300
+ Ah,
10301
+ {
10302
+ ...a ? { checked: e === "true" || e === !0 } : {},
10303
+ onCheckedChange: (c) => i == null ? void 0 : i({ target: { value: String(c) } }),
10304
+ disabled: n,
10305
+ size: r,
10306
+ className: o,
10307
+ id: s
10308
+ }
10309
+ );
10310
+ }, ug = ({ children: e, htmlFor: t, className: n }) => /* @__PURE__ */ f(
10311
+ Th,
10301
10312
  {
10302
10313
  htmlFor: t,
10303
10314
  className: n,
10304
10315
  children: e
10305
10316
  }
10306
- ), ug = ({ children: e, value: t, defaultValue: n, onChange: r, className: o }) => /* @__PURE__ */ f(
10307
- Th,
10317
+ ), fg = ({ children: e, value: t, defaultValue: n, onChange: r, className: o }) => /* @__PURE__ */ f(
10318
+ _h,
10308
10319
  {
10309
10320
  value: t,
10310
10321
  defaultValue: n,
@@ -10315,22 +10326,22 @@ const Fi = {
10315
10326
  className: o,
10316
10327
  children: e
10317
10328
  }
10318
- ), fg = ({ value: e, disabled: t, className: n, id: r }) => /* @__PURE__ */ f(
10319
- _h,
10329
+ ), pg = ({ value: e, disabled: t, className: n, id: r }) => /* @__PURE__ */ f(
10330
+ Ih,
10320
10331
  {
10321
10332
  value: e,
10322
10333
  disabled: t,
10323
10334
  className: n,
10324
10335
  id: r
10325
10336
  }
10326
- ), pg = ({ className: e }) => /* @__PURE__ */ f(Ih, { className: e }), mg = ({ children: e, className: t }) => /* @__PURE__ */ f(Mh, { className: t, children: e }), hg = ({ children: e, className: t }) => /* @__PURE__ */ f(Lh, { className: t, children: e }), gg = ({ children: e, className: t }) => /* @__PURE__ */ f(Dh, { className: t, value: "", children: e }), vg = ({ children: e, className: t }) => /* @__PURE__ */ f(zh, { className: t, value: "", children: e }), bg = ({ children: e, className: t }) => /* @__PURE__ */ f($h, { className: t, children: e }), wg = ({ src: e, alt: t, className: n }) => {
10337
+ ), mg = ({ className: e }) => /* @__PURE__ */ f(Mh, { className: e }), hg = ({ children: e, defaultValue: t, className: n }) => /* @__PURE__ */ f(Oh, { defaultValue: t, className: n, children: e }), gg = ({ children: e, className: t }) => /* @__PURE__ */ f(Dh, { className: t, children: e }), vg = ({ children: e, value: t, className: n }) => /* @__PURE__ */ f(zh, { className: n, value: t, children: e }), bg = ({ children: e, value: t, className: n }) => /* @__PURE__ */ f($h, { className: n, value: t, children: e }), wg = ({ children: e, className: t }) => /* @__PURE__ */ f(Fh, { className: t, children: e }), yg = ({ src: e, alt: t, className: n }) => {
10327
10338
  var r;
10328
10339
  return /* @__PURE__ */ O(Zn, { className: n, children: [
10329
10340
  /* @__PURE__ */ f(Jn, { src: e, alt: t }),
10330
10341
  /* @__PURE__ */ f(Qn, { children: ((r = t == null ? void 0 : t.charAt(0)) == null ? void 0 : r.toUpperCase()) || "?" })
10331
10342
  ] });
10332
- }, yg = ({ width: e, height: t, className: n }) => /* @__PURE__ */ f(
10333
- Hh,
10343
+ }, xg = ({ width: e, height: t, className: n }) => /* @__PURE__ */ f(
10344
+ Bh,
10334
10345
  {
10335
10346
  className: n,
10336
10347
  style: {
@@ -10338,42 +10349,45 @@ const Fi = {
10338
10349
  height: t
10339
10350
  }
10340
10351
  }
10341
- ), xg = ({ children: e, content: t, className: n }) => /* @__PURE__ */ f(Bh, { children: /* @__PURE__ */ O(Wh, { children: [
10342
- /* @__PURE__ */ f(Vh, { asChild: !0, children: /* @__PURE__ */ f("span", { className: n, children: e }) }),
10343
- /* @__PURE__ */ f(Uh, { children: /* @__PURE__ */ f("p", { children: String(t) }) })
10344
- ] }) }), Sg = ({ value: e, className: t }) => /* @__PURE__ */ f(
10345
- jh,
10352
+ ), Sg = ({ children: e, content: t, className: n }) => /* @__PURE__ */ f(Wh, { children: /* @__PURE__ */ O(Vh, { children: [
10353
+ /* @__PURE__ */ f(Uh, { asChild: !0, children: /* @__PURE__ */ f("span", { className: n, children: e }) }),
10354
+ /* @__PURE__ */ f(jh, { children: /* @__PURE__ */ f("p", { children: String(t) }) })
10355
+ ] }) }), Cg = ({ value: e, className: t }) => /* @__PURE__ */ f(
10356
+ Gh,
10346
10357
  {
10347
10358
  value: typeof e == "string" ? Number(e) : e,
10348
10359
  className: t
10349
10360
  }
10350
- ), Cg = {
10351
- default: tr,
10361
+ ), kg = {
10362
+ default: nr,
10352
10363
  destructive: To
10353
- }, kg = ({ children: e, variant: t, title: n, className: r }) => {
10354
- const o = t, s = Cg[o || "default"] || tr;
10355
- return /* @__PURE__ */ O(qh, { variant: o, className: r, children: [
10364
+ }, Eg = ({ children: e, variant: t, title: n, className: r }) => {
10365
+ const o = t, s = kg[o || "default"] || nr;
10366
+ return /* @__PURE__ */ O(Kh, { variant: o, className: r, children: [
10356
10367
  /* @__PURE__ */ f(s, { className: "size-4" }),
10357
- n ? /* @__PURE__ */ f(Kh, { children: String(n) }) : null,
10358
- e ? /* @__PURE__ */ f(Yh, { children: e }) : null
10368
+ n ? /* @__PURE__ */ f(Yh, { children: String(n) }) : null,
10369
+ e ? /* @__PURE__ */ f(Xh, { children: e }) : null
10359
10370
  ] });
10360
- }, Eg = ({ children: e, defaultOpen: t, className: n }) => /* @__PURE__ */ f(
10361
- Xh,
10371
+ }, Rg = ({ children: e, defaultOpen: t, className: n }) => /* @__PURE__ */ f(
10372
+ Zh,
10362
10373
  {
10363
10374
  defaultOpen: t === "true" || t === !0,
10364
10375
  className: n,
10365
10376
  children: e
10366
10377
  }
10367
- ), Rg = ({ children: e, className: t }) => /* @__PURE__ */ f(Zh, { className: t, children: e }), Ng = ({ children: e, className: t }) => /* @__PURE__ */ f(Jh, { className: t, children: e }), Pg = ({ children: e, className: t }) => /* @__PURE__ */ f("p", { className: z("text-sm", t), children: e }), Ag = ({ children: e, className: t, level: n }) => {
10378
+ ), Ng = ({ children: e, className: t }) => /* @__PURE__ */ O(Jh, { className: D("flex items-center gap-1 cursor-pointer text-sm font-medium [&[data-state=open]>svg]:rotate-90", t), children: [
10379
+ /* @__PURE__ */ f(tr, { className: "size-4 shrink-0 transition-transform duration-200" }),
10380
+ e
10381
+ ] }), Pg = ({ children: e, className: t }) => /* @__PURE__ */ f(Qh, { className: t, children: e }), Ag = ({ children: e, className: t }) => /* @__PURE__ */ f("p", { className: D("text-sm", t), children: e }), Tg = ({ children: e, className: t, level: n }) => {
10368
10382
  const r = `h${n || "2"}`;
10369
- return /* @__PURE__ */ f(r, { className: z("font-semibold tracking-tight", t), children: e });
10370
- }, Tg = ({ children: e, className: t, direction: n, gap: r }) => {
10383
+ return /* @__PURE__ */ f(r, { className: D("font-semibold tracking-tight", t), children: e });
10384
+ }, _g = ({ children: e, className: t, direction: n, gap: r }) => {
10371
10385
  const o = n === "row" ? "flex-row" : "flex-col", s = Hi(r);
10372
- return /* @__PURE__ */ f("div", { className: z("flex", o, s, t), children: e });
10373
- }, _g = ({ children: e, className: t, gap: n }) => {
10386
+ return /* @__PURE__ */ f("div", { className: D("flex", o, s, t), children: e });
10387
+ }, Ig = ({ children: e, className: t, gap: n }) => {
10374
10388
  const r = Hi(n);
10375
- return /* @__PURE__ */ f("div", { className: z("flex flex-row items-center", r, t), children: e });
10376
- }, Ig = ({ children: e, className: t, href: n, target: r, rel: o }) => /* @__PURE__ */ f(
10389
+ return /* @__PURE__ */ f("div", { className: D("flex flex-row items-center", r, t), children: e });
10390
+ }, Mg = ({ children: e, className: t, href: n, target: r, rel: o }) => /* @__PURE__ */ f(
10377
10391
  "a",
10378
10392
  {
10379
10393
  href: n,
@@ -10382,16 +10396,16 @@ const Fi = {
10382
10396
  className: t,
10383
10397
  children: e
10384
10398
  }
10385
- ), Mg = ({ title: e, children: t, className: n }) => /* @__PURE__ */ O(mt, { className: z("overflow-hidden p-0 gap-0 shadow-sm", n), children: [
10399
+ ), Og = ({ title: e, children: t, className: n }) => /* @__PURE__ */ O(mt, { className: D("overflow-hidden p-0 gap-0 shadow-sm", n), children: [
10386
10400
  e ? /* @__PURE__ */ f(ht, { className: "px-6 py-3", children: /* @__PURE__ */ f("h3", { className: "text-xs font-semibold tracking-wider text-muted-foreground", children: String(e) }) }) : null,
10387
10401
  /* @__PURE__ */ f("div", { className: "flex flex-col gap-0 divide-y divide-border", children: t })
10388
- ] }), Og = ({ icon: e, label: t, description: n, onClick: r, className: o }) => {
10402
+ ] }), Lg = ({ icon: e, label: t, description: n, onClick: r, className: o }) => {
10389
10403
  const s = e, a = "size-5", i = s ? Fi[s] : null;
10390
10404
  return /* @__PURE__ */ O(
10391
10405
  "button",
10392
10406
  {
10393
10407
  type: "button",
10394
- className: z("w-full h-auto px-6 py-6 flex items-center gap-2 justify-start cursor-pointer text-left rounded-none transition-colors hover:bg-accent/70", o),
10408
+ className: D("w-full h-auto px-6 py-6 flex items-center gap-2 justify-start cursor-pointer text-left rounded-none transition-colors hover:bg-accent/70", o),
10395
10409
  onClick: r,
10396
10410
  children: [
10397
10411
  i && /* @__PURE__ */ f(i, { className: `${a} shrink-0 text-muted-foreground` }),
@@ -10399,52 +10413,52 @@ const Fi = {
10399
10413
  t ? /* @__PURE__ */ f("p", { className: "font-medium text-sm text-foreground", children: String(t) }) : null,
10400
10414
  n ? /* @__PURE__ */ f("p", { className: "mt-0.5 text-xs text-muted-foreground", children: String(n) }) : null
10401
10415
  ] }),
10402
- /* @__PURE__ */ f(Ao, { className: "mr-1 size-4 shrink-0 text-muted-foreground" })
10416
+ /* @__PURE__ */ f(tr, { className: "mr-1 size-4 shrink-0 text-muted-foreground" })
10403
10417
  ]
10404
10418
  }
10405
10419
  );
10406
- }, Lg = ({ name: e, size: t, className: n }) => {
10420
+ }, Dg = ({ name: e, size: t, className: n }) => {
10407
10421
  const o = { sm: "size-3", md: "size-5", lg: "size-6" }[t] ?? "size-4", s = e, a = Fi[s], i = s === "sparkles" ? "sparkle-icon" : "";
10408
- return a ? /* @__PURE__ */ f(a, { className: z(o, i, n) }) : /* @__PURE__ */ f("span", { className: z("inline-block", o, i, n), "data-icon": s });
10409
- }, Dg = () => ({
10410
- "ui-card": Qh,
10411
- "ui-card-content": eg,
10412
- "ui-card-header": tg,
10413
- "ui-button": ng,
10414
- "ui-text": Pg,
10415
- "ui-heading": Ag,
10416
- "ui-badge": rg,
10417
- "ui-input": og,
10418
- "ui-textarea": sg,
10419
- "ui-select": ag,
10420
- "ui-select-option": ig,
10421
- "ui-checkbox": cg,
10422
- "ui-switch": lg,
10423
- "ui-label": dg,
10424
- "ui-radio-group": ug,
10425
- "ui-radio-group-item": fg,
10426
- "ui-stack": Tg,
10427
- "ui-inline": _g,
10428
- "ui-separator": pg,
10429
- "ui-tabs": mg,
10430
- "ui-tabs-list": hg,
10431
- "ui-tabs-trigger": gg,
10432
- "ui-tabs-content": vg,
10433
- "ui-scroll-area": bg,
10434
- "ui-avatar": wg,
10435
- "ui-icon": Lg,
10436
- "ui-link": Ig,
10437
- "ui-menu-item": Og,
10438
- "ui-menu": Mg,
10439
- "ui-skeleton": yg,
10440
- "ui-tooltip": xg,
10441
- "ui-progress": Sg,
10442
- "ui-alert": kg,
10443
- "ui-collapsible": Eg,
10444
- "ui-collapsible-trigger": Rg,
10445
- "ui-collapsible-content": Ng
10446
- }), bo = "/api/ecommerce", Bi = async (e, t) => {
10447
- const n = t ? `${t.replace(/\/$/, "")}${bo}` : bo, r = await fetch(n, {
10422
+ return a ? /* @__PURE__ */ f(a, { className: D(o, i, n) }) : /* @__PURE__ */ f("span", { className: D("inline-block", o, i, n), "data-icon": s });
10423
+ }, zg = () => ({
10424
+ "ui-card": eg,
10425
+ "ui-card-content": tg,
10426
+ "ui-card-header": ng,
10427
+ "ui-button": rg,
10428
+ "ui-text": Ag,
10429
+ "ui-heading": Tg,
10430
+ "ui-badge": og,
10431
+ "ui-input": sg,
10432
+ "ui-textarea": ag,
10433
+ "ui-select": ig,
10434
+ "ui-select-option": cg,
10435
+ "ui-checkbox": lg,
10436
+ "ui-switch": dg,
10437
+ "ui-label": ug,
10438
+ "ui-radio-group": fg,
10439
+ "ui-radio-group-item": pg,
10440
+ "ui-stack": _g,
10441
+ "ui-inline": Ig,
10442
+ "ui-separator": mg,
10443
+ "ui-tabs": hg,
10444
+ "ui-tabs-list": gg,
10445
+ "ui-tabs-trigger": vg,
10446
+ "ui-tabs-content": bg,
10447
+ "ui-scroll-area": wg,
10448
+ "ui-avatar": yg,
10449
+ "ui-icon": Dg,
10450
+ "ui-link": Mg,
10451
+ "ui-menu-item": Lg,
10452
+ "ui-menu": Og,
10453
+ "ui-skeleton": xg,
10454
+ "ui-tooltip": Sg,
10455
+ "ui-progress": Cg,
10456
+ "ui-alert": Eg,
10457
+ "ui-collapsible": Rg,
10458
+ "ui-collapsible-trigger": Ng,
10459
+ "ui-collapsible-content": Pg
10460
+ }), wo = "/api/ecommerce", Bi = async (e, t) => {
10461
+ const n = t ? `${t.replace(/\/$/, "")}${wo}` : wo, r = await fetch(n, {
10448
10462
  method: "POST",
10449
10463
  headers: { "Content-Type": "application/json" },
10450
10464
  body: JSON.stringify(e)
@@ -10452,15 +10466,15 @@ const Fi = {
10452
10466
  if (!r.ok)
10453
10467
  throw new Error(o.error || "API request failed");
10454
10468
  return o.data;
10455
- }, zg = ({ className: e }) => /* @__PURE__ */ O("svg", { width: "100%", height: "100%", viewBox: "0 0 190 190", version: "1.1", className: e, children: [
10469
+ }, $g = ({ className: e }) => /* @__PURE__ */ O("svg", { width: "100%", height: "100%", viewBox: "0 0 190 190", version: "1.1", className: e, children: [
10456
10470
  /* @__PURE__ */ f("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ f("path", { d: "M344.73,67.03C344.73,30.01 314.72,0 277.7,0C240.68,0 210.67,30.01 210.67,67.03L255.36,67.03C255.36,54.69 265.36,44.69 277.7,44.69C290.04,44.69 300.05,54.69 300.05,67.03L344.73,67.03Z", fill: "rgb(15,13,25)" }) }),
10457
10471
  /* @__PURE__ */ f("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ f("path", { d: "M300.04,67.03C300.04,54.69 290.05,44.69 277.7,44.69C265.35,44.69 255.36,54.69 255.36,67.03L300.04,67.03Z", fill: "rgb(232,218,234)" }) }),
10458
10472
  /* @__PURE__ */ f("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ f("path", { d: "M166,67.03C166,104.05 196.01,134.06 233.03,134.06C270.05,134.06 300.06,104.05 300.06,67.03L255.37,67.03C255.37,79.37 245.37,89.37 233.03,89.37C220.69,89.37 210.69,79.37 210.69,67.03L166,67.03Z", fill: "rgb(15,13,25)" }) }),
10459
10473
  /* @__PURE__ */ f("g", { transform: "matrix(1,0,0,1,-160.365,27.97)", children: /* @__PURE__ */ f("path", { d: "M210.68,67.03C210.68,79.37 220.68,89.37 233.03,89.37C245.38,89.37 255.37,79.37 255.37,67.03L210.68,67.03Z", fill: "rgb(252,248,161)" }) })
10460
- ] }), wo = "stackable-dev-badge-styles", $g = () => {
10461
- if (typeof document > "u" || document.getElementById(wo)) return;
10474
+ ] }), yo = "stackable-dev-badge-styles", Fg = () => {
10475
+ if (typeof document > "u" || document.getElementById(yo)) return;
10462
10476
  const e = document.createElement("style");
10463
- e.id = wo, e.textContent = `
10477
+ e.id = yo, e.textContent = `
10464
10478
  @keyframes stackable-icon-wiggle {
10465
10479
  0% { transform: rotate(0deg); }
10466
10480
  70% { transform: rotate(200deg); }
@@ -10468,14 +10482,14 @@ const Fi = {
10468
10482
  100% { transform: rotate(180deg); }
10469
10483
  }
10470
10484
  `, document.head.appendChild(e);
10471
- }, Fg = ({ className: e = "", extensions: t = [] }) => {
10485
+ }, Hg = ({ className: e = "", extensions: t = [] }) => {
10472
10486
  const [n, r] = oe([]), [o, s] = oe(!1), [a, i] = oe(!1), c = Ue(null);
10473
10487
  if (ie(() => {
10474
- $g();
10488
+ Fg();
10475
10489
  }, []), ie(() => {
10476
10490
  if (typeof window > "u") return;
10477
10491
  const u = () => {
10478
- const m = Eo(window.location.search);
10492
+ const m = Ro(window.location.search);
10479
10493
  r(m);
10480
10494
  };
10481
10495
  u();
@@ -10599,7 +10613,7 @@ const Fi = {
10599
10613
  display: "inline-flex",
10600
10614
  animation: a && !o ? "stackable-icon-wiggle 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both" : "none"
10601
10615
  },
10602
- children: /* @__PURE__ */ f(zg, { className: "w-6 h-6" })
10616
+ children: /* @__PURE__ */ f($g, { className: "w-6 h-6" })
10603
10617
  }
10604
10618
  ),
10605
10619
  /* @__PURE__ */ f("span", { children: "Dev Mode" }),
@@ -10642,7 +10656,7 @@ const Fi = {
10642
10656
  ]
10643
10657
  }
10644
10658
  );
10645
- }, $t = (e, t) => e ? `${e.replace(/\/$/, "")}${t}` : t, er = (e) => e.startsWith("http") && !e.endsWith(".js"), Hg = async (e, t, n) => {
10659
+ }, $t = (e, t) => e ? `${e.replace(/\/$/, "")}${t}` : t, er = (e) => e.startsWith("http") && !e.endsWith(".js"), Bg = async (e, t, n) => {
10646
10660
  const r = /* @__PURE__ */ new Map();
10647
10661
  return await Promise.all(
10648
10662
  e.filter((o) => o.manifest.permissions.includes("data:fetch")).map(async (o) => {
@@ -10658,7 +10672,7 @@ const Fi = {
10658
10672
  console.warn(`[embeddables] Failed to obtain proxy token for extension ${o.id} (${i.status}) — data.fetch calls will be unavailable for this extension`);
10659
10673
  })
10660
10674
  ), r;
10661
- }, Bg = (e) => typeof e == "object" && e !== null && e.encrypted === !0 && Array.isArray(e.data), Qg = ({
10675
+ }, Wg = (e) => typeof e == "object" && e !== null && e.encrypted === !0 && Array.isArray(e.data), ev = ({
10662
10676
  instanceId: e,
10663
10677
  apiBase: t,
10664
10678
  hostBase: n,
@@ -10685,7 +10699,7 @@ const Fi = {
10685
10699
  console.warn(`[ExtensionSetup] Instance not found or failed to load: ${h}`), c([]), m(!0);
10686
10700
  return;
10687
10701
  }
10688
- const b = await g.json(), y = Eo(typeof window < "u" ? window.location.search : ""), x = fc(b, y), S = await Hg(x, t, r);
10702
+ const b = await g.json(), y = Ro(typeof window < "u" ? window.location.search : ""), x = fc(b, y), S = await Bg(x, t, r);
10689
10703
  c(x), u(new Map(S));
10690
10704
  } catch (g) {
10691
10705
  console.error("Failed to load extensions:", g);
@@ -10730,7 +10744,7 @@ const Fi = {
10730
10744
  };
10731
10745
  return window.addEventListener("message", w), () => window.removeEventListener("message", w);
10732
10746
  }, [i, l]);
10733
- const v = xo(
10747
+ const v = So(
10734
10748
  () => ({
10735
10749
  "data.query": async (w) => (
10736
10750
  // TODO: verify payload
@@ -10746,7 +10760,7 @@ const Fi = {
10746
10760
  error: "data.fetch: proxy token unavailable — ensure the extension has data:fetch permission and allowedDomains configured"
10747
10761
  }
10748
10762
  };
10749
- const b = Bg(h) ? h : {
10763
+ const b = Wg(h) ? h : {
10750
10764
  url: h.url,
10751
10765
  method: h.method ?? "GET",
10752
10766
  headers: h.headers ?? {},
@@ -10786,10 +10800,10 @@ const Fi = {
10786
10800
  [t, r, n, s, a, l]
10787
10801
  );
10788
10802
  return p ? /* @__PURE__ */ O(Ce, { children: [
10789
- /* @__PURE__ */ f(ac, { extensions: i, capabilityHandlers: v, components: Dg(), children: o }),
10790
- /* @__PURE__ */ f(Fg, { extensions: i })
10803
+ /* @__PURE__ */ f(ac, { extensions: i, capabilityHandlers: v, components: zg(), children: o }),
10804
+ /* @__PURE__ */ f(Hg, { extensions: i })
10791
10805
  ] }) : null;
10792
- }, Wg = { dark: "dark", light: "widget-theme-light" }, Wi = ({ children: e, theme: t = "inherit" }) => /* @__PURE__ */ f("div", { "data-id": "widget-body", className: Wg[t], children: /* @__PURE__ */ f("div", { className: "h-[700px] w-[900px] overflow-hidden rounded-md ring ring-zinc-200 dark:ring-zinc-300", children: /* @__PURE__ */ f("div", { className: "flex h-full w-full flex-col overflow-hidden rounded-md bg-muted dark:bg-background text-foreground", children: e }) }) }), Vi = ({ onClick: e, icon: t = wc }) => /* @__PURE__ */ f("div", { className: "fixed bottom-8 right-8 z-50", children: /* @__PURE__ */ f(
10806
+ }, Vg = { dark: "dark", light: "widget-theme-light" }, Wi = ({ children: e, theme: t = "inherit" }) => /* @__PURE__ */ f("div", { "data-id": "widget-body", className: Vg[t], children: /* @__PURE__ */ f("div", { className: "h-[700px] w-[900px] overflow-hidden rounded-md ring ring-zinc-200 dark:ring-zinc-300", children: /* @__PURE__ */ f("div", { className: "flex h-full w-full flex-col overflow-hidden rounded-md bg-muted dark:bg-background text-foreground", children: e }) }) }), Vi = ({ onClick: e, icon: t = wc }) => /* @__PURE__ */ f("div", { className: "fixed bottom-8 right-8 z-50", children: /* @__PURE__ */ f(
10793
10807
  $i,
10794
10808
  {
10795
10809
  className: "h-12 w-12 rounded-full",
@@ -10797,18 +10811,18 @@ const Fi = {
10797
10811
  onClick: e,
10798
10812
  children: /* @__PURE__ */ f(t, { className: "h-6 w-6" })
10799
10813
  }
10800
- ) }), ev = ({ children: e, icon: t, theme: n }) => {
10814
+ ) }), tv = ({ children: e, icon: t, theme: n }) => {
10801
10815
  const [r, o] = oe(!1);
10802
10816
  return /* @__PURE__ */ O(Ce, { children: [
10803
10817
  /* @__PURE__ */ f(Vi, { onClick: () => {
10804
10818
  o(!r);
10805
10819
  }, icon: t }),
10806
- r && /* @__PURE__ */ f("div", { "data-id": "widget-container", className: "overflow-hidden fixed bottom-24 right-8 z-1000 rounded-md shadow-xl", children: /* @__PURE__ */ f(Wi, { theme: n, children: e }) })
10820
+ r && /* @__PURE__ */ f("div", { "data-id": "widget-container", className: "overflow-hidden fixed bottom-24 right-8 z-1000 rounded-md shadow-xl", style: { "--widget-z": 1e3 }, children: /* @__PURE__ */ f(Wi, { theme: n, children: e }) })
10807
10821
  ] });
10808
- }, tv = {
10822
+ }, nv = {
10809
10823
  Body: Wi,
10810
10824
  Launcher: Vi
10811
- }, Vg = ({ href: e, children: t }) => /* @__PURE__ */ f(
10825
+ }, Ug = ({ href: e, children: t }) => /* @__PURE__ */ f(
10812
10826
  "a",
10813
10827
  {
10814
10828
  href: e,
@@ -10817,7 +10831,7 @@ const Fi = {
10817
10831
  className: "text-zinc-500 opacity-80 transition-colors hover:text-zinc-900 hover:opacity-100",
10818
10832
  children: t
10819
10833
  }
10820
- ), Ug = (e, t) => {
10834
+ ), jg = (e, t) => {
10821
10835
  const [n, r] = oe(null), [o, s] = oe(!1), [a, i] = oe(null);
10822
10836
  return ie(() => {
10823
10837
  if (!e) {
@@ -10839,9 +10853,9 @@ const Fi = {
10839
10853
  }
10840
10854
  })();
10841
10855
  }, [e, t]), { customer: n, loading: o, error: a };
10842
- }, jg = ({ customerId: e, customerEmail: t, hostBase: n, children: r }) => {
10856
+ }, Gg = ({ customerId: e, customerEmail: t, hostBase: n, children: r }) => {
10843
10857
  var c, l;
10844
- const { customer: o, loading: s, error: a } = Ug(e, n);
10858
+ const { customer: o, loading: s, error: a } = jg(e, n);
10845
10859
  if (s)
10846
10860
  return /* @__PURE__ */ f(mt, { className: "border-none shadow-none bg-transparent", children: /* @__PURE__ */ f(ht, { className: "flex items-center justify-center p-6", children: /* @__PURE__ */ f(_o, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) });
10847
10861
  if (a || !o) {
@@ -10911,7 +10925,7 @@ const Fi = {
10911
10925
  o.disconnect(), r == null || r.remove();
10912
10926
  };
10913
10927
  }, [e, t]);
10914
- }, Gg = ({ customization: e }) => {
10928
+ }, qg = ({ customization: e }) => {
10915
10929
  const t = Ue(null);
10916
10930
  return Ui("widget_conversations", t), ie(() => {
10917
10931
  !window.zE || !t.current || e && window.zE("messenger:set", "customization", {
@@ -10924,7 +10938,7 @@ const Fi = {
10924
10938
  className: "h-full overflow-hidden"
10925
10939
  }
10926
10940
  );
10927
- }, qg = ({ customization: e }) => {
10941
+ }, Kg = ({ customization: e }) => {
10928
10942
  const t = Ue(null);
10929
10943
  return Ui("widget_messages", t), ie(() => {
10930
10944
  !window.zE || !t.current || e && window.zE("messenger:set", "customization", {
@@ -10937,7 +10951,7 @@ const Fi = {
10937
10951
  className: "h-full overflow-hidden"
10938
10952
  }
10939
10953
  );
10940
- }, Mn = 25, On = 75, nv = ({
10954
+ }, Mn = 25, On = 75, rv = ({
10941
10955
  header: e,
10942
10956
  buttons: t,
10943
10957
  hostBase: n,
@@ -10984,11 +10998,11 @@ const Fi = {
10984
10998
  if (!b.current) return;
10985
10999
  const N = b.current.getBoundingClientRect();
10986
11000
  if ((p ? N.width : N.height) === 0) return;
10987
- const _ = p ? (k.clientX - N.left) / N.width * 100 : (k.clientY - N.top) / N.height * 100, D = Math.max(
11001
+ const _ = p ? (k.clientX - N.left) / N.width * 100 : (k.clientY - N.top) / N.height * 100, z = Math.max(
10988
11002
  Mn,
10989
11003
  Math.min(On, _)
10990
11004
  );
10991
- u(D);
11005
+ u(z);
10992
11006
  }, C = () => {
10993
11007
  g(!1), document.body.style.cursor = "", document.body.style.userSelect = "";
10994
11008
  };
@@ -11037,7 +11051,7 @@ const Fi = {
11037
11051
  "button",
11038
11052
  {
11039
11053
  onClick: () => c("account"),
11040
- className: z(
11054
+ className: D(
11041
11055
  // eslint-disable-next-line @stylistic/max-len
11042
11056
  "rounded-md border border-transparent p-1.5 transition-colors hover:cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-ring/40",
11043
11057
  i === "account" ? "border-border bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
@@ -11050,7 +11064,7 @@ const Fi = {
11050
11064
  "button",
11051
11065
  {
11052
11066
  onClick: () => c("conversations"),
11053
- className: z(
11067
+ className: D(
11054
11068
  // eslint-disable-next-line @stylistic/max-len
11055
11069
  "rounded-md border border-transparent p-1.5 transition-colors hover:cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-ring/40",
11056
11070
  i === "conversations" ? "border-border bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
@@ -11063,8 +11077,8 @@ const Fi = {
11063
11077
  ] })
11064
11078
  ] }),
11065
11079
  /* @__PURE__ */ O("div", { className: "flex-1 overflow-y-auto p-4 relative", children: [
11066
- /* @__PURE__ */ O("div", { className: z("flex flex-col gap-2", i === "conversations" && "hidden"), children: [
11067
- /* @__PURE__ */ f(jg, { customerId: r, customerEmail: o, hostBase: n, children: /* @__PURE__ */ f(
11080
+ /* @__PURE__ */ O("div", { className: D("flex flex-col gap-2", i === "conversations" && "hidden"), children: [
11081
+ /* @__PURE__ */ f(Gg, { customerId: r, customerEmail: o, hostBase: n, children: /* @__PURE__ */ f(
11068
11082
  kt,
11069
11083
  {
11070
11084
  target: "slot.header",
@@ -11081,10 +11095,10 @@ const Fi = {
11081
11095
  }
11082
11096
  )
11083
11097
  ] }),
11084
- /* @__PURE__ */ f("div", { className: z(
11098
+ /* @__PURE__ */ f("div", { className: D(
11085
11099
  "h-full rounded-xl border border-zinc-200 bg-white p-2 shadow-sm dark:border-zinc-300",
11086
11100
  i === "account" && "hidden"
11087
- ), children: /* @__PURE__ */ f(Gg, {}) })
11101
+ ), children: /* @__PURE__ */ f(qg, {}) })
11088
11102
  ] })
11089
11103
  ]
11090
11104
  }
@@ -11096,7 +11110,7 @@ const Fi = {
11096
11110
  className: "min-h-0 min-w-0 flex-none flex flex-col bg-white",
11097
11111
  style: { flexBasis: `${100 - l}%` },
11098
11112
  children: [
11099
- /* @__PURE__ */ f("div", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ f(qg, {}) }),
11113
+ /* @__PURE__ */ f("div", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ f(Kg, {}) }),
11100
11114
  /* @__PURE__ */ O("div", { className: "flex flex-wrap items-center justify-end gap-1 py-1 mr-4 text-xs text-zinc-500", children: [
11101
11115
  /* @__PURE__ */ f(
11102
11116
  kt,
@@ -11106,7 +11120,7 @@ const Fi = {
11106
11120
  className: "flex items-center gap-1",
11107
11121
  fallback: /* @__PURE__ */ O(Ce, { children: [
11108
11122
  /* @__PURE__ */ f("div", { children: "powered by" }),
11109
- /* @__PURE__ */ f(Vg, { href: "https://zendesk.com", children: "Zendesk" })
11123
+ /* @__PURE__ */ f(Ug, { href: "https://zendesk.com", children: "Zendesk" })
11110
11124
  ] })
11111
11125
  }
11112
11126
  ),
@@ -11130,7 +11144,7 @@ const Fi = {
11130
11144
  /* @__PURE__ */ f(
11131
11145
  "div",
11132
11146
  {
11133
- className: z(
11147
+ className: D(
11134
11148
  "group/resize absolute z-20 flex items-center justify-center",
11135
11149
  p ? "top-0 bottom-0 w-3 -ml-2.5 cursor-col-resize" : "w-full h-3 -mt-2.5 cursor-row-resize"
11136
11150
  ),
@@ -11145,7 +11159,7 @@ const Fi = {
11145
11159
  children: /* @__PURE__ */ f(
11146
11160
  "div",
11147
11161
  {
11148
- className: z(
11162
+ className: D(
11149
11163
  "rounded-full bg-foreground/35 dark:bg-white shadow-[0_0_0_1px_rgba(255,255,255,0.16),0_0_0_1px_rgba(0,0,0,0.22)] transition-all",
11150
11164
  p ? "h-20 w-0.5" : "h-0.5 w-20",
11151
11165
  h ? "bg-foreground/70 dark:bg-white opacity-100" : "opacity-70 group-hover/resize:bg-foreground/55 dark:group-hover/resize:bg-white group-hover/resize:opacity-100"
@@ -11157,37 +11171,37 @@ const Fi = {
11157
11171
  h && /* @__PURE__ */ f(
11158
11172
  "div",
11159
11173
  {
11160
- className: z("absolute inset-0 z-40", p ? "cursor-col-resize" : "cursor-row-resize"),
11174
+ className: D("absolute inset-0 z-40", p ? "cursor-col-resize" : "cursor-row-resize"),
11161
11175
  onMouseUp: () => g(!1)
11162
11176
  }
11163
11177
  )
11164
11178
  ] })
11165
11179
  ] });
11166
- }, Kg = "ze-snippet", yo = (e) => `https://static.zdassets.com/ekr/snippet.js?key=${encodeURIComponent(e)}`, Yg = (e, t = {}) => {
11180
+ }, Yg = "ze-snippet", xo = (e) => `https://static.zdassets.com/ekr/snippet.js?key=${encodeURIComponent(e)}`, Xg = (e, t = {}) => {
11167
11181
  if (typeof window > "u" || typeof document > "u" || !e)
11168
11182
  return Promise.resolve();
11169
- const { autorender: n = !1, scriptId: r = Kg } = t;
11183
+ const { autorender: n = !1, scriptId: r = Yg } = t;
11170
11184
  window.zEMessenger = { autorender: n };
11171
11185
  const o = document.getElementById(r);
11172
11186
  if (o) {
11173
- if (o.getAttribute("src") === yo(e))
11187
+ if (o.getAttribute("src") === xo(e))
11174
11188
  return Promise.resolve();
11175
11189
  o.remove();
11176
11190
  }
11177
11191
  return new Promise((s, a) => {
11178
11192
  const i = document.createElement("script");
11179
- i.id = r, i.src = yo(e), i.async = !0, i.onload = () => s(), i.onerror = () => a(new Error("Failed to load Zendesk snippet")), document.head.appendChild(i);
11193
+ i.id = r, i.src = xo(e), i.async = !0, i.onload = () => s(), i.onerror = () => a(new Error("Failed to load Zendesk snippet")), document.head.appendChild(i);
11180
11194
  });
11181
- }, rv = ({ config: e }) => (ie(() => {
11182
- e.snippetKey && Yg(e.snippetKey, { autorender: e.autorender }).catch((t) => {
11195
+ }, ov = ({ config: e }) => (ie(() => {
11196
+ e.snippetKey && Xg(e.snippetKey, { autorender: e.autorender }).catch((t) => {
11183
11197
  console.error("Failed to initialize Zendesk snippet:", t);
11184
11198
  });
11185
11199
  }, [e.autorender, e.snippetKey]), null);
11186
11200
  export {
11187
- Qg as ExtensionSetup,
11188
- tv as Widget,
11189
- ev as WidgetComponent,
11190
- nv as ZendeskMessenger,
11191
- rv as ZendeskScript,
11192
- Yg as loadZendeskSnippet
11201
+ ev as ExtensionSetup,
11202
+ nv as Widget,
11203
+ tv as WidgetComponent,
11204
+ rv as ZendeskMessenger,
11205
+ ov as ZendeskScript,
11206
+ Xg as loadZendeskSnippet
11193
11207
  };