import { E as compilerRuntimeExports, j as jsxRuntimeExports } from "./vendor-react-DYNCg6N5.js";
import { O as themeColors } from "./index-DfebxkL9.js";
import { B as Button } from "./vendor-mantine-h0WlM2Mj.js";
import { a8 as IconPlus } from "./vendor-icons-xWhXK_Ui.js";
const addButton = "_addButton_14rk0_1";
const classes = {
  addButton
};
const AddButton = (t0) => {
  const $ = compilerRuntimeExports.c(15);
  let children;
  let className;
  let rest;
  let t1;
  let t2;
  let t3;
  if ($[0] !== t0) {
    ({
      children,
      className,
      size: t1,
      variant: t2,
      color: t3,
      ...rest
    } = t0);
    $[0] = t0;
    $[1] = children;
    $[2] = className;
    $[3] = rest;
    $[4] = t1;
    $[5] = t2;
    $[6] = t3;
  } else {
    children = $[1];
    className = $[2];
    rest = $[3];
    t1 = $[4];
    t2 = $[5];
    t3 = $[6];
  }
  const size = t1 === void 0 ? "sm" : t1;
  const variant = t2 === void 0 ? "outline" : t2;
  const color = t3 === void 0 ? "#667085" : t3;
  const t4 = `${classes.addButton} ${className || ""}`;
  let t5;
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
    t5 = /* @__PURE__ */ jsxRuntimeExports.jsx(IconPlus, { color: themeColors.brandGray[0] });
    $[7] = t5;
  } else {
    t5 = $[7];
  }
  let t6;
  if ($[8] !== children || $[9] !== color || $[10] !== rest || $[11] !== size || $[12] !== t4 || $[13] !== variant) {
    t6 = /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { className: t4, size, color, variant, rightSection: t5, ...rest, children });
    $[8] = children;
    $[9] = color;
    $[10] = rest;
    $[11] = size;
    $[12] = t4;
    $[13] = variant;
    $[14] = t6;
  } else {
    t6 = $[14];
  }
  return t6;
};
export {
  AddButton as A
};
//# sourceMappingURL=index-72JBTuLT.js.map
