Converts a base64 data URL (data:mime;base64,...) to an ArrayBuffer. Used by viewers to handle inline artifact content (ContentMode='Text').
Converts a base64 data URL to an object URL suitable for download/display. Used by viewers to create downloadable links for inline artifacts.
Returns a pre-authenticated download URL for the given artifact version.
Results are cached; pass forceRefresh=true to bypass the cache.
Pre-fetch and cache a URL without awaiting in the calling context.
Service for fetching pre-authenticated download URLs for file-mode artifact versions.
URLs are cached in a bounded LRU-style Map (evicts oldest entry once the cap is reached) to avoid repeated round-trips for the same version within a session.