"use client";
var f, b;
function w() {
  if (b) return f;
  b = 1;
  var s = function(r) {
    return y(r) && !o(r);
  };
  function y(e) {
    return !!e && typeof e == "object";
  }
  function o(e) {
    var r = Object.prototype.toString.call(e);
    return r === "[object RegExp]" || r === "[object Date]" || m(e);
  }
  var O = typeof Symbol == "function" && Symbol.for, j = O ? Symbol.for("react.element") : 60103;
  function m(e) {
    return e.$$typeof === j;
  }
  function g(e) {
    return Array.isArray(e) ? [] : {};
  }
  function u(e, r) {
    return r.clone !== !1 && r.isMergeableObject(e) ? a(g(e), e, r) : e;
  }
  function M(e, r, n) {
    return e.concat(r).map(function(c) {
      return u(c, n);
    });
  }
  function A(e, r) {
    if (!r.customMerge)
      return a;
    var n = r.customMerge(e);
    return typeof n == "function" ? n : a;
  }
  function E(e) {
    return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(r) {
      return Object.propertyIsEnumerable.call(e, r);
    }) : [];
  }
  function i(e) {
    return Object.keys(e).concat(E(e));
  }
  function l(e, r) {
    try {
      return r in e;
    } catch {
      return !1;
    }
  }
  function d(e, r) {
    return l(e, r) && !(Object.hasOwnProperty.call(e, r) && Object.propertyIsEnumerable.call(e, r));
  }
  function p(e, r, n) {
    var c = {};
    return n.isMergeableObject(e) && i(e).forEach(function(t) {
      c[t] = u(e[t], n);
    }), i(r).forEach(function(t) {
      d(e, t) || (l(e, t) && n.isMergeableObject(r[t]) ? c[t] = A(t, n)(e[t], r[t], n) : c[t] = u(r[t], n));
    }), c;
  }
  function a(e, r, n) {
    n = n || {}, n.arrayMerge = n.arrayMerge || M, n.isMergeableObject = n.isMergeableObject || s, n.cloneUnlessOtherwiseSpecified = u;
    var c = Array.isArray(r), t = Array.isArray(e), h = c === t;
    return h ? c ? n.arrayMerge(e, r, n) : p(e, r, n) : u(r, n);
  }
  a.all = function(r, n) {
    if (!Array.isArray(r))
      throw new Error("first argument should be an array");
    return r.reduce(function(c, t) {
      return a(c, t, n);
    }, {});
  };
  var S = a;
  return f = S, f;
}
export {
  w as r
};
