package org.zaine.management.di;

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.Provider;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.annotation.processing.Generated;
import okhttp3.OkHttpClient;
import org.zaine.management.data.api.ApiFactory;

@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava",
    "cast",
    "deprecation",
    "nullness:initialization.field.uninitialized"
})
public final class NetworkModule_ProvideApiFactoryFactory implements Factory<ApiFactory> {
  private final Provider<OkHttpClient> clientProvider;

  private NetworkModule_ProvideApiFactoryFactory(Provider<OkHttpClient> clientProvider) {
    this.clientProvider = clientProvider;
  }

  @Override
  public ApiFactory get() {
    return provideApiFactory(clientProvider.get());
  }

  public static NetworkModule_ProvideApiFactoryFactory create(
      Provider<OkHttpClient> clientProvider) {
    return new NetworkModule_ProvideApiFactoryFactory(clientProvider);
  }

  public static ApiFactory provideApiFactory(OkHttpClient client) {
    return Preconditions.checkNotNullFromProvides(NetworkModule.INSTANCE.provideApiFactory(client));
  }
}
