package androidx.compose.material3; import androidx.compose.runtime.Composer; import androidx.compose.runtime.ComposerKt; import androidx.compose.runtime.CompositionLocalKt; import androidx.compose.runtime.ProvidableCompositionLocal; import androidx.compose.ui.ComposedModifierKt; import androidx.compose.ui.Modifier; import androidx.compose.ui.platform.InspectableValueKt; import androidx.compose.ui.platform.InspectorInfo; import androidx.compose.ui.unit.Dp; import androidx.compose.ui.unit.DpKt; import kotlin.Deprecated; import kotlin.DeprecationLevel; import kotlin.Metadata; import kotlin.ReplaceWith; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function3; import kotlin.jvm.internal.Intrinsics; /* compiled from: InteractiveComponentSize.kt */ @Metadata(d1 = {"\u0000\u001a\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\b\b\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u001a\n\u0010\n\u001a\u00020\r*\u00020\r\"\"\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u00018GX\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006\"\"\u0010\u0007\u001a\b\u0012\u0004\u0012\u00020\u00020\u00018GX\u0087\u0004¢\u0006\u000e\n\u0000\u0012\u0004\b\b\u0010\u0004\u001a\u0004\b\t\u0010\u0006\"\u0013\u0010\n\u001a\u00020\u000bX\u0082\u0004ø\u0001\u0000¢\u0006\u0004\n\u0002\u0010\f\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u000e"}, d2 = {"LocalMinimumInteractiveComponentEnforcement", "Landroidx/compose/runtime/ProvidableCompositionLocal;", "", "getLocalMinimumInteractiveComponentEnforcement$annotations", "()V", "getLocalMinimumInteractiveComponentEnforcement", "()Landroidx/compose/runtime/ProvidableCompositionLocal;", "LocalMinimumTouchTargetEnforcement", "getLocalMinimumTouchTargetEnforcement$annotations", "getLocalMinimumTouchTargetEnforcement", "minimumInteractiveComponentSize", "Landroidx/compose/ui/unit/DpSize;", "J", "Landroidx/compose/ui/Modifier;", "material3_release"}, k = 2, mv = {1, 8, 0}, xi = 48) /* loaded from: classes.dex */ public final class InteractiveComponentSizeKt { private static final ProvidableCompositionLocal LocalMinimumInteractiveComponentEnforcement; private static final ProvidableCompositionLocal LocalMinimumTouchTargetEnforcement; private static final long minimumInteractiveComponentSize; public static final ProvidableCompositionLocal getLocalMinimumInteractiveComponentEnforcement() { return LocalMinimumInteractiveComponentEnforcement; } public static /* synthetic */ void getLocalMinimumInteractiveComponentEnforcement$annotations() { } public static final ProvidableCompositionLocal getLocalMinimumTouchTargetEnforcement() { return LocalMinimumTouchTargetEnforcement; } @Deprecated(level = DeprecationLevel.WARNING, message = "Use LocalMinimumInteractiveComponentEnforcement instead.", replaceWith = @ReplaceWith(expression = "LocalMinimumInteractiveComponentEnforcement", imports = {})) public static /* synthetic */ void getLocalMinimumTouchTargetEnforcement$annotations() { } static { ProvidableCompositionLocal staticCompositionLocalOf = CompositionLocalKt.staticCompositionLocalOf(new Function0() { // from class: androidx.compose.material3.InteractiveComponentSizeKt$LocalMinimumInteractiveComponentEnforcement$1 /* JADX WARN: Can't rename method to resolve collision */ @Override // kotlin.jvm.functions.Function0 public final Boolean invoke() { return true; } }); LocalMinimumInteractiveComponentEnforcement = staticCompositionLocalOf; LocalMinimumTouchTargetEnforcement = staticCompositionLocalOf; float f = 48; minimumInteractiveComponentSize = DpKt.m4905DpSizeYgX7TsA(Dp.m4883constructorimpl(f), Dp.m4883constructorimpl(f)); } public static final Modifier minimumInteractiveComponentSize(Modifier modifier) { Intrinsics.checkNotNullParameter(modifier, ""); return ComposedModifierKt.composed(modifier, InspectableValueKt.isDebugInspectorInfoEnabled() ? new Function1() { // from class: androidx.compose.material3.InteractiveComponentSizeKt$minimumInteractiveComponentSize$$inlined$debugInspectorInfo$1 @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(InspectorInfo inspectorInfo) { invoke2(inspectorInfo); return Unit.INSTANCE; } /* renamed from: invoke, reason: avoid collision after fix types in other method */ public final void invoke2(InspectorInfo inspectorInfo) { Intrinsics.checkNotNullParameter(inspectorInfo, "$this$null"); inspectorInfo.setName("minimumInteractiveComponentSize"); inspectorInfo.getProperties().set("README", "Reserves at least 48.dp in size to disambiguate touch interactions if the element would measure smaller"); } } : InspectableValueKt.getNoInspectorInfo(), new Function3() { // from class: androidx.compose.material3.InteractiveComponentSizeKt$minimumInteractiveComponentSize$2 @Override // kotlin.jvm.functions.Function3 public /* bridge */ /* synthetic */ Modifier invoke(Modifier modifier2, Composer composer, Integer num) { return invoke(modifier2, composer, num.intValue()); } public final Modifier invoke(Modifier composed, Composer composer, int i) { Modifier.Companion companion; long j; Intrinsics.checkNotNullParameter(composed, "$this$composed"); composer.startReplaceableGroup(279503903); ComposerKt.sourceInformation(composer, "C55@2553L7:InteractiveComponentSize.kt#uh7d8r"); if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventStart(279503903, i, -1, "androidx.compose.material3.minimumInteractiveComponentSize. (InteractiveComponentSize.kt:54)"); } ProvidableCompositionLocal localMinimumInteractiveComponentEnforcement = InteractiveComponentSizeKt.getLocalMinimumInteractiveComponentEnforcement(); ComposerKt.sourceInformationMarkerStart(composer, 2023513938, "CC:CompositionLocal.kt#9igjgp"); Object consume = composer.consume(localMinimumInteractiveComponentEnforcement); ComposerKt.sourceInformationMarkerEnd(composer); if (((Boolean) consume).booleanValue()) { j = InteractiveComponentSizeKt.minimumInteractiveComponentSize; companion = new MinimumInteractiveComponentSizeModifier(j, null); } else { companion = Modifier.INSTANCE; } if (ComposerKt.isTraceInProgress()) { ComposerKt.traceEventEnd(); } composer.endReplaceableGroup(); return companion; } }); } }