@genome-spy/app 0.60.0 → 0.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -931,7 +931,7 @@ function _S(e) {
931
931
  S === "n" ? (x = !0, S = "g") : Um[S] || (A === void 0 && (A = 12), v = !0, S = "g"), (y || h === "0" && d === "=") && (y = !0, h = "0", d = "=");
932
932
  var b = m === "$" ? n : m === "#" && /[boxX]/.test(S) ? "0" + S.toLowerCase() : "", E = m === "$" ? r : /[%p]/.test(S) ? s : "", D = Um[S], B = /[defgprs%]/.test(S);
933
933
  A = A === void 0 ? 6 : /[gprs]/.test(S) ? Math.max(1, Math.min(21, A)) : Math.max(0, Math.min(20, A));
934
- function O(I) {
934
+ function L(I) {
935
935
  var R = b, G = E, _, V, H;
936
936
  if (S === "c")
937
937
  G = D(I) + G, I = "";
@@ -964,9 +964,9 @@ function _S(e) {
964
964
  }
965
965
  return o(I);
966
966
  }
967
- return O.toString = function() {
967
+ return L.toString = function() {
968
968
  return u + "";
969
- }, O;
969
+ }, L;
970
970
  }
971
971
  function f(u, h) {
972
972
  var d = l((u = Zo(u), u.type = "f", u)), p = Math.max(-8, Math.min(8, Math.floor($o(h) / 3))) * 3, m = Math.pow(10, -p), y = Vm[8 + p / 3];
@@ -1302,7 +1302,7 @@ function Ey(e) {
1302
1302
  Z: fC,
1303
1303
  "%": $m
1304
1304
  }, S = {
1305
- a: O,
1305
+ a: L,
1306
1306
  A: I,
1307
1307
  b: R,
1308
1308
  B: G,
@@ -1338,54 +1338,54 @@ function Ey(e) {
1338
1338
  A.x = b(n, A), A.X = b(r, A), A.c = b(t, A), v.x = b(n, v), v.X = b(r, v), v.c = b(t, v);
1339
1339
  function b(U, J) {
1340
1340
  return function(te) {
1341
- var L = [], Ve = -1, fe = 0, ot = U.length, st, Mn, _c;
1341
+ var O = [], Ve = -1, fe = 0, ot = U.length, st, Mn, _c;
1342
1342
  for (te instanceof Date || (te = /* @__PURE__ */ new Date(+te)); ++Ve < ot; )
1343
- U.charCodeAt(Ve) === 37 && (L.push(U.slice(fe, Ve)), (Mn = Wm[st = U.charAt(++Ve)]) != null ? st = U.charAt(++Ve) : Mn = st === "e" ? " " : "0", (_c = J[st]) && (st = _c(te, Mn)), L.push(st), fe = Ve + 1);
1344
- return L.push(U.slice(fe, Ve)), L.join("");
1343
+ U.charCodeAt(Ve) === 37 && (O.push(U.slice(fe, Ve)), (Mn = Wm[st = U.charAt(++Ve)]) != null ? st = U.charAt(++Ve) : Mn = st === "e" ? " " : "0", (_c = J[st]) && (st = _c(te, Mn)), O.push(st), fe = Ve + 1);
1344
+ return O.push(U.slice(fe, Ve)), O.join("");
1345
1345
  };
1346
1346
  }
1347
1347
  function E(U, J) {
1348
1348
  return function(te) {
1349
- var L = Ms(1900, void 0, 1), Ve = D(L, U, te += "", 0), fe, ot;
1349
+ var O = Ms(1900, void 0, 1), Ve = D(O, U, te += "", 0), fe, ot;
1350
1350
  if (Ve != te.length) return null;
1351
- if ("Q" in L) return new Date(L.Q);
1352
- if ("s" in L) return new Date(L.s * 1e3 + ("L" in L ? L.L : 0));
1353
- if (J && !("Z" in L) && (L.Z = 0), "p" in L && (L.H = L.H % 12 + L.p * 12), L.m === void 0 && (L.m = "q" in L ? L.q : 0), "V" in L) {
1354
- if (L.V < 1 || L.V > 53) return null;
1355
- "w" in L || (L.w = 1), "Z" in L ? (fe = Tf(Ms(L.y, 0, 1)), ot = fe.getUTCDay(), fe = ot > 4 || ot === 0 ? Fl.ceil(fe) : Fl(fe), fe = Ti.offset(fe, (L.V - 1) * 7), L.y = fe.getUTCFullYear(), L.m = fe.getUTCMonth(), L.d = fe.getUTCDate() + (L.w + 6) % 7) : (fe = kf(Ms(L.y, 0, 1)), ot = fe.getDay(), fe = ot > 4 || ot === 0 ? Pl.ceil(fe) : Pl(fe), fe = Ar.offset(fe, (L.V - 1) * 7), L.y = fe.getFullYear(), L.m = fe.getMonth(), L.d = fe.getDate() + (L.w + 6) % 7);
1356
- } else ("W" in L || "U" in L) && ("w" in L || (L.w = "u" in L ? L.u % 7 : "W" in L ? 1 : 0), ot = "Z" in L ? Tf(Ms(L.y, 0, 1)).getUTCDay() : kf(Ms(L.y, 0, 1)).getDay(), L.m = 0, L.d = "W" in L ? (L.w + 6) % 7 + L.W * 7 - (ot + 5) % 7 : L.w + L.U * 7 - (ot + 6) % 7);
1357
- return "Z" in L ? (L.H += L.Z / 100 | 0, L.M += L.Z % 100, Tf(L)) : kf(L);
1351
+ if ("Q" in O) return new Date(O.Q);
1352
+ if ("s" in O) return new Date(O.s * 1e3 + ("L" in O ? O.L : 0));
1353
+ if (J && !("Z" in O) && (O.Z = 0), "p" in O && (O.H = O.H % 12 + O.p * 12), O.m === void 0 && (O.m = "q" in O ? O.q : 0), "V" in O) {
1354
+ if (O.V < 1 || O.V > 53) return null;
1355
+ "w" in O || (O.w = 1), "Z" in O ? (fe = Tf(Ms(O.y, 0, 1)), ot = fe.getUTCDay(), fe = ot > 4 || ot === 0 ? Fl.ceil(fe) : Fl(fe), fe = Ti.offset(fe, (O.V - 1) * 7), O.y = fe.getUTCFullYear(), O.m = fe.getUTCMonth(), O.d = fe.getUTCDate() + (O.w + 6) % 7) : (fe = kf(Ms(O.y, 0, 1)), ot = fe.getDay(), fe = ot > 4 || ot === 0 ? Pl.ceil(fe) : Pl(fe), fe = Ar.offset(fe, (O.V - 1) * 7), O.y = fe.getFullYear(), O.m = fe.getMonth(), O.d = fe.getDate() + (O.w + 6) % 7);
1356
+ } else ("W" in O || "U" in O) && ("w" in O || (O.w = "u" in O ? O.u % 7 : "W" in O ? 1 : 0), ot = "Z" in O ? Tf(Ms(O.y, 0, 1)).getUTCDay() : kf(Ms(O.y, 0, 1)).getDay(), O.m = 0, O.d = "W" in O ? (O.w + 6) % 7 + O.W * 7 - (ot + 5) % 7 : O.w + O.U * 7 - (ot + 6) % 7);
1357
+ return "Z" in O ? (O.H += O.Z / 100 | 0, O.M += O.Z % 100, Tf(O)) : kf(O);
1358
1358
  };
1359
1359
  }
1360
- function D(U, J, te, L) {
1360
+ function D(U, J, te, O) {
1361
1361
  for (var Ve = 0, fe = J.length, ot = te.length, st, Mn; Ve < fe; ) {
1362
- if (L >= ot) return -1;
1362
+ if (O >= ot) return -1;
1363
1363
  if (st = J.charCodeAt(Ve++), st === 37) {
1364
- if (st = J.charAt(Ve++), Mn = S[st in Wm ? J.charAt(Ve++) : st], !Mn || (L = Mn(U, te, L)) < 0) return -1;
1365
- } else if (st != te.charCodeAt(L++))
1364
+ if (st = J.charAt(Ve++), Mn = S[st in Wm ? J.charAt(Ve++) : st], !Mn || (O = Mn(U, te, O)) < 0) return -1;
1365
+ } else if (st != te.charCodeAt(O++))
1366
1366
  return -1;
1367
1367
  }
1368
- return L;
1368
+ return O;
1369
1369
  }
1370
1370
  function B(U, J, te) {
1371
- var L = l.exec(J.slice(te));
1372
- return L ? (U.p = f.get(L[0].toLowerCase()), te + L[0].length) : -1;
1371
+ var O = l.exec(J.slice(te));
1372
+ return O ? (U.p = f.get(O[0].toLowerCase()), te + O[0].length) : -1;
1373
1373
  }
1374
- function O(U, J, te) {
1375
- var L = d.exec(J.slice(te));
1376
- return L ? (U.w = p.get(L[0].toLowerCase()), te + L[0].length) : -1;
1374
+ function L(U, J, te) {
1375
+ var O = d.exec(J.slice(te));
1376
+ return O ? (U.w = p.get(O[0].toLowerCase()), te + O[0].length) : -1;
1377
1377
  }
1378
1378
  function I(U, J, te) {
1379
- var L = u.exec(J.slice(te));
1380
- return L ? (U.w = h.get(L[0].toLowerCase()), te + L[0].length) : -1;
1379
+ var O = u.exec(J.slice(te));
1380
+ return O ? (U.w = h.get(O[0].toLowerCase()), te + O[0].length) : -1;
1381
1381
  }
1382
1382
  function R(U, J, te) {
1383
- var L = g.exec(J.slice(te));
1384
- return L ? (U.m = x.get(L[0].toLowerCase()), te + L[0].length) : -1;
1383
+ var O = g.exec(J.slice(te));
1384
+ return O ? (U.m = x.get(O[0].toLowerCase()), te + O[0].length) : -1;
1385
1385
  }
1386
1386
  function G(U, J, te) {
1387
- var L = m.exec(J.slice(te));
1388
- return L ? (U.m = y.get(L[0].toLowerCase()), te + L[0].length) : -1;
1387
+ var O = m.exec(J.slice(te));
1388
+ return O ? (U.m = y.get(O[0].toLowerCase()), te + O[0].length) : -1;
1389
1389
  }
1390
1390
  function _(U, J, te) {
1391
1391
  return D(U, t, J, te);
@@ -5105,10 +5105,10 @@ const D9 = function e(t, n, r) {
5105
5105
  else {
5106
5106
  var x = Math.sqrt(m), A = (h * h - l * l + r * m) / (2 * l * n * x), v = (h * h - l * l - r * m) / (2 * h * n * x), S = Math.log(Math.sqrt(A * A + 1) - A), b = Math.log(Math.sqrt(v * v + 1) - v);
5107
5107
  g = (b - S) / t, y = function(E) {
5108
- var D = E * g, B = Gg(S), O = l / (n * x) * (B * T9(t * D + S) - k9(S));
5108
+ var D = E * g, B = Gg(S), L = l / (n * x) * (B * T9(t * D + S) - k9(S));
5109
5109
  return [
5110
- a + O * d,
5111
- c + O * p,
5110
+ a + L * d,
5111
+ c + L * p,
5112
5112
  l * B / Gg(t * D + S)
5113
5113
  ];
5114
5114
  };
@@ -9160,8 +9160,8 @@ class UD extends Nc {
9160
9160
  continue;
9161
9161
  }
9162
9162
  s ? (S = (E.width + Js * 2) / E.width, x = -S / 2, v = (E.height + Js * 2) / E.height, A = -0.5 - Js / E.height) : (v = E.height / a, A = -(E.height + E.yoffset + l) / a, S = E.width / a);
9163
- const B = E.x, O = E.y;
9164
- u[0] = x, u[1] = A + v, h[0] = B / c, h[1] = O / c, this.variableBuilder.pushAll(), u[0] = x + S, u[1] = A + v, h[0] = (B + E.width) / c, h[1] = O / c, this.variableBuilder.pushAll(), u[0] = x, u[1] = A, h[0] = B / c, h[1] = (O + E.height) / c, this.variableBuilder.pushAll(), u[0] = x + S, u[1] = A + v, h[0] = (B + E.width) / c, h[1] = O / c, this.variableBuilder.pushAll(), u[0] = x, u[1] = A, h[0] = B / c, h[1] = (O + E.height) / c, this.variableBuilder.pushAll(), u[0] = x + S, u[1] = A, h[0] = (B + E.width) / c, h[1] = (O + E.height) / c, this.variableBuilder.pushAll(), x += D;
9163
+ const B = E.x, L = E.y;
9164
+ u[0] = x, u[1] = A + v, h[0] = B / c, h[1] = L / c, this.variableBuilder.pushAll(), u[0] = x + S, u[1] = A + v, h[0] = (B + E.width) / c, h[1] = L / c, this.variableBuilder.pushAll(), u[0] = x, u[1] = A, h[0] = B / c, h[1] = (L + E.height) / c, this.variableBuilder.pushAll(), u[0] = x + S, u[1] = A + v, h[0] = (B + E.width) / c, h[1] = L / c, this.variableBuilder.pushAll(), u[0] = x, u[1] = A, h[0] = B / c, h[1] = (L + E.height) / c, this.variableBuilder.pushAll(), u[0] = x + S, u[1] = A, h[0] = (B + E.width) / c, h[1] = (L + E.height) / c, this.variableBuilder.pushAll(), x += D;
9165
9165
  }
9166
9166
  this.addToXIndex(p);
9167
9167
  }
@@ -9870,12 +9870,12 @@ class Uc {
9870
9870
  if (tA(D)) {
9871
9871
  if (!d.has(b)) {
9872
9872
  d.set(b, "single");
9873
- const O = rl + Zs(b);
9873
+ const L = rl + Zs(b);
9874
9874
  u.push(" // Selection parameter"), u.push(
9875
- ` uniform highp uint ${O};`
9875
+ ` uniform highp uint ${L};`
9876
9876
  ), w(this, Xt).push(() => {
9877
9877
  this.registerMarkUniformValue(
9878
- O,
9878
+ L,
9879
9879
  { expr: b },
9880
9880
  (I) => I.uniqueId ?? 0
9881
9881
  );
@@ -9888,10 +9888,10 @@ class Uc {
9888
9888
  } else if (D0(D)) {
9889
9889
  if (!d.has(b)) {
9890
9890
  d.set(b, "multi");
9891
- const O = p1 + Zs(b);
9891
+ const L = p1 + Zs(b);
9892
9892
  c.push(
9893
9893
  `// Selection texture
9894
- uniform highp usampler2D ${O};`
9894
+ uniform highp usampler2D ${L};`
9895
9895
  );
9896
9896
  const I = this.getContext().glHelper, R = I.selectionTextures;
9897
9897
  this.selectionTextureOps.push(() => {
@@ -9901,7 +9901,7 @@ uniform highp usampler2D ${O};`
9901
9901
  `Bug: no selection texture found for "${b}"!`
9902
9902
  );
9903
9903
  hi(this.programInfo, {
9904
- [O]: H
9904
+ [L]: H
9905
9905
  });
9906
9906
  });
9907
9907
  const G = p1 + b;
@@ -9921,7 +9921,7 @@ uniform highp usampler2D ${O};`
9921
9921
  }
9922
9922
  } else if (eA(D) && !d.has(b)) {
9923
9923
  d.set(b, "interval");
9924
- const O = [], I = [];
9924
+ const L = [], I = [];
9925
9925
  for (const R of Object.keys(D.intervals)) {
9926
9926
  if (!["x", "y"].includes(R))
9927
9927
  continue;
@@ -9945,15 +9945,15 @@ uniform highp usampler2D ${O};`
9945
9945
  if (this.encoding[Z]) {
9946
9946
  const q = go + Z, C = this.defaultHitTestMode;
9947
9947
  if (C == "endpoints")
9948
- O.push(
9948
+ L.push(
9949
9949
  `((${H} <= ${V} && ${V} <= ${Q}) || (${H} <= ${q} && ${q} <= ${Q}))`
9950
9950
  );
9951
9951
  else if (C == "encloses")
9952
- O.push(
9952
+ L.push(
9953
9953
  `(${H} <= ${V} && ${q} <= ${Q})`
9954
9954
  );
9955
9955
  else if (C == "intersects")
9956
- O.push(
9956
+ L.push(
9957
9957
  `(${H} <= ${q} && ${V} <= ${Q})`
9958
9958
  );
9959
9959
  else
@@ -9962,14 +9962,14 @@ uniform highp usampler2D ${O};`
9962
9962
  this.unitView
9963
9963
  );
9964
9964
  } else
9965
- O.push(
9965
+ L.push(
9966
9966
  `(${H} <= ${V} && ${V} <= ${Q})`
9967
9967
  );
9968
9968
  I.push(`${H} > ${Q}`);
9969
9969
  }
9970
9970
  c.push(
9971
9971
  `bool ${Vs}${b}(bool empty) {
9972
- return ${O.join(" && ")} || (empty && (${I.join(" || ")}));
9972
+ return ${L.join(" && ")} || (empty && (${I.join(" || ")}));
9973
9973
  }`
9974
9974
  );
9975
9975
  }
@@ -9978,13 +9978,13 @@ uniform highp usampler2D ${O};`
9978
9978
  const B = b.channelDef;
9979
9979
  if (Vt(B))
9980
9980
  if (ct(B.value)) {
9981
- const { uniformName: O, uniformGlsl: I, accessorGlsl: R, adjuster: G } = xD(
9981
+ const { uniformName: L, uniformGlsl: I, accessorGlsl: R, adjuster: G } = xD(
9982
9982
  S,
9983
9983
  E
9984
9984
  );
9985
9985
  c.push(R), u.push(I), w(this, Xt).push(() => {
9986
9986
  this.registerMarkUniformValue(
9987
- O,
9987
+ L,
9988
9988
  B.value,
9989
9989
  G
9990
9990
  );
@@ -9998,7 +9998,7 @@ uniform highp usampler2D ${O};`
9998
9998
  ).accessorGlsl
9999
9999
  );
10000
10000
  else if (Rc(B)) {
10001
- const { uniformName: O, uniformGlsl: I, accessorGlsl: R } = AD(
10001
+ const { uniformName: L, uniformGlsl: I, accessorGlsl: R } = AD(
10002
10002
  S,
10003
10003
  D,
10004
10004
  E
@@ -10010,29 +10010,29 @@ uniform highp usampler2D ${O};`
10010
10010
  ), V = _ && "domain" in D ? (H) => D.domain().indexOf(H) : G ? bA : (H) => +H;
10011
10011
  w(this, Xt).push(() => {
10012
10012
  this.registerMarkUniformValue(
10013
- O,
10013
+ L,
10014
10014
  B.datum,
10015
10015
  V
10016
10016
  );
10017
10017
  });
10018
10018
  } else if (In(B)) {
10019
- const O = f.get([
10019
+ const L = f.get([
10020
10020
  B.field,
10021
10021
  !0
10022
10022
  ]), { attributeGlsl: I, accessorGlsl: R } = a1(
10023
10023
  S,
10024
10024
  D,
10025
10025
  E,
10026
- O != null && O.includes(S) ? O : void 0
10026
+ L != null && L.includes(S) ? L : void 0
10027
10027
  );
10028
10028
  l.add(I), c.push(R);
10029
10029
  } else if (Lc(B)) {
10030
- const { attributeGlsl: O, accessorGlsl: I } = a1(
10030
+ const { attributeGlsl: L, accessorGlsl: I } = a1(
10031
10031
  S,
10032
10032
  D,
10033
10033
  E
10034
10034
  );
10035
- l.add(O), c.push(I);
10035
+ l.add(L), c.push(I);
10036
10036
  } else
10037
10037
  throw new wr(
10038
10038
  `Unsupported channel definition: ${JSON.stringify(
@@ -10045,10 +10045,10 @@ uniform highp usampler2D ${O};`
10045
10045
  if (!i.includes(S))
10046
10046
  continue;
10047
10047
  const { channelDef: E, accessors: D, scale: B } = b;
10048
- for (let O = 0; O < D.length; O++)
10049
- p(S, D[O], O, B);
10048
+ for (let L = 0; L < D.length; L++)
10049
+ p(S, D[L], L, B);
10050
10050
  if (B) {
10051
- const O = Ct(E) && E.resolutionChannel || S, I = as(O) ? this.unitView.getScaleResolution(O) : null, {
10051
+ const L = Ct(E) && E.resolutionChannel || S, I = as(L) ? this.unitView.getScaleResolution(L) : null, {
10052
10052
  glsl: R,
10053
10053
  domainUniform: G,
10054
10054
  domainUniformName: _,
@@ -20331,11 +20331,11 @@ mu = new WeakSet(), Tv = function() {
20331
20331
  }
20332
20332
  return v;
20333
20333
  }, g = (A) => {
20334
- var D, B, O, I;
20334
+ var D, B, L, I;
20335
20335
  const { intervals: v } = A, S = (R, G, _) => {
20336
20336
  const V = (Z, q) => q == null ? null : a[Z].scale(q), H = V("x", R) ?? _, Q = V("y", G) ?? _;
20337
20337
  return t.coords.denormalizePoint(H, Q, !0);
20338
- }, b = S((D = v.x) == null ? void 0 : D[0], (B = v.y) == null ? void 0 : B[0], 0), E = S((O = v.x) == null ? void 0 : O[1], (I = v.y) == null ? void 0 : I[1], 1);
20338
+ }, b = S((D = v.x) == null ? void 0 : D[0], (B = v.y) == null ? void 0 : B[0], 0), E = S((L = v.x) == null ? void 0 : L[1], (I = v.y) == null ? void 0 : I[1], 1);
20339
20339
  return Ut.create(b.x, b.y, E.x - b.x, E.y - b.y);
20340
20340
  };
20341
20341
  t.addInteractionEventListener("mousedown", (A, v) => {
@@ -20352,27 +20352,28 @@ mu = new WeakSet(), Tv = function() {
20352
20352
  v.uiEvent.shiftKey)
20353
20353
  m(), f = !0;
20354
20354
  else if (i1(d())) {
20355
- const O = (I, R) => {
20355
+ const I = (R, G) => {
20356
20356
  t.removeInteractionEventListener(
20357
20357
  "mouseup",
20358
- O
20358
+ I
20359
20359
  );
20360
- const G = R.point;
20361
- B.subtract(G).length < 2 && m();
20360
+ const _ = G.point;
20361
+ B.subtract(_).length < 2 && m();
20362
20362
  };
20363
- t.addInteractionEventListener("mouseup", O);
20363
+ t.addInteractionEventListener("mouseup", I);
20364
+ return;
20365
+ } else
20364
20366
  return;
20365
- }
20366
20367
  }
20367
20368
  v.stopPropagation();
20368
20369
  const S = v.point, b = xt.fromMouseEvent(
20369
20370
  /** @type {MouseEvent} */
20370
20371
  v.uiEvent
20371
20372
  ).subtract(S), E = (B) => {
20372
- const O = xt.fromMouseEvent(B).subtract(b);
20373
+ const L = xt.fromMouseEvent(B).subtract(b);
20373
20374
  let I;
20374
20375
  if (u) {
20375
- const R = O.subtract(S), G = u.translate(
20376
+ const R = L.subtract(S), G = u.translate(
20376
20377
  R.x,
20377
20378
  R.y
20378
20379
  );
@@ -20383,7 +20384,7 @@ mu = new WeakSet(), Tv = function() {
20383
20384
  } else
20384
20385
  I = h(
20385
20386
  y(S),
20386
- y(O)
20387
+ y(L)
20387
20388
  );
20388
20389
  for (const R of s) {
20389
20390
  const G = a[R], { zoomExtent: _, scale: V } = G, H = I[R];
@@ -20646,13 +20647,13 @@ class TF extends Ss {
20646
20647
  backgroundStroke: y,
20647
20648
  title: g,
20648
20649
  selectionRect: x
20649
- } = u, [A, v] = c.getCellCoords(f), S = s[P(this, re, Pd).call(this, "column", A)], b = a[P(this, re, Pd).call(this, "row", v)], E = h.getViewportSize(), D = h.getSize(), B = h.getOverhang(), O = S.location - B.left, I = b.location - B.top, R = (ne, Xe) => (ne[Xe].grow ? (Xe == "width" ? S : b).size : ne[Xe].px) + B[Xe], G = R(E, "width"), _ = R(E, "height"), V = R(D, "width"), H = R(D, "height"), Q = u.scrollbars.horizontal, Z = u.scrollbars.vertical, q = Q ? () => l(Q.viewportOffset) : () => 0, C = Z ? () => l(Z.viewportOffset) : () => 0, pe = new Ut(
20650
- () => r.x + O,
20650
+ } = u, [A, v] = c.getCellCoords(f), S = s[P(this, re, Pd).call(this, "column", A)], b = a[P(this, re, Pd).call(this, "row", v)], E = h.getViewportSize(), D = h.getSize(), B = h.getOverhang(), L = S.location - B.left, I = b.location - B.top, R = (ne, Xe) => (ne[Xe].grow ? (Xe == "width" ? S : b).size : ne[Xe].px) + B[Xe], G = R(E, "width"), _ = R(E, "height"), V = R(D, "width"), H = R(D, "height"), Q = u.scrollbars.horizontal, Z = u.scrollbars.vertical, q = Q ? () => l(Q.viewportOffset) : () => 0, C = Z ? () => l(Z.viewportOffset) : () => 0, pe = new Ut(
20651
+ () => r.x + L,
20651
20652
  () => r.y + I,
20652
20653
  () => G,
20653
20654
  () => _
20654
20655
  ), ft = h.isScrollable(), k = ft ? new Ut(
20655
- () => r.x + O - q(),
20656
+ () => r.x + L - q(),
20656
20657
  () => r.y + I - C(),
20657
20658
  () => V,
20658
20659
  () => H
@@ -20687,8 +20688,8 @@ class TF extends Ss {
20687
20688
  ne,
20688
20689
  Xe
20689
20690
  );
20690
- let L = i.clipRect;
20691
- U && (L = te.intersect(L).intersect(
20691
+ let O = i.clipRect;
20692
+ U && (O = te.intersect(O).intersect(
20692
20693
  U ? pe.modify(
20693
20694
  // Ugly hack. Need to implement intersectX and intersectY.
20694
20695
  ke == "vertical" ? {
@@ -20701,7 +20702,7 @@ class TF extends Ss {
20701
20702
  ) : void 0
20702
20703
  )), Xe.render(n, te, {
20703
20704
  ...i,
20704
- clipRect: L
20705
+ clipRect: O
20705
20706
  });
20706
20707
  }
20707
20708
  for (const ne of Object.values(w(this, Ei))) {
@@ -24971,7 +24972,7 @@ function Mw(e, t, n, r = (i) => X) {
24971
24972
  }, y = () => {
24972
24973
  a.content.querySelector("input[type='text']").focus();
24973
24974
  }, g = (v) => {
24974
- var b, E, D, B, O;
24975
+ var b, E, D, B, L;
24975
24976
  const S = (
24976
24977
  /** @type {HTMLInputElement} */
24977
24978
  v.target
@@ -24987,7 +24988,7 @@ function Mw(e, t, n, r = (i) => X) {
24987
24988
  )
24988
24989
  );
24989
24990
  I ? I.focus() : y(), v.preventDefault();
24990
- } else v.key == "Esc" ? (y(), v.stopPropagation()) : v.key == "Tab" && !v.shiftKey ? (B = S.closest(".gs-checkbox-list").querySelector("li:last-child input")) == null || B.focus() : v.key == "Tab" && v.shiftKey && ((O = S.closest(".gs-checkbox-list").querySelector("li:first-child input")) == null || O.focus());
24991
+ } else v.key == "Esc" ? (y(), v.stopPropagation()) : v.key == "Tab" && !v.shiftKey ? (B = S.closest(".gs-checkbox-list").querySelector("li:last-child input")) == null || B.focus() : v.key == "Tab" && v.shiftKey && ((L = S.closest(".gs-checkbox-list").querySelector("li:first-child input")) == null || L.focus());
24991
24992
  }, x = () => T` <div class="modal-buttons">
24992
24993
  <button class="btn btn-cancel" @click=${() => a.close()}>
24993
24994
  Cancel
@@ -26422,7 +26423,7 @@ var sL = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", aL
26422
26423
  name: "ConditionError",
26423
26424
  message: "Aborted due to condition callback returning false."
26424
26425
  };
26425
- return b = new Promise(function(O, I) {
26426
+ return b = new Promise(function(L, I) {
26426
26427
  return p.signal.addEventListener("abort", function() {
26427
26428
  return I({
26428
26429
  name: "AbortError",
@@ -26438,16 +26439,16 @@ var sL = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", aL
26438
26439
  requestId: d,
26439
26440
  signal: p.signal,
26440
26441
  abort: y,
26441
- rejectWithValue: function(O, I) {
26442
- return new ah(O, I);
26442
+ rejectWithValue: function(L, I) {
26443
+ return new ah(L, I);
26443
26444
  },
26444
- fulfillWithValue: function(O, I) {
26445
- return new y2(O, I);
26445
+ fulfillWithValue: function(L, I) {
26446
+ return new y2(L, I);
26446
26447
  }
26447
- })).then(function(O) {
26448
- if (O instanceof ah)
26449
- throw O;
26450
- return O instanceof y2 ? i(O.payload, d, l, O.meta) : i(O, d, l);
26448
+ })).then(function(L) {
26449
+ if (L instanceof ah)
26450
+ throw L;
26451
+ return L instanceof y2 ? i(L.payload, d, l, L.meta) : i(L, d, l);
26451
26452
  })
26452
26453
  ])];
26453
26454
  case 3:
@@ -28103,12 +28104,12 @@ const rz = function(e) {
28103
28104
  const g = ds(i), x = ja(a), A = ds(a) === a, v = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), S = h || (A || !m ? [cu(a)] : KL(a)), b = p !== "none";
28104
28105
  !h && b && S.push(...ZL(a, m, p, v));
28105
28106
  const E = [a, ...S], D = await nz(t, y), B = [];
28106
- let O = ((r = o.flip) == null ? void 0 : r.overflows) || [];
28107
+ let L = ((r = o.flip) == null ? void 0 : r.overflows) || [];
28107
28108
  if (f && B.push(D[g]), u) {
28108
28109
  const _ = XL(i, s, v);
28109
28110
  B.push(D[_[0]], D[_[1]]);
28110
28111
  }
28111
- if (O = [...O, {
28112
+ if (L = [...L, {
28112
28113
  placement: i,
28113
28114
  overflows: B
28114
28115
  }], !B.every((_) => _ <= 0)) {
@@ -28118,18 +28119,18 @@ const rz = function(e) {
28118
28119
  return {
28119
28120
  data: {
28120
28121
  index: _,
28121
- overflows: O
28122
+ overflows: L
28122
28123
  },
28123
28124
  reset: {
28124
28125
  placement: V
28125
28126
  }
28126
28127
  };
28127
- let H = (R = O.filter((Q) => Q.overflows[0] <= 0).sort((Q, Z) => Q.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : R.placement;
28128
+ let H = (R = L.filter((Q) => Q.overflows[0] <= 0).sort((Q, Z) => Q.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : R.placement;
28128
28129
  if (!H)
28129
28130
  switch (d) {
28130
28131
  case "bestFit": {
28131
28132
  var G;
28132
- const Q = (G = O.filter((Z) => {
28133
+ const Q = (G = L.filter((Z) => {
28133
28134
  if (b) {
28134
28135
  const q = ja(Z.placement);
28135
28136
  return q === x || // Create a bias to the `y` side axis due to horizontal
@@ -31010,7 +31011,7 @@ function N3(e) {
31010
31011
  }
31011
31012
  }), t;
31012
31013
  }
31013
- const uN = "0.60.0", U2 = {
31014
+ const uN = "0.60.1", U2 = {
31014
31015
  version: uN
31015
31016
  };
31016
31017
  /**
@@ -31567,7 +31568,7 @@ function ON(e) {
31567
31568
  label: y,
31568
31569
  link: Wt,
31569
31570
  listItemMarker: I,
31570
- listItemValue: O,
31571
+ listItemValue: L,
31571
31572
  listOrdered: D,
31572
31573
  listUnordered: B,
31573
31574
  paragraph: Q,
@@ -31620,7 +31621,7 @@ function ON(e) {
31620
31621
  referenceString: ke,
31621
31622
  resource: E,
31622
31623
  resourceDestinationString: te,
31623
- resourceTitleString: L,
31624
+ resourceTitleString: O,
31624
31625
  setextHeading: y4,
31625
31626
  setextHeadingLineSequence: g4,
31626
31627
  setextHeadingText: p4,
@@ -31730,7 +31731,7 @@ function ON(e) {
31730
31731
  function B(N) {
31731
31732
  s.push(!N._loose), S(), x("<ul"), p("expectFirstItem", !0);
31732
31733
  }
31733
- function O(N) {
31734
+ function L(N) {
31734
31735
  if (m("expectFirstItem")) {
31735
31736
  const Y = Number.parseInt(this.sliceSerialize(N), 10);
31736
31737
  Y !== 1 && x(' start="' + b(String(Y)) + '"');
@@ -31804,7 +31805,7 @@ function ON(e) {
31804
31805
  function te() {
31805
31806
  o[o.length - 1].destination = g(), p("ignoreEncode");
31806
31807
  }
31807
- function L() {
31808
+ function O() {
31808
31809
  o[o.length - 1].title = g();
31809
31810
  }
31810
31811
  function Ve() {
@@ -32098,17 +32099,17 @@ function NN(e) {
32098
32099
  )
32099
32100
  return;
32100
32101
  const E = t.events.length;
32101
- let D = E, B, O;
32102
+ let D = E, B, L;
32102
32103
  for (; D--; )
32103
32104
  if (t.events[D][0] === "exit" && t.events[D][1].type === "chunkFlow") {
32104
32105
  if (B) {
32105
- O = t.events[D][1].end;
32106
+ L = t.events[D][1].end;
32106
32107
  break;
32107
32108
  }
32108
32109
  B = !0;
32109
32110
  }
32110
32111
  for (g(r), b = E; b < t.events.length; )
32111
- t.events[b][1].end = Object.assign({}, O), b++;
32112
+ t.events[b][1].end = Object.assign({}, L), b++;
32112
32113
  er(
32113
32114
  t.events,
32114
32115
  D + 1,
@@ -32397,8 +32398,8 @@ function KN(e, t, n) {
32397
32398
  }
32398
32399
  function S(b, E, D) {
32399
32400
  let B = 0;
32400
- return O;
32401
- function O(V) {
32401
+ return L;
32402
+ function L(V) {
32402
32403
  return b.enter("lineEnding"), b.consume(V), b.exit("lineEnding"), I;
32403
32404
  }
32404
32405
  function I(V) {
@@ -33086,10 +33087,10 @@ function kU(e, t, n) {
33086
33087
  return k === 62 ? (e.consume(k), r.interrupt ? t : R) : n(k);
33087
33088
  }
33088
33089
  function x(k) {
33089
- return se(k) ? (e.consume(k), x) : O(k);
33090
+ return se(k) ? (e.consume(k), x) : L(k);
33090
33091
  }
33091
33092
  function A(k) {
33092
- return k === 47 ? (e.consume(k), O) : k === 58 || k === 95 || fn(k) ? (e.consume(k), v) : se(k) ? (e.consume(k), A) : O(k);
33093
+ return k === 47 ? (e.consume(k), L) : k === 58 || k === 95 || fn(k) ? (e.consume(k), v) : se(k) ? (e.consume(k), A) : L(k);
33093
33094
  }
33094
33095
  function v(k) {
33095
33096
  return k === 45 || k === 46 || k === 58 || k === 95 || St(k) ? (e.consume(k), v) : S(k);
@@ -33109,7 +33110,7 @@ function kU(e, t, n) {
33109
33110
  function B(k) {
33110
33111
  return k === 47 || k === 62 || se(k) ? A(k) : n(k);
33111
33112
  }
33112
- function O(k) {
33113
+ function L(k) {
33113
33114
  return k === 62 ? (e.consume(k), I) : n(k);
33114
33115
  }
33115
33116
  function I(k) {
@@ -33233,10 +33234,10 @@ function MU(e, t, n) {
33233
33234
  return C === 45 || St(C) ? (e.consume(C), D) : C === 47 || C === 62 || At(C) ? B(C) : n(C);
33234
33235
  }
33235
33236
  function B(C) {
33236
- return C === 47 ? (e.consume(C), H) : C === 58 || C === 95 || fn(C) ? (e.consume(C), O) : $(C) ? (s = B, Q(C)) : se(C) ? (e.consume(C), B) : H(C);
33237
+ return C === 47 ? (e.consume(C), H) : C === 58 || C === 95 || fn(C) ? (e.consume(C), L) : $(C) ? (s = B, Q(C)) : se(C) ? (e.consume(C), B) : H(C);
33237
33238
  }
33238
- function O(C) {
33239
- return C === 45 || C === 46 || C === 58 || C === 95 || St(C) ? (e.consume(C), O) : I(C);
33239
+ function L(C) {
33240
+ return C === 45 || C === 46 || C === 58 || C === 95 || St(C) ? (e.consume(C), L) : I(C);
33240
33241
  }
33241
33242
  function I(C) {
33242
33243
  return C === 61 ? (e.consume(C), R) : $(C) ? (s = I, Q(C)) : se(C) ? (e.consume(C), I) : B(C);
@@ -33772,7 +33773,7 @@ function aG(e, t, n) {
33772
33773
  };
33773
33774
  }
33774
33775
  function m(I) {
33775
- i[I.line] = I.column, O();
33776
+ i[I.line] = I.column, L();
33776
33777
  }
33777
33778
  function y() {
33778
33779
  let I;
@@ -33789,7 +33790,7 @@ function aG(e, t, n) {
33789
33790
  f = f(I);
33790
33791
  }
33791
33792
  function x(I) {
33792
- $(I) ? (r.line++, r.column = 1, r.offset += I === -3 ? 2 : 1, O()) : I !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === s[r._index].length && (r._bufferIndex = -1, r._index++)), l.previous = I;
33793
+ $(I) ? (r.line++, r.column = 1, r.offset += I === -3 ? 2 : 1, L()) : I !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === s[r._index].length && (r._bufferIndex = -1, r._index++)), l.previous = I;
33793
33794
  }
33794
33795
  function A(I, R) {
33795
33796
  const G = R || {};
@@ -33865,10 +33866,10 @@ function aG(e, t, n) {
33865
33866
  from: _
33866
33867
  };
33867
33868
  function H() {
33868
- r = I, l.previous = R, l.currentConstruct = G, l.events.length = _, a = V, O();
33869
+ r = I, l.previous = R, l.currentConstruct = G, l.events.length = _, a = V, L();
33869
33870
  }
33870
33871
  }
33871
- function O() {
33872
+ function L() {
33872
33873
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
33873
33874
  }
33874
33875
  }