import i from "../../../../../../_virtual/___vite-browser-external.js";
var o, s;
function t() {
  if (s)
    return o;
  s = 1;
  var n = i;
  return o = n.homedir || function() {
    var r = process.env.HOME, e = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;
    return process.platform === "win32" ? process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || r || null : process.platform === "darwin" ? r || (e ? "/Users/" + e : null) : process.platform === "linux" ? r || (process.getuid() === 0 ? "/root" : e ? "/home/" + e : null) : r || null;
  }, o;
}
export {
  t as __require
};
//# sourceMappingURL=homedir.js.map
