2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.stores;
|
|
|
|
|
|
|
|
import com.airbnb.lottie.parser.AnimatableValueParser;
|
|
|
|
import com.discord.api.channel.Channel;
|
|
|
|
import d0.t.g0;
|
|
|
|
import d0.t.h0;
|
|
|
|
import d0.z.d.o;
|
|
|
|
import java.util.Map;
|
|
|
|
import kotlin.jvm.functions.Function0;
|
|
|
|
/* compiled from: StoreAnalytics.kt */
|
|
|
|
public final class StoreAnalytics$trackChannelOpened$$inlined$let$lambda$1 extends o implements Function0<Map<String, ? extends Object>> {
|
|
|
|
public final /* synthetic */ SelectedChannelAnalyticsLocation $analyticsLocation$inlined;
|
|
|
|
public final /* synthetic */ Channel $channel;
|
|
|
|
public final /* synthetic */ long $channelId$inlined;
|
|
|
|
public final /* synthetic */ ChannelAnalyticsViewType $channelView$inlined;
|
|
|
|
public final /* synthetic */ StoreAnalytics this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public StoreAnalytics$trackChannelOpened$$inlined$let$lambda$1(Channel channel, StoreAnalytics storeAnalytics, long j, ChannelAnalyticsViewType channelAnalyticsViewType, SelectedChannelAnalyticsLocation selectedChannelAnalyticsLocation) {
|
|
|
|
super(0);
|
|
|
|
this.$channel = channel;
|
|
|
|
this.this$0 = storeAnalytics;
|
|
|
|
this.$channelId$inlined = j;
|
|
|
|
this.$channelView$inlined = channelAnalyticsViewType;
|
|
|
|
this.$analyticsLocation$inlined = selectedChannelAnalyticsLocation;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Return type fixed from 'java.util.Map<java.lang.String, java.lang.Object>' to match base method */
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
|
|
/* renamed from: invoke */
|
|
|
|
public final Map<String, ? extends Object> mo1invoke() {
|
2021-07-03 23:36:06 +00:00
|
|
|
Map<String, ? extends Object> plus = h0.plus(AnimatableValueParser.z1(this.$channel) ? StoreAnalytics.access$getThreadSnapshotAnalyticsProperties(this.this$0, this.$channel) : StoreAnalytics.access$getChannelSnapshotAnalyticsProperties(this.this$0, this.$channel, true), g0.mapOf(d0.o.to("channel_view", this.$channelView$inlined.getAnalyticsValue())));
|
2021-06-27 20:44:35 +00:00
|
|
|
SelectedChannelAnalyticsLocation selectedChannelAnalyticsLocation = this.$analyticsLocation$inlined;
|
|
|
|
return selectedChannelAnalyticsLocation != null ? h0.plus(plus, g0.mapOf(d0.o.to("location", selectedChannelAnalyticsLocation.getAnalyticsValue()))) : plus;
|
|
|
|
}
|
|
|
|
}
|