import * as e from "react";
import o from "../../../../../../../../../_virtual/index9.js";
import { Root as c, Track as n, Range as f, Thumb as p } from "../../../../../../../@radix-ui_react-slider@1.2.0_@types_react-dom@18.3.6_@types_react@18.3.3__@types_react@_9e0def951b35be64282b139c35f12562/node_modules/@radix-ui/react-slider/dist/index.js";
import { sliderPropDefs as u } from "./slider.props.js";
import { extractProps as h } from "../helpers/extract-props.js";
import { marginPropDefs as v } from "../props/margin.props.js";
const S = e.forwardRef((a, s) => {
  const { className: m, color: l, radius: d, tabIndex: t, ...r } = h(a, u, v);
  return e.createElement(c, { "data-accent-color": l, "data-radius": d, ref: s, ...r, asChild: !1, className: o("rt-SliderRoot", m) }, e.createElement(n, { className: "rt-SliderTrack" }, e.createElement(f, { className: o("rt-SliderRange", { "rt-high-contrast": a.highContrast }), "data-inverted": r.inverted ? "" : void 0 })), (r.value ?? r.defaultValue ?? []).map((N, i) => e.createElement(p, { key: i, className: "rt-SliderThumb", ...t !== void 0 ? { tabIndex: t } : void 0 })));
});
S.displayName = "Slider";
export {
  S as Slider
};
//# sourceMappingURL=slider.js.map
