@mappedin/viewer 0.59.1 → 0.59.2-8043ec3.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
|
@@ -17753,7 +17753,7 @@ const b9e = function() {
|
|
|
17753
17753
|
const e = Vm(), [r, i] = t;
|
|
17754
17754
|
e.capture(r, i);
|
|
17755
17755
|
}, E9e = (t = {}) => {
|
|
17756
|
-
const e = "
|
|
17756
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", r = "https://ph-api.mappedin.com";
|
|
17757
17757
|
SQe(t.captureEnabled ?? !0);
|
|
17758
17758
|
const i = Vm();
|
|
17759
17759
|
if (!i.__loaded && e != null && r != null) {
|
|
@@ -91218,7 +91218,7 @@ const UIt = (t, e, r, i) => {
|
|
|
91218
91218
|
return;
|
|
91219
91219
|
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(
|
|
91220
91220
|
"/directions",
|
|
91221
|
-
"https://mappedin-public-mvf-
|
|
91221
|
+
"https://mappedin-public-mvf-staging.azurewebsites.net"
|
|
91222
91222
|
);
|
|
91223
91223
|
u.search = new URLSearchParams({
|
|
91224
91224
|
mapId: a,
|
|
@@ -98265,7 +98265,7 @@ const aLt = (t, e) => (h9 != null || (_C == null && globalThis.OffscreenCanvas !
|
|
|
98265
98265
|
const i = {
|
|
98266
98266
|
fit: "fit",
|
|
98267
98267
|
...r
|
|
98268
|
-
}, n = "https://image-proxy.mappedin.
|
|
98268
|
+
}, n = "https://image-proxy-staging.mappedin.net", o = cLt(e, i.fit), a = encodeURIComponent(t);
|
|
98269
98269
|
return `${n}/resize:${i.fit}:${o}:${o}:0/format:webp/max_bytes:5000000/plain/${a}`.replaceAll(/\/+/g, "/").replace("https:/", "https://").replace("http:/", "http://");
|
|
98270
98270
|
}, hLt = (t, e) => {
|
|
98271
98271
|
if (e == null || e === "")
|
|
@@ -105124,7 +105124,7 @@ class _Rt {
|
|
|
105124
105124
|
async init(e) {
|
|
105125
105125
|
var n;
|
|
105126
105126
|
this.container = e;
|
|
105127
|
-
const r = this.rootStore.startupOptions.outdoorMapsKey ?? "
|
|
105127
|
+
const r = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", i = {
|
|
105128
105128
|
// In campus mode, we need to load the outdoors first
|
|
105129
105129
|
initialFloor: this.rootStore.isCampus ? this.rootStore.defaultFloor : this.rootStore.currentFloor,
|
|
105130
105130
|
watermark: this.getWatermarkOptions(),
|