@expofp/floorplan 3.31.4 → 3.32.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 (84) hide show
  1. package/dist/browser/{Button-DY6zD9Rk.js → Button-CNB2wS1D.js} +5 -5
  2. package/dist/browser/{CookieConsent-BDpDfPT3.js → CookieConsent-9-_4FEUc.js} +7 -7
  3. package/dist/browser/{Debug-CrJkx6Tf.js → Debug-BUelP3lh.js} +7 -7
  4. package/dist/browser/{DebugTools-BAZq8o4A.js → DebugTools-6RBk4RXs.js} +6 -6
  5. package/dist/browser/{Demo-DdWLZ2qx.js → Demo-B1Wq_-2I.js} +9 -9
  6. package/dist/browser/{Free-7_dnMQif.js → Free-Ce5a68cd.js} +9 -9
  7. package/dist/browser/{GalleryContainer-DWj18V5n.js → GalleryContainer-nNrPq8p3.js} +10 -10
  8. package/dist/browser/{GpsLoader-CXRQHRjg.js → GpsLoader-DJD8M21U.js} +10 -10
  9. package/dist/browser/{KioskStore-VTTOeXeu.js → KioskStore-DV6yg7gQ.js} +5 -5
  10. package/dist/browser/{MaplibreAdapter-DtBh3q_f.js → MaplibreAdapter-DG-IOwAR.js} +11 -11
  11. package/dist/browser/{ModalContainer-CLBUmAAD.js → ModalContainer-lWcPEqKF.js} +10 -10
  12. package/dist/browser/{PermissionNotice-Ce6yONr9.js → PermissionNotice-DzoxJYql.js} +6 -6
  13. package/dist/browser/{SetKioskMode-b0Kd0Q_K.js → SetKioskMode-D-drLiQS.js} +9 -9
  14. package/dist/browser/{ShowKiosk-DRRWT83C.js → ShowKiosk-CmQAm7lA.js} +10 -10
  15. package/dist/browser/{ViewerMenuPanel-Wnrbwe5h.js → ViewerMenuPanel-4K3IeFpI.js} +9 -9
  16. package/dist/browser/{add-debug-secret-listener-WhcgG7GC.js → add-debug-secret-listener-BCbwpSUA.js} +1 -1
  17. package/dist/browser/{adopt-global-settings--uzHm07K.js → adopt-global-settings-BCXdoUeA.js} +9 -9
  18. package/dist/browser/{boolean-editor-CC0r4Dt7.js → boolean-editor-Bq5ovuVU.js} +9 -9
  19. package/dist/browser/{bootIntercom-CKoX1zFG.js → bootIntercom-DJYZ3yyM.js} +2 -2
  20. package/dist/browser/bundle.json +69 -69
  21. package/dist/browser/{camera-events-Cm4_3lZE.js → camera-events-DumvNN3C.js} +1 -1
  22. package/dist/browser/{classnames-SVpBLYbY.js → classnames-XNi7nRCB.js} +2 -2
  23. package/dist/browser/{client-wCjB5vyj.js → client-CA8cGn8U.js} +5 -5
  24. package/dist/browser/{components-QmA1R6nP.js → components-MOPAfkCm.js} +37 -37
  25. package/dist/browser/{debug-context-BrxUqxef.js → debug-context-C73IpGRj.js} +5 -5
  26. package/dist/browser/{debug-overlay-1IKG3izM.js → debug-overlay-CIY57uQY.js} +10 -10
  27. package/dist/browser/{debug-ui-BVfBVFN5.js → debug-ui-D9GVgxaS.js} +6 -6
  28. package/dist/browser/{dimming-DIDB_Fhy.js → dimming-CXOoyeuK.js} +11 -11
  29. package/dist/browser/{dist-EaU_txHC.js → dist-CEbPeqIY.js} +6 -6
  30. package/dist/browser/{dist-CWNYRo3B.js → dist-CNBw7D1y.js} +5 -5
  31. package/dist/browser/{dist-DT5lrpvV.js → dist-Cuhm8hDS.js} +3 -3
  32. package/dist/browser/{efp-debug-init-Ce9vg6Tq.js → efp-debug-init-CF3R1rs1.js} +3 -3
  33. package/dist/browser/{enum-editor-BO48F5nG.js → enum-editor-Hfgu8R6H.js} +4 -4
  34. package/dist/browser/{es5-CDFVZlc4.js → es5-Ch3SnVpq.js} +2 -2
  35. package/dist/browser/{event-not-found-CljqcTHX.js → event-not-found-BBGk7sl1.js} +1 -1
  36. package/dist/browser/{exports-N7m3Sqif.js → exports-DdY5MNmH.js} +1 -1
  37. package/dist/browser/{favicon-Cd-lwAb6.js → favicon-D0_sCTFa.js} +1 -1
  38. package/dist/browser/{fetch-retry.umd-f3gOMjiD.js → fetch-retry.umd-DFU09v6m.js} +2 -2
  39. package/dist/browser/{flex-DpIfGOfP.js → flex-Dd9f0dfq.js} +5 -5
  40. package/dist/browser/{floorplan.loader-Dfbdv-o7.js → floorplan.loader-DxE6hohE.js} +237 -238
  41. package/dist/browser/{floorplan.ready-DKbBAbFS.js → floorplan.ready-Cysrjlb9.js} +19 -17
  42. package/dist/browser/{fuse-Dg9J4CBV.js → fuse-BHP4h5hM.js} +2 -2
  43. package/dist/browser/{i18n-CdlR_yif.js → i18n-3lyxjXox.js} +5 -5
  44. package/dist/browser/index.js +14 -14
  45. package/dist/browser/{index.module-m8gdUnww.js → index.module-C6SF1hwf.js} +4 -4
  46. package/dist/browser/{integrateKiosk-Bn_CLIEM.js → integrateKiosk-Dmtn4lIF.js} +4 -4
  47. package/dist/browser/{is-webview-C5WHhwMn.js → is-webview-DBk4rvr1.js} +1 -1
  48. package/dist/browser/{jsx-runtime-CynehOvT.js → jsx-runtime-DLehizIL.js} +2 -2
  49. package/dist/browser/{kiosk-record-9RRPsEyN.js → kiosk-record-CWJVbWhN.js} +1 -1
  50. package/dist/browser/{lib-D9Iv2vSf.js → lib-Cx0xfIyT.js} +3 -3
  51. package/dist/browser/{loadImage-BFhkQNt5.js → loadImage-BttawziQ.js} +4 -4
  52. package/dist/browser/{logDeviceInfo-CtU7Ml5Z.js → logDeviceInfo-DtOdua8y.js} +9 -9
  53. package/dist/browser/{mobx-C6SD9eIM.js → mobx-1TTEnMh_.js} +4 -4
  54. package/dist/browser/{optional-boolean-editor-B2jDylbI.js → optional-boolean-editor--Ll4y7L3.js} +3 -3
  55. package/dist/browser/{optional-enum-editor-Ca7UIvcI.js → optional-enum-editor-Diz4Gygu.js} +4 -4
  56. package/dist/browser/{optional-string-editor-Bhof-N0f.js → optional-string-editor-B_UUO3oV.js} +4 -4
  57. package/dist/browser/{particles.min-Dk8Zp6Xw.js → particles.min-IsQntJd_.js} +2 -2
  58. package/dist/browser/{react-Bg9SS9K3.js → react-DaVp-1nR.js} +2 -2
  59. package/dist/browser/{react-dom-CkvLw93N.js → react-dom-Cmin4STP.js} +3 -3
  60. package/dist/browser/{rolldown-runtime-CWbAMcOK.js → rolldown-runtime-Dl53HvP8.js} +1 -1
  61. package/dist/browser/{scheduler-DWQiq5yr.js → scheduler-CeO2Fq3-.js} +2 -2
  62. package/dist/browser/{select-DILrp4Xy.js → select-CcBpWf_u.js} +10 -10
  63. package/dist/browser/{settings-DZPzvL3g.js → settings-BnizsqhF.js} +2 -2
  64. package/dist/browser/{settings-item-CI4tQ7cI.js → settings-item-JOfQImsE.js} +6 -6
  65. package/dist/browser/{store-9H2zTJOB.js → store-BNPYvlw8.js} +212 -209
  66. package/dist/browser/{string-editor-CDVdYaGM.js → string-editor-BmF12fyT.js} +4 -4
  67. package/dist/browser/{text-field-CoMIE2tV.js → text-field-D4_C8M62.js} +5 -5
  68. package/dist/browser/{theme-DGSBFvlG.js → theme--BjIkuDi.js} +8 -8
  69. package/dist/browser/{ui-VhcgyDaO.js → ui-Bt8WOnfB.js} +8 -8
  70. package/dist/browser/{useRenderTarget-Dheg7zQ0.js → useRenderTarget-CKEW-h44.js} +4 -4
  71. package/dist/browser/{viewport-ChGNlxST.js → viewport-Ch_DyTlN.js} +2 -2
  72. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  73. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +2 -2
  74. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  75. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  76. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  77. package/dist/esm/engine/update-def.d.ts +19 -28
  78. package/dist/esm/engine/update-def.js +1 -1
  79. package/dist/esm/engine/utils/rotation.d.ts +9 -2
  80. package/dist/esm/engine/utils/rotation.js +1 -1
  81. package/dist/esm/floorplan.loader.js +1 -1
  82. package/dist/esm/floorplan.ready.js +1 -1
  83. package/dist/esm/wayfinding/createWayfinding.js +1 -1
  84. package/package.json +10 -10
@@ -2,22 +2,22 @@ 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.31.4" };
5
+ e.SENTRY_RELEASE = { id: "3.32.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "fd18ebfb-cc93-47bf-a280-b217450eb4a3", e._sentryDebugIdIdentifier = "sentry-dbid-fd18ebfb-cc93-47bf-a280-b217450eb4a3");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f0d6fb68-c2e2-4735-9ca3-3442816b8648", e._sentryDebugIdIdentifier = "sentry-dbid-f0d6fb68-c2e2-4735-9ca3-3442816b8648");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-CWbAMcOK.js";
11
- import { A as n, B as r, Bt as i, G as a, H as o, I as s, J as c, K as l, L as u, M as d, Q as f, R as p, U as m, V as h, W as g, Y as _, _ as v, a as y, c as b, ct as x, d as S, dt as C, f as w, ft as T, h as E, it as D, j as O, l as k, m as A, n as ee, nt as te, ot as ne, p as re, s as j, st as ie, t as ae, v as M, w as oe, y as se } from "./i18n-CdlR_yif.js";
12
- import { s as ce } from "./efp-debug-init-Ce9vg6Tq.js";
13
- import { t as le } from "./react-Bg9SS9K3.js";
14
- import { t as ue } from "./jsx-runtime-CynehOvT.js";
15
- import { n as de, r as N, t as fe } from "./loadImage-BFhkQNt5.js";
16
- import { t as pe } from "./is-webview-C5WHhwMn.js";
17
- import { t as me } from "./scheduler-DWQiq5yr.js";
18
- import { $ as he, $t as ge, A as _e, At as ve, B as ye, Bt as be, C as xe, Ct as Se, D as Ce, Dt as we, E as Te, Et as Ee, F as De, Ft as Oe, G as ke, Gt as Ae, H as je, Ht as Me, I as Ne, It as Pe, J as Fe, Jt as Ie, K as Le, Kt as Re, L as ze, Lt as Be, M as Ve, Mt as He, N as Ue, Nt as We, O as Ge, Ot as Ke, P as qe, Pt as Je, Q as Ye, Qt as P, R as Xe, Rt as Ze, S as Qe, St as $e, T as et, Tt as tt, U as nt, Ut as rt, V as it, Vt as at, W as ot, Wt as st, X as ct, Xt as lt, Y as ut, Yt as dt, Z as ft, Zt as pt, _ as mt, _t as ht, a as gt, an as _t, at as vt, b as yt, bt, cn as xt, ct as St, d as Ct, dn as F, dt as wt, en as Tt, et as Et, f as Dt, fn as Ot, ft as kt, g as At, gt as jt, h as Mt, ht as Nt, i as Pt, in as Ft, it as It, j as Lt, jt as Rt, k as zt, kt as Bt, l as Vt, ln as Ht, lt as Ut, m as Wt, mn as Gt, mt as Kt, nn as qt, nt as Jt, o as Yt, on as Xt, ot as Zt, p as Qt, pn as $t, pt as en, q as tn, qt as nn, r as rn, rn as an, rt as on, s as sn, sn as cn, st as ln, tn as un, tt as dn, u as fn, un as pn, ut as mn, v as hn, vt as gn, w as _n, wt as vn, x as yn, xt as bn, y as xn, yt as Sn, z as Cn, zt as wn } from "./debug-context-BrxUqxef.js";
19
- import { t as Tn } from "./classnames-SVpBLYbY.js";
20
- import { t as En } from "./Button-DY6zD9Rk.js";
10
+ import { r as e, t } from "./rolldown-runtime-Dl53HvP8.js";
11
+ import { A as n, B as r, Bt as i, G as a, H as o, I as s, J as c, K as l, L as u, M as d, Q as f, R as p, U as m, V as h, W as g, Y as _, _ as v, a as y, c as b, ct as x, d as S, dt as C, f as w, ft as T, h as E, it as D, j as O, l as k, m as A, n as ee, nt as te, ot as ne, p as re, s as j, st as ie, t as ae, v as M, w as oe, y as se } from "./i18n-3lyxjXox.js";
12
+ import { s as ce } from "./efp-debug-init-CF3R1rs1.js";
13
+ import { t as le } from "./react-DaVp-1nR.js";
14
+ import { t as ue } from "./jsx-runtime-DLehizIL.js";
15
+ import { n as de, r as N, t as fe } from "./loadImage-BttawziQ.js";
16
+ import { t as pe } from "./is-webview-DBk4rvr1.js";
17
+ import { t as me } from "./scheduler-CeO2Fq3-.js";
18
+ import { $ as he, $t as ge, A as _e, At as ve, B as ye, Bt as be, C as xe, Ct as Se, D as Ce, Dt as we, E as Te, Et as Ee, F as De, Ft as Oe, G as ke, Gt as Ae, H as je, Ht as Me, I as Ne, It as Pe, J as Fe, Jt as Ie, K as Le, Kt as Re, L as ze, Lt as Be, M as Ve, Mt as He, N as Ue, Nt as We, O as Ge, Ot as Ke, P as qe, Pt as Je, Q as Ye, Qt as P, R as Xe, Rt as Ze, S as Qe, St as $e, T as et, Tt as tt, U as nt, Ut as rt, V as it, Vt as at, W as ot, Wt as st, X as ct, Xt as lt, Y as ut, Yt as dt, Z as ft, Zt as pt, _ as mt, _t as ht, a as gt, an as _t, at as vt, b as yt, bt, cn as xt, ct as St, d as Ct, dn as F, dt as wt, en as Tt, et as Et, f as Dt, fn as Ot, ft as kt, g as At, gt as jt, h as Mt, ht as Nt, i as Pt, in as Ft, it as It, j as Lt, jt as Rt, k as zt, kt as Bt, l as Vt, ln as Ht, lt as Ut, m as Wt, mn as Gt, mt as Kt, nn as qt, nt as Jt, o as Yt, on as Xt, ot as Zt, p as Qt, pn as $t, pt as en, q as tn, qt as nn, r as rn, rn as an, rt as on, s as sn, sn as cn, st as ln, tn as un, tt as dn, u as fn, un as pn, ut as mn, v as hn, vt as gn, w as _n, wt as vn, x as yn, xt as bn, y as xn, yt as Sn, z as Cn, zt as wn } from "./debug-context-C73IpGRj.js";
19
+ import { t as Tn } from "./classnames-XNi7nRCB.js";
20
+ import { t as En } from "./Button-CNB2wS1D.js";
21
21
  //#region ../../node_modules/.pnpm/resize-observer@1.0.4/node_modules/resize-observer/lib/ContentRect.js
22
22
  var Dn = /* @__PURE__ */ t(((e) => {
23
23
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ContentRect = function(e) {
@@ -10170,12 +10170,12 @@ var Pv = !1;
10170
10170
  //#endregion
10171
10171
  //#region ../renderer/src/debug/debug-chunk.ts
10172
10172
  function Fv() {
10173
- return Lv != null || (Lv = import("./DebugTools-BAZq8o4A.js")), Lv;
10173
+ return Lv != null || (Lv = import("./DebugTools-6RBk4RXs.js")), Lv;
10174
10174
  }
10175
10175
  async function Iv() {
10176
10176
  await Fv();
10177
10177
  }
10178
- var Lv, Rv = (0, I.lazy)(() => import("./DebugTools-BAZq8o4A.js").then((e) => ({ default: e.DebugTools })));
10178
+ var Lv, Rv = (0, I.lazy)(() => import("./DebugTools-6RBk4RXs.js").then((e) => ({ default: e.DebugTools })));
10179
10179
  function zv(e) {
10180
10180
  let t = (0, H.c)(7), n, r, i;
10181
10181
  t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({debugEnabled: i, children: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i), i && (0, I.use)(Fv());
@@ -21056,60 +21056,54 @@ function zA(e, t, n) {
21056
21056
  }), r;
21057
21057
  }
21058
21058
  function BA(e, t) {
21059
- let n = e.bounds;
21060
- return n.set(n.center.x, n.center.y, n.size.y, n.size.x, n.rotation + t, n.elevation), e;
21059
+ let { center: n, size: r, rotation: i, elevation: a } = e.bounds, o = t % 2 != 0;
21060
+ return e.bounds.set(n.x, n.y, o ? r.y : r.x, o ? r.x : r.y, i + t * Math.PI / 2, a), e;
21061
21061
  }
21062
21062
  function VA(e, t) {
21063
21063
  let { size: n, center: r, rotation: i, elevation: a } = e;
21064
- return new or(r, {
21064
+ return new or(r, t % 2 == 0 ? n : {
21065
21065
  x: n.y,
21066
21066
  y: n.x
21067
- }, i + t, a);
21067
+ }, i + t * Math.PI / 2, a);
21068
21068
  }
21069
21069
  function HA(e, t) {
21070
- let n = WA(e, t);
21071
- if (Math.abs(n) > Math.PI / 4) return Math.sign(n) * Math.PI / 2;
21070
+ if (!Number.isFinite(e) || !Number.isFinite(t)) return 0;
21071
+ let n = Rn(e, t);
21072
+ return Math.abs(n) <= Math.PI / 4 ? 0 : Math.round(n / (Math.PI / 2));
21072
21073
  }
21073
21074
  function UA(e, t) {
21074
- let n = WA(e, t), r = Math.PI / 2;
21075
+ let n = Rn(e, t), r = Math.PI / 2;
21075
21076
  return Math.abs(n) > r + .1;
21076
21077
  }
21077
- function WA(e, t) {
21078
- let n = Math.PI, r = 2 * n;
21079
- return ((e, t) => ((e - t + n) % r + r) % r - n)(e, t);
21080
- }
21081
- function GA(e) {
21078
+ function WA(e) {
21082
21079
  return (e + Math.PI + Math.PI) % (2 * Math.PI) - Math.PI;
21083
21080
  }
21084
- function KA(e, t, n, r) {
21081
+ function GA(e, t, n, r) {
21085
21082
  let i = t.width, a = t.height, o = e.size, s = e.center, c = e.rotation, l = o.x / i, u = o.x - n * 2, d = (o.y - n * 2) * .8, f = u / i, p = d / a;
21086
21083
  r = Math.min(Math.max(r, 0), Math.min(f, p, l));
21087
21084
  let m = i * r, h = a * r, g = Math.sin(c), _ = Math.cos(c), v = o.x / 2 - n, y = -o.y / 2 + n, b = s.x + v * _ - y * g, x = s.y + v * g + y * _, S = m / 2, C = -h / 2, w = S * _ - C * g, T = S * g + C * _;
21088
21085
  return af(b - w, x - T, i, a, r, c);
21089
21086
  }
21090
- function qA(e) {
21087
+ function KA(e) {
21091
21088
  if (!e) return !1;
21092
21089
  if (!Number.isInteger(+e) || +e != 1 && +e != 0) throw Error("Map roll: setting value is incorrect");
21093
21090
  return !!+e;
21094
21091
  }
21095
21092
  //#endregion
21096
21093
  //#region src/components/Map/drawing/config/config-booth-bookmark.ts
21097
- function JA(e) {
21098
- if (!$.kiosk) return new YA(e);
21094
+ function qA(e) {
21095
+ if (!$.kiosk) return new JA(e);
21099
21096
  }
21100
- var YA = class extends kA {
21097
+ var JA = class extends kA {
21101
21098
  constructor(e) {
21102
21099
  super(e), this.shape = void 0, this.bookmarkId = void 0, this.canvas = void 0, this.rect = void 0, this.padding = void 0, this.getShape = () => this.shape, this.padding = this.booth.borderWidth / 2, this.rect = new or(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = rf(11, devicePixelRatio), this.bookmarkId = `bookmark-${this.booth.id}`, this.shape = ff(this.canvas, this.rect, { hidden: !e.bookmarked }), this.shape.onScale = ({ pixelSize: e }) => this.layOutBookmark(e), M(() => [
21103
21100
  e.bookmarked,
21104
21101
  tW.layersLoaded,
21105
21102
  this.booth.skipDim
21106
21103
  ], () => this.update(e.bookmarked), { fireImmediately: e.bookmarked }), M(() => $.mapSettings, ({ roll: e }) => {
21107
- qA(e) && (this.shape.onRoll = ({ roll: e, pixelSize: t }) => {
21104
+ KA(e == null ? 0 : e) && (this.shape.onRoll = ({ roll: e, pixelSize: t }) => {
21108
21105
  let n = HA(e, this.rect.rotation);
21109
- if (n !== void 0) return this.rect = new or(this.rect.center, {
21110
- x: this.rect.size.y,
21111
- y: this.rect.size.x
21112
- }, this.rect.rotation + n, this.rect.elevation), this.layOutBookmark(t), [this.shape];
21106
+ if (n !== 0) return this.rect = VA(this.rect, n), this.layOutBookmark(t), [this.shape];
21113
21107
  });
21114
21108
  }, { fireImmediately: !0 });
21115
21109
  }
@@ -21117,15 +21111,15 @@ var YA = class extends kA {
21117
21111
  tW.layersLoaded && (this.shape.hidden = !e, this.shape.dim = this.booth.skipDim ? 0 : void 0, eh(this.shape));
21118
21112
  }
21119
21113
  layOutBookmark(e) {
21120
- return this.shape.bounds = KA(this.rect, this.canvas, this.padding, e), this.shape.hidden ? [] : [this.shape];
21114
+ return this.shape.bounds = GA(this.rect, this.canvas, this.padding, e), this.shape.hidden ? [] : [this.shape];
21121
21115
  }
21122
21116
  };
21123
21117
  //#endregion
21124
21118
  //#region src/components/Map/drawing/config/config-booth-border.ts
21125
- function XA(e) {
21126
- if (lo.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !eW.borderWidth || e.paths && !e.pathsWithRect)) return new ZA(e);
21119
+ function YA(e) {
21120
+ if (lo.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !eW.borderWidth || e.paths && !e.pathsWithRect)) return new XA(e);
21127
21121
  }
21128
- var ZA = class extends kA {
21122
+ var XA = class extends kA {
21129
21123
  constructor(e) {
21130
21124
  super(e), this.shape = void 0;
21131
21125
  let t = this.booth.rect, { x: n, y: r } = t.center, { width: i, height: a } = t.size, o = e.borderWidth || eW.borderWidth, s = [], c = (t, i, a, o) => {
@@ -21169,33 +21163,33 @@ var ZA = class extends kA {
21169
21163
  getShape() {
21170
21164
  return this.shape;
21171
21165
  }
21172
- }, QA = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
21173
- function $A(e) {
21174
- return QA.test(e);
21166
+ }, ZA = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
21167
+ function QA(e) {
21168
+ return ZA.test(e);
21175
21169
  }
21176
21170
  //#endregion
21177
21171
  //#region src/components/Map/drawing/config/label-inset.ts
21178
- var ej = .05;
21179
- function tj(e, t) {
21180
- let n = ej * Math.min(t.width, t.height);
21172
+ var $A = .05;
21173
+ function ej(e, t) {
21174
+ let n = $A * Math.min(t.width, t.height);
21181
21175
  return e > 0 && n > 0 ? Math.min(e / 2, n) : 0;
21182
21176
  }
21183
21177
  //#endregion
21184
21178
  //#region src/components/Map/drawing/config/config-booth-labels.ts
21185
- var nj = lo.boothLabelColor;
21186
- lo.EXPO === "tqs2021" && (nj = "#000");
21187
- var rj = Sf || pe, ij = (e) => e.replace(" ", "").substring(0, 4).replace(/[0-9]/g, "3").replace(/[A-Z]/gi, "A"), aj = document.createElement("canvas").getContext("2d");
21188
- function oj(e) {
21189
- if (!(!(e instanceof ys) || e.noLabels)) return new hj(e);
21179
+ var tj = lo.boothLabelColor;
21180
+ lo.EXPO === "tqs2021" && (tj = "#000");
21181
+ var nj = Sf || pe, rj = (e) => e.replace(" ", "").substring(0, 4).replace(/[0-9]/g, "3").replace(/[A-Z]/gi, "A"), ij = document.createElement("canvas").getContext("2d");
21182
+ function aj(e) {
21183
+ if (!(!(e instanceof ys) || e.noLabels)) return new mj(e);
21190
21184
  }
21191
- function sj(e) {
21185
+ function oj(e) {
21192
21186
  return Array.isArray(e) && e.length > 0 ? Math.max(...e.map((e) => e)) : typeof e == "number" ? e : -0;
21193
21187
  }
21194
- var cj = () => {
21188
+ var sj = () => {
21195
21189
  var e, t;
21196
21190
  return !!((e = $.selectedRoute) != null && e.from && (t = $.selectedRoute) != null && t.to);
21197
21191
  };
21198
- function lj(e, t = [], n = "normal") {
21192
+ function cj(e, t = [], n = "normal") {
21199
21193
  let r = [
21200
21194
  ...t,
21201
21195
  {
@@ -21211,33 +21205,33 @@ function lj(e, t = [], n = "normal") {
21211
21205
  ].find((t) => +t.weight === e && t.style === n);
21212
21206
  return (r == null ? void 0 : r.url) || of;
21213
21207
  }
21214
- function uj(e, t) {
21208
+ function lj(e, t) {
21215
21209
  return Number(getComputedStyle(document.body).getPropertyValue(e)) || t;
21216
21210
  }
21217
- function dj() {
21211
+ function uj() {
21218
21212
  return {
21219
- main: uj(u, 500),
21220
- details: uj(r, 300)
21213
+ main: lj(u, 500),
21214
+ details: lj(r, 300)
21221
21215
  };
21222
21216
  }
21223
- function fj() {
21217
+ function dj() {
21224
21218
  return {
21225
- main: uj(p, 500),
21226
- details: uj(h, 300)
21219
+ main: lj(p, 500),
21220
+ details: lj(h, 300)
21227
21221
  };
21228
21222
  }
21229
- function pj() {
21230
- return fj().details;
21223
+ function fj() {
21224
+ return dj().details;
21231
21225
  }
21232
- var mj = "Details", hj = class extends kA {
21226
+ var pj = "Details", mj = class extends kA {
21233
21227
  constructor(e) {
21234
- super(e), this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = 0, this.maxZoomDotVisible = 0, this.exh = [], this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = [[], []], this.lines = [[], []], this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = ["", ""], this.canvasRect = new or(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding = tj(e.borderWidth || eW.borderWidth, e.rect.size), this.topLeftAlignment = {
21228
+ super(e), this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = 0, this.maxZoomDotVisible = 0, this.exh = [], this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = [[], []], this.lines = [[], []], this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = ["", ""], this.canvasRect = new or(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding = ej(e.borderWidth || eW.borderWidth, e.rect.size), this.topLeftAlignment = {
21235
21229
  horizontal: $.rtl ? "right" : "left",
21236
21230
  vertical: "top"
21237
21231
  }, this.centerAlignment = {
21238
21232
  horizontal: "center",
21239
21233
  vertical: "center"
21240
- }, this.prefixes = rj ? [
21234
+ }, this.prefixes = nj ? [
21241
21235
  {
21242
21236
  fontSize: 7,
21243
21237
  name: "XS",
@@ -21250,7 +21244,7 @@ var mj = "Details", hj = class extends kA {
21250
21244
  },
21251
21245
  {
21252
21246
  fontSize: 16,
21253
- name: mj,
21247
+ name: pj,
21254
21248
  short: !1
21255
21249
  }
21256
21250
  ] : [
@@ -21276,10 +21270,10 @@ var mj = "Details", hj = class extends kA {
21276
21270
  },
21277
21271
  {
21278
21272
  fontSize: 18,
21279
- name: mj,
21273
+ name: pj,
21280
21274
  short: !1
21281
21275
  }
21282
- ], !(e instanceof bs) && (this.exh = R.hideExhibitors ? [] : R.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors, rj && this.optimizationLevel() >= 3 && (this.prefixes = this.prefixes.filter((e) => e.name !== "S")), this.createLines(), this.calculateFontSizeFactors(), this.shapeLabel = pf(mf(this.lines, this.booth.labelColor || nj, 0, this.fontUrls), new or(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), [...this.paddingScaled], {
21276
+ ], !(e instanceof bs) && (this.exh = R.hideExhibitors ? [] : R.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors, nj && this.optimizationLevel() >= 3 && (this.prefixes = this.prefixes.filter((e) => e.name !== "S")), this.createLines(), this.calculateFontSizeFactors(), this.shapeLabel = pf(mf(this.lines, this.booth.labelColor || tj, 0, this.fontUrls), new or(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), [...this.paddingScaled], {
21283
21277
  horizontal: "left",
21284
21278
  vertical: "top"
21285
21279
  }), this.shapeLabel.onScale = ({ pixelSize: e }) => this.layOutLabel(e), this.getShapeDot(), M(() => [
@@ -21288,12 +21282,12 @@ var mj = "Details", hj = class extends kA {
21288
21282
  tW.layersLoaded
21289
21283
  ], () => {
21290
21284
  if (!tW.layersLoaded) return;
21291
- let e = cj();
21285
+ let e = sj();
21292
21286
  this.shapeLabel.dim = e || this.booth.skipDim ? 0 : void 0, this.shapeDot.dim = e || this.booth.skipDim ? 0 : void 0, eh(this.shapeLabel, this.shapeDot);
21293
21287
  }), M(() => $.mapSettings, ({ roll: e }) => {
21294
- qA(e == null ? 0 : e) && (this.shapeLabel.onRoll = ({ roll: e, pixelSize: t }) => {
21288
+ KA(e == null ? 0 : e) && (this.shapeLabel.onRoll = ({ roll: e, pixelSize: t }) => {
21295
21289
  let n = HA(e, this.shapeLabel.bounds.rotation);
21296
- if (n === void 0) return;
21290
+ if (n === 0) return;
21297
21291
  let { size: r } = this.canvasRect;
21298
21292
  return this.shapeLabel = BA(this.shapeLabel, n), !this.shapeLabel.hidden && !this.exh.length && r.x !== r.y && (this.canvasRect = VA(this.canvasRect, n), this.calculateFontSizeFactors(), this.layOutLabel(t), this.layOutDot(t)), [this.shapeLabel, this.shapeDot];
21299
21293
  });
@@ -21321,10 +21315,10 @@ var mj = "Details", hj = class extends kA {
21321
21315
  }, n.center, n), this.shapeDot.hidden = !t, [this.shapeDot];
21322
21316
  }
21323
21317
  getShapeDot() {
21324
- this.shapeDot = vf(this.canvasRect, this.booth.labelColor || nj), this.shapeDot.hidden = !0, this.shapeDot.onScale = ({ pixelSize: e }) => this.layOutDot(e), this.maxZoomDotVisible = Math.min(this.canvasRect.size.x / this.shapeDot.source.width, this.canvasRect.size.y / this.shapeDot.source.height);
21318
+ this.shapeDot = vf(this.canvasRect, this.booth.labelColor || tj), this.shapeDot.hidden = !0, this.shapeDot.onScale = ({ pixelSize: e }) => this.layOutDot(e), this.maxZoomDotVisible = Math.min(this.canvasRect.size.x / this.shapeDot.source.width, this.canvasRect.size.y / this.shapeDot.source.height);
21325
21319
  }
21326
21320
  createLines() {
21327
- let e = this.booth, t = [], n = [], r = rj && this.optimizationLevel() >= 3 ? 1 : 3;
21321
+ let e = this.booth, t = [], n = [], r = nj && this.optimizationLevel() >= 3 ? 1 : 3;
21328
21322
  if (this.exh.length) {
21329
21323
  let i = e.exhibitors.filter((e) => e.order === 0), a = e.exhibitors.filter((e) => e.order);
21330
21324
  if (i.length > 0) t.push(...i.map((e) => e.name));
@@ -21340,14 +21334,14 @@ var mj = "Details", hj = class extends kA {
21340
21334
  t.push(e.title || e.name), e.onHold ? n.push(j("On Hold")) : e.reserved ? n.push(j("Reserved")) : r || n.push(...e.exhibitors.map((e) => e.name).sort((e, t) => e > t ? 1 : -1)), e.size && n.push(e.size.indexOf("/") > -1 ? e.size.substring(0, e.size.indexOf("/")).trim() : e.size), e.price && e.price !== "0" && !$.previewMode && n.push(e.price);
21341
21335
  }
21342
21336
  $.rtl && t.forEach((e, n) => {
21343
- (e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + "‏"), $A(e) && (t[n] = t[n] + " ");
21337
+ (e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + "‏"), QA(e) && (t[n] = t[n] + " ");
21344
21338
  }), this.lines = [t, n];
21345
21339
  }
21346
21340
  calculateFontSizeFactors() {
21347
- let e = this.lines[0], t, n = this.canvasRect, r = [], i = [], a = this.prefixes.slice(0, this.exh.length ? this.prefixes.length : this.prefixes.length - 1), { main: o, details: s } = this.exh.length ? fj() : dj();
21341
+ let e = this.lines[0], t, n = this.canvasRect, r = [], i = [], a = this.prefixes.slice(0, this.exh.length ? this.prefixes.length : this.prefixes.length - 1), { main: o, details: s } = this.exh.length ? dj() : uj();
21348
21342
  for (let { fontSize: c, short: l } of a) {
21349
21343
  let a = c * devicePixelRatio, u = .9 * c * devicePixelRatio, d = zc(a, o), f = zc(u, s), p = R.hideExhibitorBoothNumber || l, m, h, g, _;
21350
- if (this.exh.length) t = l ? [] : this.lines[1], g = Math.max(...e.map((e) => this.measureText(e, d).width), ...t.map((e) => this.measureText(e, f).width)), m = Math.max(...e.map((e) => this.exh.length ? this.measureText(ij(e), d).width : this.measureText(ij(e), d).width + 3 + 3), ...t.map((e) => this.measureText(ij(e), f).width)), _ = a * e.length + u * t.length + devicePixelRatio * (e.length + t.length) + 3, h = p ? _ / e.length : null;
21344
+ if (this.exh.length) t = l ? [] : this.lines[1], g = Math.max(...e.map((e) => this.measureText(e, d).width), ...t.map((e) => this.measureText(e, f).width)), m = Math.max(...e.map((e) => this.exh.length ? this.measureText(rj(e), d).width : this.measureText(rj(e), d).width + 3 + 3), ...t.map((e) => this.measureText(rj(e), f).width)), _ = a * e.length + u * t.length + devicePixelRatio * (e.length + t.length) + 3, h = p ? _ / e.length : null;
21351
21345
  else {
21352
21346
  let t = e[0].replace(/[0-9]/g, "3").replace(/[A-Z]/g, "A");
21353
21347
  g = this.measureText(t, d).width + 3 + 3, _ = a + 4;
@@ -21364,19 +21358,19 @@ var mj = "Details", hj = class extends kA {
21364
21358
  });
21365
21359
  }
21366
21360
  if (!this.exh.length) {
21367
- let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === mj);
21361
+ let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === pj);
21368
21362
  t && (r.push({
21369
21363
  scaleFactor: e.scaleFactor / 1.8,
21370
21364
  value: t.fontSize * devicePixelRatio,
21371
21365
  lines: []
21372
21366
  }), i.push({
21373
21367
  scaleFactor: e.scaleFactor / 1.8,
21374
- value: t.fontSize * (rj ? 1 : .9) * devicePixelRatio,
21368
+ value: t.fontSize * (nj ? 1 : .9) * devicePixelRatio,
21375
21369
  lines: []
21376
21370
  }));
21377
21371
  }
21378
21372
  let c = cf();
21379
- this.fontUrls = [lj(o, c), lj(s, c)], this.minZoomDotVisible = sj(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
21373
+ this.fontUrls = [cj(o, c), cj(s, c)], this.minZoomDotVisible = oj(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
21380
21374
  }
21381
21375
  calcArea(e, t) {
21382
21376
  return Math.floor(Math.max(0, e) * Math.max(0, t) / 1e3);
@@ -21385,23 +21379,23 @@ var mj = "Details", hj = class extends kA {
21385
21379
  return Math.min(R.viewOptimizationLevel ? R.viewOptimizationLevel : Math.floor(this.calcArea(this.canvasRect.size.x, this.canvasRect.size.y) / 5e3), 3);
21386
21380
  }
21387
21381
  measureText(e, t) {
21388
- return aj.font = t, aj.measureText(e);
21382
+ return ij.font = t, ij.measureText(e);
21389
21383
  }
21390
- }, gj = document.createElement("canvas").getContext("2d"), _j = class {
21384
+ }, hj = document.createElement("canvas").getContext("2d"), gj = class {
21391
21385
  constructor(e, t, n) {
21392
- this.maxMultilineFontSize = void 0, this.baseFontSize = void 0, this.fontSizes = void 0, this.ctx = void 0, this.spaceWidth = void 0, this.baseFontSize = this.maxMultilineFontSize = n, this.fontSizes = t, this.ctx = gj, this.ctx.textAlign = "center", this.ctx.textBaseline = "alphabetic", this.ctx.font = e(this.baseFontSize), this.spaceWidth = this.ctx.measureText(" ").width;
21386
+ this.maxMultilineFontSize = void 0, this.baseFontSize = void 0, this.fontSizes = void 0, this.ctx = void 0, this.spaceWidth = void 0, this.baseFontSize = this.maxMultilineFontSize = n, this.fontSizes = t, this.ctx = hj, this.ctx.textAlign = "center", this.ctx.textBaseline = "alphabetic", this.ctx.font = e(this.baseFontSize), this.spaceWidth = this.ctx.measureText(" ").width;
21393
21387
  }
21394
21388
  getStepsForRect(e, t, n) {
21395
21389
  let r = e.split(/\s+/), i = r.map((e) => this.ctx.measureText(e).width), a = [], o = Infinity, s = 0;
21396
21390
  for (let e of this.fontSizes) {
21397
- let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f = vj(u, d, e > this.maxMultilineFontSize ? 1 : Infinity).filter((e) => e);
21391
+ let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f = _j(u, d, e > this.maxMultilineFontSize ? 1 : Infinity).filter((e) => e);
21398
21392
  for (let i = 0; i < f.length; i++) {
21399
21393
  let l = f[i], p = l, m = i + 1, h = c * m, g = p / t, _ = h / n, v = Math.max(_, g);
21400
21394
  if (v > o || m < s) continue;
21401
21395
  o = v, s = m;
21402
- let y = xj(bj(l, m, u, d), u, d);
21396
+ let y = bj(yj(l, m, u, d), u, d);
21403
21397
  if (!y) continue;
21404
- let b = Cj(y, r);
21398
+ let b = Sj(y, r);
21405
21399
  a.push({
21406
21400
  scaleFactor: v,
21407
21401
  value: e,
@@ -21413,12 +21407,12 @@ var mj = "Details", hj = class extends kA {
21413
21407
  return a;
21414
21408
  }
21415
21409
  };
21416
- function vj(e, t, n) {
21410
+ function _j(e, t, n) {
21417
21411
  let r = [], i, a = 1, o = Infinity, s;
21418
- for (; (s = yj(o, e, t)) && s.length <= n;) a !== s.length && (r[a - 1] = i), a = s.length, i = Math.max(...s), o = i - 1;
21412
+ for (; (s = vj(o, e, t)) && s.length <= n;) a !== s.length && (r[a - 1] = i), a = s.length, i = Math.max(...s), o = i - 1;
21419
21413
  return r[a - 1] = i, r;
21420
21414
  }
21421
- function yj(e, t, n) {
21415
+ function vj(e, t, n) {
21422
21416
  let r = [], i, a = -1;
21423
21417
  function o() {
21424
21418
  a++, i = 0;
@@ -21434,7 +21428,7 @@ function yj(e, t, n) {
21434
21428
  }
21435
21429
  return r;
21436
21430
  }
21437
- function bj(e, t, n, r) {
21431
+ function yj(e, t, n, r) {
21438
21432
  return i(t, 0);
21439
21433
  function i(e, t) {
21440
21434
  let r = a(t), o = [];
@@ -21463,45 +21457,45 @@ function bj(e, t, n, r) {
21463
21457
  }
21464
21458
  }
21465
21459
  }
21466
- function xj(e, t, n) {
21460
+ function bj(e, t, n) {
21467
21461
  let r = e.map((e) => ({
21468
21462
  ll: e,
21469
- dd: Sj(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
21463
+ dd: xj(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
21470
21464
  }));
21471
21465
  return r.sort((e, t) => e.dd - t.dd), r.map((e) => e.ll)[0];
21472
21466
  }
21473
- function Sj(e) {
21467
+ function xj(e) {
21474
21468
  let t = e.length, n = e.reduce((e, t) => e + t) / t;
21475
21469
  return Math.sqrt(e.map((e) => (e - n) ** 2).reduce((e, t) => e + t) / t);
21476
21470
  }
21477
- function Cj(e, t) {
21471
+ function Sj(e, t) {
21478
21472
  return e.map((e) => e.map((e) => t[e]).reduce((e, t, n) => e + (n > 0 ? " " : "") + t), "");
21479
21473
  }
21480
21474
  //#endregion
21481
21475
  //#region src/components/Map/drawing/config/config-booth-labels-special.ts
21482
- var wj = /* @__PURE__ */ new Map();
21483
- function Tj(e) {
21484
- let t = wj.get(e);
21485
- return t || (t = new _j(zc, [
21476
+ var Cj = /* @__PURE__ */ new Map();
21477
+ function wj(e) {
21478
+ let t = Cj.get(e);
21479
+ return t || (t = new gj(zc, [
21486
21480
  18,
21487
21481
  16,
21488
21482
  14,
21489
21483
  12,
21490
21484
  10,
21491
21485
  7
21492
- ].map((t) => t * e), 14 * e), wj.set(e, t), setTimeout(() => wj.delete(e), 5e3)), t;
21486
+ ].map((t) => t * e), 14 * e), Cj.set(e, t), setTimeout(() => Cj.delete(e), 5e3)), t;
21493
21487
  }
21494
- function Ej(e) {
21495
- if (!(!(e instanceof bs) || e.noLabels)) return new Dj(e);
21488
+ function Tj(e) {
21489
+ if (!(!(e instanceof bs) || e.noLabels)) return new Ej(e);
21496
21490
  }
21497
- var Dj = class extends hj {
21491
+ var Ej = class extends mj {
21498
21492
  constructor(e) {
21499
21493
  super(e), this.steps = [], this.labelIsVertical = void 0, this.text = "";
21500
- let t = this.booth.rect, n = lj(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, cf()), r = t.expand({
21501
- x: -(t.size.width * ej + this.padding),
21502
- y: -(t.size.height * ej + this.padding)
21494
+ let t = this.booth.rect, n = cj(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, cf()), r = t.expand({
21495
+ x: -(t.size.width * $A + this.padding),
21496
+ y: -(t.size.height * $A + this.padding)
21503
21497
  });
21504
- this.setText(), this.canvasRect = new or(r.center, r.size, e.rotate, e.elevation), this.setFactors(this.text), this.labelIsVertical = Math.abs(Math.abs(e.rotate) - Math.PI / 2) < .01, this.fontSizes = [this.steps, []], this.minZoomDotVisible = sj(this.steps.map((e) => e.scaleFactor)), this.shapeLabel = pf([{
21498
+ this.setText(), this.canvasRect = new or(r.center, r.size, e.rotate, e.elevation), this.setFactors(this.text), this.labelIsVertical = Math.abs(Math.abs(e.rotate) - Math.PI / 2) < .01, this.fontSizes = [this.steps, []], this.minZoomDotVisible = oj(this.steps.map((e) => e.scaleFactor)), this.shapeLabel = pf([{
21505
21499
  text: this.text,
21506
21500
  color: e.labelColor || lo.boothLabelColor,
21507
21501
  fontUrl: n,
@@ -21515,14 +21509,14 @@ var Dj = class extends hj {
21515
21509
  $.selectedRoute,
21516
21510
  tW.layersLoaded
21517
21511
  ], () => {
21518
- let e = cj();
21519
- this.shapeLabel.dim = e || this.booth.skipDim ? !1 : void 0, this.shapeDot.dim = e || this.booth.skipDim ? !1 : void 0, eh(this.shapeLabel, this.shapeDot);
21512
+ let e = sj();
21513
+ this.shapeLabel.dim = e || this.booth.skipDim ? 0 : void 0, this.shapeDot.dim = e || this.booth.skipDim ? 0 : void 0, eh(this.shapeLabel, this.shapeDot);
21520
21514
  }), M(() => $.mapSettings, ({ roll: e }) => {
21521
- qA(e == null ? 0 : e) && (this.shapeLabel.onRoll = ({ roll: e, pixelSize: t }) => {
21515
+ KA(e == null ? 0 : e) && (this.shapeLabel.onRoll = ({ roll: e, pixelSize: t }) => {
21522
21516
  let n = this.shapeLabel.bounds.rotation;
21523
21517
  if (this.labelIsVertical) return UA(e, n) ? (this.shapeLabel.bounds.rotate(-2 * n, this.shapeLabel.bounds), [this.shapeLabel, this.shapeDot]) : void 0;
21524
21518
  let r = HA(e, n);
21525
- if (r === void 0) return;
21519
+ if (r === 0) return;
21526
21520
  let { size: i } = this.canvasRect;
21527
21521
  return this.shapeLabel = BA(this.shapeLabel, r), i.x !== i.y && !this.shapeLabel.hidden && (this.canvasRect = VA(this.canvasRect, r), this.setFactors(this.text), this.layOutLabel(t), this.layOutDot(t)), [this.shapeLabel, this.shapeDot];
21528
21522
  });
@@ -21543,33 +21537,33 @@ var Dj = class extends hj {
21543
21537
  }, n.center, n), this.shapeDot.hidden = !!t, [this.shapeDot];
21544
21538
  }
21545
21539
  setFactors(e) {
21546
- this.steps = Tj(devicePixelRatio).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
21540
+ this.steps = wj(devicePixelRatio).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
21547
21541
  }
21548
21542
  setText() {
21549
21543
  let e = this.booth.title || this.booth.name, t = `Clicks: ${nW.getTotalClicksByBooth(this.booth)}`;
21550
21544
  this.text = $.heatmap ? `${e} - ${t}` : e;
21551
21545
  }
21552
- }, Oj = /* @__PURE__ */ new Map();
21553
- function kj(e, t) {
21554
- return Oj.set(e, t), () => {
21555
- Oj.get(e) === t && Oj.delete(e);
21546
+ }, Dj = /* @__PURE__ */ new Map();
21547
+ function Oj(e, t) {
21548
+ return Dj.set(e, t), () => {
21549
+ Dj.get(e) === t && Dj.delete(e);
21556
21550
  };
21557
21551
  }
21558
- function Aj() {
21559
- return [...Oj.values()].map((e) => e());
21552
+ function kj() {
21553
+ return [...Dj.values()].map((e) => e());
21560
21554
  }
21561
21555
  //#endregion
21562
21556
  //#region src/engine/utils/rotation.ts
21563
- function jj(e, t) {
21557
+ function Aj(e, t) {
21564
21558
  var n, r;
21565
21559
  if (!t) return !1;
21566
21560
  let i = Math.cos((n = t.rotation) == null ? 0 : n), a = Math.sin((r = t.rotation) == null ? 0 : r), o = t.size.x / 2, s = t.size.y / 2;
21567
- return Mj(e, e.rotation + Math.PI / 2).every((e) => {
21561
+ return jj(e, e.rotation + Math.PI / 2).every((e) => {
21568
21562
  let n = e.x - t.center.x, r = e.y - t.center.y, c = n * i + r * a, l = r * i - n * a;
21569
21563
  return Math.abs(c) <= o && Math.abs(l) <= s;
21570
21564
  });
21571
21565
  }
21572
- function Mj(e, t = e.rotation) {
21566
+ function jj(e, t = e.rotation) {
21573
21567
  let n = e.size.x / 2, r = e.size.y / 2, i = Math.sin(t), a = Math.cos(t), o = e.center.x, s = e.center.y;
21574
21568
  return [
21575
21569
  {
@@ -21593,13 +21587,16 @@ function Mj(e, t = e.rotation) {
21593
21587
  y: s + e.x * i + e.y * a
21594
21588
  }));
21595
21589
  }
21596
- function Nj(e, t) {
21590
+ function Mj(e, t) {
21597
21591
  let n = e.bounds;
21598
- return UA(t, n.rotation) ? (n.rotate(GA(n.rotation) - n.rotation, n), !0) : !1;
21592
+ return UA(t, n.rotation) ? (n.rotate(WA(n.rotation) - n.rotation, n), !0) : !1;
21593
+ }
21594
+ function Nj(e) {
21595
+ return e.onRoll = ({ roll: t }) => Pj(e, t) ? [e] : void 0, e;
21599
21596
  }
21600
21597
  function Pj(e, t) {
21601
21598
  let n = e.bounds, r = HA(t, n.rotation);
21602
- return r === void 0 ? !1 : (n.rotate(r, n), !0);
21599
+ return r === 0 ? !1 : (n.rotate(r * Math.PI / 2, n), !0);
21603
21600
  }
21604
21601
  //#endregion
21605
21602
  //#region src/utils/getLogoUrl.ts
@@ -21626,7 +21623,7 @@ function Rj(e) {
21626
21623
  //#endregion
21627
21624
  //#region src/components/Map/drawing/config/loadBoothsImages.ts
21628
21625
  async function zj() {
21629
- let e = Aj();
21626
+ let e = kj();
21630
21627
  await Promise.all(e.map(async (e) => {
21631
21628
  let t = await e;
21632
21629
  if (!t) return;
@@ -21634,8 +21631,8 @@ async function zj() {
21634
21631
  if (r.length) {
21635
21632
  let e = [];
21636
21633
  for (let t of r) {
21637
- let { shape: r, parentRect: i } = t, a = jj(r.bounds, i);
21638
- n.name.includes("Pathway_") || (r.onRoll = a ? ({ roll: e }) => Pj(r, e) ? [r] : void 0 : ({ roll: e }) => Nj(r, e) ? [r] : void 0), e.push(r);
21634
+ let { shape: r, parentRect: i } = t, a = Aj(r.bounds, i);
21635
+ n.name.includes("Pathway_") || (r.onRoll = a ? ({ roll: e }) => Pj(r, e) ? [r] : void 0 : ({ roll: e }) => Mj(r, e) ? [r] : void 0), e.push(r);
21639
21636
  }
21640
21637
  n.children.push(...e), eh(n);
21641
21638
  }
@@ -21688,21 +21685,21 @@ function Gj(e, t) {
21688
21685
  var u, d, f, p;
21689
21686
  let t = (u = FA(e)) == null ? void 0 : u.getShape();
21690
21687
  t && (r.push(...t), Bf(e, t));
21691
- let n = (d = oj(e)) == null ? void 0 : d.getShape();
21688
+ let n = (d = aj(e)) == null ? void 0 : d.getShape();
21692
21689
  n && i.push(...n);
21693
- let c = (f = Ej(e)) == null ? void 0 : f.getShape();
21690
+ let c = (f = Tj(e)) == null ? void 0 : f.getShape();
21694
21691
  if (c && a.push(...c), !lo.borderless) {
21695
21692
  var m;
21696
- let t = (m = XA(e)) == null ? void 0 : m.getShape();
21693
+ let t = (m = YA(e)) == null ? void 0 : m.getShape();
21697
21694
  t && o.push(t);
21698
21695
  }
21699
- let l = (p = JA(e)) == null ? void 0 : p.getShape();
21696
+ let l = (p = qA(e)) == null ? void 0 : p.getShape();
21700
21697
  l && s.push(l);
21701
21698
  }
21702
21699
  let h = i.filter((e) => e.lines), g = a.filter((e) => e.lines), _ = i.filter((e) => e.source), v = a.filter((e) => e.source);
21703
21700
  if (!$.hideLogoInBooth) {
21704
21701
  let e = Hj(t);
21705
- kj(c, async () => {
21702
+ Oj(c, async () => {
21706
21703
  let t = await Df(e, 350), n = [];
21707
21704
  for (let [e, r] of t) {
21708
21705
  let t = Q.boothStore.boothById.get(e);
@@ -21834,7 +21831,7 @@ function $j(e, t) {
21834
21831
  name: Vj(e.name),
21835
21832
  children: h.map(Rj)
21836
21833
  };
21837
- m.length && kj(p, async () => {
21834
+ m.length && Oj(p, async () => {
21838
21835
  let e = await yf(m), t = [];
21839
21836
  for (let n of e.filter(Boolean)) {
21840
21837
  let { bounds: { x: e, y: r, height: i, angle: a, width: o }, htmlImage: s } = n, c = ff(s, or.fromMinMax({
@@ -23713,7 +23710,7 @@ var aF = (tF = class {
23713
23710
  }
23714
23711
  async buildEngine() {
23715
23712
  try {
23716
- let { default: e } = await import("./fuse-Dg9J4CBV.js").then((e) => e.n);
23713
+ let { default: e } = await import("./fuse-BHP4h5hM.js").then((e) => e.n);
23717
23714
  se(() => {
23718
23715
  this.engine = new e([], {
23719
23716
  keys: this.keys,
@@ -24969,26 +24966,23 @@ function EL(e, t) {
24969
24966
  n && n.delete(e), i.delete(e);
24970
24967
  }
24971
24968
  function l(r, i, o) {
24972
- var c, l, u;
24973
- let d = e.touchLayer(o.layer), f = t.createImageDef(o.canvas, new or({
24969
+ var c, l;
24970
+ let u = e.touchLayer(o.layer), d = t.createImageDef(o.canvas, new or({
24974
24971
  x: o.x,
24975
24972
  y: o.y
24976
24973
  }, DL, o.rotation), {
24977
24974
  hidden: (c = o.hidden) != null && c,
24978
24975
  dim: +!!o.dimmed,
24979
- origin: o.origin
24976
+ origin: o.origin,
24977
+ cardinalSnap: o.cardinalSnap
24980
24978
  });
24981
- f.onScale = ({ pixelSize: e }) => TL(f, e), o.cardinalSnap && (f.onRoll = ({ roll: e }) => {
24982
- let n = f.bounds, r = t.getRotation(e, n.rotation);
24983
- if (r !== void 0) return n.rotate(r, n), [f];
24984
- }), d.children.push(f);
24985
- let p = {
24986
- imageDef: f,
24979
+ d.onScale = ({ pixelSize: e }) => TL(d, e), u.children.push(d);
24980
+ let f = {
24981
+ imageDef: d,
24987
24982
  layerName: o.layer,
24988
- cardinalSnap: (l = o.cardinalSnap) != null && l,
24989
- callback: (u = o.onClick) == null ? null : u
24983
+ callback: (l = o.onClick) == null ? null : l
24990
24984
  };
24991
- return n.set(r, p), a.set(f, p), s(i, r), p;
24985
+ return n.set(r, f), a.set(d, f), s(i, r), f;
24992
24986
  }
24993
24987
  function u(t, r, i, o) {
24994
24988
  let s = e.resolveLayer(i.layerName), u = s.children, d = u.indexOf(i.imageDef);
@@ -25001,8 +24995,8 @@ function EL(e, t) {
25001
24995
  u(t, n, r, i);
25002
24996
  return;
25003
24997
  }
25004
- let c = r.imageDef.bounds;
25005
- c.set(i.x, i.y, c.size.x, c.size.y, (a = i.rotation) == null ? 0 : a, c.elevation), r.imageDef.hidden = (o = i.hidden) != null && o, r.imageDef.dim = +!!i.dimmed, r.callback = (s = i.onClick) == null ? null : s, e.touchDef(r.imageDef);
24998
+ let c = r.imageDef.bounds, l = (a = i.rotation) == null ? c.rotation : a;
24999
+ c.set(i.x, i.y, c.size.x, c.size.y, l, c.elevation), r.imageDef.hidden = (o = i.hidden) != null && o, r.imageDef.dim = +!!i.dimmed, r.callback = (s = i.onClick) == null ? null : s, e.touchDef(r.imageDef);
25006
25000
  }
25007
25001
  function f(t) {
25008
25002
  t.imageDef.hidden = !0, t.callback = null, e.touchDef(t.imageDef);
@@ -25034,24 +25028,6 @@ function EL(e, t) {
25034
25028
  destroy() {
25035
25029
  n.clear(), a.clear(), r.clear(), i.clear();
25036
25030
  },
25037
- applyScale(e) {
25038
- let t = [];
25039
- for (let r of n.values()) {
25040
- if (r.imageDef.hidden) continue;
25041
- let n = TL(r.imageDef, e);
25042
- n && t.push(...n);
25043
- }
25044
- return t;
25045
- },
25046
- applyRoll(e) {
25047
- let r = [];
25048
- for (let i of n.values()) {
25049
- if (!i.cardinalSnap) continue;
25050
- let n = i.imageDef.bounds, a = t.getRotation(e, n.rotation);
25051
- a !== void 0 && (n.rotate(a, n), r.push(i.imageDef));
25052
- }
25053
- return r;
25054
- },
25055
25031
  handleClick(e) {
25056
25032
  let t = a.get(e);
25057
25033
  return !(t != null && t.callback) || t.imageDef.hidden ? !1 : (t.callback(), !0);
@@ -25233,64 +25209,95 @@ function ML(e, t, n) {
25233
25209
  //#region ../wayfinding/src/renderer/trailManager.ts
25234
25210
  var NL = 40;
25235
25211
  function PL(e, t) {
25236
- let n = /* @__PURE__ */ new Map(), r = 1;
25237
- function i(e, t) {
25212
+ let n = /* @__PURE__ */ new Map(), r = 1, i = /* @__PURE__ */ new Set();
25213
+ function a(e, t) {
25238
25214
  r = t;
25239
- let i = !1;
25240
- for (let t of n.values()) t.layerName === e.name && (o(t), i = !0);
25241
- if (i) return [e];
25215
+ let i = [], a = !1;
25216
+ for (let t of n.values()) {
25217
+ if (t.layerName !== e.name) continue;
25218
+ let n = c(t);
25219
+ i.push(...n.changed), a || (a = n.membershipChanged);
25220
+ }
25221
+ return a && i.push(e), i.length ? i : void 0;
25242
25222
  }
25243
- function a(t) {
25244
- if (!t.dotDefs.length) return;
25245
- let n = e.touchLayer(t.layerName), r = new Set(t.dotDefs);
25246
- n.children = n.children.filter((e) => !r.has(e)), t.dotDefs = [];
25247
- }
25248
- function o(n) {
25249
- let o = e.touchLayer(n.layerName);
25250
- o.onScale = ({ pixelSize: e }) => i(o, e);
25251
- let s = NL * r, c = rL(n.from, n.to, s), l = n.canvas, u = {
25223
+ function o(t, n) {
25224
+ if (!n.length) return;
25225
+ let r = e.touchLayer(t.layerName), i = new Set(n);
25226
+ for (let e of i) e.hidden = !0;
25227
+ r.children = r.children.filter((e) => !i.has(e));
25228
+ }
25229
+ function s(t) {
25230
+ let n = e.resolveLayer(t);
25231
+ return i.has(t) ? n : (n.onScale = ({ pixelSize: e }) => a(n, e), i.add(t), e.touchLayer(t), n);
25232
+ }
25233
+ function c(n) {
25234
+ let i = s(n.layerName), a = NL * r, c = rL(n.from, n.to, a), l = n.canvas, u = {
25252
25235
  x: l.width * r,
25253
25236
  y: l.height * r
25254
- }, d = c.map((e) => t.createImageDef(l, new or({
25255
- x: e.x,
25256
- y: e.y
25257
- }, u)));
25258
- a(n), o.children.push(...d), n.dotDefs = d;
25237
+ }, d = n.dotDefs, f = Math.min(d.length, c.length), p = [];
25238
+ for (let e = 0; e < f; e++) {
25239
+ let t = d[e].bounds;
25240
+ t.set(c[e].x, c[e].y, u.x, u.y, t.rotation, t.elevation), p.push(d[e]);
25241
+ }
25242
+ if (c.length > f) {
25243
+ let r = c.slice(f).map((e) => t.createImageDef(l, new or({
25244
+ x: e.x,
25245
+ y: e.y
25246
+ }, u)));
25247
+ return i.children.push(...r), d.push(...r), e.touchLayer(n.layerName), {
25248
+ changed: p,
25249
+ membershipChanged: !0
25250
+ };
25251
+ }
25252
+ if (d.length > f) {
25253
+ let e = d.splice(f);
25254
+ return o(n, e), p.push(...e), {
25255
+ changed: p,
25256
+ membershipChanged: !0
25257
+ };
25258
+ }
25259
+ return {
25260
+ changed: p,
25261
+ membershipChanged: !1
25262
+ };
25259
25263
  }
25260
- function s(e) {
25261
- let t = n.get(e);
25262
- t && (a(t), n.delete(e));
25264
+ function l(t) {
25265
+ let r = n.get(t);
25266
+ if (r) {
25267
+ o(r, r.dotDefs);
25268
+ for (let t of r.dotDefs) e.touchDef(t);
25269
+ r.dotDefs = [], n.delete(t);
25270
+ }
25271
+ }
25272
+ function u(t) {
25273
+ for (let n of t.changed) e.touchDef(n);
25263
25274
  }
25264
25275
  return {
25265
25276
  setTrail(e, t, r, i) {
25266
25277
  if (t === null || r === null) {
25267
- s(e);
25278
+ l(e);
25268
25279
  return;
25269
25280
  }
25270
25281
  if (!i) throw Error(`renderer: setTrail("${e}") requires options when from/to are non-null`);
25271
25282
  let a = n.get(e);
25272
25283
  if (a) {
25273
25284
  if (a.canvas !== i.canvas || a.layerName !== i.layer) throw Error(`renderer: trail "${e}" cannot change canvas or layer after first call`);
25274
- a.from = t, a.to = r, o(a);
25285
+ a.from = t, a.to = r, u(c(a));
25275
25286
  return;
25276
25287
  }
25277
- let c = {
25288
+ let o = {
25278
25289
  from: t,
25279
25290
  to: r,
25280
25291
  canvas: i.canvas,
25281
25292
  layerName: i.layer,
25282
25293
  dotDefs: []
25283
25294
  };
25284
- n.set(e, c), o(c);
25285
- },
25286
- applyScale(t) {
25287
- r = t;
25288
- let i = /* @__PURE__ */ new Set();
25289
- for (let t of n.values()) o(t), i.add(e.touchLayer(t.layerName));
25290
- return [...i];
25295
+ n.set(e, o), u(c(o));
25291
25296
  },
25292
25297
  destroy() {
25293
- for (let e of [...n.keys()]) s(e);
25298
+ for (let e of [...n.keys()]) l(e);
25299
+ for (let t of i) e.resolveLayer(t).onScale = void 0;
25300
+ i.clear();
25294
25301
  }
25295
25302
  };
25296
25303
  }
@@ -25310,8 +25317,6 @@ function IL(e, t = {}) {
25310
25317
  clearIcons: (...e) => i.clearIcons(...e),
25311
25318
  setTrail: (...e) => a.setTrail(...e),
25312
25319
  setRouteLines: (...e) => o.setRouteLines(...e),
25313
- applyScale: (e) => [...i.applyScale(e), ...a.applyScale(e)],
25314
- applyRoll: (e) => i.applyRoll(e),
25315
25320
  handleClick: (e) => i.handleClick(e),
25316
25321
  handleHover: (e) => i.handleHover(e),
25317
25322
  clearRoute() {
@@ -25742,9 +25747,7 @@ function nR(e) {
25742
25747
  var n;
25743
25748
  return (n = e.onRouteDistance) == null ? void 0 : n.call(e, t);
25744
25749
  }
25745
- }), u = (e) => {
25746
- e.length && n.update(...e);
25747
- };
25750
+ });
25748
25751
  return {
25749
25752
  setRoute: (e) => l.setRoute(e),
25750
25753
  buildRoute: (e, t, n) => s.buildRoute(e, t, n),
@@ -25752,8 +25755,6 @@ function nR(e) {
25752
25755
  setPosition: (e) => l.onPositionChanged(e),
25753
25756
  notifyFloorChanged: () => l.onFloorChanged(),
25754
25757
  shouldReroute: (e) => l.shouldReroute(e),
25755
- applyScale: (e) => u(c.applyScale(e)),
25756
- applyRoll: (e) => u(c.applyRoll(e)),
25757
25758
  handleClick: (e) => {
25758
25759
  for (let t of e) if (c.handleClick(t)) return !0;
25759
25760
  return !1;
@@ -26021,9 +26022,11 @@ function WR(e, t, n) {
26021
26022
  }
26022
26023
  function GR(e) {
26023
26024
  let { scene: t, store: n, canvas: r } = e, i = t.rootLayer.children, { wayfinding: a, dispose: o } = KR(n, {
26024
- createImageDef: ff,
26025
+ createImageDef: (e, t, n) => {
26026
+ let { cardinalSnap: r, ...i } = n == null ? {} : n, a = ff(e, t, i);
26027
+ return r ? Nj(a) : a;
26028
+ },
26025
26029
  createLineDef: hf,
26026
- getRotation: HA,
26027
26030
  layers: i,
26028
26031
  update: eh
26029
26032
  }), s = JR(i, IR);
@@ -31204,7 +31207,7 @@ Q.toursStore;
31204
31207
  var iW = Q.intercomStore;
31205
31208
  window.__store = Q;
31206
31209
  //#endregion
31207
- export { AP as $, af as $t, RR as A, mr as An, Iv as At, PF as B, Rf as Bt, jz as C, lo as Cn, pj as Ct, GR as D, Lr as Dn, xA as Dt, kz as E, Zr as En, HA as Et, RI as F, Pn as Fn, Km as Ft, fF as G, ff as Gt, DF as H, kf as Ht, zF as I, Mn as In, qm as It, OP as J, df as Jt, VP as K, gf as Kt, BF as L, An as Ln, Gf as Lt, LR as M, tr as Mn, ag as Mt, iR as N, Vn as Nn, og as Nt, BR as O, Ar as On, pA as Ot, LL as P, Gn as Pn, eh as Pt, MP as Q, tf as Qt, RF as R, Jf as Rt, Nz as S, bo as Sn, zj as St, Dz as T, R as Tn, qA as Tt, kF as U, Df as Ut, NF as V, Ff as Vt, OF as W, Sf as Wt, kP as X, mf as Xt, RP as Y, pf as Yt, NP as Z, cf as Zt, UV as _, Lo as _n, kM as _t, tW as a, zc as an, nP as at, SV as b, So as bn, eM as bt, Q as c, ec as cn, SN as ct, rH as d, vs as dn, EN as dt, $d as en, FP as et, eH as f, ys as fn, CN as ft, HV as g, Vo as gn, IM as gt, KV as h, Uo as hn, PM as ht, iW as i, Rc as in, rP as it, IR as j, or as jn, ug as jt, zR as k, vr as kn, fA as kt, $ as l, Vs as ln, DN as lt, qV as m, Yo as mn, HM as mt, $U as n, Bc as nn, yP as nt, QU as o, Sc as on, QN as ot, iH as p, bs as pn, wN as pt, DP as q, _f as qt, nW as r, Ec as rn, iP as rt, rW as s, bc as sn, GN as st, eW as t, Gc as tn, CP as tt, tH as u, Ms as un, TN as ut, RV as v, Ho as vn, yM as vt, Az as w, Qa as wn, lj as wt, AB as x, yo as xn, Jj as xt, FV as y, wo as yn, vM as yt, IF as z, zf as zt };
31210
+ export { AP as $, af as $t, RR as A, mr as An, Iv as At, PF as B, Rf as Bt, jz as C, lo as Cn, fj as Ct, GR as D, Lr as Dn, xA as Dt, kz as E, Zr as En, KA as Et, RI as F, Pn as Fn, Km as Ft, fF as G, ff as Gt, DF as H, kf as Ht, zF as I, Mn as In, qm as It, OP as J, df as Jt, VP as K, gf as Kt, BF as L, An as Ln, Gf as Lt, LR as M, tr as Mn, ag as Mt, iR as N, Vn as Nn, og as Nt, BR as O, Ar as On, pA as Ot, LL as P, Gn as Pn, eh as Pt, MP as Q, tf as Qt, RF as R, Jf as Rt, Nz as S, bo as Sn, zj as St, Dz as T, R as Tn, HA as Tt, kF as U, Df as Ut, NF as V, Ff as Vt, OF as W, Sf as Wt, kP as X, mf as Xt, RP as Y, pf as Yt, NP as Z, cf as Zt, UV as _, Lo as _n, kM as _t, tW as a, zc as an, nP as at, SV as b, So as bn, eM as bt, Q as c, ec as cn, SN as ct, rH as d, vs as dn, EN as dt, $d as en, FP as et, eH as f, ys as fn, CN as ft, HV as g, Vo as gn, IM as gt, KV as h, Uo as hn, PM as ht, iW as i, Rc as in, rP as it, IR as j, or as jn, ug as jt, zR as k, vr as kn, fA as kt, $ as l, Vs as ln, DN as lt, qV as m, Yo as mn, HM as mt, $U as n, Bc as nn, yP as nt, QU as o, Sc as on, QN as ot, iH as p, bs as pn, wN as pt, DP as q, _f as qt, nW as r, Ec as rn, iP as rt, rW as s, bc as sn, GN as st, eW as t, Gc as tn, CP as tt, tH as u, Ms as un, TN as ut, RV as v, Ho as vn, yM as vt, Az as w, Qa as wn, cj as wt, AB as x, yo as xn, Jj as xt, FV as y, wo as yn, vM as yt, IF as z, zf as zt };
31208
31211
 
31209
31212
  ;/* vite-per-chunk-css */
31210
31213
  __vite_inject_css__(".efp-set-kiosk-mode-anchor{bottom:calc(1.25rem * var(--ui-scale));z-index:9999;pointer-events:none;position:fixed;left:50%;transform:translate(-50%)}.efp-set-kiosk-mode{width:calc(23.75rem * var(--ui-scale));background:var(--color-primary);border-radius:var(--border-radius-xl);box-shadow:var(--shadow-md);pointer-events:auto;line-height:1;display:grid}.efp-set-kiosk-mode__header{padding:calc(.625rem * var(--ui-scale)) calc(1rem * var(--ui-scale));font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);color:var(--color-white);text-align:center;grid-template-columns:auto 1fr auto;place-items:center;display:grid}.efp-set-kiosk-mode__header i{font-size:var(--icon-size-xl)}.efp-set-kiosk-mode__header img{width:var(--icon-size-xl);height:var(--icon-size-xl)}.efp-set-kiosk-mode__close{box-shadow:none;cursor:pointer;background:0 0;border:0;margin:0;padding:0}.efp-confirm-dialog{background:var(--color-white);box-shadow:var(--shadow-md);border-radius:var(--border-radius-xl);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));gap:calc(1rem * var(--ui-scale));display:grid;position:relative}.efp-confirm-dialog__content{font-size:var(--font-size-xl);font-weight:var(--font-weight-normal)}.efp-confirm-dialog__content strong{font-weight:var(--font-weight-medium)}.efp-confirm-dialog__controls{gap:calc(.625rem * var(--ui-scale));grid-template-columns:1fr 1fr;display:grid}.efp-info-message{border-radius:var(--border-radius-xl);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));background:var(--color-white);gap:calc(.5rem * var(--ui-scale));display:grid;position:relative}.efp-info-message__item{gap:calc(.625rem * var(--ui-scale));font-size:var(--font-size-xl);font-weight:var(--font-weight-normal);grid-auto-flow:column;place-content:flex-start;place-items:center;line-height:1;display:grid}.efp-info-message__item strong{font-weight:var(--font-weight-bold)}.efp-info-message__img{width:calc(1.875rem * var(--ui-scale));height:calc(1.875rem * var(--ui-scale))}.efp-set-kiosk-form{border-radius:var(--border-radius-xl);background:var(--color-white);padding:calc(1rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));display:grid;position:relative}.efp-set-kiosk-form__content{gap:calc(1rem * var(--ui-scale));display:grid}.efp-set-kiosk-form__inputs{gap:calc(.625rem * var(--ui-scale));display:grid}.efp-set-kiosk-form__controls{gap:calc(.625rem * var(--ui-scale));grid-template-columns:1fr 2fr;display:grid}.efp-range-input{gap:calc(.3125rem * var(--ui-scale));width:100%;font-size:var(--font-size-lg);display:grid}.efp-range-input__header{text-align:center;color:var(--color-black);font-size:var(--font-size-lg);font-weight:var(--font-weight-normal);grid-template-columns:auto 1fr auto;place-items:center;display:grid}.efp-range-input__header strong{font-weight:var(--font-weight-medium)}.efp-range-input__control{width:calc(1.25rem * var(--ui-scale));height:calc(1.25rem * var(--ui-scale));box-shadow:none;cursor:pointer;border:0;outline:none;place-content:center;place-items:center;margin:0;padding:0;display:grid}.efp-range-input__control i{font-size:var(--icon-size-xxs)}.efp-range-input__input-block{width:100%;height:calc(1.375rem * var(--ui-scale));place-items:center;display:grid;position:relative}.efp-range-input__input{opacity:0;z-index:2;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}.efp-range-input__custom-input{height:calc(.375rem * var(--ui-scale));background:var(--color-gray-400);border-radius:calc(.1875rem * var(--ui-scale));pointer-events:none;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.efp-range-input__progress{background:var(--color-primary);border-radius:inherit;height:100%;position:absolute;top:0}.efp-range-input__progress:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__progress:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__progress:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__progress:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__thumb{width:calc(1.375rem * var(--ui-scale));height:calc(1.375rem * var(--ui-scale));background:var(--color-white);border:calc(.1875rem * var(--ui-scale)) solid var(--color-primary-dark);pointer-events:none;box-shadow:var(--shadow-sm);border-radius:50%;position:absolute;top:50%}.efp-range-input__thumb:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__thumb:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){left:0}.efp-range-input__thumb:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-range-input__thumb:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){right:0}.efp-status-messages{height:calc(calc(2.75rem * var(--ui-scale)) + var(--border-radius-2xl));border-radius:var(--border-radius-xl);grid-template-rows:1fr;display:grid;position:absolute;top:0;left:0;right:0;overflow:hidden}.efp-status-messages__message{gap:calc(.375rem * var(--ui-scale));color:var(--color-white);font-size:var(--font-size-xl);font-weight:var(--font-weight-bold);padding-bottom:var(--border-radius-2xl);grid-auto-flow:column;place-content:center;place-items:center;display:grid}.efp-status-messages__message i{font-size:var(--icon-size-md)}.efp-status-messages__message--success{background:var(--color-green)}.efp-status-messages__message--error{background:var(--color-red)}\n/*$vite$:1*/", "store.css", false);