phonelib 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/data/extended_data.dat +0 -0
  3. data/data/libphonenumber/README.md +3 -3
  4. data/data/libphonenumber/codereview.settings +1 -1
  5. data/data/libphonenumber/cpp/CMakeLists.txt +6 -1
  6. data/data/libphonenumber/cpp/README +3 -3
  7. data/data/libphonenumber/cpp/src/phonenumbers/asyoutypeformatter.cc +7 -0
  8. data/data/libphonenumber/cpp/src/phonenumbers/base/logging.h +4 -0
  9. data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +8830 -8807
  10. data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +11576 -11552
  11. data/data/libphonenumber/cpp/test/phonenumbers/asyoutypeformatter_test.cc +2 -2
  12. data/data/libphonenumber/cpp/test/phonenumbers/geocoding/area_code_map_test.cc +4 -4
  13. data/data/libphonenumber/cpp/test/phonenumbers/geocoding/geocoding_test_program.cc +1 -0
  14. data/data/libphonenumber/cpp/test/phonenumbers/geocoding/phonenumber_offline_geocoder_test.cc +4 -4
  15. data/data/libphonenumber/cpp/test/phonenumbers/phonenumberutil_test.cc +1 -1
  16. data/data/libphonenumber/debian/control +3 -3
  17. data/data/libphonenumber/debian/copyright +1 -1
  18. data/data/libphonenumber/debian/watch +1 -1
  19. data/data/libphonenumber/java/carrier/pom.xml +1 -1
  20. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/225_en +0 -0
  21. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/233_en +0 -0
  22. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/677_en +0 -0
  23. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/973_en +0 -0
  24. data/data/libphonenumber/java/demo/war/phonenumberparser.jsp +1 -1
  25. data/data/libphonenumber/java/geocoder/pom.xml +1 -1
  26. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1418_en +0 -0
  27. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1438_en +0 -0
  28. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1450_en +0 -0
  29. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1514_en +0 -0
  30. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1819_en +0 -0
  31. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/64_en +0 -0
  32. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/86_en +0 -0
  33. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/86_zh +0 -0
  34. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/config +0 -0
  35. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/timezones/data/map_data +0 -0
  36. data/data/libphonenumber/java/internal/prefixmapper/pom.xml +1 -1
  37. data/data/libphonenumber/java/libphonenumber/pom.xml +1 -1
  38. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java +5 -0
  39. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_AR +0 -0
  40. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BH +0 -0
  41. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_BY +0 -0
  42. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CI +0 -0
  43. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CN +0 -0
  44. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_GH +0 -0
  45. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KR +0 -0
  46. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_KW +0 -0
  47. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LU +0 -0
  48. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_ME +0 -0
  49. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_NZ +0 -0
  50. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SB +0 -0
  51. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_WS +0 -0
  52. data/data/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/AsYouTypeFormatterTest.java +2 -2
  53. data/data/libphonenumber/java/release_notes.txt +11 -1
  54. data/data/libphonenumber/javascript/README +5 -3
  55. data/data/libphonenumber/javascript/i18n/phonenumbers/asyoutypeformatter.js +5 -0
  56. data/data/libphonenumber/javascript/i18n/phonenumbers/asyoutypeformatter_test.js +2 -2
  57. data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +115 -115
  58. data/data/libphonenumber/javascript/i18n/phonenumbers/demo.html +1 -1
  59. data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +38 -32
  60. data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +37 -31
  61. data/data/libphonenumber/javascript/i18n/phonenumbers/phonemetadata.pb.js +401 -241
  62. data/data/libphonenumber/javascript/i18n/phonenumbers/phonenumber.pb.js +66 -50
  63. data/data/libphonenumber/resources/PhoneNumberMetadata.xml +196 -95
  64. data/data/libphonenumber/resources/carrier/en/225.txt +1 -0
  65. data/data/libphonenumber/resources/carrier/en/233.txt +3 -1
  66. data/data/libphonenumber/resources/carrier/en/27.txt +1 -1
  67. data/data/libphonenumber/resources/carrier/en/677.txt +1 -0
  68. data/data/libphonenumber/resources/carrier/en/679.txt +2 -2
  69. data/data/libphonenumber/resources/carrier/en/973.txt +1 -0
  70. data/data/libphonenumber/resources/geocoding/en/1.txt +5 -5
  71. data/data/libphonenumber/resources/geocoding/en/64.txt +124 -0
  72. data/data/libphonenumber/resources/geocoding/en/86.txt +1 -3
  73. data/data/libphonenumber/resources/geocoding/zh/86.txt +1 -3
  74. data/data/libphonenumber/resources/timezones/map_data.txt +195 -101
  75. data/data/libphonenumber/tools/java/data/webapp/index.html +1 -1
  76. data/data/libphonenumber/tools/java/java-build/src/com/google/i18n/phonenumbers/BuildMetadataJsonFromXml.java +8 -0
  77. data/data/phone_data.dat +0 -0
  78. data/lib/phonelib/version.rb +1 -1
  79. metadata +4 -2
@@ -21,7 +21,7 @@ limitations under the License.
21
21
  -->
22
22
  <head>
23
23
  <title>Phone Number Parser Demo</title>
24
- <script src="http://closure-library.googlecode.com/svn/trunk/closure/goog/base.js"></script>
24
+ <script src="../../../../closure-library/closure/goog/base.js"></script>
25
25
  <script>
26
26
  goog.require('goog.proto2.Message');
27
27
  </script>
@@ -417,7 +417,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
417
417
  ,[,,"NA","NA"]
418
418
  ,[,,"NA","NA"]
419
419
  ,[,,"NA","NA"]
420
- ,"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[124-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:1[1568]|2[15]|3[145]|4[13]|5[14-8]|[069]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"]
420
+ ,"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"]
421
421
  ,"0$1","",0]
422
422
  ,[,"(\\d{2})(\\d{4})","$1-$2",["[2-9]"]
423
423
  ,"$1","",0]
@@ -427,13 +427,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
427
427
  ,"$1","",0]
428
428
  ,[,"(9)(11)(\\d{4})(\\d{4})","$2 15-$3-$4",["911"]
429
429
  ,"0$1","",0]
430
- ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[014-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49])))"]
430
+ ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]
431
431
  ,"0$1","",0]
432
432
  ,[,"(9)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9[23]"]
433
433
  ,"0$1","",0]
434
434
  ,[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"]
435
435
  ,"0$1","",1]
436
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578])","2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[0-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49]))"]
436
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"]
437
437
  ,"0$1","",1]
438
438
  ,[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"]
439
439
  ,"0$1","",1]
@@ -444,13 +444,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
444
444
  ,"0$1","",0]
445
445
  ,[,"(9)(11)(\\d{4})(\\d{4})","$1 $2 $3-$4",["911"]
446
446
  ]
447
- ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[014-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49])))"]
447
+ ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]
448
448
  ]
449
449
  ,[,"(9)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9[23]"]
450
450
  ]
451
451
  ,[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"]
452
452
  ,"0$1","",1]
453
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578])","2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[0-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49]))"]
453
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"]
454
454
  ,"0$1","",1]
455
455
  ,[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"]
456
456
  ,"0$1","",1]
@@ -698,8 +698,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
698
698
  ,,,[,,"NA","NA"]
699
699
  ]
700
700
  ,"BH":[,[,,"[136-9]\\d{7}","\\d{8}"]
701
- ,[,,"(?:1(?:3[13-6]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|88)|9[69][69])|7(?:7\\d{2}|178))\\d{4}","\\d{8}",,,"17001234"]
702
- ,[,,"(?:3(?:[1-4679]\\d|5[01356]|8[0-48])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9])))\\d{4}","\\d{8}",,,"36001234"]
701
+ ,[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9])|9[69][69])|7(?:1(?:11|78)|7\\d{2}))\\d{4}","\\d{8}",,,"17001234"]
702
+ ,[,,"(?:3(?:[1-4679]\\d|5[013569]|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9]|7[0-6])))\\d{4}","\\d{8}",,,"36001234"]
703
703
  ,[,,"80\\d{6}","\\d{8}",,,"80123456"]
704
704
  ,[,,"(?:87|9[014578])\\d{6}","\\d{8}",,,"90123456"]
705
705
  ,[,,"84\\d{6}","\\d{8}",,,"84123456"]
@@ -909,7 +909,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
909
909
  ,[,,"(?:810|902)\\d{7}","\\d{10}",,,"9021234567"]
910
910
  ,[,,"NA","NA"]
911
911
  ,[,,"NA","NA"]
912
- ,[,,"NA","NA"]
912
+ ,[,,"249\\d{6}","\\d{9}",,,"249123456"]
913
913
  ,"BY",375,"810","8",,,"8?0?",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["17[0-3589]|2[4-9]|[34]","17(?:[02358]|1[0-2]|9[0189])|2[4-9]|[34]"]
914
914
  ,"8 0$1","",0]
915
915
  ,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:5[24]|6[235]|7[467])|2(?:1[246]|2[25]|3[26])","1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"]
@@ -1047,7 +1047,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1047
1047
  ]
1048
1048
  ,"CI":[,[,,"[02-7]\\d{7}","\\d{8}"]
1049
1049
  ,[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}","\\d{8}",,,"21234567"]
1050
- ,[,,"(?:0[1-9]|4[0-24-9]|5[4-9]|6[015-79]|7[57])\\d{6}","\\d{8}",,,"01234567"]
1050
+ ,[,,"(?:0[1-9]|4[0-24-9]|5[4-9]|6[015-79]|7[578])\\d{6}","\\d{8}",,,"01234567"]
1051
1051
  ,[,,"NA","NA"]
1052
1052
  ,[,,"NA","NA"]
1053
1053
  ,[,,"NA","NA"]
@@ -1144,15 +1144,15 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1144
1144
  ,[,,"NA","NA"]
1145
1145
  ,,,[,,"NA","NA"]
1146
1146
  ]
1147
- ,"CN":[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,9}","\\d{4,12}"]
1148
- ,[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:71|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})|80(?:29|6[03578]|7[018]|81)\\d{4}","\\d{4,12}",,,"1012345678"]
1147
+ ,"CN":[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,10}","\\d{4,12}"]
1148
+ ,[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[4-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})|80(?:29|6[03578]|7[018]|81)\\d{4}","\\d{4,12}",,,"1012345678"]
1149
1149
  ,[,,"1(?:[38]\\d|4[57]|5[0-35-9]|7[06-8])\\d{8}","\\d{11}",,,"13123456789"]
1150
1150
  ,[,,"(?:10)?800\\d{7}","\\d{10,12}",,,"8001234567"]
1151
1151
  ,[,,"16[08]\\d{5}","\\d{8}",,,"16812345"]
1152
- ,[,,"400\\d{7}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}","\\d{7,10}",,,"4001234567"]
1152
+ ,[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}","\\d{7,11}",,,"4001234567"]
1153
1153
  ,[,,"NA","NA"]
1154
1154
  ,[,,"NA","NA"]
1155
- ,"CN",86,"(1[1279]\\d{3})?00","0",,,"(1[1279]\\d{3})|0",,"00",,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"]
1155
+ ,"CN",86,"(1(?:[129]\\d{3}|79\\d{2}))?00","0",,,"(1(?:[129]\\d{3}|79\\d{2}))|0",,"00",,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"]
1156
1156
  ,"0$1","$CC $1",1]
1157
1157
  ,[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]
1158
1158
  ,"","",0]
@@ -1168,14 +1168,16 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1168
1168
  ,"0$1","$CC $1",1]
1169
1169
  ,[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"]
1170
1170
  ,"0$1","$CC $1",1]
1171
- ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:71|98)"]
1171
+ ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"]
1172
1172
  ,"0$1","$CC $1",1]
1173
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1173
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[4-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1174
1174
  ,"0$1","$CC $1",1]
1175
1175
  ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"]
1176
1176
  ,"","$CC $1",0]
1177
1177
  ,[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]
1178
1178
  ,"","",0]
1179
+ ,[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]
1180
+ ,"","",0]
1179
1181
  ]
1180
1182
  ,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"]
1181
1183
  ,"0$1","$CC $1",1]
@@ -1189,17 +1191,19 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1189
1191
  ,"0$1","$CC $1",1]
1190
1192
  ,[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"]
1191
1193
  ,"0$1","$CC $1",1]
1192
- ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:71|98)"]
1194
+ ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"]
1193
1195
  ,"0$1","$CC $1",1]
1194
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1196
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[4-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1195
1197
  ,"0$1","$CC $1",1]
1196
1198
  ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"]
1197
1199
  ,"","$CC $1",0]
1198
1200
  ,[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]
1199
1201
  ,"","",0]
1202
+ ,[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]
1203
+ ,"","",0]
1200
1204
  ]
1201
1205
  ,[,,"NA","NA"]
1202
- ,,,[,,"(?:4|(?:10)?8)00\\d{7}","\\d{10,12}",,,"4001234567"]
1206
+ ,,,[,,"(?:4|(?:10)?8)00\\d{7}|950\\d{7,8}","\\d{10,12}",,,"4001234567"]
1203
1207
  ,[,,"NA","NA"]
1204
1208
  ,,,[,,"NA","NA"]
1205
1209
  ]
@@ -1818,7 +1822,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1818
1822
  ]
1819
1823
  ,"GH":[,[,,"[235]\\d{8}|8\\d{7}","\\d{7,9}"]
1820
1824
  ,[,,"3(?:0[237]\\d|[167](?:2[0-6]|7\\d)|2(?:2[0-5]|7\\d)|3(?:2[0-3]|7\\d)|4(?:2[013-9]|3[01]|7\\d)|5(?:2[0-7]|7\\d)|8(?:2[0-2]|7\\d)|9(?:20|7\\d))\\d{5}","\\d{7,9}",,,"302345678"]
1821
- ,[,,"(?:2[034678]\\d|5(?:[047]\\d|54|6[01]))\\d{6}","\\d{9}",,,"231234567"]
1825
+ ,[,,"(?:2[034678]\\d|5(?:[047]\\d|5[3-6]|6[01]))\\d{6}","\\d{9}",,,"231234567"]
1822
1826
  ,[,,"800\\d{5}","\\d{8}",,,"80012345"]
1823
1827
  ,[,,"NA","NA"]
1824
1828
  ,[,,"NA","NA"]
@@ -2598,7 +2602,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2598
2602
  ]
2599
2603
  ,"KR":[,[,,"[1-7]\\d{3,9}|8\\d{8}","\\d{4,10}"]
2600
2604
  ,[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])(?:1\\d{2,3}|[1-9]\\d{6,7})","\\d{4,10}",,,"22123456"]
2601
- ,[,,"1[0-26-9]\\d{7,8}","\\d{9,10}",,,"1023456789"]
2605
+ ,[,,"1[0-26-9]\\d{7,8}","\\d{9,10}",,,"1000000000"]
2602
2606
  ,[,,"80\\d{7}","\\d{9}",,,"801234567"]
2603
2607
  ,[,,"60[2-9]\\d{6}","\\d{9}",,,"602345678"]
2604
2608
  ,[,,"NA","NA"]
@@ -2632,7 +2636,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2632
2636
  ]
2633
2637
  ,"KW":[,[,,"[12569]\\d{6,7}","\\d{7,8}"]
2634
2638
  ,[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}","\\d{7,8}",,,"22345678"]
2635
- ,[,,"(?:5(?:[05]\\d|1[0-6])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|4[049]|55|6[069]|[79]\\d|8[089]))\\d{5}","\\d{8}",,,"50012345"]
2639
+ ,[,,"(?:5(?:[05]\\d|1[0-7])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|4[049]|55|6[069]|[79]\\d|8[07-9]))\\d{5}","\\d{8}",,,"50012345"]
2636
2640
  ,[,,"NA","NA"]
2637
2641
  ,[,,"NA","NA"]
2638
2642
  ,[,,"NA","NA"]
@@ -2829,7 +2833,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2829
2833
  ,,,[,,"NA","NA"]
2830
2834
  ]
2831
2835
  ,"LU":[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"]
2832
- ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{4}(?:\\d{2})?)|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}",,,"27123456"]
2836
+ ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{4,6})|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}",,,"27123456"]
2833
2837
  ,[,,"6[2679][18]\\d{6}","\\d{9}",,,"628123456"]
2834
2838
  ,[,,"800\\d{5}","\\d{8}",,,"80012345"]
2835
2839
  ,[,,"90[01]\\d{5}","\\d{8}",,,"90012345"]
@@ -2955,14 +2959,14 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2955
2959
  ,,,[,,"NA","NA"]
2956
2960
  ]
2957
2961
  ,"ME":[,[,,"[2-9]\\d{7,8}","\\d{6,9}"]
2958
- ,[,,"(?:20[2-8]|3(?:0[2-7]|1[35-7]|2[3567]|3[4-7])|4(?:0[237]|1[27])|5(?:0[47]|1[27]|2[378]))\\d{5}","\\d{6,8}",,,"30234567"]
2959
- ,[,,"6(?:32\\d|[89]\\d{2}|7(?:[0-8]\\d|9(?:[3-9]|[0-2]\\d)))\\d{4}","\\d{8,9}",,,"67622901"]
2960
- ,[,,"800[28]\\d{4}","\\d{8}",,,"80080002"]
2961
- ,[,,"(?:88\\d|9(?:4[13-8]|5[16-8]))\\d{5}","\\d{8}",,,"94515151"]
2962
+ ,[,,"(?:20[2-8]|3(?:0[2-7]|[12][35-7]|3[4-7])|4(?:0[2367]|1[267])|5(?:0[467]|1[267]|2[367]))\\d{5}","\\d{6,8}",,,"30234567"]
2963
+ ,[,,"6(?:00\\d|32\\d|[89]\\d{2}|61\\d|7(?:[0-8]\\d|9(?:[3-9]|[0-2]\\d)))\\d{4}","\\d{8,9}",,,"67622901"]
2964
+ ,[,,"80\\d{6}","\\d{8}",,,"80080002"]
2965
+ ,[,,"(?:9(?:4[1568]|5[178]))\\d{5}","\\d{8}",,,"94515151"]
2962
2966
  ,[,,"NA","NA"]
2963
2967
  ,[,,"NA","NA"]
2964
2968
  ,[,,"78[1-9]\\d{5}","\\d{8}",,,"78108780"]
2965
- ,"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[3789]","[2-57-9]|6(?:[389]|7(?:[0-8]|9[3-9]))"]
2969
+ ,"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[036-9]","[2-57-9]|6(?:[03689]|7(?:[0-8]|9[3-9]))"]
2966
2970
  ,"0$1","",0]
2967
2971
  ,[,"(67)(9)(\\d{3})(\\d{3})","$1 $2 $3 $4",["679","679[0-2]"]
2968
2972
  ,"0$1","",0]
@@ -3535,20 +3539,20 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3535
3539
  ,,,[,,"NA","NA"]
3536
3540
  ]
3537
3541
  ,"NZ":[,[,,"6[235-9]\\d{6}|[2-57-9]\\d{7,10}","\\d{7,11}"]
3538
- ,[,,"(?:3[2-79]|[49][2-689]|6[235-9]|7[2-5789])\\d{6}|24099\\d{3}","\\d{7,8}",,,"32345678"]
3542
+ ,[,,"(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}|24099\\d{3}","\\d{7,8}",,,"32345678"]
3539
3543
  ,[,,"2(?:[028]\\d{7,8}|1(?:[03]\\d{5,7}|[12457]\\d{5,6}|[689]\\d{5})|[79]\\d{7})","\\d{8,10}",,,"211234567"]
3540
3544
  ,[,,"508\\d{6,7}|80\\d{6,8}","\\d{8,10}",,,"800123456"]
3541
3545
  ,[,,"90\\d{7,9}","\\d{9,11}",,,"900123456"]
3542
3546
  ,[,,"NA","NA"]
3547
+ ,[,,"70\\d{7}","\\d{9}",,,"701234567"]
3543
3548
  ,[,,"NA","NA"]
3544
- ,[,,"NA","NA"]
3545
- ,"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"([34679])(\\d{3})(\\d{4})","$1-$2 $3",["[3467]|9[1-9]"]
3549
+ ,"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"([34679])(\\d{3})(\\d{4})","$1-$2 $3",["[346]|7[2-57-9]|9[1-9]"]
3546
3550
  ,"0$1","",0]
3547
3551
  ,[,"(24099)(\\d{3})","$1 $2",["240","2409","24099"]
3548
3552
  ,"0$1","",0]
3549
3553
  ,[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["21"]
3550
3554
  ,"0$1","",0]
3551
- ,[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|86"]
3555
+ ,[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|70|86"]
3552
3556
  ,"0$1","",0]
3553
3557
  ,[,"(2\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["2[028]"]
3554
3558
  ,"0$1","",0]
@@ -3999,7 +4003,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3999
4003
  ]
4000
4004
  ,"SB":[,[,,"[1-9]\\d{4,6}","\\d{5,7}"]
4001
4005
  ,[,,"(?:1[4-79]|[23]\\d|4[01]|5[03]|6[0-37])\\d{3}","\\d{5}",,,"40123"]
4002
- ,[,,"48\\d{3}|7(?:[46-8]\\d|5[025-9]|9[0-4])\\d{4}|8[4-8]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}",,,"7421234"]
4006
+ ,[,,"48\\d{3}|7(?:30|[46-8]\\d|5[025-9]|9[0-5])\\d{4}|8[4-8]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}",,,"7421234"]
4003
4007
  ,[,,"1[38]\\d{3}","\\d{5}",,,"18123"]
4004
4008
  ,[,,"NA","NA"]
4005
4009
  ,[,,"NA","NA"]
@@ -4899,6 +4903,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4899
4903
  ,"","",0]
4900
4904
  ,[,"(7\\d)(\\d{5})","$1 $2",["7"]
4901
4905
  ,"","",0]
4906
+ ,[,"(\\d{5})","$1",["[2-6]"]
4907
+ ,"","",0]
4902
4908
  ]
4903
4909
  ,,[,,"NA","NA"]
4904
4910
  ,,,[,,"NA","NA"]
@@ -417,7 +417,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
417
417
  ,[,,"NA","NA"]
418
418
  ,[,,"NA","NA"]
419
419
  ,[,,"NA","NA"]
420
- ,"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[124-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:1[1568]|2[15]|3[145]|4[13]|5[14-8]|[069]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"]
420
+ ,"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"]
421
421
  ,"0$1","",0]
422
422
  ,[,"(\\d{2})(\\d{4})","$1-$2",["[2-9]"]
423
423
  ,"$1","",0]
@@ -427,13 +427,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
427
427
  ,"$1","",0]
428
428
  ,[,"(9)(11)(\\d{4})(\\d{4})","$2 15-$3-$4",["911"]
429
429
  ,"0$1","",0]
430
- ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[014-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49])))"]
430
+ ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]
431
431
  ,"0$1","",0]
432
432
  ,[,"(9)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9[23]"]
433
433
  ,"0$1","",0]
434
434
  ,[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"]
435
435
  ,"0$1","",1]
436
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578])","2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[0-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49]))"]
436
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"]
437
437
  ,"0$1","",1]
438
438
  ,[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"]
439
439
  ,"0$1","",1]
@@ -444,13 +444,13 @@ i18n.phonenumbers.metadata.countryToMetadata = {
444
444
  ,"0$1","",0]
445
445
  ,[,"(9)(11)(\\d{4})(\\d{4})","$1 $2 $3-$4",["911"]
446
446
  ]
447
- ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[014-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49])))"]
447
+ ,[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]
448
448
  ]
449
449
  ,[,"(9)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9[23]"]
450
450
  ]
451
451
  ,[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"]
452
452
  ,"0$1","",1]
453
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578])","2(?:2[013]|3[067]|49|6[01346]|80|9(?:[179]|4[13479]|8[014-9]))|3(?:36|4[12358]|5(?:[18]|3[0-689])|6[24]|7[069]|8(?:[01]|3[013469]|5[0-39]|7[0-2459]|8[0-49]))"]
453
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|[358]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"]
454
454
  ,"0$1","",1]
455
455
  ,[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"]
456
456
  ,"0$1","",1]
@@ -698,8 +698,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
698
698
  ,,,[,,"NA","NA"]
699
699
  ]
700
700
  ,"BH":[,[,,"[136-9]\\d{7}","\\d{8}"]
701
- ,[,,"(?:1(?:3[13-6]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|88)|9[69][69])|7(?:7\\d{2}|178))\\d{4}","\\d{8}"]
702
- ,[,,"(?:3(?:[1-4679]\\d|5[01356]|8[0-48])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9])))\\d{4}","\\d{8}"]
701
+ ,[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9])|9[69][69])|7(?:1(?:11|78)|7\\d{2}))\\d{4}","\\d{8}"]
702
+ ,[,,"(?:3(?:[1-4679]\\d|5[013569]|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9]|7[0-6])))\\d{4}","\\d{8}"]
703
703
  ,[,,"80\\d{6}","\\d{8}"]
704
704
  ,[,,"(?:87|9[014578])\\d{6}","\\d{8}"]
705
705
  ,[,,"84\\d{6}","\\d{8}"]
@@ -909,7 +909,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
909
909
  ,[,,"(?:810|902)\\d{7}","\\d{10}"]
910
910
  ,[,,"NA","NA"]
911
911
  ,[,,"NA","NA"]
912
- ,[,,"NA","NA"]
912
+ ,[,,"249\\d{6}","\\d{9}"]
913
913
  ,"BY",375,"810","8",,,"8?0?",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["17[0-3589]|2[4-9]|[34]","17(?:[02358]|1[0-2]|9[0189])|2[4-9]|[34]"]
914
914
  ,"8 0$1","",0]
915
915
  ,[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:5[24]|6[235]|7[467])|2(?:1[246]|2[25]|3[26])","1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"]
@@ -1047,7 +1047,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1047
1047
  ]
1048
1048
  ,"CI":[,[,,"[02-7]\\d{7}","\\d{8}"]
1049
1049
  ,[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}","\\d{8}"]
1050
- ,[,,"(?:0[1-9]|4[0-24-9]|5[4-9]|6[015-79]|7[57])\\d{6}","\\d{8}"]
1050
+ ,[,,"(?:0[1-9]|4[0-24-9]|5[4-9]|6[015-79]|7[578])\\d{6}","\\d{8}"]
1051
1051
  ,[,,"NA","NA"]
1052
1052
  ,[,,"NA","NA"]
1053
1053
  ,[,,"NA","NA"]
@@ -1144,15 +1144,15 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1144
1144
  ,[,,"NA","NA"]
1145
1145
  ,,,[,,"NA","NA"]
1146
1146
  ]
1147
- ,"CN":[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,9}","\\d{4,12}"]
1148
- ,[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:71|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})|80(?:29|6[03578]|7[018]|81)\\d{4}","\\d{4,12}"]
1147
+ ,"CN":[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,10}","\\d{4,12}"]
1148
+ ,[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[4-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})|80(?:29|6[03578]|7[018]|81)\\d{4}","\\d{4,12}"]
1149
1149
  ,[,,"1(?:[38]\\d|4[57]|5[0-35-9]|7[06-8])\\d{8}","\\d{11}"]
1150
1150
  ,[,,"(?:10)?800\\d{7}","\\d{10,12}"]
1151
1151
  ,[,,"16[08]\\d{5}","\\d{8}"]
1152
- ,[,,"400\\d{7}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}","\\d{7,10}"]
1152
+ ,[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}","\\d{7,11}"]
1153
1153
  ,[,,"NA","NA"]
1154
1154
  ,[,,"NA","NA"]
1155
- ,"CN",86,"(1[1279]\\d{3})?00","0",,,"(1[1279]\\d{3})|0",,"00",,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"]
1155
+ ,"CN",86,"(1(?:[129]\\d{3}|79\\d{2}))?00","0",,,"(1(?:[129]\\d{3}|79\\d{2}))|0",,"00",,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"]
1156
1156
  ,"0$1","$CC $1",1]
1157
1157
  ,[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]
1158
1158
  ,"","",0]
@@ -1168,14 +1168,16 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1168
1168
  ,"0$1","$CC $1",1]
1169
1169
  ,[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"]
1170
1170
  ,"0$1","$CC $1",1]
1171
- ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:71|98)"]
1171
+ ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"]
1172
1172
  ,"0$1","$CC $1",1]
1173
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1173
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[4-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1174
1174
  ,"0$1","$CC $1",1]
1175
1175
  ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"]
1176
1176
  ,"","$CC $1",0]
1177
1177
  ,[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]
1178
1178
  ,"","",0]
1179
+ ,[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]
1180
+ ,"","",0]
1179
1181
  ]
1180
1182
  ,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"]
1181
1183
  ,"0$1","$CC $1",1]
@@ -1189,17 +1191,19 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1189
1191
  ,"0$1","$CC $1",1]
1190
1192
  ,[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"]
1191
1193
  ,"0$1","$CC $1",1]
1192
- ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:71|98)"]
1194
+ ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"]
1193
1195
  ,"0$1","$CC $1",1]
1194
- ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1196
+ ,[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[4-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"]
1195
1197
  ,"0$1","$CC $1",1]
1196
1198
  ,[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"]
1197
1199
  ,"","$CC $1",0]
1198
1200
  ,[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]
1199
1201
  ,"","",0]
1202
+ ,[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]
1203
+ ,"","",0]
1200
1204
  ]
1201
1205
  ,[,,"NA","NA"]
1202
- ,,,[,,"(?:4|(?:10)?8)00\\d{7}","\\d{10,12}"]
1206
+ ,,,[,,"(?:4|(?:10)?8)00\\d{7}|950\\d{7,8}","\\d{10,12}"]
1203
1207
  ,[,,"NA","NA"]
1204
1208
  ,,,[,,"NA","NA"]
1205
1209
  ]
@@ -1818,7 +1822,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
1818
1822
  ]
1819
1823
  ,"GH":[,[,,"[235]\\d{8}|8\\d{7}","\\d{7,9}"]
1820
1824
  ,[,,"3(?:0[237]\\d|[167](?:2[0-6]|7\\d)|2(?:2[0-5]|7\\d)|3(?:2[0-3]|7\\d)|4(?:2[013-9]|3[01]|7\\d)|5(?:2[0-7]|7\\d)|8(?:2[0-2]|7\\d)|9(?:20|7\\d))\\d{5}","\\d{7,9}"]
1821
- ,[,,"(?:2[034678]\\d|5(?:[047]\\d|54|6[01]))\\d{6}","\\d{9}"]
1825
+ ,[,,"(?:2[034678]\\d|5(?:[047]\\d|5[3-6]|6[01]))\\d{6}","\\d{9}"]
1822
1826
  ,[,,"800\\d{5}","\\d{8}"]
1823
1827
  ,[,,"NA","NA"]
1824
1828
  ,[,,"NA","NA"]
@@ -2632,7 +2636,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2632
2636
  ]
2633
2637
  ,"KW":[,[,,"[12569]\\d{6,7}","\\d{7,8}"]
2634
2638
  ,[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}","\\d{7,8}"]
2635
- ,[,,"(?:5(?:[05]\\d|1[0-6])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|4[049]|55|6[069]|[79]\\d|8[089]))\\d{5}","\\d{8}"]
2639
+ ,[,,"(?:5(?:[05]\\d|1[0-7])|6(?:0[034679]|5[015-9]|6\\d|7[067]|9[0369])|9(?:0[09]|4[049]|55|6[069]|[79]\\d|8[07-9]))\\d{5}","\\d{8}"]
2636
2640
  ,[,,"NA","NA"]
2637
2641
  ,[,,"NA","NA"]
2638
2642
  ,[,,"NA","NA"]
@@ -2829,7 +2833,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2829
2833
  ,,,[,,"NA","NA"]
2830
2834
  ]
2831
2835
  ,"LU":[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"]
2832
- ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{4}(?:\\d{2})?)|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}"]
2836
+ ,[,,"(?:2(?:[259]\\d{2,9}|[346-8]\\d{4,6})|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})","\\d{4,11}"]
2833
2837
  ,[,,"6[2679][18]\\d{6}","\\d{9}"]
2834
2838
  ,[,,"800\\d{5}","\\d{8}"]
2835
2839
  ,[,,"90[01]\\d{5}","\\d{8}"]
@@ -2955,14 +2959,14 @@ i18n.phonenumbers.metadata.countryToMetadata = {
2955
2959
  ,,,[,,"NA","NA"]
2956
2960
  ]
2957
2961
  ,"ME":[,[,,"[2-9]\\d{7,8}","\\d{6,9}"]
2958
- ,[,,"(?:20[2-8]|3(?:0[2-7]|1[35-7]|2[3567]|3[4-7])|4(?:0[237]|1[27])|5(?:0[47]|1[27]|2[378]))\\d{5}","\\d{6,8}"]
2959
- ,[,,"6(?:32\\d|[89]\\d{2}|7(?:[0-8]\\d|9(?:[3-9]|[0-2]\\d)))\\d{4}","\\d{8,9}"]
2960
- ,[,,"800[28]\\d{4}","\\d{8}"]
2961
- ,[,,"(?:88\\d|9(?:4[13-8]|5[16-8]))\\d{5}","\\d{8}"]
2962
+ ,[,,"(?:20[2-8]|3(?:0[2-7]|[12][35-7]|3[4-7])|4(?:0[2367]|1[267])|5(?:0[467]|1[267]|2[367]))\\d{5}","\\d{6,8}"]
2963
+ ,[,,"6(?:00\\d|32\\d|[89]\\d{2}|61\\d|7(?:[0-8]\\d|9(?:[3-9]|[0-2]\\d)))\\d{4}","\\d{8,9}"]
2964
+ ,[,,"80\\d{6}","\\d{8}"]
2965
+ ,[,,"(?:9(?:4[1568]|5[178]))\\d{5}","\\d{8}"]
2962
2966
  ,[,,"NA","NA"]
2963
2967
  ,[,,"NA","NA"]
2964
2968
  ,[,,"78[1-9]\\d{5}","\\d{8}"]
2965
- ,"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[3789]","[2-57-9]|6(?:[389]|7(?:[0-8]|9[3-9]))"]
2969
+ ,"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[036-9]","[2-57-9]|6(?:[03689]|7(?:[0-8]|9[3-9]))"]
2966
2970
  ,"0$1","",0]
2967
2971
  ,[,"(67)(9)(\\d{3})(\\d{3})","$1 $2 $3 $4",["679","679[0-2]"]
2968
2972
  ,"0$1","",0]
@@ -3535,20 +3539,20 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3535
3539
  ,,,[,,"NA","NA"]
3536
3540
  ]
3537
3541
  ,"NZ":[,[,,"6[235-9]\\d{6}|[2-57-9]\\d{7,10}","\\d{7,11}"]
3538
- ,[,,"(?:3[2-79]|[49][2-689]|6[235-9]|7[2-5789])\\d{6}|24099\\d{3}","\\d{7,8}"]
3542
+ ,[,,"(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}|24099\\d{3}","\\d{7,8}"]
3539
3543
  ,[,,"2(?:[028]\\d{7,8}|1(?:[03]\\d{5,7}|[12457]\\d{5,6}|[689]\\d{5})|[79]\\d{7})","\\d{8,10}"]
3540
3544
  ,[,,"508\\d{6,7}|80\\d{6,8}","\\d{8,10}"]
3541
3545
  ,[,,"90\\d{7,9}","\\d{9,11}"]
3542
3546
  ,[,,"NA","NA"]
3547
+ ,[,,"70\\d{7}","\\d{9}"]
3543
3548
  ,[,,"NA","NA"]
3544
- ,[,,"NA","NA"]
3545
- ,"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"([34679])(\\d{3})(\\d{4})","$1-$2 $3",["[3467]|9[1-9]"]
3549
+ ,"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"([34679])(\\d{3})(\\d{4})","$1-$2 $3",["[346]|7[2-57-9]|9[1-9]"]
3546
3550
  ,"0$1","",0]
3547
3551
  ,[,"(24099)(\\d{3})","$1 $2",["240","2409","24099"]
3548
3552
  ,"0$1","",0]
3549
3553
  ,[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["21"]
3550
3554
  ,"0$1","",0]
3551
- ,[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|86"]
3555
+ ,[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|70|86"]
3552
3556
  ,"0$1","",0]
3553
3557
  ,[,"(2\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["2[028]"]
3554
3558
  ,"0$1","",0]
@@ -3999,7 +4003,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
3999
4003
  ]
4000
4004
  ,"SB":[,[,,"[1-9]\\d{4,6}","\\d{5,7}"]
4001
4005
  ,[,,"(?:1[4-79]|[23]\\d|4[01]|5[03]|6[0-37])\\d{3}","\\d{5}"]
4002
- ,[,,"48\\d{3}|7(?:[46-8]\\d|5[025-9]|9[0-4])\\d{4}|8[4-8]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}"]
4006
+ ,[,,"48\\d{3}|7(?:30|[46-8]\\d|5[025-9]|9[0-5])\\d{4}|8[4-8]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}","\\d{5,7}"]
4003
4007
  ,[,,"1[38]\\d{3}","\\d{5}"]
4004
4008
  ,[,,"NA","NA"]
4005
4009
  ,[,,"NA","NA"]
@@ -4899,6 +4903,8 @@ i18n.phonenumbers.metadata.countryToMetadata = {
4899
4903
  ,"","",0]
4900
4904
  ,[,"(7\\d)(\\d{5})","$1 $2",["7"]
4901
4905
  ,"","",0]
4906
+ ,[,"(\\d{5})","$1",["[2-6]"]
4907
+ ,"","",0]
4902
4908
  ]
4903
4909
  ,,[,,"NA","NA"]
4904
4910
  ,,,[,,"NA","NA"]
@@ -37,7 +37,7 @@ goog.require('goog.proto2.Message');
37
37
  * @extends {goog.proto2.Message}
38
38
  */
39
39
  i18n.phonenumbers.NumberFormat = function() {
40
- goog.proto2.Message.apply(this);
40
+ goog.proto2.Message.call(this);
41
41
  };
42
42
  goog.inherits(i18n.phonenumbers.NumberFormat, goog.proto2.Message);
43
43
 
@@ -374,7 +374,7 @@ i18n.phonenumbers.NumberFormat.prototype.clearDomesticCarrierCodeFormattingRule
374
374
  * @extends {goog.proto2.Message}
375
375
  */
376
376
  i18n.phonenumbers.PhoneNumberDesc = function() {
377
- goog.proto2.Message.apply(this);
377
+ goog.proto2.Message.call(this);
378
378
  };
379
379
  goog.inherits(i18n.phonenumbers.PhoneNumberDesc, goog.proto2.Message);
380
380
 
@@ -540,6 +540,108 @@ i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber = function() {
540
540
  };
541
541
 
542
542
 
543
+ /**
544
+ * Gets the value of the national_number_matcher_data field.
545
+ * @return {?string} The value.
546
+ */
547
+ i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberMatcherData = function() {
548
+ return /** @type {?string} */ (this.get$Value(7));
549
+ };
550
+
551
+
552
+ /**
553
+ * Gets the value of the national_number_matcher_data field or the default value if not set.
554
+ * @return {string} The value.
555
+ */
556
+ i18n.phonenumbers.PhoneNumberDesc.prototype.getNationalNumberMatcherDataOrDefault = function() {
557
+ return /** @type {string} */ (this.get$ValueOrDefault(7));
558
+ };
559
+
560
+
561
+ /**
562
+ * Sets the value of the national_number_matcher_data field.
563
+ * @param {string} value The value.
564
+ */
565
+ i18n.phonenumbers.PhoneNumberDesc.prototype.setNationalNumberMatcherData = function(value) {
566
+ this.set$Value(7, value);
567
+ };
568
+
569
+
570
+ /**
571
+ * @return {boolean} Whether the national_number_matcher_data field has a value.
572
+ */
573
+ i18n.phonenumbers.PhoneNumberDesc.prototype.hasNationalNumberMatcherData = function() {
574
+ return this.has$Value(7);
575
+ };
576
+
577
+
578
+ /**
579
+ * @return {number} The number of values in the national_number_matcher_data field.
580
+ */
581
+ i18n.phonenumbers.PhoneNumberDesc.prototype.nationalNumberMatcherDataCount = function() {
582
+ return this.count$Values(7);
583
+ };
584
+
585
+
586
+ /**
587
+ * Clears the values in the national_number_matcher_data field.
588
+ */
589
+ i18n.phonenumbers.PhoneNumberDesc.prototype.clearNationalNumberMatcherData = function() {
590
+ this.clear$Field(7);
591
+ };
592
+
593
+
594
+ /**
595
+ * Gets the value of the possible_number_matcher_data field.
596
+ * @return {?string} The value.
597
+ */
598
+ i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleNumberMatcherData = function() {
599
+ return /** @type {?string} */ (this.get$Value(8));
600
+ };
601
+
602
+
603
+ /**
604
+ * Gets the value of the possible_number_matcher_data field or the default value if not set.
605
+ * @return {string} The value.
606
+ */
607
+ i18n.phonenumbers.PhoneNumberDesc.prototype.getPossibleNumberMatcherDataOrDefault = function() {
608
+ return /** @type {string} */ (this.get$ValueOrDefault(8));
609
+ };
610
+
611
+
612
+ /**
613
+ * Sets the value of the possible_number_matcher_data field.
614
+ * @param {string} value The value.
615
+ */
616
+ i18n.phonenumbers.PhoneNumberDesc.prototype.setPossibleNumberMatcherData = function(value) {
617
+ this.set$Value(8, value);
618
+ };
619
+
620
+
621
+ /**
622
+ * @return {boolean} Whether the possible_number_matcher_data field has a value.
623
+ */
624
+ i18n.phonenumbers.PhoneNumberDesc.prototype.hasPossibleNumberMatcherData = function() {
625
+ return this.has$Value(8);
626
+ };
627
+
628
+
629
+ /**
630
+ * @return {number} The number of values in the possible_number_matcher_data field.
631
+ */
632
+ i18n.phonenumbers.PhoneNumberDesc.prototype.possibleNumberMatcherDataCount = function() {
633
+ return this.count$Values(8);
634
+ };
635
+
636
+
637
+ /**
638
+ * Clears the values in the possible_number_matcher_data field.
639
+ */
640
+ i18n.phonenumbers.PhoneNumberDesc.prototype.clearPossibleNumberMatcherData = function() {
641
+ this.clear$Field(8);
642
+ };
643
+
644
+
543
645
 
544
646
  /**
545
647
  * Message PhoneMetadata.
@@ -547,7 +649,7 @@ i18n.phonenumbers.PhoneNumberDesc.prototype.clearExampleNumber = function() {
547
649
  * @extends {goog.proto2.Message}
548
650
  */
549
651
  i18n.phonenumbers.PhoneMetadata = function() {
550
- goog.proto2.Message.apply(this);
652
+ goog.proto2.Message.call(this);
551
653
  };
552
654
  goog.inherits(i18n.phonenumbers.PhoneMetadata, goog.proto2.Message);
553
655
 
@@ -1959,14 +2061,13 @@ i18n.phonenumbers.PhoneMetadata.prototype.clearLeadingZeroPossible = function()
1959
2061
  };
1960
2062
 
1961
2063
 
1962
-
1963
2064
  /**
1964
2065
  * Message PhoneMetadataCollection.
1965
2066
  * @constructor
1966
2067
  * @extends {goog.proto2.Message}
1967
2068
  */
1968
2069
  i18n.phonenumbers.PhoneMetadataCollection = function() {
1969
- goog.proto2.Message.apply(this);
2070
+ goog.proto2.Message.call(this);
1970
2071
  };
1971
2072
  goog.inherits(i18n.phonenumbers.PhoneMetadataCollection, goog.proto2.Message);
1972
2073
 
@@ -2041,243 +2142,302 @@ i18n.phonenumbers.PhoneMetadataCollection.prototype.clearMetadata = function() {
2041
2142
  };
2042
2143
 
2043
2144
 
2044
- goog.proto2.Message.set$Metadata(i18n.phonenumbers.NumberFormat, {
2045
- 0: {
2046
- name: 'NumberFormat',
2047
- fullName: 'i18n.phonenumbers.NumberFormat'
2048
- },
2049
- 1: {
2050
- name: 'pattern',
2051
- required: true,
2052
- fieldType: goog.proto2.Message.FieldType.STRING,
2053
- type: String
2054
- },
2055
- 2: {
2056
- name: 'format',
2057
- required: true,
2058
- fieldType: goog.proto2.Message.FieldType.STRING,
2059
- type: String
2060
- },
2061
- 3: {
2062
- name: 'leading_digits_pattern',
2063
- repeated: true,
2064
- fieldType: goog.proto2.Message.FieldType.STRING,
2065
- type: String
2066
- },
2067
- 4: {
2068
- name: 'national_prefix_formatting_rule',
2069
- fieldType: goog.proto2.Message.FieldType.STRING,
2070
- type: String
2071
- },
2072
- 6: {
2073
- name: 'national_prefix_optional_when_formatting',
2074
- fieldType: goog.proto2.Message.FieldType.BOOL,
2075
- type: Boolean
2076
- },
2077
- 5: {
2078
- name: 'domestic_carrier_code_formatting_rule',
2079
- fieldType: goog.proto2.Message.FieldType.STRING,
2080
- type: String
2145
+ /** @override */
2146
+ i18n.phonenumbers.NumberFormat.prototype.getDescriptor = function() {
2147
+ if (!i18n.phonenumbers.NumberFormat.descriptor_) {
2148
+ // The descriptor is created lazily when we instantiate a new instance.
2149
+ var descriptorObj = {
2150
+ 0: {
2151
+ name: 'NumberFormat',
2152
+ fullName: 'i18n.phonenumbers.NumberFormat'
2153
+ },
2154
+ 1: {
2155
+ name: 'pattern',
2156
+ required: true,
2157
+ fieldType: goog.proto2.Message.FieldType.STRING,
2158
+ type: String
2159
+ },
2160
+ 2: {
2161
+ name: 'format',
2162
+ required: true,
2163
+ fieldType: goog.proto2.Message.FieldType.STRING,
2164
+ type: String
2165
+ },
2166
+ 3: {
2167
+ name: 'leading_digits_pattern',
2168
+ repeated: true,
2169
+ fieldType: goog.proto2.Message.FieldType.STRING,
2170
+ type: String
2171
+ },
2172
+ 4: {
2173
+ name: 'national_prefix_formatting_rule',
2174
+ fieldType: goog.proto2.Message.FieldType.STRING,
2175
+ type: String
2176
+ },
2177
+ 6: {
2178
+ name: 'national_prefix_optional_when_formatting',
2179
+ fieldType: goog.proto2.Message.FieldType.BOOL,
2180
+ type: Boolean
2181
+ },
2182
+ 5: {
2183
+ name: 'domestic_carrier_code_formatting_rule',
2184
+ fieldType: goog.proto2.Message.FieldType.STRING,
2185
+ type: String
2186
+ }
2187
+ };
2188
+ i18n.phonenumbers.NumberFormat.descriptor_ =
2189
+ goog.proto2.Message.createDescriptor(
2190
+ i18n.phonenumbers.NumberFormat, descriptorObj);
2081
2191
  }
2082
- });
2083
-
2084
-
2085
- goog.proto2.Message.set$Metadata(i18n.phonenumbers.PhoneNumberDesc, {
2086
- 0: {
2087
- name: 'PhoneNumberDesc',
2088
- fullName: 'i18n.phonenumbers.PhoneNumberDesc'
2089
- },
2090
- 2: {
2091
- name: 'national_number_pattern',
2092
- fieldType: goog.proto2.Message.FieldType.STRING,
2093
- type: String
2094
- },
2095
- 3: {
2096
- name: 'possible_number_pattern',
2097
- fieldType: goog.proto2.Message.FieldType.STRING,
2098
- type: String
2099
- },
2100
- 6: {
2101
- name: 'example_number',
2102
- fieldType: goog.proto2.Message.FieldType.STRING,
2103
- type: String
2192
+ return i18n.phonenumbers.NumberFormat.descriptor_;
2193
+ };
2194
+
2195
+
2196
+ // Export getDescriptor static function robust to minification.
2197
+ i18n.phonenumbers.NumberFormat['ctor'] = i18n.phonenumbers.NumberFormat;
2198
+ i18n.phonenumbers.NumberFormat['ctor'].getDescriptor =
2199
+ i18n.phonenumbers.NumberFormat.prototype.getDescriptor;
2200
+
2201
+
2202
+ /** @override */
2203
+ i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor = function() {
2204
+ if (!i18n.phonenumbers.PhoneNumberDesc.descriptor_) {
2205
+ // The descriptor is created lazily when we instantiate a new instance.
2206
+ var descriptorObj = {
2207
+ 0: {
2208
+ name: 'PhoneNumberDesc',
2209
+ fullName: 'i18n.phonenumbers.PhoneNumberDesc'
2210
+ },
2211
+ 2: {
2212
+ name: 'national_number_pattern',
2213
+ fieldType: goog.proto2.Message.FieldType.STRING,
2214
+ type: String
2215
+ },
2216
+ 3: {
2217
+ name: 'possible_number_pattern',
2218
+ fieldType: goog.proto2.Message.FieldType.STRING,
2219
+ type: String
2220
+ },
2221
+ 6: {
2222
+ name: 'example_number',
2223
+ fieldType: goog.proto2.Message.FieldType.STRING,
2224
+ type: String
2225
+ },
2226
+ 7: {
2227
+ name: 'national_number_matcher_data',
2228
+ fieldType: goog.proto2.Message.FieldType.BYTES,
2229
+ type: String
2230
+ },
2231
+ 8: {
2232
+ name: 'possible_number_matcher_data',
2233
+ fieldType: goog.proto2.Message.FieldType.BYTES,
2234
+ type: String
2235
+ }
2236
+ };
2237
+ i18n.phonenumbers.PhoneNumberDesc.descriptor_ =
2238
+ goog.proto2.Message.createDescriptor(
2239
+ i18n.phonenumbers.PhoneNumberDesc, descriptorObj);
2104
2240
  }
2105
- });
2106
-
2107
-
2108
- goog.proto2.Message.set$Metadata(i18n.phonenumbers.PhoneMetadata, {
2109
- 0: {
2110
- name: 'PhoneMetadata',
2111
- fullName: 'i18n.phonenumbers.PhoneMetadata'
2112
- },
2113
- 1: {
2114
- name: 'general_desc',
2115
- required: true,
2116
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2117
- type: i18n.phonenumbers.PhoneNumberDesc
2118
- },
2119
- 2: {
2120
- name: 'fixed_line',
2121
- required: true,
2122
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2123
- type: i18n.phonenumbers.PhoneNumberDesc
2124
- },
2125
- 3: {
2126
- name: 'mobile',
2127
- required: true,
2128
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2129
- type: i18n.phonenumbers.PhoneNumberDesc
2130
- },
2131
- 4: {
2132
- name: 'toll_free',
2133
- required: true,
2134
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2135
- type: i18n.phonenumbers.PhoneNumberDesc
2136
- },
2137
- 5: {
2138
- name: 'premium_rate',
2139
- required: true,
2140
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2141
- type: i18n.phonenumbers.PhoneNumberDesc
2142
- },
2143
- 6: {
2144
- name: 'shared_cost',
2145
- required: true,
2146
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2147
- type: i18n.phonenumbers.PhoneNumberDesc
2148
- },
2149
- 7: {
2150
- name: 'personal_number',
2151
- required: true,
2152
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2153
- type: i18n.phonenumbers.PhoneNumberDesc
2154
- },
2155
- 8: {
2156
- name: 'voip',
2157
- required: true,
2158
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2159
- type: i18n.phonenumbers.PhoneNumberDesc
2160
- },
2161
- 21: {
2162
- name: 'pager',
2163
- required: true,
2164
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2165
- type: i18n.phonenumbers.PhoneNumberDesc
2166
- },
2167
- 25: {
2168
- name: 'uan',
2169
- required: true,
2170
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2171
- type: i18n.phonenumbers.PhoneNumberDesc
2172
- },
2173
- 27: {
2174
- name: 'emergency',
2175
- required: true,
2176
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2177
- type: i18n.phonenumbers.PhoneNumberDesc
2178
- },
2179
- 28: {
2180
- name: 'voicemail',
2181
- required: true,
2182
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2183
- type: i18n.phonenumbers.PhoneNumberDesc
2184
- },
2185
- 24: {
2186
- name: 'no_international_dialling',
2187
- required: true,
2188
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2189
- type: i18n.phonenumbers.PhoneNumberDesc
2190
- },
2191
- 9: {
2192
- name: 'id',
2193
- required: true,
2194
- fieldType: goog.proto2.Message.FieldType.STRING,
2195
- type: String
2196
- },
2197
- 10: {
2198
- name: 'country_code',
2199
- required: true,
2200
- fieldType: goog.proto2.Message.FieldType.INT32,
2201
- type: Number
2202
- },
2203
- 11: {
2204
- name: 'international_prefix',
2205
- required: true,
2206
- fieldType: goog.proto2.Message.FieldType.STRING,
2207
- type: String
2208
- },
2209
- 17: {
2210
- name: 'preferred_international_prefix',
2211
- fieldType: goog.proto2.Message.FieldType.STRING,
2212
- type: String
2213
- },
2214
- 12: {
2215
- name: 'national_prefix',
2216
- fieldType: goog.proto2.Message.FieldType.STRING,
2217
- type: String
2218
- },
2219
- 13: {
2220
- name: 'preferred_extn_prefix',
2221
- fieldType: goog.proto2.Message.FieldType.STRING,
2222
- type: String
2223
- },
2224
- 15: {
2225
- name: 'national_prefix_for_parsing',
2226
- fieldType: goog.proto2.Message.FieldType.STRING,
2227
- type: String
2228
- },
2229
- 16: {
2230
- name: 'national_prefix_transform_rule',
2231
- fieldType: goog.proto2.Message.FieldType.STRING,
2232
- type: String
2233
- },
2234
- 18: {
2235
- name: 'same_mobile_and_fixed_line_pattern',
2236
- fieldType: goog.proto2.Message.FieldType.BOOL,
2237
- defaultValue: false,
2238
- type: Boolean
2239
- },
2240
- 19: {
2241
- name: 'number_format',
2242
- repeated: true,
2243
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2244
- type: i18n.phonenumbers.NumberFormat
2245
- },
2246
- 20: {
2247
- name: 'intl_number_format',
2248
- repeated: true,
2249
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2250
- type: i18n.phonenumbers.NumberFormat
2251
- },
2252
- 22: {
2253
- name: 'main_country_for_code',
2254
- fieldType: goog.proto2.Message.FieldType.BOOL,
2255
- defaultValue: false,
2256
- type: Boolean
2257
- },
2258
- 23: {
2259
- name: 'leading_digits',
2260
- fieldType: goog.proto2.Message.FieldType.STRING,
2261
- type: String
2262
- },
2263
- 26: {
2264
- name: 'leading_zero_possible',
2265
- fieldType: goog.proto2.Message.FieldType.BOOL,
2266
- defaultValue: false,
2267
- type: Boolean
2241
+ return i18n.phonenumbers.PhoneNumberDesc.descriptor_;
2242
+ };
2243
+
2244
+
2245
+ // Export getDescriptor static function robust to minification.
2246
+ i18n.phonenumbers.PhoneNumberDesc['ctor'] = i18n.phonenumbers.PhoneNumberDesc;
2247
+ i18n.phonenumbers.PhoneNumberDesc['ctor'].getDescriptor =
2248
+ i18n.phonenumbers.PhoneNumberDesc.prototype.getDescriptor;
2249
+
2250
+
2251
+ /** @override */
2252
+ i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor = function() {
2253
+ if (!i18n.phonenumbers.PhoneMetadata.descriptor_) {
2254
+ // The descriptor is created lazily when we instantiate a new instance.
2255
+ var descriptorObj = {
2256
+ 0: {
2257
+ name: 'PhoneMetadata',
2258
+ fullName: 'i18n.phonenumbers.PhoneMetadata'
2259
+ },
2260
+ 1: {
2261
+ name: 'general_desc',
2262
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2263
+ type: i18n.phonenumbers.PhoneNumberDesc
2264
+ },
2265
+ 2: {
2266
+ name: 'fixed_line',
2267
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2268
+ type: i18n.phonenumbers.PhoneNumberDesc
2269
+ },
2270
+ 3: {
2271
+ name: 'mobile',
2272
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2273
+ type: i18n.phonenumbers.PhoneNumberDesc
2274
+ },
2275
+ 4: {
2276
+ name: 'toll_free',
2277
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2278
+ type: i18n.phonenumbers.PhoneNumberDesc
2279
+ },
2280
+ 5: {
2281
+ name: 'premium_rate',
2282
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2283
+ type: i18n.phonenumbers.PhoneNumberDesc
2284
+ },
2285
+ 6: {
2286
+ name: 'shared_cost',
2287
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2288
+ type: i18n.phonenumbers.PhoneNumberDesc
2289
+ },
2290
+ 7: {
2291
+ name: 'personal_number',
2292
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2293
+ type: i18n.phonenumbers.PhoneNumberDesc
2294
+ },
2295
+ 8: {
2296
+ name: 'voip',
2297
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2298
+ type: i18n.phonenumbers.PhoneNumberDesc
2299
+ },
2300
+ 21: {
2301
+ name: 'pager',
2302
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2303
+ type: i18n.phonenumbers.PhoneNumberDesc
2304
+ },
2305
+ 25: {
2306
+ name: 'uan',
2307
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2308
+ type: i18n.phonenumbers.PhoneNumberDesc
2309
+ },
2310
+ 27: {
2311
+ name: 'emergency',
2312
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2313
+ type: i18n.phonenumbers.PhoneNumberDesc
2314
+ },
2315
+ 28: {
2316
+ name: 'voicemail',
2317
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2318
+ type: i18n.phonenumbers.PhoneNumberDesc
2319
+ },
2320
+ 24: {
2321
+ name: 'no_international_dialling',
2322
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2323
+ type: i18n.phonenumbers.PhoneNumberDesc
2324
+ },
2325
+ 9: {
2326
+ name: 'id',
2327
+ required: true,
2328
+ fieldType: goog.proto2.Message.FieldType.STRING,
2329
+ type: String
2330
+ },
2331
+ 10: {
2332
+ name: 'country_code',
2333
+ fieldType: goog.proto2.Message.FieldType.INT32,
2334
+ type: Number
2335
+ },
2336
+ 11: {
2337
+ name: 'international_prefix',
2338
+ fieldType: goog.proto2.Message.FieldType.STRING,
2339
+ type: String
2340
+ },
2341
+ 17: {
2342
+ name: 'preferred_international_prefix',
2343
+ fieldType: goog.proto2.Message.FieldType.STRING,
2344
+ type: String
2345
+ },
2346
+ 12: {
2347
+ name: 'national_prefix',
2348
+ fieldType: goog.proto2.Message.FieldType.STRING,
2349
+ type: String
2350
+ },
2351
+ 13: {
2352
+ name: 'preferred_extn_prefix',
2353
+ fieldType: goog.proto2.Message.FieldType.STRING,
2354
+ type: String
2355
+ },
2356
+ 15: {
2357
+ name: 'national_prefix_for_parsing',
2358
+ fieldType: goog.proto2.Message.FieldType.STRING,
2359
+ type: String
2360
+ },
2361
+ 16: {
2362
+ name: 'national_prefix_transform_rule',
2363
+ fieldType: goog.proto2.Message.FieldType.STRING,
2364
+ type: String
2365
+ },
2366
+ 18: {
2367
+ name: 'same_mobile_and_fixed_line_pattern',
2368
+ fieldType: goog.proto2.Message.FieldType.BOOL,
2369
+ defaultValue: false,
2370
+ type: Boolean
2371
+ },
2372
+ 19: {
2373
+ name: 'number_format',
2374
+ repeated: true,
2375
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2376
+ type: i18n.phonenumbers.NumberFormat
2377
+ },
2378
+ 20: {
2379
+ name: 'intl_number_format',
2380
+ repeated: true,
2381
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2382
+ type: i18n.phonenumbers.NumberFormat
2383
+ },
2384
+ 22: {
2385
+ name: 'main_country_for_code',
2386
+ fieldType: goog.proto2.Message.FieldType.BOOL,
2387
+ defaultValue: false,
2388
+ type: Boolean
2389
+ },
2390
+ 23: {
2391
+ name: 'leading_digits',
2392
+ fieldType: goog.proto2.Message.FieldType.STRING,
2393
+ type: String
2394
+ },
2395
+ 26: {
2396
+ name: 'leading_zero_possible',
2397
+ fieldType: goog.proto2.Message.FieldType.BOOL,
2398
+ defaultValue: false,
2399
+ type: Boolean
2400
+ }
2401
+ };
2402
+ i18n.phonenumbers.PhoneMetadata.descriptor_ =
2403
+ goog.proto2.Message.createDescriptor(
2404
+ i18n.phonenumbers.PhoneMetadata, descriptorObj);
2268
2405
  }
2269
- });
2270
-
2271
-
2272
- goog.proto2.Message.set$Metadata(i18n.phonenumbers.PhoneMetadataCollection, {
2273
- 0: {
2274
- name: 'PhoneMetadataCollection',
2275
- fullName: 'i18n.phonenumbers.PhoneMetadataCollection'
2276
- },
2277
- 1: {
2278
- name: 'metadata',
2279
- repeated: true,
2280
- fieldType: goog.proto2.Message.FieldType.MESSAGE,
2281
- type: i18n.phonenumbers.PhoneMetadata
2406
+ return i18n.phonenumbers.PhoneMetadata.descriptor_;
2407
+ };
2408
+
2409
+
2410
+ // Export getDescriptor static function robust to minification.
2411
+ i18n.phonenumbers.PhoneMetadata['ctor'] = i18n.phonenumbers.PhoneMetadata;
2412
+ i18n.phonenumbers.PhoneMetadata['ctor'].getDescriptor =
2413
+ i18n.phonenumbers.PhoneMetadata.prototype.getDescriptor;
2414
+
2415
+
2416
+ /** @override */
2417
+ i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor = function() {
2418
+ if (!i18n.phonenumbers.PhoneMetadataCollection.descriptor_) {
2419
+ // The descriptor is created lazily when we instantiate a new instance.
2420
+ var descriptorObj = {
2421
+ 0: {
2422
+ name: 'PhoneMetadataCollection',
2423
+ fullName: 'i18n.phonenumbers.PhoneMetadataCollection'
2424
+ },
2425
+ 1: {
2426
+ name: 'metadata',
2427
+ repeated: true,
2428
+ fieldType: goog.proto2.Message.FieldType.MESSAGE,
2429
+ type: i18n.phonenumbers.PhoneMetadata
2430
+ }
2431
+ };
2432
+ i18n.phonenumbers.PhoneMetadataCollection.descriptor_ =
2433
+ goog.proto2.Message.createDescriptor(
2434
+ i18n.phonenumbers.PhoneMetadataCollection, descriptorObj);
2282
2435
  }
2283
- });
2436
+ return i18n.phonenumbers.PhoneMetadataCollection.descriptor_;
2437
+ };
2438
+
2439
+
2440
+ // Export getDescriptor static function robust to minification.
2441
+ i18n.phonenumbers.PhoneMetadataCollection['ctor'] = i18n.phonenumbers.PhoneMetadataCollection;
2442
+ i18n.phonenumbers.PhoneMetadataCollection['ctor'].getDescriptor =
2443
+ i18n.phonenumbers.PhoneMetadataCollection.prototype.getDescriptor;