@mappedin/viewer 0.24.0 → 0.24.1-fd450ca.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
|
@@ -65736,7 +65736,7 @@ const HHe = [s2, q2, sn, W2, j2, kr, ho], v8e = [s2, W2], _8e = async (r, e) =>
|
|
|
65736
65736
|
}
|
|
65737
65737
|
return await NHe(t);
|
|
65738
65738
|
};
|
|
65739
|
-
var UHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.0", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "
|
|
65739
|
+
var UHe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.24.0", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
|
|
65740
65740
|
const jHe = async (r, e, t) => {
|
|
65741
65741
|
const i = `${e ?? UHe.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 K$(o), l = Y$(s);
|
|
65742
65742
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), _8e(l, t);
|
|
@@ -71052,7 +71052,7 @@ const mXe = (r, e) => (Id != null || (U6 == null && globalThis.OffscreenCanvas !
|
|
|
71052
71052
|
const i = {
|
|
71053
71053
|
fit: "fit",
|
|
71054
71054
|
...t
|
|
71055
|
-
}, n = "https://image-proxy.mappedin.
|
|
71055
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = yXe[e], o = encodeURIComponent(r);
|
|
71056
71056
|
return `${n}/resize:${i.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
71057
71057
|
}, Ffe = jh`
|
|
71058
71058
|
cursor: pointer;
|
|
@@ -86345,7 +86345,7 @@ const b7e = hw((r) => {
|
|
|
86345
86345
|
/* @__PURE__ */ X.jsx(Sq, { children: /* @__PURE__ */ X.jsx(bF, { ...e }) })
|
|
86346
86346
|
), t;
|
|
86347
86347
|
}, S7e = (r = {}) => {
|
|
86348
|
-
const e = "
|
|
86348
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
|
|
86349
86349
|
fSe(r.captureEnabled ?? !0);
|
|
86350
86350
|
const i = pf();
|
|
86351
86351
|
if (!i.__loaded && e != null && t != null) {
|