@abi-software/flatmapvuer 1.7.1-beta.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +573 -574
- package/dist/flatmapvuer.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +1 -8
- package/src/components/FlatmapVuer.vue +2 -3
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as Zj, onScopeDispose as XM, unref as vt, getCurrentInstance as G1, onMounted as W1, nextTick as i1, ref as ke, readonly as qj, watch as on, defineComponent as mr, openBlock as ce, createElementBlock as tr, createElementVNode as
|
|
1
|
+
import { getCurrentScope as Zj, onScopeDispose as XM, unref as vt, getCurrentInstance as G1, onMounted as W1, nextTick as i1, ref as ke, readonly as qj, watch as on, defineComponent as mr, openBlock as ce, createElementBlock as tr, createElementVNode as Fe, warn as Tet, watchEffect as Xj, onBeforeUnmount as Rs, inject as ln, computed as Kt, isRef as g2, shallowRef as IQ, onBeforeMount as fet, provide as $1, 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 Be, normalizeStyle as M1, vShow as d2, Fragment as Eo, createVNode as ze, reactive as c3, onActivated as met, onUpdated as get, resolveDynamicComponent as Ss, 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 xs, 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) => {
|
|
@@ -1206,7 +1206,7 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1206
1206
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1207
1207
|
viewBox: "0 0 1024 1024"
|
|
1208
1208
|
}, [
|
|
1209
|
-
|
|
1209
|
+
Fe("path", {
|
|
1210
1210
|
fill: "currentColor",
|
|
1211
1211
|
d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
|
|
1212
1212
|
})
|
|
@@ -1220,7 +1220,7 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1220
1220
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1221
1221
|
viewBox: "0 0 1024 1024"
|
|
1222
1222
|
}, [
|
|
1223
|
-
|
|
1223
|
+
Fe("path", {
|
|
1224
1224
|
fill: "currentColor",
|
|
1225
1225
|
d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
|
|
1226
1226
|
})
|
|
@@ -1234,11 +1234,11 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1234
1234
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1235
1235
|
viewBox: "0 0 1024 1024"
|
|
1236
1236
|
}, [
|
|
1237
|
-
|
|
1237
|
+
Fe("path", {
|
|
1238
1238
|
fill: "currentColor",
|
|
1239
1239
|
d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
1240
1240
|
}),
|
|
1241
|
-
|
|
1241
|
+
Fe("path", {
|
|
1242
1242
|
fill: "currentColor",
|
|
1243
1243
|
d: "M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"
|
|
1244
1244
|
})
|
|
@@ -1252,11 +1252,11 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1252
1252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1253
1253
|
viewBox: "0 0 1024 1024"
|
|
1254
1254
|
}, [
|
|
1255
|
-
|
|
1255
|
+
Fe("path", {
|
|
1256
1256
|
fill: "currentColor",
|
|
1257
1257
|
d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
|
|
1258
1258
|
}),
|
|
1259
|
-
|
|
1259
|
+
Fe("path", {
|
|
1260
1260
|
fill: "currentColor",
|
|
1261
1261
|
d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
1262
1262
|
})
|
|
@@ -1270,7 +1270,7 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1270
1270
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1271
1271
|
viewBox: "0 0 1024 1024"
|
|
1272
1272
|
}, [
|
|
1273
|
-
|
|
1273
|
+
Fe("path", {
|
|
1274
1274
|
fill: "currentColor",
|
|
1275
1275
|
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
1276
1276
|
})
|
|
@@ -1284,7 +1284,7 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1284
1284
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1285
1285
|
viewBox: "0 0 1024 1024"
|
|
1286
1286
|
}, [
|
|
1287
|
-
|
|
1287
|
+
Fe("path", {
|
|
1288
1288
|
fill: "currentColor",
|
|
1289
1289
|
d: "M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"
|
|
1290
1290
|
})
|
|
@@ -1298,7 +1298,7 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1298
1298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1299
1299
|
viewBox: "0 0 1024 1024"
|
|
1300
1300
|
}, [
|
|
1301
|
-
|
|
1301
|
+
Fe("path", {
|
|
1302
1302
|
fill: "currentColor",
|
|
1303
1303
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
|
|
1304
1304
|
})
|
|
@@ -1312,7 +1312,7 @@ var tot = /* @__PURE__ */ mr({
|
|
|
1312
1312
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1313
1313
|
viewBox: "0 0 1024 1024"
|
|
1314
1314
|
}, [
|
|
1315
|
-
|
|
1315
|
+
Fe("path", {
|
|
1316
1316
|
fill: "currentColor",
|
|
1317
1317
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"
|
|
1318
1318
|
})
|
|
@@ -2133,8 +2133,8 @@ function T2t(t) {
|
|
|
2133
2133
|
U[R] = Ct, gt[R] = Ct - Pe;
|
|
2134
2134
|
}
|
|
2135
2135
|
if (a) {
|
|
2136
|
-
var en, Jr = R === "x" ? Q2 : m2,
|
|
2137
|
-
U[F] = ye, gt[F] = ye -
|
|
2136
|
+
var en, Jr = R === "x" ? Q2 : m2, Ar = R === "x" ? ks : Is, Nr = U[F], dn = F === "y" ? "height" : "width", ji = Nr + E[Jr], Ji = Nr - E[Ar], ki = [Q2, m2].indexOf(x) !== -1, _i = (en = nt == null ? void 0 : nt[F]) != null ? en : 0, Ii = ki ? ji : Nr - $[dn] - et[dn] - _i + ct.altAxis, c1 = ki ? Nr + $[dn] + et[dn] - _i - ct.altAxis : Ji, ye = y && ki ? Bot(Ii, Nr, c1) : rh(y ? Ii : ji, Nr, y ? c1 : Ji);
|
|
2137
|
+
U[F] = ye, gt[F] = ye - Nr;
|
|
2138
2138
|
}
|
|
2139
2139
|
e.modifiersData[n] = gt;
|
|
2140
2140
|
}
|
|
@@ -2637,7 +2637,7 @@ const q2t = Mn({
|
|
|
2637
2637
|
class: vt(r).b(),
|
|
2638
2638
|
style: vt(n)
|
|
2639
2639
|
}, i.$attrs), [
|
|
2640
|
-
|
|
2640
|
+
Vr(i.$slots, "default")
|
|
2641
2641
|
], 16));
|
|
2642
2642
|
}
|
|
2643
2643
|
});
|
|
@@ -2761,18 +2761,18 @@ const d3 = v2(Y2t), _S = Symbol("formContextKey"), BQ = Symbol("formItemContextK
|
|
|
2761
2761
|
const F = () => {
|
|
2762
2762
|
document.onselectstart !== T && (document.onselectstart = T);
|
|
2763
2763
|
};
|
|
2764
|
-
return ea(K2(r, "scrollbarElement"), "mousemove", k), ea(K2(r, "scrollbarElement"), "mouseleave", R), (U, $) => (ce(),
|
|
2764
|
+
return ea(K2(r, "scrollbarElement"), "mousemove", k), ea(K2(r, "scrollbarElement"), "mouseleave", R), (U, $) => (ce(), Hr(cd, {
|
|
2765
2765
|
name: vt(n).b("fade"),
|
|
2766
2766
|
persisted: ""
|
|
2767
2767
|
}, {
|
|
2768
2768
|
default: ge(() => [
|
|
2769
|
-
gi(
|
|
2769
|
+
gi(Fe("div", {
|
|
2770
2770
|
ref_key: "instance",
|
|
2771
2771
|
ref: i,
|
|
2772
2772
|
class: Be([vt(n).e("bar"), vt(n).is(vt(f).key)]),
|
|
2773
2773
|
onMousedown: L
|
|
2774
2774
|
}, [
|
|
2775
|
-
|
|
2775
|
+
Fe("div", {
|
|
2776
2776
|
ref_key: "thumb",
|
|
2777
2777
|
ref: o,
|
|
2778
2778
|
class: Be(vt(n).e("thumb")),
|
|
@@ -2817,13 +2817,13 @@ const ist = Mn({
|
|
|
2817
2817
|
u.value = L / (y - L) / (x / (y - x)), d.value = E / (_ - E) / (O / (_ - O)), a.value = x + Xl < y ? `${x}px` : "", s.value = O + Xl < _ ? `${O}px` : "";
|
|
2818
2818
|
}
|
|
2819
2819
|
}), (Q, y) => (ce(), tr(Eo, null, [
|
|
2820
|
-
|
|
2820
|
+
ze(cI, {
|
|
2821
2821
|
move: i.value,
|
|
2822
2822
|
ratio: d.value,
|
|
2823
2823
|
size: s.value,
|
|
2824
2824
|
always: Q.always
|
|
2825
2825
|
}, null, 8, ["move", "ratio", "size", "always"]),
|
|
2826
|
-
|
|
2826
|
+
ze(cI, {
|
|
2827
2827
|
move: o.value,
|
|
2828
2828
|
ratio: u.value,
|
|
2829
2829
|
size: a.value,
|
|
@@ -2955,7 +2955,7 @@ const ast = Mn({
|
|
|
2955
2955
|
ref: d,
|
|
2956
2956
|
class: Be(vt(i).b())
|
|
2957
2957
|
}, [
|
|
2958
|
-
|
|
2958
|
+
Fe("div", {
|
|
2959
2959
|
ref_key: "wrapRef",
|
|
2960
2960
|
ref: T,
|
|
2961
2961
|
class: Be(vt(_)),
|
|
@@ -2963,7 +2963,7 @@ const ast = Mn({
|
|
|
2963
2963
|
tabindex: F.tabindex,
|
|
2964
2964
|
onScroll: E
|
|
2965
2965
|
}, [
|
|
2966
|
-
(ce(),
|
|
2966
|
+
(ce(), Hr(Ss(F.tag), {
|
|
2967
2967
|
id: F.id,
|
|
2968
2968
|
ref_key: "resizeRef",
|
|
2969
2969
|
ref: f,
|
|
@@ -2974,12 +2974,12 @@ const ast = Mn({
|
|
|
2974
2974
|
"aria-orientation": F.ariaOrientation
|
|
2975
2975
|
}, {
|
|
2976
2976
|
default: ge(() => [
|
|
2977
|
-
|
|
2977
|
+
Vr(F.$slots, "default")
|
|
2978
2978
|
]),
|
|
2979
2979
|
_: 3
|
|
2980
2980
|
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
2981
2981
|
], 46, ["tabindex"]),
|
|
2982
|
-
F.native ?
|
|
2982
|
+
F.native ? Pr("v-if", !0) : (ce(), Hr(sst, {
|
|
2983
2983
|
key: 0,
|
|
2984
2984
|
ref_key: "barRef",
|
|
2985
2985
|
ref: Q,
|
|
@@ -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), $1(LS, u), (d, T) =>
|
|
3022
|
+
return e(u), $1(LS, u), (d, T) => Vr(d.$slots, "default");
|
|
3023
3023
|
}
|
|
3024
3024
|
});
|
|
3025
3025
|
var Qst = /* @__PURE__ */ Sn(fst, [["__file", "popper.vue"]]);
|
|
@@ -3095,7 +3095,7 @@ function rU(t) {
|
|
|
3095
3095
|
}
|
|
3096
3096
|
function uI(t) {
|
|
3097
3097
|
const e = Bn("only-child");
|
|
3098
|
-
return
|
|
3098
|
+
return ze("span", {
|
|
3099
3099
|
class: e.e("content")
|
|
3100
3100
|
}, [t]);
|
|
3101
3101
|
}
|
|
@@ -3191,14 +3191,14 @@ const nU = Mn({
|
|
|
3191
3191
|
}
|
|
3192
3192
|
}), e({
|
|
3193
3193
|
triggerRef: i
|
|
3194
|
-
}), (f, Q) => f.virtualTriggering ?
|
|
3194
|
+
}), (f, Q) => f.virtualTriggering ? Pr("v-if", !0) : (ce(), Hr(vt(vst), rl({ key: 0 }, f.$attrs, {
|
|
3195
3195
|
"aria-controls": vt(o),
|
|
3196
3196
|
"aria-describedby": vt(s),
|
|
3197
3197
|
"aria-expanded": vt(u),
|
|
3198
3198
|
"aria-haspopup": vt(a)
|
|
3199
3199
|
}), {
|
|
3200
3200
|
default: ge(() => [
|
|
3201
|
-
|
|
3201
|
+
Vr(f.$slots, "default")
|
|
3202
3202
|
]),
|
|
3203
3203
|
_: 3
|
|
3204
3204
|
}, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup"]));
|
|
@@ -3420,7 +3420,7 @@ const Hst = () => {
|
|
|
3420
3420
|
}
|
|
3421
3421
|
});
|
|
3422
3422
|
function Ist(t, e, r, n, i, o) {
|
|
3423
|
-
return
|
|
3423
|
+
return Vr(t.$slots, "default", { handleKeydown: t.onKeydown });
|
|
3424
3424
|
}
|
|
3425
3425
|
var sU = /* @__PURE__ */ Sn(kst, [["render", Ist], ["__file", "focus-trap.vue"]]);
|
|
3426
3426
|
const Pst = ["fixed", "absolute"], Vst = Mn({
|
|
@@ -3717,7 +3717,7 @@ const jst = 0, zst = (t) => {
|
|
|
3717
3717
|
onMouseenter: (oe) => It.$emit("mouseenter", oe),
|
|
3718
3718
|
onMouseleave: (oe) => It.$emit("mouseleave", oe)
|
|
3719
3719
|
}), [
|
|
3720
|
-
|
|
3720
|
+
ze(vt(sU), {
|
|
3721
3721
|
trapped: vt(o),
|
|
3722
3722
|
"trap-on-focus-in": !0,
|
|
3723
3723
|
"focus-trap-el": vt(y),
|
|
@@ -3729,7 +3729,7 @@ const jst = 0, zst = (t) => {
|
|
|
3729
3729
|
onReleaseRequested: vt(T)
|
|
3730
3730
|
}, {
|
|
3731
3731
|
default: ge(() => [
|
|
3732
|
-
|
|
3732
|
+
Vr(It.$slots, "default")
|
|
3733
3733
|
]),
|
|
3734
3734
|
_: 3
|
|
3735
3735
|
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusin", "onFocusoutPrevented", "onReleaseRequested"])
|
|
@@ -3814,7 +3814,7 @@ const qst = v2(Qst), ES = Symbol("elTooltip"), Z2 = Mn({
|
|
|
3814
3814
|
});
|
|
3815
3815
|
return e({
|
|
3816
3816
|
triggerRef: T
|
|
3817
|
-
}), (R, F) => (ce(),
|
|
3817
|
+
}), (R, F) => (ce(), Hr(vt(Lst), {
|
|
3818
3818
|
id: vt(o),
|
|
3819
3819
|
"virtual-ref": R.virtualRef,
|
|
3820
3820
|
open: vt(s),
|
|
@@ -3829,7 +3829,7 @@ const qst = v2(Qst), ES = Symbol("elTooltip"), Z2 = Mn({
|
|
|
3829
3829
|
onKeydown: vt(k)
|
|
3830
3830
|
}, {
|
|
3831
3831
|
default: ge(() => [
|
|
3832
|
-
|
|
3832
|
+
Vr(R.$slots, "default")
|
|
3833
3833
|
]),
|
|
3834
3834
|
_: 3
|
|
3835
3835
|
}, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]));
|
|
@@ -3846,11 +3846,11 @@ const oat = Mn({
|
|
|
3846
3846
|
__name: "teleport",
|
|
3847
3847
|
props: oat,
|
|
3848
3848
|
setup(t) {
|
|
3849
|
-
return (e, r) => e.disabled ?
|
|
3849
|
+
return (e, r) => e.disabled ? Vr(e.$slots, "default", { key: 0 }) : (ce(), Hr(_et, {
|
|
3850
3850
|
key: 1,
|
|
3851
3851
|
to: e.to
|
|
3852
3852
|
}, [
|
|
3853
|
-
|
|
3853
|
+
Vr(e.$slots, "default")
|
|
3854
3854
|
], 8, ["to"]));
|
|
3855
3855
|
}
|
|
3856
3856
|
});
|
|
@@ -3917,12 +3917,12 @@ const lU = v2(aat), lat = mr({
|
|
|
3917
3917
|
(Pe = (re = o.value) == null ? void 0 : re.updatePopper) == null || Pe.call(re);
|
|
3918
3918
|
}), e({
|
|
3919
3919
|
contentRef: o
|
|
3920
|
-
}), (re, Pe) => (ce(),
|
|
3920
|
+
}), (re, Pe) => (ce(), Hr(vt(lU), {
|
|
3921
3921
|
disabled: !re.teleported,
|
|
3922
3922
|
to: vt(F)
|
|
3923
3923
|
}, {
|
|
3924
3924
|
default: ge(() => [
|
|
3925
|
-
|
|
3925
|
+
ze(cd, {
|
|
3926
3926
|
name: vt(x),
|
|
3927
3927
|
onAfterLeave: et,
|
|
3928
3928
|
onBeforeEnter: gt,
|
|
@@ -3930,7 +3930,7 @@ const lU = v2(aat), lat = mr({
|
|
|
3930
3930
|
onBeforeLeave: It
|
|
3931
3931
|
}, {
|
|
3932
3932
|
default: ge(() => [
|
|
3933
|
-
vt(k) ? gi((ce(),
|
|
3933
|
+
vt(k) ? gi((ce(), Hr(vt(Zst), rl({
|
|
3934
3934
|
key: 0,
|
|
3935
3935
|
id: vt(u),
|
|
3936
3936
|
ref_key: "contentRef",
|
|
@@ -3960,12 +3960,12 @@ const lU = v2(aat), lat = mr({
|
|
|
3960
3960
|
onClose: vt(f)
|
|
3961
3961
|
}), {
|
|
3962
3962
|
default: ge(() => [
|
|
3963
|
-
|
|
3963
|
+
Vr(re.$slots, "default")
|
|
3964
3964
|
]),
|
|
3965
3965
|
_: 3
|
|
3966
3966
|
}, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
|
|
3967
3967
|
[d2, vt(R)]
|
|
3968
|
-
]) :
|
|
3968
|
+
]) : Pr("v-if", !0)
|
|
3969
3969
|
]),
|
|
3970
3970
|
_: 3
|
|
3971
3971
|
}, 8, ["name"])
|
|
@@ -4041,13 +4041,13 @@ const hat = mr({
|
|
|
4041
4041
|
onOpen: y,
|
|
4042
4042
|
onClose: _,
|
|
4043
4043
|
hide: f
|
|
4044
|
-
}), (x, O) => (ce(),
|
|
4044
|
+
}), (x, O) => (ce(), Hr(vt(qst), {
|
|
4045
4045
|
ref_key: "popperRef",
|
|
4046
4046
|
ref: o,
|
|
4047
4047
|
role: x.role
|
|
4048
4048
|
}, {
|
|
4049
4049
|
default: ge(() => [
|
|
4050
|
-
|
|
4050
|
+
ze(iat, {
|
|
4051
4051
|
disabled: x.disabled,
|
|
4052
4052
|
trigger: x.trigger,
|
|
4053
4053
|
"trigger-keys": x.triggerKeys,
|
|
@@ -4055,11 +4055,11 @@ const hat = mr({
|
|
|
4055
4055
|
"virtual-triggering": x.virtualTriggering
|
|
4056
4056
|
}, {
|
|
4057
4057
|
default: ge(() => [
|
|
4058
|
-
x.$slots.default ?
|
|
4058
|
+
x.$slots.default ? Vr(x.$slots, "default", { key: 0 }) : Pr("v-if", !0)
|
|
4059
4059
|
]),
|
|
4060
4060
|
_: 3
|
|
4061
4061
|
}, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
|
|
4062
|
-
|
|
4062
|
+
ze(uat, {
|
|
4063
4063
|
ref_key: "contentRef",
|
|
4064
4064
|
ref: s,
|
|
4065
4065
|
"aria-label": x.ariaLabel,
|
|
@@ -4090,16 +4090,16 @@ const hat = mr({
|
|
|
4090
4090
|
"append-to": x.appendTo
|
|
4091
4091
|
}, {
|
|
4092
4092
|
default: ge(() => [
|
|
4093
|
-
|
|
4093
|
+
Vr(x.$slots, "content", {}, () => [
|
|
4094
4094
|
x.rawContent ? (ce(), tr("span", {
|
|
4095
4095
|
key: 0,
|
|
4096
4096
|
innerHTML: x.content
|
|
4097
4097
|
}, null, 8, ["innerHTML"])) : (ce(), tr("span", { key: 1 }, yi(x.content), 1))
|
|
4098
4098
|
]),
|
|
4099
|
-
x.showArrow ? (ce(),
|
|
4099
|
+
x.showArrow ? (ce(), Hr(vt(yst), {
|
|
4100
4100
|
key: 0,
|
|
4101
4101
|
"arrow-offset": x.arrowOffset
|
|
4102
|
-
}, null, 8, ["arrow-offset"])) :
|
|
4102
|
+
}, null, 8, ["arrow-offset"])) : Pr("v-if", !0)
|
|
4103
4103
|
]),
|
|
4104
4104
|
_: 3
|
|
4105
4105
|
}, 8, ["aria-label", "boundaries-padding", "content", "disabled", "effect", "enterable", "fallback-placements", "hide-after", "gpu-acceleration", "offset", "persistent", "popper-class", "popper-style", "placement", "popper-options", "pure", "raw-content", "reference-el", "trigger-target-el", "show-after", "strategy", "teleported", "transition", "virtual-triggering", "z-index", "append-to"])
|
|
@@ -4781,7 +4781,7 @@ const Cat = mr({
|
|
|
4781
4781
|
type: u,
|
|
4782
4782
|
disabled: d,
|
|
4783
4783
|
shouldAddSpace: f
|
|
4784
|
-
}), (_, L) => (ce(),
|
|
4784
|
+
}), (_, L) => (ce(), Hr(Ss(_.tag), rl({
|
|
4785
4785
|
ref_key: "_ref",
|
|
4786
4786
|
ref: s
|
|
4787
4787
|
}, vt(T), {
|
|
@@ -4791,27 +4791,27 @@ const Cat = mr({
|
|
|
4791
4791
|
}), {
|
|
4792
4792
|
default: ge(() => [
|
|
4793
4793
|
_.loading ? (ce(), tr(Eo, { key: 0 }, [
|
|
4794
|
-
_.$slots.loading ?
|
|
4794
|
+
_.$slots.loading ? Vr(_.$slots, "loading", { key: 0 }) : (ce(), Hr(vt(d3), {
|
|
4795
4795
|
key: 1,
|
|
4796
4796
|
class: Be(vt(o).is("loading"))
|
|
4797
4797
|
}, {
|
|
4798
4798
|
default: ge(() => [
|
|
4799
|
-
(ce(),
|
|
4799
|
+
(ce(), Hr(Ss(_.loadingIcon)))
|
|
4800
4800
|
]),
|
|
4801
4801
|
_: 1
|
|
4802
4802
|
}, 8, ["class"]))
|
|
4803
|
-
], 64)) : _.icon || _.$slots.icon ? (ce(),
|
|
4803
|
+
], 64)) : _.icon || _.$slots.icon ? (ce(), Hr(vt(d3), { key: 1 }, {
|
|
4804
4804
|
default: ge(() => [
|
|
4805
|
-
_.icon ? (ce(),
|
|
4805
|
+
_.icon ? (ce(), Hr(Ss(_.icon), { key: 0 })) : Vr(_.$slots, "icon", { key: 1 })
|
|
4806
4806
|
]),
|
|
4807
4807
|
_: 3
|
|
4808
|
-
})) :
|
|
4808
|
+
})) : Pr("v-if", !0),
|
|
4809
4809
|
_.$slots.default ? (ce(), tr("span", {
|
|
4810
4810
|
key: 2,
|
|
4811
4811
|
class: Be({ [vt(o).em("text", "expand")]: vt(f) })
|
|
4812
4812
|
}, [
|
|
4813
|
-
|
|
4814
|
-
], 2)) :
|
|
4813
|
+
Vr(_.$slots, "default")
|
|
4814
|
+
], 2)) : Pr("v-if", !0)
|
|
4815
4815
|
]),
|
|
4816
4816
|
_: 3
|
|
4817
4817
|
}, 16, ["class", "style", "onClick"]));
|
|
@@ -4836,7 +4836,7 @@ const Pat = {
|
|
|
4836
4836
|
return (n, i) => (ce(), tr("div", {
|
|
4837
4837
|
class: Be(vt(r).b("group"))
|
|
4838
4838
|
}, [
|
|
4839
|
-
|
|
4839
|
+
Vr(n.$slots, "default")
|
|
4840
4840
|
], 2));
|
|
4841
4841
|
}
|
|
4842
4842
|
});
|
|
@@ -5107,7 +5107,7 @@ const Fat = {
|
|
|
5107
5107
|
_.is("indeterminate", e.indeterminate),
|
|
5108
5108
|
_.is("focus", a.value)
|
|
5109
5109
|
]);
|
|
5110
|
-
return (x, O) => (ce(),
|
|
5110
|
+
return (x, O) => (ce(), Hr(Ss(!vt(d) && vt(i) ? "span" : "label"), {
|
|
5111
5111
|
class: Be(vt(L)),
|
|
5112
5112
|
"aria-controls": x.indeterminate ? x.ariaControls : null,
|
|
5113
5113
|
onClick: vt(y)
|
|
@@ -5115,7 +5115,7 @@ const Fat = {
|
|
|
5115
5115
|
default: ge(() => {
|
|
5116
5116
|
var k, R, F, U;
|
|
5117
5117
|
return [
|
|
5118
|
-
|
|
5118
|
+
Fe("span", {
|
|
5119
5119
|
class: Be(vt(E))
|
|
5120
5120
|
}, [
|
|
5121
5121
|
x.trueValue || x.falseValue || x.trueLabel || x.falseLabel ? gi((ce(), tr("input", {
|
|
@@ -5156,7 +5156,7 @@ const Fat = {
|
|
|
5156
5156
|
}, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "disabled", "value", "name", "tabindex", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5157
5157
|
[PQ, vt(T)]
|
|
5158
5158
|
]),
|
|
5159
|
-
|
|
5159
|
+
Fe("span", {
|
|
5160
5160
|
class: Be(vt(_).e("inner"))
|
|
5161
5161
|
}, null, 2)
|
|
5162
5162
|
], 2),
|
|
@@ -5164,11 +5164,11 @@ const Fat = {
|
|
|
5164
5164
|
key: 0,
|
|
5165
5165
|
class: Be(vt(_).e("label"))
|
|
5166
5166
|
}, [
|
|
5167
|
-
|
|
5168
|
-
x.$slots.default ?
|
|
5167
|
+
Vr(x.$slots, "default"),
|
|
5168
|
+
x.$slots.default ? Pr("v-if", !0) : (ce(), tr(Eo, { key: 0 }, [
|
|
5169
5169
|
An(yi(x.label), 1)
|
|
5170
5170
|
], 64))
|
|
5171
|
-
], 2)) :
|
|
5171
|
+
], 2)) : Pr("v-if", !0)
|
|
5172
5172
|
];
|
|
5173
5173
|
}),
|
|
5174
5174
|
_: 3
|
|
@@ -5251,10 +5251,10 @@ const Zat = mr({
|
|
|
5251
5251
|
class: Be(vt(f).be("button", "inner")),
|
|
5252
5252
|
style: M1(vt(i) ? vt(Q) : void 0)
|
|
5253
5253
|
}, [
|
|
5254
|
-
|
|
5254
|
+
Vr(_.$slots, "default", {}, () => [
|
|
5255
5255
|
An(yi(_.label), 1)
|
|
5256
5256
|
])
|
|
5257
|
-
], 6)) :
|
|
5257
|
+
], 6)) : Pr("v-if", !0)
|
|
5258
5258
|
], 2);
|
|
5259
5259
|
};
|
|
5260
5260
|
}
|
|
@@ -5318,7 +5318,7 @@ const Xat = Mn({
|
|
|
5318
5318
|
r.validateEvent && (i == null || i.validate("change").catch((d) => y2(d)));
|
|
5319
5319
|
}), (d, T) => {
|
|
5320
5320
|
var f;
|
|
5321
|
-
return ce(),
|
|
5321
|
+
return ce(), Hr(Ss(d.tag), {
|
|
5322
5322
|
id: vt(o),
|
|
5323
5323
|
class: Be(vt(n).b("group")),
|
|
5324
5324
|
role: "group",
|
|
@@ -5326,7 +5326,7 @@ const Xat = Mn({
|
|
|
5326
5326
|
"aria-labelledby": vt(s) ? (f = vt(i)) == null ? void 0 : f.labelId : void 0
|
|
5327
5327
|
}, {
|
|
5328
5328
|
default: ge(() => [
|
|
5329
|
-
|
|
5329
|
+
Vr(d.$slots, "default")
|
|
5330
5330
|
]),
|
|
5331
5331
|
_: 3
|
|
5332
5332
|
}, 8, ["id", "class", "aria-label", "aria-labelledby"]);
|
|
@@ -5413,14 +5413,14 @@ const vU = ol(gU), _U = Mn({
|
|
|
5413
5413
|
vt(n).m(vt(a))
|
|
5414
5414
|
])
|
|
5415
5415
|
}, [
|
|
5416
|
-
|
|
5416
|
+
Fe("span", {
|
|
5417
5417
|
class: Be([
|
|
5418
5418
|
vt(n).e("input"),
|
|
5419
5419
|
vt(n).is("disabled", vt(u)),
|
|
5420
5420
|
vt(n).is("checked", vt(d) === vt(T))
|
|
5421
5421
|
])
|
|
5422
5422
|
}, [
|
|
5423
|
-
gi(
|
|
5423
|
+
gi(Fe("input", {
|
|
5424
5424
|
ref_key: "radioRef",
|
|
5425
5425
|
ref: i,
|
|
5426
5426
|
"onUpdate:modelValue": (L) => g2(d) ? d.value = L : null,
|
|
@@ -5438,16 +5438,16 @@ const vU = ol(gU), _U = Mn({
|
|
|
5438
5438
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
5439
5439
|
[Yj, vt(d)]
|
|
5440
5440
|
]),
|
|
5441
|
-
|
|
5441
|
+
Fe("span", {
|
|
5442
5442
|
class: Be(vt(n).e("inner"))
|
|
5443
5443
|
}, null, 2)
|
|
5444
5444
|
], 2),
|
|
5445
|
-
|
|
5445
|
+
Fe("span", {
|
|
5446
5446
|
class: Be(vt(n).e("label")),
|
|
5447
5447
|
onKeydown: m1(() => {
|
|
5448
5448
|
}, ["stop"])
|
|
5449
5449
|
}, [
|
|
5450
|
-
|
|
5450
|
+
Vr(Q.$slots, "default", {}, () => [
|
|
5451
5451
|
An(yi(Q.label), 1)
|
|
5452
5452
|
])
|
|
5453
5453
|
], 42, ["onKeydown"])
|
|
@@ -5481,7 +5481,7 @@ const i3t = Mn({
|
|
|
5481
5481
|
vt(r).bm("button", vt(o))
|
|
5482
5482
|
])
|
|
5483
5483
|
}, [
|
|
5484
|
-
gi(
|
|
5484
|
+
gi(Fe("input", {
|
|
5485
5485
|
ref_key: "radioRef",
|
|
5486
5486
|
ref: n,
|
|
5487
5487
|
"onUpdate:modelValue": (_) => g2(a) ? a.value = _ : null,
|
|
@@ -5497,13 +5497,13 @@ const i3t = Mn({
|
|
|
5497
5497
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
5498
5498
|
[Yj, vt(a)]
|
|
5499
5499
|
]),
|
|
5500
|
-
|
|
5500
|
+
Fe("span", {
|
|
5501
5501
|
class: Be(vt(r).be("button", "inner")),
|
|
5502
5502
|
style: M1(vt(a) === vt(d) ? vt(T) : {}),
|
|
5503
5503
|
onKeydown: m1(() => {
|
|
5504
5504
|
}, ["stop"])
|
|
5505
5505
|
}, [
|
|
5506
|
-
|
|
5506
|
+
Vr(f.$slots, "default", {}, () => [
|
|
5507
5507
|
An(yi(f.label), 1)
|
|
5508
5508
|
])
|
|
5509
5509
|
], 46, ["onKeydown"])
|
|
@@ -5572,7 +5572,7 @@ const a3t = Mn({
|
|
|
5572
5572
|
"aria-label": vt(u) ? void 0 : f.ariaLabel || "radio-group",
|
|
5573
5573
|
"aria-labelledby": vt(u) ? vt(s).labelId : void 0
|
|
5574
5574
|
}, [
|
|
5575
|
-
|
|
5575
|
+
Vr(f.$slots, "default")
|
|
5576
5576
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
5577
5577
|
}
|
|
5578
5578
|
});
|
|
@@ -5636,48 +5636,48 @@ const vx = Mn({
|
|
|
5636
5636
|
style: M1({ backgroundColor: d.color }),
|
|
5637
5637
|
onClick: a
|
|
5638
5638
|
}, [
|
|
5639
|
-
|
|
5639
|
+
Fe("span", {
|
|
5640
5640
|
class: Be(vt(i).e("content"))
|
|
5641
5641
|
}, [
|
|
5642
|
-
|
|
5642
|
+
Vr(d.$slots, "default")
|
|
5643
5643
|
], 2),
|
|
5644
|
-
d.closable ? (ce(),
|
|
5644
|
+
d.closable ? (ce(), Hr(vt(d3), {
|
|
5645
5645
|
key: 0,
|
|
5646
5646
|
class: Be(vt(i).e("close")),
|
|
5647
5647
|
onClick: m1(s, ["stop"])
|
|
5648
5648
|
}, {
|
|
5649
5649
|
default: ge(() => [
|
|
5650
|
-
|
|
5650
|
+
ze(vt(Tx))
|
|
5651
5651
|
]),
|
|
5652
5652
|
_: 1
|
|
5653
|
-
}, 8, ["class", "onClick"])) :
|
|
5654
|
-
], 6)) : (ce(),
|
|
5653
|
+
}, 8, ["class", "onClick"])) : Pr("v-if", !0)
|
|
5654
|
+
], 6)) : (ce(), Hr(cd, {
|
|
5655
5655
|
key: 1,
|
|
5656
5656
|
name: `${vt(i).namespace.value}-zoom-in-center`,
|
|
5657
5657
|
appear: "",
|
|
5658
5658
|
onVnodeMounted: u
|
|
5659
5659
|
}, {
|
|
5660
5660
|
default: ge(() => [
|
|
5661
|
-
|
|
5661
|
+
Fe("span", {
|
|
5662
5662
|
class: Be(vt(o)),
|
|
5663
5663
|
style: M1({ backgroundColor: d.color }),
|
|
5664
5664
|
onClick: a
|
|
5665
5665
|
}, [
|
|
5666
|
-
|
|
5666
|
+
Fe("span", {
|
|
5667
5667
|
class: Be(vt(i).e("content"))
|
|
5668
5668
|
}, [
|
|
5669
|
-
|
|
5669
|
+
Vr(d.$slots, "default")
|
|
5670
5670
|
], 2),
|
|
5671
|
-
d.closable ? (ce(),
|
|
5671
|
+
d.closable ? (ce(), Hr(vt(d3), {
|
|
5672
5672
|
key: 0,
|
|
5673
5673
|
class: Be(vt(i).e("close")),
|
|
5674
5674
|
onClick: m1(s, ["stop"])
|
|
5675
5675
|
}, {
|
|
5676
5676
|
default: ge(() => [
|
|
5677
|
-
|
|
5677
|
+
ze(vt(Tx))
|
|
5678
5678
|
]),
|
|
5679
5679
|
_: 1
|
|
5680
|
-
}, 8, ["class", "onClick"])) :
|
|
5680
|
+
}, 8, ["class", "onClick"])) : Pr("v-if", !0)
|
|
5681
5681
|
], 6)
|
|
5682
5682
|
]),
|
|
5683
5683
|
_: 3
|
|
@@ -5728,12 +5728,12 @@ const f3t = v2(T3t), HU = Symbol("rowContextKey"), Q3t = [
|
|
|
5728
5728
|
r.is(`justify-${e.justify}`, e.justify !== "start"),
|
|
5729
5729
|
r.is(`align-${e.align}`, !!e.align)
|
|
5730
5730
|
]);
|
|
5731
|
-
return (s, a) => (ce(),
|
|
5731
|
+
return (s, a) => (ce(), Hr(Ss(s.tag), {
|
|
5732
5732
|
class: Be(vt(o)),
|
|
5733
5733
|
style: M1(vt(i))
|
|
5734
5734
|
}, {
|
|
5735
5735
|
default: ge(() => [
|
|
5736
|
-
|
|
5736
|
+
Vr(s.$slots, "default")
|
|
5737
5737
|
]),
|
|
5738
5738
|
_: 3
|
|
5739
5739
|
}, 8, ["class", "style"]));
|
|
@@ -5801,12 +5801,12 @@ const Td = v2(_3t), b3t = Mn({
|
|
|
5801
5801
|
});
|
|
5802
5802
|
}), r.value && s.push(n.is("guttered")), [n.b(), s];
|
|
5803
5803
|
});
|
|
5804
|
-
return (s, a) => (ce(),
|
|
5804
|
+
return (s, a) => (ce(), Hr(Ss(s.tag), {
|
|
5805
5805
|
class: Be(vt(o)),
|
|
5806
5806
|
style: M1(vt(i))
|
|
5807
5807
|
}, {
|
|
5808
5808
|
default: ge(() => [
|
|
5809
|
-
|
|
5809
|
+
Vr(s.$slots, "default")
|
|
5810
5810
|
]),
|
|
5811
5811
|
_: 3
|
|
5812
5812
|
}, 8, ["class", "style"]));
|
|
@@ -5840,7 +5840,7 @@ var H3t = mr({
|
|
|
5840
5840
|
const n = Bn(S3t), i = (u) => {
|
|
5841
5841
|
r("click", u);
|
|
5842
5842
|
}, { onClick: o, onMousedown: s, onMouseup: a } = Uz(t.customMaskEvent ? void 0 : i);
|
|
5843
|
-
return () => t.mask ?
|
|
5843
|
+
return () => t.mask ? ze("div", {
|
|
5844
5844
|
class: [n.b(), t.overlayClass],
|
|
5845
5845
|
style: {
|
|
5846
5846
|
zIndex: t.zIndex
|
|
@@ -5848,7 +5848,7 @@ var H3t = mr({
|
|
|
5848
5848
|
onClick: o,
|
|
5849
5849
|
onMousedown: s,
|
|
5850
5850
|
onMouseup: a
|
|
5851
|
-
}, [
|
|
5851
|
+
}, [Vr(e, "default")], ff.STYLE | ff.CLASS | ff.PROPS, ["onClick", "onMouseup", "onMousedown"]) : b7("div", {
|
|
5852
5852
|
class: t.overlayClass,
|
|
5853
5853
|
style: {
|
|
5854
5854
|
zIndex: t.zIndex,
|
|
@@ -5858,7 +5858,7 @@ var H3t = mr({
|
|
|
5858
5858
|
bottom: "0px",
|
|
5859
5859
|
left: "0px"
|
|
5860
5860
|
}
|
|
5861
|
-
}, [
|
|
5861
|
+
}, [Vr(e, "default")]);
|
|
5862
5862
|
}
|
|
5863
5863
|
});
|
|
5864
5864
|
const A3t = H3t, AU = Symbol("dialogInjectionKey"), OU = Mn({
|
|
@@ -5904,13 +5904,13 @@ const A3t = H3t, AU = Symbol("dialogInjectionKey"), OU = Mn({
|
|
|
5904
5904
|
style: M1(vt(d)),
|
|
5905
5905
|
tabindex: "-1"
|
|
5906
5906
|
}, [
|
|
5907
|
-
|
|
5907
|
+
Fe("header", {
|
|
5908
5908
|
ref_key: "headerRef",
|
|
5909
5909
|
ref: s,
|
|
5910
5910
|
class: Be([vt(u).e("header"), { "show-close": E.showClose }])
|
|
5911
5911
|
}, [
|
|
5912
|
-
|
|
5913
|
-
|
|
5912
|
+
Vr(E.$slots, "header", {}, () => [
|
|
5913
|
+
Fe("span", {
|
|
5914
5914
|
role: "heading",
|
|
5915
5915
|
"aria-level": E.ariaLevel,
|
|
5916
5916
|
class: Be(vt(u).e("title"))
|
|
@@ -5923,28 +5923,28 @@ const A3t = H3t, AU = Symbol("dialogInjectionKey"), OU = Mn({
|
|
|
5923
5923
|
type: "button",
|
|
5924
5924
|
onClick: (O) => E.$emit("close")
|
|
5925
5925
|
}, [
|
|
5926
|
-
|
|
5926
|
+
ze(vt(d3), {
|
|
5927
5927
|
class: Be(vt(u).e("close"))
|
|
5928
5928
|
}, {
|
|
5929
5929
|
default: ge(() => [
|
|
5930
|
-
(ce(),
|
|
5930
|
+
(ce(), Hr(Ss(E.closeIcon || vt(i))))
|
|
5931
5931
|
]),
|
|
5932
5932
|
_: 1
|
|
5933
5933
|
}, 8, ["class"])
|
|
5934
|
-
], 10, ["aria-label", "onClick"])) :
|
|
5934
|
+
], 10, ["aria-label", "onClick"])) : Pr("v-if", !0)
|
|
5935
5935
|
], 2),
|
|
5936
|
-
|
|
5936
|
+
Fe("div", {
|
|
5937
5937
|
id: vt(a),
|
|
5938
5938
|
class: Be(vt(u).e("body"))
|
|
5939
5939
|
}, [
|
|
5940
|
-
|
|
5940
|
+
Vr(E.$slots, "default")
|
|
5941
5941
|
], 10, ["id"]),
|
|
5942
5942
|
E.$slots.footer ? (ce(), tr("footer", {
|
|
5943
5943
|
key: 0,
|
|
5944
5944
|
class: Be(vt(u).e("footer"))
|
|
5945
5945
|
}, [
|
|
5946
|
-
|
|
5947
|
-
], 2)) :
|
|
5946
|
+
Vr(E.$slots, "footer")
|
|
5947
|
+
], 2)) : Pr("v-if", !0)
|
|
5948
5948
|
], 6));
|
|
5949
5949
|
}
|
|
5950
5950
|
});
|
|
@@ -6141,12 +6141,12 @@ const P3t = Mn({
|
|
|
6141
6141
|
var nt;
|
|
6142
6142
|
(nt = a.value) == null || nt.resetPosition();
|
|
6143
6143
|
}
|
|
6144
|
-
}), (nt, gt) => (ce(),
|
|
6144
|
+
}), (nt, gt) => (ce(), Hr(vt(lU), {
|
|
6145
6145
|
to: nt.appendTo,
|
|
6146
6146
|
disabled: nt.appendTo !== "body" ? !1 : !nt.appendToBody
|
|
6147
6147
|
}, {
|
|
6148
6148
|
default: ge(() => [
|
|
6149
|
-
|
|
6149
|
+
ze(cd, {
|
|
6150
6150
|
name: "dialog-fade",
|
|
6151
6151
|
onAfterEnter: vt(L),
|
|
6152
6152
|
onAfterLeave: vt(E),
|
|
@@ -6154,14 +6154,14 @@ const P3t = Mn({
|
|
|
6154
6154
|
persisted: ""
|
|
6155
6155
|
}, {
|
|
6156
6156
|
default: ge(() => [
|
|
6157
|
-
gi(
|
|
6157
|
+
gi(ze(vt(A3t), {
|
|
6158
6158
|
"custom-mask-event": "",
|
|
6159
6159
|
mask: nt.modal,
|
|
6160
6160
|
"overlay-class": nt.modalClass,
|
|
6161
6161
|
"z-index": vt(_)
|
|
6162
6162
|
}, {
|
|
6163
6163
|
default: ge(() => [
|
|
6164
|
-
|
|
6164
|
+
Fe("div", {
|
|
6165
6165
|
role: "dialog",
|
|
6166
6166
|
"aria-modal": "true",
|
|
6167
6167
|
"aria-label": nt.title || void 0,
|
|
@@ -6173,7 +6173,7 @@ const P3t = Mn({
|
|
|
6173
6173
|
onMousedown: vt(et).onMousedown,
|
|
6174
6174
|
onMouseup: vt(et).onMouseup
|
|
6175
6175
|
}, [
|
|
6176
|
-
|
|
6176
|
+
ze(vt(sU), {
|
|
6177
6177
|
loop: "",
|
|
6178
6178
|
trapped: vt(u),
|
|
6179
6179
|
"focus-start-el": "container",
|
|
@@ -6183,7 +6183,7 @@ const P3t = Mn({
|
|
|
6183
6183
|
onReleaseRequested: vt(U)
|
|
6184
6184
|
}, {
|
|
6185
6185
|
default: ge(() => [
|
|
6186
|
-
vt(y) ? (ce(),
|
|
6186
|
+
vt(y) ? (ce(), Hr(I3t, rl({
|
|
6187
6187
|
key: 0,
|
|
6188
6188
|
ref_key: "dialogContentRef",
|
|
6189
6189
|
ref: a
|
|
@@ -6200,7 +6200,7 @@ const P3t = Mn({
|
|
|
6200
6200
|
onClose: vt(O)
|
|
6201
6201
|
}), Jj({
|
|
6202
6202
|
header: ge(() => [
|
|
6203
|
-
nt.$slots.title ?
|
|
6203
|
+
nt.$slots.title ? Vr(nt.$slots, "title", { key: 1 }) : Vr(nt.$slots, "header", {
|
|
6204
6204
|
key: 0,
|
|
6205
6205
|
close: vt(O),
|
|
6206
6206
|
titleId: vt(d),
|
|
@@ -6208,17 +6208,17 @@ const P3t = Mn({
|
|
|
6208
6208
|
})
|
|
6209
6209
|
]),
|
|
6210
6210
|
default: ge(() => [
|
|
6211
|
-
|
|
6211
|
+
Vr(nt.$slots, "default")
|
|
6212
6212
|
]),
|
|
6213
6213
|
_: 2
|
|
6214
6214
|
}, [
|
|
6215
6215
|
nt.$slots.footer ? {
|
|
6216
6216
|
name: "footer",
|
|
6217
6217
|
fn: ge(() => [
|
|
6218
|
-
|
|
6218
|
+
Vr(nt.$slots, "footer")
|
|
6219
6219
|
])
|
|
6220
6220
|
} : void 0
|
|
6221
|
-
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) :
|
|
6221
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : Pr("v-if", !0)
|
|
6222
6222
|
]),
|
|
6223
6223
|
_: 3
|
|
6224
6224
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
@@ -6241,7 +6241,7 @@ const B3t = v2(F3t), j3t = /* @__PURE__ */ mr({
|
|
|
6241
6241
|
inheritAttrs: !1
|
|
6242
6242
|
});
|
|
6243
6243
|
function z3t(t, e, r, n, i, o) {
|
|
6244
|
-
return
|
|
6244
|
+
return Vr(t.$slots, "default");
|
|
6245
6245
|
}
|
|
6246
6246
|
var U3t = /* @__PURE__ */ Sn(j3t, [["render", z3t], ["__file", "collection.vue"]]);
|
|
6247
6247
|
const G3t = /* @__PURE__ */ mr({
|
|
@@ -6249,7 +6249,7 @@ const G3t = /* @__PURE__ */ mr({
|
|
|
6249
6249
|
inheritAttrs: !1
|
|
6250
6250
|
});
|
|
6251
6251
|
function $3t(t, e, r, n, i, o) {
|
|
6252
|
-
return
|
|
6252
|
+
return Vr(t.$slots, "default");
|
|
6253
6253
|
}
|
|
6254
6254
|
var W3t = /* @__PURE__ */ Sn(G3t, [["render", $3t], ["__file", "collection-item.vue"]]);
|
|
6255
6255
|
const Z3t = "data-el-collection-item", q3t = (t) => {
|
|
@@ -6481,8 +6481,8 @@ function Y3t(t, e, r, n, i, o) {
|
|
|
6481
6481
|
onMouseenter: t.hoverItem,
|
|
6482
6482
|
onClick: m1(t.selectOptionClick, ["stop"])
|
|
6483
6483
|
}, [
|
|
6484
|
-
|
|
6485
|
-
|
|
6484
|
+
Vr(t.$slots, "default", {}, () => [
|
|
6485
|
+
Fe("span", null, yi(t.currentLabel), 1)
|
|
6486
6486
|
])
|
|
6487
6487
|
], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
|
|
6488
6488
|
[d2, t.visible]
|
|
@@ -6518,15 +6518,15 @@ function t4t(t, e, r, n, i, o) {
|
|
|
6518
6518
|
key: 0,
|
|
6519
6519
|
class: Be(t.ns.be("dropdown", "header"))
|
|
6520
6520
|
}, [
|
|
6521
|
-
|
|
6522
|
-
], 2)) :
|
|
6523
|
-
|
|
6521
|
+
Vr(t.$slots, "header")
|
|
6522
|
+
], 2)) : Pr("v-if", !0),
|
|
6523
|
+
Vr(t.$slots, "default"),
|
|
6524
6524
|
t.$slots.footer ? (ce(), tr("div", {
|
|
6525
6525
|
key: 1,
|
|
6526
6526
|
class: Be(t.ns.be("dropdown", "footer"))
|
|
6527
6527
|
}, [
|
|
6528
|
-
|
|
6529
|
-
], 2)) :
|
|
6528
|
+
Vr(t.$slots, "footer")
|
|
6529
|
+
], 2)) : Pr("v-if", !0)
|
|
6530
6530
|
], 6);
|
|
6531
6531
|
}
|
|
6532
6532
|
var e4t = /* @__PURE__ */ Sn(J3t, [["render", t4t], ["__file", "select-dropdown.vue"]]);
|
|
@@ -6573,7 +6573,7 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6573
6573
|
}), { valueOnClear: Zt, isEmptyValue: oe } = U2t(t), re = Kt(() => t.disabled || (nt == null ? void 0 : nt.disabled)), Pe = Kt(() => p2(t.modelValue) ? t.modelValue.length > 0 : !oe(t.modelValue)), yr = Kt(() => t.clearable && !re.value && s.inputHovering && Pe.value), qr = Kt(() => t.remote && t.filterable && !t.remoteShowSuffix ? "" : t.suffixIcon), ie = Kt(() => i.is("reverse", qr.value && rt.value)), fe = Kt(() => (gt == null ? void 0 : gt.validateState) || ""), Ke = Kt(() => hot[fe.value]), He = Kt(() => t.remote ? 300 : 0), er = Kt(() => t.loading ? t.loadingText || r("el.select.loading") : t.remote && !s.inputValue && s.options.size === 0 ? !1 : t.filterable && s.inputValue && s.options.size > 0 && Ye.value === 0 ? t.noMatchText || r("el.select.noMatch") : s.options.size === 0 ? t.noDataText || r("el.select.noData") : null), Ye = Kt(() => Re.value.filter((Rt) => Rt.visible).length), Re = Kt(() => {
|
|
6574
6574
|
const Rt = Array.from(s.options.values()), Te = [];
|
|
6575
6575
|
return s.optionValues.forEach((Se) => {
|
|
6576
|
-
const lr = Rt.findIndex((
|
|
6576
|
+
const lr = Rt.findIndex((Or) => Or.value === Se);
|
|
6577
6577
|
lr > -1 && Te.push(Rt[lr]);
|
|
6578
6578
|
}), Te.length >= Rt.length ? Te : Rt;
|
|
6579
6579
|
}), Gt = Kt(() => Array.from(s.cachedOptions.values())), te = Kt(() => {
|
|
@@ -6624,7 +6624,7 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6624
6624
|
s.isBeforeHide || Qe();
|
|
6625
6625
|
});
|
|
6626
6626
|
const Ct = (Rt) => {
|
|
6627
|
-
s.previousQuery === Rt || k.value || (s.previousQuery = Rt, t.filterable && Wo(t.filterMethod) ? t.filterMethod(Rt) : t.filterable && t.remote && Wo(t.remoteMethod) && t.remoteMethod(Rt), t.defaultFirstOption && (t.filterable || t.remote) && Ye.value ? i1(en) : i1(
|
|
6627
|
+
s.previousQuery === Rt || k.value || (s.previousQuery = Rt, t.filterable && Wo(t.filterMethod) ? t.filterMethod(Rt) : t.filterable && t.remote && Wo(t.remoteMethod) && t.remoteMethod(Rt), t.defaultFirstOption && (t.filterable || t.remote) && Ye.value ? i1(en) : i1(Nr));
|
|
6628
6628
|
}, en = () => {
|
|
6629
6629
|
const Rt = Re.value.filter((lr) => lr.visible && !lr.disabled && !lr.states.groupDisabled), Te = Rt.find((lr) => lr.created), Se = Rt[0];
|
|
6630
6630
|
s.hoveringIndex = _r(Re.value, Te || Se);
|
|
@@ -6632,17 +6632,17 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6632
6632
|
if (t.multiple)
|
|
6633
6633
|
s.selectedLabel = "";
|
|
6634
6634
|
else {
|
|
6635
|
-
const Te = p2(t.modelValue) ? t.modelValue[0] : t.modelValue, Se =
|
|
6635
|
+
const Te = p2(t.modelValue) ? t.modelValue[0] : t.modelValue, Se = Ar(Te);
|
|
6636
6636
|
s.selectedLabel = Se.currentLabel, s.selected = [Se];
|
|
6637
6637
|
return;
|
|
6638
6638
|
}
|
|
6639
6639
|
const Rt = [];
|
|
6640
6640
|
q6(t.modelValue) || W6(t.modelValue).forEach((Te) => {
|
|
6641
|
-
Rt.push(
|
|
6641
|
+
Rt.push(Ar(Te));
|
|
6642
6642
|
}), s.selected = Rt;
|
|
6643
|
-
},
|
|
6643
|
+
}, Ar = (Rt) => {
|
|
6644
6644
|
let Te;
|
|
6645
|
-
const Se = hb(Rt).toLowerCase() === "object", lr = hb(Rt).toLowerCase() === "null",
|
|
6645
|
+
const Se = hb(Rt).toLowerCase() === "object", lr = hb(Rt).toLowerCase() === "null", Or = hb(Rt).toLowerCase() === "undefined";
|
|
6646
6646
|
for (let br = s.cachedOptions.size - 1; br >= 0; br--) {
|
|
6647
6647
|
const Br = Gt.value[br];
|
|
6648
6648
|
if (Se ? p4(Br.value, t.valueKey) === p4(Rt, t.valueKey) : Br.value === Rt) {
|
|
@@ -6658,12 +6658,12 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
if (Te)
|
|
6660
6660
|
return Te;
|
|
6661
|
-
const vn = Se ? Rt.label : !lr && !
|
|
6661
|
+
const vn = Se ? Rt.label : !lr && !Or ? Rt : "";
|
|
6662
6662
|
return {
|
|
6663
6663
|
value: Rt,
|
|
6664
6664
|
currentLabel: vn
|
|
6665
6665
|
};
|
|
6666
|
-
},
|
|
6666
|
+
}, Nr = () => {
|
|
6667
6667
|
s.hoveringIndex = Re.value.findIndex((Rt) => s.selected.some((Te) => At(Te) === At(Rt)));
|
|
6668
6668
|
}, dn = () => {
|
|
6669
6669
|
s.selectionWidth = u.value.getBoundingClientRect().width;
|
|
@@ -6725,9 +6725,9 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6725
6725
|
return Rt.indexOf(Te);
|
|
6726
6726
|
const Se = t.valueKey;
|
|
6727
6727
|
let lr = -1;
|
|
6728
|
-
return Rt.some((
|
|
6728
|
+
return Rt.some((Or, vn) => kh(p4(Or, Se)) === p4(Te, Se) ? (lr = vn, !0) : !1), lr;
|
|
6729
6729
|
}, Vn = (Rt) => {
|
|
6730
|
-
var Te, Se, lr,
|
|
6730
|
+
var Te, Se, lr, Or, vn;
|
|
6731
6731
|
const zr = p2(Rt) ? Rt[0] : Rt;
|
|
6732
6732
|
let br = null;
|
|
6733
6733
|
if (zr != null && zr.value) {
|
|
@@ -6735,7 +6735,7 @@ const r4t = 11, n4t = (t, e) => {
|
|
|
6735
6735
|
Br.length > 0 && (br = Br[0].$el);
|
|
6736
6736
|
}
|
|
6737
6737
|
if (d.value && br) {
|
|
6738
|
-
const Br = (
|
|
6738
|
+
const Br = (Or = (lr = (Se = (Te = d.value) == null ? void 0 : Te.popperRef) == null ? void 0 : Se.contentRef) == null ? void 0 : lr.querySelector) == null ? void 0 : Or.call(lr, `.${i.be("dropdown", "wrap")}`);
|
|
6739
6739
|
Br && J1t(Br, br);
|
|
6740
6740
|
}
|
|
6741
6741
|
(vn = O.value) == null || vn.handleScroll();
|
|
@@ -7026,7 +7026,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7026
7026
|
[wet(t.mouseEnterEventName)]: (_) => t.states.inputHovering = !0,
|
|
7027
7027
|
onMouseleave: (_) => t.states.inputHovering = !1
|
|
7028
7028
|
}, [
|
|
7029
|
-
|
|
7029
|
+
ze(a, {
|
|
7030
7030
|
ref: "tooltipRef",
|
|
7031
7031
|
visible: t.dropdownMenuVisible,
|
|
7032
7032
|
placement: t.placement,
|
|
@@ -7048,7 +7048,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7048
7048
|
default: ge(() => {
|
|
7049
7049
|
var _;
|
|
7050
7050
|
return [
|
|
7051
|
-
|
|
7051
|
+
Fe("div", {
|
|
7052
7052
|
ref: "wrapperRef",
|
|
7053
7053
|
class: Be([
|
|
7054
7054
|
t.nsSelect.e("wrapper"),
|
|
@@ -7064,21 +7064,21 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7064
7064
|
ref: "prefixRef",
|
|
7065
7065
|
class: Be(t.nsSelect.e("prefix"))
|
|
7066
7066
|
}, [
|
|
7067
|
-
|
|
7068
|
-
], 2)) :
|
|
7069
|
-
|
|
7067
|
+
Vr(t.$slots, "prefix")
|
|
7068
|
+
], 2)) : Pr("v-if", !0),
|
|
7069
|
+
Fe("div", {
|
|
7070
7070
|
ref: "selectionRef",
|
|
7071
7071
|
class: Be([
|
|
7072
7072
|
t.nsSelect.e("selection"),
|
|
7073
7073
|
t.nsSelect.is("near", t.multiple && !t.$slots.prefix && !!t.states.selected.length)
|
|
7074
7074
|
])
|
|
7075
7075
|
}, [
|
|
7076
|
-
t.multiple ?
|
|
7076
|
+
t.multiple ? Vr(t.$slots, "tag", { key: 0 }, () => [
|
|
7077
7077
|
(ce(!0), tr(Eo, null, T4(t.showTagList, (L) => (ce(), tr("div", {
|
|
7078
7078
|
key: t.getValueKey(L),
|
|
7079
7079
|
class: Be(t.nsSelect.e("selected-item"))
|
|
7080
7080
|
}, [
|
|
7081
|
-
|
|
7081
|
+
ze(s, {
|
|
7082
7082
|
closable: !t.selectDisabled && !L.isDisabled,
|
|
7083
7083
|
size: t.collapseTagSize,
|
|
7084
7084
|
type: t.tagType,
|
|
@@ -7088,10 +7088,10 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7088
7088
|
onClose: (E) => t.deleteTag(E, L)
|
|
7089
7089
|
}, {
|
|
7090
7090
|
default: ge(() => [
|
|
7091
|
-
|
|
7091
|
+
Fe("span", {
|
|
7092
7092
|
class: Be(t.nsSelect.e("tags-text"))
|
|
7093
7093
|
}, [
|
|
7094
|
-
|
|
7094
|
+
Vr(t.$slots, "label", {
|
|
7095
7095
|
label: L.currentLabel,
|
|
7096
7096
|
value: L.value
|
|
7097
7097
|
}, () => [
|
|
@@ -7102,7 +7102,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7102
7102
|
_: 2
|
|
7103
7103
|
}, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
|
|
7104
7104
|
], 2))), 128)),
|
|
7105
|
-
t.collapseTags && t.states.selected.length > t.maxCollapseTags ? (ce(),
|
|
7105
|
+
t.collapseTags && t.states.selected.length > t.maxCollapseTags ? (ce(), Hr(a, {
|
|
7106
7106
|
key: 0,
|
|
7107
7107
|
ref: "tagTooltipRef",
|
|
7108
7108
|
disabled: t.dropdownMenuVisible || !t.collapseTagsTooltip,
|
|
@@ -7112,11 +7112,11 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7112
7112
|
teleported: t.teleported
|
|
7113
7113
|
}, {
|
|
7114
7114
|
default: ge(() => [
|
|
7115
|
-
|
|
7115
|
+
Fe("div", {
|
|
7116
7116
|
ref: "collapseItemRef",
|
|
7117
7117
|
class: Be(t.nsSelect.e("selected-item"))
|
|
7118
7118
|
}, [
|
|
7119
|
-
|
|
7119
|
+
ze(s, {
|
|
7120
7120
|
closable: !1,
|
|
7121
7121
|
size: t.collapseTagSize,
|
|
7122
7122
|
type: t.tagType,
|
|
@@ -7125,7 +7125,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7125
7125
|
style: M1(t.collapseTagStyle)
|
|
7126
7126
|
}, {
|
|
7127
7127
|
default: ge(() => [
|
|
7128
|
-
|
|
7128
|
+
Fe("span", {
|
|
7129
7129
|
class: Be(t.nsSelect.e("tags-text"))
|
|
7130
7130
|
}, " + " + yi(t.states.selected.length - t.maxCollapseTags), 3)
|
|
7131
7131
|
]),
|
|
@@ -7134,7 +7134,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7134
7134
|
], 2)
|
|
7135
7135
|
]),
|
|
7136
7136
|
content: ge(() => [
|
|
7137
|
-
|
|
7137
|
+
Fe("div", {
|
|
7138
7138
|
ref: "tagMenuRef",
|
|
7139
7139
|
class: Be(t.nsSelect.e("selection"))
|
|
7140
7140
|
}, [
|
|
@@ -7142,7 +7142,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7142
7142
|
key: t.getValueKey(L),
|
|
7143
7143
|
class: Be(t.nsSelect.e("selected-item"))
|
|
7144
7144
|
}, [
|
|
7145
|
-
|
|
7145
|
+
ze(s, {
|
|
7146
7146
|
class: "in-tooltip",
|
|
7147
7147
|
closable: !t.selectDisabled && !L.isDisabled,
|
|
7148
7148
|
size: t.collapseTagSize,
|
|
@@ -7152,10 +7152,10 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7152
7152
|
onClose: (E) => t.deleteTag(E, L)
|
|
7153
7153
|
}, {
|
|
7154
7154
|
default: ge(() => [
|
|
7155
|
-
|
|
7155
|
+
Fe("span", {
|
|
7156
7156
|
class: Be(t.nsSelect.e("tags-text"))
|
|
7157
7157
|
}, [
|
|
7158
|
-
|
|
7158
|
+
Vr(t.$slots, "label", {
|
|
7159
7159
|
label: L.currentLabel,
|
|
7160
7160
|
value: L.value
|
|
7161
7161
|
}, () => [
|
|
@@ -7169,9 +7169,9 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7169
7169
|
], 2)
|
|
7170
7170
|
]),
|
|
7171
7171
|
_: 3
|
|
7172
|
-
}, 8, ["disabled", "effect", "teleported"])) :
|
|
7173
|
-
]) :
|
|
7174
|
-
t.selectDisabled ?
|
|
7172
|
+
}, 8, ["disabled", "effect", "teleported"])) : Pr("v-if", !0)
|
|
7173
|
+
]) : Pr("v-if", !0),
|
|
7174
|
+
t.selectDisabled ? Pr("v-if", !0) : (ce(), tr("div", {
|
|
7175
7175
|
key: 1,
|
|
7176
7176
|
class: Be([
|
|
7177
7177
|
t.nsSelect.e("selected-item"),
|
|
@@ -7179,7 +7179,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7179
7179
|
t.nsSelect.is("hidden", !t.filterable)
|
|
7180
7180
|
])
|
|
7181
7181
|
}, [
|
|
7182
|
-
gi(
|
|
7182
|
+
gi(Fe("input", {
|
|
7183
7183
|
id: t.inputId,
|
|
7184
7184
|
ref: "inputRef",
|
|
7185
7185
|
"onUpdate:modelValue": (L) => t.states.inputValue = L,
|
|
@@ -7219,7 +7219,7 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7219
7219
|
"aria-hidden": "true",
|
|
7220
7220
|
class: Be(t.nsSelect.e("input-calculator")),
|
|
7221
7221
|
textContent: yi(t.states.inputValue)
|
|
7222
|
-
}, null, 10, ["textContent"])) :
|
|
7222
|
+
}, null, 10, ["textContent"])) : Pr("v-if", !0)
|
|
7223
7223
|
], 2)),
|
|
7224
7224
|
t.shouldShowPlaceholder ? (ce(), tr("div", {
|
|
7225
7225
|
key: 2,
|
|
@@ -7229,29 +7229,29 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7229
7229
|
t.nsSelect.is("transparent", !t.hasModelValue || t.expanded && !t.states.inputValue)
|
|
7230
7230
|
])
|
|
7231
7231
|
}, [
|
|
7232
|
-
t.hasModelValue ?
|
|
7232
|
+
t.hasModelValue ? Vr(t.$slots, "label", {
|
|
7233
7233
|
key: 0,
|
|
7234
7234
|
label: t.currentPlaceholder,
|
|
7235
7235
|
value: t.modelValue
|
|
7236
7236
|
}, () => [
|
|
7237
|
-
|
|
7237
|
+
Fe("span", null, yi(t.currentPlaceholder), 1)
|
|
7238
7238
|
]) : (ce(), tr("span", { key: 1 }, yi(t.currentPlaceholder), 1))
|
|
7239
|
-
], 2)) :
|
|
7239
|
+
], 2)) : Pr("v-if", !0)
|
|
7240
7240
|
], 2),
|
|
7241
|
-
|
|
7241
|
+
Fe("div", {
|
|
7242
7242
|
ref: "suffixRef",
|
|
7243
7243
|
class: Be(t.nsSelect.e("suffix"))
|
|
7244
7244
|
}, [
|
|
7245
|
-
t.iconComponent && !t.showClose ? (ce(),
|
|
7245
|
+
t.iconComponent && !t.showClose ? (ce(), Hr(u, {
|
|
7246
7246
|
key: 0,
|
|
7247
7247
|
class: Be([t.nsSelect.e("caret"), t.nsSelect.e("icon"), t.iconReverse])
|
|
7248
7248
|
}, {
|
|
7249
7249
|
default: ge(() => [
|
|
7250
|
-
(ce(),
|
|
7250
|
+
(ce(), Hr(Ss(t.iconComponent)))
|
|
7251
7251
|
]),
|
|
7252
7252
|
_: 1
|
|
7253
|
-
}, 8, ["class"])) :
|
|
7254
|
-
t.showClose && t.clearIcon ? (ce(),
|
|
7253
|
+
}, 8, ["class"])) : Pr("v-if", !0),
|
|
7254
|
+
t.showClose && t.clearIcon ? (ce(), Hr(u, {
|
|
7255
7255
|
key: 1,
|
|
7256
7256
|
class: Be([
|
|
7257
7257
|
t.nsSelect.e("caret"),
|
|
@@ -7261,25 +7261,25 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7261
7261
|
onClick: t.handleClearClick
|
|
7262
7262
|
}, {
|
|
7263
7263
|
default: ge(() => [
|
|
7264
|
-
(ce(),
|
|
7264
|
+
(ce(), Hr(Ss(t.clearIcon)))
|
|
7265
7265
|
]),
|
|
7266
7266
|
_: 1
|
|
7267
|
-
}, 8, ["class", "onClick"])) :
|
|
7268
|
-
t.validateState && t.validateIcon ? (ce(),
|
|
7267
|
+
}, 8, ["class", "onClick"])) : Pr("v-if", !0),
|
|
7268
|
+
t.validateState && t.validateIcon ? (ce(), Hr(u, {
|
|
7269
7269
|
key: 2,
|
|
7270
7270
|
class: Be([t.nsInput.e("icon"), t.nsInput.e("validateIcon")])
|
|
7271
7271
|
}, {
|
|
7272
7272
|
default: ge(() => [
|
|
7273
|
-
(ce(),
|
|
7273
|
+
(ce(), Hr(Ss(t.validateIcon)))
|
|
7274
7274
|
]),
|
|
7275
7275
|
_: 1
|
|
7276
|
-
}, 8, ["class"])) :
|
|
7276
|
+
}, 8, ["class"])) : Pr("v-if", !0)
|
|
7277
7277
|
], 2)
|
|
7278
7278
|
], 10, ["onClick"])
|
|
7279
7279
|
];
|
|
7280
7280
|
}),
|
|
7281
7281
|
content: ge(() => [
|
|
7282
|
-
|
|
7282
|
+
ze(Q, { ref: "menuRef" }, {
|
|
7283
7283
|
default: ge(() => [
|
|
7284
7284
|
t.$slots.header ? (ce(), tr("div", {
|
|
7285
7285
|
key: 0,
|
|
@@ -7287,9 +7287,9 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7287
7287
|
onClick: m1(() => {
|
|
7288
7288
|
}, ["stop"])
|
|
7289
7289
|
}, [
|
|
7290
|
-
|
|
7291
|
-
], 10, ["onClick"])) :
|
|
7292
|
-
gi(
|
|
7290
|
+
Vr(t.$slots, "header")
|
|
7291
|
+
], 10, ["onClick"])) : Pr("v-if", !0),
|
|
7292
|
+
gi(ze(f, {
|
|
7293
7293
|
id: t.contentId,
|
|
7294
7294
|
ref: "scrollbarRef",
|
|
7295
7295
|
tag: "ul",
|
|
@@ -7301,14 +7301,14 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7301
7301
|
"aria-orientation": "vertical"
|
|
7302
7302
|
}, {
|
|
7303
7303
|
default: ge(() => [
|
|
7304
|
-
t.showNewOption ? (ce(),
|
|
7304
|
+
t.showNewOption ? (ce(), Hr(d, {
|
|
7305
7305
|
key: 0,
|
|
7306
7306
|
value: t.states.inputValue,
|
|
7307
7307
|
created: !0
|
|
7308
|
-
}, null, 8, ["value"])) :
|
|
7309
|
-
|
|
7308
|
+
}, null, 8, ["value"])) : Pr("v-if", !0),
|
|
7309
|
+
ze(T, null, {
|
|
7310
7310
|
default: ge(() => [
|
|
7311
|
-
|
|
7311
|
+
Vr(t.$slots, "default")
|
|
7312
7312
|
]),
|
|
7313
7313
|
_: 3
|
|
7314
7314
|
})
|
|
@@ -7321,23 +7321,23 @@ function a4t(t, e, r, n, i, o) {
|
|
|
7321
7321
|
key: 1,
|
|
7322
7322
|
class: Be(t.nsSelect.be("dropdown", "loading"))
|
|
7323
7323
|
}, [
|
|
7324
|
-
|
|
7324
|
+
Vr(t.$slots, "loading")
|
|
7325
7325
|
], 2)) : t.loading || t.filteredOptionsCount === 0 ? (ce(), tr("div", {
|
|
7326
7326
|
key: 2,
|
|
7327
7327
|
class: Be(t.nsSelect.be("dropdown", "empty"))
|
|
7328
7328
|
}, [
|
|
7329
|
-
|
|
7330
|
-
|
|
7329
|
+
Vr(t.$slots, "empty", {}, () => [
|
|
7330
|
+
Fe("span", null, yi(t.emptyText), 1)
|
|
7331
7331
|
])
|
|
7332
|
-
], 2)) :
|
|
7332
|
+
], 2)) : Pr("v-if", !0),
|
|
7333
7333
|
t.$slots.footer ? (ce(), tr("div", {
|
|
7334
7334
|
key: 3,
|
|
7335
7335
|
class: Be(t.nsSelect.be("dropdown", "footer")),
|
|
7336
7336
|
onClick: m1(() => {
|
|
7337
7337
|
}, ["stop"])
|
|
7338
7338
|
}, [
|
|
7339
|
-
|
|
7340
|
-
], 10, ["onClick"])) :
|
|
7339
|
+
Vr(t.$slots, "footer")
|
|
7340
|
+
], 10, ["onClick"])) : Pr("v-if", !0)
|
|
7341
7341
|
]),
|
|
7342
7342
|
_: 3
|
|
7343
7343
|
}, 512)
|
|
@@ -7391,14 +7391,14 @@ function u4t(t, e, r, n, i, o) {
|
|
|
7391
7391
|
ref: "groupRef",
|
|
7392
7392
|
class: Be(t.ns.be("group", "wrap"))
|
|
7393
7393
|
}, [
|
|
7394
|
-
|
|
7394
|
+
Fe("li", {
|
|
7395
7395
|
class: Be(t.ns.be("group", "title"))
|
|
7396
7396
|
}, yi(t.label), 3),
|
|
7397
|
-
|
|
7398
|
-
|
|
7397
|
+
Fe("li", null, [
|
|
7398
|
+
Fe("ul", {
|
|
7399
7399
|
class: Be(t.ns.b("group"))
|
|
7400
7400
|
}, [
|
|
7401
|
-
|
|
7401
|
+
Vr(t.$slots, "default")
|
|
7402
7402
|
], 2)
|
|
7403
7403
|
])
|
|
7404
7404
|
], 2)), [
|
|
@@ -7499,7 +7499,7 @@ const h4t = Mn({
|
|
|
7499
7499
|
return e({
|
|
7500
7500
|
popperRef: a,
|
|
7501
7501
|
hide: f
|
|
7502
|
-
}), (E, x) => (ce(),
|
|
7502
|
+
}), (E, x) => (ce(), Hr(vt(cU), rl({
|
|
7503
7503
|
ref_key: "tooltipRef",
|
|
7504
7504
|
ref: s
|
|
7505
7505
|
}, E.$attrs, {
|
|
@@ -7535,13 +7535,13 @@ const h4t = Mn({
|
|
|
7535
7535
|
key: 0,
|
|
7536
7536
|
class: Be(vt(o).e("title")),
|
|
7537
7537
|
role: "title"
|
|
7538
|
-
}, yi(E.title), 3)) :
|
|
7539
|
-
|
|
7538
|
+
}, yi(E.title), 3)) : Pr("v-if", !0),
|
|
7539
|
+
Vr(E.$slots, "default", {}, () => [
|
|
7540
7540
|
An(yi(E.content), 1)
|
|
7541
7541
|
])
|
|
7542
7542
|
]),
|
|
7543
7543
|
default: ge(() => [
|
|
7544
|
-
E.$slots.reference ?
|
|
7544
|
+
E.$slots.reference ? Vr(E.$slots, "reference", { key: 0 }) : Pr("v-if", !0)
|
|
7545
7545
|
]),
|
|
7546
7546
|
_: 3
|
|
7547
7547
|
}, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]));
|
|
@@ -7622,7 +7622,7 @@ function y4t(t) {
|
|
|
7622
7622
|
onAfterLeave: u
|
|
7623
7623
|
}, {
|
|
7624
7624
|
default: ge(() => [
|
|
7625
|
-
gi(
|
|
7625
|
+
gi(ze("div", {
|
|
7626
7626
|
style: {
|
|
7627
7627
|
backgroundColor: n.background || ""
|
|
7628
7628
|
},
|
|
@@ -7898,12 +7898,12 @@ const _x = function(t = {}) {
|
|
|
7898
7898
|
function A4t(t, e, r, n, i, o) {
|
|
7899
7899
|
const s = Mz, a = d3, u = Ag, d = fd, T = yU, f = Td, Q = vU;
|
|
7900
7900
|
return ce(), tr("div", x4t, [
|
|
7901
|
-
|
|
7901
|
+
ze(f, null, {
|
|
7902
7902
|
default: ge(() => [
|
|
7903
|
-
|
|
7903
|
+
ze(d, { span: 12 }, {
|
|
7904
7904
|
default: ge(() => [
|
|
7905
|
-
|
|
7906
|
-
r.helpMessage ? (ce(),
|
|
7905
|
+
Fe("span", E4t, yi(r.title), 1),
|
|
7906
|
+
r.helpMessage ? (ce(), Hr(u, {
|
|
7907
7907
|
key: 0,
|
|
7908
7908
|
width: "250",
|
|
7909
7909
|
trigger: "hover",
|
|
@@ -7911,29 +7911,29 @@ function A4t(t, e, r, n, i, o) {
|
|
|
7911
7911
|
"popper-class": "popover-origin-help"
|
|
7912
7912
|
}, Jj({
|
|
7913
7913
|
default: ge(() => [
|
|
7914
|
-
|
|
7914
|
+
Fe("span", M4t, yi(r.helpMessage), 1)
|
|
7915
7915
|
]),
|
|
7916
7916
|
_: 2
|
|
7917
7917
|
}, [
|
|
7918
7918
|
r.helpMessage ? {
|
|
7919
7919
|
name: "reference",
|
|
7920
7920
|
fn: ge(() => [
|
|
7921
|
-
|
|
7921
|
+
ze(a, { class: "info" }, {
|
|
7922
7922
|
default: ge(() => [
|
|
7923
|
-
|
|
7923
|
+
ze(s)
|
|
7924
7924
|
]),
|
|
7925
7925
|
_: 1
|
|
7926
7926
|
})
|
|
7927
7927
|
]),
|
|
7928
7928
|
key: "0"
|
|
7929
7929
|
} : void 0
|
|
7930
|
-
]), 1024)) :
|
|
7930
|
+
]), 1024)) : Pr("", !0)
|
|
7931
7931
|
]),
|
|
7932
7932
|
_: 1
|
|
7933
7933
|
}),
|
|
7934
|
-
|
|
7934
|
+
ze(d, { span: 12 }, {
|
|
7935
7935
|
default: ge(() => [
|
|
7936
|
-
r.selections && r.selections.length > 1 ? (ce(),
|
|
7936
|
+
r.selections && r.selections.length > 1 ? (ce(), Hr(T, {
|
|
7937
7937
|
key: 0,
|
|
7938
7938
|
class: "all-checkbox",
|
|
7939
7939
|
indeterminate: o.isIndeterminate,
|
|
@@ -7946,14 +7946,14 @@ function A4t(t, e, r, n, i, o) {
|
|
|
7946
7946
|
An("Display all")
|
|
7947
7947
|
]),
|
|
7948
7948
|
_: 1
|
|
7949
|
-
}, 8, ["indeterminate", "modelValue", "onChange", "onClick"])) :
|
|
7949
|
+
}, 8, ["indeterminate", "modelValue", "onChange", "onClick"])) : Pr("", !0)
|
|
7950
7950
|
]),
|
|
7951
7951
|
_: 1
|
|
7952
7952
|
})
|
|
7953
7953
|
]),
|
|
7954
7954
|
_: 1
|
|
7955
7955
|
}),
|
|
7956
|
-
|
|
7956
|
+
ze(Q, {
|
|
7957
7957
|
modelValue: t.checkedItems,
|
|
7958
7958
|
"onUpdate:modelValue": e[1] || (e[1] = (y) => t.checkedItems = y),
|
|
7959
7959
|
size: "small",
|
|
@@ -7961,18 +7961,18 @@ function A4t(t, e, r, n, i, o) {
|
|
|
7961
7961
|
onChange: o.handleCheckedItemsChange
|
|
7962
7962
|
}, {
|
|
7963
7963
|
default: ge(() => [
|
|
7964
|
-
|
|
7965
|
-
(ce(!0), tr(Eo, null, T4(r.selections, (y) => (ce(),
|
|
7964
|
+
Fe("div", S4t, [
|
|
7965
|
+
(ce(!0), tr(Eo, null, T4(r.selections, (y) => (ce(), Hr(f, {
|
|
7966
7966
|
key: y[r.identifierKey],
|
|
7967
7967
|
label: y[r.identifierKey]
|
|
7968
7968
|
}, {
|
|
7969
7969
|
default: ge(() => [
|
|
7970
|
-
|
|
7970
|
+
Fe("div", {
|
|
7971
7971
|
class: "checkbox-container",
|
|
7972
7972
|
onMouseenter: (_) => o.checkboxMouseEnterEmit(y[r.identifierKey], !0),
|
|
7973
7973
|
onMouseleave: (_) => o.checkboxMouseEnterEmit(y[r.identifierKey], !1)
|
|
7974
7974
|
}, [
|
|
7975
|
-
|
|
7975
|
+
ze(T, {
|
|
7976
7976
|
class: "my-checkbox",
|
|
7977
7977
|
label: y[r.identifierKey],
|
|
7978
7978
|
value: y[r.identifierKey],
|
|
@@ -7981,23 +7981,23 @@ function A4t(t, e, r, n, i, o) {
|
|
|
7981
7981
|
checked: !("enabled" in y) || y.enabled === !0
|
|
7982
7982
|
}, {
|
|
7983
7983
|
default: ge(() => [
|
|
7984
|
-
|
|
7984
|
+
ze(f, { class: "checkbox-row" }, {
|
|
7985
7985
|
default: ge(() => [
|
|
7986
|
-
o.hasLineStyles(y) ? (ce(),
|
|
7986
|
+
o.hasLineStyles(y) ? (ce(), Hr(d, {
|
|
7987
7987
|
key: 0,
|
|
7988
7988
|
span: 4
|
|
7989
7989
|
}, {
|
|
7990
7990
|
default: ge(() => [
|
|
7991
|
-
|
|
7991
|
+
Fe("div", {
|
|
7992
7992
|
class: "path-visual",
|
|
7993
7993
|
style: M1(o.getLineStyles(y))
|
|
7994
7994
|
}, null, 4)
|
|
7995
7995
|
]),
|
|
7996
7996
|
_: 2
|
|
7997
|
-
}, 1024)) :
|
|
7998
|
-
|
|
7997
|
+
}, 1024)) : Pr("", !0),
|
|
7998
|
+
ze(d, { span: 20 }, {
|
|
7999
7999
|
default: ge(() => [
|
|
8000
|
-
|
|
8000
|
+
Fe("div", {
|
|
8001
8001
|
style: M1(o.getBackgroundStyles(y))
|
|
8002
8002
|
}, yi(y[r.labelKey]), 5)
|
|
8003
8003
|
]),
|
|
@@ -8032,7 +8032,7 @@ const PU = /* @__PURE__ */ Og(w4t, [["render", A4t], ["__scopeId", "data-v-fb8c9
|
|
|
8032
8032
|
"xmlns:bx": "https://boxy-svg.com"
|
|
8033
8033
|
}, P4t = /* @__PURE__ */ Met('<defs data-v-88079d87><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-88079d87></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-88079d87></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-88079d87></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglionated nerve plexus </text>', 9), V4t = [
|
|
8034
8034
|
P4t
|
|
8035
|
-
], R4t = /* @__PURE__ */ C4t(() => /* @__PURE__ */
|
|
8035
|
+
], R4t = /* @__PURE__ */ C4t(() => /* @__PURE__ */ Fe("svg", {
|
|
8036
8036
|
width: "72px",
|
|
8037
8037
|
height: "72px",
|
|
8038
8038
|
viewBox: "0 0 24 24",
|
|
@@ -10002,12 +10002,12 @@ var XG = { exports: {} };
|
|
|
10002
10002
|
g in c && (p[g] = c[g]);
|
|
10003
10003
|
}), p;
|
|
10004
10004
|
}
|
|
10005
|
-
function
|
|
10005
|
+
function Ar(h, c) {
|
|
10006
10006
|
if (Array.isArray(h)) {
|
|
10007
10007
|
if (!Array.isArray(c) || h.length !== c.length)
|
|
10008
10008
|
return !1;
|
|
10009
10009
|
for (let p = 0; p < h.length; p++)
|
|
10010
|
-
if (!
|
|
10010
|
+
if (!Ar(h[p], c[p]))
|
|
10011
10011
|
return !1;
|
|
10012
10012
|
return !0;
|
|
10013
10013
|
}
|
|
@@ -10015,20 +10015,20 @@ var XG = { exports: {} };
|
|
|
10015
10015
|
if (typeof c != "object" || Object.keys(h).length !== Object.keys(c).length)
|
|
10016
10016
|
return !1;
|
|
10017
10017
|
for (const p in h)
|
|
10018
|
-
if (!
|
|
10018
|
+
if (!Ar(h[p], c[p]))
|
|
10019
10019
|
return !1;
|
|
10020
10020
|
return !0;
|
|
10021
10021
|
}
|
|
10022
10022
|
return h === c;
|
|
10023
10023
|
}
|
|
10024
|
-
function
|
|
10024
|
+
function Nr(h, c) {
|
|
10025
10025
|
h.push(c);
|
|
10026
10026
|
}
|
|
10027
10027
|
function dn(h, c, p) {
|
|
10028
|
-
|
|
10028
|
+
Nr(p, { command: "addSource", args: [h, c[h]] });
|
|
10029
10029
|
}
|
|
10030
10030
|
function ji(h, c, p) {
|
|
10031
|
-
|
|
10031
|
+
Nr(c, { command: "removeSource", args: [h] }), p[h] = !0;
|
|
10032
10032
|
}
|
|
10033
10033
|
function Ji(h, c, p, g) {
|
|
10034
10034
|
ji(h, p, g), dn(h, c, p);
|
|
@@ -10036,19 +10036,19 @@ var XG = { exports: {} };
|
|
|
10036
10036
|
function ki(h, c, p) {
|
|
10037
10037
|
let g;
|
|
10038
10038
|
for (g in h[p])
|
|
10039
|
-
if (Object.prototype.hasOwnProperty.call(h[p], g) && g !== "data" && !
|
|
10039
|
+
if (Object.prototype.hasOwnProperty.call(h[p], g) && g !== "data" && !Ar(h[p][g], c[p][g]))
|
|
10040
10040
|
return !1;
|
|
10041
10041
|
for (g in c[p])
|
|
10042
|
-
if (Object.prototype.hasOwnProperty.call(c[p], g) && g !== "data" && !
|
|
10042
|
+
if (Object.prototype.hasOwnProperty.call(c[p], g) && g !== "data" && !Ar(h[p][g], c[p][g]))
|
|
10043
10043
|
return !1;
|
|
10044
10044
|
return !0;
|
|
10045
10045
|
}
|
|
10046
10046
|
function _i(h, c, p, g, w, H) {
|
|
10047
10047
|
h = h || {}, c = c || {};
|
|
10048
10048
|
for (const A in h)
|
|
10049
|
-
Object.prototype.hasOwnProperty.call(h, A) && (
|
|
10049
|
+
Object.prototype.hasOwnProperty.call(h, A) && (Ar(h[A], c[A]) || p.push({ command: H, args: [g, A, c[A], w] }));
|
|
10050
10050
|
for (const A in c)
|
|
10051
|
-
Object.prototype.hasOwnProperty.call(c, A) && !Object.prototype.hasOwnProperty.call(h, A) && (
|
|
10051
|
+
Object.prototype.hasOwnProperty.call(c, A) && !Object.prototype.hasOwnProperty.call(h, A) && (Ar(h[A], c[A]) || p.push({ command: H, args: [g, A, c[A], w] }));
|
|
10052
10052
|
}
|
|
10053
10053
|
function Ii(h) {
|
|
10054
10054
|
return h.id;
|
|
@@ -10136,12 +10136,12 @@ var XG = { exports: {} };
|
|
|
10136
10136
|
}
|
|
10137
10137
|
function lr([h, c, p, g]) {
|
|
10138
10138
|
let w, H;
|
|
10139
|
-
const A = vn((0.2225045 * (h =
|
|
10139
|
+
const A = vn((0.2225045 * (h = Or(h)) + 0.7168786 * (c = Or(c)) + 0.0606169 * (p = Or(p))) / 1);
|
|
10140
10140
|
h === c && c === p ? w = H = A : (w = vn((0.4360747 * h + 0.3850649 * c + 0.1430804 * p) / St), H = vn((0.0139322 * h + 0.0971045 * c + 0.7141733 * p) / Jt));
|
|
10141
10141
|
const C = 116 * A - 16;
|
|
10142
10142
|
return [C < 0 ? 0 : C, 500 * (w - A), 200 * (A - H), g];
|
|
10143
10143
|
}
|
|
10144
|
-
function
|
|
10144
|
+
function Or(h) {
|
|
10145
10145
|
return h <= 0.04045 ? h / 12.92 : Math.pow((h + 0.055) / 1.055, 2.4);
|
|
10146
10146
|
}
|
|
10147
10147
|
function vn(h) {
|
|
@@ -13945,13 +13945,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13945
13945
|
_refreshViews() {
|
|
13946
13946
|
this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
|
|
13947
13947
|
}
|
|
13948
|
-
emplaceBack(c, p, g, w, H, A, C, N, z, W, X, tt, at, ut, Tt, Lt, Et, $t, Pt, Bt, ee, _e, Xe, Er,
|
|
13948
|
+
emplaceBack(c, p, g, w, H, A, C, N, z, W, X, tt, at, ut, Tt, Lt, Et, $t, Pt, Bt, ee, _e, Xe, Er, je, Ve, Qr, sr) {
|
|
13949
13949
|
const rr = this.length;
|
|
13950
|
-
return this.resize(rr + 1), this.emplace(rr, c, p, g, w, H, A, C, N, z, W, X, tt, at, ut, Tt, Lt, Et, $t, Pt, Bt, ee, _e, Xe, Er,
|
|
13950
|
+
return this.resize(rr + 1), this.emplace(rr, c, p, g, w, H, A, C, N, z, W, X, tt, at, ut, Tt, Lt, Et, $t, Pt, Bt, ee, _e, Xe, Er, je, Ve, Qr, sr);
|
|
13951
13951
|
}
|
|
13952
|
-
emplace(c, p, g, w, H, A, C, N, z, W, X, tt, at, ut, Tt, Lt, Et, $t, Pt, Bt, ee, _e, Xe, Er,
|
|
13952
|
+
emplace(c, p, g, w, H, A, C, N, z, W, X, tt, at, ut, Tt, Lt, Et, $t, Pt, Bt, ee, _e, Xe, Er, je, Ve, Qr, sr, rr) {
|
|
13953
13953
|
const ue = 32 * c, gr = 16 * c;
|
|
13954
|
-
return this.int16[ue + 0] = p, this.int16[ue + 1] = g, this.int16[ue + 2] = w, this.int16[ue + 3] = H, this.int16[ue + 4] = A, this.int16[ue + 5] = C, this.int16[ue + 6] = N, this.int16[ue + 7] = z, this.uint16[ue + 8] = W, this.uint16[ue + 9] = X, this.uint16[ue + 10] = tt, this.uint16[ue + 11] = at, this.uint16[ue + 12] = ut, this.uint16[ue + 13] = Tt, this.uint16[ue + 14] = Lt, this.uint16[ue + 15] = Et, this.uint16[ue + 16] = $t, this.uint16[ue + 17] = Pt, this.uint16[ue + 18] = Bt, this.uint16[ue + 19] = ee, this.uint16[ue + 20] = _e, this.uint16[ue + 21] = Xe, this.uint16[ue + 22] = Er, this.uint32[gr + 12] =
|
|
13954
|
+
return this.int16[ue + 0] = p, this.int16[ue + 1] = g, this.int16[ue + 2] = w, this.int16[ue + 3] = H, this.int16[ue + 4] = A, this.int16[ue + 5] = C, this.int16[ue + 6] = N, this.int16[ue + 7] = z, this.uint16[ue + 8] = W, this.uint16[ue + 9] = X, this.uint16[ue + 10] = tt, this.uint16[ue + 11] = at, this.uint16[ue + 12] = ut, this.uint16[ue + 13] = Tt, this.uint16[ue + 14] = Lt, this.uint16[ue + 15] = Et, this.uint16[ue + 16] = $t, this.uint16[ue + 17] = Pt, this.uint16[ue + 18] = Bt, this.uint16[ue + 19] = ee, this.uint16[ue + 20] = _e, this.uint16[ue + 21] = Xe, this.uint16[ue + 22] = Er, this.uint32[gr + 12] = je, this.float32[gr + 13] = Ve, this.float32[gr + 14] = Qr, this.uint16[ue + 30] = sr, this.uint16[ue + 31] = rr, c;
|
|
13955
13955
|
}
|
|
13956
13956
|
}
|
|
13957
13957
|
we.prototype.bytesPerElement = 64, nr("StructArrayLayout8i15ui1ul2f2ui64", we);
|
|
@@ -14023,7 +14023,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14023
14023
|
}
|
|
14024
14024
|
}
|
|
14025
14025
|
ur.prototype.bytesPerElement = 2, nr("StructArrayLayout1ui2", ur);
|
|
14026
|
-
class
|
|
14026
|
+
class Dr extends M {
|
|
14027
14027
|
_refreshViews() {
|
|
14028
14028
|
this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
|
|
14029
14029
|
}
|
|
@@ -14036,7 +14036,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14036
14036
|
return this.float32[A + 0] = p, this.float32[A + 1] = g, this.float32[A + 2] = w, this.float32[A + 3] = H, c;
|
|
14037
14037
|
}
|
|
14038
14038
|
}
|
|
14039
|
-
|
|
14039
|
+
Dr.prototype.bytesPerElement = 16, nr("StructArrayLayout4f16", Dr);
|
|
14040
14040
|
class Ie extends b {
|
|
14041
14041
|
get anchorPointX() {
|
|
14042
14042
|
return this._structArray.int16[this._pos2 + 0];
|
|
@@ -14758,7 +14758,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14758
14758
|
return { "text-opacity": ["opacity"], "icon-opacity": ["opacity"], "text-color": ["fill_color"], "icon-color": ["fill_color"], "text-halo-color": ["halo_color"], "icon-halo-color": ["halo_color"], "text-halo-blur": ["halo_blur"], "icon-halo-blur": ["halo_blur"], "text-halo-width": ["halo_width"], "icon-halo-width": ["halo_width"], "line-gap-width": ["gapwidth"], "line-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"], "fill-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"], "fill-extrusion-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"] }[h] || [h.replace(`${c}-`, "").replace(/-/g, "_")];
|
|
14759
14759
|
}
|
|
14760
14760
|
function AO(h, c, p) {
|
|
14761
|
-
const g = { color: { source: ft, composite:
|
|
14761
|
+
const g = { color: { source: ft, composite: Dr }, number: { source: Ne, composite: ft } }, w = function(H) {
|
|
14762
14762
|
return { "line-pattern": { source: n2, composite: n2 }, "fill-pattern": { source: n2, composite: n2 }, "fill-extrusion-pattern": { source: n2, composite: n2 } }[H];
|
|
14763
14763
|
}(h);
|
|
14764
14764
|
return w && w[p] || g[c][p];
|
|
@@ -15743,11 +15743,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15743
15743
|
}
|
|
15744
15744
|
return $t;
|
|
15745
15745
|
}(z, N), at = function(ut, Tt, Lt, Et) {
|
|
15746
|
-
const $t = [], Pt = [], Bt = Et[8] * Tt, ee = Et[9] * Tt, _e = Et[10] * Tt, Xe = Et[11] * Tt, Er = Et[8] * Lt,
|
|
15746
|
+
const $t = [], Pt = [], Bt = Et[8] * Tt, ee = Et[9] * Tt, _e = Et[10] * Tt, Xe = Et[11] * Tt, Er = Et[8] * Lt, je = Et[9] * Lt, Ve = Et[10] * Lt, Qr = Et[11] * Lt;
|
|
15747
15747
|
for (const sr of ut) {
|
|
15748
15748
|
const rr = [], ue = [];
|
|
15749
15749
|
for (const gr of sr) {
|
|
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], gs = Et[3] * pr + Et[7] * Ir + Et[15], V1 = p1 + _e, T1 = gs + Xe, go = Fn + Er, yo = Pn +
|
|
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], gs = Et[3] * pr + Et[7] * Ir + Et[15], V1 = p1 + _e, T1 = gs + Xe, go = Fn + Er, yo = Pn + je, vo = p1 + Ve, Oi = gs + Qr, f1 = new f((Fn + Bt) / T1, (Pn + ee) / T1);
|
|
15751
15751
|
f1.z = V1 / T1, rr.push(f1);
|
|
15752
15752
|
const K1 = new f(go / Oi, yo / Oi);
|
|
15753
15753
|
K1.z = vo / Oi, ue.push(K1);
|
|
@@ -15887,9 +15887,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
15887
15887
|
this.updateDistance(at, sr), this.addCurrentVertex(sr, Tt, 0, 0, X), at = sr;
|
|
15888
15888
|
}
|
|
15889
15889
|
}
|
|
15890
|
-
const
|
|
15891
|
-
let Ve =
|
|
15892
|
-
if (
|
|
15890
|
+
const je = at && ut;
|
|
15891
|
+
let Ve = je ? g : C ? "butt" : w;
|
|
15892
|
+
if (je && Ve === "round" && (ee < A ? Ve = "miter" : ee <= 2 && (Ve = "fakeround")), Ve === "miter" && ee > H && (Ve = "bevel"), Ve === "bevel" && (ee > 2 && (Ve = "flipbevel"), ee < H && (Ve = "miter")), at && this.updateDistance(at, tt), Ve === "miter")
|
|
15893
15893
|
$t._mult(ee), this.addCurrentVertex(tt, $t, 0, 0, X);
|
|
15894
15894
|
else if (Ve === "flipbevel") {
|
|
15895
15895
|
if (ee > 100)
|
|
@@ -16574,17 +16574,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16574
16574
|
} else
|
|
16575
16575
|
Lt = function(ee, _e) {
|
|
16576
16576
|
const Xe = [], Er = ee.text;
|
|
16577
|
-
let
|
|
16577
|
+
let je = 0;
|
|
16578
16578
|
for (const Ve of _e)
|
|
16579
|
-
Xe.push(ee.substring(
|
|
16580
|
-
return
|
|
16579
|
+
Xe.push(ee.substring(je, Ve)), je = Ve;
|
|
16580
|
+
return je < Er.length && Xe.push(ee.substring(je, Er.length)), Xe;
|
|
16581
16581
|
}(Tt, U_(Tt, z, H, c, g, at));
|
|
16582
16582
|
const Pt = [], Bt = { positionedLines: Pt, text: Tt.toString(), top: W[1], bottom: W[1], left: W[0], right: W[0], writingMode: X, iconsInText: !1, verticalizable: !1 };
|
|
16583
|
-
return function(ee, _e, Xe, Er,
|
|
16583
|
+
return function(ee, _e, Xe, Er, je, Ve, Qr, sr, rr, ue, gr, pr) {
|
|
16584
16584
|
let Ir = 0, Fn = Jc, Pn = 0, p1 = 0;
|
|
16585
16585
|
const gs = sr === "right" ? 1 : sr === "left" ? 0 : 0.5;
|
|
16586
16586
|
let V1 = 0;
|
|
16587
|
-
for (const Oi of
|
|
16587
|
+
for (const Oi of je) {
|
|
16588
16588
|
Oi.trim();
|
|
16589
16589
|
const f1 = Oi.getMaxScale(), K1 = (f1 - 1) * r1, R1 = { positionedGlyphs: [], lineOffset: 0 };
|
|
16590
16590
|
ee.positionedLines[V1] = R1;
|
|
@@ -16634,7 +16634,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16634
16634
|
for (const s2 of Oi)
|
|
16635
16635
|
for (const xi of s2.positionedGlyphs)
|
|
16636
16636
|
xi.x += Un, xi.y += ii;
|
|
16637
|
-
})(ee.positionedLines, gs, yo, vo, Pn, p1, Ve, go,
|
|
16637
|
+
})(ee.positionedLines, gs, yo, vo, Pn, p1, Ve, go, je.length), ee.top += -vo * go, ee.bottom = ee.top + go, ee.left += -yo * Pn, ee.right = ee.left + Pn;
|
|
16638
16638
|
}(Bt, c, p, g, Lt, A, C, N, X, z, tt, ut), !function(ee) {
|
|
16639
16639
|
for (const _e of ee)
|
|
16640
16640
|
if (_e.positionedGlyphs.length !== 0)
|
|
@@ -16855,24 +16855,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16855
16855
|
continue;
|
|
16856
16856
|
let _e, Xe;
|
|
16857
16857
|
if (Bt || (ee.geometry = F0(Lt)), z) {
|
|
16858
|
-
const
|
|
16858
|
+
const je = w.getValueAndResolveTokens("text-field", ee, g, ut), Ve = Xr.factory(je), Qr = this.hasRTLText = this.hasRTLText || Ftt(Ve);
|
|
16859
16859
|
(!Qr || Ro.getRTLTextPluginStatus() === "unavailable" || Qr && Ro.isParsed()) && (_e = ytt(Ve, w, ee));
|
|
16860
16860
|
}
|
|
16861
16861
|
if (W) {
|
|
16862
|
-
const
|
|
16863
|
-
Xe =
|
|
16862
|
+
const je = w.getValueAndResolveTokens("icon-image", ee, g, ut);
|
|
16863
|
+
Xe = je instanceof pn ? je : pn.fromString(je);
|
|
16864
16864
|
}
|
|
16865
16865
|
if (!_e && !Xe)
|
|
16866
16866
|
continue;
|
|
16867
16867
|
const Er = this.sortFeaturesByKey ? X.evaluate(ee, {}, g) : void 0;
|
|
16868
16868
|
if (this.features.push({ id: Et, text: _e, icon: Xe, index: $t, sourceLayerIndex: Pt, geometry: ee.geometry, properties: Lt.properties, type: Ntt[Lt.type], sortKey: Er }), Xe && (tt[Xe.name] = !0), _e) {
|
|
16869
|
-
const
|
|
16869
|
+
const je = A.evaluate(ee, {}, g).join(","), Ve = H.get("text-rotation-alignment") !== "viewport" && H.get("symbol-placement") !== "point";
|
|
16870
16870
|
this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(s.ah.vertical) >= 0;
|
|
16871
16871
|
for (const Qr of _e.sections)
|
|
16872
16872
|
if (Qr.image)
|
|
16873
16873
|
tt[Qr.image.name] = !0;
|
|
16874
16874
|
else {
|
|
16875
|
-
const sr = Rc(_e.toString()), rr = Qr.fontStack ||
|
|
16875
|
+
const sr = Rc(_e.toString()), rr = Qr.fontStack || je, ue = at[rr] = at[rr] || {};
|
|
16876
16876
|
this.calculateGlyphDependencies(Qr.text, ue, Ve, this.allowVerticalPlacement, sr);
|
|
16877
16877
|
}
|
|
16878
16878
|
}
|
|
@@ -16880,25 +16880,25 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16880
16880
|
H.get("symbol-placement") === "line" && (this.features = function(Lt) {
|
|
16881
16881
|
const Et = {}, $t = {}, Pt = [];
|
|
16882
16882
|
let Bt = 0;
|
|
16883
|
-
function ee(
|
|
16884
|
-
Pt.push(Lt[
|
|
16883
|
+
function ee(je) {
|
|
16884
|
+
Pt.push(Lt[je]), Bt++;
|
|
16885
16885
|
}
|
|
16886
|
-
function _e(
|
|
16887
|
-
const sr = $t[
|
|
16888
|
-
return delete $t[
|
|
16886
|
+
function _e(je, Ve, Qr) {
|
|
16887
|
+
const sr = $t[je];
|
|
16888
|
+
return delete $t[je], $t[Ve] = sr, Pt[sr].geometry[0].pop(), Pt[sr].geometry[0] = Pt[sr].geometry[0].concat(Qr[0]), sr;
|
|
16889
16889
|
}
|
|
16890
|
-
function Xe(
|
|
16890
|
+
function Xe(je, Ve, Qr) {
|
|
16891
16891
|
const sr = Et[Ve];
|
|
16892
|
-
return delete Et[Ve], Et[
|
|
16892
|
+
return delete Et[Ve], Et[je] = sr, Pt[sr].geometry[0].shift(), Pt[sr].geometry[0] = Qr[0].concat(Pt[sr].geometry[0]), sr;
|
|
16893
16893
|
}
|
|
16894
|
-
function Er(
|
|
16894
|
+
function Er(je, Ve, Qr) {
|
|
16895
16895
|
const sr = Qr ? Ve[0][Ve[0].length - 1] : Ve[0][0];
|
|
16896
|
-
return `${
|
|
16896
|
+
return `${je}:${sr.x}:${sr.y}`;
|
|
16897
16897
|
}
|
|
16898
|
-
for (let
|
|
16899
|
-
const Ve = Lt[
|
|
16898
|
+
for (let je = 0; je < Lt.length; je++) {
|
|
16899
|
+
const Ve = Lt[je], Qr = Ve.geometry, sr = Ve.text ? Ve.text.toString() : null;
|
|
16900
16900
|
if (!sr) {
|
|
16901
|
-
ee(
|
|
16901
|
+
ee(je);
|
|
16902
16902
|
continue;
|
|
16903
16903
|
}
|
|
16904
16904
|
const rr = Er(sr, Qr), ue = Er(sr, Qr, !0);
|
|
@@ -16906,9 +16906,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16906
16906
|
const gr = Xe(rr, ue, Qr), pr = _e(rr, ue, Pt[gr].geometry);
|
|
16907
16907
|
delete Et[rr], delete $t[ue], $t[Er(sr, Pt[pr].geometry, !0)] = pr, Pt[gr].geometry = null;
|
|
16908
16908
|
} else
|
|
16909
|
-
rr in $t ? _e(rr, ue, Qr) : ue in Et ? Xe(rr, ue, Qr) : (ee(
|
|
16909
|
+
rr in $t ? _e(rr, ue, Qr) : ue in Et ? Xe(rr, ue, Qr) : (ee(je), Et[rr] = Bt - 1, $t[ue] = Bt - 1);
|
|
16910
16910
|
}
|
|
16911
|
-
return Pt.filter((
|
|
16911
|
+
return Pt.filter((je) => je.geometry);
|
|
16912
16912
|
}(this.features)), this.sortFeaturesByKey && this.features.sort((Lt, Et) => Lt.sortKey - Et.sortKey);
|
|
16913
16913
|
}
|
|
16914
16914
|
update(c, p, g) {
|
|
@@ -16948,8 +16948,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
16948
16948
|
addSymbols(c, p, g, w, H, A, C, N, z, W, X, tt) {
|
|
16949
16949
|
const at = c.indexArray, ut = c.layoutVertexArray, Tt = c.segments.prepareSegment(4 * p.length, ut, at, this.canOverlap ? A.sortKey : void 0), Lt = this.glyphOffsetArray.length, Et = Tt.vertexLength, $t = this.allowVerticalPlacement && C === s.ah.vertical ? Math.PI / 2 : 0, Pt = A.text && A.text.sections;
|
|
16950
16950
|
for (let Bt = 0; Bt < p.length; Bt++) {
|
|
16951
|
-
const { tl: ee, tr: _e, bl: Xe, br: Er, tex:
|
|
16952
|
-
Np(ut, N.x, N.y, ee.x, Fn + ee.y,
|
|
16951
|
+
const { tl: ee, tr: _e, bl: Xe, br: Er, tex: je, pixelOffsetTL: Ve, pixelOffsetBR: Qr, minFontScaleX: sr, minFontScaleY: rr, glyphOffset: ue, isSDF: gr, sectionIndex: pr } = p[Bt], Ir = Tt.vertexLength, Fn = ue[1];
|
|
16952
|
+
Np(ut, N.x, N.y, ee.x, Fn + ee.y, je.x, je.y, g, gr, Ve.x, Ve.y, sr, rr), Np(ut, N.x, N.y, _e.x, Fn + _e.y, je.x + je.w, je.y, g, gr, Qr.x, Ve.y, sr, rr), Np(ut, N.x, N.y, Xe.x, Fn + Xe.y, je.x, je.y + je.h, g, gr, Ve.x, Qr.y, sr, rr), Np(ut, N.x, N.y, Er.x, Fn + Er.y, je.x + je.w, je.y + je.h, g, gr, Qr.x, Qr.y, sr, rr), W_(c.dynamicLayoutVertexArray, N, $t), at.emplaceBack(Ir, Ir + 1, Ir + 2), at.emplaceBack(Ir + 1, Ir + 2, Ir + 3), Tt.vertexLength += 4, Tt.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(ue[0]), Bt !== p.length - 1 && pr === p[Bt + 1].sectionIndex || c.programConfigurations.populatePaintArrays(ut.length, A, A.index, {}, tt, Pt && Pt[pr]);
|
|
16953
16953
|
}
|
|
16954
16954
|
c.placedSymbolArray.emplaceBack(N.x, N.y, Lt, this.glyphOffsetArray.length - Lt, Et, z, W, N.segment, g ? g[0] : 0, g ? g[1] : 0, w[0], w[1], C, 0, !1, 0, X);
|
|
16955
16955
|
}
|
|
@@ -17511,14 +17511,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17511
17511
|
for (const Ve of Bt)
|
|
17512
17512
|
if (ee <= Ve.x && _e <= Ve.y && Xe >= Ve.x && Er >= Ve.y)
|
|
17513
17513
|
return !0;
|
|
17514
|
-
const
|
|
17514
|
+
const je = [new f(ee, _e), new f(ee, Er), new f(Xe, Er), new f(Xe, _e)];
|
|
17515
17515
|
if (Bt.length > 2) {
|
|
17516
|
-
for (const Ve of
|
|
17516
|
+
for (const Ve of je)
|
|
17517
17517
|
if (Fl(Bt, Ve))
|
|
17518
17518
|
return !0;
|
|
17519
17519
|
}
|
|
17520
17520
|
for (let Ve = 0; Ve < Bt.length - 1; Ve++)
|
|
17521
|
-
if (xJ(Bt[Ve], Bt[Ve + 1],
|
|
17521
|
+
if (xJ(Bt[Ve], Bt[Ve + 1], je))
|
|
17522
17522
|
return !0;
|
|
17523
17523
|
return !1;
|
|
17524
17524
|
}(c.cameraQueryGeometry, Lt - z, Et - z, $t + z, Pt + z));
|
|
@@ -17713,8 +17713,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17713
17713
|
const ue = H.content, gr = ue[2] - ue[0], pr = ue[3] - ue[1];
|
|
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
|
-
const
|
|
17717
|
-
const Fn = Bp(ue.stretch - Et, $t, Qr,
|
|
17716
|
+
const je = z.x1, Ve = z.y1, Qr = z.x2 - je, sr = z.y2 - Ve, rr = (ue, gr, pr, Ir) => {
|
|
17717
|
+
const Fn = Bp(ue.stretch - Et, $t, Qr, je), Pn = jp(ue.fixed - ee, _e, ue.stretch, at), p1 = Bp(gr.stretch - Pt, Bt, sr, Ve), gs = jp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = Bp(pr.stretch - Et, $t, Qr, je), 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), K1 = new f(Fn, go), R1 = new f(Pn / A, gs / 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
17720
|
vo._matMult(ii), Oi._matMult(ii), K1._matMult(ii), f1._matMult(ii);
|
|
@@ -17968,7 +17968,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17968
17968
|
const tt = h.layers[0].layout, at = tt.get("icon-offset").evaluate(c, {}, W), ut = ek(p.horizontal), Tt = A / 24, Lt = h.tilePixelRatio * Tt, Et = h.tilePixelRatio * X / 24, $t = h.tilePixelRatio * C, Pt = h.tilePixelRatio * tt.get("symbol-spacing"), Bt = tt.get("text-padding") * h.tilePixelRatio, ee = function(ue, gr, pr, Ir = 1) {
|
|
17969
17969
|
const Fn = ue.get("icon-padding").evaluate(gr, {}, pr), Pn = Fn && Fn.values;
|
|
17970
17970
|
return [Pn[0] * Ir, Pn[1] * Ir, Pn[2] * Ir, Pn[3] * Ir];
|
|
17971
|
-
}(tt, c, W, h.tilePixelRatio), _e = tt.get("text-max-angle") / 180 * Math.PI, Xe = tt.get("text-rotation-alignment") !== "viewport" && tt.get("symbol-placement") !== "point", Er = tt.get("icon-rotation-alignment") === "map" && tt.get("symbol-placement") !== "point",
|
|
17971
|
+
}(tt, c, W, h.tilePixelRatio), _e = tt.get("text-max-angle") / 180 * Math.PI, Xe = tt.get("text-rotation-alignment") !== "viewport" && tt.get("symbol-placement") !== "point", Er = tt.get("icon-rotation-alignment") === "map" && tt.get("symbol-placement") !== "point", je = tt.get("symbol-placement"), Ve = Pt / 2, Qr = tt.get("icon-text-fit");
|
|
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) => {
|
|
@@ -18019,13 +18019,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
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, Zs, 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);
|
|
18021
18021
|
};
|
|
18022
|
-
if (
|
|
18022
|
+
if (je === "line")
|
|
18023
18023
|
for (const ue of UC(c.geometry, 0, 0, Zi, Zi)) {
|
|
18024
18024
|
const gr = qtt(ue, Pt, _e, p.vertical || ut, g, 24, Et, h.overscaling, Zi);
|
|
18025
18025
|
for (const pr of gr)
|
|
18026
18026
|
ut && tet(h, ut.text, Ve, pr) || rr(ue, pr);
|
|
18027
18027
|
}
|
|
18028
|
-
else if (
|
|
18028
|
+
else if (je === "line-center") {
|
|
18029
18029
|
for (const ue of c.geometry)
|
|
18030
18030
|
if (ue.length > 1) {
|
|
18031
18031
|
const gr = Ztt(ue, _e, p.vertical || ut, g, 24, Et);
|
|
@@ -18045,7 +18045,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18045
18045
|
rr([gr], new Q6(gr.x, gr.y, 0));
|
|
18046
18046
|
}
|
|
18047
18047
|
function tk(h, c, p, g, w, H, A, C, N, z, W, X, tt, at, ut) {
|
|
18048
|
-
const Tt = function($t, Pt, Bt, ee, _e, Xe, Er,
|
|
18048
|
+
const Tt = function($t, Pt, Bt, ee, _e, Xe, Er, je) {
|
|
18049
18049
|
const Ve = ee.layout.get("text-rotate").evaluate(Xe, {}) * Math.PI / 180, Qr = [];
|
|
18050
18050
|
for (const sr of Pt.positionedLines)
|
|
18051
18051
|
for (const rr of sr.positionedGlyphs) {
|
|
@@ -18053,8 +18053,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18053
18053
|
continue;
|
|
18054
18054
|
const ue = rr.rect || {};
|
|
18055
18055
|
let gr = QC + 1, pr = !0, Ir = 1, Fn = 0;
|
|
18056
|
-
const Pn = (_e ||
|
|
18057
|
-
if (
|
|
18056
|
+
const Pn = (_e || je) && rr.vertical, p1 = rr.metrics.advance * rr.scale / 2;
|
|
18057
|
+
if (je && Pt.verticalizable && (Fn = sr.lineOffset / 2 - (rr.imageName ? -(r1 - rr.metrics.width * rr.scale) / 2 : (rr.scale - 1) * r1)), rr.imageName) {
|
|
18058
18058
|
const fn = Er[rr.imageName];
|
|
18059
18059
|
pr = fn.sdf, Ir = fn.pixelRatio, gr = Do / Ir;
|
|
18060
18060
|
}
|
|
@@ -18312,8 +18312,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18312
18312
|
}
|
|
18313
18313
|
return p;
|
|
18314
18314
|
}, s.N = f6, s.O = kC, s.P = f, s.Q = IC, s.R = k2, s.S = I2, s.T = Ol, s.U = x, s.V = O, s.W = qr, s.X = Zi, s.Y = V, s.Z = ru, s._ = a, s.a = er, s.a$ = function(h, c) {
|
|
18315
|
-
var p = h[0], g = h[1], w = h[2], H = h[3], A = h[4], C = h[5], N = h[6], z = h[7], W = h[8], X = h[9], tt = h[10], at = h[11], ut = h[12], Tt = h[13], Lt = h[14], Et = h[15], $t = c[0], Pt = c[1], Bt = c[2], ee = c[3], _e = c[4], Xe = c[5], Er = c[6],
|
|
18316
|
-
return Math.abs(p - $t) <= mo * Math.max(1, Math.abs(p), Math.abs($t)) && Math.abs(g - Pt) <= mo * Math.max(1, Math.abs(g), Math.abs(Pt)) && Math.abs(w - Bt) <= mo * Math.max(1, Math.abs(w), Math.abs(Bt)) && Math.abs(H - ee) <= mo * Math.max(1, Math.abs(H), Math.abs(ee)) && Math.abs(A - _e) <= mo * Math.max(1, Math.abs(A), Math.abs(_e)) && Math.abs(C - Xe) <= mo * Math.max(1, Math.abs(C), Math.abs(Xe)) && Math.abs(N - Er) <= mo * Math.max(1, Math.abs(N), Math.abs(Er)) && Math.abs(z -
|
|
18315
|
+
var p = h[0], g = h[1], w = h[2], H = h[3], A = h[4], C = h[5], N = h[6], z = h[7], W = h[8], X = h[9], tt = h[10], at = h[11], ut = h[12], Tt = h[13], Lt = h[14], Et = h[15], $t = c[0], Pt = c[1], Bt = c[2], ee = c[3], _e = c[4], Xe = c[5], Er = c[6], je = c[7], Ve = c[8], Qr = c[9], sr = c[10], rr = c[11], ue = c[12], gr = c[13], pr = c[14], Ir = c[15];
|
|
18316
|
+
return Math.abs(p - $t) <= mo * Math.max(1, Math.abs(p), Math.abs($t)) && Math.abs(g - Pt) <= mo * Math.max(1, Math.abs(g), Math.abs(Pt)) && Math.abs(w - Bt) <= mo * Math.max(1, Math.abs(w), Math.abs(Bt)) && Math.abs(H - ee) <= mo * Math.max(1, Math.abs(H), Math.abs(ee)) && Math.abs(A - _e) <= mo * Math.max(1, Math.abs(A), Math.abs(_e)) && Math.abs(C - Xe) <= mo * Math.max(1, Math.abs(C), Math.abs(Xe)) && Math.abs(N - Er) <= mo * Math.max(1, Math.abs(N), Math.abs(Er)) && Math.abs(z - je) <= mo * Math.max(1, Math.abs(z), Math.abs(je)) && Math.abs(W - Ve) <= mo * Math.max(1, Math.abs(W), Math.abs(Ve)) && Math.abs(X - Qr) <= mo * Math.max(1, Math.abs(X), Math.abs(Qr)) && Math.abs(tt - sr) <= mo * Math.max(1, Math.abs(tt), Math.abs(sr)) && Math.abs(at - rr) <= mo * Math.max(1, Math.abs(at), Math.abs(rr)) && Math.abs(ut - ue) <= mo * Math.max(1, Math.abs(ut), Math.abs(ue)) && Math.abs(Tt - gr) <= mo * Math.max(1, Math.abs(Tt), Math.abs(gr)) && Math.abs(Lt - pr) <= mo * Math.max(1, Math.abs(Lt), Math.abs(pr)) && Math.abs(Et - Ir) <= mo * Math.max(1, Math.abs(Et), Math.abs(Ir));
|
|
18317
18317
|
}, s.a0 = an, s.a1 = J_, s.a2 = ye, s.a3 = (h) => {
|
|
18318
18318
|
const c = window.document.createElement("video");
|
|
18319
18319
|
return c.muted = !0, new Promise((p) => {
|
|
@@ -18355,16 +18355,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18355
18355
|
return [{ command: "setStyle", args: [c] }];
|
|
18356
18356
|
let p = [];
|
|
18357
18357
|
try {
|
|
18358
|
-
if (!
|
|
18358
|
+
if (!Ar(h.version, c.version))
|
|
18359
18359
|
return [{ command: "setStyle", args: [c] }];
|
|
18360
|
-
|
|
18360
|
+
Ar(h.center, c.center) || p.push({ command: "setCenter", args: [c.center] }), Ar(h.zoom, c.zoom) || p.push({ command: "setZoom", args: [c.zoom] }), Ar(h.bearing, c.bearing) || p.push({ command: "setBearing", args: [c.bearing] }), Ar(h.pitch, c.pitch) || p.push({ command: "setPitch", args: [c.pitch] }), Ar(h.sprite, c.sprite) || p.push({ command: "setSprite", args: [c.sprite] }), Ar(h.glyphs, c.glyphs) || p.push({ command: "setGlyphs", args: [c.glyphs] }), Ar(h.transition, c.transition) || p.push({ command: "setTransition", args: [c.transition] }), Ar(h.light, c.light) || p.push({ command: "setLight", args: [c.light] }), Ar(h.terrain, c.terrain) || p.push({ command: "setTerrain", args: [c.terrain] }), Ar(h.sky, c.sky) || p.push({ command: "setSky", args: [c.sky] }), Ar(h.projection, c.projection) || p.push({ command: "setProjection", args: [c.projection] });
|
|
18361
18361
|
const g = {}, w = [];
|
|
18362
18362
|
(function(A, C, N, z) {
|
|
18363
18363
|
let W;
|
|
18364
18364
|
for (W in C = C || {}, A = A || {})
|
|
18365
18365
|
Object.prototype.hasOwnProperty.call(A, W) && (Object.prototype.hasOwnProperty.call(C, W) || ji(W, N, z));
|
|
18366
18366
|
for (W in C)
|
|
18367
|
-
Object.prototype.hasOwnProperty.call(C, W) && (Object.prototype.hasOwnProperty.call(A, W) ?
|
|
18367
|
+
Object.prototype.hasOwnProperty.call(C, W) && (Object.prototype.hasOwnProperty.call(A, W) ? Ar(A[W], C[W]) || (A[W].type === "geojson" && C[W].type === "geojson" && ki(A, C, W) ? Nr(N, { command: "setGeoJSONSourceData", args: [W, C[W].data] }) : Ji(W, C, N, z)) : dn(W, C, N));
|
|
18368
18368
|
})(h.sources, c.sources, w, g);
|
|
18369
18369
|
const H = [];
|
|
18370
18370
|
h.layers && h.layers.forEach((A) => {
|
|
@@ -18374,18 +18374,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18374
18374
|
const z = (A = A || []).map(Ii), W = C.map(Ii), X = A.reduce(c1, {}), tt = C.reduce(c1, {}), at = z.slice(), ut = /* @__PURE__ */ Object.create(null);
|
|
18375
18375
|
let Tt, Lt, Et, $t, Pt;
|
|
18376
18376
|
for (let Bt = 0, ee = 0; Bt < z.length; Bt++)
|
|
18377
|
-
Tt = z[Bt], Object.prototype.hasOwnProperty.call(tt, Tt) ? ee++ : (
|
|
18377
|
+
Tt = z[Bt], Object.prototype.hasOwnProperty.call(tt, Tt) ? ee++ : (Nr(N, { command: "removeLayer", args: [Tt] }), at.splice(at.indexOf(Tt, ee), 1));
|
|
18378
18378
|
for (let Bt = 0, ee = 0; Bt < W.length; Bt++)
|
|
18379
|
-
Tt = W[W.length - 1 - Bt], at[at.length - 1 - Bt] !== Tt && (Object.prototype.hasOwnProperty.call(X, Tt) ? (
|
|
18379
|
+
Tt = W[W.length - 1 - Bt], at[at.length - 1 - Bt] !== Tt && (Object.prototype.hasOwnProperty.call(X, Tt) ? (Nr(N, { command: "removeLayer", args: [Tt] }), at.splice(at.lastIndexOf(Tt, at.length - ee), 1)) : ee++, $t = at[at.length - Bt], Nr(N, { command: "addLayer", args: [tt[Tt], $t] }), at.splice(at.length - Bt, 0, Tt), ut[Tt] = !0);
|
|
18380
18380
|
for (let Bt = 0; Bt < W.length; Bt++)
|
|
18381
|
-
if (Tt = W[Bt], Lt = X[Tt], Et = tt[Tt], !ut[Tt] && !
|
|
18382
|
-
if (
|
|
18383
|
-
for (Pt in _i(Lt.layout, Et.layout, N, Tt, null, "setLayoutProperty"), _i(Lt.paint, Et.paint, N, Tt, null, "setPaintProperty"),
|
|
18384
|
-
Object.prototype.hasOwnProperty.call(Lt, Pt) && Pt !== "layout" && Pt !== "paint" && Pt !== "filter" && Pt !== "metadata" && Pt !== "minzoom" && Pt !== "maxzoom" && (Pt.indexOf("paint.") === 0 ? _i(Lt[Pt], Et[Pt], N, Tt, Pt.slice(6), "setPaintProperty") :
|
|
18381
|
+
if (Tt = W[Bt], Lt = X[Tt], Et = tt[Tt], !ut[Tt] && !Ar(Lt, Et))
|
|
18382
|
+
if (Ar(Lt.source, Et.source) && Ar(Lt["source-layer"], Et["source-layer"]) && Ar(Lt.type, Et.type)) {
|
|
18383
|
+
for (Pt in _i(Lt.layout, Et.layout, N, Tt, null, "setLayoutProperty"), _i(Lt.paint, Et.paint, N, Tt, null, "setPaintProperty"), Ar(Lt.filter, Et.filter) || Nr(N, { command: "setFilter", args: [Tt, Et.filter] }), Ar(Lt.minzoom, Et.minzoom) && Ar(Lt.maxzoom, Et.maxzoom) || Nr(N, { command: "setLayerZoomRange", args: [Tt, Et.minzoom, Et.maxzoom] }), Lt)
|
|
18384
|
+
Object.prototype.hasOwnProperty.call(Lt, Pt) && Pt !== "layout" && Pt !== "paint" && Pt !== "filter" && Pt !== "metadata" && Pt !== "minzoom" && Pt !== "maxzoom" && (Pt.indexOf("paint.") === 0 ? _i(Lt[Pt], Et[Pt], N, Tt, Pt.slice(6), "setPaintProperty") : Ar(Lt[Pt], Et[Pt]) || Nr(N, { command: "setLayerProperty", args: [Tt, Pt, Et[Pt]] }));
|
|
18385
18385
|
for (Pt in Et)
|
|
18386
|
-
Object.prototype.hasOwnProperty.call(Et, Pt) && !Object.prototype.hasOwnProperty.call(Lt, Pt) && Pt !== "layout" && Pt !== "paint" && Pt !== "filter" && Pt !== "metadata" && Pt !== "minzoom" && Pt !== "maxzoom" && (Pt.indexOf("paint.") === 0 ? _i(Lt[Pt], Et[Pt], N, Tt, Pt.slice(6), "setPaintProperty") :
|
|
18386
|
+
Object.prototype.hasOwnProperty.call(Et, Pt) && !Object.prototype.hasOwnProperty.call(Lt, Pt) && Pt !== "layout" && Pt !== "paint" && Pt !== "filter" && Pt !== "metadata" && Pt !== "minzoom" && Pt !== "maxzoom" && (Pt.indexOf("paint.") === 0 ? _i(Lt[Pt], Et[Pt], N, Tt, Pt.slice(6), "setPaintProperty") : Ar(Lt[Pt], Et[Pt]) || Nr(N, { command: "setLayerProperty", args: [Tt, Pt, Et[Pt]] }));
|
|
18387
18387
|
} else
|
|
18388
|
-
|
|
18388
|
+
Nr(N, { command: "removeLayer", args: [Tt] }), $t = at[at.lastIndexOf(Tt) + 1], Nr(N, { command: "addLayer", args: [Et, $t] });
|
|
18389
18389
|
}(H, c.layers, p);
|
|
18390
18390
|
} catch (g) {
|
|
18391
18391
|
console.warn("Unable to compute style diff:", g), p = [{ command: "setStyle", args: [c] }];
|
|
@@ -18500,8 +18500,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18500
18500
|
c = Math.min(c, H.x), p = Math.min(p, H.y), g = Math.max(g, H.x), w = Math.max(w, H.y);
|
|
18501
18501
|
return [c, p, g, w];
|
|
18502
18502
|
}, s.ap = r1, s.ar = $_, s.as = function(h, c) {
|
|
18503
|
-
var p = c[0], g = c[1], w = c[2], H = c[3], A = c[4], C = c[5], N = c[6], z = c[7], W = c[8], X = c[9], tt = c[10], at = c[11], ut = c[12], Tt = c[13], Lt = c[14], Et = c[15], $t = p * C - g * A, Pt = p * N - w * A, Bt = p * z - H * A, ee = g * N - w * C, _e = g * z - H * C, Xe = w * z - H * N, Er = W * Tt - X * ut,
|
|
18504
|
-
return ue ? (h[0] = (C * rr - N * sr + z * Qr) * (ue = 1 / ue), h[1] = (w * sr - g * rr - H * Qr) * ue, h[2] = (Tt * Xe - Lt * _e + Et * ee) * ue, h[3] = (tt * _e - X * Xe - at * ee) * ue, h[4] = (N * Ve - A * rr - z *
|
|
18503
|
+
var p = c[0], g = c[1], w = c[2], H = c[3], A = c[4], C = c[5], N = c[6], z = c[7], W = c[8], X = c[9], tt = c[10], at = c[11], ut = c[12], Tt = c[13], Lt = c[14], Et = c[15], $t = p * C - g * A, Pt = p * N - w * A, Bt = p * z - H * A, ee = g * N - w * C, _e = g * z - H * C, Xe = w * z - H * N, Er = W * Tt - X * ut, je = W * Lt - tt * ut, Ve = W * Et - at * ut, Qr = X * Lt - tt * Tt, sr = X * Et - at * Tt, rr = tt * Et - at * Lt, ue = $t * rr - Pt * sr + Bt * Qr + ee * Ve - _e * je + Xe * Er;
|
|
18504
|
+
return ue ? (h[0] = (C * rr - N * sr + z * Qr) * (ue = 1 / ue), h[1] = (w * sr - g * rr - H * Qr) * ue, h[2] = (Tt * Xe - Lt * _e + Et * ee) * ue, h[3] = (tt * _e - X * Xe - at * ee) * ue, h[4] = (N * Ve - A * rr - z * je) * ue, h[5] = (p * rr - w * Ve + H * je) * ue, h[6] = (Lt * Bt - ut * Xe - Et * Pt) * ue, h[7] = (W * Xe - tt * Bt + at * Pt) * ue, h[8] = (A * sr - C * Ve + z * Er) * ue, h[9] = (g * Ve - p * sr - H * Er) * ue, h[10] = (ut * _e - Tt * Bt + Et * $t) * ue, h[11] = (X * Bt - W * _e - at * $t) * ue, h[12] = (C * je - A * Qr - N * Er) * ue, h[13] = (p * Qr - g * je + w * Er) * ue, h[14] = (Tt * Pt - ut * ee - Lt * $t) * ue, h[15] = (W * ee - X * Pt + tt * $t) * ue, h) : null;
|
|
18505
18505
|
}, s.at = eb, s.au = G_, s.av = rb, s.aw = function() {
|
|
18506
18506
|
const h = {}, c = Ct.$version;
|
|
18507
18507
|
for (const p in Ct.$root) {
|
|
@@ -18579,17 +18579,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18579
18579
|
const sr = p.get("text-radial-offset").evaluate(z, {}, h.canonical);
|
|
18580
18580
|
Et = sr ? YC(Xe, [sr * r1, tb]) : p.get("text-offset").evaluate(z, {}, h.canonical).map((rr) => rr * r1);
|
|
18581
18581
|
}
|
|
18582
|
-
let
|
|
18582
|
+
let je = A ? "center" : p.get("text-justify").evaluate(z, {}, h.canonical);
|
|
18583
18583
|
const Ve = p.get("symbol-placement") === "point" ? p.get("text-max-width").evaluate(z, {}, h.canonical) * r1 : 1 / 0, Qr = () => {
|
|
18584
18584
|
h.bucket.allowVerticalPlacement && Rc(Bt) && (ut.vertical = Vp(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, Ve, H, Xe, "left", _e, Et, s.ah.vertical, !0, tt, X));
|
|
18585
18585
|
};
|
|
18586
18586
|
if (!A && Er) {
|
|
18587
18587
|
const sr = /* @__PURE__ */ new Set();
|
|
18588
|
-
if (
|
|
18588
|
+
if (je === "auto")
|
|
18589
18589
|
for (let ue = 0; ue < Er.values.length; ue += 2)
|
|
18590
18590
|
sr.add(eb(Er.values[ue]));
|
|
18591
18591
|
else
|
|
18592
|
-
sr.add(
|
|
18592
|
+
sr.add(je);
|
|
18593
18593
|
let rr = !1;
|
|
18594
18594
|
for (const ue of sr)
|
|
18595
18595
|
if (!ut.horizontal[ue])
|
|
@@ -18601,9 +18601,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18601
18601
|
}
|
|
18602
18602
|
Qr();
|
|
18603
18603
|
} else {
|
|
18604
|
-
|
|
18605
|
-
const sr = Vp(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, Ve, H, Xe,
|
|
18606
|
-
sr && (ut.horizontal[
|
|
18604
|
+
je === "auto" && (je = eb(Xe));
|
|
18605
|
+
const sr = Vp(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, Ve, H, Xe, je, _e, Et, s.ah.horizontal, !1, tt, X);
|
|
18606
|
+
sr && (ut.horizontal[je] = sr), Qr(), Rc(Bt) && A && C && (ut.vertical = Vp(Tt, h.glyphMap, h.glyphPositions, h.imagePositions, W, Ve, H, Xe, je, _e, Et, s.ah.vertical, !1, tt, X));
|
|
18607
18607
|
}
|
|
18608
18608
|
}
|
|
18609
18609
|
let $t = !1;
|
|
@@ -18764,7 +18764,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18764
18764
|
const br = new AbortController();
|
|
18765
18765
|
this.inFlightDependencies.push(br), Te = yt.sendAsync({ type: "GI", data: { icons: Rt, source: this.source, tileID: this.tileID, type: "patterns" } }, br);
|
|
18766
18766
|
}
|
|
18767
|
-
const [Se, lr,
|
|
18767
|
+
const [Se, lr, Or] = yield Promise.all([Xt, or, Te]), vn = new u(Se), zr = new s.bo(lr, Or);
|
|
18768
18768
|
for (const br in jt) {
|
|
18769
18769
|
const Br = jt[br];
|
|
18770
18770
|
Br instanceof s.a6 ? (T(Br.layers, this.zoom, pt), s.bp({ bucket: Br, glyphMap: Se, glyphPositions: vn.positions, imageMap: lr, imagePositions: zr.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical })) : Br.hasPattern && (Br instanceof s.bq || Br instanceof s.br || Br instanceof s.bs) && (T(Br.layers, this.zoom, pt), Br.addFeatures(St, this.tileID.canonical, zr.patternPositions));
|
|
@@ -19123,11 +19123,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19123
19123
|
const Le = St[Xt], or = St[Xt + 1], Rt = ot.within(St[Xt], St[Xt + 1], jt), Te = St[Xt + Ke];
|
|
19124
19124
|
let Se = Te;
|
|
19125
19125
|
for (const lr of Rt) {
|
|
19126
|
-
const
|
|
19127
|
-
St[
|
|
19126
|
+
const Or = lr * ae;
|
|
19127
|
+
St[Or + 2] > st && (Se += St[Or + Ke]);
|
|
19128
19128
|
}
|
|
19129
19129
|
if (Se > Te && Se >= Vt) {
|
|
19130
|
-
let lr,
|
|
19130
|
+
let lr, Or = Le * Te, vn = or * Te, zr = -1;
|
|
19131
19131
|
const br = ((Xt / ae | 0) << 5) + (st + 1) + this.points.length;
|
|
19132
19132
|
for (const Br of Rt) {
|
|
19133
19133
|
const cn = Br * ae;
|
|
@@ -19135,19 +19135,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19135
19135
|
continue;
|
|
19136
19136
|
St[cn + 2] = st;
|
|
19137
19137
|
const Kn = St[cn + Ke];
|
|
19138
|
-
|
|
19138
|
+
Or += St[cn] * Kn, vn += St[cn + 1] * Kn, St[cn + 4] = br, At && (lr || (lr = this._map(St, Xt, !0), zr = this.clusterProps.length, this.clusterProps.push(lr)), At(lr, this._map(St, cn)));
|
|
19139
19139
|
}
|
|
19140
|
-
St[Xt + 4] = br, Jt.push(
|
|
19140
|
+
St[Xt + 4] = br, Jt.push(Or / Se, vn / Se, 1 / 0, br, -1, Se), At && Jt.push(zr);
|
|
19141
19141
|
} else {
|
|
19142
19142
|
for (let lr = 0; lr < ae; lr++)
|
|
19143
19143
|
Jt.push(St[Xt + lr]);
|
|
19144
19144
|
if (Se > 1)
|
|
19145
19145
|
for (const lr of Rt) {
|
|
19146
|
-
const
|
|
19147
|
-
if (!(St[
|
|
19148
|
-
St[
|
|
19146
|
+
const Or = lr * ae;
|
|
19147
|
+
if (!(St[Or + 2] <= st)) {
|
|
19148
|
+
St[Or + 2] = st;
|
|
19149
19149
|
for (let vn = 0; vn < ae; vn++)
|
|
19150
|
-
Jt.push(St[
|
|
19150
|
+
Jt.push(St[Or + vn]);
|
|
19151
19151
|
}
|
|
19152
19152
|
}
|
|
19153
19153
|
}
|
|
@@ -19271,12 +19271,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19271
19271
|
xt.push(Tr(St, At, jt, ot.properties));
|
|
19272
19272
|
}
|
|
19273
19273
|
function ar(xt, ot) {
|
|
19274
|
-
ot.push(Jr(xt[0]),
|
|
19274
|
+
ot.push(Jr(xt[0]), Ar(xt[1]), 0);
|
|
19275
19275
|
}
|
|
19276
19276
|
function Ct(xt, ot, st, pt) {
|
|
19277
19277
|
let yt, At, Vt = 0;
|
|
19278
19278
|
for (let St = 0; St < xt.length; St++) {
|
|
19279
|
-
const Jt = Jr(xt[St][0]), ae =
|
|
19279
|
+
const Jt = Jr(xt[St][0]), ae = Ar(xt[St][1]);
|
|
19280
19280
|
ot.push(Jt, ae, 0), St > 0 && (Vt += pt ? (yt * ae - Jt * At) / 2 : Math.sqrt(Math.pow(Jt - yt, 2) + Math.pow(ae - At, 2))), yt = Jt, At = ae;
|
|
19281
19281
|
}
|
|
19282
19282
|
const jt = ot.length - 3;
|
|
@@ -19291,11 +19291,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19291
19291
|
function Jr(xt) {
|
|
19292
19292
|
return xt / 360 + 0.5;
|
|
19293
19293
|
}
|
|
19294
|
-
function
|
|
19294
|
+
function Ar(xt) {
|
|
19295
19295
|
const ot = Math.sin(xt * Math.PI / 180), st = 0.5 - 0.25 * Math.log((1 + ot) / (1 - ot)) / Math.PI;
|
|
19296
19296
|
return st < 0 ? 0 : st > 1 ? 1 : st;
|
|
19297
19297
|
}
|
|
19298
|
-
function
|
|
19298
|
+
function Nr(xt, ot, st, pt, yt, At, Vt, jt) {
|
|
19299
19299
|
if (pt /= ot, At >= (st /= ot) && Vt < pt)
|
|
19300
19300
|
return xt;
|
|
19301
19301
|
if (Vt < st || At >= pt)
|
|
@@ -19347,9 +19347,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19347
19347
|
const St = yt === 0 ? Ii : c1;
|
|
19348
19348
|
let Jt, ae, Xt = xt.start;
|
|
19349
19349
|
for (let Se = 0; Se < xt.length - 3; Se += 3) {
|
|
19350
|
-
const lr = xt[Se],
|
|
19350
|
+
const lr = xt[Se], Or = xt[Se + 1], vn = xt[Se + 2], zr = xt[Se + 3], br = xt[Se + 4], Br = yt === 0 ? lr : Or, cn = yt === 0 ? zr : br;
|
|
19351
19351
|
let Kn = !1;
|
|
19352
|
-
Vt && (Jt = Math.sqrt(Math.pow(lr - zr, 2) + Math.pow(
|
|
19352
|
+
Vt && (Jt = Math.sqrt(Math.pow(lr - zr, 2) + Math.pow(Or - br, 2))), Br < st ? cn > st && (ae = St(jt, lr, Or, zr, br, st), Vt && (jt.start = Xt + Jt * ae)) : Br > pt ? cn < pt && (ae = St(jt, lr, Or, zr, br, pt), Vt && (jt.start = Xt + Jt * ae)) : _i(jt, lr, Or, vn), cn < st && Br >= st && (ae = St(jt, lr, Or, zr, br, st), Kn = !0), cn > pt && Br <= pt && (ae = St(jt, lr, Or, zr, br, pt), Kn = !0), !At && Kn && (Vt && (jt.end = Xt + Jt * ae), ot.push(jt), jt = Ji(xt)), Vt && (Xt += Jt);
|
|
19353
19353
|
}
|
|
19354
19354
|
let Le = xt.length - 3;
|
|
19355
19355
|
const or = xt[Le], Rt = xt[Le + 1], Te = yt === 0 ? or : Rt;
|
|
@@ -19503,8 +19503,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19503
19503
|
this.tiles = {}, this.tileCoords = [], pt && (console.timeEnd("preprocess data"), console.log("index: maxZoom: %d, maxPoints: %d", st.indexMaxZoom, st.indexMaxPoints), console.time("generate tiles"), this.stats = {}, this.total = 0), yt = function(At, Vt) {
|
|
19504
19504
|
const jt = Vt.buffer / Vt.extent;
|
|
19505
19505
|
let St = At;
|
|
19506
|
-
const Jt =
|
|
19507
|
-
return (Jt || ae) && (St =
|
|
19506
|
+
const Jt = Nr(At, 1, -1 - jt, jt, 0, -1, 2, Vt), ae = Nr(At, 1, 1 - jt, 2 + jt, 0, -1, 2, Vt);
|
|
19507
|
+
return (Jt || ae) && (St = Nr(At, 1, -jt, 1 + jt, 0, -1, 2, Vt) || [], Jt && (St = ye(Jt, 1).concat(St)), ae && (St = St.concat(ye(ae, -1)))), St;
|
|
19508
19508
|
}(yt, st), yt.length && this.splitTile(yt, 0, 0, 0), pt && (yt.length && console.log("features: %d, points: %d", this.tiles[0].numFeatures, this.tiles[0].numPoints), console.timeEnd("generate tiles"), console.log("tiles generated:", this.total, JSON.stringify(this.stats)));
|
|
19509
19509
|
}
|
|
19510
19510
|
splitTile(ot, st, pt, yt, At, Vt, jt) {
|
|
@@ -19534,8 +19534,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19534
19534
|
continue;
|
|
19535
19535
|
ae > 1 && console.time("clipping");
|
|
19536
19536
|
const Rt = 0.5 * Jt.buffer / Jt.extent, Te = 0.5 - Rt, Se = 0.5 + Rt, lr = 1 + Rt;
|
|
19537
|
-
let
|
|
19538
|
-
ot = null, Br && (
|
|
19537
|
+
let Or = null, vn = null, zr = null, br = null, Br = Nr(ot, Xt, pt - Rt, pt + Se, 0, or.minX, or.maxX, Jt), cn = Nr(ot, Xt, pt + Te, pt + lr, 0, or.minX, or.maxX, Jt);
|
|
19538
|
+
ot = null, Br && (Or = Nr(Br, Xt, yt - Rt, yt + Se, 1, or.minY, or.maxY, Jt), vn = Nr(Br, Xt, yt + Te, yt + lr, 1, or.minY, or.maxY, Jt), Br = null), cn && (zr = Nr(cn, Xt, yt - Rt, yt + Se, 1, or.minY, or.maxY, Jt), br = Nr(cn, Xt, yt + Te, yt + lr, 1, or.minY, or.maxY, Jt), cn = null), ae > 1 && console.timeEnd("clipping"), St.push(Or || [], st + 1, 2 * pt, 2 * yt), St.push(vn || [], st + 1, 2 * pt, 2 * yt + 1), St.push(zr || [], st + 1, 2 * pt + 1, 2 * yt), St.push(br || [], st + 1, 2 * pt + 1, 2 * yt + 1);
|
|
19539
19539
|
}
|
|
19540
19540
|
}
|
|
19541
19541
|
getTile(ot, st, pt) {
|
|
@@ -20783,7 +20783,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
20783
20783
|
return !1;
|
|
20784
20784
|
}
|
|
20785
20785
|
}
|
|
20786
|
-
class
|
|
20786
|
+
class Ar extends a.E {
|
|
20787
20787
|
constructor(l, m, v, b) {
|
|
20788
20788
|
super(), this.id = l, this.dispatcher = v, this.setEventedParent(b), this.type = "raster", this.minzoom = 0, this.maxzoom = 22, this.roundZoom = !0, this.scheme = "xyz", this.tileSize = 512, this._loaded = !1, this._options = a.e({ type: "raster" }, m), a.e(this, a.M(m, ["url", "scheme", "tileSize"]));
|
|
20789
20789
|
}
|
|
@@ -20861,7 +20861,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
20861
20861
|
return !1;
|
|
20862
20862
|
}
|
|
20863
20863
|
}
|
|
20864
|
-
class
|
|
20864
|
+
class Nr extends Ar {
|
|
20865
20865
|
constructor(l, m, v, b) {
|
|
20866
20866
|
super(l, m, v, b), this.type = "raster-dem", this.maxzoom = 22, this._options = a.e({ type: "raster-dem" }, m), this.encoding = m.encoding || "mapbox", this.redFactor = m.redFactor, this.greenFactor = m.greenFactor, this.blueFactor = m.blueFactor, this.baseShift = m.baseShift;
|
|
20867
20867
|
}
|
|
@@ -21188,9 +21188,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
21188
21188
|
case "image":
|
|
21189
21189
|
return Ji;
|
|
21190
21190
|
case "raster":
|
|
21191
|
-
return
|
|
21191
|
+
return Ar;
|
|
21192
21192
|
case "raster-dem":
|
|
21193
|
-
return
|
|
21193
|
+
return Nr;
|
|
21194
21194
|
case "vector":
|
|
21195
21195
|
return Jr;
|
|
21196
21196
|
case "video":
|
|
@@ -22169,8 +22169,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22169
22169
|
Rt(we.numGlyphs, Ot);
|
|
22170
22170
|
continue;
|
|
22171
22171
|
}
|
|
22172
|
-
const Je = ot(m.transform.cameraToCenterDistance, Ne.signedDistanceFromCamera), Oe = a.ai(wt, Mt, we), Ae = V ? Oe / Je : Oe * Je, ur = { getElevation: Qt, labelPlaneMatrix: b, lineVertexArray: bt, pitchWithMap: V, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, projection: Z, tileAnchorPoint: new a.P(we.anchorX, we.anchorY), unwrappedTileID: Y, width: J, height: lt, translation: ft },
|
|
22173
|
-
Wt =
|
|
22172
|
+
const Je = ot(m.transform.cameraToCenterDistance, Ne.signedDistanceFromCamera), Oe = a.ai(wt, Mt, we), Ae = V ? Oe / Je : Oe * Je, ur = { getElevation: Qt, labelPlaneMatrix: b, lineVertexArray: bt, pitchWithMap: V, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, projection: Z, tileAnchorPoint: new a.P(we.anchorX, we.anchorY), unwrappedTileID: Y, width: J, height: lt, translation: ft }, Dr = Vt(ur, we, Ae, !1, D, l, M, S.glyphOffsetArray, Ot, Dt, j);
|
|
22173
|
+
Wt = Dr.useVertical, (Dr.notEnoughRoom || Wt || Dr.needsFlipping && Vt(ur, we, Ae, !0, D, l, M, S.glyphOffsetArray, Ot, Dt, j).notEnoughRoom) && Rt(we.numGlyphs, Ot);
|
|
22174
22174
|
}
|
|
22175
22175
|
v ? S.text.dynamicLayoutVertexBuffer.updateData(Ot) : S.icon.dynamicLayoutVertexBuffer.updateData(Ot);
|
|
22176
22176
|
}
|
|
@@ -22309,10 +22309,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22309
22309
|
const Ht = [], Ot = new a.P(m.anchorX, m.anchorY), bt = this.getPerspectiveRatio(V, Ot.x, Ot.y, D, Mt), Nt = (J ? M / bt : M * bt) / a.ap, Dt = { getElevation: Mt, labelPlaneMatrix: j, lineVertexArray: v, pitchWithMap: J, projectionCache: { projections: {}, offsets: {}, cachedAnchorPoint: void 0, anyProjectionOccluded: !1 }, projection: this.mapProjection, tileAnchorPoint: Ot, unwrappedTileID: D, width: this.transform.width, height: this.transform.height, translation: wt }, Wt = yt(Nt, b, m.lineOffsetX * Nt, m.lineOffsetY * Nt, !1, m, !1, Dt);
|
|
22310
22310
|
let he = !1, we = !1, Ne = !0;
|
|
22311
22311
|
if (Wt) {
|
|
22312
|
-
const Je = 0.5 * ft * bt + Qt, Oe = new a.P(-100, -100), Ae = new a.P(this.screenRightBoundary, this.screenBottomBoundary), ur = new wr(),
|
|
22312
|
+
const Je = 0.5 * ft * bt + Qt, Oe = new a.P(-100, -100), Ae = new a.P(this.screenRightBoundary, this.screenBottomBoundary), ur = new wr(), Dr = Wt.first, Ie = Wt.last;
|
|
22313
22313
|
let We = [];
|
|
22314
|
-
for (let Wr =
|
|
22315
|
-
We.push(
|
|
22314
|
+
for (let Wr = Dr.path.length - 1; Wr >= 1; Wr--)
|
|
22315
|
+
We.push(Dr.path[Wr]);
|
|
22316
22316
|
for (let Wr = 1; Wr < Ie.path.length; Wr++)
|
|
22317
22317
|
We.push(Ie.path[Wr]);
|
|
22318
22318
|
const kr = 2.5 * Je;
|
|
@@ -22422,7 +22422,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22422
22422
|
return { box: a.ao(he), allPointsOccluded: !we };
|
|
22423
22423
|
}
|
|
22424
22424
|
}
|
|
22425
|
-
function
|
|
22425
|
+
function Or(S, l, m) {
|
|
22426
22426
|
return l * (a.X / (S.tileSize * Math.pow(2, m - S.tileID.overscaledZ)));
|
|
22427
22427
|
}
|
|
22428
22428
|
class vn {
|
|
@@ -22486,7 +22486,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22486
22486
|
const M = v.getBucket(m), V = v.latestFeatureIndex;
|
|
22487
22487
|
if (!M || !V || m.id !== M.layerIds[0])
|
|
22488
22488
|
return;
|
|
22489
|
-
const D = v.collisionBoxArray, j = M.layers[0].layout, Z = M.layers[0].paint, Y = Math.pow(2, this.transform.zoom - v.tileID.overscaledZ), J = v.tileSize / a.X, lt = v.tileID.toUnwrapped(), ft = this.transform.calculatePosMatrix(lt), Qt = j.get("text-pitch-alignment") === "map", wt = j.get("text-rotation-alignment") === "map", Mt =
|
|
22489
|
+
const D = v.collisionBoxArray, j = M.layers[0].layout, Z = M.layers[0].paint, Y = Math.pow(2, this.transform.zoom - v.tileID.overscaledZ), J = v.tileSize / a.X, lt = v.tileID.toUnwrapped(), ft = this.transform.calculatePosMatrix(lt), Qt = j.get("text-pitch-alignment") === "map", wt = j.get("text-rotation-alignment") === "map", Mt = Or(v, 1, this.transform.zoom), Ht = this.collisionIndex.mapProjection.translatePosition(this.transform, v, Z.get("text-translate"), Z.get("text-translate-anchor")), Ot = this.collisionIndex.mapProjection.translatePosition(this.transform, v, Z.get("icon-translate"), Z.get("icon-translate-anchor")), bt = Vi(ft, Qt, wt, this.transform, Mt);
|
|
22490
22490
|
let Nt = null;
|
|
22491
22491
|
if (Qt) {
|
|
22492
22492
|
const Wt = Rn(ft, Qt, wt, this.transform, Mt);
|
|
@@ -22514,7 +22514,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22514
22514
|
placeLayerBucketPart(l, m, v) {
|
|
22515
22515
|
const { bucket: b, layout: M, translationText: V, translationIcon: D, posMatrix: j, unwrappedTileID: Z, textLabelPlaneMatrix: Y, labelToScreenMatrix: J, textPixelRatio: lt, holdingForFade: ft, collisionBoxArray: Qt, partiallyEvaluatedTextSize: wt, collisionGroup: Mt } = l.parameters, Ht = M.get("text-optional"), Ot = M.get("icon-optional"), bt = a.ar(M, "text-overlap", "text-allow-overlap"), Nt = bt === "always", Dt = a.ar(M, "icon-overlap", "icon-allow-overlap"), Wt = Dt === "always", he = M.get("text-rotation-alignment") === "map", we = M.get("text-pitch-alignment") === "map", Ne = M.get("icon-text-fit") !== "none", Je = M.get("symbol-z-order") === "viewport-y", Oe = Nt && (Wt || !b.hasIconData() || Ot), Ae = Wt && (Nt || !b.hasTextData() || Ht);
|
|
22516
22516
|
!b.collisionArrays && Qt && b.deserializeCollisionBoxes(Qt);
|
|
22517
|
-
const ur = this._getTerrainElevationFunc(this.retainedQueryData[b.bucketInstanceId].tileID),
|
|
22517
|
+
const ur = this._getTerrainElevationFunc(this.retainedQueryData[b.bucketInstanceId].tileID), Dr = (Ie, We, kr) => {
|
|
22518
22518
|
var ei, Wr;
|
|
22519
22519
|
if (m[Ie.crossTileID])
|
|
22520
22520
|
return;
|
|
@@ -22601,11 +22601,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22601
22601
|
const Ie = b.getSortedSymbolIndexes(this.transform.angle);
|
|
22602
22602
|
for (let We = Ie.length - 1; We >= 0; --We) {
|
|
22603
22603
|
const kr = Ie[We];
|
|
22604
|
-
|
|
22604
|
+
Dr(b.symbolInstances.get(kr), b.collisionArrays[kr], kr);
|
|
22605
22605
|
}
|
|
22606
22606
|
} else
|
|
22607
22607
|
for (let Ie = l.symbolInstanceStart; Ie < l.symbolInstanceEnd; Ie++)
|
|
22608
|
-
|
|
22608
|
+
Dr(b.symbolInstances.get(Ie), b.collisionArrays[Ie], Ie);
|
|
22609
22609
|
if (v && b.bucketInstanceId in this.collisionCircleArrays) {
|
|
22610
22610
|
const Ie = this.collisionCircleArrays[b.bucketInstanceId];
|
|
22611
22611
|
a.as(Ie.invProjMatrix, j), Ie.viewportMatrix = this.collisionIndex.getViewportMatrix();
|
|
@@ -22690,8 +22690,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22690
22690
|
[Ot.rightJustifiedTextSymbolIndex, Ot.centerJustifiedTextSymbolIndex, Ot.leftJustifiedTextSymbolIndex].forEach((We) => {
|
|
22691
22691
|
We >= 0 && (l.text.placedSymbolArray.get(We).hidden = ur || Ne ? 1 : 0);
|
|
22692
22692
|
}), Ot.verticalPlacedTextSymbolIndex >= 0 && (l.text.placedSymbolArray.get(Ot.verticalPlacedTextSymbolIndex).hidden = ur || Je ? 1 : 0);
|
|
22693
|
-
const
|
|
22694
|
-
|
|
22693
|
+
const Dr = this.variableOffsets[Ot.crossTileID];
|
|
22694
|
+
Dr && this.markUsedJustification(l, Dr.anchor, Ot, we);
|
|
22695
22695
|
const Ie = this.placedOrientations[Ot.crossTileID];
|
|
22696
22696
|
Ie && (this.markUsedJustification(l, "left", Ot, Ie), this.markUsedOrientation(l, Ie, Ot));
|
|
22697
22697
|
}
|
|
@@ -22705,20 +22705,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22705
22705
|
if (Ae) {
|
|
22706
22706
|
let ur = new a.P(0, 0);
|
|
22707
22707
|
if (Ae.textBox || Ae.verticalTextBox) {
|
|
22708
|
-
let
|
|
22708
|
+
let Dr = !0;
|
|
22709
22709
|
if (Y) {
|
|
22710
22710
|
const Ie = this.variableOffsets[Dt];
|
|
22711
|
-
Ie ? (ur = Li(Ie.anchor, Ie.width, Ie.height, Ie.textOffset, Ie.textBoxScale), J && ur._rotate(lt ? this.transform.angle : -this.transform.angle)) :
|
|
22711
|
+
Ie ? (ur = Li(Ie.anchor, Ie.width, Ie.height, Ie.textOffset, Ie.textBoxScale), J && ur._rotate(lt ? this.transform.angle : -this.transform.angle)) : Dr = !1;
|
|
22712
22712
|
}
|
|
22713
22713
|
if (Ae.textBox || Ae.verticalTextBox) {
|
|
22714
22714
|
let Ie;
|
|
22715
|
-
Ae.textBox && (Ie = Ne), Ae.verticalTextBox && (Ie = Je), rs(l.textCollisionBox.collisionVertexArray, Wt.text.placed, !
|
|
22715
|
+
Ae.textBox && (Ie = Ne), Ae.verticalTextBox && (Ie = Je), rs(l.textCollisionBox.collisionVertexArray, Wt.text.placed, !Dr || Ie, Oe.text, ur.x, ur.y);
|
|
22716
22716
|
}
|
|
22717
22717
|
}
|
|
22718
22718
|
if (Ae.iconBox || Ae.verticalIconBox) {
|
|
22719
|
-
const
|
|
22719
|
+
const Dr = !!(!Je && Ae.verticalIconBox);
|
|
22720
22720
|
let Ie;
|
|
22721
|
-
Ae.iconBox && (Ie =
|
|
22721
|
+
Ae.iconBox && (Ie = Dr), Ae.verticalIconBox && (Ie = !Dr), rs(l.iconCollisionBox.collisionVertexArray, Wt.icon.placed, Ie, Oe.icon, ft ? ur.x : 0, ft ? ur.y : 0);
|
|
22722
22722
|
}
|
|
22723
22723
|
}
|
|
22724
22724
|
}
|
|
@@ -22777,7 +22777,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
22777
22777
|
const Y = Math.sin(Z), J = Math.cos(Z);
|
|
22778
22778
|
V = [V[0] * J - V[1] * Y, V[0] * Y + V[1] * J];
|
|
22779
22779
|
}
|
|
22780
|
-
return [j ? V[0] :
|
|
22780
|
+
return [j ? V[0] : Or(M, V[0], b.zoom), j ? V[1] : Or(M, V[1], b.zoom)];
|
|
22781
22781
|
}(S, l, m, v), getCircleRadiusCorrection: (S) => 1 };
|
|
22782
22782
|
}
|
|
22783
22783
|
class Qn {
|
|
@@ -23047,8 +23047,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
23047
23047
|
wt[Mt] = {};
|
|
23048
23048
|
const Ht = f.getImageCanvasContext((yield Qt[Mt]).data), Ot = (yield ft[Mt]).data;
|
|
23049
23049
|
for (const bt in Ot) {
|
|
23050
|
-
const { width: Nt, height: Dt, x: Wt, y: he, sdf: we, pixelRatio: Ne, stretchX: Je, stretchY: Oe, content: Ae, textFitWidth: ur, textFitHeight:
|
|
23051
|
-
wt[Mt][bt] = { data: null, pixelRatio: Ne, sdf: we, stretchX: Je, stretchY: Oe, content: Ae, textFitWidth: ur, textFitHeight:
|
|
23050
|
+
const { width: Nt, height: Dt, x: Wt, y: he, sdf: we, pixelRatio: Ne, stretchX: Je, stretchY: Oe, content: Ae, textFitWidth: ur, textFitHeight: Dr } = Ot[bt];
|
|
23051
|
+
wt[Mt][bt] = { data: null, pixelRatio: Ne, sdf: we, stretchX: Je, stretchY: Oe, content: Ae, textFitWidth: ur, textFitHeight: Dr, spriteData: { width: Nt, height: Dt, x: Wt, y: he, context: Ht } };
|
|
23052
23052
|
}
|
|
23053
23053
|
}
|
|
23054
23054
|
return wt;
|
|
@@ -24364,7 +24364,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
24364
24364
|
}
|
|
24365
24365
|
}
|
|
24366
24366
|
function it(S, l, m) {
|
|
24367
|
-
const v = 1 /
|
|
24367
|
+
const v = 1 / Or(m, 1, l.transform.tileZoom), b = Math.pow(2, m.tileID.overscaledZ), M = m.tileSize * Math.pow(2, l.transform.tileZoom) / b, V = M * (m.tileID.canonical.x + m.tileID.wrap * b), D = M * m.tileID.canonical.y;
|
|
24368
24368
|
return { u_image: 0, u_texsize: m.imageAtlasTexture.size, u_scale: [v, S.fromScale, S.toScale], u_fade: S.t, u_pixel_coord_upper: [V >> 16, D >> 16], u_pixel_coord_lower: [65535 & V, 65535 & D] };
|
|
24369
24369
|
}
|
|
24370
24370
|
const ht = (S, l, m, v) => {
|
|
@@ -24385,12 +24385,12 @@ uniform ${Y} ${J} u_${lt};
|
|
|
24385
24385
|
const b = S.transform;
|
|
24386
24386
|
let M, V;
|
|
24387
24387
|
if (v.paint.get("circle-pitch-alignment") === "map") {
|
|
24388
|
-
const D =
|
|
24388
|
+
const D = Or(m, 1, b.zoom);
|
|
24389
24389
|
M = !0, V = [D, D];
|
|
24390
24390
|
} else
|
|
24391
24391
|
M = !1, V = b.pixelsToGLUnits;
|
|
24392
24392
|
return { u_camera_to_center_distance: b.cameraToCenterDistance, u_scale_with_map: +(v.paint.get("circle-pitch-scale") === "map"), u_matrix: S.translatePosMatrix(l.posMatrix, m, v.paint.get("circle-translate"), v.paint.get("circle-translate-anchor")), u_pitch_with_map: +M, u_device_pixel_ratio: S.pixelRatio, u_extrude_scale: V };
|
|
24393
|
-
}, fr = (S, l, m) => ({ u_matrix: S, u_inv_matrix: l, u_camera_to_center_distance: m.cameraToCenterDistance, u_viewport_size: [m.width, m.height] }), kn = (S, l, m = 1) => ({ u_matrix: S, u_color: l, u_overlay: 0, u_overlay_scale: m }), xr = (S) => ({ u_matrix: S }), un = (S, l, m, v) => ({ u_matrix: S, u_extrude_scale:
|
|
24393
|
+
}, fr = (S, l, m) => ({ u_matrix: S, u_inv_matrix: l, u_camera_to_center_distance: m.cameraToCenterDistance, u_viewport_size: [m.width, m.height] }), kn = (S, l, m = 1) => ({ u_matrix: S, u_color: l, u_overlay: 0, u_overlay_scale: m }), xr = (S) => ({ u_matrix: S }), un = (S, l, m, v) => ({ u_matrix: S, u_extrude_scale: Or(l, 1, m), u_intensity: v }), pe = (S, l, m, v) => {
|
|
24394
24394
|
const b = a.H();
|
|
24395
24395
|
a.aP(b, 0, S.width, S.height, 0, 0, 1);
|
|
24396
24396
|
const M = S.context.gl;
|
|
@@ -24402,16 +24402,16 @@ uniform ${Y} ${J} u_${lt};
|
|
|
24402
24402
|
}
|
|
24403
24403
|
const Tn = (S, l, m, v) => {
|
|
24404
24404
|
const b = S.transform;
|
|
24405
|
-
return { u_matrix: Nn(S, l, m, v), u_ratio: 1 /
|
|
24405
|
+
return { u_matrix: Nn(S, l, m, v), u_ratio: 1 / Or(l, 1, b.zoom), u_device_pixel_ratio: S.pixelRatio, u_units_to_pixels: [1 / b.pixelsToGLUnits[0], 1 / b.pixelsToGLUnits[1]] };
|
|
24406
24406
|
}, Ni = (S, l, m, v, b) => a.e(Tn(S, l, m, b), { u_image: 0, u_image_height: v }), zn = (S, l, m, v, b) => {
|
|
24407
24407
|
const M = S.transform, V = _l(l, M);
|
|
24408
|
-
return { u_matrix: Nn(S, l, m, b), u_texsize: l.imageAtlasTexture.size, u_ratio: 1 /
|
|
24408
|
+
return { u_matrix: Nn(S, l, m, b), u_texsize: l.imageAtlasTexture.size, u_ratio: 1 / Or(l, 1, M.zoom), u_device_pixel_ratio: S.pixelRatio, u_image: 0, u_scale: [V, v.fromScale, v.toScale], u_fade: v.t, u_units_to_pixels: [1 / M.pixelsToGLUnits[0], 1 / M.pixelsToGLUnits[1]] };
|
|
24409
24409
|
}, b0 = (S, l, m, v, b, M) => {
|
|
24410
24410
|
const V = S.lineAtlas, D = _l(l, S.transform), j = m.layout.get("line-cap") === "round", Z = V.getDash(v.from, j), Y = V.getDash(v.to, j), J = Z.width * b.fromScale, lt = Y.width * b.toScale;
|
|
24411
24411
|
return a.e(Tn(S, l, m, M), { u_patternscale_a: [D / J, -Z.height / 2], u_patternscale_b: [D / lt, -Y.height / 2], u_sdfgamma: V.width / (256 * Math.min(J, lt) * S.pixelRatio) / 2, u_image: 0, u_tex_y_a: Z.y, u_tex_y_b: Y.y, u_mix: b.t });
|
|
24412
24412
|
};
|
|
24413
24413
|
function _l(S, l) {
|
|
24414
|
-
return 1 /
|
|
24414
|
+
return 1 / Or(S, 1, l.tileZoom);
|
|
24415
24415
|
}
|
|
24416
24416
|
function Nn(S, l, m, v) {
|
|
24417
24417
|
return S.translatePosMatrix(v ? v.posMatrix : l.tileID.posMatrix, l, m.paint.get("line-translate"), m.paint.get("line-translate-anchor"));
|
|
@@ -24433,7 +24433,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
24433
24433
|
return a.e(Xo(S, l, m, v, b, M, V, D, j, Z, Y, J, lt, Qt), { u_gamma_scale: v ? Math.cos(wt._pitch) * wt.cameraToCenterDistance : 1, u_device_pixel_ratio: V.pixelRatio, u_is_halo: +ft });
|
|
24434
24434
|
}, D4 = (S, l, m, v, b, M, V, D, j, Z, Y, J, lt, ft) => a.e(ga(S, l, m, v, b, M, V, D, j, Z, Y, !0, J, !0, ft), { u_texsize_icon: lt, u_texture_icon: 1 }), H3 = (S, l, m) => ({ u_matrix: S, u_opacity: l, u_color: m }), A3 = (S, l, m, v, b, M) => a.e(function(V, D, j, Z) {
|
|
24435
24435
|
const Y = j.imageManager.getPattern(V.from.toString()), J = j.imageManager.getPattern(V.to.toString()), { width: lt, height: ft } = j.imageManager.getPixelSize(), Qt = Math.pow(2, Z.tileID.overscaledZ), wt = Z.tileSize * Math.pow(2, j.transform.tileZoom) / Qt, Mt = wt * (Z.tileID.canonical.x + Z.tileID.wrap * Qt), Ht = wt * Z.tileID.canonical.y;
|
|
24436
|
-
return { u_image: 0, u_pattern_tl_a: Y.tl, u_pattern_br_a: Y.br, u_pattern_tl_b: J.tl, u_pattern_br_b: J.br, u_texsize: [lt, ft], u_mix: D.t, u_pattern_size_a: Y.displaySize, u_pattern_size_b: J.displaySize, u_scale_a: D.fromScale, u_scale_b: D.toScale, u_tile_units_to_pixels: 1 /
|
|
24436
|
+
return { u_image: 0, u_pattern_tl_a: Y.tl, u_pattern_br_a: Y.br, u_pattern_tl_b: J.tl, u_pattern_br_b: J.br, u_texsize: [lt, ft], u_mix: D.t, u_pattern_size_a: Y.displaySize, u_pattern_size_b: J.displaySize, u_scale_a: D.fromScale, u_scale_b: D.toScale, u_tile_units_to_pixels: 1 / Or(Z, 1, j.transform.tileZoom), u_pixel_coord_upper: [Mt >> 16, Ht >> 16], u_pixel_coord_lower: [65535 & Mt, 65535 & Ht] };
|
|
24437
24437
|
}(v, M, m, b), { u_matrix: S, u_opacity: l }), F4 = { fillExtrusion: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_lightpos: new a.aN(S, l.u_lightpos), u_lightintensity: new a.aI(S, l.u_lightintensity), u_lightcolor: new a.aN(S, l.u_lightcolor), u_vertical_gradient: new a.aI(S, l.u_vertical_gradient), u_opacity: new a.aI(S, l.u_opacity) }), fillExtrusionPattern: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_lightpos: new a.aN(S, l.u_lightpos), u_lightintensity: new a.aI(S, l.u_lightintensity), u_lightcolor: new a.aN(S, l.u_lightcolor), u_vertical_gradient: new a.aI(S, l.u_vertical_gradient), u_height_factor: new a.aI(S, l.u_height_factor), u_image: new a.aH(S, l.u_image), u_texsize: new a.aO(S, l.u_texsize), u_pixel_coord_upper: new a.aO(S, l.u_pixel_coord_upper), u_pixel_coord_lower: new a.aO(S, l.u_pixel_coord_lower), u_scale: new a.aN(S, l.u_scale), u_fade: new a.aI(S, l.u_fade), u_opacity: new a.aI(S, l.u_opacity) }), fill: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix) }), fillPattern: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_image: new a.aH(S, l.u_image), u_texsize: new a.aO(S, l.u_texsize), u_pixel_coord_upper: new a.aO(S, l.u_pixel_coord_upper), u_pixel_coord_lower: new a.aO(S, l.u_pixel_coord_lower), u_scale: new a.aN(S, l.u_scale), u_fade: new a.aI(S, l.u_fade) }), fillOutline: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_world: new a.aO(S, l.u_world) }), fillOutlinePattern: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_world: new a.aO(S, l.u_world), u_image: new a.aH(S, l.u_image), u_texsize: new a.aO(S, l.u_texsize), u_pixel_coord_upper: new a.aO(S, l.u_pixel_coord_upper), u_pixel_coord_lower: new a.aO(S, l.u_pixel_coord_lower), u_scale: new a.aN(S, l.u_scale), u_fade: new a.aI(S, l.u_fade) }), circle: (S, l) => ({ u_camera_to_center_distance: new a.aI(S, l.u_camera_to_center_distance), u_scale_with_map: new a.aH(S, l.u_scale_with_map), u_pitch_with_map: new a.aH(S, l.u_pitch_with_map), u_extrude_scale: new a.aO(S, l.u_extrude_scale), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_matrix: new a.aJ(S, l.u_matrix) }), collisionBox: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_pixel_extrude_scale: new a.aO(S, l.u_pixel_extrude_scale) }), collisionCircle: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_inv_matrix: new a.aJ(S, l.u_inv_matrix), u_camera_to_center_distance: new a.aI(S, l.u_camera_to_center_distance), u_viewport_size: new a.aO(S, l.u_viewport_size) }), debug: (S, l) => ({ u_color: new a.aL(S, l.u_color), u_matrix: new a.aJ(S, l.u_matrix), u_overlay: new a.aH(S, l.u_overlay), u_overlay_scale: new a.aI(S, l.u_overlay_scale) }), clippingMask: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix) }), heatmap: (S, l) => ({ u_extrude_scale: new a.aI(S, l.u_extrude_scale), u_intensity: new a.aI(S, l.u_intensity), u_matrix: new a.aJ(S, l.u_matrix) }), heatmapTexture: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_world: new a.aO(S, l.u_world), u_image: new a.aH(S, l.u_image), u_color_ramp: new a.aH(S, l.u_color_ramp), u_opacity: new a.aI(S, l.u_opacity) }), hillshade: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_image: new a.aH(S, l.u_image), u_latrange: new a.aO(S, l.u_latrange), u_light: new a.aO(S, l.u_light), u_shadow: new a.aL(S, l.u_shadow), u_highlight: new a.aL(S, l.u_highlight), u_accent: new a.aL(S, l.u_accent) }), hillshadePrepare: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_image: new a.aH(S, l.u_image), u_dimension: new a.aO(S, l.u_dimension), u_zoom: new a.aI(S, l.u_zoom), u_unpack: new a.aK(S, l.u_unpack) }), line: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_ratio: new a.aI(S, l.u_ratio), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_units_to_pixels: new a.aO(S, l.u_units_to_pixels) }), lineGradient: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_ratio: new a.aI(S, l.u_ratio), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_units_to_pixels: new a.aO(S, l.u_units_to_pixels), u_image: new a.aH(S, l.u_image), u_image_height: new a.aI(S, l.u_image_height) }), linePattern: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_texsize: new a.aO(S, l.u_texsize), u_ratio: new a.aI(S, l.u_ratio), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_image: new a.aH(S, l.u_image), u_units_to_pixels: new a.aO(S, l.u_units_to_pixels), u_scale: new a.aN(S, l.u_scale), u_fade: new a.aI(S, l.u_fade) }), lineSDF: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_ratio: new a.aI(S, l.u_ratio), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_units_to_pixels: new a.aO(S, l.u_units_to_pixels), u_patternscale_a: new a.aO(S, l.u_patternscale_a), u_patternscale_b: new a.aO(S, l.u_patternscale_b), u_sdfgamma: new a.aI(S, l.u_sdfgamma), u_image: new a.aH(S, l.u_image), u_tex_y_a: new a.aI(S, l.u_tex_y_a), u_tex_y_b: new a.aI(S, l.u_tex_y_b), u_mix: new a.aI(S, l.u_mix) }), raster: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_tl_parent: new a.aO(S, l.u_tl_parent), u_scale_parent: new a.aI(S, l.u_scale_parent), u_buffer_scale: new a.aI(S, l.u_buffer_scale), u_fade_t: new a.aI(S, l.u_fade_t), u_opacity: new a.aI(S, l.u_opacity), u_image0: new a.aH(S, l.u_image0), u_image1: new a.aH(S, l.u_image1), u_brightness_low: new a.aI(S, l.u_brightness_low), u_brightness_high: new a.aI(S, l.u_brightness_high), u_saturation_factor: new a.aI(S, l.u_saturation_factor), u_contrast_factor: new a.aI(S, l.u_contrast_factor), u_spin_weights: new a.aN(S, l.u_spin_weights) }), symbolIcon: (S, l) => ({ u_is_size_zoom_constant: new a.aH(S, l.u_is_size_zoom_constant), u_is_size_feature_constant: new a.aH(S, l.u_is_size_feature_constant), u_size_t: new a.aI(S, l.u_size_t), u_size: new a.aI(S, l.u_size), u_camera_to_center_distance: new a.aI(S, l.u_camera_to_center_distance), u_pitch: new a.aI(S, l.u_pitch), u_rotate_symbol: new a.aH(S, l.u_rotate_symbol), u_aspect_ratio: new a.aI(S, l.u_aspect_ratio), u_fade_change: new a.aI(S, l.u_fade_change), u_matrix: new a.aJ(S, l.u_matrix), u_label_plane_matrix: new a.aJ(S, l.u_label_plane_matrix), u_coord_matrix: new a.aJ(S, l.u_coord_matrix), u_is_text: new a.aH(S, l.u_is_text), u_pitch_with_map: new a.aH(S, l.u_pitch_with_map), u_is_along_line: new a.aH(S, l.u_is_along_line), u_is_variable_anchor: new a.aH(S, l.u_is_variable_anchor), u_texsize: new a.aO(S, l.u_texsize), u_texture: new a.aH(S, l.u_texture), u_translation: new a.aO(S, l.u_translation), u_pitched_scale: new a.aI(S, l.u_pitched_scale) }), symbolSDF: (S, l) => ({ u_is_size_zoom_constant: new a.aH(S, l.u_is_size_zoom_constant), u_is_size_feature_constant: new a.aH(S, l.u_is_size_feature_constant), u_size_t: new a.aI(S, l.u_size_t), u_size: new a.aI(S, l.u_size), u_camera_to_center_distance: new a.aI(S, l.u_camera_to_center_distance), u_pitch: new a.aI(S, l.u_pitch), u_rotate_symbol: new a.aH(S, l.u_rotate_symbol), u_aspect_ratio: new a.aI(S, l.u_aspect_ratio), u_fade_change: new a.aI(S, l.u_fade_change), u_matrix: new a.aJ(S, l.u_matrix), u_label_plane_matrix: new a.aJ(S, l.u_label_plane_matrix), u_coord_matrix: new a.aJ(S, l.u_coord_matrix), u_is_text: new a.aH(S, l.u_is_text), u_pitch_with_map: new a.aH(S, l.u_pitch_with_map), u_is_along_line: new a.aH(S, l.u_is_along_line), u_is_variable_anchor: new a.aH(S, l.u_is_variable_anchor), u_texsize: new a.aO(S, l.u_texsize), u_texture: new a.aH(S, l.u_texture), u_gamma_scale: new a.aI(S, l.u_gamma_scale), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_is_halo: new a.aH(S, l.u_is_halo), u_translation: new a.aO(S, l.u_translation), u_pitched_scale: new a.aI(S, l.u_pitched_scale) }), symbolTextAndIcon: (S, l) => ({ u_is_size_zoom_constant: new a.aH(S, l.u_is_size_zoom_constant), u_is_size_feature_constant: new a.aH(S, l.u_is_size_feature_constant), u_size_t: new a.aI(S, l.u_size_t), u_size: new a.aI(S, l.u_size), u_camera_to_center_distance: new a.aI(S, l.u_camera_to_center_distance), u_pitch: new a.aI(S, l.u_pitch), u_rotate_symbol: new a.aH(S, l.u_rotate_symbol), u_aspect_ratio: new a.aI(S, l.u_aspect_ratio), u_fade_change: new a.aI(S, l.u_fade_change), u_matrix: new a.aJ(S, l.u_matrix), u_label_plane_matrix: new a.aJ(S, l.u_label_plane_matrix), u_coord_matrix: new a.aJ(S, l.u_coord_matrix), u_is_text: new a.aH(S, l.u_is_text), u_pitch_with_map: new a.aH(S, l.u_pitch_with_map), u_is_along_line: new a.aH(S, l.u_is_along_line), u_is_variable_anchor: new a.aH(S, l.u_is_variable_anchor), u_texsize: new a.aO(S, l.u_texsize), u_texsize_icon: new a.aO(S, l.u_texsize_icon), u_texture: new a.aH(S, l.u_texture), u_texture_icon: new a.aH(S, l.u_texture_icon), u_gamma_scale: new a.aI(S, l.u_gamma_scale), u_device_pixel_ratio: new a.aI(S, l.u_device_pixel_ratio), u_is_halo: new a.aH(S, l.u_is_halo), u_translation: new a.aO(S, l.u_translation), u_pitched_scale: new a.aI(S, l.u_pitched_scale) }), background: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_opacity: new a.aI(S, l.u_opacity), u_color: new a.aL(S, l.u_color) }), backgroundPattern: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_opacity: new a.aI(S, l.u_opacity), u_image: new a.aH(S, l.u_image), u_pattern_tl_a: new a.aO(S, l.u_pattern_tl_a), u_pattern_br_a: new a.aO(S, l.u_pattern_br_a), u_pattern_tl_b: new a.aO(S, l.u_pattern_tl_b), u_pattern_br_b: new a.aO(S, l.u_pattern_br_b), u_texsize: new a.aO(S, l.u_texsize), u_mix: new a.aI(S, l.u_mix), u_pattern_size_a: new a.aO(S, l.u_pattern_size_a), u_pattern_size_b: new a.aO(S, l.u_pattern_size_b), u_scale_a: new a.aI(S, l.u_scale_a), u_scale_b: new a.aI(S, l.u_scale_b), u_pixel_coord_upper: new a.aO(S, l.u_pixel_coord_upper), u_pixel_coord_lower: new a.aO(S, l.u_pixel_coord_lower), u_tile_units_to_pixels: new a.aI(S, l.u_tile_units_to_pixels) }), terrain: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_texture: new a.aH(S, l.u_texture), u_ele_delta: new a.aI(S, l.u_ele_delta), u_fog_matrix: new a.aJ(S, l.u_fog_matrix), u_fog_color: new a.aL(S, l.u_fog_color), u_fog_ground_blend: new a.aI(S, l.u_fog_ground_blend), u_fog_ground_blend_opacity: new a.aI(S, l.u_fog_ground_blend_opacity), u_horizon_color: new a.aL(S, l.u_horizon_color), u_horizon_fog_blend: new a.aI(S, l.u_horizon_fog_blend) }), terrainDepth: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_ele_delta: new a.aI(S, l.u_ele_delta) }), terrainCoords: (S, l) => ({ u_matrix: new a.aJ(S, l.u_matrix), u_texture: new a.aH(S, l.u_texture), u_terrain_coords_id: new a.aI(S, l.u_terrain_coords_id), u_ele_delta: new a.aI(S, l.u_ele_delta) }), sky: (S, l) => ({ u_sky_color: new a.aL(S, l.u_sky_color), u_horizon_color: new a.aL(S, l.u_horizon_color), u_horizon: new a.aI(S, l.u_horizon), u_sky_horizon_blend: new a.aI(S, l.u_sky_horizon_blend) }) };
|
|
24438
24438
|
class Oo {
|
|
24439
24439
|
constructor(l, m, v) {
|
|
@@ -25023,7 +25023,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25023
25023
|
const Dt = new a.P(bt.anchorX, bt.anchorY), Wt = { getElevation: ft, width: b.width, height: b.height, labelPlaneMatrix: M, lineVertexArray: null, pitchWithMap: m, projection: Y, projectionCache: null, tileAnchorPoint: Dt, translation: J, unwrappedTileID: lt }, he = m ? xt(Dt.x, Dt.y, V, ft) : Jt(Dt.x, Dt.y, Wt), we = ot(b.cameraToCenterDistance, he.signedDistanceFromCamera);
|
|
25024
25024
|
let Ne = a.ai(S.textSizeData, j, bt) * we / a.ap;
|
|
25025
25025
|
m && (Ne *= S.tilePixelRatio / D);
|
|
25026
|
-
const { width: Je, height: Oe, anchor: Ae, textOffset: ur, textBoxScale:
|
|
25026
|
+
const { width: Je, height: Oe, anchor: Ae, textOffset: ur, textBoxScale: Dr } = Nt, Ie = K4(Ae, Je, Oe, ur, Dr, Ne), We = Y.getPitchedTextCorrection(b, Dt.add(new a.P(J[0], J[1])), lt), kr = Ko(he.point, Wt, l, Ie, b.angle, We), ei = S.allowVerticalPlacement && bt.placedOrientation === a.ah.vertical ? Math.PI / 2 : 0;
|
|
25027
25027
|
for (let Wr = 0; Wr < bt.numGlyphs; Wr++)
|
|
25028
25028
|
a.aj(wt, kr, ei);
|
|
25029
25029
|
Z && bt.associatedIconIndex >= 0 && (Ht[bt.associatedIconIndex] = { shiftedAnchor: kr, angle: ei });
|
|
@@ -25061,10 +25061,10 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25061
25061
|
const Ae = l.getTile(Oe), ur = Ae.getBucket(m);
|
|
25062
25062
|
if (!ur)
|
|
25063
25063
|
continue;
|
|
25064
|
-
const
|
|
25065
|
-
if (!
|
|
25064
|
+
const Dr = b ? ur.text : ur.icon;
|
|
25065
|
+
if (!Dr || !Dr.segments.get().length || !Dr.hasVisibleVertices)
|
|
25066
25066
|
continue;
|
|
25067
|
-
const Ie =
|
|
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
25068
|
let C1, O2, ni, Qo, q1 = [0, 0], k1 = null;
|
|
25069
25069
|
if (b)
|
|
25070
25070
|
O2 = Ae.glyphAtlasTexture, ni = ft.LINEAR, C1 = Ae.glyphAtlasTexture.size, ur.iconsInText && (q1 = Ae.imageAtlasTexture.size, k1 = Ae.imageAtlasTexture, Qo = ei || S.options.rotating || S.options.zooming || kr.kind === "composite" || kr.kind === "camera" ? ft.LINEAR : ft.NEAREST);
|
|
@@ -25072,7 +25072,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
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 X1 =
|
|
25075
|
+
const X1 = Or(Ae, 1, S.transform.zoom), ms = Nt ? Oe.posMatrix : ba, s6 = Vi(ms, Ht, Mt, S.transform, X1), Il = Rn(ms, Ht, Mt, S.transform, X1), a6 = Rn(Oe.posMatrix, Ht, Mt, S.transform, X1), 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);
|
|
@@ -25080,14 +25080,14 @@ uniform ${Y} ${J} u_${lt};
|
|
|
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
25082
|
I1 = We ? ur.iconsInText ? D4(kr.kind, nn, bt, Ht, Ot, o2, S, i2, Ea, C2, n2, C1, q1, 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
|
-
const No = { program: Wr, buffers:
|
|
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;
|
|
25086
|
-
const an =
|
|
25086
|
+
const an = Dr.segments.get();
|
|
25087
25087
|
for (const F3 of an)
|
|
25088
25088
|
Ne.push({ segments: new a.a0([F3]), sortKey: F3.sortKey, state: No, terrainData: ri });
|
|
25089
25089
|
} else
|
|
25090
|
-
Ne.push({ segments:
|
|
25090
|
+
Ne.push({ segments: Dr.segments, sortKey: 0, state: No, terrainData: ri });
|
|
25091
25091
|
}
|
|
25092
25092
|
Wt && Ne.sort((Oe, Ae) => Oe.sortKey - Ae.sortKey);
|
|
25093
25093
|
for (const Oe of Ne) {
|
|
@@ -25440,10 +25440,10 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25440
25440
|
const Je = wt.getTile(Ne), Oe = Je.getBucket(Qt);
|
|
25441
25441
|
if (!Oe || !Oe.text || !Oe.text.segments.get().length)
|
|
25442
25442
|
continue;
|
|
25443
|
-
const Ae = a.ag(Oe.textSizeData, Dt.zoom), ur =
|
|
25443
|
+
const Ae = a.ag(Oe.textSizeData, Dt.zoom), ur = Or(Je, 1, ft.transform.zoom), Dr = Vi(Ne.posMatrix, we, he, ft.transform, ur), Ie = Qt.layout.get("icon-text-fit") !== "none" && Oe.hasIconData();
|
|
25444
25444
|
if (Ae) {
|
|
25445
25445
|
const We = Math.pow(2, Dt.zoom - Je.tileID.overscaledZ), kr = ft.style.map.terrain ? (Wr, nn) => ft.style.map.terrain.getElevation(Ne, Wr, nn) : null, ei = Wt.translatePosition(Dt, Je, Ot, bt);
|
|
25446
|
-
ko(Oe, he, we, Nt, Dt,
|
|
25446
|
+
ko(Oe, he, we, Nt, Dt, Dr, Ne.posMatrix, We, Ae, Ie, Wt, ei, Ne.toUnwrapped(), kr);
|
|
25447
25447
|
}
|
|
25448
25448
|
}
|
|
25449
25449
|
}(j, M, D, V, D.layout.get("text-rotation-alignment"), D.layout.get("text-pitch-alignment"), D.paint.get("text-translate"), D.paint.get("text-translate-anchor"), Z), D.paint.get("icon-opacity").constantOr(1) !== 0 && Yo(M, V, D, j, !1, D.paint.get("icon-translate"), D.paint.get("icon-translate-anchor"), D.layout.get("icon-rotation-alignment"), D.layout.get("icon-pitch-alignment"), D.layout.get("icon-keep-upright"), Y, J), D.paint.get("text-opacity").constantOr(1) !== 0 && Yo(M, V, D, j, !0, D.paint.get("text-translate"), D.paint.get("text-translate-anchor"), D.layout.get("text-rotation-alignment"), D.layout.get("text-pitch-alignment"), D.layout.get("text-keep-upright"), Y, J), V.map.showCollisionBoxes && (I3(M, V, D, j, !0), I3(M, V, D, j, !1));
|
|
@@ -25464,8 +25464,8 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25464
25464
|
const he = Wt.programConfigurations.get(D.id), we = M.useProgram("circle", he), Ne = Wt.layoutVertexBuffer, Je = Wt.indexBuffer, Oe = M.style.map.terrain && M.style.map.terrain.getTerrainData(Nt), Ae = { programConfiguration: he, program: we, layoutVertexBuffer: Ne, indexBuffer: Je, uniformValues: be(M, Nt, Dt, D), terrainData: Oe };
|
|
25465
25465
|
if (lt) {
|
|
25466
25466
|
const ur = Wt.segments.get();
|
|
25467
|
-
for (const
|
|
25468
|
-
Ot.push({ segments: new a.a0([
|
|
25467
|
+
for (const Dr of ur)
|
|
25468
|
+
Ot.push({ segments: new a.a0([Dr]), sortKey: Dr.sortKey, state: Ae });
|
|
25469
25469
|
} else
|
|
25470
25470
|
Ot.push({ segments: Wt.segments, sortKey: 0, state: Ae });
|
|
25471
25471
|
}
|
|
@@ -25531,9 +25531,9 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25531
25531
|
const we = he.getBucket(D);
|
|
25532
25532
|
if (!we)
|
|
25533
25533
|
continue;
|
|
25534
|
-
const Ne = we.programConfigurations.get(D.id), Je = M.context.program.get(), Oe = M.useProgram(Ot, Ne), Ae = Dt || Oe.program !== Je, ur = M.style.map.terrain && M.style.map.terrain.getTerrainData(Wt),
|
|
25535
|
-
if (
|
|
25536
|
-
const kr = he.imageAtlas, ei = kr.patternPositions[
|
|
25534
|
+
const Ne = we.programConfigurations.get(D.id), Je = M.context.program.get(), Oe = M.useProgram(Ot, Ne), Ae = Dt || Oe.program !== Je, ur = M.style.map.terrain && M.style.map.terrain.getTerrainData(Wt), Dr = Qt.constantOr(null);
|
|
25535
|
+
if (Dr && he.imageAtlas) {
|
|
25536
|
+
const kr = he.imageAtlas, ei = kr.patternPositions[Dr.to.toString()], Wr = kr.patternPositions[Dr.from.toString()];
|
|
25537
25537
|
ei && Wr && Ne.setConstantPatternPositions(ei, Wr);
|
|
25538
25538
|
}
|
|
25539
25539
|
const Ie = ur ? Wt : null, We = wt ? zn(M, he, D, Ht, Ie) : ft ? b0(M, he, D, ft, Ht, Ie) : Mt ? Ni(M, he, D, we.lineClipsArray.length, Ie) : Tn(M, he, D, Ie);
|
|
@@ -25612,8 +25612,8 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25612
25612
|
let we, Ne;
|
|
25613
25613
|
const Je = D.paint.get("raster-resampling") === "nearest" ? Y.NEAREST : Y.LINEAR;
|
|
25614
25614
|
Z.activeTexture.set(Y.TEXTURE0), Nt.texture.bind(Je, Y.CLAMP_TO_EDGE, Y.LINEAR_MIPMAP_NEAREST), Z.activeTexture.set(Y.TEXTURE1), Dt ? (Dt.texture.bind(Je, Y.CLAMP_TO_EDGE, Y.LINEAR_MIPMAP_NEAREST), we = Math.pow(2, Dt.tileID.overscaledZ - Nt.tileID.overscaledZ), Ne = [Nt.tileID.canonical.x * we % 1, Nt.tileID.canonical.y * we % 1]) : Nt.texture.bind(Je, Y.CLAMP_TO_EDGE, Y.LINEAR_MIPMAP_NEAREST), Nt.texture.useMipmap && Z.extTextureFilterAnisotropic && M.transform.pitch > 20 && Y.texParameterf(Y.TEXTURE_2D, Z.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT, Z.extTextureFilterAnisotropicMax);
|
|
25615
|
-
const Oe = M.style.map.terrain && M.style.map.terrain.getTerrainData(Ot), Ae = Oe ? Ot : null, ur = Ae ? Ae.posMatrix : M.transform.calculatePosMatrix(Ot.toUnwrapped(), Ht),
|
|
25616
|
-
J instanceof Ji ? lt.draw(Z, Y.TRIANGLES, bt, Hn.disabled, ft, bn.disabled,
|
|
25615
|
+
const Oe = M.style.map.terrain && M.style.map.terrain.getTerrainData(Ot), Ae = Oe ? Ot : null, ur = Ae ? Ae.posMatrix : M.transform.calculatePosMatrix(Ot.toUnwrapped(), Ht), Dr = bl(ur, Ne || [0, 0], we || 1, he, D);
|
|
25616
|
+
J instanceof Ji ? lt.draw(Z, Y.TRIANGLES, bt, Hn.disabled, ft, bn.disabled, Dr, Oe, D.id, J.boundsBuffer, M.quadTriangleIndexBuffer, J.boundsSegments) : lt.draw(Z, Y.TRIANGLES, bt, Qt[Ot.overscaledZ], ft, bn.disabled, Dr, Oe, D.id, M.rasterBoundsBuffer, M.quadTriangleIndexBuffer, M.rasterBoundsSegments);
|
|
25617
25617
|
}
|
|
25618
25618
|
})(l, m, v, b);
|
|
25619
25619
|
break;
|
|
@@ -25659,7 +25659,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25659
25659
|
const Z = Math.sin(V), Y = Math.cos(V);
|
|
25660
25660
|
v = [v[0] * Y - v[1] * Z, v[0] * Z + v[1] * Y];
|
|
25661
25661
|
}
|
|
25662
|
-
const D = [M ? v[0] :
|
|
25662
|
+
const D = [M ? v[0] : Or(m, v[0], this.transform.zoom), M ? v[1] : Or(m, v[1], this.transform.zoom), 0], j = new Float32Array(16);
|
|
25663
25663
|
return a.J(j, l, D), j;
|
|
25664
25664
|
}
|
|
25665
25665
|
saveTileTexture(l) {
|
|
@@ -25945,13 +25945,13 @@ uniform ${Y} ${J} u_${lt};
|
|
|
25945
25945
|
Mt.push({ tileID: new a.S(bt.zoom === Ht ? Ot : bt.zoom, bt.wrap, bt.zoom, Nt, Dt), distanceSq: et([Y[0] - 0.5 - Nt, Y[1] - 0.5 - Dt]), tileDistanceToCamera: Math.sqrt(Ae * Ae + ur * ur) });
|
|
25946
25946
|
} else
|
|
25947
25947
|
for (let Oe = 0; Oe < 4; Oe++) {
|
|
25948
|
-
const Ae = (Nt << 1) + Oe % 2, ur = (Dt << 1) + (Oe >> 1),
|
|
25948
|
+
const Ae = (Nt << 1) + Oe % 2, ur = (Dt << 1) + (Oe >> 1), Dr = bt.zoom + 1;
|
|
25949
25949
|
let Ie = bt.aabb.quadrant(Oe);
|
|
25950
25950
|
if (l.terrain) {
|
|
25951
|
-
const We = new a.S(
|
|
25951
|
+
const We = new a.S(Dr, bt.wrap, Dr, Ae, ur), kr = l.terrain.getMinMaxElevation(We), ei = (m = kr.minElevation) !== null && m !== void 0 ? m : this.elevation, Wr = (v = kr.maxElevation) !== null && v !== void 0 ? v : this.elevation;
|
|
25952
25952
|
Ie = new A1([Ie.min[0], Ie.min[1], ei], [Ie.max[0], Ie.max[1], Wr]);
|
|
25953
25953
|
}
|
|
25954
|
-
wt.push({ aabb: Ie, zoom:
|
|
25954
|
+
wt.push({ aabb: Ie, zoom: Dr, x: Ae, y: ur, wrap: bt.wrap, fullyVisible: Wt });
|
|
25955
25955
|
}
|
|
25956
25956
|
}
|
|
25957
25957
|
return Mt.sort((bt, Nt) => bt.distanceSq - Nt.distanceSq).map((bt) => bt.tileID);
|
|
@@ -27540,7 +27540,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
27540
27540
|
const Ae = Ne(!1);
|
|
27541
27541
|
let ur = function(We) {
|
|
27542
27542
|
return Oe(Ae) / Oe(Ae + Nt * We);
|
|
27543
|
-
},
|
|
27543
|
+
}, Dr = function(We) {
|
|
27544
27544
|
return Dt * ((Oe(Ae) * (Je(kr = Ae + Nt * We) / Oe(kr)) - Je(Ae)) / we) / he;
|
|
27545
27545
|
var kr;
|
|
27546
27546
|
}, Ie = (Ne(!0) - Ae) / Nt;
|
|
@@ -27548,12 +27548,12 @@ uniform ${Y} ${J} u_${lt};
|
|
|
27548
27548
|
if (Math.abs(Dt - Wt) < 1e-6)
|
|
27549
27549
|
return this.easeTo(l, m);
|
|
27550
27550
|
const We = Wt < Dt ? -1 : 1;
|
|
27551
|
-
Ie = Math.abs(Math.log(Wt / Dt)) / Nt,
|
|
27551
|
+
Ie = Math.abs(Math.log(Wt / Dt)) / Nt, Dr = () => 0, ur = (kr) => Math.exp(We * Nt * kr);
|
|
27552
27552
|
}
|
|
27553
27553
|
return l.duration = "duration" in l ? +l.duration : 1e3 * Ie / ("screenSpeed" in l ? +l.screenSpeed / Nt : +l.speed), l.maxDuration && l.duration > l.maxDuration && (l.duration = 0), this._zooming = !0, this._rotating = V !== Z, this._pitching = Y !== D, this._padding = !b.isPaddingEqual(J), this._prepareEase(m, !1), this.terrain && this._prepareElevation(wt), this._ease((We) => {
|
|
27554
27554
|
const kr = We * Ie, ei = 1 / ur(kr);
|
|
27555
27555
|
b.zoom = We === 1 ? Mt : M + b.scaleZoom(ei), this._rotating && (b.bearing = a.y.number(V, Z, We)), this._pitching && (b.pitch = a.y.number(D, Y, We)), this._padding && (b.interpolatePadding(j, J, We), ft = b.centerPoint.add(lt)), this.terrain && !l.freezeElevation && this._updateElevation(We);
|
|
27556
|
-
const Wr = We === 1 ? wt : b.unproject(Ot.add(bt.mult(
|
|
27556
|
+
const Wr = We === 1 ? wt : b.unproject(Ot.add(bt.mult(Dr(kr))).mult(ei));
|
|
27557
27557
|
b.setLocationAtPoint(b.renderWorldCopies ? Wr.wrap() : Wr, ft), this._applyUpdatedTransform(b), this._fireMoveEvents(m);
|
|
27558
27558
|
}, () => {
|
|
27559
27559
|
this.terrain && l.freezeElevation && this._finalizeElevation(), this._afterEase(m);
|
|
@@ -29198,7 +29198,7 @@ uniform ${Y} ${J} u_${lt};
|
|
|
29198
29198
|
const S = this._container.querySelector(Cl);
|
|
29199
29199
|
S && S.focus();
|
|
29200
29200
|
}
|
|
29201
|
-
}, s.RasterDEMTileSource =
|
|
29201
|
+
}, s.RasterDEMTileSource = Nr, s.RasterTileSource = Ar, s.ScaleControl = class {
|
|
29202
29202
|
constructor(S) {
|
|
29203
29203
|
this._onMove = () => {
|
|
29204
29204
|
V0(this._map, this._container, this.options);
|
|
@@ -57566,7 +57566,7 @@ var fK = { exports: {} };
|
|
|
57566
57566
|
var q = B.ownerDocument || B;
|
|
57567
57567
|
return q.defaultView || q.parentWindow || e;
|
|
57568
57568
|
}
|
|
57569
|
-
var yr = /mobile|tablet|ip(ad|hone|od)|android/i, qr = "ontouchstart" in e, ie = Zt(e, "PointerEvent") !== i, fe = qr && yr.test(navigator.userAgent), Ke = "touch", He = "pen", er = "mouse", Ye = "kinect", Re = 25, Gt = 1, te = 2, Qe = 4, de = 8, Ge = 1, Tr = 2, qe = 4, $e = 8, ar = 16, Ct = Tr | qe, en = $e | ar, Jr = Ct | en,
|
|
57569
|
+
var yr = /mobile|tablet|ip(ad|hone|od)|android/i, qr = "ontouchstart" in e, ie = Zt(e, "PointerEvent") !== i, fe = qr && yr.test(navigator.userAgent), Ke = "touch", He = "pen", er = "mouse", Ye = "kinect", Re = 25, Gt = 1, te = 2, Qe = 4, de = 8, Ge = 1, Tr = 2, qe = 4, $e = 8, ar = 16, Ct = Tr | qe, en = $e | ar, Jr = Ct | en, Ar = ["x", "y"], Nr = ["clientX", "clientY"];
|
|
57570
57570
|
function dn(B, q) {
|
|
57571
57571
|
var it = this;
|
|
57572
57572
|
this.manager = B, this.callback = q, this.element = B.element, this.target = B.options.inputTarget, this.domHandler = function(ht) {
|
|
@@ -57668,20 +57668,20 @@ var fK = { exports: {} };
|
|
|
57668
57668
|
return B === q ? Ge : d(B) >= d(q) ? B < 0 ? Tr : qe : q < 0 ? $e : ar;
|
|
57669
57669
|
}
|
|
57670
57670
|
function Hi(B, q, it) {
|
|
57671
|
-
it || (it =
|
|
57671
|
+
it || (it = Ar);
|
|
57672
57672
|
var ht = q[it[0]] - B[it[0]], mt = q[it[1]] - B[it[1]];
|
|
57673
57673
|
return Math.sqrt(ht * ht + mt * mt);
|
|
57674
57674
|
}
|
|
57675
57675
|
function t1(B, q, it) {
|
|
57676
|
-
it || (it =
|
|
57676
|
+
it || (it = Ar);
|
|
57677
57677
|
var ht = q[it[0]] - B[it[0]], mt = q[it[1]] - B[it[1]];
|
|
57678
57678
|
return Math.atan2(mt, ht) * 180 / Math.PI;
|
|
57679
57679
|
}
|
|
57680
57680
|
function xe(B, q) {
|
|
57681
|
-
return t1(q[1], q[0],
|
|
57681
|
+
return t1(q[1], q[0], Nr) + t1(B[1], B[0], Nr);
|
|
57682
57682
|
}
|
|
57683
57683
|
function Fr(B, q) {
|
|
57684
|
-
return Hi(q[0], q[1],
|
|
57684
|
+
return Hi(q[0], q[1], Nr) / Hi(B[0], B[1], Nr);
|
|
57685
57685
|
}
|
|
57686
57686
|
var _r = {
|
|
57687
57687
|
mousedown: Gt,
|
|
@@ -57857,7 +57857,7 @@ var fK = { exports: {} };
|
|
|
57857
57857
|
}
|
|
57858
57858
|
return !1;
|
|
57859
57859
|
}
|
|
57860
|
-
var Se = Zt(s.style, "touchAction"), lr = Se !== i,
|
|
57860
|
+
var Se = Zt(s.style, "touchAction"), lr = Se !== i, Or = "compute", vn = "auto", zr = "manipulation", br = "none", Br = "pan-x", cn = "pan-y", Kn = rs();
|
|
57861
57861
|
function Li(B, q) {
|
|
57862
57862
|
this.manager = B, this.set(q);
|
|
57863
57863
|
}
|
|
@@ -57867,7 +57867,7 @@ var fK = { exports: {} };
|
|
|
57867
57867
|
* @param {String} value
|
|
57868
57868
|
*/
|
|
57869
57869
|
set: function(B) {
|
|
57870
|
-
B ==
|
|
57870
|
+
B == Or && (B = this.compute()), lr && this.manager.element.style && Kn[B] && (this.manager.element.style[Se] = B), this.actions = B.toLowerCase().trim();
|
|
57871
57871
|
},
|
|
57872
57872
|
/**
|
|
57873
57873
|
* just re-set the touchAction value
|
|
@@ -58332,7 +58332,7 @@ var fK = { exports: {} };
|
|
|
58332
58332
|
* @type {String}
|
|
58333
58333
|
* @default compute
|
|
58334
58334
|
*/
|
|
58335
|
-
touchAction:
|
|
58335
|
+
touchAction: Or,
|
|
58336
58336
|
/**
|
|
58337
58337
|
* @type {Boolean}
|
|
58338
58338
|
* @default true
|
|
@@ -64336,10 +64336,10 @@ var BK = { exports: {} };
|
|
|
64336
64336
|
for (var I = arguments, G = {}, B = 0; B < arguments.length; B++) {
|
|
64337
64337
|
var q = I[B];
|
|
64338
64338
|
for (var it in q)
|
|
64339
|
-
|
|
64339
|
+
Ar.call(q, it) && (G[it] = q[it]);
|
|
64340
64340
|
}
|
|
64341
64341
|
return G;
|
|
64342
|
-
},
|
|
64342
|
+
}, Ar = Object.prototype.hasOwnProperty, Nr = n(Jr), dn = ["mode", "feature", "mouse"];
|
|
64343
64343
|
function ji(I) {
|
|
64344
64344
|
var G = null, B = null, q = { onRemove: function() {
|
|
64345
64345
|
return I.map.off("load", q.connect), clearInterval(B), q.removeLayers(), I.store.restoreMapConfig(), I.ui.removeButtons(), I.events.removeEventListeners(), I.ui.clearMapClasses(), I.boxZoomInitial && I.map.boxZoom.enable(), I.map = null, I.container = null, I.store = null, G && G.parentNode && G.parentNode.removeChild(G), G = null, this;
|
|
@@ -64349,7 +64349,7 @@ var BK = { exports: {} };
|
|
|
64349
64349
|
var ht = it.fire;
|
|
64350
64350
|
return it.fire = function(mt, qt) {
|
|
64351
64351
|
var le = arguments;
|
|
64352
|
-
return ht.length === 1 && arguments.length !== 1 && (le = [
|
|
64352
|
+
return ht.length === 1 && arguments.length !== 1 && (le = [Nr({}, { type: mt }, qt)]), ht.apply(it, le);
|
|
64353
64353
|
}, I.map = it, I.events = function(mt) {
|
|
64354
64354
|
var qt = Object.keys(mt.options.modes).reduce(function(pe, dr) {
|
|
64355
64355
|
return pe[dr] = qe(mt.options.modes[dr]), pe;
|
|
@@ -64451,7 +64451,7 @@ var BK = { exports: {} };
|
|
|
64451
64451
|
}(I), I.ui = /* @__PURE__ */ function(mt) {
|
|
64452
64452
|
var qt = {}, le = null, ve = { mode: null, feature: null, mouse: null }, Me = { mode: null, feature: null, mouse: null };
|
|
64453
64453
|
function be(pe) {
|
|
64454
|
-
Me =
|
|
64454
|
+
Me = Nr(Me, pe);
|
|
64455
64455
|
}
|
|
64456
64456
|
function fr() {
|
|
64457
64457
|
var pe, dr;
|
|
@@ -64459,7 +64459,7 @@ var BK = { exports: {} };
|
|
|
64459
64459
|
var Tn = [], Ni = [];
|
|
64460
64460
|
dn.forEach(function(zn) {
|
|
64461
64461
|
Me[zn] !== ve[zn] && (Tn.push(zn + "-" + ve[zn]), Me[zn] !== null && Ni.push(zn + "-" + Me[zn]));
|
|
64462
|
-
}), Tn.length > 0 && (pe = mt.container.classList).remove.apply(pe, Tn), Ni.length > 0 && (dr = mt.container.classList).add.apply(dr, Ni), ve =
|
|
64462
|
+
}), Tn.length > 0 && (pe = mt.container.classList).remove.apply(pe, Tn), Ni.length > 0 && (dr = mt.container.classList).add.apply(dr, Ni), ve = Nr(ve, Me);
|
|
64463
64463
|
}
|
|
64464
64464
|
}
|
|
64465
64465
|
function kn(pe, dr) {
|
|
@@ -64914,7 +64914,7 @@ var BK = { exports: {} };
|
|
|
64914
64914
|
});
|
|
64915
64915
|
var lr = Object.hasOwnProperty || function(I, G) {
|
|
64916
64916
|
return G in I;
|
|
64917
|
-
},
|
|
64917
|
+
}, Or = St.exports, vn = zr;
|
|
64918
64918
|
function zr(I) {
|
|
64919
64919
|
if (!(this instanceof zr))
|
|
64920
64920
|
return new zr(I);
|
|
@@ -64957,7 +64957,7 @@ var BK = { exports: {} };
|
|
|
64957
64957
|
return G.features.forEach(function(q) {
|
|
64958
64958
|
q.geometry && (B = B.concat(jt(q.geometry.coordinates)));
|
|
64959
64959
|
}), B;
|
|
64960
|
-
}, Br =
|
|
64960
|
+
}, Br = Or, cn = vn, Kn = { features: ["FeatureCollection"], coordinates: ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], geometry: ["Feature"], geometries: ["GeometryCollection"] }, Li = Object.keys(Kn);
|
|
64961
64961
|
function Ri(I) {
|
|
64962
64962
|
for (var G = cn(), B = br(I), q = 0; q < B.length; q++)
|
|
64963
64963
|
G.include(B[q]);
|
|
@@ -65317,7 +65317,7 @@ var BK = { exports: {} };
|
|
|
65317
65317
|
var Ui = { simple_select: Xr, direct_select: _n, draw_point: pn, draw_polygon: u1, draw_line_string: Qn }, h1 = { defaultMode: E.SIMPLE_SELECT, keybindings: !0, touchEnabled: !0, clickBuffer: 2, touchBuffer: 25, boxSelect: !0, displayControlsDefault: !0, styles: Ji, modes: Ui, controls: {}, userProperties: !1 }, jn = { point: !0, line_string: !0, polygon: !0, trash: !0, combine_features: !0, uncombine_features: !0 }, is = { point: !1, line_string: !1, polygon: !1, trash: !1, combine_features: !1, uncombine_features: !1 };
|
|
65318
65318
|
function d1(I, G) {
|
|
65319
65319
|
return I.map(function(B) {
|
|
65320
|
-
return B.source ? B :
|
|
65320
|
+
return B.source ? B : Nr(B, { id: B.id + "." + G, source: G === "hot" ? Q.HOT : Q.COLD });
|
|
65321
65321
|
});
|
|
65322
65322
|
}
|
|
65323
65323
|
var b2 = { exports: {} };
|
|
@@ -65728,8 +65728,8 @@ var BK = { exports: {} };
|
|
|
65728
65728
|
var ma = { Polygon: Re, LineString: Ye, Point: er, MultiPolygon: Qe, MultiLineString: Qe, MultiPoint: Qe }, qo = Object.freeze({ __proto__: null, CommonSelectors: Fr, constrainFeatureMovement: zi, createMidPoint: H1, createSupplementaryPoints: Vi, createVertex: Pi, doubleClickZoom: Rn, euclideanDistance: Pe, featuresAt: Zt, getFeatureAtAndSetCursors: re, isClick: yr, isEventAtCoordinates: co, isTap: qr, mapEventToBoundingBox: nt, ModeHandler: r, moveFeatures: lo, sortFeatures: ct, stringSetsAreEqual: Ao, StringSet: gt, theme: Ji, toDenseArray: $e }), uo = function(I, G) {
|
|
65729
65729
|
var B = { options: I = function(it) {
|
|
65730
65730
|
it === void 0 && (it = {});
|
|
65731
|
-
var ht =
|
|
65732
|
-
return it.controls || (ht.controls = {}), it.displayControlsDefault === !1 ? ht.controls =
|
|
65731
|
+
var ht = Nr(it);
|
|
65732
|
+
return it.controls || (ht.controls = {}), it.displayControlsDefault === !1 ? ht.controls = Nr(is, it.controls) : ht.controls = Nr(jn, it.controls), (ht = Nr(h1, ht)).styles = d1(ht.styles, "cold").concat(d1(ht.styles, "hot")), ht;
|
|
65733
65733
|
}(I) };
|
|
65734
65734
|
G = function(it, ht) {
|
|
65735
65735
|
return ht.modes = E, ht.getFeatureIdsAt = function(mt) {
|
|
@@ -70568,25 +70568,25 @@ function fi() {
|
|
|
70568
70568
|
function ct(Gt, te, Qe, de) {
|
|
70569
70569
|
if (Gt.configuration.options.internalMath)
|
|
70570
70570
|
return Gt.configuration.options.internalMath(Gt, te, Qe, de);
|
|
70571
|
-
var Ge = de || Gt.stack.env.font, Tr = Ge ? { mathvariant: Ge } : {}, qe = [], $e = 0, ar = 0, Ct, en, Jr = "",
|
|
70571
|
+
var Ge = de || Gt.stack.env.font, Tr = Ge ? { mathvariant: Ge } : {}, qe = [], $e = 0, ar = 0, Ct, en, Jr = "", Ar = 0;
|
|
70572
70572
|
if (te.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)) {
|
|
70573
70573
|
for (; $e < te.length; )
|
|
70574
70574
|
if (Ct = te.charAt($e++), Ct === "$")
|
|
70575
|
-
Jr === "$" &&
|
|
70575
|
+
Jr === "$" && Ar === 0 ? (en = Gt.create("node", "TeXAtom", [new o.default(te.slice(ar, $e - 1), {}, Gt.configuration).mml()]), qe.push(en), Jr = "", ar = $e) : Jr === "" && (ar < $e - 1 && qe.push(nt(Gt, te.slice(ar, $e - 1), Tr)), Jr = "$", ar = $e);
|
|
70576
70576
|
else if (Ct === "{" && Jr !== "")
|
|
70577
|
-
|
|
70577
|
+
Ar++;
|
|
70578
70578
|
else if (Ct === "}")
|
|
70579
|
-
if (Jr === "}" &&
|
|
70580
|
-
var
|
|
70581
|
-
en = Gt.create("node", "TeXAtom", [
|
|
70579
|
+
if (Jr === "}" && Ar === 0) {
|
|
70580
|
+
var Nr = new o.default(te.slice(ar, $e), {}, Gt.configuration).mml();
|
|
70581
|
+
en = Gt.create("node", "TeXAtom", [Nr], Tr), qe.push(en), Jr = "", ar = $e;
|
|
70582
70582
|
} else
|
|
70583
|
-
Jr !== "" &&
|
|
70583
|
+
Jr !== "" && Ar && Ar--;
|
|
70584
70584
|
else if (Ct === "\\")
|
|
70585
70585
|
if (Jr === "" && te.substr($e).match(/^(eq)?ref\s*\{/)) {
|
|
70586
70586
|
var dn = RegExp["$&"].length;
|
|
70587
70587
|
ar < $e - 1 && qe.push(nt(Gt, te.slice(ar, $e - 1), Tr)), Jr = "}", ar = $e - 1, $e += dn;
|
|
70588
70588
|
} else
|
|
70589
|
-
Ct = te.charAt($e++), Ct === "(" && Jr === "" ? (ar < $e - 2 && qe.push(nt(Gt, te.slice(ar, $e - 2), Tr)), Jr = ")", ar = $e) : Ct === ")" && Jr === ")" &&
|
|
70589
|
+
Ct = te.charAt($e++), Ct === "(" && Jr === "" ? (ar < $e - 2 && qe.push(nt(Gt, te.slice(ar, $e - 2), Tr)), Jr = ")", ar = $e) : Ct === ")" && Jr === ")" && Ar === 0 ? (en = Gt.create("node", "TeXAtom", [new o.default(te.slice(ar, $e - 2), {}, Gt.configuration).mml()]), qe.push(en), Jr = "", ar = $e) : Ct.match(/[${}\\]/) && Jr === "" && ($e--, te = te.substr(0, $e - 1) + te.substr($e));
|
|
70590
70590
|
if (Jr !== "")
|
|
70591
70591
|
throw new s.default("MathNotTerminated", "Math not terminated in text box");
|
|
70592
70592
|
}
|
|
@@ -72234,7 +72234,7 @@ var yn = {}, Fd = {};
|
|
|
72234
72234
|
}();
|
|
72235
72235
|
t.ParserConfiguration = T;
|
|
72236
72236
|
})(yn);
|
|
72237
|
-
var o0 = {},
|
|
72237
|
+
var o0 = {}, Rr = {}, ca = {};
|
|
72238
72238
|
Object.defineProperty(ca, "__esModule", { value: !0 });
|
|
72239
72239
|
ca.Macro = ca.Symbol = void 0;
|
|
72240
72240
|
var TPt = function() {
|
|
@@ -72341,13 +72341,13 @@ var vl = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
72341
72341
|
(o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
|
|
72342
72342
|
return t.concat(o || Array.prototype.slice.call(e));
|
|
72343
72343
|
};
|
|
72344
|
-
Object.defineProperty(
|
|
72345
|
-
|
|
72344
|
+
Object.defineProperty(Rr, "__esModule", { value: !0 });
|
|
72345
|
+
Rr.EnvironmentMap = Rr.CommandMap = Rr.MacroMap = Rr.DelimiterMap = Rr.CharacterMap = Rr.AbstractParseMap = Rr.RegExpMap = Rr.AbstractSymbolMap = Rr.parseResult = void 0;
|
|
72346
72346
|
var ZK = ca, QPt = Fd;
|
|
72347
72347
|
function Bd(t) {
|
|
72348
72348
|
return t === void 0 ? !0 : t;
|
|
72349
72349
|
}
|
|
72350
|
-
|
|
72350
|
+
Rr.parseResult = Bd;
|
|
72351
72351
|
var MA = function() {
|
|
72352
72352
|
function t(e, r) {
|
|
72353
72353
|
this._name = e, this._parser = r, QPt.MapHandler.register(this);
|
|
@@ -72374,7 +72374,7 @@ var MA = function() {
|
|
|
72374
72374
|
configurable: !0
|
|
72375
72375
|
}), t;
|
|
72376
72376
|
}();
|
|
72377
|
-
|
|
72377
|
+
Rr.AbstractSymbolMap = MA;
|
|
72378
72378
|
var mPt = function(t) {
|
|
72379
72379
|
vl(e, t);
|
|
72380
72380
|
function e(r, n, i) {
|
|
@@ -72387,7 +72387,7 @@ var mPt = function(t) {
|
|
|
72387
72387
|
return this.contains(r) ? r : null;
|
|
72388
72388
|
}, e;
|
|
72389
72389
|
}(MA);
|
|
72390
|
-
|
|
72390
|
+
Rr.RegExpMap = mPt;
|
|
72391
72391
|
var SA = function(t) {
|
|
72392
72392
|
vl(e, t);
|
|
72393
72393
|
function e() {
|
|
@@ -72404,7 +72404,7 @@ var SA = function(t) {
|
|
|
72404
72404
|
this.map.delete(r);
|
|
72405
72405
|
}, e;
|
|
72406
72406
|
}(MA);
|
|
72407
|
-
|
|
72407
|
+
Rr.AbstractParseMap = SA;
|
|
72408
72408
|
var qK = function(t) {
|
|
72409
72409
|
vl(e, t);
|
|
72410
72410
|
function e(r, n, i) {
|
|
@@ -72428,7 +72428,7 @@ var qK = function(t) {
|
|
|
72428
72428
|
}
|
|
72429
72429
|
return e;
|
|
72430
72430
|
}(SA);
|
|
72431
|
-
|
|
72431
|
+
Rr.CharacterMap = qK;
|
|
72432
72432
|
var gPt = function(t) {
|
|
72433
72433
|
vl(e, t);
|
|
72434
72434
|
function e() {
|
|
@@ -72439,7 +72439,7 @@ var gPt = function(t) {
|
|
|
72439
72439
|
return t.prototype.parse.call(this, [i, "\\" + o]);
|
|
72440
72440
|
}, e;
|
|
72441
72441
|
}(qK);
|
|
72442
|
-
|
|
72442
|
+
Rr.DelimiterMap = gPt;
|
|
72443
72443
|
var HA = function(t) {
|
|
72444
72444
|
vl(e, t);
|
|
72445
72445
|
function e(r, n, i) {
|
|
@@ -72469,7 +72469,7 @@ var HA = function(t) {
|
|
|
72469
72469
|
return !s || !a ? null : Bd(a.apply(void 0, WK([i, s.symbol], L4(s.args), !1)));
|
|
72470
72470
|
}, e;
|
|
72471
72471
|
}(SA);
|
|
72472
|
-
|
|
72472
|
+
Rr.MacroMap = HA;
|
|
72473
72473
|
var yPt = function(t) {
|
|
72474
72474
|
vl(e, t);
|
|
72475
72475
|
function e() {
|
|
@@ -72485,7 +72485,7 @@ var yPt = function(t) {
|
|
|
72485
72485
|
return i.currentCS = u, Bd(d);
|
|
72486
72486
|
}, e;
|
|
72487
72487
|
}(HA);
|
|
72488
|
-
|
|
72488
|
+
Rr.CommandMap = yPt;
|
|
72489
72489
|
var vPt = function(t) {
|
|
72490
72490
|
vl(e, t);
|
|
72491
72491
|
function e(r, n, i, o) {
|
|
@@ -72497,7 +72497,7 @@ var vPt = function(t) {
|
|
|
72497
72497
|
return !s || !a ? null : Bd(this.parser(i, s.symbol, a, s.args));
|
|
72498
72498
|
}, e;
|
|
72499
72499
|
}(HA);
|
|
72500
|
-
|
|
72500
|
+
Rr.EnvironmentMap = vPt;
|
|
72501
72501
|
var Sr = {}, Fi = P && P.__extends || /* @__PURE__ */ function() {
|
|
72502
72502
|
var t = function(e, r) {
|
|
72503
72503
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
@@ -74042,7 +74042,7 @@ var tVt = P && P.__createBinding || (Object.create ? function(t, e, r, n) {
|
|
|
74042
74042
|
return eVt(e, t), e;
|
|
74043
74043
|
}, IA = P && P.__importDefault || function(t) {
|
|
74044
74044
|
return t && t.__esModule ? t : { default: t };
|
|
74045
|
-
}, Ta = rVt(
|
|
74045
|
+
}, Ta = rVt(Rr), Ze = ao, PA = IA(_2), v0 = IA(pa), nVt = IA(fi()), Ur = Cr, u2 = M3;
|
|
74046
74046
|
new Ta.RegExpMap("letter", v0.default.variable, /[a-z]/i);
|
|
74047
74047
|
new Ta.RegExpMap("digit", v0.default.digit, /[0-9.,]/);
|
|
74048
74048
|
new Ta.RegExpMap("command", v0.default.controlSequence, /^\\/);
|
|
@@ -74777,7 +74777,7 @@ var iVt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
74777
74777
|
}, Ei;
|
|
74778
74778
|
Object.defineProperty(o0, "__esModule", { value: !0 });
|
|
74779
74779
|
o0.BaseConfiguration = o0.BaseTags = o0.Other = void 0;
|
|
74780
|
-
var cVt = yn, uVt = Fd, rY = eY(Cn), hVt = eY(Ti), dVt =
|
|
74780
|
+
var cVt = yn, uVt = Fd, rY = eY(Cn), hVt = eY(Ti), dVt = Rr, Zr = aVt(Sr), pVt = V4, TVt = xA;
|
|
74781
74781
|
new dVt.CharacterMap("remap", null, {
|
|
74782
74782
|
"-": "−",
|
|
74783
74783
|
"*": "∗",
|
|
@@ -92038,7 +92038,7 @@ var qA = {}, wjt = {};
|
|
|
92038
92038
|
return s && s.__esModule ? s : { default: s };
|
|
92039
92039
|
};
|
|
92040
92040
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ActionConfiguration = t.ActionMethods = void 0;
|
|
92041
|
-
var r = yn, n = e(Ho()), i =
|
|
92041
|
+
var r = yn, n = e(Ho()), i = Rr, o = e(_2);
|
|
92042
92042
|
t.ActionMethods = {}, t.ActionMethods.Macro = o.default.Macro, t.ActionMethods.Toggle = function(s, a) {
|
|
92043
92043
|
for (var u = [], d; (d = s.GetArgument(a)) !== "\\endtoggle"; )
|
|
92044
92044
|
u.push(new n.default(d, s.stack.env, s.configuration).mml());
|
|
@@ -92358,7 +92358,7 @@ var Sjt = P && P.__createBinding || (Object.create ? function(t, e, r, n) {
|
|
|
92358
92358
|
return Hjt(e, t), e;
|
|
92359
92359
|
}, MY = P && P.__importDefault || function(t) {
|
|
92360
92360
|
return t && t.__esModule ? t : { default: t };
|
|
92361
|
-
}, Jv = Qc, R4 = Ajt(
|
|
92361
|
+
}, Jv = Qc, R4 = Ajt(Rr), Lo = ao, mc = MY(pa), e5 = MY(fi()), F9 = Cr, IM = M3;
|
|
92362
92362
|
new R4.CharacterMap("AMSmath-mathchar0mo", mc.default.mathchar0mo, {
|
|
92363
92363
|
iiiint: ["⨌", { texClass: F9.TEXCLASS.OP }]
|
|
92364
92364
|
});
|
|
@@ -92729,7 +92729,7 @@ var Ojt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
92729
92729
|
}(), af;
|
|
92730
92730
|
Object.defineProperty(X8, "__esModule", { value: !0 });
|
|
92731
92731
|
X8.AmsConfiguration = X8.AmsTags = void 0;
|
|
92732
|
-
var SY = yn, lf = tl, Cjt = V4, uj = Qc, kjt =
|
|
92732
|
+
var SY = yn, lf = tl, Cjt = V4, uj = Qc, kjt = Rr, HY = function(t) {
|
|
92733
92733
|
Ojt(e, t);
|
|
92734
92734
|
function e() {
|
|
92735
92735
|
return t !== null && t.apply(this, arguments) || this;
|
|
@@ -92872,7 +92872,7 @@ var Rjt = P && P.__createBinding || (Object.create ? function(t, e, r, n) {
|
|
|
92872
92872
|
return Njt(e, t), e;
|
|
92873
92873
|
}, OY = P && P.__importDefault || function(t) {
|
|
92874
92874
|
return t && t.__esModule ? t : { default: t };
|
|
92875
|
-
}, JA = Djt(
|
|
92875
|
+
}, JA = Djt(Rr), Fjt = OY(pa), tO = OY(YA);
|
|
92876
92876
|
new JA.EnvironmentMap("amscd_environment", Fjt.default.environment, { CD: "CD" }, tO.default);
|
|
92877
92877
|
new JA.CommandMap("amscd_macros", {
|
|
92878
92878
|
minCDarrowwidth: "minCDarrowwidth",
|
|
@@ -92904,7 +92904,7 @@ var jjt = {};
|
|
|
92904
92904
|
return a && a.__esModule ? a : { default: a };
|
|
92905
92905
|
};
|
|
92906
92906
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.BboxConfiguration = t.BboxMethods = void 0;
|
|
92907
|
-
var r = yn, n =
|
|
92907
|
+
var r = yn, n = Rr, i = e(Cn);
|
|
92908
92908
|
t.BboxMethods = {}, t.BboxMethods.BBox = function(a, u) {
|
|
92909
92909
|
for (var d = a.GetBrackets(u, ""), T = a.ParseArg(u), f = d.split(/,/), Q, y, _, L = 0, E = f.length; L < E; L++) {
|
|
92910
92910
|
var x = f[L].trim(), O = x.match(/^(\.\d+|\d+(\.\d*)?)(pt|em|ex|mu|px|in|cm|mm)$/);
|
|
@@ -92955,7 +92955,7 @@ var zjt = {};
|
|
|
92955
92955
|
return f && f.__esModule ? f : { default: f };
|
|
92956
92956
|
};
|
|
92957
92957
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.BoldsymbolConfiguration = t.rewriteBoldTokens = t.createBoldToken = t.BoldsymbolMethods = void 0;
|
|
92958
|
-
var n = yn, i = r(Ti), o = ao, s =
|
|
92958
|
+
var n = yn, i = r(Ti), o = ao, s = Rr, a = Tc, u = {};
|
|
92959
92959
|
u[o.TexConstant.Variant.NORMAL] = o.TexConstant.Variant.BOLD, u[o.TexConstant.Variant.ITALIC] = o.TexConstant.Variant.BOLDITALIC, u[o.TexConstant.Variant.FRAKTUR] = o.TexConstant.Variant.BOLDFRAKTUR, u[o.TexConstant.Variant.SCRIPT] = o.TexConstant.Variant.BOLDSCRIPT, u[o.TexConstant.Variant.SANSSERIF] = o.TexConstant.Variant.BOLDSANSSERIF, u["-tex-calligraphic"] = "-tex-bold-calligraphic", u["-tex-oldstyle"] = "-tex-bold-oldstyle", u["-tex-mathit"] = o.TexConstant.Variant.BOLDITALIC, t.BoldsymbolMethods = {}, t.BoldsymbolMethods.Boldsymbol = function(f, Q) {
|
|
92960
92960
|
var y = f.stack.env.boldsymbol;
|
|
92961
92961
|
f.stack.env.boldsymbol = !0;
|
|
@@ -93087,7 +93087,7 @@ e_.Bar = function(t, e) {
|
|
|
93087
93087
|
rO.default = e_;
|
|
93088
93088
|
var Xjt = P && P.__importDefault || function(t) {
|
|
93089
93089
|
return t && t.__esModule ? t : { default: t };
|
|
93090
|
-
}, kY =
|
|
93090
|
+
}, kY = Rr, IY = Xjt(rO);
|
|
93091
93091
|
new kY.CommandMap("Braket-macros", {
|
|
93092
93092
|
bra: ["Macro", "{\\langle {#1} \\vert}", 1],
|
|
93093
93093
|
ket: ["Macro", "{\\vert {#1} \\rangle}", 1],
|
|
@@ -93286,10 +93286,10 @@ var nO = {}, r_ = {}, n_ = {};
|
|
|
93286
93286
|
F(He, (0, t.getProperty)(Gt, "proof") ? Gt : Gt.parent, ar - Ct, !0);
|
|
93287
93287
|
continue;
|
|
93288
93288
|
}
|
|
93289
|
-
var
|
|
93290
|
-
if (
|
|
93291
|
-
var
|
|
93292
|
-
|
|
93289
|
+
var Ar = x(Jr);
|
|
93290
|
+
if (Ar) {
|
|
93291
|
+
var Nr = He.nodeFactory.create("node", "mspace", [], { width: ar - Ct + "em" });
|
|
93292
|
+
Ar.appendChild(Nr), Gt.removeProperty("maxAdjust");
|
|
93293
93293
|
continue;
|
|
93294
93294
|
}
|
|
93295
93295
|
var dn = O(Jr);
|
|
@@ -93573,7 +93573,7 @@ S3.InferenceF = function(t, e, r) {
|
|
|
93573
93573
|
iO.default = S3;
|
|
93574
93574
|
var FY = P && P.__importDefault || function(t) {
|
|
93575
93575
|
return t && t.__esModule ? t : { default: t };
|
|
93576
|
-
}, BY = FY(iO), czt = FY(pa), jY =
|
|
93576
|
+
}, BY = FY(iO), czt = FY(pa), jY = Rr;
|
|
93577
93577
|
new jY.CommandMap("Bussproofs-macros", {
|
|
93578
93578
|
AxiomC: "Axiom",
|
|
93579
93579
|
UnaryInfC: ["Inference", 1],
|
|
@@ -93637,7 +93637,7 @@ var hzt = {}, zY = {};
|
|
|
93637
93637
|
return o && o.__esModule ? o : { default: o };
|
|
93638
93638
|
};
|
|
93639
93639
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.EncloseConfiguration = t.EncloseMethods = t.ENCLOSE_OPTIONS = void 0;
|
|
93640
|
-
var r = yn, n =
|
|
93640
|
+
var r = yn, n = Rr, i = e(fi());
|
|
93641
93641
|
t.ENCLOSE_OPTIONS = {
|
|
93642
93642
|
"data-arrowhead": 1,
|
|
93643
93643
|
color: 1,
|
|
@@ -93656,7 +93656,7 @@ var hzt = {}, zY = {};
|
|
|
93656
93656
|
return a && a.__esModule ? a : { default: a };
|
|
93657
93657
|
};
|
|
93658
93658
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CancelConfiguration = t.CancelMethods = void 0;
|
|
93659
|
-
var r = yn, n = ao, i =
|
|
93659
|
+
var r = yn, n = ao, i = Rr, o = e(fi()), s = zY;
|
|
93660
93660
|
t.CancelMethods = {}, t.CancelMethods.Cancel = function(a, u, d) {
|
|
93661
93661
|
var T = a.GetBrackets(u, ""), f = a.ParseArg(u), Q = o.default.keyvalOptions(T, s.ENCLOSE_OPTIONS);
|
|
93662
93662
|
Q.notation = d, a.Push(a.create("node", "menclose", [f], Q));
|
|
@@ -93846,7 +93846,7 @@ var dzt = {}, sO = {};
|
|
|
93846
93846
|
return _ && _.__esModule ? _ : { default: _ };
|
|
93847
93847
|
}, n;
|
|
93848
93848
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.CasesConfiguration = t.CasesMethods = t.CasesTags = t.CasesBeginItem = void 0;
|
|
93849
|
-
var i = yn, o =
|
|
93849
|
+
var i = yn, o = Rr, s = r(fi()), a = r(_2), u = r(Cn), d = Sr, T = X8, f = sO, Q = function(_) {
|
|
93850
93850
|
e(L, _);
|
|
93851
93851
|
function L() {
|
|
93852
93852
|
return _ !== null && _.apply(this, arguments) || this;
|
|
@@ -93946,7 +93946,7 @@ var id = {}, pzt = P && P.__values || function(t) {
|
|
|
93946
93946
|
};
|
|
93947
93947
|
Object.defineProperty(id, "__esModule", { value: !0 });
|
|
93948
93948
|
id.CenternotConfiguration = id.filterCenterOver = void 0;
|
|
93949
|
-
var Tzt = yn, Qj = aO(Ho()), mj = aO(Ti), fzt =
|
|
93949
|
+
var Tzt = yn, Qj = aO(Ho()), mj = aO(Ti), fzt = Rr, Qzt = aO(_2);
|
|
93950
93950
|
new fzt.CommandMap("centernot", {
|
|
93951
93951
|
centerOver: "CenterOver",
|
|
93952
93952
|
centernot: ["Macro", "\\centerOver{#1}{{⧸}}", 1]
|
|
@@ -94204,7 +94204,7 @@ od.set("gray", function(t) {
|
|
|
94204
94204
|
});
|
|
94205
94205
|
Object.defineProperty(lO, "__esModule", { value: !0 });
|
|
94206
94206
|
lO.ColorConfiguration = void 0;
|
|
94207
|
-
var yzt =
|
|
94207
|
+
var yzt = Rr, vzt = yn, _zt = GY, bzt = i_;
|
|
94208
94208
|
new yzt.CommandMap("color", {
|
|
94209
94209
|
color: "Color",
|
|
94210
94210
|
textcolor: "TextColor",
|
|
@@ -94230,7 +94230,7 @@ lO.ColorConfiguration = vzt.Configuration.create("color", {
|
|
|
94230
94230
|
var wzt = {};
|
|
94231
94231
|
(function(t) {
|
|
94232
94232
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ColorConfiguration = t.ColorV2Methods = void 0;
|
|
94233
|
-
var e =
|
|
94233
|
+
var e = Rr, r = yn;
|
|
94234
94234
|
t.ColorV2Methods = {
|
|
94235
94235
|
Color: function(n, i) {
|
|
94236
94236
|
var o = n.GetArgument(i), s = n.stack.env.color;
|
|
@@ -94265,7 +94265,7 @@ var sd = {}, xzt = P && P.__extends || /* @__PURE__ */ function() {
|
|
|
94265
94265
|
};
|
|
94266
94266
|
Object.defineProperty(sd, "__esModule", { value: !0 });
|
|
94267
94267
|
sd.ColortblConfiguration = sd.ColorArrayItem = void 0;
|
|
94268
|
-
var Mzt = Sr, WY = yn, Szt =
|
|
94268
|
+
var Mzt = Sr, WY = yn, Szt = Rr, qw = Ezt(Cn), cO = function(t) {
|
|
94269
94269
|
xzt(e, t);
|
|
94270
94270
|
function e() {
|
|
94271
94271
|
var r = t !== null && t.apply(this, arguments) || this;
|
|
@@ -94437,7 +94437,7 @@ var Azt = P && P.__createBinding || (Object.create ? function(t, e, r, n) {
|
|
|
94437
94437
|
return t && t.__esModule ? t : { default: t };
|
|
94438
94438
|
};
|
|
94439
94439
|
Object.defineProperty(hp, "__esModule", { value: !0 });
|
|
94440
|
-
var kzt = s_(Cn), Izt = Czt(
|
|
94440
|
+
var kzt = s_(Cn), Izt = Czt(Rr), Pzt = s_(_2), B5 = s_(fi()), g1 = s_(gc), Y2 = {};
|
|
94441
94441
|
Y2.NewCommand = function(t, e) {
|
|
94442
94442
|
var r = g1.default.GetCsNameArgument(t, e), n = g1.default.GetArgCount(t, e), i = t.GetBrackets(e), o = t.GetArgument(e);
|
|
94443
94443
|
g1.default.addMacro(t, r, Y2.Macro, [o, n, i]);
|
|
@@ -94589,7 +94589,7 @@ var qY = P && P.__values || function(t) {
|
|
|
94589
94589
|
}, Kw;
|
|
94590
94590
|
Object.defineProperty(uO, "__esModule", { value: !0 });
|
|
94591
94591
|
uO.ConfigMacrosConfiguration = void 0;
|
|
94592
|
-
var KY = yn, vj = Z1, _j =
|
|
94592
|
+
var KY = yn, vj = Z1, _j = Rr, Fzt = XY(pa), RM = ca, NM = XY(hp), bj = dp, DM = "configmacros-map", FM = "configmacros-env-map";
|
|
94593
94593
|
function Bzt(t) {
|
|
94594
94594
|
new _j.CommandMap(DM, {}, {}), new _j.EnvironmentMap(FM, Fzt.default.environment, {}, {}), t.append(KY.Configuration.local({
|
|
94595
94595
|
handler: {
|
|
@@ -94690,7 +94690,7 @@ var Gzt = {};
|
|
|
94690
94690
|
return Q && Q.__esModule ? Q : { default: Q };
|
|
94691
94691
|
}, i;
|
|
94692
94692
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.EmpheqConfiguration = t.EmpheqMethods = t.EmpheqBeginItem = void 0;
|
|
94693
|
-
var o = yn, s =
|
|
94693
|
+
var o = yn, s = Rr, a = n(fi()), u = n(Cn), d = Sr, T = sO, f = function(Q) {
|
|
94694
94694
|
e(y, Q);
|
|
94695
94695
|
function y() {
|
|
94696
94696
|
return Q !== null && Q.apply(this, arguments) || this;
|
|
@@ -94775,7 +94775,7 @@ var Gzt = {};
|
|
|
94775
94775
|
})(Gzt);
|
|
94776
94776
|
var $zt = {}, a_ = {}, Wzt = P && P.__importDefault || function(t) {
|
|
94777
94777
|
return t && t.__esModule ? t : { default: t };
|
|
94778
|
-
}, Zzt = Wzt(hp), qzt =
|
|
94778
|
+
}, Zzt = Wzt(hp), qzt = Rr;
|
|
94779
94779
|
new qzt.CommandMap("Newcommand-macros", {
|
|
94780
94780
|
newcommand: "NewCommand",
|
|
94781
94781
|
renewcommand: "NewCommand",
|
|
@@ -94809,7 +94809,7 @@ var Xzt = P && P.__createBinding || (Object.create ? function(t, e, r, n) {
|
|
|
94809
94809
|
}, Yw;
|
|
94810
94810
|
Object.defineProperty(a_, "__esModule", { value: !0 });
|
|
94811
94811
|
a_.NewcommandConfiguration = void 0;
|
|
94812
|
-
var JY = yn, Lj = dp, n5 = YY(gc), wj = YY(pa), Jw = Yzt(
|
|
94812
|
+
var JY = yn, Lj = dp, n5 = YY(gc), wj = YY(pa), Jw = Yzt(Rr), Jzt = function(t) {
|
|
94813
94813
|
new Jw.DelimiterMap(n5.default.NEW_DELIMITER, wj.default.delimiter, {}), new Jw.CommandMap(n5.default.NEW_COMMAND, {}, {}), new Jw.EnvironmentMap(n5.default.NEW_ENVIRONMENT, wj.default.environment, {}, {}), t.append(JY.Configuration.local({
|
|
94814
94814
|
handler: {
|
|
94815
94815
|
character: [],
|
|
@@ -94836,7 +94836,7 @@ a_.NewcommandConfiguration = JY.Configuration.create("newcommand", {
|
|
|
94836
94836
|
return d && d.__esModule ? d : { default: d };
|
|
94837
94837
|
};
|
|
94838
94838
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ExtpfeilConfiguration = t.ExtpfeilMethods = void 0;
|
|
94839
|
-
var r = yn, n =
|
|
94839
|
+
var r = yn, n = Rr, i = Qc, o = e(gc), s = a_, a = e(Cn);
|
|
94840
94840
|
t.ExtpfeilMethods = {}, t.ExtpfeilMethods.xArrow = i.AmsMethods.xArrow, t.ExtpfeilMethods.NewExtArrow = function(d, T) {
|
|
94841
94841
|
var f = d.GetArgument(T), Q = d.GetArgument(T), y = d.GetArgument(T);
|
|
94842
94842
|
if (!f.match(/^\\([a-z]+|.)$/i))
|
|
@@ -94867,7 +94867,7 @@ a_.NewcommandConfiguration = JY.Configuration.create("newcommand", {
|
|
|
94867
94867
|
var hO = {};
|
|
94868
94868
|
Object.defineProperty(hO, "__esModule", { value: !0 });
|
|
94869
94869
|
hO.GensymbConfiguration = void 0;
|
|
94870
|
-
var tUt = yn, eUt = ao, rUt =
|
|
94870
|
+
var tUt = yn, eUt = ao, rUt = Rr;
|
|
94871
94871
|
function nUt(t, e) {
|
|
94872
94872
|
var r = e.attributes || {};
|
|
94873
94873
|
r.mathvariant = eUt.TexConstant.Variant.NORMAL, r.class = "MathML-Unit";
|
|
@@ -94921,7 +94921,7 @@ var oUt = P && P.__importDefault || function(t) {
|
|
|
94921
94921
|
};
|
|
94922
94922
|
Object.defineProperty(dO, "__esModule", { value: !0 });
|
|
94923
94923
|
dO.HtmlConfiguration = void 0;
|
|
94924
|
-
var sUt = yn, aUt =
|
|
94924
|
+
var sUt = yn, aUt = Rr, lUt = oUt(pO);
|
|
94925
94925
|
new aUt.CommandMap("html_macros", {
|
|
94926
94926
|
href: "Href",
|
|
94927
94927
|
class: "Class",
|
|
@@ -95358,7 +95358,7 @@ function cUt() {
|
|
|
95358
95358
|
return o && o.__esModule ? o : { default: o };
|
|
95359
95359
|
};
|
|
95360
95360
|
Object.defineProperty(tx, "__esModule", { value: !0 });
|
|
95361
|
-
var e = t(pa), r =
|
|
95361
|
+
var e = t(pa), r = Rr, n = ao, i = eJ();
|
|
95362
95362
|
return new r.CommandMap("mathtools-macros", {
|
|
95363
95363
|
shoveleft: ["HandleShove", n.TexConstant.Align.LEFT],
|
|
95364
95364
|
shoveright: ["HandleShove", n.TexConstant.Align.RIGHT],
|
|
@@ -95641,7 +95641,7 @@ function rJ() {
|
|
|
95641
95641
|
return _ && _.__esModule ? _ : { default: _ };
|
|
95642
95642
|
}, n;
|
|
95643
95643
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsConfiguration = t.fixPrescripts = t.PAIREDDELIMS = void 0;
|
|
95644
|
-
var i = yn, o =
|
|
95644
|
+
var i = yn, o = Rr, s = r(Ti), a = Z1;
|
|
95645
95645
|
cUt();
|
|
95646
95646
|
var u = tJ(), d = c_, T = u_;
|
|
95647
95647
|
t.PAIREDDELIMS = "mathtools-paired-delims";
|
|
@@ -97286,7 +97286,7 @@ var Ee = {
|
|
|
97286
97286
|
};
|
|
97287
97287
|
Object.defineProperty(TO, "__esModule", { value: !0 });
|
|
97288
97288
|
TO.MhchemConfiguration = void 0;
|
|
97289
|
-
var _Ut = yn, bUt =
|
|
97289
|
+
var _Ut = yn, bUt = Rr, LUt = nJ(Cn), wUt = nJ(_2), xUt = Qc, EUt = h_, d_ = {};
|
|
97290
97290
|
d_.Macro = wUt.default.Macro;
|
|
97291
97291
|
d_.xArrow = xUt.AmsMethods.xArrow;
|
|
97292
97292
|
d_.Machine = function(t, e, r) {
|
|
@@ -97795,7 +97795,7 @@ qn.Array = vO.default.Array;
|
|
|
97795
97795
|
yO.default = qn;
|
|
97796
97796
|
var lJ = P && P.__importDefault || function(t) {
|
|
97797
97797
|
return t && t.__esModule ? t : { default: t };
|
|
97798
|
-
}, Qa =
|
|
97798
|
+
}, Qa = Rr, N4 = lJ(yO), y8 = ao, bO = lJ(pa), $Ut = Cr;
|
|
97799
97799
|
new Qa.CommandMap("Physics-automatic-bracing-macros", {
|
|
97800
97800
|
quantity: "Quantity",
|
|
97801
97801
|
qty: "Quantity",
|
|
@@ -98064,7 +98064,7 @@ var ZUt = {};
|
|
|
98064
98064
|
return Q && Q.__esModule ? Q : { default: Q };
|
|
98065
98065
|
};
|
|
98066
98066
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SetOptionsConfiguration = t.SetOptionsUtil = void 0;
|
|
98067
|
-
var n = yn, i =
|
|
98067
|
+
var n = yn, i = Rr, o = r(Cn), s = r(fi()), a = ca, u = r(_2), d = Z1;
|
|
98068
98068
|
t.SetOptionsUtil = {
|
|
98069
98069
|
filterPackage: function(Q, y) {
|
|
98070
98070
|
if (y !== "tex" && !n.ConfigurationHandler.get(y))
|
|
@@ -98454,7 +98454,7 @@ var rGt = T_(Ho()), Rj = T_(Cn), nGt = T_(fi()), iGt = Cr, Nj = T_(Ti), Dj = Sr,
|
|
|
98454
98454
|
fp.TextParser = oGt;
|
|
98455
98455
|
var sGt = P && P.__importDefault || function(t) {
|
|
98456
98456
|
return t && t.__esModule ? t : { default: t };
|
|
98457
|
-
}, aGt =
|
|
98457
|
+
}, aGt = Rr, _s = ao, lGt = yc, cGt = sGt(fi()), uGt = fp;
|
|
98458
98458
|
new aGt.CommandMap("textcomp-macros", {
|
|
98459
98459
|
textasciicircum: ["Insert", "^"],
|
|
98460
98460
|
textasciitilde: ["Insert", "~"],
|
|
@@ -98591,7 +98591,7 @@ var hGt = yn;
|
|
|
98591
98591
|
LO.TextcompConfiguration = hGt.Configuration.create("textcomp", {
|
|
98592
98592
|
handler: { macro: ["textcomp-macros"] }
|
|
98593
98593
|
});
|
|
98594
|
-
var ld = {}, hJ =
|
|
98594
|
+
var ld = {}, hJ = Rr, Ba = ao, dJ = yc, i5 = M3;
|
|
98595
98595
|
new hJ.MacroMap("text-special", {
|
|
98596
98596
|
$: "Math",
|
|
98597
98597
|
"%": "Comment",
|
|
@@ -98743,7 +98743,7 @@ ld.TextMacrosConfiguration = jM.Configuration.create("textmacros", {
|
|
|
98743
98743
|
var wO = {};
|
|
98744
98744
|
Object.defineProperty(wO, "__esModule", { value: !0 });
|
|
98745
98745
|
wO.UpgreekConfiguration = void 0;
|
|
98746
|
-
var QGt = yn, mGt =
|
|
98746
|
+
var QGt = yn, mGt = Rr, gGt = ao;
|
|
98747
98747
|
function yGt(t, e) {
|
|
98748
98748
|
var r = e.attributes || {};
|
|
98749
98749
|
r.mathvariant = gGt.TexConstant.Variant.NORMAL;
|
|
@@ -98802,7 +98802,7 @@ var vGt = {};
|
|
|
98802
98802
|
return d && d.__esModule ? d : { default: d };
|
|
98803
98803
|
};
|
|
98804
98804
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.UnicodeConfiguration = t.UnicodeMethods = void 0;
|
|
98805
|
-
var r = yn, n = e(Cn), i =
|
|
98805
|
+
var r = yn, n = e(Cn), i = Rr, o = e(fi()), s = e(Ti), a = Dd;
|
|
98806
98806
|
t.UnicodeMethods = {};
|
|
98807
98807
|
var u = {};
|
|
98808
98808
|
t.UnicodeMethods.Unicode = function(d, T) {
|
|
@@ -98825,7 +98825,7 @@ var _Gt = {};
|
|
|
98825
98825
|
return s && s.__esModule ? s : { default: s };
|
|
98826
98826
|
};
|
|
98827
98827
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.VerbConfiguration = t.VerbMethods = void 0;
|
|
98828
|
-
var r = yn, n = ao, i =
|
|
98828
|
+
var r = yn, n = ao, i = Rr, o = e(Cn);
|
|
98829
98829
|
t.VerbMethods = {}, t.VerbMethods.Verb = function(s, a) {
|
|
98830
98830
|
var u = s.GetNext(), d = ++s.i;
|
|
98831
98831
|
if (u === "")
|
|
@@ -103165,7 +103165,7 @@ const qGt = WGt("main", {
|
|
|
103165
103165
|
mounted: function() {
|
|
103166
103166
|
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
103167
|
}
|
|
103168
|
-
}, es = (t) => (KM("data-v-
|
|
103168
|
+
}, es = (t) => (KM("data-v-57c9d74b"), t = t(), YM(), t), t$t = {
|
|
103169
103169
|
class: "flatmap-container",
|
|
103170
103170
|
ref: "flatmapContainer",
|
|
103171
103171
|
"element-loading-text": "Loading...",
|
|
@@ -103173,24 +103173,24 @@ const qGt = WGt("main", {
|
|
|
103173
103173
|
}, e$t = { style: { height: "100%", width: "100%", position: "relative", "overflow-y": "none" } }, r$t = {
|
|
103174
103174
|
style: { height: "100%", width: "100%" },
|
|
103175
103175
|
ref: "display"
|
|
103176
|
-
}, n$t = { class: "beta-popovers" }, i$t = /* @__PURE__ */ es(() => /* @__PURE__ */
|
|
103176
|
+
}, n$t = { class: "beta-popovers" }, i$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("a", {
|
|
103177
103177
|
href: "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
103178
103178
|
target: "_blank"
|
|
103179
|
-
}, " ApiNATOMY ", -1)), o$t = /* @__PURE__ */ es(() => /* @__PURE__ */
|
|
103179
|
+
}, " ApiNATOMY ", -1)), o$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("a", {
|
|
103180
103180
|
href: "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
103181
103181
|
target: "_blank"
|
|
103182
|
-
}, " SCKAN ", -1)), s$t = /* @__PURE__ */ es(() => /* @__PURE__ */
|
|
103182
|
+
}, " SCKAN ", -1)), s$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("a", {
|
|
103183
103183
|
href: "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
103184
103184
|
target: "_blank"
|
|
103185
|
-
}, " ApiNATOMY ", -1)), a$t = /* @__PURE__ */ es(() => /* @__PURE__ */
|
|
103185
|
+
}, " ApiNATOMY ", -1)), a$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("a", {
|
|
103186
103186
|
href: "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
103187
103187
|
target: "_blank"
|
|
103188
|
-
}, " SCKAN ", -1)), l$t = /* @__PURE__ */ es(() => /* @__PURE__ */
|
|
103189
|
-
key:
|
|
103188
|
+
}, " SCKAN ", -1)), l$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("span", { class: "warning-text" }, "Legacy Map", -1)), c$t = {
|
|
103189
|
+
key: 2,
|
|
103190
103190
|
class: "warning-text"
|
|
103191
|
-
}, u$t = /* @__PURE__ */ es(() => /* @__PURE__ */
|
|
103191
|
+
}, u$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("span", { class: "warning-text" }, "What's new?", -1)), h$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("b", null, "Connectivity Graph", -1)), d$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("p", null, " You can now view individual connectivity after clicking on a connection in exploration mode. ", -1)), p$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("b", null, "Interactive connectivity list and graph", -1)), T$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("p", null, " Corresponding features on the map can be located when hovering or clicking on the features in the connecitivity list and graph. ", -1)), f$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("b", null, "Improved state storing", -1)), Q$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("p", null, " Current selection and visibility filters are now stored when creating a permalink. ", -1)), m$t = { class: "bottom-right-control" }, g$t = /* @__PURE__ */ es(() => /* @__PURE__ */ Fe("div", null, [
|
|
103192
103192
|
/* @__PURE__ */ An(" Fit to "),
|
|
103193
|
-
/* @__PURE__ */
|
|
103193
|
+
/* @__PURE__ */ Fe("br"),
|
|
103194
103194
|
/* @__PURE__ */ An(" window ")
|
|
103195
103195
|
], -1)), y$t = ["innerHTML"], v$t = ["innerHTML"], _$t = { style: { "margin-bottom": "2px" } }, b$t = {
|
|
103196
103196
|
key: 0,
|
|
@@ -103199,12 +103199,12 @@ const qGt = WGt("main", {
|
|
|
103199
103199
|
function x$t(t, e, r, n, i, o) {
|
|
103200
103200
|
const s = xs("map-svg-sprite-color"), a = Ez, u = d3, d = Ag, T = lS, f = xs("DrawToolbar"), Q = xs("map-svg-icon"), y = VU, _ = xs("tree-controls"), L = PU, E = Lz, x = pU, O = Td, k = fd, R = SS, F = Hg, U = MU, $ = SU, et = xs("Tooltip"), rt = IU, ct = bx;
|
|
103201
103201
|
return gi((ce(), tr("div", t$t, [
|
|
103202
|
-
|
|
103203
|
-
|
|
103204
|
-
|
|
103205
|
-
gi(
|
|
103206
|
-
|
|
103207
|
-
|
|
103202
|
+
ze(s),
|
|
103203
|
+
Fe("div", e$t, [
|
|
103204
|
+
Fe("div", r$t, null, 512),
|
|
103205
|
+
gi(Fe("div", n$t, [
|
|
103206
|
+
Fe("div", null, [
|
|
103207
|
+
ze(d, {
|
|
103208
103208
|
placement: "right",
|
|
103209
103209
|
"popper-class": "warning-popper flatmap-popper",
|
|
103210
103210
|
teleported: !1,
|
|
@@ -103212,26 +103212,25 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103212
103212
|
ref: "warningPopover"
|
|
103213
103213
|
}, {
|
|
103214
103214
|
reference: ge(() => [
|
|
103215
|
-
|
|
103216
|
-
key: 0,
|
|
103215
|
+
Fe("div", {
|
|
103217
103216
|
class: "warning-icon",
|
|
103218
103217
|
onMouseover: e[7] || (e[7] = (nt) => o.showTooltip(7)),
|
|
103219
103218
|
onMouseout: e[8] || (e[8] = (nt) => o.hideTooltip(7))
|
|
103220
103219
|
}, [
|
|
103221
|
-
|
|
103220
|
+
r.displayWarning || r.isLegacy ? (ce(), Hr(u, { key: 0 }, {
|
|
103222
103221
|
default: ge(() => [
|
|
103223
|
-
|
|
103222
|
+
ze(a)
|
|
103224
103223
|
]),
|
|
103225
103224
|
_: 1
|
|
103226
|
-
}),
|
|
103227
|
-
r.isLegacy ? (ce(), tr(Eo, { key:
|
|
103225
|
+
})) : Pr("", !0),
|
|
103226
|
+
r.isLegacy ? (ce(), tr(Eo, { key: 1 }, [
|
|
103228
103227
|
l$t,
|
|
103229
|
-
|
|
103228
|
+
Fe("div", {
|
|
103230
103229
|
class: "latest-map-text",
|
|
103231
103230
|
onClick: e[6] || (e[6] = (...nt) => o.viewLatestMap && o.viewLatestMap(...nt))
|
|
103232
103231
|
}, " Click here for the latest map ")
|
|
103233
|
-
], 64)) : (ce(), tr("span", c$t, "Beta"))
|
|
103234
|
-
], 32)
|
|
103232
|
+
], 64)) : r.displayWarning ? (ce(), tr("span", c$t, "Beta")) : Pr("", !0)
|
|
103233
|
+
], 32)
|
|
103235
103234
|
]),
|
|
103236
103235
|
default: ge(() => [
|
|
103237
103236
|
r.isLegacy ? (ce(), tr("p", {
|
|
@@ -103263,7 +103262,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103263
103262
|
_: 1
|
|
103264
103263
|
}, 8, ["visible"])
|
|
103265
103264
|
]),
|
|
103266
|
-
r.displayLatestChanges ? (ce(),
|
|
103265
|
+
r.displayLatestChanges ? (ce(), Hr(d, {
|
|
103267
103266
|
key: 0,
|
|
103268
103267
|
placement: "right",
|
|
103269
103268
|
teleported: !1,
|
|
@@ -103279,14 +103278,14 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103279
103278
|
onMouseover: e[9] || (e[9] = (nt) => o.showTooltip(8)),
|
|
103280
103279
|
onMouseout: e[10] || (e[10] = (nt) => o.hideTooltip(8))
|
|
103281
103280
|
}, [
|
|
103282
|
-
|
|
103281
|
+
ze(u, null, {
|
|
103283
103282
|
default: ge(() => [
|
|
103284
|
-
|
|
103283
|
+
ze(a)
|
|
103285
103284
|
]),
|
|
103286
103285
|
_: 1
|
|
103287
103286
|
}),
|
|
103288
103287
|
u$t
|
|
103289
|
-
], 32)) :
|
|
103288
|
+
], 32)) : Pr("", !0)
|
|
103290
103289
|
]),
|
|
103291
103290
|
default: ge(() => [
|
|
103292
103291
|
h$t,
|
|
@@ -103297,23 +103296,23 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103297
103296
|
Q$t
|
|
103298
103297
|
]),
|
|
103299
103298
|
_: 1
|
|
103300
|
-
}, 8, ["visible"])) :
|
|
103299
|
+
}, 8, ["visible"])) : Pr("", !0)
|
|
103301
103300
|
], 512), [
|
|
103302
103301
|
[d2, !r.disableUI]
|
|
103303
103302
|
]),
|
|
103304
|
-
gi(
|
|
103303
|
+
gi(ze(u, {
|
|
103305
103304
|
class: Be(["minimap-resize", { enlarge: t.minimapSmall, shrink: !t.minimapSmall }]),
|
|
103306
103305
|
ref: "minimapResize",
|
|
103307
103306
|
onClick: o.closeMinimap
|
|
103308
103307
|
}, {
|
|
103309
103308
|
default: ge(() => [
|
|
103310
|
-
|
|
103309
|
+
ze(T)
|
|
103311
103310
|
]),
|
|
103312
103311
|
_: 1
|
|
103313
103312
|
}, 8, ["class", "onClick"]), [
|
|
103314
103313
|
[d2, t.minimapResizeShow]
|
|
103315
103314
|
]),
|
|
103316
|
-
t.viewingMode === "Annotation" && t.userInformation && !r.disableUI ? (ce(),
|
|
103315
|
+
t.viewingMode === "Annotation" && t.userInformation && !r.disableUI ? (ce(), Hr(f, {
|
|
103317
103316
|
key: 0,
|
|
103318
103317
|
mapCanvas: {
|
|
103319
103318
|
containerHTML: this.$el,
|
|
@@ -103332,9 +103331,9 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103332
103331
|
onShowTooltip: o.showTooltip,
|
|
103333
103332
|
onHideTooltip: o.hideTooltip,
|
|
103334
103333
|
ref: "toolbarPopover"
|
|
103335
|
-
}, null, 8, ["mapCanvas", "toolbarOptions", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) :
|
|
103336
|
-
gi(
|
|
103337
|
-
|
|
103334
|
+
}, null, 8, ["mapCanvas", "toolbarOptions", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) : Pr("", !0),
|
|
103335
|
+
gi(Fe("div", m$t, [
|
|
103336
|
+
ze(d, {
|
|
103338
103337
|
content: "Zoom in",
|
|
103339
103338
|
placement: "left",
|
|
103340
103339
|
teleported: !1,
|
|
@@ -103345,13 +103344,13 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103345
103344
|
ref: "zoomInPopover"
|
|
103346
103345
|
}, {
|
|
103347
103346
|
reference: ge(() => [
|
|
103348
|
-
|
|
103347
|
+
Fe("div", {
|
|
103349
103348
|
class: "icon-button-container",
|
|
103350
103349
|
onClick: e[11] || (e[11] = (nt) => o.zoomIn()),
|
|
103351
103350
|
onMouseover: e[12] || (e[12] = (nt) => o.showTooltip(1)),
|
|
103352
103351
|
onMouseout: e[13] || (e[13] = (nt) => o.hideTooltip(1))
|
|
103353
103352
|
}, [
|
|
103354
|
-
|
|
103353
|
+
ze(Q, {
|
|
103355
103354
|
class: "icon-button zoomIn",
|
|
103356
103355
|
icon: "zoomIn"
|
|
103357
103356
|
})
|
|
@@ -103359,7 +103358,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103359
103358
|
]),
|
|
103360
103359
|
_: 1
|
|
103361
103360
|
}, 8, ["visible"]),
|
|
103362
|
-
|
|
103361
|
+
ze(d, {
|
|
103363
103362
|
content: "Zoom out",
|
|
103364
103363
|
placement: "top-end",
|
|
103365
103364
|
teleported: !1,
|
|
@@ -103370,13 +103369,13 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103370
103369
|
ref: "zoomOutPopover"
|
|
103371
103370
|
}, {
|
|
103372
103371
|
reference: ge(() => [
|
|
103373
|
-
|
|
103372
|
+
Fe("div", {
|
|
103374
103373
|
class: "icon-button-container",
|
|
103375
103374
|
onClick: e[14] || (e[14] = (nt) => o.zoomOut()),
|
|
103376
103375
|
onMouseover: e[15] || (e[15] = (nt) => o.showTooltip(2)),
|
|
103377
103376
|
onMouseout: e[16] || (e[16] = (nt) => o.hideTooltip(2))
|
|
103378
103377
|
}, [
|
|
103379
|
-
|
|
103378
|
+
ze(Q, {
|
|
103380
103379
|
class: "icon-button zoomOut",
|
|
103381
103380
|
icon: "zoomOut"
|
|
103382
103381
|
})
|
|
@@ -103384,7 +103383,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103384
103383
|
]),
|
|
103385
103384
|
_: 1
|
|
103386
103385
|
}, 8, ["visible"]),
|
|
103387
|
-
|
|
103386
|
+
ze(d, {
|
|
103388
103387
|
content: "Reset",
|
|
103389
103388
|
placement: "top",
|
|
103390
103389
|
teleported: !1,
|
|
@@ -103395,13 +103394,13 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103395
103394
|
ref: "zoomFitPopover"
|
|
103396
103395
|
}, {
|
|
103397
103396
|
reference: ge(() => [
|
|
103398
|
-
|
|
103397
|
+
Fe("div", {
|
|
103399
103398
|
class: "icon-button-container",
|
|
103400
103399
|
onClick: e[17] || (e[17] = (nt) => o.resetView()),
|
|
103401
103400
|
onMouseover: e[18] || (e[18] = (nt) => o.showTooltip(3)),
|
|
103402
103401
|
onMouseout: e[19] || (e[19] = (nt) => o.hideTooltip(3))
|
|
103403
103402
|
}, [
|
|
103404
|
-
|
|
103403
|
+
ze(Q, {
|
|
103405
103404
|
class: "icon-button fitWindow",
|
|
103406
103405
|
icon: "fitWindow"
|
|
103407
103406
|
})
|
|
@@ -103415,7 +103414,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103415
103414
|
], 512), [
|
|
103416
103415
|
[d2, !r.disableUI]
|
|
103417
103416
|
]),
|
|
103418
|
-
|
|
103417
|
+
ze(d, {
|
|
103419
103418
|
content: "Change pathway visibility",
|
|
103420
103419
|
placement: "right",
|
|
103421
103420
|
teleported: !1,
|
|
@@ -103426,18 +103425,18 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103426
103425
|
ref: "checkBoxPopover"
|
|
103427
103426
|
}, {
|
|
103428
103427
|
reference: ge(() => [
|
|
103429
|
-
gi(
|
|
103428
|
+
gi(Fe("div", {
|
|
103430
103429
|
class: Be(["pathway-location", { open: t.drawerOpen, close: !t.drawerOpen }])
|
|
103431
103430
|
}, [
|
|
103432
103431
|
gi((ce(), tr("div", {
|
|
103433
103432
|
class: Be(["pathway-container", { open: t.drawerOpen, close: !t.drawerOpen }]),
|
|
103434
103433
|
style: M1({ "max-height": t.pathwaysMaxHeight + "px" })
|
|
103435
103434
|
}, [
|
|
103436
|
-
t.isFC ?
|
|
103435
|
+
t.isFC ? Pr("", !0) : (ce(), Hr(y, {
|
|
103437
103436
|
key: 0,
|
|
103438
103437
|
class: "svg-legends-container"
|
|
103439
103438
|
})),
|
|
103440
|
-
r.showStarInLegend ? (ce(),
|
|
103439
|
+
r.showStarInLegend ? (ce(), Hr(d, {
|
|
103441
103440
|
key: 1,
|
|
103442
103441
|
content: "Location of the featured dataset",
|
|
103443
103442
|
placement: "right",
|
|
@@ -103450,7 +103449,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103450
103449
|
ref: "featuredMarkerPopover"
|
|
103451
103450
|
}, {
|
|
103452
103451
|
reference: ge(() => [
|
|
103453
|
-
gi(
|
|
103452
|
+
gi(Fe("div", {
|
|
103454
103453
|
class: "yellow-star-legend",
|
|
103455
103454
|
innerHTML: t.yellowstar,
|
|
103456
103455
|
onMouseover: e[20] || (e[20] = (nt) => o.showTooltip(9)),
|
|
@@ -103460,8 +103459,8 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103460
103459
|
])
|
|
103461
103460
|
]),
|
|
103462
103461
|
_: 1
|
|
103463
|
-
}, 8, ["visible"])) :
|
|
103464
|
-
|
|
103462
|
+
}, 8, ["visible"])) : Pr("", !0),
|
|
103463
|
+
ze(d, {
|
|
103465
103464
|
content: "Find these markers for data. The number inside the markers is the number of datasets available for each marker.",
|
|
103466
103465
|
placement: "right",
|
|
103467
103466
|
teleported: !1,
|
|
@@ -103472,7 +103471,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103472
103471
|
ref: "markerPopover"
|
|
103473
103472
|
}, {
|
|
103474
103473
|
reference: ge(() => [
|
|
103475
|
-
gi(
|
|
103474
|
+
gi(Fe("div", {
|
|
103476
103475
|
class: "flatmap-marker-help",
|
|
103477
103476
|
innerHTML: t.flatmapMarker
|
|
103478
103477
|
}, null, 8, v$t), [
|
|
@@ -103482,7 +103481,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103482
103481
|
]),
|
|
103483
103482
|
_: 1
|
|
103484
103483
|
}, 8, ["visible"]),
|
|
103485
|
-
t.isFC && t.systems && t.systems.length > 0 ? (ce(),
|
|
103484
|
+
t.isFC && t.systems && t.systems.length > 0 ? (ce(), Hr(_, {
|
|
103486
103485
|
key: 2,
|
|
103487
103486
|
class: "treeControls",
|
|
103488
103487
|
mapType: "flatmap",
|
|
@@ -103494,8 +103493,8 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103494
103493
|
onCheckAll: o.checkAllSystems,
|
|
103495
103494
|
onChangeActive: o.ftuSelected,
|
|
103496
103495
|
ref: "treeControls"
|
|
103497
|
-
}, null, 8, ["treeData", "active", "hover", "onCheckChanged", "onCheckAll", "onChangeActive"])) :
|
|
103498
|
-
t.containsAlert && t.alertOptions ? (ce(),
|
|
103496
|
+
}, null, 8, ["treeData", "active", "hover", "onCheckChanged", "onCheckAll", "onChangeActive"])) : Pr("", !0),
|
|
103497
|
+
t.containsAlert && t.alertOptions ? (ce(), Hr(L, {
|
|
103499
103498
|
title: "Alert",
|
|
103500
103499
|
labelKey: "label",
|
|
103501
103500
|
identifierKey: "key",
|
|
@@ -103506,8 +103505,8 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103506
103505
|
onCheckAll: o.checkAllAlerts,
|
|
103507
103506
|
ref: "alertSelection",
|
|
103508
103507
|
key: "alertSelection"
|
|
103509
|
-
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) :
|
|
103510
|
-
t.pathways && t.pathways.length > 0 ? (ce(),
|
|
103508
|
+
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : Pr("", !0),
|
|
103509
|
+
t.pathways && t.pathways.length > 0 ? (ce(), Hr(L, {
|
|
103511
103510
|
title: "Pathways",
|
|
103512
103511
|
labelKey: "label",
|
|
103513
103512
|
identifierKey: "type",
|
|
@@ -103518,8 +103517,8 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103518
103517
|
onCheckAll: o.checkAllPathways,
|
|
103519
103518
|
ref: "pathwaysSelection",
|
|
103520
103519
|
key: "pathwaysSelection"
|
|
103521
|
-
}, null, 8, ["selections", "onChanged", "onSelectionsDataChanged", "onCheckAll"])) :
|
|
103522
|
-
t.taxonConnectivity && t.taxonConnectivity.length > 0 ? (ce(),
|
|
103520
|
+
}, null, 8, ["selections", "onChanged", "onSelectionsDataChanged", "onCheckAll"])) : Pr("", !0),
|
|
103521
|
+
t.taxonConnectivity && t.taxonConnectivity.length > 0 ? (ce(), Hr(L, {
|
|
103523
103522
|
title: "Studied in",
|
|
103524
103523
|
labelKey: "label",
|
|
103525
103524
|
identifierKey: "taxon",
|
|
@@ -103531,17 +103530,17 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103531
103530
|
onCheckAll: o.checkAllTaxons,
|
|
103532
103531
|
ref: "taxonSelection",
|
|
103533
103532
|
key: "taxonSelection"
|
|
103534
|
-
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) :
|
|
103533
|
+
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : Pr("", !0)
|
|
103535
103534
|
], 6)), [
|
|
103536
103535
|
[rt, void 0, "checkBoxPopover"]
|
|
103537
103536
|
]),
|
|
103538
|
-
|
|
103537
|
+
Fe("div", {
|
|
103539
103538
|
onClick: e[22] || (e[22] = (...nt) => o.toggleDrawer && o.toggleDrawer(...nt)),
|
|
103540
103539
|
class: Be(["drawer-button", { open: t.drawerOpen, close: !t.drawerOpen }])
|
|
103541
103540
|
}, [
|
|
103542
|
-
|
|
103541
|
+
ze(u, null, {
|
|
103543
103542
|
default: ge(() => [
|
|
103544
|
-
|
|
103543
|
+
ze(E)
|
|
103545
103544
|
]),
|
|
103546
103545
|
_: 1
|
|
103547
103546
|
})
|
|
@@ -103552,7 +103551,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103552
103551
|
]),
|
|
103553
103552
|
_: 1
|
|
103554
103553
|
}, 8, ["visible"]),
|
|
103555
|
-
t.openMapRef ? (ce(),
|
|
103554
|
+
t.openMapRef ? (ce(), Hr(d, {
|
|
103556
103555
|
key: 1,
|
|
103557
103556
|
ref: "open-map-popover",
|
|
103558
103557
|
"virtual-ref": t.openMapRef,
|
|
@@ -103564,11 +103563,11 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103564
103563
|
"virtual-triggering": ""
|
|
103565
103564
|
}, {
|
|
103566
103565
|
default: ge(() => [
|
|
103567
|
-
(ce(!0), tr(Eo, null, T4(r.openMapOptions, (nt) => (ce(),
|
|
103566
|
+
(ce(!0), tr(Eo, null, T4(r.openMapOptions, (nt) => (ce(), Hr(O, {
|
|
103568
103567
|
key: nt.key
|
|
103569
103568
|
}, {
|
|
103570
103569
|
default: ge(() => [
|
|
103571
|
-
|
|
103570
|
+
ze(x, {
|
|
103572
103571
|
type: "primary",
|
|
103573
103572
|
plain: "",
|
|
103574
103573
|
onClick: (gt) => t.$emit("open-map", nt.key)
|
|
@@ -103583,8 +103582,8 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103583
103582
|
}, 1024))), 128))
|
|
103584
103583
|
]),
|
|
103585
103584
|
_: 1
|
|
103586
|
-
}, 8, ["virtual-ref"])) :
|
|
103587
|
-
|
|
103585
|
+
}, 8, ["virtual-ref"])) : Pr("", !0),
|
|
103586
|
+
ze(d, {
|
|
103588
103587
|
ref: "backgroundPopover",
|
|
103589
103588
|
"virtual-ref": t.backgroundIconRef,
|
|
103590
103589
|
placement: "top-start",
|
|
@@ -103595,19 +103594,19 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103595
103594
|
"virtual-triggering": ""
|
|
103596
103595
|
}, {
|
|
103597
103596
|
default: ge(() => [
|
|
103598
|
-
|
|
103599
|
-
|
|
103597
|
+
Fe("div", null, [
|
|
103598
|
+
ze(O, { class: "backgroundText" }, {
|
|
103600
103599
|
default: ge(() => [
|
|
103601
103600
|
An("Viewing Mode")
|
|
103602
103601
|
]),
|
|
103603
103602
|
_: 1
|
|
103604
103603
|
}),
|
|
103605
|
-
|
|
103604
|
+
ze(O, { class: "backgroundControl" }, {
|
|
103606
103605
|
default: ge(() => [
|
|
103607
|
-
|
|
103606
|
+
Fe("div", _$t, [
|
|
103608
103607
|
(ce(!0), tr(Eo, null, T4(t.viewingModes, (nt, gt, It) => (ce(), tr(Eo, { key: gt }, [
|
|
103609
103608
|
gt === t.viewingMode ? (ce(), tr("span", b$t, [
|
|
103610
|
-
|
|
103609
|
+
Fe("b", null, yi(gt), 1)
|
|
103611
103610
|
])) : (ce(), tr("span", {
|
|
103612
103611
|
key: 1,
|
|
103613
103612
|
class: "viewing-mode-unselected",
|
|
@@ -103615,7 +103614,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103615
103614
|
}, yi(gt), 9, L$t))
|
|
103616
103615
|
], 64))), 128))
|
|
103617
103616
|
]),
|
|
103618
|
-
|
|
103617
|
+
ze(O, { class: "viewing-mode-description" }, {
|
|
103619
103618
|
default: ge(() => [
|
|
103620
103619
|
An(yi(o.modeDescription), 1)
|
|
103621
103620
|
]),
|
|
@@ -103625,15 +103624,15 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103625
103624
|
_: 1
|
|
103626
103625
|
}),
|
|
103627
103626
|
t.viewingMode === "Annotation" && t.userInformation ? (ce(), tr(Eo, { key: 0 }, [
|
|
103628
|
-
|
|
103627
|
+
ze(O, { class: "backgroundText" }, {
|
|
103629
103628
|
default: ge(() => [
|
|
103630
103629
|
An("Annotations From")
|
|
103631
103630
|
]),
|
|
103632
103631
|
_: 1
|
|
103633
103632
|
}),
|
|
103634
|
-
|
|
103633
|
+
ze(O, { class: "backgroundControl" }, {
|
|
103635
103634
|
default: ge(() => [
|
|
103636
|
-
|
|
103635
|
+
ze(F, {
|
|
103637
103636
|
teleported: !1,
|
|
103638
103637
|
modelValue: t.annotationFrom,
|
|
103639
103638
|
"onUpdate:modelValue": e[23] || (e[23] = (nt) => t.annotationFrom = nt),
|
|
@@ -103643,15 +103642,15 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103643
103642
|
onChange: o.setAnnotationFrom
|
|
103644
103643
|
}, {
|
|
103645
103644
|
default: ge(() => [
|
|
103646
|
-
(ce(!0), tr(Eo, null, T4(t.annotatedSource, (nt) => (ce(),
|
|
103645
|
+
(ce(!0), tr(Eo, null, T4(t.annotatedSource, (nt) => (ce(), Hr(R, {
|
|
103647
103646
|
key: nt,
|
|
103648
103647
|
label: nt,
|
|
103649
103648
|
value: nt
|
|
103650
103649
|
}, {
|
|
103651
103650
|
default: ge(() => [
|
|
103652
|
-
|
|
103651
|
+
ze(O, null, {
|
|
103653
103652
|
default: ge(() => [
|
|
103654
|
-
|
|
103653
|
+
ze(k, { span: 12 }, {
|
|
103655
103654
|
default: ge(() => [
|
|
103656
103655
|
An(yi(nt), 1)
|
|
103657
103656
|
]),
|
|
@@ -103669,12 +103668,12 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103669
103668
|
]),
|
|
103670
103669
|
_: 1
|
|
103671
103670
|
})
|
|
103672
|
-
], 64)) :
|
|
103673
|
-
t.displayFlightPathOption ? (ce(),
|
|
103671
|
+
], 64)) : Pr("", !0),
|
|
103672
|
+
t.displayFlightPathOption ? (ce(), Hr(O, {
|
|
103674
103673
|
key: 1,
|
|
103675
103674
|
class: "backgroundSpacer"
|
|
103676
|
-
})) :
|
|
103677
|
-
t.displayFlightPathOption ? (ce(),
|
|
103675
|
+
})) : Pr("", !0),
|
|
103676
|
+
t.displayFlightPathOption ? (ce(), Hr(O, {
|
|
103678
103677
|
key: 2,
|
|
103679
103678
|
class: "backgroundText"
|
|
103680
103679
|
}, {
|
|
@@ -103682,26 +103681,26 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103682
103681
|
An("Flight path display")
|
|
103683
103682
|
]),
|
|
103684
103683
|
_: 1
|
|
103685
|
-
})) :
|
|
103686
|
-
t.displayFlightPathOption ? (ce(),
|
|
103684
|
+
})) : Pr("", !0),
|
|
103685
|
+
t.displayFlightPathOption ? (ce(), Hr(O, {
|
|
103687
103686
|
key: 3,
|
|
103688
103687
|
class: "backgroundControl"
|
|
103689
103688
|
}, {
|
|
103690
103689
|
default: ge(() => [
|
|
103691
|
-
|
|
103690
|
+
ze($, {
|
|
103692
103691
|
modelValue: t.flightPath3DRadio,
|
|
103693
103692
|
"onUpdate:modelValue": e[24] || (e[24] = (nt) => t.flightPath3DRadio = nt),
|
|
103694
103693
|
class: "flatmap-radio",
|
|
103695
103694
|
onChange: o.setFlightPath3D
|
|
103696
103695
|
}, {
|
|
103697
103696
|
default: ge(() => [
|
|
103698
|
-
|
|
103697
|
+
ze(U, { value: !1 }, {
|
|
103699
103698
|
default: ge(() => [
|
|
103700
103699
|
An("2D")
|
|
103701
103700
|
]),
|
|
103702
103701
|
_: 1
|
|
103703
103702
|
}),
|
|
103704
|
-
|
|
103703
|
+
ze(U, { value: !0 }, {
|
|
103705
103704
|
default: ge(() => [
|
|
103706
103705
|
An("3D")
|
|
103707
103706
|
]),
|
|
@@ -103712,30 +103711,30 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103712
103711
|
}, 8, ["modelValue", "onChange"])
|
|
103713
103712
|
]),
|
|
103714
103713
|
_: 1
|
|
103715
|
-
})) :
|
|
103716
|
-
|
|
103717
|
-
|
|
103714
|
+
})) : Pr("", !0),
|
|
103715
|
+
ze(O, { class: "backgroundSpacer" }),
|
|
103716
|
+
ze(O, { class: "backgroundText" }, {
|
|
103718
103717
|
default: ge(() => [
|
|
103719
103718
|
An("Organs display")
|
|
103720
103719
|
]),
|
|
103721
103720
|
_: 1
|
|
103722
103721
|
}),
|
|
103723
|
-
|
|
103722
|
+
ze(O, { class: "backgroundControl" }, {
|
|
103724
103723
|
default: ge(() => [
|
|
103725
|
-
|
|
103724
|
+
ze($, {
|
|
103726
103725
|
modelValue: t.colourRadio,
|
|
103727
103726
|
"onUpdate:modelValue": e[25] || (e[25] = (nt) => t.colourRadio = nt),
|
|
103728
103727
|
class: "flatmap-radio",
|
|
103729
103728
|
onChange: o.setColour
|
|
103730
103729
|
}, {
|
|
103731
103730
|
default: ge(() => [
|
|
103732
|
-
|
|
103731
|
+
ze(U, { value: !0 }, {
|
|
103733
103732
|
default: ge(() => [
|
|
103734
103733
|
An("Colour")
|
|
103735
103734
|
]),
|
|
103736
103735
|
_: 1
|
|
103737
103736
|
}),
|
|
103738
|
-
|
|
103737
|
+
ze(U, { value: !1 }, {
|
|
103739
103738
|
default: ge(() => [
|
|
103740
103739
|
An("Greyscale")
|
|
103741
103740
|
]),
|
|
@@ -103747,29 +103746,29 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103747
103746
|
]),
|
|
103748
103747
|
_: 1
|
|
103749
103748
|
}),
|
|
103750
|
-
|
|
103751
|
-
|
|
103749
|
+
ze(O, { class: "backgroundSpacer" }),
|
|
103750
|
+
ze(O, { class: "backgroundText" }, {
|
|
103752
103751
|
default: ge(() => [
|
|
103753
103752
|
An("Outlines display")
|
|
103754
103753
|
]),
|
|
103755
103754
|
_: 1
|
|
103756
103755
|
}),
|
|
103757
|
-
|
|
103756
|
+
ze(O, { class: "backgroundControl" }, {
|
|
103758
103757
|
default: ge(() => [
|
|
103759
|
-
|
|
103758
|
+
ze($, {
|
|
103760
103759
|
modelValue: t.outlinesRadio,
|
|
103761
103760
|
"onUpdate:modelValue": e[26] || (e[26] = (nt) => t.outlinesRadio = nt),
|
|
103762
103761
|
class: "flatmap-radio",
|
|
103763
103762
|
onChange: o.setOutlines
|
|
103764
103763
|
}, {
|
|
103765
103764
|
default: ge(() => [
|
|
103766
|
-
|
|
103765
|
+
ze(U, { value: !0 }, {
|
|
103767
103766
|
default: ge(() => [
|
|
103768
103767
|
An("Show")
|
|
103769
103768
|
]),
|
|
103770
103769
|
_: 1
|
|
103771
103770
|
}),
|
|
103772
|
-
|
|
103771
|
+
ze(U, { value: !1 }, {
|
|
103773
103772
|
default: ge(() => [
|
|
103774
103773
|
An("Hide")
|
|
103775
103774
|
]),
|
|
@@ -103781,14 +103780,14 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103781
103780
|
]),
|
|
103782
103781
|
_: 1
|
|
103783
103782
|
}),
|
|
103784
|
-
|
|
103785
|
-
|
|
103783
|
+
ze(O, { class: "backgroundSpacer" }),
|
|
103784
|
+
ze(O, { class: "backgroundText" }, {
|
|
103786
103785
|
default: ge(() => [
|
|
103787
103786
|
An("Change background")
|
|
103788
103787
|
]),
|
|
103789
103788
|
_: 1
|
|
103790
103789
|
}),
|
|
103791
|
-
|
|
103790
|
+
ze(O, { class: "backgroundControl" }, {
|
|
103792
103791
|
default: ge(() => [
|
|
103793
103792
|
(ce(!0), tr(Eo, null, T4(t.availableBackground, (nt) => (ce(), tr("div", {
|
|
103794
103793
|
key: nt,
|
|
@@ -103806,12 +103805,12 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103806
103805
|
]),
|
|
103807
103806
|
_: 1
|
|
103808
103807
|
}, 8, ["virtual-ref"]),
|
|
103809
|
-
gi(
|
|
103808
|
+
gi(Fe("div", {
|
|
103810
103809
|
class: Be(["settings-group", { open: t.drawerOpen, close: !t.drawerOpen }])
|
|
103811
103810
|
}, [
|
|
103812
|
-
|
|
103811
|
+
ze(O, null, {
|
|
103813
103812
|
default: ge(() => [
|
|
103814
|
-
|
|
103813
|
+
ze(d, {
|
|
103815
103814
|
visible: t.hoverVisibilities[4].value,
|
|
103816
103815
|
content: "Open new map",
|
|
103817
103816
|
placement: "right",
|
|
@@ -103827,20 +103826,20 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103827
103826
|
onMouseover: e[27] || (e[27] = (nt) => o.showTooltip(4)),
|
|
103828
103827
|
onMouseout: e[28] || (e[28] = (nt) => o.hideTooltip(4))
|
|
103829
103828
|
}, [
|
|
103830
|
-
|
|
103829
|
+
ze(Q, {
|
|
103831
103830
|
icon: "openMap",
|
|
103832
103831
|
class: "icon-button open-map-button"
|
|
103833
103832
|
})
|
|
103834
|
-
], 544)) :
|
|
103833
|
+
], 544)) : Pr("", !0)
|
|
103835
103834
|
]),
|
|
103836
103835
|
_: 1
|
|
103837
103836
|
}, 8, ["visible"])
|
|
103838
103837
|
]),
|
|
103839
103838
|
_: 1
|
|
103840
103839
|
}),
|
|
103841
|
-
|
|
103840
|
+
ze(O, null, {
|
|
103842
103841
|
default: ge(() => [
|
|
103843
|
-
|
|
103842
|
+
ze(d, {
|
|
103844
103843
|
content: "Change settings",
|
|
103845
103844
|
placement: "right",
|
|
103846
103845
|
visible: t.hoverVisibilities[5].value,
|
|
@@ -103850,13 +103849,13 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103850
103849
|
ref: "settingsPopover"
|
|
103851
103850
|
}, {
|
|
103852
103851
|
reference: ge(() => [
|
|
103853
|
-
|
|
103852
|
+
Fe("div", {
|
|
103854
103853
|
ref: "backgroundIconRef",
|
|
103855
103854
|
class: "icon-button-container",
|
|
103856
103855
|
onMouseover: e[29] || (e[29] = (nt) => o.showTooltip(5)),
|
|
103857
103856
|
onMouseout: e[30] || (e[30] = (nt) => o.hideTooltip(5))
|
|
103858
103857
|
}, [
|
|
103859
|
-
|
|
103858
|
+
ze(Q, {
|
|
103860
103859
|
icon: "changeBckgd",
|
|
103861
103860
|
class: "icon-button"
|
|
103862
103861
|
})
|
|
@@ -103870,7 +103869,7 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103870
103869
|
], 2), [
|
|
103871
103870
|
[d2, !r.disableUI]
|
|
103872
103871
|
]),
|
|
103873
|
-
t.tooltipDisplay ? (ce(),
|
|
103872
|
+
t.tooltipDisplay ? (ce(), Hr(et, {
|
|
103874
103873
|
key: 2,
|
|
103875
103874
|
ref: "tooltip",
|
|
103876
103875
|
class: "tooltip",
|
|
@@ -103878,13 +103877,13 @@ function x$t(t, e, r, n, i, o) {
|
|
|
103878
103877
|
tooltipEntry: t.tooltipEntry,
|
|
103879
103878
|
annotationDisplay: t.viewingMode === "Annotation",
|
|
103880
103879
|
onAnnotation: o.commitAnnotationEvent
|
|
103881
|
-
}, null, 8, ["annotationEntry", "tooltipEntry", "annotationDisplay", "onAnnotation"])) :
|
|
103880
|
+
}, null, 8, ["annotationEntry", "tooltipEntry", "annotationDisplay", "onAnnotation"])) : Pr("", !0)
|
|
103882
103881
|
])
|
|
103883
103882
|
])), [
|
|
103884
103883
|
[ct, t.loading]
|
|
103885
103884
|
]);
|
|
103886
103885
|
}
|
|
103887
|
-
const yJ = /* @__PURE__ */ Og(JGt, [["render", x$t], ["__scopeId", "data-v-
|
|
103886
|
+
const yJ = /* @__PURE__ */ Og(JGt, [["render", x$t], ["__scopeId", "data-v-57c9d74b"]]);
|
|
103888
103887
|
function E$t(t) {
|
|
103889
103888
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
|
103890
103889
|
var n = t.get(e);
|
|
@@ -104446,13 +104445,13 @@ const $j = new E$t(), Wj = {
|
|
|
104446
104445
|
}, A$t = {
|
|
104447
104446
|
key: 0,
|
|
104448
104447
|
style: { position: "absolute", "z-index": "100" }
|
|
104449
|
-
}, O$t = /* @__PURE__ */ S$t(() => /* @__PURE__ */
|
|
104448
|
+
}, O$t = /* @__PURE__ */ S$t(() => /* @__PURE__ */ Fe("div", { class: "species-display-text" }, "Species", -1)), C$t = { class: "select-box-icon" };
|
|
104450
104449
|
function k$t(t, e, r, n, i, o) {
|
|
104451
104450
|
const s = SS, a = Hg, u = Ag, d = yJ;
|
|
104452
104451
|
return ce(), tr("div", H$t, [
|
|
104453
|
-
r.disableUI ?
|
|
104452
|
+
r.disableUI ? Pr("", !0) : (ce(), tr("div", A$t, [
|
|
104454
104453
|
O$t,
|
|
104455
|
-
|
|
104454
|
+
ze(u, {
|
|
104456
104455
|
content: "Select a species",
|
|
104457
104456
|
placement: "right",
|
|
104458
104457
|
trigger: "manual",
|
|
@@ -104463,7 +104462,7 @@ function k$t(t, e, r, n, i, o) {
|
|
|
104463
104462
|
ref: "selectPopover"
|
|
104464
104463
|
}, {
|
|
104465
104464
|
reference: ge(() => [
|
|
104466
|
-
|
|
104465
|
+
ze(a, {
|
|
104467
104466
|
id: "flatmap-select",
|
|
104468
104467
|
teleported: !1,
|
|
104469
104468
|
modelValue: t.activeSpecies,
|
|
@@ -104474,14 +104473,14 @@ function k$t(t, e, r, n, i, o) {
|
|
|
104474
104473
|
onChange: o.setSpecies
|
|
104475
104474
|
}, {
|
|
104476
104475
|
default: ge(() => [
|
|
104477
|
-
(ce(!0), tr(Eo, null, T4(t.speciesList, (T, f) => (ce(),
|
|
104476
|
+
(ce(!0), tr(Eo, null, T4(t.speciesList, (T, f) => (ce(), Hr(s, {
|
|
104478
104477
|
key: f,
|
|
104479
104478
|
label: f,
|
|
104480
104479
|
value: f
|
|
104481
104480
|
}, {
|
|
104482
104481
|
default: ge(() => [
|
|
104483
|
-
|
|
104484
|
-
|
|
104482
|
+
Fe("span", C$t, [
|
|
104483
|
+
Fe("i", {
|
|
104485
104484
|
class: Be(T.iconClass)
|
|
104486
104485
|
}, null, 2)
|
|
104487
104486
|
]),
|
|
@@ -104496,7 +104495,7 @@ function k$t(t, e, r, n, i, o) {
|
|
|
104496
104495
|
_: 1
|
|
104497
104496
|
}, 8, ["visible"])
|
|
104498
104497
|
])),
|
|
104499
|
-
(ce(!0), tr(Eo, null, T4(t.speciesList, (T, f) => gi((ce(),
|
|
104498
|
+
(ce(!0), tr(Eo, null, T4(t.speciesList, (T, f) => gi((ce(), Hr(d, {
|
|
104500
104499
|
key: f,
|
|
104501
104500
|
entry: T.taxo,
|
|
104502
104501
|
uuid: T.uuid,
|