virtua 0.48.6 → 0.48.7

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.
@@ -1,6 +1,6 @@
1
- import { createComponent as e, Dynamic as t, template as r, spread as n, mergeProps as o, insert as s, use as i, setStyleProperty as c, effect as l } from "solid-js/web";
1
+ import { createComponent as e, Dynamic as t, spread as r, mergeProps as n, insert as o, template as s, use as i, setStyleProperty as c, effect as l } from "solid-js/web";
2
2
 
3
- import { mergeProps as u, createEffect as a, createMemo as f, onCleanup as d, createSignal as g, onMount as h, createComputed as v, on as p, untrack as m, For as S, splitProps as $ } from "solid-js";
3
+ import { mergeProps as u, createEffect as f, createMemo as a, onCleanup as d, createSignal as g, onMount as h, createComputed as p, on as v, untrack as m, For as S, splitProps as $ } from "solid-js";
4
4
 
5
5
  const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r, w(t, e)), I = e => [ ...e ].sort(((e, t) => e - t)), k = "function" == typeof queueMicrotask ? queueMicrotask : e => {
6
6
  Promise.resolve().then(e);
@@ -41,14 +41,14 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
41
41
  return e.l = r ? -1 : z(t - 1, e.l), e.u = t, n > 0 ? (O(e.h, n), O(e.o, n, r),
42
42
  e.i * n) : (e.h.splice(n), (r ? e.o.splice(0, -n) : e.o.splice(n)).reduce(((t, r) => t - (-1 === r ? e.i : r)), 0));
43
43
  }, E = e => e.documentElement, H = e => e.ownerDocument, L = e => e.defaultView, W = /*#__PURE__*/ M((() => !!/iP(hone|od|ad)/.test(navigator.userAgent) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 0)), j = /*#__PURE__*/ M((() => "scrollBehavior" in E(document).style)), q = (e, t = 40, r = 0, n, o = !1) => {
44
- let s = !!r, i = 1, c = 0, l = 0, u = 0, a = 0, f = 0, d = 0, g = 0, h = 0, v = b, p = [ 0, s ? w(r - 1, 0) : -1 ], m = 0, S = !1;
44
+ let s = !!r, i = 1, c = 0, l = 0, u = 0, f = 0, a = 0, d = 0, g = 0, h = 0, p = b, v = [ 0, s ? w(r - 1, 0) : -1 ], m = 0, S = !1;
45
45
  const $ = ((e, t, r) => ({
46
46
  i: t,
47
47
  o: r ? O(r.slice(0, z(e, r.length)), w(0, e - r.length)) : O([], e),
48
48
  u: e,
49
49
  l: -1,
50
50
  h: O([], e + 1)
51
- }))(e, n ? n[1] : t, n && n[0]), y = new Set, _ = () => u - l, k = () => _() + f + a, T = (e, t) => ((e, t, r, n) => {
51
+ }))(e, n ? n[1] : t, n && n[0]), y = new Set, _ = () => u - l, k = () => _() + a + f, T = (e, t) => ((e, t, r, n) => {
52
52
  if (n = z(n, e.u - 1), P(e, n) <= t) {
53
53
  const o = B(e, r, n);
54
54
  return [ B(e, t, n, o), o ];
@@ -57,25 +57,25 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
57
57
  const o = B(e, t, void 0, n);
58
58
  return [ o, B(e, r, o) ];
59
59
  }
60
- })($, e, t, p[0]), M = () => P($, $.u), E = (e, t) => {
61
- const r = P($, e) - f;
60
+ })($, e, t, v[0]), M = () => P($, $.u), E = (e, t) => {
61
+ const r = P($, e) - a;
62
62
  return t ? M() - r - H(e) : r;
63
63
  }, H = e => R($, e), L = (e, t = -1) => $.o[e] === t, j = e => {
64
- e && (W() && 0 !== g || v && 1 === h ? f += e : a += e);
64
+ e && (W() && 0 !== g || p && 1 === h ? a += e : f += e);
65
65
  };
66
66
  return {
67
- v: () => {
67
+ p: () => {
68
68
  y.clear();
69
69
  },
70
- p: () => i,
70
+ v: () => i,
71
71
  m: () => (e => [ e.o.slice(), e.i ])($),
72
72
  S: (e = 200) => {
73
- if (!S || s) return p;
73
+ if (!S || s) return v;
74
74
  let t, r;
75
- if (d) [t, r] = p; else {
75
+ if (d) [t, r] = v; else {
76
76
  let n = w(0, k()), s = n + c;
77
- o || (e = w(0, e), 1 !== g && (n -= e), 2 !== g && (s += e)), [t, r] = p = T(w(0, n), w(0, s)),
78
- v && (t = z(t, v[0]), r = w(r, v[1]));
77
+ o || (e = w(0, e), 1 !== g && (n -= e), 2 !== g && (s += e)), [t, r] = v = T(w(0, n), w(0, s)),
78
+ p && (t = z(t, p[0]), r = w(r, p[1]));
79
79
  }
80
80
  return [ w(t, 0), z(r, $.u - 1) ];
81
81
  },
@@ -89,7 +89,7 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
89
89
  R: () => c,
90
90
  J: () => l,
91
91
  P: M,
92
- B: () => (d = a, a = 0, [ d, 2 === h ]),
92
+ B: () => (d = f, f = 0, [ d, 2 === h ]),
93
93
  C: (e, t) => {
94
94
  const r = [ e, t ];
95
95
  return y.add(r), () => {
@@ -97,7 +97,7 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
97
97
  };
98
98
  },
99
99
  H: (e, t) => {
100
- let r, n, p = 0;
100
+ let r, n, v = 0;
101
101
  switch (e) {
102
102
  case 1:
103
103
  {
@@ -105,21 +105,21 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
105
105
  const e = d;
106
106
  d = 0;
107
107
  const r = t - u, o = x(r);
108
- e && o < x(e) + 1 || 0 !== h || (g = r < 0 ? 2 : 1), s && (s = !1), u = t, p = 4;
108
+ e && o < x(e) + 1 || 0 !== h || (g = r < 0 ? 2 : 1), s && (s = !1), u = t, v = 4;
109
109
  const i = _();
110
- i >= -c && i <= M() && (p += 1, n = o > c);
110
+ i >= -c && i <= M() && (v += 1, n = o > c);
111
111
  break;
112
112
  }
113
113
 
114
114
  case 2:
115
- p = 8, 0 !== g && (r = !0, p += 1), g = 0, h = 0, v = b;
115
+ v = 8, 0 !== g && (r = !0, v += 1), g = 0, h = 0, p = b;
116
116
  break;
117
117
 
118
118
  case 3:
119
119
  {
120
120
  const e = t.filter((([e, t]) => !L(e, t)));
121
121
  if (!e.length) break;
122
- j(e.reduce(((e, [t, r]) => ((2 === h || (v && 1 === h ? t < v[0] : E(t + (0 === g && 0 === h ? 1 : 0)) < _())) && (e += r - H(t)),
122
+ j(e.reduce(((e, [t, r]) => ((2 === h || (p && 1 === h ? t < p[0] : E(1 !== g && 0 === h ? t + 1 : t) < _())) && (e += r - H(t)),
123
123
  e)), 0));
124
124
  for (const [t, r] of e) {
125
125
  const e = H(t), n = J($, t, r);
@@ -133,16 +133,16 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
133
133
  })), e.l = -1;
134
134
  const o = I(n), s = o.length, i = s / 2 | 0, c = s % 2 == 0 ? (o[i - 1] + o[i]) / 2 : o[i], l = e.i;
135
135
  return ((e.i = c) - l) * w(t - r, 0);
136
- })($, B($, k()))), o = !1), p = 3, n = !0;
136
+ })($, B($, k()))), o = !1), v = 3, n = !0;
137
137
  break;
138
138
  }
139
139
 
140
140
  case 4:
141
- c !== t && (c || (S = n = !0), c = t, p = 3);
141
+ c !== t && (c || (S = n = !0), c = t, v = 3);
142
142
  break;
143
143
 
144
144
  case 5:
145
- t[1] ? (j(C($, t[0], !0)), h = 2, p = 1) : (C($, t[0]), p = 1);
145
+ t[1] ? (j(C($, t[0], !0)), h = 2, v = 1) : (C($, t[0]), v = 1);
146
146
  break;
147
147
 
148
148
  case 6:
@@ -154,16 +154,16 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
154
154
  break;
155
155
 
156
156
  case 8:
157
- v = T(t, t + c), p = 1;
157
+ p = T(t, t + c), v = 1;
158
158
  }
159
- p && (i = 1 + (2147483647 & i), r && f && (a += f, f = 0), y.forEach((([e, t]) => {
160
- p & e && t(n);
159
+ v && (i = 1 + (2147483647 & i), r && a && (f += a, a = 0), y.forEach((([e, t]) => {
160
+ v & e && t(n);
161
161
  })));
162
162
  }
163
163
  };
164
164
  }, N = setTimeout, V = (e, t) => t ? -e : e, X = (e, t, r, n, o, s) => {
165
165
  const i = Date.now;
166
- let c = 0, l = !1, u = !1, a = !1, f = !1;
166
+ let c = 0, l = !1, u = !1, f = !1, a = !1;
167
167
  const d = (() => {
168
168
  let t;
169
169
  const r = () => {
@@ -172,36 +172,36 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
172
172
  r(), t = N((() => {
173
173
  t = b, (() => {
174
174
  if (l || u) return l = !1, void d();
175
- a = !1, e.H(2);
175
+ f = !1, e.H(2);
176
176
  })();
177
177
  }), 150);
178
178
  };
179
179
  return n.L = r, n;
180
180
  })(), g = () => {
181
- c = i(), a && (f = !0), s && e.H(6, s()), e.H(1, n()), d();
181
+ c = i(), f && (a = !0), s && e.H(6, s()), e.H(1, n()), d();
182
182
  }, h = t => {
183
183
  if (l || !e.O() || t.ctrlKey) return;
184
184
  const n = i() - c;
185
185
  150 > n && 50 < n && (r ? t.deltaX : t.deltaY) && (l = !0);
186
- }, v = () => {
187
- u = !0, a = f = !1;
188
186
  }, p = () => {
189
- u = !1, W() && (a = !0);
187
+ u = !0, f = a = !1;
188
+ }, v = () => {
189
+ u = !1, W() && (f = !0);
190
190
  };
191
191
  return t.addEventListener("scroll", g), t.addEventListener("wheel", h, {
192
192
  passive: !0
193
- }), t.addEventListener("touchstart", v, {
193
+ }), t.addEventListener("touchstart", p, {
194
194
  passive: !0
195
- }), t.addEventListener("touchend", p, {
195
+ }), t.addEventListener("touchend", v, {
196
196
  passive: !0
197
197
  }), {
198
198
  W: () => {
199
- t.removeEventListener("scroll", g), t.removeEventListener("wheel", h), t.removeEventListener("touchstart", v),
200
- t.removeEventListener("touchend", p), d.L();
199
+ t.removeEventListener("scroll", g), t.removeEventListener("wheel", h), t.removeEventListener("touchstart", p),
200
+ t.removeEventListener("touchend", v), d.L();
201
201
  },
202
202
  j: () => {
203
203
  const [t, r] = e.B();
204
- t && (o(t, r, f), f = !1, r && e.R() > e.P() && e.H(1, n()));
204
+ t && (o(t, r, a), a = !1, r && e.R() > e.P() && e.H(1, n()));
205
205
  }
206
206
  };
207
207
  }, Y = (e, t, r) => {
@@ -261,10 +261,10 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
261
261
  let n;
262
262
  r = u({
263
263
  V: "div"
264
- }, r), a((() => {
264
+ }, r), f((() => {
265
265
  n && d(r.X(n, r.Y));
266
266
  }));
267
- const o = f((() => {
267
+ const o = a((() => {
268
268
  const e = r.D, t = {
269
269
  contain: "layout style",
270
270
  position: "absolute",
@@ -315,7 +315,7 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
315
315
  K: (e, t) => (o.set(e, t), s.q(e), () => {
316
316
  o.delete(e), s.N(e);
317
317
  }),
318
- v: s.W
318
+ p: s.W
319
319
  };
320
320
  })(c, s), $ = ((e, t) => {
321
321
  let r, n, o = T(), s = !1;
@@ -326,18 +326,18 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
326
326
  }) : r[i] = e;
327
327
  }));
328
328
  return {
329
- Z(l, a) {
330
- r = a, t && (s = "rtl" === getComputedStyle(a).direction), n = X(e, a, t, (() => V(a[i], s)), ((t, r, n) => {
329
+ Z(l, f) {
330
+ r = f, t && (s = "rtl" === getComputedStyle(f).direction), n = X(e, f, t, (() => V(f[i], s)), ((t, r, n) => {
331
331
  if (n) {
332
- const e = a.style, t = e[c];
332
+ const e = f.style, t = e[c];
333
333
  e[c] = "hidden", N((() => {
334
334
  e[c] = t;
335
335
  }));
336
336
  }
337
- a[i] = V(e.M() + t, s), r && u();
337
+ f[i] = V(e.M() + t, s), r && u();
338
338
  })), o[1](!0);
339
339
  },
340
- v() {
340
+ p() {
341
341
  n && n.W(), o[1](!1), o = T();
342
342
  },
343
343
  ee: () => s,
@@ -361,21 +361,19 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
361
361
  n && n.j();
362
362
  }
363
363
  };
364
- })(c, s), [z, x] = g(c.p());
364
+ })(c, s), [z, x] = g(c.v());
365
365
  c.C(1, (() => {
366
- x(c.p());
366
+ x(c.v());
367
367
  })), c.C(4, (() => {
368
- var e;
369
- null === (e = r.onScroll) || void 0 === e || e.call(r, c.M());
368
+ r.onScroll?.(c.M());
370
369
  })), c.C(8, (() => {
371
- var e;
372
- null === (e = r.onScrollEnd) || void 0 === e || e.call(r);
370
+ r.onScrollEnd?.();
373
371
  }));
374
- const y = f((e => {
372
+ const y = a((e => {
375
373
  z();
376
374
  const t = c.S(r.bufferSize);
377
375
  return e && A(e, t) ? e : t;
378
- })), k = f((() => z() && c.O())), M = f((() => z() && c.P())), O = f((() => z() && $.ee()));
376
+ })), k = a((() => z() && c.O())), M = a((() => z() && c.P())), O = a((() => z() && $.ee()));
379
377
  h((() => {
380
378
  r.ref && r.ref({
381
379
  get cache() {
@@ -399,14 +397,14 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
399
397
  });
400
398
  const e = n, t = r.scrollRef || e.parentElement;
401
399
  l.G(t), $.Z(e, t), d((() => {
402
- r.ref && r.ref(), c.v(), l.v(), $.v();
400
+ r.ref && r.ref(), c.p(), l.p(), $.p();
403
401
  }));
404
- })), v(p((() => r.startMargin || 0), (e => {
402
+ })), p(v((() => r.startMargin || 0), (e => {
405
403
  e !== c.J() && c.H(6, e);
406
- }))), a(p(z, (() => {
404
+ }))), f(v(z, (() => {
407
405
  $.oe();
408
406
  })));
409
- const R = f((() => {
407
+ const R = a((() => {
410
408
  const e = r.data.length;
411
409
  m((() => {
412
410
  e !== c.T() && c.H(5, [ e, r.shift ]);
@@ -448,7 +446,7 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
448
446
  return R().se;
449
447
  },
450
448
  children: (t, n) => ((t, n) => {
451
- const o = f((() => (z(), c.I(n(), O())))), i = f((() => (z(), c._(n())))), u = f((() => m((() => r.children(t, n)))));
449
+ const o = a((() => (z(), c.I(n(), O())))), i = a((() => (z(), c._(n())))), u = a((() => m((() => r.children(t, n)))));
452
450
  return e(U, {
453
451
  get V() {
454
452
  return r.item;
@@ -470,74 +468,74 @@ const b = null, {min: z, max: w, abs: x, floor: y} = Math, _ = (e, t, r) => z(r,
470
468
  },
471
469
  D: s
472
470
  });
473
- })(t, f((() => R().ie[n()])))
471
+ })(t, a((() => R().ie[n()])))
474
472
  });
475
473
  }
476
474
  });
477
475
  };
478
476
 
479
- var G = /*#__PURE__*/ r("<div>");
477
+ var G = /*#__PURE__*/ s("<div>");
480
478
 
481
479
  const K = t => {
482
- const [r, i] = $(t, [ "ref", "data", "children", "bufferSize", "itemSize", "shift", "horizontal", "keepMounted", "cache", "item", "onScroll", "onScrollEnd", "style" ]);
483
- return c = G(), n(c, o(i, {
480
+ const [s, i] = $(t, [ "ref", "data", "children", "bufferSize", "itemSize", "shift", "horizontal", "keepMounted", "cache", "item", "onScroll", "onScrollEnd", "style" ]);
481
+ return c = G(), r(c, n(i, {
484
482
  get style() {
485
483
  return {
486
- display: r.horizontal ? "inline-block" : "block",
487
- [r.horizontal ? "overflow-x" : "overflow-y"]: "auto",
484
+ display: s.horizontal ? "inline-block" : "block",
485
+ [s.horizontal ? "overflow-x" : "overflow-y"]: "auto",
488
486
  contain: "strict",
489
487
  width: "100%",
490
488
  height: "100%",
491
- ...r.style
489
+ ...s.style
492
490
  };
493
491
  }
494
- }), !1, !0), s(c, e(F, {
492
+ }), !1, !0), o(c, e(F, {
495
493
  ref(e) {
496
- var t = r.ref;
497
- "function" == typeof t ? t(e) : r.ref = e;
494
+ var t = s.ref;
495
+ "function" == typeof t ? t(e) : s.ref = e;
498
496
  },
499
497
  get data() {
500
- return r.data;
498
+ return s.data;
501
499
  },
502
500
  get bufferSize() {
503
- return r.bufferSize;
501
+ return s.bufferSize;
504
502
  },
505
503
  get itemSize() {
506
- return r.itemSize;
504
+ return s.itemSize;
507
505
  },
508
506
  get shift() {
509
- return r.shift;
507
+ return s.shift;
510
508
  },
511
509
  get horizontal() {
512
- return r.horizontal;
510
+ return s.horizontal;
513
511
  },
514
512
  get keepMounted() {
515
- return r.keepMounted;
513
+ return s.keepMounted;
516
514
  },
517
515
  get cache() {
518
- return r.cache;
516
+ return s.cache;
519
517
  },
520
518
  get item() {
521
- return r.item;
519
+ return s.item;
522
520
  },
523
521
  get onScroll() {
524
- return r.onScroll;
522
+ return s.onScroll;
525
523
  },
526
524
  get onScrollEnd() {
527
- return r.onScrollEnd;
525
+ return s.onScrollEnd;
528
526
  },
529
527
  get children() {
530
- return r.children;
528
+ return s.children;
531
529
  }
532
530
  })), c;
533
531
  var c;
534
532
  };
535
533
 
536
- var Q = /*#__PURE__*/ r("<div style=overflow-anchor:none>");
534
+ var Q = /*#__PURE__*/ s("<div style=overflow-anchor:none>");
537
535
 
538
536
  const Z = t => {
539
537
  let r;
540
- const {ref: n, data: o, children: u, itemSize: v, shift: $, horizontal: z = !1, cache: w, onScrollEnd: x} = t, y = q(t.data.length, v, void 0, w, !v), I = ((e, t) => {
538
+ const {ref: n, data: s, children: u, itemSize: p, shift: $, horizontal: z = !1, cache: w, onScrollEnd: x} = t, y = q(t.data.length, p, void 0, w, !p), I = ((e, t) => {
541
539
  const r = t ? "width" : "height", n = t ? "innerWidth" : "innerHeight", o = new WeakMap, s = D((t => {
542
540
  const n = [];
543
541
  for (const {target: e, contentRect: s} of t) {
@@ -560,7 +558,7 @@ const Z = t => {
560
558
  K: (e, t) => (o.set(e, t), s.q(e), () => {
561
559
  o.delete(e), s.N(e);
562
560
  }),
563
- v() {
561
+ p() {
564
562
  i && i(), s.W();
565
563
  }
566
564
  };
@@ -582,16 +580,16 @@ const Z = t => {
582
580
  return {
583
581
  Z(c) {
584
582
  r = c;
585
- const u = t ? "scrollX" : "scrollY", a = H(c), f = L(a);
586
- t && (s = "rtl" === getComputedStyle(E(a)).direction), n = X(e, f, t, (() => V(f[u], s)), ((t, r) => {
587
- r ? f.scroll({
583
+ const u = t ? "scrollX" : "scrollY", f = H(c), a = L(f);
584
+ t && (s = "rtl" === getComputedStyle(E(f)).direction), n = X(e, a, t, (() => V(a[u], s)), ((t, r) => {
585
+ r ? a.scroll({
588
586
  [i]: V(e.M() + t, s)
589
- }) : f.scrollBy({
587
+ }) : a.scrollBy({
590
588
  [i]: V(t, s)
591
589
  });
592
- }), (() => l(c, a.body, f, t))), o[1](!0);
590
+ }), (() => l(c, f.body, a, t))), o[1](!0);
593
591
  },
594
- v() {
592
+ p() {
595
593
  n && n.W(), r = void 0, o[1](!1), o = T();
596
594
  },
597
595
  ee: () => s,
@@ -607,25 +605,23 @@ const Z = t => {
607
605
  o = "end";
608
606
  }
609
607
  }
610
- const u = H(r), a = L(u), f = E(u), d = () => e.R() - (t ? f.clientWidth : f.clientHeight);
611
- c((() => i + l(r, u.body, a, t) + e.I(n) + ("end" === o ? e.k(n) - (e.R() - d()) : "center" === o ? (e.k(n) - (e.R() - d())) / 2 : 0)), s);
608
+ const u = H(r), f = L(u), a = E(u), d = () => e.R() - (t ? a.clientWidth : a.clientHeight);
609
+ c((() => i + l(r, u.body, f, t) + e.I(n) + ("end" === o ? e.k(n) - (e.R() - d()) : "center" === o ? (e.k(n) - (e.R() - d())) / 2 : 0)), s);
612
610
  }
613
611
  };
614
- })(y, z), [O, R] = g(y.p());
612
+ })(y, z), [O, R] = g(y.v());
615
613
  y.C(1, (() => {
616
- R(y.p());
614
+ R(y.v());
617
615
  })), y.C(4, (() => {
618
- var e;
619
- null === (e = t.onScroll) || void 0 === e || e.call(t);
616
+ t.onScroll?.();
620
617
  })), y.C(8, (() => {
621
- var e;
622
- null === (e = t.onScrollEnd) || void 0 === e || e.call(t);
618
+ t.onScrollEnd?.();
623
619
  }));
624
- const J = f((e => {
620
+ const J = a((e => {
625
621
  O();
626
622
  const r = y.S(t.bufferSize);
627
623
  return e && A(e, r) ? e : r;
628
- })), P = f((() => O() && y.O())), B = f((() => O() && y.P())), C = f((() => O() && M.ee()));
624
+ })), P = a((() => O() && y.O())), B = a((() => O() && y.P())), C = a((() => O() && M.ee()));
629
625
  h((() => {
630
626
  t.ref && t.ref({
631
627
  get cache() {
@@ -642,12 +638,12 @@ const Z = t => {
642
638
  getItemSize: y.k,
643
639
  scrollToIndex: M.ne
644
640
  }), I.G(r), M.Z(r), d((() => {
645
- t.ref && t.ref(), y.v(), I.v(), M.v();
641
+ t.ref && t.ref(), y.p(), I.p(), M.p();
646
642
  }));
647
- })), a(p(O, (() => {
643
+ })), f(v(O, (() => {
648
644
  M.oe();
649
645
  })));
650
- const W = f((() => {
646
+ const W = a((() => {
651
647
  const e = t.data.length;
652
648
  m((() => {
653
649
  e !== y.T() && y.H(5, [ e, t.shift ]);
@@ -657,13 +653,13 @@ const Z = t => {
657
653
  return r;
658
654
  }));
659
655
  return j = Q(), "function" == typeof r ? i(r, j) : r = j, c(j, "contain", "size style"),
660
- c(j, "flex", "none"), c(j, "position", "relative"), s(j, e(S, {
656
+ c(j, "flex", "none"), c(j, "position", "relative"), o(j, e(S, {
661
657
  get each() {
662
658
  return W();
663
659
  },
664
660
  children: (r, n) => {
665
- const o = f((() => J()[0] + n())), s = f((() => (O(), y.I(o(), C())))), i = f((() => (O(),
666
- y._(o())))), c = f((() => m((() => t.children(r, o)))));
661
+ const o = a((() => J()[0] + n())), s = a((() => (O(), y.I(o(), C())))), i = a((() => (O(),
662
+ y._(o())))), c = a((() => m((() => t.children(r, o)))));
667
663
  return e(U, {
668
664
  get Y() {
669
665
  return o();