package com.discord.widgets.bugreports; import android.net.Uri; import com.discord.app.AppViewModel; import com.discord.widgets.bugreports.BugReportViewModel; import d0.z.d.m; import d0.z.d.o; import kotlin.jvm.functions.Function0; /* compiled from: WidgetBugReport.kt */ public final class WidgetBugReport$viewModel$2 extends o implements Function0> { public final /* synthetic */ WidgetBugReport this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetBugReport$viewModel$2(WidgetBugReport widgetBugReport) { super(0); this.this$0 = widgetBugReport; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final AppViewModel mo1invoke() { Uri parse = Uri.parse(this.this$0.getMostRecentIntent().getStringExtra("extra_screenshot_uri")); String stringExtra = this.this$0.getMostRecentIntent().getStringExtra("extra_screenshot_filename"); if (stringExtra == null) { stringExtra = ""; } m.checkNotNullExpressionValue(parse, "screenshotUri"); return new BugReportViewModel(parse, stringExtra, null, 4, null); } }