intl-tel-input 26.0.2 → 26.0.4

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.
Files changed (39) hide show
  1. package/README.md +5 -5
  2. package/angular/README.md +1 -1
  3. package/angular/build/IntlTelInput.js +2 -2
  4. package/angular/build/IntlTelInputWithUtils.js +2 -2
  5. package/angular/build/types/intl-tel-input/i18n/et/index.d.ts +3 -0
  6. package/angular/build/types/intl-tel-input/i18n/index.d.ts +1 -1
  7. package/build/js/data.js +1 -1
  8. package/build/js/data.min.js +1 -1
  9. package/build/js/i18n/et/index.js +18 -0
  10. package/build/js/i18n/index.js +1 -1
  11. package/build/js/intlTelInput.d.ts +4 -4
  12. package/build/js/intlTelInput.js +3 -3
  13. package/build/js/intlTelInput.min.js +5 -5
  14. package/build/js/intlTelInputWithUtils.js +3 -3
  15. package/build/js/intlTelInputWithUtils.min.js +5 -5
  16. package/package.json +1 -1
  17. package/react/README.md +1 -1
  18. package/react/build/IntlTelInput.cjs +2 -2
  19. package/react/build/IntlTelInput.d.ts +4 -4
  20. package/react/build/IntlTelInput.js +2 -2
  21. package/react/build/IntlTelInputWithUtils.cjs +2 -2
  22. package/react/build/IntlTelInputWithUtils.js +2 -2
  23. package/svelte/README.md +1 -1
  24. package/svelte/build/IntlTelInput.mjs +287 -287
  25. package/svelte/build/IntlTelInputWithUtils.mjs +308 -308
  26. package/vue/README.md +1 -1
  27. package/vue/build/exports/IntlTelInput.mjs +1 -1
  28. package/vue/build/exports/IntlTelInputWithUtils.mjs +1 -1
  29. package/vue/build/intl-tel-input/i18n/index.d.ts +1 -1
  30. package/vue/build/{intl-tel-input-DYFK-Vt4.mjs → intl-tel-input-UemlYcBr.mjs} +38 -38
  31. package/build/img/globe.png +0 -0
  32. package/build/img/globe.webp +0 -0
  33. package/build/img/globe@2x.png +0 -0
  34. package/build/img/globe@2x.webp +0 -0
  35. package/build/img/globe_light.png +0 -0
  36. package/build/img/globe_light.webp +0 -0
  37. package/build/img/globe_light@2x.png +0 -0
  38. package/build/img/globe_light@2x.webp +0 -0
  39. /package/vue/build/intl-tel-input/i18n/{ee → et}/index.d.ts +0 -0
@@ -1,77 +1,77 @@
1
- var D3 = Object.defineProperty;
1
+ var P3 = Object.defineProperty;
2
2
  var $d = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var P3 = (t, d, n) => d in t ? D3(t, d, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[d] = n;
6
- var N1 = (t, d, n) => P3(t, typeof d != "symbol" ? d + "" : d, n), z0 = (t, d, n) => d.has(t) || $d("Cannot " + n);
5
+ var O3 = (t, d, n) => d in t ? P3(t, d, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[d] = n;
6
+ var N1 = (t, d, n) => O3(t, typeof d != "symbol" ? d + "" : d, n), z0 = (t, d, n) => d.has(t) || $d("Cannot " + n);
7
7
  var B = (t, d, n) => (z0(t, d, "read from private field"), n ? n.call(t) : d.get(t)), y1 = (t, d, n) => d.has(t) ? $d("Cannot add the same private member more than once") : d instanceof WeakSet ? d.add(t) : d.set(t, n), z1 = (t, d, n, i) => (z0(t, d, "write to private field"), i ? i.call(t, n) : d.set(t, n), n), R1 = (t, d, n) => (z0(t, d, "access private method"), n);
8
- import { onMount as O3, onDestroy as R3 } from "svelte";
9
- const M3 = "5";
10
- var Sd;
11
- typeof window < "u" && ((Sd = window.__svelte ?? (window.__svelte = {})).v ?? (Sd.v = /* @__PURE__ */ new Set())).add(M3);
12
- const x3 = 1, U3 = 4, B3 = 8, F3 = 16, H3 = 2, K = Symbol(), G3 = "http://www.w3.org/1999/xhtml", V3 = "@attach", r2 = !1;
13
- var Ad = Array.isArray, k3 = Array.prototype.indexOf, W3 = Object.defineProperty, D0 = Object.getOwnPropertyDescriptor, K3 = Object.getOwnPropertyDescriptors, j3 = Object.prototype, Y3 = Array.prototype, Td = Object.getPrototypeOf;
14
- function Z3(t) {
8
+ import { onMount as R3, onDestroy as M3 } from "svelte";
9
+ const x3 = "5";
10
+ var Ad;
11
+ typeof window < "u" && ((Ad = window.__svelte ?? (window.__svelte = {})).v ?? (Ad.v = /* @__PURE__ */ new Set())).add(x3);
12
+ const U3 = 1, B3 = 4, F3 = 8, H3 = 16, G3 = 2, K = Symbol(), V3 = "http://www.w3.org/1999/xhtml", k3 = "@attach", r2 = !1;
13
+ var Td = Array.isArray, W3 = Array.prototype.indexOf, K3 = Object.defineProperty, D0 = Object.getOwnPropertyDescriptor, j3 = Object.getOwnPropertyDescriptors, Y3 = Object.prototype, Z3 = Array.prototype, bd = Object.getPrototypeOf;
14
+ function z3(t) {
15
15
  for (var d = 0; d < t.length; d++)
16
16
  t[d]();
17
17
  }
18
- function bd() {
18
+ function Ld() {
19
19
  var t, d, n = new Promise((i, s) => {
20
20
  t = i, d = s;
21
21
  });
22
22
  return { promise: n, resolve: t, reject: d };
23
23
  }
24
- const Z = 2, O0 = 4, h2 = 8, p2 = 1 << 24, W1 = 16, K1 = 32, s0 = 64, Ld = 128, a1 = 512, d1 = 1024, $1 = 2048, L1 = 4096, Q1 = 8192, v1 = 16384, g2 = 32768, od = 65536, ud = 1 << 17, Dd = 1 << 18, G0 = 1 << 19, z3 = 1 << 20, V1 = 32768, s2 = 1 << 21, C2 = 1 << 22, S1 = 1 << 23, F1 = Symbol("$state"), X3 = Symbol("legacy props"), q3 = Symbol(""), X1 = new class extends Error {
24
+ const Z = 2, O0 = 4, h2 = 8, p2 = 1 << 24, W1 = 16, K1 = 32, s0 = 64, Dd = 128, a1 = 512, d1 = 1024, $1 = 2048, L1 = 4096, Q1 = 8192, v1 = 16384, g2 = 32768, od = 65536, ud = 1 << 17, Pd = 1 << 18, G0 = 1 << 19, X3 = 1 << 20, V1 = 32768, s2 = 1 << 21, C2 = 1 << 22, S1 = 1 << 23, F1 = Symbol("$state"), q3 = Symbol("legacy props"), J3 = Symbol(""), X1 = new class extends Error {
25
25
  constructor() {
26
26
  super(...arguments);
27
27
  N1(this, "name", "StaleReactionError");
28
28
  N1(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
29
29
  }
30
30
  }();
31
- function J3() {
31
+ function Q3() {
32
32
  throw new Error("https://svelte.dev/e/async_derived_orphan");
33
33
  }
34
- function Q3(t) {
34
+ function d4(t) {
35
35
  throw new Error("https://svelte.dev/e/effect_in_teardown");
36
36
  }
37
- function d4() {
37
+ function t4() {
38
38
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
39
39
  }
40
- function t4(t) {
40
+ function e4(t) {
41
41
  throw new Error("https://svelte.dev/e/effect_orphan");
42
42
  }
43
- function e4() {
43
+ function n4() {
44
44
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
45
45
  }
46
- function n4(t) {
46
+ function i4(t) {
47
47
  throw new Error("https://svelte.dev/e/props_invalid_value");
48
48
  }
49
- function i4() {
49
+ function r4() {
50
50
  throw new Error("https://svelte.dev/e/state_descriptors_fixed");
51
51
  }
52
- function r4() {
52
+ function s4() {
53
53
  throw new Error("https://svelte.dev/e/state_prototype_fixed");
54
54
  }
55
- function s4() {
55
+ function $4() {
56
56
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
57
57
  }
58
- function $4() {
58
+ function o4() {
59
59
  console.warn("https://svelte.dev/e/select_multiple_invalid_value");
60
60
  }
61
- function Pd(t) {
61
+ function Od(t) {
62
62
  return t === this.v;
63
63
  }
64
- function o4(t, d) {
64
+ function u4(t, d) {
65
65
  return t != t ? d == d : t !== d || t !== null && typeof t == "object" || typeof t == "function";
66
66
  }
67
- function u4(t) {
68
- return !o4(t, this.v);
67
+ function l4(t) {
68
+ return !u4(t, this.v);
69
69
  }
70
- let l4 = !1, g1 = null;
70
+ let a4 = !1, g1 = null;
71
71
  function R0(t) {
72
72
  g1 = t;
73
73
  }
74
- function a4(t, d = !1, n) {
74
+ function f4(t, d = !1, n) {
75
75
  g1 = {
76
76
  p: g1,
77
77
  i: !1,
@@ -82,7 +82,7 @@ function a4(t, d = !1, n) {
82
82
  l: null
83
83
  };
84
84
  }
85
- function f4(t) {
85
+ function c4(t) {
86
86
  var d = (
87
87
  /** @type {ComponentContext} */
88
88
  g1
@@ -90,34 +90,34 @@ function f4(t) {
90
90
  if (n !== null) {
91
91
  d.e = null;
92
92
  for (var i of n)
93
- jd(i);
93
+ Yd(i);
94
94
  }
95
95
  return t !== void 0 && (d.x = t), d.i = !0, g1 = d.p, t ?? /** @type {T} */
96
96
  {};
97
97
  }
98
- function Od() {
98
+ function Rd() {
99
99
  return !0;
100
100
  }
101
101
  let q1 = [];
102
- function c4() {
102
+ function h4() {
103
103
  var t = q1;
104
- q1 = [], Z3(t);
104
+ q1 = [], z3(t);
105
105
  }
106
106
  function V0(t) {
107
107
  if (q1.length === 0) {
108
108
  var d = q1;
109
109
  queueMicrotask(() => {
110
- d === q1 && c4();
110
+ d === q1 && h4();
111
111
  });
112
112
  }
113
113
  q1.push(t);
114
114
  }
115
- function h4(t) {
115
+ function p4(t) {
116
116
  var d = x;
117
117
  if (d === null)
118
118
  return P.f |= S1, t;
119
119
  if ((d.f & g2) === 0) {
120
- if ((d.f & Ld) === 0)
120
+ if ((d.f & Dd) === 0)
121
121
  throw t;
122
122
  d.b.error(t);
123
123
  } else
@@ -125,7 +125,7 @@ function h4(t) {
125
125
  }
126
126
  function M0(t, d) {
127
127
  for (; d !== null; ) {
128
- if ((d.f & Ld) !== 0)
128
+ if ((d.f & Dd) !== 0)
129
129
  try {
130
130
  d.b.error(t);
131
131
  return;
@@ -136,27 +136,27 @@ function M0(t, d) {
136
136
  }
137
137
  throw t;
138
138
  }
139
- const p4 = -7169;
139
+ const g4 = -7169;
140
140
  function e1(t, d) {
141
- t.f = t.f & p4 | d;
141
+ t.f = t.f & g4 | d;
142
142
  }
143
143
  function _2(t) {
144
144
  (t.f & a1) !== 0 || t.deps === null ? e1(t, d1) : e1(t, L1);
145
145
  }
146
- function Rd(t) {
146
+ function Md(t) {
147
147
  if (t !== null)
148
148
  for (const d of t)
149
- (d.f & Z) === 0 || (d.f & V1) === 0 || (d.f ^= V1, Rd(
149
+ (d.f & Z) === 0 || (d.f & V1) === 0 || (d.f ^= V1, Md(
150
150
  /** @type {Derived} */
151
151
  d.deps
152
152
  ));
153
153
  }
154
- function g4(t, d, n) {
155
- (t.f & $1) !== 0 ? d.add(t) : (t.f & L1) !== 0 && n.add(t), Rd(t.deps), e1(t, d1);
154
+ function C4(t, d, n) {
155
+ (t.f & $1) !== 0 ? d.add(t) : (t.f & L1) !== 0 && n.add(t), Md(t.deps), e1(t, d1);
156
156
  }
157
157
  const A0 = /* @__PURE__ */ new Set();
158
158
  let H = null, Y = null, p1 = [], m2 = null, $2 = !1;
159
- var t0, e0, U1, B1, C0, n0, i0, f1, o2, u2, Md, xd;
159
+ var t0, e0, U1, B1, C0, n0, i0, f1, o2, u2, xd, Ud;
160
160
  const H0 = class H0 {
161
161
  constructor() {
162
162
  y1(this, f1);
@@ -229,7 +229,7 @@ const H0 = class H0 {
229
229
  var n = [], i = [];
230
230
  for (const $ of d)
231
231
  R1(this, f1, o2).call(this, $, n, i);
232
- this.is_fork || R1(this, f1, Md).call(this), this.is_deferred() ? (R1(this, f1, u2).call(this, i), R1(this, f1, u2).call(this, n)) : (H = null, ld(i), ld(n), (s = B(this, C0)) == null || s.resolve()), Y = null;
232
+ this.is_fork || R1(this, f1, xd).call(this), this.is_deferred() ? (R1(this, f1, u2).call(this, i), R1(this, f1, u2).call(this, n)) : (H = null, ld(i), ld(n), (s = B(this, C0)) == null || s.resolve()), Y = null;
233
233
  }
234
234
  /**
235
235
  * Associate a change to a given source with the current
@@ -248,7 +248,7 @@ const H0 = class H0 {
248
248
  }
249
249
  flush() {
250
250
  if (this.activate(), p1.length > 0) {
251
- if (C4(), H !== null && H !== this)
251
+ if (_4(), H !== null && H !== this)
252
252
  return;
253
253
  } else B(this, U1) === 0 && this.process([]);
254
254
  this.deactivate();
@@ -287,7 +287,7 @@ const H0 = class H0 {
287
287
  B(this, e0).add(d);
288
288
  }
289
289
  settled() {
290
- return (B(this, C0) ?? z1(this, C0, bd())).promise;
290
+ return (B(this, C0) ?? z1(this, C0, Ld())).promise;
291
291
  }
292
292
  static ensure() {
293
293
  if (H === null) {
@@ -333,14 +333,14 @@ o2 = function(d, n, i) {
333
333
  */
334
334
  u2 = function(d) {
335
335
  for (var n = 0; n < d.length; n += 1)
336
- g4(d[n], B(this, n0), B(this, i0));
337
- }, Md = function() {
336
+ C4(d[n], B(this, n0), B(this, i0));
337
+ }, xd = function() {
338
338
  if (B(this, B1) === 0) {
339
339
  for (const d of B(this, t0)) d();
340
340
  B(this, t0).clear();
341
341
  }
342
- B(this, U1) === 0 && R1(this, f1, xd).call(this);
343
- }, xd = function() {
342
+ B(this, U1) === 0 && R1(this, f1, Ud).call(this);
343
+ }, Ud = function() {
344
344
  var s;
345
345
  if (A0.size > 1) {
346
346
  this.previous.clear();
@@ -367,7 +367,7 @@ u2 = function(d) {
367
367
  p1 = [];
368
368
  const a = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Map();
369
369
  for (const g of o)
370
- Ud(g, l, a, f);
370
+ Bd(g, l, a, f);
371
371
  if (p1.length > 0) {
372
372
  H = $, $.apply();
373
373
  for (const g of p1)
@@ -382,7 +382,7 @@ u2 = function(d) {
382
382
  this.committed = !0, A0.delete(this);
383
383
  };
384
384
  let x0 = H0;
385
- function C4() {
385
+ function _4() {
386
386
  var t = H1;
387
387
  $2 = !0;
388
388
  var d = null;
@@ -392,7 +392,7 @@ function C4() {
392
392
  var i = x0.ensure();
393
393
  if (n++ > 1e3) {
394
394
  var s, $;
395
- _4();
395
+ m4();
396
396
  }
397
397
  i.process(p1), A1.clear();
398
398
  }
@@ -400,9 +400,9 @@ function C4() {
400
400
  $2 = !1, B0(t), m2 = null;
401
401
  }
402
402
  }
403
- function _4() {
403
+ function m4() {
404
404
  try {
405
- e4();
405
+ n4();
406
406
  } catch (t) {
407
407
  M0(t, m2);
408
408
  }
@@ -413,7 +413,7 @@ function ld(t) {
413
413
  if (d !== 0) {
414
414
  for (var n = 0; n < d; ) {
415
415
  var i = t[n++];
416
- if ((i.f & (v1 | Q1)) === 0 && _0(i) && (c1 = /* @__PURE__ */ new Set(), g0(i), i.deps === null && i.first === null && i.nodes === null && (i.teardown === null && i.ac === null ? qd(i) : i.fn = null), (c1 == null ? void 0 : c1.size) > 0)) {
416
+ if ((i.f & (v1 | Q1)) === 0 && _0(i) && (c1 = /* @__PURE__ */ new Set(), g0(i), i.deps === null && i.first === null && i.nodes === null && (i.teardown === null && i.ac === null ? Jd(i) : i.fn = null), (c1 == null ? void 0 : c1.size) > 0)) {
417
417
  A1.clear();
418
418
  for (const s of c1) {
419
419
  if ((s.f & (v1 | Q1)) !== 0) continue;
@@ -432,30 +432,30 @@ function ld(t) {
432
432
  c1 = null;
433
433
  }
434
434
  }
435
- function Ud(t, d, n, i) {
435
+ function Bd(t, d, n, i) {
436
436
  if (!n.has(t) && (n.add(t), t.reactions !== null))
437
437
  for (const s of t.reactions) {
438
438
  const $ = s.f;
439
- ($ & Z) !== 0 ? Ud(
439
+ ($ & Z) !== 0 ? Bd(
440
440
  /** @type {Derived} */
441
441
  s,
442
442
  d,
443
443
  n,
444
444
  i
445
- ) : ($ & (C2 | W1)) !== 0 && ($ & $1) === 0 && Bd(s, d, i) && (e1(s, $1), r0(
445
+ ) : ($ & (C2 | W1)) !== 0 && ($ & $1) === 0 && Fd(s, d, i) && (e1(s, $1), r0(
446
446
  /** @type {Effect} */
447
447
  s
448
448
  ));
449
449
  }
450
450
  }
451
- function Bd(t, d, n) {
451
+ function Fd(t, d, n) {
452
452
  const i = n.get(t);
453
453
  if (i !== void 0) return i;
454
454
  if (t.deps !== null)
455
455
  for (const s of t.deps) {
456
456
  if (d.includes(s))
457
457
  return !0;
458
- if ((s.f & Z) !== 0 && Bd(
458
+ if ((s.f & Z) !== 0 && Fd(
459
459
  /** @type {Derived} */
460
460
  s,
461
461
  d,
@@ -473,7 +473,7 @@ function r0(t) {
473
473
  for (var d = m2 = t; d.parent !== null; ) {
474
474
  d = d.parent;
475
475
  var n = d.f;
476
- if ($2 && d === x && (n & W1) !== 0 && (n & Dd) === 0)
476
+ if ($2 && d === x && (n & W1) !== 0 && (n & Pd) === 0)
477
477
  return;
478
478
  if ((n & (s0 | K1)) !== 0) {
479
479
  if ((n & d1) === 0) return;
@@ -482,7 +482,7 @@ function r0(t) {
482
482
  }
483
483
  p1.push(d);
484
484
  }
485
- function m4(t, d, n, i) {
485
+ function y4(t, d, n, i) {
486
486
  const s = y2;
487
487
  if (n.length === 0 && t.length === 0) {
488
488
  i(d.map(s));
@@ -491,9 +491,9 @@ function m4(t, d, n, i) {
491
491
  var $ = H, o = (
492
492
  /** @type {Effect} */
493
493
  x
494
- ), l = y4();
494
+ ), l = v4();
495
495
  function a() {
496
- Promise.all(n.map((f) => /* @__PURE__ */ v4(f))).then((f) => {
496
+ Promise.all(n.map((f) => /* @__PURE__ */ E4(f))).then((f) => {
497
497
  l();
498
498
  try {
499
499
  i([...d.map(s), ...f]);
@@ -514,7 +514,7 @@ function m4(t, d, n, i) {
514
514
  }
515
515
  }) : a();
516
516
  }
517
- function y4() {
517
+ function v4() {
518
518
  var t = x, d = P, n = g1, i = H;
519
519
  return function($ = !0) {
520
520
  b1(t), C1(d), R0(n), $ && (i == null || i.activate());
@@ -533,7 +533,7 @@ function y2(t) {
533
533
  ctx: g1,
534
534
  deps: null,
535
535
  effects: null,
536
- equals: Pd,
536
+ equals: Od,
537
537
  f: d,
538
538
  fn: t,
539
539
  reactions: null,
@@ -548,12 +548,12 @@ function y2(t) {
548
548
  };
549
549
  }
550
550
  // @__NO_SIDE_EFFECTS__
551
- function v4(t, d, n) {
551
+ function E4(t, d, n) {
552
552
  let i = (
553
553
  /** @type {Effect | null} */
554
554
  x
555
555
  );
556
- i === null && J3();
556
+ i === null && Q3();
557
557
  var s = (
558
558
  /** @type {Boundary} */
559
559
  i.b
@@ -561,13 +561,13 @@ function v4(t, d, n) {
561
561
  /** @type {Promise<V>} */
562
562
  /** @type {unknown} */
563
563
  void 0
564
- ), o = Vd(
564
+ ), o = kd(
565
565
  /** @type {V} */
566
566
  K
567
567
  ), l = !P, a = /* @__PURE__ */ new Map();
568
- return M4(() => {
568
+ return x4(() => {
569
569
  var E;
570
- var f = bd();
570
+ var f = Ld();
571
571
  $ = f.promise;
572
572
  try {
573
573
  Promise.resolve(t()).then(f.resolve, f.reject).then(() => {
@@ -597,7 +597,7 @@ function v4(t, d, n) {
597
597
  l && (s.update_pending_count(-1), g.decrement(_));
598
598
  };
599
599
  f.promise.then(m, (w) => m(null, w || "unknown"));
600
- }), Kd(() => {
600
+ }), jd(() => {
601
601
  for (const f of a.values())
602
602
  f.reject(X1);
603
603
  }), new Promise((f) => {
@@ -611,11 +611,11 @@ function v4(t, d, n) {
611
611
  });
612
612
  }
613
613
  // @__NO_SIDE_EFFECTS__
614
- function E4(t) {
614
+ function I4(t) {
615
615
  const d = /* @__PURE__ */ y2(t);
616
- return d.equals = u4, d;
616
+ return d.equals = l4, d;
617
617
  }
618
- function Fd(t) {
618
+ function Hd(t) {
619
619
  var d = t.effects;
620
620
  if (d !== null) {
621
621
  t.effects = null;
@@ -626,7 +626,7 @@ function Fd(t) {
626
626
  );
627
627
  }
628
628
  }
629
- function I4(t) {
629
+ function w4(t) {
630
630
  for (var d = t.parent; d !== null; ) {
631
631
  if ((d.f & Z) === 0)
632
632
  return (d.f & v1) === 0 ? (
@@ -639,32 +639,32 @@ function I4(t) {
639
639
  }
640
640
  function v2(t) {
641
641
  var d, n = x;
642
- b1(I4(t));
642
+ b1(w4(t));
643
643
  try {
644
- t.f &= ~V1, Fd(t), d = t3(t);
644
+ t.f &= ~V1, Hd(t), d = e3(t);
645
645
  } finally {
646
646
  b1(n);
647
647
  }
648
648
  return d;
649
649
  }
650
- function Hd(t) {
650
+ function Gd(t) {
651
651
  var d = v2(t);
652
- if (!t.equals(d) && (t.wv = Qd(), (!(H != null && H.is_fork) || t.deps === null) && (t.v = d, t.deps === null))) {
652
+ if (!t.equals(d) && (t.wv = d3(), (!(H != null && H.is_fork) || t.deps === null) && (t.v = d, t.deps === null))) {
653
653
  e1(t, d1);
654
654
  return;
655
655
  }
656
- T1 || (Y !== null ? (Wd() || H != null && H.is_fork) && Y.set(t, d) : _2(t));
656
+ T1 || (Y !== null ? (Kd() || H != null && H.is_fork) && Y.set(t, d) : _2(t));
657
657
  }
658
658
  let l2 = /* @__PURE__ */ new Set();
659
659
  const A1 = /* @__PURE__ */ new Map();
660
- let Gd = !1;
661
- function Vd(t, d) {
660
+ let Vd = !1;
661
+ function kd(t, d) {
662
662
  var n = {
663
663
  f: 0,
664
664
  // TODO ideally we could skip this altogether, but it causes type errors
665
665
  v: t,
666
666
  reactions: null,
667
- equals: Pd,
667
+ equals: Od,
668
668
  rv: 0,
669
669
  wv: 0
670
670
  };
@@ -672,13 +672,13 @@ function Vd(t, d) {
672
672
  }
673
673
  // @__NO_SIDE_EFFECTS__
674
674
  function l1(t, d) {
675
- const n = Vd(t);
676
- return F4(n), n;
675
+ const n = kd(t);
676
+ return H4(n), n;
677
677
  }
678
678
  function s1(t, d, n = !1) {
679
679
  P !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
680
680
  // to ensure we error if state is set inside an inspect effect
681
- (!h1 || (P.f & ud) !== 0) && Od() && (P.f & (Z | W1 | C2 | ud)) !== 0 && !(t1 != null && t1.includes(t)) && s4();
681
+ (!h1 || (P.f & ud) !== 0) && Rd() && (P.f & (Z | W1 | C2 | ud)) !== 0 && !(t1 != null && t1.includes(t)) && $4();
682
682
  let i = n ? J1(d) : d;
683
683
  return a2(t, i);
684
684
  }
@@ -694,12 +694,12 @@ function a2(t, d) {
694
694
  );
695
695
  (t.f & $1) !== 0 && v2(s), _2(s);
696
696
  }
697
- t.wv = Qd(), kd(t, $1), x !== null && (x.f & d1) !== 0 && (x.f & (K1 | s0)) === 0 && (u1 === null ? H4([t]) : u1.push(t)), !i.is_fork && l2.size > 0 && !Gd && w4();
697
+ t.wv = d3(), Wd(t, $1), x !== null && (x.f & d1) !== 0 && (x.f & (K1 | s0)) === 0 && (u1 === null ? G4([t]) : u1.push(t)), !i.is_fork && l2.size > 0 && !Vd && N4();
698
698
  }
699
699
  return d;
700
700
  }
701
- function w4() {
702
- Gd = !1;
701
+ function N4() {
702
+ Vd = !1;
703
703
  var t = H1;
704
704
  B0(!0);
705
705
  const d = Array.from(l2);
@@ -714,7 +714,7 @@ function w4() {
714
714
  function X0(t) {
715
715
  s1(t, t.v + 1);
716
716
  }
717
- function kd(t, d) {
717
+ function Wd(t, d) {
718
718
  var n = t.reactions;
719
719
  if (n !== null)
720
720
  for (var i = n.length, s = 0; s < i; s++) {
@@ -724,7 +724,7 @@ function kd(t, d) {
724
724
  /** @type {Derived} */
725
725
  $
726
726
  );
727
- Y == null || Y.delete(a), (o & V1) === 0 && (o & a1 && ($.f |= V1), kd(a, L1));
727
+ Y == null || Y.delete(a), (o & V1) === 0 && (o & a1 && ($.f |= V1), Wd(a, L1));
728
728
  } else l && ((o & W1) !== 0 && c1 !== null && c1.add(
729
729
  /** @type {Effect} */
730
730
  $
@@ -737,10 +737,10 @@ function kd(t, d) {
737
737
  function J1(t) {
738
738
  if (typeof t != "object" || t === null || F1 in t)
739
739
  return t;
740
- const d = Td(t);
741
- if (d !== j3 && d !== Y3)
740
+ const d = bd(t);
741
+ if (d !== Y3 && d !== Z3)
742
742
  return t;
743
- var n = /* @__PURE__ */ new Map(), i = Ad(t), s = /* @__PURE__ */ l1(0), $ = G1, o = (l) => {
743
+ var n = /* @__PURE__ */ new Map(), i = Td(t), s = /* @__PURE__ */ l1(0), $ = G1, o = (l) => {
744
744
  if (G1 === $)
745
745
  return l();
746
746
  var a = P, f = G1;
@@ -756,7 +756,7 @@ function J1(t) {
756
756
  t,
757
757
  {
758
758
  defineProperty(l, a, f) {
759
- (!("value" in f) || f.configurable === !1 || f.enumerable === !1 || f.writable === !1) && i4();
759
+ (!("value" in f) || f.configurable === !1 || f.enumerable === !1 || f.writable === !1) && r4();
760
760
  var g = n.get(a);
761
761
  return g === void 0 ? g = o(() => {
762
762
  var _ = /* @__PURE__ */ l1(f.value);
@@ -861,7 +861,7 @@ function J1(t) {
861
861
  return a;
862
862
  },
863
863
  setPrototypeOf() {
864
- r4();
864
+ s4();
865
865
  }
866
866
  }
867
867
  );
@@ -874,25 +874,25 @@ function ad(t) {
874
874
  }
875
875
  return t;
876
876
  }
877
- function N4(t, d) {
877
+ function S4(t, d) {
878
878
  return Object.is(ad(t), ad(d));
879
879
  }
880
- var S4, A4, T4;
880
+ var A4, T4, b4;
881
881
  // @__NO_SIDE_EFFECTS__
882
- function b4(t) {
882
+ function L4(t) {
883
883
  return (
884
884
  /** @type {TemplateNode | null} */
885
- A4.call(t)
885
+ T4.call(t)
886
886
  );
887
887
  }
888
888
  // @__NO_SIDE_EFFECTS__
889
- function L4(t) {
889
+ function D4(t) {
890
890
  return (
891
891
  /** @type {TemplateNode | null} */
892
- T4.call(t)
892
+ b4.call(t)
893
893
  );
894
894
  }
895
- function D4(t, d) {
895
+ function P4(t, d) {
896
896
  if (d) {
897
897
  const n = document.body;
898
898
  t.autofocus = !0, V0(() => {
@@ -909,10 +909,10 @@ function E2(t) {
909
909
  C1(d), b1(n);
910
910
  }
911
911
  }
912
- function P4(t) {
913
- x === null && (P === null && t4(), d4()), T1 && Q3();
912
+ function O4(t) {
913
+ x === null && (P === null && e4(), t4()), T1 && d4();
914
914
  }
915
- function O4(t, d) {
915
+ function R4(t, d) {
916
916
  var n = d.last;
917
917
  n === null ? d.last = d.first = t : (n.next = t, t.prev = n, d.last = t);
918
918
  }
@@ -944,7 +944,7 @@ function j1(t, d, n) {
944
944
  else d !== null && r0(s);
945
945
  var $ = s;
946
946
  if (n && $.deps === null && $.teardown === null && $.nodes === null && $.first === $.last && // either `null`, or a singular child
947
- ($.f & G0) === 0 && ($ = $.first, (t & W1) !== 0 && (t & od) !== 0 && $ !== null && ($.f |= od)), $ !== null && ($.parent = i, i !== null && O4($, i), P !== null && (P.f & Z) !== 0 && (t & s0) === 0)) {
947
+ ($.f & G0) === 0 && ($ = $.first, (t & W1) !== 0 && (t & od) !== 0 && $ !== null && ($.f |= od)), $ !== null && ($.parent = i, i !== null && R4($, i), P !== null && (P.f & Z) !== 0 && (t & s0) === 0)) {
948
948
  var o = (
949
949
  /** @type {Derived} */
950
950
  P
@@ -953,15 +953,15 @@ function j1(t, d, n) {
953
953
  }
954
954
  return s;
955
955
  }
956
- function Wd() {
956
+ function Kd() {
957
957
  return P !== null && !h1;
958
958
  }
959
- function Kd(t) {
959
+ function jd(t) {
960
960
  const d = j1(h2, null, !1);
961
961
  return e1(d, d1), d.teardown = t, d;
962
962
  }
963
- function R4(t) {
964
- P4();
963
+ function M4(t) {
964
+ O4();
965
965
  var d = (
966
966
  /** @type {Effect} */
967
967
  x.f
@@ -973,28 +973,28 @@ function R4(t) {
973
973
  );
974
974
  (i.e ?? (i.e = [])).push(t);
975
975
  } else
976
- return jd(t);
976
+ return Yd(t);
977
977
  }
978
- function jd(t) {
979
- return j1(O0 | z3, t, !1);
978
+ function Yd(t) {
979
+ return j1(O0 | X3, t, !1);
980
980
  }
981
981
  function I2(t) {
982
982
  return j1(O0, t, !1);
983
983
  }
984
- function M4(t) {
984
+ function x4(t) {
985
985
  return j1(C2 | G0, t, !0);
986
986
  }
987
- function x4(t, d = 0) {
987
+ function U4(t, d = 0) {
988
988
  return j1(h2 | d, t, !0);
989
989
  }
990
- function Yd(t, d = 0) {
990
+ function Zd(t, d = 0) {
991
991
  var n = j1(p2 | d, t, !0);
992
992
  return n;
993
993
  }
994
- function Zd(t) {
994
+ function zd(t) {
995
995
  return j1(K1 | G0, t, !0);
996
996
  }
997
- function zd(t) {
997
+ function Xd(t) {
998
998
  var d = t.teardown;
999
999
  if (d !== null) {
1000
1000
  const n = T1, i = P;
@@ -1006,7 +1006,7 @@ function zd(t) {
1006
1006
  }
1007
1007
  }
1008
1008
  }
1009
- function Xd(t, d = !1) {
1009
+ function qd(t, d = !1) {
1010
1010
  var n = t.first;
1011
1011
  for (t.first = t.last = null; n !== null; ) {
1012
1012
  const s = n.ac;
@@ -1017,7 +1017,7 @@ function Xd(t, d = !1) {
1017
1017
  (n.f & s0) !== 0 ? n.parent = null : k1(n, d), n = i;
1018
1018
  }
1019
1019
  }
1020
- function U4(t) {
1020
+ function B4(t) {
1021
1021
  for (var d = t.first; d !== null; ) {
1022
1022
  var n = d.next;
1023
1023
  (d.f & K1) === 0 && k1(d), d = n;
@@ -1025,26 +1025,26 @@ function U4(t) {
1025
1025
  }
1026
1026
  function k1(t, d = !0) {
1027
1027
  var n = !1;
1028
- (d || (t.f & Dd) !== 0) && t.nodes !== null && t.nodes.end !== null && (B4(
1028
+ (d || (t.f & Pd) !== 0) && t.nodes !== null && t.nodes.end !== null && (F4(
1029
1029
  t.nodes.start,
1030
1030
  /** @type {TemplateNode} */
1031
1031
  t.nodes.end
1032
- ), n = !0), Xd(t, d && !n), F0(t, 0), e1(t, v1);
1032
+ ), n = !0), qd(t, d && !n), F0(t, 0), e1(t, v1);
1033
1033
  var i = t.nodes && t.nodes.t;
1034
1034
  if (i !== null)
1035
1035
  for (const $ of i)
1036
1036
  $.stop();
1037
- zd(t);
1037
+ Xd(t);
1038
1038
  var s = t.parent;
1039
- s !== null && s.first !== null && qd(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes = t.ac = null;
1039
+ s !== null && s.first !== null && Jd(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes = t.ac = null;
1040
1040
  }
1041
- function B4(t, d) {
1041
+ function F4(t, d) {
1042
1042
  for (; t !== null; ) {
1043
- var n = t === d ? null : /* @__PURE__ */ L4(t);
1043
+ var n = t === d ? null : /* @__PURE__ */ D4(t);
1044
1044
  t.remove(), t = n;
1045
1045
  }
1046
1046
  }
1047
- function qd(t) {
1047
+ function Jd(t) {
1048
1048
  var d = t.parent, n = t.prev, i = t.next;
1049
1049
  n !== null && (n.next = i), i !== null && (i.prev = n), d !== null && (d.first === t && (d.first = i), d.last === t && (d.last = n));
1050
1050
  }
@@ -1065,19 +1065,19 @@ function b1(t) {
1065
1065
  x = t;
1066
1066
  }
1067
1067
  let t1 = null;
1068
- function F4(t) {
1068
+ function H4(t) {
1069
1069
  P !== null && (t1 === null ? t1 = [t] : t1.push(t));
1070
1070
  }
1071
1071
  let i1 = null, r1 = 0, u1 = null;
1072
- function H4(t) {
1072
+ function G4(t) {
1073
1073
  u1 = t;
1074
1074
  }
1075
- let Jd = 1, x1 = 0, G1 = x1;
1075
+ let Qd = 1, x1 = 0, G1 = x1;
1076
1076
  function cd(t) {
1077
1077
  G1 = t;
1078
1078
  }
1079
- function Qd() {
1080
- return ++Jd;
1079
+ function d3() {
1080
+ return ++Qd;
1081
1081
  }
1082
1082
  function _0(t) {
1083
1083
  var d = t.f;
@@ -1092,7 +1092,7 @@ function _0(t) {
1092
1092
  if (_0(
1093
1093
  /** @type {Derived} */
1094
1094
  $
1095
- ) && Hd(
1095
+ ) && Gd(
1096
1096
  /** @type {Derived} */
1097
1097
  $
1098
1098
  ), $.wv > t.wv)
@@ -1104,12 +1104,12 @@ function _0(t) {
1104
1104
  }
1105
1105
  return !1;
1106
1106
  }
1107
- function d3(t, d, n = !0) {
1107
+ function t3(t, d, n = !0) {
1108
1108
  var i = t.reactions;
1109
1109
  if (i !== null && !(t1 != null && t1.includes(t)))
1110
1110
  for (var s = 0; s < i.length; s++) {
1111
1111
  var $ = i[s];
1112
- ($.f & Z) !== 0 ? d3(
1112
+ ($.f & Z) !== 0 ? t3(
1113
1113
  /** @type {Derived} */
1114
1114
  $,
1115
1115
  d,
@@ -1120,7 +1120,7 @@ function d3(t, d, n = !0) {
1120
1120
  ));
1121
1121
  }
1122
1122
  }
1123
- function t3(t) {
1123
+ function e3(t) {
1124
1124
  var w;
1125
1125
  var d = i1, n = r1, i = u1, s = P, $ = t1, o = g1, l = h1, a = G1, f = t.f;
1126
1126
  i1 = /** @type {null | Value[]} */
@@ -1140,14 +1140,14 @@ function t3(t) {
1140
1140
  m[r1 + E] = i1[E];
1141
1141
  else
1142
1142
  t.deps = m = i1;
1143
- if (Wd() && (t.f & a1) !== 0)
1143
+ if (Kd() && (t.f & a1) !== 0)
1144
1144
  for (E = r1; E < m.length; E++)
1145
1145
  ((w = m[E]).reactions ?? (w.reactions = [])).push(t);
1146
1146
  } else m !== null && r1 < m.length && (F0(t, r1), m.length = r1);
1147
- if (Od() && u1 !== null && !h1 && m !== null && (t.f & (Z | L1 | $1)) === 0)
1147
+ if (Rd() && u1 !== null && !h1 && m !== null && (t.f & (Z | L1 | $1)) === 0)
1148
1148
  for (E = 0; E < /** @type {Source[]} */
1149
1149
  u1.length; E++)
1150
- d3(
1150
+ t3(
1151
1151
  u1[E],
1152
1152
  /** @type {Effect} */
1153
1153
  t
@@ -1164,15 +1164,15 @@ function t3(t) {
1164
1164
  }
1165
1165
  return (t.f & S1) !== 0 && (t.f ^= S1), _;
1166
1166
  } catch (T) {
1167
- return h4(T);
1167
+ return p4(T);
1168
1168
  } finally {
1169
1169
  t.f ^= s2, i1 = d, r1 = n, u1 = i, P = s, t1 = $, R0(o), h1 = l, G1 = a;
1170
1170
  }
1171
1171
  }
1172
- function G4(t, d) {
1172
+ function V4(t, d) {
1173
1173
  let n = d.reactions;
1174
1174
  if (n !== null) {
1175
- var i = k3.call(n, t);
1175
+ var i = W3.call(n, t);
1176
1176
  if (i !== -1) {
1177
1177
  var s = n.length - 1;
1178
1178
  s === 0 ? n = d.reactions = null : (n[i] = n[s], n.pop());
@@ -1186,14 +1186,14 @@ function G4(t, d) {
1186
1186
  /** @type {Derived} */
1187
1187
  d
1188
1188
  );
1189
- ($.f & a1) !== 0 && ($.f ^= a1, $.f &= ~V1), _2($), Fd($), F0($, 0);
1189
+ ($.f & a1) !== 0 && ($.f ^= a1, $.f &= ~V1), _2($), Hd($), F0($, 0);
1190
1190
  }
1191
1191
  }
1192
1192
  function F0(t, d) {
1193
1193
  var n = t.deps;
1194
1194
  if (n !== null)
1195
1195
  for (var i = d; i < n.length; i++)
1196
- G4(t, n[i]);
1196
+ V4(t, n[i]);
1197
1197
  }
1198
1198
  function g0(t) {
1199
1199
  var d = t.f;
@@ -1202,11 +1202,11 @@ function g0(t) {
1202
1202
  var n = x, i = H1;
1203
1203
  x = t, H1 = !0;
1204
1204
  try {
1205
- (d & (W1 | p2)) !== 0 ? U4(t) : Xd(t), zd(t);
1206
- var s = t3(t);
1207
- t.teardown = typeof s == "function" ? s : null, t.wv = Jd;
1205
+ (d & (W1 | p2)) !== 0 ? B4(t) : qd(t), Xd(t);
1206
+ var s = e3(t);
1207
+ t.teardown = typeof s == "function" ? s : null, t.wv = Qd;
1208
1208
  var $;
1209
- r2 && l4 && (t.f & $1) !== 0 && t.deps;
1209
+ r2 && a4 && (t.f & $1) !== 0 && t.deps;
1210
1210
  } finally {
1211
1211
  H1 = i, x = n;
1212
1212
  }
@@ -1236,10 +1236,10 @@ function O(t) {
1236
1236
  );
1237
1237
  if (T1) {
1238
1238
  var l = o.v;
1239
- return ((o.f & d1) === 0 && o.reactions !== null || n3(o)) && (l = v2(o)), A1.set(o, l), l;
1239
+ return ((o.f & d1) === 0 && o.reactions !== null || i3(o)) && (l = v2(o)), A1.set(o, l), l;
1240
1240
  }
1241
1241
  var a = (o.f & a1) === 0 && !h1 && P !== null && (H1 || (P.f & a1) !== 0), f = o.deps === null;
1242
- _0(o) && (a && (o.f |= a1), Hd(o)), a && !f && e3(o);
1242
+ _0(o) && (a && (o.f |= a1), Gd(o)), a && !f && n3(o);
1243
1243
  }
1244
1244
  if (Y != null && Y.has(t))
1245
1245
  return Y.get(t);
@@ -1247,28 +1247,28 @@ function O(t) {
1247
1247
  throw t.v;
1248
1248
  return t.v;
1249
1249
  }
1250
- function e3(t) {
1250
+ function n3(t) {
1251
1251
  if (t.deps !== null) {
1252
1252
  t.f |= a1;
1253
1253
  for (const d of t.deps)
1254
- (d.reactions ?? (d.reactions = [])).push(t), (d.f & Z) !== 0 && (d.f & a1) === 0 && e3(
1254
+ (d.reactions ?? (d.reactions = [])).push(t), (d.f & Z) !== 0 && (d.f & a1) === 0 && n3(
1255
1255
  /** @type {Derived} */
1256
1256
  d
1257
1257
  );
1258
1258
  }
1259
1259
  }
1260
- function n3(t) {
1260
+ function i3(t) {
1261
1261
  if (t.v === K) return !0;
1262
1262
  if (t.deps === null) return !1;
1263
1263
  for (const d of t.deps)
1264
- if (A1.has(d) || (d.f & Z) !== 0 && n3(
1264
+ if (A1.has(d) || (d.f & Z) !== 0 && i3(
1265
1265
  /** @type {Derived} */
1266
1266
  d
1267
1267
  ))
1268
1268
  return !0;
1269
1269
  return !1;
1270
1270
  }
1271
- function i3(t) {
1271
+ function r3(t) {
1272
1272
  var d = h1;
1273
1273
  try {
1274
1274
  return h1 = !0, t();
@@ -1276,24 +1276,24 @@ function i3(t) {
1276
1276
  h1 = d;
1277
1277
  }
1278
1278
  }
1279
- const V4 = /* @__PURE__ */ new Set(), k4 = /* @__PURE__ */ new Set();
1280
- function W4(t, d, n, i = {}) {
1279
+ const k4 = /* @__PURE__ */ new Set(), W4 = /* @__PURE__ */ new Set();
1280
+ function K4(t, d, n, i = {}) {
1281
1281
  function s($) {
1282
- if (i.capture || j4.call(d, $), !$.cancelBubble)
1282
+ if (i.capture || Y4.call(d, $), !$.cancelBubble)
1283
1283
  return E2(() => n == null ? void 0 : n.call(this, $));
1284
1284
  }
1285
1285
  return t.startsWith("pointer") || t.startsWith("touch") || t === "wheel" ? V0(() => {
1286
1286
  d.addEventListener(t, s, i);
1287
1287
  }) : d.addEventListener(t, s, i), s;
1288
1288
  }
1289
- function K4(t) {
1289
+ function j4(t) {
1290
1290
  for (var d = 0; d < t.length; d++)
1291
- V4.add(t[d]);
1292
- for (var n of k4)
1291
+ k4.add(t[d]);
1292
+ for (var n of W4)
1293
1293
  n(t);
1294
1294
  }
1295
1295
  let hd = null;
1296
- function j4(t) {
1296
+ function Y4(t) {
1297
1297
  var D;
1298
1298
  var d = this, n = (
1299
1299
  /** @type {Node} */
@@ -1318,7 +1318,7 @@ function j4(t) {
1318
1318
  }
1319
1319
  if ($ = /** @type {Element} */
1320
1320
  s[o] || t.target, $ !== d) {
1321
- W3(t, "currentTarget", {
1321
+ K3(t, "currentTarget", {
1322
1322
  configurable: !0,
1323
1323
  get() {
1324
1324
  return $ || n;
@@ -1355,11 +1355,11 @@ function j4(t) {
1355
1355
  }
1356
1356
  }
1357
1357
  }
1358
- function Y4(t) {
1358
+ function Z4(t) {
1359
1359
  var d = document.createElement("template");
1360
1360
  return d.innerHTML = t.replaceAll("<!>", "<!---->"), d.content;
1361
1361
  }
1362
- function Z4(t, d) {
1362
+ function z4(t, d) {
1363
1363
  var n = (
1364
1364
  /** @type {Effect} */
1365
1365
  x
@@ -1367,28 +1367,28 @@ function Z4(t, d) {
1367
1367
  n.nodes === null && (n.nodes = { start: t, end: d, a: null, t: null });
1368
1368
  }
1369
1369
  // @__NO_SIDE_EFFECTS__
1370
- function z4(t, d) {
1371
- var n = (d & H3) !== 0, i, s = !t.startsWith("<!>");
1370
+ function X4(t, d) {
1371
+ var n = (d & G3) !== 0, i, s = !t.startsWith("<!>");
1372
1372
  return () => {
1373
- i === void 0 && (i = Y4(s ? t : "<!>" + t), i = /** @type {TemplateNode} */
1374
- /* @__PURE__ */ b4(i));
1373
+ i === void 0 && (i = Z4(s ? t : "<!>" + t), i = /** @type {TemplateNode} */
1374
+ /* @__PURE__ */ L4(i));
1375
1375
  var $ = (
1376
1376
  /** @type {TemplateNode} */
1377
- n || S4 ? document.importNode(i, !0) : i.cloneNode(!0)
1377
+ n || A4 ? document.importNode(i, !0) : i.cloneNode(!0)
1378
1378
  );
1379
- return Z4($, $), $;
1379
+ return z4($, $), $;
1380
1380
  };
1381
1381
  }
1382
- function X4(t, d) {
1382
+ function q4(t, d) {
1383
1383
  t !== null && t.before(
1384
1384
  /** @type {Node} */
1385
1385
  d
1386
1386
  );
1387
1387
  }
1388
- function q4(t) {
1388
+ function J4(t) {
1389
1389
  return t.endsWith("capture") && t !== "gotpointercapture" && t !== "lostpointercapture";
1390
1390
  }
1391
- const J4 = [
1391
+ const Q4 = [
1392
1392
  "beforeinput",
1393
1393
  "click",
1394
1394
  "change",
@@ -1413,10 +1413,10 @@ const J4 = [
1413
1413
  "touchmove",
1414
1414
  "touchstart"
1415
1415
  ];
1416
- function Q4(t) {
1417
- return J4.includes(t);
1416
+ function d9(t) {
1417
+ return Q4.includes(t);
1418
1418
  }
1419
- const d9 = {
1419
+ const t9 = {
1420
1420
  // no `class: 'className'` because we handle that separately
1421
1421
  formnovalidate: "formNoValidate",
1422
1422
  ismap: "isMap",
@@ -1431,13 +1431,13 @@ const d9 = {
1431
1431
  disablepictureinpicture: "disablePictureInPicture",
1432
1432
  disableremoteplayback: "disableRemotePlayback"
1433
1433
  };
1434
- function t9(t) {
1435
- return t = t.toLowerCase(), d9[t] ?? t;
1434
+ function e9(t) {
1435
+ return t = t.toLowerCase(), t9[t] ?? t;
1436
1436
  }
1437
- function e9(t, d) {
1437
+ function n9(t, d) {
1438
1438
  var n = void 0, i;
1439
- Yd(() => {
1440
- n !== (n = d()) && (i && (k1(i), i = null), n && (i = Zd(() => {
1439
+ Zd(() => {
1440
+ n !== (n = d()) && (i && (k1(i), i = null), n && (i = zd(() => {
1441
1441
  I2(() => (
1442
1442
  /** @type {(node: Element) => void} */
1443
1443
  n(t)
@@ -1445,25 +1445,25 @@ function e9(t, d) {
1445
1445
  })));
1446
1446
  });
1447
1447
  }
1448
- function r3(t) {
1448
+ function s3(t) {
1449
1449
  var d, n, i = "";
1450
1450
  if (typeof t == "string" || typeof t == "number") i += t;
1451
1451
  else if (typeof t == "object") if (Array.isArray(t)) {
1452
1452
  var s = t.length;
1453
- for (d = 0; d < s; d++) t[d] && (n = r3(t[d])) && (i && (i += " "), i += n);
1453
+ for (d = 0; d < s; d++) t[d] && (n = s3(t[d])) && (i && (i += " "), i += n);
1454
1454
  } else for (n in t) t[n] && (i && (i += " "), i += n);
1455
1455
  return i;
1456
1456
  }
1457
- function n9() {
1458
- for (var t, d, n = 0, i = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (d = r3(t)) && (i && (i += " "), i += d);
1457
+ function i9() {
1458
+ for (var t, d, n = 0, i = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (d = s3(t)) && (i && (i += " "), i += d);
1459
1459
  return i;
1460
1460
  }
1461
- function i9(t) {
1462
- return typeof t == "object" ? n9(t) : t ?? "";
1461
+ function r9(t) {
1462
+ return typeof t == "object" ? i9(t) : t ?? "";
1463
1463
  }
1464
1464
  const pd = [...`
1465
1465
  \r\f \v\uFEFF`];
1466
- function r9(t, d, n) {
1466
+ function s9(t, d, n) {
1467
1467
  var i = t == null ? "" : "" + t;
1468
1468
  if (n) {
1469
1469
  for (var s in n)
@@ -1488,7 +1488,7 @@ function gd(t, d = !1) {
1488
1488
  function q0(t) {
1489
1489
  return t[0] !== "-" || t[1] !== "-" ? t.toLowerCase() : t;
1490
1490
  }
1491
- function s9(t, d) {
1491
+ function $9(t, d) {
1492
1492
  if (d) {
1493
1493
  var n = "", i, s;
1494
1494
  if (Array.isArray(d) ? (i = d[0], s = d[1]) : i = d, t) {
@@ -1520,10 +1520,10 @@ function s9(t, d) {
1520
1520
  }
1521
1521
  return t == null ? null : String(t);
1522
1522
  }
1523
- function $9(t, d, n, i, s, $) {
1523
+ function o9(t, d, n, i, s, $) {
1524
1524
  var o = t.__className;
1525
1525
  if (o !== n || o === void 0) {
1526
- var l = r9(n, i, $);
1526
+ var l = s9(n, i, $);
1527
1527
  l == null ? t.removeAttribute("class") : d ? t.className = l : t.setAttribute("class", l), t.__className = n;
1528
1528
  } else if ($ && s !== $)
1529
1529
  for (var a in $) {
@@ -1538,10 +1538,10 @@ function J0(t, d = {}, n, i) {
1538
1538
  d[s] !== $ && (n[s] == null ? t.style.removeProperty(s) : t.style.setProperty(s, $, i));
1539
1539
  }
1540
1540
  }
1541
- function o9(t, d, n, i) {
1541
+ function u9(t, d, n, i) {
1542
1542
  var s = t.__style;
1543
1543
  if (s !== d) {
1544
- var $ = s9(d, i);
1544
+ var $ = $9(d, i);
1545
1545
  $ == null ? t.removeAttribute("style") : t.style.cssText = $, t.__style = d;
1546
1546
  } else i && (Array.isArray(i) ? (J0(t, n == null ? void 0 : n[0], i[0]), J0(t, n == null ? void 0 : n[1], i[1], "important")) : J0(t, n, i));
1547
1547
  return i;
@@ -1550,22 +1550,22 @@ function f2(t, d, n = !1) {
1550
1550
  if (t.multiple) {
1551
1551
  if (d == null)
1552
1552
  return;
1553
- if (!Ad(d))
1554
- return $4();
1553
+ if (!Td(d))
1554
+ return o4();
1555
1555
  for (var i of t.options)
1556
1556
  i.selected = d.includes(Cd(i));
1557
1557
  return;
1558
1558
  }
1559
1559
  for (i of t.options) {
1560
1560
  var s = Cd(i);
1561
- if (N4(s, d)) {
1561
+ if (S4(s, d)) {
1562
1562
  i.selected = !0;
1563
1563
  return;
1564
1564
  }
1565
1565
  }
1566
1566
  (!n || d !== void 0) && (t.selectedIndex = -1);
1567
1567
  }
1568
- function u9(t) {
1568
+ function l9(t) {
1569
1569
  var d = new MutationObserver(() => {
1570
1570
  f2(t, t.__value);
1571
1571
  });
@@ -1579,27 +1579,27 @@ function u9(t) {
1579
1579
  // because that property is not reflected as an attribute)
1580
1580
  attributes: !0,
1581
1581
  attributeFilter: ["value"]
1582
- }), Kd(() => {
1582
+ }), jd(() => {
1583
1583
  d.disconnect();
1584
1584
  });
1585
1585
  }
1586
1586
  function Cd(t) {
1587
1587
  return "__value" in t ? t.__value : t.value;
1588
1588
  }
1589
- const c0 = Symbol("class"), h0 = Symbol("style"), s3 = Symbol("is custom element"), $3 = Symbol("is html");
1590
- function l9(t, d) {
1589
+ const c0 = Symbol("class"), h0 = Symbol("style"), $3 = Symbol("is custom element"), o3 = Symbol("is html");
1590
+ function a9(t, d) {
1591
1591
  d ? t.hasAttribute("selected") || t.setAttribute("selected", "") : t.removeAttribute("selected");
1592
1592
  }
1593
1593
  function _d(t, d, n, i) {
1594
- var s = o3(t);
1595
- s[d] !== (s[d] = n) && (d === "loading" && (t[q3] = n), n == null ? t.removeAttribute(d) : typeof n != "string" && u3(t).includes(d) ? t[d] = n : t.setAttribute(d, n));
1594
+ var s = u3(t);
1595
+ s[d] !== (s[d] = n) && (d === "loading" && (t[J3] = n), n == null ? t.removeAttribute(d) : typeof n != "string" && l3(t).includes(d) ? t[d] = n : t.setAttribute(d, n));
1596
1596
  }
1597
- function a9(t, d, n, i, s = !1, $ = !1) {
1598
- var o = o3(t), l = o[s3], a = !o[$3], f = d || {}, g = t.tagName === "OPTION";
1597
+ function f9(t, d, n, i, s = !1, $ = !1) {
1598
+ var o = u3(t), l = o[$3], a = !o[o3], f = d || {}, g = t.tagName === "OPTION";
1599
1599
  for (var _ in d)
1600
1600
  _ in n || (n[_] = null);
1601
- n.class ? n.class = i9(n.class) : n[c0] && (n.class = null), n[h0] && (n.style ?? (n.style = null));
1602
- var m = u3(t);
1601
+ n.class ? n.class = r9(n.class) : n[c0] && (n.class = null), n[h0] && (n.style ?? (n.style = null));
1602
+ var m = l3(t);
1603
1603
  for (const v in n) {
1604
1604
  let b = n[v];
1605
1605
  if (g && v === "value" && b == null) {
@@ -1608,11 +1608,11 @@ function a9(t, d, n, i, s = !1, $ = !1) {
1608
1608
  }
1609
1609
  if (v === "class") {
1610
1610
  var E = t.namespaceURI === "http://www.w3.org/1999/xhtml";
1611
- $9(t, E, b, i, d == null ? void 0 : d[c0], n[c0]), f[v] = b, f[c0] = n[c0];
1611
+ o9(t, E, b, i, d == null ? void 0 : d[c0], n[c0]), f[v] = b, f[c0] = n[c0];
1612
1612
  continue;
1613
1613
  }
1614
1614
  if (v === "style") {
1615
- o9(t, b, d == null ? void 0 : d[h0], n[h0]), f[v] = b, f[h0] = n[h0];
1615
+ u9(t, b, d == null ? void 0 : d[h0], n[h0]), f[v] = b, f[h0] = n[h0];
1616
1616
  continue;
1617
1617
  }
1618
1618
  var w = f[v];
@@ -1623,25 +1623,25 @@ function a9(t, d, n, i, s = !1, $ = !1) {
1623
1623
  if (T === "on") {
1624
1624
  const G = {}, V = "$$" + v;
1625
1625
  let W = v.slice(2);
1626
- var D = Q4(W);
1627
- if (q4(W) && (W = W.slice(0, -7), G.capture = !0), !D && w) {
1626
+ var D = d9(W);
1627
+ if (J4(W) && (W = W.slice(0, -7), G.capture = !0), !D && w) {
1628
1628
  if (b != null) continue;
1629
1629
  t.removeEventListener(W, f[V], G), f[V] = null;
1630
1630
  }
1631
1631
  if (b != null)
1632
1632
  if (D)
1633
- t[`__${W}`] = b, K4([W]);
1633
+ t[`__${W}`] = b, j4([W]);
1634
1634
  else {
1635
1635
  let z = function(Y1) {
1636
1636
  f[v].call(this, Y1);
1637
1637
  };
1638
- f[V] = W4(W, t, z, G);
1638
+ f[V] = K4(W, t, z, G);
1639
1639
  }
1640
1640
  else D && (t[`__${W}`] = void 0);
1641
1641
  } else if (v === "style")
1642
1642
  _d(t, v, b);
1643
1643
  else if (v === "autofocus")
1644
- D4(
1644
+ P4(
1645
1645
  /** @type {HTMLElement} */
1646
1646
  t,
1647
1647
  !!b
@@ -1649,14 +1649,14 @@ function a9(t, d, n, i, s = !1, $ = !1) {
1649
1649
  else if (!l && (v === "__value" || v === "value" && b != null))
1650
1650
  t.value = t.__value = b;
1651
1651
  else if (v === "selected" && g)
1652
- l9(
1652
+ a9(
1653
1653
  /** @type {HTMLOptionElement} */
1654
1654
  t,
1655
1655
  b
1656
1656
  );
1657
1657
  else {
1658
1658
  var S = v;
1659
- a || (S = t9(S));
1659
+ a || (S = e9(S));
1660
1660
  var A = S === "defaultValue" || S === "defaultChecked";
1661
1661
  if (b == null && !l && !A)
1662
1662
  if (o[v] = null, S === "value" || S === "checked") {
@@ -1680,11 +1680,11 @@ function a9(t, d, n, i, s = !1, $ = !1) {
1680
1680
  }
1681
1681
  return f;
1682
1682
  }
1683
- function f9(t, d, n = [], i = [], s = [], $, o = !1, l = !1) {
1684
- m4(s, n, i, (a) => {
1683
+ function c9(t, d, n = [], i = [], s = [], $, o = !1, l = !1) {
1684
+ y4(s, n, i, (a) => {
1685
1685
  var f = void 0, g = {}, _ = t.nodeName === "SELECT", m = !1;
1686
- if (Yd(() => {
1687
- var w = d(...a.map(O)), T = a9(
1686
+ if (Zd(() => {
1687
+ var w = d(...a.map(O)), T = f9(
1688
1688
  t,
1689
1689
  f,
1690
1690
  w,
@@ -1701,7 +1701,7 @@ function f9(t, d, n = [], i = [], s = [], $, o = !1, l = !1) {
1701
1701
  w[S] || k1(g[S]);
1702
1702
  for (let S of Object.getOwnPropertySymbols(w)) {
1703
1703
  var D = w[S];
1704
- S.description === V3 && (!f || D !== f[S]) && (g[S] && k1(g[S]), g[S] = Zd(() => e9(t, () => D))), T[S] = D;
1704
+ S.description === k3 && (!f || D !== f[S]) && (g[S] && k1(g[S]), g[S] = zd(() => n9(t, () => D))), T[S] = D;
1705
1705
  }
1706
1706
  f = T;
1707
1707
  }), _) {
@@ -1715,43 +1715,43 @@ function f9(t, d, n = [], i = [], s = [], $, o = !1, l = !1) {
1715
1715
  /** @type {Record<string | symbol, any>} */
1716
1716
  f.value,
1717
1717
  !0
1718
- ), u9(E);
1718
+ ), l9(E);
1719
1719
  });
1720
1720
  }
1721
1721
  m = !0;
1722
1722
  });
1723
1723
  }
1724
- function o3(t) {
1724
+ function u3(t) {
1725
1725
  return (
1726
1726
  /** @type {Record<string | symbol, unknown>} **/
1727
1727
  // @ts-expect-error
1728
1728
  t.__attributes ?? (t.__attributes = {
1729
- [s3]: t.nodeName.includes("-"),
1730
- [$3]: t.namespaceURI === G3
1729
+ [$3]: t.nodeName.includes("-"),
1730
+ [o3]: t.namespaceURI === V3
1731
1731
  })
1732
1732
  );
1733
1733
  }
1734
1734
  var md = /* @__PURE__ */ new Map();
1735
- function u3(t) {
1735
+ function l3(t) {
1736
1736
  var d = t.getAttribute("is") || t.nodeName, n = md.get(d);
1737
1737
  if (n) return n;
1738
1738
  md.set(d, n = []);
1739
1739
  for (var i, s = t, $ = Element.prototype; $ !== s; ) {
1740
- i = K3(s);
1740
+ i = j3(s);
1741
1741
  for (var o in i)
1742
1742
  i[o].set && n.push(o);
1743
- s = Td(s);
1743
+ s = bd(s);
1744
1744
  }
1745
1745
  return n;
1746
1746
  }
1747
1747
  function yd(t, d) {
1748
1748
  return t === d || (t == null ? void 0 : t[F1]) === d;
1749
1749
  }
1750
- function c9(t = {}, d, n, i) {
1750
+ function h9(t = {}, d, n, i) {
1751
1751
  return I2(() => {
1752
1752
  var s, $;
1753
- return x4(() => {
1754
- s = $, $ = [], i3(() => {
1753
+ return U4(() => {
1754
+ s = $, $ = [], r3(() => {
1755
1755
  t !== n(...$) && (d(t, ...$), s && yd(n(...s), t) && d(null, ...s));
1756
1756
  });
1757
1757
  }), () => {
@@ -1762,7 +1762,7 @@ function c9(t = {}, d, n, i) {
1762
1762
  }), t;
1763
1763
  }
1764
1764
  let T0 = !1;
1765
- function h9(t) {
1765
+ function p9(t) {
1766
1766
  var d = T0;
1767
1767
  try {
1768
1768
  return T0 = !1, [t(), T0];
@@ -1772,10 +1772,10 @@ function h9(t) {
1772
1772
  }
1773
1773
  function b0(t, d, n, i) {
1774
1774
  var A;
1775
- var s = (n & B3) !== 0, $ = (n & F3) !== 0, o = (
1775
+ var s = (n & F3) !== 0, $ = (n & H3) !== 0, o = (
1776
1776
  /** @type {V} */
1777
1777
  i
1778
- ), l = !0, a = () => (l && (l = !1, o = $ ? i3(
1778
+ ), l = !0, a = () => (l && (l = !1, o = $ ? r3(
1779
1779
  /** @type {() => V} */
1780
1780
  i
1781
1781
  ) : (
@@ -1783,15 +1783,15 @@ function b0(t, d, n, i) {
1783
1783
  i
1784
1784
  )), o), f;
1785
1785
  if (s) {
1786
- var g = F1 in t || X3 in t;
1786
+ var g = F1 in t || q3 in t;
1787
1787
  f = ((A = D0(t, d)) == null ? void 0 : A.set) ?? (g && d in t ? (v) => t[d] = v : void 0);
1788
1788
  }
1789
1789
  var _, m = !1;
1790
- s ? [_, m] = h9(() => (
1790
+ s ? [_, m] = p9(() => (
1791
1791
  /** @type {V} */
1792
1792
  t[d]
1793
1793
  )) : _ = /** @type {V} */
1794
- t[d], _ === void 0 && i !== void 0 && (_ = a(), f && (n4(), f(_)));
1794
+ t[d], _ === void 0 && i !== void 0 && (_ = a(), f && (i4(), f(_)));
1795
1795
  var E;
1796
1796
  if (E = () => {
1797
1797
  var v = (
@@ -1799,7 +1799,7 @@ function b0(t, d, n, i) {
1799
1799
  t[d]
1800
1800
  );
1801
1801
  return v === void 0 ? a() : (l = !0, v);
1802
- }, (n & U3) === 0)
1802
+ }, (n & B3) === 0)
1803
1803
  return E;
1804
1804
  if (f) {
1805
1805
  var w = t.$$legacy;
@@ -1810,7 +1810,7 @@ function b0(t, d, n, i) {
1810
1810
  })
1811
1811
  );
1812
1812
  }
1813
- var T = !1, D = ((n & x3) !== 0 ? y2 : E4)(() => (T = !1, E()));
1813
+ var T = !1, D = ((n & U3) !== 0 ? y2 : I4)(() => (T = !1, E()));
1814
1814
  s && O(D);
1815
1815
  var S = (
1816
1816
  /** @type {Effect} */
@@ -1827,7 +1827,7 @@ function b0(t, d, n, i) {
1827
1827
  })
1828
1828
  );
1829
1829
  }
1830
- const p9 = [
1830
+ const g9 = [
1831
1831
  [
1832
1832
  "af",
1833
1833
  // Afghanistan
@@ -3505,7 +3505,7 @@ const p9 = [
3505
3505
  "0"
3506
3506
  ]
3507
3507
  ], d0 = [];
3508
- for (const t of p9)
3508
+ for (const t of g9)
3509
3509
  d0.push({
3510
3510
  name: "",
3511
3511
  // populated in the plugin
@@ -3556,7 +3556,7 @@ const L0 = {
3556
3556
  // chars that are NOT + or digit (global)
3557
3557
  HIDDEN_SEARCH_CHAR: /^[a-zA-ZÀ-ÿа-яА-Я ]$/
3558
3558
  // single acceptable hidden-search char
3559
- }, g9 = {
3559
+ }, C9 = {
3560
3560
  HIDDEN_SEARCH_RESET_MS: 1e3
3561
3561
  }, Ed = {
3562
3562
  UNKNOWN_NUMBER_TYPE: -99,
@@ -3568,7 +3568,7 @@ const L0 = {
3568
3568
  // px width fallback when no separate dial code
3569
3569
  INPUT_PADDING_EXTRA_LEFT: 6
3570
3570
  // px gap between selected country container and input text
3571
- }, l3 = {
3571
+ }, a3 = {
3572
3572
  NANP: "1"
3573
3573
  // North American Numbering Plan
3574
3574
  }, d2 = {
@@ -3578,7 +3578,7 @@ const L0 = {
3578
3578
  // UK mobile numbers start with 7 after national trunk (0) or core section
3579
3579
  MOBILE_CORE_LENGTH: 10
3580
3580
  // core number length (excluding dial code / national prefix) for mobiles
3581
- }, C9 = {
3581
+ }, _9 = {
3582
3582
  ISO2: "us"
3583
3583
  }, c2 = {
3584
3584
  AGGRESSIVE: "aggressive",
@@ -3598,7 +3598,7 @@ const L0 = {
3598
3598
  HIDDEN: "aria-hidden",
3599
3599
  AUTOCOMPLETE: "aria-autocomplete",
3600
3600
  MODAL: "aria-modal"
3601
- }, _9 = {
3601
+ }, m9 = {
3602
3602
  selectedCountryAriaLabel: "Change country, selected ${countryName} (${dialCode})",
3603
3603
  noCountrySelected: "Select country",
3604
3604
  countryListAriaLabel: "List of countries",
@@ -3608,13 +3608,13 @@ const L0 = {
3608
3608
  searchSummaryAria(t) {
3609
3609
  return t === 0 ? "No results found" : t === 1 ? "1 result found" : `${t} results found`;
3610
3610
  }
3611
- }, e2 = (t) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(t).matches, m9 = () => {
3611
+ }, e2 = (t) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(t).matches, y9 = () => {
3612
3612
  if (typeof navigator < "u" && typeof window < "u") {
3613
3613
  const t = e2("(max-width: 500px)"), d = e2("(max-height: 600px)"), n = e2("(pointer: coarse)");
3614
3614
  return t || n && d;
3615
3615
  }
3616
3616
  return !1;
3617
- }, a3 = {
3617
+ }, f3 = {
3618
3618
  //* Whether or not to allow the dropdown.
3619
3619
  allowDropdown: !0,
3620
3620
  //* Whether or not to allow extensions after the main number.
@@ -3666,13 +3666,13 @@ const L0 = {
3666
3666
  //* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length.
3667
3667
  strictMode: !1,
3668
3668
  //* Use full screen popup instead of dropdown for country list.
3669
- useFullscreenPopup: m9(),
3669
+ useFullscreenPopup: y9(),
3670
3670
  //* The number type to enforce during validation.
3671
3671
  allowedNumberTypes: ["MOBILE", "FIXED_LINE"]
3672
- }, y9 = (t) => {
3673
- t.useFullscreenPopup && (t.fixDropdownWidth = !1), t.onlyCountries.length === 1 && (t.initialCountry = t.onlyCountries[0]), t.separateDialCode && (t.nationalMode = !1), t.allowDropdown && !t.showFlags && !t.separateDialCode && (t.nationalMode = !1), t.useFullscreenPopup && !t.dropdownContainer && (t.dropdownContainer = document.body), t.i18n = { ..._9, ...t.i18n };
3674
- }, P0 = (t) => t.replace(/\D/g, ""), f3 = (t = "") => t.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), v9 = (t, d) => {
3675
- const n = f3(d), i = [], s = [], $ = [], o = [], l = [], a = [];
3672
+ }, v9 = (t) => {
3673
+ t.useFullscreenPopup && (t.fixDropdownWidth = !1), t.onlyCountries.length === 1 && (t.initialCountry = t.onlyCountries[0]), t.separateDialCode && (t.nationalMode = !1), t.allowDropdown && !t.showFlags && !t.separateDialCode && (t.nationalMode = !1), t.useFullscreenPopup && !t.dropdownContainer && (t.dropdownContainer = document.body), t.i18n = { ...m9, ...t.i18n };
3674
+ }, P0 = (t) => t.replace(/\D/g, ""), c3 = (t = "") => t.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), E9 = (t, d) => {
3675
+ const n = c3(d), i = [], s = [], $ = [], o = [], l = [], a = [];
3676
3676
  for (const g of t)
3677
3677
  g.iso2 === n ? i.push(g) : g.normalisedName.startsWith(n) ? s.push(g) : g.normalisedName.includes(n) ? $.push(g) : n === g.dialCode || n === g.dialCodePlus ? o.push(g) : g.dialCodePlus.includes(n) ? l.push(g) : g.initials.includes(n) && a.push(g);
3678
3678
  const f = (g, _) => g.priority - _.priority;
@@ -3684,7 +3684,7 @@ const L0 = {
3684
3684
  ...l.sort(f),
3685
3685
  ...a.sort(f)
3686
3686
  ];
3687
- }, E9 = (t, d) => {
3687
+ }, I9 = (t, d) => {
3688
3688
  const n = d.toLowerCase();
3689
3689
  for (const i of t)
3690
3690
  if (i.name.toLowerCase().startsWith(n))
@@ -3695,11 +3695,11 @@ const L0 = {
3695
3695
  return d && Object.entries(d).forEach(
3696
3696
  ([s, $]) => i.setAttribute(s, $)
3697
3697
  ), n && n.appendChild(i), i;
3698
- }, I9 = () => `
3698
+ }, w9 = () => `
3699
3699
  <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${U.HIDDEN}="true">
3700
3700
  <circle cx="11" cy="11" r="7" />
3701
3701
  <line x1="21" y1="21" x2="16.65" y2="16.65" />
3702
- </svg>`, w9 = (t) => {
3702
+ </svg>`, N9 = (t) => {
3703
3703
  const d = `iti-${t}-clear-mask`;
3704
3704
  return `
3705
3705
  <svg class="iti__search-clear-svg" width="12" height="12" viewBox="0 0 16 16" ${U.HIDDEN}="true" focusable="false">
@@ -3709,7 +3709,7 @@ const L0 = {
3709
3709
  </mask>
3710
3710
  <circle cx="8" cy="8" r="8" class="iti__search-clear-bg" mask="url(#${d})" />
3711
3711
  </svg>`;
3712
- }, N9 = () => `
3712
+ }, wd = () => `
3713
3713
  <svg width="256" height="256" viewBox="0 0 512 512" class="iti__globe-svg">
3714
3714
  <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"/>
3715
3715
  <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"/>
@@ -3826,7 +3826,7 @@ class S9 {
3826
3826
  [U.HIDDEN]: "true"
3827
3827
  },
3828
3828
  n
3829
- ), this.searchIcon.innerHTML = I9(), this.searchInput = F(
3829
+ ), this.searchIcon.innerHTML = w9(), this.searchInput = F(
3830
3830
  "input",
3831
3831
  {
3832
3832
  id: `iti-${this.id}__search-input`,
@@ -3852,7 +3852,7 @@ class S9 {
3852
3852
  tabindex: "-1"
3853
3853
  },
3854
3854
  n
3855
- ), this.searchClearButton.innerHTML = w9(this.id), this.searchResultsA11yText = F(
3855
+ ), this.searchClearButton.innerHTML = N9(this.id), this.searchResultsA11yText = F(
3856
3856
  "span",
3857
3857
  { class: "iti__a11y-text" },
3858
3858
  this.dropdownContent
@@ -4072,8 +4072,8 @@ const A9 = (t) => {
4072
4072
  });
4073
4073
  }, D9 = (t) => {
4074
4074
  for (const d of t)
4075
- d.normalisedName = f3(d.name), d.initials = d.normalisedName.split(/[^a-z]/).map((n) => n[0]).join(""), d.dialCodePlus = `+${d.dialCode}`;
4076
- }, wd = (t, d, n, i) => {
4075
+ d.normalisedName = c3(d.name), d.initials = d.normalisedName.split(/[^a-z]/).map((n) => n[0]).join(""), d.dialCodePlus = `+${d.dialCode}`;
4076
+ }, Nd = (t, d, n, i) => {
4077
4077
  let s = t;
4078
4078
  if (n && d) {
4079
4079
  const $ = `+${i.dialCode}`, o = s[$.length] === " " || s[$.length] === "-" ? $.length + 1 : $.length;
@@ -4112,9 +4112,9 @@ const A9 = (t) => {
4112
4112
  "887",
4113
4113
  "888",
4114
4114
  "889"
4115
- ], Nd = (t) => {
4115
+ ], Sd = (t) => {
4116
4116
  const d = P0(t);
4117
- if (d.startsWith(l3.NANP) && d.length >= 4) {
4117
+ if (d.startsWith(a3.NANP) && d.length >= 4) {
4118
4118
  const n = d.substring(1, 4);
4119
4119
  return R9.includes(n);
4120
4120
  }
@@ -4124,7 +4124,7 @@ let M9 = 0;
4124
4124
  const x9 = new Set(d0.map((t) => t.iso2)), i2 = (t) => x9.has(t);
4125
4125
  class w2 {
4126
4126
  constructor(d, n = {}) {
4127
- this.id = M9++, this.options = { ...a3, ...n }, y9(this.options), this.ui = new S9(d, this.options, this.id), this.isAndroid = w2._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = A9(this.options);
4127
+ this.id = M9++, this.options = { ...f3, ...n }, v9(this.options), this.ui = new S9(d, this.options, this.id), this.isAndroid = w2._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = A9(this.options);
4128
4128
  const { dialCodes: i, dialCodeMaxLen: s, dialCodeToIso2Map: $ } = b9(
4129
4129
  this.countries
4130
4130
  );
@@ -4181,12 +4181,12 @@ class w2 {
4181
4181
  //* 1. Extracting a dial code from the given number
4182
4182
  //* 2. Using explicit initialCountry
4183
4183
  _setInitialState(d = !1) {
4184
- const n = this.ui.telInput.getAttribute("value"), i = this._normaliseNumerals(n), s = this._getTelInputValue(), o = i && i.startsWith("+") && (!s || !s.startsWith("+")) ? i : s, l = this._getDialCode(o), a = Nd(o), { initialCountry: f, geoIpLookup: g } = this.options, _ = f === t2.AUTO && g;
4184
+ const n = this.ui.telInput.getAttribute("value"), i = this._normaliseNumerals(n), s = this._getTelInputValue(), o = i && i.startsWith("+") && (!s || !s.startsWith("+")) ? i : s, l = this._getDialCode(o), a = Sd(o), { initialCountry: f, geoIpLookup: g } = this.options, _ = f === t2.AUTO && g;
4185
4185
  if (l && !a)
4186
4186
  this._updateCountryFromNumber(o);
4187
4187
  else if (!_ || d) {
4188
4188
  const m = f ? f.toLowerCase() : "";
4189
- i2(m) ? this._setCountry(m) : l && a ? this._setCountry(C9.ISO2) : this._setCountry("");
4189
+ i2(m) ? this._setCountry(m) : l && a ? this._setCountry(_9.ISO2) : this._setCountry("");
4190
4190
  }
4191
4191
  o && this._updateValFromNumber(o);
4192
4192
  }
@@ -4318,7 +4318,7 @@ class w2 {
4318
4318
  this._setTelInputValue(v), this.ui.telInput.setSelectionRange(b, b);
4319
4319
  }
4320
4320
  if (i && f.startsWith("+") && this.selectedCountryData.dialCode) {
4321
- const w = wd(f, !0, i, this.selectedCountryData);
4321
+ const w = Nd(f, !0, i, this.selectedCountryData);
4322
4322
  this._setTelInputValue(w);
4323
4323
  }
4324
4324
  };
@@ -4483,7 +4483,7 @@ class w2 {
4483
4483
  Q.ESC
4484
4484
  ].includes($.key) && ($.preventDefault(), $.stopPropagation(), $.key === Q.ARROW_UP || $.key === Q.ARROW_DOWN ? this._handleUpDownKey($.key) : $.key === Q.ENTER ? this._handleEnterKey() : $.key === Q.ESC && (this._closeDropdown(), this.ui.selectedCountry.focus())), !this.options.countrySearch && M1.HIDDEN_SEARCH_CHAR.test($.key) && ($.stopPropagation(), i && clearTimeout(i), n += $.key.toLowerCase(), this._searchForCountry(n), i = setTimeout(() => {
4485
4485
  n = "";
4486
- }, g9.HIDDEN_SEARCH_RESET_MS));
4486
+ }, C9.HIDDEN_SEARCH_RESET_MS));
4487
4487
  };
4488
4488
  document.addEventListener("keydown", s, { signal: d });
4489
4489
  }
@@ -4511,7 +4511,7 @@ class w2 {
4511
4511
  }
4512
4512
  //* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string.
4513
4513
  _searchForCountry(d) {
4514
- const n = E9(this.countries, d);
4514
+ const n = I9(this.countries, d);
4515
4515
  if (n) {
4516
4516
  const i = n.nodeById[this.id];
4517
4517
  this.ui.highlightListItem(i, !1), this.ui.scrollTo(i);
@@ -4520,7 +4520,7 @@ class w2 {
4520
4520
  //* Country search: Filter the countries according to the search query.
4521
4521
  _filterCountriesByQuery(d) {
4522
4522
  let n;
4523
- d === "" ? n = this.countries : n = v9(this.countries, d), this.ui.filterCountries(n);
4523
+ d === "" ? n = this.countries : n = E9(this.countries, d), this.ui.filterCountries(n);
4524
4524
  }
4525
4525
  //* Highlight the next/prev item in the list (and ensure it is visible).
4526
4526
  _handleUpDownKey(d) {
@@ -4575,7 +4575,7 @@ class w2 {
4575
4575
  return f[0] === s ? null : f[0];
4576
4576
  if (!s && this.defaultCountry && f.includes(this.defaultCountry))
4577
4577
  return this.defaultCountry;
4578
- if ($ === l3.NANP && Nd(l))
4578
+ if ($ === a3.NANP && Sd(l))
4579
4579
  return null;
4580
4580
  const { areaCodes: _, priority: m } = this.selectedCountryData;
4581
4581
  if (_) {
@@ -4605,9 +4605,9 @@ class w2 {
4605
4605
  let a, f, g;
4606
4606
  if (d) {
4607
4607
  const { name: _, dialCode: m } = this.selectedCountryData;
4608
- f = _, a = s.selectedCountryAriaLabel.replace("${countryName}", _).replace("${dialCode}", `+${m}`), g = "";
4608
+ f = _, a = s.selectedCountryAriaLabel.replace("${countryName}", _).replace("${dialCode}", `+${m}`), g = i ? "" : wd();
4609
4609
  } else
4610
- f = s.noCountrySelected, a = s.noCountrySelected, g = N9();
4610
+ f = s.noCountrySelected, a = s.noCountrySelected, g = wd();
4611
4611
  this.ui.selectedCountryInner.className = l, this.ui.selectedCountry.setAttribute("title", f), this.ui.selectedCountry.setAttribute(U.LABEL, a), this.ui.selectedCountryInner.innerHTML = g;
4612
4612
  }
4613
4613
  if (n) {
@@ -4713,7 +4713,7 @@ class w2 {
4713
4713
  }
4714
4714
  //* Remove the dial code if separateDialCode is enabled also cap the length if the input has a maxlength attribute
4715
4715
  _beforeSetNumber(d) {
4716
- const n = !!this._getDialCode(d), i = wd(
4716
+ const n = !!this._getDialCode(d), i = Nd(
4717
4717
  d,
4718
4718
  n,
4719
4719
  this.options.separateDialCode,
@@ -4893,7 +4893,7 @@ const U9 = (t) => {
4893
4893
  return N.instances[n.id] = n, t.iti = n, n;
4894
4894
  },
4895
4895
  {
4896
- defaults: a3,
4896
+ defaults: f3,
4897
4897
  //* Using a static var like this allows us to mock it in the tests.
4898
4898
  documentReady: () => document.readyState === "complete",
4899
4899
  //* Get the country data object.
@@ -4908,7 +4908,7 @@ const U9 = (t) => {
4908
4908
  attachUtils: U9,
4909
4909
  startedLoadingUtilsScript: !1,
4910
4910
  startedLoadingAutoCountry: !1,
4911
- version: "26.0.2"
4911
+ version: "26.0.4"
4912
4912
  }
4913
4913
  );
4914
4914
  (function() {
@@ -5189,10 +5189,10 @@ const U9 = (t) => {
5189
5189
  V.call(this);
5190
5190
  }
5191
5191
  n(I1, V);
5192
- var L2 = null, h3 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
5192
+ var L2 = null, p3 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
5193
5193
  I1.prototype.m = function() {
5194
5194
  var e = L2;
5195
- return e || (L2 = e = m0(I1, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: h3 }, 7: {
5195
+ return e || (L2 = e = m0(I1, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: p3 }, 7: {
5196
5196
  name: "preferred_domestic_carrier_code",
5197
5197
  i: 9,
5198
5198
  type: String
@@ -10442,7 +10442,7 @@ const U9 = (t) => {
10442
10442
  q.h = void 0, q.g = function() {
10443
10443
  return q.h ? q.h : q.h = new q();
10444
10444
  };
10445
- var W0 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, p3 = {
10445
+ var W0 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, g3 = {
10446
10446
  0: "0",
10447
10447
  1: "1",
10448
10448
  2: "2",
@@ -10456,7 +10456,7 @@ const U9 = (t) => {
10456
10456
  "+": "+",
10457
10457
  "*": "*",
10458
10458
  "#": "#"
10459
- }, g3 = {
10459
+ }, C3 = {
10460
10460
  0: "0",
10461
10461
  1: "1",
10462
10462
  2: "2",
@@ -10523,19 +10523,19 @@ const U9 = (t) => {
10523
10523
  X: "9",
10524
10524
  Y: "9",
10525
10525
  Z: "9"
10526
- }, C3 = RegExp("[++]+"), u0 = RegExp("^[++]+"), P2 = RegExp("([0-90-9٠-٩۰-۹])"), _3 = RegExp("[++0-90-9٠-٩۰-۹]"), m3 = /[\\\/] *x/, y3 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), v3 = /(?:.*?[A-Za-z]){3}.*/, E3 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), I3 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
10526
+ }, _3 = RegExp("[++]+"), u0 = RegExp("^[++]+"), P2 = RegExp("([0-90-9٠-٩۰-۹])"), m3 = RegExp("[++0-90-9٠-٩۰-۹]"), y3 = /[\\\/] *x/, v3 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), E3 = /(?:.*?[A-Za-z]){3}.*/, I3 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), w3 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
10527
10527
  function Z1(e) {
10528
10528
  return "([0-90-9٠-٩۰-۹]{1," + e + "})";
10529
10529
  }
10530
10530
  function O2() {
10531
10531
  return ";ext=" + Z1("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (Z1("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (Z1("9") + "#?|[- ]+") + (Z1("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (Z1("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (Z1("9") + "#?");
10532
10532
  }
10533
- var R2 = new RegExp("(?:" + O2() + ")$", "i"), w3 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + O2() + ")?$", "i"), N3 = /(\$\d)/, S3 = /^\(?\$1\)?$/;
10533
+ var R2 = new RegExp("(?:" + O2() + ")$", "i"), N3 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + O2() + ")?$", "i"), S3 = /(\$\d)/, A3 = /^\(?\$1\)?$/;
10534
10534
  function M2(e) {
10535
- return 2 > e.length ? !1 : _1(w3, e);
10535
+ return 2 > e.length ? !1 : _1(N3, e);
10536
10536
  }
10537
10537
  function x2(e) {
10538
- return _1(v3, e) ? v0(e, g3) : v0(e, W0);
10538
+ return _1(E3, e) ? v0(e, C3) : v0(e, W0);
10539
10539
  }
10540
10540
  function U2(e) {
10541
10541
  var r = x2(e.toString());
@@ -10549,7 +10549,7 @@ const U9 = (t) => {
10549
10549
  return u.toString();
10550
10550
  }
10551
10551
  function F2(e) {
10552
- return e.length == 0 || S3.test(e);
10552
+ return e.length == 0 || A3.test(e);
10553
10553
  }
10554
10554
  function E0(e) {
10555
10555
  return e != null && isNaN(e) && e.toUpperCase() in D2;
@@ -10580,7 +10580,7 @@ const U9 = (t) => {
10580
10580
  return h != null && (C = h, h = M(C, 2), p = new RegExp(I(C, 1)), M(
10581
10581
  C,
10582
10582
  5
10583
- ), C = M(C, 4), c = r == 2 && C != null && 0 < C.length ? c.replace(p, h.replace(N3, C)) : c.replace(p, h), r == 3 && (c = c.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), c = c.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), H2(u, r, c, e);
10583
+ ), C = M(C, 4), c = r == 2 && C != null && 0 < C.length ? c.replace(p, h.replace(S3, C)) : c.replace(p, h), r == 3 && (c = c.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), c = c.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), H2(u, r, c, e);
10584
10584
  };
10585
10585
  function l0(e, r, u) {
10586
10586
  return u == "001" ? w1(e, "" + r) : w1(e, u);
@@ -10650,7 +10650,7 @@ const U9 = (t) => {
10650
10650
  var u = e.length;
10651
10651
  return 0 < E1(r, 9) && J(r, 9).indexOf(u) == -1 ? !1 : _1(M(r, 2), e);
10652
10652
  }
10653
- function A3(e, r) {
10653
+ function T3(e, r) {
10654
10654
  var u = V2(e, r), c = M(r, 1), h = l0(e, c, u);
10655
10655
  return h == null || u != "001" && c != k2(e, u) ? h = !1 : (e = a0(r), h = K0(e, h) != -1), h;
10656
10656
  }
@@ -10749,7 +10749,7 @@ const U9 = (t) => {
10749
10749
  p = C !== -1 ? r.substring(p, C) : r.substring(p);
10750
10750
  }
10751
10751
  var y = p;
10752
- if (y == null ? C = !0 : y.length === 0 ? C = !1 : (C = E3.exec(y), y = I3.exec(y), C = C !== null || y !== null), !C || (p != null ? (p.charAt(0) === "+" && h.g(p), p = r.indexOf("tel:"), h.g(r.substring(0 <= p ? p + 4 : 0, r.indexOf(";phone-context=")))) : (p = h.g, C = r ?? "", y = C.search(_3), 0 <= y ? (C = C.substring(y), C = C.replace(y3, ""), y = C.search(m3), 0 <= y && (C = C.substring(0, y))) : C = "", p.call(h, C)), p = h.toString(), C = p.indexOf(";isub="), 0 < C && (n1(h), h.g(p.substring(0, C))), !M2(h.toString()))) throw Error("The string supplied did not seem to be a phone number");
10752
+ if (y == null ? C = !0 : y.length === 0 ? C = !1 : (C = I3.exec(y), y = w3.exec(y), C = C !== null || y !== null), !C || (p != null ? (p.charAt(0) === "+" && h.g(p), p = r.indexOf("tel:"), h.g(r.substring(0 <= p ? p + 4 : 0, r.indexOf(";phone-context=")))) : (p = h.g, C = r ?? "", y = C.search(m3), 0 <= y ? (C = C.substring(y), C = C.replace(v3, ""), y = C.search(y3), 0 <= y && (C = C.substring(0, y))) : C = "", p.call(h, C)), p = h.toString(), C = p.indexOf(";isub="), 0 < C && (n1(h), h.g(p.substring(0, C))), !M2(h.toString()))) throw Error("The string supplied did not seem to be a phone number");
10753
10753
  if (p = h.toString(), !(E0(u) || p != null && 0 < p.length && u0.test(p))) throw Error("Invalid country calling code");
10754
10754
  p = new I1(), c && X(p, 5, r);
10755
10755
  d: {
@@ -10785,12 +10785,12 @@ const U9 = (t) => {
10785
10785
  function _1(e, r) {
10786
10786
  return !!((e = r.match(new RegExp("^(?:" + (typeof e == "string" ? e : e.source) + ")$", "i"))) && e[0].length == r.length);
10787
10787
  }
10788
- function T3(e) {
10788
+ function b3(e) {
10789
10789
  this.fa = RegExp(" "), this.ja = "", this.v = new j(), this.da = "", this.s = new j(), this.ba = new j(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = q.g(), this.$ = 0, this.h = new j(), this.ha = !1, this.o = "", this.g = new j(), this.j = [], this.ka = e, this.l = X2(this, this.ka);
10790
10790
  }
10791
10791
  var Z2 = new P1();
10792
10792
  X(Z2, 11, "NA");
10793
- var b3 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), z2 = /[- ]/;
10793
+ var L3 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), z2 = /[- ]/;
10794
10794
  function X2(e, r) {
10795
10795
  var u = e.ga;
10796
10796
  return r = E0(r) ? k2(u, r) : 0, e = w1(e.ga, f0(r)), e ?? Z2;
@@ -10815,10 +10815,10 @@ const U9 = (t) => {
10815
10815
  }
10816
10816
  e.j = u;
10817
10817
  }
10818
- function L3(e, r) {
10818
+ function D3(e, r) {
10819
10819
  e.s.g(r);
10820
10820
  var u = r;
10821
- if (P2.test(u) || e.s.h.length == 1 && C3.test(u) ? (r == "+" ? (u = r, e.ba.g(r)) : (u = W0[r], e.ba.g(u), e.g.g(u)), r = u) : (e.u = !1, e.la = !0), !e.u) {
10821
+ if (P2.test(u) || e.s.h.length == 1 && _3.test(u) ? (r == "+" ? (u = r, e.ba.g(r)) : (u = W0[r], e.ba.g(u), e.g.g(u)), r = u) : (e.u = !1, e.la = !0), !e.u) {
10822
10822
  if (!e.la) {
10823
10823
  if (nd(e)) {
10824
10824
  if (id(e)) return Q2(e);
@@ -10844,7 +10844,7 @@ const U9 = (t) => {
10844
10844
  function dd(e) {
10845
10845
  for (var r = e.g.toString(), u = e.j.length, c = 0; c < u; ++c) {
10846
10846
  var h = e.j[c], p = M(h, 1);
10847
- if (new RegExp("^(?:" + p + ")$").test(r) && (e.ha = z2.test(I(h, 4)), h = r.replace(new RegExp(p, "g"), I(h, 2)), h = S0(e, h), v0(h, p3) == e.ba)) return h;
10847
+ if (new RegExp("^(?:" + p + ")$").test(r) && (e.ha = z2.test(I(h, 4)), h = r.replace(new RegExp(p, "g"), I(h, 2)), h = S0(e, h), v0(h, g3) == e.ba)) return h;
10848
10848
  }
10849
10849
  return "";
10850
10850
  }
@@ -10857,7 +10857,7 @@ const U9 = (t) => {
10857
10857
  if (3 <= r.length) {
10858
10858
  for (var u = e.ca && e.o.length == 0 && 0 < E1(e.l, 20) ? J(e.l, 20) : J(e.l, 19), c = u.length, h = 0; h < c; ++h) {
10859
10859
  var p = u[h];
10860
- 0 < e.o.length && F2(M(p, 4)) && !I(p, 6) && !z(p, 5) || (e.o.length != 0 || e.ca || F2(M(p, 4)) || I(p, 6)) && b3.test(M(p, 2)) && e.j.push(p);
10860
+ 0 < e.o.length && F2(M(p, 4)) && !I(p, 6) && !z(p, 5) || (e.o.length != 0 || e.ca || F2(M(p, 4)) || I(p, 6)) && L3.test(M(p, 2)) && e.j.push(p);
10861
10861
  }
10862
10862
  return J2(e, r), r = dd(e), 0 < r.length ? r : q2(e) ? td(e) : e.s.toString();
10863
10863
  }
@@ -10900,9 +10900,9 @@ const U9 = (t) => {
10900
10900
  }, Y0 = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
10901
10901
  d("intlTelInputUtilsTemp", {}), d("intlTelInputUtilsTemp.formatNumberAsYouType", (e, r) => {
10902
10902
  try {
10903
- const u = e.replace(/[^+0-9]/g, ""), c = new T3(r);
10903
+ const u = e.replace(/[^+0-9]/g, ""), c = new b3(r);
10904
10904
  r = "";
10905
- for (let h = 0; h < u.length; h++) c.ja = L3(c, u.charAt(h)), r = c.ja;
10905
+ for (let h = 0; h < u.length; h++) c.ja = D3(c, u.charAt(h)), r = c.ja;
10906
10906
  return r;
10907
10907
  } catch {
10908
10908
  return e;
@@ -10959,7 +10959,7 @@ const U9 = (t) => {
10959
10959
  }
10960
10960
  }), d("intlTelInputUtilsTemp.isValidNumber", (e, r, u) => {
10961
10961
  try {
10962
- const c = q.g(), h = O1(c, e, r), p = A3(c, h);
10962
+ const c = q.g(), h = O1(c, e, r), p = T3(c, h);
10963
10963
  if (u) {
10964
10964
  const C = sd(u).map((y) => Y0[y]);
10965
10965
  return p && C.includes(G2(c, h));
@@ -10988,12 +10988,12 @@ const U9 = (t) => {
10988
10988
  }
10989
10989
  }), d("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), d("intlTelInputUtilsTemp.numberType", Y0), d("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
10990
10990
  })();
10991
- const c3 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, B9 = c3.intlTelInputUtilsTemp;
10992
- delete c3.intlTelInputUtilsTemp;
10991
+ const h3 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, B9 = h3.intlTelInputUtilsTemp;
10992
+ delete h3.intlTelInputUtilsTemp;
10993
10993
  N.utils = B9;
10994
- var F9 = /* @__PURE__ */ z4("<input/>");
10994
+ var F9 = /* @__PURE__ */ X4("<input/>");
10995
10995
  function k9(t, d) {
10996
- a4(d, !0);
10996
+ f4(d, !0);
10997
10997
  let n = b0(d, "disabled", 3, !1), i = b0(d, "inputProps", 19, () => ({})), s = b0(d, "options", 19, () => ({})), $ = b0(d, "value", 3, ""), o = /* @__PURE__ */ l1(void 0), l = /* @__PURE__ */ l1(void 0), a = /* @__PURE__ */ l1(null), f = /* @__PURE__ */ l1(!1);
10998
10998
  const g = () => O(l) ? s().strictMode ? O(l).isValidNumberPrecise() : O(l).isValidNumber() : null, _ = () => {
10999
10999
  var v, b;
@@ -11006,12 +11006,12 @@ function k9(t, d) {
11006
11006
  var A, v;
11007
11007
  (v = d.onChangeCountry) == null || v.call(d, ((A = O(l)) == null ? void 0 : A.getSelectedCountryData().iso2) ?? ""), m();
11008
11008
  };
11009
- O3(() => {
11009
+ R3(() => {
11010
11010
  O(o) && (s1(l, N(O(o), s()), !0), O(o).addEventListener("countrychange", E), $() && O(l).setNumber($()), n() && O(l).setDisabled(n()), s1(a, g(), !0), s1(f, !0));
11011
- }), R3(() => {
11011
+ }), M3(() => {
11012
11012
  var A;
11013
11013
  O(o) && O(o).removeEventListener("countrychange", E), (A = O(l)) == null || A.destroy();
11014
- }), R4(() => {
11014
+ }), M4(() => {
11015
11015
  O(f) && O(l) && O(l).setDisabled(n());
11016
11016
  });
11017
11017
  function w() {
@@ -11021,7 +11021,7 @@ function k9(t, d) {
11021
11021
  return O(o);
11022
11022
  }
11023
11023
  var D = { getInstance: w, getInput: T }, S = F9();
11024
- return f9(S, () => ({ type: "tel", oninput: m, ...i() }), void 0, void 0, void 0, void 0, !0), c9(S, (A) => s1(o, A), () => O(o)), X4(t, S), f4(D);
11024
+ return c9(S, () => ({ type: "tel", oninput: m, ...i() }), void 0, void 0, void 0, void 0, !0), h9(S, (A) => s1(o, A), () => O(o)), q4(t, S), c4(D);
11025
11025
  }
11026
11026
  export {
11027
11027
  k9 as default