"use client";
'use strict';

var jsxRuntime = require('react/jsx-runtime');
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
var React = require('react');
var selectRoot = require('./select-root.cjs');
var select_module = require('./select.module.css.cjs');
var index = require('../../node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@19.1.7_@types_react@19.1.9__@types_react@19.1.9_irkq3yh3qlkawac7zwq2rwd6bi/node_modules/@radix-ui/react-select/dist/index.cjs');

const SelectGroup = React.forwardRef(({ className, children, ...props }, ref) => {
    const { shouldFilter } = selectRoot.useSelectContext();
    if (shouldFilter)
        return jsxRuntime.jsx(React.Fragment, { children: children });
    return (jsxRuntime.jsx(index.Group, { ref: ref, className: index$1.cx(select_module.default.menugroup, className), ...props, children: children }));
});
SelectGroup.displayName = index.Group.displayName;
const SelectLabel = React.forwardRef(({ className, ...props }, ref) => {
    const { shouldFilter } = selectRoot.useSelectContext();
    if (shouldFilter)
        return null;
    return (jsxRuntime.jsx(index.Label, { ref: ref, className: index$1.cx(select_module.default.label, className), ...props }));
});
SelectLabel.displayName = index.Label.displayName;
const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => {
    const { shouldFilter } = selectRoot.useSelectContext();
    if (shouldFilter)
        return null;
    return (jsxRuntime.jsx(index.Separator, { ref: ref, className: index$1.cx(select_module.default.separator, className), ...props }));
});
SelectSeparator.displayName = index.Separator.displayName;

exports.SelectGroup = SelectGroup;
exports.SelectLabel = SelectLabel;
exports.SelectSeparator = SelectSeparator;
//# sourceMappingURL=select-misc.cjs.map
