const DEFAULT_IMPACT_UI_ASSET_BASE = "https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod";
function stripTrailingSlashes(s) {
  return s.replace(/\/+$/, "");
}
function getAssetUrl(relativePath) {
  const base = stripTrailingSlashes(
    DEFAULT_IMPACT_UI_ASSET_BASE
  );
  const path = relativePath.replace(/^\/+/, "");
  return `${base}/${path}`;
}
export {
  getAssetUrl
};
