use utf8;
use strict;
use warnings;
use Shiar_Sheet::KeyboardChars 'kbchars';

my %rows = (
	'A' => 'Å',
	'a' => 'å',
	'B' => 'ı',
	'b' => '∫',
	'C' => 'Ç',
	'c' => 'ç',
	'D' => 'Î',
	'd' => '∂',
	'E' => "\N{ACUTE ACCENT}",
	'e' => "\N{COMBINING ACUTE ACCENT}",
	'f' => 'ƒ',
	'F' => 'Ï',
	'G' => "\N{DOUBLE ACUTE ACCENT}",
	'g' => '©',
	'H' => 'Ó',
	'h' => "\N{DOT ABOVE}",
	'I' => "\N{MODIFIER LETTER CIRCUMFLEX ACCENT}",
	'i' => "\N{COMBINING CIRCUMFLEX ACCENT}",
	'J' => 'Ô',
	'j' => '∆',
	'K' => '',
	'k' => '°',
	'L' => 'Ò',
	'l' => '¬',
	'M' => 'Â',
	'm' => 'µ',
	'N' => "\N{SMALL TILDE}",
	'n' => "\N{COMBINING TILDE}",
	'O' => 'Ø',
	'o' => 'ø',
	'P' => '∏',
	'p' => 'π',
	'Q' => 'Œ',
	'q' => 'œ',
	'R' => '‰',
	'r' => '®',
	'S' => 'Í',
	's' => 'ß',
	'T' => "\N{CARON}",
	't' => '†',
	'U' => "\N{DIAERESIS}",
	'u' => "\N{COMBINING DIAERESIS}",
	'V' => '◊',
	'v' => '√',
	'W' => '„',
	'w' => '∑',
	'X' => "\N{OGONEK}",
	'x' => '≈',
	'Y' => 'Á',
	'y' => '¥',
	'Z' => "\N{CEDILLA}",
	'z' => 'Ω',
	'[' => "\N{LEFT DOUBLE QUOTATION MARK}",
	'{' => "\N{RIGHT DOUBLE QUOTATION MARK}",
	']' => "\N{LEFT SINGLE QUOTATION MARK}",
	'}' => "\N{RIGHT SINGLE QUOTATION MARK}",
	':' => 'Ú',
	';' => '…',
	'"' => 'Æ',
	"'" => 'æ',
	'|' => '»',
	'\\'=> '«',
	'<' => "\N{MACRON}",
	',' => '≤',
	'>' => "\N{BREVE}",
	'.' => '≥',
	'/' => '÷',
	'?' => '¿',
	'~' => "\N{GRAVE ACCENT}",
	'`' => "\N{COMBINING GRAVE ACCENT}",
	'1' => '¡',
	'!' => '⁄',
	'2' => '™',
	'@' => '€',
	'3' => '£',
	'#' => '‹',
	'4' => '¢',
	'$' => '›',
	'5' => '∞',
	'%' => 'ﬁ',
	'6' => '§',
	'^' => 'ﬂ',
	'7' => '¶',
	'&' => '‡',
	'8' => '•',
	'*' => '°',
	'9' => 'ª',
	'(' => '·',
	'0' => 'º',
	')' => '‚',
	'-' => '–',
	'_' => '—',
	'+' => '±',
	'=' => '≠',
);

+{
	%{ kbchars(\%rows) },
	version => '1.3',
	title => 'US option',
	category => '2/latin/macos',
	intro => join("\n",
		'Resulting <a href="/unicode">selection</a> of <a href="/charset">Unicode</a> characters',
		"while pressing ⌥ Option (Alt) with Apple's US (or US International) layout",
		'on <abbr title="at least in Ventura 13.2">macOS</abbr>.',
		q{An alternative <a href="/keyboard/altgr/macos-abc">ABC Extended</a> is also available.},
		q{Different from <a href="/keyboard/altgr/windows">AltGr</a> on Windows.},
	),
	description => [
		"Apple US International keyboard layout table",
		"with the Option modifier key.",
	],
	image => 'data/keyboard/thumb/matias-fk302.jpg',
	imagealt => 'Option key on a Matias Tactile Pro keyboard with USA keycaps',
}
