@abi-software/map-utilities 1.4.0 → 1.4.1-beta.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.
@@ -1,7 +1,7 @@
1
1
  var mm = Object.defineProperty;
2
2
  var ym = (t, e, r) => e in t ? mm(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var Ir = (t, e, r) => ym(t, typeof e != "symbol" ? e + "" : e, r);
4
- import { getCurrentScope as bm, onScopeDispose as wm, unref as P, getCurrentInstance as gt, onMounted as Et, nextTick as ot, watch as Oe, ref as ce, defineComponent as fe, openBlock as B, createElementBlock as W, createElementVNode as G, warn as Cm, computed as V, inject as Ue, isRef as Xa, shallowRef as vn, onBeforeUnmount as Kr, onBeforeMount as xm, provide as xt, mergeProps as $r, renderSlot as Ie, toRef as Rr, onUnmounted as Em, useAttrs as km, useSlots as po, createCommentVNode as de, Fragment as Ye, normalizeClass as ie, createBlock as ye, withCtx as q, resolveDynamicComponent as er, withModifiers as ht, createVNode as Z, toDisplayString as De, normalizeStyle as lt, Transition as ci, withDirectives as Ze, vShow as mt, reactive as Qr, onActivated as Sm, onUpdated as yv, cloneVNode as Tm, Text as bv, Comment as _m, Teleport as Dm, readonly as Pm, onDeactivated as Om, createTextVNode as Be, toRaw as bs, vModelCheckbox as ws, toRefs as go, toHandlers as Lm, watchEffect as wv, renderList as It, withKeys as aa, resolveComponent as Jt, resolveDirective as Im, toHandlerKey as Am, vModelText as Fm, h as ia, createApp as Mm, pushScopeId as di, popScopeId as fi, createStaticVNode as Bm } from "vue";
3
+ var Lr = (t, e, r) => ym(t, typeof e != "symbol" ? e + "" : e, r);
4
+ import { getCurrentScope as bm, onScopeDispose as wm, unref as P, getCurrentInstance as gt, onMounted as Et, nextTick as ot, watch as Oe, ref as ce, defineComponent as fe, openBlock as B, createElementBlock as W, createElementVNode as G, warn as Cm, computed as V, inject as Ue, isRef as Xa, shallowRef as vn, onBeforeUnmount as Kr, onBeforeMount as xm, provide as xt, mergeProps as $r, renderSlot as Le, toRef as Rr, onUnmounted as Em, useAttrs as km, useSlots as po, createCommentVNode as de, Fragment as Ye, normalizeClass as ie, createBlock as ye, withCtx as q, resolveDynamicComponent as er, withModifiers as ht, createVNode as Z, toDisplayString as De, normalizeStyle as lt, Transition as ci, withDirectives as Ze, vShow as mt, reactive as Qr, onActivated as Sm, onUpdated as yv, cloneVNode as Tm, Text as bv, Comment as _m, Teleport as Dm, readonly as Pm, onDeactivated as Om, createTextVNode as Be, toRaw as bs, vModelCheckbox as ws, toRefs as go, toHandlers as Im, watchEffect as wv, renderList as Lt, withKeys as aa, resolveComponent as Jt, resolveDirective as Lm, toHandlerKey as Am, vModelText as Fm, h as ia, createApp as Mm, pushScopeId as di, popScopeId as fi, createStaticVNode as Bm } from "vue";
5
5
  const un = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (a) => {
6
6
  const i = t == null ? void 0 : t(a);
7
7
  if (r === !1 || !i)
@@ -281,10 +281,10 @@ var xl = rn["__core-js_shared__"], Zc = function() {
281
281
  var t = /[^.]+$/.exec(xl && xl.keys && xl.keys.IE_PROTO || "");
282
282
  return t ? "Symbol(src)_1." + t : "";
283
283
  }();
284
- function L0(t) {
284
+ function I0(t) {
285
285
  return !!Zc && Zc in t;
286
286
  }
287
- var I0 = Function.prototype, A0 = I0.toString;
287
+ var L0 = Function.prototype, A0 = L0.toString;
288
288
  function ka(t) {
289
289
  if (t != null) {
290
290
  try {
@@ -302,7 +302,7 @@ var F0 = /[\\^$.*+?()[\]{}|]/g, M0 = /^\[object .+?Constructor\]$/, B0 = Functio
302
302
  "^" + R0.call($0).replace(F0, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
303
303
  );
304
304
  function V0(t) {
305
- if (!Vn(t) || L0(t))
305
+ if (!Vn(t) || I0(t))
306
306
  return !1;
307
307
  var e = Pv(t) ? z0 : M0;
308
308
  return e.test(ka(t));
@@ -380,13 +380,13 @@ function ey(t, e, r) {
380
380
  writable: !0
381
381
  }) : t[e] = r;
382
382
  }
383
- function Lu(t, e) {
383
+ function Iu(t, e) {
384
384
  return t === e || t !== t && e !== e;
385
385
  }
386
386
  var ty = Object.prototype, ry = ty.hasOwnProperty;
387
387
  function ny(t, e, r) {
388
388
  var n = t[e];
389
- (!(ry.call(t, e) && Lu(n, r)) || r === void 0 && !(e in t)) && ey(t, e, r);
389
+ (!(ry.call(t, e) && Iu(n, r)) || r === void 0 && !(e in t)) && ey(t, e, r);
390
390
  }
391
391
  var Xc = Math.max;
392
392
  function ay(t, e, r) {
@@ -400,11 +400,11 @@ function ay(t, e, r) {
400
400
  };
401
401
  }
402
402
  var iy = 9007199254740991;
403
- function Iu(t) {
403
+ function Lu(t) {
404
404
  return typeof t == "number" && t > -1 && t % 1 == 0 && t <= iy;
405
405
  }
406
406
  function oy(t) {
407
- return t != null && Iu(t.length) && !Pv(t);
407
+ return t != null && Lu(t.length) && !Pv(t);
408
408
  }
409
409
  var sy = Object.prototype;
410
410
  function ly(t) {
@@ -428,18 +428,18 @@ var Ov = Object.prototype, dy = Ov.hasOwnProperty, fy = Ov.propertyIsEnumerable,
428
428
  function vy() {
429
429
  return !1;
430
430
  }
431
- var Lv = typeof exports == "object" && exports && !exports.nodeType && exports, Jc = Lv && typeof module == "object" && module && !module.nodeType && module, hy = Jc && Jc.exports === Lv, ed = hy ? rn.Buffer : void 0, py = ed ? ed.isBuffer : void 0, Xl = py || vy, gy = "[object Arguments]", my = "[object Array]", yy = "[object Boolean]", by = "[object Date]", wy = "[object Error]", Cy = "[object Function]", xy = "[object Map]", Ey = "[object Number]", ky = "[object Object]", Sy = "[object RegExp]", Ty = "[object Set]", _y = "[object String]", Dy = "[object WeakMap]", Py = "[object ArrayBuffer]", Oy = "[object DataView]", Ly = "[object Float32Array]", Iy = "[object Float64Array]", Ay = "[object Int8Array]", Fy = "[object Int16Array]", My = "[object Int32Array]", By = "[object Uint8Array]", Ny = "[object Uint8ClampedArray]", Ry = "[object Uint16Array]", $y = "[object Uint32Array]", ft = {};
432
- ft[Ly] = ft[Iy] = ft[Ay] = ft[Fy] = ft[My] = ft[By] = ft[Ny] = ft[Ry] = ft[$y] = !0;
431
+ var Iv = typeof exports == "object" && exports && !exports.nodeType && exports, Jc = Iv && typeof module == "object" && module && !module.nodeType && module, hy = Jc && Jc.exports === Iv, ed = hy ? rn.Buffer : void 0, py = ed ? ed.isBuffer : void 0, Xl = py || vy, gy = "[object Arguments]", my = "[object Array]", yy = "[object Boolean]", by = "[object Date]", wy = "[object Error]", Cy = "[object Function]", xy = "[object Map]", Ey = "[object Number]", ky = "[object Object]", Sy = "[object RegExp]", Ty = "[object Set]", _y = "[object String]", Dy = "[object WeakMap]", Py = "[object ArrayBuffer]", Oy = "[object DataView]", Iy = "[object Float32Array]", Ly = "[object Float64Array]", Ay = "[object Int8Array]", Fy = "[object Int16Array]", My = "[object Int32Array]", By = "[object Uint8Array]", Ny = "[object Uint8ClampedArray]", Ry = "[object Uint16Array]", $y = "[object Uint32Array]", ft = {};
432
+ ft[Iy] = ft[Ly] = ft[Ay] = ft[Fy] = ft[My] = ft[By] = ft[Ny] = ft[Ry] = ft[$y] = !0;
433
433
  ft[gy] = ft[my] = ft[Py] = ft[yy] = ft[Oy] = ft[by] = ft[wy] = ft[Cy] = ft[xy] = ft[Ey] = ft[ky] = ft[Sy] = ft[Ty] = ft[_y] = ft[Dy] = !1;
434
434
  function zy(t) {
435
- return Qa(t) && Iu(t.length) && !!ft[vi(t)];
435
+ return Qa(t) && Lu(t.length) && !!ft[vi(t)];
436
436
  }
437
437
  function Vy(t) {
438
438
  return function(e) {
439
439
  return t(e);
440
440
  };
441
441
  }
442
- var Iv = typeof exports == "object" && exports && !exports.nodeType && exports, Ki = Iv && typeof module == "object" && module && !module.nodeType && module, Hy = Ki && Ki.exports === Iv, El = Hy && Sv.process, td = function() {
442
+ var Lv = typeof exports == "object" && exports && !exports.nodeType && exports, Ki = Lv && typeof module == "object" && module && !module.nodeType && module, Hy = Ki && Ki.exports === Lv, El = Hy && Sv.process, td = function() {
443
443
  try {
444
444
  var t = Ki && Ki.require && Ki.require("util").types;
445
445
  return t || El && El.binding && El.binding("util");
@@ -524,7 +524,7 @@ function c1() {
524
524
  }
525
525
  function Ks(t, e) {
526
526
  for (var r = t.length; r--; )
527
- if (Lu(t[r][0], e))
527
+ if (Iu(t[r][0], e))
528
528
  return r;
529
529
  return -1;
530
530
  }
@@ -657,12 +657,12 @@ function Mv(t, e) {
657
657
  return t;
658
658
  }
659
659
  var nd = Jr ? Jr.isConcatSpreadable : void 0;
660
- function L1(t) {
660
+ function I1(t) {
661
661
  return Vr(t) || Au(t) || !!(nd && t && t[nd]);
662
662
  }
663
- function I1(t, e, r, n, a) {
663
+ function L1(t, e, r, n, a) {
664
664
  var i = -1, o = t.length;
665
- for (r || (r = L1), a || (a = []); ++i < o; ) {
665
+ for (r || (r = I1), a || (a = []); ++i < o; ) {
666
666
  var s = t[i];
667
667
  r(s) ? Mv(a, s) : a[a.length] = s;
668
668
  }
@@ -670,7 +670,7 @@ function I1(t, e, r, n, a) {
670
670
  }
671
671
  function A1(t) {
672
672
  var e = t == null ? 0 : t.length;
673
- return e ? I1(t) : [];
673
+ return e ? L1(t) : [];
674
674
  }
675
675
  function F1(t) {
676
676
  return Z0(ay(t, void 0, A1), t + "");
@@ -736,8 +736,8 @@ function G1(t, e, r) {
736
736
  function id(t) {
737
737
  return G1(t, Fv, U1);
738
738
  }
739
- var Ql = Sa(rn, "DataView"), Jl = Sa(rn, "Promise"), eu = Sa(rn, "Set"), od = "[object Map]", W1 = "[object Object]", sd = "[object Promise]", ld = "[object Set]", ud = "[object WeakMap]", cd = "[object DataView]", Y1 = ka(Ql), j1 = ka(Xi), Z1 = ka(Jl), X1 = ka(eu), Q1 = ka(Zl), In = vi;
740
- (Ql && In(new Ql(new ArrayBuffer(1))) != cd || Xi && In(new Xi()) != od || Jl && In(Jl.resolve()) != sd || eu && In(new eu()) != ld || Zl && In(new Zl()) != ud) && (In = function(t) {
739
+ var Ql = Sa(rn, "DataView"), Jl = Sa(rn, "Promise"), eu = Sa(rn, "Set"), od = "[object Map]", W1 = "[object Object]", sd = "[object Promise]", ld = "[object Set]", ud = "[object WeakMap]", cd = "[object DataView]", Y1 = ka(Ql), j1 = ka(Xi), Z1 = ka(Jl), X1 = ka(eu), Q1 = ka(Zl), Ln = vi;
740
+ (Ql && Ln(new Ql(new ArrayBuffer(1))) != cd || Xi && Ln(new Xi()) != od || Jl && Ln(Jl.resolve()) != sd || eu && Ln(new eu()) != ld || Zl && Ln(new Zl()) != ud) && (Ln = function(t) {
741
741
  var e = vi(t), r = e == W1 ? t.constructor : void 0, n = r ? ka(r) : "";
742
742
  if (n)
743
743
  switch (n) {
@@ -835,7 +835,7 @@ function Cb(t, e, r, n, a, i, o) {
835
835
  case cb:
836
836
  case db:
837
837
  case hb:
838
- return Lu(+t, +e);
838
+ return Iu(+t, +e);
839
839
  case fb:
840
840
  return t.name == e.name && t.message == e.message;
841
841
  case pb:
@@ -893,7 +893,7 @@ function Sb(t, e, r, n, a, i) {
893
893
  }
894
894
  var Tb = 1, vd = "[object Arguments]", hd = "[object Array]", No = "[object Object]", _b = Object.prototype, pd = _b.hasOwnProperty;
895
895
  function Db(t, e, r, n, a, i) {
896
- var o = Vr(t), s = Vr(e), l = o ? hd : In(t), u = s ? hd : In(e);
896
+ var o = Vr(t), s = Vr(e), l = o ? hd : Ln(t), u = s ? hd : Ln(e);
897
897
  l = l == vd ? No : l, u = u == vd ? No : u;
898
898
  var c = l == No, d = u == No, v = l == u;
899
899
  if (v && Xl(t)) {
@@ -916,7 +916,7 @@ function Gs(t, e, r, n, a) {
916
916
  return t === e ? !0 : t == null || e == null || !Qa(t) && !Qa(e) ? t !== t && e !== e : Db(t, e, r, n, Gs, a);
917
917
  }
918
918
  var Pb = 1, Ob = 2;
919
- function Lb(t, e, r, n) {
919
+ function Ib(t, e, r, n) {
920
920
  var a = r.length, i = a;
921
921
  if (t == null)
922
922
  return !i;
@@ -942,7 +942,7 @@ function Lb(t, e, r, n) {
942
942
  function Nv(t) {
943
943
  return t === t && !Vn(t);
944
944
  }
945
- function Ib(t) {
945
+ function Lb(t) {
946
946
  for (var e = Fv(t), r = e.length; r--; ) {
947
947
  var n = e[r], a = t[n];
948
948
  e[r] = [n, a, Nv(a)];
@@ -955,9 +955,9 @@ function Rv(t, e) {
955
955
  };
956
956
  }
957
957
  function Ab(t) {
958
- var e = Ib(t);
958
+ var e = Lb(t);
959
959
  return e.length == 1 && e[0][2] ? Rv(e[0][0], e[0][1]) : function(r) {
960
- return r === t || Lb(r, t, e);
960
+ return r === t || Ib(r, t, e);
961
961
  };
962
962
  }
963
963
  function Fb(t, e) {
@@ -971,7 +971,7 @@ function Mb(t, e, r) {
971
971
  break;
972
972
  t = t[o];
973
973
  }
974
- return i || ++n != a ? i : (a = t == null ? 0 : t.length, !!a && Iu(a) && Ou(o, a) && (Vr(t) || Au(t)));
974
+ return i || ++n != a ? i : (a = t == null ? 0 : t.length, !!a && Lu(a) && Ou(o, a) && (Vr(t) || Au(t)));
975
975
  }
976
976
  function $v(t, e) {
977
977
  return t != null && Mb(t, e, Fb);
@@ -1432,7 +1432,7 @@ var r2 = /* @__PURE__ */ fe({
1432
1432
  })
1433
1433
  ]));
1434
1434
  }
1435
- }), O2 = P2, L2 = /* @__PURE__ */ fe({
1435
+ }), O2 = P2, I2 = /* @__PURE__ */ fe({
1436
1436
  name: "ZoomIn",
1437
1437
  __name: "zoom-in",
1438
1438
  setup(t) {
@@ -1446,7 +1446,7 @@ var r2 = /* @__PURE__ */ fe({
1446
1446
  })
1447
1447
  ]));
1448
1448
  }
1449
- }), I2 = L2, A2 = /* @__PURE__ */ fe({
1449
+ }), L2 = I2, A2 = /* @__PURE__ */ fe({
1450
1450
  name: "ZoomOut",
1451
1451
  __name: "zoom-out",
1452
1452
  setup(t) {
@@ -1499,7 +1499,7 @@ const Uv = "__epPropKey", $e = (t) => t, M2 = (t) => Kt(t) && !!t[Uv], Ys = (t,
1499
1499
  return t;
1500
1500
  }, B2 = (t, e) => (t.install = (r) => {
1501
1501
  r.directive(e, t);
1502
- }, t), Cn = (t) => (t.install = ji, t), Lt = {
1502
+ }, t), Cn = (t) => (t.install = ji, t), It = {
1503
1503
  tab: "Tab",
1504
1504
  enter: "Enter",
1505
1505
  space: "Space",
@@ -2151,10 +2151,10 @@ function Pw(t) {
2151
2151
  for (var a = r.mainAxis, i = a === void 0 ? !0 : a, o = r.altAxis, s = o === void 0 ? !0 : o, l = r.fallbackPlacements, u = r.padding, c = r.boundary, d = r.rootBoundary, v = r.altBoundary, h = r.flipVariations, f = h === void 0 ? !0 : h, p = r.allowedAutoPlacements, m = e.options.placement, g = Xr(m), y = g === m, b = l || (y || !f ? [os(m)] : Dw(m)), w = [m].concat(b).reduce(function(se, oe) {
2152
2152
  return se.concat(Xr(oe) === Vu ? _w(e, { placement: oe, boundary: c, rootBoundary: d, padding: u, flipVariations: f, allowedAutoPlacements: p }) : oe);
2153
2153
  }, []), C = e.rects.reference, E = e.rects.popper, x = /* @__PURE__ */ new Map(), T = !0, k = w[0], _ = 0; _ < w.length; _++) {
2154
- var D = w[_], O = Xr(D), A = ii(D) === ti, L = [vr, _r].indexOf(O) >= 0, N = L ? "width" : "height", I = Ji(e, { placement: D, boundary: c, rootBoundary: d, altBoundary: v, padding: u }), M = L ? A ? Dr : hr : A ? _r : vr;
2154
+ var D = w[_], O = Xr(D), A = ii(D) === ti, I = [vr, _r].indexOf(O) >= 0, N = I ? "width" : "height", L = Ji(e, { placement: D, boundary: c, rootBoundary: d, altBoundary: v, padding: u }), M = I ? A ? Dr : hr : A ? _r : vr;
2155
2155
  C[N] > E[N] && (M = os(M));
2156
2156
  var F = os(M), $ = [];
2157
- if (i && $.push(I[O] <= 0), s && $.push(I[M] <= 0, I[F] <= 0), $.every(function(se) {
2157
+ if (i && $.push(L[O] <= 0), s && $.push(L[M] <= 0, L[F] <= 0), $.every(function(se) {
2158
2158
  return se;
2159
2159
  })) {
2160
2160
  k = D, T = !1;
@@ -2186,11 +2186,11 @@ function Ed(t) {
2186
2186
  return t[e] >= 0;
2187
2187
  });
2188
2188
  }
2189
- function Lw(t) {
2189
+ function Iw(t) {
2190
2190
  var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, i = e.modifiersData.preventOverflow, o = Ji(e, { elementContext: "reference" }), s = Ji(e, { altBoundary: !0 }), l = xd(o, n), u = xd(s, a, i), c = Ed(l), d = Ed(u);
2191
2191
  e.modifiersData[r] = { referenceClippingOffsets: l, popperEscapeOffsets: u, isReferenceHidden: c, hasPopperEscaped: d }, e.attributes.popper = Object.assign({}, e.attributes.popper, { "data-popper-reference-hidden": c, "data-popper-escaped": d });
2192
2192
  }
2193
- var Iw = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: Lw };
2193
+ var Lw = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: Iw };
2194
2194
  function Aw(t, e, r) {
2195
2195
  var n = Xr(t), a = [hr, vr].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, e, { placement: t })) : r, o = i[0], s = i[1];
2196
2196
  return o = o || 0, s = (s || 0) * a, [hr, Dr].indexOf(n) >= 0 ? { x: s, y: o } : { x: o, y: s };
@@ -2214,7 +2214,7 @@ function Rw(t) {
2214
2214
  var e = t.state, r = t.options, n = t.name, a = r.mainAxis, i = a === void 0 ? !0 : a, o = r.altAxis, s = o === void 0 ? !1 : o, l = r.boundary, u = r.rootBoundary, c = r.altBoundary, d = r.padding, v = r.tether, h = v === void 0 ? !0 : v, f = r.tetherOffset, p = f === void 0 ? 0 : f, m = Ji(e, { boundary: l, rootBoundary: u, padding: d, altBoundary: c }), g = Xr(e.placement), y = ii(e.placement), b = !y, w = qu(g), C = Nw(w), E = e.modifiersData.popperOffsets, x = e.rects.reference, T = e.rects.popper, k = typeof p == "function" ? p(Object.assign({}, e.rects, { placement: e.placement })) : p, _ = typeof k == "number" ? { mainAxis: k, altAxis: k } : Object.assign({ mainAxis: 0, altAxis: 0 }, k), D = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, O = { x: 0, y: 0 };
2215
2215
  if (E) {
2216
2216
  if (i) {
2217
- var A, L = w === "y" ? vr : hr, N = w === "y" ? _r : Dr, I = w === "y" ? "height" : "width", M = E[w], F = M + m[L], $ = M - m[N], U = h ? -T[I] / 2 : 0, H = y === ti ? x[I] : T[I], K = y === ti ? -T[I] : -x[I], ee = e.elements.arrow, se = h && ee ? Ku(ee) : { width: 0, height: 0 }, oe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eh(), ne = oe[L], ue = oe[N], te = qi(0, x[I], se[I]), R = b ? x[I] / 2 - U - te - ne - _.mainAxis : H - te - ne - _.mainAxis, Y = b ? -x[I] / 2 + U + te + ue + _.mainAxis : K + te + ue + _.mainAxis, J = e.elements.arrow && wo(e.elements.arrow), ge = J ? w === "y" ? J.clientTop || 0 : J.clientLeft || 0 : 0, Ee = (A = D == null ? void 0 : D[w]) != null ? A : 0, ve = M + R - Ee - ge, me = M + Y - Ee, Ce = qi(h ? _s(F, ve) : F, M, h ? da($, me) : $);
2217
+ var A, I = w === "y" ? vr : hr, N = w === "y" ? _r : Dr, L = w === "y" ? "height" : "width", M = E[w], F = M + m[I], $ = M - m[N], U = h ? -T[L] / 2 : 0, H = y === ti ? x[L] : T[L], K = y === ti ? -T[L] : -x[L], ee = e.elements.arrow, se = h && ee ? Ku(ee) : { width: 0, height: 0 }, oe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eh(), ne = oe[I], ue = oe[N], te = qi(0, x[L], se[L]), R = b ? x[L] / 2 - U - te - ne - _.mainAxis : H - te - ne - _.mainAxis, Y = b ? -x[L] / 2 + U + te + ue + _.mainAxis : K + te + ue + _.mainAxis, J = e.elements.arrow && wo(e.elements.arrow), ge = J ? w === "y" ? J.clientTop || 0 : J.clientLeft || 0 : 0, Ee = (A = D == null ? void 0 : D[w]) != null ? A : 0, ve = M + R - Ee - ge, me = M + Y - Ee, Ce = qi(h ? _s(F, ve) : F, M, h ? da($, me) : $);
2218
2218
  E[w] = Ce, O[w] = Ce - M;
2219
2219
  }
2220
2220
  if (s) {
@@ -2354,7 +2354,7 @@ function Yu(t) {
2354
2354
  Yu();
2355
2355
  var Yw = [ah, sh, nh, Qv];
2356
2356
  Yu({ defaultModifiers: Yw });
2357
- var jw = [ah, sh, nh, Qv, Mw, Ow, $w, pw, Iw], Zw = Yu({ defaultModifiers: jw });
2357
+ var jw = [ah, sh, nh, Qv, Mw, Ow, $w, pw, Lw], Zw = Yu({ defaultModifiers: jw });
2358
2358
  const Xw = (t, e, r = {}) => {
2359
2359
  const n = {
2360
2360
  name: "updateState",
@@ -2452,7 +2452,7 @@ usage: app.provide(ID_INJECTION_KEY, {
2452
2452
  let Va = [];
2453
2453
  const _d = (t) => {
2454
2454
  const e = t;
2455
- e.key === Lt.esc && Va.forEach((r) => r(e));
2455
+ e.key === It.esc && Va.forEach((r) => r(e));
2456
2456
  }, eC = (t) => {
2457
2457
  Et(() => {
2458
2458
  Va.length === 0 && document.addEventListener("keydown", _d), _t && Va.push(t);
@@ -2536,12 +2536,12 @@ const uh = () => {
2536
2536
  }
2537
2537
  }), Pd = {
2538
2538
  current: 0
2539
- }, Od = ce(0), dh = 2e3, Ld = Symbol("elZIndexContextKey"), fh = Symbol("zIndexContextKey"), vh = (t) => {
2540
- const e = gt() ? Ue(Ld, Pd) : Pd, r = t || (gt() ? Ue(fh, void 0) : void 0), n = V(() => {
2539
+ }, Od = ce(0), dh = 2e3, Id = Symbol("elZIndexContextKey"), fh = Symbol("zIndexContextKey"), vh = (t) => {
2540
+ const e = gt() ? Ue(Id, Pd) : Pd, r = t || (gt() ? Ue(fh, void 0) : void 0), n = V(() => {
2541
2541
  const o = P(r);
2542
2542
  return qt(o) ? o : dh;
2543
2543
  }), a = V(() => n.value + Od.value), i = () => (e.current++, Od.value = e.current, a.value);
2544
- return !_t && !Ue(Ld) && Dt("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
2544
+ return !_t && !Ue(Id) && Dt("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
2545
2545
  usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
2546
2546
  initialZIndex: n,
2547
2547
  currentZIndex: a,
@@ -2747,7 +2747,7 @@ const yC = rt({
2747
2747
  class: P(r).b(),
2748
2748
  style: P(n)
2749
2749
  }, a.$attrs), [
2750
- Ie(a.$slots, "default")
2750
+ Le(a.$slots, "default")
2751
2751
  ], 16));
2752
2752
  }
2753
2753
  });
@@ -2818,7 +2818,7 @@ function kC(t) {
2818
2818
  const e = window.getComputedStyle(t), r = e.getPropertyValue("box-sizing"), n = Number.parseFloat(e.getPropertyValue("padding-bottom")) + Number.parseFloat(e.getPropertyValue("padding-top")), a = Number.parseFloat(e.getPropertyValue("border-bottom-width")) + Number.parseFloat(e.getPropertyValue("border-top-width"));
2819
2819
  return { contextStyle: EC.map((o) => `${o}:${e.getPropertyValue(o)}`).join(";"), paddingSize: n, borderSize: a, boxSizing: r };
2820
2820
  }
2821
- function Id(t, e = 1, r) {
2821
+ function Ld(t, e = 1, r) {
2822
2822
  var n;
2823
2823
  Ar || (Ar = document.createElement("textarea"), document.body.appendChild(Ar));
2824
2824
  const { paddingSize: a, borderSize: i, boxSizing: o, contextStyle: s } = kC(t);
@@ -2973,7 +2973,7 @@ const SC = rt({
2973
2973
  }), O = V(() => {
2974
2974
  var S;
2975
2975
  return (S = c == null ? void 0 : c.statusIcon) != null ? S : !1;
2976
- }), A = V(() => (d == null ? void 0 : d.validateState) || ""), L = V(() => A.value && Gv[A.value]), N = V(() => w.value ? D2 : C2), I = V(() => [
2976
+ }), A = V(() => (d == null ? void 0 : d.validateState) || ""), I = V(() => A.value && Gv[A.value]), N = V(() => w.value ? D2 : C2), L = V(() => [
2977
2977
  a.style
2978
2978
  ]), M = V(() => [
2979
2979
  n.inputStyle,
@@ -2992,7 +2992,7 @@ const SC = rt({
2992
2992
  const { type: S, autosize: z } = n;
2993
2993
  if (!(!_t || S !== "textarea" || !y.value))
2994
2994
  if (z) {
2995
- const ae = Kt(z) ? z.minRows : void 0, Q = Kt(z) ? z.maxRows : void 0, X = Id(y.value, ae, Q);
2995
+ const ae = Kt(z) ? z.minRows : void 0, Q = Kt(z) ? z.maxRows : void 0, X = Ld(y.value, ae, Q);
2996
2996
  E.value = {
2997
2997
  overflowY: "hidden",
2998
2998
  ...X
@@ -3001,7 +3001,7 @@ const SC = rt({
3001
3001
  });
3002
3002
  } else
3003
3003
  E.value = {
3004
- minHeight: Id(y.value).minHeight
3004
+ minHeight: Ld(y.value).minHeight
3005
3005
  };
3006
3006
  }, R = ((S) => {
3007
3007
  let z = !1;
@@ -3078,7 +3078,7 @@ const SC = rt({
3078
3078
  [P(p).bm("group", "prepend")]: S.$slots.prepend
3079
3079
  }
3080
3080
  ],
3081
- style: P(I),
3081
+ style: P(L),
3082
3082
  role: S.containerRole,
3083
3083
  onMouseenter: qe,
3084
3084
  onMouseleave: Ke
@@ -3090,7 +3090,7 @@ const SC = rt({
3090
3090
  key: 0,
3091
3091
  class: ie(P(p).be("group", "prepend"))
3092
3092
  }, [
3093
- Ie(S.$slots, "prepend")
3093
+ Le(S.$slots, "prepend")
3094
3094
  ], 2)) : de("v-if", !0),
3095
3095
  G("div", {
3096
3096
  ref_key: "wrapperRef",
@@ -3105,7 +3105,7 @@ const SC = rt({
3105
3105
  G("span", {
3106
3106
  class: ie(P(p).e("prefix-inner"))
3107
3107
  }, [
3108
- Ie(S.$slots, "prefix"),
3108
+ Le(S.$slots, "prefix"),
3109
3109
  S.prefixIcon ? (B(), ye(P(Ht), {
3110
3110
  key: 0,
3111
3111
  class: ie(P(p).e("icon"))
@@ -3151,7 +3151,7 @@ const SC = rt({
3151
3151
  class: ie(P(p).e("suffix-inner"))
3152
3152
  }, [
3153
3153
  !P($) || !P(U) || !P(H) ? (B(), W(Ye, { key: 0 }, [
3154
- Ie(S.$slots, "suffix"),
3154
+ Le(S.$slots, "suffix"),
3155
3155
  S.suffixIcon ? (B(), ye(P(Ht), {
3156
3156
  key: 0,
3157
3157
  class: ie(P(p).e("icon"))
@@ -3191,7 +3191,7 @@ const SC = rt({
3191
3191
  class: ie(P(p).e("count-inner"))
3192
3192
  }, De(P(K)) + " / " + De(S.maxlength), 3)
3193
3193
  ], 2)) : de("v-if", !0),
3194
- P(A) && P(L) && P(O) ? (B(), ye(P(Ht), {
3194
+ P(A) && P(I) && P(O) ? (B(), ye(P(Ht), {
3195
3195
  key: 4,
3196
3196
  class: ie([
3197
3197
  P(p).e("icon"),
@@ -3200,7 +3200,7 @@ const SC = rt({
3200
3200
  ])
3201
3201
  }, {
3202
3202
  default: q(() => [
3203
- (B(), ye(er(P(L))))
3203
+ (B(), ye(er(P(I))))
3204
3204
  ]),
3205
3205
  _: 1
3206
3206
  }, 8, ["class"])) : de("v-if", !0)
@@ -3212,7 +3212,7 @@ const SC = rt({
3212
3212
  key: 1,
3213
3213
  class: ie(P(p).be("group", "append"))
3214
3214
  }, [
3215
- Ie(S.$slots, "append")
3215
+ Le(S.$slots, "append")
3216
3216
  ], 2)) : de("v-if", !0)
3217
3217
  ], 64)) : (B(), W(Ye, { key: 1 }, [
3218
3218
  de(" textarea "),
@@ -3253,7 +3253,7 @@ const SC = rt({
3253
3253
  }
3254
3254
  });
3255
3255
  var PC = /* @__PURE__ */ Ve(DC, [["__file", "input.vue"]]);
3256
- const Eo = $t(PC), Ia = 4, OC = {
3256
+ const Eo = $t(PC), La = 4, OC = {
3257
3257
  vertical: {
3258
3258
  offset: "offsetHeight",
3259
3259
  scroll: "scrollTop",
@@ -3274,14 +3274,14 @@ const Eo = $t(PC), Ia = 4, OC = {
3274
3274
  client: "clientX",
3275
3275
  direction: "left"
3276
3276
  }
3277
- }, LC = ({
3277
+ }, IC = ({
3278
3278
  move: t,
3279
3279
  size: e,
3280
3280
  bar: r
3281
3281
  }) => ({
3282
3282
  [r.size]: e,
3283
3283
  transform: `translate${r.axis}(${t}%)`
3284
- }), Qu = Symbol("scrollbarContextKey"), IC = rt({
3284
+ }), Qu = Symbol("scrollbarContextKey"), LC = rt({
3285
3285
  vertical: Boolean,
3286
3286
  size: String,
3287
3287
  move: Number,
@@ -3292,13 +3292,13 @@ const Eo = $t(PC), Ia = 4, OC = {
3292
3292
  always: Boolean
3293
3293
  }), AC = "Thumb", FC = /* @__PURE__ */ fe({
3294
3294
  __name: "thumb",
3295
- props: IC,
3295
+ props: LC,
3296
3296
  setup(t) {
3297
3297
  const e = t, r = Ue(Qu), n = He("scrollbar");
3298
3298
  r || Jb(AC, "can not inject scrollbar context");
3299
3299
  const a = ce(), i = ce(), o = ce({}), s = ce(!1);
3300
3300
  let l = !1, u = !1, c = _t ? document.onselectstart : null;
3301
- const d = V(() => OC[e.vertical ? "vertical" : "horizontal"]), v = V(() => LC({
3301
+ const d = V(() => OC[e.vertical ? "vertical" : "horizontal"]), v = V(() => IC({
3302
3302
  size: e.size,
3303
3303
  move: e.move,
3304
3304
  bar: d.value
@@ -3381,7 +3381,7 @@ const MC = rt({
3381
3381
  return e({
3382
3382
  handleScroll: (v) => {
3383
3383
  if (v) {
3384
- const h = v.offsetHeight - Ia, f = v.offsetWidth - Ia;
3384
+ const h = v.offsetHeight - La, f = v.offsetWidth - La;
3385
3385
  i.value = v.scrollTop * 100 / h * l.value, a.value = v.scrollLeft * 100 / f * u.value;
3386
3386
  }
3387
3387
  },
@@ -3389,8 +3389,8 @@ const MC = rt({
3389
3389
  const v = n == null ? void 0 : n.wrapElement;
3390
3390
  if (!v)
3391
3391
  return;
3392
- const h = v.offsetHeight - Ia, f = v.offsetWidth - Ia, p = h ** 2 / v.scrollHeight, m = f ** 2 / v.scrollWidth, g = Math.max(p, r.minSize), y = Math.max(m, r.minSize);
3393
- l.value = p / (h - p) / (g / (h - g)), u.value = m / (f - m) / (y / (f - y)), s.value = g + Ia < h ? `${g}px` : "", o.value = y + Ia < f ? `${y}px` : "";
3392
+ const h = v.offsetHeight - La, f = v.offsetWidth - La, p = h ** 2 / v.scrollHeight, m = f ** 2 / v.scrollWidth, g = Math.max(p, r.minSize), y = Math.max(m, r.minSize);
3393
+ l.value = p / (h - p) / (g / (h - g)), u.value = m / (f - m) / (y / (f - y)), s.value = g + La < h ? `${g}px` : "", o.value = y + La < f ? `${y}px` : "";
3394
3394
  }
3395
3395
  }), (v, h) => (B(), W(Ye, null, [
3396
3396
  Z(Ad, {
@@ -3550,7 +3550,7 @@ const RC = rt({
3550
3550
  "aria-orientation": C.ariaOrientation
3551
3551
  }, {
3552
3552
  default: q(() => [
3553
- Ie(C.$slots, "default")
3553
+ Le(C.$slots, "default")
3554
3554
  ]),
3555
3555
  _: 3
3556
3556
  }, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
@@ -3595,7 +3595,7 @@ const KC = $t(HC), Ju = Symbol("popper"), yh = Symbol("popperContent"), qC = [
3595
3595
  referenceRef: o,
3596
3596
  role: s
3597
3597
  };
3598
- return e(l), xt(Ju, l), (u, c) => Ie(u.$slots, "default");
3598
+ return e(l), xt(Ju, l), (u, c) => Le(u.$slots, "default");
3599
3599
  }
3600
3600
  });
3601
3601
  var WC = /* @__PURE__ */ Ve(GC, [["__file", "popper.vue"]]);
@@ -3774,7 +3774,7 @@ const xh = rt({
3774
3774
  "aria-haspopup": P(s)
3775
3775
  }), {
3776
3776
  default: q(() => [
3777
- Ie(d.$slots, "default")
3777
+ Le(d.$slots, "default")
3778
3778
  ]),
3779
3779
  _: 3
3780
3780
  }, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup"]));
@@ -3899,7 +3899,7 @@ const sx = () => {
3899
3899
  }, s = (f) => {
3900
3900
  if (!t.loop && !t.trapped || o.paused)
3901
3901
  return;
3902
- const { key: p, altKey: m, ctrlKey: g, metaKey: y, currentTarget: b, shiftKey: w } = f, { loop: C } = t, E = p === Lt.tab && !m && !g && !y, x = document.activeElement;
3902
+ const { key: p, altKey: m, ctrlKey: g, metaKey: y, currentTarget: b, shiftKey: w } = f, { loop: C } = t, E = p === It.tab && !m && !g && !y, x = document.activeElement;
3903
3903
  if (E && x) {
3904
3904
  const T = b, [k, _] = ix(T);
3905
3905
  if (k && _) {
@@ -3996,7 +3996,7 @@ const sx = () => {
3996
3996
  }
3997
3997
  });
3998
3998
  function fx(t, e, r, n, a, i) {
3999
- return Ie(t.$slots, "default", { handleKeydown: t.onKeydown });
3999
+ return Le(t.$slots, "default", { handleKeydown: t.onKeydown });
4000
4000
  }
4001
4001
  var vx = /* @__PURE__ */ Ve(dx, [["render", fx], ["__file", "focus-trap.vue"]]);
4002
4002
  const hx = ["fixed", "absolute"], px = rt({
@@ -4265,15 +4265,15 @@ const Cx = 0, xx = (t) => {
4265
4265
  D(!1), n.visible && n.focusOnShow ? i.value = !0 : n.visible === !1 && (i.value = !1);
4266
4266
  };
4267
4267
  return Et(() => {
4268
- Oe(() => n.triggerTargetEl, (A, L) => {
4268
+ Oe(() => n.triggerTargetEl, (A, I) => {
4269
4269
  _ == null || _(), _ = void 0;
4270
- const N = P(A || h.value), I = P(L || h.value);
4270
+ const N = P(A || h.value), L = P(I || h.value);
4271
4271
  ua(N) && (_ = Oe([m, () => n.ariaLabel, y, () => n.id], (M) => {
4272
4272
  ["role", "aria-label", "aria-modal", "id"].forEach((F, $) => {
4273
4273
  Rn(M[$]) ? N.removeAttribute(F) : N.setAttribute(F, M[$]);
4274
4274
  });
4275
- }, { immediate: !0 })), I !== N && ua(I) && ["role", "aria-label", "aria-modal", "id"].forEach((M) => {
4276
- I.removeAttribute(M);
4275
+ }, { immediate: !0 })), L !== N && ua(L) && ["role", "aria-label", "aria-modal", "id"].forEach((M) => {
4276
+ L.removeAttribute(M);
4277
4277
  });
4278
4278
  }, { immediate: !0 }), Oe(() => n.visible, O, { immediate: !0 });
4279
4279
  }), Kr(() => {
@@ -4283,7 +4283,7 @@ const Cx = 0, xx = (t) => {
4283
4283
  popperInstanceRef: p,
4284
4284
  updatePopper: D,
4285
4285
  contentStyle: E
4286
- }), (A, L) => (B(), W("div", $r({
4286
+ }), (A, I) => (B(), W("div", $r({
4287
4287
  ref_key: "contentRef",
4288
4288
  ref: h
4289
4289
  }, P(w), {
@@ -4305,7 +4305,7 @@ const Cx = 0, xx = (t) => {
4305
4305
  onReleaseRequested: P(c)
4306
4306
  }, {
4307
4307
  default: q(() => [
4308
- Ie(A.$slots, "default")
4308
+ Le(A.$slots, "default")
4309
4309
  ]),
4310
4310
  _: 3
4311
4311
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusin", "onFocusoutPrevented", "onReleaseRequested"])
@@ -4345,13 +4345,13 @@ const Dx = $t(WC), rc = Symbol("elTooltip"), cr = rt({
4345
4345
  },
4346
4346
  triggerKeys: {
4347
4347
  type: $e(Array),
4348
- default: () => [Lt.enter, Lt.space]
4348
+ default: () => [It.enter, It.space]
4349
4349
  }
4350
4350
  }), {
4351
4351
  useModelToggleProps: Px,
4352
4352
  useModelToggleEmits: Ox,
4353
- useModelToggle: Lx
4354
- } = Y2("visible"), Ix = rt({
4353
+ useModelToggle: Ix
4354
+ } = Y2("visible"), Lx = rt({
4355
4355
  ...bh,
4356
4356
  ...Px,
4357
4357
  ...cr,
@@ -4405,7 +4405,7 @@ const Dx = $t(WC), rc = Symbol("elTooltip"), cr = rt({
4405
4405
  onKeydown: P(b)
4406
4406
  }, {
4407
4407
  default: q(() => [
4408
- Ie(w.$slots, "default")
4408
+ Le(w.$slots, "default")
4409
4409
  ]),
4410
4410
  _: 3
4411
4411
  }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]));
@@ -4422,11 +4422,11 @@ const Rx = rt({
4422
4422
  __name: "teleport",
4423
4423
  props: Rx,
4424
4424
  setup(t) {
4425
- return (e, r) => e.disabled ? Ie(e.$slots, "default", { key: 0 }) : (B(), ye(Dm, {
4425
+ return (e, r) => e.disabled ? Le(e.$slots, "default", { key: 0 }) : (B(), ye(Dm, {
4426
4426
  key: 1,
4427
4427
  to: e.to
4428
4428
  }, [
4429
- Ie(e.$slots, "default")
4429
+ Le(e.$slots, "default")
4430
4430
  ], 8, ["to"]));
4431
4431
  }
4432
4432
  });
@@ -4456,8 +4456,8 @@ const Vx = $t(zx), Hx = fe({
4456
4456
  o == null || o();
4457
4457
  });
4458
4458
  const b = V(() => P(y) ? !0 : P(u)), w = V(() => r.disabled ? !1 : P(u)), C = V(() => r.appendTo || n.value), E = V(() => {
4459
- var I;
4460
- return (I = r.style) != null ? I : {};
4459
+ var L;
4460
+ return (L = r.style) != null ? L : {};
4461
4461
  }), x = ce(!0), T = () => {
4462
4462
  f(), x.value = !0;
4463
4463
  }, k = () => {
@@ -4468,14 +4468,14 @@ const Vx = $t(zx), Hx = fe({
4468
4468
  }), D = un(k, () => {
4469
4469
  P(c) === "hover" && d();
4470
4470
  }), O = () => {
4471
- var I, M;
4472
- (M = (I = i.value) == null ? void 0 : I.updatePopper) == null || M.call(I), p == null || p();
4471
+ var L, M;
4472
+ (M = (L = i.value) == null ? void 0 : L.updatePopper) == null || M.call(L), p == null || p();
4473
4473
  }, A = () => {
4474
4474
  m == null || m();
4475
- }, L = () => {
4475
+ }, I = () => {
4476
4476
  h(), o = zm(V(() => {
4477
- var I;
4478
- return (I = i.value) == null ? void 0 : I.popperContentRef;
4477
+ var L;
4478
+ return (L = i.value) == null ? void 0 : L.popperContentRef;
4479
4479
  }), () => {
4480
4480
  if (P(s))
4481
4481
  return;
@@ -4484,17 +4484,17 @@ const Vx = $t(zx), Hx = fe({
4484
4484
  }, N = () => {
4485
4485
  r.virtualTriggering || d();
4486
4486
  };
4487
- return Oe(() => P(u), (I) => {
4488
- I ? x.value = !1 : o == null || o();
4487
+ return Oe(() => P(u), (L) => {
4488
+ L ? x.value = !1 : o == null || o();
4489
4489
  }, {
4490
4490
  flush: "post"
4491
4491
  }), Oe(() => r.content, () => {
4492
- var I, M;
4493
- (M = (I = i.value) == null ? void 0 : I.updatePopper) == null || M.call(I);
4492
+ var L, M;
4493
+ (M = (L = i.value) == null ? void 0 : L.updatePopper) == null || M.call(L);
4494
4494
  }), e({
4495
4495
  contentRef: i
4496
- }), (I, M) => (B(), ye(P(Vx), {
4497
- disabled: !I.teleported,
4496
+ }), (L, M) => (B(), ye(P(Vx), {
4497
+ disabled: !L.teleported,
4498
4498
  to: P(C)
4499
4499
  }, {
4500
4500
  default: q(() => [
@@ -4502,7 +4502,7 @@ const Vx = $t(zx), Hx = fe({
4502
4502
  name: P(g),
4503
4503
  onAfterLeave: T,
4504
4504
  onBeforeEnter: O,
4505
- onAfterEnter: L,
4505
+ onAfterEnter: I,
4506
4506
  onBeforeLeave: A
4507
4507
  }, {
4508
4508
  default: q(() => [
@@ -4511,32 +4511,32 @@ const Vx = $t(zx), Hx = fe({
4511
4511
  id: P(l),
4512
4512
  ref_key: "contentRef",
4513
4513
  ref: i
4514
- }, I.$attrs, {
4515
- "aria-label": I.ariaLabel,
4514
+ }, L.$attrs, {
4515
+ "aria-label": L.ariaLabel,
4516
4516
  "aria-hidden": x.value,
4517
- "boundaries-padding": I.boundariesPadding,
4518
- "fallback-placements": I.fallbackPlacements,
4519
- "gpu-acceleration": I.gpuAcceleration,
4520
- offset: I.offset,
4521
- placement: I.placement,
4522
- "popper-options": I.popperOptions,
4523
- strategy: I.strategy,
4524
- effect: I.effect,
4525
- enterable: I.enterable,
4526
- pure: I.pure,
4527
- "popper-class": I.popperClass,
4528
- "popper-style": [I.popperStyle, P(E)],
4529
- "reference-el": I.referenceEl,
4530
- "trigger-target-el": I.triggerTargetEl,
4517
+ "boundaries-padding": L.boundariesPadding,
4518
+ "fallback-placements": L.fallbackPlacements,
4519
+ "gpu-acceleration": L.gpuAcceleration,
4520
+ offset: L.offset,
4521
+ placement: L.placement,
4522
+ "popper-options": L.popperOptions,
4523
+ strategy: L.strategy,
4524
+ effect: L.effect,
4525
+ enterable: L.enterable,
4526
+ pure: L.pure,
4527
+ "popper-class": L.popperClass,
4528
+ "popper-style": [L.popperStyle, P(E)],
4529
+ "reference-el": L.referenceEl,
4530
+ "trigger-target-el": L.triggerTargetEl,
4531
4531
  visible: P(w),
4532
- "z-index": I.zIndex,
4532
+ "z-index": L.zIndex,
4533
4533
  onMouseenter: P(_),
4534
4534
  onMouseleave: P(D),
4535
4535
  onBlur: N,
4536
4536
  onClose: P(d)
4537
4537
  }), {
4538
4538
  default: q(() => [
4539
- Ie(I.$slots, "default")
4539
+ Le(L.$slots, "default")
4540
4540
  ]),
4541
4541
  _: 3
4542
4542
  }, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
@@ -4555,7 +4555,7 @@ const Ux = fe({
4555
4555
  name: "ElTooltip"
4556
4556
  }), Gx = /* @__PURE__ */ fe({
4557
4557
  ...Ux,
4558
- props: Ix,
4558
+ props: Lx,
4559
4559
  emits: Ax,
4560
4560
  setup(t, { expose: e, emit: r }) {
4561
4561
  const n = t;
@@ -4564,7 +4564,7 @@ const Ux = fe({
4564
4564
  var g;
4565
4565
  const y = P(i);
4566
4566
  y && ((g = y.popperInstanceRef) == null || g.update());
4567
- }, l = ce(!1), u = ce(), { show: c, hide: d, hasUpdateHandler: v } = Lx({
4567
+ }, l = ce(!1), u = ce(), { show: c, hide: d, hasUpdateHandler: v } = Ix({
4568
4568
  indicator: l,
4569
4569
  toggleReason: u
4570
4570
  }), { onOpen: h, onClose: f } = aC({
@@ -4631,7 +4631,7 @@ const Ux = fe({
4631
4631
  "virtual-triggering": g.virtualTriggering
4632
4632
  }, {
4633
4633
  default: q(() => [
4634
- g.$slots.default ? Ie(g.$slots, "default", { key: 0 }) : de("v-if", !0)
4634
+ g.$slots.default ? Le(g.$slots, "default", { key: 0 }) : de("v-if", !0)
4635
4635
  ]),
4636
4636
  _: 3
4637
4637
  }, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
@@ -4666,7 +4666,7 @@ const Ux = fe({
4666
4666
  "append-to": g.appendTo
4667
4667
  }, {
4668
4668
  default: q(() => [
4669
- Ie(g.$slots, "content", {}, () => [
4669
+ Le(g.$slots, "content", {}, () => [
4670
4670
  g.rawContent ? (B(), W("span", {
4671
4671
  key: 0,
4672
4672
  innerHTML: g.content
@@ -5063,14 +5063,14 @@ function oE(t) {
5063
5063
  a: r
5064
5064
  };
5065
5065
  }
5066
- var sE = "[-\\+]?\\d+%?", lE = "[-\\+]?\\d*\\.\\d+%?", Bn = "(?:".concat(lE, ")|(?:").concat(sE, ")"), Ol = "[\\s|\\(]+(".concat(Bn, ")[,|\\s]+(").concat(Bn, ")[,|\\s]+(").concat(Bn, ")\\s*\\)?"), Ll = "[\\s|\\(]+(".concat(Bn, ")[,|\\s]+(").concat(Bn, ")[,|\\s]+(").concat(Bn, ")[,|\\s]+(").concat(Bn, ")\\s*\\)?"), Fr = {
5066
+ var sE = "[-\\+]?\\d+%?", lE = "[-\\+]?\\d*\\.\\d+%?", Bn = "(?:".concat(lE, ")|(?:").concat(sE, ")"), Ol = "[\\s|\\(]+(".concat(Bn, ")[,|\\s]+(").concat(Bn, ")[,|\\s]+(").concat(Bn, ")\\s*\\)?"), Il = "[\\s|\\(]+(".concat(Bn, ")[,|\\s]+(").concat(Bn, ")[,|\\s]+(").concat(Bn, ")[,|\\s]+(").concat(Bn, ")\\s*\\)?"), Fr = {
5067
5067
  CSS_UNIT: new RegExp(Bn),
5068
5068
  rgb: new RegExp("rgb" + Ol),
5069
- rgba: new RegExp("rgba" + Ll),
5069
+ rgba: new RegExp("rgba" + Il),
5070
5070
  hsl: new RegExp("hsl" + Ol),
5071
- hsla: new RegExp("hsla" + Ll),
5071
+ hsla: new RegExp("hsla" + Il),
5072
5072
  hsv: new RegExp("hsv" + Ol),
5073
- hsva: new RegExp("hsva" + Ll),
5073
+ hsva: new RegExp("hsva" + Il),
5074
5074
  hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
5075
5075
  hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
5076
5076
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
@@ -5367,7 +5367,7 @@ const fE = fe({
5367
5367
  }), {
5368
5368
  default: q(() => [
5369
5369
  f.loading ? (B(), W(Ye, { key: 0 }, [
5370
- f.$slots.loading ? Ie(f.$slots, "loading", { key: 0 }) : (B(), ye(P(Ht), {
5370
+ f.$slots.loading ? Le(f.$slots, "loading", { key: 0 }) : (B(), ye(P(Ht), {
5371
5371
  key: 1,
5372
5372
  class: ie(P(i).is("loading"))
5373
5373
  }, {
@@ -5378,7 +5378,7 @@ const fE = fe({
5378
5378
  }, 8, ["class"]))
5379
5379
  ], 64)) : f.icon || f.$slots.icon ? (B(), ye(P(Ht), { key: 1 }, {
5380
5380
  default: q(() => [
5381
- f.icon ? (B(), ye(er(f.icon), { key: 0 })) : Ie(f.$slots, "icon", { key: 1 })
5381
+ f.icon ? (B(), ye(er(f.icon), { key: 0 })) : Le(f.$slots, "icon", { key: 1 })
5382
5382
  ]),
5383
5383
  _: 3
5384
5384
  })) : de("v-if", !0),
@@ -5386,7 +5386,7 @@ const fE = fe({
5386
5386
  key: 2,
5387
5387
  class: ie({ [P(i).em("text", "expand")]: P(d) })
5388
5388
  }, [
5389
- Ie(f.$slots, "default")
5389
+ Le(f.$slots, "default")
5390
5390
  ], 2)) : de("v-if", !0)
5391
5391
  ]),
5392
5392
  _: 3
@@ -5412,7 +5412,7 @@ const pE = {
5412
5412
  return (n, a) => (B(), W("div", {
5413
5413
  class: ie(P(r).b("group"))
5414
5414
  }, [
5415
- Ie(n.$slots, "default")
5415
+ Le(n.$slots, "default")
5416
5416
  ], 2));
5417
5417
  }
5418
5418
  });
@@ -5421,12 +5421,12 @@ const Hr = $t(hE, {
5421
5421
  ButtonGroup: _h
5422
5422
  });
5423
5423
  Cn(_h);
5424
- const Ln = /* @__PURE__ */ new Map();
5424
+ const In = /* @__PURE__ */ new Map();
5425
5425
  if (_t) {
5426
5426
  let t;
5427
5427
  document.addEventListener("mousedown", (e) => t = e), document.addEventListener("mouseup", (e) => {
5428
5428
  if (t) {
5429
- for (const r of Ln.values())
5429
+ for (const r of In.values())
5430
5430
  for (const { documentHandler: n } of r)
5431
5431
  n(e, t);
5432
5432
  t = void 0;
@@ -5442,21 +5442,21 @@ function Gd(t, e) {
5442
5442
  }
5443
5443
  const Dh = {
5444
5444
  beforeMount(t, e) {
5445
- Ln.has(t) || Ln.set(t, []), Ln.get(t).push({
5445
+ In.has(t) || In.set(t, []), In.get(t).push({
5446
5446
  documentHandler: Gd(t, e),
5447
5447
  bindingFn: e.value
5448
5448
  });
5449
5449
  },
5450
5450
  updated(t, e) {
5451
- Ln.has(t) || Ln.set(t, []);
5452
- const r = Ln.get(t), n = r.findIndex((i) => i.bindingFn === e.oldValue), a = {
5451
+ In.has(t) || In.set(t, []);
5452
+ const r = In.get(t), n = r.findIndex((i) => i.bindingFn === e.oldValue), a = {
5453
5453
  documentHandler: Gd(t, e),
5454
5454
  bindingFn: e.value
5455
5455
  };
5456
5456
  n >= 0 ? r.splice(n, 1, a) : r.push(a);
5457
5457
  },
5458
5458
  unmounted(t) {
5459
- Ln.delete(t);
5459
+ In.delete(t);
5460
5460
  }
5461
5461
  }, yE = rt({
5462
5462
  header: {
@@ -5491,7 +5491,7 @@ const Dh = {
5491
5491
  key: 0,
5492
5492
  class: ie(P(e).e("header"))
5493
5493
  }, [
5494
- Ie(r.$slots, "header", {}, () => [
5494
+ Le(r.$slots, "header", {}, () => [
5495
5495
  Be(De(r.header), 1)
5496
5496
  ])
5497
5497
  ], 2)) : de("v-if", !0),
@@ -5499,13 +5499,13 @@ const Dh = {
5499
5499
  class: ie([P(e).e("body"), r.bodyClass]),
5500
5500
  style: lt(r.bodyStyle)
5501
5501
  }, [
5502
- Ie(r.$slots, "default")
5502
+ Le(r.$slots, "default")
5503
5503
  ], 6),
5504
5504
  r.$slots.footer || r.footer ? (B(), W("div", {
5505
5505
  key: 1,
5506
5506
  class: ie(P(e).e("footer"))
5507
5507
  }, [
5508
- Ie(r.$slots, "footer", {}, () => [
5508
+ Le(r.$slots, "footer", {}, () => [
5509
5509
  Be(De(r.footer), 1)
5510
5510
  ])
5511
5511
  ], 2)) : de("v-if", !0)
@@ -5645,7 +5645,7 @@ const xE = $t(CE), Ph = {
5645
5645
  hasOwnLabel: u,
5646
5646
  actualValue: i
5647
5647
  };
5648
- }, Lh = (t, e) => {
5648
+ }, Ih = (t, e) => {
5649
5649
  const { formItem: r } = Ta(), { model: n, isGroup: a, isLimitExceeded: i } = SE(t), {
5650
5650
  isFocused: o,
5651
5651
  isChecked: s,
@@ -5721,7 +5721,7 @@ const xE = $t(CE), Ph = {
5721
5721
  actualValue: d,
5722
5722
  handleChange: v,
5723
5723
  onClickRoot: h
5724
- } = Lh(e, r), f = He("checkbox"), p = V(() => [
5724
+ } = Ih(e, r), f = He("checkbox"), p = V(() => [
5725
5725
  f.b(),
5726
5726
  f.m(l.value),
5727
5727
  f.is("disabled", o.value),
@@ -5791,7 +5791,7 @@ const xE = $t(CE), Ph = {
5791
5791
  key: 0,
5792
5792
  class: ie(P(f).e("label"))
5793
5793
  }, [
5794
- Ie(g.$slots, "default"),
5794
+ Le(g.$slots, "default"),
5795
5795
  g.$slots.default ? de("v-if", !0) : (B(), W(Ye, { key: 0 }, [
5796
5796
  Be(De(g.label), 1)
5797
5797
  ], 64))
@@ -5805,7 +5805,7 @@ const xE = $t(CE), Ph = {
5805
5805
  var PE = /* @__PURE__ */ Ve(DE, [["__file", "checkbox.vue"]]);
5806
5806
  const OE = fe({
5807
5807
  name: "ElCheckboxButton"
5808
- }), LE = /* @__PURE__ */ fe({
5808
+ }), IE = /* @__PURE__ */ fe({
5809
5809
  ...OE,
5810
5810
  props: Ph,
5811
5811
  emits: Oh,
@@ -5818,7 +5818,7 @@ const OE = fe({
5818
5818
  model: s,
5819
5819
  actualValue: l,
5820
5820
  handleChange: u
5821
- } = Lh(e, r), c = Ue(pi, void 0), d = He("checkbox"), v = V(() => {
5821
+ } = Ih(e, r), c = Ue(pi, void 0), d = He("checkbox"), v = V(() => {
5822
5822
  var f, p, m, g;
5823
5823
  const y = (p = (f = c == null ? void 0 : c.fill) == null ? void 0 : f.value) != null ? p : "";
5824
5824
  return {
@@ -5878,7 +5878,7 @@ const OE = fe({
5878
5878
  class: ie(P(d).be("button", "inner")),
5879
5879
  style: lt(P(a) ? P(v) : void 0)
5880
5880
  }, [
5881
- Ie(f.$slots, "default", {}, () => [
5881
+ Le(f.$slots, "default", {}, () => [
5882
5882
  Be(De(f.label), 1)
5883
5883
  ])
5884
5884
  ], 6)) : de("v-if", !0)
@@ -5886,8 +5886,8 @@ const OE = fe({
5886
5886
  };
5887
5887
  }
5888
5888
  });
5889
- var Ih = /* @__PURE__ */ Ve(LE, [["__file", "checkbox-button.vue"]]);
5890
- const IE = rt({
5889
+ var Lh = /* @__PURE__ */ Ve(IE, [["__file", "checkbox-button.vue"]]);
5890
+ const LE = rt({
5891
5891
  modelValue: {
5892
5892
  type: $e(Array),
5893
5893
  default: () => []
@@ -5914,7 +5914,7 @@ const IE = rt({
5914
5914
  name: "ElCheckboxGroup"
5915
5915
  }), ME = /* @__PURE__ */ fe({
5916
5916
  ...FE,
5917
- props: IE,
5917
+ props: LE,
5918
5918
  emits: AE,
5919
5919
  setup(t, { emit: e }) {
5920
5920
  const r = t, n = He("checkbox"), { formItem: a } = Ta(), { inputId: i, isLabeledByFormItem: o } = xo(r, {
@@ -5953,7 +5953,7 @@ const IE = rt({
5953
5953
  "aria-labelledby": P(o) ? (d = P(a)) == null ? void 0 : d.labelId : void 0
5954
5954
  }, {
5955
5955
  default: q(() => [
5956
- Ie(u.$slots, "default")
5956
+ Le(u.$slots, "default")
5957
5957
  ]),
5958
5958
  _: 3
5959
5959
  }, 8, ["id", "class", "aria-label", "aria-labelledby"]);
@@ -5962,10 +5962,10 @@ const IE = rt({
5962
5962
  });
5963
5963
  var Ah = /* @__PURE__ */ Ve(ME, [["__file", "checkbox-group.vue"]]);
5964
5964
  const BE = $t(PE, {
5965
- CheckboxButton: Ih,
5965
+ CheckboxButton: Lh,
5966
5966
  CheckboxGroup: Ah
5967
5967
  });
5968
- Cn(Ih);
5968
+ Cn(Lh);
5969
5969
  Cn(Ah);
5970
5970
  const su = rt({
5971
5971
  type: {
@@ -6024,7 +6024,7 @@ const su = rt({
6024
6024
  G("span", {
6025
6025
  class: ie(P(a).e("content"))
6026
6026
  }, [
6027
- Ie(u.$slots, "default")
6027
+ Le(u.$slots, "default")
6028
6028
  ], 2),
6029
6029
  u.closable ? (B(), ye(P(Ht), {
6030
6030
  key: 0,
@@ -6051,7 +6051,7 @@ const su = rt({
6051
6051
  G("span", {
6052
6052
  class: ie(P(a).e("content"))
6053
6053
  }, [
6054
- Ie(u.$slots, "default")
6054
+ Le(u.$slots, "default")
6055
6055
  ], 2),
6056
6056
  u.closable ? (B(), ye(P(Ht), {
6057
6057
  key: 0,
@@ -6118,7 +6118,7 @@ const VE = $t(zE), Fh = Symbol("rowContextKey"), HE = [
6118
6118
  style: lt(P(a))
6119
6119
  }, {
6120
6120
  default: q(() => [
6121
- Ie(o.$slots, "default")
6121
+ Le(o.$slots, "default")
6122
6122
  ]),
6123
6123
  _: 3
6124
6124
  }, 8, ["class", "style"]));
@@ -6191,7 +6191,7 @@ const Js = $t(WE), YE = rt({
6191
6191
  style: lt(P(a))
6192
6192
  }, {
6193
6193
  default: q(() => [
6194
- Ie(o.$slots, "default")
6194
+ Le(o.$slots, "default")
6195
6195
  ]),
6196
6196
  _: 3
6197
6197
  }, 8, ["class", "style"]));
@@ -6235,9 +6235,9 @@ const So = $t(XE), QE = fe({
6235
6235
  };
6236
6236
  return (a, i) => (B(), ye(ci, $r({
6237
6237
  name: P(e).b()
6238
- }, Lm(n)), {
6238
+ }, Im(n)), {
6239
6239
  default: q(() => [
6240
- Ie(a.$slots, "default")
6240
+ Le(a.$slots, "default")
6241
6241
  ]),
6242
6242
  _: 3
6243
6243
  }, 16, ["name"]));
@@ -6254,7 +6254,7 @@ const tk = $t(ek), rk = rt({
6254
6254
  default: !1
6255
6255
  }
6256
6256
  });
6257
- let Il = !1;
6257
+ let Ll = !1;
6258
6258
  function ro(t, e) {
6259
6259
  if (!_t)
6260
6260
  return;
@@ -6263,10 +6263,10 @@ function ro(t, e) {
6263
6263
  (o = e.drag) == null || o.call(e, i);
6264
6264
  }, n = function(i) {
6265
6265
  var o;
6266
- document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), document.removeEventListener("touchmove", r), document.removeEventListener("touchend", n), document.onselectstart = null, document.ondragstart = null, Il = !1, (o = e.end) == null || o.call(e, i);
6266
+ document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), document.removeEventListener("touchmove", r), document.removeEventListener("touchend", n), document.onselectstart = null, document.ondragstart = null, Ll = !1, (o = e.end) == null || o.call(e, i);
6267
6267
  }, a = function(i) {
6268
6268
  var o;
6269
- Il || (i.preventDefault(), document.onselectstart = () => !1, document.ondragstart = () => !1, document.addEventListener("mousemove", r), document.addEventListener("mouseup", n), document.addEventListener("touchmove", r), document.addEventListener("touchend", n), Il = !0, (o = e.start) == null || o.call(e, i));
6269
+ Ll || (i.preventDefault(), document.onselectstart = () => !1, document.ondragstart = () => !1, document.addEventListener("mousemove", r), document.addEventListener("mouseup", n), document.addEventListener("touchmove", r), document.addEventListener("touchend", n), Ll = !0, (o = e.start) == null || o.call(e, i));
6270
6270
  };
6271
6271
  t.addEventListener("mousedown", a), t.addEventListener("touchstart", a, { passive: !1 });
6272
6272
  }
@@ -6291,12 +6291,12 @@ const nk = (t) => {
6291
6291
  function u(d) {
6292
6292
  const { code: v, shiftKey: h } = d, f = h ? 10 : 1;
6293
6293
  switch (v) {
6294
- case Lt.left:
6295
- case Lt.down:
6294
+ case It.left:
6295
+ case It.down:
6296
6296
  d.preventDefault(), d.stopPropagation(), c(-f);
6297
6297
  break;
6298
- case Lt.right:
6299
- case Lt.up:
6298
+ case It.right:
6299
+ case It.up:
6300
6300
  d.preventDefault(), d.stopPropagation(), c(f);
6301
6301
  break;
6302
6302
  }
@@ -6612,7 +6612,7 @@ const fk = rt({
6612
6612
  i /= 6;
6613
6613
  }
6614
6614
  return { h: i * 360, s: l * 100, v: o * 100 };
6615
- }, Li = function(t, e, r) {
6615
+ }, Ii = function(t, e, r) {
6616
6616
  t = Ua(t, 360) * 6, e = Ua(e, 100), r = Ua(r, 100);
6617
6617
  const n = Math.floor(t), a = t - n, i = r * (1 - e), o = r * (1 - a * e), s = r * (1 - (1 - a) * e), l = n % 6, u = [r, o, i, i, s, r][l], c = [s, r, r, o, i, i][l], d = [i, i, s, r, r, o][l];
6618
6618
  return {
@@ -6640,7 +6640,7 @@ class Gi {
6640
6640
  return e === "alpha" ? Math.floor(this[`_${e}`]) : this[`_${e}`];
6641
6641
  }
6642
6642
  toRgb() {
6643
- return Li(this._hue, this._saturation, this._value);
6643
+ return Ii(this._hue, this._saturation, this._value);
6644
6644
  }
6645
6645
  fromString(e) {
6646
6646
  if (!e) {
@@ -6692,11 +6692,11 @@ class Gi {
6692
6692
  break;
6693
6693
  }
6694
6694
  case "hex": {
6695
- this.value = `${jd(Li(e, r, n))}${ss(a * 255 / 100)}`;
6695
+ this.value = `${jd(Ii(e, r, n))}${ss(a * 255 / 100)}`;
6696
6696
  break;
6697
6697
  }
6698
6698
  default: {
6699
- const { r: o, g: s, b: l } = Li(e, r, n);
6699
+ const { r: o, g: s, b: l } = Ii(e, r, n);
6700
6700
  this.value = `rgba(${o}, ${s}, ${l}, ${this.get("alpha") / 100})`;
6701
6701
  }
6702
6702
  }
@@ -6712,12 +6712,12 @@ class Gi {
6712
6712
  break;
6713
6713
  }
6714
6714
  case "rgb": {
6715
- const { r: o, g: s, b: l } = Li(e, r, n);
6715
+ const { r: o, g: s, b: l } = Ii(e, r, n);
6716
6716
  this.value = `rgb(${o}, ${s}, ${l})`;
6717
6717
  break;
6718
6718
  }
6719
6719
  default:
6720
- this.value = jd(Li(e, r, n));
6720
+ this.value = jd(Ii(e, r, n));
6721
6721
  }
6722
6722
  }
6723
6723
  }
@@ -6769,7 +6769,7 @@ function yk(t, e, r, n, a, i) {
6769
6769
  G("div", {
6770
6770
  class: ie(t.ns.e("colors"))
6771
6771
  }, [
6772
- (B(!0), W(Ye, null, It(t.rgbaColors, (o, s) => (B(), W("div", {
6772
+ (B(!0), W(Ye, null, Lt(t.rgbaColors, (o, s) => (B(), W("div", {
6773
6773
  key: t.colors[s],
6774
6774
  class: ie([
6775
6775
  t.ns.e("color-selector"),
@@ -6884,13 +6884,13 @@ const Ek = fe({
6884
6884
  enableAlpha: n.showAlpha,
6885
6885
  format: n.colorFormat || "",
6886
6886
  value: n.modelValue
6887
- })), E = ce(!1), x = ce(!1), T = ce(""), k = V(() => !n.modelValue && !x.value ? "transparent" : L(C, n.showAlpha)), _ = V(() => !n.modelValue && !x.value ? "" : C.value), D = V(() => c.value ? void 0 : n.ariaLabel || a("el.colorpicker.defaultLabel")), O = V(() => c.value ? o == null ? void 0 : o.labelId : void 0), A = V(() => [
6887
+ })), E = ce(!1), x = ce(!1), T = ce(""), k = V(() => !n.modelValue && !x.value ? "transparent" : I(C, n.showAlpha)), _ = V(() => !n.modelValue && !x.value ? "" : C.value), D = V(() => c.value ? void 0 : n.ariaLabel || a("el.colorpicker.defaultLabel")), O = V(() => c.value ? o == null ? void 0 : o.labelId : void 0), A = V(() => [
6888
6888
  i.b("picker"),
6889
6889
  i.is("disabled", l.value),
6890
6890
  i.bm("picker", s.value),
6891
6891
  i.is("focused", g.value)
6892
6892
  ]);
6893
- function L(R, Y) {
6893
+ function I(R, Y) {
6894
6894
  if (!(R instanceof Gi))
6895
6895
  throw new TypeError("color should be instance of _color Class");
6896
6896
  const { r: J, g: ge, b: Ee } = R.toRgb();
@@ -6899,12 +6899,12 @@ const Ek = fe({
6899
6899
  function N(R) {
6900
6900
  E.value = R;
6901
6901
  }
6902
- const I = zv(N, 100, { leading: !0 });
6902
+ const L = zv(N, 100, { leading: !0 });
6903
6903
  function M() {
6904
6904
  l.value || N(!0);
6905
6905
  }
6906
6906
  function F() {
6907
- I(!1), $();
6907
+ L(!1), $();
6908
6908
  }
6909
6909
  function $() {
6910
6910
  ot(() => {
@@ -6914,14 +6914,14 @@ const Ek = fe({
6914
6914
  });
6915
6915
  }
6916
6916
  function U() {
6917
- l.value || I(!E.value);
6917
+ l.value || L(!E.value);
6918
6918
  }
6919
6919
  function H() {
6920
6920
  C.fromString(T.value);
6921
6921
  }
6922
6922
  function K() {
6923
6923
  const R = C.value;
6924
- r(Vt, R), r("change", R), n.validateEvent && (o == null || o.validate("change").catch((Y) => Dt(Y))), I(!1), ot(() => {
6924
+ r(Vt, R), r("change", R), n.validateEvent && (o == null || o.validate("change").catch((Y) => Dt(Y))), L(!1), ot(() => {
6925
6925
  const Y = new Gi({
6926
6926
  enableAlpha: n.showAlpha,
6927
6927
  format: n.colorFormat || "",
@@ -6931,7 +6931,7 @@ const Ek = fe({
6931
6931
  });
6932
6932
  }
6933
6933
  function ee() {
6934
- I(!1), r(Vt, null), r("change", null), n.modelValue !== null && n.validateEvent && (o == null || o.validate("change").catch((R) => Dt(R))), $();
6934
+ L(!1), r(Vt, null), r("change", null), n.modelValue !== null && n.validateEvent && (o == null || o.validate("change").catch((R) => Dt(R))), $();
6935
6935
  }
6936
6936
  function se() {
6937
6937
  E.value && (F(), g.value && ue());
@@ -6941,11 +6941,11 @@ const Ek = fe({
6941
6941
  }
6942
6942
  function ne(R) {
6943
6943
  switch (R.code) {
6944
- case Lt.enter:
6945
- case Lt.space:
6944
+ case It.enter:
6945
+ case It.space:
6946
6946
  R.preventDefault(), R.stopPropagation(), M(), m.value.focus();
6947
6947
  break;
6948
- case Lt.esc:
6948
+ case It.esc:
6949
6949
  oe(R);
6950
6950
  break;
6951
6951
  }
@@ -7154,14 +7154,14 @@ const Tk = $t(Sk), _k = fe({
7154
7154
  return (i, o) => (B(), W("section", {
7155
7155
  class: ie([P(n).b(), P(n).is("vertical", P(a))])
7156
7156
  }, [
7157
- Ie(i.$slots, "default")
7157
+ Le(i.$slots, "default")
7158
7158
  ], 2));
7159
7159
  }
7160
7160
  });
7161
7161
  var Pk = /* @__PURE__ */ Ve(Dk, [["__file", "container.vue"]]);
7162
7162
  const Ok = fe({
7163
7163
  name: "ElAside"
7164
- }), Lk = /* @__PURE__ */ fe({
7164
+ }), Ik = /* @__PURE__ */ fe({
7165
7165
  ...Ok,
7166
7166
  props: {
7167
7167
  width: {
@@ -7175,15 +7175,15 @@ const Ok = fe({
7175
7175
  class: ie(P(r).b()),
7176
7176
  style: lt(P(n))
7177
7177
  }, [
7178
- Ie(a.$slots, "default")
7178
+ Le(a.$slots, "default")
7179
7179
  ], 6));
7180
7180
  }
7181
7181
  });
7182
- var Bh = /* @__PURE__ */ Ve(Lk, [["__file", "aside.vue"]]);
7183
- const Ik = fe({
7182
+ var Bh = /* @__PURE__ */ Ve(Ik, [["__file", "aside.vue"]]);
7183
+ const Lk = fe({
7184
7184
  name: "ElFooter"
7185
7185
  }), Ak = /* @__PURE__ */ fe({
7186
- ...Ik,
7186
+ ...Lk,
7187
7187
  props: {
7188
7188
  height: {
7189
7189
  type: String,
@@ -7196,7 +7196,7 @@ const Ik = fe({
7196
7196
  class: ie(P(r).b()),
7197
7197
  style: lt(P(n))
7198
7198
  }, [
7199
- Ie(a.$slots, "default")
7199
+ Le(a.$slots, "default")
7200
7200
  ], 6));
7201
7201
  }
7202
7202
  });
@@ -7219,7 +7219,7 @@ const Fk = fe({
7219
7219
  class: ie(P(r).b()),
7220
7220
  style: lt(P(n))
7221
7221
  }, [
7222
- Ie(a.$slots, "default")
7222
+ Le(a.$slots, "default")
7223
7223
  ], 6));
7224
7224
  }
7225
7225
  });
@@ -7233,7 +7233,7 @@ const Bk = fe({
7233
7233
  return (r, n) => (B(), W("main", {
7234
7234
  class: ie(P(e).b())
7235
7235
  }, [
7236
- Ie(r.$slots, "default")
7236
+ Le(r.$slots, "default")
7237
7237
  ], 2));
7238
7238
  }
7239
7239
  });
@@ -7250,7 +7250,7 @@ const Vh = Cn(Rh), nc = Cn($h), Rk = /* @__PURE__ */ fe({
7250
7250
  inheritAttrs: !1
7251
7251
  });
7252
7252
  function $k(t, e, r, n, a, i) {
7253
- return Ie(t.$slots, "default");
7253
+ return Le(t.$slots, "default");
7254
7254
  }
7255
7255
  var zk = /* @__PURE__ */ Ve(Rk, [["render", $k], ["__file", "collection.vue"]]);
7256
7256
  const Vk = /* @__PURE__ */ fe({
@@ -7258,7 +7258,7 @@ const Vk = /* @__PURE__ */ fe({
7258
7258
  inheritAttrs: !1
7259
7259
  });
7260
7260
  function Hk(t, e, r, n, a, i) {
7261
- return Ie(t.$slots, "default");
7261
+ return Le(t.$slots, "default");
7262
7262
  }
7263
7263
  var Kk = /* @__PURE__ */ Ve(Vk, [["render", Hk], ["__file", "collection-item.vue"]]);
7264
7264
  const qk = "data-el-collection-item", Uk = (t) => {
@@ -7490,7 +7490,7 @@ function Yk(t, e, r, n, a, i) {
7490
7490
  onMouseenter: t.hoverItem,
7491
7491
  onClick: ht(t.selectOptionClick, ["stop"])
7492
7492
  }, [
7493
- Ie(t.$slots, "default", {}, () => [
7493
+ Le(t.$slots, "default", {}, () => [
7494
7494
  G("span", null, De(t.currentLabel), 1)
7495
7495
  ])
7496
7496
  ], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
@@ -7527,14 +7527,14 @@ function Zk(t, e, r, n, a, i) {
7527
7527
  key: 0,
7528
7528
  class: ie(t.ns.be("dropdown", "header"))
7529
7529
  }, [
7530
- Ie(t.$slots, "header")
7530
+ Le(t.$slots, "header")
7531
7531
  ], 2)) : de("v-if", !0),
7532
- Ie(t.$slots, "default"),
7532
+ Le(t.$slots, "default"),
7533
7533
  t.$slots.footer ? (B(), W("div", {
7534
7534
  key: 1,
7535
7535
  class: ie(t.ns.be("dropdown", "footer"))
7536
7536
  }, [
7537
- Ie(t.$slots, "footer")
7537
+ Le(t.$slots, "footer")
7538
7538
  ], 2)) : de("v-if", !0)
7539
7539
  ], 6);
7540
7540
  }
@@ -7565,7 +7565,7 @@ const Qk = 11, Jk = (t, e) => {
7565
7565
  afterComposition: (j) => ae(j)
7566
7566
  }), { wrapperRef: x, isFocused: T } = ju(d, {
7567
7567
  beforeFocus() {
7568
- return I.value;
7568
+ return L.value;
7569
7569
  },
7570
7570
  afterFocus() {
7571
7571
  t.automaticDropdown && !k.value && (k.value = !0, o.menuVisibleOnFocus = !0);
@@ -7579,7 +7579,7 @@ const Qk = 11, Jk = (t, e) => {
7579
7579
  }
7580
7580
  }), k = ce(!1), _ = ce(), { form: D, formItem: O } = Ta(), { inputId: A } = xo(t, {
7581
7581
  formItemContext: O
7582
- }), { valueOnClear: L, isEmptyValue: N } = vC(t), I = V(() => t.disabled || (D == null ? void 0 : D.disabled)), M = V(() => fr(t.modelValue) ? t.modelValue.length > 0 : !N(t.modelValue)), F = V(() => t.clearable && !I.value && o.inputHovering && M.value), $ = V(() => t.remote && t.filterable && !t.remoteShowSuffix ? "" : t.suffixIcon), U = V(() => a.is("reverse", $.value && k.value)), H = V(() => (O == null ? void 0 : O.validateState) || ""), K = V(() => Gv[H.value]), ee = V(() => t.remote ? 300 : 0), se = V(() => t.loading ? t.loadingText || r("el.select.loading") : t.remote && !o.inputValue && o.options.size === 0 ? !1 : t.filterable && o.inputValue && o.options.size > 0 && oe.value === 0 ? t.noMatchText || r("el.select.noMatch") : o.options.size === 0 ? t.noDataText || r("el.select.noData") : null), oe = V(() => ne.value.filter((j) => j.visible).length), ne = V(() => {
7582
+ }), { valueOnClear: I, isEmptyValue: N } = vC(t), L = V(() => t.disabled || (D == null ? void 0 : D.disabled)), M = V(() => fr(t.modelValue) ? t.modelValue.length > 0 : !N(t.modelValue)), F = V(() => t.clearable && !L.value && o.inputHovering && M.value), $ = V(() => t.remote && t.filterable && !t.remoteShowSuffix ? "" : t.suffixIcon), U = V(() => a.is("reverse", $.value && k.value)), H = V(() => (O == null ? void 0 : O.validateState) || ""), K = V(() => Gv[H.value]), ee = V(() => t.remote ? 300 : 0), se = V(() => t.loading ? t.loadingText || r("el.select.loading") : t.remote && !o.inputValue && o.options.size === 0 ? !1 : t.filterable && o.inputValue && o.options.size > 0 && oe.value === 0 ? t.noMatchText || r("el.select.noMatch") : o.options.size === 0 ? t.noDataText || r("el.select.noData") : null), oe = V(() => ne.value.filter((j) => j.visible).length), ne = V(() => {
7583
7583
  const j = Array.from(o.options.values()), we = [];
7584
7584
  return o.optionValues.forEach((We) => {
7585
7585
  const at = j.findIndex((Gr) => Gr.value === We);
@@ -7698,7 +7698,7 @@ const Qk = 11, Jk = (t, e) => {
7698
7698
  }, ee.value), X = (j) => {
7699
7699
  ks(t.modelValue, j) || e($u, j);
7700
7700
  }, pe = (j) => Gb(j, (we) => !o.disabledOptions.has(we)), re = (j) => {
7701
- if (t.multiple && j.code !== Lt.delete && j.target.value.length <= 0) {
7701
+ if (t.multiple && j.code !== It.delete && j.target.value.length <= 0) {
7702
7702
  const we = An(t.modelValue).slice(), We = pe(we);
7703
7703
  if (We < 0)
7704
7704
  return;
@@ -7707,14 +7707,14 @@ const Qk = 11, Jk = (t, e) => {
7707
7707
  }
7708
7708
  }, he = (j, we) => {
7709
7709
  const We = o.selected.indexOf(we);
7710
- if (We > -1 && !I.value) {
7710
+ if (We > -1 && !L.value) {
7711
7711
  const at = An(t.modelValue).slice();
7712
7712
  at.splice(We, 1), e(Vt, at), X(at), e("remove-tag", we.value);
7713
7713
  }
7714
7714
  j.stopPropagation(), kt();
7715
7715
  }, Fe = (j) => {
7716
7716
  j.stopPropagation();
7717
- const we = t.multiple ? [] : L.value;
7717
+ const we = t.multiple ? [] : I.value;
7718
7718
  if (t.multiple)
7719
7719
  for (const We of o.selected)
7720
7720
  We.isDisabled && we.push(We.value);
@@ -7737,10 +7737,10 @@ const Qk = 11, Jk = (t, e) => {
7737
7737
  return j.some((Gr, Sn) => bs(dn(Gr, We)) === dn(we, We) ? (at = Sn, !0) : !1), at;
7738
7738
  }, Re = (j) => {
7739
7739
  var we, We, at, Gr, Sn;
7740
- const La = fr(j) ? j[0] : j;
7740
+ const Ia = fr(j) ? j[0] : j;
7741
7741
  let on = null;
7742
- if (La != null && La.value) {
7743
- const Cr = ne.value.filter((Tn) => Tn.value === La.value);
7742
+ if (Ia != null && Ia.value) {
7743
+ const Cr = ne.value.filter((Tn) => Tn.value === Ia.value);
7744
7744
  Cr.length > 0 && (on = Cr[0].$el);
7745
7745
  }
7746
7746
  if (u.value && on) {
@@ -7750,7 +7750,7 @@ const Qk = 11, Jk = (t, e) => {
7750
7750
  (Sn = y.value) == null || Sn.handleScroll();
7751
7751
  }, Te = (j) => {
7752
7752
  o.options.set(j.value, j), o.cachedOptions.set(j.value, j), j.disabled && o.disabledOptions.set(j.value, j);
7753
- }, Le = (j, we) => {
7753
+ }, Ie = (j, we) => {
7754
7754
  o.options.get(j) === we && o.options.delete(j);
7755
7755
  }, ut = V(() => {
7756
7756
  var j, we;
@@ -7770,7 +7770,7 @@ const Qk = 11, Jk = (t, e) => {
7770
7770
  }, Pt = () => {
7771
7771
  o.inputValue.length > 0 ? o.inputValue = "" : k.value = !1;
7772
7772
  }, Bt = () => {
7773
- I.value || (jl && (o.inputHovering = !0), o.menuVisibleOnFocus ? o.menuVisibleOnFocus = !1 : k.value = !k.value);
7773
+ L.value || (jl && (o.inputHovering = !0), o.menuVisibleOnFocus ? o.menuVisibleOnFocus = !1 : k.value = !k.value);
7774
7774
  }, gr = () => {
7775
7775
  k.value ? ne.value[o.hoveringIndex] && Me(ne.value[o.hoveringIndex]) : Bt();
7776
7776
  }, Xt = (j) => Kt(j.value) ? dn(j.value, t.valueKey) : j.value, Qt = V(() => ne.value.filter((j) => j.visible).every((j) => j.disabled)), wr = V(() => t.multiple ? t.collapseTags ? o.selected.slice(0, t.maxCollapseTags) : o.selected : []), Pr = V(() => t.multiple ? t.collapseTags ? o.selected.slice(t.maxCollapseTags) : [] : []), ur = (j) => {
@@ -7831,13 +7831,13 @@ const Qk = 11, Jk = (t, e) => {
7831
7831
  updateOptions: R,
7832
7832
  collapseTagSize: J,
7833
7833
  setSelected: xe,
7834
- selectDisabled: I,
7834
+ selectDisabled: L,
7835
7835
  emptyText: se,
7836
7836
  handleCompositionStart: w,
7837
7837
  handleCompositionUpdate: C,
7838
7838
  handleCompositionEnd: E,
7839
7839
  onOptionCreate: Te,
7840
- onOptionDestroy: Le,
7840
+ onOptionDestroy: Ie,
7841
7841
  handleMenuEnter: nt,
7842
7842
  focus: kt,
7843
7843
  blur: St,
@@ -8028,7 +8028,7 @@ const tS = rt({
8028
8028
  }
8029
8029
  });
8030
8030
  function nS(t, e, r, n, a, i) {
8031
- const o = Jt("el-tag"), s = Jt("el-tooltip"), l = Jt("el-icon"), u = Jt("el-option"), c = Jt("el-options"), d = Jt("el-scrollbar"), v = Jt("el-select-menu"), h = Im("click-outside");
8031
+ const o = Jt("el-tag"), s = Jt("el-tooltip"), l = Jt("el-icon"), u = Jt("el-option"), c = Jt("el-options"), d = Jt("el-scrollbar"), v = Jt("el-select-menu"), h = Lm("click-outside");
8032
8032
  return Ze((B(), W("div", {
8033
8033
  ref: "selectRef",
8034
8034
  class: ie([t.nsSelect.b(), t.nsSelect.m(t.selectSize)]),
@@ -8073,7 +8073,7 @@ function nS(t, e, r, n, a, i) {
8073
8073
  ref: "prefixRef",
8074
8074
  class: ie(t.nsSelect.e("prefix"))
8075
8075
  }, [
8076
- Ie(t.$slots, "prefix")
8076
+ Le(t.$slots, "prefix")
8077
8077
  ], 2)) : de("v-if", !0),
8078
8078
  G("div", {
8079
8079
  ref: "selectionRef",
@@ -8082,8 +8082,8 @@ function nS(t, e, r, n, a, i) {
8082
8082
  t.nsSelect.is("near", t.multiple && !t.$slots.prefix && !!t.states.selected.length)
8083
8083
  ])
8084
8084
  }, [
8085
- t.multiple ? Ie(t.$slots, "tag", { key: 0 }, () => [
8086
- (B(!0), W(Ye, null, It(t.showTagList, (p) => (B(), W("div", {
8085
+ t.multiple ? Le(t.$slots, "tag", { key: 0 }, () => [
8086
+ (B(!0), W(Ye, null, Lt(t.showTagList, (p) => (B(), W("div", {
8087
8087
  key: t.getValueKey(p),
8088
8088
  class: ie(t.nsSelect.e("selected-item"))
8089
8089
  }, [
@@ -8100,7 +8100,7 @@ function nS(t, e, r, n, a, i) {
8100
8100
  G("span", {
8101
8101
  class: ie(t.nsSelect.e("tags-text"))
8102
8102
  }, [
8103
- Ie(t.$slots, "label", {
8103
+ Le(t.$slots, "label", {
8104
8104
  label: p.currentLabel,
8105
8105
  value: p.value
8106
8106
  }, () => [
@@ -8147,7 +8147,7 @@ function nS(t, e, r, n, a, i) {
8147
8147
  ref: "tagMenuRef",
8148
8148
  class: ie(t.nsSelect.e("selection"))
8149
8149
  }, [
8150
- (B(!0), W(Ye, null, It(t.collapseTagList, (p) => (B(), W("div", {
8150
+ (B(!0), W(Ye, null, Lt(t.collapseTagList, (p) => (B(), W("div", {
8151
8151
  key: t.getValueKey(p),
8152
8152
  class: ie(t.nsSelect.e("selected-item"))
8153
8153
  }, [
@@ -8164,7 +8164,7 @@ function nS(t, e, r, n, a, i) {
8164
8164
  G("span", {
8165
8165
  class: ie(t.nsSelect.e("tags-text"))
8166
8166
  }, [
8167
- Ie(t.$slots, "label", {
8167
+ Le(t.$slots, "label", {
8168
8168
  label: p.currentLabel,
8169
8169
  value: p.value
8170
8170
  }, () => [
@@ -8238,7 +8238,7 @@ function nS(t, e, r, n, a, i) {
8238
8238
  t.nsSelect.is("transparent", !t.hasModelValue || t.expanded && !t.states.inputValue)
8239
8239
  ])
8240
8240
  }, [
8241
- t.hasModelValue ? Ie(t.$slots, "label", {
8241
+ t.hasModelValue ? Le(t.$slots, "label", {
8242
8242
  key: 0,
8243
8243
  label: t.currentPlaceholder,
8244
8244
  value: t.modelValue
@@ -8296,7 +8296,7 @@ function nS(t, e, r, n, a, i) {
8296
8296
  onClick: ht(() => {
8297
8297
  }, ["stop"])
8298
8298
  }, [
8299
- Ie(t.$slots, "header")
8299
+ Le(t.$slots, "header")
8300
8300
  ], 10, ["onClick"])) : de("v-if", !0),
8301
8301
  Ze(Z(d, {
8302
8302
  id: t.contentId,
@@ -8317,7 +8317,7 @@ function nS(t, e, r, n, a, i) {
8317
8317
  }, null, 8, ["value"])) : de("v-if", !0),
8318
8318
  Z(c, null, {
8319
8319
  default: q(() => [
8320
- Ie(t.$slots, "default")
8320
+ Le(t.$slots, "default")
8321
8321
  ]),
8322
8322
  _: 3
8323
8323
  })
@@ -8330,12 +8330,12 @@ function nS(t, e, r, n, a, i) {
8330
8330
  key: 1,
8331
8331
  class: ie(t.nsSelect.be("dropdown", "loading"))
8332
8332
  }, [
8333
- Ie(t.$slots, "loading")
8333
+ Le(t.$slots, "loading")
8334
8334
  ], 2)) : t.loading || t.filteredOptionsCount === 0 ? (B(), W("div", {
8335
8335
  key: 2,
8336
8336
  class: ie(t.nsSelect.be("dropdown", "empty"))
8337
8337
  }, [
8338
- Ie(t.$slots, "empty", {}, () => [
8338
+ Le(t.$slots, "empty", {}, () => [
8339
8339
  G("span", null, De(t.emptyText), 1)
8340
8340
  ])
8341
8341
  ], 2)) : de("v-if", !0),
@@ -8345,7 +8345,7 @@ function nS(t, e, r, n, a, i) {
8345
8345
  onClick: ht(() => {
8346
8346
  }, ["stop"])
8347
8347
  }, [
8348
- Ie(t.$slots, "footer")
8348
+ Le(t.$slots, "footer")
8349
8349
  ], 10, ["onClick"])) : de("v-if", !0)
8350
8350
  ]),
8351
8351
  _: 3
@@ -8407,7 +8407,7 @@ function oS(t, e, r, n, a, i) {
8407
8407
  G("ul", {
8408
8408
  class: ie(t.ns.b("group"))
8409
8409
  }, [
8410
- Ie(t.$slots, "default")
8410
+ Le(t.$slots, "default")
8411
8411
  ], 2)
8412
8412
  ])
8413
8413
  ], 2)), [
@@ -8545,12 +8545,12 @@ const uS = rt({
8545
8545
  class: ie(P(i).e("title")),
8546
8546
  role: "title"
8547
8547
  }, De(m.title), 3)) : de("v-if", !0),
8548
- Ie(m.$slots, "default", {}, () => [
8548
+ Le(m.$slots, "default", {}, () => [
8549
8549
  Be(De(m.content), 1)
8550
8550
  ])
8551
8551
  ]),
8552
8552
  default: q(() => [
8553
- m.$slots.reference ? Ie(m.$slots, "reference", { key: 0 }) : de("v-if", !0)
8553
+ m.$slots.reference ? Le(m.$slots, "reference", { key: 0 }) : de("v-if", !0)
8554
8554
  ]),
8555
8555
  _: 3
8556
8556
  }, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]));
@@ -9036,7 +9036,7 @@ const wS = fe({
9036
9036
  const e = He("tree"), r = Ue("NodeInstance"), n = Ue("RootTree");
9037
9037
  return () => {
9038
9038
  const a = t.node, { data: i, store: o } = a;
9039
- return t.renderContent ? t.renderContent(ia, { _self: r, node: a, data: i, store: o }) : Ie(n.ctx.slots, "default", { node: a, data: i }, () => [
9039
+ return t.renderContent ? t.renderContent(ia, { _self: r, node: a, data: i, store: o }) : Le(n.ctx.slots, "default", { node: a, data: i }, () => [
9040
9040
  ia("span", { class: e.be("node", "label") }, [a.label])
9041
9041
  ]);
9042
9042
  };
@@ -9302,7 +9302,7 @@ function kS(t, e, r, n, a, i) {
9302
9302
  role: "group",
9303
9303
  "aria-expanded": t.expanded
9304
9304
  }, [
9305
- (B(!0), W(Ye, null, It(t.node.childNodes, (v) => (B(), ye(c, {
9305
+ (B(!0), W(Ye, null, Lt(t.node.childNodes, (v) => (B(), ye(c, {
9306
9306
  key: t.getNodeKey(v),
9307
9307
  "render-content": t.renderContent,
9308
9308
  "render-after-expand": t.renderAfterExpand,
@@ -9341,8 +9341,8 @@ function TS({ el$: t }, e) {
9341
9341
  n.value = Array.from(t.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`));
9342
9342
  const c = n.value.indexOf(l);
9343
9343
  let d;
9344
- if ([Lt.up, Lt.down].includes(u)) {
9345
- if (s.preventDefault(), u === Lt.up) {
9344
+ if ([It.up, It.down].includes(u)) {
9345
+ if (s.preventDefault(), u === It.up) {
9346
9346
  d = c === -1 ? 0 : c !== 0 ? c - 1 : n.value.length - 1;
9347
9347
  const h = d;
9348
9348
  for (; !e.value.getNode(n.value[d].dataset.key).canFocus; ) {
@@ -9365,9 +9365,9 @@ function TS({ el$: t }, e) {
9365
9365
  }
9366
9366
  d !== -1 && n.value[d].focus();
9367
9367
  }
9368
- [Lt.left, Lt.right].includes(u) && (s.preventDefault(), l.click());
9368
+ [It.left, It.right].includes(u) && (s.preventDefault(), l.click());
9369
9369
  const v = l.querySelector('[type="checkbox"]');
9370
- [Lt.enter, Lt.space].includes(u) && v && (s.preventDefault(), v.click());
9370
+ [It.enter, It.space].includes(u) && v && (s.preventDefault(), v.click());
9371
9371
  });
9372
9372
  const o = () => {
9373
9373
  var s;
@@ -9553,11 +9553,11 @@ const _S = fe({
9553
9553
  i.value.remove(F);
9554
9554
  }, A = (F, $) => {
9555
9555
  i.value.append(F, $);
9556
- }, L = (F, $) => {
9556
+ }, I = (F, $) => {
9557
9557
  i.value.insertBefore(F, $);
9558
9558
  }, N = (F, $) => {
9559
9559
  i.value.insertAfter(F, $);
9560
- }, I = (F, $, U) => {
9560
+ }, L = (F, $, U) => {
9561
9561
  c($), e.emit("node-expand", F, $, U);
9562
9562
  }, M = (F, $) => {
9563
9563
  if (!t.nodeKey)
@@ -9598,9 +9598,9 @@ const _S = fe({
9598
9598
  getNode: D,
9599
9599
  remove: O,
9600
9600
  append: A,
9601
- insertBefore: L,
9601
+ insertBefore: I,
9602
9602
  insertAfter: N,
9603
- handleNodeExpand: I,
9603
+ handleNodeExpand: L,
9604
9604
  updateKeyChildren: M
9605
9605
  };
9606
9606
  }
@@ -9618,7 +9618,7 @@ function DS(t, e, r, n, a, i) {
9618
9618
  ]),
9619
9619
  role: "tree"
9620
9620
  }, [
9621
- (B(!0), W(Ye, null, It(t.root.childNodes, (s) => (B(), ye(o, {
9621
+ (B(!0), W(Ye, null, Lt(t.root.childNodes, (s) => (B(), ye(o, {
9622
9622
  key: t.getNodeKey(s),
9623
9623
  node: s,
9624
9624
  props: t.props,
@@ -9632,7 +9632,7 @@ function DS(t, e, r, n, a, i) {
9632
9632
  key: 0,
9633
9633
  class: ie(t.ns.e("empty-block"))
9634
9634
  }, [
9635
- Ie(t.$slots, "empty", {}, () => {
9635
+ Le(t.$slots, "empty", {}, () => {
9636
9636
  var s;
9637
9637
  return [
9638
9638
  G("span", {
@@ -9651,7 +9651,7 @@ function DS(t, e, r, n, a, i) {
9651
9651
  }
9652
9652
  var PS = /* @__PURE__ */ Ve(_S, [["render", DS], ["__file", "tree.vue"]]);
9653
9653
  const OS = $t(PS);
9654
- function LS(t) {
9654
+ function IS(t) {
9655
9655
  let e;
9656
9656
  const r = ce(!1), n = Qr({
9657
9657
  ...t,
@@ -9742,13 +9742,13 @@ function LS(t) {
9742
9742
  };
9743
9743
  }
9744
9744
  let Uo;
9745
- const IS = function(t = {}) {
9745
+ const LS = function(t = {}) {
9746
9746
  if (!_t)
9747
9747
  return;
9748
9748
  const e = AS(t);
9749
9749
  if (e.fullscreen && Uo)
9750
9750
  return Uo;
9751
- const r = LS({
9751
+ const r = IS({
9752
9752
  ...e,
9753
9753
  closed: () => {
9754
9754
  var a;
@@ -9814,7 +9814,7 @@ const IS = function(t = {}) {
9814
9814
  };
9815
9815
  t[ls] = {
9816
9816
  options: d,
9817
- instance: IS(d)
9817
+ instance: LS(d)
9818
9818
  };
9819
9819
  }, MS = (t, e) => {
9820
9820
  for (const r of Object.keys(e))
@@ -9979,6 +9979,9 @@ const Gh = /* @__PURE__ */ Ur($S, [["render", VS], ["__scopeId", "data-v-08b3bab
9979
9979
  },
9980
9980
  updatedCopyContent: function() {
9981
9981
  return this.getUpdateCopyContent();
9982
+ },
9983
+ offlineAnnotate: function() {
9984
+ return this.annotationEntry.offline;
9982
9985
  }
9983
9986
  },
9984
9987
  methods: {
@@ -10017,7 +10020,10 @@ const Gh = /* @__PURE__ */ Ur($S, [["render", VS], ["__scopeId", "data-v-08b3bab
10017
10020
  },
10018
10021
  updatePrevSubmissions: function() {
10019
10022
  var t;
10020
- this.$annotator && this.authenticated && this.annotationEntry.resourceId && this.annotationEntry.featureId && ((t = this.$annotator) == null || t.itemAnnotations(
10023
+ if (this.offlineAnnotate) {
10024
+ const e = JSON.parse(sessionStorage.getItem("offline-annotation")) || [];
10025
+ this.prevSubs = e.filter((r) => r.resource === this.annotationEntry.resourceId && r.item.id === this.annotationEntry.featureId);
10026
+ } else this.$annotator && this.authenticated && this.annotationEntry.resourceId && this.annotationEntry.featureId && ((t = this.$annotator) == null || t.itemAnnotations(
10021
10027
  this.userApiKey,
10022
10028
  this.annotationEntry.resourceId,
10023
10029
  this.annotationEntry.featureId
@@ -10061,10 +10067,10 @@ const Gh = /* @__PURE__ */ Ur($S, [["render", VS], ["__scopeId", "data-v-08b3bab
10061
10067
  feature: this.annotationEntry.feature
10062
10068
  };
10063
10069
  Object.assign(r.body, this.annotationEntry.body), this.annotationEntry.type === "deleted" && (r.feature = void 0), this.creator && (r.creator = this.creator), (t = this.$annotator) == null || t.addAnnotation(this.userApiKey, r).then(() => {
10064
- this.$emit("annotation", r), this.errorMessage = "", this.resetSubmission(), this.updatePrevSubmissions();
10070
+ this.errorMessage = "", this.resetSubmission(), this.updatePrevSubmissions();
10065
10071
  }).catch(() => {
10066
10072
  this.errorMessage = "There is a problem with the submission, please try again later";
10067
- });
10073
+ }), this.$emit("annotation", r);
10068
10074
  }
10069
10075
  },
10070
10076
  removeEvidence: function(t) {
@@ -10081,10 +10087,10 @@ const Gh = /* @__PURE__ */ Ur($S, [["render", VS], ["__scopeId", "data-v-08b3bab
10081
10087
  let e = `<div><strong>Annotations:</strong></div>
10082
10088
  <br>`;
10083
10089
  this.prevSubs.map((r, n) => {
10084
- if (e += `<div><strong>Created:</strong>${this.formatTime(r.created)}</div>
10090
+ if (r.creator && (e += `<div><strong>Created:</strong>${this.formatTime(r.created)}</div>
10085
10091
  <br>`, e += `<div><strong>Creator:</strong>${r.creator.name}</div>
10086
10092
  <br>`, e += `<div><strong>Email:</strong>${r.creator.email}</div>
10087
- <br>`, r.body.evidence.length) {
10093
+ <br>`), r.body.evidence.length) {
10088
10094
  let a = "";
10089
10095
  r.body.evidence.forEach((i, o) => {
10090
10096
  a += `${typeof i == "object" ? Object.values(i)[0] : i}`, o !== r.body.evidence.length - 1 && (a += ", ");
@@ -10112,10 +10118,10 @@ const Gh = /* @__PURE__ */ Ur($S, [["render", VS], ["__scopeId", "data-v-08b3bab
10112
10118
  mounted: function() {
10113
10119
  var t;
10114
10120
  (t = this.$annotator) == null || t.authenticate(this.userApiKey).then((e) => {
10115
- e.name && e.email && e.canUpdate ? (this.creator = e, e.orcid || (this.creator.orcid = "0000-0000-0000-0000"), this.authenticated = !0, this.updatePrevSubmissions()) : this.errorMessage = "";
10121
+ e.name && e.email && e.canUpdate ? (this.creator = e, e.orcid || (this.creator.orcid = "0000-0000-0000-0000"), this.authenticated = !0) : this.errorMessage = "", this.updatePrevSubmissions();
10116
10122
  });
10117
10123
  }
10118
- }, _a = (t) => (di("data-v-56354500"), t = t(), fi(), t), KS = { class: "block" }, qS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("div", { class: "title" }, "Feature Annotations", -1)), US = { class: "title-buttons" }, GS = { key: 0 }, WS = ["href"], YS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", { class: "sub-title" }, "Previous submissions:", -1)), jS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Evidence: ", -1)), ZS = ["href"], XS = { key: 1 }, QS = { key: 2 }, JS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Comment: ", -1)), eT = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", { class: "sub-title" }, "Suggest changes:", -1)), tT = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Evidence:", -1)), rT = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Comment:", -1)), nT = { class: "sub-title" };
10124
+ }, _a = (t) => (di("data-v-031f7567"), t = t(), fi(), t), KS = { class: "block" }, qS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("div", { class: "title" }, "Feature Annotations", -1)), US = { class: "title-buttons" }, GS = { key: 0 }, WS = ["href"], YS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", { class: "sub-title" }, "Previous submissions:", -1)), jS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Evidence: ", -1)), ZS = ["href"], XS = { key: 1 }, QS = { key: 2 }, JS = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Comment: ", -1)), eT = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", { class: "sub-title" }, "Suggest changes:", -1)), tT = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Evidence:", -1)), rT = /* @__PURE__ */ _a(() => /* @__PURE__ */ G("strong", null, "Comment:", -1)), nT = { class: "sub-title" };
10119
10125
  function aT(t, e, r, n, a, i) {
10120
10126
  const o = Gh, s = Js, l = qv, u = Ht, c = Ws, d = m2, v = p2, h = b2, f = So, p = Ts, m = lS, g = sS, y = Eo, b = Hr, w = nc;
10121
10127
  return B(), ye(w, { class: "main" }, {
@@ -10131,7 +10137,7 @@ function aT(t, e, r, n, a, i) {
10131
10137
  _: 1
10132
10138
  }),
10133
10139
  r.annotationEntry ? (B(), W(Ye, { key: 0 }, [
10134
- (B(!0), W(Ye, null, It(t.displayPair, (C, E) => Ze((B(), ye(s, {
10140
+ (B(!0), W(Ye, null, Lt(t.displayPair, (C, E) => Ze((B(), ye(s, {
10135
10141
  class: "dialog-text",
10136
10142
  key: C
10137
10143
  }, {
@@ -10185,21 +10191,24 @@ function aT(t, e, r, n, a, i) {
10185
10191
  ]),
10186
10192
  _: 1
10187
10193
  }),
10188
- (B(!0), W(Ye, null, It(t.prevSubs, (C, E) => (B(), W("div", {
10194
+ (B(!0), W(Ye, null, Lt(t.prevSubs, (C, E) => (B(), W("div", {
10189
10195
  class: "entry",
10190
10196
  key: E
10191
10197
  }, [
10192
- Z(s, { class: "dialog-text" }, {
10198
+ C.creator ? (B(), ye(s, {
10199
+ key: 0,
10200
+ class: "dialog-text"
10201
+ }, {
10193
10202
  default: q(() => [
10194
10203
  G("strong", null, De(i.formatTime(C.created)), 1),
10195
10204
  Be(" " + De(C.creator.name), 1)
10196
10205
  ]),
10197
10206
  _: 2
10198
- }, 1024),
10207
+ }, 1024)) : de("", !0),
10199
10208
  Z(s, { class: "dialog-text" }, {
10200
10209
  default: q(() => [
10201
10210
  jS,
10202
- (B(!0), W(Ye, null, It(i.processEvidences(C), (x, T) => (B(), ye(s, {
10211
+ (B(!0), W(Ye, null, Lt(i.processEvidences(C), (x, T) => (B(), ye(s, {
10203
10212
  key: x,
10204
10213
  class: "dialog-text"
10205
10214
  }, {
@@ -10226,7 +10235,7 @@ function aT(t, e, r, n, a, i) {
10226
10235
  ]))), 128))
10227
10236
  ], 64)) : de("", !0)
10228
10237
  ], 64)) : de("", !0),
10229
- t.authenticated ? (B(), W(Ye, { key: 1 }, [
10238
+ t.authenticated || i.offlineAnnotate ? (B(), W(Ye, { key: 1 }, [
10230
10239
  i.isEditable ? (B(), W(Ye, { key: 0 }, [
10231
10240
  Z(s, { class: "dialog-spacer" }),
10232
10241
  t.editing ? (B(), W(Ye, { key: 1 }, [
@@ -10243,7 +10252,7 @@ function aT(t, e, r, n, a, i) {
10243
10252
  ]),
10244
10253
  _: 1
10245
10254
  }),
10246
- (B(!0), W(Ye, null, It(t.evidence, (C, E) => (B(), ye(s, { key: C }, {
10255
+ (B(!0), W(Ye, null, Lt(t.evidence, (C, E) => (B(), ye(s, { key: C }, {
10247
10256
  default: q(() => [
10248
10257
  Z(f, { span: 20 }, {
10249
10258
  default: q(() => [
@@ -10286,7 +10295,7 @@ function aT(t, e, r, n, a, i) {
10286
10295
  "popper-class": "flatmap_dropdown"
10287
10296
  }, {
10288
10297
  default: q(() => [
10289
- (B(!0), W(Ye, null, It(t.evidencePrefixes, (C) => (B(), ye(m, {
10298
+ (B(!0), W(Ye, null, Lt(t.evidencePrefixes, (C) => (B(), ye(m, {
10290
10299
  key: C.label,
10291
10300
  value: C.value
10292
10301
  }, {
@@ -10396,7 +10405,7 @@ function aT(t, e, r, n, a, i) {
10396
10405
  _: 1
10397
10406
  });
10398
10407
  }
10399
- const iT = /* @__PURE__ */ Ur(HS, [["render", aT], ["__scopeId", "data-v-56354500"]]), oT = {
10408
+ const iT = /* @__PURE__ */ Ur(HS, [["render", aT], ["__scopeId", "data-v-031f7567"]]), oT = {
10400
10409
  name: "CreateTooltipContent",
10401
10410
  components: {
10402
10411
  Button: Hr,
@@ -10480,7 +10489,7 @@ function uT(t, e, r, n, a, i) {
10480
10489
  span: 16
10481
10490
  }, {
10482
10491
  default: q(() => [
10483
- (B(!0), W(Ye, null, It(r.createData.points, ({ value: h, i: f }) => (B(), ye(l, {
10492
+ (B(!0), W(Ye, null, Lt(r.createData.points, ({ value: h, i: f }) => (B(), ye(l, {
10484
10493
  key: f,
10485
10494
  class: "value"
10486
10495
  }, {
@@ -10809,12 +10818,12 @@ var hT = Ft(""), Zh = Ft({}), pT = Ft(function() {
10809
10818
  }
10810
10819
  }
10811
10820
  return t;
10812
- }, LT = function(e) {
10821
+ }, IT = function(e) {
10813
10822
  if (!(!(e.length === 4 || e.length === 7) || e[0] !== "#")) {
10814
10823
  var r = e.length === 4, n, a, i, o = 16;
10815
10824
  return r ? (n = parseInt(e[1] + e[1], o), a = parseInt(e[2] + e[2], o), i = parseInt(e[3] + e[3], o)) : (n = parseInt(e[1] + e[2], o), a = parseInt(e[3] + e[4], o), i = parseInt(e[5] + e[6], o)), [n, a, i];
10816
10825
  }
10817
- }, IT = function(e) {
10826
+ }, LT = function(e) {
10818
10827
  var r, n, a, i, o, s, l, u;
10819
10828
  function c(f, p, m) {
10820
10829
  return m < 0 && (m += 1), m > 1 && (m -= 1), m < 1 / 6 ? f + (p - f) * 6 * m : m < 1 / 2 ? p : m < 2 / 3 ? f + (p - f) * (2 / 3 - m) * 6 : f;
@@ -10856,7 +10865,7 @@ var hT = Ft(""), Zh = Ft({}), pT = Ft(function() {
10856
10865
  }, FT = function(e) {
10857
10866
  return BT[e.toLowerCase()];
10858
10867
  }, MT = function(e) {
10859
- return (st(e) ? e : null) || FT(e) || LT(e) || AT(e) || IT(e);
10868
+ return (st(e) ? e : null) || FT(e) || IT(e) || AT(e) || LT(e);
10860
10869
  }, BT = {
10861
10870
  // special colour names
10862
10871
  transparent: [0, 0, 0, 0],
@@ -11046,16 +11055,16 @@ var GT = UT, WT = /^\s+/;
11046
11055
  function YT(t) {
11047
11056
  return t && t.slice(0, GT(t) + 1).replace(WT, "");
11048
11057
  }
11049
- var jT = YT, ZT = rl.Symbol, oi = ZT, np = Object.prototype, XT = np.hasOwnProperty, QT = np.toString, Ii = oi ? oi.toStringTag : void 0;
11058
+ var jT = YT, ZT = rl.Symbol, oi = ZT, np = Object.prototype, XT = np.hasOwnProperty, QT = np.toString, Li = oi ? oi.toStringTag : void 0;
11050
11059
  function JT(t) {
11051
- var e = XT.call(t, Ii), r = t[Ii];
11060
+ var e = XT.call(t, Li), r = t[Li];
11052
11061
  try {
11053
- t[Ii] = void 0;
11062
+ t[Li] = void 0;
11054
11063
  var n = !0;
11055
11064
  } catch {
11056
11065
  }
11057
11066
  var a = QT.call(t);
11058
- return n && (e ? t[Ii] = r : delete t[Ii]), a;
11067
+ return n && (e ? t[Li] = r : delete t[Li]), a;
11059
11068
  }
11060
11069
  var e5 = JT, t5 = Object.prototype, r5 = t5.toString;
11061
11070
  function n5(t) {
@@ -11213,7 +11222,7 @@ var nl = w5, Bl = Ot ? Ot.performance : null, ip = Bl && Bl.now ? function() {
11213
11222
  return r;
11214
11223
  }, uf = !0, S5 = console.warn != null, T5 = console.trace != null, dc = Number.MAX_SAFE_INTEGER || 9007199254740991, up = function() {
11215
11224
  return !0;
11216
- }, Ls = function() {
11225
+ }, Is = function() {
11217
11226
  return !1;
11218
11227
  }, cf = function() {
11219
11228
  return 0;
@@ -11275,7 +11284,7 @@ var nl = w5, Bl = Ot ? Ot.performance : null, ip = Bl && Bl.now ? function() {
11275
11284
  return n && (r = Jh(n, r)), e[r];
11276
11285
  }, Fn = function(e, r, n, a) {
11277
11286
  n && (r = Jh(n, r)), e[r] = a;
11278
- }, L5 = /* @__PURE__ */ function() {
11287
+ }, I5 = /* @__PURE__ */ function() {
11279
11288
  function t() {
11280
11289
  sc(this, t), this._obj = {};
11281
11290
  }
@@ -11305,7 +11314,7 @@ var nl = w5, Bl = Ot ? Ot.performance : null, ip = Bl && Bl.now ? function() {
11305
11314
  return this._obj[r];
11306
11315
  }
11307
11316
  }]), t;
11308
- }(), Zr = typeof Map < "u" ? Map : L5, I5 = "undefined", A5 = /* @__PURE__ */ function() {
11317
+ }(), Zr = typeof Map < "u" ? Map : I5, L5 = "undefined", A5 = /* @__PURE__ */ function() {
11309
11318
  function t(e) {
11310
11319
  if (sc(this, t), this._obj = /* @__PURE__ */ Object.create(null), this.size = 0, e != null) {
11311
11320
  var r;
@@ -11355,7 +11364,7 @@ var nl = w5, Bl = Ot ? Ot.performance : null, ip = Bl && Bl.now ? function() {
11355
11364
  return this.toArray().forEach(r, n);
11356
11365
  }
11357
11366
  }]), t;
11358
- }(), gi = (typeof Set > "u" ? "undefined" : Ft(Set)) !== I5 ? Set : A5, al = function(e, r) {
11367
+ }(), gi = (typeof Set > "u" ? "undefined" : Ft(Set)) !== L5 ? Set : A5, al = function(e, r) {
11359
11368
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
11360
11369
  if (e === void 0 || r === void 0 || !uc(e)) {
11361
11370
  yt("An element must have a core reference and parameters set");
@@ -11488,14 +11497,14 @@ var nl = w5, Bl = Ot ? Ot.performance : null, ip = Bl && Bl.now ? function() {
11488
11497
  w.isNode() && (u.unshift(w), e.bfs && (h[C] = !0, c.push(w)), v[C] = 0);
11489
11498
  }
11490
11499
  for (var E = function() {
11491
- var A = e.bfs ? u.shift() : u.pop(), L = A.id();
11500
+ var A = e.bfs ? u.shift() : u.pop(), I = A.id();
11492
11501
  if (e.dfs) {
11493
- if (h[L])
11502
+ if (h[I])
11494
11503
  return "continue";
11495
- h[L] = !0, c.push(A);
11504
+ h[I] = !0, c.push(A);
11496
11505
  }
11497
- var N = v[L], I = d[L], M = I != null ? I.source() : null, F = I != null ? I.target() : null, $ = I == null ? void 0 : A.same(M) ? F[0] : M[0], U = void 0;
11498
- if (U = a(A, I, $, f++, N), U === !0)
11506
+ var N = v[I], L = d[I], M = L != null ? L.source() : null, F = L != null ? L.target() : null, $ = L == null ? void 0 : A.same(M) ? F[0] : M[0], U = void 0;
11507
+ if (U = a(A, L, $, f++, N), U === !0)
11499
11508
  return p = A, "break";
11500
11509
  if (U === !1)
11501
11510
  return "break";
@@ -11505,7 +11514,7 @@ var nl = w5, Bl = Ot ? Ot.performance : null, ip = Bl && Bl.now ? function() {
11505
11514
  var ee = H[K], se = ee.connectedNodes().filter(function(ne) {
11506
11515
  return !ne.same(A) && g.has(ne);
11507
11516
  }), oe = se.id();
11508
- se.length !== 0 && !h[oe] && (se = se[0], u.push(se), e.bfs && (h[oe] = !0, c.push(se)), d[oe] = ee, v[oe] = v[L] + 1);
11517
+ se.length !== 0 && !h[oe] && (se = se[0], u.push(se), e.bfs && (h[oe] = !0, c.push(se)), d[oe] = ee, v[oe] = v[I] + 1);
11509
11518
  }
11510
11519
  }; u.length !== 0; ) {
11511
11520
  var x = E();
@@ -11661,18 +11670,18 @@ var F5 = RT(function(t, e) {
11661
11670
  p.unmergeBy(function(N) {
11662
11671
  return N.isLoop();
11663
11672
  });
11664
- for (var m = function(I) {
11665
- return c[I.id()];
11666
- }, g = function(I, M) {
11667
- c[I.id()] = M, y.updateItem(I);
11668
- }, y = new Oo(function(N, I) {
11669
- return m(N) - m(I);
11673
+ for (var m = function(L) {
11674
+ return c[L.id()];
11675
+ }, g = function(L, M) {
11676
+ c[L.id()] = M, y.updateItem(L);
11677
+ }, y = new Oo(function(N, L) {
11678
+ return m(N) - m(L);
11670
11679
  }), b = 0; b < f.length; b++) {
11671
11680
  var w = f[b];
11672
11681
  c[w.id()] = w.same(u) ? 0 : 1 / 0, y.push(w);
11673
11682
  }
11674
- for (var C = function(I, M) {
11675
- for (var F = (o ? I.edgesTo(M) : I.edgesWith(M)).intersect(p), $ = 1 / 0, U, H = 0; H < F.length; H++) {
11683
+ for (var C = function(L, M) {
11684
+ for (var F = (o ? L.edgesTo(M) : L.edgesWith(M)).intersect(p), $ = 1 / 0, U, H = 0; H < F.length; H++) {
11676
11685
  var K = F[H], ee = l(K);
11677
11686
  (ee < $ || !U) && ($ = ee, U = K);
11678
11687
  }
@@ -11684,20 +11693,20 @@ var F5 = RT(function(t, e) {
11684
11693
  var E = y.pop(), x = m(E), T = E.id();
11685
11694
  if (v[T] = x, x !== 1 / 0)
11686
11695
  for (var k = E.neighborhood().intersect(f), _ = 0; _ < k.length; _++) {
11687
- var D = k[_], O = D.id(), A = C(E, D), L = x + A.dist;
11688
- L < m(D) && (g(D, L), d[O] = {
11696
+ var D = k[_], O = D.id(), A = C(E, D), I = x + A.dist;
11697
+ I < m(D) && (g(D, I), d[O] = {
11689
11698
  node: E,
11690
11699
  edge: A.edge
11691
11700
  });
11692
11701
  }
11693
11702
  }
11694
11703
  return {
11695
- distanceTo: function(I) {
11696
- var M = Ae(I) ? f.filter(I)[0] : I[0];
11704
+ distanceTo: function(L) {
11705
+ var M = Ae(L) ? f.filter(L)[0] : L[0];
11697
11706
  return v[M.id()];
11698
11707
  },
11699
- pathTo: function(I) {
11700
- var M = Ae(I) ? f.filter(I)[0] : I[0], F = [], $ = M, U = $.id();
11708
+ pathTo: function(L) {
11709
+ var M = Ae(L) ? f.filter(L)[0] : L[0], F = [], $ = M, U = $.id();
11701
11710
  if (M.length > 0)
11702
11711
  for (F.unshift(M); d[U]; ) {
11703
11712
  var H = d[U];
@@ -11768,16 +11777,16 @@ var F5 = RT(function(t, e) {
11768
11777
  }
11769
11778
  h[w] = !0;
11770
11779
  for (var O = b._private.edges, A = 0; A < O.length; A++) {
11771
- var L = O[A];
11772
- if (this.hasElementWithId(L.id()) && !(s && L.data("source") !== w)) {
11773
- var N = L.source(), I = L.target(), M = N.id() !== w ? N : I, F = M.id();
11780
+ var I = O[A];
11781
+ if (this.hasElementWithId(I.id()) && !(s && I.data("source") !== w)) {
11782
+ var N = I.source(), L = I.target(), M = N.id() !== w ? N : L, F = M.id();
11774
11783
  if (this.hasElementWithId(F) && !h[F]) {
11775
- var $ = d[w] + l(L);
11784
+ var $ = d[w] + l(I);
11776
11785
  if (!E(F)) {
11777
- d[F] = $, v[F] = $ + o(M), y(M, F), m[F] = b, g[F] = L;
11786
+ d[F] = $, v[F] = $ + o(M), y(M, F), m[F] = b, g[F] = I;
11778
11787
  continue;
11779
11788
  }
11780
- $ < d[F] && (d[F] = $, v[F] = $ + o(M), m[F] = b, g[F] = L);
11789
+ $ < d[F] && (d[F] = $, v[F] = $ + o(M), m[F] = b, g[F] = I);
11781
11790
  }
11782
11791
  }
11783
11792
  }
@@ -11816,9 +11825,9 @@ var F5 = RT(function(t, e) {
11816
11825
  }
11817
11826
  }
11818
11827
  for (var A = 0; A < c; A++)
11819
- for (var L = 0; L < c; L++)
11820
- for (var N = L * c + A, I = 0; I < c; I++) {
11821
- var M = L * c + I, F = A * c + I;
11828
+ for (var I = 0; I < c; I++)
11829
+ for (var N = I * c + A, L = 0; L < c; L++) {
11830
+ var M = I * c + L, F = A * c + L;
11822
11831
  f[N] + f[F] < f[M] && (f[M] = f[N] + f[F], y[M] = y[N]);
11823
11832
  }
11824
11833
  var $ = function(ee) {
@@ -11885,8 +11894,8 @@ var F5 = RT(function(t, e) {
11885
11894
  }, D = 1; D < h; D++) {
11886
11895
  k = !1;
11887
11896
  for (var O = 0; O < g; O++) {
11888
- var A = d[O], L = A.source(), N = A.target(), I = s(A), M = y(L), F = y(N);
11889
- _(L, N, A, M, F, I), i || _(N, L, A, F, M, I);
11897
+ var A = d[O], I = A.source(), N = A.target(), L = s(A), M = y(I), F = y(N);
11898
+ _(I, N, A, M, F, L), i || _(N, I, A, F, M, L);
11890
11899
  }
11891
11900
  if (!k)
11892
11901
  break;
@@ -11973,8 +11982,8 @@ var F5 = RT(function(t, e) {
11973
11982
  for (var T = this.spawn(h.map(function(F) {
11974
11983
  return a[F[0]];
11975
11984
  })), k = this.spawn(), _ = this.spawn(), D = f[0], O = 0; O < f.length; O++) {
11976
- var A = f[O], L = n[O];
11977
- A === D ? k.merge(L) : _.merge(L);
11985
+ var A = f[O], I = n[O];
11986
+ A === D ? k.merge(I) : _.merge(I);
11978
11987
  }
11979
11988
  var N = function($) {
11980
11989
  var U = e.spawn();
@@ -11983,9 +11992,9 @@ var F5 = RT(function(t, e) {
11983
11992
  e.contains(K) && !T.contains(K) && U.merge(K);
11984
11993
  });
11985
11994
  }), U;
11986
- }, I = [N(k), N(_)], M = {
11995
+ }, L = [N(k), N(_)], M = {
11987
11996
  cut: T,
11988
- components: I,
11997
+ components: L,
11989
11998
  // n.b. partitions are included to be compatible with the old api spec
11990
11999
  // (could be removed in a future major version)
11991
12000
  partition1: k,
@@ -12181,14 +12190,14 @@ var F5 = RT(function(t, e) {
12181
12190
  return f;
12182
12191
  }
12183
12192
  if (h) {
12184
- var D = n - c - s, O = a - d + u - s, A = D, L = a + d - u + s;
12185
- if (f = Nn(e, r, n, a, D, O, A, L, !1), f.length > 0)
12193
+ var D = n - c - s, O = a - d + u - s, A = D, I = a + d - u + s;
12194
+ if (f = Nn(e, r, n, a, D, O, A, I, !1), f.length > 0)
12186
12195
  return f;
12187
12196
  }
12188
12197
  var N;
12189
12198
  {
12190
- var I = n - c + u, M = a - d + u;
12191
- if (N = zi(e, r, n, a, I, M, u + s), N.length > 0 && N[0] <= I && N[1] <= M)
12199
+ var L = n - c + u, M = a - d + u;
12200
+ if (N = zi(e, r, n, a, L, M, u + s), N.length > 0 && N[0] <= L && N[1] <= M)
12192
12201
  return [N[0], N[1]];
12193
12202
  }
12194
12203
  {
@@ -12265,7 +12274,7 @@ var F5 = RT(function(t, e) {
12265
12274
  var p;
12266
12275
  if (u > 0) {
12267
12276
  var m = As(c, -u);
12268
- p = Is(m);
12277
+ p = Ls(m);
12269
12278
  } else
12270
12279
  p = c;
12271
12280
  return dr(e, r, p);
@@ -12278,7 +12287,7 @@ var F5 = RT(function(t, e) {
12278
12287
  return !0;
12279
12288
  }
12280
12289
  return dr(e, r, u);
12281
- }, Is = function(e) {
12290
+ }, Ls = function(e) {
12282
12291
  for (var r = new Array(e.length / 2), n, a, i, o, s, l, u, c, d = 0; d < e.length / 4; d++) {
12283
12292
  n = e[d * 4], a = e[d * 4 + 1], i = e[d * 4 + 2], o = e[d * 4 + 3], d < e.length / 4 - 1 ? (s = e[(d + 1) * 4], l = e[(d + 1) * 4 + 1], u = e[(d + 1) * 4 + 2], c = e[(d + 1) * 4 + 3]) : (s = e[0], l = e[1], u = e[2], c = e[3]);
12284
12293
  var v = Nn(n, a, i, o, s, l, u, c, !0);
@@ -12335,7 +12344,7 @@ var F5 = RT(function(t, e) {
12335
12344
  d[f * 2] = n[f * 2] * o + a, d[f * 2 + 1] = n[f * 2 + 1] * s + i;
12336
12345
  if (l > 0) {
12337
12346
  var p = As(d, -l);
12338
- h = Is(p);
12347
+ h = Ls(p);
12339
12348
  } else
12340
12349
  h = d;
12341
12350
  } else
@@ -12418,13 +12427,13 @@ var F5 = RT(function(t, e) {
12418
12427
  }
12419
12428
  for (var O = 1 / d + m, A = 0; A < d; A++)
12420
12429
  if (p[A] === 0)
12421
- for (var L = 0; L < d; L++) {
12422
- var N = L * d + A;
12430
+ for (var I = 0; I < d; I++) {
12431
+ var N = I * d + A;
12423
12432
  f[N] = O;
12424
12433
  }
12425
12434
  else
12426
- for (var I = 0; I < d; I++) {
12427
- var M = I * d + A;
12435
+ for (var L = 0; L < d; L++) {
12436
+ var M = L * d + A;
12428
12437
  f[M] = f[M] / p[A] + m;
12429
12438
  }
12430
12439
  for (var F = new Array(d), $ = new Array(d), U, H = 0; H < d; H++)
@@ -12600,10 +12609,10 @@ var y4 = Yt({
12600
12609
  var O = k.pop();
12601
12610
  if (C.push(O), i)
12602
12611
  for (var A = 0; A < l[O].length; A++) {
12603
- var L = l[O][A], N = o.getElementById(O), I = void 0;
12604
- N.edgesTo(L).length > 0 ? I = N.edgesTo(L)[0] : I = L.edgesTo(N)[0];
12605
- var M = a(I);
12606
- L = L.id(), T[L] > T[O] + M && (T[L] = T[O] + M, k.nodes.indexOf(L) < 0 ? k.push(L) : k.updateItem(L), x[L] = 0, E[L] = []), T[L] == T[O] + M && (x[L] = x[L] + x[O], E[L].push(O));
12612
+ var I = l[O][A], N = o.getElementById(O), L = void 0;
12613
+ N.edgesTo(I).length > 0 ? L = N.edgesTo(I)[0] : L = I.edgesTo(N)[0];
12614
+ var M = a(L);
12615
+ I = I.id(), T[I] > T[O] + M && (T[I] = T[O] + M, k.nodes.indexOf(I) < 0 ? k.push(I) : k.updateItem(I), x[I] = 0, E[I] = []), T[I] == T[O] + M && (x[I] = x[I] + x[O], E[I].push(O));
12607
12616
  }
12608
12617
  else
12609
12618
  for (var F = 0; F < l[O].length; F++) {
@@ -12729,7 +12738,7 @@ var b4 = Yt({
12729
12738
  }, O4 = {
12730
12739
  markovClustering: pf,
12731
12740
  mcl: pf
12732
- }, L4 = function(e) {
12741
+ }, I4 = function(e) {
12733
12742
  return e;
12734
12743
  }, Cp = function(e, r) {
12735
12744
  return Math.abs(r - e);
@@ -12737,17 +12746,17 @@ var b4 = Yt({
12737
12746
  return e + Cp(r, n);
12738
12747
  }, mf = function(e, r, n) {
12739
12748
  return e + Math.pow(n - r, 2);
12740
- }, I4 = function(e) {
12749
+ }, L4 = function(e) {
12741
12750
  return Math.sqrt(e);
12742
12751
  }, A4 = function(e, r, n) {
12743
12752
  return Math.max(e, Cp(r, n));
12744
12753
  }, Ai = function(e, r, n, a, i) {
12745
- for (var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : L4, s = a, l, u, c = 0; c < e; c++)
12754
+ for (var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : I4, s = a, l, u, c = 0; c < e; c++)
12746
12755
  l = r(c), u = n(c), s = i(s, l, u);
12747
12756
  return o(s);
12748
12757
  }, li = {
12749
12758
  euclidean: function(e, r, n) {
12750
- return e >= 2 ? Ai(e, r, n, 0, mf, I4) : Ai(e, r, n, 0, gf);
12759
+ return e >= 2 ? Ai(e, r, n, 0, mf, L4) : Ai(e, r, n, 0, gf);
12751
12760
  },
12752
12761
  squaredEuclidean: function(e, r, n) {
12753
12762
  return Ai(e, r, n, 0, mf);
@@ -13148,10 +13157,10 @@ var F4 = Yt({
13148
13157
  var k;
13149
13158
  for (k = 0; k < a.maxIterations; k++) {
13150
13159
  for (var _ = 0; _ < s; _++) {
13151
- for (var D = -1 / 0, O = -1 / 0, A = -1, L = 0, N = 0; N < s; N++)
13152
- b[N] = d[_ * s + N], L = v[_ * s + N] + u[_ * s + N], L >= D ? (O = D, D = L, A = N) : L > O && (O = L);
13153
- for (var I = 0; I < s; I++)
13154
- d[_ * s + I] = (1 - a.damping) * (u[_ * s + I] - D) + a.damping * b[I];
13160
+ for (var D = -1 / 0, O = -1 / 0, A = -1, I = 0, N = 0; N < s; N++)
13161
+ b[N] = d[_ * s + N], I = v[_ * s + N] + u[_ * s + N], I >= D ? (O = D, D = I, A = N) : I > O && (O = I);
13162
+ for (var L = 0; L < s; L++)
13163
+ d[_ * s + L] = (1 - a.damping) * (u[_ * s + L] - D) + a.damping * b[L];
13155
13164
  d[_ * s + A] = (1 - a.damping) * (u[_ * s + A] - O) + a.damping * b[A];
13156
13165
  }
13157
13166
  for (var M = 0; M < s; M++) {
@@ -13735,8 +13744,8 @@ function S3(t) {
13735
13744
  }
13736
13745
  return "";
13737
13746
  }
13738
- var T3 = S3, _3 = /[\\^$.*+?()[\]{}|]/g, D3 = /^\[object .+?Constructor\]$/, P3 = Function.prototype, O3 = Object.prototype, L3 = P3.toString, I3 = O3.hasOwnProperty, A3 = RegExp(
13739
- "^" + L3.call(I3).replace(_3, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
13747
+ var T3 = S3, _3 = /[\\^$.*+?()[\]{}|]/g, D3 = /^\[object .+?Constructor\]$/, P3 = Function.prototype, O3 = Object.prototype, I3 = P3.toString, L3 = O3.hasOwnProperty, A3 = RegExp(
13748
+ "^" + I3.call(L3).replace(_3, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
13740
13749
  );
13741
13750
  function F3(t) {
13742
13751
  if (!ga(t) || x3(t))
@@ -13880,7 +13889,7 @@ function O_(t, e) {
13880
13889
  var r = ul(this, t), n = r.size;
13881
13890
  return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
13882
13891
  }
13883
- var L_ = O_;
13892
+ var I_ = O_;
13884
13893
  function wi(t) {
13885
13894
  var e = -1, r = t == null ? 0 : t.length;
13886
13895
  for (this.clear(); ++e < r; ) {
@@ -13892,11 +13901,11 @@ wi.prototype.clear = w_;
13892
13901
  wi.prototype.delete = S_;
13893
13902
  wi.prototype.get = __;
13894
13903
  wi.prototype.has = P_;
13895
- wi.prototype.set = L_;
13896
- var Op = wi, I_ = "Expected a function";
13904
+ wi.prototype.set = I_;
13905
+ var Op = wi, L_ = "Expected a function";
13897
13906
  function bc(t, e) {
13898
13907
  if (typeof t != "function" || e != null && typeof e != "function")
13899
- throw new TypeError(I_);
13908
+ throw new TypeError(L_);
13900
13909
  var r = function() {
13901
13910
  var n = arguments, a = e ? e.apply(this, n) : n[0], i = r.cache;
13902
13911
  if (i.has(a))
@@ -13919,20 +13928,20 @@ var B_ = M_, N_ = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)
13919
13928
  return t.charCodeAt(0) === 46 && e.push(""), t.replace(N_, function(r, n, a, i) {
13920
13929
  e.push(a ? i.replace(R_, "$1") : n || r);
13921
13930
  }), e;
13922
- }), Lp = $_;
13931
+ }), Ip = $_;
13923
13932
  function z_(t, e) {
13924
13933
  for (var r = -1, n = t == null ? 0 : t.length, a = Array(n); ++r < n; )
13925
13934
  a[r] = e(t[r], r, t);
13926
13935
  return a;
13927
13936
  }
13928
- var Ip = z_, V_ = 1 / 0, Of = oi ? oi.prototype : void 0, Lf = Of ? Of.toString : void 0;
13937
+ var Lp = z_, V_ = 1 / 0, Of = oi ? oi.prototype : void 0, If = Of ? Of.toString : void 0;
13929
13938
  function Ap(t) {
13930
13939
  if (typeof t == "string")
13931
13940
  return t;
13932
13941
  if (sl(t))
13933
- return Ip(t, Ap) + "";
13942
+ return Lp(t, Ap) + "";
13934
13943
  if (Po(t))
13935
- return Lf ? Lf.call(t) : "";
13944
+ return If ? If.call(t) : "";
13936
13945
  var e = t + "";
13937
13946
  return e == "0" && 1 / t == -V_ ? "-0" : e;
13938
13947
  }
@@ -13942,7 +13951,7 @@ function K_(t) {
13942
13951
  }
13943
13952
  var Fp = K_;
13944
13953
  function q_(t, e) {
13945
- return sl(t) ? t : v3(t, e) ? [t] : Lp(Fp(t));
13954
+ return sl(t) ? t : v3(t, e) ? [t] : Ip(Fp(t));
13946
13955
  }
13947
13956
  var Mp = q_, U_ = 1 / 0;
13948
13957
  function G_(t) {
@@ -13969,9 +13978,9 @@ var Z_ = j_, X_ = function() {
13969
13978
  return t({}, "", {}), t;
13970
13979
  } catch {
13971
13980
  }
13972
- }(), If = X_;
13981
+ }(), Lf = X_;
13973
13982
  function Q_(t, e, r) {
13974
- e == "__proto__" && If ? If(t, e, {
13983
+ e == "__proto__" && Lf ? Lf(t, e, {
13975
13984
  configurable: !0,
13976
13985
  enumerable: !0,
13977
13986
  value: r,
@@ -14018,7 +14027,7 @@ function fD(t, e) {
14018
14027
  }
14019
14028
  var vD = fD;
14020
14029
  function hD(t) {
14021
- return sl(t) ? Ip(t, wc) : Po(t) ? [t] : vD(Lp(Fp(t)));
14030
+ return sl(t) ? Lp(t, wc) : Po(t) ? [t] : vD(Ip(Fp(t)));
14022
14031
  }
14023
14032
  var pD = hD, gD = {
14024
14033
  // access data field
@@ -14941,15 +14950,15 @@ var OD = function(e) {
14941
14950
  return r.text() == null && (n = function() {
14942
14951
  return !0;
14943
14952
  }), e.filter(n);
14944
- }, LD = function(e) {
14953
+ }, ID = function(e) {
14945
14954
  for (var r = this, n = 0; n < r.length; n++) {
14946
14955
  var a = r[n];
14947
14956
  if (vt(a, e))
14948
14957
  return !0;
14949
14958
  }
14950
14959
  return !1;
14951
- }, ID = {
14952
- matches: LD,
14960
+ }, LD = {
14961
+ matches: ID,
14953
14962
  filter: OD
14954
14963
  }, Un = function(e) {
14955
14964
  this.inputText = e, this.currentSubject = null, this.compoundCount = 0, this.edgeCount = 0, this.length = 0, e == null || Ae(e) && e.match(/^\s*$/) || (yr(e) ? this.addQuery({
@@ -14964,7 +14973,7 @@ var OD = function(e) {
14964
14973
  }]
14965
14974
  }) : Ae(e) ? this.parse(e) || (this.invalid = !0) : yt("A selector must be created from a string; found "));
14966
14975
  }, Gn = Un.prototype;
14967
- [TD, ID].forEach(function(t) {
14976
+ [TD, LD].forEach(function(t) {
14968
14977
  return ze(Gn, t);
14969
14978
  });
14970
14979
  Gn.text = function() {
@@ -15508,8 +15517,8 @@ Zn.updateCompoundBounds = function() {
15508
15517
  h: o.pstyle("height").pfValue
15509
15518
  }, d.x1 = v.x - d.w / 2, d.x2 = v.x + d.w / 2, d.y1 = v.y - d.h / 2, d.y2 = v.y + d.h / 2);
15510
15519
  function h(k, _, D) {
15511
- var O = 0, A = 0, L = _ + D;
15512
- return k > 0 && L > 0 && (O = _ / L * k, A = D / L * k), {
15520
+ var O = 0, A = 0, I = _ + D;
15521
+ return k > 0 && I > 0 && (O = _ / I * k, A = D / I * k), {
15513
15522
  biasDiff: O,
15514
15523
  biasComplementDiff: A
15515
15524
  };
@@ -15572,9 +15581,9 @@ var Er = function(e) {
15572
15581
  n ? a = n + "-" : a = "";
15573
15582
  var i = r._private, o = i.rstyle, s = r.pstyle(a + "label").strValue;
15574
15583
  if (s) {
15575
- var l = r.pstyle("text-halign"), u = r.pstyle("text-valign"), c = Fi(o, "labelWidth", n), d = Fi(o, "labelHeight", n), v = Fi(o, "labelX", n), h = Fi(o, "labelY", n), f = r.pstyle(a + "text-margin-x").pfValue, p = r.pstyle(a + "text-margin-y").pfValue, m = r.isEdge(), g = r.pstyle(a + "text-rotation"), y = r.pstyle("text-outline-width").pfValue, b = r.pstyle("text-border-width").pfValue, w = b / 2, C = r.pstyle("text-background-padding").pfValue, E = 2, x = d, T = c, k = T / 2, _ = x / 2, D, O, A, L;
15584
+ var l = r.pstyle("text-halign"), u = r.pstyle("text-valign"), c = Fi(o, "labelWidth", n), d = Fi(o, "labelHeight", n), v = Fi(o, "labelX", n), h = Fi(o, "labelY", n), f = r.pstyle(a + "text-margin-x").pfValue, p = r.pstyle(a + "text-margin-y").pfValue, m = r.isEdge(), g = r.pstyle(a + "text-rotation"), y = r.pstyle("text-outline-width").pfValue, b = r.pstyle("text-border-width").pfValue, w = b / 2, C = r.pstyle("text-background-padding").pfValue, E = 2, x = d, T = c, k = T / 2, _ = x / 2, D, O, A, I;
15576
15585
  if (m)
15577
- D = v - k, O = v + k, A = h - _, L = h + _;
15586
+ D = v - k, O = v + k, A = h - _, I = h + _;
15578
15587
  else {
15579
15588
  switch (l.value) {
15580
15589
  case "left":
@@ -15589,22 +15598,22 @@ var Er = function(e) {
15589
15598
  }
15590
15599
  switch (u.value) {
15591
15600
  case "top":
15592
- A = h - x, L = h;
15601
+ A = h - x, I = h;
15593
15602
  break;
15594
15603
  case "center":
15595
- A = h - _, L = h + _;
15604
+ A = h - _, I = h + _;
15596
15605
  break;
15597
15606
  case "bottom":
15598
- A = h, L = h + x;
15607
+ A = h, I = h + x;
15599
15608
  break;
15600
15609
  }
15601
15610
  }
15602
- D += f - Math.max(y, w) - C - E, O += f + Math.max(y, w) + C + E, A += p - Math.max(y, w) - C - E, L += p + Math.max(y, w) + C + E;
15603
- var N = n || "main", I = i.labelBounds, M = I[N] = I[N] || {};
15604
- M.x1 = D, M.y1 = A, M.x2 = O, M.y2 = L, M.w = O - D, M.h = L - A;
15611
+ D += f - Math.max(y, w) - C - E, O += f + Math.max(y, w) + C + E, A += p - Math.max(y, w) - C - E, I += p + Math.max(y, w) + C + E;
15612
+ var N = n || "main", L = i.labelBounds, M = L[N] = L[N] || {};
15613
+ M.x1 = D, M.y1 = A, M.x2 = O, M.y2 = I, M.w = O - D, M.h = I - A;
15605
15614
  var F = m && g.strValue === "autorotate", $ = g.pfValue != null && g.pfValue !== 0;
15606
15615
  if (F || $) {
15607
- var U = F ? Fi(i.rstyle, "labelAngle", n) : g.pfValue, H = Math.cos(U), K = Math.sin(U), ee = (D + O) / 2, se = (A + L) / 2;
15616
+ var U = F ? Fi(i.rstyle, "labelAngle", n) : g.pfValue, H = Math.cos(U), K = Math.sin(U), ee = (D + O) / 2, se = (A + I) / 2;
15608
15617
  if (!m) {
15609
15618
  switch (l.value) {
15610
15619
  case "left":
@@ -15616,7 +15625,7 @@ var Er = function(e) {
15616
15625
  }
15617
15626
  switch (u.value) {
15618
15627
  case "top":
15619
- se = L;
15628
+ se = I;
15620
15629
  break;
15621
15630
  case "bottom":
15622
15631
  se = A;
@@ -15628,11 +15637,11 @@ var Er = function(e) {
15628
15637
  x: Ee * H - ve * K + ee,
15629
15638
  y: Ee * K + ve * H + se
15630
15639
  };
15631
- }, ne = oe(D, A), ue = oe(D, L), te = oe(O, A), R = oe(O, L);
15632
- D = Math.min(ne.x, ue.x, te.x, R.x), O = Math.max(ne.x, ue.x, te.x, R.x), A = Math.min(ne.y, ue.y, te.y, R.y), L = Math.max(ne.y, ue.y, te.y, R.y);
15640
+ }, ne = oe(D, A), ue = oe(D, I), te = oe(O, A), R = oe(O, I);
15641
+ D = Math.min(ne.x, ue.x, te.x, R.x), O = Math.max(ne.x, ue.x, te.x, R.x), A = Math.min(ne.y, ue.y, te.y, R.y), I = Math.max(ne.y, ue.y, te.y, R.y);
15633
15642
  }
15634
- var Y = N + "Rot", J = I[Y] = I[Y] || {};
15635
- J.x1 = D, J.y1 = A, J.x2 = O, J.y2 = L, J.w = O - D, J.h = L - A, Br(e, D, A, O, L), Br(i.labelBounds.all, D, A, O, L);
15643
+ var Y = N + "Rot", J = L[Y] = L[Y] || {};
15644
+ J.x1 = D, J.y1 = A, J.x2 = O, J.y2 = I, J.w = O - D, J.h = I - A, Br(e, D, A, O, I), Br(i.labelBounds.all, D, A, O, I);
15636
15645
  }
15637
15646
  return e;
15638
15647
  }
@@ -15662,12 +15671,12 @@ var Er = function(e) {
15662
15671
  if (a && (k = e.pstyle("width").pfValue, _ = k / 2), l && r.includeNodes) {
15663
15672
  var D = e.position();
15664
15673
  f = D.x, p = D.y;
15665
- var O = e.outerWidth(), A = O / 2, L = e.outerHeight(), N = L / 2;
15674
+ var O = e.outerWidth(), A = O / 2, I = e.outerHeight(), N = I / 2;
15666
15675
  c = f - A, d = f + A, v = p - N, h = p + N, Br(o, c, v, d, h), a && r.includeOutlines && BD(o, e);
15667
15676
  } else if (u && r.includeEdges)
15668
15677
  if (a && !i) {
15669
- var I = e.pstyle("curve-style").strValue;
15670
- if (c = Math.min(m.srcX, m.midX, m.tgtX), d = Math.max(m.srcX, m.midX, m.tgtX), v = Math.min(m.srcY, m.midY, m.tgtY), h = Math.max(m.srcY, m.midY, m.tgtY), c -= _, d += _, v -= _, h += _, Br(o, c, v, d, h), I === "haystack") {
15678
+ var L = e.pstyle("curve-style").strValue;
15679
+ if (c = Math.min(m.srcX, m.midX, m.tgtX), d = Math.max(m.srcX, m.midX, m.tgtX), v = Math.min(m.srcY, m.midY, m.tgtY), h = Math.max(m.srcY, m.midY, m.tgtY), c -= _, d += _, v -= _, h += _, Br(o, c, v, d, h), L === "haystack") {
15671
15680
  var M = m.haystackPts;
15672
15681
  if (M && M.length === 2) {
15673
15682
  if (c = M[0].x, v = M[0].y, d = M[1].x, h = M[1].y, c > d) {
@@ -15680,9 +15689,9 @@ var Er = function(e) {
15680
15689
  }
15681
15690
  Br(o, c - _, v - _, d + _, h + _);
15682
15691
  }
15683
- } else if (I === "bezier" || I === "unbundled-bezier" || I.endsWith("segments") || I.endsWith("taxi")) {
15692
+ } else if (L === "bezier" || L === "unbundled-bezier" || L.endsWith("segments") || L.endsWith("taxi")) {
15684
15693
  var U;
15685
- switch (I) {
15694
+ switch (L) {
15686
15695
  case "bezier":
15687
15696
  case "unbundled-bezier":
15688
15697
  U = m.bezierPts;
@@ -15811,8 +15820,8 @@ Zn.boundingBoxAt = function(t) {
15811
15820
  };
15812
15821
  Za.boundingbox = Za.bb = Za.boundingBox;
15813
15822
  Za.renderedBoundingbox = Za.renderedBoundingBox;
15814
- var RD = Zn, Vi, Lo;
15815
- Vi = Lo = {};
15823
+ var RD = Zn, Vi, Io;
15824
+ Vi = Io = {};
15816
15825
  var qp = function(e) {
15817
15826
  e.uppercaseName = af(e.name), e.autoName = "auto" + e.uppercaseName, e.labelName = "label" + e.uppercaseName, e.outerName = "outer" + e.uppercaseName, e.uppercaseOuterName = af(e.outerName), Vi[e.name] = function() {
15818
15827
  var n = this[0], a = n._private, i = a.cy, o = i._private.styleEnabled;
@@ -15857,19 +15866,19 @@ qp({
15857
15866
  qp({
15858
15867
  name: "height"
15859
15868
  });
15860
- Lo.padding = function() {
15869
+ Io.padding = function() {
15861
15870
  var t = this[0], e = t._private;
15862
15871
  return t.isParent() ? (t.updateCompoundBounds(), e.autoPadding !== void 0 ? e.autoPadding : t.pstyle("padding").pfValue) : t.pstyle("padding").pfValue;
15863
15872
  };
15864
- Lo.paddedHeight = function() {
15873
+ Io.paddedHeight = function() {
15865
15874
  var t = this[0];
15866
15875
  return t.height() + 2 * t.padding();
15867
15876
  };
15868
- Lo.paddedWidth = function() {
15877
+ Io.paddedWidth = function() {
15869
15878
  var t = this[0];
15870
15879
  return t.width() + 2 * t.padding();
15871
15880
  };
15872
- var $D = Lo, zD = function(e, r) {
15881
+ var $D = Io, zD = function(e, r) {
15873
15882
  if (e.isEdge())
15874
15883
  return r(e);
15875
15884
  }, VD = function(e, r) {
@@ -17408,22 +17417,22 @@ dt.restore = function() {
17408
17417
  for (var D = 0; D < i.length; D++) {
17409
17418
  var O = i[D], A = O._private.data;
17410
17419
  be(A.parent) && (A.parent = "" + A.parent);
17411
- var L = A.parent, N = L != null;
17420
+ var I = A.parent, N = I != null;
17412
17421
  if (N || O._private.parent) {
17413
- var I = O._private.parent ? n.collection().merge(O._private.parent) : n.getElementById(L);
17414
- if (I.empty())
17422
+ var L = O._private.parent ? n.collection().merge(O._private.parent) : n.getElementById(I);
17423
+ if (L.empty())
17415
17424
  A.parent = void 0;
17416
- else if (I[0].removed())
17425
+ else if (L[0].removed())
17417
17426
  tt("Node added with missing parent, reference to parent removed"), A.parent = void 0, O._private.parent = null;
17418
17427
  else {
17419
- for (var M = !1, F = I; !F.empty(); ) {
17428
+ for (var M = !1, F = L; !F.empty(); ) {
17420
17429
  if (O.same(F)) {
17421
17430
  M = !0, A.parent = void 0;
17422
17431
  break;
17423
17432
  }
17424
17433
  F = F.parent();
17425
17434
  }
17426
- M || (I[0]._private.children.push(O), O._private.parent = I[0], a.hasCompoundNodes = !0);
17435
+ M || (L[0]._private.children.push(O), O._private.parent = L[0], a.hasCompoundNodes = !0);
17427
17436
  }
17428
17437
  }
17429
17438
  }
@@ -17447,35 +17456,35 @@ dt.inside = function() {
17447
17456
  };
17448
17457
  dt.remove = function() {
17449
17458
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, r = this, n = [], a = {}, i = r._private.cy;
17450
- function o(L) {
17451
- for (var N = L._private.edges, I = 0; I < N.length; I++)
17452
- l(N[I]);
17459
+ function o(I) {
17460
+ for (var N = I._private.edges, L = 0; L < N.length; L++)
17461
+ l(N[L]);
17453
17462
  }
17454
- function s(L) {
17455
- for (var N = L._private.children, I = 0; I < N.length; I++)
17456
- l(N[I]);
17463
+ function s(I) {
17464
+ for (var N = I._private.children, L = 0; L < N.length; L++)
17465
+ l(N[L]);
17457
17466
  }
17458
- function l(L) {
17459
- var N = a[L.id()];
17460
- e && L.removed() || N || (a[L.id()] = !0, L.isNode() ? (n.push(L), o(L), s(L)) : n.unshift(L));
17467
+ function l(I) {
17468
+ var N = a[I.id()];
17469
+ e && I.removed() || N || (a[I.id()] = !0, I.isNode() ? (n.push(I), o(I), s(I)) : n.unshift(I));
17461
17470
  }
17462
17471
  for (var u = 0, c = r.length; u < c; u++) {
17463
17472
  var d = r[u];
17464
17473
  l(d);
17465
17474
  }
17466
- function v(L, N) {
17467
- var I = L._private.edges;
17468
- qn(I, N), L.clearTraversalCache();
17475
+ function v(I, N) {
17476
+ var L = I._private.edges;
17477
+ qn(L, N), I.clearTraversalCache();
17469
17478
  }
17470
- function h(L) {
17471
- L.clearTraversalCache();
17479
+ function h(I) {
17480
+ I.clearTraversalCache();
17472
17481
  }
17473
17482
  var f = [];
17474
17483
  f.ids = {};
17475
- function p(L, N) {
17476
- N = N[0], L = L[0];
17477
- var I = L._private.children, M = L.id();
17478
- qn(I, N), N._private.parent = null, f.ids[M] || (f.ids[M] = !0, f.push(L));
17484
+ function p(I, N) {
17485
+ N = N[0], I = I[0];
17486
+ var L = I._private.children, M = I.id();
17487
+ qn(L, N), N._private.parent = null, f.ids[M] || (f.ids[M] = !0, f.push(I));
17479
17488
  }
17480
17489
  r.dirtyCompoundBoundsCache(), e && i.removeFromPool(n);
17481
17490
  for (var m = 0; m < n.length; m++) {
@@ -17619,8 +17628,8 @@ function uP(t, e, r, n) {
17619
17628
  var A = g(D, t, r);
17620
17629
  if (A === 0)
17621
17630
  return D;
17622
- var L = m(D, t, r) - _;
17623
- D -= L / A;
17631
+ var I = m(D, t, r) - _;
17632
+ D -= I / A;
17624
17633
  }
17625
17634
  return D;
17626
17635
  }
@@ -17629,18 +17638,18 @@ function uP(t, e, r, n) {
17629
17638
  v[_] = m(_ * u, t, r);
17630
17639
  }
17631
17640
  function w(_, D, O) {
17632
- var A, L, N = 0;
17641
+ var A, I, N = 0;
17633
17642
  do
17634
- L = D + (O - D) / 2, A = m(L, t, r) - _, A > 0 ? O = L : D = L;
17643
+ I = D + (O - D) / 2, A = m(I, t, r) - _, A > 0 ? O = I : D = I;
17635
17644
  while (Math.abs(A) > o && ++N < s);
17636
- return L;
17645
+ return I;
17637
17646
  }
17638
17647
  function C(_) {
17639
17648
  for (var D = 0, O = 1, A = l - 1; O !== A && v[O] <= _; ++O)
17640
17649
  D += u;
17641
17650
  --O;
17642
- var L = (_ - v[O]) / (v[O + 1] - v[O]), N = D + L * u, I = g(N, t, r);
17643
- return I >= i ? y(_, N) : I === 0 ? N : w(_, D, D + u);
17651
+ var I = (_ - v[O]) / (v[O + 1] - v[O]), N = D + I * u, L = g(N, t, r);
17652
+ return L >= i ? y(_, N) : L === 0 ? N : w(_, D, D + u);
17644
17653
  }
17645
17654
  var E = !1;
17646
17655
  function x() {
@@ -17811,8 +17820,8 @@ function dP(t, e, r, n) {
17811
17820
  var D = o.style;
17812
17821
  if (D && D.length > 0 && a) {
17813
17822
  for (var O = 0; O < D.length; O++) {
17814
- var A = D[O], L = A.name, N = A, I = o.startStyle[L], M = c.properties[I.name], F = Ba(I, N, m, p, M);
17815
- c.overrideBypass(t, L, F);
17823
+ var A = D[O], I = A.name, N = A, L = o.startStyle[I], M = c.properties[L.name], F = Ba(L, N, m, p, M);
17824
+ c.overrideBypass(t, I, F);
17816
17825
  }
17817
17826
  t.emit("style");
17818
17827
  }
@@ -18241,11 +18250,11 @@ ir.updateStyleHints = function(t) {
18241
18250
  f(b.strValue, E);
18242
18251
  }
18243
18252
  }
18244
- for (var L = [Ha, $i], N = 0; N < a.length; N++) {
18245
- var I = a[N], M = e.styleKeys[I];
18246
- L[0] = ao(M[0], L[0]), L[1] = io(M[1], L[1]);
18253
+ for (var I = [Ha, $i], N = 0; N < a.length; N++) {
18254
+ var L = a[N], M = e.styleKeys[L];
18255
+ I[0] = ao(M[0], I[0]), I[1] = io(M[1], I[1]);
18247
18256
  }
18248
- e.styleKey = x5(L[0], L[1]);
18257
+ e.styleKey = x5(I[0], I[1]);
18249
18258
  var F = e.styleKeys;
18250
18259
  e.labelDimsKey = Dn(F.labelDimensions);
18251
18260
  var $ = i(t, ["label"], F.labelDimensions);
@@ -18300,14 +18309,14 @@ ir.applyParsedProperty = function(t, e) {
18300
18309
  } else
18301
18310
  return tt("Do not use continuous mappers without specifying numeric data (i.e. `" + n.field + ": " + g + "` for `" + t.id() + "` is non-numeric)"), !1;
18302
18311
  if (w < 0 ? w = 0 : w > 1 && (w = 1), s.color) {
18303
- var E = n.valueMin[0], x = n.valueMax[0], T = n.valueMin[1], k = n.valueMax[1], _ = n.valueMin[2], D = n.valueMax[2], O = n.valueMin[3] == null ? 1 : n.valueMin[3], A = n.valueMax[3] == null ? 1 : n.valueMax[3], L = [Math.round(E + (x - E) * w), Math.round(T + (k - T) * w), Math.round(_ + (D - _) * w), Math.round(O + (A - O) * w)];
18312
+ var E = n.valueMin[0], x = n.valueMax[0], T = n.valueMin[1], k = n.valueMax[1], _ = n.valueMin[2], D = n.valueMax[2], O = n.valueMin[3] == null ? 1 : n.valueMin[3], A = n.valueMax[3] == null ? 1 : n.valueMax[3], I = [Math.round(E + (x - E) * w), Math.round(T + (k - T) * w), Math.round(_ + (D - _) * w), Math.round(O + (A - O) * w)];
18304
18313
  i = {
18305
18314
  // colours are simple, so just create the flat property instead of expensive string parsing
18306
18315
  bypass: n.bypass,
18307
18316
  // we're a bypass if the mapping property is a bypass
18308
18317
  name: n.name,
18309
- value: L,
18310
- strValue: "rgb(" + L[0] + ", " + L[1] + ", " + L[2] + ")"
18318
+ value: I,
18319
+ strValue: "rgb(" + I[0] + ", " + I[1] + ", " + I[2] + ")"
18311
18320
  };
18312
18321
  } else if (s.number) {
18313
18322
  var N = n.valueMin + (n.valueMax - n.valueMin) * w;
@@ -18320,8 +18329,8 @@ ir.applyParsedProperty = function(t, e) {
18320
18329
  break;
18321
18330
  }
18322
18331
  case o.data: {
18323
- for (var I = n.field.split("."), M = d.data, F = 0; F < I.length && M; F++) {
18324
- var $ = I[F];
18332
+ for (var L = n.field.split("."), M = d.data, F = 0; F < L.length && M; F++) {
18333
+ var $ = L[F];
18325
18334
  M = M[$];
18326
18335
  }
18327
18336
  if (M != null && (i = this.parse(n.name, M, n.bypass, v)), !i)
@@ -18414,8 +18423,8 @@ ir.checkBoundsTrigger = function(t, e, r, n) {
18414
18423
  ir.checkTriggers = function(t, e, r, n) {
18415
18424
  t.dirtyStyleCache(), this.checkZOrderTrigger(t, e, r, n), this.checkBoundsTrigger(t, e, r, n);
18416
18425
  };
18417
- var Io = {};
18418
- Io.applyBypass = function(t, e, r, n) {
18426
+ var Lo = {};
18427
+ Lo.applyBypass = function(t, e, r, n) {
18419
18428
  var a = this, i = [], o = !0;
18420
18429
  if (e === "*" || e === "**") {
18421
18430
  if (r !== void 0)
@@ -18455,17 +18464,17 @@ Io.applyBypass = function(t, e, r, n) {
18455
18464
  }
18456
18465
  return y;
18457
18466
  };
18458
- Io.overrideBypass = function(t, e, r) {
18467
+ Lo.overrideBypass = function(t, e, r) {
18459
18468
  e = cc(e);
18460
18469
  for (var n = 0; n < t.length; n++) {
18461
18470
  var a = t[n], i = a._private.style[e], o = this.properties[e].type, s = o.color, l = o.mutiple, u = i ? i.pfValue != null ? i.pfValue : i.value : null;
18462
18471
  !i || !i.bypass ? this.applyBypass(a, e, r) : (i.value = r, i.pfValue != null && (i.pfValue = r), s ? i.strValue = "rgb(" + r.join(",") + ")" : l ? i.strValue = r.join(" ") : i.strValue = "" + r, this.updateStyleHints(a)), this.checkTriggers(a, e, u, r);
18463
18472
  }
18464
18473
  };
18465
- Io.removeAllBypasses = function(t, e) {
18474
+ Lo.removeAllBypasses = function(t, e) {
18466
18475
  return this.removeBypasses(t, this.propertyNames, e);
18467
18476
  };
18468
- Io.removeBypasses = function(t, e, r) {
18477
+ Lo.removeBypasses = function(t, e, r) {
18469
18478
  for (var n = !0, a = 0; a < t.length; a++) {
18470
18479
  for (var i = t[a], o = {}, s = 0; s < e.length; s++) {
18471
18480
  var l = e[s], u = this.properties[l], c = i.pstyle(u.name);
@@ -19627,18 +19636,18 @@ var zt = {};
19627
19636
  name: "pie-size",
19628
19637
  type: u.sizeMaybePercent
19629
19638
  });
19630
- for (var L = 1; L <= zt.pieBackgroundN; L++)
19639
+ for (var I = 1; I <= zt.pieBackgroundN; I++)
19631
19640
  A.push({
19632
- name: "pie-" + L + "-background-color",
19641
+ name: "pie-" + I + "-background-color",
19633
19642
  type: u.color
19634
19643
  }), A.push({
19635
- name: "pie-" + L + "-background-size",
19644
+ name: "pie-" + I + "-background-size",
19636
19645
  type: u.percent
19637
19646
  }), A.push({
19638
- name: "pie-" + L + "-background-opacity",
19647
+ name: "pie-" + I + "-background-opacity",
19639
19648
  type: u.zeroOneNumber
19640
19649
  });
19641
- var N = [], I = zt.arrowPrefixes = ["source", "mid-source", "target", "mid-target"];
19650
+ var N = [], L = zt.arrowPrefixes = ["source", "mid-source", "target", "mid-target"];
19642
19651
  [{
19643
19652
  name: "arrow-shape",
19644
19653
  type: u.arrowShape,
@@ -19653,7 +19662,7 @@ var zt = {};
19653
19662
  name: "arrow-width",
19654
19663
  type: u.arrowWidth
19655
19664
  }].forEach(function(te) {
19656
- I.forEach(function(R) {
19665
+ L.forEach(function(R) {
19657
19666
  var Y = R + "-" + te.name, J = te.type, ge = te.triggersBounds;
19658
19667
  N.push({
19659
19668
  name: Y,
@@ -20123,9 +20132,9 @@ pl.parseImpl = function(t, e, r, n) {
20123
20132
  var O, A = "px";
20124
20133
  if (u.units && (O = u.units), u.implicitUnits && (A = u.implicitUnits), !u.unitless)
20125
20134
  if (l) {
20126
- var L = "px|em" + (u.allowPercent ? "|\\%" : "");
20127
- O && (L = O);
20128
- var N = e.match("^(" + At + ")(" + L + ")?$");
20135
+ var I = "px|em" + (u.allowPercent ? "|\\%" : "");
20136
+ O && (I = O);
20137
+ var N = e.match("^(" + At + ")(" + I + ")?$");
20129
20138
  N && (e = N[1], O = N[2] || A);
20130
20139
  } else (!O || u.implicitUnits) && (O = A);
20131
20140
  if (e = parseFloat(e), isNaN(e) && u.enums === void 0)
@@ -20134,14 +20143,14 @@ pl.parseImpl = function(t, e, r, n) {
20134
20143
  return e = o, D();
20135
20144
  if (u.integer && !yT(e) || u.min !== void 0 && (e < u.min || u.strictMin && e === u.min) || u.max !== void 0 && (e > u.max || u.strictMax && e === u.max))
20136
20145
  return null;
20137
- var I = {
20146
+ var L = {
20138
20147
  name: t,
20139
20148
  value: e,
20140
20149
  strValue: "" + e + (O || ""),
20141
20150
  units: O,
20142
20151
  bypass: r
20143
20152
  };
20144
- return u.unitless || O !== "px" && O !== "em" ? I.pfValue = e : I.pfValue = O === "px" || !O ? e : this.getEmSizeInPixels() * e, (O === "ms" || O === "s") && (I.pfValue = O === "ms" ? e : 1e3 * e), (O === "deg" || O === "rad") && (I.pfValue = O === "rad" ? e : Q5(e)), O === "%" && (I.pfValue = e / 100), I;
20153
+ return u.unitless || O !== "px" && O !== "em" ? L.pfValue = e : L.pfValue = O === "px" || !O ? e : this.getEmSizeInPixels() * e, (O === "ms" || O === "s") && (L.pfValue = O === "ms" ? e : 1e3 * e), (O === "deg" || O === "rad") && (L.pfValue = O === "rad" ? e : Q5(e)), O === "%" && (L.pfValue = e / 100), L;
20145
20154
  } else if (u.propList) {
20146
20155
  var M = [], F = "" + e;
20147
20156
  if (F !== "none") {
@@ -20261,7 +20270,7 @@ rr.fromJson = function(t, e) {
20261
20270
  rr.fromString = function(t, e) {
20262
20271
  return new rr(t).fromString(e);
20263
20272
  };
20264
- [ir, Io, kc, tn, hl, Sc, zt, pl].forEach(function(t) {
20273
+ [ir, Lo, kc, tn, hl, Sc, zt, pl].forEach(function(t) {
20265
20274
  ze(ar, t);
20266
20275
  });
20267
20276
  rr.types = ar.types;
@@ -20802,8 +20811,8 @@ ze(Bs, {
20802
20811
  }
20803
20812
  r.add(E);
20804
20813
  for (var O = 0; O < x.length; O++) {
20805
- var A = x[O], L = A.ele, N = A.json;
20806
- L.json(N);
20814
+ var A = x[O], I = A.ele, N = A.json;
20815
+ I.json(N);
20807
20816
  }
20808
20817
  };
20809
20818
  if (st(e.elements))
@@ -20991,18 +21000,18 @@ eg.prototype.run = function() {
20991
21000
  if (o && s) {
20992
21001
  var D = [], O = {}, A = function(me) {
20993
21002
  return D.push(me);
20994
- }, L = function() {
21003
+ }, I = function() {
20995
21004
  return D.shift();
20996
21005
  };
20997
21006
  for (a.forEach(function(ve) {
20998
21007
  return D.push(ve);
20999
21008
  }); D.length > 0; ) {
21000
- var N = L(), I = _(N, O);
21001
- if (I)
21009
+ var N = I(), L = _(N, O);
21010
+ if (L)
21002
21011
  N.outgoers().filter(function(ve) {
21003
21012
  return ve.isNode() && n.has(ve);
21004
21013
  }).forEach(A);
21005
- else if (I === null) {
21014
+ else if (L === null) {
21006
21015
  tt("Detected double maximal shift for node `" + N.id() + "`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");
21007
21016
  break;
21008
21017
  }
@@ -21234,9 +21243,9 @@ rg.prototype.run = function() {
21234
21243
  E = Math.min(E, k);
21235
21244
  }
21236
21245
  for (var _ = 0, D = 0; D < g.length; D++) {
21237
- var O = g[D], A = e.sweep === void 0 ? 2 * Math.PI - 2 * Math.PI / O.length : e.sweep, L = O.dTheta = A / Math.max(1, O.length - 1);
21246
+ var O = g[D], A = e.sweep === void 0 ? 2 * Math.PI - 2 * Math.PI / O.length : e.sweep, I = O.dTheta = A / Math.max(1, O.length - 1);
21238
21247
  if (O.length > 1 && e.avoidOverlap) {
21239
- var N = Math.cos(L) - Math.cos(0), I = Math.sin(L) - Math.sin(0), M = Math.sqrt(E * E / (N * N + I * I));
21248
+ var N = Math.cos(I) - Math.cos(0), L = Math.sin(I) - Math.sin(0), M = Math.sqrt(E * E / (N * N + L * L));
21240
21249
  _ = Math.max(M, _);
21241
21250
  }
21242
21251
  O.r = _, _ += E;
@@ -21354,7 +21363,7 @@ gl.prototype.run = function() {
21354
21363
  var a = gn(), i = function() {
21355
21364
  OP(n, e, t), t.fit === !0 && e.fit(t.padding);
21356
21365
  }, o = function(v) {
21357
- return !(r.stopped || v >= t.numIter || (LP(n, t), n.temperature = n.temperature * t.coolingFactor, n.temperature < t.minTemp));
21366
+ return !(r.stopped || v >= t.numIter || (IP(n, t), n.temperature = n.temperature * t.coolingFactor, n.temperature < t.minTemp));
21358
21367
  }, s = function() {
21359
21368
  if (t.animate === !0 || t.animate === !1)
21360
21369
  i(), r.one("layoutstop", t.stop), r.emit({
@@ -21439,15 +21448,15 @@ var SP = function(e, r, n) {
21439
21448
  for (var c = 0; c < s.edgeSize; c++) {
21440
21449
  var D = a[c], O = {};
21441
21450
  O.id = D.data("id"), O.sourceId = D.data("source"), O.targetId = D.data("target");
21442
- var A = pt(n.idealEdgeLength) ? n.idealEdgeLength(D) : n.idealEdgeLength, L = pt(n.edgeElasticity) ? n.edgeElasticity(D) : n.edgeElasticity, N = s.idToIndex[O.sourceId], I = s.idToIndex[O.targetId], M = s.indexToGraph[N], F = s.indexToGraph[I];
21451
+ var A = pt(n.idealEdgeLength) ? n.idealEdgeLength(D) : n.idealEdgeLength, I = pt(n.edgeElasticity) ? n.edgeElasticity(D) : n.edgeElasticity, N = s.idToIndex[O.sourceId], L = s.idToIndex[O.targetId], M = s.indexToGraph[N], F = s.indexToGraph[L];
21443
21452
  if (M != F) {
21444
21453
  for (var $ = TP(O.sourceId, O.targetId, s), U = s.graphSet[$], H = 0, m = s.layoutNodes[N]; U.indexOf(m.id) === -1; )
21445
21454
  m = s.layoutNodes[s.idToIndex[m.parentId]], H++;
21446
- for (m = s.layoutNodes[I]; U.indexOf(m.id) === -1; )
21455
+ for (m = s.layoutNodes[L]; U.indexOf(m.id) === -1; )
21447
21456
  m = s.layoutNodes[s.idToIndex[m.parentId]], H++;
21448
21457
  A *= H * n.nestingFactor;
21449
21458
  }
21450
- O.idealLength = A, O.elasticity = L, s.layoutEdges.push(O);
21459
+ O.idealLength = A, O.elasticity = I, s.layoutEdges.push(O);
21451
21460
  }
21452
21461
  return s;
21453
21462
  }, TP = function(e, r, n) {
@@ -21511,9 +21520,9 @@ var SP = function(e, r, n) {
21511
21520
  type: "layoutready",
21512
21521
  layout: this
21513
21522
  }));
21514
- }, LP = function(e, r, n) {
21515
- IP(e, r), MP(e), BP(e, r), NP(e), RP(e);
21516
- }, IP = function(e, r) {
21523
+ }, IP = function(e, r, n) {
21524
+ LP(e, r), MP(e), BP(e, r), NP(e), RP(e);
21525
+ }, LP = function(e, r) {
21517
21526
  for (var n = 0; n < e.graphSet.length; n++)
21518
21527
  for (var a = e.graphSet[n], i = a.length, o = 0; o < i; o++)
21519
21528
  for (var s = e.layoutNodes[e.idToIndex[a[o]]], l = o + 1; l < i; l++) {
@@ -21757,8 +21766,8 @@ ag.prototype.run = function() {
21757
21766
  return !!D["c-" + se + "-" + oe];
21758
21767
  }, A = function(se, oe) {
21759
21768
  D["c-" + se + "-" + oe] = !0;
21760
- }, L = 0, N = 0, I = function() {
21761
- N++, N >= u && (N = 0, L++);
21769
+ }, I = 0, N = 0, L = function() {
21770
+ N++, N >= u && (N = 0, I++);
21762
21771
  }, M = {}, F = 0; F < a.length; F++) {
21763
21772
  var $ = a[F], U = e.position($);
21764
21773
  if (U && (U.row !== void 0 || U.col !== void 0)) {
@@ -21783,9 +21792,9 @@ ag.prototype.run = function() {
21783
21792
  if (te)
21784
21793
  ne = te.col * y + y / 2 + i.x1, ue = te.row * b + b / 2 + i.y1;
21785
21794
  else {
21786
- for (; O(L, N); )
21787
- I();
21788
- ne = N * y + y / 2 + i.x1, ue = L * b + b / 2 + i.y1, A(L, N), I();
21795
+ for (; O(I, N); )
21796
+ L();
21797
+ ne = N * y + y / 2 + i.x1, ue = I * b + b / 2 + i.y1, A(I, N), L();
21789
21798
  }
21790
21799
  return {
21791
21800
  x: ne,
@@ -22002,8 +22011,8 @@ _c.registerArrowShapes = function() {
22002
22011
  }, c);
22003
22012
  };
22004
22013
  s("none", {
22005
- collide: Ls,
22006
- roughCollide: Ls,
22014
+ collide: Is,
22015
+ roughCollide: Is,
22007
22016
  draw: fc,
22008
22017
  spacing: cf,
22009
22018
  gap: cf
@@ -22161,22 +22170,22 @@ Da.findNearestElements = function(t, e, r, n) {
22161
22170
  s.push(x), f = x, h = T ?? h;
22162
22171
  }
22163
22172
  function g(x) {
22164
- var T = x.outerWidth() + 2 * d, k = x.outerHeight() + 2 * d, _ = T / 2, D = k / 2, O = x.position(), A = x.pstyle("corner-radius").value === "auto" ? "auto" : x.pstyle("corner-radius").pfValue, L = x._private.rscratch;
22173
+ var T = x.outerWidth() + 2 * d, k = x.outerHeight() + 2 * d, _ = T / 2, D = k / 2, O = x.position(), A = x.pstyle("corner-radius").value === "auto" ? "auto" : x.pstyle("corner-radius").pfValue, I = x._private.rscratch;
22165
22174
  if (O.x - _ <= t && t <= O.x + _ && O.y - D <= e && e <= O.y + D) {
22166
22175
  var N = i.nodeShapes[a.getNodeShape(x)];
22167
- if (N.checkPoint(t, e, 0, T, k, O.x, O.y, A, L))
22176
+ if (N.checkPoint(t, e, 0, T, k, O.x, O.y, A, I))
22168
22177
  return m(x, 0), !0;
22169
22178
  }
22170
22179
  }
22171
22180
  function y(x) {
22172
- var T = x._private, k = T.rscratch, _ = x.pstyle("width").pfValue, D = x.pstyle("arrow-scale").value, O = _ / 2 + c, A = O * O, L = O * 2, F = T.source, $ = T.target, N;
22181
+ var T = x._private, k = T.rscratch, _ = x.pstyle("width").pfValue, D = x.pstyle("arrow-scale").value, O = _ / 2 + c, A = O * O, I = O * 2, F = T.source, $ = T.target, N;
22173
22182
  if (k.edgeType === "segments" || k.edgeType === "straight" || k.edgeType === "haystack") {
22174
- for (var I = k.allpts, M = 0; M + 3 < I.length; M += 2)
22175
- if (o4(t, e, I[M], I[M + 1], I[M + 2], I[M + 3], L) && A > (N = d4(t, e, I[M], I[M + 1], I[M + 2], I[M + 3])))
22183
+ for (var L = k.allpts, M = 0; M + 3 < L.length; M += 2)
22184
+ if (o4(t, e, L[M], L[M + 1], L[M + 2], L[M + 3], I) && A > (N = d4(t, e, L[M], L[M + 1], L[M + 2], L[M + 3])))
22176
22185
  return m(x, N), !0;
22177
22186
  } else if (k.edgeType === "bezier" || k.edgeType === "multibezier" || k.edgeType === "self" || k.edgeType === "compound") {
22178
- for (var I = k.allpts, M = 0; M + 5 < k.allpts.length; M += 4)
22179
- if (s4(t, e, I[M], I[M + 1], I[M + 2], I[M + 3], I[M + 4], I[M + 5], L) && A > (N = c4(t, e, I[M], I[M + 1], I[M + 2], I[M + 3], I[M + 4], I[M + 5])))
22187
+ for (var L = k.allpts, M = 0; M + 5 < k.allpts.length; M += 4)
22188
+ if (s4(t, e, L[M], L[M + 1], L[M + 2], L[M + 3], L[M + 4], L[M + 5], I) && A > (N = c4(t, e, L[M], L[M + 1], L[M + 2], L[M + 3], L[M + 4], L[M + 5])))
22180
22189
  return m(x, N), !0;
22181
22190
  }
22182
22191
  for (var F = F || T.source, $ = $ || T.target, U = a.getArrowWidth(_, D), H = [{
@@ -22218,14 +22227,14 @@ Da.findNearestElements = function(t, e, r, n) {
22218
22227
  function w(x, T) {
22219
22228
  var k = x._private, _ = v, D;
22220
22229
  T ? D = T + "-" : D = "", x.boundingBox();
22221
- var O = k.labelBounds[T || "main"], A = x.pstyle(D + "label").value, L = x.pstyle("text-events").strValue === "yes";
22222
- if (!(!L || !A)) {
22223
- var N = b(k.rscratch, "labelX", T), I = b(k.rscratch, "labelY", T), M = b(k.rscratch, "labelAngle", T), F = x.pstyle(D + "text-margin-x").pfValue, $ = x.pstyle(D + "text-margin-y").pfValue, U = O.x1 - _ - F, H = O.x2 + _ - F, K = O.y1 - _ - $, ee = O.y2 + _ - $;
22230
+ var O = k.labelBounds[T || "main"], A = x.pstyle(D + "label").value, I = x.pstyle("text-events").strValue === "yes";
22231
+ if (!(!I || !A)) {
22232
+ var N = b(k.rscratch, "labelX", T), L = b(k.rscratch, "labelY", T), M = b(k.rscratch, "labelAngle", T), F = x.pstyle(D + "text-margin-x").pfValue, $ = x.pstyle(D + "text-margin-y").pfValue, U = O.x1 - _ - F, H = O.x2 + _ - F, K = O.y1 - _ - $, ee = O.y2 + _ - $;
22224
22233
  if (M) {
22225
22234
  var se = Math.cos(M), oe = Math.sin(M), ne = function(Ee, ve) {
22226
- return Ee = Ee - N, ve = ve - I, {
22235
+ return Ee = Ee - N, ve = ve - L, {
22227
22236
  x: Ee * se - ve * oe + N,
22228
- y: Ee * oe + ve * se + I
22237
+ y: Ee * oe + ve * se + L
22229
22238
  };
22230
22239
  }, ue = ne(U, K), te = ne(U, ee), R = ne(H, K), Y = ne(H, ee), J = [
22231
22240
  // with the margin added after the rotation is applied
@@ -22329,7 +22338,7 @@ Rs.calculateArrowAngles = function(t) {
22329
22338
  if (e.midsrcArrowAngle = Wo(l, u), i)
22330
22339
  l = v - e.segpts[e.segpts.length - 2], u = h - e.segpts[e.segpts.length - 1];
22331
22340
  else if (a || o || s || n) {
22332
- var f = e.allpts, L = f.length, p = Rt(f[L - 6], f[L - 4], f[L - 2], 0.9), m = Rt(f[L - 5], f[L - 3], f[L - 1], 0.9);
22341
+ var f = e.allpts, I = f.length, p = Rt(f[I - 6], f[I - 4], f[I - 2], 0.9), m = Rt(f[I - 5], f[I - 3], f[I - 1], 0.9);
22333
22342
  l = v - p, u = h - m;
22334
22343
  } else
22335
22344
  l = v - g, u = h - y;
@@ -22488,9 +22497,9 @@ or.findTaxiPoints = function(t, e) {
22488
22497
  r.edgeType = "segments";
22489
22498
  var n = "vertical", a = "horizontal", i = "leftward", o = "rightward", s = "downward", l = "upward", u = "auto", c = e.posPts, d = e.srcW, v = e.srcH, h = e.tgtW, f = e.tgtH, p = t.pstyle("edge-distances").value, m = p !== "node-position", g = t.pstyle("taxi-direction").value, y = g, b = t.pstyle("taxi-turn"), w = b.units === "%", C = b.pfValue, E = C < 0, x = t.pstyle("taxi-turn-min-distance").pfValue, T = m ? (d + h) / 2 : 0, k = m ? (v + f) / 2 : 0, _ = c.x2 - c.x1, D = c.y2 - c.y1, O = function(Fe, Me) {
22490
22499
  return Fe > 0 ? Math.max(Fe - Me, 0) : Math.min(Fe + Me, 0);
22491
- }, A = O(_, T), L = O(D, k), N = !1;
22492
- y === u ? g = Math.abs(A) > Math.abs(L) ? a : n : y === l || y === s ? (g = n, N = !0) : (y === i || y === o) && (g = a, N = !0);
22493
- var I = g === n, M = I ? L : A, F = I ? D : _, $ = hp(F), U = !1;
22500
+ }, A = O(_, T), I = O(D, k), N = !1;
22501
+ y === u ? g = Math.abs(A) > Math.abs(I) ? a : n : y === l || y === s ? (g = n, N = !0) : (y === i || y === o) && (g = a, N = !0);
22502
+ var L = g === n, M = L ? I : A, F = L ? D : _, $ = hp(F), U = !1;
22494
22503
  !(N && (w || E)) && (y === s && F < 0 || y === l && F > 0 || y === i && F > 0 || y === o && F < 0) && ($ *= -1, M = $ * Math.abs(M), U = !0);
22495
22504
  var H;
22496
22505
  if (w) {
@@ -22504,7 +22513,7 @@ or.findTaxiPoints = function(t, e) {
22504
22513
  return Math.abs(Fe) < x || Math.abs(Fe) >= Math.abs(M);
22505
22514
  }, oe = se(H), ne = se(Math.abs(M) - Math.abs(H)), ue = oe || ne;
22506
22515
  if (ue && !U)
22507
- if (I) {
22516
+ if (L) {
22508
22517
  var te = Math.abs(F) <= v / 2, R = Math.abs(_) <= h / 2;
22509
22518
  if (te) {
22510
22519
  var Y = (c.x1 + c.x2) / 2, J = c.y1, ge = c.y2;
@@ -22525,7 +22534,7 @@ or.findTaxiPoints = function(t, e) {
22525
22534
  } else
22526
22535
  r.segpts = [c.x2, c.y1];
22527
22536
  }
22528
- else if (I) {
22537
+ else if (L) {
22529
22538
  var le = c.y1 + H + (m ? v / 2 * $ : 0), S = c.x1, z = c.x2;
22530
22539
  r.segpts = [S, le, z, le];
22531
22540
  } else {
@@ -22563,12 +22572,12 @@ or.tryToCorrectInvalidPoints = function(t, e) {
22563
22572
  // normalised delta
22564
22573
  x: D.x / O,
22565
22574
  y: D.y / O
22566
- }, L = Math.max(i, o), N = {
22575
+ }, I = Math.max(i, o), N = {
22567
22576
  // *2 radius guarantees outside shape
22568
- x: r.ctrlpts[0] + A.x * 2 * L,
22569
- y: r.ctrlpts[1] + A.y * 2 * L
22570
- }, I = u.intersectLine(n.x, n.y, i, o, N.x, N.y, 0, d, h);
22571
- x ? (r.ctrlpts[0] = r.ctrlpts[0] + A.x * (C - E), r.ctrlpts[1] = r.ctrlpts[1] + A.y * (C - E)) : (r.ctrlpts[0] = I[0] + A.x * C, r.ctrlpts[1] = I[1] + A.y * C);
22577
+ x: r.ctrlpts[0] + A.x * 2 * I,
22578
+ y: r.ctrlpts[1] + A.y * 2 * I
22579
+ }, L = u.intersectLine(n.x, n.y, i, o, N.x, N.y, 0, d, h);
22580
+ x ? (r.ctrlpts[0] = r.ctrlpts[0] + A.x * (C - E), r.ctrlpts[1] = r.ctrlpts[1] + A.y * (C - E)) : (r.ctrlpts[0] = L[0] + A.x * C, r.ctrlpts[1] = L[1] + A.y * C);
22572
22581
  }
22573
22582
  if (g || y || k) {
22574
22583
  _ = !0;
@@ -22680,12 +22689,12 @@ or.findEdgeControlPoints = function(t) {
22680
22689
  return ae.poolIndex() - Q.poolIndex();
22681
22690
  });
22682
22691
  }
22683
- var O = k.eles[0], A = O.source(), L = O.target();
22684
- if (A.poolIndex() > L.poolIndex()) {
22692
+ var O = k.eles[0], A = O.source(), I = O.target();
22693
+ if (A.poolIndex() > I.poolIndex()) {
22685
22694
  var N = A;
22686
- A = L, L = N;
22695
+ A = I, I = N;
22687
22696
  }
22688
- var I = k.srcPos = A.position(), M = k.tgtPos = L.position(), F = k.srcW = A.outerWidth(), $ = k.srcH = A.outerHeight(), U = k.tgtW = L.outerWidth(), H = k.tgtH = L.outerHeight(), K = k.srcShape = r.nodeShapes[e.getNodeShape(A)], ee = k.tgtShape = r.nodeShapes[e.getNodeShape(L)], se = k.srcCornerRadius = A.pstyle("corner-radius").value === "auto" ? "auto" : A.pstyle("corner-radius").pfValue, oe = k.tgtCornerRadius = L.pstyle("corner-radius").value === "auto" ? "auto" : L.pstyle("corner-radius").pfValue, ne = k.tgtRs = L._private.rscratch, ue = k.srcRs = A._private.rscratch;
22697
+ var L = k.srcPos = A.position(), M = k.tgtPos = I.position(), F = k.srcW = A.outerWidth(), $ = k.srcH = A.outerHeight(), U = k.tgtW = I.outerWidth(), H = k.tgtH = I.outerHeight(), K = k.srcShape = r.nodeShapes[e.getNodeShape(A)], ee = k.tgtShape = r.nodeShapes[e.getNodeShape(I)], se = k.srcCornerRadius = A.pstyle("corner-radius").value === "auto" ? "auto" : A.pstyle("corner-radius").pfValue, oe = k.tgtCornerRadius = I.pstyle("corner-radius").value === "auto" ? "auto" : I.pstyle("corner-radius").pfValue, ne = k.tgtRs = I._private.rscratch, ue = k.srcRs = A._private.rscratch;
22689
22698
  k.dirCounts = {
22690
22699
  north: 0,
22691
22700
  west: 0,
@@ -22698,17 +22707,17 @@ or.findEdgeControlPoints = function(t) {
22698
22707
  };
22699
22708
  for (var te = 0; te < k.eles.length; te++) {
22700
22709
  var R = k.eles[te], Y = R[0]._private.rscratch, J = R.pstyle("curve-style").value, ge = J === "unbundled-bezier" || J.endsWith("segments") || J.endsWith("taxi"), Ee = !A.same(R.source());
22701
- if (!k.calculatedIntersection && A !== L && (k.hasBezier || k.hasUnbundled)) {
22710
+ if (!k.calculatedIntersection && A !== I && (k.hasBezier || k.hasUnbundled)) {
22702
22711
  k.calculatedIntersection = !0;
22703
- var ve = K.intersectLine(I.x, I.y, F, $, M.x, M.y, 0, se, ue), me = k.srcIntn = ve, Ce = ee.intersectLine(M.x, M.y, U, H, I.x, I.y, 0, oe, ne), ke = k.tgtIntn = Ce, xe = k.intersectionPts = {
22712
+ var ve = K.intersectLine(L.x, L.y, F, $, M.x, M.y, 0, se, ue), me = k.srcIntn = ve, Ce = ee.intersectLine(M.x, M.y, U, H, L.x, L.y, 0, oe, ne), ke = k.tgtIntn = Ce, xe = k.intersectionPts = {
22704
22713
  x1: ve[0],
22705
22714
  x2: Ce[0],
22706
22715
  y1: ve[1],
22707
22716
  y2: Ce[1]
22708
22717
  }, Pe = k.posPts = {
22709
- x1: I.x,
22718
+ x1: L.x,
22710
22719
  x2: M.x,
22711
- y1: I.y,
22720
+ y1: L.y,
22712
22721
  y2: M.y
22713
22722
  }, Ke = Ce[1] - ve[1], qe = Ce[0] - ve[0], Ne = Math.sqrt(qe * qe + Ke * Ke), Ge = k.vector = {
22714
22723
  x: qe,
@@ -22720,7 +22729,7 @@ or.findEdgeControlPoints = function(t) {
22720
22729
  x: -le.y,
22721
22730
  y: le.x
22722
22731
  };
22723
- k.nodesOverlap = !be(Ne) || ee.checkPoint(ve[0], ve[1], 0, U, H, M.x, M.y, oe, ne) || K.checkPoint(Ce[0], Ce[1], 0, F, $, I.x, I.y, se, ue), k.vectorNormInverse = S, _ = {
22732
+ k.nodesOverlap = !be(Ne) || ee.checkPoint(ve[0], ve[1], 0, U, H, M.x, M.y, oe, ne) || K.checkPoint(Ce[0], Ce[1], 0, F, $, L.x, L.y, se, ue), k.vectorNormInverse = S, _ = {
22724
22733
  nodesOverlap: k.nodesOverlap,
22725
22734
  dirCounts: k.dirCounts,
22726
22735
  calculatedIntersection: !0,
@@ -22728,7 +22737,7 @@ or.findEdgeControlPoints = function(t) {
22728
22737
  hasUnbundled: k.hasUnbundled,
22729
22738
  eles: k.eles,
22730
22739
  srcPos: M,
22731
- tgtPos: I,
22740
+ tgtPos: L,
22732
22741
  srcW: U,
22733
22742
  srcH: H,
22734
22743
  tgtW: F,
@@ -22764,7 +22773,7 @@ or.findEdgeControlPoints = function(t) {
22764
22773
  };
22765
22774
  }
22766
22775
  var z = Ee ? _ : k;
22767
- Y.nodesOverlap = z.nodesOverlap, Y.srcIntn = z.srcIntn, Y.tgtIntn = z.tgtIntn, Y.isRound = J.startsWith("round"), a && (A.isParent() || A.isChild() || L.isParent() || L.isChild()) && (A.parents().anySame(L) || L.parents().anySame(A) || A.same(L) && A.isParent()) ? e.findCompoundLoopPoints(R, z, te, ge) : A === L ? e.findLoopPoints(R, z, te, ge) : J.endsWith("segments") ? e.findSegmentsPoints(R, z) : J.endsWith("taxi") ? e.findTaxiPoints(R, z) : J === "straight" || !ge && k.eles.length % 2 === 1 && te === Math.floor(k.eles.length / 2) ? e.findStraightEdgePoints(R) : e.findBezierPoints(R, z, te, ge, Ee), e.findEndpoints(R), e.tryToCorrectInvalidPoints(R, z), e.checkForInvalidEdgeWarning(R), e.storeAllpts(R), e.storeEdgeProjections(R), e.calculateArrowAngles(R), e.recalculateEdgeLabelProjections(R), e.calculateLabelAngles(R);
22776
+ Y.nodesOverlap = z.nodesOverlap, Y.srcIntn = z.srcIntn, Y.tgtIntn = z.tgtIntn, Y.isRound = J.startsWith("round"), a && (A.isParent() || A.isChild() || I.isParent() || I.isChild()) && (A.parents().anySame(I) || I.parents().anySame(A) || A.same(I) && A.isParent()) ? e.findCompoundLoopPoints(R, z, te, ge) : A === I ? e.findLoopPoints(R, z, te, ge) : J.endsWith("segments") ? e.findSegmentsPoints(R, z) : J.endsWith("taxi") ? e.findTaxiPoints(R, z) : J === "straight" || !ge && k.eles.length % 2 === 1 && te === Math.floor(k.eles.length / 2) ? e.findStraightEdgePoints(R) : e.findBezierPoints(R, z, te, ge, Ee), e.findEndpoints(R), e.tryToCorrectInvalidPoints(R, z), e.checkForInvalidEdgeWarning(R), e.storeAllpts(R), e.storeEdgeProjections(R), e.calculateArrowAngles(R), e.recalculateEdgeLabelProjections(R), e.calculateLabelAngles(R);
22768
22777
  }
22769
22778
  }, C = 0; C < o.length; C++)
22770
22779
  w(C);
@@ -22817,13 +22826,13 @@ Ao.manualEndptToPx = function(t, e) {
22817
22826
  Ao.findEndpoints = function(t) {
22818
22827
  var e = this, r, n = t.source()[0], a = t.target()[0], i = n.position(), o = a.position(), s = t.pstyle("target-arrow-shape").value, l = t.pstyle("source-arrow-shape").value, u = t.pstyle("target-distance-from-node").pfValue, c = t.pstyle("source-distance-from-node").pfValue, d = n._private.rscratch, v = a._private.rscratch, h = t.pstyle("curve-style").value, f = t._private.rscratch, p = f.edgeType, m = h === "taxi", g = p === "self" || p === "compound", y = p === "bezier" || p === "multibezier" || g, b = p !== "bezier", w = p === "straight" || p === "segments", C = p === "segments", E = y || b || w, x = g || m, T = t.pstyle("source-endpoint"), k = x ? "outside-to-node" : T.value, _ = n.pstyle("corner-radius").value === "auto" ? "auto" : n.pstyle("corner-radius").pfValue, D = t.pstyle("target-endpoint"), O = x ? "outside-to-node" : D.value, A = a.pstyle("corner-radius").value === "auto" ? "auto" : a.pstyle("corner-radius").pfValue;
22819
22828
  f.srcManEndpt = T, f.tgtManEndpt = D;
22820
- var L, N, I, M;
22829
+ var I, N, L, M;
22821
22830
  if (y) {
22822
22831
  var F = [f.ctrlpts[0], f.ctrlpts[1]], $ = b ? [f.ctrlpts[f.ctrlpts.length - 2], f.ctrlpts[f.ctrlpts.length - 1]] : F;
22823
- L = $, N = F;
22832
+ I = $, N = F;
22824
22833
  } else if (w) {
22825
22834
  var U = C ? f.segpts.slice(0, 2) : [o.x, o.y], H = C ? f.segpts.slice(f.segpts.length - 2) : [i.x, i.y];
22826
- L = H, N = U;
22835
+ I = H, N = U;
22827
22836
  }
22828
22837
  if (O === "inside-to-node")
22829
22838
  r = [o.x, o.y];
@@ -22831,12 +22840,12 @@ Ao.findEndpoints = function(t) {
22831
22840
  r = this.manualEndptToPx(a, D);
22832
22841
  else if (O === "outside-to-line")
22833
22842
  r = f.tgtIntn;
22834
- else if (O === "outside-to-node" || O === "outside-to-node-or-label" ? I = L : (O === "outside-to-line" || O === "outside-to-line-or-label") && (I = [i.x, i.y]), r = e.nodeShapes[this.getNodeShape(a)].intersectLine(o.x, o.y, a.outerWidth(), a.outerHeight(), I[0], I[1], 0, A, v), O === "outside-to-node-or-label" || O === "outside-to-line-or-label") {
22843
+ else if (O === "outside-to-node" || O === "outside-to-node-or-label" ? L = I : (O === "outside-to-line" || O === "outside-to-line-or-label") && (L = [i.x, i.y]), r = e.nodeShapes[this.getNodeShape(a)].intersectLine(o.x, o.y, a.outerWidth(), a.outerHeight(), L[0], L[1], 0, A, v), O === "outside-to-node-or-label" || O === "outside-to-line-or-label") {
22835
22844
  var K = a._private.rscratch, ee = K.labelWidth, se = K.labelHeight, oe = K.labelX, ne = K.labelY, ue = ee / 2, te = se / 2, R = a.pstyle("text-valign").value;
22836
22845
  R === "top" ? ne -= te : R === "bottom" && (ne += te);
22837
22846
  var Y = a.pstyle("text-halign").value;
22838
22847
  Y === "left" ? oe -= ue : Y === "right" && (oe += ue);
22839
- var J = lo(I[0], I[1], [oe - ue, ne - te, oe + ue, ne - te, oe + ue, ne + te, oe - ue, ne + te], o.x, o.y);
22848
+ var J = lo(L[0], L[1], [oe - ue, ne - te, oe + ue, ne - te, oe + ue, ne + te, oe - ue, ne + te], o.x, o.y);
22840
22849
  if (J.length > 0) {
22841
22850
  var ge = i, Ee = ta(ge, Ka(r)), ve = ta(ge, Ka(J)), me = Ee;
22842
22851
  if (ve < Ee && (r = J, me = ve), J.length > 2) {
@@ -22848,7 +22857,7 @@ Ao.findEndpoints = function(t) {
22848
22857
  }
22849
22858
  }
22850
22859
  }
22851
- var ke = Yo(r, L, e.arrowShapes[s].spacing(t) + u), xe = Yo(r, L, e.arrowShapes[s].gap(t) + u);
22860
+ var ke = Yo(r, I, e.arrowShapes[s].spacing(t) + u), xe = Yo(r, I, e.arrowShapes[s].gap(t) + u);
22852
22861
  if (f.endX = xe[0], f.endY = xe[1], f.arrowEndX = ke[0], f.arrowEndY = ke[1], k === "inside-to-node")
22853
22862
  r = [i.x, i.y];
22854
22863
  else if (T.units)
@@ -23024,7 +23033,7 @@ nn.recalculateEdgeLabelProjections = function(t) {
23024
23033
  }
23025
23034
  var m = r.rstyle.bezierPts, g = a.bezierProjPcts.length;
23026
23035
  function y(x, T, k, _, D) {
23027
- var O = ya(T, k), A = x.segments[x.segments.length - 1], L = {
23036
+ var O = ya(T, k), A = x.segments[x.segments.length - 1], I = {
23028
23037
  p0: T,
23029
23038
  p1: k,
23030
23039
  t0: _,
@@ -23032,7 +23041,7 @@ nn.recalculateEdgeLabelProjections = function(t) {
23032
23041
  startDist: A ? A.startDist + A.length : 0,
23033
23042
  length: O
23034
23043
  };
23035
- x.segments.push(L), x.length += O;
23044
+ x.segments.push(I), x.length += O;
23036
23045
  }
23037
23046
  for (var b = 0; b < d.length; b++) {
23038
23047
  var w = d[b], C = d[b - 1];
@@ -23072,22 +23081,22 @@ nn.recalculateEdgeLabelProjections = function(t) {
23072
23081
  case "straight":
23073
23082
  case "segments":
23074
23083
  case "haystack": {
23075
- for (var A = 0, L, N, I, M, F = n.allpts.length, $ = 0; $ + 3 < F && (h ? (I = {
23084
+ for (var A = 0, I, N, L, M, F = n.allpts.length, $ = 0; $ + 3 < F && (h ? (L = {
23076
23085
  x: n.allpts[$],
23077
23086
  y: n.allpts[$ + 1]
23078
23087
  }, M = {
23079
23088
  x: n.allpts[$ + 2],
23080
23089
  y: n.allpts[$ + 3]
23081
- }) : (I = {
23090
+ }) : (L = {
23082
23091
  x: n.allpts[F - 2 - $],
23083
23092
  y: n.allpts[F - 1 - $]
23084
23093
  }, M = {
23085
23094
  x: n.allpts[F - 4 - $],
23086
23095
  y: n.allpts[F - 3 - $]
23087
- }), L = ya(I, M), N = A, A += L, !(A >= f)); $ += 2)
23096
+ }), I = ya(L, M), N = A, A += I, !(A >= f)); $ += 2)
23088
23097
  ;
23089
- var U = f - N, H = U / L;
23090
- H = so(0, H, 1), e = e4(I, M, H), v = vg(I, M);
23098
+ var U = f - N, H = U / I;
23099
+ H = so(0, H, 1), e = e4(L, M, H), v = vg(L, M);
23091
23100
  break;
23092
23101
  }
23093
23102
  }
@@ -23129,7 +23138,7 @@ nn.getLabelText = function(t, e) {
23129
23138
  for (T.s(); !(k = T.n()).done; ) {
23130
23139
  var _ = k.value, D = _[0], O = g.substring(x, _.index);
23131
23140
  x = _.index + D.length;
23132
- var A = E.length === 0 ? O : E + O + D, L = this.calculateLabelDimensions(t, A), N = L.width;
23141
+ var A = E.length === 0 ? O : E + O + D, I = this.calculateLabelDimensions(t, A), N = I.width;
23133
23142
  N <= d ? E += O + D : (E && f.push(E), E = O + D);
23134
23143
  }
23135
23144
  } catch (K) {
@@ -23144,12 +23153,12 @@ nn.getLabelText = function(t, e) {
23144
23153
  o("labelWrapCachedLines", f), a = o("labelWrapCachedText", f.join(`
23145
23154
  `)), o("labelWrapKey", l);
23146
23155
  } else if (s === "ellipsis") {
23147
- var I = t.pstyle("text-max-width").pfValue, M = "", F = "…", $ = !1;
23148
- if (this.calculateLabelDimensions(t, a).width < I)
23156
+ var L = t.pstyle("text-max-width").pfValue, M = "", F = "…", $ = !1;
23157
+ if (this.calculateLabelDimensions(t, a).width < L)
23149
23158
  return a;
23150
23159
  for (var U = 0; U < a.length; U++) {
23151
23160
  var H = this.calculateLabelDimensions(t, M + a[U] + F).width;
23152
- if (H > I)
23161
+ if (H > L)
23153
23162
  break;
23154
23163
  M += a[U], U === a.length - 1 && ($ = !0);
23155
23164
  }
@@ -23488,14 +23497,14 @@ Ei.load = function() {
23488
23497
  }
23489
23498
  if (!he)
23490
23499
  return !1;
23491
- for (var _e = t.container, Re = S.target, Te = Re.parentNode, Le = !1; Te; ) {
23500
+ for (var _e = t.container, Re = S.target, Te = Re.parentNode, Ie = !1; Te; ) {
23492
23501
  if (Te === _e) {
23493
- Le = !0;
23502
+ Ie = !0;
23494
23503
  break;
23495
23504
  }
23496
23505
  Te = Te.parentNode;
23497
23506
  }
23498
- return !!Le;
23507
+ return !!Ie;
23499
23508
  };
23500
23509
  t.registerBinding(t.container, "mousedown", function(S) {
23501
23510
  if (k(S) && !(t.hoverData.which === 1 && S.which !== 1)) {
@@ -23557,8 +23566,8 @@ Ei.load = function() {
23557
23566
  }), re.emit(_e("grabon")).emit(_e("grab"));
23558
23567
  else {
23559
23568
  he = t.dragData.possibleDragElements = z.collection();
23560
- var Te = z.$(function(Le) {
23561
- return Le.isNode() && Le.selected() && t.nodeIsGrabbable(Le);
23569
+ var Te = z.$(function(Ie) {
23570
+ return Ie.isNode() && Ie.selected() && t.nodeIsGrabbable(Ie);
23562
23571
  });
23563
23572
  f(Te, {
23564
23573
  addToList: he
@@ -23583,7 +23592,7 @@ Ei.load = function() {
23583
23592
  if (!(!z && !k(S))) {
23584
23593
  var ae = !1, Q = t.cy, X = Q.zoom(), pe = [S.clientX, S.clientY], re = t.projectIntoViewport(pe[0], pe[1]), he = t.hoverData.mdownPos, Fe = t.hoverData.mdownGPos, Me = t.selection, _e = null;
23585
23594
  !t.hoverData.draggingEles && !t.hoverData.dragging && !t.hoverData.selecting && (_e = t.findNearestElement(re[0], re[1], !0, !1));
23586
- var Re = t.hoverData.last, Te = t.hoverData.down, Le = [re[0] - Me[2], re[1] - Me[3]], ut = t.dragData.possibleDragElements, nt;
23595
+ var Re = t.hoverData.last, Te = t.hoverData.down, Ie = [re[0] - Me[2], re[1] - Me[3]], ut = t.dragData.possibleDragElements, nt;
23587
23596
  if (Fe) {
23588
23597
  var kt = pe[0] - Fe[0], St = kt * kt, wt = pe[1] - Fe[1], Zt = wt * wt, Pt = St + Zt;
23589
23598
  t.hoverData.isOverThresholdDrag = nt = Pt >= t.desktopTapThreshold2;
@@ -23592,7 +23601,7 @@ Ei.load = function() {
23592
23601
  nt && (t.hoverData.tapholdCancelled = !0);
23593
23602
  var gr = function() {
23594
23603
  var j = t.hoverData.dragDelta = t.hoverData.dragDelta || [];
23595
- j.length === 0 ? (j.push(Le[0]), j.push(Le[1])) : (j[0] += Le[0], j[1] += Le[1]);
23604
+ j.length === 0 ? (j.push(Ie[0]), j.push(Ie[1])) : (j[0] += Ie[0], j[1] += Ie[1]);
23596
23605
  };
23597
23606
  ae = !0, n(_e, ["mousemove", "vmousemove", "tapdrag"], S, {
23598
23607
  x: re[0],
@@ -23645,8 +23654,8 @@ Ei.load = function() {
23645
23654
  }, t.hoverData.justStartedPan = !1;
23646
23655
  } else
23647
23656
  wr = {
23648
- x: Le[0] * X,
23649
- y: Le[1] * X
23657
+ x: Ie[0] * X,
23658
+ y: Ie[1] * X
23650
23659
  };
23651
23660
  Q.panBy(wr), Q.emit("dragpan"), t.hoverData.dragged = !0;
23652
23661
  }
@@ -23681,7 +23690,7 @@ Ei.load = function() {
23681
23690
  x: 0,
23682
23691
  y: 0
23683
23692
  };
23684
- if (be(Le[0]) && be(Le[1]) && (Tt.x += Le[0], Tt.y += Le[1], Ct)) {
23693
+ if (be(Ie[0]) && be(Ie[1]) && (Tt.x += Ie[0], Tt.y += Ie[1], Ct)) {
23685
23694
  var Nt = t.hoverData.dragDelta;
23686
23695
  Nt && be(Nt[0]) && be(Nt[1]) && (Tt.x += Nt[0], Tt.y += Nt[1]);
23687
23696
  }
@@ -23758,8 +23767,8 @@ Ei.load = function() {
23758
23767
  }
23759
23768
  if (t.hoverData.dragging && (t.hoverData.dragging = !1, t.redrawHint("select", !0), t.redrawHint("eles", !0), t.redraw()), !X[4]) {
23760
23769
  t.redrawHint("drag", !0), t.redrawHint("eles", !0);
23761
- var Le = he && he.grabbed();
23762
- m(re), Le && (he.emit("freeon"), re.emit("free"), t.dragData.didDrag && (he.emit("dragfreeon"), re.emit("dragfree")));
23770
+ var Ie = he && he.grabbed();
23771
+ m(re), Ie && (he.emit("freeon"), re.emit("free"), t.dragData.didDrag && (he.emit("dragfreeon"), re.emit("dragfree")));
23763
23772
  }
23764
23773
  }
23765
23774
  X[4] = 0, t.hoverData.down = null, t.hoverData.cxtStarted = !1, t.hoverData.draggingEles = !1, t.hoverData.selecting = !1, t.hoverData.isOverThresholdDrag = !1, t.dragData.didDrag = !1, t.hoverData.dragged = !1, t.hoverData.dragDelta = [], t.hoverData.mdownPos = null, t.hoverData.mdownGPos = null, t.hoverData.which = null;
@@ -23821,7 +23830,7 @@ Ei.load = function() {
23821
23830
  }
23822
23831
  });
23823
23832
  }, !1);
23824
- var L, N, I, M, F, $, U, H, K, ee, se, oe, ne, ue = function(S, z, ae, Q) {
23833
+ var I, N, L, M, F, $, U, H, K, ee, se, oe, ne, ue = function(S, z, ae, Q) {
23825
23834
  return Math.sqrt((ae - S) * (ae - S) + (Q - z) * (Q - z));
23826
23835
  }, te = function(S, z, ae, Q) {
23827
23836
  return (ae - S) * (ae - S) + (Q - z) * (Q - z);
@@ -23845,9 +23854,9 @@ Ei.load = function() {
23845
23854
  if (S.touches[1]) {
23846
23855
  t.touchData.singleTouchMoved = !0, m(t.dragData.touchDragEles);
23847
23856
  var pe = t.findContainerClientCoords();
23848
- K = pe[0], ee = pe[1], se = pe[2], oe = pe[3], L = S.touches[0].clientX - K, N = S.touches[0].clientY - ee, I = S.touches[1].clientX - K, M = S.touches[1].clientY - ee, ne = 0 <= L && L <= se && 0 <= I && I <= se && 0 <= N && N <= oe && 0 <= M && M <= oe;
23857
+ K = pe[0], ee = pe[1], se = pe[2], oe = pe[3], I = S.touches[0].clientX - K, N = S.touches[0].clientY - ee, L = S.touches[1].clientX - K, M = S.touches[1].clientY - ee, ne = 0 <= I && I <= se && 0 <= L && L <= se && 0 <= N && N <= oe && 0 <= M && M <= oe;
23849
23858
  var re = z.pan(), he = z.zoom();
23850
- F = ue(L, N, I, M), $ = te(L, N, I, M), U = [(L + I) / 2, (N + M) / 2], H = [(U[0] - re.x) / he, (U[1] - re.y) / he];
23859
+ F = ue(I, N, L, M), $ = te(I, N, L, M), U = [(I + L) / 2, (N + M) / 2], H = [(U[0] - re.x) / he, (U[1] - re.y) / he];
23851
23860
  var Fe = 200, Me = Fe * Fe;
23852
23861
  if ($ < Me && !S.touches[2]) {
23853
23862
  var _e = t.findNearestElement(ae[0], ae[1], !0, !0), Re = t.findNearestElement(ae[2], ae[3], !0, !0);
@@ -23880,16 +23889,16 @@ Ei.load = function() {
23880
23889
  z.boxSelectionEnabled() && S.preventDefault();
23881
23890
  else if (!S.touches[1]) {
23882
23891
  if (S.touches[0]) {
23883
- var Te = t.findNearestElements(ae[0], ae[1], !0, !0), Le = Te[0];
23884
- if (Le != null && (Le.activate(), t.touchData.start = Le, t.touchData.starts = Te, t.nodeIsGrabbable(Le))) {
23892
+ var Te = t.findNearestElements(ae[0], ae[1], !0, !0), Ie = Te[0];
23893
+ if (Ie != null && (Ie.activate(), t.touchData.start = Ie, t.touchData.starts = Te, t.nodeIsGrabbable(Ie))) {
23885
23894
  var ut = t.dragData.touchDragEles = z.collection(), nt = null;
23886
- t.redrawHint("eles", !0), t.redrawHint("drag", !0), Le.selected() ? (nt = z.$(function(Pt) {
23895
+ t.redrawHint("eles", !0), t.redrawHint("drag", !0), Ie.selected() ? (nt = z.$(function(Pt) {
23887
23896
  return Pt.selected() && t.nodeIsGrabbable(Pt);
23888
23897
  }), f(nt, {
23889
23898
  addToList: ut
23890
- })) : p(Le, {
23899
+ })) : p(Ie, {
23891
23900
  addToList: ut
23892
- }), c(Le);
23901
+ }), c(Ie);
23893
23902
  var kt = function(Bt) {
23894
23903
  return {
23895
23904
  originalEvent: S,
@@ -23900,14 +23909,14 @@ Ei.load = function() {
23900
23909
  }
23901
23910
  };
23902
23911
  };
23903
- Le.emit(kt("grabon")), nt ? nt.forEach(function(Pt) {
23912
+ Ie.emit(kt("grabon")), nt ? nt.forEach(function(Pt) {
23904
23913
  Pt.emit(kt("grab"));
23905
- }) : Le.emit(kt("grab"));
23914
+ }) : Ie.emit(kt("grab"));
23906
23915
  }
23907
- n(Le, ["touchstart", "tapstart", "vmousedown"], S, {
23916
+ n(Ie, ["touchstart", "tapstart", "vmousedown"], S, {
23908
23917
  x: ae[0],
23909
23918
  y: ae[1]
23910
- }), Le == null && (t.data.bgActivePosistion = {
23919
+ }), Ie == null && (t.data.bgActivePosistion = {
23911
23920
  x: X[0],
23912
23921
  y: X[1]
23913
23922
  }, t.redrawHint("select", !0), t.redraw()), t.touchData.singleTouchMoved = !1, t.touchData.singleTouchStartTime = +/* @__PURE__ */ new Date(), clearTimeout(t.touchData.tapholdTimeout), t.touchData.tapholdTimeout = setTimeout(function() {
@@ -23947,7 +23956,7 @@ Ei.load = function() {
23947
23956
  if (z && S.touches[0] && Fe) {
23948
23957
  for (var _e = [], Re = 0; Re < X.length; Re++)
23949
23958
  _e[Re] = X[Re] - pe[Re];
23950
- var Te = S.touches[0].clientX - Fe[0], Le = Te * Te, ut = S.touches[0].clientY - Fe[1], nt = ut * ut, kt = Le + nt;
23959
+ var Te = S.touches[0].clientX - Fe[0], Ie = Te * Te, ut = S.touches[0].clientY - Fe[1], nt = ut * ut, kt = Ie + nt;
23951
23960
  Me = kt >= t.touchTapThreshold2;
23952
23961
  }
23953
23962
  if (z && t.touchData.cxt) {
@@ -24013,7 +24022,7 @@ Ei.load = function() {
24013
24022
  }
24014
24023
  var j = t.touchData.start, St = S.touches[0].clientX - K, wt = S.touches[0].clientY - ee, Zt = S.touches[1].clientX - K, Pt = S.touches[1].clientY - ee, we = ue(St, wt, Zt, Pt), We = we / F;
24015
24024
  if (ne) {
24016
- var at = St - L, Gr = wt - N, Sn = Zt - I, La = Pt - M, on = (at + Sn) / 2, Cr = (Gr + La) / 2, Tn = Q.zoom(), bl = Tn * We, Bo = Q.pan(), Ac = H[0] * Tn + Bo.x, Fc = H[1] * Tn + Bo.y, pm = {
24025
+ var at = St - I, Gr = wt - N, Sn = Zt - L, Ia = Pt - M, on = (at + Sn) / 2, Cr = (Gr + Ia) / 2, Tn = Q.zoom(), bl = Tn * We, Bo = Q.pan(), Ac = H[0] * Tn + Bo.x, Fc = H[1] * Tn + Bo.y, pm = {
24017
24026
  x: -bl / Tn * (Ac - Bo.x - on) + Ac,
24018
24027
  y: -bl / Tn * (Fc - Bo.y - Cr) + Fc
24019
24028
  };
@@ -24025,7 +24034,7 @@ Ei.load = function() {
24025
24034
  zoom: bl,
24026
24035
  pan: pm,
24027
24036
  cancelOnFailedZoom: !0
24028
- }), Q.emit("pinchzoom"), F = we, L = St, N = wt, I = Zt, M = Pt, t.pinching = !0;
24037
+ }), Q.emit("pinchzoom"), F = we, I = St, N = wt, L = Zt, M = Pt, t.pinching = !0;
24029
24038
  }
24030
24039
  if (S.touches[0]) {
24031
24040
  var he = t.projectIntoViewport(S.touches[0].clientX, S.touches[0].clientY);
@@ -24053,13 +24062,13 @@ Ei.load = function() {
24053
24062
  };
24054
24063
  if (be(_e[0]) && be(_e[1]) && (_i.x += _e[0], _i.y += _e[1], Mc)) {
24055
24064
  t.redrawHint("eles", !0);
24056
- var Lr = t.touchData.dragDelta;
24057
- Lr && be(Lr[0]) && be(Lr[1]) && (_i.x += Lr[0], _i.y += Lr[1]);
24065
+ var Ir = t.touchData.dragDelta;
24066
+ Ir && be(Ir[0]) && be(Ir[1]) && (_i.x += Ir[0], _i.y += Ir[1]);
24058
24067
  }
24059
24068
  t.hoverData.draggingEles = !0, Tt.silentShift(_i).emit("position drag"), t.redrawHint("drag", !0), t.touchData.startPosition[0] == pe[0] && t.touchData.startPosition[1] == pe[1] && t.redrawHint("eles", !0), t.redraw();
24060
24069
  } else {
24061
- var Lr = t.touchData.dragDelta = t.touchData.dragDelta || [];
24062
- Lr.length === 0 ? (Lr.push(_e[0]), Lr.push(_e[1])) : (Lr[0] += _e[0], Lr[1] += _e[1]);
24070
+ var Ir = t.touchData.dragDelta = t.touchData.dragDelta || [];
24071
+ Ir.length === 0 ? (Ir.push(_e[0]), Ir.push(_e[1])) : (Ir[0] += _e[0], Ir[1] += _e[1]);
24063
24072
  }
24064
24073
  if (n(Or || Ct, ["touchmove", "tapdrag", "vmousemove"], S, {
24065
24074
  x: X[0],
@@ -24172,10 +24181,10 @@ Ei.load = function() {
24172
24181
  if (!S.touches[0]) {
24173
24182
  if (!S.touches[0]) {
24174
24183
  t.data.bgActivePosistion = void 0, t.redrawHint("select", !0);
24175
- var Le = t.dragData.touchDragEles;
24184
+ var Ie = t.dragData.touchDragEles;
24176
24185
  if (z != null) {
24177
24186
  var ut = z._private.grabbed;
24178
- m(Le), t.redrawHint("drag", !0), t.redrawHint("eles", !0), ut && (z.emit("freeon"), Le.emit("free"), t.dragData.didDrag && (z.emit("dragfreeon"), Le.emit("dragfree"))), n(z, ["touchend", "tapend", "vmouseup", "tapdragout"], S, {
24187
+ m(Ie), t.redrawHint("drag", !0), t.redrawHint("eles", !0), ut && (z.emit("freeon"), Ie.emit("free"), t.dragData.didDrag && (z.emit("dragfreeon"), Ie.emit("dragfree"))), n(z, ["touchend", "tapend", "vmouseup", "tapdragout"], S, {
24179
24188
  x: re[0],
24180
24189
  y: re[1]
24181
24190
  }), z.unactivate(), t.touchData.start = null;
@@ -24428,8 +24437,8 @@ xn.generateBarrel = function() {
24428
24437
  if (mn(e, r, this.points, o, s, a, i - 2 * c, [0, -1], n) || mn(e, r, this.points, o, s, a - 2 * d, i, [0, -1], n))
24429
24438
  return !0;
24430
24439
  for (var v = this.generateBarrelBezierPts(a, i, o, s), h = function(T, k, _) {
24431
- var D = _[4], O = _[2], A = _[0], L = _[5], N = _[1], I = Math.min(D, A), M = Math.max(D, A), F = Math.min(L, N), $ = Math.max(L, N);
24432
- if (I <= T && T <= M && F <= k && k <= $) {
24440
+ var D = _[4], O = _[2], A = _[0], I = _[5], N = _[1], L = Math.min(D, A), M = Math.max(D, A), F = Math.min(I, N), $ = Math.max(I, N);
24441
+ if (L <= T && T <= M && F <= k && k <= $) {
24433
24442
  var U = p4(D, O, A), H = l4(U[0], U[1], U[2], T), K = H.filter(function(ee) {
24434
24443
  return 0 <= ee && ee <= 1;
24435
24444
  });
@@ -24659,7 +24668,7 @@ var Ul = 1e3 / 60, yg = {
24659
24668
  }
24660
24669
  }, XP = /* @__PURE__ */ function() {
24661
24670
  function t(e) {
24662
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ls;
24671
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Is;
24663
24672
  sc(this, t), this.idsByKey = new Zr(), this.keyForId = new Zr(), this.cachesByLvl = new Zr(), this.lvls = [], this.getKey = e, this.doesEleInvalidateKey = r;
24664
24673
  }
24665
24674
  return lc(t, [{
@@ -24787,7 +24796,7 @@ var Ul = 1e3 / 60, yg = {
24787
24796
  highQuality: "highQuality"
24788
24797
  }, fO = Yt({
24789
24798
  getKey: null,
24790
- doesEleInvalidateKey: Ls,
24799
+ doesEleInvalidateKey: Is,
24791
24800
  drawElement: null,
24792
24801
  getBoundingBox: null,
24793
24802
  getRotationPoint: null,
@@ -24841,8 +24850,8 @@ Mt.getElement = function(t, e, r, n, a) {
24841
24850
  return i.recycleTexture(f, d) || i.addTexture(f, d);
24842
24851
  };
24843
24852
  m || (m = p[p.length - 1]), m || (m = g()), m.width - m.usedWidth < d && (m = g());
24844
- for (var y = function(I) {
24845
- return I && I.scaledLabelShown === v;
24853
+ for (var y = function(L) {
24854
+ return L && L.scaledLabelShown === v;
24846
24855
  }, b = a && a === qa.dequeue, w = a && a === qa.highQuality, C = a && a === qa.downscale, E, x = n + 1; x <= xu; x++) {
24847
24856
  var T = l.get(t, x);
24848
24857
  if (T) {
@@ -24866,9 +24875,9 @@ Mt.getElement = function(t, e, r, n, a) {
24866
24875
  var O;
24867
24876
  if (!b && !w && !C)
24868
24877
  for (var A = n - 1; A >= ms; A--) {
24869
- var L = l.get(t, A);
24870
- if (L) {
24871
- O = L;
24878
+ var I = l.get(t, A);
24879
+ if (I) {
24880
+ O = I;
24872
24881
  break;
24873
24882
  }
24874
24883
  }
@@ -25040,7 +25049,7 @@ jt.getLayers = function(t, e, r) {
25040
25049
  return h = l[N], !0;
25041
25050
  }, D = function(N) {
25042
25051
  if (!h)
25043
- for (var I = r + N; Yi <= I && I <= $s && !_(I); I += N)
25052
+ for (var L = r + N; Yi <= L && L <= $s && !_(L); L += N)
25044
25053
  ;
25045
25054
  };
25046
25055
  D(1), D(-1);
@@ -25069,8 +25078,8 @@ jt.getLayers = function(t, e, r) {
25069
25078
  return null;
25070
25079
  var A = n.makeLayer(d, r);
25071
25080
  if (D != null) {
25072
- var L = c.indexOf(D) + 1;
25073
- c.splice(L, 0, A);
25081
+ var I = c.indexOf(D) + 1;
25082
+ c.splice(I, 0, A);
25074
25083
  } else (_.insert === void 0 || _.insert) && c.unshift(A);
25075
25084
  return A;
25076
25085
  };
@@ -25326,9 +25335,9 @@ var PO = function() {
25326
25335
  return 0;
25327
25336
  }, OO = function(e, r) {
25328
25337
  return e.getTextAngle(r, null);
25329
- }, LO = function(e, r) {
25330
- return e.getTextAngle(r, "source");
25331
25338
  }, IO = function(e, r) {
25339
+ return e.getTextAngle(r, "source");
25340
+ }, LO = function(e, r) {
25332
25341
  return e.getTextAngle(r, "target");
25333
25342
  }, AO = function(e, r) {
25334
25343
  return r.effectiveOpacity();
@@ -25339,7 +25348,7 @@ an.drawCachedElement = function(t, e, r, n, a, i) {
25339
25348
  var o = this, s = o.data, l = s.eleTxrCache, u = s.lblTxrCache, c = s.slbTxrCache, d = s.tlbTxrCache, v = e.boundingBox(), h = i === !0 ? l.reasons.highQuality : null;
25340
25349
  if (!(v.w === 0 || v.h === 0 || !e.visible()) && (!n || pc(v, n))) {
25341
25350
  var f = e.isEdge(), p = e.element()._private.rscratch.badLine;
25342
- o.drawElementUnderlay(t, e), o.drawCachedElementPortion(t, e, l, r, a, h, PO, AO), (!f || !p) && o.drawCachedElementPortion(t, e, u, r, a, h, OO, Gl), f && !p && (o.drawCachedElementPortion(t, e, c, r, a, h, LO, Gl), o.drawCachedElementPortion(t, e, d, r, a, h, IO, Gl)), o.drawElementOverlay(t, e);
25351
+ o.drawElementUnderlay(t, e), o.drawCachedElementPortion(t, e, l, r, a, h, PO, AO), (!f || !p) && o.drawCachedElementPortion(t, e, u, r, a, h, OO, Gl), f && !p && (o.drawCachedElementPortion(t, e, c, r, a, h, IO, Gl), o.drawCachedElementPortion(t, e, d, r, a, h, LO, Gl)), o.drawElementOverlay(t, e);
25343
25352
  }
25344
25353
  };
25345
25354
  an.drawElements = function(t, e) {
@@ -25539,10 +25548,10 @@ Oc.drawInscribedImage = function(t, e, r, n, a) {
25539
25548
  var O = Math.max(m / _, g / D);
25540
25549
  _ *= O, D *= O;
25541
25550
  }
25542
- var A = s - m / 2, L = c(r, "background-position-x", "units", n), N = c(r, "background-position-x", "pfValue", n);
25543
- L === "%" ? A += (m - _) * N : A += N;
25544
- var I = c(r, "background-offset-x", "units", n), M = c(r, "background-offset-x", "pfValue", n);
25545
- I === "%" ? A += (m - _) * M : A += M;
25551
+ var A = s - m / 2, I = c(r, "background-position-x", "units", n), N = c(r, "background-position-x", "pfValue", n);
25552
+ I === "%" ? A += (m - _) * N : A += N;
25553
+ var L = c(r, "background-offset-x", "units", n), M = c(r, "background-offset-x", "pfValue", n);
25554
+ L === "%" ? A += (m - _) * M : A += M;
25546
25555
  var F = l - g / 2, $ = c(r, "background-position-y", "units", n), U = c(r, "background-position-y", "pfValue", n);
25547
25556
  $ === "%" ? F += (g - D) * U : F += U;
25548
25557
  var H = c(r, "background-offset-y", "units", n), K = c(r, "background-offset-y", "pfValue", n);
@@ -25643,10 +25652,10 @@ Pa.drawText = function(t, e, r) {
25643
25652
  A -= f / 2;
25644
25653
  break;
25645
25654
  }
25646
- var L = u - p - k, N = f + 2 * k, I = p + 2 * k;
25655
+ var I = u - p - k, N = f + 2 * k, L = p + 2 * k;
25647
25656
  if (E > 0) {
25648
25657
  var M = t.fillStyle, F = e.pstyle("text-background-color").value;
25649
- t.fillStyle = "rgba(" + F[0] + "," + F[1] + "," + F[2] + "," + E * s + ")", D ? Wl(t, A, L, N, I, O) : t.fillRect(A, L, N, I), t.fillStyle = M;
25658
+ t.fillStyle = "rgba(" + F[0] + "," + F[1] + "," + F[2] + "," + E * s + ")", D ? Wl(t, A, I, N, L, O) : t.fillRect(A, I, N, L), t.fillStyle = M;
25650
25659
  }
25651
25660
  if (T > 0 && x > 0) {
25652
25661
  var $ = t.strokeStyle, U = t.lineWidth, H = e.pstyle("text-border-color").value, K = e.pstyle("text-border-style").value;
@@ -25665,9 +25674,9 @@ Pa.drawText = function(t, e, r) {
25665
25674
  t.setLineDash([]);
25666
25675
  break;
25667
25676
  }
25668
- if (D ? Wl(t, A, L, N, I, O, "stroke") : t.strokeRect(A, L, N, I), K === "double") {
25677
+ if (D ? Wl(t, A, I, N, L, O, "stroke") : t.strokeRect(A, I, N, L), K === "double") {
25669
25678
  var ee = T / 2;
25670
- D ? Wl(t, A + ee, L + ee, N - ee * 2, I - ee * 2, O, "stroke") : t.strokeRect(A + ee, L + ee, N - ee * 2, I - ee * 2);
25679
+ D ? Wl(t, A + ee, I + ee, N - ee * 2, L - ee * 2, O, "stroke") : t.strokeRect(A + ee, I + ee, N - ee * 2, L - ee * 2);
25671
25680
  }
25672
25681
  t.setLineDash && t.setLineDash([]), t.lineWidth = U, t.strokeStyle = $;
25673
25682
  }
@@ -25709,22 +25718,22 @@ Si.drawNode = function(t, e, r) {
25709
25718
  });
25710
25719
  }
25711
25720
  }
25712
- var D = e.pstyle("background-blacken").value, O = e.pstyle("border-width").pfValue, A = e.pstyle("background-opacity").value * v, L = e.pstyle("border-color").value, N = e.pstyle("border-style").value, I = e.pstyle("border-join").value, M = e.pstyle("border-cap").value, F = e.pstyle("border-position").value, $ = e.pstyle("border-dash-pattern").pfValue, U = e.pstyle("border-dash-offset").pfValue, H = e.pstyle("border-opacity").value * v, K = e.pstyle("outline-width").pfValue, ee = e.pstyle("outline-color").value, se = e.pstyle("outline-style").value, oe = e.pstyle("outline-opacity").value * v, ne = e.pstyle("outline-offset").value, ue = e.pstyle("corner-radius").value;
25721
+ var D = e.pstyle("background-blacken").value, O = e.pstyle("border-width").pfValue, A = e.pstyle("background-opacity").value * v, I = e.pstyle("border-color").value, N = e.pstyle("border-style").value, L = e.pstyle("border-join").value, M = e.pstyle("border-cap").value, F = e.pstyle("border-position").value, $ = e.pstyle("border-dash-pattern").pfValue, U = e.pstyle("border-dash-offset").pfValue, H = e.pstyle("border-opacity").value * v, K = e.pstyle("outline-width").pfValue, ee = e.pstyle("outline-color").value, se = e.pstyle("outline-style").value, oe = e.pstyle("outline-opacity").value * v, ne = e.pstyle("outline-offset").value, ue = e.pstyle("corner-radius").value;
25713
25722
  ue !== "auto" && (ue = e.pstyle("corner-radius").pfValue);
25714
25723
  var te = function() {
25715
25724
  var pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : A;
25716
25725
  o.eleFillStyle(t, e, pe);
25717
25726
  }, R = function() {
25718
25727
  var pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : H;
25719
- o.colorStrokeStyle(t, L[0], L[1], L[2], pe);
25728
+ o.colorStrokeStyle(t, I[0], I[1], I[2], pe);
25720
25729
  }, Y = function() {
25721
25730
  var pe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : oe;
25722
25731
  o.colorStrokeStyle(t, ee[0], ee[1], ee[2], pe);
25723
25732
  }, J = function(pe, re, he, Fe) {
25724
- var Me = o.nodePathCache = o.nodePathCache || [], _e = lp(he === "polygon" ? he + "," + Fe.join(",") : he, "" + re, "" + pe, "" + ue), Re = Me[_e], Te, Le = !1;
25725
- return Re != null ? (Te = Re, Le = !0, c.pathCache = Te) : (Te = new Path2D(), Me[_e] = c.pathCache = Te), {
25733
+ var Me = o.nodePathCache = o.nodePathCache || [], _e = lp(he === "polygon" ? he + "," + Fe.join(",") : he, "" + re, "" + pe, "" + ue), Re = Me[_e], Te, Ie = !1;
25734
+ return Re != null ? (Te = Re, Ie = !0, c.pathCache = Te) : (Te = new Path2D(), Me[_e] = c.pathCache = Te), {
25726
25735
  path: Te,
25727
- cacheHit: Le
25736
+ cacheHit: Ie
25728
25737
  };
25729
25738
  }, ge = e.pstyle("shape").strValue, Ee = e.pstyle("shape-polygon-points").pfValue;
25730
25739
  if (h) {
@@ -25759,7 +25768,7 @@ Si.drawNode = function(t, e, r) {
25759
25768
  D !== 0 && (o.colorFillStyle(t, he, he, he, re), h ? t.fill(f) : t.fill());
25760
25769
  }, Pe = function() {
25761
25770
  if (O > 0) {
25762
- if (t.lineWidth = O, t.lineCap = M, t.lineJoin = I, t.setLineDash)
25771
+ if (t.lineWidth = O, t.lineCap = M, t.lineJoin = L, t.setLineDash)
25763
25772
  switch (N) {
25764
25773
  case "dotted":
25765
25774
  t.setLineDash([1, 1]);
@@ -25811,13 +25820,13 @@ Si.drawNode = function(t, e, r) {
25811
25820
  });
25812
25821
  var re = o.getNodeShape(e), he = O;
25813
25822
  F === "inside" && (he = 0), F === "outside" && (he *= 2);
25814
- var Fe = (s + he + (K + ne)) / s, Me = (l + he + (K + ne)) / l, _e = s * Fe, Re = l * Me, Te = o.nodeShapes[re].points, Le;
25823
+ var Fe = (s + he + (K + ne)) / s, Me = (l + he + (K + ne)) / l, _e = s * Fe, Re = l * Me, Te = o.nodeShapes[re].points, Ie;
25815
25824
  if (h) {
25816
25825
  var ut = J(_e, Re, re, Te);
25817
- Le = ut.path;
25826
+ Ie = ut.path;
25818
25827
  }
25819
25828
  if (re === "ellipse")
25820
- o.drawEllipsePath(Le || t, pe.x, pe.y, _e, Re);
25829
+ o.drawEllipsePath(Ie || t, pe.x, pe.y, _e, Re);
25821
25830
  else if (["round-diamond", "round-heptagon", "round-hexagon", "round-octagon", "round-pentagon", "round-polygon", "round-triangle", "round-tag"].includes(re)) {
25822
25831
  var nt = 0, kt = 0, St = 0;
25823
25832
  re === "round-diamond" ? nt = (he + ne + K) * 1.4 : re === "round-heptagon" ? (nt = (he + ne + K) * 1.075, St = -(he / 2 + ne + K) / 35) : re === "round-hexagon" ? nt = (he + ne + K) * 1.12 : re === "round-pentagon" ? (nt = (he + ne + K) * 1.13, St = -(he / 2 + ne + K) / 15) : re === "round-tag" ? (nt = (he + ne + K) * 1.12, kt = (he / 2 + K + ne) * 0.07) : re === "round-triangle" && (nt = (he + ne + K) * (Math.PI / 2), St = -(he + ne / 2 + K) / Math.PI), nt !== 0 && (Fe = (s + nt) / s, _e = s * Fe, ["round-hexagon", "round-tag"].includes(re) || (Me = (l + nt) / l, Re = l * Me)), ue = ue === "auto" ? bp(_e, Re) : ue;
@@ -25829,26 +25838,26 @@ Si.drawNode = function(t, e, r) {
25829
25838
  var Qt, wr, Pr, ur, Ct = Bt.length;
25830
25839
  for (wr = Bt[Ct - 1], Qt = 0; Qt < Ct; Qt++)
25831
25840
  Pr = Bt[Qt % Ct], ur = Bt[(Qt + 1) % Ct], gr[Qt] = Dc(wr, Pr, ur, Pt), wr = Pr, Pr = ur;
25832
- o.drawRoundPolygonPath(Le || t, pe.x + kt, pe.y + St, s * Fe, l * Me, Te, gr);
25841
+ o.drawRoundPolygonPath(Ie || t, pe.x + kt, pe.y + St, s * Fe, l * Me, Te, gr);
25833
25842
  } else if (["roundrectangle", "round-rectangle"].includes(re))
25834
- ue = ue === "auto" ? ba(_e, Re) : ue, o.drawRoundRectanglePath(Le || t, pe.x, pe.y, _e, Re, ue + (he + K + ne) / 2);
25843
+ ue = ue === "auto" ? ba(_e, Re) : ue, o.drawRoundRectanglePath(Ie || t, pe.x, pe.y, _e, Re, ue + (he + K + ne) / 2);
25835
25844
  else if (["cutrectangle", "cut-rectangle"].includes(re))
25836
- ue = ue === "auto" ? gc() : ue, o.drawCutRectanglePath(Le || t, pe.x, pe.y, _e, Re, null, ue + (he + K + ne) / 4);
25845
+ ue = ue === "auto" ? gc() : ue, o.drawCutRectanglePath(Ie || t, pe.x, pe.y, _e, Re, null, ue + (he + K + ne) / 4);
25837
25846
  else if (["bottomroundrectangle", "bottom-round-rectangle"].includes(re))
25838
- ue = ue === "auto" ? ba(_e, Re) : ue, o.drawBottomRoundRectanglePath(Le || t, pe.x, pe.y, _e, Re, ue + (he + K + ne) / 2);
25847
+ ue = ue === "auto" ? ba(_e, Re) : ue, o.drawBottomRoundRectanglePath(Ie || t, pe.x, pe.y, _e, Re, ue + (he + K + ne) / 2);
25839
25848
  else if (re === "barrel")
25840
- o.drawBarrelPath(Le || t, pe.x, pe.y, _e, Re);
25849
+ o.drawBarrelPath(Ie || t, pe.x, pe.y, _e, Re);
25841
25850
  else if (re.startsWith("polygon") || ["rhomboid", "right-rhomboid", "round-tag", "tag", "vee"].includes(re)) {
25842
25851
  var Tt = (he + K + ne) / s;
25843
- Te = Is(As(Te, Tt)), o.drawPolygonPath(Le || t, pe.x, pe.y, s, l, Te);
25852
+ Te = Ls(As(Te, Tt)), o.drawPolygonPath(Ie || t, pe.x, pe.y, s, l, Te);
25844
25853
  } else {
25845
25854
  var Nt = (he + K + ne) / s;
25846
- Te = Is(As(Te, -Nt)), o.drawPolygonPath(Le || t, pe.x, pe.y, s, l, Te);
25855
+ Te = Ls(As(Te, -Nt)), o.drawPolygonPath(Ie || t, pe.x, pe.y, s, l, Te);
25847
25856
  }
25848
- if (h ? t.stroke(Le) : t.stroke(), se === "double") {
25857
+ if (h ? t.stroke(Ie) : t.stroke(), se === "double") {
25849
25858
  t.lineWidth = he / 3;
25850
25859
  var kn = t.globalCompositeOperation;
25851
- t.globalCompositeOperation = "destination-out", h ? t.stroke(Le) : t.stroke(), t.globalCompositeOperation = kn;
25860
+ t.globalCompositeOperation = "destination-out", h ? t.stroke(Ie) : t.stroke(), t.globalCompositeOperation = kn;
25852
25861
  }
25853
25862
  t.setLineDash && t.setLineDash([]);
25854
25863
  }
@@ -26082,39 +26091,39 @@ br.render = function(t) {
26082
26091
  };
26083
26092
  }
26084
26093
  c[o.DRAG] = !1, c[o.NODE] = !1;
26085
- var L = u.contexts[o.NODE], N = o.textureCache.texture, x = o.textureCache.viewport;
26086
- L.setTransform(1, 0, 0, 1, 0, 0), v ? D(L, 0, 0, x.width, x.height) : L.clearRect(0, 0, x.width, x.height);
26087
- var I = y.core("outside-texture-bg-color").value, M = y.core("outside-texture-bg-opacity").value;
26088
- o.colorFillStyle(L, I[0], I[1], I[2], M), L.fillRect(0, 0, x.width, x.height);
26094
+ var I = u.contexts[o.NODE], N = o.textureCache.texture, x = o.textureCache.viewport;
26095
+ I.setTransform(1, 0, 0, 1, 0, 0), v ? D(I, 0, 0, x.width, x.height) : I.clearRect(0, 0, x.width, x.height);
26096
+ var L = y.core("outside-texture-bg-color").value, M = y.core("outside-texture-bg-opacity").value;
26097
+ o.colorFillStyle(I, L[0], L[1], L[2], M), I.fillRect(0, 0, x.width, x.height);
26089
26098
  var b = l.zoom();
26090
- O(L, !1), L.clearRect(x.mpan.x, x.mpan.y, x.width / x.zoom / s, x.height / x.zoom / s), L.drawImage(N, x.mpan.x, x.mpan.y, x.width / x.zoom / s, x.height / x.zoom / s);
26099
+ O(I, !1), I.clearRect(x.mpan.x, x.mpan.y, x.width / x.zoom / s, x.height / x.zoom / s), I.drawImage(N, x.mpan.x, x.mpan.y, x.width / x.zoom / s, x.height / x.zoom / s);
26091
26100
  } else o.textureOnViewport && !e && (o.textureCache = null);
26092
26101
  var F = l.extent(), $ = o.pinching || o.hoverData.dragging || o.swipePanning || o.data.wheelZooming || o.hoverData.draggingEles || o.cy.animated(), U = o.hideEdgesOnViewport && $, H = [];
26093
26102
  if (H[o.NODE] = !c[o.NODE] && v && !o.clearedForMotionBlur[o.NODE] || o.clearingMotionBlur, H[o.NODE] && (o.clearedForMotionBlur[o.NODE] = !0), H[o.DRAG] = !c[o.DRAG] && v && !o.clearedForMotionBlur[o.DRAG] || o.clearingMotionBlur, H[o.DRAG] && (o.clearedForMotionBlur[o.DRAG] = !0), c[o.NODE] || r || n || H[o.NODE]) {
26094
- var K = v && !H[o.NODE] && h !== 1, L = e || (K ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE] : u.contexts[o.NODE]), ee = v && !K ? "motionBlur" : void 0;
26095
- O(L, ee), U ? o.drawCachedNodes(L, _.nondrag, s, F) : o.drawLayeredElements(L, _.nondrag, s, F), o.debug && o.drawDebugPoints(L, _.nondrag), !r && !v && (c[o.NODE] = !1);
26103
+ var K = v && !H[o.NODE] && h !== 1, I = e || (K ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE] : u.contexts[o.NODE]), ee = v && !K ? "motionBlur" : void 0;
26104
+ O(I, ee), U ? o.drawCachedNodes(I, _.nondrag, s, F) : o.drawLayeredElements(I, _.nondrag, s, F), o.debug && o.drawDebugPoints(I, _.nondrag), !r && !v && (c[o.NODE] = !1);
26096
26105
  }
26097
26106
  if (!n && (c[o.DRAG] || r || H[o.DRAG])) {
26098
- var K = v && !H[o.DRAG] && h !== 1, L = e || (K ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG] : u.contexts[o.DRAG]);
26099
- O(L, v && !K ? "motionBlur" : void 0), U ? o.drawCachedNodes(L, _.drag, s, F) : o.drawCachedElements(L, _.drag, s, F), o.debug && o.drawDebugPoints(L, _.drag), !r && !v && (c[o.DRAG] = !1);
26107
+ var K = v && !H[o.DRAG] && h !== 1, I = e || (K ? o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG] : u.contexts[o.DRAG]);
26108
+ O(I, v && !K ? "motionBlur" : void 0), U ? o.drawCachedNodes(I, _.drag, s, F) : o.drawCachedElements(I, _.drag, s, F), o.debug && o.drawDebugPoints(I, _.drag), !r && !v && (c[o.DRAG] = !1);
26100
26109
  }
26101
26110
  if (o.showFps || !n && c[o.SELECT_BOX] && !r) {
26102
- var L = e || u.contexts[o.SELECT_BOX];
26103
- if (O(L), o.selection[4] == 1 && (o.hoverData.selecting || o.touchData.selecting)) {
26111
+ var I = e || u.contexts[o.SELECT_BOX];
26112
+ if (O(I), o.selection[4] == 1 && (o.hoverData.selecting || o.touchData.selecting)) {
26104
26113
  var b = o.cy.zoom(), se = y.core("selection-box-border-width").value / b;
26105
- L.lineWidth = se, L.fillStyle = "rgba(" + y.core("selection-box-color").value[0] + "," + y.core("selection-box-color").value[1] + "," + y.core("selection-box-color").value[2] + "," + y.core("selection-box-opacity").value + ")", L.fillRect(o.selection[0], o.selection[1], o.selection[2] - o.selection[0], o.selection[3] - o.selection[1]), se > 0 && (L.strokeStyle = "rgba(" + y.core("selection-box-border-color").value[0] + "," + y.core("selection-box-border-color").value[1] + "," + y.core("selection-box-border-color").value[2] + "," + y.core("selection-box-opacity").value + ")", L.strokeRect(o.selection[0], o.selection[1], o.selection[2] - o.selection[0], o.selection[3] - o.selection[1]));
26114
+ I.lineWidth = se, I.fillStyle = "rgba(" + y.core("selection-box-color").value[0] + "," + y.core("selection-box-color").value[1] + "," + y.core("selection-box-color").value[2] + "," + y.core("selection-box-opacity").value + ")", I.fillRect(o.selection[0], o.selection[1], o.selection[2] - o.selection[0], o.selection[3] - o.selection[1]), se > 0 && (I.strokeStyle = "rgba(" + y.core("selection-box-border-color").value[0] + "," + y.core("selection-box-border-color").value[1] + "," + y.core("selection-box-border-color").value[2] + "," + y.core("selection-box-opacity").value + ")", I.strokeRect(o.selection[0], o.selection[1], o.selection[2] - o.selection[0], o.selection[3] - o.selection[1]));
26106
26115
  }
26107
26116
  if (u.bgActivePosistion && !o.hoverData.selecting) {
26108
26117
  var b = o.cy.zoom(), oe = u.bgActivePosistion;
26109
- L.fillStyle = "rgba(" + y.core("active-bg-color").value[0] + "," + y.core("active-bg-color").value[1] + "," + y.core("active-bg-color").value[2] + "," + y.core("active-bg-opacity").value + ")", L.beginPath(), L.arc(oe.x, oe.y, y.core("active-bg-size").pfValue / b, 0, 2 * Math.PI), L.fill();
26118
+ I.fillStyle = "rgba(" + y.core("active-bg-color").value[0] + "," + y.core("active-bg-color").value[1] + "," + y.core("active-bg-color").value[2] + "," + y.core("active-bg-opacity").value + ")", I.beginPath(), I.arc(oe.x, oe.y, y.core("active-bg-size").pfValue / b, 0, 2 * Math.PI), I.fill();
26110
26119
  }
26111
26120
  var ne = o.lastRedrawTime;
26112
26121
  if (o.showFps && ne) {
26113
26122
  ne = Math.round(ne);
26114
26123
  var ue = Math.round(1e3 / ne);
26115
- L.setTransform(1, 0, 0, 1, 0, 0), L.fillStyle = "rgba(255, 0, 0, 0.75)", L.strokeStyle = "rgba(255, 0, 0, 0.75)", L.lineWidth = 1, L.fillText("1 frame = " + ne + " ms = " + ue + " fps", 0, 20);
26124
+ I.setTransform(1, 0, 0, 1, 0, 0), I.fillStyle = "rgba(255, 0, 0, 0.75)", I.strokeStyle = "rgba(255, 0, 0, 0.75)", I.lineWidth = 1, I.fillText("1 frame = " + ne + " ms = " + ue + " fps", 0, 20);
26116
26125
  var te = 60;
26117
- L.strokeRect(0, 30, 250, 20), L.fillRect(0, 30, 250 * Math.min(ue / te, 1), 20);
26126
+ I.strokeRect(0, 30, 250, 20), I.fillRect(0, 30, 250 * Math.min(ue / te, 1), 20);
26118
26127
  }
26119
26128
  r || (c[o.SELECT_BOX] = !1);
26120
26129
  }
@@ -26370,18 +26379,18 @@ function Tg(t) {
26370
26379
  x: Y.x + J.pstyle(ge + "text-margin-x").pfValue,
26371
26380
  y: Y.y + J.pstyle(ge + "text-margin-y").pfValue
26372
26381
  };
26373
- }, L = function(R, Y, J) {
26382
+ }, I = function(R, Y, J) {
26374
26383
  var ge = R[0]._private.rscratch;
26375
26384
  return {
26376
26385
  x: ge[Y],
26377
26386
  y: ge[J]
26378
26387
  };
26379
26388
  }, N = function(R) {
26380
- return A("", L(R, "labelX", "labelY"), R);
26381
- }, I = function(R) {
26382
- return A("source", L(R, "sourceLabelX", "sourceLabelY"), R);
26389
+ return A("", I(R, "labelX", "labelY"), R);
26390
+ }, L = function(R) {
26391
+ return A("source", I(R, "sourceLabelX", "sourceLabelY"), R);
26383
26392
  }, M = function(R) {
26384
- return A("target", L(R, "targetLabelX", "targetLabelY"), R);
26393
+ return A("target", I(R, "targetLabelX", "targetLabelY"), R);
26385
26394
  }, F = function(R) {
26386
26395
  return h(x(R));
26387
26396
  }, $ = function(R) {
@@ -26429,7 +26438,7 @@ function Tg(t) {
26429
26438
  getKey: g,
26430
26439
  drawElement: C,
26431
26440
  getBoundingBox: k,
26432
- getRotationPoint: I,
26441
+ getRotationPoint: L,
26433
26442
  getRotationOffset: $,
26434
26443
  isVisible: D
26435
26444
  }), oe = e.data.tlbTxrCache = new Hi(e, {
@@ -26652,11 +26661,11 @@ $O.forEach(function(t) {
26652
26661
  Pg(t.type, e.name, e.impl);
26653
26662
  });
26654
26663
  });
26655
- var Lg = function t() {
26664
+ var Ig = function t() {
26656
26665
  if (!(this instanceof t))
26657
26666
  return new t();
26658
26667
  this.length = 0;
26659
- }, xa = Lg.prototype;
26668
+ }, xa = Ig.prototype;
26660
26669
  xa.instanceString = function() {
26661
26670
  return "stylesheet";
26662
26671
  };
@@ -26720,18 +26729,18 @@ Ea.warnings = function(t) {
26720
26729
  return cp(t);
26721
26730
  };
26722
26731
  Ea.version = HO;
26723
- Ea.stylesheet = Ea.Stylesheet = Lg;
26732
+ Ea.stylesheet = Ea.Stylesheet = Ig;
26724
26733
  let KO = class extends EventTarget {
26725
26734
  constructor(r, n) {
26726
26735
  super();
26727
- Ir(this, "cyg", null);
26728
- Ir(this, "nodes", []);
26729
- Ir(this, "edges", []);
26730
- Ir(this, "axons", []);
26731
- Ir(this, "dendrites", []);
26732
- Ir(this, "somas", []);
26733
- Ir(this, "labelCache", /* @__PURE__ */ new Map());
26734
- Ir(this, "graphCanvas", null);
26736
+ Lr(this, "cyg", null);
26737
+ Lr(this, "nodes", []);
26738
+ Lr(this, "edges", []);
26739
+ Lr(this, "axons", []);
26740
+ Lr(this, "dendrites", []);
26741
+ Lr(this, "somas", []);
26742
+ Lr(this, "labelCache", /* @__PURE__ */ new Map());
26743
+ Lr(this, "graphCanvas", null);
26735
26744
  this.labelCache = r, this.graphCanvas = n;
26736
26745
  }
26737
26746
  async addConnectivity(r) {
@@ -26889,10 +26898,10 @@ const qO = "#8300bf", UO = "#f3ecf6", GO = [
26889
26898
  function WO(t) {
26890
26899
  const e = t.split(`
26891
26900
  `), r = e.length / 2, n = e.slice(r);
26892
- return Ig(n.join(`
26901
+ return Lg(n.join(`
26893
26902
  `));
26894
26903
  }
26895
- function Ig(t) {
26904
+ function Lg(t) {
26896
26905
  return t.split(`
26897
26906
  `).map((e) => e && e[0] >= "a" && e[0] <= "z" ? e.charAt(0).toUpperCase() + e.slice(1) : e).join(`
26898
26907
  `);
@@ -26918,8 +26927,8 @@ class jO extends EventTarget {
26918
26927
  constructor(r, n) {
26919
26928
  var a;
26920
26929
  super();
26921
- Ir(this, "cy");
26922
- Ir(this, "tooltip");
26930
+ Lr(this, "cy");
26931
+ Lr(this, "tooltip");
26923
26932
  this.cy = Ea({
26924
26933
  container: n,
26925
26934
  elements: r.elements,
@@ -26944,7 +26953,7 @@ class jO extends EventTarget {
26944
26953
  }
26945
26954
  overNode(r) {
26946
26955
  const a = r.target.data(), { label: i } = a, s = Tu(i).map((l) => l.label + " (" + l.id + ")");
26947
- this.tooltip.innerText = Ig(s.join(`
26956
+ this.tooltip.innerText = Lg(s.join(`
26948
26957
  `)), this.tooltip.style.left = `${r.renderedPosition.x}px`, this.tooltip.style.top = `${r.renderedPosition.y}px`, this.tooltip.style.maxWidth = "240px", this.tooltip.style.zIndex = 2, this.tooltip.hidden = !1, this.checkRightBoundary(r.renderedPosition.x), this.tapNode(r, !0);
26949
26958
  }
26950
26959
  moveNode(r) {
@@ -26969,7 +26978,7 @@ class jO extends EventTarget {
26969
26978
  this.addEventListener(r, n);
26970
26979
  }
26971
26980
  }
26972
- const ZO = 1.3, XO = 24 * 60 * 60 * 1e3, QO = "Reset position", gv = "Lock zoom", JO = "Unlock zoom", eL = "Zoom in", tL = "Zoom out", mv = 0.25, rL = "#8300bf", nL = 3e3, aL = {
26981
+ const ZO = 1.3, XO = 24 * 60 * 60 * 1e3, QO = "Reset position", gv = "Lock zoom", JO = "Unlock zoom", eI = "Zoom in", tI = "Zoom out", mv = 0.25, rI = "#8300bf", nI = 3e3, aI = {
26973
26982
  name: "ConnectivityGraph",
26974
26983
  props: {
26975
26984
  /**
@@ -27006,9 +27015,9 @@ const ZO = 1.3, XO = 24 * 60 * 60 * 1e3, QO = "Reset position", gv = "Lock zoom"
27006
27015
  labelCache: /* @__PURE__ */ new Map(),
27007
27016
  resetLabel: QO,
27008
27017
  zoomLockLabel: gv,
27009
- zoomInLabel: eL,
27010
- zoomOutLabel: tL,
27011
- iconColor: rL,
27018
+ zoomInLabel: eI,
27019
+ zoomOutLabel: tI,
27020
+ iconColor: rI,
27012
27021
  zoomEnabled: !1,
27013
27022
  connectivityError: null,
27014
27023
  timeoutID: void 0,
@@ -27190,27 +27199,27 @@ const ZO = 1.3, XO = 24 * 60 * 60 * 1e3, QO = "Reset position", gv = "Lock zoom"
27190
27199
  showErrorMessage: function(t) {
27191
27200
  this.connectivityError = { ...t }, this.timeoutID && clearTimeout(this.timeoutID), this.timeoutID = setTimeout(() => {
27192
27201
  this.connectivityError = null;
27193
- }, nL);
27202
+ }, nI);
27194
27203
  }
27195
27204
  }
27196
- }, iL = {
27205
+ }, iI = {
27197
27206
  class: "connectivity-graph",
27198
27207
  ref: "connectivityGraphRef"
27199
- }, oL = {
27208
+ }, oI = {
27200
27209
  ref: "graphCanvas",
27201
27210
  class: "graph-canvas"
27202
- }, sL = { class: "control-panel control-panel-tools" }, lL = { class: "visually-hidden" }, uL = { class: "visually-hidden" }, cL = { class: "visually-hidden" }, dL = { class: "visually-hidden" }, fL = /* @__PURE__ */ Bm('<div class="control-panel control-panel-nodes" data-v-b16499ed><div class="node-key" data-v-b16499ed><div class="key-box-container" data-v-b16499ed><div class="key-box key-box-dendrite" data-v-b16499ed> Origin </div><div class="key-box key-box-node" data-v-b16499ed> Components </div><div class="key-box key-box-axon" data-v-b16499ed> Destination </div></div></div></div>', 1), vL = {
27211
+ }, sI = { class: "control-panel control-panel-tools" }, lI = { class: "visually-hidden" }, uI = { class: "visually-hidden" }, cI = { class: "visually-hidden" }, dI = { class: "visually-hidden" }, fI = /* @__PURE__ */ Bm('<div class="control-panel control-panel-nodes" data-v-b16499ed><div class="node-key" data-v-b16499ed><div class="key-box-container" data-v-b16499ed><div class="key-box key-box-dendrite" data-v-b16499ed> Origin </div><div class="key-box key-box-node" data-v-b16499ed> Components </div><div class="key-box key-box-axon" data-v-b16499ed> Destination </div></div></div></div>', 1), vI = {
27203
27212
  key: 0,
27204
27213
  class: "connectivity-graph-error"
27205
- }, hL = { key: 0 }, pL = {
27214
+ }, hI = { key: 0 }, pI = {
27206
27215
  key: 1,
27207
27216
  class: "loading-error"
27208
27217
  };
27209
- function gL(t, e, r, n, a, i) {
27210
- const o = n2, s = Ht, l = Hr, u = ko, c = k2, d = T2, v = I2, h = F2, f = oc;
27211
- return Ze((B(), W("div", iL, [
27212
- G("div", oL, null, 512),
27213
- G("div", sL, [
27218
+ function gI(t, e, r, n, a, i) {
27219
+ const o = n2, s = Ht, l = Hr, u = ko, c = k2, d = T2, v = L2, h = F2, f = oc;
27220
+ return Ze((B(), W("div", iI, [
27221
+ G("div", oI, null, 512),
27222
+ G("div", sI, [
27214
27223
  G("div", {
27215
27224
  class: ie(["tools", { "zoom-locked": t.zoomEnabled }])
27216
27225
  }, [
@@ -27234,7 +27243,7 @@ function gL(t, e, r, n, a, i) {
27234
27243
  ]),
27235
27244
  _: 1
27236
27245
  }),
27237
- G("span", lL, De(t.resetLabel), 1)
27246
+ G("span", lI, De(t.resetLabel), 1)
27238
27247
  ]),
27239
27248
  _: 1
27240
27249
  }, 8, ["onClick"])
@@ -27261,7 +27270,7 @@ function gL(t, e, r, n, a, i) {
27261
27270
  ]),
27262
27271
  _: 1
27263
27272
  }),
27264
- G("span", uL, De(t.zoomLockLabel), 1)
27273
+ G("span", uI, De(t.zoomLockLabel), 1)
27265
27274
  ]),
27266
27275
  _: 1
27267
27276
  }, 8, ["onClick"])
@@ -27288,7 +27297,7 @@ function gL(t, e, r, n, a, i) {
27288
27297
  ]),
27289
27298
  _: 1
27290
27299
  }),
27291
- G("span", cL, De(t.zoomInLabel), 1)
27300
+ G("span", cI, De(t.zoomInLabel), 1)
27292
27301
  ]),
27293
27302
  _: 1
27294
27303
  }, 8, ["onClick"])
@@ -27315,7 +27324,7 @@ function gL(t, e, r, n, a, i) {
27315
27324
  ]),
27316
27325
  _: 1
27317
27326
  }),
27318
- G("span", dL, De(t.zoomOutLabel), 1)
27327
+ G("span", dI, De(t.zoomOutLabel), 1)
27319
27328
  ]),
27320
27329
  _: 1
27321
27330
  }, 8, ["onClick"])
@@ -27324,19 +27333,19 @@ function gL(t, e, r, n, a, i) {
27324
27333
  }, 8, ["content", "append-to"])
27325
27334
  ], 2)
27326
27335
  ]),
27327
- fL,
27328
- t.connectivityError ? (B(), W("div", vL, [
27329
- t.connectivityError.errorConnectivities ? (B(), W("strong", hL, De(t.connectivityError.errorConnectivities), 1)) : de("", !0),
27336
+ fI,
27337
+ t.connectivityError ? (B(), W("div", vI, [
27338
+ t.connectivityError.errorConnectivities ? (B(), W("strong", hI, De(t.connectivityError.errorConnectivities), 1)) : de("", !0),
27330
27339
  Be(" " + De(t.connectivityError.errorMessage), 1)
27331
27340
  ])) : de("", !0),
27332
- t.loadingError ? (B(), W("div", pL, De(t.loadingError), 1)) : de("", !0)
27341
+ t.loadingError ? (B(), W("div", pI, De(t.loadingError), 1)) : de("", !0)
27333
27342
  ])), [
27334
27343
  [f, t.loading]
27335
27344
  ]);
27336
27345
  }
27337
- const mA = /* @__PURE__ */ Ur(aL, [["render", gL], ["__scopeId", "data-v-b16499ed"]]), mL = function(t) {
27346
+ const mA = /* @__PURE__ */ Ur(aI, [["render", gI], ["__scopeId", "data-v-b16499ed"]]), mI = function(t) {
27338
27347
  return t ? t.charAt(0).toUpperCase() + t.slice(1) : "";
27339
- }, yL = {
27348
+ }, yI = {
27340
27349
  name: "ConnectionDialog",
27341
27350
  props: {
27342
27351
  connectionEntry: {
@@ -27362,25 +27371,25 @@ const mA = /* @__PURE__ */ Ur(aL, [["render", gL], ["__scopeId", "data-v-b16499e
27362
27371
  return this.tooltipId === t ? "always" : "hover";
27363
27372
  },
27364
27373
  capitalize: function(t) {
27365
- return mL(t);
27374
+ return mI(t);
27366
27375
  },
27367
27376
  handleTooltip: function(t) {
27368
27377
  this.tooltipId = this.tooltipId === t ? void 0 : t, this.$emit("featureTooltip", this.tooltipId);
27369
27378
  }
27370
27379
  }
27371
- }, Lc = (t) => (di("data-v-1ddab772"), t = t(), fi(), t), bL = { class: "dialog-container" }, wL = /* @__PURE__ */ Lc(() => /* @__PURE__ */ G("span", { class: "dialog-title" }, "Finalize drawing", -1)), CL = /* @__PURE__ */ Lc(() => /* @__PURE__ */ G("span", { class: "dialog-title" }, "Visualize connection", -1)), xL = /* @__PURE__ */ Lc(() => /* @__PURE__ */ G("b", null, [
27380
+ }, Ic = (t) => (di("data-v-1ddab772"), t = t(), fi(), t), bI = { class: "dialog-container" }, wI = /* @__PURE__ */ Ic(() => /* @__PURE__ */ G("span", { class: "dialog-title" }, "Finalize drawing", -1)), CI = /* @__PURE__ */ Ic(() => /* @__PURE__ */ G("span", { class: "dialog-title" }, "Visualize connection", -1)), xI = /* @__PURE__ */ Ic(() => /* @__PURE__ */ G("b", null, [
27372
27381
  /* @__PURE__ */ G("span", null, "Related Features")
27373
- ], -1)), EL = { class: "connection-label" };
27374
- function kL(t, e, r, n, a, i) {
27382
+ ], -1)), EI = { class: "connection-label" };
27383
+ function kI(t, e, r, n, a, i) {
27375
27384
  const o = Hr, s = Js, l = So, u = el, c = xE;
27376
- return B(), W("div", bL, [
27385
+ return B(), W("div", bI, [
27377
27386
  Z(s, null, {
27378
27387
  default: q(() => [
27379
27388
  Z(l, null, {
27380
27389
  default: q(() => [
27381
27390
  r.inDrawing ? (B(), ye(s, { key: 0 }, {
27382
27391
  default: q(() => [
27383
- wL,
27392
+ wI,
27384
27393
  Z(o, {
27385
27394
  type: "primary",
27386
27395
  plain: "",
@@ -27405,7 +27414,7 @@ function kL(t, e, r, n, a, i) {
27405
27414
  _: 1
27406
27415
  })) : (B(), ye(s, { key: 1 }, {
27407
27416
  default: q(() => [
27408
- CL,
27417
+ CI,
27409
27418
  Z(o, {
27410
27419
  type: "primary",
27411
27420
  plain: "",
@@ -27429,8 +27438,8 @@ function kL(t, e, r, n, a, i) {
27429
27438
  default: q(() => [
27430
27439
  Z(l, null, {
27431
27440
  default: q(() => [
27432
- xL,
27433
- (B(!0), W(Ye, null, It(r.connectionEntry, (d, v) => (B(), ye(s, { key: v }, {
27441
+ xI,
27442
+ (B(!0), W(Ye, null, Lt(r.connectionEntry, (d, v) => (B(), ye(s, { key: v }, {
27434
27443
  default: q(() => [
27435
27444
  Z(c, {
27436
27445
  shadow: i.shadowDisplay(v),
@@ -27444,7 +27453,7 @@ function kL(t, e, r, n, a, i) {
27444
27453
  content: i.capitalize(d.label)
27445
27454
  }, {
27446
27455
  reference: q(() => [
27447
- G("span", EL, De(i.capitalize(d.label)), 1)
27456
+ G("span", EI, De(i.capitalize(d.label)), 1)
27448
27457
  ]),
27449
27458
  _: 2
27450
27459
  }, 1032, ["disabled", "content"])
@@ -27462,12 +27471,12 @@ function kL(t, e, r, n, a, i) {
27462
27471
  })) : de("", !0)
27463
27472
  ]);
27464
27473
  }
27465
- const SL = /* @__PURE__ */ Ur(yL, [["render", kL], ["__scopeId", "data-v-1ddab772"]]), Ag = (t, e) => {
27474
+ const SI = /* @__PURE__ */ Ur(yI, [["render", kI], ["__scopeId", "data-v-1ddab772"]]), Ag = (t, e) => {
27466
27475
  const r = t.__vccOpts || t;
27467
27476
  for (const [n, a] of e)
27468
27477
  r[n] = a;
27469
27478
  return r;
27470
- }, TL = ["xlink:href"], _L = {
27479
+ }, TI = ["xlink:href"], _I = {
27471
27480
  __name: "SvgIcon",
27472
27481
  props: {
27473
27482
  /**
@@ -27491,10 +27500,10 @@ const SL = /* @__PURE__ */ Ur(yL, [["render", kL], ["__scopeId", "data-v-1ddab77
27491
27500
  }, [
27492
27501
  G("use", {
27493
27502
  "xlink:href": `#${t.icon}`
27494
- }, null, 8, TL)
27503
+ }, null, 8, TI)
27495
27504
  ], 2));
27496
27505
  }
27497
- }, DL = /* @__PURE__ */ Ag(_L, [["__scopeId", "data-v-e172d5ff"]]), Fg = `<?xml version="1.0" encoding="UTF-8"?>
27506
+ }, DI = /* @__PURE__ */ Ag(_I, [["__scopeId", "data-v-e172d5ff"]]), Fg = `<?xml version="1.0" encoding="UTF-8"?>
27498
27507
  <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
27499
27508
  <title>2horpanel</title>
27500
27509
  <g id="2horpanel" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
@@ -27930,7 +27939,7 @@ const SL = /* @__PURE__ */ Ur(yL, [["render", kL], ["__scopeId", "data-v-1ddab77
27930
27939
  // replace whitespace sequences with a single space
27931
27940
  [/\> \</g, "><"]
27932
27941
  // remove whitespace between tags
27933
- ].reduce((e, r) => "".replace.apply(e, r), t).trim(), PL = !0, OL = !0, LL = ["fill"], _u = /* @__PURE__ */ Object.assign({
27942
+ ].reduce((e, r) => "".replace.apply(e, r), t).trim(), PI = !0, OI = !0, II = ["fill"], _u = /* @__PURE__ */ Object.assign({
27934
27943
  "/assets/icons/2horpanel.svg": Fg,
27935
27944
  "/assets/icons/2vertpanel.svg": Mg,
27936
27945
  "/assets/icons/3panel.svg": Bg,
@@ -27964,11 +27973,11 @@ const SL = /* @__PURE__ */ Ur(yL, [["render", kL], ["__scopeId", "data-v-1ddab77
27964
27973
  "/assets/icons/undock.svg": cm,
27965
27974
  "/assets/icons/zoomIn.svg": dm,
27966
27975
  "/assets/icons/zoomOut.svg": fm
27967
- }), IL = Object.keys(_u).map((t) => {
27968
- const e = vm(_u[t], PL, OL, LL), r = t.replace(/^.+\/(\w+).svg$/, "$1");
27976
+ }), LI = Object.keys(_u).map((t) => {
27977
+ const e = vm(_u[t], PI, OI, II), r = t.replace(/^.+\/(\w+).svg$/, "$1");
27969
27978
  return hm(e).replace("<svg", `<symbol id="${r}"`).replace("svg>", "symbol>");
27970
27979
  });
27971
- IL.join(`
27980
+ LI.join(`
27972
27981
  `);
27973
27982
  const Du = /* @__PURE__ */ Object.assign({
27974
27983
  "/assets/icons/2horpanel.svg": Fg,
@@ -28004,25 +28013,25 @@ const Du = /* @__PURE__ */ Object.assign({
28004
28013
  "/assets/icons/undock.svg": cm,
28005
28014
  "/assets/icons/zoomIn.svg": dm,
28006
28015
  "/assets/icons/zoomOut.svg": fm
28007
- }), AL = Object.keys(Du).map((t) => {
28016
+ }), AI = Object.keys(Du).map((t) => {
28008
28017
  const e = vm(Du[t]), r = t.replace(/^.+\/(\w+).svg$/, "$1");
28009
28018
  return hm(e).replace("<svg", `<symbol id="${r}"`).replace("svg>", "symbol>");
28010
- }), FL = {
28019
+ }), FI = {
28011
28020
  name: "MapSvgSpriteColor",
28012
28021
  svgContext: Du,
28013
- svgSprite: AL.join(`
28022
+ svgSprite: AI.join(`
28014
28023
  `)
28015
28024
  // concatenate all symbols into $options.svgSprite
28016
- }, ML = ["innerHTML"];
28017
- function BL(t, e, r, n, a, i) {
28025
+ }, MI = ["innerHTML"];
28026
+ function BI(t, e, r, n, a, i) {
28018
28027
  return B(), W("svg", {
28019
28028
  width: "0",
28020
28029
  height: "0",
28021
28030
  style: { display: "none" },
28022
28031
  innerHTML: t.$options.svgSprite
28023
- }, null, 8, ML);
28032
+ }, null, 8, MI);
28024
28033
  }
28025
- const NL = /* @__PURE__ */ Ag(FL, [["render", BL]]), RL = (t, e) => {
28034
+ const NI = /* @__PURE__ */ Ag(FI, [["render", BI]]), RI = (t, e) => {
28026
28035
  let r, n, a, i, o, s;
28027
28036
  e.style.left = "", e.style.top = "", e.addEventListener(
28028
28037
  "mousedown",
@@ -28040,11 +28049,11 @@ const NL = /* @__PURE__ */ Ag(FL, [["render", BL]]), RL = (t, e) => {
28040
28049
  function l(u) {
28041
28050
  u.preventDefault(), o = r - (a - u.clientX), s = n - (i - u.clientY), e.style.left = `${o}px`, e.style.top = `${s}px`;
28042
28051
  }
28043
- }, $L = {
28052
+ }, $I = {
28044
28053
  name: "DrawToolbar",
28045
28054
  components: {
28046
- MapSvgIcon: DL,
28047
- MapSvgSpriteColor: NL
28055
+ MapSvgIcon: DI,
28056
+ MapSvgSpriteColor: NI
28048
28057
  },
28049
28058
  props: {
28050
28059
  /**
@@ -28264,7 +28273,7 @@ const NL = /* @__PURE__ */ Ag(FL, [["render", BL]]), RL = (t, e) => {
28264
28273
  dialogCssHacks: function() {
28265
28274
  this.$nextTick(() => {
28266
28275
  const t = this.$el.querySelector(".connection-dialog");
28267
- RL(this.mapCanvas.containerHTML, t);
28276
+ RI(this.mapCanvas.containerHTML, t);
28268
28277
  let e, r;
28269
28278
  const n = this.mapCanvas.containerHTML.getBoundingClientRect(), a = t.getBoundingClientRect();
28270
28279
  this.dialogPosition.x > n.width / 2 ? e = this.dialogPosition.x - a.width : e = this.dialogPosition.x, this.dialogPosition.y > n.height / 2 ? r = this.dialogPosition.y - a.height : r = this.dialogPosition.y, t.style.transform = `translate(${e - this.dialogPosition.offsetX}px, ${r - this.dialogPosition.offsetY}px)`;
@@ -28291,12 +28300,12 @@ const NL = /* @__PURE__ */ Ag(FL, [["render", BL]]), RL = (t, e) => {
28291
28300
  destroyed: function() {
28292
28301
  this.mapCanvas && this.mapCanvas.containerHTML.querySelector(this.mapCanvas.class).removeEventListener("click", this.dialogPopUpPositionHandler, !1);
28293
28302
  }
28294
- }, zL = { class: "toolbar-container" }, VL = { class: "toolbar-icons" };
28295
- function HL(t, e, r, n, a, i) {
28296
- const o = Jt("map-svg-sprite-color"), s = Jt("map-svg-icon"), l = el, u = SL;
28297
- return B(), W("div", zL, [
28303
+ }, zI = { class: "toolbar-container" }, VI = { class: "toolbar-icons" };
28304
+ function HI(t, e, r, n, a, i) {
28305
+ const o = Jt("map-svg-sprite-color"), s = Jt("map-svg-icon"), l = el, u = SI;
28306
+ return B(), W("div", zI, [
28298
28307
  Z(o),
28299
- G("div", VL, [
28308
+ G("div", VI, [
28300
28309
  i.showEditModeIcon ? (B(), ye(l, {
28301
28310
  key: 0,
28302
28311
  content: "Edit Mode",
@@ -28445,7 +28454,7 @@ function HL(t, e, r, n, a, i) {
28445
28454
  ]) : de("", !0)
28446
28455
  ]);
28447
28456
  }
28448
- const yA = /* @__PURE__ */ Ur($L, [["render", HL], ["__scopeId", "data-v-8a96a220"]]), KL = {
28457
+ const yA = /* @__PURE__ */ Ur($I, [["render", HI], ["__scopeId", "data-v-8a96a220"]]), KI = {
28449
28458
  name: "HelpModeDialog",
28450
28459
  props: {
28451
28460
  /**
@@ -28579,19 +28588,19 @@ const yA = /* @__PURE__ */ Ur($L, [["render", HL], ["__scopeId", "data-v-8a96a22
28579
28588
  return r ? r[r.length - 1].slice(10, -1) : "";
28580
28589
  }
28581
28590
  }
28582
- }, Ic = (t) => (di("data-v-3efb89fb"), t = t(), fi(), t), qL = /* @__PURE__ */ Ic(() => /* @__PURE__ */ G("h4", null, "Help Mode", -1)), UL = /* @__PURE__ */ Ic(() => /* @__PURE__ */ G("p", null, [
28591
+ }, Lc = (t) => (di("data-v-3efb89fb"), t = t(), fi(), t), qI = /* @__PURE__ */ Lc(() => /* @__PURE__ */ G("h4", null, "Help Mode", -1)), UI = /* @__PURE__ */ Lc(() => /* @__PURE__ */ G("p", null, [
28583
28592
  /* @__PURE__ */ Be(" All caught up! "),
28584
28593
  /* @__PURE__ */ G("br"),
28585
28594
  /* @__PURE__ */ Be(" Click 'Help' to restart. ")
28586
- ], -1)), GL = /* @__PURE__ */ Ic(() => /* @__PURE__ */ G("p", null, 'Click "Next" to see the next item.', -1));
28587
- function WL(t, e, r, n, a, i) {
28595
+ ], -1)), GI = /* @__PURE__ */ Lc(() => /* @__PURE__ */ G("p", null, 'Click "Next" to see the next item.', -1));
28596
+ function WI(t, e, r, n, a, i) {
28588
28597
  const o = Hr;
28589
28598
  return B(), W("div", {
28590
28599
  class: ie(["help-mode-dialog", { finish: r.lastItem }])
28591
28600
  }, [
28592
- qL,
28601
+ qI,
28593
28602
  r.lastItem ? (B(), W(Ye, { key: 0 }, [
28594
- UL,
28603
+ UI,
28595
28604
  G("div", null, [
28596
28605
  Z(o, {
28597
28606
  class: "button",
@@ -28604,7 +28613,7 @@ function WL(t, e, r, n, a, i) {
28604
28613
  }, 8, ["onClick"])
28605
28614
  ])
28606
28615
  ], 64)) : (B(), W(Ye, { key: 1 }, [
28607
- GL,
28616
+ GI,
28608
28617
  G("div", null, [
28609
28618
  Z(o, {
28610
28619
  class: "button",
@@ -28628,7 +28637,7 @@ function WL(t, e, r, n, a, i) {
28628
28637
  ], 64))
28629
28638
  ], 2);
28630
28639
  }
28631
- const bA = /* @__PURE__ */ Ur(KL, [["render", WL], ["__scopeId", "data-v-3efb89fb"]]), YL = (t) => new Promise((e) => setTimeout(e, t)), jL = "https://citation.doi.org", ZL = [
28640
+ const bA = /* @__PURE__ */ Ur(KI, [["render", WI], ["__scopeId", "data-v-3efb89fb"]]), YI = (t) => new Promise((e) => setTimeout(e, t)), jI = "https://citation.doi.org", ZI = [
28632
28641
  {
28633
28642
  label: "APA",
28634
28643
  value: "apa"
@@ -28645,7 +28654,7 @@ const bA = /* @__PURE__ */ Ur(KL, [["render", WL], ["__scopeId", "data-v-3efb89f
28645
28654
  label: "Bibtex",
28646
28655
  value: "bibtex"
28647
28656
  }
28648
- ], Yl = "apa", XL = 600, QL = {
28657
+ ], Yl = "apa", XI = 600, QI = {
28649
28658
  name: "ExternalResourceCard",
28650
28659
  props: {
28651
28660
  resources: {
@@ -28659,9 +28668,9 @@ const bA = /* @__PURE__ */ Ur(KL, [["render", WL], ["__scopeId", "data-v-3efb89f
28659
28668
  openLibReferences: [],
28660
28669
  isbnDBReferences: [],
28661
28670
  referecesListContent: "",
28662
- citationOptions: ZL,
28671
+ citationOptions: ZI,
28663
28672
  citationType: Yl,
28664
- crosscite_host: jL
28673
+ crosscite_host: jI
28665
28674
  };
28666
28675
  },
28667
28676
  watch: {
@@ -28802,7 +28811,7 @@ const bA = /* @__PURE__ */ Ur(KL, [["render", WL], ["__scopeId", "data-v-3efb89f
28802
28811
  getCitationText: function(t) {
28803
28812
  async function e(r) {
28804
28813
  for (let n = 0; n < r.pubMedReferences.length; n++)
28805
- r.generateCitationText(r.pubMedReferences[n], t), r.pubMedReferences.length > 3 && n < r.pubMedReferences.length - 1 && await YL(XL);
28814
+ r.generateCitationText(r.pubMedReferences[n], t), r.pubMedReferences.length > 3 && n < r.pubMedReferences.length - 1 && await YI(XI);
28806
28815
  }
28807
28816
  e(this);
28808
28817
  },
@@ -28889,24 +28898,24 @@ const bA = /* @__PURE__ */ Ur(KL, [["render", WL], ["__scopeId", "data-v-3efb89f
28889
28898
  }
28890
28899
  }
28891
28900
  }
28892
- }, Oa = (t) => (di("data-v-44a32829"), t = t(), fi(), t), JL = { class: "resource-container" }, eI = { class: "attribute-title-container" }, tI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("div", { class: "attribute-title" }, "References", -1)), rI = { class: "copy-button" }, nI = {
28901
+ }, Oa = (t) => (di("data-v-44a32829"), t = t(), fi(), t), JI = { class: "resource-container" }, eL = { class: "attribute-title-container" }, tL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("div", { class: "attribute-title" }, "References", -1)), rL = { class: "copy-button" }, nL = {
28893
28902
  key: 0,
28894
28903
  class: "citation-tabs"
28895
- }, aI = { class: "citation-list" }, iI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("span", null, "Internal Server Error", -1)), oI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), sI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), lI = ["href"], uI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), cI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("span", null, "Sorry, something went wrong.", -1)), dI = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), fI = ["onClick"], vI = ["innerHTML"], hI = { class: "reference-button-container" }, pI = ["innerHTML"], gI = { class: "reference-button-container" }, mI = ["href"], yI = { class: "reference-button-container" };
28896
- function bI(t, e, r, n, a, i) {
28904
+ }, aL = { class: "citation-list" }, iL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("span", null, "Internal Server Error", -1)), oL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), sL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), lL = ["href"], uL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), cL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("span", null, "Sorry, something went wrong.", -1)), dL = /* @__PURE__ */ Oa(() => /* @__PURE__ */ G("br", null, null, -1)), fL = ["onClick"], vL = ["innerHTML"], hL = { class: "reference-button-container" }, pL = ["innerHTML"], gL = { class: "reference-button-container" }, mL = ["href"], yL = { class: "reference-button-container" };
28905
+ function bL(t, e, r, n, a, i) {
28897
28906
  const o = Gh, s = Hr;
28898
- return B(), W("div", JL, [
28899
- G("div", eI, [
28900
- tI,
28901
- G("div", rI, [
28907
+ return B(), W("div", JI, [
28908
+ G("div", eL, [
28909
+ tL,
28910
+ G("div", rL, [
28902
28911
  Z(o, {
28903
28912
  label: "Copy list to clipboard",
28904
28913
  content: t.referecesListContent
28905
28914
  }, null, 8, ["content"])
28906
28915
  ])
28907
28916
  ]),
28908
- i.referencesWithDOI ? (B(), W("div", nI, [
28909
- (B(!0), W(Ye, null, It(t.citationOptions, (l) => (B(), ye(s, {
28917
+ i.referencesWithDOI ? (B(), W("div", nL, [
28918
+ (B(!0), W(Ye, null, Lt(t.citationOptions, (l) => (B(), ye(s, {
28910
28919
  link: "",
28911
28920
  key: l.value,
28912
28921
  type: t.citationType === l.value ? "primary" : "",
@@ -28918,8 +28927,8 @@ function bI(t, e, r, n, a, i) {
28918
28927
  _: 2
28919
28928
  }, 1032, ["type", "onClick"]))), 128))
28920
28929
  ])) : de("", !0),
28921
- G("ul", aI, [
28922
- (B(!0), W(Ye, null, It(t.pubMedReferences, (l) => {
28930
+ G("ul", aL, [
28931
+ (B(!0), W(Ye, null, Lt(t.pubMedReferences, (l) => {
28923
28932
  var u, c, d, v;
28924
28933
  return B(), W("li", {
28925
28934
  key: l.id,
@@ -28930,31 +28939,31 @@ function bI(t, e, r, n, a, i) {
28930
28939
  }, [
28931
28940
  l.citation ? (B(), W(Ye, { key: 0 }, [
28932
28941
  ((u = l.citation.error) == null ? void 0 : u.ref) === "doi" && ((c = l.citation.error) == null ? void 0 : c.type) === t.citationType ? (B(), W(Ye, { key: 0 }, [
28933
- iI,
28934
- oI,
28942
+ iL,
28943
+ oL,
28935
28944
  Be(" Sorry, something went wrong."),
28936
- sI,
28945
+ sL,
28937
28946
  Be(" The dataset citation generator ("),
28938
28947
  G("a", {
28939
28948
  href: t.crosscite_host,
28940
28949
  target: "_blank"
28941
- }, De(t.crosscite_host), 9, lI),
28950
+ }, De(t.crosscite_host), 9, lL),
28942
28951
  Be(") encountered an internal error and was unable to complete your request."),
28943
- uI,
28952
+ uL,
28944
28953
  Be(" Please come back later. ")
28945
28954
  ], 64)) : ((d = l.citation.error) == null ? void 0 : d.ref) === "pubmed" && ((v = l.citation.error) == null ? void 0 : v.type) === t.citationType ? (B(), W(Ye, { key: 1 }, [
28946
- cI,
28947
- dI,
28955
+ cL,
28956
+ dL,
28948
28957
  Be(" Please try again. "),
28949
28958
  G("span", {
28950
28959
  class: "reload-button",
28951
28960
  onClick: (h) => i.reloadCitation(l)
28952
- }, "Reload", 8, fI)
28961
+ }, "Reload", 8, fL)
28953
28962
  ], 64)) : (B(), W(Ye, { key: 2 }, [
28954
28963
  G("span", {
28955
28964
  innerHTML: l.citation[t.citationType]
28956
- }, null, 8, vI),
28957
- G("div", hI, [
28965
+ }, null, 8, vL),
28966
+ G("div", hL, [
28958
28967
  Z(s, {
28959
28968
  class: "reference-icon-button",
28960
28969
  size: "small",
@@ -28973,11 +28982,11 @@ function bI(t, e, r, n, a, i) {
28973
28982
  ], 64)) : de("", !0)
28974
28983
  ], 2);
28975
28984
  }), 128)),
28976
- (B(!0), W(Ye, null, It(t.openLibReferences, (l) => (B(), W("li", null, [
28985
+ (B(!0), W(Ye, null, Lt(t.openLibReferences, (l) => (B(), W("li", null, [
28977
28986
  G("div", {
28978
28987
  innerHTML: i.formatCopyReference(l)
28979
- }, null, 8, pI),
28980
- G("div", gI, [
28988
+ }, null, 8, pL),
28989
+ G("div", gL, [
28981
28990
  Z(s, {
28982
28991
  class: "reference-icon-button",
28983
28992
  size: "small",
@@ -28993,12 +29002,12 @@ function bI(t, e, r, n, a, i) {
28993
29002
  content: i.formatCopyReference(l)
28994
29003
  }, null, 8, ["content"])
28995
29004
  ]))), 256)),
28996
- (B(!0), W(Ye, null, It(t.isbnDBReferences, (l) => (B(), W("li", null, [
29005
+ (B(!0), W(Ye, null, Lt(t.isbnDBReferences, (l) => (B(), W("li", null, [
28997
29006
  G("a", {
28998
29007
  href: l.url,
28999
29008
  target: "_blank"
29000
- }, De(l.url), 9, mI),
29001
- G("div", yI, [
29009
+ }, De(l.url), 9, mL),
29010
+ G("div", yL, [
29002
29011
  Z(s, {
29003
29012
  class: "reference-icon-button",
29004
29013
  size: "small",
@@ -29017,8 +29026,8 @@ function bI(t, e, r, n, a, i) {
29017
29026
  ])
29018
29027
  ]);
29019
29028
  }
29020
- const wI = /* @__PURE__ */ Ur(QL, [["render", bI], ["__scopeId", "data-v-44a32829"]]);
29021
- function CI(t) {
29029
+ const wL = /* @__PURE__ */ Ur(QI, [["render", bL], ["__scopeId", "data-v-44a32829"]]);
29030
+ function CL(t) {
29022
29031
  return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
29023
29032
  var n = t.get(e);
29024
29033
  n ? n.push(r) : t.set(e, [r]);
@@ -29034,9 +29043,9 @@ function CI(t) {
29034
29043
  });
29035
29044
  } };
29036
29045
  }
29037
- const ys = new CI(), xI = (t) => t.replace(/\w\S*/g, (e) => e.charAt(0).toUpperCase() + e.substr(1).toLowerCase()), EI = function(t) {
29046
+ const ys = new CL(), xL = (t) => t.replace(/\w\S*/g, (e) => e.charAt(0).toUpperCase() + e.substr(1).toLowerCase()), EL = function(t) {
29038
29047
  return t ? t.charAt(0).toUpperCase() + t.slice(1) : "";
29039
- }, kI = {
29048
+ }, kL = {
29040
29049
  name: "ProvenancePopup",
29041
29050
  props: {
29042
29051
  tooltipEntry: {
@@ -29089,10 +29098,10 @@ const ys = new CI(), xI = (t) => t.replace(/\w\S*/g, (e) => e.charAt(0).toUpperC
29089
29098
  },
29090
29099
  methods: {
29091
29100
  titleCase: function(t) {
29092
- return xI(t);
29101
+ return xL(t);
29093
29102
  },
29094
29103
  capitalise: function(t) {
29095
- return EI(t);
29104
+ return EL(t);
29096
29105
  },
29097
29106
  openUrl: function(t) {
29098
29107
  window.open(t, "_blank");
@@ -29119,56 +29128,56 @@ const ys = new CI(), xI = (t) => t.replace(/\w\S*/g, (e) => e.charAt(0).toUpperC
29119
29128
  this.pubmedSearchUrl = t;
29120
29129
  }
29121
29130
  }
29122
- }, Ti = (t) => (di("data-v-3d217adc"), t = t(), fi(), t), SI = {
29131
+ }, Ti = (t) => (di("data-v-3d217adc"), t = t(), fi(), t), SL = {
29123
29132
  key: 0,
29124
29133
  class: "main"
29125
- }, TI = {
29134
+ }, TL = {
29126
29135
  key: 0,
29127
29136
  class: "block"
29128
- }, _I = { class: "title" }, DI = {
29137
+ }, _L = { class: "title" }, DL = {
29129
29138
  key: 0,
29130
29139
  class: "subtitle"
29131
- }, PI = {
29140
+ }, PL = {
29132
29141
  key: 1,
29133
29142
  class: "block"
29134
- }, OI = { class: "title" }, LI = {
29143
+ }, OL = { class: "title" }, IL = {
29135
29144
  key: 2,
29136
29145
  class: "attribute-title-container"
29137
- }, II = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { class: "attribute-title" }, "Alert", -1)), AI = { style: { "word-break": "keep-all" } }, FI = { class: "content-container scrollbar" }, MI = {
29146
+ }, LL = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { class: "attribute-title" }, "Alert", -1)), AL = { style: { "word-break": "keep-all" } }, FL = { class: "content-container scrollbar" }, ML = {
29138
29147
  key: 0,
29139
29148
  class: "block"
29140
- }, BI = { class: "attribute-title-container" }, NI = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { class: "attribute-title" }, "Origin", -1)), RI = { style: { "word-break": "keep-all" } }, $I = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("i", null, "Origin", -1)), zI = ["origin-item-label"], VI = {
29149
+ }, BL = { class: "attribute-title-container" }, NL = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { class: "attribute-title" }, "Origin", -1)), RL = { style: { "word-break": "keep-all" } }, $L = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("i", null, "Origin", -1)), zL = ["origin-item-label"], VL = {
29141
29150
  key: 0,
29142
29151
  class: "separator"
29143
- }, HI = {
29152
+ }, HL = {
29144
29153
  key: 1,
29145
29154
  class: "block"
29146
- }, KI = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("div", { class: "attribute-title-container" }, [
29155
+ }, KL = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("div", { class: "attribute-title-container" }, [
29147
29156
  /* @__PURE__ */ G("div", { class: "attribute-title" }, "Components")
29148
- ], -1)), qI = ["component-item-label"], UI = {
29157
+ ], -1)), qL = ["component-item-label"], UL = {
29149
29158
  key: 0,
29150
29159
  class: "separator"
29151
- }, GI = {
29160
+ }, GL = {
29152
29161
  key: 2,
29153
29162
  class: "block"
29154
- }, WI = { class: "attribute-title-container" }, YI = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { class: "attribute-title" }, "Destination", -1)), jI = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { style: { "word-break": "keep-all" } }, [
29163
+ }, WL = { class: "attribute-title-container" }, YL = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { class: "attribute-title" }, "Destination", -1)), jL = /* @__PURE__ */ Ti(() => /* @__PURE__ */ G("span", { style: { "word-break": "keep-all" } }, [
29155
29164
  /* @__PURE__ */ G("i", null, "Destination"),
29156
29165
  /* @__PURE__ */ Be(" is where the axons terminate ")
29157
- ], -1)), ZI = ["destination-item-label"], XI = {
29166
+ ], -1)), ZL = ["destination-item-label"], XL = {
29158
29167
  key: 0,
29159
29168
  class: "separator"
29160
29169
  };
29161
- function QI(t, e, r, n, a, i) {
29162
- const o = O2, s = Ht, l = el, u = qv, c = Ws, d = Hr, v = wI, h = oc;
29163
- return r.tooltipEntry ? Ze((B(), W("div", SI, [
29164
- r.tooltipEntry.title ? (B(), W("div", TI, [
29165
- G("div", _I, De(i.capitalise(r.tooltipEntry.title)), 1),
29166
- r.tooltipEntry.provenanceTaxonomyLabel && r.tooltipEntry.provenanceTaxonomyLabel.length > 0 ? (B(), W("div", DI, De(i.provSpeciesDescription), 1)) : de("", !0)
29167
- ])) : (B(), W("div", PI, [
29168
- G("div", OI, De(r.tooltipEntry.featureId), 1)
29170
+ function QL(t, e, r, n, a, i) {
29171
+ const o = O2, s = Ht, l = el, u = qv, c = Ws, d = Hr, v = wL, h = oc;
29172
+ return r.tooltipEntry ? Ze((B(), W("div", SL, [
29173
+ r.tooltipEntry.title ? (B(), W("div", TL, [
29174
+ G("div", _L, De(i.capitalise(r.tooltipEntry.title)), 1),
29175
+ r.tooltipEntry.provenanceTaxonomyLabel && r.tooltipEntry.provenanceTaxonomyLabel.length > 0 ? (B(), W("div", DL, De(i.provSpeciesDescription), 1)) : de("", !0)
29176
+ ])) : (B(), W("div", PL, [
29177
+ G("div", OL, De(r.tooltipEntry.featureId), 1)
29169
29178
  ])),
29170
- i.featuresAlert ? (B(), W("div", LI, [
29171
- II,
29179
+ i.featuresAlert ? (B(), W("div", IL, [
29180
+ LL,
29172
29181
  Z(l, {
29173
29182
  width: "250",
29174
29183
  trigger: "hover",
@@ -29184,7 +29193,7 @@ function QI(t, e, r, n, a, i) {
29184
29193
  })
29185
29194
  ]),
29186
29195
  default: q(() => [
29187
- G("span", AI, De(i.featuresAlert), 1)
29196
+ G("span", AL, De(i.featuresAlert), 1)
29188
29197
  ]),
29189
29198
  _: 1
29190
29199
  })
@@ -29221,11 +29230,11 @@ function QI(t, e, r, n, a, i) {
29221
29230
  ]),
29222
29231
  Z(ci, { name: "slide-fade" }, {
29223
29232
  default: q(() => [
29224
- Ze(G("div", FI, [
29233
+ Ze(G("div", FL, [
29225
29234
  Be(De(r.tooltipEntry.paths) + " ", 1),
29226
- r.tooltipEntry.origins && r.tooltipEntry.origins.length > 0 ? (B(), W("div", MI, [
29227
- G("div", BI, [
29228
- NI,
29235
+ r.tooltipEntry.origins && r.tooltipEntry.origins.length > 0 ? (B(), W("div", ML, [
29236
+ G("div", BL, [
29237
+ NL,
29229
29238
  Z(l, {
29230
29239
  width: "250",
29231
29240
  trigger: "hover",
@@ -29241,22 +29250,22 @@ function QI(t, e, r, n, a, i) {
29241
29250
  })
29242
29251
  ]),
29243
29252
  default: q(() => [
29244
- G("span", RI, [
29245
- $I,
29253
+ G("span", RL, [
29254
+ $L,
29246
29255
  Be(" " + De(i.originDescription), 1)
29247
29256
  ])
29248
29257
  ]),
29249
29258
  _: 1
29250
29259
  })
29251
29260
  ]),
29252
- (B(!0), W(Ye, null, It(r.tooltipEntry.origins, (f, p) => (B(), W("div", {
29261
+ (B(!0), W(Ye, null, Lt(r.tooltipEntry.origins, (f, p) => (B(), W("div", {
29253
29262
  class: "attribute-content",
29254
29263
  "origin-item-label": f,
29255
29264
  key: f
29256
29265
  }, [
29257
29266
  Be(De(i.capitalise(f)) + " ", 1),
29258
- p != r.tooltipEntry.origins.length - 1 ? (B(), W("div", VI)) : de("", !0)
29259
- ], 8, zI))), 128)),
29267
+ p != r.tooltipEntry.origins.length - 1 ? (B(), W("div", VL)) : de("", !0)
29268
+ ], 8, zL))), 128)),
29260
29269
  Ze(Z(d, {
29261
29270
  class: "button",
29262
29271
  id: "open-dendrites-button",
@@ -29273,20 +29282,20 @@ function QI(t, e, r, n, a, i) {
29273
29282
  ]
29274
29283
  ])
29275
29284
  ])) : de("", !0),
29276
- r.tooltipEntry.components && r.tooltipEntry.components.length > 0 ? (B(), W("div", HI, [
29277
- KI,
29278
- (B(!0), W(Ye, null, It(r.tooltipEntry.components, (f, p) => (B(), W("div", {
29285
+ r.tooltipEntry.components && r.tooltipEntry.components.length > 0 ? (B(), W("div", HL, [
29286
+ KL,
29287
+ (B(!0), W(Ye, null, Lt(r.tooltipEntry.components, (f, p) => (B(), W("div", {
29279
29288
  class: "attribute-content",
29280
29289
  "component-item-label": f,
29281
29290
  key: f
29282
29291
  }, [
29283
29292
  Be(De(i.capitalise(f)) + " ", 1),
29284
- p != r.tooltipEntry.components.length - 1 ? (B(), W("div", UI)) : de("", !0)
29285
- ], 8, qI))), 128))
29293
+ p != r.tooltipEntry.components.length - 1 ? (B(), W("div", UL)) : de("", !0)
29294
+ ], 8, qL))), 128))
29286
29295
  ])) : de("", !0),
29287
- r.tooltipEntry.destinations && r.tooltipEntry.destinations.length > 0 ? (B(), W("div", GI, [
29288
- G("div", WI, [
29289
- YI,
29296
+ r.tooltipEntry.destinations && r.tooltipEntry.destinations.length > 0 ? (B(), W("div", GL, [
29297
+ G("div", WL, [
29298
+ YL,
29290
29299
  Z(l, {
29291
29300
  width: "250",
29292
29301
  trigger: "hover",
@@ -29302,19 +29311,19 @@ function QI(t, e, r, n, a, i) {
29302
29311
  })
29303
29312
  ]),
29304
29313
  default: q(() => [
29305
- jI
29314
+ jL
29306
29315
  ]),
29307
29316
  _: 1
29308
29317
  })
29309
29318
  ]),
29310
- (B(!0), W(Ye, null, It(r.tooltipEntry.destinations, (f, p) => (B(), W("div", {
29319
+ (B(!0), W(Ye, null, Lt(r.tooltipEntry.destinations, (f, p) => (B(), W("div", {
29311
29320
  class: "attribute-content",
29312
29321
  "destination-item-label": f,
29313
29322
  key: f
29314
29323
  }, [
29315
29324
  Be(De(i.capitalise(f)) + " ", 1),
29316
- p != r.tooltipEntry.destinations.length - 1 ? (B(), W("div", XI)) : de("", !0)
29317
- ], 8, ZI))), 128)),
29325
+ p != r.tooltipEntry.destinations.length - 1 ? (B(), W("div", XL)) : de("", !0)
29326
+ ], 8, ZL))), 128)),
29318
29327
  Ze(Z(d, {
29319
29328
  class: "button",
29320
29329
  onClick: i.openAxons
@@ -29358,7 +29367,7 @@ function QI(t, e, r, n, a, i) {
29358
29367
  [h, t.loading]
29359
29368
  ]) : de("", !0);
29360
29369
  }
29361
- const JI = /* @__PURE__ */ Ur(kI, [["render", QI], ["__scopeId", "data-v-3d217adc"]]), eA = {
29370
+ const JL = /* @__PURE__ */ Ur(kL, [["render", QL], ["__scopeId", "data-v-3d217adc"]]), eA = {
29362
29371
  name: "Tooltip",
29363
29372
  props: {
29364
29373
  tooltipEntry: {
@@ -29382,7 +29391,7 @@ const JI = /* @__PURE__ */ Ur(kI, [["render", QI], ["__scopeId", "data-v-3d217ad
29382
29391
  id: "tooltip-container"
29383
29392
  };
29384
29393
  function rA(t, e, r, n, a, i) {
29385
- const o = iT, s = JI;
29394
+ const o = iT, s = JL;
29386
29395
  return B(), W("div", tA, [
29387
29396
  r.annotationDisplay ? (B(), ye(o, {
29388
29397
  key: 0,
@@ -29663,7 +29672,7 @@ export {
29663
29672
  Gh as CopyToClipboard,
29664
29673
  pA as CreateTooltipContent,
29665
29674
  yA as DrawToolbar,
29666
- wI as ExternalResourceCard,
29675
+ wL as ExternalResourceCard,
29667
29676
  bA as HelpModeDialog,
29668
29677
  wA as Tooltip,
29669
29678
  CA as TreeControls