package androidx.fragment.app;

import android.animation.Animator;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Application;
import android.content.ComponentCallbacks;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.Intent;
import android.content.IntentSender;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseArray;
import android.view.ContextMenu;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import androidx.annotation.CallSuper;
import androidx.annotation.MainThread;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
import androidx.annotation.StringRes;
import androidx.annotation.UiThread;
import androidx.fragment.app.strictmode.FragmentStrictMode$Flag;
import androidx.fragment.app.strictmode.GetRetainInstanceUsageViolation;
import androidx.fragment.app.strictmode.GetTargetFragmentRequestCodeUsageViolation;
import androidx.fragment.app.strictmode.GetTargetFragmentUsageViolation;
import androidx.fragment.app.strictmode.SetRetainInstanceUsageViolation;
import androidx.fragment.app.strictmode.SetTargetFragmentUsageViolation;
import androidx.fragment.app.strictmode.SetUserVisibleHintViolation;
import androidx.lifecycle.Lifecycle$State;
import java.io.FileDescriptor;
import java.io.PrintWriter;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.Objects;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;

/* JADX INFO: loaded from: classes.dex */
public abstract class e0 implements ComponentCallbacks, View.OnCreateContextMenuListener, androidx.lifecycle.p, androidx.lifecycle.z0, androidx.lifecycle.h, i3.h {
    public static final Object C0 = new Object();
    public boolean Q;
    public boolean R;
    public boolean S;
    public boolean T;
    public int U;
    public d1 V;
    public n0 W;
    public e0 Y;
    public int Z;

    /* JADX INFO: renamed from: a0, reason: collision with root package name */
    public int f2399a0;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public Bundle f2400b;

    /* JADX INFO: renamed from: b0, reason: collision with root package name */
    public String f2401b0;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public SparseArray f2402c;

    /* JADX INFO: renamed from: c0, reason: collision with root package name */
    public boolean f2403c0;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public Bundle f2404d;

    /* JADX INFO: renamed from: d0, reason: collision with root package name */
    public boolean f2405d0;

    /* JADX INFO: renamed from: e0, reason: collision with root package name */
    public boolean f2407e0;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public Bundle f2408f;

    /* JADX INFO: renamed from: f0, reason: collision with root package name */
    public boolean f2409f0;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public e0 f2410g;

    /* JADX INFO: renamed from: g0, reason: collision with root package name */
    public boolean f2411g0;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public int f2414i;

    /* JADX INFO: renamed from: i0, reason: collision with root package name */
    public boolean f2415i0;

    /* JADX INFO: renamed from: j0, reason: collision with root package name */
    public ViewGroup f2417j0;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public boolean f2418k;

    /* JADX INFO: renamed from: k0, reason: collision with root package name */
    public View f2419k0;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public boolean f2420l;

    /* JADX INFO: renamed from: l0, reason: collision with root package name */
    public boolean f2421l0;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public boolean f2422m;

    @Nullable
    @RestrictTo({RestrictTo.Scope.f555a})
    public String mPreviousWho;

    @Nullable
    Boolean mSavedUserVisibleHint;

    @Nullable
    a2 mViewLifecycleOwner;

    /* JADX INFO: renamed from: n0, reason: collision with root package name */
    public a0 f2424n0;

    /* JADX INFO: renamed from: o0, reason: collision with root package name */
    public Handler f2425o0;

    /* JADX INFO: renamed from: q0, reason: collision with root package name */
    public boolean f2427q0;

    /* JADX INFO: renamed from: r0, reason: collision with root package name */
    public LayoutInflater f2428r0;

    /* JADX INFO: renamed from: s0, reason: collision with root package name */
    public boolean f2429s0;

    /* JADX INFO: renamed from: u0, reason: collision with root package name */
    public androidx.lifecycle.r f2431u0;

    /* JADX INFO: renamed from: w0, reason: collision with root package name */
    public androidx.lifecycle.o0 f2433w0;

    /* JADX INFO: renamed from: x0, reason: collision with root package name */
    public i3.g f2434x0;

    /* JADX INFO: renamed from: y0, reason: collision with root package name */
    public int f2435y0;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f2398a = -1;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public String f2406e = UUID.randomUUID().toString();

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public String f2412h = null;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public Boolean f2416j = null;
    public e1 X = new e1();

    /* JADX INFO: renamed from: h0, reason: collision with root package name */
    public boolean f2413h0 = true;

    /* JADX INFO: renamed from: m0, reason: collision with root package name */
    public boolean f2423m0 = true;

    /* JADX INFO: renamed from: p0, reason: collision with root package name */
    public final w f2426p0 = new w(this, 0);

    /* JADX INFO: renamed from: t0, reason: collision with root package name */
    public Lifecycle$State f2430t0 = Lifecycle$State.f2635e;

    /* JADX INFO: renamed from: v0, reason: collision with root package name */
    public final androidx.lifecycle.w f2432v0 = new androidx.lifecycle.w();
    public final AtomicInteger z0 = new AtomicInteger();
    public final ArrayList A0 = new ArrayList();
    public final x B0 = new x(this);

    public e0() {
        D();
    }

    @NonNull
    @Deprecated
    public static e0 instantiate(@NonNull Context context, @NonNull String str) {
        return instantiate(context, str, null);
    }

    public static /* synthetic */ void u(e0 e0Var) {
        e0Var.mViewLifecycleOwner.performRestore(e0Var.f2404d);
        e0Var.f2404d = null;
    }

    public final a0 A() {
        if (this.f2424n0 == null) {
            a0 a0Var = new a0();
            a0Var.f2321i = null;
            Object obj = C0;
            a0Var.f2322j = obj;
            a0Var.f2323k = null;
            a0Var.f2324l = obj;
            a0Var.f2325m = null;
            a0Var.f2326n = obj;
            a0Var.f2329q = 1.0f;
            a0Var.f2330r = null;
            this.f2424n0 = a0Var;
        }
        return this.f2424n0;
    }

    public final int B() {
        Lifecycle$State lifecycle$State = this.f2430t0;
        return (lifecycle$State == Lifecycle$State.f2632b || this.Y == null) ? lifecycle$State.ordinal() : Math.min(lifecycle$State.ordinal(), this.Y.B());
    }

    public final void D() {
        this.f2431u0 = new androidx.lifecycle.r(this);
        this.f2434x0 = eb.e.a(this);
        this.f2433w0 = null;
        ArrayList arrayList = this.A0;
        x xVar = this.B0;
        if (arrayList.contains(xVar)) {
            return;
        }
        if (this.f2398a >= 0) {
            xVar.a();
        } else {
            arrayList.add(xVar);
        }
    }

    public final void F() {
        D();
        this.mPreviousWho = this.f2406e;
        this.f2406e = UUID.randomUUID().toString();
        this.f2418k = false;
        this.f2420l = false;
        this.Q = false;
        this.R = false;
        this.S = false;
        this.U = 0;
        this.V = null;
        this.X = new e1();
        this.W = null;
        this.Z = 0;
        this.f2399a0 = 0;
        this.f2401b0 = null;
        this.f2403c0 = false;
        this.f2405d0 = false;
    }

    public final boolean G() {
        return this.U > 0;
    }

    public final v H(b.a aVar, o.a aVar2, androidx.activity.result.c cVar) {
        if (this.f2398a > 1) {
            throw new IllegalStateException(defpackage.e.g("Fragment ", this, " is attempting to registerForActivityResult after being created. Fragments must call registerForActivityResult() before they are created (i.e. initialization, onAttach(), or onCreate())."));
        }
        AtomicReference atomicReference = new AtomicReference();
        z zVar = new z(this, aVar2, atomicReference, aVar, cVar);
        if (this.f2398a >= 0) {
            zVar.a();
        } else {
            this.A0.add(zVar);
        }
        return new v(atomicReference);
    }

    public final void I(int i10, int i11, int i12, int i13) {
        if (this.f2424n0 == null && i10 == 0 && i11 == 0 && i12 == 0 && i13 == 0) {
            return;
        }
        A().f2314b = i10;
        A().f2315c = i11;
        A().f2316d = i12;
        A().f2317e = i13;
    }

    public void dump(@NonNull String str, @Nullable FileDescriptor fileDescriptor, @NonNull PrintWriter printWriter, @Nullable String[] strArr) {
        printWriter.print(str);
        printWriter.print("mFragmentId=#");
        printWriter.print(Integer.toHexString(this.Z));
        printWriter.print(" mContainerId=#");
        printWriter.print(Integer.toHexString(this.f2399a0));
        printWriter.print(" mTag=");
        printWriter.println(this.f2401b0);
        printWriter.print(str);
        printWriter.print("mState=");
        printWriter.print(this.f2398a);
        printWriter.print(" mWho=");
        printWriter.print(this.f2406e);
        printWriter.print(" mBackStackNesting=");
        printWriter.println(this.U);
        printWriter.print(str);
        printWriter.print("mAdded=");
        printWriter.print(this.f2418k);
        printWriter.print(" mRemoving=");
        printWriter.print(this.f2420l);
        printWriter.print(" mFromLayout=");
        printWriter.print(this.Q);
        printWriter.print(" mInLayout=");
        printWriter.println(this.R);
        printWriter.print(str);
        printWriter.print("mHidden=");
        printWriter.print(this.f2403c0);
        printWriter.print(" mDetached=");
        printWriter.print(this.f2405d0);
        printWriter.print(" mMenuVisible=");
        printWriter.print(this.f2413h0);
        printWriter.print(" mHasMenu=");
        printWriter.println(this.f2411g0);
        printWriter.print(str);
        printWriter.print("mRetainInstance=");
        printWriter.print(this.f2407e0);
        printWriter.print(" mUserVisibleHint=");
        printWriter.println(this.f2423m0);
        if (this.V != null) {
            printWriter.print(str);
            printWriter.print("mFragmentManager=");
            printWriter.println(this.V);
        }
        if (this.W != null) {
            printWriter.print(str);
            printWriter.print("mHost=");
            printWriter.println(this.W);
        }
        if (this.Y != null) {
            printWriter.print(str);
            printWriter.print("mParentFragment=");
            printWriter.println(this.Y);
        }
        if (this.f2408f != null) {
            printWriter.print(str);
            printWriter.print("mArguments=");
            printWriter.println(this.f2408f);
        }
        if (this.f2400b != null) {
            printWriter.print(str);
            printWriter.print("mSavedFragmentState=");
            printWriter.println(this.f2400b);
        }
        if (this.f2402c != null) {
            printWriter.print(str);
            printWriter.print("mSavedViewState=");
            printWriter.println(this.f2402c);
        }
        if (this.f2404d != null) {
            printWriter.print(str);
            printWriter.print("mSavedViewRegistryState=");
            printWriter.println(this.f2404d);
        }
        e0 targetFragment = getTargetFragment(false);
        if (targetFragment != null) {
            printWriter.print(str);
            printWriter.print("mTarget=");
            printWriter.print(targetFragment);
            printWriter.print(" mTargetRequestCode=");
            printWriter.println(this.f2414i);
        }
        printWriter.print(str);
        printWriter.print("mPopDirection=");
        a0 a0Var = this.f2424n0;
        printWriter.println(a0Var == null ? false : a0Var.f2313a);
        a0 a0Var2 = this.f2424n0;
        if (a0Var2 != null && a0Var2.f2314b != 0) {
            printWriter.print(str);
            printWriter.print("getEnterAnim=");
            a0 a0Var3 = this.f2424n0;
            printWriter.println(a0Var3 == null ? 0 : a0Var3.f2314b);
        }
        a0 a0Var4 = this.f2424n0;
        if (a0Var4 != null && a0Var4.f2315c != 0) {
            printWriter.print(str);
            printWriter.print("getExitAnim=");
            a0 a0Var5 = this.f2424n0;
            printWriter.println(a0Var5 == null ? 0 : a0Var5.f2315c);
        }
        a0 a0Var6 = this.f2424n0;
        if (a0Var6 != null && a0Var6.f2316d != 0) {
            printWriter.print(str);
            printWriter.print("getPopEnterAnim=");
            a0 a0Var7 = this.f2424n0;
            printWriter.println(a0Var7 == null ? 0 : a0Var7.f2316d);
        }
        a0 a0Var8 = this.f2424n0;
        if (a0Var8 != null && a0Var8.f2317e != 0) {
            printWriter.print(str);
            printWriter.print("getPopExitAnim=");
            a0 a0Var9 = this.f2424n0;
            printWriter.println(a0Var9 != null ? a0Var9.f2317e : 0);
        }
        if (this.f2417j0 != null) {
            printWriter.print(str);
            printWriter.print("mContainer=");
            printWriter.println(this.f2417j0);
        }
        if (this.f2419k0 != null) {
            printWriter.print(str);
            printWriter.print("mView=");
            printWriter.println(this.f2419k0);
        }
        if (getContext() != null) {
            androidx.loader.app.b.a(this).b(str, fileDescriptor, printWriter, strArr);
        }
        printWriter.print(str);
        printWriter.println("Child " + this.X + ":");
        this.X.dump(com.google.android.gms.measurement.internal.u1.j(str, "  "), fileDescriptor, printWriter, strArr);
    }

    public final boolean equals(@Nullable Object obj) {
        return super.equals(obj);
    }

    @Nullable
    public e0 findFragmentByWho(@NonNull String str) {
        return str.equals(this.f2406e) ? this : this.X.f2368c.findFragmentByWho(str);
    }

    @Nullable
    public final FragmentActivity getActivity() {
        n0 n0Var = this.W;
        if (n0Var == null) {
            return null;
        }
        return (FragmentActivity) n0Var.f2530a;
    }

    public boolean getAllowEnterTransitionOverlap() {
        Boolean bool;
        a0 a0Var = this.f2424n0;
        if (a0Var == null || (bool = a0Var.f2328p) == null) {
            return true;
        }
        return bool.booleanValue();
    }

    public boolean getAllowReturnTransitionOverlap() {
        Boolean bool;
        a0 a0Var = this.f2424n0;
        if (a0Var == null || (bool = a0Var.f2327o) == null) {
            return true;
        }
        return bool.booleanValue();
    }

    @Nullable
    public final Bundle getArguments() {
        return this.f2408f;
    }

    @NonNull
    public final d1 getChildFragmentManager() {
        if (this.W != null) {
            return this.X;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " has not been attached yet."));
    }

    @Nullable
    public Context getContext() {
        n0 n0Var = this.W;
        if (n0Var == null) {
            return null;
        }
        return n0Var.f2531b;
    }

    @Override // androidx.lifecycle.h
    @NonNull
    @CallSuper
    public n1.b getDefaultViewModelCreationExtras() {
        Application application;
        Context applicationContext = requireContext().getApplicationContext();
        while (true) {
            if (!(applicationContext instanceof ContextWrapper)) {
                application = null;
                break;
            }
            if (applicationContext instanceof Application) {
                application = (Application) applicationContext;
                break;
            }
            applicationContext = ((ContextWrapper) applicationContext).getBaseContext();
        }
        if (application == null && Log.isLoggable("FragmentManager", 3)) {
            Objects.toString(requireContext().getApplicationContext());
        }
        n1.c cVar = new n1.c(0);
        LinkedHashMap linkedHashMap = cVar.f30758a;
        if (application != null) {
            linkedHashMap.put(androidx.lifecycle.t0.f2705d, application);
        }
        linkedHashMap.put(androidx.lifecycle.z.f2722a, this);
        linkedHashMap.put(androidx.lifecycle.z.f2723b, this);
        if (getArguments() != null) {
            linkedHashMap.put(androidx.lifecycle.z.f2724c, getArguments());
        }
        return cVar;
    }

    @Override // androidx.lifecycle.h
    @NonNull
    public androidx.lifecycle.u0 getDefaultViewModelProviderFactory() {
        Application application;
        if (this.V == null) {
            throw new IllegalStateException("Can't access ViewModels from detached fragment");
        }
        if (this.f2433w0 == null) {
            Context applicationContext = requireContext().getApplicationContext();
            while (true) {
                if (!(applicationContext instanceof ContextWrapper)) {
                    application = null;
                    break;
                }
                if (applicationContext instanceof Application) {
                    application = (Application) applicationContext;
                    break;
                }
                applicationContext = ((ContextWrapper) applicationContext).getBaseContext();
            }
            if (application == null && Log.isLoggable("FragmentManager", 3)) {
                Objects.toString(requireContext().getApplicationContext());
            }
            this.f2433w0 = new androidx.lifecycle.o0(application, this, getArguments());
        }
        return this.f2433w0;
    }

    @Nullable
    public Object getEnterTransition() {
        a0 a0Var = this.f2424n0;
        if (a0Var == null) {
            return null;
        }
        return a0Var.f2321i;
    }

    @Nullable
    public Object getExitTransition() {
        a0 a0Var = this.f2424n0;
        if (a0Var == null) {
            return null;
        }
        return a0Var.f2323k;
    }

    @Nullable
    @Deprecated
    public final d1 getFragmentManager() {
        return this.V;
    }

    @Nullable
    public final Object getHost() {
        n0 n0Var = this.W;
        if (n0Var == null) {
            return null;
        }
        return ((i0) n0Var).f2478e;
    }

    public final int getId() {
        return this.Z;
    }

    @NonNull
    @RestrictTo({RestrictTo.Scope.f557c})
    @Deprecated
    public LayoutInflater getLayoutInflater(@Nullable Bundle bundle) {
        n0 n0Var = this.W;
        if (n0Var == null) {
            throw new IllegalStateException("onGetLayoutInflater() cannot be executed until the Fragment is attached to the FragmentManager.");
        }
        FragmentActivity fragmentActivity = ((i0) n0Var).f2478e;
        LayoutInflater layoutInflaterCloneInContext = fragmentActivity.getLayoutInflater().cloneInContext(fragmentActivity);
        layoutInflaterCloneInContext.setFactory2(this.X.f2371f);
        return layoutInflaterCloneInContext;
    }

    @Override // androidx.lifecycle.p
    @NonNull
    public androidx.lifecycle.l getLifecycle() {
        return this.f2431u0;
    }

    @NonNull
    @Deprecated
    public androidx.loader.app.b getLoaderManager() {
        return androidx.loader.app.b.a(this);
    }

    @Nullable
    public final e0 getParentFragment() {
        return this.Y;
    }

    @NonNull
    public final d1 getParentFragmentManager() {
        d1 d1Var = this.V;
        if (d1Var != null) {
            return d1Var;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not associated with a fragment manager."));
    }

    @Nullable
    public Object getReenterTransition() {
        a0 a0Var = this.f2424n0;
        if (a0Var == null) {
            return null;
        }
        Object obj = a0Var.f2324l;
        return obj == C0 ? getExitTransition() : obj;
    }

    @NonNull
    public final Resources getResources() {
        return requireContext().getResources();
    }

    @Deprecated
    public final boolean getRetainInstance() {
        j1.a aVar = j1.b.f28545a;
        GetRetainInstanceUsageViolation getRetainInstanceUsageViolation = new GetRetainInstanceUsageViolation(this, "Attempting to get retain instance for fragment " + this);
        j1.b.c(getRetainInstanceUsageViolation);
        j1.a aVarA = j1.b.a(this);
        if (aVarA.f28543a.contains(FragmentStrictMode$Flag.f2588f) && j1.b.e(aVarA, getClass(), GetRetainInstanceUsageViolation.class)) {
            j1.b.b(aVarA, getRetainInstanceUsageViolation);
        }
        return this.f2407e0;
    }

    @Nullable
    public Object getReturnTransition() {
        a0 a0Var = this.f2424n0;
        if (a0Var == null) {
            return null;
        }
        Object obj = a0Var.f2322j;
        return obj == C0 ? getEnterTransition() : obj;
    }

    @Override // i3.h
    @NonNull
    public final i3.f getSavedStateRegistry() {
        return this.f2434x0.f26535b;
    }

    @Nullable
    public Object getSharedElementEnterTransition() {
        a0 a0Var = this.f2424n0;
        if (a0Var == null) {
            return null;
        }
        return a0Var.f2325m;
    }

    @Nullable
    public Object getSharedElementReturnTransition() {
        a0 a0Var = this.f2424n0;
        if (a0Var == null) {
            return null;
        }
        Object obj = a0Var.f2326n;
        return obj == C0 ? getSharedElementEnterTransition() : obj;
    }

    @NonNull
    public final String getString(@StringRes int i10) {
        return getResources().getString(i10);
    }

    @Nullable
    public final String getTag() {
        return this.f2401b0;
    }

    @Nullable
    @Deprecated
    public final e0 getTargetFragment() {
        return getTargetFragment(true);
    }

    @Deprecated
    public final int getTargetRequestCode() {
        j1.a aVar = j1.b.f28545a;
        GetTargetFragmentRequestCodeUsageViolation getTargetFragmentRequestCodeUsageViolation = new GetTargetFragmentRequestCodeUsageViolation(this, "Attempting to get target request code from fragment " + this);
        j1.b.c(getTargetFragmentRequestCodeUsageViolation);
        j1.a aVarA = j1.b.a(this);
        if (aVarA.f28543a.contains(FragmentStrictMode$Flag.f2590h) && j1.b.e(aVarA, getClass(), GetTargetFragmentRequestCodeUsageViolation.class)) {
            j1.b.b(aVarA, getTargetFragmentRequestCodeUsageViolation);
        }
        return this.f2414i;
    }

    @NonNull
    public final CharSequence getText(@StringRes int i10) {
        return getResources().getText(i10);
    }

    @Deprecated
    public boolean getUserVisibleHint() {
        return this.f2423m0;
    }

    @Nullable
    public View getView() {
        return this.f2419k0;
    }

    @NonNull
    @MainThread
    public androidx.lifecycle.p getViewLifecycleOwner() {
        a2 a2Var = this.mViewLifecycleOwner;
        if (a2Var != null) {
            return a2Var;
        }
        throw new IllegalStateException(defpackage.e.g("Can't access the Fragment View's LifecycleOwner for ", this, " when getView() is null i.e., before onCreateView() or after onDestroyView()"));
    }

    @NonNull
    public androidx.lifecycle.v getViewLifecycleOwnerLiveData() {
        return this.f2432v0;
    }

    @Override // androidx.lifecycle.z0
    @NonNull
    public androidx.lifecycle.y0 getViewModelStore() {
        if (this.V == null) {
            throw new IllegalStateException("Can't access ViewModels from detached fragment");
        }
        if (B() != 1) {
            return this.V.N.getViewModelStore(this);
        }
        throw new IllegalStateException("Calling getViewModelStore() before a Fragment reaches onCreate() when using setMaxLifecycle(INITIALIZED) is not supported");
    }

    @SuppressLint({"KotlinPropertyAccess"})
    @RestrictTo({RestrictTo.Scope.f557c})
    public final boolean hasOptionsMenu() {
        return this.f2411g0;
    }

    public final int hashCode() {
        return super.hashCode();
    }

    public final boolean isAdded() {
        return this.W != null && this.f2418k;
    }

    public final boolean isDetached() {
        return this.f2405d0;
    }

    public final boolean isHidden() {
        d1 d1Var;
        return this.f2403c0 || ((d1Var = this.V) != null && d1Var.isParentHidden(this.Y));
    }

    public final boolean isInLayout() {
        return this.R;
    }

    @RestrictTo({RestrictTo.Scope.f557c})
    public final boolean isMenuVisible() {
        d1 d1Var;
        return this.f2413h0 && ((d1Var = this.V) == null || d1Var.isParentMenuVisible(this.Y));
    }

    public final boolean isRemoving() {
        return this.f2420l;
    }

    public final boolean isResumed() {
        return this.f2398a >= 7;
    }

    public final boolean isStateSaved() {
        d1 d1Var = this.V;
        if (d1Var == null) {
            return false;
        }
        return d1Var.I();
    }

    public final boolean isVisible() {
        View view;
        return (!isAdded() || isHidden() || (view = this.f2419k0) == null || view.getWindowToken() == null || this.f2419k0.getVisibility() != 0) ? false : true;
    }

    @CallSuper
    @MainThread
    @Deprecated
    public void onActivityCreated(@Nullable Bundle bundle) {
        this.f2415i0 = true;
    }

    @Deprecated
    public void onActivityResult(int i10, int i11, @Nullable Intent intent) {
        if (Log.isLoggable("FragmentManager", 2)) {
            toString();
            Objects.toString(intent);
        }
    }

    @CallSuper
    @MainThread
    @Deprecated
    public void onAttach(@NonNull Activity activity) {
        this.f2415i0 = true;
    }

    @MainThread
    @Deprecated
    public void onAttachFragment(@NonNull e0 e0Var) {
    }

    @Override // android.content.ComponentCallbacks
    @CallSuper
    public void onConfigurationChanged(@NonNull Configuration configuration) {
        this.f2415i0 = true;
    }

    @MainThread
    public boolean onContextItemSelected(@NonNull MenuItem menuItem) {
        return false;
    }

    @CallSuper
    @MainThread
    public void onCreate(@Nullable Bundle bundle) {
        Bundle bundle2;
        this.f2415i0 = true;
        Bundle bundle3 = this.f2400b;
        if (bundle3 != null && (bundle2 = bundle3.getBundle("childFragmentManager")) != null) {
            this.X.restoreSaveStateInternal(bundle2);
            e1 e1Var = this.X;
            e1Var.G = false;
            e1Var.H = false;
            e1Var.N.setIsStateSaved(false);
            e1Var.t(1);
        }
        e1 e1Var2 = this.X;
        if (e1Var2.f2387v >= 1) {
            return;
        }
        e1Var2.G = false;
        e1Var2.H = false;
        e1Var2.N.setIsStateSaved(false);
        e1Var2.t(1);
    }

    @Nullable
    @MainThread
    public Animation onCreateAnimation(int i10, boolean z10, int i11) {
        return null;
    }

    @Nullable
    @MainThread
    public Animator onCreateAnimator(int i10, boolean z10, int i11) {
        return null;
    }

    @Override // android.view.View.OnCreateContextMenuListener
    @MainThread
    public void onCreateContextMenu(@NonNull ContextMenu contextMenu, @NonNull View view, @Nullable ContextMenu.ContextMenuInfo contextMenuInfo) {
        requireActivity().onCreateContextMenu(contextMenu, view, contextMenuInfo);
    }

    @MainThread
    @Deprecated
    public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater menuInflater) {
    }

    @Nullable
    @MainThread
    public View onCreateView(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
        int i10 = this.f2435y0;
        if (i10 != 0) {
            return layoutInflater.inflate(i10, viewGroup, false);
        }
        return null;
    }

    @CallSuper
    @MainThread
    public void onDestroy() {
        this.f2415i0 = true;
    }

    @MainThread
    @Deprecated
    public void onDestroyOptionsMenu() {
    }

    public void onDestroyView() {
        this.f2415i0 = true;
    }

    @CallSuper
    @MainThread
    public void onDetach() {
        this.f2415i0 = true;
    }

    @NonNull
    public LayoutInflater onGetLayoutInflater(@Nullable Bundle bundle) {
        return getLayoutInflater(bundle);
    }

    @MainThread
    public void onHiddenChanged(boolean z10) {
    }

    @CallSuper
    @UiThread
    @Deprecated
    public void onInflate(@NonNull Activity activity, @NonNull AttributeSet attributeSet, @Nullable Bundle bundle) {
        this.f2415i0 = true;
    }

    @Override // android.content.ComponentCallbacks
    @CallSuper
    @MainThread
    public void onLowMemory() {
        this.f2415i0 = true;
    }

    public void onMultiWindowModeChanged(boolean z10) {
    }

    @MainThread
    @Deprecated
    public boolean onOptionsItemSelected(@NonNull MenuItem menuItem) {
        return false;
    }

    @MainThread
    @Deprecated
    public void onOptionsMenuClosed(@NonNull Menu menu) {
    }

    @CallSuper
    @MainThread
    public void onPause() {
        this.f2415i0 = true;
    }

    public void onPictureInPictureModeChanged(boolean z10) {
    }

    @MainThread
    @Deprecated
    public void onPrepareOptionsMenu(@NonNull Menu menu) {
    }

    @MainThread
    public void onPrimaryNavigationFragmentChanged(boolean z10) {
    }

    @Deprecated
    public void onRequestPermissionsResult(int i10, @NonNull String[] strArr, @NonNull int[] iArr) {
    }

    public void onResume() {
        this.f2415i0 = true;
    }

    @MainThread
    public void onSaveInstanceState(@NonNull Bundle bundle) {
    }

    @CallSuper
    @MainThread
    public void onStart() {
        this.f2415i0 = true;
    }

    @CallSuper
    @MainThread
    public void onStop() {
        this.f2415i0 = true;
    }

    @MainThread
    public void onViewCreated(@NonNull View view, @Nullable Bundle bundle) {
    }

    @CallSuper
    @MainThread
    public void onViewStateRestored(@Nullable Bundle bundle) {
        this.f2415i0 = true;
    }

    public void performCreateView(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, @Nullable Bundle bundle) {
        this.X.K();
        this.T = true;
        this.mViewLifecycleOwner = new a2(this, getViewModelStore(), new y.a(this, 4));
        View viewOnCreateView = onCreateView(layoutInflater, viewGroup, bundle);
        this.f2419k0 = viewOnCreateView;
        if (viewOnCreateView == null) {
            if (this.mViewLifecycleOwner.f2336e != null) {
                throw new IllegalStateException("Called getViewLifecycleOwner() but onCreateView() returned null");
            }
            this.mViewLifecycleOwner = null;
            return;
        }
        this.mViewLifecycleOwner.b();
        if (Log.isLoggable("FragmentManager", 3)) {
            Objects.toString(this.f2419k0);
            toString();
        }
        View view = this.f2419k0;
        a2 a2Var = this.mViewLifecycleOwner;
        nb.g.i(view, "<this>");
        view.setTag(m1.a.view_tree_lifecycle_owner, a2Var);
        View view2 = this.f2419k0;
        a2 a2Var2 = this.mViewLifecycleOwner;
        nb.g.i(view2, "<this>");
        view2.setTag(n1.d.view_tree_view_model_store_owner, a2Var2);
        View view3 = this.f2419k0;
        a2 a2Var3 = this.mViewLifecycleOwner;
        nb.g.i(view3, "<this>");
        view3.setTag(i3.a.view_tree_saved_state_registry_owner, a2Var3);
        this.f2432v0.i(this.mViewLifecycleOwner);
    }

    @NonNull
    public LayoutInflater performGetLayoutInflater(@Nullable Bundle bundle) {
        LayoutInflater layoutInflaterOnGetLayoutInflater = onGetLayoutInflater(bundle);
        this.f2428r0 = layoutInflaterOnGetLayoutInflater;
        return layoutInflaterOnGetLayoutInflater;
    }

    public void postponeEnterTransition() {
        A().f2331s = true;
    }

    @NonNull
    @MainThread
    public final <I, O> androidx.activity.result.d registerForActivityResult(@NonNull b.a aVar, @NonNull androidx.activity.result.c cVar) {
        return H(aVar, new xyz.stream.utils.j0(this, 7), cVar);
    }

    public void registerForContextMenu(@NonNull View view) {
        view.setOnCreateContextMenuListener(this);
    }

    @Deprecated
    public final void requestPermissions(@NonNull String[] strArr, int i10) {
        if (this.W == null) {
            throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to Activity"));
        }
        d1 parentFragmentManager = getParentFragmentManager();
        if (parentFragmentManager.D == null) {
            parentFragmentManager.f2388w.getClass();
            nb.g.i(strArr, "permissions");
        } else {
            parentFragmentManager.E.addLast(new z0(this.f2406e, i10));
            parentFragmentManager.D.launch(strArr, null);
        }
    }

    @NonNull
    public final FragmentActivity requireActivity() {
        FragmentActivity activity = getActivity();
        if (activity != null) {
            return activity;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to an activity."));
    }

    @NonNull
    public final Bundle requireArguments() {
        Bundle arguments = getArguments();
        if (arguments != null) {
            return arguments;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " does not have any arguments."));
    }

    @NonNull
    public final Context requireContext() {
        Context context = getContext();
        if (context != null) {
            return context;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to a context."));
    }

    @NonNull
    @Deprecated
    public final d1 requireFragmentManager() {
        return getParentFragmentManager();
    }

    @NonNull
    public final Object requireHost() {
        Object host = getHost();
        if (host != null) {
            return host;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to a host."));
    }

    @NonNull
    public final e0 requireParentFragment() {
        e0 parentFragment = getParentFragment();
        if (parentFragment != null) {
            return parentFragment;
        }
        if (getContext() == null) {
            throw new IllegalStateException(defpackage.e.g("Fragment ", this, " is not attached to any Fragment or host"));
        }
        throw new IllegalStateException("Fragment " + this + " is not a child Fragment, it is directly attached to " + getContext());
    }

    @NonNull
    public final View requireView() {
        View view = getView();
        if (view != null) {
            return view;
        }
        throw new IllegalStateException(defpackage.e.g("Fragment ", this, " did not return a View from onCreateView() or this was called before onCreateView()."));
    }

    public void setAllowEnterTransitionOverlap(boolean z10) {
        A().f2328p = Boolean.valueOf(z10);
    }

    public void setAllowReturnTransitionOverlap(boolean z10) {
        A().f2327o = Boolean.valueOf(z10);
    }

    public void setArguments(@Nullable Bundle bundle) {
        if (this.V != null && isStateSaved()) {
            throw new IllegalStateException("Fragment already added and state has been saved");
        }
        this.f2408f = bundle;
    }

    public void setEnterSharedElementCallback(@Nullable androidx.core.app.c2 c2Var) {
        A().getClass();
    }

    public void setEnterTransition(@Nullable Object obj) {
        A().f2321i = obj;
    }

    public void setExitSharedElementCallback(@Nullable androidx.core.app.c2 c2Var) {
        A().getClass();
    }

    public void setExitTransition(@Nullable Object obj) {
        A().f2323k = obj;
    }

    @Deprecated
    public void setHasOptionsMenu(boolean z10) {
        if (this.f2411g0 != z10) {
            this.f2411g0 = z10;
            if (!isAdded() || isHidden()) {
                return;
            }
            ((i0) this.W).f2478e.invalidateMenu();
        }
    }

    public void setInitialSavedState(@Nullable d0 d0Var) {
        Bundle bundle;
        if (this.V != null) {
            throw new IllegalStateException("Fragment already added");
        }
        if (d0Var == null || (bundle = d0Var.f2365a) == null) {
            bundle = null;
        }
        this.f2400b = bundle;
    }

    public void setMenuVisibility(boolean z10) {
        if (this.f2413h0 != z10) {
            this.f2413h0 = z10;
            if (this.f2411g0 && isAdded() && !isHidden()) {
                ((i0) this.W).f2478e.invalidateMenu();
            }
        }
    }

    public void setReenterTransition(@Nullable Object obj) {
        A().f2324l = obj;
    }

    @Deprecated
    public void setRetainInstance(boolean z10) {
        j1.a aVar = j1.b.f28545a;
        SetRetainInstanceUsageViolation setRetainInstanceUsageViolation = new SetRetainInstanceUsageViolation(this, "Attempting to set retain instance for fragment " + this);
        j1.b.c(setRetainInstanceUsageViolation);
        j1.a aVarA = j1.b.a(this);
        if (aVarA.f28543a.contains(FragmentStrictMode$Flag.f2588f) && j1.b.e(aVarA, getClass(), SetRetainInstanceUsageViolation.class)) {
            j1.b.b(aVarA, setRetainInstanceUsageViolation);
        }
        this.f2407e0 = z10;
        d1 d1Var = this.V;
        if (d1Var == null) {
            this.f2409f0 = true;
        } else if (z10) {
            d1Var.N.addRetainedFragment(this);
        } else {
            d1Var.N.removeRetainedFragment(this);
        }
    }

    public void setReturnTransition(@Nullable Object obj) {
        A().f2322j = obj;
    }

    public void setSharedElementEnterTransition(@Nullable Object obj) {
        A().f2325m = obj;
    }

    public void setSharedElementNames(@Nullable ArrayList<String> arrayList, @Nullable ArrayList<String> arrayList2) {
        A();
        a0 a0Var = this.f2424n0;
        a0Var.f2319g = arrayList;
        a0Var.f2320h = arrayList2;
    }

    public void setSharedElementReturnTransition(@Nullable Object obj) {
        A().f2326n = obj;
    }

    @Deprecated
    public void setTargetFragment(@Nullable e0 e0Var, int i10) {
        if (e0Var != null) {
            j1.a aVar = j1.b.f28545a;
            SetTargetFragmentUsageViolation setTargetFragmentUsageViolation = new SetTargetFragmentUsageViolation(this, e0Var, i10);
            j1.b.c(setTargetFragmentUsageViolation);
            j1.a aVarA = j1.b.a(this);
            if (aVarA.f28543a.contains(FragmentStrictMode$Flag.f2590h) && j1.b.e(aVarA, getClass(), SetTargetFragmentUsageViolation.class)) {
                j1.b.b(aVarA, setTargetFragmentUsageViolation);
            }
        }
        d1 d1Var = this.V;
        d1 d1Var2 = e0Var != null ? e0Var.V : null;
        if (d1Var != null && d1Var2 != null && d1Var != d1Var2) {
            throw new IllegalArgumentException(defpackage.e.g("Fragment ", e0Var, " must share the same FragmentManager to be set as a target fragment"));
        }
        for (e0 targetFragment = e0Var; targetFragment != null; targetFragment = targetFragment.getTargetFragment(false)) {
            if (targetFragment.equals(this)) {
                throw new IllegalArgumentException("Setting " + e0Var + " as the target of " + this + " would create a target cycle");
            }
        }
        if (e0Var == null) {
            this.f2412h = null;
            this.f2410g = null;
        } else if (this.V == null || e0Var.V == null) {
            this.f2412h = null;
            this.f2410g = e0Var;
        } else {
            this.f2412h = e0Var.f2406e;
            this.f2410g = null;
        }
        this.f2414i = i10;
    }

    @Deprecated
    public void setUserVisibleHint(boolean z10) {
        j1.a aVar = j1.b.f28545a;
        SetUserVisibleHintViolation setUserVisibleHintViolation = new SetUserVisibleHintViolation(this, z10);
        j1.b.c(setUserVisibleHintViolation);
        j1.a aVarA = j1.b.a(this);
        if (aVarA.f28543a.contains(FragmentStrictMode$Flag.f2589g) && j1.b.e(aVarA, getClass(), SetUserVisibleHintViolation.class)) {
            j1.b.b(aVarA, setUserVisibleHintViolation);
        }
        boolean z11 = false;
        if (!this.f2423m0 && z10 && this.f2398a < 5 && this.V != null && isAdded() && this.f2429s0) {
            d1 d1Var = this.V;
            l1 l1VarF = d1Var.f(this);
            e0 e0Var = l1VarF.f2505c;
            if (e0Var.f2421l0) {
                if (d1Var.f2367b) {
                    d1Var.J = true;
                } else {
                    e0Var.f2421l0 = false;
                    l1VarF.k();
                }
            }
        }
        this.f2423m0 = z10;
        if (this.f2398a < 5 && !z10) {
            z11 = true;
        }
        this.f2421l0 = z11;
        if (this.f2400b != null) {
            this.mSavedUserVisibleHint = Boolean.valueOf(z10);
        }
    }

    public boolean shouldShowRequestPermissionRationale(@NonNull String str) {
        n0 n0Var = this.W;
        if (n0Var != null) {
            return androidx.core.app.f.d(((i0) n0Var).f2478e, str);
        }
        return false;
    }

    public void startActivity(@NonNull Intent intent) {
        startActivity(intent, null);
    }

    @Deprecated
    public void startActivityForResult(@NonNull Intent intent, int i10) {
        startActivityForResult(intent, i10, null);
    }

    @Deprecated
    public void startIntentSenderForResult(@NonNull IntentSender intentSender, int i10, @Nullable Intent intent, int i11, int i12, int i13, @Nullable Bundle bundle) throws IntentSender.SendIntentException {
        if (this.W == null) {
            throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to Activity"));
        }
        if (Log.isLoggable("FragmentManager", 2)) {
            toString();
            Objects.toString(intentSender);
            Objects.toString(intent);
            Objects.toString(bundle);
        }
        getParentFragmentManager().launchStartIntentSenderForResult(this, intentSender, i10, intent, i11, i12, i13, bundle);
    }

    public void startPostponedEnterTransition() {
        if (this.f2424n0 == null || !A().f2331s) {
            return;
        }
        if (this.W == null) {
            A().f2331s = false;
        } else if (Looper.myLooper() != this.W.f2532c.getLooper()) {
            this.W.f2532c.postAtFrontOfQueue(new w(this, 1));
        } else {
            w(true);
        }
    }

    @NonNull
    public String toString() {
        StringBuilder sb = new StringBuilder(128);
        sb.append(getClass().getSimpleName());
        sb.append("{");
        sb.append(Integer.toHexString(System.identityHashCode(this)));
        sb.append("} (");
        sb.append(this.f2406e);
        if (this.Z != 0) {
            sb.append(" id=0x");
            sb.append(Integer.toHexString(this.Z));
        }
        if (this.f2401b0 != null) {
            sb.append(" tag=");
            sb.append(this.f2401b0);
        }
        sb.append(")");
        return sb.toString();
    }

    public void unregisterForContextMenu(@NonNull View view) {
        view.setOnCreateContextMenuListener(null);
    }

    public final void w(boolean z10) {
        ViewGroup viewGroup;
        d1 d1Var;
        a0 a0Var = this.f2424n0;
        if (a0Var != null) {
            a0Var.f2331s = false;
        }
        if (this.f2419k0 == null || (viewGroup = this.f2417j0) == null || (d1Var = this.V) == null) {
            return;
        }
        h2 h2VarI = h2.i(viewGroup, d1Var);
        h2VarI.j();
        if (z10) {
            this.W.f2532c.post(new l.l(this, h2VarI, 6));
        } else {
            h2VarI.e();
        }
        Handler handler = this.f2425o0;
        if (handler != null) {
            handler.removeCallbacks(this.f2426p0);
            this.f2425o0 = null;
        }
    }

    public k0 z() {
        return new y(this);
    }

    @Nullable
    private e0 getTargetFragment(boolean z10) {
        String str;
        if (z10) {
            j1.a aVar = j1.b.f28545a;
            GetTargetFragmentUsageViolation getTargetFragmentUsageViolation = new GetTargetFragmentUsageViolation(this, "Attempting to get target fragment from fragment " + this);
            j1.b.c(getTargetFragmentUsageViolation);
            j1.a aVarA = j1.b.a(this);
            if (aVarA.f28543a.contains(FragmentStrictMode$Flag.f2590h) && j1.b.e(aVarA, getClass(), GetTargetFragmentUsageViolation.class)) {
                j1.b.b(aVarA, getTargetFragmentUsageViolation);
            }
        }
        e0 e0Var = this.f2410g;
        if (e0Var != null) {
            return e0Var;
        }
        d1 d1Var = this.V;
        if (d1Var == null || (str = this.f2412h) == null) {
            return null;
        }
        return d1Var.findActiveFragment(str);
    }

    @NonNull
    @Deprecated
    public static e0 instantiate(@NonNull Context context, @NonNull String str, @Nullable Bundle bundle) {
        try {
            e0 e0Var = (e0) m0.c(context.getClassLoader(), str).getConstructor(new Class[0]).newInstance(new Object[0]);
            if (bundle != null) {
                bundle.setClassLoader(e0Var.getClass().getClassLoader());
                e0Var.setArguments(bundle);
            }
            return e0Var;
        } catch (IllegalAccessException e10) {
            throw new Fragment$InstantiationException(com.google.android.gms.measurement.internal.u1.k("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e10);
        } catch (InstantiationException e11) {
            throw new Fragment$InstantiationException(com.google.android.gms.measurement.internal.u1.k("Unable to instantiate fragment ", str, ": make sure class name exists, is public, and has an empty constructor that is public"), e11);
        } catch (NoSuchMethodException e12) {
            throw new Fragment$InstantiationException(com.google.android.gms.measurement.internal.u1.k("Unable to instantiate fragment ", str, ": could not find Fragment constructor"), e12);
        } catch (InvocationTargetException e13) {
            throw new Fragment$InstantiationException(com.google.android.gms.measurement.internal.u1.k("Unable to instantiate fragment ", str, ": calling Fragment constructor caused an exception"), e13);
        }
    }

    @NonNull
    public final String getString(@StringRes int i10, @Nullable Object... objArr) {
        return getResources().getString(i10, objArr);
    }

    public void onAttach(Context context) {
        this.f2415i0 = true;
        n0 n0Var = this.W;
        Activity activity = n0Var == null ? null : n0Var.f2530a;
        if (activity != null) {
            this.f2415i0 = false;
            onAttach(activity);
        }
    }

    @CallSuper
    @UiThread
    public void onInflate(@NonNull Context context, @NonNull AttributeSet attributeSet, @Nullable Bundle bundle) {
        this.f2415i0 = true;
        n0 n0Var = this.W;
        Activity activity = n0Var == null ? null : n0Var.f2530a;
        if (activity != null) {
            this.f2415i0 = false;
            onInflate(activity, attributeSet, bundle);
        }
    }

    public final void postponeEnterTransition(long j10, @NonNull TimeUnit timeUnit) {
        A().f2331s = true;
        Handler handler = this.f2425o0;
        w wVar = this.f2426p0;
        if (handler != null) {
            handler.removeCallbacks(wVar);
        }
        d1 d1Var = this.V;
        if (d1Var != null) {
            this.f2425o0 = d1Var.f2388w.f2532c;
        } else {
            this.f2425o0 = new Handler(Looper.getMainLooper());
        }
        this.f2425o0.removeCallbacks(wVar);
        this.f2425o0.postDelayed(wVar, timeUnit.toMillis(j10));
    }

    @NonNull
    @MainThread
    public final <I, O> androidx.activity.result.d registerForActivityResult(@NonNull b.a aVar, @NonNull androidx.activity.result.i iVar, @NonNull androidx.activity.result.c cVar) {
        return H(aVar, new xyz.stream.utils.e0(this, iVar, 1), cVar);
    }

    public void startActivity(@NonNull Intent intent, @Nullable Bundle bundle) {
        n0 n0Var = this.W;
        if (n0Var == null) {
            throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to Activity"));
        }
        n0Var.c(this, intent, -1, bundle);
    }

    @Deprecated
    public void startActivityForResult(@NonNull Intent intent, int i10, @Nullable Bundle bundle) {
        if (this.W == null) {
            throw new IllegalStateException(defpackage.e.g("Fragment ", this, " not attached to Activity"));
        }
        getParentFragmentManager().launchStartActivityForResult(this, intent, i10, bundle);
    }

    @NonNull
    public final LayoutInflater getLayoutInflater() {
        LayoutInflater layoutInflater = this.f2428r0;
        return layoutInflater == null ? performGetLayoutInflater(null) : layoutInflater;
    }
}
