function phone_get_countries(o){util=google_i18n.phonenumbers.PhoneNumberUtil.getInstance(),country_get_countries(function(e){e.icc=util.getCountryCodeForRegion(e.code),o(e)})}function phone_normalise(e){return e=(e=(e=(e=(e=e.split(" ").join("")).split("-").join("")).split("(").join("")).split(")").join("")).split("+").join("")}function phone_get_icc(e,o){util=google_i18n.phonenumbers.PhoneNumberUtil.getInstance();try{phone_pb=util.parseAndKeepRawInput(o,e)}catch(e){return""}return util.isValidNumberForRegion(phone_pb,e)||"0"==o[0]?util.formatOutOfCountryCallingNumber(phone_pb):""}function phone_get_canon(e,o){return phone_normalise(phone_get_icc(e,o))}goog.require("goog.dom"),goog.require("goog.json"),goog.require("goog.proto2.ObjectSerializer"),goog.require("goog.string.StringBuffer"),goog.require("google_i18n.phonenumbers.AsYouTypeFormatter"),goog.require("google_i18n.phonenumbers.PhoneNumberFormat"),goog.require("google_i18n.phonenumbers.PhoneNumberType"),goog.require("google_i18n.phonenumbers.PhoneNumberUtil"),goog.require("google_i18n.phonenumbers.PhoneNumberUtil.ValidationResult");
//# sourceMappingURL=../source_maps/phone.js.map
