2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.widgets.chat.overlay;
|
|
|
|
|
2021-12-17 22:01:24 +00:00
|
|
|
import b.d.b.a.a;
|
2021-11-01 07:19:03 +00:00
|
|
|
import d0.t.o;
|
|
|
|
import d0.t.u;
|
|
|
|
import d0.z.d.m;
|
|
|
|
import j0.k.b;
|
2021-08-09 22:50:52 +00:00
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.Iterator;
|
|
|
|
import java.util.List;
|
|
|
|
/* compiled from: ChatTypingModel.kt */
|
|
|
|
public final class ChatTypingModel$Companion$getTypingUsers$2<T, R> implements b<List<? extends String>, List<? extends CharSequence>> {
|
|
|
|
public static final ChatTypingModel$Companion$getTypingUsers$2 INSTANCE = new ChatTypingModel$Companion$getTypingUsers$2();
|
|
|
|
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
2021-11-01 07:19:03 +00:00
|
|
|
@Override // j0.k.b
|
2021-08-09 22:50:52 +00:00
|
|
|
public /* bridge */ /* synthetic */ List<? extends CharSequence> call(List<? extends String> list) {
|
|
|
|
return call((List<String>) list);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final List<CharSequence> call(List<String> list) {
|
|
|
|
m.checkNotNullExpressionValue(list, "names");
|
|
|
|
ArrayList arrayList = new ArrayList(o.collectionSizeOrDefault(list, 10));
|
|
|
|
Iterator<T> it = list.iterator();
|
|
|
|
while (it.hasNext()) {
|
2021-12-17 22:01:24 +00:00
|
|
|
arrayList.add(b.a.k.b.l(a.w("!!", it.next(), "!!"), new Object[0], null, 2));
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
return u.take(arrayList, 4);
|
|
|
|
}
|
|
|
|
}
|