<?php

namespace SugarCalendarBookings\Support\Data;

/**
 * Countries class.
 *
 * @since 1.0.0
 */
class Countries {

	/**
	 * Get the list of available countries.
	 *
	 * @since 1.0.0
	 *
	 * @return array $countries A list of the available countries.
	 */
	public static function get_all() {

		$countries = [
			'AF' => esc_html__( 'Afghanistan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AX' => esc_html__( 'Åland Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AL' => esc_html__( 'Albania', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'DZ' => esc_html__( 'Algeria', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AS' => esc_html__( 'American Samoa', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AD' => esc_html__( 'Andorra', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AO' => esc_html__( 'Angola', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AI' => esc_html__( 'Anguilla', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AQ' => esc_html__( 'Antarctica', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AG' => esc_html__( 'Antigua and Barbuda', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AR' => esc_html__( 'Argentina', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AM' => esc_html__( 'Armenia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AW' => esc_html__( 'Aruba', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AU' => esc_html__( 'Australia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AT' => esc_html__( 'Austria', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AZ' => esc_html__( 'Azerbaijan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BS' => esc_html__( 'Bahamas', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BH' => esc_html__( 'Bahrain', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BD' => esc_html__( 'Bangladesh', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BB' => esc_html__( 'Barbados', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BY' => esc_html__( 'Belarus', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BE' => esc_html__( 'Belgium', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BZ' => esc_html__( 'Belize', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BJ' => esc_html__( 'Benin', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BM' => esc_html__( 'Bermuda', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BT' => esc_html__( 'Bhutan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BO' => esc_html__( 'Bolivia (Plurinational State of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BQ' => esc_html__( 'Bonaire, Saint Eustatius and Saba', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BA' => esc_html__( 'Bosnia and Herzegovina', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BW' => esc_html__( 'Botswana', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BV' => esc_html__( 'Bouvet Island', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BR' => esc_html__( 'Brazil', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IO' => esc_html__( 'British Indian Ocean Territory', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BN' => esc_html__( 'Brunei Darussalam', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BG' => esc_html__( 'Bulgaria', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BF' => esc_html__( 'Burkina Faso', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BI' => esc_html__( 'Burundi', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CV' => esc_html__( 'Cabo Verde', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KH' => esc_html__( 'Cambodia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CM' => esc_html__( 'Cameroon', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CA' => esc_html__( 'Canada', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KY' => esc_html__( 'Cayman Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CF' => esc_html__( 'Central African Republic', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TD' => esc_html__( 'Chad', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CL' => esc_html__( 'Chile', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CN' => esc_html__( 'China', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CX' => esc_html__( 'Christmas Island', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CC' => esc_html__( 'Cocos (Keeling) Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CO' => esc_html__( 'Colombia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KM' => esc_html__( 'Comoros', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CG' => esc_html__( 'Congo', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CD' => esc_html__( 'Congo (Democratic Republic of the)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CK' => esc_html__( 'Cook Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CR' => esc_html__( 'Costa Rica', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CI' => esc_html__( 'Côte d\'Ivoire', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'HR' => esc_html__( 'Croatia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CU' => esc_html__( 'Cuba', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CW' => esc_html__( 'Curaçao', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CY' => esc_html__( 'Cyprus', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CZ' => esc_html__( 'Czech Republic', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'DK' => esc_html__( 'Denmark', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'DJ' => esc_html__( 'Djibouti', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'DM' => esc_html__( 'Dominica', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'DO' => esc_html__( 'Dominican Republic', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'EC' => esc_html__( 'Ecuador', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'EG' => esc_html__( 'Egypt', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SV' => esc_html__( 'El Salvador', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GQ' => esc_html__( 'Equatorial Guinea', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ER' => esc_html__( 'Eritrea', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'EE' => esc_html__( 'Estonia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ET' => esc_html__( 'Ethiopia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'FK' => esc_html__( 'Falkland Islands (Malvinas)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'FO' => esc_html__( 'Faroe Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'FJ' => esc_html__( 'Fiji', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'FI' => esc_html__( 'Finland', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'FR' => esc_html__( 'France', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GF' => esc_html__( 'French Guiana', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PF' => esc_html__( 'French Polynesia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TF' => esc_html__( 'French Southern Territories', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GA' => esc_html__( 'Gabon', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GM' => esc_html__( 'Gambia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GE' => esc_html_x( 'Georgia', 'Country', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'DE' => esc_html__( 'Germany', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GH' => esc_html__( 'Ghana', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GI' => esc_html__( 'Gibraltar', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GR' => esc_html__( 'Greece', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GL' => esc_html__( 'Greenland', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GD' => esc_html__( 'Grenada', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GP' => esc_html__( 'Guadeloupe', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GU' => esc_html__( 'Guam', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GT' => esc_html__( 'Guatemala', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GG' => esc_html__( 'Guernsey', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GN' => esc_html__( 'Guinea', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GW' => esc_html__( 'Guinea-Bissau', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GY' => esc_html__( 'Guyana', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'HT' => esc_html__( 'Haiti', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'HM' => esc_html__( 'Heard Island and McDonald Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'HN' => esc_html__( 'Honduras', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'HK' => esc_html__( 'Hong Kong', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'HU' => esc_html__( 'Hungary', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IS' => esc_html__( 'Iceland', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IN' => esc_html__( 'India', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ID' => esc_html__( 'Indonesia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IR' => esc_html__( 'Iran (Islamic Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IQ' => esc_html__( 'Iraq', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IE' => esc_html__( 'Ireland (Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IM' => esc_html__( 'Isle of Man', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IL' => esc_html__( 'Israel', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'IT' => esc_html__( 'Italy', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'JM' => esc_html__( 'Jamaica', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'JP' => esc_html__( 'Japan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'JE' => esc_html__( 'Jersey', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'JO' => esc_html__( 'Jordan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KZ' => esc_html__( 'Kazakhstan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KE' => esc_html__( 'Kenya', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KI' => esc_html__( 'Kiribati', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KP' => esc_html__( 'Korea (Democratic People\'s Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KR' => esc_html__( 'Korea (Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'XK' => esc_html__( 'Kosovo', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KW' => esc_html__( 'Kuwait', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KG' => esc_html__( 'Kyrgyzstan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LA' => esc_html__( 'Lao People\'s Democratic Republic', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LV' => esc_html__( 'Latvia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LB' => esc_html__( 'Lebanon', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LS' => esc_html__( 'Lesotho', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LR' => esc_html__( 'Liberia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LY' => esc_html__( 'Libya', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LI' => esc_html__( 'Liechtenstein', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LT' => esc_html__( 'Lithuania', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LU' => esc_html__( 'Luxembourg', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MO' => esc_html__( 'Macao', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MK' => esc_html__( 'North Macedonia (Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MG' => esc_html__( 'Madagascar', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MW' => esc_html__( 'Malawi', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MY' => esc_html__( 'Malaysia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MV' => esc_html__( 'Maldives', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ML' => esc_html__( 'Mali', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MT' => esc_html__( 'Malta', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MH' => esc_html__( 'Marshall Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MQ' => esc_html__( 'Martinique', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MR' => esc_html__( 'Mauritania', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MU' => esc_html__( 'Mauritius', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'YT' => esc_html__( 'Mayotte', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MX' => esc_html__( 'Mexico', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'FM' => esc_html__( 'Micronesia (Federated States of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MD' => esc_html__( 'Moldova (Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MC' => esc_html__( 'Monaco', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MN' => esc_html__( 'Mongolia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ME' => esc_html__( 'Montenegro', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MS' => esc_html__( 'Montserrat', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MA' => esc_html__( 'Morocco', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MZ' => esc_html__( 'Mozambique', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MM' => esc_html__( 'Myanmar', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NA' => esc_html__( 'Namibia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NR' => esc_html__( 'Nauru', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NP' => esc_html__( 'Nepal', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NL' => esc_html__( 'Netherlands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NC' => esc_html__( 'New Caledonia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NZ' => esc_html__( 'New Zealand', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NI' => esc_html__( 'Nicaragua', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NE' => esc_html__( 'Niger', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NG' => esc_html__( 'Nigeria', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NU' => esc_html__( 'Niue', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NF' => esc_html__( 'Norfolk Island', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MP' => esc_html__( 'Northern Mariana Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'NO' => esc_html__( 'Norway', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'OM' => esc_html__( 'Oman', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PK' => esc_html__( 'Pakistan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PW' => esc_html__( 'Palau', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PS' => esc_html__( 'Palestine (State of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PA' => esc_html__( 'Panama', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PG' => esc_html__( 'Papua New Guinea', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PY' => esc_html__( 'Paraguay', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PE' => esc_html__( 'Peru', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PH' => esc_html__( 'Philippines', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PN' => esc_html__( 'Pitcairn', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PL' => esc_html__( 'Poland', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PT' => esc_html__( 'Portugal', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PR' => esc_html__( 'Puerto Rico', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'QA' => esc_html__( 'Qatar', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'RE' => esc_html__( 'Réunion', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'RO' => esc_html__( 'Romania', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'RU' => esc_html__( 'Russian Federation', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'RW' => esc_html__( 'Rwanda', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'BL' => esc_html__( 'Saint Barthélemy', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SH' => esc_html__( 'Saint Helena, Ascension and Tristan da Cunha', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'KN' => esc_html__( 'Saint Kitts and Nevis', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LC' => esc_html__( 'Saint Lucia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'MF' => esc_html__( 'Saint Martin (French part)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'PM' => esc_html__( 'Saint Pierre and Miquelon', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VC' => esc_html__( 'Saint Vincent and the Grenadines', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'WS' => esc_html__( 'Samoa', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SM' => esc_html__( 'San Marino', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ST' => esc_html__( 'Sao Tome and Principe', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SA' => esc_html__( 'Saudi Arabia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SN' => esc_html__( 'Senegal', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'RS' => esc_html__( 'Serbia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SC' => esc_html__( 'Seychelles', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SL' => esc_html__( 'Sierra Leone', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SG' => esc_html__( 'Singapore', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SX' => esc_html__( 'Sint Maarten (Dutch part)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SK' => esc_html__( 'Slovakia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SI' => esc_html__( 'Slovenia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SB' => esc_html__( 'Solomon Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SO' => esc_html__( 'Somalia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ZA' => esc_html__( 'South Africa', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GS' => esc_html__( 'South Georgia and the South Sandwich Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SS' => esc_html__( 'South Sudan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ES' => esc_html__( 'Spain', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'LK' => esc_html__( 'Sri Lanka', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SD' => esc_html__( 'Sudan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SR' => esc_html__( 'Suriname', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SJ' => esc_html__( 'Svalbard and Jan Mayen', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SZ' => esc_html__( 'Eswatini (Kingdom of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SE' => esc_html__( 'Sweden', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'CH' => esc_html__( 'Switzerland', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'SY' => esc_html__( 'Syrian Arab Republic', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TW' => esc_html__( 'Taiwan, Republic of China', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TJ' => esc_html__( 'Tajikistan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TZ' => esc_html__( 'Tanzania (United Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TH' => esc_html__( 'Thailand', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TL' => esc_html__( 'Timor-Leste', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TG' => esc_html__( 'Togo', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TK' => esc_html__( 'Tokelau', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TO' => esc_html__( 'Tonga', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TT' => esc_html__( 'Trinidad and Tobago', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TN' => esc_html__( 'Tunisia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TR' => esc_html__( 'Türkiye', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TM' => esc_html__( 'Turkmenistan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TC' => esc_html__( 'Turks and Caicos Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'TV' => esc_html__( 'Tuvalu', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'UG' => esc_html__( 'Uganda', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'UA' => esc_html__( 'Ukraine', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'AE' => esc_html__( 'United Arab Emirates', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'GB' => esc_html__( 'United Kingdom of Great Britain and Northern Ireland', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'US' => esc_html__( 'United States of America', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'UM' => esc_html__( 'United States Minor Outlying Islands', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'UY' => esc_html__( 'Uruguay', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'UZ' => esc_html__( 'Uzbekistan', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VU' => esc_html__( 'Vanuatu', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VA' => esc_html__( 'Vatican City State', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VE' => esc_html__( 'Venezuela (Bolivarian Republic of)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VN' => esc_html__( 'Vietnam', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VG' => esc_html__( 'Virgin Islands (British)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'VI' => esc_html__( 'Virgin Islands (U.S.)', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'WF' => esc_html__( 'Wallis and Futuna', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'EH' => esc_html__( 'Western Sahara', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'YE' => esc_html__( 'Yemen', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ZM' => esc_html__( 'Zambia', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
			'ZW' => esc_html__( 'Zimbabwe', 'sugar-calendar-bookings-scheduling-appointments-lite' ),
		];

		/**
		 * Filter the list of available countries.
		 *
		 * @since 1.0.0
		 *
		 * @param array $countries A list of the available countries.
		 */
		return apply_filters( 'sugar_calendar_bookings_countries', $countries ); // phpcs:ignore WPForms.PHP.ValidateHooks.InvalidHookName
	}

	/**
	 * Get the country code by locale.
	 *
	 * TODO: Maybe add a country setting instead of guessing it from the locale.
	 *
	 * @since 1.0.0
	 *
	 * @param string $locale The locale to get the country code for.
	 *
	 * @return string
	 */
	public static function get_by_locale( $locale ) {

		$map = [
			'af'  => 'ZA',
			'am'  => 'ET',
			'arg' => 'ES',
			'ar'  => 'SA',
			'ary' => 'MA',
			'as'  => 'IN',
			'azb' => 'IR',
			'az'  => 'AZ',
			'bel' => 'BY',
			'bo'  => 'CN',
			'ca'  => 'ES',
			'ceb' => 'PH',
			'cy'  => 'GB',
			'dsb' => 'DE',
			'dzo' => 'BT',
			'el'  => 'GR',
			'eo'  => 'UN',
			'et'  => 'EE',
			'eu'  => 'ES',
			'fi'  => 'FI',
			'fur' => 'IT',
			'fy'  => 'NL',
			'gd'  => 'GB',
			'gu'  => 'IN',
			'haz' => 'AF',
			'hr'  => 'HR',
			'hsb' => 'DE',
			'hy'  => 'AM',
			'ja'  => 'JP',
			'kab' => 'DZ',
			'kk'  => 'KZ',
			'km'  => 'KH',
			'kn'  => 'IN',
			'ckb' => 'IQ',
			'kir' => 'KG',
			'lo'  => 'LA',
			'lv'  => 'LV',
			'mn'  => 'MN',
			'mr'  => 'IN',
			'oci' => 'FR',
			'ps'  => 'AF',
			'rhg' => 'MM',
			'sah' => 'RU',
			'snd' => 'PK',
			'skr' => 'PK',
			'sq'  => 'AL',
			'sw'  => 'TZ',
			'szl' => 'PL',
			'te'  => 'IN',
			'th'  => 'TH',
			'tl'  => 'PH',
			'tah' => 'PF',
			'uk'  => 'UA',
			'ur'  => 'PK',
			'vi'  => 'VN',
		];

		if ( isset( $map[ $locale ] ) ) {
			return $map[ $locale ];
		}

		$parts        = explode( '_', $locale );
		$country_code = isset( $parts[1] ) ? strtoupper( $parts[1] ) : '';

		return $country_code;
	}
}
