@abi-software/flatmapvuer 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +240 -214
- package/dist/flatmapvuer.umd.cjs +24 -24
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/FlatmapVuer.vue +13 -1
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as Zj, onScopeDispose as XM, unref as vt, getCurrentInstance as
|
|
1
|
+
import { getCurrentScope as Zj, onScopeDispose as XM, unref as vt, getCurrentInstance as $1, onMounted as Z1, nextTick as i1, ref as ke, readonly as qj, watch as on, defineComponent as mr, openBlock as ce, createElementBlock as tr, createElementVNode as Ue, warn as Tet, watchEffect as Xj, onBeforeUnmount as Vs, inject as ln, computed as Kt, isRef as g2, shallowRef as IQ, onBeforeMount as fet, provide as W1, mergeProps as rl, renderSlot as Vr, toRef as K2, onUnmounted as Qet, createBlock as Hr, Transition as cd, withCtx as ge, withDirectives as gi, normalizeClass as Fe, normalizeStyle as M1, vShow as d2, Fragment as Eo, createVNode as je, reactive as c3, onActivated as met, onUpdated as get, resolveDynamicComponent as Ms, createCommentVNode as Pr, cloneVNode as yet, Text as Kj, Comment as vet, Teleport as _et, onDeactivated as bet, toDisplayString as yi, useSlots as pg, toRaw as kh, withModifiers as m1, vModelCheckbox as PQ, createTextVNode as An, toRefs as s0, vModelRadio as Yj, h as b7, createSlots as Jj, resolveComponent as ws, resolveDirective as Let, toHandlerKey as wet, renderList as T4, withKeys as au, vModelText as xet, createApp as Eet, pushScopeId as KM, popScopeId as YM, createStaticVNode as Met, hasInjectionContext as Het, markRaw as xo, effectScope as Aet, isReactive as JM } from "vue";
|
|
2
2
|
import { MapSvgIcon as Oet, MapSvgSpriteColor as Cet } from "@abi-software/svg-sprite";
|
|
3
3
|
import { Tooltip as ket, TreeControls as Iet, DrawToolbar as Pet } from "@abi-software/map-utilities";
|
|
4
4
|
const o4 = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (i) => {
|
|
@@ -19,7 +19,7 @@ function ud(t) {
|
|
|
19
19
|
return Zj() ? (XM(t), !0) : !1;
|
|
20
20
|
}
|
|
21
21
|
function Net(t, e = !0) {
|
|
22
|
-
|
|
22
|
+
$1() ? Z1(t) : e ? t() : i1(t);
|
|
23
23
|
}
|
|
24
24
|
function hk(t, e, r = {}) {
|
|
25
25
|
const {
|
|
@@ -1117,7 +1117,7 @@ function Z1t(t, e) {
|
|
|
1117
1117
|
var yz = Cit(function(t, e) {
|
|
1118
1118
|
return t == null ? {} : Z1t(t, e);
|
|
1119
1119
|
});
|
|
1120
|
-
const q6 = (t) => t === void 0, S4 = (t) => typeof t == "boolean",
|
|
1120
|
+
const q6 = (t) => t === void 0, S4 = (t) => typeof t == "boolean", ro = (t) => typeof t == "number", k5 = (t) => typeof Element > "u" ? !1 : t instanceof Element, Vh = (t) => vg(t), q1t = (t) => oa(t) ? !Number.isNaN(Number(t)) : !1, X1t = (t = "") => t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), $k = (t) => Object.keys(t);
|
|
1121
1121
|
class vz extends Error {
|
|
1122
1122
|
constructor(e) {
|
|
1123
1123
|
super(e), this.name = "ElementPlusError";
|
|
@@ -1161,7 +1161,7 @@ const K1t = "utils/dom/style", bz = (t = "") => t.split(" ").filter((e) => !!e.t
|
|
|
1161
1161
|
function z5(t, e = "px") {
|
|
1162
1162
|
if (!t)
|
|
1163
1163
|
return "";
|
|
1164
|
-
if (
|
|
1164
|
+
if (ro(t) || q1t(t))
|
|
1165
1165
|
return `${t}${e}`;
|
|
1166
1166
|
if (oa(t))
|
|
1167
1167
|
return t;
|
|
@@ -1415,7 +1415,7 @@ For more detail, please visit: ${i}
|
|
|
1415
1415
|
offsetY: 0
|
|
1416
1416
|
}, t.value && (t.value.style.transform = "none");
|
|
1417
1417
|
};
|
|
1418
|
-
return
|
|
1418
|
+
return Z1(() => {
|
|
1419
1419
|
Xj(() => {
|
|
1420
1420
|
r.value ? s() : a();
|
|
1421
1421
|
});
|
|
@@ -1621,7 +1621,7 @@ const mot = (t) => (e, r) => got(e, r, vt(t)), got = (t, e, r) => p4(r, t, t).re
|
|
|
1621
1621
|
let o = `${t}-${e}`;
|
|
1622
1622
|
return r && (o += `-${r}`), n && (o += `__${n}`), i && (o += `--${i}`), o;
|
|
1623
1623
|
}, Oz = Symbol("namespaceContextKey"), hS = (t) => {
|
|
1624
|
-
const e = t || (
|
|
1624
|
+
const e = t || ($1() ? ln(Oz, ke(eh)) : ke(eh));
|
|
1625
1625
|
return Kt(() => vt(e) || eh);
|
|
1626
1626
|
}, Bn = (t, e) => {
|
|
1627
1627
|
const r = hS(e);
|
|
@@ -1692,7 +1692,7 @@ const mot = (t) => (e, r) => got(e, r, vt(t)), got = (t, e, r) => p4(r, t, t).re
|
|
|
1692
1692
|
onShow: T,
|
|
1693
1693
|
onHide: f
|
|
1694
1694
|
}) => {
|
|
1695
|
-
const Q =
|
|
1695
|
+
const Q = $1(), { emit: y } = Q, _ = Q.props, L = Kt(() => Wo(_[r])), E = Kt(() => _[t] === null), x = ($) => {
|
|
1696
1696
|
s.value !== !0 && (s.value = !0, a && (a.value = $), Wo(T) && T($));
|
|
1697
1697
|
}, O = ($) => {
|
|
1698
1698
|
s.value !== !1 && (s.value = !1, a && (a.value = $), Wo(f) && f($));
|
|
@@ -1715,7 +1715,7 @@ const mot = (t) => (e, r) => got(e, r, vt(t)), got = (t, e, r) => p4(r, t, t).re
|
|
|
1715
1715
|
...Q.proxy.$route
|
|
1716
1716
|
}), () => {
|
|
1717
1717
|
u.value && s.value && R();
|
|
1718
|
-
}),
|
|
1718
|
+
}), Z1(() => {
|
|
1719
1719
|
F(_[t]);
|
|
1720
1720
|
}), {
|
|
1721
1721
|
hide: R,
|
|
@@ -1728,7 +1728,7 @@ const mot = (t) => (e, r) => got(e, r, vt(t)), got = (t, e, r) => p4(r, t, t).re
|
|
|
1728
1728
|
useModelToggleEmits: n
|
|
1729
1729
|
};
|
|
1730
1730
|
}, Cz = (t) => {
|
|
1731
|
-
const e =
|
|
1731
|
+
const e = $1();
|
|
1732
1732
|
return Kt(() => {
|
|
1733
1733
|
var r, n;
|
|
1734
1734
|
return (n = (r = e == null ? void 0 : e.proxy) == null ? void 0 : r.$props) == null ? void 0 : n[t];
|
|
@@ -2366,7 +2366,7 @@ function nI() {
|
|
|
2366
2366
|
const Qx = {
|
|
2367
2367
|
prefix: Math.floor(Math.random() * 1e4),
|
|
2368
2368
|
current: 0
|
|
2369
|
-
}, H2t = Symbol("elIdInjection"), Gz = () =>
|
|
2369
|
+
}, H2t = Symbol("elIdInjection"), Gz = () => $1() ? ln(H2t, Qx) : Qx, U5 = (t) => {
|
|
2370
2370
|
const e = Gz();
|
|
2371
2371
|
!s1 && e === Qx && y2("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2372
2372
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
@@ -2381,7 +2381,7 @@ const iI = (t) => {
|
|
|
2381
2381
|
const e = t;
|
|
2382
2382
|
e.key === Nh.esc && w7.forEach((r) => r(e));
|
|
2383
2383
|
}, A2t = (t) => {
|
|
2384
|
-
|
|
2384
|
+
Z1(() => {
|
|
2385
2385
|
w7.length === 0 && document.addEventListener("keydown", iI), s1 && w7.push(t);
|
|
2386
2386
|
}), Vs(() => {
|
|
2387
2387
|
w7 = w7.filter((e) => e !== t), w7.length === 0 && s1 && document.removeEventListener("keydown", iI);
|
|
@@ -2434,7 +2434,7 @@ const $z = () => {
|
|
|
2434
2434
|
o(() => {
|
|
2435
2435
|
n(T);
|
|
2436
2436
|
const f = vt(r);
|
|
2437
|
-
|
|
2437
|
+
ro(f) && f > 0 && s(() => {
|
|
2438
2438
|
i(T);
|
|
2439
2439
|
}, f);
|
|
2440
2440
|
}, vt(t));
|
|
@@ -2446,7 +2446,7 @@ const $z = () => {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
};
|
|
2448
2448
|
}, Wz = Symbol("elForwardRef"), P2t = (t) => {
|
|
2449
|
-
|
|
2449
|
+
W1(Wz, {
|
|
2450
2450
|
setForwardRef: (r) => {
|
|
2451
2451
|
t.value = r;
|
|
2452
2452
|
}
|
|
@@ -2464,9 +2464,9 @@ const $z = () => {
|
|
|
2464
2464
|
}), sI = {
|
|
2465
2465
|
current: 0
|
|
2466
2466
|
}, aI = ke(0), Zz = 2e3, lI = Symbol("elZIndexContextKey"), qz = Symbol("zIndexContextKey"), vS = (t) => {
|
|
2467
|
-
const e =
|
|
2467
|
+
const e = $1() ? ln(lI, sI) : sI, r = t || ($1() ? ln(qz, void 0) : void 0), n = Kt(() => {
|
|
2468
2468
|
const s = vt(r);
|
|
2469
|
-
return
|
|
2469
|
+
return ro(s) ? s : Zz;
|
|
2470
2470
|
}), i = Kt(() => n.value + aI.value), o = () => (e.current++, aI.value = e.current, i.value);
|
|
2471
2471
|
return !s1 && !ln(lI) && y2("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
2472
2472
|
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
@@ -2488,7 +2488,7 @@ function N2t(t, {
|
|
|
2488
2488
|
beforeBlur: n,
|
|
2489
2489
|
afterBlur: i
|
|
2490
2490
|
} = {}) {
|
|
2491
|
-
const o =
|
|
2491
|
+
const o = $1(), { emit: s } = o, a = IQ(), u = ke(!1), d = (Q) => {
|
|
2492
2492
|
Wo(e) && e(Q) || u.value || (u.value = !0, s("focus", Q), r == null || r());
|
|
2493
2493
|
}, T = (Q) => {
|
|
2494
2494
|
var y;
|
|
@@ -2499,7 +2499,7 @@ function N2t(t, {
|
|
|
2499
2499
|
};
|
|
2500
2500
|
return on(a, (Q) => {
|
|
2501
2501
|
Q && Q.setAttribute("tabindex", "-1");
|
|
2502
|
-
}), ta(a, "focus", d, !0), ta(a, "blur", T, !0), ta(a, "click", f, !0), process.env.NODE_ENV === "test" &&
|
|
2502
|
+
}), ta(a, "focus", d, !0), ta(a, "blur", T, !0), ta(a, "click", f, !0), process.env.NODE_ENV === "test" && Z1(() => {
|
|
2503
2503
|
const Q = k5(t.value) ? t.value : document.querySelector("input,textarea");
|
|
2504
2504
|
Q && (ta(Q, "focus", d, !0), ta(Q, "blur", T, !0));
|
|
2505
2505
|
}), {
|
|
@@ -2541,7 +2541,7 @@ const Kz = Symbol("emptyValuesContextKey"), F2t = "use-empty-values", B2t = ["",
|
|
|
2541
2541
|
validator: (t) => Wo(t) ? !t() : !t
|
|
2542
2542
|
}
|
|
2543
2543
|
}), U2t = (t, e) => {
|
|
2544
|
-
const r =
|
|
2544
|
+
const r = $1() ? ln(Kz, ke({})) : ke({}), n = Kt(() => t.emptyValues || r.value.emptyValues || B2t), i = Kt(() => Wo(t.valueOnClear) ? t.valueOnClear() : t.valueOnClear !== void 0 ? t.valueOnClear : Wo(r.value.valueOnClear) ? r.value.valueOnClear() : r.value.valueOnClear !== void 0 ? r.value.valueOnClear : j2t), o = (s) => n.value.includes(s);
|
|
2545
2545
|
return n.value.includes(i.value) || y2(F2t, "value-on-clear should be a value of empty-values"), {
|
|
2546
2546
|
emptyValues: n,
|
|
2547
2547
|
valueOnClear: i,
|
|
@@ -2556,7 +2556,7 @@ const Kz = Symbol("emptyValuesContextKey"), F2t = "use-empty-values", B2t = ["",
|
|
|
2556
2556
|
ariaControls: String
|
|
2557
2557
|
}), sl = (t) => yz(G2t, t), Yz = Symbol(), FQ = ke();
|
|
2558
2558
|
function wg(t, e = void 0) {
|
|
2559
|
-
const r =
|
|
2559
|
+
const r = $1() ? ln(Yz, FQ) : FQ;
|
|
2560
2560
|
return t ? Kt(() => {
|
|
2561
2561
|
var n, i;
|
|
2562
2562
|
return (i = (n = r.value) == null ? void 0 : n[t]) != null ? i : e;
|
|
@@ -2585,7 +2585,7 @@ function $2t(t, e) {
|
|
|
2585
2585
|
}
|
|
2586
2586
|
const W2t = (t, e, r = !1) => {
|
|
2587
2587
|
var n;
|
|
2588
|
-
const i =
|
|
2588
|
+
const i = !!$1(), o = i ? wg() : void 0, s = (n = void 0) != null ? n : i ? W1 : void 0;
|
|
2589
2589
|
if (!s) {
|
|
2590
2590
|
y2("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
2591
2591
|
return;
|
|
@@ -2666,7 +2666,7 @@ const d3 = v2(Y2t), _S = Symbol("formContextKey"), BQ = Symbol("formItemContextK
|
|
|
2666
2666
|
var a;
|
|
2667
2667
|
return !!(!(t.label || t.ariaLabel) && e && e.inputIds && ((a = e.inputIds) == null ? void 0 : a.length) <= 1);
|
|
2668
2668
|
});
|
|
2669
|
-
return
|
|
2669
|
+
return Z1(() => {
|
|
2670
2670
|
o = on([K2(t, "id"), r], ([a, u]) => {
|
|
2671
2671
|
const d = a ?? (u ? void 0 : U5().value);
|
|
2672
2672
|
d !== i.value && (e != null && e.removeInputId && (i.value && e.removeInputId(i.value), !(n != null && n.value) && !u && d && e.addInputId(d)), i.value = d);
|
|
@@ -2884,7 +2884,7 @@ const ast = Mn({
|
|
|
2884
2884
|
scroll: ({
|
|
2885
2885
|
scrollTop: t,
|
|
2886
2886
|
scrollLeft: e
|
|
2887
|
-
}) => [t, e].every(
|
|
2887
|
+
}) => [t, e].every(ro)
|
|
2888
2888
|
}, mx = "ElScrollbar", cst = mr({
|
|
2889
2889
|
name: mx
|
|
2890
2890
|
}), ust = /* @__PURE__ */ mr({
|
|
@@ -2909,16 +2909,16 @@ const ast = Mn({
|
|
|
2909
2909
|
}));
|
|
2910
2910
|
};
|
|
2911
2911
|
function x(F, U) {
|
|
2912
|
-
T2(F) ? T.value.scrollTo(F) :
|
|
2912
|
+
T2(F) ? T.value.scrollTo(F) : ro(F) && ro(U) && T.value.scrollTo(F, U);
|
|
2913
2913
|
}
|
|
2914
2914
|
const O = (F) => {
|
|
2915
|
-
if (!
|
|
2915
|
+
if (!ro(F)) {
|
|
2916
2916
|
y2(mx, "value must be a number");
|
|
2917
2917
|
return;
|
|
2918
2918
|
}
|
|
2919
2919
|
T.value.scrollTop = F;
|
|
2920
2920
|
}, k = (F) => {
|
|
2921
|
-
if (!
|
|
2921
|
+
if (!ro(F)) {
|
|
2922
2922
|
y2(mx, "value must be a number");
|
|
2923
2923
|
return;
|
|
2924
2924
|
}
|
|
@@ -2934,12 +2934,12 @@ const ast = Mn({
|
|
|
2934
2934
|
var F;
|
|
2935
2935
|
R(), T.value && ((F = Q.value) == null || F.handleScroll(T.value));
|
|
2936
2936
|
});
|
|
2937
|
-
}),
|
|
2937
|
+
}), W1(bS, c3({
|
|
2938
2938
|
scrollbarElement: d,
|
|
2939
2939
|
wrapElement: T
|
|
2940
2940
|
})), met(() => {
|
|
2941
2941
|
T.value && (T.value.scrollTop = a, T.value.scrollLeft = u);
|
|
2942
|
-
}),
|
|
2942
|
+
}), Z1(() => {
|
|
2943
2943
|
n.native || i1(() => {
|
|
2944
2944
|
R();
|
|
2945
2945
|
});
|
|
@@ -3019,7 +3019,7 @@ const dst = v2(hst), LS = Symbol("popper"), Jz = Symbol("popperContent"), pst =
|
|
|
3019
3019
|
referenceRef: s,
|
|
3020
3020
|
role: a
|
|
3021
3021
|
};
|
|
3022
|
-
return e(u),
|
|
3022
|
+
return e(u), W1(LS, u), (d, T) => Vr(d.$slots, "default");
|
|
3023
3023
|
}
|
|
3024
3024
|
});
|
|
3025
3025
|
var Qst = /* @__PURE__ */ Sn(fst, [["__file", "popper.vue"]]);
|
|
@@ -3153,7 +3153,7 @@ const nU = Mn({
|
|
|
3153
3153
|
"onBlur",
|
|
3154
3154
|
"onContextmenu"
|
|
3155
3155
|
];
|
|
3156
|
-
return
|
|
3156
|
+
return Z1(() => {
|
|
3157
3157
|
on(() => r.virtualRef, (f) => {
|
|
3158
3158
|
f && (i.value = f4(f));
|
|
3159
3159
|
}, {
|
|
@@ -3274,7 +3274,7 @@ const Hst = () => {
|
|
|
3274
3274
|
wS.value = "pointer", Mg.value = window.performance.now();
|
|
3275
3275
|
}, mI = () => {
|
|
3276
3276
|
wS.value = "keyboard", Mg.value = window.performance.now();
|
|
3277
|
-
}, Cst = () => (
|
|
3277
|
+
}, Cst = () => (Z1(() => {
|
|
3278
3278
|
qp === 0 && (document.addEventListener("mousedown", Xp), document.addEventListener("touchstart", Xp), document.addEventListener("keydown", mI)), qp++;
|
|
3279
3279
|
}), Vs(() => {
|
|
3280
3280
|
qp--, qp <= 0 && (document.removeEventListener("mousedown", Xp), document.removeEventListener("touchstart", Xp), document.removeEventListener("keydown", mI));
|
|
@@ -3346,7 +3346,7 @@ const Hst = () => {
|
|
|
3346
3346
|
}
|
|
3347
3347
|
}
|
|
3348
3348
|
};
|
|
3349
|
-
|
|
3349
|
+
W1(iU, {
|
|
3350
3350
|
focusTrapRef: r,
|
|
3351
3351
|
onKeydown: a
|
|
3352
3352
|
}), on(() => t.focusTrapEl, (_) => {
|
|
@@ -3408,7 +3408,7 @@ const Hst = () => {
|
|
|
3408
3408
|
_.addEventListener(gb, d), _.dispatchEvent(L), !L.defaultPrevented && (o.value == "keyboard" || !Ost() || _.contains(document.activeElement)) && H6(n ?? document.body), _.removeEventListener(gb, d), QI.remove(s);
|
|
3409
3409
|
}
|
|
3410
3410
|
}
|
|
3411
|
-
return
|
|
3411
|
+
return Z1(() => {
|
|
3412
3412
|
t.trapped && Q(), on(() => t.trapped, (_) => {
|
|
3413
3413
|
_ ? Q() : y();
|
|
3414
3414
|
});
|
|
@@ -3580,7 +3580,7 @@ const jst = 0, zst = (t) => {
|
|
|
3580
3580
|
vt(a)
|
|
3581
3581
|
])
|
|
3582
3582
|
})), T = Kt(() => Dst(t.referenceEl) || vt(n)), { attributes: f, state: Q, styles: y, update: _, forceUpdate: L, instanceRef: E } = M2t(T, r, d);
|
|
3583
|
-
return on(E, (x) => e.value = x),
|
|
3583
|
+
return on(E, (x) => e.value = x), Z1(() => {
|
|
3584
3584
|
on(() => {
|
|
3585
3585
|
var x;
|
|
3586
3586
|
return (x = vt(T)) == null ? void 0 : x.getBoundingClientRect();
|
|
@@ -3603,7 +3603,7 @@ const jst = 0, zst = (t) => {
|
|
|
3603
3603
|
styles: r,
|
|
3604
3604
|
role: n
|
|
3605
3605
|
}) => {
|
|
3606
|
-
const { nextZIndex: i } = vS(), o = Bn("popper"), s = Kt(() => vt(e).popper), a = ke(
|
|
3606
|
+
const { nextZIndex: i } = vS(), o = Bn("popper"), s = Kt(() => vt(e).popper), a = ke(ro(t.zIndex) ? t.zIndex : i()), u = Kt(() => [
|
|
3607
3607
|
o.b(),
|
|
3608
3608
|
o.is("pure", t.pure),
|
|
3609
3609
|
o.is(t.effect),
|
|
@@ -3621,7 +3621,7 @@ const jst = 0, zst = (t) => {
|
|
|
3621
3621
|
contentStyle: d,
|
|
3622
3622
|
contentZIndex: a,
|
|
3623
3623
|
updateZIndex: () => {
|
|
3624
|
-
a.value =
|
|
3624
|
+
a.value = ro(t.zIndex) ? t.zIndex : i();
|
|
3625
3625
|
}
|
|
3626
3626
|
};
|
|
3627
3627
|
}, Gst = (t, e) => {
|
|
@@ -3673,11 +3673,11 @@ const jst = 0, zst = (t) => {
|
|
|
3673
3673
|
attributes: f,
|
|
3674
3674
|
role: E
|
|
3675
3675
|
}), et = ln(BQ, void 0), rt = ke();
|
|
3676
|
-
|
|
3676
|
+
W1(Jz, {
|
|
3677
3677
|
arrowStyle: k,
|
|
3678
3678
|
arrowRef: Q,
|
|
3679
3679
|
arrowOffset: rt
|
|
3680
|
-
}), et &&
|
|
3680
|
+
}), et && W1(BQ, {
|
|
3681
3681
|
...et,
|
|
3682
3682
|
addInputId: C5,
|
|
3683
3683
|
removeInputId: C5
|
|
@@ -3688,7 +3688,7 @@ const jst = 0, zst = (t) => {
|
|
|
3688
3688
|
}, gt = () => {
|
|
3689
3689
|
nt(!1), n.visible && n.focusOnShow ? o.value = !0 : n.visible === !1 && (o.value = !1);
|
|
3690
3690
|
};
|
|
3691
|
-
return
|
|
3691
|
+
return Z1(() => {
|
|
3692
3692
|
on(() => n.triggerTargetEl, (It, Zt) => {
|
|
3693
3693
|
ct == null || ct(), ct = void 0;
|
|
3694
3694
|
const oe = vt(It || y.value), re = vt(Zt || y.value);
|
|
@@ -3998,7 +3998,7 @@ const hat = mr({
|
|
|
3998
3998
|
open: T,
|
|
3999
3999
|
close: f
|
|
4000
4000
|
}), L = Kt(() => S4(n.visible) && !Q.value);
|
|
4001
|
-
|
|
4001
|
+
W1(ES, {
|
|
4002
4002
|
controlled: L,
|
|
4003
4003
|
id: i,
|
|
4004
4004
|
open: qj(u),
|
|
@@ -4828,7 +4828,7 @@ const Pat = {
|
|
|
4828
4828
|
props: Pat,
|
|
4829
4829
|
setup(t) {
|
|
4830
4830
|
const e = t;
|
|
4831
|
-
|
|
4831
|
+
W1(uU, c3({
|
|
4832
4832
|
size: K2(e, "size"),
|
|
4833
4833
|
type: K2(e, "type")
|
|
4834
4834
|
}));
|
|
@@ -4935,8 +4935,8 @@ const Fat = {
|
|
|
4935
4935
|
},
|
|
4936
4936
|
...sl(["ariaControls"])
|
|
4937
4937
|
}, fU = {
|
|
4938
|
-
[$o]: (t) => oa(t) ||
|
|
4939
|
-
change: (t) => oa(t) ||
|
|
4938
|
+
[$o]: (t) => oa(t) || ro(t) || S4(t),
|
|
4939
|
+
change: (t) => oa(t) || ro(t) || S4(t)
|
|
4940
4940
|
}, ec = Symbol("checkboxGroupContextKey"), Bat = ({
|
|
4941
4941
|
model: t,
|
|
4942
4942
|
isChecked: e
|
|
@@ -4957,7 +4957,7 @@ const Fat = {
|
|
|
4957
4957
|
isDisabled: i,
|
|
4958
4958
|
isLabeledByFormItem: o
|
|
4959
4959
|
}) => {
|
|
4960
|
-
const s = ln(ec, void 0), { formItem: a } = tc(), { emit: u } =
|
|
4960
|
+
const s = ln(ec, void 0), { formItem: a } = tc(), { emit: u } = $1();
|
|
4961
4961
|
function d(_) {
|
|
4962
4962
|
var L, E, x, O;
|
|
4963
4963
|
return [!0, t.trueValue, t.trueLabel].includes(_) ? (E = (L = t.trueValue) != null ? L : t.trueLabel) != null ? E : !0 : (O = (x = t.falseValue) != null ? x : t.falseLabel) != null ? O : !1;
|
|
@@ -4982,7 +4982,7 @@ const Fat = {
|
|
|
4982
4982
|
onClickRoot: Q
|
|
4983
4983
|
};
|
|
4984
4984
|
}, zat = (t) => {
|
|
4985
|
-
const e = ke(!1), { emit: r } =
|
|
4985
|
+
const e = ke(!1), { emit: r } = $1(), n = ln(ec, void 0), i = Kt(() => q6(n) === !1), o = ke(!1), s = Kt({
|
|
4986
4986
|
get() {
|
|
4987
4987
|
var a, u;
|
|
4988
4988
|
return i.value ? (a = n == null ? void 0 : n.modelValue) == null ? void 0 : a.value : (u = t.modelValue) != null ? u : e.value;
|
|
@@ -5302,7 +5302,7 @@ const Xat = Mn({
|
|
|
5302
5302
|
a(d);
|
|
5303
5303
|
}
|
|
5304
5304
|
});
|
|
5305
|
-
return
|
|
5305
|
+
return W1(ec, {
|
|
5306
5306
|
...yz(s0(r), [
|
|
5307
5307
|
"size",
|
|
5308
5308
|
"min",
|
|
@@ -5362,8 +5362,8 @@ const vU = ol(gU), _U = Mn({
|
|
|
5362
5362
|
..._U,
|
|
5363
5363
|
border: Boolean
|
|
5364
5364
|
}), bU = {
|
|
5365
|
-
[$o]: (t) => oa(t) ||
|
|
5366
|
-
[cS]: (t) => oa(t) ||
|
|
5365
|
+
[$o]: (t) => oa(t) || ro(t) || S4(t),
|
|
5366
|
+
[cS]: (t) => oa(t) || ro(t) || S4(t)
|
|
5367
5367
|
}, LU = Symbol("radioGroupKey"), wU = (t, e) => {
|
|
5368
5368
|
const r = ke(), n = ln(LU, void 0), i = Kt(() => !!n), o = Kt(() => Vh(t.value) ? t.label : t.value), s = Kt({
|
|
5369
5369
|
get() {
|
|
@@ -5552,12 +5552,12 @@ const a3t = Mn({
|
|
|
5552
5552
|
}), d = (f) => {
|
|
5553
5553
|
e($o, f), i1(() => e("change", f));
|
|
5554
5554
|
};
|
|
5555
|
-
|
|
5555
|
+
Z1(() => {
|
|
5556
5556
|
const f = o.value.querySelectorAll("[type=radio]"), Q = f[0];
|
|
5557
5557
|
!Array.from(f).some((y) => y.checked) && Q && (Q.tabIndex = 0);
|
|
5558
5558
|
});
|
|
5559
5559
|
const T = Kt(() => r.name || i.value);
|
|
5560
|
-
return
|
|
5560
|
+
return W1(LU, c3({
|
|
5561
5561
|
...s0(r),
|
|
5562
5562
|
changeEvent: d,
|
|
5563
5563
|
name: T
|
|
@@ -5717,7 +5717,7 @@ const f3t = v2(T3t), HU = Symbol("rowContextKey"), Q3t = [
|
|
|
5717
5717
|
props: g3t,
|
|
5718
5718
|
setup(t) {
|
|
5719
5719
|
const e = t, r = Bn("row"), n = Kt(() => e.gutter);
|
|
5720
|
-
|
|
5720
|
+
W1(HU, {
|
|
5721
5721
|
gutter: n
|
|
5722
5722
|
});
|
|
5723
5723
|
const i = Kt(() => {
|
|
@@ -5794,9 +5794,9 @@ const Td = v2(_3t), b3t = Mn({
|
|
|
5794
5794
|
const s = [];
|
|
5795
5795
|
return ["span", "offset", "pull", "push"].forEach((d) => {
|
|
5796
5796
|
const T = e[d];
|
|
5797
|
-
|
|
5797
|
+
ro(T) && (d === "span" ? s.push(n.b(`${e[d]}`)) : T > 0 && s.push(n.b(`${d}-${e[d]}`)));
|
|
5798
5798
|
}), ["xs", "sm", "md", "lg", "xl"].forEach((d) => {
|
|
5799
|
-
|
|
5799
|
+
ro(e[d]) ? s.push(n.b(`${d}-${e[d]}`)) : T2(e[d]) && Object.entries(e[d]).forEach(([T, f]) => {
|
|
5800
5800
|
s.push(T !== "span" ? n.b(`${d}-${T}-${f}`) : n.b(`${d}-${f}`));
|
|
5801
5801
|
});
|
|
5802
5802
|
}), r.value && s.push(n.is("guttered")), [n.b(), s];
|
|
@@ -6010,7 +6010,7 @@ const P3t = Mn({
|
|
|
6010
6010
|
closeAutoFocus: () => !0
|
|
6011
6011
|
}, R3t = (t, e) => {
|
|
6012
6012
|
var r;
|
|
6013
|
-
const i =
|
|
6013
|
+
const i = $1().emit, { nextZIndex: o } = vS();
|
|
6014
6014
|
let s = "";
|
|
6015
6015
|
const a = U5(), u = U5(), d = ke(!1), T = ke(!1), f = ke(!1), Q = ke((r = t.zIndex) != null ? r : o());
|
|
6016
6016
|
let y, _;
|
|
@@ -6068,7 +6068,7 @@ const P3t = Mn({
|
|
|
6068
6068
|
})) : d.value && U();
|
|
6069
6069
|
}), on(() => t.fullscreen, (oe) => {
|
|
6070
6070
|
e.value && (oe ? (s = e.value.style.transform, e.value.style.transform = "") : e.value.style.transform = s);
|
|
6071
|
-
}),
|
|
6071
|
+
}), Z1(() => {
|
|
6072
6072
|
t.modelValue && (d.value = !0, f.value = !0, F());
|
|
6073
6073
|
}), {
|
|
6074
6074
|
afterEnter: O,
|
|
@@ -6125,7 +6125,7 @@ const P3t = Mn({
|
|
|
6125
6125
|
onCloseRequested: U,
|
|
6126
6126
|
onFocusoutPrevented: $
|
|
6127
6127
|
} = R3t(r, o);
|
|
6128
|
-
|
|
6128
|
+
W1(AU, {
|
|
6129
6129
|
dialogRef: o,
|
|
6130
6130
|
headerRef: s,
|
|
6131
6131
|
bodyId: T,
|
|
@@ -6258,7 +6258,7 @@ const Z3t = "data-el-collection-item", q3t = (t) => {
|
|
|
6258
6258
|
name: e,
|
|
6259
6259
|
setup() {
|
|
6260
6260
|
const a = ke(null), u = /* @__PURE__ */ new Map();
|
|
6261
|
-
|
|
6261
|
+
W1(n, {
|
|
6262
6262
|
itemMap: u,
|
|
6263
6263
|
getItems: () => {
|
|
6264
6264
|
const T = vt(a);
|
|
@@ -6275,9 +6275,9 @@ const Z3t = "data-el-collection-item", q3t = (t) => {
|
|
|
6275
6275
|
name: r,
|
|
6276
6276
|
setup(a, { attrs: u }) {
|
|
6277
6277
|
const d = ke(null), T = ln(n, void 0);
|
|
6278
|
-
|
|
6278
|
+
W1(i, {
|
|
6279
6279
|
collectionItemRef: d
|
|
6280
|
-
}),
|
|
6280
|
+
}), Z1(() => {
|
|
6281
6281
|
const f = vt(d);
|
|
6282
6282
|
f && T.itemMap.set(f, {
|
|
6283
6283
|
ref: f,
|
|
@@ -6381,7 +6381,7 @@ function X3t(t, e) {
|
|
|
6381
6381
|
return !i.value && _.length >= r.props.multipleLimit && r.props.multipleLimit > 0;
|
|
6382
6382
|
} else
|
|
6383
6383
|
return !1;
|
|
6384
|
-
}), s = Kt(() => t.label || (T2(t.value) ? "" : t.value)), a = Kt(() => t.value || t.label || ""), u = Kt(() => t.disabled || e.groupDisabled || o.value), d =
|
|
6384
|
+
}), s = Kt(() => t.label || (T2(t.value) ? "" : t.value)), a = Kt(() => t.value || t.label || ""), u = Kt(() => t.disabled || e.groupDisabled || o.value), d = $1(), T = (y = [], _) => {
|
|
6385
6385
|
if (T2(t.value)) {
|
|
6386
6386
|
const L = r.props.valueKey;
|
|
6387
6387
|
return y && y.some((E) => kh(p4(E, L)) === p4(_, L));
|
|
@@ -6444,7 +6444,7 @@ const K3t = mr({
|
|
|
6444
6444
|
select: u,
|
|
6445
6445
|
hoverItem: d,
|
|
6446
6446
|
updateOption: T
|
|
6447
|
-
} = X3t(t, i), { visible: f, hover: Q } = s0(i), y =
|
|
6447
|
+
} = X3t(t, i), { visible: f, hover: Q } = s0(i), y = $1().proxy;
|
|
6448
6448
|
u.onOptionCreate(y), Vs(() => {
|
|
6449
6449
|
const L = y.value, { selected: E } = u.states, O = (u.props.multiple ? E : [E]).some((k) => k.value === y.value);
|
|
6450
6450
|
i1(() => {
|
|
@@ -6498,7 +6498,7 @@ const J3t = mr({
|
|
|
6498
6498
|
var a;
|
|
6499
6499
|
o.value = `${(a = t.selectRef) == null ? void 0 : a.offsetWidth}px`;
|
|
6500
6500
|
}
|
|
6501
|
-
return
|
|
6501
|
+
return Z1(() => {
|
|
6502
6502
|
s(), B6(t.selectRef, s);
|
|
6503
6503
|
}), {
|
|
6504
6504
|
ns: e,
|
|
@@ -6617,7 +6617,7 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6617
6617
|
}, {
|
|
6618
6618
|
flush: "post"
|
|
6619
6619
|
}), on(() => s.hoveringIndex, (Rt) => {
|
|
6620
|
-
|
|
6620
|
+
ro(Rt) && Rt > -1 ? ct.value = Re.value[Rt] || {} : ct.value = {}, Re.value.forEach((Te) => {
|
|
6621
6621
|
Te.hover = ct.value === Te;
|
|
6622
6622
|
});
|
|
6623
6623
|
}), Xj(() => {
|
|
@@ -6785,7 +6785,7 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6785
6785
|
}), Le = Kt(() => ({ maxWidth: `${s.selectionWidth}px` })), or = Kt(() => ({
|
|
6786
6786
|
width: `${Math.max(s.calculatorWidth, r4t)}px`
|
|
6787
6787
|
}));
|
|
6788
|
-
return B6(u, dn), B6(Q, ji), B6(L, ki), B6($, ki), B6(E, _i), B6(x, Ji),
|
|
6788
|
+
return B6(u, dn), B6(Q, ji), B6(L, ki), B6($, ki), B6(E, _i), B6(x, Ji), Z1(() => {
|
|
6789
6789
|
Jr();
|
|
6790
6790
|
}), {
|
|
6791
6791
|
inputId: It,
|
|
@@ -7003,7 +7003,7 @@ const o4t = Mn({
|
|
|
7003
7003
|
...s0(t),
|
|
7004
7004
|
modelValue: r
|
|
7005
7005
|
}), i = n4t(n, e);
|
|
7006
|
-
return
|
|
7006
|
+
return W1(Sg, c3({
|
|
7007
7007
|
props: n,
|
|
7008
7008
|
states: i.states,
|
|
7009
7009
|
optionsArray: i.optionsArray,
|
|
@@ -7357,8 +7357,8 @@ const c4t = mr({
|
|
|
7357
7357
|
disabled: Boolean
|
|
7358
7358
|
},
|
|
7359
7359
|
setup(t) {
|
|
7360
|
-
const e = Bn("select"), r = ke(null), n =
|
|
7361
|
-
|
|
7360
|
+
const e = Bn("select"), r = ke(null), n = $1(), i = ke([]);
|
|
7361
|
+
W1(CU, c3({
|
|
7362
7362
|
...s0(t)
|
|
7363
7363
|
}));
|
|
7364
7364
|
const o = Kt(() => i.value.some((d) => d.visible === !0)), s = (d) => {
|
|
@@ -7373,7 +7373,7 @@ const c4t = mr({
|
|
|
7373
7373
|
}, u = () => {
|
|
7374
7374
|
i.value = a(n.subTree);
|
|
7375
7375
|
};
|
|
7376
|
-
return
|
|
7376
|
+
return Z1(() => {
|
|
7377
7377
|
u();
|
|
7378
7378
|
}), $et(r, u, {
|
|
7379
7379
|
attributes: !0,
|
|
@@ -14289,15 +14289,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14289
14289
|
}
|
|
14290
14290
|
}
|
|
14291
14291
|
Qo.prototype.size = 8;
|
|
14292
|
-
class
|
|
14292
|
+
class X1 extends Oe {
|
|
14293
14293
|
get(c) {
|
|
14294
14294
|
return new Qo(this, c);
|
|
14295
14295
|
}
|
|
14296
14296
|
}
|
|
14297
|
-
nr("FeatureIndexArray",
|
|
14297
|
+
nr("FeatureIndexArray", X1);
|
|
14298
14298
|
class k1 extends j {
|
|
14299
14299
|
}
|
|
14300
|
-
class
|
|
14300
|
+
class K1 extends j {
|
|
14301
14301
|
}
|
|
14302
14302
|
class Qs extends j {
|
|
14303
14303
|
}
|
|
@@ -14784,7 +14784,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14784
14784
|
}
|
|
14785
14785
|
class x_ {
|
|
14786
14786
|
constructor(c) {
|
|
14787
|
-
this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.layoutVertexArray = new
|
|
14787
|
+
this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.layoutVertexArray = new K1(), this.indexArray = new C2(), this.segments = new an(), this.programConfigurations = new D0(c.layers, c.zoom), this.stateDependentLayerIds = this.layers.filter((p) => p.isStateDependent()).map((p) => p.id);
|
|
14788
14788
|
}
|
|
14789
14789
|
populate(c, p, g) {
|
|
14790
14790
|
const w = this.layers[0], H = [];
|
|
@@ -15749,8 +15749,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15749
15749
|
for (const gr of sr) {
|
|
15750
15750
|
const pr = gr.x, Ir = gr.y, Fn = Et[0] * pr + Et[4] * Ir + Et[12], Pn = Et[1] * pr + Et[5] * Ir + Et[13], p1 = Et[2] * pr + Et[6] * Ir + Et[14], ms = Et[3] * pr + Et[7] * Ir + Et[15], V1 = p1 + _e, T1 = ms + Xe, go = Fn + Er, yo = Pn + Be, vo = p1 + Ve, Oi = ms + Qr, f1 = new f((Fn + Bt) / T1, (Pn + ee) / T1);
|
|
15751
15751
|
f1.z = V1 / T1, rr.push(f1);
|
|
15752
|
-
const
|
|
15753
|
-
|
|
15752
|
+
const Y1 = new f(go / Oi, yo / Oi);
|
|
15753
|
+
Y1.z = vo / Oi, ue.push(Y1);
|
|
15754
15754
|
}
|
|
15755
15755
|
$t.push(rr), Pt.push(ue);
|
|
15756
15756
|
}
|
|
@@ -16586,7 +16586,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16586
16586
|
let V1 = 0;
|
|
16587
16587
|
for (const Oi of Be) {
|
|
16588
16588
|
Oi.trim();
|
|
16589
|
-
const f1 = Oi.getMaxScale(),
|
|
16589
|
+
const f1 = Oi.getMaxScale(), Y1 = (f1 - 1) * r1, R1 = { positionedGlyphs: [], lineOffset: 0 };
|
|
16590
16590
|
ee.positionedLines[V1] = R1;
|
|
16591
16591
|
const _o = R1.positionedGlyphs;
|
|
16592
16592
|
let N1 = 0;
|
|
@@ -16604,7 +16604,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16604
16604
|
continue;
|
|
16605
16605
|
Ha = fn.imageName, ee.iconsInText = ee.iconsInText || !0, ql = V2.paddedRect;
|
|
16606
16606
|
const L1 = V2.displaySize;
|
|
16607
|
-
fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Do, top: -QC, advance: gs ? L1[1] : L1[0] }, s2 =
|
|
16607
|
+
fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Do, top: -QC, advance: gs ? L1[1] : L1[0] }, s2 = Y1 + (r1 - L1[1] * fn.scale), Aa = xi.advance;
|
|
16608
16608
|
const z3 = gs ? L1[0] * fn.scale - r1 * f1 : L1[1] * fn.scale - r1 * f1;
|
|
16609
16609
|
z3 > 0 && z3 > N1 && (N1 = z3);
|
|
16610
16610
|
} else {
|
|
@@ -16623,12 +16623,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16623
16623
|
}
|
|
16624
16624
|
_o.length !== 0 && (Pn = Math.max(Ir - ue, Pn), Vtt(_o, 0, _o.length - 1, ms, N1)), Ir = 0;
|
|
16625
16625
|
const P2 = Ve * f1 + N1;
|
|
16626
|
-
R1.lineOffset = Math.max(N1,
|
|
16626
|
+
R1.lineOffset = Math.max(N1, Y1), Fn += P2, p1 = Math.max(P2, p1), ++V1;
|
|
16627
16627
|
}
|
|
16628
16628
|
var T1;
|
|
16629
16629
|
const go = Fn - Jc, { horizontalAlign: yo, verticalAlign: vo } = G_(Qr);
|
|
16630
|
-
(function(Oi, f1,
|
|
16631
|
-
const Un = (f1 -
|
|
16630
|
+
(function(Oi, f1, Y1, R1, _o, N1, P2, Fo, fn) {
|
|
16631
|
+
const Un = (f1 - Y1) * _o;
|
|
16632
16632
|
let ii = 0;
|
|
16633
16633
|
ii = N1 !== P2 ? -Fo * R1 - Jc : (-R1 * fn + 0.5) * P2;
|
|
16634
16634
|
for (const s2 of Oi)
|
|
@@ -17487,7 +17487,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17487
17487
|
}
|
|
17488
17488
|
class BC {
|
|
17489
17489
|
constructor(c, p) {
|
|
17490
|
-
this.tileID = c, this.x = c.canonical.x, this.y = c.canonical.y, this.z = c.canonical.z, this.grid = new e6(Zi, 16, 0), this.grid3D = new e6(Zi, 16, 0), this.featureIndexArray = new
|
|
17490
|
+
this.tileID = c, this.x = c.canonical.x, this.y = c.canonical.y, this.z = c.canonical.z, this.grid = new e6(Zi, 16, 0), this.grid3D = new e6(Zi, 16, 0), this.featureIndexArray = new X1(), this.promoteId = p;
|
|
17491
17491
|
}
|
|
17492
17492
|
insert(c, p, g, w, H, A) {
|
|
17493
17493
|
const C = this.featureIndexArray.length;
|
|
@@ -17714,13 +17714,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17714
17714
|
(H.textFitWidth || H.textFitHeight) && (z = LC(h)), Et = Fp(W, 0, ue[0]), Pt = Fp(X, 0, ue[1]), $t = Fp(W, ue[0], ue[2]), Bt = Fp(X, ue[1], ue[3]), ee = ue[0] - Et, Xe = ue[1] - Pt, _e = gr - $t, Er = pr - Bt;
|
|
17715
17715
|
}
|
|
17716
17716
|
const Be = z.x1, Ve = z.y1, Qr = z.x2 - Be, sr = z.y2 - Ve, rr = (ue, gr, pr, Ir) => {
|
|
17717
|
-
const Fn = Bp(ue.stretch - Et, $t, Qr, Be), Pn = jp(ue.fixed - ee, _e, ue.stretch, at), p1 = Bp(gr.stretch - Pt, Bt, sr, Ve), ms = jp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = Bp(pr.stretch - Et, $t, Qr, Be), T1 = jp(pr.fixed - ee, _e, pr.stretch, at), go = Bp(Ir.stretch - Pt, Bt, sr, Ve), yo = jp(Ir.fixed - Xe, Er, Ir.stretch, ut), vo = new f(Fn, p1), Oi = new f(V1, p1), f1 = new f(V1, go),
|
|
17717
|
+
const Fn = Bp(ue.stretch - Et, $t, Qr, Be), Pn = jp(ue.fixed - ee, _e, ue.stretch, at), p1 = Bp(gr.stretch - Pt, Bt, sr, Ve), ms = jp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = Bp(pr.stretch - Et, $t, Qr, Be), T1 = jp(pr.fixed - ee, _e, pr.stretch, at), go = Bp(Ir.stretch - Pt, Bt, sr, Ve), yo = jp(Ir.fixed - Xe, Er, Ir.stretch, ut), vo = new f(Fn, p1), Oi = new f(V1, p1), f1 = new f(V1, go), Y1 = new f(Fn, go), R1 = new f(Pn / A, ms / A), _o = new f(T1 / A, yo / A), N1 = c * Math.PI / 180;
|
|
17718
17718
|
if (N1) {
|
|
17719
17719
|
const fn = Math.sin(N1), Un = Math.cos(N1), ii = [Un, -fn, fn, Un];
|
|
17720
|
-
vo._matMult(ii), Oi._matMult(ii),
|
|
17720
|
+
vo._matMult(ii), Oi._matMult(ii), Y1._matMult(ii), f1._matMult(ii);
|
|
17721
17721
|
}
|
|
17722
17722
|
const P2 = ue.stretch + ue.fixed, Fo = gr.stretch + gr.fixed;
|
|
17723
|
-
return { tl: vo, tr: Oi, bl:
|
|
17723
|
+
return { tl: vo, tr: Oi, bl: Y1, br: f1, tex: { x: H.paddedRect.x + Wl + P2, y: H.paddedRect.y + Wl + Fo, w: pr.stretch + pr.fixed - P2, h: Ir.stretch + Ir.fixed - Fo }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: R1, pixelOffsetBR: _o, minFontScaleX: _e / A / Qr, minFontScaleY: Er / A / sr, isSDF: p };
|
|
17724
17724
|
};
|
|
17725
17725
|
if (g && (H.stretchX || H.stretchY)) {
|
|
17726
17726
|
const ue = KC(W, Tt, at), gr = KC(X, Lt, ut);
|
|
@@ -17972,49 +17972,49 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17972
17972
|
let sr;
|
|
17973
17973
|
g && Qr !== "none" && (h.allowVerticalPlacement && p.vertical && (sr = wC(g, p.vertical, Qr, tt.get("icon-text-fit-padding"), at, Tt)), ut && (g = wC(g, ut, Qr, tt.get("icon-text-fit-padding"), at, Tt)));
|
|
17974
17974
|
const rr = (ue, gr) => {
|
|
17975
|
-
gr.x < 0 || gr.x >= Zi || gr.y < 0 || gr.y >= Zi || function(pr, Ir, Fn, Pn, p1, ms, V1, T1, go, yo, vo, Oi, f1,
|
|
17975
|
+
gr.x < 0 || gr.x >= Zi || gr.y < 0 || gr.y >= Zi || function(pr, Ir, Fn, Pn, p1, ms, V1, T1, go, yo, vo, Oi, f1, Y1, R1, _o, N1, P2, Fo, fn, Un, ii, s2, xi, ql) {
|
|
17976
17976
|
const Ha = pr.addToLineVertexArray(Ir, Fn);
|
|
17977
17977
|
let Aa, gs, V2, L1, z3 = 0, su = 0, ok = 0, sk = 0, cb = -1, ub = -1;
|
|
17978
17978
|
const U3 = {};
|
|
17979
17979
|
let ak = Vl("");
|
|
17980
17980
|
if (pr.allowVerticalPlacement && Pn.vertical) {
|
|
17981
|
-
const
|
|
17982
|
-
V2 = new zp(go, Ir, yo, vo, Oi, Pn.vertical, f1,
|
|
17981
|
+
const J1 = T1.layout.get("text-rotate").evaluate(Un, {}, xi) + 90;
|
|
17982
|
+
V2 = new zp(go, Ir, yo, vo, Oi, Pn.vertical, f1, Y1, R1, J1), V1 && (L1 = new zp(go, Ir, yo, vo, Oi, V1, N1, P2, R1, J1));
|
|
17983
17983
|
}
|
|
17984
17984
|
if (p1) {
|
|
17985
|
-
const
|
|
17986
|
-
gs = new zp(go, Ir, yo, vo, Oi, p1, N1, P2, !1,
|
|
17985
|
+
const J1 = T1.layout.get("icon-rotate").evaluate(Un, {}), R2 = T1.layout.get("icon-text-fit") !== "none", z0 = XC(p1, J1, s2, R2), Zs = V1 ? XC(V1, J1, s2, R2) : void 0;
|
|
17986
|
+
gs = new zp(go, Ir, yo, vo, Oi, p1, N1, P2, !1, J1), z3 = 4 * z0.length;
|
|
17987
17987
|
const U0 = pr.iconSizeData;
|
|
17988
17988
|
let Oa = null;
|
|
17989
17989
|
U0.kind === "source" ? (Oa = [Sa * T1.layout.get("icon-size").evaluate(Un, {})], Oa[0] > T6 && It(`${pr.layerIds[0]}: Value for "icon-size" is >= ${eu}. Reduce your "icon-size".`)) : U0.kind === "composite" && (Oa = [Sa * ii.compositeIconSizes[0].evaluate(Un, {}, xi), Sa * ii.compositeIconSizes[1].evaluate(Un, {}, xi)], (Oa[0] > T6 || Oa[1] > T6) && It(`${pr.layerIds[0]}: Value for "icon-size" is >= ${eu}. Reduce your "icon-size".`)), pr.addSymbols(pr.icon, z0, Oa, fn, Fo, Un, s.ah.none, Ir, Ha.lineStartIndex, Ha.lineLength, -1, xi), cb = pr.icon.placedSymbolArray.length - 1, Zs && (su = 4 * Zs.length, pr.addSymbols(pr.icon, Zs, Oa, fn, Fo, Un, s.ah.vertical, Ir, Ha.lineStartIndex, Ha.lineLength, -1, xi), ub = pr.icon.placedSymbolArray.length - 1);
|
|
17990
17990
|
}
|
|
17991
17991
|
const lk = Object.keys(Pn.horizontal);
|
|
17992
|
-
for (const
|
|
17993
|
-
const R2 = Pn.horizontal[
|
|
17992
|
+
for (const J1 of lk) {
|
|
17993
|
+
const R2 = Pn.horizontal[J1];
|
|
17994
17994
|
if (!Aa) {
|
|
17995
17995
|
ak = Vl(R2.text);
|
|
17996
17996
|
const Zs = T1.layout.get("text-rotate").evaluate(Un, {}, xi);
|
|
17997
|
-
Aa = new zp(go, Ir, yo, vo, Oi, R2, f1,
|
|
17997
|
+
Aa = new zp(go, Ir, yo, vo, Oi, R2, f1, Y1, R1, Zs);
|
|
17998
17998
|
}
|
|
17999
17999
|
const z0 = R2.positionedLines.length === 1;
|
|
18000
|
-
if (ok += tk(pr, Ir, R2, ms, T1, R1, Un, _o, Ha, Pn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, z0 ? lk : [
|
|
18000
|
+
if (ok += tk(pr, Ir, R2, ms, T1, R1, Un, _o, Ha, Pn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, z0 ? lk : [J1], U3, cb, ii, xi), z0)
|
|
18001
18001
|
break;
|
|
18002
18002
|
}
|
|
18003
18003
|
Pn.vertical && (sk += tk(pr, Ir, Pn.vertical, ms, T1, R1, Un, _o, Ha, s.ah.vertical, ["vertical"], U3, ub, ii, xi));
|
|
18004
18004
|
const ret = Aa ? Aa.boxStartIndex : pr.collisionBoxArray.length, net = Aa ? Aa.boxEndIndex : pr.collisionBoxArray.length, iet = V2 ? V2.boxStartIndex : pr.collisionBoxArray.length, oet = V2 ? V2.boxEndIndex : pr.collisionBoxArray.length, set = gs ? gs.boxStartIndex : pr.collisionBoxArray.length, aet = gs ? gs.boxEndIndex : pr.collisionBoxArray.length, cet = L1 ? L1.boxStartIndex : pr.collisionBoxArray.length, uet = L1 ? L1.boxEndIndex : pr.collisionBoxArray.length;
|
|
18005
18005
|
let Ws = -1;
|
|
18006
|
-
const Gp = (
|
|
18006
|
+
const Gp = (J1, R2) => J1 && J1.circleDiameter ? Math.max(J1.circleDiameter, R2) : R2;
|
|
18007
18007
|
Ws = Gp(Aa, Ws), Ws = Gp(V2, Ws), Ws = Gp(gs, Ws), Ws = Gp(L1, Ws);
|
|
18008
18008
|
const ck = Ws > -1 ? 1 : 0;
|
|
18009
18009
|
ck && (Ws *= ql / r1), pr.glyphOffsetArray.length >= $l.MAX_GLYPHS && It("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Un.sortKey !== void 0 && pr.addToSortKeyRanges(pr.symbolInstances.length, Un.sortKey);
|
|
18010
|
-
const het = JC(T1, Un, xi), [det, pet] = function(
|
|
18011
|
-
const z0 =
|
|
18010
|
+
const het = JC(T1, Un, xi), [det, pet] = function(J1, R2) {
|
|
18011
|
+
const z0 = J1.length, Zs = R2 == null ? void 0 : R2.values;
|
|
18012
18012
|
if ((Zs == null ? void 0 : Zs.length) > 0)
|
|
18013
18013
|
for (let U0 = 0; U0 < Zs.length; U0 += 2) {
|
|
18014
18014
|
const Oa = Zs[U0 + 1];
|
|
18015
|
-
|
|
18015
|
+
J1.emplaceBack(s.aq[Zs[U0]], Oa[0], Oa[1]);
|
|
18016
18016
|
}
|
|
18017
|
-
return [z0,
|
|
18017
|
+
return [z0, J1.length];
|
|
18018
18018
|
}(pr.textAnchorOffsets, het);
|
|
18019
18019
|
pr.symbolInstances.emplaceBack(Ir.x, Ir.y, U3.right >= 0 ? U3.right : -1, U3.center >= 0 ? U3.center : -1, U3.left >= 0 ? U3.left : -1, U3.vertical || -1, cb, ub, ak, ret, net, iet, oet, set, aet, cet, uet, yo, ok, sk, z3, su, ck, 0, f1, Ws, det, pet);
|
|
18020
18020
|
}(h, gr, ue, p, g, w, sr, h.layers[0], h.collisionBoxArray, c.index, c.sourceLayerIndex, h.index, Lt, [Bt, Bt, Bt, Bt], Xe, N, $t, ee, Er, at, c, H, z, W, A);
|
|
@@ -18061,17 +18061,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18061
18061
|
const ms = _e ? [rr.x + p1, rr.y] : [0, 0];
|
|
18062
18062
|
let V1 = _e ? [0, 0] : [rr.x + p1 + Bt[0], rr.y + Bt[1] - Fn], T1 = [0, 0];
|
|
18063
18063
|
Pn && (T1 = V1, V1 = [0, 0]);
|
|
18064
|
-
const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + V1[0], vo = (-rr.metrics.top - gr) * rr.scale + V1[1], Oi = yo + ue.w / go * rr.scale / Ir, f1 = vo + ue.h / go * rr.scale / Ir,
|
|
18064
|
+
const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + V1[0], vo = (-rr.metrics.top - gr) * rr.scale + V1[1], Oi = yo + ue.w / go * rr.scale / Ir, f1 = vo + ue.h / go * rr.scale / Ir, Y1 = new f(yo, vo), R1 = new f(Oi, vo), _o = new f(yo, f1), N1 = new f(Oi, f1);
|
|
18065
18065
|
if (Pn) {
|
|
18066
18066
|
const fn = new f(-p1, p1 - Jc), Un = -Math.PI / 2, ii = r1 / 2 - p1, s2 = new f(5 - Jc - ii, -(rr.imageName ? ii : 0)), xi = new f(...T1);
|
|
18067
|
-
|
|
18067
|
+
Y1._rotateAround(Un, fn)._add(s2)._add(xi), R1._rotateAround(Un, fn)._add(s2)._add(xi), _o._rotateAround(Un, fn)._add(s2)._add(xi), N1._rotateAround(Un, fn)._add(s2)._add(xi);
|
|
18068
18068
|
}
|
|
18069
18069
|
if (Ve) {
|
|
18070
18070
|
const fn = Math.sin(Ve), Un = Math.cos(Ve), ii = [Un, -fn, fn, Un];
|
|
18071
|
-
|
|
18071
|
+
Y1._matMult(ii), R1._matMult(ii), _o._matMult(ii), N1._matMult(ii);
|
|
18072
18072
|
}
|
|
18073
18073
|
const P2 = new f(0, 0), Fo = new f(0, 0);
|
|
18074
|
-
Qr.push({ tl:
|
|
18074
|
+
Qr.push({ tl: Y1, tr: R1, bl: _o, br: N1, tex: ue, writingMode: Pt.writingMode, glyphOffset: ms, sectionIndex: rr.sectionIndex, isSDF: pr, pixelOffsetTL: P2, pixelOffsetBR: Fo, minFontScaleX: 0, minFontScaleY: 0 });
|
|
18075
18075
|
}
|
|
18076
18076
|
return Qr;
|
|
18077
18077
|
}(0, p, C, w, H, A, g, h.allowVerticalPlacement), Lt = h.textSizeData;
|
|
@@ -22334,8 +22334,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22334
22334
|
for (let ri = 0; ri < nn; ri++) {
|
|
22335
22335
|
const C1 = ri / Math.max(nn - 1, 1), O2 = ur.lerp(C1), ni = O2.x + Se, Qo = O2.y + Se;
|
|
22336
22336
|
Ht.push(ni, Qo, Je, 0);
|
|
22337
|
-
const
|
|
22338
|
-
if (Ne = Ne && this.isOffscreen(
|
|
22337
|
+
const X1 = ni - Je, k1 = Qo - Je, K1 = ni + Je, Qs = Qo + Je;
|
|
22338
|
+
if (Ne = Ne && this.isOffscreen(X1, k1, K1, Qs), we = we || this.isInsideGrid(X1, k1, K1, Qs), l !== "always" && this.grid.hitTestCircle(ni, Qo, Je, l, lt) && (he = !0, !Y))
|
|
22339
22339
|
return { circles: [], offscreen: !1, collisionDetected: he };
|
|
22340
22340
|
}
|
|
22341
22341
|
}
|
|
@@ -22520,7 +22520,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22520
22520
|
return;
|
|
22521
22521
|
if (ft)
|
|
22522
22522
|
return void (this.placements[Ie.crossTileID] = new br(!1, !1, !1));
|
|
22523
|
-
let nn = !1, ri = !1, C1 = !0, O2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null },
|
|
22523
|
+
let nn = !1, ri = !1, C1 = !0, O2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null }, X1 = null, k1 = null, K1 = null, Qs = 0, s6 = 0, Il = 0;
|
|
22524
22524
|
We.textFeatureIndex ? Qs = We.textFeatureIndex : Ie.useRuntimeCollisionCircles && (Qs = Ie.featureIndex), We.verticalTextFeatureIndex && (s6 = We.verticalTextFeatureIndex);
|
|
22525
22525
|
const a6 = We.textBox;
|
|
22526
22526
|
if (a6) {
|
|
@@ -22578,18 +22578,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22578
22578
|
}
|
|
22579
22579
|
}
|
|
22580
22580
|
}
|
|
22581
|
-
if (
|
|
22581
|
+
if (X1 = ni, nn = X1 && X1.placeable, C1 = X1 && X1.offscreen, Ie.useRuntimeCollisionCircles) {
|
|
22582
22582
|
const i2 = b.text.placedSymbolArray.get(Ie.centerJustifiedTextSymbolIndex), o2 = a.ai(b.textSizeData, wt, i2), Ea = M.get("text-padding");
|
|
22583
22583
|
k1 = this.collisionIndex.placeCollisionCircles(bt, i2, b.lineVertexArray, b.glyphOffsetArray, o2, j, Z, Y, J, v, we, Mt.predicate, Ie.collisionCircleDiameter, Ea, V, ur), k1.circles.length && k1.collisionDetected && !v && a.w("Collisions detected, but collision boxes are not shown"), nn = Nt || k1.circles.length > 0 && !k1.collisionDetected, C1 = C1 && k1.offscreen;
|
|
22584
22584
|
}
|
|
22585
22585
|
if (We.iconFeatureIndex && (Il = We.iconFeatureIndex), We.iconBox) {
|
|
22586
22586
|
const i2 = (o2) => this.collisionIndex.placeCollisionBox(o2, Dt, lt, j, Z, we, he, D, Mt.predicate, ur, Ne && O2 ? O2 : void 0);
|
|
22587
|
-
Qo && Qo.placeable && We.verticalIconBox ? (
|
|
22587
|
+
Qo && Qo.placeable && We.verticalIconBox ? (K1 = i2(We.verticalIconBox), ri = K1.placeable) : (K1 = i2(We.iconBox), ri = K1.placeable), C1 = C1 && K1.offscreen;
|
|
22588
22588
|
}
|
|
22589
22589
|
const n2 = Ht || Ie.numHorizontalGlyphVertices === 0 && Ie.numVerticalGlyphVertices === 0, Pl = Ot || Ie.numIconVertices === 0;
|
|
22590
22590
|
n2 || Pl ? Pl ? n2 || (ri = ri && nn) : nn = ri && nn : ri = nn = ri && nn;
|
|
22591
|
-
const jc = ri &&
|
|
22592
|
-
if (nn &&
|
|
22591
|
+
const jc = ri && K1.placeable;
|
|
22592
|
+
if (nn && X1.placeable && this.collisionIndex.insertCollisionBox(X1.box, bt, M.get("text-ignore-placement"), b.bucketInstanceId, Qo && Qo.placeable && s6 ? s6 : Qs, Mt.ID), jc && this.collisionIndex.insertCollisionBox(K1.box, Dt, M.get("icon-ignore-placement"), b.bucketInstanceId, Il, Mt.ID), k1 && nn && this.collisionIndex.insertCollisionCircles(k1.circles, bt, M.get("text-ignore-placement"), b.bucketInstanceId, Qs, Mt.ID), v && this.storeCollisionData(b.bucketInstanceId, kr, We, X1, K1, k1), Ie.crossTileID === 0)
|
|
22593
22593
|
throw new Error("symbolInstance.crossTileID can't be 0");
|
|
22594
22594
|
if (b.bucketInstanceId === 0)
|
|
22595
22595
|
throw new Error("bucket.bucketInstanceId can't be 0");
|
|
@@ -25065,21 +25065,21 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25065
25065
|
if (!Dr || !Dr.segments.get().length || !Dr.hasVisibleVertices)
|
|
25066
25066
|
continue;
|
|
25067
25067
|
const Ie = Dr.programConfigurations.get(m.id), We = b || ur.sdfIcons, kr = b ? ur.textSizeData : ur.iconSizeData, ei = Ht || Qt.pitch !== 0, Wr = S.useProgram(ho(We, b, ur), Ie), nn = a.ag(kr, Qt.zoom), ri = S.style.map.terrain && S.style.map.terrain.getTerrainData(Oe);
|
|
25068
|
-
let C1, O2, ni, Qo,
|
|
25068
|
+
let C1, O2, ni, Qo, X1 = [0, 0], k1 = null;
|
|
25069
25069
|
if (b)
|
|
25070
|
-
O2 = Ae.glyphAtlasTexture, ni = ft.LINEAR, C1 = Ae.glyphAtlasTexture.size, ur.iconsInText && (
|
|
25070
|
+
O2 = Ae.glyphAtlasTexture, ni = ft.LINEAR, C1 = Ae.glyphAtlasTexture.size, ur.iconsInText && (X1 = Ae.imageAtlasTexture.size, k1 = Ae.imageAtlasTexture, Qo = ei || S.options.rotating || S.options.zooming || kr.kind === "composite" || kr.kind === "camera" ? ft.LINEAR : ft.NEAREST);
|
|
25071
25071
|
else {
|
|
25072
25072
|
const an = m.layout.get("icon-size").constantOr(0) !== 1 || ur.iconsNeedLinear;
|
|
25073
25073
|
O2 = Ae.imageAtlasTexture, ni = We || S.options.rotating || S.options.zooming || an || ei ? ft.LINEAR : ft.NEAREST, C1 = Ae.imageAtlasTexture.size;
|
|
25074
25074
|
}
|
|
25075
|
-
const
|
|
25075
|
+
const K1 = Or(Ae, 1, S.transform.zoom), Qs = Nt ? Oe.posMatrix : ba, s6 = Vi(Qs, Ht, Mt, S.transform, K1), Il = Rn(Qs, Ht, Mt, S.transform, K1), a6 = Rn(Oe.posMatrix, Ht, Mt, S.transform, K1), n2 = wt.translatePosition(S.transform, Ae, M, V), Pl = we && ur.hasTextData(), jc = m.layout.get("icon-text-fit") !== "none" && Pl && ur.hasIconData();
|
|
25076
25076
|
if (Ot) {
|
|
25077
25077
|
const an = S.style.map.terrain ? (l6, c6) => S.style.map.terrain.getElevation(Oe, l6, c6) : null, F3 = m.layout.get("text-rotation-alignment") === "map";
|
|
25078
25078
|
pt(ur, Oe.posMatrix, S, b, s6, a6, Ht, Z, F3, wt, Oe.toUnwrapped(), Qt.width, Qt.height, n2, an);
|
|
25079
25079
|
}
|
|
25080
25080
|
const i2 = Oe.posMatrix, o2 = b && we || jc, Ea = Ot || o2 ? ba : s6, C2 = Il, b1 = We && m.paint.get(b ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
|
|
25081
25081
|
let I1;
|
|
25082
|
-
I1 = We ? ur.iconsInText ? D4(kr.kind, nn, bt, Ht, Ot, o2, S, i2, Ea, C2, n2, C1,
|
|
25082
|
+
I1 = We ? ur.iconsInText ? D4(kr.kind, nn, bt, Ht, Ot, o2, S, i2, Ea, C2, n2, C1, X1, Je) : ga(kr.kind, nn, bt, Ht, Ot, o2, S, i2, Ea, C2, n2, b, C1, !0, Je) : Xo(kr.kind, nn, bt, Ht, Ot, o2, S, i2, Ea, C2, n2, b, C1, Je);
|
|
25083
25083
|
const No = { program: Wr, buffers: Dr, uniformValues: I1, atlasTexture: O2, atlasTextureIcon: k1, atlasInterpolation: ni, atlasInterpolationIcon: Qo, isSDF: We, hasHalo: b1 };
|
|
25084
25084
|
if (Dt && ur.canOverlap) {
|
|
25085
25085
|
Wt = !0;
|
|
@@ -35134,9 +35134,9 @@ class Bgt {
|
|
|
35134
35134
|
if (a in s ? K(this, s4)[a] = u : (K(this, s4).other.push(...u), K(this, J3)[a] = !1), a === "centreline")
|
|
35135
35135
|
for (const d of u) {
|
|
35136
35136
|
const T = e.annotationById(d);
|
|
35137
|
-
(e.options.style ===
|
|
35137
|
+
(e.options.style === U1.CENTRELINE || K(this, O6).has(d)) && T && "models" in T && K(this, f9).set(T.models, T.label || T.models);
|
|
35138
35138
|
}
|
|
35139
|
-
se(this, lE, qW).call(this), e.options.style ===
|
|
35139
|
+
se(this, lE, qW).call(this), e.options.style === U1.CENTRELINE ? Yt(this, Q9, !0) : Yt(this, m9, K(this, f9).size > 0);
|
|
35140
35140
|
}
|
|
35141
35141
|
get nerveCentrelineDetails() {
|
|
35142
35142
|
return [Fgt, ...K(this, f9).entries()].map((e) => {
|
|
@@ -35168,7 +35168,7 @@ class Bgt {
|
|
|
35168
35168
|
pathTypes() {
|
|
35169
35169
|
const e = [];
|
|
35170
35170
|
for (const r of cm)
|
|
35171
|
-
r.type in K(this, s4) && K(this, s4)[r.type].length > 0 && (r.type === "centreline" ? K(this, Bf).options.style !==
|
|
35171
|
+
r.type in K(this, s4) && K(this, s4)[r.type].length > 0 && (r.type === "centreline" ? K(this, Bf).options.style !== U1.CENTRELINE && (Yt(this, m9, !0), Yt(this, Q9, K(this, J3)[r.type])) : e.push({
|
|
35172
35172
|
...r,
|
|
35173
35173
|
enabled: K(this, J3)[r.type]
|
|
35174
35174
|
}));
|
|
@@ -35823,7 +35823,7 @@ function Hs(t, e, r, n) {
|
|
|
35823
35823
|
let o = null;
|
|
35824
35824
|
return i && (n === "mixed" ? o = i.out && i.out[r] || i.undirected && i.undirected[r] : n === "directed" ? o = i.out && i.out[r] : o = i.undirected && i.undirected[r]), o;
|
|
35825
35825
|
}
|
|
35826
|
-
function
|
|
35826
|
+
function eo(t) {
|
|
35827
35827
|
return typeof t == "object" && t !== null;
|
|
35828
35828
|
}
|
|
35829
35829
|
function cZ(t) {
|
|
@@ -35848,7 +35848,7 @@ function Xs(t, e, r) {
|
|
|
35848
35848
|
typeof r == "function" ? n.get = r : (n.value = r, n.writable = !1), Object.defineProperty(t, e, n);
|
|
35849
35849
|
}
|
|
35850
35850
|
function BR(t) {
|
|
35851
|
-
return !(!
|
|
35851
|
+
return !(!eo(t) || t.attributes && !Array.isArray(t.attributes));
|
|
35852
35852
|
}
|
|
35853
35853
|
function syt() {
|
|
35854
35854
|
let t = Math.floor(Math.random() * 256) & 255;
|
|
@@ -36067,7 +36067,7 @@ function Tyt(t, e, r) {
|
|
|
36067
36067
|
i,
|
|
36068
36068
|
o
|
|
36069
36069
|
);
|
|
36070
|
-
if (!
|
|
36070
|
+
if (!eo(a))
|
|
36071
36071
|
throw new hr(
|
|
36072
36072
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
36073
36073
|
);
|
|
@@ -36088,7 +36088,7 @@ function fyt(t, e, r) {
|
|
|
36088
36088
|
i,
|
|
36089
36089
|
o
|
|
36090
36090
|
);
|
|
36091
|
-
if (!
|
|
36091
|
+
if (!eo(a))
|
|
36092
36092
|
throw new hr(
|
|
36093
36093
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
36094
36094
|
);
|
|
@@ -36390,7 +36390,7 @@ function xyt(t, e, r) {
|
|
|
36390
36390
|
`Graph.${e}: could not find the "${n}" edge in the graph.`
|
|
36391
36391
|
);
|
|
36392
36392
|
}
|
|
36393
|
-
if (!
|
|
36393
|
+
if (!eo(i))
|
|
36394
36394
|
throw new hr(
|
|
36395
36395
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
36396
36396
|
);
|
|
@@ -36428,7 +36428,7 @@ function Eyt(t, e, r) {
|
|
|
36428
36428
|
`Graph.${e}: could not find the "${n}" edge in the graph.`
|
|
36429
36429
|
);
|
|
36430
36430
|
}
|
|
36431
|
-
if (!
|
|
36431
|
+
if (!eo(i))
|
|
36432
36432
|
throw new hr(
|
|
36433
36433
|
`Graph.${e}: provided attributes are not a plain object.`
|
|
36434
36434
|
);
|
|
@@ -37367,7 +37367,7 @@ function evt(t, e, r) {
|
|
|
37367
37367
|
return cZ(r.attributes) || (n.attributes = x1({}, r.attributes)), t === "mixed" && r.undirected && (n.undirected = !0), n;
|
|
37368
37368
|
}
|
|
37369
37369
|
function rvt(t) {
|
|
37370
|
-
if (!
|
|
37370
|
+
if (!eo(t))
|
|
37371
37371
|
throw new hr(
|
|
37372
37372
|
'Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.'
|
|
37373
37373
|
);
|
|
@@ -37375,13 +37375,13 @@ function rvt(t) {
|
|
|
37375
37375
|
throw new hr(
|
|
37376
37376
|
"Graph.import: serialized node is missing its key."
|
|
37377
37377
|
);
|
|
37378
|
-
if ("attributes" in t && (!
|
|
37378
|
+
if ("attributes" in t && (!eo(t.attributes) || t.attributes === null))
|
|
37379
37379
|
throw new hr(
|
|
37380
37380
|
"Graph.import: invalid attributes. Attributes should be a plain object, null or omitted."
|
|
37381
37381
|
);
|
|
37382
37382
|
}
|
|
37383
37383
|
function nvt(t) {
|
|
37384
|
-
if (!
|
|
37384
|
+
if (!eo(t))
|
|
37385
37385
|
throw new hr(
|
|
37386
37386
|
'Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.'
|
|
37387
37387
|
);
|
|
@@ -37393,7 +37393,7 @@ function nvt(t) {
|
|
|
37393
37393
|
throw new hr(
|
|
37394
37394
|
"Graph.import: serialized edge is missing its target."
|
|
37395
37395
|
);
|
|
37396
|
-
if ("attributes" in t && (!
|
|
37396
|
+
if ("attributes" in t && (!eo(t.attributes) || t.attributes === null))
|
|
37397
37397
|
throw new hr(
|
|
37398
37398
|
"Graph.import: invalid attributes. Attributes should be a plain object, null or omitted."
|
|
37399
37399
|
);
|
|
@@ -37439,7 +37439,7 @@ const ivt = syt(), ovt = /* @__PURE__ */ new Set(["directed", "undirected", "mix
|
|
|
37439
37439
|
type: "mixed"
|
|
37440
37440
|
};
|
|
37441
37441
|
function lvt(t, e, r) {
|
|
37442
|
-
if (r && !
|
|
37442
|
+
if (r && !eo(r))
|
|
37443
37443
|
throw new hr(
|
|
37444
37444
|
`Graph.addNode: invalid attributes. Expecting an object but got "${r}"`
|
|
37445
37445
|
);
|
|
@@ -37469,7 +37469,7 @@ function mZ(t, e, r, n, i, o, s, a) {
|
|
|
37469
37469
|
throw new jr(
|
|
37470
37470
|
`Graph.${e}: you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead.`
|
|
37471
37471
|
);
|
|
37472
|
-
if (a && !
|
|
37472
|
+
if (a && !eo(a))
|
|
37473
37473
|
throw new hr(
|
|
37474
37474
|
`Graph.${e}: invalid attributes. Expecting an object but got "${a}"`
|
|
37475
37475
|
);
|
|
@@ -37529,7 +37529,7 @@ function cvt(t, e, r, n, i, o, s, a, u) {
|
|
|
37529
37529
|
throw new hr(
|
|
37530
37530
|
`Graph.${e}: invalid updater function. Expecting a function but got "${a}"`
|
|
37531
37531
|
);
|
|
37532
|
-
} else if (!
|
|
37532
|
+
} else if (!eo(a))
|
|
37533
37533
|
throw new hr(
|
|
37534
37534
|
`Graph.${e}: invalid attributes. Expecting an object but got "${a}"`
|
|
37535
37535
|
);
|
|
@@ -38371,7 +38371,7 @@ class ci extends qgt.EventEmitter {
|
|
|
38371
38371
|
* @return {any} - The node.
|
|
38372
38372
|
*/
|
|
38373
38373
|
mergeNode(e, r) {
|
|
38374
|
-
if (r && !
|
|
38374
|
+
if (r && !eo(r))
|
|
38375
38375
|
throw new hr(
|
|
38376
38376
|
`Graph.mergeNode: invalid attributes. Expecting an object but got "${r}"`
|
|
38377
38377
|
);
|
|
@@ -38647,7 +38647,7 @@ class ci extends qgt.EventEmitter {
|
|
|
38647
38647
|
* @throws {Error} - Will throw if given attributes are not a plain object.
|
|
38648
38648
|
*/
|
|
38649
38649
|
replaceAttributes(e) {
|
|
38650
|
-
if (!
|
|
38650
|
+
if (!eo(e))
|
|
38651
38651
|
throw new hr(
|
|
38652
38652
|
"Graph.replaceAttributes: provided attributes are not a plain object."
|
|
38653
38653
|
);
|
|
@@ -38665,7 +38665,7 @@ class ci extends qgt.EventEmitter {
|
|
|
38665
38665
|
* @throws {Error} - Will throw if given attributes are not a plain object.
|
|
38666
38666
|
*/
|
|
38667
38667
|
mergeAttributes(e) {
|
|
38668
|
-
if (!
|
|
38668
|
+
if (!eo(e))
|
|
38669
38669
|
throw new hr(
|
|
38670
38670
|
"Graph.mergeAttributes: provided attributes are not a plain object."
|
|
38671
38671
|
);
|
|
@@ -38980,12 +38980,12 @@ class ci extends qgt.EventEmitter {
|
|
|
38980
38980
|
}), e.forEachEdge((u, d, T, f, Q, y, _) => {
|
|
38981
38981
|
r ? _ ? this.mergeUndirectedEdgeWithKey(u, T, f, d) : this.mergeDirectedEdgeWithKey(u, T, f, d) : _ ? this.addUndirectedEdgeWithKey(u, T, f, d) : this.addDirectedEdgeWithKey(u, T, f, d);
|
|
38982
38982
|
}), this;
|
|
38983
|
-
if (!
|
|
38983
|
+
if (!eo(e))
|
|
38984
38984
|
throw new hr(
|
|
38985
38985
|
"Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance."
|
|
38986
38986
|
);
|
|
38987
38987
|
if (e.attributes) {
|
|
38988
|
-
if (!
|
|
38988
|
+
if (!eo(e.attributes))
|
|
38989
38989
|
throw new hr(
|
|
38990
38990
|
"Graph.import: invalid attributes. Expecting a plain object."
|
|
38991
38991
|
);
|
|
@@ -40124,19 +40124,22 @@ class Zvt extends ts {
|
|
|
40124
40124
|
constructor(e, r) {
|
|
40125
40125
|
super(e, "body", r);
|
|
40126
40126
|
}
|
|
40127
|
+
defaultFilter() {
|
|
40128
|
+
return [
|
|
40129
|
+
"all",
|
|
40130
|
+
["==", ["geometry-type"], "Polygon"],
|
|
40131
|
+
[
|
|
40132
|
+
"any",
|
|
40133
|
+
["==", ["get", "models"], "UBERON:0013702"],
|
|
40134
|
+
["==", ["get", "kind"], "background"]
|
|
40135
|
+
]
|
|
40136
|
+
];
|
|
40137
|
+
}
|
|
40127
40138
|
style(e, r) {
|
|
40128
40139
|
return {
|
|
40129
40140
|
...super.style(e),
|
|
40130
40141
|
type: "fill",
|
|
40131
|
-
filter:
|
|
40132
|
-
"all",
|
|
40133
|
-
["==", ["geometry-type"], "Polygon"],
|
|
40134
|
-
[
|
|
40135
|
-
"any",
|
|
40136
|
-
["==", ["get", "models"], "UBERON:0013702"],
|
|
40137
|
-
["==", ["get", "kind"], "background"]
|
|
40138
|
-
]
|
|
40139
|
-
],
|
|
40142
|
+
filter: this.defaultFilter(),
|
|
40140
40143
|
paint: {
|
|
40141
40144
|
"fill-color": [
|
|
40142
40145
|
"case",
|
|
@@ -40168,7 +40171,7 @@ class qvt extends ts {
|
|
|
40168
40171
|
];
|
|
40169
40172
|
}
|
|
40170
40173
|
paintStyle(e, r = !1) {
|
|
40171
|
-
const n = !("colour" in e) || e.colour, i = "dimmed" in e && e.dimmed, o = e.flatmapStyle ===
|
|
40174
|
+
const n = !("colour" in e) || e.colour, i = "dimmed" in e && e.dimmed, o = e.flatmapStyle === U1.FUNCTIONAL, s = {
|
|
40172
40175
|
"fill-color": [
|
|
40173
40176
|
"case",
|
|
40174
40177
|
["boolean", ["feature-state", "selected"], !1],
|
|
@@ -40235,15 +40238,26 @@ class Xvt extends ts {
|
|
|
40235
40238
|
];
|
|
40236
40239
|
}
|
|
40237
40240
|
paintStyle(e, r = !1) {
|
|
40238
|
-
const n = !("colour" in e) || e.colour, i = !("outline" in e) || e.outline, o = "dimmed" in e && e.dimmed, s = "activeRasterLayer" in e && e.activeRasterLayer, a = e.flatmapStyle ===
|
|
40239
|
-
u.push(["boolean", ["feature-state", "hidden"], !1], Kg), u.push(["boolean", ["feature-state", "selected"], !1], a ? "#F80" : Gvt), n && i && u.push(["boolean", ["feature-state", "active"], !1], RZ), u.push(["boolean", ["feature-state", "annotated"], !1], NZ), u.push(["has", "colour"], ["get", "colour"]), u.push("#444");
|
|
40241
|
+
const n = !("colour" in e) || e.colour, i = !("outline" in e) || e.outline, o = "dimmed" in e && e.dimmed, s = "activeRasterLayer" in e && e.activeRasterLayer, a = e.flatmapStyle === U1.FUNCTIONAL, u = ["case"];
|
|
40242
|
+
u.push(["boolean", ["feature-state", "hidden"], !1], Kg), u.push(["boolean", ["feature-state", "selected"], !1], a ? "#F80" : Gvt), n && i && u.push(["boolean", ["feature-state", "active"], !1], RZ), u.push(["boolean", ["feature-state", "annotated"], !1], NZ), u.push(["has", "stroke"], ["get", "stroke"]), u.push(["has", "colour"], ["get", "colour"]), u.push("#444");
|
|
40240
40243
|
const d = ["case"];
|
|
40241
40244
|
d.push(["boolean", ["feature-state", "hidden"], !1], 0.05), n && i && d.push(["boolean", ["feature-state", "active"], !1], 0.9), d.push(["boolean", ["feature-state", "selected"], !1], 0.9), d.push(["boolean", ["feature-state", "annotated"], !1], 0.9), s ? d.push(i && !o ? 0.3 : 0.1) : d.push(0.5);
|
|
40242
40245
|
const T = ["case"];
|
|
40243
|
-
|
|
40246
|
+
T.push(["boolean", ["get", "invisible"], !1], 0.2), T.push(["boolean", ["feature-state", "selected"], !1], a ? 3 : 1.5), n && i && T.push(["boolean", ["feature-state", "active"], !1], a ? 2.5 : 1.5), T.push(["boolean", ["feature-state", "annotated"], !1], 3.5), T.push(["has", "colour"], 0.7), T.push(a ? 1 : n && i ? 0.5 : 0.1);
|
|
40247
|
+
const f = [
|
|
40248
|
+
"*",
|
|
40249
|
+
[
|
|
40250
|
+
"case",
|
|
40251
|
+
["has", "stroke-width"],
|
|
40252
|
+
["get", "stroke-width"],
|
|
40253
|
+
1
|
|
40254
|
+
],
|
|
40255
|
+
T
|
|
40256
|
+
];
|
|
40257
|
+
return super.changedPaintStyle({
|
|
40244
40258
|
"line-color": u,
|
|
40245
40259
|
"line-opacity": d,
|
|
40246
|
-
"line-width":
|
|
40260
|
+
"line-width": f
|
|
40247
40261
|
}, r);
|
|
40248
40262
|
}
|
|
40249
40263
|
style(e, r) {
|
|
@@ -66411,7 +66425,7 @@ u0.retryAfter = fIt;
|
|
|
66411
66425
|
asyncLoad: null
|
|
66412
66426
|
};
|
|
66413
66427
|
})(cy);
|
|
66414
|
-
var LA = {}, Nd = {},
|
|
66428
|
+
var LA = {}, Nd = {}, q1 = {};
|
|
66415
66429
|
(function(t) {
|
|
66416
66430
|
var e = P && P.__values || function(O) {
|
|
66417
66431
|
var k = typeof Symbol == "function" && Symbol.iterator, R = k && O[k], F = 0;
|
|
@@ -66616,7 +66630,7 @@ var LA = {}, Nd = {}, Z1 = {};
|
|
|
66616
66630
|
return R === void 0 && (R = null), k.hasOwnProperty(O) ? k[O] : R;
|
|
66617
66631
|
}
|
|
66618
66632
|
t.lookup = x;
|
|
66619
|
-
})(
|
|
66633
|
+
})(q1);
|
|
66620
66634
|
var gl = {}, QIt = P && P.__extends || /* @__PURE__ */ function() {
|
|
66621
66635
|
var t = function(e, r) {
|
|
66622
66636
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
@@ -66725,7 +66739,7 @@ var gIt = y0, yIt = function(t) {
|
|
|
66725
66739
|
gl.FunctionList = yIt;
|
|
66726
66740
|
Object.defineProperty(Nd, "__esModule", { value: !0 });
|
|
66727
66741
|
Nd.AbstractInputJax = void 0;
|
|
66728
|
-
var eF =
|
|
66742
|
+
var eF = q1, rF = gl, vIt = function() {
|
|
66729
66743
|
function t(e) {
|
|
66730
66744
|
e === void 0 && (e = {}), this.adaptor = null, this.mmlFactory = null;
|
|
66731
66745
|
var r = this.constructor;
|
|
@@ -66760,7 +66774,7 @@ Nd.AbstractInputJax = vIt;
|
|
|
66760
66774
|
var dy = {}, py = {};
|
|
66761
66775
|
Object.defineProperty(py, "__esModule", { value: !0 });
|
|
66762
66776
|
py.AbstractFindMath = void 0;
|
|
66763
|
-
var nF =
|
|
66777
|
+
var nF = q1, _It = function() {
|
|
66764
66778
|
function t(e) {
|
|
66765
66779
|
var r = this.constructor;
|
|
66766
66780
|
this.options = (0, nF.userOptions)((0, nF.defaultOptions)({}, r.OPTIONS), e);
|
|
@@ -69752,22 +69766,22 @@ var q0 = P && P.__values || function(t) {
|
|
|
69752
69766
|
return t && t.__esModule ? t : { default: t };
|
|
69753
69767
|
};
|
|
69754
69768
|
Object.defineProperty(wA, "__esModule", { value: !0 });
|
|
69755
|
-
var lF = Cr,
|
|
69769
|
+
var lF = Cr, to = BIt(Ti), fM;
|
|
69756
69770
|
(function(t) {
|
|
69757
69771
|
t.cleanStretchy = function(o) {
|
|
69758
69772
|
var s, a, u = o.data;
|
|
69759
69773
|
try {
|
|
69760
69774
|
for (var d = q0(u.getList("fixStretchy")), T = d.next(); !T.done; T = d.next()) {
|
|
69761
69775
|
var f = T.value;
|
|
69762
|
-
if (
|
|
69763
|
-
var Q =
|
|
69764
|
-
Q && Q[3] && Q[3].stretchy &&
|
|
69776
|
+
if (to.default.getProperty(f, "fixStretchy")) {
|
|
69777
|
+
var Q = to.default.getForm(f);
|
|
69778
|
+
Q && Q[3] && Q[3].stretchy && to.default.setAttribute(f, "stretchy", !1);
|
|
69765
69779
|
var y = f.parent;
|
|
69766
|
-
if (!
|
|
69780
|
+
if (!to.default.getTexClass(f) && (!Q || !Q[2])) {
|
|
69767
69781
|
var _ = u.nodeFactory.create("node", "TeXAtom", [f]);
|
|
69768
69782
|
y.replaceChild(_, f), _.inheritAttributesFrom(f);
|
|
69769
69783
|
}
|
|
69770
|
-
|
|
69784
|
+
to.default.removeProperties(f, "fixStretchy");
|
|
69771
69785
|
}
|
|
69772
69786
|
}
|
|
69773
69787
|
} catch (L) {
|
|
@@ -69809,10 +69823,10 @@ var lF = Cr, J1 = BIt(Ti), fM;
|
|
|
69809
69823
|
try {
|
|
69810
69824
|
for (var f = q0(o.data.getList("mo")), Q = f.next(); !Q.done; Q = f.next()) {
|
|
69811
69825
|
var y = Q.value;
|
|
69812
|
-
if (!(y.getProperty("relationsCombined") || !y.parent || y.parent && !
|
|
69813
|
-
for (var _ = y.parent, L = void 0, E = _.childNodes, x = E.indexOf(y) + 1, O =
|
|
69814
|
-
if (O ===
|
|
69815
|
-
|
|
69826
|
+
if (!(y.getProperty("relationsCombined") || !y.parent || y.parent && !to.default.isType(y.parent, "mrow") || to.default.getTexClass(y) !== lF.TEXCLASS.REL)) {
|
|
69827
|
+
for (var _ = y.parent, L = void 0, E = _.childNodes, x = E.indexOf(y) + 1, O = to.default.getProperty(y, "variantForm"); x < E.length && (L = E[x]) && to.default.isType(L, "mo") && to.default.getTexClass(L) === lF.TEXCLASS.REL; )
|
|
69828
|
+
if (O === to.default.getProperty(L, "variantForm") && r(y, L)) {
|
|
69829
|
+
to.default.appendChildren(y, to.default.getChildren(L)), e(["stretchy", "rspace"], y, L);
|
|
69816
69830
|
try {
|
|
69817
69831
|
for (var k = (u = void 0, q0(L.getPropertyNames())), R = k.next(); !R.done; R = k.next()) {
|
|
69818
69832
|
var F = R.value;
|
|
@@ -69830,7 +69844,7 @@ var lF = Cr, J1 = BIt(Ti), fM;
|
|
|
69830
69844
|
}
|
|
69831
69845
|
E.splice(x, 1), T.push(L), L.parent = null, L.setProperty("relationsCombined", !0);
|
|
69832
69846
|
} else {
|
|
69833
|
-
y.attributes.getExplicit("rspace") == null &&
|
|
69847
|
+
y.attributes.getExplicit("rspace") == null && to.default.setAttribute(y, "rspace", "0pt"), L.attributes.getExplicit("lspace") == null && to.default.setAttribute(L, "lspace", "0pt");
|
|
69834
69848
|
break;
|
|
69835
69849
|
}
|
|
69836
69850
|
y.attributes.setInherited("form", y.getForms()[0]);
|
|
@@ -69887,7 +69901,7 @@ var lF = Cr, J1 = BIt(Ti), fM;
|
|
|
69887
69901
|
var y = Q.value, _ = y.childNodes;
|
|
69888
69902
|
if (!(_[y[s]] && _[y[a]])) {
|
|
69889
69903
|
var L = y.parent, E = _[y[s]] ? o.nodeFactory.create("node", "m" + s, [_[y.base], _[y[s]]]) : o.nodeFactory.create("node", "m" + a, [_[y.base], _[y[a]]]);
|
|
69890
|
-
|
|
69904
|
+
to.default.copyAttributes(y, E), L ? L.replaceChild(E, y) : o.root = E, T.push(y);
|
|
69891
69905
|
}
|
|
69892
69906
|
}
|
|
69893
69907
|
} catch (x) {
|
|
@@ -69915,7 +69929,7 @@ var lF = Cr, J1 = BIt(Ti), fM;
|
|
|
69915
69929
|
var _ = y.childNodes[y.base], L = _.coreMO();
|
|
69916
69930
|
if (_.getProperty("movablelimits") && !L.attributes.getExplicit("movablelimits")) {
|
|
69917
69931
|
var E = o.nodeFactory.create("node", a, y.childNodes);
|
|
69918
|
-
|
|
69932
|
+
to.default.copyAttributes(y, E), y.parent ? y.parent.replaceChild(E, y) : o.root = E, T.push(y);
|
|
69919
69933
|
}
|
|
69920
69934
|
}
|
|
69921
69935
|
}
|
|
@@ -71559,7 +71573,7 @@ var cPt = P && P.__read || function(t, e) {
|
|
|
71559
71573
|
return t && t.__esModule ? t : { default: t };
|
|
71560
71574
|
};
|
|
71561
71575
|
Object.defineProperty(Qy, "__esModule", { value: !0 });
|
|
71562
|
-
var hPt = GK(EA), dPt = Tc, yF = GK(Ti), vF =
|
|
71576
|
+
var hPt = GK(EA), dPt = Tc, yF = GK(Ti), vF = q1, pPt = function() {
|
|
71563
71577
|
function t(e, r) {
|
|
71564
71578
|
r === void 0 && (r = []), this.options = {}, this.packageData = /* @__PURE__ */ new Map(), this.parsers = [], this.root = null, this.nodeLists = {}, this.error = !1, this.handlers = e.handlers, this.nodeFactory = new dPt.NodeFactory(), this.nodeFactory.configuration = this, this.nodeFactory.setCreators(e.nodes), this.itemFactory = new hPt.default(e.items), this.itemFactory.configuration = this, vF.defaultOptions.apply(void 0, uPt([this.options], cPt(r), !1)), (0, vF.defaultOptions)(this.options, e.options);
|
|
71565
71579
|
}
|
|
@@ -72063,7 +72077,7 @@ var yn = {}, Fd = {};
|
|
|
72063
72077
|
return E;
|
|
72064
72078
|
};
|
|
72065
72079
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParserConfiguration = t.ConfigurationHandler = t.Configuration = void 0;
|
|
72066
|
-
var n =
|
|
72080
|
+
var n = q1, i = Fd, o = gl, s = y0, a = V4, u = function() {
|
|
72067
72081
|
function f(Q, y, _, L, E, x, O, k, R, F, U, $, et) {
|
|
72068
72082
|
y === void 0 && (y = {}), _ === void 0 && (_ = {}), L === void 0 && (L = {}), E === void 0 && (E = {}), x === void 0 && (x = {}), O === void 0 && (O = {}), k === void 0 && (k = []), R === void 0 && (R = []), F === void 0 && (F = null), U === void 0 && (U = null), this.name = Q, this.handler = y, this.fallback = _, this.items = L, this.tags = E, this.options = x, this.nodes = O, this.preprocessors = k, this.postprocessors = R, this.initMethod = F, this.configMethod = U, this.priority = $, this.parser = et, this.handler = Object.assign({ character: [], delimiter: [], macro: [], environment: [] }, y);
|
|
72069
72083
|
}
|
|
@@ -73450,7 +73464,7 @@ var z8 = P && P.__assign || function() {
|
|
|
73450
73464
|
return t && t.__esModule ? t : { default: t };
|
|
73451
73465
|
};
|
|
73452
73466
|
Object.defineProperty(_2, "__esModule", { value: !0 });
|
|
73453
|
-
var CA = WPt(Sr), ir = my(Ti), S1 = my(Cn), gy = my(Ho()), kA = ao, a1 = my(fi()), fc = Cr, KK = V4, YK = M3, gM = Dd, ZPt =
|
|
73467
|
+
var CA = WPt(Sr), ir = my(Ti), S1 = my(Cn), gy = my(Ho()), kA = ao, a1 = my(fi()), fc = Cr, KK = V4, YK = M3, gM = Dd, ZPt = q1, vr = {}, qPt = 1.2 / 0.85, XPt = {
|
|
73454
73468
|
fontfamily: 1,
|
|
73455
73469
|
fontsize: 1,
|
|
73456
73470
|
fontweight: 1,
|
|
@@ -74899,7 +74913,7 @@ var gVt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
74899
74913
|
return t && t.__esModule ? t : { default: t };
|
|
74900
74914
|
};
|
|
74901
74915
|
Object.defineProperty(LA, "__esModule", { value: !0 });
|
|
74902
|
-
var oY = LA.TeX = void 0, bF = Nd, LF =
|
|
74916
|
+
var oY = LA.TeX = void 0, bF = Nd, LF = q1, wF = dy, l7 = jd(wA), xF = jd(Ti), vVt = jd(Ho()), _Vt = jd(Cn), bVt = jd(Qy), FT = V4, LVt = yn, wVt = function(t) {
|
|
74903
74917
|
gVt(e, t);
|
|
74904
74918
|
function e(r) {
|
|
74905
74919
|
r === void 0 && (r = {});
|
|
@@ -74952,7 +74966,7 @@ oY = LA.TeX = wVt;
|
|
|
74952
74966
|
var EF = {}, yy = {}, zd = {};
|
|
74953
74967
|
Object.defineProperty(zd, "__esModule", { value: !0 });
|
|
74954
74968
|
zd.AbstractOutputJax = void 0;
|
|
74955
|
-
var MF =
|
|
74969
|
+
var MF = q1, xVt = gl, EVt = function() {
|
|
74956
74970
|
function t(e) {
|
|
74957
74971
|
e === void 0 && (e = {}), this.adaptor = null;
|
|
74958
74972
|
var r = this.constructor;
|
|
@@ -75557,7 +75571,7 @@ var PVt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
75557
75571
|
};
|
|
75558
75572
|
Object.defineProperty(yy, "__esModule", { value: !0 });
|
|
75559
75573
|
yy.CommonOutputJax = void 0;
|
|
75560
|
-
var AF = zd, _w = hc, VVt =
|
|
75574
|
+
var AF = zd, _w = hc, VVt = q1, RVt = M3, NVt = Ud, DVt = vy, FVt = function(t) {
|
|
75561
75575
|
PVt(e, t);
|
|
75562
75576
|
function e(r, n, i) {
|
|
75563
75577
|
r === void 0 && (r = null), n === void 0 && (n = null), i === void 0 && (i = null);
|
|
@@ -76013,7 +76027,7 @@ var f2 = {}, Um = P && P.__assign || function() {
|
|
|
76013
76027
|
};
|
|
76014
76028
|
Object.defineProperty(f2, "__esModule", { value: !0 });
|
|
76015
76029
|
f2.FontData = f2.NOSTRETCH = f2.H = f2.V = void 0;
|
|
76016
|
-
var CF =
|
|
76030
|
+
var CF = q1;
|
|
76017
76031
|
f2.V = 1;
|
|
76018
76032
|
f2.H = 2;
|
|
76019
76033
|
f2.NOSTRETCH = { dir: 0 };
|
|
@@ -91112,7 +91126,7 @@ q8.BitFieldClass = rjt;
|
|
|
91112
91126
|
return k.concat(et || Array.prototype.slice.call(R));
|
|
91113
91127
|
};
|
|
91114
91128
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AbstractMathDocument = t.resetAllOptions = t.resetOptions = t.RenderList = void 0;
|
|
91115
|
-
var o =
|
|
91129
|
+
var o = q1, s = Nd, a = zd, u = up, d = hc, T = jv, f = q8, Q = y0, y = function(k) {
|
|
91116
91130
|
e(R, k);
|
|
91117
91131
|
function R() {
|
|
91118
91132
|
return k !== null && k.apply(this, arguments) || this;
|
|
@@ -91711,7 +91725,7 @@ var Yv = {}, lj = P && P.__read || function(t, e) {
|
|
|
91711
91725
|
};
|
|
91712
91726
|
Object.defineProperty(Yv, "__esModule", { value: !0 });
|
|
91713
91727
|
Yv.HTMLDomStrings = void 0;
|
|
91714
|
-
var o9 =
|
|
91728
|
+
var o9 = q1, djt = function() {
|
|
91715
91729
|
function t(e) {
|
|
91716
91730
|
e === void 0 && (e = null);
|
|
91717
91731
|
var r = this.constructor;
|
|
@@ -91819,7 +91833,7 @@ var pjt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
91819
91833
|
};
|
|
91820
91834
|
Object.defineProperty(qv, "__esModule", { value: !0 });
|
|
91821
91835
|
qv.HTMLDocument = void 0;
|
|
91822
|
-
var Fw = ZA, Bw =
|
|
91836
|
+
var Fw = ZA, Bw = q1, Tjt = Xv, fjt = Kv, cj = Yv, jw = hc, Qjt = function(t) {
|
|
91823
91837
|
pjt(e, t);
|
|
91824
91838
|
function e(r, n, i) {
|
|
91825
91839
|
var o = this, s = sf((0, Bw.separateOptions)(i, cj.HTMLDomStrings.OPTIONS), 2), a = s[0], u = s[1];
|
|
@@ -94589,7 +94603,7 @@ var qY = P && P.__values || function(t) {
|
|
|
94589
94603
|
}, Kw;
|
|
94590
94604
|
Object.defineProperty(uO, "__esModule", { value: !0 });
|
|
94591
94605
|
uO.ConfigMacrosConfiguration = void 0;
|
|
94592
|
-
var KY = yn, vj =
|
|
94606
|
+
var KY = yn, vj = q1, _j = Rr, Fzt = XY(da), RM = la, NM = XY(hp), bj = dp, DM = "configmacros-map", FM = "configmacros-env-map";
|
|
94593
94607
|
function Bzt(t) {
|
|
94594
94608
|
new _j.CommandMap(DM, {}, {}), new _j.EnvironmentMap(FM, Fzt.default.environment, {}, {}), t.append(KY.Configuration.local({
|
|
94595
94609
|
handler: {
|
|
@@ -94957,7 +94971,7 @@ function tJ() {
|
|
|
94957
94971
|
return T && T.__esModule ? T : { default: T };
|
|
94958
94972
|
};
|
|
94959
94973
|
Object.defineProperty(s9, "__esModule", { value: !0 }), s9.MathtoolsUtil = void 0;
|
|
94960
|
-
var r = Sr, n = e(fi()), i = e(Ho()), o = e(Cn), s = la, a =
|
|
94974
|
+
var r = Sr, n = e(fi()), i = e(Ho()), o = e(Cn), s = la, a = q1, u = eJ(), d = rJ();
|
|
94961
94975
|
return s9.MathtoolsUtil = {
|
|
94962
94976
|
setDisplayLevel: function(T, f) {
|
|
94963
94977
|
if (f) {
|
|
@@ -95053,7 +95067,7 @@ function eJ() {
|
|
|
95053
95067
|
return x && x.__esModule ? x : { default: x };
|
|
95054
95068
|
};
|
|
95055
95069
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsMethods = void 0;
|
|
95056
|
-
var o = i(fi()), s = Qc, a = i(_2), u = i(Ho()), d = i(Cn), T = i(Ti), f = Cr, Q = M3, y =
|
|
95070
|
+
var o = i(fi()), s = Qc, a = i(_2), u = i(Ho()), d = i(Cn), T = i(Ti), f = Cr, Q = M3, y = q1, _ = i(gc), L = i(hp), E = tJ();
|
|
95057
95071
|
t.MathtoolsMethods = {
|
|
95058
95072
|
MtMatrix: function(x, O, k, R) {
|
|
95059
95073
|
var F = x.GetBrackets("\\begin{".concat(O.getName(), "}"), "c");
|
|
@@ -95641,7 +95655,7 @@ function rJ() {
|
|
|
95641
95655
|
return _ && _.__esModule ? _ : { default: _ };
|
|
95642
95656
|
}, n;
|
|
95643
95657
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsConfiguration = t.fixPrescripts = t.PAIREDDELIMS = void 0;
|
|
95644
|
-
var i = yn, o = Rr, s = r(Ti), a =
|
|
95658
|
+
var i = yn, o = Rr, s = r(Ti), a = q1;
|
|
95645
95659
|
cUt();
|
|
95646
95660
|
var u = tJ(), d = c_, T = u_;
|
|
95647
95661
|
t.PAIREDDELIMS = "mathtools-paired-delims";
|
|
@@ -97466,7 +97480,7 @@ var yO = {}, RUt = P && P.__read || function(t, e) {
|
|
|
97466
97480
|
return t && t.__esModule ? t : { default: t };
|
|
97467
97481
|
};
|
|
97468
97482
|
Object.defineProperty(yO, "__esModule", { value: !0 });
|
|
97469
|
-
var vO = Tp(_2),
|
|
97483
|
+
var vO = Tp(_2), G1 = Tp(Ho()), K8 = Tp(Cn), _O = Cr, Hh = Tp(fi()), BM = Tp(Ti), NUt = Tc, qn = {}, iJ = {
|
|
97470
97484
|
"(": ")",
|
|
97471
97485
|
"[": "]",
|
|
97472
97486
|
"{": "}",
|
|
@@ -97497,7 +97511,7 @@ qn.Quantity = function(t, e, r, n, i, o, s) {
|
|
|
97497
97511
|
}
|
|
97498
97512
|
if (u === "{") {
|
|
97499
97513
|
var _ = t.GetArgument(e);
|
|
97500
|
-
u = i ? r : "\\{", Q = i ? n : "\\}", _ = a ? u + " " + _ + " " + Q : T ? "\\" + T + "l" + u + " " + _ + " \\" + T + "r" + Q : "\\left" + u + " " + _ + " \\right" + Q, t.Push(new
|
|
97514
|
+
u = i ? r : "\\{", Q = i ? n : "\\}", _ = a ? u + " " + _ + " " + Q : T ? "\\" + T + "l" + u + " " + _ + " \\" + T + "r" + Q : "\\left" + u + " " + _ + " \\right" + Q, t.Push(new G1.default(_, t.stack.env, t.configuration).mml());
|
|
97501
97515
|
return;
|
|
97502
97516
|
}
|
|
97503
97517
|
i && (u = r, Q = n), t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: u, close: Q, big: T }));
|
|
@@ -97531,7 +97545,7 @@ qn.Commutator = function(t, e, r, n) {
|
|
|
97531
97545
|
if (o !== "{")
|
|
97532
97546
|
throw new K8.default("MissingArgFor", "Missing argument for %1", t.currentCS);
|
|
97533
97547
|
var a = t.GetArgument(e), u = t.GetArgument(e), d = a + "," + u;
|
|
97534
|
-
d = i ? r + " " + d + " " + n : s ? "\\" + s + "l" + r + " " + d + " \\" + s + "r" + n : "\\left" + r + " " + d + " \\right" + n, t.Push(new
|
|
97548
|
+
d = i ? r + " " + d + " " + n : s ? "\\" + s + "l" + r + " " + d + " \\" + s + "r" + n : "\\left" + r + " " + d + " \\right" + n, t.Push(new G1.default(d, t.stack.env, t.configuration).mml());
|
|
97535
97549
|
};
|
|
97536
97550
|
var DUt = [65, 90], FUt = [97, 122], BUt = [913, 937], jUt = [945, 969], zUt = [48, 57];
|
|
97537
97551
|
function a9(t, e) {
|
|
@@ -97544,7 +97558,7 @@ function UUt(t, e, r, n) {
|
|
|
97544
97558
|
qn.VectorBold = function(t, e) {
|
|
97545
97559
|
var r = t.GetStar(), n = t.GetArgument(e), i = t.configuration.nodeFactory.get("token"), o = t.stack.env.font;
|
|
97546
97560
|
delete t.stack.env.font, t.configuration.nodeFactory.set("token", UUt), t.stack.env.vectorFont = r ? "bold-italic" : "bold", t.stack.env.vectorStar = r;
|
|
97547
|
-
var s = new
|
|
97561
|
+
var s = new G1.default(n, t.stack.env, t.configuration).mml();
|
|
97548
97562
|
o && (t.stack.env.font = o), delete t.stack.env.vectorFont, delete t.stack.env.vectorStar, t.configuration.nodeFactory.set("token", i), t.Push(s);
|
|
97549
97563
|
};
|
|
97550
97564
|
qn.StarMacro = function(t, e, r) {
|
|
@@ -97558,7 +97572,7 @@ qn.StarMacro = function(t, e, r) {
|
|
|
97558
97572
|
u = Hh.default.substituteArgs(t, s, u), t.string = Hh.default.addArgs(t, u, t.string.slice(t.i)), t.i = 0, Hh.default.checkMaxMacros(t);
|
|
97559
97573
|
};
|
|
97560
97574
|
var sJ = function(t, e, r, n, i) {
|
|
97561
|
-
var o = new
|
|
97575
|
+
var o = new G1.default(n, t.stack.env, t.configuration).mml();
|
|
97562
97576
|
t.Push(t.itemFactory.create(e, o));
|
|
97563
97577
|
var s = t.GetNext(), a = iJ[s];
|
|
97564
97578
|
if (a) {
|
|
@@ -97586,7 +97600,7 @@ qn.Expression = function(t, e, r, n) {
|
|
|
97586
97600
|
r === void 0 && (r = !0), n === void 0 && (n = ""), n = n || e.slice(1);
|
|
97587
97601
|
var i = r ? t.GetBrackets(e) : null, o = t.create("token", "mi", { texClass: _O.TEXCLASS.OP }, n);
|
|
97588
97602
|
if (i) {
|
|
97589
|
-
var s = new
|
|
97603
|
+
var s = new G1.default(i, t.stack.env, t.configuration).mml();
|
|
97590
97604
|
o = t.create("node", "msup", [o, s]);
|
|
97591
97605
|
}
|
|
97592
97606
|
t.Push(t.itemFactory.create("fn", o)), t.GetNext() === "(" && (t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: "(", close: ")" })));
|
|
@@ -97599,17 +97613,17 @@ qn.Differential = function(t, e, r) {
|
|
|
97599
97613
|
var n = t.GetBrackets(e), i = n != null ? "^{" + n + "}" : " ", o = t.GetNext() === "(", s = t.GetNext() === "{", a = r + i;
|
|
97600
97614
|
if (!(o || s)) {
|
|
97601
97615
|
a += t.GetArgument(e, !0) || "";
|
|
97602
|
-
var u = new
|
|
97616
|
+
var u = new G1.default(a, t.stack.env, t.configuration).mml();
|
|
97603
97617
|
t.Push(u);
|
|
97604
97618
|
return;
|
|
97605
97619
|
}
|
|
97606
97620
|
if (s) {
|
|
97607
97621
|
a += t.GetArgument(e);
|
|
97608
|
-
var u = new
|
|
97622
|
+
var u = new G1.default(a, t.stack.env, t.configuration).mml();
|
|
97609
97623
|
t.Push(t.create("node", "TeXAtom", [u], { texClass: _O.TEXCLASS.OP }));
|
|
97610
97624
|
return;
|
|
97611
97625
|
}
|
|
97612
|
-
t.Push(new
|
|
97626
|
+
t.Push(new G1.default(a, t.stack.env, t.configuration).mml()), t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: "(", close: ")" }));
|
|
97613
97627
|
};
|
|
97614
97628
|
qn.Derivative = function(t, e, r, n) {
|
|
97615
97629
|
var i = t.GetStar(), o = t.GetBrackets(e), s = 1, a = [];
|
|
@@ -97620,7 +97634,7 @@ qn.Derivative = function(t, e, r, n) {
|
|
|
97620
97634
|
for (var f = i ? "\\flatfrac" : "\\frac", Q = a.length > 1 ? a[0] : "", y = a.length > 1 ? a[1] : a[0], _ = "", L = 2, E = void 0; E = a[L]; L++)
|
|
97621
97635
|
_ += n + " " + E;
|
|
97622
97636
|
var x = f + "{" + n + d + Q + "}{" + n + " " + y + T + " " + _ + "}";
|
|
97623
|
-
t.Push(new
|
|
97637
|
+
t.Push(new G1.default(x, t.stack.env, t.configuration).mml()), t.GetNext() === "(" && (t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: "(", close: ")", ignore: u })));
|
|
97624
97638
|
};
|
|
97625
97639
|
qn.Bra = function(t, e) {
|
|
97626
97640
|
var r = t.GetStar(), n = t.GetArgument(e), i = "", o = !1, s = !1;
|
|
@@ -97631,23 +97645,23 @@ qn.Bra = function(t, e) {
|
|
|
97631
97645
|
d && d.symbol === "ket" ? (o = !0, a = t.i, s = t.GetStar(), t.GetNext() === "{" ? i = t.GetArgument(u, !0) : (t.i = a, s = !1)) : t.i = a;
|
|
97632
97646
|
}
|
|
97633
97647
|
var T = "";
|
|
97634
|
-
o ? T = r || s ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle") : T = r || s ? "\\langle{".concat(n, "}\\vert") : "\\left\\langle{".concat(n, "}\\right\\vert{").concat(i, "}"), t.Push(new
|
|
97648
|
+
o ? T = r || s ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle") : T = r || s ? "\\langle{".concat(n, "}\\vert") : "\\left\\langle{".concat(n, "}\\right\\vert{").concat(i, "}"), t.Push(new G1.default(T, t.stack.env, t.configuration).mml());
|
|
97635
97649
|
};
|
|
97636
97650
|
qn.Ket = function(t, e) {
|
|
97637
97651
|
var r = t.GetStar(), n = t.GetArgument(e), i = r ? "\\vert{".concat(n, "}\\rangle") : "\\left\\vert{".concat(n, "}\\right\\rangle");
|
|
97638
|
-
t.Push(new
|
|
97652
|
+
t.Push(new G1.default(i, t.stack.env, t.configuration).mml());
|
|
97639
97653
|
};
|
|
97640
97654
|
qn.BraKet = function(t, e) {
|
|
97641
97655
|
var r = t.GetStar(), n = t.GetArgument(e), i = null;
|
|
97642
97656
|
t.GetNext() === "{" && (i = t.GetArgument(e, !0));
|
|
97643
97657
|
var o = "";
|
|
97644
|
-
i == null ? o = r ? "\\langle{".concat(n, "}\\vert{").concat(n, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(n, "}\\right\\rangle") : o = r ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle"), t.Push(new
|
|
97658
|
+
i == null ? o = r ? "\\langle{".concat(n, "}\\vert{").concat(n, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(n, "}\\right\\rangle") : o = r ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle"), t.Push(new G1.default(o, t.stack.env, t.configuration).mml());
|
|
97645
97659
|
};
|
|
97646
97660
|
qn.KetBra = function(t, e) {
|
|
97647
97661
|
var r = t.GetStar(), n = t.GetArgument(e), i = null;
|
|
97648
97662
|
t.GetNext() === "{" && (i = t.GetArgument(e, !0));
|
|
97649
97663
|
var o = "";
|
|
97650
|
-
i == null ? o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(n, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(n, "}\\right\\vert") : o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(i, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(i, "}\\right\\vert"), t.Push(new
|
|
97664
|
+
i == null ? o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(n, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(n, "}\\right\\vert") : o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(i, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(i, "}\\right\\vert"), t.Push(new G1.default(o, t.stack.env, t.configuration).mml());
|
|
97651
97665
|
};
|
|
97652
97666
|
function aJ(t, e, r) {
|
|
97653
97667
|
var n = RUt(t, 3), i = n[0], o = n[1], s = n[2];
|
|
@@ -97657,11 +97671,11 @@ qn.Expectation = function(t, e) {
|
|
|
97657
97671
|
var r = t.GetStar(), n = r && t.GetStar(), i = t.GetArgument(e), o = null;
|
|
97658
97672
|
t.GetNext() === "{" && (o = t.GetArgument(e, !0));
|
|
97659
97673
|
var s = i && o ? aJ([o, i, o], r, n) : r ? "\\langle {".concat(i, "} \\rangle") : "\\left\\langle {".concat(i, "} \\right\\rangle");
|
|
97660
|
-
t.Push(new
|
|
97674
|
+
t.Push(new G1.default(s, t.stack.env, t.configuration).mml());
|
|
97661
97675
|
};
|
|
97662
97676
|
qn.MatrixElement = function(t, e) {
|
|
97663
97677
|
var r = t.GetStar(), n = r && t.GetStar(), i = t.GetArgument(e), o = t.GetArgument(e), s = t.GetArgument(e), a = aJ([i, o, s], r, n);
|
|
97664
|
-
t.Push(new
|
|
97678
|
+
t.Push(new G1.default(a, t.stack.env, t.configuration).mml());
|
|
97665
97679
|
};
|
|
97666
97680
|
qn.MatrixQuantity = function(t, e, r) {
|
|
97667
97681
|
var n = t.GetStar(), i = t.GetNext(), o = r ? "smallmatrix" : "array", s = "", a = "", u = "";
|
|
@@ -97683,7 +97697,7 @@ qn.MatrixQuantity = function(t, e, r) {
|
|
|
97683
97697
|
break;
|
|
97684
97698
|
}
|
|
97685
97699
|
var d = (a ? "\\left" : "") + a + "\\begin{" + o + "}{} " + s + "\\end{" + o + "}" + (a ? "\\right" : "") + u;
|
|
97686
|
-
t.Push(new
|
|
97700
|
+
t.Push(new G1.default(d, t.stack.env, t.configuration).mml());
|
|
97687
97701
|
};
|
|
97688
97702
|
qn.IdentityMatrix = function(t, e) {
|
|
97689
97703
|
var r = t.GetArgument(e), n = parseInt(r, 10);
|
|
@@ -97783,11 +97797,11 @@ qn.AutoClose = function(t, e, r) {
|
|
|
97783
97797
|
};
|
|
97784
97798
|
qn.Vnabla = function(t, e) {
|
|
97785
97799
|
var r = t.options.physics.arrowdel ? "\\vec{\\gradientnabla}" : "{\\gradientnabla}";
|
|
97786
|
-
return t.Push(new
|
|
97800
|
+
return t.Push(new G1.default(r, t.stack.env, t.configuration).mml());
|
|
97787
97801
|
};
|
|
97788
97802
|
qn.DiffD = function(t, e) {
|
|
97789
97803
|
var r = t.options.physics.italicdiff ? "d" : "{\\rm d}";
|
|
97790
|
-
return t.Push(new
|
|
97804
|
+
return t.Push(new G1.default(r, t.stack.env, t.configuration).mml());
|
|
97791
97805
|
};
|
|
97792
97806
|
qn.Macro = vO.default.Macro;
|
|
97793
97807
|
qn.NamedFn = vO.default.NamedFn;
|
|
@@ -98064,7 +98078,7 @@ var ZUt = {};
|
|
|
98064
98078
|
return Q && Q.__esModule ? Q : { default: Q };
|
|
98065
98079
|
};
|
|
98066
98080
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SetOptionsConfiguration = t.SetOptionsUtil = void 0;
|
|
98067
|
-
var n = yn, i = Rr, o = r(Cn), s = r(fi()), a = la, u = r(_2), d =
|
|
98081
|
+
var n = yn, i = Rr, o = r(Cn), s = r(fi()), a = la, u = r(_2), d = q1;
|
|
98068
98082
|
t.SetOptionsUtil = {
|
|
98069
98083
|
filterPackage: function(Q, y) {
|
|
98070
98084
|
if (y !== "tex" && !n.ConfigurationHandler.get(y))
|
|
@@ -98931,7 +98945,7 @@ var E5, Xi, U7, G7, B9, j9, z9, $7, jo, U9, m5, W7, G9, df, Z7, $9, q7, W9, X7,
|
|
|
98931
98945
|
class CGt {
|
|
98932
98946
|
constructor(e) {
|
|
98933
98947
|
Ft(this, m5), Ft(this, G9), Ft(this, Z7), Ft(this, q7), Ft(this, X7), Ft(this, hg), Ft(this, HQ), Ft(this, q9), Ft(this, Ah), Ft(this, E5, /* @__PURE__ */ new Map()), Ft(this, Xi, null), Ft(this, U7, /* @__PURE__ */ new Map()), Ft(this, G7, 0), Ft(this, B9, 9e5), Ft(this, j9, null), Ft(this, z9, void 0), Ft(this, $7, void 0), Ft(this, jo, /* @__PURE__ */ new Map()), Ft(this, U9, void 0), this._flatmap = e, this._map = e.map, this._currentPopup = null, this._infoControl = null, this._tooltip = null, this._inQuery = !1, this._modal = !1, this.__colourOptions = { colour: !0, outline: !0 }, this.__activeMarker = null, this.__markerIdByMarker = /* @__PURE__ */ new Map(), this.__markerIdByFeatureId = /* @__PURE__ */ new Map(), this.__annotationByMarkerId = /* @__PURE__ */ new Map(), this.__markerPositions = /* @__PURE__ */ new Map(), this.__featureEnabledCount = new Map(Array.from(this._flatmap.annotations.keys()).map((o) => [+o, 0]));
|
|
98934
|
-
const r = e.options.style !==
|
|
98948
|
+
const r = e.options.style !== U1.FUNCTIONAL;
|
|
98935
98949
|
this.tooltipDelay = e.options.tooltipDelay || 0, this.__pathManager = new Bgt(e, this, r);
|
|
98936
98950
|
const n = this.__pathManager.pathTypes();
|
|
98937
98951
|
if (this._layerManager = new Dkt(e, this), this.__pathManager.enablePathLines(!0, !0), Yt(this, $7, new jkt(n)), this._layerManager.addFilteredFacet(K(this, $7)), Yt(this, z9, new Bkt(this.__pathManager.nerveCentrelineDetails)), this._layerManager.addFilteredFacet(K(this, z9)), this.__systemsManager = new Ukt(this._flatmap, this, r), Yt(this, U9, new zkt(this._flatmap.taxonIdentifiers)), this._layerManager.addFilteredFacet(K(this, U9)), e.options.minimap && (Yt(this, j9, new sIt(
|
|
@@ -98942,7 +98956,7 @@ class CGt {
|
|
|
98942
98956
|
const o = e.options.navigationControl, s = typeof o == "string" && ["top-left", "top-right", "bottom-right", "bottom-left"].includes(o) ? o : "bottom-right";
|
|
98943
98957
|
this._map.addControl(new NavigationControl(e), s);
|
|
98944
98958
|
}
|
|
98945
|
-
e.options.standalone && (this._map.addControl(new nIt(e)), this._infoControl = new $kt(e), this._map.addControl(this._infoControl), this._map.addControl(new Kkt(e)), this._map.addControl(new eIt(e, n)), e.options.style ===
|
|
98959
|
+
e.options.standalone && (this._map.addControl(new nIt(e)), this._infoControl = new $kt(e), this._map.addControl(this._infoControl), this._map.addControl(new Kkt(e)), this._map.addControl(new eIt(e, n)), e.options.style === U1.ANATOMICAL && this.__pathManager.haveCentrelines && this._map.addControl(new tIt(e, this)), e.options.style === U1.FUNCTIONAL ? (this._map.addControl(new aIt(e, this.__systemsManager.systems)), this._map.addControl(new qkt(e, e.options.layerOptions))) : this._map.addControl(new lIt(e)), e.has_flightpaths && this._map.addControl(new rIt(e, e.options.flightPaths)), e.options.annotator && this._map.addControl(new Xkt(e)), this._map.addControl(new Zkt(e, this._layerManager))), this.__setupAnnotation(), Yt(this, Xi, new Jkt(e, !1)), this._map.addControl(K(this, Xi)), e.options.flightPaths === !0 && this._layerManager.setFlightPathMode(!0);
|
|
98946
98960
|
const i = this.mouseMoveEvent_.bind(this);
|
|
98947
98961
|
this._map.on("click", this.clickEvent_.bind(this)), this._map.on("dblclick", (o) => {
|
|
98948
98962
|
const s = this._layerManager.featuresAtPoint(o.point);
|
|
@@ -99232,6 +99246,12 @@ class CGt {
|
|
|
99232
99246
|
removeTooltip_() {
|
|
99233
99247
|
this._tooltip && (this._tooltip.remove(), this._tooltip = null);
|
|
99234
99248
|
}
|
|
99249
|
+
/**
|
|
99250
|
+
* Remove the currently active popup from the map.
|
|
99251
|
+
*/
|
|
99252
|
+
removePopup() {
|
|
99253
|
+
this._currentPopup && (this._currentPopup.remove(), this._currentPopup = null);
|
|
99254
|
+
}
|
|
99235
99255
|
lineTooltip_(e) {
|
|
99236
99256
|
const r = [];
|
|
99237
99257
|
for (const n of e) {
|
|
@@ -99305,7 +99325,7 @@ class CGt {
|
|
|
99305
99325
|
o || i || s
|
|
99306
99326
|
);
|
|
99307
99327
|
} else if (r.length) {
|
|
99308
|
-
if (this.__lastClickLngLat = e.lngLat, this._flatmap.options.style !==
|
|
99328
|
+
if (this.__lastClickLngLat = e.lngLat, this._flatmap.options.style !== U1.CENTRELINE)
|
|
99309
99329
|
se(this, q9, AQ).call(this, e.originalEvent), this.__featureEvent("click", i);
|
|
99310
99330
|
else {
|
|
99311
99331
|
const o = /* @__PURE__ */ new Set();
|
|
@@ -99571,7 +99591,7 @@ E5 = /* @__PURE__ */ new WeakMap(), Xi = /* @__PURE__ */ new WeakMap(), U7 = /*
|
|
|
99571
99591
|
i,
|
|
99572
99592
|
se(this, Ah, OQ).call(this, o, e)
|
|
99573
99593
|
) ? (this._lastFeatureMouseEntered = o, this._lastFeatureModelsMouse = s) : (this._lastFeatureMouseEntered = null, this._lastFeatureModelsMouse = null);
|
|
99574
|
-
else if (this._flatmap.options.style ===
|
|
99594
|
+
else if (this._flatmap.options.style === U1.CENTRELINE && i.properties.centreline && this._lastFeatureMouseEntered === o) {
|
|
99575
99595
|
const Q = se(this, Ah, OQ).call(this, o, e);
|
|
99576
99596
|
"location" in Q && this.__featureEvent("mousemove", i, Q);
|
|
99577
99597
|
}
|
|
@@ -99617,7 +99637,7 @@ E5 = /* @__PURE__ */ new WeakMap(), Xi = /* @__PURE__ */ new WeakMap(), U7 = /*
|
|
|
99617
99637
|
e ? this.selectFeature(r, i) : this.featureSelected_(r) ? this.unselectFeature(r) : this.selectFeature(r, i);
|
|
99618
99638
|
}
|
|
99619
99639
|
}, Ah = /* @__PURE__ */ new WeakSet(), OQ = function(t, e) {
|
|
99620
|
-
if (e && this._flatmap.options.style ===
|
|
99640
|
+
if (e && this._flatmap.options.style === U1.CENTRELINE) {
|
|
99621
99641
|
const r = this._flatmap.annotation(t);
|
|
99622
99642
|
if (r.centreline && "lineString" in r) {
|
|
99623
99643
|
const n = r.lineString, i = iH([e.lng, e.lat]);
|
|
@@ -99668,7 +99688,7 @@ const kGt = [
|
|
|
99668
99688
|
stretchY: [[7, 9]]
|
|
99669
99689
|
}
|
|
99670
99690
|
}
|
|
99671
|
-
], IGt = "3.2.
|
|
99691
|
+
], IGt = "3.2.12", PGt = 1.4, VGt = 1.6, fJ = "NCBITaxon:2787823", RGt = [
|
|
99672
99692
|
"bounds",
|
|
99673
99693
|
"class",
|
|
99674
99694
|
"coordinates",
|
|
@@ -99687,9 +99707,9 @@ const kGt = [
|
|
|
99687
99707
|
"source",
|
|
99688
99708
|
"tile-layer"
|
|
99689
99709
|
];
|
|
99690
|
-
class
|
|
99710
|
+
class U1 {
|
|
99691
99711
|
}
|
|
99692
|
-
dt(
|
|
99712
|
+
dt(U1, "FUNCTIONAL", "functional"), dt(U1, "ANATOMICAL", "anatomical"), dt(U1, "CENTRELINE", "centreline"), dt(U1, "GENERIC", "flatmap");
|
|
99693
99713
|
var X9, K9, Za, h2, Y9, D6, v8, CQ, GM;
|
|
99694
99714
|
class NGt {
|
|
99695
99715
|
constructor(e, r, n, i) {
|
|
@@ -99982,7 +100002,7 @@ class NGt {
|
|
|
99982
100002
|
o ? o.push(n) : r.set(i, [n]);
|
|
99983
100003
|
}
|
|
99984
100004
|
__updateFeatureIdMap(e, r, n, i = null) {
|
|
99985
|
-
if (!n.centreline)
|
|
100005
|
+
if (!(this.options.style !== U1.CENTRELINE && n.centreline))
|
|
99986
100006
|
if (e in n && n[e].length) {
|
|
99987
100007
|
const o = n[e];
|
|
99988
100008
|
if (Array.isArray(o))
|
|
@@ -100001,7 +100021,7 @@ class NGt {
|
|
|
100001
100021
|
const o = this.__featurePropertyValues.get(n);
|
|
100002
100022
|
Array.isArray(i) ? this.__featurePropertyValues.set(n, o.union(new z6(i.map((s) => `${s}`)))) : o.add(`${i}`);
|
|
100003
100023
|
}
|
|
100004
|
-
this.__annIdToFeatureId.set(r.id, e), this.options.style ===
|
|
100024
|
+
this.__annIdToFeatureId.set(r.id, e), this.options.style === U1.CENTRELINE && r.centreline && (r.lineString = JG(r.coordinates), r.lineLength = uW(r.lineString));
|
|
100005
100025
|
}
|
|
100006
100026
|
modelFeatureIds(e) {
|
|
100007
100027
|
const r = yT(e);
|
|
@@ -100133,6 +100153,12 @@ class NGt {
|
|
|
100133
100153
|
showPopup(e, r, n) {
|
|
100134
100154
|
this._userInteractions !== null && this._userInteractions.showPopup(e, r, n);
|
|
100135
100155
|
}
|
|
100156
|
+
/**
|
|
100157
|
+
* Remove the currently active popup from the map.
|
|
100158
|
+
*/
|
|
100159
|
+
removePopup() {
|
|
100160
|
+
this._userInteractions !== null && this._userInteractions.removePopup();
|
|
100161
|
+
}
|
|
100136
100162
|
setPaint(e = null) {
|
|
100137
100163
|
e = p8(e, {
|
|
100138
100164
|
colour: !0,
|
|
@@ -100451,7 +100477,7 @@ class NGt {
|
|
|
100451
100477
|
* `draw_polygon` or `draw_point`. Options is accepted in first three modes.
|
|
100452
100478
|
* More details in mapbox-gl-draw github repository.
|
|
100453
100479
|
*
|
|
100454
|
-
* @param type {Object} The object
|
|
100480
|
+
* @param type {Object} The object
|
|
100455
100481
|
* @param type.mode {string} Either ``simple_select``, ``direct_select``, etc
|
|
100456
100482
|
* @param type.options {Object} Feature id(s) object.
|
|
100457
100483
|
*/
|
|
@@ -100907,7 +100933,7 @@ class xO {
|
|
|
100907
100933
|
if (u !== T)
|
|
100908
100934
|
throw new Error(`Map '${u}' has wrong ID in index`);
|
|
100909
100935
|
const f = Object.assign({}, this._options, i);
|
|
100910
|
-
!("bounds" in i) && "bounds" in d && (f.bounds = d.bounds), "style" in d ? f.style = d.style : f.style =
|
|
100936
|
+
!("bounds" in i) && "bounds" in d && (f.bounds = d.bounds), "style" in d ? f.style = d.style : f.style = U1.GENERIC, !("image-layers" in d) && "image_layer" in d && (d["image-layers"] = d.image_layer);
|
|
100911
100937
|
let Q = [];
|
|
100912
100938
|
if (!("version" in d) || d.version <= 1)
|
|
100913
100939
|
for (const x of d.layers)
|
|
@@ -101517,7 +101543,7 @@ This will fail in production.`);
|
|
|
101517
101543
|
u._hotUpdate(Q), delete a.state.value[f], a._s.delete(f);
|
|
101518
101544
|
}
|
|
101519
101545
|
if (process.env.NODE_ENV !== "production" && EO) {
|
|
101520
|
-
const f =
|
|
101546
|
+
const f = $1();
|
|
101521
101547
|
if (f && f.proxy && // avoid adding stores that are just built for hot module replacement
|
|
101522
101548
|
!u) {
|
|
101523
101549
|
const Q = f.proxy, y = "_pStores" in Q ? Q._pStores : Q._pStores = {};
|
|
@@ -101609,7 +101635,7 @@ const qGt = WGt("main", {
|
|
|
101609
101635
|
},
|
|
101610
101636
|
setup(t) {
|
|
101611
101637
|
let e = ln("$annotator");
|
|
101612
|
-
return e || (e = xo(new BGt(`${t.flatmapAPI}annotator`)),
|
|
101638
|
+
return e || (e = xo(new BGt(`${t.flatmapAPI}annotator`)), W1("$annotator", e)), { annotator: e };
|
|
101613
101639
|
},
|
|
101614
101640
|
methods: {
|
|
101615
101641
|
/**
|
|
@@ -102248,7 +102274,7 @@ const qGt = WGt("main", {
|
|
|
102248
102274
|
* Function to remove active tooltips on map.
|
|
102249
102275
|
*/
|
|
102250
102276
|
removeActiveTooltips: function() {
|
|
102251
|
-
this.$el.querySelectorAll(".flatmap-tooltip-popup").forEach((e) => e.remove());
|
|
102277
|
+
this.mapImp && this.mapImp.removePopup(), this.$el.querySelectorAll(".flatmap-tooltip-popup").forEach((e) => e.remove());
|
|
102252
102278
|
},
|
|
102253
102279
|
/**
|
|
102254
102280
|
* Function to create tooltip for the provided connectivity data.
|
|
@@ -103165,7 +103191,7 @@ const qGt = WGt("main", {
|
|
|
103165
103191
|
mounted: function() {
|
|
103166
103192
|
this.openMapRef = IQ(this.$refs.openMapRef), this.backgroundIconRef = IQ(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.flatmapQueries = xo(new F4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
|
103167
103193
|
}
|
|
103168
|
-
}, Qa = (t) => (KM("data-v-
|
|
103194
|
+
}, Qa = (t) => (KM("data-v-0c1f2dcf"), t = t(), YM(), t), t$t = {
|
|
103169
103195
|
class: "flatmap-container",
|
|
103170
103196
|
ref: "flatmapContainer",
|
|
103171
103197
|
"element-loading-text": "Loading...",
|
|
@@ -103881,7 +103907,7 @@ function L$t(t, e, r, n, i, o) {
|
|
|
103881
103907
|
[ct, t.loading]
|
|
103882
103908
|
]);
|
|
103883
103909
|
}
|
|
103884
|
-
const yJ = /* @__PURE__ */ Og(JGt, [["render", L$t], ["__scopeId", "data-v-
|
|
103910
|
+
const yJ = /* @__PURE__ */ Og(JGt, [["render", L$t], ["__scopeId", "data-v-0c1f2dcf"]]);
|
|
103885
103911
|
function w$t(t) {
|
|
103886
103912
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
|
103887
103913
|
var n = t.get(e);
|