Rabbit-R1/android (non root)/java/sources/androidx/compose/material3/TabKt.java
2024-05-21 17:08:36 -04:00

624 lines
48 KiB
Java

package androidx.compose.material3;
import androidx.compose.animation.ColorVectorConverterKt;
import androidx.compose.animation.core.AnimationSpecKt;
import androidx.compose.animation.core.EasingKt;
import androidx.compose.animation.core.FiniteAnimationSpec;
import androidx.compose.animation.core.Transition;
import androidx.compose.animation.core.TransitionKt;
import androidx.compose.animation.core.TweenSpec;
import androidx.compose.animation.core.TwoWayConverter;
import androidx.compose.foundation.layout.BoxKt;
import androidx.compose.foundation.layout.BoxScopeInstance;
import androidx.compose.foundation.layout.PaddingKt;
import androidx.compose.material3.tokens.PrimaryNavigationTabTokens;
import androidx.compose.runtime.Applier;
import androidx.compose.runtime.ComposablesKt;
import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import androidx.compose.runtime.CompositionLocalKt;
import androidx.compose.runtime.ProvidableCompositionLocal;
import androidx.compose.runtime.ProvidedValue;
import androidx.compose.runtime.RecomposeScopeImplKt;
import androidx.compose.runtime.ScopeUpdateScope;
import androidx.compose.runtime.SkippableUpdater;
import androidx.compose.runtime.State;
import androidx.compose.runtime.Updater;
import androidx.compose.ui.Alignment;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.graphics.Color;
import androidx.compose.ui.graphics.colorspace.ColorSpace;
import androidx.compose.ui.layout.AlignmentLineKt;
import androidx.compose.ui.layout.LayoutIdKt;
import androidx.compose.ui.layout.LayoutKt;
import androidx.compose.ui.layout.Measurable;
import androidx.compose.ui.layout.MeasurePolicy;
import androidx.compose.ui.layout.MeasureResult;
import androidx.compose.ui.layout.MeasureScope;
import androidx.compose.ui.layout.Placeable;
import androidx.compose.ui.node.ComposeUiNode;
import androidx.compose.ui.platform.CompositionLocalsKt;
import androidx.compose.ui.platform.ViewConfiguration;
import androidx.compose.ui.unit.Constraints;
import androidx.compose.ui.unit.Density;
import androidx.compose.ui.unit.Dp;
import androidx.compose.ui.unit.LayoutDirection;
import androidx.compose.ui.unit.TextUnitKt;
import java.util.List;
import java.util.NoSuchElementException;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.Function3;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: Tab.kt */
@Metadata(d1 = {"\u0000p\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\u001a\u0083\u0001\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u00122\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00100\u00142\u0011\u0010\u0015\u001a\r\u0012\u0004\u0012\u00020\u00100\u0014¢\u0006\u0002\b\u00162\u0011\u0010\u0017\u001a\r\u0012\u0004\u0012\u00020\u00100\u0014¢\u0006\u0002\b\u00162\b\b\u0002\u0010\u0018\u001a\u00020\u00192\b\b\u0002\u0010\u001a\u001a\u00020\u00122\b\b\u0002\u0010\u001b\u001a\u00020\u001c2\b\b\u0002\u0010\u001d\u001a\u00020\u001c2\b\b\u0002\u0010\u001e\u001a\u00020\u001fH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b \u0010!\u001a\u008b\u0001\u0010\"\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u00122\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00100\u00142\b\b\u0002\u0010\u0018\u001a\u00020\u00192\b\b\u0002\u0010\u001a\u001a\u00020\u00122\u0015\b\u0002\u0010\u0015\u001a\u000f\u0012\u0004\u0012\u00020\u0010\u0018\u00010\u0014¢\u0006\u0002\b\u00162\u0015\b\u0002\u0010\u0017\u001a\u000f\u0012\u0004\u0012\u00020\u0010\u0018\u00010\u0014¢\u0006\u0002\b\u00162\b\b\u0002\u0010\u001b\u001a\u00020\u001c2\b\b\u0002\u0010\u001d\u001a\u00020\u001c2\b\b\u0002\u0010\u001e\u001a\u00020\u001fH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b#\u0010$\u001a{\u0010\"\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u00122\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00100\u00142\b\b\u0002\u0010\u0018\u001a\u00020\u00192\b\b\u0002\u0010\u001a\u001a\u00020\u00122\b\b\u0002\u0010\u001b\u001a\u00020\u001c2\b\b\u0002\u0010\u001d\u001a\u00020\u001c2\b\b\u0002\u0010\u001e\u001a\u00020\u001f2\u001c\u0010%\u001a\u0018\u0012\u0004\u0012\u00020'\u0012\u0004\u0012\u00020\u00100&¢\u0006\u0002\b\u0016¢\u0006\u0002\b(H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b)\u0010*\u001a7\u0010+\u001a\u00020\u00102\u0013\u0010\u0015\u001a\u000f\u0012\u0004\u0012\u00020\u0010\u0018\u00010\u0014¢\u0006\u0002\b\u00162\u0013\u0010\u0017\u001a\u000f\u0012\u0004\u0012\u00020\u0010\u0018\u00010\u0014¢\u0006\u0002\b\u0016H\u0003¢\u0006\u0002\u0010,\u001a@\u0010-\u001a\u00020\u00102\u0006\u0010.\u001a\u00020\u001c2\u0006\u0010/\u001a\u00020\u001c2\u0006\u0010\u0011\u001a\u00020\u00122\u0011\u0010%\u001a\r\u0012\u0004\u0012\u00020\u00100\u0014¢\u0006\u0002\b\u0016H\u0003ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b0\u00101\u001aD\u00102\u001a\u00020\u0010*\u0002032\u0006\u00104\u001a\u0002052\u0006\u00106\u001a\u0002072\u0006\u00108\u001a\u0002072\u0006\u00109\u001a\u00020\u000b2\u0006\u0010:\u001a\u00020\u000b2\u0006\u0010;\u001a\u00020\u000b2\u0006\u0010<\u001a\u00020\u000bH\u0002\u001a\u001c\u0010=\u001a\u00020\u0010*\u0002032\u0006\u0010>\u001a\u0002072\u0006\u0010:\u001a\u00020\u000bH\u0002\"\u0013\u0010\u0000\u001a\u00020\u0001X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0002\"\u0013\u0010\u0003\u001a\u00020\u0001X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0002\"\u0013\u0010\u0004\u001a\u00020\u0005X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0006\"\u0013\u0010\u0007\u001a\u00020\u0001X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0002\"\u0013\u0010\b\u001a\u00020\u0001X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0002\"\u0013\u0010\t\u001a\u00020\u0001X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0002\"\u000e\u0010\n\u001a\u00020\u000bX\u0082T¢\u0006\u0002\n\u0000\"\u000e\u0010\f\u001a\u00020\u000bX\u0082T¢\u0006\u0002\n\u0000\"\u000e\u0010\r\u001a\u00020\u000bX\u0082T¢\u0006\u0002\n\u0000\"\u0013\u0010\u000e\u001a\u00020\u0001X\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\u0002\u0082\u0002\u000b\n\u0002\b\u0019\n\u0005\\u001e0\u0001¨\u0006?"}, d2 = {"DoubleLineTextBaselineWithIcon", "Landroidx/compose/ui/unit/Dp;", "F", "HorizontalTextPadding", "IconDistanceFromBaseline", "Landroidx/compose/ui/unit/TextUnit;", "J", "LargeTabHeight", "SingleLineTextBaselineWithIcon", "SmallTabHeight", "TabFadeInAnimationDelay", "", "TabFadeInAnimationDuration", "TabFadeOutAnimationDuration", "TextDistanceFromLeadingIcon", "LeadingIconTab", "", "selected", "", "onClick", "Lkotlin/Function0;", "text", "Landroidx/compose/runtime/Composable;", "icon", "modifier", "Landroidx/compose/ui/Modifier;", "enabled", "selectedContentColor", "Landroidx/compose/ui/graphics/Color;", "unselectedContentColor", "interactionSource", "Landroidx/compose/foundation/interaction/MutableInteractionSource;", "LeadingIconTab-wqdebIU", "(ZLkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Landroidx/compose/ui/Modifier;ZJJLandroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/runtime/Composer;II)V", "Tab", "Tab-wqdebIU", "(ZLkotlin/jvm/functions/Function0;Landroidx/compose/ui/Modifier;ZLkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;JJLandroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/runtime/Composer;II)V", "content", "Lkotlin/Function1;", "Landroidx/compose/foundation/layout/ColumnScope;", "Lkotlin/ExtensionFunctionType;", "Tab-bogVsAg", "(ZLkotlin/jvm/functions/Function0;Landroidx/compose/ui/Modifier;ZJJLandroidx/compose/foundation/interaction/MutableInteractionSource;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;II)V", "TabBaselineLayout", "(Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V", "TabTransition", "activeColor", "inactiveColor", "TabTransition-Klgx-Pg", "(JJZLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V", "placeTextAndIcon", "Landroidx/compose/ui/layout/Placeable$PlacementScope;", "density", "Landroidx/compose/ui/unit/Density;", "textPlaceable", "Landroidx/compose/ui/layout/Placeable;", "iconPlaceable", "tabWidth", "tabHeight", "firstBaseline", "lastBaseline", "placeTextOrIcon", "textOrIconPlaceable", "material3_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class TabKt {
private static final int TabFadeInAnimationDelay = 100;
private static final int TabFadeInAnimationDuration = 150;
private static final int TabFadeOutAnimationDuration = 100;
private static final float SmallTabHeight = PrimaryNavigationTabTokens.INSTANCE.m2104getContainerHeightD9Ej5fM();
private static final float LargeTabHeight = Dp.m4883constructorimpl(72);
private static final float HorizontalTextPadding = Dp.m4883constructorimpl(16);
private static final float SingleLineTextBaselineWithIcon = Dp.m4883constructorimpl(14);
private static final float DoubleLineTextBaselineWithIcon = Dp.m4883constructorimpl(6);
private static final long IconDistanceFromBaseline = TextUnitKt.getSp(20);
private static final float TextDistanceFromLeadingIcon = Dp.m4883constructorimpl(8);
/* JADX WARN: Removed duplicated region for block: B:106:0x00f7 */
/* JADX WARN: Removed duplicated region for block: B:108:0x00dc */
/* JADX WARN: Removed duplicated region for block: B:109:0x00af */
/* JADX WARN: Removed duplicated region for block: B:116:0x008d */
/* JADX WARN: Removed duplicated region for block: B:123:0x006e */
/* JADX WARN: Removed duplicated region for block: B:13:0x006b */
/* JADX WARN: Removed duplicated region for block: B:17:0x008a */
/* JADX WARN: Removed duplicated region for block: B:21:0x00a8 */
/* JADX WARN: Removed duplicated region for block: B:24:0x00c8 */
/* JADX WARN: Removed duplicated region for block: B:32:0x00e4 */
/* JADX WARN: Removed duplicated region for block: B:40:0x00fd */
/* JADX WARN: Removed duplicated region for block: B:43:0x0123 */
/* JADX WARN: Removed duplicated region for block: B:48:0x027f */
/* JADX WARN: Removed duplicated region for block: B:51:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:54:0x0149 */
/* JADX WARN: Removed duplicated region for block: B:65:0x01f4 */
/* JADX WARN: Removed duplicated region for block: B:67:0x01ff */
/* JADX WARN: Removed duplicated region for block: B:70:0x0267 */
/* JADX WARN: Removed duplicated region for block: B:72:0x0211 */
/* JADX WARN: Removed duplicated region for block: B:74:0x0172 */
/* JADX WARN: Removed duplicated region for block: B:76:0x017b */
/* JADX WARN: Removed duplicated region for block: B:78:0x0181 */
/* JADX WARN: Removed duplicated region for block: B:80:0x0188 */
/* JADX WARN: Removed duplicated region for block: B:83:0x018e */
/* JADX WARN: Removed duplicated region for block: B:86:0x01b2 */
/* JADX WARN: Removed duplicated region for block: B:88:0x01b9 */
/* JADX WARN: Removed duplicated region for block: B:93:0x01df */
/* JADX WARN: Removed duplicated region for block: B:94:0x01ac */
/* JADX WARN: Removed duplicated region for block: B:95:0x0184 */
/* JADX WARN: Removed duplicated region for block: B:96:0x017d */
/* JADX WARN: Removed duplicated region for block: B:97:0x0177 */
/* JADX WARN: Removed duplicated region for block: B:98:0x0104 */
/* renamed from: Tab-wqdebIU, reason: not valid java name */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static final void m1511TabwqdebIU(final boolean r27, final kotlin.jvm.functions.Function0<kotlin.Unit> r28, androidx.compose.ui.Modifier r29, boolean r30, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer, ? super java.lang.Integer, kotlin.Unit> r31, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer, ? super java.lang.Integer, kotlin.Unit> r32, long r33, long r35, androidx.compose.foundation.interaction.MutableInteractionSource r37, androidx.compose.runtime.Composer r38, final int r39, final int r40) {
/*
Method dump skipped, instructions count: 664
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.TabKt.m1511TabwqdebIU(boolean, kotlin.jvm.functions.Function0, androidx.compose.ui.Modifier, boolean, kotlin.jvm.functions.Function2, kotlin.jvm.functions.Function2, long, long, androidx.compose.foundation.interaction.MutableInteractionSource, androidx.compose.runtime.Composer, int, int):void");
}
/* JADX WARN: Removed duplicated region for block: B:19:0x00aa */
/* JADX WARN: Removed duplicated region for block: B:23:0x00c9 */
/* JADX WARN: Removed duplicated region for block: B:31:0x00e5 */
/* JADX WARN: Removed duplicated region for block: B:39:0x0105 */
/* JADX WARN: Removed duplicated region for block: B:42:0x012b */
/* JADX WARN: Removed duplicated region for block: B:47:0x0263 */
/* JADX WARN: Removed duplicated region for block: B:50:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:53:0x0149 */
/* JADX WARN: Removed duplicated region for block: B:64:0x01e8 */
/* JADX WARN: Removed duplicated region for block: B:67:0x024f */
/* JADX WARN: Removed duplicated region for block: B:70:0x0172 */
/* JADX WARN: Removed duplicated region for block: B:72:0x0179 */
/* JADX WARN: Removed duplicated region for block: B:75:0x017e */
/* JADX WARN: Removed duplicated region for block: B:78:0x019f */
/* JADX WARN: Removed duplicated region for block: B:80:0x01ad */
/* JADX WARN: Removed duplicated region for block: B:85:0x01d4 */
/* JADX WARN: Removed duplicated region for block: B:86:0x01a7 */
/* JADX WARN: Removed duplicated region for block: B:87:0x010c */
/* JADX WARN: Removed duplicated region for block: B:95:0x00fb */
/* JADX WARN: Removed duplicated region for block: B:98:0x00de */
/* JADX WARN: Removed duplicated region for block: B:99:0x00ae */
/* renamed from: LeadingIconTab-wqdebIU, reason: not valid java name */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static final void m1509LeadingIconTabwqdebIU(final boolean r24, final kotlin.jvm.functions.Function0<kotlin.Unit> r25, final kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer, ? super java.lang.Integer, kotlin.Unit> r26, final kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer, ? super java.lang.Integer, kotlin.Unit> r27, androidx.compose.ui.Modifier r28, boolean r29, long r30, long r32, androidx.compose.foundation.interaction.MutableInteractionSource r34, androidx.compose.runtime.Composer r35, final int r36, final int r37) {
/*
Method dump skipped, instructions count: 638
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.TabKt.m1509LeadingIconTabwqdebIU(boolean, kotlin.jvm.functions.Function0, kotlin.jvm.functions.Function2, kotlin.jvm.functions.Function2, androidx.compose.ui.Modifier, boolean, long, long, androidx.compose.foundation.interaction.MutableInteractionSource, androidx.compose.runtime.Composer, int, int):void");
}
/* JADX WARN: Removed duplicated region for block: B:102:0x00a5 */
/* JADX WARN: Removed duplicated region for block: B:103:0x0075 */
/* JADX WARN: Removed duplicated region for block: B:13:0x0072 */
/* JADX WARN: Removed duplicated region for block: B:17:0x0090 */
/* JADX WARN: Removed duplicated region for block: B:25:0x00ac */
/* JADX WARN: Removed duplicated region for block: B:33:0x00cc */
/* JADX WARN: Removed duplicated region for block: B:36:0x00ec */
/* JADX WARN: Removed duplicated region for block: B:40:0x010a */
/* JADX WARN: Removed duplicated region for block: B:45:0x0234 */
/* JADX WARN: Removed duplicated region for block: B:48:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:51:0x0126 */
/* JADX WARN: Removed duplicated region for block: B:62:0x01c0 */
/* JADX WARN: Removed duplicated region for block: B:65:0x0221 */
/* JADX WARN: Removed duplicated region for block: B:68:0x014c */
/* JADX WARN: Removed duplicated region for block: B:70:0x0153 */
/* JADX WARN: Removed duplicated region for block: B:73:0x0158 */
/* JADX WARN: Removed duplicated region for block: B:76:0x0179 */
/* JADX WARN: Removed duplicated region for block: B:78:0x0185 */
/* JADX WARN: Removed duplicated region for block: B:83:0x01ad */
/* JADX WARN: Removed duplicated region for block: B:84:0x0181 */
/* JADX WARN: Removed duplicated region for block: B:85:0x00f0 */
/* JADX WARN: Removed duplicated region for block: B:91:0x00d3 */
/* JADX WARN: Removed duplicated region for block: B:99:0x00c2 */
/* renamed from: Tab-bogVsAg, reason: not valid java name */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static final void m1510TabbogVsAg(final boolean r23, final kotlin.jvm.functions.Function0<kotlin.Unit> r24, androidx.compose.ui.Modifier r25, boolean r26, long r27, long r29, androidx.compose.foundation.interaction.MutableInteractionSource r31, final kotlin.jvm.functions.Function3<? super androidx.compose.foundation.layout.ColumnScope, ? super androidx.compose.runtime.Composer, ? super java.lang.Integer, kotlin.Unit> r32, androidx.compose.runtime.Composer r33, final int r34, final int r35) {
/*
Method dump skipped, instructions count: 586
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.compose.material3.TabKt.m1510TabbogVsAg(boolean, kotlin.jvm.functions.Function0, androidx.compose.ui.Modifier, boolean, long, long, androidx.compose.foundation.interaction.MutableInteractionSource, kotlin.jvm.functions.Function3, androidx.compose.runtime.Composer, int, int):void");
}
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: TabTransition-Klgx-Pg, reason: not valid java name */
public static final void m1512TabTransitionKlgxPg(final long j, final long j2, final boolean z, final Function2<? super Composer, ? super Integer, Unit> function2, Composer composer, final int i) {
int i2;
Composer startRestartGroup = composer.startRestartGroup(735731848);
ComposerKt.sourceInformation(startRestartGroup, "C(TabTransition)P(0:c#ui.graphics.Color,2:c#ui.graphics.Color,3)272@11770L26,273@11825L550,291@12380L99:Tab.kt#uh7d8r");
if ((i & 14) == 0) {
i2 = (startRestartGroup.changed(j) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 112) == 0) {
i2 |= startRestartGroup.changed(j2) ? 32 : 16;
}
if ((i & 896) == 0) {
i2 |= startRestartGroup.changed(z) ? 256 : 128;
}
if ((i & 7168) == 0) {
i2 |= startRestartGroup.changedInstance(function2) ? 2048 : 1024;
}
if ((i2 & 5851) != 1170 || !startRestartGroup.getSkipping()) {
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(735731848, i2, -1, "androidx.compose.material3.TabTransition (Tab.kt:266)");
}
int i3 = i2 >> 6;
Transition updateTransition = TransitionKt.updateTransition(Boolean.valueOf(z), (String) null, startRestartGroup, i3 & 14, 2);
TabKt$TabTransition$color$2 tabKt$TabTransition$color$2 = new Function3<Transition.Segment<Boolean>, Composer, Integer, FiniteAnimationSpec<Color>>() { // from class: androidx.compose.material3.TabKt$TabTransition$color$2
@Override // kotlin.jvm.functions.Function3
public /* bridge */ /* synthetic */ FiniteAnimationSpec<Color> invoke(Transition.Segment<Boolean> segment, Composer composer2, Integer num) {
return invoke(segment, composer2, num.intValue());
}
public final FiniteAnimationSpec<Color> invoke(Transition.Segment<Boolean> animateColor, Composer composer2, int i4) {
TweenSpec tween$default;
Intrinsics.checkNotNullParameter(animateColor, "$this$animateColor");
composer2.startReplaceableGroup(-899623535);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-899623535, i4, -1, "androidx.compose.material3.TabTransition.<anonymous> (Tab.kt:274)");
}
if (animateColor.isTransitioningTo(false, true)) {
tween$default = AnimationSpecKt.tween(150, 100, EasingKt.getLinearEasing());
} else {
tween$default = AnimationSpecKt.tween$default(100, 0, EasingKt.getLinearEasing(), 2, null);
}
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
composer2.endReplaceableGroup();
return tween$default;
}
};
startRestartGroup.startReplaceableGroup(-1939694975);
ComposerKt.sourceInformation(startRestartGroup, "CC(animateColor)P(2)68@3220L31,69@3287L70,73@3370L70:Transition.kt#xbi5r1");
boolean booleanValue = ((Boolean) updateTransition.getTargetState()).booleanValue();
startRestartGroup.startReplaceableGroup(-1997025499);
ComposerKt.sourceInformation(startRestartGroup, "C:Tab.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1997025499, 0, -1, "androidx.compose.material3.TabTransition.<anonymous> (Tab.kt:288)");
}
long j3 = booleanValue ? j : j2;
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
startRestartGroup.endReplaceableGroup();
ColorSpace m2643getColorSpaceimpl = Color.m2643getColorSpaceimpl(j3);
startRestartGroup.startReplaceableGroup(1157296644);
ComposerKt.sourceInformation(startRestartGroup, "C(remember)P(1):Composables.kt#9igjgp");
boolean changed = startRestartGroup.changed(m2643getColorSpaceimpl);
Object rememberedValue = startRestartGroup.rememberedValue();
if (changed || rememberedValue == Composer.INSTANCE.getEmpty()) {
rememberedValue = (TwoWayConverter) ColorVectorConverterKt.getVectorConverter(Color.INSTANCE).invoke(m2643getColorSpaceimpl);
startRestartGroup.updateRememberedValue(rememberedValue);
}
startRestartGroup.endReplaceableGroup();
TwoWayConverter twoWayConverter = (TwoWayConverter) rememberedValue;
startRestartGroup.startReplaceableGroup(-142660079);
ComposerKt.sourceInformation(startRestartGroup, "CC(animateValue)P(3,2)856@34079L32,857@34134L31,858@34190L23,860@34226L89:Transition.kt#pdpnli");
boolean booleanValue2 = ((Boolean) updateTransition.getCurrentState()).booleanValue();
startRestartGroup.startReplaceableGroup(-1997025499);
ComposerKt.sourceInformation(startRestartGroup, "C:Tab.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1997025499, 0, -1, "androidx.compose.material3.TabTransition.<anonymous> (Tab.kt:288)");
}
long j4 = booleanValue2 ? j : j2;
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
startRestartGroup.endReplaceableGroup();
Color m2629boximpl = Color.m2629boximpl(j4);
boolean booleanValue3 = ((Boolean) updateTransition.getTargetState()).booleanValue();
startRestartGroup.startReplaceableGroup(-1997025499);
ComposerKt.sourceInformation(startRestartGroup, "C:Tab.kt#uh7d8r");
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(-1997025499, 0, -1, "androidx.compose.material3.TabTransition.<anonymous> (Tab.kt:288)");
}
long j5 = booleanValue3 ? j : j2;
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
startRestartGroup.endReplaceableGroup();
State createTransitionAnimation = TransitionKt.createTransitionAnimation(updateTransition, m2629boximpl, Color.m2629boximpl(j5), tabKt$TabTransition$color$2.invoke((TabKt$TabTransition$color$2) updateTransition.getSegment(), (Transition.Segment) startRestartGroup, (Composer) 0), twoWayConverter, "ColorAnimation", startRestartGroup, 32768);
startRestartGroup.endReplaceableGroup();
startRestartGroup.endReplaceableGroup();
CompositionLocalKt.CompositionLocalProvider((ProvidedValue<?>[]) new ProvidedValue[]{ContentColorKt.getLocalContentColor().provides(Color.m2629boximpl(TabTransition_Klgx_Pg$lambda$5(createTransitionAnimation)))}, function2, startRestartGroup, (i3 & 112) | 8);
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
} else {
startRestartGroup.skipToGroupEnd();
}
ScopeUpdateScope endRestartGroup = startRestartGroup.endRestartGroup();
if (endRestartGroup == null) {
return;
}
endRestartGroup.updateScope(new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.TabKt$TabTransition$1
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
{
super(2);
}
@Override // kotlin.jvm.functions.Function2
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
invoke(composer2, num.intValue());
return Unit.INSTANCE;
}
public final void invoke(Composer composer2, int i4) {
TabKt.m1512TabTransitionKlgxPg(j, j2, z, function2, composer2, RecomposeScopeImplKt.updateChangedFlags(i | 1));
}
});
}
/* JADX INFO: Access modifiers changed from: private */
public static final void TabBaselineLayout(final Function2<? super Composer, ? super Integer, Unit> function2, final Function2<? super Composer, ? super Integer, Unit> function22, Composer composer, final int i) {
int i2;
Composer startRestartGroup = composer.startRestartGroup(514131524);
ComposerKt.sourceInformation(startRestartGroup, "C(TabBaselineLayout)P(1)307@12887L2151:Tab.kt#uh7d8r");
if ((i & 14) == 0) {
i2 = (startRestartGroup.changedInstance(function2) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 112) == 0) {
i2 |= startRestartGroup.changedInstance(function22) ? 32 : 16;
}
if ((i2 & 91) != 18 || !startRestartGroup.getSkipping()) {
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventStart(514131524, i2, -1, "androidx.compose.material3.TabBaselineLayout (Tab.kt:303)");
}
MeasurePolicy measurePolicy = new MeasurePolicy() { // from class: androidx.compose.material3.TabKt$TabBaselineLayout$2
@Override // androidx.compose.ui.layout.MeasurePolicy
/* renamed from: measure-3p2s80s */
public final MeasureResult mo21measure3p2s80s(final MeasureScope Layout, List<? extends Measurable> measurables, long j) {
Placeable placeable;
Placeable placeable2;
float f;
long j2;
Intrinsics.checkNotNullParameter(Layout, "$this$Layout");
Intrinsics.checkNotNullParameter(measurables, "measurables");
if (function2 != null) {
for (Measurable measurable : measurables) {
if (Intrinsics.areEqual(LayoutIdKt.getLayoutId(measurable), "text")) {
placeable = measurable.mo3876measureBRTryo0(Constraints.m4830copyZbe2FdA$default(j, 0, 0, 0, 0, 11, null));
}
}
throw new NoSuchElementException("Collection contains no element matching the predicate.");
}
placeable = null;
if (function22 != null) {
for (Measurable measurable2 : measurables) {
if (Intrinsics.areEqual(LayoutIdKt.getLayoutId(measurable2), "icon")) {
placeable2 = measurable2.mo3876measureBRTryo0(j);
}
}
throw new NoSuchElementException("Collection contains no element matching the predicate.");
}
placeable2 = null;
final int max = Math.max(placeable != null ? placeable.getWidth() : 0, placeable2 != null ? placeable2.getWidth() : 0);
if (placeable != null && placeable2 != null) {
f = TabKt.LargeTabHeight;
} else {
f = TabKt.SmallTabHeight;
}
int i3 = Layout.mo329roundToPx0680j_4(f);
int height = placeable2 != null ? placeable2.getHeight() : 0;
int height2 = placeable != null ? placeable.getHeight() : 0;
j2 = TabKt.IconDistanceFromBaseline;
final int max2 = Math.max(i3, height + height2 + Layout.mo328roundToPxR2X_6o(j2));
final Integer valueOf = placeable != null ? Integer.valueOf(placeable.get(AlignmentLineKt.getFirstBaseline())) : null;
final Integer valueOf2 = placeable != null ? Integer.valueOf(placeable.get(AlignmentLineKt.getLastBaseline())) : null;
final Placeable placeable3 = placeable;
final Placeable placeable4 = placeable2;
return MeasureScope.layout$default(Layout, max, max2, null, new Function1<Placeable.PlacementScope, Unit>() { // from class: androidx.compose.material3.TabKt$TabBaselineLayout$2$measure$1
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(1);
}
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Placeable.PlacementScope placementScope) {
invoke2(placementScope);
return Unit.INSTANCE;
}
/* renamed from: invoke, reason: avoid collision after fix types in other method */
public final void invoke2(Placeable.PlacementScope layout) {
Placeable placeable5;
Intrinsics.checkNotNullParameter(layout, "$this$layout");
Placeable placeable6 = Placeable.this;
if (placeable6 == null || (placeable5 = placeable4) == null) {
if (placeable6 != null) {
TabKt.placeTextOrIcon(layout, placeable6, max2);
return;
}
Placeable placeable7 = placeable4;
if (placeable7 != null) {
TabKt.placeTextOrIcon(layout, placeable7, max2);
return;
}
return;
}
MeasureScope measureScope = Layout;
int i4 = max;
int i5 = max2;
Integer num = valueOf;
Intrinsics.checkNotNull(num);
int intValue = num.intValue();
Integer num2 = valueOf2;
Intrinsics.checkNotNull(num2);
TabKt.placeTextAndIcon(layout, measureScope, placeable6, placeable5, i4, i5, intValue, num2.intValue());
}
}, 4, null);
}
};
startRestartGroup.startReplaceableGroup(-1323940314);
ComposerKt.sourceInformation(startRestartGroup, "CC(Layout)P(!1,2)73@2855L7,74@2910L7,75@2969L7,76@2981L460:Layout.kt#80mrfh");
Modifier.Companion companion = Modifier.INSTANCE;
ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "CC:CompositionLocal.kt#9igjgp");
Object consume = startRestartGroup.consume(localDensity);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
Density density = (Density) consume;
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection = CompositionLocalsKt.getLocalLayoutDirection();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "CC:CompositionLocal.kt#9igjgp");
Object consume2 = startRestartGroup.consume(localLayoutDirection);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
LayoutDirection layoutDirection = (LayoutDirection) consume2;
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration = CompositionLocalsKt.getLocalViewConfiguration();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "CC:CompositionLocal.kt#9igjgp");
Object consume3 = startRestartGroup.consume(localViewConfiguration);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
ViewConfiguration viewConfiguration = (ViewConfiguration) consume3;
Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf = LayoutKt.materializerOf(companion);
if (!(startRestartGroup.getApplier() instanceof Applier)) {
ComposablesKt.invalidApplier();
}
startRestartGroup.startReusableNode();
if (startRestartGroup.getInserting()) {
startRestartGroup.createNode(constructor);
} else {
startRestartGroup.useNode();
}
Composer m2273constructorimpl = Updater.m2273constructorimpl(startRestartGroup);
Updater.m2280setimpl(m2273constructorimpl, measurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
Updater.m2280setimpl(m2273constructorimpl, density, ComposeUiNode.INSTANCE.getSetDensity());
Updater.m2280setimpl(m2273constructorimpl, layoutDirection, ComposeUiNode.INSTANCE.getSetLayoutDirection());
Updater.m2280setimpl(m2273constructorimpl, viewConfiguration, ComposeUiNode.INSTANCE.getSetViewConfiguration());
materializerOf.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(startRestartGroup)), startRestartGroup, 0);
startRestartGroup.startReplaceableGroup(2058660585);
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 720851189, "C:Tab.kt#uh7d8r");
startRestartGroup.startReplaceableGroup(720851189);
ComposerKt.sourceInformation(startRestartGroup, "310@12953L173");
if (function2 != null) {
Modifier m492paddingVpY3zN4$default = PaddingKt.m492paddingVpY3zN4$default(LayoutIdKt.layoutId(Modifier.INSTANCE, "text"), HorizontalTextPadding, 0.0f, 2, null);
startRestartGroup.startReplaceableGroup(733328855);
ComposerKt.sourceInformation(startRestartGroup, "CC(Box)P(2,1,3)70@3267L67,71@3339L130:Box.kt#2w3rfo");
MeasurePolicy rememberBoxMeasurePolicy = BoxKt.rememberBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), false, startRestartGroup, 0);
startRestartGroup.startReplaceableGroup(-1323940314);
ComposerKt.sourceInformation(startRestartGroup, "C(Layout)P(!1,2)74@2915L7,75@2970L7,76@3029L7,77@3041L460:Layout.kt#80mrfh");
ProvidableCompositionLocal<Density> localDensity2 = CompositionLocalsKt.getLocalDensity();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "C:CompositionLocal.kt#9igjgp");
Object consume4 = startRestartGroup.consume(localDensity2);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
Density density2 = (Density) consume4;
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection2 = CompositionLocalsKt.getLocalLayoutDirection();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "C:CompositionLocal.kt#9igjgp");
Object consume5 = startRestartGroup.consume(localLayoutDirection2);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
LayoutDirection layoutDirection2 = (LayoutDirection) consume5;
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration2 = CompositionLocalsKt.getLocalViewConfiguration();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "C:CompositionLocal.kt#9igjgp");
Object consume6 = startRestartGroup.consume(localViewConfiguration2);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
ViewConfiguration viewConfiguration2 = (ViewConfiguration) consume6;
Function0<ComposeUiNode> constructor2 = ComposeUiNode.INSTANCE.getConstructor();
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf2 = LayoutKt.materializerOf(m492paddingVpY3zN4$default);
if (!(startRestartGroup.getApplier() instanceof Applier)) {
ComposablesKt.invalidApplier();
}
startRestartGroup.startReusableNode();
if (startRestartGroup.getInserting()) {
startRestartGroup.createNode(constructor2);
} else {
startRestartGroup.useNode();
}
startRestartGroup.disableReusing();
Composer m2273constructorimpl2 = Updater.m2273constructorimpl(startRestartGroup);
Updater.m2280setimpl(m2273constructorimpl2, rememberBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
Updater.m2280setimpl(m2273constructorimpl2, density2, ComposeUiNode.INSTANCE.getSetDensity());
Updater.m2280setimpl(m2273constructorimpl2, layoutDirection2, ComposeUiNode.INSTANCE.getSetLayoutDirection());
Updater.m2280setimpl(m2273constructorimpl2, viewConfiguration2, ComposeUiNode.INSTANCE.getSetViewConfiguration());
startRestartGroup.enableReusing();
materializerOf2.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(startRestartGroup)), startRestartGroup, 0);
startRestartGroup.startReplaceableGroup(2058660585);
ComposerKt.sourceInformationMarkerStart(startRestartGroup, -1253629305, "C72@3384L9:Box.kt#2w3rfo");
BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
ComposerKt.sourceInformationMarkerStart(startRestartGroup, -978021409, "C314@13118L6:Tab.kt#uh7d8r");
function2.invoke(startRestartGroup, Integer.valueOf(i2 & 14));
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
startRestartGroup.endReplaceableGroup();
startRestartGroup.endNode();
startRestartGroup.endReplaceableGroup();
startRestartGroup.endReplaceableGroup();
}
startRestartGroup.endReplaceableGroup();
startRestartGroup.startReplaceableGroup(150513216);
ComposerKt.sourceInformation(startRestartGroup, "317@13189L41");
if (function22 != null) {
Modifier layoutId = LayoutIdKt.layoutId(Modifier.INSTANCE, "icon");
startRestartGroup.startReplaceableGroup(733328855);
ComposerKt.sourceInformation(startRestartGroup, "CC(Box)P(2,1,3)70@3267L67,71@3339L130:Box.kt#2w3rfo");
MeasurePolicy rememberBoxMeasurePolicy2 = BoxKt.rememberBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), false, startRestartGroup, 0);
startRestartGroup.startReplaceableGroup(-1323940314);
ComposerKt.sourceInformation(startRestartGroup, "C(Layout)P(!1,2)74@2915L7,75@2970L7,76@3029L7,77@3041L460:Layout.kt#80mrfh");
ProvidableCompositionLocal<Density> localDensity3 = CompositionLocalsKt.getLocalDensity();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "C:CompositionLocal.kt#9igjgp");
Object consume7 = startRestartGroup.consume(localDensity3);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
Density density3 = (Density) consume7;
ProvidableCompositionLocal<LayoutDirection> localLayoutDirection3 = CompositionLocalsKt.getLocalLayoutDirection();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "C:CompositionLocal.kt#9igjgp");
Object consume8 = startRestartGroup.consume(localLayoutDirection3);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
LayoutDirection layoutDirection3 = (LayoutDirection) consume8;
ProvidableCompositionLocal<ViewConfiguration> localViewConfiguration3 = CompositionLocalsKt.getLocalViewConfiguration();
ComposerKt.sourceInformationMarkerStart(startRestartGroup, 2023513938, "C:CompositionLocal.kt#9igjgp");
Object consume9 = startRestartGroup.consume(localViewConfiguration3);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
ViewConfiguration viewConfiguration3 = (ViewConfiguration) consume9;
Function0<ComposeUiNode> constructor3 = ComposeUiNode.INSTANCE.getConstructor();
Function3<SkippableUpdater<ComposeUiNode>, Composer, Integer, Unit> materializerOf3 = LayoutKt.materializerOf(layoutId);
if (!(startRestartGroup.getApplier() instanceof Applier)) {
ComposablesKt.invalidApplier();
}
startRestartGroup.startReusableNode();
if (startRestartGroup.getInserting()) {
startRestartGroup.createNode(constructor3);
} else {
startRestartGroup.useNode();
}
startRestartGroup.disableReusing();
Composer m2273constructorimpl3 = Updater.m2273constructorimpl(startRestartGroup);
Updater.m2280setimpl(m2273constructorimpl3, rememberBoxMeasurePolicy2, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
Updater.m2280setimpl(m2273constructorimpl3, density3, ComposeUiNode.INSTANCE.getSetDensity());
Updater.m2280setimpl(m2273constructorimpl3, layoutDirection3, ComposeUiNode.INSTANCE.getSetLayoutDirection());
Updater.m2280setimpl(m2273constructorimpl3, viewConfiguration3, ComposeUiNode.INSTANCE.getSetViewConfiguration());
startRestartGroup.enableReusing();
materializerOf3.invoke(SkippableUpdater.m2264boximpl(SkippableUpdater.m2265constructorimpl(startRestartGroup)), startRestartGroup, 0);
startRestartGroup.startReplaceableGroup(2058660585);
ComposerKt.sourceInformationMarkerStart(startRestartGroup, -1253629305, "C72@3384L9:Box.kt#2w3rfo");
BoxScopeInstance boxScopeInstance2 = BoxScopeInstance.INSTANCE;
ComposerKt.sourceInformationMarkerStart(startRestartGroup, -978021305, "C317@13222L6:Tab.kt#uh7d8r");
function22.invoke(startRestartGroup, Integer.valueOf((i2 >> 3) & 14));
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
startRestartGroup.endReplaceableGroup();
startRestartGroup.endNode();
startRestartGroup.endReplaceableGroup();
startRestartGroup.endReplaceableGroup();
}
startRestartGroup.endReplaceableGroup();
ComposerKt.sourceInformationMarkerEnd(startRestartGroup);
startRestartGroup.endReplaceableGroup();
startRestartGroup.endNode();
startRestartGroup.endReplaceableGroup();
if (ComposerKt.isTraceInProgress()) {
ComposerKt.traceEventEnd();
}
} else {
startRestartGroup.skipToGroupEnd();
}
ScopeUpdateScope endRestartGroup = startRestartGroup.endRestartGroup();
if (endRestartGroup == null) {
return;
}
endRestartGroup.updateScope(new Function2<Composer, Integer, Unit>() { // from class: androidx.compose.material3.TabKt$TabBaselineLayout$3
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
{
super(2);
}
@Override // kotlin.jvm.functions.Function2
public /* bridge */ /* synthetic */ Unit invoke(Composer composer2, Integer num) {
invoke(composer2, num.intValue());
return Unit.INSTANCE;
}
public final void invoke(Composer composer2, int i3) {
TabKt.TabBaselineLayout(function2, function22, composer2, RecomposeScopeImplKt.updateChangedFlags(i | 1));
}
});
}
/* JADX INFO: Access modifiers changed from: private */
public static final void placeTextOrIcon(Placeable.PlacementScope placementScope, Placeable placeable, int i) {
Placeable.PlacementScope.placeRelative$default(placementScope, placeable, 0, (i - placeable.getHeight()) / 2, 0.0f, 4, null);
}
/* JADX INFO: Access modifiers changed from: private */
public static final void placeTextAndIcon(Placeable.PlacementScope placementScope, Density density, Placeable placeable, Placeable placeable2, int i, int i2, int i3, int i4) {
int mo329roundToPx0680j_4 = density.mo329roundToPx0680j_4(i3 == i4 ? SingleLineTextBaselineWithIcon : DoubleLineTextBaselineWithIcon) + density.mo329roundToPx0680j_4(PrimaryNavigationTabTokens.INSTANCE.m2102getActiveIndicatorHeightD9Ej5fM());
int height = (placeable2.getHeight() + density.mo328roundToPxR2X_6o(IconDistanceFromBaseline)) - i3;
int i5 = (i2 - i4) - mo329roundToPx0680j_4;
Placeable.PlacementScope.placeRelative$default(placementScope, placeable, (i - placeable.getWidth()) / 2, i5, 0.0f, 4, null);
Placeable.PlacementScope.placeRelative$default(placementScope, placeable2, (i - placeable2.getWidth()) / 2, i5 - height, 0.0f, 4, null);
}
private static final long TabTransition_Klgx_Pg$lambda$5(State<Color> state) {
return state.getValue().m2649unboximpl();
}
}