package com.sistemasolton.itranvias.home.presentation.favorites;

import androidx.compose.foundation.BackgroundKt;
import androidx.compose.foundation.ClickableKt;
import androidx.compose.foundation.interaction.MutableInteractionSource;
import androidx.compose.foundation.layout.Arrangement;
import androidx.compose.foundation.layout.BoxKt;
import androidx.compose.foundation.layout.BoxScopeInstance;
import androidx.compose.foundation.layout.ColumnKt;
import androidx.compose.foundation.layout.ColumnScopeInstance;
import androidx.compose.foundation.layout.PaddingKt;
import androidx.compose.foundation.layout.PaddingValues;
import androidx.compose.foundation.layout.RowKt;
import androidx.compose.foundation.layout.RowScope;
import androidx.compose.foundation.layout.RowScopeInstance;
import androidx.compose.foundation.layout.SizeKt;
import androidx.compose.foundation.layout.SpacerKt;
import androidx.compose.foundation.lazy.LazyDslKt;
import androidx.compose.foundation.lazy.LazyItemScope;
import androidx.compose.foundation.lazy.LazyListScope;
import androidx.compose.foundation.shape.RoundedCornerShapeKt;
import androidx.compose.foundation.text.KeyboardActions;
import androidx.compose.foundation.text.KeyboardOptions;
import androidx.compose.material3.ButtonKt;
import androidx.compose.material3.FloatingActionButtonKt;
import androidx.compose.material3.MaterialTheme;
import androidx.compose.material3.OutlinedTextFieldKt;
import androidx.compose.material3.ScaffoldKt;
import androidx.compose.material3.TabKt;
import androidx.compose.material3.TabPosition;
import androidx.compose.material3.TabRowDefaults;
import androidx.compose.material3.TabRowKt;
import androidx.compose.material3.TextFieldColors;
import androidx.compose.material3.TextKt;
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.CompositionLocalMap;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.ProvidableCompositionLocal;
import androidx.compose.runtime.ProvidedValue;
import androidx.compose.runtime.RecomposeScopeImplKt;
import androidx.compose.runtime.ScopeUpdateScope;
import androidx.compose.runtime.SnapshotStateKt__SnapshotStateKt;
import androidx.compose.runtime.Updater;
import androidx.compose.runtime.internal.ComposableLambda;
import androidx.compose.runtime.internal.ComposableLambdaKt;
import androidx.compose.ui.Alignment;
import androidx.compose.ui.ComposedModifierKt;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.graphics.Color;
import androidx.compose.ui.graphics.Shape;
import androidx.compose.ui.layout.MeasurePolicy;
import androidx.compose.ui.node.ComposeUiNode;
import androidx.compose.ui.platform.CompositionLocalsKt;
import androidx.compose.ui.semantics.Role;
import androidx.compose.ui.semantics.SemanticsModifierKt;
import androidx.compose.ui.semantics.SemanticsPropertiesKt;
import androidx.compose.ui.semantics.SemanticsPropertyReceiver;
import androidx.compose.ui.text.TextLayoutResult;
import androidx.compose.ui.text.TextStyle;
import androidx.compose.ui.text.font.FontFamily;
import androidx.compose.ui.text.font.FontStyle;
import androidx.compose.ui.text.font.FontWeight;
import androidx.compose.ui.text.input.VisualTransformation;
import androidx.compose.ui.text.style.TextAlign;
import androidx.compose.ui.text.style.TextDecoration;
import androidx.compose.ui.unit.Density;
import androidx.compose.ui.unit.DensityKt;
import androidx.compose.ui.unit.Dp;
import androidx.compose.ui.unit.LayoutDirection;
import androidx.compose.ui.window.AndroidDialog_androidKt;
import androidx.lifecycle.ViewModel;
import androidx.lifecycle.ViewModelStoreOwner;
import androidx.lifecycle.viewmodel.compose.LocalViewModelStoreOwner;
import androidx.profileinstaller.ProfileVerifier;
import com.sistemasolton.itranvias.core.presentation.ConnectionErrorScreenKt;
import com.sistemasolton.itranvias.core.presentation.LoadingScreenKt;
import com.sistemasolton.itranvias.home.data.local.entity.StopFavoriteEntity;
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.InfoDto;
import com.sistemasolton.itranvias.home.data.remote.dto.infodto.LineaDto;
import com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt;
import com.sistemasolton.itranvias.home.presentation.lines.LinesScreenKt;
import com.sistemasolton.itranvias.home.presentation.stops.StopsScreenKt;
import com.sistemasolton.itranvias.ui.theme.ColorKt;
import itranvias.composeapp.generated.resources.Res;
import itranvias.composeapp.generated.resources.String0_commonMainKt;
import itranvias.composeapp.generated.resources.String1_commonMainKt;
import java.util.ArrayList;
import java.util.List;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.functions.Function3;
import kotlin.jvm.functions.Function4;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.text.StringsKt;
import org.jetbrains.compose.resources.StringResourcesKt;
import org.koin.compose.KoinApplicationKt;
import org.koin.viewmodel.CreationExtrasExtKt;
import org.koin.viewmodel.GetViewModelKt;

/* JADX INFO: compiled from: FavoritesScreen.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000:\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\u001a5\u0010\u0000\u001a\u00020\u00012\u0012\u0010\u0002\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00010\u00032\u0012\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00010\u0003H\u0007¢\u0006\u0002\u0010\u0006\u001aS\u0010\u0007\u001a\u00020\u00012\f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\n0\t2\u0006\u0010\u000b\u001a\u00020\f2\u0012\u0010\r\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00010\u00032\u001a\u0010\u000e\u001a\u0016\u0012\u0004\u0012\u00020\n\u0012\u0006\u0012\u0004\u0018\u00010\u0004\u0012\u0004\u0012\u00020\u00010\u000fH\u0007¢\u0006\u0002\u0010\u0010\u001a7\u0010\u0011\u001a\u00020\u00012\f\u0010\u0012\u001a\b\u0012\u0004\u0012\u00020\u00040\t2\u0006\u0010\u000b\u001a\u00020\f2\u0012\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00010\u0003H\u0007¢\u0006\u0002\u0010\u0014¨\u0006\u0015²\u0006\n\u0010\u0016\u001a\u00020\u0017X\u008a\u008e\u0002²\u0006\f\u0010\u0018\u001a\u0004\u0018\u00010\nX\u008a\u008e\u0002²\u0006\n\u0010\u0019\u001a\u00020\u0004X\u008a\u008e\u0002²\u0006\n\u0010\u001a\u001a\u00020\u001bX\u008a\u008e\u0002"}, d2 = {"FavoritesScreen", "", "onLineDetail", "Lkotlin/Function1;", "", "onStopDetail", "(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;I)V", "StopsFavoriteList", "stopsFavorites", "", "Lcom/sistemasolton/itranvias/home/data/local/entity/StopFavoriteEntity;", "infoDto", "Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;", "onStopClick", "onEditAlias", "Lkotlin/Function2;", "(Ljava/util/List;Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;I)V", "LinesFavoriteList", "linesFavorites", "onLineClick", "(Ljava/util/List;Lcom/sistemasolton/itranvias/home/data/remote/dto/infodto/InfoDto;Lkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;I)V", "composeApp_release", "selectedTab", "", "showEditDialog", "aliasInput", "showSelectDialog", ""}, k = 2, mv = {2, 1, 0}, xi = 48)
public final class FavoritesScreenKt {
    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit FavoritesScreen$lambda$3(Function1 function1, Function1 function12, int i, Composer composer, int i2) {
        FavoritesScreen(function1, function12, composer, RecomposeScopeImplKt.updateChangedFlags(i | 1));
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit LinesFavoriteList$lambda$58(List list, InfoDto infoDto, Function1 function1, int i, Composer composer, int i2) {
        LinesFavoriteList(list, infoDto, function1, composer, RecomposeScopeImplKt.updateChangedFlags(i | 1));
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$43(List list, InfoDto infoDto, Function1 function1, Function2 function2, int i, Composer composer, int i2) {
        StopsFavoriteList(list, infoDto, function1, function2, composer, RecomposeScopeImplKt.updateChangedFlags(i | 1));
        return Unit.INSTANCE;
    }

    public static final void FavoritesScreen(final Function1<? super String, Unit> onLineDetail, final Function1<? super String, Unit> onStopDetail, Composer composer, final int i) {
        int i2;
        Composer composer2;
        Intrinsics.checkNotNullParameter(onLineDetail, "onLineDetail");
        Intrinsics.checkNotNullParameter(onStopDetail, "onStopDetail");
        Composer composerStartRestartGroup = composer.startRestartGroup(-1761025625);
        if ((i & 6) == 0) {
            i2 = (composerStartRestartGroup.changedInstance(onLineDetail) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i & 48) == 0) {
            i2 |= composerStartRestartGroup.changedInstance(onStopDetail) ? 32 : 16;
        }
        if ((i2 & 19) != 18 || !composerStartRestartGroup.getSkipping()) {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1761025625, i2, -1, "com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreen (FavoritesScreen.kt:91)");
            }
            composerStartRestartGroup.startReplaceGroup(-924953623);
            ViewModelStoreOwner current = LocalViewModelStoreOwner.INSTANCE.getCurrent(composerStartRestartGroup, LocalViewModelStoreOwner.$stable);
            if (current == null) {
                throw new IllegalStateException("No ViewModelStoreOwner was provided via LocalViewModelStoreOwner".toString());
            }
            ViewModel viewModelResolveViewModel = GetViewModelKt.resolveViewModel(Reflection.getOrCreateKotlinClass(FavoritesViewModel.class), current.getViewModelStore(), null, CreationExtrasExtKt.defaultExtras(current), null, KoinApplicationKt.currentKoinScope(composerStartRestartGroup, 0), null);
            composerStartRestartGroup.endReplaceGroup();
            FavoritesViewModel favoritesViewModel = (FavoritesViewModel) viewModelResolveViewModel;
            FavoritesState state = favoritesViewModel.getState();
            composerStartRestartGroup.startReplaceGroup(1849434622);
            Object objRememberedValue = composerStartRestartGroup.rememberedValue();
            if (objRememberedValue == Composer.INSTANCE.getEmpty()) {
                objRememberedValue = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(0, null, 2, null);
                composerStartRestartGroup.updateRememberedValue(objRememberedValue);
            }
            final MutableState mutableState = (MutableState) objRememberedValue;
            composerStartRestartGroup.endReplaceGroup();
            final List listListOf = CollectionsKt.listOf((Object[]) new String[]{StringResourcesKt.stringResource(String1_commonMainKt.getTab_stops(Res.string.INSTANCE), composerStartRestartGroup, 0), StringResourcesKt.stringResource(String0_commonMainKt.getTab_lines(Res.string.INSTANCE), composerStartRestartGroup, 0)});
            composer2 = composerStartRestartGroup;
            ScaffoldKt.m2518ScaffoldTvnljyQ(null, ComposableLambdaKt.rememberComposableLambda(178185315, true, new Function2<Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt.FavoritesScreen.1
                @Override // kotlin.jvm.functions.Function2
                public /* bridge */ /* synthetic */ Unit invoke(Composer composer3, Integer num) {
                    invoke(composer3, num.intValue());
                    return Unit.INSTANCE;
                }

                public final void invoke(Composer composer3, int i3) {
                    if ((i3 & 3) == 2 && composer3.getSkipping()) {
                        composer3.skipToGroupEnd();
                        return;
                    }
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventStart(178185315, i3, -1, "com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreen.<anonymous> (FavoritesScreen.kt:102)");
                    }
                    int iFavoritesScreen$lambda$1 = FavoritesScreenKt.FavoritesScreen$lambda$1(mutableState);
                    long inversePrimary = MaterialTheme.INSTANCE.getColorScheme(composer3, MaterialTheme.$stable).getInversePrimary();
                    long whiteTranvias = ColorKt.getWhiteTranvias();
                    final MutableState<Integer> mutableState2 = mutableState;
                    TabRowKt.m2708TabRowpAZo6Ak(iFavoritesScreen$lambda$1, null, inversePrimary, whiteTranvias, ComposableLambdaKt.rememberComposableLambda(-1378037813, true, new Function3<List<? extends TabPosition>, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt.FavoritesScreen.1.1
                        @Override // kotlin.jvm.functions.Function3
                        public /* bridge */ /* synthetic */ Unit invoke(List<? extends TabPosition> list, Composer composer4, Integer num) {
                            invoke((List<TabPosition>) list, composer4, num.intValue());
                            return Unit.INSTANCE;
                        }

                        public final void invoke(List<TabPosition> tabPositions, Composer composer4, int i4) {
                            Intrinsics.checkNotNullParameter(tabPositions, "tabPositions");
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(-1378037813, i4, -1, "com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreen.<anonymous>.<anonymous> (FavoritesScreen.kt:107)");
                            }
                            TabRowDefaults.INSTANCE.m2696Indicator9IZ8Weo(TabRowDefaults.INSTANCE.tabIndicatorOffset(Modifier.INSTANCE, tabPositions.get(FavoritesScreenKt.FavoritesScreen$lambda$1(mutableState2))), Dp.m7215constructorimpl(4), ColorKt.getWhiteTranvias(), composer4, (TabRowDefaults.$stable << 9) | 432, 0);
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                        }
                    }, composer3, 54), null, ComposableLambdaKt.rememberComposableLambda(-1040392757, true, new AnonymousClass2(listListOf, mutableState), composer3, 54), composer3, 1600512, 34);
                    if (ComposerKt.isTraceInProgress()) {
                        ComposerKt.traceEventEnd();
                    }
                }

                /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$1$2, reason: invalid class name */
                /* JADX INFO: compiled from: FavoritesScreen.kt */
                @Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
                static final class AnonymousClass2 implements Function2<Composer, Integer, Unit> {
                    final /* synthetic */ MutableState<Integer> $selectedTab$delegate;
                    final /* synthetic */ List<String> $tabs;

                    AnonymousClass2(List<String> list, MutableState<Integer> mutableState) {
                        this.$tabs = list;
                        this.$selectedTab$delegate = mutableState;
                    }

                    @Override // kotlin.jvm.functions.Function2
                    public /* bridge */ /* synthetic */ Unit invoke(Composer composer, Integer num) {
                        invoke(composer, num.intValue());
                        return Unit.INSTANCE;
                    }

                    /* JADX INFO: Access modifiers changed from: private */
                    public static final Unit invoke$lambda$4$lambda$3$lambda$2(int i, MutableState mutableState) {
                        FavoritesScreenKt.FavoritesScreen$lambda$2(mutableState, i);
                        return Unit.INSTANCE;
                    }

                    /* JADX INFO: Access modifiers changed from: private */
                    public static final Unit invoke$lambda$4$lambda$1$lambda$0(String str, SemanticsPropertyReceiver semantics) {
                        Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                        SemanticsPropertiesKt.setContentDescription(semantics, str);
                        SemanticsPropertiesKt.m6444setRolekuIjeqM(semantics, Role.INSTANCE.m6432getTabo7Vup1c());
                        return Unit.INSTANCE;
                    }

                    public final void invoke(Composer composer, int i) {
                        if ((i & 3) == 2 && composer.getSkipping()) {
                            composer.skipToGroupEnd();
                            return;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(-1040392757, i, -1, "com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreen.<anonymous>.<anonymous> (FavoritesScreen.kt:114)");
                        }
                        List<String> list = this.$tabs;
                        final MutableState<Integer> mutableState = this.$selectedTab$delegate;
                        boolean z = false;
                        final int i2 = 0;
                        for (Object obj : list) {
                            int i3 = i2 + 1;
                            if (i2 < 0) {
                                CollectionsKt.throwIndexOverflow();
                            }
                            final String str = (String) obj;
                            boolean z2 = FavoritesScreenKt.FavoritesScreen$lambda$1(mutableState) == i2 ? true : z;
                            Modifier.Companion companion = Modifier.INSTANCE;
                            composer.startReplaceGroup(5004770);
                            boolean zChanged = composer.changed(str);
                            Object objRememberedValue = composer.rememberedValue();
                            if (zChanged || objRememberedValue == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$1$2$$ExternalSyntheticLambda0
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj2) {
                                        return FavoritesScreenKt.AnonymousClass1.AnonymousClass2.invoke$lambda$4$lambda$1$lambda$0(str, (SemanticsPropertyReceiver) obj2);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue);
                            }
                            composer.endReplaceGroup();
                            Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(companion, z, (Function1) objRememberedValue, 1, null);
                            composer.startReplaceGroup(-1633490746);
                            boolean zChanged2 = composer.changed(i2);
                            Object objRememberedValue2 = composer.rememberedValue();
                            if (zChanged2 || objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue2 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$1$2$$ExternalSyntheticLambda1
                                    @Override // kotlin.jvm.functions.Function0
                                    public final Object invoke() {
                                        return FavoritesScreenKt.AnonymousClass1.AnonymousClass2.invoke$lambda$4$lambda$3$lambda$2(i2, mutableState);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue2);
                            }
                            composer.endReplaceGroup();
                            TabKt.m2689TabwqdebIU(z2, (Function0) objRememberedValue2, modifierSemantics$default, false, ComposableLambdaKt.rememberComposableLambda(-713904641, true, new Function2<Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$1$2$1$3
                                @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) {
                                    if ((i4 & 3) == 2 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(-713904641, i4, -1, "com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreen.<anonymous>.<anonymous>.<anonymous>.<anonymous> (FavoritesScreen.kt:118)");
                                    }
                                    TextKt.m2803Text4IGK_g(str, (Modifier) null, ColorKt.getWhiteTranvias(), 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer2, 384, 0, 131066);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            }, composer, 54), null, 0L, 0L, null, composer, 24576, 488);
                            i2 = i3;
                            mutableState = mutableState;
                            z = z;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    }
                }
            }, composerStartRestartGroup, 54), null, null, null, 0, 0L, 0L, null, ComposableLambdaKt.rememberComposableLambda(-1759018952, true, new AnonymousClass2(state, favoritesViewModel, mutableState, onLineDetail, onStopDetail), composerStartRestartGroup, 54), composer2, 805306416, 509);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        } else {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new Function2() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda3
                @Override // kotlin.jvm.functions.Function2
                public final Object invoke(Object obj, Object obj2) {
                    return FavoritesScreenKt.FavoritesScreen$lambda$3(onLineDetail, onStopDetail, i, (Composer) obj, ((Integer) obj2).intValue());
                }
            });
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final int FavoritesScreen$lambda$1(MutableState<Integer> mutableState) {
        return mutableState.getValue().intValue();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void FavoritesScreen$lambda$2(MutableState<Integer> mutableState, int i) {
        mutableState.setValue(Integer.valueOf(i));
    }

    /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$2, reason: invalid class name */
    /* JADX INFO: compiled from: FavoritesScreen.kt */
    @Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
    static final class AnonymousClass2 implements Function3<PaddingValues, Composer, Integer, Unit> {
        final /* synthetic */ Function1<String, Unit> $onLineDetail;
        final /* synthetic */ Function1<String, Unit> $onStopDetail;
        final /* synthetic */ MutableState<Integer> $selectedTab$delegate;
        final /* synthetic */ FavoritesState $state;
        final /* synthetic */ FavoritesViewModel $viewModel;

        /* JADX WARN: Multi-variable type inference failed */
        AnonymousClass2(FavoritesState favoritesState, FavoritesViewModel favoritesViewModel, MutableState<Integer> mutableState, Function1<? super String, Unit> function1, Function1<? super String, Unit> function12) {
            this.$state = favoritesState;
            this.$viewModel = favoritesViewModel;
            this.$selectedTab$delegate = mutableState;
            this.$onLineDetail = function1;
            this.$onStopDetail = function12;
        }

        @Override // kotlin.jvm.functions.Function3
        public /* bridge */ /* synthetic */ Unit invoke(PaddingValues paddingValues, Composer composer, Integer num) {
            invoke(paddingValues, composer, num.intValue());
            return Unit.INSTANCE;
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final Unit invoke$lambda$10$lambda$1$lambda$0(FavoritesViewModel favoritesViewModel) {
            favoritesViewModel.loadFavorites();
            return Unit.INSTANCE;
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final Unit invoke$lambda$10$lambda$4$lambda$3$lambda$2(Function1 function1, String lineId) {
            Intrinsics.checkNotNullParameter(lineId, "lineId");
            function1.invoke(lineId);
            return Unit.INSTANCE;
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final Unit invoke$lambda$10$lambda$9$lambda$6$lambda$5(FavoritesViewModel favoritesViewModel, Function1 function1, String stopCode) {
            Intrinsics.checkNotNullParameter(stopCode, "stopCode");
            favoritesViewModel.onStopClicked(stopCode);
            function1.invoke(stopCode);
            return Unit.INSTANCE;
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final Unit invoke$lambda$10$lambda$9$lambda$8$lambda$7(FavoritesViewModel favoritesViewModel, StopFavoriteEntity stop, String str) {
            Intrinsics.checkNotNullParameter(stop, "stop");
            favoritesViewModel.updateStopAlias(stop.getStopCode(), str);
            return Unit.INSTANCE;
        }

        public final void invoke(PaddingValues innerPadding, Composer composer, int i) {
            int i2;
            Intrinsics.checkNotNullParameter(innerPadding, "innerPadding");
            if ((i & 6) == 0) {
                i2 = i | (composer.changed(innerPadding) ? 4 : 2);
            } else {
                i2 = i;
            }
            if ((i2 & 19) == 18 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1759018952, i2, -1, "com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreen.<anonymous> (FavoritesScreen.kt:128)");
            }
            Modifier modifierM835paddingqDBjuR0 = PaddingKt.m835paddingqDBjuR0(Modifier.INSTANCE, PaddingKt.calculateStartPadding(innerPadding, LayoutDirection.Ltr), innerPadding.getTop(), PaddingKt.calculateEndPadding(innerPadding, LayoutDirection.Ltr), Dp.m7215constructorimpl(0));
            FavoritesState favoritesState = this.$state;
            final FavoritesViewModel favoritesViewModel = this.$viewModel;
            MutableState<Integer> mutableState = this.$selectedTab$delegate;
            final Function1<String, Unit> function1 = this.$onLineDetail;
            final Function1<String, Unit> function12 = this.$onStopDetail;
            ComposerKt.sourceInformationMarkerStart(composer, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
            MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), false);
            ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
            int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
            CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
            Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer, modifierM835paddingqDBjuR0);
            Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
            ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
            if (!(composer.getApplier() instanceof Applier)) {
                ComposablesKt.invalidApplier();
            }
            composer.startReusableNode();
            if (composer.getInserting()) {
                composer.createNode(constructor);
            } else {
                composer.useNode();
            }
            Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer);
            Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyMaybeCachedBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
            Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
            Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
            if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
                composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
                composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
            }
            Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
            ComposerKt.sourceInformationMarkerStart(composer, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
            BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
            if (favoritesState.isLoading()) {
                composer.startReplaceGroup(577486893);
                LoadingScreenKt.LoadingScreen(composer, 0);
                composer.endReplaceGroup();
            } else if (favoritesState.isError()) {
                composer.startReplaceGroup(577576297);
                composer.startReplaceGroup(5004770);
                boolean zChangedInstance = composer.changedInstance(favoritesViewModel);
                Object objRememberedValue = composer.rememberedValue();
                if (zChangedInstance || objRememberedValue == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$2$$ExternalSyntheticLambda0
                        @Override // kotlin.jvm.functions.Function0
                        public final Object invoke() {
                            return FavoritesScreenKt.AnonymousClass2.invoke$lambda$10$lambda$1$lambda$0(favoritesViewModel);
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue);
                }
                composer.endReplaceGroup();
                ConnectionErrorScreenKt.ConnectionErrorScreen(null, (Function0) objRememberedValue, composer, 0, 1);
                composer.endReplaceGroup();
            } else {
                composer.startReplaceGroup(577731328);
                int iFavoritesScreen$lambda$1 = FavoritesScreenKt.FavoritesScreen$lambda$1(mutableState);
                if (iFavoritesScreen$lambda$1 == 0) {
                    composer.startReplaceGroup(-396987283);
                    InfoDto infoDto = favoritesState.getInfoDto();
                    if (infoDto != null) {
                        List<StopFavoriteEntity> stopsFavorites = favoritesState.getStopsFavorites();
                        composer.startReplaceGroup(-1633490746);
                        boolean zChangedInstance2 = composer.changedInstance(favoritesViewModel) | composer.changed(function12);
                        Object objRememberedValue2 = composer.rememberedValue();
                        if (zChangedInstance2 || objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                            objRememberedValue2 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$2$$ExternalSyntheticLambda2
                                @Override // kotlin.jvm.functions.Function1
                                public final Object invoke(Object obj) {
                                    return FavoritesScreenKt.AnonymousClass2.invoke$lambda$10$lambda$9$lambda$6$lambda$5(favoritesViewModel, function12, (String) obj);
                                }
                            };
                            composer.updateRememberedValue(objRememberedValue2);
                        }
                        Function1 function13 = (Function1) objRememberedValue2;
                        composer.endReplaceGroup();
                        composer.startReplaceGroup(5004770);
                        boolean zChangedInstance3 = composer.changedInstance(favoritesViewModel);
                        Object objRememberedValue3 = composer.rememberedValue();
                        if (zChangedInstance3 || objRememberedValue3 == Composer.INSTANCE.getEmpty()) {
                            objRememberedValue3 = new Function2() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$2$$ExternalSyntheticLambda3
                                @Override // kotlin.jvm.functions.Function2
                                public final Object invoke(Object obj, Object obj2) {
                                    return FavoritesScreenKt.AnonymousClass2.invoke$lambda$10$lambda$9$lambda$8$lambda$7(favoritesViewModel, (StopFavoriteEntity) obj, (String) obj2);
                                }
                            };
                            composer.updateRememberedValue(objRememberedValue3);
                        }
                        composer.endReplaceGroup();
                        FavoritesScreenKt.StopsFavoriteList(stopsFavorites, infoDto, function13, (Function2) objRememberedValue3, composer, 0);
                    }
                    composer.endReplaceGroup();
                } else if (iFavoritesScreen$lambda$1 != 1) {
                    composer.startReplaceGroup(579039652);
                    composer.endReplaceGroup();
                } else {
                    composer.startReplaceGroup(-397004091);
                    InfoDto infoDto2 = favoritesState.getInfoDto();
                    if (infoDto2 != null) {
                        List<String> linesFavorites = favoritesState.getLinesFavorites();
                        composer.startReplaceGroup(5004770);
                        boolean zChanged = composer.changed(function1);
                        Object objRememberedValue4 = composer.rememberedValue();
                        if (zChanged || objRememberedValue4 == Composer.INSTANCE.getEmpty()) {
                            objRememberedValue4 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$FavoritesScreen$2$$ExternalSyntheticLambda1
                                @Override // kotlin.jvm.functions.Function1
                                public final Object invoke(Object obj) {
                                    return FavoritesScreenKt.AnonymousClass2.invoke$lambda$10$lambda$4$lambda$3$lambda$2(function1, (String) obj);
                                }
                            };
                            composer.updateRememberedValue(objRememberedValue4);
                        }
                        composer.endReplaceGroup();
                        FavoritesScreenKt.LinesFavoriteList(linesFavorites, infoDto2, (Function1) objRememberedValue4, composer, 0);
                    }
                    composer.endReplaceGroup();
                }
                composer.endReplaceGroup();
            }
            ComposerKt.sourceInformationMarkerEnd(composer);
            composer.endNode();
            ComposerKt.sourceInformationMarkerEnd(composer);
            ComposerKt.sourceInformationMarkerEnd(composer);
            ComposerKt.sourceInformationMarkerEnd(composer);
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        }
    }

    public static final void StopsFavoriteList(final List<StopFavoriteEntity> stopsFavorites, final InfoDto infoDto, final Function1<? super String, Unit> onStopClick, final Function2<? super StopFavoriteEntity, ? super String, Unit> onEditAlias, Composer composer, final int i) {
        int i2;
        final MutableState mutableState;
        MutableState mutableState2;
        boolean z;
        boolean z2;
        Composer composer2;
        int i3;
        final MutableState mutableState3;
        Intrinsics.checkNotNullParameter(stopsFavorites, "stopsFavorites");
        Intrinsics.checkNotNullParameter(infoDto, "infoDto");
        Intrinsics.checkNotNullParameter(onStopClick, "onStopClick");
        Intrinsics.checkNotNullParameter(onEditAlias, "onEditAlias");
        Composer composerStartRestartGroup = composer.startRestartGroup(1765217489);
        if ((i & 6) == 0) {
            i2 = (composerStartRestartGroup.changedInstance(stopsFavorites) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i & 48) == 0) {
            i2 |= composerStartRestartGroup.changedInstance(infoDto) ? 32 : 16;
        }
        if ((i & 384) == 0) {
            i2 |= composerStartRestartGroup.changedInstance(onStopClick) ? 256 : 128;
        }
        if ((i & 3072) == 0) {
            i2 |= composerStartRestartGroup.changedInstance(onEditAlias) ? 2048 : 1024;
        }
        if ((i2 & 1171) != 1170 || !composerStartRestartGroup.getSkipping()) {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(1765217489, i2, -1, "com.sistemasolton.itranvias.home.presentation.favorites.StopsFavoriteList (FavoritesScreen.kt:184)");
            }
            composerStartRestartGroup.startReplaceGroup(1849434622);
            Object objRememberedValue = composerStartRestartGroup.rememberedValue();
            if (objRememberedValue == Composer.INSTANCE.getEmpty()) {
                objRememberedValue = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(null, null, 2, null);
                composerStartRestartGroup.updateRememberedValue(objRememberedValue);
            }
            MutableState mutableState4 = (MutableState) objRememberedValue;
            composerStartRestartGroup.endReplaceGroup();
            composerStartRestartGroup.startReplaceGroup(1849434622);
            Object objRememberedValue2 = composerStartRestartGroup.rememberedValue();
            if (objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                objRememberedValue2 = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default("", null, 2, null);
                composerStartRestartGroup.updateRememberedValue(objRememberedValue2);
            }
            MutableState mutableState5 = (MutableState) objRememberedValue2;
            composerStartRestartGroup.endReplaceGroup();
            composerStartRestartGroup.startReplaceGroup(1849434622);
            Object objRememberedValue3 = composerStartRestartGroup.rememberedValue();
            if (objRememberedValue3 == Composer.INSTANCE.getEmpty()) {
                objRememberedValue3 = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(false, null, 2, null);
                composerStartRestartGroup.updateRememberedValue(objRememberedValue3);
            }
            final MutableState mutableState6 = (MutableState) objRememberedValue3;
            composerStartRestartGroup.endReplaceGroup();
            final String strStringResource = StringResourcesKt.stringResource(String0_commonMainKt.getNo_stops_favorites(Res.string.INSTANCE), composerStartRestartGroup, 0);
            if (stopsFavorites.isEmpty()) {
                composerStartRestartGroup.startReplaceGroup(15159998);
                mutableState2 = mutableState4;
                Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), Dp.m7215constructorimpl(16));
                composerStartRestartGroup.startReplaceGroup(5004770);
                boolean zChanged = composerStartRestartGroup.changed(strStringResource);
                Object objRememberedValue4 = composerStartRestartGroup.rememberedValue();
                if (zChanged || objRememberedValue4 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue4 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda7
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj) {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$14$lambda$13(strStringResource, (SemanticsPropertyReceiver) obj);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue4);
                }
                composerStartRestartGroup.endReplaceGroup();
                Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(modifierM832padding3ABfNKs, false, (Function1) objRememberedValue4, 1, null);
                Alignment center = Alignment.INSTANCE.getCenter();
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
                MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(center, false);
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composerStartRestartGroup, 0));
                CompositionLocalMap currentCompositionLocalMap = composerStartRestartGroup.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composerStartRestartGroup, modifierSemantics$default);
                Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                if (!(composerStartRestartGroup.getApplier() instanceof Applier)) {
                    ComposablesKt.invalidApplier();
                }
                composerStartRestartGroup.startReusableNode();
                if (composerStartRestartGroup.getInserting()) {
                    composerStartRestartGroup.createNode(constructor);
                } else {
                    composerStartRestartGroup.useNode();
                }
                Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composerStartRestartGroup);
                Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyMaybeCachedBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
                    composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
                    composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
                }
                Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
                BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
                mutableState = mutableState5;
                TextKt.m2803Text4IGK_g(strStringResource, (Modifier) null, ColorKt.getGreyTranvias(), 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composerStartRestartGroup, 384, 0, 131066);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                composerStartRestartGroup.endNode();
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                composerStartRestartGroup.endReplaceGroup();
                z = true;
            } else {
                mutableState = mutableState5;
                mutableState2 = mutableState4;
                composerStartRestartGroup.startReplaceGroup(15725810);
                Modifier modifierM832padding3ABfNKs2 = PaddingKt.m832padding3ABfNKs(SizeKt.fillMaxSize$default(Modifier.INSTANCE, 0.0f, 1, null), Dp.m7215constructorimpl(16));
                Alignment center2 = Alignment.INSTANCE.getCenter();
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
                MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy2 = BoxKt.maybeCachedBoxMeasurePolicy(center2, false);
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composerStartRestartGroup, 0));
                CompositionLocalMap currentCompositionLocalMap2 = composerStartRestartGroup.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier2 = ComposedModifierKt.materializeModifier(composerStartRestartGroup, modifierM832padding3ABfNKs2);
                Function0<ComposeUiNode> constructor2 = ComposeUiNode.INSTANCE.getConstructor();
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                if (!(composerStartRestartGroup.getApplier() instanceof Applier)) {
                    ComposablesKt.invalidApplier();
                }
                composerStartRestartGroup.startReusableNode();
                if (composerStartRestartGroup.getInserting()) {
                    composerStartRestartGroup.createNode(constructor2);
                } else {
                    composerStartRestartGroup.useNode();
                }
                Composer composerM3820constructorimpl2 = Updater.m3820constructorimpl(composerStartRestartGroup);
                Updater.m3827setimpl(composerM3820constructorimpl2, measurePolicyMaybeCachedBoxMeasurePolicy2, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                Updater.m3827setimpl(composerM3820constructorimpl2, currentCompositionLocalMap2, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash2 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                if (composerM3820constructorimpl2.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl2.rememberedValue(), Integer.valueOf(iHashCode2))) {
                    composerM3820constructorimpl2.updateRememberedValue(Integer.valueOf(iHashCode2));
                    composerM3820constructorimpl2.apply(Integer.valueOf(iHashCode2), setCompositeKeyHash2);
                }
                Updater.m3827setimpl(composerM3820constructorimpl2, modifierMaterializeModifier2, ComposeUiNode.INSTANCE.getSetModifier());
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
                BoxScopeInstance boxScopeInstance2 = BoxScopeInstance.INSTANCE;
                Modifier modifierFillMaxSize$default = SizeKt.fillMaxSize$default(Modifier.INSTANCE, 0.0f, 1, null);
                composerStartRestartGroup.startReplaceGroup(1849434622);
                Object objRememberedValue5 = composerStartRestartGroup.rememberedValue();
                if (objRememberedValue5 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue5 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda8
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj) {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$38$lambda$17$lambda$16((SemanticsPropertyReceiver) obj);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue5);
                }
                composerStartRestartGroup.endReplaceGroup();
                Modifier modifierSemantics$default2 = SemanticsModifierKt.semantics$default(modifierFillMaxSize$default, false, (Function1) objRememberedValue5, 1, null);
                composerStartRestartGroup.startReplaceGroup(-1746271574);
                boolean zChangedInstance = ((i2 & 896) == 256) | composerStartRestartGroup.changedInstance(stopsFavorites) | composerStartRestartGroup.changedInstance(infoDto);
                Object objRememberedValue6 = composerStartRestartGroup.rememberedValue();
                if (zChangedInstance || objRememberedValue6 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue6 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda9
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj) {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$38$lambda$33$lambda$32(stopsFavorites, infoDto, onStopClick, (LazyListScope) obj);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue6);
                }
                Function1 function1 = (Function1) objRememberedValue6;
                composerStartRestartGroup.endReplaceGroup();
                z = true;
                LazyDslKt.LazyColumn(modifierSemantics$default2, null, null, false, null, null, null, false, null, function1, composerStartRestartGroup, 0, 510);
                composerStartRestartGroup.startReplaceGroup(5004770);
                Object objRememberedValue7 = composerStartRestartGroup.rememberedValue();
                if (objRememberedValue7 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue7 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda10
                        @Override // kotlin.jvm.functions.Function0
                        public final Object invoke() {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$38$lambda$35$lambda$34(mutableState6);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue7);
                }
                Function0 function0 = (Function0) objRememberedValue7;
                composerStartRestartGroup.endReplaceGroup();
                Modifier modifierAlign = boxScopeInstance2.align(Modifier.INSTANCE, Alignment.INSTANCE.getBottomEnd());
                composerStartRestartGroup.startReplaceGroup(1849434622);
                Object objRememberedValue8 = composerStartRestartGroup.rememberedValue();
                if (objRememberedValue8 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue8 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda11
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj) {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$38$lambda$37$lambda$36((SemanticsPropertyReceiver) obj);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue8);
                }
                composerStartRestartGroup.endReplaceGroup();
                FloatingActionButtonKt.m2235FloatingActionButtonXz6DiA(function0, SemanticsModifierKt.semantics$default(modifierAlign, false, (Function1) objRememberedValue8, 1, null), null, ColorKt.getRedTranvias(), 0L, null, null, ComposableSingletons$FavoritesScreenKt.INSTANCE.getLambda$1609866365$composeApp_release(), composerStartRestartGroup, 12585990, 116);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                composerStartRestartGroup.endNode();
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                composerStartRestartGroup.endReplaceGroup();
            }
            composerStartRestartGroup.startReplaceGroup(-137861678);
            if (StopsFavoriteList$lambda$11(mutableState6)) {
                composerStartRestartGroup.startReplaceGroup(5004770);
                Object objRememberedValue9 = composerStartRestartGroup.rememberedValue();
                if (objRememberedValue9 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue9 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda12
                        @Override // kotlin.jvm.functions.Function0
                        public final Object invoke() {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$40$lambda$39(mutableState6);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue9);
                }
                composerStartRestartGroup.endReplaceGroup();
                z2 = z;
                final MutableState mutableState7 = mutableState2;
                final MutableState mutableState8 = mutableState;
                composer2 = composerStartRestartGroup;
                ComposableLambda composableLambdaRememberComposableLambda = ComposableLambdaKt.rememberComposableLambda(-1954372486, z2, new Function2<Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt.StopsFavoriteList.5
                    @Override // kotlin.jvm.functions.Function2
                    public /* bridge */ /* synthetic */ Unit invoke(Composer composer3, Integer num) {
                        invoke(composer3, num.intValue());
                        return Unit.INSTANCE;
                    }

                    public final void invoke(Composer composer3, int i4) {
                        if ((i4 & 3) == 2 && composer3.getSkipping()) {
                            composer3.skipToGroupEnd();
                            return;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(-1954372486, i4, -1, "com.sistemasolton.itranvias.home.presentation.favorites.StopsFavoriteList.<anonymous> (FavoritesScreen.kt:323)");
                        }
                        ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
                        ProvidableCompositionLocal<Density> localDensity2 = CompositionLocalsKt.getLocalDensity();
                        ComposerKt.sourceInformationMarkerStart(composer3, 2023513938, "CC(<get-current>):CompositionLocal.kt#9igjgp");
                        Object objConsume = composer3.consume(localDensity2);
                        ComposerKt.sourceInformationMarkerEnd(composer3);
                        CompositionLocalKt.CompositionLocalProvider(localDensity.provides(DensityKt.Density(((Density) objConsume).getDensity(), 1.0f)), ComposableLambdaKt.rememberComposableLambda(806529338, true, new AnonymousClass1(stopsFavorites, infoDto, mutableState8, mutableState7, mutableState6), composer3, 54), composer3, ProvidedValue.$stable | 48);
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    }

                    /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$5$1, reason: invalid class name */
                    /* JADX INFO: compiled from: FavoritesScreen.kt */
                    @Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
                    static final class AnonymousClass1 implements Function2<Composer, Integer, Unit> {
                        final /* synthetic */ MutableState<String> $aliasInput$delegate;
                        final /* synthetic */ InfoDto $infoDto;
                        final /* synthetic */ MutableState<StopFavoriteEntity> $showEditDialog$delegate;
                        final /* synthetic */ MutableState<Boolean> $showSelectDialog$delegate;
                        final /* synthetic */ List<StopFavoriteEntity> $stopsFavorites;

                        AnonymousClass1(List<StopFavoriteEntity> list, InfoDto infoDto, MutableState<String> mutableState, MutableState<StopFavoriteEntity> mutableState2, MutableState<Boolean> mutableState3) {
                            this.$stopsFavorites = list;
                            this.$infoDto = infoDto;
                            this.$aliasInput$delegate = mutableState;
                            this.$showEditDialog$delegate = mutableState2;
                            this.$showSelectDialog$delegate = mutableState3;
                        }

                        @Override // kotlin.jvm.functions.Function2
                        public /* bridge */ /* synthetic */ Unit invoke(Composer composer, Integer num) {
                            invoke(composer, num.intValue());
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$1$lambda$0(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.setContentDescription(semantics, "Diálogo para seleccionar parada a editar");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$3$lambda$2(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.heading(semantics);
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$18$lambda$15$lambda$14(MutableState mutableState) {
                            FavoritesScreenKt.StopsFavoriteList$lambda$12(mutableState, false);
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$18$lambda$17$lambda$16(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.setContentDescription(semantics, "Cancelar y cerrar diálogo");
                            SemanticsPropertiesKt.m6444setRolekuIjeqM(semantics, Role.INSTANCE.m6425getButtono7Vup1c());
                            return Unit.INSTANCE;
                        }

                        /*  JADX ERROR: JadxRuntimeException in pass: ConstructorVisitor
                            jadx.core.utils.exceptions.JadxRuntimeException: Can't remove SSA var: r2v51 ??, still in use, count: 1, list:
                              (r2v51 ?? I:java.lang.Object) from 0x0377: INVOKE (r42v0 ?? I:androidx.compose.runtime.Composer), (r2v51 ?? I:java.lang.Object) INTERFACE call: androidx.compose.runtime.Composer.updateRememberedValue(java.lang.Object):void A[MD:(java.lang.Object):void (m)] (LINE:751)
                            	at jadx.core.utils.InsnRemover.removeSsaVar(InsnRemover.java:162)
                            	at jadx.core.utils.InsnRemover.unbindResult(InsnRemover.java:127)
                            	at jadx.core.utils.InsnRemover.lambda$unbindInsns$1(InsnRemover.java:99)
                            	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
                            	at jadx.core.utils.InsnRemover.unbindInsns(InsnRemover.java:98)
                            	at jadx.core.utils.InsnRemover.perform(InsnRemover.java:73)
                            	at jadx.core.dex.visitors.ConstructorVisitor.replaceInvoke(ConstructorVisitor.java:59)
                            	at jadx.core.dex.visitors.ConstructorVisitor.visit(ConstructorVisitor.java:42)
                            */
                        public final void invoke(
                        /*  JADX ERROR: JadxRuntimeException in pass: ConstructorVisitor
                            jadx.core.utils.exceptions.JadxRuntimeException: Can't remove SSA var: r2v51 ??, still in use, count: 1, list:
                              (r2v51 ?? I:java.lang.Object) from 0x0377: INVOKE (r42v0 ?? I:androidx.compose.runtime.Composer), (r2v51 ?? I:java.lang.Object) INTERFACE call: androidx.compose.runtime.Composer.updateRememberedValue(java.lang.Object):void A[MD:(java.lang.Object):void (m)] (LINE:751)
                            	at jadx.core.utils.InsnRemover.removeSsaVar(InsnRemover.java:162)
                            	at jadx.core.utils.InsnRemover.unbindResult(InsnRemover.java:127)
                            	at jadx.core.utils.InsnRemover.lambda$unbindInsns$1(InsnRemover.java:99)
                            	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
                            	at jadx.core.utils.InsnRemover.unbindInsns(InsnRemover.java:98)
                            	at jadx.core.utils.InsnRemover.perform(InsnRemover.java:73)
                            	at jadx.core.dex.visitors.ConstructorVisitor.replaceInvoke(ConstructorVisitor.java:59)
                            */
                        /*  JADX ERROR: Method generation error
                            jadx.core.utils.exceptions.JadxRuntimeException: Code variable not set in r42v0 ??
                            	at jadx.core.dex.instructions.args.SSAVar.getCodeVar(SSAVar.java:236)
                            	at jadx.core.codegen.MethodGen.addMethodArguments(MethodGen.java:224)
                            	at jadx.core.codegen.MethodGen.addDefinition(MethodGen.java:169)
                            	at jadx.core.codegen.ClassGen.addMethodCode(ClassGen.java:407)
                            	at jadx.core.codegen.ClassGen.addMethod(ClassGen.java:337)
                            	at jadx.core.codegen.ClassGen.lambda$addInnerClsAndMethods$3(ClassGen.java:303)
                            	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
                            	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
                            	at java.base/java.util.stream.SortedOps$RefSortingSink.end(SortedOps.java:395)
                            	at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:261)
                            */

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11(final List list, final InfoDto infoDto, final MutableState mutableState, final MutableState mutableState2, final MutableState mutableState3, LazyListScope LazyColumn) {
                            Intrinsics.checkNotNullParameter(LazyColumn, "$this$LazyColumn");
                            final FavoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$1 favoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$1 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$1
                                @Override // kotlin.jvm.functions.Function1
                                public final Void invoke(StopFavoriteEntity stopFavoriteEntity) {
                                    return null;
                                }

                                @Override // kotlin.jvm.functions.Function1
                                public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                                    return invoke((StopFavoriteEntity) obj);
                                }
                            };
                            LazyColumn.items(list.size(), null, new Function1<Integer, Object>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$3
                                @Override // kotlin.jvm.functions.Function1
                                public /* bridge */ /* synthetic */ Object invoke(Integer num) {
                                    return invoke(num.intValue());
                                }

                                public final Object invoke(int i) {
                                    return favoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$1.invoke(list.get(i));
                                }
                            }, ComposableLambdaKt.composableLambdaInstance(802480018, true, new Function4<LazyItemScope, Integer, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$4
                                @Override // kotlin.jvm.functions.Function4
                                public /* bridge */ /* synthetic */ Unit invoke(LazyItemScope lazyItemScope, Integer num, Composer composer, Integer num2) {
                                    invoke(lazyItemScope, num.intValue(), composer, num2.intValue());
                                    return Unit.INSTANCE;
                                }

                                /* JADX WARN: Removed duplicated region for block: B:42:0x00b5  */
                                /* JADX WARN: Removed duplicated region for block: B:47:0x0101  */
                                /* JADX WARN: Removed duplicated region for block: B:52:0x0151  */
                                /* JADX WARN: Removed duplicated region for block: B:55:0x01ab  */
                                /* JADX WARN: Removed duplicated region for block: B:58:0x01b7  */
                                /* JADX WARN: Removed duplicated region for block: B:59:0x01bb  */
                                /* JADX WARN: Removed duplicated region for block: B:64:0x01ee  */
                                /* JADX WARN: Removed duplicated region for block: B:67:0x026c  */
                                /* JADX WARN: Removed duplicated region for block: B:70:0x0278  */
                                /* JADX WARN: Removed duplicated region for block: B:71:0x027c  */
                                /* JADX WARN: Removed duplicated region for block: B:76:0x02af  */
                                /*
                                    Code decompiled incorrectly, please refer to instructions dump.
                                    To view partially-correct code enable 'Show inconsistent code' option in preferences
                                */
                                public final void invoke(androidx.compose.foundation.lazy.LazyItemScope r29, int r30, androidx.compose.runtime.Composer r31, int r32) {
                                    /*
                                        Method dump skipped, instruction units count: 885
                                        To view this dump change 'Code comments level' option to 'DEBUG'
                                    */
                                    throw new UnsupportedOperationException("Method not decompiled: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$5$1$invoke$lambda$20$lambda$19$lambda$13$lambda$12$lambda$11$$inlined$items$default$4.invoke(androidx.compose.foundation.lazy.LazyItemScope, int, androidx.compose.runtime.Composer, int):void");
                                }
                            }));
                            return Unit.INSTANCE;
                        }
                    }
                }, composer2, 54);
                mutableState3 = mutableState7;
                i3 = 54;
                AndroidDialog_androidKt.Dialog((Function0) objRememberedValue9, null, composableLambdaRememberComposableLambda, composer2, 390, 2);
            } else {
                z2 = z;
                composer2 = composerStartRestartGroup;
                i3 = 54;
                mutableState3 = mutableState2;
            }
            composer2.endReplaceGroup();
            if (StopsFavoriteList$lambda$5(mutableState3) != null) {
                composer2.startReplaceGroup(5004770);
                Object objRememberedValue10 = composer2.rememberedValue();
                if (objRememberedValue10 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue10 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda1
                        @Override // kotlin.jvm.functions.Function0
                        public final Object invoke() {
                            return FavoritesScreenKt.StopsFavoriteList$lambda$42$lambda$41(mutableState3);
                        }
                    };
                    composer2.updateRememberedValue(objRememberedValue10);
                }
                composer2.endReplaceGroup();
                AndroidDialog_androidKt.Dialog((Function0) objRememberedValue10, null, ComposableLambdaKt.rememberComposableLambda(-1005882757, z2, new Function2<Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt.StopsFavoriteList.7
                    @Override // kotlin.jvm.functions.Function2
                    public /* bridge */ /* synthetic */ Unit invoke(Composer composer3, Integer num) {
                        invoke(composer3, num.intValue());
                        return Unit.INSTANCE;
                    }

                    public final void invoke(Composer composer3, int i4) {
                        if ((i4 & 3) == 2 && composer3.getSkipping()) {
                            composer3.skipToGroupEnd();
                            return;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(-1005882757, i4, -1, "com.sistemasolton.itranvias.home.presentation.favorites.StopsFavoriteList.<anonymous> (FavoritesScreen.kt:436)");
                        }
                        ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
                        ProvidableCompositionLocal<Density> localDensity2 = CompositionLocalsKt.getLocalDensity();
                        ComposerKt.sourceInformationMarkerStart(composer3, 2023513938, "CC(<get-current>):CompositionLocal.kt#9igjgp");
                        Object objConsume = composer3.consume(localDensity2);
                        ComposerKt.sourceInformationMarkerEnd(composer3);
                        CompositionLocalKt.CompositionLocalProvider(localDensity.provides(DensityKt.Density(((Density) objConsume).getDensity(), 1.0f)), ComposableLambdaKt.rememberComposableLambda(1755019067, true, new AnonymousClass1(mutableState, onEditAlias, mutableState3), composer3, 54), composer3, ProvidedValue.$stable | 48);
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    }

                    /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1, reason: invalid class name */
                    /* JADX INFO: compiled from: FavoritesScreen.kt */
                    @Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
                    static final class AnonymousClass1 implements Function2<Composer, Integer, Unit> {
                        final /* synthetic */ MutableState<String> $aliasInput$delegate;
                        final /* synthetic */ Function2<StopFavoriteEntity, String, Unit> $onEditAlias;
                        final /* synthetic */ MutableState<StopFavoriteEntity> $showEditDialog$delegate;

                        /* JADX WARN: Multi-variable type inference failed */
                        AnonymousClass1(MutableState<String> mutableState, Function2<? super StopFavoriteEntity, ? super String, Unit> function2, MutableState<StopFavoriteEntity> mutableState2) {
                            this.$aliasInput$delegate = mutableState;
                            this.$onEditAlias = function2;
                            this.$showEditDialog$delegate = mutableState2;
                        }

                        @Override // kotlin.jvm.functions.Function2
                        public /* bridge */ /* synthetic */ Unit invoke(Composer composer, Integer num) {
                            invoke(composer, num.intValue());
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$1$lambda$0(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.setContentDescription(semantics, "Diálogo para editar nombre personalizado");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$3$lambda$2(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.heading(semantics);
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$7$lambda$6(MutableState mutableState, String it) {
                            Intrinsics.checkNotNullParameter(it, "it");
                            FavoritesScreenKt.StopsFavoriteList$lambda$9(mutableState, it);
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$5$lambda$4(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.setContentDescription(semantics, "Campo de texto para nombre personalizado");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$18$lambda$11$lambda$10(MutableState mutableState, Function2 function2, MutableState mutableState2) {
                            StopFavoriteEntity stopFavoriteEntityStopsFavoriteList$lambda$5 = FavoritesScreenKt.StopsFavoriteList$lambda$5(mutableState);
                            if (stopFavoriteEntityStopsFavoriteList$lambda$5 != null) {
                                String strStopsFavoriteList$lambda$8 = FavoritesScreenKt.StopsFavoriteList$lambda$8(mutableState2);
                                if (StringsKt.isBlank(strStopsFavoriteList$lambda$8)) {
                                    strStopsFavoriteList$lambda$8 = null;
                                }
                                function2.invoke(stopFavoriteEntityStopsFavoriteList$lambda$5, strStopsFavoriteList$lambda$8);
                            }
                            FavoritesScreenKt.StopsFavoriteList$lambda$6(mutableState, null);
                            FavoritesScreenKt.StopsFavoriteList$lambda$9(mutableState2, "");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$18$lambda$13$lambda$12(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.setContentDescription(semantics, "Guardar nombre personalizado");
                            SemanticsPropertiesKt.m6444setRolekuIjeqM(semantics, Role.INSTANCE.m6425getButtono7Vup1c());
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$18$lambda$15$lambda$14(MutableState mutableState, MutableState mutableState2) {
                            FavoritesScreenKt.StopsFavoriteList$lambda$6(mutableState, null);
                            FavoritesScreenKt.StopsFavoriteList$lambda$9(mutableState2, "");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$20$lambda$19$lambda$18$lambda$17$lambda$16(SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            SemanticsPropertiesKt.setContentDescription(semantics, "Cancelar y cerrar diálogo");
                            SemanticsPropertiesKt.m6444setRolekuIjeqM(semantics, Role.INSTANCE.m6425getButtono7Vup1c());
                            return Unit.INSTANCE;
                        }

                        public final void invoke(Composer composer, int i) {
                            final MutableState<String> mutableState;
                            final MutableState<StopFavoriteEntity> mutableState2;
                            final MutableState<String> mutableState3;
                            if ((i & 3) == 2 && composer.getSkipping()) {
                                composer.skipToGroupEnd();
                                return;
                            }
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(1755019067, i, -1, "com.sistemasolton.itranvias.home.presentation.favorites.StopsFavoriteList.<anonymous>.<anonymous> (FavoritesScreen.kt:442)");
                            }
                            float f = 16;
                            Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(BackgroundKt.m256backgroundbw27NRU(Modifier.INSTANCE, MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getTertiary(), RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(12))), Dp.m7215constructorimpl(f));
                            composer.startReplaceGroup(1849434622);
                            Object objRememberedValue = composer.rememberedValue();
                            if (objRememberedValue == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda0
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj) {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$1$lambda$0((SemanticsPropertyReceiver) obj);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue);
                            }
                            composer.endReplaceGroup();
                            Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(modifierM832padding3ABfNKs, false, (Function1) objRememberedValue, 1, null);
                            MutableState<String> mutableState4 = this.$aliasInput$delegate;
                            final Function2<StopFavoriteEntity, String, Unit> function2 = this.$onEditAlias;
                            MutableState<StopFavoriteEntity> mutableState5 = this.$showEditDialog$delegate;
                            ComposerKt.sourceInformationMarkerStart(composer, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
                            MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), false);
                            ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                            int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
                            CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
                            Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer, modifierSemantics$default);
                            Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
                            ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                            if (!(composer.getApplier() instanceof Applier)) {
                                ComposablesKt.invalidApplier();
                            }
                            composer.startReusableNode();
                            if (composer.getInserting()) {
                                composer.createNode(constructor);
                            } else {
                                composer.useNode();
                            }
                            Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer);
                            Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyMaybeCachedBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                            Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                            Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                            if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
                                composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
                                composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
                            }
                            Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
                            ComposerKt.sourceInformationMarkerStart(composer, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
                            BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
                            Modifier modifierM832padding3ABfNKs2 = PaddingKt.m832padding3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f));
                            ComposerKt.sourceInformationMarkerStart(composer, 1341605231, "CC(Column)N(modifier,verticalArrangement,horizontalAlignment,content)87@4443L61,88@4509L134:Column.kt#2w3rfo");
                            MeasurePolicy measurePolicyColumnMeasurePolicy = ColumnKt.columnMeasurePolicy(Arrangement.INSTANCE.getTop(), Alignment.INSTANCE.getStart(), composer, 0);
                            ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                            int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
                            CompositionLocalMap currentCompositionLocalMap2 = composer.getCurrentCompositionLocalMap();
                            Modifier modifierMaterializeModifier2 = ComposedModifierKt.materializeModifier(composer, modifierM832padding3ABfNKs2);
                            Function0<ComposeUiNode> constructor2 = ComposeUiNode.INSTANCE.getConstructor();
                            ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                            if (!(composer.getApplier() instanceof Applier)) {
                                ComposablesKt.invalidApplier();
                            }
                            composer.startReusableNode();
                            if (composer.getInserting()) {
                                composer.createNode(constructor2);
                            } else {
                                composer.useNode();
                            }
                            Composer composerM3820constructorimpl2 = Updater.m3820constructorimpl(composer);
                            Updater.m3827setimpl(composerM3820constructorimpl2, measurePolicyColumnMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                            Updater.m3827setimpl(composerM3820constructorimpl2, currentCompositionLocalMap2, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                            Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash2 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                            if (composerM3820constructorimpl2.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl2.rememberedValue(), Integer.valueOf(iHashCode2))) {
                                composerM3820constructorimpl2.updateRememberedValue(Integer.valueOf(iHashCode2));
                                composerM3820constructorimpl2.apply(Integer.valueOf(iHashCode2), setCompositeKeyHash2);
                            }
                            Updater.m3827setimpl(composerM3820constructorimpl2, modifierMaterializeModifier2, ComposeUiNode.INSTANCE.getSetModifier());
                            ComposerKt.sourceInformationMarkerStart(composer, 2093002350, "C89@4557L9:Column.kt#2w3rfo");
                            ColumnScopeInstance columnScopeInstance = ColumnScopeInstance.INSTANCE;
                            String strStringResource = StringResourcesKt.stringResource(String0_commonMainKt.getEdit_custom_name_title(Res.string.INSTANCE), composer, 0);
                            long onSurface = MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getOnSurface();
                            TextStyle titleLarge = MaterialTheme.INSTANCE.getTypography(composer, MaterialTheme.$stable).getTitleLarge();
                            FontWeight bold = FontWeight.INSTANCE.getBold();
                            Modifier.Companion companion = Modifier.INSTANCE;
                            composer.startReplaceGroup(1849434622);
                            Object objRememberedValue2 = composer.rememberedValue();
                            if (objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue2 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda1
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj) {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$3$lambda$2((SemanticsPropertyReceiver) obj);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue2);
                            }
                            composer.endReplaceGroup();
                            TextKt.m2803Text4IGK_g(strStringResource, SemanticsModifierKt.semantics$default(companion, false, (Function1) objRememberedValue2, 1, null), onSurface, 0L, (FontStyle) null, bold, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, titleLarge, composer, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 0, 65496);
                            SpacerKt.Spacer(SizeKt.m870height3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f)), composer, 6);
                            String strStopsFavoriteList$lambda$8 = FavoritesScreenKt.StopsFavoriteList$lambda$8(mutableState4);
                            Modifier modifierFillMaxWidth$default = SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null);
                            composer.startReplaceGroup(1849434622);
                            Object objRememberedValue3 = composer.rememberedValue();
                            if (objRememberedValue3 == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue3 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda2
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj) {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$5$lambda$4((SemanticsPropertyReceiver) obj);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue3);
                            }
                            composer.endReplaceGroup();
                            Modifier modifierSemantics$default2 = SemanticsModifierKt.semantics$default(modifierFillMaxWidth$default, false, (Function1) objRememberedValue3, 1, null);
                            composer.startReplaceGroup(5004770);
                            Object objRememberedValue4 = composer.rememberedValue();
                            if (objRememberedValue4 == Composer.INSTANCE.getEmpty()) {
                                mutableState = mutableState4;
                                objRememberedValue4 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda3
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj) {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$7$lambda$6(mutableState, (String) obj);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue4);
                            } else {
                                mutableState = mutableState4;
                            }
                            composer.endReplaceGroup();
                            MutableState<String> mutableState6 = mutableState;
                            OutlinedTextFieldKt.OutlinedTextField(strStopsFavoriteList$lambda$8, (Function1<? super String, Unit>) objRememberedValue4, modifierSemantics$default2, false, false, (TextStyle) null, (Function2<? super Composer, ? super Integer, Unit>) null, (Function2<? super Composer, ? super Integer, Unit>) ComposableSingletons$FavoritesScreenKt.INSTANCE.getLambda$1762118320$composeApp_release(), (Function2<? super Composer, ? super Integer, Unit>) null, (Function2<? super Composer, ? super Integer, Unit>) null, (Function2<? super Composer, ? super Integer, Unit>) null, (Function2<? super Composer, ? super Integer, Unit>) null, (Function2<? super Composer, ? super Integer, Unit>) null, false, (VisualTransformation) null, (KeyboardOptions) null, (KeyboardActions) null, true, 0, 0, (MutableInteractionSource) null, (Shape) null, (TextFieldColors) null, composer, 12582960, 12582912, 0, 8257400);
                            SpacerKt.Spacer(SizeKt.m870height3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f)), composer, 6);
                            final String strStringResource2 = StringResourcesKt.stringResource(String0_commonMainKt.getSave(Res.string.INSTANCE), composer, 0);
                            final String strStringResource3 = StringResourcesKt.stringResource(String0_commonMainKt.getCancel(Res.string.INSTANCE), composer, 0);
                            Modifier modifierFillMaxWidth$default2 = SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null);
                            Arrangement.Horizontal end = Arrangement.INSTANCE.getEnd();
                            ComposerKt.sourceInformationMarkerStart(composer, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                            MeasurePolicy measurePolicyRowMeasurePolicy = RowKt.rowMeasurePolicy(end, Alignment.INSTANCE.getTop(), composer, 6);
                            ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                            int iHashCode3 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
                            CompositionLocalMap currentCompositionLocalMap3 = composer.getCurrentCompositionLocalMap();
                            Modifier modifierMaterializeModifier3 = ComposedModifierKt.materializeModifier(composer, modifierFillMaxWidth$default2);
                            Function0<ComposeUiNode> constructor3 = ComposeUiNode.INSTANCE.getConstructor();
                            ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                            if (!(composer.getApplier() instanceof Applier)) {
                                ComposablesKt.invalidApplier();
                            }
                            composer.startReusableNode();
                            if (composer.getInserting()) {
                                composer.createNode(constructor3);
                            } else {
                                composer.useNode();
                            }
                            Composer composerM3820constructorimpl3 = Updater.m3820constructorimpl(composer);
                            Updater.m3827setimpl(composerM3820constructorimpl3, measurePolicyRowMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                            Updater.m3827setimpl(composerM3820constructorimpl3, currentCompositionLocalMap3, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                            Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash3 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                            if (composerM3820constructorimpl3.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl3.rememberedValue(), Integer.valueOf(iHashCode3))) {
                                composerM3820constructorimpl3.updateRememberedValue(Integer.valueOf(iHashCode3));
                                composerM3820constructorimpl3.apply(Integer.valueOf(iHashCode3), setCompositeKeyHash3);
                            }
                            Updater.m3827setimpl(composerM3820constructorimpl3, modifierMaterializeModifier3, ComposeUiNode.INSTANCE.getSetModifier());
                            ComposerKt.sourceInformationMarkerStart(composer, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                            RowScopeInstance rowScopeInstance = RowScopeInstance.INSTANCE;
                            composer.startReplaceGroup(-1746271574);
                            boolean zChanged = composer.changed(function2);
                            Object objRememberedValue5 = composer.rememberedValue();
                            if (zChanged || objRememberedValue5 == Composer.INSTANCE.getEmpty()) {
                                mutableState2 = mutableState5;
                                mutableState3 = mutableState6;
                                objRememberedValue5 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda4
                                    @Override // kotlin.jvm.functions.Function0
                                    public final Object invoke() {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$18$lambda$11$lambda$10(mutableState2, function2, mutableState3);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue5);
                            } else {
                                mutableState2 = mutableState5;
                                mutableState3 = mutableState6;
                            }
                            Function0 function0 = (Function0) objRememberedValue5;
                            composer.endReplaceGroup();
                            Modifier.Companion companion2 = Modifier.INSTANCE;
                            composer.startReplaceGroup(1849434622);
                            Object objRememberedValue6 = composer.rememberedValue();
                            if (objRememberedValue6 == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue6 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda5
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj) {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$18$lambda$13$lambda$12((SemanticsPropertyReceiver) obj);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue6);
                            }
                            composer.endReplaceGroup();
                            final MutableState<StopFavoriteEntity> mutableState7 = mutableState2;
                            final MutableState<String> mutableState8 = mutableState3;
                            ButtonKt.Button(function0, SemanticsModifierKt.semantics$default(companion2, false, (Function1) objRememberedValue6, 1, null), false, null, null, null, null, null, null, ComposableLambdaKt.rememberComposableLambda(-1692635509, true, new Function3<RowScope, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$2$1$4$3
                                @Override // kotlin.jvm.functions.Function3
                                public /* bridge */ /* synthetic */ Unit invoke(RowScope rowScope, Composer composer2, Integer num) {
                                    invoke(rowScope, composer2, num.intValue());
                                    return Unit.INSTANCE;
                                }

                                public final void invoke(RowScope Button, Composer composer2, int i2) {
                                    Intrinsics.checkNotNullParameter(Button, "$this$Button");
                                    if ((i2 & 17) == 16 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(-1692635509, i2, -1, "com.sistemasolton.itranvias.home.presentation.favorites.StopsFavoriteList.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous> (FavoritesScreen.kt:504)");
                                    }
                                    TextKt.m2803Text4IGK_g(strStringResource2, (Modifier) null, 0L, 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer2, 0, 0, 131070);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            }, composer, 54), composer, 805306368, 508);
                            SpacerKt.Spacer(SizeKt.m889width3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(8)), composer, 6);
                            composer.startReplaceGroup(-1633490746);
                            Object objRememberedValue7 = composer.rememberedValue();
                            if (objRememberedValue7 == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue7 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda6
                                    @Override // kotlin.jvm.functions.Function0
                                    public final Object invoke() {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$18$lambda$15$lambda$14(mutableState7, mutableState8);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue7);
                            }
                            Function0 function02 = (Function0) objRememberedValue7;
                            composer.endReplaceGroup();
                            Modifier.Companion companion3 = Modifier.INSTANCE;
                            composer.startReplaceGroup(1849434622);
                            Object objRememberedValue8 = composer.rememberedValue();
                            if (objRememberedValue8 == Composer.INSTANCE.getEmpty()) {
                                objRememberedValue8 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$$ExternalSyntheticLambda7
                                    @Override // kotlin.jvm.functions.Function1
                                    public final Object invoke(Object obj) {
                                        return FavoritesScreenKt.AnonymousClass7.AnonymousClass1.invoke$lambda$20$lambda$19$lambda$18$lambda$17$lambda$16((SemanticsPropertyReceiver) obj);
                                    }
                                };
                                composer.updateRememberedValue(objRememberedValue8);
                            }
                            composer.endReplaceGroup();
                            ButtonKt.Button(function02, SemanticsModifierKt.semantics$default(companion3, false, (Function1) objRememberedValue8, 1, null), false, null, null, null, null, null, null, ComposableLambdaKt.rememberComposableLambda(477939138, true, new Function3<RowScope, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$7$1$2$1$4$6
                                @Override // kotlin.jvm.functions.Function3
                                public /* bridge */ /* synthetic */ Unit invoke(RowScope rowScope, Composer composer2, Integer num) {
                                    invoke(rowScope, composer2, num.intValue());
                                    return Unit.INSTANCE;
                                }

                                public final void invoke(RowScope Button, Composer composer2, int i2) {
                                    Intrinsics.checkNotNullParameter(Button, "$this$Button");
                                    if ((i2 & 17) == 16 && composer2.getSkipping()) {
                                        composer2.skipToGroupEnd();
                                        return;
                                    }
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventStart(477939138, i2, -1, "com.sistemasolton.itranvias.home.presentation.favorites.StopsFavoriteList.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous> (FavoritesScreen.kt:519)");
                                    }
                                    TextKt.m2803Text4IGK_g(strStringResource3, (Modifier) null, 0L, 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer2, 0, 0, 131070);
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                    }
                                }
                            }, composer, 54), composer, 805306374, 508);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            composer.endNode();
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            composer.endNode();
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            composer.endNode();
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            ComposerKt.sourceInformationMarkerEnd(composer);
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventEnd();
                            }
                        }
                    }
                }, composer2, i3), composer2, 390, 2);
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        } else {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new Function2() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda2
                @Override // kotlin.jvm.functions.Function2
                public final Object invoke(Object obj, Object obj2) {
                    return FavoritesScreenKt.StopsFavoriteList$lambda$43(stopsFavorites, infoDto, onStopClick, onEditAlias, i, (Composer) obj, ((Integer) obj2).intValue());
                }
            });
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final StopFavoriteEntity StopsFavoriteList$lambda$5(MutableState<StopFavoriteEntity> mutableState) {
        return mutableState.getValue();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final String StopsFavoriteList$lambda$8(MutableState<String> mutableState) {
        return mutableState.getValue();
    }

    private static final boolean StopsFavoriteList$lambda$11(MutableState<Boolean> mutableState) {
        return mutableState.getValue().booleanValue();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void StopsFavoriteList$lambda$12(MutableState<Boolean> mutableState, boolean z) {
        mutableState.setValue(Boolean.valueOf(z));
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$14$lambda$13(String str, SemanticsPropertyReceiver semantics) {
        Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
        SemanticsPropertiesKt.setContentDescription(semantics, str);
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$38$lambda$17$lambda$16(SemanticsPropertyReceiver semantics) {
        Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
        SemanticsPropertiesKt.setContentDescription(semantics, "Lista de paradas favoritas");
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$38$lambda$35$lambda$34(MutableState mutableState) {
        StopsFavoriteList$lambda$12(mutableState, true);
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$38$lambda$37$lambda$36(SemanticsPropertyReceiver semantics) {
        Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
        SemanticsPropertiesKt.setContentDescription(semantics, "Editar nombres personalizados de paradas favoritas");
        SemanticsPropertiesKt.m6444setRolekuIjeqM(semantics, Role.INSTANCE.m6425getButtono7Vup1c());
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$40$lambda$39(MutableState mutableState) {
        StopsFavoriteList$lambda$12(mutableState, false);
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$42$lambda$41(MutableState mutableState) {
        mutableState.setValue(null);
        return Unit.INSTANCE;
    }

    public static final void LinesFavoriteList(final List<String> linesFavorites, final InfoDto infoDto, final Function1<? super String, Unit> onLineClick, Composer composer, final int i) {
        Composer composer2;
        Intrinsics.checkNotNullParameter(linesFavorites, "linesFavorites");
        Intrinsics.checkNotNullParameter(infoDto, "infoDto");
        Intrinsics.checkNotNullParameter(onLineClick, "onLineClick");
        Composer composerStartRestartGroup = composer.startRestartGroup(-132820691);
        int i2 = (i & 6) == 0 ? (composerStartRestartGroup.changedInstance(linesFavorites) ? 4 : 2) | i : i;
        if ((i & 48) == 0) {
            i2 |= composerStartRestartGroup.changedInstance(infoDto) ? 32 : 16;
        }
        if ((i & 384) == 0) {
            i2 |= composerStartRestartGroup.changedInstance(onLineClick) ? 256 : 128;
        }
        if ((i2 & 147) != 146 || !composerStartRestartGroup.getSkipping()) {
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-132820691, i2, -1, "com.sistemasolton.itranvias.home.presentation.favorites.LinesFavoriteList (FavoritesScreen.kt:534)");
            }
            List<LineaDto> lineas = infoDto.getITranvias().getActualizacion().getLineas();
            ArrayList arrayList = new ArrayList();
            for (Object obj : lineas) {
                if (linesFavorites.contains(String.valueOf(((LineaDto) obj).getId()))) {
                    arrayList.add(obj);
                }
            }
            final ArrayList arrayList2 = arrayList;
            final String strStringResource = StringResourcesKt.stringResource(String0_commonMainKt.getNo_lines_favorites(Res.string.INSTANCE), composerStartRestartGroup, 0);
            if (arrayList2.isEmpty()) {
                composerStartRestartGroup.startReplaceGroup(-1195943454);
                Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), Dp.m7215constructorimpl(16));
                composerStartRestartGroup.startReplaceGroup(5004770);
                boolean zChanged = composerStartRestartGroup.changed(strStringResource);
                Object objRememberedValue = composerStartRestartGroup.rememberedValue();
                if (zChanged || objRememberedValue == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda0
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj2) {
                            return FavoritesScreenKt.LinesFavoriteList$lambda$46$lambda$45(strStringResource, (SemanticsPropertyReceiver) obj2);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue);
                }
                composerStartRestartGroup.endReplaceGroup();
                Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(modifierM832padding3ABfNKs, false, (Function1) objRememberedValue, 1, null);
                Alignment center = Alignment.INSTANCE.getCenter();
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
                MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(center, false);
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composerStartRestartGroup, 0));
                CompositionLocalMap currentCompositionLocalMap = composerStartRestartGroup.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composerStartRestartGroup, modifierSemantics$default);
                Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                if (!(composerStartRestartGroup.getApplier() instanceof Applier)) {
                    ComposablesKt.invalidApplier();
                }
                composerStartRestartGroup.startReusableNode();
                if (composerStartRestartGroup.getInserting()) {
                    composerStartRestartGroup.createNode(constructor);
                } else {
                    composerStartRestartGroup.useNode();
                }
                Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composerStartRestartGroup);
                Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyMaybeCachedBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
                    composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
                    composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
                }
                Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
                ComposerKt.sourceInformationMarkerStart(composerStartRestartGroup, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
                BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
                TextKt.m2803Text4IGK_g(strStringResource, (Modifier) null, ColorKt.getGreyTranvias(), 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composerStartRestartGroup, 384, 0, 131066);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                composerStartRestartGroup.endNode();
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                ComposerKt.sourceInformationMarkerEnd(composerStartRestartGroup);
                composerStartRestartGroup.endReplaceGroup();
                composer2 = composerStartRestartGroup;
            } else {
                composerStartRestartGroup.startReplaceGroup(-1195471944);
                Modifier modifierM832padding3ABfNKs2 = PaddingKt.m832padding3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(16));
                composerStartRestartGroup.startReplaceGroup(1849434622);
                Object objRememberedValue2 = composerStartRestartGroup.rememberedValue();
                if (objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue2 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda4
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj2) {
                            return FavoritesScreenKt.LinesFavoriteList$lambda$49$lambda$48((SemanticsPropertyReceiver) obj2);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue2);
                }
                composerStartRestartGroup.endReplaceGroup();
                Modifier modifierSemantics$default2 = SemanticsModifierKt.semantics$default(modifierM832padding3ABfNKs2, false, (Function1) objRememberedValue2, 1, null);
                composerStartRestartGroup.startReplaceGroup(-1633490746);
                boolean zChangedInstance = composerStartRestartGroup.changedInstance(arrayList2) | ((i2 & 896) == 256);
                Object objRememberedValue3 = composerStartRestartGroup.rememberedValue();
                if (zChangedInstance || objRememberedValue3 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue3 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda5
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj2) {
                            return FavoritesScreenKt.LinesFavoriteList$lambda$57$lambda$56(arrayList2, onLineClick, (LazyListScope) obj2);
                        }
                    };
                    composerStartRestartGroup.updateRememberedValue(objRememberedValue3);
                }
                composerStartRestartGroup.endReplaceGroup();
                composer2 = composerStartRestartGroup;
                LazyDslKt.LazyColumn(modifierSemantics$default2, null, null, false, null, null, null, false, null, (Function1) objRememberedValue3, composerStartRestartGroup, 0, 510);
                composer2.endReplaceGroup();
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventEnd();
            }
        } else {
            composerStartRestartGroup.skipToGroupEnd();
            composer2 = composerStartRestartGroup;
        }
        ScopeUpdateScope scopeUpdateScopeEndRestartGroup = composer2.endRestartGroup();
        if (scopeUpdateScopeEndRestartGroup != null) {
            scopeUpdateScopeEndRestartGroup.updateScope(new Function2() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$$ExternalSyntheticLambda6
                @Override // kotlin.jvm.functions.Function2
                public final Object invoke(Object obj2, Object obj3) {
                    return FavoritesScreenKt.LinesFavoriteList$lambda$58(linesFavorites, infoDto, onLineClick, i, (Composer) obj2, ((Integer) obj3).intValue());
                }
            });
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit LinesFavoriteList$lambda$46$lambda$45(String str, SemanticsPropertyReceiver semantics) {
        Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
        SemanticsPropertiesKt.setContentDescription(semantics, str);
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit LinesFavoriteList$lambda$49$lambda$48(SemanticsPropertyReceiver semantics) {
        Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
        SemanticsPropertiesKt.setContentDescription(semantics, "Lista de líneas favoritas");
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void StopsFavoriteList$lambda$6(MutableState<StopFavoriteEntity> mutableState, StopFavoriteEntity stopFavoriteEntity) {
        mutableState.setValue(stopFavoriteEntity);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void StopsFavoriteList$lambda$9(MutableState<String> mutableState, String str) {
        mutableState.setValue(str);
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopsFavoriteList$lambda$38$lambda$33$lambda$32(final List list, final InfoDto infoDto, final Function1 function1, LazyListScope LazyColumn) {
        Intrinsics.checkNotNullParameter(LazyColumn, "$this$LazyColumn");
        final FavoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$1 favoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$1 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$1
            @Override // kotlin.jvm.functions.Function1
            public final Void invoke(StopFavoriteEntity stopFavoriteEntity) {
                return null;
            }

            @Override // kotlin.jvm.functions.Function1
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                return invoke((StopFavoriteEntity) obj);
            }
        };
        LazyColumn.items(list.size(), null, new Function1<Integer, Object>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$3
            @Override // kotlin.jvm.functions.Function1
            public /* bridge */ /* synthetic */ Object invoke(Integer num) {
                return invoke(num.intValue());
            }

            public final Object invoke(int i) {
                return favoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$1.invoke(list.get(i));
            }
        }, ComposableLambdaKt.composableLambdaInstance(802480018, true, new Function4<LazyItemScope, Integer, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$4
            @Override // kotlin.jvm.functions.Function4
            public /* bridge */ /* synthetic */ Unit invoke(LazyItemScope lazyItemScope, Integer num, Composer composer, Integer num2) {
                invoke(lazyItemScope, num.intValue(), composer, num2.intValue());
                return Unit.INSTANCE;
            }

            /* JADX WARN: Multi-variable type inference failed */
            /* JADX WARN: Removed duplicated region for block: B:100:0x0398  */
            /* JADX WARN: Removed duplicated region for block: B:103:0x048f  */
            /* JADX WARN: Removed duplicated region for block: B:106:0x049b  */
            /* JADX WARN: Removed duplicated region for block: B:107:0x049f  */
            /* JADX WARN: Removed duplicated region for block: B:112:0x04d2  */
            /* JADX WARN: Removed duplicated region for block: B:115:0x059b  */
            /* JADX WARN: Removed duplicated region for block: B:118:0x05a7  */
            /* JADX WARN: Removed duplicated region for block: B:119:0x05ab  */
            /* JADX WARN: Removed duplicated region for block: B:124:0x05de  */
            /* JADX WARN: Removed duplicated region for block: B:128:0x0611  */
            /* JADX WARN: Removed duplicated region for block: B:45:0x00ba  */
            /* JADX WARN: Removed duplicated region for block: B:49:0x00e0  */
            /* JADX WARN: Removed duplicated region for block: B:62:0x0157  */
            /* JADX WARN: Removed duplicated region for block: B:65:0x017f  */
            /* JADX WARN: Removed duplicated region for block: B:66:0x0195  */
            /* JADX WARN: Removed duplicated region for block: B:71:0x01bf  */
            /* JADX WARN: Removed duplicated region for block: B:76:0x0236  */
            /* JADX WARN: Removed duplicated region for block: B:79:0x0296  */
            /* JADX WARN: Removed duplicated region for block: B:82:0x02a2  */
            /* JADX WARN: Removed duplicated region for block: B:83:0x02a6  */
            /* JADX WARN: Removed duplicated region for block: B:88:0x02d9  */
            /* JADX WARN: Removed duplicated region for block: B:91:0x0355  */
            /* JADX WARN: Removed duplicated region for block: B:94:0x0361  */
            /* JADX WARN: Removed duplicated region for block: B:95:0x0365  */
            /* JADX WARN: Type inference failed for: r15v10, types: [boolean, int] */
            /* JADX WARN: Type inference failed for: r15v11 */
            /* JADX WARN: Type inference failed for: r15v9 */
            /* JADX WARN: Type inference failed for: r38v1 */
            /* JADX WARN: Type inference failed for: r38v2 */
            /*
                Code decompiled incorrectly, please refer to instructions dump.
                To view partially-correct code enable 'Show inconsistent code' option in preferences
            */
            public final void invoke(androidx.compose.foundation.lazy.LazyItemScope r46, int r47, androidx.compose.runtime.Composer r48, int r49) {
                /*
                    Method dump skipped, instruction units count: 1957
                    To view this dump change 'Code comments level' option to 'DEBUG'
                */
                throw new UnsupportedOperationException("Method not decompiled: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$StopsFavoriteList$lambda$38$lambda$33$lambda$32$$inlined$items$default$4.invoke(androidx.compose.foundation.lazy.LazyItemScope, int, androidx.compose.runtime.Composer, int):void");
            }
        }));
        return Unit.INSTANCE;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit LinesFavoriteList$lambda$57$lambda$56(final List list, final Function1 function1, LazyListScope LazyColumn) {
        Intrinsics.checkNotNullParameter(LazyColumn, "$this$LazyColumn");
        final FavoritesScreenKt$LinesFavoriteList$lambda$57$lambda$56$$inlined$items$default$1 favoritesScreenKt$LinesFavoriteList$lambda$57$lambda$56$$inlined$items$default$1 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$LinesFavoriteList$lambda$57$lambda$56$$inlined$items$default$1
            @Override // kotlin.jvm.functions.Function1
            public final Void invoke(LineaDto lineaDto) {
                return null;
            }

            @Override // kotlin.jvm.functions.Function1
            public /* bridge */ /* synthetic */ Object invoke(Object obj) {
                return invoke((LineaDto) obj);
            }
        };
        LazyColumn.items(list.size(), null, new Function1<Integer, Object>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$LinesFavoriteList$lambda$57$lambda$56$$inlined$items$default$3
            @Override // kotlin.jvm.functions.Function1
            public /* bridge */ /* synthetic */ Object invoke(Integer num) {
                return invoke(num.intValue());
            }

            public final Object invoke(int i) {
                return favoritesScreenKt$LinesFavoriteList$lambda$57$lambda$56$$inlined$items$default$1.invoke(list.get(i));
            }
        }, ComposableLambdaKt.composableLambdaInstance(802480018, true, new Function4<LazyItemScope, Integer, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$LinesFavoriteList$lambda$57$lambda$56$$inlined$items$default$4
            @Override // kotlin.jvm.functions.Function4
            public /* bridge */ /* synthetic */ Unit invoke(LazyItemScope lazyItemScope, Integer num, Composer composer, Integer num2) {
                invoke(lazyItemScope, num.intValue(), composer, num2.intValue());
                return Unit.INSTANCE;
            }

            public final void invoke(LazyItemScope lazyItemScope, int i, Composer composer, int i2) {
                int i3;
                ComposerKt.sourceInformation(composer, "CN(it)178@8834L22:LazyDsl.kt#428nma");
                if ((i2 & 6) == 0) {
                    i3 = i2 | (composer.changed(lazyItemScope) ? 4 : 2);
                } else {
                    i3 = i2;
                }
                if ((i2 & 48) == 0) {
                    i3 |= composer.changed(i) ? 32 : 16;
                }
                if (!composer.shouldExecute((i3 & 147) != 146, i3 & 1)) {
                    composer.skipToGroupEnd();
                    return;
                }
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventStart(802480018, i3, -1, "androidx.compose.foundation.lazy.items.<anonymous> (LazyDsl.kt:178)");
                }
                final LineaDto lineaDto = (LineaDto) list.get(i);
                composer.startReplaceGroup(-1261459538);
                long colorSafely = StopsScreenKt.parseColorSafely("#" + lineaDto.getColor());
                long jM4500copywmQWz5c$default = Color.m4500copywmQWz5c$default(colorSafely, 0.2f, 0.0f, 0.0f, 0.0f, 14, null);
                final String str = "Línea favorita " + LinesScreenKt.formatLineNameForAccessibility(lineaDto.getLinComer()) + ", desde " + lineaDto.getNombreOrig() + " hasta " + lineaDto.getNombreDest() + ". Toca para ver detalles.";
                Modifier.Companion companion = Modifier.INSTANCE;
                composer.startReplaceGroup(-1633490746);
                boolean zChanged = composer.changed(function1) | composer.changedInstance(lineaDto);
                Object objRememberedValue = composer.rememberedValue();
                if (zChanged || objRememberedValue == Composer.INSTANCE.getEmpty()) {
                    final Function1 function12 = function1;
                    objRememberedValue = (Function0) new Function0<Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$LinesFavoriteList$4$1$1$1$1
                        @Override // kotlin.jvm.functions.Function0
                        public /* bridge */ /* synthetic */ Unit invoke() {
                            invoke2();
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
                        public final void invoke2() {
                            function12.invoke(String.valueOf(lineaDto.getId()));
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue);
                }
                composer.endReplaceGroup();
                float f = 8;
                Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(BackgroundKt.m256backgroundbw27NRU(PaddingKt.m834paddingVpY3zN4$default(SizeKt.fillMaxWidth$default(ClickableKt.m298clickableoSLSa3U$default(companion, false, null, null, null, (Function0) objRememberedValue, 15, null), 0.0f, 1, null), 0.0f, Dp.m7215constructorimpl(4), 1, null), jM4500copywmQWz5c$default, RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(f))), Dp.m7215constructorimpl(12));
                composer.startReplaceGroup(5004770);
                boolean zChanged2 = composer.changed(str);
                Object objRememberedValue2 = composer.rememberedValue();
                if (zChanged2 || objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue2 = (Function1) new Function1<SemanticsPropertyReceiver, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.favorites.FavoritesScreenKt$LinesFavoriteList$4$1$1$2$1
                        @Override // kotlin.jvm.functions.Function1
                        public /* bridge */ /* synthetic */ Unit invoke(SemanticsPropertyReceiver semanticsPropertyReceiver) {
                            invoke2(semanticsPropertyReceiver);
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
                        public final void invoke2(SemanticsPropertyReceiver clearAndSetSemantics) {
                            Intrinsics.checkNotNullParameter(clearAndSetSemantics, "$this$clearAndSetSemantics");
                            SemanticsPropertiesKt.setContentDescription(clearAndSetSemantics, str);
                            SemanticsPropertiesKt.m6444setRolekuIjeqM(clearAndSetSemantics, Role.INSTANCE.m6425getButtono7Vup1c());
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue2);
                }
                composer.endReplaceGroup();
                Modifier modifierClearAndSetSemantics = SemanticsModifierKt.clearAndSetSemantics(modifierM832padding3ABfNKs, (Function1) objRememberedValue2);
                Alignment.Vertical centerVertically = Alignment.INSTANCE.getCenterVertically();
                ComposerKt.sourceInformationMarkerStart(composer, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                MeasurePolicy measurePolicyRowMeasurePolicy = RowKt.rowMeasurePolicy(Arrangement.INSTANCE.getStart(), centerVertically, composer, 48);
                ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
                CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer, modifierClearAndSetSemantics);
                Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
                ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                if (!(composer.getApplier() instanceof Applier)) {
                    ComposablesKt.invalidApplier();
                }
                composer.startReusableNode();
                if (composer.getInserting()) {
                    composer.createNode(constructor);
                } else {
                    composer.useNode();
                }
                Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer);
                Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyRowMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                Updater.m3827setimpl(composerM3820constructorimpl, currentCompositionLocalMap, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                if (composerM3820constructorimpl.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl.rememberedValue(), Integer.valueOf(iHashCode))) {
                    composerM3820constructorimpl.updateRememberedValue(Integer.valueOf(iHashCode));
                    composerM3820constructorimpl.apply(Integer.valueOf(iHashCode), setCompositeKeyHash);
                }
                Updater.m3827setimpl(composerM3820constructorimpl, modifierMaterializeModifier, ComposeUiNode.INSTANCE.getSetModifier());
                ComposerKt.sourceInformationMarkerStart(composer, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                RowScopeInstance rowScopeInstance = RowScopeInstance.INSTANCE;
                Modifier modifierM256backgroundbw27NRU = BackgroundKt.m256backgroundbw27NRU(SizeKt.m884size3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(48)), colorSafely, RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(f)));
                Alignment center = Alignment.INSTANCE.getCenter();
                ComposerKt.sourceInformationMarkerStart(composer, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
                MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(center, false);
                ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
                CompositionLocalMap currentCompositionLocalMap2 = composer.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier2 = ComposedModifierKt.materializeModifier(composer, modifierM256backgroundbw27NRU);
                Function0<ComposeUiNode> constructor2 = ComposeUiNode.INSTANCE.getConstructor();
                ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                if (!(composer.getApplier() instanceof Applier)) {
                    ComposablesKt.invalidApplier();
                }
                composer.startReusableNode();
                if (composer.getInserting()) {
                    composer.createNode(constructor2);
                } else {
                    composer.useNode();
                }
                Composer composerM3820constructorimpl2 = Updater.m3820constructorimpl(composer);
                Updater.m3827setimpl(composerM3820constructorimpl2, measurePolicyMaybeCachedBoxMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                Updater.m3827setimpl(composerM3820constructorimpl2, currentCompositionLocalMap2, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash2 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                if (composerM3820constructorimpl2.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl2.rememberedValue(), Integer.valueOf(iHashCode2))) {
                    composerM3820constructorimpl2.updateRememberedValue(Integer.valueOf(iHashCode2));
                    composerM3820constructorimpl2.apply(Integer.valueOf(iHashCode2), setCompositeKeyHash2);
                }
                Updater.m3827setimpl(composerM3820constructorimpl2, modifierMaterializeModifier2, ComposeUiNode.INSTANCE.getSetModifier());
                ComposerKt.sourceInformationMarkerStart(composer, 1833054614, "C72@3469L9:Box.kt#2w3rfo");
                BoxScopeInstance boxScopeInstance = BoxScopeInstance.INSTANCE;
                TextKt.m2803Text4IGK_g(lineaDto.getLinComer(), (Modifier) null, Color.INSTANCE.m4538getWhite0d7_KjU(), 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, 384, 0, 131066);
                ComposerKt.sourceInformationMarkerEnd(composer);
                composer.endNode();
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                SpacerKt.Spacer(SizeKt.m889width3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(16)), composer, 6);
                Modifier modifierWeight$default = RowScope.weight$default(rowScopeInstance, Modifier.INSTANCE, 1.0f, false, 2, null);
                Alignment.Horizontal start = Alignment.INSTANCE.getStart();
                ComposerKt.sourceInformationMarkerStart(composer, 1341605231, "CC(Column)N(modifier,verticalArrangement,horizontalAlignment,content)87@4443L61,88@4509L134:Column.kt#2w3rfo");
                MeasurePolicy measurePolicyColumnMeasurePolicy = ColumnKt.columnMeasurePolicy(Arrangement.INSTANCE.getTop(), start, composer, 48);
                ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode3 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
                CompositionLocalMap currentCompositionLocalMap3 = composer.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier3 = ComposedModifierKt.materializeModifier(composer, modifierWeight$default);
                Function0<ComposeUiNode> constructor3 = ComposeUiNode.INSTANCE.getConstructor();
                ComposerKt.sourceInformationMarkerStart(composer, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                if (!(composer.getApplier() instanceof Applier)) {
                    ComposablesKt.invalidApplier();
                }
                composer.startReusableNode();
                if (composer.getInserting()) {
                    composer.createNode(constructor3);
                } else {
                    composer.useNode();
                }
                Composer composerM3820constructorimpl3 = Updater.m3820constructorimpl(composer);
                Updater.m3827setimpl(composerM3820constructorimpl3, measurePolicyColumnMeasurePolicy, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                Updater.m3827setimpl(composerM3820constructorimpl3, currentCompositionLocalMap3, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash3 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                if (composerM3820constructorimpl3.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl3.rememberedValue(), Integer.valueOf(iHashCode3))) {
                    composerM3820constructorimpl3.updateRememberedValue(Integer.valueOf(iHashCode3));
                    composerM3820constructorimpl3.apply(Integer.valueOf(iHashCode3), setCompositeKeyHash3);
                }
                Updater.m3827setimpl(composerM3820constructorimpl3, modifierMaterializeModifier3, ComposeUiNode.INSTANCE.getSetModifier());
                ComposerKt.sourceInformationMarkerStart(composer, 2093002350, "C89@4557L9:Column.kt#2w3rfo");
                ColumnScopeInstance columnScopeInstance = ColumnScopeInstance.INSTANCE;
                TextKt.m2803Text4IGK_g(lineaDto.getNombreOrig(), (Modifier) null, MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getOnSurface(), 0L, (FontStyle) null, FontWeight.INSTANCE.getBold(), (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 0, 131034);
                TextKt.m2803Text4IGK_g(lineaDto.getNombreDest(), (Modifier) null, MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getOnSurface(), 0L, (FontStyle) null, FontWeight.INSTANCE.getBold(), (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 0, 131034);
                ComposerKt.sourceInformationMarkerEnd(composer);
                composer.endNode();
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                composer.endNode();
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                ComposerKt.sourceInformationMarkerEnd(composer);
                composer.endReplaceGroup();
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }
        }));
        return Unit.INSTANCE;
    }
}