2022-07-16 02:16:59 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using osu.Game.Users;
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament
|
|
|
|
{
|
|
|
|
public static class CountryExtensions
|
|
|
|
{
|
2022-07-18 07:40:11 +00:00
|
|
|
public static string GetAcronym(this CountryCode country)
|
2022-07-16 02:16:59 +00:00
|
|
|
{
|
|
|
|
switch (country)
|
|
|
|
{
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BGD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BEL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BFA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BGR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BIH";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BB:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BRB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.WF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "WLF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BLM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BMU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BRN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BOL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BHR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BDI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BJ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BEN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BTN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.JM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "JAM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BV:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BVT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BWA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.WS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "WSM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BQ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BES";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BRA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BHS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.JE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "JEY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BLR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.BZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "BLZ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.RU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "RUS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.RW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "RWA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.RS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SRB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TLS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.RE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "REU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TKM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TJ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TJK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.RO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ROU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TKL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GNB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GUM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GTM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SGS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GRC";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GQ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GNQ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GP:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GLP";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.JP:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "JPN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GUY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GGY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GUF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GEO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GRD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GB:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GBR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GAB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SV:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SLV";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GIN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GMB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GRL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GIB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.GH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "GHA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.OM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "OMN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TUN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.JO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "JOR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.HR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "HRV";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.HT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "HTI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.HU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "HUN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.HK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "HKG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.HN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "HND";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.HM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "HMD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VEN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PRI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PSE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PLW";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PRT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SJ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SJM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PRY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IQ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IRQ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PAN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PYF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PNG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PER";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PAK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PHL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PCN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "POL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.PM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SPM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ZM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ZMB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.EH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ESH";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.EE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "EST";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.EG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "EGY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ZA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ZAF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.EC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ECU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ITA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VNM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SB:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SLB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ET:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ETH";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SOM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ZW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ZWE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SAU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ES:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ESP";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ER:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ERI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ME:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MNE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MDA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MDG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MAF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MAR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MCO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.UZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "UZB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MMR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ML:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MLI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MAC";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MNG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MHL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MKD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MUS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MLT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MWI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MV:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MDV";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MQ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MTQ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MP:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MNP";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MSR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MRT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IMN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.UG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "UGA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TZA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MYS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MX:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MEX";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ISR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.FR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "FRA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IOT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SHN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.FI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "FIN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.FJ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "FJI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.FK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "FLK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.FM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "FSM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.FO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "FRO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NIC";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NLD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NOR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NAM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VUT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NCL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NER";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NFK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NGA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NZL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NP:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NPL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NRU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.NU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "NIU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "COK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.XK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "XKX";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CIV";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CHE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "COL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CHN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CMR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CHL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CCK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CAN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "COG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CAF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "COD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CZE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CYP";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CX:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CXR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CRI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CUW";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CV:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CPV";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.CU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CUB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SWZ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SYR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SX:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SXM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KGZ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KEN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SSD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SUR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KIR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KHM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KNA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "COM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ST:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "STP";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SVK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KOR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SVN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KP:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "PRK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KWT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SEN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SMR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SLE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SYC";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "KAZ";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.KY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "CYM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SGP";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SWE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.SD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "SDN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.DO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "DOM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.DM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "DMA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.DJ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "DJI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.DK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "DNK";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VGB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.DE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "DEU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.YE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "YEM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.DZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "DZA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.US:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "USA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.UY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "URY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.YT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MYT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.UM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "UMI";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LB:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LBN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LCA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LAO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TV:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TUV";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TWN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TTO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TUR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LK:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LKA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LIE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LV:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LVA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TON";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LTU";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LUX";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LBR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LSO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TH:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "THA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ATF";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TGO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TCD";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.TC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "TCA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.LY:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "LBY";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VAT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VC:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VCT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ARE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AD:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AND";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AG:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ATG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AF:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AFG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AIA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.VI:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "VIR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ISL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IRN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AM:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ARM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AL:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ALB";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AO:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AGO";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AQ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ATA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AS:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ASM";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AR:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ARG";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AU:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AUS";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AT:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AUT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AW:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ABW";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IN:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IND";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AX:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "ALA";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.AZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "AZE";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.IE:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IRL";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.ID:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "IDN";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.UA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "UKR";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.QA:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "QAT";
|
|
|
|
|
2022-07-18 07:40:11 +00:00
|
|
|
case CountryCode.MZ:
|
2022-07-16 02:16:59 +00:00
|
|
|
return "MOZ";
|
|
|
|
|
|
|
|
default:
|
|
|
|
throw new ArgumentOutOfRangeException(nameof(country));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|