package com.discord.stores; import com.discord.api.directory.DirectoryEntry; import com.discord.stores.utilities.RestCallState; import d0.z.d.m; import d0.z.d.o; import java.util.List; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; /* compiled from: StoreDirectories.kt */ public final class StoreDirectories$fetchDirectoriesForChannel$1 extends o implements Function1>, Unit> { public final /* synthetic */ long $channelId; public final /* synthetic */ StoreDirectories this$0; /* compiled from: StoreDirectories.kt */ /* renamed from: com.discord.stores.StoreDirectories$fetchDirectoriesForChannel$1$1 reason: invalid class name */ public static final class AnonymousClass1 extends o implements Function0 { public final /* synthetic */ RestCallState $entriesResponse; public final /* synthetic */ StoreDirectories$fetchDirectoriesForChannel$1 this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public AnonymousClass1(StoreDirectories$fetchDirectoriesForChannel$1 storeDirectories$fetchDirectoriesForChannel$1, RestCallState restCallState) { super(0); this.this$0 = storeDirectories$fetchDirectoriesForChannel$1; this.$entriesResponse = restCallState; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { StoreDirectories.access$getDirectoriesMap$p(this.this$0.this$0).put(Long.valueOf(this.this$0.$channelId), this.$entriesResponse); this.this$0.this$0.markChanged(); } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreDirectories$fetchDirectoriesForChannel$1(StoreDirectories storeDirectories, long j) { super(1); this.this$0 = storeDirectories; this.$channelId = j; } /* 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] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(RestCallState> restCallState) { invoke((RestCallState>) restCallState); return Unit.a; } public final void invoke(RestCallState> restCallState) { m.checkNotNullParameter(restCallState, "entriesResponse"); StoreDirectories.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, restCallState)); } }