// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'history_view_model.dart';

// **************************************************************************
// RiverpodGenerator
// **************************************************************************

String _$historyItemSelectedHash() =>
    r'e3eaaecca9fcac75ae926ad3b4d4203f95802388';

/// Copied from Dart SDK
class _SystemHash {
  _SystemHash._();

  static int combine(int hash, int value) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + value);
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
    return hash ^ (hash >> 6);
  }

  static int finish(int hash) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
    // ignore: parameter_assignments
    hash = hash ^ (hash >> 11);
    return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
  }
}

///历史记录条目选择状态
///
/// Copied from [historyItemSelected].
@ProviderFor(historyItemSelected)
const historyItemSelectedProvider = HistoryItemSelectedFamily();

///历史记录条目选择状态
///
/// Copied from [historyItemSelected].
class HistoryItemSelectedFamily extends Family<bool> {
  ///历史记录条目选择状态
  ///
  /// Copied from [historyItemSelected].
  const HistoryItemSelectedFamily();

  ///历史记录条目选择状态
  ///
  /// Copied from [historyItemSelected].
  HistoryItemSelectedProvider call(
    String path,
  ) {
    return HistoryItemSelectedProvider(
      path,
    );
  }

  @override
  HistoryItemSelectedProvider getProviderOverride(
    covariant HistoryItemSelectedProvider provider,
  ) {
    return call(
      provider.path,
    );
  }

  static const Iterable<ProviderOrFamily>? _dependencies = null;

  @override
  Iterable<ProviderOrFamily>? get dependencies => _dependencies;

  static const Iterable<ProviderOrFamily>? _allTransitiveDependencies = null;

  @override
  Iterable<ProviderOrFamily>? get allTransitiveDependencies =>
      _allTransitiveDependencies;

  @override
  String? get name => r'historyItemSelectedProvider';
}

///历史记录条目选择状态
///
/// Copied from [historyItemSelected].
class HistoryItemSelectedProvider extends AutoDisposeProvider<bool> {
  ///历史记录条目选择状态
  ///
  /// Copied from [historyItemSelected].
  HistoryItemSelectedProvider(
    String path,
  ) : this._internal(
          (ref) => historyItemSelected(
            ref as HistoryItemSelectedRef,
            path,
          ),
          from: historyItemSelectedProvider,
          name: r'historyItemSelectedProvider',
          debugGetCreateSourceHash:
              const bool.fromEnvironment('dart.vm.product')
                  ? null
                  : _$historyItemSelectedHash,
          dependencies: HistoryItemSelectedFamily._dependencies,
          allTransitiveDependencies:
              HistoryItemSelectedFamily._allTransitiveDependencies,
          path: path,
        );

  HistoryItemSelectedProvider._internal(
    super._createNotifier, {
    required super.name,
    required super.dependencies,
    required super.allTransitiveDependencies,
    required super.debugGetCreateSourceHash,
    required super.from,
    required this.path,
  }) : super.internal();

  final String path;

  @override
  Override overrideWith(
    bool Function(HistoryItemSelectedRef provider) create,
  ) {
    return ProviderOverride(
      origin: this,
      override: HistoryItemSelectedProvider._internal(
        (ref) => create(ref as HistoryItemSelectedRef),
        from: from,
        name: null,
        dependencies: null,
        allTransitiveDependencies: null,
        debugGetCreateSourceHash: null,
        path: path,
      ),
    );
  }

  @override
  AutoDisposeProviderElement<bool> createElement() {
    return _HistoryItemSelectedProviderElement(this);
  }

  @override
  bool operator ==(Object other) {
    return other is HistoryItemSelectedProvider && other.path == path;
  }

  @override
  int get hashCode {
    var hash = _SystemHash.combine(0, runtimeType.hashCode);
    hash = _SystemHash.combine(hash, path.hashCode);

    return _SystemHash.finish(hash);
  }
}

mixin HistoryItemSelectedRef on AutoDisposeProviderRef<bool> {
  /// The parameter `path` of this provider.
  String get path;
}

class _HistoryItemSelectedProviderElement
    extends AutoDisposeProviderElement<bool> with HistoryItemSelectedRef {
  _HistoryItemSelectedProviderElement(super.provider);

  @override
  String get path => (origin as HistoryItemSelectedProvider).path;
}

String _$historySelectedCountHash() =>
    r'1543e6550f1656bee23d1b9f8bebe46782c2493f';

///历史记录选择数量
///
/// Copied from [historySelectedCount].
@ProviderFor(historySelectedCount)
final historySelectedCountProvider = AutoDisposeProvider<int>.internal(
  historySelectedCount,
  name: r'historySelectedCountProvider',
  debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
      ? null
      : _$historySelectedCountHash,
  dependencies: null,
  allTransitiveDependencies: null,
);

typedef HistorySelectedCountRef = AutoDisposeProviderRef<int>;
String _$historyListHash() => r'06fc47638ef14fffaebc2992072f4a4460aceb0f';

///历史记录列表
///
/// Copied from [HistoryList].
@ProviderFor(HistoryList)
final historyListProvider =
    AutoDisposeAsyncNotifierProvider<HistoryList, HistoryListData>.internal(
  HistoryList.new,
  name: r'historyListProvider',
  debugGetCreateSourceHash:
      const bool.fromEnvironment('dart.vm.product') ? null : _$historyListHash,
  dependencies: null,
  allTransitiveDependencies: null,
);

typedef _$HistoryList = AutoDisposeAsyncNotifier<HistoryListData>;
String _$historySelectModeHash() => r'159b62ecc99aca7f2a73e043817715f8a270eb7d';

///历史记录选择模式
///
/// Copied from [HistorySelectMode].
@ProviderFor(HistorySelectMode)
final historySelectModeProvider =
    AutoDisposeNotifierProvider<HistorySelectMode, bool>.internal(
  HistorySelectMode.new,
  name: r'historySelectModeProvider',
  debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
      ? null
      : _$historySelectModeHash,
  dependencies: null,
  allTransitiveDependencies: null,
);

typedef _$HistorySelectMode = AutoDisposeNotifier<bool>;
String _$historyViewTypeHash() => r'05ddf9afbd44ab178830013b1a37df7e225bc376';

///历史记录查看类型
///
/// Copied from [HistoryViewType].
@ProviderFor(HistoryViewType)
final historyViewTypeProvider =
    AutoDisposeNotifierProvider<HistoryViewType, int>.internal(
  HistoryViewType.new,
  name: r'historyViewTypeProvider',
  debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
      ? null
      : _$historyViewTypeHash,
  dependencies: null,
  allTransitiveDependencies: null,
);

typedef _$HistoryViewType = AutoDisposeNotifier<int>;
// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member
