// 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_af.dart' as messages_af;
import 'messages_am.dart' as messages_am;
import 'messages_ar.dart' as messages_ar;
import 'messages_az_AZ.dart' as messages_az_az;
import 'messages_be.dart' as messages_be;
import 'messages_bg.dart' as messages_bg;
import 'messages_bn_BD.dart' as messages_bn_bd;
import 'messages_ca.dart' as messages_ca;
import 'messages_cs_CZ.dart' as messages_cs_cz;
import 'messages_da_DK.dart' as messages_da_dk;
import 'messages_de_DE.dart' as messages_de_de;
import 'messages_el_GR.dart' as messages_el_gr;
import 'messages_en.dart' as messages_en;
import 'messages_es_419.dart' as messages_es_419;
import 'messages_es_ES.dart' as messages_es_es;
import 'messages_es_US.dart' as messages_es_us;
import 'messages_et.dart' as messages_et;
import 'messages_eu_ES.dart' as messages_eu_es;
import 'messages_fa.dart' as messages_fa;
import 'messages_fi_FI.dart' as messages_fi_fi;
import 'messages_fil.dart' as messages_fil;
import 'messages_fr_CA.dart' as messages_fr_ca;
import 'messages_fr_FR.dart' as messages_fr_fr;
import 'messages_gl_ES.dart' as messages_gl_es;
import 'messages_gu.dart' as messages_gu;
import 'messages_he_IL.dart' as messages_he_il;
import 'messages_hi_IN.dart' as messages_hi_in;
import 'messages_hr.dart' as messages_hr;
import 'messages_hu_HU.dart' as messages_hu_hu;
import 'messages_hy_AM.dart' as messages_hy_am;
import 'messages_id.dart' as messages_id;
import 'messages_is_IS.dart' as messages_is_is;
import 'messages_it_IT.dart' as messages_it_it;
import 'messages_ja_JP.dart' as messages_ja_jp;
import 'messages_ka_GE.dart' as messages_ka_ge;
import 'messages_kk.dart' as messages_kk;
import 'messages_km_KH.dart' as messages_km_kh;
import 'messages_kn_IN.dart' as messages_kn_in;
import 'messages_ko_KR.dart' as messages_ko_kr;
import 'messages_ky_KG.dart' as messages_ky_kg;
import 'messages_lo_LA.dart' as messages_lo_la;
import 'messages_lt.dart' as messages_lt;
import 'messages_lv.dart' as messages_lv;
import 'messages_mk_MK.dart' as messages_mk_mk;
import 'messages_ml_IN.dart' as messages_ml_in;
import 'messages_mn_MN.dart' as messages_mn_mn;
import 'messages_mr_IN.dart' as messages_mr_in;
import 'messages_ms.dart' as messages_ms;
import 'messages_ms_MY.dart' as messages_ms_my;
import 'messages_my_MM.dart' as messages_my_mm;
import 'messages_nb_NO.dart' as messages_nb_no;
import 'messages_ne_NP.dart' as messages_ne_np;
import 'messages_nl_NL.dart' as messages_nl_nl;
import 'messages_pa.dart' as messages_pa;
import 'messages_pl_PL.dart' as messages_pl_pl;
import 'messages_pt_BR.dart' as messages_pt_br;
import 'messages_pt_PT.dart' as messages_pt_pt;
import 'messages_ro.dart' as messages_ro;
import 'messages_ru_RU.dart' as messages_ru_ru;
import 'messages_si_LK.dart' as messages_si_lk;
import 'messages_sk.dart' as messages_sk;
import 'messages_sl.dart' as messages_sl;
import 'messages_sq.dart' as messages_sq;
import 'messages_sr.dart' as messages_sr;
import 'messages_sv_SE.dart' as messages_sv_se;
import 'messages_sw.dart' as messages_sw;
import 'messages_ta_IN.dart' as messages_ta_in;
import 'messages_te_IN.dart' as messages_te_in;
import 'messages_th.dart' as messages_th;
import 'messages_tl.dart' as messages_tl;
import 'messages_tr_TR.dart' as messages_tr_tr;
import 'messages_uk.dart' as messages_uk;
import 'messages_ur.dart' as messages_ur;
import 'messages_vi.dart' as messages_vi;
import 'messages_zh_CN.dart' as messages_zh_cn;
import 'messages_zh_HK.dart' as messages_zh_hk;
import 'messages_zh_TW.dart' as messages_zh_tw;
import 'messages_zu.dart' as messages_zu;

typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
  'af': () => new SynchronousFuture(null),
  'am': () => new SynchronousFuture(null),
  'ar': () => new SynchronousFuture(null),
  'az_AZ': () => new SynchronousFuture(null),
  'be': () => new SynchronousFuture(null),
  'bg': () => new SynchronousFuture(null),
  'bn_BD': () => new SynchronousFuture(null),
  'ca': () => new SynchronousFuture(null),
  'cs_CZ': () => new SynchronousFuture(null),
  'da_DK': () => new SynchronousFuture(null),
  'de_DE': () => new SynchronousFuture(null),
  'el_GR': () => new SynchronousFuture(null),
  'en': () => new SynchronousFuture(null),
  'es_419': () => new SynchronousFuture(null),
  'es_ES': () => new SynchronousFuture(null),
  'es_US': () => new SynchronousFuture(null),
  'et': () => new SynchronousFuture(null),
  'eu_ES': () => new SynchronousFuture(null),
  'fa': () => new SynchronousFuture(null),
  'fi_FI': () => new SynchronousFuture(null),
  'fil': () => new SynchronousFuture(null),
  'fr_CA': () => new SynchronousFuture(null),
  'fr_FR': () => new SynchronousFuture(null),
  'gl_ES': () => new SynchronousFuture(null),
  'gu': () => new SynchronousFuture(null),
  'he_IL': () => new SynchronousFuture(null),
  'hi_IN': () => new SynchronousFuture(null),
  'hr': () => new SynchronousFuture(null),
  'hu_HU': () => new SynchronousFuture(null),
  'hy_AM': () => new SynchronousFuture(null),
  'id': () => new SynchronousFuture(null),
  'is_IS': () => new SynchronousFuture(null),
  'it_IT': () => new SynchronousFuture(null),
  'ja_JP': () => new SynchronousFuture(null),
  'ka_GE': () => new SynchronousFuture(null),
  'kk': () => new SynchronousFuture(null),
  'km_KH': () => new SynchronousFuture(null),
  'kn_IN': () => new SynchronousFuture(null),
  'ko_KR': () => new SynchronousFuture(null),
  'ky_KG': () => new SynchronousFuture(null),
  'lo_LA': () => new SynchronousFuture(null),
  'lt': () => new SynchronousFuture(null),
  'lv': () => new SynchronousFuture(null),
  'mk_MK': () => new SynchronousFuture(null),
  'ml_IN': () => new SynchronousFuture(null),
  'mn_MN': () => new SynchronousFuture(null),
  'mr_IN': () => new SynchronousFuture(null),
  'ms': () => new SynchronousFuture(null),
  'ms_MY': () => new SynchronousFuture(null),
  'my_MM': () => new SynchronousFuture(null),
  'nb_NO': () => new SynchronousFuture(null),
  'ne_NP': () => new SynchronousFuture(null),
  'nl_NL': () => new SynchronousFuture(null),
  'pa': () => new SynchronousFuture(null),
  'pl_PL': () => new SynchronousFuture(null),
  'pt_BR': () => new SynchronousFuture(null),
  'pt_PT': () => new SynchronousFuture(null),
  'ro': () => new SynchronousFuture(null),
  'ru_RU': () => new SynchronousFuture(null),
  'si_LK': () => new SynchronousFuture(null),
  'sk': () => new SynchronousFuture(null),
  'sl': () => new SynchronousFuture(null),
  'sq': () => new SynchronousFuture(null),
  'sr': () => new SynchronousFuture(null),
  'sv_SE': () => new SynchronousFuture(null),
  'sw': () => new SynchronousFuture(null),
  'ta_IN': () => new SynchronousFuture(null),
  'te_IN': () => new SynchronousFuture(null),
  'th': () => new SynchronousFuture(null),
  'tl': () => new SynchronousFuture(null),
  'tr_TR': () => new SynchronousFuture(null),
  'uk': () => new SynchronousFuture(null),
  'ur': () => new SynchronousFuture(null),
  'vi': () => new SynchronousFuture(null),
  'zh_CN': () => new SynchronousFuture(null),
  'zh_HK': () => new SynchronousFuture(null),
  'zh_TW': () => new SynchronousFuture(null),
  'zu': () => new SynchronousFuture(null),
};

MessageLookupByLibrary? _findExact(String localeName) {
  switch (localeName) {
    case 'af':
      return messages_af.messages;
    case 'am':
      return messages_am.messages;
    case 'ar':
      return messages_ar.messages;
    case 'az_AZ':
      return messages_az_az.messages;
    case 'be':
      return messages_be.messages;
    case 'bg':
      return messages_bg.messages;
    case 'bn_BD':
      return messages_bn_bd.messages;
    case 'ca':
      return messages_ca.messages;
    case 'cs_CZ':
      return messages_cs_cz.messages;
    case 'da_DK':
      return messages_da_dk.messages;
    case 'de_DE':
      return messages_de_de.messages;
    case 'el_GR':
      return messages_el_gr.messages;
    case 'en':
      return messages_en.messages;
    case 'es_419':
      return messages_es_419.messages;
    case 'es_ES':
      return messages_es_es.messages;
    case 'es_US':
      return messages_es_us.messages;
    case 'et':
      return messages_et.messages;
    case 'eu_ES':
      return messages_eu_es.messages;
    case 'fa':
      return messages_fa.messages;
    case 'fi_FI':
      return messages_fi_fi.messages;
    case 'fil':
      return messages_fil.messages;
    case 'fr_CA':
      return messages_fr_ca.messages;
    case 'fr_FR':
      return messages_fr_fr.messages;
    case 'gl_ES':
      return messages_gl_es.messages;
    case 'gu':
      return messages_gu.messages;
    case 'he_IL':
      return messages_he_il.messages;
    case 'hi_IN':
      return messages_hi_in.messages;
    case 'hr':
      return messages_hr.messages;
    case 'hu_HU':
      return messages_hu_hu.messages;
    case 'hy_AM':
      return messages_hy_am.messages;
    case 'id':
      return messages_id.messages;
    case 'is_IS':
      return messages_is_is.messages;
    case 'it_IT':
      return messages_it_it.messages;
    case 'ja_JP':
      return messages_ja_jp.messages;
    case 'ka_GE':
      return messages_ka_ge.messages;
    case 'kk':
      return messages_kk.messages;
    case 'km_KH':
      return messages_km_kh.messages;
    case 'kn_IN':
      return messages_kn_in.messages;
    case 'ko_KR':
      return messages_ko_kr.messages;
    case 'ky_KG':
      return messages_ky_kg.messages;
    case 'lo_LA':
      return messages_lo_la.messages;
    case 'lt':
      return messages_lt.messages;
    case 'lv':
      return messages_lv.messages;
    case 'mk_MK':
      return messages_mk_mk.messages;
    case 'ml_IN':
      return messages_ml_in.messages;
    case 'mn_MN':
      return messages_mn_mn.messages;
    case 'mr_IN':
      return messages_mr_in.messages;
    case 'ms':
      return messages_ms.messages;
    case 'ms_MY':
      return messages_ms_my.messages;
    case 'my_MM':
      return messages_my_mm.messages;
    case 'nb_NO':
      return messages_nb_no.messages;
    case 'ne_NP':
      return messages_ne_np.messages;
    case 'nl_NL':
      return messages_nl_nl.messages;
    case 'pa':
      return messages_pa.messages;
    case 'pl_PL':
      return messages_pl_pl.messages;
    case 'pt_BR':
      return messages_pt_br.messages;
    case 'pt_PT':
      return messages_pt_pt.messages;
    case 'ro':
      return messages_ro.messages;
    case 'ru_RU':
      return messages_ru_ru.messages;
    case 'si_LK':
      return messages_si_lk.messages;
    case 'sk':
      return messages_sk.messages;
    case 'sl':
      return messages_sl.messages;
    case 'sq':
      return messages_sq.messages;
    case 'sr':
      return messages_sr.messages;
    case 'sv_SE':
      return messages_sv_se.messages;
    case 'sw':
      return messages_sw.messages;
    case 'ta_IN':
      return messages_ta_in.messages;
    case 'te_IN':
      return messages_te_in.messages;
    case 'th':
      return messages_th.messages;
    case 'tl':
      return messages_tl.messages;
    case 'tr_TR':
      return messages_tr_tr.messages;
    case 'uk':
      return messages_uk.messages;
    case 'ur':
      return messages_ur.messages;
    case 'vi':
      return messages_vi.messages;
    case 'zh_CN':
      return messages_zh_cn.messages;
    case 'zh_HK':
      return messages_zh_hk.messages;
    case 'zh_TW':
      return messages_zh_tw.messages;
    case 'zu':
      return messages_zu.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);
}
