@tempots/dom 28.1.5 → 28.2.1

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
@@ -6,7 +6,7 @@ var He = (s, e, t) => e in s ? Me(s, e, { enumerable: !0, configurable: !0, writ
6
6
  var i = (s, e, t) => He(s, typeof e != "symbol" ? e + "" : e, t), ne = (s, e, t) => e.has(s) || re("Cannot " + t);
7
7
  var I = (s, e, t) => (ne(s, e, "read from private field"), t ? t.call(s) : e.get(s)), ie = (s, e, t) => e.has(s) ? re("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(s) : e.set(s, t), z = (s, e, t, r) => (ne(s, e, "write to private field"), r ? r.call(s, t) : e.set(s, t), t);
8
8
  const ke = (s, e, t) => s + (e - s) * t;
9
- const $e = (s, e, t) => {
9
+ const Ne = (s, e, t) => {
10
10
  const r = Math.max(s.length, e.length);
11
11
  let n = "";
12
12
  for (let o = 0; o < r; o++) {
@@ -16,7 +16,7 @@ const $e = (s, e, t) => {
16
16
  isNaN(c) && (c = 97), n += String.fromCharCode(l + (c - l) * t);
17
17
  }
18
18
  return n;
19
- }, Ne = (s, e, t) => new Date(s.getTime() + (e.getTime() - s.getTime()) * t), Ie = (s, e) => e, Re = (s) => typeof s == "number" ? ke : typeof s == "string" ? $e : s instanceof Date ? Ne : Ie;
19
+ }, $e = (s, e, t) => new Date(s.getTime() + (e.getTime() - s.getTime()) * t), Ie = (s, e) => e, Re = (s) => typeof s == "number" ? ke : typeof s == "string" ? Ne : s instanceof Date ? $e : Ie;
20
20
  var w;
21
21
  class Q {
22
22
  /**
@@ -298,7 +298,7 @@ const H = class H {
298
298
  * @returns A property that holds the mapped value and can be observed for changes.
299
299
  */
300
300
  i(this, "mapAsync", (e, t, r, n = (o, l) => o === l) => {
301
- const o = E(t, n);
301
+ const o = _(t, n);
302
302
  let l = 0, c = new AbortController();
303
303
  return o.onDispose(
304
304
  this.on(async (a) => {
@@ -348,7 +348,7 @@ const H = class H {
348
348
  i(this, "deriveProp", ({
349
349
  autoDisposeProp: e = !0,
350
350
  equals: t
351
- } = {}) => this.feedProp(E(this.get(), t), e));
351
+ } = {}) => this.feedProp(_(this.get(), t), e));
352
352
  /**
353
353
  * Derives a new signal from the current signal. Useful to create a new signal that emits the same values as the current signal but can be disposed independently.
354
354
  * @returns A new signal that emits the same values as the current signal.
@@ -455,7 +455,7 @@ i(H, "is", (e) => (
455
455
  e != null && e.$__signal__ === !0
456
456
  ));
457
457
  let d = H;
458
- const Ve = typeof queueMicrotask == "function" ? queueMicrotask : (s) => Promise.resolve().then(s);
458
+ const je = typeof queueMicrotask == "function" ? queueMicrotask : (s) => Promise.resolve().then(s);
459
459
  class P extends d {
460
460
  /**
461
461
  * Represents a Signal object.
@@ -491,7 +491,7 @@ class P extends d {
491
491
  */
492
492
  i(this, "_scheduleNotify", () => {
493
493
  const t = ++this._scheduleCount;
494
- Ve(() => {
494
+ je(() => {
495
495
  this._scheduleCount !== t || this._disposed || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn()));
496
496
  });
497
497
  });
@@ -600,11 +600,11 @@ i(J, "is", (t) => (
600
600
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
601
601
  t != null && t.$__prop__ === !0
602
602
  ));
603
- let V = J;
603
+ let j = J;
604
604
  const Z = (s, e, t = (r, n) => r === n) => {
605
605
  const r = new P(s, t);
606
606
  return e.forEach((n) => n.setDerivative(r)), r;
607
- }, je = (s, e, t = {}) => {
607
+ }, Ve = (s, e, t = {}) => {
608
608
  let r = t.once ? () => {
609
609
  o(), s();
610
610
  } : s;
@@ -619,7 +619,10 @@ const Z = (s, e, t = (r, n) => r === n) => {
619
619
  n.dispose(), t.abortSignal != null && t.abortSignal.removeEventListener("abort", o);
620
620
  };
621
621
  return t.abortSignal != null && t.abortSignal.addEventListener("abort", o), o;
622
- }, E = (s, e = (t, r) => t === r) => new V(s, e), G = (s, e = (t, r) => t === r) => new d(s, e), le = () => typeof window < "u" ? window : void 0, y = {
622
+ }, _ = (s, e = (t, r) => t === r) => new j(s, e), G = (s, e = (t, r) => t === r) => new d(s, e), le = () => (
623
+ /* c8 ignore next */
624
+ typeof window < "u" ? window : void 0
625
+ ), T = {
623
626
  /**
624
627
  * Maps a value or a Signal to a new value.
625
628
  * If the value is a Signal, it returns a new Signal with the mapped value.
@@ -651,7 +654,7 @@ const Z = (s, e, t = (r, n) => r === n) => {
651
654
  */
652
655
  maybeToSignal: (s, e) => {
653
656
  if (s != null)
654
- return y.toSignal(s, e);
657
+ return T.toSignal(s, e);
655
658
  },
656
659
  /**
657
660
  * Gets the value from a `Signal` or the value itself if it is not a `Signal`.
@@ -689,23 +692,23 @@ const Z = (s, e, t = (r, n) => r === n) => {
689
692
  deriveProp: (s, {
690
693
  autoDisposeProp: e = !0,
691
694
  equals: t
692
- } = {}) => d.is(s) ? s.deriveProp({ autoDisposeProp: e, equals: t }) : E(s, t)
695
+ } = {}) => d.is(s) ? s.deriveProp({ autoDisposeProp: e, equals: t }) : _(s, t)
693
696
  }, qe = (...s) => (e, t) => {
694
697
  const r = s.filter((n) => d.is(n));
695
698
  return Z(
696
- () => e(...s.map((n) => y.get(n))),
699
+ () => e(...s.map((n) => T.get(n))),
697
700
  r,
698
701
  t
699
702
  );
700
- }, Lt = (s) => {
703
+ }, Pt = (s) => {
701
704
  const e = Object.keys(s);
702
705
  return qe(...Object.values(s))(
703
706
  (...t) => Object.fromEntries(e.map((r, n) => [r, t[n]]))
704
707
  );
705
- }, Dt = (...s) => (e, t = {}) => {
708
+ }, Lt = (...s) => (e, t = {}) => {
706
709
  const r = s.filter((n) => d.is(n));
707
- return je(
708
- () => e(...s.map(y.get)),
710
+ return Ve(
711
+ () => e(...s.map(T.get)),
709
712
  r,
710
713
  t
711
714
  );
@@ -738,23 +741,25 @@ const ae = ({
738
741
  equals: o = (c, a) => c === a,
739
742
  onLoad: l = (c) => c
740
743
  }) => {
741
- const c = t.getItem(s), a = new V(
744
+ const c = t.getItem(s), a = new j(
742
745
  c != null ? l(n(c)) : typeof e == "function" ? e() : e,
743
746
  o
744
747
  );
745
748
  return a.on((u) => {
746
749
  t.setItem(s, r(u));
747
750
  }), a;
748
- }, Ot = (s) => {
751
+ }, Dt = (s) => {
749
752
  var e;
750
753
  return ae({
751
754
  ...s,
755
+ /* c8 ignore next 3 */
752
756
  store: ((e = le()) == null ? void 0 : e.localStorage) ?? new ce()
753
757
  });
754
- }, Mt = (s) => {
758
+ }, Ot = (s) => {
755
759
  var e;
756
760
  return ae({
757
761
  ...s,
762
+ /* c8 ignore next 3 */
758
763
  store: ((e = le()) == null ? void 0 : e.sessionStorage) ?? new ce()
759
764
  });
760
765
  };
@@ -762,26 +767,27 @@ function oe(s) {
762
767
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame(s) : setTimeout(s, 0);
763
768
  }
764
769
  const Fe = (s, e, t, r) => {
765
- const n = (r == null ? void 0 : r.duration) ?? 300, o = (r == null ? void 0 : r.easing) ?? ((S) => S), l = (r == null ? void 0 : r.equals) ?? ((S, N) => S === N);
766
- let c = r == null ? void 0 : r.interpolate, a = s, u = e(), h = performance.now(), g = null, b = !0;
767
- const p = new P(e, l), m = E(s, l);
770
+ const n = (r == null ? void 0 : r.duration) ?? 300, o = (r == null ? void 0 : r.easing) ?? ((A) => A), l = (r == null ? void 0 : r.equals) ?? ((A, $) => A === $);
771
+ let c = r == null ? void 0 : r.interpolate, a = s, u = e(), h = performance.now(), g = null, y = !0;
772
+ const p = new P(e, l), m = _(s, l);
768
773
  m.onDispose(() => {
769
774
  g !== null && cancelAnimationFrame(g);
770
- }), m.onDispose(p.dispose), t.forEach((S) => {
771
- S.setDerivative(p), S.onDispose(m.dispose);
775
+ }), m.onDispose(p.dispose), t.forEach((A) => {
776
+ A.setDerivative(p), A.onDispose(m.dispose);
772
777
  });
773
- const C = (S) => {
774
- u = S, h = performance.now(), a = m.value, b && (b = !1, g = oe(te));
778
+ const C = (A) => {
779
+ u = A, h = performance.now(), a = m.value, y && (y = !1, g = oe(te));
775
780
  }, te = () => {
776
- const N = (performance.now() - h) / y.get(n), Oe = o(N);
781
+ const $ = (performance.now() - h) / T.get(n), Oe = o($);
777
782
  c == null && (c = Re(a));
778
783
  let se = c(a, u, Oe);
779
- N >= 1 ? (b = !0, se = u) : g = oe(te), m.set(se);
784
+ $ >= 1 ? (y = !0, se = u) : g = oe(te), m.set(se);
780
785
  };
781
786
  return p.on(C), m;
782
- }, Ht = (s, e) => {
787
+ }, Mt = (s, e) => {
783
788
  const { initialValue: t, ...r } = e ?? {};
784
789
  return Fe(
790
+ /* c8 ignore next 2 */
785
791
  t ?? s.get(),
786
792
  s.get,
787
793
  [s],
@@ -792,10 +798,23 @@ const Fe = (s, e, t, r) => {
792
798
  return Z(() => {
793
799
  const n = {};
794
800
  for (const o of r)
795
- n[o] = y.get(s[o]);
801
+ n[o] = T.get(s[o]);
796
802
  return e(n);
797
803
  }, t);
798
- }, kt = (s) => Be(s, (e) => e), ue = /* @__PURE__ */ new Set(["checked", "disabled", "hidden"]), he = /* @__PURE__ */ new Set(["selected"]), fe = /* @__PURE__ */ new Set([
804
+ }, Ht = (s) => Be(s, (e) => e), kt = (s, e) => {
805
+ const t = _(s.get());
806
+ let r = null;
807
+ return s.on((n) => {
808
+ r != null && clearTimeout(r), r = setTimeout(
809
+ () => {
810
+ r = null, t.set(n);
811
+ },
812
+ typeof e == "function" ? e(n) : e
813
+ );
814
+ }), t.onDispose(() => {
815
+ r != null && clearTimeout(r);
816
+ }), t;
817
+ }, ue = /* @__PURE__ */ new Set(["checked", "disabled", "hidden"]), he = /* @__PURE__ */ new Set(["selected"]), fe = /* @__PURE__ */ new Set([
799
818
  "rowSpan",
800
819
  "colSpan",
801
820
  "tabIndex",
@@ -820,7 +839,7 @@ const Fe = (s, e, t, r) => {
820
839
  t == null ? e[s] = null : e[s] = String(t);
821
840
  } : (t) => {
822
841
  t == null ? e.removeAttribute(s) : e.setAttribute(s, t);
823
- }, Ue = (s, e) => he.has(s) ? () => e.hasAttribute(s) : ue.has(s) ? () => !!e[s] : fe.has(s) ? () => Number(e[s]) : de.has(s) ? () => e[s] : pe.has(s) ? () => String(e[s]) : () => e.getAttribute(s), j = (s) => {
842
+ }, Ue = (s, e) => he.has(s) ? () => e.hasAttribute(s) : ue.has(s) ? () => !!e[s] : fe.has(s) ? () => Number(e[s]) : de.has(s) ? () => e[s] : pe.has(s) ? () => String(e[s]) : () => e.getAttribute(s), V = (s) => {
824
843
  const e = s;
825
844
  e && e.onblur && (e.onblur = null), !(!s || s.ownerDocument === void 0) && s.parentElement && s.parentElement.removeChild(s);
826
845
  }, Je = (s) => ge(s) ? s : s.parentElement, ge = (s) => s.nodeType === 1;
@@ -1009,7 +1028,7 @@ class L {
1009
1028
  return { value: t, onUse: r };
1010
1029
  });
1011
1030
  i(this, "clear", (e) => {
1012
- e && (this.reference !== void 0 ? j(this.reference) : j(this.element));
1031
+ e && (this.reference !== void 0 ? V(this.reference) : V(this.element));
1013
1032
  });
1014
1033
  /**
1015
1034
  * Adds classes to the element.
@@ -1100,7 +1119,7 @@ class L {
1100
1119
  const Ge = (s) => Symbol(s), K = (s, e) => {
1101
1120
  const t = s(e);
1102
1121
  return (r = !0) => t(r);
1103
- }, $t = (s, e, { doc: t, clear: r, disposeWithParent: n = !0, providers: o = {} } = {}) => {
1122
+ }, Nt = (s, e, { doc: t, clear: r, disposeWithParent: n = !0, providers: o = {} } = {}) => {
1104
1123
  const l = typeof e == "string" ? (t ?? document).querySelector(e) : e;
1105
1124
  if (l === null)
1106
1125
  throw new Xe(
@@ -1109,9 +1128,9 @@ const Ge = (s) => Symbol(s), K = (s, e) => {
1109
1128
  r !== !1 && (t ?? l.ownerDocument) != null && l.nodeType === 1 && (l.innerHTML = "");
1110
1129
  const c = Je(l), a = ge(l) ? void 0 : l, u = L.of(c, a, o), h = K(s, u);
1111
1130
  let g;
1112
- return n && (g = new MutationObserver((b) => {
1131
+ return n && (g = new MutationObserver((y) => {
1113
1132
  var p;
1114
- (p = b[0]) == null || p.removedNodes.forEach((m) => {
1133
+ (p = y[0]) == null || p.removedNodes.forEach((m) => {
1115
1134
  m === l && (g == null || g.disconnect(), h(l.nodeType !== 1));
1116
1135
  });
1117
1136
  }), g.observe(l.parentElement, {
@@ -1121,14 +1140,14 @@ const Ge = (s) => Symbol(s), K = (s, e) => {
1121
1140
  })), () => {
1122
1141
  g == null || g.disconnect(), h(!0);
1123
1142
  };
1124
- }, Nt = (s, {
1143
+ }, $t = (s, {
1125
1144
  startUrl: e = "https://example.com",
1126
1145
  selector: t,
1127
1146
  providers: r = {}
1128
1147
  } = {
1129
1148
  selector: "body"
1130
1149
  }) => {
1131
- const n = y.toSignal(e).deriveProp(), o = new Se(t, void 0), l = new D(o, void 0, { currentURL: n }, r);
1150
+ const n = T.toSignal(e).deriveProp(), o = new Ae(t, void 0), l = new D(o, void 0, { currentURL: n }, r);
1132
1151
  return {
1133
1152
  clear: K(s(), l),
1134
1153
  root: o,
@@ -1154,7 +1173,7 @@ class It {
1154
1173
  getInnerHTML: u,
1155
1174
  setInnerHTML: h,
1156
1175
  getInnerText: g,
1157
- setInnerText: b
1176
+ setInnerText: y
1158
1177
  }) {
1159
1178
  /**
1160
1179
  * Selects elements from the headless environment.
@@ -1297,11 +1316,11 @@ class It {
1297
1316
  }
1298
1317
  });
1299
1318
  });
1300
- this.select = e, this.getAttribute = t, this.setAttribute = r, this.getClass = n, this.setClass = o, this.getStyles = l, this.setStyles = c, this.appendHTML = a, this.getInnerHTML = u, this.setInnerHTML = h, this.getInnerText = g, this.setInnerText = b;
1319
+ this.select = e, this.getAttribute = t, this.setAttribute = r, this.getClass = n, this.setClass = o, this.getStyles = l, this.setStyles = c, this.appendHTML = a, this.getInnerHTML = u, this.setInnerHTML = h, this.getInnerText = g, this.setInnerText = y;
1301
1320
  }
1302
1321
  }
1303
1322
  const Ye = () => {
1304
- document.querySelectorAll(`[${ye}]`).forEach(j);
1323
+ document.querySelectorAll(`[${ye}]`).forEach(V);
1305
1324
  }, ze = (s) => {
1306
1325
  const e = s.getAttribute(q);
1307
1326
  s.removeAttribute(q), e != null && s.setAttribute("class", e);
@@ -1317,10 +1336,10 @@ const Ye = () => {
1317
1336
  s.removeAttribute(W), e != null && (s.innerText = e);
1318
1337
  }, tt = () => {
1319
1338
  document.querySelectorAll(`[${W}]`).forEach((e) => et(e));
1320
- }, be = (s) => JSON.parse(s.replace(/&quot;/g, '"')), st = (s) => {
1339
+ }, Te = (s) => JSON.parse(s.replace(/&quot;/g, '"')), st = (s) => {
1321
1340
  const e = s.getAttribute(F);
1322
1341
  if (s.removeAttribute(F), e != null) {
1323
- const t = be(e);
1342
+ const t = Te(e);
1324
1343
  Object.entries(t).forEach(([r, n]) => {
1325
1344
  s.style.setProperty(r, n);
1326
1345
  });
@@ -1330,7 +1349,7 @@ const Ye = () => {
1330
1349
  }, nt = (s) => {
1331
1350
  const e = s.getAttribute(U);
1332
1351
  if (s.removeAttribute(U), e != null) {
1333
- const t = be(e);
1352
+ const t = Te(e);
1334
1353
  Object.entries(t).forEach(([r, n]) => {
1335
1354
  n == null ? s.removeAttribute(r) : s.setAttribute(r, n);
1336
1355
  });
@@ -1339,10 +1358,10 @@ const Ye = () => {
1339
1358
  document.querySelectorAll(`[${U}]`).forEach((e) => nt(e));
1340
1359
  }, Rt = () => {
1341
1360
  Ye(), Qe(), tt(), Ke(), rt(), it();
1342
- }, A = Symbol("class"), _ = Symbol("style"), x = Symbol("handler"), Te = () => Math.random().toString(36).substring(2, 15), ot = (s) => s.replace(/<[^>]*>?/g, "");
1343
- class Ae {
1361
+ }, S = Symbol("class"), E = Symbol("style"), x = Symbol("handler"), be = () => Math.random().toString(36).substring(2, 15), ot = (s) => s.replace(/<[^>]*>?/g, "");
1362
+ class Se {
1344
1363
  constructor(e) {
1345
- i(this, "id", Te());
1364
+ i(this, "id", be());
1346
1365
  i(this, "properties", {});
1347
1366
  i(this, "children", []);
1348
1367
  i(this, "isElement", () => !0);
@@ -1368,8 +1387,8 @@ class Ae {
1368
1387
  i(this, "getInnerText", () => this.properties.innerText ?? "");
1369
1388
  i(this, "hasInnerText", () => this.properties.innerText != null);
1370
1389
  i(this, "hasChildren", () => this.children.length > 0);
1371
- i(this, "hasClasses", () => this.properties[A] != null);
1372
- i(this, "hasStyles", () => this.properties[_] != null);
1390
+ i(this, "hasClasses", () => this.properties[S] != null);
1391
+ i(this, "hasStyles", () => this.properties[E] != null);
1373
1392
  i(this, "hasAttributes", () => Object.keys(this.properties).length > 0);
1374
1393
  i(this, "hasHandlers", () => this.properties[x] != null);
1375
1394
  i(this, "hasRenderableProperties", () => this.hasClasses() || this.hasAttributes() || this.hasStyles());
@@ -1404,7 +1423,7 @@ class Ae {
1404
1423
  var r;
1405
1424
  if (e.length === 0)
1406
1425
  return;
1407
- const t = (r = this.properties)[A] ?? (r[A] = []);
1426
+ const t = (r = this.properties)[S] ?? (r[S] = []);
1408
1427
  e.forEach((n) => {
1409
1428
  t.includes(n) || t.push(n);
1410
1429
  });
@@ -1413,29 +1432,29 @@ class Ae {
1413
1432
  var r;
1414
1433
  if (e.length === 0)
1415
1434
  return;
1416
- const t = (r = this.properties)[A] ?? (r[A] = []);
1435
+ const t = (r = this.properties)[S] ?? (r[S] = []);
1417
1436
  e.forEach((n) => {
1418
1437
  const o = t.indexOf(n);
1419
1438
  o !== -1 && t.splice(o, 1);
1420
- }), t.length === 0 && delete this.properties[A];
1439
+ }), t.length === 0 && delete this.properties[S];
1421
1440
  });
1422
- i(this, "getClasses", () => this.properties[A] ?? []);
1441
+ i(this, "getClasses", () => this.properties[S] ?? []);
1423
1442
  i(this, "getAttributes", () => Object.entries(this.properties).filter(
1424
1443
  ([e]) => !["innerText", "innerHTML"].includes(e)
1425
1444
  ));
1426
1445
  i(this, "getVisibleAttributes", () => Reflect.ownKeys(this.properties).flatMap(
1427
- (e) => e === A ? [["class", this.getClasses()]] : e === _ ? [["style", this.getStyles()]] : typeof e == "string" ? [[e, String(this.properties[e])]] : []
1446
+ (e) => e === S ? [["class", this.getClasses()]] : e === E ? [["style", this.getStyles()]] : typeof e == "string" ? [[e, String(this.properties[e])]] : []
1428
1447
  ));
1429
1448
  i(this, "setStyle", (e, t) => {
1430
1449
  var n;
1431
- const r = (n = this.properties)[_] ?? (n[_] = {});
1432
- r[e] = t, t === "" && (delete r[e], Object.keys(r).length === 0 && delete this.properties[_]);
1450
+ const r = (n = this.properties)[E] ?? (n[E] = {});
1451
+ r[e] = t, t === "" && (delete r[e], Object.keys(r).length === 0 && delete this.properties[E]);
1433
1452
  });
1434
1453
  i(this, "getStyle", (e) => {
1435
1454
  var t;
1436
- return ((t = this.properties[_]) == null ? void 0 : t[e]) ?? "";
1455
+ return ((t = this.properties[E]) == null ? void 0 : t[e]) ?? "";
1437
1456
  });
1438
- i(this, "getStyles", () => this.properties[_] ?? {});
1457
+ i(this, "getStyles", () => this.properties[E] ?? {});
1439
1458
  i(this, "makeAccessors", (e) => {
1440
1459
  const t = this.properties;
1441
1460
  return {
@@ -1447,7 +1466,7 @@ class Ae {
1447
1466
  }
1448
1467
  }
1449
1468
  const lt = (s) => s.replace(/"/g, "&quot;"), ct = (s) => s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
1450
- class at extends Ae {
1469
+ class at extends Se {
1451
1470
  constructor(t, r, n) {
1452
1471
  super(n);
1453
1472
  i(this, "isPortal", () => !1);
@@ -1460,7 +1479,7 @@ class at extends Ae {
1460
1479
  this.tagName = t, this.namespace = r;
1461
1480
  }
1462
1481
  }
1463
- class Se extends Ae {
1482
+ class Ae extends Se {
1464
1483
  constructor(t, r) {
1465
1484
  super(r);
1466
1485
  i(this, "isPortal", () => !0);
@@ -1471,7 +1490,7 @@ class Se extends Ae {
1471
1490
  }
1472
1491
  class ut {
1473
1492
  constructor(e) {
1474
- i(this, "id", Te());
1493
+ i(this, "id", be());
1475
1494
  i(this, "isElement", () => !1);
1476
1495
  i(this, "isText", () => !0);
1477
1496
  i(this, "getText", () => this.text);
@@ -1515,7 +1534,7 @@ class D {
1515
1534
  });
1516
1535
  i(this, "makeRef", () => this.makeChildText(""));
1517
1536
  i(this, "makePortal", (e) => {
1518
- const t = new Se(e, this.element);
1537
+ const t = new Ae(e, this.element);
1519
1538
  return this.appendOrInsert(t), new D(
1520
1539
  t,
1521
1540
  void 0,
@@ -1564,12 +1583,12 @@ const ht = /* @__PURE__ */ new Set([
1564
1583
  "readonly",
1565
1584
  "required",
1566
1585
  "selected"
1567
- ]), ft = /* @__PURE__ */ new Set(["img", "br", "hr", "input", "link", "meta"]), ve = (s) => (e) => e.makeChildText(s).clear, _e = (s) => (e) => {
1586
+ ]), ft = /* @__PURE__ */ new Set(["img", "br", "hr", "input", "link", "meta"]), _e = (s) => (e) => e.makeChildText(s).clear, ve = (s) => (e) => {
1568
1587
  const t = e.makeChildText(s.value), r = s.on(t.setText);
1569
1588
  return (n) => {
1570
1589
  r(), t.clear(n);
1571
1590
  };
1572
- }, Vt = (s) => d.is(s) ? _e(s) : ve(s), T = (...s) => (e) => {
1591
+ }, jt = (s) => d.is(s) ? ve(s) : _e(s), b = (...s) => (e) => {
1573
1592
  const t = s.map((r) => f(r)(e));
1574
1593
  return (r) => {
1575
1594
  t.forEach((n) => n(r));
@@ -1590,7 +1609,7 @@ const ht = /* @__PURE__ */ new Set([
1590
1609
  return n(e), (l) => {
1591
1610
  l && n(o);
1592
1611
  };
1593
- }, $ = (s, e) => (t) => {
1612
+ }, N = (s, e) => (t) => {
1594
1613
  const { get: r, set: n } = t.makeAccessors(s), o = r(), l = e.on(n);
1595
1614
  return (c) => {
1596
1615
  l(), c && n(o);
@@ -1610,8 +1629,9 @@ const ht = /* @__PURE__ */ new Set([
1610
1629
  *
1611
1630
  */
1612
1631
  get: (s, e) => e === "class" ? (t) => d.is(t) ? pt(t) : dt(
1632
+ /* c8 ignore next */
1613
1633
  (t ?? "").split(" ").filter((r) => r.length > 0)
1614
- ) : (t) => d.is(t) ? $(
1634
+ ) : (t) => d.is(t) ? N(
1615
1635
  e,
1616
1636
  t
1617
1637
  ) : k(
@@ -1619,7 +1639,7 @@ const ht = /* @__PURE__ */ new Set([
1619
1639
  t
1620
1640
  )
1621
1641
  }
1622
- ), jt = new Proxy(
1642
+ ), Vt = new Proxy(
1623
1643
  {},
1624
1644
  {
1625
1645
  /**
@@ -1630,7 +1650,7 @@ const ht = /* @__PURE__ */ new Set([
1630
1650
  * @returns The renderable component for the specified attribute.
1631
1651
  *
1632
1652
  */
1633
- get: (s, e) => (t) => d.is(t) ? $(
1653
+ get: (s, e) => (t) => d.is(t) ? N(
1634
1654
  `data-${e}`,
1635
1655
  t
1636
1656
  ) : k(`data-${e}`, t)
@@ -1646,7 +1666,7 @@ const ht = /* @__PURE__ */ new Set([
1646
1666
  * @returns The renderable component for the specified attribute.
1647
1667
  *
1648
1668
  */
1649
- get: (s, e) => (t) => d.is(t) ? $(
1669
+ get: (s, e) => (t) => d.is(t) ? N(
1650
1670
  `aria-${e}`,
1651
1671
  t
1652
1672
  ) : k(
@@ -1665,7 +1685,7 @@ const ht = /* @__PURE__ */ new Set([
1665
1685
  * @returns The renderable component for the specified attribute.
1666
1686
  *
1667
1687
  */
1668
- get: (s, e) => (t) => d.is(t) ? $(
1688
+ get: (s, e) => (t) => d.is(t) ? N(
1669
1689
  e,
1670
1690
  t
1671
1691
  ) : k(
@@ -1683,7 +1703,7 @@ const ht = /* @__PURE__ */ new Set([
1683
1703
  * @returns The renderable component for the specified attribute.
1684
1704
  *
1685
1705
  */
1686
- get: (s, e) => (t) => d.is(t) ? $(
1706
+ get: (s, e) => (t) => d.is(t) ? N(
1687
1707
  e,
1688
1708
  t
1689
1709
  ) : k(
@@ -1695,20 +1715,20 @@ const ht = /* @__PURE__ */ new Set([
1695
1715
  if (s == null)
1696
1716
  return v;
1697
1717
  if (Array.isArray(s))
1698
- return T(...s.map(f));
1718
+ return b(...s.map(f));
1699
1719
  if (typeof s == "string")
1700
- return ve(s);
1701
- if (d.is(s))
1702
1720
  return _e(s);
1721
+ if (d.is(s))
1722
+ return ve(s);
1703
1723
  if (typeof s == "function")
1704
1724
  return s;
1705
1725
  throw new Error(`Unknown type: '${typeof s}' for child: ${s}`);
1706
- }, we = (s, ...e) => (t) => {
1726
+ }, Ee = (s, ...e) => (t) => {
1707
1727
  const r = t.makeChildElement(s, void 0), n = e.map((o) => f(o)(r));
1708
1728
  return (o) => {
1709
1729
  n.forEach((l) => l(!1)), r.clear(o);
1710
1730
  };
1711
- }, Ee = (s, e, ...t) => (r) => {
1731
+ }, we = (s, e, ...t) => (r) => {
1712
1732
  const n = r.makeChildElement(s, e), o = t.map((l) => f(l)(n));
1713
1733
  return (l) => {
1714
1734
  o.forEach((c) => c(!1)), n.clear(l);
@@ -1721,7 +1741,7 @@ const ht = /* @__PURE__ */ new Set([
1721
1741
  * @param tagName - The HTML tag name.
1722
1742
  * @returns A renderable function that creates and appends the HTML element to the DOM.
1723
1743
  */
1724
- get: (s, e) => (...t) => we(e, t.flatMap(f))
1744
+ get: (s, e) => (...t) => Ee(e, t.flatMap(f))
1725
1745
  }
1726
1746
  ), Ut = new Proxy(
1727
1747
  {},
@@ -1731,7 +1751,7 @@ const ht = /* @__PURE__ */ new Set([
1731
1751
  * @param type - The input type name.
1732
1752
  * @returns A renderable function that creates and appends the HTMLInput element to the DOM.
1733
1753
  */
1734
- get: (s, e) => (...t) => we("input", O.type(e), ...t)
1754
+ get: (s, e) => (...t) => Ee("input", O.type(e), ...t)
1735
1755
  }
1736
1756
  ), gt = "http://www.w3.org/2000/svg", Jt = new Proxy(
1737
1757
  {},
@@ -1741,7 +1761,7 @@ const ht = /* @__PURE__ */ new Set([
1741
1761
  * @param tagName - The SVG tag name.
1742
1762
  * @returns A renderable function that creates and appends the SVG element to the DOM.
1743
1763
  */
1744
- get: (s, e) => (...t) => Ee(e, gt, t.flatMap(f))
1764
+ get: (s, e) => (...t) => we(e, gt, t.flatMap(f))
1745
1765
  }
1746
1766
  ), mt = "http://www.w3.org/1998/Math/MathML", Gt = new Proxy(
1747
1767
  {},
@@ -1751,7 +1771,7 @@ const ht = /* @__PURE__ */ new Set([
1751
1771
  * @param tagName - The Math tag name.
1752
1772
  * @returns A renderable function that creates and appends the Math element to the DOM.
1753
1773
  */
1754
- get: (s, e) => (...t) => Ee(e, mt, t.flatMap(f))
1774
+ get: (s, e) => (...t) => we(e, mt, t.flatMap(f))
1755
1775
  }
1756
1776
  ), Ce = (s, e) => {
1757
1777
  if (typeof e == "function")
@@ -1789,13 +1809,13 @@ const ht = /* @__PURE__ */ new Set([
1789
1809
  */
1790
1810
  get: (s, e) => (t) => xe(e, t)
1791
1811
  }
1792
- ), bt = (s) => (e) => {
1812
+ ), Tt = (s) => (e) => {
1793
1813
  const t = e.target;
1794
1814
  s(t.value);
1795
- }, Tt = (s) => (e) => {
1815
+ }, bt = (s) => (e) => {
1796
1816
  const t = e.target;
1797
1817
  s(t.valueAsNumber);
1798
- }, At = (s) => (e) => {
1818
+ }, St = (s) => (e) => {
1799
1819
  const t = e.target;
1800
1820
  if (t.value === "")
1801
1821
  return;
@@ -1817,7 +1837,7 @@ const ht = /* @__PURE__ */ new Set([
1817
1837
  Number(r[2].substring(0, 2))
1818
1838
  );
1819
1839
  s(n);
1820
- }, St = (s) => (e) => {
1840
+ }, At = (s) => (e) => {
1821
1841
  const t = e.target;
1822
1842
  if (t.value === "")
1823
1843
  return;
@@ -1853,7 +1873,7 @@ const ht = /* @__PURE__ */ new Set([
1853
1873
  e.stopPropagation(), s();
1854
1874
  }, es = (s) => (e) => {
1855
1875
  e.stopImmediatePropagation(), s();
1856
- }, ts = (s, e = "input") => T(O.valueAsDate(s), X[e](At(s.set))), ss = (s, e = "input") => T(O.valueAsDate(s), X[e](St(s.set))), rs = (s, e = "input") => T(O.valueAsNumber(s), X[e](Tt(s.set))), ns = (s, e = "input") => T(O.value(s), X[e](bt(s.set))), is = (s) => T(O.checked(s), yt(s.set)), Y = (s, e) => {
1876
+ }, ts = (s, e = "input") => b(O.valueAsDate(s), X[e](St(s.set))), ss = (s, e = "input") => b(O.valueAsDate(s), X[e](At(s.set))), rs = (s, e = "input") => b(O.valueAsNumber(s), X[e](bt(s.set))), ns = (s, e = "input") => b(O.value(s), X[e](Tt(s.set))), is = (s) => b(O.checked(s), yt(s.set)), Y = (s, e) => {
1857
1877
  if (d.is(s))
1858
1878
  return (r) => {
1859
1879
  const n = r.makeRef();
@@ -1862,7 +1882,7 @@ const ht = /* @__PURE__ */ new Set([
1862
1882
  let a;
1863
1883
  const u = c.on((h) => {
1864
1884
  if (h !== a) {
1865
- a = h, l == null || l.dispose(), o == null || o(!0), l = s.map((b) => b[h]);
1885
+ a = h, l == null || l.dispose(), o == null || o(!0), l = s.map((y) => y[h]);
1866
1886
  const g = e[h](l);
1867
1887
  o = f(g)(n);
1868
1888
  }
@@ -1874,18 +1894,18 @@ const ht = /* @__PURE__ */ new Set([
1874
1894
  const t = Object.keys(s)[0];
1875
1895
  return f(e[t](G(s[t])));
1876
1896
  }, Pe = (s, e, t) => Y(
1877
- y.map(s, (r) => ({ [r[e]]: r })),
1897
+ T.map(s, (r) => ({ [r[e]]: r })),
1878
1898
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1879
1899
  t
1880
1900
  ), os = (s, e) => Pe(s, "kind", e), ls = (s, e) => {
1881
- const t = y.map(s, ([r, n]) => ({ [r]: n }));
1901
+ const t = T.map(s, ([r, n]) => ({ [r]: n }));
1882
1902
  return Y(t, e);
1883
- }, cs = (s, e) => Pe(s, "type", e), vt = (s, e) => Y(
1884
- y.map(s, (t) => ({ [t]: !0 })),
1903
+ }, cs = (s, e) => Pe(s, "type", e), _t = (s, e) => Y(
1904
+ T.map(s, (t) => ({ [t]: !0 })),
1885
1905
  e
1886
1906
  ), as = (s, e = {}) => (t) => {
1887
1907
  const r = (e == null ? void 0 : e.firstSeparator) ?? s, n = (e == null ? void 0 : e.lastSeparator) ?? s;
1888
- return vt(
1908
+ return _t(
1889
1909
  t.map((o) => o.isFirst ? "first" : o.isLast ? "last" : "other"),
1890
1910
  {
1891
1911
  first: r,
@@ -1894,8 +1914,8 @@ const ht = /* @__PURE__ */ new Set([
1894
1914
  }
1895
1915
  );
1896
1916
  }, us = (s) => (e) => (e.appendOrInsert(s), (t) => {
1897
- t && j(s);
1898
- }), _t = (s, e, t) => {
1917
+ t && V(s);
1918
+ }), hs = (s, e, t) => {
1899
1919
  if (d.is(s)) {
1900
1920
  const r = s;
1901
1921
  return (n) => {
@@ -1903,9 +1923,9 @@ const ht = /* @__PURE__ */ new Set([
1903
1923
  let l = () => {
1904
1924
  }, c = !1, a = null;
1905
1925
  const u = r.on((h) => {
1906
- h == null ? (l(!0), l = f((t == null ? void 0 : t()) ?? v)(o), c = !1, a == null || a.dispose(), a = null) : (a == null ? a = E(h) : a.value = h, c || (l(!0), l = f(e(a))(
1926
+ h == null ? (l(!0), l = f(t == null ? void 0 : t())(o), c = !1, a == null || a.dispose(), a = null) : c ? a.set(h) : (a = _(h), l(!0), l = f(e(a))(
1907
1927
  o
1908
- ), c = !0));
1928
+ ), c = !0);
1909
1929
  });
1910
1930
  return (h) => {
1911
1931
  a == null || a.dispose(), u(), l == null || l(h), o.clear(h);
@@ -1919,7 +1939,7 @@ const ht = /* @__PURE__ */ new Set([
1919
1939
  }
1920
1940
  return f(e(G(r)));
1921
1941
  }
1922
- }, hs = (...s) => (e, t) => (r) => {
1942
+ }, fs = (...s) => (e, t) => (r) => {
1923
1943
  const n = r.makeRef();
1924
1944
  if (s.some(
1925
1945
  (p) => !d.is(p) && p == null
@@ -1931,10 +1951,10 @@ const ht = /* @__PURE__ */ new Set([
1931
1951
  (p) => d.is(p) ? p.value != null : p != null
1932
1952
  );
1933
1953
  let a = null;
1934
- const u = E(c.every((p) => p)), h = (p, m) => {
1954
+ const u = _(c.every((p) => p)), h = (p, m) => {
1935
1955
  if (p.value != null) {
1936
1956
  if (l[m] == null) {
1937
- const C = E(p.value);
1957
+ const C = _(p.value);
1938
1958
  l[m] = C;
1939
1959
  } else
1940
1960
  l[m].value = p.value;
@@ -1943,9 +1963,9 @@ const ht = /* @__PURE__ */ new Set([
1943
1963
  c[m] = !1;
1944
1964
  };
1945
1965
  let g = s.length - 1;
1946
- const b = s.map((p, m) => {
1966
+ const y = s.map((p, m) => {
1947
1967
  if (!d.is(p)) {
1948
- const C = E(p);
1968
+ const C = _(p);
1949
1969
  return l[m] = C, () => {
1950
1970
  };
1951
1971
  }
@@ -1956,14 +1976,31 @@ const ht = /* @__PURE__ */ new Set([
1956
1976
  return u.on((p) => {
1957
1977
  a == null || a(!0), a = null, p ? a = f(e(...l))(n) : a = f((t == null ? void 0 : t()) ?? v)(n);
1958
1978
  }), (p) => {
1959
- l.forEach((m) => m == null ? void 0 : m.dispose()), u.dispose(), b.forEach((m) => m()), a == null || a(p), n.clear(p);
1979
+ l.forEach((m) => m == null ? void 0 : m.dispose()), u.dispose(), y.forEach((m) => m()), a == null || a(p), n.clear(p);
1960
1980
  };
1961
- }, M = (...s) => (e) => (t) => s.forEach((r) => r(t, e)), Le = (s, e, t) => _t(
1962
- y.map(s, (r) => r ? !0 : null),
1963
- e,
1964
- t ?? void 0
1965
- ), fs = (s, e, t) => Le(
1966
- y.map(s, (r) => !r),
1981
+ }, M = (...s) => (e) => (t) => s.forEach((r) => r(t, e)), Le = (s, e, t) => {
1982
+ if (d.is(s)) {
1983
+ const r = s;
1984
+ return (n) => {
1985
+ const o = n.makeRef();
1986
+ let l = () => {
1987
+ };
1988
+ const c = r.on((a) => {
1989
+ l(!0), a ? l = f(e())(o) : l = f(t == null ? void 0 : t())(o);
1990
+ });
1991
+ return (a) => {
1992
+ l(a), c(), o.clear(a);
1993
+ };
1994
+ };
1995
+ } else {
1996
+ if (s) {
1997
+ const n = e();
1998
+ return n != null ? f(n) : v;
1999
+ }
2000
+ return f(t == null ? void 0 : t());
2001
+ }
2002
+ }, ds = (s, e, t) => Le(
2003
+ T.map(s, (r) => !r),
1967
2004
  e,
1968
2005
  t
1969
2006
  ), De = (s, e, t) => {
@@ -1973,7 +2010,7 @@ const ht = /* @__PURE__ */ new Set([
1973
2010
  r.index,
1974
2011
  r.total.map((o) => o - 1)
1975
2012
  );
1976
- return T(
2013
+ return b(
1977
2014
  M(n.dispose),
1978
2015
  f(e(r)),
1979
2016
  Le(
@@ -1993,7 +2030,7 @@ const ht = /* @__PURE__ */ new Set([
1993
2030
  for (let u = l.length; u < c; u++) {
1994
2031
  const h = new Q(u, n);
1995
2032
  l.push(
1996
- T(
2033
+ b(
1997
2034
  M(h.dispose),
1998
2035
  f(e(h))
1999
2036
  )(o)
@@ -2008,30 +2045,30 @@ const ht = /* @__PURE__ */ new Set([
2008
2045
  };
2009
2046
  {
2010
2047
  const r = G(s);
2011
- return T(
2048
+ return b(
2012
2049
  ...Array.from({ length: s }, (n, o) => o).map((n) => {
2013
2050
  const o = new Q(n, r);
2014
- return T(
2051
+ return b(
2015
2052
  M(o.dispose),
2016
2053
  f(e(o))
2017
2054
  );
2018
2055
  })
2019
2056
  );
2020
2057
  }
2021
- }, ds = (s, e, t) => {
2022
- const r = y.map(s, (o) => o.length), n = y.toSignal(s);
2058
+ }, ps = (s, e, t) => {
2059
+ const r = T.map(s, (o) => o.length), n = T.toSignal(s);
2023
2060
  return De(
2024
2061
  r,
2025
2062
  (o) => {
2026
2063
  const l = n.map((c) => c[o.index]);
2027
- return T(
2064
+ return b(
2028
2065
  M(l.dispose),
2029
2066
  f(e(l, o))
2030
2067
  );
2031
2068
  },
2032
2069
  t
2033
2070
  );
2034
- }, ps = (s, e) => {
2071
+ }, gs = (s, e) => {
2035
2072
  if (d.is(s)) {
2036
2073
  const t = s;
2037
2074
  return (r) => {
@@ -2048,8 +2085,8 @@ const ht = /* @__PURE__ */ new Set([
2048
2085
  };
2049
2086
  }
2050
2087
  return f(e(s));
2051
- }, gs = (s, e, t = () => v) => Y(
2052
- y.map(
2088
+ }, ms = (s, e, t = () => v) => Y(
2089
+ T.map(
2053
2090
  s,
2054
2091
  (r) => r.length > 0 ? { notEmpty: r } : { whenEmpty: null }
2055
2092
  ),
@@ -2057,10 +2094,10 @@ const ht = /* @__PURE__ */ new Set([
2057
2094
  notEmpty: (r) => e(r),
2058
2095
  whenEmpty: () => t()
2059
2096
  }
2060
- ), ms = (s, e) => (t) => {
2097
+ ), ys = (s, e) => (t) => {
2061
2098
  const r = t.makePortal(s), n = K(f(e), r);
2062
2099
  return () => n(!0);
2063
- }, R = /* @__PURE__ */ new Map(), wt = (s) => ({
2100
+ }, R = /* @__PURE__ */ new Map(), vt = (s) => ({
2064
2101
  mark: Ge(`Probe(${s.description})`),
2065
2102
  create: ({ callback: e = () => {
2066
2103
  }, timeout: t = 10 } = {}) => {
@@ -2080,12 +2117,12 @@ const ht = /* @__PURE__ */ new Set([
2080
2117
  onUse: () => o.counter++
2081
2118
  };
2082
2119
  }
2083
- }), ys = wt(Symbol("GlobalProbe")), Et = (s, e) => (t) => {
2120
+ }), Ts = vt(Symbol("GlobalProbe")), Et = (s, e) => (t) => {
2084
2121
  const r = t.getStyle(s);
2085
2122
  return t.setStyle(s, e), (n) => {
2086
2123
  n && t.setStyle(s, r);
2087
2124
  };
2088
- }, Ct = (s, e) => (t) => {
2125
+ }, wt = (s, e) => (t) => {
2089
2126
  const r = t.getStyle(s);
2090
2127
  return e.on((n) => t.setStyle(s, n)), (n) => {
2091
2128
  n && t.setStyle(s, r);
@@ -2101,9 +2138,9 @@ const ht = /* @__PURE__ */ new Set([
2101
2138
  * @returns The renderable component for the specified attribute.
2102
2139
  *
2103
2140
  */
2104
- get: (s, e) => (t) => d.is(t) ? Ct(e, t) : Et(e, t)
2141
+ get: (s, e) => (t) => d.is(t) ? wt(e, t) : Et(e, t)
2105
2142
  }
2106
- ), xt = (s) => (e) => {
2143
+ ), Ct = (s) => (e) => {
2107
2144
  if (e.isBrowser()) {
2108
2145
  const t = s(e);
2109
2146
  if (t != null)
@@ -2111,11 +2148,11 @@ const ht = /* @__PURE__ */ new Set([
2111
2148
  }
2112
2149
  return () => {
2113
2150
  };
2114
- }, Ts = (s) => (e) => {
2151
+ }, Ss = (s) => (e) => {
2115
2152
  const t = s(e);
2116
2153
  return t == null ? () => {
2117
2154
  } : f(t)(e);
2118
- }, As = (s) => xt((e) => s(e.element)), Ss = (s) => (e) => {
2155
+ }, As = (s) => Ct((e) => s(e.element)), _s = (s) => (e) => {
2119
2156
  if (e.isHeadlessDOM()) {
2120
2157
  const t = s(e);
2121
2158
  if (t)
@@ -2137,16 +2174,16 @@ const ht = /* @__PURE__ */ new Set([
2137
2174
  return u == null || u(), a;
2138
2175
  },
2139
2176
  set: ({ mark: c, create: a }, u) => {
2140
- const { value: h, dispose: g, onUse: b } = a(u, r());
2141
- o.push(g), n(r().setProvider(c, h, b));
2177
+ const { value: h, dispose: g, onUse: y } = a(u, r());
2178
+ o.push(g), n(r().setProvider(c, h, y));
2142
2179
  }
2143
2180
  });
2144
2181
  return l == null ? () => {
2145
- } : T(
2182
+ } : b(
2146
2183
  f(l),
2147
2184
  M(() => o.forEach((c) => c()))
2148
2185
  )(r());
2149
- }, vs = (s, e, t) => ee(({ set: r }) => (r(s, e), t())), _s = (s, e) => ee(({ use: t }) => e(t(s))), ws = (...s) => (e) => ee(({ use: t }) => {
2186
+ }, vs = (s, e, t) => ee(({ set: r }) => (r(s, e), t())), Es = (s, e) => ee(({ use: t }) => e(t(s))), ws = (...s) => (e) => ee(({ use: t }) => {
2150
2187
  const r = s.map(t);
2151
2188
  return e(...r);
2152
2189
  });
@@ -2162,23 +2199,23 @@ export {
2162
2199
  P as Computed,
2163
2200
  as as Conjunction,
2164
2201
  us as DOMNode,
2165
- we as El,
2166
- Ee as ElNS,
2202
+ Ee as El,
2203
+ we as ElNS,
2167
2204
  Q as ElementPosition,
2168
2205
  v as Empty,
2169
- _t as Ensure,
2170
- hs as EnsureAll,
2171
- ds as ForEach,
2172
- T as Fragment,
2173
- ys as GlobalProbe,
2206
+ hs as Ensure,
2207
+ fs as EnsureAll,
2208
+ ps as ForEach,
2209
+ b as Fragment,
2210
+ Ts as GlobalProbe,
2174
2211
  It as HeadlessAdapter,
2175
2212
  D as HeadlessContext,
2176
2213
  at as HeadlessElement,
2177
- Se as HeadlessPortal,
2214
+ Ae as HeadlessPortal,
2178
2215
  ut as HeadlessText,
2179
- ps as MapSignal,
2216
+ gs as MapSignal,
2180
2217
  ce as MemoryStore,
2181
- gs as NotEmpty,
2218
+ ms as NotEmpty,
2182
2219
  yt as OnChecked,
2183
2220
  M as OnDispose,
2184
2221
  Y as OneOf,
@@ -2186,77 +2223,78 @@ export {
2186
2223
  os as OneOfKind,
2187
2224
  ls as OneOfTuple,
2188
2225
  cs as OneOfType,
2189
- vt as OneOfValue,
2190
- ms as Portal,
2191
- V as Prop,
2226
+ _t as OneOfValue,
2227
+ ys as Portal,
2228
+ j as Prop,
2192
2229
  vs as Provide,
2193
2230
  me as ProviderNotFoundError,
2194
2231
  Xe as RenderingError,
2195
2232
  De as Repeat,
2196
2233
  d as Signal,
2197
2234
  Ce as Task,
2198
- Vt as TextNode,
2199
- fs as Unless,
2200
- _s as Use,
2235
+ jt as TextNode,
2236
+ ds as Unless,
2237
+ Es as Use,
2201
2238
  ws as UseMany,
2202
- y as Value,
2239
+ T as Value,
2203
2240
  Le as When,
2204
- xt as WithBrowserCtx,
2205
- Ts as WithCtx,
2241
+ Ct as WithBrowserCtx,
2242
+ Ss as WithCtx,
2206
2243
  As as WithElement,
2207
- Ss as WithHeadlessCtx,
2244
+ _s as WithHeadlessCtx,
2208
2245
  ee as WithProvider,
2209
2246
  ye as _NODE_PLACEHOLDER_ATTR,
2210
2247
  Je as _getSelfOrParentElement,
2211
2248
  ge as _isElement,
2212
2249
  Ue as _makeGetter,
2213
2250
  We as _makeSetter,
2214
- j as _removeDOMNode,
2215
- _e as _signalText,
2216
- ve as _staticText,
2217
- Ht as animateSignal,
2251
+ V as _removeDOMNode,
2252
+ ve as _signalText,
2253
+ _e as _staticText,
2254
+ Mt as animateSignal,
2218
2255
  Fe as animateSignals,
2219
2256
  qt as aria,
2220
2257
  O as attr,
2221
2258
  Z as computed,
2222
2259
  qe as computedOf,
2223
2260
  Be as computedRecord,
2224
- jt as dataAttr,
2225
- je as effect,
2226
- Dt as effectOf,
2261
+ Vt as dataAttr,
2262
+ kt as delaySignal,
2263
+ Ve as effect,
2264
+ Lt as effectOf,
2227
2265
  Qt as emitChecked,
2228
2266
  Zt as emitPreventDefault,
2229
2267
  es as emitStopImmediatePropagation,
2230
2268
  Kt as emitStopPropagation,
2231
- bt as emitValue,
2232
- At as emitValueAsDate,
2233
- St as emitValueAsDateTime,
2269
+ Tt as emitValue,
2270
+ St as emitValueAsDate,
2271
+ At as emitValueAsDateTime,
2234
2272
  Yt as emitValueAsNullableDate,
2235
2273
  zt as emitValueAsNullableDateTime,
2236
- Tt as emitValueAsNumber,
2274
+ bt as emitValueAsNumber,
2237
2275
  Ie as endInterpolate,
2238
2276
  le as getWindow,
2239
2277
  Re as guessInterpolate,
2240
2278
  Wt as html,
2241
2279
  Ut as input,
2242
- Ne as interpolateDate,
2280
+ $e as interpolateDate,
2243
2281
  ke as interpolateNumber,
2244
- $e as interpolateString,
2245
- Lt as joinSignals,
2246
- Ot as localStorageProp,
2247
- wt as makeProbe,
2282
+ Ne as interpolateString,
2283
+ Pt as joinSignals,
2284
+ Dt as localStorageProp,
2285
+ vt as makeProbe,
2248
2286
  Ge as makeProviderMark,
2249
2287
  Gt as math,
2250
2288
  Bt as mathAttr,
2251
- kt as merge,
2289
+ Ht as merge,
2252
2290
  X as on,
2253
- E as prop,
2254
- $t as render,
2291
+ _ as prop,
2292
+ Nt as render,
2255
2293
  K as renderWithContext,
2256
2294
  f as renderableOfTNode,
2257
2295
  Rt as restoreTempoPlaceholders,
2258
- Nt as runHeadless,
2259
- Mt as sessionStorageProp,
2296
+ $t as runHeadless,
2297
+ Ot as sessionStorageProp,
2260
2298
  G as signal,
2261
2299
  ae as storedProp,
2262
2300
  bs as style,