@expofp/floorplan 3.34.2 → 3.35.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 (90) hide show
  1. package/dist/browser/{Button-CNMjOvi_.js → Button-DfC_vCEY.js} +5 -5
  2. package/dist/browser/{CookieConsent-D41GkvnH.js → CookieConsent-zsJlyuvm.js} +7 -7
  3. package/dist/browser/{Debug-CmW7YX8I.js → Debug-DlxKJH4h.js} +7 -7
  4. package/dist/browser/{DebugTools-BiVg-I_r.js → DebugTools-DlmzS_VG.js} +45 -42
  5. package/dist/browser/{Demo-B4Cvydeo.js → Demo-Dvn0OVoH.js} +9 -9
  6. package/dist/browser/{Free-CjQjLOqF.js → Free-BlSArgWI.js} +9 -9
  7. package/dist/browser/{GalleryContainer-mw16bKBB.js → GalleryContainer-hIf9VfU3.js} +10 -10
  8. package/dist/browser/{GpsLoader-pVmQS4Cm.js → GpsLoader-BCwThbCM.js} +33 -33
  9. package/dist/browser/{KioskStore-sSfegCgB.js → KioskStore-CsXOhSMP.js} +9 -9
  10. package/dist/browser/{MaplibreAdapter-CdpX44KB.js → MaplibreAdapter-DWcvE2Ec.js} +921 -917
  11. package/dist/browser/{ModalContainer--UWO5EJt.js → ModalContainer-DxeKREfc.js} +10 -10
  12. package/dist/browser/{PermissionNotice-Dw32M81v.js → PermissionNotice-BxEbDltF.js} +6 -6
  13. package/dist/browser/{SetKioskMode-EltbU-EF.js → SetKioskMode-D3UABJpZ.js} +10 -10
  14. package/dist/browser/{ShowKiosk-BvGaVpGa.js → ShowKiosk-6mFmNpFm.js} +29 -29
  15. package/dist/browser/{ViewerMenuPanel-BEcomGU5.js → ViewerMenuPanel-BO_-7Y_i.js} +18 -18
  16. package/dist/browser/{add-debug-secret-listener-DzuQqBnc.js → add-debug-secret-listener-veloxngO.js} +1 -1
  17. package/dist/browser/{adopt-global-settings-BZ0kVMK5.js → adopt-global-settings-d5uyY5A6.js} +9 -9
  18. package/dist/browser/{boolean-editor-CEIoLj51.js → boolean-editor-gFxeiKz4.js} +9 -9
  19. package/dist/browser/{bootIntercom-Db9lsRTD.js → bootIntercom-C3QDF5oB.js} +2 -2
  20. package/dist/browser/bundle.json +69 -69
  21. package/dist/browser/{camera-events-02zSeTQ-.js → camera-events-C6Dmf2wR.js} +1 -1
  22. package/dist/browser/{classnames-CpaGYtKG.js → classnames-BS1IM9A-.js} +2 -2
  23. package/dist/browser/{client-hdZ-mqt7.js → client-ezZAHjfj.js} +5 -5
  24. package/dist/browser/{components-DwpPpajK.js → components-PA3hCLCa.js} +1814 -1818
  25. package/dist/browser/{debug-context-DB0NIlH9.js → debug-context-DiTR6Py6.js} +7 -7
  26. package/dist/browser/{debug-overlay-B4MTiAeZ.js → debug-overlay-DD5gUmO6.js} +10 -10
  27. package/dist/browser/{debug-ui-D4mq0ugA.js → debug-ui-CWBuocQN.js} +6 -6
  28. package/dist/browser/{dimming-BvAGMHKX.js → dimming-Ds9fAjfB.js} +311 -311
  29. package/dist/browser/{dist-GGfaJ3R1.js → dist-CQxqEb-6.js} +6 -6
  30. package/dist/browser/{dist-BjN1ZtXO.js → dist-D-q_r1-V.js} +5 -5
  31. package/dist/browser/{dist-DA_O1Tq9.js → dist-DBuzYqpa.js} +3 -3
  32. package/dist/browser/{efp-debug-init-DCZ0v67W.js → efp-debug-init-Co9uXMuX.js} +3 -3
  33. package/dist/browser/{enum-editor-D1zVwP8a.js → enum-editor-LWVu-JIK.js} +4 -4
  34. package/dist/browser/{es5-483Ipz8U.js → es5-DGb5TwpZ.js} +2 -2
  35. package/dist/browser/{event-not-found-DIS2DLhg.js → event-not-found-zFibfbER.js} +1 -1
  36. package/dist/browser/{exports-CNZZj_Q8.js → exports-B-6KjI9h.js} +1 -1
  37. package/dist/browser/{favicon-Bg6LMWEn.js → favicon-CWCPCNM-.js} +1 -1
  38. package/dist/browser/{fetch-retry.umd-DEbZQzJ3.js → fetch-retry.umd-kGON8ji6.js} +2 -2
  39. package/dist/browser/{flex-B9PF9U8h.js → flex-DqcWgHRa.js} +5 -5
  40. package/dist/browser/{floorplan.loader-G3m0klqz.js → floorplan.loader-BRvRi40U.js} +10 -10
  41. package/dist/browser/{floorplan.ready-CcBm3z9I.js → floorplan.ready-B9-MIw8B.js} +181 -181
  42. package/dist/browser/{fuse-Be1ke9wH.js → fuse-BXW5RuhW.js} +2 -2
  43. package/dist/browser/{i18n-892OGllH.js → i18n-D80X6LMz.js} +9 -7
  44. package/dist/browser/index.js +14 -14
  45. package/dist/browser/{index.module-DBPl3snb.js → index.module-DNr0maw3.js} +4 -4
  46. package/dist/browser/{integrateKiosk-Dau_WEaC.js → integrateKiosk-BL84U1ZL.js} +4 -4
  47. package/dist/browser/{is-webview-ElzsMr4s.js → is-webview-CA6ivKK_.js} +1 -1
  48. package/dist/browser/{jsx-runtime-BsOtCifA.js → jsx-runtime-BT50TP7_.js} +2 -2
  49. package/dist/browser/{kiosk-record-BTQRhXdb.js → kiosk-record-QoK8Mq08.js} +1 -1
  50. package/dist/browser/{lib-CurNQ8fT.js → lib-Dn401ByH.js} +3 -3
  51. package/dist/browser/{loadImage-wPuY8HVi.js → loadImage-BaHKwI_N.js} +4 -4
  52. package/dist/browser/{logDeviceInfo-bDJ_gaMR.js → logDeviceInfo-Btc7mU_S.js} +9 -9
  53. package/dist/browser/{mobx-CoCB6VaY.js → mobx-c2h1ijB_.js} +4 -4
  54. package/dist/browser/{optional-boolean-editor-WRwLbFlO.js → optional-boolean-editor-DkXbwHPW.js} +3 -3
  55. package/dist/browser/{optional-enum-editor-C1ENUhhf.js → optional-enum-editor-D6J8s67w.js} +4 -4
  56. package/dist/browser/{optional-string-editor-CNEl6U5Q.js → optional-string-editor-DvlDx9cr.js} +4 -4
  57. package/dist/browser/{particles.min-BRguaqtu.js → particles.min-BlF_1zig.js} +2 -2
  58. package/dist/browser/{react-BQN6EStf.js → react-CTNuj5uG.js} +2 -2
  59. package/dist/browser/{react-dom-C7Pf2opy.js → react-dom-Dd-QC57h.js} +3 -3
  60. package/dist/browser/{rolldown-runtime-DBeIQt3E.js → rolldown-runtime-BkVgj4VA.js} +1 -1
  61. package/dist/browser/{scheduler-cQidETRd.js → scheduler-BGogpU6B.js} +2 -2
  62. package/dist/browser/{select-CIJMgtRk.js → select-CNUhWDWs.js} +10 -10
  63. package/dist/browser/{settings-tf2xCh7a.js → settings-DNaOj9LN.js} +2 -2
  64. package/dist/browser/{settings-item-Dhd_mZVD.js → settings-item-Bb1ifzkN.js} +6 -6
  65. package/dist/browser/{store-DX_d1X7a.js → store-CpViG4ds.js} +6347 -5720
  66. package/dist/browser/{string-editor-CwZhPArg.js → string-editor-BwfOcpmc.js} +4 -4
  67. package/dist/browser/{text-field-DbPC6Ytx.js → text-field-BS3w11vk.js} +5 -5
  68. package/dist/browser/{theme-EiHUjgfX.js → theme-jH8ml6K6.js} +8 -8
  69. package/dist/browser/{ui-BCJ-P-pD.js → ui-Bbl-WJZx.js} +8 -8
  70. package/dist/browser/{useRenderTarget-DkMzI2QA.js → useRenderTarget-BX8tGScr.js} +4 -4
  71. package/dist/browser/{viewport-BldgkO7x.js → viewport-COvScbd2.js} +3 -3
  72. package/dist/esm/components/Kiosk/ShowKiosk.d.ts +1 -2
  73. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  74. package/dist/esm/components/Kiosk/kiosk-mode.d.ts +26 -0
  75. package/dist/esm/components/Kiosk/kiosk-mode.js +1 -1
  76. package/dist/esm/components/Map/Map.js +1 -1
  77. package/dist/esm/components/Map/MapCamera.js +1 -1
  78. package/dist/esm/components/Maplibre/MaplibreAdapter.d.ts +2 -2
  79. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  80. package/dist/esm/components/Maplibre/MaplibreWrapper.d.ts +17 -7
  81. package/dist/esm/components/Maplibre/MaplibreWrapper.js +1 -1
  82. package/dist/esm/components/Maplibre/utils/map-helpers.d.ts +14 -3
  83. package/dist/esm/components/Maplibre/utils/map-helpers.js +1 -1
  84. package/dist/esm/store/MaplibreStore.js +1 -1
  85. package/dist/esm/store/UIState.d.ts +49 -3
  86. package/dist/esm/store/UIState.js +1 -1
  87. package/dist/esm/store/init/init-ui.js +1 -1
  88. package/dist/esm/store/types.d.ts +12 -0
  89. package/dist/esm/utils/camera-map-settings.js +1 -1
  90. package/package.json +10 -10
@@ -2,15 +2,15 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.34.2" };
5
+ e.SENTRY_RELEASE = { id: "3.35.0" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "adb35caa-fded-489c-9b49-60b7fe579547", e._sentryDebugIdIdentifier = "sentry-dbid-adb35caa-fded-489c-9b49-60b7fe579547");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-DBeIQt3E.js";
11
- import { t } from "./react-BQN6EStf.js";
12
- import { t as n } from "./jsx-runtime-BsOtCifA.js";
13
- import { t as r } from "./classnames-CpaGYtKG.js";
10
+ import { r as e } from "./rolldown-runtime-BkVgj4VA.js";
11
+ import { t } from "./react-CTNuj5uG.js";
12
+ import { t as n } from "./jsx-runtime-BT50TP7_.js";
13
+ import { t as r } from "./classnames-BS1IM9A-.js";
14
14
  //#region ../ui/src/components/Button/Button.tsx
15
15
  var i = /* @__PURE__ */ e(r(), 1);
16
16
  t();
@@ -1,17 +1,17 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.34.2" };
4
+ e.SENTRY_RELEASE = { id: "3.35.0" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "af08fe57-66a1-4cec-904b-278bbd7de241", e._sentryDebugIdIdentifier = "sentry-dbid-af08fe57-66a1-4cec-904b-278bbd7de241");
7
7
  } catch {}
8
8
  })();
9
- import { n as e } from "./rolldown-runtime-DBeIQt3E.js";
10
- import { s as t } from "./i18n-892OGllH.js";
11
- import { t as n } from "./react-BQN6EStf.js";
12
- import { t as r } from "./jsx-runtime-BsOtCifA.js";
13
- import { t as i } from "./PermissionNotice-Dw32M81v.js";
14
- import { t as a } from "./index.module-DBPl3snb.js";
9
+ import { n as e } from "./rolldown-runtime-BkVgj4VA.js";
10
+ import { s as t } from "./i18n-D80X6LMz.js";
11
+ import { t as n } from "./react-CTNuj5uG.js";
12
+ import { t as r } from "./jsx-runtime-BT50TP7_.js";
13
+ import { t as i } from "./PermissionNotice-BxEbDltF.js";
14
+ import { t as a } from "./index.module-DNr0maw3.js";
15
15
  //#region src/components/CookieConsent.tsx
16
16
  var o = /* @__PURE__ */ e({ default: () => c });
17
17
  n();
@@ -2,17 +2,17 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.34.2" };
5
+ e.SENTRY_RELEASE = { id: "3.35.0" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6d3a652b-46b8-4255-a449-2528c46936b1", e._sentryDebugIdIdentifier = "sentry-dbid-6d3a652b-46b8-4255-a449-2528c46936b1");
8
8
  } catch {}
9
9
  })();
10
- import "./rolldown-runtime-DBeIQt3E.js";
11
- import { s as e } from "./i18n-892OGllH.js";
12
- import { t } from "./react-BQN6EStf.js";
13
- import { t as n } from "./jsx-runtime-BsOtCifA.js";
14
- import { c as r, l as i } from "./store-DX_d1X7a.js";
15
- import { r as a } from "./index.module-DBPl3snb.js";
10
+ import "./rolldown-runtime-BkVgj4VA.js";
11
+ import { s as e } from "./i18n-D80X6LMz.js";
12
+ import { t } from "./react-CTNuj5uG.js";
13
+ import { t as n } from "./jsx-runtime-BT50TP7_.js";
14
+ import { c as r, l as i } from "./store-CpViG4ds.js";
15
+ import { r as a } from "./index.module-DNr0maw3.js";
16
16
  t();
17
17
  var o = [], s = n();
18
18
  function c() {
@@ -2,16 +2,16 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.34.2" };
5
+ e.SENTRY_RELEASE = { id: "3.35.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cb12dfe6-5a24-4e71-93bb-fc283ed63953", e._sentryDebugIdIdentifier = "sentry-dbid-cb12dfe6-5a24-4e71-93bb-fc283ed63953");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b7e92142-5666-4184-8d93-2768f952d27e", e._sentryDebugIdIdentifier = "sentry-dbid-b7e92142-5666-4184-8d93-2768f952d27e");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-DBeIQt3E.js";
11
- import { t } from "./react-BQN6EStf.js";
12
- import { t as n } from "./jsx-runtime-BsOtCifA.js";
13
- import { t as r } from "./client-hdZ-mqt7.js";
14
- import { c as i, n as a, t as o, x as s, y as c } from "./debug-context-DB0NIlH9.js";
10
+ import { r as e } from "./rolldown-runtime-BkVgj4VA.js";
11
+ import { t } from "./react-CTNuj5uG.js";
12
+ import { t as n } from "./jsx-runtime-BT50TP7_.js";
13
+ import { t as r } from "./client-ezZAHjfj.js";
14
+ import { c as i, n as a, t as o, x as s, y as c } from "./debug-context-DiTR6Py6.js";
15
15
  //#region ../../node_modules/.pnpm/webgl-memory@1.1.3/node_modules/webgl-memory/webgl-memory.js
16
16
  var l = s();
17
17
  (function(e) {
@@ -1154,15 +1154,18 @@ var N = !1, P = class e {
1154
1154
  //#endregion
1155
1155
  //#region ../renderer/src/debug/components/Gui.tsx
1156
1156
  function F(e) {
1157
- let t = (0, l.c)(6), { children: n } = e, [r] = (0, u.useState)(I), i, o;
1158
- t[0] === r ? (i = t[1], o = t[2]) : (i = () => (r.domElement.classList.add("lil-auto-place", "autoPlace"), document.body.appendChild(r.domElement), r.close(), () => r.destroy()), o = [r], t[0] = r, t[1] = i, t[2] = o), (0, u.useEffect)(i, o);
1159
- let s;
1160
- return t[3] !== n || t[4] !== r ? (s = /* @__PURE__ */ (0, p.jsx)(a, {
1157
+ let t = (0, l.c)(7), { children: n } = e, [r] = (0, u.useState)(L), i = c(I), o, s;
1158
+ t[0] !== r || t[1] !== i ? (o = () => (r.domElement.classList.add("lil-auto-place", "autoPlace"), document.body.appendChild(r.domElement), r.close(), r.onChange(() => i()), () => r.destroy()), s = [r, i], t[0] = r, t[1] = i, t[2] = o, t[3] = s) : (o = t[2], s = t[3]), (0, u.useEffect)(o, s);
1159
+ let d;
1160
+ return t[4] !== n || t[5] !== r ? (d = /* @__PURE__ */ (0, p.jsx)(a, {
1161
1161
  value: r,
1162
1162
  children: n
1163
- }), t[3] = n, t[4] = r, t[5] = s) : s = t[5], s;
1163
+ }), t[4] = n, t[5] = r, t[6] = d) : d = t[6], d;
1164
+ }
1165
+ function I(e) {
1166
+ return e.invalidate;
1164
1167
  }
1165
- function I() {
1168
+ function L() {
1166
1169
  return new P({
1167
1170
  autoPlace: !1,
1168
1171
  closeFolders: !0
@@ -1170,8 +1173,8 @@ function I() {
1170
1173
  }
1171
1174
  //#endregion
1172
1175
  //#region ../renderer/src/debug/components/MemoryInfo.tsx
1173
- function L() {
1174
- let e = (0, l.c)(5), t = c(R), [n, r] = (0, u.useState)(null), a, o;
1176
+ function R() {
1177
+ let e = (0, l.c)(5), t = c(z), [n, r] = (0, u.useState)(null), a, o;
1175
1178
  e[0] === t ? (a = e[1], o = e[2]) : (a = () => {
1176
1179
  let e = t.getContext().getExtension("GMAN_webgl_memory");
1177
1180
  if (e) return i(() => {
@@ -1186,18 +1189,18 @@ function L() {
1186
1189
  corner: "left",
1187
1190
  label: "Memory Info",
1188
1191
  value: n,
1189
- replacer: z
1192
+ replacer: B
1190
1193
  }), e[3] = n, e[4] = s), s;
1191
1194
  }
1192
- function R(e) {
1195
+ function z(e) {
1193
1196
  return e.gl;
1194
1197
  }
1195
- function z(e, t) {
1198
+ function B(e, t) {
1196
1199
  return typeof t == "number" ? t.toLocaleString() : t;
1197
1200
  }
1198
1201
  //#endregion
1199
1202
  //#region ../../node_modules/.pnpm/stats-gl@4.2.3_three@0.185.1/node_modules/stats-gl/dist/core.js
1200
- var B = class {
1203
+ var V = class {
1201
1204
  constructor({ trackGPU: e = !1, trackCPT: t = !1, trackHz: n = !1, trackFPS: r = !0, logsPerSecond: i = 4, graphsPerSecond: a = 30, samplesLog: o = 40, samplesGraph: s = 10, precision: c = 2, maxTimestampPairs: l = 2048 } = {}) {
1202
1205
  this.gl = null, this.ext = null, this.gpuDevice = null, this.gpuBackend = null, this.renderer = null, this.activeQuery = null, this.gpuQueries = [], this.threeRendererPatched = !1, this.maxTimestampPairs = 2048, this.webgpuNative = !1, this.gpuQuerySet = null, this.gpuResolveBuffer = null, this.gpuTimestampBufferSize = 0, this.frameCursor = 0, this.slotTypes = [], this.readBufferPool = [], this.inFlightFrames = [], this.poolWarnThreshold = 8, this.warnedMapError = !1, this.warnedSlotOverflow = !1, this.warnedPoolGrowth = !1, this.frameTimes = [], this.frameTimesHead = 0, this.renderCount = 0, this.cpuStartTime = 0, this.isRunningCPUProfiling = !1, this.totalCpuDuration = 0, this.totalGpuDuration = 0, this.totalGpuDurationCompute = 0, this.averageFps = {
1203
1206
  logs: [],
@@ -1411,7 +1414,7 @@ var B = class {
1411
1414
  for (let e of this.readBufferPool) e.destroy();
1412
1415
  this.readBufferPool.length = 0, this.frameCursor = 0, this.slotTypes.length = 0, this.gpuTimestampBufferSize = 0, this.warnedMapError = !1, this.warnedSlotOverflow = !1, this.warnedPoolGrowth = !1, this.webgpuNative = !1, this.gl = null, this.ext = null, this.info = void 0, this.gpuDevice = null, this.gpuBackend = null, this.renderer = null, this.frameTimes.length = 0, this.frameTimesHead = 0, this.averageFps.logs.length = 0, this.averageFps.graph.length = 0, this.averageCpu.logs.length = 0, this.averageCpu.graph.length = 0, this.averageGpu.logs.length = 0, this.averageGpu.graph.length = 0, this.averageGpuCompute.logs.length = 0, this.averageGpuCompute.graph.length = 0;
1413
1416
  }
1414
- }, V = class {
1417
+ }, H = class {
1415
1418
  constructor(e, t, n) {
1416
1419
  this.id = 0, this.name = e, this.fg = t, this.bg = n, this.gradient = null, this.PR = Math.round(typeof window < "u" && window.devicePixelRatio || 1), this.WIDTH = 90 * this.PR, this.HEIGHT = 48 * this.PR, this.TEXT_X = 3 * this.PR, this.TEXT_Y = 2 * this.PR, this.GRAPH_X = 3 * this.PR, this.GRAPH_Y = 15 * this.PR, this.GRAPH_WIDTH = 84 * this.PR, this.GRAPH_HEIGHT = 30 * this.PR, this.canvas = typeof document < "u" ? document.createElement("canvas") : new OffscreenCanvas(this.WIDTH, this.HEIGHT), this.canvas.width = this.WIDTH, this.canvas.height = this.HEIGHT, this.canvas.style.width = "90px", this.canvas.style.height = "48px", this.canvas.style.position = "absolute", this.canvas.style.cssText = "width:90px;height:48px;background-color: transparent !important;", this.context = this.canvas.getContext("2d"), this.initializeCanvas();
1417
1420
  }
@@ -1457,7 +1460,7 @@ var B = class {
1457
1460
  let s = Math.min(a, Math.round(e / t * a));
1458
1461
  s > 0 && (this.context.globalAlpha = .9, this.context.fillStyle = this.gradient, this.context.fillRect(n + i - o, r + (a - s), o, s)), this.context.globalAlpha = 1;
1459
1462
  }
1460
- }, H = class extends V {
1463
+ }, U = class extends H {
1461
1464
  constructor(e, t, n) {
1462
1465
  super(e, t, n), this.vsyncValue = 0, this.SMALL_HEIGHT = 9 * this.PR, this.HEIGHT = this.SMALL_HEIGHT, this.WIDTH = 35 * this.PR, this.TEXT_Y = 0 * this.PR, this.canvas.height = this.HEIGHT, this.canvas.width = this.WIDTH, this.canvas.style.height = "9px", this.canvas.style.width = "35px", this.canvas.style.cssText = "\n width: 35px;\n height: 9px;\n position: absolute;\n top: 0;\n left: 0;\n background-color: transparent !important;\n pointer-events: none;\n ", this.initializeCanvas();
1463
1466
  }
@@ -1471,7 +1474,7 @@ var B = class {
1471
1474
  setOffset(e, t) {
1472
1475
  this.canvas.style.transform = `translate(${e}px, ${t}px)`;
1473
1476
  }
1474
- }, U = class extends V {
1477
+ }, W = class extends H {
1475
1478
  constructor(e) {
1476
1479
  super(e, "#fff", "#111"), this.currentBitmap = null, this.sourceAspect = 1, this.initializeCanvas();
1477
1480
  }
@@ -1498,7 +1501,7 @@ var B = class {
1498
1501
  dispose() {
1499
1502
  this.currentBitmap && (this.currentBitmap.close(), this.currentBitmap = null);
1500
1503
  }
1501
- }, W = class {
1504
+ }, G = class {
1502
1505
  constructor(e, t = 90, n = 48) {
1503
1506
  this.previewFbo = null, this.previewTexture = null, this.gl = e, this.previewWidth = t, this.previewHeight = n, this.pixels = new Uint8Array(t * n * 4), this.flippedPixels = new Uint8Array(t * n * 4), this.initResources();
1504
1507
  }
@@ -1528,7 +1531,7 @@ var B = class {
1528
1531
  let e = this.gl;
1529
1532
  this.previewFbo && (e.deleteFramebuffer(this.previewFbo), this.previewFbo = null), this.previewTexture && (e.deleteTexture(this.previewTexture), this.previewTexture = null);
1530
1533
  }
1531
- }, G = class {
1534
+ }, K = class {
1532
1535
  constructor(e, t = 90, n = 48) {
1533
1536
  this.previewTexture = null, this.stagingBuffer = null, this.blitPipeline = null, this.sampler = null, this.bindGroupLayout = null, this.initialized = !1, this.device = e, this.previewWidth = t, this.previewHeight = n, this.pixelsBuffer = new Uint8ClampedArray(t * n * 4);
1534
1537
  }
@@ -1625,14 +1628,14 @@ var B = class {
1625
1628
  this.previewTexture && this.previewTexture.destroy(), this.stagingBuffer && this.stagingBuffer.destroy(), this.previewTexture = null, this.stagingBuffer = null, this.blitPipeline = null, this.sampler = null, this.bindGroupLayout = null, this.initialized = !1;
1626
1629
  }
1627
1630
  };
1628
- function K(e, t) {
1631
+ function q(e, t) {
1629
1632
  return e.isWebGLRenderTarget && e.__webglFramebuffer ? {
1630
1633
  framebuffer: e.__webglFramebuffer,
1631
1634
  width: e.width || 1,
1632
1635
  height: e.height || 1
1633
1636
  } : null;
1634
1637
  }
1635
- function q(e, t) {
1638
+ function J(e, t) {
1636
1639
  if (e.isRenderTarget && e.texture && t.get) {
1637
1640
  let n = t.get(e.texture);
1638
1641
  return (n == null ? void 0 : n.texture) || null;
@@ -1641,7 +1644,7 @@ function q(e, t) {
1641
1644
  }
1642
1645
  //#endregion
1643
1646
  //#region ../../node_modules/.pnpm/stats-gl@4.2.3_three@0.185.1/node_modules/stats-gl/dist/main.js
1644
- var J = class e extends B {
1647
+ var Y = class e extends V {
1645
1648
  constructor({ trackGPU: t = !1, trackCPT: n = !1, trackHz: r = !1, trackFPS: i = !0, logsPerSecond: a = 4, graphsPerSecond: o = 30, samplesLog: s = 40, samplesGraph: c = 10, precision: l = 2, minimal: u = !1, horizontal: d = !0, mode: f = 0 } = {}) {
1646
1649
  super({
1647
1650
  trackGPU: t,
@@ -1689,7 +1692,7 @@ var J = class e extends B {
1689
1692
  e.preventDefault(), this.showPanel(++this.mode % this.dom.children.length);
1690
1693
  }, this.handleResize = () => {
1691
1694
  this.fpsPanel && this.resizePanel(this.fpsPanel), this.msPanel && this.resizePanel(this.msPanel), this.workerCpuPanel && this.resizePanel(this.workerCpuPanel), this.gpuPanel && this.resizePanel(this.gpuPanel), this.gpuPanelCompute && this.resizePanel(this.gpuPanelCompute);
1692
- }, this.mode = f, this.horizontal = d, this.minimal = u, this.dom = document.createElement("div"), this.initializeDOM(), this._panelId = 0, this.trackFPS && (this.fpsPanel = this.addPanel(new e.Panel("FPS", "#0ff", "#002")), this.msPanel = this.addPanel(new e.Panel("CPU", "#0f0", "#020"))), this.trackGPU && (this.gpuPanel = this.addPanel(new e.Panel("GPU", "#ff0", "#220"))), this.trackCPT && (this.gpuPanelCompute = this.addPanel(new e.Panel("CPT", "#e1e1e1", "#212121"))), this.trackHz === !0 && (this.vsyncPanel = new H("", "#f0f", "#202"), this.dom.appendChild(this.vsyncPanel.canvas), this.vsyncPanel.setOffset(56, 35)), this.setupEventListeners();
1695
+ }, this.mode = f, this.horizontal = d, this.minimal = u, this.dom = document.createElement("div"), this.initializeDOM(), this._panelId = 0, this.trackFPS && (this.fpsPanel = this.addPanel(new e.Panel("FPS", "#0ff", "#002")), this.msPanel = this.addPanel(new e.Panel("CPU", "#0f0", "#020"))), this.trackGPU && (this.gpuPanel = this.addPanel(new e.Panel("GPU", "#ff0", "#220"))), this.trackCPT && (this.gpuPanelCompute = this.addPanel(new e.Panel("CPT", "#e1e1e1", "#212121"))), this.trackHz === !0 && (this.vsyncPanel = new U("", "#f0f", "#202"), this.dom.appendChild(this.vsyncPanel.canvas), this.vsyncPanel.setOffset(56, 35)), this.setupEventListeners();
1693
1696
  }
1694
1697
  initializeDOM() {
1695
1698
  this.dom.style.cssText = `
@@ -1772,14 +1775,14 @@ var J = class e extends B {
1772
1775
  }
1773
1776
  addTexturePanel(e) {
1774
1777
  this.texturePanelRow || (this.texturePanelRow = document.createElement("div"), this.texturePanelRow.style.cssText = "\n position: absolute;\n top: 48px;\n left: 0;\n display: flex;\n flex-direction: row;\n ", this.dom.appendChild(this.texturePanelRow));
1775
- let t = new U(e);
1778
+ let t = new W(e);
1776
1779
  return t.canvas.style.position = "relative", t.canvas.style.left = "", t.canvas.style.top = "", this.texturePanelRow.appendChild(t.canvas), this.texturePanels.set(e, t), t;
1777
1780
  }
1778
1781
  setTexture(e, t) {
1779
- this.updateTexturePreviewDimensions(), this.gl && !this.textureCaptureWebGL && (this.textureCaptureWebGL = new W(this.gl, this.texturePreviewWidth, this.texturePreviewHeight)), this.gpuDevice && !this.textureCaptureWebGPU && (this.textureCaptureWebGPU = new G(this.gpuDevice, this.texturePreviewWidth, this.texturePreviewHeight));
1782
+ this.updateTexturePreviewDimensions(), this.gl && !this.textureCaptureWebGL && (this.textureCaptureWebGL = new G(this.gl, this.texturePreviewWidth, this.texturePreviewHeight)), this.gpuDevice && !this.textureCaptureWebGPU && (this.textureCaptureWebGPU = new K(this.gpuDevice, this.texturePreviewWidth, this.texturePreviewHeight));
1780
1783
  let n = this.texturePanels.get(e);
1781
1784
  if (t.isWebGLRenderTarget && this.gl) {
1782
- let r = K(t, this.gl);
1785
+ let r = q(t, this.gl);
1783
1786
  r && (this.textureSourcesWebGL.set(e, {
1784
1787
  target: t,
1785
1788
  ...r
@@ -1787,7 +1790,7 @@ var J = class e extends B {
1787
1790
  return;
1788
1791
  }
1789
1792
  if (t.isRenderTarget && this.gpuBackend) {
1790
- let r = q(t, this.gpuBackend);
1793
+ let r = J(t, this.gpuBackend);
1791
1794
  r && (this.textureSourcesWebGPU.set(e, r), n && t.width && t.height && n.setSourceSize(t.width, t.height));
1792
1795
  return;
1793
1796
  }
@@ -1797,7 +1800,7 @@ var J = class e extends B {
1797
1800
  }
1798
1801
  }
1799
1802
  setTextureWebGL(e, t, n, r) {
1800
- this.updateTexturePreviewDimensions(), this.gl && !this.textureCaptureWebGL && (this.textureCaptureWebGL = new W(this.gl, this.texturePreviewWidth, this.texturePreviewHeight)), this.textureSourcesWebGL.set(e, {
1803
+ this.updateTexturePreviewDimensions(), this.gl && !this.textureCaptureWebGL && (this.textureCaptureWebGL = new G(this.gl, this.texturePreviewWidth, this.texturePreviewHeight)), this.textureSourcesWebGL.set(e, {
1801
1804
  target: { isWebGLRenderTarget: !0 },
1802
1805
  framebuffer: t,
1803
1806
  width: n,
@@ -1888,14 +1891,14 @@ var J = class e extends B {
1888
1891
  this.texturePanelRow && (this.texturePanelRow.remove(), this.texturePanelRow = null), this.dom.remove(), this.fpsPanel = null, this.msPanel = null, this.gpuPanel = null, this.gpuPanelCompute = null, this.vsyncPanel = null, this.workerCpuPanel = null, this.frameTimeHistory.length = 0, this.averageWorkerCpu.logs.length = 0, this.averageWorkerCpu.graph.length = 0, super.dispose();
1889
1892
  }
1890
1893
  };
1891
- J.Panel = V, J.PanelTexture = U;
1892
- var Y = J;
1894
+ Y.Panel = H, Y.PanelTexture = W;
1895
+ var X = Y;
1893
1896
  //#endregion
1894
1897
  //#region ../renderer/src/debug/components/Stats.tsx
1895
- function X() {
1896
- let e = (0, l.c)(3), t = c(Z), n, r;
1898
+ function Z() {
1899
+ let e = (0, l.c)(3), t = c(Q), n, r;
1897
1900
  return e[0] === t ? (n = e[1], r = e[2]) : (n = () => {
1898
- let e = new Y({
1901
+ let e = new X({
1899
1902
  trackGPU: !0,
1900
1903
  trackHz: !0
1901
1904
  });
@@ -1906,14 +1909,14 @@ function X() {
1906
1909
  };
1907
1910
  }, r = [t], e[0] = t, e[1] = n, e[2] = r), (0, u.useEffect)(n, r), null;
1908
1911
  }
1909
- function Z(e) {
1912
+ function Q(e) {
1910
1913
  return e.gl;
1911
1914
  }
1912
1915
  //#endregion
1913
1916
  //#region ../renderer/src/debug/components/DebugTools.tsx
1914
- function Q(e) {
1917
+ function $(e) {
1915
1918
  let t = (0, l.c)(4), { children: n } = e, r, i;
1916
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, p.jsx)(X, {}), i = /* @__PURE__ */ (0, p.jsx)(L, {}), t[0] = r, t[1] = i) : (r = t[0], i = t[1]);
1919
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, p.jsx)(Z, {}), i = /* @__PURE__ */ (0, p.jsx)(R, {}), t[0] = r, t[1] = i) : (r = t[0], i = t[1]);
1917
1920
  let a;
1918
1921
  return t[2] === n ? a = t[3] : (a = /* @__PURE__ */ (0, p.jsx)(F, { children: /* @__PURE__ */ (0, p.jsxs)(v, { children: [
1919
1922
  n,
@@ -1922,7 +1925,7 @@ function Q(e) {
1922
1925
  ] }) }), t[2] = n, t[3] = a), a;
1923
1926
  }
1924
1927
  //#endregion
1925
- export { Q as DebugTools };
1928
+ export { $ as DebugTools };
1926
1929
 
1927
1930
  ;/* vite-per-chunk-css */
1928
1931
  __vite_inject_css__("._info_hhyz2_1{color:#fff;white-space:pre;padding:.5em;font-family:monospace;line-height:1.5}._toggle_hhyz2_9{color:#ebebeb;cursor:pointer;background:#111;border:none;height:25px;padding:0 4px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-size:11px;font-weight:600;transition:background .2s}._toggle_hhyz2_9:hover{opacity:.85}._container_hhyz2_26{z-index:1;background:#1f1f1fa0;flex-direction:column-reverse;align-items:stretch;width:250px;display:flex;position:absolute;bottom:0}._left_hhyz2_40{left:0}._right_hhyz2_44{width:350px;right:0}\n/*$vite$:1*/", "DebugTools.css", true);
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.34.2" };
5
+ e.SENTRY_RELEASE = { id: "3.35.0" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0a1822a2-376c-4ada-9654-0895930e00ad", e._sentryDebugIdIdentifier = "sentry-dbid-0a1822a2-376c-4ada-9654-0895930e00ad");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-DBeIQt3E.js";
11
- import { s as n } from "./i18n-892OGllH.js";
12
- import { t as r } from "./react-BQN6EStf.js";
13
- import { t as i } from "./jsx-runtime-BsOtCifA.js";
14
- import { t as a } from "./classnames-CpaGYtKG.js";
15
- import { l as o } from "./store-DX_d1X7a.js";
16
- import { n as s, r as c } from "./index.module-DBPl3snb.js";
17
- import { n as l } from "./mobx-CoCB6VaY.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-BkVgj4VA.js";
11
+ import { s as n } from "./i18n-D80X6LMz.js";
12
+ import { t as r } from "./react-CTNuj5uG.js";
13
+ import { t as i } from "./jsx-runtime-BT50TP7_.js";
14
+ import { t as a } from "./classnames-BS1IM9A-.js";
15
+ import { l as o } from "./store-CpViG4ds.js";
16
+ import { n as s, r as c } from "./index.module-DNr0maw3.js";
17
+ import { n as l } from "./mobx-c2h1ijB_.js";
18
18
  //#region src/components/Demo.tsx
19
19
  var u = /* @__PURE__ */ e({ default: () => m }), d = /* @__PURE__ */ t(a(), 1);
20
20
  r();
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.34.2" };
5
+ e.SENTRY_RELEASE = { id: "3.35.0" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "967aa700-1db2-403f-8666-e0a5b095a2cd", e._sentryDebugIdIdentifier = "sentry-dbid-967aa700-1db2-403f-8666-e0a5b095a2cd");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-DBeIQt3E.js";
11
- import { s as t } from "./i18n-892OGllH.js";
12
- import { t as n } from "./react-BQN6EStf.js";
13
- import { t as r } from "./jsx-runtime-BsOtCifA.js";
14
- import { t as i } from "./classnames-CpaGYtKG.js";
15
- import { h as a, l as o, m as s } from "./store-DX_d1X7a.js";
16
- import { n as c, r as l } from "./index.module-DBPl3snb.js";
17
- import { n as u } from "./mobx-CoCB6VaY.js";
10
+ import { r as e } from "./rolldown-runtime-BkVgj4VA.js";
11
+ import { s as t } from "./i18n-D80X6LMz.js";
12
+ import { t as n } from "./react-CTNuj5uG.js";
13
+ import { t as r } from "./jsx-runtime-BT50TP7_.js";
14
+ import { t as i } from "./classnames-BS1IM9A-.js";
15
+ import { h as a, l as o, m as s } from "./store-CpViG4ds.js";
16
+ import { n as c, r as l } from "./index.module-DNr0maw3.js";
17
+ import { n as u } from "./mobx-c2h1ijB_.js";
18
18
  //#region src/components/Free.tsx
19
19
  var d = /* @__PURE__ */ e(i(), 1);
20
20
  n();
@@ -2,20 +2,20 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.34.2" };
5
+ e.SENTRY_RELEASE = { id: "3.35.0" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1c0417d9-03c3-4d3d-8589-94f3614c2cdd", e._sentryDebugIdIdentifier = "sentry-dbid-1c0417d9-03c3-4d3d-8589-94f3614c2cdd");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-DBeIQt3E.js";
11
- import { s as n } from "./i18n-892OGllH.js";
12
- import { t as r } from "./react-BQN6EStf.js";
13
- import { t as i } from "./jsx-runtime-BsOtCifA.js";
14
- import { t as a } from "./loadImage-wPuY8HVi.js";
15
- import { t as o } from "./react-dom-C7Pf2opy.js";
16
- import { t as s } from "./classnames-CpaGYtKG.js";
17
- import { n as c, t as l } from "./useRenderTarget-DkMzI2QA.js";
18
- import { t as u } from "./index.module-DBPl3snb.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-BkVgj4VA.js";
11
+ import { s as n } from "./i18n-D80X6LMz.js";
12
+ import { t as r } from "./react-CTNuj5uG.js";
13
+ import { t as i } from "./jsx-runtime-BT50TP7_.js";
14
+ import { t as a } from "./loadImage-BaHKwI_N.js";
15
+ import { t as o } from "./react-dom-Dd-QC57h.js";
16
+ import { t as s } from "./classnames-BS1IM9A-.js";
17
+ import { n as c, t as l } from "./useRenderTarget-BX8tGScr.js";
18
+ import { t as u } from "./index.module-DNr0maw3.js";
19
19
  //#region ../ui/src/components/Gallery/GalleryBadges/GalleryBadges.tsx
20
20
  var d = /* @__PURE__ */ t(r(), 1), f = /* @__PURE__ */ t(s(), 1), p = i(), m = ({ count: e, fullscreenLabel: t, onFullscreen: n }) => /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("div", {
21
21
  className: "efp-gallery__badge efp-gallery__badge-count",
@@ -1,20 +1,20 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.34.2" };
4
+ e.SENTRY_RELEASE = { id: "3.35.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bf28cd70-fb60-4382-aa91-43e1c2ce421d", e._sentryDebugIdIdentifier = "sentry-dbid-bf28cd70-fb60-4382-aa91-43e1c2ce421d");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9a8efd93-85d3-4777-8d37-221ba65b672f", e._sentryDebugIdIdentifier = "sentry-dbid-9a8efd93-85d3-4777-8d37-221ba65b672f");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DBeIQt3E.js";
10
- import { q as t, s as n } from "./i18n-892OGllH.js";
11
- import { t as r } from "./react-BQN6EStf.js";
12
- import { t as i } from "./jsx-runtime-BsOtCifA.js";
13
- import { r as a } from "./loadImage-wPuY8HVi.js";
14
- import { Bt as o, S as s, c, wn as l } from "./store-DX_d1X7a.js";
15
- import { t as u } from "./PermissionNotice-Dw32M81v.js";
16
- import { t as d } from "./index.module-DBPl3snb.js";
17
- import { i as f } from "./mobx-CoCB6VaY.js";
9
+ import { r as e } from "./rolldown-runtime-BkVgj4VA.js";
10
+ import { q as t, s as n } from "./i18n-D80X6LMz.js";
11
+ import { t as r } from "./react-CTNuj5uG.js";
12
+ import { t as i } from "./jsx-runtime-BT50TP7_.js";
13
+ import { r as a } from "./loadImage-BaHKwI_N.js";
14
+ import { S as o, Tn as s, Vt as c, c as l } from "./store-CpViG4ds.js";
15
+ import { t as u } from "./PermissionNotice-BxEbDltF.js";
16
+ import { t as d } from "./index.module-DNr0maw3.js";
17
+ import { i as f } from "./mobx-c2h1ijB_.js";
18
18
  //#region src/components/gps/GpsPermissionRequest.tsx
19
19
  var p = /* @__PURE__ */ e(r(), 1), m = i(), h = d(function({ isOpen: e, onAllow: t, onCancel: r }) {
20
20
  return e ? /* @__PURE__ */ (0, m.jsx)(u, {
@@ -30,26 +30,26 @@ function g(e) {
30
30
  return Math.floor(e);
31
31
  }
32
32
  function _(e, t) {
33
- return l(e, t) >= 3 || e.heading !== t.heading;
33
+ return s(e, t) >= 3 || e.heading !== t.heading;
34
34
  }
35
35
  //#endregion
36
36
  //#region src/components/gps/useUserLocationAndHeading.ts
37
37
  var v = 120, y = 3e3, b = 360;
38
38
  function x(e) {
39
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
39
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), r = (0, p.useRef)(0), i = (0, p.useRef)(null), o = (0, p.useRef)(!1), c = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
40
40
  let t = Date.now();
41
41
  if (t - r.current < v) return;
42
42
  let n = i.current;
43
- if (!s.current) {
44
- s.current = e, r.current = t, i.current = e, d(e);
43
+ if (!c.current) {
44
+ c.current = e, r.current = t, i.current = e, d(e);
45
45
  return;
46
46
  }
47
- let a = l(s.current, e), o;
48
- c.current ? a <= 3 ? (c.current = !1, s.current = e, o = {
49
- ...s.current,
47
+ let a = s(c.current, e), o;
48
+ l.current ? a <= 3 ? (l.current = !1, c.current = e, o = {
49
+ ...c.current,
50
50
  heading: e.heading
51
- }) : (s.current = e, o = e) : a >= 3 ? (c.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > y && (s.current = e), o = {
52
- ...s.current,
51
+ }) : (c.current = e, o = e) : a >= 3 ? (l.current = !0, c.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > y && (c.current = e), o = {
52
+ ...c.current,
53
53
  heading: e.heading
54
54
  }), !(n && !_(n, o)) && (r.current = t, i.current = o, d(o));
55
55
  }, m = (0, p.useCallback)((e) => {
@@ -79,7 +79,7 @@ function x(e) {
79
79
  o.current || (o.current = !0, window.addEventListener("deviceorientation", m, !0));
80
80
  },
81
81
  stopGeolocation: () => {
82
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
82
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), c.current = null, l.current = !1;
83
83
  },
84
84
  stopOrientation: () => {
85
85
  o.current = !1, window.removeEventListener("deviceorientation", m, !0);
@@ -88,8 +88,8 @@ function x(e) {
88
88
  }
89
89
  //#endregion
90
90
  //#region src/components/gps/GpsManager.tsx
91
- function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: s = !0 }) {
92
- let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
91
+ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: r = "compass-permission-granted", requestCompass: i = !0, requestCompassAllowed: o = !0 }) {
92
+ let { startOrientation: s, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = x(e), [f, g] = (0, p.useState)(!1), [_, v] = (0, p.useState)(!1);
93
93
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
94
94
  g(!0), l();
95
95
  }, (e) => {
@@ -102,12 +102,12 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
102
102
  u
103
103
  ]);
104
104
  let y = async () => {
105
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), c(), v(!1), t == null || t());
105
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(r, "true"), s(), v(!1), t == null || t());
106
106
  }, b = (0, p.useCallback)(() => {
107
107
  localStorage.setItem(r, "false"), v(!1), n == null || n();
108
108
  }, [n]);
109
109
  return (0, p.useEffect)(() => {
110
- if (!f || !s || typeof navigator > "u" || !o) return;
110
+ if (!f || !o || typeof navigator > "u" || !c) return;
111
111
  let e = localStorage.getItem(r);
112
112
  if (!e || i) {
113
113
  v(!0);
@@ -117,7 +117,7 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
117
117
  }, [
118
118
  f,
119
119
  i,
120
- s,
120
+ o,
121
121
  y
122
122
  ]), /* @__PURE__ */ (0, m.jsx)(h, {
123
123
  isOpen: _,
@@ -129,21 +129,21 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
129
129
  //#region src/components/GpsLoader.tsx
130
130
  function C({ requestCompassAllowed: e }) {
131
131
  let [n, r] = (0, p.useState)(!1), i = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
132
- c.routeStore.selectCurrentPosition(new s(0, 0, 0, n || r, e, t), !1);
132
+ l.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
133
133
  }, []), a = (0, p.useCallback)(() => {
134
- c.routeStore.requestCompass = void 0, r(!1);
135
- }, [r]), o = (0, p.useCallback)(() => {
136
- c.routeStore.requestCompass = void 0, r(!1);
134
+ l.routeStore.requestCompass = void 0, r(!1);
135
+ }, [r]), s = (0, p.useCallback)(() => {
136
+ l.routeStore.requestCompass = void 0, r(!1);
137
137
  }, [r]);
138
- return f(() => c.uiState.hideCookieConsent, (e) => {
138
+ return f(() => l.uiState.hideCookieConsent, (e) => {
139
139
  r(e);
140
- }), f(() => c.routeStore.requestCompass, (e) => {
140
+ }), f(() => l.routeStore.requestCompass, (e) => {
141
141
  r(e);
142
142
  }), /* @__PURE__ */ (0, m.jsx)(S, {
143
143
  requestCompass: n,
144
144
  requestCompassAllowed: e,
145
145
  onRejectCompass: a,
146
- onAllowCompass: o,
146
+ onAllowCompass: s,
147
147
  orientationStorageKey: t,
148
148
  onPositionUpdate: i
149
149
  });
@@ -1,15 +1,15 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.34.2" };
4
+ e.SENTRY_RELEASE = { id: "3.35.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "30abc2f8-7ac1-4dc4-8dc8-7e0a238954dd", e._sentryDebugIdIdentifier = "sentry-dbid-30abc2f8-7ac1-4dc4-8dc8-7e0a238954dd");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "3d53658a-05ff-4de5-8052-d11de833b039", e._sentryDebugIdIdentifier = "sentry-dbid-3d53658a-05ff-4de5-8052-d11de833b039");
7
7
  } catch {}
8
8
  })();
9
- import { _ as e, d as t, m as n, s as r, w as i, x as a } from "./i18n-892OGllH.js";
10
- import { $ as o, c as s, dn as c, et as l, rt as u, tt as d, z as f } from "./store-DX_d1X7a.js";
11
- import { r as p } from "./viewport-BldgkO7x.js";
12
- import { n as m, t as h } from "./kiosk-record-BTQRhXdb.js";
9
+ import { _ as e, d as t, m as n, s as r, w as i, x as a } from "./i18n-D80X6LMz.js";
10
+ import { $ as o, c as s, et as c, fn as l, rt as u, tt as d, z as f } from "./store-CpViG4ds.js";
11
+ import { r as p } from "./viewport-COvScbd2.js";
12
+ import { n as m, t as h } from "./kiosk-record-QoK8Mq08.js";
13
13
  //#region src/components/Kiosk/KioskStore.ts
14
14
  var g, _, v, y, b;
15
15
  function x(e, t, n, r) {
@@ -147,7 +147,7 @@ var C = 2e4, w = new (g = n({ keepAlive: !0 }), _ = n({ keepAlive: !0 }), v = cl
147
147
  this.setKiosk(null), s.uiState.setForceDim(!1), s.uiState.enableSetKioskMode(!1), s.searchStore.closeSearch();
148
148
  }
149
149
  handleDelete() {
150
- l(), this.setKiosk(null), s.uiState.resetMapSettings(), s.uiState.resetUIScale(), this.addStatusMessage({
150
+ c(), this.setKiosk(null), s.uiState.resetMapSettings(), s.uiState.resetUIScale(), this.addStatusMessage({
151
151
  variant: "success",
152
152
  title: r("Deleted")
153
153
  });
@@ -203,13 +203,13 @@ var C = 2e4, w = new (g = n({ keepAlive: !0 }), _ = n({ keepAlive: !0 }), v = cl
203
203
  }
204
204
  handleClick(e) {
205
205
  var t, n;
206
- let r = a(this.kiosk), i = s.fp.getFloors(), o = c() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, l = s.uiState.uiScale;
206
+ let r = a(this.kiosk), i = s.fp.getFloors(), o = l() ? (t = (n = i.find((e) => e.active)) == null ? void 0 : n.name) == null ? null : t : null, c = s.uiState.uiScale;
207
207
  this.setKiosk({
208
208
  ...r,
209
209
  x: e.x,
210
210
  y: e.y,
211
211
  z: o,
212
- uiScale: (r == null ? void 0 : r.uiScale) || l,
212
+ uiScale: (r == null ? void 0 : r.uiScale) || c,
213
213
  heading: (r == null ? void 0 : r.heading) || 0,
214
214
  iconSizePercent: (r == null ? void 0 : r.iconSizePercent) || 100,
215
215
  ...this.getCameraState()