<?php // phpcs:ignore - @generation-checksum US-66-19821
/**
 * Country Class for United States (US).
 *
 * State/province count: 66
 * City count: 19821
 * City count per state/province:
 * - TX: 1277 cities
 * - CA: 1123 cities
 * - PA: 1054 cities
 * - NY: 1054 cities
 * - IL: 855 cities
 * - FL: 845 cities
 * - OH: 756 cities
 * - NC: 554 cities
 * - NJ: 551 cities
 * - GA: 534 cities
 * - MI: 526 cities
 * - MO: 510 cities
 * - VA: 503 cities
 * - WI: 492 cities
 * - MN: 460 cities
 * - IN: 434 cities
 * - WA: 433 cities
 * - MA: 405 cities
 * - KY: 388 cities
 * - TN: 386 cities
 * - IA: 383 cities
 * - AL: 378 cities
 * - MD: 364 cities
 * - LA: 344 cities
 * - OK: 320 cities
 * - KS: 319 cities
 * - MS: 295 cities
 * - CO: 289 cities
 * - AR: 287 cities
 * - SC: 283 cities
 * - ME: 271 cities
 * - PR: 255 cities
 * - OR: 255 cities
 * - NE: 238 cities
 * - AZ: 227 cities
 * - WV: 217 cities
 * - UT: 207 cities
 * - CT: 191 cities
 * - NH: 186 cities
 * - NM: 182 cities
 * - SD: 167 cities
 * - MT: 161 cities
 * - ID: 142 cities
 * - ND: 133 cities
 * - HI: 121 cities
 * - VT: 96 cities
 * - AK: 95 cities
 * - NV: 82 cities
 * - WY: 80 cities
 * - RI: 54 cities
 * - DE: 54 cities
 * - DC: 5 cities
 *
 * @package WP_Ultimo\Country
 * @since 2.0.11
 */

namespace WP_Ultimo\Country;

// Exit if accessed directly
defined('ABSPATH') || exit;

/**
 * Country Class for United States (US).
 *
 * IMPORTANT:
 * This file is generated by build scripts, do not
 * change it directly or your changes will be LOST!
 *
 * @since 2.0.11
 *
 * @property-read string $code
 * @property-read string $currency
 * @property-read int $phone_code
 */
class Country_US extends Country {

	use \WP_Ultimo\Traits\Singleton;

	/**
	 * General country attributes.
	 *
	 * This might be useful, might be not.
	 * In case of doubt, keep it.
	 *
	 * @since 2.0.11
	 * @var array
	 */
	protected $attributes = [
		'country_code' => 'US',
		'currency'     => 'USD',
		'phone_code'   => 1,
	];

	/**
	 * The type of nomenclature used to refer to the country sub-divisions.
	 *
	 * @since 2.0.11
	 * @var string
	 */
	protected $state_type = 'state';

	/**
	 * Return the country name.
	 *
	 * @since 2.0.11
	 * @return string
	 */
	public function get_name() {

		return __('United States', 'wp-multisite-waas');
	}

	/**
	 * Returns the list of states for US.
	 *
	 * @since 2.0.11
	 * @return array The list of state/provinces for the country.
	 */
	protected function states() {

		return [
			'AL'    => __('Alabama', 'wp-multisite-waas'),
			'AK'    => __('Alaska', 'wp-multisite-waas'),
			'AS'    => __('American Samoa', 'wp-multisite-waas'),
			'AZ'    => __('Arizona', 'wp-multisite-waas'),
			'AR'    => __('Arkansas', 'wp-multisite-waas'),
			'UM-81' => __('Baker Island', 'wp-multisite-waas'),
			'CA'    => __('California', 'wp-multisite-waas'),
			'CO'    => __('Colorado', 'wp-multisite-waas'),
			'CT'    => __('Connecticut', 'wp-multisite-waas'),
			'DE'    => __('Delaware', 'wp-multisite-waas'),
			'DC'    => __('District of Columbia', 'wp-multisite-waas'),
			'FL'    => __('Florida', 'wp-multisite-waas'),
			'GA'    => __('Georgia', 'wp-multisite-waas'),
			'GU'    => __('Guam', 'wp-multisite-waas'),
			'HI'    => __('Hawaii', 'wp-multisite-waas'),
			'UM-84' => __('Howland Island', 'wp-multisite-waas'),
			'ID'    => __('Idaho', 'wp-multisite-waas'),
			'IL'    => __('Illinois', 'wp-multisite-waas'),
			'IN'    => __('Indiana', 'wp-multisite-waas'),
			'IA'    => __('Iowa', 'wp-multisite-waas'),
			'UM-86' => __('Jarvis Island', 'wp-multisite-waas'),
			'UM-67' => __('Johnston Atoll', 'wp-multisite-waas'),
			'KS'    => __('Kansas', 'wp-multisite-waas'),
			'KY'    => __('Kentucky', 'wp-multisite-waas'),
			'UM-89' => __('Kingman Reef', 'wp-multisite-waas'),
			'LA'    => __('Louisiana', 'wp-multisite-waas'),
			'ME'    => __('Maine', 'wp-multisite-waas'),
			'MD'    => __('Maryland', 'wp-multisite-waas'),
			'MA'    => __('Massachusetts', 'wp-multisite-waas'),
			'MI'    => __('Michigan', 'wp-multisite-waas'),
			'UM-71' => __('Midway Atoll', 'wp-multisite-waas'),
			'MN'    => __('Minnesota', 'wp-multisite-waas'),
			'MS'    => __('Mississippi', 'wp-multisite-waas'),
			'MO'    => __('Missouri', 'wp-multisite-waas'),
			'MT'    => __('Montana', 'wp-multisite-waas'),
			'UM-76' => __('Navassa Island', 'wp-multisite-waas'),
			'NE'    => __('Nebraska', 'wp-multisite-waas'),
			'NV'    => __('Nevada', 'wp-multisite-waas'),
			'NH'    => __('New Hampshire', 'wp-multisite-waas'),
			'NJ'    => __('New Jersey', 'wp-multisite-waas'),
			'NM'    => __('New Mexico', 'wp-multisite-waas'),
			'NY'    => __('New York', 'wp-multisite-waas'),
			'NC'    => __('North Carolina', 'wp-multisite-waas'),
			'ND'    => __('North Dakota', 'wp-multisite-waas'),
			'MP'    => __('Northern Mariana Islands', 'wp-multisite-waas'),
			'OH'    => __('Ohio', 'wp-multisite-waas'),
			'OK'    => __('Oklahoma', 'wp-multisite-waas'),
			'OR'    => __('Oregon', 'wp-multisite-waas'),
			'UM-95' => __('Palmyra Atoll', 'wp-multisite-waas'),
			'PA'    => __('Pennsylvania', 'wp-multisite-waas'),
			'PR'    => __('Puerto Rico', 'wp-multisite-waas'),
			'RI'    => __('Rhode Island', 'wp-multisite-waas'),
			'SC'    => __('South Carolina', 'wp-multisite-waas'),
			'SD'    => __('South Dakota', 'wp-multisite-waas'),
			'TN'    => __('Tennessee', 'wp-multisite-waas'),
			'TX'    => __('Texas', 'wp-multisite-waas'),
			'UM'    => __('United States Minor Outlying Islands', 'wp-multisite-waas'),
			'VI'    => __('United States Virgin Islands', 'wp-multisite-waas'),
			'UT'    => __('Utah', 'wp-multisite-waas'),
			'VT'    => __('Vermont', 'wp-multisite-waas'),
			'VA'    => __('Virginia', 'wp-multisite-waas'),
			'UM-79' => __('Wake Island', 'wp-multisite-waas'),
			'WA'    => __('Washington', 'wp-multisite-waas'),
			'WV'    => __('West Virginia', 'wp-multisite-waas'),
			'WI'    => __('Wisconsin', 'wp-multisite-waas'),
			'WY'    => __('Wyoming', 'wp-multisite-waas'),
		];
	}
}
