intl-tel-input 26.0.2 → 26.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,77 +1,77 @@
1
- var Fn = Object.defineProperty;
1
+ var Bn = Object.defineProperty;
2
2
  var Se = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var Bn = (t, e, n) => e in t ? Fn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
- var tt = (t, e, n) => Bn(t, typeof e != "symbol" ? e + "" : e, n), te = (t, e, n) => e.has(t) || Se("Cannot " + n);
5
+ var Vn = (t, e, n) => e in t ? Bn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
+ var tt = (t, e, n) => Vn(t, typeof e != "symbol" ? e + "" : e, n), te = (t, e, n) => e.has(t) || Se("Cannot " + n);
7
7
  var L = (t, e, n) => (te(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Z = (t, e, n) => e.has(t) ? Se("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), mt = (t, e, n, i) => (te(t, e, "write to private field"), i ? i.call(t, n) : e.set(t, n), n), lt = (t, e, n) => (te(t, e, "access private method"), n);
8
- import { onMount as Vn, onDestroy as Wn } from "svelte";
9
- const jn = "5";
10
- var $e;
11
- typeof window < "u" && (($e = window.__svelte ?? (window.__svelte = {})).v ?? ($e.v = /* @__PURE__ */ new Set())).add(jn);
12
- const Gn = 1, Yn = 4, Kn = 8, zn = 16, qn = 2, P = Symbol(), $n = "http://www.w3.org/1999/xhtml", Xn = "@attach", ce = !1;
13
- var Xe = Array.isArray, Qn = Array.prototype.indexOf, Zn = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, Jn = Object.getOwnPropertyDescriptors, ti = Object.prototype, ei = Array.prototype, Qe = Object.getPrototypeOf;
14
- function ni(t) {
8
+ import { onMount as Wn, onDestroy as jn } from "svelte";
9
+ const Gn = "5";
10
+ var Xe;
11
+ typeof window < "u" && ((Xe = window.__svelte ?? (window.__svelte = {})).v ?? (Xe.v = /* @__PURE__ */ new Set())).add(Gn);
12
+ const Yn = 1, Kn = 4, zn = 8, qn = 16, $n = 2, P = Symbol(), Xn = "http://www.w3.org/1999/xhtml", Qn = "@attach", ce = !1;
13
+ var Qe = Array.isArray, Zn = Array.prototype.indexOf, Jn = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, ti = Object.getOwnPropertyDescriptors, ei = Object.prototype, ni = Array.prototype, Ze = Object.getPrototypeOf;
14
+ function ii(t) {
15
15
  for (var e = 0; e < t.length; e++)
16
16
  t[e]();
17
17
  }
18
- function Ze() {
18
+ function Je() {
19
19
  var t, e, n = new Promise((i, s) => {
20
20
  t = i, e = s;
21
21
  });
22
22
  return { promise: n, resolve: t, reject: e };
23
23
  }
24
- const k = 2, Gt = 4, ge = 8, me = 1 << 24, yt = 16, vt = 32, Pt = 64, Je = 128, Y = 512, x = 1024, W = 2048, rt = 4096, Et = 8192, J = 16384, be = 32768, Pe = 65536, Oe = 1 << 17, tn = 1 << 18, Zt = 1 << 19, ii = 1 << 20, _t = 32768, de = 1 << 21, we = 1 << 22, et = 1 << 23, ft = Symbol("$state"), si = Symbol("legacy props"), ri = Symbol(""), bt = new class extends Error {
24
+ const k = 2, Gt = 4, ge = 8, me = 1 << 24, yt = 16, vt = 32, Pt = 64, tn = 128, Y = 512, x = 1024, W = 2048, rt = 4096, Et = 8192, J = 16384, be = 32768, Pe = 65536, Oe = 1 << 17, en = 1 << 18, Zt = 1 << 19, si = 1 << 20, _t = 32768, de = 1 << 21, we = 1 << 22, et = 1 << 23, ft = Symbol("$state"), ri = Symbol("legacy props"), oi = Symbol(""), bt = new class extends Error {
25
25
  constructor() {
26
26
  super(...arguments);
27
27
  tt(this, "name", "StaleReactionError");
28
28
  tt(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
29
29
  }
30
30
  }();
31
- function oi() {
31
+ function li() {
32
32
  throw new Error("https://svelte.dev/e/async_derived_orphan");
33
33
  }
34
- function li(t) {
34
+ function ui(t) {
35
35
  throw new Error("https://svelte.dev/e/effect_in_teardown");
36
36
  }
37
- function ui() {
37
+ function ai() {
38
38
  throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
39
39
  }
40
- function ai(t) {
40
+ function ci(t) {
41
41
  throw new Error("https://svelte.dev/e/effect_orphan");
42
42
  }
43
- function ci() {
43
+ function di() {
44
44
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
45
45
  }
46
- function di(t) {
46
+ function fi(t) {
47
47
  throw new Error("https://svelte.dev/e/props_invalid_value");
48
48
  }
49
- function fi() {
49
+ function hi() {
50
50
  throw new Error("https://svelte.dev/e/state_descriptors_fixed");
51
51
  }
52
- function hi() {
52
+ function pi() {
53
53
  throw new Error("https://svelte.dev/e/state_prototype_fixed");
54
54
  }
55
- function pi() {
55
+ function _i() {
56
56
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
57
57
  }
58
- function _i() {
58
+ function Ci() {
59
59
  console.warn("https://svelte.dev/e/select_multiple_invalid_value");
60
60
  }
61
- function en(t) {
61
+ function nn(t) {
62
62
  return t === this.v;
63
63
  }
64
- function Ci(t, e) {
64
+ function yi(t, e) {
65
65
  return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
66
66
  }
67
- function yi(t) {
68
- return !Ci(t, this.v);
67
+ function vi(t) {
68
+ return !yi(t, this.v);
69
69
  }
70
- let vi = !1, X = null;
70
+ let gi = !1, X = null;
71
71
  function Yt(t) {
72
72
  X = t;
73
73
  }
74
- function gi(t, e = !1, n) {
74
+ function mi(t, e = !1, n) {
75
75
  X = {
76
76
  p: X,
77
77
  i: !1,
@@ -82,7 +82,7 @@ function gi(t, e = !1, n) {
82
82
  l: null
83
83
  };
84
84
  }
85
- function mi(t) {
85
+ function bi(t) {
86
86
  var e = (
87
87
  /** @type {ComponentContext} */
88
88
  X
@@ -90,34 +90,34 @@ function mi(t) {
90
90
  if (n !== null) {
91
91
  e.e = null;
92
92
  for (var i of n)
93
- Cn(i);
93
+ yn(i);
94
94
  }
95
95
  return t !== void 0 && (e.x = t), e.i = !0, X = e.p, t ?? /** @type {T} */
96
96
  {};
97
97
  }
98
- function nn() {
98
+ function sn() {
99
99
  return !0;
100
100
  }
101
101
  let wt = [];
102
- function bi() {
102
+ function wi() {
103
103
  var t = wt;
104
- wt = [], ni(t);
104
+ wt = [], ii(t);
105
105
  }
106
106
  function Jt(t) {
107
107
  if (wt.length === 0) {
108
108
  var e = wt;
109
109
  queueMicrotask(() => {
110
- e === wt && bi();
110
+ e === wt && wi();
111
111
  });
112
112
  }
113
113
  wt.push(t);
114
114
  }
115
- function wi(t) {
115
+ function Ii(t) {
116
116
  var e = N;
117
117
  if (e === null)
118
118
  return w.f |= et, t;
119
119
  if ((e.f & be) === 0) {
120
- if ((e.f & Je) === 0)
120
+ if ((e.f & tn) === 0)
121
121
  throw t;
122
122
  e.b.error(t);
123
123
  } else
@@ -125,7 +125,7 @@ function wi(t) {
125
125
  }
126
126
  function Kt(t, e) {
127
127
  for (; e !== null; ) {
128
- if ((e.f & Je) !== 0)
128
+ if ((e.f & tn) !== 0)
129
129
  try {
130
130
  e.b.error(t);
131
131
  return;
@@ -136,27 +136,27 @@ function Kt(t, e) {
136
136
  }
137
137
  throw t;
138
138
  }
139
- const Ii = -7169;
139
+ const Ei = -7169;
140
140
  function H(t, e) {
141
- t.f = t.f & Ii | e;
141
+ t.f = t.f & Ei | e;
142
142
  }
143
143
  function Ie(t) {
144
144
  (t.f & Y) !== 0 || t.deps === null ? H(t, x) : H(t, rt);
145
145
  }
146
- function sn(t) {
146
+ function rn(t) {
147
147
  if (t !== null)
148
148
  for (const e of t)
149
- (e.f & k) === 0 || (e.f & _t) === 0 || (e.f ^= _t, sn(
149
+ (e.f & k) === 0 || (e.f & _t) === 0 || (e.f ^= _t, rn(
150
150
  /** @type {Derived} */
151
151
  e.deps
152
152
  ));
153
153
  }
154
- function Ei(t, e, n) {
155
- (t.f & W) !== 0 ? e.add(t) : (t.f & rt) !== 0 && n.add(t), sn(t.deps), H(t, x);
154
+ function Ni(t, e, n) {
155
+ (t.f & W) !== 0 ? e.add(t) : (t.f & rt) !== 0 && n.add(t), rn(t.deps), H(t, x);
156
156
  }
157
157
  const Ht = /* @__PURE__ */ new Set();
158
158
  let T = null, R = null, $ = [], Ee = null, fe = !1;
159
- var Dt, Lt, ct, dt, xt, At, Tt, K, he, pe, rn, on;
159
+ var Dt, Lt, ct, dt, xt, At, Tt, K, he, pe, on, ln;
160
160
  const Qt = class Qt {
161
161
  constructor() {
162
162
  Z(this, K);
@@ -229,7 +229,7 @@ const Qt = class Qt {
229
229
  var n = [], i = [];
230
230
  for (const r of e)
231
231
  lt(this, K, he).call(this, r, n, i);
232
- this.is_fork || lt(this, K, rn).call(this), this.is_deferred() ? (lt(this, K, pe).call(this, i), lt(this, K, pe).call(this, n)) : (T = null, Re(i), Re(n), (s = L(this, xt)) == null || s.resolve()), R = null;
232
+ this.is_fork || lt(this, K, on).call(this), this.is_deferred() ? (lt(this, K, pe).call(this, i), lt(this, K, pe).call(this, n)) : (T = null, Re(i), Re(n), (s = L(this, xt)) == null || s.resolve()), R = null;
233
233
  }
234
234
  /**
235
235
  * Associate a change to a given source with the current
@@ -248,7 +248,7 @@ const Qt = class Qt {
248
248
  }
249
249
  flush() {
250
250
  if (this.activate(), $.length > 0) {
251
- if (Ni(), T !== null && T !== this)
251
+ if (Di(), T !== null && T !== this)
252
252
  return;
253
253
  } else L(this, ct) === 0 && this.process([]);
254
254
  this.deactivate();
@@ -287,7 +287,7 @@ const Qt = class Qt {
287
287
  L(this, Lt).add(e);
288
288
  }
289
289
  settled() {
290
- return (L(this, xt) ?? mt(this, xt, Ze())).promise;
290
+ return (L(this, xt) ?? mt(this, xt, Je())).promise;
291
291
  }
292
292
  static ensure() {
293
293
  if (T === null) {
@@ -333,14 +333,14 @@ he = function(e, n, i) {
333
333
  */
334
334
  pe = function(e) {
335
335
  for (var n = 0; n < e.length; n += 1)
336
- Ei(e[n], L(this, At), L(this, Tt));
337
- }, rn = function() {
336
+ Ni(e[n], L(this, At), L(this, Tt));
337
+ }, on = function() {
338
338
  if (L(this, dt) === 0) {
339
339
  for (const e of L(this, Dt)) e();
340
340
  L(this, Dt).clear();
341
341
  }
342
- L(this, ct) === 0 && lt(this, K, on).call(this);
343
- }, on = function() {
342
+ L(this, ct) === 0 && lt(this, K, ln).call(this);
343
+ }, ln = function() {
344
344
  var s;
345
345
  if (Ht.size > 1) {
346
346
  this.previous.clear();
@@ -367,7 +367,7 @@ pe = function(e) {
367
367
  $ = [];
368
368
  const u = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Map();
369
369
  for (const c of o)
370
- ln(c, l, u, a);
370
+ un(c, l, u, a);
371
371
  if ($.length > 0) {
372
372
  T = r, r.apply();
373
373
  for (const c of $)
@@ -382,7 +382,7 @@ pe = function(e) {
382
382
  this.committed = !0, Ht.delete(this);
383
383
  };
384
384
  let zt = Qt;
385
- function Ni() {
385
+ function Di() {
386
386
  var t = ht;
387
387
  fe = !0;
388
388
  var e = null;
@@ -392,7 +392,7 @@ function Ni() {
392
392
  var i = zt.ensure();
393
393
  if (n++ > 1e3) {
394
394
  var s, r;
395
- Di();
395
+ Li();
396
396
  }
397
397
  i.process($), nt.clear();
398
398
  }
@@ -400,9 +400,9 @@ function Ni() {
400
400
  fe = !1, $t(t), Ee = null;
401
401
  }
402
402
  }
403
- function Di() {
403
+ function Li() {
404
404
  try {
405
- ci();
405
+ di();
406
406
  } catch (t) {
407
407
  Kt(t, Ee);
408
408
  }
@@ -413,7 +413,7 @@ function Re(t) {
413
413
  if (e !== 0) {
414
414
  for (var n = 0; n < e; ) {
415
415
  var i = t[n++];
416
- if ((i.f & (J | Et)) === 0 && Ut(i) && (z = /* @__PURE__ */ new Set(), Mt(i), i.deps === null && i.first === null && i.nodes === null && (i.teardown === null && i.ac === null ? bn(i) : i.fn = null), (z == null ? void 0 : z.size) > 0)) {
416
+ if ((i.f & (J | Et)) === 0 && Ut(i) && (z = /* @__PURE__ */ new Set(), Mt(i), i.deps === null && i.first === null && i.nodes === null && (i.teardown === null && i.ac === null ? wn(i) : i.fn = null), (z == null ? void 0 : z.size) > 0)) {
417
417
  nt.clear();
418
418
  for (const s of z) {
419
419
  if ((s.f & (J | Et)) !== 0) continue;
@@ -432,30 +432,30 @@ function Re(t) {
432
432
  z = null;
433
433
  }
434
434
  }
435
- function ln(t, e, n, i) {
435
+ function un(t, e, 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 r = s.f;
439
- (r & k) !== 0 ? ln(
439
+ (r & k) !== 0 ? un(
440
440
  /** @type {Derived} */
441
441
  s,
442
442
  e,
443
443
  n,
444
444
  i
445
- ) : (r & (we | yt)) !== 0 && (r & W) === 0 && un(s, e, i) && (H(s, W), St(
445
+ ) : (r & (we | yt)) !== 0 && (r & W) === 0 && an(s, e, i) && (H(s, W), St(
446
446
  /** @type {Effect} */
447
447
  s
448
448
  ));
449
449
  }
450
450
  }
451
- function un(t, e, n) {
451
+ function an(t, e, 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 (e.includes(s))
457
457
  return !0;
458
- if ((s.f & k) !== 0 && un(
458
+ if ((s.f & k) !== 0 && an(
459
459
  /** @type {Derived} */
460
460
  s,
461
461
  e,
@@ -473,7 +473,7 @@ function St(t) {
473
473
  for (var e = Ee = t; e.parent !== null; ) {
474
474
  e = e.parent;
475
475
  var n = e.f;
476
- if (fe && e === N && (n & yt) !== 0 && (n & tn) === 0)
476
+ if (fe && e === N && (n & yt) !== 0 && (n & en) === 0)
477
477
  return;
478
478
  if ((n & (Pt | vt)) !== 0) {
479
479
  if ((n & x) === 0) return;
@@ -482,7 +482,7 @@ function St(t) {
482
482
  }
483
483
  $.push(e);
484
484
  }
485
- function Li(t, e, n, i) {
485
+ function Ai(t, e, n, i) {
486
486
  const s = Ne;
487
487
  if (n.length === 0 && t.length === 0) {
488
488
  i(e.map(s));
@@ -491,9 +491,9 @@ function Li(t, e, n, i) {
491
491
  var r = T, o = (
492
492
  /** @type {Effect} */
493
493
  N
494
- ), l = Ai();
494
+ ), l = Ti();
495
495
  function u() {
496
- Promise.all(n.map((a) => /* @__PURE__ */ Ti(a))).then((a) => {
496
+ Promise.all(n.map((a) => /* @__PURE__ */ Si(a))).then((a) => {
497
497
  l();
498
498
  try {
499
499
  i([...e.map(s), ...a]);
@@ -514,7 +514,7 @@ function Li(t, e, n, i) {
514
514
  }
515
515
  }) : u();
516
516
  }
517
- function Ai() {
517
+ function Ti() {
518
518
  var t = N, e = w, n = X, i = T;
519
519
  return function(r = !0) {
520
520
  st(t), Q(e), Yt(n), r && (i == null || i.activate());
@@ -533,7 +533,7 @@ function Ne(t) {
533
533
  ctx: X,
534
534
  deps: null,
535
535
  effects: null,
536
- equals: en,
536
+ equals: nn,
537
537
  f: e,
538
538
  fn: t,
539
539
  reactions: null,
@@ -548,12 +548,12 @@ function Ne(t) {
548
548
  };
549
549
  }
550
550
  // @__NO_SIDE_EFFECTS__
551
- function Ti(t, e, n) {
551
+ function Si(t, e, n) {
552
552
  let i = (
553
553
  /** @type {Effect | null} */
554
554
  N
555
555
  );
556
- i === null && oi();
556
+ i === null && li();
557
557
  var s = (
558
558
  /** @type {Boundary} */
559
559
  i.b
@@ -561,13 +561,13 @@ function Ti(t, e, n) {
561
561
  /** @type {Promise<V>} */
562
562
  /** @type {unknown} */
563
563
  void 0
564
- ), o = fn(
564
+ ), o = hn(
565
565
  /** @type {V} */
566
566
  P
567
567
  ), l = !w, u = /* @__PURE__ */ new Map();
568
- return ji(() => {
568
+ return Gi(() => {
569
569
  var p;
570
- var a = Ze();
570
+ var a = Je();
571
571
  r = a.promise;
572
572
  try {
573
573
  Promise.resolve(t()).then(a.resolve, a.reject).then(() => {
@@ -597,7 +597,7 @@ function Ti(t, e, n) {
597
597
  l && (s.update_pending_count(-1), c.decrement(d));
598
598
  };
599
599
  a.promise.then(f, (_) => f(null, _ || "unknown"));
600
- }), _n(() => {
600
+ }), Cn(() => {
601
601
  for (const a of u.values())
602
602
  a.reject(bt);
603
603
  }), new Promise((a) => {
@@ -611,11 +611,11 @@ function Ti(t, e, n) {
611
611
  });
612
612
  }
613
613
  // @__NO_SIDE_EFFECTS__
614
- function Si(t) {
614
+ function Pi(t) {
615
615
  const e = /* @__PURE__ */ Ne(t);
616
- return e.equals = yi, e;
616
+ return e.equals = vi, e;
617
617
  }
618
- function an(t) {
618
+ function cn(t) {
619
619
  var e = t.effects;
620
620
  if (e !== null) {
621
621
  t.effects = null;
@@ -626,7 +626,7 @@ function an(t) {
626
626
  );
627
627
  }
628
628
  }
629
- function Pi(t) {
629
+ function Oi(t) {
630
630
  for (var e = t.parent; e !== null; ) {
631
631
  if ((e.f & k) === 0)
632
632
  return (e.f & J) === 0 ? (
@@ -639,32 +639,32 @@ function Pi(t) {
639
639
  }
640
640
  function De(t) {
641
641
  var e, n = N;
642
- st(Pi(t));
642
+ st(Oi(t));
643
643
  try {
644
- t.f &= ~_t, an(t), e = Nn(t);
644
+ t.f &= ~_t, cn(t), e = Dn(t);
645
645
  } finally {
646
646
  st(n);
647
647
  }
648
648
  return e;
649
649
  }
650
- function cn(t) {
650
+ function dn(t) {
651
651
  var e = De(t);
652
- if (!t.equals(e) && (t.wv = In(), (!(T != null && T.is_fork) || t.deps === null) && (t.v = e, t.deps === null))) {
652
+ if (!t.equals(e) && (t.wv = En(), (!(T != null && T.is_fork) || t.deps === null) && (t.v = e, t.deps === null))) {
653
653
  H(t, x);
654
654
  return;
655
655
  }
656
- it || (R !== null ? (pn() || T != null && T.is_fork) && R.set(t, e) : Ie(t));
656
+ it || (R !== null ? (_n() || T != null && T.is_fork) && R.set(t, e) : Ie(t));
657
657
  }
658
658
  let _e = /* @__PURE__ */ new Set();
659
659
  const nt = /* @__PURE__ */ new Map();
660
- let dn = !1;
661
- function fn(t, e) {
660
+ let fn = !1;
661
+ function hn(t, e) {
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: en,
667
+ equals: nn,
668
668
  rv: 0,
669
669
  wv: 0
670
670
  };
@@ -672,13 +672,13 @@ function fn(t, e) {
672
672
  }
673
673
  // @__NO_SIDE_EFFECTS__
674
674
  function G(t, e) {
675
- const n = fn(t);
676
- return zi(n), n;
675
+ const n = hn(t);
676
+ return qi(n), n;
677
677
  }
678
678
  function V(t, e, n = !1) {
679
679
  w !== 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
- (!q || (w.f & Oe) !== 0) && nn() && (w.f & (k | yt | we | Oe)) !== 0 && !(U != null && U.includes(t)) && pi();
681
+ (!q || (w.f & Oe) !== 0) && sn() && (w.f & (k | yt | we | Oe)) !== 0 && !(U != null && U.includes(t)) && _i();
682
682
  let i = n ? It(e) : e;
683
683
  return Ce(t, i);
684
684
  }
@@ -694,12 +694,12 @@ function Ce(t, e) {
694
694
  );
695
695
  (t.f & W) !== 0 && De(s), Ie(s);
696
696
  }
697
- t.wv = In(), hn(t, W), N !== null && (N.f & x) !== 0 && (N.f & (vt | Pt)) === 0 && (j === null ? qi([t]) : j.push(t)), !i.is_fork && _e.size > 0 && !dn && Oi();
697
+ t.wv = En(), pn(t, W), N !== null && (N.f & x) !== 0 && (N.f & (vt | Pt)) === 0 && (j === null ? $i([t]) : j.push(t)), !i.is_fork && _e.size > 0 && !fn && Ri();
698
698
  }
699
699
  return e;
700
700
  }
701
- function Oi() {
702
- dn = !1;
701
+ function Ri() {
702
+ fn = !1;
703
703
  var t = ht;
704
704
  $t(!0);
705
705
  const e = Array.from(_e);
@@ -714,7 +714,7 @@ function Oi() {
714
714
  function ee(t) {
715
715
  V(t, t.v + 1);
716
716
  }
717
- function hn(t, e) {
717
+ function pn(t, e) {
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 hn(t, e) {
724
724
  /** @type {Derived} */
725
725
  r
726
726
  );
727
- R == null || R.delete(u), (o & _t) === 0 && (o & Y && (r.f |= _t), hn(u, rt));
727
+ R == null || R.delete(u), (o & _t) === 0 && (o & Y && (r.f |= _t), pn(u, rt));
728
728
  } else l && ((o & yt) !== 0 && z !== null && z.add(
729
729
  /** @type {Effect} */
730
730
  r
@@ -737,10 +737,10 @@ function hn(t, e) {
737
737
  function It(t) {
738
738
  if (typeof t != "object" || t === null || ft in t)
739
739
  return t;
740
- const e = Qe(t);
741
- if (e !== ti && e !== ei)
740
+ const e = Ze(t);
741
+ if (e !== ei && e !== ni)
742
742
  return t;
743
- var n = /* @__PURE__ */ new Map(), i = Xe(t), s = /* @__PURE__ */ G(0), r = pt, o = (l) => {
743
+ var n = /* @__PURE__ */ new Map(), i = Qe(t), s = /* @__PURE__ */ G(0), r = pt, o = (l) => {
744
744
  if (pt === r)
745
745
  return l();
746
746
  var u = w, a = pt;
@@ -756,7 +756,7 @@ function It(t) {
756
756
  t,
757
757
  {
758
758
  defineProperty(l, u, a) {
759
- (!("value" in a) || a.configurable === !1 || a.enumerable === !1 || a.writable === !1) && fi();
759
+ (!("value" in a) || a.configurable === !1 || a.enumerable === !1 || a.writable === !1) && hi();
760
760
  var c = n.get(u);
761
761
  return c === void 0 ? c = o(() => {
762
762
  var d = /* @__PURE__ */ G(a.value);
@@ -861,7 +861,7 @@ function It(t) {
861
861
  return u;
862
862
  },
863
863
  setPrototypeOf() {
864
- hi();
864
+ pi();
865
865
  }
866
866
  }
867
867
  );
@@ -874,25 +874,25 @@ function ke(t) {
874
874
  }
875
875
  return t;
876
876
  }
877
- function Ri(t, e) {
877
+ function ki(t, e) {
878
878
  return Object.is(ke(t), ke(e));
879
879
  }
880
- var ki, Mi, xi;
880
+ var Mi, xi, Ui;
881
881
  // @__NO_SIDE_EFFECTS__
882
- function Ui(t) {
882
+ function Hi(t) {
883
883
  return (
884
884
  /** @type {TemplateNode | null} */
885
- Mi.call(t)
885
+ xi.call(t)
886
886
  );
887
887
  }
888
888
  // @__NO_SIDE_EFFECTS__
889
- function Hi(t) {
889
+ function Fi(t) {
890
890
  return (
891
891
  /** @type {TemplateNode | null} */
892
- xi.call(t)
892
+ Ui.call(t)
893
893
  );
894
894
  }
895
- function Fi(t, e) {
895
+ function Bi(t, e) {
896
896
  if (e) {
897
897
  const n = document.body;
898
898
  t.autofocus = !0, Jt(() => {
@@ -909,10 +909,10 @@ function Le(t) {
909
909
  Q(e), st(n);
910
910
  }
911
911
  }
912
- function Bi(t) {
913
- N === null && (w === null && ai(), ui()), it && li();
912
+ function Vi(t) {
913
+ N === null && (w === null && ci(), ai()), it && ui();
914
914
  }
915
- function Vi(t, e) {
915
+ function Wi(t, e) {
916
916
  var n = e.last;
917
917
  n === null ? e.last = e.first = t : (n.next = t, t.prev = n, e.last = t);
918
918
  }
@@ -944,7 +944,7 @@ function gt(t, e, n) {
944
944
  else e !== null && St(s);
945
945
  var r = s;
946
946
  if (n && r.deps === null && r.teardown === null && r.nodes === null && r.first === r.last && // either `null`, or a singular child
947
- (r.f & Zt) === 0 && (r = r.first, (t & yt) !== 0 && (t & Pe) !== 0 && r !== null && (r.f |= Pe)), r !== null && (r.parent = i, i !== null && Vi(r, i), w !== null && (w.f & k) !== 0 && (t & Pt) === 0)) {
947
+ (r.f & Zt) === 0 && (r = r.first, (t & yt) !== 0 && (t & Pe) !== 0 && r !== null && (r.f |= Pe)), r !== null && (r.parent = i, i !== null && Wi(r, i), w !== null && (w.f & k) !== 0 && (t & Pt) === 0)) {
948
948
  var o = (
949
949
  /** @type {Derived} */
950
950
  w
@@ -953,15 +953,15 @@ function gt(t, e, n) {
953
953
  }
954
954
  return s;
955
955
  }
956
- function pn() {
956
+ function _n() {
957
957
  return w !== null && !q;
958
958
  }
959
- function _n(t) {
959
+ function Cn(t) {
960
960
  const e = gt(ge, null, !1);
961
961
  return H(e, x), e.teardown = t, e;
962
962
  }
963
- function Wi(t) {
964
- Bi();
963
+ function ji(t) {
964
+ Vi();
965
965
  var e = (
966
966
  /** @type {Effect} */
967
967
  N.f
@@ -973,28 +973,28 @@ function Wi(t) {
973
973
  );
974
974
  (i.e ?? (i.e = [])).push(t);
975
975
  } else
976
- return Cn(t);
976
+ return yn(t);
977
977
  }
978
- function Cn(t) {
979
- return gt(Gt | ii, t, !1);
978
+ function yn(t) {
979
+ return gt(Gt | si, t, !1);
980
980
  }
981
981
  function Ae(t) {
982
982
  return gt(Gt, t, !1);
983
983
  }
984
- function ji(t) {
984
+ function Gi(t) {
985
985
  return gt(we | Zt, t, !0);
986
986
  }
987
- function Gi(t, e = 0) {
987
+ function Yi(t, e = 0) {
988
988
  return gt(ge | e, t, !0);
989
989
  }
990
- function yn(t, e = 0) {
990
+ function vn(t, e = 0) {
991
991
  var n = gt(me | e, t, !0);
992
992
  return n;
993
993
  }
994
- function vn(t) {
994
+ function gn(t) {
995
995
  return gt(vt | Zt, t, !0);
996
996
  }
997
- function gn(t) {
997
+ function mn(t) {
998
998
  var e = t.teardown;
999
999
  if (e !== null) {
1000
1000
  const n = it, i = w;
@@ -1006,7 +1006,7 @@ function gn(t) {
1006
1006
  }
1007
1007
  }
1008
1008
  }
1009
- function mn(t, e = !1) {
1009
+ function bn(t, e = !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 mn(t, e = !1) {
1017
1017
  (n.f & Pt) !== 0 ? n.parent = null : Ct(n, e), n = i;
1018
1018
  }
1019
1019
  }
1020
- function Yi(t) {
1020
+ function Ki(t) {
1021
1021
  for (var e = t.first; e !== null; ) {
1022
1022
  var n = e.next;
1023
1023
  (e.f & vt) === 0 && Ct(e), e = n;
@@ -1025,26 +1025,26 @@ function Yi(t) {
1025
1025
  }
1026
1026
  function Ct(t, e = !0) {
1027
1027
  var n = !1;
1028
- (e || (t.f & tn) !== 0) && t.nodes !== null && t.nodes.end !== null && (Ki(
1028
+ (e || (t.f & en) !== 0) && t.nodes !== null && t.nodes.end !== null && (zi(
1029
1029
  t.nodes.start,
1030
1030
  /** @type {TemplateNode} */
1031
1031
  t.nodes.end
1032
- ), n = !0), mn(t, e && !n), Xt(t, 0), H(t, J);
1032
+ ), n = !0), bn(t, e && !n), Xt(t, 0), H(t, J);
1033
1033
  var i = t.nodes && t.nodes.t;
1034
1034
  if (i !== null)
1035
1035
  for (const r of i)
1036
1036
  r.stop();
1037
- gn(t);
1037
+ mn(t);
1038
1038
  var s = t.parent;
1039
- s !== null && s.first !== null && bn(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes = t.ac = null;
1039
+ s !== null && s.first !== null && wn(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes = t.ac = null;
1040
1040
  }
1041
- function Ki(t, e) {
1041
+ function zi(t, e) {
1042
1042
  for (; t !== null; ) {
1043
- var n = t === e ? null : /* @__PURE__ */ Hi(t);
1043
+ var n = t === e ? null : /* @__PURE__ */ Fi(t);
1044
1044
  t.remove(), t = n;
1045
1045
  }
1046
1046
  }
1047
- function bn(t) {
1047
+ function wn(t) {
1048
1048
  var e = t.parent, n = t.prev, i = t.next;
1049
1049
  n !== null && (n.next = i), i !== null && (i.prev = n), e !== null && (e.first === t && (e.first = i), e.last === t && (e.last = n));
1050
1050
  }
@@ -1065,19 +1065,19 @@ function st(t) {
1065
1065
  N = t;
1066
1066
  }
1067
1067
  let U = null;
1068
- function zi(t) {
1068
+ function qi(t) {
1069
1069
  w !== null && (U === null ? U = [t] : U.push(t));
1070
1070
  }
1071
1071
  let F = null, B = 0, j = null;
1072
- function qi(t) {
1072
+ function $i(t) {
1073
1073
  j = t;
1074
1074
  }
1075
- let wn = 1, at = 0, pt = at;
1075
+ let In = 1, at = 0, pt = at;
1076
1076
  function xe(t) {
1077
1077
  pt = t;
1078
1078
  }
1079
- function In() {
1080
- return ++wn;
1079
+ function En() {
1080
+ return ++In;
1081
1081
  }
1082
1082
  function Ut(t) {
1083
1083
  var e = t.f;
@@ -1092,7 +1092,7 @@ function Ut(t) {
1092
1092
  if (Ut(
1093
1093
  /** @type {Derived} */
1094
1094
  r
1095
- ) && cn(
1095
+ ) && dn(
1096
1096
  /** @type {Derived} */
1097
1097
  r
1098
1098
  ), r.wv > t.wv)
@@ -1104,12 +1104,12 @@ function Ut(t) {
1104
1104
  }
1105
1105
  return !1;
1106
1106
  }
1107
- function En(t, e, n = !0) {
1107
+ function Nn(t, e, n = !0) {
1108
1108
  var i = t.reactions;
1109
1109
  if (i !== null && !(U != null && U.includes(t)))
1110
1110
  for (var s = 0; s < i.length; s++) {
1111
1111
  var r = i[s];
1112
- (r.f & k) !== 0 ? En(
1112
+ (r.f & k) !== 0 ? Nn(
1113
1113
  /** @type {Derived} */
1114
1114
  r,
1115
1115
  e,
@@ -1120,7 +1120,7 @@ function En(t, e, n = !0) {
1120
1120
  ));
1121
1121
  }
1122
1122
  }
1123
- function Nn(t) {
1123
+ function Dn(t) {
1124
1124
  var _;
1125
1125
  var e = F, n = B, i = j, s = w, r = U, o = X, l = q, u = pt, a = t.f;
1126
1126
  F = /** @type {null | Value[]} */
@@ -1140,14 +1140,14 @@ function Nn(t) {
1140
1140
  f[B + p] = F[p];
1141
1141
  else
1142
1142
  t.deps = f = F;
1143
- if (pn() && (t.f & Y) !== 0)
1143
+ if (_n() && (t.f & Y) !== 0)
1144
1144
  for (p = B; p < f.length; p++)
1145
1145
  ((_ = f[p]).reactions ?? (_.reactions = [])).push(t);
1146
1146
  } else f !== null && B < f.length && (Xt(t, B), f.length = B);
1147
- if (nn() && j !== null && !q && f !== null && (t.f & (k | rt | W)) === 0)
1147
+ if (sn() && j !== null && !q && f !== null && (t.f & (k | rt | W)) === 0)
1148
1148
  for (p = 0; p < /** @type {Source[]} */
1149
1149
  j.length; p++)
1150
- En(
1150
+ Nn(
1151
1151
  j[p],
1152
1152
  /** @type {Effect} */
1153
1153
  t
@@ -1164,15 +1164,15 @@ function Nn(t) {
1164
1164
  }
1165
1165
  return (t.f & et) !== 0 && (t.f ^= et), d;
1166
1166
  } catch (g) {
1167
- return wi(g);
1167
+ return Ii(g);
1168
1168
  } finally {
1169
1169
  t.f ^= de, F = e, B = n, j = i, w = s, U = r, Yt(o), q = l, pt = u;
1170
1170
  }
1171
1171
  }
1172
- function $i(t, e) {
1172
+ function Xi(t, e) {
1173
1173
  let n = e.reactions;
1174
1174
  if (n !== null) {
1175
- var i = Qn.call(n, t);
1175
+ var i = Zn.call(n, t);
1176
1176
  if (i !== -1) {
1177
1177
  var s = n.length - 1;
1178
1178
  s === 0 ? n = e.reactions = null : (n[i] = n[s], n.pop());
@@ -1186,14 +1186,14 @@ function $i(t, e) {
1186
1186
  /** @type {Derived} */
1187
1187
  e
1188
1188
  );
1189
- (r.f & Y) !== 0 && (r.f ^= Y, r.f &= ~_t), Ie(r), an(r), Xt(r, 0);
1189
+ (r.f & Y) !== 0 && (r.f ^= Y, r.f &= ~_t), Ie(r), cn(r), Xt(r, 0);
1190
1190
  }
1191
1191
  }
1192
1192
  function Xt(t, e) {
1193
1193
  var n = t.deps;
1194
1194
  if (n !== null)
1195
1195
  for (var i = e; i < n.length; i++)
1196
- $i(t, n[i]);
1196
+ Xi(t, n[i]);
1197
1197
  }
1198
1198
  function Mt(t) {
1199
1199
  var e = t.f;
@@ -1202,11 +1202,11 @@ function Mt(t) {
1202
1202
  var n = N, i = ht;
1203
1203
  N = t, ht = !0;
1204
1204
  try {
1205
- (e & (yt | me)) !== 0 ? Yi(t) : mn(t), gn(t);
1206
- var s = Nn(t);
1207
- t.teardown = typeof s == "function" ? s : null, t.wv = wn;
1205
+ (e & (yt | me)) !== 0 ? Ki(t) : bn(t), mn(t);
1206
+ var s = Dn(t);
1207
+ t.teardown = typeof s == "function" ? s : null, t.wv = In;
1208
1208
  var r;
1209
- ce && vi && (t.f & W) !== 0 && t.deps;
1209
+ ce && gi && (t.f & W) !== 0 && t.deps;
1210
1210
  } finally {
1211
1211
  ht = i, N = n;
1212
1212
  }
@@ -1236,10 +1236,10 @@ function I(t) {
1236
1236
  );
1237
1237
  if (it) {
1238
1238
  var l = o.v;
1239
- return ((o.f & x) === 0 && o.reactions !== null || Ln(o)) && (l = De(o)), nt.set(o, l), l;
1239
+ return ((o.f & x) === 0 && o.reactions !== null || An(o)) && (l = De(o)), nt.set(o, l), l;
1240
1240
  }
1241
1241
  var u = (o.f & Y) === 0 && !q && w !== null && (ht || (w.f & Y) !== 0), a = o.deps === null;
1242
- Ut(o) && (u && (o.f |= Y), cn(o)), u && !a && Dn(o);
1242
+ Ut(o) && (u && (o.f |= Y), dn(o)), u && !a && Ln(o);
1243
1243
  }
1244
1244
  if (R != null && R.has(t))
1245
1245
  return R.get(t);
@@ -1247,28 +1247,28 @@ function I(t) {
1247
1247
  throw t.v;
1248
1248
  return t.v;
1249
1249
  }
1250
- function Dn(t) {
1250
+ function Ln(t) {
1251
1251
  if (t.deps !== null) {
1252
1252
  t.f |= Y;
1253
1253
  for (const e of t.deps)
1254
- (e.reactions ?? (e.reactions = [])).push(t), (e.f & k) !== 0 && (e.f & Y) === 0 && Dn(
1254
+ (e.reactions ?? (e.reactions = [])).push(t), (e.f & k) !== 0 && (e.f & Y) === 0 && Ln(
1255
1255
  /** @type {Derived} */
1256
1256
  e
1257
1257
  );
1258
1258
  }
1259
1259
  }
1260
- function Ln(t) {
1260
+ function An(t) {
1261
1261
  if (t.v === P) return !0;
1262
1262
  if (t.deps === null) return !1;
1263
1263
  for (const e of t.deps)
1264
- if (nt.has(e) || (e.f & k) !== 0 && Ln(
1264
+ if (nt.has(e) || (e.f & k) !== 0 && An(
1265
1265
  /** @type {Derived} */
1266
1266
  e
1267
1267
  ))
1268
1268
  return !0;
1269
1269
  return !1;
1270
1270
  }
1271
- function An(t) {
1271
+ function Tn(t) {
1272
1272
  var e = q;
1273
1273
  try {
1274
1274
  return q = !0, t();
@@ -1276,24 +1276,24 @@ function An(t) {
1276
1276
  q = e;
1277
1277
  }
1278
1278
  }
1279
- const Xi = /* @__PURE__ */ new Set(), Qi = /* @__PURE__ */ new Set();
1280
- function Zi(t, e, n, i = {}) {
1279
+ const Qi = /* @__PURE__ */ new Set(), Zi = /* @__PURE__ */ new Set();
1280
+ function Ji(t, e, n, i = {}) {
1281
1281
  function s(r) {
1282
- if (i.capture || ts.call(e, r), !r.cancelBubble)
1282
+ if (i.capture || es.call(e, r), !r.cancelBubble)
1283
1283
  return Le(() => n == null ? void 0 : n.call(this, r));
1284
1284
  }
1285
1285
  return t.startsWith("pointer") || t.startsWith("touch") || t === "wheel" ? Jt(() => {
1286
1286
  e.addEventListener(t, s, i);
1287
1287
  }) : e.addEventListener(t, s, i), s;
1288
1288
  }
1289
- function Ji(t) {
1289
+ function ts(t) {
1290
1290
  for (var e = 0; e < t.length; e++)
1291
- Xi.add(t[e]);
1292
- for (var n of Qi)
1291
+ Qi.add(t[e]);
1292
+ for (var n of Zi)
1293
1293
  n(t);
1294
1294
  }
1295
1295
  let Ue = null;
1296
- function ts(t) {
1296
+ function es(t) {
1297
1297
  var b;
1298
1298
  var e = this, n = (
1299
1299
  /** @type {Node} */
@@ -1318,7 +1318,7 @@ function ts(t) {
1318
1318
  }
1319
1319
  if (r = /** @type {Element} */
1320
1320
  s[o] || t.target, r !== e) {
1321
- Zn(t, "currentTarget", {
1321
+ Jn(t, "currentTarget", {
1322
1322
  configurable: !0,
1323
1323
  get() {
1324
1324
  return r || n;
@@ -1355,11 +1355,11 @@ function ts(t) {
1355
1355
  }
1356
1356
  }
1357
1357
  }
1358
- function es(t) {
1358
+ function ns(t) {
1359
1359
  var e = document.createElement("template");
1360
1360
  return e.innerHTML = t.replaceAll("<!>", "<!---->"), e.content;
1361
1361
  }
1362
- function ns(t, e) {
1362
+ function is(t, e) {
1363
1363
  var n = (
1364
1364
  /** @type {Effect} */
1365
1365
  N
@@ -1367,28 +1367,28 @@ function ns(t, e) {
1367
1367
  n.nodes === null && (n.nodes = { start: t, end: e, a: null, t: null });
1368
1368
  }
1369
1369
  // @__NO_SIDE_EFFECTS__
1370
- function is(t, e) {
1371
- var n = (e & qn) !== 0, i, s = !t.startsWith("<!>");
1370
+ function ss(t, e) {
1371
+ var n = (e & $n) !== 0, i, s = !t.startsWith("<!>");
1372
1372
  return () => {
1373
- i === void 0 && (i = es(s ? t : "<!>" + t), i = /** @type {TemplateNode} */
1374
- /* @__PURE__ */ Ui(i));
1373
+ i === void 0 && (i = ns(s ? t : "<!>" + t), i = /** @type {TemplateNode} */
1374
+ /* @__PURE__ */ Hi(i));
1375
1375
  var r = (
1376
1376
  /** @type {TemplateNode} */
1377
- n || ki ? document.importNode(i, !0) : i.cloneNode(!0)
1377
+ n || Mi ? document.importNode(i, !0) : i.cloneNode(!0)
1378
1378
  );
1379
- return ns(r, r), r;
1379
+ return is(r, r), r;
1380
1380
  };
1381
1381
  }
1382
- function ss(t, e) {
1382
+ function rs(t, e) {
1383
1383
  t !== null && t.before(
1384
1384
  /** @type {Node} */
1385
1385
  e
1386
1386
  );
1387
1387
  }
1388
- function rs(t) {
1388
+ function os(t) {
1389
1389
  return t.endsWith("capture") && t !== "gotpointercapture" && t !== "lostpointercapture";
1390
1390
  }
1391
- const os = [
1391
+ const ls = [
1392
1392
  "beforeinput",
1393
1393
  "click",
1394
1394
  "change",
@@ -1413,10 +1413,10 @@ const os = [
1413
1413
  "touchmove",
1414
1414
  "touchstart"
1415
1415
  ];
1416
- function ls(t) {
1417
- return os.includes(t);
1416
+ function us(t) {
1417
+ return ls.includes(t);
1418
1418
  }
1419
- const us = {
1419
+ const as = {
1420
1420
  // no `class: 'className'` because we handle that separately
1421
1421
  formnovalidate: "formNoValidate",
1422
1422
  ismap: "isMap",
@@ -1431,13 +1431,13 @@ const us = {
1431
1431
  disablepictureinpicture: "disablePictureInPicture",
1432
1432
  disableremoteplayback: "disableRemotePlayback"
1433
1433
  };
1434
- function as(t) {
1435
- return t = t.toLowerCase(), us[t] ?? t;
1434
+ function cs(t) {
1435
+ return t = t.toLowerCase(), as[t] ?? t;
1436
1436
  }
1437
- function cs(t, e) {
1437
+ function ds(t, e) {
1438
1438
  var n = void 0, i;
1439
- yn(() => {
1440
- n !== (n = e()) && (i && (Ct(i), i = null), n && (i = vn(() => {
1439
+ vn(() => {
1440
+ n !== (n = e()) && (i && (Ct(i), i = null), n && (i = gn(() => {
1441
1441
  Ae(() => (
1442
1442
  /** @type {(node: Element) => void} */
1443
1443
  n(t)
@@ -1445,25 +1445,25 @@ function cs(t, e) {
1445
1445
  })));
1446
1446
  });
1447
1447
  }
1448
- function Tn(t) {
1448
+ function Sn(t) {
1449
1449
  var e, 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 (e = 0; e < s; e++) t[e] && (n = Tn(t[e])) && (i && (i += " "), i += n);
1453
+ for (e = 0; e < s; e++) t[e] && (n = Sn(t[e])) && (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 ds() {
1458
- for (var t, e, n = 0, i = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (e = Tn(t)) && (i && (i += " "), i += e);
1457
+ function fs() {
1458
+ for (var t, e, n = 0, i = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (e = Sn(t)) && (i && (i += " "), i += e);
1459
1459
  return i;
1460
1460
  }
1461
- function fs(t) {
1462
- return typeof t == "object" ? ds(t) : t ?? "";
1461
+ function hs(t) {
1462
+ return typeof t == "object" ? fs(t) : t ?? "";
1463
1463
  }
1464
1464
  const He = [...`
1465
1465
  \r\f \v\uFEFF`];
1466
- function hs(t, e, n) {
1466
+ function ps(t, e, n) {
1467
1467
  var i = t == null ? "" : "" + t;
1468
1468
  if (n) {
1469
1469
  for (var s in n)
@@ -1488,7 +1488,7 @@ function Fe(t, e = !1) {
1488
1488
  function ne(t) {
1489
1489
  return t[0] !== "-" || t[1] !== "-" ? t.toLowerCase() : t;
1490
1490
  }
1491
- function ps(t, e) {
1491
+ function _s(t, e) {
1492
1492
  if (e) {
1493
1493
  var n = "", i, s;
1494
1494
  if (Array.isArray(e) ? (i = e[0], s = e[1]) : i = e, t) {
@@ -1520,10 +1520,10 @@ function ps(t, e) {
1520
1520
  }
1521
1521
  return t == null ? null : String(t);
1522
1522
  }
1523
- function _s(t, e, n, i, s, r) {
1523
+ function Cs(t, e, n, i, s, r) {
1524
1524
  var o = t.__className;
1525
1525
  if (o !== n || o === void 0) {
1526
- var l = hs(n, i, r);
1526
+ var l = ps(n, i, r);
1527
1527
  l == null ? t.removeAttribute("class") : e ? t.className = l : t.setAttribute("class", l), t.__className = n;
1528
1528
  } else if (r && s !== r)
1529
1529
  for (var u in r) {
@@ -1538,10 +1538,10 @@ function ie(t, e = {}, n, i) {
1538
1538
  e[s] !== r && (n[s] == null ? t.style.removeProperty(s) : t.style.setProperty(s, r, i));
1539
1539
  }
1540
1540
  }
1541
- function Cs(t, e, n, i) {
1541
+ function ys(t, e, n, i) {
1542
1542
  var s = t.__style;
1543
1543
  if (s !== e) {
1544
- var r = ps(e, i);
1544
+ var r = _s(e, i);
1545
1545
  r == null ? t.removeAttribute("style") : t.style.cssText = r, t.__style = e;
1546
1546
  } else i && (Array.isArray(i) ? (ie(t, n == null ? void 0 : n[0], i[0]), ie(t, n == null ? void 0 : n[1], i[1], "important")) : ie(t, n, i));
1547
1547
  return i;
@@ -1550,22 +1550,22 @@ function ye(t, e, n = !1) {
1550
1550
  if (t.multiple) {
1551
1551
  if (e == null)
1552
1552
  return;
1553
- if (!Xe(e))
1554
- return _i();
1553
+ if (!Qe(e))
1554
+ return Ci();
1555
1555
  for (var i of t.options)
1556
1556
  i.selected = e.includes(Be(i));
1557
1557
  return;
1558
1558
  }
1559
1559
  for (i of t.options) {
1560
1560
  var s = Be(i);
1561
- if (Ri(s, e)) {
1561
+ if (ki(s, e)) {
1562
1562
  i.selected = !0;
1563
1563
  return;
1564
1564
  }
1565
1565
  }
1566
1566
  (!n || e !== void 0) && (t.selectedIndex = -1);
1567
1567
  }
1568
- function ys(t) {
1568
+ function vs(t) {
1569
1569
  var e = new MutationObserver(() => {
1570
1570
  ye(t, t.__value);
1571
1571
  });
@@ -1579,27 +1579,27 @@ function ys(t) {
1579
1579
  // because that property is not reflected as an attribute)
1580
1580
  attributes: !0,
1581
1581
  attributeFilter: ["value"]
1582
- }), _n(() => {
1582
+ }), Cn(() => {
1583
1583
  e.disconnect();
1584
1584
  });
1585
1585
  }
1586
1586
  function Be(t) {
1587
1587
  return "__value" in t ? t.__value : t.value;
1588
1588
  }
1589
- const Ot = Symbol("class"), Rt = Symbol("style"), Sn = Symbol("is custom element"), Pn = Symbol("is html");
1590
- function vs(t, e) {
1589
+ const Ot = Symbol("class"), Rt = Symbol("style"), Pn = Symbol("is custom element"), On = Symbol("is html");
1590
+ function gs(t, e) {
1591
1591
  e ? t.hasAttribute("selected") || t.setAttribute("selected", "") : t.removeAttribute("selected");
1592
1592
  }
1593
1593
  function Ve(t, e, n, i) {
1594
- var s = On(t);
1595
- s[e] !== (s[e] = n) && (e === "loading" && (t[ri] = n), n == null ? t.removeAttribute(e) : typeof n != "string" && Rn(t).includes(e) ? t[e] = n : t.setAttribute(e, n));
1594
+ var s = Rn(t);
1595
+ s[e] !== (s[e] = n) && (e === "loading" && (t[oi] = n), n == null ? t.removeAttribute(e) : typeof n != "string" && kn(t).includes(e) ? t[e] = n : t.setAttribute(e, n));
1596
1596
  }
1597
- function gs(t, e, n, i, s = !1, r = !1) {
1598
- var o = On(t), l = o[Sn], u = !o[Pn], a = e || {}, c = t.tagName === "OPTION";
1597
+ function ms(t, e, n, i, s = !1, r = !1) {
1598
+ var o = Rn(t), l = o[Pn], u = !o[On], a = e || {}, c = t.tagName === "OPTION";
1599
1599
  for (var d in e)
1600
1600
  d in n || (n[d] = null);
1601
- n.class ? n.class = fs(n.class) : n[Ot] && (n.class = null), n[Rt] && (n.style ?? (n.style = null));
1602
- var f = Rn(t);
1601
+ n.class ? n.class = hs(n.class) : n[Ot] && (n.class = null), n[Rt] && (n.style ?? (n.style = null));
1602
+ var f = kn(t);
1603
1603
  for (const h in n) {
1604
1604
  let m = n[h];
1605
1605
  if (c && h === "value" && m == null) {
@@ -1608,11 +1608,11 @@ function gs(t, e, n, i, s = !1, r = !1) {
1608
1608
  }
1609
1609
  if (h === "class") {
1610
1610
  var p = t.namespaceURI === "http://www.w3.org/1999/xhtml";
1611
- _s(t, p, m, i, e == null ? void 0 : e[Ot], n[Ot]), a[h] = m, a[Ot] = n[Ot];
1611
+ Cs(t, p, m, i, e == null ? void 0 : e[Ot], n[Ot]), a[h] = m, a[Ot] = n[Ot];
1612
1612
  continue;
1613
1613
  }
1614
1614
  if (h === "style") {
1615
- Cs(t, m, e == null ? void 0 : e[Rt], n[Rt]), a[h] = m, a[Rt] = n[Rt];
1615
+ ys(t, m, e == null ? void 0 : e[Rt], n[Rt]), a[h] = m, a[Rt] = n[Rt];
1616
1616
  continue;
1617
1617
  }
1618
1618
  var _ = a[h];
@@ -1623,25 +1623,25 @@ function gs(t, e, n, i, s = !1, r = !1) {
1623
1623
  if (g === "on") {
1624
1624
  const S = {}, ot = "$$" + h;
1625
1625
  let O = h.slice(2);
1626
- var b = ls(O);
1627
- if (rs(O) && (O = O.slice(0, -7), S.capture = !0), !b && _) {
1626
+ var b = us(O);
1627
+ if (os(O) && (O = O.slice(0, -7), S.capture = !0), !b && _) {
1628
1628
  if (m != null) continue;
1629
1629
  t.removeEventListener(O, a[ot], S), a[ot] = null;
1630
1630
  }
1631
1631
  if (m != null)
1632
1632
  if (b)
1633
- t[`__${O}`] = m, Ji([O]);
1633
+ t[`__${O}`] = m, ts([O]);
1634
1634
  else {
1635
- let Un = function(Hn) {
1636
- a[h].call(this, Hn);
1635
+ let Hn = function(Fn) {
1636
+ a[h].call(this, Fn);
1637
1637
  };
1638
- a[ot] = Zi(O, t, Un, S);
1638
+ a[ot] = Ji(O, t, Hn, S);
1639
1639
  }
1640
1640
  else b && (t[`__${O}`] = void 0);
1641
1641
  } else if (h === "style")
1642
1642
  Ve(t, h, m);
1643
1643
  else if (h === "autofocus")
1644
- Fi(
1644
+ Bi(
1645
1645
  /** @type {HTMLElement} */
1646
1646
  t,
1647
1647
  !!m
@@ -1649,14 +1649,14 @@ function gs(t, e, n, i, s = !1, r = !1) {
1649
1649
  else if (!l && (h === "__value" || h === "value" && m != null))
1650
1650
  t.value = t.__value = m;
1651
1651
  else if (h === "selected" && c)
1652
- vs(
1652
+ gs(
1653
1653
  /** @type {HTMLOptionElement} */
1654
1654
  t,
1655
1655
  m
1656
1656
  );
1657
1657
  else {
1658
1658
  var y = h;
1659
- u || (y = as(y));
1659
+ u || (y = cs(y));
1660
1660
  var v = y === "defaultValue" || y === "defaultChecked";
1661
1661
  if (m == null && !l && !v)
1662
1662
  if (o[h] = null, y === "value" || y === "checked") {
@@ -1680,11 +1680,11 @@ function gs(t, e, n, i, s = !1, r = !1) {
1680
1680
  }
1681
1681
  return a;
1682
1682
  }
1683
- function ms(t, e, n = [], i = [], s = [], r, o = !1, l = !1) {
1684
- Li(s, n, i, (u) => {
1683
+ function bs(t, e, n = [], i = [], s = [], r, o = !1, l = !1) {
1684
+ Ai(s, n, i, (u) => {
1685
1685
  var a = void 0, c = {}, d = t.nodeName === "SELECT", f = !1;
1686
- if (yn(() => {
1687
- var _ = e(...u.map(I)), g = gs(
1686
+ if (vn(() => {
1687
+ var _ = e(...u.map(I)), g = ms(
1688
1688
  t,
1689
1689
  a,
1690
1690
  _,
@@ -1701,7 +1701,7 @@ function ms(t, e, n = [], i = [], s = [], r, o = !1, l = !1) {
1701
1701
  _[y] || Ct(c[y]);
1702
1702
  for (let y of Object.getOwnPropertySymbols(_)) {
1703
1703
  var b = _[y];
1704
- y.description === Xn && (!a || b !== a[y]) && (c[y] && Ct(c[y]), c[y] = vn(() => cs(t, () => b))), g[y] = b;
1704
+ y.description === Qn && (!a || b !== a[y]) && (c[y] && Ct(c[y]), c[y] = gn(() => ds(t, () => b))), g[y] = b;
1705
1705
  }
1706
1706
  a = g;
1707
1707
  }), d) {
@@ -1715,43 +1715,43 @@ function ms(t, e, n = [], i = [], s = [], r, o = !1, l = !1) {
1715
1715
  /** @type {Record<string | symbol, any>} */
1716
1716
  a.value,
1717
1717
  !0
1718
- ), ys(p);
1718
+ ), vs(p);
1719
1719
  });
1720
1720
  }
1721
1721
  f = !0;
1722
1722
  });
1723
1723
  }
1724
- function On(t) {
1724
+ function Rn(t) {
1725
1725
  return (
1726
1726
  /** @type {Record<string | symbol, unknown>} **/
1727
1727
  // @ts-expect-error
1728
1728
  t.__attributes ?? (t.__attributes = {
1729
- [Sn]: t.nodeName.includes("-"),
1730
- [Pn]: t.namespaceURI === $n
1729
+ [Pn]: t.nodeName.includes("-"),
1730
+ [On]: t.namespaceURI === Xn
1731
1731
  })
1732
1732
  );
1733
1733
  }
1734
1734
  var We = /* @__PURE__ */ new Map();
1735
- function Rn(t) {
1735
+ function kn(t) {
1736
1736
  var e = t.getAttribute("is") || t.nodeName, n = We.get(e);
1737
1737
  if (n) return n;
1738
1738
  We.set(e, n = []);
1739
1739
  for (var i, s = t, r = Element.prototype; r !== s; ) {
1740
- i = Jn(s);
1740
+ i = ti(s);
1741
1741
  for (var o in i)
1742
1742
  i[o].set && n.push(o);
1743
- s = Qe(s);
1743
+ s = Ze(s);
1744
1744
  }
1745
1745
  return n;
1746
1746
  }
1747
1747
  function je(t, e) {
1748
1748
  return t === e || (t == null ? void 0 : t[ft]) === e;
1749
1749
  }
1750
- function bs(t = {}, e, n, i) {
1750
+ function ws(t = {}, e, n, i) {
1751
1751
  return Ae(() => {
1752
1752
  var s, r;
1753
- return Gi(() => {
1754
- s = r, r = [], An(() => {
1753
+ return Yi(() => {
1754
+ s = r, r = [], Tn(() => {
1755
1755
  t !== n(...r) && (e(t, ...r), s && je(n(...s), t) && e(null, ...s));
1756
1756
  });
1757
1757
  }), () => {
@@ -1762,7 +1762,7 @@ function bs(t = {}, e, n, i) {
1762
1762
  }), t;
1763
1763
  }
1764
1764
  let Ft = !1;
1765
- function ws(t) {
1765
+ function Is(t) {
1766
1766
  var e = Ft;
1767
1767
  try {
1768
1768
  return Ft = !1, [t(), Ft];
@@ -1772,10 +1772,10 @@ function ws(t) {
1772
1772
  }
1773
1773
  function Bt(t, e, n, i) {
1774
1774
  var v;
1775
- var s = (n & Kn) !== 0, r = (n & zn) !== 0, o = (
1775
+ var s = (n & zn) !== 0, r = (n & qn) !== 0, o = (
1776
1776
  /** @type {V} */
1777
1777
  i
1778
- ), l = !0, u = () => (l && (l = !1, o = r ? An(
1778
+ ), l = !0, u = () => (l && (l = !1, o = r ? Tn(
1779
1779
  /** @type {() => V} */
1780
1780
  i
1781
1781
  ) : (
@@ -1783,15 +1783,15 @@ function Bt(t, e, n, i) {
1783
1783
  i
1784
1784
  )), o), a;
1785
1785
  if (s) {
1786
- var c = ft in t || si in t;
1786
+ var c = ft in t || ri in t;
1787
1787
  a = ((v = Wt(t, e)) == null ? void 0 : v.set) ?? (c && e in t ? (h) => t[e] = h : void 0);
1788
1788
  }
1789
1789
  var d, f = !1;
1790
- s ? [d, f] = ws(() => (
1790
+ s ? [d, f] = Is(() => (
1791
1791
  /** @type {V} */
1792
1792
  t[e]
1793
1793
  )) : d = /** @type {V} */
1794
- t[e], d === void 0 && i !== void 0 && (d = u(), a && (di(), a(d)));
1794
+ t[e], d === void 0 && i !== void 0 && (d = u(), a && (fi(), a(d)));
1795
1795
  var p;
1796
1796
  if (p = () => {
1797
1797
  var h = (
@@ -1799,7 +1799,7 @@ function Bt(t, e, n, i) {
1799
1799
  t[e]
1800
1800
  );
1801
1801
  return h === void 0 ? u() : (l = !0, h);
1802
- }, (n & Yn) === 0)
1802
+ }, (n & Kn) === 0)
1803
1803
  return p;
1804
1804
  if (a) {
1805
1805
  var _ = t.$$legacy;
@@ -1810,7 +1810,7 @@ function Bt(t, e, n, i) {
1810
1810
  })
1811
1811
  );
1812
1812
  }
1813
- var g = !1, b = ((n & Gn) !== 0 ? Ne : Si)(() => (g = !1, p()));
1813
+ var g = !1, b = ((n & Yn) !== 0 ? Ne : Pi)(() => (g = !1, p()));
1814
1814
  s && I(b);
1815
1815
  var y = (
1816
1816
  /** @type {Effect} */
@@ -1827,7 +1827,7 @@ function Bt(t, e, n, i) {
1827
1827
  })
1828
1828
  );
1829
1829
  }
1830
- const Is = [
1830
+ const Es = [
1831
1831
  [
1832
1832
  "af",
1833
1833
  // Afghanistan
@@ -3505,7 +3505,7 @@ const Is = [
3505
3505
  "0"
3506
3506
  ]
3507
3507
  ], Nt = [];
3508
- for (const t of Is)
3508
+ for (const t of Es)
3509
3509
  Nt.push({
3510
3510
  name: "",
3511
3511
  // populated in the plugin
@@ -3556,7 +3556,7 @@ const Vt = {
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
- }, Es = {
3559
+ }, Ns = {
3560
3560
  HIDDEN_SEARCH_RESET_MS: 1e3
3561
3561
  }, Ye = {
3562
3562
  UNKNOWN_NUMBER_TYPE: -99,
@@ -3568,7 +3568,7 @@ const Vt = {
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
- }, kn = {
3571
+ }, Mn = {
3572
3572
  NANP: "1"
3573
3573
  // North American Numbering Plan
3574
3574
  }, re = {
@@ -3578,7 +3578,7 @@ const Vt = {
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
- }, Ns = {
3581
+ }, Ds = {
3582
3582
  ISO2: "us"
3583
3583
  }, ve = {
3584
3584
  AGGRESSIVE: "aggressive",
@@ -3598,7 +3598,7 @@ const Vt = {
3598
3598
  HIDDEN: "aria-hidden",
3599
3599
  AUTOCOMPLETE: "aria-autocomplete",
3600
3600
  MODAL: "aria-modal"
3601
- }, Ds = {
3601
+ }, Ls = {
3602
3602
  selectedCountryAriaLabel: "Change country, selected ${countryName} (${dialCode})",
3603
3603
  noCountrySelected: "Select country",
3604
3604
  countryListAriaLabel: "List of countries",
@@ -3608,13 +3608,13 @@ const Vt = {
3608
3608
  searchSummaryAria(t) {
3609
3609
  return t === 0 ? "No results found" : t === 1 ? "1 result found" : `${t} results found`;
3610
3610
  }
3611
- }, le = (t) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(t).matches, Ls = () => {
3611
+ }, le = (t) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(t).matches, As = () => {
3612
3612
  if (typeof navigator < "u" && typeof window < "u") {
3613
3613
  const t = le("(max-width: 500px)"), e = le("(max-height: 600px)"), n = le("(pointer: coarse)");
3614
3614
  return t || n && e;
3615
3615
  }
3616
3616
  return !1;
3617
- }, Mn = {
3617
+ }, xn = {
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 Vt = {
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: Ls(),
3669
+ useFullscreenPopup: As(),
3670
3670
  //* The number type to enforce during validation.
3671
3671
  allowedNumberTypes: ["MOBILE", "FIXED_LINE"]
3672
- }, As = (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 = { ...Ds, ...t.i18n };
3674
- }, jt = (t) => t.replace(/\D/g, ""), xn = (t = "") => t.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), Ts = (t, e) => {
3675
- const n = xn(e), i = [], s = [], r = [], o = [], l = [], u = [];
3672
+ }, Ts = (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 = { ...Ls, ...t.i18n };
3674
+ }, jt = (t) => t.replace(/\D/g, ""), Un = (t = "") => t.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), Ss = (t, e) => {
3675
+ const n = Un(e), i = [], s = [], r = [], o = [], l = [], u = [];
3676
3676
  for (const c of t)
3677
3677
  c.iso2 === n ? i.push(c) : c.normalisedName.startsWith(n) ? s.push(c) : c.normalisedName.includes(n) ? r.push(c) : n === c.dialCode || n === c.dialCodePlus ? o.push(c) : c.dialCodePlus.includes(n) ? l.push(c) : c.initials.includes(n) && u.push(c);
3678
3678
  const a = (c, d) => c.priority - d.priority;
@@ -3684,7 +3684,7 @@ const Vt = {
3684
3684
  ...l.sort(a),
3685
3685
  ...u.sort(a)
3686
3686
  ];
3687
- }, Ss = (t, e) => {
3687
+ }, Ps = (t, e) => {
3688
3688
  const n = e.toLowerCase();
3689
3689
  for (const i of t)
3690
3690
  if (i.name.toLowerCase().startsWith(n))
@@ -3695,11 +3695,11 @@ const Vt = {
3695
3695
  return e && Object.entries(e).forEach(
3696
3696
  ([s, r]) => i.setAttribute(s, r)
3697
3697
  ), n && n.appendChild(i), i;
3698
- }, Ps = () => `
3698
+ }, Os = () => `
3699
3699
  <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${D.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>`, Os = (t) => {
3702
+ </svg>`, Rs = (t) => {
3703
3703
  const e = `iti-${t}-clear-mask`;
3704
3704
  return `
3705
3705
  <svg class="iti__search-clear-svg" width="12" height="12" viewBox="0 0 16 16" ${D.HIDDEN}="true" focusable="false">
@@ -3709,7 +3709,7 @@ const Vt = {
3709
3709
  </mask>
3710
3710
  <circle cx="8" cy="8" r="8" class="iti__search-clear-bg" mask="url(#${e})" />
3711
3711
  </svg>`;
3712
- }, Rs = () => `
3712
+ }, ze = () => `
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 ks {
3826
3826
  [D.HIDDEN]: "true"
3827
3827
  },
3828
3828
  n
3829
- ), this.searchIcon.innerHTML = Ps(), this.searchInput = A(
3829
+ ), this.searchIcon.innerHTML = Os(), this.searchInput = A(
3830
3830
  "input",
3831
3831
  {
3832
3832
  id: `iti-${this.id}__search-input`,
@@ -3852,7 +3852,7 @@ class ks {
3852
3852
  tabindex: "-1"
3853
3853
  },
3854
3854
  n
3855
- ), this.searchClearButton.innerHTML = Os(this.id), this.searchResultsA11yText = A(
3855
+ ), this.searchClearButton.innerHTML = Rs(this.id), this.searchResultsA11yText = A(
3856
3856
  "span",
3857
3857
  { class: "iti__a11y-text" },
3858
3858
  this.dropdownContent
@@ -4072,8 +4072,8 @@ const Ms = (t) => {
4072
4072
  });
4073
4073
  }, Fs = (t) => {
4074
4074
  for (const e of t)
4075
- e.normalisedName = xn(e.name), e.initials = e.normalisedName.split(/[^a-z]/).map((n) => n[0]).join(""), e.dialCodePlus = `+${e.dialCode}`;
4076
- }, ze = (t, e, n, i) => {
4075
+ e.normalisedName = Un(e.name), e.initials = e.normalisedName.split(/[^a-z]/).map((n) => n[0]).join(""), e.dialCodePlus = `+${e.dialCode}`;
4076
+ }, qe = (t, e, n, i) => {
4077
4077
  let s = t;
4078
4078
  if (n && e) {
4079
4079
  const r = `+${i.dialCode}`, o = s[r.length] === " " || s[r.length] === "-" ? r.length + 1 : r.length;
@@ -4112,9 +4112,9 @@ const Ms = (t) => {
4112
4112
  "887",
4113
4113
  "888",
4114
4114
  "889"
4115
- ], qe = (t) => {
4115
+ ], $e = (t) => {
4116
4116
  const e = jt(t);
4117
- if (e.startsWith(kn.NANP) && e.length >= 4) {
4117
+ if (e.startsWith(Mn.NANP) && e.length >= 4) {
4118
4118
  const n = e.substring(1, 4);
4119
4119
  return Ws.includes(n);
4120
4120
  }
@@ -4124,7 +4124,7 @@ let js = 0;
4124
4124
  const Gs = new Set(Nt.map((t) => t.iso2)), ae = (t) => Gs.has(t);
4125
4125
  class Te {
4126
4126
  constructor(e, n = {}) {
4127
- this.id = js++, this.options = { ...Mn, ...n }, As(this.options), this.ui = new ks(e, this.options, this.id), this.isAndroid = Te._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = Ms(this.options);
4127
+ this.id = js++, this.options = { ...xn, ...n }, Ts(this.options), this.ui = new ks(e, this.options, this.id), this.isAndroid = Te._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = Ms(this.options);
4128
4128
  const { dialCodes: i, dialCodeMaxLen: s, dialCodeToIso2Map: r } = Us(
4129
4129
  this.countries
4130
4130
  );
@@ -4181,12 +4181,12 @@ class Te {
4181
4181
  //* 1. Extracting a dial code from the given number
4182
4182
  //* 2. Using explicit initialCountry
4183
4183
  _setInitialState(e = !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), u = qe(o), { initialCountry: a, geoIpLookup: c } = this.options, d = a === oe.AUTO && c;
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), u = $e(o), { initialCountry: a, geoIpLookup: c } = this.options, d = a === oe.AUTO && c;
4185
4185
  if (l && !u)
4186
4186
  this._updateCountryFromNumber(o);
4187
4187
  else if (!d || e) {
4188
4188
  const f = a ? a.toLowerCase() : "";
4189
- ae(f) ? this._setCountry(f) : l && u ? this._setCountry(Ns.ISO2) : this._setCountry("");
4189
+ ae(f) ? this._setCountry(f) : l && u ? this._setCountry(Ds.ISO2) : this._setCountry("");
4190
4190
  }
4191
4191
  o && this._updateValFromNumber(o);
4192
4192
  }
@@ -4318,7 +4318,7 @@ class Te {
4318
4318
  this._setTelInputValue(h), this.ui.telInput.setSelectionRange(m, m);
4319
4319
  }
4320
4320
  if (i && a.startsWith("+") && this.selectedCountryData.dialCode) {
4321
- const _ = ze(a, !0, i, this.selectedCountryData);
4321
+ const _ = qe(a, !0, i, this.selectedCountryData);
4322
4322
  this._setTelInputValue(_);
4323
4323
  }
4324
4324
  };
@@ -4483,7 +4483,7 @@ class Te {
4483
4483
  M.ESC
4484
4484
  ].includes(r.key) && (r.preventDefault(), r.stopPropagation(), r.key === M.ARROW_UP || r.key === M.ARROW_DOWN ? this._handleUpDownKey(r.key) : r.key === M.ENTER ? this._handleEnterKey() : r.key === M.ESC && (this._closeDropdown(), this.ui.selectedCountry.focus())), !this.options.countrySearch && ut.HIDDEN_SEARCH_CHAR.test(r.key) && (r.stopPropagation(), i && clearTimeout(i), n += r.key.toLowerCase(), this._searchForCountry(n), i = setTimeout(() => {
4485
4485
  n = "";
4486
- }, Es.HIDDEN_SEARCH_RESET_MS));
4486
+ }, Ns.HIDDEN_SEARCH_RESET_MS));
4487
4487
  };
4488
4488
  document.addEventListener("keydown", s, { signal: e });
4489
4489
  }
@@ -4511,7 +4511,7 @@ class Te {
4511
4511
  }
4512
4512
  //* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string.
4513
4513
  _searchForCountry(e) {
4514
- const n = Ss(this.countries, e);
4514
+ const n = Ps(this.countries, e);
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 Te {
4520
4520
  //* Country search: Filter the countries according to the search query.
4521
4521
  _filterCountriesByQuery(e) {
4522
4522
  let n;
4523
- e === "" ? n = this.countries : n = Ts(this.countries, e), this.ui.filterCountries(n);
4523
+ e === "" ? n = this.countries : n = Ss(this.countries, e), this.ui.filterCountries(n);
4524
4524
  }
4525
4525
  //* Highlight the next/prev item in the list (and ensure it is visible).
4526
4526
  _handleUpDownKey(e) {
@@ -4575,7 +4575,7 @@ class Te {
4575
4575
  return a[0] === s ? null : a[0];
4576
4576
  if (!s && this.defaultCountry && a.includes(this.defaultCountry))
4577
4577
  return this.defaultCountry;
4578
- if (r === kn.NANP && qe(l))
4578
+ if (r === Mn.NANP && $e(l))
4579
4579
  return null;
4580
4580
  const { areaCodes: d, priority: f } = this.selectedCountryData;
4581
4581
  if (d) {
@@ -4605,9 +4605,9 @@ class Te {
4605
4605
  let u, a, c;
4606
4606
  if (e) {
4607
4607
  const { name: d, dialCode: f } = this.selectedCountryData;
4608
- a = d, u = s.selectedCountryAriaLabel.replace("${countryName}", d).replace("${dialCode}", `+${f}`), c = "";
4608
+ a = d, u = s.selectedCountryAriaLabel.replace("${countryName}", d).replace("${dialCode}", `+${f}`), c = i ? "" : ze();
4609
4609
  } else
4610
- a = s.noCountrySelected, u = s.noCountrySelected, c = Rs();
4610
+ a = s.noCountrySelected, u = s.noCountrySelected, c = ze();
4611
4611
  this.ui.selectedCountryInner.className = l, this.ui.selectedCountry.setAttribute("title", a), this.ui.selectedCountry.setAttribute(D.LABEL, u), this.ui.selectedCountryInner.innerHTML = c;
4612
4612
  }
4613
4613
  if (n) {
@@ -4713,7 +4713,7 @@ class Te {
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(e) {
4716
- const n = !!this._getDialCode(e), i = ze(
4716
+ const n = !!this._getDialCode(e), i = qe(
4717
4717
  e,
4718
4718
  n,
4719
4719
  this.options.separateDialCode,
@@ -4893,7 +4893,7 @@ const Ys = (t) => {
4893
4893
  return C.instances[n.id] = n, t.iti = n, n;
4894
4894
  },
4895
4895
  {
4896
- defaults: Mn,
4896
+ defaults: xn,
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,12 +4908,12 @@ const Ys = (t) => {
4908
4908
  attachUtils: Ys,
4909
4909
  startedLoadingUtilsScript: !1,
4910
4910
  startedLoadingAutoCountry: !1,
4911
- version: "26.0.2"
4911
+ version: "26.0.3"
4912
4912
  }
4913
4913
  );
4914
- var Ks = /* @__PURE__ */ is("<input/>");
4914
+ var Ks = /* @__PURE__ */ ss("<input/>");
4915
4915
  function Xs(t, e) {
4916
- gi(e, !0);
4916
+ mi(e, !0);
4917
4917
  let n = Bt(e, "disabled", 3, !1), i = Bt(e, "inputProps", 19, () => ({})), s = Bt(e, "options", 19, () => ({})), r = Bt(e, "value", 3, ""), o = /* @__PURE__ */ G(void 0), l = /* @__PURE__ */ G(void 0), u = /* @__PURE__ */ G(null), a = /* @__PURE__ */ G(!1);
4918
4918
  const c = () => I(l) ? s().strictMode ? I(l).isValidNumberPrecise() : I(l).isValidNumber() : null, d = () => {
4919
4919
  var h, m;
@@ -4926,12 +4926,12 @@ function Xs(t, e) {
4926
4926
  var v, h;
4927
4927
  (h = e.onChangeCountry) == null || h.call(e, ((v = I(l)) == null ? void 0 : v.getSelectedCountryData().iso2) ?? ""), f();
4928
4928
  };
4929
- Vn(() => {
4929
+ Wn(() => {
4930
4930
  I(o) && (V(l, C(I(o), s()), !0), I(o).addEventListener("countrychange", p), r() && I(l).setNumber(r()), n() && I(l).setDisabled(n()), V(u, c(), !0), V(a, !0));
4931
- }), Wn(() => {
4931
+ }), jn(() => {
4932
4932
  var v;
4933
4933
  I(o) && I(o).removeEventListener("countrychange", p), (v = I(l)) == null || v.destroy();
4934
- }), Wi(() => {
4934
+ }), ji(() => {
4935
4935
  I(a) && I(l) && I(l).setDisabled(n());
4936
4936
  });
4937
4937
  function _() {
@@ -4941,7 +4941,7 @@ function Xs(t, e) {
4941
4941
  return I(o);
4942
4942
  }
4943
4943
  var b = { getInstance: _, getInput: g }, y = Ks();
4944
- return ms(y, () => ({ type: "tel", oninput: f, ...i() }), void 0, void 0, void 0, void 0, !0), bs(y, (v) => V(o, v), () => I(o)), ss(t, y), mi(b);
4944
+ return bs(y, () => ({ type: "tel", oninput: f, ...i() }), void 0, void 0, void 0, void 0, !0), ws(y, (v) => V(o, v), () => I(o)), rs(t, y), bi(b);
4945
4945
  }
4946
4946
  export {
4947
4947
  Xs as default