@brftech/filex 0.27.6 → 0.29.0

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.
Files changed (25) hide show
  1. package/dist/{ArchiveViewer-B05olHky.js → ArchiveViewer-DBxmDE3C.js} +2 -2
  2. package/dist/{ArchiveViewer-B05olHky.js.map → ArchiveViewer-DBxmDE3C.js.map} +1 -1
  3. package/dist/{CsvViewer-u4Nq6VdC.js → CsvViewer-B8QzUqaN.js} +2 -2
  4. package/dist/{CsvViewer-u4Nq6VdC.js.map → CsvViewer-B8QzUqaN.js.map} +1 -1
  5. package/dist/{DrawioViewer-7J6AcYin.js → DrawioViewer-Cgd-eAre.js} +2 -2
  6. package/dist/{DrawioViewer-7J6AcYin.js.map → DrawioViewer-Cgd-eAre.js.map} +1 -1
  7. package/dist/{EpubViewer-Bq0A2gEI.js → EpubViewer-xy0EH-Nt.js} +2 -2
  8. package/dist/{EpubViewer-Bq0A2gEI.js.map → EpubViewer-xy0EH-Nt.js.map} +1 -1
  9. package/dist/{IpynbViewer-2Jga-b_r.js → IpynbViewer-CRZ00YV4.js} +2 -2
  10. package/dist/{IpynbViewer-2Jga-b_r.js.map → IpynbViewer-CRZ00YV4.js.map} +1 -1
  11. package/dist/{MermaidViewer-BDE1_qFE.js → MermaidViewer-B2jLNaNa.js} +2 -2
  12. package/dist/{MermaidViewer-BDE1_qFE.js.map → MermaidViewer-B2jLNaNa.js.map} +1 -1
  13. package/dist/{PsdViewer-0n-kvD09.js → PsdViewer-od6i-E7E.js} +2 -2
  14. package/dist/{PsdViewer-0n-kvD09.js.map → PsdViewer-od6i-E7E.js.map} +1 -1
  15. package/dist/{TiffViewer-BCkX1SH8.js → TiffViewer-BRUHhSyn.js} +2 -2
  16. package/dist/{TiffViewer-BCkX1SH8.js.map → TiffViewer-BRUHhSyn.js.map} +1 -1
  17. package/dist/{Viewer3D-gJVZH7yc.js → Viewer3D-BDU6oStH.js} +2 -2
  18. package/dist/{Viewer3D-gJVZH7yc.js.map → Viewer3D-BDU6oStH.js.map} +1 -1
  19. package/dist/filex.js +1 -1
  20. package/dist/filex.umd.cjs +1 -1
  21. package/dist/filex.umd.cjs.map +1 -1
  22. package/dist/{index-BVPK_g02.js → index-4QQYT4gJ.js} +750 -750
  23. package/dist/index-4QQYT4gJ.js.map +1 -0
  24. package/package.json +2 -2
  25. package/dist/index-BVPK_g02.js.map +0 -1
@@ -875,7 +875,7 @@ const Cp = {
875
875
  get: /* @__PURE__ */ Qi(!0, !1)
876
876
  };
877
877
  const od = /* @__PURE__ */ new WeakMap(), ad = /* @__PURE__ */ new WeakMap(), rd = /* @__PURE__ */ new WeakMap(), Ep = /* @__PURE__ */ new WeakMap();
878
- function Pp(e) {
878
+ function Ap(e) {
879
879
  switch (e) {
880
880
  case "Object":
881
881
  case "Array":
@@ -889,8 +889,8 @@ function Pp(e) {
889
889
  return 0;
890
890
  }
891
891
  }
892
- function Ap(e) {
893
- return e.__v_skip || !Object.isExtensible(e) ? 0 : Pp(np(e));
892
+ function Pp(e) {
893
+ return e.__v_skip || !Object.isExtensible(e) ? 0 : Ap(np(e));
894
894
  }
895
895
  // @__NO_SIDE_EFFECTS__
896
896
  function es(e) {
@@ -925,7 +925,7 @@ function Ei(e) {
925
925
  function ts(e, t, n, o, a) {
926
926
  if (!at(e) || e.__v_raw && !(t && e.__v_isReactive))
927
927
  return e;
928
- const r = Ap(e);
928
+ const r = Pp(e);
929
929
  if (r === 0)
930
930
  return e;
931
931
  const s = a.get(e);
@@ -1081,8 +1081,8 @@ function Kp(e, t, n = ct) {
1081
1081
  const y = _, M = a === !0 ? 1 / 0 : a;
1082
1082
  _ = () => zn(y(), M);
1083
1083
  }
1084
- const P = Vc(), S = () => {
1085
- v.stop(), P && P.active && Yi(P.effects, v);
1084
+ const A = Vc(), S = () => {
1085
+ v.stop(), A && A.active && Yi(A.effects, v);
1086
1086
  };
1087
1087
  if (r && t) {
1088
1088
  const y = t;
@@ -1336,16 +1336,16 @@ function to(e, t, n, o) {
1336
1336
  }
1337
1337
  }
1338
1338
  function Vp(e, t) {
1339
- if (At) {
1340
- let n = At.provides;
1341
- const o = At.parent && At.parent.provides;
1342
- o === n && (n = At.provides = Object.create(o)), n[e] = t;
1339
+ if (Pt) {
1340
+ let n = Pt.provides;
1341
+ const o = Pt.parent && Pt.parent.provides;
1342
+ o === n && (n = Pt.provides = Object.create(o)), n[e] = t;
1343
1343
  }
1344
1344
  }
1345
1345
  function Wa(e, t, n = !1) {
1346
1346
  const o = qd();
1347
- if (o || Ao) {
1348
- let a = Ao ? Ao._context.provides : o ? o.parent == null || o.ce ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : void 0;
1347
+ if (o || Po) {
1348
+ let a = Po ? Po._context.provides : o ? o.parent == null || o.ce ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : void 0;
1349
1349
  if (a && e in a)
1350
1350
  return a[e];
1351
1351
  if (arguments.length > 1)
@@ -1369,7 +1369,7 @@ function pd(e, t, n = ct) {
1369
1369
  return x.stop = mn, x.resume = mn, x.pause = mn, x;
1370
1370
  }
1371
1371
  }
1372
- const v = At;
1372
+ const v = Pt;
1373
1373
  i.call = (x, R, E) => an(x, v, R, E);
1374
1374
  let _ = !1;
1375
1375
  r === "post" ? i.scheduler = (x) => {
@@ -1398,7 +1398,7 @@ function hd(e, t) {
1398
1398
  return o;
1399
1399
  };
1400
1400
  }
1401
- const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), vd = (e) => e.__isTeleport, io = (e) => e && (e.disabled || e.disabled === ""), qp = (e) => e && (e.defer || e.defer === ""), bl = (e) => typeof SVGElement < "u" && e instanceof SVGElement, yl = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, Pi = (e, t) => {
1401
+ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), vd = (e) => e.__isTeleport, io = (e) => e && (e.disabled || e.disabled === ""), qp = (e) => e && (e.defer || e.defer === ""), bl = (e) => typeof SVGElement < "u" && e instanceof SVGElement, yl = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, Ai = (e, t) => {
1402
1402
  const n = e && e.to;
1403
1403
  return ht(n) ? t ? t(n) : null : n;
1404
1404
  }, Jp = {
@@ -1409,7 +1409,7 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1409
1409
  mc: v,
1410
1410
  pc: _,
1411
1411
  pbc: T,
1412
- o: { insert: x, querySelector: R, createText: E, createComment: P, parentNode: S }
1412
+ o: { insert: x, querySelector: R, createText: E, createComment: A, parentNode: S }
1413
1413
  } = g, C = io(t.props);
1414
1414
  let { dynamicChildren: O } = t;
1415
1415
  const y = (K, V, k) => {
@@ -1424,7 +1424,7 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1424
1424
  d
1425
1425
  );
1426
1426
  }, M = (K = t) => {
1427
- const V = io(K.props), k = K.target = Pi(K.props, R), z = Ai(k, K, E, x);
1427
+ const V = io(K.props), k = K.target = Ai(K.props, R), z = Pi(k, K, E, x);
1428
1428
  k && (s !== "svg" && bl(k) ? s = "svg" : s !== "mathml" && yl(k) && (s = "mathml"), a && a.isCE && (a.ce._teleportTargets || (a.ce._teleportTargets = /* @__PURE__ */ new Set())).add(k), V || (y(K, k, z), ea(K, !1)));
1429
1429
  }, I = (K) => {
1430
1430
  const V = () => {
@@ -1453,7 +1453,7 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1453
1453
  return;
1454
1454
  }
1455
1455
  t.targetStart = e.targetStart;
1456
- const k = t.target = e.target, z = t.targetAnchor = e.targetAnchor, A = io(e.props), D = A ? n : k, Y = A ? K : z;
1456
+ const k = t.target = e.target, z = t.targetAnchor = e.targetAnchor, P = io(e.props), D = P ? n : k, Y = P ? K : z;
1457
1457
  if (s === "svg" || bl(k) ? s = "svg" : (s === "mathml" || yl(k)) && (s = "mathml"), O ? (T(
1458
1458
  e.dynamicChildren,
1459
1459
  O,
@@ -1473,7 +1473,7 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1473
1473
  i,
1474
1474
  !1
1475
1475
  ), C)
1476
- A ? t.props && e.props && t.props.to !== e.props.to && (t.props.to = e.props.to) : ja(
1476
+ P ? t.props && e.props && t.props.to !== e.props.to && (t.props.to = e.props.to) : ja(
1477
1477
  t,
1478
1478
  n,
1479
1479
  K,
@@ -1481,7 +1481,7 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1481
1481
  1
1482
1482
  );
1483
1483
  else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
1484
- const X = t.target = Pi(
1484
+ const X = t.target = Ai(
1485
1485
  t.props,
1486
1486
  R
1487
1487
  );
@@ -1492,7 +1492,7 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1492
1492
  g,
1493
1493
  0
1494
1494
  );
1495
- } else A && ja(
1495
+ } else P && ja(
1496
1496
  t,
1497
1497
  k,
1498
1498
  z,
@@ -1516,13 +1516,13 @@ const Vn = /* @__PURE__ */ new WeakMap(), md = /* @__PURE__ */ Symbol("_vte"), v
1516
1516
  const R = Vn.get(e);
1517
1517
  if (R && (R.flags |= 8, Vn.delete(e), x = !1), _ && (a(g), a(v)), r && a(d), s & 16)
1518
1518
  for (let E = 0; E < i.length; E++) {
1519
- const P = i[E];
1519
+ const A = i[E];
1520
1520
  o(
1521
- P,
1521
+ A,
1522
1522
  t,
1523
1523
  n,
1524
1524
  x,
1525
- !!P.dynamicChildren
1525
+ !!A.dynamicChildren
1526
1526
  );
1527
1527
  }
1528
1528
  },
@@ -1545,38 +1545,38 @@ function ja(e, t, n, { o: { insert: o }, m: a }, r = 2) {
1545
1545
  function Xp(e, t, n, o, a, r, {
1546
1546
  o: { nextSibling: s, parentNode: i, querySelector: d, insert: g, createText: v }
1547
1547
  }, _) {
1548
- function T(P, S) {
1548
+ function T(A, S) {
1549
1549
  let C = S;
1550
1550
  for (; C; ) {
1551
1551
  if (C && C.nodeType === 8) {
1552
1552
  if (C.data === "teleport start anchor")
1553
1553
  t.targetStart = C;
1554
1554
  else if (C.data === "teleport anchor") {
1555
- t.targetAnchor = C, P._lpa = t.targetAnchor && s(t.targetAnchor);
1555
+ t.targetAnchor = C, A._lpa = t.targetAnchor && s(t.targetAnchor);
1556
1556
  break;
1557
1557
  }
1558
1558
  }
1559
1559
  C = s(C);
1560
1560
  }
1561
1561
  }
1562
- function x(P, S) {
1562
+ function x(A, S) {
1563
1563
  S.anchor = _(
1564
- s(P),
1564
+ s(A),
1565
1565
  S,
1566
- i(P),
1566
+ i(A),
1567
1567
  n,
1568
1568
  o,
1569
1569
  a,
1570
1570
  r
1571
1571
  );
1572
1572
  }
1573
- const R = t.target = Pi(
1573
+ const R = t.target = Ai(
1574
1574
  t.props,
1575
1575
  d
1576
1576
  ), E = io(t.props);
1577
1577
  if (R) {
1578
- const P = R._lpa || R.firstChild;
1579
- t.shapeFlag & 16 && (E ? (x(e, t), T(R, P), t.targetAnchor || Ai(
1578
+ const A = R._lpa || R.firstChild;
1579
+ t.shapeFlag & 16 && (E ? (x(e, t), T(R, A), t.targetAnchor || Pi(
1580
1580
  R,
1581
1581
  t,
1582
1582
  v,
@@ -1584,8 +1584,8 @@ function Xp(e, t, n, o, a, r, {
1584
1584
  // if target is the same as the main view, insert anchors before current node
1585
1585
  // to avoid hydrating mismatch
1586
1586
  i(e) === R ? e : null
1587
- )) : (t.anchor = s(e), T(R, P), t.targetAnchor || Ai(R, t, v, g), _(
1588
- P && s(P),
1587
+ )) : (t.anchor = s(e), T(R, A), t.targetAnchor || Pi(R, t, v, g), _(
1588
+ A && s(A),
1589
1589
  t,
1590
1590
  R,
1591
1591
  n,
@@ -1606,7 +1606,7 @@ function ea(e, t) {
1606
1606
  n.ut();
1607
1607
  }
1608
1608
  }
1609
- function Ai(e, t, n, o, a = null) {
1609
+ function Pi(e, t, n, o, a = null) {
1610
1610
  const r = t.targetStart = n(""), s = t.targetAnchor = n("");
1611
1611
  return r[md] = s, e && (o(r, e, a), o(s, e, a)), s;
1612
1612
  }
@@ -1673,20 +1673,20 @@ const Jt = [Function, Array], bd = {
1673
1673
  // #11061, ensure enterHooks is fresh after clone
1674
1674
  (_) => g = _
1675
1675
  );
1676
- d.type !== Pt && pa(d, g);
1676
+ d.type !== At && pa(d, g);
1677
1677
  let v = n.subTree && _l(n.subTree);
1678
- if (v && v.type !== Pt && !so(v, d) && yd(n).type !== Pt) {
1678
+ if (v && v.type !== At && !so(v, d) && yd(n).type !== At) {
1679
1679
  let _ = Di(
1680
1680
  v,
1681
1681
  s,
1682
1682
  o,
1683
1683
  n
1684
1684
  );
1685
- if (pa(v, _), i === "out-in" && d.type !== Pt)
1685
+ if (pa(v, _), i === "out-in" && d.type !== At)
1686
1686
  return o.isLeaving = !0, _.afterLeave = () => {
1687
1687
  o.isLeaving = !1, n.job.flags & 8 || n.update(), delete _.afterLeave, v = void 0;
1688
1688
  }, di(r);
1689
- i === "in-out" && d.type !== Pt ? _.delayLeave = (T, x, R) => {
1689
+ i === "in-out" && d.type !== At ? _.delayLeave = (T, x, R) => {
1690
1690
  const E = xd(
1691
1691
  o,
1692
1692
  v
@@ -1706,7 +1706,7 @@ function _d(e) {
1706
1706
  let t = e[0];
1707
1707
  if (e.length > 1) {
1708
1708
  for (const n of e)
1709
- if (n.type !== Pt) {
1709
+ if (n.type !== At) {
1710
1710
  t = n;
1711
1711
  break;
1712
1712
  }
@@ -1732,7 +1732,7 @@ function Di(e, t, n, o, a) {
1732
1732
  onLeave: x,
1733
1733
  onAfterLeave: R,
1734
1734
  onLeaveCancelled: E,
1735
- onBeforeAppear: P,
1735
+ onBeforeAppear: A,
1736
1736
  onAppear: S,
1737
1737
  onAfterAppear: C,
1738
1738
  onAppearCancelled: O
@@ -1744,8 +1744,8 @@ function Di(e, t, n, o, a) {
1744
1744
  z
1745
1745
  );
1746
1746
  }, K = (k, z) => {
1747
- const A = z[1];
1748
- I(k, z), Oe(k) ? k.every((D) => D.length <= 1) && A() : k.length <= 1 && A();
1747
+ const P = z[1];
1748
+ I(k, z), Oe(k) ? k.every((D) => D.length <= 1) && P() : k.length <= 1 && P();
1749
1749
  }, V = {
1750
1750
  mode: s,
1751
1751
  persisted: i,
@@ -1753,33 +1753,33 @@ function Di(e, t, n, o, a) {
1753
1753
  let z = d;
1754
1754
  if (!n.isMounted)
1755
1755
  if (r)
1756
- z = P || d;
1756
+ z = A || d;
1757
1757
  else
1758
1758
  return;
1759
1759
  k[un] && k[un](
1760
1760
  !0
1761
1761
  /* cancelled */
1762
1762
  );
1763
- const A = M[y];
1764
- A && so(e, A) && A.el[un] && A.el[un](), I(z, [k]);
1763
+ const P = M[y];
1764
+ P && so(e, P) && P.el[un] && P.el[un](), I(z, [k]);
1765
1765
  },
1766
1766
  enter(k) {
1767
1767
  if (M[y] === e) return;
1768
- let z = g, A = v, D = _;
1768
+ let z = g, P = v, D = _;
1769
1769
  if (!n.isMounted)
1770
1770
  if (r)
1771
- z = S || g, A = C || v, D = O || _;
1771
+ z = S || g, P = C || v, D = O || _;
1772
1772
  else
1773
1773
  return;
1774
1774
  let Y = !1;
1775
1775
  k[Jo] = (pe) => {
1776
- Y || (Y = !0, pe ? I(D, [k]) : I(A, [k]), V.delayedLeave && V.delayedLeave(), k[Jo] = void 0);
1776
+ Y || (Y = !0, pe ? I(D, [k]) : I(P, [k]), V.delayedLeave && V.delayedLeave(), k[Jo] = void 0);
1777
1777
  };
1778
1778
  const X = k[Jo].bind(null, !1);
1779
1779
  z ? K(z, [k, X]) : X();
1780
1780
  },
1781
1781
  leave(k, z) {
1782
- const A = String(e.key);
1782
+ const P = String(e.key);
1783
1783
  if (k[Jo] && k[Jo](
1784
1784
  !0
1785
1785
  /* cancelled */
@@ -1788,10 +1788,10 @@ function Di(e, t, n, o, a) {
1788
1788
  I(T, [k]);
1789
1789
  let D = !1;
1790
1790
  k[un] = (X) => {
1791
- D || (D = !0, z(), X ? I(E, [k]) : I(R, [k]), k[un] = void 0, M[A] === e && delete M[A]);
1791
+ D || (D = !0, z(), X ? I(E, [k]) : I(R, [k]), k[un] = void 0, M[P] === e && delete M[P]);
1792
1792
  };
1793
1793
  const Y = k[un].bind(null, !1);
1794
- M[A] = e, x ? K(x, [k, Y]) : Y();
1794
+ M[P] = e, x ? K(x, [k, Y]) : Y();
1795
1795
  },
1796
1796
  clone(k) {
1797
1797
  const z = Di(
@@ -1833,7 +1833,7 @@ function kd(e, t = !1, n) {
1833
1833
  const i = n == null ? s.key : String(n) + String(s.key != null ? s.key : r);
1834
1834
  s.type === se ? (s.patchFlag & 128 && a++, o = o.concat(
1835
1835
  kd(s.children, t, i)
1836
- )) : (t || s.type !== Pt) && o.push(i != null ? qn(s, { key: i }) : s);
1836
+ )) : (t || s.type !== At) && o.push(i != null ? qn(s, { key: i }) : s);
1837
1837
  }
1838
1838
  if (a > 1)
1839
1839
  for (let r = 0; r < o.length; r++)
@@ -1859,9 +1859,9 @@ const nr = /* @__PURE__ */ new WeakMap();
1859
1859
  function ia(e, t, n, o, a = !1) {
1860
1860
  if (Oe(e)) {
1861
1861
  e.forEach(
1862
- (E, P) => ia(
1862
+ (E, A) => ia(
1863
1863
  E,
1864
- t && (Oe(t) ? t[P] : t),
1864
+ t && (Oe(t) ? t[A] : t),
1865
1865
  n,
1866
1866
  o,
1867
1867
  a
@@ -1869,11 +1869,11 @@ function ia(e, t, n, o, a = !1) {
1869
1869
  );
1870
1870
  return;
1871
1871
  }
1872
- if (Po(o) && !a) {
1872
+ if (Ao(o) && !a) {
1873
1873
  o.shapeFlag & 512 && o.type.__asyncResolved && o.component.subTree.component && ia(e, t, n, o.component.subTree);
1874
1874
  return;
1875
1875
  }
1876
- const r = o.shapeFlag & 4 ? zr(o.component) : o.el, s = a ? null : r, { i, r: d } = e, g = t && t.r, v = i.refs === ct ? i.refs = {} : i.refs, _ = i.setupState, T = /* @__PURE__ */ tt(_), x = _ === ct ? Bc : (E) => xl(v, E) ? !1 : nt(T, E), R = (E, P) => !(P && xl(v, P));
1876
+ const r = o.shapeFlag & 4 ? zr(o.component) : o.el, s = a ? null : r, { i, r: d } = e, g = t && t.r, v = i.refs === ct ? i.refs = {} : i.refs, _ = i.setupState, T = /* @__PURE__ */ tt(_), x = _ === ct ? Bc : (E) => xl(v, E) ? !1 : nt(T, E), R = (E, A) => !(A && xl(v, A));
1877
1877
  if (g != null && g !== d) {
1878
1878
  if (kl(t), ht(g))
1879
1879
  v[g] = null, x(g) && (_[g] = null);
@@ -1885,8 +1885,8 @@ function ia(e, t, n, o, a = !1) {
1885
1885
  if (je(d))
1886
1886
  xa(d, i, 12, [s, v]);
1887
1887
  else {
1888
- const E = ht(d), P = /* @__PURE__ */ Dt(d);
1889
- if (E || P) {
1888
+ const E = ht(d), A = /* @__PURE__ */ Dt(d);
1889
+ if (E || A) {
1890
1890
  const S = () => {
1891
1891
  if (e.f) {
1892
1892
  const C = E ? x(d) ? _[d] : v[d] : R() || !e.k ? d.value : v[e.k];
@@ -1900,7 +1900,7 @@ function ia(e, t, n, o, a = !1) {
1900
1900
  const O = [r];
1901
1901
  R(d, e.k) && (d.value = O), e.k && (v[e.k] = O);
1902
1902
  }
1903
- } else E ? (v[d] = s, x(d) && (_[d] = s)) : P && (R(d, e.k) && (d.value = s), e.k && (v[e.k] = s));
1903
+ } else E ? (v[d] = s, x(d) && (_[d] = s)) : A && (R(d, e.k) && (d.value = s), e.k && (v[e.k] = s));
1904
1904
  };
1905
1905
  if (s) {
1906
1906
  const C = () => {
@@ -1918,14 +1918,14 @@ function kl(e) {
1918
1918
  }
1919
1919
  _r().requestIdleCallback;
1920
1920
  _r().cancelIdleCallback;
1921
- const Po = (e) => !!e.type.__asyncLoader, Sr = (e) => e.type.__isKeepAlive;
1921
+ const Ao = (e) => !!e.type.__asyncLoader, Sr = (e) => e.type.__isKeepAlive;
1922
1922
  function th(e, t) {
1923
1923
  Sd(e, "a", t);
1924
1924
  }
1925
1925
  function nh(e, t) {
1926
1926
  Sd(e, "da", t);
1927
1927
  }
1928
- function Sd(e, t, n = At) {
1928
+ function Sd(e, t, n = Pt) {
1929
1929
  const o = e.__wdc || (e.__wdc = () => {
1930
1930
  let a = n;
1931
1931
  for (; a; ) {
@@ -1953,7 +1953,7 @@ function oh(e, t, n, o) {
1953
1953
  Yi(o[t], a);
1954
1954
  }, n);
1955
1955
  }
1956
- function $r(e, t, n = At, o = !1) {
1956
+ function $r(e, t, n = Pt, o = !1) {
1957
1957
  if (n) {
1958
1958
  const a = n[e] || (n[e] = []), r = t.__weh || (t.__weh = (...s) => {
1959
1959
  Mn();
@@ -1963,7 +1963,7 @@ function $r(e, t, n = At, o = !1) {
1963
1963
  return o ? a.unshift(r) : a.push(r), r;
1964
1964
  }
1965
1965
  }
1966
- const Ln = (e) => (t, n = At) => {
1966
+ const Ln = (e) => (t, n = Pt) => {
1967
1967
  (!va || e === "sp") && $r(e, (...o) => t(...o), n);
1968
1968
  }, ah = Ln("bm"), rt = Ln("m"), rh = Ln(
1969
1969
  "bu"
@@ -1972,7 +1972,7 @@ const Ln = (e) => (t, n = At) => {
1972
1972
  ), $d = Ln("um"), sh = Ln(
1973
1973
  "sp"
1974
1974
  ), lh = Ln("rtg"), ch = Ln("rtc");
1975
- function dh(e, t = At) {
1975
+ function dh(e, t = Pt) {
1976
1976
  $r("ec", e, t);
1977
1977
  }
1978
1978
  const Cd = "components";
@@ -1984,7 +1984,7 @@ function uh(e) {
1984
1984
  return ht(e) ? zd(Cd, e, !1) || e : e || Td;
1985
1985
  }
1986
1986
  function zd(e, t, n = !0, o = !1) {
1987
- const a = zt || At;
1987
+ const a = zt || Pt;
1988
1988
  if (a) {
1989
1989
  const r = a.type;
1990
1990
  {
@@ -2044,7 +2044,7 @@ function Te(e, t, n, o) {
2044
2044
  return a;
2045
2045
  }
2046
2046
  function Sl(e, t, n = {}, o, a) {
2047
- if (zt.ce || zt.parent && Po(zt.parent) && zt.parent.ce) {
2047
+ if (zt.ce || zt.parent && Ao(zt.parent) && zt.parent.ce) {
2048
2048
  const g = Object.keys(n).length > 0;
2049
2049
  return t !== "default" && (n.name = t), p(), Ge(
2050
2050
  se,
@@ -2069,7 +2069,7 @@ function Sl(e, t, n = {}, o, a) {
2069
2069
  return d.scopeId && (d.slotScopeIds = [d.scopeId + "-s"]), r && r._c && (r._d = !0), d;
2070
2070
  }
2071
2071
  function Ed(e) {
2072
- return e.some((t) => ma(t) ? !(t.type === Pt || t.type === se && !Ed(t.children)) : !0) ? e : null;
2072
+ return e.some((t) => ma(t) ? !(t.type === At || t.type === se && !Ed(t.children)) : !0) ? e : null;
2073
2073
  }
2074
2074
  const Mi = (e) => e ? Jd(e) ? zr(e) : Mi(e.parent) : null, sa = (
2075
2075
  // Move PURE marker to new line to workaround compiler discarding it
@@ -2086,7 +2086,7 @@ const Mi = (e) => e ? Jd(e) ? zr(e) : Mi(e.parent) : null, sa = (
2086
2086
  $root: (e) => Mi(e.root),
2087
2087
  $host: (e) => e.ce,
2088
2088
  $emit: (e) => e.emit,
2089
- $options: (e) => Ad(e),
2089
+ $options: (e) => Pd(e),
2090
2090
  $forceUpdate: (e) => e.f || (e.f = () => {
2091
2091
  os(e.update);
2092
2092
  }),
@@ -2162,7 +2162,7 @@ function $l(e) {
2162
2162
  }
2163
2163
  let Oi = !0;
2164
2164
  function ph(e) {
2165
- const t = Ad(e), n = e.proxy, o = e.ctx;
2165
+ const t = Pd(e), n = e.proxy, o = e.ctx;
2166
2166
  Oi = !1, t.beforeCreate && Cl(t.beforeCreate, e, "bc");
2167
2167
  const {
2168
2168
  // state
@@ -2179,7 +2179,7 @@ function ph(e) {
2179
2179
  beforeUpdate: x,
2180
2180
  updated: R,
2181
2181
  activated: E,
2182
- deactivated: P,
2182
+ deactivated: A,
2183
2183
  beforeDestroy: S,
2184
2184
  beforeUnmount: C,
2185
2185
  destroyed: O,
@@ -2191,7 +2191,7 @@ function ph(e) {
2191
2191
  serverPrefetch: k,
2192
2192
  // public API
2193
2193
  expose: z,
2194
- inheritAttrs: A,
2194
+ inheritAttrs: P,
2195
2195
  // assets
2196
2196
  components: D,
2197
2197
  directives: Y,
@@ -2221,7 +2221,7 @@ function ph(e) {
2221
2221
  }
2222
2222
  if (i)
2223
2223
  for (const he in i)
2224
- Pd(i[he], o, n, he);
2224
+ Ad(i[he], o, n, he);
2225
2225
  if (d) {
2226
2226
  const he = je(d) ? d.call(n) : d;
2227
2227
  Reflect.ownKeys(he).forEach((ue) => {
@@ -2232,7 +2232,7 @@ function ph(e) {
2232
2232
  function ee(he, ue) {
2233
2233
  Oe(ue) ? ue.forEach((N) => he(N.bind(n))) : ue && he(ue.bind(n));
2234
2234
  }
2235
- if (ee(ah, _), ee(rt, T), ee(rh, x), ee(ih, R), ee(th, E), ee(nh, P), ee(dh, V), ee(ch, I), ee(lh, K), ee(dt, C), ee($d, y), ee(sh, k), Oe(z))
2235
+ if (ee(ah, _), ee(rt, T), ee(rh, x), ee(ih, R), ee(th, E), ee(nh, A), ee(dh, V), ee(ch, I), ee(lh, K), ee(dt, C), ee($d, y), ee(sh, k), Oe(z))
2236
2236
  if (z.length) {
2237
2237
  const he = e.exposed || (e.exposed = {});
2238
2238
  z.forEach((ue) => {
@@ -2243,7 +2243,7 @@ function ph(e) {
2243
2243
  });
2244
2244
  });
2245
2245
  } else e.exposed || (e.exposed = {});
2246
- M && e.render === mn && (e.render = M), A != null && (e.inheritAttrs = A), D && (e.components = D), Y && (e.directives = Y), k && wd(e);
2246
+ M && e.render === mn && (e.render = M), P != null && (e.inheritAttrs = P), D && (e.components = D), Y && (e.directives = Y), k && wd(e);
2247
2247
  }
2248
2248
  function hh(e, t, n = mn) {
2249
2249
  Oe(e) && (e = Ii(e));
@@ -2269,7 +2269,7 @@ function Cl(e, t, n) {
2269
2269
  n
2270
2270
  );
2271
2271
  }
2272
- function Pd(e, t, n, o) {
2272
+ function Ad(e, t, n, o) {
2273
2273
  let a = o.includes(".") ? hd(n, o) : () => n[o];
2274
2274
  if (ht(e)) {
2275
2275
  const r = t[e];
@@ -2278,13 +2278,13 @@ function Pd(e, t, n, o) {
2278
2278
  Ue(a, e.bind(n));
2279
2279
  else if (at(e))
2280
2280
  if (Oe(e))
2281
- e.forEach((r) => Pd(r, t, n, o));
2281
+ e.forEach((r) => Ad(r, t, n, o));
2282
2282
  else {
2283
2283
  const r = je(e.handler) ? e.handler.bind(n) : t[e.handler];
2284
2284
  je(r) && Ue(a, r, e);
2285
2285
  }
2286
2286
  }
2287
- function Ad(e) {
2287
+ function Pd(e) {
2288
2288
  const t = e.type, { mixins: n, extends: o } = t, {
2289
2289
  mixins: a,
2290
2290
  optionsCache: r,
@@ -2451,19 +2451,19 @@ function yh(e, t) {
2451
2451
  return r.provides[v] = _, g;
2452
2452
  },
2453
2453
  runWithContext(v) {
2454
- const _ = Ao;
2455
- Ao = g;
2454
+ const _ = Po;
2455
+ Po = g;
2456
2456
  try {
2457
2457
  return v();
2458
2458
  } finally {
2459
- Ao = _;
2459
+ Po = _;
2460
2460
  }
2461
2461
  }
2462
2462
  };
2463
2463
  return g;
2464
2464
  };
2465
2465
  }
2466
- let Ao = null;
2466
+ let Po = null;
2467
2467
  const _h = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${Ct(t)}Modifiers`] || e[`${Ut(t)}Modifiers`];
2468
2468
  function xh(e, t, ...n) {
2469
2469
  if (e.isUnmounted) return;
@@ -2529,7 +2529,7 @@ function El(e) {
2529
2529
  setupState: x,
2530
2530
  ctx: R,
2531
2531
  inheritAttrs: E
2532
- } = e, P = tr(e);
2532
+ } = e, A = tr(e);
2533
2533
  let S, C;
2534
2534
  try {
2535
2535
  if (n.shapeFlag & 4) {
@@ -2558,7 +2558,7 @@ function El(e) {
2558
2558
  ), C = t.props ? i : wh(i);
2559
2559
  }
2560
2560
  } catch (y) {
2561
- la.length = 0, wr(y, e, 1), S = Re(Pt);
2561
+ la.length = 0, wr(y, e, 1), S = Re(At);
2562
2562
  }
2563
2563
  let O = S;
2564
2564
  if (C && E !== !1) {
@@ -2568,7 +2568,7 @@ function El(e) {
2568
2568
  r
2569
2569
  )), O = qn(O, C, !1, !0));
2570
2570
  }
2571
- return n.dirs && (O = qn(O, null, !1, !0), O.dirs = O.dirs ? O.dirs.concat(n.dirs) : n.dirs), n.transition && pa(O, n.transition), S = O, tr(P), S;
2571
+ return n.dirs && (O = qn(O, null, !1, !0), O.dirs = O.dirs ? O.dirs.concat(n.dirs) : n.dirs), n.transition && pa(O, n.transition), S = O, tr(A), S;
2572
2572
  }
2573
2573
  const wh = (e) => {
2574
2574
  let t;
@@ -2589,7 +2589,7 @@ function $h(e, t, n) {
2589
2589
  if (d & 1024)
2590
2590
  return !0;
2591
2591
  if (d & 16)
2592
- return o ? Pl(o, s, g) : !!s;
2592
+ return o ? Al(o, s, g) : !!s;
2593
2593
  if (d & 8) {
2594
2594
  const v = t.dynamicProps;
2595
2595
  for (let _ = 0; _ < v.length; _++) {
@@ -2599,10 +2599,10 @@ function $h(e, t, n) {
2599
2599
  }
2600
2600
  }
2601
2601
  } else
2602
- return (a || i) && (!i || !i.$stable) ? !0 : o === s ? !1 : o ? s ? Pl(o, s, g) : !0 : !!s;
2602
+ return (a || i) && (!i || !i.$stable) ? !0 : o === s ? !1 : o ? s ? Al(o, s, g) : !0 : !!s;
2603
2603
  return !1;
2604
2604
  }
2605
- function Pl(e, t, n) {
2605
+ function Al(e, t, n) {
2606
2606
  const o = Object.keys(t);
2607
2607
  if (o.length !== Object.keys(e).length)
2608
2608
  return !0;
@@ -2774,21 +2774,21 @@ function Nd(e, t, n = !1) {
2774
2774
  if (Oe(r))
2775
2775
  for (let v = 0; v < r.length; v++) {
2776
2776
  const _ = Ct(r[v]);
2777
- Al(_) && (s[_] = ct);
2777
+ Pl(_) && (s[_] = ct);
2778
2778
  }
2779
2779
  else if (r)
2780
2780
  for (const v in r) {
2781
2781
  const _ = Ct(v);
2782
- if (Al(_)) {
2782
+ if (Pl(_)) {
2783
2783
  const T = r[v], x = s[_] = Oe(T) || je(T) ? { type: T } : vt({}, T), R = x.type;
2784
- let E = !1, P = !0;
2784
+ let E = !1, A = !0;
2785
2785
  if (Oe(R))
2786
2786
  for (let S = 0; S < R.length; ++S) {
2787
2787
  const C = R[S], O = je(C) && C.name;
2788
2788
  if (O === "Boolean") {
2789
2789
  E = !0;
2790
2790
  break;
2791
- } else O === "String" && (P = !1);
2791
+ } else O === "String" && (A = !1);
2792
2792
  }
2793
2793
  else
2794
2794
  E = je(R) && R.name === "Boolean";
@@ -2798,16 +2798,16 @@ function Nd(e, t, n = !1) {
2798
2798
  ] = E, x[
2799
2799
  1
2800
2800
  /* shouldCastTrue */
2801
- ] = P, (E || nt(x, "default")) && i.push(_);
2801
+ ] = A, (E || nt(x, "default")) && i.push(_);
2802
2802
  }
2803
2803
  }
2804
2804
  const g = [s, i];
2805
2805
  return at(e) && o.set(e, g), g;
2806
2806
  }
2807
- function Al(e) {
2807
+ function Pl(e) {
2808
2808
  return e[0] !== "$" && !oa(e);
2809
2809
  }
2810
- const as = (e) => e === "_" || e === "_ctx" || e === "$stable", rs = (e) => Oe(e) ? e.map(pn) : [pn(e)], Ph = (e, t, n) => {
2810
+ const as = (e) => e === "_" || e === "_ctx" || e === "$stable", rs = (e) => Oe(e) ? e.map(pn) : [pn(e)], Ah = (e, t, n) => {
2811
2811
  if (t._n)
2812
2812
  return t;
2813
2813
  const o = lt((...a) => rs(t(...a)), n);
@@ -2818,7 +2818,7 @@ const as = (e) => e === "_" || e === "_ctx" || e === "$stable", rs = (e) => Oe(e
2818
2818
  if (as(a)) continue;
2819
2819
  const r = e[a];
2820
2820
  if (je(r))
2821
- t[a] = Ph(a, r, o);
2821
+ t[a] = Ah(a, r, o);
2822
2822
  else if (r != null) {
2823
2823
  const s = rs(r);
2824
2824
  t[a] = () => s;
@@ -2830,7 +2830,7 @@ const as = (e) => e === "_" || e === "_ctx" || e === "$stable", rs = (e) => Oe(e
2830
2830
  }, Hd = (e, t, n) => {
2831
2831
  for (const o in t)
2832
2832
  (n || !as(o)) && (e[o] = t[o]);
2833
- }, Ah = (e, t, n) => {
2833
+ }, Ph = (e, t, n) => {
2834
2834
  const o = e.slots = Ld();
2835
2835
  if (e.vnode.shapeFlag & 32) {
2836
2836
  const a = t._;
@@ -2873,9 +2873,9 @@ function Oh(e, t) {
2873
2873
  const { type: H, ref: ne, shapeFlag: fe } = W;
2874
2874
  switch (H) {
2875
2875
  case Tr:
2876
- P(L, W, Q, le);
2876
+ A(L, W, Q, le);
2877
2877
  break;
2878
- case Pt:
2878
+ case At:
2879
2879
  S(L, W, Q, le);
2880
2880
  break;
2881
2881
  case Ya:
@@ -2929,7 +2929,7 @@ function Oh(e, t) {
2929
2929
  );
2930
2930
  }
2931
2931
  ne != null && ge ? ia(ne, L && L.ref, me, W || L, !W) : ne == null && L && L.ref != null && ia(L.ref, null, me, L, !0);
2932
- }, P = (L, W, Q, le) => {
2932
+ }, A = (L, W, Q, le) => {
2933
2933
  if (L == null)
2934
2934
  o(
2935
2935
  W.el = i(W.children),
@@ -3081,7 +3081,7 @@ function Oh(e, t) {
3081
3081
  !1
3082
3082
  ), G > 0) {
3083
3083
  if (G & 16)
3084
- A(ke, fe, ae, Q, ge);
3084
+ P(ke, fe, ae, Q, ge);
3085
3085
  else if (G & 2 && fe.class !== ae.class && r(ke, "class", null, ae.class, ge), G & 4 && r(ke, "style", fe.style, ae.style, ge), G & 8) {
3086
3086
  const ve = W.dynamicProps;
3087
3087
  for (let ze = 0; ze < ve.length; ze++) {
@@ -3090,7 +3090,7 @@ function Oh(e, t) {
3090
3090
  }
3091
3091
  }
3092
3092
  G & 1 && L.children !== W.children && v(ke, W.children);
3093
- } else !_e && H == null && A(ke, fe, ae, Q, ge);
3093
+ } else !_e && H == null && P(ke, fe, ae, Q, ge);
3094
3094
  ((re = ae.onVnodeUpdated) || ne) && It(() => {
3095
3095
  re && cn(re, Q, W, L), ne && to(W, L, Q, "updated");
3096
3096
  }, le);
@@ -3122,7 +3122,7 @@ function Oh(e, t) {
3122
3122
  !0
3123
3123
  );
3124
3124
  }
3125
- }, A = (L, W, Q, le, ge) => {
3125
+ }, P = (L, W, Q, le, ge) => {
3126
3126
  if (W !== Q) {
3127
3127
  if (W !== ct)
3128
3128
  for (const me in W)
@@ -3211,7 +3211,7 @@ function Oh(e, t) {
3211
3211
  );
3212
3212
  if (Sr(L) && (ke.ctx.renderer = we), Uh(ke, !1, _e), ke.asyncDep) {
3213
3213
  if (ge && ge.registerDep(ke, ee, _e), !L.el) {
3214
- const G = ke.subTree = Re(Pt);
3214
+ const G = ke.subTree = Re(At);
3215
3215
  S(null, G, W, Q), L.placeholder = G.el;
3216
3216
  }
3217
3217
  } else
@@ -3268,7 +3268,7 @@ function Oh(e, t) {
3268
3268
  );
3269
3269
  } else {
3270
3270
  let fe;
3271
- const { el: ae, props: re } = W, { bm: ve, m: ze, parent: Ie, root: Be, type: et } = L, ut = Po(W);
3271
+ const { el: ae, props: re } = W, { bm: ve, m: ze, parent: Ie, root: Be, type: et } = L, ut = Ao(W);
3272
3272
  no(L, !1), ve && Va(ve), !ut && (fe = re && re.onVnodeBeforeMount) && cn(fe, Ie, W), no(L, !0);
3273
3273
  {
3274
3274
  Be.ce && Be.ce._hasShadowRoot() && Be.ce._injectChildStyle(
@@ -3293,7 +3293,7 @@ function Oh(e, t) {
3293
3293
  ge
3294
3294
  );
3295
3295
  }
3296
- (W.shapeFlag & 256 || Ie && Po(Ie.vnode) && Ie.vnode.shapeFlag & 256) && L.a && It(L.a, ge), L.isMounted = !0, W = Q = le = null;
3296
+ (W.shapeFlag & 256 || Ie && Ao(Ie.vnode) && Ie.vnode.shapeFlag & 256) && L.a && It(L.a, ge), L.isMounted = !0, W = Q = le = null;
3297
3297
  }
3298
3298
  };
3299
3299
  L.scope.on();
@@ -3454,8 +3454,8 @@ function Oh(e, t) {
3454
3454
  else {
3455
3455
  const re = H, ve = H, ze = /* @__PURE__ */ new Map();
3456
3456
  for (H = ve; H <= ae; H++) {
3457
- const Pe = W[H] = G ? Cn(W[H]) : pn(W[H]);
3458
- Pe.key != null && ze.set(Pe.key, H);
3457
+ const Ae = W[H] = G ? Cn(W[H]) : pn(W[H]);
3458
+ Ae.key != null && ze.set(Ae.key, H);
3459
3459
  }
3460
3460
  let Ie, Be = 0;
3461
3461
  const et = ae - ve + 1;
@@ -3463,22 +3463,22 @@ function Oh(e, t) {
3463
3463
  const de = new Array(et);
3464
3464
  for (H = 0; H < et; H++) de[H] = 0;
3465
3465
  for (H = re; H <= fe; H++) {
3466
- const Pe = L[H];
3466
+ const Ae = L[H];
3467
3467
  if (Be >= et) {
3468
- $(Pe, ge, me, !0);
3468
+ $(Ae, ge, me, !0);
3469
3469
  continue;
3470
3470
  }
3471
3471
  let Fe;
3472
- if (Pe.key != null)
3473
- Fe = ze.get(Pe.key);
3472
+ if (Ae.key != null)
3473
+ Fe = ze.get(Ae.key);
3474
3474
  else
3475
3475
  for (Ie = ve; Ie <= ae; Ie++)
3476
- if (de[Ie - ve] === 0 && so(Pe, W[Ie])) {
3476
+ if (de[Ie - ve] === 0 && so(Ae, W[Ie])) {
3477
3477
  Fe = Ie;
3478
3478
  break;
3479
3479
  }
3480
- Fe === void 0 ? $(Pe, ge, me, !0) : (de[Fe - ve] = H + 1, Fe >= ye ? ye = Fe : ut = !0, E(
3481
- Pe,
3480
+ Fe === void 0 ? $(Ae, ge, me, !0) : (de[Fe - ve] = H + 1, Fe >= ye ? ye = Fe : ut = !0, E(
3481
+ Ae,
3482
3482
  W[Fe],
3483
3483
  Q,
3484
3484
  null,
@@ -3491,7 +3491,7 @@ function Oh(e, t) {
3491
3491
  }
3492
3492
  const Se = ut ? Lh(de) : To;
3493
3493
  for (Ie = Se.length - 1, H = et - 1; H >= 0; H--) {
3494
- const Pe = ve + H, Fe = W[Pe], Qe = W[Pe + 1], ft = Pe + 1 < ne ? (
3494
+ const Ae = ve + H, Fe = W[Ae], Qe = W[Ae + 1], ft = Ae + 1 < ne ? (
3495
3495
  // #13559, #14173 fallback to el placeholder for unresolved async component
3496
3496
  Qe.el || Ud(Qe)
3497
3497
  ) : le;
@@ -3568,7 +3568,7 @@ function Oh(e, t) {
3568
3568
  W.ctx.deactivate(L);
3569
3569
  return;
3570
3570
  }
3571
- const ze = ne & 1 && ae, Ie = !Po(L);
3571
+ const ze = ne & 1 && ae, Ie = !Ao(L);
3572
3572
  let Be;
3573
3573
  if (Ie && (Be = _e && _e.onVnodeBeforeUnmount) && cn(Be, W, L), ne & 6)
3574
3574
  De(L.component, Q, le);
@@ -3685,7 +3685,7 @@ function is(e, t, n = !1) {
3685
3685
  for (let r = 0; r < o.length; r++) {
3686
3686
  const s = o[r];
3687
3687
  let i = a[r];
3688
- i.shapeFlag & 1 && !i.dynamicChildren && ((i.patchFlag <= 0 || i.patchFlag === 32) && (i = a[r] = Cn(a[r]), i.el = s.el), !n && i.patchFlag !== -2 && is(s, i)), i.type === Tr && (i.patchFlag === -1 && (i = a[r] = Cn(i)), i.el = s.el), i.type === Pt && !i.el && (i.el = s.el);
3688
+ i.shapeFlag & 1 && !i.dynamicChildren && ((i.patchFlag <= 0 || i.patchFlag === 32) && (i = a[r] = Cn(a[r]), i.el = s.el), !n && i.patchFlag !== -2 && is(s, i)), i.type === Tr && (i.patchFlag === -1 && (i = a[r] = Cn(i)), i.el = s.el), i.type === At && !i.el && (i.el = s.el);
3689
3689
  }
3690
3690
  }
3691
3691
  function Lh(e) {
@@ -3728,7 +3728,7 @@ const Vd = (e) => e.__isSuspense;
3728
3728
  function Fh(e, t) {
3729
3729
  t && t.pendingBranch ? Oe(e) ? t.effects.push(...e) : t.effects.push(e) : Up(e);
3730
3730
  }
3731
- const se = /* @__PURE__ */ Symbol.for("v-fgt"), Tr = /* @__PURE__ */ Symbol.for("v-txt"), Pt = /* @__PURE__ */ Symbol.for("v-cmt"), Ya = /* @__PURE__ */ Symbol.for("v-stc"), la = [];
3731
+ const se = /* @__PURE__ */ Symbol.for("v-fgt"), Tr = /* @__PURE__ */ Symbol.for("v-txt"), At = /* @__PURE__ */ Symbol.for("v-cmt"), Ya = /* @__PURE__ */ Symbol.for("v-stc"), la = [];
3732
3732
  let Vt = null;
3733
3733
  function p(e = !1) {
3734
3734
  la.push(Vt = e ? null : []);
@@ -3821,7 +3821,7 @@ function l(e, t = null, n = null, o = 0, a = null, r = e === se ? 0 : 1, s = !1,
3821
3821
  }
3822
3822
  const Re = Nh;
3823
3823
  function Nh(e, t = null, n = null, o = 0, a = null, r = !1) {
3824
- if ((!e || e === Td) && (e = Pt), ma(e)) {
3824
+ if ((!e || e === Td) && (e = At), ma(e)) {
3825
3825
  const i = qn(
3826
3826
  e,
3827
3827
  t,
@@ -3908,10 +3908,10 @@ function pi(e, t) {
3908
3908
  return n.staticCount = t, n;
3909
3909
  }
3910
3910
  function j(e = "", t = !1) {
3911
- return t ? (p(), Ge(Pt, null, e)) : Re(Pt, null, e);
3911
+ return t ? (p(), Ge(At, null, e)) : Re(At, null, e);
3912
3912
  }
3913
3913
  function pn(e) {
3914
- return e == null || typeof e == "boolean" ? Re(Pt) : Oe(e) ? Re(
3914
+ return e == null || typeof e == "boolean" ? Re(At) : Oe(e) ? Re(
3915
3915
  se,
3916
3916
  null,
3917
3917
  // #3666, avoid reference pollution when reusing vnode
@@ -4046,8 +4046,8 @@ function jh(e, t, n) {
4046
4046
  };
4047
4047
  return r.ctx = { _: r }, r.root = t ? t.root : r, r.emit = xh.bind(null, r), e.ce && e.ce(r), r;
4048
4048
  }
4049
- let At = null;
4050
- const qd = () => At || zt;
4049
+ let Pt = null;
4050
+ const qd = () => Pt || zt;
4051
4051
  let rr, Fi;
4052
4052
  {
4053
4053
  const e = _r(), t = (n, o) => {
@@ -4058,19 +4058,19 @@ let rr, Fi;
4058
4058
  };
4059
4059
  rr = t(
4060
4060
  "__VUE_INSTANCE_SETTERS__",
4061
- (n) => At = n
4061
+ (n) => Pt = n
4062
4062
  ), Fi = t(
4063
4063
  "__VUE_SSR_SETTERS__",
4064
4064
  (n) => va = n
4065
4065
  );
4066
4066
  }
4067
4067
  const ka = (e) => {
4068
- const t = At;
4068
+ const t = Pt;
4069
4069
  return rr(e), e.scope.on(), () => {
4070
4070
  e.scope.off(), rr(t);
4071
4071
  };
4072
4072
  }, Ml = () => {
4073
- At && At.scope.off(), rr(null);
4073
+ Pt && Pt.scope.off(), rr(null);
4074
4074
  };
4075
4075
  function Jd(e) {
4076
4076
  return e.vnode.shapeFlag & 4;
@@ -4079,7 +4079,7 @@ let va = !1;
4079
4079
  function Uh(e, t = !1, n = !1) {
4080
4080
  t && Fi(t);
4081
4081
  const { props: o, children: a } = e.vnode, r = Jd(e);
4082
- Th(e, o, r, t), Ah(e, a, n || t);
4082
+ Th(e, o, r, t), Ph(e, a, n || t);
4083
4083
  const s = r ? Vh(e, t) : void 0;
4084
4084
  return t && Fi(!1), s;
4085
4085
  }
@@ -4098,7 +4098,7 @@ function Vh(e, t) {
4098
4098
  a
4099
4099
  ]
4100
4100
  ), i = Nc(s);
4101
- if (On(), r(), (i || e.sp) && !Po(e) && wd(e), i) {
4101
+ if (On(), r(), (i || e.sp) && !Ao(e) && wd(e), i) {
4102
4102
  if (s.then(Ml, Ml), t)
4103
4103
  return s.then((d) => {
4104
4104
  Ol(e, d);
@@ -4263,7 +4263,7 @@ const Zd = Bi ? (e) => Bi.createHTML(e) : (e) => e, Xh = "http://www.w3.org/2000
4263
4263
  {},
4264
4264
  bd,
4265
4265
  Qd
4266
- ), tm = (e) => (e.displayName = "Transition", e.props = em, e), Pn = /* @__PURE__ */ tm(
4266
+ ), tm = (e) => (e.displayName = "Transition", e.props = em, e), An = /* @__PURE__ */ tm(
4267
4267
  (e, { slots: t }) => ls(eh, nm(e), t)
4268
4268
  ), oo = (e, t = []) => {
4269
4269
  Oe(e) ? e.forEach((n) => n(...t)) : e && e(...t);
@@ -4287,7 +4287,7 @@ function nm(e) {
4287
4287
  leaveFromClass: _ = `${n}-leave-from`,
4288
4288
  leaveActiveClass: T = `${n}-leave-active`,
4289
4289
  leaveToClass: x = `${n}-leave-to`
4290
- } = e, R = om(a), E = R && R[0], P = R && R[1], {
4290
+ } = e, R = om(a), E = R && R[0], A = R && R[1], {
4291
4291
  onBeforeEnter: S,
4292
4292
  onEnter: C,
4293
4293
  onEnterCancelled: O,
@@ -4300,7 +4300,7 @@ function nm(e) {
4300
4300
  D._enterCancelled = pe, ao(D, Y ? v : i), ao(D, Y ? g : s), X && X();
4301
4301
  }, z = (D, Y) => {
4302
4302
  D._isLeaving = !1, ao(D, _), ao(D, x), ao(D, T), Y && Y();
4303
- }, A = (D) => (Y, X) => {
4303
+ }, P = (D) => (Y, X) => {
4304
4304
  const pe = D ? K : C, ee = () => k(Y, D, X);
4305
4305
  oo(pe, [Y, ee]), Bl(() => {
4306
4306
  ao(Y, D ? d : r), Sn(Y, D ? v : i), Fl(pe) || Nl(Y, o, E, ee);
@@ -4313,13 +4313,13 @@ function nm(e) {
4313
4313
  onBeforeAppear(D) {
4314
4314
  oo(I, [D]), Sn(D, d), Sn(D, g);
4315
4315
  },
4316
- onEnter: A(!1),
4317
- onAppear: A(!0),
4316
+ onEnter: P(!1),
4317
+ onAppear: P(!0),
4318
4318
  onLeave(D, Y) {
4319
4319
  D._isLeaving = !0;
4320
4320
  const X = () => z(D, Y);
4321
4321
  Sn(D, _), D._enterCancelled ? (Sn(D, T), Hl(D)) : (Hl(D), Sn(D, T)), Bl(() => {
4322
- D._isLeaving && (ao(D, _), Sn(D, x), Fl(y) || Nl(D, o, P, X));
4322
+ D._isLeaving && (ao(D, _), Sn(D, x), Fl(y) || Nl(D, o, A, X));
4323
4323
  }), oo(y, [D, X]);
4324
4324
  },
4325
4325
  onEnterCancelled(D) {
@@ -4884,16 +4884,16 @@ function Zl(e) {
4884
4884
  const t = e.target;
4885
4885
  t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
4886
4886
  }
4887
- const An = /* @__PURE__ */ Symbol("_assign");
4887
+ const Pn = /* @__PURE__ */ Symbol("_assign");
4888
4888
  function Ql(e, t, n) {
4889
4889
  return t && (e = e.trim()), n && (e = yr(e)), e;
4890
4890
  }
4891
4891
  const it = {
4892
4892
  created(e, { modifiers: { lazy: t, trim: n, number: o } }, a) {
4893
- e[An] = Oo(a);
4893
+ e[Pn] = Oo(a);
4894
4894
  const r = o || a.props && a.props.type === "number";
4895
4895
  Yn(e, t ? "change" : "input", (s) => {
4896
- s.target.composing || e[An](Ql(e.value, n, r));
4896
+ s.target.composing || e[Pn](Ql(e.value, n, r));
4897
4897
  }), (n || r) && Yn(e, "change", () => {
4898
4898
  e.value = Ql(e.value, n, r);
4899
4899
  }), t || (Yn(e, "compositionstart", wm), Yn(e, "compositionend", Zl), Yn(e, "change", Zl));
@@ -4903,7 +4903,7 @@ const it = {
4903
4903
  e.value = t ?? "";
4904
4904
  },
4905
4905
  beforeUpdate(e, { value: t, oldValue: n, modifiers: { lazy: o, trim: a, number: r } }, s) {
4906
- if (e[An] = Oo(s), e.composing) return;
4906
+ if (e[Pn] = Oo(s), e.composing) return;
4907
4907
  const i = (r || e.type === "number") && !/^0\d/.test(e.value) ? yr(e.value) : e.value, d = t ?? "";
4908
4908
  if (i === d)
4909
4909
  return;
@@ -4914,8 +4914,8 @@ const it = {
4914
4914
  // #4096 array checkboxes need to be deep traversed
4915
4915
  deep: !0,
4916
4916
  created(e, t, n) {
4917
- e[An] = Oo(n), Yn(e, "change", () => {
4918
- const o = e._modelValue, a = ba(e), r = e.checked, s = e[An];
4917
+ e[Pn] = Oo(n), Yn(e, "change", () => {
4918
+ const o = e._modelValue, a = ba(e), r = e.checked, s = e[Pn];
4919
4919
  if (Oe(o)) {
4920
4920
  const i = qi(o, a), d = i !== -1;
4921
4921
  if (r && !d)
@@ -4934,7 +4934,7 @@ const it = {
4934
4934
  // set initial checked on mount to wait for true-value/false-value
4935
4935
  mounted: ec,
4936
4936
  beforeUpdate(e, t, n) {
4937
- e[An] = Oo(n), ec(e, t, n);
4937
+ e[Pn] = Oo(n), ec(e, t, n);
4938
4938
  }
4939
4939
  };
4940
4940
  function ec(e, { value: t, oldValue: n }, o) {
@@ -4959,12 +4959,12 @@ const En = {
4959
4959
  const r = Array.prototype.filter.call(e.options, (s) => s.selected).map(
4960
4960
  (s) => n ? yr(ba(s)) : ba(s)
4961
4961
  );
4962
- e[An](
4962
+ e[Pn](
4963
4963
  e.multiple ? a ? new Set(r) : r : r[0]
4964
4964
  ), e._assigning = !0, wt(() => {
4965
4965
  e._assigning = !1;
4966
4966
  });
4967
- }), e[An] = Oo(o);
4967
+ }), e[Pn] = Oo(o);
4968
4968
  },
4969
4969
  // set value in mounted & updated because <select> relies on its children
4970
4970
  // <option>s.
@@ -4972,7 +4972,7 @@ const En = {
4972
4972
  tc(e, t);
4973
4973
  },
4974
4974
  beforeUpdate(e, t, n) {
4975
- e[An] = Oo(n);
4975
+ e[Pn] = Oo(n);
4976
4976
  },
4977
4977
  updated(e, { value: t }) {
4978
4978
  e._assigning || tc(e, t);
@@ -5055,7 +5055,7 @@ const zm = (...e) => {
5055
5055
  }, oc = (...e) => {
5056
5056
  const t = ou().createApp(...e), { mount: n } = t;
5057
5057
  return t.mount = (o) => {
5058
- const a = Pm(o);
5058
+ const a = Am(o);
5059
5059
  if (!a) return;
5060
5060
  const r = t._component;
5061
5061
  !je(r) && !r.render && !r.template && (r.template = a.innerHTML), a.nodeType === 1 && (a.textContent = "");
@@ -5069,13 +5069,13 @@ function Em(e) {
5069
5069
  if (typeof MathMLElement == "function" && e instanceof MathMLElement)
5070
5070
  return "mathml";
5071
5071
  }
5072
- function Pm(e) {
5072
+ function Am(e) {
5073
5073
  return ht(e) ? document.querySelector(e) : e;
5074
5074
  }
5075
5075
  function ac(e) {
5076
5076
  return !!e && e.enabled && e.state === "ok";
5077
5077
  }
5078
- function Am(e) {
5078
+ function Pm(e) {
5079
5079
  const t = e.apiBase != null ? e.apiBase.replace(/\/+$/, "") : null;
5080
5080
  function n(a, r) {
5081
5081
  return a || (t === null ? null : `${t}${r}`);
@@ -5125,7 +5125,7 @@ function Mm(e) {
5125
5125
  return e ? "kind" in e ? e : e.type === "bearer" ? { kind: "bearer", token: e.token } : e.type === "csrf" ? { kind: "csrf", csrf: e.csrf } : { kind: "none" } : { kind: "none" };
5126
5126
  }
5127
5127
  function Fo(e) {
5128
- const t = Am(e), n = Mm(e.auth);
5128
+ const t = Pm(e), n = Mm(e.auth);
5129
5129
  let o = null;
5130
5130
  async function a(G = {}) {
5131
5131
  const H = { Accept: "application/json", ...G };
@@ -5212,7 +5212,7 @@ function Fo(e) {
5212
5212
  async function E(G) {
5213
5213
  return d(g("/" + G), { method: "DELETE" });
5214
5214
  }
5215
- async function P(G) {
5215
+ async function A(G) {
5216
5216
  return d(g("/invite"), { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(G) });
5217
5217
  }
5218
5218
  async function S(G) {
@@ -5262,7 +5262,7 @@ function Fo(e) {
5262
5262
  body: JSON.stringify({ path: G, item: ne, items: H.map((fe) => ({ path: fe })) })
5263
5263
  });
5264
5264
  }
5265
- async function A(G, H) {
5265
+ async function P(G, H) {
5266
5266
  return d(O("delete"), {
5267
5267
  method: "POST",
5268
5268
  headers: { "Content-Type": "application/json" },
@@ -5516,7 +5516,7 @@ function Fo(e) {
5516
5516
  copy: D,
5517
5517
  moveAsync: Y,
5518
5518
  deleteAsync: X,
5519
- deleteItems: A,
5519
+ deleteItems: P,
5520
5520
  restore: pe,
5521
5521
  listTrash: ee,
5522
5522
  restoreIds: he,
@@ -5549,7 +5549,7 @@ function Fo(e) {
5549
5549
  addPermission: x,
5550
5550
  updatePermission: R,
5551
5551
  deletePermission: E,
5552
- invitePermission: P,
5552
+ invitePermission: A,
5553
5553
  shareMail: S,
5554
5554
  // Internals (exposed for useUploadChunked + PreviewModal)
5555
5555
  endpoints: t,
@@ -5662,9 +5662,9 @@ function Nm(e, t, n = Im()) {
5662
5662
  cancel: () => {
5663
5663
  }
5664
5664
  };
5665
- let P = !1, S = null;
5665
+ let A = !1, S = null;
5666
5666
  E.cancel = () => {
5667
- P = !0, S == null || S.abort();
5667
+ A = !0, S == null || S.abort();
5668
5668
  };
5669
5669
  let C = 0;
5670
5670
  function O(V = 0) {
@@ -5676,11 +5676,11 @@ function Nm(e, t, n = Im()) {
5676
5676
  throw sc(new Error("staged upload endpoint not configured"));
5677
5677
  const V = a();
5678
5678
  let k = "", z = x.chunkSize ?? o;
5679
- const A = rc(n, R);
5680
- if (A)
5679
+ const P = rc(n, R);
5680
+ if (P)
5681
5681
  try {
5682
- const X = await _(A.uploadId);
5683
- Fm(X.state) && (X.total_size ?? 0) === x.file.size ? (k = A.uploadId, z = X.chunk_size ?? X.chunkSize ?? A.chunkSize, C = X.offset ?? 0, E.resumedFrom = C) : Qo(n, R);
5682
+ const X = await _(P.uploadId);
5683
+ Fm(X.state) && (X.total_size ?? 0) === x.file.size ? (k = P.uploadId, z = X.chunk_size ?? X.chunkSize ?? P.chunkSize, C = X.offset ?? 0, E.resumedFrom = C) : Qo(n, R);
5684
5684
  } catch {
5685
5685
  Qo(n, R);
5686
5686
  }
@@ -5718,12 +5718,12 @@ function Nm(e, t, n = Im()) {
5718
5718
  }), O();
5719
5719
  const D = 4;
5720
5720
  for (; C < x.file.size; ) {
5721
- if (P) throw new DOMException("Aborted by user", "AbortError");
5721
+ if (A) throw new DOMException("Aborted by user", "AbortError");
5722
5722
  const X = Math.min(C + z, x.file.size), pe = x.file.slice(C, X);
5723
5723
  let ee = -1, he = null;
5724
5724
  for (let ue = 0; ue < D; ue++) {
5725
5725
  if (ue > 0) {
5726
- if (await lc(300 * ue + Math.floor(Math.random() * 150)), P) throw new DOMException("Aborted by user", "AbortError");
5726
+ if (await lc(300 * ue + Math.floor(Math.random() * 150)), A) throw new DOMException("Aborted by user", "AbortError");
5727
5727
  try {
5728
5728
  const N = await _(k);
5729
5729
  if ((N.offset ?? 0) >= X) {
@@ -5742,7 +5742,7 @@ function Nm(e, t, n = Im()) {
5742
5742
  break;
5743
5743
  } catch (N) {
5744
5744
  const B = N instanceof Error ? N : new Error(String(N));
5745
- if (P || B.name === "AbortError") throw B;
5745
+ if (A || B.name === "AbortError") throw B;
5746
5746
  const b = B.status;
5747
5747
  if (b && b !== 400 && b !== 409 && b < 500) throw B;
5748
5748
  he = B;
@@ -5762,7 +5762,7 @@ function Nm(e, t, n = Im()) {
5762
5762
  });
5763
5763
  }
5764
5764
  }
5765
- if (P) throw new DOMException("Aborted by user", "AbortError");
5765
+ if (A) throw new DOMException("Aborted by user", "AbortError");
5766
5766
  E.status = "committing", O();
5767
5767
  const Y = await t.jsonFetch(
5768
5768
  `${V}/${encodeURIComponent(k)}/commit`,
@@ -5782,13 +5782,13 @@ function Nm(e, t, n = Im()) {
5782
5782
  }
5783
5783
  throw (K = x.onError) == null || K.call(x, E, k), k;
5784
5784
  }
5785
- function y(V, k, z, A, D) {
5785
+ function y(V, k, z, P, D) {
5786
5786
  return new Promise((Y, X) => {
5787
5787
  const pe = new XMLHttpRequest();
5788
5788
  S = pe, pe.open("PUT", `${a()}/${encodeURIComponent(V)}`);
5789
5789
  const ee = t.authHeadersSync({
5790
5790
  "Content-Type": "application/octet-stream",
5791
- "Content-Range": `bytes ${z}-${A - 1}/${D}`
5791
+ "Content-Range": `bytes ${z}-${P - 1}/${D}`
5792
5792
  });
5793
5793
  for (const [he, ue] of Object.entries(ee)) pe.setRequestHeader(he, ue);
5794
5794
  pe.withCredentials = t.credentialsMode() === "include", pe.upload.onprogress = (he) => {
@@ -5797,18 +5797,18 @@ function Nm(e, t, n = Im()) {
5797
5797
  if (S = null, pe.status >= 200 && pe.status < 300) {
5798
5798
  try {
5799
5799
  const ue = JSON.parse(pe.responseText);
5800
- Y(ue.offset ?? A);
5800
+ Y(ue.offset ?? P);
5801
5801
  } catch {
5802
- Y(A);
5802
+ Y(P);
5803
5803
  }
5804
5804
  return;
5805
5805
  }
5806
5806
  const he = new Error(
5807
- `chunk ${z}-${A - 1} → ${pe.status}`
5807
+ `chunk ${z}-${P - 1} → ${pe.status}`
5808
5808
  );
5809
5809
  he.status = pe.status, he.detail = pe.responseText.slice(0, 200), X(he);
5810
5810
  }, pe.onerror = () => {
5811
- S = null, X(new Error(`chunk ${z}-${A - 1}: network error`));
5811
+ S = null, X(new Error(`chunk ${z}-${P - 1}: network error`));
5812
5812
  }, pe.onabort = () => {
5813
5813
  S = null, X(new DOMException("Aborted", "AbortError"));
5814
5814
  }, pe.send(k);
@@ -5818,9 +5818,9 @@ function Nm(e, t, n = Im()) {
5818
5818
  const k = t.endpoints.opsShow;
5819
5819
  if (!k) return;
5820
5820
  const z = k.replace("{id}", String(V));
5821
- let A = 200;
5821
+ let P = 200;
5822
5822
  for (; ; ) {
5823
- if (P) throw new DOMException("Aborted by user", "AbortError");
5823
+ if (A) throw new DOMException("Aborted by user", "AbortError");
5824
5824
  try {
5825
5825
  const D = await t.jsonFetch(z);
5826
5826
  if ((D == null ? void 0 : D.status) === "ok") return;
@@ -5829,7 +5829,7 @@ function Nm(e, t, n = Im()) {
5829
5829
  } catch (D) {
5830
5830
  if (D.message === "transfer failed" || D.name === "AbortError") throw D;
5831
5831
  }
5832
- await lc(A), A = Math.min(A * 2, 2e3);
5832
+ await lc(P), P = Math.min(P * 2, 2e3);
5833
5833
  }
5834
5834
  }
5835
5835
  }
@@ -5851,12 +5851,12 @@ function Rm(e) {
5851
5851
  const t = /* @__PURE__ */ w(/* @__PURE__ */ new Set()), n = /* @__PURE__ */ w(null);
5852
5852
  function o(T, x = {}) {
5853
5853
  if (x.shift && n.value) {
5854
- const R = e(), E = R.findIndex((y) => y.path === n.value), P = R.findIndex((y) => y.path === T);
5855
- if (E === -1 || P === -1) {
5854
+ const R = e(), E = R.findIndex((y) => y.path === n.value), A = R.findIndex((y) => y.path === T);
5855
+ if (E === -1 || A === -1) {
5856
5856
  t.value = /* @__PURE__ */ new Set([T]), n.value = T;
5857
5857
  return;
5858
5858
  }
5859
- const [S, C] = E < P ? [E, P] : [P, E], O = /* @__PURE__ */ new Set();
5859
+ const [S, C] = E < A ? [E, A] : [A, E], O = /* @__PURE__ */ new Set();
5860
5860
  for (let y = S; y <= C; y++) O.add(R[y].path);
5861
5861
  t.value = O;
5862
5862
  return;
@@ -6069,7 +6069,7 @@ const Jm = {
6069
6069
  "toolbar.new_folder": "Yeni Klasör",
6070
6070
  "toolbar.upload": "Yükle",
6071
6071
  "toolbar.search": "Ara",
6072
- "toolbar.search.placeholder": "Dosya adı…",
6072
+ "toolbar.search.placeholder": "Ada ya da tag: ile ara…",
6073
6073
  "toolbar.view.list": "Liste",
6074
6074
  "toolbar.view.grid": "Izgara",
6075
6075
  "toolbar.refresh": "Yenile",
@@ -6384,7 +6384,7 @@ const Jm = {
6384
6384
  "tour.step.upload.title": "Dosya yükle",
6385
6385
  "tour.step.upload.desc": "Bu düğmeyle dosya seçebilirsin; dosyaları doğrudan pencereye sürükleyip bırakmak da çalışır.",
6386
6386
  "tour.step.search.title": "Arama",
6387
- "tour.step.search.desc": "Bu kutu bulunduğun klasörü filtreler. Ctrl+K komut paleti ile tüm depolarda arama yapabilir ve komut çalıştırabilirsin.",
6387
+ "tour.step.search.desc": 'Bu kutu deponun tamamında ada göre arar; ayraçları ve bir harflik yazım hatasını affeder, yani "fatura 2026" yazdığında fatura_2026.pdf gelir. tag:fatura yazarak etikete göre süzebilirsin. Ctrl+K komut paleti ayrıca komut da çalıştırır.',
6388
6388
  "tour.step.view.title": "Görünümü değiştir",
6389
6389
  "tour.step.view.desc": "Liste ve ızgara görünümü arasında geçiş yapabilirsin; seçimin hatırlanır.",
6390
6390
  "tour.step.share.title": "Paylaşım",
@@ -6879,7 +6879,7 @@ const Jm = {
6879
6879
  "toolbar.new_folder": "New Folder",
6880
6880
  "toolbar.upload": "Upload",
6881
6881
  "toolbar.search": "Search",
6882
- "toolbar.search.placeholder": "File name…",
6882
+ "toolbar.search.placeholder": "Search by name or tag:…",
6883
6883
  "toolbar.view.list": "List",
6884
6884
  "toolbar.view.grid": "Grid",
6885
6885
  "toolbar.refresh": "Refresh",
@@ -7194,7 +7194,7 @@ const Jm = {
7194
7194
  "tour.step.upload.title": "Upload files",
7195
7195
  "tour.step.upload.desc": "Pick files with this button — or simply drag & drop them anywhere in the window.",
7196
7196
  "tour.step.search.title": "Search",
7197
- "tour.step.search.desc": "This box filters the current folder. The Ctrl+K command palette searches across all storages and runs commands.",
7197
+ "tour.step.search.desc": 'This box searches the whole storage by name — separators and one typo are forgiven, so "invoice 2026" finds invoice_2026.pdf. Add tag:invoice to filter by tag. The Ctrl+K command palette also runs commands.',
7198
7198
  "tour.step.view.title": "Switch views",
7199
7199
  "tour.step.view.desc": "Toggle between the list and grid layout; your choice is remembered.",
7200
7200
  "tour.step.share.title": "Sharing",
@@ -7765,10 +7765,10 @@ function ev(e, t, n = {}) {
7765
7765
  var R;
7766
7766
  if (t.endpoints.opsList)
7767
7767
  try {
7768
- const P = ((await t.jsonFetch(t.endpoints.opsList)).ops || []).map(dc);
7769
- for (const V of P)
7768
+ const A = ((await t.jsonFetch(t.endpoints.opsList)).ops || []).map(dc);
7769
+ for (const V of A)
7770
7770
  (V.status === "done" || V.status === "error") && !a.has(V.id) && (a.add(V.id), r.set(V.id, Date.now()), s && ((R = n.onSettled) == null || R.call(n, V)));
7771
- const S = new Set(o.value.map((V) => V.id)), C = P.filter((V) => V.status === "pending" || V.status === "running" ? !0 : s ? S.has(V.id) : !1), O = new Set(C.map((V) => V.id)), y = o.value.filter((V) => !O.has(V.id)), M = [...C, ...y];
7771
+ const S = new Set(o.value.map((V) => V.id)), C = A.filter((V) => V.status === "pending" || V.status === "running" ? !0 : s ? S.has(V.id) : !1), O = new Set(C.map((V) => V.id)), y = o.value.filter((V) => !O.has(V.id)), M = [...C, ...y];
7772
7772
  s = !0;
7773
7773
  const I = Date.now(), K = M.filter((V) => {
7774
7774
  if (V.status === "pending" || V.status === "running") return !0;
@@ -7922,11 +7922,11 @@ function sv(e, t) {
7922
7922
  i = null, t.reload();
7923
7923
  }, rv);
7924
7924
  }
7925
- function v(P) {
7926
- s && P.path && P.path !== s || (n.value = Array.isArray(P.users) ? P.users : []);
7925
+ function v(A) {
7926
+ s && A.path && A.path !== s || (n.value = Array.isArray(A.users) ? A.users : []);
7927
7927
  }
7928
- function _(P) {
7929
- a.value = P, P ? (n.value = [], d || (d = setInterval(() => t.reload(), iv))) : d && (clearInterval(d), d = null);
7928
+ function _(A) {
7929
+ a.value = A, A ? (n.value = [], d || (d = setInterval(() => t.reload(), iv))) : d && (clearInterval(d), d = null);
7930
7930
  }
7931
7931
  function T() {
7932
7932
  r || (r = new av({
@@ -7935,17 +7935,17 @@ function sv(e, t) {
7935
7935
  onChange: g,
7936
7936
  onPresence: v,
7937
7937
  onFallback: _,
7938
- onStatus: (P) => {
7939
- o.value = P;
7938
+ onStatus: (A) => {
7939
+ o.value = A;
7940
7940
  }
7941
7941
  }
7942
7942
  }));
7943
7943
  }
7944
- function x(P) {
7945
- n.value = [], s = P, r == null || r.subscribe(P);
7944
+ function x(A) {
7945
+ n.value = [], s = A, r == null || r.subscribe(A);
7946
7946
  }
7947
- function R(P) {
7948
- r == null || r.setFocus(P);
7947
+ function R(A) {
7948
+ r == null || r.setFocus(A);
7949
7949
  }
7950
7950
  function E() {
7951
7951
  i && (clearTimeout(i), i = null), d && (clearInterval(d), d = null), r == null || r.close(), r = null, a.value = !1;
@@ -8140,7 +8140,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8140
8140
  key: 0,
8141
8141
  class: "fe-ctx__sep",
8142
8142
  role: "separator"
8143
- }, Pv = ["disabled", "onClick"], Av = {
8143
+ }, Av = ["disabled", "onClick"], Pv = {
8144
8144
  key: 0,
8145
8145
  class: "fe-ctx__icon",
8146
8146
  "aria-hidden": "true"
@@ -8185,7 +8185,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8185
8185
  i.value = ce >= b ? ce : Math.max(b, $ - B.width - b);
8186
8186
  }
8187
8187
  }
8188
- function P() {
8188
+ function A() {
8189
8189
  var N;
8190
8190
  s.value = !1, M.value = !1, I.value = 0, (N = x == null ? void 0 : x.focus) == null || N.call(x), x = null;
8191
8191
  }
@@ -8226,24 +8226,24 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8226
8226
  function z() {
8227
8227
  if (!M.value) return;
8228
8228
  const N = I.value > 72;
8229
- M.value = !1, N ? P() : I.value = 0;
8229
+ M.value = !1, N ? A() : I.value = 0;
8230
8230
  }
8231
- const A = Z(
8231
+ const P = Z(
8232
8232
  () => I.value > 0 ? { transform: `translateY(${I.value}px)`, transition: "none" } : void 0
8233
8233
  );
8234
8234
  function D(N) {
8235
- N.disabled || (a("select", N, g.value), P());
8235
+ N.disabled || (a("select", N, g.value), A());
8236
8236
  }
8237
8237
  function Y(N) {
8238
8238
  if (N.key === "Escape") {
8239
- N.stopPropagation(), P();
8239
+ N.stopPropagation(), A();
8240
8240
  return;
8241
8241
  }
8242
8242
  if (N.key === "Enter" || N.key === " ") {
8243
8243
  N.stopPropagation();
8244
8244
  return;
8245
8245
  }
8246
- N.key === "ArrowDown" ? (N.preventDefault(), N.stopPropagation(), O(1)) : N.key === "ArrowUp" ? (N.preventDefault(), N.stopPropagation(), O(-1)) : N.key === "Home" ? (N.preventDefault(), C(0)) : N.key === "End" ? (N.preventDefault(), C(-1)) : N.key === "Tab" && (N.preventDefault(), P());
8246
+ N.key === "ArrowDown" ? (N.preventDefault(), N.stopPropagation(), O(1)) : N.key === "ArrowUp" ? (N.preventDefault(), N.stopPropagation(), O(-1)) : N.key === "Home" ? (N.preventDefault(), C(0)) : N.key === "End" ? (N.preventDefault(), C(-1)) : N.key === "Tab" && (N.preventDefault(), A());
8247
8247
  }
8248
8248
  const X = Z(() => {
8249
8249
  const N = o.actions.filter((b) => !b.hidden), B = [];
@@ -8264,8 +8264,8 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8264
8264
  (N = ee == null ? void 0 : ee.removeEventListener) == null || N.call(ee, "change", he);
8265
8265
  });
8266
8266
  const ue = Z(() => `fe-ctx-backdrop--theme-${o.theme || "auto"}`);
8267
- return t({ show: R, hide: P }), (N, B) => (p(), Ge(gd, { to: "body" }, [
8268
- Re(Pn, {
8267
+ return t({ show: R, hide: A }), (N, B) => (p(), Ge(gd, { to: "body" }, [
8268
+ Re(An, {
8269
8269
  name: e.sheet ? "fe-sheet" : "fe-ctx"
8270
8270
  }, {
8271
8271
  default: lt(() => [
@@ -8273,8 +8273,8 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8273
8273
  key: 0,
8274
8274
  class: $e(["fe-ctx-backdrop", [ue.value, { "fe-ctx-backdrop--sheet": e.sheet }]]),
8275
8275
  "data-prefers-dark": pe.value ? "1" : "0",
8276
- onClick: P,
8277
- onContextmenu: Je(P, ["prevent"]),
8276
+ onClick: A,
8277
+ onContextmenu: Je(A, ["prevent"]),
8278
8278
  onKeydown: Y
8279
8279
  }, [
8280
8280
  e.sheet ? (p(), m("div", {
@@ -8285,7 +8285,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8285
8285
  role: "menu",
8286
8286
  "aria-label": f(r)("sheet.menu"),
8287
8287
  tabindex: "-1",
8288
- style: Qt(A.value),
8288
+ style: Qt(P.value),
8289
8289
  onClick: B[0] || (B[0] = Je(() => {
8290
8290
  }, ["stop"]))
8291
8291
  }, [
@@ -8294,8 +8294,8 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8294
8294
  role: "button",
8295
8295
  tabindex: "0",
8296
8296
  "aria-label": f(r)("sheet.close"),
8297
- onClick: P,
8298
- onKeydown: Ft(Je(P, ["prevent"]), ["enter"]),
8297
+ onClick: A,
8298
+ onKeydown: Ft(Je(A, ["prevent"]), ["enter"]),
8299
8299
  onTouchstartPassive: V,
8300
8300
  onTouchmovePassive: k,
8301
8301
  onTouchend: z,
@@ -8313,9 +8313,9 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8313
8313
  role: "menuitem",
8314
8314
  onClick: (q) => D(b)
8315
8315
  }, [
8316
- b.icon ? (p(), m("span", Av, h(b.icon), 1)) : j("", !0),
8316
+ b.icon ? (p(), m("span", Pv, h(b.icon), 1)) : j("", !0),
8317
8317
  l("span", Dv, h(b.label), 1)
8318
- ], 10, Pv))
8318
+ ], 10, Av))
8319
8319
  ], 64))), 128))
8320
8320
  ])
8321
8321
  ], 12, Cv)) : (p(), m("div", {
@@ -8424,10 +8424,10 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8424
8424
  o.narrow && !z.value && (z.value = !0, await wt()), (b = d.value) == null || b.focus(), ($ = d.value) == null || $.select();
8425
8425
  }
8426
8426
  t({ focusSearch: T });
8427
- const x = Z(() => o.selectionMode ?? "none"), R = Z(() => o.actions.filter((b) => !b.divider && !b.hidden)), E = /* @__PURE__ */ w(null), P = /* @__PURE__ */ w(null), S = /* @__PURE__ */ w(null), C = /* @__PURE__ */ w(null), O = /* @__PURE__ */ w(Number.MAX_SAFE_INTEGER), y = Z(() => R.value.slice(0, O.value)), M = Z(() => R.value.slice(O.value));
8427
+ const x = Z(() => o.selectionMode ?? "none"), R = Z(() => o.actions.filter((b) => !b.divider && !b.hidden)), E = /* @__PURE__ */ w(null), A = /* @__PURE__ */ w(null), S = /* @__PURE__ */ w(null), C = /* @__PURE__ */ w(null), O = /* @__PURE__ */ w(Number.MAX_SAFE_INTEGER), y = Z(() => R.value.slice(0, O.value)), M = Z(() => R.value.slice(O.value));
8428
8428
  function I() {
8429
8429
  if (o.narrow) return;
8430
- const b = E.value, $ = P.value;
8430
+ const b = E.value, $ = A.value;
8431
8431
  if (!b || !$) {
8432
8432
  O.value = R.value.length;
8433
8433
  return;
@@ -8471,7 +8471,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8471
8471
  b || (z.value = !1);
8472
8472
  }
8473
8473
  );
8474
- async function A() {
8474
+ async function P() {
8475
8475
  var b;
8476
8476
  z.value = !0, await wt(), (b = d.value) == null || b.focus();
8477
8477
  }
@@ -8587,7 +8587,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8587
8587
  class: $e(["fe-btn fe-btn--icon-only fe-toolbar__search-toggle", { "is-active": !!g.value }]),
8588
8588
  title: f(i)("toolbar.search"),
8589
8589
  "aria-label": f(i)("toolbar.search"),
8590
- onClick: A
8590
+ onClick: P
8591
8591
  }, [...$[29] || ($[29] = [
8592
8592
  l("span", { class: "fe-icon" }, "🔍", -1)
8593
8593
  ])], 10, pg),
@@ -8675,7 +8675,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8675
8675
  ])], 8, Uv)) : j("", !0),
8676
8676
  l("div", {
8677
8677
  ref_key: "measureEl",
8678
- ref: P,
8678
+ ref: A,
8679
8679
  class: "fe-toolbar__measure",
8680
8680
  "aria-hidden": "true"
8681
8681
  }, [
@@ -8913,10 +8913,10 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8913
8913
  "#f97316"
8914
8914
  ]);
8915
8915
  function g(E) {
8916
- let P = 0;
8917
- for (let C = 0; C < E.length; C++) P = P * 31 + E.charCodeAt(C) | 0;
8916
+ let A = 0;
8917
+ for (let C = 0; C < E.length; C++) A = A * 31 + E.charCodeAt(C) | 0;
8918
8918
  const S = d.value;
8919
- return S[Math.abs(P) % S.length];
8919
+ return S[Math.abs(A) % S.length];
8920
8920
  }
8921
8921
  async function v(E = {}) {
8922
8922
  return { ...await (n.authHeaders ?? (() => ({})))(), ...E };
@@ -8924,12 +8924,12 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8924
8924
  async function _() {
8925
8925
  r.value = !0;
8926
8926
  try {
8927
- const E = n.apiBase ?? "", P = await fetch(`${E}/api/files/manager/tags?node_id=${n.nodeId}`, {
8927
+ const E = n.apiBase ?? "", A = await fetch(`${E}/api/files/manager/tags?node_id=${n.nodeId}`, {
8928
8928
  headers: await v(),
8929
8929
  credentials: n.authCredentials ?? "same-origin"
8930
8930
  });
8931
- if (P.ok) {
8932
- const S = await P.json();
8931
+ if (A.ok) {
8932
+ const S = await A.json();
8933
8933
  a.value = Array.isArray(S.tags) ? S.tags : [];
8934
8934
  }
8935
8935
  } catch (E) {
@@ -8939,7 +8939,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8939
8939
  }
8940
8940
  }
8941
8941
  async function T(E) {
8942
- const P = [...a.value];
8942
+ const A = [...a.value];
8943
8943
  a.value = E;
8944
8944
  try {
8945
8945
  const S = n.apiBase ?? "", C = await fetch(`${S}/api/files/manager/tags`, {
@@ -8951,7 +8951,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8951
8951
  if (!C.ok) throw new Error(`tag save failed: ${C.status}`);
8952
8952
  o("change", E);
8953
8953
  } catch (S) {
8954
- a.value = P, o("error", S instanceof Error ? S.message : String(S));
8954
+ a.value = A, o("error", S instanceof Error ? S.message : String(S));
8955
8955
  }
8956
8956
  }
8957
8957
  function x() {
@@ -8963,9 +8963,9 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8963
8963
  T([...a.value, E]), i.value = "", s.value = !1;
8964
8964
  }
8965
8965
  function R(E) {
8966
- T(a.value.filter((P) => P !== E));
8966
+ T(a.value.filter((A) => A !== E));
8967
8967
  }
8968
- return rt(_), Ue(() => n.nodeId, _), (E, P) => (p(), m("div", {
8968
+ return rt(_), Ue(() => n.nodeId, _), (E, A) => (p(), m("div", {
8969
8969
  class: $e(["filex-tag-picker", { "is-loading": r.value }])
8970
8970
  }, [
8971
8971
  (p(!0), m(se, null, Te(a.value, (S) => (p(), m("span", {
@@ -8987,11 +8987,11 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
8987
8987
  onSubmit: Je(x, ["prevent"])
8988
8988
  }, [
8989
8989
  Ke(l("input", {
8990
- "onUpdate:modelValue": P[0] || (P[0] = (S) => i.value = S),
8990
+ "onUpdate:modelValue": A[0] || (A[0] = (S) => i.value = S),
8991
8991
  autofocus: "",
8992
8992
  placeholder: "tag name",
8993
8993
  onBlur: x,
8994
- onKeydown: P[1] || (P[1] = Ft((S) => {
8994
+ onKeydown: A[1] || (A[1] = Ft((S) => {
8995
8995
  s.value = !1, i.value = "";
8996
8996
  }, ["escape"]))
8997
8997
  }, null, 544), [
@@ -9001,7 +9001,7 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
9001
9001
  key: 1,
9002
9002
  class: "filex-tag-add-btn",
9003
9003
  type: "button",
9004
- onClick: P[2] || (P[2] = (S) => s.value = !0)
9004
+ onClick: A[2] || (A[2] = (S) => s.value = !0)
9005
9005
  }, "+ Add tag"))
9006
9006
  ], 2));
9007
9007
  }
@@ -9075,15 +9075,15 @@ const fv = ["title"], pv = ["src", "alt"], hv = {
9075
9075
  }
9076
9076
  }), lu = "application/x-brf-files", Eg = "application/x-brf-files-src";
9077
9077
  let Co = null;
9078
- const Pg = 5 * 6e4;
9079
- function Ag(e, t) {
9078
+ const Ag = 5 * 6e4;
9079
+ function Pg(e, t) {
9080
9080
  Co = { items: e.slice(), origin: t, startedAt: Date.now() };
9081
9081
  }
9082
9082
  function wo() {
9083
9083
  Co = null;
9084
9084
  }
9085
9085
  function ya() {
9086
- return Co ? Date.now() - Co.startedAt > Pg ? (Co = null, null) : Co : null;
9086
+ return Co ? Date.now() - Co.startedAt > Ag ? (Co = null, null) : Co : null;
9087
9087
  }
9088
9088
  function Zt(e) {
9089
9089
  var t;
@@ -9160,32 +9160,32 @@ const Lg = {
9160
9160
  setup(e, { emit: t }) {
9161
9161
  const n = e, o = Z(() => {
9162
9162
  if (!n.rootPath) return "";
9163
- const A = n.rootPath, D = A.indexOf("://");
9164
- return (D >= 0 ? A.slice(D + 3) : A).replace(/^\/+|\/+$/g, "");
9163
+ const P = n.rootPath, D = P.indexOf("://");
9164
+ return (D >= 0 ? P.slice(D + 3) : P).replace(/^\/+|\/+$/g, "");
9165
9165
  }), a = Z(() => {
9166
- const A = o.value;
9167
- if (!A) return n.rootLabel || n.adapter;
9168
- const D = A.split("/");
9166
+ const P = o.value;
9167
+ if (!P) return n.rootLabel || n.adapter;
9168
+ const D = P.split("/");
9169
9169
  return D[D.length - 1] || n.rootLabel || n.adapter;
9170
9170
  }), { t: r } = ot(() => n.locale), s = t, i = Z(() => {
9171
- const A = `${n.adapter}://`, D = n.dirname.startsWith(A) ? n.dirname.slice(A.length) : n.dirname, Y = D.split("/").filter(Boolean), X = [];
9171
+ const P = `${n.adapter}://`, D = n.dirname.startsWith(P) ? n.dirname.slice(P.length) : n.dirname, Y = D.split("/").filter(Boolean), X = [];
9172
9172
  if (n.rootPath) {
9173
9173
  const ee = o.value, he = D.replace(/^\/+|\/+$/g, ""), ue = ee && (he === ee || he.startsWith(ee + "/")) ? he.slice(ee.length).replace(/^\/+/, "") : "";
9174
9174
  X.push({ label: a.value, adapterPath: n.rootPath });
9175
9175
  let N = ee;
9176
9176
  for (const B of ue.split("/").filter(Boolean))
9177
- N = N ? `${N}/${B}` : B, X.push({ label: B === ".trash" ? r("node.trash") : B, adapterPath: `${A}${N}` });
9177
+ N = N ? `${N}/${B}` : B, X.push({ label: B === ".trash" ? r("node.trash") : B, adapterPath: `${P}${N}` });
9178
9178
  return X;
9179
9179
  }
9180
- n.multiStorageRoot ? (X.push({ label: "/", adapterPath: "" }), n.adapter && X.push({ label: n.rootLabel || n.adapter, adapterPath: A })) : X.push({
9180
+ n.multiStorageRoot ? (X.push({ label: "/", adapterPath: "" }), n.adapter && X.push({ label: n.rootLabel || n.adapter, adapterPath: P })) : X.push({
9181
9181
  label: n.rootLabel || n.adapter,
9182
- adapterPath: A
9182
+ adapterPath: P
9183
9183
  });
9184
9184
  let pe = "";
9185
9185
  for (const ee of Y) {
9186
9186
  pe = pe ? `${pe}/${ee}` : ee;
9187
9187
  const he = ee === ".trash" ? r("node.trash") : ee;
9188
- X.push({ label: he, adapterPath: `${A}${pe}` });
9188
+ X.push({ label: he, adapterPath: `${P}${pe}` });
9189
9189
  }
9190
9190
  return X;
9191
9191
  }), d = Z(() => i.value.length > Wg), g = Z(
@@ -9195,43 +9195,43 @@ const Lg = {
9195
9195
  ), _ = Z(
9196
9196
  () => d.value ? i.value.slice(-2) : []
9197
9197
  ), T = /* @__PURE__ */ w(!1), x = /* @__PURE__ */ w(null);
9198
- function R(A) {
9199
- T.value = !1, s("navigate", A.adapterPath);
9198
+ function R(P) {
9199
+ T.value = !1, s("navigate", P.adapterPath);
9200
9200
  }
9201
- function E(A) {
9201
+ function E(P) {
9202
9202
  const D = x.value;
9203
- D && A.target instanceof Node && D.contains(A.target) || (T.value = !1);
9203
+ D && P.target instanceof Node && D.contains(P.target) || (T.value = !1);
9204
9204
  }
9205
- function P(A) {
9206
- A.key === "Escape" && (A.stopPropagation(), T.value = !1);
9205
+ function A(P) {
9206
+ P.key === "Escape" && (P.stopPropagation(), T.value = !1);
9207
9207
  }
9208
- Ue(T, (A) => {
9209
- A ? (document.addEventListener("click", E, !0), document.addEventListener("keydown", P, !0)) : (document.removeEventListener("click", E, !0), document.removeEventListener("keydown", P, !0));
9208
+ Ue(T, (P) => {
9209
+ P ? (document.addEventListener("click", E, !0), document.addEventListener("keydown", A, !0)) : (document.removeEventListener("click", E, !0), document.removeEventListener("keydown", A, !0));
9210
9210
  }), Ue(i, () => {
9211
9211
  T.value = !1;
9212
9212
  }), dt(() => {
9213
- document.removeEventListener("click", E, !0), document.removeEventListener("keydown", P, !0);
9213
+ document.removeEventListener("click", E, !0), document.removeEventListener("keydown", A, !0);
9214
9214
  });
9215
- function S(A) {
9216
- s("navigate", A.adapterPath);
9215
+ function S(P) {
9216
+ s("navigate", P.adapterPath);
9217
9217
  }
9218
- function C(A, D) {
9219
- A.preventDefault(), A.stopPropagation(), s("crumb-context", {
9220
- x: A.clientX,
9221
- y: A.clientY,
9218
+ function C(P, D) {
9219
+ P.preventDefault(), P.stopPropagation(), s("crumb-context", {
9220
+ x: P.clientX,
9221
+ y: P.clientY,
9222
9222
  adapterPath: D.adapterPath,
9223
9223
  label: D.label
9224
9224
  });
9225
9225
  }
9226
- function O(A) {
9227
- Zt(A) && (A.preventDefault(), A.stopPropagation(), A.dataTransfer && (A.dataTransfer.dropEffect = "move"));
9226
+ function O(P) {
9227
+ Zt(P) && (P.preventDefault(), P.stopPropagation(), P.dataTransfer && (P.dataTransfer.dropEffect = "move"));
9228
9228
  }
9229
- function y(A, D) {
9230
- Zt(A) && (A.preventDefault(), A.stopPropagation(), s("crumb-drop", D.adapterPath, A));
9229
+ function y(P, D) {
9230
+ Zt(P) && (P.preventDefault(), P.stopPropagation(), s("crumb-drop", D.adapterPath, P));
9231
9231
  }
9232
9232
  const M = /* @__PURE__ */ w(!1), I = /* @__PURE__ */ w(""), K = /* @__PURE__ */ w(null);
9233
9233
  function V() {
9234
- const A = `${n.adapter}://`, D = n.dirname.startsWith(A) ? n.dirname.slice(A.length) : n.dirname;
9234
+ const P = `${n.adapter}://`, D = n.dirname.startsWith(P) ? n.dirname.slice(P.length) : n.dirname;
9235
9235
  if (n.rootPath) {
9236
9236
  const Y = o.value, X = D.replace(/^\/+|\/+$/g, ""), pe = Y && (X === Y || X.startsWith(Y + "/")) ? X.slice(Y.length).replace(/^\/+/, "") : "";
9237
9237
  I.value = pe ? `/${pe}` : "/", M.value = !0, wt(() => {
@@ -9255,14 +9255,14 @@ const Lg = {
9255
9255
  });
9256
9256
  }
9257
9257
  function k() {
9258
- const A = I.value.trim();
9258
+ const P = I.value.trim();
9259
9259
  if (M.value = !1, n.rootPath) {
9260
- const Y = A.replace(/^\/+|\/+$/g, ""), X = o.value, pe = Y ? X ? `${X}/${Y}` : Y : X;
9260
+ const Y = P.replace(/^\/+|\/+$/g, ""), X = o.value, pe = Y ? X ? `${X}/${Y}` : Y : X;
9261
9261
  s("navigate", pe ? `${n.adapter}://${pe}` : `${n.adapter}://`);
9262
9262
  return;
9263
9263
  }
9264
9264
  if (n.multiStorageRoot) {
9265
- const Y = A.replace(/^\/+|\/+$/g, "");
9265
+ const Y = P.replace(/^\/+|\/+$/g, "");
9266
9266
  if (!Y) {
9267
9267
  s("navigate", "");
9268
9268
  return;
@@ -9271,13 +9271,13 @@ const Lg = {
9271
9271
  s("navigate", ee ? `${pe}://${ee}` : `${pe}://`);
9272
9272
  return;
9273
9273
  }
9274
- const D = A.replace(/^\/+|\/+$/g, "");
9274
+ const D = P.replace(/^\/+|\/+$/g, "");
9275
9275
  D && s("navigate", `${n.adapter}://${D}`);
9276
9276
  }
9277
9277
  function z() {
9278
9278
  M.value = !1;
9279
9279
  }
9280
- return (A, D) => (p(), m("nav", Lg, [
9280
+ return (P, D) => (p(), m("nav", Lg, [
9281
9281
  M.value ? Ke((p(), m("input", {
9282
9282
  key: 1,
9283
9283
  ref_key: "pathInput",
@@ -9621,9 +9621,9 @@ const Xg = ["aria-pressed", "title"], Zg = {
9621
9621
  function E(b, $) {
9622
9622
  T.value = null, b.type === "dir" && Zt($) && ($.preventDefault(), $.stopPropagation(), o("item-drop-into", b, $));
9623
9623
  }
9624
- let P, S = null;
9624
+ let A, S = null;
9625
9625
  function C(b, $) {
9626
- S = b, P && clearTimeout(P), P = setTimeout(() => {
9626
+ S = b, A && clearTimeout(A), A = setTimeout(() => {
9627
9627
  if (S) {
9628
9628
  const q = $.touches[0];
9629
9629
  o("context-row", S, {
@@ -9636,7 +9636,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9636
9636
  }, 500);
9637
9637
  }
9638
9638
  function O() {
9639
- P && clearTimeout(P), S = null;
9639
+ A && clearTimeout(A), S = null;
9640
9640
  }
9641
9641
  function y(b) {
9642
9642
  return b.basename === ".trash" ? "🗑" : b.mime_type === "inode/storage" ? "💾" : b.type === "dir" && b.e2e === !0 ? "🔒" : null;
@@ -9661,12 +9661,12 @@ const Xg = ["aria-pressed", "title"], Zg = {
9661
9661
  function z(b) {
9662
9662
  return du(b.matched);
9663
9663
  }
9664
- const A = /* @__PURE__ */ w(null), D = /* @__PURE__ */ w("asc");
9664
+ const P = /* @__PURE__ */ w(null), D = /* @__PURE__ */ w("asc");
9665
9665
  try {
9666
9666
  const b = localStorage.getItem(vc);
9667
9667
  if (b) {
9668
9668
  const $ = JSON.parse(b);
9669
- ($.key === "name" || $.key === "size" || $.key === "modified") && (A.value = $.key), ($.dir === "asc" || $.dir === "desc") && (D.value = $.dir);
9669
+ ($.key === "name" || $.key === "size" || $.key === "modified") && (P.value = $.key), ($.dir === "asc" || $.dir === "desc") && (D.value = $.dir);
9670
9670
  }
9671
9671
  } catch {
9672
9672
  }
@@ -9674,24 +9674,24 @@ const Xg = ["aria-pressed", "title"], Zg = {
9674
9674
  return b === "modified" ? "desc" : "asc";
9675
9675
  }
9676
9676
  function X(b) {
9677
- A.value !== b ? (A.value = b, D.value = Y(b)) : D.value === Y(b) ? D.value = D.value === "asc" ? "desc" : "asc" : A.value = null;
9677
+ P.value !== b ? (P.value = b, D.value = Y(b)) : D.value === Y(b) ? D.value = D.value === "asc" ? "desc" : "asc" : P.value = null;
9678
9678
  try {
9679
9679
  localStorage.setItem(
9680
9680
  vc,
9681
- JSON.stringify({ key: A.value, dir: D.value })
9681
+ JSON.stringify({ key: P.value, dir: D.value })
9682
9682
  );
9683
9683
  } catch {
9684
9684
  }
9685
9685
  }
9686
9686
  function pe(b) {
9687
- return A.value !== b ? "none" : D.value === "asc" ? "ascending" : "descending";
9687
+ return P.value !== b ? "none" : D.value === "asc" ? "ascending" : "descending";
9688
9688
  }
9689
9689
  function ee(b) {
9690
9690
  const $ = b.last_modified;
9691
9691
  return $ ? $ * ($ < 1e12 ? 1e3 : 1) : null;
9692
9692
  }
9693
9693
  const he = Z(() => {
9694
- const b = A.value;
9694
+ const b = P.value;
9695
9695
  if (!b) return n.files;
9696
9696
  const $ = [], q = [];
9697
9697
  for (const De of n.files) (I(De) ? $ : q).push(De);
@@ -9716,7 +9716,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9716
9716
  }
9717
9717
  const B = Z(() => {
9718
9718
  const b = he.value;
9719
- if (A.value !== "modified") return [{ id: "all", label: null, nodes: b }];
9719
+ if (P.value !== "modified") return [{ id: "all", label: null, nodes: b }];
9720
9720
  const $ = [];
9721
9721
  let q = null;
9722
9722
  for (const ce of b) {
@@ -9750,7 +9750,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9750
9750
  onClick: $[0] || ($[0] = (q) => X("name"))
9751
9751
  }, [
9752
9752
  He(h(f(a)("col.name")) + " ", 1),
9753
- A.value === "name" ? (p(), m("span", sb, h(D.value === "asc" ? "↑" : "↓"), 1)) : j("", !0)
9753
+ P.value === "name" ? (p(), m("span", sb, h(D.value === "asc" ? "↑" : "↓"), 1)) : j("", !0)
9754
9754
  ], 8, ib)
9755
9755
  ], 8, rb),
9756
9756
  l("div", {
@@ -9765,7 +9765,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9765
9765
  onClick: $[1] || ($[1] = (q) => X("size"))
9766
9766
  }, [
9767
9767
  He(h(f(a)("col.size")) + " ", 1),
9768
- A.value === "size" ? (p(), m("span", db, h(D.value === "asc" ? "↑" : "↓"), 1)) : j("", !0)
9768
+ P.value === "size" ? (p(), m("span", db, h(D.value === "asc" ? "↑" : "↓"), 1)) : j("", !0)
9769
9769
  ], 8, cb)
9770
9770
  ], 8, lb),
9771
9771
  l("div", {
@@ -9780,7 +9780,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9780
9780
  onClick: $[2] || ($[2] = (q) => X("modified"))
9781
9781
  }, [
9782
9782
  He(h(f(a)("col.modified")) + " ", 1),
9783
- A.value === "modified" ? (p(), m("span", pb, h(D.value === "asc" ? "↑" : "↓"), 1)) : j("", !0)
9783
+ P.value === "modified" ? (p(), m("span", pb, h(D.value === "asc" ? "↑" : "↓"), 1)) : j("", !0)
9784
9784
  ], 8, fb)
9785
9785
  ], 8, ub)
9786
9786
  ]),
@@ -9879,7 +9879,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9879
9879
  ])
9880
9880
  ], 10, nb));
9881
9881
  }
9882
- }), Pb = ["aria-label", "aria-busy"], Ab = ["aria-selected", "aria-label", "data-fe-path", "onClick", "onDblclick", "onContextmenu", "onDragstart", "onDragover", "onDragleave", "onDrop", "onTouchstartPassive"], Db = { class: "fe-grid__thumb" }, Mb = ["src", "alt"], Ob = {
9882
+ }), Ab = ["aria-label", "aria-busy"], Pb = ["aria-selected", "aria-label", "data-fe-path", "onClick", "onDblclick", "onContextmenu", "onDragstart", "onDragover", "onDragleave", "onDrop", "onTouchstartPassive"], Db = { class: "fe-grid__thumb" }, Mb = ["src", "alt"], Ob = {
9883
9883
  key: 1,
9884
9884
  class: "fe-grid__icon"
9885
9885
  }, Ib = ["innerHTML"], Lb = ["title"], Fb = ["title", "aria-label"], Bb = ["title"], Nb = { class: "fe-grid__meta" }, Rb = ["title"], Kb = {
@@ -9909,37 +9909,37 @@ const Xg = ["aria-pressed", "title"], Zg = {
9909
9909
  function d(z) {
9910
9910
  return n.selected.has(z.path);
9911
9911
  }
9912
- function g(z, A) {
9913
- o("click-card", z, { ctrl: A.ctrlKey || A.metaKey, shift: A.shiftKey });
9912
+ function g(z, P) {
9913
+ o("click-card", z, { ctrl: P.ctrlKey || P.metaKey, shift: P.shiftKey });
9914
9914
  }
9915
9915
  function v(z) {
9916
9916
  o("dbl-card", z);
9917
9917
  }
9918
- function _(z, A) {
9919
- A.preventDefault(), A.stopPropagation(), o("context-card", z, A);
9918
+ function _(z, P) {
9919
+ P.preventDefault(), P.stopPropagation(), o("context-card", z, P);
9920
9920
  }
9921
- function T(z, A) {
9921
+ function T(z, P) {
9922
9922
  ms(
9923
- A,
9923
+ P,
9924
9924
  s(z),
9925
9925
  n.selected.has(z.path) ? n.selected.size : 1
9926
- ), o("item-drag-start", z, A);
9926
+ ), o("item-drag-start", z, P);
9927
9927
  }
9928
9928
  const x = /* @__PURE__ */ w(null);
9929
- function R(z, A) {
9930
- z.type === "dir" && Zt(A) && (A.preventDefault(), A.stopPropagation(), A.dataTransfer && (A.dataTransfer.dropEffect = "move"), x.value = z.path);
9929
+ function R(z, P) {
9930
+ z.type === "dir" && Zt(P) && (P.preventDefault(), P.stopPropagation(), P.dataTransfer && (P.dataTransfer.dropEffect = "move"), x.value = z.path);
9931
9931
  }
9932
9932
  function E(z) {
9933
9933
  x.value === z.path && (x.value = null);
9934
9934
  }
9935
- function P(z, A) {
9936
- x.value = null, z.type === "dir" && Zt(A) && (A.preventDefault(), A.stopPropagation(), o("item-drop-into", z, A));
9935
+ function A(z, P) {
9936
+ x.value = null, z.type === "dir" && Zt(P) && (P.preventDefault(), P.stopPropagation(), o("item-drop-into", z, P));
9937
9937
  }
9938
9938
  let S, C = null;
9939
- function O(z, A) {
9939
+ function O(z, P) {
9940
9940
  C = z, S && clearTimeout(S), S = setTimeout(() => {
9941
9941
  if (C) {
9942
- const D = A.touches[0];
9942
+ const D = P.touches[0];
9943
9943
  o("context-card", C, {
9944
9944
  clientX: D.clientX,
9945
9945
  clientY: D.clientY,
@@ -9953,8 +9953,8 @@ const Xg = ["aria-pressed", "title"], Zg = {
9953
9953
  S && clearTimeout(S), C = null;
9954
9954
  }
9955
9955
  function M(z) {
9956
- const A = z.replace(/^[a-z][a-z0-9+.-]*:\/\//i, ""), D = A.lastIndexOf("/");
9957
- return D === -1 ? "" : A.slice(0, D);
9956
+ const P = z.replace(/^[a-z][a-z0-9+.-]*:\/\//i, ""), D = P.lastIndexOf("/");
9957
+ return D === -1 ? "" : P.slice(0, D);
9958
9958
  }
9959
9959
  function I(z) {
9960
9960
  return z === "kept" ? "✓" : z === "syncing" ? "⟳" : z === "partial" ? "◐" : "☁";
@@ -9963,13 +9963,13 @@ const Xg = ["aria-pressed", "title"], Zg = {
9963
9963
  return z.basename === ".trash" ? "🗑" : z.mime_type === "inode/storage" ? "💾" : z.type === "dir" && z.e2e === !0 ? "🔒" : null;
9964
9964
  }
9965
9965
  function V(z) {
9966
- const A = z.snippet;
9967
- return typeof A == "string" ? A : "";
9966
+ const P = z.snippet;
9967
+ return typeof P == "string" ? P : "";
9968
9968
  }
9969
9969
  function k(z) {
9970
- return cr(z).map((A) => A.text).join("");
9970
+ return cr(z).map((P) => P.text).join("");
9971
9971
  }
9972
- return (z, A) => (p(), m("div", {
9972
+ return (z, P) => (p(), m("div", {
9973
9973
  class: $e(["fe-grid", { "is-loading": e.loading }]),
9974
9974
  role: "listbox",
9975
9975
  "aria-multiselectable": "true",
@@ -9999,7 +9999,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
9999
9999
  onDragstart: (X) => T(D, X),
10000
10000
  onDragover: (X) => R(D, X),
10001
10001
  onDragleave: (X) => E(D),
10002
- onDrop: (X) => P(D, X),
10002
+ onDrop: (X) => A(D, X),
10003
10003
  onTouchstartPassive: (X) => O(D, X),
10004
10004
  onTouchend: y,
10005
10005
  onTouchmove: y
@@ -10047,10 +10047,10 @@ const Xg = ["aria-pressed", "title"], Zg = {
10047
10047
  ], 64))
10048
10048
  ], 64))), 128))
10049
10049
  ], 8, Rb)) : j("", !0)
10050
- ], 42, Ab);
10050
+ ], 42, Pb);
10051
10051
  }), 128)),
10052
10052
  !e.loading && e.files.length === 0 ? (p(), m("div", Hb, h(f(a)("empty.folder")), 1)) : j("", !0)
10053
- ], 10, Pb));
10053
+ ], 10, Ab));
10054
10054
  }
10055
10055
  }), jb = ["aria-label", "aria-busy"], Ub = ["aria-selected", "aria-label", "onClick", "onDblclick", "onContextmenu", "onDragstart", "onDragover", "onDragleave", "onDrop", "onTouchstartPassive"], Vb = { class: "fe-gal__thumb" }, Wb = ["src", "alt"], Yb = {
10056
10056
  key: 1,
@@ -10107,17 +10107,17 @@ const Xg = ["aria-pressed", "title"], Zg = {
10107
10107
  function E(k) {
10108
10108
  x.value === k.path && (x.value = null);
10109
10109
  }
10110
- function P(k, z) {
10110
+ function A(k, z) {
10111
10111
  x.value = null, k.type === "dir" && Zt(z) && (z.preventDefault(), z.stopPropagation(), o("item-drop-into", k, z));
10112
10112
  }
10113
10113
  let S, C = null;
10114
10114
  function O(k, z) {
10115
10115
  C = k, S && clearTimeout(S), S = setTimeout(() => {
10116
10116
  if (C) {
10117
- const A = z.touches[0];
10117
+ const P = z.touches[0];
10118
10118
  o("context-card", C, {
10119
- clientX: A.clientX,
10120
- clientY: A.clientY,
10119
+ clientX: P.clientX,
10120
+ clientY: P.clientY,
10121
10121
  preventDefault: () => {
10122
10122
  }
10123
10123
  });
@@ -10128,8 +10128,8 @@ const Xg = ["aria-pressed", "title"], Zg = {
10128
10128
  S && clearTimeout(S), C = null;
10129
10129
  }
10130
10130
  function M(k) {
10131
- const z = k.replace(/^[a-z][a-z0-9+.-]*:\/\//i, ""), A = z.lastIndexOf("/");
10132
- return A === -1 ? "" : z.slice(0, A);
10131
+ const z = k.replace(/^[a-z][a-z0-9+.-]*:\/\//i, ""), P = z.lastIndexOf("/");
10132
+ return P === -1 ? "" : z.slice(0, P);
10133
10133
  }
10134
10134
  function I(k) {
10135
10135
  return k.basename === ".trash" ? "🗑" : k.mime_type === "inode/storage" ? "💾" : k.type === "dir" && k.e2e === !0 ? "🔒" : null;
@@ -10148,58 +10148,58 @@ const Xg = ["aria-pressed", "title"], Zg = {
10148
10148
  "aria-label": f(a)("gallery.aria"),
10149
10149
  "aria-busy": e.loading ? "true" : void 0
10150
10150
  }, [
10151
- (p(!0), m(se, null, Te(e.files, (A) => {
10151
+ (p(!0), m(se, null, Te(e.files, (P) => {
10152
10152
  var D;
10153
10153
  return p(), m("div", {
10154
- key: A.path,
10154
+ key: P.path,
10155
10155
  class: $e(["fe-gal__card", {
10156
- "is-selected": d(A),
10157
- "is-dir": A.type === "dir",
10158
- "is-trash": A.trashed,
10159
- "is-clipped": (D = e.clipped) == null ? void 0 : D.has(A.path),
10160
- "is-droptarget": x.value === A.path
10156
+ "is-selected": d(P),
10157
+ "is-dir": P.type === "dir",
10158
+ "is-trash": P.trashed,
10159
+ "is-clipped": (D = e.clipped) == null ? void 0 : D.has(P.path),
10160
+ "is-droptarget": x.value === P.path
10161
10161
  }]),
10162
10162
  tabindex: "0",
10163
10163
  role: "option",
10164
- "aria-selected": d(A) ? "true" : "false",
10165
- "aria-label": f(s)(A),
10164
+ "aria-selected": d(P) ? "true" : "false",
10165
+ "aria-label": f(s)(P),
10166
10166
  draggable: "true",
10167
- onClick: (Y) => g(A, Y),
10168
- onDblclick: (Y) => v(A),
10169
- onContextmenu: (Y) => _(A, Y),
10170
- onDragstart: (Y) => T(A, Y),
10171
- onDragover: (Y) => R(A, Y),
10172
- onDragleave: (Y) => E(A),
10173
- onDrop: (Y) => P(A, Y),
10174
- onTouchstartPassive: (Y) => O(A, Y),
10167
+ onClick: (Y) => g(P, Y),
10168
+ onDblclick: (Y) => v(P),
10169
+ onContextmenu: (Y) => _(P, Y),
10170
+ onDragstart: (Y) => T(P, Y),
10171
+ onDragover: (Y) => R(P, Y),
10172
+ onDragleave: (Y) => E(P),
10173
+ onDrop: (Y) => A(P, Y),
10174
+ onTouchstartPassive: (Y) => O(P, Y),
10175
10175
  onTouchend: y,
10176
10176
  onTouchmove: y
10177
10177
  }, [
10178
10178
  l("div", Vb, [
10179
- i(A) ? (p(), m("img", {
10179
+ i(P) ? (p(), m("img", {
10180
10180
  key: 0,
10181
- src: i(A),
10182
- alt: A.basename,
10181
+ src: i(P),
10182
+ alt: P.basename,
10183
10183
  loading: "lazy",
10184
10184
  draggable: "false"
10185
- }, null, 8, Wb)) : I(A) ? (p(), m("span", Yb, h(I(A)), 1)) : (p(), m("span", {
10185
+ }, null, 8, Wb)) : I(P) ? (p(), m("span", Yb, h(I(P)), 1)) : (p(), m("span", {
10186
10186
  key: 2,
10187
10187
  class: "fe-gal__icon fe-gal__icon--svg",
10188
- innerHTML: f(Do)(A)
10188
+ innerHTML: f(Do)(P)
10189
10189
  }, null, 8, Gb)),
10190
10190
  l("div", qb, [
10191
- V(A) ? (p(), m("span", Jb, h(V(A)), 1)) : j("", !0),
10192
- e.showParentPath && M(A.path) ? (p(), m("span", {
10191
+ V(P) ? (p(), m("span", Jb, h(V(P)), 1)) : j("", !0),
10192
+ e.showParentPath && M(P.path) ? (p(), m("span", {
10193
10193
  key: 1,
10194
10194
  class: "fe-gal__meta-line fe-gal__meta-line--path",
10195
- title: M(A.path)
10196
- }, h(M(A.path)), 9, Xb)) : j("", !0)
10195
+ title: M(P.path)
10196
+ }, h(M(P.path)), 9, Xb)) : j("", !0)
10197
10197
  ])
10198
10198
  ]),
10199
10199
  l("div", {
10200
10200
  class: "fe-gal__label",
10201
- title: A.basename
10202
- }, h(f(s)(A)), 9, Zb)
10201
+ title: P.basename
10202
+ }, h(f(s)(P)), 9, Zb)
10203
10203
  ], 42, Ub);
10204
10204
  }), 128)),
10205
10205
  !e.loading && e.files.length === 0 ? (p(), m("div", Qb, h(f(a)("empty.folder")), 1)) : j("", !0)
@@ -10308,7 +10308,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10308
10308
  }, Cy = { class: "fe-inspector__pathcell" }, Ty = ["title"], zy = ["title", "aria-label"], Ey = {
10309
10309
  key: 2,
10310
10310
  class: "fe-inspector__hero"
10311
- }, Py = ["innerHTML"], Ay = ["title"], Dy = { class: "fe-inspector__sub" }, My = {
10311
+ }, Ay = ["innerHTML"], Py = ["title"], Dy = { class: "fe-inspector__sub" }, My = {
10312
10312
  key: 0,
10313
10313
  class: "fe-inspector__section"
10314
10314
  }, Oy = { class: "fe-inspector__heading" }, Iy = {
@@ -10403,7 +10403,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10403
10403
  return new Date(xe).toISOString();
10404
10404
  }
10405
10405
  }
10406
- function P(xe) {
10406
+ function A(xe) {
10407
10407
  if (!xe) return "—";
10408
10408
  const Ce = Date.parse(xe);
10409
10409
  return Number.isNaN(Ce) ? xe : E(Ce);
@@ -10425,17 +10425,17 @@ const Xg = ["aria-pressed", "title"], Zg = {
10425
10425
  function y(xe) {
10426
10426
  return a(`inspector.perm.${xe}`) === `inspector.perm.${xe}` ? xe : a(`inspector.perm.${xe}`);
10427
10427
  }
10428
- const M = /* @__PURE__ */ w("idle"), I = /* @__PURE__ */ w([]), K = /* @__PURE__ */ w(null), V = /* @__PURE__ */ w(!0), k = /* @__PURE__ */ w(!1), z = /* @__PURE__ */ w("idle"), A = /* @__PURE__ */ w([]);
10428
+ const M = /* @__PURE__ */ w("idle"), I = /* @__PURE__ */ w([]), K = /* @__PURE__ */ w(null), V = /* @__PURE__ */ w(!0), k = /* @__PURE__ */ w(!1), z = /* @__PURE__ */ w("idle"), P = /* @__PURE__ */ w([]);
10429
10429
  let D = 0;
10430
10430
  async function Y() {
10431
10431
  const xe = ++D;
10432
- if (K.value = null, I.value = [], A.value = [], i.value && g.value && v.value != null ? (M.value = "loading", X(xe)) : M.value = "hidden", i.value) {
10432
+ if (K.value = null, I.value = [], P.value = [], i.value && g.value && v.value != null ? (M.value = "loading", X(xe)) : M.value = "hidden", i.value) {
10433
10433
  z.value = "loading";
10434
10434
  const Ce = i.value.path;
10435
10435
  try {
10436
10436
  const { shares: we } = await n.api.listShares(Ce);
10437
10437
  if (xe !== D) return;
10438
- A.value = Array.isArray(we) ? we : [], z.value = "ok";
10438
+ P.value = Array.isArray(we) ? we : [], z.value = "ok";
10439
10439
  } catch {
10440
10440
  if (xe !== D) return;
10441
10441
  z.value = "hidden";
@@ -10560,7 +10560,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10560
10560
  if (Ye >= le) return W.format(Math.trunc(we / le), Q);
10561
10561
  return W.format(we, "second");
10562
10562
  } catch {
10563
- return P(xe);
10563
+ return A(xe);
10564
10564
  }
10565
10565
  }
10566
10566
  return Ue(
@@ -10661,11 +10661,11 @@ const Xg = ["aria-pressed", "title"], Zg = {
10661
10661
  l("span", {
10662
10662
  class: "fe-inspector__bigicon",
10663
10663
  innerHTML: f(Do)({ type: "dir" })
10664
- }, null, 8, Py),
10664
+ }, null, 8, Ay),
10665
10665
  l("p", {
10666
10666
  class: "fe-inspector__name",
10667
10667
  title: e.dirLabel
10668
- }, h(e.dirLabel), 9, Ay),
10668
+ }, h(e.dirLabel), 9, Py),
10669
10669
  l("p", Dy, h(f(a)("inspector.folder_items", { n: e.dirCount })), 1)
10670
10670
  ]))
10671
10671
  ]),
@@ -10679,7 +10679,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10679
10679
  }, [
10680
10680
  l("div", By, [
10681
10681
  l("span", Ny, h(f(a)("inspector.versions.v", { n: we.version_n })), 1),
10682
- l("span", Ry, h(P(we.created_at)) + " · " + h(f(r)(we.size)), 1)
10682
+ l("span", Ry, h(A(we.created_at)) + " · " + h(f(r)(we.size)), 1)
10683
10683
  ]),
10684
10684
  K.value === we.id ? (p(), m("div", Ky, [
10685
10685
  l("p", Hy, h(f(a)("inspector.versions.restore_confirm")), 1),
@@ -10739,8 +10739,8 @@ const Xg = ["aria-pressed", "title"], Zg = {
10739
10739
  ])) : j("", !0),
10740
10740
  z.value === "ok" ? (p(), m("section", Zy, [
10741
10741
  l("h3", Qy, h(f(a)("inspector.section.shares")), 1),
10742
- A.value.length === 0 ? (p(), m("p", e_, h(f(a)("inspector.shares.empty")), 1)) : (p(), m("ul", t_, [
10743
- (p(!0), m(se, null, Te(A.value, (we) => (p(), m("li", {
10742
+ P.value.length === 0 ? (p(), m("p", e_, h(f(a)("inspector.shares.empty")), 1)) : (p(), m("ul", t_, [
10743
+ (p(!0), m(se, null, Te(P.value, (we) => (p(), m("li", {
10744
10744
  key: we.uuid,
10745
10745
  class: "fe-inspector__share"
10746
10746
  }, [
@@ -10749,7 +10749,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10749
10749
  title: we.url
10750
10750
  }, h(we.url), 9, n_),
10751
10751
  we.password_pin ? (p(), m("span", o_, "PIN")) : j("", !0),
10752
- we.expires_at ? (p(), m("span", a_, h(P(we.expires_at)), 1)) : j("", !0),
10752
+ we.expires_at ? (p(), m("span", a_, h(A(we.expires_at)), 1)) : j("", !0),
10753
10753
  l("button", {
10754
10754
  type: "button",
10755
10755
  class: "fe-inspector__copy",
@@ -10778,7 +10778,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10778
10778
  }, h(we.author_name || "—"), 9, p_),
10779
10779
  l("span", {
10780
10780
  class: "fe-inspector__comment-time",
10781
- title: P(we.created_at)
10781
+ title: A(we.created_at)
10782
10782
  }, h(Me(we.created_at)), 9, h_),
10783
10783
  we.can_delete ? (p(), m("button", {
10784
10784
  key: 0,
@@ -10825,7 +10825,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10825
10825
  }, $_ = { class: "fe-cmdp__label" }, C_ = { class: "fe-cmdp__group" }, T_ = ["aria-selected", "onMouseenter", "onClick"], z_ = {
10826
10826
  class: "fe-cmdp__icon",
10827
10827
  "aria-hidden": "true"
10828
- }, E_ = { class: "fe-cmdp__label" }, P_ = { class: "fe-cmdp__group" }, A_ = {
10828
+ }, E_ = { class: "fe-cmdp__label" }, A_ = { class: "fe-cmdp__group" }, P_ = {
10829
10829
  key: 0,
10830
10830
  class: "fe-cmdp__loading"
10831
10831
  }, D_ = ["aria-selected", "onMouseenter", "onClick"], M_ = {
@@ -10911,15 +10911,15 @@ const Xg = ["aria-pressed", "title"], Zg = {
10911
10911
  { command: "split-toggle", label: a("cmd.split_toggle"), icon: "◫", enabled: n.splitEnabled !== !1 }
10912
10912
  ].filter((b) => b.enabled && v(b.label, N) >= 0).map((b) => ({ kind: "command", id: `cmd:${b.command}`, label: b.label, icon: b.icon, command: b.command }));
10913
10913
  }), R = /* @__PURE__ */ w([]), E = /* @__PURE__ */ w(!1);
10914
- let P, S = 0;
10914
+ let A, S = 0;
10915
10915
  function C(N) {
10916
- P && clearTimeout(P);
10916
+ A && clearTimeout(A);
10917
10917
  const B = n.globalSearch;
10918
10918
  if (!B || N.length < Z_) {
10919
10919
  R.value = [], E.value = !1;
10920
10920
  return;
10921
10921
  }
10922
- E.value = !0, P = setTimeout(async () => {
10922
+ E.value = !0, A = setTimeout(async () => {
10923
10923
  const b = ++S;
10924
10924
  try {
10925
10925
  const $ = await B(N);
@@ -10972,7 +10972,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10972
10972
  b.unshift(B), K(b);
10973
10973
  }
10974
10974
  function k(N) {
10975
- K(M.value.filter((B) => B !== N)), i.value >= A.value.length && (i.value = Math.max(0, A.value.length - 1));
10975
+ K(M.value.filter((B) => B !== N)), i.value >= P.value.length && (i.value = Math.max(0, P.value.length - 1));
10976
10976
  }
10977
10977
  const z = Z(() => {
10978
10978
  const N = s.value.trim(), B = [];
@@ -10981,7 +10981,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
10981
10981
  for (const $ of b)
10982
10982
  B.push({ kind: "saved", id: `saved:${$.s}`, label: $.s, icon: "🔖", query: $.s });
10983
10983
  return B;
10984
- }), A = Z(() => [
10984
+ }), P = Z(() => [
10985
10985
  ..._.value,
10986
10986
  ...T.value,
10987
10987
  ...y.value,
@@ -10992,14 +10992,14 @@ const Xg = ["aria-pressed", "title"], Zg = {
10992
10992
  i.value = 0, C(N.trim());
10993
10993
  });
10994
10994
  function ee(N) {
10995
- const B = A.value.length;
10995
+ const B = P.value.length;
10996
10996
  B && (i.value = (i.value + N + B) % B, wt(() => {
10997
10997
  var b, $;
10998
10998
  ($ = (b = g.value) == null ? void 0 : b.querySelector(".is-active")) == null || $.scrollIntoView({ block: "nearest" });
10999
10999
  }));
11000
11000
  }
11001
11001
  function he(N) {
11002
- const B = N ?? A.value[i.value];
11002
+ const B = N ?? P.value[i.value];
11003
11003
  if (B) {
11004
11004
  if (B.kind === "saved") {
11005
11005
  s.value = B.query, wt(() => {
@@ -11084,11 +11084,11 @@ const Xg = ["aria-pressed", "title"], Zg = {
11084
11084
  N ? (s.value = "", i.value = 0, R.value = [], E.value = !1, M.value = I(), document.addEventListener("keydown", ue, !0), wt(() => {
11085
11085
  var B;
11086
11086
  return (B = d.value) == null ? void 0 : B.focus();
11087
- })) : (P && clearTimeout(P), document.removeEventListener("keydown", ue, !0));
11087
+ })) : (A && clearTimeout(A), document.removeEventListener("keydown", ue, !0));
11088
11088
  }
11089
11089
  ), dt(() => {
11090
- P && clearTimeout(P), document.removeEventListener("keydown", ue, !0);
11091
- }), (N, B) => (p(), Ge(Pn, { name: "fe-modal" }, {
11090
+ A && clearTimeout(A), document.removeEventListener("keydown", ue, !0);
11091
+ }), (N, B) => (p(), Ge(An, { name: "fe-modal" }, {
11092
11092
  default: lt(() => [
11093
11093
  e.open ? (p(), m("div", {
11094
11094
  key: 0,
@@ -11170,8 +11170,8 @@ const Xg = ["aria-pressed", "title"], Zg = {
11170
11170
  ], 42, T_))), 128))
11171
11171
  ], 64)) : j("", !0),
11172
11172
  y.value.length || E.value ? (p(), m(se, { key: 1 }, [
11173
- l("div", P_, h(f(a)("palette.everywhere")), 1),
11174
- E.value && !y.value.length ? (p(), m("div", A_, h(f(a)("palette.searching")), 1)) : j("", !0),
11173
+ l("div", A_, h(f(a)("palette.everywhere")), 1),
11174
+ E.value && !y.value.length ? (p(), m("div", P_, h(f(a)("palette.searching")), 1)) : j("", !0),
11175
11175
  (p(!0), m(se, null, Te(y.value, (b, $) => (p(), m("button", {
11176
11176
  key: b.id,
11177
11177
  type: "button",
@@ -11241,7 +11241,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
11241
11241
  l("span", q_, h(b.label), 1)
11242
11242
  ], 42, Y_))), 128))
11243
11243
  ], 64)) : j("", !0),
11244
- A.value.length === 0 && !E.value ? (p(), m("div", J_, h(f(a)("palette.empty")), 1)) : j("", !0)
11244
+ P.value.length === 0 && !E.value ? (p(), m("div", J_, h(f(a)("palette.empty")), 1)) : j("", !0)
11245
11245
  ], 512),
11246
11246
  l("div", X_, h(f(a)("palette.hint")), 1)
11247
11247
  ], 8, __)
@@ -11300,7 +11300,7 @@ const Xg = ["aria-pressed", "title"], Zg = {
11300
11300
  function g() {
11301
11301
  n.closeOnBackdrop !== !1 && o("close");
11302
11302
  }
11303
- return (v, _) => (p(), Ge(Pn, { name: "fe-modal" }, {
11303
+ return (v, _) => (p(), Ge(An, { name: "fe-modal" }, {
11304
11304
  default: lt(() => [
11305
11305
  e.open ? (p(), m("div", {
11306
11306
  key: 0,
@@ -11820,7 +11820,7 @@ function $x(e) {
11820
11820
  const o = Sx(n);
11821
11821
  t.textContent !== o && (t.textContent = o);
11822
11822
  }
11823
- const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class: "fe-thememode__seg" }, Ex = ["aria-pressed", "onClick"], Px = {
11823
+ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class: "fe-thememode__seg" }, Ex = ["aria-pressed", "onClick"], Ax = {
11824
11824
  class: "fe-ficon",
11825
11825
  viewBox: "0 0 24 24",
11826
11826
  fill: "none",
@@ -11830,7 +11830,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
11830
11830
  "stroke-linejoin": "round",
11831
11831
  "aria-hidden": "true",
11832
11832
  focusable: "false"
11833
- }, Ax = {
11833
+ }, Px = {
11834
11834
  key: 1,
11835
11835
  d: "M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"
11836
11836
  }, Dx = { class: "fe-themes__hint" }, Mx = ["aria-label"], Ox = ["aria-selected", "onClick"], Ix = { class: "fe-themecard__name" }, Lx = ["title"], Fx = ["disabled"], Bx = /* @__PURE__ */ Ve({
@@ -11890,7 +11890,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
11890
11890
  "aria-pressed": s.value === _.id,
11891
11891
  onClick: (T) => o("mode", _.id)
11892
11892
  }, [
11893
- (p(), m("svg", Px, [
11893
+ (p(), m("svg", Ax, [
11894
11894
  _.id === "light" ? (p(), m(se, { key: 0 }, [
11895
11895
  v[3] || (v[3] = l("circle", {
11896
11896
  cx: "12",
@@ -11898,7 +11898,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
11898
11898
  r: "4"
11899
11899
  }, null, -1)),
11900
11900
  v[4] || (v[4] = l("path", { d: "M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4" }, null, -1))
11901
- ], 64)) : _.id === "dark" ? (p(), m("path", Ax)) : (p(), m(se, { key: 2 }, [
11901
+ ], 64)) : _.id === "dark" ? (p(), m("path", Px)) : (p(), m(se, { key: 2 }, [
11902
11902
  v[5] || (v[5] = l("circle", {
11903
11903
  cx: "12",
11904
11904
  cy: "12",
@@ -12034,7 +12034,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12034
12034
  function E() {
12035
12035
  g.value = null;
12036
12036
  }
12037
- function P(y) {
12037
+ function A(y) {
12038
12038
  g.value = null, jm(y);
12039
12039
  }
12040
12040
  function S() {
@@ -12141,7 +12141,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12141
12141
  class: "fe-btn fe-btn--icon-only fe-shortset__btn",
12142
12142
  title: f(a)("shortcuts.settings.reset"),
12143
12143
  "aria-label": f(a)("shortcuts.settings.reset"),
12144
- onClick: (k) => P(K.id)
12144
+ onClick: (k) => A(K.id)
12145
12145
  }, " ↺ ", 8, ek)) : j("", !0)
12146
12146
  ], 64)) : (p(), m("span", tk, h(f(a)("shortcuts.settings.fixed")), 1))
12147
12147
  ])
@@ -12200,7 +12200,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12200
12200
  }, Ek = {
12201
12201
  key: 0,
12202
12202
  class: "fe-preview__fallback"
12203
- }, Pk = ["href"], Ak = {
12203
+ }, Ak = ["href"], Pk = {
12204
12204
  key: 1,
12205
12205
  class: "fe-preview__fallback"
12206
12206
  }, Dk = {
@@ -12316,28 +12316,28 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12316
12316
  diff: "diff",
12317
12317
  patch: "diff"
12318
12318
  }, v = ["txt", "log"], _ = ["docx", "doc", "xlsx", "xls", "pptx", "ppt", "odt", "ods", "odp", "rtf"], T = {
12319
- glb: () => import("./Viewer3D-gJVZH7yc.js"),
12320
- gltf: () => import("./Viewer3D-gJVZH7yc.js"),
12321
- obj: () => import("./Viewer3D-gJVZH7yc.js"),
12322
- stl: () => import("./Viewer3D-gJVZH7yc.js"),
12323
- fbx: () => import("./Viewer3D-gJVZH7yc.js"),
12324
- "3ds": () => import("./Viewer3D-gJVZH7yc.js"),
12325
- epub: () => import("./EpubViewer-Bq0A2gEI.js"),
12326
- mmd: () => import("./MermaidViewer-BDE1_qFE.js"),
12327
- mermaid: () => import("./MermaidViewer-BDE1_qFE.js"),
12328
- drawio: () => import("./DrawioViewer-7J6AcYin.js"),
12329
- dio: () => import("./DrawioViewer-7J6AcYin.js"),
12330
- tif: () => import("./TiffViewer-BCkX1SH8.js"),
12331
- tiff: () => import("./TiffViewer-BCkX1SH8.js"),
12332
- psd: () => import("./PsdViewer-0n-kvD09.js"),
12319
+ glb: () => import("./Viewer3D-BDU6oStH.js"),
12320
+ gltf: () => import("./Viewer3D-BDU6oStH.js"),
12321
+ obj: () => import("./Viewer3D-BDU6oStH.js"),
12322
+ stl: () => import("./Viewer3D-BDU6oStH.js"),
12323
+ fbx: () => import("./Viewer3D-BDU6oStH.js"),
12324
+ "3ds": () => import("./Viewer3D-BDU6oStH.js"),
12325
+ epub: () => import("./EpubViewer-xy0EH-Nt.js"),
12326
+ mmd: () => import("./MermaidViewer-B2jLNaNa.js"),
12327
+ mermaid: () => import("./MermaidViewer-B2jLNaNa.js"),
12328
+ drawio: () => import("./DrawioViewer-Cgd-eAre.js"),
12329
+ dio: () => import("./DrawioViewer-Cgd-eAre.js"),
12330
+ tif: () => import("./TiffViewer-BRUHhSyn.js"),
12331
+ tiff: () => import("./TiffViewer-BRUHhSyn.js"),
12332
+ psd: () => import("./PsdViewer-od6i-E7E.js"),
12333
12333
  // PDF deliberately uses the native browser viewer (`kind === 'pdf'`
12334
12334
  // branch in the template). PdfViewer.vue still exists for callers
12335
12335
  // that want the rich custom UI but the SFC default keeps things
12336
12336
  // minimal — the browser already paints search/zoom/page UI for free.
12337
- ipynb: () => import("./IpynbViewer-2Jga-b_r.js"),
12338
- csv: () => import("./CsvViewer-u4Nq6VdC.js"),
12339
- tsv: () => import("./CsvViewer-u4Nq6VdC.js"),
12340
- zip: () => import("./ArchiveViewer-B05olHky.js")
12337
+ ipynb: () => import("./IpynbViewer-CRZ00YV4.js"),
12338
+ csv: () => import("./CsvViewer-B8QzUqaN.js"),
12339
+ tsv: () => import("./CsvViewer-B8QzUqaN.js"),
12340
+ zip: () => import("./ArchiveViewer-DBxmDE3C.js")
12341
12341
  }, x = Z(() => {
12342
12342
  const ye = r(n.file);
12343
12343
  if (!ye) return "other";
@@ -12347,7 +12347,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12347
12347
  if (ye === "pdf") return "pdf";
12348
12348
  const de = n.openMode !== "view";
12349
12349
  return ye === "md" || ye === "markdown" ? "markdown" : ye in g ? "code" : ye in T ? "viewer" : _.includes(ye) ? "office" : v.includes(ye) ? de ? "code" : "text" : "other";
12350
- }), R = /* @__PURE__ */ Gn(null), E = /* @__PURE__ */ w(null), P = /* @__PURE__ */ w(!1);
12350
+ }), R = /* @__PURE__ */ Gn(null), E = /* @__PURE__ */ w(null), A = /* @__PURE__ */ w(!1);
12351
12351
  async function S(ye) {
12352
12352
  R.value = null, E.value = null;
12353
12353
  const de = T[ye];
@@ -12356,11 +12356,11 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12356
12356
  const Se = await de();
12357
12357
  R.value = Se.default ?? Se;
12358
12358
  } catch (Se) {
12359
- E.value = Se instanceof Error ? Se.message : "viewer load failed", ye === "pdf" && (P.value = !0);
12359
+ E.value = Se instanceof Error ? Se.message : "viewer load failed", ye === "pdf" && (A.value = !0);
12360
12360
  }
12361
12361
  }
12362
12362
  function C() {
12363
- P.value = !0;
12363
+ A.value = !0;
12364
12364
  }
12365
12365
  const O = Z(() => {
12366
12366
  var Se;
@@ -12372,7 +12372,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12372
12372
  authHeaders: n.authHeaders,
12373
12373
  authCredentials: n.authCredentials
12374
12374
  };
12375
- return n.file && (de.filePath = A(n.file.path), (ye === "zip" || ye === "rar" || ye === "7z" || ye === "tar" || ye === "gz" || ye === "tgz") && (de.filePath = n.file.path)), (ye === "drawio" || ye === "dio") && (de.drawioUrl = n.drawioUrl ?? void 0, de.saveUrl = n.saveTextEndpoint ?? void 0, de.readOnly = n.openMode === "view"), ye === "pdf" && (de.pdfWorkerUrl = n.pdfWorkerUrl ?? void 0, de.pdfSaveUrl = n.pdfSaveUrl ?? void 0), de;
12375
+ return n.file && (de.filePath = P(n.file.path), (ye === "zip" || ye === "rar" || ye === "7z" || ye === "tar" || ye === "gz" || ye === "tgz") && (de.filePath = n.file.path)), (ye === "drawio" || ye === "dio") && (de.drawioUrl = n.drawioUrl ?? void 0, de.saveUrl = n.saveTextEndpoint ?? void 0, de.readOnly = n.openMode === "view"), ye === "pdf" && (de.pdfWorkerUrl = n.pdfWorkerUrl ?? void 0, de.pdfSaveUrl = n.pdfSaveUrl ?? void 0), de;
12376
12376
  });
12377
12377
  function y() {
12378
12378
  I(n.openMode || "edit");
@@ -12382,7 +12382,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12382
12382
  }
12383
12383
  function I(ye) {
12384
12384
  if (!n.file) return;
12385
- const de = r(n.file), Se = n.viewerBaseUrl || "/files/edit", Pe = Se.includes("?") ? "&" : "?", Fe = `${Se}${Pe}path=${encodeURIComponent(n.file.path)}&type=${encodeURIComponent(de)}&mode=${encodeURIComponent(ye)}`;
12385
+ const de = r(n.file), Se = n.viewerBaseUrl || "/files/edit", Ae = Se.includes("?") ? "&" : "?", Fe = `${Se}${Ae}path=${encodeURIComponent(n.file.path)}&type=${encodeURIComponent(de)}&mode=${encodeURIComponent(ye)}`;
12386
12386
  window.open(Fe, "_blank", "noopener");
12387
12387
  }
12388
12388
  const K = /* @__PURE__ */ new Set([
@@ -12456,7 +12456,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12456
12456
  ]), V = Z(
12457
12457
  () => !!n.file && K.has(r(n.file))
12458
12458
  ), k = Z(() => n.file ? n.previewUrl(n.file.path) : ""), z = Z(() => n.file ? n.downloadUrl(n.file.path) : "");
12459
- function A(ye) {
12459
+ function P(ye) {
12460
12460
  const de = ye.indexOf("://");
12461
12461
  return de === -1 ? ye : ye.slice(de + 3);
12462
12462
  }
@@ -12480,7 +12480,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12480
12480
  method: "POST",
12481
12481
  headers: ye,
12482
12482
  credentials: n.authCredentials || "same-origin",
12483
- body: JSON.stringify({ path: A(n.file.path), content: X.value })
12483
+ body: JSON.stringify({ path: P(n.file.path), content: X.value })
12484
12484
  });
12485
12485
  if (!de.ok)
12486
12486
  throw new Error(`save failed: ${de.status} ${await de.text()}`);
@@ -12546,7 +12546,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12546
12546
  if (!ce.value) return;
12547
12547
  const ye = ce.value, de = Array.from(ye.querySelectorAll("pre > code"));
12548
12548
  if (de.length === 0) return;
12549
- let Se, Pe;
12549
+ let Se, Ae;
12550
12550
  for (const yt of de) {
12551
12551
  const Mt = yt.className || "", Bn = /\blanguage-mermaid\b/.test(Mt) || /\blanguage-mmd\b/.test(Mt), rn = /\blanguage-math\b/.test(Mt) || /\blanguage-latex\b/.test(Mt) || /\blanguage-tex\b/.test(Mt);
12552
12552
  if (Bn) {
@@ -12570,19 +12570,19 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12570
12570
  } catch {
12571
12571
  }
12572
12572
  } else if (rn) {
12573
- if (Pe === void 0)
12573
+ if (Ae === void 0)
12574
12574
  try {
12575
12575
  const Tt = await import(
12576
12576
  /* @vite-ignore */
12577
12577
  "./katex-yuB6V-q6.js"
12578
12578
  );
12579
- Pe = Tt.default ?? Tt;
12579
+ Ae = Tt.default ?? Tt;
12580
12580
  } catch {
12581
- Pe = null;
12581
+ Ae = null;
12582
12582
  }
12583
- if (!Pe) continue;
12583
+ if (!Ae) continue;
12584
12584
  try {
12585
- const Tt = Pe.renderToString(yt.textContent || "", {
12585
+ const Tt = Ae.renderToString(yt.textContent || "", {
12586
12586
  displayMode: !0,
12587
12587
  throwOnError: !1
12588
12588
  }), Wt = document.createElement("div");
@@ -12600,12 +12600,12 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12600
12600
  Ce.value = "";
12601
12601
  return;
12602
12602
  }
12603
- const Pe = Se.default ?? Se;
12604
- if (Pe.getLanguage(de)) {
12605
- const Fe = Pe.highlight(ye, { language: de, ignoreIllegals: !0 });
12603
+ const Ae = Se.default ?? Se;
12604
+ if (Ae.getLanguage(de)) {
12605
+ const Fe = Ae.highlight(ye, { language: de, ignoreIllegals: !0 });
12606
12606
  Ce.value = Fe.value;
12607
12607
  } else {
12608
- const Fe = Pe.highlightAuto(ye);
12608
+ const Fe = Ae.highlightAuto(ye);
12609
12609
  Ce.value = Fe.value;
12610
12610
  }
12611
12611
  } catch (Se) {
@@ -12668,12 +12668,12 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12668
12668
  }[ye] ?? "plaintext";
12669
12669
  }
12670
12670
  async function H(ye, de) {
12671
- var Pe;
12671
+ var Ae;
12672
12672
  const Se = await uc();
12673
12673
  if (Se || (le.value = !0), !Se || !Ye.value) return !1;
12674
12674
  try {
12675
12675
  ke();
12676
- const Fe = !!n.saveTextEndpoint && n.openMode !== "view", Qe = n.theme === "dark" ? !0 : n.theme === "light" ? !1 : (Pe = window.matchMedia) == null ? void 0 : Pe.call(window, "(prefers-color-scheme: dark)").matches;
12676
+ const Fe = !!n.saveTextEndpoint && n.openMode !== "view", Qe = n.theme === "dark" ? !0 : n.theme === "light" ? !1 : (Ae = window.matchMedia) == null ? void 0 : Ae.call(window, "(prefers-color-scheme: dark)").matches;
12677
12677
  return L = Se.editor.create(Ye.value, {
12678
12678
  value: ye,
12679
12679
  language: G(de),
@@ -12705,13 +12705,13 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12705
12705
  headers: de,
12706
12706
  credentials: n.authCredentials || "same-origin",
12707
12707
  body: JSON.stringify({
12708
- path: A(n.file.path),
12708
+ path: P(n.file.path),
12709
12709
  content: ye
12710
12710
  })
12711
12711
  });
12712
12712
  if (!Se.ok) {
12713
- const Pe = await Se.text().catch(() => "");
12714
- throw new Error(`${Se.status} ${Se.statusText}${Pe ? " — " + Pe.slice(0, 150) : ""}`);
12713
+ const Ae = await Se.text().catch(() => "");
12714
+ throw new Error(`${Se.status} ${Se.statusText}${Ae ? " — " + Ae.slice(0, 150) : ""}`);
12715
12715
  }
12716
12716
  me.value = !0, setTimeout(() => {
12717
12717
  me.value = !1;
@@ -12724,7 +12724,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12724
12724
  }
12725
12725
  }
12726
12726
  async function fe(ye, de, Se) {
12727
- if (X.value = "", q.value = "", Ce.value = "", Y.value = null, ve.value = null, R.value = null, E.value = null, P.value = !1, Be(), ke(), !(!ye || !de)) {
12727
+ if (X.value = "", q.value = "", Ce.value = "", Y.value = null, ve.value = null, R.value = null, E.value = null, A.value = !1, Be(), ke(), !(!ye || !de)) {
12728
12728
  if (Se === "viewer") {
12729
12729
  await S(r(n.file));
12730
12730
  return;
@@ -12735,15 +12735,15 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12735
12735
  await Xe(X.value);
12736
12736
  return;
12737
12737
  }
12738
- const Pe = g[r(n.file)] || "";
12739
- uv() ? (await new Promise((ft) => setTimeout(ft, 0)), await H(X.value, r(n.file)) || await we(X.value, Pe)) : (Se === "code" && await we(X.value, Pe), uc().then(async (Qe) => {
12738
+ const Ae = g[r(n.file)] || "";
12739
+ uv() ? (await new Promise((ft) => setTimeout(ft, 0)), await H(X.value, r(n.file)) || await we(X.value, Ae)) : (Se === "code" && await we(X.value, Ae), uc().then(async (Qe) => {
12740
12740
  if (!Qe) {
12741
12741
  le.value = !0;
12742
12742
  return;
12743
12743
  }
12744
12744
  n.open && (await new Promise((ft) => setTimeout(ft, 0)), await H(X.value, r(n.file)));
12745
12745
  }));
12746
- } else Se === "office" && (await new Promise((Pe) => setTimeout(Pe, 0)), await Ie());
12746
+ } else Se === "office" && (await new Promise((Ae) => setTimeout(Ae, 0)), await Ie());
12747
12747
  }
12748
12748
  }
12749
12749
  Ue(
@@ -12783,8 +12783,8 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12783
12783
  });
12784
12784
  if (!de.ok)
12785
12785
  throw new Error(`Config fetch ${de.status}: ${(await de.text()).slice(0, 200)}`);
12786
- const { config: Se, documentServerUrl: Pe } = await de.json();
12787
- await ut(Pe), Be();
12786
+ const { config: Se, documentServerUrl: Ae } = await de.json();
12787
+ await ut(Ae), Be();
12788
12788
  const Fe = "fe-onlyoffice-mount";
12789
12789
  re.value.id = Fe, Se.events = {
12790
12790
  onError: (ft) => {
@@ -12836,9 +12836,9 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12836
12836
  de();
12837
12837
  return;
12838
12838
  }
12839
- const Pe = document.getElementById(kc);
12840
- if (Pe) {
12841
- Pe.addEventListener("load", () => de()), Pe.addEventListener("error", () => Se(new Error("OnlyOffice api.js load failed")));
12839
+ const Ae = document.getElementById(kc);
12840
+ if (Ae) {
12841
+ Ae.addEventListener("load", () => de()), Ae.addEventListener("error", () => Se(new Error("OnlyOffice api.js load failed")));
12842
12842
  return;
12843
12843
  }
12844
12844
  const Fe = document.createElement("script");
@@ -12853,7 +12853,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12853
12853
  title: ((Se = e.file) == null ? void 0 : Se.basename) || "",
12854
12854
  chromeless: e.chromeless,
12855
12855
  theme: e.theme,
12856
- onClose: de[2] || (de[2] = (Pe) => o("close"))
12856
+ onClose: de[2] || (de[2] = (Ae) => o("close"))
12857
12857
  }, {
12858
12858
  actions: lt(() => [
12859
12859
  e.file && e.openMode === "view" && V.value && e.newTabEnabled !== !1 ? (p(), m("button", {
@@ -12876,7 +12876,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12876
12876
  l("button", {
12877
12877
  type: "button",
12878
12878
  class: "fe-btn",
12879
- onClick: de[1] || (de[1] = (Pe) => o("close"))
12879
+ onClick: de[1] || (de[1] = (Ae) => o("close"))
12880
12880
  }, h(f(a)("viewer.close")), 1)
12881
12881
  ]),
12882
12882
  default: lt(() => [
@@ -12934,7 +12934,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12934
12934
  l("div", xk, [
12935
12935
  Ke(l("textarea", {
12936
12936
  class: "fe-preview__md-split-input",
12937
- "onUpdate:modelValue": de[0] || (de[0] = (Pe) => X.value = Pe),
12937
+ "onUpdate:modelValue": de[0] || (de[0] = (Ae) => X.value = Ae),
12938
12938
  onInput: B,
12939
12939
  onKeydown: [
12940
12940
  Ft(Je(b, ["ctrl", "prevent"]), ["s"]),
@@ -12967,17 +12967,17 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
12967
12967
  innerHTML: q.value
12968
12968
  }, null, 8, Tk)) : (p(), m("pre", zk, h(X.value), 1))
12969
12969
  ], 64)) : x.value === "viewer" ? (p(), m(se, { key: 5 }, [
12970
- E.value && !P.value ? (p(), m("div", Ek, [
12970
+ E.value && !A.value ? (p(), m("div", Ek, [
12971
12971
  de[7] || (de[7] = l("span", { class: "fe-preview__fallback-icon" }, "⚠️", -1)),
12972
12972
  l("p", null, h(E.value), 1),
12973
12973
  l("a", {
12974
12974
  href: z.value,
12975
12975
  class: "fe-btn fe-btn--primary"
12976
- }, h(f(a)("viewer.download")), 9, Pk)
12976
+ }, h(f(a)("viewer.download")), 9, Ak)
12977
12977
  ])) : R.value ? (p(), Ge(uh(R.value), Gd({ key: 2 }, O.value, {
12978
12978
  class: "fe-preview__viewer",
12979
12979
  onFallback: C
12980
- }), null, 16)) : (p(), m("div", Ak, [
12980
+ }), null, 16)) : (p(), m("div", Pk, [
12981
12981
  de[8] || (de[8] = l("span", { class: "fe-preview__fallback-icon" }, "⏳", -1)),
12982
12982
  l("p", null, h(f(a)("viewer.loading")), 1)
12983
12983
  ]))
@@ -13124,7 +13124,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13124
13124
  "viewer-base-url": e.viewerBaseUrl,
13125
13125
  onClose: d[0] || (d[0] = (g) => o("close"))
13126
13126
  }, null, 8, ["open", "locale", "file", "theme", "preview-url", "download-url", "only-office-base", "only-office-config-endpoint", "auth-headers", "auth-credentials", "drawio-url", "pdf-worker-url", "viewer-base-url"]),
13127
- Re(Pn, { name: "fe-toast" }, {
13127
+ Re(An, { name: "fe-toast" }, {
13128
13128
  default: lt(() => [
13129
13129
  e.open ? (p(), m("div", {
13130
13130
  key: 0,
@@ -13186,7 +13186,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13186
13186
  }, zw = {
13187
13187
  key: 2,
13188
13188
  class: "fe-opc__empty"
13189
- }, Ew = ["aria-expanded", "aria-label"], Pw = ["stroke-dashoffset"], Aw = { class: "fe-opc__count" }, Dw = {
13189
+ }, Ew = ["aria-expanded", "aria-label"], Aw = ["stroke-dashoffset"], Pw = { class: "fe-opc__count" }, Dw = {
13190
13190
  key: 0,
13191
13191
  class: "fe-opc__pct"
13192
13192
  }, xi = 8.5, Mw = /* @__PURE__ */ Ve({
@@ -13204,7 +13204,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13204
13204
  const T = 2 * Math.PI * xi, x = Z(() => {
13205
13205
  const V = g.value;
13206
13206
  return V === null ? T * 0.72 : T * (1 - Math.min(100, Math.max(0, V)) / 100);
13207
- }), R = Z(() => g.value === null && v.value > 0), E = Z(() => v.value === 0 || g.value === null ? "" : n("opc.percent", { n: g.value })), P = Z(() => n("opc.aria_badge", { n: s.value.length })), S = {
13207
+ }), R = Z(() => g.value === null && v.value > 0), E = Z(() => v.value === 0 || g.value === null ? "" : n("opc.percent", { n: g.value })), A = Z(() => n("opc.aria_badge", { n: s.value.length })), S = {
13208
13208
  upload: "M12 16V5M7 9.5 12 5l5 4.5M5 19h14",
13209
13209
  copy: "M9 9h11v11H9zM5 15V4h11",
13210
13210
  move: "M4 12h13M12 6l6 6-6 6",
@@ -13242,7 +13242,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13242
13242
  ref: r,
13243
13243
  class: $e(["fe-opc", { "fe-opc--narrow": e.narrow, "fe-opc--open": a.value }])
13244
13244
  }, [
13245
- Re(Pn, { name: "fe-opc-pop" }, {
13245
+ Re(An, { name: "fe-opc-pop" }, {
13246
13246
  default: lt(() => [
13247
13247
  a.value ? (p(), m("section", {
13248
13248
  key: 0,
@@ -13305,20 +13305,20 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13305
13305
  key: 0,
13306
13306
  type: "button",
13307
13307
  class: "fe-opc__act",
13308
- onClick: (A) => e.center.cancel(z.key)
13308
+ onClick: (P) => e.center.cancel(z.key)
13309
13309
  }, h(f(n)("opc.cancel")), 9, gw)) : j("", !0),
13310
13310
  z.status === "error" && z.retryable ? (p(), m("button", {
13311
13311
  key: 1,
13312
13312
  type: "button",
13313
13313
  class: "fe-opc__act fe-opc__act--retry",
13314
- onClick: (A) => e.center.retry(z.key)
13314
+ onClick: (P) => e.center.retry(z.key)
13315
13315
  }, h(f(n)("opc.retry")), 9, bw)) : j("", !0),
13316
13316
  z.status !== "running" ? (p(), m("button", {
13317
13317
  key: 2,
13318
13318
  type: "button",
13319
13319
  class: "fe-opc__x",
13320
13320
  "aria-label": f(n)("opc.dismiss"),
13321
- onClick: (A) => e.center.dismiss(z.key)
13321
+ onClick: (P) => e.center.dismiss(z.key)
13322
13322
  }, "×", 8, yw)) : j("", !0)
13323
13323
  ])
13324
13324
  ], 2))), 128))
@@ -13366,7 +13366,7 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13366
13366
  type: "button",
13367
13367
  class: $e(["fe-opc__badge", { "is-error": d.value }]),
13368
13368
  "aria-expanded": a.value,
13369
- "aria-label": P.value,
13369
+ "aria-label": A.value,
13370
13370
  onClick: k[2] || (k[2] = (z) => a.value = !a.value)
13371
13371
  }, [
13372
13372
  (p(), m("svg", {
@@ -13394,9 +13394,9 @@ const Cx = ["aria-label"], Tx = { class: "fe-thememode__label" }, zx = { class:
13394
13394
  "stroke-dasharray": T,
13395
13395
  "stroke-dashoffset": x.value,
13396
13396
  transform: "rotate(-90 11 11)"
13397
- }, null, 8, Pw)
13397
+ }, null, 8, Aw)
13398
13398
  ], 2)),
13399
- l("span", Aw, h(s.value.length), 1),
13399
+ l("span", Pw, h(s.value.length), 1),
13400
13400
  E.value ? (p(), m("span", Dw, h(E.value), 1)) : j("", !0)
13401
13401
  ], 10, Ew)
13402
13402
  ], 2)) : j("", !0);
@@ -13455,7 +13455,7 @@ function Lw() {
13455
13455
  for (const K of C) {
13456
13456
  const V = `${S}:${K.input.id}`;
13457
13457
  if (y.add(V), K.actions && n.set(V, K.actions), o.has(V)) continue;
13458
- const k = M.findIndex((A) => A.key === V), z = Iw(V, K.input, k === -1 ? void 0 : M[k]);
13458
+ const k = M.findIndex((P) => P.key === V), z = Iw(V, K.input, k === -1 ? void 0 : M[k]);
13459
13459
  k === -1 ? (M = [z, ...M], I = !0) : JSON.stringify(M[k]) !== JSON.stringify(z) && (M[k] = z, I = !0), (z.status === "done" || z.status === "aborted") && i(V);
13460
13460
  }
13461
13461
  for (const K of [...M])
@@ -13488,7 +13488,7 @@ function Lw() {
13488
13488
  }
13489
13489
  const x = Z(
13490
13490
  () => e.value.filter((S) => S.status === "running").length
13491
- ), R = Z(() => e.value.filter((S) => S.status === "error").length), E = Z(() => R.value > 0), P = Z(() => {
13491
+ ), R = Z(() => e.value.filter((S) => S.status === "error").length), E = Z(() => R.value > 0), A = Z(() => {
13492
13492
  const S = e.value.filter((y) => y.status === "running");
13493
13493
  let C = 0, O = 0;
13494
13494
  for (const y of S) {
@@ -13506,7 +13506,7 @@ function Lw() {
13506
13506
  runningCount: x,
13507
13507
  errorCount: R,
13508
13508
  hasError: E,
13509
- overallPercent: P,
13509
+ overallPercent: A,
13510
13510
  sync: d,
13511
13511
  cancel: g,
13512
13512
  retry: v,
@@ -13536,8 +13536,8 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13536
13536
  setup(e, { emit: t }) {
13537
13537
  const n = e, o = t, { t: a } = ot(() => n.locale);
13538
13538
  function r(k, z) {
13539
- const A = k.querySelectorAll("button[title]");
13540
- for (const D of Array.from(A))
13539
+ const P = k.querySelectorAll("button[title]");
13540
+ for (const D of Array.from(P))
13541
13541
  if (D.getAttribute("title") === z) return D;
13542
13542
  return null;
13543
13543
  }
@@ -13584,9 +13584,9 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13584
13584
  i.value = s.filter((z) => {
13585
13585
  if (z.id === "help") return !0;
13586
13586
  if (!k) return !1;
13587
- const A = z.target(k);
13588
- if (!A) return !1;
13589
- const D = A.getBoundingClientRect();
13587
+ const P = z.target(k);
13588
+ if (!P) return !1;
13589
+ const D = P.getBoundingClientRect();
13590
13590
  return D.width > 0 && D.height > 0;
13591
13591
  });
13592
13592
  }
@@ -13595,12 +13595,12 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13595
13595
  var N;
13596
13596
  const k = g.value, z = n.root;
13597
13597
  if (!k) return;
13598
- const A = z ? k.target(z) : null;
13599
- if (!A) {
13598
+ const P = z ? k.target(z) : null;
13599
+ if (!P) {
13600
13600
  T.value = null, x.value = {};
13601
13601
  return;
13602
13602
  }
13603
- const D = A.getBoundingClientRect();
13603
+ const D = P.getBoundingClientRect();
13604
13604
  if (D.width <= 0 && D.height <= 0) {
13605
13605
  T.value = null, x.value = {};
13606
13606
  return;
@@ -13621,7 +13621,7 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13621
13621
  width: `${pe}px`
13622
13622
  };
13623
13623
  }
13624
- function P() {
13624
+ function A() {
13625
13625
  n.open && E();
13626
13626
  }
13627
13627
  function S() {
@@ -13650,9 +13650,9 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13650
13650
  var k;
13651
13651
  await E(), (k = R.value) == null || k.focus();
13652
13652
  }), rt(() => {
13653
- window.addEventListener("resize", P), window.addEventListener("scroll", P, !0);
13653
+ window.addEventListener("resize", A), window.addEventListener("scroll", A, !0);
13654
13654
  }), dt(() => {
13655
- window.removeEventListener("resize", P), window.removeEventListener("scroll", P, !0);
13655
+ window.removeEventListener("resize", A), window.removeEventListener("scroll", A, !0);
13656
13656
  });
13657
13657
  const M = /* @__PURE__ */ w(!1);
13658
13658
  let I;
@@ -13668,7 +13668,7 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13668
13668
  });
13669
13669
  const V = Z(() => `fe-ctx-backdrop--theme-${n.theme || "auto"}`);
13670
13670
  return (k, z) => (p(), Ge(gd, { to: "body" }, [
13671
- Re(Pn, { name: "fe-tour" }, {
13671
+ Re(An, { name: "fe-tour" }, {
13672
13672
  default: lt(() => [
13673
13673
  e.open && g.value ? (p(), m("div", {
13674
13674
  key: 0,
@@ -13701,8 +13701,8 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13701
13701
  l("h3", Rw, h(f(a)(g.value.titleKey)), 1),
13702
13702
  l("p", Kw, h(f(a)(g.value.descKey)), 1),
13703
13703
  l("div", Hw, [
13704
- (p(!0), m(se, null, Te(i.value, (A, D) => (p(), m("span", {
13705
- key: A.id,
13704
+ (p(!0), m(se, null, Te(i.value, (P, D) => (p(), m("span", {
13705
+ key: P.id,
13706
13706
  class: $e(["fe-tour__dot", { "is-active": D === d.value }])
13707
13707
  }, null, 2))), 128))
13708
13708
  ]),
@@ -13749,8 +13749,8 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13749
13749
  setup(e, { emit: t }) {
13750
13750
  const n = e, o = t, { t: a } = ot(() => n.locale), r = /* @__PURE__ */ w(null), s = /* @__PURE__ */ w(null);
13751
13751
  function i(R, E) {
13752
- var P;
13753
- r.value = R, E.dataTransfer && (E.dataTransfer.effectAllowed = "move", E.dataTransfer.setData("text/plain", ((P = n.tabs[R]) == null ? void 0 : P.id) ?? ""));
13752
+ var A;
13753
+ r.value = R, E.dataTransfer && (E.dataTransfer.effectAllowed = "move", E.dataTransfer.setData("text/plain", ((A = n.tabs[R]) == null ? void 0 : A.id) ?? ""));
13754
13754
  }
13755
13755
  function d(R, E) {
13756
13756
  r.value !== null && (E.preventDefault(), E.stopPropagation(), E.dataTransfer && (E.dataTransfer.dropEffect = "move"), s.value = R);
@@ -13776,35 +13776,35 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13776
13776
  "aria-label": f(a)("tabs.strip")
13777
13777
  }, [
13778
13778
  l("div", Ww, [
13779
- (p(!0), m(se, null, Te(e.tabs, (P, S) => (p(), m("div", {
13780
- key: P.id,
13779
+ (p(!0), m(se, null, Te(e.tabs, (A, S) => (p(), m("div", {
13780
+ key: A.id,
13781
13781
  class: $e(["fe-tabs__tab", {
13782
- "is-active": P.id === e.activeId,
13782
+ "is-active": A.id === e.activeId,
13783
13783
  "is-dragover": s.value === S && r.value !== null && r.value !== S
13784
13784
  }]),
13785
13785
  role: "tab",
13786
- "aria-selected": P.id === e.activeId ? "true" : "false",
13786
+ "aria-selected": A.id === e.activeId ? "true" : "false",
13787
13787
  tabindex: "0",
13788
13788
  draggable: "true",
13789
- title: P.label,
13790
- onClick: (C) => o("select", P.id),
13791
- onKeydown: Ft(Je((C) => o("select", P.id), ["prevent"]), ["enter"]),
13789
+ title: A.label,
13790
+ onClick: (C) => o("select", A.id),
13791
+ onKeydown: Ft(Je((C) => o("select", A.id), ["prevent"]), ["enter"]),
13792
13792
  onMousedown: E[0] || (E[0] = (C) => T(C)),
13793
- onAuxclick: (C) => x(P.id, C),
13793
+ onAuxclick: (C) => x(A.id, C),
13794
13794
  onDragstart: (C) => i(S, C),
13795
13795
  onDragover: (C) => d(S, C),
13796
13796
  onDragleave: (C) => g(S),
13797
13797
  onDrop: (C) => v(S, C),
13798
13798
  onDragend: _
13799
13799
  }, [
13800
- P.split ? (p(), m("span", Gw)) : j("", !0),
13801
- l("span", qw, h(P.label), 1),
13800
+ A.split ? (p(), m("span", Gw)) : j("", !0),
13801
+ l("span", qw, h(A.label), 1),
13802
13802
  l("button", {
13803
13803
  type: "button",
13804
13804
  class: "fe-tabs__close",
13805
13805
  "aria-label": f(a)("tabs.close"),
13806
13806
  title: f(a)("tabs.close"),
13807
- onClick: Je((C) => o("close", P.id), ["stop"])
13807
+ onClick: Je((C) => o("close", A.id), ["stop"])
13808
13808
  }, "×", 8, Jw)
13809
13809
  ], 42, Yw))), 128))
13810
13810
  ]),
@@ -13813,7 +13813,7 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13813
13813
  class: "fe-tabs__new",
13814
13814
  "aria-label": f(a)("tabs.new"),
13815
13815
  title: f(a)("tabs.new"),
13816
- onClick: E[1] || (E[1] = (P) => o("new"))
13816
+ onClick: E[1] || (E[1] = (A) => o("new"))
13817
13817
  }, "+", 8, Xw),
13818
13818
  e.splitEnabled !== !1 ? (p(), m("button", {
13819
13819
  key: 0,
@@ -13822,7 +13822,7 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13822
13822
  "aria-label": e.splitActive ? f(a)("tabs.split_off") : f(a)("tabs.split"),
13823
13823
  title: e.splitActive ? f(a)("tabs.split_off") : f(a)("tabs.split"),
13824
13824
  "aria-pressed": e.splitActive ? "true" : "false",
13825
- onClick: E[2] || (E[2] = (P) => o("toggle-split"))
13825
+ onClick: E[2] || (E[2] = (A) => o("toggle-split"))
13826
13826
  }, [...E[3] || (E[3] = [
13827
13827
  l("svg", {
13828
13828
  class: "fe-ficon",
@@ -13847,7 +13847,7 @@ const Fw = ["data-prefers-dark", "aria-label"], Bw = {
13847
13847
  ])], 10, Zw)) : j("", !0)
13848
13848
  ], 8, Vw));
13849
13849
  }
13850
- }), Xa = ".filex-e2e.json", e1 = "filexe2e", Pr = 1, t1 = 6e5, n1 = 6e5, mu = 200 * 1024 * 1024, o1 = 8, vu = "filex-e2e-verify-v1", Za = new TextEncoder().encode(e1), fr = 97, Hi = 9, ji = 21, a1 = 48, Ui = 69, gn = 12;
13850
+ }), Xa = ".filex-e2e.json", e1 = "filexe2e", Ar = 1, t1 = 6e5, n1 = 6e5, mu = 200 * 1024 * 1024, o1 = 8, vu = "filex-e2e-verify-v1", Za = new TextEncoder().encode(e1), fr = 97, Hi = 9, ji = 21, a1 = 48, Ui = 69, gn = 12;
13851
13851
  class $c extends Error {
13852
13852
  constructor(t = "e2e: decrypt failed") {
13853
13853
  super(t), this.name = "E2eDecryptError";
@@ -13891,14 +13891,14 @@ async function r1(e, t = t1) {
13891
13891
  )
13892
13892
  ), i = new Uint8Array(gn + s.length);
13893
13893
  return i.set(r, 0), i.set(s, gn), {
13894
- marker: { v: Pr, salt: Cc(o), iter: n, verify: Cc(i) },
13894
+ marker: { v: Ar, salt: Cc(o), iter: n, verify: Cc(i) },
13895
13895
  kek: a
13896
13896
  };
13897
13897
  }
13898
13898
  function i1(e) {
13899
13899
  try {
13900
13900
  const t = JSON.parse(e);
13901
- return !t || t.v !== Pr || typeof t.salt != "string" || typeof t.verify != "string" || typeof t.iter != "number" || t.iter < 1 ? null : t;
13901
+ return !t || t.v !== Ar || typeof t.salt != "string" || typeof t.verify != "string" || typeof t.iter != "number" || t.iter < 1 ? null : t;
13902
13902
  } catch {
13903
13903
  return null;
13904
13904
  }
@@ -13936,13 +13936,13 @@ async function l1(e, t) {
13936
13936
  );
13937
13937
  n.fill(0);
13938
13938
  const d = new Uint8Array(fr + i.length);
13939
- return d.set(Za, 0), d[8] = Pr, d.set(a, Hi), d.set(s, ji), d.set(r, Ui), d.set(i, fr), d.buffer;
13939
+ return d.set(Za, 0), d[8] = Ar, d.set(a, Hi), d.set(s, ji), d.set(r, Ui), d.set(i, fr), d.buffer;
13940
13940
  }
13941
13941
  async function zc(e, t) {
13942
13942
  const n = new Uint8Array(t);
13943
13943
  if (!Vi(n) || n.length < fr)
13944
13944
  throw new Error("e2e: not an encrypted file");
13945
- if (n[8] !== Pr)
13945
+ if (n[8] !== Ar)
13946
13946
  throw new Error(`e2e: unsupported version ${n[8]}`);
13947
13947
  const o = n.slice(Hi, Hi + gn), a = n.slice(ji, ji + a1), r = n.slice(Ui, Ui + gn);
13948
13948
  let s;
@@ -13992,7 +13992,7 @@ function bu(e) {
13992
13992
  return t === -1 ? e : e.slice(t + 3);
13993
13993
  }
13994
13994
  function d1(e) {
13995
- return (e || []).filter((t) => !(t.path.includes(".thumbs") || t.path.includes(".versions") || t.basename === ".versions" || t.basename === ".trash" || t.basename === ".keepdir" || t.basename === Xa));
13995
+ return (e || []).filter((t) => !(t.path.includes(".thumbs") || t.path.includes(".versions") || t.basename === ".versions" || t.basename === ".trash" || t.basename === ".filex-open" || t.basename === ".keepdir" || t.basename === Xa));
13996
13996
  }
13997
13997
  const yu = "filex.showHidden";
13998
13998
  function u1() {
@@ -14116,7 +14116,7 @@ const g1 = ["aria-label"], b1 = { class: "fe-split__crumbs" }, y1 = ["title"], _
14116
14116
  ce = ce ? `${ce}/${De}` : De, !($ && !(ce === $ || ce.startsWith($ + "/"))) && q.push({ label: De, target: ce, last: !1 });
14117
14117
  return q.length > 0 && (q[q.length - 1].last = !0), q;
14118
14118
  }), E = Z(() => !o.floor);
14119
- function P(B) {
14119
+ function A(B) {
14120
14120
  a("activate"), x(B);
14121
14121
  }
14122
14122
  function S(B, b) {
@@ -14170,7 +14170,7 @@ const g1 = ["aria-label"], b1 = { class: "fe-split__crumbs" }, y1 = ["title"], _
14170
14170
  const q = Ki(B), ce = $.map((De) => De.path).filter((De) => De && De !== b && !b.startsWith(De + "/"));
14171
14171
  ce.length !== 0 && (B.preventDefault(), B.stopPropagation(), a("transfer", { sources: ce, targetWire: b, originWire: q }));
14172
14172
  }
14173
- function A(B) {
14173
+ function P(B) {
14174
14174
  !k(B) || T.value || (B.preventDefault(), B.stopPropagation(), B.dataTransfer && (B.dataTransfer.dropEffect = "move"), V.value = !0);
14175
14175
  }
14176
14176
  function D() {
@@ -14213,7 +14213,7 @@ const g1 = ["aria-label"], b1 = { class: "fe-split__crumbs" }, y1 = ["title"], _
14213
14213
  type: "button",
14214
14214
  class: $e(["fe-split__crumb", { "is-last": R.value.length === 0 }]),
14215
14215
  title: e.rootLabel,
14216
- onClick: b[0] || (b[0] = ($) => P(""))
14216
+ onClick: b[0] || (b[0] = ($) => A(""))
14217
14217
  }, h(e.rootLabel), 11, y1)) : j("", !0),
14218
14218
  (p(!0), m(se, null, Te(R.value, ($) => (p(), m(se, {
14219
14219
  key: $.target
@@ -14226,7 +14226,7 @@ const g1 = ["aria-label"], b1 = { class: "fe-split__crumbs" }, y1 = ["title"], _
14226
14226
  type: "button",
14227
14227
  class: $e(["fe-split__crumb", { "is-last": $.last }]),
14228
14228
  title: $.label,
14229
- onClick: (q) => P($.target)
14229
+ onClick: (q) => A($.target)
14230
14230
  }, h($.label), 11, _1)
14231
14231
  ], 64))), 128)),
14232
14232
  b[5] || (b[5] = l("span", { class: "fe-split__spacer" }, null, -1)),
@@ -14242,7 +14242,7 @@ const g1 = ["aria-label"], b1 = { class: "fe-split__crumbs" }, y1 = ["title"], _
14242
14242
  class: $e(["fe-split__body", { "is-dropover": V.value }]),
14243
14243
  onClick: Je(I, ["self"]),
14244
14244
  onContextmenu: O,
14245
- onDragover: A,
14245
+ onDragover: P,
14246
14246
  onDragleave: D,
14247
14247
  onDrop: Y
14248
14248
  }, [
@@ -14304,14 +14304,14 @@ function ki() {
14304
14304
  }
14305
14305
  function z1(e) {
14306
14306
  const t = /* @__PURE__ */ w([]), n = /* @__PURE__ */ w(""), o = Z(
14307
- () => t.value.find((P) => P.id === n.value) ?? null
14308
- ), a = Z(() => t.value.findIndex((P) => P.id === n.value)), r = Z(() => t.value.length > 1);
14307
+ () => t.value.find((A) => A.id === n.value) ?? null
14308
+ ), a = Z(() => t.value.findIndex((A) => A.id === n.value)), r = Z(() => t.value.length > 1);
14309
14309
  function s() {
14310
14310
  if (!e.storageKey) return !1;
14311
14311
  try {
14312
- const P = localStorage.getItem(e.storageKey);
14313
- if (!P) return !1;
14314
- const S = JSON.parse(P);
14312
+ const A = localStorage.getItem(e.storageKey);
14313
+ if (!A) return !1;
14314
+ const S = JSON.parse(A);
14315
14315
  if (!S || !Array.isArray(S.tabs) || S.tabs.length === 0) return !1;
14316
14316
  const C = [];
14317
14317
  for (const O of S.tabs) {
@@ -14343,45 +14343,45 @@ function z1(e) {
14343
14343
  }
14344
14344
  }
14345
14345
  Ue([t, n], i, { deep: !0 });
14346
- function d(P, S) {
14346
+ function d(A, S) {
14347
14347
  if (t.value.length > 0) return;
14348
- const C = { id: ki(), path: P, viewMode: S, split: null };
14348
+ const C = { id: ki(), path: A, viewMode: S, split: null };
14349
14349
  t.value = [C], n.value = C.id;
14350
14350
  }
14351
- function g(P) {
14351
+ function g(A) {
14352
14352
  const S = o.value;
14353
- S && (P.path !== void 0 && (S.path = P.path), P.viewMode !== void 0 && (S.viewMode = P.viewMode));
14353
+ S && (A.path !== void 0 && (S.path = A.path), A.viewMode !== void 0 && (S.viewMode = A.viewMode));
14354
14354
  }
14355
- function v(P, S) {
14356
- const C = { id: ki(), path: P, viewMode: S.viewMode, split: S.split ?? null }, O = a.value;
14355
+ function v(A, S) {
14356
+ const C = { id: ki(), path: A, viewMode: S.viewMode, split: S.split ?? null }, O = a.value;
14357
14357
  return t.value.splice(O === -1 ? t.value.length : O + 1, 0, C), S.background || (n.value = C.id), C;
14358
14358
  }
14359
- function _(P) {
14359
+ function _(A) {
14360
14360
  if (t.value.length <= 1) return null;
14361
- const S = t.value.findIndex((y) => y.id === P);
14361
+ const S = t.value.findIndex((y) => y.id === A);
14362
14362
  if (S === -1) return null;
14363
14363
  const C = t.value[S].id === n.value;
14364
14364
  if (t.value.splice(S, 1), !C) return null;
14365
14365
  const O = t.value[Math.min(S, t.value.length - 1)];
14366
14366
  return n.value = O.id, O;
14367
14367
  }
14368
- function T(P) {
14369
- const S = t.value.find((C) => C.id === P);
14368
+ function T(A) {
14369
+ const S = t.value.find((C) => C.id === A);
14370
14370
  return !S || S.id === n.value ? null : (n.value = S.id, S);
14371
14371
  }
14372
- function x(P) {
14372
+ function x(A) {
14373
14373
  if (t.value.length < 2) return null;
14374
- const S = a.value === -1 ? 0 : a.value, C = t.value[(S + P + t.value.length) % t.value.length];
14374
+ const S = a.value === -1 ? 0 : a.value, C = t.value[(S + A + t.value.length) % t.value.length];
14375
14375
  return T(C.id);
14376
14376
  }
14377
- function R(P, S) {
14378
- if (P === S || P < 0 || S < 0 || P >= t.value.length || S >= t.value.length) return;
14379
- const C = [...t.value], [O] = C.splice(P, 1);
14377
+ function R(A, S) {
14378
+ if (A === S || A < 0 || S < 0 || A >= t.value.length || S >= t.value.length) return;
14379
+ const C = [...t.value], [O] = C.splice(A, 1);
14380
14380
  C.splice(S, 0, O), t.value = C;
14381
14381
  }
14382
- function E(P) {
14382
+ function E(A) {
14383
14383
  const S = o.value;
14384
- S && (S.split = P);
14384
+ S && (S.split = A);
14385
14385
  }
14386
14386
  return {
14387
14387
  tabs: t,
@@ -14400,7 +14400,7 @@ function z1(e) {
14400
14400
  setSplit: E
14401
14401
  };
14402
14402
  }
14403
- const E1 = ["placeholder", "disabled"], P1 = ["placeholder", "disabled"], A1 = ["placeholder", "disabled", "onKeydown"], D1 = {
14403
+ const E1 = ["placeholder", "disabled"], A1 = ["placeholder", "disabled"], P1 = ["placeholder", "disabled", "onKeydown"], D1 = {
14404
14404
  class: "fe-e2e-warn",
14405
14405
  role: "alert"
14406
14406
  }, M1 = { class: "fe-e2e-ack" }, O1 = ["disabled"], I1 = {
@@ -14489,7 +14489,7 @@ const E1 = ["placeholder", "disabled"], P1 = ["placeholder", "disabled"], A1 = [
14489
14489
  placeholder: f(a)("e2e.create.pw_placeholder"),
14490
14490
  autocomplete: "new-password",
14491
14491
  disabled: e.busy
14492
- }, null, 8, P1), [
14492
+ }, null, 8, A1), [
14493
14493
  [it, s.value]
14494
14494
  ]),
14495
14495
  Ke(l("input", {
@@ -14500,7 +14500,7 @@ const E1 = ["placeholder", "disabled"], P1 = ["placeholder", "disabled"], A1 = [
14500
14500
  autocomplete: "new-password",
14501
14501
  disabled: e.busy,
14502
14502
  onKeydown: Ft(Je(v, ["prevent"]), ["enter"])
14503
- }, null, 40, A1), [
14503
+ }, null, 40, P1), [
14504
14504
  [it, i.value]
14505
14505
  ]),
14506
14506
  l("div", D1, [
@@ -14528,7 +14528,7 @@ function Ec(e) {
14528
14528
  const t = String(e ?? "").indexOf("://");
14529
14529
  return t === -1 ? "" : e.slice(0, t);
14530
14530
  }
14531
- function Pc(e, t, n = "auto") {
14531
+ function Ac(e, t, n = "auto") {
14532
14532
  const o = Ec(t), a = e.some((r) => {
14533
14533
  const s = Ec(r);
14534
14534
  return s !== "" && o !== "" && s !== o;
@@ -14698,7 +14698,7 @@ const N1 = ["placeholder", "onKeydown"], R1 = {
14698
14698
  }, 8, ["open", "title"]));
14699
14699
  }
14700
14700
  });
14701
- function Ac(e) {
14701
+ function Pc(e) {
14702
14702
  return `'${e.replace(/'/g, "'\\''")}'`;
14703
14703
  }
14704
14704
  function wu(e) {
@@ -14707,7 +14707,7 @@ function wu(e) {
14707
14707
  const n = [];
14708
14708
  e.isDir && n.push("zip=wait"), e.pin && n.push("pin=" + encodeURIComponent(e.pin)), n.length && (t += (t.includes("?") ? "&" : "?") + n.join("&"));
14709
14709
  let o = "-OJ ";
14710
- return e.filename && (o = `-o ${Ac(e.isDir ? `${e.filename}.zip` : e.filename)} `), `curl -fSL ${o}${Ac(t)}`;
14710
+ return e.filename && (o = `-o ${Pc(e.isDir ? `${e.filename}.zip` : e.filename)} `), `curl -fSL ${o}${Pc(t)}`;
14711
14711
  }
14712
14712
  const V1 = [0, 1, 7, 30];
14713
14713
  function W1(e, t, n) {
@@ -14786,13 +14786,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14786
14786
  open: e.open,
14787
14787
  title: f(a)("modal.share.title"),
14788
14788
  size: "md",
14789
- onClose: E[7] || (E[7] = (P) => o("close"))
14789
+ onClose: E[7] || (E[7] = (A) => o("close"))
14790
14790
  }, {
14791
14791
  actions: lt(() => [
14792
14792
  l("button", {
14793
14793
  type: "button",
14794
14794
  class: "fe-btn",
14795
- onClick: E[6] || (E[6] = (P) => o("close"))
14795
+ onClick: E[6] || (E[6] = (A) => o("close"))
14796
14796
  }, h(e.share ? f(a)("modal.share.close") : f(a)("modal.share.cancel")), 1),
14797
14797
  e.share ? j("", !0) : (p(), m("button", {
14798
14798
  key: 0,
@@ -14822,7 +14822,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14822
14822
  l("button", {
14823
14823
  type: "button",
14824
14824
  class: "fe-btn",
14825
- onClick: E[3] || (E[3] = (P) => T(e.share.url, f(a)("modal.share.url_copied")))
14825
+ onClick: E[3] || (E[3] = (A) => T(e.share.url, f(a)("modal.share.url_copied")))
14826
14826
  }, h(f(a)("modal.share.copy")), 1)
14827
14827
  ])
14828
14828
  ]),
@@ -14837,7 +14837,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14837
14837
  l("button", {
14838
14838
  type: "button",
14839
14839
  class: "fe-btn",
14840
- onClick: E[4] || (E[4] = (P) => T(e.share.password_pin, f(a)("modal.share.pin_copied")))
14840
+ onClick: E[4] || (E[4] = (A) => T(e.share.password_pin, f(a)("modal.share.pin_copied")))
14841
14841
  }, h(f(a)("modal.share.copy")), 1)
14842
14842
  ])
14843
14843
  ])) : j("", !0),
@@ -14852,7 +14852,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14852
14852
  l("button", {
14853
14853
  type: "button",
14854
14854
  class: "fe-btn",
14855
- onClick: E[5] || (E[5] = (P) => T(x.value, f(a)("modal.share.cli_copied")))
14855
+ onClick: E[5] || (E[5] = (A) => T(x.value, f(a)("modal.share.cli_copied")))
14856
14856
  }, h(f(a)("modal.share.copy")), 1)
14857
14857
  ])
14858
14858
  ])
@@ -14863,7 +14863,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14863
14863
  }, [
14864
14864
  l("label", q1, [
14865
14865
  Ke(l("input", {
14866
- "onUpdate:modelValue": E[0] || (E[0] = (P) => r.value = P),
14866
+ "onUpdate:modelValue": E[0] || (E[0] = (A) => r.value = A),
14867
14867
  type: "checkbox"
14868
14868
  }, null, 512), [
14869
14869
  [Dn, r.value]
@@ -14873,7 +14873,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14873
14873
  l("label", J1, [
14874
14874
  l("span", null, h(f(a)("modal.share.expires")), 1),
14875
14875
  Ke(l("input", {
14876
- "onUpdate:modelValue": E[1] || (E[1] = (P) => s.value = P),
14876
+ "onUpdate:modelValue": E[1] || (E[1] = (A) => s.value = A),
14877
14877
  type: "datetime-local",
14878
14878
  class: "fe-input",
14879
14879
  max: d.value
@@ -14885,7 +14885,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14885
14885
  l("label", Q1, [
14886
14886
  l("span", null, h(f(a)("modal.share.max_downloads")), 1),
14887
14887
  Ke(l("input", {
14888
- "onUpdate:modelValue": E[2] || (E[2] = (P) => i.value = P),
14888
+ "onUpdate:modelValue": E[2] || (E[2] = (A) => i.value = A),
14889
14889
  type: "number",
14890
14890
  min: "1",
14891
14891
  class: "fe-input"
@@ -14937,11 +14937,11 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14937
14937
  }), x = Z(() => `${n.convertUrl.replace(/\/$/, "")}/?embed=1`);
14938
14938
  let R = 0;
14939
14939
  const E = /* @__PURE__ */ new Map();
14940
- function P(M, I = {}, K = []) {
14940
+ function A(M, I = {}, K = []) {
14941
14941
  const V = ++R;
14942
14942
  return new Promise((k, z) => {
14943
- var A, D;
14944
- E.set(V, { resolve: k, reject: z }), (D = (A = a.value) == null ? void 0 : A.contentWindow) == null || D.postMessage({ target: "convert-embed", id: V, cmd: M, ...I }, "*", K), setTimeout(() => {
14943
+ var P, D;
14944
+ E.set(V, { resolve: k, reject: z }), (D = (P = a.value) == null ? void 0 : P.contentWindow) == null || D.postMessage({ target: "convert-embed", id: V, cmd: M, ...I }, "*", K), setTimeout(() => {
14945
14945
  E.has(V) && (E.delete(V), z(new Error("convert timeout")));
14946
14946
  }, 18e4);
14947
14947
  });
@@ -14958,7 +14958,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14958
14958
  }
14959
14959
  async function C() {
14960
14960
  try {
14961
- const M = await P("listFormats");
14961
+ const M = await A("listFormats");
14962
14962
  i.value = M.formats || [], r.value = "ready", _.value || (s.value = y("convert.unsupportedInput", "Bu dosya tipi için kaynak format bulunamadı."));
14963
14963
  } catch (M) {
14964
14964
  s.value = M.message, r.value = "error";
@@ -14968,7 +14968,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
14968
14968
  if (!(!g.value || !_.value)) {
14969
14969
  r.value = "converting", s.value = null;
14970
14970
  try {
14971
- const M = await n.fetchBytes(), I = await P(
14971
+ const M = await n.fetchBytes(), I = await A(
14972
14972
  "convert",
14973
14973
  { name: n.fileName, bytes: M, fromIndex: _.value.index, toIndex: g.value.index },
14974
14974
  [M]
@@ -15048,7 +15048,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15048
15048
  }), C0 = { class: "fx-perm-modal" }, T0 = { class: "fx-perm-head" }, z0 = { class: "fx-perm-title" }, E0 = {
15049
15049
  class: "fx-perm-ico",
15050
15050
  "aria-hidden": "true"
15051
- }, P0 = { class: "fx-perm-titletext" }, A0 = ["title"], D0 = { class: "fx-perm-subdim" }, M0 = { class: "fx-perm-tabs" }, O0 = { class: "fx-perm-body" }, I0 = {
15051
+ }, A0 = { class: "fx-perm-titletext" }, P0 = ["title"], D0 = { class: "fx-perm-subdim" }, M0 = { class: "fx-perm-tabs" }, O0 = { class: "fx-perm-body" }, I0 = {
15052
15052
  key: 0,
15053
15053
  class: "fx-perm-warn"
15054
15054
  }, L0 = {
@@ -15079,10 +15079,10 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15079
15079
  }, z2 = ["disabled"], E2 = {
15080
15080
  key: 1,
15081
15081
  class: "fx-perm-warn"
15082
- }, P2 = {
15082
+ }, A2 = {
15083
15083
  key: 2,
15084
15084
  class: "fx-perm-result"
15085
- }, A2 = { class: "fx-perm-linkrow" }, D2 = ["href"], M2 = {
15085
+ }, P2 = { class: "fx-perm-linkrow" }, D2 = ["href"], M2 = {
15086
15086
  class: "fx-perm-muted fx-perm-validuntil",
15087
15087
  "data-testid": "share-valid-until"
15088
15088
  }, O2 = { key: 0 }, I2 = {
@@ -15137,7 +15137,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15137
15137
  const s = Z(() => {
15138
15138
  const oe = /^([^:]+):\/\/(.*)$/.exec(n.path), te = oe ? oe[1] : "", Ee = oe ? oe[2] : n.path, Ne = Ee.split("/").filter(Boolean);
15139
15139
  return { adapter: te, name: Ne.length ? Ne[Ne.length - 1] : te, rel: Ee };
15140
- }), i = /* @__PURE__ */ w("perms"), d = /* @__PURE__ */ w(!1), g = /* @__PURE__ */ w(!0), v = /* @__PURE__ */ w(""), _ = /* @__PURE__ */ w([]), T = /* @__PURE__ */ w([]), x = /* @__PURE__ */ w(!0), R = /* @__PURE__ */ w(""), E = /* @__PURE__ */ w("viewer"), P = /* @__PURE__ */ w(!1), S = /* @__PURE__ */ w(""), C = /* @__PURE__ */ w(!1), O = /* @__PURE__ */ w("user"), y = /* @__PURE__ */ w(null), M = /* @__PURE__ */ w([]), I = /* @__PURE__ */ w(!1);
15140
+ }), i = /* @__PURE__ */ w("perms"), d = /* @__PURE__ */ w(!1), g = /* @__PURE__ */ w(!0), v = /* @__PURE__ */ w(""), _ = /* @__PURE__ */ w([]), T = /* @__PURE__ */ w([]), x = /* @__PURE__ */ w(!0), R = /* @__PURE__ */ w(""), E = /* @__PURE__ */ w("viewer"), A = /* @__PURE__ */ w(!1), S = /* @__PURE__ */ w(""), C = /* @__PURE__ */ w(!1), O = /* @__PURE__ */ w("user"), y = /* @__PURE__ */ w(null), M = /* @__PURE__ */ w([]), I = /* @__PURE__ */ w(!1);
15141
15141
  let K;
15142
15142
  const V = [
15143
15143
  { v: "viewer", l: r("Görüntüleyen", "Viewer"), d: r("görüntüle + indir", "view + download") },
@@ -15148,7 +15148,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15148
15148
  var te;
15149
15149
  return ((te = V.find((Ee) => Ee.v === oe)) == null ? void 0 : te.l) ?? oe;
15150
15150
  }
15151
- const z = /* @__PURE__ */ w([]), A = /* @__PURE__ */ w(!1), D = /* @__PURE__ */ w(!1), Y = /* @__PURE__ */ w(Ua(n.shareMaxTtlDays)), X = /* @__PURE__ */ w(null), pe = /* @__PURE__ */ w(""), ee = /* @__PURE__ */ w(""), he = /* @__PURE__ */ w(""), ue = /* @__PURE__ */ w(!1), N = /* @__PURE__ */ w("");
15151
+ const z = /* @__PURE__ */ w([]), P = /* @__PURE__ */ w(!1), D = /* @__PURE__ */ w(!1), Y = /* @__PURE__ */ w(Ua(n.shareMaxTtlDays)), X = /* @__PURE__ */ w(null), pe = /* @__PURE__ */ w(""), ee = /* @__PURE__ */ w(""), he = /* @__PURE__ */ w(""), ue = /* @__PURE__ */ w(!1), N = /* @__PURE__ */ w("");
15152
15152
  function B(oe) {
15153
15153
  return oe === 0 ? r("Süresiz", "Never") : a.value ? `${oe} gün` : `${oe} day${oe === 1 ? "" : "s"}`;
15154
15154
  }
@@ -15233,13 +15233,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15233
15233
  async function ae(oe) {
15234
15234
  I.value = !1, R.value = oe.email;
15235
15235
  let te = E.value;
15236
- oe.role === "viewer" && te !== "viewer" && (te = "viewer"), P.value = !0, S.value = "";
15236
+ oe.role === "viewer" && te !== "viewer" && (te = "viewer"), A.value = !0, S.value = "";
15237
15237
  try {
15238
15238
  await n.api.addPermission({ path: n.path, user_id: oe.id, level: te, is_dir: !!n.isDir }), R.value = "", M.value = [], await H(), S.value = r("Yetki verildi.", "Access granted.");
15239
15239
  } catch (Ee) {
15240
15240
  S.value = Ee instanceof Error ? Ee.message : String(Ee);
15241
15241
  } finally {
15242
- P.value = !1;
15242
+ A.value = !1;
15243
15243
  }
15244
15244
  }
15245
15245
  async function re() {
@@ -15248,7 +15248,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15248
15248
  S.value = r("Geçerli bir e-posta girin.", "Enter a valid email.");
15249
15249
  return;
15250
15250
  }
15251
- I.value = !1, P.value = !0, S.value = "", y.value = null;
15251
+ I.value = !1, A.value = !0, S.value = "", y.value = null;
15252
15252
  try {
15253
15253
  const te = await n.api.resolveEmail(oe);
15254
15254
  if (te.found && te.user) {
@@ -15259,11 +15259,11 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15259
15259
  } catch (te) {
15260
15260
  S.value = te instanceof Error ? te.message : String(te);
15261
15261
  } finally {
15262
- P.value = !1;
15262
+ A.value = !1;
15263
15263
  }
15264
15264
  }
15265
15265
  async function ve() {
15266
- P.value = !0, S.value = "";
15266
+ A.value = !0, S.value = "";
15267
15267
  try {
15268
15268
  const oe = await n.api.invitePermission({
15269
15269
  path: n.path,
@@ -15278,7 +15278,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15278
15278
  } catch (oe) {
15279
15279
  S.value = oe instanceof Error ? oe.message : String(oe);
15280
15280
  } finally {
15281
- P.value = !1;
15281
+ A.value = !1;
15282
15282
  }
15283
15283
  }
15284
15284
  function ze() {
@@ -15286,24 +15286,24 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15286
15286
  }
15287
15287
  async function Ie(oe, te) {
15288
15288
  if (te !== oe.level) {
15289
- P.value = !0;
15289
+ A.value = !0;
15290
15290
  try {
15291
15291
  await n.api.updatePermission(oe.id, te), await H();
15292
15292
  } catch (Ee) {
15293
15293
  S.value = Ee instanceof Error ? Ee.message : String(Ee);
15294
15294
  } finally {
15295
- P.value = !1;
15295
+ A.value = !1;
15296
15296
  }
15297
15297
  }
15298
15298
  }
15299
15299
  async function Be(oe) {
15300
- P.value = !0;
15300
+ A.value = !0;
15301
15301
  try {
15302
15302
  await n.api.deletePermission(oe.id), await H();
15303
15303
  } catch (te) {
15304
15304
  S.value = te instanceof Error ? te.message : String(te);
15305
15305
  } finally {
15306
- P.value = !1;
15306
+ A.value = !1;
15307
15307
  }
15308
15308
  }
15309
15309
  function et(oe) {
@@ -15316,7 +15316,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15316
15316
  return Y.value ? new Date(Date.now() + Y.value * 864e5).toISOString() : null;
15317
15317
  }
15318
15318
  async function de() {
15319
- A.value = !0, pe.value = "", X.value = null, N.value = "";
15319
+ P.value = !0, pe.value = "", X.value = null, N.value = "";
15320
15320
  try {
15321
15321
  const oe = await n.api.createShare({
15322
15322
  path: n.path,
@@ -15335,7 +15335,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15335
15335
  } catch (oe) {
15336
15336
  pe.value = oe instanceof Error ? oe.message : String(oe);
15337
15337
  } finally {
15338
- A.value = !1;
15338
+ P.value = !1;
15339
15339
  }
15340
15340
  }
15341
15341
  async function Se() {
@@ -15367,7 +15367,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15367
15367
  }
15368
15368
  }
15369
15369
  }
15370
- function Pe() {
15370
+ function Ae() {
15371
15371
  return Me.value ? new Date(Date.now() + Me.value * 864e5).toISOString() : null;
15372
15372
  }
15373
15373
  async function Fe() {
@@ -15381,7 +15381,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15381
15381
  path: n.path,
15382
15382
  kind: "drop",
15383
15383
  password: Xe.value,
15384
- expires_at: Pe(),
15384
+ expires_at: Ae(),
15385
15385
  drop_settings: oe
15386
15386
  });
15387
15387
  le.value = {
@@ -15425,13 +15425,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15425
15425
  }
15426
15426
  }
15427
15427
  async function ft(oe) {
15428
- A.value = !0;
15428
+ P.value = !0;
15429
15429
  try {
15430
15430
  await n.api.revokeShare(oe.uuid), await ne();
15431
15431
  } catch (te) {
15432
15432
  pe.value = te instanceof Error ? te.message : String(te);
15433
15433
  } finally {
15434
- A.value = !1;
15434
+ P.value = !1;
15435
15435
  }
15436
15436
  }
15437
15437
  function yt(oe, te = "url") {
@@ -15493,7 +15493,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15493
15493
  l("header", T0, [
15494
15494
  l("div", z0, [
15495
15495
  l("span", E0, h(e.isDir ? "📁" : "📄"), 1),
15496
- l("div", P0, [
15496
+ l("div", A0, [
15497
15497
  l("h3", null, h(r("Paylaş / İzinler", "Share / Permissions")), 1),
15498
15498
  l("span", {
15499
15499
  class: "fx-perm-sub",
@@ -15501,7 +15501,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15501
15501
  }, [
15502
15502
  He(h(s.value.name), 1),
15503
15503
  l("span", D0, " · " + h(s.value.adapter), 1)
15504
- ], 8, A0)
15504
+ ], 8, P0)
15505
15505
  ])
15506
15506
  ]),
15507
15507
  l("button", {
@@ -15573,7 +15573,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15573
15573
  ]),
15574
15574
  l("button", {
15575
15575
  class: "fx-perm-btn fx-perm-btn--primary",
15576
- disabled: P.value,
15576
+ disabled: A.value,
15577
15577
  onClick: re
15578
15578
  }, h(r("Ekle", "Add")), 9, J0)
15579
15579
  ]),
@@ -15592,13 +15592,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15592
15592
  ]),
15593
15593
  l("button", {
15594
15594
  class: "fx-perm-btn fx-perm-btn--primary",
15595
- disabled: P.value,
15595
+ disabled: A.value,
15596
15596
  onClick: ve
15597
15597
  }, h(r("Kullanıcı oluştur + yetki ver", "Create user + grant")), 9, o2)
15598
15598
  ]),
15599
15599
  l("button", {
15600
15600
  class: "fx-perm-btn fx-perm-btn--ghost",
15601
- disabled: P.value,
15601
+ disabled: A.value,
15602
15602
  onClick: ze
15603
15603
  }, h(r("Sadece paylaşım linki gönder →", "Just send a share link →")), 9, a2)
15604
15604
  ])
@@ -15633,7 +15633,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15633
15633
  ], 40, u2),
15634
15634
  l("button", {
15635
15635
  class: "fx-perm-del",
15636
- disabled: P.value,
15636
+ disabled: A.value,
15637
15637
  title: r("Kaldır", "Remove"),
15638
15638
  onClick: (We) => Be(be)
15639
15639
  }, "✕", 8, p2)
@@ -15711,12 +15711,12 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15711
15711
  $.value ? (p(), m("p", T2, h($.value), 1)) : j("", !0),
15712
15712
  l("button", {
15713
15713
  class: "fx-perm-btn fx-perm-btn--primary fx-perm-create",
15714
- disabled: A.value,
15714
+ disabled: P.value,
15715
15715
  onClick: de
15716
15716
  }, h(r("Bağlantı oluştur", "Create link")), 9, z2),
15717
15717
  pe.value ? (p(), m("div", E2, h(pe.value), 1)) : j("", !0),
15718
- X.value ? (p(), m("div", P2, [
15719
- l("div", A2, [
15718
+ X.value ? (p(), m("div", A2, [
15719
+ l("div", P2, [
15720
15720
  l("a", {
15721
15721
  href: X.value.url,
15722
15722
  target: "_blank",
@@ -15805,7 +15805,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15805
15805
  }, h(ee.value === be.uuid ? r("✓", "✓") : r("Kopyala", "Copy")), 9, G2),
15806
15806
  l("button", {
15807
15807
  class: "fx-perm-del",
15808
- disabled: A.value,
15808
+ disabled: P.value,
15809
15809
  title: r("İptal", "Revoke"),
15810
15810
  onClick: (We) => ft(be)
15811
15811
  }, "✕", 8, q2)
@@ -15971,11 +15971,11 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
15971
15971
  key: 1,
15972
15972
  class: "fe-e2e-strip",
15973
15973
  role: "status"
15974
- }, ES = { class: "fe-e2e-strip__label" }, PS = {
15974
+ }, ES = { class: "fe-e2e-strip__label" }, AS = {
15975
15975
  key: 0,
15976
15976
  class: "fe__skeleton",
15977
15977
  role: "status"
15978
- }, AS = { class: "fe-sr-only" }, DS = {
15978
+ }, PS = { class: "fe-sr-only" }, DS = {
15979
15979
  key: 0,
15980
15980
  class: "fe-skel-grid",
15981
15981
  "aria-hidden": "true"
@@ -16065,10 +16065,10 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16065
16065
  }
16066
16066
  qe(), (F = gt.value) == null || F.reload();
16067
16067
  }
16068
- }), P = /* @__PURE__ */ w(!1), S = (o.config.rootPath || "").trim(), C = S.replace("://", "/").replace(/^\/+|\/+$/g, ""), O = C || o.config.initialPath || "", y = /* @__PURE__ */ w(O), M = /* @__PURE__ */ w(o.config.defaultAdapter || "brf"), I = /* @__PURE__ */ w(O), K = /* @__PURE__ */ w([]), V = /* @__PURE__ */ w(""), k = /* @__PURE__ */ w(""), z = /* @__PURE__ */ w("");
16069
- let A;
16068
+ }), A = /* @__PURE__ */ w(!1), S = (o.config.rootPath || "").trim(), C = S.replace("://", "/").replace(/^\/+|\/+$/g, ""), O = C || o.config.initialPath || "", y = /* @__PURE__ */ w(O), M = /* @__PURE__ */ w(o.config.defaultAdapter || "brf"), I = /* @__PURE__ */ w(O), K = /* @__PURE__ */ w([]), V = /* @__PURE__ */ w(""), k = /* @__PURE__ */ w(""), z = /* @__PURE__ */ w("");
16069
+ let P;
16070
16070
  function D() {
16071
- qe(A);
16071
+ qe(P);
16072
16072
  }
16073
16073
  const Y = Fp((c, u) => {
16074
16074
  let F = (() => {
@@ -16194,7 +16194,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16194
16194
  var c;
16195
16195
  return o.config.convertBase || ((c = De.value) == null ? void 0 : c.convert_url) || null;
16196
16196
  }
16197
- ), H = /* @__PURE__ */ w([]), ne = /* @__PURE__ */ w(null), fe = /* @__PURE__ */ w(!1), ae = /* @__PURE__ */ w(!1), re = /* @__PURE__ */ w(!1), ve = /* @__PURE__ */ w(!1), ze = /* @__PURE__ */ w(!1), Ie = /* @__PURE__ */ w(null), Be = /* @__PURE__ */ w(!1), et = /* @__PURE__ */ w(null), ut = /* @__PURE__ */ w(null), ye = /* @__PURE__ */ w(null), de = /* @__PURE__ */ w("edit"), Se = /* @__PURE__ */ w(!1), Pe = /* @__PURE__ */ w(null), Fe = /* @__PURE__ */ w(!1), Qe = /* @__PURE__ */ w(null), ft = /* @__PURE__ */ w(
16197
+ ), H = /* @__PURE__ */ w([]), ne = /* @__PURE__ */ w(null), fe = /* @__PURE__ */ w(!1), ae = /* @__PURE__ */ w(!1), re = /* @__PURE__ */ w(!1), ve = /* @__PURE__ */ w(!1), ze = /* @__PURE__ */ w(!1), Ie = /* @__PURE__ */ w(null), Be = /* @__PURE__ */ w(!1), et = /* @__PURE__ */ w(null), ut = /* @__PURE__ */ w(null), ye = /* @__PURE__ */ w(null), de = /* @__PURE__ */ w("edit"), Se = /* @__PURE__ */ w(!1), Ae = /* @__PURE__ */ w(null), Fe = /* @__PURE__ */ w(!1), Qe = /* @__PURE__ */ w(null), ft = /* @__PURE__ */ w(
16198
16198
  (() => {
16199
16199
  try {
16200
16200
  return localStorage.getItem(Mc) === "1";
@@ -16262,13 +16262,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16262
16262
  function Sa(c, u) {
16263
16263
  xs({ message: c, actionLabel: i("toast.undo"), action: u }, 8e3);
16264
16264
  }
16265
- function Ar() {
16265
+ function Pr() {
16266
16266
  po && (clearTimeout(po), po = void 0), Yt.value = null;
16267
16267
  }
16268
- async function Au() {
16268
+ async function Pu() {
16269
16269
  var u;
16270
16270
  const c = (u = Yt.value) == null ? void 0 : u.action;
16271
- if (Ar(), !!c)
16271
+ if (Pr(), !!c)
16272
16272
  try {
16273
16273
  await c(), Le(i("toast.undone")), await qe();
16274
16274
  } catch {
@@ -16312,7 +16312,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16312
16312
  f1(!ca.value), qe(), (c = gt.value) == null || c.reload();
16313
16313
  }
16314
16314
  async function qe(c) {
16315
- P.value = !0, ee.value = !1;
16315
+ A.value = !0, ee.value = !1;
16316
16316
  let u = c ?? y.value ?? "";
16317
16317
  try {
16318
16318
  if (k.value = "", z.value = "", C) {
@@ -16332,9 +16332,9 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16332
16332
  k.value = String(u), Ht.value = "", K.value = [], a("error", { message: U, context: { path: c } });
16333
16333
  return;
16334
16334
  }
16335
- z.value = U, A = typeof u == "string" ? u : void 0, a("error", { message: U, context: { path: c } }), K.value.length > 0 && Le(U);
16335
+ z.value = U, P = typeof u == "string" ? u : void 0, a("error", { message: U, context: { path: c } }), K.value.length > 0 && Le(U);
16336
16336
  } finally {
16337
- P.value = !1;
16337
+ A.value = !1;
16338
16338
  }
16339
16339
  }
16340
16340
  function Zn(c) {
@@ -16345,7 +16345,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16345
16345
  k.value = "", Es(""), qe("");
16346
16346
  }
16347
16347
  async function Ro() {
16348
- P.value = !0, he.value = M.value || "", ee.value = !0, Ht.value = "", q.clear();
16348
+ A.value = !0, he.value = M.value || "", ee.value = !0, Ht.value = "", q.clear();
16349
16349
  try {
16350
16350
  const { entries: c } = await r.listTrash();
16351
16351
  K.value = c.map(
@@ -16366,7 +16366,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16366
16366
  const u = c instanceof Error ? c.message : String(c);
16367
16367
  a("error", { message: u, context: { op: "trash-list" } }), Le(u);
16368
16368
  } finally {
16369
- P.value = !1;
16369
+ A.value = !1;
16370
16370
  }
16371
16371
  }
16372
16372
  function mt(c) {
@@ -16387,8 +16387,8 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16387
16387
  }
16388
16388
  function Mr(c, u) {
16389
16389
  const F = (U) => {
16390
- const ie = U.indexOf("://"), J = ie === -1 ? "" : U.slice(0, ie + 3), Ae = (ie === -1 ? U : U.slice(ie + 3)).replace(/\/+$/, "");
16391
- return J + Ae;
16390
+ const ie = U.indexOf("://"), J = ie === -1 ? "" : U.slice(0, ie + 3), Pe = (ie === -1 ? U : U.slice(ie + 3)).replace(/\/+$/, "");
16391
+ return J + Pe;
16392
16392
  };
16393
16393
  return F(c) === F(u);
16394
16394
  }
@@ -16461,7 +16461,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16461
16461
  U || window.location.pathname + window.location.search
16462
16462
  );
16463
16463
  }
16464
- function Ps() {
16464
+ function As() {
16465
16465
  if (!Cs()) return;
16466
16466
  const c = zs();
16467
16467
  c && c !== y.value && qe(c);
@@ -16472,7 +16472,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16472
16472
  var u;
16473
16473
  hs();
16474
16474
  const c = Iu();
16475
- await qe(c || void 0), await wt(), (u = Ne.value) == null || u.focus(), L(), Cs() && window.addEventListener("hashchange", Ps), r.endpoints.opsList && E.startPolling(), r.endpoints.capabilities && r.capabilities().then((F) => {
16475
+ await qe(c || void 0), await wt(), (u = Ne.value) == null || u.focus(), L(), Cs() && window.addEventListener("hashchange", As), r.endpoints.opsList && E.startPolling(), r.endpoints.capabilities && r.capabilities().then((F) => {
16476
16476
  De.value = F;
16477
16477
  }).catch(() => {
16478
16478
  });
@@ -16492,7 +16492,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16492
16492
  J = ie ? `${$t}/${ie}` : $t;
16493
16493
  }
16494
16494
  if (await qe(J), F) return;
16495
- const Ae = String(c.name ?? u.slice(U + 1)), Ze = K.value.find((st) => st.type === "file" && st.basename === Ae);
16495
+ const Pe = String(c.name ?? u.slice(U + 1)), Ze = K.value.find((st) => st.type === "file" && st.basename === Pe);
16496
16496
  Ze && (q.click(Ze.path), sn(Ze));
16497
16497
  }
16498
16498
  qm(Ne, {
@@ -16522,7 +16522,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16522
16522
  },
16523
16523
  onClose: () => {
16524
16524
  var c;
16525
- fe.value = !1, ae.value = !1, re.value = !1, ve.value = !1, ze.value = !1, (c = Ee.value) == null || c.hide(), Ar(), We.value && rn();
16525
+ fe.value = !1, ae.value = !1, re.value = !1, ve.value = !1, ze.value = !1, (c = Ee.value) == null || c.hide(), Pr(), We.value && rn();
16526
16526
  },
16527
16527
  onFocusSearch: () => {
16528
16528
  var c;
@@ -16638,7 +16638,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16638
16638
  if (u.length !== 0)
16639
16639
  try {
16640
16640
  if (ee.value) {
16641
- const ie = u.map((Ae) => Ae.id).filter((Ae) => typeof Ae == "number"), { restored: J } = await r.restoreIds(ie);
16641
+ const ie = u.map((Pe) => Pe.id).filter((Pe) => typeof Pe == "number"), { restored: J } = await r.restoreIds(ie);
16642
16642
  Le(`${J} öğe geri getirildi`), q.clear(), await Ro();
16643
16643
  return;
16644
16644
  }
@@ -16649,7 +16649,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16649
16649
  a("error", { message: F.message, context: { op: "restore" } });
16650
16650
  }
16651
16651
  }
16652
- function As(c) {
16652
+ function Ps(c) {
16653
16653
  if (ln.value && c.type === "file") {
16654
16654
  ai(c);
16655
16655
  return;
@@ -16658,8 +16658,8 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16658
16658
  }
16659
16659
  function Hu(c) {
16660
16660
  if (c.type === "dir") {
16661
- const Ae = xt.value ? ho(c.path) : Zn(c.path);
16662
- qe(Ae);
16661
+ const Pe = xt.value ? ho(c.path) : Zn(c.path);
16662
+ qe(Pe);
16663
16663
  return;
16664
16664
  }
16665
16665
  if (jt.value) {
@@ -16667,7 +16667,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16667
16667
  return;
16668
16668
  }
16669
16669
  if (!Bt(c.perm ?? V.value)) {
16670
- As(c);
16670
+ Ps(c);
16671
16671
  return;
16672
16672
  }
16673
16673
  const u = (c.extension || "").toLowerCase(), F = o.config.openPageBase;
@@ -16753,9 +16753,9 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16753
16753
  return !c || c.phase !== "transfer" || c.total <= 0 ? null : Math.min(100, Math.round(c.done * 100 / c.total));
16754
16754
  });
16755
16755
  function Os(c) {
16756
- var ie, J, Ae;
16756
+ var ie, J, Pe;
16757
16757
  const u = Gt.value, F = c.length === 1 && (((ie = c[0]) == null ? void 0 : ie.type) === "dir" || ((J = c[0]) == null ? void 0 : J.type) === "file");
16758
- if (!u || !F || ue.value || jt.value || ((Ae = c[0]) == null ? void 0 : Ae.e2e) === !0) return [];
16758
+ if (!u || !F || ue.value || jt.value || ((Pe = c[0]) == null ? void 0 : Pe.e2e) === !0) return [];
16759
16759
  const U = Fr(Ho(c[0]));
16760
16760
  return [
16761
16761
  { divider: !0, key: "sep-keep", label: "" },
@@ -16830,7 +16830,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16830
16830
  });
16831
16831
  function Rr(c) {
16832
16832
  var dl, ul, fl;
16833
- const u = c.length > 0, F = c.length === 1, U = F && ((dl = c[0]) == null ? void 0 : dl.type) === "file", ie = s.value === "en" ? "Tags…" : "Etiketler…", J = F && typeof ((ul = c[0]) == null ? void 0 : ul.id) == "number", Ae = s.value === "en" ? "Copy node id" : "Node id'yi kopyala", Ze = Jn(c), st = Bt(Ze), $t = s.value === "en" ? "Share / Permissions" : "Paylaş / İzinler";
16833
+ const u = c.length > 0, F = c.length === 1, U = F && ((dl = c[0]) == null ? void 0 : dl.type) === "file", ie = s.value === "en" ? "Tags…" : "Etiketler…", J = F && typeof ((ul = c[0]) == null ? void 0 : ul.id) == "number", Pe = s.value === "en" ? "Copy node id" : "Node id'yi kopyala", Ze = Jn(c), st = Bt(Ze), $t = s.value === "en" ? "Share / Permissions" : "Paylaş / İzinler";
16834
16834
  return [
16835
16835
  { key: "open", label: i("ctx.open"), icon: "↗", hidden: !F },
16836
16836
  { key: "open-tab", label: i("ctx.open_new_tab"), icon: "⧉", hidden: !F || ((fl = c[0]) == null ? void 0 : fl.type) !== "dir" },
@@ -16845,7 +16845,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16845
16845
  /* wiring:e2 — paylaşım MVP'de kapalı (link ciphertext verir) */
16846
16846
  },
16847
16847
  { key: "details", label: i("ctx.details"), icon: "ℹ", hidden: !u },
16848
- { key: "copy-id", label: Ae, icon: "🆔", hidden: !J, disabled: !J },
16848
+ { key: "copy-id", label: Pe, icon: "🆔", hidden: !J, disabled: !J },
16849
16849
  { divider: !0, key: "sep1", label: "", hidden: !st },
16850
16850
  { key: "rename", label: i("ctx.rename"), icon: "✎", hidden: !F || !st, disabled: !F },
16851
16851
  { key: "cut", label: i("ctx.cut"), icon: "✂", hidden: !u || !st, disabled: !u },
@@ -16886,7 +16886,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16886
16886
  u[0] && Hu(u[0]);
16887
16887
  break;
16888
16888
  case "preview":
16889
- u[0] && As(u[0]);
16889
+ u[0] && Ps(u[0]);
16890
16890
  break;
16891
16891
  case "download":
16892
16892
  u[0] && of(u[0]);
@@ -16983,18 +16983,18 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
16983
16983
  const c = ce.value;
16984
16984
  if (!(!c.mode || c.items.length === 0))
16985
16985
  try {
16986
- const u = c.items.map((Ae) => Ae.path), F = c.sourcePath || "";
16986
+ const u = c.items.map((Pe) => Pe.path), F = c.sourcePath || "";
16987
16987
  if (c.mode === "cut" && F === y.value) {
16988
16988
  Le("Aynı klasöre kesilemez");
16989
16989
  return;
16990
16990
  }
16991
- const ie = mt(y.value), J = Pc(u, ie, c.mode === "cut" ? "move" : "copy");
16991
+ const ie = mt(y.value), J = Ac(u, ie, c.mode === "cut" ? "move" : "copy");
16992
16992
  if (c.mode === "cut") {
16993
- const Ae = mt(F) || void 0, { op: Ze } = await r.moveAsync(u, ie, Ae);
16994
- $s(Ze.id, u, ie, Ae), E.register(Ze), Le(J.cross ? i("split.cross_move") : "Taşıma kuyruğa alındı");
16993
+ const Pe = mt(F) || void 0, { op: Ze } = await r.moveAsync(u, ie, Pe);
16994
+ $s(Ze.id, u, ie, Pe), E.register(Ze), Le(J.cross ? i("split.cross_move") : "Taşıma kuyruğa alındı");
16995
16995
  } else {
16996
- const { op: Ae } = await r.copy(u, ie);
16997
- E.register(Ae), Le(J.cross ? i("split.cross_copy") : "Kopyalama kuyruğa alındı");
16996
+ const { op: Pe } = await r.copy(u, ie);
16997
+ E.register(Pe), Le(J.cross ? i("split.cross_copy") : "Kopyalama kuyruğa alındı");
16998
16998
  }
16999
16999
  ce.value = { mode: null, items: [], sourcePath: null };
17000
17000
  } catch (u) {
@@ -17033,9 +17033,9 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17033
17033
  if (!u) return;
17034
17034
  const F = Be.value;
17035
17035
  try {
17036
- const J = mt(F ? ((U = gt.value) == null ? void 0 : U.getPath()) ?? "" : y.value), Ae = u.path, Ze = u.basename;
17037
- if (await r.rename(J, Ae, c), ae.value = !1, Ie.value = null, F ? await ((ie = gt.value) == null ? void 0 : ie.reload()) : await qe(), c && c !== Ze) {
17038
- const st = Ko($a(Ae), c);
17036
+ const J = mt(F ? ((U = gt.value) == null ? void 0 : U.getPath()) ?? "" : y.value), Pe = u.path, Ze = u.basename;
17037
+ if (await r.rename(J, Pe, c), ae.value = !1, Ie.value = null, F ? await ((ie = gt.value) == null ? void 0 : ie.reload()) : await qe(), c && c !== Ze) {
17038
+ const st = Ko($a(Pe), c);
17039
17039
  Sa(i("toast.renamed"), async () => {
17040
17040
  await r.rename(J, st, Ze);
17041
17041
  });
@@ -17045,12 +17045,12 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17045
17045
  }
17046
17046
  }
17047
17047
  async function sf() {
17048
- var Ae, Ze, st;
17048
+ var Pe, Ze, st;
17049
17049
  if (ee.value) {
17050
17050
  re.value = !1, Le("Çöpteki öğeler saklama süresi sonunda otomatik silinir. Kalıcı silme yönetici panelinden yapılır.");
17051
17051
  return;
17052
17052
  }
17053
- const c = Be.value, u = c ? mo.value : q.nodes.value, F = mt(c ? ((Ae = gt.value) == null ? void 0 : Ae.getPath()) ?? "" : y.value), U = u.map(($t) => $t.path);
17053
+ const c = Be.value, u = c ? mo.value : q.nodes.value, F = mt(c ? ((Pe = gt.value) == null ? void 0 : Pe.getPath()) ?? "" : y.value), U = u.map(($t) => $t.path);
17054
17054
  if (U.length === 0) {
17055
17055
  re.value = !1;
17056
17056
  return;
@@ -17074,7 +17074,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17074
17074
  et.value = c, ut.value = null, ve.value = !0;
17075
17075
  }
17076
17076
  function cf(c) {
17077
- Pe.value = c, Se.value = !0;
17077
+ Ae.value = c, Se.value = !0;
17078
17078
  }
17079
17079
  function df(c) {
17080
17080
  Le(s.value === "en" ? `Converted → ${c}` : `Dönüştürüldü → ${c}`), qe();
@@ -17098,7 +17098,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17098
17098
  function ff() {
17099
17099
  ve.value = !1, et.value = null, ut.value = null;
17100
17100
  }
17101
- function Pa() {
17101
+ function Aa() {
17102
17102
  var c;
17103
17103
  if (!oe.value) {
17104
17104
  Le(s.value === "en" ? "Read-only here" : "Burada yazma yetkiniz yok");
@@ -17141,19 +17141,19 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17141
17141
  } }
17142
17142
  ];
17143
17143
  const ie = (J) => {
17144
- const Ae = H.value.findIndex((st) => st.id === F);
17145
- if (Ae === -1) return;
17144
+ const Pe = H.value.findIndex((st) => st.id === F);
17145
+ if (Pe === -1) return;
17146
17146
  const Ze = [...H.value];
17147
- Ze[Ae] = { ...Ze[Ae], ...J }, H.value = Ze;
17147
+ Ze[Pe] = { ...Ze[Pe], ...J }, H.value = Ze;
17148
17148
  };
17149
17149
  try {
17150
17150
  await r.uploadMultipart(U, [c], (J) => {
17151
17151
  ie({ percent: J, uploadedBytes: Math.round(J / 100 * c.size) }), a("upload-progress", { uploadId: F, percent: J, done: J >= 100 });
17152
17152
  }), ie({ percent: 100, uploadedBytes: c.size, status: "done" }), a("upload-progress", { uploadId: F, percent: 100, done: !0 });
17153
17153
  } catch (J) {
17154
- const Ae = J.message;
17155
- ie({ status: "error", error: Ae }), Le(i("upload.failed", { name: c.name })), a("error", {
17156
- message: Ae,
17154
+ const Pe = J.message;
17155
+ ie({ status: "error", error: Pe }), Le(i("upload.failed", { name: c.name })), a("error", {
17156
+ message: Pe,
17157
17157
  context: { op: "upload", file: c.name }
17158
17158
  });
17159
17159
  }
@@ -17161,33 +17161,33 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17161
17161
  async function Bs(c, u) {
17162
17162
  const F = crypto.randomUUID();
17163
17163
  let U = !1;
17164
- const ie = (Ae) => {
17164
+ const ie = (Pe) => {
17165
17165
  if (!U) {
17166
- H.value = [...H.value, { ...Ae, id: F }], U = !0;
17166
+ H.value = [...H.value, { ...Pe, id: F }], U = !0;
17167
17167
  return;
17168
17168
  }
17169
17169
  const Ze = H.value.findIndex((st) => st.id === F);
17170
17170
  if (Ze !== -1) {
17171
17171
  const st = [...H.value];
17172
- st[Ze] = { ...Ae, id: F }, H.value = st;
17172
+ st[Ze] = { ...Pe, id: F }, H.value = st;
17173
17173
  }
17174
17174
  }, J = u ?? mt(y.value);
17175
17175
  try {
17176
17176
  return await x.uploadFile({
17177
17177
  path: J,
17178
17178
  file: c,
17179
- onProgress: (Ae) => {
17180
- !U && Ae.status !== "uploading" && Ae.uploadedBytes <= 0 || (ie(Ae), a("upload-progress", {
17181
- uploadId: Ae.uploadId ?? F,
17182
- percent: Ae.percent,
17183
- done: Ae.status === "done"
17179
+ onProgress: (Pe) => {
17180
+ !U && Pe.status !== "uploading" && Pe.uploadedBytes <= 0 || (ie(Pe), a("upload-progress", {
17181
+ uploadId: Pe.uploadId ?? F,
17182
+ percent: Pe.percent,
17183
+ done: Pe.status === "done"
17184
17184
  }));
17185
17185
  }
17186
17186
  }), !0;
17187
- } catch (Ae) {
17188
- if (Bm(Ae))
17187
+ } catch (Pe) {
17188
+ if (Bm(Pe))
17189
17189
  return U && (H.value = H.value.filter((st) => st.id !== F)), !1;
17190
- const Ze = Ae.message;
17190
+ const Ze = Pe.message;
17191
17191
  return U || (H.value = [
17192
17192
  ...H.value,
17193
17193
  {
@@ -17238,7 +17238,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17238
17238
  if (Zt(c)) {
17239
17239
  const U = Ki(c) || "", ie = mt(y.value), J = Ja(c);
17240
17240
  if (J && U && ie && U !== ie && !ee.value && oe.value) {
17241
- c.preventDefault(), Nn.value = 0, Rn.value = !1, wo(), jo(), Wo(J.map((Ae) => Ae.path), ie, U);
17241
+ c.preventDefault(), Nn.value = 0, Rn.value = !1, wo(), jo(), Wo(J.map((Pe) => Pe.path), ie, U);
17242
17242
  return;
17243
17243
  }
17244
17244
  }
@@ -17267,7 +17267,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17267
17267
  }
17268
17268
  rt(() => {
17269
17269
  var c, u;
17270
- window.addEventListener("dragover", Ns), window.addEventListener("drop", Rs), window.addEventListener("pointerup", Aa), window.addEventListener("blur", Aa), (u = (c = Kn.value) == null ? void 0 : c.onProgress) == null || u.call(c, (F) => {
17270
+ window.addEventListener("dragover", Ns), window.addEventListener("drop", Rs), window.addEventListener("pointerup", Pa), window.addEventListener("blur", Pa), (u = (c = Kn.value) == null ? void 0 : c.onProgress) == null || u.call(c, (F) => {
17271
17271
  const U = !!(F != null && F.dropped);
17272
17272
  if ((F == null ? void 0 : F.error) === "drop_not_found") {
17273
17273
  Le(i("dragout.not_found"));
@@ -17284,7 +17284,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17284
17284
  Ma || !(F != null && F.finished) && (F == null ? void 0 : F.done) === 0 && Le(i("dragout.preparing"));
17285
17285
  });
17286
17286
  });
17287
- function Aa() {
17287
+ function Pa() {
17288
17288
  ya() && wo();
17289
17289
  }
17290
17290
  function jo() {
@@ -17293,7 +17293,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17293
17293
  });
17294
17294
  }
17295
17295
  dt(() => {
17296
- window.removeEventListener("dragover", Ns), window.removeEventListener("drop", Rs), window.removeEventListener("hashchange", Ps), window.removeEventListener("pointerup", Aa), window.removeEventListener("blur", Aa);
17296
+ window.removeEventListener("dragover", Ns), window.removeEventListener("drop", Rs), window.removeEventListener("hashchange", As), window.removeEventListener("pointerup", Pa), window.removeEventListener("blur", Pa);
17297
17297
  });
17298
17298
  const Da = Z(() => ce.value.mode !== "cut" ? /* @__PURE__ */ new Set() : new Set(ce.value.items.map((c) => c.path)));
17299
17299
  function jr(c, u) {
@@ -17305,7 +17305,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17305
17305
  q.has(c.path) || q.click(c.path);
17306
17306
  const F = q.nodes.value.filter((U) => !Da.value.has(U.path)).filter((U) => U.basename !== ".trash").map((U) => ({ path: U.path, basename: U.basename, type: U.type }));
17307
17307
  if (Kn.value && F.length > 0) {
17308
- u.preventDefault(), Ag(F, mt(y.value)), Promise.resolve(Kn.value.start(F)).catch((U) => {
17308
+ u.preventDefault(), Pg(F, mt(y.value)), Promise.resolve(Kn.value.start(F)).catch((U) => {
17309
17309
  wo(), jo(), a("error", { message: U.message, context: { op: "drag-out" } });
17310
17310
  });
17311
17311
  return;
@@ -17355,7 +17355,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17355
17355
  $s(J.id, c, u, ie), E.register(J), Le("Taşıma kuyruğa alındı");
17356
17356
  } else {
17357
17357
  await r.move(ie, c, u), await qe();
17358
- const J = c.map((Ae) => Ko(u, Ss(Ae)));
17358
+ const J = c.map((Pe) => Ko(u, Ss(Pe)));
17359
17359
  Sa(i("toast.moved"), async () => {
17360
17360
  await r.move(u, J, ie);
17361
17361
  });
@@ -17521,7 +17521,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17521
17521
  function Jr() {
17522
17522
  La.value = !0;
17523
17523
  }
17524
- function Pf() {
17524
+ function Af() {
17525
17525
  var c;
17526
17526
  La.value = !1;
17527
17527
  try {
@@ -17542,10 +17542,10 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17542
17542
  var c;
17543
17543
  qr && clearTimeout(qr), (c = Ne.value) == null || c.removeEventListener("fe:tour-restart", qs);
17544
17544
  });
17545
- function Af() {
17545
+ function Pf() {
17546
17546
  return Ca() === "none" ? null : S ? `${Lc}:${S}` : Lc;
17547
17547
  }
17548
- const bt = z1({ storageKey: Af() }), Df = bt.restore(), Xr = bt.activeId, xn = Z(() => {
17548
+ const bt = z1({ storageKey: Pf() }), Df = bt.restore(), Xr = bt.activeId, xn = Z(() => {
17549
17549
  var c;
17550
17550
  return ((c = bt.activeTab.value) == null ? void 0 : c.split) ?? null;
17551
17551
  });
@@ -17680,12 +17680,12 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17680
17680
  return Ki(c);
17681
17681
  }
17682
17682
  async function Wo(c, u, F, U = "auto") {
17683
- var Ae;
17683
+ var Pe;
17684
17684
  const ie = c.filter(
17685
17685
  (Ze) => Ze && Ze !== u && !u.startsWith(Ze + "/") && !Mr($a(Ze), u)
17686
17686
  );
17687
17687
  if (ie.length === 0 || !u) return;
17688
- const J = Pc(ie, u, U);
17688
+ const J = Ac(ie, u, U);
17689
17689
  if (J.kind === "copy")
17690
17690
  try {
17691
17691
  const { op: Ze } = await r.copy(ie, u);
@@ -17696,7 +17696,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17696
17696
  }
17697
17697
  else
17698
17698
  J.cross && Le(i("split.cross_move")), await bf(ie, u, "move-transfer", F);
17699
- (Ae = gt.value) == null || Ae.reload();
17699
+ (Pe = gt.value) == null || Pe.reload();
17700
17700
  }
17701
17701
  function Wf(c) {
17702
17702
  Wo(c.sources, c.targetWire, c.originWire);
@@ -17877,7 +17877,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17877
17877
  onSelect: If,
17878
17878
  onClose: Xs,
17879
17879
  onNew: Zr,
17880
- onReorder: u[0] || (u[0] = (J, Ae) => f(bt).move(J, Ae)),
17880
+ onReorder: u[0] || (u[0] = (J, Pe) => f(bt).move(J, Pe)),
17881
17881
  onToggleSplit: tl
17882
17882
  }, null, 8, ["tabs", "active-id", "locale", "split-enabled", "split-active"])) : j("", !0),
17883
17883
  Re(gg, {
@@ -17904,7 +17904,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17904
17904
  "onUpdate:density": u[4] || (u[4] = (J) => X.value = J),
17905
17905
  onOpenShortcutSettings: u[5] || (u[5] = (J) => Uo.value = !0),
17906
17906
  onNewFolder: u[6] || (u[6] = (J) => fe.value = !0),
17907
- onUpload: Pa,
17907
+ onUpload: Aa,
17908
17908
  onRefresh: u[7] || (u[7] = () => qe()),
17909
17909
  onGoUp: $,
17910
17910
  onAction: Vu,
@@ -17972,8 +17972,8 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
17972
17972
  onPointerdownCapture: u[13] || (u[13] = (J) => Hf()),
17973
17973
  onClick: u[14] || (u[14] = Je((J) => f(q).clear(), ["self"]))
17974
17974
  }, [
17975
- P.value && K.value.length === 0 ? (p(), m("div", PS, [
17976
- l("span", AS, h(f(i)("loading")), 1),
17975
+ A.value && K.value.length === 0 ? (p(), m("div", AS, [
17976
+ l("span", PS, h(f(i)("loading")), 1),
17977
17977
  Y.value !== "list" ? (p(), m("div", DS, [
17978
17978
  (p(), m(se, null, Te(8, (J) => l("div", {
17979
17979
  key: J,
@@ -18066,7 +18066,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18066
18066
  }, h(_o.value ? f(i)("e2e.locked.busy") : f(i)("e2e.locked.unlock")), 9, JS)
18067
18067
  ], 32),
18068
18068
  xo.value ? (p(), m("p", XS, h(xo.value), 1)) : j("", !0)
18069
- ])) : !P.value && K.value.length === 0 && pe.value ? (p(), m("div", ZS, [
18069
+ ])) : !A.value && K.value.length === 0 && pe.value ? (p(), m("div", ZS, [
18070
18070
  u[58] || (u[58] = l("svg", {
18071
18071
  class: "fe-state__art",
18072
18072
  viewBox: "0 0 120 100",
@@ -18089,10 +18089,10 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18089
18089
  ], -1)),
18090
18090
  l("p", QS, h(f(i)("empty.search.title")), 1),
18091
18091
  l("p", e$, h(f(i)("empty.search.hint")), 1)
18092
- ])) : !P.value && K.value.length === 0 && ee.value ? (p(), m("div", t$, [
18092
+ ])) : !A.value && K.value.length === 0 && ee.value ? (p(), m("div", t$, [
18093
18093
  u[59] || (u[59] = pi('<svg class="fe-state__art" viewBox="0 0 120 100" width="110" height="92" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M38 34l4 48a6 6 0 0 0 6 5.6h24a6 6 0 0 0 6-5.6l4-48"></path><path d="M32 34h56"></path><path d="M50 34v-6a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v6"></path><path d="M52 44v32M60 44v32M68 44v32" opacity="0.5"></path></svg>', 1)),
18094
18094
  l("p", n$, h(f(i)("empty.trash.title")), 1)
18095
- ])) : !P.value && K.value.length === 0 ? (p(), m("div", o$, [
18095
+ ])) : !A.value && K.value.length === 0 ? (p(), m("div", o$, [
18096
18096
  (p(), m("svg", a$, [
18097
18097
  u[61] || (u[61] = l("path", { d: "M18 36v42a6 6 0 0 0 6 6h72a6 6 0 0 0 6-6V44a6 6 0 0 0-6-6H62l-9-10H24a6 6 0 0 0-6 6z" }, null, -1)),
18098
18098
  te.value ? (p(), m("g", r$, [...u[60] || (u[60] = [
@@ -18109,7 +18109,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18109
18109
  l("button", {
18110
18110
  type: "button",
18111
18111
  class: "fe-btn fe-btn--primary",
18112
- onClick: Pa
18112
+ onClick: Aa
18113
18113
  }, h(f(i)("empty.upload")), 1)
18114
18114
  ])) : j("", !0)
18115
18115
  ])) : Y.value === "list" ? (p(), Ge(uu, {
@@ -18119,13 +18119,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18119
18119
  clipped: Da.value,
18120
18120
  "show-parent-path": !!pe.value,
18121
18121
  locale: s.value,
18122
- loading: P.value,
18122
+ loading: A.value,
18123
18123
  "keep-badge-for": Gt.value ? Br : void 0,
18124
18124
  "starred-ids": Me.value,
18125
18125
  "api-base": o.config.apiBase ?? "",
18126
18126
  "auth-headers": () => eo(),
18127
18127
  "auth-credentials": f(r).credentialsMode(),
18128
- onClickRow: u[10] || (u[10] = (J, Ae) => f(q).click(J.path, Ae)),
18128
+ onClickRow: u[10] || (u[10] = (J, Pe) => f(q).click(J.path, Pe)),
18129
18129
  onDblRow: sn,
18130
18130
  onContextRow: Nr,
18131
18131
  onItemDragStart: jr,
@@ -18138,10 +18138,10 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18138
18138
  clipped: Da.value,
18139
18139
  "show-parent-path": !!pe.value,
18140
18140
  locale: s.value,
18141
- loading: P.value,
18141
+ loading: A.value,
18142
18142
  "keep-badge-for": Gt.value ? Br : void 0,
18143
18143
  "thumb-src": f(T).src,
18144
- onClickCard: u[11] || (u[11] = (J, Ae) => f(q).click(J.path, Ae)),
18144
+ onClickCard: u[11] || (u[11] = (J, Pe) => f(q).click(J.path, Pe)),
18145
18145
  onDblCard: sn,
18146
18146
  onContextCard: Nr,
18147
18147
  onItemDragStart: jr,
@@ -18153,9 +18153,9 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18153
18153
  clipped: Da.value,
18154
18154
  "show-parent-path": !!pe.value,
18155
18155
  locale: s.value,
18156
- loading: P.value,
18156
+ loading: A.value,
18157
18157
  "thumb-src": f(T).src,
18158
- onClickCard: u[12] || (u[12] = (J, Ae) => f(q).click(J.path, Ae)),
18158
+ onClickCard: u[12] || (u[12] = (J, Pe) => f(q).click(J.path, Pe)),
18159
18159
  onDblCard: sn,
18160
18160
  onContextCard: Nr,
18161
18161
  onItemDragStart: jr,
@@ -18238,7 +18238,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18238
18238
  class: "fe-fab",
18239
18239
  title: f(i)("toolbar.upload"),
18240
18240
  "aria-label": f(i)("toolbar.upload"),
18241
- onClick: Pa
18241
+ onClick: Aa
18242
18242
  }, [...u[63] || (u[63] = [
18243
18243
  l("svg", {
18244
18244
  class: "fe-ficon",
@@ -18335,13 +18335,13 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18335
18335
  "viewer-base-url": Ws.value,
18336
18336
  onClose: u[24] || (u[24] = (J) => ze.value = !1)
18337
18337
  }, null, 8, ["open", "locale", "file", "theme", "preview-url", "download-url", "only-office-base", "only-office-config-endpoint", "new-tab-enabled", "save-text-endpoint", "open-mode", "auth-headers", "auth-credentials", "drawio-url", "pdf-worker-url", "pdf-save-url", "viewer-base-url"]),
18338
- Se.value && Pe.value && G.value ? (p(), Ge($0, {
18338
+ Se.value && Ae.value && G.value ? (p(), Ge($0, {
18339
18339
  key: 4,
18340
18340
  "convert-url": G.value,
18341
- "file-name": ((U = Pe.value) == null ? void 0 : U.basename) || ((ie = Pe.value) == null ? void 0 : ie.path) || "",
18341
+ "file-name": ((U = Ae.value) == null ? void 0 : U.basename) || ((ie = Ae.value) == null ? void 0 : ie.path) || "",
18342
18342
  "fetch-bytes": () => {
18343
18343
  var J;
18344
- return f(r).fetchArrayBuffer(((J = Pe.value) == null ? void 0 : J.path) ?? "");
18344
+ return f(r).fetchArrayBuffer(((J = Ae.value) == null ? void 0 : J.path) ?? "");
18345
18345
  },
18346
18346
  upload: (J) => f(r).uploadMultipart(mt(y.value), [J]).then(() => {
18347
18347
  }),
@@ -18358,7 +18358,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18358
18358
  "share-max-ttl-days": Xe.value,
18359
18359
  onClose: u[26] || (u[26] = (J) => Fe.value = !1)
18360
18360
  }, null, 8, ["api", "path", "is-dir", "size", "locale", "share-max-ttl-days"])) : j("", !0),
18361
- Re(Pn, { name: "fe-modal" }, {
18361
+ Re(An, { name: "fe-modal" }, {
18362
18362
  default: lt(() => [
18363
18363
  xe.value ? (p(), m("div", {
18364
18364
  key: 0,
@@ -18395,7 +18395,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18395
18395
  ]),
18396
18396
  _: 1
18397
18397
  }),
18398
- Re(Pn, { name: "fe-modal" }, {
18398
+ Re(An, { name: "fe-modal" }, {
18399
18399
  default: lt(() => [
18400
18400
  Ce.value && we.value && typeof we.value.id == "number" ? (p(), m("div", {
18401
18401
  key: 0,
@@ -18442,7 +18442,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18442
18442
  onOpenNode: sn,
18443
18443
  onNavigate: u[36] || (u[36] = (J) => qe(J)),
18444
18444
  onNewFolder: u[37] || (u[37] = (J) => fe.value = !0),
18445
- onUpload: Pa,
18445
+ onUpload: Aa,
18446
18446
  onToggleView: u[38] || (u[38] = (J) => ol(Qr.value === "list" ? "grid" : Qr.value === "grid" ? "gallery" : "list")),
18447
18447
  onOpenTrash: Ro,
18448
18448
  onRefresh: u[39] || (u[39] = () => qe()),
@@ -18482,20 +18482,20 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18482
18482
  class: "fe__file-input",
18483
18483
  onChange: pf
18484
18484
  }, null, 544),
18485
- Re(Pn, { name: "fe-toast" }, {
18485
+ Re(An, { name: "fe-toast" }, {
18486
18486
  default: lt(() => [
18487
18487
  Yt.value ? (p(), m("div", {
18488
18488
  key: 0,
18489
18489
  class: $e(["fe-toast", { "fe-toast--action": !!Yt.value.actionLabel }]),
18490
18490
  role: "status",
18491
- onClick: Ar
18491
+ onClick: Pr
18492
18492
  }, [
18493
18493
  l("span", b$, h(Yt.value.message), 1),
18494
18494
  Yt.value.actionLabel && Yt.value.action ? (p(), m("button", {
18495
18495
  key: 0,
18496
18496
  type: "button",
18497
18497
  class: "fe-toast__action",
18498
- onClick: Je(Au, ["stop"])
18498
+ onClick: Je(Pu, ["stop"])
18499
18499
  }, h(Yt.value.actionLabel), 1)) : j("", !0)
18500
18500
  ], 2)) : j("", !0)
18501
18501
  ]),
@@ -18530,7 +18530,7 @@ const q1 = { class: "fe-form__row" }, J1 = { class: "fe-form__row fe-form__row--
18530
18530
  locale: s.value,
18531
18531
  root: Ne.value,
18532
18532
  theme: Rt.value,
18533
- onClose: Pf
18533
+ onClose: Af
18534
18534
  }, null, 8, ["open", "locale", "root", "theme"])
18535
18535
  ], 34);
18536
18536
  };
@@ -18597,7 +18597,7 @@ function $$(e) {
18597
18597
  d.value = !1;
18598
18598
  }
18599
18599
  }
18600
- async function P(k) {
18600
+ async function A(k) {
18601
18601
  const z = await t.jsonFetch(o("/api/admin/storages"), {
18602
18602
  method: "POST",
18603
18603
  headers: { "Content-Type": "application/json" },
@@ -18606,12 +18606,12 @@ function $$(e) {
18606
18606
  return await E(), z;
18607
18607
  }
18608
18608
  async function S(k, z) {
18609
- const A = await t.jsonFetch(o(`/api/admin/storages/${k}`), {
18609
+ const P = await t.jsonFetch(o(`/api/admin/storages/${k}`), {
18610
18610
  method: "PATCH",
18611
18611
  headers: { "Content-Type": "application/json" },
18612
18612
  body: JSON.stringify(z)
18613
18613
  });
18614
- return await E(), A;
18614
+ return await E(), P;
18615
18615
  }
18616
18616
  async function C(k) {
18617
18617
  await t.jsonFetch(o(`/api/admin/storages/${k}`), { method: "DELETE" }), await E();
@@ -18636,14 +18636,14 @@ function $$(e) {
18636
18636
  }
18637
18637
  function I(k) {
18638
18638
  const z = {};
18639
- for (const A of M(k))
18640
- A.default !== void 0 && A.default !== null && (z[A.key] = A.default);
18639
+ for (const P of M(k))
18640
+ P.default !== void 0 && P.default !== null && (z[P.key] = P.default);
18641
18641
  return z;
18642
18642
  }
18643
18643
  function K(k, z) {
18644
- return M(k).filter((A) => {
18645
- if (!A.required || A.default !== void 0) return !1;
18646
- for (const D of [A.key, ...A.aliases ?? []]) {
18644
+ return M(k).filter((P) => {
18645
+ if (!P.required || P.default !== void 0) return !1;
18646
+ for (const D of [P.key, ...P.aliases ?? []]) {
18647
18647
  const Y = z[D];
18648
18648
  if (Y != null && !(typeof Y == "string" && Y.trim() === ""))
18649
18649
  return !1;
@@ -18666,7 +18666,7 @@ function $$(e) {
18666
18666
  denial: T,
18667
18667
  // actions
18668
18668
  load: E,
18669
- createStorage: P,
18669
+ createStorage: A,
18670
18670
  updateStorage: S,
18671
18671
  deleteStorage: C,
18672
18672
  testStorage: O,
@@ -19393,7 +19393,7 @@ const C$ = (e, t) => {
19393
19393
  clients: g,
19394
19394
  notes: v
19395
19395
  };
19396
- }, P$ = (e, t) => {
19396
+ }, A$ = (e, t) => {
19397
19397
  const n = e.nfsHost || No(e.origin), o = e.nfsPort || 2049, a = e.nfsPath || t("conn.guide.nfs.pathPlaceholder"), r = e.nfsReadOnly ? ",ro" : "", s = `nfsvers=3,tcp,port=${o},mountport=${o},nolock${r}`, i = [
19398
19398
  { label: t("conn.guide.nfs.fact.host"), value: n, hint: t("conn.guide.nfs.fact.hostHint") },
19399
19399
  { label: t("conn.guide.nfs.fact.port"), value: String(o), hint: t("conn.guide.nfs.fact.portHint") },
@@ -19506,7 +19506,7 @@ const C$ = (e, t) => {
19506
19506
  clients: d,
19507
19507
  notes: g
19508
19508
  };
19509
- }, A$ = (e, t) => {
19509
+ }, P$ = (e, t) => {
19510
19510
  const n = e.origin.replace(/\/+$/, ""), o = e.storage || e.storages[0] || "main", a = [
19511
19511
  { label: t("conn.guide.mount.fact.url"), value: n, hint: t("conn.guide.mount.fact.urlHint") },
19512
19512
  {
@@ -19628,8 +19628,8 @@ const C$ = (e, t) => {
19628
19628
  s3: T$,
19629
19629
  sftp: z$,
19630
19630
  ftps: E$,
19631
- nfs: P$,
19632
- mount: A$
19631
+ nfs: A$,
19632
+ mount: P$
19633
19633
  }, D$ = {
19634
19634
  webdav: "WebDAV",
19635
19635
  s3: "S3",
@@ -19726,7 +19726,7 @@ const L$ = { class: "fe-cfield" }, F$ = {
19726
19726
  const M = x(y);
19727
19727
  return M === "" || M === void 0 || M === null ? "" : String(M);
19728
19728
  }
19729
- function P(y) {
19729
+ function A(y) {
19730
19730
  return x(y) === !0;
19731
19731
  }
19732
19732
  function S(y) {
@@ -19747,7 +19747,7 @@ const L$ = { class: "fe-cfield" }, F$ = {
19747
19747
  I.type === "bool" ? (p(), m("label", B$, [
19748
19748
  l("input", {
19749
19749
  type: "checkbox",
19750
- checked: P(I),
19750
+ checked: A(I),
19751
19751
  disabled: e.disabled,
19752
19752
  onChange: (K) => T(I.key, K.target.checked)
19753
19753
  }, null, 40, N$),
@@ -19832,7 +19832,7 @@ const L$ = { class: "fe-cfield" }, F$ = {
19832
19832
  I.type === "bool" ? (p(), m("label", Q$, [
19833
19833
  l("input", {
19834
19834
  type: "checkbox",
19835
- checked: P(I),
19835
+ checked: A(I),
19836
19836
  disabled: e.disabled,
19837
19837
  onChange: (K) => T(I.key, K.target.checked)
19838
19838
  }, null, 40, eC),
@@ -19964,7 +19964,7 @@ const L$ = { class: "fe-cfield" }, F$ = {
19964
19964
  s.value ? (p(), m("div", hC, [
19965
19965
  (p(!0), m(se, null, Te(s.value.blocks, (x, R) => (p(), m(se, { key: R }, [
19966
19966
  x.kind === "steps" ? (p(), m("ol", mC, [
19967
- (p(!0), m(se, null, Te(x.steps ?? [], (E, P) => (p(), m("li", { key: P }, h(E), 1))), 128))
19967
+ (p(!0), m(se, null, Te(x.steps ?? [], (E, A) => (p(), m("li", { key: A }, h(E), 1))), 128))
19968
19968
  ])) : g(x) ? (p(), m("div", vC, [
19969
19969
  l("div", gC, [
19970
19970
  l("span", bC, h(x.caption), 1),
@@ -20054,7 +20054,7 @@ function TC(e) {
20054
20054
  d.value = _(M);
20055
20055
  }
20056
20056
  }
20057
- async function P(O) {
20057
+ async function A(O) {
20058
20058
  var y, M;
20059
20059
  d.value = null;
20060
20060
  try {
@@ -20084,14 +20084,14 @@ function TC(e) {
20084
20084
  load: x,
20085
20085
  create: R,
20086
20086
  setDisabled: E,
20087
- remove: P,
20087
+ remove: A,
20088
20088
  dismissSecret: S
20089
20089
  };
20090
20090
  }
20091
20091
  const zC = {
20092
20092
  class: "fe-s3keys",
20093
20093
  "data-testid": "s3-keys"
20094
- }, EC = { class: "fe-s3keys__head" }, PC = { class: "fe-s3keys__title" }, AC = { class: "fe-s3keys__lead" }, DC = {
20094
+ }, EC = { class: "fe-s3keys__head" }, AC = { class: "fe-s3keys__title" }, PC = { class: "fe-s3keys__lead" }, DC = {
20095
20095
  key: 0,
20096
20096
  class: "fe-s3keys__warn"
20097
20097
  }, MC = {
@@ -20138,7 +20138,7 @@ const zC = {
20138
20138
  load: x,
20139
20139
  create: R,
20140
20140
  setDisabled: E,
20141
- remove: P,
20141
+ remove: A,
20142
20142
  dismissSecret: S
20143
20143
  } = TC(n.config), C = /* @__PURE__ */ w(""), O = /* @__PURE__ */ w(""), y = /* @__PURE__ */ w(""), M = /* @__PURE__ */ w(!1), I = /* @__PURE__ */ w(null), K = /* @__PURE__ */ w(null);
20144
20144
  let V = null;
@@ -20169,7 +20169,7 @@ const zC = {
20169
20169
  M.value = !1;
20170
20170
  }
20171
20171
  }
20172
- async function A(ee) {
20172
+ async function P(ee) {
20173
20173
  M.value = !0;
20174
20174
  try {
20175
20175
  await E(ee.id, !ee.disabled_at), k();
@@ -20184,7 +20184,7 @@ const zC = {
20184
20184
  }
20185
20185
  I.value = null, M.value = !0;
20186
20186
  try {
20187
- await P(ee.id), k();
20187
+ await A(ee.id), k();
20188
20188
  } finally {
20189
20189
  M.value = !1;
20190
20190
  }
@@ -20213,8 +20213,8 @@ const zC = {
20213
20213
  }
20214
20214
  return (ee, he) => (p(), m("section", zC, [
20215
20215
  l("header", EC, [
20216
- l("h4", PC, h(f(r)("conn.s3keys.title")), 1),
20217
- l("p", AC, h(f(r)("conn.s3keys.lead")), 1)
20216
+ l("h4", AC, h(f(r)("conn.s3keys.title")), 1),
20217
+ l("p", PC, h(f(r)("conn.s3keys.lead")), 1)
20218
20218
  ]),
20219
20219
  f(i) && !f(i).enabled ? (p(), m("p", DC, h(f(r)("conn.s3keys.disabled")), 1)) : j("", !0),
20220
20220
  f(v) === !1 ? (p(), m("p", MC, h(f(r)("conn.s3keys.cannotMint")), 1)) : j("", !0),
@@ -20307,7 +20307,7 @@ const zC = {
20307
20307
  l("button", {
20308
20308
  class: "fe-s3keys__link",
20309
20309
  disabled: M.value,
20310
- onClick: (N) => A(ue)
20310
+ onClick: (N) => P(ue)
20311
20311
  }, h(ue.disabled_at ? f(r)("conn.s3keys.enable") : f(r)("conn.s3keys.disable")), 9, XC),
20312
20312
  l("button", {
20313
20313
  class: "fe-s3keys__link is-danger",
@@ -20387,8 +20387,8 @@ function t3(e) {
20387
20387
  d.value = v(C);
20388
20388
  }
20389
20389
  }
20390
- const P = Z(() => a.value.some((S) => !S.disabled_at));
20391
- return { keys: a, connection: r, loading: s, loaded: i, error: d, canAdd: g, hasUsableKey: P, load: T, add: x, setDisabled: R, remove: E };
20390
+ const A = Z(() => a.value.some((S) => !S.disabled_at));
20391
+ return { keys: a, connection: r, loading: s, loaded: i, error: d, canAdd: g, hasUsableKey: A, load: T, add: x, setDisabled: R, remove: E };
20392
20392
  }
20393
20393
  const n3 = {
20394
20394
  key: 0,
@@ -20423,19 +20423,19 @@ const n3 = {
20423
20423
  },
20424
20424
  emits: ["active"],
20425
20425
  setup(e, { emit: t }) {
20426
- const n = e, o = Z(() => n.keysVisible !== !1), a = t, r = Z(() => n.config.locale ?? "tr"), { t: s } = ot(r), { keys: i, connection: d, loading: g, error: v, canAdd: _, hasUsableKey: T, load: x, add: R, setDisabled: E, remove: P } = t3(n.config), S = /* @__PURE__ */ w(""), C = /* @__PURE__ */ w(""), O = /* @__PURE__ */ w(!1), y = /* @__PURE__ */ w(null);
20426
+ const n = e, o = Z(() => n.keysVisible !== !1), a = t, r = Z(() => n.config.locale ?? "tr"), { t: s } = ot(r), { keys: i, connection: d, loading: g, error: v, canAdd: _, hasUsableKey: T, load: x, add: R, setDisabled: E, remove: A } = t3(n.config), S = /* @__PURE__ */ w(""), C = /* @__PURE__ */ w(""), O = /* @__PURE__ */ w(!1), y = /* @__PURE__ */ w(null);
20427
20427
  function M() {
20428
- const A = d.value;
20429
- A && a("active", {
20430
- host: A.host,
20431
- port: A.port,
20432
- login: A.login,
20433
- enabled: A.enabled,
20428
+ const P = d.value;
20429
+ P && a("active", {
20430
+ host: P.host,
20431
+ port: P.port,
20432
+ login: P.login,
20433
+ enabled: P.enabled,
20434
20434
  hasKey: T.value,
20435
20435
  // The FTPS endpoint travels with the SSH facts: for the user this is one
20436
20436
  // question ("how do I reach this from a program?"), and two calls to
20437
20437
  // answer it would be two chances to disagree.
20438
- ftps: A.ftps
20438
+ ftps: P.ftps
20439
20439
  });
20440
20440
  }
20441
20441
  rt(async () => {
@@ -20451,35 +20451,35 @@ const n3 = {
20451
20451
  }
20452
20452
  }
20453
20453
  }
20454
- async function K(A) {
20454
+ async function K(P) {
20455
20455
  O.value = !0;
20456
20456
  try {
20457
- await E(A.id, !A.disabled_at), M();
20457
+ await E(P.id, !P.disabled_at), M();
20458
20458
  } finally {
20459
20459
  O.value = !1;
20460
20460
  }
20461
20461
  }
20462
- async function V(A) {
20463
- if (y.value !== A.id) {
20464
- y.value = A.id;
20462
+ async function V(P) {
20463
+ if (y.value !== P.id) {
20464
+ y.value = P.id;
20465
20465
  return;
20466
20466
  }
20467
20467
  y.value = null, O.value = !0;
20468
20468
  try {
20469
- await P(A.id), M();
20469
+ await A(P.id), M();
20470
20470
  } finally {
20471
20471
  O.value = !1;
20472
20472
  }
20473
20473
  }
20474
- function k(A) {
20475
- if (!A) return "";
20476
- const D = new Date(A);
20474
+ function k(P) {
20475
+ if (!P) return "";
20476
+ const D = new Date(P);
20477
20477
  return Number.isNaN(D.getTime()) ? "" : D.toLocaleDateString();
20478
20478
  }
20479
- function z(A) {
20480
- return "SHA256:" + A.fingerprint;
20479
+ function z(P) {
20480
+ return "SHA256:" + P.fingerprint;
20481
20481
  }
20482
- return (A, D) => o.value ? (p(), m("section", n3, [
20482
+ return (P, D) => o.value ? (p(), m("section", n3, [
20483
20483
  l("header", o3, [
20484
20484
  l("h4", a3, h(f(s)("conn.sshkeys.title")), 1),
20485
20485
  l("p", r3, h(f(s)("conn.sshkeys.lead")), 1)
@@ -20610,7 +20610,7 @@ function k3(e) {
20610
20610
  d.value = _(M);
20611
20611
  }
20612
20612
  }
20613
- async function P(O) {
20613
+ async function A(O) {
20614
20614
  var y, M;
20615
20615
  d.value = null;
20616
20616
  try {
@@ -20640,7 +20640,7 @@ function k3(e) {
20640
20640
  load: x,
20641
20641
  create: R,
20642
20642
  setDisabled: E,
20643
- remove: P,
20643
+ remove: A,
20644
20644
  dismissPath: S
20645
20645
  };
20646
20646
  }
@@ -20653,10 +20653,10 @@ const w3 = {
20653
20653
  }, E3 = {
20654
20654
  key: 1,
20655
20655
  class: "fe-s3keys__muted"
20656
- }, P3 = {
20656
+ }, A3 = {
20657
20657
  key: 2,
20658
20658
  class: "fe-s3keys__warn"
20659
- }, A3 = {
20659
+ }, P3 = {
20660
20660
  key: 3,
20661
20661
  class: "fe-s3keys__form fe-nfs__form"
20662
20662
  }, D3 = ["placeholder"], M3 = { value: "" }, O3 = ["value"], I3 = ["placeholder", "disabled"], L3 = ["placeholder"], F3 = { class: "fe-nfs__ro" }, B3 = ["disabled"], N3 = {
@@ -20694,11 +20694,11 @@ const w3 = {
20694
20694
  load: x,
20695
20695
  create: R,
20696
20696
  setDisabled: E,
20697
- remove: P,
20697
+ remove: A,
20698
20698
  dismissPath: S
20699
20699
  } = k3(n.config), C = /* @__PURE__ */ w(""), O = /* @__PURE__ */ w(""), y = /* @__PURE__ */ w(""), M = /* @__PURE__ */ w(!0), I = /* @__PURE__ */ w(""), K = /* @__PURE__ */ w(!1), V = /* @__PURE__ */ w(null), k = /* @__PURE__ */ w(!1);
20700
20700
  let z = null;
20701
- function A() {
20701
+ function P() {
20702
20702
  var B, b;
20703
20703
  const N = i.value;
20704
20704
  N && o("active", {
@@ -20713,7 +20713,7 @@ const w3 = {
20713
20713
  });
20714
20714
  }
20715
20715
  rt(async () => {
20716
- await x(), A();
20716
+ await x(), P();
20717
20717
  });
20718
20718
  async function D() {
20719
20719
  K.value = !0;
@@ -20724,7 +20724,7 @@ const w3 = {
20724
20724
  prefix: y.value.trim() || void 0,
20725
20725
  read_only: M.value,
20726
20726
  allow_cidrs: I.value.trim() || void 0
20727
- }), C.value = "", A();
20727
+ }), C.value = "", P();
20728
20728
  } finally {
20729
20729
  K.value = !1;
20730
20730
  }
@@ -20732,7 +20732,7 @@ const w3 = {
20732
20732
  async function Y(N) {
20733
20733
  K.value = !0;
20734
20734
  try {
20735
- await E(N.id, !N.disabled_at), A();
20735
+ await E(N.id, !N.disabled_at), P();
20736
20736
  } finally {
20737
20737
  K.value = !1;
20738
20738
  }
@@ -20744,7 +20744,7 @@ const w3 = {
20744
20744
  }
20745
20745
  V.value = null, K.value = !0;
20746
20746
  try {
20747
- await P(N.id), A();
20747
+ await A(N.id), P();
20748
20748
  } finally {
20749
20749
  K.value = !1;
20750
20750
  }
@@ -20788,8 +20788,8 @@ const w3 = {
20788
20788
  l("p", T3, h(f(r)("conn.nfs.pathIsSecret")), 1),
20789
20789
  f(i) && !f(i).enabled ? (p(), m("p", z3, h(f(r)("conn.nfs.disabled")), 1)) : j("", !0),
20790
20790
  f(v) === !1 ? (p(), m("p", E3, h(f(r)("conn.nfs.cannotMint")), 1)) : j("", !0),
20791
- f(g) ? (p(), m("p", P3, h(f(g)), 1)) : j("", !0),
20792
- f(v) ? (p(), m("div", A3, [
20791
+ f(g) ? (p(), m("p", A3, h(f(g)), 1)) : j("", !0),
20792
+ f(v) ? (p(), m("div", P3, [
20793
20793
  Ke(l("input", {
20794
20794
  "onUpdate:modelValue": B[0] || (B[0] = (b) => C.value = b),
20795
20795
  class: "fe-cfield__input",
@@ -20899,51 +20899,51 @@ const w3 = {
20899
20899
  }
20900
20900
  });
20901
20901
  function J3(e) {
20902
- const t = Fo(e), n = Bo(e), o = (P) => `${n}${P}`, a = /* @__PURE__ */ Gn([]), r = /* @__PURE__ */ w(!1), s = /* @__PURE__ */ w(!1), i = /* @__PURE__ */ w(null), d = /* @__PURE__ */ w(null), g = /* @__PURE__ */ w(null);
20903
- function v(P) {
20904
- const S = P;
20902
+ const t = Fo(e), n = Bo(e), o = (A) => `${n}${A}`, a = /* @__PURE__ */ Gn([]), r = /* @__PURE__ */ w(!1), s = /* @__PURE__ */ w(!1), i = /* @__PURE__ */ w(null), d = /* @__PURE__ */ w(null), g = /* @__PURE__ */ w(null);
20903
+ function v(A) {
20904
+ const S = A;
20905
20905
  if (S != null && S.detail)
20906
20906
  try {
20907
20907
  const C = JSON.parse(S.detail);
20908
20908
  if (C != null && C.error) return C.error;
20909
20909
  } catch {
20910
20910
  }
20911
- return (S == null ? void 0 : S.message) || String(P);
20911
+ return (S == null ? void 0 : S.message) || String(A);
20912
20912
  }
20913
- function _(P) {
20914
- return P == null ? void 0 : P.status;
20913
+ function _(A) {
20914
+ return A == null ? void 0 : A.status;
20915
20915
  }
20916
20916
  async function T() {
20917
20917
  r.value = !0, i.value = null;
20918
20918
  try {
20919
- const P = await t.jsonFetch(o("/api/tokens"));
20920
- a.value = Array.isArray(P == null ? void 0 : P.tokens) ? P.tokens : [], d.value = !0;
20921
- } catch (P) {
20919
+ const A = await t.jsonFetch(o("/api/tokens"));
20920
+ a.value = Array.isArray(A == null ? void 0 : A.tokens) ? A.tokens : [], d.value = !0;
20921
+ } catch (A) {
20922
20922
  a.value = [];
20923
- const S = _(P);
20924
- d.value = !1, S !== 401 && S !== 403 && (i.value = v(P));
20923
+ const S = _(A);
20924
+ d.value = !1, S !== 401 && S !== 403 && (i.value = v(A));
20925
20925
  } finally {
20926
20926
  r.value = !1, s.value = !0;
20927
20927
  }
20928
20928
  }
20929
- async function x(P) {
20929
+ async function x(A) {
20930
20930
  i.value = null;
20931
20931
  try {
20932
20932
  const S = await t.jsonFetch(o("/api/tokens"), {
20933
20933
  method: "POST",
20934
20934
  headers: { "Content-Type": "application/json" },
20935
- body: JSON.stringify(P)
20935
+ body: JSON.stringify(A)
20936
20936
  });
20937
20937
  return g.value = S, await T(), S;
20938
20938
  } catch (S) {
20939
20939
  return i.value = v(S), null;
20940
20940
  }
20941
20941
  }
20942
- async function R(P) {
20942
+ async function R(A) {
20943
20943
  var S, C;
20944
20944
  i.value = null;
20945
20945
  try {
20946
- await t.jsonFetch(o(`/api/tokens/${P}`), { method: "DELETE" }), ((C = (S = g.value) == null ? void 0 : S.row) == null ? void 0 : C.id) === P && (g.value = null), await T();
20946
+ await t.jsonFetch(o(`/api/tokens/${A}`), { method: "DELETE" }), ((C = (S = g.value) == null ? void 0 : S.row) == null ? void 0 : C.id) === A && (g.value = null), await T();
20947
20947
  } catch (O) {
20948
20948
  i.value = v(O);
20949
20949
  }
@@ -20991,7 +20991,7 @@ const X3 = {
20991
20991
  setup(e, { emit: t }) {
20992
20992
  const n = e, o = t, a = Z(() => n.config.locale ?? "tr"), { t: r } = ot(a), { tokens: s, loading: i, error: d, canMint: g, revealed: v, load: _, create: T, remove: x, dismiss: R } = J3(
20993
20993
  n.config
20994
- ), E = /* @__PURE__ */ w(""), P = /* @__PURE__ */ w(!1), S = /* @__PURE__ */ w(!1), C = /* @__PURE__ */ w(null);
20994
+ ), E = /* @__PURE__ */ w(""), A = /* @__PURE__ */ w(!1), S = /* @__PURE__ */ w(!1), C = /* @__PURE__ */ w(null);
20995
20995
  rt(async () => {
20996
20996
  await _(), o("active", { hasToken: s.value.length > 0 });
20997
20997
  });
@@ -21007,12 +21007,12 @@ const X3 = {
21007
21007
  }
21008
21008
  }
21009
21009
  async function M() {
21010
- if (!P.value) {
21011
- P.value = !0, S.value = !1;
21010
+ if (!A.value) {
21011
+ A.value = !0, S.value = !1;
21012
21012
  try {
21013
21013
  await T({ label: E.value.trim() || O(), scopes: "read,write,delete" }), await _(), o("active", { hasToken: s.value.length > 0 }), E.value = "";
21014
21014
  } finally {
21015
- P.value = !1;
21015
+ A.value = !1;
21016
21016
  }
21017
21017
  }
21018
21018
  }
@@ -21021,11 +21021,11 @@ const X3 = {
21021
21021
  C.value = z.id;
21022
21022
  return;
21023
21023
  }
21024
- C.value = null, P.value = !0;
21024
+ C.value = null, A.value = !0;
21025
21025
  try {
21026
21026
  await x(z.id), o("active", { hasToken: s.value.length > 0 });
21027
21027
  } finally {
21028
- P.value = !1;
21028
+ A.value = !1;
21029
21029
  }
21030
21030
  }
21031
21031
  async function K() {
@@ -21038,13 +21038,13 @@ const X3 = {
21038
21038
  }
21039
21039
  function V(z) {
21040
21040
  if (!z) return "";
21041
- const A = new Date(z);
21042
- return Number.isNaN(A.getTime()) ? "" : A.toLocaleDateString();
21041
+ const P = new Date(z);
21042
+ return Number.isNaN(P.getTime()) ? "" : P.toLocaleDateString();
21043
21043
  }
21044
21044
  function k(z) {
21045
21045
  return z.last_used_at ? V(z.last_used_at) : r("conn.tokens.neverUsed");
21046
21046
  }
21047
- return (z, A) => (p(), m("section", X3, [
21047
+ return (z, P) => (p(), m("section", X3, [
21048
21048
  l("header", Z3, [
21049
21049
  l("h4", Q3, h(f(r)("conn.tokens.title")), 1),
21050
21050
  l("p", e4, h(f(r)("conn.tokens.lead")), 1)
@@ -21053,7 +21053,7 @@ const X3 = {
21053
21053
  f(d) ? (p(), m("p", n4, h(f(d)), 1)) : j("", !0),
21054
21054
  f(g) ? (p(), m("div", o4, [
21055
21055
  Ke(l("input", {
21056
- "onUpdate:modelValue": A[0] || (A[0] = (D) => E.value = D),
21056
+ "onUpdate:modelValue": P[0] || (P[0] = (D) => E.value = D),
21057
21057
  class: "fe-cfield__input",
21058
21058
  placeholder: O(),
21059
21059
  "data-testid": "token-label"
@@ -21062,7 +21062,7 @@ const X3 = {
21062
21062
  ]),
21063
21063
  l("button", {
21064
21064
  class: "fe-s3keys__btn",
21065
- disabled: P.value,
21065
+ disabled: A.value,
21066
21066
  "data-testid": "token-mint",
21067
21067
  onClick: M
21068
21068
  }, h(f(r)("conn.tokens.mint")), 9, r4)
@@ -21078,7 +21078,7 @@ const X3 = {
21078
21078
  ]),
21079
21079
  l("button", {
21080
21080
  class: "fe-s3keys__dismiss",
21081
- onClick: A[1] || (A[1] = //@ts-ignore
21081
+ onClick: P[1] || (P[1] = //@ts-ignore
21082
21082
  (...D) => f(R) && f(R)(...D))
21083
21083
  }, h(f(r)("conn.tokens.dismiss")), 1)
21084
21084
  ])) : j("", !0),
@@ -21088,7 +21088,7 @@ const X3 = {
21088
21088
  l("th", null, h(f(r)("conn.tokens.col.label")), 1),
21089
21089
  l("th", null, h(f(r)("conn.tokens.col.scopes")), 1),
21090
21090
  l("th", null, h(f(r)("conn.tokens.col.used")), 1),
21091
- A[2] || (A[2] = l("th", null, null, -1))
21091
+ P[2] || (P[2] = l("th", null, null, -1))
21092
21092
  ])
21093
21093
  ]),
21094
21094
  l("tbody", null, [
@@ -21103,7 +21103,7 @@ const X3 = {
21103
21103
  l("td", u4, [
21104
21104
  l("button", {
21105
21105
  class: "fe-s3keys__link is-danger",
21106
- disabled: P.value,
21106
+ disabled: A.value,
21107
21107
  onClick: (Y) => I(D)
21108
21108
  }, h(C.value === D.id ? f(r)("conn.tokens.confirm") : f(r)("conn.tokens.revoke")), 9, f4)
21109
21109
  ])
@@ -21130,7 +21130,7 @@ const X3 = {
21130
21130
  }, C4 = { class: "fe-conn__muted" }, T4 = { class: "fe-conn__muted" }, z4 = {
21131
21131
  key: 1,
21132
21132
  class: "fe-conn__list"
21133
- }, E4 = { class: "fe-conn__rowmain" }, P4 = { class: "fe-conn__name" }, A4 = { class: "fe-conn__muted" }, D4 = {
21133
+ }, E4 = { class: "fe-conn__rowmain" }, A4 = { class: "fe-conn__name" }, P4 = { class: "fe-conn__muted" }, D4 = {
21134
21134
  key: 0,
21135
21135
  class: "fe-conn__error"
21136
21136
  }, M4 = {
@@ -21192,7 +21192,7 @@ const X3 = {
21192
21192
  canManage: x,
21193
21193
  denial: R,
21194
21194
  load: E,
21195
- createStorage: P,
21195
+ createStorage: A,
21196
21196
  updateStorage: S,
21197
21197
  deleteStorage: C,
21198
21198
  testStorage: O,
@@ -21204,7 +21204,7 @@ const X3 = {
21204
21204
  function z(ae) {
21205
21205
  k.value = ae.matches;
21206
21206
  }
21207
- const A = Z(() => {
21207
+ const P = Z(() => {
21208
21208
  const ae = n.config.theme ?? "auto";
21209
21209
  return ae === "light" || ae === "dark" ? ae : k.value ? "dark" : "light";
21210
21210
  }), D = /* @__PURE__ */ w(n.initialTab ?? "storages"), Y = /* @__PURE__ */ w({ kind: "none" }), X = /* @__PURE__ */ w(""), pe = /* @__PURE__ */ w(""), ee = /* @__PURE__ */ w(!1), he = /* @__PURE__ */ w(!0), ue = /* @__PURE__ */ w({}), N = /* @__PURE__ */ w([]), B = /* @__PURE__ */ w(!1), b = /* @__PURE__ */ w(!1), $ = /* @__PURE__ */ w(null), q = /* @__PURE__ */ w(
@@ -21255,7 +21255,7 @@ const X3 = {
21255
21255
  read_only: ee.value,
21256
21256
  enabled: he.value
21257
21257
  };
21258
- Y.value.kind === "edit" ? await S(Y.value.row.id, ae) : await P(ae), we(), o("changed");
21258
+ Y.value.kind === "edit" ? await S(Y.value.row.id, ae) : await A(ae), we(), o("changed");
21259
21259
  } catch (ae) {
21260
21260
  const re = ae ?? {};
21261
21261
  let ve = "";
@@ -21285,8 +21285,8 @@ const X3 = {
21285
21285
  function ge(ae) {
21286
21286
  const re = y(ae.driver), ve = ae.config ?? {}, ze = [], Ie = re == null ? void 0 : re.fields.find((ye) => ye.root), Be = (ye, de = []) => {
21287
21287
  for (const Se of [ye, ...de]) {
21288
- const Pe = ve[Se];
21289
- if (typeof Pe == "string" && Pe.trim()) return Pe;
21288
+ const Ae = ve[Se];
21289
+ if (typeof Ae == "string" && Ae.trim()) return Ae;
21290
21290
  }
21291
21291
  return "";
21292
21292
  }, et = Be("endpoint") || Be("url") || Be("host");
@@ -21302,7 +21302,7 @@ const X3 = {
21302
21302
  null
21303
21303
  ), ne = /* @__PURE__ */ w(null), fe = Z(
21304
21304
  () => {
21305
- var ae, re, ve, ze, Ie, Be, et, ut, ye, de, Se, Pe, Fe, Qe, ft, yt, Mt, Bn, rn, Tt, Wt, Bt, Jn, oe, te, Ee, Ne;
21305
+ var ae, re, ve, ze, Ie, Be, et, ut, ye, de, Se, Ae, Fe, Qe, ft, yt, Mt, Bn, rn, Tt, Wt, Bt, Jn, oe, te, Ee, Ne;
21306
21306
  return I$(
21307
21307
  _e.value,
21308
21308
  {
@@ -21319,7 +21319,7 @@ const X3 = {
21319
21319
  sftpEnabled: (ut = ne.value) == null ? void 0 : ut.enabled,
21320
21320
  sftpLogin: ((ye = ne.value) == null ? void 0 : ye.login) || void 0,
21321
21321
  sftpHasKey: (de = ne.value) == null ? void 0 : de.hasKey,
21322
- ftpsHost: ((Pe = (Se = ne.value) == null ? void 0 : Se.ftps) == null ? void 0 : Pe.host) || void 0,
21322
+ ftpsHost: ((Ae = (Se = ne.value) == null ? void 0 : Se.ftps) == null ? void 0 : Ae.host) || void 0,
21323
21323
  ftpsPort: (Qe = (Fe = ne.value) == null ? void 0 : Fe.ftps) == null ? void 0 : Qe.port,
21324
21324
  ftpsEnabled: (yt = (ft = ne.value) == null ? void 0 : ft.ftps) == null ? void 0 : yt.enabled,
21325
21325
  ftpsPasvMin: (Bn = (Mt = ne.value) == null ? void 0 : Mt.ftps) == null ? void 0 : Bn.pasv_min,
@@ -21353,8 +21353,8 @@ const X3 = {
21353
21353
  }
21354
21354
  ), (ae, re) => (p(), m("div", {
21355
21355
  class: $e(["fe-conn", {
21356
- "fe--theme-dark": A.value === "dark",
21357
- "fe--theme-light": A.value === "light"
21356
+ "fe--theme-dark": P.value === "dark",
21357
+ "fe--theme-light": P.value === "light"
21358
21358
  }]),
21359
21359
  "data-testid": "connections-panel"
21360
21360
  }, [
@@ -21408,8 +21408,8 @@ const X3 = {
21408
21408
  class: "fe-conn__card"
21409
21409
  }, [
21410
21410
  l("div", E4, [
21411
- l("strong", P4, h(ve), 1),
21412
- l("span", A4, h(f(r)("conn.visibleOnly")), 1)
21411
+ l("strong", A4, h(ve), 1),
21412
+ l("span", P4, h(f(r)("conn.visibleOnly")), 1)
21413
21413
  ])
21414
21414
  ]))), 128))
21415
21415
  ])) : j("", !0),
@@ -21698,7 +21698,7 @@ const Eu = /* @__PURE__ */ tu({
21698
21698
  onSelectionChange: (o) => t("selection-change", o)
21699
21699
  });
21700
21700
  }
21701
- }, { shadowRoot: !1 }), Pu = /* @__PURE__ */ tu(
21701
+ }, { shadowRoot: !1 }), Au = /* @__PURE__ */ tu(
21702
21702
  {
21703
21703
  inheritAttrs: !1,
21704
21704
  props: {
@@ -21740,9 +21740,9 @@ const Eu = /* @__PURE__ */ tu({
21740
21740
  }
21741
21741
  },
21742
21742
  { shadowRoot: !1 }
21743
- ), $T = Eu, CT = Pu;
21743
+ ), $T = Eu, CT = Au;
21744
21744
  typeof customElements < "u" && !customElements.get("filex-explorer") && customElements.define("filex-explorer", Eu);
21745
- typeof customElements < "u" && !customElements.get("filex-connections") && customElements.define("filex-connections", Pu);
21745
+ typeof customElements < "u" && !customElements.get("filex-connections") && customElements.define("filex-connections", Au);
21746
21746
  export {
21747
21747
  se as F,
21748
21748
  p as a,
@@ -21767,4 +21767,4 @@ export {
21767
21767
  ST as v,
21768
21768
  Ue as w
21769
21769
  };
21770
- //# sourceMappingURL=index-BVPK_g02.js.map
21770
+ //# sourceMappingURL=index-4QQYT4gJ.js.map