@intl-tel-input/vue 28.0.4 → 28.0.5

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.
@@ -1287,7 +1287,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1287
1287
  searchSummaryAria(e) {
1288
1288
  return e === 0 ? "No results found" : e === 1 ? "1 result found" : `${e} results found`;
1289
1289
  }
1290
- }, L = (e) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(e).matches, R = () => L(`(max-width: ${S.NARROW_VIEWPORT_WIDTH}px)`), z = {
1290
+ }, L = (e) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(e).matches, te = () => L(`(max-width: ${S.NARROW_VIEWPORT_WIDTH}px)`), R = {
1291
1291
  allowDropdown: !0,
1292
1292
  allowedNumberTypes: [N.MOBILE, N.FIXED_LINE],
1293
1293
  allowNumberExtensions: !1,
@@ -1321,34 +1321,34 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1321
1321
  useFullscreenPopup: (() => {
1322
1322
  if (typeof navigator < "u" && typeof window < "u") {
1323
1323
  let e = L("(max-height: 600px)"), t = L("(pointer: coarse)");
1324
- return R() || t && e;
1324
+ return te() || t && e;
1325
1325
  }
1326
1326
  return !1;
1327
1327
  })()
1328
- }, te = (e) => JSON.stringify(e), B = (e) => !!e && typeof e == "object" && !Array.isArray(e), ne = (e) => typeof e == "function", re = (e) => {
1328
+ }, ne = (e) => JSON.stringify(e), z = (e) => !!e && typeof e == "object" && !Array.isArray(e), re = (e) => typeof e == "function", ie = (e) => {
1329
1329
  if (!e || typeof e != "object") return !1;
1330
1330
  let t = e;
1331
1331
  return t.nodeType === 1 && typeof t.tagName == "string" && typeof t.appendChild == "function";
1332
- }, V = new Set(Object.values(E)), H = (e) => {
1332
+ }, B = new Set(Object.values(E)), V = (e) => {
1333
1333
  console.warn(`[intl-tel-input] ${e}`);
1334
- }, U = (e, t, n) => {
1335
- H(`Option '${e}' must be ${t}; got ${te(n)}. Ignoring.`);
1336
- }, W = (e, t) => {
1334
+ }, H = (e, t, n) => {
1335
+ V(`Option '${e}' must be ${t}; got ${ne(n)}. Ignoring.`);
1336
+ }, U = (e, t) => {
1337
1337
  let n = "an array of iso2 country code strings";
1338
- if (!Array.isArray(t)) return U(e, n, t), !1;
1338
+ if (!Array.isArray(t)) return H(e, n, t), !1;
1339
1339
  let r = [];
1340
1340
  for (let i of t) {
1341
- if (typeof i != "string") return U(e, n, t), !1;
1342
- m(i.toLowerCase()) ? r.push(i) : H(`Invalid iso2 code in '${e}': '${i}'. Skipping.`);
1341
+ if (typeof i != "string") return H(e, n, t), !1;
1342
+ m(i.toLowerCase()) ? r.push(i) : V(`Invalid iso2 code in '${e}': '${i}'. Skipping.`);
1343
1343
  }
1344
1344
  return r;
1345
- }, ie = (e) => {
1345
+ }, ae = (e) => {
1346
1346
  if (e === void 0) return {};
1347
- if (!B(e)) return H(`The second argument must be an options object; got ${te(e)}. Using defaults.`), {};
1347
+ if (!z(e)) return V(`The second argument must be an options object; got ${ne(e)}. Using defaults.`), {};
1348
1348
  let t = {};
1349
1349
  for (let [n, r] of Object.entries(e)) {
1350
- if (!Object.hasOwn(z, n)) {
1351
- H(`Unknown option '${n}'. Ignoring.`);
1350
+ if (!Object.hasOwn(R, n)) {
1351
+ V(`Unknown option '${n}'. Ignoring.`);
1352
1352
  continue;
1353
1353
  }
1354
1354
  switch (n) {
@@ -1367,14 +1367,14 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1367
1367
  case "strictRejectAnimation":
1368
1368
  case "useFullscreenPopup":
1369
1369
  if (typeof r != "boolean") {
1370
- U(n, "a boolean", r);
1370
+ H(n, "a boolean", r);
1371
1371
  break;
1372
1372
  }
1373
1373
  t[n] = r;
1374
1374
  break;
1375
1375
  case "autoPlaceholder":
1376
- if (typeof r != "string" || !V.has(r)) {
1377
- U("autoPlaceholder", `one of ${Array.from(V).join(", ")}`, r);
1376
+ if (typeof r != "string" || !B.has(r)) {
1377
+ H("autoPlaceholder", `one of ${Array.from(B).join(", ")}`, r);
1378
1378
  break;
1379
1379
  }
1380
1380
  t[n] = r;
@@ -1383,7 +1383,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1383
1383
  case "searchInputClass":
1384
1384
  case "countryNameLocale":
1385
1385
  if (typeof r != "string") {
1386
- U(n, "a string", r);
1386
+ H(n, "a string", r);
1387
1387
  break;
1388
1388
  }
1389
1389
  t[n] = r;
@@ -1391,7 +1391,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1391
1391
  case "countryOrder":
1392
1392
  if (r === null) t[n] = r;
1393
1393
  else {
1394
- let e = W(n, r);
1394
+ let e = U(n, r);
1395
1395
  e !== !1 && (t[n] = e);
1396
1396
  }
1397
1397
  break;
@@ -1399,15 +1399,15 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1399
1399
  case "geoIpLookup":
1400
1400
  case "hiddenInput":
1401
1401
  case "loadUtils":
1402
- if (r !== null && !ne(r)) {
1403
- U(n, "a function or null", r);
1402
+ if (r !== null && !re(r)) {
1403
+ H(n, "a function or null", r);
1404
1404
  break;
1405
1405
  }
1406
1406
  t[n] = r;
1407
1407
  break;
1408
1408
  case "dropdownContainer":
1409
- if (r !== null && !re(r)) {
1410
- U("dropdownContainer", "an HTMLElement or null", r);
1409
+ if (r !== null && !ie(r)) {
1410
+ H("dropdownContainer", "an HTMLElement or null", r);
1411
1411
  break;
1412
1412
  }
1413
1413
  t[n] = r;
@@ -1416,32 +1416,32 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1416
1416
  case "onlyCountries":
1417
1417
  if (r === null) t[n] = r;
1418
1418
  else {
1419
- let e = W(n, r);
1419
+ let e = U(n, r);
1420
1420
  e !== !1 && (t[n] = e);
1421
1421
  }
1422
1422
  break;
1423
1423
  case "i18n":
1424
- if (r && !B(r)) {
1425
- U("i18n", "an object", r);
1424
+ if (r && !z(r)) {
1425
+ H("i18n", "an object", r);
1426
1426
  break;
1427
1427
  }
1428
1428
  t[n] = r;
1429
1429
  break;
1430
1430
  case "countryNameOverrides":
1431
- if (r && !B(r)) {
1432
- U("countryNameOverrides", "an object", r);
1431
+ if (r && !z(r)) {
1432
+ H("countryNameOverrides", "an object", r);
1433
1433
  break;
1434
1434
  }
1435
1435
  t[n] = r;
1436
1436
  break;
1437
1437
  case "initialCountry": {
1438
1438
  if (typeof r != "string") {
1439
- U("initialCountry", "a string", r);
1439
+ H("initialCountry", "a string", r);
1440
1440
  break;
1441
1441
  }
1442
1442
  let e = r.toLowerCase();
1443
1443
  if (e && e !== D.AUTO && !m(e)) {
1444
- U("initialCountry", "a valid iso2 country code or 'auto'", r);
1444
+ H("initialCountry", "a valid iso2 country code or 'auto'", r);
1445
1445
  break;
1446
1446
  }
1447
1447
  t[n] = r;
@@ -1449,7 +1449,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1449
1449
  }
1450
1450
  case "placeholderNumberType":
1451
1451
  if (typeof r != "string" || !k.includes(r)) {
1452
- U("placeholderNumberType", `one of ${k.join(", ")}`, r);
1452
+ H("placeholderNumberType", `one of ${k.join(", ")}`, r);
1453
1453
  break;
1454
1454
  }
1455
1455
  t[n] = r;
@@ -1457,12 +1457,12 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1457
1457
  case "allowedNumberTypes":
1458
1458
  if (r !== null) {
1459
1459
  if (!Array.isArray(r)) {
1460
- U("allowedNumberTypes", "an array of number types or null", r);
1460
+ H("allowedNumberTypes", "an array of number types or null", r);
1461
1461
  break;
1462
1462
  }
1463
1463
  let e = !0;
1464
1464
  for (let t of r) if (typeof t != "string" || !k.includes(t)) {
1465
- U("allowedNumberTypes", `an array of valid number types (${k.join(", ")})`, t), e = !1;
1465
+ H("allowedNumberTypes", `an array of valid number types (${k.join(", ")})`, t), e = !1;
1466
1466
  break;
1467
1467
  }
1468
1468
  e && (t[n] = r);
@@ -1471,22 +1471,22 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1471
1471
  }
1472
1472
  }
1473
1473
  return t;
1474
- }, ae = (e) => {
1475
- e.initialCountry &&= e.initialCountry.toLowerCase(), e.onlyCountries?.length && (e.onlyCountries = e.onlyCountries.map((e) => e.toLowerCase())), e.excludeCountries?.length && (e.excludeCountries = e.excludeCountries.map((e) => e.toLowerCase())), e.countryOrder &&= e.countryOrder.map((e) => e.toLowerCase());
1476
1474
  }, oe = (e) => {
1477
- e.dropdownAlwaysOpen && (e.useFullscreenPopup = !1, e.allowDropdown = !0), e.useFullscreenPopup ? e.fixDropdownWidth = !1 : R() && (e.fixDropdownWidth = !0), e.onlyCountries?.length === 1 && (e.initialCountry = e.onlyCountries[0]), e.separateDialCode && (e.nationalMode = !1), e.allowDropdown && !e.showFlags && !e.separateDialCode && (e.nationalMode = !1), e.useFullscreenPopup && !e.dropdownContainer && (e.dropdownContainer = document.body), e.i18n = {
1475
+ e.initialCountry &&= e.initialCountry.toLowerCase(), e.onlyCountries?.length && (e.onlyCountries = e.onlyCountries.map((e) => e.toLowerCase())), e.excludeCountries?.length && (e.excludeCountries = e.excludeCountries.map((e) => e.toLowerCase())), e.countryOrder &&= e.countryOrder.map((e) => e.toLowerCase());
1476
+ }, se = (e) => {
1477
+ e.dropdownAlwaysOpen && (e.useFullscreenPopup = !1, e.allowDropdown = !0), e.useFullscreenPopup ? e.fixDropdownWidth = !1 : te() && (e.fixDropdownWidth = !0), e.onlyCountries?.length === 1 && (e.initialCountry = e.onlyCountries[0]), e.separateDialCode && (e.nationalMode = !1), e.allowDropdown && !e.showFlags && !e.separateDialCode && (e.nationalMode = !1), e.useFullscreenPopup && !e.dropdownContainer && (e.dropdownContainer = document.body), e.i18n = {
1478
1478
  ...ee,
1479
1479
  ...e.i18n
1480
1480
  };
1481
- }, G = (e) => e.replace(/\D/g, ""), K = (e = "") => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), q = (e) => Object.keys(e).filter((t) => !!e[t]).join(" "), J = (e, t, n) => {
1481
+ }, W = (e) => e.replace(/\D/g, ""), G = (e = "") => e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), K = (e) => Object.keys(e).filter((t) => !!e[t]).join(" "), q = (e, t, n) => {
1482
1482
  let r = document.createElement(e);
1483
1483
  return t && Object.entries(t).forEach(([e, t]) => r.setAttribute(e, t)), n && n.appendChild(r), r;
1484
- }, se = "http://www.w3.org/2000/svg", Y = ([e, t, n]) => {
1485
- let r = document.createElementNS(se, e);
1484
+ }, ce = "http://www.w3.org/2000/svg", J = ([e, t, n]) => {
1485
+ let r = document.createElementNS(ce, e);
1486
1486
  if (t) for (let e in t) r.setAttribute(e, String(t[e]));
1487
- if (n) for (let e of n) r.appendChild(Y(e));
1487
+ if (n) for (let e of n) r.appendChild(J(e));
1488
1488
  return r;
1489
- }, ce = () => Y([
1489
+ }, le = () => J([
1490
1490
  "svg",
1491
1491
  {
1492
1492
  class: "iti__search-icon-svg",
@@ -1506,9 +1506,9 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1506
1506
  x2: 16.65,
1507
1507
  y2: 16.65
1508
1508
  }]]
1509
- ]), le = (e) => {
1509
+ ]), ue = (e) => {
1510
1510
  let t = `iti-${e}-clear-mask`;
1511
- return Y([
1511
+ return J([
1512
1512
  "svg",
1513
1513
  {
1514
1514
  class: "iti__search-clear-svg",
@@ -1542,7 +1542,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1542
1542
  mask: `url(#${t})`
1543
1543
  }]]
1544
1544
  ]);
1545
- }, ue = () => Y([
1545
+ }, de = () => J([
1546
1546
  "svg",
1547
1547
  {
1548
1548
  class: "iti__country-check-svg",
@@ -1554,7 +1554,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1554
1554
  [I.HIDDEN]: "true"
1555
1555
  },
1556
1556
  [["path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z" }]]
1557
- ]), de = () => Y([
1557
+ ]), fe = () => J([
1558
1558
  "svg",
1559
1559
  {
1560
1560
  width: 256,
@@ -1563,40 +1563,55 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1563
1563
  class: "iti__globe-svg"
1564
1564
  },
1565
1565
  [["path", { d: "M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39" }], ["path", { d: "m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40" }]]
1566
- ]), fe = (e) => {
1566
+ ]), Y = (e) => G(e).replace(/[^\p{L}]+/gu, " ").trim(), pe = (e) => {
1567
1567
  let t = /* @__PURE__ */ new Map();
1568
1568
  for (let n of e) {
1569
- let e = K(n.name), r = e.split(/[^a-z]/).map((e) => e[0]).join("");
1569
+ let e = Y(n.name), r = e.split(" ").filter(Boolean), i = r.map((e) => e[0] || "").join("");
1570
1570
  t.set(n.iso2, {
1571
1571
  normalisedName: e,
1572
- initials: r,
1572
+ words: r,
1573
+ initials: i,
1573
1574
  dialCodePlus: `+${n.dialCode}`
1574
1575
  });
1575
1576
  }
1576
1577
  return t;
1577
- }, pe = (e, t, n) => {
1578
- let r = K(n), i = [], a = [], o = [], s = [], c = [], l = [];
1578
+ }, me = (e, t, n) => {
1579
+ let r = G(n), i = Y(n), a = r !== "" && i === "", o = [], s = [], c = [], l = [], u = [], d = [], f = [];
1579
1580
  for (let n of e) {
1580
1581
  let e = t.get(n.iso2);
1581
- n.iso2 === r ? i.push(n) : e.normalisedName.startsWith(r) ? a.push(n) : e.normalisedName.includes(r) ? o.push(n) : r === n.dialCode || r === e.dialCodePlus ? s.push(n) : e.dialCodePlus.includes(r) ? c.push(n) : e.initials.includes(r) && l.push(n);
1582
+ n.iso2 === r ? o.push(n) : !a && e.normalisedName.startsWith(i) ? s.push(n) : !a && e.normalisedName.includes(i) ? c.push(n) : r === n.dialCode || r === e.dialCodePlus ? l.push(n) : e.dialCodePlus.includes(r) ? u.push(n) : e.initials.includes(r) && d.push(n);
1583
+ }
1584
+ let p = i.split(" ").filter(Boolean);
1585
+ if (p.length > 1 && o.length === 0 && s.length === 0 && c.length === 0) {
1586
+ let n = /* @__PURE__ */ new Set([
1587
+ ...l.map((e) => e.iso2),
1588
+ ...u.map((e) => e.iso2),
1589
+ ...d.map((e) => e.iso2)
1590
+ ]);
1591
+ for (let r of e) {
1592
+ if (n.has(r.iso2)) continue;
1593
+ let e = t.get(r.iso2);
1594
+ p.some((t) => e.words.some((e) => e.startsWith(t))) && f.push(r);
1595
+ }
1582
1596
  }
1583
- let u = (e, t) => e.priority - t.priority;
1597
+ let m = (e, t) => e.priority - t.priority;
1584
1598
  return [
1585
- ...i,
1586
- ...a,
1587
1599
  ...o,
1588
- ...s.sort(u),
1589
- ...c.sort(u),
1590
- ...l
1600
+ ...s,
1601
+ ...c,
1602
+ ...l.sort(m),
1603
+ ...u.sort(m),
1604
+ ...d,
1605
+ ...f
1591
1606
  ];
1592
- }, me = (e, t, n) => {
1593
- let r = K(n);
1607
+ }, he = (e, t, n) => {
1608
+ let r = Y(n);
1594
1609
  for (let n of e) {
1595
1610
  let { normalisedName: e } = t.get(n.iso2);
1596
1611
  if (e.startsWith(r)) return n;
1597
1612
  }
1598
1613
  return null;
1599
- }, he = class e {
1614
+ }, ge = class e {
1600
1615
  #e;
1601
1616
  static toAscii(e) {
1602
1617
  return e ? e.replace(/[٠-٩]/g, (e) => String.fromCharCode(48 + (e.charCodeAt(0) - 1632))).replace(/[۰-۹]/g, (e) => String.fromCharCode(48 + (e.charCodeAt(0) - 1776))) : "";
@@ -1618,7 +1633,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1618
1633
  isAscii() {
1619
1634
  return !this.#e || this.#e === "ascii";
1620
1635
  }
1621
- }, ge = class e {
1636
+ }, _e = class e {
1622
1637
  #e;
1623
1638
  #t;
1624
1639
  #n;
@@ -1664,7 +1679,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1664
1679
  this.#O(n), n.appendChild(this.telInputEl), this.#j(), this.#M(n), this.ensureDropdownWidthSet();
1665
1680
  }
1666
1681
  #D() {
1667
- let { allowDropdown: e, showFlags: t, containerClass: n, useFullscreenPopup: r } = this.#e, i = J("div", { class: q({
1682
+ let { allowDropdown: e, showFlags: t, containerClass: n, useFullscreenPopup: r } = this.#e, i = q("div", { class: K({
1668
1683
  iti: !0,
1669
1684
  "iti--allow-dropdown": e,
1670
1685
  "iti--show-flags": t,
@@ -1676,19 +1691,19 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1676
1691
  #O(e) {
1677
1692
  let { allowDropdown: t, separateDialCode: n, showFlags: r } = this.#e;
1678
1693
  if (!t && !r && !n) return;
1679
- this.#c = J("div", { class: `iti__country-container ${_.V_HIDE}` }, e), t ? (this.#l = J("button", {
1694
+ this.#c = q("div", { class: `iti__country-container ${_.V_HIDE}` }, e), t ? (this.#l = q("button", {
1680
1695
  type: "button",
1681
1696
  class: "iti__selected-country",
1682
1697
  [I.EXPANDED]: "false",
1683
1698
  [I.LABEL]: this.#e.i18n.noCountrySelected,
1684
1699
  [I.HASPOPUP]: "dialog",
1685
1700
  [I.CONTROLS]: `iti-${this.#t}__dropdown-content`
1686
- }, this.#c), this.telInputEl.disabled && this.#l.setAttribute("disabled", "true")) : this.#l = J("div", { class: "iti__selected-country" }, this.#c);
1687
- let i = J("div", { class: "iti__selected-country-primary" }, this.#l);
1688
- this.#u = J("div", { class: _.FLAG }, i), t && (this.#f = J("div", {
1701
+ }, this.#c), this.telInputEl.disabled && this.#l.setAttribute("disabled", "true")) : this.#l = q("div", { class: "iti__selected-country" }, this.#c);
1702
+ let i = q("div", { class: "iti__selected-country-primary" }, this.#l);
1703
+ this.#u = q("div", { class: _.FLAG }, i), t && (this.#f = q("div", {
1689
1704
  class: "iti__arrow",
1690
1705
  [I.HIDDEN]: "true"
1691
- }, i)), n && (this.#d = J("div", { class: "iti__selected-dial-code" }, this.#l)), t && this.#k();
1706
+ }, i)), n && (this.#d = q("div", { class: "iti__selected-dial-code" }, this.#l)), t && this.#k();
1692
1707
  }
1693
1708
  ensureDropdownWidthSet() {
1694
1709
  let { fixDropdownWidth: e, allowDropdown: t } = this.#e;
@@ -1698,17 +1713,17 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1698
1713
  }
1699
1714
  #k() {
1700
1715
  let { fixDropdownWidth: e, useFullscreenPopup: t, countrySearch: n, i18n: r, dropdownContainer: i, containerClass: a } = this.#e, o = e ? "" : "iti--flexible-dropdown-width";
1701
- this.#p = J("div", {
1716
+ this.#p = q("div", {
1702
1717
  id: `iti-${this.#t}__dropdown-content`,
1703
1718
  class: `iti__dropdown-content ${_.HIDE} ${o}`,
1704
1719
  role: "dialog",
1705
1720
  [I.MODAL]: "true"
1706
- }), this.#n && this.#p.setAttribute("dir", "rtl"), n && this.#A(), this.#_ = J("ul", {
1721
+ }), this.#n && this.#p.setAttribute("dir", "rtl"), n && this.#A(), this.#_ = q("ul", {
1707
1722
  class: "iti__country-list",
1708
1723
  id: `iti-${this.#t}__country-listbox`,
1709
1724
  role: "listbox",
1710
1725
  [I.LABEL]: r.countryListAriaLabel
1711
- }, this.#p), this.#N(), n && this.#R(), t || (this.#s = this.#L(), n && (this.#p.style.height = `${this.#s}px`)), i ? (this.#S = J("div", { class: q({
1726
+ }, this.#p), this.#N(), n && this.#R(), t || (this.#s = this.#L(), n && (this.#p.style.height = `${this.#s}px`)), i ? (this.#S = q("div", { class: K({
1712
1727
  iti: !0,
1713
1728
  "iti--container": !0,
1714
1729
  "iti--fullscreen-popup": t,
@@ -1717,11 +1732,11 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1717
1732
  }) }), this.#S.appendChild(this.#p)) : this.#c.appendChild(this.#p);
1718
1733
  }
1719
1734
  #A() {
1720
- let { i18n: e, searchInputClass: t } = this.#e, n = J("div", { class: "iti__search-input-wrapper" }, this.#p);
1721
- this.#m = J("span", {
1735
+ let { i18n: e, searchInputClass: t } = this.#e, n = q("div", { class: "iti__search-input-wrapper" }, this.#p);
1736
+ this.#m = q("span", {
1722
1737
  class: "iti__search-icon",
1723
1738
  [I.HIDDEN]: "true"
1724
- }, n), this.#m.appendChild(ce()), this.#h = J("input", {
1739
+ }, n), this.#m.appendChild(le()), this.#h = q("input", {
1725
1740
  id: `iti-${this.#t}__search-input`,
1726
1741
  type: "search",
1727
1742
  class: `iti__search-input ${t}`,
@@ -1732,12 +1747,12 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1732
1747
  [I.CONTROLS]: `iti-${this.#t}__country-listbox`,
1733
1748
  [I.AUTOCOMPLETE]: "list",
1734
1749
  autocomplete: "off"
1735
- }, n), this.#g = J("button", {
1750
+ }, n), this.#g = q("button", {
1736
1751
  type: "button",
1737
1752
  class: `iti__search-clear ${_.HIDE}`,
1738
1753
  [I.LABEL]: e.clearSearchAriaLabel,
1739
1754
  tabindex: "-1"
1740
- }, n), this.#g.appendChild(le(this.#t)), this.#x = J("span", { class: "iti__a11y-text" }, this.#p), this.#b = J("div", {
1755
+ }, n), this.#g.appendChild(ue(this.#t)), this.#x = q("span", { class: "iti__a11y-text" }, this.#p), this.#b = q("div", {
1741
1756
  class: `iti__no-results ${_.HIDE}`,
1742
1757
  [I.HIDDEN]: "true"
1743
1758
  }, this.#p), this.#b.textContent = e.searchEmptyState ?? null;
@@ -1751,14 +1766,14 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1751
1766
  let n = t(this.telInputEl.getAttribute("name") || "");
1752
1767
  if (n.phone) {
1753
1768
  let t = this.telInputEl.form?.querySelector(`input[name="${n.phone}"]`);
1754
- t ? this.#v = t : (this.#v = J("input", {
1769
+ t ? this.#v = t : (this.#v = q("input", {
1755
1770
  type: "hidden",
1756
1771
  name: n.phone
1757
1772
  }), e.appendChild(this.#v));
1758
1773
  }
1759
1774
  if (n.country) {
1760
1775
  let t = this.telInputEl.form?.querySelector(`input[name="${n.country}"]`);
1761
- t ? this.#y = t : (this.#y = J("input", {
1776
+ t ? this.#y = t : (this.#y = q("input", {
1762
1777
  type: "hidden",
1763
1778
  name: n.country
1764
1779
  }), e.appendChild(this.#y));
@@ -1767,17 +1782,17 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1767
1782
  #N() {
1768
1783
  let e = document.createDocumentFragment();
1769
1784
  for (let t = 0; t < this.#i.length; t++) {
1770
- let n = this.#i[t], r = q({ [_.COUNTRY_ITEM]: !0 }), i = J("li", {
1785
+ let n = this.#i[t], r = K({ [_.COUNTRY_ITEM]: !0 }), i = q("li", {
1771
1786
  id: `iti-${this.#t}__item-${n.iso2}`,
1772
1787
  class: r,
1773
1788
  tabindex: "-1",
1774
1789
  role: "option",
1775
1790
  [I.SELECTED]: "false"
1776
1791
  });
1777
- i.dataset[F.DIAL_CODE] = n.dialCode, i.dataset[F.ISO2] = n.iso2, this.#T.set(n.iso2, i), this.#e.showFlags && J("div", { class: `${_.FLAG} iti__${n.iso2}` }, i);
1778
- let a = J("span", { class: "iti__country-name" }, i);
1792
+ i.dataset[F.DIAL_CODE] = n.dialCode, i.dataset[F.ISO2] = n.iso2, this.#T.set(n.iso2, i), this.#e.showFlags && q("div", { class: `${_.FLAG} iti__${n.iso2}` }, i);
1793
+ let a = q("span", { class: "iti__country-name" }, i);
1779
1794
  a.textContent = `${n.name} `;
1780
- let o = J("span", { class: "iti__dial-code" }, a);
1795
+ let o = q("span", { class: "iti__dial-code" }, a);
1781
1796
  this.#n && o.setAttribute("dir", "ltr"), o.textContent = `(+${n.dialCode})`, e.appendChild(i);
1782
1797
  }
1783
1798
  this.#_.appendChild(e);
@@ -1811,7 +1826,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1811
1826
  #L() {
1812
1827
  let t = e.#F();
1813
1828
  this.#p.classList.remove(_.HIDE);
1814
- let n = J("div", { class: "iti iti--inline-dropdown" });
1829
+ let n = q("div", { class: "iti iti--inline-dropdown" });
1815
1830
  n.appendChild(this.#p), n.style.visibility = "hidden", t.appendChild(n);
1816
1831
  let r = this.#p.offsetHeight;
1817
1832
  return t.removeChild(n), n.style.visibility = "", this.#p.classList.add(_.HIDE), r > 0 ? r : S.FALLBACK_DROPDOWN_HEIGHT;
@@ -1824,8 +1839,8 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1824
1839
  let t;
1825
1840
  if (e === "") t = this.#i;
1826
1841
  else {
1827
- let n = he.toAscii(e);
1828
- t = pe(this.#i, this.#a, n);
1842
+ let n = ge.toAscii(e);
1843
+ t = me(this.#i, this.#a, n);
1829
1844
  }
1830
1845
  this.#ee(t);
1831
1846
  }
@@ -1932,7 +1947,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1932
1947
  this.#h.addEventListener("input", () => this.#V(), { signal: e }), this.#g.addEventListener("click", () => this.#H(), { signal: e });
1933
1948
  }
1934
1949
  #Z(e) {
1935
- let t = me(this.#i, this.#a, e);
1950
+ let t = he(this.#i, this.#a, e);
1936
1951
  if (t) {
1937
1952
  let e = this.#T.get(t.iso2);
1938
1953
  this.#W(e);
@@ -1945,10 +1960,10 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
1945
1960
  #$(e) {
1946
1961
  if (this.#C && this.#C.dataset[F.ISO2] !== e && (this.#C.setAttribute(I.SELECTED, "false"), this.#C.querySelector(".iti__country-check")?.remove(), this.#C = null), e && !this.#C) {
1947
1962
  let t = this.#_.querySelector(`[data-iso2="${e}"]`);
1948
- t && (t.setAttribute(I.SELECTED, "true"), J("span", {
1963
+ t && (t.setAttribute(I.SELECTED, "true"), q("span", {
1949
1964
  class: "iti__country-check",
1950
1965
  [I.HIDDEN]: "true"
1951
- }, t).appendChild(ue()), this.#C = t, this.#e.dropdownAlwaysOpen && this.#W(t));
1966
+ }, t).appendChild(de()), this.#C = t, this.#e.dropdownAlwaysOpen && this.#W(t));
1952
1967
  }
1953
1968
  }
1954
1969
  #ee(e) {
@@ -2007,7 +2022,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2007
2022
  let { allowDropdown: t, showFlags: n, separateDialCode: r, i18n: i } = this.#e, a = e?.name, o = e?.dialCode, s = e?.iso2 ?? "";
2008
2023
  if (t && this.#$(s), this.#l) {
2009
2024
  let e = s && n ? `${_.FLAG} iti__${s}` : `${_.FLAG} ${_.GLOBE}`, t, r, c = null;
2010
- s ? (r = a, t = i.selectedCountryAriaLabel.replace("${countryName}", a).replace("${dialCode}", `+${o}`), n || (c = de())) : (r = i.noCountrySelected, t = i.noCountrySelected, c = de()), this.#u.className = e, this.#l.setAttribute("title", r), this.#l.setAttribute(I.LABEL, t), c ? this.#u.replaceChildren(c) : this.#u.replaceChildren();
2025
+ s ? (r = a, t = i.selectedCountryAriaLabel.replace("${countryName}", a).replace("${dialCode}", `+${o}`), n || (c = fe())) : (r = i.noCountrySelected, t = i.noCountrySelected, c = fe()), this.#u.className = e, this.#l.setAttribute("title", r), this.#l.setAttribute(I.LABEL, t), c ? this.#u.replaceChildren(c) : this.#u.replaceChildren();
2011
2026
  }
2012
2027
  if (r) {
2013
2028
  let e = o ? `+${o}` : "";
@@ -2019,10 +2034,10 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2019
2034
  let e = this.telInputEl.parentNode;
2020
2035
  e && (e.before(this.telInputEl), e.remove()), this.#T.clear();
2021
2036
  }
2022
- }, _e = (e) => {
2037
+ }, ve = (e) => {
2023
2038
  let { onlyCountries: t, excludeCountries: n } = e;
2024
2039
  return t?.length ? h.filter((e) => t.includes(e.iso2)) : n?.length ? h.filter((e) => !n.includes(e.iso2)) : [...h];
2025
- }, ve = (e, t) => {
2040
+ }, ye = (e, t) => {
2026
2041
  let { countryNameLocale: n, countryNameOverrides: r } = t, i;
2027
2042
  try {
2028
2043
  i = typeof Intl < "u" && typeof Intl.DisplayNames == "function" ? new Intl.DisplayNames(n, { type: "region" }) : null;
@@ -2030,7 +2045,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2030
2045
  console.error(e), i = null;
2031
2046
  }
2032
2047
  for (let t of e) t.name = r[t.iso2] || i?.of(t.iso2.toUpperCase()) || "";
2033
- }, ye = (e) => {
2048
+ }, be = (e) => {
2034
2049
  let t = /* @__PURE__ */ new Set(), n = 0, r = {}, i = (e, t) => {
2035
2050
  if (!e || !t) return;
2036
2051
  t.length > n && (n = t.length), Object.hasOwn(r, t) || (r[t] = []);
@@ -2059,7 +2074,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2059
2074
  dialCodeMaxLength: n,
2060
2075
  dialCodeToIso2Map: r
2061
2076
  };
2062
- }, be = (e, t) => {
2077
+ }, xe = (e, t) => {
2063
2078
  let { countryOrder: n } = t;
2064
2079
  e.sort((e, t) => {
2065
2080
  if (n) {
@@ -2068,7 +2083,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2068
2083
  }
2069
2084
  return e.name.localeCompare(t.name);
2070
2085
  });
2071
- }, xe = /* @__PURE__ */ new Set([
2086
+ }, Se = /* @__PURE__ */ new Set([
2072
2087
  "800",
2073
2088
  "808",
2074
2089
  "870",
@@ -2077,17 +2092,17 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2077
2092
  "883",
2078
2093
  "888",
2079
2094
  "979"
2080
- ]), Se = (e) => {
2081
- let t = G(e).slice(0, 3);
2082
- return e.startsWith("+") && xe.has(t);
2083
- }, Ce = (e, t, n, r) => {
2095
+ ]), Ce = (e) => {
2096
+ let t = W(e).slice(0, 3);
2097
+ return e.startsWith("+") && Se.has(t);
2098
+ }, we = (e, t, n, r) => {
2084
2099
  if (!n || !t) return e;
2085
2100
  let i = `+${r.dialCode}`, a = e[i.length] === " " || e[i.length] === "-" ? i.length + 1 : i.length;
2086
2101
  return e.substring(a);
2087
- }, we = (e, t, n, r, i) => {
2102
+ }, Te = (e, t, n, r, i) => {
2088
2103
  let a = n ? n.formatNumberAsYouType(e, r?.iso2) : e, o = r?.dialCode;
2089
2104
  return i && t.charAt(0) !== "+" && a.includes(`+${o}`) ? (a.split(`+${o}`)[1] || "").trim() : a;
2090
- }, Te = (e, t, n, r) => {
2105
+ }, Ee = (e, t, n, r) => {
2091
2106
  if (n === 0 && !r) return 0;
2092
2107
  let i = 0;
2093
2108
  for (let n = 0; n < t.length; n++) {
@@ -2095,7 +2110,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2095
2110
  if (r && i === e + 1) return n;
2096
2111
  }
2097
2112
  return t.length;
2098
- }, Ee = /* @__PURE__ */ new Set([
2113
+ }, De = /* @__PURE__ */ new Set([
2099
2114
  "800",
2100
2115
  "822",
2101
2116
  "833",
@@ -2113,16 +2128,16 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2113
2128
  "887",
2114
2129
  "888",
2115
2130
  "889"
2116
- ]), De = (e) => {
2117
- let t = G(e);
2131
+ ]), Oe = (e) => {
2132
+ let t = W(e);
2118
2133
  if (t.startsWith(C.NANP) && t.length >= 4) {
2119
2134
  let e = t.substring(1, 4);
2120
- return Ee.has(e);
2135
+ return De.has(e);
2121
2136
  }
2122
2137
  return !1;
2123
- }, Oe = 0, X = (e) => {
2138
+ }, ke = 0, X = (e) => {
2124
2139
  if (!Q.utils) throw Error(`intlTelInput.utils is required for ${e}(). See: https://intl-tel-input.com/docs/utils`);
2125
- }, ke = () => {
2140
+ }, Ae = () => {
2126
2141
  let e, t;
2127
2142
  return {
2128
2143
  promise: new Promise((n, r) => {
@@ -2153,13 +2168,13 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2153
2168
  #g;
2154
2169
  #_;
2155
2170
  constructor(e, t = {}) {
2156
- this.id = Oe++, ge.validateInput(e);
2157
- let n = ie(t);
2171
+ this.id = ke++, _e.validateInput(e);
2172
+ let n = ae(t);
2158
2173
  this.#t = {
2159
- ...z,
2174
+ ...R,
2160
2175
  ...n
2161
- }, ae(this.#t), oe(this.#t), this.#e = new ge(e, this.#t, this.id), this.#n = typeof navigator < "u" && /Android/i.test(navigator.userAgent), this.#m = new he(e.value), this.promise = this.#b(this.#t), this.#r = _e(this.#t);
2162
- let { dialCodes: r, dialCodeMaxLength: i, dialCodeToIso2Map: a } = ye(this.#r);
2176
+ }, oe(this.#t), se(this.#t), this.#e = new _e(e, this.#t, this.id), this.#n = typeof navigator < "u" && /Android/i.test(navigator.userAgent), this.#m = new ge(e.value), this.promise = this.#b(this.#t), this.#r = ve(this.#t);
2177
+ let { dialCodes: r, dialCodeMaxLength: i, dialCodeToIso2Map: a } = be(this.#r);
2163
2178
  this.#o = r, this.#i = i, this.#a = a, this.#s = new Map(this.#r.map((e) => [e.iso2, e])), this.#x();
2164
2179
  }
2165
2180
  #v() {
@@ -2171,16 +2186,16 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2171
2186
  }
2172
2187
  #b(e) {
2173
2188
  let { initialCountry: t, geoIpLookup: n, loadUtils: r } = e, i = t === D.AUTO && !!n, a = !!r && !Q.utils;
2174
- return i && (this.#g = ke()), a && (this.#_ = ke()), Promise.all([this.#g?.promise, this.#_?.promise]).then(() => {});
2189
+ return i && (this.#g = Ae()), a && (this.#_ = Ae()), Promise.all([this.#g?.promise, this.#_?.promise]).then(() => {});
2175
2190
  }
2176
2191
  #x() {
2177
2192
  this.#p = new AbortController(), this.#S(), this.#e.buildMarkup(this.#r, this.#c), this.#C(), this.#w(), this.#T(), this.#t.dropdownAlwaysOpen && this.#U();
2178
2193
  }
2179
2194
  #S() {
2180
- ve(this.#r, this.#t), be(this.#r, this.#t), this.#c = fe(this.#r);
2195
+ ye(this.#r, this.#t), xe(this.#r, this.#t), this.#c = pe(this.#r);
2181
2196
  }
2182
2197
  #C(e = !1) {
2183
- let t = this.#e.telInputEl.getAttribute("value"), n = this.#m.normalise(t ?? ""), r = this.#v(), i = n && n.startsWith("+") && (!r || !r.startsWith("+")) ? n : r, a = this.#te(i), o = De(i), { initialCountry: s, geoIpLookup: c } = this.#t, l = s === D.AUTO && c, u = l && Q.autoCountry ? Q.autoCountry : s, d = l && !e && !Q.autoCountry, f = m(u);
2198
+ let t = this.#e.telInputEl.getAttribute("value"), n = this.#m.normalise(t ?? ""), r = this.#v(), i = n && n.startsWith("+") && (!r || !r.startsWith("+")) ? n : r, a = this.#te(i), o = Oe(i), { initialCountry: s, geoIpLookup: c } = this.#t, l = s === D.AUTO && c, u = l && Q.autoCountry ? Q.autoCountry : s, d = l && !e && !Q.autoCountry, f = m(u);
2184
2199
  a ? o ? f ? this.#Y(u) : d || this.#Y(T.ISO2) : (f && this.#Y(u), this.#G(i)) : f ? this.#Y(u) : d || this.#Y(""), i && this.#W(i);
2185
2200
  }
2186
2201
  #w() {
@@ -2233,12 +2248,12 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2233
2248
  });
2234
2249
  }
2235
2250
  #M(e, t) {
2236
- let n = this.#e.telInputEl.selectionStart || 0, r = e.substring(0, n).replace(b.NON_PLUS_NUMERIC_GLOBAL, "").length, i = we(this.#re(), e, Q.utils, this.#l, this.#t.separateDialCode), a = Te(r, i, n, t);
2251
+ let n = this.#e.telInputEl.selectionStart || 0, r = e.substring(0, n).replace(b.NON_PLUS_NUMERIC_GLOBAL, "").length, i = Te(this.#re(), e, Q.utils, this.#l, this.#t.separateDialCode), a = Ee(r, i, n, t);
2237
2252
  this.#y(i), this.#e.telInputEl.setSelectionRange(a, a);
2238
2253
  }
2239
2254
  #N(e) {
2240
2255
  if (e.startsWith("+") && this.#l && this.#te(e)) {
2241
- let t = Ce(e, !0, !0, this.#l);
2256
+ let t = we(e, !0, !0, this.#l);
2242
2257
  this.#y(t);
2243
2258
  }
2244
2259
  }
@@ -2350,7 +2365,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2350
2365
  #W(e) {
2351
2366
  let { formatOnDisplay: t, nationalMode: n, separateDialCode: r } = this.#t, i = e;
2352
2367
  if (t && Q.utils && this.#l) {
2353
- let t = Se(e), a = n && !t || !i.startsWith("+") && !r ? M.NATIONAL : M.INTERNATIONAL;
2368
+ let t = Ce(e), a = n && !t || !i.startsWith("+") && !r ? M.NATIONAL : M.INTERNATIONAL;
2354
2369
  i = Q.utils.formatNumber(i, this.#l?.iso2, a);
2355
2370
  }
2356
2371
  i = this.#ie(i), this.#y(i);
@@ -2366,9 +2381,9 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2366
2381
  #q(e) {
2367
2382
  let t = e.indexOf("+"), n = t > 0 ? e.substring(t) : e, r = this.#l?.iso2;
2368
2383
  n = this.#K(n);
2369
- let i = this.#te(n, !0), a = G(n);
2384
+ let i = this.#te(n, !0), a = W(n);
2370
2385
  if (i) {
2371
- let e = G(i), t = this.#a[e];
2386
+ let e = W(i), t = this.#a[e];
2372
2387
  return t.length === 1 ? t[0] === r ? null : t[0] : this.#J(t, e, a);
2373
2388
  } else if (n.startsWith("+") && a.length) {
2374
2389
  let e = this.#l?.dialCode || "";
@@ -2379,7 +2394,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2379
2394
  #J(e, t, n) {
2380
2395
  let r = this.#l?.iso2, i = this.#l?.dialCode;
2381
2396
  if (!r && this.#d && e.includes(this.#d)) return this.#d;
2382
- if (i === C.NANP && De(n)) return null;
2397
+ if (i === C.NANP && Oe(n)) return null;
2383
2398
  let a = this.#l?.areaCodes, o = this.#l?.priority;
2384
2399
  if (a) {
2385
2400
  let e = a.map((e) => `${i}${e}`);
@@ -2447,7 +2462,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2447
2462
  return n;
2448
2463
  }
2449
2464
  #ne(e) {
2450
- let t = this.#l?.dialCode, n = G(e);
2465
+ let t = this.#l?.dialCode, n = W(e);
2451
2466
  return (this.#t.separateDialCode && !e.startsWith("+") && t && n ? `+${t}` : "") + e;
2452
2467
  }
2453
2468
  #re() {
@@ -2455,7 +2470,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2455
2470
  return this.#ne(e);
2456
2471
  }
2457
2472
  #ie(e) {
2458
- let t = Ce(e, !!this.#te(e), this.#t.separateDialCode, this.#l);
2473
+ let t = we(e, !!this.#te(e), this.#t.separateDialCode, this.#l);
2459
2474
  return this.#B(t);
2460
2475
  }
2461
2476
  #ae() {
@@ -2530,7 +2545,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2530
2545
  if (r) {
2531
2546
  if (e === w.DIAL_CODE && r[0] === w.MOBILE_PREFIX && r.length !== w.MOBILE_CORE_LENGTH) return !1;
2532
2547
  if (!b.ALPHA_UNICODE.test(n) && e) {
2533
- let t = G(n.startsWith("+") ? n.slice(1 + e.length) : n).length;
2548
+ let t = W(n.startsWith("+") ? n.slice(1 + e.length) : n).length;
2534
2549
  if (r.length > t) return !1;
2535
2550
  }
2536
2551
  }
@@ -2541,7 +2556,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2541
2556
  }
2542
2557
  #ue(e) {
2543
2558
  let { allowNumberExtensions: t, allowPhonewords: n, allowedNumberTypes: r } = this.#t, i = this.#l?.iso2, a = this.#re();
2544
- return !this.#l && !Se(a) || !(e === "precise" ? Q.utils.isValidNumber : Q.utils.isPossibleNumber)(a, i, r) ? !1 : b.ALPHA_UNICODE.test(a) ? Q.utils.getExtension(a, i) ? t : n : !0;
2559
+ return !this.#l && !Ce(a) || !(e === "precise" ? Q.utils.isValidNumber : Q.utils.isPossibleNumber)(a, i, r) ? !1 : b.ALPHA_UNICODE.test(a) ? Q.utils.getExtension(a, i) ? t : n : !0;
2545
2560
  }
2546
2561
  setCountry(e) {
2547
2562
  if (!this.#f) return;
@@ -2593,7 +2608,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2593
2608
  let n = new Z(e, t);
2594
2609
  return Q.instances.set(String(n.id), n), e.iti = n, n;
2595
2610
  }, {
2596
- defaults: z,
2611
+ defaults: R,
2597
2612
  documentReady: () => document.readyState === "complete",
2598
2613
  getCountryData: () => h,
2599
2614
  getInstance: (e) => {
@@ -2615,11 +2630,11 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2615
2630
  },
2616
2631
  startedLoadingUtils: !1,
2617
2632
  startedLoadingAutoCountry: !1,
2618
- version: "28.0.4",
2633
+ version: "28.0.5",
2619
2634
  NUMBER_FORMAT: M,
2620
2635
  NUMBER_TYPE: N,
2621
2636
  VALIDATION_ERROR: P
2622
- }), $ = Q, Ae = /* @__PURE__ */ n({
2637
+ }), $ = Q, je = /* @__PURE__ */ n({
2623
2638
  inheritAttrs: !1,
2624
2639
  __name: "IntlTelInput",
2625
2640
  props: {
@@ -2749,4 +2764,4 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2749
2764
  }
2750
2765
  });
2751
2766
  //#endregion
2752
- export { $ as n, Ae as t };
2767
+ export { $ as n, je as t };
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./IntlTelInput-Bpbd99wX.js";
1
+ import { n as e, t } from "./IntlTelInput-iDXQmbkb.js";
2
2
  //#region packages/vue/src/index.ts
3
3
  var n = t;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./IntlTelInput-Bpbd99wX.js";
1
+ import { n as e, t } from "./IntlTelInput-iDXQmbkb.js";
2
2
  //#region packages/core/dist/js/utils.js
3
3
  var n = {};
4
4
  //#endregion
@@ -9147,7 +9147,7 @@ var n = {};
9147
9147
  [
9148
9148
  ,
9149
9149
  ,
9150
- "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
9150
+ "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|(?:600|80[1-9])\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
9151
9151
  ,
9152
9152
  ,
9153
9153
  ,
@@ -9159,7 +9159,7 @@ var n = {};
9159
9159
  [
9160
9160
  ,
9161
9161
  ,
9162
- "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:2\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
9162
+ "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:(?:[24]\\d|50)\\d|3(?:[034679]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-389])|600)|646[59])|80[1-8]\\d\\d|9(?:(?:10[0-2]|7[1-9]\\d)\\d|3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",
9163
9163
  ,
9164
9164
  ,
9165
9165
  ,
@@ -11301,7 +11301,7 @@ var n = {};
11301
11301
  [
11302
11302
  ,
11303
11303
  ,
11304
- "7(?:060\\d|19(?:[0-5]\\d|6[0-6]))\\d{4}|(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",
11304
+ "7060\\d{5}|(?:60[1-8]|7(?:0[2-5]|19|[2379]\\d))\\d{6}",
11305
11305
  ,
11306
11306
  ,
11307
11307
  ,
@@ -11517,7 +11517,7 @@ var n = {};
11517
11517
  [
11518
11518
  ,
11519
11519
  ,
11520
- "1(?:(?:5(?:[0-25-9]\\d\\d|3(?:10|33))|7[26-9]\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}",
11520
+ "1(?:6[023]|7\\d)\\d{7,8}|15(?:[0-25-9]\\d\\d|3(?:10|33))\\d{6}",
11521
11521
  ,
11522
11522
  ,
11523
11523
  ,
@@ -20151,14 +20151,15 @@ var n = {};
20151
20151
  [
20152
20152
  ,
20153
20153
  ,
20154
- "(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",
20154
+ "(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:160[01]|6(?:(?:12|[2-4]1|5[17]|6[13]|80)[0189]|7(?:1[0189]|86))|7(?:1(?:2[0189]|9[0-5])|3(?:2[5-8]|[34][017-9]|9[016-9])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:731|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|4[0189]|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-5])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:[024]\\d|3[05-8]|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}",
20155
20155
  ,
20156
20156
  ,
20157
20157
  ,
20158
20158
  "8123456789",
20159
20159
  ,
20160
20160
  ,
20161
- [10]
20161
+ [10],
20162
+ [6]
20162
20163
  ],
20163
20164
  [
20164
20165
  ,
@@ -20283,9 +20284,9 @@ var n = {};
20283
20284
  "(\\d{3})(\\d{3})(\\d{4})",
20284
20285
  "$1 $2 $3",
20285
20286
  [
20286
- "1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]",
20287
- "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
20288
- "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
20287
+ "1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]",
20288
+ "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
20289
+ "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
20289
20290
  ],
20290
20291
  "0$1",
20291
20292
  ,
@@ -20296,9 +20297,9 @@ var n = {};
20296
20297
  "(\\d{4})(\\d{3})(\\d{3})",
20297
20298
  "$1 $2 $3",
20298
20299
  [
20299
- "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807",
20300
- "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
20301
- "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
20300
+ "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807",
20301
+ "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
20302
+ "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
20302
20303
  ],
20303
20304
  "0$1",
20304
20305
  ,
@@ -20388,9 +20389,9 @@ var n = {};
20388
20389
  "(\\d{3})(\\d{3})(\\d{4})",
20389
20390
  "$1 $2 $3",
20390
20391
  [
20391
- "1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]",
20392
- "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
20393
- "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
20392
+ "1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]",
20393
+ "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]",
20394
+ "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"
20394
20395
  ],
20395
20396
  "0$1",
20396
20397
  ,
@@ -20401,9 +20402,9 @@ var n = {};
20401
20402
  "(\\d{4})(\\d{3})(\\d{3})",
20402
20403
  "$1 $2 $3",
20403
20404
  [
20404
- "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807",
20405
- "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
20406
- "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
20405
+ "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807",
20406
+ "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]",
20407
+ "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"
20407
20408
  ],
20408
20409
  "0$1",
20409
20410
  ,
@@ -37683,7 +37684,7 @@ var n = {};
37683
37684
  [
37684
37685
  ,
37685
37686
  ,
37686
- "89(?:8[02-9]|9[0-6])\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}",
37687
+ "898[02-9]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-79])|9[0-8]\\d)\\d{5}",
37687
37688
  ,
37688
37689
  ,
37689
37690
  ,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intl-tel-input/vue",
3
- "version": "28.0.4",
3
+ "version": "28.0.5",
4
4
  "description": "A Vue component for intl-tel-input, for entering, formatting, and validating international telephone numbers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -24,7 +24,7 @@
24
24
  "README.md"
25
25
  ],
26
26
  "dependencies": {
27
- "intl-tel-input": "^28.0.4"
27
+ "intl-tel-input": "^28.0.5"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "vue": "^3.0.0"
@@ -42,14 +42,25 @@
42
42
  "keywords": [
43
43
  "intl-tel-input",
44
44
  "vue",
45
+ "vue3",
45
46
  "component",
47
+ "composition-api",
48
+ "v-model",
46
49
  "international",
50
+ "country",
51
+ "country-picker",
47
52
  "telephone",
48
53
  "phone",
54
+ "phone-number",
55
+ "tel",
56
+ "mobile",
57
+ "dial-code",
49
58
  "input",
50
59
  "flag",
51
60
  "dropdown",
52
61
  "validation",
62
+ "libphonenumber",
63
+ "formatting",
53
64
  "typescript"
54
65
  ]
55
66
  }