package kotlin.collections; import A.j; import com.google.android.gms.measurement.api.AppMeasurementSdk; import com.google.firebase.analytics.FirebaseAnalytics; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import kotlin.Metadata; import kotlin.OverloadResolutionByLambdaReturnType; import kotlin.Pair; import kotlin.SinceKotlin; import kotlin.Unit; import kotlin.internal.HidesMembers; import kotlin.internal.InlineOnly; import kotlin.jvm.JvmName; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.SourceDebugExtension; import kotlin.sequences.Sequence; /* JADX INFO: Access modifiers changed from: package-private */ @Metadata(d1 = {"\u0000\u0082\u0001\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010&\n\u0002\b\u0002\n\u0002\u0010\u001c\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\b\u0003\n\u0002\u0010\u001f\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010\u000f\n\u0002\b\u0005\n\u0002\u0010\u0006\n\u0002\u0010\u0007\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\u001aJ\u0010\u0000\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010\u0005\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u00010\u0006H\u0086\bø\u0001\u0000\u001a$\u0010\b\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004\u001aJ\u0010\b\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010\u0005\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u00010\u0006H\u0086\bø\u0001\u0000\u001a9\u0010\t\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00070\n\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004H\u0087\b\u001a6\u0010\u000b\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00070\f\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004\u001a'\u0010\r\u001a\u00020\u000e\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004H\u0087\b\u001aJ\u0010\r\u001a\u00020\u000e\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010\u0005\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u00010\u0006H\u0086\bø\u0001\u0000\u001a[\u0010\u000f\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\b\b\u0002\u0010\u0010*\u00020\u0011*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042 \u0010\u0012\u001a\u001c\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\u0013\u001a]\u0010\u0014\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\b\b\u0002\u0010\u0010*\u00020\u0011*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042 \u0010\u0012\u001a\u001c\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010\u0013\u001a\\\u0010\u0015\u001a\b\u0012\u0004\u0012\u0002H\u00100\u0016\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042$\u0010\u0012\u001a \u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100\n0\u0006H\u0086\bø\u0001\u0000\u001aa\u0010\u0015\u001a\b\u0012\u0004\u0012\u0002H\u00100\u0016\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042$\u0010\u0012\u001a \u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100\f0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\b\u0017\u001au\u0010\u0018\u001a\u0002H\u0019\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010\"\u0010\b\u0003\u0010\u0019*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100\u001a*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u0006\u0010\u001b\u001a\u0002H\u00192$\u0010\u0012\u001a \u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100\n0\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\u001c\u001aw\u0010\u0018\u001a\u0002H\u0019\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010\"\u0010\b\u0003\u0010\u0019*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100\u001a*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u0006\u0010\u001b\u001a\u0002H\u00192$\u0010\u0012\u001a \u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\n\u0012\b\u0012\u0004\u0012\u0002H\u00100\f0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0004\b\u001d\u0010\u001c\u001aJ\u0010\u001e\u001a\u00020\u001f\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010 \u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u001f0\u0006H\u0087\bø\u0001\u0000\u001aV\u0010!\u001a\b\u0012\u0004\u0012\u0002H\u00100\u0016\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010\u0012\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0086\bø\u0001\u0000\u001a\\\u0010\"\u001a\b\u0012\u0004\u0012\u0002H\u00100\u0016\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\b\b\u0002\u0010\u0010*\u00020\u0011*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042 \u0010\u0012\u001a\u001c\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0086\bø\u0001\u0000\u001au\u0010#\u001a\u0002H\u0019\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\b\b\u0002\u0010\u0010*\u00020\u0011\"\u0010\b\u0003\u0010\u0019*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100\u001a*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u0006\u0010\u001b\u001a\u0002H\u00192 \u0010\u0012\u001a\u001c\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0006\u0012\u0004\u0018\u0001H\u00100\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\u001c\u001ao\u0010$\u001a\u0002H\u0019\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010\"\u0010\b\u0003\u0010\u0019*\n\u0012\u0006\b\u0000\u0012\u0002H\u00100\u001a*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u0006\u0010\u001b\u001a\u0002H\u00192\u001e\u0010\u0012\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0086\bø\u0001\u0000¢\u0006\u0002\u0010\u001c\u001ak\u0010%\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\b(\u001ah\u0010)\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000\u001a_\u0010*\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010+\u001aJ\u0010*\u001a\u00020,\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020,0\u0006H\u0087\bø\u0001\u0000\u001aJ\u0010*\u001a\u00020-\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020-0\u0006H\u0087\bø\u0001\u0000\u001aa\u0010.\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010+\u001aQ\u0010.\u001a\u0004\u0018\u00010,\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020,0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010/\u001aQ\u0010.\u001a\u0004\u0018\u00010-\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020-0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u00100\u001aq\u00101\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001a\u00102\u001a\u0016\u0012\u0006\b\u0000\u0012\u0002H\u001003j\n\u0012\u0006\b\u0000\u0012\u0002H\u0010`42\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u00105\u001as\u00106\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001a\u00102\u001a\u0016\u0012\u0006\b\u0000\u0012\u0002H\u001003j\n\u0012\u0006\b\u0000\u0012\u0002H\u0010`42\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u00105\u001al\u00107\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000422\u00102\u001a.\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000703j\u0016\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007`4H\u0087\b¢\u0006\u0002\b8\u001ai\u00109\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000422\u00102\u001a.\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000703j\u0016\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007`4H\u0087\b\u001ak\u0010:\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\b;\u001ah\u0010<\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000\u001a_\u0010=\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010+\u001aJ\u0010=\u001a\u00020,\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020,0\u0006H\u0087\bø\u0001\u0000\u001aJ\u0010=\u001a\u00020-\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020-0\u0006H\u0087\bø\u0001\u0000\u001aa\u0010>\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u000e\b\u0002\u0010\u0010*\b\u0012\u0004\u0012\u0002H\u00100&*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010+\u001aQ\u0010>\u001a\u0004\u0018\u00010,\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020,0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010/\u001aQ\u0010>\u001a\u0004\u0018\u00010-\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020-0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u00100\u001aq\u0010?\u001a\u0002H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001a\u00102\u001a\u0016\u0012\u0006\b\u0000\u0012\u0002H\u001003j\n\u0012\u0006\b\u0000\u0012\u0002H\u0010`42\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u00105\u001as\u0010@\u001a\u0004\u0018\u0001H\u0010\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0004\b\u0002\u0010\u0010*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001a\u00102\u001a\u0016\u0012\u0006\b\u0000\u0012\u0002H\u001003j\n\u0012\u0006\b\u0000\u0012\u0002H\u0010`42\u001e\u0010'\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u0002H\u00100\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u00105\u001al\u0010A\u001a\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000422\u00102\u001a.\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000703j\u0016\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007`4H\u0087\b¢\u0006\u0002\bB\u001ai\u0010C\u001a\u0010\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u0003\u0018\u00010\u0007\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000422\u00102\u001a.\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u000703j\u0016\u0012\u0012\b\u0000\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007`4H\u0087\b\u001a$\u0010D\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004\u001aJ\u0010D\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u00042\u001e\u0010\u0005\u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u00010\u0006H\u0086\bø\u0001\u0000\u001aY\u0010E\u001a\u0002HF\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0016\b\u0002\u0010F*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004*\u0002HF2\u001e\u0010 \u001a\u001a\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u001f0\u0006H\u0087\bø\u0001\u0000¢\u0006\u0002\u0010G\u001an\u0010H\u001a\u0002HF\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003\"\u0016\b\u0002\u0010F*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004*\u0002HF23\u0010 \u001a/\u0012\u0013\u0012\u00110\u000e¢\u0006\f\bJ\u0012\b\bK\u0012\u0004\b\b(L\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0007\u0012\u0004\u0012\u00020\u001f0IH\u0087\bø\u0001\u0000¢\u0006\u0002\u0010M\u001a6\u0010N\u001a\u0014\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030O0\u0016\"\u0004\b\u0000\u0010\u0002\"\u0004\b\u0001\u0010\u0003*\u0010\u0012\u0006\b\u0001\u0012\u0002H\u0002\u0012\u0004\u0012\u0002H\u00030\u0004\u0082\u0002\u0007\n\u0005\b\u009920\u0001¨\u0006P"}, d2 = {"all", "", "K", "V", "", "predicate", "Lkotlin/Function1;", "", "any", "asIterable", "", "asSequence", "Lkotlin/sequences/Sequence;", "count", "", "firstNotNullOf", "R", "", "transform", "(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;", "firstNotNullOfOrNull", "flatMap", "", "flatMapSequence", "flatMapTo", "C", "", FirebaseAnalytics.Param.DESTINATION, "(Ljava/util/Map;Ljava/util/Collection;Lkotlin/jvm/functions/Function1;)Ljava/util/Collection;", "flatMapSequenceTo", "forEach", "", "action", "map", "mapNotNull", "mapNotNullTo", "mapTo", "maxBy", "", "selector", "maxByOrThrow", "maxByOrNull", "maxOf", "(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/lang/Comparable;", "", "", "maxOfOrNull", "(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/lang/Double;", "(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/lang/Float;", "maxOfWith", "comparator", "Ljava/util/Comparator;", "Lkotlin/Comparator;", "(Ljava/util/Map;Ljava/util/Comparator;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;", "maxOfWithOrNull", "maxWith", "maxWithOrThrow", "maxWithOrNull", "minBy", "minByOrThrow", "minByOrNull", "minOf", "minOfOrNull", "minOfWith", "minOfWithOrNull", "minWith", "minWithOrThrow", "minWithOrNull", "none", "onEach", "M", "(Ljava/util/Map;Lkotlin/jvm/functions/Function1;)Ljava/util/Map;", "onEachIndexed", "Lkotlin/Function2;", "Lkotlin/ParameterName;", AppMeasurementSdk.ConditionalUserProperty.NAME, FirebaseAnalytics.Param.INDEX, "(Ljava/util/Map;Lkotlin/jvm/functions/Function2;)Ljava/util/Map;", "toList", "Lkotlin/Pair;", "kotlin-stdlib"}, k = 5, mv = {1, 9, 0}, xi = 49, xs = "kotlin/collections/MapsKt") @SourceDebugExtension({"SMAP\n_Maps.kt\nKotlin\n*S Kotlin\n*F\n+ 1 _Maps.kt\nkotlin/collections/MapsKt___MapsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,594:1\n96#1,5:595\n111#1,5:600\n152#1,3:605\n143#1:608\n215#1:609\n216#1:611\n144#1:612\n215#1:613\n216#1:615\n1#2:610\n1#2:614\n1940#3,14:616\n1963#3,14:630\n2310#3,14:644\n2333#3,14:658\n1864#3,3:672\n*S KotlinDebug\n*F\n+ 1 _Maps.kt\nkotlin/collections/MapsKt___MapsKt\n*L\n76#1:595,5\n89#1:600,5\n125#1:605,3\n135#1:608\n135#1:609\n135#1:611\n135#1:612\n143#1:613\n143#1:615\n135#1:610\n230#1:616,14\n241#1:630,14\n390#1:644,14\n401#1:658,14\n574#1:672,3\n*E\n"}) /* loaded from: classes3.dex */ public class MapsKt___MapsKt extends MapsKt___MapsJvmKt { public static final boolean all(Map map, Function1, Boolean> predicate) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(predicate, "predicate"); if (map.isEmpty()) { return true; } Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { if (!predicate.invoke(it.next()).booleanValue()) { return false; } } return true; } public static final boolean any(Map map) { Intrinsics.checkNotNullParameter(map, ""); return !map.isEmpty(); } @InlineOnly private static final Iterable> asIterable(Map map) { Intrinsics.checkNotNullParameter(map, ""); return map.entrySet(); } public static Sequence> asSequence(Map map) { Intrinsics.checkNotNullParameter(map, ""); return CollectionsKt___CollectionsKt.asSequence(map.entrySet()); } @InlineOnly private static final int count(Map map) { Intrinsics.checkNotNullParameter(map, ""); return map.size(); } @SinceKotlin(version = "1.5") @InlineOnly private static final R firstNotNullOf(Map map, Function1, ? extends R> transform) { R r4; Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(transform, "transform"); Iterator> it = map.entrySet().iterator(); while (true) { if (!it.hasNext()) { r4 = null; break; } r4 = transform.invoke(it.next()); if (r4 != null) { break; } } if (r4 != null) { return r4; } throw new NoSuchElementException("No element of the map was transformed to a non-null value."); } @SinceKotlin(version = "1.5") @InlineOnly private static final R firstNotNullOfOrNull(Map map, Function1, ? extends R> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(transform, "transform"); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { R invoke = transform.invoke(it.next()); if (invoke != null) { return invoke; } } return null; } public static final List flatMap(Map map, Function1, ? extends Iterable> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(transform, "transform"); ArrayList arrayList = new ArrayList(); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { CollectionsKt__MutableCollectionsKt.addAll(arrayList, transform.invoke(it.next())); } return arrayList; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @JvmName(name = "flatMapSequence") public static final List flatMapSequence(Map map, Function1, ? extends Sequence> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(transform, "transform"); ArrayList arrayList = new ArrayList(); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { CollectionsKt__MutableCollectionsKt.addAll(arrayList, transform.invoke(it.next())); } return arrayList; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @JvmName(name = "flatMapSequenceTo") public static final > C flatMapSequenceTo(Map map, C destination, Function1, ? extends Sequence> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(destination, "destination"); Intrinsics.checkNotNullParameter(transform, "transform"); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { CollectionsKt__MutableCollectionsKt.addAll(destination, transform.invoke(it.next())); } return destination; } public static final > C flatMapTo(Map map, C destination, Function1, ? extends Iterable> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(destination, "destination"); Intrinsics.checkNotNullParameter(transform, "transform"); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { CollectionsKt__MutableCollectionsKt.addAll(destination, transform.invoke(it.next())); } return destination; } @HidesMembers public static final void forEach(Map map, Function1, Unit> action) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(action, "action"); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { action.invoke(it.next()); } } public static final List map(Map map, Function1, ? extends R> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(transform, "transform"); ArrayList arrayList = new ArrayList(map.size()); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { arrayList.add(transform.invoke(it.next())); } return arrayList; } public static final List mapNotNull(Map map, Function1, ? extends R> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(transform, "transform"); ArrayList arrayList = new ArrayList(); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { R invoke = transform.invoke(it.next()); if (invoke != null) { arrayList.add(invoke); } } return arrayList; } public static final > C mapNotNullTo(Map map, C destination, Function1, ? extends R> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(destination, "destination"); Intrinsics.checkNotNullParameter(transform, "transform"); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { R invoke = transform.invoke(it.next()); if (invoke != null) { destination.add(invoke); } } return destination; } public static final > C mapTo(Map map, C destination, Function1, ? extends R> transform) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(destination, "destination"); Intrinsics.checkNotNullParameter(transform, "transform"); Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { destination.add(transform.invoke(it.next())); } return destination; } @SinceKotlin(version = "1.4") @InlineOnly private static final > Map.Entry maxByOrNull(Map map, Function1, ? extends R> selector) { Map.Entry entry; Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (it.hasNext()) { Map.Entry entry2 = (Object) it.next(); if (it.hasNext()) { R invoke = selector.invoke(entry2); do { Map.Entry entry3 = (Object) it.next(); R invoke2 = selector.invoke(entry3); if (invoke.compareTo(invoke2) < 0) { entry2 = entry3; invoke = invoke2; } } while (it.hasNext()); } entry = entry2; } else { entry = null; } return entry; } @SinceKotlin(version = "1.7") @InlineOnly @JvmName(name = "maxByOrThrow") private static final > Map.Entry maxByOrThrow(Map map, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } Map.Entry entry = (Object) it.next(); if (it.hasNext()) { R invoke = selector.invoke(entry); do { Map.Entry entry2 = (Object) it.next(); R invoke2 = selector.invoke(entry2); if (invoke.compareTo(invoke2) < 0) { entry = entry2; invoke = invoke2; } } while (it.hasNext()); } return entry; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final double maxOf(Map map, Function1, Double> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } double doubleValue = selector.invoke((Object) it.next()).doubleValue(); while (it.hasNext()) { doubleValue = Math.max(doubleValue, selector.invoke((Object) it.next()).doubleValue()); } return doubleValue; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: maxOfOrNull, reason: collision with other method in class */ private static final Double m565maxOfOrNull(Map map, Function1, Double> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } double doubleValue = selector.invoke((Object) it.next()).doubleValue(); while (it.hasNext()) { doubleValue = Math.max(doubleValue, selector.invoke((Object) it.next()).doubleValue()); } return Double.valueOf(doubleValue); } /* JADX WARN: Multi-variable type inference failed */ @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final R maxOfWith(Map map, Comparator comparator, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } Object obj = (R) selector.invoke((Object) it.next()); while (it.hasNext()) { Object obj2 = (R) selector.invoke((Object) it.next()); if (comparator.compare(obj, obj2) < 0) { obj = (R) obj2; } } return (R) obj; } /* JADX WARN: Multi-variable type inference failed */ @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final R maxOfWithOrNull(Map map, Comparator comparator, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } Object obj = (R) selector.invoke((Object) it.next()); while (it.hasNext()) { Object obj2 = (R) selector.invoke((Object) it.next()); if (comparator.compare(obj, obj2) < 0) { obj = (R) obj2; } } return (R) obj; } @SinceKotlin(version = "1.4") @InlineOnly private static final Map.Entry maxWithOrNull(Map map, Comparator> comparator) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); return (Map.Entry) CollectionsKt___CollectionsKt.maxWithOrNull(map.entrySet(), comparator); } @SinceKotlin(version = "1.7") @InlineOnly @JvmName(name = "maxWithOrThrow") private static final Map.Entry maxWithOrThrow(Map map, Comparator> comparator) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); return (Map.Entry) CollectionsKt___CollectionsKt.maxWithOrThrow(map.entrySet(), comparator); } @SinceKotlin(version = "1.4") @InlineOnly private static final > Map.Entry minByOrNull(Map map, Function1, ? extends R> selector) { Map.Entry entry; Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (it.hasNext()) { Map.Entry entry2 = (Object) it.next(); if (it.hasNext()) { R invoke = selector.invoke(entry2); do { Map.Entry entry3 = (Object) it.next(); R invoke2 = selector.invoke(entry3); if (invoke.compareTo(invoke2) > 0) { entry2 = entry3; invoke = invoke2; } } while (it.hasNext()); } entry = entry2; } else { entry = null; } return entry; } @SinceKotlin(version = "1.7") @InlineOnly @JvmName(name = "minByOrThrow") private static final > Map.Entry minByOrThrow(Map map, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } Map.Entry entry = (Object) it.next(); if (it.hasNext()) { R invoke = selector.invoke(entry); do { Map.Entry entry2 = (Object) it.next(); R invoke2 = selector.invoke(entry2); if (invoke.compareTo(invoke2) > 0) { entry = entry2; invoke = invoke2; } } while (it.hasNext()); } return entry; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final double minOf(Map map, Function1, Double> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } double doubleValue = selector.invoke((Object) it.next()).doubleValue(); while (it.hasNext()) { doubleValue = Math.min(doubleValue, selector.invoke((Object) it.next()).doubleValue()); } return doubleValue; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: minOfOrNull, reason: collision with other method in class */ private static final Double m569minOfOrNull(Map map, Function1, Double> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } double doubleValue = selector.invoke((Object) it.next()).doubleValue(); while (it.hasNext()) { doubleValue = Math.min(doubleValue, selector.invoke((Object) it.next()).doubleValue()); } return Double.valueOf(doubleValue); } /* JADX WARN: Multi-variable type inference failed */ @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final R minOfWith(Map map, Comparator comparator, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } Object obj = (R) selector.invoke((Object) it.next()); while (it.hasNext()) { Object obj2 = (R) selector.invoke((Object) it.next()); if (comparator.compare(obj, obj2) > 0) { obj = (R) obj2; } } return (R) obj; } /* JADX WARN: Multi-variable type inference failed */ @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final R minOfWithOrNull(Map map, Comparator comparator, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } Object obj = (R) selector.invoke((Object) it.next()); while (it.hasNext()) { Object obj2 = (R) selector.invoke((Object) it.next()); if (comparator.compare(obj, obj2) > 0) { obj = (R) obj2; } } return (R) obj; } @SinceKotlin(version = "1.4") @InlineOnly private static final Map.Entry minWithOrNull(Map map, Comparator> comparator) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); return (Map.Entry) CollectionsKt___CollectionsKt.minWithOrNull(map.entrySet(), comparator); } @SinceKotlin(version = "1.7") @InlineOnly @JvmName(name = "minWithOrThrow") private static final Map.Entry minWithOrThrow(Map map, Comparator> comparator) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(comparator, "comparator"); return (Map.Entry) CollectionsKt___CollectionsKt.minWithOrThrow(map.entrySet(), comparator); } public static final boolean none(Map map) { Intrinsics.checkNotNullParameter(map, ""); return map.isEmpty(); } @SinceKotlin(version = "1.1") public static final > M onEach(M m4, Function1, Unit> action) { Intrinsics.checkNotNullParameter(m4, ""); Intrinsics.checkNotNullParameter(action, "action"); Iterator> it = m4.entrySet().iterator(); while (it.hasNext()) { action.invoke(it.next()); } return m4; } @SinceKotlin(version = "1.4") public static final > M onEachIndexed(M m4, Function2, Unit> action) { Intrinsics.checkNotNullParameter(m4, ""); Intrinsics.checkNotNullParameter(action, "action"); Iterator it = m4.entrySet().iterator(); int i = 0; while (it.hasNext()) { j jVar = (Object) it.next(); int i4 = i + 1; if (i < 0) { CollectionsKt__CollectionsKt.throwIndexOverflow(); } action.invoke(Integer.valueOf(i), jVar); i = i4; } return m4; } public static final List> toList(Map map) { Intrinsics.checkNotNullParameter(map, ""); if (map.size() == 0) { return CollectionsKt__CollectionsKt.emptyList(); } Iterator> it = map.entrySet().iterator(); if (!it.hasNext()) { return CollectionsKt__CollectionsKt.emptyList(); } Map.Entry next = it.next(); if (!it.hasNext()) { return CollectionsKt__CollectionsJVMKt.listOf(new Pair(next.getKey(), next.getValue())); } ArrayList arrayList = new ArrayList(map.size()); arrayList.add(new Pair(next.getKey(), next.getValue())); do { Map.Entry next2 = it.next(); arrayList.add(new Pair(next2.getKey(), next2.getValue())); } while (it.hasNext()); return arrayList; } public static final boolean any(Map map, Function1, Boolean> predicate) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(predicate, "predicate"); if (map.isEmpty()) { return false; } Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { if (predicate.invoke(it.next()).booleanValue()) { return true; } } return false; } public static final int count(Map map, Function1, Boolean> predicate) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(predicate, "predicate"); int i = 0; if (map.isEmpty()) { return 0; } Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { if (predicate.invoke(it.next()).booleanValue()) { i++; } } return i; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: maxOf, reason: collision with other method in class */ private static final float m563maxOf(Map map, Function1, Float> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } float floatValue = selector.invoke((Object) it.next()).floatValue(); while (it.hasNext()) { floatValue = Math.max(floatValue, selector.invoke((Object) it.next()).floatValue()); } return floatValue; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: maxOfOrNull, reason: collision with other method in class */ private static final Float m566maxOfOrNull(Map map, Function1, Float> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } float floatValue = selector.invoke((Object) it.next()).floatValue(); while (it.hasNext()) { floatValue = Math.max(floatValue, selector.invoke((Object) it.next()).floatValue()); } return Float.valueOf(floatValue); } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: minOf, reason: collision with other method in class */ private static final float m567minOf(Map map, Function1, Float> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } float floatValue = selector.invoke((Object) it.next()).floatValue(); while (it.hasNext()) { floatValue = Math.min(floatValue, selector.invoke((Object) it.next()).floatValue()); } return floatValue; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: minOfOrNull, reason: collision with other method in class */ private static final Float m570minOfOrNull(Map map, Function1, Float> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } float floatValue = selector.invoke((Object) it.next()).floatValue(); while (it.hasNext()) { floatValue = Math.min(floatValue, selector.invoke((Object) it.next()).floatValue()); } return Float.valueOf(floatValue); } public static final boolean none(Map map, Function1, Boolean> predicate) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(predicate, "predicate"); if (map.isEmpty()) { return true; } Iterator> it = map.entrySet().iterator(); while (it.hasNext()) { if (predicate.invoke(it.next()).booleanValue()) { return false; } } return true; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: maxOf, reason: collision with other method in class */ private static final > R m564maxOf(Map map, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } R invoke = selector.invoke((Object) it.next()); while (it.hasNext()) { R invoke2 = selector.invoke((Object) it.next()); if (invoke.compareTo(invoke2) < 0) { invoke = invoke2; } } return invoke; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final > R maxOfOrNull(Map map, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } R invoke = selector.invoke((Object) it.next()); while (it.hasNext()) { R invoke2 = selector.invoke((Object) it.next()); if (invoke.compareTo(invoke2) < 0) { invoke = invoke2; } } return invoke; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly /* renamed from: minOf, reason: collision with other method in class */ private static final > R m568minOf(Map map, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { throw new NoSuchElementException(); } R invoke = selector.invoke((Object) it.next()); while (it.hasNext()) { R invoke2 = selector.invoke((Object) it.next()); if (invoke.compareTo(invoke2) > 0) { invoke = invoke2; } } return invoke; } @SinceKotlin(version = "1.4") @OverloadResolutionByLambdaReturnType @InlineOnly private static final > R minOfOrNull(Map map, Function1, ? extends R> selector) { Intrinsics.checkNotNullParameter(map, ""); Intrinsics.checkNotNullParameter(selector, "selector"); Iterator it = map.entrySet().iterator(); if (!it.hasNext()) { return null; } R invoke = selector.invoke((Object) it.next()); while (it.hasNext()) { R invoke2 = selector.invoke((Object) it.next()); if (invoke.compareTo(invoke2) > 0) { invoke = invoke2; } } return invoke; } }