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