@tempots/dom 20.0.1 → 20.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,19 +1,19 @@
1
- var De = Object.defineProperty;
2
- var be = (t, e, r) => e in t ? De(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var l = (t, e, r) => be(t, typeof e != "symbol" ? e + "" : e, r);
4
- const Te = (t, e, r) => t + (e - t) * r;
5
- const Ce = (t, e, r) => {
1
+ var Te = Object.defineProperty;
2
+ var Ce = (t, e, r) => e in t ? Te(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var u = (t, e, r) => Ce(t, typeof e != "symbol" ? e + "" : e, r);
4
+ const Le = (t, e, r) => t + (e - t) * r;
5
+ const Oe = (t, e, r) => {
6
6
  const s = Math.max(t.length, e.length);
7
7
  let n = "";
8
8
  for (let o = 0; o < s; o++) {
9
9
  let i = t.charCodeAt(o);
10
10
  isNaN(i) && (i = 97);
11
- let a = e.charCodeAt(o);
12
- isNaN(a) && (a = 97), n += String.fromCharCode(i + (a - i) * r);
11
+ let l = e.charCodeAt(o);
12
+ isNaN(l) && (l = 97), n += String.fromCharCode(i + (l - i) * r);
13
13
  }
14
14
  return n;
15
- }, Le = (t, e, r) => new Date(t.getTime() + (e.getTime() - t.getTime()) * r), Oe = (t, e) => e, Ne = (t) => typeof t == "number" ? Te : typeof t == "string" ? Ce : t instanceof Date ? Le : Oe;
16
- class ke {
15
+ }, ke = (t, e, r) => new Date(t.getTime() + (e.getTime() - t.getTime()) * r), Ne = (t, e) => e, Re = (t) => typeof t == "number" ? Le : typeof t == "string" ? Oe : t instanceof Date ? ke : Ne;
16
+ class R {
17
17
  /**
18
18
  * Creates a new instance of `ElementPosition`.
19
19
  * @param index - The index of the element.
@@ -43,18 +43,18 @@ class ke {
43
43
  return this.index === this.total - 1;
44
44
  }
45
45
  /**
46
- * Checks if the index of the element is even.
47
- * @returns `true` if the index is even, `false` otherwise.
46
+ * Checks if the counter of the element is even.
47
+ * @returns `true` if the counter is even, `false` otherwise.
48
48
  */
49
49
  get isEven() {
50
- return this.index % 2 === 0;
50
+ return this.index % 2 === 1;
51
51
  }
52
52
  /**
53
- * Checks if the index of the element is odd.
54
- * @returns `true` if the index is odd, `false` otherwise.
53
+ * Checks if the counter of the element is odd.
54
+ * @returns `true` if the counter is odd, `false` otherwise.
55
55
  */
56
56
  get isOdd() {
57
- return this.index % 2 === 1;
57
+ return this.index % 2 === 0;
58
58
  }
59
59
  }
60
60
  const p = class p {
@@ -69,33 +69,33 @@ const p = class p {
69
69
  /**
70
70
  * @internal
71
71
  */
72
- l(this, "$__signal__", !0);
72
+ u(this, "$__signal__", !0);
73
73
  /**
74
74
  * @internal
75
75
  */
76
- l(this, "_value");
76
+ u(this, "_value");
77
77
  /**
78
78
  * @internal
79
79
  */
80
- l(this, "_derivatives", []);
80
+ u(this, "_derivatives", []);
81
81
  /**
82
82
  * @internal
83
83
  */
84
- l(this, "_onValueListeners", []);
84
+ u(this, "_onValueListeners", []);
85
85
  /**
86
86
  * @internal
87
87
  */
88
- l(this, "_onDisposeListeners", []);
88
+ u(this, "_onDisposeListeners", []);
89
89
  /**
90
90
  * Gets the current value of the signal.
91
91
  * @returns The current value of the signal.
92
92
  */
93
- l(this, "get", () => this._value);
93
+ u(this, "get", () => this._value);
94
94
  /**
95
95
  * Checks if the signal has any registered listeners.
96
96
  * @returns `true` if the signal has listeners, `false` otherwise.
97
97
  */
98
- l(this, "hasListeners", () => this._onValueListeners.length > 0);
98
+ u(this, "hasListeners", () => this._onValueListeners.length > 0);
99
99
  /**
100
100
  * Registers a listener function to be called whenever the value of the signal changes.
101
101
  * The listener function will be immediately called with the current value of the signal.
@@ -103,37 +103,37 @@ const p = class p {
103
103
  *
104
104
  * @param listener - The listener function to be called when the value of the signal changes.
105
105
  */
106
- l(this, "on", (e) => (e(this.get()), this._onValueListeners.push(e), () => {
106
+ u(this, "on", (e) => (e(this.get()), this._onValueListeners.push(e), () => {
107
107
  this._onValueListeners.splice(this._onValueListeners.indexOf(e), 1);
108
108
  }));
109
109
  /**
110
110
  * @internal
111
111
  */
112
- l(this, "_setAndNotify", (e, r) => {
112
+ u(this, "_setAndNotify", (e, r) => {
113
113
  const s = this.equals(this._value, e);
114
114
  s || (this._value = e), (r || !s) && this._onValueListeners.forEach((n) => n(e));
115
115
  });
116
116
  /**
117
117
  * @internal
118
118
  */
119
- l(this, "_disposed", !1);
119
+ u(this, "_disposed", !1);
120
120
  /**
121
121
  * Checks whether the signal is disposed.
122
122
  * @returns True if the signal is disposed, false otherwise.
123
123
  */
124
- l(this, "isDisposed", () => this._disposed);
124
+ u(this, "isDisposed", () => this._disposed);
125
125
  /**
126
126
  * Adds a listener function to be called when the object is disposed.
127
127
  * @param listener - The listener function to be called when the object is disposed.
128
128
  * @returns A function that can be called to remove the listener.
129
129
  */
130
- l(this, "onDispose", (e) => {
130
+ u(this, "onDispose", (e) => {
131
131
  this._onDisposeListeners.push(e);
132
132
  });
133
133
  /**
134
134
  * Disposes the signal, releasing any resources associated with it.
135
135
  */
136
- l(this, "dispose", () => {
136
+ u(this, "dispose", () => {
137
137
  this._disposed || (this._disposed = !0, this._onDisposeListeners.forEach((e) => e()), this._onDisposeListeners.length = 0, this._derivatives.length = 0);
138
138
  });
139
139
  /**
@@ -145,7 +145,7 @@ const p = class p {
145
145
  * @param equals - Optional equality function to determine if two mapped values are equal.
146
146
  * @returns - A new Computed instance with the mapped value.
147
147
  */
148
- l(this, "map", (e, r = (s, n) => s === n) => {
148
+ u(this, "map", (e, r = (s, n) => s === n) => {
149
149
  const s = new E(() => {
150
150
  try {
151
151
  return e(this.get());
@@ -165,7 +165,7 @@ const p = class p {
165
165
  * Defaults to a strict equality check (===).
166
166
  * @returns A new Signal that emits the values of the resulting Signal.
167
167
  */
168
- l(this, "flatMap", (e, r = (s, n) => s === n) => {
168
+ u(this, "flatMap", (e, r = (s, n) => s === n) => {
169
169
  const s = new E(() => {
170
170
  try {
171
171
  return e(this.get()).get();
@@ -181,19 +181,19 @@ const p = class p {
181
181
  * @param fn - The callback function to be invoked with the current value of the signal.
182
182
  * @returns A new signal that emits the same value as the original signal and invokes the callback function.
183
183
  */
184
- l(this, "tap", (e) => this.map((r) => (e(r), r)));
184
+ u(this, "tap", (e) => this.map((r) => (e(r), r)));
185
185
  /**
186
186
  * Returns a new Signal that emits the value at the specified key of the current value.
187
187
  *
188
188
  * @param key - The key of the value to retrieve.
189
189
  * @returns A new Signal that emits the value at the specified key.
190
190
  */
191
- l(this, "at", (e) => this.map((r) => r[e]));
191
+ u(this, "at", (e) => this.map((r) => r[e]));
192
192
  /**
193
193
  * @internal
194
194
  */
195
- l(this, "_$");
196
- l(this, "filter", (e, r) => {
195
+ u(this, "_$");
196
+ u(this, "filter", (e, r) => {
197
197
  let s = r ?? this.get();
198
198
  const n = new E(() => {
199
199
  try {
@@ -215,12 +215,12 @@ const p = class p {
215
215
  * @param equals - Optional equality function to determine if two values are equal.
216
216
  * @returns - A new Computed object with the mapped and filtered values.
217
217
  */
218
- l(this, "filterMap", (e, r, s = (n, o) => n === o) => {
218
+ u(this, "filterMap", (e, r, s = (n, o) => n === o) => {
219
219
  let n = r;
220
220
  const o = new E(() => {
221
221
  try {
222
- const i = this.get(), a = e(i);
223
- return n = a ?? n;
222
+ const i = this.get(), l = e(i);
223
+ return n = l ?? n;
224
224
  } catch (i) {
225
225
  throw console.error("Error in Signal.filterMap:", i), i;
226
226
  }
@@ -240,18 +240,18 @@ const p = class p {
240
240
  * @param equals - The equality function to compare the mapped values for equality.
241
241
  * @returns A property that holds the mapped value and can be observed for changes.
242
242
  */
243
- l(this, "mapAsync", (e, r, s, n = (o, i) => o === i) => {
243
+ u(this, "mapAsync", (e, r, s, n = (o, i) => o === i) => {
244
244
  const o = C(r, n);
245
- let i = 0, a = new AbortController();
245
+ let i = 0, l = new AbortController();
246
246
  return o.onDispose(
247
- this.on(async (u) => {
248
- const f = ++i;
249
- a.abort(), a = new AbortController();
247
+ this.on(async (a) => {
248
+ const c = ++i;
249
+ l.abort(), l = new AbortController();
250
250
  try {
251
- const d = await e(u, { abortSignal: a.signal });
252
- f === i && o.set(d);
251
+ const d = await e(a, { abortSignal: l.signal });
252
+ c === i && o.set(d);
253
253
  } catch (d) {
254
- if (f === i)
254
+ if (c === i)
255
255
  if (s != null)
256
256
  o.set(s(d));
257
257
  else
@@ -270,14 +270,14 @@ const p = class p {
270
270
  * @param alt - The alternative value to use when the mapped value is `undefined` or `null`.
271
271
  * @returns A new signal containing the mapped values.
272
272
  */
273
- l(this, "mapMaybe", (e, r) => this.map((s) => e(s) ?? r));
273
+ u(this, "mapMaybe", (e, r) => this.map((s) => e(s) ?? r));
274
274
  /**
275
275
  * Feeds a property into the signal and sets up disposal behavior.
276
276
  * @param prop - The property to feed into the signal.
277
277
  * @param autoDisposeProp - Determines whether the property should be automatically disposed when the signal is disposed.
278
278
  * @returns The input property.
279
279
  */
280
- l(this, "feedProp", (e, r = !1) => {
280
+ u(this, "feedProp", (e, r = !1) => {
281
281
  const s = this.on(e.set);
282
282
  return e.onDispose(s), r ? this.onDispose(e.dispose) : this.onDispose(s), e;
283
283
  });
@@ -286,12 +286,12 @@ const p = class p {
286
286
  * @param autoDisposeProp - Determines whether the derived property should be automatically disposed.
287
287
  * @returns The derived property.
288
288
  */
289
- l(this, "deriveProp", (e = !0) => this.feedProp(C(this.get()), e));
289
+ u(this, "deriveProp", (e = !0) => this.feedProp(C(this.get()), e));
290
290
  /**
291
291
  * Returns a signal that emits the count of values received so far.
292
292
  * @returns A signal that emits the count of values received so far.
293
293
  */
294
- l(this, "count", () => {
294
+ u(this, "count", () => {
295
295
  let e = 0;
296
296
  return this.map(() => ++e);
297
297
  });
@@ -301,7 +301,7 @@ const p = class p {
301
301
  * Additionally, when the computed value is disposed, it sets the signal as dirty.
302
302
  * @param computed - The computed value to add as a derivative.
303
303
  */
304
- l(this, "setDerivative", (e) => {
304
+ u(this, "setDerivative", (e) => {
305
305
  this._derivatives.push(e), e.onDispose(() => {
306
306
  this._derivatives.splice(
307
307
  this._derivatives.indexOf(e),
@@ -338,7 +338,7 @@ const p = class p {
338
338
  * @param equals - A function to compare two values of type O for equality. Defaults to strict equality (===).
339
339
  * @returns - A Signal that represents the result of the Promise.
340
340
  */
341
- l(p, "ofPromise", (e, r, s, n = (o, i) => o === i) => {
341
+ u(p, "ofPromise", (e, r, s, n = (o, i) => o === i) => {
342
342
  const o = new p(r, n);
343
343
  return e.then((i) => o._setAndNotify(i, !1)).catch((i) => {
344
344
  s != null ? o._setAndNotify(s(i), !1) : console.error(
@@ -352,7 +352,7 @@ l(p, "ofPromise", (e, r, s, n = (o, i) => o === i) => {
352
352
  * @param value - The value to check.
353
353
  * @returns `true` if the value is a Signal, `false` otherwise.
354
354
  */
355
- l(p, "is", (e) => (
355
+ u(p, "is", (e) => (
356
356
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
357
357
  e != null && e.$__signal__ === !0
358
358
  )), /**
@@ -365,19 +365,19 @@ l(p, "is", (e) => (
365
365
  * @param equals - A function that determines if two values are equal. Defaults to strict equality (===).
366
366
  * @returns A Signal instance.
367
367
  */
368
- l(p, "wrap", (e, r = (s, n) => s === n) => p.is(e) ? e : new p(e, r)), /**
368
+ u(p, "wrap", (e, r = (s, n) => s === n) => p.is(e) ? e : new p(e, r)), /**
369
369
  * Wraps a value in a `Signal` if it is not already a `Signal`.
370
370
  * If the value is `null` or `undefined`, it returns `null` or `undefined` respectively.
371
371
  * @param value - The value to wrap or check.
372
372
  * @returns The wrapped value if it is not `null` or `undefined`, otherwise `null` or `undefined`.
373
373
  */
374
- l(p, "maybeWrap", (e) => e == null ? e : p.wrap(e)), /**
374
+ u(p, "maybeWrap", (e) => e == null ? e : p.wrap(e)), /**
375
375
  * Unwraps a value from a `Signal` if it is a `Signal`, otherwise returns the value as is.
376
376
  *
377
377
  * @param value - The value to unwrap.
378
378
  * @returns The unwrapped value.
379
379
  */
380
- l(p, "unwrap", (e) => p.is(e) ? e.get() : e), /**
380
+ u(p, "unwrap", (e) => p.is(e) ? e.get() : e), /**
381
381
  * Maps the value of a `Signal` or a regular value using the provided mapping function.
382
382
  * If the input value is a `Signal`, the mapping function is applied to its value.
383
383
  * If the input value is not a `Signal`, the mapping function is directly applied to the value.
@@ -390,9 +390,9 @@ l(p, "unwrap", (e) => p.is(e) ? e.get() : e), /**
390
390
  * @typeParam N - The type of the input value.
391
391
  * @typeParam O - The type of the mapped value.
392
392
  */
393
- l(p, "map", (e, r) => p.is(e) ? e.map(r) : r(e));
393
+ u(p, "map", (e, r) => p.is(e) ? e.map(r) : r(e));
394
394
  let h = p;
395
- const Re = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
395
+ const Me = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
396
396
  class E extends h {
397
397
  /**
398
398
  * Represents a Signal object.
@@ -404,36 +404,36 @@ class E extends h {
404
404
  /**
405
405
  * @internal
406
406
  */
407
- l(this, "$__computed__", !0);
407
+ u(this, "$__computed__", !0);
408
408
  /**
409
409
  * @internal
410
410
  */
411
- l(this, "_isDirty", !1);
411
+ u(this, "_isDirty", !1);
412
412
  /**
413
413
  * Marks the signal as dirty, indicating that its value has changed and needs to be recalculated.
414
414
  * If the signal is already dirty or disposed, this method does nothing.
415
415
  * It also marks all dependent signals as dirty and schedules a notification to update their values.
416
416
  */
417
- l(this, "setDirty", () => {
417
+ u(this, "setDirty", () => {
418
418
  this._isDirty || this._disposed || (this._isDirty = !0, this._derivatives.forEach((r) => r.setDirty()), this._scheduleNotify());
419
419
  });
420
420
  /**
421
421
  * @internal
422
422
  */
423
- l(this, "_scheduleCount", 0);
423
+ u(this, "_scheduleCount", 0);
424
424
  /**
425
425
  * Schedules a notification to be executed asynchronously.
426
426
  * If the signal is dirty, it will be updated and notified.
427
427
  * @internal
428
428
  */
429
- l(this, "_scheduleNotify", () => {
429
+ u(this, "_scheduleNotify", () => {
430
430
  const r = ++this._scheduleCount;
431
- Re(() => {
431
+ Me(() => {
432
432
  this._scheduleCount !== r || this._disposed !== !1 || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn(), !1));
433
433
  });
434
434
  });
435
435
  /** {@inheritDoc Signal.get} */
436
- l(this, "get", () => (this._isDirty && (this._isDirty = !1, this._value = this._fn(), this._setAndNotify(this._value, !0)), this._value));
436
+ u(this, "get", () => (this._isDirty && (this._isDirty = !1, this._value = this._fn(), this._setAndNotify(this._value, !0)), this._value));
437
437
  this._fn = r, this.setDirty();
438
438
  }
439
439
  /**
@@ -450,26 +450,26 @@ class E extends h {
450
450
  return this.get();
451
451
  }
452
452
  }
453
- const F = class F extends h {
453
+ const V = class V extends h {
454
454
  constructor() {
455
455
  super(...arguments);
456
456
  /**
457
457
  * @internal
458
458
  */
459
- l(this, "$__prop__", !0);
459
+ u(this, "$__prop__", !0);
460
460
  /**
461
461
  * Changes the value of the property and notifies its listeners.
462
462
  *
463
463
  * @param value - The new value of the property.
464
464
  */
465
- l(this, "set", (r) => {
465
+ u(this, "set", (r) => {
466
466
  this._setAndNotify(r, !1);
467
467
  });
468
468
  /**
469
469
  * Updates the value of the signal by applying the provided function to the current value.
470
470
  * @param fn - The function to apply to the current value.
471
471
  */
472
- l(this, "update", (r) => {
472
+ u(this, "update", (r) => {
473
473
  this._setAndNotify(r(this.get()), !1);
474
474
  });
475
475
  /**
@@ -478,13 +478,13 @@ const F = class F extends h {
478
478
  * @param effects - An array of effects to be executed after the state is updated.
479
479
  * @returns A dispatch function that can be used to update the state and trigger the effects.
480
480
  */
481
- l(this, "reducer", (r, ...s) => {
481
+ u(this, "reducer", (r, ...s) => {
482
482
  const n = this;
483
483
  return function o(i) {
484
- const a = n.value;
485
- n.update((u) => r(u, i)), !n.equals(a, n.value) && s.forEach(
486
- (u) => u({
487
- previousState: a,
484
+ const l = n.value;
485
+ n.update((a) => r(a, i)), !n.equals(l, n.value) && s.forEach(
486
+ (a) => a({
487
+ previousState: l,
488
488
  state: n.value,
489
489
  action: i,
490
490
  dispatch: o
@@ -503,8 +503,8 @@ const F = class F extends h {
503
503
  * Defaults to a strict equality check (===).
504
504
  * @returns A Prop object representing the isomorphism.
505
505
  */
506
- l(this, "iso", (r, s, n = (o, i) => o === i) => {
507
- const o = new F(r(this.get()), n);
506
+ u(this, "iso", (r, s, n = (o, i) => o === i) => {
507
+ const o = new V(r(this.get()), n);
508
508
  return o.onDispose(this.on((i) => o.set(r(i)))), o.on((i) => this._setAndNotify(s(i), !1)), o;
509
509
  });
510
510
  /**
@@ -513,7 +513,7 @@ const F = class F extends h {
513
513
  * @param key - The key of the value to access.
514
514
  * @returns A `Prop` that represents the value at the specified key.
515
515
  */
516
- l(this, "atProp", (r) => this.iso(
516
+ u(this, "atProp", (r) => this.iso(
517
517
  (s) => s[r],
518
518
  (s) => ({ ...this.value, [r]: s })
519
519
  ));
@@ -533,111 +533,111 @@ const F = class F extends h {
533
533
  * @param value - The value to check.
534
534
  * @returns `true` if the value is a Prop, `false` otherwise.
535
535
  */
536
- l(F, "is", (r) => (
536
+ u(V, "is", (r) => (
537
537
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
538
538
  r != null && r.$__prop__ === !0
539
539
  ));
540
- let $ = F;
541
- const V = (t, e, r = (s, n) => s === n) => {
540
+ let F = V;
541
+ const U = (t, e, r = (s, n) => s === n) => {
542
542
  const s = new E(t, r);
543
543
  return e.forEach((n) => n.setDerivative(s)), s;
544
- }, pt = (...t) => (e, r) => {
544
+ }, $e = (...t) => (e, r) => {
545
545
  const s = t.filter((n) => h.is(n));
546
- return V(
546
+ return U(
547
547
  () => e(...t.map((n) => h.unwrap(n))),
548
548
  s,
549
549
  r
550
550
  );
551
- }, Me = (t, e) => V(t, e).dispose, mt = (...t) => (e) => {
551
+ }, Fe = (t, e) => U(t, e).dispose, gt = (...t) => (e) => {
552
552
  const r = t.filter((s) => h.is(s));
553
- Me(
553
+ Fe(
554
554
  () => e(...t.map(h.unwrap)),
555
555
  r
556
556
  );
557
- }, C = (t, e = (r, s) => r === s) => new $(t, e), gt = (t, e = (r, s) => r === s) => new h(t, e);
558
- class Q {
557
+ }, C = (t, e = (r, s) => r === s) => new F(t, e), G = (t, e = (r, s) => r === s) => new h(t, e);
558
+ class Z {
559
559
  constructor() {
560
- l(this, "_store", /* @__PURE__ */ new Map());
560
+ u(this, "_store", /* @__PURE__ */ new Map());
561
561
  /**
562
562
  * Retrieves the value associated with the specified key from the memory store.
563
563
  * @param key - The key to retrieve the value for.
564
564
  * @returns The value associated with the key, or `null` if the key is not found.
565
565
  */
566
- l(this, "getItem", (e) => this._store.get(e) ?? null);
566
+ u(this, "getItem", (e) => this._store.get(e) ?? null);
567
567
  /**
568
568
  * Sets the value associated with the specified key in the memory store.
569
569
  * @param key - The key to set the value for.
570
570
  * @param value - The value to set.
571
571
  */
572
- l(this, "setItem", (e, r) => {
572
+ u(this, "setItem", (e, r) => {
573
573
  this._store.set(e, r);
574
574
  });
575
575
  }
576
576
  }
577
- const Y = ({
577
+ const K = ({
578
578
  key: t,
579
579
  defaultValue: e,
580
580
  store: r,
581
581
  serialize: s = JSON.stringify,
582
582
  deserialize: n = JSON.parse,
583
- equals: o = (a, u) => a === u,
584
- onLoad: i = (a) => a
583
+ equals: o = (l, a) => l === a,
584
+ onLoad: i = (l) => l
585
585
  }) => {
586
- const a = r.getItem(t), u = new $(
587
- a != null ? i(n(a)) : typeof e == "function" ? e() : e,
586
+ const l = r.getItem(t), a = new F(
587
+ l != null ? i(n(l)) : typeof e == "function" ? e() : e,
588
588
  o
589
589
  );
590
- return u.on((f) => {
591
- r.setItem(t, s(f));
592
- }), u;
593
- }, _t = (t) => Y({
590
+ return a.on((c) => {
591
+ r.setItem(t, s(c));
592
+ }), a;
593
+ }, _t = (t) => K({
594
594
  ...t,
595
- store: (window == null ? void 0 : window.localStorage) ?? new Q()
596
- }), vt = (t) => Y({
595
+ store: (window == null ? void 0 : window.localStorage) ?? new Z()
596
+ }), vt = (t) => K({
597
597
  ...t,
598
- store: (window == null ? void 0 : window.sessionStorage) ?? new Q()
598
+ store: (window == null ? void 0 : window.sessionStorage) ?? new Z()
599
599
  });
600
- function z(t) {
600
+ function Y(t) {
601
601
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame(t) : setTimeout(t, 0);
602
602
  }
603
- const $e = (t, e, r, s) => {
604
- const n = (s == null ? void 0 : s.duration) ?? 300, o = (s == null ? void 0 : s.easing) ?? ((_) => _), i = (s == null ? void 0 : s.equals) ?? ((_, k) => _ === k);
605
- let a = s == null ? void 0 : s.interpolate, u = t, f = e(), d = performance.now(), S = null, m = !0;
603
+ const Ve = (t, e, r, s) => {
604
+ const n = (s == null ? void 0 : s.duration) ?? 300, o = (s == null ? void 0 : s.easing) ?? ((y) => y), i = (s == null ? void 0 : s.equals) ?? ((y, N) => y === N);
605
+ let l = s == null ? void 0 : s.interpolate, a = t, c = e(), d = performance.now(), v = null, m = !0;
606
606
  const D = new E(e, i), A = C(t, i);
607
607
  A.onDispose(() => {
608
- S !== null && cancelAnimationFrame(S);
609
- }), A.onDispose(D.dispose), r.forEach((_) => {
610
- _.setDerivative(D), _.onDispose(A.dispose);
608
+ v !== null && cancelAnimationFrame(v);
609
+ }), A.onDispose(D.dispose), r.forEach((y) => {
610
+ y.setDerivative(D), y.onDispose(A.dispose);
611
611
  });
612
- const Ee = (_) => {
613
- f = _, d = performance.now(), u = A.value, m && (m = !1, S = z(H));
614
- }, H = () => {
615
- const k = (performance.now() - d) / h.unwrap(n), Pe = o(k);
616
- a == null && (a = Ne(u));
617
- let X = a(u, f, Pe);
618
- k >= 1 ? (m = !0, X = f) : S = z(H), A.set(X);
612
+ const De = (y) => {
613
+ c = y, d = performance.now(), a = A.value, m && (m = !1, v = Y(z));
614
+ }, z = () => {
615
+ const N = (performance.now() - d) / h.unwrap(n), be = o(N);
616
+ l == null && (l = Re(a));
617
+ let Q = l(a, c, be);
618
+ N >= 1 ? (m = !0, Q = c) : v = Y(z), A.set(Q);
619
619
  };
620
- return D.on(Ee), A;
621
- }, wt = (t, e) => {
620
+ return D.on(De), A;
621
+ }, yt = (t, e) => {
622
622
  const { initialValue: r, ...s } = e ?? {};
623
- return $e(
623
+ return Ve(
624
624
  r ?? t.get(),
625
625
  t.get,
626
626
  [t],
627
627
  s
628
628
  );
629
- }, yt = (t, e) => {
629
+ }, wt = (t, e) => {
630
630
  const { signals: r, literals: s } = Object.entries(t).reduce(
631
- ({ signals: o, literals: i }, [a, u]) => (h.is(u) ? o.push([a, u]) : i[a] = u, { signals: o, literals: i }),
631
+ ({ signals: o, literals: i }, [l, a]) => (h.is(a) ? o.push([l, a]) : i[l] = a, { signals: o, literals: i }),
632
632
  { signals: [], literals: {} }
633
633
  ), n = r.map(([, o]) => o);
634
- return V(() => (r.forEach(([o, i]) => s[o] = i.value), e(s)), n);
635
- }, Z = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]), K = /* @__PURE__ */ new Set([
634
+ return U(() => (r.forEach(([o, i]) => s[o] = i.value), e(s)), n);
635
+ }, x = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]), ee = /* @__PURE__ */ new Set([
636
636
  "rowSpan",
637
637
  "colSpan",
638
638
  "tabIndex",
639
639
  "valueAsNumber"
640
- ]), x = /* @__PURE__ */ new Set(["valueAsDate"]), ee = /* @__PURE__ */ new Set([
640
+ ]), te = /* @__PURE__ */ new Set(["valueAsDate"]), re = /* @__PURE__ */ new Set([
641
641
  "value",
642
642
  "textContent",
643
643
  "innerText",
@@ -652,18 +652,18 @@ const $e = (t, e, r, s) => {
652
652
  const r = e(t);
653
653
  return I.set(t, r), r;
654
654
  }
655
- }, Fe = (t) => (e, r) => {
655
+ }, qe = (t) => (e, r) => {
656
656
  r == null ? e[t] = null : e[t] = !!r;
657
- }, Ve = (t) => (e, r) => {
657
+ }, Ie = (t) => (e, r) => {
658
658
  r == null ? e[t] = null : e[t] = Number(r);
659
- }, qe = (t) => (e, r) => {
659
+ }, Be = (t) => (e, r) => {
660
660
  r == null ? e[t] = null : e[t] = r;
661
- }, Ie = (t) => (e, r) => {
661
+ }, je = (t) => (e, r) => {
662
662
  r == null ? e[t] = null : e[t] = String(r);
663
- }, Be = (t) => (e, r) => {
663
+ }, Ue = (t) => (e, r) => {
664
664
  r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
665
- }, te = (t) => Z.has(t) ? b(t, Fe) : K.has(t) ? b(t, Ve) : x.has(t) ? b(t, qe) : ee.has(t) ? b(t, Ie) : b(t, Be), re = (t) => (e) => Z.has(t) ? !!e[t] : K.has(t) ? Number(e[t]) : x.has(t) ? e[t] : ee.has(t) ? String(e[t]) : e.getAttribute(t);
666
- class v {
665
+ }, se = (t) => x.has(t) ? b(t, qe) : ee.has(t) ? b(t, Ie) : te.has(t) ? b(t, Be) : re.has(t) ? b(t, je) : b(t, Ue), ne = (t) => (e) => x.has(t) ? !!e[t] : ee.has(t) ? Number(e[t]) : te.has(t) ? e[t] : re.has(t) ? String(e[t]) : e.getAttribute(t);
666
+ class w {
667
667
  /**
668
668
  * Constructs a new `DOMContext` instance.
669
669
  *
@@ -681,19 +681,19 @@ class v {
681
681
  * @param namespace - The namespace URI to create the element in, or `undefined` to create a standard HTML element.
682
682
  * @returns The newly created element.
683
683
  */
684
- l(this, "createElement", (e, r) => r !== void 0 ? this.document.createElementNS(r, e) : this.document.createElement(e));
684
+ u(this, "createElement", (e, r) => r !== void 0 ? this.document.createElementNS(r, e) : this.document.createElement(e));
685
685
  /**
686
686
  * Creates a new text node with the specified text content.
687
687
  * @param text - The text content for the new text node.
688
688
  * @returns A new `Text` node with the specified text content.
689
689
  */
690
- l(this, "createText", (e) => this.document.createTextNode(e));
690
+ u(this, "createText", (e) => this.document.createTextNode(e));
691
691
  /**
692
692
  * Creates a new `DOMContext` with a reference to a newly created text node.
693
693
  * The text node is appended or inserted to the current `DOMContext`.
694
694
  * The new `DOMContext` with the reference is returned.
695
695
  */
696
- l(this, "makeRef", () => {
696
+ u(this, "makeRef", () => {
697
697
  const e = this.createText("");
698
698
  return this.appendOrInsert(e), this.withReference(e);
699
699
  });
@@ -702,7 +702,7 @@ class v {
702
702
  *
703
703
  * @param child - The child node to append or insert.
704
704
  */
705
- l(this, "appendOrInsert", (e) => {
705
+ u(this, "appendOrInsert", (e) => {
706
706
  this.reference === void 0 ? this.element.appendChild(e) : this.element.insertBefore(e, this.reference);
707
707
  });
708
708
  /**
@@ -711,18 +711,18 @@ class v {
711
711
  * @param document - The `Document` to use for the `DOMContext`.
712
712
  * @returns A new `DOMContext` instance.
713
713
  */
714
- l(this, "withDocument", (e) => new v(e, this.element, this.reference, this.providers, !0));
714
+ u(this, "withDocument", (e) => new w(e, this.element, this.reference, this.providers, !0));
715
715
  /**
716
716
  * Creates a new `DOMContext` instance with the provided `element`.
717
717
  * @param element - The DOM element to use in the new `DOMContext` instance.
718
718
  * @returns A new `DOMContext` instance with the provided `element`.
719
719
  */
720
- l(this, "withElement", (e) => new v(this.document, e, void 0, this.providers, !1));
720
+ u(this, "withElement", (e) => new w(this.document, e, void 0, this.providers, !1));
721
721
  /**
722
722
  * Creates a new `DOMContext` instance with the `isFirstLevel` property set to `true`.
723
723
  * @returns A new `DOMContext` instance with the `isFirstLevel` property set to `true`.
724
724
  */
725
- l(this, "withFirstLevel", () => new v(
725
+ u(this, "withFirstLevel", () => new w(
726
726
  this.document,
727
727
  this.element,
728
728
  this.reference,
@@ -735,7 +735,7 @@ class v {
735
735
  * @param reference - The optional `Text` node to use as the reference for the new `DOMContext`.
736
736
  * @returns A new `DOMContext` instance with the specified reference.
737
737
  */
738
- l(this, "withReference", (e) => new v(
738
+ u(this, "withReference", (e) => new w(
739
739
  this.document,
740
740
  this.element,
741
741
  e,
@@ -748,7 +748,7 @@ class v {
748
748
  * @param value - The value to set for the provider.
749
749
  * @returns A new DOMContext with the updated providers.
750
750
  */
751
- l(this, "withProvider", (e, r) => new v(
751
+ u(this, "withProvider", (e, r) => new w(
752
752
  this.document,
753
753
  this.element,
754
754
  this.reference,
@@ -765,7 +765,7 @@ class v {
765
765
  * @param providers - An object containing the providers to be merged into the existing providers.
766
766
  * @returns A new DOMContext instance with the merged providers.
767
767
  */
768
- l(this, "withProviders", (e) => new v(
768
+ u(this, "withProviders", (e) => new w(
769
769
  this.document,
770
770
  this.element,
771
771
  this.reference,
@@ -782,9 +782,9 @@ class v {
782
782
  * @returns The provider for the given mark.
783
783
  * @throws Throws `ProviderNotFoundError` if the provider for the given mark is not found.
784
784
  */
785
- l(this, "getProvider", (e) => {
785
+ u(this, "getProvider", (e) => {
786
786
  if (this.providers[e] === void 0)
787
- throw new je(e);
787
+ throw new Ge(e);
788
788
  return this.providers[e];
789
789
  });
790
790
  this.document = e, this.element = r, this.reference = s, this.providers = n, this.isFirstLevel = o;
@@ -797,41 +797,41 @@ class v {
797
797
  * @returns A new `DOMContext` instance.
798
798
  */
799
799
  static of(e, r) {
800
- return new v(e.ownerDocument, e, r, {}, !0);
800
+ return new w(e.ownerDocument, e, r, {}, !0);
801
801
  }
802
802
  }
803
- class je extends Error {
803
+ class Ge extends Error {
804
804
  constructor(e) {
805
805
  super(`Provider not found: ${e.description}`);
806
806
  }
807
807
  }
808
- const g = (t) => {
808
+ const _ = (t) => {
809
809
  const e = t;
810
810
  e && e.onblur && (e.onblur = null), !(!t || t.ownerDocument === void 0) && t.parentElement && t.parentElement.removeChild(t);
811
- }, Ue = (t) => se(t) ? t : t.parentElement, se = (t) => t.nodeType === 1, ne = (t) => (e) => {
812
- he(e);
811
+ }, Je = (t) => oe(t) ? t : t.parentElement, oe = (t) => t.nodeType === 1, ie = (t) => (e) => {
812
+ pe(e);
813
813
  const r = e.createText(t);
814
814
  return e.appendOrInsert(r), (s) => {
815
- s && g(r);
815
+ s && _(r);
816
816
  };
817
- }, oe = (t) => (e) => {
818
- he(e);
817
+ }, le = (t) => (e) => {
818
+ pe(e);
819
819
  const r = e.createText(t.value);
820
820
  e.appendOrInsert(r);
821
821
  const s = t.on((n) => r.data = n);
822
822
  return (n) => {
823
- s(), n && g(r);
823
+ s(), n && _(r);
824
824
  };
825
- }, St = (t) => h.is(t) ? oe(t) : ne(t), w = (...t) => (e) => {
826
- const r = t.map((s) => c(s)(e));
825
+ }, St = (t) => h.is(t) ? le(t) : ie(t), g = (...t) => (e) => {
826
+ const r = t.map((s) => f(s)(e));
827
827
  return (s) => {
828
828
  r.forEach((n) => n(s));
829
829
  };
830
- }, y = () => () => {
831
- }, Ge = (t) => (e) => (ce(e), e.element.classList.add(...t), (r) => {
830
+ }, S = () => () => {
831
+ }, We = (t) => (e) => (he(e), e.element.classList.add(...t), (r) => {
832
832
  r && e.element.classList.remove(...t);
833
- }), Je = (t) => (e) => {
834
- ce(e);
833
+ }), He = (t) => (e) => {
834
+ he(e);
835
835
  const r = e.element;
836
836
  let s = [];
837
837
  const n = t.on((o) => {
@@ -841,21 +841,21 @@ const g = (t) => {
841
841
  n(), o && s.forEach((i) => r.classList.remove(i)), s.length = 0;
842
842
  };
843
843
  }, L = (t, e) => {
844
- const r = te(t), s = re(t);
844
+ const r = se(t), s = ne(t);
845
845
  return (n) => {
846
- ae(n, t);
846
+ fe(n, t);
847
847
  const o = s(n.element);
848
848
  return r(n.element, e), (i) => {
849
849
  i && r(n.element, o);
850
850
  };
851
851
  };
852
852
  }, O = (t, e) => {
853
- const r = te(t), s = re(t);
853
+ const r = se(t), s = ne(t);
854
854
  return (n) => {
855
- ae(n, t);
856
- const o = s(n.element), i = e.on((a) => r(n.element, a));
857
- return (a) => {
858
- i(), a && r(n.element, o);
855
+ fe(n, t);
856
+ const o = s(n.element), i = e.on((l) => r(n.element, l));
857
+ return (l) => {
858
+ i(), l && r(n.element, o);
859
859
  };
860
860
  };
861
861
  }, P = new Proxy(
@@ -872,7 +872,7 @@ const g = (t) => {
872
872
  * @returns The renderable component for the specified attribute.
873
873
  *
874
874
  */
875
- get: (t, e) => e === "class" ? (r) => h.is(r) ? Je(r) : Ge(
875
+ get: (t, e) => e === "class" ? (r) => h.is(r) ? He(r) : We(
876
876
  (r ?? "").split(" ").filter((s) => s.length > 0)
877
877
  ) : (r) => h.is(r) ? O(
878
878
  e,
@@ -954,19 +954,19 @@ const g = (t) => {
954
954
  r
955
955
  )
956
956
  }
957
- ), c = (t) => t == null ? y : Array.isArray(t) ? w(...t.map(c)) : typeof t == "string" ? ne(t) : h.is(t) ? oe(t) : t, ie = (t, ...e) => (r) => {
957
+ ), f = (t) => t == null ? S : Array.isArray(t) ? g(...t.map(f)) : typeof t == "string" ? ie(t) : h.is(t) ? le(t) : t, ue = (t, ...e) => (r) => {
958
958
  const s = r.createElement(t, void 0);
959
- r.isFirstLevel && N() && fe(s), r.appendOrInsert(s), r = r.withElement(s);
960
- const n = e.map((o) => c(o)(r));
959
+ r.isFirstLevel && k() && de(s), r.appendOrInsert(s), r = r.withElement(s);
960
+ const n = e.map((o) => f(o)(r));
961
961
  return (o) => {
962
- n.forEach((i) => i(!1)), o && g(s);
962
+ n.forEach((i) => i(!1)), o && _(s);
963
963
  };
964
- }, le = (t, e, ...r) => (s) => {
964
+ }, ae = (t, e, ...r) => (s) => {
965
965
  const n = s.createElement(t, e);
966
- s.isFirstLevel && N() && fe(n), s.appendOrInsert(n), s = s.withElement(n);
967
- const o = r.map((i) => c(i)(s));
966
+ s.isFirstLevel && k() && de(n), s.appendOrInsert(n), s = s.withElement(n);
967
+ const o = r.map((i) => f(i)(s));
968
968
  return (i) => {
969
- o.forEach((a) => a(!1)), i && g(n);
969
+ o.forEach((l) => l(!1)), i && _(n);
970
970
  };
971
971
  }, bt = new Proxy(
972
972
  {},
@@ -976,7 +976,7 @@ const g = (t) => {
976
976
  * @param tagName - The HTML tag name.
977
977
  * @returns A renderable function that creates and appends the HTML element to the DOM.
978
978
  */
979
- get: (t, e) => (...r) => ie(e, r.flatMap(c))
979
+ get: (t, e) => (...r) => ue(e, r.flatMap(f))
980
980
  }
981
981
  ), Tt = new Proxy(
982
982
  {},
@@ -986,9 +986,9 @@ const g = (t) => {
986
986
  * @param type - The input type name.
987
987
  * @returns A renderable function that creates and appends the HTMLInput element to the DOM.
988
988
  */
989
- get: (t, e) => (...r) => ie("input", P.type(e), ...r)
989
+ get: (t, e) => (...r) => ue("input", P.type(e), ...r)
990
990
  }
991
- ), We = "http://www.w3.org/2000/svg", Ct = new Proxy(
991
+ ), Xe = "http://www.w3.org/2000/svg", Ct = new Proxy(
992
992
  {},
993
993
  {
994
994
  /**
@@ -996,9 +996,9 @@ const g = (t) => {
996
996
  * @param tagName - The SVG tag name.
997
997
  * @returns A renderable function that creates and appends the SVG element to the DOM.
998
998
  */
999
- get: (t, e) => (...r) => le(e, We, r.flatMap(c))
999
+ get: (t, e) => (...r) => ae(e, Xe, r.flatMap(f))
1000
1000
  }
1001
- ), He = "http://www.w3.org/1998/Math/MathML", Lt = new Proxy(
1001
+ ), ze = "http://www.w3.org/1998/Math/MathML", Lt = new Proxy(
1002
1002
  {},
1003
1003
  {
1004
1004
  /**
@@ -1006,9 +1006,9 @@ const g = (t) => {
1006
1006
  * @param tagName - The Math tag name.
1007
1007
  * @returns A renderable function that creates and appends the Math element to the DOM.
1008
1008
  */
1009
- get: (t, e) => (...r) => le(e, He, r.flatMap(c))
1009
+ get: (t, e) => (...r) => ae(e, ze, r.flatMap(f))
1010
1010
  }
1011
- ), T = "data-tempo-attr", R = "data-tempo-class", ue = "data-tempo-node", M = "data-tempo-text", Xe = (t, e) => {
1011
+ ), T = "data-tempo-attr", M = "data-tempo-class", ce = "data-tempo-node", $ = "data-tempo-text", Qe = (t, e) => {
1012
1012
  const r = t.getAttribute(e);
1013
1013
  if (r != null) {
1014
1014
  const s = t.getAttribute(T) ?? "{}", n = { ...JSON.parse(s), name: r };
@@ -1017,9 +1017,9 @@ const g = (t) => {
1017
1017
  JSON.stringify(n).replace(/"/g, "&quot;")
1018
1018
  );
1019
1019
  }
1020
- }, ae = (t, e) => {
1021
- N() && t.isFirstLevel && Xe(t.element, e);
1022
- }, ze = (t) => {
1020
+ }, fe = (t, e) => {
1021
+ k() && t.isFirstLevel && Qe(t.element, e);
1022
+ }, Ye = (t) => {
1023
1023
  t.querySelectorAll(`[${T}]`).forEach((e) => {
1024
1024
  const r = JSON.parse(
1025
1025
  (e.getAttribute(T) ?? "{}").replace(/&quot;/g, '"')
@@ -1029,78 +1029,78 @@ const g = (t) => {
1029
1029
  e.removeAttribute(T);
1030
1030
  });
1031
1031
  };
1032
- function Qe(t) {
1033
- t.setAttribute(R, t.className);
1032
+ function Ze(t) {
1033
+ t.setAttribute(M, t.className);
1034
1034
  }
1035
- const ce = (t) => {
1036
- N() && t.isFirstLevel && Qe(t.element);
1037
- }, Ye = (t) => {
1038
- t.querySelectorAll(`[${R}]`).forEach((e) => {
1039
- const r = e.getAttribute(R);
1040
- r !== null && (e.className = r, e.removeAttribute(R));
1041
- });
1042
- }, fe = (t) => {
1043
- t.setAttribute(ue, "");
1044
- }, Ze = (t) => {
1045
- t.querySelectorAll(`[${ue}]`).forEach((e) => {
1046
- g(e);
1047
- });
1035
+ const he = (t) => {
1036
+ k() && t.isFirstLevel && Ze(t.element);
1048
1037
  }, Ke = (t) => {
1049
- t.setAttribute(M, t.textContent ?? "");
1050
- }, he = (t) => {
1051
- N() && t.isFirstLevel && Ke(t.element);
1052
- }, xe = (t) => {
1053
1038
  t.querySelectorAll(`[${M}]`).forEach((e) => {
1054
- e.textContent = e.getAttribute(M), e.removeAttribute(M);
1039
+ const r = e.getAttribute(M);
1040
+ r !== null && (e.className = r, e.removeAttribute(M));
1041
+ });
1042
+ }, de = (t) => {
1043
+ t.setAttribute(ce, "");
1044
+ }, xe = (t) => {
1045
+ t.querySelectorAll(`[${ce}]`).forEach((e) => {
1046
+ _(e);
1055
1047
  });
1056
1048
  }, et = (t) => {
1057
- Ze(t), Ye(t), ze(t), xe(t);
1058
- }, de = () => {
1049
+ t.setAttribute($, t.textContent ?? "");
1050
+ }, pe = (t) => {
1051
+ k() && t.isFirstLevel && et(t.element);
1052
+ }, tt = (t) => {
1053
+ t.querySelectorAll(`[${$}]`).forEach((e) => {
1054
+ e.textContent = e.getAttribute($), e.removeAttribute($);
1055
+ });
1056
+ }, rt = (t) => {
1057
+ xe(t), Ke(t), Ye(t), tt(t);
1058
+ }, me = () => {
1059
1059
  const t = globalThis;
1060
1060
  return t.__tempoSSR__ == null && (t.__tempoSSR__ = {
1061
1061
  isSSR: !1,
1062
1062
  counter: 0
1063
1063
  }), t.__tempoSSR__;
1064
- }, U = (t, e) => {
1065
- const r = de();
1064
+ }, J = (t, e) => {
1065
+ const r = me();
1066
1066
  r[t] = e;
1067
- }, pe = (t) => de()[t], B = (t) => {
1068
- U("isSSR", t);
1069
- }, G = () => pe("counter"), tt = () => {
1070
- U("counter", (G() ?? 0) + 1);
1071
- }, rt = () => {
1072
- U("counter", (G() ?? 0) - 1);
1067
+ }, ge = (t) => me()[t], B = (t) => {
1068
+ J("isSSR", t);
1069
+ }, W = () => ge("counter"), st = () => {
1070
+ J("counter", (W() ?? 0) + 1);
1071
+ }, nt = () => {
1072
+ J("counter", (W() ?? 0) - 1);
1073
1073
  }, Ot = (t = 30) => (B(!0), new Promise((e, r) => {
1074
1074
  let s;
1075
1075
  const n = setInterval(() => {
1076
- G() <= 0 && (clearInterval(n), clearTimeout(s), B(!1), e());
1076
+ W() <= 0 && (clearInterval(n), clearTimeout(s), B(!1), e());
1077
1077
  }, 30);
1078
1078
  s = setTimeout(() => {
1079
1079
  clearInterval(n), B(!1), r(new Error("SSR Timeout"));
1080
1080
  }, t * 1e3);
1081
- })), Nt = (t) => (tt(), c(t(rt))), N = () => pe("isSSR"), me = (t, e) => {
1081
+ })), kt = (t) => (st(), f(t(nt))), k = () => ge("isSSR"), _e = (t, e) => {
1082
1082
  if (typeof e == "function")
1083
- return me(t, { then: e });
1084
- const r = e.pending != null ? c(e.pending) : y, s = e.then, n = e.error != null ? (o) => c(e.error(o)) : () => y;
1083
+ return _e(t, { then: e });
1084
+ const r = e.pending != null ? f(e.pending) : S, s = e.then, n = e.error != null ? (o) => f(e.error(o)) : () => S;
1085
1085
  return (o) => {
1086
1086
  let i = !0;
1087
- const a = t();
1087
+ const l = t();
1088
1088
  o = o.makeRef();
1089
- let u = c(r)(o);
1090
- return a.then(
1091
- (f) => {
1092
- i && (u(!0), u = c(s(f))(o));
1089
+ let a = f(r)(o);
1090
+ return l.then(
1091
+ (c) => {
1092
+ i && (a(!0), a = f(s(c))(o));
1093
1093
  },
1094
- (f) => {
1095
- i && (u(!0), u = c(n(f))(o));
1094
+ (c) => {
1095
+ i && (a(!0), a = f(n(c))(o));
1096
1096
  }
1097
- ), (f) => {
1098
- i = !1, u(f), f && o.reference && g(o.reference);
1097
+ ), (c) => {
1098
+ i = !1, a(c), c && o.reference && _(o.reference);
1099
1099
  };
1100
1100
  };
1101
- }, kt = (t, e) => me(() => t, e), ge = (t, e) => (r) => (r.element.addEventListener(t, e), (s) => {
1101
+ }, Nt = (t, e) => _e(() => t, e), ve = (t, e) => (r) => (r.element.addEventListener(t, e), (s) => {
1102
1102
  s && r.element.removeEventListener(t, e);
1103
- }), st = (t) => ge("click", (e) => {
1103
+ }), ot = (t) => ve("click", (e) => {
1104
1104
  e.preventDefault();
1105
1105
  const r = e.target;
1106
1106
  setTimeout(() => {
@@ -1115,15 +1115,15 @@ const ce = (t) => {
1115
1115
  * @param fn - The function to call when the event is triggered.
1116
1116
  * @returns A `Renderable` function that adds the event listener to the element.
1117
1117
  */
1118
- get: (t, e) => (r) => ge(e, r)
1118
+ get: (t, e) => (r) => ve(e, r)
1119
1119
  }
1120
- ), nt = (t) => (e) => {
1120
+ ), it = (t) => (e) => {
1121
1121
  const r = e.target;
1122
1122
  t(r.value);
1123
- }, ot = (t) => (e) => {
1123
+ }, lt = (t) => (e) => {
1124
1124
  const r = e.target;
1125
1125
  t(r.valueAsNumber);
1126
- }, it = (t) => (e) => {
1126
+ }, ut = (t) => (e) => {
1127
1127
  const r = e.target;
1128
1128
  if (r.value === "")
1129
1129
  return;
@@ -1133,7 +1133,7 @@ const ce = (t) => {
1133
1133
  Number(s[2].substring(0, 2))
1134
1134
  );
1135
1135
  t(n);
1136
- }, lt = (t) => (e) => {
1136
+ }, at = (t) => (e) => {
1137
1137
  const r = e.target;
1138
1138
  if (r.value === "")
1139
1139
  return;
@@ -1152,43 +1152,48 @@ const ce = (t) => {
1152
1152
  e.stopPropagation(), t();
1153
1153
  }, Ft = (t) => (e) => {
1154
1154
  e.stopImmediatePropagation(), t();
1155
- }, Vt = (t, e = "input") => w(
1155
+ }, Vt = (t, e = "input") => g(
1156
1156
  P.valueAsDate(t),
1157
- q[e](it(t.set))
1158
- ), qt = (t, e = "input") => w(
1157
+ q[e](ut(t.set))
1158
+ ), qt = (t, e = "input") => g(
1159
1159
  P.valueAsDate(t),
1160
- q[e](lt(t.set))
1161
- ), It = (t, e = "input") => w(
1160
+ q[e](at(t.set))
1161
+ ), It = (t, e = "input") => g(
1162
1162
  P.valueAsNumber(t),
1163
- q[e](ot(t.set))
1164
- ), Bt = (t, e = "input") => w(P.value(t), q[e](nt(t.set))), jt = (t) => w(P.checked(t), st(t.set)), J = (t, e) => (r) => {
1165
- r = r.makeRef();
1166
- let s, n;
1167
- const o = t.map((u) => Object.keys(u)[0]);
1168
- let i;
1169
- const a = o.on((u) => {
1170
- if (u !== i) {
1171
- n == null || n.dispose(), s == null || s(!0), n = t.map((d) => d[u]);
1172
- const f = e[u](n);
1173
- s = c(f)(r), i = u;
1174
- }
1175
- });
1176
- return (u) => {
1177
- a(), u && r.reference != null && g(r.reference), s == null || s(!0);
1178
- };
1179
- }, _e = (t, e, r) => J(
1180
- t.map((s) => ({ [s[e]]: s })),
1163
+ q[e](lt(t.set))
1164
+ ), Bt = (t, e = "input") => g(P.value(t), q[e](it(t.set))), jt = (t) => g(P.checked(t), ot(t.set)), H = (t, e) => {
1165
+ if (h.is(t))
1166
+ return (s) => {
1167
+ s = s.makeRef();
1168
+ let n, o;
1169
+ const i = t.map((c) => Object.keys(c)[0]);
1170
+ let l;
1171
+ const a = i.on((c) => {
1172
+ if (c !== l) {
1173
+ o == null || o.dispose(), n == null || n(!0), o = t.map((v) => v[c]);
1174
+ const d = e[c](o);
1175
+ n = f(d)(s), l = c;
1176
+ }
1177
+ });
1178
+ return (c) => {
1179
+ a(), c && s.reference != null && _(s.reference), n == null || n(!0);
1180
+ };
1181
+ };
1182
+ const r = Object.keys(t)[0];
1183
+ return f(e[r](G(t[r])));
1184
+ }, ye = (t, e, r) => H(
1185
+ h.map(t, (s) => ({ [s[e]]: s })),
1181
1186
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1182
1187
  r
1183
- ), Ut = (t, e) => _e(t, "kind", e), Gt = (t, e) => {
1184
- const r = t.map(([s, n]) => ({ [s]: n }));
1185
- return J(r, e);
1186
- }, Jt = (t, e) => _e(t, "type", e), W = (t, e) => J(
1187
- t.map((r) => ({ [r]: !0 })),
1188
+ ), Ut = (t, e) => ye(t, "kind", e), Gt = (t, e) => {
1189
+ const r = h.map(t, ([s, n]) => ({ [s]: n }));
1190
+ return H(r, e);
1191
+ }, Jt = (t, e) => ye(t, "type", e), X = (t, e) => H(
1192
+ h.map(t, (r) => ({ [r]: !0 })),
1188
1193
  e
1189
1194
  ), Wt = (t, e = {}) => (r) => {
1190
- const s = (e == null ? void 0 : e.firstSeparator) ?? y, n = (e == null ? void 0 : e.lastSeparator) ?? y;
1191
- return W(
1195
+ const s = (e == null ? void 0 : e.firstSeparator) ?? t, n = (e == null ? void 0 : e.lastSeparator) ?? t;
1196
+ return X(
1192
1197
  r.map((o) => o.isFirst ? "first" : o.isLast ? "last" : "other"),
1193
1198
  {
1194
1199
  first: () => s,
@@ -1196,127 +1201,153 @@ const ce = (t) => {
1196
1201
  other: () => t
1197
1202
  }
1198
1203
  );
1199
- }, ve = (t, e) => (r) => {
1204
+ }, we = (t, e) => (r) => {
1200
1205
  const s = Object.values(t).reduce((n, o) => {
1201
1206
  const i = r.getProvider(o);
1202
1207
  if (i == null)
1203
1208
  throw new Error(`No provider found for mark: ${o.description}`);
1204
1209
  return n[o] = i, n;
1205
1210
  }, {});
1206
- return c(e(s))(r);
1211
+ return f(e(s))(r);
1207
1212
  }, Ht = (t, e) => (r) => {
1208
1213
  const s = [], n = Object.entries(t).reduce(
1209
- (o, [i, a]) => (s.push(
1210
- a((u) => (Reflect.set(o, i, u), null))(r)
1214
+ (o, [i, l]) => (s.push(
1215
+ l((a) => (Reflect.set(o, i, a), null))(r)
1211
1216
  ), o),
1212
1217
  {}
1213
1218
  );
1214
1219
  return s.push(e(n)(r)), (o) => {
1215
1220
  s.forEach((i) => i(o));
1216
1221
  };
1217
- }, Xt = (t, e) => ve([t], (r) => c(e(r[t]))), zt = (t, e) => ve(t, (r) => c(e(r))), Qt = (t) => (e) => t(e), Yt = (t) => (e) => (e.appendOrInsert(t), (r) => {
1218
- r && g(t);
1219
- }), ut = (t, e, r) => (s) => {
1220
- s = s.makeRef();
1221
- let n = null, o = !1;
1222
- const i = C(null), a = t.on((u) => {
1223
- u == null ? (n == null || n(!0), n = c((r == null ? void 0 : r()) ?? y)(s), o = !1) : (i.value = u, o || (n == null || n(!0), n = c(e(i))(s), o = !0));
1224
- });
1225
- return (u) => {
1226
- a(), n == null || n(u), u && s.reference && g(s.reference);
1227
- };
1228
- }, j = (t) => (e) => (r) => t(r, e), we = (t, e, r) => r != null ? we(t, (s) => {
1229
- const n = s.map((o) => o.isLast ? "last" : "other");
1230
- return w(
1231
- j(() => n.dispose()),
1232
- c(e(s)),
1233
- W(n, {
1234
- last: () => y,
1235
- other: () => r(s)
1222
+ }, Xt = (t, e) => we([t], (r) => f(e(r[t]))), zt = (t, e) => we(t, (r) => f(e(r))), Qt = (t) => (e) => t(e), Yt = (t) => (e) => (e.appendOrInsert(t), (r) => {
1223
+ r && _(t);
1224
+ }), ct = (t, e, r) => {
1225
+ if (h.is(t)) {
1226
+ const s = t;
1227
+ return (n) => {
1228
+ n = n.makeRef();
1229
+ let o = null, i = !1;
1230
+ const l = C(null), a = s.on((c) => {
1231
+ c == null ? (o == null || o(!0), o = f((r == null ? void 0 : r()) ?? S)(n), i = !1) : (l.value = c, i || (o == null || o(!0), o = f(e(l))(n), i = !0));
1232
+ });
1233
+ return (c) => {
1234
+ a(), o == null || o(c), c && n.reference && _(n.reference);
1235
+ };
1236
+ };
1237
+ } else {
1238
+ const s = t;
1239
+ if (s == null) {
1240
+ const n = r == null ? void 0 : r();
1241
+ return n != null ? f(n) : S;
1242
+ }
1243
+ return f(e(G(s)));
1244
+ }
1245
+ }, j = (t) => (e) => (r) => t(r, e), Se = (t, e, r) => r != null ? Se(t, (s) => {
1246
+ const n = s.map((i) => new R(i.index, i.total - 1)), o = s.map((i) => i.isLast ? "last" : "other");
1247
+ return g(
1248
+ j(() => {
1249
+ n.dispose(), o.dispose();
1250
+ }),
1251
+ f(e(s)),
1252
+ X(o, {
1253
+ last: () => S,
1254
+ other: () => r(n)
1236
1255
  })
1237
1256
  );
1238
- }) : (s) => {
1257
+ }) : h.is(t) ? (s) => {
1239
1258
  s = s.makeRef();
1240
1259
  const n = t.map(
1241
- (u) => Array.from({ length: u }, (f, d) => d).map(
1242
- (f) => new ke(f, u)
1260
+ (a) => Array.from({ length: a }, (c, d) => d).map(
1261
+ (c) => new R(c, a)
1243
1262
  )
1244
- ), o = [], i = [], a = n.on((u) => {
1245
- var d, S;
1246
- const f = u.length;
1247
- for (; f < o.length; )
1248
- (d = o.pop()) == null || d(!0), (S = i.pop()) == null || S.dispose();
1249
- for (let m = 0; m < f; m++)
1263
+ ), o = [], i = [], l = n.on((a) => {
1264
+ var d, v;
1265
+ const c = a.length;
1266
+ for (; c < o.length; )
1267
+ (d = o.pop()) == null || d(!0), (v = i.pop()) == null || v.dispose();
1268
+ for (let m = 0; m < c; m++)
1250
1269
  if (i[m] == null) {
1251
- i[m] = C(u[m]);
1252
- const D = c(e(i[m]));
1270
+ i[m] = C(a[m]);
1271
+ const D = f(e(i[m]));
1253
1272
  o[m] = D(s);
1254
1273
  } else
1255
- i[m].value = u[m];
1274
+ i[m].value = a[m];
1256
1275
  });
1257
- return (u) => {
1258
- a(), u && s.reference && g(s.reference);
1276
+ return (a) => {
1277
+ l(), a && s.reference && _(s.reference);
1259
1278
  };
1260
- }, at = (t, e, r) => r != null ? at(t, (s, n) => {
1261
- const o = n.map((i) => i.isLast ? "last" : "other");
1262
- return w([
1263
- j(() => o.dispose()),
1264
- c(e(s, n)),
1265
- W(o, {
1266
- last: () => y,
1267
- other: () => r(n)
1279
+ } : g(
1280
+ ...Array.from({ length: t }, (s, n) => n).map(
1281
+ (s) => f(e(G(new R(s, t))))
1282
+ )
1283
+ ), ft = (t, e, r) => r != null ? ft(t, (s, n) => {
1284
+ const o = n.map((l) => new R(l.index, l.total - 1)), i = n.map((l) => l.isLast ? "last" : "other");
1285
+ return g([
1286
+ j(() => {
1287
+ i.dispose(), o.dispose();
1288
+ }),
1289
+ f(e(s, n)),
1290
+ X(i, {
1291
+ last: () => S,
1292
+ other: () => r(o)
1268
1293
  })
1269
1294
  ]);
1270
1295
  }) : (s) => {
1271
- const n = t.map((o) => o.length);
1272
- return we(n, (o) => {
1273
- const i = V(
1274
- () => t.value[o.value.index],
1275
- [o, t]
1276
- );
1277
- return w(
1296
+ const n = h.map(t, (o) => o.length);
1297
+ return Se(n, (o) => {
1298
+ const i = $e(
1299
+ o,
1300
+ t
1301
+ )((l, a) => a[l.index]);
1302
+ return g(
1278
1303
  j(() => i.dispose()),
1279
- c(e(i, o))
1304
+ f(e(i, o))
1280
1305
  );
1281
1306
  })(s);
1282
- }, Zt = (t, e) => (r) => {
1283
- r = r.makeRef();
1284
- const s = t.map((i) => c(e(i)));
1285
- let n = () => {
1286
- };
1287
- const o = s.on((i) => {
1288
- n(!0), n = i(r);
1289
- });
1290
- return (i) => {
1291
- o(), n(i);
1292
- };
1293
- }, ye = (t, e, r) => ut(
1294
- t.map((s) => s ? !0 : null),
1307
+ }, Zt = (t, e) => {
1308
+ if (h.is(t)) {
1309
+ const r = t;
1310
+ return (s) => {
1311
+ s = s.makeRef();
1312
+ const n = r.map((l) => f(e(l)));
1313
+ let o = () => {
1314
+ };
1315
+ const i = n.on((l) => {
1316
+ o(!0), o = l(s);
1317
+ });
1318
+ return (l) => {
1319
+ i(), o(l);
1320
+ };
1321
+ };
1322
+ }
1323
+ return f(e(t));
1324
+ }, Ae = (t, e, r) => ct(
1325
+ h.map(t, (s) => s ? !0 : null),
1295
1326
  () => e,
1296
1327
  r != null ? () => r : void 0
1297
- ), Kt = (t, e, r) => ye(
1298
- t.map((s) => !s),
1328
+ ), Kt = (t, e, r) => Ae(
1329
+ h.map(t, (s) => !s),
1299
1330
  e,
1300
1331
  r
1301
- ), xt = (t, e, r = y) => ye(
1302
- t.map((s) => s.length > 0),
1332
+ ), xt = (t, e, r = S) => Ae(
1333
+ h.map(t, (s) => s.length > 0),
1303
1334
  e,
1304
1335
  r
1305
1336
  ), er = (t) => (e) => t(e.element) ?? (() => {
1306
- }), Se = (t, e) => {
1337
+ }), Ee = (t, e) => {
1307
1338
  const r = t(e);
1308
1339
  return () => r(!0);
1309
1340
  }, tr = (t, e, { doc: r, clear: s } = {}) => {
1310
1341
  const n = typeof e == "string" ? (r ?? document).querySelector(e) : e;
1311
1342
  if (n === null)
1312
- throw new ct(
1343
+ throw new ht(
1313
1344
  `Cannot find element by selector for render: ${e}`
1314
1345
  );
1315
- s !== !1 && (r ?? n.ownerDocument) != null && et(r ?? n.ownerDocument);
1316
- const o = Ue(n), i = se(n) ? void 0 : n, a = v.of(o, i);
1317
- return Se(t, a);
1346
+ s !== !1 && (r ?? n.ownerDocument) != null && rt(r ?? n.ownerDocument);
1347
+ const o = Je(n), i = oe(n) ? void 0 : n, l = w.of(o, i);
1348
+ return Ee(t, l);
1318
1349
  };
1319
- class ct extends Error {
1350
+ class ht extends Error {
1320
1351
  constructor(e) {
1321
1352
  super(e);
1322
1353
  }
@@ -1325,16 +1356,16 @@ const rr = (t, e) => (r) => {
1325
1356
  const s = r.document.querySelector(t);
1326
1357
  if (s === null)
1327
1358
  throw new Error(`Cannot find element by selector for portal: ${t}`);
1328
- return Se(
1329
- c(e),
1359
+ return Ee(
1360
+ f(e),
1330
1361
  r.withElement(s).withFirstLevel()
1331
1362
  );
1332
- }, sr = (t) => Symbol(t), Ae = (t, e) => (r) => c(e)(r.withProviders(t)), nr = (...t) => t.length > 0 ? t.reduceRight((e, r) => (s) => e(r(s))) : c, or = (t, e, r) => Ae({ [t]: e }, c(r)), ir = (t, e) => Ae(t, c(e)), ft = (t, e) => (r) => {
1363
+ }, sr = (t) => Symbol(t), Pe = (t, e) => (r) => f(e)(r.withProviders(t)), nr = (...t) => t.length > 0 ? t.reduceRight((e, r) => (s) => e(r(s))) : f, or = (t, e, r) => Pe({ [t]: e }, f(r)), ir = (t, e) => Pe(t, f(e)), dt = (t, e) => (r) => {
1333
1364
  const s = r.element, n = s.style.getPropertyValue(t);
1334
1365
  return s.style.setProperty(t, e), (o) => {
1335
1366
  o && s.style.setProperty(t, n);
1336
1367
  };
1337
- }, ht = (t, e) => (r) => {
1368
+ }, pt = (t, e) => (r) => {
1338
1369
  const s = r.element, n = s.style.getPropertyValue(t);
1339
1370
  return e.on((o) => s.style.setProperty(t, o)), (o) => {
1340
1371
  o && s.style.setProperty(t, n);
@@ -1350,11 +1381,11 @@ const rr = (t, e) => (r) => {
1350
1381
  * @returns The renderable component for the specified attribute.
1351
1382
  *
1352
1383
  */
1353
- get: (t, e) => (r) => h.is(r) ? ht(e, r) : ft(e, r)
1384
+ get: (t, e) => (r) => h.is(r) ? pt(e, r) : dt(e, r)
1354
1385
  }
1355
1386
  );
1356
1387
  export {
1357
- kt as Async,
1388
+ Nt as Async,
1358
1389
  jt as BindChecked,
1359
1390
  Vt as BindDate,
1360
1391
  qt as BindDateTime,
@@ -1362,64 +1393,64 @@ export {
1362
1393
  Bt as BindText,
1363
1394
  E as Computed,
1364
1395
  Wt as Conjunction,
1365
- v as DOMContext,
1396
+ w as DOMContext,
1366
1397
  Yt as DOMNode,
1367
- ie as El,
1368
- le as ElNS,
1369
- ke as ElementPosition,
1370
- y as Empty,
1371
- ut as Ensure,
1372
- at as ForEach,
1373
- w as Fragment,
1398
+ ue as El,
1399
+ ae as ElNS,
1400
+ R as ElementPosition,
1401
+ S as Empty,
1402
+ ct as Ensure,
1403
+ ft as ForEach,
1404
+ g as Fragment,
1374
1405
  Zt as MapSignal,
1375
- Q as MemoryStore,
1406
+ Z as MemoryStore,
1376
1407
  xt as NotEmpty,
1377
- st as OnChecked,
1408
+ ot as OnChecked,
1378
1409
  Qt as OnCtx,
1379
1410
  er as OnMount,
1380
1411
  j as OnUnmount,
1381
- J as OneOf,
1382
- _e as OneOfField,
1412
+ H as OneOf,
1413
+ ye as OneOfField,
1383
1414
  Ut as OneOfKind,
1384
1415
  Gt as OneOfTuple,
1385
1416
  Jt as OneOfType,
1386
- W as OneOfValue,
1417
+ X as OneOfValue,
1387
1418
  rr as Portal,
1388
- $ as Prop,
1419
+ F as Prop,
1389
1420
  nr as Provide,
1390
- je as ProviderNotFoundError,
1391
- ct as RenderingError,
1392
- we as Repeat,
1421
+ Ge as ProviderNotFoundError,
1422
+ ht as RenderingError,
1423
+ Se as Repeat,
1393
1424
  h as Signal,
1394
- me as Task,
1425
+ _e as Task,
1395
1426
  St as TextNode,
1396
1427
  Kt as Unless,
1397
1428
  Ht as Use,
1398
1429
  Xt as UseProvider,
1399
1430
  zt as UseProviders,
1400
- Nt as UseSSRDone,
1401
- ye as When,
1431
+ kt as UseSSRDone,
1432
+ Ae as When,
1402
1433
  or as WithProvider,
1403
1434
  ir as WithProviders,
1404
- fe as _addNodeTracker,
1405
- et as _clearSSR,
1406
- Ue as _getSelfOrParentElement,
1407
- se as _isElement,
1408
- re as _makeGetter,
1409
- te as _makeSetter,
1410
- ae as _maybeAddAttributeTracker,
1411
- ce as _maybeAddClassTracker,
1412
- he as _maybeAddTextTracker,
1413
- g as _removeDOMNode,
1414
- Be as _setAttribute,
1415
- Fe as _setBooleanProperty,
1416
- qe as _setDateProperty,
1417
- Ve as _setNumberProperty,
1418
- Ie as _setStringProperty,
1419
- oe as _signalText,
1420
- ne as _staticText,
1421
- wt as animateSignal,
1422
- $e as animateSignals,
1435
+ de as _addNodeTracker,
1436
+ rt as _clearSSR,
1437
+ Je as _getSelfOrParentElement,
1438
+ oe as _isElement,
1439
+ ne as _makeGetter,
1440
+ se as _makeSetter,
1441
+ fe as _maybeAddAttributeTracker,
1442
+ he as _maybeAddClassTracker,
1443
+ pe as _maybeAddTextTracker,
1444
+ _ as _removeDOMNode,
1445
+ Ue as _setAttribute,
1446
+ qe as _setBooleanProperty,
1447
+ Be as _setDateProperty,
1448
+ Ie as _setNumberProperty,
1449
+ je as _setStringProperty,
1450
+ le as _signalText,
1451
+ ie as _staticText,
1452
+ yt as animateSignal,
1453
+ Ve as animateSignals,
1423
1454
  Et as aria,
1424
1455
  P as attr,
1425
1456
  At as dataAttr,
@@ -1427,37 +1458,37 @@ export {
1427
1458
  Mt as emitPreventDefault,
1428
1459
  Ft as emitStopImmediatePropagation,
1429
1460
  $t as emitStopPropagation,
1430
- nt as emitValue,
1431
- it as emitValueAsDate,
1432
- lt as emitValueAsDateTime,
1433
- ot as emitValueAsNumber,
1434
- Oe as endInterpolate,
1435
- Ne as guessInterpolate,
1461
+ it as emitValue,
1462
+ ut as emitValueAsDate,
1463
+ at as emitValueAsDateTime,
1464
+ lt as emitValueAsNumber,
1465
+ Ne as endInterpolate,
1466
+ Re as guessInterpolate,
1436
1467
  bt as html,
1437
1468
  Tt as input,
1438
- Le as interpolateDate,
1439
- Te as interpolateNumber,
1440
- Ce as interpolateString,
1441
- N as isSSR,
1469
+ ke as interpolateDate,
1470
+ Le as interpolateNumber,
1471
+ Oe as interpolateString,
1472
+ k as isSSR,
1442
1473
  _t as localStorageProp,
1443
- V as makeComputed,
1444
- pt as makeComputedOf,
1445
- yt as makeComputedRecord,
1446
- Me as makeEffect,
1447
- mt as makeEffectOf,
1474
+ U as makeComputed,
1475
+ $e as makeComputedOf,
1476
+ wt as makeComputedRecord,
1477
+ Fe as makeEffect,
1478
+ gt as makeEffectOf,
1448
1479
  C as makeProp,
1449
1480
  sr as makeProviderMark,
1450
- gt as makeSignal,
1481
+ G as makeSignal,
1451
1482
  Lt as math,
1452
1483
  Dt as mathAttr,
1453
1484
  q as on,
1454
1485
  Ot as prepareSSR,
1455
- xe as removeTextTrackers,
1486
+ tt as removeTextTrackers,
1456
1487
  tr as render,
1457
- Se as renderWithContext,
1458
- c as renderableOfTNode,
1488
+ Ee as renderWithContext,
1489
+ f as renderableOfTNode,
1459
1490
  vt as sessionStorageProp,
1460
- Y as storedProp,
1491
+ K as storedProp,
1461
1492
  lr as style,
1462
1493
  Ct as svg,
1463
1494
  Pt as svgAttr