@arenarium/maps 1.3.5 → 1.3.6
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/main.css +1 -1
- package/dist/main.js +100 -100
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pin.svelte-10kxbrm{position:absolute;border-style:solid;box-sizing:border-box;transform-origin:0% 0%;transform:translate(-50%,-50%);backface-visibility:hidden;will-change:scale}.pin.svelte-10kxbrm{display:none;content-visibility:hidden}.pin.displayed.svelte-10kxbrm{display:initial;content-visibility:initial}.pin.svelte-10kxbrm{opacity:1}.pin.suppressed.svelte-10kxbrm{opacity:.5;box-shadow:none!important}.element.svelte-1no6o2a{position:absolute;width:0px;height:0px;box-sizing:border-box;transform-style:flat;transform-origin:0% 0%}.body.svelte-1no6o2a{cursor:pointer}.anchor.svelte-1no6o2a{opacity:0;will-change:opacity}.pointer.svelte-1no6o2a,.bubble.svelte-1no6o2a{
|
|
1
|
+
.pin.svelte-10kxbrm{position:absolute;border-style:solid;box-sizing:border-box;transform-origin:0% 0%;transform:translate(-50%,-50%);backface-visibility:hidden;will-change:scale}.pin.svelte-10kxbrm{display:none;content-visibility:hidden}.pin.displayed.svelte-10kxbrm{display:initial;content-visibility:initial}.pin.svelte-10kxbrm{opacity:1}.pin.suppressed.svelte-10kxbrm{opacity:.5;box-shadow:none!important}.element.svelte-1no6o2a{position:absolute;width:0px;height:0px;box-sizing:border-box;transform-style:flat;transform-origin:0% 0%}.body.svelte-1no6o2a{cursor:pointer}.anchor.svelte-1no6o2a{opacity:0;scale:0;will-change:opacity,scale}.pointer.svelte-1no6o2a,.bubble.svelte-1no6o2a{will-change:transform}.body.svelte-1no6o2a{opacity:0;scale:0;will-change:transform,scale,opacity}.anchor.svelte-1no6o2a{display:none;content-visibility:hidden}.anchor.displayed.svelte-1no6o2a{display:initial;content-visibility:initial}.body.svelte-1no6o2a{display:initial}.body.svelte-1no6o2a:hover{display:table}
|
package/dist/main.js
CHANGED
|
@@ -205,8 +205,8 @@ class ut {
|
|
|
205
205
|
static offset(e, n, r) {
|
|
206
206
|
const i = this.bounds(e), s = e.zoom, a = n * Math.pow(2, s), u = at(i.sw.lat, i.sw.lng, a), o = at(i.ne.lat, i.ne.lng, a);
|
|
207
207
|
let l = Math.max(u.x - r.left, 0), c = Math.min(u.y + r.bottom, a), f = Math.min(o.x + r.right, a), h = Math.max(o.y - r.top, 0);
|
|
208
|
-
const m = On(l, c, a),
|
|
209
|
-
return new ut(m.lat, m.lng,
|
|
208
|
+
const m = On(l, c, a), d = On(f, h, a);
|
|
209
|
+
return new ut(m.lat, m.lng, d.lat, d.lng);
|
|
210
210
|
}
|
|
211
211
|
contains(e, n) {
|
|
212
212
|
return this.blockL.contains(e, n) || this.blockR.contains(e, n);
|
|
@@ -1117,8 +1117,8 @@ function Ms(t, e, n) {
|
|
|
1117
1117
|
m !== Ne && (s.f |= xe, At(s, m));
|
|
1118
1118
|
else {
|
|
1119
1119
|
(s.f & xe) !== 0 && (s.f ^= xe), At(s, h);
|
|
1120
|
-
for (const [
|
|
1121
|
-
if (u.delete(
|
|
1120
|
+
for (const [d, v] of u) {
|
|
1121
|
+
if (u.delete(d), d === l) break;
|
|
1122
1122
|
v.reject(Ne);
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
@@ -1305,8 +1305,8 @@ function rt(t) {
|
|
|
1305
1305
|
return t;
|
|
1306
1306
|
var c = n.get(o), f = o in u;
|
|
1307
1307
|
if (c === void 0 && (!f || ot(u, o)?.writable) && (c = a(() => {
|
|
1308
|
-
var m = rt(f ? u[o] : R),
|
|
1309
|
-
return
|
|
1308
|
+
var m = rt(f ? u[o] : R), d = /* @__PURE__ */ U(m);
|
|
1309
|
+
return d;
|
|
1310
1310
|
}), n.set(o, c)), c !== void 0) {
|
|
1311
1311
|
var h = E(c);
|
|
1312
1312
|
return h === R ? void 0 : h;
|
|
@@ -1350,8 +1350,8 @@ function rt(t) {
|
|
|
1350
1350
|
if (r && o === "length")
|
|
1351
1351
|
for (var m = l; m < /** @type {Source<number>} */
|
|
1352
1352
|
f.v; m += 1) {
|
|
1353
|
-
var
|
|
1354
|
-
|
|
1353
|
+
var d = n.get(m + "");
|
|
1354
|
+
d !== void 0 ? W(d, R) : m in u && (d = a(() => /* @__PURE__ */ U(R)), n.set(m + "", d));
|
|
1355
1355
|
}
|
|
1356
1356
|
if (f === void 0)
|
|
1357
1357
|
(!h || ot(u, o)?.writable) && (f = a(() => /* @__PURE__ */ U(void 0)), W(f, rt(l)), n.set(o, f));
|
|
@@ -1366,8 +1366,8 @@ function rt(t) {
|
|
|
1366
1366
|
var C = (
|
|
1367
1367
|
/** @type {Source<number>} */
|
|
1368
1368
|
n.get("length")
|
|
1369
|
-
),
|
|
1370
|
-
Number.isInteger(
|
|
1369
|
+
), V = Number(o);
|
|
1370
|
+
Number.isInteger(V) && V >= C.v && W(C, V + 1);
|
|
1371
1371
|
}
|
|
1372
1372
|
lt(i);
|
|
1373
1373
|
}
|
|
@@ -1632,7 +1632,7 @@ let te = null;
|
|
|
1632
1632
|
function js(t) {
|
|
1633
1633
|
k !== null && (te === null ? te = [t] : te.push(t));
|
|
1634
1634
|
}
|
|
1635
|
-
let j = null,
|
|
1635
|
+
let j = null, X = 0, G = null;
|
|
1636
1636
|
function Ws(t) {
|
|
1637
1637
|
G = t;
|
|
1638
1638
|
}
|
|
@@ -1685,9 +1685,9 @@ function Ur(t, e, n = !0) {
|
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
1687
|
function jr(t) {
|
|
1688
|
-
var e = j, n =
|
|
1688
|
+
var e = j, n = X, r = G, i = k, s = te, a = le, u = ae, o = De, l = t.f;
|
|
1689
1689
|
j = /** @type {null | Value[]} */
|
|
1690
|
-
null,
|
|
1690
|
+
null, X = 0, G = null, k = (l & (Te | Fe)) === 0 ? t : null, te = null, Je(t.ctx), ae = !1, De = ++Ce, t.ac !== null && (Rr(() => {
|
|
1691
1691
|
t.ac.abort(Ne);
|
|
1692
1692
|
}), t.ac = null);
|
|
1693
1693
|
try {
|
|
@@ -1699,21 +1699,21 @@ function jr(t) {
|
|
|
1699
1699
|
t.f |= Xe;
|
|
1700
1700
|
var h = t.deps, m = x?.is_fork;
|
|
1701
1701
|
if (j !== null) {
|
|
1702
|
-
var
|
|
1703
|
-
if (m || ct(t,
|
|
1704
|
-
for (h.length =
|
|
1705
|
-
h[
|
|
1702
|
+
var d;
|
|
1703
|
+
if (m || ct(t, X), h !== null && X > 0)
|
|
1704
|
+
for (h.length = X + j.length, d = 0; d < j.length; d++)
|
|
1705
|
+
h[X + d] = j[d];
|
|
1706
1706
|
else
|
|
1707
1707
|
t.deps = h = j;
|
|
1708
1708
|
if (hn() && (t.f & ee) !== 0)
|
|
1709
|
-
for (
|
|
1710
|
-
(h[
|
|
1711
|
-
} else !m && h !== null &&
|
|
1709
|
+
for (d = X; d < h.length; d++)
|
|
1710
|
+
(h[d].reactions ??= []).push(t);
|
|
1711
|
+
} else !m && h !== null && X < h.length && (ct(t, X), h.length = X);
|
|
1712
1712
|
if (wr() && G !== null && !ae && h !== null && (t.f & (z | oe | F)) === 0)
|
|
1713
|
-
for (
|
|
1714
|
-
G.length;
|
|
1713
|
+
for (d = 0; d < /** @type {Source[]} */
|
|
1714
|
+
G.length; d++)
|
|
1715
1715
|
Ur(
|
|
1716
|
-
G[
|
|
1716
|
+
G[d],
|
|
1717
1717
|
/** @type {Effect} */
|
|
1718
1718
|
t
|
|
1719
1719
|
);
|
|
@@ -1731,7 +1731,7 @@ function jr(t) {
|
|
|
1731
1731
|
} catch (v) {
|
|
1732
1732
|
return kr(v);
|
|
1733
1733
|
} finally {
|
|
1734
|
-
t.f ^= en, j = e,
|
|
1734
|
+
t.f ^= en, j = e, X = n, G = r, k = i, te = s, Je(a), ae = u, De = o;
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
1737
|
function Bs(t, e) {
|
|
@@ -1784,7 +1784,7 @@ function E(t) {
|
|
|
1784
1784
|
if (!r && (te === null || !Ze.call(te, t))) {
|
|
1785
1785
|
var i = k.deps;
|
|
1786
1786
|
if ((k.f & en) !== 0)
|
|
1787
|
-
t.rv < Ce && (t.rv = Ce, j === null && i !== null && i[
|
|
1787
|
+
t.rv < Ce && (t.rv = Ce, j === null && i !== null && i[X] === t ? X++ : j === null ? j = [t] : j.push(t));
|
|
1788
1788
|
else {
|
|
1789
1789
|
(k.deps ??= []).push(t);
|
|
1790
1790
|
var s = t.reactions;
|
|
@@ -1882,7 +1882,7 @@ function Qn(t) {
|
|
|
1882
1882
|
ne(null), he(null);
|
|
1883
1883
|
try {
|
|
1884
1884
|
for (var h, m = []; s !== null; ) {
|
|
1885
|
-
var
|
|
1885
|
+
var d = s.assignedSlot || s.parentNode || /** @type {any} */
|
|
1886
1886
|
s.host || null;
|
|
1887
1887
|
try {
|
|
1888
1888
|
var v = s[_t]?.[r];
|
|
@@ -1893,9 +1893,9 @@ function Qn(t) {
|
|
|
1893
1893
|
} catch (b) {
|
|
1894
1894
|
h ? m.push(b) : h = b;
|
|
1895
1895
|
}
|
|
1896
|
-
if (t.cancelBubble ||
|
|
1896
|
+
if (t.cancelBubble || d === e || d === null)
|
|
1897
1897
|
break;
|
|
1898
|
-
s =
|
|
1898
|
+
s = d;
|
|
1899
1899
|
}
|
|
1900
1900
|
if (h) {
|
|
1901
1901
|
for (let b of m)
|
|
@@ -1980,25 +1980,25 @@ function Gs(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
1980
1980
|
},
|
|
1981
1981
|
(m) => {
|
|
1982
1982
|
on({});
|
|
1983
|
-
var
|
|
1983
|
+
var d = (
|
|
1984
1984
|
/** @type {ComponentContext} */
|
|
1985
1985
|
le
|
|
1986
1986
|
);
|
|
1987
|
-
s && (
|
|
1987
|
+
s && (d.c = s), i && (r.$$events = i), o = t(m, r) || {}, ln();
|
|
1988
1988
|
},
|
|
1989
1989
|
u
|
|
1990
1990
|
);
|
|
1991
1991
|
var f = /* @__PURE__ */ new Set(), h = (m) => {
|
|
1992
|
-
for (var
|
|
1993
|
-
var v = m[
|
|
1992
|
+
for (var d = 0; d < m.length; d++) {
|
|
1993
|
+
var v = m[d];
|
|
1994
1994
|
if (!f.has(v)) {
|
|
1995
1995
|
f.add(v);
|
|
1996
1996
|
var b = qs(v);
|
|
1997
1997
|
for (const re of [e, document]) {
|
|
1998
1998
|
var C = Mt.get(re);
|
|
1999
1999
|
C === void 0 && (C = /* @__PURE__ */ new Map(), Mt.set(re, C));
|
|
2000
|
-
var
|
|
2001
|
-
|
|
2000
|
+
var V = C.get(v);
|
|
2001
|
+
V === void 0 ? (re.addEventListener(v, Qn, { passive: b }), C.set(v, 1)) : C.set(v, V + 1);
|
|
2002
2002
|
}
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
@@ -2006,14 +2006,14 @@ function Gs(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
2006
2006
|
return h(qi(Ys)), Gn.add(h), () => {
|
|
2007
2007
|
for (var m of f)
|
|
2008
2008
|
for (const b of [e, document]) {
|
|
2009
|
-
var
|
|
2009
|
+
var d = (
|
|
2010
2010
|
/** @type {Map<string, number>} */
|
|
2011
2011
|
Mt.get(b)
|
|
2012
2012
|
), v = (
|
|
2013
2013
|
/** @type {number} */
|
|
2014
|
-
|
|
2014
|
+
d.get(m)
|
|
2015
2015
|
);
|
|
2016
|
-
--v == 0 ? (b.removeEventListener(m, Qn),
|
|
2016
|
+
--v == 0 ? (b.removeEventListener(m, Qn), d.delete(m), d.size === 0 && Mt.delete(b)) : d.set(m, v);
|
|
2017
2017
|
}
|
|
2018
2018
|
Gn.delete(h), c !== n && c.parentNode?.removeChild(c);
|
|
2019
2019
|
};
|
|
@@ -2176,35 +2176,35 @@ var ra = /* @__PURE__ */ Hr("<div></div>");
|
|
|
2176
2176
|
function ia(t, e) {
|
|
2177
2177
|
on(e, !0);
|
|
2178
2178
|
let n = Q(() => e.id), r = Q(() => e.element), i = Q(() => e.style), s = Q(() => e.dimensions), a = Q(() => e.initialize), u = {
|
|
2179
|
-
setDisplayed:
|
|
2179
|
+
setDisplayed: V,
|
|
2180
2180
|
getDisplayed: re,
|
|
2181
2181
|
setSuppressed: be,
|
|
2182
2182
|
setCollapsed: Ie,
|
|
2183
|
-
getCollapsed:
|
|
2183
|
+
getCollapsed: Y,
|
|
2184
2184
|
setScale: Ot
|
|
2185
2185
|
};
|
|
2186
2186
|
function o() {
|
|
2187
2187
|
return u;
|
|
2188
2188
|
}
|
|
2189
|
-
let l, c = s.width, f = s.height, h = s.padding, m = i?.background ?? ji,
|
|
2190
|
-
function
|
|
2191
|
-
_ == !0 && (l && r && r.parentElement != l && l.appendChild(r), C == !1 && a && r && (C = !0, setTimeout(async () => await a(n, r), 0))), _ != E(b) && (W(b, _, !0), _ == !1 &&
|
|
2189
|
+
let l, c = s.width, f = s.height, h = s.padding, m = i?.background ?? ji, d = i?.radius ?? Fi, v = i?.shadow ?? $i, b = /* @__PURE__ */ U(!1), C = !1;
|
|
2190
|
+
function V(_) {
|
|
2191
|
+
_ == !0 && (l && r && r.parentElement != l && l.appendChild(r), C == !1 && a && r && (C = !0, setTimeout(async () => await a(n, r), 0))), _ != E(b) && (W(b, _, !0), _ == !1 && Z.end());
|
|
2192
2192
|
}
|
|
2193
2193
|
function re() {
|
|
2194
2194
|
return E(b);
|
|
2195
2195
|
}
|
|
2196
2196
|
let ye = /* @__PURE__ */ U(!0);
|
|
2197
2197
|
function be(_) {
|
|
2198
|
-
_ != E(ye) && (W(ye, _, !0), _ && (ie = Ue,
|
|
2198
|
+
_ != E(ye) && (W(ye, _, !0), _ && (ie = Ue, Z.set(Ue)));
|
|
2199
2199
|
}
|
|
2200
2200
|
let pe = /* @__PURE__ */ U(!0);
|
|
2201
2201
|
function Ie(_) {
|
|
2202
|
-
_ != E(pe) && (W(pe, _, !0),
|
|
2202
|
+
_ != E(pe) && (W(pe, _, !0), Z.target(E(pe) ? 0 : ie));
|
|
2203
2203
|
}
|
|
2204
|
-
function
|
|
2205
|
-
return E(b) ?
|
|
2204
|
+
function Y() {
|
|
2205
|
+
return E(b) ? Z.expired() : !0;
|
|
2206
2206
|
}
|
|
2207
|
-
let ie = Ue,
|
|
2207
|
+
let ie = Ue, Z = new Gr({
|
|
2208
2208
|
value: Ue,
|
|
2209
2209
|
min: 0,
|
|
2210
2210
|
max: 1,
|
|
@@ -2213,7 +2213,7 @@ function ia(t, e) {
|
|
|
2213
2213
|
callback: vt
|
|
2214
2214
|
});
|
|
2215
2215
|
function Ot(_) {
|
|
2216
|
-
ie = _,
|
|
2216
|
+
ie = _, Z.target(_);
|
|
2217
2217
|
}
|
|
2218
2218
|
function vt(_) {
|
|
2219
2219
|
l.style.scale = _.toString(), l.style.filter = `brightness(${de(_)})`;
|
|
@@ -2241,7 +2241,7 @@ function ia(t, e) {
|
|
|
2241
2241
|
width: `${c}px`,
|
|
2242
2242
|
height: `${f}px`,
|
|
2243
2243
|
padding: `${h}px`,
|
|
2244
|
-
"border-radius": `${
|
|
2244
|
+
"border-radius": `${d}px`,
|
|
2245
2245
|
"background-color": `rgb(from ${m} r g b / 1)`,
|
|
2246
2246
|
"box-shadow": v,
|
|
2247
2247
|
scale: Ue,
|
|
@@ -2338,9 +2338,9 @@ function Kr(t, e) {
|
|
|
2338
2338
|
function o() {
|
|
2339
2339
|
return u;
|
|
2340
2340
|
}
|
|
2341
|
-
let l = s.width + 2 * s.padding, c = s.height + 2 * s.padding, f = s.padding, h, m = i?.filter ?? Ui,
|
|
2341
|
+
let l = s.width + 2 * s.padding, c = s.height + 2 * s.padding, f = s.padding, h, m = i?.filter ?? Ui, d, v = s.padding * 2, b = Math.max(2, (i?.radius ?? Un) / v), C = i?.background ?? jn, V, re = s.width, ye = s.height, be = i?.radius ?? Un, pe = Math.min(1, 2 * be / Math.min(ye, re)), Ie = i?.background ?? jn, Y, ie = s.width, Z = s.height, Ot = i?.radius, vt = !1, de = /* @__PURE__ */ U(!1);
|
|
2342
2342
|
function Lt(g) {
|
|
2343
|
-
g != E(de) && (W(de, g, !0), g == !0 && (r && r.parentElement !=
|
|
2343
|
+
g != E(de) && (W(de, g, !0), g == !0 && (r && r.parentElement != Y && Y.appendChild(r), vt == !1 && a && r && (vt = !0, setTimeout(async () => await a(n, r), 0))), g == !1 && (gt.end(), $t.end(), Vt.end()));
|
|
2344
2344
|
}
|
|
2345
2345
|
function $e() {
|
|
2346
2346
|
return E(de);
|
|
@@ -2364,7 +2364,7 @@ function Kr(t, e) {
|
|
|
2364
2364
|
callback: mi
|
|
2365
2365
|
});
|
|
2366
2366
|
function mi(g) {
|
|
2367
|
-
h.style.opacity = `${g}`,
|
|
2367
|
+
h.style.opacity = `${g}`, h.style.scale = `${g}`, Y.style.scale = `${g}`, Y.style.opacity = `${g}`;
|
|
2368
2368
|
}
|
|
2369
2369
|
let wt = NaN, Ft = /* @__PURE__ */ U(!1), kn = -l / 2, $t = new rr({
|
|
2370
2370
|
value: -l / 2,
|
|
@@ -2407,19 +2407,19 @@ function Kr(t, e) {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
function bn() {
|
|
2409
2409
|
const g = kn, kt = yn, me = g + l / 2, jt = kt + c / 2, Wt = c < l ? me * c / l : me, Bt = c > l ? jt * l / c : jt, yi = Math.atan2(Bt, Wt) / Math.PI * 180 - 45, Ht = Math.sqrt(Wt * Wt + Bt * Bt), nt = Math.min(l, c) / 2, bi = nt * Math.SQRT2, In = (Ht - nt) / (bi - nt), An = 15, Nn = An + In * (22.5 - An), _i = Ht < nt ? Ht / nt : 1, Mi = g + f, Ei = kt + f, Cn = f * 2 * pe * In, Rn = Mi - Cn * (me / l), Dn = Ei - Cn * (jt / c);
|
|
2410
|
-
|
|
2410
|
+
d.style.transform = `scale(${_i}) rotate(${yi}deg) skew(${Nn}deg, ${Nn}deg)`, V.style.transform = `translate(${Math.round(Rn)}px, ${Math.round(Dn)}px)`, Y.style.transform = `translate(${Math.round(Rn)}px, ${Math.round(Dn)}px)`;
|
|
2411
2411
|
}
|
|
2412
2412
|
var ki = { invoke: o }, _n = aa(), tt = As(_n);
|
|
2413
2413
|
let Mn;
|
|
2414
2414
|
var Ut = Is(tt);
|
|
2415
2415
|
let En;
|
|
2416
|
-
st(Ut, (g) =>
|
|
2416
|
+
st(Ut, (g) => d = g, () => d);
|
|
2417
2417
|
var xn = Zn(Ut, 2);
|
|
2418
2418
|
let Sn;
|
|
2419
|
-
st(xn, (g) =>
|
|
2419
|
+
st(xn, (g) => V = g, () => V), st(tt, (g) => h = g, () => h);
|
|
2420
2420
|
var Pn = Zn(tt, 2);
|
|
2421
2421
|
let Tn;
|
|
2422
|
-
return st(Pn, (g) =>
|
|
2422
|
+
return st(Pn, (g) => Y = g, () => Y), zr(() => {
|
|
2423
2423
|
Xr(tt, 1, Zr(["element anchor", E(de) && "displayed"]), "svelte-1no6o2a"), Mn = it(tt, "", Mn, { filter: m }), En = it(Ut, "", En, {
|
|
2424
2424
|
width: `${v}px`,
|
|
2425
2425
|
height: `${v}px`,
|
|
@@ -2432,7 +2432,7 @@ function Kr(t, e) {
|
|
|
2432
2432
|
"background-color": `rgb(from ${Ie} r g b / 1)`
|
|
2433
2433
|
}), Tn = it(Pn, "", Tn, {
|
|
2434
2434
|
width: `${ie}px`,
|
|
2435
|
-
height: `${
|
|
2435
|
+
height: `${Z}px`,
|
|
2436
2436
|
"border-radius": `${Ot}px`
|
|
2437
2437
|
});
|
|
2438
2438
|
}), qr(t, _n), ln(ki);
|
|
@@ -2582,11 +2582,11 @@ class pa {
|
|
|
2582
2582
|
}
|
|
2583
2583
|
show(e, n) {
|
|
2584
2584
|
if (!e.popup || !e.tooltip || !e.pin || (e.pin.shown = !1, e.tooltip.shown = !1, e.popup.angle = e.tooltip.angle, e.popup.shown = !0, this.pan == !1)) return;
|
|
2585
|
-
const r = e.popup, i = n.getViewport(), s = i.bounds, a = i.zoom, o = n.getParameters().mapSize * Math.pow(2, a), l = at(s.ne.lat, s.sw.lng, o), c = at(s.sw.lat, s.ne.lng, o), f = c.x - l.x, h = c.y - l.y, m = r.width + r.padding * 8,
|
|
2585
|
+
const r = e.popup, i = n.getViewport(), s = i.bounds, a = i.zoom, o = n.getParameters().mapSize * Math.pow(2, a), l = at(s.ne.lat, s.sw.lng, o), c = at(s.sw.lat, s.ne.lng, o), f = c.x - l.x, h = c.y - l.y, m = r.width + r.padding * 8, d = r.height + r.padding * 8, v = at(r.lat, r.lng, o), b = sn(m, d, e.tooltip.angle), C = v.x + b.x, V = C + m, re = v.y + b.y, ye = re + d, be = C - l.x, pe = c.x - V, Ie = re - l.y, Y = c.y - ye;
|
|
2586
2586
|
let ie = 0;
|
|
2587
2587
|
f < m ? ie = (be - pe) / 2 : (be < 0 && (ie = be), pe < 0 && (ie = -pe));
|
|
2588
|
-
let
|
|
2589
|
-
h <
|
|
2588
|
+
let Z = 0;
|
|
2589
|
+
h < d ? Z = (Ie - Y) / 2 : (Ie < 0 && (Z = Ie), Y < 0 && (Z = -Y)), (ie != 0 || Z != 0) && n.panBy(ie, Z);
|
|
2590
2590
|
}
|
|
2591
2591
|
hide(e) {
|
|
2592
2592
|
!e.popup || !e.tooltip || !e.pin || (e.pin.shown = !0, e.tooltip.shown = !0, e.popup.shown = !1);
|
|
@@ -2701,7 +2701,7 @@ async function wa(t, e, n, r, i) {
|
|
|
2701
2701
|
if (!a.ok) throw Error(await a.text());
|
|
2702
2702
|
}
|
|
2703
2703
|
const Be = 0xc3a5c85c97cb3127n, ue = 0xb492b66fbe98f273n, He = 0x9ae16a3b2f90404fn, ti = 0xc949d7c7509e6557n, B = 0xffffffffffffffffn;
|
|
2704
|
-
function
|
|
2704
|
+
function p(t) {
|
|
2705
2705
|
return t & B;
|
|
2706
2706
|
}
|
|
2707
2707
|
function A(t, e) {
|
|
@@ -2711,7 +2711,7 @@ function ka(t, e) {
|
|
|
2711
2711
|
return t = t & B, (t >> BigInt(e) | t << BigInt(64 - e)) & B;
|
|
2712
2712
|
}
|
|
2713
2713
|
function ft(t) {
|
|
2714
|
-
return
|
|
2714
|
+
return p(t ^ t >> 47n);
|
|
2715
2715
|
}
|
|
2716
2716
|
function M(t, e = 0) {
|
|
2717
2717
|
let n = 0n;
|
|
@@ -2746,33 +2746,33 @@ function ba(t) {
|
|
|
2746
2746
|
return qe(BigInt(e) + (n << 3n) & B, sr(t, e - 4));
|
|
2747
2747
|
}
|
|
2748
2748
|
if (e > 0) {
|
|
2749
|
-
const n = BigInt(t[0]), r = BigInt(t[e >> 1]), i = BigInt(t[e - 1]), s =
|
|
2750
|
-
return
|
|
2749
|
+
const n = BigInt(t[0]), r = BigInt(t[e >> 1]), i = BigInt(t[e - 1]), s = p(n + (r << 8n)), a = p(BigInt(e) + (i << 2n));
|
|
2750
|
+
return p(ft(p(s * He) ^ p(a * ti)) * He);
|
|
2751
2751
|
}
|
|
2752
2752
|
return He;
|
|
2753
2753
|
}
|
|
2754
2754
|
function _a(t) {
|
|
2755
|
-
const e = t.length, n =
|
|
2756
|
-
return qe(
|
|
2755
|
+
const e = t.length, n = p(M(t) * ue), r = M(t, 8), i = p(M(t, e - 8) * He), s = p(M(t, e - 16) * Be);
|
|
2756
|
+
return qe(p(A(p(n - r), 43) + A(i, 30) + s), p(n + A(r ^ ti, 20) - i + BigInt(e)));
|
|
2757
2757
|
}
|
|
2758
2758
|
function Ma(t, e, n, r, i, s) {
|
|
2759
|
-
i =
|
|
2759
|
+
i = p(i + t), s = A(p(s + i + r), 21);
|
|
2760
2760
|
const a = i;
|
|
2761
|
-
return i =
|
|
2761
|
+
return i = p(i + e), i = p(i + n), s = p(s + A(i, 44)), { first: p(i + r), second: p(s + a) };
|
|
2762
2762
|
}
|
|
2763
2763
|
function Et(t, e, n, r) {
|
|
2764
2764
|
return Ma(M(t, e), M(t, e + 8), M(t, e + 16), M(t, e + 24), n, r);
|
|
2765
2765
|
}
|
|
2766
2766
|
function Ea(t) {
|
|
2767
2767
|
const e = t.length, n = M(t, 24);
|
|
2768
|
-
let r =
|
|
2769
|
-
r =
|
|
2770
|
-
const a =
|
|
2771
|
-
r =
|
|
2768
|
+
let r = p(M(t) + p((BigInt(e) + M(t, e - 16)) * Be)), i = A(p(r + n), 52), s = A(r, 37);
|
|
2769
|
+
r = p(r + M(t, 8)), s = p(s + A(r, 7)), r = p(r + M(t, 16));
|
|
2770
|
+
const a = p(r + n), u = p(i + A(r, 31) + s);
|
|
2771
|
+
r = p(M(t, 16) + M(t, e - 32));
|
|
2772
2772
|
const o = M(t, e - 8);
|
|
2773
|
-
i = A(
|
|
2774
|
-
const l =
|
|
2775
|
-
return
|
|
2773
|
+
i = A(p(r + o), 52), s = A(r, 37), r = p(r + M(t, e - 24)), s = p(s + A(r, 7)), r = p(r + M(t, e - 16));
|
|
2774
|
+
const l = p(r + o), c = p(i + A(r, 31) + s), f = ft(p(p(a + c) * He + p(l + u) * Be));
|
|
2775
|
+
return p(ft(p(f * Be + u)) * He);
|
|
2776
2776
|
}
|
|
2777
2777
|
function xa(t) {
|
|
2778
2778
|
let e;
|
|
@@ -2782,12 +2782,12 @@ function xa(t) {
|
|
|
2782
2782
|
return n <= 16 ? ba(e) : _a(e);
|
|
2783
2783
|
if (n <= 64)
|
|
2784
2784
|
return Ea(e);
|
|
2785
|
-
let r = M(e), i =
|
|
2786
|
-
s =
|
|
2785
|
+
let r = M(e), i = p(M(e, n - 16) ^ ue), s = p(M(e, n - 56) ^ Be), a = Et(e, n - 64, BigInt(n), i), u = Et(e, n - 32, p(BigInt(n) * ue), Be);
|
|
2786
|
+
s = p(s + ft(a.second) * ue), r = p(A(p(s + r), 39) * ue), i = p(A(i, 33) * ue);
|
|
2787
2787
|
let o = n - 1 & -64, l = 0;
|
|
2788
2788
|
for (; o > 0; )
|
|
2789
|
-
r =
|
|
2790
|
-
return qe(qe(a.first, u.first) +
|
|
2789
|
+
r = p(A(p(r + i + a.first + M(e, l + 16)), 37) * ue), i = p(A(p(i + a.second + M(e, l + 48)), 42) * ue), r ^= u.second, i ^= a.first, s = A(s ^ u.first, 33), a = Et(e, l, p(a.second * ue), p(r + u.first)), u = Et(e, l + 32, p(s + u.second), i), [s, r] = [r, s], l += 64, o -= 64;
|
|
2790
|
+
return qe(qe(a.first, u.first) + p(ft(i) * ue) + s, qe(a.second, u.second) + r);
|
|
2791
2791
|
}
|
|
2792
2792
|
function Sa(t) {
|
|
2793
2793
|
return xa(JSON.stringify(t)).toString();
|
|
@@ -2840,7 +2840,7 @@ function N(t, e, n, r, i) {
|
|
|
2840
2840
|
c !== void 0 && (o.message = typeof c == "function" ? c(o) : c), l && (n.typed = !1), n.issues ? n.issues.push(o) : n.issues = [o];
|
|
2841
2841
|
}
|
|
2842
2842
|
// @__NO_SIDE_EFFECTS__
|
|
2843
|
-
function
|
|
2843
|
+
function J(t) {
|
|
2844
2844
|
return {
|
|
2845
2845
|
version: 1,
|
|
2846
2846
|
vendor: "valibot",
|
|
@@ -2958,11 +2958,11 @@ function q(t, e) {
|
|
|
2958
2958
|
};
|
|
2959
2959
|
}
|
|
2960
2960
|
// @__NO_SIDE_EFFECTS__
|
|
2961
|
-
function
|
|
2961
|
+
function $(t) {
|
|
2962
2962
|
return {
|
|
2963
2963
|
kind: "transformation",
|
|
2964
2964
|
type: "returns",
|
|
2965
|
-
reference:
|
|
2965
|
+
reference: $,
|
|
2966
2966
|
async: !1,
|
|
2967
2967
|
schema: t,
|
|
2968
2968
|
"~run"(e, n) {
|
|
@@ -2994,7 +2994,7 @@ function ai(t, e) {
|
|
|
2994
2994
|
item: t,
|
|
2995
2995
|
message: e,
|
|
2996
2996
|
get "~standard"() {
|
|
2997
|
-
return /* @__PURE__ */
|
|
2997
|
+
return /* @__PURE__ */ J(this);
|
|
2998
2998
|
},
|
|
2999
2999
|
"~run"(n, r) {
|
|
3000
3000
|
const i = n.value;
|
|
@@ -3034,7 +3034,7 @@ function oi(t) {
|
|
|
3034
3034
|
async: !1,
|
|
3035
3035
|
message: t,
|
|
3036
3036
|
get "~standard"() {
|
|
3037
|
-
return /* @__PURE__ */
|
|
3037
|
+
return /* @__PURE__ */ J(this);
|
|
3038
3038
|
},
|
|
3039
3039
|
"~run"(e, n) {
|
|
3040
3040
|
return typeof e.value == "boolean" ? e.typed = !0 : N(this, "type", e, n), e;
|
|
@@ -3052,7 +3052,7 @@ function li(t, e) {
|
|
|
3052
3052
|
check: t,
|
|
3053
3053
|
message: e,
|
|
3054
3054
|
get "~standard"() {
|
|
3055
|
-
return /* @__PURE__ */
|
|
3055
|
+
return /* @__PURE__ */ J(this);
|
|
3056
3056
|
},
|
|
3057
3057
|
"~run"(n, r) {
|
|
3058
3058
|
return this.check(n.value) ? n.typed = !0 : N(this, "type", n, r), n;
|
|
@@ -3069,7 +3069,7 @@ function I(t) {
|
|
|
3069
3069
|
async: !1,
|
|
3070
3070
|
message: t,
|
|
3071
3071
|
get "~standard"() {
|
|
3072
|
-
return /* @__PURE__ */
|
|
3072
|
+
return /* @__PURE__ */ J(this);
|
|
3073
3073
|
},
|
|
3074
3074
|
"~run"(e, n) {
|
|
3075
3075
|
return typeof e.value == "function" ? e.typed = !0 : N(this, "type", e, n), e;
|
|
@@ -3087,7 +3087,7 @@ function ze(t, e) {
|
|
|
3087
3087
|
literal: t,
|
|
3088
3088
|
message: e,
|
|
3089
3089
|
get "~standard"() {
|
|
3090
|
-
return /* @__PURE__ */
|
|
3090
|
+
return /* @__PURE__ */ J(this);
|
|
3091
3091
|
},
|
|
3092
3092
|
"~run"(n, r) {
|
|
3093
3093
|
return n.value === this.literal ? n.typed = !0 : N(this, "type", n, r), n;
|
|
@@ -3104,7 +3104,7 @@ function P(t) {
|
|
|
3104
3104
|
async: !1,
|
|
3105
3105
|
message: t,
|
|
3106
3106
|
get "~standard"() {
|
|
3107
|
-
return /* @__PURE__ */
|
|
3107
|
+
return /* @__PURE__ */ J(this);
|
|
3108
3108
|
},
|
|
3109
3109
|
"~run"(e, n) {
|
|
3110
3110
|
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : N(this, "type", e, n), e;
|
|
@@ -3122,7 +3122,7 @@ function H(t, e) {
|
|
|
3122
3122
|
entries: t,
|
|
3123
3123
|
message: e,
|
|
3124
3124
|
get "~standard"() {
|
|
3125
|
-
return /* @__PURE__ */
|
|
3125
|
+
return /* @__PURE__ */ J(this);
|
|
3126
3126
|
},
|
|
3127
3127
|
"~run"(n, r) {
|
|
3128
3128
|
const i = n.value;
|
|
@@ -3178,7 +3178,7 @@ function T(t, e) {
|
|
|
3178
3178
|
wrapped: t,
|
|
3179
3179
|
default: e,
|
|
3180
3180
|
get "~standard"() {
|
|
3181
|
-
return /* @__PURE__ */
|
|
3181
|
+
return /* @__PURE__ */ J(this);
|
|
3182
3182
|
},
|
|
3183
3183
|
"~run"(n, r) {
|
|
3184
3184
|
return n.value === void 0 && (this.default !== void 0 && (n.value = /* @__PURE__ */ si(this, n, r)), n.value === void 0) ? (n.typed = !0, n) : this.wrapped["~run"](n, r);
|
|
@@ -3195,7 +3195,7 @@ function ge(t) {
|
|
|
3195
3195
|
async: !1,
|
|
3196
3196
|
message: t,
|
|
3197
3197
|
get "~standard"() {
|
|
3198
|
-
return /* @__PURE__ */
|
|
3198
|
+
return /* @__PURE__ */ J(this);
|
|
3199
3199
|
},
|
|
3200
3200
|
"~run"(e, n) {
|
|
3201
3201
|
return typeof e.value == "string" ? e.typed = !0 : N(this, "type", e, n), e;
|
|
@@ -3213,7 +3213,7 @@ function L(t, e) {
|
|
|
3213
3213
|
items: t,
|
|
3214
3214
|
message: e,
|
|
3215
3215
|
get "~standard"() {
|
|
3216
|
-
return /* @__PURE__ */
|
|
3216
|
+
return /* @__PURE__ */ J(this);
|
|
3217
3217
|
},
|
|
3218
3218
|
"~run"(n, r) {
|
|
3219
3219
|
const i = n.value;
|
|
@@ -3260,7 +3260,7 @@ function wn(t, e) {
|
|
|
3260
3260
|
options: t,
|
|
3261
3261
|
message: e,
|
|
3262
3262
|
get "~standard"() {
|
|
3263
|
-
return /* @__PURE__ */
|
|
3263
|
+
return /* @__PURE__ */ J(this);
|
|
3264
3264
|
},
|
|
3265
3265
|
"~run"(n, r) {
|
|
3266
3266
|
let i, s, a;
|
|
@@ -3295,7 +3295,7 @@ function Oe(t) {
|
|
|
3295
3295
|
async: !1,
|
|
3296
3296
|
message: t,
|
|
3297
3297
|
get "~standard"() {
|
|
3298
|
-
return /* @__PURE__ */
|
|
3298
|
+
return /* @__PURE__ */ J(this);
|
|
3299
3299
|
},
|
|
3300
3300
|
"~run"(e, n) {
|
|
3301
3301
|
return e.value === void 0 ? e.typed = !0 : N(this, "type", e, n), e;
|
|
@@ -3313,7 +3313,7 @@ function w(...t) {
|
|
|
3313
3313
|
...t[0],
|
|
3314
3314
|
pipe: t,
|
|
3315
3315
|
get "~standard"() {
|
|
3316
|
-
return /* @__PURE__ */
|
|
3316
|
+
return /* @__PURE__ */ J(this);
|
|
3317
3317
|
},
|
|
3318
3318
|
"~run"(e, n) {
|
|
3319
3319
|
for (const r of t) if (r.kind !== "metadata") {
|
|
@@ -3327,8 +3327,8 @@ function w(...t) {
|
|
|
3327
3327
|
}
|
|
3328
3328
|
};
|
|
3329
3329
|
}
|
|
3330
|
-
var ui = /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(-90), /* @__PURE__ */ ht(90)), ci = /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(-180), /* @__PURE__ */ ht(180)), Ct = /* @__PURE__ */ H({ lat: ui, lng: ci }), fi = /* @__PURE__ */ H({ sw: Ct, ne: Ct }), za = /* @__PURE__ */ H({ bounds: fi, center: Ct, zoom: /* @__PURE__ */ P() }), Ye = /* @__PURE__ */ li((t) => t instanceof HTMLElement, "Must be an HTMLElement"), Oa = /* @__PURE__ */ H({ mapSize: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(1)), zoomMin: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), zoomMax: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), zoomScale: /* @__PURE__ */ wn([/* @__PURE__ */ ze(1), /* @__PURE__ */ ze(2), /* @__PURE__ */ ze(10)]) }), La = /* @__PURE__ */ H({ inserted: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */
|
|
3331
|
-
const Wa = "1.3.
|
|
3330
|
+
var ui = /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(-90), /* @__PURE__ */ ht(90)), ci = /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(-180), /* @__PURE__ */ ht(180)), Ct = /* @__PURE__ */ H({ lat: ui, lng: ci }), fi = /* @__PURE__ */ H({ sw: Ct, ne: Ct }), za = /* @__PURE__ */ H({ bounds: fi, center: Ct, zoom: /* @__PURE__ */ P() }), Ye = /* @__PURE__ */ li((t) => t instanceof HTMLElement, "Must be an HTMLElement"), Oa = /* @__PURE__ */ H({ mapSize: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(1)), zoomMin: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), zoomMax: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), zoomScale: /* @__PURE__ */ wn([/* @__PURE__ */ ze(1), /* @__PURE__ */ ze(2), /* @__PURE__ */ ze(10)]) }), La = /* @__PURE__ */ H({ inserted: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(/* @__PURE__ */ oi())), insert: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(/* @__PURE__ */ Oe())), remove: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(/* @__PURE__ */ Oe())), update: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([/* @__PURE__ */ P()])), /* @__PURE__ */ $(/* @__PURE__ */ Oe())) }), or = /* @__PURE__ */ wn([/* @__PURE__ */ ze("idle"), /* @__PURE__ */ ze("move"), /* @__PURE__ */ ze("click")]), Fa = /* @__PURE__ */ H({ getParameters: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(Oa)), getContainer: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(Ye)), getZoom: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(/* @__PURE__ */ P())), getBounds: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(fi)), getCenter: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(Ct)), getViewport: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([])), /* @__PURE__ */ $(za)), panBy: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([/* @__PURE__ */ P(), /* @__PURE__ */ P()])), /* @__PURE__ */ $(/* @__PURE__ */ Oe())), createMarker: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([Ye, ui, ci, /* @__PURE__ */ P()])), /* @__PURE__ */ $(La)), subscribe: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([or, /* @__PURE__ */ I()])), /* @__PURE__ */ $(/* @__PURE__ */ Oe())), unsubscribe: /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([or, /* @__PURE__ */ I()])), /* @__PURE__ */ $(/* @__PURE__ */ Oe())) }), Jt = /* @__PURE__ */ w(/* @__PURE__ */ I(), /* @__PURE__ */ O(/* @__PURE__ */ L([/* @__PURE__ */ ge(), Ye]))), Gt = /* @__PURE__ */ w(/* @__PURE__ */ H({ width: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), height: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), padding: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)) }), /* @__PURE__ */ ri((t) => Math.min(t.width, t.height) / t.padding >= 4, "Minimum of width or height must be greater than or equal to 4 * padding")), $a = /* @__PURE__ */ H({ background: /* @__PURE__ */ T(/* @__PURE__ */ ge()), radius: /* @__PURE__ */ T(/* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0))), shadow: /* @__PURE__ */ T(/* @__PURE__ */ ge()) }), lr = /* @__PURE__ */ H({ background: /* @__PURE__ */ T(/* @__PURE__ */ ge()), radius: /* @__PURE__ */ T(/* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0))), filter: /* @__PURE__ */ T(/* @__PURE__ */ ge()) }), Va = /* @__PURE__ */ H({ id: /* @__PURE__ */ w(/* @__PURE__ */ ge(), /* @__PURE__ */ gn(1)), rank: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(0)), lat: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(-90), /* @__PURE__ */ ht(90)), lng: /* @__PURE__ */ w(/* @__PURE__ */ P(), /* @__PURE__ */ q(-180), /* @__PURE__ */ ht(180)), tooltip: /* @__PURE__ */ H({ element: Ye, style: /* @__PURE__ */ T(lr), dimensions: /* @__PURE__ */ T(Gt), initialize: /* @__PURE__ */ T(Jt) }), pin: /* @__PURE__ */ T(/* @__PURE__ */ H({ element: /* @__PURE__ */ T(Ye), style: /* @__PURE__ */ T($a), dimensions: /* @__PURE__ */ T(Gt), initialize: /* @__PURE__ */ T(Jt) })), popup: /* @__PURE__ */ T(/* @__PURE__ */ H({ element: Ye, style: /* @__PURE__ */ T(lr), dimensions: /* @__PURE__ */ T(Gt), initialize: /* @__PURE__ */ T(Jt) })) }), Ua = /* @__PURE__ */ w(/* @__PURE__ */ ge(), /* @__PURE__ */ ii(32)), ja = /* @__PURE__ */ w(/* @__PURE__ */ ge(), /* @__PURE__ */ gn(1));
|
|
3331
|
+
const Wa = "1.3.5";
|
|
3332
3332
|
class Ba {
|
|
3333
3333
|
apiKey;
|
|
3334
3334
|
apiJwt;
|
|
@@ -3371,7 +3371,7 @@ class Ba {
|
|
|
3371
3371
|
return i.jwt && (this.apiJwt = i.jwt), i.states;
|
|
3372
3372
|
}
|
|
3373
3373
|
}
|
|
3374
|
-
const ur = "1.3.
|
|
3374
|
+
const ur = "1.3.5", Ha = "https://maps.api.arenarium.dev/auth", qa = "https://maps.api.arenarium.dev/log", cr = 500;
|
|
3375
3375
|
class hi {
|
|
3376
3376
|
apiKey;
|
|
3377
3377
|
mapProvider;
|
|
@@ -3523,7 +3523,7 @@ class hi {
|
|
|
3523
3523
|
element: o.pin?.element,
|
|
3524
3524
|
style: o.pin?.style,
|
|
3525
3525
|
dimensions: a(o.pin?.element, o.pin?.dimensions)
|
|
3526
|
-
},
|
|
3526
|
+
}, d = {
|
|
3527
3527
|
id: l,
|
|
3528
3528
|
initialize: o.tooltip.initialize,
|
|
3529
3529
|
element: o.tooltip.element,
|
|
@@ -3537,7 +3537,7 @@ class hi {
|
|
|
3537
3537
|
style: o.popup.style,
|
|
3538
3538
|
dimensions: u(o.popup.element, o.popup.dimensions)
|
|
3539
3539
|
});
|
|
3540
|
-
const b = new xi(l, c, f, h, m,
|
|
3540
|
+
const b = new xi(l, c, f, h, m, d, v);
|
|
3541
3541
|
n.push(b);
|
|
3542
3542
|
}
|
|
3543
3543
|
return n.forEach((o) => this.markers.set(o.properites.id, o)), n.sort((o, l) => l.properites.rank - o.properites.rank), n;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arenarium/maps",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "arenarium",
|
|
6
6
|
"description": "Visualize complex map markers clearly. A JavaScript library for effective display of map markers, compatible with MapLibre, Mapbox, and Google Maps.",
|