"use client";
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var SeparatorPrimitive = require('@radix-ui/react-separator');
var clsx = require('clsx');
var tailwindMerge = require('tailwind-merge');
var jsxRuntime = require('react/jsx-runtime');

function _interopNamespace(e) {
  if (e && e.__esModule) return e;
  var n = Object.create(null);
  if (e) {
    Object.keys(e).forEach(function (k) {
      if (k !== 'default') {
        var d = Object.getOwnPropertyDescriptor(e, k);
        Object.defineProperty(n, k, d.get ? d : {
          enumerable: true,
          get: function () { return e[k]; }
        });
      }
    });
  }
  n.default = e;
  return Object.freeze(n);
}

var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
function cn(...inputs) {
  return tailwindMerge.twMerge(clsx.clsx(inputs));
}
__name(cn, "cn");
var Separator = /* @__PURE__ */ __name(({
  className,
  orientation = "horizontal",
  decorative = true,
  ...props
}) => /* @__PURE__ */ jsxRuntime.jsx(
  SeparatorPrimitive__namespace.Root,
  {
    className: cn(
      "bg-divider shrink-0",
      orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
      className
    ),
    decorative,
    orientation,
    ...props
  }
), "Separator");
Separator.displayName = SeparatorPrimitive__namespace.Root.displayName;
var separator_default = Separator;

exports.Separator = Separator;
exports.default = separator_default;
