@mappedin/viewer 0.5.0 → 0.5.1-3e7e509.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Zn, r as f } from "./index-
|
|
1
|
+
import { c as Zn, r as f } from "./index-2c9a5df1.js";
|
|
2
2
|
Zn();
|
|
3
3
|
var dn = {}, Nn = f(function(t, n, r, e, i) {
|
|
4
4
|
var a = new Worker(dn[n] || (dn[n] = URL.createObjectURL(new Blob([t + ';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'], { type: "text/javascript" }))));
|
|
@@ -49295,7 +49295,7 @@ async function Nne(e) {
|
|
|
49295
49295
|
throw new Error("Error parsing data! Unzipping failed.");
|
|
49296
49296
|
if (e[Symbol.toStringTag] !== "Uint8Array")
|
|
49297
49297
|
throw new Error("Unexpected file type! Unzipping failed.");
|
|
49298
|
-
let r = (await import("./browser-JKMZVTUT-
|
|
49298
|
+
let r = (await import("./browser-JKMZVTUT-78b5e0ab.js")).unzipSync(e);
|
|
49299
49299
|
if (!One(r))
|
|
49300
49300
|
throw new Error("MVF is missing some expect static files. Unzipping failed.");
|
|
49301
49301
|
let i = { "connection.json": r["connection.json"], "manifest.geojson": r["manifest.geojson"], "node.geojson": r["node.geojson"], "map.geojson": r["map.geojson"], "mapstack.geojson": r["mapstack.geojson"], "styles.json": r["styles.json"], space: {}, obstruction: {}, entrance: {} }, o = Object.keys(r);
|
|
@@ -57393,7 +57393,7 @@ var r4e = !1, Gie = class {
|
|
|
57393
57393
|
}
|
|
57394
57394
|
async load() {
|
|
57395
57395
|
try {
|
|
57396
|
-
let [e, t] = await Promise.all([import("./outdoor-context-QN5FBZ37-
|
|
57396
|
+
let [e, t] = await Promise.all([import("./outdoor-context-QN5FBZ37-4d110411.js"), this.getRequestHeaders()]);
|
|
57397
57397
|
this.module = e;
|
|
57398
57398
|
let { Map: n, Marker: r } = this.module.default, i = document.createElement("div");
|
|
57399
57399
|
Object.assign(i.style, { position: "absolute", top: "0px", left: "0px", width: "100%", height: "100%", pointerEvents: "none" }), this.core.container.appendChild(i);
|
|
@@ -67228,7 +67228,7 @@ class j6e {
|
|
|
67228
67228
|
this.rootStore = t;
|
|
67229
67229
|
}
|
|
67230
67230
|
init() {
|
|
67231
|
-
const t = "
|
|
67231
|
+
const t = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", n = "https://ph-api.mappedin.com";
|
|
67232
67232
|
U6e.init(t, { api_host: n });
|
|
67233
67233
|
}
|
|
67234
67234
|
}
|