@tempots/dom 24.0.0-next.1 → 24.0.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.js +339 -309
- package/package.json +1 -1
- package/renderable/probe.d.ts +10 -2
package/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var De = Object.defineProperty;
|
|
2
|
+
var X = (s) => {
|
|
3
3
|
throw TypeError(s);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var i = (s, e, t) =>
|
|
7
|
-
var A = (s, e, t) => (
|
|
8
|
-
const
|
|
9
|
-
const
|
|
5
|
+
var Oe = (s, e, t) => e in s ? De(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
6
|
+
var i = (s, e, t) => Oe(s, typeof e != "symbol" ? e + "" : e, t), Y = (s, e, t) => e.has(s) || X("Cannot " + t);
|
|
7
|
+
var A = (s, e, t) => (Y(s, e, "read from private field"), t ? t.call(s) : e.get(s)), Z = (s, e, t) => e.has(s) ? X("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(s) : e.set(s, t), U = (s, e, t, r) => (Y(s, e, "write to private field"), r ? r.call(s, t) : e.set(s, t), t);
|
|
8
|
+
const Ae = (s, e, t) => s + (e - s) * t;
|
|
9
|
+
const Me = (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 Oe = (s, e, t) => {
|
|
|
16
16
|
isNaN(c) && (c = 97), n += String.fromCharCode(l + (c - l) * t);
|
|
17
17
|
}
|
|
18
18
|
return n;
|
|
19
|
-
},
|
|
19
|
+
}, ke = (s, e, t) => new Date(s.getTime() + (e.getTime() - s.getTime()) * t), Le = (s, e) => e, $e = (s) => typeof s == "number" ? Ae : typeof s == "string" ? Me : s instanceof Date ? ke : Le;
|
|
20
20
|
var w;
|
|
21
21
|
class M {
|
|
22
22
|
/**
|
|
@@ -44,9 +44,9 @@ class M {
|
|
|
44
44
|
* @returns `true` if the counter is odd, `false` otherwise.
|
|
45
45
|
*/
|
|
46
46
|
i(this, "isOdd");
|
|
47
|
-
|
|
47
|
+
Z(this, w);
|
|
48
48
|
i(this, "dispose", () => {
|
|
49
|
-
A(this, w) != null && (A(this, w).dispose(),
|
|
49
|
+
A(this, w) != null && (A(this, w).dispose(), U(this, w, void 0));
|
|
50
50
|
});
|
|
51
51
|
this.index = e, this.total = t, this.counter = e + 1, this.isFirst = e === 0, this.isEven = e % 2 === 1, this.isOdd = e % 2 === 0;
|
|
52
52
|
}
|
|
@@ -55,11 +55,11 @@ class M {
|
|
|
55
55
|
* @returns `true` if the element is the last element, `false` otherwise.
|
|
56
56
|
*/
|
|
57
57
|
get isLast() {
|
|
58
|
-
return A(this, w) == null &&
|
|
58
|
+
return A(this, w) == null && U(this, w, this.total.map((e) => this.counter === e)), A(this, w);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
w = new WeakMap();
|
|
62
|
-
const
|
|
62
|
+
const k = class k {
|
|
63
63
|
/**
|
|
64
64
|
* Represents a signal with a value of type T.
|
|
65
65
|
*
|
|
@@ -148,7 +148,7 @@ const b = class b {
|
|
|
148
148
|
* @returns - A new Computed instance with the mapped value.
|
|
149
149
|
*/
|
|
150
150
|
i(this, "map", (e, t = (r, n) => r === n) => {
|
|
151
|
-
const r = new
|
|
151
|
+
const r = new C(() => {
|
|
152
152
|
try {
|
|
153
153
|
return e(this.get());
|
|
154
154
|
} catch (n) {
|
|
@@ -168,7 +168,7 @@ const b = class b {
|
|
|
168
168
|
* @returns A new Signal that emits the values of the resulting Signal.
|
|
169
169
|
*/
|
|
170
170
|
i(this, "flatMap", (e, t = (r, n) => r === n) => {
|
|
171
|
-
const r = new
|
|
171
|
+
const r = new C(() => {
|
|
172
172
|
try {
|
|
173
173
|
return e(this.get()).get();
|
|
174
174
|
} catch (n) {
|
|
@@ -197,7 +197,7 @@ const b = class b {
|
|
|
197
197
|
i(this, "_$");
|
|
198
198
|
i(this, "filter", (e, t) => {
|
|
199
199
|
let r = t ?? this.get();
|
|
200
|
-
const n = new
|
|
200
|
+
const n = new C(() => {
|
|
201
201
|
try {
|
|
202
202
|
const o = this.get();
|
|
203
203
|
return r = e(o) ? o : r;
|
|
@@ -219,7 +219,7 @@ const b = class b {
|
|
|
219
219
|
*/
|
|
220
220
|
i(this, "filterMap", (e, t, r = (n, o) => n === o) => {
|
|
221
221
|
let n = t;
|
|
222
|
-
const o = new
|
|
222
|
+
const o = new C(() => {
|
|
223
223
|
try {
|
|
224
224
|
const l = this.get(), c = e(l);
|
|
225
225
|
return n = c ?? n;
|
|
@@ -243,7 +243,7 @@ const b = class b {
|
|
|
243
243
|
* @returns A property that holds the mapped value and can be observed for changes.
|
|
244
244
|
*/
|
|
245
245
|
i(this, "mapAsync", (e, t, r, n = (o, l) => o === l) => {
|
|
246
|
-
const o =
|
|
246
|
+
const o = I(t, n);
|
|
247
247
|
let l = 0, c = new AbortController();
|
|
248
248
|
return o.onDispose(
|
|
249
249
|
this.on(async (a) => {
|
|
@@ -288,7 +288,7 @@ const b = class b {
|
|
|
288
288
|
* @param autoDisposeProp - Determines whether the derived property should be automatically disposed.
|
|
289
289
|
* @returns The derived property.
|
|
290
290
|
*/
|
|
291
|
-
i(this, "deriveProp", (e = !0) => this.feedProp(
|
|
291
|
+
i(this, "deriveProp", (e = !0) => this.feedProp(I(this.get()), e));
|
|
292
292
|
/**
|
|
293
293
|
* Returns a signal that emits the count of values received so far.
|
|
294
294
|
* @returns A signal that emits the count of values received so far.
|
|
@@ -340,8 +340,8 @@ const b = class b {
|
|
|
340
340
|
* @param equals - A function to compare two values of type O for equality. Defaults to strict equality (===).
|
|
341
341
|
* @returns - A Signal that represents the result of the Promise.
|
|
342
342
|
*/
|
|
343
|
-
i(
|
|
344
|
-
const o = new
|
|
343
|
+
i(k, "ofPromise", (e, t, r, n = (o, l) => o === l) => {
|
|
344
|
+
const o = new k(t, n);
|
|
345
345
|
return e.then((l) => o._setAndNotify(l, !1)).catch((l) => {
|
|
346
346
|
r != null ? o._setAndNotify(r(l), !1) : console.error(
|
|
347
347
|
"Unhandled promise rejection in Signal.ofPromise:",
|
|
@@ -354,13 +354,13 @@ i(b, "ofPromise", (e, t, r, n = (o, l) => o === l) => {
|
|
|
354
354
|
* @param value - The value to check.
|
|
355
355
|
* @returns `true` if the value is a Signal, `false` otherwise.
|
|
356
356
|
*/
|
|
357
|
-
i(
|
|
357
|
+
i(k, "is", (e) => (
|
|
358
358
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
359
359
|
e != null && e.$__signal__ === !0
|
|
360
360
|
));
|
|
361
|
-
let d =
|
|
362
|
-
const
|
|
363
|
-
class
|
|
361
|
+
let d = k;
|
|
362
|
+
const Ne = typeof queueMicrotask == "function" ? queueMicrotask : (s) => Promise.resolve().then(s);
|
|
363
|
+
class C extends d {
|
|
364
364
|
/**
|
|
365
365
|
* Represents a Signal object.
|
|
366
366
|
* @param _fn - The function that returns the value of the signal.
|
|
@@ -395,7 +395,7 @@ class T extends d {
|
|
|
395
395
|
*/
|
|
396
396
|
i(this, "_scheduleNotify", () => {
|
|
397
397
|
const t = ++this._scheduleCount;
|
|
398
|
-
|
|
398
|
+
Ne(() => {
|
|
399
399
|
this._scheduleCount !== t || this._disposed !== !1 || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn(), !1));
|
|
400
400
|
});
|
|
401
401
|
});
|
|
@@ -417,7 +417,7 @@ class T extends d {
|
|
|
417
417
|
return this.get();
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
const
|
|
420
|
+
const R = class R extends d {
|
|
421
421
|
constructor() {
|
|
422
422
|
super(...arguments);
|
|
423
423
|
/**
|
|
@@ -471,7 +471,7 @@ const I = class I extends d {
|
|
|
471
471
|
* @returns A Prop object representing the isomorphism.
|
|
472
472
|
*/
|
|
473
473
|
i(this, "iso", (t, r, n = (o, l) => o === l) => {
|
|
474
|
-
const o = new
|
|
474
|
+
const o = new R(t(this.get()), n);
|
|
475
475
|
return o.onDispose(this.on((l) => o.set(t(l)))), o.on((l) => this._setAndNotify(r(l), !1)), o;
|
|
476
476
|
});
|
|
477
477
|
/**
|
|
@@ -500,15 +500,15 @@ const I = class I extends d {
|
|
|
500
500
|
* @param value - The value to check.
|
|
501
501
|
* @returns `true` if the value is a Prop, `false` otherwise.
|
|
502
502
|
*/
|
|
503
|
-
i(
|
|
503
|
+
i(R, "is", (t) => (
|
|
504
504
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
505
505
|
t != null && t.$__prop__ === !0
|
|
506
506
|
));
|
|
507
|
-
let
|
|
508
|
-
const
|
|
509
|
-
const r = new
|
|
507
|
+
let H = R;
|
|
508
|
+
const G = (s, e, t = (r, n) => r === n) => {
|
|
509
|
+
const r = new C(s, t);
|
|
510
510
|
return e.forEach((n) => n.setDerivative(r)), r;
|
|
511
|
-
},
|
|
511
|
+
}, He = (s, e) => G(s, e).dispose, I = (s, e = (t, r) => t === r) => new H(s, e), j = (s, e = (t, r) => t === r) => new d(s, e), ee = () => typeof window < "u" ? window : void 0, p = {
|
|
512
512
|
/**
|
|
513
513
|
* Maps a value or a Signal to a new value.
|
|
514
514
|
* If the value is a Signal, it returns a new Signal with the mapped value.
|
|
@@ -531,7 +531,7 @@ const W = (s, e, t = (r, n) => r === n) => {
|
|
|
531
531
|
* @param equals - A function that determines if two values are equal. Defaults to strict equality (===).
|
|
532
532
|
* @returns A Signal instance.
|
|
533
533
|
*/
|
|
534
|
-
toSignal: (s, e) => d.is(s) ? s :
|
|
534
|
+
toSignal: (s, e) => d.is(s) ? s : j(s, e),
|
|
535
535
|
/**
|
|
536
536
|
* Wraps a value in a `Signal` if it is not already a `Signal`.
|
|
537
537
|
* If the value is `null` or `undefined`, it returns `null` or `undefined` respectively.
|
|
@@ -565,18 +565,18 @@ const W = (s, e, t = (r, n) => r === n) => {
|
|
|
565
565
|
dispose: (s) => {
|
|
566
566
|
d.is(s) && s.dispose();
|
|
567
567
|
}
|
|
568
|
-
},
|
|
568
|
+
}, yt = (...s) => (e, t) => {
|
|
569
569
|
const r = s.filter((n) => d.is(n));
|
|
570
|
-
return
|
|
570
|
+
return G(
|
|
571
571
|
() => e(...s.map((n) => p.get(n))),
|
|
572
572
|
r,
|
|
573
573
|
t
|
|
574
574
|
);
|
|
575
|
-
},
|
|
575
|
+
}, wt = (...s) => (e) => {
|
|
576
576
|
const t = s.filter((r) => d.is(r));
|
|
577
|
-
|
|
577
|
+
He(() => e(...s.map(p.get)), t);
|
|
578
578
|
};
|
|
579
|
-
class
|
|
579
|
+
class te {
|
|
580
580
|
constructor() {
|
|
581
581
|
i(this, "_store", /* @__PURE__ */ new Map());
|
|
582
582
|
/**
|
|
@@ -595,7 +595,7 @@ class ee {
|
|
|
595
595
|
});
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
const
|
|
598
|
+
const se = ({
|
|
599
599
|
key: s,
|
|
600
600
|
defaultValue: e,
|
|
601
601
|
store: t,
|
|
@@ -604,67 +604,67 @@ const te = ({
|
|
|
604
604
|
equals: o = (c, a) => c === a,
|
|
605
605
|
onLoad: l = (c) => c
|
|
606
606
|
}) => {
|
|
607
|
-
const c = t.getItem(s), a = new
|
|
607
|
+
const c = t.getItem(s), a = new H(
|
|
608
608
|
c != null ? l(n(c)) : typeof e == "function" ? e() : e,
|
|
609
609
|
o
|
|
610
610
|
);
|
|
611
611
|
return a.on((f) => {
|
|
612
612
|
t.setItem(s, r(f));
|
|
613
613
|
}), a;
|
|
614
|
-
},
|
|
614
|
+
}, _t = (s) => {
|
|
615
615
|
var e;
|
|
616
|
-
return
|
|
616
|
+
return se({
|
|
617
617
|
...s,
|
|
618
|
-
store: ((e =
|
|
618
|
+
store: ((e = ee()) == null ? void 0 : e.localStorage) ?? new te()
|
|
619
619
|
});
|
|
620
|
-
},
|
|
620
|
+
}, vt = (s) => {
|
|
621
621
|
var e;
|
|
622
|
-
return
|
|
622
|
+
return se({
|
|
623
623
|
...s,
|
|
624
|
-
store: ((e =
|
|
624
|
+
store: ((e = ee()) == null ? void 0 : e.sessionStorage) ?? new te()
|
|
625
625
|
});
|
|
626
626
|
};
|
|
627
|
-
function
|
|
627
|
+
function K(s) {
|
|
628
628
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame(s) : setTimeout(s, 0);
|
|
629
629
|
}
|
|
630
|
-
const
|
|
631
|
-
const n = (r == null ? void 0 : r.duration) ?? 300, o = (r == null ? void 0 : r.easing) ?? ((y) => y), l = (r == null ? void 0 : r.equals) ?? ((y,
|
|
632
|
-
let c = r == null ? void 0 : r.interpolate, a = s, f = e(), h = performance.now(),
|
|
633
|
-
const
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
}),
|
|
637
|
-
y.setDerivative(
|
|
630
|
+
const Ie = (s, e, t, r) => {
|
|
631
|
+
const n = (r == null ? void 0 : r.duration) ?? 300, o = (r == null ? void 0 : r.easing) ?? ((y) => y), l = (r == null ? void 0 : r.equals) ?? ((y, N) => y === N);
|
|
632
|
+
let c = r == null ? void 0 : r.interpolate, a = s, f = e(), h = performance.now(), P = null, O = !0;
|
|
633
|
+
const F = new C(e, l), T = I(s, l);
|
|
634
|
+
T.onDispose(() => {
|
|
635
|
+
P !== null && cancelAnimationFrame(P);
|
|
636
|
+
}), T.onDispose(F.dispose), t.forEach((y) => {
|
|
637
|
+
y.setDerivative(F), y.onDispose(T.dispose);
|
|
638
638
|
});
|
|
639
|
-
const
|
|
640
|
-
f = y, h = performance.now(), a =
|
|
641
|
-
},
|
|
642
|
-
const
|
|
643
|
-
c == null && (c =
|
|
644
|
-
let
|
|
645
|
-
|
|
639
|
+
const be = (y) => {
|
|
640
|
+
f = y, h = performance.now(), a = T.value, O && (O = !1, P = K(J));
|
|
641
|
+
}, J = () => {
|
|
642
|
+
const N = (performance.now() - h) / p.get(n), Ee = o(N);
|
|
643
|
+
c == null && (c = $e(a));
|
|
644
|
+
let Q = c(a, f, Ee);
|
|
645
|
+
N >= 1 ? (O = !0, Q = f) : P = K(J), T.set(Q);
|
|
646
646
|
};
|
|
647
|
-
return
|
|
648
|
-
},
|
|
647
|
+
return F.on(be), T;
|
|
648
|
+
}, St = (s, e) => {
|
|
649
649
|
const { initialValue: t, ...r } = e ?? {};
|
|
650
|
-
return
|
|
650
|
+
return Ie(
|
|
651
651
|
t ?? s.get(),
|
|
652
652
|
s.get,
|
|
653
653
|
[s],
|
|
654
654
|
r
|
|
655
655
|
);
|
|
656
|
-
},
|
|
656
|
+
}, Pt = (s, e) => {
|
|
657
657
|
const { signals: t, literals: r } = Object.entries(s).reduce(
|
|
658
658
|
({ signals: o, literals: l }, [c, a]) => (d.is(a) ? o.push([c, a]) : l[c] = a, { signals: o, literals: l }),
|
|
659
659
|
{ signals: [], literals: {} }
|
|
660
660
|
), n = t.map(([, o]) => o);
|
|
661
|
-
return
|
|
662
|
-
},
|
|
661
|
+
return G(() => (t.forEach(([o, l]) => r[o] = l.value), e(r)), n);
|
|
662
|
+
}, re = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]), ne = /* @__PURE__ */ new Set([
|
|
663
663
|
"rowSpan",
|
|
664
664
|
"colSpan",
|
|
665
665
|
"tabIndex",
|
|
666
666
|
"valueAsNumber"
|
|
667
|
-
]),
|
|
667
|
+
]), ie = /* @__PURE__ */ new Set(["valueAsDate"]), oe = /* @__PURE__ */ new Set([
|
|
668
668
|
"value",
|
|
669
669
|
"textContent",
|
|
670
670
|
"innerText",
|
|
@@ -672,26 +672,26 @@ const $e = (s, e, t, r) => {
|
|
|
672
672
|
"outerHTML",
|
|
673
673
|
"className",
|
|
674
674
|
"classList"
|
|
675
|
-
]),
|
|
675
|
+
]), Ve = (s, e) => re.has(s) ? (t) => {
|
|
676
676
|
t == null ? e[s] = null : e[s] = !!t;
|
|
677
|
-
} : re.has(s) ? (t) => {
|
|
678
|
-
t == null ? e[s] = null : e[s] = Number(t);
|
|
679
677
|
} : ne.has(s) ? (t) => {
|
|
680
|
-
t == null ? e[s] = null : e[s] = t;
|
|
678
|
+
t == null ? e[s] = null : e[s] = Number(t);
|
|
681
679
|
} : ie.has(s) ? (t) => {
|
|
680
|
+
t == null ? e[s] = null : e[s] = t;
|
|
681
|
+
} : oe.has(s) ? (t) => {
|
|
682
682
|
t == null ? e[s] = null : e[s] = String(t);
|
|
683
683
|
} : (t) => {
|
|
684
684
|
t == null ? e.removeAttribute(s) : e.setAttribute(s, t);
|
|
685
|
-
},
|
|
685
|
+
}, Re = (s, e) => re.has(s) ? () => !!e[s] : ne.has(s) ? () => Number(e[s]) : ie.has(s) ? () => e[s] : oe.has(s) ? () => String(e[s]) : () => e.getAttribute(s), W = (s) => {
|
|
686
686
|
const e = s;
|
|
687
687
|
e && e.onblur && (e.onblur = null), !(!s || s.ownerDocument === void 0) && s.parentElement && s.parentElement.removeChild(s);
|
|
688
|
-
},
|
|
689
|
-
class
|
|
688
|
+
}, je = (s) => le(s) ? s : s.parentElement, le = (s) => s.nodeType === 1;
|
|
689
|
+
class ce extends Error {
|
|
690
690
|
constructor(e) {
|
|
691
691
|
super(`Provider not found: ${e.description}`);
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
class
|
|
694
|
+
class b {
|
|
695
695
|
/**
|
|
696
696
|
* Constructs a new `DOMContext` instance.
|
|
697
697
|
*
|
|
@@ -773,7 +773,7 @@ class P {
|
|
|
773
773
|
* @param element - The DOM element to use in the new `DOMContext` instance.
|
|
774
774
|
* @returns A new `DOMContext` instance with the provided `element`.
|
|
775
775
|
*/
|
|
776
|
-
i(this, "withElement", (e) => new
|
|
776
|
+
i(this, "withElement", (e) => new b(this.document, e, void 0, this.providers));
|
|
777
777
|
/**
|
|
778
778
|
* Creates a new `DOMContext` instance with a reference to a DOM element selected by the provided `selector`.
|
|
779
779
|
* @param selector - The CSS selector for the target DOM element.
|
|
@@ -791,7 +791,7 @@ class P {
|
|
|
791
791
|
* @param reference - The optional `Text` node to use as the reference for the new `DOMContext`.
|
|
792
792
|
* @returns A new `DOMContext` instance with the specified reference.
|
|
793
793
|
*/
|
|
794
|
-
i(this, "withReference", (e) => new
|
|
794
|
+
i(this, "withReference", (e) => new b(this.document, this.element, e, this.providers));
|
|
795
795
|
/**
|
|
796
796
|
* Returns a new HTMLDOMContext instance with the specified providers merged into
|
|
797
797
|
* the existing providers.
|
|
@@ -799,7 +799,7 @@ class P {
|
|
|
799
799
|
* @param providers - An object containing the providers to be merged into the existing providers.
|
|
800
800
|
* @returns A new HTMLDOMContext instance with the merged providers.
|
|
801
801
|
*/
|
|
802
|
-
i(this, "withProviders", (e) => new
|
|
802
|
+
i(this, "withProviders", (e) => new b(this.document, this.element, this.reference, {
|
|
803
803
|
...this.providers,
|
|
804
804
|
...e
|
|
805
805
|
}));
|
|
@@ -812,11 +812,11 @@ class P {
|
|
|
812
812
|
*/
|
|
813
813
|
i(this, "getProvider", (e) => {
|
|
814
814
|
if (this.providers[e] === void 0)
|
|
815
|
-
throw new
|
|
815
|
+
throw new ce(e);
|
|
816
816
|
return this.providers[e];
|
|
817
817
|
});
|
|
818
818
|
i(this, "clear", (e) => {
|
|
819
|
-
e && (this.reference !== void 0 ?
|
|
819
|
+
e && (this.reference !== void 0 ? W(this.reference) : W(this.element));
|
|
820
820
|
});
|
|
821
821
|
/**
|
|
822
822
|
* Adds classes to the element.
|
|
@@ -871,8 +871,8 @@ class P {
|
|
|
871
871
|
*/
|
|
872
872
|
i(this, "getStyle", (e) => this.element.style.getPropertyValue(e));
|
|
873
873
|
i(this, "makeAccessors", (e) => ({
|
|
874
|
-
get:
|
|
875
|
-
set:
|
|
874
|
+
get: Re(e, this.element),
|
|
875
|
+
set: Ve(e, this.element)
|
|
876
876
|
}));
|
|
877
877
|
this.document = e, this.element = t, this.reference = r, this.providers = n;
|
|
878
878
|
}
|
|
@@ -884,18 +884,18 @@ class P {
|
|
|
884
884
|
* @returns A new `DOMContext` instance.
|
|
885
885
|
*/
|
|
886
886
|
static of(e, t) {
|
|
887
|
-
return new
|
|
887
|
+
return new b(e.ownerDocument, e, t, {});
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
const
|
|
891
|
-
class
|
|
890
|
+
const m = Symbol("class"), _ = Symbol("style"), x = Symbol("handler"), ae = () => Math.random().toString(36).substring(2, 15), qe = (s) => s.replace(/<[^>]*>?/g, "");
|
|
891
|
+
class ue {
|
|
892
892
|
constructor(e) {
|
|
893
|
-
i(this, "id",
|
|
893
|
+
i(this, "id", ae());
|
|
894
894
|
i(this, "properties", {});
|
|
895
895
|
i(this, "children", []);
|
|
896
896
|
i(this, "isElement", () => !0);
|
|
897
897
|
i(this, "isText", () => !1);
|
|
898
|
-
i(this, "getText", () => this.properties.innerText != null ? this.properties.innerText : this.properties.innerHTML != null ?
|
|
898
|
+
i(this, "getText", () => this.properties.innerText != null ? this.properties.innerText : this.properties.innerHTML != null ? qe(this.properties.innerHTML) : this.children.map((e) => e.getText()).join(""));
|
|
899
899
|
i(this, "removeChild", (e) => {
|
|
900
900
|
const t = this.children.indexOf(e);
|
|
901
901
|
t !== -1 && this.children.splice(t, 1);
|
|
@@ -916,7 +916,7 @@ class ae {
|
|
|
916
916
|
i(this, "getInnerText", () => this.properties.innerText ?? "");
|
|
917
917
|
i(this, "hasInnerText", () => this.properties.innerText != null);
|
|
918
918
|
i(this, "hasChildren", () => this.children.length > 0);
|
|
919
|
-
i(this, "hasClasses", () => this.properties[
|
|
919
|
+
i(this, "hasClasses", () => this.properties[m] != null);
|
|
920
920
|
i(this, "hasStyles", () => this.properties[_] != null);
|
|
921
921
|
i(this, "hasAttributes", () => Object.keys(this.properties).length > 0);
|
|
922
922
|
i(this, "hasHandlers", () => this.properties[x] != null);
|
|
@@ -948,7 +948,7 @@ class ae {
|
|
|
948
948
|
var r;
|
|
949
949
|
if (e.length === 0)
|
|
950
950
|
return;
|
|
951
|
-
const t = (r = this.properties)[
|
|
951
|
+
const t = (r = this.properties)[m] ?? (r[m] = []);
|
|
952
952
|
e.forEach((n) => {
|
|
953
953
|
t.includes(n) || t.push(n);
|
|
954
954
|
});
|
|
@@ -957,18 +957,18 @@ class ae {
|
|
|
957
957
|
var r;
|
|
958
958
|
if (e.length === 0)
|
|
959
959
|
return;
|
|
960
|
-
const t = (r = this.properties)[
|
|
960
|
+
const t = (r = this.properties)[m] ?? (r[m] = []);
|
|
961
961
|
e.forEach((n) => {
|
|
962
962
|
const o = t.indexOf(n);
|
|
963
963
|
o !== -1 && t.splice(o, 1);
|
|
964
|
-
}), t.length === 0 && delete this.properties[
|
|
964
|
+
}), t.length === 0 && delete this.properties[m];
|
|
965
965
|
});
|
|
966
|
-
i(this, "getClasses", () => this.properties[
|
|
966
|
+
i(this, "getClasses", () => this.properties[m] ?? []);
|
|
967
967
|
i(this, "getAttributes", () => Object.entries(this.properties).filter(
|
|
968
968
|
([e]) => !["innerText", "innerHTML"].includes(e)
|
|
969
969
|
));
|
|
970
970
|
i(this, "getVisibleAttributes", () => Reflect.ownKeys(this.properties).flatMap(
|
|
971
|
-
(e) => e ===
|
|
971
|
+
(e) => e === m ? [["class", this.getClasses()]] : e === _ ? [["style", this.getStyles()]] : typeof e == "string" ? [[e, String(this.properties[e])]] : []
|
|
972
972
|
));
|
|
973
973
|
i(this, "setStyle", (e, t) => {
|
|
974
974
|
var n;
|
|
@@ -990,21 +990,21 @@ class ae {
|
|
|
990
990
|
this.parent = e;
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
|
-
const
|
|
994
|
-
class
|
|
993
|
+
const Be = (s) => s.replace(/"/g, """), Fe = (s) => s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
994
|
+
class Ue extends ue {
|
|
995
995
|
constructor(t, r, n) {
|
|
996
996
|
super(n);
|
|
997
997
|
i(this, "isPortal", () => !1);
|
|
998
998
|
i(this, "toHTML", () => {
|
|
999
999
|
const t = this.children.map((l) => l.toHTML()).join(""), r = this.namespace ? ` xmlns="${this.namespace}"` : "";
|
|
1000
1000
|
let n = null;
|
|
1001
|
-
const o = this.getVisibleAttributes().map(([l, c]) => l === "class" ? ` class="${c.join(" ")}"` : l === "style" ? typeof c == "string" ? ` style="${c}"` : ` style="${Object.entries(c).map(([a, f]) => `${a}: ${f};`).join(" ")}"` :
|
|
1002
|
-
return
|
|
1001
|
+
const o = this.getVisibleAttributes().map(([l, c]) => l === "class" ? ` class="${c.join(" ")}"` : l === "style" ? typeof c == "string" ? ` style="${c}"` : ` style="${Object.entries(c).map(([a, f]) => `${a}: ${f};`).join(" ")}"` : Ge.has(l) ? ` ${l}` : l === "innerHTML" ? (n = c, "") : l === "innerText" ? (n = Fe(c), "") : ` ${l}="${Be(c)}"`).join("");
|
|
1002
|
+
return ze.has(this.tagName) && t === "" ? `<${this.tagName}${r}${o} />` : `<${this.tagName}${r}${o}>${n ?? t}</${this.tagName}>`;
|
|
1003
1003
|
});
|
|
1004
1004
|
this.tagName = t, this.namespace = r;
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
|
-
class
|
|
1007
|
+
class he extends ue {
|
|
1008
1008
|
constructor(t, r) {
|
|
1009
1009
|
super(r);
|
|
1010
1010
|
i(this, "isPortal", () => !0);
|
|
@@ -1013,9 +1013,9 @@ class ue extends ae {
|
|
|
1013
1013
|
this.selector = t;
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
|
-
class
|
|
1016
|
+
class We {
|
|
1017
1017
|
constructor(e) {
|
|
1018
|
-
i(this, "id",
|
|
1018
|
+
i(this, "id", ae());
|
|
1019
1019
|
i(this, "isElement", () => !1);
|
|
1020
1020
|
i(this, "isText", () => !0);
|
|
1021
1021
|
i(this, "getText", () => this.text);
|
|
@@ -1033,7 +1033,7 @@ class E {
|
|
|
1033
1033
|
this.element.children.push(e);
|
|
1034
1034
|
});
|
|
1035
1035
|
i(this, "makeChildElement", (e, t) => {
|
|
1036
|
-
const r = new
|
|
1036
|
+
const r = new Ue(e, t, this.element);
|
|
1037
1037
|
return this.appendOrInsert(r), new E(
|
|
1038
1038
|
r,
|
|
1039
1039
|
void 0,
|
|
@@ -1042,7 +1042,7 @@ class E {
|
|
|
1042
1042
|
);
|
|
1043
1043
|
});
|
|
1044
1044
|
i(this, "makeChildText", (e) => {
|
|
1045
|
-
const t = new
|
|
1045
|
+
const t = new We(e);
|
|
1046
1046
|
return this.appendOrInsert(t), new E(
|
|
1047
1047
|
this.element,
|
|
1048
1048
|
t,
|
|
@@ -1059,7 +1059,7 @@ class E {
|
|
|
1059
1059
|
});
|
|
1060
1060
|
i(this, "makeRef", () => this.makeChildText(""));
|
|
1061
1061
|
i(this, "makePortal", (e) => {
|
|
1062
|
-
const t = new
|
|
1062
|
+
const t = new he(e, this.element);
|
|
1063
1063
|
return this.appendOrInsert(t), new E(
|
|
1064
1064
|
t,
|
|
1065
1065
|
void 0,
|
|
@@ -1073,7 +1073,7 @@ class E {
|
|
|
1073
1073
|
}));
|
|
1074
1074
|
i(this, "getProvider", (e) => {
|
|
1075
1075
|
if (this.providers[e] === void 0)
|
|
1076
|
-
throw new
|
|
1076
|
+
throw new ce(e);
|
|
1077
1077
|
return this.providers[e];
|
|
1078
1078
|
});
|
|
1079
1079
|
i(this, "clear", (e) => {
|
|
@@ -1091,30 +1091,30 @@ class E {
|
|
|
1091
1091
|
this.element = e, this.reference = t, this.container = r, this.providers = n;
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
const
|
|
1094
|
+
const Ge = /* @__PURE__ */ new Set([
|
|
1095
1095
|
"checked",
|
|
1096
1096
|
"disabled",
|
|
1097
1097
|
"multiple",
|
|
1098
1098
|
"readonly",
|
|
1099
1099
|
"required",
|
|
1100
1100
|
"selected"
|
|
1101
|
-
]),
|
|
1101
|
+
]), ze = /* @__PURE__ */ new Set(["img", "br", "hr", "input", "link", "meta"]), fe = (s) => (e) => {
|
|
1102
1102
|
const t = e.makeChildText(s);
|
|
1103
1103
|
return (r) => t.clear(r);
|
|
1104
|
-
},
|
|
1104
|
+
}, de = (s) => (e) => {
|
|
1105
1105
|
const t = e.makeChildText(s.value), r = s.on((n) => t.setText(n));
|
|
1106
1106
|
return (n) => {
|
|
1107
1107
|
r(), t.clear(n);
|
|
1108
1108
|
};
|
|
1109
|
-
},
|
|
1109
|
+
}, Tt = (s) => d.is(s) ? de(s) : fe(s), g = (...s) => (e) => {
|
|
1110
1110
|
const t = s.map((r) => u(r)(e));
|
|
1111
1111
|
return (r) => {
|
|
1112
1112
|
t.forEach((n) => n(r));
|
|
1113
1113
|
};
|
|
1114
1114
|
}, v = () => () => {
|
|
1115
|
-
},
|
|
1115
|
+
}, Je = (s) => (e) => (e.addClasses(s), (t) => {
|
|
1116
1116
|
t && e.removeClasses(s);
|
|
1117
|
-
}),
|
|
1117
|
+
}), Qe = (s) => (e) => {
|
|
1118
1118
|
let t = [];
|
|
1119
1119
|
const r = s.on((n) => {
|
|
1120
1120
|
e.removeClasses(t), t = (n ?? "").split(" ").filter((o) => o.length > 0), e.addClasses(t);
|
|
@@ -1122,12 +1122,12 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1122
1122
|
return (n) => {
|
|
1123
1123
|
r(), n && e.removeClasses(t), t.length = 0;
|
|
1124
1124
|
};
|
|
1125
|
-
},
|
|
1125
|
+
}, L = (s, e) => (t) => {
|
|
1126
1126
|
const { get: r, set: n } = t.makeAccessors(s), o = r();
|
|
1127
1127
|
return n(e), (l) => {
|
|
1128
1128
|
l && n(o);
|
|
1129
1129
|
};
|
|
1130
|
-
},
|
|
1130
|
+
}, $ = (s, e) => (t) => {
|
|
1131
1131
|
const { get: r, set: n } = t.makeAccessors(s), o = r(), l = e.on(n);
|
|
1132
1132
|
return (c) => {
|
|
1133
1133
|
l(), c && n(o);
|
|
@@ -1146,17 +1146,17 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1146
1146
|
* @returns The renderable component for the specified attribute.
|
|
1147
1147
|
*
|
|
1148
1148
|
*/
|
|
1149
|
-
get: (s, e) => e === "class" ? (t) => d.is(t) ?
|
|
1149
|
+
get: (s, e) => e === "class" ? (t) => d.is(t) ? Qe(t) : Je(
|
|
1150
1150
|
(t ?? "").split(" ").filter((r) => r.length > 0)
|
|
1151
|
-
) : (t) => d.is(t) ?
|
|
1151
|
+
) : (t) => d.is(t) ? $(
|
|
1152
1152
|
e,
|
|
1153
1153
|
t
|
|
1154
|
-
) :
|
|
1154
|
+
) : L(
|
|
1155
1155
|
e,
|
|
1156
1156
|
t
|
|
1157
1157
|
)
|
|
1158
1158
|
}
|
|
1159
|
-
),
|
|
1159
|
+
), xt = new Proxy(
|
|
1160
1160
|
{},
|
|
1161
1161
|
{
|
|
1162
1162
|
/**
|
|
@@ -1167,12 +1167,12 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1167
1167
|
* @returns The renderable component for the specified attribute.
|
|
1168
1168
|
*
|
|
1169
1169
|
*/
|
|
1170
|
-
get: (s, e) => (t) => d.is(t) ?
|
|
1170
|
+
get: (s, e) => (t) => d.is(t) ? $(
|
|
1171
1171
|
`data-${e}`,
|
|
1172
1172
|
t
|
|
1173
|
-
) :
|
|
1173
|
+
) : L(`data-${e}`, t)
|
|
1174
1174
|
}
|
|
1175
|
-
),
|
|
1175
|
+
), Ct = new Proxy(
|
|
1176
1176
|
{},
|
|
1177
1177
|
{
|
|
1178
1178
|
/**
|
|
@@ -1183,15 +1183,15 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1183
1183
|
* @returns The renderable component for the specified attribute.
|
|
1184
1184
|
*
|
|
1185
1185
|
*/
|
|
1186
|
-
get: (s, e) => (t) => d.is(t) ?
|
|
1186
|
+
get: (s, e) => (t) => d.is(t) ? $(
|
|
1187
1187
|
`aria-${e}`,
|
|
1188
1188
|
t
|
|
1189
|
-
) :
|
|
1189
|
+
) : L(
|
|
1190
1190
|
`aria-${e}`,
|
|
1191
1191
|
t
|
|
1192
1192
|
)
|
|
1193
1193
|
}
|
|
1194
|
-
),
|
|
1194
|
+
), bt = new Proxy(
|
|
1195
1195
|
{},
|
|
1196
1196
|
{
|
|
1197
1197
|
/**
|
|
@@ -1202,15 +1202,15 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1202
1202
|
* @returns The renderable component for the specified attribute.
|
|
1203
1203
|
*
|
|
1204
1204
|
*/
|
|
1205
|
-
get: (s, e) => (t) => d.is(t) ?
|
|
1205
|
+
get: (s, e) => (t) => d.is(t) ? $(
|
|
1206
1206
|
e,
|
|
1207
1207
|
t
|
|
1208
|
-
) :
|
|
1208
|
+
) : L(
|
|
1209
1209
|
e,
|
|
1210
1210
|
t
|
|
1211
1211
|
)
|
|
1212
1212
|
}
|
|
1213
|
-
),
|
|
1213
|
+
), Et = new Proxy(
|
|
1214
1214
|
{},
|
|
1215
1215
|
{
|
|
1216
1216
|
/**
|
|
@@ -1220,10 +1220,10 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1220
1220
|
* @returns The renderable component for the specified attribute.
|
|
1221
1221
|
*
|
|
1222
1222
|
*/
|
|
1223
|
-
get: (s, e) => (t) => d.is(t) ?
|
|
1223
|
+
get: (s, e) => (t) => d.is(t) ? $(
|
|
1224
1224
|
e,
|
|
1225
1225
|
t
|
|
1226
|
-
) :
|
|
1226
|
+
) : L(
|
|
1227
1227
|
e,
|
|
1228
1228
|
t
|
|
1229
1229
|
)
|
|
@@ -1232,25 +1232,25 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1232
1232
|
if (s == null)
|
|
1233
1233
|
return v;
|
|
1234
1234
|
if (Array.isArray(s))
|
|
1235
|
-
return
|
|
1235
|
+
return g(...s.map(u));
|
|
1236
1236
|
if (typeof s == "string")
|
|
1237
|
-
return he(s);
|
|
1238
|
-
if (d.is(s))
|
|
1239
1237
|
return fe(s);
|
|
1238
|
+
if (d.is(s))
|
|
1239
|
+
return de(s);
|
|
1240
1240
|
if (typeof s == "function")
|
|
1241
1241
|
return s;
|
|
1242
1242
|
throw new Error(`Unknown type: '${typeof s}' for child: ${s}`);
|
|
1243
|
-
},
|
|
1243
|
+
}, pe = (s, ...e) => (t) => {
|
|
1244
1244
|
const r = t.makeChildElement(s, void 0), n = e.map((o) => u(o)(r));
|
|
1245
1245
|
return (o) => {
|
|
1246
1246
|
n.forEach((l) => l(!1)), r.clear(o);
|
|
1247
1247
|
};
|
|
1248
|
-
},
|
|
1248
|
+
}, ge = (s, e, ...t) => (r) => {
|
|
1249
1249
|
const n = r.makeChildElement(s, e), o = t.map((l) => u(l)(n));
|
|
1250
1250
|
return (l) => {
|
|
1251
1251
|
o.forEach((c) => c(!1)), n.clear(l);
|
|
1252
1252
|
};
|
|
1253
|
-
},
|
|
1253
|
+
}, Dt = new Proxy(
|
|
1254
1254
|
{},
|
|
1255
1255
|
{
|
|
1256
1256
|
/**
|
|
@@ -1258,9 +1258,9 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1258
1258
|
* @param tagName - The HTML tag name.
|
|
1259
1259
|
* @returns A renderable function that creates and appends the HTML element to the DOM.
|
|
1260
1260
|
*/
|
|
1261
|
-
get: (s, e) => (...t) =>
|
|
1261
|
+
get: (s, e) => (...t) => pe(e, t.flatMap(u))
|
|
1262
1262
|
}
|
|
1263
|
-
),
|
|
1263
|
+
), Ot = new Proxy(
|
|
1264
1264
|
{},
|
|
1265
1265
|
{
|
|
1266
1266
|
/**
|
|
@@ -1268,9 +1268,9 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1268
1268
|
* @param type - The input type name.
|
|
1269
1269
|
* @returns A renderable function that creates and appends the HTMLInput element to the DOM.
|
|
1270
1270
|
*/
|
|
1271
|
-
get: (s, e) => (...t) =>
|
|
1271
|
+
get: (s, e) => (...t) => pe("input", D.type(e), ...t)
|
|
1272
1272
|
}
|
|
1273
|
-
),
|
|
1273
|
+
), Xe = "http://www.w3.org/2000/svg", At = new Proxy(
|
|
1274
1274
|
{},
|
|
1275
1275
|
{
|
|
1276
1276
|
/**
|
|
@@ -1278,9 +1278,9 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1278
1278
|
* @param tagName - The SVG tag name.
|
|
1279
1279
|
* @returns A renderable function that creates and appends the SVG element to the DOM.
|
|
1280
1280
|
*/
|
|
1281
|
-
get: (s, e) => (...t) =>
|
|
1281
|
+
get: (s, e) => (...t) => ge(e, Xe, t.flatMap(u))
|
|
1282
1282
|
}
|
|
1283
|
-
),
|
|
1283
|
+
), Ye = "http://www.w3.org/1998/Math/MathML", Mt = new Proxy(
|
|
1284
1284
|
{},
|
|
1285
1285
|
{
|
|
1286
1286
|
/**
|
|
@@ -1288,11 +1288,11 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1288
1288
|
* @param tagName - The Math tag name.
|
|
1289
1289
|
* @returns A renderable function that creates and appends the Math element to the DOM.
|
|
1290
1290
|
*/
|
|
1291
|
-
get: (s, e) => (...t) =>
|
|
1291
|
+
get: (s, e) => (...t) => ge(e, Ye, t.flatMap(u))
|
|
1292
1292
|
}
|
|
1293
|
-
),
|
|
1293
|
+
), me = (s, e) => {
|
|
1294
1294
|
if (typeof e == "function")
|
|
1295
|
-
return
|
|
1295
|
+
return me(s, { then: e });
|
|
1296
1296
|
const t = e.pending != null ? u(e.pending) : v, r = e.then, n = e.error != null ? (o) => u(e.error(o)) : () => v;
|
|
1297
1297
|
return (o) => {
|
|
1298
1298
|
let l = !0;
|
|
@@ -1309,14 +1309,14 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1309
1309
|
l = !1, f(h), a.clear(h);
|
|
1310
1310
|
};
|
|
1311
1311
|
};
|
|
1312
|
-
},
|
|
1312
|
+
}, kt = (s, e) => me(() => s, e), ye = (s, e) => (t) => t.on(s, e), Ze = (s) => ye("click", (e) => {
|
|
1313
1313
|
e.preventDefault();
|
|
1314
1314
|
const t = e.target;
|
|
1315
1315
|
setTimeout(() => {
|
|
1316
1316
|
const r = t.ownerDocument != null ? t == null ? void 0 : t.checked : void 0;
|
|
1317
1317
|
r != null && s(!r);
|
|
1318
1318
|
}, 0);
|
|
1319
|
-
}),
|
|
1319
|
+
}), q = new Proxy(
|
|
1320
1320
|
{},
|
|
1321
1321
|
{
|
|
1322
1322
|
/**
|
|
@@ -1324,15 +1324,15 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1324
1324
|
* @param fn - The function to call when the event is triggered.
|
|
1325
1325
|
* @returns A `Renderable` function that adds the event listener to the element.
|
|
1326
1326
|
*/
|
|
1327
|
-
get: (s, e) => (t) =>
|
|
1327
|
+
get: (s, e) => (t) => ye(e, t)
|
|
1328
1328
|
}
|
|
1329
|
-
),
|
|
1329
|
+
), Ke = (s) => (e) => {
|
|
1330
1330
|
const t = e.target;
|
|
1331
1331
|
s(t.value);
|
|
1332
|
-
},
|
|
1332
|
+
}, et = (s) => (e) => {
|
|
1333
1333
|
const t = e.target;
|
|
1334
1334
|
s(t.valueAsNumber);
|
|
1335
|
-
},
|
|
1335
|
+
}, tt = (s) => (e) => {
|
|
1336
1336
|
const t = e.target;
|
|
1337
1337
|
if (t.value === "")
|
|
1338
1338
|
return;
|
|
@@ -1342,7 +1342,7 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1342
1342
|
Number(r[2].substring(0, 2))
|
|
1343
1343
|
);
|
|
1344
1344
|
s(n);
|
|
1345
|
-
},
|
|
1345
|
+
}, st = (s) => (e) => {
|
|
1346
1346
|
const t = e.target;
|
|
1347
1347
|
if (t.value === "")
|
|
1348
1348
|
return;
|
|
@@ -1352,25 +1352,25 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1352
1352
|
Number(n[2])
|
|
1353
1353
|
), l = r[1].split(":");
|
|
1354
1354
|
o.setHours(Number(l[0])), o.setMinutes(Number(l[1])), o.setSeconds(Number(l[2])), s(o);
|
|
1355
|
-
},
|
|
1355
|
+
}, Lt = (s) => (e) => {
|
|
1356
1356
|
const t = e.target;
|
|
1357
1357
|
s(t.checked);
|
|
1358
|
-
},
|
|
1358
|
+
}, $t = (s) => (e) => {
|
|
1359
1359
|
e.preventDefault(), s();
|
|
1360
|
-
},
|
|
1360
|
+
}, Nt = (s) => (e) => {
|
|
1361
1361
|
e.stopPropagation(), s();
|
|
1362
|
-
},
|
|
1362
|
+
}, Ht = (s) => (e) => {
|
|
1363
1363
|
e.stopImmediatePropagation(), s();
|
|
1364
|
-
},
|
|
1364
|
+
}, It = (s, e = "input") => g(
|
|
1365
1365
|
D.valueAsDate(s),
|
|
1366
|
-
|
|
1367
|
-
),
|
|
1366
|
+
q[e](tt(s.set))
|
|
1367
|
+
), Vt = (s, e = "input") => g(
|
|
1368
1368
|
D.valueAsDate(s),
|
|
1369
|
-
|
|
1370
|
-
),
|
|
1369
|
+
q[e](st(s.set))
|
|
1370
|
+
), Rt = (s, e = "input") => g(
|
|
1371
1371
|
D.valueAsNumber(s),
|
|
1372
|
-
|
|
1373
|
-
),
|
|
1372
|
+
q[e](et(s.set))
|
|
1373
|
+
), jt = (s, e = "input") => g(D.value(s), q[e](Ke(s.set))), qt = (s) => g(D.checked(s), Ze(s.set)), B = (s, e) => {
|
|
1374
1374
|
if (d.is(s))
|
|
1375
1375
|
return (r) => {
|
|
1376
1376
|
const n = r.makeRef();
|
|
@@ -1380,8 +1380,8 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1380
1380
|
const f = c.on((h) => {
|
|
1381
1381
|
if (h !== a) {
|
|
1382
1382
|
l == null || l.dispose(), o == null || o(!0), l = s.map((O) => O[h]);
|
|
1383
|
-
const
|
|
1384
|
-
o = u(
|
|
1383
|
+
const P = e[h](l);
|
|
1384
|
+
o = u(P)(n), a = h;
|
|
1385
1385
|
}
|
|
1386
1386
|
});
|
|
1387
1387
|
return (h) => {
|
|
@@ -1389,20 +1389,20 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1389
1389
|
};
|
|
1390
1390
|
};
|
|
1391
1391
|
const t = Object.keys(s)[0];
|
|
1392
|
-
return u(e[t](
|
|
1393
|
-
},
|
|
1392
|
+
return u(e[t](j(s[t])));
|
|
1393
|
+
}, we = (s, e, t) => B(
|
|
1394
1394
|
p.map(s, (r) => ({ [r[e]]: r })),
|
|
1395
1395
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1396
1396
|
t
|
|
1397
|
-
),
|
|
1397
|
+
), Bt = (s, e) => we(s, "kind", e), Ft = (s, e) => {
|
|
1398
1398
|
const t = p.map(s, ([r, n]) => ({ [r]: n }));
|
|
1399
|
-
return
|
|
1400
|
-
},
|
|
1399
|
+
return B(t, e);
|
|
1400
|
+
}, Ut = (s, e) => we(s, "type", e), rt = (s, e) => B(
|
|
1401
1401
|
p.map(s, (t) => ({ [t]: !0 })),
|
|
1402
1402
|
e
|
|
1403
|
-
),
|
|
1403
|
+
), Wt = (s, e = {}) => (t) => {
|
|
1404
1404
|
const r = (e == null ? void 0 : e.firstSeparator) ?? s, n = (e == null ? void 0 : e.lastSeparator) ?? s;
|
|
1405
|
-
return
|
|
1405
|
+
return rt(
|
|
1406
1406
|
t.map((o) => o.isFirst ? "first" : o.isLast ? "last" : "other"),
|
|
1407
1407
|
{
|
|
1408
1408
|
first: () => r,
|
|
@@ -1410,13 +1410,13 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1410
1410
|
other: () => s
|
|
1411
1411
|
}
|
|
1412
1412
|
);
|
|
1413
|
-
},
|
|
1413
|
+
}, _e = (s, e) => (t) => {
|
|
1414
1414
|
const r = Object.values(s).reduce((n, o) => {
|
|
1415
1415
|
const l = t.getProvider(o);
|
|
1416
1416
|
return n[o] = l, n;
|
|
1417
1417
|
}, {});
|
|
1418
1418
|
return u(e(r))(t);
|
|
1419
|
-
},
|
|
1419
|
+
}, Gt = (s, e) => (t) => {
|
|
1420
1420
|
const r = [], n = Object.entries(s).reduce(
|
|
1421
1421
|
(o, [l, c]) => (r.push(
|
|
1422
1422
|
c((a) => (Reflect.set(o, l, a), null))(t)
|
|
@@ -1426,16 +1426,16 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1426
1426
|
return r.push(e(n)(t)), (o) => {
|
|
1427
1427
|
r.forEach((l) => l(o));
|
|
1428
1428
|
};
|
|
1429
|
-
},
|
|
1430
|
-
}),
|
|
1431
|
-
t &&
|
|
1432
|
-
}),
|
|
1429
|
+
}, nt = (s, e) => _e([s], (t) => u(e(t[s]))), zt = (s, e) => _e(s, (t) => u(e(t))), Jt = (s) => (e) => s(e) ?? (() => {
|
|
1430
|
+
}), Qt = (s) => (e) => (e.appendOrInsert(s), (t) => {
|
|
1431
|
+
t && W(s);
|
|
1432
|
+
}), it = (s, e, t) => {
|
|
1433
1433
|
if (d.is(s)) {
|
|
1434
1434
|
const r = s;
|
|
1435
1435
|
return (n) => {
|
|
1436
1436
|
const o = n.makeRef();
|
|
1437
1437
|
let l = null, c = !1;
|
|
1438
|
-
const a =
|
|
1438
|
+
const a = I(null), f = r.on((h) => {
|
|
1439
1439
|
h == null ? (l == null || l(!0), l = u((t == null ? void 0 : t()) ?? v)(o), c = !1) : (a.value = h, c || (l == null || l(!0), l = u(e(a))(
|
|
1440
1440
|
o
|
|
1441
1441
|
), c = !0));
|
|
@@ -1450,33 +1450,33 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1450
1450
|
const n = t == null ? void 0 : t();
|
|
1451
1451
|
return n != null ? u(n) : v;
|
|
1452
1452
|
}
|
|
1453
|
-
return u(e(
|
|
1453
|
+
return u(e(j(r)));
|
|
1454
1454
|
}
|
|
1455
|
-
},
|
|
1455
|
+
}, V = (s) => (e) => (t) => s(t, e), ve = (s, e, t) => Se(
|
|
1456
1456
|
s,
|
|
1457
1457
|
() => e,
|
|
1458
1458
|
() => t
|
|
1459
|
-
),
|
|
1459
|
+
), Se = (s, e, t) => it(
|
|
1460
1460
|
p.map(s, (r) => r ? !0 : null),
|
|
1461
1461
|
e,
|
|
1462
1462
|
t ?? void 0
|
|
1463
|
-
),
|
|
1463
|
+
), Xt = (s, e, t) => ot(
|
|
1464
1464
|
s,
|
|
1465
1465
|
() => e,
|
|
1466
1466
|
() => t
|
|
1467
|
-
),
|
|
1467
|
+
), ot = (s, e, t) => Se(
|
|
1468
1468
|
p.map(s, (r) => !r),
|
|
1469
1469
|
e,
|
|
1470
1470
|
t
|
|
1471
|
-
),
|
|
1471
|
+
), Pe = (s, e, t) => t != null ? Pe(s, (r) => {
|
|
1472
1472
|
const n = new M(
|
|
1473
1473
|
r.index,
|
|
1474
1474
|
r.total.map((o) => o - 1)
|
|
1475
1475
|
);
|
|
1476
|
-
return
|
|
1477
|
-
|
|
1476
|
+
return g(
|
|
1477
|
+
V(n.dispose),
|
|
1478
1478
|
u(e(r)),
|
|
1479
|
-
|
|
1479
|
+
ve(r.isLast, v, t(n))
|
|
1480
1480
|
);
|
|
1481
1481
|
}) : d.is(s) ? (r) => {
|
|
1482
1482
|
const n = r.makeRef(), o = Array.from(
|
|
@@ -1497,39 +1497,39 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1497
1497
|
return (a) => {
|
|
1498
1498
|
c(), n.clear(a);
|
|
1499
1499
|
};
|
|
1500
|
-
} :
|
|
1500
|
+
} : g(
|
|
1501
1501
|
...Array.from({ length: s }, (r, n) => n).map(
|
|
1502
|
-
(r) => u(e(new M(r,
|
|
1502
|
+
(r) => u(e(new M(r, j(s))))
|
|
1503
1503
|
)
|
|
1504
|
-
),
|
|
1504
|
+
), lt = (s, e, t) => {
|
|
1505
1505
|
if (t != null)
|
|
1506
|
-
return
|
|
1506
|
+
return lt(s, (r, n) => {
|
|
1507
1507
|
const o = new M(
|
|
1508
1508
|
n.index,
|
|
1509
1509
|
n.total.map((l) => l - 1)
|
|
1510
1510
|
);
|
|
1511
|
-
return
|
|
1512
|
-
|
|
1511
|
+
return g([
|
|
1512
|
+
V(o.dispose),
|
|
1513
1513
|
u(e(r, n)),
|
|
1514
|
-
|
|
1514
|
+
ve(n.isLast, v, t(o))
|
|
1515
1515
|
]);
|
|
1516
1516
|
});
|
|
1517
1517
|
{
|
|
1518
1518
|
const r = p.map(s, (o) => o.length), n = p.toSignal(s);
|
|
1519
|
-
return
|
|
1519
|
+
return Pe(r, (o) => {
|
|
1520
1520
|
const l = n.map((c) => c[o.index]);
|
|
1521
|
-
return
|
|
1522
|
-
|
|
1521
|
+
return g(
|
|
1522
|
+
V(l.dispose),
|
|
1523
1523
|
u(e(l, o))
|
|
1524
1524
|
);
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
|
-
},
|
|
1527
|
+
}, ct = (s) => (e) => e.isBrowserDOM() ? s(e) ?? (() => {
|
|
1528
1528
|
}) : () => {
|
|
1529
|
-
},
|
|
1529
|
+
}, Yt = (s) => (e) => e.isHeadlessDOM() ? s(e) ?? (() => {
|
|
1530
1530
|
}) : () => {
|
|
1531
|
-
},
|
|
1532
|
-
})),
|
|
1531
|
+
}, Zt = (s) => ct((e) => s(e.element) ?? (() => {
|
|
1532
|
+
})), Kt = (s, e) => {
|
|
1533
1533
|
if (d.is(s)) {
|
|
1534
1534
|
const t = s;
|
|
1535
1535
|
return (r) => {
|
|
@@ -1546,7 +1546,7 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1546
1546
|
};
|
|
1547
1547
|
}
|
|
1548
1548
|
return u(e(s));
|
|
1549
|
-
},
|
|
1549
|
+
}, es = (s, e, t = () => v) => B(
|
|
1550
1550
|
p.map(
|
|
1551
1551
|
s,
|
|
1552
1552
|
(r) => r.length > 0 ? { notEmpty: r } : { whenEmpty: null }
|
|
@@ -1558,45 +1558,70 @@ const Fe = /* @__PURE__ */ new Set([
|
|
|
1558
1558
|
), z = (s, e) => {
|
|
1559
1559
|
const t = s(e);
|
|
1560
1560
|
return () => t(!0);
|
|
1561
|
-
},
|
|
1561
|
+
}, ts = (s, e, { doc: t, clear: r } = {}) => {
|
|
1562
1562
|
const n = typeof e == "string" ? (t ?? document).querySelector(e) : e;
|
|
1563
1563
|
if (n === null)
|
|
1564
|
-
throw new
|
|
1564
|
+
throw new at(
|
|
1565
1565
|
`Cannot find element by selector for render: ${e}`
|
|
1566
1566
|
);
|
|
1567
1567
|
r !== !1 && (t ?? n.ownerDocument) != null && n.nodeType === 1 && (n.innerHTML = "");
|
|
1568
|
-
const o =
|
|
1568
|
+
const o = je(n), l = le(n) ? void 0 : n, c = b.of(o, l);
|
|
1569
1569
|
return z(s, c);
|
|
1570
|
-
},
|
|
1570
|
+
}, ss = (s, {
|
|
1571
1571
|
startUrl: e = "https://example.com",
|
|
1572
1572
|
selector: t = ":root"
|
|
1573
1573
|
} = {}) => {
|
|
1574
|
-
const r = p.toSignal(e).deriveProp(), n = new
|
|
1574
|
+
const r = p.toSignal(e).deriveProp(), n = new he(t, void 0), o = new E(n, void 0, { currentURL: r }, {});
|
|
1575
1575
|
return {
|
|
1576
1576
|
clear: z(s(), o),
|
|
1577
1577
|
root: n,
|
|
1578
1578
|
currentURL: r
|
|
1579
1579
|
};
|
|
1580
1580
|
};
|
|
1581
|
-
class
|
|
1581
|
+
class at extends Error {
|
|
1582
1582
|
constructor(e) {
|
|
1583
1583
|
super(e);
|
|
1584
1584
|
}
|
|
1585
1585
|
}
|
|
1586
|
-
const
|
|
1586
|
+
const rs = (s, e) => (t) => {
|
|
1587
1587
|
const r = t.makePortal(s);
|
|
1588
1588
|
return z(u(e), r);
|
|
1589
|
-
},
|
|
1589
|
+
}, ut = (s) => Symbol(s), Te = (s, e) => (t) => u(e)(t.withProviders(s)), ns = (...s) => s.length > 0 ? s.reduceRight((e, t) => (r) => e(t(r))) : u, ht = (s, e, t) => Te({ [s]: e }, u(t)), is = (s, e) => Te(s, u(e)), xe = ut("Probe"), S = /* @__PURE__ */ new Map(), ft = ({
|
|
1590
|
+
identifier: s,
|
|
1591
|
+
callback: e,
|
|
1592
|
+
child: t,
|
|
1593
|
+
timeout: r = 10
|
|
1594
|
+
}) => {
|
|
1595
|
+
if (S.has(s))
|
|
1596
|
+
throw new Error(`Probe already exists: ${s.description}`);
|
|
1597
|
+
S.set(s, 0);
|
|
1598
|
+
const n = setTimeout(e, r), o = (l) => {
|
|
1599
|
+
clearTimeout(n);
|
|
1600
|
+
let c = S.get(l);
|
|
1601
|
+
if (c == null)
|
|
1602
|
+
throw new Error(`Probe not found: ${l.description}`);
|
|
1603
|
+
--c === 0 ? (e(), S.delete(l)) : S.set(l, c);
|
|
1604
|
+
};
|
|
1605
|
+
return g(
|
|
1606
|
+
V(() => clearTimeout(n)),
|
|
1607
|
+
ht(xe, o, t)
|
|
1608
|
+
);
|
|
1609
|
+
}, dt = (s, e) => nt(xe, (t) => {
|
|
1610
|
+
const r = S.get(s);
|
|
1611
|
+
if (r == null)
|
|
1612
|
+
throw new Error(`Probe not found: ${s.description}`);
|
|
1613
|
+
return S.set(s, r + 1), e(() => t(s));
|
|
1614
|
+
}), Ce = Symbol("globalProbe"), os = ({ callback: s, timeout: e }, t) => ft({ identifier: Ce, callback: s, child: t, timeout: e }), ls = (s) => dt(Ce, s), pt = (s, e) => (t) => {
|
|
1590
1615
|
const r = t.getStyle(s);
|
|
1591
1616
|
return t.setStyle(s, e), (n) => {
|
|
1592
1617
|
n && t.setStyle(s, r);
|
|
1593
1618
|
};
|
|
1594
|
-
},
|
|
1619
|
+
}, gt = (s, e) => (t) => {
|
|
1595
1620
|
const r = t.getStyle(s);
|
|
1596
1621
|
return e.on((n) => t.setStyle(s, n)), (n) => {
|
|
1597
1622
|
n && t.setStyle(s, r);
|
|
1598
1623
|
};
|
|
1599
|
-
},
|
|
1624
|
+
}, cs = new Proxy(
|
|
1600
1625
|
{},
|
|
1601
1626
|
{
|
|
1602
1627
|
/**
|
|
@@ -1607,112 +1632,117 @@ const Xt = (s, e) => (t) => {
|
|
|
1607
1632
|
* @returns The renderable component for the specified attribute.
|
|
1608
1633
|
*
|
|
1609
1634
|
*/
|
|
1610
|
-
get: (s, e) => (t) => d.is(t) ?
|
|
1635
|
+
get: (s, e) => (t) => d.is(t) ? gt(e, t) : pt(e, t)
|
|
1611
1636
|
}
|
|
1612
1637
|
);
|
|
1613
1638
|
export {
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1639
|
+
kt as Async,
|
|
1640
|
+
qt as BindChecked,
|
|
1641
|
+
It as BindDate,
|
|
1642
|
+
Vt as BindDateTime,
|
|
1643
|
+
Rt as BindNumber,
|
|
1644
|
+
jt as BindText,
|
|
1645
|
+
b as BrowserContext,
|
|
1646
|
+
C as Computed,
|
|
1647
|
+
Wt as Conjunction,
|
|
1648
|
+
Qt as DOMNode,
|
|
1649
|
+
pe as El,
|
|
1650
|
+
ge as ElNS,
|
|
1626
1651
|
M as ElementPosition,
|
|
1627
1652
|
v as Empty,
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1653
|
+
it as Ensure,
|
|
1654
|
+
lt as ForEach,
|
|
1655
|
+
g as Fragment,
|
|
1631
1656
|
E as HeadlessContext,
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1657
|
+
Ue as HeadlessElement,
|
|
1658
|
+
he as HeadlessPortal,
|
|
1659
|
+
We as HeadlessText,
|
|
1660
|
+
ot as LazyUnless,
|
|
1661
|
+
Se as LazyWhen,
|
|
1662
|
+
Kt as MapSignal,
|
|
1663
|
+
te as MemoryStore,
|
|
1664
|
+
es as NotEmpty,
|
|
1665
|
+
ct as OnBrowserCtx,
|
|
1666
|
+
Ze as OnChecked,
|
|
1667
|
+
Jt as OnCtx,
|
|
1668
|
+
V as OnDispose,
|
|
1669
|
+
Zt as OnElement,
|
|
1670
|
+
Yt as OnHeadlessCtx,
|
|
1671
|
+
B as OneOf,
|
|
1672
|
+
we as OneOfField,
|
|
1673
|
+
Bt as OneOfKind,
|
|
1674
|
+
Ft as OneOfTuple,
|
|
1675
|
+
Ut as OneOfType,
|
|
1676
|
+
rt as OneOfValue,
|
|
1677
|
+
rs as Portal,
|
|
1678
|
+
H as Prop,
|
|
1679
|
+
ns as Provide,
|
|
1680
|
+
os as ProvideGlobalProbe,
|
|
1681
|
+
ft as ProvideProbe,
|
|
1682
|
+
ce as ProviderNotFoundError,
|
|
1683
|
+
at as RenderingError,
|
|
1684
|
+
Pe as Repeat,
|
|
1658
1685
|
d as Signal,
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1686
|
+
me as Task,
|
|
1687
|
+
Tt as TextNode,
|
|
1688
|
+
Xt as Unless,
|
|
1689
|
+
Gt as Use,
|
|
1690
|
+
ls as UseGlobalProbe,
|
|
1691
|
+
dt as UseProbe,
|
|
1692
|
+
nt as UseProvider,
|
|
1693
|
+
zt as UseProviders,
|
|
1665
1694
|
p as Value,
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1695
|
+
ve as When,
|
|
1696
|
+
ht as WithProvider,
|
|
1697
|
+
is as WithProviders,
|
|
1698
|
+
je as _getSelfOrParentElement,
|
|
1699
|
+
le as _isElement,
|
|
1700
|
+
Re as _makeGetter,
|
|
1701
|
+
Ve as _makeSetter,
|
|
1702
|
+
W as _removeDOMNode,
|
|
1703
|
+
de as _signalText,
|
|
1704
|
+
fe as _staticText,
|
|
1705
|
+
St as animateSignal,
|
|
1706
|
+
Ie as animateSignals,
|
|
1707
|
+
Ct as aria,
|
|
1679
1708
|
D as attr,
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1709
|
+
xt as dataAttr,
|
|
1710
|
+
Lt as emitChecked,
|
|
1711
|
+
$t as emitPreventDefault,
|
|
1712
|
+
Ht as emitStopImmediatePropagation,
|
|
1713
|
+
Nt as emitStopPropagation,
|
|
1714
|
+
Ke as emitValue,
|
|
1715
|
+
tt as emitValueAsDate,
|
|
1716
|
+
st as emitValueAsDateTime,
|
|
1717
|
+
et as emitValueAsNumber,
|
|
1718
|
+
Le as endInterpolate,
|
|
1719
|
+
ee as getWindow,
|
|
1720
|
+
$e as guessInterpolate,
|
|
1721
|
+
Dt as html,
|
|
1722
|
+
Ot as input,
|
|
1723
|
+
ke as interpolateDate,
|
|
1724
|
+
Ae as interpolateNumber,
|
|
1725
|
+
Me as interpolateString,
|
|
1726
|
+
_t as localStorageProp,
|
|
1727
|
+
G as makeComputed,
|
|
1728
|
+
yt as makeComputedOf,
|
|
1729
|
+
Pt as makeComputedRecord,
|
|
1730
|
+
He as makeEffect,
|
|
1731
|
+
wt as makeEffectOf,
|
|
1732
|
+
I as makeProp,
|
|
1733
|
+
ut as makeProviderMark,
|
|
1734
|
+
j as makeSignal,
|
|
1735
|
+
Mt as math,
|
|
1736
|
+
Et as mathAttr,
|
|
1737
|
+
q as on,
|
|
1738
|
+
xe as probeMarker,
|
|
1739
|
+
ts as render,
|
|
1710
1740
|
z as renderWithContext,
|
|
1711
1741
|
u as renderableOfTNode,
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1742
|
+
ss as runHeadless,
|
|
1743
|
+
vt as sessionStorageProp,
|
|
1744
|
+
se as storedProp,
|
|
1745
|
+
cs as style,
|
|
1746
|
+
At as svg,
|
|
1747
|
+
bt as svgAttr
|
|
1718
1748
|
};
|