function a(r, u) {
  var e = r.type, t = r.value, i, f;
  return u && (f = u(r)) !== void 0 ? f : e === "word" || e === "space" ? t : e === "string" ? (i = r.quote || "", i + t + (r.unclosed ? "" : i)) : e === "comment" ? "/*" + t + (r.unclosed ? "" : "*/") : e === "div" ? (r.before || "") + t + (r.after || "") : Array.isArray(r.nodes) ? (i = s(r.nodes), e !== "function" ? i : t + "(" + (r.before || "") + i + (r.after || "") + (r.unclosed ? "" : ")")) : t;
}
function s(r, u) {
  var e, t;
  if (Array.isArray(r)) {
    for (e = "", t = r.length - 1; ~t; t -= 1)
      e = a(r[t], u) + e;
    return e;
  }
  return a(r, u);
}
var l = s;
export {
  l as default
};
//# sourceMappingURL=stringify.js.map
