package com.discord.widgets.guildscheduledevent; import androidx.fragment.app.FragmentActivity; import c0.z.d.m; import c0.z.d.o; import com.discord.widgets.guildscheduledevent.WidgetGuildScheduledEventCreateSuccess; import kotlin.Unit; import kotlin.jvm.functions.Function3; /* compiled from: WidgetGuildScheduledEventSettings.kt */ public final class WidgetGuildScheduledEventSettings$previewLauncher$1 extends o implements Function3 { public final /* synthetic */ WidgetGuildScheduledEventSettings this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetGuildScheduledEventSettings$previewLauncher$1(WidgetGuildScheduledEventSettings widgetGuildScheduledEventSettings) { super(3); this.this$0 = widgetGuildScheduledEventSettings; } /* 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, java.lang.Object, java.lang.Object] */ @Override // kotlin.jvm.functions.Function3 public /* bridge */ /* synthetic */ Unit invoke(Long l, Long l2, Boolean bool) { invoke(l, l2.longValue(), bool.booleanValue()); return Unit.a; } public final void invoke(Long l, long j, boolean z2) { FragmentActivity activity = this.this$0.getActivity(); if (activity != null) { activity.setResult(-1); if (z2) { WidgetGuildScheduledEventCreateSuccess.Companion companion = WidgetGuildScheduledEventCreateSuccess.Companion; m.checkNotNullExpressionValue(activity, "this"); companion.launch(activity, l, WidgetGuildScheduledEventSettings.access$getGuildId$p(this.this$0), j); } activity.finish(); } } }