@wyxos/vibe 3.1.8 → 3.1.9

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/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Comment as e, Fragment as t, Text as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createVNode as u, defineComponent as d, getCurrentScope as f, guardReactiveProps as p, h as m, isVNode as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, onScopeDispose as C, openBlock as w, reactive as T, readonly as E, ref as D, renderList as ee, renderSlot as O, resolveDynamicComponent as k, toDisplayString as A, toRef as j, unref as M, useAttrs as N, useSlots as P, vShow as F, watch as I, watchEffect as L, withCtx as R, withDirectives as z, withModifiers as te } from "vue";
1
+ import { Comment as e, Fragment as t, Text as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createVNode as u, defineComponent as d, getCurrentScope as f, guardReactiveProps as p, h as m, isVNode as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, onScopeDispose as C, openBlock as w, reactive as T, readonly as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as A, toDisplayString as j, toRef as M, unref as N, useAttrs as P, useSlots as F, vShow as I, watch as L, watchEffect as R, withCtx as z, withDirectives as B, withModifiers as ee } from "vue";
2
2
  //#region node_modules/lucide-vue-next/dist/esm/shared/src/utils/hasA11yProp.js
3
- var B = (e) => {
3
+ var te = (e) => {
4
4
  for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
5
5
  return !1;
6
6
  }, V = (e) => e === "", H = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), U = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), W = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), ne = (e) => {
@@ -24,7 +24,7 @@ var B = (e) => {
24
24
  stroke: s,
25
25
  "stroke-width": V(n) || V(r) || n === !0 || r === !0 ? Number(i || a || G["stroke-width"]) * 24 / Number(o) : i || a || G["stroke-width"],
26
26
  class: H("lucide", c.class, ...e ? [`lucide-${U(ne(e))}-icon`, `lucide-${U(e)}`] : ["lucide-icon"]),
27
- ...!l.default && !B(c) && { "aria-hidden": "true" }
27
+ ...!l.default && !te(c) && { "aria-hidden": "true" }
28
28
  }, [...t.map((e) => m(...e)), ...l.default ? [l.default()] : []]), q = (e, t) => (n, { slots: r, attrs: i }) => m(K, {
29
29
  ...i,
30
30
  ...n,
@@ -179,10 +179,10 @@ var B = (e) => {
179
179
  key: "5ykzw1"
180
180
  }]
181
181
  ]);
182
- function Z(e, t = 150) {
182
+ function fe(e, t = 150) {
183
183
  return pe(e, (e) => `${e.surface}|${e.occurrenceKey}|${e.url}|${e.kind}`, t);
184
184
  }
185
- function fe(e, t = 150) {
185
+ function Z(e, t = 150) {
186
186
  return pe(e, (e) => `${e.surface}|${e.occurrenceKey}|${e.url}`, t);
187
187
  }
188
188
  function pe(e, t, n) {
@@ -437,23 +437,23 @@ function Ue() {
437
437
  //#endregion
438
438
  //#region src/components/viewer-core/useAutoResolveSource.ts
439
439
  function We(e) {
440
- let t = !!e.initialState?.items.length, n = D([]), r = D(0), a = D([]), o = D(!1), s = D(null), c = D(!t && typeof e.resolve == "function" ? "initializing" : "idle"), l = D(null), u = Ue(), d = u.remainingMs, f = D(null), p = D(!1), m = D(!0), h = D(!1), g = /* @__PURE__ */ new Set(), _ = null, v = null, y = 0, b = 0, C = i(() => He(e.fillDelayMs, Re)), w = i(() => He(e.fillDelayStepMs, ze)), T = i(() => typeof e.resolve == "function"), E = i(() => _e(e.pageSize)), ee = i(() => we(n.value)), O = i(() => Te(ee.value, e.removedIds.value)), k = i(() => r.value), A = i(() => ge(c.value) || p.value), j = i(() => Ge(n.value, e.removedIds.value)), M = i(() => Ke(n.value, e.removedIds.value)), N = i(() => M.value?.nextCursor ?? null), P = i(() => o.value ? null : j.value?.previousCursor ?? null), F = i(() => !!N.value), L = i(() => !!P.value), R = i(() => T.value && n.value.length > 0), z = i(() => Te(we(a.value), e.removedIds.value)), te = i(() => Oe(n.value, e.removedIds.value, k.value)), B = i(() => !O.value.length && !A.value && !!s.value);
441
- I(() => O.value.length, (e) => {
440
+ let t = !!e.initialState?.items.length, n = D([]), r = D(0), a = D([]), o = D(!1), s = D(null), c = D(!t && typeof e.resolve == "function" ? "initializing" : "idle"), l = D(null), u = D(null), d = Ue(), f = d.remainingMs, p = D(null), m = D(!1), h = D(!0), g = D(!1), _ = /* @__PURE__ */ new Set(), v = null, y = null, b = 0, C = 0, w = i(() => He(e.fillDelayMs, Re)), T = i(() => He(e.fillDelayStepMs, ze)), E = i(() => typeof e.resolve == "function"), O = i(() => _e(e.pageSize)), k = i(() => we(n.value)), A = i(() => Te(k.value, e.removedIds.value)), j = i(() => r.value), M = i(() => ge(c.value) || m.value), N = i(() => Ge(n.value, e.removedIds.value)), P = i(() => Ke(n.value, e.removedIds.value)), F = i(() => P.value?.nextCursor ?? null), I = i(() => o.value ? null : N.value?.previousCursor ?? null), R = i(() => !!F.value), z = i(() => !!I.value), B = i(() => E.value && n.value.length > 0), ee = i(() => Te(we(a.value), e.removedIds.value)), te = i(() => Oe(n.value, e.removedIds.value, j.value)), V = i(() => !A.value.length && !M.value && !!s.value);
441
+ L(() => A.value.length, (e) => {
442
442
  if (e === 0) {
443
443
  r.value = 0;
444
444
  return;
445
445
  }
446
- o.value &&= (he(), !1), r.value > e - 1 && (r.value = e - 1);
447
- }), I(() => r.value, () => {
448
- m.value && se();
446
+ o.value &&= (ye(), !1), r.value > e - 1 && (r.value = e - 1);
447
+ }), L(() => r.value, () => {
448
+ h.value && ce();
449
449
  }), S(() => {
450
- fe() || e.resolve && V();
450
+ pe() || e.resolve && H();
451
451
  }), x(() => {
452
- _?.abort(), _ = null, u.clear(!0);
452
+ v?.abort(), v = null, d.clear(!0);
453
453
  });
454
- async function V() {
455
- v = V;
456
- let t = await ue({
454
+ async function H() {
455
+ y = H;
456
+ let t = await de({
457
457
  continueUntilFilled: !0,
458
458
  cursor: e.initialCursor ?? null,
459
459
  direction: "forward",
@@ -461,179 +461,179 @@ function We(e) {
461
461
  });
462
462
  t && (n.value = t.buckets, r.value = 0, Z());
463
463
  }
464
- async function H() {
465
- if (!(h.value || A.value)) {
466
- if (me("trailing") || !F.value) {
467
- if (!R.value) return;
468
- let e = await X("trailing");
469
- e?.itemsLoaded === 0 && e.followCursor && await ce(e.followCursor);
470
- return;
471
- }
472
- await ce(N.value);
473
- }
474
- }
475
464
  async function U() {
476
- if (!(h.value || !L.value || A.value)) {
477
- if (me("leading")) {
478
- let e = await X("leading");
465
+ if (!(g.value || M.value)) {
466
+ if (he("trailing") || !R.value) {
467
+ if (!B.value) return;
468
+ let e = await ue("trailing");
479
469
  e?.itemsLoaded === 0 && e.followCursor && await le(e.followCursor);
480
470
  return;
481
471
  }
482
- await le(P.value);
472
+ await le(F.value);
483
473
  }
484
474
  }
485
475
  async function W() {
486
- if (B.value) {
487
- if (n.value = [], r.value = 0, a.value = [], o.value = !1, s.value = null, c.value = T.value ? "initializing" : "idle", l.value = null, f.value = null, p.value = !1, g.clear(), _?.abort(), _ = null, u.clear(!0), fe()) {
488
- Z();
476
+ if (!(g.value || !z.value || M.value)) {
477
+ if (he("leading")) {
478
+ let e = await ue("leading");
479
+ e?.itemsLoaded === 0 && e.followCursor && await X(e.followCursor);
489
480
  return;
490
481
  }
491
- await V();
482
+ await X(I.value);
492
483
  }
493
484
  }
494
485
  async function ne() {
495
- if (B.value) return W();
496
- h.value || c.value !== "failed" || !v || (s.value = null, await v());
486
+ if (V.value) {
487
+ if (n.value = [], r.value = 0, a.value = [], o.value = !1, s.value = null, c.value = E.value ? "initializing" : "idle", l.value = null, u.value = null, p.value = null, m.value = !1, _.clear(), v?.abort(), v = null, d.clear(!0), pe()) {
488
+ Z();
489
+ return;
490
+ }
491
+ await H();
492
+ }
497
493
  }
498
494
  async function G() {
499
- if (!a.value.length) return p.value = !1, Z();
500
- n.value = [...n.value, ...a.value], a.value = [], p.value = !1, Z();
495
+ if (V.value) return ne();
496
+ g.value || c.value !== "failed" || !y || (s.value = null, await y());
497
+ }
498
+ async function K() {
499
+ if (!a.value.length) return m.value = !1, Z();
500
+ n.value = [...n.value, ...a.value], a.value = [], m.value = !1, Z();
501
501
  }
502
- function K(t) {
503
- let n = O.value;
502
+ function q(t) {
503
+ let n = A.value;
504
504
  if (!n.length) return;
505
505
  let i = Q(t, 0, n.length - 1);
506
506
  i !== r.value && (r.value = i, e.emit("update:activeIndex", i));
507
507
  }
508
- function q(e) {
509
- m.value = e;
510
- }
511
- function re() {
512
- h.value = !0, u.clear(!0);
508
+ function re(e) {
509
+ h.value = e;
513
510
  }
514
511
  function J() {
515
- h.value = !1;
512
+ g.value = !0, d.clear(!0);
516
513
  }
517
514
  function Y() {
518
- y += 1, _?.abort(), _ = null, u.clear(!0), g.clear(), s.value = null, l.value = null, f.value = null, a.value.length > 0 && (n.value = [...n.value, ...a.value], a.value = []), p.value = !1, o.value = !1, Z();
515
+ g.value = !1;
519
516
  }
520
517
  function ie() {
521
- return Fe(O.value, k.value);
518
+ b += 1, v?.abort(), v = null, d.clear(!0), _.clear(), s.value = null, l.value = null, u.value = null, p.value = null, a.value.length > 0 && (n.value = [...n.value, ...a.value], a.value = []), m.value = !1, o.value = !1, Z();
522
519
  }
523
- function ae(e = null, t = {}) {
524
- if (O.value.length === 0) {
520
+ function ae() {
521
+ return Fe(A.value, j.value);
522
+ }
523
+ function oe(e = null, t = {}) {
524
+ if (A.value.length === 0) {
525
525
  r.value = 0, !t.preserveTrailingPlaceholder && n.value.length > 0 && (o.value = !0);
526
526
  return;
527
527
  }
528
528
  if (e) {
529
- let t = O.value.findIndex((t) => $(t) === e);
529
+ let t = A.value.findIndex((t) => $(t) === e);
530
530
  if (t >= 0) {
531
531
  r.value = t;
532
532
  return;
533
533
  }
534
534
  }
535
- if (t.preserveTrailingPlaceholder && r.value >= O.value.length) {
536
- r.value = O.value.length;
535
+ if (t.preserveTrailingPlaceholder && r.value >= A.value.length) {
536
+ r.value = A.value.length;
537
537
  return;
538
538
  }
539
- r.value = Ie(O.value, k.value, e);
539
+ r.value = Ie(A.value, j.value, e);
540
540
  }
541
- function oe() {
542
- a.value.length > 0 && !z.value.length && G();
541
+ function se() {
542
+ a.value.length > 0 && !ee.value.length && K();
543
543
  }
544
- async function se() {
545
- if (!(!m.value || pe())) {
546
- if (!O.value.length) {
547
- F.value && await H();
544
+ async function ce() {
545
+ if (!(!h.value || me())) {
546
+ if (!A.value.length) {
547
+ R.value && await U();
548
548
  return;
549
549
  }
550
- L.value && r.value < 3 && await U(), F.value && r.value >= O.value.length - 3 && await H();
550
+ z.value && r.value < 3 && await W(), R.value && r.value >= A.value.length - 3 && await U();
551
551
  }
552
552
  }
553
- async function ce(e) {
554
- v = async () => {
555
- await ce(e);
553
+ async function le(e) {
554
+ y = async () => {
555
+ await le(e);
556
556
  };
557
- let t = await ue({
557
+ let t = await de({
558
558
  continueUntilFilled: !0,
559
559
  cursor: e,
560
560
  direction: "forward",
561
561
  phase: "loading"
562
562
  });
563
563
  if (t) {
564
- if (t.canceled) return n.value = [...n.value, ...t.buckets], a.value = [], p.value = !1, Z();
565
- if (a.value = t.buckets, !z.value.length) return n.value = [...n.value, ...a.value], a.value = [], p.value = !1, Z();
566
- p.value = !0;
564
+ if (t.canceled) return n.value = [...n.value, ...t.buckets], a.value = [], m.value = !1, Z();
565
+ if (a.value = t.buckets, !ee.value.length) return n.value = [...n.value, ...a.value], a.value = [], m.value = !1, Z();
566
+ m.value = !0;
567
567
  }
568
568
  }
569
- async function le(e) {
570
- v = async () => {
571
- await le(e);
569
+ async function X(e) {
570
+ y = async () => {
571
+ await X(e);
572
572
  };
573
- let t = await ue({
573
+ let t = await de({
574
574
  continueUntilFilled: !0,
575
575
  cursor: e,
576
576
  direction: "backward",
577
577
  phase: "loading"
578
578
  });
579
579
  if (!t) return;
580
- let r = ie();
581
- n.value = [...t.buckets, ...n.value], ae(r), Z();
580
+ let r = ae();
581
+ n.value = [...t.buckets, ...n.value], oe(r), Z();
582
582
  }
583
- async function X(t) {
584
- if (v = async () => {
585
- await X(t);
583
+ async function ue(t) {
584
+ if (y = async () => {
585
+ await ue(t);
586
586
  }, !e.resolve) return null;
587
- let r = t === "leading" ? j.value : M.value;
587
+ let r = t === "leading" ? N.value : P.value;
588
588
  if (!r) return null;
589
589
  let i = ve(r.cursor);
590
- if (g.has(i)) return null;
591
- g.add(i), s.value = null, c.value = "refreshing", l.value = null, f.value = null;
592
- let a = ++y, o = typeof AbortController > "u" ? null : new AbortController();
593
- _ = o;
590
+ if (_.has(i)) return null;
591
+ _.add(i), s.value = null, c.value = "refreshing", l.value = null, u.value = null, p.value = null;
592
+ let a = ++b, o = typeof AbortController > "u" ? null : new AbortController();
593
+ v = o;
594
594
  try {
595
595
  let i = await e.resolve({
596
596
  cursor: r.cursor,
597
- pageSize: E.value,
597
+ pageSize: O.value,
598
598
  signal: o?.signal
599
599
  });
600
- if (a !== y) return Z(), null;
601
- let s = de({
600
+ if (a !== b) return Z(), null;
601
+ let s = fe({
602
602
  cursor: r.cursor,
603
603
  nextCursor: i.nextPage,
604
604
  nextItems: i.items,
605
605
  previousCursor: i.previousPage ?? null,
606
606
  previousItems: r.items
607
- }), c = ie();
608
- return n.value = ke(n.value, r.cursor, s), ae(c), Z(), {
607
+ }), c = ae();
608
+ return n.value = ke(n.value, r.cursor, s), oe(c), Z(), {
609
609
  followCursor: t === "leading" ? i.previousPage ?? null : i.nextPage,
610
610
  itemsLoaded: i.items.length
611
611
  };
612
612
  } catch (e) {
613
- return je(e) || a !== y ? (Z(), null) : (s.value = e instanceof Error ? e.message : "The viewer could not load items.", c.value = "failed", l.value = null, f.value = null, null);
613
+ return je(e) || a !== b ? (Z(), null) : (s.value = e instanceof Error ? e.message : "The viewer could not load items.", c.value = "failed", l.value = null, u.value = null, p.value = null, null);
614
614
  } finally {
615
- _ === o && (_ = null), g.delete(i);
615
+ v === o && (v = null), _.delete(i);
616
616
  }
617
617
  }
618
- async function ue(t) {
618
+ async function de(t) {
619
619
  if (!e.resolve) return null;
620
- let n = ++y, r = /* @__PURE__ */ new Set(), i = [], a = t.cursor, o = 0;
621
- for (s.value = null, c.value = t.phase, l.value = null, f.value = null;;) {
622
- if (n !== y) return Ne(i, t.direction, e.removedIds.value, !0);
623
- if (i.length > 0 && h.value) return Ne(i, t.direction, e.removedIds.value, !1);
624
- let d = ve(a);
625
- if (r.has(d) || g.has(d)) break;
626
- r.add(d), g.add(d);
627
- let p = typeof AbortController > "u" ? null : new AbortController();
628
- _ = p;
620
+ let n = ++b, r = /* @__PURE__ */ new Set(), i = [], a = t.cursor, o = 0;
621
+ for (s.value = null, c.value = t.phase, l.value = null, u.value = null, p.value = null;;) {
622
+ if (n !== b) return Ne(i, t.direction, e.removedIds.value, !0);
623
+ if (i.length > 0 && g.value) return Ne(i, t.direction, e.removedIds.value, !1);
624
+ let f = ve(a);
625
+ if (r.has(f) || _.has(f)) break;
626
+ r.add(f), _.add(f);
627
+ let m = typeof AbortController > "u" ? null : new AbortController();
628
+ v = m;
629
629
  try {
630
630
  let r = await e.resolve({
631
631
  cursor: a,
632
- pageSize: E.value,
633
- signal: p?.signal
632
+ pageSize: O.value,
633
+ signal: m?.signal
634
634
  });
635
- if (n !== y) return Ne(i, t.direction, e.removedIds.value, !0);
636
- let s = de({
635
+ if (n !== b) return Ne(i, t.direction, e.removedIds.value, !0);
636
+ let s = fe({
637
637
  cursor: a,
638
638
  nextCursor: r.nextPage,
639
639
  nextItems: r.items,
@@ -641,55 +641,55 @@ function We(e) {
641
641
  previousItems: []
642
642
  });
643
643
  i.push(s);
644
- let d = i.reduce((t, n) => t + De(n, e.removedIds.value), 0), m = t.direction === "forward" ? s.nextCursor : s.previousCursor;
645
- if (!t.continueUntilFilled || d >= E.value || !m) return {
644
+ let f = i.reduce((t, n) => t + De(n, e.removedIds.value), 0), h = t.direction === "forward" ? s.nextCursor : s.previousCursor;
645
+ if (!t.continueUntilFilled || f >= O.value || !h) return u.value = null, {
646
646
  canceled: !1,
647
647
  buckets: t.direction === "backward" ? [...i].reverse() : i,
648
- visibleCount: d
648
+ visibleCount: f
649
649
  };
650
- if (h.value) return Ne(i, t.direction, e.removedIds.value, !1);
651
- c.value = "filling", l.value = d, f.value = E.value, o += 1;
652
- let g = Ve(o, C.value, w.value);
653
- if (await u.wait(g), n !== y) return Ne(i, t.direction, e.removedIds.value, !0);
654
- a = m;
650
+ if (g.value) return Ne(i, t.direction, e.removedIds.value, !1);
651
+ c.value = "filling", l.value = f, u.value = h, p.value = O.value, o += 1;
652
+ let _ = Ve(o, w.value, T.value);
653
+ if (await d.wait(_), n !== b) return Ne(i, t.direction, e.removedIds.value, !0);
654
+ a = h;
655
655
  } catch (r) {
656
- return je(r) || n !== y ? Ne(i, t.direction, e.removedIds.value, !0) : (s.value = r instanceof Error ? r.message : "The viewer could not load items.", c.value = "failed", l.value = null, f.value = null, null);
656
+ return je(r) || n !== b ? Ne(i, t.direction, e.removedIds.value, !0) : (s.value = r instanceof Error ? r.message : "The viewer could not load items.", c.value = "failed", l.value = null, u.value = null, p.value = null, null);
657
657
  } finally {
658
- _ === p && (_ = null), g.delete(d);
658
+ v === m && (v = null), _.delete(f);
659
659
  }
660
660
  }
661
661
  return Ne(i, t.direction, e.removedIds.value, !1);
662
662
  }
663
- function de(e) {
663
+ function fe(e) {
664
664
  let t = Me({
665
665
  cursor: e.cursor,
666
666
  nextCursor: e.nextCursor,
667
667
  nextItems: e.nextItems,
668
668
  previousCursor: e.previousCursor,
669
669
  previousItems: e.previousItems,
670
- sequence: b
670
+ sequence: C
671
671
  });
672
- return b = t.nextSequence, t.bucket;
672
+ return C = t.nextSequence, t.bucket;
673
673
  }
674
674
  function Z() {
675
- c.value = "idle", l.value = null, f.value = null, u.clear();
675
+ c.value = "idle", l.value = null, u.value = null, p.value = null, d.clear();
676
676
  }
677
- function fe() {
677
+ function pe() {
678
678
  if (!e.initialState || !e.initialState.items.length) return !1;
679
679
  let t = Pe({
680
680
  initialState: e.initialState,
681
681
  removedIds: e.removedIds.value,
682
- sequence: b
682
+ sequence: C
683
683
  });
684
- return n.value = t.buckets, r.value = t.activeIndex, b = t.nextSequence, o.value = !1, s.value = null, a.value = [], p.value = !1, !0;
684
+ return n.value = t.buckets, r.value = t.activeIndex, C = t.nextSequence, o.value = !1, s.value = null, a.value = [], m.value = !1, !0;
685
685
  }
686
- function pe() {
686
+ function me() {
687
687
  return c.value === "initializing";
688
688
  }
689
- function me(t) {
690
- return Le(t === "leading" ? j.value : M.value, e.removedIds.value, E.value);
689
+ function he(t) {
690
+ return Le(t === "leading" ? N.value : P.value, e.removedIds.value, O.value);
691
691
  }
692
- function he() {
692
+ function ye() {
693
693
  let t = n.value.findIndex((t) => De(t, e.removedIds.value) > 0);
694
694
  if (t < 0) return;
695
695
  let r = t;
@@ -700,38 +700,39 @@ function We(e) {
700
700
  n.value = n.value.slice(t, r + 1);
701
701
  }
702
702
  return {
703
- activeIndex: k,
704
- canRetryInitialLoad: B,
705
- cancel: Y,
706
- canRefreshTrailingBoundary: R,
707
- commitPendingAppend: G,
703
+ activeIndex: j,
704
+ canRetryInitialLoad: V,
705
+ cancel: ie,
706
+ canRefreshTrailingBoundary: B,
707
+ commitPendingAppend: K,
708
708
  currentCursor: te,
709
709
  errorMessage: s,
710
710
  fillCollectedCount: l,
711
- fillDelayRemainingMs: d,
712
- fillTargetCount: f,
713
- hasNextPage: F,
714
- hasPreviousPage: L,
715
- isAutoPrefetchEnabled: m,
716
- isPageLoadingLocked: h,
717
- items: O,
718
- lockPageLoading: re,
719
- loading: A,
720
- maybePrefetchAround: se,
721
- nextCursor: N,
722
- pendingAppendItems: z,
711
+ fillCursor: u,
712
+ fillDelayRemainingMs: f,
713
+ fillTargetCount: p,
714
+ hasNextPage: R,
715
+ hasPreviousPage: z,
716
+ isAutoPrefetchEnabled: h,
717
+ isPageLoadingLocked: g,
718
+ items: A,
719
+ lockPageLoading: J,
720
+ loading: M,
721
+ maybePrefetchAround: ce,
722
+ nextCursor: F,
723
+ pendingAppendItems: ee,
723
724
  phase: c,
724
- prefetchNextPage: H,
725
- prefetchPreviousPage: U,
726
- previousCursor: P,
727
- retryInitialLoad: W,
728
- retry: ne,
729
- setActiveIndex: K,
730
- setAutoPrefetchEnabled: q,
731
- syncActiveIndexAfterVisibilityChange: ae,
732
- unlockPageLoading: J,
733
- getActiveOccurrenceKey: ie,
734
- maybeCommitPendingAppendWhenFilteredOut: oe
725
+ prefetchNextPage: U,
726
+ prefetchPreviousPage: W,
727
+ previousCursor: I,
728
+ retryInitialLoad: ne,
729
+ retry: G,
730
+ setActiveIndex: q,
731
+ setAutoPrefetchEnabled: re,
732
+ syncActiveIndexAfterVisibilityChange: oe,
733
+ unlockPageLoading: Y,
734
+ getActiveOccurrenceKey: ae,
735
+ maybeCommitPendingAppendWhenFilteredOut: se
735
736
  };
736
737
  }
737
738
  function Ge(e, t) {
@@ -802,6 +803,7 @@ function qe(e, t) {
802
803
  currentCursor: l.currentCursor,
803
804
  errorMessage: l.errorMessage,
804
805
  fillCollectedCount: l.fillCollectedCount,
806
+ fillCursor: l.fillCursor,
805
807
  fillDelayRemainingMs: l.fillDelayRemainingMs,
806
808
  fillTargetCount: l.fillTargetCount,
807
809
  getRemovedIds: r,
@@ -843,6 +845,7 @@ function Ye(e, t) {
843
845
  currentCursor: null,
844
846
  errorMessage: null,
845
847
  fillCollectedCount: null,
848
+ fillCursor: null,
846
849
  fillDelayRemainingMs: null,
847
850
  fillTargetCount: null,
848
851
  hasNextPage: !1,
@@ -859,23 +862,23 @@ function Ye(e, t) {
859
862
  removedIds: [],
860
863
  surfaceMode: "list"
861
864
  }), c = i(() => a.value >= Je), l = i(() => c.value ? o.value : "fullscreen"), u = i(() => c.value && l.value === "fullscreen");
862
- I(c, (e) => {
865
+ L(c, (e) => {
863
866
  e && h();
864
- }), I(() => e.surfaceMode, () => {
867
+ }), L(() => e.surfaceMode, () => {
865
868
  h();
866
- }), I([l, () => n.pendingAppendItems.value.length], ([e, t]) => {
869
+ }), L([l, () => n.pendingAppendItems.value.length], ([e, t]) => {
867
870
  e === "list" || t <= 0 || n.commitPendingAppend();
868
- }), I([
871
+ }), L([
869
872
  () => n.items.value.length,
870
873
  () => n.loading.value,
871
874
  () => n.hasNextPage.value,
872
875
  () => n.pendingAppendItems.value.length
873
876
  ], ([e, n, r, i]) => {
874
877
  !c.value || e > 0 || o.value === "list" || n || r || i > 0 || (o.value = "list", t("update:surfaceMode", "list"));
875
- }), I(l, (e) => {
878
+ }), L(l, (e) => {
876
879
  n.setAutoPrefetchEnabled(e === "fullscreen");
877
- }, { immediate: !0 }), L(() => {
878
- s.activeIndex = n.activeIndex.value, s.currentCursor = n.currentCursor.value, s.errorMessage = n.errorMessage.value, s.fillCollectedCount = n.fillCollectedCount.value, s.fillDelayRemainingMs = n.fillDelayRemainingMs.value, s.fillTargetCount = n.fillTargetCount.value, s.hasNextPage = n.hasNextPage.value, s.hasPreviousPage = n.hasPreviousPage.value, s.itemCount = n.items.value.length, s.loadState = n.loading.value ? "loading" : n.errorMessage.value ? "failed" : "loaded", s.nextBoundaryLoadProgress = r.nextBoundaryLoadProgress, s.nextCursor = n.nextCursor.value, s.pageLoadingLocked = n.isPageLoadingLocked.value, s.phase = n.phase.value, s.previousBoundaryLoadProgress = r.previousBoundaryLoadProgress, s.previousCursor = n.previousCursor.value, s.removedCount = n.removedCount.value, s.removedIds = n.getRemovedIds(), s.surfaceMode = l.value;
880
+ }, { immediate: !0 }), R(() => {
881
+ s.activeIndex = n.activeIndex.value, s.currentCursor = n.currentCursor.value, s.errorMessage = n.errorMessage.value, s.fillCollectedCount = n.fillCollectedCount.value, s.fillCursor = n.fillCursor.value, s.fillDelayRemainingMs = n.fillDelayRemainingMs.value, s.fillTargetCount = n.fillTargetCount.value, s.hasNextPage = n.hasNextPage.value, s.hasPreviousPage = n.hasPreviousPage.value, s.itemCount = n.items.value.length, s.loadState = n.loading.value ? "loading" : n.errorMessage.value ? "failed" : "loaded", s.nextBoundaryLoadProgress = r.nextBoundaryLoadProgress, s.nextCursor = n.nextCursor.value, s.pageLoadingLocked = n.isPageLoadingLocked.value, s.phase = n.phase.value, s.previousBoundaryLoadProgress = r.previousBoundaryLoadProgress, s.previousCursor = n.previousCursor.value, s.removedCount = n.removedCount.value, s.removedIds = n.getRemovedIds(), s.surfaceMode = l.value;
879
882
  }), S(() => {
880
883
  m(), h(), window.addEventListener("keydown", p), window.addEventListener("resize", m);
881
884
  }), x(() => {
@@ -954,7 +957,7 @@ var Ze = {
954
957
  ],
955
958
  setup(e, { emit: t }) {
956
959
  let n = e, r = t, l = D(null), u = D(!1), d = i(() => n.volumeControlLayout === "vertical"), f = i(() => C(n.volume, 0, 1)), p = i(() => Math.round(f.value * 100)), m = i(() => n.muted || f.value <= 0 ? de : f.value < .5 ? X : ue), h = i(() => n.muted || f.value <= 0 ? "Unmute active media" : "Mute active media"), g = i(() => d.value && !u.value ? "Show volume controls" : h.value), _ = i(() => n.volumeControlLayout === "vertical" ? { height: `${p.value}%` } : { width: `${p.value}%` });
957
- I(d, (e) => {
960
+ L(d, (e) => {
958
961
  e || (u.value = !1);
959
962
  }), S(() => {
960
963
  document.addEventListener("pointerdown", v);
@@ -979,7 +982,7 @@ var Ze = {
979
982
  return Math.min(Math.max(e, t), n);
980
983
  }
981
984
  return (e, t) => (w(), s("div", Ze, [c("div", Qe, [
982
- c("span", $e, A(n.currentTimeLabel), 1),
985
+ c("span", $e, j(n.currentTimeLabel), 1),
983
986
  c("div", et, [
984
987
  t[3] ||= c("div", { class: "absolute inset-x-0 top-1/2 h-px -translate-y-1/2 bg-white/12" }, null, -1),
985
988
  c("div", {
@@ -999,7 +1002,7 @@ var Ze = {
999
1002
  onInput: t[0] ||= (e) => r("seek-input", e)
1000
1003
  }, null, 40, tt)
1001
1004
  ]),
1002
- c("span", nt, A(n.durationLabel), 1),
1005
+ c("span", nt, j(n.durationLabel), 1),
1003
1006
  c("div", {
1004
1007
  ref_key: "rootRef",
1005
1008
  ref: l,
@@ -1030,7 +1033,7 @@ var Ze = {
1030
1033
  "aria-label": g.value,
1031
1034
  class: "inline-flex h-10 w-10 items-center justify-center border border-white/14 bg-black/50 text-[#f7f1ea]/82 backdrop-blur-[18px] transition hover:border-white/28 hover:bg-black/65",
1032
1035
  onClick: y
1033
- }, [(w(), a(k(m.value), {
1036
+ }, [(w(), a(A(m.value), {
1034
1037
  class: "h-4 w-4 stroke-[1.9]",
1035
1038
  "aria-hidden": "true"
1036
1039
  }))], 8, ct), n.volumeControlLayout === "horizontal" ? (w(), s("div", lt, [
@@ -1088,19 +1091,19 @@ var Ze = {
1088
1091
  class: "pointer-events-auto inline-flex h-11 w-11 shrink-0 items-center justify-center border border-white/14 bg-black/40 text-[#f7f1ea]/78 backdrop-blur-[18px] transition hover:border-white/28 hover:bg-black/55",
1089
1092
  "aria-label": "Back to list",
1090
1093
  onClick: t[0] ||= (e) => r("back-to-list")
1091
- }, [u(M(re), {
1094
+ }, [u(N(re), {
1092
1095
  class: "h-4 w-4 stroke-[2.2]",
1093
1096
  "aria-hidden": "true"
1094
- })])) : o("", !0), n.title ? (w(), s("h2", gt, A(n.title), 1)) : o("", !0)]), c("div", _t, [c("span", vt, [
1095
- n.loading ? (w(), a(M(oe), {
1097
+ })])) : o("", !0), n.title ? (w(), s("h2", gt, j(n.title), 1)) : o("", !0)]), c("div", _t, [c("span", vt, [
1098
+ n.loading ? (w(), a(N(oe), {
1096
1099
  key: 0,
1097
1100
  "data-testid": "vibe-pagination-spinner",
1098
1101
  class: "h-3.5 w-3.5 animate-spin stroke-[1.9]",
1099
1102
  "aria-hidden": "true"
1100
1103
  })) : o("", !0),
1101
- c("span", yt, A(n.currentIndex + 1) + " / " + A(n.total), 1),
1102
- n.paginationDetail ? (w(), s("span", bt, A(n.paginationDetail), 1)) : o("", !0)
1103
- ]), O(e.$slots, "actions")])])]), n.showEndBadge ? (w(), s("div", xt, [...t[1] ||= [c("span", { class: "inline-flex items-center border border-amber-300/35 bg-black/40 px-4 py-3 text-[0.74rem] font-bold uppercase tracking-[0.2em] text-amber-200 backdrop-blur-[18px]" }, " End reached ", -1)]])) : o("", !0)]));
1104
+ c("span", yt, j(n.currentIndex + 1) + " / " + j(n.total), 1),
1105
+ n.paginationDetail ? (w(), s("span", bt, j(n.paginationDetail), 1)) : o("", !0)
1106
+ ]), k(e.$slots, "actions")])])]), n.showEndBadge ? (w(), s("div", xt, [...t[1] ||= [c("span", { class: "inline-flex items-center border border-amber-300/35 bg-black/40 px-4 py-3 text-[0.74rem] font-bold uppercase tracking-[0.2em] text-amber-200 backdrop-blur-[18px]" }, " End reached ", -1)]])) : o("", !0)]));
1104
1107
  }
1105
1108
  }), Ct = {
1106
1109
  image: ae,
@@ -1200,7 +1203,7 @@ function Nt(e) {
1200
1203
  maxPerDomain: 1,
1201
1204
  maxVideoPerDomain: 1
1202
1205
  }), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set();
1203
- I([
1206
+ L([
1204
1207
  e.active,
1205
1208
  e.items,
1206
1209
  e.resolvedActiveIndex
@@ -1492,7 +1495,7 @@ function Gt(e) {
1492
1495
  //#region src/components/viewer-core/useActivation.ts
1493
1496
  function Kt(e) {
1494
1497
  let t = !1;
1495
- I(e.enabled, async (t) => {
1498
+ L(e.enabled, async (t) => {
1496
1499
  if (n(t), t) {
1497
1500
  e.onResize(), await e.onEnable();
1498
1501
  return;
@@ -1579,12 +1582,12 @@ function sn(e) {
1579
1582
  let t = /* @__PURE__ */ new Map();
1580
1583
  for (let n of e.items.value) t.set($(n), n);
1581
1584
  return t;
1582
- }), p = i(() => d.value ? r.value[d.value] ?? qt : qt), m = i(() => d.value ? p.value.duration : 0), h = i(() => m.value <= 0 ? 0 : cn(p.value.currentTime / m.value * 100, 0, 100)), g = i(() => u.value ? L(u.value) : null);
1583
- I(() => u.value, async () => {
1585
+ }), p = i(() => d.value ? r.value[d.value] ?? qt : qt), m = i(() => d.value ? p.value.duration : 0), h = i(() => m.value <= 0 ? 0 : cn(p.value.currentTime / m.value * 100, 0, 100)), g = i(() => u.value ? R(u.value) : null);
1586
+ L(() => u.value, async () => {
1584
1587
  await C();
1585
- }), I(() => e.itemCount.value, async () => {
1588
+ }), L(() => e.itemCount.value, async () => {
1586
1589
  await C();
1587
- }), I(() => e.loopFullscreenVideo.value, async () => {
1590
+ }), L(() => e.loopFullscreenVideo.value, async () => {
1588
1591
  await C();
1589
1592
  });
1590
1593
  function v(e, t) {
@@ -1658,7 +1661,7 @@ function sn(e) {
1658
1661
  surface: "fullscreen"
1659
1662
  });
1660
1663
  }
1661
- async function ee(t, n) {
1664
+ async function O(t, n) {
1662
1665
  let r = K(t), i = U(t), a = Y(t) ?? e.activeMediaItem.value ?? e.activeItem.value;
1663
1666
  if (r) {
1664
1667
  r.pause();
@@ -1676,13 +1679,13 @@ function sn(e) {
1676
1679
  surface: "fullscreen"
1677
1680
  });
1678
1681
  }
1679
- function O(e, t, n) {
1682
+ function k(e, t, n) {
1680
1683
  e.button !== 0 || Date.now() < n || re(s.get(t) ?? null);
1681
1684
  }
1682
- function k(e, t, n) {
1685
+ function A(e, t, n) {
1683
1686
  e.button !== 0 || Date.now() < n || re(K(t));
1684
1687
  }
1685
- function A(e) {
1688
+ function j(e) {
1686
1689
  let t = q(), n = d.value;
1687
1690
  if (!t || !n || !(e.target instanceof HTMLInputElement)) return;
1688
1691
  let r = Number.parseFloat(e.target.value);
@@ -1690,40 +1693,40 @@ function sn(e) {
1690
1693
  let i = cn(r, 0, m.value || 0);
1691
1694
  ne(n, i, t), t.currentTime = i;
1692
1695
  }
1693
- function j(e) {
1696
+ function M(e) {
1694
1697
  let t = q(), n = d.value;
1695
1698
  if (!t || !n || !(e.target instanceof HTMLInputElement)) return;
1696
1699
  let r = cn(Number.parseFloat(e.target.value), 0, 1);
1697
1700
  t.volume = r, t.muted = r <= 0, r > 0 && (o.value[n] = r), W(n, t);
1698
1701
  }
1699
- function M() {
1702
+ function N() {
1700
1703
  let e = q(), t = d.value;
1701
1704
  !e || !t || (e.muted || e.volume <= 0 ? (e.volume = G(t), e.muted = !1, o.value[t] = e.volume) : (o.value[t] = e.volume, e.muted = !0), W(t, e));
1702
1705
  }
1703
- function N(e) {
1706
+ function P(e) {
1704
1707
  return !!t.value[e] && !n.value[e];
1705
1708
  }
1706
- function P(e) {
1709
+ function F(e) {
1707
1710
  return (r.value[e]?.ready ?? !1) && !r.value[e]?.errorKind;
1708
1711
  }
1709
- function F(e) {
1712
+ function I(e) {
1710
1713
  return e.url;
1711
1714
  }
1712
- function L(e) {
1715
+ function R(e) {
1713
1716
  return n.value[e] ?? r.value[e]?.errorKind ?? null;
1714
1717
  }
1715
- function R(e) {
1716
- let t = L(e);
1718
+ function z(e) {
1719
+ let t = R(e);
1717
1720
  return t ? $t(t) : null;
1718
1721
  }
1719
- function z(e) {
1720
- return en(L(e));
1722
+ function B(e) {
1723
+ return en(R(e));
1721
1724
  }
1722
- function te(e) {
1725
+ function ee(e) {
1723
1726
  return `${e}:${a.value[e] ?? 0}`;
1724
1727
  }
1725
- async function B(e) {
1726
- if (!z(e)) return;
1728
+ async function te(e) {
1729
+ if (!B(e)) return;
1727
1730
  t.value[e] = !1, n.value[e] = null;
1728
1731
  let r = U(e);
1729
1732
  r.currentTime = 0, r.duration = 0, r.paused = !0, r.ready = !1, r.errorKind = null;
@@ -1793,29 +1796,29 @@ function sn(e) {
1793
1796
  activeMediaDuration: m,
1794
1797
  activeMediaProgress: h,
1795
1798
  activeMediaState: p,
1796
- getAssetErrorKind: L,
1797
- getAssetErrorLabel: R,
1798
- getAssetRenderKey: te,
1799
- getImageSource: F,
1800
- isImageReady: N,
1801
- isMediaReady: P,
1802
- canRetryAsset: z,
1799
+ getAssetErrorKind: R,
1800
+ getAssetErrorLabel: z,
1801
+ getAssetRenderKey: ee,
1802
+ getImageSource: I,
1803
+ isImageReady: P,
1804
+ isMediaReady: F,
1805
+ canRetryAsset: B,
1803
1806
  mediaStates: r,
1804
- onAudioCoverClick: k,
1807
+ onAudioCoverClick: A,
1805
1808
  onImageError: E,
1806
1809
  onImageLoad: T,
1807
- onMediaError: ee,
1810
+ onMediaError: O,
1808
1811
  onMediaEvent: w,
1809
- onMediaSeekInput: A,
1810
- onMediaVolumeInput: j,
1811
- onMediaVolumeToggle: M,
1812
- onVideoClick: O,
1812
+ onMediaSeekInput: j,
1813
+ onMediaVolumeInput: M,
1814
+ onMediaVolumeToggle: N,
1815
+ onVideoClick: k,
1813
1816
  registerAudioElement: y,
1814
1817
  registerImageElement: b,
1815
1818
  registerVideoElement: v,
1816
1819
  resetAssetState: S,
1817
1820
  resetMediaState: x,
1818
- retryAsset: B,
1821
+ retryAsset: te,
1819
1822
  syncMediaPlayback: C
1820
1823
  };
1821
1824
  }
@@ -1851,7 +1854,7 @@ function fn(e, t, n = {}) {
1851
1854
  itemCount: r.value.length,
1852
1855
  loading: s.value,
1853
1856
  phase: e.phase
1854
- })), f = i(() => !1), p = D(null), m = D(0), h = D(!1), g = D(1), _ = n.enabled ?? i(() => !0), v = null, y = 0, b = 0, x = 0, S = i(() => r.value.length === 0 ? 0 : N(a.value, 0, r.value.length - 1)), C = i(() => r.value[S.value] ?? null), w = i(() => C.value?.type === "audio" || C.value?.type === "video" ? C.value : null), T = sn({
1857
+ })), f = i(() => !1), p = D(null), m = D(0), h = D(!1), g = D(1), _ = n.enabled ?? i(() => !0), v = null, y = 0, b = 0, x = 0, S = i(() => r.value.length === 0 ? 0 : P(a.value, 0, r.value.length - 1)), C = i(() => r.value[S.value] ?? null), w = i(() => C.value?.type === "audio" || C.value?.type === "video" ? C.value : null), T = sn({
1855
1858
  items: r,
1856
1859
  activeItem: C,
1857
1860
  activeMediaItem: w,
@@ -1860,13 +1863,13 @@ function fn(e, t, n = {}) {
1860
1863
  loopFullscreenVideo: l,
1861
1864
  onAssetError: n.onAssetError,
1862
1865
  onAssetLoad: n.onAssetLoad
1863
- }), E = i(() => r.value.length > 0 && S.value === r.value.length - 1), ee = i(() => Gt({
1866
+ }), E = i(() => r.value.length > 0 && S.value === r.value.length - 1), O = i(() => Gt({
1864
1867
  errorMessage: o.value,
1865
1868
  hasItems: r.value.length > 0,
1866
1869
  hasNextPage: c.value,
1867
1870
  phase: d.value,
1868
1871
  surface: "fullscreen"
1869
- })), O = i(() => ee.value?.kind ?? null), k = i(() => ee.value?.message ?? null), A = i(() => Math.min(96, g.value * .15 || 96)), j = i(() => ln(S.value, r.value.length)), M = i(() => un(r.value, S.value));
1872
+ })), k = i(() => O.value?.kind ?? null), A = i(() => O.value?.message ?? null), j = i(() => Math.min(96, g.value * .15 || 96)), M = i(() => ln(S.value, r.value.length)), N = i(() => un(r.value, S.value));
1870
1873
  Kt({
1871
1874
  enabled: _,
1872
1875
  onDisable() {
@@ -1876,40 +1879,40 @@ function fn(e, t, n = {}) {
1876
1879
  return T.syncMediaPlayback();
1877
1880
  },
1878
1881
  onKeydown: W,
1879
- onResize: P
1882
+ onResize: F
1880
1883
  });
1881
- function N(e, t, n) {
1884
+ function P(e, t, n) {
1882
1885
  return Math.min(Math.max(e, t), n);
1883
1886
  }
1884
- function P() {
1887
+ function F() {
1885
1888
  g.value = p.value?.clientHeight || window.innerHeight || 1;
1886
1889
  }
1887
- function F(e) {
1888
- return r.value.length === 0 ? !1 : N(S.value + e, 0, r.value.length - 1) !== S.value;
1889
- }
1890
1890
  function I(e) {
1891
+ return r.value.length === 0 ? !1 : P(S.value + e, 0, r.value.length - 1) !== S.value;
1892
+ }
1893
+ function L(e) {
1891
1894
  if (r.value.length === 0) return;
1892
- let n = N(S.value + e, 0, r.value.length - 1);
1895
+ let n = P(S.value + e, 0, r.value.length - 1);
1893
1896
  n !== S.value && t("update:activeIndex", n);
1894
1897
  }
1895
- function L(e) {
1898
+ function R(e) {
1896
1899
  let t = e > 0, n = e < 0;
1897
- return t && !F(-1) || n && !F(1) ? e * .24 : e;
1900
+ return t && !I(-1) || n && !I(1) ? e * .24 : e;
1898
1901
  }
1899
- function R(e) {
1902
+ function z(e) {
1900
1903
  !_.value || r.value.length === 0 || e.pointerType === "mouse" || he(e.target) || (v = e.pointerId, y = e.clientY, m.value = 0, h.value = !0, p.value?.setPointerCapture?.(e.pointerId));
1901
1904
  }
1902
- function z(e) {
1903
- !_.value || !h.value || v !== e.pointerId || (m.value = L(e.clientY - y));
1905
+ function B(e) {
1906
+ !_.value || !h.value || v !== e.pointerId || (m.value = R(e.clientY - y));
1904
1907
  }
1905
- function te(e) {
1908
+ function ee(e) {
1906
1909
  !_.value || v !== e.pointerId || (p.value?.releasePointerCapture?.(e.pointerId), V());
1907
1910
  }
1908
- function B(e) {
1911
+ function te(e) {
1909
1912
  !_.value || v !== e.pointerId || (p.value?.releasePointerCapture?.(e.pointerId), H());
1910
1913
  }
1911
1914
  function V() {
1912
- Math.abs(m.value) >= A.value && (x = Date.now() + 250, I(m.value < 0 ? 1 : -1)), H();
1915
+ Math.abs(m.value) >= j.value && (x = Date.now() + 250, L(m.value < 0 ? 1 : -1)), H();
1913
1916
  }
1914
1917
  function H() {
1915
1918
  m.value = 0, h.value = !1, v = null;
@@ -1918,10 +1921,10 @@ function fn(e, t, n = {}) {
1918
1921
  if (!_.value || r.value.length === 0 || h.value || he(e.target) || Math.abs(e.deltaY) < Math.max(Math.abs(e.deltaX), 24)) return;
1919
1922
  e.preventDefault();
1920
1923
  let t = Date.now();
1921
- t < b || (b = t + 400, I(e.deltaY > 0 ? 1 : -1));
1924
+ t < b || (b = t + 400, L(e.deltaY > 0 ? 1 : -1));
1922
1925
  }
1923
1926
  function W(e) {
1924
- !_.value || r.value.length === 0 || me(e.target) || ((e.key === "ArrowDown" || e.key === "PageDown") && (e.preventDefault(), I(1)), (e.key === "ArrowUp" || e.key === "PageUp") && (e.preventDefault(), I(-1)));
1927
+ !_.value || r.value.length === 0 || me(e.target) || ((e.key === "ArrowDown" || e.key === "PageDown") && (e.preventDefault(), L(1)), (e.key === "ArrowUp" || e.key === "PageUp") && (e.preventDefault(), L(-1)));
1925
1928
  }
1926
1929
  function ne(e, t) {
1927
1930
  T.onVideoClick(e, t, x);
@@ -1980,24 +1983,24 @@ function fn(e, t, n = {}) {
1980
1983
  onMediaSeekInput: K,
1981
1984
  onMediaVolumeInput: q,
1982
1985
  onMediaVolumeToggle: re,
1983
- onPointerCancel: B,
1984
- onPointerDown: R,
1985
- onPointerMove: z,
1986
- onPointerUp: te,
1986
+ onPointerCancel: te,
1987
+ onPointerDown: z,
1988
+ onPointerMove: B,
1989
+ onPointerUp: ee,
1987
1990
  onVideoClick: ne,
1988
1991
  onWheel: U,
1989
1992
  registerAudioElement: T.registerAudioElement,
1990
1993
  registerImageElement: T.registerImageElement,
1991
1994
  registerVideoElement: T.registerVideoElement,
1992
- renderedItems: M,
1993
- renderedRange: j,
1995
+ renderedItems: N,
1996
+ renderedRange: M,
1994
1997
  resolvedActiveIndex: S,
1995
1998
  resetAssetState: T.resetAssetState,
1996
1999
  retryInitialLoad: async () => {},
1997
2000
  retryAsset: T.retryAsset,
1998
2001
  stageRef: p,
1999
- statusKind: O,
2000
- statusMessage: k,
2002
+ statusKind: k,
2003
+ statusMessage: A,
2001
2004
  paginationDetail: u,
2002
2005
  phase: d
2003
2006
  };
@@ -2056,7 +2059,7 @@ function bn(e) {
2056
2059
  let { r: e, g: t, b: n } = r.value;
2057
2060
  return { background: `radial-gradient(circle at center, rgba(${e},${t},${n},0.42) 0%, transparent 44%), linear-gradient(180deg,#0b0c11,#06070b)` };
2058
2061
  });
2059
- I(() => e.showDominantImageTone.value, (e) => {
2062
+ L(() => e.showDominantImageTone.value, (e) => {
2060
2063
  e || (t.value = {});
2061
2064
  });
2062
2065
  function s(n, r) {
@@ -2081,16 +2084,16 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2081
2084
  surface: {}
2082
2085
  },
2083
2086
  setup(e) {
2084
- let t = N();
2085
- return (n, r) => e.mode === "inline" ? (w(), s("div", g({ key: 0 }, M(t), {
2087
+ let t = P();
2088
+ return (n, r) => e.mode === "inline" ? (w(), s("div", g({ key: 0 }, N(t), {
2086
2089
  "data-testid": "vibe-empty-state-inline",
2087
2090
  "data-surface": e.surface,
2088
2091
  class: ["pointer-events-none absolute z-[4] text-center", e.surface === "grid" ? "inset-x-0 top-[clamp(6rem,22vh,11rem)] flex justify-center px-6" : "inset-0 grid place-items-center px-[clamp(2rem,4vw,3rem)] py-[clamp(2rem,4vw,3rem)]"]
2089
- }), [O(n.$slots, "default", {}, () => [c("p", { class: v(["m-0 text-[0.82rem] font-medium tracking-[0.08em]", e.surface === "grid" ? "text-[#f7f1ea]/58" : "text-[#f7f1ea]/64"]) }, A(e.message), 3)])], 16, xn)) : (w(), s("div", g({ key: 1 }, M(t), { class: ["pointer-events-none absolute z-[4]", e.surface === "grid" ? "inset-x-0 bottom-0 flex justify-center px-6" : "bottom-[1.8rem] left-1/2 -translate-x-1/2 max-[720px]:bottom-[1.3rem]"] }), [O(n.$slots, "default", {}, () => [c("span", {
2092
+ }), [k(n.$slots, "default", {}, () => [c("p", { class: v(["m-0 text-[0.82rem] font-medium tracking-[0.08em]", e.surface === "grid" ? "text-[#f7f1ea]/58" : "text-[#f7f1ea]/64"]) }, j(e.message), 3)])], 16, xn)) : (w(), s("div", g({ key: 1 }, N(t), { class: ["pointer-events-none absolute z-[4]", e.surface === "grid" ? "inset-x-0 bottom-0 flex justify-center px-6" : "bottom-[1.8rem] left-1/2 -translate-x-1/2 max-[720px]:bottom-[1.3rem]"] }), [k(n.$slots, "default", {}, () => [c("span", {
2090
2093
  "data-testid": "vibe-empty-state-badge",
2091
2094
  "data-surface": e.surface,
2092
2095
  class: v(["inline-flex items-center border border-white/14 backdrop-blur-[18px]", e.surface === "grid" ? "bg-black/55 px-4 py-3 text-[0.82rem] font-medium tracking-[0.08em] text-[#f7f1ea]/72" : "w-auto bg-black/40 px-5 py-3 text-[0.82rem] font-medium tracking-[0.08em] text-[#f7f1ea]/74 max-[720px]:w-[calc(100%-2.5rem)] max-[720px]:justify-center"])
2093
- }, A(e.message), 11, Sn)])], 16));
2096
+ }, j(e.message), 11, Sn)])], 16));
2094
2097
  }
2095
2098
  }), wn = { class: "relative h-full min-h-0 overflow-hidden bg-[#05060a] text-[#f7f1ea]" }, Tn = {
2096
2099
  key: 0,
@@ -2224,23 +2227,23 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2224
2227
  },
2225
2228
  emits: ["back-to-list", "update:activeIndex"],
2226
2229
  setup(e, { emit: n }) {
2227
- let d = e, f = P(), m = n, h = fn(d, (e, t) => {
2230
+ let d = e, f = F(), m = n, h = fn(d, (e, t) => {
2228
2231
  m("update:activeIndex", t);
2229
2232
  }, {
2230
- enabled: j(d, "active"),
2233
+ enabled: M(d, "active"),
2231
2234
  onAssetError: d.reportAssetError ?? void 0,
2232
2235
  onAssetLoad: d.reportAssetLoad ?? void 0
2233
2236
  }), _ = D(typeof window > "u" ? rr : window.innerWidth || rr), C = Rt({
2234
- active: j(d, "active"),
2237
+ active: M(d, "active"),
2235
2238
  items: h.items,
2236
2239
  resolvedActiveIndex: h.resolvedActiveIndex,
2237
2240
  viewer: h
2238
- }), T = i(() => gn(h.activeItem.value?.type ?? "image")), { activeSlideToneStyle: E, activeStageToneStyle: N, updateFromImageElement: F } = bn({
2241
+ }), T = i(() => gn(h.activeItem.value?.type ?? "image")), { activeSlideToneStyle: E, activeStageToneStyle: P, updateFromImageElement: I } = bn({
2239
2242
  activeItem: h.activeItem,
2240
2243
  getItemKey: C.getItemKey,
2241
2244
  isImageReady: h.isImageReady,
2242
- showDominantImageTone: j(d, "showDominantImageTone")
2243
- }), I = i(() => h.activeMediaItem.value && !h.activeAssetErrorKind.value ? "bottom-[5.8rem] max-[720px]:bottom-[7.4rem]" : "bottom-[1.8rem] max-[720px]:bottom-[1.3rem]"), L = i(() => !!h.activeMediaItem.value && !h.activeAssetErrorKind.value), z = i(() => _.value < ir ? "vertical" : "horizontal"), B = i(() => L.value ? "pb-[5.75rem] max-[720px]:pb-[7rem]" : ""), V = i(() => d.activeIndex >= d.items.length && (d.loading || d.hasNextPage)), H = i(() => d.hasNextPage ? "Loading more items" : h.statusMessage.value ?? "Loading more items"), U = i(() => {
2245
+ showDominantImageTone: M(d, "showDominantImageTone")
2246
+ }), L = i(() => h.activeMediaItem.value && !h.activeAssetErrorKind.value ? "bottom-[5.8rem] max-[720px]:bottom-[7.4rem]" : "bottom-[1.8rem] max-[720px]:bottom-[1.3rem]"), R = i(() => !!h.activeMediaItem.value && !h.activeAssetErrorKind.value), B = i(() => _.value < ir ? "vertical" : "horizontal"), te = i(() => R.value ? "pb-[5.75rem] max-[720px]:pb-[7rem]" : ""), V = i(() => d.activeIndex >= d.items.length && (d.loading || d.hasNextPage)), H = i(() => d.hasNextPage ? "Loading more items" : h.statusMessage.value ?? "Loading more items"), U = i(() => {
2244
2247
  let e = h.activeItem.value;
2245
2248
  return e ? {
2246
2249
  hasNextPage: d.hasNextPage,
@@ -2257,19 +2260,19 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2257
2260
  }), K = i(() => !G.value || !f["fullscreen-status"] ? [] : f["fullscreen-status"](G.value)), q = i(() => ({
2258
2261
  gridTemplateColumns: Y.value ? "minmax(0, 1fr) 22rem" : "minmax(0, 1fr) 0rem",
2259
2262
  transition: "grid-template-columns 320ms cubic-bezier(0.22, 1, 0.36, 1)"
2260
- })), re = i(() => zt(W.value)), J = i(() => zt(ne.value)), Y = i(() => J.value && _.value >= rr), ie = i(() => J.value && !Y.value), ae = i(() => zt(K.value)), { emptyStateProps: X, showBadgeEmptyState: ue, showCustomEmptyState: de, showInlineEmptyState: Z } = Ht({
2261
- emptyStateMode: j(d, "emptyStateMode"),
2263
+ })), re = i(() => zt(W.value)), J = i(() => zt(ne.value)), Y = i(() => J.value && _.value >= rr), ie = i(() => J.value && !Y.value), ae = i(() => zt(K.value)), { emptyStateProps: X, showBadgeEmptyState: ue, showCustomEmptyState: de, showInlineEmptyState: fe } = Ht({
2264
+ emptyStateMode: M(d, "emptyStateMode"),
2262
2265
  itemCount: i(() => d.items.length),
2263
- loading: j(d, "loading"),
2266
+ loading: M(d, "loading"),
2264
2267
  renderSlot: f["empty-state"],
2265
2268
  surface: "fullscreen"
2266
2269
  });
2267
2270
  S(() => {
2268
- window.addEventListener("resize", fe);
2271
+ window.addEventListener("resize", Z);
2269
2272
  }), x(() => {
2270
- window.removeEventListener("resize", fe);
2273
+ window.removeEventListener("resize", Z);
2271
2274
  });
2272
- function fe() {
2275
+ function Z() {
2273
2276
  _.value = window.innerWidth || rr;
2274
2277
  }
2275
2278
  function pe(e, t, n) {
@@ -2298,7 +2301,7 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2298
2301
  n instanceof HTMLMediaElement && n.readyState >= r && C.settleBackgroundPreload(e);
2299
2302
  }
2300
2303
  function ye(e, t) {
2301
- F(e, t);
2304
+ I(e, t);
2302
2305
  }
2303
2306
  function be(e, t) {
2304
2307
  if (Q(t, e), !d.loopFullscreenVideo) return;
@@ -2313,7 +2316,7 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2313
2316
  return (e, n) => (w(), s("div", wn, [
2314
2317
  c("div", {
2315
2318
  class: v(["absolute inset-0 transition-[background] duration-200", T.value]),
2316
- style: b(M(N))
2319
+ style: b(N(P))
2317
2320
  }, null, 6),
2318
2321
  c("div", {
2319
2322
  class: "relative z-[1] grid h-full min-h-0",
@@ -2322,170 +2325,170 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2322
2325
  ref: "viewer.stageRef",
2323
2326
  "data-testid": "vibe-stage",
2324
2327
  class: "relative h-full min-h-0 touch-none overflow-hidden",
2325
- onPointerdown: n[1] ||= (...e) => M(h).onPointerDown && M(h).onPointerDown(...e),
2326
- onPointermove: n[2] ||= (...e) => M(h).onPointerMove && M(h).onPointerMove(...e),
2327
- onPointerup: n[3] ||= (...e) => M(h).onPointerUp && M(h).onPointerUp(...e),
2328
- onPointercancel: n[4] ||= (...e) => M(h).onPointerCancel && M(h).onPointerCancel(...e),
2329
- onWheel: n[5] ||= (...e) => M(h).onWheel && M(h).onWheel(...e)
2330
- }, [M(h).activeItem.value ? (w(), s("div", Tn, [
2331
- (w(!0), s(t, null, ee(M(h).renderedItems.value, ({ item: r, index: i }) => (w(), s("article", {
2332
- key: M(C).getItemKey(r),
2328
+ onPointerdown: n[1] ||= (...e) => N(h).onPointerDown && N(h).onPointerDown(...e),
2329
+ onPointermove: n[2] ||= (...e) => N(h).onPointerMove && N(h).onPointerMove(...e),
2330
+ onPointerup: n[3] ||= (...e) => N(h).onPointerUp && N(h).onPointerUp(...e),
2331
+ onPointercancel: n[4] ||= (...e) => N(h).onPointerCancel && N(h).onPointerCancel(...e),
2332
+ onWheel: n[5] ||= (...e) => N(h).onWheel && N(h).onWheel(...e)
2333
+ }, [N(h).activeItem.value ? (w(), s("div", Tn, [
2334
+ (w(!0), s(t, null, O(N(h).renderedItems.value, ({ item: r, index: i }) => (w(), s("article", {
2335
+ key: N(C).getItemKey(r),
2333
2336
  "data-testid": "vibe-slide",
2334
2337
  "data-item-id": r.id,
2335
- "data-occurrence-key": M(C).getItemKey(r),
2338
+ "data-occurrence-key": N(C).getItemKey(r),
2336
2339
  "data-index": i,
2337
- "data-active": i === M(h).resolvedActiveIndex.value,
2338
- "aria-hidden": i === M(h).resolvedActiveIndex.value ? "false" : "true",
2339
- class: v(["absolute inset-0 flex h-full min-h-full items-center justify-center will-change-transform", i === M(h).resolvedActiveIndex.value ? "pointer-events-auto" : "pointer-events-none"]),
2340
- style: b(M(h).getSlideStyle(i))
2340
+ "data-active": i === N(h).resolvedActiveIndex.value,
2341
+ "aria-hidden": i === N(h).resolvedActiveIndex.value ? "false" : "true",
2342
+ class: v(["absolute inset-0 flex h-full min-h-full items-center justify-center will-change-transform", i === N(h).resolvedActiveIndex.value ? "pointer-events-auto" : "pointer-events-none"]),
2343
+ style: b(N(h).getSlideStyle(i))
2341
2344
  }, [c("div", {
2342
- class: v(["absolute inset-0 opacity-85", M(_n)(r.type)]),
2343
- style: b(i === M(h).resolvedActiveIndex.value && r.type === "image" ? M(E) : void 0)
2344
- }, null, 6), M(h).isVisual(r) ? (w(), s("div", {
2345
+ class: v(["absolute inset-0 opacity-85", N(_n)(r.type)]),
2346
+ style: b(i === N(h).resolvedActiveIndex.value && r.type === "image" ? N(E) : void 0)
2347
+ }, null, 6), N(h).isVisual(r) ? (w(), s("div", {
2345
2348
  key: 0,
2346
- class: v(["relative z-[1] flex h-full w-full items-center justify-center overflow-hidden", i === M(h).resolvedActiveIndex.value ? B.value : ""])
2347
- }, [M(C).isAssetLoading(i, r) ? (w(), s("div", Dn, [c("span", On, [u(M(oe), {
2349
+ class: v(["relative z-[1] flex h-full w-full items-center justify-center overflow-hidden", i === N(h).resolvedActiveIndex.value ? te.value : ""])
2350
+ }, [N(C).isAssetLoading(i, r) ? (w(), s("div", Dn, [c("span", On, [u(N(oe), {
2348
2351
  class: "h-5 w-5 animate-spin stroke-[1.9] text-[#f7f1ea]/78",
2349
2352
  "aria-hidden": "true"
2350
- })])])) : o("", !0), M(C).isAssetErrored(i, r) ? (w(), s("div", {
2353
+ })])])) : o("", !0), N(C).isAssetErrored(i, r) ? (w(), s("div", {
2351
2354
  key: 1,
2352
2355
  "data-testid": "vibe-asset-error",
2353
- "data-kind": M(C).getAssetErrorKind(r),
2356
+ "data-kind": N(C).getAssetErrorKind(r),
2354
2357
  class: "grid h-full w-full place-items-center"
2355
2358
  }, [c("div", An, [
2356
- u(M(le), {
2359
+ u(N(le), {
2357
2360
  class: "h-7 w-7 stroke-[1.9] text-[#f7f1ea]/72",
2358
2361
  "aria-hidden": "true"
2359
2362
  }),
2360
- c("p", jn, A(M(C).getAssetErrorLabel(r)), 1),
2361
- M(h).canRetryAsset(M(C).getItemKey(r)) ? (w(), s("button", {
2363
+ c("p", jn, j(N(C).getAssetErrorLabel(r)), 1),
2364
+ N(h).canRetryAsset(N(C).getItemKey(r)) ? (w(), s("button", {
2362
2365
  key: 0,
2363
2366
  type: "button",
2364
2367
  class: "inline-flex items-center justify-center border border-white/14 bg-black/35 px-4 py-2 text-[0.64rem] font-bold uppercase tracking-[0.22em] text-[#f7f1ea]/82 backdrop-blur-[18px] transition hover:border-white/28 hover:bg-black/50",
2365
- onClick: te((e) => M(h).retryAsset(M(C).getItemKey(r)), ["stop"])
2368
+ onClick: ee((e) => N(h).retryAsset(N(C).getItemKey(r)), ["stop"])
2366
2369
  }, " Retry ", 8, Mn)) : o("", !0)
2367
2370
  ])], 8, kn)) : r.type === "image" ? (w(), s("img", {
2368
- key: M(h).getAssetRenderKey(M(C).getItemKey(r)),
2369
- src: M(C).getFullscreenImageSource(i, r),
2371
+ key: N(h).getAssetRenderKey(N(C).getItemKey(r)),
2372
+ src: N(C).getFullscreenImageSource(i, r),
2370
2373
  alt: r.title ?? "",
2371
2374
  crossorigin: "anonymous",
2372
2375
  draggable: "false",
2373
- class: v(["block h-auto max-h-full w-auto max-w-full object-contain shadow-[0_40px_120px_-60px_rgba(0,0,0,0.9)] transition-opacity duration-300", M(h).isImageReady(M(C).getItemKey(r)) ? "opacity-100" : "opacity-0"]),
2376
+ class: v(["block h-auto max-h-full w-auto max-w-full object-contain shadow-[0_40px_120px_-60px_rgba(0,0,0,0.9)] transition-opacity duration-300", N(h).isImageReady(N(C).getItemKey(r)) ? "opacity-100" : "opacity-0"]),
2374
2377
  ref_for: !0,
2375
- ref: (e) => he(M(C).getItemKey(r), e),
2376
- onLoad: (e) => pe(e, M(C).getItemKey(r), r.url),
2377
- onError: (e) => me(M(C).getItemKey(r), r.url)
2378
+ ref: (e) => he(N(C).getItemKey(r), e),
2379
+ onLoad: (e) => pe(e, N(C).getItemKey(r), r.url),
2380
+ onError: (e) => me(N(C).getItemKey(r), r.url)
2378
2381
  }, null, 42, Nn)) : (w(), s("video", {
2379
- key: M(h).getAssetRenderKey(M(C).getItemKey(r)),
2380
- class: v(["block h-auto max-h-full w-auto max-w-full cursor-pointer object-contain shadow-[0_40px_120px_-60px_rgba(0,0,0,0.9)] transition-opacity duration-300", M(h).isMediaReady(M(C).getItemKey(r)) ? "opacity-100" : "opacity-0"]),
2382
+ key: N(h).getAssetRenderKey(N(C).getItemKey(r)),
2383
+ class: v(["block h-auto max-h-full w-auto max-w-full cursor-pointer object-contain shadow-[0_40px_120px_-60px_rgba(0,0,0,0.9)] transition-opacity duration-300", N(h).isMediaReady(N(C).getItemKey(r)) ? "opacity-100" : "opacity-0"]),
2381
2384
  playsinline: "",
2382
2385
  loop: d.loopFullscreenVideo,
2383
- src: M(C).getFullscreenMediaSource(i, r),
2384
- preload: M(C).getFullscreenMediaPreload(i),
2386
+ src: N(C).getFullscreenMediaSource(i, r),
2387
+ preload: N(C).getFullscreenMediaPreload(i),
2385
2388
  ref_for: !0,
2386
- ref: (e) => ge(M(C).getItemKey(r), e),
2387
- onClick: te((e) => M(h).onVideoClick(e, M(C).getItemKey(r)), ["stop"]),
2388
- onCanplay: (e) => Q(M(C).getItemKey(r), e),
2389
- onDurationchange: (e) => Q(M(C).getItemKey(r), e),
2390
- onEnded: (e) => be(e, M(C).getItemKey(r)),
2391
- onError: (e) => ve(M(C).getItemKey(r), r.url),
2392
- onLoadstart: (e) => Q(M(C).getItemKey(r), e),
2393
- onLoadedmetadata: (e) => Q(M(C).getItemKey(r), e),
2394
- onPause: (e) => Q(M(C).getItemKey(r), e),
2395
- onPlay: (e) => Q(M(C).getItemKey(r), e),
2396
- onPlaying: (e) => Q(M(C).getItemKey(r), e),
2397
- onSeeking: (e) => Q(M(C).getItemKey(r), e),
2398
- onSeeked: (e) => Q(M(C).getItemKey(r), e),
2399
- onStalled: (e) => Q(M(C).getItemKey(r), e),
2400
- onTimeupdate: (e) => Q(M(C).getItemKey(r), e),
2401
- onWaiting: (e) => Q(M(C).getItemKey(r), e)
2402
- }, null, 42, Pn))], 2)) : M(h).isAudio(r) ? (w(), s("div", {
2389
+ ref: (e) => ge(N(C).getItemKey(r), e),
2390
+ onClick: ee((e) => N(h).onVideoClick(e, N(C).getItemKey(r)), ["stop"]),
2391
+ onCanplay: (e) => Q(N(C).getItemKey(r), e),
2392
+ onDurationchange: (e) => Q(N(C).getItemKey(r), e),
2393
+ onEnded: (e) => be(e, N(C).getItemKey(r)),
2394
+ onError: (e) => ve(N(C).getItemKey(r), r.url),
2395
+ onLoadstart: (e) => Q(N(C).getItemKey(r), e),
2396
+ onLoadedmetadata: (e) => Q(N(C).getItemKey(r), e),
2397
+ onPause: (e) => Q(N(C).getItemKey(r), e),
2398
+ onPlay: (e) => Q(N(C).getItemKey(r), e),
2399
+ onPlaying: (e) => Q(N(C).getItemKey(r), e),
2400
+ onSeeking: (e) => Q(N(C).getItemKey(r), e),
2401
+ onSeeked: (e) => Q(N(C).getItemKey(r), e),
2402
+ onStalled: (e) => Q(N(C).getItemKey(r), e),
2403
+ onTimeupdate: (e) => Q(N(C).getItemKey(r), e),
2404
+ onWaiting: (e) => Q(N(C).getItemKey(r), e)
2405
+ }, null, 42, Pn))], 2)) : N(h).isAudio(r) ? (w(), s("div", {
2403
2406
  key: 1,
2404
- class: v(["relative z-[1] grid w-full max-w-[1100px] justify-items-center gap-6 px-[clamp(2rem,4vw,3rem)] py-[clamp(2rem,4vw,3rem)] text-center", i === M(h).resolvedActiveIndex.value ? B.value : ""])
2407
+ class: v(["relative z-[1] grid w-full max-w-[1100px] justify-items-center gap-6 px-[clamp(2rem,4vw,3rem)] py-[clamp(2rem,4vw,3rem)] text-center", i === N(h).resolvedActiveIndex.value ? te.value : ""])
2405
2408
  }, [c("div", Fn, [
2406
2409
  c("button", {
2407
2410
  type: "button",
2408
2411
  class: "relative grid h-full w-full place-items-center border border-white/12 bg-[linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.02)),radial-gradient(circle_at_center,rgba(16,185,129,0.14),transparent_58%)] text-[#f7f1ea] transition-[border-color,background] duration-200 hover:border-white/30 hover:bg-[linear-gradient(180deg,rgba(255,255,255,0.07),rgba(255,255,255,0.03)),radial-gradient(circle_at_center,rgba(16,185,129,0.18),transparent_58%)] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[#f7f1ea]",
2409
- "aria-label": M(h).mediaStates.value[M(C).getItemKey(r)]?.paused ?? !0 ? M(C).getMediaActionLabel("Play", r) : M(C).getMediaActionLabel("Pause", r),
2410
- disabled: !!M(C).getAssetErrorKind(r),
2411
- onClick: (e) => M(h).onAudioCoverClick(e, M(C).getItemKey(r))
2412
+ "aria-label": N(h).mediaStates.value[N(C).getItemKey(r)]?.paused ?? !0 ? N(C).getMediaActionLabel("Play", r) : N(C).getMediaActionLabel("Pause", r),
2413
+ disabled: !!N(C).getAssetErrorKind(r),
2414
+ onClick: (e) => N(h).onAudioCoverClick(e, N(C).getItemKey(r))
2412
2415
  }, [
2413
2416
  n[6] ||= c("span", { class: "pointer-events-none absolute inset-0 border border-white/8 bg-[radial-gradient(circle,rgba(16,185,129,0.16),transparent_66%)]" }, null, -1),
2414
2417
  n[7] ||= c("span", { class: "pointer-events-none absolute h-[clamp(220px,30vw,360px)] w-[clamp(220px,30vw,360px)] border border-white/8 bg-[radial-gradient(circle,rgba(255,255,255,0.08),transparent_62%)]" }, null, -1),
2415
- c("span", Ln, [O(e.$slots, "item-icon", {
2416
- icon: M(Tt)(r.type),
2418
+ c("span", Ln, [k(e.$slots, "item-icon", {
2419
+ icon: N(Tt)(r.type),
2417
2420
  item: r
2418
- }, () => [(w(), a(k(M(Tt)(r.type)), {
2421
+ }, () => [(w(), a(A(N(Tt)(r.type)), {
2419
2422
  class: "h-6 w-6 stroke-[1.9]",
2420
2423
  "aria-hidden": "true"
2421
2424
  }))])]),
2422
- c("span", Rn, [(w(), a(k(M(h).mediaStates.value[M(C).getItemKey(r)]?.paused ?? !0 ? M(ce) : M(se)), {
2425
+ c("span", Rn, [(w(), a(A(N(h).mediaStates.value[N(C).getItemKey(r)]?.paused ?? !0 ? N(ce) : N(se)), {
2423
2426
  class: "h-4 w-4 stroke-2",
2424
2427
  "aria-hidden": "true"
2425
2428
  }))])
2426
2429
  ], 8, In),
2427
- M(C).isAssetLoading(i, r) ? (w(), s("div", zn, [c("span", Bn, [u(M(oe), {
2430
+ N(C).isAssetLoading(i, r) ? (w(), s("div", zn, [c("span", Bn, [u(N(oe), {
2428
2431
  class: "h-5 w-5 animate-spin stroke-[1.9] text-[#f7f1ea]/78",
2429
2432
  "aria-hidden": "true"
2430
2433
  })])])) : o("", !0),
2431
- M(C).getAssetErrorKind(r) ? (w(), s(t, { key: 1 }, [n[8] ||= c("div", { class: "pointer-events-none absolute inset-0 border border-white/8 bg-[radial-gradient(circle,rgba(239,68,68,0.12),transparent_66%)]" }, null, -1), c("div", {
2434
+ N(C).getAssetErrorKind(r) ? (w(), s(t, { key: 1 }, [n[8] ||= c("div", { class: "pointer-events-none absolute inset-0 border border-white/8 bg-[radial-gradient(circle,rgba(239,68,68,0.12),transparent_66%)]" }, null, -1), c("div", {
2432
2435
  "data-testid": "vibe-asset-error",
2433
- "data-kind": M(C).getAssetErrorKind(r),
2436
+ "data-kind": N(C).getAssetErrorKind(r),
2434
2437
  class: "relative z-[1] grid justify-items-center gap-4"
2435
2438
  }, [
2436
- u(M(le), {
2439
+ u(N(le), {
2437
2440
  class: "h-7 w-7 stroke-[1.9] text-[#f7f1ea]/72",
2438
2441
  "aria-hidden": "true"
2439
2442
  }),
2440
- c("p", Hn, A(M(C).getAssetErrorLabel(r)), 1),
2441
- M(h).canRetryAsset(M(C).getItemKey(r)) ? (w(), s("button", {
2443
+ c("p", Hn, j(N(C).getAssetErrorLabel(r)), 1),
2444
+ N(h).canRetryAsset(N(C).getItemKey(r)) ? (w(), s("button", {
2442
2445
  key: 0,
2443
2446
  type: "button",
2444
2447
  class: "pointer-events-auto inline-flex items-center justify-center border border-white/14 bg-black/35 px-4 py-2 text-[0.64rem] font-bold uppercase tracking-[0.22em] text-[#f7f1ea]/82 backdrop-blur-[18px] transition hover:border-white/28 hover:bg-black/50",
2445
- onClick: te((e) => M(h).retryAsset(M(C).getItemKey(r)), ["stop"])
2448
+ onClick: ee((e) => N(h).retryAsset(N(C).getItemKey(r)), ["stop"])
2446
2449
  }, " Retry ", 8, Un)) : o("", !0)
2447
2450
  ], 8, Vn)], 64)) : o("", !0)
2448
2451
  ]), (w(), s("audio", {
2449
- key: M(h).getAssetRenderKey(M(C).getItemKey(r)),
2450
- src: M(C).getFullscreenMediaSource(i, r),
2451
- preload: M(C).getFullscreenMediaPreload(i),
2452
+ key: N(h).getAssetRenderKey(N(C).getItemKey(r)),
2453
+ src: N(C).getFullscreenMediaSource(i, r),
2454
+ preload: N(C).getFullscreenMediaPreload(i),
2452
2455
  class: "pointer-events-none absolute h-px w-px opacity-0",
2453
2456
  ref_for: !0,
2454
- ref: (e) => _e(M(C).getItemKey(r), e),
2455
- onCanplay: (e) => Q(M(C).getItemKey(r), e),
2456
- onDurationchange: (e) => Q(M(C).getItemKey(r), e),
2457
- onError: (e) => ve(M(C).getItemKey(r), r.url),
2458
- onLoadstart: (e) => Q(M(C).getItemKey(r), e),
2459
- onLoadedmetadata: (e) => Q(M(C).getItemKey(r), e),
2460
- onPause: (e) => Q(M(C).getItemKey(r), e),
2461
- onPlay: (e) => Q(M(C).getItemKey(r), e),
2462
- onPlaying: (e) => Q(M(C).getItemKey(r), e),
2463
- onSeeking: (e) => Q(M(C).getItemKey(r), e),
2464
- onSeeked: (e) => Q(M(C).getItemKey(r), e),
2465
- onStalled: (e) => Q(M(C).getItemKey(r), e),
2466
- onTimeupdate: (e) => Q(M(C).getItemKey(r), e),
2467
- onWaiting: (e) => Q(M(C).getItemKey(r), e)
2468
- }, null, 40, Wn))], 2)) : (w(), s("div", Gn, [c("div", Kn, [O(e.$slots, "item-icon", {
2469
- icon: M(Tt)(r.type),
2457
+ ref: (e) => _e(N(C).getItemKey(r), e),
2458
+ onCanplay: (e) => Q(N(C).getItemKey(r), e),
2459
+ onDurationchange: (e) => Q(N(C).getItemKey(r), e),
2460
+ onError: (e) => ve(N(C).getItemKey(r), r.url),
2461
+ onLoadstart: (e) => Q(N(C).getItemKey(r), e),
2462
+ onLoadedmetadata: (e) => Q(N(C).getItemKey(r), e),
2463
+ onPause: (e) => Q(N(C).getItemKey(r), e),
2464
+ onPlay: (e) => Q(N(C).getItemKey(r), e),
2465
+ onPlaying: (e) => Q(N(C).getItemKey(r), e),
2466
+ onSeeking: (e) => Q(N(C).getItemKey(r), e),
2467
+ onSeeked: (e) => Q(N(C).getItemKey(r), e),
2468
+ onStalled: (e) => Q(N(C).getItemKey(r), e),
2469
+ onTimeupdate: (e) => Q(N(C).getItemKey(r), e),
2470
+ onWaiting: (e) => Q(N(C).getItemKey(r), e)
2471
+ }, null, 40, Wn))], 2)) : (w(), s("div", Gn, [c("div", Kn, [k(e.$slots, "item-icon", {
2472
+ icon: N(Tt)(r.type),
2470
2473
  item: r
2471
- }, () => [(w(), a(k(M(Tt)(r.type)), {
2474
+ }, () => [(w(), a(A(N(Tt)(r.type)), {
2472
2475
  class: "h-6 w-6 stroke-[1.9]",
2473
2476
  "aria-hidden": "true"
2474
2477
  }))])])]))], 14, En))), 128)),
2475
- U.value && f["fullscreen-overlay"] ? (w(), s("div", qn, [c("div", Jn, [O(e.$slots, "fullscreen-overlay", y(p(U.value)))])])) : o("", !0),
2476
- M(h).activeItem.value ? (w(), a(St, {
2478
+ U.value && f["fullscreen-overlay"] ? (w(), s("div", qn, [c("div", Jn, [k(e.$slots, "fullscreen-overlay", y(p(U.value)))])])) : o("", !0),
2479
+ N(h).activeItem.value ? (w(), a(St, {
2477
2480
  key: 1,
2478
- "current-index": M(h).resolvedActiveIndex.value,
2481
+ "current-index": N(h).resolvedActiveIndex.value,
2479
2482
  loading: d.loading,
2480
- "pagination-detail": M(h).paginationDetail.value,
2483
+ "pagination-detail": N(h).paginationDetail.value,
2481
2484
  "show-back-to-list": d.showBackToList,
2482
- "show-end-badge": d.showEndBadge && M(h).isAtEnd.value && !M(h).hasNextPage.value && !M(h).loading.value,
2483
- title: M(h).activeItem.value.title ?? null,
2484
- total: M(h).items.value.length,
2485
+ "show-end-badge": d.showEndBadge && N(h).isAtEnd.value && !N(h).hasNextPage.value && !N(h).loading.value,
2486
+ title: N(h).activeItem.value.title ?? null,
2487
+ total: N(h).items.value.length,
2485
2488
  onBackToList: n[0] ||= (e) => m("back-to-list")
2486
2489
  }, l({ _: 2 }, [re.value && U.value ? {
2487
2490
  name: "actions",
2488
- fn: R(() => [O(e.$slots, "fullscreen-header-actions", y(p(U.value)))]),
2491
+ fn: z(() => [k(e.$slots, "fullscreen-header-actions", y(p(U.value)))]),
2489
2492
  key: "0"
2490
2493
  } : void 0]), 1032, [
2491
2494
  "current-index",
@@ -2496,19 +2499,19 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2496
2499
  "title",
2497
2500
  "total"
2498
2501
  ])) : o("", !0),
2499
- L.value ? (w(), a(dt, {
2502
+ R.value ? (w(), a(dt, {
2500
2503
  key: 2,
2501
- "current-time": M(h).activeMediaState.value.currentTime,
2502
- "current-time-label": M(h).formatPlaybackTime(M(h).activeMediaState.value.currentTime),
2503
- duration: M(h).activeMediaDuration.value,
2504
- "duration-label": M(h).formatPlaybackTime(M(h).activeMediaDuration.value),
2505
- muted: M(h).activeMediaState.value.muted,
2506
- progress: M(h).activeMediaProgress.value,
2507
- volume: M(h).activeMediaState.value.volume,
2508
- "volume-control-layout": z.value,
2509
- onSeekInput: M(h).onMediaSeekInput,
2510
- onVolumeInput: M(h).onMediaVolumeInput,
2511
- onVolumeToggle: M(h).onMediaVolumeToggle
2504
+ "current-time": N(h).activeMediaState.value.currentTime,
2505
+ "current-time-label": N(h).formatPlaybackTime(N(h).activeMediaState.value.currentTime),
2506
+ duration: N(h).activeMediaDuration.value,
2507
+ "duration-label": N(h).formatPlaybackTime(N(h).activeMediaDuration.value),
2508
+ muted: N(h).activeMediaState.value.muted,
2509
+ progress: N(h).activeMediaProgress.value,
2510
+ volume: N(h).activeMediaState.value.volume,
2511
+ "volume-control-layout": B.value,
2512
+ onSeekInput: N(h).onMediaSeekInput,
2513
+ onVolumeInput: N(h).onMediaVolumeInput,
2514
+ onVolumeToggle: N(h).onMediaVolumeToggle
2512
2515
  }, null, 8, [
2513
2516
  "current-time",
2514
2517
  "current-time-label",
@@ -2524,34 +2527,34 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2524
2527
  ])) : o("", !0),
2525
2528
  G.value ? (w(), s("div", {
2526
2529
  key: 3,
2527
- class: v(["absolute left-1/2 z-[4] -translate-x-1/2", I.value])
2528
- }, [ae.value ? O(e.$slots, "fullscreen-status", y(g({ key: 0 }, G.value))) : (w(), s("div", {
2530
+ class: v(["absolute left-1/2 z-[4] -translate-x-1/2", L.value])
2531
+ }, [ae.value ? k(e.$slots, "fullscreen-status", y(g({ key: 0 }, G.value))) : (w(), s("div", {
2529
2532
  key: 1,
2530
2533
  "data-testid": "vibe-fullscreen-status-badge",
2531
2534
  class: v(["inline-flex w-auto items-center border border-white/14 bg-black/40 px-5 py-3 text-[0.75rem] font-bold uppercase tracking-[0.18em] text-[#f7f1ea]/74 backdrop-blur-[18px] max-[720px]:w-[calc(100%-2.5rem)] max-[720px]:justify-center", G.value.kind === "end" ? "border-amber-300/35 text-amber-200" : G.value.kind === "failed" ? "border-rose-400/45 text-rose-100" : ""])
2532
- }, A(G.value.message), 3))], 2)) : o("", !0)
2533
- ])) : V.value ? (w(), s("div", Yn, [c("div", Xn, [c("span", Zn, [u(M(oe), {
2535
+ }, j(G.value.message), 3))], 2)) : o("", !0)
2536
+ ])) : V.value ? (w(), s("div", Yn, [c("div", Xn, [c("span", Zn, [u(N(oe), {
2534
2537
  class: "h-5 w-5 animate-spin stroke-[1.9] text-[#f7f1ea]/78",
2535
2538
  "aria-hidden": "true"
2536
- })]), c("p", Qn, A(H.value), 1)])])) : M(Z) && M(X) ? (w(), a(Cn, {
2539
+ })]), c("p", Qn, j(H.value), 1)])])) : N(fe) && N(X) ? (w(), a(Cn, {
2537
2540
  key: 2,
2538
- message: M(X).message,
2539
- mode: M(X).mode,
2540
- surface: M(X).surface
2541
+ message: N(X).message,
2542
+ mode: N(X).mode,
2543
+ surface: N(X).surface
2541
2544
  }, {
2542
- default: R(() => [M(de) ? O(e.$slots, "empty-state", y(g({ key: 0 }, M(X)))) : o("", !0)]),
2545
+ default: z(() => [N(de) ? k(e.$slots, "empty-state", y(g({ key: 0 }, N(X)))) : o("", !0)]),
2543
2546
  _: 3
2544
2547
  }, 8, [
2545
2548
  "message",
2546
2549
  "mode",
2547
2550
  "surface"
2548
- ])) : o("", !0), M(ue) && M(X) ? (w(), a(Cn, {
2551
+ ])) : o("", !0), N(ue) && N(X) ? (w(), a(Cn, {
2549
2552
  key: 3,
2550
- message: M(X).message,
2551
- mode: M(X).mode,
2552
- surface: M(X).surface
2553
+ message: N(X).message,
2554
+ mode: N(X).mode,
2555
+ surface: N(X).surface
2553
2556
  }, {
2554
- default: R(() => [M(de) ? O(e.$slots, "empty-state", y(g({ key: 0 }, M(X)))) : o("", !0)]),
2557
+ default: z(() => [N(de) ? k(e.$slots, "empty-state", y(g({ key: 0 }, N(X)))) : o("", !0)]),
2555
2558
  _: 3
2556
2559
  }, 8, [
2557
2560
  "message",
@@ -2565,7 +2568,7 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2565
2568
  "leave-from-class": "translate-x-0 opacity-100",
2566
2569
  "leave-to-class": "translate-x-full opacity-0"
2567
2570
  }, {
2568
- default: R(() => [Y.value && U.value ? (w(), s("aside", $n, [c("div", er, [O(e.$slots, "fullscreen-aside", y(p(U.value)))])])) : o("", !0)]),
2571
+ default: z(() => [Y.value && U.value ? (w(), s("aside", $n, [c("div", er, [k(e.$slots, "fullscreen-aside", y(p(U.value)))])])) : o("", !0)]),
2569
2572
  _: 3
2570
2573
  })], 4),
2571
2574
  u(r, {
@@ -2576,7 +2579,7 @@ var xn = ["data-surface"], Sn = ["data-surface"], Cn = /* @__PURE__ */ d({
2576
2579
  "leave-from-class": "translate-x-0 opacity-100",
2577
2580
  "leave-to-class": "translate-x-full opacity-0"
2578
2581
  }, {
2579
- default: R(() => [ie.value && U.value ? (w(), s("aside", tr, [c("div", nr, [O(e.$slots, "fullscreen-aside", y(p(U.value)))])])) : o("", !0)]),
2582
+ default: z(() => [ie.value && U.value ? (w(), s("aside", tr, [c("div", nr, [k(e.$slots, "fullscreen-aside", y(p(U.value)))])])) : o("", !0)]),
2580
2583
  _: 3
2581
2584
  })
2582
2585
  ]));
@@ -2699,7 +2702,7 @@ function Tr(e) {
2699
2702
  }
2700
2703
  function Er(e) {
2701
2704
  let t = D(/* @__PURE__ */ new Set()), n = D(/* @__PURE__ */ new Set()), r = D(/* @__PURE__ */ new Map()), a = D(/* @__PURE__ */ new Map()), o = D(/* @__PURE__ */ new Map()), s = D(/* @__PURE__ */ new Set()), c = D(/* @__PURE__ */ new Map()), l = D(/* @__PURE__ */ new Map()), u = D(/* @__PURE__ */ new Set()), d = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), p = i(() => Array.from(o.value.values()));
2702
- I(e.visibleIndices, (i) => {
2705
+ L(e.visibleIndices, (i) => {
2703
2706
  if (!i.length) return;
2704
2707
  let o = [];
2705
2708
  for (let n of i) {
@@ -2722,7 +2725,7 @@ function Er(e) {
2722
2725
  n.value = e, r.value = t, a.value = i;
2723
2726
  }, Cr(o.length));
2724
2727
  });
2725
- }, { flush: "post" }), I(() => e.items.value.map((e) => $(e)), (e) => {
2728
+ }, { flush: "post" }), L(() => e.items.value.map((e) => $(e)), (e) => {
2726
2729
  if (!e.length || !o.value.size) return;
2727
2730
  let t = new Set(e), n = null, r = null;
2728
2731
  for (let e of o.value.keys()) t.has(e) && (n ||= new Map(o.value), r ||= new Set(s.value), n.delete(e), r.delete(e));
@@ -2972,21 +2975,21 @@ function Yr(e) {
2972
2975
  progressDistancePx: n.value,
2973
2976
  thresholdPx: Vr,
2974
2977
  triggerEnabled: w.value
2975
- })), E = i(() => e.items.value.length > 0 ? `${v.value + 1} / ${e.items.value.length}` : "0 / 0"), ee = i(() => Zr({
2978
+ })), E = i(() => e.items.value.length > 0 ? `${v.value + 1} / ${e.items.value.length}` : "0 / 0"), O = i(() => Zr({
2976
2979
  active: e.active.value,
2977
2980
  maxScrollTop: se(),
2978
2981
  progressDistancePx: n.value,
2979
2982
  thresholdPx: Hr,
2980
2983
  triggerEnabled: e.hasPreviousPage.value
2981
- })), O = i(() => Math.max(0, r.value - Gr * 2)), k = i(() => C.value > r.value + 1 && O.value > 0), A = i(() => {
2982
- if (!k.value) return 0;
2983
- let e = r.value / C.value * O.value;
2984
- return Math.min(O.value, Math.max(Kr, e));
2985
- }), j = i(() => {
2986
- if (!k.value) return Gr;
2984
+ })), k = i(() => Math.max(0, r.value - Gr * 2)), A = i(() => C.value > r.value + 1 && k.value > 0), j = i(() => {
2985
+ if (!A.value) return 0;
2986
+ let e = r.value / C.value * k.value;
2987
+ return Math.min(k.value, Math.max(Kr, e));
2988
+ }), M = i(() => {
2989
+ if (!A.value) return Gr;
2987
2990
  let e = Math.max(0, C.value - r.value);
2988
- return Gr + Math.max(0, O.value - A.value) * (e > 0 ? Xr(n.value / e, 0, 1) : 0);
2989
- }), M = Er({
2991
+ return Gr + Math.max(0, k.value - j.value) * (e > 0 ? Xr(n.value / e, 0, 1) : 0);
2992
+ }), N = Er({
2990
2993
  items: e.items,
2991
2994
  visibleIndices: y,
2992
2995
  positions: o,
@@ -2995,7 +2998,7 @@ function Yr(e) {
2995
2998
  columnWidth: g,
2996
2999
  scrollTop: n,
2997
3000
  viewportHeight: r
2998
- }), N = Fr({
3001
+ }), P = Fr({
2999
3002
  direction: "top",
3000
3003
  getAnimationLockMs(e) {
3001
3004
  return Math.max(qr, Cr(e)) + Jr;
@@ -3007,7 +3010,7 @@ function Yr(e) {
3007
3010
  },
3008
3011
  loading: e.loading,
3009
3012
  requestPage: e.requestPreviousPage
3010
- }), P = Fr({
3013
+ }), F = Fr({
3011
3014
  direction: "bottom",
3012
3015
  getAnimationLockMs(e) {
3013
3016
  return Cr(e) + Jr;
@@ -3019,8 +3022,8 @@ function Yr(e) {
3019
3022
  },
3020
3023
  loading: e.loading,
3021
3024
  requestPage: e.requestNextPage
3022
- }), F = null, L = 0, R = null, z = null, te = !1;
3023
- I([
3025
+ }), I = null, R = 0, z = null, B = null, ee = !1;
3026
+ L([
3024
3027
  () => e.items.value,
3025
3028
  h,
3026
3029
  g
@@ -3035,15 +3038,15 @@ function Yr(e) {
3035
3038
  position: n
3036
3039
  }];
3037
3040
  }), h = i.length > s.length && s.length > 0 && i[0] !== s[0], g = t.length === 0 && a.length > 0 && m.length > 0 && n.value > 0, y = m.length > 0 && n.value > Lr + Rr, b = h && n.value > Lr + Rr ? t[v.value] : null, x = b ? $(b) : null;
3038
- y && K(wr() + Jr), g && G(), B(), m.length > 0 && M.markLeave(m), p.length > 0 && (M.markEnter(p, h ? "top" : "bottom"), h ? N.onItemsMutated(p.length) : P.onItemsMutated(p.length)), M.playFlipMoveAnimation(c, new Set(p.map((e) => $(e))), h ? qr : void 0), x ? (await _(), ne(x, c)) : e.active.value && s.length > 0 && re();
3039
- }, { immediate: !0 }), I([
3041
+ y && K(wr() + Jr), g && G(), te(), m.length > 0 && N.markLeave(m), p.length > 0 && (N.markEnter(p, h ? "top" : "bottom"), h ? P.onItemsMutated(p.length) : F.onItemsMutated(p.length)), N.playFlipMoveAnimation(c, new Set(p.map((e) => $(e))), h ? qr : void 0), x ? (await _(), ne(x, c)) : e.active.value && s.length > 0 && re();
3042
+ }, { immediate: !0 }), L([
3040
3043
  () => e.pendingAppendItems.value.map((e) => $(e)),
3041
3044
  h,
3042
3045
  g,
3043
3046
  r
3044
3047
  ], ([t]) => {
3045
3048
  de(), t.length && (d.value = le([...e.items.value, ...e.pendingAppendItems.value]), ue());
3046
- }, { immediate: !0 }), I(() => e.active.value, async (e, i) => {
3049
+ }, { immediate: !0 }), L(() => e.active.value, async (e, i) => {
3047
3050
  let a = t.value;
3048
3051
  if (!a) return;
3049
3052
  if (!e) {
@@ -3053,17 +3056,17 @@ function Yr(e) {
3053
3056
  if (i !== !1 || f.value == null) return;
3054
3057
  await _();
3055
3058
  let o = Math.max(0, C.value - r.value), s = Xr(f.value, 0, o);
3056
- a.scrollTop = s, n.value = s, N.syncBoundary(), P.syncBoundary();
3057
- }), I(() => e.loading.value, async (t) => {
3058
- !t && !e.pendingAppendItems.value.length && !R && !te && (d.value = null), N.onLoadingChange(t), P.onLoadingChange(t), await _();
3059
+ a.scrollTop = s, n.value = s, P.syncBoundary(), F.syncBoundary();
3060
+ }), L(() => e.loading.value, async (t) => {
3061
+ !t && !e.pendingAppendItems.value.length && !z && !ee && (d.value = null), P.onLoadingChange(t), F.onLoadingChange(t), await _();
3059
3062
  }), S(async () => {
3060
- Y(), await _(), v.value > 0 ? W(v.value, "center") : q(), N.syncBoundary(), P.syncBoundary(), typeof ResizeObserver < "u" ? (F = new ResizeObserver(() => {
3063
+ Y(), await _(), v.value > 0 ? W(v.value, "center") : q(), P.syncBoundary(), F.syncBoundary(), typeof ResizeObserver < "u" ? (I = new ResizeObserver(() => {
3061
3064
  Y();
3062
- }), t.value && F.observe(t.value)) : window.addEventListener("resize", Y);
3065
+ }), t.value && I.observe(t.value)) : window.addEventListener("resize", Y);
3063
3066
  }), x(() => {
3064
- F?.disconnect(), F = null, window.removeEventListener("resize", Y), de(), Z(), L &&= (cancelAnimationFrame(L), 0);
3067
+ I?.disconnect(), I = null, window.removeEventListener("resize", Y), de(), fe(), R &&= (cancelAnimationFrame(R), 0);
3065
3068
  });
3066
- function B() {
3069
+ function te() {
3067
3070
  let t = fr(e.items.value, {
3068
3071
  columnCount: h.value,
3069
3072
  columnWidth: g.value,
@@ -3077,21 +3080,21 @@ function Yr(e) {
3077
3080
  })), s.value = t.heights, c.value = t.buckets, l.value = t.contentHeight, u.value = t.indexById;
3078
3081
  }
3079
3082
  function V() {
3080
- e.active.value && (n.value = t.value?.scrollTop ?? 0, r.value = ie(), N.syncBoundary(), P.syncBoundary(), J(), !re() && (L ||= requestAnimationFrame(() => {
3081
- L = 0, q();
3083
+ e.active.value && (n.value = t.value?.scrollTop ?? 0, r.value = ie(), P.syncBoundary(), F.syncBoundary(), J(), !re() && (R ||= requestAnimationFrame(() => {
3084
+ R = 0, q();
3082
3085
  })));
3083
3086
  }
3084
3087
  function H(t) {
3085
- e.active.value && (N.onWheel(t), P.onWheel(t), J());
3088
+ e.active.value && (P.onWheel(t), F.onWheel(t), J());
3086
3089
  }
3087
3090
  function U(t) {
3088
3091
  let n = e.items.value[t], r = n ? $(n) : "";
3089
3092
  return {
3090
3093
  height: `${s.value[t] ?? g.value}px`,
3091
3094
  width: `${g.value}px`,
3092
- transition: r ? M.getCardTransition(r) : void 0,
3093
- transitionDelay: r ? M.getCardTransitionDelay(r) : void 0,
3094
- transform: M.getCardTransform(t)
3095
+ transition: r ? N.getCardTransition(r) : void 0,
3096
+ transitionDelay: r ? N.getCardTransitionDelay(r) : void 0,
3097
+ transform: N.getCardTransform(t)
3095
3098
  };
3096
3099
  }
3097
3100
  function W(e, i) {
@@ -3112,11 +3115,11 @@ function Yr(e) {
3112
3115
  n.value = 0;
3113
3116
  return;
3114
3117
  }
3115
- e.scrollTop = 0, n.value = 0, N.syncBoundary(), P.syncBoundary();
3118
+ e.scrollTop = 0, n.value = 0, P.syncBoundary(), F.syncBoundary();
3116
3119
  }
3117
3120
  function K(e) {
3118
- Z(), p.value = !0, z = setTimeout(() => {
3119
- z = null, p.value = !1;
3121
+ fe(), p.value = !0, B = setTimeout(() => {
3122
+ B = null, p.value = !1;
3120
3123
  }, Math.max(0, e));
3121
3124
  }
3122
3125
  function q() {
@@ -3135,7 +3138,7 @@ function Yr(e) {
3135
3138
  return t ? (e.setActiveIndex(0), !0) : r ? (e.setActiveIndex(Math.max(0, e.items.value.length - 1)), !0) : !1;
3136
3139
  }
3137
3140
  function J() {
3138
- N.maybeRequestPage(), P.maybeRequestPage();
3141
+ P.maybeRequestPage(), F.maybeRequestPage();
3139
3142
  }
3140
3143
  function Y() {
3141
3144
  r.value = ie(), a.value = ae();
@@ -3154,7 +3157,7 @@ function Yr(e) {
3154
3157
  return Math.max(0, e - r.value);
3155
3158
  }
3156
3159
  function ce() {
3157
- return Mr(A.value, j.value);
3160
+ return Mr(j.value, M.value);
3158
3161
  }
3159
3162
  function le(e) {
3160
3163
  return e.length ? fr(e, {
@@ -3177,38 +3180,38 @@ function Yr(e) {
3177
3180
  }
3178
3181
  function ue() {
3179
3182
  let t = e.commitPendingAppend.value;
3180
- typeof t == "function" && (R = setTimeout(async () => {
3181
- R = null, te = !0;
3183
+ typeof t == "function" && (z = setTimeout(async () => {
3184
+ z = null, ee = !0;
3182
3185
  try {
3183
3186
  if (!e.pendingAppendItems.value.length) return;
3184
3187
  await t(), await _(), await _();
3185
3188
  } finally {
3186
- d.value = null, te = !1;
3189
+ d.value = null, ee = !1;
3187
3190
  }
3188
3191
  }, Wr));
3189
3192
  }
3190
3193
  function de() {
3191
- R &&= (clearTimeout(R), null);
3194
+ z &&= (clearTimeout(z), null);
3192
3195
  }
3193
- function Z() {
3194
- z && (clearTimeout(z), z = null, p.value = !1);
3196
+ function fe() {
3197
+ B && (clearTimeout(B), B = null, p.value = !1);
3195
3198
  }
3196
3199
  return {
3197
3200
  columnWidth: g,
3198
3201
  containerHeight: C,
3199
3202
  getCardStyle: U,
3200
- getLeavingCardStyle: M.getLeavingCardStyle,
3203
+ getLeavingCardStyle: N.getLeavingCardStyle,
3201
3204
  getScrollbarThumbStyle: ce,
3202
- leavingItems: M.leavingItems,
3205
+ leavingItems: N.leavingItems,
3203
3206
  nextBoundaryLoadProgress: T,
3204
3207
  onScroll: V,
3205
3208
  onWheel: H,
3206
3209
  paginationLabel: E,
3207
- previousBoundaryLoadProgress: ee,
3210
+ previousBoundaryLoadProgress: O,
3208
3211
  renderedItems: b,
3209
3212
  resolvedActiveIndex: v,
3210
3213
  scrollToIndex: W,
3211
- showScrollbar: k,
3214
+ showScrollbar: A,
3212
3215
  scrollViewportRef: t
3213
3216
  };
3214
3217
  }
@@ -3321,9 +3324,9 @@ function fi(e) {
3321
3324
  let t = typeof e.item.value.healthCheck?.url == "string" ? ni(e.item.value.healthCheck.url) : null;
3322
3325
  return !t || t === e.attachedAssetUrl.value ? null : t;
3323
3326
  }), r = null, a = 0, o = /* @__PURE__ */ new Map();
3324
- I(n, (e, n) => {
3327
+ L(n, (e, n) => {
3325
3328
  e !== n && (t.value = null, l(), a += 1);
3326
- }), I([
3329
+ }), L([
3327
3330
  n,
3328
3331
  e.surfaceActive,
3329
3332
  e.isInView,
@@ -3427,7 +3430,7 @@ var pi = ["aria-label"], mi = {
3427
3430
  },
3428
3431
  emits: ["open"],
3429
3432
  setup(e, { emit: t }) {
3430
- let n = e, r = t, l = i(() => oi(n.item)), d = D(!1), f = D(!1), p = D(!1), m = D(l.value.kind === "fallback"), h = D(!1), g = D(null), _ = D(null), y = D(null), b = D(null), C = D(null), T = D(l.value.kind === "fallback"), E = i(() => T.value ? n.surfaceActive ? d.value ? l.value.url : null : l.value.url : null), ee = i(() => n.surfaceActive && d.value && (l.value.kind === "image" || l.value.kind === "video") && !!l.value.url), j = i(() => l.value.kind === "image" && !!E.value), N = i(() => l.value.kind === "video" && !!E.value), P = fi({
3433
+ let n = e, r = t, l = i(() => oi(n.item)), d = D(!1), f = D(!1), p = D(!1), m = D(l.value.kind === "fallback"), h = D(!1), g = D(null), _ = D(null), y = D(null), b = D(null), C = D(null), T = D(l.value.kind === "fallback"), E = i(() => T.value ? n.surfaceActive ? d.value ? l.value.url : null : l.value.url : null), O = i(() => n.surfaceActive && d.value && (l.value.kind === "image" || l.value.kind === "video") && !!l.value.url), M = i(() => l.value.kind === "image" && !!E.value), P = i(() => l.value.kind === "video" && !!E.value), F = fi({
3431
3434
  attachedAssetUrl: E,
3432
3435
  getPriority: X,
3433
3436
  isInView: d,
@@ -3436,19 +3439,19 @@ var pi = ["aria-label"], mi = {
3436
3439
  loadErrorKind: g,
3437
3440
  reportAssetError: n.reportAssetError,
3438
3441
  surfaceActive: i(() => n.surfaceActive)
3439
- }), F = i(() => P.errorKind.value ?? g.value), L = i(() => !!F.value), R = i(() => en(F.value)), z = i(() => ee.value && !g.value && (!T.value || !m.value)), B = null, V = null, H = /* @__PURE__ */ new Set();
3440
- I([E, () => l.value.kind], () => {
3442
+ }), I = i(() => F.errorKind.value ?? g.value), R = i(() => !!I.value), z = i(() => en(I.value)), B = i(() => O.value && !g.value && (!T.value || !m.value)), te = null, V = null, H = /* @__PURE__ */ new Set();
3443
+ L([E, () => l.value.kind], () => {
3441
3444
  let e = l.value.kind === "fallback";
3442
3445
  m.value = e, h.value = !1, g.value = null, e && (T.value = !0);
3443
- }), I(ee, () => {
3446
+ }), L(O, () => {
3444
3447
  K();
3445
- }), I([
3448
+ }), L([
3446
3449
  d,
3447
3450
  m,
3448
3451
  E
3449
3452
  ], () => {
3450
3453
  q();
3451
- }), I(() => n.surfaceActive, (e) => {
3454
+ }), L(() => n.surfaceActive, (e) => {
3452
3455
  if (!e) {
3453
3456
  J(), q();
3454
3457
  return;
@@ -3461,14 +3464,14 @@ var pi = ["aria-label"], mi = {
3461
3464
  b.value = null, d.value = !0, K();
3462
3465
  return;
3463
3466
  }
3464
- b.value = y.value.closest("[data-testid=\"vibe-list-scroll\"]"), B = new IntersectionObserver((e) => {
3467
+ b.value = y.value.closest("[data-testid=\"vibe-list-scroll\"]"), te = new IntersectionObserver((e) => {
3465
3468
  for (let t of e) t.target === y.value && (n.surfaceActive && Y(t), K(), q());
3466
3469
  }, {
3467
3470
  root: b.value,
3468
3471
  threshold: [0, 1]
3469
- }), B.observe(y.value);
3472
+ }), te.observe(y.value);
3470
3473
  }), x(() => {
3471
- re(), P.release(), B?.disconnect(), B = null;
3474
+ re(), F.release(), te?.disconnect(), te = null;
3472
3475
  });
3473
3476
  function U() {
3474
3477
  ue(_.value) && (m.value = !0, g.value = null, ie(E.value ?? n.item.url), J());
@@ -3501,7 +3504,7 @@ var pi = ["aria-label"], mi = {
3501
3504
  J();
3502
3505
  return;
3503
3506
  }
3504
- if (!ee.value) {
3507
+ if (!O.value) {
3505
3508
  re();
3506
3509
  return;
3507
3510
  }
@@ -3521,7 +3524,7 @@ var pi = ["aria-label"], mi = {
3521
3524
  function q() {
3522
3525
  let e = C.value;
3523
3526
  if (!(!e || l.value.kind !== "video")) {
3524
- if (F.value) {
3527
+ if (I.value) {
3525
3528
  e.pause();
3526
3529
  return;
3527
3530
  }
@@ -3560,7 +3563,7 @@ var pi = ["aria-label"], mi = {
3560
3563
  }));
3561
3564
  }
3562
3565
  function ae() {
3563
- if (!R.value || P.retry()) return;
3566
+ if (!z.value || F.retry()) return;
3564
3567
  let e = $(n.item);
3565
3568
  H.forEach((t) => {
3566
3569
  t.startsWith(`${e}|`) && H.delete(t);
@@ -3590,10 +3593,10 @@ var pi = ["aria-label"], mi = {
3590
3593
  function de() {
3591
3594
  r("open");
3592
3595
  }
3593
- function Z() {
3596
+ function fe() {
3594
3597
  f.value = !0;
3595
3598
  }
3596
- function fe(e) {
3599
+ function Z(e) {
3597
3600
  let t = e.relatedTarget;
3598
3601
  y.value && t instanceof Node && y.value.contains(t) || (f.value = !1);
3599
3602
  }
@@ -3602,8 +3605,8 @@ var pi = ["aria-label"], mi = {
3602
3605
  ref: y,
3603
3606
  "data-testid": "vibe-list-card-inner",
3604
3607
  class: v(["group relative h-full w-full overflow-hidden border bg-[#0a0b0f] text-[#f7f1ea] transition-[border-color,transform] duration-300", n.active ? "border-white/28" : "border-white/12 hover:border-white/24"]),
3605
- onFocusin: Z,
3606
- onFocusout: fe,
3608
+ onFocusin: fe,
3609
+ onFocusout: Z,
3607
3610
  onPointerenter: t[0] ||= (e) => p.value = !0,
3608
3611
  onPointerleave: t[1] ||= (e) => p.value = !1
3609
3612
  }, [
@@ -3614,11 +3617,11 @@ var pi = ["aria-label"], mi = {
3614
3617
  "aria-label": n.item.title || `Open item ${n.index + 1}`,
3615
3618
  onClick: de
3616
3619
  }, null, 8, pi),
3617
- z.value ? (w(), s("div", mi, [c("span", hi, [u(M(oe), {
3620
+ B.value ? (w(), s("div", mi, [c("span", hi, [u(N(oe), {
3618
3621
  class: "h-5 w-5 animate-spin stroke-[1.9] text-[#f7f1ea]/78",
3619
3622
  "aria-hidden": "true"
3620
3623
  })])])) : o("", !0),
3621
- j.value && E.value && !L.value ? (w(), s("img", {
3624
+ M.value && E.value && !R.value ? (w(), s("img", {
3622
3625
  key: 1,
3623
3626
  ref_key: "imageRef",
3624
3627
  ref: _,
@@ -3628,7 +3631,7 @@ var pi = ["aria-label"], mi = {
3628
3631
  class: v(["block h-full w-full object-cover transition-opacity duration-300", m.value ? "pointer-events-none opacity-100" : "pointer-events-none opacity-0"]),
3629
3632
  onLoad: U,
3630
3633
  onError: W
3631
- }, null, 42, gi)) : N.value && E.value && !L.value ? (w(), s("video", {
3634
+ }, null, 42, gi)) : P.value && E.value && !R.value ? (w(), s("video", {
3632
3635
  key: 2,
3633
3636
  ref_key: "videoRef",
3634
3637
  ref: C,
@@ -3644,31 +3647,31 @@ var pi = ["aria-label"], mi = {
3644
3647
  onPlaying: ne,
3645
3648
  onStalled: G,
3646
3649
  onWaiting: G
3647
- }, null, 42, _i)) : L.value ? (w(), s("div", {
3650
+ }, null, 42, _i)) : R.value ? (w(), s("div", {
3648
3651
  key: 3,
3649
3652
  "data-testid": "vibe-list-card-error",
3650
- "data-kind": F.value,
3653
+ "data-kind": I.value,
3651
3654
  class: "pointer-events-none relative z-[2] grid h-full w-full place-items-center bg-[radial-gradient(circle_at_center,rgba(239,68,68,0.12),transparent_65%),linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.02))]"
3652
3655
  }, [c("div", yi, [
3653
- u(M(le), {
3656
+ u(N(le), {
3654
3657
  class: "h-6 w-6 stroke-[1.8] text-[#f7f1ea]/78",
3655
3658
  "aria-hidden": "true"
3656
3659
  }),
3657
- c("span", bi, A(M($t)(F.value)), 1),
3658
- R.value ? (w(), s("button", {
3660
+ c("span", bi, j(N($t)(I.value)), 1),
3661
+ z.value ? (w(), s("button", {
3659
3662
  key: 0,
3660
3663
  type: "button",
3661
3664
  class: "pointer-events-auto inline-flex items-center justify-center border border-white/14 bg-black/35 px-3 py-2 text-[0.62rem] font-bold uppercase tracking-[0.22em] text-[#f7f1ea]/82 backdrop-blur-[18px] transition hover:border-white/28 hover:bg-black/50",
3662
- onClick: te(ae, ["stop"])
3665
+ onClick: ee(ae, ["stop"])
3663
3666
  }, " Retry ")) : o("", !0)
3664
- ])], 8, vi)) : (w(), s("div", xi, [c("div", Si, [O(e.$slots, "item-icon", {
3665
- icon: M(Tt)(n.item.type),
3667
+ ])], 8, vi)) : (w(), s("div", xi, [c("div", Si, [k(e.$slots, "item-icon", {
3668
+ icon: N(Tt)(n.item.type),
3666
3669
  item: n.item
3667
- }, () => [(w(), a(k(M(Tt)(n.item.type)), {
3670
+ }, () => [(w(), a(A(N(Tt)(n.item.type)), {
3668
3671
  class: "h-6 w-6 stroke-[1.8] text-[#f7f1ea]/78",
3669
3672
  "aria-hidden": "true"
3670
3673
  }))])])])),
3671
- c("div", Ci, [O(e.$slots, "grid-item-overlay", {
3674
+ c("div", Ci, [k(e.$slots, "grid-item-overlay", {
3672
3675
  active: n.active,
3673
3676
  focused: f.value,
3674
3677
  hovered: p.value,
@@ -3756,19 +3759,19 @@ var pi = ["aria-label"], mi = {
3756
3759
  "update:activeIndex"
3757
3760
  ],
3758
3761
  setup(e, { emit: n }) {
3759
- let r = e, d = P(), f = n, p = Yr({
3760
- active: j(r, "active"),
3761
- allowExhaustedNextPageRefresh: j(r, "allowExhaustedNextPageRefresh"),
3762
- items: j(r, "items"),
3763
- activeIndex: j(r, "activeIndex"),
3764
- loading: j(r, "loading"),
3765
- hasNextPage: j(r, "hasNextPage"),
3766
- hasPreviousPage: j(r, "hasPreviousPage"),
3767
- paginationDetail: j(r, "paginationDetail"),
3768
- pendingAppendItems: j(r, "pendingAppendItems"),
3769
- commitPendingAppend: j(r, "commitPendingAppend"),
3770
- requestNextPage: j(r, "requestNextPage"),
3771
- requestPreviousPage: j(r, "requestPreviousPage"),
3762
+ let r = e, d = F(), f = n, p = Yr({
3763
+ active: M(r, "active"),
3764
+ allowExhaustedNextPageRefresh: M(r, "allowExhaustedNextPageRefresh"),
3765
+ items: M(r, "items"),
3766
+ activeIndex: M(r, "activeIndex"),
3767
+ loading: M(r, "loading"),
3768
+ hasNextPage: M(r, "hasNextPage"),
3769
+ hasPreviousPage: M(r, "hasPreviousPage"),
3770
+ paginationDetail: M(r, "paginationDetail"),
3771
+ pendingAppendItems: M(r, "pendingAppendItems"),
3772
+ commitPendingAppend: M(r, "commitPendingAppend"),
3773
+ requestNextPage: M(r, "requestNextPage"),
3774
+ requestPreviousPage: M(r, "requestPreviousPage"),
3772
3775
  setActiveIndex(e) {
3773
3776
  f("update:activeIndex", e);
3774
3777
  }
@@ -3789,42 +3792,42 @@ var pi = ["aria-label"], mi = {
3789
3792
  message: h.value.message,
3790
3793
  paginationDetail: r.paginationDetail,
3791
3794
  total: r.items.length
3792
- }), x = i(() => !_.value || !d["grid-status"] ? [] : d["grid-status"](_.value)), S = i(() => zt(x.value)), C = i(() => r.items.length + p.leavingItems.value.length), { emptyStateProps: T, showBadgeEmptyState: E, showCustomEmptyState: D, showInlineEmptyState: k } = Ht({
3793
- emptyStateMode: j(r, "emptyStateMode"),
3795
+ }), x = i(() => !_.value || !d["grid-status"] ? [] : d["grid-status"](_.value)), S = i(() => zt(x.value)), C = i(() => r.items.length + p.leavingItems.value.length), { emptyStateProps: T, showBadgeEmptyState: E, showCustomEmptyState: D, showInlineEmptyState: A } = Ht({
3796
+ emptyStateMode: M(r, "emptyStateMode"),
3794
3797
  itemCount: C,
3795
- loading: j(r, "loading"),
3798
+ loading: M(r, "loading"),
3796
3799
  renderSlot: d["empty-state"],
3797
3800
  surface: "grid"
3798
3801
  });
3799
- return I([p.nextBoundaryLoadProgress, p.previousBoundaryLoadProgress], ([e, t]) => {
3802
+ return L([p.nextBoundaryLoadProgress, p.previousBoundaryLoadProgress], ([e, t]) => {
3800
3803
  f("boundary-load-progress", {
3801
3804
  nextBoundaryLoadProgress: e,
3802
3805
  previousBoundaryLoadProgress: t
3803
3806
  });
3804
3807
  }, { immediate: !0 }), (e, n) => (w(), s("div", Ti, [
3805
- c("div", Ei, [c("span", Di, [c("span", Oi, A(M(p).paginationLabel.value), 1), r.paginationDetail ? (w(), s("span", ki, A(r.paginationDetail), 1)) : o("", !0)])]),
3808
+ c("div", Ei, [c("span", Di, [c("span", Oi, j(N(p).paginationLabel.value), 1), r.paginationDetail ? (w(), s("span", ki, j(r.paginationDetail), 1)) : o("", !0)])]),
3806
3809
  c("div", {
3807
- ref: M(p).scrollViewportRef,
3810
+ ref: N(p).scrollViewportRef,
3808
3811
  "data-testid": "vibe-list-scroll",
3809
3812
  class: "h-full min-h-0 overflow-y-auto overflow-x-hidden [overflow-anchor:none] [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",
3810
- onScroll: n[0] ||= (...e) => M(p).onScroll && M(p).onScroll(...e),
3811
- onWheel: n[1] ||= (...e) => M(p).onWheel && M(p).onWheel(...e)
3813
+ onScroll: n[0] ||= (...e) => N(p).onScroll && N(p).onScroll(...e),
3814
+ onWheel: n[1] ||= (...e) => N(p).onWheel && N(p).onWheel(...e)
3812
3815
  }, [c("div", {
3813
3816
  "data-testid": "vibe-list-content",
3814
3817
  class: "relative",
3815
- style: b({ height: `${M(p).containerHeight.value}px` })
3818
+ style: b({ height: `${N(p).containerHeight.value}px` })
3816
3819
  }, [
3817
- (w(!0), s(t, null, ee(M(p).renderedItems.value, ({ item: t, index: n }) => (w(), s("article", {
3818
- key: M($)(t),
3820
+ (w(!0), s(t, null, O(N(p).renderedItems.value, ({ item: t, index: n }) => (w(), s("article", {
3821
+ key: N($)(t),
3819
3822
  "data-testid": "vibe-list-card",
3820
- "data-active": n === M(p).resolvedActiveIndex.value ? "true" : "false",
3823
+ "data-active": n === N(p).resolvedActiveIndex.value ? "true" : "false",
3821
3824
  "data-index": n,
3822
3825
  "data-item-id": t.id,
3823
- "data-occurrence-key": M($)(t),
3826
+ "data-occurrence-key": N($)(t),
3824
3827
  class: "absolute will-change-transform",
3825
- style: b(M(p).getCardStyle(n))
3828
+ style: b(N(p).getCardStyle(n))
3826
3829
  }, [u(wi, {
3827
- active: n === M(p).resolvedActiveIndex.value,
3830
+ active: n === N(p).resolvedActiveIndex.value,
3828
3831
  index: n,
3829
3832
  item: t,
3830
3833
  "report-asset-error": r.reportAssetError,
@@ -3833,11 +3836,11 @@ var pi = ["aria-label"], mi = {
3833
3836
  onOpen: (e) => f("open-fullscreen", n)
3834
3837
  }, l({ _: 2 }, [d["grid-item-overlay"] ? {
3835
3838
  name: "grid-item-overlay",
3836
- fn: R((t) => [O(e.$slots, "grid-item-overlay", g({ ref_for: !0 }, t))]),
3839
+ fn: z((t) => [k(e.$slots, "grid-item-overlay", g({ ref_for: !0 }, t))]),
3837
3840
  key: "0"
3838
3841
  } : void 0, d["item-icon"] ? {
3839
3842
  name: "item-icon",
3840
- fn: R((t) => [O(e.$slots, "item-icon", g({ ref_for: !0 }, t))]),
3843
+ fn: z((t) => [k(e.$slots, "item-icon", g({ ref_for: !0 }, t))]),
3841
3844
  key: "1"
3842
3845
  } : void 0]), 1032, [
3843
3846
  "active",
@@ -3848,12 +3851,12 @@ var pi = ["aria-label"], mi = {
3848
3851
  "surface-active",
3849
3852
  "onOpen"
3850
3853
  ])], 12, Ai))), 128)),
3851
- (w(!0), s(t, null, ee(M(p).leavingItems.value, (t) => (w(), s("article", {
3852
- key: `leaving-${M($)(t.item)}`,
3854
+ (w(!0), s(t, null, O(N(p).leavingItems.value, (t) => (w(), s("article", {
3855
+ key: `leaving-${N($)(t.item)}`,
3853
3856
  "data-testid": "vibe-list-card-leaving",
3854
3857
  "data-item-id": t.item.id,
3855
3858
  class: "pointer-events-none absolute z-[2] will-change-[opacity,transform]",
3856
- style: b(M(p).getLeavingCardStyle(t.item))
3859
+ style: b(N(p).getLeavingCardStyle(t.item))
3857
3860
  }, [u(wi, {
3858
3861
  active: !1,
3859
3862
  index: -1,
@@ -3863,20 +3866,20 @@ var pi = ["aria-label"], mi = {
3863
3866
  "surface-active": !1
3864
3867
  }, l({ _: 2 }, [d["item-icon"] ? {
3865
3868
  name: "item-icon",
3866
- fn: R((t) => [O(e.$slots, "item-icon", g({ ref_for: !0 }, t))]),
3869
+ fn: z((t) => [k(e.$slots, "item-icon", g({ ref_for: !0 }, t))]),
3867
3870
  key: "0"
3868
3871
  } : void 0]), 1032, [
3869
3872
  "item",
3870
3873
  "report-asset-error",
3871
3874
  "report-asset-load"
3872
3875
  ])], 12, ji))), 128)),
3873
- M(k) && M(T) ? (w(), a(Cn, {
3876
+ N(A) && N(T) ? (w(), a(Cn, {
3874
3877
  key: 0,
3875
- message: M(T).message,
3876
- mode: M(T).mode,
3877
- surface: M(T).surface
3878
+ message: N(T).message,
3879
+ mode: N(T).mode,
3880
+ surface: N(T).surface
3878
3881
  }, {
3879
- default: R(() => [M(D) ? O(e.$slots, "empty-state", y(g({ key: 0 }, M(T)))) : o("", !0)]),
3882
+ default: z(() => [N(D) ? k(e.$slots, "empty-state", y(g({ key: 0 }, N(T)))) : o("", !0)]),
3880
3883
  _: 3
3881
3884
  }, 8, [
3882
3885
  "message",
@@ -3884,28 +3887,28 @@ var pi = ["aria-label"], mi = {
3884
3887
  "surface"
3885
3888
  ])) : o("", !0)
3886
3889
  ], 4)], 544),
3887
- M(p).showScrollbar.value ? (w(), s("div", Mi, [n[2] ||= c("div", { class: "absolute bottom-6 right-3 top-6 w-px bg-white/8" }, null, -1), c("div", {
3890
+ N(p).showScrollbar.value ? (w(), s("div", Mi, [n[2] ||= c("div", { class: "absolute bottom-6 right-3 top-6 w-px bg-white/8" }, null, -1), c("div", {
3888
3891
  "data-testid": "vibe-list-scrollbar-thumb",
3889
3892
  class: v(["absolute right-[0.625rem] w-1 bg-white/34 transition-[height,transform,background-color,opacity] duration-300 ease-out", r.loading ? "bg-white/52" : "bg-white/34"]),
3890
- style: b(M(p).getScrollbarThumbStyle())
3893
+ style: b(N(p).getScrollbarThumbStyle())
3891
3894
  }, null, 6)])) : o("", !0),
3892
- d["grid-footer"] ? (w(), s("div", Ni, [c("div", Pi, [O(e.$slots, "grid-footer")])])) : o("", !0),
3895
+ d["grid-footer"] ? (w(), s("div", Ni, [c("div", Pi, [k(e.$slots, "grid-footer")])])) : o("", !0),
3893
3896
  _.value ? (w(), s("div", {
3894
3897
  key: 2,
3895
3898
  class: v(["pointer-events-none absolute inset-x-0 bottom-0 z-[3] flex justify-center px-6", d["grid-footer"] ? "pb-24" : "pb-6"])
3896
- }, [S.value ? O(e.$slots, "grid-status", y(g({ key: 0 }, _.value))) : (w(), s("span", {
3899
+ }, [S.value ? k(e.$slots, "grid-status", y(g({ key: 0 }, _.value))) : (w(), s("span", {
3897
3900
  key: 1,
3898
3901
  "data-testid": "vibe-grid-status-badge",
3899
3902
  class: v(["inline-flex items-center border border-white/14 bg-black/55 px-4 py-3 text-[0.7rem] font-bold uppercase tracking-[0.18em] text-[#f7f1ea]/72 backdrop-blur-[18px]", _.value.kind === "end" ? "border-amber-300/35 text-amber-200" : _.value.kind === "failed" ? "border-rose-400/45 text-rose-100" : ""])
3900
- }, A(_.value.message), 3))], 2)) : o("", !0),
3901
- M(E) && M(T) ? (w(), a(Cn, {
3903
+ }, j(_.value.message), 3))], 2)) : o("", !0),
3904
+ N(E) && N(T) ? (w(), a(Cn, {
3902
3905
  key: 3,
3903
3906
  class: v(["z-[3]", d["grid-footer"] ? "pb-24" : "pb-6"]),
3904
- message: M(T).message,
3905
- mode: M(T).mode,
3906
- surface: M(T).surface
3907
+ message: N(T).message,
3908
+ mode: N(T).mode,
3909
+ surface: N(T).surface
3907
3910
  }, {
3908
- default: R(() => [M(D) ? O(e.$slots, "empty-state", y(g({ key: 0 }, M(T)))) : o("", !0)]),
3911
+ default: z(() => [N(D) ? k(e.$slots, "empty-state", y(g({ key: 0 }, N(T)))) : o("", !0)]),
3909
3912
  _: 3
3910
3913
  }, 8, [
3911
3914
  "class",
@@ -3946,9 +3949,9 @@ var pi = ["aria-label"], mi = {
3946
3949
  "update:surfaceMode"
3947
3950
  ],
3948
3951
  setup(e, { expose: n, emit: i }) {
3949
- let d = e, f = P(), m = i, h = Ye(d, m), g = Z((e) => {
3952
+ let d = e, f = F(), m = i, h = Ye(d, m), g = fe((e) => {
3950
3953
  m("asset-errors", e);
3951
- }), _ = fe((e) => {
3954
+ }), _ = Z((e) => {
3952
3955
  m("asset-loads", e);
3953
3956
  });
3954
3957
  return x(() => {
@@ -3968,14 +3971,14 @@ var pi = ["aria-label"], mi = {
3968
3971
  unlockPageLoading: h.unlockPageLoading
3969
3972
  }), (e, n) => (w(), s("section", {
3970
3973
  "data-testid": "vibe",
3971
- "data-surface-mode": M(h).surfaceMode.value,
3974
+ "data-surface-mode": N(h).surfaceMode.value,
3972
3975
  class: "relative h-full min-h-0 overflow-hidden bg-[#05060a] text-[#f7f1ea]"
3973
- }, [M(h).canRetryInitialLoad.value ? (w(), s("button", {
3976
+ }, [N(h).canRetryInitialLoad.value ? (w(), s("button", {
3974
3977
  key: 0,
3975
3978
  type: "button",
3976
3979
  class: "absolute left-5 top-5 z-30 inline-flex items-center border border-rose-400/55 bg-rose-500/18 px-4 py-2 text-xs font-medium uppercase tracking-[0.24em] text-white backdrop-blur transition hover:bg-rose-500/28",
3977
- onClick: n[0] ||= (...e) => M(h).retryInitialLoad && M(h).retryInitialLoad(...e)
3978
- }, " Retry ")) : M(h).errorMessage.value && M(h).items.value.length > 0 ? (w(), s("div", Li, A(M(h).errorMessage.value), 1)) : o("", !0), M(h).isDesktop.value ? (w(), s(t, { key: 2 }, [u(r, {
3980
+ onClick: n[0] ||= (...e) => N(h).retryInitialLoad && N(h).retryInitialLoad(...e)
3981
+ }, " Retry ")) : N(h).errorMessage.value && N(h).items.value.length > 0 ? (w(), s("div", Li, j(N(h).errorMessage.value), 1)) : o("", !0), N(h).isDesktop.value ? (w(), s(t, { key: 2 }, [u(r, {
3979
3982
  appear: "",
3980
3983
  "enter-active-class": "transition-[opacity,transform] duration-300 ease-out",
3981
3984
  "enter-from-class": "translate-y-3 opacity-0",
@@ -3984,57 +3987,57 @@ var pi = ["aria-label"], mi = {
3984
3987
  "leave-from-class": "translate-y-0 opacity-100",
3985
3988
  "leave-to-class": "translate-y-3 opacity-0"
3986
3989
  }, {
3987
- default: R(() => [z(c("div", {
3990
+ default: z(() => [B(c("div", {
3988
3991
  "data-testid": "vibe-list-surface",
3989
- "data-visible": M(h).surfaceMode.value === "list" ? "true" : "false",
3990
- inert: M(h).surfaceMode.value !== "list",
3992
+ "data-visible": N(h).surfaceMode.value === "list" ? "true" : "false",
3993
+ inert: N(h).surfaceMode.value !== "list",
3991
3994
  class: "absolute inset-0 z-[2]"
3992
3995
  }, [u(Fi, {
3993
- active: M(h).surfaceMode.value === "list",
3994
- "allow-exhausted-next-page-refresh": M(h).canRefreshExhaustedNextPage.value,
3995
- items: M(h).items.value,
3996
- "active-index": M(h).activeIndex.value,
3997
- "error-message": M(h).errorMessage.value,
3998
- loading: M(h).loading.value,
3999
- "has-next-page": M(h).hasNextPage.value,
4000
- "has-previous-page": M(h).hasPreviousPage.value,
4001
- "pending-append-items": M(h).pendingAppendItems.value,
4002
- phase: M(h).phase.value,
4003
- "commit-pending-append": M(h).commitPendingAppend,
4004
- "pagination-detail": M(h).paginationDetail.value,
4005
- "report-asset-error": M(g).report,
4006
- "report-asset-load": M(_).report,
4007
- "request-next-page": M(h).prefetchNextPage,
4008
- "request-previous-page": M(h).prefetchPreviousPage,
3996
+ active: N(h).surfaceMode.value === "list",
3997
+ "allow-exhausted-next-page-refresh": N(h).canRefreshExhaustedNextPage.value,
3998
+ items: N(h).items.value,
3999
+ "active-index": N(h).activeIndex.value,
4000
+ "error-message": N(h).errorMessage.value,
4001
+ loading: N(h).loading.value,
4002
+ "has-next-page": N(h).hasNextPage.value,
4003
+ "has-previous-page": N(h).hasPreviousPage.value,
4004
+ "pending-append-items": N(h).pendingAppendItems.value,
4005
+ phase: N(h).phase.value,
4006
+ "commit-pending-append": N(h).commitPendingAppend,
4007
+ "pagination-detail": N(h).paginationDetail.value,
4008
+ "report-asset-error": N(g).report,
4009
+ "report-asset-load": N(_).report,
4010
+ "request-next-page": N(h).prefetchNextPage,
4011
+ "request-previous-page": N(h).prefetchPreviousPage,
4009
4012
  "empty-state-mode": d.emptyStateMode,
4010
4013
  "show-status-badges": d.showStatusBadges ?? !0,
4011
- onBoundaryLoadProgress: M(h).setBoundaryLoadProgress,
4012
- onOpenFullscreen: M(h).openFullscreen,
4013
- "onUpdate:activeIndex": M(h).setActiveIndex
4014
+ onBoundaryLoadProgress: N(h).setBoundaryLoadProgress,
4015
+ onOpenFullscreen: N(h).openFullscreen,
4016
+ "onUpdate:activeIndex": N(h).setActiveIndex
4014
4017
  }, l({ _: 2 }, [
4015
4018
  f["empty-state"] ? {
4016
4019
  name: "empty-state",
4017
- fn: R((t) => [O(e.$slots, "empty-state", y(p(t)))]),
4020
+ fn: z((t) => [k(e.$slots, "empty-state", y(p(t)))]),
4018
4021
  key: "0"
4019
4022
  } : void 0,
4020
4023
  f["grid-footer"] ? {
4021
4024
  name: "grid-footer",
4022
- fn: R(() => [O(e.$slots, "grid-footer")]),
4025
+ fn: z(() => [k(e.$slots, "grid-footer")]),
4023
4026
  key: "1"
4024
4027
  } : void 0,
4025
4028
  f["grid-item-overlay"] ? {
4026
4029
  name: "grid-item-overlay",
4027
- fn: R((t) => [O(e.$slots, "grid-item-overlay", y(p(t)))]),
4030
+ fn: z((t) => [k(e.$slots, "grid-item-overlay", y(p(t)))]),
4028
4031
  key: "2"
4029
4032
  } : void 0,
4030
4033
  f["grid-status"] ? {
4031
4034
  name: "grid-status",
4032
- fn: R((t) => [O(e.$slots, "grid-status", y(p(t)))]),
4035
+ fn: z((t) => [k(e.$slots, "grid-status", y(p(t)))]),
4033
4036
  key: "3"
4034
4037
  } : void 0,
4035
4038
  f["item-icon"] ? {
4036
4039
  name: "item-icon",
4037
- fn: R((t) => [O(e.$slots, "item-icon", y(p(t)))]),
4040
+ fn: z((t) => [k(e.$slots, "item-icon", y(p(t)))]),
4038
4041
  key: "4"
4039
4042
  } : void 0
4040
4043
  ]), 1032, [
@@ -4059,7 +4062,7 @@ var pi = ["aria-label"], mi = {
4059
4062
  "onBoundaryLoadProgress",
4060
4063
  "onOpenFullscreen",
4061
4064
  "onUpdate:activeIndex"
4062
- ])], 8, Ri), [[F, M(h).surfaceMode.value === "list"]])]),
4065
+ ])], 8, Ri), [[I, N(h).surfaceMode.value === "list"]])]),
4063
4066
  _: 3
4064
4067
  }), u(r, {
4065
4068
  appear: "",
@@ -4070,59 +4073,59 @@ var pi = ["aria-label"], mi = {
4070
4073
  "leave-from-class": "translate-y-0 opacity-100",
4071
4074
  "leave-to-class": "-translate-y-3 opacity-0"
4072
4075
  }, {
4073
- default: R(() => [z(c("div", {
4076
+ default: z(() => [B(c("div", {
4074
4077
  "data-testid": "vibe-fullscreen-surface",
4075
- "data-visible": M(h).surfaceMode.value === "fullscreen" ? "true" : "false",
4076
- inert: M(h).surfaceMode.value !== "fullscreen",
4078
+ "data-visible": N(h).surfaceMode.value === "fullscreen" ? "true" : "false",
4079
+ inert: N(h).surfaceMode.value !== "fullscreen",
4077
4080
  class: "absolute inset-0 z-[3]"
4078
4081
  }, [u(ar, {
4079
- items: M(h).items.value,
4080
- active: M(h).surfaceMode.value === "fullscreen",
4081
- "active-index": M(h).activeIndex.value,
4082
- "error-message": M(h).errorMessage.value,
4083
- loading: M(h).loading.value,
4084
- "has-next-page": M(h).hasNextPage.value,
4085
- "pagination-detail": M(h).paginationDetail.value,
4086
- phase: M(h).phase.value,
4087
- "report-asset-error": M(g).report,
4088
- "report-asset-load": M(_).report,
4082
+ items: N(h).items.value,
4083
+ active: N(h).surfaceMode.value === "fullscreen",
4084
+ "active-index": N(h).activeIndex.value,
4085
+ "error-message": N(h).errorMessage.value,
4086
+ loading: N(h).loading.value,
4087
+ "has-next-page": N(h).hasNextPage.value,
4088
+ "pagination-detail": N(h).paginationDetail.value,
4089
+ phase: N(h).phase.value,
4090
+ "report-asset-error": N(g).report,
4091
+ "report-asset-load": N(_).report,
4089
4092
  "empty-state-mode": d.emptyStateMode,
4090
4093
  "loop-fullscreen-video": d.loopFullscreenVideo ?? !0,
4091
4094
  "show-dominant-image-tone": d.showDominantImageTone ?? !0,
4092
4095
  "show-end-badge": d.showEndBadge ?? !0,
4093
4096
  "show-status-badges": d.showStatusBadges ?? !0,
4094
- "show-back-to-list": M(h).showBackToList.value,
4095
- onBackToList: M(h).returnToList,
4096
- "onUpdate:activeIndex": M(h).setActiveIndex
4097
+ "show-back-to-list": N(h).showBackToList.value,
4098
+ onBackToList: N(h).returnToList,
4099
+ "onUpdate:activeIndex": N(h).setActiveIndex
4097
4100
  }, l({ _: 2 }, [
4098
4101
  f["empty-state"] ? {
4099
4102
  name: "empty-state",
4100
- fn: R((t) => [O(e.$slots, "empty-state", y(p(t)))]),
4103
+ fn: z((t) => [k(e.$slots, "empty-state", y(p(t)))]),
4101
4104
  key: "0"
4102
4105
  } : void 0,
4103
4106
  f["fullscreen-overlay"] ? {
4104
4107
  name: "fullscreen-overlay",
4105
- fn: R((t) => [O(e.$slots, "fullscreen-overlay", y(p(t)))]),
4108
+ fn: z((t) => [k(e.$slots, "fullscreen-overlay", y(p(t)))]),
4106
4109
  key: "1"
4107
4110
  } : void 0,
4108
4111
  f["fullscreen-aside"] ? {
4109
4112
  name: "fullscreen-aside",
4110
- fn: R((t) => [O(e.$slots, "fullscreen-aside", y(p(t)))]),
4113
+ fn: z((t) => [k(e.$slots, "fullscreen-aside", y(p(t)))]),
4111
4114
  key: "2"
4112
4115
  } : void 0,
4113
4116
  f["fullscreen-header-actions"] ? {
4114
4117
  name: "fullscreen-header-actions",
4115
- fn: R((t) => [O(e.$slots, "fullscreen-header-actions", y(p(t)))]),
4118
+ fn: z((t) => [k(e.$slots, "fullscreen-header-actions", y(p(t)))]),
4116
4119
  key: "3"
4117
4120
  } : void 0,
4118
4121
  f["fullscreen-status"] ? {
4119
4122
  name: "fullscreen-status",
4120
- fn: R((t) => [O(e.$slots, "fullscreen-status", y(p(t)))]),
4123
+ fn: z((t) => [k(e.$slots, "fullscreen-status", y(p(t)))]),
4121
4124
  key: "4"
4122
4125
  } : void 0,
4123
4126
  f["item-icon"] ? {
4124
4127
  name: "item-icon",
4125
- fn: R((t) => [O(e.$slots, "item-icon", y(p(t)))]),
4128
+ fn: z((t) => [k(e.$slots, "item-icon", y(p(t)))]),
4126
4129
  key: "5"
4127
4130
  } : void 0
4128
4131
  ]), 1032, [
@@ -4144,60 +4147,60 @@ var pi = ["aria-label"], mi = {
4144
4147
  "show-back-to-list",
4145
4148
  "onBackToList",
4146
4149
  "onUpdate:activeIndex"
4147
- ])], 8, zi), [[F, M(h).surfaceMode.value === "fullscreen"]])]),
4150
+ ])], 8, zi), [[I, N(h).surfaceMode.value === "fullscreen"]])]),
4148
4151
  _: 3
4149
- })], 64)) : M(h).items.value.length === 0 && M(h).loading.value ? (w(), s("div", Bi, [u(M(oe), {
4152
+ })], 64)) : N(h).items.value.length === 0 && N(h).loading.value ? (w(), s("div", Bi, [u(N(oe), {
4150
4153
  class: "size-10 animate-spin text-[#f7f1ea]/82",
4151
4154
  "aria-hidden": "true"
4152
4155
  }), n[1] ||= c("p", { class: "m-0 text-[0.9rem] font-semibold uppercase tracking-[0.22em] text-[#f7f1ea]/72" }, " Loading... ", -1)])) : (w(), a(ar, {
4153
4156
  key: 4,
4154
- items: M(h).items.value,
4157
+ items: N(h).items.value,
4155
4158
  active: !0,
4156
- "active-index": M(h).activeIndex.value,
4157
- "error-message": M(h).errorMessage.value,
4158
- loading: M(h).loading.value,
4159
- "has-next-page": M(h).hasNextPage.value,
4160
- "pagination-detail": M(h).paginationDetail.value,
4161
- phase: M(h).phase.value,
4162
- "report-asset-error": M(g).report,
4163
- "report-asset-load": M(_).report,
4159
+ "active-index": N(h).activeIndex.value,
4160
+ "error-message": N(h).errorMessage.value,
4161
+ loading: N(h).loading.value,
4162
+ "has-next-page": N(h).hasNextPage.value,
4163
+ "pagination-detail": N(h).paginationDetail.value,
4164
+ phase: N(h).phase.value,
4165
+ "report-asset-error": N(g).report,
4166
+ "report-asset-load": N(_).report,
4164
4167
  "empty-state-mode": d.emptyStateMode,
4165
4168
  "loop-fullscreen-video": d.loopFullscreenVideo ?? !0,
4166
4169
  "show-dominant-image-tone": d.showDominantImageTone ?? !0,
4167
4170
  "show-end-badge": d.showEndBadge ?? !0,
4168
4171
  "show-status-badges": d.showStatusBadges ?? !0,
4169
4172
  "show-back-to-list": !1,
4170
- onBackToList: M(h).returnToList,
4171
- "onUpdate:activeIndex": M(h).setActiveIndex
4173
+ onBackToList: N(h).returnToList,
4174
+ "onUpdate:activeIndex": N(h).setActiveIndex
4172
4175
  }, l({ _: 2 }, [
4173
4176
  f["empty-state"] ? {
4174
4177
  name: "empty-state",
4175
- fn: R((t) => [O(e.$slots, "empty-state", y(p(t)))]),
4178
+ fn: z((t) => [k(e.$slots, "empty-state", y(p(t)))]),
4176
4179
  key: "0"
4177
4180
  } : void 0,
4178
4181
  f["fullscreen-overlay"] ? {
4179
4182
  name: "fullscreen-overlay",
4180
- fn: R((t) => [O(e.$slots, "fullscreen-overlay", y(p(t)))]),
4183
+ fn: z((t) => [k(e.$slots, "fullscreen-overlay", y(p(t)))]),
4181
4184
  key: "1"
4182
4185
  } : void 0,
4183
4186
  f["fullscreen-aside"] ? {
4184
4187
  name: "fullscreen-aside",
4185
- fn: R((t) => [O(e.$slots, "fullscreen-aside", y(p(t)))]),
4188
+ fn: z((t) => [k(e.$slots, "fullscreen-aside", y(p(t)))]),
4186
4189
  key: "2"
4187
4190
  } : void 0,
4188
4191
  f["fullscreen-header-actions"] ? {
4189
4192
  name: "fullscreen-header-actions",
4190
- fn: R((t) => [O(e.$slots, "fullscreen-header-actions", y(p(t)))]),
4193
+ fn: z((t) => [k(e.$slots, "fullscreen-header-actions", y(p(t)))]),
4191
4194
  key: "3"
4192
4195
  } : void 0,
4193
4196
  f["fullscreen-status"] ? {
4194
4197
  name: "fullscreen-status",
4195
- fn: R((t) => [O(e.$slots, "fullscreen-status", y(p(t)))]),
4198
+ fn: z((t) => [k(e.$slots, "fullscreen-status", y(p(t)))]),
4196
4199
  key: "4"
4197
4200
  } : void 0,
4198
4201
  f["item-icon"] ? {
4199
4202
  name: "item-icon",
4200
- fn: R((t) => [O(e.$slots, "item-icon", y(p(t)))]),
4203
+ fn: z((t) => [k(e.$slots, "item-icon", y(p(t)))]),
4201
4204
  key: "5"
4202
4205
  } : void 0
4203
4206
  ]), 1032, [