1 2window.MTS_COMMUNITY_TRADERS = []; 3window.mtsTrader = function(id){ 4 return (window.MTS_COMMUNITY_TRADERS||[]).find(x=>String(x.id)===String(id)) || null; 5}; 6window.mtsActivityAvatar = function(t,cls=''){ 7 if(!t)return ''; 8 const name=String(t.name||'Mitglied'),initials=name.split(/\s+/).slice(0,2).map(x=>x[0]||'').join('').toUpperCase(); 9 const face=t.avatar?`<img src="${t.avatar}" alt="${name}">`:`<b>${initials||'M'}</b>`; 10 const activity=Number(t.activity)||0; 11 return `<span class="mts-avatar-wrap ${cls}">${face}${activity?`<i class="mts-activity-badge" title="${activity} neue Aktivitäten">${activity}</i>`:''}</span>`; 12};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.