var a = Object.defineProperty;
var f = (r, e) => a(r, "name", { value: e, configurable: !0 });
function u() {
  var r = arguments[0];
  typeof r == "string" && (r = document.createElement(r));
  var e = 1, t = arguments[1];
  if (t && typeof t == "object" && t.nodeType == null && !Array.isArray(t)) {
    for (var n in t) if (Object.prototype.hasOwnProperty.call(t, n)) {
      var o = t[n];
      typeof o == "string" ? r.setAttribute(n, o) : o != null && (r[n] = o);
    }
    e++;
  }
  for (; e < arguments.length; e++) s(r, arguments[e]);
  return r;
}
f(u, "crelt");
function s(r, e) {
  if (typeof e == "string")
    r.appendChild(document.createTextNode(e));
  else if (e != null) if (e.nodeType != null)
    r.appendChild(e);
  else if (Array.isArray(e))
    for (var t = 0; t < e.length; t++) s(r, e[t]);
  else
    throw new RangeError("Unsupported child node: " + e);
}
f(s, "add");
export {
  u as default
};
