@44-audio/components 0.1.0-dev.19 → 0.1.0-dev.20

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.
@@ -4,32 +4,32 @@ var Ie = Array.isArray, pn = Array.prototype.indexOf, Pe = Array.from, Xt = Obje
4
4
  function yt(t) {
5
5
  return typeof t == "function";
6
6
  }
7
- const kt = () => {
7
+ const xt = () => {
8
8
  };
9
9
  function cr(t) {
10
10
  for (var e = 0; e < t.length; e++)
11
11
  t[e]();
12
12
  }
13
- function mn() {
13
+ function bn() {
14
14
  var t, e, r = new Promise((n, i) => {
15
15
  t = n, e = i;
16
16
  });
17
17
  return { promise: r, resolve: t, reject: e };
18
18
  }
19
- const L = 2, Me = 4, ke = 8, gt = 16, st = 32, ot = 64, vr = 128, q = 256, Zt = 512, P = 1024, U = 2048, ct = 4096, V = 8192, wt = 16384, ie = 32768, se = 65536, Ke = 1 << 17, bn = 1 << 18, It = 1 << 19, yn = 1 << 20, ge = 1 << 21, xe = 1 << 22, ht = 1 << 23, St = Symbol("$state"), Le = Symbol("legacy props"), En = Symbol(""), De = new class extends Error {
19
+ const M = 2, ke = 4, xe = 8, gt = 16, st = 32, ot = 64, vr = 128, q = 256, Zt = 512, P = 1024, B = 2048, ct = 4096, V = 8192, wt = 16384, ie = 32768, se = 65536, Ke = 1 << 17, mn = 1 << 18, It = 1 << 19, yn = 1 << 20, ge = 1 << 21, Le = 1 << 22, ht = 1 << 23, At = Symbol("$state"), Me = Symbol("legacy props"), En = Symbol(""), De = new class extends Error {
20
20
  name = "StaleReactionError";
21
21
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
22
- }(), Fe = 3, Lt = 8;
22
+ }(), Fe = 3, Mt = 8;
23
23
  function Tn() {
24
24
  throw new Error("https://svelte.dev/e/await_outside_boundary");
25
25
  }
26
26
  function dr(t) {
27
27
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
28
28
  }
29
- function Sn() {
29
+ function An() {
30
30
  throw new Error("https://svelte.dev/e/async_derived_orphan");
31
31
  }
32
- function An(t) {
32
+ function Sn(t) {
33
33
  throw new Error("https://svelte.dev/e/effect_in_teardown");
34
34
  }
35
35
  function Nn() {
@@ -50,10 +50,10 @@ function In(t) {
50
50
  function Pn() {
51
51
  throw new Error("https://svelte.dev/e/state_descriptors_fixed");
52
52
  }
53
- function Mn() {
53
+ function kn() {
54
54
  throw new Error("https://svelte.dev/e/state_prototype_fixed");
55
55
  }
56
- function kn() {
56
+ function xn() {
57
57
  throw new Error("https://svelte.dev/e/state_unsafe_mutation");
58
58
  }
59
59
  function fe(t) {
@@ -63,36 +63,36 @@ let E = !1;
63
63
  function Y(t) {
64
64
  E = t;
65
65
  }
66
- let S;
67
- function H(t) {
66
+ let A;
67
+ function U(t) {
68
68
  if (t === null)
69
69
  throw fe(), Tt;
70
- return S = t;
70
+ return A = t;
71
71
  }
72
- function Ht() {
73
- return H(
72
+ function Ut() {
73
+ return U(
74
74
  /** @type {TemplateNode} */
75
- /* @__PURE__ */ ft(S)
75
+ /* @__PURE__ */ ft(A)
76
76
  );
77
77
  }
78
78
  function Di(t) {
79
79
  if (E) {
80
- if (/* @__PURE__ */ ft(S) !== null)
80
+ if (/* @__PURE__ */ ft(A) !== null)
81
81
  throw fe(), Tt;
82
- S = t;
82
+ A = t;
83
83
  }
84
84
  }
85
85
  function Fi(t = 1) {
86
86
  if (E) {
87
- for (var e = t, r = S; e--; )
87
+ for (var e = t, r = A; e--; )
88
88
  r = /** @type {TemplateNode} */
89
89
  /* @__PURE__ */ ft(r);
90
- S = r;
90
+ A = r;
91
91
  }
92
92
  }
93
93
  function we() {
94
- for (var t = 0, e = S; ; ) {
95
- if (e.nodeType === Lt) {
94
+ for (var t = 0, e = A; ; ) {
95
+ if (e.nodeType === Mt) {
96
96
  var r = (
97
97
  /** @type {Comment} */
98
98
  e.data
@@ -110,7 +110,7 @@ function we() {
110
110
  }
111
111
  }
112
112
  function hr(t) {
113
- if (!t || t.nodeType !== Lt)
113
+ if (!t || t.nodeType !== Mt)
114
114
  throw fe(), Tt;
115
115
  return (
116
116
  /** @type {Comment} */
@@ -120,16 +120,16 @@ function hr(t) {
120
120
  function _r(t) {
121
121
  return t === this.v;
122
122
  }
123
- function xn(t, e) {
123
+ function Ln(t, e) {
124
124
  return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
125
125
  }
126
126
  function ji(t, e) {
127
127
  return t !== e;
128
128
  }
129
129
  function pr(t) {
130
- return !xn(t, this.v);
130
+ return !Ln(t, this.v);
131
131
  }
132
- let Pt = !1, Ln = !1;
132
+ let Pt = !1, Mn = !1;
133
133
  function qi() {
134
134
  Pt = !0;
135
135
  }
@@ -160,12 +160,12 @@ function Fn(t) {
160
160
  return t !== void 0 && (e.x = t), O = e.p, t ?? /** @type {T} */
161
161
  {};
162
162
  }
163
- function Ut() {
163
+ function Bt() {
164
164
  return !Pt || O !== null && O.l === null;
165
165
  }
166
166
  const jn = /* @__PURE__ */ new WeakMap();
167
167
  function qn(t) {
168
- var e = m;
168
+ var e = b;
169
169
  if (e === null)
170
170
  return y.f |= ht, t;
171
171
  if ((e.f & ie) === 0) {
@@ -196,35 +196,35 @@ function $r(t) {
196
196
  value: e.stack
197
197
  }));
198
198
  }
199
- let Dt = [], me = [];
199
+ let Dt = [], be = [];
200
200
  function gr() {
201
201
  var t = Dt;
202
202
  Dt = [], cr(t);
203
203
  }
204
- function Hn() {
205
- var t = me;
206
- me = [], cr(t);
204
+ function Un() {
205
+ var t = be;
206
+ be = [], cr(t);
207
207
  }
208
208
  function ae(t) {
209
209
  Dt.length === 0 && queueMicrotask(gr), Dt.push(t);
210
210
  }
211
- function Un() {
212
- Dt.length > 0 && gr(), me.length > 0 && Hn();
213
- }
214
211
  function Bn() {
212
+ Dt.length > 0 && gr(), be.length > 0 && Un();
213
+ }
214
+ function Hn() {
215
215
  const t = (
216
216
  /** @type {Effect} */
217
- m.b
217
+ b.b
218
218
  );
219
219
  return t === null && Tn(), t;
220
220
  }
221
221
  // @__NO_SIDE_EFFECTS__
222
222
  function ue(t) {
223
- var e = L | U, r = y !== null && (y.f & L) !== 0 ? (
223
+ var e = M | B, r = y !== null && (y.f & M) !== 0 ? (
224
224
  /** @type {Derived} */
225
225
  y
226
226
  ) : null;
227
- return m === null || r !== null && (r.f & q) !== 0 ? e |= q : m.f |= It, {
227
+ return b === null || r !== null && (r.f & q) !== 0 ? e |= q : b.f |= It, {
228
228
  ctx: O,
229
229
  deps: null,
230
230
  effects: null,
@@ -238,7 +238,7 @@ function ue(t) {
238
238
  I
239
239
  ),
240
240
  wv: 0,
241
- parent: r ?? m,
241
+ parent: r ?? b,
242
242
  ac: null
243
243
  };
244
244
  }
@@ -246,9 +246,9 @@ function ue(t) {
246
246
  function Yn(t, e) {
247
247
  let r = (
248
248
  /** @type {Effect | null} */
249
- m
249
+ b
250
250
  );
251
- r === null && Sn();
251
+ r === null && An();
252
252
  var n = (
253
253
  /** @type {Boundary} */
254
254
  r.b
@@ -276,7 +276,7 @@ function Yn(t, e) {
276
276
  ), d = n.is_pending();
277
277
  a && (n.update_pending_count(1), d || o.increment());
278
278
  const v = (h, c = void 0) => {
279
- f = null, d || o.activate(), c ? c !== De && (s.f |= ht, jt(s, c)) : ((s.f & ht) !== 0 && (s.f ^= ht), jt(s, h)), a && (n.update_pending_count(-1), d || o.decrement()), br();
279
+ f = null, d || o.activate(), c ? c !== De && (s.f |= ht, jt(s, c)) : ((s.f & ht) !== 0 && (s.f ^= ht), jt(s, h)), a && (n.update_pending_count(-1), d || o.decrement()), mr();
280
280
  };
281
281
  if (i.then(v, (h) => v(null, h || "unknown")), o)
282
282
  return () => {
@@ -293,7 +293,7 @@ function Yn(t, e) {
293
293
  });
294
294
  }
295
295
  // @__NO_SIDE_EFFECTS__
296
- function Hi(t) {
296
+ function Ui(t) {
297
297
  const e = /* @__PURE__ */ ue(t);
298
298
  return qr(e), e;
299
299
  }
@@ -315,7 +315,7 @@ function wr(t) {
315
315
  }
316
316
  function Vn(t) {
317
317
  for (var e = t.parent; e !== null; ) {
318
- if ((e.f & L) === 0)
318
+ if ((e.f & M) === 0)
319
319
  return (
320
320
  /** @type {Effect} */
321
321
  e
@@ -324,8 +324,8 @@ function Vn(t) {
324
324
  }
325
325
  return null;
326
326
  }
327
- function He(t) {
328
- var e, r = m;
327
+ function Ue(t) {
328
+ var e, r = b;
329
329
  Q(Vn(t));
330
330
  try {
331
331
  wr(t), e = Yr(t);
@@ -334,23 +334,23 @@ function He(t) {
334
334
  }
335
335
  return e;
336
336
  }
337
- function mr(t) {
338
- var e = He(t);
339
- if (t.equals(e) || (t.v = e, t.wv = Ur()), !mt) {
337
+ function br(t) {
338
+ var e = Ue(t);
339
+ if (t.equals(e) || (t.v = e, t.wv = Br()), !bt) {
340
340
  var r = (ut || (t.f & q) !== 0) && t.deps !== null ? ct : P;
341
- k(t, r);
341
+ x(t, r);
342
342
  }
343
343
  }
344
344
  function Wn(t, e, r) {
345
- const n = Ut() ? ue : qe;
345
+ const n = Bt() ? ue : qe;
346
346
  if (e.length === 0) {
347
347
  r(t.map(n));
348
348
  return;
349
349
  }
350
350
  var i = R, s = (
351
351
  /** @type {Effect} */
352
- m
353
- ), f = Kn(), a = Bn();
352
+ b
353
+ ), f = Kn(), a = Hn();
354
354
  Promise.all(e.map((u) => /* @__PURE__ */ Yn(u))).then((u) => {
355
355
  i?.activate(), f();
356
356
  try {
@@ -358,19 +358,19 @@ function Wn(t, e, r) {
358
358
  } catch (l) {
359
359
  (s.f & wt) === 0 && je(l, s);
360
360
  }
361
- i?.deactivate(), br();
361
+ i?.deactivate(), mr();
362
362
  }).catch((u) => {
363
363
  a.error(u);
364
364
  });
365
365
  }
366
366
  function Kn() {
367
- var t = m, e = y, r = O, n = R;
367
+ var t = b, e = y, r = O, n = R;
368
368
  return function() {
369
- Q(t), B(e), Qt(r), n?.activate();
369
+ Q(t), H(e), Qt(r), n?.activate();
370
370
  };
371
371
  }
372
- function br() {
373
- Q(null), B(null), Qt(null);
372
+ function mr() {
373
+ Q(null), H(null), Qt(null);
374
374
  }
375
375
  const de = /* @__PURE__ */ new Set();
376
376
  let R = null, Ge = /* @__PURE__ */ new Set(), te = [];
@@ -381,7 +381,7 @@ function yr() {
381
381
  );
382
382
  te.length > 0 && queueMicrotask(yr), t();
383
383
  }
384
- let pt = [], le = null, be = !1, zt = !1;
384
+ let pt = [], le = null, me = !1, zt = !1;
385
385
  class $t {
386
386
  /**
387
387
  * The current values of any sources that are updated in this batch
@@ -494,10 +494,10 @@ class $t {
494
494
  if (!f && r.fn !== null) {
495
495
  if (i)
496
496
  r.f ^= P;
497
- else if ((n & Me) !== 0)
497
+ else if ((n & ke) !== 0)
498
498
  this.#n.push(r);
499
499
  else if ((n & P) === 0)
500
- if ((n & xe) !== 0) {
500
+ if ((n & Le) !== 0) {
501
501
  var a = r.b?.is_pending() ? this.#f : this.#i;
502
502
  a.push(r);
503
503
  } else oe(r) && ((r.f & gt) !== 0 && this.#a.push(r), Nt(r));
@@ -517,7 +517,7 @@ class $t {
517
517
  */
518
518
  #u(e) {
519
519
  for (const r of e)
520
- ((r.f & U) !== 0 ? this.#c : this.#v).push(r), k(r, P);
520
+ ((r.f & B) !== 0 ? this.#c : this.#v).push(r), x(r, P);
521
521
  e.length = 0;
522
522
  }
523
523
  /**
@@ -559,9 +559,9 @@ class $t {
559
559
  decrement() {
560
560
  if (this.#r -= 1, this.#r === 0) {
561
561
  for (const e of this.#c)
562
- k(e, U), Ct(e);
562
+ x(e, B), Ct(e);
563
563
  for (const e of this.#v)
564
- k(e, ct), Ct(e);
564
+ x(e, ct), Ct(e);
565
565
  this.#s = [], this.#n = [], this.flush();
566
566
  } else
567
567
  this.deactivate();
@@ -571,7 +571,7 @@ class $t {
571
571
  this.#t.add(e);
572
572
  }
573
573
  settled() {
574
- return (this.#l ??= mn()).promise;
574
+ return (this.#l ??= bn()).promise;
575
575
  }
576
576
  static ensure() {
577
577
  if (R === null) {
@@ -592,7 +592,7 @@ function Er(t) {
592
592
  zt = !0;
593
593
  try {
594
594
  for (var r; ; ) {
595
- if (Un(), pt.length === 0 && (R?.flush(), pt.length === 0))
595
+ if (Bn(), pt.length === 0 && (R?.flush(), pt.length === 0))
596
596
  return le = null, /** @type {T} */
597
597
  r;
598
598
  Tr();
@@ -602,8 +602,8 @@ function Er(t) {
602
602
  }
603
603
  }
604
604
  function Tr() {
605
- var t = At;
606
- be = !0;
605
+ var t = St;
606
+ me = !0;
607
607
  try {
608
608
  var e = 0;
609
609
  for (Xe(!0); pt.length > 0; ) {
@@ -615,7 +615,7 @@ function Tr() {
615
615
  r.process(pt), lt.clear();
616
616
  }
617
617
  } finally {
618
- be = !1, Xe(t), le = null;
618
+ me = !1, Xe(t), le = null;
619
619
  }
620
620
  }
621
621
  function Gn() {
@@ -645,7 +645,7 @@ function Ct(t) {
645
645
  for (var e = le = t; e.parent !== null; ) {
646
646
  e = e.parent;
647
647
  var r = e.f;
648
- if (be && e === m && (r & gt) !== 0)
648
+ if (me && e === b && (r & gt) !== 0)
649
649
  return;
650
650
  if ((r & (ot | st)) !== 0) {
651
651
  if ((r & P) === 0) return;
@@ -673,40 +673,40 @@ function at(t, e) {
673
673
  return qr(r), r;
674
674
  }
675
675
  // @__NO_SIDE_EFFECTS__
676
- function Sr(t, e = !1, r = !0) {
676
+ function Ar(t, e = !1, r = !0) {
677
677
  const n = Ft(t);
678
678
  return e || (n.equals = pr), Pt && r && O !== null && O.l !== null && (O.l.s ??= []).push(n), n;
679
679
  }
680
680
  function et(t, e, r = !1) {
681
681
  y !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
682
682
  // to ensure we error if state is set inside an inspect effect
683
- (!J || (y.f & Ke) !== 0) && Ut() && (y.f & (L | gt | xe | Ke)) !== 0 && !it?.includes(t) && kn();
683
+ (!J || (y.f & Ke) !== 0) && Bt() && (y.f & (M | gt | Le | Ke)) !== 0 && !it?.includes(t) && xn();
684
684
  let n = r ? Et(e) : e;
685
685
  return jt(t, n);
686
686
  }
687
687
  function jt(t, e) {
688
688
  if (!t.equals(e)) {
689
689
  var r = t.v;
690
- mt ? lt.set(t, e) : lt.set(t, r), t.v = e;
690
+ bt ? lt.set(t, e) : lt.set(t, r), t.v = e;
691
691
  var n = $t.ensure();
692
- n.capture(t, r), (t.f & L) !== 0 && ((t.f & U) !== 0 && He(
692
+ n.capture(t, r), (t.f & M) !== 0 && ((t.f & B) !== 0 && Ue(
693
693
  /** @type {Derived} */
694
694
  t
695
- ), k(t, (t.f & q) === 0 ? P : ct)), t.wv = Ur(), Ar(t, U), Ut() && m !== null && (m.f & P) !== 0 && (m.f & (st | ot)) === 0 && (D === null ? ii([t]) : D.push(t));
695
+ ), x(t, (t.f & q) === 0 ? P : ct)), t.wv = Br(), Sr(t, B), Bt() && b !== null && (b.f & P) !== 0 && (b.f & (st | ot)) === 0 && (D === null ? ii([t]) : D.push(t));
696
696
  }
697
697
  return e;
698
698
  }
699
699
  function he(t) {
700
700
  et(t, t.v + 1);
701
701
  }
702
- function Ar(t, e) {
702
+ function Sr(t, e) {
703
703
  var r = t.reactions;
704
704
  if (r !== null)
705
- for (var n = Ut(), i = r.length, s = 0; s < i; s++) {
705
+ for (var n = Bt(), i = r.length, s = 0; s < i; s++) {
706
706
  var f = r[s], a = f.f;
707
- if (!(!n && f === m)) {
708
- var u = (a & U) === 0;
709
- u && k(f, e), (a & L) !== 0 ? Ar(
707
+ if (!(!n && f === b)) {
708
+ var u = (a & B) === 0;
709
+ u && x(f, e), (a & M) !== 0 ? Sr(
710
710
  /** @type {Derived} */
711
711
  f,
712
712
  ct
@@ -721,7 +721,7 @@ function Ar(t, e) {
721
721
  }
722
722
  }
723
723
  function Et(t) {
724
- if (typeof t != "object" || t === null || St in t)
724
+ if (typeof t != "object" || t === null || At in t)
725
725
  return t;
726
726
  const e = or(t);
727
727
  if (e !== gn && e !== wn)
@@ -730,9 +730,9 @@ function Et(t) {
730
730
  if (_t === s)
731
731
  return a();
732
732
  var u = y, l = _t;
733
- B(null), Qe(s);
733
+ H(null), Qe(s);
734
734
  var o = a();
735
- return B(u), Qe(l), o;
735
+ return H(u), Qe(l), o;
736
736
  };
737
737
  return n && r.set("length", /* @__PURE__ */ at(
738
738
  /** @type {any[]} */
@@ -761,7 +761,7 @@ function Et(t) {
761
761
  return !0;
762
762
  },
763
763
  get(a, u, l) {
764
- if (u === St)
764
+ if (u === At)
765
765
  return t;
766
766
  var o = r.get(u), d = u in a;
767
767
  if (o === void 0 && (!d || nt(a, u)?.writable) && (o = f(() => {
@@ -791,10 +791,10 @@ function Et(t) {
791
791
  return l;
792
792
  },
793
793
  has(a, u) {
794
- if (u === St)
794
+ if (u === At)
795
795
  return !0;
796
796
  var l = r.get(u), o = l !== void 0 && l.v !== I || Reflect.has(a, u);
797
- if (l !== void 0 || m !== null && (!o || nt(a, u)?.writable)) {
797
+ if (l !== void 0 || b !== null && (!o || nt(a, u)?.writable)) {
798
798
  l === void 0 && (l = f(() => {
799
799
  var v = o ? Et(a[u]) : I, h = /* @__PURE__ */ at(v);
800
800
  return h;
@@ -844,7 +844,7 @@ function Et(t) {
844
844
  return u;
845
845
  },
846
846
  setPrototypeOf() {
847
- Mn();
847
+ kn();
848
848
  }
849
849
  }
850
850
  );
@@ -868,22 +868,22 @@ function F(t) {
868
868
  function ft(t) {
869
869
  return Cr.call(t);
870
870
  }
871
- function Ui(t, e) {
871
+ function Bi(t, e) {
872
872
  if (!E)
873
873
  return /* @__PURE__ */ F(t);
874
874
  var r = (
875
875
  /** @type {TemplateNode} */
876
- /* @__PURE__ */ F(S)
876
+ /* @__PURE__ */ F(A)
877
877
  );
878
878
  if (r === null)
879
- r = S.appendChild(X());
879
+ r = A.appendChild(X());
880
880
  else if (e && r.nodeType !== Fe) {
881
881
  var n = X();
882
- return r?.before(n), H(n), n;
882
+ return r?.before(n), U(n), n;
883
883
  }
884
- return H(r), r;
884
+ return U(r), r;
885
885
  }
886
- function Bi(t, e) {
886
+ function Hi(t, e) {
887
887
  if (!E) {
888
888
  var r = (
889
889
  /** @type {DocumentFragment} */
@@ -894,10 +894,10 @@ function Bi(t, e) {
894
894
  );
895
895
  return r instanceof Comment && r.data === "" ? /* @__PURE__ */ ft(r) : r;
896
896
  }
897
- return S;
897
+ return A;
898
898
  }
899
899
  function Yi(t, e = 1, r = !1) {
900
- let n = E ? S : t;
900
+ let n = E ? A : t;
901
901
  for (var i; e--; )
902
902
  i = n, n = /** @type {TemplateNode} */
903
903
  /* @__PURE__ */ ft(n);
@@ -905,9 +905,9 @@ function Yi(t, e = 1, r = !1) {
905
905
  return n;
906
906
  if (r && n?.nodeType !== Fe) {
907
907
  var s = X();
908
- return n === null ? i?.after(s) : n.before(s), H(s), s;
908
+ return n === null ? i?.after(s) : n.before(s), U(s), s;
909
909
  }
910
- return H(n), /** @type {TemplateNode} */
910
+ return U(n), /** @type {TemplateNode} */
911
911
  n;
912
912
  }
913
913
  function Rr(t) {
@@ -916,31 +916,31 @@ function Rr(t) {
916
916
  function Ir() {
917
917
  return !1;
918
918
  }
919
- function Bt(t) {
920
- var e = y, r = m;
921
- B(null), Q(null);
919
+ function Ht(t) {
920
+ var e = y, r = b;
921
+ H(null), Q(null);
922
922
  try {
923
923
  return t();
924
924
  } finally {
925
- B(e), Q(r);
925
+ H(e), Q(r);
926
926
  }
927
927
  }
928
928
  function zn(t) {
929
- m === null && y === null && On(), y !== null && (y.f & q) !== 0 && m === null && Nn(), mt && An();
929
+ b === null && y === null && On(), y !== null && (y.f & q) !== 0 && b === null && Nn(), bt && Sn();
930
930
  }
931
931
  function Jn(t, e) {
932
932
  var r = e.last;
933
933
  r === null ? e.last = e.first = t : (r.next = t, t.prev = r, e.last = t);
934
934
  }
935
935
  function tt(t, e, r, n = !0) {
936
- var i = m;
936
+ var i = b;
937
937
  i !== null && (i.f & V) !== 0 && (t |= V);
938
938
  var s = {
939
939
  ctx: O,
940
940
  deps: null,
941
941
  nodes_start: null,
942
942
  nodes_end: null,
943
- f: t | U,
943
+ f: t | B,
944
944
  first: null,
945
945
  fn: e,
946
946
  last: null,
@@ -963,7 +963,7 @@ function tt(t, e, r, n = !0) {
963
963
  if (n) {
964
964
  var f = s;
965
965
  if (r && f.deps === null && f.teardown === null && f.nodes_start === null && f.first === f.last && // either `null`, or a singular child
966
- (f.f & It) === 0 && (f = f.first), f !== null && (f.parent = i, i !== null && Jn(f, i), y !== null && (y.f & L) !== 0 && (t & ot) === 0)) {
966
+ (f.f & It) === 0 && (f = f.first), f !== null && (f.parent = i, i !== null && Jn(f, i), y !== null && (y.f & M) !== 0 && (t & ot) === 0)) {
967
967
  var a = (
968
968
  /** @type {Derived} */
969
969
  y
@@ -974,14 +974,14 @@ function tt(t, e, r, n = !0) {
974
974
  return s;
975
975
  }
976
976
  function Xn(t) {
977
- const e = tt(ke, null, !1);
978
- return k(e, P), e.teardown = t, e;
977
+ const e = tt(xe, null, !1);
978
+ return x(e, P), e.teardown = t, e;
979
979
  }
980
980
  function Zn(t) {
981
981
  zn();
982
982
  var e = (
983
983
  /** @type {Effect} */
984
- m.f
984
+ b.f
985
985
  ), r = !y && (e & st) !== 0 && (e & ie) === 0;
986
986
  if (r) {
987
987
  var n = (
@@ -993,7 +993,7 @@ function Zn(t) {
993
993
  return Pr(t);
994
994
  }
995
995
  function Pr(t) {
996
- return tt(Me | yn, t, !1);
996
+ return tt(ke | yn, t, !1);
997
997
  }
998
998
  function Qn(t) {
999
999
  $t.ensure();
@@ -1006,49 +1006,49 @@ function ti(t) {
1006
1006
  $t.ensure();
1007
1007
  const e = tt(ot | It, t, !0);
1008
1008
  return (r = {}) => new Promise((n) => {
1009
- r.outro ? Be(e, () => {
1009
+ r.outro ? He(e, () => {
1010
1010
  Z(e), n(void 0);
1011
1011
  }) : (Z(e), n(void 0));
1012
1012
  });
1013
1013
  }
1014
- function Ue(t) {
1015
- return tt(Me, t, !1);
1014
+ function Be(t) {
1015
+ return tt(ke, t, !1);
1016
1016
  }
1017
1017
  function ei(t) {
1018
- return tt(xe | It, t, !0);
1018
+ return tt(Le | It, t, !0);
1019
1019
  }
1020
- function Mr(t, e = 0) {
1021
- return tt(ke | e, t, !0);
1020
+ function kr(t, e = 0) {
1021
+ return tt(xe | e, t, !0);
1022
1022
  }
1023
1023
  function Vi(t, e = [], r = []) {
1024
1024
  Wn(e, r, (n) => {
1025
- tt(ke, () => t(...n.map(j)), !0);
1025
+ tt(xe, () => t(...n.map(j)), !0);
1026
1026
  });
1027
1027
  }
1028
- function kr(t, e = 0) {
1028
+ function xr(t, e = 0) {
1029
1029
  var r = tt(gt | e, t, !0);
1030
1030
  return r;
1031
1031
  }
1032
1032
  function Rt(t, e = !0) {
1033
1033
  return tt(st | It, t, !0, e);
1034
1034
  }
1035
- function xr(t) {
1035
+ function Lr(t) {
1036
1036
  var e = t.teardown;
1037
1037
  if (e !== null) {
1038
- const r = mt, n = y;
1039
- Ze(!0), B(null);
1038
+ const r = bt, n = y;
1039
+ Ze(!0), H(null);
1040
1040
  try {
1041
1041
  e.call(null);
1042
1042
  } finally {
1043
- Ze(r), B(n);
1043
+ Ze(r), H(n);
1044
1044
  }
1045
1045
  }
1046
1046
  }
1047
- function Lr(t, e = !1) {
1047
+ function Mr(t, e = !1) {
1048
1048
  var r = t.first;
1049
1049
  for (t.first = t.last = null; r !== null; ) {
1050
1050
  const i = r.ac;
1051
- i !== null && Bt(() => {
1051
+ i !== null && Ht(() => {
1052
1052
  i.abort(De);
1053
1053
  });
1054
1054
  var n = r.next;
@@ -1063,16 +1063,16 @@ function ri(t) {
1063
1063
  }
1064
1064
  function Z(t, e = !0) {
1065
1065
  var r = !1;
1066
- (e || (t.f & bn) !== 0) && t.nodes_start !== null && t.nodes_end !== null && (ni(
1066
+ (e || (t.f & mn) !== 0) && t.nodes_start !== null && t.nodes_end !== null && (ni(
1067
1067
  t.nodes_start,
1068
1068
  /** @type {TemplateNode} */
1069
1069
  t.nodes_end
1070
- ), r = !0), Lr(t, e && !r), ee(t, 0), k(t, wt);
1070
+ ), r = !0), Mr(t, e && !r), ee(t, 0), x(t, wt);
1071
1071
  var n = t.transitions;
1072
1072
  if (n !== null)
1073
1073
  for (const s of n)
1074
1074
  s.stop();
1075
- xr(t);
1075
+ Lr(t);
1076
1076
  var i = t.parent;
1077
1077
  i !== null && i.first !== null && Dr(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes_start = t.nodes_end = t.ac = null;
1078
1078
  }
@@ -1089,7 +1089,7 @@ function Dr(t) {
1089
1089
  var e = t.parent, r = t.prev, n = t.next;
1090
1090
  r !== null && (r.next = n), n !== null && (n.prev = r), e !== null && (e.first === t && (e.first = n), e.last === t && (e.last = r));
1091
1091
  }
1092
- function Be(t, e) {
1092
+ function He(t, e) {
1093
1093
  var r = [];
1094
1094
  Ye(t, r, !0), Fr(r, () => {
1095
1095
  Z(t), e && e();
@@ -1120,7 +1120,7 @@ function Ve(t) {
1120
1120
  }
1121
1121
  function jr(t, e) {
1122
1122
  if ((t.f & V) !== 0) {
1123
- t.f ^= V, (t.f & P) === 0 && (k(t, U), Ct(t));
1123
+ t.f ^= V, (t.f & P) === 0 && (x(t, B), Ct(t));
1124
1124
  for (var r = t.first; r !== null; ) {
1125
1125
  var n = r.next, i = (r.f & se) !== 0 || (r.f & st) !== 0;
1126
1126
  jr(r, i ? e : !1), r = n;
@@ -1130,47 +1130,47 @@ function jr(t, e) {
1130
1130
  (s.is_global || e) && s.in();
1131
1131
  }
1132
1132
  }
1133
- let At = !1;
1133
+ let St = !1;
1134
1134
  function Xe(t) {
1135
- At = t;
1135
+ St = t;
1136
1136
  }
1137
- let mt = !1;
1137
+ let bt = !1;
1138
1138
  function Ze(t) {
1139
- mt = t;
1139
+ bt = t;
1140
1140
  }
1141
1141
  let y = null, J = !1;
1142
- function B(t) {
1142
+ function H(t) {
1143
1143
  y = t;
1144
1144
  }
1145
- let m = null;
1145
+ let b = null;
1146
1146
  function Q(t) {
1147
- m = t;
1147
+ b = t;
1148
1148
  }
1149
1149
  let it = null;
1150
1150
  function qr(t) {
1151
1151
  y !== null && (it === null ? it = [t] : it.push(t));
1152
1152
  }
1153
- let M = null, x = 0, D = null;
1153
+ let k = null, L = 0, D = null;
1154
1154
  function ii(t) {
1155
1155
  D = t;
1156
1156
  }
1157
- let Hr = 1, qt = 0, _t = qt;
1157
+ let Ur = 1, qt = 0, _t = qt;
1158
1158
  function Qe(t) {
1159
1159
  _t = t;
1160
1160
  }
1161
1161
  let ut = !1;
1162
- function Ur() {
1163
- return ++Hr;
1162
+ function Br() {
1163
+ return ++Ur;
1164
1164
  }
1165
1165
  function oe(t) {
1166
1166
  var e = t.f;
1167
- if ((e & U) !== 0)
1167
+ if ((e & B) !== 0)
1168
1168
  return !0;
1169
1169
  if ((e & ct) !== 0) {
1170
1170
  var r = t.deps, n = (e & q) !== 0;
1171
1171
  if (r !== null) {
1172
- var i, s, f = (e & Zt) !== 0, a = n && m !== null && !ut, u = r.length;
1173
- if ((f || a) && (m === null || (m.f & wt) === 0)) {
1172
+ var i, s, f = (e & Zt) !== 0, a = n && b !== null && !ut, u = r.length;
1173
+ if ((f || a) && (b === null || (b.f & wt) === 0)) {
1174
1174
  var l = (
1175
1175
  /** @type {Derived} */
1176
1176
  t
@@ -1183,36 +1183,36 @@ function oe(t) {
1183
1183
  if (s = r[i], oe(
1184
1184
  /** @type {Derived} */
1185
1185
  s
1186
- ) && mr(
1186
+ ) && br(
1187
1187
  /** @type {Derived} */
1188
1188
  s
1189
1189
  ), s.wv > t.wv)
1190
1190
  return !0;
1191
1191
  }
1192
- (!n || m !== null && !ut) && k(t, P);
1192
+ (!n || b !== null && !ut) && x(t, P);
1193
1193
  }
1194
1194
  return !1;
1195
1195
  }
1196
- function Br(t, e, r = !0) {
1196
+ function Hr(t, e, r = !0) {
1197
1197
  var n = t.reactions;
1198
1198
  if (n !== null && !it?.includes(t))
1199
1199
  for (var i = 0; i < n.length; i++) {
1200
1200
  var s = n[i];
1201
- (s.f & L) !== 0 ? Br(
1201
+ (s.f & M) !== 0 ? Hr(
1202
1202
  /** @type {Derived} */
1203
1203
  s,
1204
1204
  e,
1205
1205
  !1
1206
- ) : e === s && (r ? k(s, U) : (s.f & P) !== 0 && k(s, ct), Ct(
1206
+ ) : e === s && (r ? x(s, B) : (s.f & P) !== 0 && x(s, ct), Ct(
1207
1207
  /** @type {Effect} */
1208
1208
  s
1209
1209
  ));
1210
1210
  }
1211
1211
  }
1212
1212
  function Yr(t) {
1213
- var e = M, r = x, n = D, i = y, s = ut, f = it, a = O, u = J, l = _t, o = t.f;
1214
- M = /** @type {null | Value[]} */
1215
- null, x = 0, D = null, ut = (o & q) !== 0 && (J || !At || y === null), y = (o & (st | ot)) === 0 ? t : null, it = null, Qt(t.ctx), J = !1, _t = ++qt, t.ac !== null && (Bt(() => {
1213
+ var e = k, r = L, n = D, i = y, s = ut, f = it, a = O, u = J, l = _t, o = t.f;
1214
+ k = /** @type {null | Value[]} */
1215
+ null, L = 0, D = null, ut = (o & q) !== 0 && (J || !St || y === null), y = (o & (st | ot)) === 0 ? t : null, it = null, Qt(t.ctx), J = !1, _t = ++qt, t.ac !== null && (Ht(() => {
1216
1216
  t.ac.abort(De);
1217
1217
  }), t.ac = null);
1218
1218
  try {
@@ -1221,23 +1221,23 @@ function Yr(t) {
1221
1221
  /** @type {Function} */
1222
1222
  t.fn
1223
1223
  ), v = d(), h = t.deps;
1224
- if (M !== null) {
1224
+ if (k !== null) {
1225
1225
  var c;
1226
- if (ee(t, x), h !== null && x > 0)
1227
- for (h.length = x + M.length, c = 0; c < M.length; c++)
1228
- h[x + c] = M[c];
1226
+ if (ee(t, L), h !== null && L > 0)
1227
+ for (h.length = L + k.length, c = 0; c < k.length; c++)
1228
+ h[L + c] = k[c];
1229
1229
  else
1230
- t.deps = h = M;
1230
+ t.deps = h = k;
1231
1231
  if (!ut || // Deriveds that already have reactions can cleanup, so we still add them as reactions
1232
- (o & L) !== 0 && /** @type {import('#client').Derived} */
1232
+ (o & M) !== 0 && /** @type {import('#client').Derived} */
1233
1233
  t.reactions !== null)
1234
- for (c = x; c < h.length; c++)
1234
+ for (c = L; c < h.length; c++)
1235
1235
  (h[c].reactions ??= []).push(t);
1236
- } else h !== null && x < h.length && (ee(t, x), h.length = x);
1237
- if (Ut() && D !== null && !J && h !== null && (t.f & (L | ct | U)) === 0)
1236
+ } else h !== null && L < h.length && (ee(t, L), h.length = L);
1237
+ if (Bt() && D !== null && !J && h !== null && (t.f & (M | ct | B)) === 0)
1238
1238
  for (c = 0; c < /** @type {Source[]} */
1239
1239
  D.length; c++)
1240
- Br(
1240
+ Hr(
1241
1241
  D[c],
1242
1242
  /** @type {Effect} */
1243
1243
  t
@@ -1247,7 +1247,7 @@ function Yr(t) {
1247
1247
  } catch (_) {
1248
1248
  return qn(_);
1249
1249
  } finally {
1250
- t.f ^= ge, M = e, x = r, D = n, y = i, ut = s, it = f, Qt(a), J = u, _t = l;
1250
+ t.f ^= ge, k = e, L = r, D = n, y = i, ut = s, it = f, Qt(a), J = u, _t = l;
1251
1251
  }
1252
1252
  }
1253
1253
  function si(t, e) {
@@ -1259,10 +1259,10 @@ function si(t, e) {
1259
1259
  i === 0 ? r = e.reactions = null : (r[n] = r[i], r.pop());
1260
1260
  }
1261
1261
  }
1262
- r === null && (e.f & L) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
1262
+ r === null && (e.f & M) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
1263
1263
  // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
1264
1264
  // allows us to skip the expensive work of disconnecting and immediately reconnecting it
1265
- (M === null || !M.includes(e)) && (k(e, ct), (e.f & (q | Zt)) === 0 && (e.f ^= Zt), wr(
1265
+ (k === null || !k.includes(e)) && (x(e, ct), (e.f & (q | Zt)) === 0 && (e.f ^= Zt), wr(
1266
1266
  /** @type {Derived} **/
1267
1267
  e
1268
1268
  ), ee(
@@ -1280,17 +1280,17 @@ function ee(t, e) {
1280
1280
  function Nt(t) {
1281
1281
  var e = t.f;
1282
1282
  if ((e & wt) === 0) {
1283
- k(t, P);
1284
- var r = m, n = At;
1285
- m = t, At = !0;
1283
+ x(t, P);
1284
+ var r = b, n = St;
1285
+ b = t, St = !0;
1286
1286
  try {
1287
- (e & gt) !== 0 ? ri(t) : Lr(t), xr(t);
1287
+ (e & gt) !== 0 ? ri(t) : Mr(t), Lr(t);
1288
1288
  var i = Yr(t);
1289
- t.teardown = typeof i == "function" ? i : null, t.wv = Hr;
1289
+ t.teardown = typeof i == "function" ? i : null, t.wv = Ur;
1290
1290
  var s;
1291
- lr && Ln && (t.f & U) !== 0 && t.deps;
1291
+ lr && Mn && (t.f & B) !== 0 && t.deps;
1292
1292
  } finally {
1293
- At = n, m = r;
1293
+ St = n, b = r;
1294
1294
  }
1295
1295
  }
1296
1296
  }
@@ -1298,13 +1298,13 @@ async function Wi() {
1298
1298
  await Promise.resolve(), Er();
1299
1299
  }
1300
1300
  function j(t) {
1301
- var e = t.f, r = (e & L) !== 0;
1301
+ var e = t.f, r = (e & M) !== 0;
1302
1302
  if (y !== null && !J) {
1303
- var n = m !== null && (m.f & wt) !== 0;
1303
+ var n = b !== null && (b.f & wt) !== 0;
1304
1304
  if (!n && !it?.includes(t)) {
1305
1305
  var i = y.deps;
1306
1306
  if ((y.f & ge) !== 0)
1307
- t.rv < qt && (t.rv = qt, M === null && i !== null && i[x] === t ? x++ : M === null ? M = [t] : (!ut || !M.includes(t)) && M.push(t));
1307
+ t.rv < qt && (t.rv = qt, k === null && i !== null && i[L] === t ? L++ : k === null ? k = [t] : (!ut || !k.includes(t)) && k.push(t));
1308
1308
  else {
1309
1309
  (y.deps ??= []).push(t);
1310
1310
  var s = t.reactions;
@@ -1320,17 +1320,17 @@ function j(t) {
1320
1320
  ), a = f.parent;
1321
1321
  a !== null && (a.f & q) === 0 && (f.f ^= q);
1322
1322
  }
1323
- if (mt) {
1323
+ if (bt) {
1324
1324
  if (lt.has(t))
1325
1325
  return lt.get(t);
1326
1326
  if (r) {
1327
1327
  f = /** @type {Derived} */
1328
1328
  t;
1329
1329
  var u = f.v;
1330
- return ((f.f & P) === 0 && f.reactions !== null || Vr(f)) && (u = He(f)), lt.set(f, u), u;
1330
+ return ((f.f & P) === 0 && f.reactions !== null || Vr(f)) && (u = Ue(f)), lt.set(f, u), u;
1331
1331
  }
1332
1332
  } else r && (f = /** @type {Derived} */
1333
- t, oe(f) && mr(f));
1333
+ t, oe(f) && br(f));
1334
1334
  if ((t.f & ht) !== 0)
1335
1335
  throw t.v;
1336
1336
  return t.v;
@@ -1339,7 +1339,7 @@ function Vr(t) {
1339
1339
  if (t.v === I) return !0;
1340
1340
  if (t.deps === null) return !1;
1341
1341
  for (const e of t.deps)
1342
- if (lt.has(e) || (e.f & L) !== 0 && Vr(
1342
+ if (lt.has(e) || (e.f & M) !== 0 && Vr(
1343
1343
  /** @type {Derived} */
1344
1344
  e
1345
1345
  ))
@@ -1355,14 +1355,14 @@ function Yt(t) {
1355
1355
  }
1356
1356
  }
1357
1357
  const fi = -7169;
1358
- function k(t, e) {
1358
+ function x(t, e) {
1359
1359
  t.f = t.f & fi | e;
1360
1360
  }
1361
1361
  const Wr = /* @__PURE__ */ new Set(), Ee = /* @__PURE__ */ new Set();
1362
1362
  function ai(t, e, r, n = {}) {
1363
1363
  function i(s) {
1364
- if (n.capture || xt.call(e, s), !s.cancelBubble)
1365
- return Bt(() => r?.call(this, s));
1364
+ if (n.capture || Lt.call(e, s), !s.cancelBubble)
1365
+ return Ht(() => r?.call(this, s));
1366
1366
  }
1367
1367
  return t.startsWith("pointer") || t.startsWith("touch") || t === "wheel" ? ae(() => {
1368
1368
  e.addEventListener(t, i, n);
@@ -1384,7 +1384,7 @@ function Gi(t) {
1384
1384
  r(t);
1385
1385
  }
1386
1386
  let tr = null;
1387
- function xt(t) {
1387
+ function Lt(t) {
1388
1388
  var e = this, r = (
1389
1389
  /** @type {Node} */
1390
1390
  e.ownerDocument
@@ -1414,8 +1414,8 @@ function xt(t) {
1414
1414
  return s || r;
1415
1415
  }
1416
1416
  });
1417
- var o = y, d = m;
1418
- B(null), Q(null);
1417
+ var o = y, d = b;
1418
+ H(null), Q(null);
1419
1419
  try {
1420
1420
  for (var v, h = []; s !== null; ) {
1421
1421
  var c = s.assignedSlot || s.parentNode || /** @type {any} */
@@ -1446,7 +1446,7 @@ function xt(t) {
1446
1446
  throw v;
1447
1447
  }
1448
1448
  } finally {
1449
- t.__root = e, delete t.currentTarget, B(o), Q(d);
1449
+ t.__root = e, delete t.currentTarget, H(o), Q(d);
1450
1450
  }
1451
1451
  }
1452
1452
  }
@@ -1457,7 +1457,7 @@ function Kr(t) {
1457
1457
  function W(t, e) {
1458
1458
  var r = (
1459
1459
  /** @type {Effect} */
1460
- m
1460
+ b
1461
1461
  );
1462
1462
  r.nodes_start === null && (r.nodes_start = t, r.nodes_end = e);
1463
1463
  }
@@ -1466,7 +1466,7 @@ function zi(t, e) {
1466
1466
  var r = (e & ar) !== 0, n = (e & hn) !== 0, i, s = !t.startsWith("<!>");
1467
1467
  return () => {
1468
1468
  if (E)
1469
- return W(S, null), S;
1469
+ return W(A, null), A;
1470
1470
  i === void 0 && (i = Kr(s ? t : "<!>" + t), r || (i = /** @type {Node} */
1471
1471
  /* @__PURE__ */ F(i)));
1472
1472
  var f = (
@@ -1492,7 +1492,7 @@ function ui(t, e, r = "svg") {
1492
1492
  var n = !t.startsWith("<!>"), i = (e & ar) !== 0, s = `<${r}>${n ? t : "<!>" + t}</${r}>`, f;
1493
1493
  return () => {
1494
1494
  if (E)
1495
- return W(S, null), S;
1495
+ return W(A, null), A;
1496
1496
  if (!f) {
1497
1497
  var a = (
1498
1498
  /** @type {DocumentFragment} */
@@ -1538,18 +1538,18 @@ function Xi(t = "") {
1538
1538
  var e = X(t + "");
1539
1539
  return W(e, e), e;
1540
1540
  }
1541
- var r = S;
1542
- return r.nodeType !== Fe && (r.before(r = X()), H(r)), W(r, r), r;
1541
+ var r = A;
1542
+ return r.nodeType !== Fe && (r.before(r = X()), U(r)), W(r, r), r;
1543
1543
  }
1544
1544
  function Zi() {
1545
1545
  if (E)
1546
- return W(S, null), S;
1546
+ return W(A, null), A;
1547
1547
  var t = document.createDocumentFragment(), e = document.createComment(""), r = X();
1548
1548
  return t.append(e, r), W(e, r), t;
1549
1549
  }
1550
1550
  function li(t, e) {
1551
1551
  if (E) {
1552
- m.nodes_end = S, Ht();
1552
+ b.nodes_end = A, Ut();
1553
1553
  return;
1554
1554
  }
1555
1555
  t !== null && t.before(
@@ -1571,24 +1571,24 @@ function Gr(t, e) {
1571
1571
  }
1572
1572
  function vi(t, e) {
1573
1573
  ye(), e.intro = e.intro ?? !1;
1574
- const r = e.target, n = E, i = S;
1574
+ const r = e.target, n = E, i = A;
1575
1575
  try {
1576
1576
  for (var s = (
1577
1577
  /** @type {TemplateNode} */
1578
1578
  /* @__PURE__ */ F(r)
1579
- ); s && (s.nodeType !== Lt || /** @type {Comment} */
1579
+ ); s && (s.nodeType !== Mt || /** @type {Comment} */
1580
1580
  s.data !== ur); )
1581
1581
  s = /** @type {TemplateNode} */
1582
1582
  /* @__PURE__ */ ft(s);
1583
1583
  if (!s)
1584
1584
  throw Tt;
1585
- Y(!0), H(
1585
+ Y(!0), U(
1586
1586
  /** @type {Comment} */
1587
1587
  s
1588
- ), Ht();
1588
+ ), Ut();
1589
1589
  const f = zr(t, { ...e, anchor: s });
1590
- if (S === null || S.nodeType !== Lt || /** @type {Comment} */
1591
- S.data !== Re)
1590
+ if (A === null || A.nodeType !== Mt || /** @type {Comment} */
1591
+ A.data !== Re)
1592
1592
  throw fe(), Tt;
1593
1593
  return Y(!1), /** @type {Exports} */
1594
1594
  f;
@@ -1598,10 +1598,10 @@ function vi(t, e) {
1598
1598
  throw f;
1599
1599
  return f !== Tt && console.warn("Failed to hydrate: ", f), e.recover === !1 && Rn(), ye(), Rr(r), Y(!1), Gr(t, e);
1600
1600
  } finally {
1601
- Y(n), H(i);
1601
+ Y(n), U(i);
1602
1602
  }
1603
1603
  }
1604
- const bt = /* @__PURE__ */ new Map();
1604
+ const mt = /* @__PURE__ */ new Map();
1605
1605
  function zr(t, { target: e, anchor: r, props: n = {}, events: i, context: s, intro: f = !0 }) {
1606
1606
  ye();
1607
1607
  var a = /* @__PURE__ */ new Set(), u = (d) => {
@@ -1610,9 +1610,9 @@ function zr(t, { target: e, anchor: r, props: n = {}, events: i, context: s, int
1610
1610
  if (!a.has(h)) {
1611
1611
  a.add(h);
1612
1612
  var c = ci(h);
1613
- e.addEventListener(h, xt, { passive: c });
1614
- var _ = bt.get(h);
1615
- _ === void 0 ? (document.addEventListener(h, xt, { passive: c }), bt.set(h, 1)) : bt.set(h, _ + 1);
1613
+ e.addEventListener(h, Lt, { passive: c });
1614
+ var _ = mt.get(h);
1615
+ _ === void 0 ? (document.addEventListener(h, Lt, { passive: c }), mt.set(h, 1)) : mt.set(h, _ + 1);
1616
1616
  }
1617
1617
  }
1618
1618
  };
@@ -1632,25 +1632,25 @@ function zr(t, { target: e, anchor: r, props: n = {}, events: i, context: s, int
1632
1632
  /** @type {TemplateNode} */
1633
1633
  d,
1634
1634
  null
1635
- ), Te = f, l = t(d, n) || {}, Te = !0, E && (m.nodes_end = S), s && Fn();
1635
+ ), Te = f, l = t(d, n) || {}, Te = !0, E && (b.nodes_end = A), s && Fn();
1636
1636
  }), () => {
1637
1637
  for (var v of a) {
1638
- e.removeEventListener(v, xt);
1638
+ e.removeEventListener(v, Lt);
1639
1639
  var h = (
1640
1640
  /** @type {number} */
1641
- bt.get(v)
1641
+ mt.get(v)
1642
1642
  );
1643
- --h === 0 ? (document.removeEventListener(v, xt), bt.delete(v)) : bt.set(v, h);
1643
+ --h === 0 ? (document.removeEventListener(v, Lt), mt.delete(v)) : mt.set(v, h);
1644
1644
  }
1645
1645
  Ee.delete(u), d !== r && d.parentNode?.removeChild(d);
1646
1646
  };
1647
1647
  });
1648
- return Se.set(l, o), l;
1648
+ return Ae.set(l, o), l;
1649
1649
  }
1650
- let Se = /* @__PURE__ */ new WeakMap();
1650
+ let Ae = /* @__PURE__ */ new WeakMap();
1651
1651
  function di(t, e) {
1652
- const r = Se.get(t);
1653
- return r ? (Se.delete(t), r(e)) : Promise.resolve();
1652
+ const r = Ae.get(t);
1653
+ return r ? (Ae.delete(t), r(e)) : Promise.resolve();
1654
1654
  }
1655
1655
  function hi(t) {
1656
1656
  O === null && dr(), Pt && O.l !== null ? _i(O).m.push(t) : Zn(() => {
@@ -1672,7 +1672,7 @@ function _i(t) {
1672
1672
  return e.u ??= { a: [], b: [], m: [] };
1673
1673
  }
1674
1674
  function es(t, e, r = !1) {
1675
- E && Ht();
1675
+ E && Ut();
1676
1676
  var n = t, i = null, s = null, f = I, a = r ? se : 0, u = !1;
1677
1677
  const l = (h, c = !0) => {
1678
1678
  u = !0, v(c, h);
@@ -1681,7 +1681,7 @@ function es(t, e, r = !1) {
1681
1681
  function d() {
1682
1682
  o !== null && (o.lastChild.remove(), n.before(o), o = null);
1683
1683
  var h = f ? i : s, c = f ? s : i;
1684
- h && Ve(h), c && Be(c, () => {
1684
+ h && Ve(h), c && He(c, () => {
1685
1685
  f ? s = null : i = null;
1686
1686
  });
1687
1687
  }
@@ -1689,23 +1689,23 @@ function es(t, e, r = !1) {
1689
1689
  if (f === (f = h)) return;
1690
1690
  let _ = !1;
1691
1691
  if (E) {
1692
- const A = hr(n) === Ce;
1693
- !!f === A && (n = we(), H(n), Y(!1), _ = !0);
1692
+ const S = hr(n) === Ce;
1693
+ !!f === S && (n = we(), U(n), Y(!1), _ = !0);
1694
1694
  }
1695
1695
  var p = Ir(), w = n;
1696
1696
  if (p && (o = document.createDocumentFragment(), o.append(w = X())), f ? i ??= c && Rt(() => c(w)) : s ??= c && Rt(() => c(w)), p) {
1697
1697
  var g = (
1698
1698
  /** @type {Batch} */
1699
1699
  R
1700
- ), b = f ? i : s, N = f ? s : i;
1701
- b && g.skipped_effects.delete(b), N && g.skipped_effects.add(N), g.add_callback(d);
1700
+ ), m = f ? i : s, N = f ? s : i;
1701
+ m && g.skipped_effects.delete(m), N && g.skipped_effects.add(N), g.add_callback(d);
1702
1702
  } else
1703
1703
  d();
1704
1704
  _ && Y(!0);
1705
1705
  };
1706
- kr(() => {
1706
+ xr(() => {
1707
1707
  u = !1, e(l), u || v(null, null);
1708
- }, a), E && (n = S);
1708
+ }, a), E && (n = A);
1709
1709
  }
1710
1710
  function rs(t, e) {
1711
1711
  return e;
@@ -1739,12 +1739,12 @@ function ns(t, e, r, n, i, s = null) {
1739
1739
  /** @type {Element} */
1740
1740
  t
1741
1741
  );
1742
- f = E ? H(
1742
+ f = E ? U(
1743
1743
  /** @type {Comment | Text} */
1744
1744
  /* @__PURE__ */ F(l)
1745
1745
  ) : l.appendChild(X());
1746
1746
  }
1747
- E && Ht();
1747
+ E && Ut();
1748
1748
  var o = null, d = !1, v = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ qe(() => {
1749
1749
  var w = r();
1750
1750
  return Ie(w) ? w : w == null ? [] : Pe(w);
@@ -1760,13 +1760,13 @@ function ns(t, e, r, n, i, s = null) {
1760
1760
  e,
1761
1761
  n,
1762
1762
  r
1763
- ), s !== null && (c.length === 0 ? o ? Ve(o) : o = Rt(() => s(f)) : o !== null && Be(o, () => {
1763
+ ), s !== null && (c.length === 0 ? o ? Ve(o) : o = Rt(() => s(f)) : o !== null && He(o, () => {
1764
1764
  o = null;
1765
1765
  }));
1766
1766
  }
1767
- kr(() => {
1767
+ xr(() => {
1768
1768
  _ ??= /** @type {Effect} */
1769
- m, c = /** @type {V[]} */
1769
+ b, c = /** @type {V[]} */
1770
1770
  j(h);
1771
1771
  var w = c.length;
1772
1772
  if (d && w === 0)
@@ -1774,20 +1774,20 @@ function ns(t, e, r, n, i, s = null) {
1774
1774
  d = w === 0;
1775
1775
  let g = !1;
1776
1776
  if (E) {
1777
- var b = hr(f) === Ce;
1778
- b !== (w === 0) && (f = we(), H(f), Y(!1), g = !0);
1777
+ var m = hr(f) === Ce;
1778
+ m !== (w === 0) && (f = we(), U(f), Y(!1), g = !0);
1779
1779
  }
1780
1780
  if (E) {
1781
- for (var N = null, A, $ = 0; $ < w; $++) {
1782
- if (S.nodeType === Lt && /** @type {Comment} */
1783
- S.data === Re) {
1781
+ for (var N = null, S, $ = 0; $ < w; $++) {
1782
+ if (A.nodeType === Mt && /** @type {Comment} */
1783
+ A.data === Re) {
1784
1784
  f = /** @type {Comment} */
1785
- S, g = !0, Y(!1);
1785
+ A, g = !0, Y(!1);
1786
1786
  break;
1787
1787
  }
1788
1788
  var T = c[$], C = n(T, $);
1789
- A = Ae(
1790
- S,
1789
+ S = Se(
1790
+ A,
1791
1791
  a,
1792
1792
  N,
1793
1793
  null,
@@ -1797,9 +1797,9 @@ function ns(t, e, r, n, i, s = null) {
1797
1797
  i,
1798
1798
  e,
1799
1799
  r
1800
- ), a.items.set(C, A), N = A;
1800
+ ), a.items.set(C, S), N = S;
1801
1801
  }
1802
- w > 0 && H(we());
1802
+ w > 0 && U(we());
1803
1803
  }
1804
1804
  if (E)
1805
1805
  w === 0 && s && (o = Rt(() => s(f)));
@@ -1811,7 +1811,7 @@ function ns(t, e, r, n, i, s = null) {
1811
1811
  for ($ = 0; $ < w; $ += 1) {
1812
1812
  T = c[$], C = n(T, $);
1813
1813
  var vt = a.items.get(C) ?? v.get(C);
1814
- vt ? (e & (re | ne)) !== 0 && Jr(vt, T, $, e) : (A = Ae(
1814
+ vt ? (e & (re | ne)) !== 0 && Jr(vt, T, $, e) : (S = Se(
1815
1815
  null,
1816
1816
  a,
1817
1817
  null,
@@ -1823,7 +1823,7 @@ function ns(t, e, r, n, i, s = null) {
1823
1823
  e,
1824
1824
  r,
1825
1825
  !0
1826
- ), v.set(C, A)), K.add(C);
1826
+ ), v.set(C, S)), K.add(C);
1827
1827
  }
1828
1828
  for (const [G, Wt] of a.items)
1829
1829
  K.has(G) || Vt.skipped_effects.add(Wt.e);
@@ -1831,18 +1831,18 @@ function ns(t, e, r, n, i, s = null) {
1831
1831
  } else
1832
1832
  p();
1833
1833
  g && Y(!0), j(h);
1834
- }), E && (f = S);
1834
+ }), E && (f = A);
1835
1835
  }
1836
1836
  function $i(t, e, r, n, i, s, f, a, u) {
1837
- var l = (f & nn) !== 0, o = (f & (re | ne)) !== 0, d = e.length, v = r.items, h = r.first, c = h, _, p = null, w, g = [], b = [], N, A, $, T;
1837
+ var l = (f & nn) !== 0, o = (f & (re | ne)) !== 0, d = e.length, v = r.items, h = r.first, c = h, _, p = null, w, g = [], m = [], N, S, $, T;
1838
1838
  if (l)
1839
1839
  for (T = 0; T < d; T += 1)
1840
- N = e[T], A = a(N, T), $ = v.get(A), $ !== void 0 && ($.a?.measure(), (w ??= /* @__PURE__ */ new Set()).add($));
1840
+ N = e[T], S = a(N, T), $ = v.get(S), $ !== void 0 && ($.a?.measure(), (w ??= /* @__PURE__ */ new Set()).add($));
1841
1841
  for (T = 0; T < d; T += 1) {
1842
- if (N = e[T], A = a(N, T), $ = v.get(A), $ === void 0) {
1843
- var C = n.get(A);
1842
+ if (N = e[T], S = a(N, T), $ = v.get(S), $ === void 0) {
1843
+ var C = n.get(S);
1844
1844
  if (C !== void 0) {
1845
- n.delete(A), v.set(A, C);
1845
+ n.delete(S), v.set(S, C);
1846
1846
  var K = p ? p.next : c;
1847
1847
  z(r, p, C), z(r, C, K), _e(C, K, i), p = C;
1848
1848
  } else {
@@ -1850,39 +1850,39 @@ function $i(t, e, r, n, i, s, f, a, u) {
1850
1850
  /** @type {TemplateNode} */
1851
1851
  c.e.nodes_start
1852
1852
  ) : i;
1853
- p = Ae(
1853
+ p = Se(
1854
1854
  Vt,
1855
1855
  r,
1856
1856
  p,
1857
1857
  p === null ? r.first : p.next,
1858
1858
  N,
1859
- A,
1859
+ S,
1860
1860
  T,
1861
1861
  s,
1862
1862
  f,
1863
1863
  u
1864
1864
  );
1865
1865
  }
1866
- v.set(A, p), g = [], b = [], c = p.next;
1866
+ v.set(S, p), g = [], m = [], c = p.next;
1867
1867
  continue;
1868
1868
  }
1869
1869
  if (o && Jr($, N, T, f), ($.e.f & V) !== 0 && (Ve($.e), l && ($.a?.unfix(), (w ??= /* @__PURE__ */ new Set()).delete($))), $ !== c) {
1870
1870
  if (_ !== void 0 && _.has($)) {
1871
- if (g.length < b.length) {
1872
- var vt = b[0], G;
1871
+ if (g.length < m.length) {
1872
+ var vt = m[0], G;
1873
1873
  p = vt.prev;
1874
1874
  var Wt = g[0], ce = g[g.length - 1];
1875
1875
  for (G = 0; G < g.length; G += 1)
1876
1876
  _e(g[G], vt, i);
1877
- for (G = 0; G < b.length; G += 1)
1878
- _.delete(b[G]);
1879
- z(r, Wt.prev, ce.next), z(r, p, Wt), z(r, ce, vt), c = vt, p = ce, T -= 1, g = [], b = [];
1877
+ for (G = 0; G < m.length; G += 1)
1878
+ _.delete(m[G]);
1879
+ z(r, Wt.prev, ce.next), z(r, p, Wt), z(r, ce, vt), c = vt, p = ce, T -= 1, g = [], m = [];
1880
1880
  } else
1881
1881
  _.delete($), _e($, c, i), z(r, $.prev, $.next), z(r, $, p === null ? r.first : p.next), z(r, p, $), p = $;
1882
1882
  continue;
1883
1883
  }
1884
- for (g = [], b = []; c !== null && c.k !== A; )
1885
- (c.e.f & V) === 0 && (_ ??= /* @__PURE__ */ new Set()).add(c), b.push(c), c = c.next;
1884
+ for (g = [], m = []; c !== null && c.k !== S; )
1885
+ (c.e.f & V) === 0 && (_ ??= /* @__PURE__ */ new Set()).add(c), m.push(c), c = c.next;
1886
1886
  if (c === null)
1887
1887
  continue;
1888
1888
  $ = c;
@@ -1890,18 +1890,18 @@ function $i(t, e, r, n, i, s, f, a, u) {
1890
1890
  g.push($), p = $, c = $.next;
1891
1891
  }
1892
1892
  if (c !== null || _ !== void 0) {
1893
- for (var Mt = _ === void 0 ? [] : Pe(_); c !== null; )
1894
- (c.e.f & V) === 0 && Mt.push(c), c = c.next;
1895
- var ve = Mt.length;
1893
+ for (var kt = _ === void 0 ? [] : Pe(_); c !== null; )
1894
+ (c.e.f & V) === 0 && kt.push(c), c = c.next;
1895
+ var ve = kt.length;
1896
1896
  if (ve > 0) {
1897
1897
  var en = (f & fr) !== 0 && d === 0 ? i : null;
1898
1898
  if (l) {
1899
1899
  for (T = 0; T < ve; T += 1)
1900
- Mt[T].a?.measure();
1900
+ kt[T].a?.measure();
1901
1901
  for (T = 0; T < ve; T += 1)
1902
- Mt[T].a?.fix();
1902
+ kt[T].a?.fix();
1903
1903
  }
1904
- pi(r, Mt, en);
1904
+ pi(r, kt, en);
1905
1905
  }
1906
1906
  }
1907
1907
  l && ae(() => {
@@ -1920,8 +1920,8 @@ function Jr(t, e, r, n) {
1920
1920
  r
1921
1921
  ) : t.i = r;
1922
1922
  }
1923
- function Ae(t, e, r, n, i, s, f, a, u, l, o) {
1924
- var d = (u & re) !== 0, v = (u & sn) === 0, h = d ? v ? /* @__PURE__ */ Sr(i, !1, !1) : Ft(i) : i, c = (u & ne) === 0 ? f : Ft(f), _ = {
1923
+ function Se(t, e, r, n, i, s, f, a, u, l, o) {
1924
+ var d = (u & re) !== 0, v = (u & sn) === 0, h = d ? v ? /* @__PURE__ */ Ar(i, !1, !1) : Ft(i) : i, c = (u & ne) === 0 ? f : Ft(f), _ = {
1925
1925
  i: c,
1926
1926
  v: h,
1927
1927
  k: s,
@@ -1968,12 +1968,12 @@ function z(t, e, r) {
1968
1968
  e === null ? t.first = r : (e.next = r, e.e.next = r && r.e), r !== null && (r.prev = e, r.e.prev = e && e.e);
1969
1969
  }
1970
1970
  function is(t, e, r, n, i) {
1971
- E && Ht();
1971
+ E && Ut();
1972
1972
  var s = e.$$slots?.[r], f = !1;
1973
1973
  s === !0 && (s = e[r === "default" ? "children" : r], f = !0), s === void 0 ? i !== null && i(t) : s(t, f ? () => n : n);
1974
1974
  }
1975
1975
  function ss(t, e) {
1976
- Ue(() => {
1976
+ Be(() => {
1977
1977
  var r = t.getRootNode(), n = (
1978
1978
  /** @type {ShadowRoot} */
1979
1979
  r.host ? (
@@ -2034,7 +2034,7 @@ function rr(t, e = !1) {
2034
2034
  function pe(t) {
2035
2035
  return t[0] !== "-" || t[1] !== "-" ? t.toLowerCase() : t;
2036
2036
  }
2037
- function mi(t, e) {
2037
+ function bi(t, e) {
2038
2038
  if (e) {
2039
2039
  var r = "", n, i;
2040
2040
  if (Array.isArray(e) ? (n = e[0], i = e[1]) : n = e, t) {
@@ -2087,20 +2087,20 @@ function $e(t, e = {}, r, n) {
2087
2087
  function us(t, e, r, n) {
2088
2088
  var i = t.__style;
2089
2089
  if (E || i !== e) {
2090
- var s = mi(e, n);
2090
+ var s = bi(e, n);
2091
2091
  (!E || s !== t.getAttribute("style")) && (s == null ? t.removeAttribute("style") : t.style.cssText = s), t.__style = e;
2092
2092
  } else n && (Array.isArray(n) ? ($e(t, r?.[0], n[0]), $e(t, r?.[1], n[1], "important")) : $e(t, r, n));
2093
2093
  return n;
2094
2094
  }
2095
- const bi = Symbol("is custom element"), yi = Symbol("is html");
2095
+ const mi = Symbol("is custom element"), yi = Symbol("is html");
2096
2096
  function Ei(t, e, r, n) {
2097
2097
  var i = Ti(t);
2098
2098
  E && (i[e] = t.getAttribute(e), e === "src" || e === "srcset" || e === "href" && t.nodeName === "LINK") || i[e] !== (i[e] = r) && (e === "loading" && (t[En] = r), r == null ? t.removeAttribute(e) : typeof r != "string" && Zr(t).includes(e) ? t[e] = r : t.setAttribute(e, r));
2099
2099
  }
2100
2100
  function ls(t, e, r) {
2101
- var n = y, i = m;
2101
+ var n = y, i = b;
2102
2102
  let s = E;
2103
- E && Y(!1), B(null), Q(null);
2103
+ E && Y(!1), H(null), Q(null);
2104
2104
  try {
2105
2105
  // `style` should use `set_attribute` rather than the setter
2106
2106
  e !== "style" && // Don't compute setters for custom elements while they aren't registered yet,
@@ -2109,7 +2109,7 @@ function ls(t, e, r) {
2109
2109
  (Ne.has(t.getAttribute("is") || t.nodeName) || // customElements may not be available in browser extension contexts
2110
2110
  !customElements || customElements.get(t.getAttribute("is") || t.tagName.toLowerCase()) ? Zr(t).includes(e) : r && typeof r == "object") ? t[e] = r : Ei(t, e, r == null ? r : String(r));
2111
2111
  } finally {
2112
- B(n), Q(i), s && Y(!0);
2112
+ H(n), Q(i), s && Y(!0);
2113
2113
  }
2114
2114
  }
2115
2115
  function Ti(t) {
@@ -2117,7 +2117,7 @@ function Ti(t) {
2117
2117
  /** @type {Record<string | symbol, unknown>} **/
2118
2118
  // @ts-expect-error
2119
2119
  t.__attributes ??= {
2120
- [bi]: t.nodeName.includes("-"),
2120
+ [mi]: t.nodeName.includes("-"),
2121
2121
  [yi]: t.namespaceURI === _n
2122
2122
  }
2123
2123
  );
@@ -2135,7 +2135,7 @@ function Zr(t) {
2135
2135
  }
2136
2136
  return r;
2137
2137
  }
2138
- const Si = () => performance.now(), rt = {
2138
+ const Ai = () => performance.now(), rt = {
2139
2139
  // don't access requestAnimationFrame eagerly outside method
2140
2140
  // this allows basic testing of user code without JSDOM
2141
2141
  // bunder will eval and remove ternary when the user's app is built
@@ -2143,7 +2143,7 @@ const Si = () => performance.now(), rt = {
2143
2143
  /** @param {any} _ */
2144
2144
  (t) => requestAnimationFrame(t)
2145
2145
  ),
2146
- now: () => Si(),
2146
+ now: () => Ai(),
2147
2147
  tasks: /* @__PURE__ */ new Set()
2148
2148
  };
2149
2149
  function Qr() {
@@ -2152,7 +2152,7 @@ function Qr() {
2152
2152
  e.c(t) || (rt.tasks.delete(e), e.f());
2153
2153
  }), rt.tasks.size !== 0 && rt.tick(Qr);
2154
2154
  }
2155
- function Ai(t) {
2155
+ function Si(t) {
2156
2156
  let e;
2157
2157
  return rt.tasks.size === 0 && rt.tick(Qr), {
2158
2158
  promise: new Promise((r) => {
@@ -2164,7 +2164,7 @@ function Ai(t) {
2164
2164
  };
2165
2165
  }
2166
2166
  function Kt(t, e) {
2167
- Bt(() => {
2167
+ Ht(() => {
2168
2168
  t.dispatchEvent(new CustomEvent(e));
2169
2169
  });
2170
2170
  }
@@ -2192,7 +2192,7 @@ const Oi = (t) => t;
2192
2192
  function os(t, e, r, n) {
2193
2193
  var i = (t & cn) !== 0, s = (t & vn) !== 0, f = i && s, a = (t & dn) !== 0, u = f ? "both" : i ? "in" : "out", l, o = e.inert, d = e.style.overflow, v, h;
2194
2194
  function c() {
2195
- return Bt(() => l ??= r()(e, n?.() ?? /** @type {P} */
2195
+ return Ht(() => l ??= r()(e, n?.() ?? /** @type {P} */
2196
2196
  {}, {
2197
2197
  direction: u
2198
2198
  }));
@@ -2208,13 +2208,13 @@ function os(t, e, r, n) {
2208
2208
  Kt(e, "introend"), v?.abort(), v = l = void 0, e.style.overflow = d;
2209
2209
  });
2210
2210
  },
2211
- out(b) {
2211
+ out(m) {
2212
2212
  if (!s) {
2213
- b?.(), l = void 0;
2213
+ m?.(), l = void 0;
2214
2214
  return;
2215
2215
  }
2216
2216
  e.inert = !0, Kt(e, "outrostart"), h = Oe(e, c(), v, 0, () => {
2217
- Kt(e, "outroend"), b?.();
2217
+ Kt(e, "outroend"), m?.();
2218
2218
  });
2219
2219
  },
2220
2220
  stop: () => {
@@ -2222,7 +2222,7 @@ function os(t, e, r, n) {
2222
2222
  }
2223
2223
  }, p = (
2224
2224
  /** @type {Effect} */
2225
- m
2225
+ b
2226
2226
  );
2227
2227
  if ((p.transitions ??= []).push(_), i && Te) {
2228
2228
  var w = a;
@@ -2235,7 +2235,7 @@ function os(t, e, r, n) {
2235
2235
  ;
2236
2236
  w = !g || (g.f & ie) !== 0;
2237
2237
  }
2238
- w && Ue(() => {
2238
+ w && Be(() => {
2239
2239
  Yt(() => _.in());
2240
2240
  });
2241
2241
  }
@@ -2260,9 +2260,9 @@ function Oe(t, e, r, n, i) {
2260
2260
  }
2261
2261
  if (r?.deactivate(), !e?.duration)
2262
2262
  return i(), {
2263
- abort: kt,
2264
- deactivate: kt,
2265
- reset: kt,
2263
+ abort: xt,
2264
+ deactivate: xt,
2265
+ reset: xt,
2266
2266
  t: () => n
2267
2267
  };
2268
2268
  const { delay: u = 0, css: l, tick: o, easing: d = Oi } = e;
@@ -2279,13 +2279,13 @@ function Oe(t, e, r, n, i) {
2279
2279
  var w = n - p, g = (
2280
2280
  /** @type {number} */
2281
2281
  e.duration * Math.abs(w)
2282
- ), b = [];
2282
+ ), m = [];
2283
2283
  if (g > 0) {
2284
2284
  var N = !1;
2285
2285
  if (l)
2286
- for (var A = Math.ceil(g / 16.666666666666668), $ = 0; $ <= A; $ += 1) {
2287
- var T = p + w * d($ / A), C = nr(l(T, 1 - T));
2288
- b.push(C), N ||= C.overflow === "hidden";
2286
+ for (var S = Math.ceil(g / 16.666666666666668), $ = 0; $ <= S; $ += 1) {
2287
+ var T = p + w * d($ / S), C = nr(l(T, 1 - T));
2288
+ m.push(C), N ||= C.overflow === "hidden";
2289
2289
  }
2290
2290
  N && (t.style.overflow = "hidden"), c = () => {
2291
2291
  var K = (
@@ -2294,21 +2294,21 @@ function Oe(t, e, r, n, i) {
2294
2294
  _.currentTime
2295
2295
  );
2296
2296
  return p + w * d(K / g);
2297
- }, o && Ai(() => {
2297
+ }, o && Si(() => {
2298
2298
  if (_.playState !== "running") return !1;
2299
2299
  var K = c();
2300
2300
  return o(K, 1 - K), !0;
2301
2301
  });
2302
2302
  }
2303
- _ = t.animate(b, { duration: g, fill: "forwards" }), _.onfinish = () => {
2303
+ _ = t.animate(m, { duration: g, fill: "forwards" }), _.onfinish = () => {
2304
2304
  c = () => n, o?.(n, 1 - n), i();
2305
2305
  };
2306
2306
  }, {
2307
2307
  abort: () => {
2308
- _ && (_.cancel(), _.effect = null, _.onfinish = kt);
2308
+ _ && (_.cancel(), _.effect = null, _.onfinish = xt);
2309
2309
  },
2310
2310
  deactivate: () => {
2311
- i = kt;
2311
+ i = xt;
2312
2312
  },
2313
2313
  reset: () => {
2314
2314
  n === 0 && o?.(1, 0);
@@ -2317,12 +2317,12 @@ function Oe(t, e, r, n, i) {
2317
2317
  };
2318
2318
  }
2319
2319
  function ir(t, e) {
2320
- return t === e || t?.[St] === e;
2320
+ return t === e || t?.[At] === e;
2321
2321
  }
2322
2322
  function cs(t = {}, e, r, n) {
2323
- return Ue(() => {
2323
+ return Be(() => {
2324
2324
  var i, s;
2325
- return Mr(() => {
2325
+ return kr(() => {
2326
2326
  i = s, s = [], Yt(() => {
2327
2327
  t !== r(...s) && (e(t, ...s), i && ir(r(...i), t) && e(null, ...i));
2328
2328
  });
@@ -2372,7 +2372,7 @@ const Ri = {
2372
2372
  }
2373
2373
  },
2374
2374
  has(t, e) {
2375
- if (e === St || e === Le) return !1;
2375
+ if (e === At || e === Me) return !1;
2376
2376
  for (let r of t.props)
2377
2377
  if (yt(r) && (r = r()), r != null && e in r) return !0;
2378
2378
  return !1;
@@ -2404,8 +2404,8 @@ function ds(t, e, r, n) {
2404
2404
  n
2405
2405
  )), a), o;
2406
2406
  if (s) {
2407
- var d = St in t || Le in t;
2408
- o = nt(t, e)?.set ?? (d && e in t ? (b) => t[e] = b : void 0);
2407
+ var d = At in t || Me in t;
2408
+ o = nt(t, e)?.set ?? (d && e in t ? (m) => t[e] = m : void 0);
2409
2409
  }
2410
2410
  var v, h = !1;
2411
2411
  s ? [v, h] = Ci(() => (
@@ -2415,26 +2415,26 @@ function ds(t, e, r, n) {
2415
2415
  t[e], v === void 0 && n !== void 0 && (v = l(), o && (i && In(), o(v)));
2416
2416
  var c;
2417
2417
  if (i ? c = () => {
2418
- var b = (
2418
+ var m = (
2419
2419
  /** @type {V} */
2420
2420
  t[e]
2421
2421
  );
2422
- return b === void 0 ? l() : (u = !0, b);
2422
+ return m === void 0 ? l() : (u = !0, m);
2423
2423
  } : c = () => {
2424
- var b = (
2424
+ var m = (
2425
2425
  /** @type {V} */
2426
2426
  t[e]
2427
2427
  );
2428
- return b !== void 0 && (a = /** @type {V} */
2429
- void 0), b === void 0 ? a : b;
2428
+ return m !== void 0 && (a = /** @type {V} */
2429
+ void 0), m === void 0 ? a : m;
2430
2430
  }, i && (r & un) === 0)
2431
2431
  return c;
2432
2432
  if (o) {
2433
2433
  var _ = t.$$legacy;
2434
2434
  return (
2435
2435
  /** @type {() => V} */
2436
- (function(b, N) {
2437
- return arguments.length > 0 ? ((!i || !N || _ || h) && o(N ? c() : b), b) : c();
2436
+ (function(m, N) {
2437
+ return arguments.length > 0 ? ((!i || !N || _ || h) && o(N ? c() : m), m) : c();
2438
2438
  })
2439
2439
  );
2440
2440
  }
@@ -2442,16 +2442,16 @@ function ds(t, e, r, n) {
2442
2442
  s && j(w);
2443
2443
  var g = (
2444
2444
  /** @type {Effect} */
2445
- m
2445
+ b
2446
2446
  );
2447
2447
  return (
2448
2448
  /** @type {() => V} */
2449
- (function(b, N) {
2449
+ (function(m, N) {
2450
2450
  if (arguments.length > 0) {
2451
- const A = N ? j(w) : i && s ? Et(b) : b;
2452
- return et(w, A), p = !0, a !== void 0 && (a = A), b;
2451
+ const S = N ? j(w) : i && s ? Et(m) : m;
2452
+ return et(w, S), p = !0, a !== void 0 && (a = S), m;
2453
2453
  }
2454
- return mt && p || (g.f & wt) !== 0 ? w.v : j(w);
2454
+ return bt && p || (g.f & wt) !== 0 ? w.v : j(w);
2455
2455
  })
2456
2456
  );
2457
2457
  }
@@ -2470,7 +2470,7 @@ class Pi {
2470
2470
  */
2471
2471
  constructor(e) {
2472
2472
  var r = /* @__PURE__ */ new Map(), n = (s, f) => {
2473
- var a = /* @__PURE__ */ Sr(f, !1, !1);
2473
+ var a = /* @__PURE__ */ Ar(f, !1, !1);
2474
2474
  return r.set(s, a), a;
2475
2475
  };
2476
2476
  const i = new Proxy(
@@ -2480,7 +2480,7 @@ class Pi {
2480
2480
  return j(r.get(f) ?? n(f, Reflect.get(s, f)));
2481
2481
  },
2482
2482
  has(s, f) {
2483
- return f === Le ? !0 : (j(r.get(f) ?? n(f, Reflect.get(s, f))), Reflect.has(s, f));
2483
+ return f === Me ? !0 : (j(r.get(f) ?? n(f, Reflect.get(s, f))), Reflect.has(s, f));
2484
2484
  },
2485
2485
  set(s, f, a) {
2486
2486
  return et(r.get(f) ?? n(f, a), a), Reflect.set(s, f, a);
@@ -2599,7 +2599,7 @@ typeof HTMLElement == "function" && (tn = class extends HTMLElement {
2599
2599
  };
2600
2600
  if (await Promise.resolve(), !this.$$cn || this.$$c)
2601
2601
  return;
2602
- const e = {}, r = Mi(this);
2602
+ const e = {}, r = ki(this);
2603
2603
  for (const n of this.$$s)
2604
2604
  n in r && (n === "default" && !this.$$d.children ? (this.$$d.children = t(n), e.default = !0) : e[n] = t(n));
2605
2605
  for (const n of this.attributes) {
@@ -2617,7 +2617,7 @@ typeof HTMLElement == "function" && (tn = class extends HTMLElement {
2617
2617
  $$host: this
2618
2618
  }
2619
2619
  }), this.$$me = Qn(() => {
2620
- Mr(() => {
2620
+ kr(() => {
2621
2621
  this.$$r = !0;
2622
2622
  for (const n of Xt(this.$$c)) {
2623
2623
  if (!this.$$p_d[n]?.reflect) continue;
@@ -2695,7 +2695,7 @@ function Jt(t, e, r, n) {
2695
2695
  return e;
2696
2696
  }
2697
2697
  }
2698
- function Mi(t) {
2698
+ function ki(t) {
2699
2699
  const e = {};
2700
2700
  return t.childNodes.forEach((r) => {
2701
2701
  e[
@@ -2738,8 +2738,8 @@ function hs(t, e, r, n, i, s) {
2738
2738
  }), t.element = /** @type {any} */
2739
2739
  f, f;
2740
2740
  }
2741
- const ki = (t) => t;
2742
- function xi(t) {
2741
+ const xi = (t) => t;
2742
+ function Li(t) {
2743
2743
  const e = t - 1;
2744
2744
  return e * e * e + 1;
2745
2745
  }
@@ -2751,7 +2751,7 @@ function sr(t) {
2751
2751
  "px"
2752
2752
  ];
2753
2753
  }
2754
- function _s(t, { delay: e = 0, duration: r = 400, easing: n = ki } = {}) {
2754
+ function _s(t, { delay: e = 0, duration: r = 400, easing: n = xi } = {}) {
2755
2755
  const i = +getComputedStyle(t).opacity;
2756
2756
  return {
2757
2757
  delay: e,
@@ -2760,7 +2760,7 @@ function _s(t, { delay: e = 0, duration: r = 400, easing: n = ki } = {}) {
2760
2760
  css: (s) => `opacity: ${s * i}`
2761
2761
  };
2762
2762
  }
2763
- function ps(t, { delay: e = 0, duration: r = 400, easing: n = xi, x: i = 0, y: s = 0, opacity: f = 0 } = {}) {
2763
+ function ps(t, { delay: e = 0, duration: r = 400, easing: n = Li, x: i = 0, y: s = 0, opacity: f = 0 } = {}) {
2764
2764
  const a = getComputedStyle(t), u = +a.opacity, l = a.transform === "none" ? "" : a.transform, o = u * (1 - f), [d, v] = sr(i), [h, c] = sr(s);
2765
2765
  return {
2766
2766
  delay: e,
@@ -2771,80 +2771,66 @@ function ps(t, { delay: e = 0, duration: r = 400, easing: n = xi, x: i = 0, y: s
2771
2771
  opacity: ${u - o * p}`
2772
2772
  };
2773
2773
  }
2774
- function $s(t) {
2775
- if (isNaN(t) || t < 0)
2776
- return "-:--";
2777
- const e = t / 1e3, r = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60), i = Math.round(e % 60);
2778
- return r > 0 ? `${r}:${n.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}` : `${n}:${i.toString().padStart(2, "0")}`;
2779
- }
2780
- function gs(t) {
2781
- if (isNaN(t) || t < 0)
2782
- return "--";
2783
- const e = t / 1e3, r = Math.floor(e / 60), n = Math.round(e % 60);
2784
- return r > 0 ? `${r}m ${n}s` : `${n}s`;
2785
- }
2786
2774
  export {
2787
- Gi as $,
2788
- Er as A,
2789
- as as B,
2790
- Zn as C,
2791
- at as D,
2775
+ fs as $,
2776
+ Wi as A,
2777
+ Ui as B,
2778
+ Er as C,
2779
+ es as D,
2792
2780
  se as E,
2793
- et as F,
2794
- Zi as G,
2795
- Bi as H,
2796
- es as I,
2797
- Ui as J,
2798
- Di as K,
2799
- Yi as L,
2800
- is as M,
2801
- os as N,
2802
- _s as O,
2803
- Qi as P,
2804
- $s as Q,
2805
- gs as R,
2806
- Fi as S,
2807
- hi as T,
2781
+ zi as F,
2782
+ cs as G,
2783
+ Vi as H,
2784
+ Ei as I,
2785
+ Ki as J,
2786
+ ss as K,
2787
+ Bi as L,
2788
+ Di as M,
2789
+ Xi as N,
2790
+ Qi as O,
2791
+ is as P,
2792
+ us as Q,
2793
+ Et as R,
2794
+ Yi as S,
2795
+ Gi as T,
2808
2796
  I as U,
2809
- cs as V,
2810
- Ei as W,
2811
- ns as X,
2812
- Ji as Y,
2813
- fs as Z,
2814
- rs as _,
2797
+ as as V,
2798
+ qi as W,
2799
+ Ji as X,
2800
+ vs as Y,
2801
+ hi as Z,
2802
+ ns as _,
2815
2803
  Rt as a,
2816
- ts as a0,
2817
- Wi as a1,
2818
- Ki as a2,
2819
- Xi as a3,
2820
- Et as a4,
2821
- qi as a5,
2822
- vs as a6,
2823
- Xn as a7,
2824
- ps as a8,
2825
- kr as b,
2826
- S as c,
2804
+ rs as a0,
2805
+ os as a1,
2806
+ _s as a2,
2807
+ ls as a3,
2808
+ Xn as a4,
2809
+ Fi as a5,
2810
+ ps as a6,
2811
+ xr as b,
2812
+ A as c,
2827
2813
  Z as d,
2828
- ji as e,
2829
- X as f,
2830
- R as g,
2814
+ Ut as e,
2815
+ ji as f,
2816
+ X as g,
2831
2817
  E as h,
2832
- xn as i,
2833
- Ut as j,
2834
- Ht as k,
2818
+ Bt as i,
2819
+ R as j,
2820
+ Ir as k,
2835
2821
  hs as l,
2836
2822
  Dn as m,
2837
- kt as n,
2838
- ss as o,
2839
- Be as p,
2840
- ds as q,
2841
- zi as r,
2842
- Ir as s,
2843
- Vi as t,
2844
- ls as u,
2845
- us as v,
2846
- j as w,
2847
- Hi as x,
2848
- li as y,
2849
- Fn as z
2823
+ xt as n,
2824
+ ds as o,
2825
+ He as p,
2826
+ j as q,
2827
+ at as r,
2828
+ Ln as s,
2829
+ ts as t,
2830
+ Zn as u,
2831
+ Zi as v,
2832
+ Hi as w,
2833
+ li as x,
2834
+ Fn as y,
2835
+ et as z
2850
2836
  };