package xyz.stream.api.database;

import androidx.annotation.NonNull;
import androidx.room.n0;
import com.google.android.gms.internal.atv_ads_framework.d1;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import vf.b0;
import vf.d0;
import vf.g0;
import vf.r;
import vf.t;
import vf.w;
import vf.z;

/* JADX INFO: loaded from: classes3.dex */
public final class AppDatabase_Impl extends AppDatabase {
    private volatile vf.a _epgDao;
    private volatile vf.f _episodeDetailDao;
    private volatile vf.j _iptvDao;
    private volatile vf.m _liveDao;
    private volatile r _movieDetailDao;
    private volatile t _myListDao;
    private volatile w _recordDao;
    private volatile z _resourceEntityDao;
    private volatile b0 _seriesDetailDao;
    private volatile d0 _serverDao;
    private volatile g0 _showcaseItemsDao;

    @Override // androidx.room.RoomDatabase
    public void clearAllTables() {
        super.performClear(false, "play_record", "live_history", "live_favorite", "server_entity", "iptv_entity", "epg_entity", "resource_entity", "showcase_items", "movie_detail", "episode_detail", "series_detail", "my_list");
    }

    @Override // androidx.room.RoomDatabase
    @NonNull
    public androidx.room.q createInvalidationTracker() {
        return new androidx.room.q(this, new HashMap(0), new HashMap(0), "play_record", "live_history", "live_favorite", "server_entity", "iptv_entity", "epg_entity", "resource_entity", "showcase_items", "movie_detail", "episode_detail", "series_detail", "my_list");
    }

    @Override // xyz.stream.api.database.AppDatabase
    public w dao() {
        w wVar;
        if (this._recordDao != null) {
            return this._recordDao;
        }
        synchronized (this) {
            try {
                if (this._recordDao == null) {
                    this._recordDao = new vf.i(this, 3);
                }
                wVar = this._recordDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return wVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public vf.a epgDao() {
        vf.a aVar;
        if (this._epgDao != null) {
            return this._epgDao;
        }
        synchronized (this) {
            try {
                if (this._epgDao == null) {
                    v6.j jVar = new v6.j();
                    jVar.f33700a = this;
                    jVar.f33701b = new vf.d(0);
                    jVar.f33704e = new vf.d(1);
                    jVar.f33703d = new vf.e(0);
                    jVar.f33702c = new vf.e(1);
                    this._epgDao = jVar;
                }
                aVar = this._epgDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return aVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public vf.f episodeDao() {
        vf.f fVar;
        if (this._episodeDetailDao != null) {
            return this._episodeDetailDao;
        }
        synchronized (this) {
            try {
                if (this._episodeDetailDao == null) {
                    this._episodeDetailDao = new vf.i(this, 0);
                }
                fVar = this._episodeDetailDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return fVar;
    }

    @Override // androidx.room.RoomDatabase
    @NonNull
    public List<g3.a> getAutoMigrations(@NonNull Map<Class<Object>, Object> map) {
        return new ArrayList();
    }

    @Override // androidx.room.RoomDatabase
    @NonNull
    public Set<Class<Object>> getRequiredAutoMigrationSpecs() {
        return new HashSet();
    }

    @Override // androidx.room.RoomDatabase
    @NonNull
    public Map<Class<?>, List<Class<?>>> getRequiredTypeConverters() {
        HashMap map = new HashMap();
        map.put(w.class, Collections.emptyList());
        map.put(vf.m.class, Collections.emptyList());
        map.put(d0.class, Collections.emptyList());
        map.put(vf.j.class, Collections.emptyList());
        map.put(vf.a.class, Collections.emptyList());
        map.put(r.class, Collections.emptyList());
        map.put(vf.f.class, Collections.emptyList());
        map.put(z.class, Collections.emptyList());
        map.put(g0.class, Collections.emptyList());
        map.put(b0.class, Collections.emptyList());
        map.put(t.class, Collections.emptyList());
        return map;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public vf.j iptvDao() {
        vf.j jVar;
        if (this._iptvDao != null) {
            return this._iptvDao;
        }
        synchronized (this) {
            try {
                if (this._iptvDao == null) {
                    this._iptvDao = new vf.i(this, 1);
                }
                jVar = this._iptvDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return jVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public vf.m liveDao() {
        vf.m mVar;
        if (this._liveDao != null) {
            return this._liveDao;
        }
        synchronized (this) {
            try {
                if (this._liveDao == null) {
                    this._liveDao = new com.bumptech.glide.load.engine.p(this);
                }
                mVar = this._liveDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return mVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public r movieDao() {
        r rVar;
        if (this._movieDetailDao != null) {
            return this._movieDetailDao;
        }
        synchronized (this) {
            try {
                if (this._movieDetailDao == null) {
                    this._movieDetailDao = new vf.i(this, 2);
                }
                rVar = this._movieDetailDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return rVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public t myListDao() {
        t tVar;
        if (this._myListDao != null) {
            return this._myListDao;
        }
        synchronized (this) {
            try {
                if (this._myListDao == null) {
                    this._myListDao = new d1(this, 23);
                }
                tVar = this._myListDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return tVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public z resourceDao() {
        z zVar;
        if (this._resourceEntityDao != null) {
            return this._resourceEntityDao;
        }
        synchronized (this) {
            try {
                if (this._resourceEntityDao == null) {
                    this._resourceEntityDao = new vf.i(this, 4);
                }
                zVar = this._resourceEntityDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return zVar;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public b0 seriesDao() {
        b0 b0Var;
        if (this._seriesDetailDao != null) {
            return this._seriesDetailDao;
        }
        synchronized (this) {
            try {
                if (this._seriesDetailDao == null) {
                    this._seriesDetailDao = new vf.i(this, 5);
                }
                b0Var = this._seriesDetailDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return b0Var;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public d0 serverDao() {
        d0 d0Var;
        if (this._serverDao != null) {
            return this._serverDao;
        }
        synchronized (this) {
            try {
                if (this._serverDao == null) {
                    this._serverDao = new vf.i(this, 6);
                }
                d0Var = this._serverDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return d0Var;
    }

    @Override // xyz.stream.api.database.AppDatabase
    public g0 showcaseDao() {
        g0 g0Var;
        if (this._showcaseItemsDao != null) {
            return this._showcaseItemsDao;
        }
        synchronized (this) {
            try {
                if (this._showcaseItemsDao == null) {
                    this._showcaseItemsDao = new vf.i(this, 7);
                }
                g0Var = this._showcaseItemsDao;
            } catch (Throwable th) {
                throw th;
            }
        }
        return g0Var;
    }

    @Override // androidx.room.RoomDatabase
    @NonNull
    public n0 createOpenDelegate() {
        return new a(this);
    }
}
