@webority/ui-elements 0.0.10 → 0.2.0

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.
@@ -420,25 +420,950 @@ var e = class extends HTMLElement {
420
420
  this._onDocClick && document.removeEventListener("click", this._onDocClick);
421
421
  }
422
422
  }, d = (e) => String(e ?? "").replace(/"/g, "&quot;").replace(/</g, "&lt;"), f = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;"), p = (e) => String(e ?? "").replace(/<[^>]*>/g, ""), m = [
423
+ [
424
+ "AF",
425
+ "Afghanistan",
426
+ "93"
427
+ ],
428
+ [
429
+ "AX",
430
+ "Åland Islands",
431
+ "358"
432
+ ],
433
+ [
434
+ "AL",
435
+ "Albania",
436
+ "355"
437
+ ],
438
+ [
439
+ "DZ",
440
+ "Algeria",
441
+ "213"
442
+ ],
443
+ [
444
+ "AS",
445
+ "American Samoa",
446
+ "1"
447
+ ],
448
+ [
449
+ "AD",
450
+ "Andorra",
451
+ "376"
452
+ ],
453
+ [
454
+ "AO",
455
+ "Angola",
456
+ "244"
457
+ ],
458
+ [
459
+ "AI",
460
+ "Anguilla",
461
+ "1"
462
+ ],
463
+ [
464
+ "AG",
465
+ "Antigua & Barbuda",
466
+ "1"
467
+ ],
468
+ [
469
+ "AR",
470
+ "Argentina",
471
+ "54"
472
+ ],
473
+ [
474
+ "AM",
475
+ "Armenia",
476
+ "374"
477
+ ],
478
+ [
479
+ "AW",
480
+ "Aruba",
481
+ "297"
482
+ ],
483
+ [
484
+ "AC",
485
+ "Ascension Island",
486
+ "247"
487
+ ],
488
+ [
489
+ "AU",
490
+ "Australia",
491
+ "61"
492
+ ],
493
+ [
494
+ "AT",
495
+ "Austria",
496
+ "43"
497
+ ],
498
+ [
499
+ "AZ",
500
+ "Azerbaijan",
501
+ "994"
502
+ ],
503
+ [
504
+ "BS",
505
+ "Bahamas",
506
+ "1"
507
+ ],
508
+ [
509
+ "BH",
510
+ "Bahrain",
511
+ "973"
512
+ ],
513
+ [
514
+ "BD",
515
+ "Bangladesh",
516
+ "880"
517
+ ],
518
+ [
519
+ "BB",
520
+ "Barbados",
521
+ "1"
522
+ ],
523
+ [
524
+ "BY",
525
+ "Belarus",
526
+ "375"
527
+ ],
528
+ [
529
+ "BE",
530
+ "Belgium",
531
+ "32"
532
+ ],
533
+ [
534
+ "BZ",
535
+ "Belize",
536
+ "501"
537
+ ],
538
+ [
539
+ "BJ",
540
+ "Benin",
541
+ "229"
542
+ ],
543
+ [
544
+ "BM",
545
+ "Bermuda",
546
+ "1"
547
+ ],
548
+ [
549
+ "BT",
550
+ "Bhutan",
551
+ "975"
552
+ ],
553
+ [
554
+ "BO",
555
+ "Bolivia",
556
+ "591"
557
+ ],
558
+ [
559
+ "BA",
560
+ "Bosnia & Herzegovina",
561
+ "387"
562
+ ],
563
+ [
564
+ "BW",
565
+ "Botswana",
566
+ "267"
567
+ ],
568
+ [
569
+ "BR",
570
+ "Brazil",
571
+ "55"
572
+ ],
573
+ [
574
+ "IO",
575
+ "British Indian Ocean Territory",
576
+ "246"
577
+ ],
578
+ [
579
+ "VG",
580
+ "British Virgin Islands",
581
+ "1"
582
+ ],
583
+ [
584
+ "BN",
585
+ "Brunei",
586
+ "673"
587
+ ],
588
+ [
589
+ "BG",
590
+ "Bulgaria",
591
+ "359"
592
+ ],
593
+ [
594
+ "BF",
595
+ "Burkina Faso",
596
+ "226"
597
+ ],
598
+ [
599
+ "BI",
600
+ "Burundi",
601
+ "257"
602
+ ],
603
+ [
604
+ "KH",
605
+ "Cambodia",
606
+ "855"
607
+ ],
608
+ [
609
+ "CM",
610
+ "Cameroon",
611
+ "237"
612
+ ],
613
+ [
614
+ "CA",
615
+ "Canada",
616
+ "1"
617
+ ],
618
+ [
619
+ "CV",
620
+ "Cape Verde",
621
+ "238"
622
+ ],
623
+ [
624
+ "BQ",
625
+ "Caribbean Netherlands",
626
+ "599"
627
+ ],
628
+ [
629
+ "KY",
630
+ "Cayman Islands",
631
+ "1"
632
+ ],
633
+ [
634
+ "CF",
635
+ "Central African Republic",
636
+ "236"
637
+ ],
638
+ [
639
+ "TD",
640
+ "Chad",
641
+ "235"
642
+ ],
643
+ [
644
+ "CL",
645
+ "Chile",
646
+ "56"
647
+ ],
648
+ [
649
+ "CN",
650
+ "China",
651
+ "86"
652
+ ],
653
+ [
654
+ "CX",
655
+ "Christmas Island",
656
+ "61"
657
+ ],
658
+ [
659
+ "CC",
660
+ "Cocos (Keeling) Islands",
661
+ "61"
662
+ ],
663
+ [
664
+ "CO",
665
+ "Colombia",
666
+ "57"
667
+ ],
668
+ [
669
+ "KM",
670
+ "Comoros",
671
+ "269"
672
+ ],
673
+ [
674
+ "CG",
675
+ "Congo - Brazzaville",
676
+ "242"
677
+ ],
678
+ [
679
+ "CD",
680
+ "Congo - Kinshasa",
681
+ "243"
682
+ ],
683
+ [
684
+ "CK",
685
+ "Cook Islands",
686
+ "682"
687
+ ],
688
+ [
689
+ "CR",
690
+ "Costa Rica",
691
+ "506"
692
+ ],
693
+ [
694
+ "CI",
695
+ "Côte d’Ivoire",
696
+ "225"
697
+ ],
698
+ [
699
+ "HR",
700
+ "Croatia",
701
+ "385"
702
+ ],
703
+ [
704
+ "CU",
705
+ "Cuba",
706
+ "53"
707
+ ],
708
+ [
709
+ "CW",
710
+ "Curaçao",
711
+ "599"
712
+ ],
713
+ [
714
+ "CY",
715
+ "Cyprus",
716
+ "357"
717
+ ],
718
+ [
719
+ "CZ",
720
+ "Czechia",
721
+ "420"
722
+ ],
723
+ [
724
+ "DK",
725
+ "Denmark",
726
+ "45"
727
+ ],
728
+ [
729
+ "DJ",
730
+ "Djibouti",
731
+ "253"
732
+ ],
733
+ [
734
+ "DM",
735
+ "Dominica",
736
+ "1"
737
+ ],
738
+ [
739
+ "DO",
740
+ "Dominican Republic",
741
+ "1"
742
+ ],
743
+ [
744
+ "EC",
745
+ "Ecuador",
746
+ "593"
747
+ ],
748
+ [
749
+ "EG",
750
+ "Egypt",
751
+ "20"
752
+ ],
753
+ [
754
+ "SV",
755
+ "El Salvador",
756
+ "503"
757
+ ],
758
+ [
759
+ "GQ",
760
+ "Equatorial Guinea",
761
+ "240"
762
+ ],
763
+ [
764
+ "ER",
765
+ "Eritrea",
766
+ "291"
767
+ ],
768
+ [
769
+ "EE",
770
+ "Estonia",
771
+ "372"
772
+ ],
773
+ [
774
+ "SZ",
775
+ "Eswatini",
776
+ "268"
777
+ ],
778
+ [
779
+ "ET",
780
+ "Ethiopia",
781
+ "251"
782
+ ],
783
+ [
784
+ "FK",
785
+ "Falkland Islands",
786
+ "500"
787
+ ],
788
+ [
789
+ "FO",
790
+ "Faroe Islands",
791
+ "298"
792
+ ],
793
+ [
794
+ "FJ",
795
+ "Fiji",
796
+ "679"
797
+ ],
798
+ [
799
+ "FI",
800
+ "Finland",
801
+ "358"
802
+ ],
803
+ [
804
+ "FR",
805
+ "France",
806
+ "33"
807
+ ],
808
+ [
809
+ "GF",
810
+ "French Guiana",
811
+ "594"
812
+ ],
813
+ [
814
+ "PF",
815
+ "French Polynesia",
816
+ "689"
817
+ ],
818
+ [
819
+ "GA",
820
+ "Gabon",
821
+ "241"
822
+ ],
823
+ [
824
+ "GM",
825
+ "Gambia",
826
+ "220"
827
+ ],
828
+ [
829
+ "GE",
830
+ "Georgia",
831
+ "995"
832
+ ],
833
+ [
834
+ "DE",
835
+ "Germany",
836
+ "49"
837
+ ],
838
+ [
839
+ "GH",
840
+ "Ghana",
841
+ "233"
842
+ ],
843
+ [
844
+ "GI",
845
+ "Gibraltar",
846
+ "350"
847
+ ],
848
+ [
849
+ "GR",
850
+ "Greece",
851
+ "30"
852
+ ],
853
+ [
854
+ "GL",
855
+ "Greenland",
856
+ "299"
857
+ ],
858
+ [
859
+ "GD",
860
+ "Grenada",
861
+ "1"
862
+ ],
863
+ [
864
+ "GP",
865
+ "Guadeloupe",
866
+ "590"
867
+ ],
868
+ [
869
+ "GU",
870
+ "Guam",
871
+ "1"
872
+ ],
873
+ [
874
+ "GT",
875
+ "Guatemala",
876
+ "502"
877
+ ],
878
+ [
879
+ "GG",
880
+ "Guernsey",
881
+ "44"
882
+ ],
883
+ [
884
+ "GN",
885
+ "Guinea",
886
+ "224"
887
+ ],
888
+ [
889
+ "GW",
890
+ "Guinea-Bissau",
891
+ "245"
892
+ ],
893
+ [
894
+ "GY",
895
+ "Guyana",
896
+ "592"
897
+ ],
898
+ [
899
+ "HT",
900
+ "Haiti",
901
+ "509"
902
+ ],
903
+ [
904
+ "HN",
905
+ "Honduras",
906
+ "504"
907
+ ],
908
+ [
909
+ "HK",
910
+ "Hong Kong SAR China",
911
+ "852"
912
+ ],
913
+ [
914
+ "HU",
915
+ "Hungary",
916
+ "36"
917
+ ],
918
+ [
919
+ "IS",
920
+ "Iceland",
921
+ "354"
922
+ ],
423
923
  [
424
924
  "IN",
425
925
  "India",
426
926
  "91"
427
927
  ],
428
928
  [
429
- "US",
430
- "United States",
929
+ "ID",
930
+ "Indonesia",
931
+ "62"
932
+ ],
933
+ [
934
+ "IR",
935
+ "Iran",
936
+ "98"
937
+ ],
938
+ [
939
+ "IQ",
940
+ "Iraq",
941
+ "964"
942
+ ],
943
+ [
944
+ "IE",
945
+ "Ireland",
946
+ "353"
947
+ ],
948
+ [
949
+ "IM",
950
+ "Isle of Man",
951
+ "44"
952
+ ],
953
+ [
954
+ "IL",
955
+ "Israel",
956
+ "972"
957
+ ],
958
+ [
959
+ "IT",
960
+ "Italy",
961
+ "39"
962
+ ],
963
+ [
964
+ "JM",
965
+ "Jamaica",
966
+ "1"
967
+ ],
968
+ [
969
+ "JP",
970
+ "Japan",
971
+ "81"
972
+ ],
973
+ [
974
+ "JE",
975
+ "Jersey",
976
+ "44"
977
+ ],
978
+ [
979
+ "JO",
980
+ "Jordan",
981
+ "962"
982
+ ],
983
+ [
984
+ "KZ",
985
+ "Kazakhstan",
986
+ "7"
987
+ ],
988
+ [
989
+ "KE",
990
+ "Kenya",
991
+ "254"
992
+ ],
993
+ [
994
+ "KI",
995
+ "Kiribati",
996
+ "686"
997
+ ],
998
+ [
999
+ "XK",
1000
+ "Kosovo",
1001
+ "383"
1002
+ ],
1003
+ [
1004
+ "KW",
1005
+ "Kuwait",
1006
+ "965"
1007
+ ],
1008
+ [
1009
+ "KG",
1010
+ "Kyrgyzstan",
1011
+ "996"
1012
+ ],
1013
+ [
1014
+ "LA",
1015
+ "Laos",
1016
+ "856"
1017
+ ],
1018
+ [
1019
+ "LV",
1020
+ "Latvia",
1021
+ "371"
1022
+ ],
1023
+ [
1024
+ "LB",
1025
+ "Lebanon",
1026
+ "961"
1027
+ ],
1028
+ [
1029
+ "LS",
1030
+ "Lesotho",
1031
+ "266"
1032
+ ],
1033
+ [
1034
+ "LR",
1035
+ "Liberia",
1036
+ "231"
1037
+ ],
1038
+ [
1039
+ "LY",
1040
+ "Libya",
1041
+ "218"
1042
+ ],
1043
+ [
1044
+ "LI",
1045
+ "Liechtenstein",
1046
+ "423"
1047
+ ],
1048
+ [
1049
+ "LT",
1050
+ "Lithuania",
1051
+ "370"
1052
+ ],
1053
+ [
1054
+ "LU",
1055
+ "Luxembourg",
1056
+ "352"
1057
+ ],
1058
+ [
1059
+ "MO",
1060
+ "Macao SAR China",
1061
+ "853"
1062
+ ],
1063
+ [
1064
+ "MG",
1065
+ "Madagascar",
1066
+ "261"
1067
+ ],
1068
+ [
1069
+ "MW",
1070
+ "Malawi",
1071
+ "265"
1072
+ ],
1073
+ [
1074
+ "MY",
1075
+ "Malaysia",
1076
+ "60"
1077
+ ],
1078
+ [
1079
+ "MV",
1080
+ "Maldives",
1081
+ "960"
1082
+ ],
1083
+ [
1084
+ "ML",
1085
+ "Mali",
1086
+ "223"
1087
+ ],
1088
+ [
1089
+ "MT",
1090
+ "Malta",
1091
+ "356"
1092
+ ],
1093
+ [
1094
+ "MH",
1095
+ "Marshall Islands",
1096
+ "692"
1097
+ ],
1098
+ [
1099
+ "MQ",
1100
+ "Martinique",
1101
+ "596"
1102
+ ],
1103
+ [
1104
+ "MR",
1105
+ "Mauritania",
1106
+ "222"
1107
+ ],
1108
+ [
1109
+ "MU",
1110
+ "Mauritius",
1111
+ "230"
1112
+ ],
1113
+ [
1114
+ "YT",
1115
+ "Mayotte",
1116
+ "262"
1117
+ ],
1118
+ [
1119
+ "MX",
1120
+ "Mexico",
1121
+ "52"
1122
+ ],
1123
+ [
1124
+ "FM",
1125
+ "Micronesia",
1126
+ "691"
1127
+ ],
1128
+ [
1129
+ "MD",
1130
+ "Moldova",
1131
+ "373"
1132
+ ],
1133
+ [
1134
+ "MC",
1135
+ "Monaco",
1136
+ "377"
1137
+ ],
1138
+ [
1139
+ "MN",
1140
+ "Mongolia",
1141
+ "976"
1142
+ ],
1143
+ [
1144
+ "ME",
1145
+ "Montenegro",
1146
+ "382"
1147
+ ],
1148
+ [
1149
+ "MS",
1150
+ "Montserrat",
1151
+ "1"
1152
+ ],
1153
+ [
1154
+ "MA",
1155
+ "Morocco",
1156
+ "212"
1157
+ ],
1158
+ [
1159
+ "MZ",
1160
+ "Mozambique",
1161
+ "258"
1162
+ ],
1163
+ [
1164
+ "MM",
1165
+ "Myanmar (Burma)",
1166
+ "95"
1167
+ ],
1168
+ [
1169
+ "NA",
1170
+ "Namibia",
1171
+ "264"
1172
+ ],
1173
+ [
1174
+ "NR",
1175
+ "Nauru",
1176
+ "674"
1177
+ ],
1178
+ [
1179
+ "NP",
1180
+ "Nepal",
1181
+ "977"
1182
+ ],
1183
+ [
1184
+ "NL",
1185
+ "Netherlands",
1186
+ "31"
1187
+ ],
1188
+ [
1189
+ "NC",
1190
+ "New Caledonia",
1191
+ "687"
1192
+ ],
1193
+ [
1194
+ "NZ",
1195
+ "New Zealand",
1196
+ "64"
1197
+ ],
1198
+ [
1199
+ "NI",
1200
+ "Nicaragua",
1201
+ "505"
1202
+ ],
1203
+ [
1204
+ "NE",
1205
+ "Niger",
1206
+ "227"
1207
+ ],
1208
+ [
1209
+ "NG",
1210
+ "Nigeria",
1211
+ "234"
1212
+ ],
1213
+ [
1214
+ "NU",
1215
+ "Niue",
1216
+ "683"
1217
+ ],
1218
+ [
1219
+ "NF",
1220
+ "Norfolk Island",
1221
+ "672"
1222
+ ],
1223
+ [
1224
+ "KP",
1225
+ "North Korea",
1226
+ "850"
1227
+ ],
1228
+ [
1229
+ "MK",
1230
+ "North Macedonia",
1231
+ "389"
1232
+ ],
1233
+ [
1234
+ "MP",
1235
+ "Northern Mariana Islands",
431
1236
  "1"
432
1237
  ],
433
1238
  [
434
- "GB",
435
- "United Kingdom",
436
- "44"
1239
+ "NO",
1240
+ "Norway",
1241
+ "47"
437
1242
  ],
438
1243
  [
439
- "AE",
440
- "United Arab Emirates",
441
- "971"
1244
+ "OM",
1245
+ "Oman",
1246
+ "968"
1247
+ ],
1248
+ [
1249
+ "PK",
1250
+ "Pakistan",
1251
+ "92"
1252
+ ],
1253
+ [
1254
+ "PW",
1255
+ "Palau",
1256
+ "680"
1257
+ ],
1258
+ [
1259
+ "PS",
1260
+ "Palestinian Territories",
1261
+ "970"
1262
+ ],
1263
+ [
1264
+ "PA",
1265
+ "Panama",
1266
+ "507"
1267
+ ],
1268
+ [
1269
+ "PG",
1270
+ "Papua New Guinea",
1271
+ "675"
1272
+ ],
1273
+ [
1274
+ "PY",
1275
+ "Paraguay",
1276
+ "595"
1277
+ ],
1278
+ [
1279
+ "PE",
1280
+ "Peru",
1281
+ "51"
1282
+ ],
1283
+ [
1284
+ "PH",
1285
+ "Philippines",
1286
+ "63"
1287
+ ],
1288
+ [
1289
+ "PL",
1290
+ "Poland",
1291
+ "48"
1292
+ ],
1293
+ [
1294
+ "PT",
1295
+ "Portugal",
1296
+ "351"
1297
+ ],
1298
+ [
1299
+ "PR",
1300
+ "Puerto Rico",
1301
+ "1"
1302
+ ],
1303
+ [
1304
+ "QA",
1305
+ "Qatar",
1306
+ "974"
1307
+ ],
1308
+ [
1309
+ "RE",
1310
+ "Réunion",
1311
+ "262"
1312
+ ],
1313
+ [
1314
+ "RO",
1315
+ "Romania",
1316
+ "40"
1317
+ ],
1318
+ [
1319
+ "RU",
1320
+ "Russia",
1321
+ "7"
1322
+ ],
1323
+ [
1324
+ "RW",
1325
+ "Rwanda",
1326
+ "250"
1327
+ ],
1328
+ [
1329
+ "WS",
1330
+ "Samoa",
1331
+ "685"
1332
+ ],
1333
+ [
1334
+ "SM",
1335
+ "San Marino",
1336
+ "378"
1337
+ ],
1338
+ [
1339
+ "ST",
1340
+ "São Tomé & Príncipe",
1341
+ "239"
1342
+ ],
1343
+ [
1344
+ "SA",
1345
+ "Saudi Arabia",
1346
+ "966"
1347
+ ],
1348
+ [
1349
+ "SN",
1350
+ "Senegal",
1351
+ "221"
1352
+ ],
1353
+ [
1354
+ "RS",
1355
+ "Serbia",
1356
+ "381"
1357
+ ],
1358
+ [
1359
+ "SC",
1360
+ "Seychelles",
1361
+ "248"
1362
+ ],
1363
+ [
1364
+ "SL",
1365
+ "Sierra Leone",
1366
+ "232"
442
1367
  ],
443
1368
  [
444
1369
  "SG",
@@ -446,29 +1371,44 @@ var e = class extends HTMLElement {
446
1371
  "65"
447
1372
  ],
448
1373
  [
449
- "AU",
450
- "Australia",
451
- "61"
1374
+ "SX",
1375
+ "Sint Maarten",
1376
+ "1"
452
1377
  ],
453
1378
  [
454
- "CA",
455
- "Canada",
456
- "1"
1379
+ "SK",
1380
+ "Slovakia",
1381
+ "421"
457
1382
  ],
458
1383
  [
459
- "DE",
460
- "Germany",
461
- "49"
1384
+ "SI",
1385
+ "Slovenia",
1386
+ "386"
462
1387
  ],
463
1388
  [
464
- "FR",
465
- "France",
466
- "33"
1389
+ "SB",
1390
+ "Solomon Islands",
1391
+ "677"
467
1392
  ],
468
1393
  [
469
- "IT",
470
- "Italy",
471
- "39"
1394
+ "SO",
1395
+ "Somalia",
1396
+ "252"
1397
+ ],
1398
+ [
1399
+ "ZA",
1400
+ "South Africa",
1401
+ "27"
1402
+ ],
1403
+ [
1404
+ "KR",
1405
+ "South Korea",
1406
+ "82"
1407
+ ],
1408
+ [
1409
+ "SS",
1410
+ "South Sudan",
1411
+ "211"
472
1412
  ],
473
1413
  [
474
1414
  "ES",
@@ -476,64 +1416,89 @@ var e = class extends HTMLElement {
476
1416
  "34"
477
1417
  ],
478
1418
  [
479
- "NL",
480
- "Netherlands",
481
- "31"
1419
+ "LK",
1420
+ "Sri Lanka",
1421
+ "94"
482
1422
  ],
483
1423
  [
484
- "CH",
485
- "Switzerland",
486
- "41"
1424
+ "BL",
1425
+ "St. Barthélemy",
1426
+ "590"
487
1427
  ],
488
1428
  [
489
- "SE",
490
- "Sweden",
491
- "46"
1429
+ "SH",
1430
+ "St. Helena",
1431
+ "290"
492
1432
  ],
493
1433
  [
494
- "NO",
495
- "Norway",
496
- "47"
1434
+ "KN",
1435
+ "St. Kitts & Nevis",
1436
+ "1"
497
1437
  ],
498
1438
  [
499
- "DK",
500
- "Denmark",
501
- "45"
1439
+ "LC",
1440
+ "St. Lucia",
1441
+ "1"
502
1442
  ],
503
1443
  [
504
- "IE",
505
- "Ireland",
506
- "353"
1444
+ "MF",
1445
+ "St. Martin",
1446
+ "590"
507
1447
  ],
508
1448
  [
509
- "NZ",
510
- "New Zealand",
511
- "64"
1449
+ "PM",
1450
+ "St. Pierre & Miquelon",
1451
+ "508"
512
1452
  ],
513
1453
  [
514
- "JP",
515
- "Japan",
516
- "81"
1454
+ "VC",
1455
+ "St. Vincent & Grenadines",
1456
+ "1"
517
1457
  ],
518
1458
  [
519
- "CN",
520
- "China",
521
- "86"
1459
+ "SD",
1460
+ "Sudan",
1461
+ "249"
522
1462
  ],
523
1463
  [
524
- "HK",
525
- "Hong Kong",
526
- "852"
1464
+ "SR",
1465
+ "Suriname",
1466
+ "597"
527
1467
  ],
528
1468
  [
529
- "MY",
530
- "Malaysia",
531
- "60"
1469
+ "SJ",
1470
+ "Svalbard & Jan Mayen",
1471
+ "47"
532
1472
  ],
533
1473
  [
534
- "ID",
535
- "Indonesia",
536
- "62"
1474
+ "SE",
1475
+ "Sweden",
1476
+ "46"
1477
+ ],
1478
+ [
1479
+ "CH",
1480
+ "Switzerland",
1481
+ "41"
1482
+ ],
1483
+ [
1484
+ "SY",
1485
+ "Syria",
1486
+ "963"
1487
+ ],
1488
+ [
1489
+ "TW",
1490
+ "Taiwan",
1491
+ "886"
1492
+ ],
1493
+ [
1494
+ "TJ",
1495
+ "Tajikistan",
1496
+ "992"
1497
+ ],
1498
+ [
1499
+ "TZ",
1500
+ "Tanzania",
1501
+ "255"
537
1502
  ],
538
1503
  [
539
1504
  "TH",
@@ -541,105 +1506,150 @@ var e = class extends HTMLElement {
541
1506
  "66"
542
1507
  ],
543
1508
  [
544
- "PH",
545
- "Philippines",
546
- "63"
1509
+ "TL",
1510
+ "Timor-Leste",
1511
+ "670"
547
1512
  ],
548
1513
  [
549
- "VN",
550
- "Vietnam",
551
- "84"
1514
+ "TG",
1515
+ "Togo",
1516
+ "228"
552
1517
  ],
553
1518
  [
554
- "KR",
555
- "South Korea",
556
- "82"
1519
+ "TK",
1520
+ "Tokelau",
1521
+ "690"
557
1522
  ],
558
1523
  [
559
- "SA",
560
- "Saudi Arabia",
561
- "966"
1524
+ "TO",
1525
+ "Tonga",
1526
+ "676"
562
1527
  ],
563
1528
  [
564
- "QA",
565
- "Qatar",
566
- "974"
1529
+ "TT",
1530
+ "Trinidad & Tobago",
1531
+ "1"
567
1532
  ],
568
1533
  [
569
- "KW",
570
- "Kuwait",
571
- "965"
1534
+ "TA",
1535
+ "Tristan da Cunha",
1536
+ "290"
572
1537
  ],
573
1538
  [
574
- "BH",
575
- "Bahrain",
576
- "973"
1539
+ "TN",
1540
+ "Tunisia",
1541
+ "216"
577
1542
  ],
578
1543
  [
579
- "OM",
580
- "Oman",
581
- "968"
1544
+ "TR",
1545
+ "Türkiye",
1546
+ "90"
582
1547
  ],
583
1548
  [
584
- "ZA",
585
- "South Africa",
586
- "27"
1549
+ "TM",
1550
+ "Turkmenistan",
1551
+ "993"
587
1552
  ],
588
1553
  [
589
- "NG",
590
- "Nigeria",
591
- "234"
1554
+ "TC",
1555
+ "Turks & Caicos Islands",
1556
+ "1"
592
1557
  ],
593
1558
  [
594
- "KE",
595
- "Kenya",
596
- "254"
1559
+ "TV",
1560
+ "Tuvalu",
1561
+ "688"
597
1562
  ],
598
1563
  [
599
- "EG",
600
- "Egypt",
601
- "20"
1564
+ "VI",
1565
+ "U.S. Virgin Islands",
1566
+ "1"
602
1567
  ],
603
1568
  [
604
- "BR",
605
- "Brazil",
606
- "55"
1569
+ "UG",
1570
+ "Uganda",
1571
+ "256"
607
1572
  ],
608
1573
  [
609
- "MX",
610
- "Mexico",
611
- "52"
1574
+ "UA",
1575
+ "Ukraine",
1576
+ "380"
612
1577
  ],
613
1578
  [
614
- "AR",
615
- "Argentina",
616
- "54"
1579
+ "AE",
1580
+ "United Arab Emirates",
1581
+ "971"
617
1582
  ],
618
1583
  [
619
- "BD",
620
- "Bangladesh",
621
- "880"
1584
+ "GB",
1585
+ "United Kingdom",
1586
+ "44"
622
1587
  ],
623
1588
  [
624
- "PK",
625
- "Pakistan",
626
- "92"
1589
+ "US",
1590
+ "United States",
1591
+ "1"
627
1592
  ],
628
1593
  [
629
- "LK",
630
- "Sri Lanka",
631
- "94"
1594
+ "UY",
1595
+ "Uruguay",
1596
+ "598"
632
1597
  ],
633
1598
  [
634
- "NP",
635
- "Nepal",
636
- "977"
1599
+ "UZ",
1600
+ "Uzbekistan",
1601
+ "998"
1602
+ ],
1603
+ [
1604
+ "VU",
1605
+ "Vanuatu",
1606
+ "678"
1607
+ ],
1608
+ [
1609
+ "VA",
1610
+ "Vatican City",
1611
+ "39"
1612
+ ],
1613
+ [
1614
+ "VE",
1615
+ "Venezuela",
1616
+ "58"
1617
+ ],
1618
+ [
1619
+ "VN",
1620
+ "Vietnam",
1621
+ "84"
1622
+ ],
1623
+ [
1624
+ "WF",
1625
+ "Wallis & Futuna",
1626
+ "681"
1627
+ ],
1628
+ [
1629
+ "EH",
1630
+ "Western Sahara",
1631
+ "212"
1632
+ ],
1633
+ [
1634
+ "YE",
1635
+ "Yemen",
1636
+ "967"
1637
+ ],
1638
+ [
1639
+ "ZM",
1640
+ "Zambia",
1641
+ "260"
1642
+ ],
1643
+ [
1644
+ "ZW",
1645
+ "Zimbabwe",
1646
+ "263"
637
1647
  ]
638
- ], h = (e) => e.toUpperCase().replace(/./g, (e) => String.fromCodePoint(127397 + e.charCodeAt(0))), g = (e) => (m.find((t) => t[0] === e) || [
1648
+ ], h = (e) => (m.find((t) => t[0] === e) || [
639
1649
  "",
640
1650
  "",
641
1651
  ""
642
- ])[2], _ = class extends HTMLElement {
1652
+ ])[2], g = (e) => `wui-flag wui-flag-${String(e).toLowerCase()}`, _ = class extends HTMLElement {
643
1653
  static formAssociated = !0;
644
1654
  static get observedAttributes() {
645
1655
  return [
@@ -659,7 +1669,7 @@ var e = class extends HTMLElement {
659
1669
  this._rendered && (e === "country" && (this._country = n || "IN"), this.render());
660
1670
  }
661
1671
  get value() {
662
- return `+${g(this._country)}${this._national}`;
1672
+ return `+${h(this._country)}${this._national}`;
663
1673
  }
664
1674
  set value(e) {
665
1675
  this._national = String(e ?? "").replace(/[^0-9]/g, ""), this._commit();
@@ -670,14 +1680,14 @@ var e = class extends HTMLElement {
670
1680
  render() {
671
1681
  let e = this.getAttribute("placeholder") || "Enter phone number";
672
1682
  this._country = this.getAttribute("country") || this._country;
673
- let t = m.map(([e, t, n]) => `<button type="button" role="option" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}"><span class="phone-flag-lg">${h(e)}</span><span class="country-name-text">${t}<span class="country-code-text">+${n}</span></span></button>`).join("");
1683
+ let t = m.map(([e, t, n]) => `<button type="button" role="option" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}"><span class="${g(e)}" aria-hidden="true"></span><span class="country-name-text">${t}<span class="country-code-text">+${n}</span></span></button>`).join("");
674
1684
  this.innerHTML = `
675
1685
  <div class="phone-input-wrap">
676
1686
  <div class="phone-country-adornment">
677
1687
  <button type="button" class="country-toggle" aria-haspopup="listbox" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}>
678
- <span class="phone-flag" data-flag>${h(this._country)}</span>
1688
+ <span class="${g(this._country)}" data-flag aria-hidden="true"></span>
679
1689
  <i class="bi bi-chevron-down phone-chevron" aria-hidden="true"></i>
680
- <span class="phone-dial" data-dial>+${g(this._country)}</span>
1690
+ <span class="phone-dial" data-dial>+${h(this._country)}</span>
681
1691
  </button>
682
1692
  <div class="country-dropdown-menu" role="listbox" hidden>
683
1693
  <div class="dropdown-search-wrapper"><span class="dropdown-search-icon"><i class="bi bi-search" aria-hidden="true"></i></span><input type="text" class="dropdown-search-input" placeholder="Search country or code" aria-label="Search countries" /></div>
@@ -691,32 +1701,39 @@ var e = class extends HTMLElement {
691
1701
  let e = this.querySelector(".country-toggle"), t = this.querySelector(".country-dropdown-menu"), n = this.querySelector(".dropdown-search-input"), r = this.querySelector(".country-list-scroll"), i = this.querySelector(".country-empty"), a = this.querySelector("input[type=tel]"), o = this.querySelector("[data-flag]"), s = this.querySelector("[data-dial]");
692
1702
  if (!e || !t) return;
693
1703
  let c = () => !t.hidden, l = () => {
694
- t.hidden = !1, e.setAttribute("aria-expanded", "true"), n.value = "", d(""), n.focus();
1704
+ let n = e.getBoundingClientRect(), r = t.offsetWidth || 320, i = t.offsetHeight || 320, a = window.innerHeight - n.bottom, o = a < i + 6 && n.top > a ? n.top - i - 6 : n.bottom + 6, s = Math.min(Math.max(8, n.left), Math.max(8, window.innerWidth - r - 8));
1705
+ t.style.top = `${Math.max(8, o)}px`, t.style.left = `${s}px`;
695
1706
  }, u = () => {
1707
+ t.hidden = !1, e.setAttribute("aria-expanded", "true"), n.value = "", f(""), l(), n.focus();
1708
+ }, d = () => {
696
1709
  t.hidden = !0, e.setAttribute("aria-expanded", "false");
697
- }, d = (e) => {
1710
+ };
1711
+ this._reposition = () => {
1712
+ c() && l();
1713
+ }, window.addEventListener("scroll", this._reposition, !0), window.addEventListener("resize", this._reposition);
1714
+ let f = (e) => {
698
1715
  let t = e.trim().toLowerCase(), n = 0;
699
1716
  for (let e of r.querySelectorAll(".country-dropdown-item")) {
700
1717
  let r = !t || e.textContent.toLowerCase().includes(t);
701
1718
  e.hidden = !r, r && (n += 1);
702
1719
  }
703
1720
  i && (i.hidden = n > 0);
704
- }, f = (e) => {
705
- this._country = e, this.setAttribute("country", e), o && (o.textContent = h(e)), s && (s.textContent = `+${g(e)}`);
1721
+ }, p = (e) => {
1722
+ this._country = e, this.setAttribute("country", e), o && (o.className = g(e)), s && (s.textContent = `+${h(e)}`);
706
1723
  for (let t of r.querySelectorAll(".country-dropdown-item")) t.classList.toggle("selected", t.dataset.iso === e);
707
- u(), this._commit();
1724
+ d(), this._commit();
708
1725
  };
709
- e.addEventListener("click", () => c() ? u() : l()), n.addEventListener("input", () => d(n.value)), r.addEventListener("click", (e) => {
1726
+ e.addEventListener("click", () => c() ? d() : u()), n.addEventListener("input", () => f(n.value)), r.addEventListener("click", (e) => {
710
1727
  let t = e.target.closest(".country-dropdown-item");
711
- t && f(t.dataset.iso);
1728
+ t && p(t.dataset.iso);
712
1729
  }), a.addEventListener("input", () => {
713
1730
  this._national = a.value.replace(/[^0-9]/g, ""), this._commit();
714
1731
  }), this._onDocClick = (e) => {
715
- c() && !this.contains(e.target) && u();
1732
+ c() && !this.contains(e.target) && d();
716
1733
  }, document.addEventListener("click", this._onDocClick), this._internals?.setFormValue(this.value);
717
1734
  }
718
1735
  disconnectedCallback() {
719
- this._onDocClick && document.removeEventListener("click", this._onDocClick);
1736
+ this._reposition && (window.removeEventListener("scroll", this._reposition, !0), window.removeEventListener("resize", this._reposition)), this._onDocClick && document.removeEventListener("click", this._onDocClick);
720
1737
  }
721
1738
  }, v = (e) => String(e ?? "").replace(/"/g, "&quot;").replace(/</g, "&lt;"), y = class extends HTMLElement {
722
1739
  static formAssociated = !0;