"use client";
function c(e, t) {
  var r = Object.keys(e);
  if (Object.getOwnPropertySymbols) {
    var n = Object.getOwnPropertySymbols(e);
    t && (n = n.filter(function(o) {
      return Object.getOwnPropertyDescriptor(e, o).enumerable;
    })), r.push.apply(r, n);
  }
  return r;
}
function i(e) {
  for (var t = 1; t < arguments.length; t++) {
    var r = arguments[t] != null ? arguments[t] : {};
    t % 2 ? c(Object(r), !0).forEach(function(n) {
      a(e, n, r[n]);
    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach(function(n) {
      Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
    });
  }
  return e;
}
function a(e, t, r) {
  return (t = u(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function u(e) {
  var t = s(e, "string");
  return typeof t == "symbol" ? t : t + "";
}
function s(e, t) {
  if (typeof e != "object" || !e) return e;
  var r = e[Symbol.toPrimitive];
  if (r !== void 0) {
    var n = r.call(e, t);
    if (typeof n != "object") return n;
    throw new TypeError("@@toPrimitive must return a primitive value.");
  }
  return (t === "string" ? String : Number)(e);
}
var p = (e) => e.replace(/([A-Z])/g, (t) => "-".concat(t.toLowerCase())), b = (e, t, r) => e.map((n) => "".concat(p(n), " ").concat(t, "ms ").concat(r)).join(","), f = (e, t) => [Object.keys(e), Object.keys(t)].reduce((r, n) => r.filter((o) => n.includes(o))), y = (e, t) => Object.keys(t).reduce((r, n) => i(i({}, r), {}, {
  [n]: e(n, t[n])
}), {});
export {
  p as getDashCase,
  f as getIntersectionKeys,
  b as getTransitionVal,
  y as mapObject
};
