@tempots/dom 10.0.11 → 10.0.12
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.js +293 -284
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var ze = Object.defineProperty;
|
|
2
2
|
var Ve = (t, e, r) => e in t ? ze(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
-
var
|
|
3
|
+
var l = (t, e, r) => Ve(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
4
|
function qe(t, e, r) {
|
|
5
5
|
return t + (e - t) * r;
|
|
6
6
|
}
|
|
@@ -11,8 +11,8 @@ function Ze(t, e, r) {
|
|
|
11
11
|
for (let i = 0; i < n; i++) {
|
|
12
12
|
let o = t.charCodeAt(i);
|
|
13
13
|
isNaN(o) && (o = Q);
|
|
14
|
-
let
|
|
15
|
-
isNaN(
|
|
14
|
+
let u = e.charCodeAt(i);
|
|
15
|
+
isNaN(u) && (u = Q), s += String.fromCharCode(o + (u - o) * r);
|
|
16
16
|
}
|
|
17
17
|
return s;
|
|
18
18
|
}
|
|
@@ -47,29 +47,29 @@ var ae;
|
|
|
47
47
|
ae = ee;
|
|
48
48
|
const _ = class _ {
|
|
49
49
|
constructor(e, r) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
l(this, ae, !0);
|
|
51
|
+
l(this, "_value");
|
|
52
|
+
l(this, "_derivatives", []);
|
|
53
|
+
l(this, "_onValueListeners", []);
|
|
54
|
+
l(this, "_onDisposeListeners", []);
|
|
55
|
+
l(this, "get", () => this._value);
|
|
56
|
+
l(this, "hasListeners", () => this._onValueListeners.length > 0);
|
|
57
|
+
l(this, "on", (e) => (e(this.get()), this._onValueListeners.push(e), () => {
|
|
58
58
|
this._onValueListeners.splice(this._onValueListeners.indexOf(e), 1);
|
|
59
59
|
}));
|
|
60
|
-
|
|
60
|
+
l(this, "_setAndNotify", (e, r) => {
|
|
61
61
|
const n = this.equals(this._value, e);
|
|
62
62
|
n || (this._value = e), (r || !n) && this._onValueListeners.forEach((s) => s(e));
|
|
63
63
|
});
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
l(this, "_disposed", !1);
|
|
65
|
+
l(this, "isDisposed", () => this._disposed);
|
|
66
|
+
l(this, "onDispose", (e) => {
|
|
67
67
|
this._onDisposeListeners.push(e);
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
l(this, "dispose", () => {
|
|
70
70
|
this._disposed || (this._disposed = !0, this._onDisposeListeners.forEach((e) => e()), this._onDisposeListeners.length = 0, this._derivatives.length = 0);
|
|
71
71
|
});
|
|
72
|
-
|
|
72
|
+
l(this, "map", (e, r = (n, s) => n === s) => {
|
|
73
73
|
const n = new D(() => {
|
|
74
74
|
try {
|
|
75
75
|
return e(this.get());
|
|
@@ -79,7 +79,7 @@ const _ = class _ {
|
|
|
79
79
|
}, r);
|
|
80
80
|
return this.setDerivative(n), n;
|
|
81
81
|
});
|
|
82
|
-
|
|
82
|
+
l(this, "flatMap", (e, r = (n, s) => n === s) => {
|
|
83
83
|
const n = new D(() => {
|
|
84
84
|
try {
|
|
85
85
|
return e(this.get()).get();
|
|
@@ -89,9 +89,9 @@ const _ = class _ {
|
|
|
89
89
|
}, r);
|
|
90
90
|
return this.setDerivative(n), n;
|
|
91
91
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
l(this, "tap", (e) => this.map((r) => (e(r), r)));
|
|
93
|
+
l(this, "at", (e) => this.map((r) => r[e]));
|
|
94
|
+
l(this, "filter", (e, r) => {
|
|
95
95
|
let n = r ?? this.get();
|
|
96
96
|
const s = new D(() => {
|
|
97
97
|
try {
|
|
@@ -103,26 +103,26 @@ const _ = class _ {
|
|
|
103
103
|
}, this.equals);
|
|
104
104
|
return this.setDerivative(s), s;
|
|
105
105
|
});
|
|
106
|
-
|
|
106
|
+
l(this, "filterMap", (e, r, n = (s, i) => s === i) => {
|
|
107
107
|
let s = r;
|
|
108
108
|
const i = new D(() => {
|
|
109
109
|
try {
|
|
110
|
-
const o = this.get(),
|
|
111
|
-
return s =
|
|
110
|
+
const o = this.get(), u = e(o);
|
|
111
|
+
return s = u ?? s;
|
|
112
112
|
} catch (o) {
|
|
113
113
|
throw console.error("Error in Signal.filterMap:", o), o;
|
|
114
114
|
}
|
|
115
115
|
}, n);
|
|
116
116
|
return this.setDerivative(i), i;
|
|
117
117
|
});
|
|
118
|
-
|
|
119
|
-
const i =
|
|
118
|
+
l(this, "mapAsync", (e, r, n, s = (i, o) => i === o) => {
|
|
119
|
+
const i = A(r, s);
|
|
120
120
|
let o = 0;
|
|
121
121
|
return i.onDispose(
|
|
122
|
-
this.on((
|
|
122
|
+
this.on((u) => {
|
|
123
123
|
const a = ++o;
|
|
124
124
|
try {
|
|
125
|
-
e(
|
|
125
|
+
e(u).then((c) => {
|
|
126
126
|
a === o && i.set(c);
|
|
127
127
|
}).catch((c) => {
|
|
128
128
|
a === o && (n != null ? i.set(n(c)) : console.error(
|
|
@@ -136,17 +136,17 @@ const _ = class _ {
|
|
|
136
136
|
})
|
|
137
137
|
), i;
|
|
138
138
|
});
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
l(this, "mapMaybe", (e, r) => this.map((n) => e(n) ?? r));
|
|
140
|
+
l(this, "feedProp", (e, r = !1) => {
|
|
141
141
|
const n = this.on(e.set);
|
|
142
142
|
return e.onDispose(n), r ? this.onDispose(e.dispose) : this.onDispose(n), e;
|
|
143
143
|
});
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
l(this, "deriveProp", (e = !0) => this.feedProp(A(this.get()), e));
|
|
145
|
+
l(this, "count", () => {
|
|
146
146
|
let e = 0;
|
|
147
147
|
return this.map(() => ++e);
|
|
148
148
|
});
|
|
149
|
-
|
|
149
|
+
l(this, "setDerivative", (e) => {
|
|
150
150
|
this._derivatives.push(e), e.onDispose(() => {
|
|
151
151
|
this._derivatives.splice(
|
|
152
152
|
this._derivatives.indexOf(e),
|
|
@@ -186,23 +186,23 @@ const _ = class _ {
|
|
|
186
186
|
};
|
|
187
187
|
let h = _;
|
|
188
188
|
const He = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
|
|
189
|
-
var
|
|
190
|
-
class D extends (
|
|
189
|
+
var le, ue;
|
|
190
|
+
class D extends (ue = h, le = re, ue) {
|
|
191
191
|
constructor(r, n) {
|
|
192
192
|
super(void 0, n);
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
l(this, le, !0);
|
|
194
|
+
l(this, "_isDirty", !1);
|
|
195
|
+
l(this, "setDirty", () => {
|
|
196
196
|
this._isDirty || this._disposed || (this._isDirty = !0, this._derivatives.forEach((r) => r.setDirty()), this.scheduleNotify());
|
|
197
197
|
});
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
l(this, "_scheduleCount", 0);
|
|
199
|
+
l(this, "scheduleNotify", () => {
|
|
200
200
|
const r = ++this._scheduleCount;
|
|
201
201
|
He(() => {
|
|
202
202
|
this._scheduleCount !== r || this._disposed !== !1 || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn(), !1));
|
|
203
203
|
});
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
l(this, "get", () => (this._isDirty && (this._isDirty = !1, this._value = this._fn(), this._setAndNotify(this._value, !0)), this._value));
|
|
206
206
|
this._fn = r, this.setDirty();
|
|
207
207
|
}
|
|
208
208
|
static is(r) {
|
|
@@ -213,22 +213,22 @@ class D extends (le = h, ue = re, le) {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
var ce, fe;
|
|
216
|
-
class
|
|
216
|
+
class V extends (fe = h, ce = te, fe) {
|
|
217
217
|
constructor() {
|
|
218
218
|
super(...arguments);
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
l(this, ce, !0);
|
|
220
|
+
l(this, "set", (r) => {
|
|
221
221
|
this._setAndNotify(r, !1);
|
|
222
222
|
});
|
|
223
|
-
|
|
223
|
+
l(this, "update", (r) => {
|
|
224
224
|
this._setAndNotify(r(this.get()), !1);
|
|
225
225
|
});
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
const i = new
|
|
226
|
+
l(this, "reducer", (r) => (n) => this.update((s) => r(s, n)));
|
|
227
|
+
l(this, "iso", (r, n, s = (i, o) => i === o) => {
|
|
228
|
+
const i = new V(r(this.get()), s);
|
|
229
229
|
return i.onDispose(this.on((o) => i.set(r(o)))), i.on((o) => this._setAndNotify(n(o), !1)), i;
|
|
230
230
|
});
|
|
231
|
-
|
|
231
|
+
l(this, "atProp", (r) => this.iso(
|
|
232
232
|
(n) => n[r],
|
|
233
233
|
(n) => ({ ...this.value, [r]: n })
|
|
234
234
|
));
|
|
@@ -243,24 +243,24 @@ class z extends (fe = h, ce = te, fe) {
|
|
|
243
243
|
this._setAndNotify(r, !1);
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function U(t, e, r = (n, s) => n === s) {
|
|
247
247
|
const n = new D(t, r);
|
|
248
248
|
return e.forEach((s) => s.setDerivative(n)), n;
|
|
249
249
|
}
|
|
250
250
|
function qt(t, e) {
|
|
251
|
-
return
|
|
251
|
+
return U(t, e).dispose;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
return new
|
|
253
|
+
function A(t, e = (r, n) => r === n) {
|
|
254
|
+
return new V(t, e);
|
|
255
255
|
}
|
|
256
256
|
function Zt(t, e = (r, n) => r === n) {
|
|
257
257
|
return new h(t, e);
|
|
258
258
|
}
|
|
259
259
|
class de {
|
|
260
260
|
constructor() {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
261
|
+
l(this, "_store", /* @__PURE__ */ new Map());
|
|
262
|
+
l(this, "getItem", (e) => this._store.get(e) ?? null);
|
|
263
|
+
l(this, "setItem", (e, r) => {
|
|
264
264
|
this._store.set(e, r);
|
|
265
265
|
});
|
|
266
266
|
}
|
|
@@ -271,11 +271,11 @@ function he({
|
|
|
271
271
|
store: r,
|
|
272
272
|
serialize: n = JSON.stringify,
|
|
273
273
|
deserialize: s = JSON.parse,
|
|
274
|
-
equals: i = (
|
|
275
|
-
onLoad: o = (
|
|
274
|
+
equals: i = (u, a) => u === a,
|
|
275
|
+
onLoad: o = (u) => u
|
|
276
276
|
}) {
|
|
277
|
-
const
|
|
278
|
-
|
|
277
|
+
const u = r.getItem(t), a = new V(
|
|
278
|
+
u != null ? o(s(u)) : typeof e == "function" ? e() : e,
|
|
279
279
|
i
|
|
280
280
|
);
|
|
281
281
|
return a.on((c) => {
|
|
@@ -298,23 +298,23 @@ function ne(t) {
|
|
|
298
298
|
return typeof requestAnimationFrame == "function" ? requestAnimationFrame(t) : setTimeout(t, 0);
|
|
299
299
|
}
|
|
300
300
|
function Ke(t, e, r, n) {
|
|
301
|
-
const s = (n == null ? void 0 : n.duration) ?? 300, i = (n == null ? void 0 : n.easing) ?? ((
|
|
302
|
-
let
|
|
303
|
-
const T = new D(e, o), E =
|
|
301
|
+
const s = (n == null ? void 0 : n.duration) ?? 300, i = (n == null ? void 0 : n.easing) ?? ((b) => b), o = (n == null ? void 0 : n.equals) ?? ((b, R) => b === R);
|
|
302
|
+
let u = n == null ? void 0 : n.interpolate, a = t, c = e(), p = performance.now(), m = null, d = !0;
|
|
303
|
+
const T = new D(e, o), E = A(t, o);
|
|
304
304
|
E.onDispose(() => {
|
|
305
305
|
m !== null && cancelAnimationFrame(m);
|
|
306
|
-
}), E.onDispose(T.dispose), r.forEach((
|
|
307
|
-
|
|
306
|
+
}), E.onDispose(T.dispose), r.forEach((b) => {
|
|
307
|
+
b.setDerivative(T), b.onDispose(E.dispose);
|
|
308
308
|
});
|
|
309
|
-
const
|
|
310
|
-
c =
|
|
309
|
+
const j = (b) => {
|
|
310
|
+
c = b, p = performance.now(), a = E.value, d && (d = !1, m = ne(J));
|
|
311
311
|
}, J = () => {
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
let G =
|
|
315
|
-
|
|
312
|
+
const R = (performance.now() - p) / h.unwrap(s), We = i(R);
|
|
313
|
+
u == null && (u = je(a));
|
|
314
|
+
let G = u(a, c, We);
|
|
315
|
+
R >= 1 ? (d = !0, G = c) : m = ne(J), E.set(G);
|
|
316
316
|
};
|
|
317
|
-
return T.on(
|
|
317
|
+
return T.on(j), E;
|
|
318
318
|
}
|
|
319
319
|
function jt(t, e) {
|
|
320
320
|
const { initialValue: r, ...n } = e ?? {};
|
|
@@ -322,10 +322,10 @@ function jt(t, e) {
|
|
|
322
322
|
}
|
|
323
323
|
function kt(t, e) {
|
|
324
324
|
const { signals: r, literals: n } = Object.entries(t).reduce(
|
|
325
|
-
({ signals: i, literals: o }, [
|
|
325
|
+
({ signals: i, literals: o }, [u, a]) => (h.is(a) ? i.push([u, a]) : o[u] = a, { signals: i, literals: o }),
|
|
326
326
|
{ signals: [], literals: {} }
|
|
327
327
|
), s = r.map(([, i]) => i);
|
|
328
|
-
return
|
|
328
|
+
return U(() => (r.forEach(([i, o]) => n[i] = o.value), e(n)), s);
|
|
329
329
|
}
|
|
330
330
|
function se(t) {
|
|
331
331
|
let e = t.match(/rgba?\((\d+), (\d+), (\d+)(, (\d+))?\)/);
|
|
@@ -360,7 +360,7 @@ function ie(t) {
|
|
|
360
360
|
spread: 0,
|
|
361
361
|
color: "rgba(0, 0, 0, 0)"
|
|
362
362
|
};
|
|
363
|
-
const [, n, s, , , i, , o, ,
|
|
363
|
+
const [, n, s, , , i, , o, , u, , a] = r, c = o != null ? parseInt(o, 10) : 0, p = u != null ? parseInt(u, 10) : 0;
|
|
364
364
|
return {
|
|
365
365
|
inset: !!n,
|
|
366
366
|
x: parseInt(s, 10),
|
|
@@ -378,22 +378,22 @@ function Be(t) {
|
|
|
378
378
|
return t[4] === "rgba" ? `rgba(${t[0]}, ${t[1]}, ${t[2]}, ${t[3]})` : t[4] === "hex" ? `#${t[0].toString(16).padStart(2, "0")}${t[1].toString(16).padStart(2, "0")}${t[2].toString(16).padStart(2, "0")}` : t[4] === "hsla" ? `hsla(${t[0]}, ${t[1]}%, ${t[2]}%, ${t[3]})` : "";
|
|
379
379
|
}
|
|
380
380
|
function Je(t, e) {
|
|
381
|
-
const [r, n, s, i, o] = se(t), [
|
|
381
|
+
const [r, n, s, i, o] = se(t), [u, a, c, p] = se(e);
|
|
382
382
|
return (m) => {
|
|
383
|
-
const d = r + (
|
|
384
|
-
return Be([d, T, E,
|
|
383
|
+
const d = r + (u - r) * m, T = n + (a - n) * m, E = s + (c - s) * m, j = i + (p - i) * m;
|
|
384
|
+
return Be([d, T, E, j, o]);
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
387
|
function Ht(t, e) {
|
|
388
388
|
const r = ie(t), n = ie(e);
|
|
389
389
|
return (s) => {
|
|
390
|
-
const i = r.x + (n.x - r.x) * s, o = r.y + (n.y - r.y) * s,
|
|
391
|
-
return Ue({ inset: r.inset, x: i, y: o, blur:
|
|
390
|
+
const i = r.x + (n.x - r.x) * s, o = r.y + (n.y - r.y) * s, u = r.blur + (n.blur - r.blur) * s, a = r.spread + (n.spread - r.spread) * s, c = me(r.color, n.color)(s);
|
|
391
|
+
return Ue({ inset: r.inset, x: i, y: o, blur: u, spread: a, color: c });
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
394
|
function Ge(t, e) {
|
|
395
|
-
var r, n, s, i, o,
|
|
396
|
-
return e === "translateX" ? new WebKitCSSMatrix(t.transform).m41 : e === "translateY" ? new WebKitCSSMatrix(t.transform).m42 : e === "translateZ" ? new WebKitCSSMatrix(t.transform).m43 : e === "rotateX" ? new WebKitCSSMatrix(t.transform).m12 : e === "rotateY" ? new WebKitCSSMatrix(t.transform).m21 : e === "rotateZ" ? new WebKitCSSMatrix(t.transform).m31 : e === "scaleX" ? new WebKitCSSMatrix(t.transform).m11 : e === "scaleY" ? new WebKitCSSMatrix(t.transform).m22 : e === "scaleZ" ? new WebKitCSSMatrix(t.transform).m33 : e === "skewX" ? new WebKitCSSMatrix(t.transform).m13 : e === "skewY" ? new WebKitCSSMatrix(t.transform).m23 : Number(e === "grayScale" ? (r = t.filter.match(/grayscale\((\d+)%\)/)) == null ? void 0 : r[1] : e === "sepia" ? (n = t.filter.match(/sepia\((\d+)%\)/)) == null ? void 0 : n[1] : e === "saturate" ? (s = t.filter.match(/saturate\((\d+)%\)/)) == null ? void 0 : s[1] : e === "hueRotate" ? (i = t.filter.match(/hue-rotate\((\d+)deg\)/)) == null ? void 0 : i[1] : e === "invert" ? (o = t.filter.match(/invert\((\d+)%\)/)) == null ? void 0 : o[1] : e === "brightness" ? (
|
|
395
|
+
var r, n, s, i, o, u, a, c;
|
|
396
|
+
return e === "translateX" ? new WebKitCSSMatrix(t.transform).m41 : e === "translateY" ? new WebKitCSSMatrix(t.transform).m42 : e === "translateZ" ? new WebKitCSSMatrix(t.transform).m43 : e === "rotateX" ? new WebKitCSSMatrix(t.transform).m12 : e === "rotateY" ? new WebKitCSSMatrix(t.transform).m21 : e === "rotateZ" ? new WebKitCSSMatrix(t.transform).m31 : e === "scaleX" ? new WebKitCSSMatrix(t.transform).m11 : e === "scaleY" ? new WebKitCSSMatrix(t.transform).m22 : e === "scaleZ" ? new WebKitCSSMatrix(t.transform).m33 : e === "skewX" ? new WebKitCSSMatrix(t.transform).m13 : e === "skewY" ? new WebKitCSSMatrix(t.transform).m23 : Number(e === "grayScale" ? (r = t.filter.match(/grayscale\((\d+)%\)/)) == null ? void 0 : r[1] : e === "sepia" ? (n = t.filter.match(/sepia\((\d+)%\)/)) == null ? void 0 : n[1] : e === "saturate" ? (s = t.filter.match(/saturate\((\d+)%\)/)) == null ? void 0 : s[1] : e === "hueRotate" ? (i = t.filter.match(/hue-rotate\((\d+)deg\)/)) == null ? void 0 : i[1] : e === "invert" ? (o = t.filter.match(/invert\((\d+)%\)/)) == null ? void 0 : o[1] : e === "brightness" ? (u = t.filter.match(/brightness\((\d+)%\)/)) == null ? void 0 : u[1] : e === "contrast" ? (a = t.filter.match(/contrast\((\d+)%\)/)) == null ? void 0 : a[1] : e === "blur" ? (c = t.filter.match(/blur\((\d+)px\)/)) == null ? void 0 : c[1] : t.getPropertyValue(e));
|
|
397
397
|
}
|
|
398
398
|
function Kt(t, e) {
|
|
399
399
|
const r = {}, n = getComputedStyle(t);
|
|
@@ -403,15 +403,15 @@ function Kt(t, e) {
|
|
|
403
403
|
}
|
|
404
404
|
return r;
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function O(t, e, r) {
|
|
407
407
|
r != null && (e === "translateX" ? t.style.transform += ` translateX(${r}px)` : e === "translateY" ? t.style.transform += ` translateY(${r}px)` : e === "translateZ" ? t.style.transform += ` translateZ(${r}px)` : e === "rotateX" ? t.style.transform += ` rotateX(${r}deg)` : e === "rotateY" ? t.style.transform += ` rotateY(${r}deg)` : e === "rotateZ" ? t.style.transform += ` rotateZ(${r}deg)` : e === "scaleX" ? t.style.transform += ` scaleX(${r})` : e === "scaleY" ? t.style.transform += ` scaleY(${r})` : e === "scaleZ" ? t.style.transform += ` scaleZ(${r})` : e === "skewX" ? t.style.transform += ` skewX(${r}deg)` : e === "skewY" ? t.style.transform += ` skewY(${r}deg)` : e === "grayScale" ? t.style.filter += ` grayscale(${r}%)` : e === "sepia" ? t.style.filter += ` sepia(${r}%)` : e === "saturate" ? t.style.filter += ` saturate(${r}%)` : e === "hueRotate" ? t.style.filter += ` hue-rotate(${r}deg)` : e === "invert" ? t.style.filter += ` invert(${r}%)` : e === "brightness" ? t.style.filter += ` brightness(${r}%)` : e === "contrast" ? t.style.filter += ` contrast(${r}%)` : e === "blur" && (t.style.filter += ` blur(${r}px)`), t.style.setProperty(e, String(r)));
|
|
408
408
|
}
|
|
409
|
-
const
|
|
409
|
+
const k = /* @__PURE__ */ new Map();
|
|
410
410
|
function pe(t, e, r) {
|
|
411
|
-
if (
|
|
412
|
-
return
|
|
411
|
+
if (k.has(r + ":" + t + e))
|
|
412
|
+
return k.get(t + e);
|
|
413
413
|
const n = Je(t, e);
|
|
414
|
-
return
|
|
414
|
+
return k.set(r + ":" + t + e, n), n;
|
|
415
415
|
}
|
|
416
416
|
function me(t, e) {
|
|
417
417
|
return pe(t, e, "c");
|
|
@@ -423,19 +423,19 @@ function et(t, e, r, n, s) {
|
|
|
423
423
|
if (r != null && n != null) {
|
|
424
424
|
if (typeof r == "number" && typeof n == "number") {
|
|
425
425
|
const i = r + (n - r) * s;
|
|
426
|
-
|
|
426
|
+
O(t, e, i);
|
|
427
427
|
} else if (e === "boxShadow" || e === "textShadow") {
|
|
428
428
|
const i = Qe(
|
|
429
429
|
r,
|
|
430
430
|
n
|
|
431
431
|
)(s);
|
|
432
|
-
|
|
432
|
+
O(t, e, i);
|
|
433
433
|
} else if (e === "color" || e === "backgroundColor" || e === "borderColor" || e === "outlineColor") {
|
|
434
434
|
const i = me(
|
|
435
435
|
r,
|
|
436
436
|
n
|
|
437
437
|
)(s);
|
|
438
|
-
|
|
438
|
+
O(t, e, i);
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
}
|
|
@@ -449,14 +449,14 @@ function Ut(t, e, r, n) {
|
|
|
449
449
|
function Bt(t, e) {
|
|
450
450
|
t.style.transform = "", t.style.filter = "";
|
|
451
451
|
for (const [r, n] of Object.entries(e))
|
|
452
|
-
n != null &&
|
|
452
|
+
n != null && O(t, r, n);
|
|
453
453
|
}
|
|
454
454
|
const ge = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]), we = /* @__PURE__ */ new Set([
|
|
455
455
|
"rowSpan",
|
|
456
456
|
"colSpan",
|
|
457
457
|
"tabIndex",
|
|
458
458
|
"valueAsNumber"
|
|
459
|
-
]),
|
|
459
|
+
]), Se = /* @__PURE__ */ new Set(["valueAsDate"]), be = /* @__PURE__ */ new Set([
|
|
460
460
|
"value",
|
|
461
461
|
"textContent",
|
|
462
462
|
"innerText",
|
|
@@ -464,13 +464,13 @@ const ge = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]
|
|
|
464
464
|
"outerHTML",
|
|
465
465
|
"className",
|
|
466
466
|
"classList"
|
|
467
|
-
]),
|
|
467
|
+
]), H = /* @__PURE__ */ new Map();
|
|
468
468
|
function C(t, e) {
|
|
469
|
-
if (
|
|
470
|
-
return
|
|
469
|
+
if (H.has(t))
|
|
470
|
+
return H.get(t);
|
|
471
471
|
{
|
|
472
472
|
const r = e(t);
|
|
473
|
-
return
|
|
473
|
+
return H.set(t, r), r;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
function tt(t) {
|
|
@@ -498,13 +498,13 @@ function it(t) {
|
|
|
498
498
|
r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
|
|
499
499
|
};
|
|
500
500
|
}
|
|
501
|
-
function
|
|
502
|
-
return ge.has(t) ? C(t, tt) : we.has(t) ? C(t, rt) :
|
|
501
|
+
function ve(t) {
|
|
502
|
+
return ge.has(t) ? C(t, tt) : we.has(t) ? C(t, rt) : Se.has(t) ? C(t, nt) : be.has(t) ? C(t, st) : C(t, it);
|
|
503
503
|
}
|
|
504
504
|
function Ae(t) {
|
|
505
|
-
return (e) => ge.has(t) ? !!e[t] : we.has(t) ? Number(e[t]) :
|
|
505
|
+
return (e) => ge.has(t) ? !!e[t] : we.has(t) ? Number(e[t]) : Se.has(t) ? e[t] : be.has(t) ? String(e[t]) : e.getAttribute(t);
|
|
506
506
|
}
|
|
507
|
-
class
|
|
507
|
+
class v {
|
|
508
508
|
/**
|
|
509
509
|
* Constructs a new `DOMContext` instance.
|
|
510
510
|
*
|
|
@@ -522,19 +522,19 @@ class A {
|
|
|
522
522
|
* @param namespace - The namespace URI to create the element in, or `undefined` to create a standard HTML element.
|
|
523
523
|
* @returns The newly created element.
|
|
524
524
|
*/
|
|
525
|
-
|
|
525
|
+
l(this, "createElement", (e, r) => r !== void 0 ? this.document.createElementNS(r, e) : this.document.createElement(e));
|
|
526
526
|
/**
|
|
527
527
|
* Creates a new text node with the specified text content.
|
|
528
528
|
* @param text - The text content for the new text node.
|
|
529
529
|
* @returns A new `Text` node with the specified text content.
|
|
530
530
|
*/
|
|
531
|
-
|
|
531
|
+
l(this, "createText", (e) => this.document.createTextNode(e));
|
|
532
532
|
/**
|
|
533
533
|
* Creates a new `DOMContext` with a reference to a newly created text node.
|
|
534
534
|
* The text node is appended or inserted to the current `DOMContext`.
|
|
535
535
|
* The new `DOMContext` with the reference is returned.
|
|
536
536
|
*/
|
|
537
|
-
|
|
537
|
+
l(this, "makeRef", () => {
|
|
538
538
|
const e = this.createText("");
|
|
539
539
|
return this.appendOrInsert(e), this.withReference(e);
|
|
540
540
|
});
|
|
@@ -543,7 +543,7 @@ class A {
|
|
|
543
543
|
*
|
|
544
544
|
* @param child - The child node to append or insert.
|
|
545
545
|
*/
|
|
546
|
-
|
|
546
|
+
l(this, "appendOrInsert", (e) => {
|
|
547
547
|
this.reference === void 0 ? this.element.appendChild(e) : this.element.insertBefore(e, this.reference);
|
|
548
548
|
});
|
|
549
549
|
/**
|
|
@@ -552,18 +552,18 @@ class A {
|
|
|
552
552
|
* @param document - The `Document` to use for the `DOMContext`.
|
|
553
553
|
* @returns A new `DOMContext` instance.
|
|
554
554
|
*/
|
|
555
|
-
|
|
555
|
+
l(this, "withDocument", (e) => new v(e, this.element, this.reference, this.providers, !0));
|
|
556
556
|
/**
|
|
557
557
|
* Creates a new `DOMContext` instance with the provided `element`.
|
|
558
558
|
* @param element - The DOM element to use in the new `DOMContext` instance.
|
|
559
559
|
* @returns A new `DOMContext` instance with the provided `element`.
|
|
560
560
|
*/
|
|
561
|
-
|
|
561
|
+
l(this, "withElement", (e) => new v(this.document, e, void 0, this.providers, !1));
|
|
562
562
|
/**
|
|
563
563
|
* Creates a new `DOMContext` instance with the `isFirstLevel` property set to `true`.
|
|
564
564
|
* @returns A new `DOMContext` instance with the `isFirstLevel` property set to `true`.
|
|
565
565
|
*/
|
|
566
|
-
|
|
566
|
+
l(this, "withFirstLevel", () => new v(
|
|
567
567
|
this.document,
|
|
568
568
|
this.element,
|
|
569
569
|
this.reference,
|
|
@@ -576,7 +576,7 @@ class A {
|
|
|
576
576
|
* @param reference - The optional `Text` node to use as the reference for the new `DOMContext`.
|
|
577
577
|
* @returns A new `DOMContext` instance with the specified reference.
|
|
578
578
|
*/
|
|
579
|
-
|
|
579
|
+
l(this, "withReference", (e) => new v(
|
|
580
580
|
this.document,
|
|
581
581
|
this.element,
|
|
582
582
|
e,
|
|
@@ -589,7 +589,7 @@ class A {
|
|
|
589
589
|
* @param value - The value to set for the provider.
|
|
590
590
|
* @returns A new DOMContext with the updated providers.
|
|
591
591
|
*/
|
|
592
|
-
|
|
592
|
+
l(this, "withProvider", (e, r) => new v(
|
|
593
593
|
this.document,
|
|
594
594
|
this.element,
|
|
595
595
|
this.reference,
|
|
@@ -606,7 +606,7 @@ class A {
|
|
|
606
606
|
* @param providers - An object containing the providers to be merged into the existing providers.
|
|
607
607
|
* @returns A new DOMContext instance with the merged providers.
|
|
608
608
|
*/
|
|
609
|
-
|
|
609
|
+
l(this, "withProviders", (e) => new v(
|
|
610
610
|
this.document,
|
|
611
611
|
this.element,
|
|
612
612
|
this.reference,
|
|
@@ -623,7 +623,7 @@ class A {
|
|
|
623
623
|
* @returns The provider for the given mark.
|
|
624
624
|
* @throws {Error} If the provider for the given mark is not found.
|
|
625
625
|
*/
|
|
626
|
-
|
|
626
|
+
l(this, "getProvider", (e) => {
|
|
627
627
|
if (this.providers[e] === void 0)
|
|
628
628
|
throw new Error(`Provider not found: ${e.description}`);
|
|
629
629
|
return this.providers[e];
|
|
@@ -638,10 +638,10 @@ class A {
|
|
|
638
638
|
* @returns A new `DOMContext` instance.
|
|
639
639
|
*/
|
|
640
640
|
static of(e, r) {
|
|
641
|
-
return new
|
|
641
|
+
return new v(e.ownerDocument, e, r, {}, !0);
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function S(t) {
|
|
645
645
|
const e = t;
|
|
646
646
|
e && e.onblur && (e.onblur = null), !(!t || t.ownerDocument === void 0) && t.parentElement && t.parentElement.removeChild(t);
|
|
647
647
|
}
|
|
@@ -660,7 +660,7 @@ function at(t, e, r) {
|
|
|
660
660
|
if (t.button !== 0 || t.ctrlKey || t.metaKey || s.target !== "_self" && s.target !== "" || s.getAttribute("download") != null)
|
|
661
661
|
return !0;
|
|
662
662
|
if (r) {
|
|
663
|
-
const { pathname: i, search: o, hash:
|
|
663
|
+
const { pathname: i, search: o, hash: u } = s, a = i + o + u;
|
|
664
664
|
if (s.getAttribute("href") !== a || e && !/\/[^/.]*$/.test(i))
|
|
665
665
|
return !0;
|
|
666
666
|
}
|
|
@@ -677,18 +677,18 @@ const Jt = (t, e = {
|
|
|
677
677
|
s === !0
|
|
678
678
|
) || t() && r.preventDefault();
|
|
679
679
|
}, Ee = (t) => (e) => {
|
|
680
|
-
|
|
680
|
+
Ne(e);
|
|
681
681
|
const r = e.createText(t);
|
|
682
682
|
return e.appendOrInsert(r), (n) => {
|
|
683
|
-
n &&
|
|
683
|
+
n && S(r);
|
|
684
684
|
};
|
|
685
685
|
}, _e = (t) => (e) => {
|
|
686
|
-
|
|
686
|
+
Ne(e);
|
|
687
687
|
const r = e.createText(t.value);
|
|
688
688
|
e.appendOrInsert(r);
|
|
689
689
|
const n = t.on((s) => r.data = s);
|
|
690
690
|
return (s) => {
|
|
691
|
-
n(), s &&
|
|
691
|
+
n(), s && S(r);
|
|
692
692
|
};
|
|
693
693
|
};
|
|
694
694
|
function Gt(t) {
|
|
@@ -699,11 +699,11 @@ const g = (...t) => (e) => {
|
|
|
699
699
|
return (n) => {
|
|
700
700
|
r.forEach((s) => s(n));
|
|
701
701
|
};
|
|
702
|
-
},
|
|
703
|
-
},
|
|
702
|
+
}, w = () => () => {
|
|
703
|
+
}, lt = (t) => (e) => (Le(e), e.element.classList.add(...t), (r) => {
|
|
704
704
|
r && e.element.classList.remove(...t);
|
|
705
|
-
}),
|
|
706
|
-
|
|
705
|
+
}), ut = (t) => (e) => {
|
|
706
|
+
Le(e);
|
|
707
707
|
const r = e.element;
|
|
708
708
|
let n = [];
|
|
709
709
|
const s = t.on((i) => {
|
|
@@ -712,8 +712,8 @@ const g = (...t) => (e) => {
|
|
|
712
712
|
return (i) => {
|
|
713
713
|
s(), i && n.forEach((o) => r.classList.remove(o)), n.length = 0;
|
|
714
714
|
};
|
|
715
|
-
},
|
|
716
|
-
const r =
|
|
715
|
+
}, q = (t, e) => {
|
|
716
|
+
const r = ve(t), n = Ae(t);
|
|
717
717
|
return (s) => {
|
|
718
718
|
Ce(s, t);
|
|
719
719
|
const i = n(s.element);
|
|
@@ -721,8 +721,8 @@ const g = (...t) => (e) => {
|
|
|
721
721
|
o && r(s.element, i);
|
|
722
722
|
};
|
|
723
723
|
};
|
|
724
|
-
},
|
|
725
|
-
const r =
|
|
724
|
+
}, Z = (t, e) => {
|
|
725
|
+
const r = ve(t), n = Ae(t);
|
|
726
726
|
return (s) => {
|
|
727
727
|
Ce(s, t);
|
|
728
728
|
const i = n(s.element);
|
|
@@ -733,12 +733,12 @@ const g = (...t) => (e) => {
|
|
|
733
733
|
}, P = new Proxy(
|
|
734
734
|
{},
|
|
735
735
|
{
|
|
736
|
-
get: (t, e) => e === "class" ? (r) => h.is(r) ?
|
|
736
|
+
get: (t, e) => e === "class" ? (r) => h.is(r) ? ut(r) : lt(
|
|
737
737
|
(r ?? "").split(" ").filter((n) => n.length > 0)
|
|
738
|
-
) : (r) => h.is(r) ?
|
|
738
|
+
) : (r) => h.is(r) ? Z(
|
|
739
739
|
e,
|
|
740
740
|
r
|
|
741
|
-
) :
|
|
741
|
+
) : q(
|
|
742
742
|
e,
|
|
743
743
|
r
|
|
744
744
|
)
|
|
@@ -746,10 +746,10 @@ const g = (...t) => (e) => {
|
|
|
746
746
|
), Qt = new Proxy(
|
|
747
747
|
{},
|
|
748
748
|
{
|
|
749
|
-
get: (t, e) => (r) => h.is(r) ?
|
|
749
|
+
get: (t, e) => (r) => h.is(r) ? Z(
|
|
750
750
|
`aria-${e}`,
|
|
751
751
|
r
|
|
752
|
-
) :
|
|
752
|
+
) : q(
|
|
753
753
|
`aria-${e}`,
|
|
754
754
|
r
|
|
755
755
|
)
|
|
@@ -757,10 +757,10 @@ const g = (...t) => (e) => {
|
|
|
757
757
|
), er = new Proxy(
|
|
758
758
|
{},
|
|
759
759
|
{
|
|
760
|
-
get: (t, e) => (r) => h.is(r) ?
|
|
760
|
+
get: (t, e) => (r) => h.is(r) ? Z(
|
|
761
761
|
e,
|
|
762
762
|
r
|
|
763
|
-
) :
|
|
763
|
+
) : q(
|
|
764
764
|
e,
|
|
765
765
|
r
|
|
766
766
|
)
|
|
@@ -768,35 +768,35 @@ const g = (...t) => (e) => {
|
|
|
768
768
|
), tr = new Proxy(
|
|
769
769
|
{},
|
|
770
770
|
{
|
|
771
|
-
get: (t, e) => (r) => h.is(r) ?
|
|
771
|
+
get: (t, e) => (r) => h.is(r) ? Z(
|
|
772
772
|
e,
|
|
773
773
|
r
|
|
774
|
-
) :
|
|
774
|
+
) : q(
|
|
775
775
|
e,
|
|
776
776
|
r
|
|
777
777
|
)
|
|
778
778
|
}
|
|
779
779
|
);
|
|
780
780
|
function f(t) {
|
|
781
|
-
return t == null ?
|
|
781
|
+
return t == null ? w : Array.isArray(t) ? g(...t.map(f)) : typeof t == "string" ? Ee(t) : h.is(t) ? _e(t) : t;
|
|
782
782
|
}
|
|
783
783
|
function Te(t, ...e) {
|
|
784
784
|
return (r) => {
|
|
785
785
|
const n = r.createElement(t, void 0);
|
|
786
|
-
r.isFirstLevel &&
|
|
786
|
+
r.isFirstLevel && y.isSSR() && Me(n), r.appendOrInsert(n), r = r.withElement(n);
|
|
787
787
|
const s = e.map((i) => f(i)(r));
|
|
788
788
|
return (i) => {
|
|
789
|
-
s.forEach((o) => o(!1)), i &&
|
|
789
|
+
s.forEach((o) => o(!1)), i && S(n);
|
|
790
790
|
};
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
793
|
function Pe(t, e, ...r) {
|
|
794
794
|
return (n) => {
|
|
795
795
|
const s = n.createElement(t, e);
|
|
796
|
-
n.isFirstLevel &&
|
|
796
|
+
n.isFirstLevel && y.isSSR() && Me(s), n.appendOrInsert(s), n = n.withElement(s);
|
|
797
797
|
const i = r.map((o) => f(o)(n));
|
|
798
798
|
return (o) => {
|
|
799
|
-
i.forEach((
|
|
799
|
+
i.forEach((u) => u(!1)), o && S(s);
|
|
800
800
|
};
|
|
801
801
|
};
|
|
802
802
|
}
|
|
@@ -821,73 +821,82 @@ const rr = new Proxy(
|
|
|
821
821
|
get: (t, e) => (...r) => Pe(e, ft, r.flatMap(f))
|
|
822
822
|
}
|
|
823
823
|
);
|
|
824
|
-
let
|
|
825
|
-
const
|
|
824
|
+
let x = !1;
|
|
825
|
+
const L = "data-tempo-attr", F = "data-tempo-class", De = "data-tempo-node", W = "data-tempo-text";
|
|
826
826
|
function dt(t, e) {
|
|
827
827
|
const r = t.getAttribute(e);
|
|
828
828
|
if (r != null) {
|
|
829
|
-
const n = t.getAttribute(
|
|
830
|
-
t.setAttribute(
|
|
829
|
+
const n = t.getAttribute(L) ?? "{}", s = { ...JSON.parse(n), name: r };
|
|
830
|
+
t.setAttribute(L, JSON.stringify(s));
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
833
|
function Ce(t, e) {
|
|
834
|
-
console.log("maybeAddAttributeTracker", e,
|
|
834
|
+
console.log("maybeAddAttributeTracker", e, {
|
|
835
|
+
isSSR: y.isSSR(),
|
|
836
|
+
isFirstLevel: t.isFirstLevel
|
|
837
|
+
}), y.isSSR() && t.isFirstLevel && dt(t.element, e);
|
|
835
838
|
}
|
|
836
839
|
function ht(t) {
|
|
837
|
-
t.querySelectorAll(`[${
|
|
838
|
-
const r = JSON.parse(e.getAttribute(
|
|
840
|
+
t.querySelectorAll(`[${L}]`).forEach((e) => {
|
|
841
|
+
const r = JSON.parse(e.getAttribute(L) ?? "{}");
|
|
839
842
|
for (const [n, s] of Object.entries(r))
|
|
840
843
|
e.setAttribute(n, s);
|
|
841
|
-
e.removeAttribute(
|
|
844
|
+
e.removeAttribute(L);
|
|
842
845
|
});
|
|
843
846
|
}
|
|
844
847
|
function pt(t) {
|
|
845
|
-
t.setAttribute(
|
|
848
|
+
t.setAttribute(F, t.className);
|
|
846
849
|
}
|
|
847
|
-
function
|
|
848
|
-
console.log("maybeAddClassTracker",
|
|
850
|
+
function Le(t) {
|
|
851
|
+
console.log("maybeAddClassTracker", {
|
|
852
|
+
isSSR: y.isSSR(),
|
|
853
|
+
isFirstLevel: t.isFirstLevel
|
|
854
|
+
}), y.isSSR() && t.isFirstLevel && pt(t.element);
|
|
849
855
|
}
|
|
850
856
|
function mt(t) {
|
|
851
|
-
t.querySelectorAll(`[${
|
|
852
|
-
const r = e.getAttribute(
|
|
853
|
-
r !== null && (e.className = r, e.removeAttribute(
|
|
857
|
+
t.querySelectorAll(`[${F}]`).forEach((e) => {
|
|
858
|
+
const r = e.getAttribute(F);
|
|
859
|
+
r !== null && (e.className = r, e.removeAttribute(F));
|
|
854
860
|
});
|
|
855
861
|
}
|
|
856
|
-
function
|
|
862
|
+
function Me(t) {
|
|
857
863
|
t.setAttribute(De, "");
|
|
858
864
|
}
|
|
859
865
|
function gt(t) {
|
|
860
866
|
t.querySelectorAll(`[${De}]`).forEach((e) => {
|
|
861
|
-
|
|
867
|
+
S(e);
|
|
862
868
|
});
|
|
863
869
|
}
|
|
864
870
|
function wt(t) {
|
|
865
|
-
t.setAttribute(
|
|
871
|
+
t.setAttribute(W, t.textContent ?? "");
|
|
866
872
|
}
|
|
867
|
-
function
|
|
868
|
-
console.log("maybeAddTextTracker",
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
+
function Ne(t) {
|
|
874
|
+
console.log("maybeAddTextTracker", {
|
|
875
|
+
isSSR: y.isSSR(),
|
|
876
|
+
isFirstLevel: t.isFirstLevel
|
|
877
|
+
}), y.isSSR() && t.isFirstLevel && wt(t.element);
|
|
878
|
+
}
|
|
879
|
+
function St(t) {
|
|
880
|
+
t.querySelectorAll(`[${W}]`).forEach((e) => {
|
|
881
|
+
e.textContent = e.getAttribute(W), e.removeAttribute(W);
|
|
873
882
|
});
|
|
874
883
|
}
|
|
875
|
-
function
|
|
876
|
-
gt(t), mt(t), ht(t),
|
|
884
|
+
function bt(t) {
|
|
885
|
+
gt(t), mt(t), ht(t), St(t);
|
|
877
886
|
}
|
|
878
|
-
let
|
|
879
|
-
const or = (t = 30) => (
|
|
887
|
+
let K = 0;
|
|
888
|
+
const or = (t = 30) => (x = !0, new Promise((e, r) => {
|
|
880
889
|
let n;
|
|
881
890
|
const s = setInterval(() => {
|
|
882
|
-
|
|
891
|
+
K <= 0 && (clearInterval(s), clearTimeout(n), x = !1, e());
|
|
883
892
|
}, 500);
|
|
884
893
|
n = setTimeout(() => {
|
|
885
|
-
clearInterval(s),
|
|
894
|
+
clearInterval(s), x = !1, r(new Error("SSR Timeout"));
|
|
886
895
|
}, t * 1e3);
|
|
887
|
-
})),
|
|
888
|
-
useDone: (t) => (
|
|
889
|
-
isSSR: () =>
|
|
890
|
-
},
|
|
896
|
+
})), y = {
|
|
897
|
+
useDone: (t) => (K++, f(t(() => K--))),
|
|
898
|
+
isSSR: () => x
|
|
899
|
+
}, $e = (t, e) => (r) => {
|
|
891
900
|
const n = Object.values(t).reduce((s, i) => {
|
|
892
901
|
const o = r.getProvider(i);
|
|
893
902
|
if (o == null)
|
|
@@ -897,19 +906,19 @@ const or = (t = 30) => (w = !0, new Promise((e, r) => {
|
|
|
897
906
|
return f(e(n))(r);
|
|
898
907
|
}, ar = (t, e) => (r) => {
|
|
899
908
|
const n = [], s = Object.entries(t).reduce(
|
|
900
|
-
(i, [o,
|
|
901
|
-
|
|
909
|
+
(i, [o, u]) => (n.push(
|
|
910
|
+
u((a) => (Reflect.set(i, o, a), null))(r)
|
|
902
911
|
), i),
|
|
903
912
|
{}
|
|
904
913
|
);
|
|
905
914
|
return n.push(e(s)(r)), (i) => {
|
|
906
915
|
n.forEach((o) => o(i));
|
|
907
916
|
};
|
|
908
|
-
},
|
|
917
|
+
}, vt = (t, e) => $e([t], (r) => f(e(r[t]))), lr = (t, e) => $e(t, (r) => f(e(r))), N = (t) => (e) => (r) => t(r, e);
|
|
909
918
|
function At(t) {
|
|
910
919
|
return Symbol(t);
|
|
911
920
|
}
|
|
912
|
-
const
|
|
921
|
+
const Re = (t, e) => (r) => f(e)(r.withProviders(t)), ur = (...t) => t.length > 0 ? t.reduceRight((e, r) => (n) => e(r(n))) : f, yt = (t, e, r) => Re({ [t]: e }, f(r)), cr = (t, e) => Re(t, f(e)), oe = At("Appearance"), fr = {
|
|
913
922
|
/**
|
|
914
923
|
* Provides a child component with an appearance context, which can be used to
|
|
915
924
|
* determine the current appearance (light or dark) based on the user's system
|
|
@@ -922,12 +931,12 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
922
931
|
* @returns The child component with the appearance context.
|
|
923
932
|
*/
|
|
924
933
|
provide: (t) => {
|
|
925
|
-
const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, r =
|
|
934
|
+
const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, r = A(e ? "dark" : "light"), n = (i) => {
|
|
926
935
|
r.set(i.matches ? "dark" : "light");
|
|
927
936
|
}, s = window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : void 0;
|
|
928
937
|
return s == null || s.addEventListener("change", n), g(
|
|
929
938
|
yt(oe, r, t),
|
|
930
|
-
|
|
939
|
+
N(() => s == null ? void 0 : s.removeEventListener("change", n))
|
|
931
940
|
);
|
|
932
941
|
},
|
|
933
942
|
/**
|
|
@@ -937,17 +946,17 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
937
946
|
* @param fn - A function that accepts the `AppearanceType` signal and returns a `Child` element.
|
|
938
947
|
* @returns The `Child` element returned by the provided function.
|
|
939
948
|
*/
|
|
940
|
-
consume: (t) =>
|
|
941
|
-
},
|
|
949
|
+
consume: (t) => vt(oe, t)
|
|
950
|
+
}, Ie = (t, e) => {
|
|
942
951
|
if (typeof e == "function")
|
|
943
|
-
return
|
|
944
|
-
const r = e.pending != null ? f(e.pending) :
|
|
952
|
+
return Ie(t, { then: e });
|
|
953
|
+
const r = e.pending != null ? f(e.pending) : w, n = e.then, s = e.error != null ? (i) => f(e.error(i)) : () => w;
|
|
945
954
|
return (i) => {
|
|
946
955
|
let o = !0;
|
|
947
|
-
const
|
|
956
|
+
const u = t();
|
|
948
957
|
i = i.makeRef();
|
|
949
958
|
let a = f(r)(i);
|
|
950
|
-
return
|
|
959
|
+
return u.then(
|
|
951
960
|
(c) => {
|
|
952
961
|
o && (a(!0), a = f(n(c))(i));
|
|
953
962
|
},
|
|
@@ -955,10 +964,10 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
955
964
|
o && (a(!0), a = f(s(c))(i));
|
|
956
965
|
}
|
|
957
966
|
), (c) => {
|
|
958
|
-
o = !1, a(c), c && i.reference &&
|
|
967
|
+
o = !1, a(c), c && i.reference && S(i.reference);
|
|
959
968
|
};
|
|
960
969
|
};
|
|
961
|
-
}, dr = (t, e) =>
|
|
970
|
+
}, dr = (t, e) => Ie(() => t, e), hr = (t = 10) => (e) => {
|
|
962
971
|
const r = setTimeout(() => {
|
|
963
972
|
var n;
|
|
964
973
|
(n = e.element) == null || n.focus();
|
|
@@ -972,21 +981,21 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
972
981
|
return (n) => {
|
|
973
982
|
clearTimeout(r);
|
|
974
983
|
};
|
|
975
|
-
},
|
|
984
|
+
}, Oe = (t, e) => (r) => (r.element.addEventListener(t, e), (n) => {
|
|
976
985
|
n && r.element.removeEventListener(t, e);
|
|
977
|
-
}), Et = (t) =>
|
|
986
|
+
}), Et = (t) => Oe("click", (e) => {
|
|
978
987
|
e.preventDefault();
|
|
979
988
|
const r = e.target;
|
|
980
989
|
setTimeout(() => {
|
|
981
990
|
const n = r.ownerDocument != null ? r == null ? void 0 : r.checked : void 0;
|
|
982
991
|
n != null && t(!n);
|
|
983
992
|
}, 0);
|
|
984
|
-
}),
|
|
993
|
+
}), X = new Proxy(
|
|
985
994
|
{},
|
|
986
995
|
{
|
|
987
|
-
get: (t, e) => (r) =>
|
|
996
|
+
get: (t, e) => (r) => Oe(e, r)
|
|
988
997
|
}
|
|
989
|
-
),
|
|
998
|
+
), Y = {
|
|
990
999
|
value: (t) => (e) => {
|
|
991
1000
|
const r = e.target;
|
|
992
1001
|
t(r.value);
|
|
@@ -1034,23 +1043,23 @@ const Ie = (t, e) => (r) => f(e)(r.withProviders(t)), lr = (...t) => t.length >
|
|
|
1034
1043
|
function _t(t, e = "input") {
|
|
1035
1044
|
return g(
|
|
1036
1045
|
P.valueAsDate(t),
|
|
1037
|
-
|
|
1046
|
+
X[e](Y.valueAsDate(t.set))
|
|
1038
1047
|
);
|
|
1039
1048
|
}
|
|
1040
1049
|
function Tt(t, e = "input") {
|
|
1041
1050
|
return g(
|
|
1042
1051
|
P.valueAsDate(t),
|
|
1043
|
-
|
|
1052
|
+
X[e](Y.valueAsDateTime(t.set))
|
|
1044
1053
|
);
|
|
1045
1054
|
}
|
|
1046
1055
|
function Pt(t, e = "input") {
|
|
1047
1056
|
return g(
|
|
1048
1057
|
P.valueAsNumber(t),
|
|
1049
|
-
|
|
1058
|
+
X[e](Y.valueAsNumber(t.set))
|
|
1050
1059
|
);
|
|
1051
1060
|
}
|
|
1052
1061
|
function Dt(t, e = "input") {
|
|
1053
|
-
return g(P.value(t),
|
|
1062
|
+
return g(P.value(t), X[e](Y.value(t.set)));
|
|
1054
1063
|
}
|
|
1055
1064
|
function Ct(t) {
|
|
1056
1065
|
return g(P.checked(t), Et(t.set));
|
|
@@ -1061,12 +1070,12 @@ const mr = {
|
|
|
1061
1070
|
number: Pt,
|
|
1062
1071
|
text: Dt,
|
|
1063
1072
|
checked: Ct
|
|
1064
|
-
},
|
|
1073
|
+
}, I = (t, e) => (r) => {
|
|
1065
1074
|
r = r.makeRef();
|
|
1066
1075
|
let n, s;
|
|
1067
1076
|
const i = t.map((a) => Object.keys(a)[0]);
|
|
1068
1077
|
let o;
|
|
1069
|
-
const
|
|
1078
|
+
const u = i.on((a) => {
|
|
1070
1079
|
if (a !== o) {
|
|
1071
1080
|
s == null || s.dispose(), n == null || n(!0), s = t.map((p) => p[a]);
|
|
1072
1081
|
const c = e[a](s);
|
|
@@ -1074,31 +1083,31 @@ const mr = {
|
|
|
1074
1083
|
}
|
|
1075
1084
|
});
|
|
1076
1085
|
return (a) => {
|
|
1077
|
-
|
|
1086
|
+
u(), a && r.reference != null && S(r.reference), n == null || n(!0);
|
|
1078
1087
|
};
|
|
1079
|
-
},
|
|
1080
|
-
bool: (t, e) =>
|
|
1088
|
+
}, $ = {
|
|
1089
|
+
bool: (t, e) => I(
|
|
1081
1090
|
t.map((r) => r ? { true: !0 } : { false: !0 }),
|
|
1082
1091
|
e
|
|
1083
1092
|
),
|
|
1084
|
-
field: (t, e, r) =>
|
|
1093
|
+
field: (t, e, r) => I(
|
|
1085
1094
|
t.map((n) => ({ [n[e]]: n })),
|
|
1086
1095
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1087
1096
|
r
|
|
1088
1097
|
),
|
|
1089
|
-
kind: (t, e) =>
|
|
1098
|
+
kind: (t, e) => $.field(t, "kind", e),
|
|
1090
1099
|
tuple: (t, e) => {
|
|
1091
1100
|
const r = t.map(([n, s]) => ({ [n]: s }));
|
|
1092
|
-
return
|
|
1101
|
+
return I(r, e);
|
|
1093
1102
|
},
|
|
1094
|
-
type: (t, e) =>
|
|
1095
|
-
value: (t, e) =>
|
|
1103
|
+
type: (t, e) => $.field(t, "type", e),
|
|
1104
|
+
value: (t, e) => I(
|
|
1096
1105
|
t.map((r) => ({ [r]: !0 })),
|
|
1097
1106
|
e
|
|
1098
1107
|
)
|
|
1099
1108
|
}, gr = (t, e) => (r) => {
|
|
1100
|
-
const n = (e == null ? void 0 : e.firstSeparator) ??
|
|
1101
|
-
return
|
|
1109
|
+
const n = (e == null ? void 0 : e.firstSeparator) ?? w, s = (e == null ? void 0 : e.lastSeparator) ?? w;
|
|
1110
|
+
return $.value(
|
|
1102
1111
|
r.map((i) => i.isFirst ? "first" : i.isLast ? "last" : "other"),
|
|
1103
1112
|
{
|
|
1104
1113
|
first: () => n,
|
|
@@ -1106,24 +1115,24 @@ const mr = {
|
|
|
1106
1115
|
other: () => t
|
|
1107
1116
|
}
|
|
1108
1117
|
);
|
|
1109
|
-
}, wr = (t) => (e) => t(e)(e),
|
|
1110
|
-
r &&
|
|
1111
|
-
}),
|
|
1118
|
+
}, wr = (t) => (e) => t(e)(e), Sr = (t) => (e) => (e.appendOrInsert(t), (r) => {
|
|
1119
|
+
r && S(t);
|
|
1120
|
+
}), Lt = (t, e, r) => (n) => {
|
|
1112
1121
|
n = n.makeRef();
|
|
1113
1122
|
let s = null, i = !1;
|
|
1114
|
-
const o =
|
|
1115
|
-
a == null ? (s == null || s(!0), s = f((r == null ? void 0 : r()) ??
|
|
1123
|
+
const o = A(null), u = t.on((a) => {
|
|
1124
|
+
a == null ? (s == null || s(!0), s = f((r == null ? void 0 : r()) ?? w)(n), i = !1) : (o.value = a, i || (s == null || s(!0), s = f(e(o))(n), i = !0));
|
|
1116
1125
|
});
|
|
1117
1126
|
return (a) => {
|
|
1118
|
-
|
|
1127
|
+
u(), s == null || s(a), a && n.reference && S(n.reference);
|
|
1119
1128
|
};
|
|
1120
1129
|
}, xe = (t, e, r) => r != null ? xe(t, (n) => {
|
|
1121
1130
|
const s = n.map((i) => i.isLast ? "last" : "other");
|
|
1122
1131
|
return g(
|
|
1123
|
-
|
|
1132
|
+
N(() => s.dispose()),
|
|
1124
1133
|
f(e(n)),
|
|
1125
|
-
|
|
1126
|
-
last: () =>
|
|
1134
|
+
$.value(s, {
|
|
1135
|
+
last: () => w,
|
|
1127
1136
|
other: () => r(n)
|
|
1128
1137
|
})
|
|
1129
1138
|
);
|
|
@@ -1133,45 +1142,45 @@ const mr = {
|
|
|
1133
1142
|
(a) => Array.from({ length: a }, (c, p) => p).map(
|
|
1134
1143
|
(c) => new ke(c, a)
|
|
1135
1144
|
)
|
|
1136
|
-
), i = [], o = [],
|
|
1145
|
+
), i = [], o = [], u = s.on((a) => {
|
|
1137
1146
|
var p, m;
|
|
1138
1147
|
const c = a.length;
|
|
1139
1148
|
for (; c < i.length; )
|
|
1140
1149
|
(p = i.pop()) == null || p(!0), (m = o.pop()) == null || m.dispose();
|
|
1141
1150
|
for (let d = 0; d < c; d++)
|
|
1142
1151
|
if (o[d] == null) {
|
|
1143
|
-
o[d] =
|
|
1152
|
+
o[d] = A(a[d]);
|
|
1144
1153
|
const T = f(e(o[d]));
|
|
1145
1154
|
i[d] = T(n);
|
|
1146
1155
|
} else
|
|
1147
1156
|
o[d].value = a[d];
|
|
1148
1157
|
});
|
|
1149
1158
|
return (a) => {
|
|
1150
|
-
|
|
1159
|
+
u(), a && n.reference && S(n.reference);
|
|
1151
1160
|
};
|
|
1152
|
-
},
|
|
1161
|
+
}, Mt = (t, e, r) => r != null ? Mt(t, (n, s) => {
|
|
1153
1162
|
const i = s.map((o) => o.isLast ? "last" : "other");
|
|
1154
1163
|
return g([
|
|
1155
|
-
|
|
1164
|
+
N(() => i.dispose()),
|
|
1156
1165
|
f(e(n, s)),
|
|
1157
|
-
|
|
1158
|
-
last: () =>
|
|
1166
|
+
$.value(i, {
|
|
1167
|
+
last: () => w,
|
|
1159
1168
|
other: () => r(s)
|
|
1160
1169
|
})
|
|
1161
1170
|
]);
|
|
1162
1171
|
}) : (n) => {
|
|
1163
1172
|
const s = t.map((i) => i.length);
|
|
1164
1173
|
return xe(s, (i) => {
|
|
1165
|
-
const o =
|
|
1174
|
+
const o = U(
|
|
1166
1175
|
() => t.value[i.value.index],
|
|
1167
1176
|
[i, t]
|
|
1168
1177
|
);
|
|
1169
1178
|
return g(
|
|
1170
|
-
|
|
1179
|
+
N(() => o.dispose()),
|
|
1171
1180
|
f(e(o, i))
|
|
1172
1181
|
);
|
|
1173
1182
|
})(n);
|
|
1174
|
-
},
|
|
1183
|
+
}, br = (t) => {
|
|
1175
1184
|
const e = t.element, r = e.style.getPropertyValue(":empty");
|
|
1176
1185
|
return e.style.setProperty(":empty", "display:none"), (n) => {
|
|
1177
1186
|
n && e.style.setProperty(":empty", r);
|
|
@@ -1181,15 +1190,15 @@ function Fe(t, e) {
|
|
|
1181
1190
|
const r = t(e);
|
|
1182
1191
|
return () => r(!0);
|
|
1183
1192
|
}
|
|
1184
|
-
function
|
|
1193
|
+
function vr(t, e, { doc: r, clear: n } = {}) {
|
|
1185
1194
|
const s = typeof e == "string" ? (r ?? document).querySelector(e) : e;
|
|
1186
1195
|
if (s === null)
|
|
1187
1196
|
throw new Error(`Cannot find element by selector for render: ${e}`);
|
|
1188
|
-
n && (r ?? s.ownerDocument) != null &&
|
|
1189
|
-
const i = ot(s), o = ye(s) ? void 0 : s,
|
|
1190
|
-
return Fe(t,
|
|
1197
|
+
n && (r ?? s.ownerDocument) != null && bt(r ?? s.ownerDocument);
|
|
1198
|
+
const i = ot(s), o = ye(s) ? void 0 : s, u = v.of(i, o);
|
|
1199
|
+
return Fe(t, u);
|
|
1191
1200
|
}
|
|
1192
|
-
const
|
|
1201
|
+
const Nt = (t, e) => (r) => {
|
|
1193
1202
|
const n = r.document.querySelector(t);
|
|
1194
1203
|
if (n === null)
|
|
1195
1204
|
throw new Error(`Cannot find element by selector for portal: ${t}`);
|
|
@@ -1197,8 +1206,8 @@ const $t = (t, e) => (r) => {
|
|
|
1197
1206
|
f(e),
|
|
1198
1207
|
r.withElement(n).withFirstLevel()
|
|
1199
1208
|
);
|
|
1200
|
-
}, Ar = (t) =>
|
|
1201
|
-
}), B = (t, e, r) =>
|
|
1209
|
+
}, Ar = (t) => Nt("head title", P.innerText(t)), $t = (t) => (e) => t(e.element) ?? (() => {
|
|
1210
|
+
}), B = (t, e, r) => Lt(
|
|
1202
1211
|
t.map((n) => n ? !0 : null),
|
|
1203
1212
|
() => e,
|
|
1204
1213
|
r != null ? () => r : void 0
|
|
@@ -1206,7 +1215,7 @@ const $t = (t, e) => (r) => {
|
|
|
1206
1215
|
t.map((n) => !n),
|
|
1207
1216
|
e,
|
|
1208
1217
|
r
|
|
1209
|
-
),
|
|
1218
|
+
), Rt = {
|
|
1210
1219
|
partial: {
|
|
1211
1220
|
root: null,
|
|
1212
1221
|
rootMargin: "0px",
|
|
@@ -1217,36 +1226,36 @@ const $t = (t, e) => (r) => {
|
|
|
1217
1226
|
rootMargin: "0px",
|
|
1218
1227
|
threshold: 1
|
|
1219
1228
|
}
|
|
1220
|
-
},
|
|
1229
|
+
}, z = {
|
|
1221
1230
|
partial: /* @__PURE__ */ new Map(),
|
|
1222
1231
|
full: /* @__PURE__ */ new Map()
|
|
1223
|
-
},
|
|
1232
|
+
}, M = {
|
|
1224
1233
|
partial: null,
|
|
1225
1234
|
full: null
|
|
1226
1235
|
};
|
|
1227
|
-
function
|
|
1228
|
-
return
|
|
1236
|
+
function It(t) {
|
|
1237
|
+
return M[t] == null && (M[t] = new IntersectionObserver((e) => {
|
|
1229
1238
|
e.forEach((r) => {
|
|
1230
|
-
const n =
|
|
1239
|
+
const n = z[t].get(r.target);
|
|
1231
1240
|
n == null || n.set(r.isIntersecting);
|
|
1232
1241
|
});
|
|
1233
|
-
},
|
|
1242
|
+
}, Rt[t])), M[t];
|
|
1234
1243
|
}
|
|
1235
|
-
function
|
|
1236
|
-
const r = y
|
|
1244
|
+
function Ot(t, e) {
|
|
1245
|
+
const r = A(y.isSSR());
|
|
1237
1246
|
return g(
|
|
1238
|
-
|
|
1239
|
-
const s = typeof IntersectionObserver < "u" ?
|
|
1240
|
-
return
|
|
1247
|
+
$t((n) => {
|
|
1248
|
+
const s = typeof IntersectionObserver < "u" ? It(t) : null;
|
|
1249
|
+
return z[t].set(n, r), s == null || s.observe(n), () => {
|
|
1241
1250
|
var i;
|
|
1242
|
-
s == null || s.unobserve(n),
|
|
1251
|
+
s == null || s.unobserve(n), z[t].delete(n), z[t].size === 0 && ((i = M[t]) == null || i.disconnect(), M[t] = null);
|
|
1243
1252
|
};
|
|
1244
1253
|
}),
|
|
1245
|
-
|
|
1254
|
+
N(r.dispose),
|
|
1246
1255
|
f(e(r))
|
|
1247
1256
|
);
|
|
1248
1257
|
}
|
|
1249
|
-
const Er = (t, e, r) =>
|
|
1258
|
+
const Er = (t, e, r) => Ot(t, (n) => B(n, e, r ?? w)), _r = (t, e) => (r) => {
|
|
1250
1259
|
r = r.makeRef();
|
|
1251
1260
|
const n = t.map((o) => f(e(o)));
|
|
1252
1261
|
let s = () => {
|
|
@@ -1258,7 +1267,7 @@ const Er = (t, e, r) => Rt(t, (n) => B(n, e, r ?? b)), _r = (t, e) => (r) => {
|
|
|
1258
1267
|
i(), s(o);
|
|
1259
1268
|
};
|
|
1260
1269
|
};
|
|
1261
|
-
function Tr(t, e, r =
|
|
1270
|
+
function Tr(t, e, r = w) {
|
|
1262
1271
|
return B(
|
|
1263
1272
|
t.map((n) => n.length > 0),
|
|
1264
1273
|
e,
|
|
@@ -1266,15 +1275,15 @@ function Tr(t, e, r = b) {
|
|
|
1266
1275
|
);
|
|
1267
1276
|
}
|
|
1268
1277
|
const xt = (t) => (e) => {
|
|
1269
|
-
const r = e.element, n =
|
|
1278
|
+
const r = e.element, n = A({ width: r.clientWidth, height: r.clientHeight }), s = f(t(n))(e), i = () => {
|
|
1270
1279
|
n.set({ width: r.clientWidth, height: r.clientHeight });
|
|
1271
1280
|
};
|
|
1272
1281
|
let o;
|
|
1273
|
-
return typeof ResizeObserver == "function" && (o = new ResizeObserver(i), o.observe(r)), (
|
|
1274
|
-
o == null || o.disconnect(), s(
|
|
1282
|
+
return typeof ResizeObserver == "function" && (o = new ResizeObserver(i), o.observe(r)), (u) => {
|
|
1283
|
+
o == null || o.disconnect(), s(u);
|
|
1275
1284
|
};
|
|
1276
1285
|
}, Ft = (t) => (e) => {
|
|
1277
|
-
const r =
|
|
1286
|
+
const r = A({
|
|
1278
1287
|
width: (window == null ? void 0 : window.innerWidth) ?? 0,
|
|
1279
1288
|
height: (window == null ? void 0 : window.innerHeight) ?? 0
|
|
1280
1289
|
}), n = f(t(r))(e), s = () => {
|
|
@@ -1312,59 +1321,59 @@ export {
|
|
|
1312
1321
|
D as Computed,
|
|
1313
1322
|
gr as Conjunction,
|
|
1314
1323
|
wr as Ctx,
|
|
1315
|
-
|
|
1316
|
-
|
|
1324
|
+
v as DOMContext,
|
|
1325
|
+
Sr as DOMEl,
|
|
1317
1326
|
Te as El,
|
|
1318
1327
|
Pe as ElNS,
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1328
|
+
w as Empty,
|
|
1329
|
+
Lt as Ensure,
|
|
1330
|
+
Mt as ForEach,
|
|
1322
1331
|
g as Fragment,
|
|
1323
1332
|
Ar as HTMLTitle,
|
|
1324
|
-
|
|
1325
|
-
|
|
1333
|
+
br as HiddenWhenEmpty,
|
|
1334
|
+
Ot as InViewport,
|
|
1326
1335
|
_r as MapSignal,
|
|
1327
1336
|
de as MemoryStore,
|
|
1328
1337
|
Tr as NotEmpty,
|
|
1329
1338
|
Et as OnChecked,
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1339
|
+
N as OnDispose,
|
|
1340
|
+
$t as OnMount,
|
|
1341
|
+
Nt as Portal,
|
|
1333
1342
|
ke as Position,
|
|
1334
|
-
|
|
1335
|
-
|
|
1343
|
+
V as Prop,
|
|
1344
|
+
ur as Provide,
|
|
1336
1345
|
xe as Repeat,
|
|
1337
1346
|
h as Signal,
|
|
1338
|
-
|
|
1347
|
+
Ie as Task,
|
|
1339
1348
|
Gt as Text,
|
|
1340
1349
|
yr as Unless,
|
|
1341
1350
|
ar as Use,
|
|
1342
|
-
|
|
1343
|
-
|
|
1351
|
+
vt as UseProvider,
|
|
1352
|
+
lr as UseProviders,
|
|
1344
1353
|
B as When,
|
|
1345
1354
|
Er as WhenInViewport,
|
|
1346
1355
|
yt as WithProvider,
|
|
1347
1356
|
cr as WithProviders,
|
|
1348
|
-
|
|
1357
|
+
Me as addNodeTracker,
|
|
1349
1358
|
Ke as animate,
|
|
1350
1359
|
jt as animateOne,
|
|
1351
1360
|
fr as appearance,
|
|
1352
1361
|
oe as appearanceMarker,
|
|
1353
1362
|
Bt as applyAnimatable,
|
|
1354
|
-
|
|
1363
|
+
O as applyAnimatableProp,
|
|
1355
1364
|
Ut as applyInterpolatedAnimatable,
|
|
1356
1365
|
et as applyInterpolatedAnimatableProp,
|
|
1357
1366
|
Qt as aria,
|
|
1358
1367
|
P as attr,
|
|
1359
1368
|
mr as bind,
|
|
1360
1369
|
f as childToMountable,
|
|
1361
|
-
|
|
1370
|
+
bt as clearSSR,
|
|
1362
1371
|
Be as colorChannelsToString,
|
|
1363
|
-
|
|
1372
|
+
U as computed,
|
|
1364
1373
|
kt as computedRecord,
|
|
1365
1374
|
Xe as dateInterpolate,
|
|
1366
1375
|
qt as effect,
|
|
1367
|
-
|
|
1376
|
+
Y as emit,
|
|
1368
1377
|
Ye as endInterpolate,
|
|
1369
1378
|
Kt as getComputedAnimatable,
|
|
1370
1379
|
Ge as getComputedAnimatableProp,
|
|
@@ -1378,26 +1387,26 @@ export {
|
|
|
1378
1387
|
ye as isElement,
|
|
1379
1388
|
Ae as makeGetter,
|
|
1380
1389
|
At as makeProviderMark,
|
|
1381
|
-
|
|
1390
|
+
ve as makeSetter,
|
|
1382
1391
|
ir as math,
|
|
1383
1392
|
tr as mathAttr,
|
|
1384
1393
|
Ce as maybeAddAttributeTracker,
|
|
1385
|
-
|
|
1386
|
-
|
|
1394
|
+
Le as maybeAddClassTracker,
|
|
1395
|
+
Ne as maybeAddTextTracker,
|
|
1387
1396
|
qe as numberInterpolate,
|
|
1388
|
-
|
|
1389
|
-
|
|
1397
|
+
X as on,
|
|
1398
|
+
$ as oneof,
|
|
1390
1399
|
se as parseColorChannels,
|
|
1391
|
-
|
|
1400
|
+
A as prop,
|
|
1392
1401
|
Xt as propOfLocalStorage,
|
|
1393
1402
|
Yt as propOfSessionStorage,
|
|
1394
1403
|
he as propOfStorage,
|
|
1395
1404
|
ht as removeAttributeTrackers,
|
|
1396
1405
|
mt as removeClassTrackers,
|
|
1397
|
-
|
|
1406
|
+
S as removeDOMNode,
|
|
1398
1407
|
gt as removeNodeTrackers,
|
|
1399
|
-
|
|
1400
|
-
|
|
1408
|
+
St as removeTextTrackers,
|
|
1409
|
+
vr as render,
|
|
1401
1410
|
Fe as renderWithContext,
|
|
1402
1411
|
it as setAttribute,
|
|
1403
1412
|
tt as setBooleanProperty,
|
|
@@ -1407,7 +1416,7 @@ export {
|
|
|
1407
1416
|
Zt as signal,
|
|
1408
1417
|
_e as signalText,
|
|
1409
1418
|
Pr as size,
|
|
1410
|
-
|
|
1419
|
+
y as ssr,
|
|
1411
1420
|
or as startSSR,
|
|
1412
1421
|
Ee as staticText,
|
|
1413
1422
|
Ze as stringInterpolate,
|