@mappedin/viewer 0.58.0 → 0.58.1-64fd16e.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7680,6 +7680,8 @@ const CVe = "Loading...", wVe = "Stairs", _Ve = "Elevator", xVe = "Connection",
7680
7680
  "eclipse-mode": "Eclipse Mode",
7681
7681
  preview: RVe,
7682
7682
  "safety-mode": "Highlight Safety",
7683
+ "location-profile": "Location",
7684
+ "location-category": "Category",
7683
7685
  yes: zVe,
7684
7686
  no: OVe,
7685
7687
  view: NVe,
@@ -7820,6 +7822,8 @@ const CVe = "Loading...", wVe = "Stairs", _Ve = "Elevator", xVe = "Connection",
7820
7822
  "eclipse-mode": "Eclipse-tilstand",
7821
7823
  preview: uHe,
7822
7824
  "safety-mode": "Fremhæv sikkerhed",
7825
+ "location-profile": "Placering",
7826
+ "location-category": "Kategori",
7823
7827
  yes: cHe,
7824
7828
  no: hHe,
7825
7829
  view: dHe,
@@ -17742,7 +17746,7 @@ const vme = function() {
17742
17746
  const e = yy(), [r, n] = t;
17743
17747
  e.capture(r, n);
17744
17748
  }, wme = (t = {}) => {
17745
- const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", r = "https://ph-api.mappedin.com";
17749
+ const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", r = "https://ph-api.mappedin.com";
17746
17750
  SWe(t.captureEnabled ?? !0);
17747
17751
  const n = yy();
17748
17752
  if (!n.__loaded && e != null && r != null) {
@@ -94907,7 +94911,7 @@ const FQt = (t, e, r, n) => {
94907
94911
  return;
94908
94912
  const a = e != null && e.length > 0 ? `${t}-${e}` : t, s = Array.isArray(n) ? n : [n], l = Array.isArray(i) ? i : [i], u = new URL(
94909
94913
  "/directions",
94910
- "https://mappedin-public-mvf-prod.azurewebsites.net"
94914
+ "https://mappedin-public-mvf-staging.azurewebsites.net"
94911
94915
  );
94912
94916
  u.search = new URLSearchParams({
94913
94917
  mapId: a,
@@ -101951,7 +101955,7 @@ const qYt = (t, e) => (W7 != null || (Dw == null && globalThis.OffscreenCanvas !
101951
101955
  const n = {
101952
101956
  fit: "fit",
101953
101957
  ...r
101954
- }, i = "https://image-proxy.mappedin.com", o = nWt(e, n.fit), a = encodeURIComponent(t);
101958
+ }, i = "https://image-proxy-staging.mappedin.net", o = nWt(e, n.fit), a = encodeURIComponent(t);
101955
101959
  return `${i}/resize:${n.fit}:${o}:${o}:0/format:webp/max_bytes:5000000/plain/${a}`.replaceAll(/\/+/g, "/").replace("https:/", "https://").replace("http:/", "http://");
101956
101960
  }, iWt = (t, e) => {
101957
101961
  if (e == null || e === "")
@@ -107828,7 +107832,7 @@ class GJt {
107828
107832
  async init(e) {
107829
107833
  var i;
107830
107834
  this.container = e;
107831
- const r = this.rootStore.startupOptions.outdoorMapsKey ?? "zixaliyV5cGjHU", n = {
107835
+ const r = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", n = {
107832
107836
  // In campus mode, we need to load the outdoors first
107833
107837
  initialFloor: this.rootStore.isCampus ? this.rootStore.defaultFloor : this.rootStore.currentFloor,
107834
107838
  watermark: this.getWatermarkOptions(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.58.0",
3
+ "version": "0.58.1-64fd16e.0",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",