package A5;

import D5.n;
import E1.C0103j;
import E1.F;
import E1.G;
import F5.C0115b;
import H5.C0144c;
import android.app.Application;
import android.content.Context;
import androidx.lifecycle.T;
import androidx.lifecycle.a0;
import com.martsnew.tv.ui.continuewatch.TvContinueWatchFragment;
import com.martsnew.tv.ui.forgot_password.TvForgotPasswordFragment;
import com.martsnew.tv.ui.genres.TvGenresFragment;
import com.martsnew.tv.ui.history.TvHistoryFragment;
import com.martsnew.tv.ui.home.TvHomeFragment;
import com.martsnew.tv.ui.login.code.TvCodeLoginFragment;
import com.martsnew.tv.ui.login.email.TvLoginFragment;
import com.martsnew.tv.ui.main.TvMainFragment;
import com.martsnew.tv.ui.movies.TvMoviesFragment;
import n4.u0;

/* JADX INFO: loaded from: classes.dex */
public final class f extends P6.h implements O6.a {

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final /* synthetic */ int f427r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ Object f428s;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ f(int i, Object obj) {
        super(0);
        this.f427r = i;
        this.f428s = obj;
    }

    @Override // O6.a
    public final Object a() {
        switch (this.f427r) {
            case u0.f15495q /* 0 */:
                return (i) this.f428s;
            case 1:
                return (a0) ((f) this.f428s).a();
            case 2:
                return (B5.h) this.f428s;
            case 3:
                return (a0) ((f) this.f428s).a();
            case 4:
                return (TvContinueWatchFragment) this.f428s;
            case 5:
                return (a0) ((f) this.f428s).a();
            case Z.g.STRING_SET_FIELD_NUMBER /* 6 */:
                return (a0) ((n) this.f428s).a();
            case Z.g.DOUBLE_FIELD_NUMBER /* 7 */:
                C0103j c0103j = (C0103j) this.f428s;
                Context context = c0103j.f2086q;
                Context applicationContext = context != null ? context.getApplicationContext() : null;
                return new T(applicationContext instanceof Application ? (Application) applicationContext : null, c0103j, c0103j.f2088s);
            case Z.g.BYTES_FIELD_NUMBER /* 8 */:
                F f3 = (F) this.f428s;
                f3.getClass();
                return new G(f3.f1997a, f3.f2016u);
            case 9:
                return (TvForgotPasswordFragment) this.f428s;
            case 10:
                return (a0) ((f) this.f428s).a();
            case 11:
                return ((F5.g) ((C0115b) this.f428s).f2531r).a0();
            case 12:
                return (TvGenresFragment) this.f428s;
            case 13:
                return (a0) ((f) this.f428s).a();
            case 14:
                return (TvHistoryFragment) this.f428s;
            case 15:
                return (a0) ((f) this.f428s).a();
            case 16:
                return (TvHomeFragment) this.f428s;
            case 17:
                return (a0) ((f) this.f428s).a();
            case 18:
                return (a0) ((C0144c) this.f428s).a();
            case 19:
                return (TvCodeLoginFragment) this.f428s;
            case 20:
                return (a0) ((f) this.f428s).a();
            case 21:
                return (TvLoginFragment) this.f428s;
            case 22:
                return (a0) ((f) this.f428s).a();
            case 23:
                return (TvMainFragment) this.f428s;
            case 24:
                return (a0) ((f) this.f428s).a();
            case 25:
                return (L5.i) this.f428s;
            case 26:
                return (a0) ((f) this.f428s).a();
            case 27:
                return (a0) ((M5.j) this.f428s).a();
            case 28:
                return (a0) ((N5.k) this.f428s).a();
            default:
                return (TvMoviesFragment) this.f428s;
        }
    }
}
