@expofp/floorplan 3.2.10 → 3.2.12

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 (59) hide show
  1. package/dist/browser/{CookieConsent-BtJXdP7g.js → CookieConsent-D7Z1zvoH.js} +29 -29
  2. package/dist/browser/{Debug-967-VpUy.js → Debug-BpJ3Yt6j.js} +6 -6
  3. package/dist/browser/{Demo-7QsDaZT4.js → Demo-CAu8tNnV.js} +8 -8
  4. package/dist/browser/{Free-DXK25Lwr.js → Free-Dtjbs5Bb.js} +8 -8
  5. package/dist/browser/{Gallery-rpTD_EMy.js → Gallery-DCd-gVeP.js} +8 -8
  6. package/dist/browser/{GpsLoader-CdbJ6Wtv.js → GpsLoader-CwhaM_rD.js} +8 -8
  7. package/dist/browser/{KioskStore-drksP-pK.js → KioskStore-S-D6b5kf.js} +3 -3
  8. package/dist/browser/{Mapbox-CqJHsRDD.js → Mapbox-CYVIXxFC.js} +8 -8
  9. package/dist/browser/{SetKioskMode-kUSWKmn_.js → SetKioskMode-DgSmrgmn.js} +7 -7
  10. package/dist/browser/{ShowKiosk-BljQrssJ.js → ShowKiosk-Df5igL4n.js} +9 -9
  11. package/dist/browser/{ThreeComponent-BYyXNeiP.js → ThreeComponent-zl3QtM34.js} +9 -9
  12. package/dist/browser/{TouchHand-B4WmBaw_.js → TouchHand-QJXR9zrh.js} +4 -4
  13. package/dist/browser/{ViewerMenuPanel-Cu3ctunS.js → ViewerMenuPanel-BQg2PHof.js} +7 -7
  14. package/dist/browser/{add-debug-secret-listener-C9qq9krt.js → add-debug-secret-listener-Dpg6hJXG.js} +1 -1
  15. package/dist/browser/{boolean-editor-C-X2A7PC.js → boolean-editor-B1fg8GRP.js} +10 -10
  16. package/dist/browser/{bootIntercom-CnRNCIYM.js → bootIntercom-DPGUvndP.js} +2 -2
  17. package/dist/browser/{box-6xYctg-7.js → box-BgRrEHb5.js} +5 -5
  18. package/dist/browser/{browser-ztEe8e12.js → browser-CM6Y7IGk.js} +2 -2
  19. package/dist/browser/bundle.json +53 -53
  20. package/dist/browser/{classnames-BxLiR1zN.js → classnames-TFIMEeYe.js} +2 -2
  21. package/dist/browser/{client-Cgg5K8i7.js → client-Aih6DWd7.js} +4 -4
  22. package/dist/browser/{data-DAcHRYEQ.js → data-CfaOzRA9.js} +3 -3
  23. package/dist/browser/{debug-overlay-C8MMERKX.js → debug-overlay-CvqXKYqC.js} +11 -11
  24. package/dist/browser/{debug-ui-DQkKWVux.js → debug-ui-CbGnH4qz.js} +7 -7
  25. package/dist/browser/{dist-CVgpYonr.js → dist-B53U7F7A.js} +5 -5
  26. package/dist/browser/{dist-DFeNakeq.js → dist-Ch41wRCl.js} +3 -3
  27. package/dist/browser/{dist-cNbRX4Ll.js → dist-CucOchil.js} +6 -6
  28. package/dist/browser/{efp-debug-init-BkhFS-uf.js → efp-debug-init-DBd9OXOq.js} +2 -2
  29. package/dist/browser/{enum-editor-Dp0vDvar.js → enum-editor-BFL483S-.js} +11 -11
  30. package/dist/browser/{exports-BQCu1lRb.js → exports-rKPKVDu-.js} +1 -1
  31. package/dist/browser/{favicon-BlZTadtt.js → favicon-D6XggTGV.js} +1 -1
  32. package/dist/browser/{fetch-retry.umd-Ck1mU9F8.js → fetch-retry.umd-GAaYdRWp.js} +2 -2
  33. package/dist/browser/{flex-BK0qbq1z.js → flex-B3BtW7Bh.js} +6 -6
  34. package/dist/browser/{flex.props-BOHhvtK7.js → flex.props-BUSDD_Wi.js} +2 -2
  35. package/dist/browser/{floorplan.loader-bF0m4B1-.js → floorplan.loader-qfH0ZSkQ.js} +426 -430
  36. package/dist/browser/{floorplan.ready-DO9giswS.js → floorplan.ready-BbyaL6hp.js} +13 -13
  37. package/dist/browser/{fuse-BtkF3kz5.js → fuse-D5ZhsMEO.js} +2 -2
  38. package/dist/browser/index.js +27 -22
  39. package/dist/browser/{is-debug-opoXgip_.js → is-debug-Wdhvt3ms.js} +3 -3
  40. package/dist/browser/{jsx-runtime-CdGBYo41.js → jsx-runtime-zUblDIPy.js} +2 -2
  41. package/dist/browser/{lib-B8qB7TGp.js → lib-BUzzfdPD.js} +4 -4
  42. package/dist/browser/{main-D2sTc8dC.js → main-O6EuNg2i.js} +1 -1
  43. package/dist/browser/{mobx-3HvxVp6t.js → mobx-PgfpkqhK.js} +4 -4
  44. package/dist/browser/{particles.min-CrLYXoND.js → particles.min-C7I-LldI.js} +2 -2
  45. package/dist/browser/{prop-types-8XbFXwqe.js → prop-types-D8LlC1ig.js} +2 -2
  46. package/dist/browser/{react-bIVKZnR6.js → react--fZLaqnU.js} +2 -2
  47. package/dist/browser/{react-dom-8AX8CQeL.js → react-dom-BYFyq6EH.js} +3 -3
  48. package/dist/browser/{reset-all-settings-Bqtagv1S.js → reset-all-settings-BlOJ5U7L.js} +7 -7
  49. package/dist/browser/{rolldown-runtime-BTAldvAi.js → rolldown-runtime-inJhu5W8.js} +1 -1
  50. package/dist/browser/{settings-i_-tNJvc.js → settings-BGeWcEmK.js} +2 -2
  51. package/dist/browser/{settings-item-DZPmquvx.js → settings-item-9Fm2cbOj.js} +6 -6
  52. package/dist/browser/{store-Bb5KnC15.js → store-DtssCn2i.js} +8 -8
  53. package/dist/browser/{string-editor-B0Cpq_Js.js → string-editor-Dr-TZeXy.js} +8 -8
  54. package/dist/browser/{theme-BDV2utpr.js → theme-CXkb1lmK.js} +8 -8
  55. package/dist/browser/{ui-DpEMbY0X.js → ui-div1xB9Z.js} +8 -8
  56. package/dist/esm/floorplan.loader.js +1 -1
  57. package/dist/esm/floorplan.ready.js +1 -1
  58. package/dist/esm/load.js +22 -10
  59. package/package.json +4 -4
@@ -1,21 +1,21 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8159df81-f770-4b79-8d36-009bf69213aa", e._sentryDebugIdIdentifier = "sentry-dbid-8159df81-f770-4b79-8d36-009bf69213aa");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "64de847b-f96b-4e9c-8f9b-b477e3521cc1", e._sentryDebugIdIdentifier = "sentry-dbid-64de847b-f96b-4e9c-8f9b-b477e3521cc1");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { t as n } from "./jsx-runtime-CdGBYo41.js";
12
- import { t as r } from "./browser-ztEe8e12.js";
13
- import { a as i, ct as a, ft as o, lt as s, o as c, y as l } from "./is-debug-opoXgip_.js";
14
- import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-bF0m4B1-.js";
15
- import { C as te, D as ne, Q as re, i as ie, mt as m, n as ae, w as oe } from "./exports-BQCu1lRb.js";
16
- import { t as se } from "./client-Cgg5K8i7.js";
17
- import { C as ce, F as h, N as g, P as _, S as le, Xn as v, _ as ue, at as de, b as fe, ct as y, ft as pe, h as me, o as b, ot as x, p as S, pt as he, tt as ge, v as _e, x as ve, zn as C } from "./store-Bb5KnC15.js";
18
- import { i as ye } from "./CookieConsent-BtJXdP7g.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
+ import { t as r } from "./browser-CM6Y7IGk.js";
13
+ import { a as i, ct as a, ft as o, lt as s, o as c, y as l } from "./is-debug-Wdhvt3ms.js";
14
+ import { a as u, i as d, n as f, r as p, t as ee } from "./floorplan.loader-qfH0ZSkQ.js";
15
+ import { C as te, D as ne, Q as re, i as ie, mt as m, n as ae, w as oe } from "./exports-rKPKVDu-.js";
16
+ import { t as se } from "./client-Aih6DWd7.js";
17
+ import { C as ce, F as h, N as g, P as _, S as le, Xn as v, _ as ue, at as de, b as fe, ct as y, ft as pe, h as me, o as b, ot as x, p as S, pt as he, tt as ge, v as _e, x as ve, zn as C } from "./store-DtssCn2i.js";
18
+ import { i as ye } from "./CookieConsent-D7Z1zvoH.js";
19
19
  //#region ../../node_modules/.pnpm/@sentry+browser@10.52.0/node_modules/@sentry/browser/build/npm/esm/prod/report-dialog.js
20
20
  function be(e = {}) {
21
21
  let t = p.document, n = (t == null ? void 0 : t.head) || (t == null ? void 0 : t.body);
@@ -1252,7 +1252,7 @@ function Q(e) {
1252
1252
  }
1253
1253
  var Et = 0;
1254
1254
  function $(e, t, n) {
1255
- let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://developer.expofp.com/guide/java-script-api-reference";
1255
+ let r = `Error calling "${e}" SDK method.`, i = `${t.endsWith(".") ? t : t + "."} More information at`, a = "https://js-sdk.expofp.com/api/packages";
1256
1256
  if (n && (a += `#error-${n}`), console.error(`${r} ${i} ${a}`), b.fp.disableRuntimeAlerts) return;
1257
1257
  b.uiState.setGlobalErrorMessage({
1258
1258
  title: r,
@@ -1,12 +1,12 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ab62e059-9e69-487d-8f65-2bdb01a0d05f", e._sentryDebugIdIdentifier = "sentry-dbid-ab62e059-9e69-487d-8f65-2bdb01a0d05f");
7
7
  } catch {}
8
8
  })();
9
- import { n as e } from "./rolldown-runtime-BTAldvAi.js";
9
+ import { n as e } from "./rolldown-runtime-inJhu5W8.js";
10
10
  //#region ../../node_modules/.pnpm/fuse.js@7.3.0/node_modules/fuse.js/dist/fuse.mjs
11
11
  var t = /* @__PURE__ */ e({ default: () => $ });
12
12
  function n(e) {
@@ -1,16 +1,16 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d094db15-8ef8-491d-b785-f967e7f4dd12", e._sentryDebugIdIdentifier = "sentry-dbid-d094db15-8ef8-491d-b785-f967e7f4dd12");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1d24c8c0-13d0-4c08-98a6-9434d63fd8f1", e._sentryDebugIdIdentifier = "sentry-dbid-1d24c8c0-13d0-4c08-98a6-9434d63fd8f1");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import "./efp-debug-init-BkhFS-uf.js";
11
- import "./settings-i_-tNJvc.js";
12
- import { t } from "./browser-ztEe8e12.js";
13
- import { a as n, t as r } from "./floorplan.loader-bF0m4B1-.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import "./efp-debug-init-DBd9OXOq.js";
11
+ import "./settings-BGeWcEmK.js";
12
+ import { t } from "./browser-CM6Y7IGk.js";
13
+ import { a as n, t as r } from "./floorplan.loader-qfH0ZSkQ.js";
14
14
  //#region src/utils/silence-mobx-react-lite-warning.ts
15
15
  if (typeof console < "u" && typeof console.error == "function") {
16
16
  let e = console.error.bind(console);
@@ -29,7 +29,7 @@ function i(e) {
29
29
  //#endregion
30
30
  //#region ../utils/src/lib/fetch-with-retry.ts
31
31
  var a, o = async function(...t) {
32
- return a || (a = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-Ck1mU9F8.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), a(...t);
32
+ return a || (a = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-GAaYdRWp.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), a(...t);
33
33
  };
34
34
  //#endregion
35
35
  //#region ../utils/src/lib/import-node-module.ts
@@ -101,7 +101,7 @@ function y() {
101
101
  e.name = "viewport", e.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", document.head.appendChild(e);
102
102
  }
103
103
  let e = () => !!document.querySelector("link[rel=\"icon\"]");
104
- e() || import("./favicon-BlZTadtt.js").then(({ default: t }) => {
104
+ e() || import("./favicon-D6XggTGV.js").then(({ default: t }) => {
105
105
  if (e()) return;
106
106
  let n = document.createElement("link");
107
107
  n.rel = "icon", n.type = "image/png", n.href = t, document.head.appendChild(n);
@@ -111,10 +111,10 @@ function y() {
111
111
  //#region src/_misc_to_move/logBuildInfo.ts
112
112
  function b() {
113
113
  let e = {
114
- version: "3.2.10",
115
- commit: "c3ff02e2c",
114
+ version: "3.2.12",
115
+ commit: "bb5a79567",
116
116
  branch: "vite-main",
117
- built: "2026-05-15T14:17:34.081Z"
117
+ built: "2026-05-19T13:13:32.523Z"
118
118
  };
119
119
  if (e) {
120
120
  let t = new Date(e.built);
@@ -139,25 +139,30 @@ async function C(e, t) {
139
139
  let e = document.querySelector(o);
140
140
  if (!e) throw Error(`Element not found for selector: ${o}`);
141
141
  s = e;
142
- } else o ? s = o : (s = document.getElementById("floorplan"), s || (s = document.createElement("div"), w(s), document.body.appendChild(s)));
143
- let c = s.style;
144
- c.width || (c.width = "100vw"), c.height || (c.height = "100vh", c.height = "100dvh"), c.position || (c.position = "fixed"), c.inset || (c.inset = "0"), c.overflow || (c.overflow = "hidden"), c.touchAction || (c.touchAction = "none"), c.overscrollBehavior || (c.overscrollBehavior = "none"), c.background || (c.background = "#fff"), c.transition || (c.transition = "background-color 2s ease"), (n = document.documentElement.style).overscrollBehavior || (n.overscrollBehavior = "none"), (i = document.body.style).overscrollBehavior || (i.overscrollBehavior = "none"), requestAnimationFrame(() => {
145
- c.backgroundColor = "#ebebeb";
142
+ } else o ? s = o : (s = document.getElementById("floorplan"), s || (s = document.createElement("div"), T(s), document.body.appendChild(s)));
143
+ w(), s.setAttribute("data-efp-floorplan-defaults", ""), (n = document.documentElement.style).overscrollBehavior || (n.overscrollBehavior = "none"), (i = document.body.style).overscrollBehavior || (i.overscrollBehavior = "none"), requestAnimationFrame(() => {
144
+ s.style.backgroundColor = "#ebebeb";
146
145
  });
147
- let l = a.legacyDataUrlBase;
148
- if (S("legacyDataUrlBase", l), a.legacyDataVersion) try {
146
+ let c = a.legacyDataUrlBase;
147
+ if (S("legacyDataUrlBase", c), a.legacyDataVersion) try {
149
148
  let { version: e } = await v(a.legacyDataVersion);
150
149
  globalThis.__fpDataVersion = e;
151
150
  } catch {
152
151
  S("Could not resolve version");
153
152
  }
154
- let u = new r({
153
+ let l = new r({
155
154
  ...a,
156
155
  element: s
157
- }), d = window.___fpResolve;
158
- return window.___fp = u, d && (u.ready.then(() => d(u)), delete window.___fpResolve), u.ready.then(() => window.dispatchEvent(new CustomEvent("expofp:ready", { detail: { floorplan: u } }))), u;
156
+ }), u = window.___fpResolve;
157
+ return window.___fp = l, u && (l.ready.then(() => u(l)), delete window.___fpResolve), l.ready.then(() => window.dispatchEvent(new CustomEvent("expofp:ready", { detail: { floorplan: l } }))), l;
159
158
  }
160
- function w(e) {
159
+ function w() {
160
+ let e = "efp-floorplan-defaults";
161
+ if (document.getElementById(e)) return;
162
+ let t = document.createElement("style");
163
+ t.id = e, t.textContent = "\n[data-efp-floorplan-defaults] {\n width: 100vw;\n height: 100vh;\n height: 100dvh;\n position: fixed;\n inset: 0;\n overflow: hidden;\n touch-action: none;\n overscroll-behavior: none;\n background: #fff;\n transition: background-color 2s ease;\n}", document.head.prepend(t);
164
+ }
165
+ function T(e) {
161
166
  if (!document.adoptedStyleSheets) return;
162
167
  let t = "efp-runtime-loader-spinner", n = `
163
168
  .${t} {
@@ -1,13 +1,13 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f405f9d4-320d-41de-a8ac-8ad296a90cf9", e._sentryDebugIdIdentifier = "sentry-dbid-f405f9d4-320d-41de-a8ac-8ad296a90cf9");
7
7
  } catch {}
8
8
  })();
9
- import { r as e, t } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t as n } from "./browser-ztEe8e12.js";
9
+ import { r as e, t } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t as n } from "./browser-CM6Y7IGk.js";
11
11
  //#region src/tools/logger.ts
12
12
  var r = /* @__PURE__ */ e(n(), 1), i = class {
13
13
  constructor() {
@@ -1,12 +1,12 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bca9010e-5cb9-41e8-b5ad-2f06b54aa3c1", e._sentryDebugIdIdentifier = "sentry-dbid-bca9010e-5cb9-41e8-b5ad-2f06b54aa3c1");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-BTAldvAi.js";
9
+ import { t as e } from "./rolldown-runtime-inJhu5W8.js";
10
10
  //#region ../../node_modules/.pnpm/react@19.2.6/node_modules/react/cjs/react-jsx-runtime.production.js
11
11
  var t = /* @__PURE__ */ e(((e) => {
12
12
  var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
@@ -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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0daf93d6-34ea-4efc-859e-5d628569889e", e._sentryDebugIdIdentifier = "sentry-dbid-0daf93d6-34ea-4efc-859e-5d628569889e");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { t as n } from "./prop-types-8XbFXwqe.js";
9
+ import { t as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { t as n } from "./prop-types-D8LlC1ig.js";
12
12
  //#region ../../node_modules/.pnpm/qr.js@0.0.0/node_modules/qr.js/lib/ErrorCorrectLevel.js
13
13
  var r = /* @__PURE__ */ e(((e, t) => {
14
14
  t.exports = {
@@ -2,7 +2,7 @@
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.2.10" };
5
+ e.SENTRY_RELEASE = { id: "3.2.12" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5190037-4ae1-4b9d-9ef7-d38ebd0da919", e._sentryDebugIdIdentifier = "sentry-dbid-a5190037-4ae1-4b9d-9ef7-d38ebd0da919");
8
8
  } catch {}
@@ -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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1aa12899-65c5-4ace-8ffb-fa9551b4ad42", e._sentryDebugIdIdentifier = "sentry-dbid-1aa12899-65c5-4ace-8ffb-fa9551b4ad42");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { m as n, y as r } from "./is-debug-opoXgip_.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { m as n, y as r } from "./is-debug-Wdhvt3ms.js";
12
12
  //#region src/utils/mobx.ts
13
13
  var i = /* @__PURE__ */ e(t(), 1);
14
14
  function a(e, t) {
@@ -1,12 +1,12 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "22529f3a-43f5-40e1-b007-51e8c4daf2a8", e._sentryDebugIdIdentifier = "sentry-dbid-22529f3a-43f5-40e1-b007-51e8c4daf2a8");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-BTAldvAi.js";
9
+ import { t as e } from "./rolldown-runtime-inJhu5W8.js";
10
10
  //#region ../../node_modules/.pnpm/particlesjs@https+++codeload.github.com+evgenyt1+particles.js+tar.gz+bcda28ac7422659d702713184cf1171b1673c248/node_modules/particlesjs/dist/particles.min.js
11
11
  var t = /* @__PURE__ */ e(((e, t) => {
12
12
  var n = function(e, t) {
@@ -1,12 +1,12 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "32bb1414-0da4-45ad-8cd6-01fdca3762fe", e._sentryDebugIdIdentifier = "sentry-dbid-32bb1414-0da4-45ad-8cd6-01fdca3762fe");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-BTAldvAi.js";
9
+ import { t as e } from "./rolldown-runtime-inJhu5W8.js";
10
10
  //#region ../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js
11
11
  var t = /* @__PURE__ */ e(((e, t) => {
12
12
  t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
@@ -1,12 +1,12 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5fe8677-f509-484e-9d34-9ef1893a18fb", e._sentryDebugIdIdentifier = "sentry-dbid-a5fe8677-f509-484e-9d34-9ef1893a18fb");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-BTAldvAi.js";
9
+ import { t as e } from "./rolldown-runtime-inJhu5W8.js";
10
10
  //#region ../../node_modules/.pnpm/react@19.2.6/node_modules/react/cjs/react.production.js
11
11
  var t = /* @__PURE__ */ e(((e) => {
12
12
  var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
@@ -1,13 +1,13 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "05cb889b-b616-4969-916f-b60bb807f239", e._sentryDebugIdIdentifier = "sentry-dbid-05cb889b-b616-4969-916f-b60bb807f239");
7
7
  } catch {}
8
8
  })();
9
- import { t as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
9
+ import { t as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
11
  //#region ../../node_modules/.pnpm/react-dom@19.2.6_react@19.2.6/node_modules/react-dom/cjs/react-dom.production.js
12
12
  var n = /* @__PURE__ */ e(((e) => {
13
13
  var n = 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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ea177b19-48fd-4317-8719-a69aebfb5419", e._sentryDebugIdIdentifier = "sentry-dbid-ea177b19-48fd-4317-8719-a69aebfb5419");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { t as n } from "./jsx-runtime-CdGBYo41.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
12
  //#region ../debug/src/lib/settings/setting-registry.ts
13
13
  var r = /* @__PURE__ */ e(t(), 1), i = [], a = [], o = n(), s = "efp-local-storage";
14
14
  function c(e) {
@@ -63,7 +63,7 @@ function l(e) {
63
63
  //#region ../debug/src/lib/settings/register-boolean-setting.ts
64
64
  function u(e) {
65
65
  var t;
66
- let n = r.lazy(() => import("./boolean-editor-C-X2A7PC.js").then((e) => ({ default: e.BooleanEditor })));
66
+ let n = r.lazy(() => import("./boolean-editor-B1fg8GRP.js").then((e) => ({ default: e.BooleanEditor })));
67
67
  return c({
68
68
  key: e.key,
69
69
  default: (t = e.default) == null ? !1 : t,
@@ -74,7 +74,7 @@ function u(e) {
74
74
  //#endregion
75
75
  //#region ../debug/src/lib/settings/register-enum-setting.ts
76
76
  function d(e) {
77
- let t = r.lazy(() => import("./enum-editor-Dp0vDvar.js").then((e) => ({ default: e.EnumEditor })));
77
+ let t = r.lazy(() => import("./enum-editor-BFL483S-.js").then((e) => ({ default: e.EnumEditor })));
78
78
  return c({
79
79
  key: e.key,
80
80
  default: e.default,
@@ -87,7 +87,7 @@ function d(e) {
87
87
  //#region ../debug/src/lib/settings/register-string-setting.ts
88
88
  function f(e) {
89
89
  var t;
90
- let n = r.lazy(() => import("./string-editor-B0Cpq_Js.js").then((e) => ({ default: e.StringEditor })));
90
+ let n = r.lazy(() => import("./string-editor-Dr-TZeXy.js").then((e) => ({ default: e.StringEditor })));
91
91
  return c({
92
92
  key: e.key,
93
93
  default: (t = e.default) == null ? "" : t,
@@ -2,7 +2,7 @@
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.2.10" };
5
+ e.SENTRY_RELEASE = { id: "3.2.12" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4a11513d-0070-4205-b636-a85d593cfa99", e._sentryDebugIdIdentifier = "sentry-dbid-4a11513d-0070-4205-b636-a85d593cfa99");
8
8
  } catch {}
@@ -1,9 +1,9 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0a3595ef-9aa6-450c-ac03-85d9c3295c13", e._sentryDebugIdIdentifier = "sentry-dbid-0a3595ef-9aa6-450c-ac03-85d9c3295c13");
7
7
  } catch {}
8
8
  })();
9
- import "./reset-all-settings-Bqtagv1S.js";
9
+ import "./reset-all-settings-BlOJ5U7L.js";
@@ -1,16 +1,16 @@
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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f150d85e-feab-4b87-b712-11fef5e322ac", e._sentryDebugIdIdentifier = "sentry-dbid-f150d85e-feab-4b87-b712-11fef5e322ac");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { t as n } from "./jsx-runtime-CdGBYo41.js";
12
- import { c as r, l as i, s as a, t as o, v as s } from "./box-6xYctg-7.js";
13
- import { t as c } from "./classnames-BxLiR1zN.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
+ import { c as r, l as i, s as a, t as o, v as s } from "./box-BgRrEHb5.js";
13
+ import { t as c } from "./classnames-TFIMEeYe.js";
14
14
  //#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._d6d76dcfd4c9de055b7c51247e12b902/node_modules/@radix-ui/themes/dist/esm/components/separator.props.js
15
15
  var l = /* @__PURE__ */ e(t()), u = /* @__PURE__ */ e(c()), d = {
16
16
  orientation: {
@@ -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.2.10" };
5
+ e.SENTRY_RELEASE = { id: "3.2.12" };
6
6
  var t = new e.Error().stack;
7
7
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d4952cb4-53a2-46d3-b98f-c3ea96458942", e._sentryDebugIdIdentifier = "sentry-dbid-d4952cb4-53a2-46d3-b98f-c3ea96458942");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-BTAldvAi.js";
11
- import { t as n } from "./react-bIVKZnR6.js";
12
- import { t as r } from "./jsx-runtime-CdGBYo41.js";
13
- import { t as i } from "./browser-ztEe8e12.js";
14
- import { C as a, Ct as o, D as s, E as c, Et as l, F as u, G as d, H as f, I as p, K as m, L as h, M as g, N as _, O as v, P as y, St as b, W as x, Y as S, _ as C, _t as w, a as T, b as E, bt as D, c as O, ct as k, d as A, et as ee, f as te, ft as ne, g as re, h as j, ht as ie, i as ae, j as oe, l as se, m as ce, mt as le, n as ue, o as de, p as M, pt as fe, q as pe, r as me, st as he, t as N, tt as ge, u as P, ut as _e, v as F, x as ve, xt as ye, y as I } from "./is-debug-opoXgip_.js";
15
- import { t as be } from "./classnames-BxLiR1zN.js";
10
+ import { r as e, t } from "./rolldown-runtime-inJhu5W8.js";
11
+ import { t as n } from "./react--fZLaqnU.js";
12
+ import { t as r } from "./jsx-runtime-zUblDIPy.js";
13
+ import { t as i } from "./browser-CM6Y7IGk.js";
14
+ import { C as a, Ct as o, D as s, E as c, Et as l, F as u, G as d, H as f, I as p, K as m, L as h, M as g, N as _, O as v, P as y, St as b, W as x, Y as S, _ as C, _t as w, a as T, b as E, bt as D, c as O, ct as k, d as A, et as ee, f as te, ft as ne, g as re, h as j, ht as ie, i as ae, j as oe, l as se, m as ce, mt as le, n as ue, o as de, p as M, pt as fe, q as pe, r as me, st as he, t as N, tt as ge, u as P, ut as _e, v as F, x as ve, xt as ye, y as I } from "./is-debug-Wdhvt3ms.js";
15
+ import { t as be } from "./classnames-TFIMEeYe.js";
16
16
  //#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.6/node_modules/mobx-react-lite/dist/index.module.js
17
17
  var xe = /* @__PURE__ */ e(n());
18
18
  if (!xe.useState) throw Error("mobx-react-lite requires React with Hooks support");
@@ -34360,7 +34360,7 @@ var VL = (LL = class {
34360
34360
  }
34361
34361
  async buildEngine() {
34362
34362
  try {
34363
- let { default: e } = await import("./fuse-BtkF3kz5.js").then((e) => e.n);
34363
+ let { default: e } = await import("./fuse-D5ZhsMEO.js").then((e) => e.n);
34364
34364
  E(() => {
34365
34365
  this.engine = new e([], {
34366
34366
  keys: this.keys,
@@ -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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d6998a34-2e60-485b-acb4-511cd67af42e", e._sentryDebugIdIdentifier = "sentry-dbid-d6998a34-2e60-485b-acb4-511cd67af42e");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { t as n } from "./jsx-runtime-CdGBYo41.js";
12
- import { E as r, c as i, l as a, o, r as s, v as c } from "./box-6xYctg-7.js";
13
- import { t as l } from "./classnames-BxLiR1zN.js";
14
- import { t as u } from "./flex.props-BOHhvtK7.js";
15
- import { t as d } from "./settings-item-DZPmquvx.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
+ import { E as r, c as i, l as a, o, r as s, v as c } from "./box-BgRrEHb5.js";
13
+ import { t as l } from "./classnames-TFIMEeYe.js";
14
+ import { t as u } from "./flex.props-BUSDD_Wi.js";
15
+ import { t as d } from "./settings-item-9Fm2cbOj.js";
16
16
  //#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._d6d76dcfd4c9de055b7c51247e12b902/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js
17
17
  var f = {
18
18
  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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7ef9ec30-23fe-46ab-9eef-b60026a43ae8", e._sentryDebugIdIdentifier = "sentry-dbid-7ef9ec30-23fe-46ab-9eef-b60026a43ae8");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { t } from "./react-bIVKZnR6.js";
11
- import { t as n } from "./jsx-runtime-CdGBYo41.js";
12
- import { t as r } from "./react-dom-8AX8CQeL.js";
13
- import { C as i, D as a, S as o, T as s, _ as c, a as l, g as u, w as d } from "./box-6xYctg-7.js";
14
- import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-cNbRX4Ll.js";
15
- import { t as y } from "./classnames-BxLiR1zN.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { t } from "./react--fZLaqnU.js";
11
+ import { t as n } from "./jsx-runtime-zUblDIPy.js";
12
+ import { t as r } from "./react-dom-BYFyq6EH.js";
13
+ import { C as i, D as a, S as o, T as s, _ as c, a as l, g as u, w as d } from "./box-BgRrEHb5.js";
14
+ import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-CucOchil.js";
15
+ import { t as y } from "./classnames-TFIMEeYe.js";
16
16
  //#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.14__@ty_d1be9c417e0b55d219bafdc186d26ce0/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
17
17
  var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
18
18
  position: "absolute",
@@ -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.2.10" };
4
+ e.SENTRY_RELEASE = { id: "3.2.12" };
5
5
  var t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "92182a39-8df3-47fb-a7de-39aa7bf1975b", e._sentryDebugIdIdentifier = "sentry-dbid-92182a39-8df3-47fb-a7de-39aa7bf1975b");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-BTAldvAi.js";
10
- import { i as t, r as n } from "./reset-all-settings-Bqtagv1S.js";
11
- import { t as r } from "./jsx-runtime-CdGBYo41.js";
12
- import "./settings-i_-tNJvc.js";
13
- import { t as i } from "./browser-ztEe8e12.js";
14
- import { t as a } from "./add-debug-secret-listener-C9qq9krt.js";
9
+ import { r as e } from "./rolldown-runtime-inJhu5W8.js";
10
+ import { i as t, r as n } from "./reset-all-settings-BlOJ5U7L.js";
11
+ import { t as r } from "./jsx-runtime-zUblDIPy.js";
12
+ import "./settings-BGeWcEmK.js";
13
+ import { t as i } from "./browser-CM6Y7IGk.js";
14
+ import { t as a } from "./add-debug-secret-listener-Dpg6hJXG.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-DQkKWVux.js"), { createRoot: i } = await import("./client-Cgg5K8i7.js").then((t) => /* @__PURE__ */ e(t.default, 1)), a = document.createElement("div");
29
+ let { DebugUi: n } = await import("./debug-ui-CbGnH4qz.js"), { createRoot: i } = await import("./client-Aih6DWd7.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 +1 @@
1
- import{PREVIEW_MODE_ATTRIBUTE as V}from"./constants";import l from"./tools/base-runtime-url";import{buildRebookingUrl as H,getRebookingToken as z,retainRebookingToken as G}from"./tools/rebookingUrl";import{loadCss as x,loadFont as g,loadJs as b}from"./tools/loaders";import L from"./tools/logger";import{sleep as N}from"./utils";import{initI18n as Q}from"./utils/i18n";import B from"./utils/is-webview";import{loadCustomCss as q}from"./utils/loadCustomCss";import{loadIcons as W}from"./utils/loadIcons";import $ from"./utils/mergeExhibitors";import E from"./utils/use-shadow";import J from"./utils/is-debug";import K from"./utils/is-localhost";import{initSentry as Y}from"./tools/sentry";import{shouldLoadIntercom as X}from"./intercom";function t(){throw new Error("FloorPlan not ready")}export default class Z{options;renderTarget;_ready;element;eventId;dataUrl;noOverlay;offHistory;ignoreQuery;allowConsent;onInit;disableRuntimeAlerts;viewerMode;efpStyleLoadHandler;resolveReady;icons=new Map;enableRotation=!0;alwaysShowSidebar=!1;get ready(){return this._ready}get previewMode(){return this.options.previewMode||this.element.hasAttribute(V)}onBoothClick;onBookmarkClick;onVisitedClick;onCategoryClick;onFpConfigured;onDirection;onDetails;onExhibitorCustomButtonClick;onGetCoordsClick;onMarkerClick;onLeaveEvent;selectBooth(e){t()}selectExhibitor(e){t()}selectRoute(e,a){t()}getOptimizedRoutes(e){t()}selectCurrentPosition(e,a,h){t()}setBookmarks(e){t()}setEntitiesBookmarks(e){t()}setEntitiesVisited(e){t()}setMarkers(e){t()}updateLayerVisibility(e,a){t()}getCenterCoordinates(){t()}applyParameters(e){t()}exhibitorsList(){t()}boothsList(){t()}categoriesList(){t()}selectCategory(e){t()}getVisibility(){t()}setVisibility(e){t()}findLocation(){t()}zoomIn(){t()}zoomOut(){t()}zoomTo(e,a){t()}switchView(){t()}fitBounds(){t()}getBounds(e){t()}getBoothRect(e){t()}convertToGeo(e,a){t()}unstable_destroy(){t()}highlightExhibitors(e){t()}highlightBooths(e){t()}onCurrentPositionChanged(e){t()}search(e){t()}getFloors(){t()}onFloorActivated(e){t()}activateFloor(e){t()}showPathway(e,a){t()}showPathwayOnly(e,a){t()}hidePathways(){t()}showSearch(){t()}changeLanguage(e){t()}isGpsTrackingEnabled(){t()}setGpsTrackingEnabled(e){t()}deselectCurrentPosition(){t()}deselectRoute(){t()}reset(){t()}selectAccessibleRoute(e){t()}constructor(e){this.options=e,this.noOverlay=!!e.noOverlay,this.offHistory=!!e.offHistory,this.ignoreQuery=e.ignoreQuery,this.allowConsent=K&&!J?!1:e.allowConsent,this.onBoothClick=e.onBoothClick,this.onBookmarkClick=e.onBookmarkClick,this.onVisitedClick=e.onVisitedClick,this.onCategoryClick=e.onCategoryClick,this.onDetails=e.onDetails,this.onExhibitorCustomButtonClick=e.onExhibitorCustomButtonClick,this.onGetCoordsClick=e.onGetCoordsClick,this.onMarkerClick=e.onMarkerClick,this.onFpConfigured=e.onFpConfigured,this.onDirection=e.onDirection,this.onInit=e.onInit,this.onCurrentPositionChanged=e.onCurrentPositionChanged,this.onFloorActivated=e.onFloorActivated,this.onLeaveEvent=e.onLeaveEvent,this.viewerMode=!!e.viewerMode,this.disableRuntimeAlerts=e.disableRuntimeAlerts??!0,this._ready=new Promise((d,i)=>{this.resolveReady=d});const a=e.element;if(this.element=a,a.__expofp)throw new Error("Element already in use");if(a.__expofp=this,a.getAttribute("data-event-id")||a.getAttribute("data-event"))throw new Error("data-xxx attributes are removed, use options instead");const h=e.expo||e.event;if(!h)throw new Error("`expo` option is required");Y({eventId:h||"",isWebview:B}),this.eventId=h,window.__efpEvent=h,window.__efpElement=a;const P=[...a.classList];a.classList.remove(...P),a.classList.add("expofp-floorplan-default",...P);const O=document.head||document.getElementsByTagName("head")[0],R=document.createElement("style");O.prepend(R),R.textContent=".expofp-floorplan-default { width: 100%; height: 100%;}";const m=document.createElement("div");m.style.height="100%",m.style.width="100%",a.appendChild(m);let n;if(B&&(this.allowConsent=!0),e.allowConsent===void 0){const i=new URL(window.location.href).searchParams.get("allowConsent");i&&(this.allowConsent=i==="true")}if(E){n=m.attachShadow({mode:"open"});const d=n,i=document;d.createElement=(...r)=>i.createElement(...r),d.createElementNS=(...r)=>i.createElementNS(...r),d.createTextNode=(...r)=>i.createTextNode(...r)}else n=m;const y=document.createElement("div");if(y.style.height="100%",y.style.width="100%",n.appendChild(y),E&&Object.defineProperty(y,"ownerDocument",{value:n}),window.__efpShadowDOMStyleParent=E?n:void 0,this.renderTarget=y,a.getAttribute("data-data-url"))throw new Error("data-xxx attributes are removed, use options instead");const u=e.legacyDataUrlBase;window.__dataUrlBase=u,this.dataUrl=u,L.log("Instantiating ExpoFP floorplan",e.element,h);const D=u+"data.js",j=u+"wf.data.js",I=u+"fp.svg.js",T=[b(j),b(D),b(I)];let v=0;this.efpStyleLoadHandler=function(d){const i=window.__efpStyleElements;for(;v<i.length;){const r=i[v];n.appendChild(r),v++}},window.addEventListener("__efpStyleLoad",this.efpStyleLoadHandler);const k=this;(async function(){await Promise.all(T);let i=0;for(;window.__fpPending&&!window.__fp;)await N(2e3),await b(I+`?v=${++i}`);const r=window.__data,_=X(r);_&&import("./intercom/bootIntercom").then(({bootIntercom:o})=>o(_)).catch(()=>{}),await Q();const f=new URLSearchParams(window.location.search);let w,C;if(r?.trackerUrl)try{w=new URL(r.trackerUrl),C=w.searchParams.get("expoId")}catch(o){console.error(o)}const U=async o=>{if(!w||!C)return Promise.reject(new Error("trackerUrl or expoId is missing"));const s=new URL(o.dataUrl,w.origin),c=await fetch(s.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({expoId:C,token:decodeURIComponent(f.get("t"))})});let p=[];c.ok&&(p=(await c.json()).map(o.dataMapper)),window.__heatmapDataYah={yah:p}};if(f.get("heatmap")==="true")try{if(f.get("type")==="yah")f.get("subtype")==="kiosk"?await U({dataUrl:"/api/kiosks/list/viewer",dataMapper:o=>({...o,id:o.key,name:`Kiosk ${o.key}`})}):await U({dataUrl:"/api/v1/you-are-here/qr-code/list/viewer",dataMapper:(o,s)=>({...o,name:`QR Code #${s+1}`})});else{const o=new URL("/api/fp-stats/get",w.origin);o.searchParams.set("expoId",C),o.searchParams.set("type","booview"),o.searchParams.set("t",decodeURIComponent(f.get("t")));const s=new URL("api/fp-stats/get",w.origin);s.searchParams.set("expoId",C),s.searchParams.set("type","exview"),s.searchParams.set("t",decodeURIComponent(f.get("t")));const[c,p]=await Promise.all([fetch(o.toString()),fetch(s.toString())]),[S,F]=await Promise.all([c.json(),p.json()]);window.__heatmapData={booths:S,exhibitors:F}}}catch(o){console.error("Heatmap: Initialization error",o)}try{const o=z();if(o){G(o);const s=H("api/rebooking-data",{rt:o,expoKey:h}),c=await fetch(s);if(c.ok){const p=await c.json();$(r,p)}r.isRebooking=c.ok}else r.isRebooking=!1}catch(o){console.error(o)}const M=[x(l+"vendor/sanitize-css/sanitize.css",n),x(l+"vendor/perfect-scrollbar/css/perfect-scrollbar.css",n),x(l+"vendor/mapbox/mapbox-gl.css",n),g("Oswald",l+"fonts/oswald-v17-cyrillic_latin-300.woff",{weight:300}),g("Oswald",l+"fonts/oswald-v17-cyrillic_latin-500.woff",{weight:500}),g("Inter",l+"fonts/inter-400.woff2",{weight:400}),g("Inter",l+"fonts/inter-500.woff2",{weight:500}),g("Inter",l+"fonts/inter-600.woff2",{weight:600}),g("efp-symbols",l+"fonts/efp-symbols.woff",{weight:400}),q(r,n),W(k.icons)];await Promise.all(M),k.enableRotation=r?.enableRotation??!1,k.alwaysShowSidebar=r?.alwaysShowSidebar??!1,L.log("Data loaded");const{default:A}=await import("./floorplan.ready");for(document.querySelectorAll(".expofp-floorplan-loader").forEach(o=>o.remove());a.firstChild&&a.firstChild!==m;)a.removeChild(a.firstChild);Object.setPrototypeOf(k,A.prototype).init()})()}}
1
+ import{PREVIEW_MODE_ATTRIBUTE as T}from"./constants";import l from"./tools/base-runtime-url";import{buildRebookingUrl as A,getRebookingToken as F,retainRebookingToken as V}from"./tools/rebookingUrl";import{loadCss as x,loadFont as g,loadJs as b}from"./tools/loaders";import U from"./tools/logger";import{sleep as H}from"./utils";import{initI18n as z}from"./utils/i18n";import S from"./utils/is-webview";import{loadCustomCss as G}from"./utils/loadCustomCss";import{loadIcons as N}from"./utils/loadIcons";import Q from"./utils/mergeExhibitors";import E from"./utils/use-shadow";import q from"./utils/is-debug";import W from"./utils/is-localhost";import{initSentry as $}from"./tools/sentry";import{shouldLoadIntercom as J}from"./intercom";function t(){throw new Error("FloorPlan not ready")}export default class K{options;renderTarget;_ready;element;eventId;dataUrl;noOverlay;offHistory;ignoreQuery;allowConsent;onInit;disableRuntimeAlerts;viewerMode;efpStyleLoadHandler;resolveReady;icons=new Map;enableRotation=!0;alwaysShowSidebar=!1;get ready(){return this._ready}get previewMode(){return this.options.previewMode||this.element.hasAttribute(T)}onBoothClick;onBookmarkClick;onVisitedClick;onCategoryClick;onFpConfigured;onDirection;onDetails;onExhibitorCustomButtonClick;onGetCoordsClick;onMarkerClick;onLeaveEvent;selectBooth(e){t()}selectExhibitor(e){t()}selectRoute(e,r){t()}getOptimizedRoutes(e){t()}selectCurrentPosition(e,r,h){t()}setBookmarks(e){t()}setEntitiesBookmarks(e){t()}setEntitiesVisited(e){t()}setMarkers(e){t()}updateLayerVisibility(e,r){t()}getCenterCoordinates(){t()}applyParameters(e){t()}exhibitorsList(){t()}boothsList(){t()}categoriesList(){t()}selectCategory(e){t()}getVisibility(){t()}setVisibility(e){t()}findLocation(){t()}zoomIn(){t()}zoomOut(){t()}zoomTo(e,r){t()}switchView(){t()}fitBounds(){t()}getBounds(e){t()}getBoothRect(e){t()}convertToGeo(e,r){t()}unstable_destroy(){t()}highlightExhibitors(e){t()}highlightBooths(e){t()}onCurrentPositionChanged(e){t()}search(e){t()}getFloors(){t()}onFloorActivated(e){t()}activateFloor(e){t()}showPathway(e,r){t()}showPathwayOnly(e,r){t()}hidePathways(){t()}showSearch(){t()}changeLanguage(e){t()}isGpsTrackingEnabled(){t()}setGpsTrackingEnabled(e){t()}deselectCurrentPosition(){t()}deselectRoute(){t()}reset(){t()}selectAccessibleRoute(e){t()}constructor(e){this.options=e,this.noOverlay=!!e.noOverlay,this.offHistory=!!e.offHistory,this.ignoreQuery=e.ignoreQuery,this.allowConsent=W&&!q?!1:e.allowConsent,this.onBoothClick=e.onBoothClick,this.onBookmarkClick=e.onBookmarkClick,this.onVisitedClick=e.onVisitedClick,this.onCategoryClick=e.onCategoryClick,this.onDetails=e.onDetails,this.onExhibitorCustomButtonClick=e.onExhibitorCustomButtonClick,this.onGetCoordsClick=e.onGetCoordsClick,this.onMarkerClick=e.onMarkerClick,this.onFpConfigured=e.onFpConfigured,this.onDirection=e.onDirection,this.onInit=e.onInit,this.onCurrentPositionChanged=e.onCurrentPositionChanged,this.onFloorActivated=e.onFloorActivated,this.onLeaveEvent=e.onLeaveEvent,this.viewerMode=!!e.viewerMode,this.disableRuntimeAlerts=e.disableRuntimeAlerts??!0,this._ready=new Promise((d,i)=>{this.resolveReady=d});const r=e.element;if(this.element=r,r.__expofp)throw new Error("Element already in use");if(r.__expofp=this,r.getAttribute("data-event-id")||r.getAttribute("data-event"))throw new Error("data-xxx attributes are removed, use options instead");const h=e.expo||e.event;if(!h)throw new Error("`expo` option is required");$({eventId:h||"",isWebview:S}),this.eventId=h,window.__efpEvent=h,window.__efpElement=r;const m=document.createElement("div");m.style.height="100%",m.style.width="100%",r.appendChild(m);let n;if(S&&(this.allowConsent=!0),e.allowConsent===void 0){const i=new URL(window.location.href).searchParams.get("allowConsent");i&&(this.allowConsent=i==="true")}if(E){n=m.attachShadow({mode:"open"});const d=n,i=document;d.createElement=(...a)=>i.createElement(...a),d.createElementNS=(...a)=>i.createElementNS(...a),d.createTextNode=(...a)=>i.createTextNode(...a)}else n=m;const y=document.createElement("div");if(y.style.height="100%",y.style.width="100%",n.appendChild(y),E&&Object.defineProperty(y,"ownerDocument",{value:n}),window.__efpShadowDOMStyleParent=E?n:void 0,this.renderTarget=y,r.getAttribute("data-data-url"))throw new Error("data-xxx attributes are removed, use options instead");const u=e.legacyDataUrlBase;window.__dataUrlBase=u,this.dataUrl=u,U.log("Instantiating ExpoFP floorplan",e.element,h);const L=u+"data.js",O=u+"wf.data.js",P=u+"fp.svg.js",B=[b(O),b(L),b(P)];let v=0;this.efpStyleLoadHandler=function(d){const i=window.__efpStyleElements;for(;v<i.length;){const a=i[v];n.appendChild(a),v++}},window.addEventListener("__efpStyleLoad",this.efpStyleLoadHandler);const k=this;(async function(){await Promise.all(B);let i=0;for(;window.__fpPending&&!window.__fp;)await H(2e3),await b(P+`?v=${++i}`);const a=window.__data,R=J(a);R&&import("./intercom/bootIntercom").then(({bootIntercom:o})=>o(R)).catch(()=>{}),await z();const f=new URLSearchParams(window.location.search);let w,C;if(a?.trackerUrl)try{w=new URL(a.trackerUrl),C=w.searchParams.get("expoId")}catch(o){console.error(o)}const I=async o=>{if(!w||!C)return Promise.reject(new Error("trackerUrl or expoId is missing"));const s=new URL(o.dataUrl,w.origin),c=await fetch(s.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({expoId:C,token:decodeURIComponent(f.get("t"))})});let p=[];c.ok&&(p=(await c.json()).map(o.dataMapper)),window.__heatmapDataYah={yah:p}};if(f.get("heatmap")==="true")try{if(f.get("type")==="yah")f.get("subtype")==="kiosk"?await I({dataUrl:"/api/kiosks/list/viewer",dataMapper:o=>({...o,id:o.key,name:`Kiosk ${o.key}`})}):await I({dataUrl:"/api/v1/you-are-here/qr-code/list/viewer",dataMapper:(o,s)=>({...o,name:`QR Code #${s+1}`})});else{const o=new URL("/api/fp-stats/get",w.origin);o.searchParams.set("expoId",C),o.searchParams.set("type","booview"),o.searchParams.set("t",decodeURIComponent(f.get("t")));const s=new URL("api/fp-stats/get",w.origin);s.searchParams.set("expoId",C),s.searchParams.set("type","exview"),s.searchParams.set("t",decodeURIComponent(f.get("t")));const[c,p]=await Promise.all([fetch(o.toString()),fetch(s.toString())]),[_,M]=await Promise.all([c.json(),p.json()]);window.__heatmapData={booths:_,exhibitors:M}}}catch(o){console.error("Heatmap: Initialization error",o)}try{const o=F();if(o){V(o);const s=A("api/rebooking-data",{rt:o,expoKey:h}),c=await fetch(s);if(c.ok){const p=await c.json();Q(a,p)}a.isRebooking=c.ok}else a.isRebooking=!1}catch(o){console.error(o)}const D=[x(l+"vendor/sanitize-css/sanitize.css",n),x(l+"vendor/perfect-scrollbar/css/perfect-scrollbar.css",n),x(l+"vendor/mapbox/mapbox-gl.css",n),g("Oswald",l+"fonts/oswald-v17-cyrillic_latin-300.woff",{weight:300}),g("Oswald",l+"fonts/oswald-v17-cyrillic_latin-500.woff",{weight:500}),g("Inter",l+"fonts/inter-400.woff2",{weight:400}),g("Inter",l+"fonts/inter-500.woff2",{weight:500}),g("Inter",l+"fonts/inter-600.woff2",{weight:600}),g("efp-symbols",l+"fonts/efp-symbols.woff",{weight:400}),G(a,n),N(k.icons)];await Promise.all(D),k.enableRotation=a?.enableRotation??!1,k.alwaysShowSidebar=a?.alwaysShowSidebar??!1,U.log("Data loaded");const{default:j}=await import("./floorplan.ready");for(document.querySelectorAll(".expofp-floorplan-loader").forEach(o=>o.remove());r.firstChild&&r.firstChild!==m;)r.removeChild(r.firstChild);Object.setPrototypeOf(k,j.prototype).init()})()}}