@mappedin/viewer 0.25.4 → 0.25.5-133cd25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16441,7 +16441,7 @@ const ph = { current: nJ, captureEnabled: !0 }, LEe = (i) => {
|
|
|
16441
16441
|
const e = Hf(), [t, r] = i;
|
|
16442
16442
|
e.capture(t, r);
|
|
16443
16443
|
}, oJ = (i = {}) => {
|
|
16444
|
-
const e = "
|
|
16444
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
|
|
16445
16445
|
EEe(i.captureEnabled ?? !0);
|
|
16446
16446
|
const r = Hf();
|
|
16447
16447
|
if (!r.__loaded && e != null && t != null) {
|
|
@@ -67092,7 +67092,7 @@ const l7e = async (i, e) => {
|
|
|
67092
67092
|
const r = performance.now(), n = await wGe(t);
|
|
67093
67093
|
return Fi.log("Hydrated map data in", performance.now() - r, "ms"), n;
|
|
67094
67094
|
};
|
|
67095
|
-
var EGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.25.4", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "
|
|
67095
|
+
var EGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.25.4", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
|
|
67096
67096
|
const TGe = async (i, e, t) => {
|
|
67097
67097
|
const r = `${e ?? EGe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${i}&version=2.0.0`, { url: n } = await fetch(r).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await Bw(o), l = Vw(s);
|
|
67098
67098
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), l7e(l, t);
|
|
@@ -72487,7 +72487,7 @@ const fQe = (i, e) => (Yd != null || (m4 == null && globalThis.OffscreenCanvas !
|
|
|
72487
72487
|
const r = {
|
|
72488
72488
|
fit: "fit",
|
|
72489
72489
|
...t
|
|
72490
|
-
}, n = "https://image-proxy.mappedin.
|
|
72490
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = gQe[e], o = encodeURIComponent(i);
|
|
72491
72491
|
return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
72492
72492
|
}, sV = sd`
|
|
72493
72493
|
cursor: pointer;
|