intl-tel-input 25.10.10 → 25.10.11

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.
@@ -39,30 +39,43 @@ var rawCountryData = [
39
39
  [
40
40
  "af",
41
41
  // Afghanistan
42
- "93"
42
+ "93",
43
+ 0,
44
+ null,
45
+ "0"
43
46
  ],
44
47
  [
45
48
  "ax",
46
49
  // Åland Islands
47
50
  "358",
48
- 1
51
+ 1,
52
+ ["18", "4"],
53
+ // (4 is a mobile range shared with FI)
54
+ "0"
49
55
  ],
50
56
  [
51
57
  "al",
52
58
  // Albania
53
- "355"
59
+ "355",
60
+ 0,
61
+ null,
62
+ "0"
54
63
  ],
55
64
  [
56
65
  "dz",
57
66
  // Algeria
58
- "213"
67
+ "213",
68
+ 0,
69
+ null,
70
+ "0"
59
71
  ],
60
72
  [
61
73
  "as",
62
74
  // American Samoa
63
75
  "1",
64
76
  5,
65
- ["684"]
77
+ ["684"],
78
+ "1"
66
79
  ],
67
80
  [
68
81
  "ad",
@@ -79,24 +92,32 @@ var rawCountryData = [
79
92
  // Anguilla
80
93
  "1",
81
94
  6,
82
- ["264"]
95
+ ["264"],
96
+ "1"
83
97
  ],
84
98
  [
85
99
  "ag",
86
100
  // Antigua and Barbuda
87
101
  "1",
88
102
  7,
89
- ["268"]
103
+ ["268"],
104
+ "1"
90
105
  ],
91
106
  [
92
107
  "ar",
93
108
  // Argentina
94
- "54"
109
+ "54",
110
+ 0,
111
+ null,
112
+ "0"
95
113
  ],
96
114
  [
97
115
  "am",
98
116
  // Armenia
99
- "374"
117
+ "374",
118
+ 0,
119
+ null,
120
+ "0"
100
121
  ],
101
122
  [
102
123
  "aw",
@@ -113,25 +134,33 @@ var rawCountryData = [
113
134
  // Australia
114
135
  "61",
115
136
  0,
116
- null,
137
+ ["4"],
138
+ // (mobile range shared with CX and CC)
117
139
  "0"
118
140
  ],
119
141
  [
120
142
  "at",
121
143
  // Austria
122
- "43"
144
+ "43",
145
+ 0,
146
+ null,
147
+ "0"
123
148
  ],
124
149
  [
125
150
  "az",
126
151
  // Azerbaijan
127
- "994"
152
+ "994",
153
+ 0,
154
+ null,
155
+ "0"
128
156
  ],
129
157
  [
130
158
  "bs",
131
159
  // Bahamas
132
160
  "1",
133
161
  8,
134
- ["242"]
162
+ ["242"],
163
+ "1"
135
164
  ],
136
165
  [
137
166
  "bh",
@@ -141,24 +170,34 @@ var rawCountryData = [
141
170
  [
142
171
  "bd",
143
172
  // Bangladesh
144
- "880"
173
+ "880",
174
+ 0,
175
+ null,
176
+ "0"
145
177
  ],
146
178
  [
147
179
  "bb",
148
180
  // Barbados
149
181
  "1",
150
182
  9,
151
- ["246"]
183
+ ["246"],
184
+ "1"
152
185
  ],
153
186
  [
154
187
  "by",
155
188
  // Belarus
156
- "375"
189
+ "375",
190
+ 0,
191
+ null,
192
+ "8"
157
193
  ],
158
194
  [
159
195
  "be",
160
196
  // Belgium
161
- "32"
197
+ "32",
198
+ 0,
199
+ null,
200
+ "0"
162
201
  ],
163
202
  [
164
203
  "bz",
@@ -175,7 +214,8 @@ var rawCountryData = [
175
214
  // Bermuda
176
215
  "1",
177
216
  10,
178
- ["441"]
217
+ ["441"],
218
+ "1"
179
219
  ],
180
220
  [
181
221
  "bt",
@@ -185,12 +225,18 @@ var rawCountryData = [
185
225
  [
186
226
  "bo",
187
227
  // Bolivia
188
- "591"
228
+ "591",
229
+ 0,
230
+ null,
231
+ "0"
189
232
  ],
190
233
  [
191
234
  "ba",
192
235
  // Bosnia and Herzegovina
193
- "387"
236
+ "387",
237
+ 0,
238
+ null,
239
+ "0"
194
240
  ],
195
241
  [
196
242
  "bw",
@@ -200,7 +246,10 @@ var rawCountryData = [
200
246
  [
201
247
  "br",
202
248
  // Brazil
203
- "55"
249
+ "55",
250
+ 0,
251
+ null,
252
+ "0"
204
253
  ],
205
254
  [
206
255
  "io",
@@ -212,7 +261,8 @@ var rawCountryData = [
212
261
  // British Virgin Islands
213
262
  "1",
214
263
  11,
215
- ["284"]
264
+ ["284"],
265
+ "1"
216
266
  ],
217
267
  [
218
268
  "bn",
@@ -222,7 +272,10 @@ var rawCountryData = [
222
272
  [
223
273
  "bg",
224
274
  // Bulgaria
225
- "359"
275
+ "359",
276
+ 0,
277
+ null,
278
+ "0"
226
279
  ],
227
280
  [
228
281
  "bf",
@@ -237,7 +290,10 @@ var rawCountryData = [
237
290
  [
238
291
  "kh",
239
292
  // Cambodia
240
- "855"
293
+ "855",
294
+ 0,
295
+ null,
296
+ "0"
241
297
  ],
242
298
  [
243
299
  "cm",
@@ -249,7 +305,8 @@ var rawCountryData = [
249
305
  // Canada
250
306
  "1",
251
307
  1,
252
- ["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", "879", "902", "905"]
308
+ ["204", "226", "236", "249", "250", "257", "263", "289", "306", "343", "354", "365", "367", "368", "382", "403", "416", "418", "428", "431", "437", "438", "450", "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", "879", "902", "905", "942"],
309
+ "1"
253
310
  ],
254
311
  [
255
312
  "cv",
@@ -268,7 +325,8 @@ var rawCountryData = [
268
325
  // Cayman Islands
269
326
  "1",
270
327
  12,
271
- ["345"]
328
+ ["345"],
329
+ "1"
272
330
  ],
273
331
  [
274
332
  "cf",
@@ -288,14 +346,18 @@ var rawCountryData = [
288
346
  [
289
347
  "cn",
290
348
  // China
291
- "86"
349
+ "86",
350
+ 0,
351
+ null,
352
+ "0"
292
353
  ],
293
354
  [
294
355
  "cx",
295
356
  // Christmas Island
296
357
  "61",
297
358
  2,
298
- ["89164"],
359
+ ["4", "89164"],
360
+ // (4 is a mobile range shared with AU and CC)
299
361
  "0"
300
362
  ],
301
363
  [
@@ -303,13 +365,17 @@ var rawCountryData = [
303
365
  // Cocos (Keeling) Islands
304
366
  "61",
305
367
  1,
306
- ["89162"],
368
+ ["4", "89162"],
369
+ // (4 is a mobile range shared with AU and CX)
307
370
  "0"
308
371
  ],
309
372
  [
310
373
  "co",
311
374
  // Colombia
312
- "57"
375
+ "57",
376
+ 0,
377
+ null,
378
+ "0"
313
379
  ],
314
380
  [
315
381
  "km",
@@ -324,7 +390,10 @@ var rawCountryData = [
324
390
  [
325
391
  "cd",
326
392
  // Congo (Kinshasa)
327
- "243"
393
+ "243",
394
+ 0,
395
+ null,
396
+ "0"
328
397
  ],
329
398
  [
330
399
  "ck",
@@ -344,12 +413,18 @@ var rawCountryData = [
344
413
  [
345
414
  "hr",
346
415
  // Croatia
347
- "385"
416
+ "385",
417
+ 0,
418
+ null,
419
+ "0"
348
420
  ],
349
421
  [
350
422
  "cu",
351
423
  // Cuba
352
- "53"
424
+ "53",
425
+ 0,
426
+ null,
427
+ "0"
353
428
  ],
354
429
  [
355
430
  "cw",
@@ -382,24 +457,32 @@ var rawCountryData = [
382
457
  // Dominica
383
458
  "1",
384
459
  13,
385
- ["767"]
460
+ ["767"],
461
+ "1"
386
462
  ],
387
463
  [
388
464
  "do",
389
465
  // Dominican Republic
390
466
  "1",
391
467
  2,
392
- ["809", "829", "849"]
468
+ ["809", "829", "849"],
469
+ "1"
393
470
  ],
394
471
  [
395
472
  "ec",
396
473
  // Ecuador
397
- "593"
474
+ "593",
475
+ 0,
476
+ null,
477
+ "0"
398
478
  ],
399
479
  [
400
480
  "eg",
401
481
  // Egypt
402
- "20"
482
+ "20",
483
+ 0,
484
+ null,
485
+ "0"
403
486
  ],
404
487
  [
405
488
  "sv",
@@ -414,7 +497,10 @@ var rawCountryData = [
414
497
  [
415
498
  "er",
416
499
  // Eritrea
417
- "291"
500
+ "291",
501
+ 0,
502
+ null,
503
+ "0"
418
504
  ],
419
505
  [
420
506
  "ee",
@@ -429,7 +515,10 @@ var rawCountryData = [
429
515
  [
430
516
  "et",
431
517
  // Ethiopia
432
- "251"
518
+ "251",
519
+ 0,
520
+ null,
521
+ "0"
433
522
  ],
434
523
  [
435
524
  "fk",
@@ -450,17 +539,26 @@ var rawCountryData = [
450
539
  "fi",
451
540
  // Finland
452
541
  "358",
453
- 0
542
+ 0,
543
+ ["4"],
544
+ // (mobile range shared with AX)
545
+ "0"
454
546
  ],
455
547
  [
456
548
  "fr",
457
549
  // France
458
- "33"
550
+ "33",
551
+ 0,
552
+ null,
553
+ "0"
459
554
  ],
460
555
  [
461
556
  "gf",
462
557
  // French Guiana
463
- "594"
558
+ "594",
559
+ 0,
560
+ null,
561
+ "0"
464
562
  ],
465
563
  [
466
564
  "pf",
@@ -480,17 +578,26 @@ var rawCountryData = [
480
578
  [
481
579
  "ge",
482
580
  // Georgia
483
- "995"
581
+ "995",
582
+ 0,
583
+ null,
584
+ "0"
484
585
  ],
485
586
  [
486
587
  "de",
487
588
  // Germany
488
- "49"
589
+ "49",
590
+ 0,
591
+ null,
592
+ "0"
489
593
  ],
490
594
  [
491
595
  "gh",
492
596
  // Ghana
493
- "233"
597
+ "233",
598
+ 0,
599
+ null,
600
+ "0"
494
601
  ],
495
602
  [
496
603
  "gi",
@@ -512,20 +619,24 @@ var rawCountryData = [
512
619
  // Grenada
513
620
  "1",
514
621
  14,
515
- ["473"]
622
+ ["473"],
623
+ "1"
516
624
  ],
517
625
  [
518
626
  "gp",
519
627
  // Guadeloupe
520
628
  "590",
521
- 0
629
+ 0,
630
+ null,
631
+ "0"
522
632
  ],
523
633
  [
524
634
  "gu",
525
635
  // Guam
526
636
  "1",
527
637
  15,
528
- ["671"]
638
+ ["671"],
639
+ "1"
529
640
  ],
530
641
  [
531
642
  "gt",
@@ -573,7 +684,10 @@ var rawCountryData = [
573
684
  [
574
685
  "hu",
575
686
  // Hungary
576
- "36"
687
+ "36",
688
+ 0,
689
+ null,
690
+ "06"
577
691
  ],
578
692
  [
579
693
  "is",
@@ -583,58 +697,82 @@ var rawCountryData = [
583
697
  [
584
698
  "in",
585
699
  // India
586
- "91"
700
+ "91",
701
+ 0,
702
+ null,
703
+ "0"
587
704
  ],
588
705
  [
589
706
  "id",
590
707
  // Indonesia
591
- "62"
708
+ "62",
709
+ 0,
710
+ null,
711
+ "0"
592
712
  ],
593
713
  [
594
714
  "ir",
595
715
  // Iran
596
- "98"
716
+ "98",
717
+ 0,
718
+ null,
719
+ "0"
597
720
  ],
598
721
  [
599
722
  "iq",
600
723
  // Iraq
601
- "964"
724
+ "964",
725
+ 0,
726
+ null,
727
+ "0"
602
728
  ],
603
729
  [
604
730
  "ie",
605
731
  // Ireland
606
- "353"
732
+ "353",
733
+ 0,
734
+ null,
735
+ "0"
607
736
  ],
608
737
  [
609
738
  "im",
610
739
  // Isle of Man
611
740
  "44",
612
741
  2,
613
- ["1624", "74576", "7524", "7924", "7624"],
742
+ ["1624", "74576", "7524", "7624", "7924"],
614
743
  "0"
615
744
  ],
616
745
  [
617
746
  "il",
618
747
  // Israel
619
- "972"
748
+ "972",
749
+ 0,
750
+ null,
751
+ "0"
620
752
  ],
621
753
  [
622
754
  "it",
623
755
  // Italy
624
756
  "39",
625
- 0
757
+ 0,
758
+ ["3"]
759
+ // (mobile range shared with VA)
626
760
  ],
627
761
  [
628
762
  "jm",
629
763
  // Jamaica
630
764
  "1",
631
765
  4,
632
- ["876", "658"]
766
+ ["658", "876"],
767
+ "1"
633
768
  ],
634
769
  [
635
770
  "jp",
636
771
  // Japan
637
- "81"
772
+ "81",
773
+ 0,
774
+ null,
775
+ "0"
638
776
  ],
639
777
  [
640
778
  "je",
@@ -647,7 +785,10 @@ var rawCountryData = [
647
785
  [
648
786
  "jo",
649
787
  // Jordan
650
- "962"
788
+ "962",
789
+ 0,
790
+ null,
791
+ "0"
651
792
  ],
652
793
  [
653
794
  "kz",
@@ -655,22 +796,32 @@ var rawCountryData = [
655
796
  "7",
656
797
  1,
657
798
  ["33", "7"],
799
+ // (33 is shared with RU)
658
800
  "8"
659
801
  ],
660
802
  [
661
803
  "ke",
662
804
  // Kenya
663
- "254"
805
+ "254",
806
+ 0,
807
+ null,
808
+ "0"
664
809
  ],
665
810
  [
666
811
  "ki",
667
812
  // Kiribati
668
- "686"
813
+ "686",
814
+ 0,
815
+ null,
816
+ "0"
669
817
  ],
670
818
  [
671
819
  "xk",
672
820
  // Kosovo
673
- "383"
821
+ "383",
822
+ 0,
823
+ null,
824
+ "0"
674
825
  ],
675
826
  [
676
827
  "kw",
@@ -680,12 +831,18 @@ var rawCountryData = [
680
831
  [
681
832
  "kg",
682
833
  // Kyrgyzstan
683
- "996"
834
+ "996",
835
+ 0,
836
+ null,
837
+ "0"
684
838
  ],
685
839
  [
686
840
  "la",
687
841
  // Laos
688
- "856"
842
+ "856",
843
+ 0,
844
+ null,
845
+ "0"
689
846
  ],
690
847
  [
691
848
  "lv",
@@ -695,7 +852,10 @@ var rawCountryData = [
695
852
  [
696
853
  "lb",
697
854
  // Lebanon
698
- "961"
855
+ "961",
856
+ 0,
857
+ null,
858
+ "0"
699
859
  ],
700
860
  [
701
861
  "ls",
@@ -705,22 +865,34 @@ var rawCountryData = [
705
865
  [
706
866
  "lr",
707
867
  // Liberia
708
- "231"
868
+ "231",
869
+ 0,
870
+ null,
871
+ "0"
709
872
  ],
710
873
  [
711
874
  "ly",
712
875
  // Libya
713
- "218"
876
+ "218",
877
+ 0,
878
+ null,
879
+ "0"
714
880
  ],
715
881
  [
716
882
  "li",
717
883
  // Liechtenstein
718
- "423"
884
+ "423",
885
+ 0,
886
+ null,
887
+ "0"
719
888
  ],
720
889
  [
721
890
  "lt",
722
891
  // Lithuania
723
- "370"
892
+ "370",
893
+ 0,
894
+ null,
895
+ "0"
724
896
  ],
725
897
  [
726
898
  "lu",
@@ -735,17 +907,26 @@ var rawCountryData = [
735
907
  [
736
908
  "mg",
737
909
  // Madagascar
738
- "261"
910
+ "261",
911
+ 0,
912
+ null,
913
+ "0"
739
914
  ],
740
915
  [
741
916
  "mw",
742
917
  // Malawi
743
- "265"
918
+ "265",
919
+ 0,
920
+ null,
921
+ "0"
744
922
  ],
745
923
  [
746
924
  "my",
747
925
  // Malaysia
748
- "60"
926
+ "60",
927
+ 0,
928
+ null,
929
+ "0"
749
930
  ],
750
931
  [
751
932
  "mv",
@@ -765,12 +946,18 @@ var rawCountryData = [
765
946
  [
766
947
  "mh",
767
948
  // Marshall Islands
768
- "692"
949
+ "692",
950
+ 0,
951
+ null,
952
+ "1"
769
953
  ],
770
954
  [
771
955
  "mq",
772
956
  // Martinique
773
- "596"
957
+ "596",
958
+ 0,
959
+ null,
960
+ "0"
774
961
  ],
775
962
  [
776
963
  "mr",
@@ -803,36 +990,50 @@ var rawCountryData = [
803
990
  [
804
991
  "md",
805
992
  // Moldova
806
- "373"
993
+ "373",
994
+ 0,
995
+ null,
996
+ "0"
807
997
  ],
808
998
  [
809
999
  "mc",
810
1000
  // Monaco
811
- "377"
1001
+ "377",
1002
+ 0,
1003
+ null,
1004
+ "0"
812
1005
  ],
813
1006
  [
814
1007
  "mn",
815
1008
  // Mongolia
816
- "976"
1009
+ "976",
1010
+ 0,
1011
+ null,
1012
+ "0"
817
1013
  ],
818
1014
  [
819
1015
  "me",
820
1016
  // Montenegro
821
- "382"
1017
+ "382",
1018
+ 0,
1019
+ null,
1020
+ "0"
822
1021
  ],
823
1022
  [
824
1023
  "ms",
825
1024
  // Montserrat
826
1025
  "1",
827
1026
  16,
828
- ["664"]
1027
+ ["664"],
1028
+ "1"
829
1029
  ],
830
1030
  [
831
1031
  "ma",
832
1032
  // Morocco
833
1033
  "212",
834
1034
  0,
835
- null,
1035
+ ["6", "7"],
1036
+ // (mobile ranges shared with EH)
836
1037
  "0"
837
1038
  ],
838
1039
  [
@@ -843,12 +1044,18 @@ var rawCountryData = [
843
1044
  [
844
1045
  "mm",
845
1046
  // Myanmar (Burma)
846
- "95"
1047
+ "95",
1048
+ 0,
1049
+ null,
1050
+ "0"
847
1051
  ],
848
1052
  [
849
1053
  "na",
850
1054
  // Namibia
851
- "264"
1055
+ "264",
1056
+ 0,
1057
+ null,
1058
+ "0"
852
1059
  ],
853
1060
  [
854
1061
  "nr",
@@ -858,12 +1065,18 @@ var rawCountryData = [
858
1065
  [
859
1066
  "np",
860
1067
  // Nepal
861
- "977"
1068
+ "977",
1069
+ 0,
1070
+ null,
1071
+ "0"
862
1072
  ],
863
1073
  [
864
1074
  "nl",
865
1075
  // Netherlands
866
- "31"
1076
+ "31",
1077
+ 0,
1078
+ null,
1079
+ "0"
867
1080
  ],
868
1081
  [
869
1082
  "nc",
@@ -873,7 +1086,10 @@ var rawCountryData = [
873
1086
  [
874
1087
  "nz",
875
1088
  // New Zealand
876
- "64"
1089
+ "64",
1090
+ 0,
1091
+ null,
1092
+ "0"
877
1093
  ],
878
1094
  [
879
1095
  "ni",
@@ -888,7 +1104,10 @@ var rawCountryData = [
888
1104
  [
889
1105
  "ng",
890
1106
  // Nigeria
891
- "234"
1107
+ "234",
1108
+ 0,
1109
+ null,
1110
+ "0"
892
1111
  ],
893
1112
  [
894
1113
  "nu",
@@ -903,25 +1122,34 @@ var rawCountryData = [
903
1122
  [
904
1123
  "kp",
905
1124
  // North Korea
906
- "850"
1125
+ "850",
1126
+ 0,
1127
+ null,
1128
+ "0"
907
1129
  ],
908
1130
  [
909
1131
  "mk",
910
1132
  // North Macedonia
911
- "389"
1133
+ "389",
1134
+ 0,
1135
+ null,
1136
+ "0"
912
1137
  ],
913
1138
  [
914
1139
  "mp",
915
1140
  // Northern Mariana Islands
916
1141
  "1",
917
1142
  17,
918
- ["670"]
1143
+ ["670"],
1144
+ "1"
919
1145
  ],
920
1146
  [
921
1147
  "no",
922
1148
  // Norway
923
1149
  "47",
924
- 0
1150
+ 0,
1151
+ ["4", "9"]
1152
+ // (mobile ranges shared with SJ)
925
1153
  ],
926
1154
  [
927
1155
  "om",
@@ -931,7 +1159,10 @@ var rawCountryData = [
931
1159
  [
932
1160
  "pk",
933
1161
  // Pakistan
934
- "92"
1162
+ "92",
1163
+ 0,
1164
+ null,
1165
+ "0"
935
1166
  ],
936
1167
  [
937
1168
  "pw",
@@ -941,7 +1172,10 @@ var rawCountryData = [
941
1172
  [
942
1173
  "ps",
943
1174
  // Palestinian Territories
944
- "970"
1175
+ "970",
1176
+ 0,
1177
+ null,
1178
+ "0"
945
1179
  ],
946
1180
  [
947
1181
  "pa",
@@ -956,17 +1190,26 @@ var rawCountryData = [
956
1190
  [
957
1191
  "py",
958
1192
  // Paraguay
959
- "595"
1193
+ "595",
1194
+ 0,
1195
+ null,
1196
+ "0"
960
1197
  ],
961
1198
  [
962
1199
  "pe",
963
1200
  // Peru
964
- "51"
1201
+ "51",
1202
+ 0,
1203
+ null,
1204
+ "0"
965
1205
  ],
966
1206
  [
967
1207
  "ph",
968
1208
  // Philippines
969
- "63"
1209
+ "63",
1210
+ 0,
1211
+ null,
1212
+ "0"
970
1213
  ],
971
1214
  [
972
1215
  "pl",
@@ -983,7 +1226,8 @@ var rawCountryData = [
983
1226
  // Puerto Rico
984
1227
  "1",
985
1228
  3,
986
- ["787", "939"]
1229
+ ["787", "939"],
1230
+ "1"
987
1231
  ],
988
1232
  [
989
1233
  "qa",
@@ -1001,20 +1245,27 @@ var rawCountryData = [
1001
1245
  [
1002
1246
  "ro",
1003
1247
  // Romania
1004
- "40"
1248
+ "40",
1249
+ 0,
1250
+ null,
1251
+ "0"
1005
1252
  ],
1006
1253
  [
1007
1254
  "ru",
1008
1255
  // Russia
1009
1256
  "7",
1010
1257
  0,
1011
- null,
1258
+ ["33"],
1259
+ // (shared with KZ)
1012
1260
  "8"
1013
1261
  ],
1014
1262
  [
1015
1263
  "rw",
1016
1264
  // Rwanda
1017
- "250"
1265
+ "250",
1266
+ 0,
1267
+ null,
1268
+ "0"
1018
1269
  ],
1019
1270
  [
1020
1271
  "ws",
@@ -1034,7 +1285,10 @@ var rawCountryData = [
1034
1285
  [
1035
1286
  "sa",
1036
1287
  // Saudi Arabia
1037
- "966"
1288
+ "966",
1289
+ 0,
1290
+ null,
1291
+ "0"
1038
1292
  ],
1039
1293
  [
1040
1294
  "sn",
@@ -1044,7 +1298,10 @@ var rawCountryData = [
1044
1298
  [
1045
1299
  "rs",
1046
1300
  // Serbia
1047
- "381"
1301
+ "381",
1302
+ 0,
1303
+ null,
1304
+ "0"
1048
1305
  ],
1049
1306
  [
1050
1307
  "sc",
@@ -1054,7 +1311,10 @@ var rawCountryData = [
1054
1311
  [
1055
1312
  "sl",
1056
1313
  // Sierra Leone
1057
- "232"
1314
+ "232",
1315
+ 0,
1316
+ null,
1317
+ "0"
1058
1318
  ],
1059
1319
  [
1060
1320
  "sg",
@@ -1066,17 +1326,24 @@ var rawCountryData = [
1066
1326
  // Sint Maarten
1067
1327
  "1",
1068
1328
  21,
1069
- ["721"]
1329
+ ["721"],
1330
+ "1"
1070
1331
  ],
1071
1332
  [
1072
1333
  "sk",
1073
1334
  // Slovakia
1074
- "421"
1335
+ "421",
1336
+ 0,
1337
+ null,
1338
+ "0"
1075
1339
  ],
1076
1340
  [
1077
1341
  "si",
1078
1342
  // Slovenia
1079
- "386"
1343
+ "386",
1344
+ 0,
1345
+ null,
1346
+ "0"
1080
1347
  ],
1081
1348
  [
1082
1349
  "sb",
@@ -1086,22 +1353,34 @@ var rawCountryData = [
1086
1353
  [
1087
1354
  "so",
1088
1355
  // Somalia
1089
- "252"
1356
+ "252",
1357
+ 0,
1358
+ null,
1359
+ "0"
1090
1360
  ],
1091
1361
  [
1092
1362
  "za",
1093
1363
  // South Africa
1094
- "27"
1364
+ "27",
1365
+ 0,
1366
+ null,
1367
+ "0"
1095
1368
  ],
1096
1369
  [
1097
1370
  "kr",
1098
1371
  // South Korea
1099
- "82"
1372
+ "82",
1373
+ 0,
1374
+ null,
1375
+ "0"
1100
1376
  ],
1101
1377
  [
1102
1378
  "ss",
1103
1379
  // South Sudan
1104
- "211"
1380
+ "211",
1381
+ 0,
1382
+ null,
1383
+ "0"
1105
1384
  ],
1106
1385
  [
1107
1386
  "es",
@@ -1111,13 +1390,18 @@ var rawCountryData = [
1111
1390
  [
1112
1391
  "lk",
1113
1392
  // Sri Lanka
1114
- "94"
1393
+ "94",
1394
+ 0,
1395
+ null,
1396
+ "0"
1115
1397
  ],
1116
1398
  [
1117
1399
  "bl",
1118
1400
  // St. Barthélemy
1119
1401
  "590",
1120
- 1
1402
+ 1,
1403
+ null,
1404
+ "0"
1121
1405
  ],
1122
1406
  [
1123
1407
  "sh",
@@ -1129,37 +1413,48 @@ var rawCountryData = [
1129
1413
  // St. Kitts & Nevis
1130
1414
  "1",
1131
1415
  18,
1132
- ["869"]
1416
+ ["869"],
1417
+ "1"
1133
1418
  ],
1134
1419
  [
1135
1420
  "lc",
1136
1421
  // St. Lucia
1137
1422
  "1",
1138
1423
  19,
1139
- ["758"]
1424
+ ["758"],
1425
+ "1"
1140
1426
  ],
1141
1427
  [
1142
1428
  "mf",
1143
1429
  // St. Martin
1144
1430
  "590",
1145
- 2
1431
+ 2,
1432
+ null,
1433
+ "0"
1146
1434
  ],
1147
1435
  [
1148
1436
  "pm",
1149
1437
  // St. Pierre & Miquelon
1150
- "508"
1438
+ "508",
1439
+ 0,
1440
+ null,
1441
+ "0"
1151
1442
  ],
1152
1443
  [
1153
1444
  "vc",
1154
1445
  // St. Vincent & Grenadines
1155
1446
  "1",
1156
1447
  20,
1157
- ["784"]
1448
+ ["784"],
1449
+ "1"
1158
1450
  ],
1159
1451
  [
1160
1452
  "sd",
1161
1453
  // Sudan
1162
- "249"
1454
+ "249",
1455
+ 0,
1456
+ null,
1457
+ "0"
1163
1458
  ],
1164
1459
  [
1165
1460
  "sr",
@@ -1171,27 +1466,40 @@ var rawCountryData = [
1171
1466
  // Svalbard & Jan Mayen
1172
1467
  "47",
1173
1468
  1,
1174
- ["79"]
1469
+ ["4", "79", "9"]
1470
+ // (4 and 9 are mobile ranges shared with NO)
1175
1471
  ],
1176
1472
  [
1177
1473
  "se",
1178
1474
  // Sweden
1179
- "46"
1475
+ "46",
1476
+ 0,
1477
+ null,
1478
+ "0"
1180
1479
  ],
1181
1480
  [
1182
1481
  "ch",
1183
1482
  // Switzerland
1184
- "41"
1483
+ "41",
1484
+ 0,
1485
+ null,
1486
+ "0"
1185
1487
  ],
1186
1488
  [
1187
1489
  "sy",
1188
1490
  // Syria
1189
- "963"
1491
+ "963",
1492
+ 0,
1493
+ null,
1494
+ "0"
1190
1495
  ],
1191
1496
  [
1192
1497
  "tw",
1193
1498
  // Taiwan
1194
- "886"
1499
+ "886",
1500
+ 0,
1501
+ null,
1502
+ "0"
1195
1503
  ],
1196
1504
  [
1197
1505
  "tj",
@@ -1201,12 +1509,18 @@ var rawCountryData = [
1201
1509
  [
1202
1510
  "tz",
1203
1511
  // Tanzania
1204
- "255"
1512
+ "255",
1513
+ 0,
1514
+ null,
1515
+ "0"
1205
1516
  ],
1206
1517
  [
1207
1518
  "th",
1208
1519
  // Thailand
1209
- "66"
1520
+ "66",
1521
+ 0,
1522
+ null,
1523
+ "0"
1210
1524
  ],
1211
1525
  [
1212
1526
  "tl",
@@ -1233,7 +1547,8 @@ var rawCountryData = [
1233
1547
  // Trinidad & Tobago
1234
1548
  "1",
1235
1549
  22,
1236
- ["868"]
1550
+ ["868"],
1551
+ "1"
1237
1552
  ],
1238
1553
  [
1239
1554
  "tn",
@@ -1243,19 +1558,26 @@ var rawCountryData = [
1243
1558
  [
1244
1559
  "tr",
1245
1560
  // Turkey
1246
- "90"
1561
+ "90",
1562
+ 0,
1563
+ null,
1564
+ "0"
1247
1565
  ],
1248
1566
  [
1249
1567
  "tm",
1250
1568
  // Turkmenistan
1251
- "993"
1569
+ "993",
1570
+ 0,
1571
+ null,
1572
+ "8"
1252
1573
  ],
1253
1574
  [
1254
1575
  "tc",
1255
1576
  // Turks & Caicos Islands
1256
1577
  "1",
1257
1578
  23,
1258
- ["649"]
1579
+ ["649"],
1580
+ "1"
1259
1581
  ],
1260
1582
  [
1261
1583
  "tv",
@@ -1267,22 +1589,32 @@ var rawCountryData = [
1267
1589
  // U.S. Virgin Islands
1268
1590
  "1",
1269
1591
  24,
1270
- ["340"]
1592
+ ["340"],
1593
+ "1"
1271
1594
  ],
1272
1595
  [
1273
1596
  "ug",
1274
1597
  // Uganda
1275
- "256"
1598
+ "256",
1599
+ 0,
1600
+ null,
1601
+ "0"
1276
1602
  ],
1277
1603
  [
1278
1604
  "ua",
1279
1605
  // Ukraine
1280
- "380"
1606
+ "380",
1607
+ 0,
1608
+ null,
1609
+ "0"
1281
1610
  ],
1282
1611
  [
1283
1612
  "ae",
1284
1613
  // United Arab Emirates
1285
- "971"
1614
+ "971",
1615
+ 0,
1616
+ null,
1617
+ "0"
1286
1618
  ],
1287
1619
  [
1288
1620
  "gb",
@@ -1296,12 +1628,17 @@ var rawCountryData = [
1296
1628
  "us",
1297
1629
  // United States
1298
1630
  "1",
1299
- 0
1631
+ 0,
1632
+ null,
1633
+ "1"
1300
1634
  ],
1301
1635
  [
1302
1636
  "uy",
1303
1637
  // Uruguay
1304
- "598"
1638
+ "598",
1639
+ 0,
1640
+ null,
1641
+ "0"
1305
1642
  ],
1306
1643
  [
1307
1644
  "uz",
@@ -1318,17 +1655,24 @@ var rawCountryData = [
1318
1655
  // Vatican City
1319
1656
  "39",
1320
1657
  1,
1321
- ["06698"]
1658
+ ["06698", "3"]
1659
+ // (3 is a mobile range shared with IT)
1322
1660
  ],
1323
1661
  [
1324
1662
  "ve",
1325
1663
  // Venezuela
1326
- "58"
1664
+ "58",
1665
+ 0,
1666
+ null,
1667
+ "0"
1327
1668
  ],
1328
1669
  [
1329
1670
  "vn",
1330
1671
  // Vietnam
1331
- "84"
1672
+ "84",
1673
+ 0,
1674
+ null,
1675
+ "0"
1332
1676
  ],
1333
1677
  [
1334
1678
  "wf",
@@ -1340,23 +1684,33 @@ var rawCountryData = [
1340
1684
  // Western Sahara
1341
1685
  "212",
1342
1686
  1,
1343
- ["5288", "5289"],
1687
+ ["5288", "5289", "6", "7"],
1688
+ // (6 and 7 are mobile ranges shared with MA)
1344
1689
  "0"
1345
1690
  ],
1346
1691
  [
1347
1692
  "ye",
1348
1693
  // Yemen
1349
- "967"
1694
+ "967",
1695
+ 0,
1696
+ null,
1697
+ "0"
1350
1698
  ],
1351
1699
  [
1352
1700
  "zm",
1353
1701
  // Zambia
1354
- "260"
1702
+ "260",
1703
+ 0,
1704
+ null,
1705
+ "0"
1355
1706
  ],
1356
1707
  [
1357
1708
  "zw",
1358
1709
  // Zimbabwe
1359
- "263"
1710
+ "263",
1711
+ 0,
1712
+ null,
1713
+ "0"
1360
1714
  ]
1361
1715
  ];
1362
1716
  var allCountries = [];
@@ -1788,6 +2142,10 @@ function processDialCodes(countries, options) {
1788
2142
  if (!dialCodes.has(c.dialCode)) {
1789
2143
  dialCodes.add(c.dialCode);
1790
2144
  }
2145
+ for (let k = 1; k < c.dialCode.length; k++) {
2146
+ const partialDialCode = c.dialCode.substring(0, k);
2147
+ _addToDialCodeMap(c.iso2, partialDialCode);
2148
+ }
1791
2149
  _addToDialCodeMap(c.iso2, c.dialCode, c.priority);
1792
2150
  }
1793
2151
  if (options.onlyCountries.length || options.excludeCountries.length) {
@@ -2825,6 +3183,7 @@ var Iti = class _Iti {
2825
3183
  }
2826
3184
  return false;
2827
3185
  }
3186
+ // if there is a selected country, and the number doesn't start with a dial code, then add it
2828
3187
  _ensureHasDialCode(number) {
2829
3188
  const { dialCode, nationalPrefix } = this.selectedCountryData;
2830
3189
  const alreadyHasPlus = number.charAt(0) === "+";
@@ -2862,9 +3221,20 @@ var Iti = class _Iti {
2862
3221
  if (isRegionlessNanpNumber) {
2863
3222
  return null;
2864
3223
  }
2865
- const hasAreaCodesButNoneMatched = this.selectedCountryData.areaCodes && numeric.length > dialCodeMatchNumeric.length;
2866
- const alreadySelected = selectedIso2 && iso2Codes.includes(selectedIso2) && !hasAreaCodesButNoneMatched;
2867
- if (!alreadySelected) {
3224
+ const { areaCodes, priority } = this.selectedCountryData;
3225
+ if (areaCodes) {
3226
+ const dialCodeAreaCodes = areaCodes.map((areaCode) => `${selectedDialCode}${areaCode}`);
3227
+ for (const dialCodeAreaCode of dialCodeAreaCodes) {
3228
+ if (numeric.startsWith(dialCodeAreaCode)) {
3229
+ return null;
3230
+ }
3231
+ }
3232
+ }
3233
+ const isMainCountry = priority === 0;
3234
+ const hasAreaCodesButNoneMatched = areaCodes && !isMainCountry && numeric.length > dialCodeMatchNumeric.length;
3235
+ const isValidSelection = selectedIso2 && iso2Codes.includes(selectedIso2) && !hasAreaCodesButNoneMatched;
3236
+ const alreadySelected = selectedIso2 === iso2Codes[0];
3237
+ if (!isValidSelection && !alreadySelected) {
2868
3238
  return iso2Codes[0];
2869
3239
  }
2870
3240
  } else if (number.charAt(0) === "+" && numeric.length) {
@@ -3110,15 +3480,15 @@ var Iti = class _Iti {
3110
3480
  const c = number.charAt(i);
3111
3481
  if (/[0-9]/.test(c)) {
3112
3482
  numericChars += c;
3483
+ const isMatch = Boolean(this.dialCodeToIso2Map[numericChars]);
3484
+ if (!isMatch) {
3485
+ break;
3486
+ }
3113
3487
  if (includeAreaCode) {
3114
- if (this.dialCodeToIso2Map[numericChars]) {
3115
- dialCode = number.substring(0, i + 1);
3116
- }
3117
- } else {
3118
- if (this.dialCodes.has(numericChars)) {
3119
- dialCode = number.substring(0, i + 1);
3120
- break;
3121
- }
3488
+ dialCode = number.substring(0, i + 1);
3489
+ } else if (this.dialCodes.has(numericChars)) {
3490
+ dialCode = number.substring(0, i + 1);
3491
+ break;
3122
3492
  }
3123
3493
  if (numericChars.length === this.dialCodeMaxLen) {
3124
3494
  break;
@@ -3400,7 +3770,7 @@ var intlTelInput = Object.assign(
3400
3770
  attachUtils,
3401
3771
  startedLoadingUtilsScript: false,
3402
3772
  startedLoadingAutoCountry: false,
3403
- version: "25.10.10"
3773
+ version: "25.10.11"
3404
3774
  }
3405
3775
  );
3406
3776
  var intl_tel_input_default = intlTelInput;