const o = (e) => {
  if (typeof window > "u")
    return e;
  try {
    const t = window.getComputedStyle(document.documentElement).getPropertyValue(e).trim();
    return !t || t.startsWith("--") ? e : t;
  } catch {
    return e;
  }
}, n = (e) => e.map(o);
export {
  o as resolveCssVariable,
  n as resolveCssVariables
};
