@expofp/floorplan 3.7.2 → 3.7.4

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 (75) hide show
  1. package/dist/browser/Button-aO_HokSj.js +204 -0
  2. package/dist/browser/{CookieConsent-CkkD8OHp.js → CookieConsent-BU0G4gg0.js} +8 -8
  3. package/dist/browser/{Debug-BrHTtyi7.js → Debug-KQpdRJNF.js} +8 -7
  4. package/dist/browser/{Demo-CSTu7D1l.js → Demo-MgosITXW.js} +12 -11
  5. package/dist/browser/{Free-AIxncv0_.js → Free-Cjw8czsd.js} +12 -11
  6. package/dist/browser/{Gallery-DUrcB2Hy.js → Gallery-B44SQVmW.js} +10 -10
  7. package/dist/browser/{GpsLoader-pgJ3wuc6.js → GpsLoader-CsquDv0q.js} +30 -29
  8. package/dist/browser/KioskStore-CmfnbNW2.js +235 -0
  9. package/dist/browser/{MaplibreAdapter-D4hkJUuG.js → MaplibreAdapter-D1SHFdBf.js} +109 -108
  10. package/dist/browser/{Modal-BmKq1A8F.js → Modal-ByxKticO.js} +10 -10
  11. package/dist/browser/{PermissionNotice-DxFR3SY4.js → PermissionNotice-uV0eU__u.js} +7 -7
  12. package/dist/browser/{SetKioskMode-C2BbFaaM.js → SetKioskMode-Bo-NIDqb.js} +19 -18
  13. package/dist/browser/ShowKiosk-YEhx2mBF.js +27 -0
  14. package/dist/browser/{TouchHand-B7Gid0ls.js → TouchHand-DP0lpX80.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-CdYO6Ot1.js → ViewerMenuPanel-D7jBA4RW.js} +19 -18
  16. package/dist/browser/{add-debug-secret-listener-Bc2yTTBY.js → add-debug-secret-listener-BEnYBbzM.js} +1 -1
  17. package/dist/browser/{boolean-editor-aHLubje4.js → boolean-editor-DQhkQ0fL.js} +9 -9
  18. package/dist/browser/{bootIntercom-CqV4IGcS.js → bootIntercom-CJo2kE-M.js} +3 -3
  19. package/dist/browser/{browser-BDLTg20Y.js → browser-DYIvO46m.js} +2 -2
  20. package/dist/browser/bundle.json +61 -58
  21. package/dist/browser/{classnames-ngmqxqQM.js → classnames-C5yzF4HX.js} +2 -2
  22. package/dist/browser/{client-sAA6D0bl.js → client-DfLygbSM.js} +4 -4
  23. package/dist/browser/{components-DxUnx2fx.js → components-BIXJFvok.js} +1666 -1665
  24. package/dist/browser/{createWayfinding-BeI3-x8g.js → createWayfinding-C_0oMFs1.js} +348 -348
  25. package/dist/browser/{debug-overlay-hLm6UgxA.js → debug-overlay-46IP0vsS.js} +10 -10
  26. package/dist/browser/{debug-ui-DZ3tn3fo.js → debug-ui-feLw_onf.js} +6 -6
  27. package/dist/browser/{dist-RBsN5IVo.js → dist-BHUDHZP4.js} +3 -3
  28. package/dist/browser/{dist-B09t6czH.js → dist-ExsqDvEL.js} +5 -5
  29. package/dist/browser/{dist-CRcolEwF.js → dist-im0AIvbY.js} +6 -6
  30. package/dist/browser/{efp-debug-init-B5ItQkLj.js → efp-debug-init-DGPhG_bU.js} +2 -2
  31. package/dist/browser/{enum-editor-CUh-_kSv.js → enum-editor-C4ySP3nc.js} +11 -11
  32. package/dist/browser/{event-not-found-DFg5mwbq.js → event-not-found-DG6AnCnV.js} +1 -1
  33. package/dist/browser/{exports-DbA4--a7.js → exports-DmpoD0fr.js} +1 -1
  34. package/dist/browser/{favicon-ruW3WAVt.js → favicon-Br5ml5iu.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-CGE75NS5.js → fetch-retry.umd-bkAOBUt_.js} +2 -2
  36. package/dist/browser/{flex-Ompowu3M.js → flex-Dwpw7MGM.js} +5 -5
  37. package/dist/browser/{floorplan.loader-l2aNftbI.js → floorplan.loader-CPmefcXe.js} +661 -698
  38. package/dist/browser/{floorplan.ready-CI29paDM.js → floorplan.ready-oUOSRm6R.js} +344 -305
  39. package/dist/browser/{fuse-BEjRK6fK.js → fuse-DP7UCs2S.js} +2 -2
  40. package/dist/browser/{i18n-Cv7u46Kc.js → i18n-Cj30oNjj.js} +3 -3
  41. package/dist/browser/index.js +11 -11
  42. package/dist/browser/{storage-CveWsSQC.js → is-debug-B8x-fro_.js} +7 -24
  43. package/dist/browser/{jsx-runtime-Cd-5cs8d.js → jsx-runtime-D7QyoJp1.js} +2 -2
  44. package/dist/browser/{lib-CVT3RpU0.js → lib-B8nz5HHo.js} +4 -4
  45. package/dist/browser/{main-B7rO04Ru.js → main-BwVw9SUe.js} +1 -1
  46. package/dist/browser/{mobx-CmXg9qBa.js → mobx-D8yc9fAI.js} +4 -4
  47. package/dist/browser/{particles.min-5m7QV5vA.js → particles.min-CUAgfec9.js} +2 -2
  48. package/dist/browser/{prop-types-fzqk8XTC.js → prop-types-CvfWKQCy.js} +2 -2
  49. package/dist/browser/{react-68YGwxL1.js → react-C2tVGrqu.js} +2 -2
  50. package/dist/browser/{react-dom-CpUFygXt.js → react-dom-B_sXID-1.js} +3 -3
  51. package/dist/browser/{reset-all-settings-6gkdxdE4.js → reset-all-settings-Be_n1oxb.js} +7 -7
  52. package/dist/browser/{rolldown-runtime-CBPdtkTI.js → rolldown-runtime-DVIs1q9q.js} +1 -1
  53. package/dist/browser/{settings-vKSgvNe6.js → settings-B8veQbld.js} +2 -2
  54. package/dist/browser/{settings-item-BkC5gNNZ.js → settings-item-CdMRi2N0.js} +6 -6
  55. package/dist/browser/{store-C9IczNWg.js → store-CtVf7eNc.js} +6451 -6598
  56. package/dist/browser/{string-editor-DxCmy8-a.js → string-editor-gjrsepUM.js} +7 -7
  57. package/dist/browser/{theme-CD1xwI4C.js → theme-B0UtMBz_.js} +8 -8
  58. package/dist/browser/{ui-CAdbLhWa.js → ui-BBu8YAw8.js} +8 -8
  59. package/dist/browser/{useRenderTarget-CHkfvzge.js → useRenderTarget-CiijuasV.js} +5 -5
  60. package/dist/esm/components/Kiosk/KioskStore.d.ts +8 -7
  61. package/dist/esm/components/Kiosk/KioskStore.js +1 -1
  62. package/dist/esm/components/Kiosk/SetKiosk/constants.d.ts +1 -0
  63. package/dist/esm/components/Kiosk/SetKiosk/constants.js +1 -1
  64. package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +1 -1
  65. package/dist/esm/components/Kiosk/kioskApi.d.ts +4 -0
  66. package/dist/esm/components/Kiosk/kioskApi.js +1 -0
  67. package/dist/esm/floorplan.loader.js +1 -1
  68. package/dist/esm/floorplan.ready.js +1 -1
  69. package/dist/esm/store/index.js +1 -1
  70. package/dist/esm/tools/track-event.js +1 -1
  71. package/package.json +3 -3
  72. package/dist/browser/KioskStore-D5MdQYvR.js +0 -232
  73. package/dist/browser/ShowKiosk-9IO_9oCi.js +0 -26
  74. package/dist/esm/components/Kiosk/requestKioskKey.d.ts +0 -3
  75. package/dist/esm/components/Kiosk/requestKioskKey.js +0 -1
@@ -0,0 +1,204 @@
1
+ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='undefined') return; var shadow=!forceLightDom&&typeof window!=='undefined'&&window.__efpShadowDOMStyleParent; var parent=shadow||document.head; var s=document.createElement('style'); s.setAttribute('data-chunk-style', id); s.appendChild(document.createTextNode(css)); parent.appendChild(s);}
2
+ (function() {
3
+ try {
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.7.4" };
6
+ var t = new e.Error().stack;
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9b358aee-d872-453f-bf5b-b0f43d32a726", e._sentryDebugIdIdentifier = "sentry-dbid-9b358aee-d872-453f-bf5b-b0f43d32a726");
8
+ } catch {}
9
+ })();
10
+ import { r as e } from "./rolldown-runtime-DVIs1q9q.js";
11
+ import { t } from "./react-C2tVGrqu.js";
12
+ import { t as n } from "./jsx-runtime-D7QyoJp1.js";
13
+ import { g as r, h as i, l as a, v as o, x as s, y as c } from "./i18n-Cj30oNjj.js";
14
+ import { t as l } from "./classnames-C5yzF4HX.js";
15
+ //#region ../../node_modules/.pnpm/mobx-react-lite@1.5.2_mobx@5.15.7_react@19.2.7/node_modules/mobx-react-lite/dist/index.module.js
16
+ var u = /* @__PURE__ */ e(t());
17
+ if (!u.useState) throw Error("mobx-react-lite requires React with Hooks support");
18
+ if (!c) throw Error("mobx-react-lite requires mobx at least version 4 to be available");
19
+ var d = !1;
20
+ function f() {
21
+ return d;
22
+ }
23
+ var p = function() {
24
+ return p = Object.assign || function(e) {
25
+ for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
26
+ return e;
27
+ }, p.apply(this, arguments);
28
+ };
29
+ function m(e, t) {
30
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
31
+ if (!n) return e;
32
+ var r = n.call(e), i, a = [], o;
33
+ try {
34
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
35
+ } catch (e) {
36
+ o = { error: e };
37
+ } finally {
38
+ try {
39
+ i && !i.done && (n = r.return) && n.call(r);
40
+ } finally {
41
+ if (o) throw o.error;
42
+ }
43
+ }
44
+ return a;
45
+ }
46
+ function h(e) {
47
+ return e.current ? i(e.current) : "<unknown>";
48
+ }
49
+ var g = [];
50
+ function _(e) {
51
+ (0, u.useEffect)(function() {
52
+ return e;
53
+ }, g);
54
+ }
55
+ function v() {
56
+ var e = m((0, u.useState)(0), 2)[1];
57
+ return (0, u.useCallback)(function() {
58
+ e(function(e) {
59
+ return e + 1;
60
+ });
61
+ }, []);
62
+ }
63
+ function y(e) {
64
+ if (!e || typeof e != "object") return !1;
65
+ var t = Object.getPrototypeOf(e);
66
+ return !t || t === Object.prototype;
67
+ }
68
+ var b = {};
69
+ function x(e, t, n) {
70
+ if (t === void 0 && (t = "observed"), n === void 0 && (n = b), f()) return e();
71
+ var r = (n.useForceUpdate || v)(), i = (0, u.useRef)(null);
72
+ i.current || (i.current = new a("observer(" + t + ")", function() {
73
+ r();
74
+ }));
75
+ var o = function() {
76
+ i.current && !i.current.isDisposed && (i.current.dispose(), i.current = null);
77
+ };
78
+ (0, u.useDebugValue)(i, h), _(function() {
79
+ o();
80
+ });
81
+ var s, c;
82
+ if (i.current.track(function() {
83
+ try {
84
+ s = e();
85
+ } catch (e) {
86
+ c = e;
87
+ }
88
+ }), c) throw o(), c;
89
+ return s;
90
+ }
91
+ function S(e, t) {
92
+ if (f()) return e;
93
+ var n = p({ forwardRef: !1 }, t), r = e.displayName || e.name, i = function(t, n) {
94
+ return x(function() {
95
+ return e(t, n);
96
+ }, r);
97
+ };
98
+ i.displayName = r;
99
+ var a = n.forwardRef ? (0, u.memo)((0, u.forwardRef)(i)) : (0, u.memo)(i);
100
+ return w(e, a), a.displayName = r, a;
101
+ }
102
+ var C = {
103
+ $$typeof: !0,
104
+ render: !0,
105
+ compare: !0,
106
+ type: !0
107
+ };
108
+ function w(e, t) {
109
+ Object.keys(e).forEach(function(n) {
110
+ e.hasOwnProperty(n) && !C[n] && Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
111
+ });
112
+ }
113
+ function T(e) {
114
+ var t = e.children, n = e.render, r = t || n;
115
+ return typeof r == "function" ? x(r) : null;
116
+ }
117
+ T.propTypes = {
118
+ children: E,
119
+ render: E
120
+ }, T.displayName = "Observer";
121
+ function E(e, t, n, r, i) {
122
+ var a = t === "children" ? "render" : "children", o = typeof e[t] == "function", s = typeof e[a] == "function";
123
+ return o && s ? /* @__PURE__ */ Error("MobX Observer: Do not use children and render in the same time in`" + n) : o || s ? null : /* @__PURE__ */ Error("Invalid prop `" + i + "` of type `" + typeof e[t] + "` supplied to `" + n + "`, expected `function`.");
124
+ }
125
+ function D(e, t) {
126
+ if (!(t && e === void 0)) {
127
+ var n = m(u.useState(function() {
128
+ return r(e, {}, { deep: !1 });
129
+ }), 1)[0];
130
+ return o(function() {
131
+ Object.assign(n, e);
132
+ }), n;
133
+ }
134
+ }
135
+ function O(e, t) {
136
+ var n = D(t, !0);
137
+ return u.useState(function() {
138
+ var t = r(e(n));
139
+ return y(t) && o(function() {
140
+ Object.keys(t).forEach(function(e) {
141
+ var n = t[e];
142
+ typeof n == "function" && (t[e] = k(n, t));
143
+ });
144
+ }), t;
145
+ })[0];
146
+ }
147
+ function k(e, t) {
148
+ return function() {
149
+ var n = [...arguments];
150
+ return s(function() {
151
+ return e.apply(t, n);
152
+ });
153
+ };
154
+ }
155
+ //#endregion
156
+ //#region src/ui/Button/Button.scss
157
+ var A = /* @__PURE__ */ e(l(), 1), j = n(), M = (e) => {
158
+ let t = e.split(/(#\d+#)/), n = e.match(/#(\d+)#/), r = n ? n[1] : null;
159
+ return {
160
+ content: t.map((e, t) => e.match(/#\d+#/) ? /* @__PURE__ */ (0, j.jsx)("div", {
161
+ className: "efp-button-badge",
162
+ children: r
163
+ }, t) : /* @__PURE__ */ (0, j.jsx)("span", { children: e }, t)),
164
+ hasBadge: !!r
165
+ };
166
+ }, N = ({ children: e, inline: t = !1, text: n, link: r, target: i = "_self", disabled: a = !1, variant: o = "primary", size: s = "lg", ariaLabel: c, title: l, withBadge: u = !1, round: d, onClick: f }) => {
167
+ let p = e == null ? n : e, { content: m, hasBadge: h } = u && typeof p == "string" ? M(p) : {
168
+ content: p,
169
+ hasBadge: !1
170
+ }, g = (0, A.default)("efp-button", `efp-button--${o}`, `efp-button--${s}`, {
171
+ "efp-button--inline": t,
172
+ "is-disabled": a,
173
+ "efp-button--round": d
174
+ });
175
+ return r ? /* @__PURE__ */ (0, j.jsx)("a", {
176
+ href: a ? void 0 : r,
177
+ className: g,
178
+ target: i,
179
+ rel: "noopener noreferrer",
180
+ onClick: a ? void 0 : f,
181
+ onKeyDown: (e) => {
182
+ a || e.key !== " " || (e.preventDefault(), e.currentTarget.click());
183
+ },
184
+ "aria-label": c || void 0,
185
+ title: l || c || (typeof p == "string" ? p : void 0),
186
+ role: "button",
187
+ "aria-disabled": a,
188
+ tabIndex: a ? -1 : 0,
189
+ children: m
190
+ }) : /* @__PURE__ */ (0, j.jsx)("button", {
191
+ type: "button",
192
+ className: g,
193
+ disabled: a,
194
+ onClick: f,
195
+ "aria-label": c || void 0,
196
+ title: l || c || (typeof p == "string" ? p : void 0),
197
+ children: m
198
+ });
199
+ };
200
+ //#endregion
201
+ export { x as i, S as n, O as r, N as t };
202
+
203
+ ;/* vite-per-chunk-css */
204
+ __vite_inject_css__(".efp-button,a.efp-button{justify-content:center;align-items:center;gap:calc(.375rem * var(--ui-scale));width:100%;max-width:calc(25rem * var(--ui-scale));border-radius:var(--border-radius-full);font-family:var(--app-font-family);font-weight:var(--font-weight-medium);cursor:pointer;border:0;outline:none;text-decoration:none;transition:background-color .1s ease-in-out;display:flex}.efp-button:hover,a.efp-button:hover{background:var(--color-primary-dark);color:var(--color-white)}.efp-button:active,a.efp-button:active{box-shadow:0 0 8px #3d91f74d}.efp-button:disabled,.efp-button--disabled,a.efp-button:disabled,a.efp-button--disabled{background:var(--color-gray-500);pointer-events:none}.efp-button:disabled:hover,.efp-button:disabled:active,.efp-button--disabled:hover,.efp-button--disabled:active,a.efp-button:disabled:hover,a.efp-button:disabled:active,a.efp-button--disabled:hover,a.efp-button--disabled:active{background:var(--color-gray-500);box-shadow:unset}.efp-button--primary,a.efp-button--primary{background:var(--color-primary);color:var(--color-white)}.efp-button--primary .efp-button-badge,a.efp-button--primary .efp-button-badge,.efp-button--primary:hover,.efp-button--primary:active,a.efp-button--primary:hover,a.efp-button--primary:active{background:var(--color-primary-dark);color:var(--color-white)}.efp-button--primary:hover .efp-button-badge,.efp-button--primary:active .efp-button-badge,a.efp-button--primary:hover .efp-button-badge,a.efp-button--primary:active .efp-button-badge{background:var(--color-primary-ultra-dark)}.efp-button--secondary,a.efp-button--secondary{background:var(--color-primary-ultra-light);color:var(--color-primary)}.efp-button--secondary .efp-button-badge,a.efp-button--secondary .efp-button-badge{background:var(--color-white);color:var(--color-primary)}.efp-button--secondary:hover,.efp-button--secondary:active,a.efp-button--secondary:hover,a.efp-button--secondary:active{background:var(--color-primary-ultra-light);color:var(--color-primary-dark)}.efp-button--secondary:hover .efp-button-badge,.efp-button--secondary:active .efp-button-badge,a.efp-button--secondary:hover .efp-button-badge,a.efp-button--secondary:active .efp-button-badge{color:var(--color-primary-dark)}.efp-button--gray,a.efp-button--gray{background:var(--color-gray-200);color:var(--color-black)}.efp-button--gray .efp-button-badge,a.efp-button--gray .efp-button-badge,.efp-button--gray:hover,.efp-button--gray:active,a.efp-button--gray:hover,a.efp-button--gray:active{background:var(--color-gray-300);color:var(--color-black)}.efp-button--gray:disabled,.efp-button--gray--disabled,a.efp-button--gray:disabled,a.efp-button--gray--disabled,.efp-button--gray:disabled:hover,.efp-button--gray:disabled:active,.efp-button--gray--disabled:hover,.efp-button--gray--disabled:active,a.efp-button--gray:disabled:hover,a.efp-button--gray:disabled:active,a.efp-button--gray--disabled:hover,a.efp-button--gray--disabled:active{background:var(--color-gray-100);color:var(--color-gray-400)}.efp-viewer-mode .efp-button--gray,.efp-viewer-mode a.efp-button--gray{background:#ebeef3}.efp-button--gray-border,a.efp-button--gray-border{background:var(--color-white);border:1px solid var(--color-gray-300);color:var(--color-black)}.efp-button--gray-border .efp-button-badge,a.efp-button--gray-border .efp-button-badge{background:var(--color-gray-200);color:var(--color-black)}.efp-button--gray-border:hover,.efp-button--gray-border:active,a.efp-button--gray-border:hover,a.efp-button--gray-border:active{background:var(--color-gray-300);color:var(--color-black)}.efp-button--gray-border:hover .efp-button-badge,.efp-button--gray-border:active .efp-button-badge,a.efp-button--gray-border:hover .efp-button-badge,a.efp-button--gray-border:active .efp-button-badge{background:var(--color-gray-400)}.efp-button--ghost,a.efp-button--ghost{color:var(--color-gray-900);background:0 0;border:0}.efp-button--ghost .efp-button-badge,a.efp-button--ghost .efp-button-badge,.efp-button--ghost:hover,.efp-button--ghost:active,a.efp-button--ghost:hover,a.efp-button--ghost:active{background:var(--color-gray-200);color:var(--color-black)}.efp-button--ghost:hover .efp-button-badge,.efp-button--ghost:active .efp-button-badge,a.efp-button--ghost:hover .efp-button-badge,a.efp-button--ghost:active .efp-button-badge{background:var(--color-gray-300)}.efp-button--lg,a.efp-button--lg{min-width:calc(10rem * var(--ui-scale));min-height:calc(2.625rem * var(--ui-scale));padding:calc(.5rem * var(--ui-scale)) calc(1.25rem * var(--ui-scale));font-size:var(--font-size-xl)}.efp-button--lg .efp-button-badge,a.efp-button--lg .efp-button-badge{min-width:calc(1.875rem * var(--ui-scale));height:calc(1.875rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-viewer-mode .efp-button--lg,.efp-viewer-mode a.efp-button--lg{min-height:calc(3.5rem * var(--ui-scale));font-size:calc(1.125rem * var(--ui-scale));font-weight:var(--font-weight-bold)}.efp-button--md,a.efp-button--md{min-width:calc(8.75rem * var(--ui-scale));min-height:calc(2.375rem * var(--ui-scale));padding:calc(.375rem * var(--ui-scale)) calc(1.125rem * var(--ui-scale));font-size:var(--font-size-lg)}.efp-button--md .efp-button-badge,a.efp-button--md .efp-button-badge{min-width:calc(1.625rem * var(--ui-scale));height:calc(1.625rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-button--sm,a.efp-button--sm{min-width:calc(6.25rem * var(--ui-scale));min-height:calc(1.875rem * var(--ui-scale));padding:calc(.25rem * var(--ui-scale)) calc(1rem * var(--ui-scale));font-size:var(--font-size-md)}.efp-button--sm .efp-button-badge,a.efp-button--sm .efp-button-badge{min-width:calc(1.375rem * var(--ui-scale));height:calc(1.375rem * var(--ui-scale));font-size:var(--font-size-xs)}.efp-button--inline,a.efp-button--inline{width:auto;min-width:auto;display:inline-flex}.efp-button--round,a.efp-button--round{width:auto;min-width:auto;height:auto;min-height:auto;padding:calc(.5rem * var(--ui-scale))}.efp-button--round i,a.efp-button--round i{font-size:var(--icon-size-xs)}.efp-button--danger,a.efp-button--danger{background:var(--color-red);color:var(--color-white)}.efp-button--danger:hover,.efp-button--danger:active,a.efp-button--danger:hover,a.efp-button--danger:active{background:var(--color-red-dark)}.efp-button>i,a.efp-button>i{font-size:var(--icon-size-sm)}.efp-button-badge{padding:0 calc(.3125rem * var(--ui-scale));border-radius:var(--border-radius-full);justify-content:center;align-items:center;transition:background-color .1s ease-in-out;display:flex}\n/*$vite$:1*/", "Button.css", false);
@@ -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.7.2" };
4
+ e.SENTRY_RELEASE = { id: "3.7.4" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d386aa57-4584-435d-8447-ff72413856bc", e._sentryDebugIdIdentifier = "sentry-dbid-d386aa57-4584-435d-8447-ff72413856bc");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "282eea68-8adf-4928-9805-d318ae668a85", e._sentryDebugIdIdentifier = "sentry-dbid-282eea68-8adf-4928-9805-d318ae668a85");
7
7
  } catch {}
8
8
  })();
9
- import { n as e } from "./rolldown-runtime-CBPdtkTI.js";
10
- import { t } from "./react-68YGwxL1.js";
11
- import { t as n } from "./jsx-runtime-Cd-5cs8d.js";
12
- import { s as r } from "./i18n-Cv7u46Kc.js";
13
- import { un as i } from "./store-C9IczNWg.js";
14
- import { t as a } from "./PermissionNotice-DxFR3SY4.js";
9
+ import { n as e } from "./rolldown-runtime-DVIs1q9q.js";
10
+ import { t } from "./react-C2tVGrqu.js";
11
+ import { t as n } from "./jsx-runtime-D7QyoJp1.js";
12
+ import { s as r } from "./i18n-Cj30oNjj.js";
13
+ import { n as i } from "./Button-aO_HokSj.js";
14
+ import { t as a } from "./PermissionNotice-uV0eU__u.js";
15
15
  //#region src/components/CookieConsent.tsx
16
16
  var o = /* @__PURE__ */ e({ default: () => c });
17
17
  t();
@@ -2,16 +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.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.4" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7bf6e91e-38c7-4eff-b5b0-74bc64f867a7", e._sentryDebugIdIdentifier = "sentry-dbid-7bf6e91e-38c7-4eff-b5b0-74bc64f867a7");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "63ee88b5-54e8-4ef6-a8bb-077a5b95cd04", e._sentryDebugIdIdentifier = "sentry-dbid-63ee88b5-54e8-4ef6-a8bb-077a5b95cd04");
8
8
  } catch {}
9
9
  })();
10
- import "./rolldown-runtime-CBPdtkTI.js";
11
- import { t as e } from "./react-68YGwxL1.js";
12
- import { t } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as n } from "./i18n-Cv7u46Kc.js";
14
- import { fn as r, o as i, s as a } from "./store-C9IczNWg.js";
10
+ import "./rolldown-runtime-DVIs1q9q.js";
11
+ import { t as e } from "./react-C2tVGrqu.js";
12
+ import { t } from "./jsx-runtime-D7QyoJp1.js";
13
+ import { s as n } from "./i18n-Cj30oNjj.js";
14
+ import { i as r } from "./Button-aO_HokSj.js";
15
+ import { o as i, s as a } from "./store-CtVf7eNc.js";
15
16
  e();
16
17
  var o = [], s = t();
17
18
  function c() {
@@ -2,22 +2,23 @@ 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.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.4" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "2037404f-a45d-4057-a162-c98b164c6d38", e._sentryDebugIdIdentifier = "sentry-dbid-2037404f-a45d-4057-a162-c98b164c6d38");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a0f1152c-26d5-4b17-a5d2-f6c7b334ab4a", e._sentryDebugIdIdentifier = "sentry-dbid-a0f1152c-26d5-4b17-a5d2-f6c7b334ab4a");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-CBPdtkTI.js";
11
- import { t as n } from "./react-68YGwxL1.js";
12
- import { t as r } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as i } from "./i18n-Cv7u46Kc.js";
14
- import { t as a } from "./classnames-ngmqxqQM.js";
15
- import { dn as o, fn as s, s as c } from "./store-C9IczNWg.js";
16
- import { n as l } from "./mobx-CmXg9qBa.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-DVIs1q9q.js";
11
+ import { t as n } from "./react-C2tVGrqu.js";
12
+ import { t as r } from "./jsx-runtime-D7QyoJp1.js";
13
+ import { s as i } from "./i18n-Cj30oNjj.js";
14
+ import { t as a } from "./classnames-C5yzF4HX.js";
15
+ import { i as o, r as s } from "./Button-aO_HokSj.js";
16
+ import { s as c } from "./store-CtVf7eNc.js";
17
+ import { n as l } from "./mobx-D8yc9fAI.js";
17
18
  n();
18
19
  var u = /* @__PURE__ */ t(a(), 1), d = /* @__PURE__ */ e({ default: () => m }), f = r(), p = "note-dismissed5";
19
20
  function m() {
20
- let e = o(() => ({
21
+ let e = s(() => ({
21
22
  hidden: !0,
22
23
  get top() {
23
24
  return c.screenSize.width <= 820;
@@ -34,7 +35,7 @@ function m() {
34
35
  sessionStorage.getItem(p) || window.setTimeout(() => {
35
36
  e.hidden = !1;
36
37
  }, 2e3);
37
- }), s(() => /* @__PURE__ */ (0, f.jsx)("div", {
38
+ }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
38
39
  className: e.classes,
39
40
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
40
41
  className: "demo__message",
@@ -2,22 +2,23 @@ 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.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.4" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "479b63b2-4817-45ef-a72d-6bbda9bbf43b", e._sentryDebugIdIdentifier = "sentry-dbid-479b63b2-4817-45ef-a72d-6bbda9bbf43b");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "92293db3-d8e3-4ad6-897a-6fb51c869cca", e._sentryDebugIdIdentifier = "sentry-dbid-92293db3-d8e3-4ad6-897a-6fb51c869cca");
8
8
  } catch {}
9
9
  })();
10
- import { r as e } from "./rolldown-runtime-CBPdtkTI.js";
11
- import { t } from "./react-68YGwxL1.js";
12
- import { t as n } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as r } from "./i18n-Cv7u46Kc.js";
14
- import { t as i } from "./classnames-ngmqxqQM.js";
15
- import { dn as a, fn as o, l as s, s as c, u as l } from "./store-C9IczNWg.js";
16
- import { n as u } from "./mobx-CmXg9qBa.js";
10
+ import { r as e } from "./rolldown-runtime-DVIs1q9q.js";
11
+ import { t } from "./react-C2tVGrqu.js";
12
+ import { t as n } from "./jsx-runtime-D7QyoJp1.js";
13
+ import { s as r } from "./i18n-Cj30oNjj.js";
14
+ import { t as i } from "./classnames-C5yzF4HX.js";
15
+ import { i as a, r as o } from "./Button-aO_HokSj.js";
16
+ import { l as s, s as c, u as l } from "./store-CtVf7eNc.js";
17
+ import { n as u } from "./mobx-D8yc9fAI.js";
17
18
  t();
18
19
  var d = /* @__PURE__ */ e(i(), 1), f = n();
19
20
  function p() {
20
- let e = a(() => ({
21
+ let e = o(() => ({
21
22
  hidden: !0,
22
23
  get classes() {
23
24
  return (0, d.default)("free", { hidden: this.hidden });
@@ -27,7 +28,7 @@ function p() {
27
28
  c.freeBannerDismissed || window.setTimeout(() => {
28
29
  e.hidden = !1;
29
30
  }, 2e3);
30
- }), o(() => /* @__PURE__ */ (0, f.jsx)("div", {
31
+ }), a(() => /* @__PURE__ */ (0, f.jsx)("div", {
31
32
  className: e.classes,
32
33
  children: /* @__PURE__ */ (0, f.jsxs)("section", { children: [/* @__PURE__ */ (0, f.jsx)("div", {
33
34
  className: "free__message",
@@ -2,19 +2,19 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.7.2" };
5
+ e.SENTRY_RELEASE = { id: "3.7.4" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b7c8771-998d-4226-943f-68437b85782b", e._sentryDebugIdIdentifier = "sentry-dbid-8b7c8771-998d-4226-943f-68437b85782b");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "21a5c34f-b584-4f89-9a03-d9c947d70d8c", e._sentryDebugIdIdentifier = "sentry-dbid-21a5c34f-b584-4f89-9a03-d9c947d70d8c");
8
8
  } catch {}
9
9
  })();
10
- import { n as e, r as t } from "./rolldown-runtime-CBPdtkTI.js";
11
- import { t as n } from "./react-68YGwxL1.js";
12
- import { t as r } from "./jsx-runtime-Cd-5cs8d.js";
13
- import { s as i } from "./i18n-Cv7u46Kc.js";
14
- import { t as a } from "./react-dom-CpUFygXt.js";
15
- import { t as o } from "./classnames-ngmqxqQM.js";
16
- import { un as s } from "./store-C9IczNWg.js";
17
- import { t as c } from "./useRenderTarget-CHkfvzge.js";
10
+ import { n as e, r as t } from "./rolldown-runtime-DVIs1q9q.js";
11
+ import { t as n } from "./react-C2tVGrqu.js";
12
+ import { t as r } from "./jsx-runtime-D7QyoJp1.js";
13
+ import { s as i } from "./i18n-Cj30oNjj.js";
14
+ import { t as a } from "./react-dom-B_sXID-1.js";
15
+ import { t as o } from "./classnames-C5yzF4HX.js";
16
+ import { n as s } from "./Button-aO_HokSj.js";
17
+ import { t as c } from "./useRenderTarget-CiijuasV.js";
18
18
  //#region src/components/Gallery/GalleryBadges/GalleryBadges.tsx
19
19
  var l = /* @__PURE__ */ t(o(), 1), u = /* @__PURE__ */ t(n(), 1), d = r(), f = ({ count: e, onFullscreen: t }) => /* @__PURE__ */ (0, d.jsxs)(d.Fragment, { children: [/* @__PURE__ */ (0, d.jsxs)("div", {
20
20
  className: "gallery__badge gallery__badge-count",
@@ -1,46 +1,47 @@
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.7.2" };
4
+ e.SENTRY_RELEASE = { id: "3.7.4" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "02c769e5-0987-4eac-9440-869513ec1964", e._sentryDebugIdIdentifier = "sentry-dbid-02c769e5-0987-4eac-9440-869513ec1964");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7da8affc-22b2-40a6-bdea-c63667cb0469", e._sentryDebugIdIdentifier = "sentry-dbid-7da8affc-22b2-40a6-bdea-c63667cb0469");
7
7
  } catch {}
8
8
  })();
9
- import { r as e } from "./rolldown-runtime-CBPdtkTI.js";
10
- import { t } from "./react-68YGwxL1.js";
11
- import { t as n } from "./jsx-runtime-Cd-5cs8d.js";
12
- import { ct as r, q as i, s as a } from "./i18n-Cv7u46Kc.js";
13
- import { E as o, Et as s, lt as c, o as l, un as u } from "./store-C9IczNWg.js";
14
- import { t as d } from "./PermissionNotice-DxFR3SY4.js";
15
- import { r as f } from "./mobx-CmXg9qBa.js";
9
+ import { r as e } from "./rolldown-runtime-DVIs1q9q.js";
10
+ import { t } from "./react-C2tVGrqu.js";
11
+ import { t as n } from "./jsx-runtime-D7QyoJp1.js";
12
+ import { ct as r, q as i, s as a } from "./i18n-Cj30oNjj.js";
13
+ import { n as o } from "./Button-aO_HokSj.js";
14
+ import { t as s } from "./PermissionNotice-uV0eU__u.js";
15
+ import { At as c, E as l, o as u, ot as d } from "./store-CtVf7eNc.js";
16
+ import { r as f } from "./mobx-D8yc9fAI.js";
16
17
  //#region src/components/gps/utils.ts
17
18
  var p = /* @__PURE__ */ e(t(), 1);
18
19
  function m(e) {
19
20
  return Math.floor(e);
20
21
  }
21
22
  function h(e, t) {
22
- return c(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
23
+ return d(e.lat, e.lng, t.lat, t.lng) >= 3 ? !0 : e.heading !== t.heading;
23
24
  }
24
25
  //#endregion
25
26
  //#region src/components/gps/useUserLocationAndHeading.ts
26
27
  var g = 120, _ = 3e3, v = 360;
27
28
  function y(e) {
28
- let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), l = (0, p.useRef)(!1), u = (0, p.useRef)(null), d = (t) => e(t), f = (e) => {
29
+ let t = (0, p.useRef)(null), n = (0, p.useRef)(null), i = (0, p.useRef)(0), a = (0, p.useRef)(null), o = (0, p.useRef)(!1), s = (0, p.useRef)(null), c = (0, p.useRef)(!1), l = (0, p.useRef)(null), u = (t) => e(t), f = (e) => {
29
30
  let t = Date.now();
30
31
  if (t - i.current < g) return;
31
32
  let n = a.current;
32
33
  if (!s.current) {
33
- s.current = e, i.current = t, a.current = e, d(e);
34
+ s.current = e, i.current = t, a.current = e, u(e);
34
35
  return;
35
36
  }
36
- let r = c(s.current.lat, s.current.lng, e.lat, e.lng), o;
37
- l.current ? r <= 3 ? (l.current = !1, s.current = e, o = {
37
+ let r = d(s.current.lat, s.current.lng, e.lat, e.lng), o;
38
+ c.current ? r <= 3 ? (c.current = !1, s.current = e, o = {
38
39
  ...s.current,
39
40
  heading: e.heading
40
- }) : (s.current = e, o = e) : r >= 3 ? (l.current = !0, s.current = e, u.current = null, o = e) : (u.current == null && (u.current = t), t - u.current > _ && (s.current = e), o = {
41
+ }) : (s.current = e, o = e) : r >= 3 ? (c.current = !0, s.current = e, l.current = null, o = e) : (l.current == null && (l.current = t), t - l.current > _ && (s.current = e), o = {
41
42
  ...s.current,
42
43
  heading: e.heading
43
- }), !(n && !h(n, o)) && (i.current = t, a.current = o, d(o));
44
+ }), !(n && !h(n, o)) && (i.current = t, a.current = o, u(o));
44
45
  }, y = (0, p.useCallback)((e) => {
45
46
  var t;
46
47
  let r = (t = e.webkitCompassHeading) == null ? e.alpha == null ? null : v - e.alpha : t;
@@ -68,7 +69,7 @@ function y(e) {
68
69
  o.current || (o.current = !0, window.addEventListener("deviceorientation", y, !0));
69
70
  },
70
71
  stopGeolocation: () => {
71
- t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, l.current = !1;
72
+ t.current != null && (navigator.geolocation.clearWatch(t.current), t.current = null), s.current = null, c.current = !1;
72
73
  },
73
74
  stopOrientation: () => {
74
75
  o.current = !1, window.removeEventListener("deviceorientation", y, !0);
@@ -77,8 +78,8 @@ function y(e) {
77
78
  }
78
79
  //#endregion
79
80
  //#region src/components/gps/GpsPermissionRequest.tsx
80
- var b = n(), x = u(function({ isOpen: e, onAllow: t, onCancel: n }) {
81
- return e ? /* @__PURE__ */ (0, b.jsx)(d, {
81
+ var b = n(), x = o(function({ isOpen: e, onAllow: t, onCancel: n }) {
82
+ return e ? /* @__PURE__ */ (0, b.jsx)(s, {
82
83
  title: a("Show your position on the map"),
83
84
  acceptText: a("Allow compass access"),
84
85
  rejectText: a("Not now"),
@@ -90,7 +91,7 @@ var b = n(), x = u(function({ isOpen: e, onAllow: t, onCancel: n }) {
90
91
  //#endregion
91
92
  //#region src/components/gps/GpsManager.tsx
92
93
  function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orientationStorageKey: i = "compass-permission-granted", requestCompass: a = !0, requestCompassAllowed: o = !0 }) {
93
- let { startOrientation: c, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
94
+ let { startOrientation: s, startGeolocation: l, stopOrientation: u, stopGeolocation: d } = y(e), [f, m] = (0, p.useState)(!1), [h, g] = (0, p.useState)(!1);
94
95
  (0, p.useEffect)(() => (navigator.geolocation.getCurrentPosition(() => {
95
96
  m(!0), l();
96
97
  }, (e) => {
@@ -103,12 +104,12 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
103
104
  u
104
105
  ]);
105
106
  let _ = async () => {
106
- typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), c(), g(!1), t == null || t());
107
+ typeof DeviceOrientationEvent < "u" && typeof DeviceOrientationEvent.requestPermission == "function" && await DeviceOrientationEvent.requestPermission() !== "granted" || (localStorage.setItem(i, "true"), s(), g(!1), t == null || t());
107
108
  }, v = (0, p.useCallback)(() => {
108
109
  localStorage.setItem(i, "false"), g(!1), n == null || n();
109
110
  }, [n]);
110
111
  return (0, p.useEffect)(() => {
111
- if (!f || !o || typeof navigator > "u" || !s) return;
112
+ if (!f || !o || typeof navigator > "u" || !c) return;
112
113
  let e = localStorage.getItem(i);
113
114
  if (!e || a) {
114
115
  g(!0);
@@ -130,21 +131,21 @@ function S({ onPositionUpdate: e, onAllowCompass: t, onRejectCompass: n, orienta
130
131
  //#region src/components/GpsLoader.tsx
131
132
  function C({ requestCompassAllowed: e }) {
132
133
  let [t, n] = (0, p.useState)(!1), r = (0, p.useCallback)(({ lat: e, lng: t, angle: n, heading: r }) => {
133
- l.routeStore.selectCurrentPosition(new o(0, 0, 0, n || r, e, t), !1);
134
+ u.routeStore.selectCurrentPosition(new l(0, 0, 0, n || r, e, t), !1);
134
135
  }, []), a = (0, p.useCallback)(() => {
135
- l.routeStore.requestCompass = void 0, n(!1);
136
- }, [n]), s = (0, p.useCallback)(() => {
137
- l.routeStore.requestCompass = void 0, n(!1);
136
+ u.routeStore.requestCompass = void 0, n(!1);
137
+ }, [n]), o = (0, p.useCallback)(() => {
138
+ u.routeStore.requestCompass = void 0, n(!1);
138
139
  }, [n]);
139
- return f(() => l.uiState.hideCookieConsent, (e) => {
140
+ return f(() => u.uiState.hideCookieConsent, (e) => {
140
141
  n(e);
141
- }), f(() => l.routeStore.requestCompass, (e) => {
142
+ }), f(() => u.routeStore.requestCompass, (e) => {
142
143
  n(e);
143
144
  }), /* @__PURE__ */ (0, b.jsx)(S, {
144
145
  requestCompass: t,
145
146
  requestCompassAllowed: e,
146
147
  onRejectCompass: a,
147
- onAllowCompass: s,
148
+ onAllowCompass: o,
148
149
  orientationStorageKey: i,
149
150
  onPositionUpdate: r
150
151
  });