2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.stickers;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.api.sticker.Sticker;
|
|
|
|
import com.discord.app.AppViewModel;
|
|
|
|
import com.discord.widgets.stickers.StickerSheetViewModel;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.Objects;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: WidgetStickerSheet.kt */
|
|
|
|
public final class WidgetStickerSheet$viewModel$2 extends o implements Function0<AppViewModel<StickerSheetViewModel.ViewState>> {
|
|
|
|
public final /* synthetic */ WidgetStickerSheet this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetStickerSheet$viewModel$2(WidgetStickerSheet widgetStickerSheet) {
|
|
|
|
super(0);
|
|
|
|
this.this$0 = widgetStickerSheet;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
2021-10-15 06:18:26 +00:00
|
|
|
public final AppViewModel<StickerSheetViewModel.ViewState> mo17invoke() {
|
2021-08-03 07:33:18 +00:00
|
|
|
Serializable serializable = WidgetStickerSheet.access$getArgumentsOrDefault$p(this.this$0).getSerializable("com.discord.intent.extra.EXTRA_STICKER");
|
|
|
|
Objects.requireNonNull(serializable, "null cannot be cast to non-null type com.discord.api.sticker.Sticker");
|
|
|
|
return new StickerSheetViewModel((Sticker) serializable, null, null, WidgetStickerSheet.access$getArgumentsOrDefault$p(this.this$0).getString("widget_sticker_sheet_analytics_location"), null, 22, null);
|
|
|
|
}
|
|
|
|
}
|