@mappedin/viewer 0.24.7-00a929a.0 → 0.24.7
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/CHANGELOG.md +7 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.24.7](https://github.com/MappedIn/viewer/compare/viewer-v0.24.6...viewer-v0.24.7) (2024-07-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **SRV-1383:** use light logo on dark themes ([#273](https://github.com/MappedIn/viewer/issues/273)) ([00a929a](https://github.com/MappedIn/viewer/commit/00a929a0725ce33a1bbf24fa16ca14da5ffe7f5f))
|
|
9
|
+
|
|
3
10
|
## [0.24.6](https://github.com/MappedIn/viewer/compare/viewer-v0.24.5...viewer-v0.24.6) (2024-07-23)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -66081,7 +66081,7 @@ const gUe = [u2, X2, $n, q2, Wu, Sr, Oa], V8e = [u2, q2], N8e = async (r, e) =>
|
|
|
66081
66081
|
}
|
|
66082
66082
|
return await pUe(t);
|
|
66083
66083
|
};
|
|
66084
|
-
var yUe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.
|
|
66084
|
+
var yUe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.7", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
|
|
66085
66085
|
const vUe = async (r, e, t) => {
|
|
66086
66086
|
const i = `${e ?? yUe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${r}&version=2.0.0`, { url: n } = await fetch(i).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await lO(o), l = sO(s);
|
|
66087
66087
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), N8e(l, t);
|
|
@@ -71401,7 +71401,7 @@ const UXe = (r, e) => (Od != null || (W5 == null && globalThis.OffscreenCanvas !
|
|
|
71401
71401
|
const i = {
|
|
71402
71402
|
fit: "fit",
|
|
71403
71403
|
...t
|
|
71404
|
-
}, n = "https://image-proxy
|
|
71404
|
+
}, n = "https://image-proxy.mappedin.com", a = ZXe[e], o = encodeURIComponent(r);
|
|
71405
71405
|
return `${n}/resize:${i.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
71406
71406
|
}, i7e = Wh`
|
|
71407
71407
|
cursor: pointer;
|
|
@@ -86783,7 +86783,7 @@ const Ufe = ww((r) => {
|
|
|
86783
86783
|
/* @__PURE__ */ X.jsx(Vq, { children: /* @__PURE__ */ X.jsx(OF, { ...e }) })
|
|
86784
86784
|
), t;
|
|
86785
86785
|
}, jfe = (r = {}) => {
|
|
86786
|
-
const e = "
|
|
86786
|
+
const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
|
|
86787
86787
|
$Se(r.captureEnabled ?? !0);
|
|
86788
86788
|
const i = _9();
|
|
86789
86789
|
if (!i.__loaded && e != null && t != null) {
|
|
@@ -86802,7 +86802,7 @@ const Ufe = ww((r) => {
|
|
|
86802
86802
|
}
|
|
86803
86803
|
}, Zfe = () => {
|
|
86804
86804
|
let r = document.querySelector("meta[name=app-version]");
|
|
86805
|
-
r == null && (r = document.createElement("meta"), r.name = "app-version", document.head.appendChild(r)), r.content = "0.24.
|
|
86805
|
+
r == null && (r = document.createElement("meta"), r.name = "app-version", document.head.appendChild(r)), r.content = "0.24.7";
|
|
86806
86806
|
let e = document.querySelector("meta[name=viewport]");
|
|
86807
86807
|
e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
|
|
86808
86808
|
}, Gfe = (r) => {
|