import { __exports as v } from "../../../../_virtual/index3.mjs";
v.parse = d;
v.stringify = m;
var p = ",", o = " ", i = "";
function d(r) {
  for (var n = [], t = String(r || i), a = t.indexOf(p), e = 0, f = !1, s; !f; )
    a === -1 && (a = t.length, f = !0), s = t.slice(e, a).trim(), (s || !f) && n.push(s), e = a + 1, a = t.indexOf(p, e);
  return n;
}
function m(r, n) {
  var t = n || {}, a = t.padLeft === !1 ? i : o, e = t.padRight ? o : i;
  return r[r.length - 1] === i && (r = r.concat(i)), r.join(e + p + a).trim();
}
export {
  v as default
};
