@abi-software/flatmapvuer 1.9.1 → 1.9.3-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,5 +1,5 @@
1
1
  import { Loading as Hj, CircleCheck as jJ, CircleClose as Cj, Close as JM, ArrowDown as mA, Warning as Oj, WarningFilled as Pj, ArrowLeft as kj } from "@element-plus/icons-vue";
2
- import { getCurrentScope as zJ, onScopeDispose as Ij, unref as wt, getCurrentInstance as x1, onMounted as o1, nextTick as zo, ref as Je, readonly as Vj, watch as mr, warn as UJ, watchEffect as Rj, onBeforeUnmount as qa, inject as vr, computed as he, isRef as N6, shallowRef as jg, onBeforeMount as GJ, provide as i1, defineComponent as Rn, openBlock as Le, createElementBlock as Ln, mergeProps as Pc, renderSlot as $n, toRef as Y3, onUnmounted as $J, createBlock as Fn, Transition as yf, withCtx as Pe, withDirectives as xi, createElementVNode as yn, normalizeClass as rn, normalizeStyle as Uo, vShow as As, Fragment as R1, createVNode as on, reactive as B6, onActivated as WJ, onUpdated as ZJ, resolveDynamicComponent as Da, createCommentVNode as Un, cloneVNode as qJ, Text as Dj, Comment as XJ, Teleport as KJ, onDeactivated as YJ, toDisplayString as Li, useSlots as mv, toRaw as zg, withModifiers as Eo, vModelCheckbox as Ug, createTextVNode as Vr, toRefs as K8, vModelRadio as Nj, h as r7, createSlots as Bj, resolveComponent as Va, resolveDirective as JJ, toHandlerKey as ttt, renderList as E6, withKeys as d9, vModelText as ett, createApp as ntt, createStaticVNode as rtt, markRaw as z3 } from "vue";
2
+ import { getCurrentScope as zJ, onScopeDispose as Ij, unref as wt, getCurrentInstance as x1, onMounted as o1, nextTick as zo, ref as Je, readonly as Vj, watch as mr, warn as UJ, watchEffect as Rj, onBeforeUnmount as qa, inject as vr, computed as he, isRef as N6, shallowRef as jg, onBeforeMount as GJ, provide as i1, defineComponent as Rn, openBlock as xe, createElementBlock as Ln, mergeProps as Pc, renderSlot as $n, toRef as Y3, onUnmounted as $J, createBlock as Nn, Transition as yf, withCtx as Pe, withDirectives as xi, createElementVNode as yn, normalizeClass as rn, normalizeStyle as Uo, vShow as As, Fragment as R1, createVNode as ln, reactive as B6, onActivated as WJ, onUpdated as ZJ, resolveDynamicComponent as Da, createCommentVNode as Un, cloneVNode as qJ, Text as Dj, Comment as XJ, Teleport as KJ, onDeactivated as YJ, toDisplayString as Li, useSlots as mv, toRaw as zg, withModifiers as Eo, vModelCheckbox as Ug, createTextVNode as Vr, toRefs as K8, vModelRadio as Nj, h as r7, createSlots as Bj, resolveComponent as Va, resolveDirective as JJ, toHandlerKey as ttt, renderList as E6, withKeys as d9, vModelText as ett, createApp as ntt, createStaticVNode as rtt, markRaw as z3 } from "vue";
3
3
  import { MapSvgIcon as itt, MapSvgSpriteColor as ott } from "@abi-software/svg-sprite";
4
4
  import { AnnotationService as stt } from "@abi-software/sparc-annotation";
5
5
  import { defineStore as att, mapState as ltt } from "pinia";
@@ -1949,8 +1949,8 @@ function Sot(e) {
1949
1949
  for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !0 : a, u = n.fallbackPlacements, h = n.padding, p = n.boundary, Q = n.rootBoundary, m = n.altBoundary, v = n.flipVariations, x = v === void 0 ? !0 : v, L = n.allowedAutoPlacements, H = t.options.placement, E = n4(H), P = E === H, I = u || (P || !x ? [ym(H)] : Eot(H)), N = [H].concat(I).reduce(function(hn, nn) {
1950
1950
  return hn.concat(n4(nn) === AA ? Mot(t, { placement: nn, boundary: p, rootBoundary: Q, padding: h, flipVariations: x, allowedAutoPlacements: L }) : nn);
1951
1951
  }, []), z = t.rects.reference, $ = t.rects.popper, q = /* @__PURE__ */ new Map(), et = !0, ot = N[0], ft = 0; ft < N.length; ft++) {
1952
- var ht = N[ft], At = n4(ht), Zt = H8(ht) === M8, ce = [Ps, Ua].indexOf(At) >= 0, xe = ce ? "width" : "height", be = Zp(t, { placement: ht, boundary: p, rootBoundary: Q, altBoundary: m, padding: h }), gn = ce ? Zt ? Ga : ks : Zt ? Ua : Ps;
1953
- z[xe] > $[xe] && (gn = ym(gn));
1952
+ var ht = N[ft], At = n4(ht), Zt = H8(ht) === M8, ce = [Ps, Ua].indexOf(At) >= 0, Le = ce ? "width" : "height", be = Zp(t, { placement: ht, boundary: p, rootBoundary: Q, altBoundary: m, padding: h }), gn = ce ? Zt ? Ga : ks : Zt ? Ua : Ps;
1953
+ z[Le] > $[Le] && (gn = ym(gn));
1954
1954
  var pn = ym(gn), ar = [];
1955
1955
  if (o && ar.push(be[At] <= 0), s && ar.push(be[gn] <= 0, be[pn] <= 0), ar.every(function(hn) {
1956
1956
  return hn;
@@ -2012,7 +2012,7 @@ function Rot(e) {
2012
2012
  var t = e.state, n = e.options, r = e.name, i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !1 : a, u = n.boundary, h = n.rootBoundary, p = n.altBoundary, Q = n.padding, m = n.tether, v = m === void 0 ? !0 : m, x = n.tetherOffset, L = x === void 0 ? 0 : x, H = Zp(t, { boundary: u, rootBoundary: h, padding: Q, altBoundary: p }), E = n4(t.placement), P = H8(t.placement), I = !P, N = OA(E), z = Vot(N), $ = t.modifiersData.popperOffsets, q = t.rects.reference, et = t.rects.popper, ot = typeof L == "function" ? L(Object.assign({}, t.rects, { placement: t.placement })) : L, ft = typeof ot == "number" ? { mainAxis: ot, altAxis: ot } : Object.assign({ mainAxis: 0, altAxis: 0 }, ot), ht = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, At = { x: 0, y: 0 };
2013
2013
  if ($) {
2014
2014
  if (o) {
2015
- var Zt, ce = N === "y" ? Ps : ks, xe = N === "y" ? Ua : Ga, be = N === "y" ? "height" : "width", gn = $[N], pn = gn + H[ce], ar = gn - H[xe], ge = v ? -et[be] / 2 : 0, Re = P === M8 ? q[be] : et[be], mn = P === M8 ? -et[be] : -q[be], Xe = t.elements.arrow, hn = v && Xe ? CA(Xe) : { width: 0, height: 0 }, nn = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gz(), tn = nn[ce], oe = nn[xe], ye = ip(0, q[be], hn[be]), We = I ? q[be] / 2 - ge - ye - tn - ft.mainAxis : Re - ye - tn - ft.mainAxis, ke = I ? -q[be] / 2 + ge + ye + oe + ft.mainAxis : mn + ye + oe + ft.mainAxis, en = t.elements.arrow && xf(t.elements.arrow), En = en ? N === "y" ? en.clientTop || 0 : en.clientLeft || 0 : 0, an = (Zt = ht == null ? void 0 : ht[N]) != null ? Zt : 0, ze = gn + We - an - En, wn = gn + ke - an, vn = ip(v ? Zg(pn, ze) : pn, gn, v ? hc(ar, wn) : ar);
2015
+ var Zt, ce = N === "y" ? Ps : ks, Le = N === "y" ? Ua : Ga, be = N === "y" ? "height" : "width", gn = $[N], pn = gn + H[ce], ar = gn - H[Le], ge = v ? -et[be] / 2 : 0, Re = P === M8 ? q[be] : et[be], mn = P === M8 ? -et[be] : -q[be], Xe = t.elements.arrow, hn = v && Xe ? CA(Xe) : { width: 0, height: 0 }, nn = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gz(), tn = nn[ce], oe = nn[Le], ye = ip(0, q[be], hn[be]), We = I ? q[be] / 2 - ge - ye - tn - ft.mainAxis : Re - ye - tn - ft.mainAxis, ke = I ? -q[be] / 2 + ge + ye + oe + ft.mainAxis : mn + ye + oe + ft.mainAxis, en = t.elements.arrow && xf(t.elements.arrow), En = en ? N === "y" ? en.clientTop || 0 : en.clientLeft || 0 : 0, sn = (Zt = ht == null ? void 0 : ht[N]) != null ? Zt : 0, ze = gn + We - sn - En, wn = gn + ke - sn, vn = ip(v ? Zg(pn, ze) : pn, gn, v ? hc(ar, wn) : ar);
2016
2016
  $[N] = vn, At[N] = vn - gn;
2017
2017
  }
2018
2018
  if (s) {
@@ -2516,7 +2516,7 @@ const g1t = Rr({
2516
2516
  "--color": o
2517
2517
  };
2518
2518
  });
2519
- return (i, o) => (Le(), Ln("i", Pc({
2519
+ return (i, o) => (xe(), Ln("i", Pc({
2520
2520
  class: wt(n).b(),
2521
2521
  style: wt(r)
2522
2522
  }, i.$attrs), [
@@ -2644,7 +2644,7 @@ const c4 = Vs(_1t), DA = Symbol("formContextKey"), Xg = Symbol("formItemContextK
2644
2644
  const z = () => {
2645
2645
  document.onselectstart !== p && (document.onselectstart = p);
2646
2646
  };
2647
- return N2(Y3(n, "scrollbarElement"), "mousemove", I), N2(Y3(n, "scrollbarElement"), "mouseleave", N), ($, q) => (Le(), Fn(yf, {
2647
+ return N2(Y3(n, "scrollbarElement"), "mousemove", I), N2(Y3(n, "scrollbarElement"), "mouseleave", N), ($, q) => (xe(), Nn(yf, {
2648
2648
  name: wt(r).b("fade"),
2649
2649
  persisted: ""
2650
2650
  }, {
@@ -2699,14 +2699,14 @@ const E1t = Rr({
2699
2699
  const v = m.offsetHeight - Ou, x = m.offsetWidth - Ou, L = v ** 2 / m.scrollHeight, H = x ** 2 / m.scrollWidth, E = Math.max(L, n.minSize), P = Math.max(H, n.minSize);
2700
2700
  u.value = L / (v - L) / (E / (v - E)), h.value = H / (x - H) / (P / (x - P)), s.value = E + Ou < v ? `${E}px` : "", a.value = P + Ou < x ? `${P}px` : "";
2701
2701
  }
2702
- }), (m, v) => (Le(), Ln(R1, null, [
2703
- on(hI, {
2702
+ }), (m, v) => (xe(), Ln(R1, null, [
2703
+ ln(hI, {
2704
2704
  move: i.value,
2705
2705
  ratio: h.value,
2706
2706
  size: a.value,
2707
2707
  always: m.always
2708
2708
  }, null, 8, ["move", "ratio", "size", "always"]),
2709
- on(hI, {
2709
+ ln(hI, {
2710
2710
  move: o.value,
2711
2711
  ratio: u.value,
2712
2712
  size: s.value,
@@ -2833,7 +2833,7 @@ const H1t = Rr({
2833
2833
  setScrollTop: P,
2834
2834
  setScrollLeft: I,
2835
2835
  handleScroll: H
2836
- }), (z, $) => (Le(), Ln("div", {
2836
+ }), (z, $) => (xe(), Ln("div", {
2837
2837
  ref_key: "scrollbarRef",
2838
2838
  ref: h,
2839
2839
  class: rn(wt(i).b())
@@ -2846,7 +2846,7 @@ const H1t = Rr({
2846
2846
  tabindex: z.tabindex,
2847
2847
  onScroll: H
2848
2848
  }, [
2849
- (Le(), Fn(Da(z.tag), {
2849
+ (xe(), Nn(Da(z.tag), {
2850
2850
  id: z.id,
2851
2851
  ref_key: "resizeRef",
2852
2852
  ref: Q,
@@ -2862,7 +2862,7 @@ const H1t = Rr({
2862
2862
  _: 3
2863
2863
  }, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
2864
2864
  ], 46, ["tabindex"]),
2865
- z.native ? Un("v-if", !0) : (Le(), Fn(A1t, {
2865
+ z.native ? Un("v-if", !0) : (xe(), Nn(A1t, {
2866
2866
  key: 0,
2867
2867
  ref_key: "barRef",
2868
2868
  ref: m,
@@ -2925,7 +2925,7 @@ const Rz = Rr({
2925
2925
  o.value = void 0;
2926
2926
  }), t({
2927
2927
  arrowRef: o
2928
- }), (s, u) => (Le(), Ln("span", {
2928
+ }), (s, u) => (xe(), Ln("span", {
2929
2929
  ref_key: "arrowRef",
2930
2930
  ref: o,
2931
2931
  class: rn(wt(r).e("arrow")),
@@ -2978,7 +2978,7 @@ function Dz(e) {
2978
2978
  }
2979
2979
  function dI(e) {
2980
2980
  const t = Xr("only-child");
2981
- return on("span", {
2981
+ return ln("span", {
2982
2982
  class: t.e("content")
2983
2983
  }, [e]);
2984
2984
  }
@@ -3074,7 +3074,7 @@ const Nz = Rr({
3074
3074
  }
3075
3075
  }), t({
3076
3076
  triggerRef: i
3077
- }), (Q, m) => Q.virtualTriggering ? Un("v-if", !0) : (Le(), Fn(wt(z1t), Pc({ key: 0 }, Q.$attrs, {
3077
+ }), (Q, m) => Q.virtualTriggering ? Un("v-if", !0) : (xe(), Nn(wt(z1t), Pc({ key: 0 }, Q.$attrs, {
3078
3078
  "aria-controls": wt(o),
3079
3079
  "aria-describedby": wt(a),
3080
3080
  "aria-expanded": wt(u),
@@ -3574,12 +3574,12 @@ const hst = 0, dst = (e) => {
3574
3574
  return o1(() => {
3575
3575
  mr(() => r.triggerTargetEl, (Zt, ce) => {
3576
3576
  ft == null || ft(), ft = void 0;
3577
- const xe = wt(Zt || v.value), be = wt(ce || v.value);
3578
- uc(xe) && (ft = mr([H, () => r.ariaLabel, P, () => r.id], (gn) => {
3577
+ const Le = wt(Zt || v.value), be = wt(ce || v.value);
3578
+ uc(Le) && (ft = mr([H, () => r.ariaLabel, P, () => r.id], (gn) => {
3579
3579
  ["role", "aria-label", "aria-modal", "id"].forEach((pn, ar) => {
3580
- Lv(gn[ar]) ? xe.removeAttribute(pn) : xe.setAttribute(pn, gn[ar]);
3580
+ Lv(gn[ar]) ? Le.removeAttribute(pn) : Le.setAttribute(pn, gn[ar]);
3581
3581
  });
3582
- }, { immediate: !0 })), be !== xe && uc(be) && ["role", "aria-label", "aria-modal", "id"].forEach((gn) => {
3582
+ }, { immediate: !0 })), be !== Le && uc(be) && ["role", "aria-label", "aria-modal", "id"].forEach((gn) => {
3583
3583
  be.removeAttribute(gn);
3584
3584
  });
3585
3585
  }, { immediate: !0 }), mr(() => r.visible, At, { immediate: !0 });
@@ -3590,17 +3590,17 @@ const hst = 0, dst = (e) => {
3590
3590
  popperInstanceRef: L,
3591
3591
  updatePopper: ht,
3592
3592
  contentStyle: $
3593
- }), (Zt, ce) => (Le(), Ln("div", Pc({
3593
+ }), (Zt, ce) => (xe(), Ln("div", Pc({
3594
3594
  ref_key: "contentRef",
3595
3595
  ref: v
3596
3596
  }, wt(N), {
3597
3597
  style: wt($),
3598
3598
  class: wt(z),
3599
3599
  tabindex: "-1",
3600
- onMouseenter: (xe) => Zt.$emit("mouseenter", xe),
3601
- onMouseleave: (xe) => Zt.$emit("mouseleave", xe)
3600
+ onMouseenter: (Le) => Zt.$emit("mouseenter", Le),
3601
+ onMouseleave: (Le) => Zt.$emit("mouseleave", Le)
3602
3602
  }), [
3603
- on(wt(jz), {
3603
+ ln(wt(jz), {
3604
3604
  trapped: wt(o),
3605
3605
  "trap-on-focus-in": !0,
3606
3606
  "focus-trap-el": wt(v),
@@ -3697,7 +3697,7 @@ const gst = Vs(N1t), zA = Symbol("elTooltip"), ca = Rr({
3697
3697
  });
3698
3698
  return t({
3699
3699
  triggerRef: p
3700
- }), (N, z) => (Le(), Fn(wt($1t), {
3700
+ }), (N, z) => (xe(), Nn(wt($1t), {
3701
3701
  id: wt(o),
3702
3702
  "virtual-ref": N.virtualRef,
3703
3703
  open: wt(a),
@@ -3729,7 +3729,7 @@ const Sst = Rr({
3729
3729
  __name: "teleport",
3730
3730
  props: Sst,
3731
3731
  setup(e) {
3732
- return (t, n) => t.disabled ? $n(t.$slots, "default", { key: 0 }) : (Le(), Fn(KJ, {
3732
+ return (t, n) => t.disabled ? $n(t.$slots, "default", { key: 0 }) : (xe(), Nn(KJ, {
3733
3733
  key: 1,
3734
3734
  to: t.to
3735
3735
  }, [
@@ -3788,7 +3788,7 @@ const Uz = Vs(Hst), Cst = Rn({
3788
3788
  return;
3789
3789
  wt(p) !== "hover" && Q();
3790
3790
  });
3791
- }, xe = () => {
3791
+ }, Le = () => {
3792
3792
  n.virtualTriggering || Q();
3793
3793
  };
3794
3794
  return mr(() => wt(h), (be) => {
@@ -3800,12 +3800,12 @@ const Uz = Vs(Hst), Cst = Rn({
3800
3800
  (gn = (be = o.value) == null ? void 0 : be.updatePopper) == null || gn.call(be);
3801
3801
  }), t({
3802
3802
  contentRef: o
3803
- }), (be, gn) => (Le(), Fn(wt(Uz), {
3803
+ }), (be, gn) => (xe(), Nn(wt(Uz), {
3804
3804
  disabled: !be.teleported,
3805
3805
  to: wt(z)
3806
3806
  }, {
3807
3807
  default: Pe(() => [
3808
- on(yf, {
3808
+ ln(yf, {
3809
3809
  name: wt(E),
3810
3810
  onAfterLeave: et,
3811
3811
  onBeforeEnter: At,
@@ -3813,7 +3813,7 @@ const Uz = Vs(Hst), Cst = Rn({
3813
3813
  onBeforeLeave: Zt
3814
3814
  }, {
3815
3815
  default: Pe(() => [
3816
- wt(I) ? xi((Le(), Fn(wt(mst), Pc({
3816
+ wt(I) ? xi((xe(), Nn(wt(mst), Pc({
3817
3817
  key: 0,
3818
3818
  id: wt(u),
3819
3819
  ref_key: "contentRef",
@@ -3839,7 +3839,7 @@ const Uz = Vs(Hst), Cst = Rn({
3839
3839
  "z-index": be.zIndex,
3840
3840
  onMouseenter: wt(ft),
3841
3841
  onMouseleave: wt(ht),
3842
- onBlur: xe,
3842
+ onBlur: Le,
3843
3843
  onClose: wt(Q)
3844
3844
  }), {
3845
3845
  default: Pe(() => [
@@ -3924,13 +3924,13 @@ const kst = Rn({
3924
3924
  onOpen: v,
3925
3925
  onClose: x,
3926
3926
  hide: Q
3927
- }), (E, P) => (Le(), Fn(wt(gst), {
3927
+ }), (E, P) => (xe(), Nn(wt(gst), {
3928
3928
  ref_key: "popperRef",
3929
3929
  ref: o,
3930
3930
  role: E.role
3931
3931
  }, {
3932
3932
  default: Pe(() => [
3933
- on(Est, {
3933
+ ln(Est, {
3934
3934
  disabled: E.disabled,
3935
3935
  trigger: E.trigger,
3936
3936
  "trigger-keys": E.triggerKeys,
@@ -3942,7 +3942,7 @@ const kst = Rn({
3942
3942
  ]),
3943
3943
  _: 3
3944
3944
  }, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
3945
- on(Pst, {
3945
+ ln(Pst, {
3946
3946
  ref_key: "contentRef",
3947
3947
  ref: a,
3948
3948
  "aria-label": E.ariaLabel,
@@ -3974,12 +3974,12 @@ const kst = Rn({
3974
3974
  }, {
3975
3975
  default: Pe(() => [
3976
3976
  $n(E.$slots, "content", {}, () => [
3977
- E.rawContent ? (Le(), Ln("span", {
3977
+ E.rawContent ? (xe(), Ln("span", {
3978
3978
  key: 0,
3979
3979
  innerHTML: E.content
3980
- }, null, 8, ["innerHTML"])) : (Le(), Ln("span", { key: 1 }, Li(E.content), 1))
3980
+ }, null, 8, ["innerHTML"])) : (xe(), Ln("span", { key: 1 }, Li(E.content), 1))
3981
3981
  ]),
3982
- E.showArrow ? (Le(), Fn(wt(j1t), {
3982
+ E.showArrow ? (xe(), Nn(wt(j1t), {
3983
3983
  key: 0,
3984
3984
  "arrow-offset": E.arrowOffset
3985
3985
  }, null, 8, ["arrow-offset"])) : Un("v-if", !0)
@@ -4664,7 +4664,7 @@ const eat = Rn({
4664
4664
  type: u,
4665
4665
  disabled: h,
4666
4666
  shouldAddSpace: Q
4667
- }), (x, L) => (Le(), Fn(Da(x.tag), Pc({
4667
+ }), (x, L) => (xe(), Nn(Da(x.tag), Pc({
4668
4668
  ref_key: "_ref",
4669
4669
  ref: a
4670
4670
  }, wt(p), {
@@ -4673,23 +4673,23 @@ const eat = Rn({
4673
4673
  onClick: wt(m)
4674
4674
  }), {
4675
4675
  default: Pe(() => [
4676
- x.loading ? (Le(), Ln(R1, { key: 0 }, [
4677
- x.$slots.loading ? $n(x.$slots, "loading", { key: 0 }) : (Le(), Fn(wt(c4), {
4676
+ x.loading ? (xe(), Ln(R1, { key: 0 }, [
4677
+ x.$slots.loading ? $n(x.$slots, "loading", { key: 0 }) : (xe(), Nn(wt(c4), {
4678
4678
  key: 1,
4679
4679
  class: rn(wt(o).is("loading"))
4680
4680
  }, {
4681
4681
  default: Pe(() => [
4682
- (Le(), Fn(Da(x.loadingIcon)))
4682
+ (xe(), Nn(Da(x.loadingIcon)))
4683
4683
  ]),
4684
4684
  _: 1
4685
4685
  }, 8, ["class"]))
4686
- ], 64)) : x.icon || x.$slots.icon ? (Le(), Fn(wt(c4), { key: 1 }, {
4686
+ ], 64)) : x.icon || x.$slots.icon ? (xe(), Nn(wt(c4), { key: 1 }, {
4687
4687
  default: Pe(() => [
4688
- x.icon ? (Le(), Fn(Da(x.icon), { key: 0 })) : $n(x.$slots, "icon", { key: 1 })
4688
+ x.icon ? (xe(), Nn(Da(x.icon), { key: 0 })) : $n(x.$slots, "icon", { key: 1 })
4689
4689
  ]),
4690
4690
  _: 3
4691
4691
  })) : Un("v-if", !0),
4692
- x.$slots.default ? (Le(), Ln("span", {
4692
+ x.$slots.default ? (xe(), Ln("span", {
4693
4693
  key: 2,
4694
4694
  class: rn({ [wt(o).em("text", "expand")]: wt(Q) })
4695
4695
  }, [
@@ -4716,7 +4716,7 @@ const iat = {
4716
4716
  type: Y3(t, "type")
4717
4717
  }));
4718
4718
  const n = Xr("button");
4719
- return (r, i) => (Le(), Ln("div", {
4719
+ return (r, i) => (xe(), Ln("div", {
4720
4720
  class: rn(wt(n).b("group"))
4721
4721
  }, [
4722
4722
  $n(r.$slots, "default")
@@ -4990,7 +4990,7 @@ const cat = {
4990
4990
  x.is("indeterminate", t.indeterminate),
4991
4991
  x.is("focus", s.value)
4992
4992
  ]);
4993
- return (E, P) => (Le(), Fn(Da(!wt(h) && wt(i) ? "span" : "label"), {
4993
+ return (E, P) => (xe(), Nn(Da(!wt(h) && wt(i) ? "span" : "label"), {
4994
4994
  class: rn(wt(L)),
4995
4995
  "aria-controls": E.indeterminate ? E.ariaControls : null,
4996
4996
  onClick: wt(v)
@@ -5001,7 +5001,7 @@ const cat = {
5001
5001
  yn("span", {
5002
5002
  class: rn(wt(H))
5003
5003
  }, [
5004
- E.trueValue || E.falseValue || E.trueLabel || E.falseLabel ? xi((Le(), Ln("input", {
5004
+ E.trueValue || E.falseValue || E.trueLabel || E.falseLabel ? xi((xe(), Ln("input", {
5005
5005
  key: 0,
5006
5006
  id: wt(r),
5007
5007
  "onUpdate:modelValue": (q) => N6(p) ? p.value = q : null,
@@ -5020,7 +5020,7 @@ const cat = {
5020
5020
  }, ["stop"])
5021
5021
  }, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
5022
5022
  [Ug, wt(p)]
5023
- ]) : xi((Le(), Ln("input", {
5023
+ ]) : xi((xe(), Ln("input", {
5024
5024
  key: 1,
5025
5025
  id: wt(r),
5026
5026
  "onUpdate:modelValue": (q) => N6(p) ? p.value = q : null,
@@ -5043,12 +5043,12 @@ const cat = {
5043
5043
  class: rn(wt(x).e("inner"))
5044
5044
  }, null, 2)
5045
5045
  ], 2),
5046
- wt(h) ? (Le(), Ln("span", {
5046
+ wt(h) ? (xe(), Ln("span", {
5047
5047
  key: 0,
5048
5048
  class: rn(wt(x).e("label"))
5049
5049
  }, [
5050
5050
  $n(E.$slots, "default"),
5051
- E.$slots.default ? Un("v-if", !0) : (Le(), Ln(R1, { key: 0 }, [
5051
+ E.$slots.default ? Un("v-if", !0) : (xe(), Ln(R1, { key: 0 }, [
5052
5052
  Vr(Li(E.label), 1)
5053
5053
  ], 64))
5054
5054
  ], 2)) : Un("v-if", !0)
@@ -5092,10 +5092,10 @@ const mat = Rn({
5092
5092
  ]);
5093
5093
  return (x, L) => {
5094
5094
  var H, E, P, I;
5095
- return Le(), Ln("label", {
5095
+ return xe(), Ln("label", {
5096
5096
  class: rn(wt(v))
5097
5097
  }, [
5098
- x.trueValue || x.falseValue || x.trueLabel || x.falseLabel ? xi((Le(), Ln("input", {
5098
+ x.trueValue || x.falseValue || x.trueLabel || x.falseLabel ? xi((xe(), Ln("input", {
5099
5099
  key: 0,
5100
5100
  "onUpdate:modelValue": (N) => N6(s) ? s.value = N : null,
5101
5101
  class: rn(wt(Q).be("button", "original")),
@@ -5112,7 +5112,7 @@ const mat = Rn({
5112
5112
  }, ["stop"])
5113
5113
  }, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
5114
5114
  [Ug, wt(s)]
5115
- ]) : xi((Le(), Ln("input", {
5115
+ ]) : xi((xe(), Ln("input", {
5116
5116
  key: 1,
5117
5117
  "onUpdate:modelValue": (N) => N6(s) ? s.value = N : null,
5118
5118
  class: rn(wt(Q).be("button", "original")),
@@ -5129,7 +5129,7 @@ const mat = Rn({
5129
5129
  }, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "value", "onChange", "onFocus", "onBlur", "onClick"])), [
5130
5130
  [Ug, wt(s)]
5131
5131
  ]),
5132
- x.$slots.default || x.label ? (Le(), Ln("span", {
5132
+ x.$slots.default || x.label ? (xe(), Ln("span", {
5133
5133
  key: 2,
5134
5134
  class: rn(wt(Q).be("button", "inner")),
5135
5135
  style: Uo(wt(i) ? wt(m) : void 0)
@@ -5201,7 +5201,7 @@ const yat = Rr({
5201
5201
  n.validateEvent && (i == null || i.validate("change").catch((h) => Is(h)));
5202
5202
  }), (h, p) => {
5203
5203
  var Q;
5204
- return Le(), Fn(Da(h.tag), {
5204
+ return xe(), Nn(Da(h.tag), {
5205
5205
  id: wt(o),
5206
5206
  class: rn(wt(r).b("group")),
5207
5207
  role: "group",
@@ -5286,7 +5286,7 @@ const nU = Vc(tU), rU = Rr({
5286
5286
  }
5287
5287
  return (m, v) => {
5288
5288
  var x;
5289
- return Le(), Ln("label", {
5289
+ return xe(), Ln("label", {
5290
5290
  class: rn([
5291
5291
  wt(r).b(),
5292
5292
  wt(r).is("disabled", wt(u)),
@@ -5355,7 +5355,7 @@ const Eat = Rr({
5355
5355
  }));
5356
5356
  return (Q, m) => {
5357
5357
  var v;
5358
- return Le(), Ln("label", {
5358
+ return xe(), Ln("label", {
5359
5359
  class: rn([
5360
5360
  wt(n).b("button"),
5361
5361
  wt(n).is("active", wt(s) === wt(h)),
@@ -5446,7 +5446,7 @@ const Hat = Rr({
5446
5446
  name: p
5447
5447
  })), mr(() => n.modelValue, () => {
5448
5448
  n.validateEvent && (a == null || a.validate("change").catch((Q) => Is(Q)));
5449
- }), (Q, m) => (Le(), Ln("div", {
5449
+ }), (Q, m) => (xe(), Ln("div", {
5450
5450
  id: wt(s),
5451
5451
  ref_key: "radioGroupRef",
5452
5452
  ref: o,
@@ -5513,7 +5513,7 @@ const pE = Rr({
5513
5513
  }, u = (h) => {
5514
5514
  h.component.subTree.component.bum = null;
5515
5515
  };
5516
- return (h, p) => h.disableTransitions ? (Le(), Ln("span", {
5516
+ return (h, p) => h.disableTransitions ? (xe(), Ln("span", {
5517
5517
  key: 0,
5518
5518
  class: rn(wt(o)),
5519
5519
  style: Uo({ backgroundColor: h.color }),
@@ -5524,17 +5524,17 @@ const pE = Rr({
5524
5524
  }, [
5525
5525
  $n(h.$slots, "default")
5526
5526
  ], 2),
5527
- h.closable ? (Le(), Fn(wt(c4), {
5527
+ h.closable ? (xe(), Nn(wt(c4), {
5528
5528
  key: 0,
5529
5529
  class: rn(wt(i).e("close")),
5530
5530
  onClick: Eo(a, ["stop"])
5531
5531
  }, {
5532
5532
  default: Pe(() => [
5533
- on(wt(JM))
5533
+ ln(wt(JM))
5534
5534
  ]),
5535
5535
  _: 1
5536
5536
  }, 8, ["class", "onClick"])) : Un("v-if", !0)
5537
- ], 6)) : (Le(), Fn(yf, {
5537
+ ], 6)) : (xe(), Nn(yf, {
5538
5538
  key: 1,
5539
5539
  name: `${wt(i).namespace.value}-zoom-in-center`,
5540
5540
  appear: "",
@@ -5551,13 +5551,13 @@ const pE = Rr({
5551
5551
  }, [
5552
5552
  $n(h.$slots, "default")
5553
5553
  ], 2),
5554
- h.closable ? (Le(), Fn(wt(c4), {
5554
+ h.closable ? (xe(), Nn(wt(c4), {
5555
5555
  key: 0,
5556
5556
  class: rn(wt(i).e("close")),
5557
5557
  onClick: Eo(a, ["stop"])
5558
5558
  }, {
5559
5559
  default: Pe(() => [
5560
- on(wt(JM))
5560
+ ln(wt(JM))
5561
5561
  ]),
5562
5562
  _: 1
5563
5563
  }, 8, ["class", "onClick"])) : Un("v-if", !0)
@@ -5611,7 +5611,7 @@ const Dat = Vs(Rat), hU = Symbol("rowContextKey"), Nat = [
5611
5611
  n.is(`justify-${t.justify}`, t.justify !== "start"),
5612
5612
  n.is(`align-${t.align}`, !!t.align)
5613
5613
  ]);
5614
- return (a, s) => (Le(), Fn(Da(a.tag), {
5614
+ return (a, s) => (xe(), Nn(Da(a.tag), {
5615
5615
  class: rn(wt(o)),
5616
5616
  style: Uo(wt(i))
5617
5617
  }, {
@@ -5684,7 +5684,7 @@ const Lf = Vs(Uat), Gat = Rr({
5684
5684
  });
5685
5685
  }), n.value && a.push(r.is("guttered")), [r.b(), a];
5686
5686
  });
5687
- return (a, s) => (Le(), Fn(Da(a.tag), {
5687
+ return (a, s) => (xe(), Nn(Da(a.tag), {
5688
5688
  class: rn(wt(o)),
5689
5689
  style: Uo(wt(i))
5690
5690
  }, {
@@ -5723,7 +5723,7 @@ var Yat = Rn({
5723
5723
  const r = Xr(Kat), i = (u) => {
5724
5724
  n("click", u);
5725
5725
  }, { onClick: o, onMousedown: a, onMouseup: s } = Mz(e.customMaskEvent ? void 0 : i);
5726
- return () => e.mask ? on("div", {
5726
+ return () => e.mask ? ln("div", {
5727
5727
  class: [r.b(), e.overlayClass],
5728
5728
  style: {
5729
5729
  zIndex: e.zIndex
@@ -5781,7 +5781,7 @@ const Jat = Yat, dU = Symbol("dialogInjectionKey"), pU = Rr({
5781
5781
  ]), m = Vit(p, o), v = he(() => n.draggable), x = he(() => n.overflow), { resetPosition: L } = Dit(o, a, v, x);
5782
5782
  return t({
5783
5783
  resetPosition: L
5784
- }), (H, E) => (Le(), Ln("div", {
5784
+ }), (H, E) => (xe(), Ln("div", {
5785
5785
  ref: wt(m),
5786
5786
  class: rn(wt(Q)),
5787
5787
  style: Uo(wt(h)),
@@ -5799,18 +5799,18 @@ const Jat = Yat, dU = Symbol("dialogInjectionKey"), pU = Rr({
5799
5799
  class: rn(wt(u).e("title"))
5800
5800
  }, Li(H.title), 11, ["aria-level"])
5801
5801
  ]),
5802
- H.showClose ? (Le(), Ln("button", {
5802
+ H.showClose ? (xe(), Ln("button", {
5803
5803
  key: 0,
5804
5804
  "aria-label": wt(r)("el.dialog.close"),
5805
5805
  class: rn(wt(u).e("headerbtn")),
5806
5806
  type: "button",
5807
5807
  onClick: (P) => H.$emit("close")
5808
5808
  }, [
5809
- on(wt(c4), {
5809
+ ln(wt(c4), {
5810
5810
  class: rn(wt(u).e("close"))
5811
5811
  }, {
5812
5812
  default: Pe(() => [
5813
- (Le(), Fn(Da(H.closeIcon || wt(i))))
5813
+ (xe(), Nn(Da(H.closeIcon || wt(i))))
5814
5814
  ]),
5815
5815
  _: 1
5816
5816
  }, 8, ["class"])
@@ -5822,7 +5822,7 @@ const Jat = Yat, dU = Symbol("dialogInjectionKey"), pU = Rr({
5822
5822
  }, [
5823
5823
  $n(H.$slots, "default")
5824
5824
  ], 10, ["id"]),
5825
- H.$slots.footer ? (Le(), Ln("footer", {
5825
+ H.$slots.footer ? (xe(), Ln("footer", {
5826
5826
  key: 0,
5827
5827
  class: rn(wt(u).e("footer"))
5828
5828
  }, [
@@ -5898,8 +5898,8 @@ const i2t = Rr({
5898
5898
  const s = vc(), u = vc(), h = Je(!1), p = Je(!1), Q = Je(!1), m = Je((n = e.zIndex) != null ? n : o());
5899
5899
  let v, x;
5900
5900
  const L = Sv("namespace", rp), H = he(() => {
5901
- const xe = {}, be = `--${L.value}-dialog`;
5902
- return e.fullscreen || (e.top && (xe[`${be}-margin-top`] = e.top), e.width && (xe[`${be}-width`] = yc(e.width))), xe;
5901
+ const Le = {}, be = `--${L.value}-dialog`;
5902
+ return e.fullscreen || (e.top && (Le[`${be}-margin-top`] = e.top), e.width && (Le[`${be}-width`] = yc(e.width))), Le;
5903
5903
  }), E = he(() => e.alignCenter ? { display: "flex" } : {});
5904
5904
  function P() {
5905
5905
  i("opened");
@@ -5917,10 +5917,10 @@ const i2t = Rr({
5917
5917
  v == null || v(), x == null || x(), e.closeDelay && e.closeDelay > 0 ? { stop: x } = pk(() => ft(), e.closeDelay) : ft();
5918
5918
  }
5919
5919
  function q() {
5920
- function xe(be) {
5920
+ function Le(be) {
5921
5921
  be || (p.value = !0, h.value = !1);
5922
5922
  }
5923
- e.beforeClose ? e.beforeClose(xe) : $();
5923
+ e.beforeClose ? e.beforeClose(Le) : $();
5924
5924
  }
5925
5925
  function et() {
5926
5926
  e.closeOnClickModal && q();
@@ -5937,20 +5937,20 @@ const i2t = Rr({
5937
5937
  function At() {
5938
5938
  i("closeAutoFocus");
5939
5939
  }
5940
- function Zt(xe) {
5940
+ function Zt(Le) {
5941
5941
  var be;
5942
- ((be = xe.detail) == null ? void 0 : be.focusReason) === "pointer" && xe.preventDefault();
5942
+ ((be = Le.detail) == null ? void 0 : be.focusReason) === "pointer" && Le.preventDefault();
5943
5943
  }
5944
5944
  e.lockScroll && Uit(h);
5945
5945
  function ce() {
5946
5946
  e.closeOnPressEscape && q();
5947
5947
  }
5948
- return mr(() => e.modelValue, (xe) => {
5949
- xe ? (p.value = !1, z(), Q.value = !0, m.value = oz(e.zIndex) ? o() : m.value++, zo(() => {
5948
+ return mr(() => e.modelValue, (Le) => {
5949
+ Le ? (p.value = !1, z(), Q.value = !0, m.value = oz(e.zIndex) ? o() : m.value++, zo(() => {
5950
5950
  i("open"), t.value && (t.value.scrollTop = 0);
5951
5951
  })) : h.value && $();
5952
- }), mr(() => e.fullscreen, (xe) => {
5953
- t.value && (xe ? (a = t.value.style.transform, t.value.style.transform = "") : t.value.style.transform = a);
5952
+ }), mr(() => e.fullscreen, (Le) => {
5953
+ t.value && (Le ? (a = t.value.style.transform, t.value.style.transform = "") : t.value.style.transform = a);
5954
5954
  }), o1(() => {
5955
5955
  e.modelValue && (h.value = !0, Q.value = !0, z());
5956
5956
  }), {
@@ -6024,12 +6024,12 @@ const i2t = Rr({
6024
6024
  var ht;
6025
6025
  (ht = s.value) == null || ht.resetPosition();
6026
6026
  }
6027
- }), (ht, At) => (Le(), Fn(wt(Uz), {
6027
+ }), (ht, At) => (xe(), Nn(wt(Uz), {
6028
6028
  to: ht.appendTo,
6029
6029
  disabled: ht.appendTo !== "body" ? !1 : !ht.appendToBody
6030
6030
  }, {
6031
6031
  default: Pe(() => [
6032
- on(yf, {
6032
+ ln(yf, {
6033
6033
  name: "dialog-fade",
6034
6034
  onAfterEnter: wt(L),
6035
6035
  onAfterLeave: wt(H),
@@ -6037,7 +6037,7 @@ const i2t = Rr({
6037
6037
  persisted: ""
6038
6038
  }, {
6039
6039
  default: Pe(() => [
6040
- xi(on(wt(Jat), {
6040
+ xi(ln(wt(Jat), {
6041
6041
  "custom-mask-event": "",
6042
6042
  mask: ht.modal,
6043
6043
  "overlay-class": ht.modalClass,
@@ -6056,7 +6056,7 @@ const i2t = Rr({
6056
6056
  onMousedown: wt(et).onMousedown,
6057
6057
  onMouseup: wt(et).onMouseup
6058
6058
  }, [
6059
- on(wt(jz), {
6059
+ ln(wt(jz), {
6060
6060
  loop: "",
6061
6061
  trapped: wt(u),
6062
6062
  "focus-start-el": "container",
@@ -6066,7 +6066,7 @@ const i2t = Rr({
6066
6066
  onReleaseRequested: wt($)
6067
6067
  }, {
6068
6068
  default: Pe(() => [
6069
- wt(v) ? (Le(), Fn(r2t, Pc({
6069
+ wt(v) ? (xe(), Nn(r2t, Pc({
6070
6070
  key: 0,
6071
6071
  ref_key: "dialogContentRef",
6072
6072
  ref: s
@@ -6355,7 +6355,7 @@ const v2t = Rn({
6355
6355
  }
6356
6356
  });
6357
6357
  function _2t(e, t, n, r, i, o) {
6358
- return xi((Le(), Ln("li", {
6358
+ return xi((xe(), Ln("li", {
6359
6359
  id: e.id,
6360
6360
  class: rn(e.containerKls),
6361
6361
  role: "option",
@@ -6393,18 +6393,18 @@ const b2t = Rn({
6393
6393
  }
6394
6394
  });
6395
6395
  function x2t(e, t, n, r, i, o) {
6396
- return Le(), Ln("div", {
6396
+ return xe(), Ln("div", {
6397
6397
  class: rn([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
6398
6398
  style: Uo({ [e.isFitInputWidth ? "width" : "minWidth"]: e.minWidth })
6399
6399
  }, [
6400
- e.$slots.header ? (Le(), Ln("div", {
6400
+ e.$slots.header ? (xe(), Ln("div", {
6401
6401
  key: 0,
6402
6402
  class: rn(e.ns.be("dropdown", "header"))
6403
6403
  }, [
6404
6404
  $n(e.$slots, "header")
6405
6405
  ], 2)) : Un("v-if", !0),
6406
6406
  $n(e.$slots, "default"),
6407
- e.$slots.footer ? (Le(), Ln("div", {
6407
+ e.$slots.footer ? (xe(), Ln("div", {
6408
6408
  key: 1,
6409
6409
  class: rn(e.ns.be("dropdown", "footer"))
6410
6410
  }, [
@@ -6453,7 +6453,7 @@ const w2t = 11, M2t = (e, t) => {
6453
6453
  }
6454
6454
  }), ot = Je(!1), ft = Je(), { form: ht, formItem: At } = th(), { inputId: Zt } = Hv(e, {
6455
6455
  formItemContext: At
6456
- }), { valueOnClear: ce, isEmptyValue: xe } = p1t(e), be = he(() => e.disabled || (ht == null ? void 0 : ht.disabled)), gn = he(() => Hs(e.modelValue) ? e.modelValue.length > 0 : !xe(e.modelValue)), pn = he(() => e.clearable && !be.value && a.inputHovering && gn.value), ar = he(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), ge = he(() => i.is("reverse", ar.value && ot.value)), Re = he(() => (At == null ? void 0 : At.validateState) || ""), mn = he(() => kit[Re.value]), Xe = he(() => e.remote ? 300 : 0), hn = he(() => e.loading ? e.loadingText || n("el.select.loading") : e.remote && !a.inputValue && a.options.size === 0 ? !1 : e.filterable && a.inputValue && a.options.size > 0 && nn.value === 0 ? e.noMatchText || n("el.select.noMatch") : a.options.size === 0 ? e.noDataText || n("el.select.noData") : null), nn = he(() => tn.value.filter((Gt) => Gt.visible).length), tn = he(() => {
6456
+ }), { valueOnClear: ce, isEmptyValue: Le } = p1t(e), be = he(() => e.disabled || (ht == null ? void 0 : ht.disabled)), gn = he(() => Hs(e.modelValue) ? e.modelValue.length > 0 : !Le(e.modelValue)), pn = he(() => e.clearable && !be.value && a.inputHovering && gn.value), ar = he(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), ge = he(() => i.is("reverse", ar.value && ot.value)), Re = he(() => (At == null ? void 0 : At.validateState) || ""), mn = he(() => kit[Re.value]), Xe = he(() => e.remote ? 300 : 0), hn = he(() => e.loading ? e.loadingText || n("el.select.loading") : e.remote && !a.inputValue && a.options.size === 0 ? !1 : e.filterable && a.inputValue && a.options.size > 0 && nn.value === 0 ? e.noMatchText || n("el.select.noMatch") : a.options.size === 0 ? e.noDataText || n("el.select.noData") : null), nn = he(() => tn.value.filter((Gt) => Gt.visible).length), tn = he(() => {
6457
6457
  const Gt = Array.from(a.options.values()), Ut = [];
6458
6458
  return a.optionValues.forEach((Ne) => {
6459
6459
  const cn = Gt.findIndex((Mr) => Mr.value === Ne);
@@ -6474,7 +6474,7 @@ const w2t = 11, M2t = (e, t) => {
6474
6474
  set(Gt) {
6475
6475
  ot.value = Gt;
6476
6476
  }
6477
- }), an = he(() => {
6477
+ }), sn = he(() => {
6478
6478
  if (e.multiple && !d5(e.modelValue))
6479
6479
  return l5(e.modelValue).length === 0 && !a.inputValue;
6480
6480
  const Gt = Hs(e.modelValue) ? e.modelValue[0] : e.modelValue;
@@ -6693,7 +6693,7 @@ const w2t = 11, M2t = (e, t) => {
6693
6693
  handleOptionSelect: c1,
6694
6694
  scrollToOption: lt,
6695
6695
  hasModelValue: gn,
6696
- shouldShowPlaceholder: an,
6696
+ shouldShowPlaceholder: sn,
6697
6697
  currentPlaceholder: ze,
6698
6698
  mouseEnterEventName: wn,
6699
6699
  showClose: pn,
@@ -6903,13 +6903,13 @@ const S2t = Rr({
6903
6903
  });
6904
6904
  function H2t(e, t, n, r, i, o) {
6905
6905
  const a = Va("el-tag"), s = Va("el-tooltip"), u = Va("el-icon"), h = Va("el-option"), p = Va("el-options"), Q = Va("el-scrollbar"), m = Va("el-select-menu"), v = JJ("click-outside");
6906
- return xi((Le(), Ln("div", {
6906
+ return xi((xe(), Ln("div", {
6907
6907
  ref: "selectRef",
6908
6908
  class: rn([e.nsSelect.b(), e.nsSelect.m(e.selectSize)]),
6909
6909
  [ttt(e.mouseEnterEventName)]: (x) => e.states.inputHovering = !0,
6910
6910
  onMouseleave: (x) => e.states.inputHovering = !1
6911
6911
  }, [
6912
- on(s, {
6912
+ ln(s, {
6913
6913
  ref: "tooltipRef",
6914
6914
  visible: e.dropdownMenuVisible,
6915
6915
  placement: e.placement,
@@ -6942,7 +6942,7 @@ function H2t(e, t, n, r, i, o) {
6942
6942
  ]),
6943
6943
  onClick: Eo(e.toggleMenu, ["prevent"])
6944
6944
  }, [
6945
- e.$slots.prefix ? (Le(), Ln("div", {
6945
+ e.$slots.prefix ? (xe(), Ln("div", {
6946
6946
  key: 0,
6947
6947
  ref: "prefixRef",
6948
6948
  class: rn(e.nsSelect.e("prefix"))
@@ -6957,11 +6957,11 @@ function H2t(e, t, n, r, i, o) {
6957
6957
  ])
6958
6958
  }, [
6959
6959
  e.multiple ? $n(e.$slots, "tag", { key: 0 }, () => [
6960
- (Le(!0), Ln(R1, null, E6(e.showTagList, (L) => (Le(), Ln("div", {
6960
+ (xe(!0), Ln(R1, null, E6(e.showTagList, (L) => (xe(), Ln("div", {
6961
6961
  key: e.getValueKey(L),
6962
6962
  class: rn(e.nsSelect.e("selected-item"))
6963
6963
  }, [
6964
- on(a, {
6964
+ ln(a, {
6965
6965
  closable: !e.selectDisabled && !L.isDisabled,
6966
6966
  size: e.collapseTagSize,
6967
6967
  type: e.tagType,
@@ -6985,7 +6985,7 @@ function H2t(e, t, n, r, i, o) {
6985
6985
  _: 2
6986
6986
  }, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
6987
6987
  ], 2))), 128)),
6988
- e.collapseTags && e.states.selected.length > e.maxCollapseTags ? (Le(), Fn(s, {
6988
+ e.collapseTags && e.states.selected.length > e.maxCollapseTags ? (xe(), Nn(s, {
6989
6989
  key: 0,
6990
6990
  ref: "tagTooltipRef",
6991
6991
  disabled: e.dropdownMenuVisible || !e.collapseTagsTooltip,
@@ -6999,7 +6999,7 @@ function H2t(e, t, n, r, i, o) {
6999
6999
  ref: "collapseItemRef",
7000
7000
  class: rn(e.nsSelect.e("selected-item"))
7001
7001
  }, [
7002
- on(a, {
7002
+ ln(a, {
7003
7003
  closable: !1,
7004
7004
  size: e.collapseTagSize,
7005
7005
  type: e.tagType,
@@ -7021,11 +7021,11 @@ function H2t(e, t, n, r, i, o) {
7021
7021
  ref: "tagMenuRef",
7022
7022
  class: rn(e.nsSelect.e("selection"))
7023
7023
  }, [
7024
- (Le(!0), Ln(R1, null, E6(e.collapseTagList, (L) => (Le(), Ln("div", {
7024
+ (xe(!0), Ln(R1, null, E6(e.collapseTagList, (L) => (xe(), Ln("div", {
7025
7025
  key: e.getValueKey(L),
7026
7026
  class: rn(e.nsSelect.e("selected-item"))
7027
7027
  }, [
7028
- on(a, {
7028
+ ln(a, {
7029
7029
  class: "in-tooltip",
7030
7030
  closable: !e.selectDisabled && !L.isDisabled,
7031
7031
  size: e.collapseTagSize,
@@ -7054,7 +7054,7 @@ function H2t(e, t, n, r, i, o) {
7054
7054
  _: 3
7055
7055
  }, 8, ["disabled", "effect", "teleported"])) : Un("v-if", !0)
7056
7056
  ]) : Un("v-if", !0),
7057
- e.selectDisabled ? Un("v-if", !0) : (Le(), Ln("div", {
7057
+ e.selectDisabled ? Un("v-if", !0) : (xe(), Ln("div", {
7058
7058
  key: 1,
7059
7059
  class: rn([
7060
7060
  e.nsSelect.e("selected-item"),
@@ -7096,7 +7096,7 @@ function H2t(e, t, n, r, i, o) {
7096
7096
  }, null, 46, ["id", "onUpdate:modelValue", "name", "disabled", "autocomplete", "readonly", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label", "onKeydown", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onInput", "onClick"]), [
7097
7097
  [ett, e.states.inputValue]
7098
7098
  ]),
7099
- e.filterable ? (Le(), Ln("span", {
7099
+ e.filterable ? (xe(), Ln("span", {
7100
7100
  key: 0,
7101
7101
  ref: "calculatorRef",
7102
7102
  "aria-hidden": "true",
@@ -7104,7 +7104,7 @@ function H2t(e, t, n, r, i, o) {
7104
7104
  textContent: Li(e.states.inputValue)
7105
7105
  }, null, 10, ["textContent"])) : Un("v-if", !0)
7106
7106
  ], 2)),
7107
- e.shouldShowPlaceholder ? (Le(), Ln("div", {
7107
+ e.shouldShowPlaceholder ? (xe(), Ln("div", {
7108
7108
  key: 2,
7109
7109
  class: rn([
7110
7110
  e.nsSelect.e("selected-item"),
@@ -7118,23 +7118,23 @@ function H2t(e, t, n, r, i, o) {
7118
7118
  value: e.modelValue
7119
7119
  }, () => [
7120
7120
  yn("span", null, Li(e.currentPlaceholder), 1)
7121
- ]) : (Le(), Ln("span", { key: 1 }, Li(e.currentPlaceholder), 1))
7121
+ ]) : (xe(), Ln("span", { key: 1 }, Li(e.currentPlaceholder), 1))
7122
7122
  ], 2)) : Un("v-if", !0)
7123
7123
  ], 2),
7124
7124
  yn("div", {
7125
7125
  ref: "suffixRef",
7126
7126
  class: rn(e.nsSelect.e("suffix"))
7127
7127
  }, [
7128
- e.iconComponent && !e.showClose ? (Le(), Fn(u, {
7128
+ e.iconComponent && !e.showClose ? (xe(), Nn(u, {
7129
7129
  key: 0,
7130
7130
  class: rn([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
7131
7131
  }, {
7132
7132
  default: Pe(() => [
7133
- (Le(), Fn(Da(e.iconComponent)))
7133
+ (xe(), Nn(Da(e.iconComponent)))
7134
7134
  ]),
7135
7135
  _: 1
7136
7136
  }, 8, ["class"])) : Un("v-if", !0),
7137
- e.showClose && e.clearIcon ? (Le(), Fn(u, {
7137
+ e.showClose && e.clearIcon ? (xe(), Nn(u, {
7138
7138
  key: 1,
7139
7139
  class: rn([
7140
7140
  e.nsSelect.e("caret"),
@@ -7144,16 +7144,16 @@ function H2t(e, t, n, r, i, o) {
7144
7144
  onClick: e.handleClearClick
7145
7145
  }, {
7146
7146
  default: Pe(() => [
7147
- (Le(), Fn(Da(e.clearIcon)))
7147
+ (xe(), Nn(Da(e.clearIcon)))
7148
7148
  ]),
7149
7149
  _: 1
7150
7150
  }, 8, ["class", "onClick"])) : Un("v-if", !0),
7151
- e.validateState && e.validateIcon ? (Le(), Fn(u, {
7151
+ e.validateState && e.validateIcon ? (xe(), Nn(u, {
7152
7152
  key: 2,
7153
7153
  class: rn([e.nsInput.e("icon"), e.nsInput.e("validateIcon")])
7154
7154
  }, {
7155
7155
  default: Pe(() => [
7156
- (Le(), Fn(Da(e.validateIcon)))
7156
+ (xe(), Nn(Da(e.validateIcon)))
7157
7157
  ]),
7158
7158
  _: 1
7159
7159
  }, 8, ["class"])) : Un("v-if", !0)
@@ -7162,9 +7162,9 @@ function H2t(e, t, n, r, i, o) {
7162
7162
  ];
7163
7163
  }),
7164
7164
  content: Pe(() => [
7165
- on(m, { ref: "menuRef" }, {
7165
+ ln(m, { ref: "menuRef" }, {
7166
7166
  default: Pe(() => [
7167
- e.$slots.header ? (Le(), Ln("div", {
7167
+ e.$slots.header ? (xe(), Ln("div", {
7168
7168
  key: 0,
7169
7169
  class: rn(e.nsSelect.be("dropdown", "header")),
7170
7170
  onClick: Eo(() => {
@@ -7172,7 +7172,7 @@ function H2t(e, t, n, r, i, o) {
7172
7172
  }, [
7173
7173
  $n(e.$slots, "header")
7174
7174
  ], 10, ["onClick"])) : Un("v-if", !0),
7175
- xi(on(Q, {
7175
+ xi(ln(Q, {
7176
7176
  id: e.contentId,
7177
7177
  ref: "scrollbarRef",
7178
7178
  tag: "ul",
@@ -7184,12 +7184,12 @@ function H2t(e, t, n, r, i, o) {
7184
7184
  "aria-orientation": "vertical"
7185
7185
  }, {
7186
7186
  default: Pe(() => [
7187
- e.showNewOption ? (Le(), Fn(h, {
7187
+ e.showNewOption ? (xe(), Nn(h, {
7188
7188
  key: 0,
7189
7189
  value: e.states.inputValue,
7190
7190
  created: !0
7191
7191
  }, null, 8, ["value"])) : Un("v-if", !0),
7192
- on(p, null, {
7192
+ ln(p, null, {
7193
7193
  default: Pe(() => [
7194
7194
  $n(e.$slots, "default")
7195
7195
  ]),
@@ -7200,12 +7200,12 @@ function H2t(e, t, n, r, i, o) {
7200
7200
  }, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
7201
7201
  [As, e.states.options.size > 0 && !e.loading]
7202
7202
  ]),
7203
- e.$slots.loading && e.loading ? (Le(), Ln("div", {
7203
+ e.$slots.loading && e.loading ? (xe(), Ln("div", {
7204
7204
  key: 1,
7205
7205
  class: rn(e.nsSelect.be("dropdown", "loading"))
7206
7206
  }, [
7207
7207
  $n(e.$slots, "loading")
7208
- ], 2)) : e.loading || e.filteredOptionsCount === 0 ? (Le(), Ln("div", {
7208
+ ], 2)) : e.loading || e.filteredOptionsCount === 0 ? (xe(), Ln("div", {
7209
7209
  key: 2,
7210
7210
  class: rn(e.nsSelect.be("dropdown", "empty"))
7211
7211
  }, [
@@ -7213,7 +7213,7 @@ function H2t(e, t, n, r, i, o) {
7213
7213
  yn("span", null, Li(e.emptyText), 1)
7214
7214
  ])
7215
7215
  ], 2)) : Un("v-if", !0),
7216
- e.$slots.footer ? (Le(), Ln("div", {
7216
+ e.$slots.footer ? (xe(), Ln("div", {
7217
7217
  key: 3,
7218
7218
  class: rn(e.nsSelect.be("dropdown", "footer")),
7219
7219
  onClick: Eo(() => {
@@ -7270,7 +7270,7 @@ const O2t = Rn({
7270
7270
  }
7271
7271
  });
7272
7272
  function P2t(e, t, n, r, i, o) {
7273
- return xi((Le(), Ln("ul", {
7273
+ return xi((xe(), Ln("ul", {
7274
7274
  ref: "groupRef",
7275
7275
  class: rn(e.ns.be("group", "wrap"))
7276
7276
  }, [
@@ -7382,7 +7382,7 @@ const k2t = Rr({
7382
7382
  return t({
7383
7383
  popperRef: s,
7384
7384
  hide: Q
7385
- }), (H, E) => (Le(), Fn(wt(Gz), Pc({
7385
+ }), (H, E) => (xe(), Nn(wt(Gz), Pc({
7386
7386
  ref_key: "tooltipRef",
7387
7387
  ref: a
7388
7388
  }, H.$attrs, {
@@ -7414,7 +7414,7 @@ const k2t = Rr({
7414
7414
  onHide: L
7415
7415
  }), {
7416
7416
  content: Pe(() => [
7417
- H.title ? (Le(), Ln("div", {
7417
+ H.title ? (xe(), Ln("div", {
7418
7418
  key: 0,
7419
7419
  class: rn(wt(o).e("title")),
7420
7420
  role: "title"
@@ -7505,7 +7505,7 @@ function j2t(e) {
7505
7505
  onAfterLeave: u
7506
7506
  }, {
7507
7507
  default: Pe(() => [
7508
- xi(on("div", {
7508
+ xi(ln("div", {
7509
7509
  style: {
7510
7510
  backgroundColor: r.background || ""
7511
7511
  },
@@ -7780,13 +7780,13 @@ const fE = function(e = {}) {
7780
7780
  }, Z2t = { class: "selections-container" }, q2t = { class: "checkall-display-text" }, X2t = { style: { "word-break": "keep-all" } }, K2t = { class: "checkbox-group-inner" }, Y2t = ["onMouseenter", "onMouseleave"];
7781
7781
  function J2t(e, t, n, r, i, o) {
7782
7782
  const a = Oj, s = c4, u = kv, h = wf, p = eU, Q = Lf, m = nU;
7783
- return Le(), Ln("div", Z2t, [
7784
- on(Q, null, {
7783
+ return xe(), Ln("div", Z2t, [
7784
+ ln(Q, null, {
7785
7785
  default: Pe(() => [
7786
- on(h, { span: 12 }, {
7786
+ ln(h, { span: 12 }, {
7787
7787
  default: Pe(() => [
7788
7788
  yn("span", q2t, Li(n.title), 1),
7789
- n.helpMessage ? (Le(), Fn(u, {
7789
+ n.helpMessage ? (xe(), Nn(u, {
7790
7790
  key: 0,
7791
7791
  width: "250",
7792
7792
  trigger: "hover",
@@ -7801,9 +7801,9 @@ function J2t(e, t, n, r, i, o) {
7801
7801
  n.helpMessage ? {
7802
7802
  name: "reference",
7803
7803
  fn: Pe(() => [
7804
- on(s, { class: "info" }, {
7804
+ ln(s, { class: "info" }, {
7805
7805
  default: Pe(() => [
7806
- on(a)
7806
+ ln(a)
7807
7807
  ]),
7808
7808
  _: 1
7809
7809
  })
@@ -7814,9 +7814,9 @@ function J2t(e, t, n, r, i, o) {
7814
7814
  ]),
7815
7815
  _: 1
7816
7816
  }),
7817
- on(h, { span: 12 }, {
7817
+ ln(h, { span: 12 }, {
7818
7818
  default: Pe(() => [
7819
- n.selections && n.selections.length > 1 ? (Le(), Fn(p, {
7819
+ n.selections && n.selections.length > 1 ? (xe(), Nn(p, {
7820
7820
  key: 0,
7821
7821
  class: "all-checkbox",
7822
7822
  indeterminate: o.isIndeterminate,
@@ -7836,7 +7836,7 @@ function J2t(e, t, n, r, i, o) {
7836
7836
  ]),
7837
7837
  _: 1
7838
7838
  }),
7839
- on(m, {
7839
+ ln(m, {
7840
7840
  modelValue: e.checkedItems,
7841
7841
  "onUpdate:modelValue": t[1] || (t[1] = (v) => e.checkedItems = v),
7842
7842
  size: "small",
@@ -7845,7 +7845,7 @@ function J2t(e, t, n, r, i, o) {
7845
7845
  }, {
7846
7846
  default: Pe(() => [
7847
7847
  yn("div", K2t, [
7848
- (Le(!0), Ln(R1, null, E6(n.selections, (v) => (Le(), Fn(Q, {
7848
+ (xe(!0), Ln(R1, null, E6(n.selections, (v) => (xe(), Nn(Q, {
7849
7849
  key: v[n.identifierKey],
7850
7850
  label: v[n.identifierKey]
7851
7851
  }, {
@@ -7855,7 +7855,7 @@ function J2t(e, t, n, r, i, o) {
7855
7855
  onMouseenter: (x) => o.checkboxMouseEnterEmit(v[n.identifierKey], !0),
7856
7856
  onMouseleave: (x) => o.checkboxMouseEnterEmit(v[n.identifierKey], !1)
7857
7857
  }, [
7858
- on(p, {
7858
+ ln(p, {
7859
7859
  class: "my-checkbox",
7860
7860
  label: v[n.identifierKey],
7861
7861
  value: v[n.identifierKey],
@@ -7864,9 +7864,9 @@ function J2t(e, t, n, r, i, o) {
7864
7864
  checked: !("enabled" in v) || v.enabled === !0
7865
7865
  }, {
7866
7866
  default: Pe(() => [
7867
- on(Q, { class: "checkbox-row" }, {
7867
+ ln(Q, { class: "checkbox-row" }, {
7868
7868
  default: Pe(() => [
7869
- o.hasLineStyles(v) ? (Le(), Fn(h, {
7869
+ o.hasLineStyles(v) ? (xe(), Nn(h, {
7870
7870
  key: 0,
7871
7871
  span: 4
7872
7872
  }, {
@@ -7878,7 +7878,7 @@ function J2t(e, t, n, r, i, o) {
7878
7878
  ]),
7879
7879
  _: 2
7880
7880
  }, 1024)) : Un("", !0),
7881
- on(h, { span: 20 }, {
7881
+ ln(h, { span: 20 }, {
7882
7882
  default: Pe(() => [
7883
7883
  yn("div", {
7884
7884
  style: Uo(o.getBackgroundStyles(v))
@@ -7915,8 +7915,8 @@ const mU = /* @__PURE__ */ Iv(W2t, [["render", J2t], ["__scopeId", "data-v-fb8c9
7915
7915
  "xmlns:bx": "https://boxy-svg.com"
7916
7916
  };
7917
7917
  function r3t(e, t, n, r, i, o) {
7918
- return Le(), Ln("div", e3t, [
7919
- (Le(), Ln("svg", n3t, t[0] || (t[0] = [
7918
+ return xe(), Ln("div", e3t, [
7919
+ (xe(), Ln("svg", n3t, t[0] || (t[0] = [
7920
7920
  rtt('<defs data-v-88079d87><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-88079d87></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-88079d87></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-88079d87></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglionated nerve plexus </text>', 9)
7921
7921
  ]))),
7922
7922
  t[1] || (t[1] = yn("svg", {
@@ -8353,7 +8353,7 @@ var vU = { exports: {} };
8353
8353
  et !== "absolute" && et !== "relative" && et !== "fixed" && et !== "sticky" && (L.style.position = "relative");
8354
8354
  var ot = !1, ft = 0, ht = a(L), At = 0, Zt = 0, ce = !0;
8355
8355
  m = 0;
8356
- var xe = function() {
8356
+ var Le = function() {
8357
8357
  var ge = L.offsetWidth, Re = L.offsetHeight;
8358
8358
  N.style.width = ge + 10 + "px", N.style.height = Re + 10 + "px", I.scrollLeft = ge + 10, I.scrollTop = Re + 10, z.scrollLeft = ge + 10, z.scrollTop = Re + 10;
8359
8359
  }, be = function() {
@@ -8367,7 +8367,7 @@ var vU = { exports: {} };
8367
8367
  } else
8368
8368
  ce = !1;
8369
8369
  }
8370
- xe();
8370
+ Le();
8371
8371
  };
8372
8372
  L.resizeSensor.resetSensor = be;
8373
8373
  var gn = function() {
@@ -9699,7 +9699,7 @@ var IG = { exports: {} };
9699
9699
  var g = c[0], b = c[1], S = c[2], C = c[3];
9700
9700
  return T[0] = f[0] * g + f[4] * b + f[8] * S + f[12] * C, T[1] = f[1] * g + f[5] * b + f[9] * S + f[13] * C, T[2] = f[2] * g + f[6] * b + f[10] * S + f[14] * C, T[3] = f[3] * g + f[7] * b + f[11] * S + f[15] * C, T;
9701
9701
  }
9702
- function xe() {
9702
+ function Le() {
9703
9703
  var T = new $(4);
9704
9704
  return $ != Float32Array && (T[0] = 0, T[1] = 0, T[2] = 0), T[3] = 1, T;
9705
9705
  }
@@ -9711,7 +9711,7 @@ var IG = { exports: {} };
9711
9711
  var f = new $(2);
9712
9712
  return f[0] = T, f[1] = c, f;
9713
9713
  }
9714
- ot(), At = new $(4), $ != Float32Array && (At[0] = 0, At[1] = 0, At[2] = 0, At[3] = 0), ot(), ht(1, 0, 0), ht(0, 1, 0), xe(), xe(), q(), be();
9714
+ ot(), At = new $(4), $ != Float32Array && (At[0] = 0, At[1] = 0, At[2] = 0, At[3] = 0), ot(), ht(1, 0, 0), ht(0, 1, 0), Le(), Le(), q(), be();
9715
9715
  const pn = 8192;
9716
9716
  function ar(T, c, f) {
9717
9717
  return c * (pn / (T.tileSize * Math.pow(2, f - T.tileID.overscaledZ)));
@@ -9759,7 +9759,7 @@ var IG = { exports: {} };
9759
9759
  return Array.isArray(T) ? T.map(en) : typeof T == "object" && T ? We(T, en) : T;
9760
9760
  }
9761
9761
  const En = {};
9762
- function an(T) {
9762
+ function sn(T) {
9763
9763
  En[T] || (typeof console < "u" && console.warn(T), En[T] = !0);
9764
9764
  }
9765
9765
  function ze(T, c, f) {
@@ -10210,7 +10210,7 @@ var IG = { exports: {} };
10210
10210
  }
10211
10211
  }
10212
10212
  const Ge = ["bottom", "center", "top"];
10213
- class Nn {
10213
+ class Bn {
10214
10214
  constructor(c, f, g, b, S, C) {
10215
10215
  this.text = c, this.image = f, this.scale = g, this.fontStack = b, this.textColor = S, this.verticalAlign = C;
10216
10216
  }
@@ -10220,7 +10220,7 @@ var IG = { exports: {} };
10220
10220
  this.sections = c;
10221
10221
  }
10222
10222
  static fromString(c) {
10223
- return new fr([new Nn(c, null, null, null, null, null)]);
10223
+ return new fr([new Bn(c, null, null, null, null, null)]);
10224
10224
  }
10225
10225
  isEmpty() {
10226
10226
  return this.sections.length === 0 || !this.sections.some((c) => c.text.length !== 0 || c.image && c.image.name.length !== 0);
@@ -10374,14 +10374,14 @@ var IG = { exports: {} };
10374
10374
  function b4(T, c, f, g) {
10375
10375
  return typeof T == "number" && T >= 0 && T <= 255 && typeof c == "number" && c >= 0 && c <= 255 && typeof f == "number" && f >= 0 && f <= 255 ? g === void 0 || typeof g == "number" && g >= 0 && g <= 1 ? null : `Invalid rgba value [${[T, c, f, g].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof g == "number" ? [T, c, f, g] : [T, c, f]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
10376
10376
  }
10377
- function Bn(T) {
10377
+ function Fn(T) {
10378
10378
  if (T === null || typeof T == "string" || typeof T == "boolean" || typeof T == "number" || T instanceof To || T instanceof Ee || T instanceof Ke || T instanceof fr || T instanceof Hn || T instanceof or || T instanceof _e || T instanceof Er || T instanceof Sr) return !0;
10379
10379
  if (Array.isArray(T)) {
10380
- for (const c of T) if (!Bn(c)) return !1;
10380
+ for (const c of T) if (!Fn(c)) return !1;
10381
10381
  return !0;
10382
10382
  }
10383
10383
  if (typeof T == "object") {
10384
- for (const c in T) if (!Bn(T[c])) return !1;
10384
+ for (const c in T) if (!Fn(T[c])) return !1;
10385
10385
  return !0;
10386
10386
  }
10387
10387
  return !1;
@@ -10426,7 +10426,7 @@ var IG = { exports: {} };
10426
10426
  }
10427
10427
  static parse(c, f) {
10428
10428
  if (c.length !== 2) return f.error(`'literal' expression requires exactly one argument, but found ${c.length - 1} instead.`);
10429
- if (!Bn(c[1])) return f.error("invalid value");
10429
+ if (!Fn(c[1])) return f.error("invalid value");
10430
10430
  const g = c[1];
10431
10431
  let b = ei(g);
10432
10432
  const S = f.expectedType;
@@ -11281,7 +11281,7 @@ var IG = { exports: {} };
11281
11281
  evaluate(c) {
11282
11282
  return new fr(this.sections.map((f) => {
11283
11283
  const g = f.content.evaluate(c);
11284
- return ei(g) === Ja ? new Nn("", g, null, null, null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null) : new Nn(ur(g), null, f.scale ? f.scale.evaluate(c) : null, f.font ? f.font.evaluate(c).join(",") : null, f.textColor ? f.textColor.evaluate(c) : null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null);
11284
+ return ei(g) === Ja ? new Bn("", g, null, null, null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null) : new Bn(ur(g), null, f.scale ? f.scale.evaluate(c) : null, f.font ? f.font.evaluate(c).join(",") : null, f.textColor ? f.textColor.evaluate(c) : null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null);
11285
11285
  }));
11286
11286
  }
11287
11287
  eachChild(c) {
@@ -11446,7 +11446,7 @@ var IG = { exports: {} };
11446
11446
  }
11447
11447
  static parse(c, f) {
11448
11448
  if (c.length !== 2) return f.error(`'within' expression requires exactly one argument, but found ${c.length - 1} instead.`);
11449
- if (Bn(c[1])) {
11449
+ if (Fn(c[1])) {
11450
11450
  const g = c[1];
11451
11451
  if (g.type === "FeatureCollection") {
11452
11452
  const b = [];
@@ -11786,7 +11786,7 @@ var IG = { exports: {} };
11786
11786
  }
11787
11787
  static parse(c, f) {
11788
11788
  if (c.length !== 2) return f.error(`'distance' expression requires exactly one argument, but found ${c.length - 1} instead.`);
11789
- if (Bn(c[1])) {
11789
+ if (Fn(c[1])) {
11790
11790
  const g = c[1];
11791
11791
  if (g.type === "FeatureCollection") return new W1(g, g.features.map((b) => _a(b.geometry)).flat());
11792
11792
  if (g.type === "Feature") return new W1(g, _a(g.geometry));
@@ -14014,7 +14014,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14014
14014
  }
14015
14015
  prepareSegment(c, f, g, b) {
14016
14016
  const S = this.segments[this.segments.length - 1];
14017
- return c > Cr.MAX_VERTEX_ARRAY_LENGTH && an(`Max vertices per segment is ${Cr.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${c}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${Cr.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !S || S.vertexLength + c > Cr.MAX_VERTEX_ARRAY_LENGTH || S.sortKey !== b ? this.createNewSegment(f, g, b) : S;
14017
+ return c > Cr.MAX_VERTEX_ARRAY_LENGTH && sn(`Max vertices per segment is ${Cr.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${c}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${Cr.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !S || S.vertexLength + c > Cr.MAX_VERTEX_ARRAY_LENGTH || S.sortKey !== b ? this.createNewSegment(f, g, b) : S;
14018
14018
  }
14019
14019
  createNewSegment(c, f, g) {
14020
14020
  const b = { vertexOffset: c.length, primitiveOffset: f.length, vertexLength: 0, primitiveLength: 0, vaos: {} };
@@ -14433,7 +14433,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14433
14433
  const b = f[g];
14434
14434
  for (let S = 0; S < b.length; S++) {
14435
14435
  const C = b[S], k = Math.round(C.x * c), B = Math.round(C.y * c);
14436
- C.x = nn(k, EO, bx), C.y = nn(B, EO, bx), (k < C.x || k > C.x + 1 || B < C.y || B > C.y + 1) && an("Geometry exceeds allowed extent, reduce your vector tile buffer size");
14436
+ C.x = nn(k, EO, bx), C.y = nn(B, EO, bx), (k < C.x || k > C.x + 1 || B < C.y || B > C.y + 1) && sn("Geometry exceeds allowed extent, reduce your vector tile buffer size");
14437
14437
  }
14438
14438
  }
14439
14439
  return f;
@@ -16354,9 +16354,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16354
16354
  }
16355
16355
  addImageSection(c) {
16356
16356
  const f = c.image ? c.image.name : "";
16357
- if (f.length === 0) return void an("Can't add FormattedSection with an empty image.");
16357
+ if (f.length === 0) return void sn("Can't add FormattedSection with an empty image.");
16358
16358
  const g = this.getNextImageSectionCharCode();
16359
- g ? (this.text += String.fromCharCode(g), this.sections.push(s9.forImage(f, c.verticalAlign)), this.sectionIndex.push(this.sections.length - 1)) : an("Reached maximum number of images 6401");
16359
+ g ? (this.text += String.fromCharCode(g), this.sections.push(s9.forImage(f, c.verticalAlign)), this.sectionIndex.push(this.sections.length - 1)) : sn("Reached maximum number of images 6401");
16360
16360
  }
16361
16361
  getNextImageSectionCharCode() {
16362
16362
  return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
@@ -17181,7 +17181,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17181
17181
  class DP {
17182
17182
  constructor(c, f, g, b = 1, S = 1, C = 1, k = 0) {
17183
17183
  if (this.uid = c, f.height !== f.width) throw new RangeError("DEM tiles must be square");
17184
- if (g && !["mapbox", "terrarium", "custom"].includes(g)) return void an(`"${g}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
17184
+ if (g && !["mapbox", "terrarium", "custom"].includes(g)) return void sn(`"${g}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
17185
17185
  this.stride = f.height;
17186
17186
  const B = this.dim = f.height - 2;
17187
17187
  switch (this.data = new Uint32Array(f.data.buffer), g) {
@@ -17732,7 +17732,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17732
17732
  Au = new nQ(bi, pr, go, Io, Vo, Yo, uo, vo, !1, Q1), ok = 4 * cl.length;
17733
17733
  const ul = bn.iconSizeData;
17734
17734
  let w3 = null;
17735
- ul.kind === "source" ? (w3 = [L3 * ko.layout.get("icon-size").evaluate(ii, {})], w3[0] > L0 && an(`${bn.layerIds[0]}: Value for "icon-size" is >= ${a9}. Reduce your "icon-size".`)) : ul.kind === "composite" && (w3 = [L3 * m2.compositeIconSizes[0].evaluate(ii, {}, g2), L3 * m2.compositeIconSizes[1].evaluate(ii, {}, g2)], (w3[0] > L0 || w3[1] > L0) && an(`${bn.layerIds[0]}: Value for "icon-size" is >= ${a9}. Reduce your "icon-size".`)), bn.addSymbols(bn.icon, cl, w3, Yi, _o, ii, a.al.none, pr, Su.lineStartIndex, Su.lineLength, -1, g2), uL = bn.icon.placedSymbolArray.length - 1, v2 && (sk = 4 * v2.length, bn.addSymbols(bn.icon, v2, w3, Yi, _o, ii, a.al.vertical, pr, Su.lineStartIndex, Su.lineLength, -1, g2), hL = bn.icon.placedSymbolArray.length - 1);
17735
+ ul.kind === "source" ? (w3 = [L3 * ko.layout.get("icon-size").evaluate(ii, {})], w3[0] > L0 && sn(`${bn.layerIds[0]}: Value for "icon-size" is >= ${a9}. Reduce your "icon-size".`)) : ul.kind === "composite" && (w3 = [L3 * m2.compositeIconSizes[0].evaluate(ii, {}, g2), L3 * m2.compositeIconSizes[1].evaluate(ii, {}, g2)], (w3[0] > L0 || w3[1] > L0) && sn(`${bn.layerIds[0]}: Value for "icon-size" is >= ${a9}. Reduce your "icon-size".`)), bn.addSymbols(bn.icon, cl, w3, Yi, _o, ii, a.al.none, pr, Su.lineStartIndex, Su.lineLength, -1, g2), uL = bn.icon.placedSymbolArray.length - 1, v2 && (sk = 4 * v2.length, bn.addSymbols(bn.icon, v2, w3, Yi, _o, ii, a.al.vertical, pr, Su.lineStartIndex, Su.lineLength, -1, g2), hL = bn.icon.placedSymbolArray.length - 1);
17736
17736
  }
17737
17737
  const uk = Object.keys(co.horizontal);
17738
17738
  for (const Q1 of uk) {
@@ -17751,7 +17751,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17751
17751
  const iQ = (Q1, Js) => Q1 && Q1.circleDiameter ? Math.max(Q1.circleDiameter, Js) : Js;
17752
17752
  y2 = iQ(ll, y2), y2 = iQ(Hu, y2), y2 = iQ(Au, y2), y2 = iQ(Cu, y2);
17753
17753
  const hk = y2 > -1 ? 1 : 0;
17754
- hk && (y2 *= HJ / lo), bn.glyphOffsetArray.length >= Lu.MAX_GLYPHS && an("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), ii.sortKey !== void 0 && bn.addToSortKeyRanges(bn.symbolInstances.length, ii.sortKey);
17754
+ hk && (y2 *= HJ / lo), bn.glyphOffsetArray.length >= Lu.MAX_GLYPHS && sn("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), ii.sortKey !== void 0 && bn.addToSortKeyRanges(bn.symbolInstances.length, ii.sortKey);
17755
17755
  const NJ = JP(ko, ii, g2), [BJ, FJ] = function(Q1, Js) {
17756
17756
  const cl = Q1.length, v2 = Js == null ? void 0 : Js.values;
17757
17757
  if ((v2 == null ? void 0 : v2.length) > 0) for (let ul = 0; ul < v2.length; ul += 2) {
@@ -17812,7 +17812,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17812
17812
  return De;
17813
17813
  }(0, f, k, b, S, C, g, T.allowVerticalPlacement), Qt = T.textSizeData;
17814
17814
  let Lt = null;
17815
- Qt.kind === "source" ? (Lt = [L3 * b.layout.get("text-size").evaluate(C, {})], Lt[0] > L0 && an(`${T.layerIds[0]}: Value for "text-size" is >= ${a9}. Reduce your "text-size".`)) : Qt.kind === "composite" && (Lt = [L3 * nt.compositeTextSizes[0].evaluate(C, {}, rt), L3 * nt.compositeTextSizes[1].evaluate(C, {}, rt)], (Lt[0] > L0 || Lt[1] > L0) && an(`${T.layerIds[0]}: Value for "text-size" is >= ${a9}. Reduce your "text-size".`)), T.addSymbols(T.text, at, Lt, k, S, C, j, c, B.lineStartIndex, B.lineLength, J, rt);
17815
+ Qt.kind === "source" ? (Lt = [L3 * b.layout.get("text-size").evaluate(C, {})], Lt[0] > L0 && sn(`${T.layerIds[0]}: Value for "text-size" is >= ${a9}. Reduce your "text-size".`)) : Qt.kind === "composite" && (Lt = [L3 * nt.compositeTextSizes[0].evaluate(C, {}, rt), L3 * nt.compositeTextSizes[1].evaluate(C, {}, rt)], (Lt[0] > L0 || Lt[1] > L0) && sn(`${T.layerIds[0]}: Value for "text-size" is >= ${a9}. Reduce your "text-size".`)), T.addSymbols(T.text, at, Lt, k, S, C, j, c, B.lineStartIndex, B.lineLength, J, rt);
17816
17816
  for (const Ft of G) X[Ft] = T.text.placedSymbolArray.length - 1;
17817
17817
  return 4 * at.length;
17818
17818
  }
@@ -18457,7 +18457,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18457
18457
  let Ft = !1;
18458
18458
  if (j.icon && j.icon.name) {
18459
18459
  const tt = T.imageMap[j.icon.name];
18460
- tt && (Qt = uJ(T.imagePositions[j.icon.name], f.get("icon-offset").evaluate(j, {}, T.canonical), f.get("icon-anchor").evaluate(j, {}, T.canonical)), Ft = !!tt.sdf, T.bucket.sdfIcons === void 0 ? T.bucket.sdfIcons = Ft : T.bucket.sdfIcons !== Ft && an("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (tt.pixelRatio !== T.bucket.pixelRatio || f.get("icon-rotate").constantOr(1) !== 0) && (T.bucket.iconsNeedLinear = !0));
18460
+ tt && (Qt = uJ(T.imagePositions[j.icon.name], f.get("icon-offset").evaluate(j, {}, T.canonical), f.get("icon-anchor").evaluate(j, {}, T.canonical)), Ft = !!tt.sdf, T.bucket.sdfIcons === void 0 ? T.bucket.sdfIcons = Ft : T.bucket.sdfIcons !== Ft && sn("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (tt.pixelRatio !== T.bucket.pixelRatio || f.get("icon-rotate").constantOr(1) !== 0) && (T.bucket.iconsNeedLinear = !0));
18461
18461
  }
18462
18462
  const Ct = ek(rt.horizontal) || rt.vertical;
18463
18463
  T.bucket.iconsInText = !!Ct && Ct.iconsInText, (Ct || Qt) && EJ(T.bucket, j, rt, Qt, T.imageMap, b, J, nt, Lt, Ft, T.canonical, T.subdivisionGranularity);
@@ -18482,7 +18482,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18482
18482
  g.src = T.byteLength ? URL.createObjectURL(b) : gr;
18483
18483
  }), a.i = wn, a.j = (T, c) => c1(oe(T, { type: "json" }), c), a.k = Et, a.l = mt, a.m = c1, a.n = (T, c) => c1(oe(T, { type: "arrayBuffer" }), c), a.o = function(T) {
18484
18484
  return new jx(T).readFields(YY, []);
18485
- }, a.p = TP, a.q = qh, a.r = qi, a.s = Ho, a.t = uu, a.u = hr, a.v = Tt, a.w = an, a.x = Ih, a.y = g0, a.z = function([T, c, f]) {
18485
+ }, a.p = TP, a.q = qh, a.r = qi, a.s = Ho, a.t = uu, a.u = hr, a.v = Tt, a.w = sn, a.x = Ih, a.y = g0, a.z = function([T, c, f]) {
18486
18486
  return c += 90, c *= Math.PI / 180, f *= Math.PI / 180, { x: T * Math.cos(c) * Math.sin(f), y: T * Math.sin(c) * Math.sin(f), z: T * Math.cos(f) };
18487
18487
  };
18488
18488
  }), i("worker", ["./shared"], function(a) {
@@ -18840,7 +18840,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18840
18840
  }(), ot = a.cH(et);
18841
18841
  const ft = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (Kt) => Kt }, ht = Math.fround || (At = new Float32Array(1), (Kt) => (At[0] = +Kt, At[0]));
18842
18842
  var At;
18843
- const Zt = 3, ce = 5, xe = 6;
18843
+ const Zt = 3, ce = 5, Le = 6;
18844
18844
  class be {
18845
18845
  constructor(lt) {
18846
18846
  this.options = Object.assign(Object.create(ft), lt), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
@@ -18987,7 +18987,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18987
18987
  }
18988
18988
  _map(lt, ut, mt) {
18989
18989
  if (lt[ut + ce] > 1) {
18990
- const Tt = this.clusterProps[lt[ut + xe]];
18990
+ const Tt = this.clusterProps[lt[ut + Le]];
18991
18991
  return mt ? Object.assign({}, Tt) : Tt;
18992
18992
  }
18993
18993
  const Et = this.points[lt[ut + Zt]].properties, Nt = this.options.map(Et);
@@ -18999,7 +18999,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18999
18999
  var mt;
19000
19000
  }
19001
19001
  function pn(Kt, lt, ut) {
19002
- const mt = Kt[lt + ce], Et = mt >= 1e4 ? `${Math.round(mt / 1e3)}k` : mt >= 1e3 ? Math.round(mt / 100) / 10 + "k" : mt, Nt = Kt[lt + xe], Tt = Nt === -1 ? {} : Object.assign({}, ut[Nt]);
19002
+ const mt = Kt[lt + ce], Et = mt >= 1e4 ? `${Math.round(mt / 1e3)}k` : mt >= 1e3 ? Math.round(mt / 100) / 10 + "k" : mt, Nt = Kt[lt + Le], Tt = Nt === -1 ? {} : Object.assign({}, ut[Nt]);
19003
19003
  return Object.assign(Tt, { cluster: !0, cluster_id: Kt[lt + Zt], point_count: mt, point_count_abbreviated: Et });
19004
19004
  }
19005
19005
  function ar(Kt) {
@@ -19117,7 +19117,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19117
19117
  }
19118
19118
  if (Be < ut || we >= mt) continue;
19119
19119
  let Ue = [];
19120
- if (Jt === "Point" || Jt === "MultiPoint") an(ae, Ue, ut, mt, Et);
19120
+ if (Jt === "Point" || Jt === "MultiPoint") sn(ae, Ue, ut, mt, Et);
19121
19121
  else if (Jt === "LineString") ze(ae, Ue, ut, mt, Et, !1, ee.lineMetrics);
19122
19122
  else if (Jt === "MultiLineString") vn(ae, Ue, ut, mt, Et, !1);
19123
19123
  else if (Jt === "Polygon") vn(ae, Ue, ut, mt, Et, !0);
@@ -19135,7 +19135,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19135
19135
  }
19136
19136
  return zt.length ? zt : null;
19137
19137
  }
19138
- function an(Kt, lt, ut, mt, Et) {
19138
+ function sn(Kt, lt, ut, mt, Et) {
19139
19139
  for (let Nt = 0; Nt < Kt.length; Nt += 3) {
19140
19140
  const Tt = Kt[Nt + Et];
19141
19141
  Tt >= ut && Tt <= mt && _r(lt, Kt[Nt], Kt[Nt + 1], Kt[Nt + 2]);
@@ -19999,7 +19999,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
19999
19999
  return it;
20000
20000
  }
20001
20001
  };
20002
- class xe {
20002
+ class Le {
20003
20003
  constructor() {
20004
20004
  this.specification = s.v.light.position;
20005
20005
  }
@@ -20013,7 +20013,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20013
20013
  let be;
20014
20014
  class gn extends s.E {
20015
20015
  constructor(l) {
20016
- super(), be = be || new s.r({ anchor: new s.D(s.v.light.anchor), position: new xe(), color: new s.D(s.v.light.color), intensity: new s.D(s.v.light.intensity) }), this._transitionable = new s.T(be), this.setLight(l), this._transitioning = this._transitionable.untransitioned();
20016
+ super(), be = be || new s.r({ anchor: new s.D(s.v.light.anchor), position: new Le(), color: new s.D(s.v.light.color), intensity: new s.D(s.v.light.intensity) }), this._transitionable = new s.T(be), this.setLight(l), this._transitioning = this._transitionable.untransitioned();
20017
20017
  }
20018
20018
  getLight() {
20019
20019
  return this._transitionable.serialize();
@@ -20240,7 +20240,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20240
20240
  const d = w.feature, y = l.getFeatureState(d.layer["source-layer"], d.id);
20241
20241
  d.source = d.layer.source, d.layer["source-layer"] && (d.sourceLayer = d.layer["source-layer"]), d.state = y;
20242
20242
  }
20243
- function an(w, l, d) {
20243
+ function sn(w, l, d) {
20244
20244
  return s._(this, void 0, void 0, function* () {
20245
20245
  let y = w;
20246
20246
  if (w.url ? y = (yield s.j(l.transformRequest(w.url, "Source"), d)).data : yield m.frameAsync(d), !y) return null;
@@ -20342,7 +20342,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20342
20342
  return s._(this, void 0, void 0, function* () {
20343
20343
  this._loaded = !1, this.fire(new s.l("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20344
20344
  try {
20345
- const l = yield an(this._options, this.map._requestManager, this._tileJSONRequest);
20345
+ const l = yield sn(this._options, this.map._requestManager, this._tileJSONRequest);
20346
20346
  this._tileJSONRequest = null, this._loaded = !0, this.map.style.sourceCaches[this.id].clearTiles(), l && (s.e(this, l), l.bounds && (this.tileBounds = new wn(l.bounds, this.minzoom, this.maxzoom)), this.fire(new s.l("data", { dataType: "source", sourceDataType: "metadata" })), this.fire(new s.l("data", { dataType: "source", sourceDataType: "content" })));
20347
20347
  } catch (l) {
20348
20348
  this._tileJSONRequest = null, this.fire(new s.k(l));
@@ -20427,7 +20427,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20427
20427
  return s._(this, arguments, void 0, function* (l = !1) {
20428
20428
  this._loaded = !1, this.fire(new s.l("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20429
20429
  try {
20430
- const d = yield an(this._options, this.map._requestManager, this._tileJSONRequest);
20430
+ const d = yield sn(this._options, this.map._requestManager, this._tileJSONRequest);
20431
20431
  this._tileJSONRequest = null, this._loaded = !0, d && (s.e(this, d), d.bounds && (this.tileBounds = new wn(d.bounds, this.minzoom, this.maxzoom)), this.fire(new s.l("data", { dataType: "source", sourceDataType: "metadata" })), this.fire(new s.l("data", { dataType: "source", sourceDataType: "content", sourceDataChanged: l })));
20432
20432
  } catch (d) {
20433
20433
  this._tileJSONRequest = null, this.fire(new s.k(d));
@@ -23335,7 +23335,7 @@ uniform ${Z} ${Y} u_${K};
23335
23335
  return { top: this.top, bottom: this.bottom, left: this.left, right: this.right };
23336
23336
  }
23337
23337
  }
23338
- function Nn(w, l) {
23338
+ function Bn(w, l) {
23339
23339
  if (!w.renderWorldCopies || w.lngRange) return;
23340
23340
  const d = l.lng - w.center.lng;
23341
23341
  l.lng += d > 180 ? -360 : d < -180 ? 360 : 0;
@@ -24128,7 +24128,7 @@ uniform ${Z} ${Y} u_${K};
24128
24128
  const Z = V ? +d.zoom : l.zoom;
24129
24129
  let Y = l.centerPoint.add(d.offsetAsPoint);
24130
24130
  const K = l.screenPointToLocation(Y), { center: it, zoom: st } = l.getConstrained(s.Q.convert(d.center || K), Z ?? y);
24131
- Nn(l, it);
24131
+ Bn(l, it);
24132
24132
  const _t = Oi(l.worldSize, K), bt = Oi(l.worldSize, it).sub(_t), xt = s.ac(st - y);
24133
24133
  return U = st !== y, { easeFunc: (Ht) => {
24134
24134
  if (U && l.setZoom(s.B.number(y, st, Ht)), s.b6(M, O) || Sr({ startEulerAngles: M, endEulerAngles: O, tr: l, k: Ht, useSlerp: M.roll != O.roll }), F && (l.interpolatePadding(_, d.padding, Ht), Y = l.centerPoint.add(d.offsetAsPoint)), d.around) l.setLocationAtPoint(d.around, d.aroundPoint);
@@ -24140,7 +24140,7 @@ uniform ${Z} ${Y} u_${K};
24140
24140
  }
24141
24141
  handleFlyTo(l, d) {
24142
24142
  const y = d.zoom !== void 0, _ = l.zoom, M = l.getConstrained(s.Q.convert(d.center || d.locationAtOffset), y ? +d.zoom : _), O = M.center, V = M.zoom;
24143
- Nn(l, O);
24143
+ Bn(l, O);
24144
24144
  const F = Oi(l.worldSize, d.locationAtOffset), U = Oi(l.worldSize, O).sub(F), Z = U.mag(), Y = s.ac(V - _);
24145
24145
  let K;
24146
24146
  if (d.minZoom !== void 0) {
@@ -24154,12 +24154,12 @@ uniform ${Z} ${Y} u_${K};
24154
24154
  }, scaleOfZoom: Y, targetCenter: O, scaleOfMinZoom: K, pixelPathLength: Z };
24155
24155
  }
24156
24156
  }
24157
- class Bn {
24157
+ class Fn {
24158
24158
  constructor(l, d, y) {
24159
24159
  this.blendFunction = l, this.blendColor = d, this.mask = y;
24160
24160
  }
24161
24161
  }
24162
- Bn.Replace = [1, 0], Bn.disabled = new Bn(Bn.Replace, s.b7.transparent, [!1, !1, !1, !1]), Bn.unblended = new Bn(Bn.Replace, s.b7.transparent, [!0, !0, !0, !0]), Bn.alphaBlended = new Bn([1, 771], s.b7.transparent, [!0, !0, !0, !0]);
24162
+ Fn.Replace = [1, 0], Fn.disabled = new Fn(Fn.Replace, s.b7.transparent, [!1, !1, !1, !1]), Fn.unblended = new Fn(Fn.Replace, s.b7.transparent, [!0, !0, !0, !0]), Fn.alphaBlended = new Fn([1, 771], s.b7.transparent, [!0, !0, !0, !0]);
24163
24163
  const ei = 2305;
24164
24164
  class ur {
24165
24165
  constructor(l, d, y) {
@@ -24218,7 +24218,7 @@ uniform ${Z} ${Y} u_${K};
24218
24218
  }
24219
24219
  _renderErrorTexture(l, d) {
24220
24220
  const y = this._cachedRenderContext.context, _ = y.gl;
24221
- if (this._bindFramebuffer(), y.viewport.set([0, 0, this._texWidth, this._texHeight]), y.clear({ color: s.b7.transparent }), this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(y, _.TRIANGLES, In.disabled, Kn.disabled, Bn.unblended, ur.disabled, /* @__PURE__ */ ((M, O) => ({ u_input: M, u_output_expected: O }))(l, d), null, null, "$clipping", this._fullscreenTriangle.vertexBuffer, this._fullscreenTriangle.indexBuffer, this._fullscreenTriangle.segments), this._pbo && Wi(_)) {
24221
+ if (this._bindFramebuffer(), y.viewport.set([0, 0, this._texWidth, this._texHeight]), y.clear({ color: s.b7.transparent }), this._cachedRenderContext.useProgram("projectionErrorMeasurement").draw(y, _.TRIANGLES, In.disabled, Kn.disabled, Fn.unblended, ur.disabled, /* @__PURE__ */ ((M, O) => ({ u_input: M, u_output_expected: O }))(l, d), null, null, "$clipping", this._fullscreenTriangle.vertexBuffer, this._fullscreenTriangle.indexBuffer, this._fullscreenTriangle.segments), this._pbo && Wi(_)) {
24222
24222
  _.bindBuffer(_.PIXEL_PACK_BUFFER, this._pbo), _.readBuffer(_.COLOR_ATTACHMENT0), _.readPixels(0, 0, this._texWidth, this._texHeight, this._texFormat, this._texType, 0), _.bindBuffer(_.PIXEL_PACK_BUFFER, null);
24223
24223
  const M = _.fenceSync(_.SYNC_GPU_COMMANDS_COMPLETE, 0);
24224
24224
  _.flush(), this._readbackQueue = { frameNumberIssued: this._updateCount, sync: M };
@@ -25325,7 +25325,7 @@ uniform ${Z} ${Y} u_${K};
25325
25325
  const y = l.zoom, _ = l.center, M = l.padding, O = { roll: l.roll, pitch: l.pitch, bearing: l.bearing }, V = { roll: d.roll === void 0 ? l.roll : d.roll, pitch: d.pitch === void 0 ? l.pitch : d.pitch, bearing: d.bearing === void 0 ? l.bearing : d.bearing }, F = d.zoom !== void 0, U = !l.isPaddingEqual(d.padding);
25326
25326
  let Z = !1;
25327
25327
  const Y = d.center ? s.Q.convert(d.center) : _, K = l.getConstrained(Y, y).center;
25328
- Nn(l, K);
25328
+ Bn(l, K);
25329
25329
  const it = l.clone();
25330
25330
  it.setCenter(K), it.setZoom(F ? +d.zoom : y + zr(_.lat, Y.lat)), it.setBearing(d.bearing);
25331
25331
  const st = new s.P(s.ae(l.centerPoint.x + d.offsetAsPoint.x, 0, l.width), s.ae(l.centerPoint.y + d.offsetAsPoint.y, 0, l.height));
@@ -25349,7 +25349,7 @@ uniform ${Z} ${Y} u_${K};
25349
25349
  const Y = new s.P(s.ae(l.centerPoint.x + d.offsetAsPoint.x, 0, l.width), s.ae(l.centerPoint.y + d.offsetAsPoint.y, 0, l.height));
25350
25350
  Z.setLocationAtPoint(F, Y);
25351
25351
  const K = Z.center;
25352
- Nn(l, K);
25352
+ Bn(l, K);
25353
25353
  const it = function(kt, Dt, jt) {
25354
25354
  const Bt = Zi(Dt), re = Zi(jt), Qe = s.aV(Bt, re), ue = Math.acos(Qe), de = i3(kt);
25355
25355
  return ue / (2 * Math.PI) * de;
@@ -26708,7 +26708,7 @@ uniform ${Z} ${Y} u_${K};
26708
26708
  l.test.func !== this.gl.ALWAYS || l.mask ? (this.stencilTest.set(!0), this.stencilMask.set(l.mask), this.stencilOp.set([l.fail, l.depthFail, l.pass]), this.stencilFunc.set({ func: l.test.func, ref: l.ref, mask: l.test.mask })) : this.stencilTest.set(!1);
26709
26709
  }
26710
26710
  setColorMode(l) {
26711
- s.bE(l.blendFunction, Bn.Replace) ? this.blend.set(!1) : (this.blend.set(!0), this.blendFunc.set(l.blendFunction), this.blendColor.set(l.blendColor)), this.colorMask.set(l.mask);
26711
+ s.bE(l.blendFunction, Fn.Replace) ? this.blend.set(!1) : (this.blend.set(!0), this.blendFunc.set(l.blendFunction), this.blendColor.set(l.blendColor)), this.colorMask.set(l.mask);
26712
26712
  }
26713
26713
  createVertexArray() {
26714
26714
  var l;
@@ -26856,7 +26856,7 @@ uniform ${Z} ${Y} u_${K};
26856
26856
  _.draw(Y, Y.gl.TRIANGLES, M, O, V, ur.backCCW, F, Z, U, d.id, w.layoutVertexBuffer, w.indexBuffer, l, d.paint, y.transform.zoom, w.programConfigurations.get(d.id), w.dynamicLayoutVertexBuffer, w.opacityVertexBuffer);
26857
26857
  }
26858
26858
  function ru(w, l, d, y, _) {
26859
- const M = w.context, O = M.gl, V = Kn.disabled, F = new Bn([O.ONE, O.ONE], s.b7.transparent, [!0, !0, !0, !0]), U = l.getBucket(d);
26859
+ const M = w.context, O = M.gl, V = Kn.disabled, F = new Fn([O.ONE, O.ONE], s.b7.transparent, [!0, !0, !0, !0]), U = l.getBucket(d);
26860
26860
  if (!U) return;
26861
26861
  const Z = y.key;
26862
26862
  let Y = d.heatmapFbos.get(Z);
@@ -26987,7 +26987,7 @@ uniform ${Z} ${Y} u_${K};
26987
26987
  Dt.clearRect(0, 0, It.width, It.height), Dt.shadowColor = "white", Dt.shadowBlur = 2, Dt.lineWidth = 1.5, Dt.strokeStyle = "white", Dt.textBaseline = "top", Dt.font = "bold 36px Open Sans, sans-serif", Dt.fillText(Ht, 5, 5), Dt.strokeText(Ht, 5, 5), xt.debugOverlayTexture.update(It), xt.debugOverlayTexture.bind(kt.LINEAR, kt.CLAMP_TO_EDGE);
26988
26988
  }(w, `${_t} ${K}kB`);
26989
26989
  const bt = w.transform.getProjectionData({ overscaledTileID: d, applyGlobeMatrix: !0, applyTerrainMatrix: !0 });
26990
- M.draw(y, _.TRIANGLES, O, V, Bn.alphaBlended, ur.disabled, Fs(s.b7.transparent, st), null, bt, U, w.debugBuffer, w.quadTriangleIndexBuffer, w.debugSegments), M.draw(y, _.LINE_STRIP, O, V, F, ur.disabled, Fs(s.b7.red), Z, bt, U, w.debugBuffer, w.tileBorderIndexBuffer, w.debugSegments);
26990
+ M.draw(y, _.TRIANGLES, O, V, Fn.alphaBlended, ur.disabled, Fs(s.b7.transparent, st), null, bt, U, w.debugBuffer, w.quadTriangleIndexBuffer, w.debugSegments), M.draw(y, _.LINE_STRIP, O, V, F, ur.disabled, Fs(s.b7.red), Z, bt, U, w.debugBuffer, w.tileBorderIndexBuffer, w.debugSegments);
26991
26991
  }
26992
26992
  function m3(w, l, d, y) {
26993
26993
  const { isRenderingGlobe: _ } = y, M = w.context, O = M.gl, V = w.transform, F = w.colorModeForRenderPass(), U = w.getDepthModeFor3D(), Z = w.useProgram("terrain");
@@ -27039,13 +27039,13 @@ uniform ${Z} ${Y} u_${K};
27039
27039
  const y = s.K();
27040
27040
  s.bQ(y, 0, this.width, this.height, 0, 0, 1), s.M(y, y, [d.drawingBufferWidth, d.drawingBufferHeight, 0]);
27041
27041
  const _ = { mainMatrix: y, tileMercatorCoords: [0, 0, 1, 1], clippingPlane: [0, 0, 0, 0], projectionTransition: 0, fallbackMatrix: y };
27042
- this.useProgram("clippingMask", null, !0).draw(l, d.TRIANGLES, In.disabled, this.stencilClearMode, Bn.disabled, ur.disabled, null, null, _, "$clipping", this.viewportBuffer, this.quadTriangleIndexBuffer, this.viewportSegments);
27042
+ this.useProgram("clippingMask", null, !0).draw(l, d.TRIANGLES, In.disabled, this.stencilClearMode, Fn.disabled, ur.disabled, null, null, _, "$clipping", this.viewportBuffer, this.quadTriangleIndexBuffer, this.viewportSegments);
27043
27043
  }
27044
27044
  _renderTileClippingMasks(l, d, y) {
27045
27045
  if (this.currentStencilSource === l.source || !l.isTileClipped() || !d || !d.length) return;
27046
27046
  this.currentStencilSource = l.source, this.nextStencilID + d.length > 256 && this.clearStencil();
27047
27047
  const _ = this.context;
27048
- _.setColorMode(Bn.disabled), _.setDepthMode(In.disabled);
27048
+ _.setColorMode(Fn.disabled), _.setDepthMode(In.disabled);
27049
27049
  const M = {};
27050
27050
  for (const O of d) M[O.key] = this.nextStencilID++;
27051
27051
  this._renderTileMasks(M, d, y, !0), this._renderTileMasks(M, d, y, !1), this._tileClippingMaskIDs = M;
@@ -27054,14 +27054,14 @@ uniform ${Z} ${Y} u_${K};
27054
27054
  const M = this.context, O = M.gl, V = this.style.projection, F = this.transform, U = this.useProgram("clippingMask");
27055
27055
  for (const Z of d) {
27056
27056
  const Y = l[Z.key], K = this.style.map.terrain && this.style.map.terrain.getTerrainData(Z), it = V.getMeshFromTileID(this.context, Z.canonical, _, !0, "stencil"), st = F.getProjectionData({ overscaledTileID: Z, applyGlobeMatrix: !y, applyTerrainMatrix: !0 });
27057
- U.draw(M, O.TRIANGLES, In.disabled, new Kn({ func: O.ALWAYS, mask: 0 }, Y, 255, O.KEEP, O.KEEP, O.REPLACE), Bn.disabled, y ? ur.disabled : ur.backCCW, null, K, st, "$clipping", it.vertexBuffer, it.indexBuffer, it.segments);
27057
+ U.draw(M, O.TRIANGLES, In.disabled, new Kn({ func: O.ALWAYS, mask: 0 }, Y, 255, O.KEEP, O.KEEP, O.REPLACE), Fn.disabled, y ? ur.disabled : ur.backCCW, null, K, st, "$clipping", it.vertexBuffer, it.indexBuffer, it.segments);
27058
27058
  }
27059
27059
  }
27060
27060
  _renderTilesDepthBuffer() {
27061
27061
  const l = this.context, d = l.gl, y = this.style.projection, _ = this.transform, M = this.useProgram("depth"), O = this.getDepthModeFor3D(), V = zt(_, { tileSize: _.tileSize });
27062
27062
  for (const F of V) {
27063
27063
  const U = this.style.map.terrain && this.style.map.terrain.getTerrainData(F), Z = y.getMeshFromTileID(this.context, F.canonical, !0, !0, "raster"), Y = _.getProjectionData({ overscaledTileID: F, applyGlobeMatrix: !0, applyTerrainMatrix: !0 });
27064
- M.draw(l, d.TRIANGLES, O, Kn.disabled, Bn.disabled, ur.backCCW, null, U, Y, "$clipping", Z.vertexBuffer, Z.indexBuffer, Z.segments);
27064
+ M.draw(l, d.TRIANGLES, O, Kn.disabled, Fn.disabled, ur.backCCW, null, U, Y, "$clipping", Z.vertexBuffer, Z.indexBuffer, Z.segments);
27065
27065
  }
27066
27066
  }
27067
27067
  stencilModeFor3D() {
@@ -27094,7 +27094,7 @@ uniform ${Z} ${Y} u_${K};
27094
27094
  }
27095
27095
  colorModeForRenderPass() {
27096
27096
  const l = this.context.gl;
27097
- return this._showOverdrawInspector ? new Bn([l.CONSTANT_COLOR, l.ONE], new s.b7(0.125, 0.125, 0.125, 0), [!0, !0, !0, !0]) : this.renderPass === "opaque" ? Bn.unblended : Bn.alphaBlended;
27097
+ return this._showOverdrawInspector ? new Fn([l.CONSTANT_COLOR, l.ONE], new s.b7(0.125, 0.125, 0.125, 0), [!0, !0, !0, !0]) : this.renderPass === "opaque" ? Fn.unblended : Fn.alphaBlended;
27098
27098
  }
27099
27099
  getDepthModeForSublayer(l, d, y) {
27100
27100
  if (!this.opaquePassEnabledForLayer()) return In.disabled;
@@ -27155,7 +27155,7 @@ uniform ${Z} ${Y} u_${K};
27155
27155
  const Bt = hs(It.worldSize, It.center.lat), re = It.inverseProjectionMatrix, Qe = new Float64Array(4);
27156
27156
  Qe[3] = 1, s.at(Qe, Qe, It.modelViewProjectionMatrix), Qe[0] /= Qe[3], Qe[1] /= Qe[3], Qe[2] /= Qe[3], Qe[3] = 1, s.at(Qe, Qe, re), Qe[0] /= Qe[3], Qe[1] /= Qe[3], Qe[2] /= Qe[3], Qe[3] = 1;
27157
27157
  const ue = /* @__PURE__ */ ((fe, $e, je, Ae, _n) => ({ u_sun_pos: fe, u_atmosphere_blend: $e, u_globe_position: je, u_globe_radius: Ae, u_inv_proj_matrix: _n }))(kt, jt, [Qe[0], Qe[1], Qe[2]], Bt, re), de = X1(_t, it);
27158
- xt.draw(_t, bt.TRIANGLES, Ht, Kn.disabled, Bn.alphaBlended, ur.disabled, ue, null, null, "atmosphere", de.vertexBuffer, de.indexBuffer, de.segments);
27158
+ xt.draw(_t, bt.TRIANGLES, Ht, Kn.disabled, Fn.alphaBlended, ur.disabled, ue, null, null, "atmosphere", de.vertexBuffer, de.indexBuffer, de.segments);
27159
27159
  }(this, this.style.sky, this.style.light), this.options.showTileBoundaries) {
27160
27160
  const K = function(it, st) {
27161
27161
  let _t = null;
@@ -27182,7 +27182,7 @@ uniform ${Z} ${Y} u_${K};
27182
27182
  const d = this.terrainFacilitator.matrix, y = this.transform.modelViewProjectionMatrix;
27183
27183
  let _ = this.terrainFacilitator.dirty;
27184
27184
  _ || (_ = l ? !s.c0(d, y) : !s.c1(d, y)), _ || (_ = this.style.map.terrain.sourceCache.anyTilesAfterTime(this.terrainFacilitator.renderTime)), _ && (s.c2(d, y), this.terrainFacilitator.renderTime = Date.now(), this.terrainFacilitator.dirty = !1, function(M, O) {
27185
- const V = M.context, F = V.gl, U = M.transform, Z = Bn.unblended, Y = new In(F.LEQUAL, In.ReadWrite, [0, 1]), K = O.sourceCache.getRenderableTiles(), it = M.useProgram("terrainDepth");
27185
+ const V = M.context, F = V.gl, U = M.transform, Z = Fn.unblended, Y = new In(F.LEQUAL, In.ReadWrite, [0, 1]), K = O.sourceCache.getRenderableTiles(), it = M.useProgram("terrainDepth");
27186
27186
  V.bindFramebuffer.set(O.getFramebuffer("depth").framebuffer), V.viewport.set([0, 0, M.width / devicePixelRatio, M.height / devicePixelRatio]), V.clear({ color: s.b7.transparent, depth: 1 });
27187
27187
  for (const st of K) {
27188
27188
  const _t = O.getTerrainMesh(st.tileID), bt = O.getTerrainData(st.tileID), xt = U.getProjectionData({ overscaledTileID: st.tileID, applyTerrainMatrix: !1, applyGlobeMatrix: !0 }), Ht = { u_ele_delta: O.getMeshFrameDelta(U.zoom) };
@@ -27190,7 +27190,7 @@ uniform ${Z} ${Y} u_${K};
27190
27190
  }
27191
27191
  V.bindFramebuffer.set(null), V.viewport.set([0, 0, M.width, M.height]);
27192
27192
  }(this, this.style.map.terrain), function(M, O) {
27193
- const V = M.context, F = V.gl, U = M.transform, Z = Bn.unblended, Y = new In(F.LEQUAL, In.ReadWrite, [0, 1]), K = O.getCoordsTexture(), it = O.sourceCache.getRenderableTiles(), st = M.useProgram("terrainCoords");
27193
+ const V = M.context, F = V.gl, U = M.transform, Z = Fn.unblended, Y = new In(F.LEQUAL, In.ReadWrite, [0, 1]), K = O.getCoordsTexture(), it = O.sourceCache.getRenderableTiles(), st = M.useProgram("terrainCoords");
27194
27194
  V.bindFramebuffer.set(O.getFramebuffer("coords").framebuffer), V.viewport.set([0, 0, M.width / devicePixelRatio, M.height / devicePixelRatio]), V.clear({ color: s.b7.transparent, depth: 1 }), O.coordsIndex = [];
27195
27195
  for (const _t of it) {
27196
27196
  const bt = O.getTerrainMesh(_t.tileID), xt = O.getTerrainData(_t.tileID);
@@ -27246,7 +27246,7 @@ uniform ${Z} ${Y} u_${K};
27246
27246
  }
27247
27247
  Y.viewport.set([0, 0, O.width, O.height]);
27248
27248
  } else O.renderPass === "offscreen" ? function(st, _t, bt, xt) {
27249
- const Ht = st.context, It = Ht.gl, kt = st.transform, Dt = Kn.disabled, jt = new Bn([It.ONE, It.ONE], s.b7.transparent, [!0, !0, !0, !0]);
27249
+ const Ht = st.context, It = Ht.gl, kt = st.transform, Dt = Kn.disabled, jt = new Fn([It.ONE, It.ONE], s.b7.transparent, [!0, !0, !0, !0]);
27250
27250
  (function(Bt, re, Qe) {
27251
27251
  const ue = Bt.gl;
27252
27252
  Bt.activeTexture.set(ue.TEXTURE1), Bt.viewport.set([0, 0, re.width / 4, re.height / 4]);
@@ -27321,7 +27321,7 @@ uniform ${Z} ${Y} u_${K};
27321
27321
  const { isRenderingToTexture: K } = Z;
27322
27322
  if (O.renderPass === "translucent") {
27323
27323
  const it = new In(O.context.gl.LEQUAL, In.ReadWrite, O.depthRangeFor3D);
27324
- if (Y !== 1 || F.paint.get("fill-extrusion-pattern").constantOr(1)) U5(O, V, F, U, it, Kn.disabled, Bn.disabled, K), U5(O, V, F, U, it, O.stencilModeFor3D(), O.colorModeForRenderPass(), K);
27324
+ if (Y !== 1 || F.paint.get("fill-extrusion-pattern").constantOr(1)) U5(O, V, F, U, it, Kn.disabled, Fn.disabled, K), U5(O, V, F, U, it, O.stencilModeFor3D(), O.colorModeForRenderPass(), K);
27325
27325
  else {
27326
27326
  const st = O.colorModeForRenderPass();
27327
27327
  U5(O, V, F, U, it, Kn.disabled, st, K);
@@ -32764,9 +32764,9 @@ class xn extends EH {
32764
32764
  );
32765
32765
  }
32766
32766
  }
32767
- class sn extends EH {
32767
+ class on extends EH {
32768
32768
  constructor(t) {
32769
- super(t), this.name = "NotFoundGraphError", typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, sn.prototype.constructor);
32769
+ super(t), this.name = "NotFoundGraphError", typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, on.prototype.constructor);
32770
32770
  }
32771
32771
  }
32772
32772
  class qn extends EH {
@@ -32827,13 +32827,13 @@ function Z6(e, t, n, r, i, o, a) {
32827
32827
  let s, u, h, p;
32828
32828
  if (r = "" + r, n === T$) {
32829
32829
  if (s = e._nodes.get(r), !s)
32830
- throw new sn(
32830
+ throw new on(
32831
32831
  `Graph.${t}: could not find the "${r}" node in the graph.`
32832
32832
  );
32833
32833
  h = i, p = o;
32834
32834
  } else if (n === m$) {
32835
32835
  if (i = "" + i, u = e._edges.get(i), !u)
32836
- throw new sn(
32836
+ throw new on(
32837
32837
  `Graph.${t}: could not find the "${i}" edge in the graph.`
32838
32838
  );
32839
32839
  const Q = u.source.key, m = u.target.key;
@@ -32842,13 +32842,13 @@ function Z6(e, t, n, r, i, o, a) {
32842
32842
  else if (r === m)
32843
32843
  s = u.source;
32844
32844
  else
32845
- throw new sn(
32845
+ throw new on(
32846
32846
  `Graph.${t}: the "${r}" node is not attached to the "${i}" edge (${Q}, ${m}).`
32847
32847
  );
32848
32848
  h = o, p = a;
32849
32849
  } else {
32850
32850
  if (u = e._edges.get(r), !u)
32851
- throw new sn(
32851
+ throw new on(
32852
32852
  `Graph.${t}: could not find the "${r}" edge in the graph.`
32853
32853
  );
32854
32854
  n === Q$ ? s = u.source : s = u.target, h = i, p = o;
@@ -33075,7 +33075,7 @@ function d9t(e, t, n) {
33075
33075
  );
33076
33076
  const a = "" + r, s = "" + i;
33077
33077
  if (i = arguments[2], o = Ba(this, a, s, n), !o)
33078
- throw new sn(
33078
+ throw new on(
33079
33079
  `Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
33080
33080
  );
33081
33081
  } else {
@@ -33084,7 +33084,7 @@ function d9t(e, t, n) {
33084
33084
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33085
33085
  );
33086
33086
  if (r = "" + r, o = this._edges.get(r), !o)
33087
- throw new sn(
33087
+ throw new on(
33088
33088
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33089
33089
  );
33090
33090
  }
@@ -33105,7 +33105,7 @@ function p9t(e, t, n) {
33105
33105
  );
33106
33106
  const o = "" + r, a = "" + arguments[1];
33107
33107
  if (i = Ba(this, o, a, n), !i)
33108
- throw new sn(
33108
+ throw new on(
33109
33109
  `Graph.${t}: could not find an edge for the given path ("${o}" - "${a}").`
33110
33110
  );
33111
33111
  } else {
@@ -33114,7 +33114,7 @@ function p9t(e, t, n) {
33114
33114
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33115
33115
  );
33116
33116
  if (r = "" + r, i = this._edges.get(r), !i)
33117
- throw new sn(
33117
+ throw new on(
33118
33118
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33119
33119
  );
33120
33120
  }
@@ -33135,7 +33135,7 @@ function f9t(e, t, n) {
33135
33135
  );
33136
33136
  const a = "" + r, s = "" + i;
33137
33137
  if (i = arguments[2], o = Ba(this, a, s, n), !o)
33138
- throw new sn(
33138
+ throw new on(
33139
33139
  `Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
33140
33140
  );
33141
33141
  } else {
@@ -33144,7 +33144,7 @@ function f9t(e, t, n) {
33144
33144
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33145
33145
  );
33146
33146
  if (r = "" + r, o = this._edges.get(r), !o)
33147
- throw new sn(
33147
+ throw new on(
33148
33148
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33149
33149
  );
33150
33150
  }
@@ -33165,7 +33165,7 @@ function T9t(e, t, n) {
33165
33165
  );
33166
33166
  const s = "" + r, u = "" + i;
33167
33167
  if (i = arguments[2], o = arguments[3], a = Ba(this, s, u, n), !a)
33168
- throw new sn(
33168
+ throw new on(
33169
33169
  `Graph.${t}: could not find an edge for the given path ("${s}" - "${u}").`
33170
33170
  );
33171
33171
  } else {
@@ -33174,7 +33174,7 @@ function T9t(e, t, n) {
33174
33174
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33175
33175
  );
33176
33176
  if (r = "" + r, a = this._edges.get(r), !a)
33177
- throw new sn(
33177
+ throw new on(
33178
33178
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33179
33179
  );
33180
33180
  }
@@ -33200,7 +33200,7 @@ function Q9t(e, t, n) {
33200
33200
  );
33201
33201
  const s = "" + r, u = "" + i;
33202
33202
  if (i = arguments[2], o = arguments[3], a = Ba(this, s, u, n), !a)
33203
- throw new sn(
33203
+ throw new on(
33204
33204
  `Graph.${t}: could not find an edge for the given path ("${s}" - "${u}").`
33205
33205
  );
33206
33206
  } else {
@@ -33209,7 +33209,7 @@ function Q9t(e, t, n) {
33209
33209
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33210
33210
  );
33211
33211
  if (r = "" + r, a = this._edges.get(r), !a)
33212
- throw new sn(
33212
+ throw new on(
33213
33213
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33214
33214
  );
33215
33215
  }
@@ -33239,7 +33239,7 @@ function m9t(e, t, n) {
33239
33239
  );
33240
33240
  const a = "" + r, s = "" + i;
33241
33241
  if (i = arguments[2], o = Ba(this, a, s, n), !o)
33242
- throw new sn(
33242
+ throw new on(
33243
33243
  `Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
33244
33244
  );
33245
33245
  } else {
@@ -33248,7 +33248,7 @@ function m9t(e, t, n) {
33248
33248
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33249
33249
  );
33250
33250
  if (r = "" + r, o = this._edges.get(r), !o)
33251
- throw new sn(
33251
+ throw new on(
33252
33252
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33253
33253
  );
33254
33254
  }
@@ -33274,7 +33274,7 @@ function g9t(e, t, n) {
33274
33274
  );
33275
33275
  const a = "" + r, s = "" + i;
33276
33276
  if (i = arguments[2], o = Ba(this, a, s, n), !o)
33277
- throw new sn(
33277
+ throw new on(
33278
33278
  `Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
33279
33279
  );
33280
33280
  } else {
@@ -33283,7 +33283,7 @@ function g9t(e, t, n) {
33283
33283
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33284
33284
  );
33285
33285
  if (r = "" + r, o = this._edges.get(r), !o)
33286
- throw new sn(
33286
+ throw new on(
33287
33287
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33288
33288
  );
33289
33289
  }
@@ -33312,7 +33312,7 @@ function y9t(e, t, n) {
33312
33312
  );
33313
33313
  const a = "" + r, s = "" + i;
33314
33314
  if (i = arguments[2], o = Ba(this, a, s, n), !o)
33315
- throw new sn(
33315
+ throw new on(
33316
33316
  `Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
33317
33317
  );
33318
33318
  } else {
@@ -33321,7 +33321,7 @@ function y9t(e, t, n) {
33321
33321
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33322
33322
  );
33323
33323
  if (r = "" + r, o = this._edges.get(r), !o)
33324
- throw new sn(
33324
+ throw new on(
33325
33325
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33326
33326
  );
33327
33327
  }
@@ -33351,7 +33351,7 @@ function v9t(e, t, n) {
33351
33351
  );
33352
33352
  const a = "" + r, s = "" + i;
33353
33353
  if (i = arguments[2], o = Ba(this, a, s, n), !o)
33354
- throw new sn(
33354
+ throw new on(
33355
33355
  `Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
33356
33356
  );
33357
33357
  } else {
@@ -33360,7 +33360,7 @@ function v9t(e, t, n) {
33360
33360
  `Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
33361
33361
  );
33362
33362
  if (r = "" + r, o = this._edges.get(r), !o)
33363
- throw new sn(
33363
+ throw new on(
33364
33364
  `Graph.${t}: could not find the "${r}" edge in the graph.`
33365
33365
  );
33366
33366
  }
@@ -33688,7 +33688,7 @@ function k9t(e, t) {
33688
33688
  o = "" + o;
33689
33689
  const s = this._nodes.get(o);
33690
33690
  if (typeof s > "u")
33691
- throw new sn(
33691
+ throw new on(
33692
33692
  `Graph.${n}: could not find the "${o}" node in the graph.`
33693
33693
  );
33694
33694
  return H9t(
@@ -33702,11 +33702,11 @@ function k9t(e, t) {
33702
33702
  o = "" + o, a = "" + a;
33703
33703
  const s = this._nodes.get(o);
33704
33704
  if (!s)
33705
- throw new sn(
33705
+ throw new on(
33706
33706
  `Graph.${n}: could not find the "${o}" source node in the graph.`
33707
33707
  );
33708
33708
  if (!this._nodes.has(a))
33709
- throw new sn(
33709
+ throw new on(
33710
33710
  `Graph.${n}: could not find the "${a}" target node in the graph.`
33711
33711
  );
33712
33712
  return O9t(
@@ -33732,7 +33732,7 @@ function I9t(e, t) {
33732
33732
  h = "" + h, Q = p;
33733
33733
  const m = this._nodes.get(h);
33734
33734
  if (typeof m > "u")
33735
- throw new sn(
33735
+ throw new on(
33736
33736
  `Graph.${o}: could not find the "${h}" node in the graph.`
33737
33737
  );
33738
33738
  return SH(
@@ -33748,11 +33748,11 @@ function I9t(e, t) {
33748
33748
  h = "" + h, p = "" + p;
33749
33749
  const m = this._nodes.get(h);
33750
33750
  if (!m)
33751
- throw new sn(
33751
+ throw new on(
33752
33752
  `Graph.${o}: could not find the "${h}" source node in the graph.`
33753
33753
  );
33754
33754
  if (!this._nodes.has(p))
33755
- throw new sn(
33755
+ throw new on(
33756
33756
  `Graph.${o}: could not find the "${p}" target node in the graph.`
33757
33757
  );
33758
33758
  return AH(
@@ -33824,7 +33824,7 @@ function V9t(e, t) {
33824
33824
  u = "" + u, p = h;
33825
33825
  const Q = this._nodes.get(u);
33826
33826
  if (typeof Q > "u")
33827
- throw new sn(
33827
+ throw new on(
33828
33828
  `Graph.${o}: could not find the "${u}" node in the graph.`
33829
33829
  );
33830
33830
  return SH(
@@ -33840,11 +33840,11 @@ function V9t(e, t) {
33840
33840
  u = "" + u, h = "" + h;
33841
33841
  const Q = this._nodes.get(u);
33842
33842
  if (!Q)
33843
- throw new sn(
33843
+ throw new on(
33844
33844
  `Graph.${o}: could not find the "${u}" source node in the graph.`
33845
33845
  );
33846
33846
  if (!this._nodes.has(h))
33847
- throw new sn(
33847
+ throw new on(
33848
33848
  `Graph.${o}: could not find the "${h}" target node in the graph.`
33849
33849
  );
33850
33850
  return AH(
@@ -33882,7 +33882,7 @@ function R9t(e, t) {
33882
33882
  a = "" + a;
33883
33883
  const u = this._nodes.get(a);
33884
33884
  if (!u)
33885
- throw new sn(
33885
+ throw new on(
33886
33886
  `Graph.${o}: could not find the "${a}" node in the graph.`
33887
33887
  );
33888
33888
  return C9t(r, i, u);
@@ -33891,11 +33891,11 @@ function R9t(e, t) {
33891
33891
  a = "" + a, s = "" + s;
33892
33892
  const u = this._nodes.get(a);
33893
33893
  if (!u)
33894
- throw new sn(
33894
+ throw new on(
33895
33895
  `Graph.${o}: could not find the "${a}" source node in the graph.`
33896
33896
  );
33897
33897
  if (!this._nodes.has(s))
33898
- throw new sn(
33898
+ throw new on(
33899
33899
  `Graph.${o}: could not find the "${s}" target node in the graph.`
33900
33900
  );
33901
33901
  return P9t(r, i, u, s);
@@ -34071,7 +34071,7 @@ function j9t(e, t) {
34071
34071
  o = "" + o;
34072
34072
  const a = this._nodes.get(o);
34073
34073
  if (typeof a > "u")
34074
- throw new sn(
34074
+ throw new on(
34075
34075
  `Graph.${n}: could not find the "${o}" node in the graph.`
34076
34076
  );
34077
34077
  return B9t(
@@ -34088,7 +34088,7 @@ function z9t(e, t) {
34088
34088
  h = "" + h;
34089
34089
  const Q = this._nodes.get(h);
34090
34090
  if (typeof Q > "u")
34091
- throw new sn(
34091
+ throw new on(
34092
34092
  `Graph.${o}: could not find the "${h}" node in the graph.`
34093
34093
  );
34094
34094
  HH(
@@ -34132,7 +34132,7 @@ function U9t(e, t) {
34132
34132
  h = "" + h;
34133
34133
  const Q = this._nodes.get(h);
34134
34134
  if (typeof Q > "u")
34135
- throw new sn(
34135
+ throw new on(
34136
34136
  `Graph.${a}: could not find the "${h}" node in the graph.`
34137
34137
  );
34138
34138
  return HH(
@@ -34160,7 +34160,7 @@ function G9t(e, t) {
34160
34160
  a = "" + a;
34161
34161
  const s = this._nodes.get(a);
34162
34162
  if (typeof s > "u")
34163
- throw new sn(
34163
+ throw new on(
34164
34164
  `Graph.${o}: could not find the "${a}" node in the graph.`
34165
34165
  );
34166
34166
  return F9t(
@@ -34351,11 +34351,11 @@ function y$(e, t, n, r, i, o, a, s) {
34351
34351
  );
34352
34352
  const u = e._nodes.get(o), h = e._nodes.get(a);
34353
34353
  if (!u)
34354
- throw new sn(
34354
+ throw new on(
34355
34355
  `Graph.${t}: source node "${o}" not found.`
34356
34356
  );
34357
34357
  if (!h)
34358
- throw new sn(
34358
+ throw new on(
34359
34359
  `Graph.${t}: target node "${a}" not found.`
34360
34360
  );
34361
34361
  const p = {
@@ -34626,11 +34626,11 @@ class ci extends jht.EventEmitter {
34626
34626
  );
34627
34627
  const r = this._nodes.get(t);
34628
34628
  if (!r)
34629
- throw new sn(
34629
+ throw new on(
34630
34630
  `Graph.directedEdge: could not find the "${t}" source node in the graph.`
34631
34631
  );
34632
34632
  if (!this._nodes.has(n))
34633
- throw new sn(
34633
+ throw new on(
34634
34634
  `Graph.directedEdge: could not find the "${n}" target node in the graph.`
34635
34635
  );
34636
34636
  const i = r.out && r.out[n] || void 0;
@@ -34655,11 +34655,11 @@ class ci extends jht.EventEmitter {
34655
34655
  );
34656
34656
  const r = this._nodes.get(t);
34657
34657
  if (!r)
34658
- throw new sn(
34658
+ throw new on(
34659
34659
  `Graph.undirectedEdge: could not find the "${t}" source node in the graph.`
34660
34660
  );
34661
34661
  if (!this._nodes.has(n))
34662
- throw new sn(
34662
+ throw new on(
34663
34663
  `Graph.undirectedEdge: could not find the "${n}" target node in the graph.`
34664
34664
  );
34665
34665
  const i = r.undirected && r.undirected[n] || void 0;
@@ -34684,11 +34684,11 @@ class ci extends jht.EventEmitter {
34684
34684
  t = "" + t, n = "" + n;
34685
34685
  const r = this._nodes.get(t);
34686
34686
  if (!r)
34687
- throw new sn(
34687
+ throw new on(
34688
34688
  `Graph.edge: could not find the "${t}" source node in the graph.`
34689
34689
  );
34690
34690
  if (!this._nodes.has(n))
34691
- throw new sn(
34691
+ throw new on(
34692
34692
  `Graph.edge: could not find the "${n}" target node in the graph.`
34693
34693
  );
34694
34694
  const i = r.out && r.out[n] || r.undirected && r.undirected[n] || void 0;
@@ -34707,7 +34707,7 @@ class ci extends jht.EventEmitter {
34707
34707
  t = "" + t, n = "" + n;
34708
34708
  const r = this._nodes.get(t);
34709
34709
  if (!r)
34710
- throw new sn(
34710
+ throw new on(
34711
34711
  `Graph.areDirectedNeighbors: could not find the "${t}" node in the graph.`
34712
34712
  );
34713
34713
  return this.type === "undirected" ? !1 : n in r.in || n in r.out;
@@ -34725,7 +34725,7 @@ class ci extends jht.EventEmitter {
34725
34725
  t = "" + t, n = "" + n;
34726
34726
  const r = this._nodes.get(t);
34727
34727
  if (!r)
34728
- throw new sn(
34728
+ throw new on(
34729
34729
  `Graph.areOutNeighbors: could not find the "${t}" node in the graph.`
34730
34730
  );
34731
34731
  return this.type === "undirected" ? !1 : n in r.out;
@@ -34743,7 +34743,7 @@ class ci extends jht.EventEmitter {
34743
34743
  t = "" + t, n = "" + n;
34744
34744
  const r = this._nodes.get(t);
34745
34745
  if (!r)
34746
- throw new sn(
34746
+ throw new on(
34747
34747
  `Graph.areInNeighbors: could not find the "${t}" node in the graph.`
34748
34748
  );
34749
34749
  return this.type === "undirected" ? !1 : n in r.in;
@@ -34761,7 +34761,7 @@ class ci extends jht.EventEmitter {
34761
34761
  t = "" + t, n = "" + n;
34762
34762
  const r = this._nodes.get(t);
34763
34763
  if (!r)
34764
- throw new sn(
34764
+ throw new on(
34765
34765
  `Graph.areUndirectedNeighbors: could not find the "${t}" node in the graph.`
34766
34766
  );
34767
34767
  return this.type === "directed" ? !1 : n in r.undirected;
@@ -34779,7 +34779,7 @@ class ci extends jht.EventEmitter {
34779
34779
  t = "" + t, n = "" + n;
34780
34780
  const r = this._nodes.get(t);
34781
34781
  if (!r)
34782
- throw new sn(
34782
+ throw new on(
34783
34783
  `Graph.areNeighbors: could not find the "${t}" node in the graph.`
34784
34784
  );
34785
34785
  return this.type !== "undirected" && (n in r.in || n in r.out) || this.type !== "directed" && n in r.undirected;
@@ -34797,7 +34797,7 @@ class ci extends jht.EventEmitter {
34797
34797
  t = "" + t, n = "" + n;
34798
34798
  const r = this._nodes.get(t);
34799
34799
  if (!r)
34800
- throw new sn(
34800
+ throw new on(
34801
34801
  `Graph.areInboundNeighbors: could not find the "${t}" node in the graph.`
34802
34802
  );
34803
34803
  return this.type !== "undirected" && n in r.in || this.type !== "directed" && n in r.undirected;
@@ -34815,7 +34815,7 @@ class ci extends jht.EventEmitter {
34815
34815
  t = "" + t, n = "" + n;
34816
34816
  const r = this._nodes.get(t);
34817
34817
  if (!r)
34818
- throw new sn(
34818
+ throw new on(
34819
34819
  `Graph.areOutboundNeighbors: could not find the "${t}" node in the graph.`
34820
34820
  );
34821
34821
  return this.type !== "undirected" && n in r.out || this.type !== "directed" && n in r.undirected;
@@ -34832,7 +34832,7 @@ class ci extends jht.EventEmitter {
34832
34832
  t = "" + t;
34833
34833
  const n = this._nodes.get(t);
34834
34834
  if (!n)
34835
- throw new sn(
34835
+ throw new on(
34836
34836
  `Graph.inDegree: could not find the "${t}" node in the graph.`
34837
34837
  );
34838
34838
  return this.type === "undirected" ? 0 : n.inDegree;
@@ -34849,7 +34849,7 @@ class ci extends jht.EventEmitter {
34849
34849
  t = "" + t;
34850
34850
  const n = this._nodes.get(t);
34851
34851
  if (!n)
34852
- throw new sn(
34852
+ throw new on(
34853
34853
  `Graph.outDegree: could not find the "${t}" node in the graph.`
34854
34854
  );
34855
34855
  return this.type === "undirected" ? 0 : n.outDegree;
@@ -34866,7 +34866,7 @@ class ci extends jht.EventEmitter {
34866
34866
  t = "" + t;
34867
34867
  const n = this._nodes.get(t);
34868
34868
  if (!n)
34869
- throw new sn(
34869
+ throw new on(
34870
34870
  `Graph.directedDegree: could not find the "${t}" node in the graph.`
34871
34871
  );
34872
34872
  return this.type === "undirected" ? 0 : n.inDegree + n.outDegree;
@@ -34883,7 +34883,7 @@ class ci extends jht.EventEmitter {
34883
34883
  t = "" + t;
34884
34884
  const n = this._nodes.get(t);
34885
34885
  if (!n)
34886
- throw new sn(
34886
+ throw new on(
34887
34887
  `Graph.undirectedDegree: could not find the "${t}" node in the graph.`
34888
34888
  );
34889
34889
  return this.type === "directed" ? 0 : n.undirectedDegree;
@@ -34900,7 +34900,7 @@ class ci extends jht.EventEmitter {
34900
34900
  t = "" + t;
34901
34901
  const n = this._nodes.get(t);
34902
34902
  if (!n)
34903
- throw new sn(
34903
+ throw new on(
34904
34904
  `Graph.inboundDegree: could not find the "${t}" node in the graph.`
34905
34905
  );
34906
34906
  let r = 0;
@@ -34918,7 +34918,7 @@ class ci extends jht.EventEmitter {
34918
34918
  t = "" + t;
34919
34919
  const n = this._nodes.get(t);
34920
34920
  if (!n)
34921
- throw new sn(
34921
+ throw new on(
34922
34922
  `Graph.outboundDegree: could not find the "${t}" node in the graph.`
34923
34923
  );
34924
34924
  let r = 0;
@@ -34936,7 +34936,7 @@ class ci extends jht.EventEmitter {
34936
34936
  t = "" + t;
34937
34937
  const n = this._nodes.get(t);
34938
34938
  if (!n)
34939
- throw new sn(
34939
+ throw new on(
34940
34940
  `Graph.degree: could not find the "${t}" node in the graph.`
34941
34941
  );
34942
34942
  let r = 0;
@@ -34954,7 +34954,7 @@ class ci extends jht.EventEmitter {
34954
34954
  t = "" + t;
34955
34955
  const n = this._nodes.get(t);
34956
34956
  if (!n)
34957
- throw new sn(
34957
+ throw new on(
34958
34958
  `Graph.inDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
34959
34959
  );
34960
34960
  return this.type === "undirected" ? 0 : n.inDegree - n.directedLoops;
@@ -34971,7 +34971,7 @@ class ci extends jht.EventEmitter {
34971
34971
  t = "" + t;
34972
34972
  const n = this._nodes.get(t);
34973
34973
  if (!n)
34974
- throw new sn(
34974
+ throw new on(
34975
34975
  `Graph.outDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
34976
34976
  );
34977
34977
  return this.type === "undirected" ? 0 : n.outDegree - n.directedLoops;
@@ -34988,7 +34988,7 @@ class ci extends jht.EventEmitter {
34988
34988
  t = "" + t;
34989
34989
  const n = this._nodes.get(t);
34990
34990
  if (!n)
34991
- throw new sn(
34991
+ throw new on(
34992
34992
  `Graph.directedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
34993
34993
  );
34994
34994
  return this.type === "undirected" ? 0 : n.inDegree + n.outDegree - n.directedLoops * 2;
@@ -35005,7 +35005,7 @@ class ci extends jht.EventEmitter {
35005
35005
  t = "" + t;
35006
35006
  const n = this._nodes.get(t);
35007
35007
  if (!n)
35008
- throw new sn(
35008
+ throw new on(
35009
35009
  `Graph.undirectedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
35010
35010
  );
35011
35011
  return this.type === "directed" ? 0 : n.undirectedDegree - n.undirectedLoops * 2;
@@ -35022,7 +35022,7 @@ class ci extends jht.EventEmitter {
35022
35022
  t = "" + t;
35023
35023
  const n = this._nodes.get(t);
35024
35024
  if (!n)
35025
- throw new sn(
35025
+ throw new on(
35026
35026
  `Graph.inboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
35027
35027
  );
35028
35028
  let r = 0, i = 0;
@@ -35040,7 +35040,7 @@ class ci extends jht.EventEmitter {
35040
35040
  t = "" + t;
35041
35041
  const n = this._nodes.get(t);
35042
35042
  if (!n)
35043
- throw new sn(
35043
+ throw new on(
35044
35044
  `Graph.outboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
35045
35045
  );
35046
35046
  let r = 0, i = 0;
@@ -35058,7 +35058,7 @@ class ci extends jht.EventEmitter {
35058
35058
  t = "" + t;
35059
35059
  const n = this._nodes.get(t);
35060
35060
  if (!n)
35061
- throw new sn(
35061
+ throw new on(
35062
35062
  `Graph.degreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
35063
35063
  );
35064
35064
  let r = 0, i = 0;
@@ -35076,7 +35076,7 @@ class ci extends jht.EventEmitter {
35076
35076
  t = "" + t;
35077
35077
  const n = this._edges.get(t);
35078
35078
  if (!n)
35079
- throw new sn(
35079
+ throw new on(
35080
35080
  `Graph.source: could not find the "${t}" edge in the graph.`
35081
35081
  );
35082
35082
  return n.source.key;
@@ -35093,7 +35093,7 @@ class ci extends jht.EventEmitter {
35093
35093
  t = "" + t;
35094
35094
  const n = this._edges.get(t);
35095
35095
  if (!n)
35096
- throw new sn(
35096
+ throw new on(
35097
35097
  `Graph.target: could not find the "${t}" edge in the graph.`
35098
35098
  );
35099
35099
  return n.target.key;
@@ -35110,7 +35110,7 @@ class ci extends jht.EventEmitter {
35110
35110
  t = "" + t;
35111
35111
  const n = this._edges.get(t);
35112
35112
  if (!n)
35113
- throw new sn(
35113
+ throw new on(
35114
35114
  `Graph.extremities: could not find the "${t}" edge in the graph.`
35115
35115
  );
35116
35116
  return [n.source.key, n.target.key];
@@ -35129,13 +35129,13 @@ class ci extends jht.EventEmitter {
35129
35129
  t = "" + t, n = "" + n;
35130
35130
  const r = this._edges.get(n);
35131
35131
  if (!r)
35132
- throw new sn(
35132
+ throw new on(
35133
35133
  `Graph.opposite: could not find the "${n}" edge in the graph.`
35134
35134
  );
35135
35135
  const i = r.source.key, o = r.target.key;
35136
35136
  if (t === i) return o;
35137
35137
  if (t === o) return i;
35138
- throw new sn(
35138
+ throw new on(
35139
35139
  `Graph.opposite: the "${t}" node is not attached to the "${n}" edge (${i}, ${o}).`
35140
35140
  );
35141
35141
  }
@@ -35152,7 +35152,7 @@ class ci extends jht.EventEmitter {
35152
35152
  t = "" + t, n = "" + n;
35153
35153
  const r = this._edges.get(t);
35154
35154
  if (!r)
35155
- throw new sn(
35155
+ throw new on(
35156
35156
  `Graph.hasExtremity: could not find the "${t}" edge in the graph.`
35157
35157
  );
35158
35158
  return r.source.key === n || r.target.key === n;
@@ -35169,7 +35169,7 @@ class ci extends jht.EventEmitter {
35169
35169
  t = "" + t;
35170
35170
  const n = this._edges.get(t);
35171
35171
  if (!n)
35172
- throw new sn(
35172
+ throw new on(
35173
35173
  `Graph.isUndirected: could not find the "${t}" edge in the graph.`
35174
35174
  );
35175
35175
  return n.undirected;
@@ -35186,7 +35186,7 @@ class ci extends jht.EventEmitter {
35186
35186
  t = "" + t;
35187
35187
  const n = this._edges.get(t);
35188
35188
  if (!n)
35189
- throw new sn(
35189
+ throw new on(
35190
35190
  `Graph.isDirected: could not find the "${t}" edge in the graph.`
35191
35191
  );
35192
35192
  return !n.undirected;
@@ -35203,7 +35203,7 @@ class ci extends jht.EventEmitter {
35203
35203
  t = "" + t;
35204
35204
  const n = this._edges.get(t);
35205
35205
  if (!n)
35206
- throw new sn(
35206
+ throw new on(
35207
35207
  `Graph.isSelfLoop: could not find the "${t}" edge in the graph.`
35208
35208
  );
35209
35209
  return n.source === n.target;
@@ -35293,7 +35293,7 @@ class ci extends jht.EventEmitter {
35293
35293
  t = "" + t;
35294
35294
  const n = this._nodes.get(t);
35295
35295
  if (!n)
35296
- throw new sn(
35296
+ throw new on(
35297
35297
  `Graph.dropNode: could not find the "${t}" node in the graph.`
35298
35298
  );
35299
35299
  let r;
@@ -35342,11 +35342,11 @@ class ci extends jht.EventEmitter {
35342
35342
  if (arguments.length > 1) {
35343
35343
  const r = "" + arguments[0], i = "" + arguments[1];
35344
35344
  if (n = Ba(this, r, i, this.type), !n)
35345
- throw new sn(
35345
+ throw new on(
35346
35346
  `Graph.dropEdge: could not find the "${r}" -> "${i}" edge in the graph.`
35347
35347
  );
35348
35348
  } else if (t = "" + t, n = this._edges.get(t), !n)
35349
- throw new sn(
35349
+ throw new on(
35350
35350
  `Graph.dropEdge: could not find the "${t}" edge in the graph.`
35351
35351
  );
35352
35352
  return Vu(this, n), this;
@@ -35373,7 +35373,7 @@ class ci extends jht.EventEmitter {
35373
35373
  t = "" + t, n = "" + n;
35374
35374
  const r = Ba(this, t, n, "directed");
35375
35375
  if (!r)
35376
- throw new sn(
35376
+ throw new on(
35377
35377
  `Graph.dropDirectedEdge: could not find a "${t}" -> "${n}" edge in the graph.`
35378
35378
  );
35379
35379
  return Vu(this, r), this;
@@ -35399,7 +35399,7 @@ class ci extends jht.EventEmitter {
35399
35399
  );
35400
35400
  const r = Ba(this, t, n, "undirected");
35401
35401
  if (!r)
35402
- throw new sn(
35402
+ throw new on(
35403
35403
  `Graph.dropUndirectedEdge: could not find a "${t}" -> "${n}" edge in the graph.`
35404
35404
  );
35405
35405
  return Vu(this, r), this;
@@ -36106,7 +36106,7 @@ ci.MultiGraph = b$;
36106
36106
  ci.MultiDirectedGraph = x$;
36107
36107
  ci.MultiUndirectedGraph = L$;
36108
36108
  ci.InvalidArgumentsGraphError = xn;
36109
- ci.NotFoundGraphError = sn;
36109
+ ci.NotFoundGraphError = on;
36110
36110
  ci.UsageGraphError = qn;
36111
36111
  var lh = {}, w$ = function(e) {
36112
36112
  return e !== null && typeof e == "object" && typeof e.addUndirectedEdgeWithKey == "function" && typeof e.dropNode == "function" && typeof e.multi == "boolean";
@@ -48269,8 +48269,8 @@ function iC(e, t, n) {
48269
48269
  return e[0] = t[0] * r, e[1] = t[1] * r, e[2] = t[2] * r, e[3] = t[3] * r, e[4] = t[4] * i, e[5] = t[5] * i, e[6] = t[6] * i, e[7] = t[7] * i, e[8] = t[8] * o, e[9] = t[9] * o, e[10] = t[10] * o, e[11] = t[11] * o, e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
48270
48270
  }
48271
48271
  function ggt(e, t, n, r) {
48272
- let i = r[0], o = r[1], a = r[2], s = Math.sqrt(i * i + o * o + a * a), u, h, p, Q, m, v, x, L, H, E, P, I, N, z, $, q, et, ot, ft, ht, At, Zt, ce, xe;
48273
- return s < Xm ? null : (s = 1 / s, i *= s, o *= s, a *= s, h = Math.sin(n), u = Math.cos(n), p = 1 - u, Q = t[0], m = t[1], v = t[2], x = t[3], L = t[4], H = t[5], E = t[6], P = t[7], I = t[8], N = t[9], z = t[10], $ = t[11], q = i * i * p + u, et = o * i * p + a * h, ot = a * i * p - o * h, ft = i * o * p - a * h, ht = o * o * p + u, At = a * o * p + i * h, Zt = i * a * p + o * h, ce = o * a * p - i * h, xe = a * a * p + u, e[0] = Q * q + L * et + I * ot, e[1] = m * q + H * et + N * ot, e[2] = v * q + E * et + z * ot, e[3] = x * q + P * et + $ * ot, e[4] = Q * ft + L * ht + I * At, e[5] = m * ft + H * ht + N * At, e[6] = v * ft + E * ht + z * At, e[7] = x * ft + P * ht + $ * At, e[8] = Q * Zt + L * ce + I * xe, e[9] = m * Zt + H * ce + N * xe, e[10] = v * Zt + E * ce + z * xe, e[11] = x * Zt + P * ce + $ * xe, t !== e && (e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15]), e);
48272
+ let i = r[0], o = r[1], a = r[2], s = Math.sqrt(i * i + o * o + a * a), u, h, p, Q, m, v, x, L, H, E, P, I, N, z, $, q, et, ot, ft, ht, At, Zt, ce, Le;
48273
+ return s < Xm ? null : (s = 1 / s, i *= s, o *= s, a *= s, h = Math.sin(n), u = Math.cos(n), p = 1 - u, Q = t[0], m = t[1], v = t[2], x = t[3], L = t[4], H = t[5], E = t[6], P = t[7], I = t[8], N = t[9], z = t[10], $ = t[11], q = i * i * p + u, et = o * i * p + a * h, ot = a * i * p - o * h, ft = i * o * p - a * h, ht = o * o * p + u, At = a * o * p + i * h, Zt = i * a * p + o * h, ce = o * a * p - i * h, Le = a * a * p + u, e[0] = Q * q + L * et + I * ot, e[1] = m * q + H * et + N * ot, e[2] = v * q + E * et + z * ot, e[3] = x * q + P * et + $ * ot, e[4] = Q * ft + L * ht + I * At, e[5] = m * ft + H * ht + N * At, e[6] = v * ft + E * ht + z * At, e[7] = x * ft + P * ht + $ * At, e[8] = Q * Zt + L * ce + I * Le, e[9] = m * Zt + H * ce + N * Le, e[10] = v * Zt + E * ce + z * Le, e[11] = x * Zt + P * ce + $ * Le, t !== e && (e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15]), e);
48274
48274
  }
48275
48275
  function NZ(e, t, n) {
48276
48276
  const r = Math.sin(n), i = Math.cos(n), o = t[4], a = t[5], s = t[6], u = t[7], h = t[8], p = t[9], Q = t[10], m = t[11];
@@ -55659,8 +55659,8 @@ class hbt {
55659
55659
  At = Lq({ layer: ht.pickedLayer, info: At, mode: u });
55660
55660
  const Zt = At.layer.id;
55661
55661
  q.has(Zt) || q.set(Zt, /* @__PURE__ */ new Set());
55662
- const ce = q.get(Zt), xe = At.object ?? At.index;
55663
- ce.has(xe) || (ce.add(xe), et.push(At));
55662
+ const ce = q.get(Zt), Le = At.object ?? At.index;
55663
+ ce.has(Le) || (ce.add(Le), et.push(At));
55664
55664
  }
55665
55665
  return et;
55666
55666
  }
@@ -64152,8 +64152,8 @@ var bC = {}, jf = {}, s1 = {};
64152
64152
  var At = I[ht], Zt = P[ht];
64153
64153
  if (o(At) && Zt !== null && (typeof Zt == "object" || typeof Zt == "function")) {
64154
64154
  var ce = h(At);
64155
- Array.isArray(Zt) && (ce.length === 1 && (ce[0] === e.APPEND || ce[0] === e.REMOVE) && Array.isArray(At[ce[0]]) || ce.length === 2 && ce.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(At[e.APPEND]) && Array.isArray(At[e.REMOVE])) ? (At[e.REMOVE] && (Zt = P[ht] = Zt.filter(function(xe) {
64156
- return At[e.REMOVE].indexOf(xe) < 0;
64155
+ Array.isArray(Zt) && (ce.length === 1 && (ce[0] === e.APPEND || ce[0] === e.REMOVE) && Array.isArray(At[ce[0]]) || ce.length === 2 && ce.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(At[e.APPEND]) && Array.isArray(At[e.REMOVE])) ? (At[e.REMOVE] && (Zt = P[ht] = Zt.filter(function(Le) {
64156
+ return At[e.REMOVE].indexOf(Le) < 0;
64157
64157
  })), At[e.APPEND] && (P[ht] = r(r([], n(Zt), !1), n(At[e.APPEND]), !1))) : Q(Zt, At, N);
64158
64158
  } else Array.isArray(At) ? (P[ht] = [], Q(P[ht], At, !1)) : o(At) ? P[ht] = p(At) : P[ht] = At;
64159
64159
  };
@@ -64223,7 +64223,7 @@ var bC = {}, jf = {}, s1 = {};
64223
64223
  for (var ft = t(q), ht = ft.next(); !ht.done; ht = ft.next()) {
64224
64224
  var At = ht.value, Zt = {}, ce = {};
64225
64225
  try {
64226
- for (var xe = (z = void 0, t(Object.keys(P || {}))), be = xe.next(); !be.done; be = xe.next()) {
64226
+ for (var Le = (z = void 0, t(Object.keys(P || {}))), be = Le.next(); !be.done; be = Le.next()) {
64227
64227
  var gn = be.value;
64228
64228
  (At[gn] === void 0 ? ce : Zt)[gn] = P[gn];
64229
64229
  }
@@ -64231,7 +64231,7 @@ var bC = {}, jf = {}, s1 = {};
64231
64231
  z = { error: pn };
64232
64232
  } finally {
64233
64233
  try {
64234
- be && !be.done && ($ = xe.return) && $.call(xe);
64234
+ be && !be.done && ($ = Le.return) && $.call(Le);
64235
64235
  } finally {
64236
64236
  if (z) throw z.error;
64237
64237
  }
@@ -64988,8 +64988,8 @@ B8.AbstractEmptyNode = PMt;
64988
64988
  At.length === 1 && At[0].isInferred && (At = At[0].childNodes);
64989
64989
  try {
64990
64990
  for (var Zt = r(At), ce = Zt.next(); !ce.done; ce = Zt.next()) {
64991
- var xe = ce.value;
64992
- xe ? q.appendChild(xe.copy()) : q.childNodes.push(null);
64991
+ var Le = ce.value;
64992
+ Le ? q.appendChild(Le.copy()) : q.childNodes.push(null);
64993
64993
  }
64994
64994
  } catch (be) {
64995
64995
  z = { error: be };
@@ -65150,8 +65150,8 @@ B8.AbstractEmptyNode = PMt;
65150
65150
  for (var ot = r(Object.keys(P)), ft = ot.next(); !ft.done; ft = ot.next()) {
65151
65151
  var ht = ft.value;
65152
65152
  if (et.hasOwnProperty(ht) || E.alwaysInherit.hasOwnProperty(ht)) {
65153
- var At = i(P[ht], 2), Zt = At[0], ce = At[1], xe = (E.noInherit[Zt] || {})[this.kind] || {};
65154
- xe[ht] || this.attributes.setInherited(ht, ce);
65153
+ var At = i(P[ht], 2), Zt = At[0], ce = At[1], Le = (E.noInherit[Zt] || {})[this.kind] || {};
65154
+ Le[ht] || this.attributes.setInherited(ht, ce);
65155
65155
  }
65156
65156
  }
65157
65157
  } catch (ar) {
@@ -67215,8 +67215,8 @@ var CN = Gn, NMt = $c, bS;
67215
67215
  var Zt = At.value, ce = et[Zt];
67216
67216
  Zt === "texClass" ? (q.texClass = ce, q.setProperty(Zt, ce)) : Zt === "movablelimits" ? (q.setProperty("movablelimits", ce), (q.isKind("mo") || q.isKind("mstyle")) && q.attributes.set("movablelimits", ce)) : Zt === "inferred" || (t.has(Zt) ? q.setProperty(Zt, ce) : q.attributes.set(Zt, ce));
67217
67217
  }
67218
- } catch (xe) {
67219
- ot = { error: xe };
67218
+ } catch (Le) {
67219
+ ot = { error: Le };
67220
67220
  } finally {
67221
67221
  try {
67222
67222
  At && !At.done && (ft = ht.return) && ft.call(ht);
@@ -67289,9 +67289,9 @@ var CN = Gn, NMt = $c, bS;
67289
67289
  var ft = q, ht = ft.getForms();
67290
67290
  try {
67291
67291
  for (var At = Yw(ht), Zt = At.next(); !Zt.done; Zt = At.next()) {
67292
- var ce = Zt.value, xe = NMt.MmlMo.OPTABLE[ce][ft.getText()];
67293
- if (xe)
67294
- return xe;
67292
+ var ce = Zt.value, Le = NMt.MmlMo.OPTABLE[ce][ft.getText()];
67293
+ if (Le)
67294
+ return Le;
67295
67295
  }
67296
67296
  } catch (be) {
67297
67297
  et = { error: be };
@@ -68080,18 +68080,18 @@ function mi() {
68080
68080
  h.cols = z;
68081
68081
  function $(oe, ye, We, ke, en, En) {
68082
68082
  en === void 0 && (en = ""), En === void 0 && (En = "");
68083
- var an = oe.nodeFactory, ze = an.create("node", "mrow", [], { open: ye, close: ke, texClass: r.TEXCLASS.INNER }), wn;
68083
+ var sn = oe.nodeFactory, ze = sn.create("node", "mrow", [], { open: ye, close: ke, texClass: r.TEXCLASS.INNER }), wn;
68084
68084
  if (en)
68085
68085
  wn = new o.default("\\" + en + "l" + ye, oe.parser.stack.env, oe).mml();
68086
68086
  else {
68087
- var vn = an.create("text", ye);
68088
- wn = an.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: r.TEXCLASS.OPEN }, vn);
68087
+ var vn = sn.create("text", ye);
68088
+ wn = sn.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: r.TEXCLASS.OPEN }, vn);
68089
68089
  }
68090
68090
  if (i.default.appendChildren(ze, [wn, We]), en)
68091
68091
  wn = new o.default("\\" + en + "r" + ke, oe.parser.stack.env, oe).mml();
68092
68092
  else {
68093
- var _r = an.create("text", ke);
68094
- wn = an.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: r.TEXCLASS.CLOSE }, _r);
68093
+ var _r = sn.create("text", ke);
68094
+ wn = sn.create("node", "mo", [], { fence: !0, stretchy: !0, symmetric: !0, texClass: r.TEXCLASS.CLOSE }, _r);
68095
68095
  }
68096
68096
  return En && wn.attributes.set("mathcolor", En), i.default.appendChildren(ze, [wn]), ze;
68097
68097
  }
@@ -68123,28 +68123,28 @@ function mi() {
68123
68123
  function ft(oe, ye, We, ke) {
68124
68124
  if (oe.configuration.options.internalMath)
68125
68125
  return oe.configuration.options.internalMath(oe, ye, We, ke);
68126
- var en = ke || oe.stack.env.font, En = en ? { mathvariant: en } : {}, an = [], ze = 0, wn = 0, vn, _r, gr = "", Hi = 0;
68126
+ var en = ke || oe.stack.env.font, En = en ? { mathvariant: en } : {}, sn = [], ze = 0, wn = 0, vn, _r, gr = "", Hi = 0;
68127
68127
  if (ye.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)) {
68128
68128
  for (; ze < ye.length; )
68129
68129
  if (vn = ye.charAt(ze++), vn === "$")
68130
- gr === "$" && Hi === 0 ? (_r = oe.create("node", "TeXAtom", [new o.default(ye.slice(wn, ze - 1), {}, oe.configuration).mml()]), an.push(_r), gr = "", wn = ze) : gr === "" && (wn < ze - 1 && an.push(ht(oe, ye.slice(wn, ze - 1), En)), gr = "$", wn = ze);
68130
+ gr === "$" && Hi === 0 ? (_r = oe.create("node", "TeXAtom", [new o.default(ye.slice(wn, ze - 1), {}, oe.configuration).mml()]), sn.push(_r), gr = "", wn = ze) : gr === "" && (wn < ze - 1 && sn.push(ht(oe, ye.slice(wn, ze - 1), En)), gr = "$", wn = ze);
68131
68131
  else if (vn === "{" && gr !== "")
68132
68132
  Hi++;
68133
68133
  else if (vn === "}")
68134
68134
  if (gr === "}" && Hi === 0) {
68135
68135
  var br = new o.default(ye.slice(wn, ze), {}, oe.configuration).mml();
68136
- _r = oe.create("node", "TeXAtom", [br], En), an.push(_r), gr = "", wn = ze;
68136
+ _r = oe.create("node", "TeXAtom", [br], En), sn.push(_r), gr = "", wn = ze;
68137
68137
  } else gr !== "" && Hi && Hi--;
68138
68138
  else if (vn === "\\")
68139
68139
  if (gr === "" && ye.substr(ze).match(/^(eq)?ref\s*\{/)) {
68140
68140
  var Jr = RegExp["$&"].length;
68141
- wn < ze - 1 && an.push(ht(oe, ye.slice(wn, ze - 1), En)), gr = "}", wn = ze - 1, ze += Jr;
68141
+ wn < ze - 1 && sn.push(ht(oe, ye.slice(wn, ze - 1), En)), gr = "}", wn = ze - 1, ze += Jr;
68142
68142
  } else
68143
- vn = ye.charAt(ze++), vn === "(" && gr === "" ? (wn < ze - 2 && an.push(ht(oe, ye.slice(wn, ze - 2), En)), gr = ")", wn = ze) : vn === ")" && gr === ")" && Hi === 0 ? (_r = oe.create("node", "TeXAtom", [new o.default(ye.slice(wn, ze - 2), {}, oe.configuration).mml()]), an.push(_r), gr = "", wn = ze) : vn.match(/[${}\\]/) && gr === "" && (ze--, ye = ye.substr(0, ze - 1) + ye.substr(ze));
68143
+ vn = ye.charAt(ze++), vn === "(" && gr === "" ? (wn < ze - 2 && sn.push(ht(oe, ye.slice(wn, ze - 2), En)), gr = ")", wn = ze) : vn === ")" && gr === ")" && Hi === 0 ? (_r = oe.create("node", "TeXAtom", [new o.default(ye.slice(wn, ze - 2), {}, oe.configuration).mml()]), sn.push(_r), gr = "", wn = ze) : vn.match(/[${}\\]/) && gr === "" && (ze--, ye = ye.substr(0, ze - 1) + ye.substr(ze));
68144
68144
  if (gr !== "")
68145
68145
  throw new a.default("MathNotTerminated", "Math not terminated in text box");
68146
68146
  }
68147
- return wn < ye.length && an.push(ht(oe, ye.slice(wn), En)), We != null ? an = [oe.create("node", "mstyle", an, { displaystyle: !1, scriptlevel: We })] : an.length > 1 && (an = [oe.create("node", "mrow", an)]), an;
68147
+ return wn < ye.length && sn.push(ht(oe, ye.slice(wn), En)), We != null ? sn = [oe.create("node", "mstyle", sn, { displaystyle: !1, scriptlevel: We })] : sn.length > 1 && (sn = [oe.create("node", "mrow", sn)]), sn;
68148
68148
  }
68149
68149
  h.internalMath = ft;
68150
68150
  function ht(oe, ye, We) {
@@ -68159,10 +68159,10 @@ function mi() {
68159
68159
  var En = oe.create("node", "mo", [], { rspace: 0 });
68160
68160
  ye = oe.create("node", "mrow", [En, ye]);
68161
68161
  }
68162
- var an = oe.create("node", "munderover", [ye]);
68163
- i.default.setChild(an, ke === "over" ? an.over : an.under, We);
68164
- var ze = an;
68165
- return en && (ze = oe.create("node", "TeXAtom", [an], { texClass: r.TEXCLASS.OP, movesupsub: !0 })), i.default.setProperty(ze, "subsupOK", !0), ze;
68162
+ var sn = oe.create("node", "munderover", [ye]);
68163
+ i.default.setChild(sn, ke === "over" ? sn.over : sn.under, We);
68164
+ var ze = sn;
68165
+ return en && (ze = oe.create("node", "TeXAtom", [sn], { texClass: r.TEXCLASS.OP, movesupsub: !0 })), i.default.setProperty(ze, "subsupOK", !0), ze;
68166
68166
  }
68167
68167
  h.underOver = At;
68168
68168
  function Zt(oe) {
@@ -68177,25 +68177,25 @@ function mi() {
68177
68177
  return ye.match(/\\$/) && oe.match(/ $/) && (ye += " "), ye;
68178
68178
  }
68179
68179
  h.trimSpaces = ce;
68180
- function xe(oe, ye) {
68180
+ function Le(oe, ye) {
68181
68181
  return ye = h.trimSpaces(ye || ""), ye === "t" ? oe.arraydef.align = "baseline 1" : ye === "b" ? oe.arraydef.align = "baseline -1" : ye === "c" ? oe.arraydef.align = "axis" : ye && (oe.arraydef.align = ye), oe;
68182
68182
  }
68183
- h.setArrayAlign = xe;
68183
+ h.setArrayAlign = Le;
68184
68184
  function be(oe, ye, We) {
68185
68185
  for (var ke = "", en = "", En = 0; En < We.length; ) {
68186
- var an = We.charAt(En++);
68187
- if (an === "\\")
68188
- ke += an + We.charAt(En++);
68189
- else if (an === "#")
68190
- if (an = We.charAt(En++), an === "#")
68191
- ke += an;
68186
+ var sn = We.charAt(En++);
68187
+ if (sn === "\\")
68188
+ ke += sn + We.charAt(En++);
68189
+ else if (sn === "#")
68190
+ if (sn = We.charAt(En++), sn === "#")
68191
+ ke += sn;
68192
68192
  else {
68193
- if (!an.match(/[1-9]/) || parseInt(an, 10) > ye.length)
68193
+ if (!sn.match(/[1-9]/) || parseInt(sn, 10) > ye.length)
68194
68194
  throw new a.default("IllegalMacroParam", "Illegal macro parameter reference");
68195
- en = gn(oe, gn(oe, en, ke), ye[parseInt(an, 10) - 1]), ke = "";
68195
+ en = gn(oe, gn(oe, en, ke), ye[parseInt(sn, 10) - 1]), ke = "";
68196
68196
  }
68197
68197
  else
68198
- ke += an;
68198
+ ke += sn;
68199
68199
  }
68200
68200
  return gn(oe, en, ke);
68201
68201
  }
@@ -68220,7 +68220,7 @@ function mi() {
68220
68220
  function ge(oe, ye) {
68221
68221
  var We = oe.copy(), ke = ye.configuration;
68222
68222
  return We.walkTree(function(en) {
68223
- var En, an;
68223
+ var En, sn;
68224
68224
  ke.addNode(en.kind, en);
68225
68225
  var ze = (en.getProperty("in-lists") || "").split(/,/);
68226
68226
  try {
@@ -68232,7 +68232,7 @@ function mi() {
68232
68232
  En = { error: gr };
68233
68233
  } finally {
68234
68234
  try {
68235
- vn && !vn.done && (an = wn.return) && an.call(wn);
68235
+ vn && !vn.done && (sn = wn.return) && sn.call(wn);
68236
68236
  } finally {
68237
68237
  if (En) throw En.error;
68238
68238
  }
@@ -68255,7 +68255,7 @@ function mi() {
68255
68255
  var En = hn(oe);
68256
68256
  if (ye)
68257
68257
  try {
68258
- for (var an = t(Object.keys(En)), ze = an.next(); !ze.done; ze = an.next()) {
68258
+ for (var sn = t(Object.keys(En)), ze = sn.next(); !ze.done; ze = sn.next()) {
68259
68259
  var wn = ze.value;
68260
68260
  if (!ye.hasOwnProperty(wn)) {
68261
68261
  if (We)
@@ -68267,7 +68267,7 @@ function mi() {
68267
68267
  ke = { error: vn };
68268
68268
  } finally {
68269
68269
  try {
68270
- ze && !ze.done && (en = an.return) && en.call(an);
68270
+ ze && !ze.done && (en = sn.return) && en.call(sn);
68271
68271
  } finally {
68272
68272
  if (ke) throw ke.error;
68273
68273
  }
@@ -68276,8 +68276,8 @@ function mi() {
68276
68276
  }
68277
68277
  h.keyvalOptions = Xe;
68278
68278
  function hn(oe) {
68279
- for (var ye, We, ke = {}, en = oe, En, an, ze; en; )
68280
- ye = e(tn(en, ["=", ","]), 3), an = ye[0], En = ye[1], en = ye[2], En === "=" ? (We = e(tn(en, [","]), 3), ze = We[0], En = We[1], en = We[2], ze = ze === "false" || ze === "true" ? JSON.parse(ze) : ze, ke[an] = ze) : an && (ke[an] = !0);
68279
+ for (var ye, We, ke = {}, en = oe, En, sn, ze; en; )
68280
+ ye = e(tn(en, ["=", ","]), 3), sn = ye[0], En = ye[1], en = ye[2], En === "=" ? (We = e(tn(en, [","]), 3), ze = We[0], En = We[1], en = We[2], ze = ze === "false" || ze === "true" ? JSON.parse(ze) : ze, ke[sn] = ze) : sn && (ke[sn] = !0);
68281
68281
  return ke;
68282
68282
  }
68283
68283
  function nn(oe, ye) {
@@ -68286,27 +68286,27 @@ function mi() {
68286
68286
  return oe.trim();
68287
68287
  }
68288
68288
  function tn(oe, ye) {
68289
- for (var We = oe.length, ke = 0, en = "", En = 0, an = 0, ze = !0, wn = !1; En < We; ) {
68289
+ for (var We = oe.length, ke = 0, en = "", En = 0, sn = 0, ze = !0, wn = !1; En < We; ) {
68290
68290
  var vn = oe[En++];
68291
68291
  switch (vn) {
68292
68292
  case " ":
68293
68293
  break;
68294
68294
  case "{":
68295
- ze ? an++ : (wn = !1, an > ke && (an = ke)), ke++;
68295
+ ze ? sn++ : (wn = !1, sn > ke && (sn = ke)), ke++;
68296
68296
  break;
68297
68297
  case "}":
68298
- ke && ke--, (ze || wn) && (an--, wn = !0), ze = !1;
68298
+ ke && ke--, (ze || wn) && (sn--, wn = !0), ze = !1;
68299
68299
  break;
68300
68300
  default:
68301
68301
  if (!ke && ye.indexOf(vn) !== -1)
68302
- return [wn ? "true" : nn(en, an), vn, oe.slice(En)];
68302
+ return [wn ? "true" : nn(en, sn), vn, oe.slice(En)];
68303
68303
  ze = !1, wn = !1;
68304
68304
  }
68305
68305
  en += vn;
68306
68306
  }
68307
68307
  if (ke)
68308
68308
  throw new a.default("ExtraOpenMissingClose", "Extra open brace or missing close brace");
68309
- return [wn ? "true" : nn(en, an), "", oe.slice(En)];
68309
+ return [wn ? "true" : nn(en, sn), "", oe.slice(En)];
68310
68310
  }
68311
68311
  }(u || (u = {})), jQ.default = u, jQ;
68312
68312
  }
@@ -71494,7 +71494,7 @@ var JEt = R && R.__createBinding || (Object.create ? function(e, t, n, r) {
71494
71494
  return tSt(t, e), t;
71495
71495
  }, PC = R && R.__importDefault || function(e) {
71496
71496
  return e && e.__esModule ? e : { default: e };
71497
- }, J2 = eSt(Wn), ln = w1, kC = PC(Ds), S5 = PC(Y2), nSt = PC(mi()), Yn = Gn, ms = g4;
71497
+ }, J2 = eSt(Wn), an = w1, kC = PC(Ds), S5 = PC(Y2), nSt = PC(mi()), Yn = Gn, ms = g4;
71498
71498
  new J2.RegExpMap("letter", S5.default.variable, /[a-z]/i);
71499
71499
  new J2.RegExpMap("digit", S5.default.digit, /[0-9.,]/);
71500
71500
  new J2.RegExpMap("command", S5.default.controlSequence, /^\\/);
@@ -71546,36 +71546,36 @@ new J2.CharacterMap("mathchar0mi", S5.default.mathchar0mi, {
71546
71546
  varrho: "ϱ",
71547
71547
  varsigma: "ς",
71548
71548
  varphi: "φ",
71549
- S: ["§", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71550
- aleph: ["ℵ", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71549
+ S: ["§", { mathvariant: an.TexConstant.Variant.NORMAL }],
71550
+ aleph: ["ℵ", { mathvariant: an.TexConstant.Variant.NORMAL }],
71551
71551
  hbar: ["ℏ", { variantForm: !0 }],
71552
71552
  imath: "ı",
71553
71553
  jmath: "ȷ",
71554
71554
  ell: "ℓ",
71555
- wp: ["℘", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71556
- Re: ["ℜ", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71557
- Im: ["ℑ", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71558
- partial: ["∂", { mathvariant: ln.TexConstant.Variant.ITALIC }],
71559
- infty: ["∞", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71555
+ wp: ["℘", { mathvariant: an.TexConstant.Variant.NORMAL }],
71556
+ Re: ["ℜ", { mathvariant: an.TexConstant.Variant.NORMAL }],
71557
+ Im: ["ℑ", { mathvariant: an.TexConstant.Variant.NORMAL }],
71558
+ partial: ["∂", { mathvariant: an.TexConstant.Variant.ITALIC }],
71559
+ infty: ["∞", { mathvariant: an.TexConstant.Variant.NORMAL }],
71560
71560
  prime: ["′", { variantForm: !0 }],
71561
- emptyset: ["∅", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71562
- nabla: ["∇", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71563
- top: ["⊤", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71564
- bot: ["⊥", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71565
- angle: ["∠", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71566
- triangle: ["△", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71567
- backslash: ["∖", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71568
- forall: ["∀", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71569
- exists: ["∃", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71570
- neg: ["¬", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71571
- lnot: ["¬", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71572
- flat: ["♭", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71573
- natural: ["♮", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71574
- sharp: ["♯", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71575
- clubsuit: ["♣", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71576
- diamondsuit: ["♢", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71577
- heartsuit: ["♡", { mathvariant: ln.TexConstant.Variant.NORMAL }],
71578
- spadesuit: ["♠", { mathvariant: ln.TexConstant.Variant.NORMAL }]
71561
+ emptyset: ["∅", { mathvariant: an.TexConstant.Variant.NORMAL }],
71562
+ nabla: ["∇", { mathvariant: an.TexConstant.Variant.NORMAL }],
71563
+ top: ["⊤", { mathvariant: an.TexConstant.Variant.NORMAL }],
71564
+ bot: ["⊥", { mathvariant: an.TexConstant.Variant.NORMAL }],
71565
+ angle: ["∠", { mathvariant: an.TexConstant.Variant.NORMAL }],
71566
+ triangle: ["△", { mathvariant: an.TexConstant.Variant.NORMAL }],
71567
+ backslash: ["∖", { mathvariant: an.TexConstant.Variant.NORMAL }],
71568
+ forall: ["∀", { mathvariant: an.TexConstant.Variant.NORMAL }],
71569
+ exists: ["∃", { mathvariant: an.TexConstant.Variant.NORMAL }],
71570
+ neg: ["¬", { mathvariant: an.TexConstant.Variant.NORMAL }],
71571
+ lnot: ["¬", { mathvariant: an.TexConstant.Variant.NORMAL }],
71572
+ flat: ["♭", { mathvariant: an.TexConstant.Variant.NORMAL }],
71573
+ natural: ["♮", { mathvariant: an.TexConstant.Variant.NORMAL }],
71574
+ sharp: ["♯", { mathvariant: an.TexConstant.Variant.NORMAL }],
71575
+ clubsuit: ["♣", { mathvariant: an.TexConstant.Variant.NORMAL }],
71576
+ diamondsuit: ["♢", { mathvariant: an.TexConstant.Variant.NORMAL }],
71577
+ heartsuit: ["♡", { mathvariant: an.TexConstant.Variant.NORMAL }],
71578
+ spadesuit: ["♠", { mathvariant: an.TexConstant.Variant.NORMAL }]
71579
71579
  });
71580
71580
  new J2.CharacterMap("mathchar0mo", S5.default.mathchar0mo, {
71581
71581
  surd: "√",
@@ -71821,67 +71821,67 @@ new J2.CommandMap("macros", {
71821
71821
  textstyle: ["SetStyle", "T", !1, 0],
71822
71822
  scriptstyle: ["SetStyle", "S", !1, 1],
71823
71823
  scriptscriptstyle: ["SetStyle", "SS", !1, 2],
71824
- rm: ["SetFont", ln.TexConstant.Variant.NORMAL],
71825
- mit: ["SetFont", ln.TexConstant.Variant.ITALIC],
71826
- oldstyle: ["SetFont", ln.TexConstant.Variant.OLDSTYLE],
71827
- cal: ["SetFont", ln.TexConstant.Variant.CALLIGRAPHIC],
71828
- it: ["SetFont", ln.TexConstant.Variant.MATHITALIC],
71829
- bf: ["SetFont", ln.TexConstant.Variant.BOLD],
71830
- bbFont: ["SetFont", ln.TexConstant.Variant.DOUBLESTRUCK],
71831
- scr: ["SetFont", ln.TexConstant.Variant.SCRIPT],
71832
- frak: ["SetFont", ln.TexConstant.Variant.FRAKTUR],
71833
- sf: ["SetFont", ln.TexConstant.Variant.SANSSERIF],
71834
- tt: ["SetFont", ln.TexConstant.Variant.MONOSPACE],
71835
- mathrm: ["MathFont", ln.TexConstant.Variant.NORMAL],
71836
- mathup: ["MathFont", ln.TexConstant.Variant.NORMAL],
71824
+ rm: ["SetFont", an.TexConstant.Variant.NORMAL],
71825
+ mit: ["SetFont", an.TexConstant.Variant.ITALIC],
71826
+ oldstyle: ["SetFont", an.TexConstant.Variant.OLDSTYLE],
71827
+ cal: ["SetFont", an.TexConstant.Variant.CALLIGRAPHIC],
71828
+ it: ["SetFont", an.TexConstant.Variant.MATHITALIC],
71829
+ bf: ["SetFont", an.TexConstant.Variant.BOLD],
71830
+ bbFont: ["SetFont", an.TexConstant.Variant.DOUBLESTRUCK],
71831
+ scr: ["SetFont", an.TexConstant.Variant.SCRIPT],
71832
+ frak: ["SetFont", an.TexConstant.Variant.FRAKTUR],
71833
+ sf: ["SetFont", an.TexConstant.Variant.SANSSERIF],
71834
+ tt: ["SetFont", an.TexConstant.Variant.MONOSPACE],
71835
+ mathrm: ["MathFont", an.TexConstant.Variant.NORMAL],
71836
+ mathup: ["MathFont", an.TexConstant.Variant.NORMAL],
71837
71837
  mathnormal: ["MathFont", ""],
71838
- mathbf: ["MathFont", ln.TexConstant.Variant.BOLD],
71839
- mathbfup: ["MathFont", ln.TexConstant.Variant.BOLD],
71840
- mathit: ["MathFont", ln.TexConstant.Variant.MATHITALIC],
71841
- mathbfit: ["MathFont", ln.TexConstant.Variant.BOLDITALIC],
71842
- mathbb: ["MathFont", ln.TexConstant.Variant.DOUBLESTRUCK],
71843
- Bbb: ["MathFont", ln.TexConstant.Variant.DOUBLESTRUCK],
71844
- mathfrak: ["MathFont", ln.TexConstant.Variant.FRAKTUR],
71845
- mathbffrak: ["MathFont", ln.TexConstant.Variant.BOLDFRAKTUR],
71846
- mathscr: ["MathFont", ln.TexConstant.Variant.SCRIPT],
71847
- mathbfscr: ["MathFont", ln.TexConstant.Variant.BOLDSCRIPT],
71848
- mathsf: ["MathFont", ln.TexConstant.Variant.SANSSERIF],
71849
- mathsfup: ["MathFont", ln.TexConstant.Variant.SANSSERIF],
71850
- mathbfsf: ["MathFont", ln.TexConstant.Variant.BOLDSANSSERIF],
71851
- mathbfsfup: ["MathFont", ln.TexConstant.Variant.BOLDSANSSERIF],
71852
- mathsfit: ["MathFont", ln.TexConstant.Variant.SANSSERIFITALIC],
71853
- mathbfsfit: ["MathFont", ln.TexConstant.Variant.SANSSERIFBOLDITALIC],
71854
- mathtt: ["MathFont", ln.TexConstant.Variant.MONOSPACE],
71855
- mathcal: ["MathFont", ln.TexConstant.Variant.CALLIGRAPHIC],
71856
- mathbfcal: ["MathFont", ln.TexConstant.Variant.BOLDCALLIGRAPHIC],
71857
- symrm: ["MathFont", ln.TexConstant.Variant.NORMAL],
71858
- symup: ["MathFont", ln.TexConstant.Variant.NORMAL],
71838
+ mathbf: ["MathFont", an.TexConstant.Variant.BOLD],
71839
+ mathbfup: ["MathFont", an.TexConstant.Variant.BOLD],
71840
+ mathit: ["MathFont", an.TexConstant.Variant.MATHITALIC],
71841
+ mathbfit: ["MathFont", an.TexConstant.Variant.BOLDITALIC],
71842
+ mathbb: ["MathFont", an.TexConstant.Variant.DOUBLESTRUCK],
71843
+ Bbb: ["MathFont", an.TexConstant.Variant.DOUBLESTRUCK],
71844
+ mathfrak: ["MathFont", an.TexConstant.Variant.FRAKTUR],
71845
+ mathbffrak: ["MathFont", an.TexConstant.Variant.BOLDFRAKTUR],
71846
+ mathscr: ["MathFont", an.TexConstant.Variant.SCRIPT],
71847
+ mathbfscr: ["MathFont", an.TexConstant.Variant.BOLDSCRIPT],
71848
+ mathsf: ["MathFont", an.TexConstant.Variant.SANSSERIF],
71849
+ mathsfup: ["MathFont", an.TexConstant.Variant.SANSSERIF],
71850
+ mathbfsf: ["MathFont", an.TexConstant.Variant.BOLDSANSSERIF],
71851
+ mathbfsfup: ["MathFont", an.TexConstant.Variant.BOLDSANSSERIF],
71852
+ mathsfit: ["MathFont", an.TexConstant.Variant.SANSSERIFITALIC],
71853
+ mathbfsfit: ["MathFont", an.TexConstant.Variant.SANSSERIFBOLDITALIC],
71854
+ mathtt: ["MathFont", an.TexConstant.Variant.MONOSPACE],
71855
+ mathcal: ["MathFont", an.TexConstant.Variant.CALLIGRAPHIC],
71856
+ mathbfcal: ["MathFont", an.TexConstant.Variant.BOLDCALLIGRAPHIC],
71857
+ symrm: ["MathFont", an.TexConstant.Variant.NORMAL],
71858
+ symup: ["MathFont", an.TexConstant.Variant.NORMAL],
71859
71859
  symnormal: ["MathFont", ""],
71860
- symbf: ["MathFont", ln.TexConstant.Variant.BOLD],
71861
- symbfup: ["MathFont", ln.TexConstant.Variant.BOLD],
71862
- symit: ["MathFont", ln.TexConstant.Variant.ITALIC],
71863
- symbfit: ["MathFont", ln.TexConstant.Variant.BOLDITALIC],
71864
- symbb: ["MathFont", ln.TexConstant.Variant.DOUBLESTRUCK],
71865
- symfrak: ["MathFont", ln.TexConstant.Variant.FRAKTUR],
71866
- symbffrak: ["MathFont", ln.TexConstant.Variant.BOLDFRAKTUR],
71867
- symscr: ["MathFont", ln.TexConstant.Variant.SCRIPT],
71868
- symbfscr: ["MathFont", ln.TexConstant.Variant.BOLDSCRIPT],
71869
- symsf: ["MathFont", ln.TexConstant.Variant.SANSSERIF],
71870
- symsfup: ["MathFont", ln.TexConstant.Variant.SANSSERIF],
71871
- symbfsf: ["MathFont", ln.TexConstant.Variant.BOLDSANSSERIF],
71872
- symbfsfup: ["MathFont", ln.TexConstant.Variant.BOLDSANSSERIF],
71873
- symsfit: ["MathFont", ln.TexConstant.Variant.SANSSERIFITALIC],
71874
- symbfsfit: ["MathFont", ln.TexConstant.Variant.SANSSERIFBOLDITALIC],
71875
- symtt: ["MathFont", ln.TexConstant.Variant.MONOSPACE],
71876
- symcal: ["MathFont", ln.TexConstant.Variant.CALLIGRAPHIC],
71877
- symbfcal: ["MathFont", ln.TexConstant.Variant.BOLDCALLIGRAPHIC],
71878
- textrm: ["HBox", null, ln.TexConstant.Variant.NORMAL],
71879
- textup: ["HBox", null, ln.TexConstant.Variant.NORMAL],
71860
+ symbf: ["MathFont", an.TexConstant.Variant.BOLD],
71861
+ symbfup: ["MathFont", an.TexConstant.Variant.BOLD],
71862
+ symit: ["MathFont", an.TexConstant.Variant.ITALIC],
71863
+ symbfit: ["MathFont", an.TexConstant.Variant.BOLDITALIC],
71864
+ symbb: ["MathFont", an.TexConstant.Variant.DOUBLESTRUCK],
71865
+ symfrak: ["MathFont", an.TexConstant.Variant.FRAKTUR],
71866
+ symbffrak: ["MathFont", an.TexConstant.Variant.BOLDFRAKTUR],
71867
+ symscr: ["MathFont", an.TexConstant.Variant.SCRIPT],
71868
+ symbfscr: ["MathFont", an.TexConstant.Variant.BOLDSCRIPT],
71869
+ symsf: ["MathFont", an.TexConstant.Variant.SANSSERIF],
71870
+ symsfup: ["MathFont", an.TexConstant.Variant.SANSSERIF],
71871
+ symbfsf: ["MathFont", an.TexConstant.Variant.BOLDSANSSERIF],
71872
+ symbfsfup: ["MathFont", an.TexConstant.Variant.BOLDSANSSERIF],
71873
+ symsfit: ["MathFont", an.TexConstant.Variant.SANSSERIFITALIC],
71874
+ symbfsfit: ["MathFont", an.TexConstant.Variant.SANSSERIFBOLDITALIC],
71875
+ symtt: ["MathFont", an.TexConstant.Variant.MONOSPACE],
71876
+ symcal: ["MathFont", an.TexConstant.Variant.CALLIGRAPHIC],
71877
+ symbfcal: ["MathFont", an.TexConstant.Variant.BOLDCALLIGRAPHIC],
71878
+ textrm: ["HBox", null, an.TexConstant.Variant.NORMAL],
71879
+ textup: ["HBox", null, an.TexConstant.Variant.NORMAL],
71880
71880
  textnormal: ["HBox"],
71881
- textit: ["HBox", null, ln.TexConstant.Variant.ITALIC],
71882
- textbf: ["HBox", null, ln.TexConstant.Variant.BOLD],
71883
- textsf: ["HBox", null, ln.TexConstant.Variant.SANSSERIF],
71884
- texttt: ["HBox", null, ln.TexConstant.Variant.MONOSPACE],
71881
+ textit: ["HBox", null, an.TexConstant.Variant.ITALIC],
71882
+ textbf: ["HBox", null, an.TexConstant.Variant.BOLD],
71883
+ textsf: ["HBox", null, an.TexConstant.Variant.SANSSERIF],
71884
+ texttt: ["HBox", null, an.TexConstant.Variant.MONOSPACE],
71885
71885
  tiny: ["SetSize", 0.5],
71886
71886
  Tiny: ["SetSize", 0.6],
71887
71887
  scriptsize: ["SetSize", 0.7],
@@ -73020,8 +73020,8 @@ var tB = Wf, nM = dh, ISt = s1, VSt = g4, RSt = Zf, DSt = y_, NSt = function(e)
73020
73020
  I.has(P) || I.set(P, this.getTestElement(P, E.display));
73021
73021
  }
73022
73022
  }
73023
- } catch (xe) {
73024
- r = { error: xe };
73023
+ } catch (Le) {
73024
+ r = { error: Le };
73025
73025
  } finally {
73026
73026
  try {
73027
73027
  H && !H.done && (i = L.return) && i.call(L);
@@ -73038,8 +73038,8 @@ var tB = Wf, nM = dh, ISt = s1, VSt = g4, RSt = Zf, DSt = y_, NSt = function(e)
73038
73038
  var P = ft.value;
73039
73039
  z[et].set(P, this.measureMetrics(x[et].get(P), N));
73040
73040
  }
73041
- } catch (xe) {
73042
- s = { error: xe };
73041
+ } catch (Le) {
73042
+ s = { error: Le };
73043
73043
  } finally {
73044
73044
  try {
73045
73045
  ft && !ft.done && (u = ot.return) && u.call(ot);
@@ -73048,8 +73048,8 @@ var tB = Wf, nM = dh, ISt = s1, VSt = g4, RSt = Zf, DSt = y_, NSt = function(e)
73048
73048
  }
73049
73049
  }
73050
73050
  }
73051
- } catch (xe) {
73052
- o = { error: xe };
73051
+ } catch (Le) {
73052
+ o = { error: Le };
73053
73053
  } finally {
73054
73054
  try {
73055
73055
  q && !q.done && (a = $.return) && a.call($);
@@ -73075,8 +73075,8 @@ var tB = Wf, nM = dh, ISt = s1, VSt = g4, RSt = Zf, DSt = y_, NSt = function(e)
73075
73075
  }
73076
73076
  }
73077
73077
  }
73078
- } catch (xe) {
73079
- h = { error: xe };
73078
+ } catch (Le) {
73079
+ h = { error: Le };
73080
73080
  } finally {
73081
73081
  try {
73082
73082
  At && !At.done && (p = ht.return) && p.call(ht);
@@ -74221,10 +74221,10 @@ function Ai() {
74221
74221
  if (h) throw h.error;
74222
74222
  }
74223
74223
  }
74224
- var q = u.borderFuzz, et = this.getOuterBBox(), ot = n([et.h + q, et.d + q, et.w + q], 3), ft = ot[0], ht = ot[1], At = ot[2], Zt = [At, ft], ce = [-q, ft], xe = [At, -ht], be = [-q, -ht], gn = [At - v[1], ft - v[0]], pn = [-q + v[3], ft - v[0]], ar = [At - v[1], -ht + v[2]], ge = [-q + v[3], -ht + v[2]], Re = [
74224
+ var q = u.borderFuzz, et = this.getOuterBBox(), ot = n([et.h + q, et.d + q, et.w + q], 3), ft = ot[0], ht = ot[1], At = ot[2], Zt = [At, ft], ce = [-q, ft], Le = [At, -ht], be = [-q, -ht], gn = [At - v[1], ft - v[0]], pn = [-q + v[3], ft - v[0]], ar = [At - v[1], -ht + v[2]], ge = [-q + v[3], -ht + v[2]], Re = [
74225
74225
  [ce, Zt, gn, pn],
74226
- [xe, Zt, gn, ar],
74227
- [be, xe, ar, ge],
74226
+ [Le, Zt, gn, ar],
74227
+ [be, Le, ar, ge],
74228
74228
  [be, ce, pn, ge]
74229
74229
  ], mn = this.adaptor, Xe = mn.firstChild(this.element);
74230
74230
  try {
@@ -74256,7 +74256,7 @@ function Ai() {
74256
74256
  });
74257
74257
  Q ? this.adaptor.insert(v, Q) : this.adaptor.append(this.element, v);
74258
74258
  }, u.prototype.addBorderBroken = function(h, p, Q, m, v) {
74259
- var x = Q === "dotted", L = m / 2, H = n([[L, -L, -L, -L], [-L, L, -L, -L], [L, L, -L, L], [L, L, L, -L]][v], 4), E = H[0], P = H[1], I = H[2], N = H[3], z = n(h, 2), $ = z[0], q = z[1], et = $[0] + E - this.dx, ot = $[1] + P, ft = q[0] + I - this.dx, ht = q[1] + N, At = Math.abs(v % 2 ? ht - ot : ft - et), Zt = Math.ceil(x ? At / (2 * m) : (At - m) / (4 * m)), ce = At / (4 * Zt + 1), xe = this.svg("line", {
74259
+ var x = Q === "dotted", L = m / 2, H = n([[L, -L, -L, -L], [-L, L, -L, -L], [L, L, -L, L], [L, L, L, -L]][v], 4), E = H[0], P = H[1], I = H[2], N = H[3], z = n(h, 2), $ = z[0], q = z[1], et = $[0] + E - this.dx, ot = $[1] + P, ft = q[0] + I - this.dx, ht = q[1] + N, At = Math.abs(v % 2 ? ht - ot : ft - et), Zt = Math.ceil(x ? At / (2 * m) : (At - m) / (4 * m)), ce = At / (4 * Zt + 1), Le = this.svg("line", {
74260
74260
  x1: this.fixed(et),
74261
74261
  y1: this.fixed(ot),
74262
74262
  x2: this.fixed(ft),
@@ -74266,7 +74266,7 @@ function Ai() {
74266
74266
  "stroke-linecap": x ? "round" : "square",
74267
74267
  "stroke-dasharray": x ? [1, this.fixed(At / Zt - 2e-3)].join(" ") : [this.fixed(ce), this.fixed(3 * ce)].join(" ")
74268
74268
  }), be = this.adaptor, gn = be.firstChild(this.element);
74269
- gn ? be.insert(xe, gn) : be.append(this.element, xe);
74269
+ gn ? be.insert(Le, gn) : be.append(this.element, Le);
74270
74270
  }, u.prototype.handleAttributes = function() {
74271
74271
  var h, p, Q, m, v = this.node.attributes, x = v.getAllDefaults(), L = u.skipAttributes;
74272
74272
  try {
@@ -78441,8 +78441,8 @@ function JHt() {
78441
78441
  var H = this.adaptor, E = a(L), P = H.append(this.element, this.svg("g")), I = H.append(this.element, this.svg("g"));
78442
78442
  this.place(p, Q, P), this.place(p, m, I);
78443
78443
  for (var N = v + 2 * x, z = 0; v < N; ) {
78444
- var $ = t([this.childNodes[v++], this.childNodes[v++]], 2), q = $[0], et = $[1], ot = t([q.getOuterBBox(), et.getOuterBBox()], 2), ft = ot[0], ht = ot[1], At = t([ft.rscale, ht.rscale], 2), Zt = At[0], ce = At[1], xe = Math.max(ft.w * Zt, ht.w * ce);
78445
- q.toSVG(I), et.toSVG(P), q.place(z + E(ft.w * Zt, xe), 0), et.place(z + E(ht.w * ce, xe), 0), z += xe;
78444
+ var $ = t([this.childNodes[v++], this.childNodes[v++]], 2), q = $[0], et = $[1], ot = t([q.getOuterBBox(), et.getOuterBBox()], 2), ft = ot[0], ht = ot[1], At = t([ft.rscale, ht.rscale], 2), Zt = At[0], ce = At[1], Le = Math.max(ft.w * Zt, ht.w * ce);
78445
+ q.toSVG(I), et.toSVG(P), q.place(z + E(ft.w * Zt, Le), 0), et.place(z + E(ht.w * ce, Le), 0), z += Le;
78446
78446
  }
78447
78447
  return p + z;
78448
78448
  }, h.kind = i.MmlMmultiscripts.prototype.kind, h;
@@ -80629,12 +80629,12 @@ function CCt() {
80629
80629
  }
80630
80630
  }, m.prototype.arrow = function(v, x, L, H, E) {
80631
80631
  H === void 0 && (H = ""), E === void 0 && (E = 0);
80632
- var P = this.getBBox(), I = P.w, N = P.h, z = P.d, $ = (v - I) / 2, q = (N - z) / 2, et = this.thickness, ot = et / 2, ft = o([et * this.arrowhead.x, et * this.arrowhead.y, et * this.arrowhead.dx], 3), ht = ft[0], At = ft[1], Zt = ft[2], ce = L ? this.fill("M", I + $, q, "l", -(ht + Zt), At, "l", Zt, ot - At, "L", ht - $, q + ot, "l", Zt, At - ot, "l", -(ht + Zt), -At, "l", ht + Zt, -At, "l", -Zt, At - ot, "L", I + $ - ht, q - ot, "l", -Zt, ot - At, "Z") : this.fill("M", I + $, q, "l", -(ht + Zt), At, "l", Zt, ot - At, "L", -$, q + ot, "l", 0, -et, "L", I + $ - ht, q - ot, "l", -Zt, ot - At, "Z"), xe = [];
80633
- if (E && xe.push(H === "X" ? "translate(".concat(this.fixed(-E), " 0)") : "translate(0 ".concat(this.fixed(E), ")")), x) {
80632
+ var P = this.getBBox(), I = P.w, N = P.h, z = P.d, $ = (v - I) / 2, q = (N - z) / 2, et = this.thickness, ot = et / 2, ft = o([et * this.arrowhead.x, et * this.arrowhead.y, et * this.arrowhead.dx], 3), ht = ft[0], At = ft[1], Zt = ft[2], ce = L ? this.fill("M", I + $, q, "l", -(ht + Zt), At, "l", Zt, ot - At, "L", ht - $, q + ot, "l", Zt, At - ot, "l", -(ht + Zt), -At, "l", ht + Zt, -At, "l", -Zt, At - ot, "L", I + $ - ht, q - ot, "l", -Zt, ot - At, "Z") : this.fill("M", I + $, q, "l", -(ht + Zt), At, "l", Zt, ot - At, "L", -$, q + ot, "l", 0, -et, "L", I + $ - ht, q - ot, "l", -Zt, ot - At, "Z"), Le = [];
80633
+ if (E && Le.push(H === "X" ? "translate(".concat(this.fixed(-E), " 0)") : "translate(0 ".concat(this.fixed(E), ")")), x) {
80634
80634
  var be = this.jax.fixed(-x * 180 / Math.PI);
80635
- xe.push("rotate(".concat(be, " ").concat(this.fixed(I / 2), " ").concat(this.fixed(q), ")"));
80635
+ Le.push("rotate(".concat(be, " ").concat(this.fixed(I / 2), " ").concat(this.fixed(q), ")"));
80636
80636
  }
80637
- return xe.length && this.adaptor.setAttribute(ce, "transform", xe.join(" ")), ce;
80637
+ return Le.length && this.adaptor.setAttribute(ce, "transform", Le.join(" ")), ce;
80638
80638
  }, m.prototype.line = function(v) {
80639
80639
  var x = o(v, 4), L = x[0], H = x[1], E = x[2], P = x[3];
80640
80640
  return this.svg("line", {
@@ -88067,8 +88067,8 @@ Z8.BitFieldClass = ekt;
88067
88067
  var ht = ft.value, At = r(this.action(ht, z[ht]), 2), Zt = At[0], ce = At[1];
88068
88068
  ce && et.add(Zt, ce);
88069
88069
  }
88070
- } catch (xe) {
88071
- $ = { error: xe };
88070
+ } catch (Le) {
88071
+ $ = { error: Le };
88072
88072
  } finally {
88073
88073
  try {
88074
88074
  ft && !ft.done && (q = ot.return) && q.call(ot);
@@ -88084,7 +88084,7 @@ Z8.BitFieldClass = ekt;
88084
88084
  else if (typeof $[1] == "string")
88085
88085
  if (typeof $[2] == "string") {
88086
88086
  $.length === 4 && (Zt = $[3]);
88087
- var xe = r($.slice(1), 2), be = xe[0], gn = xe[1];
88087
+ var Le = r($.slice(1), 2), be = Le[0], gn = Le[1];
88088
88088
  et = r(this.methodActions(be, gn), 2), ht = et[0], At = et[1];
88089
88089
  } else
88090
88090
  $.length === 3 && (Zt = $[2]), ot = r(this.methodActions($[1]), 2), ht = ot[0], At = ot[1];
@@ -88258,12 +88258,12 @@ Z8.BitFieldClass = ekt;
88258
88258
  lineWidth: 1e6,
88259
88259
  scale: 1,
88260
88260
  family: ""
88261
- }, z), q = $.format, et = $.display, ot = $.end, ft = $.ex, ht = $.em, At = $.containerWidth, Zt = $.lineWidth, ce = $.scale, xe = $.family;
88261
+ }, z), q = $.format, et = $.display, ot = $.end, ft = $.ex, ht = $.em, At = $.containerWidth, Zt = $.lineWidth, ce = $.scale, Le = $.family;
88262
88262
  At === null && (At = 80 * ft);
88263
88263
  var be = this.inputJax.reduce(function(pn, ar) {
88264
88264
  return ar.name === q ? ar : pn;
88265
88265
  }, null), gn = new this.options.MathItem(N, be, et);
88266
- return gn.start.node = this.adaptor.body(this.document), gn.setMetrics(ht, ft, At, Zt, ce), this.outputJax.options.mtextInheritFont && (gn.outputData.mtextFamily = xe), this.outputJax.options.merrorInheritFont && (gn.outputData.merrorFamily = xe), gn.convert(this, ot), gn.typesetRoot || gn.root;
88266
+ return gn.start.node = this.adaptor.body(this.document), gn.setMetrics(ht, ft, At, Zt, ce), this.outputJax.options.mtextInheritFont && (gn.outputData.mtextFamily = Le), this.outputJax.options.merrorInheritFont && (gn.outputData.merrorFamily = Le), gn.convert(this, ot), gn.typesetRoot || gn.root;
88267
88267
  }, I.prototype.findMath = function(N) {
88268
88268
  return this.processed.set("findMath"), this;
88269
88269
  }, I.prototype.compile = function() {
@@ -88275,8 +88275,8 @@ Z8.BitFieldClass = ekt;
88275
88275
  var ht = ft.value;
88276
88276
  this.compileMath(ht), ht.inputData.recompile !== void 0 && et.push(ht);
88277
88277
  }
88278
- } catch (xe) {
88279
- N = { error: xe };
88278
+ } catch (Le) {
88279
+ N = { error: Le };
88280
88280
  } finally {
88281
88281
  try {
88282
88282
  ft && !ft.done && (z = ot.return) && z.call(ot);
@@ -88289,8 +88289,8 @@ Z8.BitFieldClass = ekt;
88289
88289
  var ht = Zt.value, ce = ht.inputData.recompile;
88290
88290
  ht.state(ce.state), ht.inputData.recompile = ce, this.compileMath(ht);
88291
88291
  }
88292
- } catch (xe) {
88293
- $ = { error: xe };
88292
+ } catch (Le) {
88293
+ $ = { error: Le };
88294
88294
  } finally {
88295
88295
  try {
88296
88296
  Zt && !Zt.done && (q = At.return) && q.call(At);
@@ -88428,7 +88428,7 @@ Z8.BitFieldClass = ekt;
88428
88428
  t: for (var At = n(this.math), Zt = At.next(); !Zt.done; Zt = At.next()) {
88429
88429
  var ce = Zt.value;
88430
88430
  try {
88431
- for (var xe = (q = void 0, n(ht)), be = xe.next(); !be.done; be = xe.next()) {
88431
+ for (var Le = (q = void 0, n(ht)), be = Le.next(); !be.done; be = Le.next()) {
88432
88432
  var gn = be.value;
88433
88433
  if (ce.start.node && ot.contains(gn, ce.start.node)) {
88434
88434
  ft.push(ce);
@@ -88439,7 +88439,7 @@ Z8.BitFieldClass = ekt;
88439
88439
  q = { error: pn };
88440
88440
  } finally {
88441
88441
  try {
88442
- be && !be.done && (et = xe.return) && et.call(xe);
88442
+ be && !be.done && (et = Le.return) && et.call(Le);
88443
88443
  } finally {
88444
88444
  if (q) throw q.error;
88445
88445
  }
@@ -90157,8 +90157,8 @@ var nO = {}, ex = {}, nx = {};
90157
90157
  var En = N(en);
90158
90158
  if (En) {
90159
90159
  z(Xe, en, -En);
90160
- var an = I(oe, We, !1);
90161
- z(Xe, oe, En - an);
90160
+ var sn = I(oe, We, !1);
90161
+ z(Xe, oe, En - sn);
90162
90162
  }
90163
90163
  }
90164
90164
  var ze = x(ke);
@@ -90197,10 +90197,10 @@ var nO = {}, ex = {}, nx = {};
90197
90197
  o.default.setProperty(ge, At + Re, mn);
90198
90198
  };
90199
90199
  e.setProperty = ce;
90200
- var xe = function(ge, Re) {
90200
+ var Le = function(ge, Re) {
90201
90201
  return o.default.getProperty(ge, At + Re);
90202
90202
  };
90203
- e.getProperty = xe;
90203
+ e.getProperty = Le;
90204
90204
  var be = function(ge, Re) {
90205
90205
  ge.removeProperty(At + Re);
90206
90206
  };
@@ -91984,8 +91984,8 @@ function gK() {
91984
91984
  style: "border: ".concat(ft, " solid; border-").concat(ot, ": none"),
91985
91985
  height: N,
91986
91986
  depth: 0
91987
- }), ce = o.default.underOver(E, ht, Zt, q, !0), xe = p.default.getChildAt(p.default.getChildAt(ce, 0), 0);
91988
- p.default.setAttribute(xe, et, !0), E.Push(ce);
91987
+ }), ce = o.default.underOver(E, ht, Zt, q, !0), Le = p.default.getChildAt(p.default.getChildAt(ce, 0), 0);
91988
+ p.default.setAttribute(Le, et, !0), E.Push(ce);
91989
91989
  },
91990
91990
  Aboxed: function(E, P) {
91991
91991
  var I = H.MathtoolsUtil.checkAlignment(E, P);
@@ -92035,9 +92035,9 @@ function gK() {
92035
92035
  z === void 0 && (z = "#1"), $ === void 0 && ($ = 1), q === void 0 && (q = ""), et === void 0 && (et = "");
92036
92036
  var ot = E.GetStar(), ft = ot ? "" : E.GetBrackets(P), ht = n(ot ? ["\\left", "\\right"] : ft ? [ft + "l", ft + "r"] : ["", ""], 2), At = ht[0], Zt = ht[1], ce = ot ? "\\middle" : ft || "";
92037
92037
  if ($) {
92038
- for (var xe = [], be = xe.length; be < $; be++)
92039
- xe.push(E.GetArgument(P));
92040
- q = o.default.substituteArgs(E, xe, q), z = o.default.substituteArgs(E, xe, z), et = o.default.substituteArgs(E, xe, et);
92038
+ for (var Le = [], be = Le.length; be < $; be++)
92039
+ Le.push(E.GetArgument(P));
92040
+ q = o.default.substituteArgs(E, Le, q), z = o.default.substituteArgs(E, Le, z), et = o.default.substituteArgs(E, Le, et);
92041
92041
  }
92042
92042
  z = z.replace(/\\delimsize/g, ce), E.string = [q, At, I, z, Zt, N, et, E.string.substr(E.i)].reduce(function(gn, pn) {
92043
92043
  return o.default.addArgs(E, gn, pn);
@@ -92506,15 +92506,15 @@ function yK() {
92506
92506
  }
92507
92507
  }
92508
92508
  try {
92509
- for (var ce = (I = void 0, t([4, 5])), xe = ce.next(); !xe.done; xe = ce.next()) {
92510
- var Zt = xe.value;
92509
+ for (var ce = (I = void 0, t([4, 5])), Le = ce.next(); !Le.done; Le = ce.next()) {
92510
+ var Zt = Le.value;
92511
92511
  a.default.isType(ot[Zt], "mrow") && a.default.getChildren(ot[Zt]).length === 0 && a.default.setChild(et, Zt, z.nodeFactory.create("node", "none"));
92512
92512
  }
92513
92513
  } catch (be) {
92514
92514
  I = { error: be };
92515
92515
  } finally {
92516
92516
  try {
92517
- xe && !xe.done && (N = ce.return) && N.call(ce);
92517
+ Le && !Le.done && (N = ce.return) && N.call(ce);
92518
92518
  } finally {
92519
92519
  if (I) throw I.error;
92520
92520
  }
@@ -96997,11 +96997,11 @@ var UK = { exports: {} };
96997
96997
  return this._length = 0, this._items = {}, this._nums = {}, this;
96998
96998
  };
96999
96999
  var Zt = [I.FEATURE, I.MIDPOINT, I.VERTEX], ce = { click: function(D, W, ct) {
97000
- return xe(D, W, ct, ct.options.clickBuffer);
97000
+ return Le(D, W, ct, ct.options.clickBuffer);
97001
97001
  }, touch: function(D, W, ct) {
97002
- return xe(D, W, ct, ct.options.touchBuffer);
97002
+ return Le(D, W, ct, ct.options.touchBuffer);
97003
97003
  } };
97004
- function xe(D, W, ct, St) {
97004
+ function Le(D, W, ct, St) {
97005
97005
  if (ct.map === null) return [];
97006
97006
  var Rt = D ? ht(D, St) : W, Pt = {};
97007
97007
  ct.options.styles && (Pt.layers = ct.options.styles.map(function(Ee) {
@@ -97264,7 +97264,7 @@ var UK = { exports: {} };
97264
97264
  throw new Error("You must overwrite toDisplayFeatures");
97265
97265
  };
97266
97266
  var en = { drag: "onDrag", click: "onClick", mousemove: "onMouseMove", mousedown: "onMouseDown", mouseup: "onMouseUp", mouseout: "onMouseOut", keyup: "onKeyUp", keydown: "onKeyDown", touchstart: "onTouchStart", touchmove: "onTouchMove", touchend: "onTouchEnd", tap: "onTap" }, En = Object.keys(en);
97267
- function an(D) {
97267
+ function sn(D) {
97268
97268
  var W = Object.keys(D);
97269
97269
  return function(ct, St) {
97270
97270
  St === void 0 && (St = {});
@@ -97322,8 +97322,8 @@ var UK = { exports: {} };
97322
97322
  var Pt = Rt !== D.sources.cold.length || St.length > 0;
97323
97323
  function $t(Ee, Ke) {
97324
97324
  var Ge = D.get(Ee).internal(W);
97325
- D.ctx.events.currentModeRender(Ge, function(Nn) {
97326
- D.sources[Ke].push(Nn);
97325
+ D.ctx.events.currentModeRender(Ge, function(Bn) {
97326
+ D.sources[Ke].push(Bn);
97327
97327
  });
97328
97328
  }
97329
97329
  if (ct.forEach(function(Ee) {
@@ -97461,10 +97461,10 @@ var UK = { exports: {} };
97461
97461
  return Pt.length === 1 && arguments.length !== 1 && (Ie = [br({}, { type: $t }, Me)]), Pt.apply(Rt, Ie);
97462
97462
  }, D.map = Rt, D.events = function($t) {
97463
97463
  var Me = Object.keys($t.options.modes).reduce(function(_e, Ze) {
97464
- return _e[Ze] = an($t.options.modes[Ze]), _e;
97465
- }, {}), Ie = {}, Ee = {}, Ke = {}, Ge = null, Nn = null;
97464
+ return _e[Ze] = sn($t.options.modes[Ze]), _e;
97465
+ }, {}), Ie = {}, Ee = {}, Ke = {}, Ge = null, Bn = null;
97466
97466
  Ke.drag = function(_e, Ze) {
97467
- Ze({ point: _e.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? ($t.ui.queueMapClasses({ mouse: v.DRAG }), Nn.drag(_e)) : _e.originalEvent.stopPropagation();
97467
+ Ze({ point: _e.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? ($t.ui.queueMapClasses({ mouse: v.DRAG }), Bn.drag(_e)) : _e.originalEvent.stopPropagation();
97468
97468
  }, Ke.mousedrag = function(_e) {
97469
97469
  Ke.drag(_e, function(Ze) {
97470
97470
  return !pn(Ie, Ze);
@@ -97476,45 +97476,45 @@ var UK = { exports: {} };
97476
97476
  }, Ke.mousemove = function(_e) {
97477
97477
  if ((_e.originalEvent.buttons !== void 0 ? _e.originalEvent.buttons : _e.originalEvent.which) === 1) return Ke.mousedrag(_e);
97478
97478
  var Ze = be(_e, $t);
97479
- _e.featureTarget = Ze, Nn.mousemove(_e);
97479
+ _e.featureTarget = Ze, Bn.mousemove(_e);
97480
97480
  }, Ke.mousedown = function(_e) {
97481
97481
  Ie = { time: (/* @__PURE__ */ new Date()).getTime(), point: _e.point };
97482
97482
  var Ze = be(_e, $t);
97483
- _e.featureTarget = Ze, Nn.mousedown(_e);
97483
+ _e.featureTarget = Ze, Bn.mousedown(_e);
97484
97484
  }, Ke.mouseup = function(_e) {
97485
97485
  var Ze = be(_e, $t);
97486
- _e.featureTarget = Ze, pn(Ie, { point: _e.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? Nn.click(_e) : Nn.mouseup(_e);
97486
+ _e.featureTarget = Ze, pn(Ie, { point: _e.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? Bn.click(_e) : Bn.mouseup(_e);
97487
97487
  }, Ke.mouseout = function(_e) {
97488
- Nn.mouseout(_e);
97488
+ Bn.mouseout(_e);
97489
97489
  }, Ke.touchstart = function(_e) {
97490
97490
  if ($t.options.touchEnabled) {
97491
97491
  Ee = { time: (/* @__PURE__ */ new Date()).getTime(), point: _e.point };
97492
97492
  var Ze = ce.touch(_e, null, $t)[0];
97493
- _e.featureTarget = Ze, Nn.touchstart(_e);
97493
+ _e.featureTarget = Ze, Bn.touchstart(_e);
97494
97494
  }
97495
97495
  }, Ke.touchmove = function(_e) {
97496
- if ($t.options.touchEnabled) return Nn.touchmove(_e), Ke.touchdrag(_e);
97496
+ if ($t.options.touchEnabled) return Bn.touchmove(_e), Ke.touchdrag(_e);
97497
97497
  }, Ke.touchend = function(_e) {
97498
97498
  if (_e.originalEvent.preventDefault(), $t.options.touchEnabled) {
97499
97499
  var Ze = ce.touch(_e, null, $t)[0];
97500
- _e.featureTarget = Ze, ar(Ee, { time: (/* @__PURE__ */ new Date()).getTime(), point: _e.point }) ? Nn.tap(_e) : Nn.touchend(_e);
97500
+ _e.featureTarget = Ze, ar(Ee, { time: (/* @__PURE__ */ new Date()).getTime(), point: _e.point }) ? Bn.tap(_e) : Bn.touchend(_e);
97501
97501
  }
97502
97502
  };
97503
97503
  var fr = function(_e) {
97504
97504
  return !(_e === 8 || _e === 46 || _e >= 48 && _e <= 57);
97505
97505
  };
97506
97506
  function Hn(_e, Ze, xr) {
97507
- xr === void 0 && (xr = {}), Nn.stop();
97507
+ xr === void 0 && (xr = {}), Bn.stop();
97508
97508
  var Er = Me[_e];
97509
97509
  if (Er === void 0) throw new Error(_e + " is not valid");
97510
97510
  Ge = _e;
97511
97511
  var Sr = Er($t, Ze);
97512
- Nn = n(Sr, $t), xr.silent || $t.map.fire(E.MODE_CHANGE, { mode: _e }), $t.store.setDirty(), $t.store.render();
97512
+ Bn = n(Sr, $t), xr.silent || $t.map.fire(E.MODE_CHANGE, { mode: _e }), $t.store.setDirty(), $t.store.render();
97513
97513
  }
97514
97514
  Ke.keydown = function(_e) {
97515
- (_e.srcElement || _e.target).classList.contains("mapboxgl-canvas") && (_e.keyCode !== 8 && _e.keyCode !== 46 || !$t.options.controls.trash ? fr(_e.keyCode) ? Nn.keydown(_e) : _e.keyCode === 49 && $t.options.controls.point ? Hn(H.DRAW_POINT) : _e.keyCode === 50 && $t.options.controls.line_string ? Hn(H.DRAW_LINE_STRING) : _e.keyCode === 51 && $t.options.controls.polygon && Hn(H.DRAW_POLYGON) : (_e.preventDefault(), Nn.trash()));
97515
+ (_e.srcElement || _e.target).classList.contains("mapboxgl-canvas") && (_e.keyCode !== 8 && _e.keyCode !== 46 || !$t.options.controls.trash ? fr(_e.keyCode) ? Bn.keydown(_e) : _e.keyCode === 49 && $t.options.controls.point ? Hn(H.DRAW_POINT) : _e.keyCode === 50 && $t.options.controls.line_string ? Hn(H.DRAW_LINE_STRING) : _e.keyCode === 51 && $t.options.controls.polygon && Hn(H.DRAW_POLYGON) : (_e.preventDefault(), Bn.trash()));
97516
97516
  }, Ke.keyup = function(_e) {
97517
- fr(_e.keyCode) && Nn.keyup(_e);
97517
+ fr(_e.keyCode) && Bn.keyup(_e);
97518
97518
  }, Ke.zoomend = function() {
97519
97519
  $t.store.changeZoom();
97520
97520
  }, Ke.data = function(_e) {
@@ -97527,7 +97527,7 @@ var UK = { exports: {} };
97527
97527
  };
97528
97528
  var or = { trash: !1, combineFeatures: !1, uncombineFeatures: !1 };
97529
97529
  return { start: function() {
97530
- Ge = $t.options.defaultMode, Nn = n(Me[Ge]($t), $t);
97530
+ Ge = $t.options.defaultMode, Bn = n(Me[Ge]($t), $t);
97531
97531
  }, changeMode: Hn, actionable: function(_e) {
97532
97532
  var Ze = !1;
97533
97533
  Object.keys(_e).forEach(function(xr) {
@@ -97537,7 +97537,7 @@ var UK = { exports: {} };
97537
97537
  }, currentModeName: function() {
97538
97538
  return Ge;
97539
97539
  }, currentModeRender: function(_e, Ze) {
97540
- return Nn.render(_e, Ze);
97540
+ return Bn.render(_e, Ze);
97541
97541
  }, fire: function(_e, Ze) {
97542
97542
  Ke[_e] && Ke[_e](Ze);
97543
97543
  }, addEventListeners: function() {
@@ -97545,11 +97545,11 @@ var UK = { exports: {} };
97545
97545
  }, removeEventListeners: function() {
97546
97546
  $t.map.off("mousemove", Ke.mousemove), $t.map.off("mousedown", Ke.mousedown), $t.map.off("mouseup", Ke.mouseup), $t.map.off("data", Ke.data), $t.map.off("touchmove", Ke.touchmove), $t.map.off("touchstart", Ke.touchstart), $t.map.off("touchend", Ke.touchend), $t.container.removeEventListener("mouseout", Ke.mouseout), $t.options.keybindings && ($t.container.removeEventListener("keydown", Ke.keydown), $t.container.removeEventListener("keyup", Ke.keyup));
97547
97547
  }, trash: function(_e) {
97548
- Nn.trash(_e);
97548
+ Bn.trash(_e);
97549
97549
  }, combineFeatures: function() {
97550
- Nn.combineFeatures();
97550
+ Bn.combineFeatures();
97551
97551
  }, uncombineFeatures: function() {
97552
- Nn.uncombineFeatures();
97552
+ Bn.uncombineFeatures();
97553
97553
  }, getMode: function() {
97554
97554
  return Ge;
97555
97555
  } };
@@ -97558,7 +97558,7 @@ var UK = { exports: {} };
97558
97558
  function Ge(_e) {
97559
97559
  Ke = br(Ke, _e);
97560
97560
  }
97561
- function Nn() {
97561
+ function Bn() {
97562
97562
  var _e, Ze;
97563
97563
  if ($t.container) {
97564
97564
  var xr = [], Er = [];
@@ -97583,8 +97583,8 @@ var UK = { exports: {} };
97583
97583
  var Ze = Me[_e];
97584
97584
  Ze && Ze && _e !== "trash" && (Ze.classList.add(Q.ACTIVE_BUTTON), Ie = Ze);
97585
97585
  }
97586
- return { setActiveButton: or, queueMapClasses: Ge, updateMapClasses: Nn, clearMapClasses: function() {
97587
- Ge({ mode: null, feature: null, mouse: null }), Nn();
97586
+ return { setActiveButton: or, queueMapClasses: Ge, updateMapClasses: Bn, clearMapClasses: function() {
97587
+ Ge({ mode: null, feature: null, mouse: null }), Bn();
97588
97588
  }, addButtons: function() {
97589
97589
  var _e = $t.options.controls, Ze = document.createElement("div");
97590
97590
  return Ze.className = Q.CONTROL_GROUP + " " + Q.CONTROL_BASE, _e && (_e[x.LINE] && (Me[x.LINE] = fr(x.LINE, { container: Ze, className: Q.CONTROL_BUTTON_LINE, title: "LineString tool " + ($t.options.keybindings ? "(l)" : ""), onActivate: function() {
@@ -97758,10 +97758,10 @@ var UK = { exports: {} };
97758
97758
  function Tt(D, W, ct) {
97759
97759
  W === void 0 && (W = {}), ct === void 0 && (ct = null);
97760
97760
  var St, Rt = D.geometry, Pt = Rt.type, $t = Rt.coordinates, Me = D.properties && D.properties.id, Ie = [];
97761
- function Ee(Ge, Nn) {
97761
+ function Ee(Ge, Bn) {
97762
97762
  var fr = "", Hn = null;
97763
97763
  Ge.forEach(function(or, _e) {
97764
- var Ze = Nn != null ? Nn + "." + _e : String(_e), xr = Et(Me, or, Ze, Ke(Ze));
97764
+ var Ze = Bn != null ? Bn + "." + _e : String(_e), xr = Et(Me, or, Ze, Ke(Ze));
97765
97765
  if (W.midpoints && Hn) {
97766
97766
  var Er = Nt(Me, Hn, xr);
97767
97767
  Er && Ie.push(Er);
@@ -97774,11 +97774,11 @@ var UK = { exports: {} };
97774
97774
  function Ke(Ge) {
97775
97775
  return !!W.selectedPaths && W.selectedPaths.indexOf(Ge) !== -1;
97776
97776
  }
97777
- return Pt === L.POINT ? Ie.push(Et(Me, $t, ct, Ke(ct))) : Pt === L.POLYGON ? $t.forEach(function(Ge, Nn) {
97778
- Ee(Ge, ct !== null ? ct + "." + Nn : String(Nn));
97779
- }) : Pt === L.LINE_STRING ? Ee($t, ct) : Pt.indexOf(L.MULTI_PREFIX) === 0 && (St = Pt.replace(L.MULTI_PREFIX, ""), $t.forEach(function(Ge, Nn) {
97777
+ return Pt === L.POINT ? Ie.push(Et(Me, $t, ct, Ke(ct))) : Pt === L.POLYGON ? $t.forEach(function(Ge, Bn) {
97778
+ Ee(Ge, ct !== null ? ct + "." + Bn : String(Bn));
97779
+ }) : Pt === L.LINE_STRING ? Ee($t, ct) : Pt.indexOf(L.MULTI_PREFIX) === 0 && (St = Pt.replace(L.MULTI_PREFIX, ""), $t.forEach(function(Ge, Bn) {
97780
97780
  var fr = { type: L.FEATURE, properties: D.properties, geometry: { type: St, coordinates: Ge } };
97781
- Ie = Ie.concat(Tt(fr, W, Nn));
97781
+ Ie = Ie.concat(Tt(fr, W, Bn));
97782
97782
  })), Ie;
97783
97783
  }
97784
97784
  var ee = { enable: function(D) {
@@ -97865,7 +97865,7 @@ var UK = { exports: {} };
97865
97865
  Ke = !1;
97866
97866
  } };
97867
97867
  if (!Pt) return Ge;
97868
- function Nn() {
97868
+ function Bn() {
97869
97869
  if (typeof Ge.node == "object" && Ge.node !== null) {
97870
97870
  Ge.keys && Ge.node_ === Ge.node || (Ge.keys = lr(Ge.node)), Ge.isLeaf = Ge.keys.length == 0;
97871
97871
  for (var Hn = 0; Hn < Rt.length; Hn++) if (Rt[Hn].node_ === Me) {
@@ -97875,9 +97875,9 @@ var UK = { exports: {} };
97875
97875
  } else Ge.isLeaf = !0, Ge.keys = null;
97876
97876
  Ge.notLeaf = !Ge.isLeaf, Ge.notRoot = !Ge.isRoot;
97877
97877
  }
97878
- Nn();
97878
+ Bn();
97879
97879
  var fr = W.call(Ge, Ge.node);
97880
- return fr !== void 0 && Ge.update && Ge.update(fr), Ee.before && Ee.before.call(Ge, Ge.node), Ke && (typeof Ge.node != "object" || Ge.node === null || Ge.circular || (Rt.push(Ge), Nn(), Ne(Ge.keys, function(Hn, or) {
97880
+ return fr !== void 0 && Ge.update && Ge.update(fr), Ee.before && Ee.before.call(Ge, Ge.node), Ke && (typeof Ge.node != "object" || Ge.node === null || Ge.circular || (Rt.push(Ge), Bn(), Ne(Ge.keys, function(Hn, or) {
97881
97881
  St.push(Hn), Ee.pre && Ee.pre.call(Ge, Ge.node[Hn], Hn);
97882
97882
  var _e = $t(Ge.node[Hn]);
97883
97883
  ct && cn.call(Ge.node, Hn) && (Ge.node[Hn] = _e.node), _e.isLast = or == Ge.keys.length - 1, _e.isFirst = or == 0, Ee.post && Ee.post.call(Ge, _e), St.pop();
@@ -98052,8 +98052,8 @@ var UK = { exports: {} };
98052
98052
  function Co(D, W) {
98053
98053
  var ct = ti, St = 90, Rt = ti, Pt = 90, $t = 270, Me = -270;
98054
98054
  D.forEach(function(Ee) {
98055
- var Ke = Ja(Ee), Ge = Ke[1], Nn = Ke[3], fr = Ke[0], Hn = Ke[2];
98056
- Ge > ct && (ct = Ge), Nn < St && (St = Nn), Nn > Rt && (Rt = Nn), Ge < Pt && (Pt = Ge), fr < $t && ($t = fr), Hn > Me && (Me = Hn);
98055
+ var Ke = Ja(Ee), Ge = Ke[1], Bn = Ke[3], fr = Ke[0], Hn = Ke[2];
98056
+ Ge > ct && (ct = Ge), Bn < St && (St = Bn), Bn > Rt && (Rt = Bn), Ge < Pt && (Pt = Ge), fr < $t && ($t = fr), Hn > Me && (Me = Hn);
98057
98057
  });
98058
98058
  var Ie = W;
98059
98059
  return ct + Ie.lat > 85 && (Ie.lat = 85 - ct), Rt + Ie.lat > 90 && (Ie.lat = 90 - Rt), St + Ie.lat < -85 && (Ie.lat = -85 - St), Pt + Ie.lat < ti && (Ie.lat = ti - Pt), $t + Ie.lng <= -270 && (Ie.lng += 360 * Math.ceil(Math.abs(Ie.lng) / 360)), Me + Ie.lng >= 270 && (Ie.lng -= 360 * Math.ceil(Math.abs(Ie.lng) / 360)), Ie;
@@ -98376,8 +98376,8 @@ var UK = { exports: {} };
98376
98376
  }
98377
98377
  var J6 = { exports: {} };
98378
98378
  (function(D, W) {
98379
- var ct = "__lodash_hash_undefined__", St = 9007199254740991, Rt = "[object Arguments]", Pt = "[object Array]", $t = "[object Boolean]", Me = "[object Date]", Ie = "[object Error]", Ee = "[object Function]", Ke = "[object Map]", Ge = "[object Number]", Nn = "[object Object]", fr = "[object Promise]", Hn = "[object RegExp]", or = "[object Set]", _e = "[object String]", Ze = "[object Symbol]", xr = "[object WeakMap]", Er = "[object ArrayBuffer]", Sr = "[object DataView]", To = /^\[object .+?Constructor\]$/, b4 = /^(?:0|[1-9]\d*)$/, Bn = {};
98380
- Bn["[object Float32Array]"] = Bn["[object Float64Array]"] = Bn["[object Int8Array]"] = Bn["[object Int16Array]"] = Bn["[object Int32Array]"] = Bn["[object Uint8Array]"] = Bn["[object Uint8ClampedArray]"] = Bn["[object Uint16Array]"] = Bn["[object Uint32Array]"] = !0, Bn[Rt] = Bn[Pt] = Bn[Er] = Bn[$t] = Bn[Sr] = Bn[Me] = Bn[Ie] = Bn[Ee] = Bn[Ke] = Bn[Ge] = Bn[Nn] = Bn[Hn] = Bn[or] = Bn[_e] = Bn[xr] = !1;
98379
+ var ct = "__lodash_hash_undefined__", St = 9007199254740991, Rt = "[object Arguments]", Pt = "[object Array]", $t = "[object Boolean]", Me = "[object Date]", Ie = "[object Error]", Ee = "[object Function]", Ke = "[object Map]", Ge = "[object Number]", Bn = "[object Object]", fr = "[object Promise]", Hn = "[object RegExp]", or = "[object Set]", _e = "[object String]", Ze = "[object Symbol]", xr = "[object WeakMap]", Er = "[object ArrayBuffer]", Sr = "[object DataView]", To = /^\[object .+?Constructor\]$/, b4 = /^(?:0|[1-9]\d*)$/, Fn = {};
98380
+ Fn["[object Float32Array]"] = Fn["[object Float64Array]"] = Fn["[object Int8Array]"] = Fn["[object Int16Array]"] = Fn["[object Int32Array]"] = Fn["[object Uint8Array]"] = Fn["[object Uint8ClampedArray]"] = Fn["[object Uint16Array]"] = Fn["[object Uint32Array]"] = !0, Fn[Rt] = Fn[Pt] = Fn[Er] = Fn[$t] = Fn[Sr] = Fn[Me] = Fn[Ie] = Fn[Ee] = Fn[Ke] = Fn[Ge] = Fn[Bn] = Fn[Hn] = Fn[or] = Fn[_e] = Fn[xr] = !1;
98381
98381
  var ei = typeof R == "object" && R && R.Object === Object && R, ur = typeof self == "object" && self && self.Object === Object && self, In = ei || ur || Function("return this")(), r2 = W && !W.nodeType && W, Kn = r2 && D && !D.nodeType && D, x4 = Kn && Kn.exports === r2, Wi = x4 && ei.process, e0 = function() {
98382
98382
  try {
98383
98383
  return Wi && Wi.binding && Wi.binding("util");
@@ -98463,7 +98463,7 @@ var UK = { exports: {} };
98463
98463
  }
98464
98464
  function V5(qt, me, Ye, On, Ur) {
98465
98465
  return qt === me || (qt == null || me == null || !u3(qt) && !u3(me) ? qt != qt && me != me : function(er, pi, Pi, G1, Di, Ni) {
98466
- var $1 = l0(er), Us = l0(pi), Qo = $1 ? Pt : js(er), M1 = Us ? Pt : js(pi), Gs = (Qo = Qo == Rt ? Nn : Qo) == Nn, d2 = (M1 = M1 == Rt ? Nn : M1) == Nn, _a = Qo == M1;
98466
+ var $1 = l0(er), Us = l0(pi), Qo = $1 ? Pt : js(er), M1 = Us ? Pt : js(pi), Gs = (Qo = Qo == Rt ? Bn : Qo) == Bn, d2 = (M1 = M1 == Rt ? Bn : M1) == Bn, _a = Qo == M1;
98467
98467
  if (_a && P4(er)) {
98468
98468
  if (!P4(pi)) return !1;
98469
98469
  $1 = !0, Gs = !1;
@@ -98691,7 +98691,7 @@ var UK = { exports: {} };
98691
98691
  return qt === me || qt != qt && me != me;
98692
98692
  }
98693
98693
  (C5 && js(new C5(new ArrayBuffer(1))) != Sr || l2 && js(new l2()) != Ke || O5 && js(O5.resolve()) != fr || P5 && js(new P5()) != or || k5 && js(new k5()) != xr) && (js = function(qt) {
98694
- var me = a3(qt), Ye = me == Nn ? qt.constructor : void 0, On = Ye ? va(Ye) : "";
98694
+ var me = a3(qt), Ye = me == Bn ? qt.constructor : void 0, On = Ye ? va(Ye) : "";
98695
98695
  if (On) switch (On) {
98696
98696
  case s3:
98697
98697
  return Sr;
@@ -98733,7 +98733,7 @@ var UK = { exports: {} };
98733
98733
  return qt(me);
98734
98734
  };
98735
98735
  }(n0) : function(qt) {
98736
- return u3(qt) && B5(qt.length) && !!Bn[a3(qt)];
98736
+ return u3(qt) && B5(qt.length) && !!Fn[a3(qt)];
98737
98737
  };
98738
98738
  function zs(qt) {
98739
98739
  return (me = qt) != null && B5(me.length) && !N5(me) ? h2(qt) : tu(qt);
@@ -102396,8 +102396,8 @@ const QA = new RDt(), DDt = "cannot be found on the map.", NDt = (e) => {
102396
102396
  }) !== void 0 : !1;
102397
102397
  },
102398
102398
  changeConnectivitySource: async function(e) {
102399
- const { featureId: t, connectivitySource: n } = e;
102400
- await this.flatmapQueries.queryForConnectivityNew(this.mapImp, t[0], n), this.tooltipEntry = this.tooltipEntry.map((r) => r.featureId[0] === t[0] ? this.flatmapQueries.updateTooltipData(r) : r), this.checkConnectivityTooltipEntry(this.tooltipEntry) && this.$emit("connectivity-info-open", this.tooltipEntry);
102399
+ const { entry: t, connectivitySource: n } = e;
102400
+ t.mapId === this.mapImp.id && (await this.flatmapQueries.queryForConnectivityNew(this.mapImp, t.featureId[0], n), this.tooltipEntry = this.tooltipEntry.map((r) => r.featureId[0] === t.featureId[0] ? this.flatmapQueries.updateTooltipData(r) : r), this.checkConnectivityTooltipEntry(this.tooltipEntry) && this.$emit("connectivity-info-open", this.tooltipEntry));
102401
102401
  },
102402
102402
  /**
102403
102403
  * @public
@@ -103055,6 +103055,14 @@ const QA = new RDt(), DDt = "cannot be found on the map.", NDt = (e) => {
103055
103055
  annotationSidebar: {
103056
103056
  type: Boolean,
103057
103057
  default: !1
103058
+ },
103059
+ /**
103060
+ * The option to show local settings UI
103061
+ * (background colour, flight path, viewing mode, etc.)
103062
+ */
103063
+ showLocalSettings: {
103064
+ type: Boolean,
103065
+ default: !0
103058
103066
  }
103059
103067
  },
103060
103068
  provide() {
@@ -103287,13 +103295,13 @@ const QA = new RDt(), DDt = "cannot be found on the map.", NDt = (e) => {
103287
103295
  }, KDt = ["onClick"], YDt = ["onClick"];
103288
103296
  function JDt(e, t, n, r, i, o) {
103289
103297
  const a = Va("map-svg-sprite-color"), s = Pj, u = c4, h = kv, p = mA, Q = Va("DrawToolbar"), m = Va("map-svg-icon"), v = gU, x = Va("tree-controls"), L = mU, H = kj, E = qz, P = Lf, I = wf, N = GA, z = Pv, $ = cU, q = uU, et = Va("Tooltip"), ot = QU, ft = TE;
103290
- return xi((Le(), Ln("div", FDt, [
103291
- on(a),
103298
+ return xi((xe(), Ln("div", FDt, [
103299
+ ln(a),
103292
103300
  yn("div", jDt, [
103293
103301
  yn("div", zDt, null, 512),
103294
103302
  xi(yn("div", UDt, [
103295
103303
  yn("div", null, [
103296
- on(h, {
103304
+ ln(h, {
103297
103305
  placement: "right",
103298
103306
  "popper-class": "warning-popper flatmap-popper",
103299
103307
  teleported: !1,
@@ -103306,27 +103314,27 @@ function JDt(e, t, n, r, i, o) {
103306
103314
  onMouseover: t[7] || (t[7] = (ht) => o.showTooltip(7)),
103307
103315
  onMouseout: t[8] || (t[8] = (ht) => o.hideTooltip(7))
103308
103316
  }, [
103309
- n.displayWarning || n.isLegacy ? (Le(), Fn(u, { key: 0 }, {
103317
+ n.displayWarning || n.isLegacy ? (xe(), Nn(u, { key: 0 }, {
103310
103318
  default: Pe(() => [
103311
- on(s)
103319
+ ln(s)
103312
103320
  ]),
103313
103321
  _: 1
103314
103322
  })) : Un("", !0),
103315
- n.isLegacy ? (Le(), Ln(R1, { key: 1 }, [
103323
+ n.isLegacy ? (xe(), Ln(R1, { key: 1 }, [
103316
103324
  t[33] || (t[33] = yn("span", { class: "warning-text" }, "Legacy Map", -1)),
103317
103325
  yn("div", {
103318
103326
  class: "latest-map-text",
103319
103327
  onClick: t[6] || (t[6] = (...ht) => o.viewLatestMap && o.viewLatestMap(...ht))
103320
103328
  }, " Click here for the latest map ")
103321
- ], 64)) : n.displayWarning ? (Le(), Ln("span", GDt, "Beta")) : Un("", !0)
103329
+ ], 64)) : n.displayWarning ? (xe(), Ln("span", GDt, "Beta")) : Un("", !0)
103322
103330
  ], 32)
103323
103331
  ]),
103324
103332
  default: Pe(() => [
103325
- n.isLegacy ? (Le(), Ln("p", {
103333
+ n.isLegacy ? (xe(), Ln("p", {
103326
103334
  key: 0,
103327
103335
  onMouseover: t[0] || (t[0] = (ht) => o.showTooltip(7)),
103328
103336
  onMouseout: t[1] || (t[1] = (ht) => o.hideTooltip(7))
103329
- }, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (Le(), Ln("p", {
103337
+ }, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (xe(), Ln("p", {
103330
103338
  key: 1,
103331
103339
  onMouseover: t[2] || (t[2] = (ht) => o.showTooltip(7)),
103332
103340
  onMouseout: t[3] || (t[3] = (ht) => o.hideTooltip(7))
@@ -103342,7 +103350,7 @@ function JDt(e, t, n, r, i, o) {
103342
103350
  target: "_blank"
103343
103351
  }, " SCKAN ", -1),
103344
103352
  Vr(". ")
103345
- ]), 32)) : (Le(), Ln("p", {
103353
+ ]), 32)) : (xe(), Ln("p", {
103346
103354
  key: 2,
103347
103355
  onMouseover: t[4] || (t[4] = (ht) => o.showTooltip(7)),
103348
103356
  onMouseout: t[5] || (t[5] = (ht) => o.hideTooltip(7))
@@ -103363,7 +103371,7 @@ function JDt(e, t, n, r, i, o) {
103363
103371
  _: 1
103364
103372
  }, 8, ["visible"])
103365
103373
  ]),
103366
- n.displayLatestChanges ? (Le(), Fn(h, {
103374
+ n.displayLatestChanges ? (xe(), Nn(h, {
103367
103375
  key: 0,
103368
103376
  placement: "right",
103369
103377
  teleported: !1,
@@ -103373,15 +103381,15 @@ function JDt(e, t, n, r, i, o) {
103373
103381
  ref: "whatsNewPopover"
103374
103382
  }, {
103375
103383
  reference: Pe(() => [
103376
- n.displayLatestChanges ? (Le(), Ln("div", {
103384
+ n.displayLatestChanges ? (xe(), Ln("div", {
103377
103385
  key: 0,
103378
103386
  class: "latest-changesicon",
103379
103387
  onMouseover: t[9] || (t[9] = (ht) => o.showTooltip(8)),
103380
103388
  onMouseout: t[10] || (t[10] = (ht) => o.hideTooltip(8))
103381
103389
  }, [
103382
- on(u, null, {
103390
+ ln(u, null, {
103383
103391
  default: Pe(() => [
103384
- on(s)
103392
+ ln(s)
103385
103393
  ]),
103386
103394
  _: 1
103387
103395
  }),
@@ -103399,19 +103407,19 @@ function JDt(e, t, n, r, i, o) {
103399
103407
  ], 512), [
103400
103408
  [As, !n.disableUI]
103401
103409
  ]),
103402
- xi(on(u, {
103410
+ xi(ln(u, {
103403
103411
  class: rn(["minimap-resize", { enlarge: e.minimapSmall, shrink: !e.minimapSmall }]),
103404
103412
  ref: "minimapResize",
103405
103413
  onClick: o.closeMinimap
103406
103414
  }, {
103407
103415
  default: Pe(() => [
103408
- on(p)
103416
+ ln(p)
103409
103417
  ]),
103410
103418
  _: 1
103411
103419
  }, 8, ["class", "onClick"]), [
103412
103420
  [As, e.minimapResizeShow]
103413
103421
  ]),
103414
- e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !n.disableUI ? (Le(), Fn(Q, {
103422
+ e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !n.disableUI ? (xe(), Nn(Q, {
103415
103423
  key: 0,
103416
103424
  mapCanvas: {
103417
103425
  containerHTML: this.$el,
@@ -103432,7 +103440,7 @@ function JDt(e, t, n, r, i, o) {
103432
103440
  ref: "toolbarPopover"
103433
103441
  }, null, 8, ["mapCanvas", "toolbarOptions", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) : Un("", !0),
103434
103442
  xi(yn("div", $Dt, [
103435
- on(h, {
103443
+ ln(h, {
103436
103444
  content: "Zoom in",
103437
103445
  placement: "left",
103438
103446
  teleported: !1,
@@ -103449,7 +103457,7 @@ function JDt(e, t, n, r, i, o) {
103449
103457
  onMouseover: t[12] || (t[12] = (ht) => o.showTooltip(1)),
103450
103458
  onMouseout: t[13] || (t[13] = (ht) => o.hideTooltip(1))
103451
103459
  }, [
103452
- on(m, {
103460
+ ln(m, {
103453
103461
  class: "icon-button zoomIn",
103454
103462
  icon: "zoomIn"
103455
103463
  })
@@ -103457,7 +103465,7 @@ function JDt(e, t, n, r, i, o) {
103457
103465
  ]),
103458
103466
  _: 1
103459
103467
  }, 8, ["visible"]),
103460
- on(h, {
103468
+ ln(h, {
103461
103469
  content: "Zoom out",
103462
103470
  placement: "top-end",
103463
103471
  teleported: !1,
@@ -103474,7 +103482,7 @@ function JDt(e, t, n, r, i, o) {
103474
103482
  onMouseover: t[15] || (t[15] = (ht) => o.showTooltip(2)),
103475
103483
  onMouseout: t[16] || (t[16] = (ht) => o.hideTooltip(2))
103476
103484
  }, [
103477
- on(m, {
103485
+ ln(m, {
103478
103486
  class: "icon-button zoomOut",
103479
103487
  icon: "zoomOut"
103480
103488
  })
@@ -103482,7 +103490,7 @@ function JDt(e, t, n, r, i, o) {
103482
103490
  ]),
103483
103491
  _: 1
103484
103492
  }, 8, ["visible"]),
103485
- on(h, {
103493
+ ln(h, {
103486
103494
  content: "Reset",
103487
103495
  placement: "top",
103488
103496
  teleported: !1,
@@ -103499,7 +103507,7 @@ function JDt(e, t, n, r, i, o) {
103499
103507
  onMouseover: t[18] || (t[18] = (ht) => o.showTooltip(3)),
103500
103508
  onMouseout: t[19] || (t[19] = (ht) => o.hideTooltip(3))
103501
103509
  }, [
103502
- on(m, {
103510
+ ln(m, {
103503
103511
  class: "icon-button fitWindow",
103504
103512
  icon: "fitWindow"
103505
103513
  })
@@ -103517,7 +103525,7 @@ function JDt(e, t, n, r, i, o) {
103517
103525
  ], 512), [
103518
103526
  [As, !n.disableUI]
103519
103527
  ]),
103520
- on(h, {
103528
+ ln(h, {
103521
103529
  content: "Change pathway visibility",
103522
103530
  placement: "right",
103523
103531
  teleported: !1,
@@ -103531,15 +103539,15 @@ function JDt(e, t, n, r, i, o) {
103531
103539
  xi(yn("div", {
103532
103540
  class: rn(["pathway-location", { open: e.drawerOpen, close: !e.drawerOpen }])
103533
103541
  }, [
103534
- xi((Le(), Ln("div", {
103542
+ xi((xe(), Ln("div", {
103535
103543
  class: rn(["pathway-container", { open: e.drawerOpen, close: !e.drawerOpen }]),
103536
103544
  style: Uo({ "max-height": e.pathwaysMaxHeight + "px" })
103537
103545
  }, [
103538
- e.isFC ? Un("", !0) : (Le(), Fn(v, {
103546
+ e.isFC ? Un("", !0) : (xe(), Nn(v, {
103539
103547
  key: 0,
103540
103548
  class: "svg-legends-container"
103541
103549
  })),
103542
- n.showStarInLegend ? (Le(), Fn(h, {
103550
+ n.showStarInLegend ? (xe(), Nn(h, {
103543
103551
  key: 1,
103544
103552
  content: "Location of the featured dataset",
103545
103553
  placement: "right",
@@ -103563,7 +103571,7 @@ function JDt(e, t, n, r, i, o) {
103563
103571
  ]),
103564
103572
  _: 1
103565
103573
  }, 8, ["visible"])) : Un("", !0),
103566
- on(h, {
103574
+ ln(h, {
103567
103575
  content: "Find these markers for data. The number inside the markers is the number of datasets available for each marker.",
103568
103576
  placement: "right",
103569
103577
  teleported: !1,
@@ -103584,7 +103592,7 @@ function JDt(e, t, n, r, i, o) {
103584
103592
  ]),
103585
103593
  _: 1
103586
103594
  }, 8, ["visible"]),
103587
- e.isFC && e.systems && e.systems.length > 0 ? (Le(), Fn(x, {
103595
+ e.isFC && e.systems && e.systems.length > 0 ? (xe(), Nn(x, {
103588
103596
  key: 2,
103589
103597
  class: "treeControls",
103590
103598
  mapType: "flatmap",
@@ -103597,7 +103605,7 @@ function JDt(e, t, n, r, i, o) {
103597
103605
  onChangeActive: o.ftuSelected,
103598
103606
  ref: "treeControls"
103599
103607
  }, null, 8, ["treeData", "active", "hover", "onCheckChanged", "onCheckAll", "onChangeActive"])) : Un("", !0),
103600
- e.containsAlert && e.alertOptions ? (Le(), Fn(L, {
103608
+ e.containsAlert && e.alertOptions ? (xe(), Nn(L, {
103601
103609
  title: "Alert",
103602
103610
  labelKey: "label",
103603
103611
  identifierKey: "key",
@@ -103609,7 +103617,7 @@ function JDt(e, t, n, r, i, o) {
103609
103617
  ref: "alertSelection",
103610
103618
  key: "alertSelection"
103611
103619
  }, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : Un("", !0),
103612
- e.pathways && e.pathways.length > 0 ? (Le(), Fn(L, {
103620
+ e.pathways && e.pathways.length > 0 ? (xe(), Nn(L, {
103613
103621
  title: "Pathways",
103614
103622
  labelKey: "label",
103615
103623
  identifierKey: "type",
@@ -103621,7 +103629,7 @@ function JDt(e, t, n, r, i, o) {
103621
103629
  ref: "pathwaysSelection",
103622
103630
  key: "pathwaysSelection"
103623
103631
  }, null, 8, ["selections", "onChanged", "onSelectionsDataChanged", "onCheckAll"])) : Un("", !0),
103624
- e.taxonConnectivity && e.taxonConnectivity.length > 0 ? (Le(), Fn(L, {
103632
+ e.taxonConnectivity && e.taxonConnectivity.length > 0 ? (xe(), Nn(L, {
103625
103633
  title: "Studied in",
103626
103634
  labelKey: "label",
103627
103635
  identifierKey: "taxon",
@@ -103641,9 +103649,9 @@ function JDt(e, t, n, r, i, o) {
103641
103649
  onClick: t[22] || (t[22] = (...ht) => o.toggleDrawer && o.toggleDrawer(...ht)),
103642
103650
  class: rn(["drawer-button", { open: e.drawerOpen, close: !e.drawerOpen }])
103643
103651
  }, [
103644
- on(u, null, {
103652
+ ln(u, null, {
103645
103653
  default: Pe(() => [
103646
- on(H)
103654
+ ln(H)
103647
103655
  ]),
103648
103656
  _: 1
103649
103657
  })
@@ -103654,7 +103662,7 @@ function JDt(e, t, n, r, i, o) {
103654
103662
  ]),
103655
103663
  _: 1
103656
103664
  }, 8, ["visible"]),
103657
- e.openMapRef ? (Le(), Fn(h, {
103665
+ e.openMapRef ? (xe(), Nn(h, {
103658
103666
  key: 1,
103659
103667
  ref: "open-map-popover",
103660
103668
  "virtual-ref": e.openMapRef,
@@ -103666,11 +103674,11 @@ function JDt(e, t, n, r, i, o) {
103666
103674
  "virtual-triggering": ""
103667
103675
  }, {
103668
103676
  default: Pe(() => [
103669
- (Le(!0), Ln(R1, null, E6(n.openMapOptions, (ht) => (Le(), Fn(P, {
103677
+ (xe(!0), Ln(R1, null, E6(n.openMapOptions, (ht) => (xe(), Nn(P, {
103670
103678
  key: ht.key
103671
103679
  }, {
103672
103680
  default: Pe(() => [
103673
- on(E, {
103681
+ ln(E, {
103674
103682
  type: "primary",
103675
103683
  plain: "",
103676
103684
  onClick: (At) => e.$emit("open-map", ht.key)
@@ -103686,7 +103694,7 @@ function JDt(e, t, n, r, i, o) {
103686
103694
  ]),
103687
103695
  _: 1
103688
103696
  }, 8, ["virtual-ref"])) : Un("", !0),
103689
- on(h, {
103697
+ ln(h, {
103690
103698
  ref: "backgroundPopover",
103691
103699
  "virtual-ref": e.backgroundIconRef,
103692
103700
  placement: "top-start",
@@ -103698,32 +103706,32 @@ function JDt(e, t, n, r, i, o) {
103698
103706
  }, {
103699
103707
  default: Pe(() => [
103700
103708
  yn("div", null, [
103701
- on(P, { class: "backgroundText" }, {
103709
+ ln(P, { class: "backgroundText" }, {
103702
103710
  default: Pe(() => t[37] || (t[37] = [
103703
103711
  Vr("Viewing Mode")
103704
103712
  ])),
103705
103713
  _: 1
103706
103714
  }),
103707
- on(P, { class: "backgroundControl" }, {
103715
+ ln(P, { class: "backgroundControl" }, {
103708
103716
  default: Pe(() => [
103709
103717
  yn("div", qDt, [
103710
- (Le(!0), Ln(R1, null, E6(e.viewingModes, (ht, At, Zt) => (Le(), Ln(R1, { key: At }, [
103711
- At === e.viewingMode ? (Le(), Ln("span", XDt, [
103718
+ (xe(!0), Ln(R1, null, E6(e.viewingModes, (ht, At, Zt) => (xe(), Ln(R1, { key: At }, [
103719
+ At === e.viewingMode ? (xe(), Ln("span", XDt, [
103712
103720
  yn("b", null, Li(At), 1)
103713
- ])) : (Le(), Ln("span", {
103721
+ ])) : (xe(), Ln("span", {
103714
103722
  key: 1,
103715
103723
  class: "viewing-mode-unselected",
103716
103724
  onClick: (ce) => o.changeViewingMode(At)
103717
103725
  }, Li(At), 9, KDt))
103718
103726
  ], 64))), 128))
103719
103727
  ]),
103720
- on(P, { class: "viewing-mode-description" }, {
103728
+ ln(P, { class: "viewing-mode-description" }, {
103721
103729
  default: Pe(() => [
103722
103730
  Vr(Li(o.modeDescription), 1)
103723
103731
  ]),
103724
103732
  _: 1
103725
103733
  }),
103726
- e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (Le(), Fn(P, {
103734
+ e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (xe(), Nn(P, {
103727
103735
  key: 0,
103728
103736
  class: "viewing-mode-description"
103729
103737
  }, {
@@ -103735,16 +103743,16 @@ function JDt(e, t, n, r, i, o) {
103735
103743
  ]),
103736
103744
  _: 1
103737
103745
  }),
103738
- e.viewingMode === "Annotation" && e.authorisedUser ? (Le(), Ln(R1, { key: 0 }, [
103739
- on(P, { class: "backgroundText" }, {
103746
+ e.viewingMode === "Annotation" && e.authorisedUser ? (xe(), Ln(R1, { key: 0 }, [
103747
+ ln(P, { class: "backgroundText" }, {
103740
103748
  default: Pe(() => t[39] || (t[39] = [
103741
103749
  Vr("Annotations From")
103742
103750
  ])),
103743
103751
  _: 1
103744
103752
  }),
103745
- on(P, { class: "backgroundControl" }, {
103753
+ ln(P, { class: "backgroundControl" }, {
103746
103754
  default: Pe(() => [
103747
- on(z, {
103755
+ ln(z, {
103748
103756
  teleported: !1,
103749
103757
  modelValue: e.annotationFrom,
103750
103758
  "onUpdate:modelValue": t[23] || (t[23] = (ht) => e.annotationFrom = ht),
@@ -103754,15 +103762,15 @@ function JDt(e, t, n, r, i, o) {
103754
103762
  onChange: o.setAnnotationFrom
103755
103763
  }, {
103756
103764
  default: Pe(() => [
103757
- (Le(!0), Ln(R1, null, E6(e.annotatedSource, (ht) => (Le(), Fn(N, {
103765
+ (xe(!0), Ln(R1, null, E6(e.annotatedSource, (ht) => (xe(), Nn(N, {
103758
103766
  key: ht,
103759
103767
  label: ht,
103760
103768
  value: ht
103761
103769
  }, {
103762
103770
  default: Pe(() => [
103763
- on(P, null, {
103771
+ ln(P, null, {
103764
103772
  default: Pe(() => [
103765
- on(I, { span: 12 }, {
103773
+ ln(I, { span: 12 }, {
103766
103774
  default: Pe(() => [
103767
103775
  Vr(Li(ht), 1)
103768
103776
  ]),
@@ -103781,11 +103789,11 @@ function JDt(e, t, n, r, i, o) {
103781
103789
  _: 1
103782
103790
  })
103783
103791
  ], 64)) : Un("", !0),
103784
- e.displayFlightPathOption ? (Le(), Fn(P, {
103792
+ e.displayFlightPathOption ? (xe(), Nn(P, {
103785
103793
  key: 1,
103786
103794
  class: "backgroundSpacer"
103787
103795
  })) : Un("", !0),
103788
- e.displayFlightPathOption ? (Le(), Fn(P, {
103796
+ e.displayFlightPathOption ? (xe(), Nn(P, {
103789
103797
  key: 2,
103790
103798
  class: "backgroundText"
103791
103799
  }, {
@@ -103794,25 +103802,25 @@ function JDt(e, t, n, r, i, o) {
103794
103802
  ])),
103795
103803
  _: 1
103796
103804
  })) : Un("", !0),
103797
- e.displayFlightPathOption ? (Le(), Fn(P, {
103805
+ e.displayFlightPathOption ? (xe(), Nn(P, {
103798
103806
  key: 3,
103799
103807
  class: "backgroundControl"
103800
103808
  }, {
103801
103809
  default: Pe(() => [
103802
- on(q, {
103810
+ ln(q, {
103803
103811
  modelValue: e.flightPath3DRadio,
103804
103812
  "onUpdate:modelValue": t[24] || (t[24] = (ht) => e.flightPath3DRadio = ht),
103805
103813
  class: "flatmap-radio",
103806
103814
  onChange: o.setFlightPath3D
103807
103815
  }, {
103808
103816
  default: Pe(() => [
103809
- on($, { value: !1 }, {
103817
+ ln($, { value: !1 }, {
103810
103818
  default: Pe(() => t[41] || (t[41] = [
103811
103819
  Vr("2D")
103812
103820
  ])),
103813
103821
  _: 1
103814
103822
  }),
103815
- on($, { value: !0 }, {
103823
+ ln($, { value: !0 }, {
103816
103824
  default: Pe(() => t[42] || (t[42] = [
103817
103825
  Vr("3D")
103818
103826
  ])),
@@ -103824,29 +103832,29 @@ function JDt(e, t, n, r, i, o) {
103824
103832
  ]),
103825
103833
  _: 1
103826
103834
  })) : Un("", !0),
103827
- on(P, { class: "backgroundSpacer" }),
103828
- on(P, { class: "backgroundText" }, {
103835
+ ln(P, { class: "backgroundSpacer" }),
103836
+ ln(P, { class: "backgroundText" }, {
103829
103837
  default: Pe(() => t[43] || (t[43] = [
103830
103838
  Vr("Organs display")
103831
103839
  ])),
103832
103840
  _: 1
103833
103841
  }),
103834
- on(P, { class: "backgroundControl" }, {
103842
+ ln(P, { class: "backgroundControl" }, {
103835
103843
  default: Pe(() => [
103836
- on(q, {
103844
+ ln(q, {
103837
103845
  modelValue: e.colourRadio,
103838
103846
  "onUpdate:modelValue": t[25] || (t[25] = (ht) => e.colourRadio = ht),
103839
103847
  class: "flatmap-radio",
103840
103848
  onChange: o.setColour
103841
103849
  }, {
103842
103850
  default: Pe(() => [
103843
- on($, { value: !0 }, {
103851
+ ln($, { value: !0 }, {
103844
103852
  default: Pe(() => t[44] || (t[44] = [
103845
103853
  Vr("Colour")
103846
103854
  ])),
103847
103855
  _: 1
103848
103856
  }),
103849
- on($, { value: !1 }, {
103857
+ ln($, { value: !1 }, {
103850
103858
  default: Pe(() => t[45] || (t[45] = [
103851
103859
  Vr("Greyscale")
103852
103860
  ])),
@@ -103858,29 +103866,29 @@ function JDt(e, t, n, r, i, o) {
103858
103866
  ]),
103859
103867
  _: 1
103860
103868
  }),
103861
- on(P, { class: "backgroundSpacer" }),
103862
- on(P, { class: "backgroundText" }, {
103869
+ ln(P, { class: "backgroundSpacer" }),
103870
+ ln(P, { class: "backgroundText" }, {
103863
103871
  default: Pe(() => t[46] || (t[46] = [
103864
103872
  Vr("Outlines display")
103865
103873
  ])),
103866
103874
  _: 1
103867
103875
  }),
103868
- on(P, { class: "backgroundControl" }, {
103876
+ ln(P, { class: "backgroundControl" }, {
103869
103877
  default: Pe(() => [
103870
- on(q, {
103878
+ ln(q, {
103871
103879
  modelValue: e.outlinesRadio,
103872
103880
  "onUpdate:modelValue": t[26] || (t[26] = (ht) => e.outlinesRadio = ht),
103873
103881
  class: "flatmap-radio",
103874
103882
  onChange: o.setOutlines
103875
103883
  }, {
103876
103884
  default: Pe(() => [
103877
- on($, { value: !0 }, {
103885
+ ln($, { value: !0 }, {
103878
103886
  default: Pe(() => t[47] || (t[47] = [
103879
103887
  Vr("Show")
103880
103888
  ])),
103881
103889
  _: 1
103882
103890
  }),
103883
- on($, { value: !1 }, {
103891
+ ln($, { value: !1 }, {
103884
103892
  default: Pe(() => t[48] || (t[48] = [
103885
103893
  Vr("Hide")
103886
103894
  ])),
@@ -103892,16 +103900,16 @@ function JDt(e, t, n, r, i, o) {
103892
103900
  ]),
103893
103901
  _: 1
103894
103902
  }),
103895
- on(P, { class: "backgroundSpacer" }),
103896
- on(P, { class: "backgroundText" }, {
103903
+ ln(P, { class: "backgroundSpacer" }),
103904
+ ln(P, { class: "backgroundText" }, {
103897
103905
  default: Pe(() => t[49] || (t[49] = [
103898
103906
  Vr("Change background")
103899
103907
  ])),
103900
103908
  _: 1
103901
103909
  }),
103902
- on(P, { class: "backgroundControl" }, {
103910
+ ln(P, { class: "backgroundControl" }, {
103903
103911
  default: Pe(() => [
103904
- (Le(!0), Ln(R1, null, E6(e.availableBackground, (ht) => (Le(), Ln("div", {
103912
+ (xe(!0), Ln(R1, null, E6(e.availableBackground, (ht) => (xe(), Ln("div", {
103905
103913
  key: ht,
103906
103914
  class: rn([
103907
103915
  "backgroundChoice",
@@ -103920,9 +103928,9 @@ function JDt(e, t, n, r, i, o) {
103920
103928
  xi(yn("div", {
103921
103929
  class: rn(["settings-group", { open: e.drawerOpen, close: !e.drawerOpen }])
103922
103930
  }, [
103923
- on(P, null, {
103931
+ ln(P, null, {
103924
103932
  default: Pe(() => [
103925
- on(h, {
103933
+ ln(h, {
103926
103934
  visible: e.hoverVisibilities[4].value,
103927
103935
  content: "Open new map",
103928
103936
  placement: "right",
@@ -103931,14 +103939,14 @@ function JDt(e, t, n, r, i, o) {
103931
103939
  ref: "openMapPopover"
103932
103940
  }, {
103933
103941
  reference: Pe(() => [
103934
- n.enableOpenMapUI && n.openMapOptions.length > 0 ? (Le(), Ln("div", {
103942
+ n.enableOpenMapUI && n.openMapOptions.length > 0 ? (xe(), Ln("div", {
103935
103943
  key: 0,
103936
103944
  ref: "openMapRef",
103937
103945
  class: "icon-button-container",
103938
103946
  onMouseover: t[27] || (t[27] = (ht) => o.showTooltip(4)),
103939
103947
  onMouseout: t[28] || (t[28] = (ht) => o.hideTooltip(4))
103940
103948
  }, [
103941
- on(m, {
103949
+ ln(m, {
103942
103950
  icon: "openMap",
103943
103951
  class: "icon-button open-map-button"
103944
103952
  })
@@ -103949,9 +103957,9 @@ function JDt(e, t, n, r, i, o) {
103949
103957
  ]),
103950
103958
  _: 1
103951
103959
  }),
103952
- on(P, null, {
103960
+ n.showLocalSettings ? (xe(), Nn(P, { key: 0 }, {
103953
103961
  default: Pe(() => [
103954
- on(h, {
103962
+ ln(h, {
103955
103963
  content: "Change settings",
103956
103964
  placement: "right",
103957
103965
  visible: e.hoverVisibilities[5].value,
@@ -103967,7 +103975,7 @@ function JDt(e, t, n, r, i, o) {
103967
103975
  onMouseover: t[29] || (t[29] = (ht) => o.showTooltip(5)),
103968
103976
  onMouseout: t[30] || (t[30] = (ht) => o.hideTooltip(5))
103969
103977
  }, [
103970
- on(m, {
103978
+ ln(m, {
103971
103979
  icon: "changeBckgd",
103972
103980
  class: "icon-button"
103973
103981
  })
@@ -103977,11 +103985,11 @@ function JDt(e, t, n, r, i, o) {
103977
103985
  }, 8, ["visible"])
103978
103986
  ]),
103979
103987
  _: 1
103980
- })
103988
+ })) : Un("", !0)
103981
103989
  ], 2), [
103982
103990
  [As, !n.disableUI]
103983
103991
  ]),
103984
- e.tooltipDisplay ? (Le(), Fn(et, {
103992
+ e.tooltipDisplay ? (xe(), Nn(et, {
103985
103993
  key: 2,
103986
103994
  ref: "tooltip",
103987
103995
  class: "tooltip",
@@ -103996,7 +104004,7 @@ function JDt(e, t, n, r, i, o) {
103996
104004
  [ft, e.loading]
103997
104005
  ]);
103998
104006
  }
103999
- const rY = /* @__PURE__ */ Iv(BDt, [["render", JDt], ["__scopeId", "data-v-4cb45d83"]]), Aj = {
104007
+ const rY = /* @__PURE__ */ Iv(BDt, [["render", JDt], ["__scopeId", "data-v-cdf48189"]]), Aj = {
104000
104008
  "NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
104001
104009
  "NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
104002
104010
  "NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
@@ -104514,6 +104522,14 @@ const rY = /* @__PURE__ */ Iv(BDt, [["render", JDt], ["__scopeId", "data-v-4cb45
104514
104522
  annotationSidebar: {
104515
104523
  type: Boolean,
104516
104524
  default: !1
104525
+ },
104526
+ /**
104527
+ * The option to show local settings UI
104528
+ * (background colour, flight path, viewing mode, etc.)
104529
+ */
104530
+ showLocalSettings: {
104531
+ type: Boolean,
104532
+ default: !0
104517
104533
  }
104518
104534
  },
104519
104535
  data: function() {
@@ -104544,10 +104560,10 @@ const rY = /* @__PURE__ */ Iv(BDt, [["render", JDt], ["__scopeId", "data-v-4cb45
104544
104560
  }, rNt = { class: "select-box-icon" };
104545
104561
  function iNt(e, t, n, r, i, o) {
104546
104562
  const a = GA, s = Pv, u = kv, h = rY;
104547
- return Le(), Ln("div", eNt, [
104548
- n.disableUI ? Un("", !0) : (Le(), Ln("div", nNt, [
104563
+ return xe(), Ln("div", eNt, [
104564
+ n.disableUI ? Un("", !0) : (xe(), Ln("div", nNt, [
104549
104565
  t[2] || (t[2] = yn("div", { class: "species-display-text" }, "Species", -1)),
104550
- on(u, {
104566
+ ln(u, {
104551
104567
  content: "Select a species",
104552
104568
  placement: "right",
104553
104569
  trigger: "manual",
@@ -104558,7 +104574,7 @@ function iNt(e, t, n, r, i, o) {
104558
104574
  ref: "selectPopover"
104559
104575
  }, {
104560
104576
  reference: Pe(() => [
104561
- on(s, {
104577
+ ln(s, {
104562
104578
  id: "flatmap-select",
104563
104579
  teleported: !1,
104564
104580
  modelValue: e.activeSpecies,
@@ -104569,7 +104585,7 @@ function iNt(e, t, n, r, i, o) {
104569
104585
  onChange: o.setSpecies
104570
104586
  }, {
104571
104587
  default: Pe(() => [
104572
- (Le(!0), Ln(R1, null, E6(e.speciesList, (p, Q) => (Le(), Fn(a, {
104588
+ (xe(!0), Ln(R1, null, E6(e.speciesList, (p, Q) => (xe(), Nn(a, {
104573
104589
  key: Q,
104574
104590
  label: Q,
104575
104591
  value: Q
@@ -104591,7 +104607,7 @@ function iNt(e, t, n, r, i, o) {
104591
104607
  _: 1
104592
104608
  }, 8, ["visible"])
104593
104609
  ])),
104594
- (Le(!0), Ln(R1, null, E6(e.speciesList, (p, Q) => xi((Le(), Fn(h, {
104610
+ (xe(!0), Ln(R1, null, E6(e.speciesList, (p, Q) => xi((xe(), Nn(h, {
104595
104611
  key: Q,
104596
104612
  entry: p.taxo,
104597
104613
  uuid: p.uuid,
@@ -104631,13 +104647,14 @@ function iNt(e, t, n, r, i, o) {
104631
104647
  style: { height: "100%" },
104632
104648
  mapManager: e.mapManagerRef,
104633
104649
  flatmapAPI: n.flatmapAPI,
104634
- sparcAPI: n.sparcAPI
104635
- }, null, 8, ["entry", "uuid", "biologicalSex", "displayWarning", "displayLatestChanges", "isLegacy", "enableOpenMapUI", "openMapOptions", "disableUI", "onViewLatestMap", "onResourceSelected", "onReady", "onPanZoomCallback", "annotationSidebar", "onAnnotationOpen", "onAnnotationClose", "connectivityInfoSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onConnectivityError", "onPathwaySelectionChanged", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "renderAtMounted", "displayMinimap", "showStarInLegend", "mapManager", "flatmapAPI", "sparcAPI"])), [
104650
+ sparcAPI: n.sparcAPI,
104651
+ showLocalSettings: n.showLocalSettings
104652
+ }, null, 8, ["entry", "uuid", "biologicalSex", "displayWarning", "displayLatestChanges", "isLegacy", "enableOpenMapUI", "openMapOptions", "disableUI", "onViewLatestMap", "onResourceSelected", "onReady", "onPanZoomCallback", "annotationSidebar", "onAnnotationOpen", "onAnnotationClose", "connectivityInfoSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onConnectivityError", "onPathwaySelectionChanged", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "renderAtMounted", "displayMinimap", "showStarInLegend", "mapManager", "flatmapAPI", "sparcAPI", "showLocalSettings"])), [
104636
104653
  [As, e.activeSpecies == Q]
104637
104654
  ])), 128))
104638
104655
  ], 512);
104639
104656
  }
104640
- const hNt = /* @__PURE__ */ Iv(tNt, [["render", iNt], ["__scopeId", "data-v-b10fbcd1"]]);
104657
+ const hNt = /* @__PURE__ */ Iv(tNt, [["render", iNt], ["__scopeId", "data-v-23abd990"]]);
104641
104658
  export {
104642
104659
  rY as FlatmapVuer,
104643
104660
  hNt as MultiFlatmapVuer