@odus/checkout 1.19.7 → 1.19.8

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.
package/dist/phone.js CHANGED
@@ -1,6 +1,6 @@
1
- import { H as e, g as t, h as n, m as r, v as i, w as a, x as o } from "./shared.js";
2
- import { t as s } from "./shared2.js";
3
- //#region libs/checkout/src/utils/dom/restoreCursorAfterFormat.util.ts
1
+ import { t as e } from "./shared3.js";
2
+ import { H as t, g as n, h as r, m as i, v as a, w as o, x as s } from "./shared2.js";
3
+ // libs/checkout/src/utils/dom/restoreCursorAfterFormat.util.ts
4
4
  var c = (e, t, n) => {
5
5
  let r = 0, i = n.length;
6
6
  for (let e = 0; e < n.length; e++) if (/\d/.test(n[e]) && r++, r === t) {
@@ -665,7 +665,7 @@ var c = (e, t, n) => {
665
665
  0,
666
666
  [
667
667
  ["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]],
668
- ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]],
668
+ ["4(?:79[01]|83[0-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]],
669
669
  ["180(?:0\\d{3}|2)\\d{3}", [7, 10]],
670
670
  ["190[0-26]\\d{6}", [10]],
671
671
  0,
@@ -965,13 +965,9 @@ var c = (e, t, n) => {
965
965
  BJ: [
966
966
  "229",
967
967
  "00",
968
- "(?:01\\d|8)\\d{7}",
969
- [8, 10],
968
+ "01\\d{8}",
969
+ [10],
970
970
  [[
971
- "(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
972
- "$1 $2 $3 $4",
973
- ["8"]
974
- ], [
975
971
  "(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
976
972
  "$1 $2 $3 $4 $5",
977
973
  ["0"]
@@ -1135,7 +1131,7 @@ var c = (e, t, n) => {
1135
1131
  BW: [
1136
1132
  "267",
1137
1133
  "00",
1138
- "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",
1134
+ "90\\d{5}|(?:0800|[2-6]|(?:7|800)\\d)\\d{6}",
1139
1135
  [
1140
1136
  7,
1141
1137
  8,
@@ -1150,12 +1146,12 @@ var c = (e, t, n) => {
1150
1146
  [
1151
1147
  "(\\d{3})(\\d{4})",
1152
1148
  "$1 $2",
1153
- ["[24-6]|3[15-9]"]
1149
+ ["[2-6]"]
1154
1150
  ],
1155
1151
  [
1156
1152
  "(\\d{2})(\\d{3})(\\d{3})",
1157
1153
  "$1 $2 $3",
1158
- ["[37]"]
1154
+ ["7"]
1159
1155
  ],
1160
1156
  [
1161
1157
  "(\\d{4})(\\d{3})(\\d{3})",
@@ -1288,7 +1284,7 @@ var c = (e, t, n) => {
1288
1284
  0,
1289
1285
  [
1290
1286
  ["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]],
1291
- ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]],
1287
+ ["4(?:79[01]|83[0-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]],
1292
1288
  ["180(?:0\\d{3}|2)\\d{3}", [7, 10]],
1293
1289
  ["190[0-26]\\d{6}", [10]],
1294
1290
  0,
@@ -1522,33 +1518,47 @@ var c = (e, t, n) => {
1522
1518
  12
1523
1519
  ],
1524
1520
  [
1521
+ [
1522
+ "(\\d{2})(\\d{5})",
1523
+ "$1 $2",
1524
+ [
1525
+ "101",
1526
+ "1010",
1527
+ "10100"
1528
+ ],
1529
+ "0$1"
1530
+ ],
1525
1531
  [
1526
1532
  "(\\d{2})(\\d{5,6})",
1527
1533
  "$1 $2",
1528
1534
  [
1529
- "(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]",
1530
- "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1",
1531
- "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12",
1532
- "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123",
1533
- "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"
1535
+ "(?:10|2[0-57-9])[19]|3(?:[15]|35|49|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|9[0-35-9])|[39]7[0-79]",
1536
+ "10(?:12|9[56])|2[0-57-9](?:1[02]|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1",
1537
+ "10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12",
1538
+ "10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"
1534
1539
  ],
1535
1540
  "0$1"
1536
1541
  ],
1542
+ [
1543
+ "(\\d{4})(\\d{4})",
1544
+ "$1 $2",
1545
+ ["101", "1010"]
1546
+ ],
1537
1547
  [
1538
1548
  "(\\d{3})(\\d{5,6})",
1539
1549
  "$1 $2",
1540
1550
  [
1541
- "3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]",
1542
- "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]",
1543
- "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])",
1544
- "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"
1551
+ "3(?:[15]|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])",
1552
+ "(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]",
1553
+ "(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])",
1554
+ "(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"
1545
1555
  ],
1546
1556
  "0$1"
1547
1557
  ],
1548
1558
  [
1549
1559
  "(\\d{3})(\\d{3})(\\d{4})",
1550
1560
  "$1 $2 $3",
1551
- ["(?:4|80)0"]
1561
+ ["[48]0"]
1552
1562
  ],
1553
1563
  [
1554
1564
  "(\\d{2})(\\d{4})(\\d{4})",
@@ -1564,7 +1574,7 @@ var c = (e, t, n) => {
1564
1574
  [
1565
1575
  "(\\d{3})(\\d{3})(\\d{4})",
1566
1576
  "$1 $2 $3",
1567
- ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],
1577
+ ["3(?:[3-59]|7[02-6])|4(?:1[25-9]|[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:31|55|79|87)[02-9]"],
1568
1578
  "0$1",
1569
1579
  1
1570
1580
  ],
@@ -1573,13 +1583,6 @@ var c = (e, t, n) => {
1573
1583
  "$1 $2",
1574
1584
  ["9"]
1575
1585
  ],
1576
- [
1577
- "(\\d{4})(\\d{3})(\\d{4})",
1578
- "$1 $2 $3",
1579
- ["80"],
1580
- "0$1",
1581
- 1
1582
- ],
1583
1586
  [
1584
1587
  "(\\d{3})(\\d{4})(\\d{4})",
1585
1588
  "$1 $2 $3",
@@ -1633,7 +1636,7 @@ var c = (e, t, n) => {
1633
1636
  [
1634
1637
  "(\\d{3})(\\d{7})",
1635
1638
  "$1 $2",
1636
- ["3[0-357]|9[14]"]
1639
+ ["3[0-357]|94"]
1637
1640
  ],
1638
1641
  [
1639
1642
  "(\\d)(\\d{3})(\\d{7})",
@@ -1757,7 +1760,7 @@ var c = (e, t, n) => {
1757
1760
  0,
1758
1761
  [
1759
1762
  ["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]],
1760
- ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]],
1763
+ ["4(?:79[01]|83[0-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]],
1761
1764
  ["180(?:0\\d{3}|2)\\d{3}", [7, 10]],
1762
1765
  ["190[0-26]\\d{6}", [10]],
1763
1766
  0,
@@ -1922,7 +1925,7 @@ var c = (e, t, n) => {
1922
1925
  [
1923
1926
  "(\\d{5})(\\d{6})",
1924
1927
  "$1 $2",
1925
- ["15[03568]", "15(?:[0568]|3[13])"],
1928
+ ["15[03-68]", "15(?:[0568]|3[13]|41)"],
1926
1929
  "0$1"
1927
1930
  ],
1928
1931
  [
@@ -2169,7 +2172,7 @@ var c = (e, t, n) => {
2169
2172
  ES: [
2170
2173
  "34",
2171
2174
  "00",
2172
- "(?:400|[5-9]\\d\\d)\\d{6}",
2175
+ "400\\d{6}|(?:51|[6-9]\\d)\\d{7}",
2173
2176
  [9],
2174
2177
  [[
2175
2178
  "(\\d{3})(\\d{3})(\\d{3})",
@@ -3147,9 +3150,9 @@ var c = (e, t, n) => {
3147
3150
  "(\\d{2})(\\d{4})(\\d{4})",
3148
3151
  "$1 $2 $3",
3149
3152
  [
3150
- "11|2[02]|33|4[04]|79[1-6]|80[2-46]",
3151
- "11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])",
3152
- "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])"
3153
+ "11|2[02]|33|4[04]|79[1-5]|80[2-46]",
3154
+ "11|2[02]|33|4[04]|79[1-5]|80(?:[2-4]|6[0-589])",
3155
+ "11|2[02]|33|4[04]|79(?:[1245]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])"
3153
3156
  ],
3154
3157
  "0$1",
3155
3158
  1
@@ -3789,7 +3792,7 @@ var c = (e, t, n) => {
3789
3792
  LA: [
3790
3793
  "856",
3791
3794
  "00",
3792
- "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",
3795
+ "(?:2\\d|3)\\d{8}|(?:[235-8]\\d|41)\\d{6}",
3793
3796
  [
3794
3797
  8,
3795
3798
  9,
@@ -3811,7 +3814,7 @@ var c = (e, t, n) => {
3811
3814
  [
3812
3815
  "(\\d{2})(\\d{2})(\\d{3})(\\d{3})",
3813
3816
  "$1 $2 $3 $4",
3814
- ["[23]"],
3817
+ ["2"],
3815
3818
  "0$1"
3816
3819
  ]
3817
3820
  ],
@@ -5386,7 +5389,7 @@ var c = (e, t, n) => {
5386
5389
  [
5387
5390
  "(\\d{3})(\\d{6})",
5388
5391
  "$1 $2",
5389
- ["9(?:[5-79]|8[1-7])"],
5392
+ ["9(?:[5-79]|8[1-8])"],
5390
5393
  "0$1"
5391
5394
  ],
5392
5395
  [
@@ -5456,7 +5459,7 @@ var c = (e, t, n) => {
5456
5459
  RO: [
5457
5460
  "40",
5458
5461
  "00",
5459
- "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",
5462
+ "(?:[2378]\\d|90)\\d{7}|[23]\\d{5}",
5460
5463
  [6, 9],
5461
5464
  [
5462
5465
  [
@@ -5480,7 +5483,7 @@ var c = (e, t, n) => {
5480
5483
  [
5481
5484
  "(\\d{3})(\\d{3})(\\d{3})",
5482
5485
  "$1 $2 $3",
5483
- ["[236-9]"],
5486
+ ["[237-9]"],
5484
5487
  "0$1"
5485
5488
  ]
5486
5489
  ],
@@ -5824,7 +5827,7 @@ var c = (e, t, n) => {
5824
5827
  SH: [
5825
5828
  "290",
5826
5829
  "00",
5827
- "(?:[256]\\d|8)\\d{3}",
5830
+ "(?:[2569]\\d|8)\\d{3}",
5828
5831
  [4, 5],
5829
5832
  0,
5830
5833
  0,
@@ -5832,7 +5835,7 @@ var c = (e, t, n) => {
5832
5835
  0,
5833
5836
  0,
5834
5837
  0,
5835
- "[256]"
5838
+ "[2569]"
5836
5839
  ],
5837
5840
  SI: [
5838
5841
  "386",
@@ -7058,37 +7061,19 @@ var c = (e, t, n) => {
7058
7061
  ZW: [
7059
7062
  "263",
7060
7063
  "00",
7061
- "(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[23568]\\d{6}",
7064
+ "8\\d{6}(?:\\d{3})?|[235-8]\\d{8}",
7062
7065
  [
7063
7066
  7,
7064
7067
  9,
7065
7068
  10
7066
7069
  ],
7067
7070
  [
7068
- [
7069
- "(\\d{2})(\\d{3,5})",
7070
- "$1 $2",
7071
- ["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"],
7072
- "0$1"
7073
- ],
7074
- [
7075
- "(\\d{3})(\\d{3,5})",
7076
- "$1 $2",
7077
- ["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"],
7078
- "0$1"
7079
- ],
7080
7071
  [
7081
7072
  "(\\d{3})(\\d{4})",
7082
7073
  "$1 $2",
7083
7074
  ["80"],
7084
7075
  "0$1"
7085
7076
  ],
7086
- [
7087
- "(\\d{4})(\\d{3,5})",
7088
- "$1 $2",
7089
- ["548"],
7090
- "0$1"
7091
- ],
7092
7077
  [
7093
7078
  "(\\d{2})(\\d{3})(\\d{3,4})",
7094
7079
  "$1 $2 $3",
@@ -7434,14 +7419,12 @@ var c = (e, t, n) => {
7434
7419
  ]
7435
7420
  }
7436
7421
  };
7437
- //#endregion
7438
- //#region node_modules/libphonenumber-js/min/exports/withMetadataArgument.js
7422
+ // node_modules/libphonenumber-js/min/exports/withMetadataArgument.js
7439
7423
  function u(e, t) {
7440
7424
  var n = Array.prototype.slice.call(t);
7441
7425
  return n.push(l), e.apply(this, n);
7442
7426
  }
7443
- //#endregion
7444
- //#region node_modules/libphonenumber-js/es6/tools/semver-compare.js
7427
+ // node_modules/libphonenumber-js/es6/tools/semver-compare.js
7445
7428
  function d(e, t) {
7446
7429
  e = e.split("-"), t = t.split("-");
7447
7430
  for (var n = e[0].split("."), r = t[0].split("."), i = 0; i < 3; i++) {
@@ -7453,20 +7436,17 @@ function d(e, t) {
7453
7436
  }
7454
7437
  return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
7455
7438
  }
7456
- //#endregion
7457
- //#region node_modules/libphonenumber-js/es6/helpers/isObject.js
7439
+ // node_modules/libphonenumber-js/es6/helpers/isObject.js
7458
7440
  var f = {}.constructor;
7459
7441
  function p(e) {
7460
7442
  return e != null && e.constructor === f;
7461
7443
  }
7462
- //#endregion
7463
- //#region node_modules/libphonenumber-js/es6/helpers/isCallingCode.js
7444
+ // node_modules/libphonenumber-js/es6/helpers/isCallingCode.js
7464
7445
  var m = /^\d+$/;
7465
7446
  function h(e) {
7466
7447
  return m.test(e);
7467
7448
  }
7468
- //#endregion
7469
- //#region node_modules/libphonenumber-js/es6/metadata.js
7449
+ // node_modules/libphonenumber-js/es6/metadata.js
7470
7450
  function g(e) {
7471
7451
  "@babel/helpers - typeof";
7472
7452
  return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -7935,8 +7915,7 @@ function me(e) {
7935
7915
  var t = e.version;
7936
7916
  typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? d(t, ne) === -1 ? this.v2 = !0 : d(t, re) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
7937
7917
  }
7938
- //#endregion
7939
- //#region node_modules/libphonenumber-js/es6/helpers/mergeArrays.js
7918
+ // node_modules/libphonenumber-js/es6/helpers/mergeArrays.js
7940
7919
  function he(e, t) {
7941
7920
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7942
7921
  if (n) return (n = n.call(e)).next.bind(n);
@@ -7973,8 +7952,7 @@ function ve(e, t) {
7973
7952
  return e - t;
7974
7953
  });
7975
7954
  }
7976
- //#endregion
7977
- //#region node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js
7955
+ // node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js
7978
7956
  function x(e, t, n) {
7979
7957
  return ye(e, void 0, t, n);
7980
7958
  }
@@ -7991,8 +7969,7 @@ function ye(e, t, n, r) {
7991
7969
  var s = e.length, c = a[0];
7992
7970
  return c === s ? "IS_POSSIBLE" : c > s ? "TOO_SHORT" : a[a.length - 1] < s ? "TOO_LONG" : a.indexOf(s, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
7993
7971
  }
7994
- //#endregion
7995
- //#region node_modules/libphonenumber-js/es6/isPossible.js
7972
+ // node_modules/libphonenumber-js/es6/isPossible.js
7996
7973
  function be(e, t, n) {
7997
7974
  /* istanbul ignore if */
7998
7975
  t === void 0 && (t = {});
@@ -8020,13 +7997,11 @@ function xe(e, t) {
8020
7997
  default: return !1;
8021
7998
  }
8022
7999
  }
8023
- //#endregion
8024
- //#region node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js
8000
+ // node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js
8025
8001
  function S(e, t) {
8026
8002
  return e ||= "", RegExp("^(?:" + t + ")$").test(e);
8027
8003
  }
8028
- //#endregion
8029
- //#region node_modules/libphonenumber-js/es6/helpers/getNumberType.js
8004
+ // node_modules/libphonenumber-js/es6/helpers/getNumberType.js
8030
8005
  function Se(e, t) {
8031
8006
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8032
8007
  if (n) return (n = n.call(e)).next.bind(n);
@@ -8083,15 +8058,13 @@ function De(e, t, n) {
8083
8058
  var r = n.type(t);
8084
8059
  return !r || !r.pattern() || r.possibleLengths() && r.possibleLengths().indexOf(e.length) < 0 ? !1 : S(e, r.pattern());
8085
8060
  }
8086
- //#endregion
8087
- //#region node_modules/libphonenumber-js/es6/isValid.js
8061
+ // node_modules/libphonenumber-js/es6/isValid.js
8088
8062
  function Oe(e, t, n) {
8089
8063
  t ||= {};
8090
8064
  var r = new b(n);
8091
8065
  return r.selectNumberingPlan(e.country || e.countryCallingCode), r.hasTypes() ? Ee(e, t, r.metadata) !== void 0 : S(t.v2 ? e.nationalNumber : e.phone, r.nationalNumberPattern());
8092
8066
  }
8093
- //#endregion
8094
- //#region node_modules/libphonenumber-js/es6/helpers/isCountryCode.js
8067
+ // node_modules/libphonenumber-js/es6/helpers/isCountryCode.js
8095
8068
  var ke = /^[A-Z]{2}$/;
8096
8069
  function Ae(e) {
8097
8070
  return ke.test(e);
@@ -8103,8 +8076,7 @@ function je(e, t) {
8103
8076
  callingCode: r
8104
8077
  };
8105
8078
  }
8106
- //#endregion
8107
- //#region node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js
8079
+ // node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js
8108
8080
  function Me(e, t, n) {
8109
8081
  var r = new b(n).getCountryCodesForCallingCode(e);
8110
8082
  return r ? r.filter(function(e) {
@@ -8115,8 +8087,7 @@ function Ne(e, t, n) {
8115
8087
  var r = new b(n);
8116
8088
  return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
8117
8089
  }
8118
- //#endregion
8119
- //#region node_modules/libphonenumber-js/es6/constants.js
8090
+ // node_modules/libphonenumber-js/es6/constants.js
8120
8091
  var C = "0-90-9٠-٩۰-۹", w = "-‐-―−ー-//.. \xA0­​⁠ ()()[]\\[\\]~⁓∼~", T = "++", Pe = RegExp("([" + C + "])");
8121
8092
  function Fe(e, t, n, r) {
8122
8093
  if (t) {
@@ -8130,8 +8101,7 @@ function Fe(e, t, n, r) {
8130
8101
  }
8131
8102
  }
8132
8103
  }
8133
- //#endregion
8134
- //#region node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js
8104
+ // node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js
8135
8105
  function Ie(e, t) {
8136
8106
  if (e && t.numberingPlan.nationalPrefixForParsing()) {
8137
8107
  var n = RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), r = n.exec(e);
@@ -8156,8 +8126,7 @@ function Ie(e, t) {
8156
8126
  }
8157
8127
  return { nationalNumber: e };
8158
8128
  }
8159
- //#endregion
8160
- //#region node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js
8129
+ // node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js
8161
8130
  function Le(e, t) {
8162
8131
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8163
8132
  if (n) return (n = n.call(e)).next.bind(n);
@@ -8200,8 +8169,7 @@ function E(e, t) {
8200
8169
  var n = t.nationalNumber, r = t.metadata, i = r.getCountryCodesForCallingCode(e);
8201
8170
  if (i) return i.length === 1 ? i[0] : Be(n, i, r.metadata);
8202
8171
  }
8203
- //#endregion
8204
- //#region node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js
8172
+ // node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js
8205
8173
  function Ve(e, t, n) {
8206
8174
  var r = Ie(e, n), i = r.carrierCode, a = r.nationalNumber;
8207
8175
  return a !== e && (!He(e, a, n) || n.numberingPlan.possibleLengths() && (t ||= E(n.numberingPlan.callingCode(), {
@@ -8222,8 +8190,7 @@ function Ue(e, t, n) {
8222
8190
  default: return !0;
8223
8191
  }
8224
8192
  }
8225
- //#endregion
8226
- //#region node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js
8193
+ // node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js
8227
8194
  function We(e, t, n, r, i) {
8228
8195
  if (!(t || n || r)) return { number: e };
8229
8196
  var a = t || n ? fe(t || n, i) : r;
@@ -8238,8 +8205,7 @@ function We(e, t, n, r, i) {
8238
8205
  }
8239
8206
  return { number: e };
8240
8207
  }
8241
- //#endregion
8242
- //#region node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js
8208
+ // node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js
8243
8209
  function Ge(e, t, n, r, i) {
8244
8210
  if (!e) return {};
8245
8211
  var a;
@@ -8270,13 +8236,11 @@ function Ge(e, t, n, r, i) {
8270
8236
  }
8271
8237
  return {};
8272
8238
  }
8273
- //#endregion
8274
- //#region node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js
8239
+ // node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js
8275
8240
  function Ke(e) {
8276
8241
  return e.replace(RegExp(`[${w}]+`, "g"), " ").trim();
8277
8242
  }
8278
- //#endregion
8279
- //#region node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js
8243
+ // node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js
8280
8244
  var qe = /(\$\d)/;
8281
8245
  function Je(e, t, n) {
8282
8246
  var r = n.useInternationalFormat, i = n.withNationalPrefix;
@@ -8284,16 +8248,14 @@ function Je(e, t, n) {
8284
8248
  var a = e.replace(new RegExp(t.pattern()), r ? t.internationalFormat() : i && t.nationalPrefixFormattingRule() ? t.format().replace(qe, t.nationalPrefixFormattingRule()) : t.format());
8285
8249
  return r ? Ke(a) : a;
8286
8250
  }
8287
- //#endregion
8288
- //#region node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js
8251
+ // node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js
8289
8252
  var Ye = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8290
8253
  function Xe(e, t, n) {
8291
8254
  var r = new b(n);
8292
8255
  if (r.selectNumberingPlan(e || t), r.defaultIDDPrefix()) return r.defaultIDDPrefix();
8293
8256
  if (Ye.test(r.IDDPrefix())) return r.IDDPrefix();
8294
8257
  }
8295
- //#endregion
8296
- //#region node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js
8258
+ // node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js
8297
8259
  var Ze = ";ext=", D = function(e) {
8298
8260
  return `([${C}]{1,${e}})`;
8299
8261
  };
@@ -8301,8 +8263,7 @@ function Qe(e) {
8301
8263
  var t = "20", n = "15", r = "9", i = "6", a = "[ \xA0\\t,]*", o = "[:\\..]?[ \xA0\\t,-]*", s = "#?", c = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", u = "[- ]+", d = "[ \xA0\\t]*", f = "(?:,{2}|;)", p = Ze + D(t), m = a + c + o + D(t) + s, h = a + l + o + D(r) + s, g = u + D(i) + "#", _ = d + f + o + D(n) + s, v = d + "(?:,)+" + o + D(r) + s;
8302
8264
  return p + "|" + m + "|" + h + "|" + g + "|" + _ + "|" + v;
8303
8265
  }
8304
- //#endregion
8305
- //#region node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js
8266
+ // node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js
8306
8267
  var $e = "[" + C + "]{2}", et = "[" + T + "]{0,1}(?:[" + w + "]*[" + C + "]){3,}[" + w + C + "]*", tt = RegExp("^[" + T + "]{0,1}(?:[" + w + "]*[" + C + "]){1,2}$", "i"), nt = et + "(?:" + Qe() + ")?", rt = RegExp("^" + $e + "$|^" + nt + "$", "i");
8307
8268
  function it(e) {
8308
8269
  return e.length >= 2 && rt.test(e);
@@ -8310,16 +8271,14 @@ function it(e) {
8310
8271
  function at(e) {
8311
8272
  return tt.test(e);
8312
8273
  }
8313
- //#endregion
8314
- //#region node_modules/libphonenumber-js/es6/helpers/RFC3966.js
8274
+ // node_modules/libphonenumber-js/es6/helpers/RFC3966.js
8315
8275
  function ot(e) {
8316
8276
  var t = e.number, n = e.ext;
8317
8277
  if (!t) return "";
8318
8278
  if (t[0] !== "+") throw Error("\"formatRFC3966()\" expects \"number\" to be in E.164 format.");
8319
8279
  return `tel:${t}${n ? ";ext=" + n : ""}`;
8320
8280
  }
8321
- //#endregion
8322
- //#region node_modules/libphonenumber-js/es6/format.js
8281
+ // node_modules/libphonenumber-js/es6/format.js
8323
8282
  var st = { formatExtension: function(e, t, n) {
8324
8283
  return `${e}${n.ext()}${t}`;
8325
8284
  } };
@@ -8389,8 +8348,7 @@ function ft(e, t) {
8389
8348
  n++;
8390
8349
  }
8391
8350
  }
8392
- //#endregion
8393
- //#region node_modules/libphonenumber-js/es6/PhoneNumber.js
8351
+ // node_modules/libphonenumber-js/es6/PhoneNumber.js
8394
8352
  function A(e) {
8395
8353
  "@babel/helpers - typeof";
8396
8354
  return A = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -8543,8 +8501,7 @@ var xt = /*#__PURE__*/ function() {
8543
8501
  }
8544
8502
  ]);
8545
8503
  }(), St = /^\+\d+$/;
8546
- //#endregion
8547
- //#region node_modules/libphonenumber-js/es6/ParseError.js
8504
+ // node_modules/libphonenumber-js/es6/ParseError.js
8548
8505
  function j(e) {
8549
8506
  "@babel/helpers - typeof";
8550
8507
  return j = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -8669,8 +8626,7 @@ function Lt(e) {
8669
8626
  i++;
8670
8627
  }
8671
8628
  }
8672
- //#endregion
8673
- //#region node_modules/libphonenumber-js/es6/helpers/parseDigits.js
8629
+ // node_modules/libphonenumber-js/es6/helpers/parseDigits.js
8674
8630
  function Rt(e, t) {
8675
8631
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8676
8632
  if (n) return (n = n.call(e)).next.bind(n);
@@ -8750,8 +8706,7 @@ function F(e) {
8750
8706
  }
8751
8707
  return t;
8752
8708
  }
8753
- //#endregion
8754
- //#region node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js
8709
+ // node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js
8755
8710
  function Ut(e, t) {
8756
8711
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8757
8712
  if (n) return (n = n.call(e)).next.bind(n);
@@ -8808,8 +8763,7 @@ function an(e) {
8808
8763
  function on(e) {
8809
8764
  return e === null ? !0 : e.length === 0 ? !1 : Xt.test(e) || tn.test(e);
8810
8765
  }
8811
- //#endregion
8812
- //#region node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js
8766
+ // node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js
8813
8767
  function sn(e, t) {
8814
8768
  var n = t.extractFormattedPhoneNumber, r = an(e);
8815
8769
  if (!on(r)) throw new P("NOT_A_NUMBER");
@@ -8823,8 +8777,7 @@ function sn(e, t) {
8823
8777
  var c = i.indexOf(rn);
8824
8778
  if (c > 0 && (i = i.substring(0, c)), i !== "") return i;
8825
8779
  }
8826
- //#endregion
8827
- //#region node_modules/libphonenumber-js/es6/parse.js
8780
+ // node_modules/libphonenumber-js/es6/parse.js
8828
8781
  var cn = 250, ln = RegExp("[" + T + C + "]"), un = RegExp("[^" + C + "#]+$");
8829
8782
  function dn(e, t, n) {
8830
8783
  t ||= {};
@@ -8912,8 +8865,7 @@ function hn(e, t, n, r) {
8912
8865
  carrierCode: d
8913
8866
  };
8914
8867
  }
8915
- //#endregion
8916
- //#region node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js
8868
+ // node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js
8917
8869
  function L(e) {
8918
8870
  "@babel/helpers - typeof";
8919
8871
  return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -8968,8 +8920,7 @@ function bn(e, t) {
8968
8920
  function xn(e, t, n) {
8969
8921
  return dn(e, _n(_n({}, t), {}, { v2: !0 }), n);
8970
8922
  }
8971
- //#endregion
8972
- //#region node_modules/libphonenumber-js/es6/normalizeArguments.js
8923
+ // node_modules/libphonenumber-js/es6/normalizeArguments.js
8973
8924
  function R(e) {
8974
8925
  "@babel/helpers - typeof";
8975
8926
  return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -9076,8 +9027,7 @@ function Nn(e) {
9076
9027
  metadata: c
9077
9028
  };
9078
9029
  }
9079
- //#endregion
9080
- //#region node_modules/libphonenumber-js/es6/parsePhoneNumber_.js
9030
+ // node_modules/libphonenumber-js/es6/parsePhoneNumber_.js
9081
9031
  function z(e) {
9082
9032
  "@babel/helpers - typeof";
9083
9033
  return z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -9138,14 +9088,12 @@ function zn(e, t, n) {
9138
9088
  if (!(e instanceof P)) throw e;
9139
9089
  }
9140
9090
  }
9141
- //#endregion
9142
- //#region node_modules/libphonenumber-js/es6/parsePhoneNumber.js
9091
+ // node_modules/libphonenumber-js/es6/parsePhoneNumber.js
9143
9092
  function Bn() {
9144
9093
  var e = Nn(arguments), t = e.text, n = e.options, r = e.metadata;
9145
9094
  return zn(t, n, r);
9146
9095
  }
9147
- //#endregion
9148
- //#region node_modules/libphonenumber-js/es6/AsYouTypeState.js
9096
+ // node_modules/libphonenumber-js/es6/AsYouTypeState.js
9149
9097
  function B(e) {
9150
9098
  "@babel/helpers - typeof";
9151
9099
  return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -9258,8 +9206,7 @@ var Kn = /*#__PURE__*/ function() {
9258
9206
  }
9259
9207
  ]);
9260
9208
  }();
9261
- //#endregion
9262
- //#region node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js
9209
+ // node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js
9263
9210
  function qn(e, t) {
9264
9211
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9265
9212
  if (n) return (n = n.call(e)).next.bind(n);
@@ -9314,8 +9261,7 @@ function $n(e, t, n) {
9314
9261
  }
9315
9262
  return [e, t];
9316
9263
  }
9317
- //#endregion
9318
- //#region node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js
9264
+ // node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js
9319
9265
  function er(e, t, n) {
9320
9266
  var r = n.metadata, i = n.shouldTryNationalPrefixFormattingRule, a = n.getSeparatorAfterNationalPrefix;
9321
9267
  if (RegExp(`^(?:${t.pattern()})\$`).test(e.nationalSignificantNumber)) return nr(e, t, {
@@ -9355,8 +9301,7 @@ function rr(e, t, n) {
9355
9301
  function ir(e, t) {
9356
9302
  return F(e) === t.getNationalDigits();
9357
9303
  }
9358
- //#endregion
9359
- //#region node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js
9304
+ // node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternParser.js
9360
9305
  function H(e) {
9361
9306
  "@babel/helpers - typeof";
9362
9307
  return H = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -9500,8 +9445,7 @@ var fr = /[\(\)\[\]\?\:\|]/, pr = /* @__PURE__ */ RegExp("(\\||\\(\\?\\:|\\)|\\[
9500
9445
  function mr(e) {
9501
9446
  return e.length === 1 ? e[0] : e;
9502
9447
  }
9503
- //#endregion
9504
- //#region node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js
9448
+ // node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js
9505
9449
  function hr(e, t) {
9506
9450
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9507
9451
  if (n) return (n = n.call(e)).next.bind(n);
@@ -9642,8 +9586,7 @@ ${JSON.stringify(f, null, 2)}`);
9642
9586
  default: throw Error(`Unsupported instruction tree: ${t}`);
9643
9587
  }
9644
9588
  }
9645
- //#endregion
9646
- //#region node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js
9589
+ // node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js
9647
9590
  function W(e) {
9648
9591
  "@babel/helpers - typeof";
9649
9592
  return W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -9890,8 +9833,7 @@ var Nr = "9", Pr = V(Nr, 15), Fr = /[- ]/, G = !0, Ir = G && function() {
9890
9833
  }
9891
9834
  ]);
9892
9835
  }();
9893
- //#endregion
9894
- //#region node_modules/libphonenumber-js/es6/AsYouTypeParser.js
9836
+ // node_modules/libphonenumber-js/es6/AsYouTypeParser.js
9895
9837
  function K(e) {
9896
9838
  "@babel/helpers - typeof";
9897
9839
  return K = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -10126,8 +10068,7 @@ function oi(e) {
10126
10068
  var t = Vr(ai(e), 2), n = t[0], r = t[1];
10127
10069
  return $r.test(n) || (n = ""), [n, r];
10128
10070
  }
10129
- //#endregion
10130
- //#region node_modules/libphonenumber-js/es6/AsYouType.js
10071
+ // node_modules/libphonenumber-js/es6/AsYouType.js
10131
10072
  function q(e) {
10132
10073
  "@babel/helpers - typeof";
10133
10074
  return q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -10427,45 +10368,39 @@ function yi(e, t, n) {
10427
10368
  var r = n.getCountryCodesForCallingCode(e);
10428
10369
  if (r.length > 1) return Be(t, r, n.metadata);
10429
10370
  }
10430
- //#endregion
10431
- //#region node_modules/libphonenumber-js/es6/getExampleNumber.js
10371
+ // node_modules/libphonenumber-js/es6/getExampleNumber.js
10432
10372
  function bi(e, t, n) {
10433
10373
  if (t[e]) return new xt(e, t[e], n);
10434
10374
  }
10435
- //#endregion
10436
- //#region node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js
10375
+ // node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js
10437
10376
  function J() {
10438
10377
  return u(Bn, arguments);
10439
10378
  }
10440
- //#endregion
10441
- //#region node_modules/libphonenumber-js/min/exports/AsYouType.js
10379
+ // node_modules/libphonenumber-js/min/exports/AsYouType.js
10442
10380
  function Y(e) {
10443
10381
  return vi.call(this, e, l);
10444
10382
  }
10445
10383
  Y.prototype = Object.create(vi.prototype, {}), Y.prototype.constructor = Y;
10446
- //#endregion
10447
- //#region node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js
10384
+ // node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js
10448
10385
  function xi() {
10449
10386
  return u(fe, arguments);
10450
10387
  }
10451
- //#endregion
10452
- //#region node_modules/libphonenumber-js/min/exports/getExampleNumber.js
10388
+ // node_modules/libphonenumber-js/min/exports/getExampleNumber.js
10453
10389
  function Si() {
10454
10390
  return u(bi, arguments);
10455
10391
  }
10456
- //#endregion
10457
- //#region libs/checkout/src/utils/phone/countryDialCodes.ts
10392
+ // libs/checkout/src/utils/phone/countryDialCodes.ts
10458
10393
  var X = (e) => {
10459
10394
  let t = e.toUpperCase().split("").map((e) => 127397 + e.charCodeAt(0));
10460
10395
  return String.fromCodePoint(...t);
10461
- }, Ci = (t, n) => {
10462
- let r = Object.values(e);
10463
- return (t?.length ? r.filter((e) => t.includes(e.toUpperCase())) : r).map((e) => {
10396
+ }, Ci = (e, n) => {
10397
+ let r = Object.values(t);
10398
+ return (e?.length ? r.filter((t) => e.includes(t.toUpperCase())) : r).map((e) => {
10464
10399
  try {
10465
10400
  let t = xi(e);
10466
10401
  return {
10467
10402
  code: e.toUpperCase(),
10468
- name: i(e, n),
10403
+ name: a(e, n),
10469
10404
  dialCode: `+${t}`,
10470
10405
  flag: X(e)
10471
10406
  };
@@ -10478,7 +10413,7 @@ var X = (e) => {
10478
10413
  let t = e.toUpperCase(), n = xi(t);
10479
10414
  return {
10480
10415
  code: t,
10481
- name: i(t),
10416
+ name: a(t),
10482
10417
  dialCode: `+${n}`,
10483
10418
  flag: X(t)
10484
10419
  };
@@ -10780,19 +10715,19 @@ var X = (e) => {
10780
10715
  } catch {
10781
10716
  return Infinity;
10782
10717
  }
10783
- }, ji = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" aria-hidden=\"true\"><path d=\"M2 3.5L5 6.5L8 3.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", Mi = class extends o {
10718
+ }, ji = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" aria-hidden=\"true\"><path d=\"M2 3.5L5 6.5L8 3.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", Mi = class extends s {
10784
10719
  _flagDisplay;
10785
10720
  _selectElement;
10786
10721
  _locale;
10787
10722
  constructor(e) {
10788
10723
  super("div", ["country-select-wrapper"]);
10789
- let { countries: t, selectedCode: n, locale: r, styles: i, ariaLabel: s, onChange: c } = e;
10790
- this._locale = r, this._flagDisplay = new o("span", ["country-flag"]), this._flagDisplay.setText(X(n)), this._selectElement = new o("select", ["country-select"]), this._selectElement.setAttribute("aria-label", s);
10724
+ let { countries: t, selectedCode: n, locale: r, styles: i, ariaLabel: a, onChange: c } = e;
10725
+ this._locale = r, this._flagDisplay = new s("span", ["country-flag"]), this._flagDisplay.setText(X(n)), this._selectElement = new s("select", ["country-select"]), this._selectElement.setAttribute("aria-label", a);
10791
10726
  let l = this._selectElement.getElement();
10792
- l.style.fontFamily = a(i.fontFamily), l.style.color = i.textColor, l.style.fontSize = `${i.fontSize}px`, this._buildOptions(t, n), this._selectElement.addEventListener("change", (e) => {
10727
+ l.style.fontFamily = o(i.fontFamily), l.style.color = i.textColor, l.style.fontSize = `${i.fontSize}px`, this._buildOptions(t, n), this._selectElement.addEventListener("change", (e) => {
10793
10728
  c(e.target.value);
10794
10729
  });
10795
- let u = new o("span", ["country-chevron"]);
10730
+ let u = new s("span", ["country-chevron"]);
10796
10731
  u.getElement().innerHTML = ji, this.appendChild(this._flagDisplay), this.appendChild(u), this.appendChild(this._selectElement);
10797
10732
  }
10798
10733
  setCountry(e) {
@@ -10816,7 +10751,7 @@ var X = (e) => {
10816
10751
  }), n.appendChild(i);
10817
10752
  });
10818
10753
  }
10819
- }, Ni = class extends o {
10754
+ }, Ni = class extends s {
10820
10755
  _countrySelector;
10821
10756
  _inputElement;
10822
10757
  _countryCodeInput;
@@ -10830,21 +10765,21 @@ var X = (e) => {
10830
10765
  _customPlaceholder;
10831
10766
  constructor(e) {
10832
10767
  super("div", ["input-wrapper", "phone-number-field-wrapper"]);
10833
- let { value: r, onChange: i, onBlur: a, onTab: s, checkoutProfile: c, translationFunc: l, defaultCountry: u, allowedCountries: d, locale: f, label: p, placeholder: m } = e;
10834
- this._onChange = i, this._onBlur = a, this._translationFunc = l, this._customPlaceholder = m, this._currentCountryCode = Ei(u), this._buildLabel(c, l, p), this._containerElement = this._buildContainer(c), this._countrySelector = this._buildCountrySelector(d, f, c, l), this._containerElement.appendChild(this._countrySelector), this._countryCodeInput = n.createInput("hidden", [], {
10768
+ let { value: t, onChange: i, onBlur: a, onTab: o, checkoutProfile: c, translationFunc: l, defaultCountry: u, allowedCountries: d, locale: f, label: p, placeholder: m } = e;
10769
+ this._onChange = i, this._onBlur = a, this._translationFunc = l, this._customPlaceholder = m, this._currentCountryCode = Ei(u), this._buildLabel(c, l, p), this._containerElement = this._buildContainer(c), this._countrySelector = this._buildCountrySelector(d, f, c, l), this._containerElement.appendChild(this._countrySelector), this._countryCodeInput = r.createInput("hidden", [], {
10835
10770
  name: "phoneCountryCode",
10836
10771
  value: this._currentCountryCode
10837
10772
  }), this.appendChild(this._countryCodeInput);
10838
- let h = this._currentCountryCode, { inputElement: g, initialValue: _ } = this._buildInput(c, r, s);
10839
- this._inputElement = g, _ !== r && (this._inputElement.getElement().value = _), this._currentCountryCode !== h && this._syncCountryCodeInput(this._currentCountryCode);
10840
- let v = new o("div", ["phone-input-wrapper"]);
10841
- v.appendChild(this._inputElement), this._containerElement.appendChild(v), this.appendChild(this._containerElement), this._helperText = new t({
10773
+ let h = this._currentCountryCode, { inputElement: g, initialValue: _ } = this._buildInput(c, t, o);
10774
+ this._inputElement = g, _ !== t && (this._inputElement.getElement().value = _), this._currentCountryCode !== h && this._syncCountryCodeInput(this._currentCountryCode);
10775
+ let v = new s("div", ["phone-input-wrapper"]);
10776
+ v.appendChild(this._inputElement), this._containerElement.appendChild(v), this.appendChild(this._containerElement), this._helperText = new n({
10842
10777
  text: e.errorMsg || "",
10843
10778
  visible: e.error
10844
10779
  }), this.appendChild(this._helperText), e.error && this._containerElement.addClass("error");
10845
10780
  }
10846
10781
  _buildLabel(e, t, n) {
10847
- let i = new r({
10782
+ let r = new i({
10848
10783
  styles: {
10849
10784
  color: e.styles.textColor,
10850
10785
  fontSize: e.styles.fontSize
@@ -10852,10 +10787,10 @@ var X = (e) => {
10852
10787
  label: n ?? t("phoneNumber"),
10853
10788
  id: "phoneNumber"
10854
10789
  });
10855
- this.appendChild(i);
10790
+ this.appendChild(r);
10856
10791
  }
10857
10792
  _buildContainer(e) {
10858
- let t = new o("div", ["phone-number-field-container"]), n = t.getElement();
10793
+ let t = new s("div", ["phone-number-field-container"]), n = t.getElement();
10859
10794
  return n.style.borderRadius = `${e.styles.borderRadius}px`, n.style.setProperty("--phone-border-radius", `${e.styles.borderRadius}px`), t;
10860
10795
  }
10861
10796
  _buildCountrySelector(e, t, n, r) {
@@ -10874,31 +10809,31 @@ var X = (e) => {
10874
10809
  }
10875
10810
  });
10876
10811
  }
10877
- _buildInput(e, t, r) {
10812
+ _buildInput(e, t, n) {
10878
10813
  let i = t;
10879
10814
  if (t && t.startsWith("+")) {
10880
10815
  let e = Q(t);
10881
10816
  e && (this._currentCountryCode = e.countryCode, this._countrySelector.setCountry(e.countryCode), i = Z(t, e.countryCode));
10882
10817
  }
10883
- let o = n.createInput("tel", ["form-input"], {
10818
+ let a = r.createInput("tel", ["form-input"], {
10884
10819
  id: "phoneNumber",
10885
10820
  name: "phoneNumber",
10886
10821
  placeholder: this._customPlaceholder ?? $(this._currentCountryCode),
10887
10822
  value: i,
10888
10823
  autocomplete: "tel",
10889
10824
  maxlength: "30"
10890
- }), s = o.getElement();
10891
- return s.style.fontFamily = a(e.styles.fontFamily), s.style.color = e.styles.textColor, s.style.fontSize = `${e.styles.fontSize}px`, o.addEventListener("input", (e) => {
10825
+ }), s = a.getElement();
10826
+ return s.style.fontFamily = o(e.styles.fontFamily), s.style.color = e.styles.textColor, s.style.fontSize = `${e.styles.fontSize}px`, a.addEventListener("input", (e) => {
10892
10827
  this._handleInput(e);
10893
- }), o.addEventListener("focus", () => {
10828
+ }), a.addEventListener("focus", () => {
10894
10829
  this._containerElement.addClass("focused");
10895
- }), o.addEventListener("blur", (e) => {
10830
+ }), a.addEventListener("blur", (e) => {
10896
10831
  this._containerElement.removeClass("focused"), this._validateInput(this._inputElement.getElement().value, !0), this._onBlur(e);
10897
- }), r && o.addEventListener("keydown", (e) => {
10832
+ }), n && a.addEventListener("keydown", (e) => {
10898
10833
  let t = e;
10899
- t.key === "Tab" && !t.shiftKey && (t.preventDefault(), r());
10834
+ t.key === "Tab" && !t.shiftKey && (t.preventDefault(), n());
10900
10835
  }), {
10901
- inputElement: o,
10836
+ inputElement: a,
10902
10837
  initialValue: i
10903
10838
  };
10904
10839
  }
@@ -10921,12 +10856,12 @@ var X = (e) => {
10921
10856
  let i = e.slice(0, n).replace(/\D/g, "").length, a = Z(e, this._currentCountryCode);
10922
10857
  a !== e && (t.value = a, c(t, i, a));
10923
10858
  }
10924
- _syncCountryCodeInput(e) {
10925
- this._countryCodeInput.getElement().value = e, this._onChange(s({
10859
+ _syncCountryCodeInput(t) {
10860
+ this._countryCodeInput.getElement().value = t, this._onChange(e({
10926
10861
  type: "input",
10927
10862
  target: {
10928
10863
  name: "phoneCountryCode",
10929
- value: e
10864
+ value: t
10930
10865
  }
10931
10866
  }));
10932
10867
  }
@@ -10988,5 +10923,4 @@ var X = (e) => {
10988
10923
  this._inputElement.getElement().focus();
10989
10924
  }
10990
10925
  };
10991
- //#endregion
10992
10926
  export { Ni as PhoneNumberField, Z as formatPhoneAsYouType, Ci as getCountriesForDialSelector, wi as getCountryDialCodeInfo, Ai as getExpectedDigitLength, X as getFlagEmoji, $ as getPlaceholder, ki as isValidPhoneNumber, Q as parseE164, Ei as resolvePhoneDefaultCountry, Oi as toE164 };