@expofp/floorplan 3.11.2 → 3.11.3

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 (65) hide show
  1. package/dist/browser/{Button-OudL0iVD.js → Button-CWw2sVgd.js} +5 -5
  2. package/dist/browser/{CookieConsent-mfaE3KU4.js → CookieConsent-FeVIJ_Yk.js} +7 -7
  3. package/dist/browser/{Debug-BphzM2m8.js → Debug-CAteGKZH.js} +7 -7
  4. package/dist/browser/{Demo-DhTNjE3p.js → Demo-aIUISr3G.js} +9 -9
  5. package/dist/browser/{Free-0bLFGmuA.js → Free-C98X4LrP.js} +9 -9
  6. package/dist/browser/{Gallery-DSMIEhFW.js → Gallery-CWjQm4hj.js} +9 -9
  7. package/dist/browser/{GpsLoader-DM74H4uS.js → GpsLoader-BTo2dZds.js} +9 -9
  8. package/dist/browser/{KioskStore-r9opJq2T.js → KioskStore-CX5ThkIn.js} +3 -3
  9. package/dist/browser/{MaplibreAdapter-CZ3f7tKN.js → MaplibreAdapter-CRcB_u5I.js} +9 -9
  10. package/dist/browser/{ModalContainer-eCPTipYp.js → ModalContainer-VauFMnIc.js} +10 -10
  11. package/dist/browser/{PermissionNotice-BUOjmJLL.js → PermissionNotice-BSPFngCq.js} +6 -6
  12. package/dist/browser/{SetKioskMode-Bp6x6w3W.js → SetKioskMode-Dbd6T5-O.js} +8 -8
  13. package/dist/browser/{ShowKiosk-CBbiZ9Rv.js → ShowKiosk-OuxwmOwy.js} +10 -10
  14. package/dist/browser/{TouchHand-Bhfv1efX.js → TouchHand-Br-CwL-F.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-BiABYxqI.js → ViewerMenuPanel-DVByBv9z.js} +9 -9
  16. package/dist/browser/{add-debug-secret-listener-D2hFfoYG.js → add-debug-secret-listener-BR1iPsb9.js} +1 -1
  17. package/dist/browser/{boolean-editor-rW6I_txW.js → boolean-editor-DSTgDbmc.js} +9 -9
  18. package/dist/browser/{bootIntercom-DDtIuNc4.js → bootIntercom-CUea_DL-.js} +2 -2
  19. package/dist/browser/{booth-by-xy-DUPLj673.js → booth-by-xy-Bek_OU5N.js} +6 -6
  20. package/dist/browser/{browser-B5FVAIRt.js → browser-BZR5FRBQ.js} +2 -2
  21. package/dist/browser/bundle.json +61 -61
  22. package/dist/browser/{classnames-Bh9CFKhO.js → classnames-KtBHe88l.js} +2 -2
  23. package/dist/browser/{client-DZWJuxlH.js → client-DJnYedJs.js} +4 -4
  24. package/dist/browser/{components-BONw3m2E.js → components-CUaqFBY3.js} +38 -38
  25. package/dist/browser/{debug-overlay-C3mFAJnJ.js → debug-overlay-2tBkBbRy.js} +10 -10
  26. package/dist/browser/{debug-ui-B3oRtzZW.js → debug-ui-CP2nQv-1.js} +6 -6
  27. package/dist/browser/{dist-DrnaGWY-.js → dist-CpM1INPI.js} +5 -5
  28. package/dist/browser/{dist-BZoVqNq9.js → dist-DP9l2rrk.js} +3 -3
  29. package/dist/browser/{dist-tr1oeluS.js → dist-DlM1oWid.js} +6 -6
  30. package/dist/browser/{efp-debug-init-IXV8QEKv.js → efp-debug-init-BH2nDNO5.js} +2 -2
  31. package/dist/browser/{enum-editor-GjmANwcI.js → enum-editor-B4p1ELb6.js} +11 -11
  32. package/dist/browser/{es5-BIE6AAwW.js → es5-DdpBCK3Q.js} +2 -2
  33. package/dist/browser/{event-not-found-C0Gdf4pD.js → event-not-found-CWE-0MrG.js} +1 -1
  34. package/dist/browser/{exports-D9RgzhNR.js → exports-B7NIvrUp.js} +1 -1
  35. package/dist/browser/{favicon-CmG6hKGq.js → favicon-BOK9avcY.js} +1 -1
  36. package/dist/browser/{fetch-retry.umd-H-y_Mk7m.js → fetch-retry.umd-CipkNsrX.js} +2 -2
  37. package/dist/browser/{flex-HfquWr7v.js → flex-B2wy4xSD.js} +5 -5
  38. package/dist/browser/{floorplan.loader-Xq1Vygzw.js → floorplan.loader-D3kQCb99.js} +11 -11
  39. package/dist/browser/{floorplan.ready-CksOANto.js → floorplan.ready-B4mDkXRm.js} +12 -12
  40. package/dist/browser/{fuse-LI19KLxe.js → fuse-CqO1cqnn.js} +2 -2
  41. package/dist/browser/{i18n-BNPfWTtS.js → i18n-B_V1H0HQ.js} +4 -4
  42. package/dist/browser/index.js +12 -12
  43. package/dist/browser/{index.module-C9VcQ5Rm.js → index.module-D2erzLUJ.js} +4 -4
  44. package/dist/browser/{is-webview-B63y-prT.js → is-webview-DGL-PdzN.js} +1 -1
  45. package/dist/browser/{jsx-runtime-Do7GFE22.js → jsx-runtime-uuMRT9NQ.js} +2 -2
  46. package/dist/browser/{lib-BBtc7KTM.js → lib-osu8gY8B.js} +4 -4
  47. package/dist/browser/{loadImage-zsqKXiME.js → loadImage-m-4ixNVH.js} +4 -4
  48. package/dist/browser/{logDeviceInfo-DreBMd6G.js → logDeviceInfo-DRtA-dL6.js} +9 -9
  49. package/dist/browser/{main-9qDaoCuq.js → main-Bjk86dRG.js} +1 -1
  50. package/dist/browser/{mobx-Dky0-B8t.js → mobx-CRjt7H7o.js} +4 -4
  51. package/dist/browser/{particles.min-RcGEJpvI.js → particles.min-CSGhGGgI.js} +2 -2
  52. package/dist/browser/{prop-types-CZXeO-qE.js → prop-types-C3o0VrkV.js} +2 -2
  53. package/dist/browser/{react-trXsCbyC.js → react-B7FM7U0J.js} +2 -2
  54. package/dist/browser/{react-dom-B5BA3-vt.js → react-dom-CKp4cqT6.js} +3 -3
  55. package/dist/browser/{reset-all-settings-Cm2x1DTG.js → reset-all-settings-CE8btvu_.js} +7 -7
  56. package/dist/browser/{rolldown-runtime-DI18N_8U.js → rolldown-runtime-CyrAgb5O.js} +1 -1
  57. package/dist/browser/{settings-rsCcq9GR.js → settings-ZQMSNgyk.js} +2 -2
  58. package/dist/browser/{settings-item-BhRw3JAL.js → settings-item-DYAlR7v3.js} +6 -6
  59. package/dist/browser/{store-B2hmFnLQ.js → store-Cufsn9Pk.js} +26 -19
  60. package/dist/browser/{string-editor-BA6ywAXr.js → string-editor-NN8vdXTM.js} +7 -7
  61. package/dist/browser/{theme-DNNJq32j.js → theme-7hRavfue.js} +8 -8
  62. package/dist/browser/{ui-6Uzhpt--.js → ui-F8v9_gqS.js} +8 -8
  63. package/dist/browser/{useRenderTarget-2aH0rh9u.js → useRenderTarget-CzK9YRAN.js} +4 -4
  64. package/dist/esm/renderer/engine-core/animation.js +1 -1
  65. package/package.json +4 -4
@@ -2,21 +2,21 @@ 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.11.2" };
5
+ e.SENTRY_RELEASE = { id: "3.11.3" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "98fd4e83-7b9a-4865-a312-fecc0686eb57", e._sentryDebugIdIdentifier = "sentry-dbid-98fd4e83-7b9a-4865-a312-fecc0686eb57");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "45c98992-ab49-4b7a-92b3-b115ace8e17d", e._sentryDebugIdIdentifier = "sentry-dbid-45c98992-ab49-4b7a-92b3-b115ace8e17d");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-DI18N_8U.js";
11
- import { t as n } from "./react-trXsCbyC.js";
12
- import { i as r } from "./reset-all-settings-Cm2x1DTG.js";
13
- import { t as i } from "./jsx-runtime-Do7GFE22.js";
14
- import { _ as a, a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y } from "./loadImage-zsqKXiME.js";
15
- import { t as b } from "./browser-B5FVAIRt.js";
16
- import { B as x, C as S, G as C, H as w, L as T, M as E, Q as D, R as O, U as k, W as A, X as ee, Y as te, Z as ne, _ as j, a as re, at as ie, c as ae, d as M, et as oe, f as se, h as ce, it as le, j as ue, k as de, l as fe, lt as N, m as P, n as pe, o as me, ot as he, p as ge, q as _e, r as ve, rt as ye, s as F, t as be, v as xe, y as Se, z as I } from "./i18n-BNPfWTtS.js";
17
- import { t as Ce } from "./is-webview-B63y-prT.js";
18
- import { t as we } from "./classnames-Bh9CFKhO.js";
19
- import { t as Te } from "./Button-OudL0iVD.js";
10
+ import { r as e, t } from "./rolldown-runtime-CyrAgb5O.js";
11
+ import { t as n } from "./react-B7FM7U0J.js";
12
+ import { i as r } from "./reset-all-settings-CE8btvu_.js";
13
+ import { t as i } from "./jsx-runtime-uuMRT9NQ.js";
14
+ import { _ as a, a as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, p as g, r as _, t as v, u as y } from "./loadImage-m-4ixNVH.js";
15
+ import { t as b } from "./browser-BZR5FRBQ.js";
16
+ import { B as x, C as S, G as C, H as w, L as T, M as E, Q as D, R as O, U as k, W as A, X as ee, Y as te, Z as ne, _ as j, a as re, at as ie, c as ae, d as M, et as oe, f as se, h as ce, it as le, j as ue, k as de, l as fe, lt as N, m as P, n as pe, o as me, ot as he, p as ge, q as _e, r as ve, rt as ye, s as F, t as be, v as xe, y as Se, z as I } from "./i18n-B_V1H0HQ.js";
17
+ import { t as Ce } from "./is-webview-DGL-PdzN.js";
18
+ import { t as we } from "./classnames-KtBHe88l.js";
19
+ import { t as Te } from "./Button-CWw2sVgd.js";
20
20
  //#endregion
21
21
  //#region src/tools/settings.ts
22
22
  var Ee = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
@@ -34878,7 +34878,9 @@ function NL(e, t, n, r = 0) {
34878
34878
  let c = e.map((e) => {
34879
34879
  let t = e.points[1].x - e.points[0].x, n = e.points[1].y - e.points[0].y;
34880
34880
  return Math.sqrt(t * t + n * n);
34881
- }), l = c.reduce((e, t) => e + t, 0), u = Math.max(20, Math.min(l / 2, 300));
34881
+ }), l = c.reduce((e, t) => e + t, 0);
34882
+ if (!l) return;
34883
+ let u = Math.max(20, Math.min(l / 2, 300));
34882
34884
  function d(e) {
34883
34885
  let t = e % 1 * l, n = 0;
34884
34886
  i = 0, a = 0;
@@ -34906,12 +34908,17 @@ function NL(e, t, n, r = 0) {
34906
34908
  }
34907
34909
  function p(r) {
34908
34910
  o || (o = r);
34909
- let l = (r - o) / 1e3;
34911
+ let d = (r - o) / 1e3;
34910
34912
  o = r;
34911
- let d = n(), m = u * Math.sqrt(d);
34912
- for (a += m * l; a >= c[i];) a -= c[i], i++, i >= e.length && (i = 0);
34913
- let h = e[i];
34914
- t(f(h, a), i, !1), s = requestAnimationFrame(p);
34913
+ let m = n();
34914
+ if (!(Number.isFinite(m) && m > 0)) {
34915
+ s = requestAnimationFrame(p);
34916
+ return;
34917
+ }
34918
+ let h = u * Math.sqrt(m);
34919
+ for (a += h * d, a %= l; a >= c[i];) a -= c[i], i++, i >= e.length && (i = 0);
34920
+ let g = e[i];
34921
+ t(f(g, a), i, !1), s = requestAnimationFrame(p);
34915
34922
  }
34916
34923
  function m() {
34917
34924
  h(), r <= 0 && (i = 0, a = 0), o = null, s = requestAnimationFrame(p);
@@ -36830,7 +36837,7 @@ var cB = (iB = class {
36830
36837
  }
36831
36838
  async buildEngine() {
36832
36839
  try {
36833
- let { default: e } = await import("./fuse-LI19KLxe.js").then((e) => e.n);
36840
+ let { default: e } = await import("./fuse-CqO1cqnn.js").then((e) => e.n);
36834
36841
  Se(() => {
36835
36842
  this.engine = new e([], {
36836
36843
  keys: this.keys,
@@ -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.11.2" };
4
+ e.SENTRY_RELEASE = { id: "3.11.3" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "da8db9a3-7430-483e-912d-7db8503a8231", e._sentryDebugIdIdentifier = "sentry-dbid-da8db9a3-7430-483e-912d-7db8503a8231");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DI18N_8U.js";
10
- import { t } from "./react-trXsCbyC.js";
11
- import { t as n } from "./jsx-runtime-Do7GFE22.js";
12
- import { t as r } from "./classnames-Bh9CFKhO.js";
13
- import { D as i, i as a, l as o, n as s, s as c, u as l, y as u } from "./flex-HfquWr7v.js";
14
- import { t as d } from "./settings-item-BhRw3JAL.js";
9
+ import { r as e } from "./rolldown-runtime-CyrAgb5O.js";
10
+ import { t } from "./react-B7FM7U0J.js";
11
+ import { t as n } from "./jsx-runtime-uuMRT9NQ.js";
12
+ import { t as r } from "./classnames-KtBHe88l.js";
13
+ import { D as i, i as a, l as o, n as s, s as c, u as l, y as u } from "./flex-B2wy4xSD.js";
14
+ import { t as d } from "./settings-item-DYAlR7v3.js";
15
15
  //#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._925f851475345a9e5e368d312bb98178/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
16
16
  var f = {
17
17
  size: {
@@ -1,18 +1,18 @@
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.11.2" };
4
+ e.SENTRY_RELEASE = { id: "3.11.3" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "79b39fdf-323b-4b9d-ac58-c9e7d1f5b025", e._sentryDebugIdIdentifier = "sentry-dbid-79b39fdf-323b-4b9d-ac58-c9e7d1f5b025");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DI18N_8U.js";
10
- import { t } from "./react-trXsCbyC.js";
11
- import { t as n } from "./jsx-runtime-Do7GFE22.js";
12
- import { t as r } from "./react-dom-B5BA3-vt.js";
13
- import { t as i } from "./classnames-Bh9CFKhO.js";
14
- import { a, c as o, i as s, n as c, o as l, r as u, t as d } from "./dist-tr1oeluS.js";
15
- import { C as f, E as p, O as m, T as h, _ as g, o as _, v, w as y } from "./flex-HfquWr7v.js";
9
+ import { r as e } from "./rolldown-runtime-CyrAgb5O.js";
10
+ import { t } from "./react-B7FM7U0J.js";
11
+ import { t as n } from "./jsx-runtime-uuMRT9NQ.js";
12
+ import { t as r } from "./react-dom-CKp4cqT6.js";
13
+ import { t as i } from "./classnames-KtBHe88l.js";
14
+ import { a, c as o, i as s, n as c, o as l, r as u, t as d } from "./dist-DlM1oWid.js";
15
+ import { C as f, E as p, O as m, T as h, _ as g, o as _, v, w as y } from "./flex-B2wy4xSD.js";
16
16
  //#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.17_react@19.2.7/node_modules/@radix-ui/react-id/dist/index.mjs
17
17
  var b = n(), x = /* @__PURE__ */ e(t(), 1), S = x.useId || (() => void 0), C = 0;
18
18
  function w(e) {
@@ -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.11.2" };
4
+ e.SENTRY_RELEASE = { id: "3.11.3" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "43912113-9328-4069-8890-5091c8745c34", e._sentryDebugIdIdentifier = "sentry-dbid-43912113-9328-4069-8890-5091c8745c34");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DI18N_8U.js";
10
- import { a as t, r as n } from "./reset-all-settings-Cm2x1DTG.js";
11
- import { t as r } from "./jsx-runtime-Do7GFE22.js";
12
- import "./settings-rsCcq9GR.js";
13
- import { t as i } from "./browser-B5FVAIRt.js";
14
- import { t as a } from "./add-debug-secret-listener-D2hFfoYG.js";
9
+ import { r as e } from "./rolldown-runtime-CyrAgb5O.js";
10
+ import { a as t, r as n } from "./reset-all-settings-CE8btvu_.js";
11
+ import { t as r } from "./jsx-runtime-uuMRT9NQ.js";
12
+ import "./settings-ZQMSNgyk.js";
13
+ import { t as i } from "./browser-BZR5FRBQ.js";
14
+ import { t as a } from "./add-debug-secret-listener-BR1iPsb9.js";
15
15
  //#region ../debug/src/lib/ui/render-debug-ui.tsx
16
16
  var o = /* @__PURE__ */ e(i(), 1), s = r(), c = !1;
17
17
  function l() {
@@ -26,7 +26,7 @@ function l() {
26
26
  }
27
27
  });
28
28
  let i = async (t) => {
29
- let { DebugUi: n } = await import("./debug-ui-B3oRtzZW.js"), { createRoot: i } = await import("./client-DZWJuxlH.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
29
+ let { DebugUi: n } = await import("./debug-ui-CP2nQv-1.js"), { createRoot: i } = await import("./client-DJnYedJs.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
30
30
  document.body.appendChild(a), i(a).render(/* @__PURE__ */ (0, s.jsx)(n, {
31
31
  useDebugButtonState: r.useState,
32
32
  open: t
@@ -1,14 +1,14 @@
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.11.2" };
4
+ e.SENTRY_RELEASE = { id: "3.11.3" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d4febe97-784c-4cf8-93f1-f2e3b29f8347", e._sentryDebugIdIdentifier = "sentry-dbid-d4febe97-784c-4cf8-93f1-f2e3b29f8347");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-DI18N_8U.js";
10
- import { t } from "./react-trXsCbyC.js";
11
- import { s as n } from "./store-B2hmFnLQ.js";
9
+ import { r as e } from "./rolldown-runtime-CyrAgb5O.js";
10
+ import { t } from "./react-B7FM7U0J.js";
11
+ import { s as n } from "./store-Cufsn9Pk.js";
12
12
  //#region src/utils/getRenderTargetFromRoot.ts
13
13
  var r = /* @__PURE__ */ e(t(), 1);
14
14
  function i(e) {
@@ -1 +1 @@
1
- export function animateLineSegments(d,b,v,h=0){let i=0,a=0,s=null,r=null;if(!d.length)return;const c=d.map(t=>{const n=t.points[1].x-t.points[0].x,e=t.points[1].y-t.points[0].y;return Math.sqrt(n*n+e*e)}),f=c.reduce((t,n)=>t+n,0),M=Math.max(20,Math.min(f/2,300));function q(t){const n=t%1*f;let e=0;i=0,a=0;for(let o=0;o<c.length;o++){if(e+c[o]>n){i=o,a=n-e;break}e+=c[o],o===c.length-1&&(i=0,a=0)}}function F(t,n){const e=t.points[0],o=t.points[1],l=o.x-e.x,u=o.y-e.y,S=Math.sqrt(l*l+u*u),x=Math.min(n/S,1);return{points:[{x:e.x,y:e.y},{x:e.x+l*x,y:e.y+u*x}],color:t.color,width:t.width}}function g(t){s||(s=t);const n=(t-s)/1e3;s=t;const e=v(),o=M*Math.sqrt(e);for(a+=o*n;a>=c[i];)a-=c[i],i++,i>=d.length&&(i=0);const l=d[i],u=F(l,a);b(u,i,!1),r=requestAnimationFrame(g)}function p(){m(),h<=0&&(i=0,a=0),s=null,r=requestAnimationFrame(g)}function m(){r&&(cancelAnimationFrame(r),r=null,s=null)}function L(){if(f<=0)return 0;let t=0;for(let n=0;n<i;n++)t+=c[n];return t+=a,t/f}function y(){document.visibilityState==="visible"?p():m()}return h>0&&q(h),document.addEventListener("visibilitychange",y),p(),{stop:()=>{m(),document.removeEventListener("visibilitychange",y)},getProgress:L}}
1
+ export function animateLineSegments(f,b,v,m=0){let i=0,r=0,c=null,s=null;if(!f.length)return;const a=f.map(t=>{const e=t.points[1].x-t.points[0].x,n=t.points[1].y-t.points[0].y;return Math.sqrt(e*e+n*n)}),l=a.reduce((t,e)=>t+e,0);if(!l)return;const F=Math.max(20,Math.min(l/2,300));function q(t){const e=t%1*l;let n=0;i=0,r=0;for(let o=0;o<a.length;o++){if(n+a[o]>e){i=o,r=e-n;break}n+=a[o],o===a.length-1&&(i=0,r=0)}}function M(t,e){const n=t.points[0],o=t.points[1],u=o.x-n.x,d=o.y-n.y,S=Math.sqrt(u*u+d*d),x=Math.min(e/S,1);return{points:[{x:n.x,y:n.y},{x:n.x+u*x,y:n.y+d*x}],color:t.color,width:t.width}}function h(t){c||(c=t);const e=(t-c)/1e3;c=t;const n=v();if(!(Number.isFinite(n)&&n>0)){s=requestAnimationFrame(h);return}const o=F*Math.sqrt(n);for(r+=o*e,r%=l;r>=a[i];)r-=a[i],i++,i>=f.length&&(i=0);const u=f[i],d=M(u,r);b(d,i,!1),s=requestAnimationFrame(h)}function p(){g(),m<=0&&(i=0,r=0),c=null,s=requestAnimationFrame(h)}function g(){s&&(cancelAnimationFrame(s),s=null,c=null)}function L(){if(l<=0)return 0;let t=0;for(let e=0;e<i;e++)t+=a[e];return t+=r,t/l}function y(){document.visibilityState==="visible"?p():g()}return m>0&&q(m),document.addEventListener("visibilitychange",y),p(),{stop:()=>{g(),document.removeEventListener("visibilitychange",y)},getProgress:L}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/floorplan",
3
- "version": "3.11.2",
3
+ "version": "3.11.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/expofp/efp-app.git",
@@ -72,9 +72,9 @@
72
72
  "tslib": "^2.3.0",
73
73
  "uuid": "^9.0.1",
74
74
  "zod": "4.3.5",
75
- "@expofp/geometry": "3.11.2",
76
- "@expofp/resolve": "3.11.2",
77
- "@expofp/debug": "3.11.2"
75
+ "@expofp/debug": "3.11.3",
76
+ "@expofp/geometry": "3.11.3",
77
+ "@expofp/resolve": "3.11.3"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@babel/plugin-proposal-decorators": "^8.0.2",