globalThis.process ??= {}; globalThis.process.env ??= {};
async function fetchProps(url) {
  const propsUrl = new URL("/props.json", url.origin);
  const response = await fetch(propsUrl);
  if (!response.ok) {
    throw new Error(`Failed to load props data: ${response.status} ${response.statusText}`);
  }
  return await response.json();
}

export { fetchProps as f };
