'use strict';

(function exposeTrayProviderIcons(root, factory) {
  const api = factory();
  if (typeof module === 'object' && module.exports) module.exports = api;
  if (root) root.TokenMonitorTrayProviderIcons = api;
})(typeof window !== 'undefined' ? window : null, function createTrayProviderIconsApi() {
  const SPECIAL_ICON_SOURCES = {
    claude: '../../../assets/icons/tray-claude.svg',
    codex: '../../../assets/icons/tray-codex.svg',
    hermes: '../../../assets/icons/hermes-agent.svg'
  };

  function trayProviderIconSources(clientIds) {
    const sources = {};
    for (const id of clientIds || []) {
      sources[id] = SPECIAL_ICON_SOURCES[id] || `../../../assets/icons/${id}.svg`;
    }
    return sources;
  }

  return { trayProviderIconSources };
});
