// Generated by Dagger (https://dagger.dev).
package co.edu.udistrital.espingsw.huellitaspelitos.di;

import co.edu.udistrital.espingsw.huellitaspelitos.data.datasource.remote.VisitDataSource;
import co.edu.udistrital.espingsw.huellitaspelitos.data.repository.VisitRepository;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class RepositoryModule_VisitRepositoryProviderFactory implements Factory<VisitRepository> {
  private final Provider<VisitDataSource> visitDataSourceProvider;

  public RepositoryModule_VisitRepositoryProviderFactory(
      Provider<VisitDataSource> visitDataSourceProvider) {
    this.visitDataSourceProvider = visitDataSourceProvider;
  }

  @Override
  public VisitRepository get() {
    return visitRepositoryProvider(visitDataSourceProvider.get());
  }

  public static RepositoryModule_VisitRepositoryProviderFactory create(
      Provider<VisitDataSource> visitDataSourceProvider) {
    return new RepositoryModule_VisitRepositoryProviderFactory(visitDataSourceProvider);
  }

  public static VisitRepository visitRepositoryProvider(VisitDataSource visitDataSource) {
    return Preconditions.checkNotNullFromProvides(RepositoryModule.INSTANCE.visitRepositoryProvider(visitDataSource));
  }
}
