@mappedin/viewer 0.56.2 → 0.56.3-32bb3c9.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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17742,7 +17742,7 @@ const V7e = function() {
|
|
|
17742
17742
|
const e = Lg(), [r, i] = t;
|
|
17743
17743
|
e.capture(r, i);
|
|
17744
17744
|
}, Q7e = (t = {}) => {
|
|
17745
|
-
const e = "
|
|
17745
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", r = "https://ph-api.mappedin.com";
|
|
17746
17746
|
zGe(t.captureEnabled ?? !0);
|
|
17747
17747
|
const i = Lg();
|
|
17748
17748
|
if (!i.__loaded && e != null && r != null) {
|
|
@@ -93553,7 +93553,7 @@ const qjt = (t, e, r, i) => {
|
|
|
93553
93553
|
return;
|
|
93554
93554
|
const o = e != null && e.length > 0 ? `${t}-${e}` : t, s = Array.isArray(i) ? i : [i], l = Array.isArray(n) ? n : [n], u = new URL(
|
|
93555
93555
|
"/directions",
|
|
93556
|
-
"https://mappedin-public-mvf-
|
|
93556
|
+
"https://mappedin-public-mvf-staging.azurewebsites.net"
|
|
93557
93557
|
);
|
|
93558
93558
|
u.search = new URLSearchParams({
|
|
93559
93559
|
mapId: o,
|
|
@@ -100561,7 +100561,7 @@ const vZt = (t, e) => (g7 != null || (NC == null && globalThis.OffscreenCanvas !
|
|
|
100561
100561
|
const i = {
|
|
100562
100562
|
fit: "fit",
|
|
100563
100563
|
...r
|
|
100564
|
-
}, n = "https://image-proxy.mappedin.
|
|
100564
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = wZt(e, i.fit), o = encodeURIComponent(t);
|
|
100565
100565
|
return `${n}/resize:${i.fit}:${a}:${a}:0/format:webp/max_bytes:5000000/plain/${o}`.replaceAll(/\/+/g, "/").replace("https:/", "https://").replace("http:/", "http://");
|
|
100566
100566
|
}, _Zt = (t, e) => {
|
|
100567
100567
|
if (e == null || e === "")
|
|
@@ -106420,7 +106420,7 @@ class uWt {
|
|
|
106420
106420
|
async init(e) {
|
|
106421
106421
|
var n;
|
|
106422
106422
|
this.container = e;
|
|
106423
|
-
const r = this.rootStore.startupOptions.outdoorMapsKey ?? "
|
|
106423
|
+
const r = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", i = {
|
|
106424
106424
|
// In campus mode, we need to load the outdoors first
|
|
106425
106425
|
initialFloor: this.rootStore.isCampus ? this.rootStore.defaultFloor : this.rootStore.currentFloor,
|
|
106426
106426
|
watermark: this.getWatermarkOptions(),
|