content: // DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
  // This is a library that looks up messages for specific locales by
  // delegating to the appropriate library.
  
  // Ignore issues from commonly used lints in this file.
  // ignore_for_file:implementation_imports, file_names, unnecessary_new
  // ignore_for_file:unnecessary_brace_in_string_interps, directives_ordering
  // ignore_for_file:argument_type_not_assignable, invalid_assignment
  // ignore_for_file:prefer_single_quotes, prefer_generic_function_type_aliases
  // ignore_for_file:comment_references
  
  import 'dart:async';
  
  import 'package:flutter/foundation.dart';
  import 'package:intl/intl.dart';
  import 'package:intl/message_lookup_by_library.dart';
  import 'package:intl/src/intl_helpers.dart';
  
  import 'messages_ar.dart' as messages_ar;
  import 'messages_bn.dart' as messages_bn;
  import 'messages_de.dart' as messages_de;
  import 'messages_en.dart' as messages_en;
  import 'messages_es.dart' as messages_es;
  import 'messages_fi.dart' as messages_fi;
  import 'messages_fr.dart' as messages_fr;
  import 'messages_gu.dart' as messages_gu;
  import 'messages_he.dart' as messages_he;
  import 'messages_hi.dart' as messages_hi;
  import 'messages_id.dart' as messages_id;
  import 'messages_kn.dart' as messages_kn;
  import 'messages_ko.dart' as messages_ko;
  import 'messages_ne.dart' as messages_ne;
  import 'messages_pa.dart' as messages_pa;
  import 'messages_pl.dart' as messages_pl;
  import 'messages_pt.dart' as messages_pt;
  import 'messages_ru.dart' as messages_ru;
  import 'messages_sk.dart' as messages_sk;
  import 'messages_sw.dart' as messages_sw;
  import 'messages_te.dart' as messages_te;
  import 'messages_tr.dart' as messages_tr;
  import 'messages_zh.dart' as messages_zh;
  
  typedef Future<dynamic> LibraryLoader();
  Map<String, LibraryLoader> _deferredLibraries = {
    'ar': () => new SynchronousFuture(null),
    'bn': () => new SynchronousFuture(null),
    'de': () => new SynchronousFuture(null),
    'en': () => new SynchronousFuture(null),
    'es': () => new SynchronousFuture(null),
    'fi': () => new SynchronousFuture(null),
    'fr': () => new SynchronousFuture(null),
    'gu': () => new SynchronousFuture(null),
    'he': () => new SynchronousFuture(null),
    'hi': () => new SynchronousFuture(null),
    'id': () => new SynchronousFuture(null),
    'kn': () => new SynchronousFuture(null),
    'ko': () => new SynchronousFuture(null),
    'ne': () => new SynchronousFuture(null),
    'pa': () => new SynchronousFuture(null),
    'pl': () => new SynchronousFuture(null),
    'pt': () => new SynchronousFuture(null),
    'ru': () => new SynchronousFuture(null),
    'sk': () => new SynchronousFuture(null),
    'sw': () => new SynchronousFuture(null),
    'te': () => new SynchronousFuture(null),
    'tr': () => new SynchronousFuture(null),
    'zh': () => new SynchronousFuture(null),
  };
  
  MessageLookupByLibrary? _findExact(String localeName) {
    switch (localeName) {
      case 'ar':
        return messages_ar.messages;
      case 'bn':
        return messages_bn.messages;
      case 'de':
        return messages_de.messages;
      case 'en':
        return messages_en.messages;
      case 'es':
        return messages_es.messages;
      case 'fi':
        return messages_fi.messages;
      case 'fr':
        return messages_fr.messages;
      case 'gu':
        return messages_gu.messages;
      case 'he':
        return messages_he.messages;
      case 'hi':
        return messages_hi.messages;
      case 'id':
        return messages_id.messages;
      case 'kn':
        return messages_kn.messages;
      case 'ko':
        return messages_ko.messages;
      case 'ne':
        return messages_ne.messages;
      case 'pa':
        return messages_pa.messages;
      case 'pl':
        return messages_pl.messages;
      case 'pt':
        return messages_pt.messages;
      case 'ru':
        return messages_ru.messages;
      case 'sk':
        return messages_sk.messages;
      case 'sw':
        return messages_sw.messages;
      case 'te':
        return messages_te.messages;
      case 'tr':
        return messages_tr.messages;
      case 'zh':
        return messages_zh.messages;
      default:
        return null;
    }
  }
  
  /// User programs should call this before using [localeName] for messages.
  Future<bool> initializeMessages(String localeName) {
    var availableLocale = Intl.verifiedLocale(
        localeName, (locale) => _deferredLibraries[locale] != null,
        onFailure: (_) => null);
    if (availableLocale == null) {
      return new SynchronousFuture(false);
    }
    var lib = _deferredLibraries[availableLocale];
    lib == null ? new SynchronousFuture(false) : lib();
    initializeInternalMessageLookup(() => new CompositeMessageLookup());
    messageLookup.addLocale(availableLocale, _findGeneratedMessagesFor);
    return new SynchronousFuture(true);
  }
  
  bool _messagesExistFor(String locale) {
    try {
      return _findExact(locale) != null;
    } catch (e) {
      return false;
    }
  }
  
  MessageLookupByLibrary? _findGeneratedMessagesFor(String locale) {
    var actualLocale =
        Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
    if (actualLocale == null) return null;
    return _findExact(actualLocale);
  }
  