Utility module for handling ISO-style country codes used in the AvardaUi.PhoneSelectInput.
This module defines a CountryCode type representing supported countries and provides
helpers to convert between the CountryCode type and its two-letter string code.
Parses a two-letter country code string into a CountryCode value.
Returns Unknown if the string does not match any supported code.
Converts a CountryCode value into its corresponding two-letter string code.
Returns an empty string for Unknown.
Converts a CountryCode value into its corresponding two-letter string code wrapped in Maybe.
Returns Nothing for Unknown.
Supported country codes.