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

import androidx.compose.animation.AnimationModifierKt;
import androidx.compose.animation.core.AnimationConstants;
import androidx.compose.animation.core.AnimationSpecKt;
import androidx.compose.foundation.BackgroundKt;
import androidx.compose.foundation.ClickableKt;
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.ColumnScope;
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.material.icons.Icons;
import androidx.compose.material.icons.filled.DirectionsBusKt;
import androidx.compose.material.icons.filled.KeyboardArrowDownKt;
import androidx.compose.material.icons.filled.KeyboardArrowUpKt;
import androidx.compose.material.icons.filled.LocationCityKt;
import androidx.compose.material.icons.filled.LocationOnKt;
import androidx.compose.material3.AppBarKt;
import androidx.compose.material3.CardDefaults;
import androidx.compose.material3.CardKt;
import androidx.compose.material3.IconKt;
import androidx.compose.material3.MaterialTheme;
import androidx.compose.material3.TextKt;
import androidx.compose.material3.TopAppBarDefaults;
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.EffectsKt;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.ProvidableCompositionLocal;
import androidx.compose.runtime.ProvidedValue;
import androidx.compose.runtime.RecomposeScopeImplKt;
import androidx.compose.runtime.State;
import androidx.compose.runtime.Updater;
import androidx.compose.runtime.internal.ComposableLambdaKt;
import androidx.compose.runtime.snapshots.SnapshotStateMap;
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.vector.ImageVector;
import androidx.compose.ui.layout.MeasurePolicy;
import androidx.compose.ui.node.ComposeUiNode;
import androidx.compose.ui.platform.CompositionLocalsKt;
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.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.TextUnitKt;
import androidx.compose.ui.window.AndroidDialog_androidKt;
import androidx.profileinstaller.ProfileVerifier;
import com.sistemasolton.itranvias.home.data.remote.dto.detalleparadadto.BusDto;
import com.sistemasolton.itranvias.home.data.remote.dto.detalleparadadto.DetalleParadaDto;
import com.sistemasolton.itranvias.home.data.remote.dto.detalleparadadto.LineaBusesDto;
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.data.remote.dto.infodto.ParadaDto;
import com.sistemasolton.itranvias.home.presentation.lines.LinesScreenKt;
import com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt;
import com.sistemasolton.itranvias.ui.theme.ColorKt;
import itranvias.composeapp.generated.resources.Res;
import itranvias.composeapp.generated.resources.String0_commonMainKt;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.NoSuchElementException;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.coroutines.Continuation;
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.text.CharsKt;
import kotlin.text.StringsKt;
import kotlinx.coroutines.CoroutineScope;
import org.jetbrains.compose.resources.StringResourcesKt;
import org.koin.core.parameter.ParametersHolder;
import org.koin.core.parameter.ParametersHolderKt;

/* JADX INFO: compiled from: StopDetailScreen.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000$\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000b\n\u0000\u001a#\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\f\u0010\u0004\u001a\b\u0012\u0004\u0012\u00020\u00010\u0005H\u0007¢\u0006\u0002\u0010\u0006\u001a\u0013\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\u0003¢\u0006\u0002\u0010\n¨\u0006\u000b²\u0006\n\u0010\f\u001a\u00020\u0003X\u008a\u0084\u0002²\u0006\n\u0010\r\u001a\u00020\u000eX\u008a\u008e\u0002²\u0006\n\u0010\u000f\u001a\u00020\u0003X\u008a\u008e\u0002"}, d2 = {"StopDetailScreen", "", "stopId", "", "onBackPressed", "Lkotlin/Function0;", "(Ljava/lang/String;Lkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;I)V", "parseColor", "Landroidx/compose/ui/graphics/Color;", "hex", "(Ljava/lang/String;)J", "composeApp_release", "language", "showAliasDialog", "", "aliasInput"}, k = 2, mv = {2, 1, 0}, xi = 48)
public final class StopDetailScreenKt {
    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopDetailScreen$lambda$13(String str, Function0 function0, int i, Composer composer, int i2) {
        StopDetailScreen(str, function0, composer, RecomposeScopeImplKt.updateChangedFlags(i | 1));
        return Unit.INSTANCE;
    }

    /* JADX WARN: Removed duplicated region for block: B:80:0x025a  */
    /* JADX WARN: Type inference fix 'apply assigned field type' failed
    java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$PrimitiveArg
    	at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
    	at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
    	at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct code enable 'Show inconsistent code' option in preferences
    */
    public static final void StopDetailScreen(final java.lang.String r26, final kotlin.jvm.functions.Function0<kotlin.Unit> r27, androidx.compose.runtime.Composer r28, final int r29) {
        /*
            Method dump skipped, instruction units count: 634
            To view this dump change 'Code comments level' option to 'DEBUG'
        */
        throw new UnsupportedOperationException("Method not decompiled: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt.StopDetailScreen(java.lang.String, kotlin.jvm.functions.Function0, androidx.compose.runtime.Composer, int):void");
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final ParametersHolder StopDetailScreen$lambda$2$lambda$1(State state) {
        return ParametersHolderKt.parametersOf(StopDetailScreen$lambda$0(state));
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final boolean StopDetailScreen$lambda$4(MutableState<Boolean> mutableState) {
        return mutableState.getValue().booleanValue();
    }

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

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

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit StopDetailScreen$lambda$12$lambda$11(StopDetailViewModel stopDetailViewModel, String str) {
        StopDetailViewModel.loadInfo$default(stopDetailViewModel, str, false, 2, null);
        return Unit.INSTANCE;
    }

    /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3, reason: invalid class name */
    /* JADX INFO: compiled from: StopDetailScreen.kt */
    @Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
    static final class AnonymousClass3 implements Function2<Composer, Integer, Unit> {
        final /* synthetic */ MutableState<String> $aliasInput$delegate;
        final /* synthetic */ DetalleParadaDto $detalle;
        final /* synthetic */ InfoDto $infoDto;
        final /* synthetic */ Function0<Unit> $onBackPressed;
        final /* synthetic */ MutableState<Boolean> $showAliasDialog$delegate;
        final /* synthetic */ StopDetailState $state;
        final /* synthetic */ StopDetailViewModel $viewModel;

        AnonymousClass3(InfoDto infoDto, StopDetailState stopDetailState, DetalleParadaDto detalleParadaDto, Function0<Unit> function0, StopDetailViewModel stopDetailViewModel, MutableState<Boolean> mutableState, MutableState<String> mutableState2) {
            this.$infoDto = infoDto;
            this.$state = stopDetailState;
            this.$detalle = detalleParadaDto;
            this.$onBackPressed = function0;
            this.$viewModel = stopDetailViewModel;
            this.$showAliasDialog$delegate = mutableState;
            this.$aliasInput$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$7$lambda$3$lambda$2(MutableState mutableState) {
            StopDetailScreenKt.StopDetailScreen$lambda$5(mutableState, false);
            return Unit.INSTANCE;
        }

        /* JADX INFO: Access modifiers changed from: private */
        public static final Unit invoke$lambda$7$lambda$5$lambda$4(StopDetailState stopDetailState, SemanticsPropertyReceiver semantics) {
            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
            SemanticsPropertiesKt.setContentDescription(semantics, "Última actualización a las " + stopDetailState.getLastUpdateTime());
            return Unit.INSTANCE;
        }

        /* JADX WARN: Type inference failed for: r8v5 */
        /* JADX WARN: Type inference failed for: r8v6, types: [boolean, int] */
        /* JADX WARN: Type inference failed for: r8v8 */
        public final void invoke(Composer composer, int i) {
            Object next;
            ?? r8;
            final MutableState<String> mutableState;
            Object obj;
            final MutableState<Boolean> mutableState2;
            if ((i & 3) == 2 && composer.getSkipping()) {
                composer.skipToGroupEnd();
                return;
            }
            if (ComposerKt.isTraceInProgress()) {
                ComposerKt.traceEventStart(-1638203116, i, -1, "com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreen.<anonymous> (StopDetailScreen.kt:123)");
            }
            InfoDto infoDto = this.$infoDto;
            final StopDetailState stopDetailState = this.$state;
            DetalleParadaDto detalleParadaDto = this.$detalle;
            Function0<Unit> function0 = this.$onBackPressed;
            final StopDetailViewModel stopDetailViewModel = this.$viewModel;
            MutableState<Boolean> mutableState3 = this.$showAliasDialog$delegate;
            MutableState<String> mutableState4 = this.$aliasInput$delegate;
            ComposerKt.sourceInformationMarkerStart(composer, 1341605231, "CC(Column)N(modifier,verticalArrangement,horizontalAlignment,content)87@4443L61,88@4509L134:Column.kt#2w3rfo");
            Modifier.Companion companion = Modifier.INSTANCE;
            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 iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, 0));
            CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
            Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer, companion);
            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, measurePolicyColumnMeasurePolicy, 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, 2093002350, "C89@4557L9:Column.kt#2w3rfo");
            ColumnScopeInstance columnScopeInstance = ColumnScopeInstance.INSTANCE;
            AppBarKt.m1882TopAppBarGHTll3U(ComposableLambdaKt.rememberComposableLambda(-1810996574, true, new StopDetailScreenKt$StopDetailScreen$3$1$1(infoDto, detalleParadaDto), composer, 54), null, ComposableLambdaKt.rememberComposableLambda(-1654754396, true, new StopDetailScreenKt$StopDetailScreen$3$1$2(function0), composer, 54), ComposableLambdaKt.rememberComposableLambda(107072461, true, new StopDetailScreenKt$StopDetailScreen$3$1$3(infoDto, stopDetailState, stopDetailViewModel, detalleParadaDto, mutableState3), composer, 54), 0.0f, null, TopAppBarDefaults.INSTANCE.m2974topAppBarColorszjMxDiM(MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getInversePrimary(), 0L, 0L, 0L, 0L, composer, TopAppBarDefaults.$stable << 15, 30), null, composer, 3462, 178);
            Iterator<T> it = infoDto.getITranvias().getActualizacion().getParadas().iterator();
            while (true) {
                if (!it.hasNext()) {
                    next = null;
                    break;
                } else {
                    next = it.next();
                    if (((ParadaDto) next).getId() == detalleParadaDto.getBuses().getParada()) {
                        break;
                    }
                }
            }
            ParadaDto paradaDto = (ParadaDto) next;
            final String nombre = paradaDto != null ? paradaDto.getNombre() : null;
            composer.startReplaceGroup(-2049076195);
            if (nombre == null) {
                r8 = 0;
                nombre = StringResourcesKt.stringResource(String0_commonMainKt.getStop_detail_title(Res.string.INSTANCE), composer, 0);
            } else {
                r8 = 0;
            }
            composer.endReplaceGroup();
            composer.startReplaceGroup(-2049063974);
            if (StopDetailScreenKt.StopDetailScreen$lambda$4(mutableState3)) {
                Unit unit = Unit.INSTANCE;
                composer.startReplaceGroup(-1633490746);
                boolean zChanged = composer.changed(nombre);
                Object objRememberedValue = composer.rememberedValue();
                if (zChanged || objRememberedValue == Composer.INSTANCE.getEmpty()) {
                    mutableState = mutableState4;
                    obj = (Function2) new StopDetailScreenKt$StopDetailScreen$3$1$4$1(nombre, mutableState, null);
                    composer.updateRememberedValue(obj);
                } else {
                    obj = objRememberedValue;
                    mutableState = mutableState4;
                }
                composer.endReplaceGroup();
                EffectsKt.LaunchedEffect(unit, (Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object>) obj, composer, 6);
                composer.startReplaceGroup(5004770);
                Object objRememberedValue2 = composer.rememberedValue();
                if (objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                    mutableState2 = mutableState3;
                    objRememberedValue2 = new Function0() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$$ExternalSyntheticLambda0
                        @Override // kotlin.jvm.functions.Function0
                        public final Object invoke() {
                            return StopDetailScreenKt.AnonymousClass3.invoke$lambda$7$lambda$3$lambda$2(mutableState2);
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue2);
                } else {
                    mutableState2 = mutableState3;
                }
                composer.endReplaceGroup();
                AndroidDialog_androidKt.Dialog((Function0) objRememberedValue2, null, ComposableLambdaKt.rememberComposableLambda(-190076052, true, new Function2<Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$1$6
                    @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 i2) {
                        if ((i2 & 3) == 2 && composer2.getSkipping()) {
                            composer2.skipToGroupEnd();
                            return;
                        }
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventStart(-190076052, i2, -1, "com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreen.<anonymous>.<anonymous>.<anonymous> (StopDetailScreen.kt:199)");
                        }
                        ProvidableCompositionLocal<Density> localDensity = CompositionLocalsKt.getLocalDensity();
                        ProvidableCompositionLocal<Density> localDensity2 = CompositionLocalsKt.getLocalDensity();
                        ComposerKt.sourceInformationMarkerStart(composer2, 2023513938, "CC(<get-current>):CompositionLocal.kt#9igjgp");
                        Object objConsume = composer2.consume(localDensity2);
                        ComposerKt.sourceInformationMarkerEnd(composer2);
                        CompositionLocalKt.CompositionLocalProvider(localDensity.provides(DensityKt.Density(((Density) objConsume).getDensity(), 1.0f)), ComposableLambdaKt.rememberComposableLambda(1833217708, true, new AnonymousClass1(mutableState, stopDetailViewModel, nombre, mutableState2), composer2, 54), composer2, ProvidedValue.$stable | 48);
                        if (ComposerKt.isTraceInProgress()) {
                            ComposerKt.traceEventEnd();
                        }
                    }

                    /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$1$6$1, reason: invalid class name */
                    /* JADX INFO: compiled from: StopDetailScreen.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 */ String $paradaNombre;
                        final /* synthetic */ MutableState<Boolean> $showAliasDialog$delegate;
                        final /* synthetic */ StopDetailViewModel $viewModel;

                        AnonymousClass1(MutableState<String> mutableState, StopDetailViewModel stopDetailViewModel, String str, MutableState<Boolean> mutableState2) {
                            this.$aliasInput$delegate = mutableState;
                            this.$viewModel = stopDetailViewModel;
                            this.$paradaNombre = str;
                            this.$showAliasDialog$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 personalizar nombre de favorito");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$19$lambda$18$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$19$lambda$18$lambda$7$lambda$6(MutableState mutableState, String it) {
                            Intrinsics.checkNotNullParameter(it, "it");
                            mutableState.setValue(it);
                            return Unit.INSTANCE;
                        }

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

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$19$lambda$18$lambda$17$lambda$9$lambda$8(StopDetailViewModel stopDetailViewModel, MutableState mutableState, MutableState mutableState2) {
                            stopDetailViewModel.toggleFavorite(StopDetailScreenKt.StopDetailScreen$lambda$7(mutableState));
                            StopDetailScreenKt.StopDetailScreen$lambda$5(mutableState2, false);
                            mutableState.setValue("");
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$19$lambda$18$lambda$17$lambda$12$lambda$11(MutableState mutableState, String str, SemanticsPropertyReceiver semantics) {
                            Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                            String strStopDetailScreen$lambda$7 = StopDetailScreenKt.StopDetailScreen$lambda$7(mutableState);
                            if (!StringsKt.isBlank(strStopDetailScreen$lambda$7)) {
                                str = strStopDetailScreen$lambda$7;
                            }
                            SemanticsPropertiesKt.setContentDescription(semantics, "Guardar favorito con nombre: " + ((Object) str));
                            return Unit.INSTANCE;
                        }

                        /* JADX INFO: Access modifiers changed from: private */
                        public static final Unit invoke$lambda$19$lambda$18$lambda$17$lambda$14$lambda$13(MutableState mutableState, MutableState mutableState2) {
                            StopDetailScreenKt.StopDetailScreen$lambda$5(mutableState, false);
                            mutableState2.setValue("");
                            return Unit.INSTANCE;
                        }

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

                        public final void invoke(Composer composer, int i) {
                            final MutableState<String> mutableState;
                            final MutableState<Boolean> mutableState2;
                            final MutableState<String> mutableState3;
                            if ((i & 3) == 2 && composer.getSkipping()) {
                                composer.skipToGroupEnd();
                                return;
                            }
                            if (ComposerKt.isTraceInProgress()) {
                                ComposerKt.traceEventStart(1833217708, i, -1, "com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreen.<anonymous>.<anonymous>.<anonymous>.<anonymous> (StopDetailScreen.kt:205)");
                            }
                            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 = 
                                /*  JADX ERROR: Method code generation error
                                    jadx.core.utils.exceptions.CodegenException: Error generate insn: 0x0066: CONSTRUCTOR (r2v70 'objRememberedValue' java.lang.Object) =  A[MD:():void (m)] (LINE:551) call: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$1$6$1$$ExternalSyntheticLambda0.<init>():void type: CONSTRUCTOR in method: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$1$6.1.invoke(androidx.compose.runtime.Composer, int):void, file: classes2.dex
                                    	at jadx.core.codegen.InsnGen.makeInsn(InsnGen.java:310)
                                    	at jadx.core.codegen.InsnGen.makeInsn(InsnGen.java:273)
                                    	at jadx.core.codegen.RegionGen.makeSimpleBlock(RegionGen.java:94)
                                    	at jadx.core.dex.nodes.IBlock.generate(IBlock.java:15)
                                    	at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
                                    	at jadx.core.dex.regions.Region.generate(Region.java:35)
                                    	at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
                                    	at jadx.core.codegen.RegionGen.makeRegionIndent(RegionGen.java:83)
                                    	at jadx.core.codegen.RegionGen.makeIf(RegionGen.java:126)
                                    	at jadx.core.dex.regions.conditions.IfRegion.generate(IfRegion.java:90)
                                    	at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
                                    	at jadx.core.dex.regions.Region.generate(Region.java:35)
                                    	at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
                                    	at jadx.core.dex.regions.Region.generate(Region.java:35)
                                    	at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
                                    	at jadx.core.dex.regions.Region.generate(Region.java:35)
                                    	at jadx.core.codegen.RegionGen.makeRegion(RegionGen.java:66)
                                    	at jadx.core.codegen.MethodGen.addRegionInsns(MethodGen.java:305)
                                    	at jadx.core.codegen.MethodGen.addInstructions(MethodGen.java:284)
                                    	at jadx.core.codegen.ClassGen.addMethodCode(ClassGen.java:412)
                                    	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)
                                    Caused by: jadx.core.utils.exceptions.JadxRuntimeException: Expected class to be processed at this point, class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$1$6$1$$ExternalSyntheticLambda0, state: NOT_LOADED
                                    	at jadx.core.dex.nodes.ClassNode.ensureProcessed(ClassNode.java:306)
                                    	at jadx.core.codegen.InsnGen.inlineAnonymousConstructor(InsnGen.java:807)
                                    	at jadx.core.codegen.InsnGen.makeConstructor(InsnGen.java:730)
                                    	at jadx.core.codegen.InsnGen.makeInsnBody(InsnGen.java:418)
                                    	at jadx.core.codegen.InsnGen.makeInsn(InsnGen.java:303)
                                    	... 25 more
                                    */
                                /*
                                    Method dump skipped, instruction units count: 1288
                                    To view this dump change 'Code comments level' option to 'DEBUG'
                                */
                                throw new UnsupportedOperationException("Method not decompiled: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$1$6.AnonymousClass1.invoke(androidx.compose.runtime.Composer, int):void");
                            }
                        }
                    }, composer, 54), composer, 390, 2);
                }
                composer.endReplaceGroup();
                float f = 12;
                Modifier modifierM834paddingVpY3zN4$default = PaddingKt.m834paddingVpY3zN4$default(PaddingKt.m836paddingqDBjuR0$default(BackgroundKt.m257backgroundbw27NRU$default(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getInversePrimary(), null, 2, null), 0.0f, 0.0f, 0.0f, Dp.m7215constructorimpl(f), 7, null), Dp.m7215constructorimpl(f), 0.0f, 2, null);
                composer.startReplaceGroup(5004770);
                boolean zChangedInstance = composer.changedInstance(stopDetailState);
                Object objRememberedValue3 = composer.rememberedValue();
                if (zChangedInstance || objRememberedValue3 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue3 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$3$$ExternalSyntheticLambda1
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj2) {
                            return StopDetailScreenKt.AnonymousClass3.invoke$lambda$7$lambda$5$lambda$4(stopDetailState, (SemanticsPropertyReceiver) obj2);
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue3);
                }
                composer.endReplaceGroup();
                Modifier modifierSemantics = SemanticsModifierKt.semantics(modifierM834paddingVpY3zN4$default, true, (Function1) objRememberedValue3);
                ComposerKt.sourceInformationMarkerStart(composer, 1042775818, "CC(Box)N(modifier,contentAlignment,propagateMinConstraints,content)71@3424L131:Box.kt#2w3rfo");
                MeasurePolicy measurePolicyMaybeCachedBoxMeasurePolicy = BoxKt.maybeCachedBoxMeasurePolicy(Alignment.INSTANCE.getTopStart(), r8);
                ComposerKt.sourceInformationMarkerStart(composer, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer, r8));
                CompositionLocalMap currentCompositionLocalMap2 = composer.getCurrentCompositionLocalMap();
                Modifier modifierMaterializeModifier2 = ComposedModifierKt.materializeModifier(composer, modifierSemantics);
                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(StringResourcesKt.stringResource(String0_commonMainKt.getLast_update(Res.string.INSTANCE), new Object[]{String.valueOf(stopDetailState.getLastUpdateTime())}, composer, r8), (Modifier) null, ColorKt.getWhiteTranvias(), TextUnitKt.getSp(12), (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, MaterialTheme.INSTANCE.getTypography(composer, MaterialTheme.$stable).getLabelSmall(), composer, 3456, 0, 65522);
                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();
                }
            }
        }

        /* JADX INFO: renamed from: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4, reason: invalid class name */
        /* JADX INFO: compiled from: StopDetailScreen.kt */
        @Metadata(k = 3, mv = {2, 1, 0}, xi = 48)
        static final class AnonymousClass4 implements Function3<PaddingValues, Composer, Integer, Unit> {
            final /* synthetic */ DetalleParadaDto $detalle;
            final /* synthetic */ SnapshotStateMap<String, Boolean> $expandedLines;
            final /* synthetic */ InfoDto $infoDto;

            AnonymousClass4(DetalleParadaDto detalleParadaDto, InfoDto infoDto, SnapshotStateMap<String, Boolean> snapshotStateMap) {
                this.$detalle = detalleParadaDto;
                this.$infoDto = infoDto;
                this.$expandedLines = snapshotStateMap;
            }

            @Override // kotlin.jvm.functions.Function3
            public /* bridge */ /* synthetic */ Unit invoke(PaddingValues paddingValues, Composer composer, Integer num) {
                invoke(paddingValues, composer, num.intValue());
                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(969393193, i2, -1, "com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreen.<anonymous> (StopDetailScreen.kt:309)");
                }
                Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(PaddingKt.padding(SizeKt.fillMaxSize$default(Modifier.INSTANCE, 0.0f, 1, null), innerPadding), Dp.m7215constructorimpl(12));
                composer.startReplaceGroup(1849434622);
                Object objRememberedValue = composer.rememberedValue();
                if (objRememberedValue == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$$ExternalSyntheticLambda0
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj) {
                            return StopDetailScreenKt.AnonymousClass4.invoke$lambda$1$lambda$0((SemanticsPropertyReceiver) obj);
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue);
                }
                composer.endReplaceGroup();
                Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(modifierM832padding3ABfNKs, false, (Function1) objRememberedValue, 1, null);
                composer.startReplaceGroup(-1746271574);
                boolean zChangedInstance = composer.changedInstance(this.$detalle) | composer.changedInstance(this.$infoDto);
                final DetalleParadaDto detalleParadaDto = this.$detalle;
                final InfoDto infoDto = this.$infoDto;
                final SnapshotStateMap<String, Boolean> snapshotStateMap = this.$expandedLines;
                Object objRememberedValue2 = composer.rememberedValue();
                if (zChangedInstance || objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                    objRememberedValue2 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$$ExternalSyntheticLambda1
                        @Override // kotlin.jvm.functions.Function1
                        public final Object invoke(Object obj) {
                            return StopDetailScreenKt.AnonymousClass4.invoke$lambda$14$lambda$13(detalleParadaDto, infoDto, snapshotStateMap, (LazyListScope) obj);
                        }
                    };
                    composer.updateRememberedValue(objRememberedValue2);
                }
                composer.endReplaceGroup();
                LazyDslKt.LazyColumn(modifierSemantics$default, null, null, false, null, null, null, false, null, (Function1) objRememberedValue2, composer, 0, 510);
                if (ComposerKt.isTraceInProgress()) {
                    ComposerKt.traceEventEnd();
                }
            }

            /* 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, "Lista de líneas de autobuses en la parada");
                return Unit.INSTANCE;
            }

            /* JADX INFO: Access modifiers changed from: private */
            public static final Unit invoke$lambda$14$lambda$13(DetalleParadaDto detalleParadaDto, final InfoDto infoDto, final SnapshotStateMap snapshotStateMap, LazyListScope LazyColumn) {
                Intrinsics.checkNotNullParameter(LazyColumn, "$this$LazyColumn");
                if (detalleParadaDto.getBuses().getLineas().isEmpty()) {
                    LazyListScope.item$default(LazyColumn, null, null, ComposableSingletons$StopDetailScreenKt.INSTANCE.m8000getLambda$767982247$composeApp_release(), 3, null);
                } else {
                    List<LineaBusesDto> lineas = detalleParadaDto.getBuses().getLineas();
                    ArrayList arrayList = new ArrayList();
                    for (Object obj : lineas) {
                        LineaBusesDto lineaBusesDto = (LineaBusesDto) obj;
                        List<LineaDto> lineas2 = infoDto.getITranvias().getActualizacion().getLineas();
                        if (!(lineas2 instanceof Collection) || !lineas2.isEmpty()) {
                            Iterator<T> it = lineas2.iterator();
                            while (true) {
                                if (!it.hasNext()) {
                                    break;
                                }
                                if (((LineaDto) it.next()).getId() == lineaBusesDto.getLinea()) {
                                    arrayList.add(obj);
                                    break;
                                }
                            }
                        }
                    }
                    final ArrayList arrayList2 = arrayList;
                    final StopDetailScreenKt$StopDetailScreen$4$invoke$lambda$14$lambda$13$$inlined$items$default$1 stopDetailScreenKt$StopDetailScreen$4$invoke$lambda$14$lambda$13$$inlined$items$default$1 = new Function1() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$invoke$lambda$14$lambda$13$$inlined$items$default$1
                        @Override // kotlin.jvm.functions.Function1
                        public final Void invoke(LineaBusesDto lineaBusesDto2) {
                            return null;
                        }

                        @Override // kotlin.jvm.functions.Function1
                        public /* bridge */ /* synthetic */ Object invoke(Object obj2) {
                            return invoke((LineaBusesDto) obj2);
                        }
                    };
                    LazyColumn.items(arrayList2.size(), null, new Function1<Integer, Object>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$invoke$lambda$14$lambda$13$$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 stopDetailScreenKt$StopDetailScreen$4$invoke$lambda$14$lambda$13$$inlined$items$default$1.invoke(arrayList2.get(i));
                        }
                    }, ComposableLambdaKt.composableLambdaInstance(802480018, true, new Function4<LazyItemScope, Integer, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$invoke$lambda$14$lambda$13$$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: Type inference failed for: r13v0 */
                        /* JADX WARN: Type inference failed for: r13v2, types: [boolean, int] */
                        /* JADX WARN: Type inference failed for: r13v6 */
                        /* JADX WARN: Type inference failed for: r14v4 */
                        /* JADX WARN: Type inference failed for: r14v6 */
                        /* JADX WARN: Type inference failed for: r29v0 */
                        /* JADX WARN: Type inference failed for: r29v1, types: [boolean] */
                        /* JADX WARN: Type inference failed for: r29v3 */
                        /* JADX WARN: Type inference fix 'apply assigned field type' failed
                        java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$PrimitiveArg
                        	at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
                        	at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
                        	at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
                        	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
                        	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
                        	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
                        	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
                         */
                        public final void invoke(LazyItemScope lazyItemScope, int i, Composer composer, int i2) {
                            Object next;
                            String strValueOf;
                            ImageVector keyboardArrowDown;
                            Composer composer2 = composer;
                            ComposerKt.sourceInformation(composer2, "CN(it)178@8834L22:LazyDsl.kt#428nma");
                            int i3 = (i2 & 6) == 0 ? i2 | (composer2.changed(lazyItemScope) ? 4 : 2) : i2;
                            if ((i2 & 48) == 0) {
                                i3 |= composer2.changed(i) ? 32 : 16;
                            }
                            ?? r13 = 1;
                            if (!composer2.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 LineaBusesDto lineaBusesDto2 = (LineaBusesDto) arrayList2.get(i);
                            composer2.startReplaceGroup(616384612);
                            for (LineaDto lineaDto : infoDto.getITranvias().getActualizacion().getLineas()) {
                                if (lineaDto.getId() == lineaBusesDto2.getLinea()) {
                                    String linComer = lineaDto.getLinComer();
                                    String color = lineaDto.getColor();
                                    if (color == null) {
                                        color = "CCCCCC";
                                    }
                                    final long color2 = StopDetailScreenKt.parseColor(color);
                                    long jM4500copywmQWz5c$default = Color.m4500copywmQWz5c$default(color2, 0.2f, 0.0f, 0.0f, 0.0f, 14, null);
                                    final String lineNameForAccessibility = LinesScreenKt.formatLineNameForAccessibility(linComer);
                                    float f = 8;
                                    Modifier modifierAnimateContentSize$default = AnimationModifierKt.animateContentSize$default(PaddingKt.m832padding3ABfNKs(BackgroundKt.m256backgroundbw27NRU(PaddingKt.m834paddingVpY3zN4$default(Modifier.INSTANCE, 0.0f, Dp.m7215constructorimpl(4), r13, null), jM4500copywmQWz5c$default, RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(f))), Dp.m7215constructorimpl(12)), AnimationSpecKt.tween$default(AnimationConstants.DefaultDurationMillis, 0, null, 6, null), null, 2, null);
                                    ComposerKt.sourceInformationMarkerStart(composer2, 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(), composer2, 0);
                                    ComposerKt.sourceInformationMarkerStart(composer2, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                    int iHashCode = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer2, 0));
                                    CompositionLocalMap currentCompositionLocalMap = composer.getCurrentCompositionLocalMap();
                                    Modifier modifierMaterializeModifier = ComposedModifierKt.materializeModifier(composer2, modifierAnimateContentSize$default);
                                    Function0<ComposeUiNode> constructor = ComposeUiNode.INSTANCE.getConstructor();
                                    ComposerKt.sourceInformationMarkerStart(composer2, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                    if (!(composer.getApplier() instanceof Applier)) {
                                        ComposablesKt.invalidApplier();
                                    }
                                    composer.startReusableNode();
                                    if (composer.getInserting()) {
                                        composer2.createNode(constructor);
                                    } else {
                                        composer.useNode();
                                    }
                                    Composer composerM3820constructorimpl = Updater.m3820constructorimpl(composer);
                                    Updater.m3827setimpl(composerM3820constructorimpl, measurePolicyColumnMeasurePolicy, 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(composer2, 2093002350, "C89@4557L9:Column.kt#2w3rfo");
                                    ColumnScopeInstance columnScopeInstance = ColumnScopeInstance.INSTANCE;
                                    final boolean zAreEqual = Intrinsics.areEqual(snapshotStateMap.get(String.valueOf(lineaBusesDto2.getLinea())), Boolean.valueOf((boolean) r13));
                                    final int size = lineaBusesDto2.getBuses().size();
                                    Modifier modifierFillMaxWidth$default = SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, r13, null);
                                    ?? r29 = lineaBusesDto2.getBuses().size() > r13 ? r13 : 0;
                                    composer2.startReplaceGroup(-1633490746);
                                    boolean zChangedInstance = composer2.changedInstance(lineaBusesDto2);
                                    Object objRememberedValue = composer.rememberedValue();
                                    if (zChangedInstance || objRememberedValue == Composer.INSTANCE.getEmpty()) {
                                        final SnapshotStateMap snapshotStateMap2 = snapshotStateMap;
                                        objRememberedValue = (Function0) new Function0<Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$2$1$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() {
                                                String strValueOf2 = String.valueOf(lineaBusesDto2.getLinea());
                                                SnapshotStateMap<String, Boolean> snapshotStateMap3 = snapshotStateMap2;
                                                snapshotStateMap3.put(strValueOf2, Boolean.valueOf(!(snapshotStateMap3.get(strValueOf2) != null ? r1.booleanValue() : false)));
                                            }
                                        };
                                        composer2.updateRememberedValue(objRememberedValue);
                                    }
                                    composer.endReplaceGroup();
                                    Modifier modifierM298clickableoSLSa3U$default = ClickableKt.m298clickableoSLSa3U$default(modifierFillMaxWidth$default, r29, null, null, null, (Function0) objRememberedValue, 14, null);
                                    composer2.startReplaceGroup(-1746271574);
                                    boolean zChanged = composer2.changed(size) | composer2.changed(zAreEqual) | composer2.changed(lineNameForAccessibility);
                                    Object objRememberedValue2 = composer.rememberedValue();
                                    if (zChanged || objRememberedValue2 == Composer.INSTANCE.getEmpty()) {
                                        objRememberedValue2 = (Function1) new Function1<SemanticsPropertyReceiver, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$2$1$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 semantics) {
                                                Intrinsics.checkNotNullParameter(semantics, "$this$semantics");
                                                int i4 = size;
                                                if (i4 > 1) {
                                                    SemanticsPropertiesKt.setContentDescription(semantics, zAreEqual ? "Línea " + lineNameForAccessibility + ", mostrando " + i4 + " autobuses. Tocar para contraer" : "Línea " + lineNameForAccessibility + ", mostrando 1 de " + i4 + " autobuses. Tocar para expandir");
                                                    SemanticsPropertiesKt.setStateDescription(semantics, zAreEqual ? "Expandido" : "Contraído");
                                                } else {
                                                    SemanticsPropertiesKt.setContentDescription(semantics, "Línea " + lineNameForAccessibility + ", 1 autobús");
                                                }
                                            }
                                        };
                                        composer2.updateRememberedValue(objRememberedValue2);
                                    }
                                    composer.endReplaceGroup();
                                    Modifier modifierSemantics$default = SemanticsModifierKt.semantics$default(modifierM298clickableoSLSa3U$default, false, (Function1) objRememberedValue2, r13, null);
                                    Alignment.Vertical centerVertically = Alignment.INSTANCE.getCenterVertically();
                                    ComposerKt.sourceInformationMarkerStart(composer2, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                                    MeasurePolicy measurePolicyRowMeasurePolicy = RowKt.rowMeasurePolicy(Arrangement.INSTANCE.getStart(), centerVertically, composer2, 48);
                                    ComposerKt.sourceInformationMarkerStart(composer2, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                    int iHashCode2 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer2, 0));
                                    CompositionLocalMap currentCompositionLocalMap2 = composer.getCurrentCompositionLocalMap();
                                    Modifier modifierMaterializeModifier2 = ComposedModifierKt.materializeModifier(composer2, modifierSemantics$default);
                                    Function0<ComposeUiNode> constructor2 = ComposeUiNode.INSTANCE.getConstructor();
                                    ComposerKt.sourceInformationMarkerStart(composer2, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                    if (!(composer.getApplier() instanceof Applier)) {
                                        ComposablesKt.invalidApplier();
                                    }
                                    composer.startReusableNode();
                                    if (composer.getInserting()) {
                                        composer2.createNode(constructor2);
                                    } else {
                                        composer.useNode();
                                    }
                                    Composer composerM3820constructorimpl2 = Updater.m3820constructorimpl(composer);
                                    Updater.m3827setimpl(composerM3820constructorimpl2, measurePolicyRowMeasurePolicy, 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(composer2, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                                    String str = lineNameForAccessibility;
                                    TextKt.m2803Text4IGK_g(StringResourcesKt.stringResource(String0_commonMainKt.getLine_detail_title(Res.string.INSTANCE), new Object[]{linComer}, composer2, 0), RowScope.weight$default(RowScopeInstance.INSTANCE, Modifier.INSTANCE, 1.0f, false, 2, null), MaterialTheme.INSTANCE.getColorScheme(composer2, 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, 131032);
                                    composer.startReplaceGroup(-662651180);
                                    if (lineaBusesDto2.getBuses().size() > 1) {
                                        if (Intrinsics.areEqual(snapshotStateMap.get(String.valueOf(lineaBusesDto2.getLinea())), (Object) true)) {
                                            keyboardArrowDown = KeyboardArrowUpKt.getKeyboardArrowUp(Icons.INSTANCE.getDefault());
                                        } else {
                                            keyboardArrowDown = KeyboardArrowDownKt.getKeyboardArrowDown(Icons.INSTANCE.getDefault());
                                        }
                                        IconKt.m2260Iconww6aTOc(keyboardArrowDown, (String) null, (Modifier) null, color2, composer, 48, 4);
                                    }
                                    composer.endReplaceGroup();
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    composer.endNode();
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    List<BusDto> buses = Intrinsics.areEqual(snapshotStateMap.get(String.valueOf(lineaBusesDto2.getLinea())), (Object) true) ? lineaBusesDto2.getBuses() : CollectionsKt.take(lineaBusesDto2.getBuses(), 1);
                                    composer.startReplaceGroup(-1660804073);
                                    int i4 = 0;
                                    for (Object obj2 : buses) {
                                        int i5 = i4 + 1;
                                        if (i4 < 0) {
                                            CollectionsKt.throwIndexOverflow();
                                        }
                                        final BusDto busDto = (BusDto) obj2;
                                        SpacerKt.Spacer(SizeKt.m870height3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f)), composer, 6);
                                        final String strStringResource = StringResourcesKt.stringResource(String0_commonMainKt.getAt_stop(Res.string.INSTANCE), composer, 0);
                                        final String str2 = Intrinsics.areEqual(busDto.getTiempo(), "0") ? strStringResource : busDto.getTiempo() + " minutos";
                                        Iterator it2 = infoDto.getITranvias().getActualizacion().getParadas().iterator();
                                        while (true) {
                                            if (it2.hasNext()) {
                                                next = it2.next();
                                                if (((ParadaDto) next).getId() == busDto.getUltParada()) {
                                                    break;
                                                }
                                            } else {
                                                next = null;
                                                break;
                                            }
                                        }
                                        ParadaDto paradaDto = (ParadaDto) next;
                                        if (paradaDto == null || (strValueOf = paradaDto.getNombre()) == null) {
                                            strValueOf = String.valueOf(busDto.getUltParada());
                                        }
                                        final String str3 = strValueOf;
                                        Modifier modifierFillMaxWidth$default2 = SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null);
                                        composer.startReplaceGroup(-1224400529);
                                        final String str4 = str;
                                        boolean zChanged2 = composer.changed(busDto) | composer.changed(str4) | composer.changed(str2) | composer.changed(str3);
                                        Object objRememberedValue3 = composer.rememberedValue();
                                        if (zChanged2 || objRememberedValue3 == Composer.INSTANCE.getEmpty()) {
                                            objRememberedValue3 = (Function1) new Function1<SemanticsPropertyReceiver, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$2$1$1$1$4$1$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, "Autobús " + busDto.getBus() + " de línea " + str4 + ", tiempo de llegada: " + str2 + ", distancia: " + busDto.getDistancia() + " metros, última parada: " + str3);
                                                }
                                            };
                                            composer.updateRememberedValue(objRememberedValue3);
                                        }
                                        composer.endReplaceGroup();
                                        CardKt.Card(SemanticsModifierKt.clearAndSetSemantics(modifierFillMaxWidth$default2, (Function1) objRememberedValue3), RoundedCornerShapeKt.m1197RoundedCornerShape0680j_4(Dp.m7215constructorimpl(f)), CardDefaults.INSTANCE.m1938cardColorsro_MJ88(MaterialTheme.INSTANCE.getColorScheme(composer, MaterialTheme.$stable).getTertiary(), 0L, 0L, 0L, composer, CardDefaults.$stable << 12, 14), null, null, ComposableLambdaKt.rememberComposableLambda(232633850, true, new Function3<ColumnScope, Composer, Integer, Unit>() { // from class: com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreenKt$StopDetailScreen$4$2$1$1$1$4$2
                                            @Override // kotlin.jvm.functions.Function3
                                            public /* bridge */ /* synthetic */ Unit invoke(ColumnScope columnScope, Composer composer3, Integer num) {
                                                invoke(columnScope, composer3, num.intValue());
                                                return Unit.INSTANCE;
                                            }

                                            public final void invoke(ColumnScope Card, Composer composer3, int i6) {
                                                Intrinsics.checkNotNullParameter(Card, "$this$Card");
                                                if ((i6 & 17) == 16 && composer3.getSkipping()) {
                                                    composer3.skipToGroupEnd();
                                                    return;
                                                }
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventStart(232633850, i6, -1, "com.sistemasolton.itranvias.home.presentation.stopdetail.StopDetailScreen.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous> (StopDetailScreen.kt:450)");
                                                }
                                                Modifier modifierM832padding3ABfNKs = PaddingKt.m832padding3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(12));
                                                long j = color2;
                                                BusDto busDto2 = busDto;
                                                String str5 = strStringResource;
                                                String str6 = str3;
                                                ComposerKt.sourceInformationMarkerStart(composer3, 1341605231, "CC(Column)N(modifier,verticalArrangement,horizontalAlignment,content)87@4443L61,88@4509L134:Column.kt#2w3rfo");
                                                MeasurePolicy measurePolicyColumnMeasurePolicy2 = ColumnKt.columnMeasurePolicy(Arrangement.INSTANCE.getTop(), Alignment.INSTANCE.getStart(), composer3, 0);
                                                ComposerKt.sourceInformationMarkerStart(composer3, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                                int iHashCode3 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer3, 0));
                                                CompositionLocalMap currentCompositionLocalMap3 = composer3.getCurrentCompositionLocalMap();
                                                Modifier modifierMaterializeModifier3 = ComposedModifierKt.materializeModifier(composer3, modifierM832padding3ABfNKs);
                                                Function0<ComposeUiNode> constructor3 = ComposeUiNode.INSTANCE.getConstructor();
                                                ComposerKt.sourceInformationMarkerStart(composer3, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                                if (!(composer3.getApplier() instanceof Applier)) {
                                                    ComposablesKt.invalidApplier();
                                                }
                                                composer3.startReusableNode();
                                                if (composer3.getInserting()) {
                                                    composer3.createNode(constructor3);
                                                } else {
                                                    composer3.useNode();
                                                }
                                                Composer composerM3820constructorimpl3 = Updater.m3820constructorimpl(composer3);
                                                Updater.m3827setimpl(composerM3820constructorimpl3, measurePolicyColumnMeasurePolicy2, 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(composer3, 2093002350, "C89@4557L9:Column.kt#2w3rfo");
                                                ColumnScopeInstance columnScopeInstance2 = ColumnScopeInstance.INSTANCE;
                                                Modifier modifierFillMaxWidth$default3 = SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null);
                                                Alignment.Vertical centerVertically2 = Alignment.INSTANCE.getCenterVertically();
                                                ComposerKt.sourceInformationMarkerStart(composer3, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                                                MeasurePolicy measurePolicyRowMeasurePolicy2 = RowKt.rowMeasurePolicy(Arrangement.INSTANCE.getStart(), centerVertically2, composer3, 48);
                                                ComposerKt.sourceInformationMarkerStart(composer3, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                                int iHashCode4 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer3, 0));
                                                CompositionLocalMap currentCompositionLocalMap4 = composer3.getCurrentCompositionLocalMap();
                                                Modifier modifierMaterializeModifier4 = ComposedModifierKt.materializeModifier(composer3, modifierFillMaxWidth$default3);
                                                Function0<ComposeUiNode> constructor4 = ComposeUiNode.INSTANCE.getConstructor();
                                                ComposerKt.sourceInformationMarkerStart(composer3, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                                if (!(composer3.getApplier() instanceof Applier)) {
                                                    ComposablesKt.invalidApplier();
                                                }
                                                composer3.startReusableNode();
                                                if (composer3.getInserting()) {
                                                    composer3.createNode(constructor4);
                                                } else {
                                                    composer3.useNode();
                                                }
                                                Composer composerM3820constructorimpl4 = Updater.m3820constructorimpl(composer3);
                                                Updater.m3827setimpl(composerM3820constructorimpl4, measurePolicyRowMeasurePolicy2, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                                                Updater.m3827setimpl(composerM3820constructorimpl4, currentCompositionLocalMap4, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                                                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash4 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                                                if (composerM3820constructorimpl4.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl4.rememberedValue(), Integer.valueOf(iHashCode4))) {
                                                    composerM3820constructorimpl4.updateRememberedValue(Integer.valueOf(iHashCode4));
                                                    composerM3820constructorimpl4.apply(Integer.valueOf(iHashCode4), setCompositeKeyHash4);
                                                }
                                                Updater.m3827setimpl(composerM3820constructorimpl4, modifierMaterializeModifier4, ComposeUiNode.INSTANCE.getSetModifier());
                                                ComposerKt.sourceInformationMarkerStart(composer3, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                                                RowScopeInstance rowScopeInstance = RowScopeInstance.INSTANCE;
                                                Modifier modifierWeight$default = RowScope.weight$default(rowScopeInstance, Modifier.INSTANCE, 1.0f, false, 2, null);
                                                Alignment.Vertical centerVertically3 = Alignment.INSTANCE.getCenterVertically();
                                                Arrangement.Horizontal start = Arrangement.INSTANCE.getStart();
                                                ComposerKt.sourceInformationMarkerStart(composer3, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                                                MeasurePolicy measurePolicyRowMeasurePolicy3 = RowKt.rowMeasurePolicy(start, centerVertically3, composer3, 54);
                                                ComposerKt.sourceInformationMarkerStart(composer3, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                                int iHashCode5 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer3, 0));
                                                CompositionLocalMap currentCompositionLocalMap5 = composer3.getCurrentCompositionLocalMap();
                                                Modifier modifierMaterializeModifier5 = ComposedModifierKt.materializeModifier(composer3, modifierWeight$default);
                                                Function0<ComposeUiNode> constructor5 = ComposeUiNode.INSTANCE.getConstructor();
                                                ComposerKt.sourceInformationMarkerStart(composer3, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                                if (!(composer3.getApplier() instanceof Applier)) {
                                                    ComposablesKt.invalidApplier();
                                                }
                                                composer3.startReusableNode();
                                                if (composer3.getInserting()) {
                                                    composer3.createNode(constructor5);
                                                } else {
                                                    composer3.useNode();
                                                }
                                                Composer composerM3820constructorimpl5 = Updater.m3820constructorimpl(composer3);
                                                Updater.m3827setimpl(composerM3820constructorimpl5, measurePolicyRowMeasurePolicy3, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                                                Updater.m3827setimpl(composerM3820constructorimpl5, currentCompositionLocalMap5, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                                                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash5 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                                                if (composerM3820constructorimpl5.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl5.rememberedValue(), Integer.valueOf(iHashCode5))) {
                                                    composerM3820constructorimpl5.updateRememberedValue(Integer.valueOf(iHashCode5));
                                                    composerM3820constructorimpl5.apply(Integer.valueOf(iHashCode5), setCompositeKeyHash5);
                                                }
                                                Updater.m3827setimpl(composerM3820constructorimpl5, modifierMaterializeModifier5, ComposeUiNode.INSTANCE.getSetModifier());
                                                ComposerKt.sourceInformationMarkerStart(composer3, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                                                RowScopeInstance rowScopeInstance2 = RowScopeInstance.INSTANCE;
                                                float f2 = 20;
                                                IconKt.m2260Iconww6aTOc(DirectionsBusKt.getDirectionsBus(Icons.INSTANCE.getDefault()), (String) null, SizeKt.m884size3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f2)), j, composer3, 432, 0);
                                                float f3 = 4;
                                                SpacerKt.Spacer(SizeKt.m889width3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f3)), composer3, 6);
                                                String str7 = str5;
                                                long onSurface = j;
                                                TextKt.m2803Text4IGK_g(String.valueOf(busDto2.getBus()), (Modifier) null, MaterialTheme.INSTANCE.getColorScheme(composer3, 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, composer3, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 0, 131034);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                composer3.endNode();
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                Modifier modifierWeight$default2 = RowScope.weight$default(rowScopeInstance, Modifier.INSTANCE, 1.0f, false, 2, null);
                                                Alignment.Vertical centerVertically4 = Alignment.INSTANCE.getCenterVertically();
                                                Arrangement.Horizontal start2 = Arrangement.INSTANCE.getStart();
                                                ComposerKt.sourceInformationMarkerStart(composer3, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                                                MeasurePolicy measurePolicyRowMeasurePolicy4 = RowKt.rowMeasurePolicy(start2, centerVertically4, composer3, 54);
                                                ComposerKt.sourceInformationMarkerStart(composer3, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                                int iHashCode6 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer3, 0));
                                                CompositionLocalMap currentCompositionLocalMap6 = composer3.getCurrentCompositionLocalMap();
                                                Modifier modifierMaterializeModifier6 = ComposedModifierKt.materializeModifier(composer3, modifierWeight$default2);
                                                Function0<ComposeUiNode> constructor6 = ComposeUiNode.INSTANCE.getConstructor();
                                                ComposerKt.sourceInformationMarkerStart(composer3, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                                if (!(composer3.getApplier() instanceof Applier)) {
                                                    ComposablesKt.invalidApplier();
                                                }
                                                composer3.startReusableNode();
                                                if (composer3.getInserting()) {
                                                    composer3.createNode(constructor6);
                                                } else {
                                                    composer3.useNode();
                                                }
                                                Composer composerM3820constructorimpl6 = Updater.m3820constructorimpl(composer3);
                                                Updater.m3827setimpl(composerM3820constructorimpl6, measurePolicyRowMeasurePolicy4, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                                                Updater.m3827setimpl(composerM3820constructorimpl6, currentCompositionLocalMap6, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                                                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash6 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                                                if (composerM3820constructorimpl6.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl6.rememberedValue(), Integer.valueOf(iHashCode6))) {
                                                    composerM3820constructorimpl6.updateRememberedValue(Integer.valueOf(iHashCode6));
                                                    composerM3820constructorimpl6.apply(Integer.valueOf(iHashCode6), setCompositeKeyHash6);
                                                }
                                                Updater.m3827setimpl(composerM3820constructorimpl6, modifierMaterializeModifier6, ComposeUiNode.INSTANCE.getSetModifier());
                                                ComposerKt.sourceInformationMarkerStart(composer3, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                                                RowScopeInstance rowScopeInstance3 = RowScopeInstance.INSTANCE;
                                                IconKt.m2260Iconww6aTOc(LocationOnKt.getLocationOn(Icons.INSTANCE.getDefault()), (String) null, SizeKt.m884size3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f2)), onSurface, composer3, 432, 0);
                                                SpacerKt.Spacer(SizeKt.m889width3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f3)), composer3, 6);
                                                TextKt.m2803Text4IGK_g(busDto2.getDistancia() + " m", (Modifier) null, MaterialTheme.INSTANCE.getColorScheme(composer3, MaterialTheme.$stable).getOnSurface(), 0L, (FontStyle) null, (FontWeight) null, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer3, 0, 0, 131066);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                composer3.endNode();
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                Modifier modifierWeight$default3 = RowScope.weight$default(rowScopeInstance, Modifier.INSTANCE, 1.0f, false, 2, null);
                                                Alignment.Vertical centerVertically5 = Alignment.INSTANCE.getCenterVertically();
                                                Arrangement.Horizontal end = Arrangement.INSTANCE.getEnd();
                                                ComposerKt.sourceInformationMarkerStart(composer3, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                                                MeasurePolicy measurePolicyRowMeasurePolicy5 = RowKt.rowMeasurePolicy(end, centerVertically5, composer3, 54);
                                                ComposerKt.sourceInformationMarkerStart(composer3, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                                int iHashCode7 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer3, 0));
                                                CompositionLocalMap currentCompositionLocalMap7 = composer3.getCurrentCompositionLocalMap();
                                                Modifier modifierMaterializeModifier7 = ComposedModifierKt.materializeModifier(composer3, modifierWeight$default3);
                                                Function0<ComposeUiNode> constructor7 = ComposeUiNode.INSTANCE.getConstructor();
                                                ComposerKt.sourceInformationMarkerStart(composer3, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                                if (!(composer3.getApplier() instanceof Applier)) {
                                                    ComposablesKt.invalidApplier();
                                                }
                                                composer3.startReusableNode();
                                                if (composer3.getInserting()) {
                                                    composer3.createNode(constructor7);
                                                } else {
                                                    composer3.useNode();
                                                }
                                                Composer composerM3820constructorimpl7 = Updater.m3820constructorimpl(composer3);
                                                Updater.m3827setimpl(composerM3820constructorimpl7, measurePolicyRowMeasurePolicy5, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                                                Updater.m3827setimpl(composerM3820constructorimpl7, currentCompositionLocalMap7, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                                                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash7 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                                                if (composerM3820constructorimpl7.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl7.rememberedValue(), Integer.valueOf(iHashCode7))) {
                                                    composerM3820constructorimpl7.updateRememberedValue(Integer.valueOf(iHashCode7));
                                                    composerM3820constructorimpl7.apply(Integer.valueOf(iHashCode7), setCompositeKeyHash7);
                                                }
                                                Updater.m3827setimpl(composerM3820constructorimpl7, modifierMaterializeModifier7, ComposeUiNode.INSTANCE.getSetModifier());
                                                ComposerKt.sourceInformationMarkerStart(composer3, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                                                RowScopeInstance rowScopeInstance4 = RowScopeInstance.INSTANCE;
                                                if (!Intrinsics.areEqual(busDto2.getTiempo(), "0")) {
                                                    str7 = busDto2.getTiempo() + " min";
                                                }
                                                long sp = TextUnitKt.getSp(20);
                                                FontWeight bold = FontWeight.INSTANCE.getBold();
                                                composer3.startReplaceGroup(555805785);
                                                if (Intrinsics.areEqual(busDto2.getTiempo(), "0")) {
                                                    onSurface = MaterialTheme.INSTANCE.getColorScheme(composer3, MaterialTheme.$stable).getOnSurface();
                                                }
                                                composer3.endReplaceGroup();
                                                TextKt.m2803Text4IGK_g(str7, (Modifier) null, onSurface, sp, (FontStyle) null, bold, (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer3, 199680, 0, 131026);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                composer3.endNode();
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                composer3.endNode();
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                Modifier modifierM836paddingqDBjuR0$default = PaddingKt.m836paddingqDBjuR0$default(SizeKt.fillMaxWidth$default(Modifier.INSTANCE, 0.0f, 1, null), 0.0f, Dp.m7215constructorimpl(6), 0.0f, 0.0f, 13, null);
                                                Alignment.Vertical centerVertically6 = Alignment.INSTANCE.getCenterVertically();
                                                ComposerKt.sourceInformationMarkerStart(composer3, 844473419, "CC(Row)N(modifier,horizontalArrangement,verticalAlignment,content)99@5125L58,100@5188L131:Row.kt#2w3rfo");
                                                MeasurePolicy measurePolicyRowMeasurePolicy6 = RowKt.rowMeasurePolicy(Arrangement.INSTANCE.getStart(), centerVertically6, composer3, 48);
                                                ComposerKt.sourceInformationMarkerStart(composer3, -1159599143, "CC(Layout)P(!1,2)80@3267L27,83@3433L360:Layout.kt#80mrfh");
                                                int iHashCode8 = Long.hashCode(ComposablesKt.getCurrentCompositeKeyHashCode(composer3, 0));
                                                CompositionLocalMap currentCompositionLocalMap8 = composer3.getCurrentCompositionLocalMap();
                                                Modifier modifierMaterializeModifier8 = ComposedModifierKt.materializeModifier(composer3, modifierM836paddingqDBjuR0$default);
                                                Function0<ComposeUiNode> constructor8 = ComposeUiNode.INSTANCE.getConstructor();
                                                ComposerKt.sourceInformationMarkerStart(composer3, -553112988, "CC(ReusableComposeNode)N(factory,update,content)399@15590L9:Composables.kt#9igjgp");
                                                if (!(composer3.getApplier() instanceof Applier)) {
                                                    ComposablesKt.invalidApplier();
                                                }
                                                composer3.startReusableNode();
                                                if (composer3.getInserting()) {
                                                    composer3.createNode(constructor8);
                                                } else {
                                                    composer3.useNode();
                                                }
                                                Composer composerM3820constructorimpl8 = Updater.m3820constructorimpl(composer3);
                                                Updater.m3827setimpl(composerM3820constructorimpl8, measurePolicyRowMeasurePolicy6, ComposeUiNode.INSTANCE.getSetMeasurePolicy());
                                                Updater.m3827setimpl(composerM3820constructorimpl8, currentCompositionLocalMap8, ComposeUiNode.INSTANCE.getSetResolvedCompositionLocals());
                                                Function2<ComposeUiNode, Integer, Unit> setCompositeKeyHash8 = ComposeUiNode.INSTANCE.getSetCompositeKeyHash();
                                                if (composerM3820constructorimpl8.getInserting() || !Intrinsics.areEqual(composerM3820constructorimpl8.rememberedValue(), Integer.valueOf(iHashCode8))) {
                                                    composerM3820constructorimpl8.updateRememberedValue(Integer.valueOf(iHashCode8));
                                                    composerM3820constructorimpl8.apply(Integer.valueOf(iHashCode8), setCompositeKeyHash8);
                                                }
                                                Updater.m3827setimpl(composerM3820constructorimpl8, modifierMaterializeModifier8, ComposeUiNode.INSTANCE.getSetModifier());
                                                ComposerKt.sourceInformationMarkerStart(composer3, 1456264949, "C101@5233L9:Row.kt#2w3rfo");
                                                RowScopeInstance rowScopeInstance5 = RowScopeInstance.INSTANCE;
                                                IconKt.m2260Iconww6aTOc(LocationCityKt.getLocationCity(Icons.INSTANCE.getDefault()), (String) null, SizeKt.m884size3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(16)), Color.INSTANCE.m4531getGray0d7_KjU(), composer3, 3504, 0);
                                                SpacerKt.Spacer(SizeKt.m889width3ABfNKs(Modifier.INSTANCE, Dp.m7215constructorimpl(f3)), composer3, 6);
                                                TextKt.m2803Text4IGK_g(str6, (Modifier) null, Color.INSTANCE.m4531getGray0d7_KjU(), 0L, (FontStyle) null, FontWeight.INSTANCE.getMedium(), (FontFamily) null, 0L, (TextDecoration) null, (TextAlign) null, 0L, 0, false, 0, 0, (Function1<? super TextLayoutResult, Unit>) null, (TextStyle) null, composer3, 196992, 0, 131034);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                composer3.endNode();
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                composer3.endNode();
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                ComposerKt.sourceInformationMarkerEnd(composer3);
                                                if (ComposerKt.isTraceInProgress()) {
                                                    ComposerKt.traceEventEnd();
                                                }
                                            }
                                        }, composer, 54), composer, ProfileVerifier.CompilationStatus.RESULT_CODE_ERROR_CANT_WRITE_PROFILE_VERIFICATION_RESULT_CACHE_FILE, 24);
                                        i4 = i5;
                                        str = str4;
                                    }
                                    composer.endReplaceGroup();
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    composer.endNode();
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    ComposerKt.sourceInformationMarkerEnd(composer);
                                    composer.endReplaceGroup();
                                    if (ComposerKt.isTraceInProgress()) {
                                        ComposerKt.traceEventEnd();
                                        return;
                                    }
                                    return;
                                }
                                composer2 = composer2;
                                r13 = r13 == true ? 1 : 0;
                            }
                            throw new NoSuchElementException("Collection contains no element matching the predicate.");
                        }
                    }));
                }
                return Unit.INSTANCE;
            }
        }

        public static final long parseColor(String hex) {
            Intrinsics.checkNotNullParameter(hex, "hex");
            try {
                long j = Long.parseLong(StringsKt.removePrefix(hex, (CharSequence) "#"), CharsKt.checkRadix(16));
                return androidx.compose.ui.graphics.ColorKt.Color$default(((j >> 16) & 255) / 255.0f, ((j >> 8) & 255) / 255.0f, (j & 255) / 255.0f, 1.0f, null, 16, null);
            } catch (Exception unused) {
                return Color.INSTANCE.m4531getGray0d7_KjU();
            }
        }

        private static final String StopDetailScreen$lambda$0(State<String> state) {
            return state.getValue();
        }
    }