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.
@@ -1,32 +1,45 @@
1
- import { mergeModels as r2, useModel as P2, ref as I1, onMounted as x2, watch as B2, onUnmounted as R2, withDirectives as k2, createElementBlock as O2, openBlock as G2, mergeProps as U2, vModelText as F2 } from "vue";
2
- const K2 = [
1
+ import { mergeModels as r0, useModel as P0, ref as I1, onMounted as x0, watch as B0, onUnmounted as R0, withDirectives as k0, createElementBlock as O0, openBlock as G0, mergeProps as U0, vModelText as F0 } from "vue";
2
+ const K0 = [
3
3
  [
4
4
  "af",
5
5
  // Afghanistan
6
- "93"
6
+ "93",
7
+ 0,
8
+ null,
9
+ "0"
7
10
  ],
8
11
  [
9
12
  "ax",
10
13
  // Åland Islands
11
14
  "358",
12
- 1
15
+ 1,
16
+ ["18", "4"],
17
+ // (4 is a mobile range shared with FI)
18
+ "0"
13
19
  ],
14
20
  [
15
21
  "al",
16
22
  // Albania
17
- "355"
23
+ "355",
24
+ 0,
25
+ null,
26
+ "0"
18
27
  ],
19
28
  [
20
29
  "dz",
21
30
  // Algeria
22
- "213"
31
+ "213",
32
+ 0,
33
+ null,
34
+ "0"
23
35
  ],
24
36
  [
25
37
  "as",
26
38
  // American Samoa
27
39
  "1",
28
40
  5,
29
- ["684"]
41
+ ["684"],
42
+ "1"
30
43
  ],
31
44
  [
32
45
  "ad",
@@ -43,24 +56,32 @@ const K2 = [
43
56
  // Anguilla
44
57
  "1",
45
58
  6,
46
- ["264"]
59
+ ["264"],
60
+ "1"
47
61
  ],
48
62
  [
49
63
  "ag",
50
64
  // Antigua and Barbuda
51
65
  "1",
52
66
  7,
53
- ["268"]
67
+ ["268"],
68
+ "1"
54
69
  ],
55
70
  [
56
71
  "ar",
57
72
  // Argentina
58
- "54"
73
+ "54",
74
+ 0,
75
+ null,
76
+ "0"
59
77
  ],
60
78
  [
61
79
  "am",
62
80
  // Armenia
63
- "374"
81
+ "374",
82
+ 0,
83
+ null,
84
+ "0"
64
85
  ],
65
86
  [
66
87
  "aw",
@@ -77,25 +98,33 @@ const K2 = [
77
98
  // Australia
78
99
  "61",
79
100
  0,
80
- null,
101
+ ["4"],
102
+ // (mobile range shared with CX and CC)
81
103
  "0"
82
104
  ],
83
105
  [
84
106
  "at",
85
107
  // Austria
86
- "43"
108
+ "43",
109
+ 0,
110
+ null,
111
+ "0"
87
112
  ],
88
113
  [
89
114
  "az",
90
115
  // Azerbaijan
91
- "994"
116
+ "994",
117
+ 0,
118
+ null,
119
+ "0"
92
120
  ],
93
121
  [
94
122
  "bs",
95
123
  // Bahamas
96
124
  "1",
97
125
  8,
98
- ["242"]
126
+ ["242"],
127
+ "1"
99
128
  ],
100
129
  [
101
130
  "bh",
@@ -105,24 +134,34 @@ const K2 = [
105
134
  [
106
135
  "bd",
107
136
  // Bangladesh
108
- "880"
137
+ "880",
138
+ 0,
139
+ null,
140
+ "0"
109
141
  ],
110
142
  [
111
143
  "bb",
112
144
  // Barbados
113
145
  "1",
114
146
  9,
115
- ["246"]
147
+ ["246"],
148
+ "1"
116
149
  ],
117
150
  [
118
151
  "by",
119
152
  // Belarus
120
- "375"
153
+ "375",
154
+ 0,
155
+ null,
156
+ "8"
121
157
  ],
122
158
  [
123
159
  "be",
124
160
  // Belgium
125
- "32"
161
+ "32",
162
+ 0,
163
+ null,
164
+ "0"
126
165
  ],
127
166
  [
128
167
  "bz",
@@ -139,7 +178,8 @@ const K2 = [
139
178
  // Bermuda
140
179
  "1",
141
180
  10,
142
- ["441"]
181
+ ["441"],
182
+ "1"
143
183
  ],
144
184
  [
145
185
  "bt",
@@ -149,12 +189,18 @@ const K2 = [
149
189
  [
150
190
  "bo",
151
191
  // Bolivia
152
- "591"
192
+ "591",
193
+ 0,
194
+ null,
195
+ "0"
153
196
  ],
154
197
  [
155
198
  "ba",
156
199
  // Bosnia and Herzegovina
157
- "387"
200
+ "387",
201
+ 0,
202
+ null,
203
+ "0"
158
204
  ],
159
205
  [
160
206
  "bw",
@@ -164,7 +210,10 @@ const K2 = [
164
210
  [
165
211
  "br",
166
212
  // Brazil
167
- "55"
213
+ "55",
214
+ 0,
215
+ null,
216
+ "0"
168
217
  ],
169
218
  [
170
219
  "io",
@@ -176,7 +225,8 @@ const K2 = [
176
225
  // British Virgin Islands
177
226
  "1",
178
227
  11,
179
- ["284"]
228
+ ["284"],
229
+ "1"
180
230
  ],
181
231
  [
182
232
  "bn",
@@ -186,7 +236,10 @@ const K2 = [
186
236
  [
187
237
  "bg",
188
238
  // Bulgaria
189
- "359"
239
+ "359",
240
+ 0,
241
+ null,
242
+ "0"
190
243
  ],
191
244
  [
192
245
  "bf",
@@ -201,7 +254,10 @@ const K2 = [
201
254
  [
202
255
  "kh",
203
256
  // Cambodia
204
- "855"
257
+ "855",
258
+ 0,
259
+ null,
260
+ "0"
205
261
  ],
206
262
  [
207
263
  "cm",
@@ -213,7 +269,8 @@ const K2 = [
213
269
  // Canada
214
270
  "1",
215
271
  1,
216
- ["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"]
272
+ ["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"],
273
+ "1"
217
274
  ],
218
275
  [
219
276
  "cv",
@@ -232,7 +289,8 @@ const K2 = [
232
289
  // Cayman Islands
233
290
  "1",
234
291
  12,
235
- ["345"]
292
+ ["345"],
293
+ "1"
236
294
  ],
237
295
  [
238
296
  "cf",
@@ -252,14 +310,18 @@ const K2 = [
252
310
  [
253
311
  "cn",
254
312
  // China
255
- "86"
313
+ "86",
314
+ 0,
315
+ null,
316
+ "0"
256
317
  ],
257
318
  [
258
319
  "cx",
259
320
  // Christmas Island
260
321
  "61",
261
322
  2,
262
- ["89164"],
323
+ ["4", "89164"],
324
+ // (4 is a mobile range shared with AU and CC)
263
325
  "0"
264
326
  ],
265
327
  [
@@ -267,13 +329,17 @@ const K2 = [
267
329
  // Cocos (Keeling) Islands
268
330
  "61",
269
331
  1,
270
- ["89162"],
332
+ ["4", "89162"],
333
+ // (4 is a mobile range shared with AU and CX)
271
334
  "0"
272
335
  ],
273
336
  [
274
337
  "co",
275
338
  // Colombia
276
- "57"
339
+ "57",
340
+ 0,
341
+ null,
342
+ "0"
277
343
  ],
278
344
  [
279
345
  "km",
@@ -288,7 +354,10 @@ const K2 = [
288
354
  [
289
355
  "cd",
290
356
  // Congo (Kinshasa)
291
- "243"
357
+ "243",
358
+ 0,
359
+ null,
360
+ "0"
292
361
  ],
293
362
  [
294
363
  "ck",
@@ -308,12 +377,18 @@ const K2 = [
308
377
  [
309
378
  "hr",
310
379
  // Croatia
311
- "385"
380
+ "385",
381
+ 0,
382
+ null,
383
+ "0"
312
384
  ],
313
385
  [
314
386
  "cu",
315
387
  // Cuba
316
- "53"
388
+ "53",
389
+ 0,
390
+ null,
391
+ "0"
317
392
  ],
318
393
  [
319
394
  "cw",
@@ -346,24 +421,32 @@ const K2 = [
346
421
  // Dominica
347
422
  "1",
348
423
  13,
349
- ["767"]
424
+ ["767"],
425
+ "1"
350
426
  ],
351
427
  [
352
428
  "do",
353
429
  // Dominican Republic
354
430
  "1",
355
431
  2,
356
- ["809", "829", "849"]
432
+ ["809", "829", "849"],
433
+ "1"
357
434
  ],
358
435
  [
359
436
  "ec",
360
437
  // Ecuador
361
- "593"
438
+ "593",
439
+ 0,
440
+ null,
441
+ "0"
362
442
  ],
363
443
  [
364
444
  "eg",
365
445
  // Egypt
366
- "20"
446
+ "20",
447
+ 0,
448
+ null,
449
+ "0"
367
450
  ],
368
451
  [
369
452
  "sv",
@@ -378,7 +461,10 @@ const K2 = [
378
461
  [
379
462
  "er",
380
463
  // Eritrea
381
- "291"
464
+ "291",
465
+ 0,
466
+ null,
467
+ "0"
382
468
  ],
383
469
  [
384
470
  "ee",
@@ -393,7 +479,10 @@ const K2 = [
393
479
  [
394
480
  "et",
395
481
  // Ethiopia
396
- "251"
482
+ "251",
483
+ 0,
484
+ null,
485
+ "0"
397
486
  ],
398
487
  [
399
488
  "fk",
@@ -414,17 +503,26 @@ const K2 = [
414
503
  "fi",
415
504
  // Finland
416
505
  "358",
417
- 0
506
+ 0,
507
+ ["4"],
508
+ // (mobile range shared with AX)
509
+ "0"
418
510
  ],
419
511
  [
420
512
  "fr",
421
513
  // France
422
- "33"
514
+ "33",
515
+ 0,
516
+ null,
517
+ "0"
423
518
  ],
424
519
  [
425
520
  "gf",
426
521
  // French Guiana
427
- "594"
522
+ "594",
523
+ 0,
524
+ null,
525
+ "0"
428
526
  ],
429
527
  [
430
528
  "pf",
@@ -444,17 +542,26 @@ const K2 = [
444
542
  [
445
543
  "ge",
446
544
  // Georgia
447
- "995"
545
+ "995",
546
+ 0,
547
+ null,
548
+ "0"
448
549
  ],
449
550
  [
450
551
  "de",
451
552
  // Germany
452
- "49"
553
+ "49",
554
+ 0,
555
+ null,
556
+ "0"
453
557
  ],
454
558
  [
455
559
  "gh",
456
560
  // Ghana
457
- "233"
561
+ "233",
562
+ 0,
563
+ null,
564
+ "0"
458
565
  ],
459
566
  [
460
567
  "gi",
@@ -476,20 +583,24 @@ const K2 = [
476
583
  // Grenada
477
584
  "1",
478
585
  14,
479
- ["473"]
586
+ ["473"],
587
+ "1"
480
588
  ],
481
589
  [
482
590
  "gp",
483
591
  // Guadeloupe
484
592
  "590",
485
- 0
593
+ 0,
594
+ null,
595
+ "0"
486
596
  ],
487
597
  [
488
598
  "gu",
489
599
  // Guam
490
600
  "1",
491
601
  15,
492
- ["671"]
602
+ ["671"],
603
+ "1"
493
604
  ],
494
605
  [
495
606
  "gt",
@@ -537,7 +648,10 @@ const K2 = [
537
648
  [
538
649
  "hu",
539
650
  // Hungary
540
- "36"
651
+ "36",
652
+ 0,
653
+ null,
654
+ "06"
541
655
  ],
542
656
  [
543
657
  "is",
@@ -547,58 +661,82 @@ const K2 = [
547
661
  [
548
662
  "in",
549
663
  // India
550
- "91"
664
+ "91",
665
+ 0,
666
+ null,
667
+ "0"
551
668
  ],
552
669
  [
553
670
  "id",
554
671
  // Indonesia
555
- "62"
672
+ "62",
673
+ 0,
674
+ null,
675
+ "0"
556
676
  ],
557
677
  [
558
678
  "ir",
559
679
  // Iran
560
- "98"
680
+ "98",
681
+ 0,
682
+ null,
683
+ "0"
561
684
  ],
562
685
  [
563
686
  "iq",
564
687
  // Iraq
565
- "964"
688
+ "964",
689
+ 0,
690
+ null,
691
+ "0"
566
692
  ],
567
693
  [
568
694
  "ie",
569
695
  // Ireland
570
- "353"
696
+ "353",
697
+ 0,
698
+ null,
699
+ "0"
571
700
  ],
572
701
  [
573
702
  "im",
574
703
  // Isle of Man
575
704
  "44",
576
705
  2,
577
- ["1624", "74576", "7524", "7924", "7624"],
706
+ ["1624", "74576", "7524", "7624", "7924"],
578
707
  "0"
579
708
  ],
580
709
  [
581
710
  "il",
582
711
  // Israel
583
- "972"
712
+ "972",
713
+ 0,
714
+ null,
715
+ "0"
584
716
  ],
585
717
  [
586
718
  "it",
587
719
  // Italy
588
720
  "39",
589
- 0
721
+ 0,
722
+ ["3"]
723
+ // (mobile range shared with VA)
590
724
  ],
591
725
  [
592
726
  "jm",
593
727
  // Jamaica
594
728
  "1",
595
729
  4,
596
- ["876", "658"]
730
+ ["658", "876"],
731
+ "1"
597
732
  ],
598
733
  [
599
734
  "jp",
600
735
  // Japan
601
- "81"
736
+ "81",
737
+ 0,
738
+ null,
739
+ "0"
602
740
  ],
603
741
  [
604
742
  "je",
@@ -611,7 +749,10 @@ const K2 = [
611
749
  [
612
750
  "jo",
613
751
  // Jordan
614
- "962"
752
+ "962",
753
+ 0,
754
+ null,
755
+ "0"
615
756
  ],
616
757
  [
617
758
  "kz",
@@ -619,22 +760,32 @@ const K2 = [
619
760
  "7",
620
761
  1,
621
762
  ["33", "7"],
763
+ // (33 is shared with RU)
622
764
  "8"
623
765
  ],
624
766
  [
625
767
  "ke",
626
768
  // Kenya
627
- "254"
769
+ "254",
770
+ 0,
771
+ null,
772
+ "0"
628
773
  ],
629
774
  [
630
775
  "ki",
631
776
  // Kiribati
632
- "686"
777
+ "686",
778
+ 0,
779
+ null,
780
+ "0"
633
781
  ],
634
782
  [
635
783
  "xk",
636
784
  // Kosovo
637
- "383"
785
+ "383",
786
+ 0,
787
+ null,
788
+ "0"
638
789
  ],
639
790
  [
640
791
  "kw",
@@ -644,12 +795,18 @@ const K2 = [
644
795
  [
645
796
  "kg",
646
797
  // Kyrgyzstan
647
- "996"
798
+ "996",
799
+ 0,
800
+ null,
801
+ "0"
648
802
  ],
649
803
  [
650
804
  "la",
651
805
  // Laos
652
- "856"
806
+ "856",
807
+ 0,
808
+ null,
809
+ "0"
653
810
  ],
654
811
  [
655
812
  "lv",
@@ -659,7 +816,10 @@ const K2 = [
659
816
  [
660
817
  "lb",
661
818
  // Lebanon
662
- "961"
819
+ "961",
820
+ 0,
821
+ null,
822
+ "0"
663
823
  ],
664
824
  [
665
825
  "ls",
@@ -669,22 +829,34 @@ const K2 = [
669
829
  [
670
830
  "lr",
671
831
  // Liberia
672
- "231"
832
+ "231",
833
+ 0,
834
+ null,
835
+ "0"
673
836
  ],
674
837
  [
675
838
  "ly",
676
839
  // Libya
677
- "218"
840
+ "218",
841
+ 0,
842
+ null,
843
+ "0"
678
844
  ],
679
845
  [
680
846
  "li",
681
847
  // Liechtenstein
682
- "423"
848
+ "423",
849
+ 0,
850
+ null,
851
+ "0"
683
852
  ],
684
853
  [
685
854
  "lt",
686
855
  // Lithuania
687
- "370"
856
+ "370",
857
+ 0,
858
+ null,
859
+ "0"
688
860
  ],
689
861
  [
690
862
  "lu",
@@ -699,17 +871,26 @@ const K2 = [
699
871
  [
700
872
  "mg",
701
873
  // Madagascar
702
- "261"
874
+ "261",
875
+ 0,
876
+ null,
877
+ "0"
703
878
  ],
704
879
  [
705
880
  "mw",
706
881
  // Malawi
707
- "265"
882
+ "265",
883
+ 0,
884
+ null,
885
+ "0"
708
886
  ],
709
887
  [
710
888
  "my",
711
889
  // Malaysia
712
- "60"
890
+ "60",
891
+ 0,
892
+ null,
893
+ "0"
713
894
  ],
714
895
  [
715
896
  "mv",
@@ -729,12 +910,18 @@ const K2 = [
729
910
  [
730
911
  "mh",
731
912
  // Marshall Islands
732
- "692"
913
+ "692",
914
+ 0,
915
+ null,
916
+ "1"
733
917
  ],
734
918
  [
735
919
  "mq",
736
920
  // Martinique
737
- "596"
921
+ "596",
922
+ 0,
923
+ null,
924
+ "0"
738
925
  ],
739
926
  [
740
927
  "mr",
@@ -767,36 +954,50 @@ const K2 = [
767
954
  [
768
955
  "md",
769
956
  // Moldova
770
- "373"
957
+ "373",
958
+ 0,
959
+ null,
960
+ "0"
771
961
  ],
772
962
  [
773
963
  "mc",
774
964
  // Monaco
775
- "377"
965
+ "377",
966
+ 0,
967
+ null,
968
+ "0"
776
969
  ],
777
970
  [
778
971
  "mn",
779
972
  // Mongolia
780
- "976"
973
+ "976",
974
+ 0,
975
+ null,
976
+ "0"
781
977
  ],
782
978
  [
783
979
  "me",
784
980
  // Montenegro
785
- "382"
981
+ "382",
982
+ 0,
983
+ null,
984
+ "0"
786
985
  ],
787
986
  [
788
987
  "ms",
789
988
  // Montserrat
790
989
  "1",
791
990
  16,
792
- ["664"]
991
+ ["664"],
992
+ "1"
793
993
  ],
794
994
  [
795
995
  "ma",
796
996
  // Morocco
797
997
  "212",
798
998
  0,
799
- null,
999
+ ["6", "7"],
1000
+ // (mobile ranges shared with EH)
800
1001
  "0"
801
1002
  ],
802
1003
  [
@@ -807,12 +1008,18 @@ const K2 = [
807
1008
  [
808
1009
  "mm",
809
1010
  // Myanmar (Burma)
810
- "95"
1011
+ "95",
1012
+ 0,
1013
+ null,
1014
+ "0"
811
1015
  ],
812
1016
  [
813
1017
  "na",
814
1018
  // Namibia
815
- "264"
1019
+ "264",
1020
+ 0,
1021
+ null,
1022
+ "0"
816
1023
  ],
817
1024
  [
818
1025
  "nr",
@@ -822,12 +1029,18 @@ const K2 = [
822
1029
  [
823
1030
  "np",
824
1031
  // Nepal
825
- "977"
1032
+ "977",
1033
+ 0,
1034
+ null,
1035
+ "0"
826
1036
  ],
827
1037
  [
828
1038
  "nl",
829
1039
  // Netherlands
830
- "31"
1040
+ "31",
1041
+ 0,
1042
+ null,
1043
+ "0"
831
1044
  ],
832
1045
  [
833
1046
  "nc",
@@ -837,7 +1050,10 @@ const K2 = [
837
1050
  [
838
1051
  "nz",
839
1052
  // New Zealand
840
- "64"
1053
+ "64",
1054
+ 0,
1055
+ null,
1056
+ "0"
841
1057
  ],
842
1058
  [
843
1059
  "ni",
@@ -852,7 +1068,10 @@ const K2 = [
852
1068
  [
853
1069
  "ng",
854
1070
  // Nigeria
855
- "234"
1071
+ "234",
1072
+ 0,
1073
+ null,
1074
+ "0"
856
1075
  ],
857
1076
  [
858
1077
  "nu",
@@ -867,25 +1086,34 @@ const K2 = [
867
1086
  [
868
1087
  "kp",
869
1088
  // North Korea
870
- "850"
1089
+ "850",
1090
+ 0,
1091
+ null,
1092
+ "0"
871
1093
  ],
872
1094
  [
873
1095
  "mk",
874
1096
  // North Macedonia
875
- "389"
1097
+ "389",
1098
+ 0,
1099
+ null,
1100
+ "0"
876
1101
  ],
877
1102
  [
878
1103
  "mp",
879
1104
  // Northern Mariana Islands
880
1105
  "1",
881
1106
  17,
882
- ["670"]
1107
+ ["670"],
1108
+ "1"
883
1109
  ],
884
1110
  [
885
1111
  "no",
886
1112
  // Norway
887
1113
  "47",
888
- 0
1114
+ 0,
1115
+ ["4", "9"]
1116
+ // (mobile ranges shared with SJ)
889
1117
  ],
890
1118
  [
891
1119
  "om",
@@ -895,7 +1123,10 @@ const K2 = [
895
1123
  [
896
1124
  "pk",
897
1125
  // Pakistan
898
- "92"
1126
+ "92",
1127
+ 0,
1128
+ null,
1129
+ "0"
899
1130
  ],
900
1131
  [
901
1132
  "pw",
@@ -905,7 +1136,10 @@ const K2 = [
905
1136
  [
906
1137
  "ps",
907
1138
  // Palestinian Territories
908
- "970"
1139
+ "970",
1140
+ 0,
1141
+ null,
1142
+ "0"
909
1143
  ],
910
1144
  [
911
1145
  "pa",
@@ -920,17 +1154,26 @@ const K2 = [
920
1154
  [
921
1155
  "py",
922
1156
  // Paraguay
923
- "595"
1157
+ "595",
1158
+ 0,
1159
+ null,
1160
+ "0"
924
1161
  ],
925
1162
  [
926
1163
  "pe",
927
1164
  // Peru
928
- "51"
1165
+ "51",
1166
+ 0,
1167
+ null,
1168
+ "0"
929
1169
  ],
930
1170
  [
931
1171
  "ph",
932
1172
  // Philippines
933
- "63"
1173
+ "63",
1174
+ 0,
1175
+ null,
1176
+ "0"
934
1177
  ],
935
1178
  [
936
1179
  "pl",
@@ -947,7 +1190,8 @@ const K2 = [
947
1190
  // Puerto Rico
948
1191
  "1",
949
1192
  3,
950
- ["787", "939"]
1193
+ ["787", "939"],
1194
+ "1"
951
1195
  ],
952
1196
  [
953
1197
  "qa",
@@ -965,20 +1209,27 @@ const K2 = [
965
1209
  [
966
1210
  "ro",
967
1211
  // Romania
968
- "40"
1212
+ "40",
1213
+ 0,
1214
+ null,
1215
+ "0"
969
1216
  ],
970
1217
  [
971
1218
  "ru",
972
1219
  // Russia
973
1220
  "7",
974
1221
  0,
975
- null,
1222
+ ["33"],
1223
+ // (shared with KZ)
976
1224
  "8"
977
1225
  ],
978
1226
  [
979
1227
  "rw",
980
1228
  // Rwanda
981
- "250"
1229
+ "250",
1230
+ 0,
1231
+ null,
1232
+ "0"
982
1233
  ],
983
1234
  [
984
1235
  "ws",
@@ -998,7 +1249,10 @@ const K2 = [
998
1249
  [
999
1250
  "sa",
1000
1251
  // Saudi Arabia
1001
- "966"
1252
+ "966",
1253
+ 0,
1254
+ null,
1255
+ "0"
1002
1256
  ],
1003
1257
  [
1004
1258
  "sn",
@@ -1008,7 +1262,10 @@ const K2 = [
1008
1262
  [
1009
1263
  "rs",
1010
1264
  // Serbia
1011
- "381"
1265
+ "381",
1266
+ 0,
1267
+ null,
1268
+ "0"
1012
1269
  ],
1013
1270
  [
1014
1271
  "sc",
@@ -1018,7 +1275,10 @@ const K2 = [
1018
1275
  [
1019
1276
  "sl",
1020
1277
  // Sierra Leone
1021
- "232"
1278
+ "232",
1279
+ 0,
1280
+ null,
1281
+ "0"
1022
1282
  ],
1023
1283
  [
1024
1284
  "sg",
@@ -1030,17 +1290,24 @@ const K2 = [
1030
1290
  // Sint Maarten
1031
1291
  "1",
1032
1292
  21,
1033
- ["721"]
1293
+ ["721"],
1294
+ "1"
1034
1295
  ],
1035
1296
  [
1036
1297
  "sk",
1037
1298
  // Slovakia
1038
- "421"
1299
+ "421",
1300
+ 0,
1301
+ null,
1302
+ "0"
1039
1303
  ],
1040
1304
  [
1041
1305
  "si",
1042
1306
  // Slovenia
1043
- "386"
1307
+ "386",
1308
+ 0,
1309
+ null,
1310
+ "0"
1044
1311
  ],
1045
1312
  [
1046
1313
  "sb",
@@ -1050,22 +1317,34 @@ const K2 = [
1050
1317
  [
1051
1318
  "so",
1052
1319
  // Somalia
1053
- "252"
1320
+ "252",
1321
+ 0,
1322
+ null,
1323
+ "0"
1054
1324
  ],
1055
1325
  [
1056
1326
  "za",
1057
1327
  // South Africa
1058
- "27"
1328
+ "27",
1329
+ 0,
1330
+ null,
1331
+ "0"
1059
1332
  ],
1060
1333
  [
1061
1334
  "kr",
1062
1335
  // South Korea
1063
- "82"
1336
+ "82",
1337
+ 0,
1338
+ null,
1339
+ "0"
1064
1340
  ],
1065
1341
  [
1066
1342
  "ss",
1067
1343
  // South Sudan
1068
- "211"
1344
+ "211",
1345
+ 0,
1346
+ null,
1347
+ "0"
1069
1348
  ],
1070
1349
  [
1071
1350
  "es",
@@ -1075,13 +1354,18 @@ const K2 = [
1075
1354
  [
1076
1355
  "lk",
1077
1356
  // Sri Lanka
1078
- "94"
1357
+ "94",
1358
+ 0,
1359
+ null,
1360
+ "0"
1079
1361
  ],
1080
1362
  [
1081
1363
  "bl",
1082
1364
  // St. Barthélemy
1083
1365
  "590",
1084
- 1
1366
+ 1,
1367
+ null,
1368
+ "0"
1085
1369
  ],
1086
1370
  [
1087
1371
  "sh",
@@ -1093,37 +1377,48 @@ const K2 = [
1093
1377
  // St. Kitts & Nevis
1094
1378
  "1",
1095
1379
  18,
1096
- ["869"]
1380
+ ["869"],
1381
+ "1"
1097
1382
  ],
1098
1383
  [
1099
1384
  "lc",
1100
1385
  // St. Lucia
1101
1386
  "1",
1102
1387
  19,
1103
- ["758"]
1388
+ ["758"],
1389
+ "1"
1104
1390
  ],
1105
1391
  [
1106
1392
  "mf",
1107
1393
  // St. Martin
1108
1394
  "590",
1109
- 2
1395
+ 2,
1396
+ null,
1397
+ "0"
1110
1398
  ],
1111
1399
  [
1112
1400
  "pm",
1113
1401
  // St. Pierre & Miquelon
1114
- "508"
1402
+ "508",
1403
+ 0,
1404
+ null,
1405
+ "0"
1115
1406
  ],
1116
1407
  [
1117
1408
  "vc",
1118
1409
  // St. Vincent & Grenadines
1119
1410
  "1",
1120
1411
  20,
1121
- ["784"]
1412
+ ["784"],
1413
+ "1"
1122
1414
  ],
1123
1415
  [
1124
1416
  "sd",
1125
1417
  // Sudan
1126
- "249"
1418
+ "249",
1419
+ 0,
1420
+ null,
1421
+ "0"
1127
1422
  ],
1128
1423
  [
1129
1424
  "sr",
@@ -1135,27 +1430,40 @@ const K2 = [
1135
1430
  // Svalbard & Jan Mayen
1136
1431
  "47",
1137
1432
  1,
1138
- ["79"]
1433
+ ["4", "79", "9"]
1434
+ // (4 and 9 are mobile ranges shared with NO)
1139
1435
  ],
1140
1436
  [
1141
1437
  "se",
1142
1438
  // Sweden
1143
- "46"
1439
+ "46",
1440
+ 0,
1441
+ null,
1442
+ "0"
1144
1443
  ],
1145
1444
  [
1146
1445
  "ch",
1147
1446
  // Switzerland
1148
- "41"
1447
+ "41",
1448
+ 0,
1449
+ null,
1450
+ "0"
1149
1451
  ],
1150
1452
  [
1151
1453
  "sy",
1152
1454
  // Syria
1153
- "963"
1455
+ "963",
1456
+ 0,
1457
+ null,
1458
+ "0"
1154
1459
  ],
1155
1460
  [
1156
1461
  "tw",
1157
1462
  // Taiwan
1158
- "886"
1463
+ "886",
1464
+ 0,
1465
+ null,
1466
+ "0"
1159
1467
  ],
1160
1468
  [
1161
1469
  "tj",
@@ -1165,12 +1473,18 @@ const K2 = [
1165
1473
  [
1166
1474
  "tz",
1167
1475
  // Tanzania
1168
- "255"
1476
+ "255",
1477
+ 0,
1478
+ null,
1479
+ "0"
1169
1480
  ],
1170
1481
  [
1171
1482
  "th",
1172
1483
  // Thailand
1173
- "66"
1484
+ "66",
1485
+ 0,
1486
+ null,
1487
+ "0"
1174
1488
  ],
1175
1489
  [
1176
1490
  "tl",
@@ -1197,7 +1511,8 @@ const K2 = [
1197
1511
  // Trinidad & Tobago
1198
1512
  "1",
1199
1513
  22,
1200
- ["868"]
1514
+ ["868"],
1515
+ "1"
1201
1516
  ],
1202
1517
  [
1203
1518
  "tn",
@@ -1207,19 +1522,26 @@ const K2 = [
1207
1522
  [
1208
1523
  "tr",
1209
1524
  // Turkey
1210
- "90"
1525
+ "90",
1526
+ 0,
1527
+ null,
1528
+ "0"
1211
1529
  ],
1212
1530
  [
1213
1531
  "tm",
1214
1532
  // Turkmenistan
1215
- "993"
1533
+ "993",
1534
+ 0,
1535
+ null,
1536
+ "8"
1216
1537
  ],
1217
1538
  [
1218
1539
  "tc",
1219
1540
  // Turks & Caicos Islands
1220
1541
  "1",
1221
1542
  23,
1222
- ["649"]
1543
+ ["649"],
1544
+ "1"
1223
1545
  ],
1224
1546
  [
1225
1547
  "tv",
@@ -1231,22 +1553,32 @@ const K2 = [
1231
1553
  // U.S. Virgin Islands
1232
1554
  "1",
1233
1555
  24,
1234
- ["340"]
1556
+ ["340"],
1557
+ "1"
1235
1558
  ],
1236
1559
  [
1237
1560
  "ug",
1238
1561
  // Uganda
1239
- "256"
1562
+ "256",
1563
+ 0,
1564
+ null,
1565
+ "0"
1240
1566
  ],
1241
1567
  [
1242
1568
  "ua",
1243
1569
  // Ukraine
1244
- "380"
1570
+ "380",
1571
+ 0,
1572
+ null,
1573
+ "0"
1245
1574
  ],
1246
1575
  [
1247
1576
  "ae",
1248
1577
  // United Arab Emirates
1249
- "971"
1578
+ "971",
1579
+ 0,
1580
+ null,
1581
+ "0"
1250
1582
  ],
1251
1583
  [
1252
1584
  "gb",
@@ -1260,12 +1592,17 @@ const K2 = [
1260
1592
  "us",
1261
1593
  // United States
1262
1594
  "1",
1263
- 0
1595
+ 0,
1596
+ null,
1597
+ "1"
1264
1598
  ],
1265
1599
  [
1266
1600
  "uy",
1267
1601
  // Uruguay
1268
- "598"
1602
+ "598",
1603
+ 0,
1604
+ null,
1605
+ "0"
1269
1606
  ],
1270
1607
  [
1271
1608
  "uz",
@@ -1282,17 +1619,24 @@ const K2 = [
1282
1619
  // Vatican City
1283
1620
  "39",
1284
1621
  1,
1285
- ["06698"]
1622
+ ["06698", "3"]
1623
+ // (3 is a mobile range shared with IT)
1286
1624
  ],
1287
1625
  [
1288
1626
  "ve",
1289
1627
  // Venezuela
1290
- "58"
1628
+ "58",
1629
+ 0,
1630
+ null,
1631
+ "0"
1291
1632
  ],
1292
1633
  [
1293
1634
  "vn",
1294
1635
  // Vietnam
1295
- "84"
1636
+ "84",
1637
+ 0,
1638
+ null,
1639
+ "0"
1296
1640
  ],
1297
1641
  [
1298
1642
  "wf",
@@ -1304,27 +1648,37 @@ const K2 = [
1304
1648
  // Western Sahara
1305
1649
  "212",
1306
1650
  1,
1307
- ["5288", "5289"],
1651
+ ["5288", "5289", "6", "7"],
1652
+ // (6 and 7 are mobile ranges shared with MA)
1308
1653
  "0"
1309
1654
  ],
1310
1655
  [
1311
1656
  "ye",
1312
1657
  // Yemen
1313
- "967"
1658
+ "967",
1659
+ 0,
1660
+ null,
1661
+ "0"
1314
1662
  ],
1315
1663
  [
1316
1664
  "zm",
1317
1665
  // Zambia
1318
- "260"
1666
+ "260",
1667
+ 0,
1668
+ null,
1669
+ "0"
1319
1670
  ],
1320
1671
  [
1321
1672
  "zw",
1322
1673
  // Zimbabwe
1323
- "263"
1674
+ "263",
1675
+ 0,
1676
+ null,
1677
+ "0"
1324
1678
  ]
1325
- ], Z = [];
1326
- for (const f of K2)
1327
- Z.push({
1679
+ ], Y = [];
1680
+ for (const f of K0)
1681
+ Y.push({
1328
1682
  name: "",
1329
1683
  // populated in the plugin
1330
1684
  iso2: f[0],
@@ -1335,7 +1689,7 @@ for (const f of K2)
1335
1689
  // populated by the plugin
1336
1690
  nationalPrefix: f[4] || null
1337
1691
  });
1338
- const V2 = {
1692
+ const V0 = {
1339
1693
  ad: "Andorra",
1340
1694
  ae: "United Arab Emirates",
1341
1695
  af: "Afghanistan",
@@ -1578,7 +1932,7 @@ const V2 = {
1578
1932
  za: "South Africa",
1579
1933
  zm: "Zambia",
1580
1934
  zw: "Zimbabwe"
1581
- }, H2 = {
1935
+ }, H0 = {
1582
1936
  selectedCountryAriaLabel: "Change country, selected ${countryName} (${dialCode})",
1583
1937
  noCountrySelected: "Select country",
1584
1938
  countryListAriaLabel: "List of countries",
@@ -1590,13 +1944,13 @@ const V2 = {
1590
1944
  // additional countries (not supported by country-list library)
1591
1945
  ac: "Ascension Island",
1592
1946
  xk: "Kosovo"
1593
- }, a2 = { ...V2, ...H2 }, v1 = (f) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(f).matches, j2 = () => {
1947
+ }, l0 = { ...V0, ...H0 }, v1 = (f) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(f).matches, j0 = () => {
1594
1948
  if (typeof navigator < "u" && typeof window < "u") {
1595
1949
  const f = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), e = v1("(max-width: 500px)"), $ = v1("(max-height: 600px)"), i = v1("(pointer: coarse)");
1596
1950
  return f || e || i && $;
1597
1951
  }
1598
1952
  return !1;
1599
- }, u2 = {
1953
+ }, u0 = {
1600
1954
  // Allow alphanumeric "phonewords" (e.g. +1 800 FLOWERS) as valid numbers
1601
1955
  allowPhonewords: !1,
1602
1956
  //* Whether or not to allow the dropdown.
@@ -1644,81 +1998,87 @@ const V2 = {
1644
1998
  //* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
1645
1999
  strictMode: !1,
1646
2000
  //* Use full screen popup instead of dropdown for country list.
1647
- useFullscreenPopup: j2(),
2001
+ useFullscreenPopup: j0(),
1648
2002
  //* The number type to enforce during validation.
1649
2003
  validationNumberTypes: ["MOBILE"]
1650
2004
  };
1651
- function W2(f) {
1652
- f.useFullscreenPopup && (f.fixDropdownWidth = !1), f.onlyCountries.length === 1 && (f.initialCountry = f.onlyCountries[0]), f.separateDialCode && (f.nationalMode = !1), f.allowDropdown && !f.showFlags && !f.separateDialCode && (f.nationalMode = !1), f.useFullscreenPopup && !f.dropdownContainer && (f.dropdownContainer = document.body), f.i18n = { ...a2, ...f.i18n };
2005
+ function W0(f) {
2006
+ f.useFullscreenPopup && (f.fixDropdownWidth = !1), f.onlyCountries.length === 1 && (f.initialCountry = f.onlyCountries[0]), f.separateDialCode && (f.nationalMode = !1), f.allowDropdown && !f.showFlags && !f.separateDialCode && (f.nationalMode = !1), f.useFullscreenPopup && !f.dropdownContainer && (f.dropdownContainer = document.body), f.i18n = { ...l0, ...f.i18n };
1653
2007
  }
1654
- const h1 = (f) => f.replace(/\D/g, ""), l2 = (f = "") => f.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), L = (f, e, $) => {
2008
+ const c1 = (f) => f.replace(/\D/g, ""), a0 = (f = "") => f.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), L = (f, e, $) => {
1655
2009
  const i = document.createElement(f);
1656
2010
  return e && Object.entries(e).forEach(([s, u]) => i.setAttribute(s, u)), $ && $.appendChild(i), i;
1657
2011
  };
1658
- function z2(f) {
2012
+ function z0(f) {
1659
2013
  const { onlyCountries: e, excludeCountries: $ } = f;
1660
2014
  if (e.length) {
1661
2015
  const i = e.map((s) => s.toLowerCase());
1662
- return Z.filter((s) => i.includes(s.iso2));
2016
+ return Y.filter((s) => i.includes(s.iso2));
1663
2017
  } else if ($.length) {
1664
2018
  const i = $.map((s) => s.toLowerCase());
1665
- return Z.filter((s) => !i.includes(s.iso2));
2019
+ return Y.filter((s) => !i.includes(s.iso2));
1666
2020
  }
1667
- return Z;
2021
+ return Y;
1668
2022
  }
1669
- function Z2(f, e) {
2023
+ function Z0(f, e) {
1670
2024
  for (const $ of f) {
1671
2025
  const i = $.iso2.toLowerCase();
1672
2026
  e.i18n[i] && ($.name = e.i18n[i]);
1673
2027
  }
1674
2028
  }
1675
- function Y2(f, e) {
2029
+ function Y0(f, e) {
1676
2030
  const $ = /* @__PURE__ */ new Set();
1677
2031
  let i = 0;
1678
- const s = {}, u = (h, c, C) => {
2032
+ const s = {}, u = (h, c, m) => {
1679
2033
  if (!h || !c)
1680
2034
  return;
1681
2035
  c.length > i && (i = c.length), s.hasOwnProperty(c) || (s[c] = []);
1682
2036
  const g = s[c];
1683
2037
  if (g.includes(h))
1684
2038
  return;
1685
- const I = C !== void 0 ? C : g.length;
2039
+ const I = m !== void 0 ? m : g.length;
1686
2040
  g[I] = h;
1687
2041
  };
1688
- for (const h of f)
1689
- $.has(h.dialCode) || $.add(h.dialCode), u(h.iso2, h.dialCode, h.priority);
2042
+ for (const h of f) {
2043
+ $.has(h.dialCode) || $.add(h.dialCode);
2044
+ for (let c = 1; c < h.dialCode.length; c++) {
2045
+ const m = h.dialCode.substring(0, c);
2046
+ u(h.iso2, m);
2047
+ }
2048
+ u(h.iso2, h.dialCode, h.priority);
2049
+ }
1690
2050
  (e.onlyCountries.length || e.excludeCountries.length) && $.forEach((h) => {
1691
2051
  s[h] = s[h].filter(Boolean);
1692
2052
  });
1693
2053
  for (const h of f)
1694
2054
  if (h.areaCodes) {
1695
2055
  const c = s[h.dialCode][0];
1696
- for (const C of h.areaCodes) {
1697
- for (let g = 1; g < C.length; g++) {
1698
- const I = C.substring(0, g), S = h.dialCode + I;
1699
- u(c, S), u(h.iso2, S);
2056
+ for (const m of h.areaCodes) {
2057
+ for (let g = 1; g < m.length; g++) {
2058
+ const I = m.substring(0, g), w = h.dialCode + I;
2059
+ u(c, w), u(h.iso2, w);
1700
2060
  }
1701
- u(h.iso2, h.dialCode + C);
2061
+ u(h.iso2, h.dialCode + m);
1702
2062
  }
1703
2063
  }
1704
2064
  return { dialCodes: $, dialCodeMaxLen: i, dialCodeToIso2Map: s };
1705
2065
  }
1706
- function J2(f, e) {
2066
+ function J0(f, e) {
1707
2067
  e.countryOrder && (e.countryOrder = e.countryOrder.map(($) => $.toLowerCase())), f.sort(($, i) => {
1708
2068
  const { countryOrder: s } = e;
1709
2069
  if (s) {
1710
- const u = s.indexOf($.iso2), h = s.indexOf(i.iso2), c = u > -1, C = h > -1;
1711
- if (c || C)
1712
- return c && C ? u - h : c ? -1 : 1;
2070
+ const u = s.indexOf($.iso2), h = s.indexOf(i.iso2), c = u > -1, m = h > -1;
2071
+ if (c || m)
2072
+ return c && m ? u - h : c ? -1 : 1;
1713
2073
  }
1714
2074
  return $.name.localeCompare(i.name);
1715
2075
  });
1716
2076
  }
1717
- function q2(f) {
2077
+ function q0(f) {
1718
2078
  for (const e of f)
1719
- e.normalisedName = l2(e.name), e.initials = e.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map(($) => $[0]).join("").toLowerCase(), e.dialCodePlus = `+${e.dialCode}`;
2079
+ e.normalisedName = a0(e.name), e.initials = e.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map(($) => $[0]).join("").toLowerCase(), e.dialCodePlus = `+${e.dialCode}`;
1720
2080
  }
1721
- function X2(f, e, $, i) {
2081
+ function X0(f, e, $, i) {
1722
2082
  let s = f;
1723
2083
  if ($ && e) {
1724
2084
  e = `+${i.dialCode}`;
@@ -1727,11 +2087,11 @@ function X2(f, e, $, i) {
1727
2087
  }
1728
2088
  return s;
1729
2089
  }
1730
- function Q2(f, e, $, i, s) {
2090
+ function Q0(f, e, $, i, s) {
1731
2091
  const u = $ ? $.formatNumberAsYouType(f, i.iso2) : f, { dialCode: h } = i;
1732
2092
  return s && e.charAt(0) !== "+" && u.includes(`+${h}`) ? (u.split(`+${h}`)[1] || "").trim() : u;
1733
2093
  }
1734
- function d0(f, e, $, i) {
2094
+ function d2(f, e, $, i) {
1735
2095
  if ($ === 0 && !i)
1736
2096
  return 0;
1737
2097
  let s = 0;
@@ -1743,7 +2103,7 @@ function d0(f, e, $, i) {
1743
2103
  }
1744
2104
  return e.length;
1745
2105
  }
1746
- const t0 = [
2106
+ const t2 = [
1747
2107
  "800",
1748
2108
  "822",
1749
2109
  "833",
@@ -1761,22 +2121,22 @@ const t0 = [
1761
2121
  "887",
1762
2122
  "888",
1763
2123
  "889"
1764
- ], o2 = (f) => {
1765
- const e = h1(f);
2124
+ ], o0 = (f) => {
2125
+ const e = c1(f);
1766
2126
  if (e.charAt(0) === "1") {
1767
2127
  const $ = e.substring(1, 4);
1768
- return t0.includes($);
2128
+ return t2.includes($);
1769
2129
  }
1770
2130
  return !1;
1771
2131
  };
1772
- for (const f of Z)
1773
- f.name = a2[f.iso2];
1774
- let e0 = 0;
1775
- const $0 = new Set(Z.map((f) => f.iso2)), w1 = (f) => $0.has(f), e1 = (f, ...e) => {
2132
+ for (const f of Y)
2133
+ f.name = l0[f.iso2];
2134
+ let e2 = 0;
2135
+ const $2 = new Set(Y.map((f) => f.iso2)), w1 = (f) => $2.has(f), $1 = (f, ...e) => {
1776
2136
  const { instances: $ } = y;
1777
2137
  Object.values($).forEach((i) => i[f](...e));
1778
2138
  };
1779
- class c1 {
2139
+ class f1 {
1780
2140
  /**
1781
2141
  * Build a space-delimited class string from an object map of className -> truthy/falsey.
1782
2142
  * Only keys with truthy values are included.
@@ -1785,7 +2145,7 @@ class c1 {
1785
2145
  return Object.keys(e).filter(($) => !!e[$]).join(" ");
1786
2146
  }
1787
2147
  constructor(e, $ = {}) {
1788
- this.id = e0++, this.telInput = e, this.highlightedItem = null, this.options = Object.assign({}, u2, $), this.hadInitialPlaceholder = !!e.getAttribute("placeholder");
2148
+ this.id = e2++, this.telInput = e, this.highlightedItem = null, this.options = Object.assign({}, u0, $), this.hadInitialPlaceholder = !!e.getAttribute("placeholder");
1789
2149
  }
1790
2150
  _detectEnvironmentAndLayout() {
1791
2151
  this.isAndroid = typeof navigator < "u" ? /Android/i.test(navigator.userAgent) : !1, this.isRTL = !!this.telInput.closest("[dir=rtl]"), this.telInput.dir = "ltr";
@@ -1802,16 +2162,16 @@ class c1 {
1802
2162
  }
1803
2163
  //* Can't be private as it's called from intlTelInput convenience wrapper.
1804
2164
  _init() {
1805
- W2(this.options), this._detectEnvironmentAndLayout(), this._createInitPromises(), this.selectedCountryData = {}, this._processCountryData(), this._generateMarkup(), this._setInitialState(), this._initListeners(), this._initRequests();
2165
+ W0(this.options), this._detectEnvironmentAndLayout(), this._createInitPromises(), this.selectedCountryData = {}, this._processCountryData(), this._generateMarkup(), this._setInitialState(), this._initListeners(), this._initRequests();
1806
2166
  }
1807
2167
  //********************
1808
2168
  //* PRIVATE METHODS
1809
2169
  //********************
1810
2170
  //* Prepare all of the country data, including onlyCountries, excludeCountries, countryOrder options.
1811
2171
  _processCountryData() {
1812
- this.countries = z2(this.options);
1813
- const e = Y2(this.countries, this.options);
1814
- this.dialCodes = e.dialCodes, this.dialCodeMaxLen = e.dialCodeMaxLen, this.dialCodeToIso2Map = e.dialCodeToIso2Map, Z2(this.countries, this.options), J2(this.countries, this.options), this.countryByIso2 = new Map(this.countries.map(($) => [$.iso2, $])), q2(this.countries);
2172
+ this.countries = z0(this.options);
2173
+ const e = Y0(this.countries, this.options);
2174
+ this.dialCodes = e.dialCodes, this.dialCodeMaxLen = e.dialCodeMaxLen, this.dialCodeToIso2Map = e.dialCodeToIso2Map, Z0(this.countries, this.options), J0(this.countries, this.options), this.countryByIso2 = new Map(this.countries.map(($) => [$.iso2, $])), q0(this.countries);
1815
2175
  }
1816
2176
  //* Generate all of the markup for the plugin: the selected country overlay, and the dropdown.
1817
2177
  _generateMarkup() {
@@ -1829,7 +2189,7 @@ class c1 {
1829
2189
  showFlags: $,
1830
2190
  containerClass: i,
1831
2191
  useFullscreenPopup: s
1832
- } = this.options, u = c1._buildClassNames({
2192
+ } = this.options, u = f1._buildClassNames({
1833
2193
  iti: !0,
1834
2194
  "iti--allow-dropdown": e,
1835
2195
  "iti--show-flags": $,
@@ -1910,14 +2270,14 @@ class c1 {
1910
2270
  },
1911
2271
  this.dropdownContent
1912
2272
  ), this._appendListItems(), i && this._updateSearchResultsA11yText(), u) {
1913
- const C = c1._buildClassNames({
2273
+ const m = f1._buildClassNames({
1914
2274
  iti: !0,
1915
2275
  "iti--container": !0,
1916
2276
  "iti--fullscreen-popup": $,
1917
2277
  "iti--inline-dropdown": !$,
1918
2278
  [h]: !!h
1919
2279
  });
1920
- this.dropdown = L("div", { class: C }), this.dropdown.appendChild(this.dropdownContent);
2280
+ this.dropdown = L("div", { class: m }), this.dropdown.appendChild(this.dropdownContent);
1921
2281
  } else
1922
2282
  this.countryContainer.appendChild(this.dropdownContent);
1923
2283
  }
@@ -2036,12 +2396,12 @@ class c1 {
2036
2396
  //* 1. Extracting a dial code from the given number
2037
2397
  //* 2. Using explicit initialCountry
2038
2398
  _setInitialState(e = !1) {
2039
- const $ = this.telInput.getAttribute("value"), i = this.telInput.value, u = $ && $.charAt(0) === "+" && (!i || i.charAt(0) !== "+") ? $ : i, h = this._getDialCode(u), c = o2(u), { initialCountry: C, geoIpLookup: g } = this.options, I = C === "auto" && g;
2399
+ const $ = this.telInput.getAttribute("value"), i = this.telInput.value, u = $ && $.charAt(0) === "+" && (!i || i.charAt(0) !== "+") ? $ : i, h = this._getDialCode(u), c = o0(u), { initialCountry: m, geoIpLookup: g } = this.options, I = m === "auto" && g;
2040
2400
  if (h && !c)
2041
2401
  this._updateCountryFromNumber(u);
2042
2402
  else if (!I || e) {
2043
- const S = C ? C.toLowerCase() : "";
2044
- w1(S) ? this._setCountry(S) : h && c ? this._setCountry("us") : this._setCountry("");
2403
+ const w = m ? m.toLowerCase() : "";
2404
+ w1(w) ? this._setCountry(w) : h && c ? this._setCountry("us") : this._setCountry("");
2045
2405
  }
2046
2406
  u && this._updateValFromNumber(u);
2047
2407
  }
@@ -2090,10 +2450,10 @@ class c1 {
2090
2450
  y.autoCountry ? this.handleAutoCountry() : y.startedLoadingAutoCountry || (y.startedLoadingAutoCountry = !0, typeof this.options.geoIpLookup == "function" && this.options.geoIpLookup(
2091
2451
  (e = "") => {
2092
2452
  const $ = e.toLowerCase();
2093
- w1($) ? (y.autoCountry = $, setTimeout(() => e1("handleAutoCountry"))) : (this._setInitialState(!0), e1("rejectAutoCountryPromise"));
2453
+ w1($) ? (y.autoCountry = $, setTimeout(() => $1("handleAutoCountry"))) : (this._setInitialState(!0), $1("rejectAutoCountryPromise"));
2094
2454
  },
2095
2455
  () => {
2096
- this._setInitialState(!0), e1("rejectAutoCountryPromise");
2456
+ this._setInitialState(!0), $1("rejectAutoCountryPromise");
2097
2457
  }
2098
2458
  ));
2099
2459
  }
@@ -2109,23 +2469,23 @@ class c1 {
2109
2469
  let h = !1;
2110
2470
  new RegExp("\\p{L}", "u").test(this.telInput.value) && (h = !0), this._handleInputEvent = (c) => {
2111
2471
  if (this.isAndroid && (c == null ? void 0 : c.data) === "+" && i && s && u) {
2112
- const S = this.telInput.selectionStart || 0, R = this.telInput.value.substring(0, S - 1), v = this.telInput.value.substring(S);
2113
- this.telInput.value = R + v, this._openDropdownWithPlus();
2472
+ const w = this.telInput.selectionStart || 0, k = this.telInput.value.substring(0, w - 1), v = this.telInput.value.substring(w);
2473
+ this.telInput.value = k + v, this._openDropdownWithPlus();
2114
2474
  return;
2115
2475
  }
2116
2476
  this._updateCountryFromNumber(this.telInput.value) && this._triggerCountryChange();
2117
- const C = (c == null ? void 0 : c.data) && /[^+0-9]/.test(c.data), g = (c == null ? void 0 : c.inputType) === "insertFromPaste" && this.telInput.value;
2118
- C || g && !e ? h = !0 : /[^+0-9]/.test(this.telInput.value) || (h = !1);
2477
+ const m = (c == null ? void 0 : c.data) && /[^+0-9]/.test(c.data), g = (c == null ? void 0 : c.inputType) === "insertFromPaste" && this.telInput.value;
2478
+ m || g && !e ? h = !0 : /[^+0-9]/.test(this.telInput.value) || (h = !1);
2119
2479
  const I = (c == null ? void 0 : c.detail) && c.detail.isSetNumber;
2120
2480
  if ($ && !h && !I) {
2121
- const S = this.telInput.selectionStart || 0, v = this.telInput.value.substring(0, S).replace(/[^+0-9]/g, "").length, D = (c == null ? void 0 : c.inputType) === "deleteContentForward", A = this._getFullNumber(), k = Q2(
2122
- A,
2481
+ const w = this.telInput.selectionStart || 0, v = this.telInput.value.substring(0, w).replace(/[^+0-9]/g, "").length, E = (c == null ? void 0 : c.inputType) === "deleteContentForward", N = this._getFullNumber(), P = Q0(
2482
+ N,
2123
2483
  this.telInput.value,
2124
2484
  y.utils,
2125
2485
  this.selectedCountryData,
2126
2486
  this.options.separateDialCode
2127
- ), H = d0(v, k, S, D);
2128
- this.telInput.value = k, this.telInput.setSelectionRange(H, H);
2487
+ ), G = d2(v, P, w, E);
2488
+ this.telInput.value = P, this.telInput.setSelectionRange(G, G);
2129
2489
  }
2130
2490
  }, this.telInput.addEventListener("input", this._handleInputEvent);
2131
2491
  }
@@ -2138,8 +2498,8 @@ class c1 {
2138
2498
  return;
2139
2499
  }
2140
2500
  if (e) {
2141
- const h = this.telInput.value, C = !(h.charAt(0) === "+") && this.telInput.selectionStart === 0 && u.key === "+", g = /^[0-9]$/.test(u.key), I = $ ? g : C || g, S = h.slice(0, this.telInput.selectionStart) + u.key + h.slice(this.telInput.selectionEnd), R = this._getFullNumber(S), v = y.utils.getCoreNumber(R, this.selectedCountryData.iso2), D = this.maxCoreNumberLength && v.length > this.maxCoreNumberLength, k = this._getNewCountryFromNumber(R) !== null;
2142
- (!I || D && !k && !C) && u.preventDefault();
2501
+ const h = this.telInput.value, m = !(h.charAt(0) === "+") && this.telInput.selectionStart === 0 && u.key === "+", g = /^[0-9]$/.test(u.key), I = $ ? g : m || g, w = h.slice(0, this.telInput.selectionStart) + u.key + h.slice(this.telInput.selectionEnd), k = this._getFullNumber(w), v = y.utils.getCoreNumber(k, this.selectedCountryData.iso2), E = this.maxCoreNumberLength && v.length > this.maxCoreNumberLength, P = this._getNewCountryFromNumber(k) !== null;
2502
+ (!I || E && !P && !m) && u.preventDefault();
2143
2503
  }
2144
2504
  }
2145
2505
  }, this.telInput.addEventListener("keydown", this._handleKeydownEvent));
@@ -2147,21 +2507,21 @@ class c1 {
2147
2507
  _maybeBindPasteListener() {
2148
2508
  this.options.strictMode && (this._handlePasteEvent = (e) => {
2149
2509
  e.preventDefault();
2150
- const $ = this.telInput, i = $.selectionStart, s = $.selectionEnd, u = $.value.slice(0, i), h = $.value.slice(s), c = this.selectedCountryData.iso2, C = e.clipboardData.getData("text"), g = i === 0 && s > 0, I = !$.value.startsWith("+") || g, S = C.replace(/[^0-9+]/g, ""), R = S.startsWith("+"), v = S.replace(/\+/g, ""), D = R && I ? `+${v}` : v;
2151
- let A = u + D + h, k = y.utils.getCoreNumber(A, c);
2152
- for (; k.length === 0 && A.length > 0; )
2153
- A = A.slice(0, -1), k = y.utils.getCoreNumber(A, c);
2154
- if (!k)
2510
+ const $ = this.telInput, i = $.selectionStart, s = $.selectionEnd, u = $.value.slice(0, i), h = $.value.slice(s), c = this.selectedCountryData.iso2, m = e.clipboardData.getData("text"), g = i === 0 && s > 0, I = !$.value.startsWith("+") || g, w = m.replace(/[^0-9+]/g, ""), k = w.startsWith("+"), v = w.replace(/\+/g, ""), E = k && I ? `+${v}` : v;
2511
+ let N = u + E + h, P = y.utils.getCoreNumber(N, c);
2512
+ for (; P.length === 0 && N.length > 0; )
2513
+ N = N.slice(0, -1), P = y.utils.getCoreNumber(N, c);
2514
+ if (!P)
2155
2515
  return;
2156
- if (this.maxCoreNumberLength && k.length > this.maxCoreNumberLength)
2516
+ if (this.maxCoreNumberLength && P.length > this.maxCoreNumberLength)
2157
2517
  if ($.selectionEnd === $.value.length) {
2158
- const f1 = k.length - this.maxCoreNumberLength;
2159
- A = A.slice(0, A.length - f1);
2518
+ const j = P.length - this.maxCoreNumberLength;
2519
+ N = N.slice(0, N.length - j);
2160
2520
  } else
2161
2521
  return;
2162
- $.value = A;
2163
- const H = i + D.length;
2164
- $.setSelectionRange(H, H), $.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
2522
+ $.value = N;
2523
+ const G = i + E.length;
2524
+ $.setSelectionRange(G, G), $.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
2165
2525
  }, this.telInput.addEventListener("paste", this._handlePasteEvent));
2166
2526
  }
2167
2527
  //* Adhere to the input's maxlength attr.
@@ -2257,16 +2617,16 @@ class c1 {
2257
2617
  i ? (this._highlightListItem(null, !1), this.searchNoResults && this.searchNoResults.classList.remove("iti__hide")) : this.searchNoResults && this.searchNoResults.classList.add("iti__hide"), this.countryList.scrollTop = 0, this._updateSearchResultsA11yText();
2258
2618
  }
2259
2619
  _getMatchedCountries(e) {
2260
- const $ = l2(e), i = [], s = [], u = [], h = [], c = [], C = [];
2620
+ const $ = a0(e), i = [], s = [], u = [], h = [], c = [], m = [];
2261
2621
  for (const g of this.countries)
2262
- g.iso2 === $ ? i.push(g) : g.normalisedName.startsWith($) ? s.push(g) : g.normalisedName.includes($) ? u.push(g) : $ === g.dialCode || $ === g.dialCodePlus ? h.push(g) : g.dialCodePlus.includes($) ? c.push(g) : g.initials.includes($) && C.push(g);
2622
+ g.iso2 === $ ? i.push(g) : g.normalisedName.startsWith($) ? s.push(g) : g.normalisedName.includes($) ? u.push(g) : $ === g.dialCode || $ === g.dialCodePlus ? h.push(g) : g.dialCodePlus.includes($) ? c.push(g) : g.initials.includes($) && m.push(g);
2263
2623
  return [
2264
2624
  ...i.sort((g, I) => g.priority - I.priority),
2265
2625
  ...s.sort((g, I) => g.priority - I.priority),
2266
2626
  ...u.sort((g, I) => g.priority - I.priority),
2267
2627
  ...h.sort((g, I) => g.priority - I.priority),
2268
2628
  ...c.sort((g, I) => g.priority - I.priority),
2269
- ...C.sort((g, I) => g.priority - I.priority)
2629
+ ...m.sort((g, I) => g.priority - I.priority)
2270
2630
  ];
2271
2631
  }
2272
2632
  //* Update search results text (for a11y).
@@ -2305,6 +2665,7 @@ class c1 {
2305
2665
  const $ = this._getNewCountryFromNumber(e);
2306
2666
  return $ !== null ? this._setCountry($) : !1;
2307
2667
  }
2668
+ // if there is a selected country, and the number doesn't start with a dial code, then add it
2308
2669
  _ensureHasDialCode(e) {
2309
2670
  const { dialCode: $, nationalPrefix: i } = this.selectedCountryData;
2310
2671
  if (e.charAt(0) === "+" || !$)
@@ -2320,17 +2681,24 @@ class c1 {
2320
2681
  let i = $ ? e.substring($) : e;
2321
2682
  const s = this.selectedCountryData.iso2, u = this.selectedCountryData.dialCode;
2322
2683
  i = this._ensureHasDialCode(i);
2323
- const h = this._getDialCode(i, !0), c = h1(i);
2684
+ const h = this._getDialCode(i, !0), c = c1(i);
2324
2685
  if (h) {
2325
- const C = h1(h), g = this.dialCodeToIso2Map[C];
2686
+ const m = c1(h), g = this.dialCodeToIso2Map[m];
2326
2687
  if (g.length === 1)
2327
2688
  return g[0] === s ? null : g[0];
2328
2689
  if (!s && this.defaultCountry && g.includes(this.defaultCountry))
2329
2690
  return this.defaultCountry;
2330
- if (u === "1" && o2(c))
2691
+ if (u === "1" && o0(c))
2331
2692
  return null;
2332
- const S = this.selectedCountryData.areaCodes && c.length > C.length;
2333
- if (!(s && g.includes(s) && !S))
2693
+ const { areaCodes: w, priority: k } = this.selectedCountryData;
2694
+ if (w) {
2695
+ const G = w.map((j) => `${u}${j}`);
2696
+ for (const j of G)
2697
+ if (c.startsWith(j))
2698
+ return null;
2699
+ }
2700
+ const E = w && !(k === 0) && c.length > m.length, N = s && g.includes(s) && !E, P = s === g[0];
2701
+ if (!N && !P)
2334
2702
  return g[0];
2335
2703
  } else {
2336
2704
  if (i.charAt(0) === "+" && c.length)
@@ -2355,13 +2723,13 @@ class c1 {
2355
2723
  const { separateDialCode: $, showFlags: i, i18n: s } = this.options, u = this.selectedCountryData.iso2 || "";
2356
2724
  if (this.selectedCountryData = e ? this.countryByIso2.get(e) : {}, this.selectedCountryData.iso2 && (this.defaultCountry = this.selectedCountryData.iso2), this.selectedCountry) {
2357
2725
  const h = e && i ? `iti__flag iti__${e}` : "iti__flag iti__globe";
2358
- let c, C;
2726
+ let c, m;
2359
2727
  if (e) {
2360
2728
  const { name: g, dialCode: I } = this.selectedCountryData;
2361
- C = g, c = s.selectedCountryAriaLabel.replace("${countryName}", g).replace("${dialCode}", `+${I}`);
2729
+ m = g, c = s.selectedCountryAriaLabel.replace("${countryName}", g).replace("${dialCode}", `+${I}`);
2362
2730
  } else
2363
- C = s.noCountrySelected, c = s.noCountrySelected;
2364
- this.selectedCountryInner.className = h, this.selectedCountry.setAttribute("title", C), this.selectedCountry.setAttribute("aria-label", c);
2731
+ m = s.noCountrySelected, c = s.noCountrySelected;
2732
+ this.selectedCountryInner.className = h, this.selectedCountry.setAttribute("title", m), this.selectedCountry.setAttribute("aria-label", c);
2365
2733
  }
2366
2734
  if ($) {
2367
2735
  const h = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : "";
@@ -2390,8 +2758,8 @@ class c1 {
2390
2758
  ), c = h;
2391
2759
  for (; y.utils.isPossibleNumber(h, s, i); )
2392
2760
  c = h, h += "0";
2393
- const C = y.utils.getCoreNumber(c, s);
2394
- this.maxCoreNumberLength = C.length, s === "by" && (this.maxCoreNumberLength = C.length + 1);
2761
+ const m = y.utils.getCoreNumber(c, s);
2762
+ this.maxCoreNumberLength = m.length, s === "by" && (this.maxCoreNumberLength = m.length + 1);
2395
2763
  } else
2396
2764
  this.maxCoreNumberLength = null;
2397
2765
  }
@@ -2455,12 +2823,12 @@ class c1 {
2455
2823
  }
2456
2824
  //* Check if an element is visible within it's container, else scroll until it is.
2457
2825
  _scrollTo(e) {
2458
- const $ = this.countryList, i = document.documentElement.scrollTop, s = $.offsetHeight, u = $.getBoundingClientRect().top + i, h = u + s, c = e.offsetHeight, C = e.getBoundingClientRect().top + i, g = C + c, I = C - u + $.scrollTop;
2459
- if (C < u)
2826
+ const $ = this.countryList, i = document.documentElement.scrollTop, s = $.offsetHeight, u = $.getBoundingClientRect().top + i, h = u + s, c = e.offsetHeight, m = e.getBoundingClientRect().top + i, g = m + c, I = m - u + $.scrollTop;
2827
+ if (m < u)
2460
2828
  $.scrollTop = I;
2461
2829
  else if (g > h) {
2462
- const S = s - c;
2463
- $.scrollTop = I - S;
2830
+ const w = s - c;
2831
+ $.scrollTop = I - w;
2464
2832
  }
2465
2833
  }
2466
2834
  //* Replace any existing dial code with the new one
@@ -2482,8 +2850,10 @@ class c1 {
2482
2850
  for (let u = 0; u < e.length; u++) {
2483
2851
  const h = e.charAt(u);
2484
2852
  if (/[0-9]/.test(h)) {
2485
- if (s += h, $)
2486
- this.dialCodeToIso2Map[s] && (i = e.substring(0, u + 1));
2853
+ if (s += h, !!!this.dialCodeToIso2Map[s])
2854
+ break;
2855
+ if ($)
2856
+ i = e.substring(0, u + 1);
2487
2857
  else if (this.dialCodes.has(s)) {
2488
2858
  i = e.substring(0, u + 1);
2489
2859
  break;
@@ -2499,12 +2869,12 @@ class c1 {
2499
2869
  _getFullNumber(e) {
2500
2870
  const $ = e || this.telInput.value.trim(), { dialCode: i } = this.selectedCountryData;
2501
2871
  let s;
2502
- const u = h1($);
2872
+ const u = c1($);
2503
2873
  return this.options.separateDialCode && $.charAt(0) !== "+" && i && u ? s = `+${i}` : s = "", s + $;
2504
2874
  }
2505
2875
  //* Remove the dial code if separateDialCode is enabled also cap the length if the input has a maxlength attribute
2506
2876
  _beforeSetNumber(e) {
2507
- const $ = this._getDialCode(e), i = X2(
2877
+ const $ = this._getDialCode(e), i = X0(
2508
2878
  e,
2509
2879
  $,
2510
2880
  this.options.separateDialCode,
@@ -2606,8 +2976,8 @@ class c1 {
2606
2976
  return !1;
2607
2977
  const $ = (h) => e ? this._utilsIsValidNumber(h) : this._utilsIsPossibleNumber(h), i = this._getFullNumber(), s = i.search(new RegExp("\\p{L}", "u"));
2608
2978
  if (s > -1 && !this.options.allowPhonewords) {
2609
- const h = i.substring(0, s), c = $(h), C = $(i);
2610
- return c && C;
2979
+ const h = i.substring(0, s), c = $(h), m = $(i);
2980
+ return c && m;
2611
2981
  }
2612
2982
  return $(i);
2613
2983
  }
@@ -2635,7 +3005,7 @@ class c1 {
2635
3005
  this.telInput.disabled = e, e ? this.selectedCountry.setAttribute("disabled", "true") : this.selectedCountry.removeAttribute("disabled");
2636
3006
  }
2637
3007
  }
2638
- const n0 = (f) => {
3008
+ const n2 = (f) => {
2639
3009
  if (!y.utils && !y.startedLoadingUtilsScript) {
2640
3010
  let e;
2641
3011
  if (typeof f == "function")
@@ -2650,23 +3020,23 @@ const n0 = (f) => {
2650
3020
  const i = $ == null ? void 0 : $.default;
2651
3021
  if (!i || typeof i != "object")
2652
3022
  throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");
2653
- return y.utils = i, e1("handleUtils"), !0;
3023
+ return y.utils = i, $1("handleUtils"), !0;
2654
3024
  }).catch(($) => {
2655
- throw e1("rejectUtilsScriptPromise", $), $;
3025
+ throw $1("rejectUtilsScriptPromise", $), $;
2656
3026
  });
2657
3027
  }
2658
3028
  return null;
2659
3029
  }, y = Object.assign(
2660
3030
  (f, e) => {
2661
- const $ = new c1(f, e);
3031
+ const $ = new f1(f, e);
2662
3032
  return $._init(), f.setAttribute("data-intl-tel-input-id", $.id.toString()), y.instances[$.id] = $, f.iti = $, $;
2663
3033
  },
2664
3034
  {
2665
- defaults: u2,
3035
+ defaults: u0,
2666
3036
  //* Using a static var like this allows us to mock it in the tests.
2667
3037
  documentReady: () => document.readyState === "complete",
2668
3038
  //* Get the country data object.
2669
- getCountryData: () => Z,
3039
+ getCountryData: () => Y,
2670
3040
  //* A getter for the plugin instance.
2671
3041
  getInstance: (f) => {
2672
3042
  const e = f.getAttribute("data-intl-tel-input-id");
@@ -2674,10 +3044,10 @@ const n0 = (f) => {
2674
3044
  },
2675
3045
  //* A map from instance ID to instance object.
2676
3046
  instances: {},
2677
- attachUtils: n0,
3047
+ attachUtils: n2,
2678
3048
  startedLoadingUtilsScript: !1,
2679
3049
  startedLoadingAutoCountry: !1,
2680
- version: "25.10.10"
3050
+ version: "25.10.11"
2681
3051
  }
2682
3052
  );
2683
3053
  (function() {
@@ -2691,9 +3061,9 @@ const n0 = (f) => {
2691
3061
  function $(d, t) {
2692
3062
  function n() {
2693
3063
  }
2694
- n.prototype = t.prototype, d.ma = t.prototype, d.prototype = new n(), d.prototype.constructor = d, d.sa = function(r, o, a) {
2695
- for (var l = Array(arguments.length - 2), p = 2; p < arguments.length; p++) l[p - 2] = arguments[p];
2696
- return t.prototype[o].apply(r, l);
3064
+ n.prototype = t.prototype, d.ma = t.prototype, d.prototype = new n(), d.prototype.constructor = d, d.sa = function(r, o, l) {
3065
+ for (var a = Array(arguments.length - 2), p = 2; p < arguments.length; p++) a[p - 2] = arguments[p];
3066
+ return t.prototype[o].apply(r, a);
2697
3067
  };
2698
3068
  }
2699
3069
  function i(d) {
@@ -2722,10 +3092,10 @@ const n0 = (f) => {
2722
3092
  }
2723
3093
  }
2724
3094
  new c();
2725
- const C = {};
3095
+ const m = {};
2726
3096
  class g {
2727
3097
  constructor() {
2728
- if (C !== C) throw Error("SafeStyleSheet is not meant to be built directly");
3098
+ if (m !== m) throw Error("SafeStyleSheet is not meant to be built directly");
2729
3099
  }
2730
3100
  toString() {
2731
3101
  return "";
@@ -2733,7 +3103,7 @@ const n0 = (f) => {
2733
3103
  }
2734
3104
  new g();
2735
3105
  const I = {};
2736
- class S {
3106
+ class w {
2737
3107
  constructor() {
2738
3108
  var t = f.trustedTypes && f.trustedTypes.emptyHTML || "";
2739
3109
  if (I !== I) throw Error("SafeHtml is not meant to be built directly");
@@ -2743,73 +3113,73 @@ const n0 = (f) => {
2743
3113
  return this.g.toString();
2744
3114
  }
2745
3115
  }
2746
- new S();
2747
- function R(d, t) {
3116
+ new w();
3117
+ function k(d, t) {
2748
3118
  switch (this.g = d, this.l = !!t.aa, this.h = t.i, this.s = t.type, this.o = !1, this.h) {
2749
- case A:
2750
- case k:
2751
- case H:
2752
- case f1:
2753
- case c2:
2754
- case D:
3119
+ case N:
3120
+ case P:
3121
+ case G:
3122
+ case j:
3123
+ case c0:
3124
+ case E:
2755
3125
  case v:
2756
3126
  this.o = !0;
2757
3127
  }
2758
3128
  this.j = t.defaultValue;
2759
3129
  }
2760
- var v = 1, D = 2, A = 3, k = 4, H = 6, f1 = 16, c2 = 18;
2761
- function f2(d, t) {
3130
+ var v = 1, E = 2, N = 3, P = 4, G = 6, j = 16, c0 = 18;
3131
+ function f0(d, t) {
2762
3132
  for (this.h = d, this.g = {}, d = 0; d < t.length; d++) {
2763
3133
  var n = t[d];
2764
3134
  this.g[n.g] = n;
2765
3135
  }
2766
3136
  }
2767
- function p2(d) {
3137
+ function p0(d) {
2768
3138
  return d = i(d.g), d.sort(function(t, n) {
2769
3139
  return t.g - n.g;
2770
3140
  }), d;
2771
3141
  }
2772
- function P() {
3142
+ function x() {
2773
3143
  this.h = {}, this.j = this.m().g, this.g = this.l = null;
2774
3144
  }
2775
- P.prototype.has = function(d) {
2776
- return x(this, d.g);
2777
- }, P.prototype.get = function(d, t) {
2778
- return m(this, d.g, t);
2779
- }, P.prototype.set = function(d, t) {
2780
- E(this, d.g, t);
2781
- }, P.prototype.add = function(d, t) {
3145
+ x.prototype.has = function(d) {
3146
+ return B(this, d.g);
3147
+ }, x.prototype.get = function(d, t) {
3148
+ return C(this, d.g, t);
3149
+ }, x.prototype.set = function(d, t) {
3150
+ T(this, d.g, t);
3151
+ }, x.prototype.add = function(d, t) {
2782
3152
  b1(this, d.g, t);
2783
3153
  };
2784
3154
  function S1(d, t) {
2785
- for (var n = p2(d.m()), r = 0; r < n.length; r++) {
2786
- var o = n[r], a = o.g;
2787
- if (x(t, a)) {
3155
+ for (var n = p0(d.m()), r = 0; r < n.length; r++) {
3156
+ var o = n[r], l = o.g;
3157
+ if (B(t, l)) {
2788
3158
  d.g && delete d.g[o.g];
2789
- var l = o.h == 11 || o.h == 10;
3159
+ var a = o.h == 11 || o.h == 10;
2790
3160
  if (o.l) {
2791
- o = M(t, a);
2792
- for (var p = 0; p < o.length; p++) b1(d, a, l ? o[p].clone() : o[p]);
2793
- } else o = $1(t, a), l ? (l = $1(d, a)) ? S1(l, o) : E(d, a, o.clone()) : E(d, a, o);
3161
+ o = D(t, l);
3162
+ for (var p = 0; p < o.length; p++) b1(d, l, a ? o[p].clone() : o[p]);
3163
+ } else o = n1(t, l), a ? (a = n1(d, l)) ? S1(a, o) : T(d, l, o.clone()) : T(d, l, o);
2794
3164
  }
2795
3165
  }
2796
3166
  }
2797
- P.prototype.clone = function() {
3167
+ x.prototype.clone = function() {
2798
3168
  var d = new this.constructor();
2799
3169
  return d != this && (d.h = {}, d.g && (d.g = {}), S1(d, this)), d;
2800
3170
  };
2801
- function x(d, t) {
3171
+ function B(d, t) {
2802
3172
  return d.h[t] != null;
2803
3173
  }
2804
- function $1(d, t) {
3174
+ function n1(d, t) {
2805
3175
  var n = d.h[t];
2806
3176
  if (n == null) return null;
2807
3177
  if (d.l) {
2808
3178
  if (!(t in d.g)) {
2809
3179
  var r = d.l, o = d.j[t];
2810
3180
  if (n != null) if (o.l) {
2811
- for (var a = [], l = 0; l < n.length; l++) a[l] = r.h(o, n[l]);
2812
- n = a;
3181
+ for (var l = [], a = 0; a < n.length; a++) l[a] = r.h(o, n[a]);
3182
+ n = l;
2813
3183
  } else n = r.h(o, n);
2814
3184
  return d.g[t] = n;
2815
3185
  }
@@ -2817,12 +3187,12 @@ const n0 = (f) => {
2817
3187
  }
2818
3188
  return n;
2819
3189
  }
2820
- function m(d, t, n) {
2821
- var r = $1(d, t);
3190
+ function C(d, t, n) {
3191
+ var r = n1(d, t);
2822
3192
  return d.j[t].l ? r[n || 0] : r;
2823
3193
  }
2824
- function w(d, t) {
2825
- if (x(d, t)) d = m(d, t);
3194
+ function S(d, t) {
3195
+ if (B(d, t)) d = C(d, t);
2826
3196
  else d: {
2827
3197
  if (d = d.j[t], d.j === void 0) if (t = d.s, t === Boolean) d.j = !1;
2828
3198
  else if (t === Number) d.j = 0;
@@ -2835,29 +3205,29 @@ const n0 = (f) => {
2835
3205
  }
2836
3206
  return d;
2837
3207
  }
2838
- function M(d, t) {
2839
- return $1(d, t) || [];
3208
+ function D(d, t) {
3209
+ return n1(d, t) || [];
2840
3210
  }
2841
- function F(d, t) {
2842
- return d.j[t].l ? x(d, t) ? d.h[t].length : 0 : x(d, t) ? 1 : 0;
3211
+ function K(d, t) {
3212
+ return d.j[t].l ? B(d, t) ? d.h[t].length : 0 : B(d, t) ? 1 : 0;
2843
3213
  }
2844
- function E(d, t, n) {
3214
+ function T(d, t, n) {
2845
3215
  d.h[t] = n, d.g && (d.g[t] = n);
2846
3216
  }
2847
3217
  function b1(d, t, n) {
2848
3218
  d.h[t] || (d.h[t] = []), d.h[t].push(n), d.g && delete d.g[t];
2849
3219
  }
2850
- function n1(d, t) {
3220
+ function i1(d, t) {
2851
3221
  var n = [], r;
2852
- for (r in t) r != 0 && n.push(new R(r, t[r]));
2853
- return new f2(d, n);
3222
+ for (r in t) r != 0 && n.push(new k(r, t[r]));
3223
+ return new f0(d, n);
2854
3224
  }
2855
- function i1() {
3225
+ function s1() {
2856
3226
  }
2857
- i1.prototype.g = function(d) {
3227
+ s1.prototype.g = function(d) {
2858
3228
  throw new d.h(), Error("Unimplemented");
2859
- }, i1.prototype.h = function(d, t) {
2860
- if (d.h == 11 || d.h == 10) return t instanceof P ? t : this.g(d.s.prototype.m(), t);
3229
+ }, s1.prototype.h = function(d, t) {
3230
+ if (d.h == 11 || d.h == 10) return t instanceof x ? t : this.g(d.s.prototype.m(), t);
2861
3231
  if (d.h == 14) return typeof t == "string" && L1.test(t) && (d = Number(t), 0 < d) ? d : t;
2862
3232
  if (!d.o) return t;
2863
3233
  if (d = d.s, d === String) {
@@ -2868,55 +3238,55 @@ const n0 = (f) => {
2868
3238
  var L1 = /^-?[0-9]+$/;
2869
3239
  function p1() {
2870
3240
  }
2871
- $(p1, i1), p1.prototype.g = function(d, t) {
3241
+ $(p1, s1), p1.prototype.g = function(d, t) {
2872
3242
  return d = new d.h(), d.l = this, d.h = t, d.g = {}, d;
2873
3243
  };
2874
- function J() {
3244
+ function q() {
2875
3245
  }
2876
- $(J, p1), J.prototype.h = function(d, t) {
2877
- return d.h == 8 ? !!t : i1.prototype.h.apply(this, arguments);
2878
- }, J.prototype.g = function(d, t) {
2879
- return J.ma.g.call(this, d, t);
3246
+ $(q, p1), q.prototype.h = function(d, t) {
3247
+ return d.h == 8 ? !!t : s1.prototype.h.apply(this, arguments);
3248
+ }, q.prototype.g = function(d, t) {
3249
+ return q.ma.g.call(this, d, t);
2880
3250
  };
2881
- function N(d, t) {
3251
+ function A(d, t) {
2882
3252
  d != null && this.g.apply(this, arguments);
2883
3253
  }
2884
- N.prototype.h = "", N.prototype.set = function(d) {
3254
+ A.prototype.h = "", A.prototype.set = function(d) {
2885
3255
  this.h = "" + d;
2886
- }, N.prototype.g = function(d, t, n) {
3256
+ }, A.prototype.g = function(d, t, n) {
2887
3257
  if (this.h += String(d), t != null) for (let r = 1; r < arguments.length; r++) this.h += arguments[r];
2888
3258
  return this;
2889
3259
  };
2890
- function B(d) {
3260
+ function R(d) {
2891
3261
  d.h = "";
2892
3262
  }
2893
- N.prototype.toString = function() {
3263
+ A.prototype.toString = function() {
2894
3264
  return this.h;
2895
3265
  };
2896
- function j() {
2897
- P.call(this);
3266
+ function W() {
3267
+ x.call(this);
2898
3268
  }
2899
- $(j, P);
3269
+ $(W, x);
2900
3270
  var N1 = null;
2901
3271
  function b() {
2902
- P.call(this);
3272
+ x.call(this);
2903
3273
  }
2904
- $(b, P);
3274
+ $(b, x);
2905
3275
  var A1 = null;
2906
- function W() {
2907
- P.call(this);
3276
+ function z() {
3277
+ x.call(this);
2908
3278
  }
2909
- $(W, P);
3279
+ $(z, x);
2910
3280
  var E1 = null;
2911
- j.prototype.m = function() {
3281
+ W.prototype.m = function() {
2912
3282
  var d = N1;
2913
- return d || (N1 = d = n1(j, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: !0, i: 9, type: String }, 2: { name: "format", required: !0, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: !0, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: !1, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })), d;
2914
- }, j.m = j.prototype.m, b.prototype.m = function() {
3283
+ return d || (N1 = d = i1(W, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: !0, i: 9, type: String }, 2: { name: "format", required: !0, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: !0, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: !1, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })), d;
3284
+ }, W.m = W.prototype.m, b.prototype.m = function() {
2915
3285
  var d = A1;
2916
- return d || (A1 = d = n1(b, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), d;
2917
- }, b.m = b.prototype.m, W.prototype.m = function() {
3286
+ return d || (A1 = d = i1(b, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), d;
3287
+ }, b.m = b.prototype.m, z.prototype.m = function() {
2918
3288
  var d = E1;
2919
- return d || (E1 = d = n1(W, {
3289
+ return d || (E1 = d = i1(z, {
2920
3290
  0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
2921
3291
  1: { name: "general_desc", i: 11, type: b },
2922
3292
  2: { name: "fixed_line", i: 11, type: b },
@@ -2948,26 +3318,26 @@ const n0 = (f) => {
2948
3318
  },
2949
3319
  16: { name: "national_prefix_transform_rule", i: 9, type: String },
2950
3320
  18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: !1, type: Boolean },
2951
- 19: { name: "number_format", aa: !0, i: 11, type: j },
2952
- 20: { name: "intl_number_format", aa: !0, i: 11, type: j },
3321
+ 19: { name: "number_format", aa: !0, i: 11, type: W },
3322
+ 20: { name: "intl_number_format", aa: !0, i: 11, type: W },
2953
3323
  22: { name: "main_country_for_code", i: 8, defaultValue: !1, type: Boolean },
2954
3324
  23: { name: "leading_digits", i: 9, type: String }
2955
3325
  })), d;
2956
- }, W.m = W.prototype.m;
2957
- function K() {
2958
- P.call(this);
3326
+ }, z.m = z.prototype.m;
3327
+ function V() {
3328
+ x.call(this);
2959
3329
  }
2960
- $(K, P);
2961
- var T1 = null, g2 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
2962
- K.prototype.m = function() {
3330
+ $(V, x);
3331
+ var T1 = null, g0 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3332
+ V.prototype.m = function() {
2963
3333
  var d = T1;
2964
- return d || (T1 = d = n1(K, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: g2 }, 7: {
3334
+ return d || (T1 = d = i1(V, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: g0 }, 7: {
2965
3335
  name: "preferred_domestic_carrier_code",
2966
3336
  i: 9,
2967
3337
  type: String
2968
3338
  } })), d;
2969
- }, K.ctor = K, K.ctor.m = K.prototype.m;
2970
- var q = {
3339
+ }, V.ctor = V, V.ctor.m = V.prototype.m;
3340
+ var X = {
2971
3341
  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(" "),
2972
3342
  7: ["RU", "KZ"],
2973
3343
  20: ["EG"],
@@ -8317,13 +8687,13 @@ const n0 = (f) => {
8317
8687
  ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]],
8318
8688
  979: [, [, , "[1359]\\d{8}", , , , , , , [9], [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "[1359]\\d{8}", , , , "123456789", , , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 979, , , , , , , , 1, [[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]]
8319
8689
  };
8320
- function T() {
8690
+ function M() {
8321
8691
  this.g = {};
8322
8692
  }
8323
- T.h = void 0, T.g = function() {
8324
- return T.h ? T.h : T.h = new T();
8693
+ M.h = void 0, M.g = function() {
8694
+ return M.h ? M.h : M.h = new M();
8325
8695
  };
8326
- var g1 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, m2 = {
8696
+ var g1 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, C0 = {
8327
8697
  0: "0",
8328
8698
  1: "1",
8329
8699
  2: "2",
@@ -8337,7 +8707,7 @@ const n0 = (f) => {
8337
8707
  "+": "+",
8338
8708
  "*": "*",
8339
8709
  "#": "#"
8340
- }, C2 = {
8710
+ }, m0 = {
8341
8711
  0: "0",
8342
8712
  1: "1",
8343
8713
  2: "2",
@@ -8404,72 +8774,72 @@ const n0 = (f) => {
8404
8774
  X: "9",
8405
8775
  Y: "9",
8406
8776
  Z: "9"
8407
- }, y2 = RegExp("[++]+"), X = RegExp("^[++]+"), D1 = RegExp("([0-90-9٠-٩۰-۹])"), _2 = RegExp("[++0-90-9٠-٩۰-۹]"), I2 = /[\\\/] *x/, v2 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), w2 = /(?:.*?[A-Za-z]){3}.*/, S2 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), b2 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
8408
- function Y(d) {
8777
+ }, y0 = RegExp("[++]+"), Q = RegExp("^[++]+"), D1 = RegExp("([0-90-9٠-٩۰-۹])"), _0 = RegExp("[++0-90-9٠-٩۰-۹]"), I0 = /[\\\/] *x/, v0 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), w0 = /(?:.*?[A-Za-z]){3}.*/, S0 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), b0 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
8778
+ function J(d) {
8409
8779
  return "([0-90-9٠-٩۰-۹]{1," + d + "})";
8410
8780
  }
8411
8781
  function P1() {
8412
- return ";ext=" + Y("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (Y("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (Y("9") + "#?|[- ]+") + (Y("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (Y("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (Y("9") + "#?");
8782
+ return ";ext=" + J("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (J("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (J("9") + "#?|[- ]+") + (J("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (J("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (J("9") + "#?");
8413
8783
  }
8414
- var x1 = new RegExp("(?:" + P1() + ")$", "i"), L2 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + P1() + ")?$", "i"), N2 = /(\$\d)/, A2 = /^\(?\$1\)?$/;
8784
+ var x1 = new RegExp("(?:" + P1() + ")$", "i"), L0 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + P1() + ")?$", "i"), N0 = /(\$\d)/, A0 = /^\(?\$1\)?$/;
8415
8785
  function B1(d) {
8416
- return 2 > d.length ? !1 : G(L2, d);
8786
+ return 2 > d.length ? !1 : U(L0, d);
8417
8787
  }
8418
8788
  function R1(d) {
8419
- return G(w2, d) ? s1(d, C2) : s1(d, g1);
8789
+ return U(w0, d) ? r1(d, m0) : r1(d, g1);
8420
8790
  }
8421
8791
  function k1(d) {
8422
8792
  var t = R1(d.toString());
8423
- B(d), d.g(t);
8793
+ R(d), d.g(t);
8424
8794
  }
8425
8795
  function O1(d) {
8426
- return d != null && (F(d, 9) != 1 || M(d, 9)[0] != -1);
8796
+ return d != null && (K(d, 9) != 1 || D(d, 9)[0] != -1);
8427
8797
  }
8428
- function s1(d, t) {
8429
- for (var n = new N(), r, o = d.length, a = 0; a < o; ++a) r = d.charAt(a), r = t[r.toUpperCase()], r != null && n.g(r);
8798
+ function r1(d, t) {
8799
+ for (var n = new A(), r, o = d.length, l = 0; l < o; ++l) r = d.charAt(l), r = t[r.toUpperCase()], r != null && n.g(r);
8430
8800
  return n.toString();
8431
8801
  }
8432
8802
  function G1(d) {
8433
- return d.length == 0 || A2.test(d);
8803
+ return d.length == 0 || A0.test(d);
8434
8804
  }
8435
- function r1(d) {
8805
+ function o1(d) {
8436
8806
  return d != null && isNaN(d) && d.toUpperCase() in M1;
8437
8807
  }
8438
- T.prototype.format = function(d, t) {
8439
- if (m(d, 2) == 0 && x(d, 5)) {
8440
- var n = w(d, 5);
8808
+ M.prototype.format = function(d, t) {
8809
+ if (C(d, 2) == 0 && B(d, 5)) {
8810
+ var n = S(d, 5);
8441
8811
  if (0 < n.length) return n;
8442
8812
  }
8443
- n = w(d, 1);
8444
- var r = d1(d);
8813
+ n = S(d, 1);
8814
+ var r = t1(d);
8445
8815
  if (t == 0) return U1(n, 0, r, "");
8446
- if (!(n in q)) return r;
8447
- var o = Q(this, n, t1(n));
8448
- d = x(d, 3) && m(d, 3).length != 0 ? t == 3 ? ";ext=" + m(d, 3) : x(o, 13) ? m(o, 13) + w(d, 3) : " ext. " + w(d, 3) : "";
8816
+ if (!(n in X)) return r;
8817
+ var o = d1(this, n, e1(n));
8818
+ d = B(d, 3) && C(d, 3).length != 0 ? t == 3 ? ";ext=" + C(d, 3) : B(o, 13) ? C(o, 13) + S(d, 3) : " ext. " + S(d, 3) : "";
8449
8819
  d: {
8450
- o = M(o, 20).length == 0 || t == 2 ? M(o, 19) : M(o, 20);
8451
- for (var a, l = o.length, p = 0; p < l; ++p) {
8452
- a = o[p];
8453
- var _ = F(a, 3);
8454
- if ((_ == 0 || r.search(m(a, 3, _ - 1)) == 0) && (_ = new RegExp(m(a, 1)), G(_, r))) {
8455
- o = a;
8820
+ o = D(o, 20).length == 0 || t == 2 ? D(o, 19) : D(o, 20);
8821
+ for (var l, a = o.length, p = 0; p < a; ++p) {
8822
+ l = o[p];
8823
+ var _ = K(l, 3);
8824
+ if ((_ == 0 || r.search(C(l, 3, _ - 1)) == 0) && (_ = new RegExp(C(l, 1)), U(_, r))) {
8825
+ o = l;
8456
8826
  break d;
8457
8827
  }
8458
8828
  }
8459
8829
  o = null;
8460
8830
  }
8461
- return o != null && (l = o, o = w(l, 2), a = new RegExp(m(l, 1)), w(
8462
- l,
8831
+ return o != null && (a = o, o = S(a, 2), l = new RegExp(C(a, 1)), S(
8832
+ a,
8463
8833
  5
8464
- ), l = w(l, 4), r = t == 2 && l != null && 0 < l.length ? r.replace(a, o.replace(N2, l)) : r.replace(a, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), U1(n, t, r, d);
8834
+ ), a = S(a, 4), r = t == 2 && a != null && 0 < a.length ? r.replace(l, o.replace(N0, a)) : r.replace(l, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), U1(n, t, r, d);
8465
8835
  };
8466
- function Q(d, t, n) {
8467
- return n == "001" ? V(d, "" + t) : V(d, n);
8836
+ function d1(d, t, n) {
8837
+ return n == "001" ? H(d, "" + t) : H(d, n);
8468
8838
  }
8469
- function d1(d) {
8470
- if (!x(d, 2)) return "";
8471
- var t = "" + m(d, 2);
8472
- return x(d, 4) && m(d, 4) && 0 < w(d, 8) ? Array(w(d, 8) + 1).join("0") + t : t;
8839
+ function t1(d) {
8840
+ if (!B(d, 2)) return "";
8841
+ var t = "" + C(d, 2);
8842
+ return B(d, 4) && C(d, 4) && 0 < S(d, 8) ? Array(S(d, 8) + 1).join("0") + t : t;
8473
8843
  }
8474
8844
  function U1(d, t, n, r) {
8475
8845
  switch (t) {
@@ -8483,74 +8853,74 @@ const n0 = (f) => {
8483
8853
  return n + r;
8484
8854
  }
8485
8855
  }
8486
- function o1(d, t) {
8856
+ function l1(d, t) {
8487
8857
  switch (t) {
8488
8858
  case 4:
8489
- return m(d, 5);
8859
+ return C(d, 5);
8490
8860
  case 3:
8491
- return m(d, 4);
8861
+ return C(d, 4);
8492
8862
  case 1:
8493
- return m(d, 3);
8863
+ return C(d, 3);
8494
8864
  case 0:
8495
8865
  case 2:
8496
- return m(d, 2);
8866
+ return C(d, 2);
8497
8867
  case 5:
8498
- return m(d, 6);
8868
+ return C(d, 6);
8499
8869
  case 6:
8500
- return m(d, 8);
8870
+ return C(d, 8);
8501
8871
  case 7:
8502
- return m(d, 7);
8872
+ return C(d, 7);
8503
8873
  case 8:
8504
- return m(d, 21);
8874
+ return C(d, 21);
8505
8875
  case 9:
8506
- return m(d, 25);
8876
+ return C(d, 25);
8507
8877
  case 10:
8508
- return m(d, 28);
8878
+ return C(d, 28);
8509
8879
  default:
8510
- return m(d, 1);
8880
+ return C(d, 1);
8511
8881
  }
8512
8882
  }
8513
8883
  function F1(d, t) {
8514
8884
  var n = K1(d, t);
8515
- return d = Q(d, w(t, 1), n), d == null ? -1 : (t = d1(t), m1(t, d));
8885
+ return d = d1(d, S(t, 1), n), d == null ? -1 : (t = t1(t), C1(t, d));
8516
8886
  }
8517
- function m1(d, t) {
8518
- return O(d, m(t, 1)) ? O(d, m(t, 5)) ? 4 : O(d, m(t, 4)) ? 3 : O(d, m(t, 6)) ? 5 : O(d, m(t, 8)) ? 6 : O(d, m(t, 7)) ? 7 : O(d, m(t, 21)) ? 8 : O(d, m(t, 25)) ? 9 : O(d, m(t, 28)) ? 10 : O(d, m(t, 2)) ? m(t, 18) || O(d, m(t, 3)) ? 2 : 0 : !m(t, 18) && O(d, m(t, 3)) ? 1 : -1 : -1;
8887
+ function C1(d, t) {
8888
+ return O(d, C(t, 1)) ? O(d, C(t, 5)) ? 4 : O(d, C(t, 4)) ? 3 : O(d, C(t, 6)) ? 5 : O(d, C(t, 8)) ? 6 : O(d, C(t, 7)) ? 7 : O(d, C(t, 21)) ? 8 : O(d, C(t, 25)) ? 9 : O(d, C(t, 28)) ? 10 : O(d, C(t, 2)) ? C(t, 18) || O(d, C(t, 3)) ? 2 : 0 : !C(t, 18) && O(d, C(t, 3)) ? 1 : -1 : -1;
8519
8889
  }
8520
- function V(d, t) {
8890
+ function H(d, t) {
8521
8891
  if (t == null) return null;
8522
8892
  t = t.toUpperCase();
8523
8893
  var n = d.g[t];
8524
8894
  if (n == null) {
8525
8895
  if (n = M1[t], n == null) return null;
8526
- n = new J().g(W.m(), n), d.g[t] = n;
8896
+ n = new q().g(z.m(), n), d.g[t] = n;
8527
8897
  }
8528
8898
  return n;
8529
8899
  }
8530
8900
  function O(d, t) {
8531
8901
  var n = d.length;
8532
- return 0 < F(t, 9) && M(t, 9).indexOf(n) == -1 ? !1 : G(w(t, 2), d);
8902
+ return 0 < K(t, 9) && D(t, 9).indexOf(n) == -1 ? !1 : U(S(t, 2), d);
8533
8903
  }
8534
- function E2(d, t) {
8535
- var n = K1(d, t), r = w(t, 1), o = Q(d, r, n);
8536
- return o == null || n != "001" && r != V1(d, n) ? o = !1 : (d = d1(t), o = m1(d, o) != -1), o;
8904
+ function E0(d, t) {
8905
+ var n = K1(d, t), r = S(t, 1), o = d1(d, r, n);
8906
+ return o == null || n != "001" && r != V1(d, n) ? o = !1 : (d = t1(t), o = C1(d, o) != -1), o;
8537
8907
  }
8538
8908
  function K1(d, t) {
8539
8909
  if (t == null) return null;
8540
- var n = w(t, 1);
8541
- if (n = q[n], n == null) d = null;
8910
+ var n = S(t, 1);
8911
+ if (n = X[n], n == null) d = null;
8542
8912
  else if (n.length == 1) d = n[0];
8543
8913
  else d: {
8544
- t = d1(t);
8545
- for (var r, o = n.length, a = 0; a < o; a++) {
8546
- r = n[a];
8547
- var l = V(d, r);
8548
- if (x(l, 23)) {
8549
- if (t.search(m(l, 23)) == 0) {
8914
+ t = t1(t);
8915
+ for (var r, o = n.length, l = 0; l < o; l++) {
8916
+ r = n[l];
8917
+ var a = H(d, r);
8918
+ if (B(a, 23)) {
8919
+ if (t.search(C(a, 23)) == 0) {
8550
8920
  d = r;
8551
8921
  break d;
8552
8922
  }
8553
- } else if (m1(t, l) != -1) {
8923
+ } else if (C1(t, a) != -1) {
8554
8924
  d = r;
8555
8925
  break d;
8556
8926
  }
@@ -8559,151 +8929,151 @@ const n0 = (f) => {
8559
8929
  }
8560
8930
  return d;
8561
8931
  }
8562
- function t1(d) {
8563
- return d = q[d], d == null ? "ZZ" : d[0];
8932
+ function e1(d) {
8933
+ return d = X[d], d == null ? "ZZ" : d[0];
8564
8934
  }
8565
8935
  function V1(d, t) {
8566
- if (d = V(d, t), d == null) throw Error("Invalid region code: " + t);
8567
- return w(d, 10);
8936
+ if (d = H(d, t), d == null) throw Error("Invalid region code: " + t);
8937
+ return S(d, 10);
8568
8938
  }
8569
- function a1(d, t, n, r) {
8570
- var o = o1(n, r), a = F(o, 9) == 0 ? M(m(n, 1), 9) : M(o, 9);
8571
- if (o = M(o, 10), r == 2) if (O1(o1(n, 0))) d = o1(n, 1), O1(d) && (a = a.concat(F(d, 9) == 0 ? M(m(n, 1), 9) : M(d, 9)), a.sort(), o.length == 0 ? o = M(d, 10) : (o = o.concat(M(d, 10)), o.sort()));
8572
- else return a1(d, t, n, 1);
8573
- return a[0] == -1 ? 5 : (t = t.length, -1 < o.indexOf(t) ? 4 : (n = a[0], n == t ? 0 : n > t ? 2 : a[a.length - 1] < t ? 3 : -1 < a.indexOf(t, 1) ? 0 : 5));
8939
+ function u1(d, t, n, r) {
8940
+ var o = l1(n, r), l = K(o, 9) == 0 ? D(C(n, 1), 9) : D(o, 9);
8941
+ if (o = D(o, 10), r == 2) if (O1(l1(n, 0))) d = l1(n, 1), O1(d) && (l = l.concat(K(d, 9) == 0 ? D(C(n, 1), 9) : D(d, 9)), l.sort(), o.length == 0 ? o = D(d, 10) : (o = o.concat(D(d, 10)), o.sort()));
8942
+ else return u1(d, t, n, 1);
8943
+ return l[0] == -1 ? 5 : (t = t.length, -1 < o.indexOf(t) ? 4 : (n = l[0], n == t ? 0 : n > t ? 2 : l[l.length - 1] < t ? 3 : -1 < l.indexOf(t, 1) ? 0 : 5));
8574
8944
  }
8575
- function u1(d, t, n) {
8576
- var r = d1(t);
8577
- return t = w(t, 1), t in q ? (t = Q(d, t, t1(t)), a1(d, r, t, n)) : 1;
8945
+ function a1(d, t, n) {
8946
+ var r = t1(t);
8947
+ return t = S(t, 1), t in X ? (t = d1(d, t, e1(t)), u1(d, r, t, n)) : 1;
8578
8948
  }
8579
8949
  function H1(d, t) {
8580
8950
  if (d = d.toString(), d.length == 0 || d.charAt(0) == "0") return 0;
8581
- for (var n, r = d.length, o = 1; 3 >= o && o <= r; ++o) if (n = parseInt(d.substring(0, o), 10), n in q) return t.g(d.substring(o)), n;
8951
+ for (var n, r = d.length, o = 1; 3 >= o && o <= r; ++o) if (n = parseInt(d.substring(0, o), 10), n in X) return t.g(d.substring(o)), n;
8582
8952
  return 0;
8583
8953
  }
8584
- function j1(d, t, n, r, o, a) {
8954
+ function j1(d, t, n, r, o, l) {
8585
8955
  if (t.length == 0) return 0;
8586
- t = new N(t);
8587
- var l;
8588
- n != null && (l = m(n, 11)), l == null && (l = "NonMatch");
8956
+ t = new A(t);
8957
+ var a;
8958
+ n != null && (a = C(n, 11)), a == null && (a = "NonMatch");
8589
8959
  var p = t.toString();
8590
- if (p.length == 0) l = 20;
8591
- else if (X.test(p)) p = p.replace(X, ""), B(t), t.g(R1(p)), l = 1;
8960
+ if (p.length == 0) a = 20;
8961
+ else if (Q.test(p)) p = p.replace(Q, ""), R(t), t.g(R1(p)), a = 1;
8592
8962
  else {
8593
- if (p = new RegExp(l), k1(t), l = t.toString(), l.search(p) == 0) {
8594
- p = l.match(p)[0].length;
8595
- var _ = l.substring(p).match(D1);
8596
- _ && _[1] != null && 0 < _[1].length && s1(_[1], g1) == "0" ? l = !1 : (B(t), t.g(l.substring(p)), l = !0);
8597
- } else l = !1;
8598
- l = l ? 5 : 20;
8963
+ if (p = new RegExp(a), k1(t), a = t.toString(), a.search(p) == 0) {
8964
+ p = a.match(p)[0].length;
8965
+ var _ = a.substring(p).match(D1);
8966
+ _ && _[1] != null && 0 < _[1].length && r1(_[1], g1) == "0" ? a = !1 : (R(t), t.g(a.substring(p)), a = !0);
8967
+ } else a = !1;
8968
+ a = a ? 5 : 20;
8599
8969
  }
8600
- if (o && E(a, 6, l), l != 20) {
8970
+ if (o && T(l, 6, a), a != 20) {
8601
8971
  if (2 >= t.h.length) throw Error("Phone number too short after IDD");
8602
- if (d = H1(t, r), d != 0) return E(a, 1, d), d;
8972
+ if (d = H1(t, r), d != 0) return T(l, 1, d), d;
8603
8973
  throw Error("Invalid country calling code");
8604
8974
  }
8605
- return n != null && (l = w(n, 10), p = "" + l, _ = t.toString(), _.lastIndexOf(p, 0) == 0 && (p = new N(_.substring(p.length)), _ = m(n, 1), _ = new RegExp(w(_, 2)), W1(p, n, null), p = p.toString(), !G(_, t.toString()) && G(_, p) || a1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && E(a, 6, 10), E(a, 1, l), l) : (E(a, 1, 0), 0);
8975
+ return n != null && (a = S(n, 10), p = "" + a, _ = t.toString(), _.lastIndexOf(p, 0) == 0 && (p = new A(_.substring(p.length)), _ = C(n, 1), _ = new RegExp(S(_, 2)), W1(p, n, null), p = p.toString(), !U(_, t.toString()) && U(_, p) || u1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && T(l, 6, 10), T(l, 1, a), a) : (T(l, 1, 0), 0);
8606
8976
  }
8607
8977
  function W1(d, t, n) {
8608
- var r = d.toString(), o = r.length, a = m(t, 15);
8609
- if (o != 0 && a != null && a.length != 0) {
8610
- var l = new RegExp("^(?:" + a + ")");
8611
- if (o = l.exec(r)) {
8612
- a = new RegExp(w(m(t, 1), 2));
8613
- var p = G(a, r), _ = o.length - 1;
8614
- t = m(t, 16), t == null || t.length == 0 || o[_] == null || o[_].length == 0 ? (!p || G(a, r.substring(o[0].length))) && (n != null && 0 < _ && o[_] != null && n.g(o[1]), d.set(r.substring(o[0].length))) : (r = r.replace(l, t), (!p || G(a, r)) && (n != null && 0 < _ && n.g(o[1]), d.set(r)));
8978
+ var r = d.toString(), o = r.length, l = C(t, 15);
8979
+ if (o != 0 && l != null && l.length != 0) {
8980
+ var a = new RegExp("^(?:" + l + ")");
8981
+ if (o = a.exec(r)) {
8982
+ l = new RegExp(S(C(t, 1), 2));
8983
+ var p = U(l, r), _ = o.length - 1;
8984
+ t = C(t, 16), t == null || t.length == 0 || o[_] == null || o[_].length == 0 ? (!p || U(l, r.substring(o[0].length))) && (n != null && 0 < _ && o[_] != null && n.g(o[1]), d.set(r.substring(o[0].length))) : (r = r.replace(a, t), (!p || U(l, r)) && (n != null && 0 < _ && n.g(o[1]), d.set(r)));
8615
8985
  }
8616
8986
  }
8617
8987
  }
8618
- function z(d, t, n) {
8619
- if (!r1(n) && 0 < t.length && t.charAt(0) != "+") throw Error("Invalid country calling code");
8988
+ function Z(d, t, n) {
8989
+ if (!o1(n) && 0 < t.length && t.charAt(0) != "+") throw Error("Invalid country calling code");
8620
8990
  return z1(d, t, n, !0);
8621
8991
  }
8622
8992
  function z1(d, t, n, r) {
8623
8993
  if (t == null) throw Error("The string supplied did not seem to be a phone number");
8624
8994
  if (250 < t.length) throw Error("The string supplied is too long to be a phone number");
8625
- var o = new N(), a = t.indexOf(";phone-context=");
8626
- if (a === -1) a = null;
8627
- else if (a += 15, a >= t.length) a = "";
8995
+ var o = new A(), l = t.indexOf(";phone-context=");
8996
+ if (l === -1) l = null;
8997
+ else if (l += 15, l >= t.length) l = "";
8628
8998
  else {
8629
- var l = t.indexOf(";", a);
8630
- a = l !== -1 ? t.substring(a, l) : t.substring(a);
8999
+ var a = t.indexOf(";", l);
9000
+ l = a !== -1 ? t.substring(l, a) : t.substring(l);
8631
9001
  }
8632
- var p = a;
8633
- if (p == null ? l = !0 : p.length === 0 ? l = !1 : (l = S2.exec(p), p = b2.exec(p), l = l !== null || p !== null), !l || (a != null ? (a.charAt(0) === "+" && o.g(a), a = t.indexOf("tel:"), o.g(t.substring(0 <= a ? a + 4 : 0, t.indexOf(";phone-context=")))) : (a = o.g, l = t ?? "", p = l.search(_2), 0 <= p ? (l = l.substring(p), l = l.replace(v2, ""), p = l.search(I2), 0 <= p && (l = l.substring(0, p))) : l = "", a.call(o, l)), a = o.toString(), l = a.indexOf(";isub="), 0 < l && (B(o), o.g(a.substring(0, l))), !B1(o.toString()))) throw Error("The string supplied did not seem to be a phone number");
8634
- if (a = o.toString(), !(r1(n) || a != null && 0 < a.length && X.test(a))) throw Error("Invalid country calling code");
8635
- a = new K(), r && E(a, 5, t);
9002
+ var p = l;
9003
+ if (p == null ? a = !0 : p.length === 0 ? a = !1 : (a = S0.exec(p), p = b0.exec(p), a = a !== null || p !== null), !a || (l != null ? (l.charAt(0) === "+" && o.g(l), l = t.indexOf("tel:"), o.g(t.substring(0 <= l ? l + 4 : 0, t.indexOf(";phone-context=")))) : (l = o.g, a = t ?? "", p = a.search(_0), 0 <= p ? (a = a.substring(p), a = a.replace(v0, ""), p = a.search(I0), 0 <= p && (a = a.substring(0, p))) : a = "", l.call(o, a)), l = o.toString(), a = l.indexOf(";isub="), 0 < a && (R(o), o.g(l.substring(0, a))), !B1(o.toString()))) throw Error("The string supplied did not seem to be a phone number");
9004
+ if (l = o.toString(), !(o1(n) || l != null && 0 < l.length && Q.test(l))) throw Error("Invalid country calling code");
9005
+ l = new V(), r && T(l, 5, t);
8636
9006
  d: {
8637
- if (t = o.toString(), l = t.search(x1), 0 <= l && B1(t.substring(0, l))) {
9007
+ if (t = o.toString(), a = t.search(x1), 0 <= a && B1(t.substring(0, a))) {
8638
9008
  p = t.match(x1);
8639
- for (var _ = p.length, U = 1; U < _; ++U) if (p[U] != null && 0 < p[U].length) {
8640
- B(o), o.g(t.substring(0, l)), t = p[U];
9009
+ for (var _ = p.length, F = 1; F < _; ++F) if (p[F] != null && 0 < p[F].length) {
9010
+ R(o), o.g(t.substring(0, a)), t = p[F];
8641
9011
  break d;
8642
9012
  }
8643
9013
  }
8644
9014
  t = "";
8645
9015
  }
8646
- 0 < t.length && E(a, 3, t), l = V(d, n), t = new N(), p = 0, _ = o.toString();
9016
+ 0 < t.length && T(l, 3, t), a = H(d, n), t = new A(), p = 0, _ = o.toString();
8647
9017
  try {
8648
- p = j1(d, _, l, t, r, a);
9018
+ p = j1(d, _, a, t, r, l);
8649
9019
  } catch (_1) {
8650
- if (_1.message == "Invalid country calling code" && X.test(_)) {
8651
- if (_ = _.replace(X, ""), p = j1(d, _, l, t, r, a), p == 0) throw _1;
9020
+ if (_1.message == "Invalid country calling code" && Q.test(_)) {
9021
+ if (_ = _.replace(Q, ""), p = j1(d, _, a, t, r, l), p == 0) throw _1;
8652
9022
  } else throw _1;
8653
9023
  }
8654
- if (p != 0 ? (o = t1(p), o != n && (l = Q(d, p, o))) : (k1(o), t.g(o.toString()), n != null ? (p = w(l, 10), E(
8655
- a,
9024
+ if (p != 0 ? (o = e1(p), o != n && (a = d1(d, p, o))) : (k1(o), t.g(o.toString()), n != null ? (p = S(a, 10), T(
9025
+ l,
8656
9026
  1,
8657
9027
  p
8658
- )) : r && (delete a.h[6], a.g && delete a.g[6])), 2 > t.h.length || (l != null && (n = new N(), o = new N(t.toString()), W1(o, l, n), d = a1(d, o.toString(), l, -1), d != 2 && d != 4 && d != 5 && (t = o, r && 0 < n.toString().length && E(a, 7, n.toString()))), r = t.toString(), d = r.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
9028
+ )) : r && (delete l.h[6], l.g && delete l.g[6])), 2 > t.h.length || (a != null && (n = new A(), o = new A(t.toString()), W1(o, a, n), d = u1(d, o.toString(), a, -1), d != 2 && d != 4 && d != 5 && (t = o, r && 0 < n.toString().length && T(l, 7, n.toString()))), r = t.toString(), d = r.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
8659
9029
  if (17 < d) throw Error("The string supplied is too long to be a phone number");
8660
9030
  if (1 < r.length && r.charAt(0) == "0") {
8661
- for (E(a, 4, !0), d = 1; d < r.length - 1 && r.charAt(d) == "0"; ) d++;
8662
- d != 1 && E(a, 8, d);
9031
+ for (T(l, 4, !0), d = 1; d < r.length - 1 && r.charAt(d) == "0"; ) d++;
9032
+ d != 1 && T(l, 8, d);
8663
9033
  }
8664
- return E(a, 2, parseInt(r, 10)), a;
9034
+ return T(l, 2, parseInt(r, 10)), l;
8665
9035
  }
8666
- function G(d, t) {
9036
+ function U(d, t) {
8667
9037
  return !!((d = t.match(new RegExp("^(?:" + (typeof d == "string" ? d : d.source) + ")$", "i"))) && d[0].length == t.length);
8668
9038
  }
8669
- function T2(d) {
8670
- this.fa = RegExp(" "), this.ja = "", this.v = new N(), this.da = "", this.s = new N(), this.ba = new N(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = T.g(), this.$ = 0, this.h = new N(), this.ha = !1, this.o = "", this.g = new N(), this.j = [], this.ka = d, this.l = J1(this, this.ka);
9039
+ function T0(d) {
9040
+ this.fa = RegExp(" "), this.ja = "", this.v = new A(), this.da = "", this.s = new A(), this.ba = new A(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = M.g(), this.$ = 0, this.h = new A(), this.ha = !1, this.o = "", this.g = new A(), this.j = [], this.ka = d, this.l = J1(this, this.ka);
8671
9041
  }
8672
- var Z1 = new W();
8673
- E(Z1, 11, "NA");
8674
- var M2 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), Y1 = /[- ]/;
9042
+ var Z1 = new z();
9043
+ T(Z1, 11, "NA");
9044
+ var M0 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), Y1 = /[- ]/;
8675
9045
  function J1(d, t) {
8676
9046
  var n = d.ga;
8677
- return t = r1(t) ? V1(n, t) : 0, d = V(d.ga, t1(t)), d ?? Z1;
9047
+ return t = o1(t) ? V1(n, t) : 0, d = H(d.ga, e1(t)), d ?? Z1;
8678
9048
  }
8679
9049
  function q1(d) {
8680
9050
  for (var t = d.j.length, n = 0; n < t; ++n) {
8681
- var r = d.j[n], o = w(r, 1);
9051
+ var r = d.j[n], o = S(r, 1);
8682
9052
  if (d.da == o) return !1;
8683
- var a = d, l = r, p = w(l, 1);
8684
- B(a.v);
8685
- var _ = a;
8686
- l = w(l, 2);
8687
- var U = "999999999999999".match(p)[0];
8688
- if (U.length < _.g.h.length ? _ = "" : (_ = U.replace(new RegExp(p, "g"), l), _ = _.replace(RegExp("9", "g"), " ")), 0 < _.length ? (a.v.g(_), a = !0) : a = !1, a) return d.da = o, d.ha = Y1.test(m(r, 4)), d.$ = 0, !0;
9053
+ var l = d, a = r, p = S(a, 1);
9054
+ R(l.v);
9055
+ var _ = l;
9056
+ a = S(a, 2);
9057
+ var F = "999999999999999".match(p)[0];
9058
+ if (F.length < _.g.h.length ? _ = "" : (_ = F.replace(new RegExp(p, "g"), a), _ = _.replace(RegExp("9", "g"), " ")), 0 < _.length ? (l.v.g(_), l = !0) : l = !1, l) return d.da = o, d.ha = Y1.test(C(r, 4)), d.$ = 0, !0;
8689
9059
  }
8690
9060
  return d.u = !1;
8691
9061
  }
8692
9062
  function X1(d, t) {
8693
- for (var n = [], r = t.length - 3, o = d.j.length, a = 0; a < o; ++a) {
8694
- var l = d.j[a];
8695
- F(l, 3) == 0 ? n.push(d.j[a]) : (l = m(l, 3, Math.min(r, F(l, 3) - 1)), t.search(l) == 0 && n.push(d.j[a]));
9063
+ for (var n = [], r = t.length - 3, o = d.j.length, l = 0; l < o; ++l) {
9064
+ var a = d.j[l];
9065
+ K(a, 3) == 0 ? n.push(d.j[l]) : (a = C(a, 3, Math.min(r, K(a, 3) - 1)), t.search(a) == 0 && n.push(d.j[l]));
8696
9066
  }
8697
9067
  d.j = n;
8698
9068
  }
8699
- function D2(d, t) {
9069
+ function D0(d, t) {
8700
9070
  d.s.g(t);
8701
9071
  var n = t;
8702
- if (D1.test(n) || d.s.h.length == 1 && y2.test(n) ? (t == "+" ? (n = t, d.ba.g(t)) : (n = g1[t], d.ba.g(n), d.g.g(n)), t = n) : (d.u = !1, d.la = !0), !d.u) {
9072
+ if (D1.test(n) || d.s.h.length == 1 && y0.test(n) ? (t == "+" ? (n = t, d.ba.g(t)) : (n = g1[t], d.ba.g(n), d.g.g(n)), t = n) : (d.u = !1, d.la = !0), !d.u) {
8703
9073
  if (!d.la) {
8704
- if ($2(d)) {
8705
- if (n2(d)) return Q1(d);
8706
- } else if (0 < d.o.length && (t = d.g.toString(), B(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), n = t.lastIndexOf(d.o), B(d.h), d.h.g(t.substring(0, n))), d.o != e2(d)) return d.h.g(" "), Q1(d);
9074
+ if ($0(d)) {
9075
+ if (n0(d)) return Q1(d);
9076
+ } else if (0 < d.o.length && (t = d.g.toString(), R(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), n = t.lastIndexOf(d.o), R(d.h), d.h.g(t.substring(0, n))), d.o != e0(d)) return d.h.g(" "), Q1(d);
8707
9077
  }
8708
9078
  return d.s.toString();
8709
9079
  }
@@ -8713,99 +9083,99 @@ const n0 = (f) => {
8713
9083
  case 2:
8714
9084
  return d.s.toString();
8715
9085
  case 3:
8716
- if ($2(d)) d.ea = !0;
8717
- else return d.o = e2(d), C1(d);
9086
+ if ($0(d)) d.ea = !0;
9087
+ else return d.o = e0(d), m1(d);
8718
9088
  default:
8719
- return d.ea ? (n2(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = i2(d, t), n = d2(d), 0 < n.length ? n : (X1(d, d.g.toString()), q1(d) ? t2(d) : d.u ? l1(d, t) : d.s.toString())) : C1(d);
9089
+ return d.ea ? (n0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = i0(d, t), n = d0(d), 0 < n.length ? n : (X1(d, d.g.toString()), q1(d) ? t0(d) : d.u ? h1(d, t) : d.s.toString())) : m1(d);
8720
9090
  }
8721
9091
  }
8722
9092
  function Q1(d) {
8723
- return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, B(d.v), d.da = "", C1(d);
9093
+ return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, R(d.v), d.da = "", m1(d);
8724
9094
  }
8725
- function d2(d) {
9095
+ function d0(d) {
8726
9096
  for (var t = d.g.toString(), n = d.j.length, r = 0; r < n; ++r) {
8727
- var o = d.j[r], a = w(o, 1);
8728
- if (new RegExp("^(?:" + a + ")$").test(t) && (d.ha = Y1.test(m(o, 4)), o = t.replace(new RegExp(a, "g"), m(o, 2)), o = l1(d, o), s1(o, m2) == d.ba)) return o;
9097
+ var o = d.j[r], l = S(o, 1);
9098
+ if (new RegExp("^(?:" + l + ")$").test(t) && (d.ha = Y1.test(C(o, 4)), o = t.replace(new RegExp(l, "g"), C(o, 2)), o = h1(d, o), r1(o, C0) == d.ba)) return o;
8729
9099
  }
8730
9100
  return "";
8731
9101
  }
8732
- function l1(d, t) {
9102
+ function h1(d, t) {
8733
9103
  var n = d.h.h.length;
8734
9104
  return d.ha && 0 < n && d.h.toString().charAt(n - 1) != " " ? d.h + " " + t : d.h + t;
8735
9105
  }
8736
- function C1(d) {
9106
+ function m1(d) {
8737
9107
  var t = d.g.toString();
8738
9108
  if (3 <= t.length) {
8739
- for (var n = d.ca && d.o.length == 0 && 0 < F(d.l, 20) ? M(d.l, 20) : M(d.l, 19), r = n.length, o = 0; o < r; ++o) {
8740
- var a = n[o];
8741
- 0 < d.o.length && G1(w(a, 4)) && !m(a, 6) && !x(a, 5) || (d.o.length != 0 || d.ca || G1(w(a, 4)) || m(a, 6)) && M2.test(w(a, 2)) && d.j.push(a);
9109
+ for (var n = d.ca && d.o.length == 0 && 0 < K(d.l, 20) ? D(d.l, 20) : D(d.l, 19), r = n.length, o = 0; o < r; ++o) {
9110
+ var l = n[o];
9111
+ 0 < d.o.length && G1(S(l, 4)) && !C(l, 6) && !B(l, 5) || (d.o.length != 0 || d.ca || G1(S(l, 4)) || C(l, 6)) && M0.test(S(l, 2)) && d.j.push(l);
8742
9112
  }
8743
- return X1(d, t), t = d2(d), 0 < t.length ? t : q1(d) ? t2(d) : d.s.toString();
9113
+ return X1(d, t), t = d0(d), 0 < t.length ? t : q1(d) ? t0(d) : d.s.toString();
8744
9114
  }
8745
- return l1(d, t);
9115
+ return h1(d, t);
8746
9116
  }
8747
- function t2(d) {
9117
+ function t0(d) {
8748
9118
  var t = d.g.toString(), n = t.length;
8749
9119
  if (0 < n) {
8750
- for (var r = "", o = 0; o < n; o++) r = i2(d, t.charAt(o));
8751
- return d.u ? l1(d, r) : d.s.toString();
9120
+ for (var r = "", o = 0; o < n; o++) r = i0(d, t.charAt(o));
9121
+ return d.u ? h1(d, r) : d.s.toString();
8752
9122
  }
8753
9123
  return d.h.toString();
8754
9124
  }
8755
- function e2(d) {
9125
+ function e0(d) {
8756
9126
  var t = d.g.toString(), n = 0;
8757
- if (m(d.l, 10) != 1) var r = !1;
9127
+ if (C(d.l, 10) != 1) var r = !1;
8758
9128
  else r = d.g.toString(), r = r.charAt(0) == "1" && r.charAt(1) != "0" && r.charAt(1) != "1";
8759
- return r ? (n = 1, d.h.g("1").g(" "), d.ca = !0) : x(d.l, 15) && (r = new RegExp("^(?:" + m(d.l, 15) + ")"), r = t.match(r), r != null && r[0] != null && 0 < r[0].length && (d.ca = !0, n = r[0].length, d.h.g(t.substring(0, n)))), B(d.g), d.g.g(t.substring(n)), t.substring(0, n);
9129
+ return r ? (n = 1, d.h.g("1").g(" "), d.ca = !0) : B(d.l, 15) && (r = new RegExp("^(?:" + C(d.l, 15) + ")"), r = t.match(r), r != null && r[0] != null && 0 < r[0].length && (d.ca = !0, n = r[0].length, d.h.g(t.substring(0, n)))), R(d.g), d.g.g(t.substring(n)), t.substring(0, n);
8760
9130
  }
8761
- function $2(d) {
8762
- var t = d.ba.toString(), n = new RegExp("^(?:\\+|" + m(d.l, 11) + ")");
8763
- return n = t.match(n), n != null && n[0] != null && 0 < n[0].length ? (d.ca = !0, n = n[0].length, B(d.g), d.g.g(t.substring(n)), B(d.h), d.h.g(t.substring(0, n)), t.charAt(0) != "+" && d.h.g(" "), !0) : !1;
9131
+ function $0(d) {
9132
+ var t = d.ba.toString(), n = new RegExp("^(?:\\+|" + C(d.l, 11) + ")");
9133
+ return n = t.match(n), n != null && n[0] != null && 0 < n[0].length ? (d.ca = !0, n = n[0].length, R(d.g), d.g.g(t.substring(n)), R(d.h), d.h.g(t.substring(0, n)), t.charAt(0) != "+" && d.h.g(" "), !0) : !1;
8764
9134
  }
8765
- function n2(d) {
9135
+ function n0(d) {
8766
9136
  if (d.g.h.length == 0) return !1;
8767
- var t = new N(), n = H1(d.g, t);
8768
- return n == 0 ? !1 : (B(d.g), d.g.g(t.toString()), t = t1(n), t == "001" ? d.l = V(d.ga, "" + n) : t != d.ka && (d.l = J1(d, t)), d.h.g("" + n).g(" "), d.o = "", !0);
9137
+ var t = new A(), n = H1(d.g, t);
9138
+ return n == 0 ? !1 : (R(d.g), d.g.g(t.toString()), t = e1(n), t == "001" ? d.l = H(d.ga, "" + n) : t != d.ka && (d.l = J1(d, t)), d.h.g("" + n).g(" "), d.o = "", !0);
8769
9139
  }
8770
- function i2(d, t) {
9140
+ function i0(d, t) {
8771
9141
  var n = d.v.toString();
8772
9142
  if (0 <= n.substring(d.$).search(d.fa)) {
8773
9143
  var r = n.search(d.fa);
8774
- return t = n.replace(d.fa, t), B(d.v), d.v.g(t), d.$ = r, t.substring(0, d.$ + 1);
9144
+ return t = n.replace(d.fa, t), R(d.v), d.v.g(t), d.$ = r, t.substring(0, d.$ + 1);
8775
9145
  }
8776
9146
  return d.j.length == 1 && (d.u = !1), d.da = "", d.s.toString();
8777
9147
  }
8778
- const s2 = (d) => {
9148
+ const s0 = (d) => {
8779
9149
  const t = [];
8780
9150
  return d.includes("FIXED_LINE_OR_MOBILE") ? (d.includes("MOBILE") || t.push("MOBILE"), d.includes("FIXED_LINE") || t.push("FIXED_LINE")) : (d.includes("MOBILE") || d.includes("FIXED_LINE")) && t.push("FIXED_LINE_OR_MOBILE"), d.concat(t);
8781
9151
  }, y1 = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
8782
9152
  e("intlTelInputUtilsTemp", {}), e("intlTelInputUtilsTemp.formatNumberAsYouType", (d, t) => {
8783
9153
  try {
8784
- const n = d.replace(/[^+0-9]/g, ""), r = new T2(t);
9154
+ const n = d.replace(/[^+0-9]/g, ""), r = new T0(t);
8785
9155
  t = "";
8786
- for (let o = 0; o < n.length; o++) r.ja = D2(r, n.charAt(o)), t = r.ja;
9156
+ for (let o = 0; o < n.length; o++) r.ja = D0(r, n.charAt(o)), t = r.ja;
8787
9157
  return t;
8788
9158
  } catch {
8789
9159
  return d;
8790
9160
  }
8791
9161
  }), e("intlTelInputUtilsTemp.formatNumber", (d, t, n) => {
8792
9162
  try {
8793
- const o = T.g(), a = z(o, d, t);
8794
- var r = u1(o, a, -1);
8795
- return r == 0 || r == 4 ? o.format(a, typeof n > "u" ? 0 : n) : d;
9163
+ const o = M.g(), l = Z(o, d, t);
9164
+ var r = a1(o, l, -1);
9165
+ return r == 0 || r == 4 ? o.format(l, typeof n > "u" ? 0 : n) : d;
8796
9166
  } catch {
8797
9167
  return d;
8798
9168
  }
8799
9169
  }), e("intlTelInputUtilsTemp.getExampleNumber", (d, t, n, r) => {
8800
9170
  try {
8801
- const _ = T.g();
9171
+ const _ = M.g();
8802
9172
  d: {
8803
9173
  var o = _;
8804
- if (r1(d)) {
8805
- var a = o1(V(o, d), n);
9174
+ if (o1(d)) {
9175
+ var l = l1(H(o, d), n);
8806
9176
  try {
8807
- if (x(a, 6)) {
8808
- var l = m(a, 6), p = z1(o, l, d, !1);
9177
+ if (B(l, 6)) {
9178
+ var a = C(l, 6), p = z1(o, a, d, !1);
8809
9179
  break d;
8810
9180
  }
8811
9181
  } catch {
@@ -8819,13 +9189,13 @@ const n0 = (f) => {
8819
9189
  }
8820
9190
  }), e("intlTelInputUtilsTemp.getExtension", (d, t) => {
8821
9191
  try {
8822
- return m(z(T.g(), d, t), 3);
9192
+ return C(Z(M.g(), d, t), 3);
8823
9193
  } catch {
8824
9194
  return "";
8825
9195
  }
8826
9196
  }), e("intlTelInputUtilsTemp.getNumberType", (d, t) => {
8827
9197
  try {
8828
- const n = T.g(), r = z(n, d, t);
9198
+ const n = M.g(), r = Z(n, d, t);
8829
9199
  return F1(n, r);
8830
9200
  } catch {
8831
9201
  return -99;
@@ -8833,48 +9203,48 @@ const n0 = (f) => {
8833
9203
  }), e("intlTelInputUtilsTemp.getValidationError", (d, t) => {
8834
9204
  if (!t) return 1;
8835
9205
  try {
8836
- const n = T.g(), r = z(n, d, t);
8837
- return u1(n, r, -1);
9206
+ const n = M.g(), r = Z(n, d, t);
9207
+ return a1(n, r, -1);
8838
9208
  } catch (n) {
8839
9209
  return n.message === "Invalid country calling code" ? 1 : 3 >= d.length || n.message === "Phone number too short after IDD" || n.message === "The string supplied is too short to be a phone number" ? 2 : n.message === "The string supplied is too long to be a phone number" ? 3 : -99;
8840
9210
  }
8841
9211
  }), e("intlTelInputUtilsTemp.isValidNumber", (d, t, n) => {
8842
9212
  try {
8843
- const r = T.g(), o = z(r, d, t), a = E2(r, o);
9213
+ const r = M.g(), o = Z(r, d, t), l = E0(r, o);
8844
9214
  if (n) {
8845
- const l = s2(n).map((p) => y1[p]);
8846
- return a && l.includes(F1(r, o));
9215
+ const a = s0(n).map((p) => y1[p]);
9216
+ return l && a.includes(F1(r, o));
8847
9217
  }
8848
- return a;
9218
+ return l;
8849
9219
  } catch {
8850
9220
  return !1;
8851
9221
  }
8852
9222
  }), e("intlTelInputUtilsTemp.isPossibleNumber", (d, t, n) => {
8853
9223
  try {
8854
- const r = T.g(), o = z(r, d, t);
9224
+ const r = M.g(), o = Z(r, d, t);
8855
9225
  if (n) {
8856
- const a = s2(n);
8857
- for (let l of a) if (u1(r, o, y1[l]) === 0) return !0;
9226
+ const l = s0(n);
9227
+ for (let a of l) if (a1(r, o, y1[a]) === 0) return !0;
8858
9228
  return !1;
8859
9229
  }
8860
- return u1(r, o, -1) === 0;
9230
+ return a1(r, o, -1) === 0;
8861
9231
  } catch {
8862
9232
  return !1;
8863
9233
  }
8864
9234
  }), e("intlTelInputUtilsTemp.getCoreNumber", (d, t) => {
8865
9235
  try {
8866
- return m(z(T.g(), d, t), 2).toString();
9236
+ return C(Z(M.g(), d, t), 2).toString();
8867
9237
  } catch {
8868
9238
  return "";
8869
9239
  }
8870
9240
  }), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", y1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
8871
9241
  })();
8872
- const h2 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, i0 = h2.intlTelInputUtilsTemp;
8873
- delete h2.intlTelInputUtilsTemp;
8874
- y.utils = i0;
8875
- const r0 = {
9242
+ const h0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, i2 = h0.intlTelInputUtilsTemp;
9243
+ delete h0.intlTelInputUtilsTemp;
9244
+ y.utils = i2;
9245
+ const r2 = {
8876
9246
  __name: "IntlTelInputWithUtils",
8877
- props: /* @__PURE__ */ r2({
9247
+ props: /* @__PURE__ */ r0({
8878
9248
  disabled: {
8879
9249
  type: Boolean,
8880
9250
  default: !1
@@ -8898,47 +9268,47 @@ const r0 = {
8898
9268
  },
8899
9269
  modelModifiers: {}
8900
9270
  }),
8901
- emits: /* @__PURE__ */ r2([
9271
+ emits: /* @__PURE__ */ r0([
8902
9272
  "changeNumber",
8903
9273
  "changeCountry",
8904
9274
  "changeValidity",
8905
9275
  "changeErrorCode"
8906
9276
  ], ["update:modelValue"]),
8907
9277
  setup(f, { expose: e, emit: $ }) {
8908
- const i = P2(f, "modelValue"), s = f, u = $, h = I1(), c = I1(), C = I1(!1), g = () => c.value ? s.options.strictMode ? c.value.isValidNumberPrecise() : c.value.isValidNumber() : null, I = () => {
9278
+ const i = P0(f, "modelValue"), s = f, u = $, h = I1(), c = I1(), m = I1(!1), g = () => c.value ? s.options.strictMode ? c.value.isValidNumberPrecise() : c.value.isValidNumber() : null, I = () => {
8909
9279
  let v = g();
8910
- C.value !== v && (C.value = v, u("changeValidity", !!v), u(
9280
+ m.value !== v && (m.value = v, u("changeValidity", !!v), u(
8911
9281
  "changeErrorCode",
8912
9282
  v ? null : c.value.getValidationError()
8913
9283
  ));
8914
- }, S = () => {
9284
+ }, w = () => {
8915
9285
  var v;
8916
9286
  u("changeNumber", ((v = c.value) == null ? void 0 : v.getNumber()) ?? ""), I();
8917
- }, R = () => {
9287
+ }, k = () => {
8918
9288
  var v;
8919
- u("changeCountry", ((v = c.value) == null ? void 0 : v.getSelectedCountryData().iso2) ?? ""), S(), I();
9289
+ u("changeCountry", ((v = c.value) == null ? void 0 : v.getSelectedCountryData().iso2) ?? ""), w(), I();
8920
9290
  };
8921
- return x2(() => {
8922
- h.value && (c.value = y(h.value, s.options), s.value && c.value.setNumber(s.value), s.disabled && c.value.setDisabled(s.disabled), C.value = g());
8923
- }), B2(
9291
+ return x0(() => {
9292
+ h.value && (c.value = y(h.value, s.options), s.value && c.value.setNumber(s.value), s.disabled && c.value.setDisabled(s.disabled), m.value = g());
9293
+ }), B0(
8924
9294
  () => s.disabled,
8925
9295
  (v) => {
8926
- var D;
8927
- return (D = c.value) == null ? void 0 : D.setDisabled(v);
9296
+ var E;
9297
+ return (E = c.value) == null ? void 0 : E.setDisabled(v);
8928
9298
  }
8929
- ), R2(() => {
9299
+ ), R0(() => {
8930
9300
  var v;
8931
9301
  return (v = c.value) == null ? void 0 : v.destroy();
8932
- }), e({ instance: c, input: h }), (v, D) => k2((G2(), O2("input", U2({
9302
+ }), e({ instance: c, input: h }), (v, E) => k0((G0(), O0("input", U0({
8933
9303
  ref_key: "input",
8934
9304
  ref: h,
8935
- "onUpdate:modelValue": D[0] || (D[0] = (A) => i.value = A),
9305
+ "onUpdate:modelValue": E[0] || (E[0] = (N) => i.value = N),
8936
9306
  type: "tel",
8937
- onCountrychange: R,
8938
- onInput: S
9307
+ onCountrychange: k,
9308
+ onInput: w
8939
9309
  }, f.inputProps), null, 16)), [
8940
9310
  [
8941
- F2,
9311
+ F0,
8942
9312
  i.value,
8943
9313
  void 0,
8944
9314
  { lazy: !0 }
@@ -8947,5 +9317,5 @@ const r0 = {
8947
9317
  }
8948
9318
  };
8949
9319
  export {
8950
- r0 as default
9320
+ r2 as default
8951
9321
  };