(function () { const PATHS = { home: '', layoutDashboard: '', package: '', boxes: '', clapperboard: '', film: '', video: '', sparkles: '', images: '', folder: '', library: '', users: '', wallet: '', creditCard: '', settings: '', airshelf: '', flame: '', search: '', bell: '', list: '', chevronLeft: '', chevronRight: '', check: '', x: '', plus: '', productPlus: '', arrowRight: '', arrowLeft: '', arrowUp: '', chevronDown: '', rotateCcw: '', download: '', upload: '', moreHorizontal: '', trash: '', edit: '', play: '', clock: '', alertCircle: '', info: '', shieldCheck: '', messageCircle: '', mail: '', lock: '', eye: '', image: '', grid: '', copy: '', save: '', userPlus: '', helpCircle: '' }; const ALIASES = { dashboard: 'layoutDashboard', products: 'package', projects: 'clapperboard', assetFactory: 'sparkles', library: 'folder', account: 'creditCard', billing: 'creditCard', team: 'users', queue: 'list', arrow: 'arrowRight', back: 'arrowLeft', close: 'x', rerun: 'rotateCcw', more: 'moreHorizontal', danger: 'alertCircle' }; function svg(name, opts) { opts = opts || {}; const key = ALIASES[name] || name; const body = PATHS[key] || PATHS.helpCircle; const size = opts.size || 16; const strokeWidth = opts.strokeWidth || 1.5; const className = ['ui-icon', opts.className || ''].join(' ').trim(); const label = opts.label ? ` role="img" aria-label="${escapeAttr(opts.label)}"` : ' aria-hidden="true"'; return `${body}`; } function escapeAttr(value) { return String(value).replace(/[&<>"']/g, c => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c])); } window.IconKit = { svg, names: () => Object.keys(PATHS), has: name => !!PATHS[ALIASES[name] || name] }; })();