Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

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