@mappedin/viewer 0.59.4 → 0.59.5-3a48c6e.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
|
@@ -17331,7 +17331,7 @@ const e4e = function() {
|
|
|
17331
17331
|
const e = Em(), [r, i] = t;
|
|
17332
17332
|
e.capture(r, i);
|
|
17333
17333
|
}, r4e = (t = {}) => {
|
|
17334
|
-
const e = "
|
|
17334
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", r = "https://ph-api.mappedin.com";
|
|
17335
17335
|
mVe(t.captureEnabled ?? !0);
|
|
17336
17336
|
const i = Em();
|
|
17337
17337
|
if (!i.__loaded && e != null && r != null) {
|
|
@@ -89679,7 +89679,7 @@ const jEt = (t, e, r, i) => {
|
|
|
89679
89679
|
return;
|
|
89680
89680
|
const a = e != null && e.length > 0 ? `${t}-${e}` : t, s = Array.isArray(i) ? i : [i], l = Array.isArray(n) ? n : [n], u = new URL(
|
|
89681
89681
|
"/directions",
|
|
89682
|
-
"https://mappedin-public-mvf-
|
|
89682
|
+
"https://mappedin-public-mvf-staging.azurewebsites.net"
|
|
89683
89683
|
);
|
|
89684
89684
|
u.search = new URLSearchParams({
|
|
89685
89685
|
mapId: a,
|
|
@@ -96741,7 +96741,7 @@ const iIt = (t, e) => (b9 != null || (dC == null && globalThis.OffscreenCanvas !
|
|
|
96741
96741
|
const i = {
|
|
96742
96742
|
fit: "fit",
|
|
96743
96743
|
...r
|
|
96744
|
-
}, n = "https://image-proxy.mappedin.
|
|
96744
|
+
}, n = "https://image-proxy-staging.mappedin.net", o = sIt(e, i.fit), a = encodeURIComponent(t);
|
|
96745
96745
|
return `${n}/resize:${i.fit}:${o}:${o}:0/format:webp/max_bytes:5000000/plain/${a}`.replaceAll(/\/+/g, "/").replace("https:/", "https://").replace("http:/", "http://");
|
|
96746
96746
|
}, lIt = (t, e) => {
|
|
96747
96747
|
if (e == null || e === "")
|
|
@@ -103600,7 +103600,7 @@ class vBt {
|
|
|
103600
103600
|
async init(e) {
|
|
103601
103601
|
var n;
|
|
103602
103602
|
this.container = e;
|
|
103603
|
-
const r = this.rootStore.startupOptions.outdoorMapsKey ?? "
|
|
103603
|
+
const r = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", i = {
|
|
103604
103604
|
// In campus mode, we need to load the outdoors first
|
|
103605
103605
|
initialFloor: this.rootStore.isCampus ? this.rootStore.defaultFloor : this.rootStore.currentFloor,
|
|
103606
103606
|
watermark: this.getWatermarkOptions(),
|