phonelib 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.rdoc +3 -2
  3. data/data/extended_data.dat +0 -0
  4. data/data/libphonenumber/README.md +2 -2
  5. data/data/libphonenumber/cpp/src/phonenumbers/lite_metadata.cc +9378 -9374
  6. data/data/libphonenumber/cpp/src/phonenumbers/metadata.cc +10179 -10175
  7. data/data/libphonenumber/cpp/src/phonenumbers/short_metadata.cc +2322 -2321
  8. data/data/libphonenumber/cpp/test/phonenumbers/shortnumberinfo_test.cc +4 -2
  9. data/data/libphonenumber/java/carrier/pom.xml +4 -4
  10. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/232_en +0 -0
  11. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/65_en +0 -0
  12. data/data/libphonenumber/java/carrier/src/com/google/i18n/phonenumbers/carrier/data/972_en +0 -0
  13. data/data/libphonenumber/java/demo/pom.xml +5 -5
  14. data/data/libphonenumber/java/geocoder/pom.xml +4 -4
  15. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1220_en +0 -0
  16. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1628_en +0 -0
  17. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/1629_en +0 -0
  18. data/data/libphonenumber/java/geocoder/src/com/google/i18n/phonenumbers/geocoding/data/config +0 -0
  19. data/data/libphonenumber/java/internal/prefixmapper/pom.xml +3 -3
  20. data/data/libphonenumber/java/libphonenumber/pom.xml +2 -2
  21. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_CA +0 -0
  22. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_HU +0 -0
  23. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IL +0 -0
  24. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_JO +0 -0
  25. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_LU +0 -0
  26. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SG +0 -0
  27. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_SL +0 -0
  28. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_US +0 -0
  29. data/data/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/data/ShortNumberMetadataProto_BI +0 -0
  30. data/data/libphonenumber/java/pom.xml +1 -1
  31. data/data/libphonenumber/java/release_notes.txt +9 -0
  32. data/data/libphonenumber/javascript/i18n/phonenumbers/asyoutypeformatter_test.js +6 -4
  33. data/data/libphonenumber/javascript/i18n/phonenumbers/demo-compiled.js +82 -82
  34. data/data/libphonenumber/javascript/i18n/phonenumbers/metadata.js +14 -14
  35. data/data/libphonenumber/javascript/i18n/phonenumbers/metadatalite.js +14 -14
  36. data/data/libphonenumber/resources/PhoneNumberMetadata.xml +34 -20
  37. data/data/libphonenumber/resources/ShortNumberMetadata.xml +17 -7
  38. data/data/libphonenumber/resources/carrier/en/232.txt +8 -0
  39. data/data/libphonenumber/resources/carrier/en/65.txt +188 -0
  40. data/data/libphonenumber/resources/carrier/en/972.txt +2 -0
  41. data/data/libphonenumber/resources/geocoding/en/1.txt +3 -0
  42. data/data/libphonenumber/resources/geocoding/en/86.txt +8219 -1528
  43. data/data/libphonenumber/resources/geocoding/zh/86.txt +7262 -569
  44. data/data/phone_data.dat +0 -0
  45. data/lib/phonelib/phone.rb +4 -1
  46. data/lib/phonelib/version.rb +1 -1
  47. metadata +5 -2
@@ -36,8 +36,10 @@ class ShortNumberInfoTest : public testing::Test {
36
36
  PhoneNumber ParseNumberForTesting(const string& number,
37
37
  const string& region_code) {
38
38
  PhoneNumber phone_number;
39
- CHECK_EQ(phone_util_.Parse(number, region_code, &phone_number),
40
- PhoneNumberUtil::NO_PARSING_ERROR);
39
+ PhoneNumberUtil::ErrorType error_type = phone_util_.Parse(
40
+ number, region_code, &phone_number);
41
+ CHECK_EQ(error_type, PhoneNumberUtil::NO_PARSING_ERROR);
42
+ IGNORE_UNUSED(error_type);
41
43
  return phone_number;
42
44
  }
43
45
 
@@ -3,14 +3,14 @@
3
3
  <modelVersion>4.0.0</modelVersion>
4
4
  <groupId>com.googlecode.libphonenumber</groupId>
5
5
  <artifactId>carrier</artifactId>
6
- <version>1.10-SNAPSHOT</version>
6
+ <version>1.11-SNAPSHOT</version>
7
7
  <packaging>jar</packaging>
8
8
  <url>https://github.com/googlei18n/libphonenumber/</url>
9
9
 
10
10
  <parent>
11
11
  <groupId>com.googlecode.libphonenumber</groupId>
12
12
  <artifactId>libphonenumber-parent</artifactId>
13
- <version>7.0.3-SNAPSHOT</version>
13
+ <version>7.0.5-SNAPSHOT</version>
14
14
  </parent>
15
15
 
16
16
  <build>
@@ -34,12 +34,12 @@
34
34
  <dependency>
35
35
  <groupId>com.googlecode.libphonenumber</groupId>
36
36
  <artifactId>libphonenumber</artifactId>
37
- <version>7.0.3-SNAPSHOT</version>
37
+ <version>7.0.5-SNAPSHOT</version>
38
38
  </dependency>
39
39
  <dependency>
40
40
  <groupId>com.googlecode.libphonenumber</groupId>
41
41
  <artifactId>prefixmapper</artifactId>
42
- <version>2.20-SNAPSHOT</version>
42
+ <version>2.21-SNAPSHOT</version>
43
43
  </dependency>
44
44
  </dependencies>
45
45
 
@@ -4,11 +4,11 @@
4
4
  <parent>
5
5
  <artifactId>libphonenumber-parent</artifactId>
6
6
  <groupId>com.googlecode.libphonenumber</groupId>
7
- <version>7.0.3-SNAPSHOT</version>
7
+ <version>7.0.5-SNAPSHOT</version>
8
8
  </parent>
9
9
  <groupId>com.googlecode.libphonenumber</groupId>
10
10
  <artifactId>demo</artifactId>
11
- <version>7.0.3-SNAPSHOT</version>
11
+ <version>7.0.5-SNAPSHOT</version>
12
12
 
13
13
  <properties>
14
14
  <gae.version>1.5.4</gae.version>
@@ -43,17 +43,17 @@
43
43
  <dependency>
44
44
  <groupId>com.googlecode.libphonenumber</groupId>
45
45
  <artifactId>libphonenumber</artifactId>
46
- <version>7.0.3-SNAPSHOT</version>
46
+ <version>7.0.5-SNAPSHOT</version>
47
47
  </dependency>
48
48
  <dependency>
49
49
  <groupId>com.googlecode.libphonenumber</groupId>
50
50
  <artifactId>geocoder</artifactId>
51
- <version>2.20-SNAPSHOT</version>
51
+ <version>2.21-SNAPSHOT</version>
52
52
  </dependency>
53
53
  <dependency>
54
54
  <groupId>com.googlecode.libphonenumber</groupId>
55
55
  <artifactId>carrier</artifactId>
56
- <version>1.10-SNAPSHOT</version>
56
+ <version>1.11-SNAPSHOT</version>
57
57
  </dependency>
58
58
  </dependencies>
59
59
 
@@ -3,14 +3,14 @@
3
3
  <modelVersion>4.0.0</modelVersion>
4
4
  <groupId>com.googlecode.libphonenumber</groupId>
5
5
  <artifactId>geocoder</artifactId>
6
- <version>2.20-SNAPSHOT</version>
6
+ <version>2.21-SNAPSHOT</version>
7
7
  <packaging>jar</packaging>
8
8
  <url>https://github.com/googlei18n/libphonenumber/</url>
9
9
 
10
10
  <parent>
11
11
  <groupId>com.googlecode.libphonenumber</groupId>
12
12
  <artifactId>libphonenumber-parent</artifactId>
13
- <version>7.0.3-SNAPSHOT</version>
13
+ <version>7.0.5-SNAPSHOT</version>
14
14
  </parent>
15
15
 
16
16
  <build>
@@ -42,12 +42,12 @@
42
42
  <dependency>
43
43
  <groupId>com.googlecode.libphonenumber</groupId>
44
44
  <artifactId>libphonenumber</artifactId>
45
- <version>7.0.3-SNAPSHOT</version>
45
+ <version>7.0.5-SNAPSHOT</version>
46
46
  </dependency>
47
47
  <dependency>
48
48
  <groupId>com.googlecode.libphonenumber</groupId>
49
49
  <artifactId>prefixmapper</artifactId>
50
- <version>2.20-SNAPSHOT</version>
50
+ <version>2.21-SNAPSHOT</version>
51
51
  </dependency>
52
52
  </dependencies>
53
53
 
@@ -3,14 +3,14 @@
3
3
  <modelVersion>4.0.0</modelVersion>
4
4
  <groupId>com.googlecode.libphonenumber</groupId>
5
5
  <artifactId>prefixmapper</artifactId>
6
- <version>2.20-SNAPSHOT</version>
6
+ <version>2.21-SNAPSHOT</version>
7
7
  <packaging>jar</packaging>
8
8
  <url>https://github.com/googlei18n/libphonenumber/</url>
9
9
 
10
10
  <parent>
11
11
  <groupId>com.googlecode.libphonenumber</groupId>
12
12
  <artifactId>libphonenumber-parent</artifactId>
13
- <version>7.0.3-SNAPSHOT</version>
13
+ <version>7.0.5-SNAPSHOT</version>
14
14
  <relativePath>../../pom.xml</relativePath>
15
15
  </parent>
16
16
 
@@ -29,7 +29,7 @@
29
29
  <dependency>
30
30
  <groupId>com.googlecode.libphonenumber</groupId>
31
31
  <artifactId>libphonenumber</artifactId>
32
- <version>7.0.3-SNAPSHOT</version>
32
+ <version>7.0.5-SNAPSHOT</version>
33
33
  </dependency>
34
34
  </dependencies>
35
35
 
@@ -3,14 +3,14 @@
3
3
  <modelVersion>4.0.0</modelVersion>
4
4
  <groupId>com.googlecode.libphonenumber</groupId>
5
5
  <artifactId>libphonenumber</artifactId>
6
- <version>7.0.3-SNAPSHOT</version>
6
+ <version>7.0.5-SNAPSHOT</version>
7
7
  <packaging>jar</packaging>
8
8
  <url>https://github.com/googlei18n/libphonenumber/</url>
9
9
 
10
10
  <parent>
11
11
  <groupId>com.googlecode.libphonenumber</groupId>
12
12
  <artifactId>libphonenumber-parent</artifactId>
13
- <version>7.0.3-SNAPSHOT</version>
13
+ <version>7.0.5-SNAPSHOT</version>
14
14
  </parent>
15
15
 
16
16
  <build>
@@ -3,7 +3,7 @@
3
3
  <modelVersion>4.0.0</modelVersion>
4
4
  <groupId>com.googlecode.libphonenumber</groupId>
5
5
  <artifactId>libphonenumber-parent</artifactId>
6
- <version>7.0.3-SNAPSHOT</version>
6
+ <version>7.0.5-SNAPSHOT</version>
7
7
  <packaging>pom</packaging>
8
8
  <url>https://github.com/googlei18n/libphonenumber/</url>
9
9
 
@@ -1,3 +1,12 @@
1
+ Mar 25, 2015: libphonenumber-7.0.4
2
+ * Metadata changes:
3
+ - Updated phone metadata for region code(s): CA, HU, IL, JO, LU, SG, SL, US
4
+ - Updated short number metadata for region code(s): BI
5
+ - New geocoding data for country calling code(s):
6
+ 1220 (en), 1628 (en), 1629 (en)
7
+ - Updated carrier data for country calling code(s):
8
+ 65 (en), 232 (en), 972 (en)
9
+
1
10
  Mar 02, 2015: libphonenumber-7.0.3
2
11
  * Metadata changes:
3
12
  - Updated phone metadata for region code(s):
@@ -1154,17 +1154,19 @@ function testAYTFClearNDDAfterIddExtraction() {
1154
1154
  /** @type {i18n.phonenumbers.AsYouTypeFormatter} */
1155
1155
  var f = new i18n.phonenumbers.AsYouTypeFormatter(RegionCode.KR);
1156
1156
 
1157
- // Check that when we have successfully extracted an IDD, the previously
1158
- // extracted NDD is cleared since it is no longer valid.
1159
1157
  assertEquals('0', f.inputDigit('0'));
1160
1158
  assertEquals('00', f.inputDigit('0'));
1161
1159
  assertEquals('007', f.inputDigit('7'));
1162
1160
  assertEquals('0070', f.inputDigit('0'));
1163
1161
  assertEquals('00700', f.inputDigit('0'));
1164
- assertEquals('0', f.getExtractedNationalPrefix_());
1162
+ // NDD is '0' at this stage (the first '0' in '00700') because it's not
1163
+ // clear if the number is a national number or using the IDD to dial out.
1165
1164
  assertEquals('00700 1 ', f.inputDigit('1'));
1166
- assertEquals('', f.getExtractedNationalPrefix_());
1165
+ // NDD should be cleared here because IDD '00700' was extracted after the
1166
+ // country calling code '1' (US) was entered.
1167
1167
  assertEquals('00700 1 2', f.inputDigit('2'));
1168
+ // The remaining long sequence of inputs is because the original bug that
1169
+ // this test if for only triggered after a lot of subsequent inputs.
1168
1170
  assertEquals('00700 1 23', f.inputDigit('3'));
1169
1171
  assertEquals('00700 1 234', f.inputDigit('4'));
1170
1172
  assertEquals('00700 1 234 5', f.inputDigit('5'));
@@ -1,16 +1,16 @@
1
- (function(){var k=this;
1
+ (function(){var k,l=this;
2
2
  function aa(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==
3
- b&&"undefined"==typeof a.call)return"object";return b}function l(a){return"string"==typeof a}function n(a,b){function c(){}c.prototype=b.prototype;a.za=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ha=function(a,c,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[c].apply(a,g)}};function p(a){if(Error.captureStackTrace)Error.captureStackTrace(this,p);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}n(p,Error);p.prototype.name="CustomError";function ba(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")}var ca=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function da(a,b){return a<b?-1:a>b?1:0};function ea(a,b){b.unshift(a);p.call(this,ba.apply(null,b));b.shift()}n(ea,p);ea.prototype.name="AssertionError";function fa(a,b){throw new ea("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));};var ga=Array.prototype,ha=ga.indexOf?function(a,b,c){return ga.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(l(a))return l(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};function ia(a,b){a.sort(b||ja)}function ja(a,b){return a>b?1:a<b?-1:0};var q;a:{var ka=k.navigator;if(ka){var la=ka.userAgent;if(la){q=la;break a}}q=""};function ma(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function na(a,b){var c;a:{for(c in a)if(b.call(void 0,a[c],c,a))break a;c=void 0}return c&&a[c]};var oa=-1!=q.indexOf("Opera")||-1!=q.indexOf("OPR"),r=-1!=q.indexOf("Trident")||-1!=q.indexOf("MSIE"),pa=-1!=q.indexOf("Gecko")&&-1==q.toLowerCase().indexOf("webkit")&&!(-1!=q.indexOf("Trident")||-1!=q.indexOf("MSIE")),qa=-1!=q.toLowerCase().indexOf("webkit");function ra(){var a=k.document;return a?a.documentMode:void 0}
4
- var sa=function(){var a="",b;if(oa&&k.opera)return a=k.opera.version,"function"==aa(a)?a():a;pa?b=/rv\:([^\);]+)(\)|;)/:r?b=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:qa&&(b=/WebKit\/(\S+)/);b&&(a=(a=b.exec(q))?a[1]:"");return r&&(b=ra(),b>parseFloat(a))?String(b):a}(),ta={};
5
- function ua(a){if(!ta[a]){for(var b=0,c=ca(String(sa)).split("."),d=ca(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"",m=RegExp("(\\d*)(\\D*)","g"),v=RegExp("(\\d*)(\\D*)","g");do{var w=m.exec(g)||["","",""],N=v.exec(h)||["","",""];if(0==w[0].length&&0==N[0].length)break;b=da(0==w[1].length?0:parseInt(w[1],10),0==N[1].length?0:parseInt(N[1],10))||da(0==w[2].length,0==N[2].length)||da(w[2],N[2])}while(0==b)}ta[a]=0<=b}}
6
- var va=k.document,wa=va&&r?ra()||("CSS1Compat"==va.compatMode?parseInt(sa,10):5):void 0;var xa;if(!(xa=!pa&&!r)){var ya;if(ya=r)ya=r&&9<=wa;xa=ya}xa||pa&&ua("1.9.1");r&&ua("9");function za(a){var b=document;return l(a)?b.getElementById(a):a};function Aa(a){return(new Ba(void 0)).da(a)}function Ba(a){this.fa=a}Ba.prototype.da=function(a){var b=[];Ca(this,a,b);return b.join("")};
7
- function Ca(a,b,c){switch(typeof b){case "string":Da(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(null==b){c.push("null");break}if("array"==aa(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++)c.push(e),e=b[f],Ca(a,a.fa?a.fa.call(b,String(f),e):e,c),e=",";c.push("]");break}c.push("{");d="";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&(e=b[f],"function"!=typeof e&&(c.push(d),
8
- Da(f,c),c.push(":"),Ca(a,a.fa?a.fa.call(b,f,e):e,c),d=","));c.push("}");break;case "function":break;default:throw Error("Unknown type: "+typeof b);}}var Ea={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Fa=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
9
- function Da(a,b){b.push('"',a.replace(Fa,function(a){if(a in Ea)return Ea[a];var b=a.charCodeAt(0),e="\\u";16>b?e+="000":256>b?e+="00":4096>b&&(e+="0");return Ea[a]=e+b.toString(16)}),'"')};function Ga(a,b,c){this.i=b;this.oa=c.name;this.s=!!c.ra;this.l=c.a;this.pa=c.type;this.ka=!1;switch(this.l){case Ha:case Ia:case Ja:case Ka:case La:case Ma:case Na:this.ka=!0}this.aa=c.defaultValue}var Na=1,Ma=2,Ha=3,Ia=4,Ja=6,Ka=16,La=18;Ga.prototype.getName=function(){return this.oa};function Oa(a,b,c){this.xa=a;this.oa=b.name||null;this.m={};for(a=0;a<c.length;a++)b=c[a],this.m[b.i]=b}Oa.prototype.getName=function(){return this.oa};function Pa(a){a=ma(a.m);ia(a,function(a,c){return a.i-c.i});return a}function Qa(a,b){return na(a.m,function(a){return a.getName()==b})||null};function t(){this.k={};this.m=this.c().m;this.e=this.na=null}function Ra(a,b){for(var c in a.k){var d=Number(c);a.m[d]||b.call(a,d,a.k[c])}}t.prototype.has=function(a){return u(this,a.i)};t.prototype.get=function(a,b){return x(this,a.i,b)};t.prototype.set=function(a,b){y(this,a.i,b)};t.prototype.add=function(a,b){Sa(this,a.i,b)};t.prototype.clear=function(a){Ta(this,a.i)};
10
- function Ua(a,b){for(var c=Pa(a.c()),d=0;d<c.length;d++){var e=c[d],f=e.i;if(u(b,f)){a.e&&delete a.e[e.i];var g=11==e.l||10==e.l;if(e.s)for(var e=z(b,f)||[],h=0;h<e.length;h++)Sa(a,f,g?e[h].clone():e[h]);else e=z(b,f),g?(g=z(a,f))?Ua(g,e):y(a,f,e.clone()):y(a,f,e)}}}t.prototype.clone=function(){var a=new this.constructor;a!=this&&(a.k={},a.e&&(a.e={}),Ua(a,this));return a};function u(a,b){return null!=a.k[b]}
11
- function z(a,b){var c=a.k[b];if(null==c)return null;if(a.na){if(!(b in a.e)){var d=a.na,e=a.m[b];if(null!=c)if(e.s){for(var f=[],g=0;g<c.length;g++)f[g]=d.p(e,c[g]);c=f}else c=d.p(e,c);return a.e[b]=c}return a.e[b]}return c}function x(a,b,c){var d=z(a,b);return a.m[b].s?d[c||0]:d}function A(a,b){var c;if(u(a,b))c=x(a,b,void 0);else a:{c=a.m[b];if(void 0===c.aa){var d=c.pa;if(d===Boolean)c.aa=!1;else if(d===Number)c.aa=0;else if(d===String)c.aa=c.ka?"0":"";else{c=new d;break a}}c=c.aa}return c}
12
- function B(a,b){return a.m[b].s?u(a,b)?a.k[b].length:0:u(a,b)?1:0}function y(a,b,c){a.k[b]=c;a.e&&(a.e[b]=c)}function Sa(a,b,c){a.k[b]||(a.k[b]=[]);a.k[b].push(c);a.e&&delete a.e[b]}function Ta(a,b){delete a.k[b];a.e&&delete a.e[b]}function Va(a,b){var c=[],d=b[0],e;for(e in b)0!=e&&c.push(new Ga(0,e,b[e]));return new Oa(a,d,c)};function C(){}C.prototype.t=function(a,b){return 11==a.l||10==a.l?this.da(b):"number"!=typeof b||isFinite(b)?b:b.toString()};C.prototype.ba=function(a,b){var c=new a.xa;this.ta(c,b);return c};C.prototype.p=function(a,b){if(11==a.l||10==a.l)return b instanceof t?b:this.ba(a.pa.prototype.c(),b);if(14==a.l||!a.ka)return b;var c=a.pa;if(c===String){if("number"==typeof b)return String(b)}else if(c===Number&&l(b)&&("Infinity"===b||"-Infinity"===b||"NaN"===b||/^-?[0-9]+$/.test(b)))return Number(b);return b};function D(a){this.Ca=a}n(D,C);D.prototype.da=function(a){for(var b=Pa(a.c()),c={},d=0;d<b.length;d++){var e=b[d],f=1==this.Ca?e.getName():e.i;if(a.has(e))if(e.s){var g=[];c[f]=g;for(f=0;f<B(a,e.i);f++)g.push(this.t(e,a.get(e,f)))}else c[f]=this.t(e,a.get(e))}Ra(a,function(a,b){c[a]=b});return c};D.prototype.p=function(a,b){return 8==a.l&&"number"==typeof b?Boolean(b):D.za.p.call(this,a,b)};
13
- D.prototype.ta=function(a,b){var c=a.c(),d;for(d in b){var e,f=b[d],g=!/[^0-9]/.test(d);if(e=g?c.m[parseInt(d,10)]||null:Qa(c,d))if(e.s)for(g=0;g<f.length;g++)a.add(e,this.p(e,f[g]));else a.set(e,this.p(e,f));else g?(e=a,g=Number(d),e.k[g]=f,e.e&&delete e.e[g]):fa("Failed to find field: "+e)}};function E(a,b){null!=a&&this.append.apply(this,arguments)}E.prototype.g="";E.prototype.set=function(a){this.g=""+a};E.prototype.append=function(a,b,c){this.g+=a;if(null!=b)for(var d=1;d<arguments.length;d++)this.g+=arguments[d];return this};E.prototype.clear=function(){this.g=""};E.prototype.toString=function(){return this.g};/*
3
+ b&&"undefined"==typeof a.call)return"object";return b}function n(a){return"string"==typeof a}function p(a,b){function c(){}c.prototype=b.prototype;a.za=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ia=function(a,c,f){return b.prototype[c].apply(a,Array.prototype.slice.call(arguments,2))}};var ba=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function ca(a,b){return a<b?-1:a>b?1:0};var da=Array.prototype,ea=da.indexOf?function(a,b,c){return da.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(n(a))return n(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};function fa(a,b){a.sort(b||ga)}function ga(a,b){return a>b?1:a<b?-1:0};var q;a:{var ha=l.navigator;if(ha){var ia=ha.userAgent;if(ia){q=ia;break a}}q=""};function ja(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function ka(a,b){var c;a:{for(c in a)if(b.call(void 0,a[c],c,a))break a;c=void 0}return c&&a[c]};var la=-1!=q.indexOf("Opera")||-1!=q.indexOf("OPR"),r=-1!=q.indexOf("Trident")||-1!=q.indexOf("MSIE"),ma=-1!=q.indexOf("Gecko")&&-1==q.toLowerCase().indexOf("webkit")&&!(-1!=q.indexOf("Trident")||-1!=q.indexOf("MSIE")),na=-1!=q.toLowerCase().indexOf("webkit");function oa(){var a=l.document;return a?a.documentMode:void 0}
4
+ var pa=function(){var a="",b;if(la&&l.opera)return a=l.opera.version,"function"==aa(a)?a():a;ma?b=/rv\:([^\);]+)(\)|;)/:r?b=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:na&&(b=/WebKit\/(\S+)/);b&&(a=(a=b.exec(q))?a[1]:"");return r&&(b=oa(),b>parseFloat(a))?String(b):a}(),qa={};
5
+ function ra(a){if(!qa[a]){for(var b=0,c=ba(String(pa)).split("."),d=ba(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"",m=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var v=m.exec(g)||["","",""],M=u.exec(h)||["","",""];if(0==v[0].length&&0==M[0].length)break;b=ca(0==v[1].length?0:parseInt(v[1],10),0==M[1].length?0:parseInt(M[1],10))||ca(0==v[2].length,0==M[2].length)||ca(v[2],M[2])}while(0==b)}qa[a]=0<=b}}
6
+ var sa=l.document,ta=sa&&r?oa()||("CSS1Compat"==sa.compatMode?parseInt(pa,10):5):void 0;var ua;if(!(ua=!ma&&!r)){var va;if(va=r)va=r&&9<=ta;ua=va}ua||ma&&ra("1.9.1");r&&ra("9");function s(a){var b=document;return n(a)?b.getElementById(a):a};function wa(a){return(new xa(void 0)).da(a)}function xa(a){this.fa=a}xa.prototype.da=function(a){var b=[];ya(this,a,b);return b.join("")};
7
+ function ya(a,b,c){switch(typeof b){case "string":za(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(null==b){c.push("null");break}if("array"==aa(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++)c.push(e),e=b[f],ya(a,a.fa?a.fa.call(b,String(f),e):e,c),e=",";c.push("]");break}c.push("{");d="";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&(e=b[f],"function"!=typeof e&&(c.push(d),
8
+ za(f,c),c.push(":"),ya(a,a.fa?a.fa.call(b,f,e):e,c),d=","));c.push("}");break;case "function":break;default:throw Error("Unknown type: "+typeof b);}}var Aa={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Ba=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;
9
+ function za(a,b){b.push('"',a.replace(Ba,function(a){if(a in Aa)return Aa[a];var b=a.charCodeAt(0),e="\\u";16>b?e+="000":256>b?e+="00":4096>b&&(e+="0");return Aa[a]=e+b.toString(16)}),'"')};function Ca(a,b,c){this.i=b;this.oa=c.name;this.s=!!c.ra;this.l=c.a;this.pa=c.type;this.ka=!1;switch(this.l){case Da:case Ea:case Fa:case Ga:case Ha:case Ia:case Ja:this.ka=!0}this.aa=c.defaultValue}var Ja=1,Ia=2,Da=3,Ea=4,Fa=6,Ga=16,Ha=18;Ca.prototype.getName=function(){return this.oa};function Ka(a,b,c){this.xa=a;this.oa=b.name||null;this.m={};for(a=0;a<c.length;a++)b=c[a],this.m[b.i]=b}Ka.prototype.getName=function(){return this.oa};function La(a){a=ja(a.m);fa(a,function(a,c){return a.i-c.i});return a}function Ma(a,b){return ka(a.m,function(a){return a.getName()==b})||null};function t(){this.k={};this.m=this.c().m;this.e=this.na=null}function Na(a,b){for(var c in a.k){var d=Number(c);a.m[d]||b.call(a,d,a.k[c])}}k=t.prototype;k.c=function(){var a=this.constructor;return a.Ca||(a.Ca=w(a,a.Ja))};k.has=function(a){return x(this,a.i)};k.get=function(a,b){return y(this,a.i,b)};k.set=function(a,b){z(this,a.i,b)};k.add=function(a,b){Oa(this,a.i,b)};k.clear=function(a){A(this,a.i)};
10
+ function Pa(a,b){for(var c=La(a.c()),d=0;d<c.length;d++){var e=c[d],f=e.i;if(x(b,f)){a.e&&delete a.e[e.i];var g=11==e.l||10==e.l;if(e.s)for(var e=B(b,f)||[],h=0;h<e.length;h++)Oa(a,f,g?e[h].clone():e[h]);else e=B(b,f),g?(g=B(a,f))?Pa(g,e):z(a,f,e.clone()):z(a,f,e)}}}k.clone=function(){var a=new this.constructor;a!=this&&(a.k={},a.e&&(a.e={}),Pa(a,this));return a};function x(a,b){return null!=a.k[b]}
11
+ function B(a,b){var c=a.k[b];if(null==c)return null;if(a.na){if(!(b in a.e)){var d=a.na,e=a.m[b];if(null!=c)if(e.s){for(var f=[],g=0;g<c.length;g++)f[g]=d.p(e,c[g]);c=f}else c=d.p(e,c);return a.e[b]=c}return a.e[b]}return c}function y(a,b,c){var d=B(a,b);return a.m[b].s?d[c||0]:d}function C(a,b){var c;if(x(a,b))c=y(a,b,void 0);else a:{c=a.m[b];if(void 0===c.aa){var d=c.pa;if(d===Boolean)c.aa=!1;else if(d===Number)c.aa=0;else if(d===String)c.aa=c.ka?"0":"";else{c=new d;break a}}c=c.aa}return c}
12
+ function D(a,b){return a.m[b].s?x(a,b)?a.k[b].length:0:x(a,b)?1:0}function z(a,b,c){a.k[b]=c;a.e&&(a.e[b]=c)}function Oa(a,b,c){a.k[b]||(a.k[b]=[]);a.k[b].push(c);a.e&&delete a.e[b]}function A(a,b){delete a.k[b];a.e&&delete a.e[b]}function w(a,b){var c=[],d=b[0],e;for(e in b)0!=e&&c.push(new Ca(0,e,b[e]));return new Ka(a,d,c)};function E(){}E.prototype.t=function(a,b){return 11==a.l||10==a.l?this.da(b):"number"!=typeof b||isFinite(b)?b:b.toString()};E.prototype.ba=function(a,b){var c=new a.xa;this.ta(c,b);return c};E.prototype.p=function(a,b){if(11==a.l||10==a.l)return b instanceof t?b:this.ba(a.pa.c(),b);if(14==a.l||!a.ka)return b;var c=a.pa;if(c===String){if("number"==typeof b)return String(b)}else if(c===Number&&n(b)&&("Infinity"===b||"-Infinity"===b||"NaN"===b||/^-?[0-9]+$/.test(b)))return Number(b);return b};function F(a){this.Da=a}p(F,E);F.prototype.da=function(a){for(var b=La(a.c()),c={},d=0;d<b.length;d++){var e=b[d],f=1==this.Da?e.getName():e.i;if(a.has(e))if(e.s){var g=[];c[f]=g;for(f=0;f<D(a,e.i);f++)g.push(this.t(e,a.get(e,f)))}else c[f]=this.t(e,a.get(e))}Na(a,function(a,b){c[a]=b});return c};F.prototype.p=function(a,b){return 8==a.l&&"number"==typeof b?Boolean(b):F.za.p.call(this,a,b)};
13
+ F.prototype.ta=function(a,b){var c=a.c(),d;for(d in b){var e,f=b[d],g=!/[^0-9]/.test(d);if(e=g?c.m[parseInt(d,10)]||null:Ma(c,d))if(e.s)for(g=0;g<f.length;g++)a.add(e,this.p(e,f[g]));else a.set(e,this.p(e,f));else g&&(e=a,g=Number(d),e.k[g]=f,e.e&&delete e.e[g])}};function G(a,b){null!=a&&this.append.apply(this,arguments)}k=G.prototype;k.g="";k.set=function(a){this.g=""+a};k.append=function(a,b,c){this.g+=a;if(null!=b)for(var d=1;d<arguments.length;d++)this.g+=arguments[d];return this};k.clear=function(){this.g=""};k.toString=function(){return this.g};/*
14
14
 
15
15
  Protocol Buffer 2 Copyright 2008 Google Inc.
16
16
  All other code copyright its respective owners.
@@ -28,12 +28,12 @@ D.prototype.ta=function(a,b){var c=a.c(),d;for(d in b){var e,f=b[d],g=!/[^0-9]/.
28
28
  See the License for the specific language governing permissions and
29
29
  limitations under the License.
30
30
  */
31
- function F(){t.call(this)}var Wa;n(F,t);function G(){t.call(this)}var Xa;n(G,t);function H(){t.call(this)}var Ya;n(H,t);H.prototype.ua=function(){return x(this,10)};H.prototype.f=function(){return A(this,10)};H.prototype.ea=function(a){y(this,10,a)};
32
- F.prototype.c=function(){Wa||(Wa=Va(F,{0:{name:"NumberFormat",la:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,a:9,type:String},2:{name:"format",required:!0,a:9,type:String},3:{name:"leading_digits_pattern",ra:!0,a:9,type:String},4:{name:"national_prefix_formatting_rule",a:9,type:String},6:{name:"national_prefix_optional_when_formatting",a:8,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",a:9,type:String}}));return Wa};F.ctor=F;F.ctor.c=F.prototype.c;
33
- G.prototype.c=function(){Xa||(Xa=Va(G,{0:{name:"PhoneNumberDesc",la:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",a:9,type:String},3:{name:"possible_number_pattern",a:9,type:String},6:{name:"example_number",a:9,type:String},7:{name:"national_number_matcher_data",a:12,type:String},8:{name:"possible_number_matcher_data",a:12,type:String}}));return Xa};G.ctor=G;G.ctor.c=G.prototype.c;
34
- H.prototype.c=function(){Ya||(Ya=Va(H,{0:{name:"PhoneMetadata",la:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",a:11,type:G},2:{name:"fixed_line",a:11,type:G},3:{name:"mobile",a:11,type:G},4:{name:"toll_free",a:11,type:G},5:{name:"premium_rate",a:11,type:G},6:{name:"shared_cost",a:11,type:G},7:{name:"personal_number",a:11,type:G},8:{name:"voip",a:11,type:G},21:{name:"pager",a:11,type:G},25:{name:"uan",a:11,type:G},27:{name:"emergency",a:11,type:G},28:{name:"voicemail",a:11,type:G},24:{name:"no_international_dialling",
35
- a:11,type:G},9:{name:"id",required:!0,a:9,type:String},10:{name:"country_code",a:5,type:Number},11:{name:"international_prefix",a:9,type:String},17:{name:"preferred_international_prefix",a:9,type:String},12:{name:"national_prefix",a:9,type:String},13:{name:"preferred_extn_prefix",a:9,type:String},15:{name:"national_prefix_for_parsing",a:9,type:String},16:{name:"national_prefix_transform_rule",a:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",a:8,defaultValue:!1,type:Boolean},19:{name:"number_format",
36
- ra:!0,a:11,type:F},20:{name:"intl_number_format",ra:!0,a:11,type:F},22:{name:"main_country_for_code",a:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",a:9,type:String},26:{name:"leading_zero_possible",a:8,defaultValue:!1,type:Boolean}}));return Ya};H.ctor=H;H.ctor.c=H.prototype.c;/*
31
+ function H(){t.call(this)}var Qa;p(H,t);function I(){t.call(this)}var Ra;p(I,t);function J(){t.call(this)}var Sa;p(J,t);J.prototype.ua=function(){return y(this,10)};J.prototype.f=function(){return C(this,10)};J.prototype.ea=function(a){z(this,10,a)};
32
+ H.prototype.c=function(){Qa||(Qa=w(H,{0:{name:"NumberFormat",la:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,a:9,type:String},2:{name:"format",required:!0,a:9,type:String},3:{name:"leading_digits_pattern",ra:!0,a:9,type:String},4:{name:"national_prefix_formatting_rule",a:9,type:String},6:{name:"national_prefix_optional_when_formatting",a:8,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",a:9,type:String}}));return Qa};H.ctor=H;H.ctor.c=H.prototype.c;
33
+ I.prototype.c=function(){Ra||(Ra=w(I,{0:{name:"PhoneNumberDesc",la:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",a:9,type:String},3:{name:"possible_number_pattern",a:9,type:String},6:{name:"example_number",a:9,type:String},7:{name:"national_number_matcher_data",a:12,type:String},8:{name:"possible_number_matcher_data",a:12,type:String}}));return Ra};I.ctor=I;I.ctor.c=I.prototype.c;
34
+ J.prototype.c=function(){Sa||(Sa=w(J,{0:{name:"PhoneMetadata",la:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",a:11,type:I},2:{name:"fixed_line",a:11,type:I},3:{name:"mobile",a:11,type:I},4:{name:"toll_free",a:11,type:I},5:{name:"premium_rate",a:11,type:I},6:{name:"shared_cost",a:11,type:I},7:{name:"personal_number",a:11,type:I},8:{name:"voip",a:11,type:I},21:{name:"pager",a:11,type:I},25:{name:"uan",a:11,type:I},27:{name:"emergency",a:11,type:I},28:{name:"voicemail",a:11,type:I},24:{name:"no_international_dialling",
35
+ a:11,type:I},9:{name:"id",required:!0,a:9,type:String},10:{name:"country_code",a:5,type:Number},11:{name:"international_prefix",a:9,type:String},17:{name:"preferred_international_prefix",a:9,type:String},12:{name:"national_prefix",a:9,type:String},13:{name:"preferred_extn_prefix",a:9,type:String},15:{name:"national_prefix_for_parsing",a:9,type:String},16:{name:"national_prefix_transform_rule",a:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",a:8,defaultValue:!1,type:Boolean},19:{name:"number_format",
36
+ ra:!0,a:11,type:H},20:{name:"intl_number_format",ra:!0,a:11,type:H},22:{name:"main_country_for_code",a:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",a:9,type:String},26:{name:"leading_zero_possible",a:8,defaultValue:!1,type:Boolean}}));return Sa};J.ctor=J;J.ctor.c=J.prototype.c;/*
37
37
 
38
38
  Protocol Buffer 2 Copyright 2008 Google Inc.
39
39
  All other code copyright its respective owners.
@@ -51,10 +51,10 @@ ra:!0,a:11,type:F},20:{name:"intl_number_format",ra:!0,a:11,type:F},22:{name:"ma
51
51
  See the License for the specific language governing permissions and
52
52
  limitations under the License.
53
53
  */
54
- function I(){t.call(this)}var Za;n(I,t);I.prototype.ua=function(){return x(this,1)};I.prototype.f=function(){return A(this,1)};I.prototype.ea=function(a){y(this,1,a)};I.prototype.getExtension=function(){return x(this,3)};var $a={Ga:1,Fa:5,Ea:10,Da:20};
55
- I.prototype.c=function(){Za||(Za=Va(I,{0:{name:"PhoneNumber",la:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,a:5,type:Number},2:{name:"national_number",required:!0,a:4,type:Number},3:{name:"extension",a:9,type:String},4:{name:"italian_leading_zero",a:8,type:Boolean},8:{name:"number_of_leading_zeros",a:5,defaultValue:1,type:Number},5:{name:"raw_input",a:9,type:String},6:{name:"country_code_source",a:14,defaultValue:1,type:$a},7:{name:"preferred_domestic_carrier_code",a:9,type:String}}));
56
- return Za};I.ctor=I;I.ctor.c=I.prototype.c;function ab(){}n(ab,C);ab.prototype.ba=function(a,b){var c=new a.xa;c.na=this;c.k=b;c.e={};return c};ab.prototype.ta=function(){throw Error("Unimplemented");};function J(){}n(J,ab);J.prototype.Aa=!1;J.prototype.da=function(a){for(var b=Pa(a.c()),c=[],d=this.Aa,e=0;e<b.length;e++){var f=b[e];if(a.has(f)){var g=f.i,g=d?g-1:g;if(f.s){c[g]=[];for(var h=0;h<B(a,f.i);h++)c[g][h]=this.t(f,a.get(f,h))}else c[g]=this.t(f,a.get(f))}}Ra(a,function(a,b){c[d?a-1:a]=b});return c};J.prototype.t=function(a,b){return 8==a.l?b?1:0:C.prototype.t.apply(this,arguments)};J.prototype.p=function(a,b){return 8==a.l?!!b:C.prototype.p.apply(this,arguments)};
57
- J.prototype.ba=function(a,b){var c=b;if(this.Aa){var c=[],d;for(d in b)c[parseInt(d,10)+1]=b[d]}return J.za.ba.call(this,a,c)};/*
54
+ function K(){t.call(this)}var Ta;p(K,t);K.prototype.ua=function(){return y(this,1)};K.prototype.f=function(){return C(this,1)};K.prototype.ea=function(a){z(this,1,a)};K.prototype.getExtension=function(){return y(this,3)};var Ua={Ha:1,Ga:5,Fa:10,Ea:20};
55
+ K.prototype.c=function(){Ta||(Ta=w(K,{0:{name:"PhoneNumber",la:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,a:5,type:Number},2:{name:"national_number",required:!0,a:4,type:Number},3:{name:"extension",a:9,type:String},4:{name:"italian_leading_zero",a:8,type:Boolean},8:{name:"number_of_leading_zeros",a:5,defaultValue:1,type:Number},5:{name:"raw_input",a:9,type:String},6:{name:"country_code_source",a:14,defaultValue:1,type:Ua},7:{name:"preferred_domestic_carrier_code",a:9,type:String}}));
56
+ return Ta};K.ctor=K;K.ctor.c=K.prototype.c;function Va(){}p(Va,E);Va.prototype.ba=function(a,b){var c=new a.xa;c.na=this;c.k=b;c.e={};return c};Va.prototype.ta=function(){throw Error("Unimplemented");};function Wa(){}p(Wa,Va);k=Wa.prototype;k.Aa=!1;k.da=function(a){for(var b=La(a.c()),c=[],d=this.Aa,e=0;e<b.length;e++){var f=b[e];if(a.has(f)){var g=f.i,g=d?g-1:g;if(f.s){c[g]=[];for(var h=0;h<D(a,f.i);h++)c[g][h]=this.t(f,a.get(f,h))}else c[g]=this.t(f,a.get(f))}}Na(a,function(a,b){c[d?a-1:a]=b});return c};k.t=function(a,b){return 8==a.l?b?1:0:E.prototype.t.apply(this,arguments)};k.p=function(a,b){return 8==a.l?!!b:E.prototype.p.apply(this,arguments)};
57
+ k.ba=function(a,b){var c=b;if(this.Aa){var c=[],d;for(d in b)c[parseInt(d,10)+1]=b[d]}return Wa.za.ba.call(this,a,c)};/*
58
58
 
59
59
  Copyright (C) 2010 The Libphonenumber Authors
60
60
 
@@ -70,11 +70,11 @@ J.prototype.ba=function(a,b){var c=b;if(this.Aa){var c=[],d;for(d in b)c[parseIn
70
70
  See the License for the specific language governing permissions and
71
71
  limitations under the License.
72
72
  */
73
- var K={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],
73
+ var L={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],
74
74
  86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],
75
75
  253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],379:["VA"],380:["UA"],381:["RS"],382:["ME"],385:["HR"],
76
76
  386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],
77
- 691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},bb={AC:[,[,,"[2-7]\\d{3,5}","\\d{4,6}"],
77
+ 691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},Xa={AC:[,[,,"[2-7]\\d{3,5}","\\d{4,6}"],
78
78
  [,,"(?:[267]\\d|3[0-5]|4[4-69])\\d{2}","\\d{4}",,,"6889"],[,,"5\\d{5}","\\d{6}",,,"501234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AC",247,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AD:[,[,,"(?:[346-9]|180)\\d{5}","\\d{6,8}"],[,,"[78]\\d{5}","\\d{6}",,,"712345"],[,,"[346]\\d{5}","\\d{6}",,,"312345"],[,,"180[02]\\d{4}","\\d{8}",,,"18001234"],[,,"9\\d{5}","\\d{6}",,,"912345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"AD",376,"00",,,,,
79
79
  ,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[346-9]"],"","",0],[,"(180[02])(\\d{4})","$1 $2",["1"],"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],AE:[,[,,"[2-79]\\d{7,8}|800\\d{2,9}","\\d{5,12}"],[,,"[2-4679][2-8]\\d{6}","\\d{7,8}",,,"22345678"],[,,"5[0256]\\d{7}","\\d{9}",,,"501234567"],[,,"400\\d{6}|800\\d{2,9}","\\d{5,12}",,,"800123456"],[,,"900[02]\\d{5}","\\d{9}",,,"900234567"],[,,"700[05]\\d{5}","\\d{9}",,,"700012345"],[,,"NA","NA"],[,,"NA","NA"],"AE",971,"00","0",,,"0",,,,[[,
80
80
  "([2-4679])(\\d{3})(\\d{4})","$1 $2 $3",["[2-4679][2-8]"],"0$1","",0],[,"(5[0256])(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1","",0],[,"([479]00)(\\d)(\\d{5})","$1 $2 $3",["[479]0"],"$1","",0],[,"([68]00)(\\d{2,9})","$1 $2",["60|8"],"$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"600[25]\\d{5}","\\d{9}",,,"600212345"],,,[,,"NA","NA"]],AF:[,[,,"[2-7]\\d{8}","\\d{7,9}"],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}","\\d{7,9}",,,"234567890"],[,,"7(?:[05-9]\\d{7}|29\\d{6})","\\d{9}",,,"701234567"],[,,"NA",
@@ -124,7 +124,7 @@ var K={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC V
124
124
  "\\d{7,9}",,,"152450911"],[,,"(?:2(?:5[5679]|9[1-9])|33\\d|44\\d)\\d{6}","\\d{9}",,,"294911911"],[,,"8(?:0[13]|20\\d)\\d{7}","\\d{10,11}",,,"8011234567"],[,,"(?:810|902)\\d{7}","\\d{10}",,,"9021234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"249\\d{6}","\\d{9}",,,"249123456"],"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]"],"8 0$1","",0],[,"(\\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])",
125
125
  "1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"],"8 0$1","",0],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1","",0],[,"([89]\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8[01]|9"],"8 $1","",0],[,"(8\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["82"],"8 $1","",0]],,[,,"NA","NA"],,,[,,"8(?:[013]|[12]0)\\d{8}|902\\d{7}","\\d{10,11}",,,"82012345678"],
126
126
  [,,"NA","NA"],,,[,,"NA","NA"]],BZ:[,[,,"[2-8]\\d{6}|0\\d{10}","\\d{7}(?:\\d{4})?"],[,,"[234578][02]\\d{5}","\\d{7}",,,"2221234"],[,,"6[0-367]\\d{5}","\\d{7}",,,"6221234"],[,,"0800\\d{7}","\\d{11}",,,"08001234123"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"],"","",0],[,"(0)(800)(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"],"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],CA:[,[,,"[2-9]\\d{9}|3\\d{6}","\\d{7}(?:\\d{3})?"],
127
- [,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|79|8[17])|6(?:0[04]|13|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"2042345678"],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|79|8[17])|6(?:0[04]|13|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2042345678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"8002123456"],
127
+ [,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"2042345678"],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}","\\d{7}(?:\\d{3})?",,,"2042345678"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}|310\\d{4}","\\d{7}(?:\\d{3})?",,,"8002123456"],
128
128
  [,,"900[2-9]\\d{6}","\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"CA",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CC:[,[,,"[1458]\\d{5,9}","\\d{6,10}"],[,,"89162\\d{4}","\\d{8,9}",,,"891621234"],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[47-9]|5[0-25-9]|6[6-9]|7[03-9]|8[17-9]|9[017-9])\\d{6}","\\d{9}",,,"412345678"],[,,"1(?:80(?:0\\d{2})?|3(?:00\\d{2})?)\\d{4}","\\d{6,10}",,,"1800123456"],
129
129
  [,,"190[0126]\\d{6}","\\d{10}",,,"1900123456"],[,,"NA","NA"],[,,"500\\d{6}","\\d{9}",,,"500123456"],[,,"550\\d{6}","\\d{9}",,,"550123456"],"CC",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CD:[,[,,"[2-6]\\d{6}|[18]\\d{6,8}|9\\d{8}","\\d{7,9}"],[,,"1(?:2\\d{7}|\\d{6})|[2-6]\\d{6}","\\d{7,9}",,,"1234567"],[,,"8(?:[0-2459]\\d{2}|8)\\d{5}|9[7-9]\\d{7}","\\d{7,9}",,,"991234567"],[,,"NA","NA"],[,,"NA","NA"],[,
130
130
  ,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["12"],"0$1","",0],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[0-2459]|9"],"0$1","",0],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1","",0],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],CF:[,[,,"[278]\\d{7}","\\d{8}"],[,,"2[12]\\d{6}","\\d{8}",,,"21612345"],[,,"7[0257]\\d{6}","\\d{8}",,,"70012345"],[,,"NA","NA"],[,
@@ -203,14 +203,14 @@ var K={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC V
203
203
  "NA"],[,,"NA","NA"],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2",,"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HR:[,[,,"[1-7]\\d{5,8}|[89]\\d{6,11}","\\d{6,12}"],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6}","\\d{6,8}",,,"12345678"],[,,"9[1257-9]\\d{6,10}","\\d{8,12}",,,"912345678"],[,,"80[01]\\d{4,7}","\\d{7,10}",,,"8001234567"],[,,"6(?:[09]\\d{7}|[145]\\d{4,7})","\\d{6,9}",,,"611234"],[,,"NA","NA"],[,,"7[45]\\d{4,7}","\\d{6,9}",,,"741234567"],[,,"NA","NA"],
204
204
  "HR",385,"00","0",,,"0",,,,[[,"(1)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1","",0],[,"(6[09])(\\d{4})(\\d{3})","$1 $2 $3",["6[09]"],"0$1","",0],[,"(62)(\\d{3})(\\d{3,4})","$1 $2 $3",["62"],"0$1","",0],[,"([2-5]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-5]"],"0$1","",0],[,"(9\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1","",0],[,"(9\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9"],"0$1","",0],[,"(9\\d)(\\d{3,4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"],"0$1","",0],[,"(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[145]|7"],
205
205
  "0$1","",0],[,"(\\d{2})(\\d{3,4})(\\d{3})","$1 $2 $3",["6[145]|7"],"0$1","",0],[,"(80[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1","",0],[,"(80[01])(\\d{3,4})(\\d{3})","$1 $2 $3",["8"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"62\\d{6,7}","\\d{8,9}",,,"62123456"],,,[,,"NA","NA"]],HT:[,[,,"[2-489]\\d{7}","\\d{8}"],[,,"2(?:[24]\\d|5[1-5]|94)\\d{5}","\\d{8}",,,"22453300"],[,,"(?:3[1-9]|4\\d)\\d{6}","\\d{8}",,,"34101234"],[,,"8\\d{7}","\\d{8}",,,"80012345"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA",
206
- "NA"],[,,"98[89]\\d{5}","\\d{8}",,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",,"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HU:[,[,,"[1-9]\\d{7,8}","\\d{6,9}"],[,,"(?:1\\d|2(?:1\\d|[2-9])|3[2-7]|4[24-9]|5[2-79]|6[23689]|7(?:1\\d|[2-9])|8[2-57-9]|9[2-69])\\d{6}","\\d{6,9}",,,"12345678"],[,,"(?:[27]0|3[01])\\d{7}","\\d{9}",,,"201234567"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"9[01]\\d{6}","\\d{8}",,,"90123456"],[,,"40\\d{6}","\\d{8}",,,"40123456"],
207
- [,,"NA","NA"],[,,"NA","NA"],"HU",36,"00","06",,,"06",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"($1)","",0],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"($1)","",0]],,[,,"NA","NA"],,,[,,"[48]0\\d{6}","\\d{8}",,,"80123456"],[,,"NA","NA"],,,[,,"NA","NA"]],ID:[,[,,"[1-9]\\d{6,10}","\\d{5,11}"],[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|2[1-578]|3[1-68]|4[1-3]|5[1-8]|6[1-3568]|7[0-46]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[1246-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-469]|4[1-6])|7(?:1[1-9]|2[14-9]|[36]\\d|4[1-8]|5[1-9]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",
206
+ "NA"],[,,"98[89]\\d{5}","\\d{8}",,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",,"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],HU:[,[,,"[1-9]\\d{7,8}","\\d{6,9}"],[,,"(?:1\\d|2(?:1\\d|[2-9])|3(?:[2-7]|8\\d)|4[24-9]|5[2-79]|6[23689]|7(?:1\\d|[2-9])|8[2-57-9]|9[2-69])\\d{6}","\\d{6,9}",,,"12345678"],[,,"(?:[257]0|3[01])\\d{7}","\\d{9}",,,"201234567"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"9[01]\\d{6}","\\d{8}",,,"90123456"],[,,"40\\d{6}","\\d{8}",
207
+ ,,"40123456"],[,,"NA","NA"],[,,"NA","NA"],"HU",36,"00","06",,,"06",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"($1)","",0],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"($1)","",0]],,[,,"NA","NA"],,,[,,"[48]0\\d{6}","\\d{8}",,,"80123456"],[,,"NA","NA"],,,[,,"NA","NA"]],ID:[,[,,"[1-9]\\d{6,10}","\\d{5,11}"],[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|2[1-578]|3[1-68]|4[1-3]|5[1-8]|6[1-3568]|7[0-46]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[1246-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-469]|4[1-6])|7(?:1[1-9]|2[14-9]|[36]\\d|4[1-8]|5[1-9]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",
208
208
  "\\d{5,11}",,,"612345678"],[,,"(?:2(?:1(?:3[145]|4[01]|5[1-469]|60|8[0359]|9\\d)|2(?:88|9[1256])|3[1-4]9|4(?:36|91)|5(?:1[349]|[2-4]9)|6[0-7]9|7(?:[1-36]9|4[39])|8[1-5]9|9[1-48]9)|3(?:19[1-3]|2[12]9|3[13]9|4(?:1[69]|39)|5[14]9|6(?:1[69]|2[89])|709)|4[13]19|5(?:1(?:19|8[39])|4[129]9|6[12]9)|6(?:19[12]|2(?:[23]9|77))|7(?:1[13]9|2[15]9|419|5(?:1[89]|29)|6[15]9|7[178]9))\\d{5,6}|8[1-35-9]\\d{7,9}","\\d{9,11}",,,"812345678"],[,,"177\\d{6,8}|800\\d{5,7}","\\d{8,11}",,,"8001234567"],[,,"809\\d{7}","\\d{10}",
209
209
  ,,"8091234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"ID",62,"0(?:0[1789]|10(?:00|1[67]))","0",,,"0",,,,[[,"(\\d{2})(\\d{5,8})","$1 $2",["2[124]|[36]1"],"(0$1)","",0],[,"(\\d{3})(\\d{5,8})","$1 $2",["[4579]|2[035-9]|[36][02-9]"],"(0$1)","",0],[,"(8\\d{2})(\\d{3,4})(\\d{3,4})","$1-$2-$3",["8[1-35-9]"],"0$1","",0],[,"(177)(\\d{6,8})","$1 $2",["1"],"0$1","",0],[,"(800)(\\d{5,7})","$1 $2",["800"],"0$1","",0],[,"(80\\d)(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80[79]"],"0$1","",0]],,[,,"NA","NA"],,,
210
210
  [,,"8071\\d{6}","\\d{10}",,,"8071123456"],[,,"8071\\d{6}","\\d{10}",,,"8071123456"],,,[,,"NA","NA"]],IE:[,[,,"[124-9]\\d{6,9}","\\d{5,10}"],[,,"1\\d{7,8}|2(?:1\\d{6,7}|3\\d{7}|[24-9]\\d{5})|4(?:0[24]\\d{5}|[1-469]\\d{7}|5\\d{6}|7\\d{5}|8[0-46-9]\\d{7})|5(?:0[45]\\d{5}|1\\d{6}|[23679]\\d{7}|8\\d{5})|6(?:1\\d{6}|[237-9]\\d{5}|[4-6]\\d{7})|7[14]\\d{7}|9(?:1\\d{6}|[04]\\d{7}|[35-9]\\d{5})","\\d{5,10}",,,"2212345"],[,,"8(?:22\\d{6}|[35-9]\\d{7})","\\d{9}",,,"850123456"],[,,"1800\\d{6}","\\d{10}",,,"1800123456"],
211
211
  [,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}","\\d{10}",,,"1520123456"],[,,"18[59]0\\d{6}","\\d{10}",,,"1850123456"],[,,"700\\d{6}","\\d{9}",,,"700123456"],[,,"76\\d{7}","\\d{9}",,,"761234567"],"IE",353,"00","0",,,"0",,,,[[,"(1)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)","",0],[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)","",0],[,"(\\d{3})(\\d{5})","$1 $2",["40[24]|50[45]"],"(0$1)","",0],[,"(48)(\\d{4})(\\d{4})","$1 $2 $3",["48"],"(0$1)","",0],[,"(818)(\\d{3})(\\d{3})","$1 $2 $3",
212
212
  ["81"],"(0$1)","",0],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[24-69]|7[14]"],"(0$1)","",0],[,"([78]\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["76|8[35-9]"],"0$1","",0],[,"(700)(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1","",0],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:8[059]|5)","1(?:8[059]0|5)"],"$1","",0]],,[,,"NA","NA"],,,[,,"18[59]0\\d{6}","\\d{10}",,,"1850123456"],[,,"818\\d{6}","\\d{9}",,,"818123456"],,,[,,"8[35-9]\\d{8}","\\d{10}",,,"8501234567"]],IL:[,[,,"[17]\\d{6,9}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}",
213
- "\\d{4,10}"],[,,"[2-489]\\d{7}","\\d{7,8}",,,"21234567"],[,,"5(?:[02347-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[78]|8[89]|9[7-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"],[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}",,,"1800123456"],[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"],[,,"1700\\d{6}","\\d{10}",,,"1700123456"],[,,"NA","NA"],[,,"7(?:2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[068])|7\\d{2}|8(?:33|55|77|81))\\d{5}","\\d{9}",,,"771234567"],"IL",972,"0(?:0|1[2-9])",
213
+ "\\d{4,10}"],[,,"[2-489]\\d{7}","\\d{7,8}",,,"21234567"],[,,"5(?:[02347-9]\\d{2}|5(?:01|2[23]|3[34]|4[45]|5[5689]|6[67]|7[0178]|8[89]|9[7-9])|6[2-9]\\d)\\d{5}","\\d{9}",,,"501234567"],[,,"1(?:80[019]\\d{3}|255)\\d{3}","\\d{7,10}",,,"1800123456"],[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}","\\d{8,10}",,,"1919123456"],[,,"1700\\d{6}","\\d{10}",,,"1700123456"],[,,"NA","NA"],[,,"7(?:2[23]\\d|3[237]\\d|47\\d|6(?:5\\d|8[068])|7\\d{2}|8(?:33|55|77|81))\\d{5}","\\d{9}",,,"771234567"],"IL",972,"0(?:0|1[2-9])",
214
214
  "0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1","",0],[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1","",0],[,"(1)([7-9]\\d{2})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"],"$1","",0],[,"(1255)(\\d{3})","$1-$2",["125"],"$1","",0],[,"(1200)(\\d{3})(\\d{3})","$1-$2-$3",["120"],"$1","",0],[,"(1212)(\\d{2})(\\d{2})","$1-$2-$3",["121"],"$1","",0],[,"(1599)(\\d{6})","$1-$2",["15"],"$1","",0],[,"(\\d{4})","*$1",["[2-689]"],"$1","",0]],,[,,"NA","NA"],,,[,,"1700\\d{6}|[2-689]\\d{3}",
215
215
  "\\d{4,10}",,,"1700123456"],[,,"[2-689]\\d{3}|1599\\d{6}","\\d{4}(?:\\d{6})?",,,"1599123456"],,,[,,"NA","NA"]],IM:[,[,,"[135789]\\d{6,9}","\\d{6,10}"],[,,"1624\\d{6}","\\d{6,10}",,,"1624456789"],[,,"7[569]24\\d{6}","\\d{10}",,,"7924123456"],[,,"808162\\d{4}","\\d{10}",,,"8081624567"],[,,"(?:872299|90[0167]624)\\d{4}","\\d{10}",,,"9016247890"],[,,"8(?:4(?:40[49]06|5624\\d)|70624\\d)\\d{3}","\\d{10}",,,"8456247890"],[,,"70\\d{8}","\\d{10}",,,"7012345678"],[,,"56\\d{8}","\\d{10}",,,"5612345678"],"IM",
216
216
  44,"00","0"," x",,"0",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"3(?:08162\\d|3\\d{5}|4(?:40[49]06|5624\\d)|7(?:0624\\d|2299\\d))\\d{3}|55\\d{8}","\\d{10}",,,"5512345678"],,,[,,"NA","NA"]],IN:[,[,,"1\\d{7,12}|[2-9]\\d{9,10}","\\d{6,13}"],[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:[136][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}",
@@ -230,7 +230,7 @@ var K={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC V
230
230
  "\\d{10}",,,"9018105678"],[,,"8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|70002)\\d{4}","\\d{10}",,,"8447034567"],[,,"701511\\d{4}","\\d{10}",,,"7015115678"],[,,"56\\d{8}","\\d{10}",,,"5612345678"],"JE",44,"00","0"," x",,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}","\\d{10}",,,"7640123456"],,,[,,"NA","NA"],[,,"3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))\\d{4}|55\\d{8}","\\d{10}",,,"5512345678"],,,[,,"NA","NA"]],JM:[,[,,
231
231
  "[589]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"876(?:5(?:0[12]|1[0-468]|2[35]|63)|6(?:0[1-3579]|1[027-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468]))\\d{4}","\\d{7}(?:\\d{3})?",,,"8765123456"],[,,"876(?:2[1789]\\d|[348]\\d{2}|5(?:0[3-9]|27|6[0-24-9]|[3-578]\\d)|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579]))\\d{4}","\\d{10}",,,"8762101234"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002123456"],[,,"900[2-9]\\d{6}",
232
232
  "\\d{10}",,,"9002123456"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"JM",1,"011","1",,,"1",,,,,,[,,"NA","NA"],,"876",[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],JO:[,[,,"[235-9]\\d{7,8}","\\d{7,9}"],[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][02]|9[0-2])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-2]|[57][02]|60)|53(?:0[0-2]|[13][02]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|300|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|9[09]))\\d{4}",
233
- "\\d{7,8}",,,"62001234"],[,,"7(?:55|7[25-9]|8[05-9]|9[015-9])\\d{6}","\\d{9}",,,"790123456"],[,,"80\\d{6}","\\d{8}",,,"80012345"],[,,"900\\d{5}","\\d{8}",,,"90012345"],[,,"85\\d{6}","\\d{8}",,,"85012345"],[,,"70\\d{7}","\\d{9}",,,"700123456"],[,,"NA","NA"],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)","",0],[,"(7)(\\d{4})(\\d{4})","$1 $2 $3",["7[457-9]"],"0$1","",0],[,"(\\d{3})(\\d{5,6})","$1 $2",["70|8[0158]|9"],"0$1","",0]],,[,,"74(?:66|77)\\d{5}","\\d{9}",
233
+ "\\d{7,8}",,,"62001234"],[,,"7(?:55|7[25-9]|8[05-9]|9[0-25-9])\\d{6}","\\d{9}",,,"790123456"],[,,"80\\d{6}","\\d{8}",,,"80012345"],[,,"900\\d{5}","\\d{8}",,,"90012345"],[,,"85\\d{6}","\\d{8}",,,"85012345"],[,,"70\\d{7}","\\d{9}",,,"700123456"],[,,"NA","NA"],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)","",0],[,"(7)(\\d{4})(\\d{4})","$1 $2 $3",["7[457-9]"],"0$1","",0],[,"(\\d{3})(\\d{5,6})","$1 $2",["70|8[0158]|9"],"0$1","",0]],,[,,"74(?:66|77)\\d{5}","\\d{9}",
234
234
  ,,"746612345"],,,[,,"NA","NA"],[,,"8(?:10|8\\d)\\d{5}","\\d{8}",,,"88101234"],,,[,,"NA","NA"]],JP:[,[,,"[1-9]\\d{8,9}|00(?:[36]\\d{7,14}|7\\d{5,7}|8\\d{7})","\\d{8,17}"],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|2[2-9]\\d|[36][1-9]\\d|4(?:6[02-8]|[2-578]\\d|9[2-59])|5(?:6[1-9]|7[2-8]|[2-589]\\d)|7(?:3[4-9]|4[02-9]|[25-9]\\d)|8(?:3[2-9]|4[5-9]|5[1-9]|8[03-9]|[2679]\\d)|9(?:[679][1-9]|[2-58]\\d))\\d{6}","\\d{9}",,,"312345678"],[,,"[7-9]0[1-9]\\d{7}","\\d{10}",,,"7012345678"],
235
235
  [,,"120\\d{6}|800\\d{7}|00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})","\\d{8,17}",,,"120123456"],[,,"990\\d{6}","\\d{9}",,,"990123456"],[,,"NA","NA"],[,,"60\\d{7}","\\d{9}",,,"601234567"],[,,"50[1-9]\\d{7}","\\d{10}",,,"5012345678"],"JP",81,"010","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1","",0],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1","",0],[,"(\\d{4})(\\d{4})","$1-$2",["0077"],"$1","",0],[,"(\\d{4})(\\d{2})(\\d{3,4})",
236
236
  "$1-$2-$3",["0077"],"$1","",0],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["0088"],"$1","",0],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["00(?:37|66)"],"$1","",0],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["00(?:37|66)"],"$1","",0],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["00(?:37|66)"],"$1","",0],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["00(?:37|66)"],"$1","",0],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[2579]0|80[1-9]"],"0$1","",0],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|5(?:76|97)|499|746|8(?:3[89]|63|47|51)|9(?:49|80|9[16])",
@@ -269,15 +269,15 @@ var K={1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC V
269
269
  "\\d{7,9}"],[,,"2\\d{7}","\\d{8}",,,"21234567"],[,,"(?:330\\d|4[67]|5\\d|77\\d{2}|88\\d{2}|994\\d)\\d{5}","\\d{7,9}",,,"770123456"],[,,"NA","NA"],[,,"90[03]\\d{6}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"332(?:0[02]|5\\d)\\d{4}","\\d{9}",,,"332001234"],"LR",231,"00","0",,,"0",,,,[[,"(2\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1","",0],[,"([79]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[79]"],"0$1","",0],[,"([4-6])(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1","",0],[,"(\\d{2})(\\d{3})(\\d{4})",
270
270
  "$1 $2 $3",["[38]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LS:[,[,,"[2568]\\d{7}","\\d{8}"],[,,"2\\d{7}","\\d{8}",,,"22123456"],[,,"[56]\\d{7}","\\d{8}",,,"50123456"],[,,"800[256]\\d{4}","\\d{8}",,,"80021234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",,"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LT:[,[,,"[3-9]\\d{7}","\\d{8}"],[,,"(?:3[1478]|4[124-6]|52)\\d{6}","\\d{8}",
271
271
  ,,"31234567"],[,,"6\\d{7}","\\d{8}",,,"61234567"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}","\\d{8}",,,"90012345"],[,,"808\\d{5}","\\d{8}",,,"80812345"],[,,"700\\d{5}","\\d{8}",,,"70012345"],[,,"NA","NA"],"LT",370,"00","8",,,"[08]",,,,[[,"([34]\\d)(\\d{6})","$1 $2",["37|4(?:1|5[45]|6[2-4])"],"(8-$1)","",1],[,"([3-6]\\d{2})(\\d{5})","$1 $2",["3[148]|4(?:[24]|6[09])|528|6"],"(8-$1)","",1],[,"([7-9]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1","",1],[,"(5)(2\\d{2})(\\d{4})",
272
- "$1 $2 $3",["52[0-79]"],"(8-$1)","",1]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"70[67]\\d{5}","\\d{8}",,,"70712345"],,,[,,"NA","NA"]],LU:[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"],[,,"(?: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"],[,,"6[2679][18]\\d{6}","\\d{9}",,,"628123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[01]\\d{5}","\\d{8}",,,"90012345"],[,,"801\\d{5}","\\d{8}",,,"80112345"],
272
+ "$1 $2 $3",["52[0-79]"],"(8-$1)","",1]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"70[67]\\d{5}","\\d{8}",,,"70712345"],,,[,,"NA","NA"]],LU:[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})","\\d{4,11}"],[,,"(?: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"],[,,"6[2679][18]\\d{6}","\\d{9}",,,"628123456"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[015]\\d{5}","\\d{8}",,,"90012345"],[,,"801\\d{5}","\\d{8}",,,"80112345"],
273
273
  [,,"70\\d{6}","\\d{8}",,,"70123456"],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})","\\d{4,10}",,,"20201234"],"LU",352,"00",,,,"(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],"","$CC $1",0],[,
274
- "(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,4})","$1 $2 $3 $4",["2(?:[12589]|4[12])|[3-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],"","$CC $1",0],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0[01]|70"],"","$CC $1",0],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],"","$CC $1",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LV:[,[,
275
- ,"[2689]\\d{7}","\\d{8}"],[,,"6[3-8]\\d{6}","\\d{8}",,,"63123456"],[,,"2\\d{7}","\\d{8}",,,"21234567"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"81\\d{6}","\\d{8}",,,"81123456"],[,,"NA","NA"],[,,"NA","NA"],"LV",371,"00",,,,,,,,[[,"([2689]\\d)(\\d{3})(\\d{3})","$1 $2 $3",,"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LY:[,[,,"[25679]\\d{8}","\\d{7,9}"],[,,"(?:2[1345]|5[1347]|6[123479]|71)\\d{7}","\\d{7,9}",,,"212345678"],[,,"9[1-6]\\d{7}",
276
- "\\d{9}",,,"912345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LY",218,"00","0",,,"0",,,,[[,"([25679]\\d)(\\d{7})","$1-$2",,"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MA:[,[,,"[5689]\\d{8}","\\d{9}"],[,,"5(?:2(?:(?:[015-7]\\d|2[2-9]|3[2-57]|4[2-8]|8[235-7])\\d|9(?:0\\d|[89]0))|3(?:(?:[0-4]\\d|[57][2-9]|6[235-8]|9[3-9])\\d|8(?:0\\d|[89]0)))\\d{4}","\\d{9}",,,"520123456"],[,,"6(?:0[0-8]|[12-79]\\d|8[01])\\d{6}","\\d{9}",,,"650123456"],
277
- [,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"89\\d{7}","\\d{9}",,,"891234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MA",212,"00","0",,,"0",,,,[[,"([56]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|6"],"0$1","",0],[,"([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9])|892","5(?:2(?:[2-48]|90)|3(?:[5-79]|80))|892"],"0$1","",0],[,"(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"],"0$1","",0],[,"(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"],"0$1","",0]],,[,,"NA","NA"],1,,[,,"NA","NA"],[,
278
- ,"NA","NA"],,,[,,"NA","NA"]],MC:[,[,,"[4689]\\d{7,8}","\\d{8,9}"],[,,"870\\d{5}|9[2-47-9]\\d{6}","\\d{8}",,,"99123456"],[,,"6\\d{8}|4(?:4\\d|5[2-9])\\d{5}","\\d{8,9}",,,"612345678"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MC",377,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"$1","",0],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1","",0],[,"(6)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1","",
279
- 0],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["8"],"$1","",0]],,[,,"NA","NA"],,,[,,"8\\d{7}","\\d{8}"],[,,"NA","NA"],,,[,,"NA","NA"]],MD:[,[,,"[235-9]\\d{7}","\\d{8}"],[,,"(?:2(?:1[0569]|2\\d|3[015-7]|4[1-46-9]|5[0-24689]|6[2-589]|7[1-37]|9[1347-9])|5(?:33|5[257]))\\d{5}","\\d{8}",,,"22212345"],[,,"(?:562\\d|6(?:[089]\\d{2}|1[01]\\d|21\\d|50\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}",,,"65012345"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[056]\\d{5}","\\d{8}",,,"90012345"],
280
- [,,"808\\d{5}","\\d{8}",,,"80812345"],[,,"NA","NA"],[,,"3[08]\\d{6}","\\d{8}",,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1","",0],[,"([25-7]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["2[13-79]|[5-7]"],"0$1","",0],[,"([89]\\d{2})(\\d{5})","$1 $2",["[89]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"8(?:03|14)\\d{5}","\\d{8}",,,"80312345"],,,[,,"NA","NA"]],ME:[,[,,"[2-9]\\d{7,8}","\\d{6,9}"],[,,"(?: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}",
274
+ "(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],"","$CC $1",0],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,4})","$1 $2 $3 $4",["2(?:[12589]|4[12])|[3-5]|7[1-9]|8(?:[1-9]|0[2-9])|9(?:[1-9]|0[2-46-9])"],"","$CC $1",0],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["70|80[01]|90[015]"],"","$CC $1",0],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],"","$CC $1",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,
275
+ ,[,,"NA","NA"]],LV:[,[,,"[2689]\\d{7}","\\d{8}"],[,,"6[3-8]\\d{6}","\\d{8}",,,"63123456"],[,,"2\\d{7}","\\d{8}",,,"21234567"],[,,"80\\d{6}","\\d{8}",,,"80123456"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"81\\d{6}","\\d{8}",,,"81123456"],[,,"NA","NA"],[,,"NA","NA"],"LV",371,"00",,,,,,,,[[,"([2689]\\d)(\\d{3})(\\d{3})","$1 $2 $3",,"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],LY:[,[,,"[25679]\\d{8}","\\d{7,9}"],[,,"(?:2[1345]|5[1347]|6[123479]|71)\\d{7}","\\d{7,9}",,,"212345678"],
276
+ [,,"9[1-6]\\d{7}","\\d{9}",,,"912345678"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"LY",218,"00","0",,,"0",,,,[[,"([25679]\\d)(\\d{7})","$1-$2",,"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MA:[,[,,"[5689]\\d{8}","\\d{9}"],[,,"5(?:2(?:(?:[015-7]\\d|2[2-9]|3[2-57]|4[2-8]|8[235-7])\\d|9(?:0\\d|[89]0))|3(?:(?:[0-4]\\d|[57][2-9]|6[235-8]|9[3-9])\\d|8(?:0\\d|[89]0)))\\d{4}","\\d{9}",,,"520123456"],[,,"6(?:0[0-8]|[12-79]\\d|8[01])\\d{6}","\\d{9}",
277
+ ,,"650123456"],[,,"80\\d{7}","\\d{9}",,,"801234567"],[,,"89\\d{7}","\\d{9}",,,"891234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MA",212,"00","0",,,"0",,,,[[,"([56]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|6"],"0$1","",0],[,"([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9])|892","5(?:2(?:[2-48]|90)|3(?:[5-79]|80))|892"],"0$1","",0],[,"(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"],"0$1","",0],[,"(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"],"0$1","",0]],,[,,"NA","NA"],1,,
278
+ [,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MC:[,[,,"[4689]\\d{7,8}","\\d{8,9}"],[,,"870\\d{5}|9[2-47-9]\\d{6}","\\d{8}",,,"99123456"],[,,"6\\d{8}|4(?:4\\d|5[2-9])\\d{5}","\\d{8,9}",,,"612345678"],[,,"90\\d{6}","\\d{8}",,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MC",377,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"$1","",0],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1","",0],[,"(6)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",
279
+ ["6"],"0$1","",0],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["8"],"$1","",0]],,[,,"NA","NA"],,,[,,"8\\d{7}","\\d{8}"],[,,"NA","NA"],,,[,,"NA","NA"]],MD:[,[,,"[235-9]\\d{7}","\\d{8}"],[,,"(?:2(?:1[0569]|2\\d|3[015-7]|4[1-46-9]|5[0-24689]|6[2-589]|7[1-37]|9[1347-9])|5(?:33|5[257]))\\d{5}","\\d{8}",,,"22212345"],[,,"(?:562\\d|6(?:[089]\\d{2}|1[01]\\d|21\\d|50\\d|7(?:[1-6]\\d|7[0-4]))|7(?:6[07]|7[457-9]|[89]\\d)\\d)\\d{4}","\\d{8}",,,"65012345"],[,,"800\\d{5}","\\d{8}",,,"80012345"],[,,"90[056]\\d{5}",
280
+ "\\d{8}",,,"90012345"],[,,"808\\d{5}","\\d{8}",,,"80812345"],[,,"NA","NA"],[,,"3[08]\\d{6}","\\d{8}",,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1","",0],[,"([25-7]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["2[13-79]|[5-7]"],"0$1","",0],[,"([89]\\d{2})(\\d{5})","$1 $2",["[89]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"8(?:03|14)\\d{5}","\\d{8}",,,"80312345"],,,[,,"NA","NA"]],ME:[,[,,"[2-9]\\d{7,8}","\\d{6,9}"],[,,"(?: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}",
281
281
  "\\d{6,8}",,,"30234567"],[,,"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"],[,,"80\\d{6}","\\d{8}",,,"80080002"],[,,"(?:9(?:4[1568]|5[178]))\\d{5}","\\d{8}",,,"94515151"],[,,"NA","NA"],[,,"NA","NA"],[,,"78[1-9]\\d{5}","\\d{8}",,,"78108780"],"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]))"],"0$1","",0],[,"(67)(9)(\\d{3})(\\d{3})","$1 $2 $3 $4",["679","679[0-2]"],"0$1",
282
282
  "",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"77\\d{6}","\\d{8}",,,"77273012"],,,[,,"NA","NA"]],MF:[,[,,"[56]\\d{8}","\\d{9}"],[,,"590(?:[02][79]|13|5[0-268]|[78]7)\\d{4}","\\d{9}",,,"590271234"],[,,"690(?:0[0-7]|[1-9]\\d)\\d{4}","\\d{9}",,,"690301234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"MF",590,"00","0",,,"0",,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MG:[,[,,"[23]\\d{8}","\\d{7,9}"],[,,"20(?:2\\d{2}|4[47]\\d|5[3467]\\d|6[279]\\d|7(?:2[29]|[35]\\d)|8[268]\\d|9[245]\\d)\\d{4}",
283
283
  "\\d{7,9}",,,"202123456"],[,,"3[2-49]\\d{7}","\\d{9}",,,"321234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"22\\d{7}","\\d{9}",,,"221234567"],"MG",261,"00","0",,,"0",,,,[[,"([23]\\d)(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",,"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],MH:[,[,,"[2-6]\\d{6}","\\d{7}"],[,,"(?:247|528|625)\\d{4}","\\d{7}",,,"2471234"],[,,"(?:235|329|45[56]|545)\\d{4}","\\d{7}",,,"2351234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,
@@ -354,13 +354,13 @@ NO:[,[,,"0\\d{4}|[2-9]\\d{7}","\\d{5}(?:\\d{3})?"],[,,"(?:2[1-4]|3[1-3578]|5[1-3
354
354
  "\\d{6}(?:\\d{3})?",,,"771234567"],[,,"75[1-8]\\d{6}","\\d{9}",,,"751234567"],[,,"NA","NA"],"SE",46,"00","0",,,"0",,,,[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1","",0],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"],"0$1","",0],[,"([1-69]\\d)(\\d{3})(\\d{2})","$1-$2 $3",["1[13689]|2[136]|3[1356]|4[0246]|54|6[03]|90"],"0$1","",0],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[2457]|2[2457-9]|3[0247-9]|4[1357-9]|5[0-35-9]|6[124-9]|9(?:[125-8]|3[0-5]|4[0-3])"],
355
355
  "0$1","",0],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2[2457-9]|3[0247-9]|4[1357-9]|5[0-35-9]|6[124-9]|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1","",0],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["7"],"0$1","",0],[,"(77)(\\d{2})(\\d{2})","$1-$2$3",["7"],"0$1","",0],[,"(20)(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1","",0],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9[034]"],"0$1","",0],[,"(9[034]\\d)(\\d{4})","$1-$2",["9[034]"],"0$1","",0]],[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})",
356
356
  "$1 $2 $3 $4",["8"]],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"]],[,"([1-69]\\d)(\\d{3})(\\d{2})","$1 $2 $3",["1[13689]|2[136]|3[1356]|4[0246]|54|6[03]|90"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2457]|2[2457-9]|3[0247-9]|4[1357-9]|5[0-35-9]|6[124-9]|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2[2457-9]|3[0247-9]|4[1357-9]|5[0-35-9]|6[124-9]|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})",
357
- "$1 $2 $3 $4",["7"]],[,"(77)(\\d{2})(\\d{2})","$1 $2 $3",["7"]],[,"(20)(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9[034]"]],[,"(9[034]\\d)(\\d{4})","$1 $2",["9[034]"]]],[,,"74[02-9]\\d{6}","\\d{9}",,,"740123456"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SG:[,[,,"[36]\\d{7}|[17-9]\\d{7,10}","\\d{8,11}"],[,,"6[1-9]\\d{6}","\\d{8}",,,"61234567"],[,,"(?:8[1-7]|9[0-8])\\d{6}","\\d{8}",,,"81234567"],[,,"1?800\\d{7}","\\d{10,11}",,,"18001234567"],
357
+ "$1 $2 $3 $4",["7"]],[,"(77)(\\d{2})(\\d{2})","$1 $2 $3",["7"]],[,"(20)(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9[034]"]],[,"(9[034]\\d)(\\d{4})","$1 $2",["9[034]"]]],[,,"74[02-9]\\d{6}","\\d{9}",,,"740123456"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SG:[,[,,"[36]\\d{7}|[17-9]\\d{7,10}","\\d{8,11}"],[,,"6[1-9]\\d{6}","\\d{8}",,,"61234567"],[,,"(?:8[1-8]|9[0-8])\\d{6}","\\d{8}",,,"81234567"],[,,"1?800\\d{7}","\\d{10,11}",,,"18001234567"],
358
358
  [,,"1900\\d{7}","\\d{11}",,,"19001234567"],[,,"NA","NA"],[,,"NA","NA"],[,,"3[12]\\d{6}","\\d{8}",,,"31234567"],"SG",65,"0[0-3]\\d",,,,,,,,[[,"([3689]\\d{3})(\\d{4})","$1 $2",["[369]|8[1-9]"],"","",0],[,"(1[89]00)(\\d{3})(\\d{4})","$1 $2 $3",["1[89]"],"","",0],[,"(7000)(\\d{4})(\\d{3})","$1 $2 $3",["70"],"","",0],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"7000\\d{7}","\\d{11}",,,"70001234567"],,,[,,"NA","NA"]],SH:[,[,,"[2-79]\\d{3,4}","\\d{4,5}"],[,,"2(?:[0-57-9]\\d|6[4-9])\\d{2}|(?:[2-46]\\d|7[01])\\d{2}",
359
359
  "\\d{4,5}",,,"2158"],[,,"NA","NA"],[,,"NA","NA"],[,,"(?:[59]\\d|7[2-9])\\d{2}","\\d{4,5}",,,"5012"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SH",290,"00",,,,,,,,,,[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SI:[,[,,"[1-7]\\d{6,7}|[89]\\d{4,7}","\\d{5,8}"],[,,"(?:1\\d|[25][2-8]|3[4-8]|4[24-8]|7[3-8])\\d{6}","\\d{7,8}",,,"11234567"],[,,"(?:[37][01]|4[0139]|51|6[48])\\d{6}","\\d{8}",,,"31234567"],[,,"80\\d{4,6}","\\d{6,8}",,,"80123456"],[,,"90\\d{4,6}|89[1-3]\\d{2,5}","\\d{5,8}",
360
360
  ,,"90123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"(?:59|8[1-3])\\d{6}","\\d{8}",,,"59012345"],"SI",386,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]|3[4-8]|4[24-8]|5[2-8]|7[3-8]"],"(0$1)","",0],[,"([3-7]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1","",0],[,"([89][09])(\\d{3,6})","$1 $2",["[89][09]"],"0$1","",0],[,"([58]\\d{2})(\\d{5})","$1 $2",["59|8[1-3]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SJ:[,[,,"0\\d{4}|[4789]\\d{7}",
361
361
  "\\d{5}(?:\\d{3})?"],[,,"79\\d{6}","\\d{8}",,,"79123456"],[,,"(?:4[015-8]|5[89]|9\\d)\\d{6}","\\d{8}",,,"41234567"],[,,"80[01]\\d{5}","\\d{8}",,,"80012345"],[,,"82[09]\\d{5}","\\d{8}",,,"82012345"],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}","\\d{8}",,,"81021234"],[,,"880\\d{5}","\\d{8}",,,"88012345"],[,,"85[0-5]\\d{5}","\\d{8}",,,"85012345"],"SJ",47,"00",,,,,,,,,,[,,"NA","NA"],,,[,,"NA","NA"],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}","\\d{5}(?:\\d{3})?",,,"01234"],1,,[,,"81[23]\\d{5}","\\d{8}",,,"81212345"]],
362
362
  SK:[,[,,"[2-689]\\d{8}","\\d{9}"],[,,"[2-5]\\d{8}","\\d{9}",,,"212345678"],[,,"9(?:0[1-8]|1[0-24-9]|4[0489])\\d{6}","\\d{9}",,,"912123456"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"9(?:[78]\\d{7}|00\\d{6})","\\d{9}",,,"900123456"],[,,"8[5-9]\\d{7}","\\d{9}",,,"850123456"],[,,"NA","NA"],[,,"6(?:5[0-4]|9[0-6])\\d{6}","\\d{9}",,,"690123456"],"SK",421,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1","",0],[,"([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1",
363
- "",0],[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"(?:8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}","\\d{9}",,,"800123456"],[,,"96\\d{7}","\\d{9}",,,"961234567"],,,[,,"NA","NA"]],SL:[,[,,"[2-578]\\d{7}","\\d{6,8}"],[,,"[235]2[2-4][2-9]\\d{4}","\\d{6,8}",,,"22221234"],[,,"(?:2[15]|3[034]|4[04]|5[05]|7[6-9]|88)\\d{6}","\\d{6,8}",,,"25123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})",
363
+ "",0],[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1","",0]],,[,,"NA","NA"],,,[,,"(?:8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}","\\d{9}",,,"800123456"],[,,"96\\d{7}","\\d{9}",,,"961234567"],,,[,,"NA","NA"]],SL:[,[,,"[2-57-9]\\d{7}","\\d{6,8}"],[,,"[235]2[2-4][2-9]\\d{4}","\\d{6,8}",,,"22221234"],[,,"(?:2[15]|3[034]|4[04]|5[05]|7[6-9]|88|99)\\d{6}","\\d{6,8}",,,"25123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})",
364
364
  "$1 $2",,"(0$1)","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SM:[,[,,"[05-7]\\d{7,9}","\\d{6,10}"],[,,"0549(?:8[0157-9]|9\\d)\\d{4}","\\d{6,10}",,,"0549886377"],[,,"6[16]\\d{6}","\\d{8}",,,"66661212"],[,,"NA","NA"],[,,"7[178]\\d{6}","\\d{8}",,,"71123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"5[158]\\d{6}","\\d{8}",,,"58001110"],"SM",378,"00",,,,"(?:0549)?([89]\\d{5})","0549$1",,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"],"","",0],[,"(0549)(\\d{6})","$1 $2",["0"],
365
365
  "","",0],[,"(\\d{6})","0549 $1",["[89]"],"","",0]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"],"","",0],[,"(0549)(\\d{6})","($1) $2",["0"]],[,"(\\d{6})","(0549) $1",["[89]"]]],[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],1,,[,,"NA","NA"]],SN:[,[,,"[3789]\\d{8}","\\d{9}"],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611|90[1-5])\\d{5}","\\d{9}",,,"301012345"],[,,"7(?:[067]\\d|21|8[0-26]|90)\\d{6}","\\d{9}",,,"701234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"88[4689]\\d{6}",
366
366
  "\\d{9}",,,"884123456"],[,,"81[02468]\\d{6}","\\d{9}",,,"810123456"],[,,"NA","NA"],[,,"3392\\d{5}|93330\\d{4}","\\d{9}",,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"],"","",0],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],SO:[,[,,"[1-79]\\d{6,8}","\\d{7,9}"],[,,"(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|59)\\d{5}","\\d{7}",,,"4012345"],[,,"(?:15\\d|2(?:4\\d|8)|6[137-9]?\\d{2}|7[1-9]\\d|907\\d)\\d{5}",
@@ -390,8 +390,8 @@ SK:[,[,,"[2-689]\\d{8}","\\d{9}"],[,,"[2-5]\\d{8}","\\d{9}",,,"212345678"],[,,"9
390
390
  "\\d{9}",,,"391234567"],[,,"800\\d{6}","\\d{9}",,,"800123456"],[,,"900\\d{6}","\\d{9}",,,"900123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"89\\d{7}","\\d{9}",,,"891234567"],"UA",380,"00","0",,,"0",,"0~0",,[[,"([3-689]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[38]9|4(?:[45][0-5]|87)|5(?:0|6[37]|7[37])|6[36-8]|9[1-9]","[38]9|4(?:[45][0-5]|87)|5(?:0|6(?:3[14-7]|7)|7[37])|6[36-8]|9[1-9]"],"0$1","",0],[,"([3-689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3[1-8]2|4[13678]2|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90",
391
391
  "3(?:[1-46-8]2[013-9]|52)|4(?:[1378]2|62[013-9])|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90"],"0$1","",0],[,"([3-6]\\d{3})(\\d{5})","$1 $2",["3(?:5[013-9]|[1-46-8])|4(?:[137][013-9]|6|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6[0135-9]|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])","3(?:5[013-9]|[1-46-8](?:22|[013-9]))|4(?:[137][013-9]|6(?:[013-9]|22)|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6(?:3[02389]|[015689])|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])"],"0$1","",0]],,[,,"NA","NA"],,
392
392
  ,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UG:[,[,,"\\d{9}","\\d{5,9}"],[,,"20(?:[0147]\\d{2}|2(?:40|[5-9]\\d)|3[23]\\d|5[0-4]\\d|6[03]\\d|8[0-2]\\d)\\d{4}|[34]\\d{8}","\\d{5,9}",,,"312345678"],[,,"2030\\d{5}|7(?:0[0-7]|[15789]\\d|2[03]|30|[46][0-4])\\d{6}","\\d{9}",,,"712345678"],[,,"800[123]\\d{5}","\\d{9}",,,"800123456"],[,,"90[123]\\d{6}","\\d{9}",,,"901123456"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{3})(\\d{6})","$1 $2",["[7-9]|20(?:[013-8]|2[5-9])|4(?:6[45]|[7-9])"],
393
- "0$1","",0],[,"(\\d{2})(\\d{7})","$1 $2",["3|4(?:[1-5]|6[0-36-9])"],"0$1","",0],[,"(2024)(\\d{5})","$1 $2",["2024"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],US:[,[,,"[2-9]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[4589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[014679]|4[67]|5[12]|6[014]|8[56])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|69|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[036]|3[016]|4[16]|5[017]|6[0-279]|78|8[12])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[07]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[06-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[01678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",
394
- "\\d{7}(?:\\d{3})?",,,"2015555555"],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[4589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[014679]|4[67]|5[12]|6[014]|8[56])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|69|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[036]|3[016]|4[16]|5[017]|6[0-279]|78|8[12])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[07]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[06-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[01678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",
393
+ "0$1","",0],[,"(\\d{2})(\\d{7})","$1 $2",["3|4(?:[1-5]|6[0-36-9])"],"0$1","",0],[,"(2024)(\\d{5})","$1 $2",["2024"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],US:[,[,,"[2-9]\\d{9}","\\d{7}(?:\\d{3})?"],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[014679]|4[67]|5[12]|6[014]|8[56])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|69|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[12])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[07]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[06-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[01678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",
394
+ "\\d{7}(?:\\d{3})?",,,"2015555555"],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[014679]|4[67]|5[12]|6[014]|8[56])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|69|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-37]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[12])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[07]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[06-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[01678]|4[0179]|5[12469]|7[0-3589]|8[0459]))[2-9]\\d{6}",
395
395
  "\\d{7}(?:\\d{3})?",,,"2015555555"],[,,"8(?:00|44|55|66|77|88)[2-9]\\d{6}","\\d{10}",,,"8002345678"],[,,"900[2-9]\\d{6}","\\d{10}",,,"9002345678"],[,,"NA","NA"],[,,"5(?:00|33|44|66|77)[2-9]\\d{6}","\\d{10}",,,"5002345678"],[,,"NA","NA"],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",,"","",1],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",,"","",1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3"]],[,,"NA","NA"],1,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UY:[,[,,"[2489]\\d{6,7}","\\d{7,8}"],[,
396
396
  ,"2\\d{7}|4[2-7]\\d{6}","\\d{7,8}",,,"21231234"],[,,"9[1-9]\\d{6}","\\d{8}",,,"94231234"],[,,"80[05]\\d{4}","\\d{7}",,,"8001234"],[,,"90[0-8]\\d{4}","\\d{7}",,,"9001234"],[,,"NA","NA"],[,,"NA","NA"],[,,"NA","NA"],"UY",598,"0(?:1[3-9]\\d|0)","0"," int. ",,"0",,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[24]"],"","",0],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9[1-9]"],"0$1","",0],[,"(\\d{3})(\\d{4})","$1 $2",["[89]0"],"0$1","",0]],,[,,"NA","NA"],,,[,,"NA","NA"],[,,"NA","NA"],,,[,,"NA","NA"]],UZ:[,[,,"[679]\\d{8}",
397
397
  "\\d{7,9}"],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[123578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d{2}|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[12456]|9[135-8])|1[12]\\d|2(?:22|3[1345789]|4[123579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}","\\d{7,9}",,,"662345678"],[,,"6(?:1(?:2(?:98|2[01])|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:11\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4])|7\\d{2})|5(?:19[01]|2(?:27|9[26])|30\\d|59\\d|7\\d{2})|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|3[79]\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79])|9[0-3]\\d)|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|5\\d|3[01]|7[0-4])|5[67]\\d|6(?:2[0-26]|8\\d)|7\\d{2}))\\d{4}|7(?:0\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|33\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078])|9[4-6]\\d)|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0127]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[05629]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))\\d{4}|9[0-57-9]\\d{7}",
@@ -435,31 +435,31 @@ SK:[,[,,"[2-689]\\d{8}","\\d{9}"],[,,"[2-5]\\d{8}","\\d{9}",,,"212345678"],[,,"9
435
435
  See the License for the specific language governing permissions and
436
436
  limitations under the License.
437
437
  */
438
- function L(){this.ya={}}L.va=function(){return L.wa?L.wa:L.wa=new L};
439
- var M={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"},cb={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",
440
- 7:"7",8:"8",9:"9","+":"+","*":"*"},db={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9",A:"2",B:"2",
441
- C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},eb=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,fb=RegExp("[+\uff0b]+"),O=RegExp("^[+\uff0b]+"),gb=RegExp("([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])"),hb=RegExp("[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]"),ib=/[\\\/] *x/,jb=RegExp("[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9A-Za-z#]+$"),kb=/(?:.*?[A-Za-z]){3}.*/,lb=RegExp("(?:;ext=([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})|[ \u00a0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\u00f3))?n?|\uff45?\uff58\uff54\uff4e?|[,x\uff58#\uff03~\uff5e]|int|anexo|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \u00a0\\t,-]*([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})#?|[- ]+([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,5})#)$",
442
- "i"),mb=RegExp("^[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{2}$|^[+\uff0b]*(?:[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e*]*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]){3,}[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e*A-Za-z0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]*(?:;ext=([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})|[ \u00a0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\u00f3))?n?|\uff45?\uff58\uff54\uff4e?|[,x\uff58#\uff03~\uff5e]|int|anexo|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \u00a0\\t,-]*([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})#?|[- ]+([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,5})#)?$",
443
- "i"),nb=/(\$\d)/,ob=/\$NP/,pb=/\$FG/,qb=/\$CC/,rb=/^\(?\$1\)?$/;function sb(a){var b=a.search(hb);0<=b?(a=a.substring(b),a=a.replace(jb,""),b=a.search(ib),0<=b&&(a=a.substring(0,b))):a="";return a}function tb(a){return 2>a.length?!1:P(mb,a)}function ub(a){return P(kb,a)?Q(a,db):Q(a,M)}function vb(a){var b=ub(a.toString());a.clear();a.append(b)}function Q(a,b){for(var c=new E,d,e=a.length,f=0;f<e;++f)d=a.charAt(f),d=b[d.toUpperCase()],null!=d&&c.append(d);return c.toString()}
444
- function xb(a){return null!=a&&isNaN(a)&&a.toUpperCase()in bb}L.prototype.format=function(a,b){if(0==x(a,2)&&u(a,5)){var c=A(a,5);if(0<c.length)return c}var c=a.f(),d=R(a);if(0==b)return S(c,0,d,"");if(!(c in K))return d;var e=T(this,c,U(c)),f=yb(a,e,b),d=zb(d,e,b);return S(c,b,d,f)};function Ab(a,b,c){var d=b.f(),e=R(b);if(!(d in K))return e;a=T(a,d,U(d));b=yb(b,a,2);c=zb(e,a,2,c);return S(d,2,c,b)}function T(a,b,c){return"001"==c?V(a,""+b):V(a,c)}
445
- function Bb(a,b,c){if(!xb(c))return a.format(b,1);var d=b.f(),e=R(b);if(!(d in K))return e;if(1==d){if(null!=c&&0<=ha(K[1],c.toUpperCase()))return d+" "+a.format(b,2)}else if(d==Cb(a,c))return a.format(b,2);var f=V(a,c),g=A(f,11);c="";P(eb,g)?c=g:u(f,17)&&(c=A(f,17));a=T(a,d,U(d));e=zb(e,a,1);b=yb(b,a,1);return 0<c.length?c+" "+d+" "+e+b:S(d,1,e,b)}
446
- function Db(a,b,c){var d;if(d=u(b,5)){if(d=u(b,4))d=b.f(),d=T(a,d,U(d)),d=!(null!=d&&A(d,26));if(!d){d=b.f();d=T(a,d,U(d));if(null==d)d=!1;else{var e=R(b);d=null!=Eb(z(d,19)||[],e)}d=!d}}if(d)return A(b,5);if(!u(b,6))return a.format(b,2);switch(x(b,6)){case 1:a=a.format(b,1);break;case 5:a=Bb(a,b,c);break;case 10:a=a.format(b,1).substring(1);break;default:d=U(b.f());var f;c=V(a,d);null==c?f=null:(c=A(c,12),f=0==c.length?null:c=c.replace("~",""));c=a.format(b,2);if(null==f||0==f.length){a=c;break}var g;
447
- a:{e=A(b,5);e=Q(e,M);if(0==e.lastIndexOf(f,0))try{g=Fb(a,a.parse(e.substring(f.length),d));break a}catch(h){}g=!1}if(g){a=c;break}g=V(a,d);d=R(b);g=Eb(z(g,19)||[],d);if(null==g){a=c;break}d=A(g,4);e=d.indexOf("$1");if(0>=e){a=c;break}d=d.substring(0,e);d=Q(d,M);if(0==d.length){a=c;break}g=g.clone();Ta(g,4);d=[g];g=b.f();c=R(b);g in K?(a=T(a,g,U(g)),e="",e=Eb(d,c),null==e?e=c:(d=e.clone(),e=A(e,4),0<e.length&&(f=A(a,12),0<f.length?(e=e.replace(ob,f).replace(pb,"$1"),y(d,4,e)):Ta(d,4)),e=Gb(c,d,2)),
448
- a=yb(b,a,2),a=S(g,2,e,a)):a=c}b=A(b,5);null!=a&&0<b.length&&(g=Q(a,cb),c=Q(b,cb),g!=c&&(a=b));return a}function R(a){var b=""+x(a,2);return u(a,4)&&x(a,4)?Array(A(a,8)+1).join("0")+b:b}function S(a,b,c,d){switch(b){case 0:return"+"+a+c+d;case 1:return"+"+a+" "+c+d;case 3:return"tel:+"+a+"-"+c+d;default:return c+d}}function zb(a,b,c,d){b=0==(z(b,20)||[]).length||2==c?z(b,19)||[]:z(b,20)||[];b=Eb(b,a);return null==b?a:Gb(a,b,c,d)}
449
- function Eb(a,b){for(var c,d=a.length,e=0;e<d;++e){c=a[e];var f=B(c,3);if(0==f||0==b.search(x(c,3,f-1)))if(f=new RegExp(x(c,1)),P(f,b))return c}return null}
450
- function Gb(a,b,c,d){var e=A(b,2),f=new RegExp(x(b,1)),g=A(b,5),h="";2==c&&null!=d&&0<d.length&&0<g.length?(b=g.replace(qb,d),e=e.replace(nb,b),h=a.replace(f,e)):(b=A(b,4),h=2==c&&null!=b&&0<b.length?a.replace(f,e.replace(nb,b)):a.replace(f,e));3==c&&(h=h.replace(RegExp("^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]+"),""),h=h.replace(RegExp("[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]+",
451
- "g"),"-"));return h}function yb(a,b,c){return u(a,3)&&0!=a.getExtension().length?3==c?";ext="+a.getExtension():u(b,13)?x(b,13)+A(a,3):" ext. "+A(a,3):""}function Hb(a,b){return W(a,x(b,1))?W(a,x(b,5))?4:W(a,x(b,4))?3:W(a,x(b,6))?5:W(a,x(b,8))?6:W(a,x(b,7))?7:W(a,x(b,21))?8:W(a,x(b,25))?9:W(a,x(b,28))?10:W(a,x(b,2))?x(b,18)||W(a,x(b,3))?2:0:!x(b,18)&&W(a,x(b,3))?1:-1:-1}
452
- function V(a,b){if(null==b)return null;b=b.toUpperCase();var c=a.ya[b];if(null==c){c=bb[b];if(null==c)return null;c=(new J).ba(H.c(),c);a.ya[b]=c}return c}function W(a,b){return P(A(b,3),a)&&P(A(b,2),a)}function Fb(a,b){var c=Ib(a,b);return Jb(a,b,c)}function Jb(a,b,c){var d=b.f(),e=T(a,d,c);if(null==e||"001"!=c&&d!=Cb(a,c))return!1;a=R(b);return-1!=Hb(a,e)}
453
- function Ib(a,b){if(null==b)return null;var c=b.f(),c=K[c];if(null==c)c=null;else if(1==c.length)c=c[0];else a:{for(var d=R(b),e,f=c.length,g=0;g<f;g++){e=c[g];var h=V(a,e);if(u(h,23)){if(0==d.search(x(h,23))){c=e;break a}}else if(-1!=Hb(d,h)){c=e;break a}}c=null}return c}function U(a){a=K[a];return null==a?"ZZ":a[0]}function Cb(a,b){var c=V(a,b);if(null==c)throw"Invalid region code: "+b;return c.f()}function Kb(a,b){return P(a,b)?0:0==b.search(a)?3:2}
454
- function Lb(a,b){var c=R(b),d=b.f();if(!(d in K))return 1;d=T(a,d,U(d));d=x(d,1);d=A(d,3);return Kb(d,c)}function Mb(a,b){var c=a.toString();if(0==c.length||"0"==c.charAt(0))return 0;for(var d,e=c.length,f=1;3>=f&&f<=e;++f)if(d=parseInt(c.substring(0,f),10),d in K)return b.append(c.substring(f)),d;return 0}
455
- function Nb(a,b,c,d,e){if(0==a.length)return 0;a=new E(a);var f;null!=b&&(f=x(b,11));null==f&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(O.test(g))g=g.replace(O,""),a.clear(),a.append(ub(g)),f=1;else{g=new RegExp(f);vb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(gb);h&&null!=h[1]&&0<h[1].length&&"0"==Q(h[1],M)?f=!1:(a.clear(),a.append(f.substring(g)),f=!0)}else f=!1;f=f?5:20}d&&y(e,6,f);if(20!=f){if(2>=a.g.length)throw"Phone number too short after IDD";
456
- c=Mb(a,c);if(0!=c)return e.ea(c),c;throw"Invalid country calling code";}if(null!=b&&(f=b.f(),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new E(h.substring(g.length)),h=x(b,1),g=new RegExp(A(h,2));Ob(m,b,null);b=m.toString();h=A(h,3);if(!P(g,a.toString())&&P(g,b)||3==Kb(h,a.toString()))return c.append(b),d&&y(e,6,10),e.ea(f),f}e.ea(0);return 0}
457
- function Ob(a,b,c){var d=a.toString(),e=d.length,f=x(b,15);if(0!=e&&null!=f&&0!=f.length&&(f=new RegExp("^(?:"+f+")"),e=f.exec(d))){var g=RegExp,h;h=x(b,1);h=A(h,2);g=new g(h);h=P(g,d);var m=e.length-1;b=x(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||P(g,d.substring(e[0].length)))null!=c&&0<m&&null!=e[m]&&c.append(e[1]),a.set(d.substring(e[0].length))}else if(d=d.replace(f,b),!h||P(g,d))null!=c&&0<m&&c.append(e[1]),a.set(d)}}
458
- L.prototype.parse=function(a,b){return Pb(this,a,b,!1)};
459
- function Pb(a,b,c,d){if(null==b)throw"The string supplied did not seem to be a phone number";if(250<b.length)throw"The string supplied is too long to be a phone number";var e=new E,f=b.indexOf(";phone-context=");if(0<f){var g=f+15;if("+"==b.charAt(g)){var h=b.indexOf(";",g);0<h?e.append(b.substring(g,h)):e.append(b.substring(g))}g=b.indexOf("tel:");e.append(b.substring(0<=g?g+4:0,f))}else e.append(sb(b));f=e.toString();g=f.indexOf(";isub=");0<g&&(e.clear(),e.append(f.substring(0,g)));if(!tb(e.toString()))throw"The string supplied did not seem to be a phone number";
460
- f=e.toString();if(!(xb(c)||null!=f&&0<f.length&&O.test(f)))throw"Invalid country calling code";f=new I;d&&y(f,5,b);a:{b=e.toString();g=b.search(lb);if(0<=g&&tb(b.substring(0,g)))for(var h=b.match(lb),m=h.length,v=1;v<m;++v)if(null!=h[v]&&0<h[v].length){e.clear();e.append(b.substring(0,g));b=h[v];break a}b=""}0<b.length&&y(f,3,b);g=V(a,c);b=new E;h=0;m=e.toString();try{h=Nb(m,g,b,d,f)}catch(w){if("Invalid country calling code"==w&&O.test(m)){if(m=m.replace(O,""),h=Nb(m,g,b,d,f),0==h)throw w;}else throw w;
461
- }0!=h?(e=U(h),e!=c&&(g=T(a,h,e))):(vb(e),b.append(e.toString()),null!=c?(h=g.f(),f.ea(h)):d&&Ta(f,6));if(2>b.g.length)throw"The string supplied is too short to be a phone number";null!=g&&(a=new E,c=new E(b.toString()),Ob(c,g,a),e=c.toString(),g=x(g,1),g=A(g,3),2!=Kb(g,e)&&(b=c,d&&y(f,7,a.toString())));d=b.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17<a)throw"The string supplied is too long to be a phone number";if(1<d.length&&"0"==d.charAt(0)){y(f,
462
- 4,!0);for(a=1;a<d.length-1&&"0"==d.charAt(a);)a++;1!=a&&y(f,8,a)}y(f,2,parseInt(d,10));return f}function P(a,b){var c="string"==typeof a?b.match("^(?:"+a+")$"):b.match(a);return c&&c[0].length==b.length?!0:!1};/*
438
+ function N(){this.ya={}}N.va=function(){return N.wa?N.wa:N.wa=new N};
439
+ var O={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9"},Ya={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",
440
+ 7:"7",8:"8",9:"9","+":"+","*":"*"},Za={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","\uff10":"0","\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9",A:"2",B:"2",
441
+ C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},$a=/[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?/,ab=RegExp("[+\uff0b]+"),P=RegExp("^[+\uff0b]+"),bb=RegExp("([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9])"),cb=RegExp("[+\uff0b0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]"),db=/[\\\/] *x/,eb=RegExp("[^0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9A-Za-z#]+$"),fb=/(?:.*?[A-Za-z]){3}.*/,gb=RegExp("(?:;ext=([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})|[ \u00a0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\u00f3))?n?|\uff45?\uff58\uff54\uff4e?|[,x\uff58#\uff03~\uff5e]|int|anexo|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \u00a0\\t,-]*([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})#?|[- ]+([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,5})#)$",
442
+ "i"),hb=RegExp("^[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{2}$|^[+\uff0b]*(?:[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e*]*[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]){3,}[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e*A-Za-z0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]*(?:;ext=([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})|[ \u00a0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\u00f3))?n?|\uff45?\uff58\uff54\uff4e?|[,x\uff58#\uff03~\uff5e]|int|anexo|\uff49\uff4e\uff54)[:\\.\uff0e]?[ \u00a0\\t,-]*([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,7})#?|[- ]+([0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]{1,5})#)?$",
443
+ "i"),ib=/(\$\d)/,jb=/\$NP/,kb=/\$FG/,lb=/\$CC/,mb=/^\(?\$1\)?$/;function nb(a){var b=a.search(cb);0<=b?(a=a.substring(b),a=a.replace(eb,""),b=a.search(db),0<=b&&(a=a.substring(0,b))):a="";return a}function ob(a){return 2>a.length?!1:Q(hb,a)}function pb(a){return Q(fb,a)?R(a,Za):R(a,O)}function qb(a){var b=pb(a.toString());a.clear();a.append(b)}function R(a,b){for(var c=new G,d,e=a.length,f=0;f<e;++f)d=a.charAt(f),d=b[d.toUpperCase()],null!=d&&c.append(d);return c.toString()}
444
+ function rb(a){return null!=a&&isNaN(a)&&a.toUpperCase()in Xa}N.prototype.format=function(a,b){if(0==y(a,2)&&x(a,5)){var c=C(a,5);if(0<c.length)return c}var c=a.f(),d=S(a);if(0==b)return T(c,0,d,"");if(!(c in L))return d;var e=U(this,c,V(c)),f=sb(a,e,b),d=ub(d,e,b);return T(c,b,d,f)};function vb(a,b,c){var d=b.f(),e=S(b);if(!(d in L))return e;a=U(a,d,V(d));b=sb(b,a,2);c=ub(e,a,2,c);return T(d,2,c,b)}function U(a,b,c){return"001"==c?W(a,""+b):W(a,c)}
445
+ function wb(a,b,c){if(!rb(c))return a.format(b,1);var d=b.f(),e=S(b);if(!(d in L))return e;if(1==d){if(null!=c&&0<=ea(L[1],c.toUpperCase()))return d+" "+a.format(b,2)}else if(d==xb(a,c))return a.format(b,2);var f=W(a,c),g=C(f,11);c="";Q($a,g)?c=g:x(f,17)&&(c=C(f,17));a=U(a,d,V(d));e=ub(e,a,1);b=sb(b,a,1);return 0<c.length?c+" "+d+" "+e+b:T(d,1,e,b)}
446
+ function yb(a,b,c){var d;if(d=x(b,5)){if(d=x(b,4))d=b.f(),d=U(a,d,V(d)),d=!(null!=d&&C(d,26));if(!d){d=b.f();d=U(a,d,V(d));if(null==d)d=!1;else{var e=S(b);d=null!=zb(B(d,19)||[],e)}d=!d}}if(d)return C(b,5);if(!x(b,6))return a.format(b,2);switch(y(b,6)){case 1:a=a.format(b,1);break;case 5:a=wb(a,b,c);break;case 10:a=a.format(b,1).substring(1);break;default:d=V(b.f());var f;c=W(a,d);null==c?f=null:(c=C(c,12),f=0==c.length?null:c=c.replace("~",""));c=a.format(b,2);if(null==f||0==f.length){a=c;break}var g;
447
+ a:{e=C(b,5);e=R(e,O);if(0==e.lastIndexOf(f,0))try{g=Ab(a,a.parse(e.substring(f.length),d));break a}catch(h){}g=!1}if(g){a=c;break}g=W(a,d);d=S(b);g=zb(B(g,19)||[],d);if(null==g){a=c;break}d=C(g,4);e=d.indexOf("$1");if(0>=e){a=c;break}d=d.substring(0,e);d=R(d,O);if(0==d.length){a=c;break}g=g.clone();A(g,4);d=[g];g=b.f();c=S(b);g in L?(a=U(a,g,V(g)),e="",e=zb(d,c),null==e?e=c:(d=e.clone(),e=C(e,4),0<e.length&&(f=C(a,12),0<f.length?(e=e.replace(jb,f).replace(kb,"$1"),z(d,4,e)):A(d,4)),e=Bb(c,d,2)),a=
448
+ sb(b,a,2),a=T(g,2,e,a)):a=c}b=C(b,5);null!=a&&0<b.length&&(g=R(a,Ya),c=R(b,Ya),g!=c&&(a=b));return a}function S(a){var b=""+y(a,2);return x(a,4)&&y(a,4)?Array(C(a,8)+1).join("0")+b:b}function T(a,b,c,d){switch(b){case 0:return"+"+a+c+d;case 1:return"+"+a+" "+c+d;case 3:return"tel:+"+a+"-"+c+d;default:return c+d}}function ub(a,b,c,d){b=0==(B(b,20)||[]).length||2==c?B(b,19)||[]:B(b,20)||[];b=zb(b,a);return null==b?a:Bb(a,b,c,d)}
449
+ function zb(a,b){for(var c,d=a.length,e=0;e<d;++e){c=a[e];var f=D(c,3);if(0==f||0==b.search(y(c,3,f-1)))if(f=new RegExp(y(c,1)),Q(f,b))return c}return null}
450
+ function Bb(a,b,c,d){var e=C(b,2),f=new RegExp(y(b,1)),g=C(b,5),h="";2==c&&null!=d&&0<d.length&&0<g.length?(b=g.replace(lb,d),e=e.replace(ib,b),h=a.replace(f,e)):(b=C(b,4),h=2==c&&null!=b&&0<b.length?a.replace(f,e.replace(ib,b)):a.replace(f,e));3==c&&(h=h.replace(RegExp("^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]+"),""),h=h.replace(RegExp("[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]+",
451
+ "g"),"-"));return h}function sb(a,b,c){return x(a,3)&&0!=a.getExtension().length?3==c?";ext="+a.getExtension():x(b,13)?y(b,13)+C(a,3):" ext. "+C(a,3):""}function Cb(a,b){return X(a,y(b,1))?X(a,y(b,5))?4:X(a,y(b,4))?3:X(a,y(b,6))?5:X(a,y(b,8))?6:X(a,y(b,7))?7:X(a,y(b,21))?8:X(a,y(b,25))?9:X(a,y(b,28))?10:X(a,y(b,2))?y(b,18)||X(a,y(b,3))?2:0:!y(b,18)&&X(a,y(b,3))?1:-1:-1}
452
+ function W(a,b){if(null==b)return null;b=b.toUpperCase();var c=a.ya[b];if(null==c){c=Xa[b];if(null==c)return null;c=(new Wa).ba(J.c(),c);a.ya[b]=c}return c}function X(a,b){return Q(C(b,3),a)&&Q(C(b,2),a)}function Ab(a,b){var c=Db(a,b);return Eb(a,b,c)}function Eb(a,b,c){var d=b.f(),e=U(a,d,c);if(null==e||"001"!=c&&d!=xb(a,c))return!1;a=S(b);return-1!=Cb(a,e)}
453
+ function Db(a,b){if(null==b)return null;var c=b.f(),c=L[c];if(null==c)c=null;else if(1==c.length)c=c[0];else a:{for(var d=S(b),e,f=c.length,g=0;g<f;g++){e=c[g];var h=W(a,e);if(x(h,23)){if(0==d.search(y(h,23))){c=e;break a}}else if(-1!=Cb(d,h)){c=e;break a}}c=null}return c}function V(a){a=L[a];return null==a?"ZZ":a[0]}function xb(a,b){var c=W(a,b);if(null==c)throw"Invalid region code: "+b;return c.f()}function Fb(a,b){return Q(a,b)?0:0==b.search(a)?3:2}
454
+ function Gb(a,b){var c=S(b),d=b.f();if(!(d in L))return 1;d=U(a,d,V(d));d=y(d,1);d=C(d,3);return Fb(d,c)}function Hb(a,b){var c=a.toString();if(0==c.length||"0"==c.charAt(0))return 0;for(var d,e=c.length,f=1;3>=f&&f<=e;++f)if(d=parseInt(c.substring(0,f),10),d in L)return b.append(c.substring(f)),d;return 0}
455
+ function Ib(a,b,c,d,e){if(0==a.length)return 0;a=new G(a);var f;null!=b&&(f=y(b,11));null==f&&(f="NonMatch");var g=a.toString();if(0==g.length)f=20;else if(P.test(g))g=g.replace(P,""),a.clear(),a.append(pb(g)),f=1;else{g=new RegExp(f);qb(a);f=a.toString();if(0==f.search(g)){var g=f.match(g)[0].length,h=f.substring(g).match(bb);h&&null!=h[1]&&0<h[1].length&&"0"==R(h[1],O)?f=!1:(a.clear(),a.append(f.substring(g)),f=!0)}else f=!1;f=f?5:20}d&&z(e,6,f);if(20!=f){if(2>=a.g.length)throw"Phone number too short after IDD";
456
+ c=Hb(a,c);if(0!=c)return e.ea(c),c;throw"Invalid country calling code";}if(null!=b&&(f=b.f(),g=""+f,h=a.toString(),0==h.lastIndexOf(g,0))){var m=new G(h.substring(g.length)),h=y(b,1),g=new RegExp(C(h,2));Jb(m,b,null);b=m.toString();h=C(h,3);if(!Q(g,a.toString())&&Q(g,b)||3==Fb(h,a.toString()))return c.append(b),d&&z(e,6,10),e.ea(f),f}e.ea(0);return 0}
457
+ function Jb(a,b,c){var d=a.toString(),e=d.length,f=y(b,15);if(0!=e&&null!=f&&0!=f.length&&(f=new RegExp("^(?:"+f+")"),e=f.exec(d))){var g=RegExp,h;h=y(b,1);h=C(h,2);g=new g(h);h=Q(g,d);var m=e.length-1;b=y(b,16);if(null==b||0==b.length||null==e[m]||0==e[m].length){if(!h||Q(g,d.substring(e[0].length)))null!=c&&0<m&&null!=e[m]&&c.append(e[1]),a.set(d.substring(e[0].length))}else if(d=d.replace(f,b),!h||Q(g,d))null!=c&&0<m&&c.append(e[1]),a.set(d)}}
458
+ N.prototype.parse=function(a,b){return Kb(this,a,b,!1)};
459
+ function Kb(a,b,c,d){if(null==b)throw"The string supplied did not seem to be a phone number";if(250<b.length)throw"The string supplied is too long to be a phone number";var e=new G,f=b.indexOf(";phone-context=");if(0<f){var g=f+15;if("+"==b.charAt(g)){var h=b.indexOf(";",g);0<h?e.append(b.substring(g,h)):e.append(b.substring(g))}g=b.indexOf("tel:");e.append(b.substring(0<=g?g+4:0,f))}else e.append(nb(b));f=e.toString();g=f.indexOf(";isub=");0<g&&(e.clear(),e.append(f.substring(0,g)));if(!ob(e.toString()))throw"The string supplied did not seem to be a phone number";
460
+ f=e.toString();if(!(rb(c)||null!=f&&0<f.length&&P.test(f)))throw"Invalid country calling code";f=new K;d&&z(f,5,b);a:{b=e.toString();g=b.search(gb);if(0<=g&&ob(b.substring(0,g)))for(var h=b.match(gb),m=h.length,u=1;u<m;++u)if(null!=h[u]&&0<h[u].length){e.clear();e.append(b.substring(0,g));b=h[u];break a}b=""}0<b.length&&z(f,3,b);g=W(a,c);b=new G;h=0;m=e.toString();try{h=Ib(m,g,b,d,f)}catch(v){if("Invalid country calling code"==v&&P.test(m)){if(m=m.replace(P,""),h=Ib(m,g,b,d,f),0==h)throw v;}else throw v;
461
+ }0!=h?(e=V(h),e!=c&&(g=U(a,h,e))):(qb(e),b.append(e.toString()),null!=c?(h=g.f(),f.ea(h)):d&&A(f,6));if(2>b.g.length)throw"The string supplied is too short to be a phone number";null!=g&&(a=new G,c=new G(b.toString()),Jb(c,g,a),e=c.toString(),g=y(g,1),g=C(g,3),2!=Fb(g,e)&&(b=c,d&&z(f,7,a.toString())));d=b.toString();a=d.length;if(2>a)throw"The string supplied is too short to be a phone number";if(17<a)throw"The string supplied is too long to be a phone number";if(1<d.length&&"0"==d.charAt(0)){z(f,
462
+ 4,!0);for(a=1;a<d.length-1&&"0"==d.charAt(a);)a++;1!=a&&z(f,8,a)}z(f,2,parseInt(d,10));return f}function Q(a,b){var c="string"==typeof a?b.match("^(?:"+a+")$"):b.match(a);return c&&c[0].length==b.length?!0:!1};/*
463
463
 
464
464
  Copyright (C) 2010 The Libphonenumber Authors.
465
465
 
@@ -475,17 +475,17 @@ f=e.toString();if(!(xb(c)||null!=f&&0<f.length&&O.test(f)))throw"Invalid country
475
475
  See the License for the specific language governing permissions and
476
476
  limitations under the License.
477
477
  */
478
- function Qb(a){this.sa="\u2008";this.ha=new RegExp(this.sa);this.ia="";this.r=new E;this.$="";this.n=new E;this.w=new E;this.o=!0;this.ca=this.u=this.ma=!1;this.qa=L.va();this.v=0;this.d=new E;this.ga=!1;this.q="";this.b=new E;this.h=[];this.ja=a;this.Ba=this.j=Rb(this,this.ja)}var Sb=new H;y(Sb,11,"NA");
479
- var Tb=/\[([^\[\]])*\]/g,Ub=/\d(?=[^,}][^,}])/g,Vb=RegExp("^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]*(\\$\\d[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]*)+$"),Wb=/[- ]/;function Rb(a,b){var c=xb(b)?Cb(a.qa,b):0,c=V(a.qa,U(c));return null!=c?c:Sb}
480
- function Xb(a){for(var b=a.h.length,c=0;c<b;++c){var d=a.h[c],e=A(d,1);if(a.$==e)return!1;var f;f=a;var g=d,h=A(g,1);if(-1!=h.indexOf("|"))f=!1;else{h=h.replace(Tb,"\\d");h=h.replace(Ub,"\\d");f.r.clear();var m;m=f;var g=A(g,2),v="999999999999999".match(h)[0];v.length<m.b.g.length?m="":(h=v.replace(new RegExp(h,"g"),g),m=h=h.replace(RegExp("9","g"),m.sa));0<m.length?(f.r.append(m),f=!0):f=!1}if(f)return a.$=e,a.ga=Wb.test(x(d,4)),a.v=0,!0}return a.o=!1}
481
- function Yb(a,b){for(var c=[],d=b.length-3,e=a.h.length,f=0;f<e;++f){var g=a.h[f];if(0==B(g,3))c.push(a.h[f]);else{var h=Math.min(d,B(g,3)-1),g=x(g,3,h);0==b.search(g)&&c.push(a.h[f])}}a.h=c}Qb.prototype.clear=function(){this.ia="";this.n.clear();this.w.clear();this.r.clear();this.v=0;this.$="";this.d.clear();this.q="";this.b.clear();this.o=!0;this.ca=this.u=this.ma=!1;this.h=[];this.ga=!1;this.j!=this.Ba&&(this.j=Rb(this,this.ja))};function Zb(a,b){a.ia=$b(a,b);return a.ia}
482
- function $b(a,b){a.n.append(b);var c=b;if(gb.test(c)||1==a.n.g.length&&fb.test(c)){var c=b,d;"+"==c?(d=c,a.w.append(c)):(d=M[c],a.w.append(d),a.b.append(d));b=d}else a.o=!1,a.ma=!0;if(!a.o){if(!a.ma)if(ac(a)){if(bc(a))return cc(a)}else if(0<a.q.length&&(c=a.b.toString(),a.b.clear(),a.b.append(a.q),a.b.append(c),c=a.d.toString(),d=c.lastIndexOf(a.q),a.d.clear(),a.d.append(c.substring(0,d))),a.q!=dc(a))return a.d.append(" "),cc(a);return a.n.toString()}switch(a.w.g.length){case 0:case 1:case 2:return a.n.toString();
483
- case 3:if(ac(a))a.ca=!0;else return a.q=dc(a),ec(a);default:if(a.ca)return bc(a)&&(a.ca=!1),a.d.toString()+a.b.toString();if(0<a.h.length){c=fc(a,b);d=gc(a);if(0<d.length)return d;Yb(a,a.b.toString());return Xb(a)?hc(a):a.o?ic(a,c):a.n.toString()}return ec(a)}}function cc(a){a.o=!0;a.ca=!1;a.h=[];a.v=0;a.r.clear();a.$="";return ec(a)}
484
- function gc(a){for(var b=a.b.toString(),c=a.h.length,d=0;d<c;++d){var e=a.h[d],f=A(e,1);if((new RegExp("^(?:"+f+")$")).test(b))return a.ga=Wb.test(x(e,4)),b=b.replace(new RegExp(f,"g"),x(e,2)),ic(a,b)}return""}function ic(a,b){var c=a.d.g.length;return a.ga&&0<c&&" "!=a.d.toString().charAt(c-1)?a.d+" "+b:a.d+b}
485
- function ec(a){var b=a.b.toString();if(3<=b.length){for(var c=a.u&&0<B(a.j,20)?z(a.j,20)||[]:z(a.j,19)||[],d=c.length,e=0;e<d;++e){var f=c[e],g;(g=!u(a.j,12)||a.u||x(f,6))||(g=A(f,4),g=0==g.length||rb.test(g));g&&(g=A(f,2),Vb.test(g)&&a.h.push(f))}Yb(a,b);b=gc(a);return 0<b.length?b:Xb(a)?hc(a):a.n.toString()}return ic(a,b)}function hc(a){var b=a.b.toString(),c=b.length;if(0<c){for(var d="",e=0;e<c;e++)d=fc(a,b.charAt(e));return a.o?ic(a,d):a.n.toString()}return a.d.toString()}
486
- function dc(a){var b=a.b.toString(),c=0,d;1!=a.j.ua()?d=!1:(d=a.b.toString(),d="1"==d.charAt(0)&&"0"!=d.charAt(1)&&"1"!=d.charAt(1));d?(c=1,a.d.append("1").append(" "),a.u=!0):u(a.j,15)&&(d=new RegExp("^(?:"+x(a.j,15)+")"),d=b.match(d),null!=d&&null!=d[0]&&0<d[0].length&&(a.u=!0,c=d[0].length,a.d.append(b.substring(0,c))));a.b.clear();a.b.append(b.substring(c));return b.substring(0,c)}
487
- function ac(a){var b=a.w.toString(),c=new RegExp("^(?:\\+|"+x(a.j,11)+")"),c=b.match(c);return null!=c&&null!=c[0]&&0<c[0].length?(a.u=!0,c=c[0].length,a.b.clear(),a.b.append(b.substring(c)),a.d.clear(),a.d.append(b.substring(0,c)),"+"!=b.charAt(0)&&a.d.append(" "),!0):!1}function bc(a){if(0==a.b.g.length)return!1;var b=new E,c=Mb(a.b,b);if(0==c)return!1;a.b.clear();a.b.append(b.toString());b=U(c);"001"==b?a.j=V(a.qa,""+c):b!=a.ja&&(a.j=Rb(a,b));a.d.append(""+c).append(" ");a.q="";return!0}
488
- function fc(a,b){var c=a.r.toString();if(0<=c.substring(a.v).search(a.ha)){var d=c.search(a.ha),c=c.replace(a.ha,b);a.r.clear();a.r.append(c);a.v=d;return c.substring(0,a.v+1)}1==a.h.length&&(a.o=!1);a.$="";return a.n.toString()};/*
478
+ function Lb(a){this.sa="\u2008";this.ha=new RegExp(this.sa);this.ia="";this.r=new G;this.$="";this.n=new G;this.w=new G;this.o=!0;this.ca=this.u=this.ma=!1;this.qa=N.va();this.v=0;this.d=new G;this.ga=!1;this.q="";this.b=new G;this.h=[];this.ja=a;this.Ba=this.j=Mb(this,this.ja)}var Nb=new J;z(Nb,11,"NA");
479
+ var Ob=/\[([^\[\]])*\]/g,Pb=/\d(?=[^,}][^,}])/g,Qb=RegExp("^[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]*(\\$\\d[-x\u2010-\u2015\u2212\u30fc\uff0d-\uff0f \u00a0\u00ad\u200b\u2060\u3000()\uff08\uff09\uff3b\uff3d.\\[\\]/~\u2053\u223c\uff5e]*)+$"),Rb=/[- ]/;function Mb(a,b){var c=rb(b)?xb(a.qa,b):0,c=W(a.qa,V(c));return null!=c?c:Nb}
480
+ function Sb(a){for(var b=a.h.length,c=0;c<b;++c){var d=a.h[c],e=C(d,1);if(a.$==e)return!1;var f;f=a;var g=d,h=C(g,1);if(-1!=h.indexOf("|"))f=!1;else{h=h.replace(Ob,"\\d");h=h.replace(Pb,"\\d");f.r.clear();var m;m=f;var g=C(g,2),u="999999999999999".match(h)[0];u.length<m.b.g.length?m="":(h=u.replace(new RegExp(h,"g"),g),m=h=h.replace(RegExp("9","g"),m.sa));0<m.length?(f.r.append(m),f=!0):f=!1}if(f)return a.$=e,a.ga=Rb.test(y(d,4)),a.v=0,!0}return a.o=!1}
481
+ function Tb(a,b){for(var c=[],d=b.length-3,e=a.h.length,f=0;f<e;++f){var g=a.h[f];if(0==D(g,3))c.push(a.h[f]);else{var h=Math.min(d,D(g,3)-1),g=y(g,3,h);0==b.search(g)&&c.push(a.h[f])}}a.h=c}Lb.prototype.clear=function(){this.ia="";this.n.clear();this.w.clear();this.r.clear();this.v=0;this.$="";this.d.clear();this.q="";this.b.clear();this.o=!0;this.ca=this.u=this.ma=!1;this.h=[];this.ga=!1;this.j!=this.Ba&&(this.j=Mb(this,this.ja))};function Ub(a,b){a.ia=Vb(a,b);return a.ia}
482
+ function Vb(a,b){a.n.append(b);var c=b;if(bb.test(c)||1==a.n.g.length&&ab.test(c)){var c=b,d;"+"==c?(d=c,a.w.append(c)):(d=O[c],a.w.append(d),a.b.append(d));b=d}else a.o=!1,a.ma=!0;if(!a.o){if(!a.ma)if(Wb(a)){if(Xb(a))return Yb(a)}else if(0<a.q.length&&(c=a.b.toString(),a.b.clear(),a.b.append(a.q),a.b.append(c),c=a.d.toString(),d=c.lastIndexOf(a.q),a.d.clear(),a.d.append(c.substring(0,d))),a.q!=Zb(a))return a.d.append(" "),Yb(a);return a.n.toString()}switch(a.w.g.length){case 0:case 1:case 2:return a.n.toString();
483
+ case 3:if(Wb(a))a.ca=!0;else return a.q=Zb(a),$b(a);default:if(a.ca)return Xb(a)&&(a.ca=!1),a.d.toString()+a.b.toString();if(0<a.h.length){c=ac(a,b);d=bc(a);if(0<d.length)return d;Tb(a,a.b.toString());return Sb(a)?cc(a):a.o?dc(a,c):a.n.toString()}return $b(a)}}function Yb(a){a.o=!0;a.ca=!1;a.h=[];a.v=0;a.r.clear();a.$="";return $b(a)}
484
+ function bc(a){for(var b=a.b.toString(),c=a.h.length,d=0;d<c;++d){var e=a.h[d],f=C(e,1);if((new RegExp("^(?:"+f+")$")).test(b))return a.ga=Rb.test(y(e,4)),b=b.replace(new RegExp(f,"g"),y(e,2)),dc(a,b)}return""}function dc(a,b){var c=a.d.g.length;return a.ga&&0<c&&" "!=a.d.toString().charAt(c-1)?a.d+" "+b:a.d+b}
485
+ function $b(a){var b=a.b.toString();if(3<=b.length){for(var c=a.u&&0<D(a.j,20)?B(a.j,20)||[]:B(a.j,19)||[],d=c.length,e=0;e<d;++e){var f=c[e],g;(g=!x(a.j,12)||a.u||y(f,6))||(g=C(f,4),g=0==g.length||mb.test(g));g&&(g=C(f,2),Qb.test(g)&&a.h.push(f))}Tb(a,b);b=bc(a);return 0<b.length?b:Sb(a)?cc(a):a.n.toString()}return dc(a,b)}function cc(a){var b=a.b.toString(),c=b.length;if(0<c){for(var d="",e=0;e<c;e++)d=ac(a,b.charAt(e));return a.o?dc(a,d):a.n.toString()}return a.d.toString()}
486
+ function Zb(a){var b=a.b.toString(),c=0,d;1!=a.j.ua()?d=!1:(d=a.b.toString(),d="1"==d.charAt(0)&&"0"!=d.charAt(1)&&"1"!=d.charAt(1));d?(c=1,a.d.append("1").append(" "),a.u=!0):x(a.j,15)&&(d=new RegExp("^(?:"+y(a.j,15)+")"),d=b.match(d),null!=d&&null!=d[0]&&0<d[0].length&&(a.u=!0,c=d[0].length,a.d.append(b.substring(0,c))));a.b.clear();a.b.append(b.substring(c));return b.substring(0,c)}
487
+ function Wb(a){var b=a.w.toString(),c=new RegExp("^(?:\\+|"+y(a.j,11)+")"),c=b.match(c);return null!=c&&null!=c[0]&&0<c[0].length?(a.u=!0,c=c[0].length,a.b.clear(),a.b.append(b.substring(c)),a.d.clear(),a.d.append(b.substring(0,c)),"+"!=b.charAt(0)&&a.d.append(" "),!0):!1}function Xb(a){if(0==a.b.g.length)return!1;var b=new G,c=Hb(a.b,b);if(0==c)return!1;a.b.clear();a.b.append(b.toString());b=V(c);"001"==b?a.j=W(a.qa,""+c):b!=a.ja&&(a.j=Mb(a,b));a.d.append(""+c).append(" ");a.q="";return!0}
488
+ function ac(a,b){var c=a.r.toString();if(0<=c.substring(a.v).search(a.ha)){var d=c.search(a.ha),c=c.replace(a.ha,b);a.r.clear();a.r.append(c);a.v=d;return c.substring(0,a.v+1)}1==a.h.length&&(a.o=!1);a.$="";return a.n.toString()};/*
489
489
 
490
490
  Copyright (C) 2010 The Libphonenumber Authors.
491
491
 
@@ -501,8 +501,8 @@ function fc(a,b){var c=a.r.toString();if(0<=c.substring(a.v).search(a.ha)){var d
501
501
  See the License for the specific language governing permissions and
502
502
  limitations under the License.
503
503
  */
504
- function jc(){var a=za("phoneNumber").value,b=za("defaultCountry").value,c=za("carrierCode").value,d=new E;try{var e=L.va(),f;if(!xb(b)&&0<a.length&&"+"!=a.charAt(0))throw"Invalid country calling code";f=Pb(e,a,b,!0);d.append("****Parsing Result:****\n");d.append(Aa((new D(1)).da(f)));d.append("\n\n****Validation Results:****");var g=0==Lb(e,f);d.append("\nResult from isPossibleNumber(): ");d.append(g);if(g){var h=Fb(e,f);d.append("\nResult from isValidNumber(): ");d.append(h);h&&b&&"ZZ"!=b&&(d.append("\nResult from isValidNumberForRegion(): "),
505
- d.append(Jb(e,f,b)));d.append("\nPhone Number region: ");d.append(Ib(e,f));d.append("\nResult from getNumberType(): ");var m;var v=Ib(e,f),w=T(e,f.f(),v);if(null==w)m=-1;else{var N=R(f);m=Hb(N,w)}switch(m){case 0:d.append("FIXED_LINE");break;case 1:d.append("MOBILE");break;case 2:d.append("FIXED_LINE_OR_MOBILE");break;case 3:d.append("TOLL_FREE");break;case 4:d.append("PREMIUM_RATE");break;case 5:d.append("SHARED_COST");break;case 6:d.append("VOIP");break;case 7:d.append("PERSONAL_NUMBER");break;
506
- case 8:d.append("PAGER");break;case 9:d.append("UAN");break;case -1:d.append("UNKNOWN")}}else{d.append("\nResult from isPossibleNumberWithReason(): ");switch(Lb(e,f)){case 1:d.append("INVALID_COUNTRY_CODE");break;case 2:d.append("TOO_SHORT");break;case 3:d.append("TOO_LONG")}d.append("\nNote: numbers that are not possible have type UNKNOWN, an unknown region, and are considered invalid.")}d.append("\n\n****Formatting Results:**** ");d.append("\nE164 format: ");d.append(h?e.format(f,0):"invalid");
507
- d.append("\nOriginal format: ");d.append(Db(e,f,b));d.append("\nNational format: ");d.append(e.format(f,2));d.append("\nInternational format: ");d.append(h?e.format(f,1):"invalid");d.append("\nOut-of-country format from US: ");d.append(h?Bb(e,f,"US"):"invalid");d.append("\nOut-of-country format from Switzerland: ");d.append(h?Bb(e,f,"CH"):"invalid");0<c.length&&(d.append("\nNational format with carrier code: "),d.append(Ab(e,f,c)));d.append("\n\n****AsYouTypeFormatter Results****");for(var lc=new Qb(b),
508
- mc=a.length,b=0;b<mc;++b){var wb=a.charAt(b);d.append("\nChar entered: ");d.append(wb);d.append(" Output: ");d.append(Zb(lc,wb))}}catch(nc){d.append("\n"+nc)}za("output").value=d.toString();return!1}var X=["phoneNumberParser"],Y=k;X[0]in Y||!Y.execScript||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());){var kc;if(kc=!X.length)kc=void 0!==jc;kc?Y[Z]=jc:Y=Y[Z]?Y[Z]:Y[Z]={}};})();
504
+ function ec(){var a=s("phoneNumber").value,b=s("defaultCountry").value,c=s("carrierCode").value,d=new G;try{var e=N.va(),f;if(!rb(b)&&0<a.length&&"+"!=a.charAt(0))throw"Invalid country calling code";f=Kb(e,a,b,!0);d.append("****Parsing Result:****\n");d.append(wa((new F(1)).da(f)));d.append("\n\n****Validation Results:****");var g=0==Gb(e,f);d.append("\nResult from isPossibleNumber(): ");d.append(g);if(g){var h=Ab(e,f);d.append("\nResult from isValidNumber(): ");d.append(h);h&&b&&"ZZ"!=b&&(d.append("\nResult from isValidNumberForRegion(): "),
505
+ d.append(Eb(e,f,b)));d.append("\nPhone Number region: ");d.append(Db(e,f));d.append("\nResult from getNumberType(): ");var m;var u=Db(e,f),v=U(e,f.f(),u);if(null==v)m=-1;else{var M=S(f);m=Cb(M,v)}switch(m){case 0:d.append("FIXED_LINE");break;case 1:d.append("MOBILE");break;case 2:d.append("FIXED_LINE_OR_MOBILE");break;case 3:d.append("TOLL_FREE");break;case 4:d.append("PREMIUM_RATE");break;case 5:d.append("SHARED_COST");break;case 6:d.append("VOIP");break;case 7:d.append("PERSONAL_NUMBER");break;
506
+ case 8:d.append("PAGER");break;case 9:d.append("UAN");break;case -1:d.append("UNKNOWN")}}else{d.append("\nResult from isPossibleNumberWithReason(): ");switch(Gb(e,f)){case 1:d.append("INVALID_COUNTRY_CODE");break;case 2:d.append("TOO_SHORT");break;case 3:d.append("TOO_LONG")}d.append("\nNote: numbers that are not possible have type UNKNOWN, an unknown region, and are considered invalid.")}d.append("\n\n****Formatting Results:**** ");d.append("\nE164 format: ");d.append(h?e.format(f,0):"invalid");
507
+ d.append("\nOriginal format: ");d.append(yb(e,f,b));d.append("\nNational format: ");d.append(e.format(f,2));d.append("\nInternational format: ");d.append(h?e.format(f,1):"invalid");d.append("\nOut-of-country format from US: ");d.append(h?wb(e,f,"US"):"invalid");d.append("\nOut-of-country format from Switzerland: ");d.append(h?wb(e,f,"CH"):"invalid");0<c.length&&(d.append("\nNational format with carrier code: "),d.append(vb(e,f,c)));d.append("\n\n****AsYouTypeFormatter Results****");for(var gc=new Lb(b),
508
+ hc=a.length,b=0;b<hc;++b){var tb=a.charAt(b);d.append("\nChar entered: ");d.append(tb);d.append(" Output: ");d.append(Ub(gc,tb))}}catch(ic){d.append("\n"+ic)}s("output").value=d.toString();return!1}var Y=["phoneNumberParser"],Z=l;Y[0]in Z||!Z.execScript||Z.execScript("var "+Y[0]);for(var $;Y.length&&($=Y.shift());){var fc;if(fc=!Y.length)fc=void 0!==ec;fc?Z[$]=ec:Z=Z[$]?Z[$]:Z[$]={}};})();