package com.discord.stores; import com.discord.utilities.frecency.FrecencyTracker; import d0.t.u; import d0.z.d.o; import java.util.ArrayList; import java.util.Collection; import java.util.List; import kotlin.jvm.functions.Function0; /* compiled from: StoreStickers.kt */ public final class StoreStickers$observeFrequentlyUsedStickerIds$1 extends o implements Function0> { public final /* synthetic */ StoreStickers this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreStickers$observeFrequentlyUsedStickerIds$1(StoreStickers storeStickers) { super(0); this.this$0 = storeStickers; } /* Return type fixed from 'java.util.List' to match base method */ @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final List mo1invoke() { Collection sortedKeys$default = FrecencyTracker.getSortedKeys$default(StoreStickers.access$getFrecency$p(this.this$0), 0, 1, null); ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(sortedKeys$default, 10)); for (String str : sortedKeys$default) { arrayList.add(Long.valueOf(Long.parseLong(str))); } return u.take(arrayList, 20); } }