import { jsx as S, jsxs as ae } from "react/jsx-runtime";
import * as B from "@radix-ui/react-dialog";
import * as a from "react";
import { useCallback as ve } from "react";
import { Primitive as M } from "@radix-ui/react-primitive";
import { useId as K } from "@radix-ui/react-id";
import { composeRefs as O } from "@radix-ui/react-compose-refs";
import { ALWAYS_ALLOWED_KEYS as Ae, NUMERIC_CHAR_PATTERN as ge } from "./components/command/constants/index.js";
import { Dialog as Me, DialogHeader as De, DialogTitle as Ne, DialogDescription as $e, DialogContent as Pe } from "./components/dialog/DialogPrimitive.js";
import Le from "./components/icon/Icon.js";
import { c as I } from "./index-BtlgVD4m.js";
var he = 1, je = 0.9, ze = 0.8, Ke = 0.17, te = 0.1, re = 0.999, _e = 0.9999, Fe = 0.99, Oe = /[\\\/_+.#"@\[\(\{&]/, Te = /[\\\/_+.#"@\[\(\{&]/g, Ve = /[\s-]/, xe = /[\s-]/g;
function le(e, n, r, s, i, u, d) {
  if (u === n.length) return i === e.length ? he : Fe;
  var p = `${i},${u}`;
  if (d[p] !== void 0) return d[p];
  for (var b = s.charAt(u), l = r.indexOf(b, i), m = 0, v, w, x, R; l >= 0; ) v = le(e, n, r, s, l + 1, u + 1, d), v > m && (l === i ? v *= he : Oe.test(e.charAt(l - 1)) ? (v *= ze, x = e.slice(i, l - 1).match(Te), x && i > 0 && (v *= Math.pow(re, x.length))) : Ve.test(e.charAt(l - 1)) ? (v *= je, R = e.slice(i, l - 1).match(xe), R && i > 0 && (v *= Math.pow(re, R.length))) : (v *= Ke, i > 0 && (v *= Math.pow(re, l - i))), e.charAt(l) !== n.charAt(u) && (v *= _e)), (v < te && r.charAt(l - 1) === s.charAt(u + 1) || s.charAt(u + 1) === s.charAt(u) && r.charAt(l - 1) !== s.charAt(u)) && (w = le(e, n, r, s, l + 1, u + 2, d), w * te > v && (v = w * te)), v > m && (m = v), l = r.indexOf(b, l + 1);
  return d[p] = m, m;
}
function be(e) {
  return e.toLowerCase().replace(xe, " ");
}
function qe(e, n, r) {
  return e = r && r.length > 0 ? `${e + " " + r.join(" ")}` : e, le(e, n, be(e), be(n), 0, 0, {});
}
var F = '[cmdk-group=""]', ne = '[cmdk-group-items=""]', Be = '[cmdk-group-heading=""]', we = '[cmdk-item=""]', ye = `${we}:not([aria-disabled="true"])`, oe = "cmdk-item-select", j = "data-value", Ue = (e, n, r) => qe(e, n, r), ke = a.createContext(void 0), T = () => a.useContext(ke), Ee = a.createContext(void 0), ie = () => a.useContext(Ee), Ce = a.createContext(void 0), Se = a.forwardRef((e, n) => {
  let r = z(() => {
    var t, c;
    return { search: "", value: (c = (t = e.value) != null ? t : e.defaultValue) != null ? c : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
  }), s = z(() => /* @__PURE__ */ new Set()), i = z(() => /* @__PURE__ */ new Map()), u = z(() => /* @__PURE__ */ new Map()), d = z(() => /* @__PURE__ */ new Set()), p = Ie(e), { label: b, children: l, value: m, onValueChange: v, filter: w, shouldFilter: x, loop: R, disablePointerSelection: H = !1, vimBindings: N = !0, ...V } = e, W = K(), ue = K(), G = K(), $ = a.useRef(null), y = rt();
  P(() => {
    if (m !== void 0) {
      let t = m.trim();
      r.current.value = t, E.emit();
    }
  }, [m]), P(() => {
    y(6, se);
  }, []);
  let E = a.useMemo(() => ({ subscribe: (t) => (d.current.add(t), () => d.current.delete(t)), snapshot: () => r.current, setState: (t, c, f) => {
    var o, g, h, C;
    if (!Object.is(r.current[t], c)) {
      if (r.current[t] = c, t === "search") Q(), J(), y(1, X);
      else if (t === "value") {
        if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
          let k = document.getElementById(G);
          k ? k.focus() : (o = document.getElementById(W)) == null || o.focus();
        }
        if (y(7, () => {
          var k;
          r.current.selectedItemId = (k = L()) == null ? void 0 : k.id, E.emit();
        }), f || y(5, se), ((g = p.current) == null ? void 0 : g.value) !== void 0) {
          let k = c ?? "";
          (C = (h = p.current).onValueChange) == null || C.call(h, k);
          return;
        }
      }
      E.emit();
    }
  }, emit: () => {
    d.current.forEach((t) => t());
  } }), []), Y = a.useMemo(() => ({ value: (t, c, f) => {
    var o;
    c !== ((o = u.current.get(t)) == null ? void 0 : o.value) && (u.current.set(t, { value: c, keywords: f }), r.current.filtered.items.set(t, ce(c, f)), y(2, () => {
      J(), E.emit();
    }));
  }, item: (t, c) => (s.current.add(t), c && (i.current.has(c) ? i.current.get(c).add(t) : i.current.set(c, /* @__PURE__ */ new Set([t]))), y(3, () => {
    Q(), J(), r.current.value || X(), E.emit();
  }), () => {
    u.current.delete(t), s.current.delete(t), r.current.filtered.items.delete(t);
    let f = L();
    y(4, () => {
      Q(), (f == null ? void 0 : f.getAttribute("id")) === t && X(), E.emit();
    });
  }), group: (t) => (i.current.has(t) || i.current.set(t, /* @__PURE__ */ new Set()), () => {
    u.current.delete(t), i.current.delete(t);
  }), filter: () => p.current.shouldFilter, label: b || e["aria-label"], getDisablePointerSelection: () => p.current.disablePointerSelection, listId: W, inputId: G, labelId: ue, listInnerRef: $ }), []);
  function ce(t, c) {
    var f, o;
    let g = (o = (f = p.current) == null ? void 0 : f.filter) != null ? o : Ue;
    return t ? g(t, r.current.search, c) : 0;
  }
  function J() {
    if (!r.current.search || p.current.shouldFilter === !1) return;
    let t = r.current.filtered.items, c = [];
    r.current.filtered.groups.forEach((o) => {
      let g = i.current.get(o), h = 0;
      g.forEach((C) => {
        let k = t.get(C);
        h = Math.max(k, h);
      }), c.push([o, h]);
    });
    let f = $.current;
    _().sort((o, g) => {
      var h, C;
      let k = o.getAttribute("id"), q = g.getAttribute("id");
      return ((h = t.get(q)) != null ? h : 0) - ((C = t.get(k)) != null ? C : 0);
    }).forEach((o) => {
      let g = o.closest(ne);
      g ? g.appendChild(o.parentElement === g ? o : o.closest(`${ne} > *`)) : f.appendChild(o.parentElement === f ? o : o.closest(`${ne} > *`));
    }), c.sort((o, g) => g[1] - o[1]).forEach((o) => {
      var g;
      let h = (g = $.current) == null ? void 0 : g.querySelector(`${F}[${j}="${encodeURIComponent(o[0])}"]`);
      h == null || h.parentElement.appendChild(h);
    });
  }
  function X() {
    let t = _().find((f) => f.getAttribute("aria-disabled") !== "true"), c = t == null ? void 0 : t.getAttribute(j);
    E.setState("value", c || void 0);
  }
  function Q() {
    var t, c, f, o;
    if (!r.current.search || p.current.shouldFilter === !1) {
      r.current.filtered.count = s.current.size;
      return;
    }
    r.current.filtered.groups = /* @__PURE__ */ new Set();
    let g = 0;
    for (let h of s.current) {
      let C = (c = (t = u.current.get(h)) == null ? void 0 : t.value) != null ? c : "", k = (o = (f = u.current.get(h)) == null ? void 0 : f.keywords) != null ? o : [], q = ce(C, k);
      r.current.filtered.items.set(h, q), q > 0 && g++;
    }
    for (let [h, C] of i.current) for (let k of C) if (r.current.filtered.items.get(k) > 0) {
      r.current.filtered.groups.add(h);
      break;
    }
    r.current.filtered.count = g;
  }
  function se() {
    var t, c, f;
    let o = L();
    o && (((t = o.parentElement) == null ? void 0 : t.firstChild) === o && ((f = (c = o.closest(F)) == null ? void 0 : c.querySelector(Be)) == null || f.scrollIntoView({ block: "nearest" })), o.scrollIntoView({ block: "nearest" }));
  }
  function L() {
    var t;
    return (t = $.current) == null ? void 0 : t.querySelector(`${we}[aria-selected="true"]`);
  }
  function _() {
    var t;
    return Array.from(((t = $.current) == null ? void 0 : t.querySelectorAll(ye)) || []);
  }
  function Z(t) {
    let c = _()[t];
    c && E.setState("value", c.getAttribute(j));
  }
  function ee(t) {
    var c;
    let f = L(), o = _(), g = o.findIndex((C) => C === f), h = o[g + t];
    (c = p.current) != null && c.loop && (h = g + t < 0 ? o[o.length - 1] : g + t === o.length ? o[0] : o[g + t]), h && E.setState("value", h.getAttribute(j));
  }
  function de(t) {
    let c = L(), f = c == null ? void 0 : c.closest(F), o;
    for (; f && !o; ) f = t > 0 ? et(f, F) : tt(f, F), o = f == null ? void 0 : f.querySelector(ye);
    o ? E.setState("value", o.getAttribute(j)) : ee(t);
  }
  let me = () => Z(_().length - 1), fe = (t) => {
    t.preventDefault(), t.metaKey ? me() : t.altKey ? de(1) : ee(1);
  }, pe = (t) => {
    t.preventDefault(), t.metaKey ? Z(0) : t.altKey ? de(-1) : ee(-1);
  };
  return a.createElement(M.div, { ref: n, tabIndex: -1, ...V, "cmdk-root": "", onKeyDown: (t) => {
    var c;
    (c = V.onKeyDown) == null || c.call(V, t);
    let f = t.nativeEvent.isComposing || t.keyCode === 229;
    if (!(t.defaultPrevented || f)) switch (t.key) {
      case "n":
      case "j": {
        N && t.ctrlKey && fe(t);
        break;
      }
      case "ArrowDown": {
        fe(t);
        break;
      }
      case "p":
      case "k": {
        N && t.ctrlKey && pe(t);
        break;
      }
      case "ArrowUp": {
        pe(t);
        break;
      }
      case "Home": {
        t.preventDefault(), Z(0);
        break;
      }
      case "End": {
        t.preventDefault(), me();
        break;
      }
      case "Enter": {
        t.preventDefault();
        let o = L();
        if (o) {
          let g = new Event(oe);
          o.dispatchEvent(g);
        }
      }
    }
  } }, a.createElement("label", { "cmdk-label": "", htmlFor: Y.inputId, id: Y.labelId, style: at }, b), U(e, (t) => a.createElement(Ee.Provider, { value: E }, a.createElement(ke.Provider, { value: Y }, t))));
}), He = a.forwardRef((e, n) => {
  var r, s;
  let i = K(), u = a.useRef(null), d = a.useContext(Ce), p = T(), b = Ie(e), l = (s = (r = b.current) == null ? void 0 : r.forceMount) != null ? s : d == null ? void 0 : d.forceMount;
  P(() => {
    if (!l) return p.item(i, d == null ? void 0 : d.id);
  }, [l]);
  let m = Re(i, u, [e.value, e.children, u], e.keywords), v = ie(), w = A((y) => y.value && y.value === m.current), x = A((y) => l || p.filter() === !1 ? !0 : y.search ? y.filtered.items.get(i) > 0 : !0);
  a.useEffect(() => {
    let y = u.current;
    if (!(!y || e.disabled)) return y.addEventListener(oe, R), () => y.removeEventListener(oe, R);
  }, [x, e.onSelect, e.disabled]);
  function R() {
    var y, E;
    H(), (E = (y = b.current).onSelect) == null || E.call(y, m.current);
  }
  function H() {
    v.setState("value", m.current, !0);
  }
  if (!x) return null;
  let { disabled: N, value: V, onSelect: W, forceMount: ue, keywords: G, ...$ } = e;
  return a.createElement(M.div, { ref: O(u, n), ...$, id: i, "cmdk-item": "", role: "option", "aria-disabled": !!N, "aria-selected": !!w, "data-disabled": !!N, "data-selected": !!w, onPointerMove: N || p.getDisablePointerSelection() ? void 0 : H, onClick: N ? void 0 : R }, e.children);
}), We = a.forwardRef((e, n) => {
  let { heading: r, children: s, forceMount: i, ...u } = e, d = K(), p = a.useRef(null), b = a.useRef(null), l = K(), m = T(), v = A((x) => i || m.filter() === !1 ? !0 : x.search ? x.filtered.groups.has(d) : !0);
  P(() => m.group(d), []), Re(d, p, [e.value, e.heading, b]);
  let w = a.useMemo(() => ({ id: d, forceMount: i }), [i]);
  return a.createElement(M.div, { ref: O(p, n), ...u, "cmdk-group": "", role: "presentation", hidden: v ? void 0 : !0 }, r && a.createElement("div", { ref: b, "cmdk-group-heading": "", "aria-hidden": !0, id: l }, r), U(e, (x) => a.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": r ? l : void 0 }, a.createElement(Ce.Provider, { value: w }, x))));
}), Ge = a.forwardRef((e, n) => {
  let { alwaysRender: r, ...s } = e, i = a.useRef(null), u = A((d) => !d.search);
  return !r && !u ? null : a.createElement(M.div, { ref: O(i, n), ...s, "cmdk-separator": "", role: "separator" });
}), Ye = a.forwardRef((e, n) => {
  let { onValueChange: r, ...s } = e, i = e.value != null, u = ie(), d = A((l) => l.search), p = A((l) => l.selectedItemId), b = T();
  return a.useEffect(() => {
    e.value != null && u.setState("search", e.value);
  }, [e.value]), a.createElement(M.input, { ref: n, ...s, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": b.listId, "aria-labelledby": b.labelId, "aria-activedescendant": p, id: b.inputId, type: "text", value: i ? e.value : d, onChange: (l) => {
    i || u.setState("search", l.target.value), r == null || r(l.target.value);
  } });
}), Je = a.forwardRef((e, n) => {
  let { children: r, label: s = "Suggestions", ...i } = e, u = a.useRef(null), d = a.useRef(null), p = A((l) => l.selectedItemId), b = T();
  return a.useEffect(() => {
    if (d.current && u.current) {
      let l = d.current, m = u.current, v, w = new ResizeObserver(() => {
        v = requestAnimationFrame(() => {
          let x = l.offsetHeight;
          m.style.setProperty("--cmdk-list-height", x.toFixed(1) + "px");
        });
      });
      return w.observe(l), () => {
        cancelAnimationFrame(v), w.unobserve(l);
      };
    }
  }, []), a.createElement(M.div, { ref: O(u, n), ...i, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": p, "aria-label": s, id: b.listId }, U(e, (l) => a.createElement("div", { ref: O(d, b.listInnerRef), "cmdk-list-sizer": "" }, l)));
}), Xe = a.forwardRef((e, n) => {
  let { open: r, onOpenChange: s, overlayClassName: i, contentClassName: u, container: d, ...p } = e;
  return a.createElement(B.Root, { open: r, onOpenChange: s }, a.createElement(B.Portal, { container: d }, a.createElement(B.Overlay, { "cmdk-overlay": "", className: i }), a.createElement(B.Content, { "aria-label": e.label, "cmdk-dialog": "", className: u }, a.createElement(Se, { ref: n, ...p }))));
}), Qe = a.forwardRef((e, n) => A((r) => r.filtered.count === 0) ? a.createElement(M.div, { ref: n, ...e, "cmdk-empty": "", role: "presentation" }) : null), Ze = a.forwardRef((e, n) => {
  let { progress: r, children: s, label: i = "Loading...", ...u } = e;
  return a.createElement(M.div, { ref: n, ...u, "cmdk-loading": "", role: "progressbar", "aria-valuenow": r, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": i }, U(e, (d) => a.createElement("div", { "aria-hidden": !0 }, d)));
}), D = Object.assign(Se, { List: Je, Item: He, Input: Ye, Group: We, Separator: Ge, Dialog: Xe, Empty: Qe, Loading: Ze });
function et(e, n) {
  let r = e.nextElementSibling;
  for (; r; ) {
    if (r.matches(n)) return r;
    r = r.nextElementSibling;
  }
}
function tt(e, n) {
  let r = e.previousElementSibling;
  for (; r; ) {
    if (r.matches(n)) return r;
    r = r.previousElementSibling;
  }
}
function Ie(e) {
  let n = a.useRef(e);
  return P(() => {
    n.current = e;
  }), n;
}
var P = typeof window > "u" ? a.useEffect : a.useLayoutEffect;
function z(e) {
  let n = a.useRef();
  return n.current === void 0 && (n.current = e()), n;
}
function A(e) {
  let n = ie(), r = () => e(n.snapshot());
  return a.useSyncExternalStore(n.subscribe, r, r);
}
function Re(e, n, r, s = []) {
  let i = a.useRef(), u = T();
  return P(() => {
    var d;
    let p = (() => {
      var l;
      for (let m of r) {
        if (typeof m == "string") return m.trim();
        if (typeof m == "object" && "current" in m) return m.current ? (l = m.current.textContent) == null ? void 0 : l.trim() : i.current;
      }
    })(), b = s.map((l) => l.trim());
    u.value(e, p, b), (d = n.current) == null || d.setAttribute(j, p), i.current = p;
  }), i;
}
var rt = () => {
  let [e, n] = a.useState(), r = z(() => /* @__PURE__ */ new Map());
  return P(() => {
    r.current.forEach((s) => s()), r.current = /* @__PURE__ */ new Map();
  }, [e]), (s, i) => {
    r.current.set(s, i), n({});
  };
};
function nt(e) {
  let n = e.type;
  return typeof n == "function" ? n(e.props) : "render" in n ? n.render(e.props) : e;
}
function U({ asChild: e, children: n }, r) {
  return e && a.isValidElement(n) ? a.cloneElement(nt(n), { ref: n.ref }, r(n.props.children)) : r(n);
}
var at = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
const lt = ({ className: e, ...n }) => /* @__PURE__ */ S(
  D,
  {
    "data-slot": "command",
    className: I(
      "flex",
      "h-full",
      "w-full",
      "flex-col",
      "bg-[var(--base-popover)]",
      "text-[var(--base-popover-foreground)]",
      "rounded-[var(--border-radius-lg)]",
      "border",
      "border-[var(--base-border)]",
      e
    ),
    ...n
  }
), ot = ({ title: e = "Command Palette", description: n = "Search for a command to run...", children: r, className: s, ...i }) => /* @__PURE__ */ ae(Me, { ...i, children: [
  /* @__PURE__ */ ae(De, { className: "sr-only", children: [
    /* @__PURE__ */ S(Ne, { children: e }),
    /* @__PURE__ */ S($e, { children: n })
  ] }),
  /* @__PURE__ */ S(Pe, { className: I("overflow-hidden p-0", s), hasCloseButton: !1, children: r })
] }), it = ({ className: e, suffix: n, type: r, onKeyDown: s, showFocusBorder: i, disabled: u, ...d }) => {
  const p = ve(
    (l) => {
      if (r === "number") {
        const m = Ae.has(l.key), v = l.ctrlKey || l.metaKey;
        !m && !v && !ge.test(l.key) && l.preventDefault();
      }
      s == null || s(l);
    },
    [r, s]
  ), b = ve(
    (l) => {
      if (r !== "number")
        return;
      const m = l.target;
      !m || m.tagName !== "INPUT" || setTimeout(() => {
        const v = m.value, w = Array.from(v).filter((x) => ge.test(x)).join("");
        w !== v && (m.value = w);
      }, 0);
    },
    [r]
  );
  return /* @__PURE__ */ ae(
    "div",
    {
      "data-slot": "command-input-wrapper",
      "data-disabled": u || void 0,
      onPaste: b,
      className: I(
        "flex",
        "h-[var(--height-h-10)]",
        "items-center",
        "gap-[var(--spacing-3)]",
        "border-[var(--base-border)]",
        "py-[var(--spacing-2)]",
        // If `end` jsx exist, it will handle its own padding right
        n ? "pl-[var(--spacing-3)]" : "px-[var(--spacing-3)]",
        "bg-[var(--base-background)]",
        i && "border-b border-[var(--base-border)] focus-within:border-b-[var(--base-ring)]",
        u && "cursor-not-allowed",
        e
      ),
      children: [
        /* @__PURE__ */ S(Le, { name: "Search", size: 16, className: "shrink-0 text-[var(--base-muted-foreground)]" }),
        /* @__PURE__ */ S(
          D.Input,
          {
            "data-slot": "command-input",
            className: I(
              "!placeholder:text-[var(--base-muted-foreground)]",
              "flex",
              "w-full",
              "text-[length:var(--typography-typography-components-small-font-size)]",
              "outline-hidden",
              "disabled:cursor-not-allowed",
              "disabled:opacity-[var(--opacity-50)]"
            ),
            onKeyDown: p,
            disabled: u,
            ...d
          }
        ),
        n
      ]
    }
  );
}, ut = ({ className: e, ...n }) => /* @__PURE__ */ S(
  D.List,
  {
    "data-slot": "command-list",
    className: I(
      "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
      // Disable browser scroll anchoring so our manual useLayoutEffect compensation
      // in Command.tsx is the sole mechanism keeping the viewport stable when the
      // "Selected" group changes height. Without this, the browser and our code both
      // adjust scrollTop, causing a double-compensation jump.
      "[overflow-anchor:none]",
      e
    ),
    ...n
  }
), ct = ({ ...e }) => /* @__PURE__ */ S(
  D.Empty,
  {
    "data-slot": "command-empty",
    className: "py-[var(--spacing-6)] text-center text-[length:var(--typography-typography-components-small-font-size)]",
    ...e
  }
), st = ({ className: e, ...n }) => /* @__PURE__ */ S(
  D.Group,
  {
    "data-slot": "command-group",
    className: I(
      "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
      e
    ),
    ...n
  }
), dt = ({ className: e, ...n }) => /* @__PURE__ */ S(D.Separator, { "data-slot": "command-separator", className: I("bg-[var(--base-muted)] h-px", e), ...n }), mt = ({ className: e, ...n }) => /* @__PURE__ */ S(
  D.Item,
  {
    "data-slot": "command-item",
    className: I(
      "data-[selected=true]:bg-[var(--base-accent)]",
      "data-[selected=true]:text-[var(--base-accent-foreground)]",
      "[&_svg:not([class*='text-'])]:text-[var(--base-muted-foreground)]",
      "relative",
      "flex",
      "cursor-default",
      "items-center",
      "gap-[var(--spacing-2)]",
      "rounded-sm",
      "px-[var(--spacing-2)]",
      "py-[var(--spacing-1-5)]",
      "text-[length:var(--typography-typography-components-small-font-size)]",
      "outline-hidden",
      "select-none",
      "data-[disabled=true]:pointer-events-none",
      "data-[disabled=true]:opacity-[var(--opacity-50)]",
      "[&_svg]:pointer-events-none",
      "[&_svg]:shrink-0",
      '[&_svg:not([class*="size-"])]:size-4',
      "hover:bg-[var(--base-accent)]",
      "hover:cursor-pointer",
      e
    ),
    ...n
  }
), ft = ({ className: e, ...n }) => /* @__PURE__ */ S("span", { "data-slot": "command-shortcut", className: I("text-muted-foreground ml-auto text-xs tracking-widest", e), ...n }), pt = ({ ...e }) => /* @__PURE__ */ S(D.Loading, { ...e }), Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  Command: lt,
  CommandDialog: ot,
  CommandEmpty: ct,
  CommandGroup: st,
  CommandInput: it,
  CommandItem: mt,
  CommandList: ut,
  CommandLoading: pt,
  CommandSeparator: dt,
  CommandShortcut: ft
}, Symbol.toStringTag, { value: "Module" }));
export {
  Ct as C,
  ut as a,
  lt as b,
  st as c,
  dt as d,
  pt as e,
  mt as f,
  it as g,
  ct as h,
  ot as i,
  ft as j
};
//# sourceMappingURL=CommandPrimitive-DexRxw-2.js.map
