intl-tel-input 20.3.0 → 21.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/js/data.js CHANGED
@@ -1,36 +1,1365 @@
1
1
  /*
2
- * International Telephone Input v20.3.0
2
+ * International Telephone Input v21.0.1
3
3
  * https://github.com/jackocnr/intl-tel-input.git
4
4
  * Licensed under the MIT license
5
5
  */
6
- // wrap in UMD
7
- (function() {
8
- // Array of country objects for the flag dropdown.
9
- // Here is the criteria for the plugin to support a given country/territory
10
- // - It has an iso2 code: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
11
- // - It has it's own country calling code (it is not a sub-region of another country): https://en.wikipedia.org/wiki/List_of_country_calling_codes
12
- // - It has a flag in the region-flags project: https://github.com/behdad/region-flags/tree/gh-pages/png
13
- // - It is supported by libphonenumber (it must be listed on this page): https://github.com/googlei18n/libphonenumber/blob/master/resources/ShortNumberMetadata.xml
14
- // Each country array has the following information:
15
- // [
16
- // Country name,
17
- // iso2 code,
18
- // International dial code,
19
- // Order (if >1 country with same dial code),
20
- // Area codes
21
- // ]
22
- var allCountries = [ [ "Afghanistan", "af", "93" ], [ "Albania", "al", "355" ], [ "Algeria", "dz", "213" ], [ "American Samoa", "as", "1", 5, [ "684" ] ], [ "Andorra", "ad", "376" ], [ "Angola", "ao", "244" ], [ "Anguilla", "ai", "1", 6, [ "264" ] ], [ "Antigua & Barbuda", "ag", "1", 7, [ "268" ] ], [ "Argentina", "ar", "54" ], [ "Armenia", "am", "374" ], [ "Aruba", "aw", "297" ], [ "Ascension Island", "ac", "247" ], [ "Australia", "au", "61", 0 ], [ "Austria", "at", "43" ], [ "Azerbaijan", "az", "994" ], [ "Bahamas", "bs", "1", 8, [ "242" ] ], [ "Bahrain", "bh", "973" ], [ "Bangladesh", "bd", "880" ], [ "Barbados", "bb", "1", 9, [ "246" ] ], [ "Belarus", "by", "375" ], [ "Belgium", "be", "32" ], [ "Belize", "bz", "501" ], [ "Benin", "bj", "229" ], [ "Bermuda", "bm", "1", 10, [ "441" ] ], [ "Bhutan", "bt", "975" ], [ "Bolivia", "bo", "591" ], [ "Bosnia & Herzegovina", "ba", "387" ], [ "Botswana", "bw", "267" ], [ "Brazil", "br", "55" ], [ "British Indian Ocean Territory", "io", "246" ], [ "British Virgin Islands", "vg", "1", 11, [ "284" ] ], [ "Brunei", "bn", "673" ], [ "Bulgaria", "bg", "359" ], [ "Burkina Faso", "bf", "226" ], [ "Burundi", "bi", "257" ], [ "Cambodia", "kh", "855" ], [ "Cameroon", "cm", "237" ], [ "Canada", "ca", "1", 1, [ "204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905" ] ], [ "Cape Verde", "cv", "238" ], [ "Caribbean Netherlands", "bq", "599", 1, [ "3", "4", "7" ] ], [ "Cayman Islands", "ky", "1", 12, [ "345" ] ], [ "Central African Republic", "cf", "236" ], [ "Chad", "td", "235" ], [ "Chile", "cl", "56" ], [ "China", "cn", "86" ], [ "Christmas Island", "cx", "61", 2, [ "89164" ] ], [ "Cocos (Keeling) Islands", "cc", "61", 1, [ "89162" ] ], [ "Colombia", "co", "57" ], [ "Comoros", "km", "269" ], [ "Congo - Brazzaville", "cg", "242" ], [ "Congo - Kinshasa", "cd", "243" ], [ "Cook Islands", "ck", "682" ], [ "Costa Rica", "cr", "506" ], [ "Côte d’Ivoire", "ci", "225" ], [ "Croatia", "hr", "385" ], [ "Cuba", "cu", "53" ], [ "Curaçao", "cw", "599", 0 ], [ "Cyprus", "cy", "357" ], [ "Czech Republic", "cz", "420" ], [ "Denmark", "dk", "45" ], [ "Djibouti", "dj", "253" ], [ "Dominica", "dm", "1", 13, [ "767" ] ], [ "Dominican Republic", "do", "1", 2, [ "809", "829", "849" ] ], [ "Ecuador", "ec", "593" ], [ "Egypt", "eg", "20" ], [ "El Salvador", "sv", "503" ], [ "Equatorial Guinea", "gq", "240" ], [ "Eritrea", "er", "291" ], [ "Estonia", "ee", "372" ], [ "Eswatini", "sz", "268" ], [ "Ethiopia", "et", "251" ], [ "Falkland Islands", "fk", "500" ], [ "Faroe Islands", "fo", "298" ], [ "Fiji", "fj", "679" ], [ "Finland", "fi", "358", 0 ], [ "France", "fr", "33" ], [ "French Guiana", "gf", "594" ], [ "French Polynesia", "pf", "689" ], [ "Gabon", "ga", "241" ], [ "Gambia", "gm", "220" ], [ "Georgia", "ge", "995" ], [ "Germany", "de", "49" ], [ "Ghana", "gh", "233" ], [ "Gibraltar", "gi", "350" ], [ "Greece", "gr", "30" ], [ "Greenland", "gl", "299" ], [ "Grenada", "gd", "1", 14, [ "473" ] ], [ "Guadeloupe", "gp", "590", 0 ], [ "Guam", "gu", "1", 15, [ "671" ] ], [ "Guatemala", "gt", "502" ], [ "Guernsey", "gg", "44", 1, [ "1481", "7781", "7839", "7911" ] ], [ "Guinea", "gn", "224" ], [ "Guinea-Bissau", "gw", "245" ], [ "Guyana", "gy", "592" ], [ "Haiti", "ht", "509" ], [ "Honduras", "hn", "504" ], [ "Hong Kong", "hk", "852" ], [ "Hungary", "hu", "36" ], [ "Iceland", "is", "354" ], [ "India", "in", "91" ], [ "Indonesia", "id", "62" ], [ "Iran", "ir", "98" ], [ "Iraq", "iq", "964" ], [ "Ireland", "ie", "353" ], [ "Isle of Man", "im", "44", 2, [ "1624", "74576", "7524", "7924", "7624" ] ], [ "Israel", "il", "972" ], [ "Italy", "it", "39", 0 ], [ "Jamaica", "jm", "1", 4, [ "876", "658" ] ], [ "Japan", "jp", "81" ], [ "Jersey", "je", "44", 3, [ "1534", "7509", "7700", "7797", "7829", "7937" ] ], [ "Jordan", "jo", "962" ], [ "Kazakhstan", "kz", "7", 1, [ "33", "7" ] ], [ "Kenya", "ke", "254" ], [ "Kiribati", "ki", "686" ], [ "Kosovo", "xk", "383" ], [ "Kuwait", "kw", "965" ], [ "Kyrgyzstan", "kg", "996" ], [ "Laos", "la", "856" ], [ "Latvia", "lv", "371" ], [ "Lebanon", "lb", "961" ], [ "Lesotho", "ls", "266" ], [ "Liberia", "lr", "231" ], [ "Libya", "ly", "218" ], [ "Liechtenstein", "li", "423" ], [ "Lithuania", "lt", "370" ], [ "Luxembourg", "lu", "352" ], [ "Macau", "mo", "853" ], [ "Madagascar", "mg", "261" ], [ "Malawi", "mw", "265" ], [ "Malaysia", "my", "60" ], [ "Maldives", "mv", "960" ], [ "Mali", "ml", "223" ], [ "Malta", "mt", "356" ], [ "Marshall Islands", "mh", "692" ], [ "Martinique", "mq", "596" ], [ "Mauritania", "mr", "222" ], [ "Mauritius", "mu", "230" ], [ "Mayotte", "yt", "262", 1, [ "269", "639" ] ], [ "Mexico", "mx", "52" ], [ "Micronesia", "fm", "691" ], [ "Moldova", "md", "373" ], [ "Monaco", "mc", "377" ], [ "Mongolia", "mn", "976" ], [ "Montenegro", "me", "382" ], [ "Montserrat", "ms", "1", 16, [ "664" ] ], [ "Morocco", "ma", "212", 0 ], [ "Mozambique", "mz", "258" ], [ "Myanmar (Burma)", "mm", "95" ], [ "Namibia", "na", "264" ], [ "Nauru", "nr", "674" ], [ "Nepal", "np", "977" ], [ "Netherlands", "nl", "31" ], [ "New Caledonia", "nc", "687" ], [ "New Zealand", "nz", "64" ], [ "Nicaragua", "ni", "505" ], [ "Niger", "ne", "227" ], [ "Nigeria", "ng", "234" ], [ "Niue", "nu", "683" ], [ "Norfolk Island", "nf", "672" ], [ "North Korea", "kp", "850" ], [ "North Macedonia", "mk", "389" ], [ "Northern Mariana Islands", "mp", "1", 17, [ "670" ] ], [ "Norway", "no", "47", 0 ], [ "Oman", "om", "968" ], [ "Pakistan", "pk", "92" ], [ "Palau", "pw", "680" ], [ "Palestine", "ps", "970" ], [ "Panama", "pa", "507" ], [ "Papua New Guinea", "pg", "675" ], [ "Paraguay", "py", "595" ], [ "Peru", "pe", "51" ], [ "Philippines", "ph", "63" ], [ "Poland", "pl", "48" ], [ "Portugal", "pt", "351" ], [ "Puerto Rico", "pr", "1", 3, [ "787", "939" ] ], [ "Qatar", "qa", "974" ], [ "Réunion", "re", "262", 0 ], [ "Romania", "ro", "40" ], [ "Russia", "ru", "7", 0 ], [ "Rwanda", "rw", "250" ], [ "Samoa", "ws", "685" ], [ "San Marino", "sm", "378" ], [ "São Tomé & Príncipe", "st", "239" ], [ "Saudi Arabia", "sa", "966" ], [ "Senegal", "sn", "221" ], [ "Serbia", "rs", "381" ], [ "Seychelles", "sc", "248" ], [ "Sierra Leone", "sl", "232" ], [ "Singapore", "sg", "65" ], [ "Sint Maarten", "sx", "1", 21, [ "721" ] ], [ "Slovakia", "sk", "421" ], [ "Slovenia", "si", "386" ], [ "Solomon Islands", "sb", "677" ], [ "Somalia", "so", "252" ], [ "South Africa", "za", "27" ], [ "South Korea", "kr", "82" ], [ "South Sudan", "ss", "211" ], [ "Spain", "es", "34" ], [ "Sri Lanka", "lk", "94" ], [ "St Barthélemy", "bl", "590", 1 ], [ "St Helena", "sh", "290" ], [ "St Kitts & Nevis", "kn", "1", 18, [ "869" ] ], [ "St Lucia", "lc", "1", 19, [ "758" ] ], [ "St Martin", "mf", "590", 2 ], [ "St Pierre & Miquelon", "pm", "508" ], [ "St Vincent & Grenadines", "vc", "1", 20, [ "784" ] ], [ "Sudan", "sd", "249" ], [ "Suriname", "sr", "597" ], [ "Svalbard & Jan Mayen", "sj", "47", 1, [ "79" ] ], [ "Sweden", "se", "46" ], [ "Switzerland", "ch", "41" ], [ "Syria", "sy", "963" ], [ "Taiwan", "tw", "886" ], [ "Tajikistan", "tj", "992" ], [ "Tanzania", "tz", "255" ], [ "Thailand", "th", "66" ], [ "Timor-Leste", "tl", "670" ], [ "Togo", "tg", "228" ], [ "Tokelau", "tk", "690" ], [ "Tonga", "to", "676" ], [ "Trinidad & Tobago", "tt", "1", 22, [ "868" ] ], [ "Tunisia", "tn", "216" ], [ "Turkey", "tr", "90" ], [ "Turkmenistan", "tm", "993" ], [ "Turks & Caicos Islands", "tc", "1", 23, [ "649" ] ], [ "Tuvalu", "tv", "688" ], [ "Uganda", "ug", "256" ], [ "Ukraine", "ua", "380" ], [ "United Arab Emirates", "ae", "971" ], [ "United Kingdom", "gb", "44", 0 ], [ "United States", "us", "1", 0 ], [ "Uruguay", "uy", "598" ], [ "US Virgin Islands", "vi", "1", 24, [ "340" ] ], [ "Uzbekistan", "uz", "998" ], [ "Vanuatu", "vu", "678" ], [ "Vatican City", "va", "39", 1, [ "06698" ] ], [ "Venezuela", "ve", "58" ], [ "Vietnam", "vn", "84" ], [ "Wallis & Futuna", "wf", "681" ], [ "Western Sahara", "eh", "212", 1, [ "5288", "5289" ] ], [ "Yemen", "ye", "967" ], [ "Zambia", "zm", "260" ], [ "Zimbabwe", "zw", "263" ], [ "Åland Islands", "ax", "358", 1, [ "18" ] ] ];
23
- // loop over all of the countries above, restructuring the data to be objects with named keys
24
- for (var i = 0; i < allCountries.length; i++) {
25
- var c = allCountries[i];
26
- allCountries[i] = {
27
- name: c[0],
28
- iso2: c[1],
29
- dialCode: c[2],
30
- priority: c[3] || 0,
31
- areaCodes: c[4] || null,
32
- nodeById: {}
33
- };
6
+
7
+ // UMD
8
+ (function(factory) {
9
+ if (typeof module === 'object' && module.exports) {
10
+ module.exports = factory();
11
+ } else {
12
+ window.allCountries = factory();
13
+ }
14
+ }(() => {
15
+
16
+ var factoryOutput = (() => {
17
+ var __defProp = Object.defineProperty;
18
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
19
+ var __getOwnPropNames = Object.getOwnPropertyNames;
20
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
21
+ var __export = (target, all) => {
22
+ for (var name in all)
23
+ __defProp(target, name, { get: all[name], enumerable: true });
24
+ };
25
+ var __copyProps = (to, from, except, desc) => {
26
+ if (from && typeof from === "object" || typeof from === "function") {
27
+ for (let key of __getOwnPropNames(from))
28
+ if (!__hasOwnProp.call(to, key) && key !== except)
29
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
34
30
  }
35
- if (typeof module === "object" && module.exports) module.exports = allCountries; else window.allCountries = allCountries;
36
- })();
31
+ return to;
32
+ };
33
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
+
35
+ // src/js/data.ts
36
+ var data_exports = {};
37
+ __export(data_exports, {
38
+ default: () => data_default
39
+ });
40
+ var rawCountryData = [
41
+ [
42
+ "Afghanistan",
43
+ "af",
44
+ "93"
45
+ ],
46
+ [
47
+ "Albania",
48
+ "al",
49
+ "355"
50
+ ],
51
+ [
52
+ "Algeria",
53
+ "dz",
54
+ "213"
55
+ ],
56
+ [
57
+ "American Samoa",
58
+ "as",
59
+ "1",
60
+ 5,
61
+ ["684"]
62
+ ],
63
+ [
64
+ "Andorra",
65
+ "ad",
66
+ "376"
67
+ ],
68
+ [
69
+ "Angola",
70
+ "ao",
71
+ "244"
72
+ ],
73
+ [
74
+ "Anguilla",
75
+ "ai",
76
+ "1",
77
+ 6,
78
+ ["264"]
79
+ ],
80
+ [
81
+ "Antigua & Barbuda",
82
+ "ag",
83
+ "1",
84
+ 7,
85
+ ["268"]
86
+ ],
87
+ [
88
+ "Argentina",
89
+ "ar",
90
+ "54"
91
+ ],
92
+ [
93
+ "Armenia",
94
+ "am",
95
+ "374"
96
+ ],
97
+ [
98
+ "Aruba",
99
+ "aw",
100
+ "297"
101
+ ],
102
+ [
103
+ "Ascension Island",
104
+ "ac",
105
+ "247"
106
+ ],
107
+ [
108
+ "Australia",
109
+ "au",
110
+ "61",
111
+ 0
112
+ ],
113
+ [
114
+ "Austria",
115
+ "at",
116
+ "43"
117
+ ],
118
+ [
119
+ "Azerbaijan",
120
+ "az",
121
+ "994"
122
+ ],
123
+ [
124
+ "Bahamas",
125
+ "bs",
126
+ "1",
127
+ 8,
128
+ ["242"]
129
+ ],
130
+ [
131
+ "Bahrain",
132
+ "bh",
133
+ "973"
134
+ ],
135
+ [
136
+ "Bangladesh",
137
+ "bd",
138
+ "880"
139
+ ],
140
+ [
141
+ "Barbados",
142
+ "bb",
143
+ "1",
144
+ 9,
145
+ ["246"]
146
+ ],
147
+ [
148
+ "Belarus",
149
+ "by",
150
+ "375"
151
+ ],
152
+ [
153
+ "Belgium",
154
+ "be",
155
+ "32"
156
+ ],
157
+ [
158
+ "Belize",
159
+ "bz",
160
+ "501"
161
+ ],
162
+ [
163
+ "Benin",
164
+ "bj",
165
+ "229"
166
+ ],
167
+ [
168
+ "Bermuda",
169
+ "bm",
170
+ "1",
171
+ 10,
172
+ ["441"]
173
+ ],
174
+ [
175
+ "Bhutan",
176
+ "bt",
177
+ "975"
178
+ ],
179
+ [
180
+ "Bolivia",
181
+ "bo",
182
+ "591"
183
+ ],
184
+ [
185
+ "Bosnia & Herzegovina",
186
+ "ba",
187
+ "387"
188
+ ],
189
+ [
190
+ "Botswana",
191
+ "bw",
192
+ "267"
193
+ ],
194
+ [
195
+ "Brazil",
196
+ "br",
197
+ "55"
198
+ ],
199
+ [
200
+ "British Indian Ocean Territory",
201
+ "io",
202
+ "246"
203
+ ],
204
+ [
205
+ "British Virgin Islands",
206
+ "vg",
207
+ "1",
208
+ 11,
209
+ ["284"]
210
+ ],
211
+ [
212
+ "Brunei",
213
+ "bn",
214
+ "673"
215
+ ],
216
+ [
217
+ "Bulgaria",
218
+ "bg",
219
+ "359"
220
+ ],
221
+ [
222
+ "Burkina Faso",
223
+ "bf",
224
+ "226"
225
+ ],
226
+ [
227
+ "Burundi",
228
+ "bi",
229
+ "257"
230
+ ],
231
+ [
232
+ "Cambodia",
233
+ "kh",
234
+ "855"
235
+ ],
236
+ [
237
+ "Cameroon",
238
+ "cm",
239
+ "237"
240
+ ],
241
+ [
242
+ "Canada",
243
+ "ca",
244
+ "1",
245
+ 1,
246
+ ["204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905"]
247
+ ],
248
+ [
249
+ "Cape Verde",
250
+ "cv",
251
+ "238"
252
+ ],
253
+ [
254
+ "Caribbean Netherlands",
255
+ "bq",
256
+ "599",
257
+ 1,
258
+ ["3", "4", "7"]
259
+ ],
260
+ [
261
+ "Cayman Islands",
262
+ "ky",
263
+ "1",
264
+ 12,
265
+ ["345"]
266
+ ],
267
+ [
268
+ "Central African Republic",
269
+ "cf",
270
+ "236"
271
+ ],
272
+ [
273
+ "Chad",
274
+ "td",
275
+ "235"
276
+ ],
277
+ [
278
+ "Chile",
279
+ "cl",
280
+ "56"
281
+ ],
282
+ [
283
+ "China",
284
+ "cn",
285
+ "86"
286
+ ],
287
+ [
288
+ "Christmas Island",
289
+ "cx",
290
+ "61",
291
+ 2,
292
+ ["89164"]
293
+ ],
294
+ [
295
+ "Cocos (Keeling) Islands",
296
+ "cc",
297
+ "61",
298
+ 1,
299
+ ["89162"]
300
+ ],
301
+ [
302
+ "Colombia",
303
+ "co",
304
+ "57"
305
+ ],
306
+ [
307
+ "Comoros",
308
+ "km",
309
+ "269"
310
+ ],
311
+ [
312
+ "Congo - Brazzaville",
313
+ "cg",
314
+ "242"
315
+ ],
316
+ [
317
+ "Congo - Kinshasa",
318
+ "cd",
319
+ "243"
320
+ ],
321
+ [
322
+ "Cook Islands",
323
+ "ck",
324
+ "682"
325
+ ],
326
+ [
327
+ "Costa Rica",
328
+ "cr",
329
+ "506"
330
+ ],
331
+ [
332
+ "C\xF4te d\u2019Ivoire",
333
+ "ci",
334
+ "225"
335
+ ],
336
+ [
337
+ "Croatia",
338
+ "hr",
339
+ "385"
340
+ ],
341
+ [
342
+ "Cuba",
343
+ "cu",
344
+ "53"
345
+ ],
346
+ [
347
+ "Cura\xE7ao",
348
+ "cw",
349
+ "599",
350
+ 0
351
+ ],
352
+ [
353
+ "Cyprus",
354
+ "cy",
355
+ "357"
356
+ ],
357
+ [
358
+ "Czech Republic",
359
+ "cz",
360
+ "420"
361
+ ],
362
+ [
363
+ "Denmark",
364
+ "dk",
365
+ "45"
366
+ ],
367
+ [
368
+ "Djibouti",
369
+ "dj",
370
+ "253"
371
+ ],
372
+ [
373
+ "Dominica",
374
+ "dm",
375
+ "1",
376
+ 13,
377
+ ["767"]
378
+ ],
379
+ [
380
+ "Dominican Republic",
381
+ "do",
382
+ "1",
383
+ 2,
384
+ ["809", "829", "849"]
385
+ ],
386
+ [
387
+ "Ecuador",
388
+ "ec",
389
+ "593"
390
+ ],
391
+ [
392
+ "Egypt",
393
+ "eg",
394
+ "20"
395
+ ],
396
+ [
397
+ "El Salvador",
398
+ "sv",
399
+ "503"
400
+ ],
401
+ [
402
+ "Equatorial Guinea",
403
+ "gq",
404
+ "240"
405
+ ],
406
+ [
407
+ "Eritrea",
408
+ "er",
409
+ "291"
410
+ ],
411
+ [
412
+ "Estonia",
413
+ "ee",
414
+ "372"
415
+ ],
416
+ [
417
+ "Eswatini",
418
+ "sz",
419
+ "268"
420
+ ],
421
+ [
422
+ "Ethiopia",
423
+ "et",
424
+ "251"
425
+ ],
426
+ [
427
+ "Falkland Islands",
428
+ "fk",
429
+ "500"
430
+ ],
431
+ [
432
+ "Faroe Islands",
433
+ "fo",
434
+ "298"
435
+ ],
436
+ [
437
+ "Fiji",
438
+ "fj",
439
+ "679"
440
+ ],
441
+ [
442
+ "Finland",
443
+ "fi",
444
+ "358",
445
+ 0
446
+ ],
447
+ [
448
+ "France",
449
+ "fr",
450
+ "33"
451
+ ],
452
+ [
453
+ "French Guiana",
454
+ "gf",
455
+ "594"
456
+ ],
457
+ [
458
+ "French Polynesia",
459
+ "pf",
460
+ "689"
461
+ ],
462
+ [
463
+ "Gabon",
464
+ "ga",
465
+ "241"
466
+ ],
467
+ [
468
+ "Gambia",
469
+ "gm",
470
+ "220"
471
+ ],
472
+ [
473
+ "Georgia",
474
+ "ge",
475
+ "995"
476
+ ],
477
+ [
478
+ "Germany",
479
+ "de",
480
+ "49"
481
+ ],
482
+ [
483
+ "Ghana",
484
+ "gh",
485
+ "233"
486
+ ],
487
+ [
488
+ "Gibraltar",
489
+ "gi",
490
+ "350"
491
+ ],
492
+ [
493
+ "Greece",
494
+ "gr",
495
+ "30"
496
+ ],
497
+ [
498
+ "Greenland",
499
+ "gl",
500
+ "299"
501
+ ],
502
+ [
503
+ "Grenada",
504
+ "gd",
505
+ "1",
506
+ 14,
507
+ ["473"]
508
+ ],
509
+ [
510
+ "Guadeloupe",
511
+ "gp",
512
+ "590",
513
+ 0
514
+ ],
515
+ [
516
+ "Guam",
517
+ "gu",
518
+ "1",
519
+ 15,
520
+ ["671"]
521
+ ],
522
+ [
523
+ "Guatemala",
524
+ "gt",
525
+ "502"
526
+ ],
527
+ [
528
+ "Guernsey",
529
+ "gg",
530
+ "44",
531
+ 1,
532
+ ["1481", "7781", "7839", "7911"]
533
+ ],
534
+ [
535
+ "Guinea",
536
+ "gn",
537
+ "224"
538
+ ],
539
+ [
540
+ "Guinea-Bissau",
541
+ "gw",
542
+ "245"
543
+ ],
544
+ [
545
+ "Guyana",
546
+ "gy",
547
+ "592"
548
+ ],
549
+ [
550
+ "Haiti",
551
+ "ht",
552
+ "509"
553
+ ],
554
+ [
555
+ "Honduras",
556
+ "hn",
557
+ "504"
558
+ ],
559
+ [
560
+ "Hong Kong",
561
+ "hk",
562
+ "852"
563
+ ],
564
+ [
565
+ "Hungary",
566
+ "hu",
567
+ "36"
568
+ ],
569
+ [
570
+ "Iceland",
571
+ "is",
572
+ "354"
573
+ ],
574
+ [
575
+ "India",
576
+ "in",
577
+ "91"
578
+ ],
579
+ [
580
+ "Indonesia",
581
+ "id",
582
+ "62"
583
+ ],
584
+ [
585
+ "Iran",
586
+ "ir",
587
+ "98"
588
+ ],
589
+ [
590
+ "Iraq",
591
+ "iq",
592
+ "964"
593
+ ],
594
+ [
595
+ "Ireland",
596
+ "ie",
597
+ "353"
598
+ ],
599
+ [
600
+ "Isle of Man",
601
+ "im",
602
+ "44",
603
+ 2,
604
+ ["1624", "74576", "7524", "7924", "7624"]
605
+ ],
606
+ [
607
+ "Israel",
608
+ "il",
609
+ "972"
610
+ ],
611
+ [
612
+ "Italy",
613
+ "it",
614
+ "39",
615
+ 0
616
+ ],
617
+ [
618
+ "Jamaica",
619
+ "jm",
620
+ "1",
621
+ 4,
622
+ ["876", "658"]
623
+ ],
624
+ [
625
+ "Japan",
626
+ "jp",
627
+ "81"
628
+ ],
629
+ [
630
+ "Jersey",
631
+ "je",
632
+ "44",
633
+ 3,
634
+ ["1534", "7509", "7700", "7797", "7829", "7937"]
635
+ ],
636
+ [
637
+ "Jordan",
638
+ "jo",
639
+ "962"
640
+ ],
641
+ [
642
+ "Kazakhstan",
643
+ "kz",
644
+ "7",
645
+ 1,
646
+ ["33", "7"]
647
+ ],
648
+ [
649
+ "Kenya",
650
+ "ke",
651
+ "254"
652
+ ],
653
+ [
654
+ "Kiribati",
655
+ "ki",
656
+ "686"
657
+ ],
658
+ [
659
+ "Kosovo",
660
+ "xk",
661
+ "383"
662
+ ],
663
+ [
664
+ "Kuwait",
665
+ "kw",
666
+ "965"
667
+ ],
668
+ [
669
+ "Kyrgyzstan",
670
+ "kg",
671
+ "996"
672
+ ],
673
+ [
674
+ "Laos",
675
+ "la",
676
+ "856"
677
+ ],
678
+ [
679
+ "Latvia",
680
+ "lv",
681
+ "371"
682
+ ],
683
+ [
684
+ "Lebanon",
685
+ "lb",
686
+ "961"
687
+ ],
688
+ [
689
+ "Lesotho",
690
+ "ls",
691
+ "266"
692
+ ],
693
+ [
694
+ "Liberia",
695
+ "lr",
696
+ "231"
697
+ ],
698
+ [
699
+ "Libya",
700
+ "ly",
701
+ "218"
702
+ ],
703
+ [
704
+ "Liechtenstein",
705
+ "li",
706
+ "423"
707
+ ],
708
+ [
709
+ "Lithuania",
710
+ "lt",
711
+ "370"
712
+ ],
713
+ [
714
+ "Luxembourg",
715
+ "lu",
716
+ "352"
717
+ ],
718
+ [
719
+ "Macau",
720
+ "mo",
721
+ "853"
722
+ ],
723
+ [
724
+ "Madagascar",
725
+ "mg",
726
+ "261"
727
+ ],
728
+ [
729
+ "Malawi",
730
+ "mw",
731
+ "265"
732
+ ],
733
+ [
734
+ "Malaysia",
735
+ "my",
736
+ "60"
737
+ ],
738
+ [
739
+ "Maldives",
740
+ "mv",
741
+ "960"
742
+ ],
743
+ [
744
+ "Mali",
745
+ "ml",
746
+ "223"
747
+ ],
748
+ [
749
+ "Malta",
750
+ "mt",
751
+ "356"
752
+ ],
753
+ [
754
+ "Marshall Islands",
755
+ "mh",
756
+ "692"
757
+ ],
758
+ [
759
+ "Martinique",
760
+ "mq",
761
+ "596"
762
+ ],
763
+ [
764
+ "Mauritania",
765
+ "mr",
766
+ "222"
767
+ ],
768
+ [
769
+ "Mauritius",
770
+ "mu",
771
+ "230"
772
+ ],
773
+ [
774
+ "Mayotte",
775
+ "yt",
776
+ "262",
777
+ 1,
778
+ ["269", "639"]
779
+ ],
780
+ [
781
+ "Mexico",
782
+ "mx",
783
+ "52"
784
+ ],
785
+ [
786
+ "Micronesia",
787
+ "fm",
788
+ "691"
789
+ ],
790
+ [
791
+ "Moldova",
792
+ "md",
793
+ "373"
794
+ ],
795
+ [
796
+ "Monaco",
797
+ "mc",
798
+ "377"
799
+ ],
800
+ [
801
+ "Mongolia",
802
+ "mn",
803
+ "976"
804
+ ],
805
+ [
806
+ "Montenegro",
807
+ "me",
808
+ "382"
809
+ ],
810
+ [
811
+ "Montserrat",
812
+ "ms",
813
+ "1",
814
+ 16,
815
+ ["664"]
816
+ ],
817
+ [
818
+ "Morocco",
819
+ "ma",
820
+ "212",
821
+ 0
822
+ ],
823
+ [
824
+ "Mozambique",
825
+ "mz",
826
+ "258"
827
+ ],
828
+ [
829
+ "Myanmar (Burma)",
830
+ "mm",
831
+ "95"
832
+ ],
833
+ [
834
+ "Namibia",
835
+ "na",
836
+ "264"
837
+ ],
838
+ [
839
+ "Nauru",
840
+ "nr",
841
+ "674"
842
+ ],
843
+ [
844
+ "Nepal",
845
+ "np",
846
+ "977"
847
+ ],
848
+ [
849
+ "Netherlands",
850
+ "nl",
851
+ "31"
852
+ ],
853
+ [
854
+ "New Caledonia",
855
+ "nc",
856
+ "687"
857
+ ],
858
+ [
859
+ "New Zealand",
860
+ "nz",
861
+ "64"
862
+ ],
863
+ [
864
+ "Nicaragua",
865
+ "ni",
866
+ "505"
867
+ ],
868
+ [
869
+ "Niger",
870
+ "ne",
871
+ "227"
872
+ ],
873
+ [
874
+ "Nigeria",
875
+ "ng",
876
+ "234"
877
+ ],
878
+ [
879
+ "Niue",
880
+ "nu",
881
+ "683"
882
+ ],
883
+ [
884
+ "Norfolk Island",
885
+ "nf",
886
+ "672"
887
+ ],
888
+ [
889
+ "North Korea",
890
+ "kp",
891
+ "850"
892
+ ],
893
+ [
894
+ "North Macedonia",
895
+ "mk",
896
+ "389"
897
+ ],
898
+ [
899
+ "Northern Mariana Islands",
900
+ "mp",
901
+ "1",
902
+ 17,
903
+ ["670"]
904
+ ],
905
+ [
906
+ "Norway",
907
+ "no",
908
+ "47",
909
+ 0
910
+ ],
911
+ [
912
+ "Oman",
913
+ "om",
914
+ "968"
915
+ ],
916
+ [
917
+ "Pakistan",
918
+ "pk",
919
+ "92"
920
+ ],
921
+ [
922
+ "Palau",
923
+ "pw",
924
+ "680"
925
+ ],
926
+ [
927
+ "Palestine",
928
+ "ps",
929
+ "970"
930
+ ],
931
+ [
932
+ "Panama",
933
+ "pa",
934
+ "507"
935
+ ],
936
+ [
937
+ "Papua New Guinea",
938
+ "pg",
939
+ "675"
940
+ ],
941
+ [
942
+ "Paraguay",
943
+ "py",
944
+ "595"
945
+ ],
946
+ [
947
+ "Peru",
948
+ "pe",
949
+ "51"
950
+ ],
951
+ [
952
+ "Philippines",
953
+ "ph",
954
+ "63"
955
+ ],
956
+ [
957
+ "Poland",
958
+ "pl",
959
+ "48"
960
+ ],
961
+ [
962
+ "Portugal",
963
+ "pt",
964
+ "351"
965
+ ],
966
+ [
967
+ "Puerto Rico",
968
+ "pr",
969
+ "1",
970
+ 3,
971
+ ["787", "939"]
972
+ ],
973
+ [
974
+ "Qatar",
975
+ "qa",
976
+ "974"
977
+ ],
978
+ [
979
+ "R\xE9union",
980
+ "re",
981
+ "262",
982
+ 0
983
+ ],
984
+ [
985
+ "Romania",
986
+ "ro",
987
+ "40"
988
+ ],
989
+ [
990
+ "Russia",
991
+ "ru",
992
+ "7",
993
+ 0
994
+ ],
995
+ [
996
+ "Rwanda",
997
+ "rw",
998
+ "250"
999
+ ],
1000
+ [
1001
+ "Samoa",
1002
+ "ws",
1003
+ "685"
1004
+ ],
1005
+ [
1006
+ "San Marino",
1007
+ "sm",
1008
+ "378"
1009
+ ],
1010
+ [
1011
+ "S\xE3o Tom\xE9 & Pr\xEDncipe",
1012
+ "st",
1013
+ "239"
1014
+ ],
1015
+ [
1016
+ "Saudi Arabia",
1017
+ "sa",
1018
+ "966"
1019
+ ],
1020
+ [
1021
+ "Senegal",
1022
+ "sn",
1023
+ "221"
1024
+ ],
1025
+ [
1026
+ "Serbia",
1027
+ "rs",
1028
+ "381"
1029
+ ],
1030
+ [
1031
+ "Seychelles",
1032
+ "sc",
1033
+ "248"
1034
+ ],
1035
+ [
1036
+ "Sierra Leone",
1037
+ "sl",
1038
+ "232"
1039
+ ],
1040
+ [
1041
+ "Singapore",
1042
+ "sg",
1043
+ "65"
1044
+ ],
1045
+ [
1046
+ "Sint Maarten",
1047
+ "sx",
1048
+ "1",
1049
+ 21,
1050
+ ["721"]
1051
+ ],
1052
+ [
1053
+ "Slovakia",
1054
+ "sk",
1055
+ "421"
1056
+ ],
1057
+ [
1058
+ "Slovenia",
1059
+ "si",
1060
+ "386"
1061
+ ],
1062
+ [
1063
+ "Solomon Islands",
1064
+ "sb",
1065
+ "677"
1066
+ ],
1067
+ [
1068
+ "Somalia",
1069
+ "so",
1070
+ "252"
1071
+ ],
1072
+ [
1073
+ "South Africa",
1074
+ "za",
1075
+ "27"
1076
+ ],
1077
+ [
1078
+ "South Korea",
1079
+ "kr",
1080
+ "82"
1081
+ ],
1082
+ [
1083
+ "South Sudan",
1084
+ "ss",
1085
+ "211"
1086
+ ],
1087
+ [
1088
+ "Spain",
1089
+ "es",
1090
+ "34"
1091
+ ],
1092
+ [
1093
+ "Sri Lanka",
1094
+ "lk",
1095
+ "94"
1096
+ ],
1097
+ [
1098
+ "St Barth\xE9lemy",
1099
+ "bl",
1100
+ "590",
1101
+ 1
1102
+ ],
1103
+ [
1104
+ "St Helena",
1105
+ "sh",
1106
+ "290"
1107
+ ],
1108
+ [
1109
+ "St Kitts & Nevis",
1110
+ "kn",
1111
+ "1",
1112
+ 18,
1113
+ ["869"]
1114
+ ],
1115
+ [
1116
+ "St Lucia",
1117
+ "lc",
1118
+ "1",
1119
+ 19,
1120
+ ["758"]
1121
+ ],
1122
+ [
1123
+ "St Martin",
1124
+ "mf",
1125
+ "590",
1126
+ 2
1127
+ ],
1128
+ [
1129
+ "St Pierre & Miquelon",
1130
+ "pm",
1131
+ "508"
1132
+ ],
1133
+ [
1134
+ "St Vincent & Grenadines",
1135
+ "vc",
1136
+ "1",
1137
+ 20,
1138
+ ["784"]
1139
+ ],
1140
+ [
1141
+ "Sudan",
1142
+ "sd",
1143
+ "249"
1144
+ ],
1145
+ [
1146
+ "Suriname",
1147
+ "sr",
1148
+ "597"
1149
+ ],
1150
+ [
1151
+ "Svalbard & Jan Mayen",
1152
+ "sj",
1153
+ "47",
1154
+ 1,
1155
+ ["79"]
1156
+ ],
1157
+ [
1158
+ "Sweden",
1159
+ "se",
1160
+ "46"
1161
+ ],
1162
+ [
1163
+ "Switzerland",
1164
+ "ch",
1165
+ "41"
1166
+ ],
1167
+ [
1168
+ "Syria",
1169
+ "sy",
1170
+ "963"
1171
+ ],
1172
+ [
1173
+ "Taiwan",
1174
+ "tw",
1175
+ "886"
1176
+ ],
1177
+ [
1178
+ "Tajikistan",
1179
+ "tj",
1180
+ "992"
1181
+ ],
1182
+ [
1183
+ "Tanzania",
1184
+ "tz",
1185
+ "255"
1186
+ ],
1187
+ [
1188
+ "Thailand",
1189
+ "th",
1190
+ "66"
1191
+ ],
1192
+ [
1193
+ "Timor-Leste",
1194
+ "tl",
1195
+ "670"
1196
+ ],
1197
+ [
1198
+ "Togo",
1199
+ "tg",
1200
+ "228"
1201
+ ],
1202
+ [
1203
+ "Tokelau",
1204
+ "tk",
1205
+ "690"
1206
+ ],
1207
+ [
1208
+ "Tonga",
1209
+ "to",
1210
+ "676"
1211
+ ],
1212
+ [
1213
+ "Trinidad & Tobago",
1214
+ "tt",
1215
+ "1",
1216
+ 22,
1217
+ ["868"]
1218
+ ],
1219
+ [
1220
+ "Tunisia",
1221
+ "tn",
1222
+ "216"
1223
+ ],
1224
+ [
1225
+ "Turkey",
1226
+ "tr",
1227
+ "90"
1228
+ ],
1229
+ [
1230
+ "Turkmenistan",
1231
+ "tm",
1232
+ "993"
1233
+ ],
1234
+ [
1235
+ "Turks & Caicos Islands",
1236
+ "tc",
1237
+ "1",
1238
+ 23,
1239
+ ["649"]
1240
+ ],
1241
+ [
1242
+ "Tuvalu",
1243
+ "tv",
1244
+ "688"
1245
+ ],
1246
+ [
1247
+ "Uganda",
1248
+ "ug",
1249
+ "256"
1250
+ ],
1251
+ [
1252
+ "Ukraine",
1253
+ "ua",
1254
+ "380"
1255
+ ],
1256
+ [
1257
+ "United Arab Emirates",
1258
+ "ae",
1259
+ "971"
1260
+ ],
1261
+ [
1262
+ "United Kingdom",
1263
+ "gb",
1264
+ "44",
1265
+ 0
1266
+ ],
1267
+ [
1268
+ "United States",
1269
+ "us",
1270
+ "1",
1271
+ 0
1272
+ ],
1273
+ [
1274
+ "Uruguay",
1275
+ "uy",
1276
+ "598"
1277
+ ],
1278
+ [
1279
+ "US Virgin Islands",
1280
+ "vi",
1281
+ "1",
1282
+ 24,
1283
+ ["340"]
1284
+ ],
1285
+ [
1286
+ "Uzbekistan",
1287
+ "uz",
1288
+ "998"
1289
+ ],
1290
+ [
1291
+ "Vanuatu",
1292
+ "vu",
1293
+ "678"
1294
+ ],
1295
+ [
1296
+ "Vatican City",
1297
+ "va",
1298
+ "39",
1299
+ 1,
1300
+ ["06698"]
1301
+ ],
1302
+ [
1303
+ "Venezuela",
1304
+ "ve",
1305
+ "58"
1306
+ ],
1307
+ [
1308
+ "Vietnam",
1309
+ "vn",
1310
+ "84"
1311
+ ],
1312
+ [
1313
+ "Wallis & Futuna",
1314
+ "wf",
1315
+ "681"
1316
+ ],
1317
+ [
1318
+ "Western Sahara",
1319
+ "eh",
1320
+ "212",
1321
+ 1,
1322
+ ["5288", "5289"]
1323
+ ],
1324
+ [
1325
+ "Yemen",
1326
+ "ye",
1327
+ "967"
1328
+ ],
1329
+ [
1330
+ "Zambia",
1331
+ "zm",
1332
+ "260"
1333
+ ],
1334
+ [
1335
+ "Zimbabwe",
1336
+ "zw",
1337
+ "263"
1338
+ ],
1339
+ [
1340
+ "\xC5land Islands",
1341
+ "ax",
1342
+ "358",
1343
+ 1,
1344
+ ["18"]
1345
+ ]
1346
+ ];
1347
+ var allCountries = [];
1348
+ for (let i = 0; i < rawCountryData.length; i++) {
1349
+ const c = rawCountryData[i];
1350
+ allCountries[i] = {
1351
+ name: c[0],
1352
+ iso2: c[1],
1353
+ dialCode: c[2],
1354
+ priority: c[3] || 0,
1355
+ areaCodes: c[4] || null,
1356
+ nodeById: {}
1357
+ };
1358
+ }
1359
+ var data_default = allCountries;
1360
+ return __toCommonJS(data_exports);
1361
+ })();
1362
+
1363
+ // UMD
1364
+ return factoryOutput.default;
1365
+ }));