const n = () => {
  let s = { ...(window == null ? void 0 : window.config) || {} };
  s.rootContainer || (s.rootContainer = "#app"), s.baseURL || (s.baseURL = location.origin), s.ossBaseURL || (s.ossBaseURL = "/oss"), s.ossBaseURL.startsWith("/") && (s.ossBaseURL = `${s.baseURL}/oss`), s.ssoBaseURL || (s.ssoBaseURL = s.baseURL);
  let { microAppName: i, publicPath: o, mainAppName: e } = s;
  return i && !0 && !o && (o = `/${i}/`.replace(/\/\//g, "/")), o || (o = "/"), s.publicPath = o, s.autoOssBucket || (s.autoOssBucket = e || i), s;
};
export {
  n as getConfig
};
