@mappedin/viewer 0.24.9 → 0.24.10-8cd8a26.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
|
@@ -66648,7 +66648,7 @@ const Fje = [ws, K2, Sn, c2, d1, Ci, F0], Afe = [ws, c2], Pfe = async (i, e) =>
|
|
|
66648
66648
|
}
|
|
66649
66649
|
return await $je(t);
|
|
66650
66650
|
};
|
|
66651
|
-
var Vje = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.9", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "
|
|
66651
|
+
var Vje = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.9", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
|
|
66652
66652
|
const Nje = async (i, e, t) => {
|
|
66653
66653
|
const r = `${e ?? Vje.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 OO(o), l = DO(s);
|
|
66654
66654
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), Pfe(l, t);
|
|
@@ -71983,7 +71983,7 @@ const wKe = (i, e) => (Ud != null || (i4 == null && globalThis.OffscreenCanvas !
|
|
|
71983
71983
|
const r = {
|
|
71984
71984
|
fit: "fit",
|
|
71985
71985
|
...t
|
|
71986
|
-
}, n = "https://image-proxy.mappedin.
|
|
71986
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = SKe[e], o = encodeURIComponent(i);
|
|
71987
71987
|
return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
71988
71988
|
}, q9e = ed`
|
|
71989
71989
|
cursor: pointer;
|
|
@@ -87368,7 +87368,7 @@ const $me = Ow((i) => {
|
|
|
87368
87368
|
/* @__PURE__ */ X.jsx(vX, { children: /* @__PURE__ */ X.jsx(hV, { ...e }) })
|
|
87369
87369
|
), t;
|
|
87370
87370
|
}, Dme = (i = {}) => {
|
|
87371
|
-
const e = "
|
|
87371
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
|
|
87372
87372
|
QMe(i.captureEnabled ?? !0);
|
|
87373
87373
|
const r = Af();
|
|
87374
87374
|
if (!r.__loaded && e != null && t != null) {
|