@expofp/floorplan 3.23.0 → 3.23.1
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.
- package/dist/browser/{Button-Cdcme0dW.js → Button-Cu9clsSR.js} +5 -5
- package/dist/browser/{CookieConsent-B7cDBqp6.js → CookieConsent-mvgZy0jC.js} +8 -8
- package/dist/browser/{Debug-C1YnJvnk.js → Debug-CnnGHGZJ.js} +10 -10
- package/dist/browser/{Demo-BIM3wFq3.js → Demo-DQlgp6cY.js} +10 -10
- package/dist/browser/{Free-D7U5AEcf.js → Free-DgGCDTNd.js} +12 -12
- package/dist/browser/{Gallery-BXlz1tz4.js → GalleryContainer-ixlqlJ9Q.js} +714 -589
- package/dist/browser/{GpsLoader-BdUzK_Wq.js → GpsLoader-9JLK7S2S.js} +31 -31
- package/dist/browser/{KioskStore-t38ARgcW.js → KioskStore-ZtZBfHyG.js} +34 -34
- package/dist/browser/{MaplibreAdapter-CSAShUgd.js → MaplibreAdapter-C__Oc26V.js} +835 -835
- package/dist/browser/{ModalContainer-B33HKAAU.js → ModalContainer-DsyDwSqY.js} +59 -54
- package/dist/browser/{PermissionNotice-F6g9pz0M.js → PermissionNotice-CZ4QlKe_.js} +6 -6
- package/dist/browser/{SetKioskMode-CJoi2gHM.js → SetKioskMode-Bf4b4bnh.js} +15 -15
- package/dist/browser/{ShowKiosk-H4rnBUGh.js → ShowKiosk-BdAccxwG.js} +11 -11
- package/dist/browser/{ViewerMenuPanel-BmJhh8Ln.js → ViewerMenuPanel-_Y9M630H.js} +18 -18
- package/dist/browser/{add-debug-secret-listener-BNoe6VU3.js → add-debug-secret-listener-DQl3P4ki.js} +1 -1
- package/dist/browser/{adopt-global-settings-DIweHmmO.js → adopt-global-settings-DTFmFw7D.js} +9 -9
- package/dist/browser/{boolean-editor-C9fqoeTB.js → boolean-editor-DRaZvwNE.js} +9 -9
- package/dist/browser/{bootIntercom-BB5HdKln.js → bootIntercom-Bxi_kVm1.js} +2 -2
- package/dist/browser/{booth-by-xy-BP9IYJhy.js → booth-by-xy-RZ4XM07z.js} +287 -287
- package/dist/browser/bundle.json +65 -65
- package/dist/browser/{classnames-Dmeqek3o.js → classnames-yCHhGUHk.js} +2 -2
- package/dist/browser/{client-CBb2454O.js → client-dzWvVFIu.js} +4 -4
- package/dist/browser/{components-DyDFRZBC.js → components-DiWraxYJ.js} +2032 -2034
- package/dist/browser/{debug-overlay-DXOrtUeJ.js → debug-overlay-By2JKe98.js} +10 -10
- package/dist/browser/{debug-ui-tNUnR4wz.js → debug-ui-B7iMFZL2.js} +6 -6
- package/dist/browser/{dist-DcOtrqGG.js → dist-BJYZuYz5.js} +3 -3
- package/dist/browser/{dist-BIFUFe-T.js → dist-D0sDuIMU.js} +5 -5
- package/dist/browser/{dist-DZfEO0RJ.js → dist-XtgimJG-.js} +6 -6
- package/dist/browser/{efp-debug-init-B4ddpmiL.js → efp-debug-init-Cm4noHZv.js} +3 -3
- package/dist/browser/{enum-editor-CJB3E-Vh.js → enum-editor-CmI32f5A.js} +4 -4
- package/dist/browser/{es5-DeTUpXm2.js → es5-97nOnIxB.js} +2 -2
- package/dist/browser/{event-not-found-WRXwMJms.js → event-not-found-Gs3WorrR.js} +1 -1
- package/dist/browser/{exports-C5uYtLxL.js → exports-BzI9isE4.js} +1 -1
- package/dist/browser/{favicon-5gTCZLy9.js → favicon-NX_igce1.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BoyaQteS.js → fetch-retry.umd-BdBGrOUm.js} +2 -2
- package/dist/browser/{flex-DjFgAKFt.js → flex-D0Cx6ssp.js} +5 -5
- package/dist/browser/{floorplan.loader-Ck3XnezM.js → floorplan.loader-BNASIC9N.js} +10 -10
- package/dist/browser/{floorplan.ready-CzTR8qqL.js → floorplan.ready-Bdm_nBoS.js} +269 -269
- package/dist/browser/{fuse-BR27GheK.js → fuse-CArwLmpE.js} +2 -2
- package/dist/browser/{i18n-DNH3sP4D.js → i18n-DJDkRNUS.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-DzGptmYn.js → index.module-AN1k6qf9.js} +4 -4
- package/dist/browser/{integrateKiosk-DN5HgMdz.js → integrateKiosk-BHslPH6W.js} +5 -5
- package/dist/browser/{is-webview-CEqtlsy5.js → is-webview-CpxNA1hf.js} +1 -1
- package/dist/browser/{jsx-runtime-BRUHXGcL.js → jsx-runtime-BTmKWYLh.js} +2 -2
- package/dist/browser/{kiosk-record-C6KsyYH0.js → kiosk-record-Dar5bcb3.js} +1 -1
- package/dist/browser/{lib-BoYL1Y22.js → lib-CH0lKOWr.js} +3 -3
- package/dist/browser/{loadImage-2JV_4hsV.js → loadImage-Cyucj9ZO.js} +4 -4
- package/dist/browser/{logDeviceInfo-Bga4LjdT.js → logDeviceInfo-DrWNwkiz.js} +9 -9
- package/dist/browser/{main-BUSluy8y.js → main-DDG4oAN0.js} +1 -1
- package/dist/browser/{mobx-Cp-RXiD6.js → mobx-CCrzy0oK.js} +4 -4
- package/dist/browser/{optional-boolean-editor-biZOa4EF.js → optional-boolean-editor-B9ghixUw.js} +3 -3
- package/dist/browser/{optional-enum-editor-BuzYWVhL.js → optional-enum-editor-ymdwpZCG.js} +4 -4
- package/dist/browser/{optional-string-editor-1Gxph7oU.js → optional-string-editor-B7GvxUp0.js} +4 -4
- package/dist/browser/{particles.min-Cq5SYO7P.js → particles.min-DR9RAdSY.js} +2 -2
- package/dist/browser/{react-BCiZTNvQ.js → react-Di1u_Olu.js} +2 -2
- package/dist/browser/{react-dom-Gayzbfmi.js → react-dom-DgZLuRw2.js} +3 -3
- package/dist/browser/{rolldown-runtime-C4CgTizo.js → rolldown-runtime-Bq2YTOlP.js} +1 -1
- package/dist/browser/{select-BEAG7sfR.js → select-1HLg5zVy.js} +10 -10
- package/dist/browser/{settings-BJrS0XMO.js → settings-CiVCMVtK.js} +2 -2
- package/dist/browser/{settings-item-C-rqGE6m.js → settings-item-BdvpCLdo.js} +6 -6
- package/dist/browser/{store-DH91iUcL.js → store-CYrJjLi8.js} +5581 -5554
- package/dist/browser/{string-editor-fs3xB248.js → string-editor-OFy8aOQQ.js} +4 -4
- package/dist/browser/{text-field-CN-pynRC.js → text-field-BXXmJXFF.js} +5 -5
- package/dist/browser/{theme-78GgHmsO.js → theme-DpPZfgKy.js} +8 -8
- package/dist/browser/{ui-BFQlKtKk.js → ui-CJ0nQkSv.js} +8 -8
- package/dist/browser/useRenderTarget-roc5qoAU.js +57 -0
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/GalleryContainer.d.ts +6 -0
- package/dist/esm/components/GalleryContainer.js +1 -0
- package/dist/esm/components/OverlayContainer.d.ts +1 -2
- package/dist/esm/components/OverlayContainer.js +1 -1
- package/dist/esm/components/index.d.ts +1 -3
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/store/OverlayStore.d.ts +19 -0
- package/dist/esm/store/OverlayStore.js +1 -0
- package/dist/esm/store/RootStore.d.ts +2 -0
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +0 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/index.d.ts +1 -0
- package/dist/esm/store/index.js +1 -1
- package/package.json +9 -11
- package/dist/browser/useRenderTarget-CtWSXh71.js +0 -48
- package/dist/esm/components/Gallery/Gallery.d.ts +0 -13
- package/dist/esm/components/Gallery/Gallery.js +0 -1
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.d.ts +0 -8
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +0 -1
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.d.ts +0 -9
- package/dist/esm/components/Gallery/GalleryControls/GalleryControls.js +0 -1
- package/dist/esm/components/Gallery/GalleryImg/GalleryImg.d.ts +0 -14
- package/dist/esm/components/Gallery/GalleryImg/GalleryImg.js +0 -1
- package/dist/esm/components/Gallery/GalleryItem/GalleryItem.d.ts +0 -13
- package/dist/esm/components/Gallery/GalleryItem/GalleryItem.js +0 -1
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.d.ts +0 -12
- package/dist/esm/components/Gallery/GalleryModal/GalleryModal.js +0 -1
- package/dist/esm/components/Gallery/GalleryPreLoader.d.ts +0 -7
- package/dist/esm/components/Gallery/GalleryPreLoader.js +0 -1
- package/dist/esm/components/Gallery/TransformImg/TransformImg.d.ts +0 -10
- package/dist/esm/components/Gallery/TransformImg/TransformImg.js +0 -1
- package/dist/esm/components/Overlay.d.ts +0 -23
- package/dist/esm/components/Overlay.js +0 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +0 -12
- package/dist/esm/components/Toast/ToastContainer.js +0 -1
- package/dist/esm/components/Toast/ToastContext.d.ts +0 -2
- package/dist/esm/components/Toast/ToastContext.js +0 -1
- package/dist/esm/components/Toast/ToastProvider.d.ts +0 -6
- package/dist/esm/components/Toast/ToastProvider.js +0 -1
- package/dist/esm/components/Toast/index.d.ts +0 -2
- package/dist/esm/components/Toast/index.js +0 -1
- package/dist/esm/hooks/useDragGesture.d.ts +0 -19
- package/dist/esm/hooks/useDragGesture.js +0 -1
- package/dist/esm/hooks/useWindowSize.d.ts +0 -5
- package/dist/esm/hooks/useWindowSize.js +0 -1
- package/dist/esm/utils/useTimeout.d.ts +0 -2
- package/dist/esm/utils/useTimeout.js +0 -1
|
@@ -1,80 +1,80 @@
|
|
|
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.23.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.23.1" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "45d0217a-e5f8-40ee-979a-446333c5f430", e._sentryDebugIdIdentifier = "sentry-dbid-45d0217a-e5f8-40ee-979a-446333c5f430");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { A as t, v as n } from "./i18n-
|
|
11
|
-
import { t as r } from "./react-
|
|
12
|
-
import { r as i, t as a } from "./loadImage-
|
|
13
|
-
import { A as o, At as s,
|
|
9
|
+
import { r as e } from "./rolldown-runtime-Bq2YTOlP.js";
|
|
10
|
+
import { A as t, v as n } from "./i18n-DJDkRNUS.js";
|
|
11
|
+
import { t as r } from "./react-Di1u_Olu.js";
|
|
12
|
+
import { r as i, t as a } from "./loadImage-Cyucj9ZO.js";
|
|
13
|
+
import { A as o, At as s, D as c, Dt as l, Et as u, Ft as d, Ht as f, It as p, Lt as m, Mt as h, Nt as g, O as _, St as v, Wt as y, Zt as b, _n as x, _t as S, a as C, an as w, b as T, bn as E, c as D, cn as O, dn as k, fn as A, gn as j, hn as M, j as N, jt as ee, k as P, kt as te, l as ne, mn as F, mt as I, pt as re, t as ie, un as L, vn as R, vt as ae, wt as oe, yn as z, zt as B } from "./store-CYrJjLi8.js";
|
|
14
14
|
//#region src/components/Map/traffic/trafficLayers.ts
|
|
15
|
-
var
|
|
16
|
-
function
|
|
15
|
+
var se = "traffic_route", ce = "traffic_route_stop", le = "traffic_vehicles", ue = "build_route_lines", de = "build_route_dots", fe = 5;
|
|
16
|
+
function pe() {
|
|
17
17
|
let e = [];
|
|
18
|
-
for (let t = 0; t <
|
|
19
|
-
name:
|
|
18
|
+
for (let t = 0; t < fe; t++) e.push({
|
|
19
|
+
name: me(t),
|
|
20
20
|
children: []
|
|
21
21
|
}), e.push({
|
|
22
|
-
name:
|
|
22
|
+
name: he(t),
|
|
23
23
|
children: [],
|
|
24
24
|
interactive: !0
|
|
25
25
|
});
|
|
26
26
|
return e.push({
|
|
27
|
-
name:
|
|
27
|
+
name: le,
|
|
28
28
|
children: [],
|
|
29
29
|
interactive: !0
|
|
30
30
|
}), e.push({
|
|
31
|
-
name:
|
|
31
|
+
name: ue,
|
|
32
32
|
children: []
|
|
33
33
|
}), e.push({
|
|
34
|
-
name:
|
|
34
|
+
name: de,
|
|
35
35
|
children: [],
|
|
36
36
|
interactive: !0
|
|
37
37
|
}), e;
|
|
38
38
|
}
|
|
39
|
-
function pe(e) {
|
|
40
|
-
return `${oe}_${e + 1}`;
|
|
41
|
-
}
|
|
42
39
|
function me(e) {
|
|
43
40
|
return `${se}_${e + 1}`;
|
|
44
41
|
}
|
|
45
|
-
function he() {
|
|
46
|
-
return
|
|
42
|
+
function he(e) {
|
|
43
|
+
return `${ce}_${e + 1}`;
|
|
47
44
|
}
|
|
48
45
|
function ge() {
|
|
49
46
|
return RegExp(`^${se}_\\d+$`);
|
|
50
47
|
}
|
|
48
|
+
function _e() {
|
|
49
|
+
return RegExp(`^${ce}_\\d+$`);
|
|
50
|
+
}
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/components/Map/drawing/config/config-booth-badge-eligibility.ts
|
|
53
|
-
var
|
|
54
|
-
function
|
|
53
|
+
var ve = /* @__PURE__ */ e(k(), 1);
|
|
54
|
+
function ye(e) {
|
|
55
55
|
return e.hideExhibitorBoothNumber || e.hideBoothBadges || !e.hasExhibitors ? !1 : e.noLabels || !e.hideLogoInBooth && e.hasLogoInBooth;
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/Map/drawing/config/config-booth-badge.ts
|
|
59
|
-
var
|
|
60
|
-
function De(e) {
|
|
61
|
-
return e.length <= xe ? e : e.slice(0, xe - 1) + "…";
|
|
62
|
-
}
|
|
59
|
+
var be = .5, xe = .3, Se = 15, Ce = 24, we = 30, Te = 12, Ee = .8, De = document.createElement("canvas").getContext("2d");
|
|
63
60
|
function Oe(e) {
|
|
61
|
+
return e.length <= Se ? e : e.slice(0, Se - 1) + "…";
|
|
62
|
+
}
|
|
63
|
+
function ke(e) {
|
|
64
64
|
var t, n;
|
|
65
65
|
if (!((t = e.paths) != null && t.length)) return [];
|
|
66
66
|
let r = ((n = e.layer) == null ? void 0 : n.name) || "", i = [];
|
|
67
|
-
for (let t of e.paths) for (let e of
|
|
67
|
+
for (let t of e.paths) for (let e of w(t.index, r)) i.push(e);
|
|
68
68
|
return i;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
let t =
|
|
72
|
-
return t.length ?
|
|
70
|
+
function Ae(e) {
|
|
71
|
+
let t = ke(e);
|
|
72
|
+
return t.length ? F.fromPoints(t.flat().map(([e, t]) => ({
|
|
73
73
|
x: e,
|
|
74
74
|
y: t
|
|
75
75
|
}))) : null;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function je(e) {
|
|
78
78
|
let t = [], n = [];
|
|
79
79
|
for (let r of e) {
|
|
80
80
|
let e = t.length;
|
|
@@ -93,16 +93,16 @@ function Ae(e) {
|
|
|
93
93
|
e + 2
|
|
94
94
|
]);
|
|
95
95
|
}
|
|
96
|
-
return new
|
|
96
|
+
return new x(t, n);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function V(e, t, n) {
|
|
99
99
|
return n.containsPoint({
|
|
100
100
|
x: e,
|
|
101
101
|
y: t
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
if (!e.length || !
|
|
104
|
+
function Me(e, t, n, r, i, a, o, s) {
|
|
105
|
+
if (!e.length || !V(n, r, t)) return o;
|
|
106
106
|
let c = {
|
|
107
107
|
x: n,
|
|
108
108
|
y: r
|
|
@@ -110,30 +110,30 @@ function je(e, t, n, r, i, a, o, s) {
|
|
|
110
110
|
for (let e = 0; e < 10; e++) {
|
|
111
111
|
let e = (l + u) / 2, o = i * e, d = a * e;
|
|
112
112
|
[
|
|
113
|
-
|
|
113
|
+
z({
|
|
114
114
|
x: n + o,
|
|
115
115
|
y: r
|
|
116
116
|
}, s, c),
|
|
117
|
-
|
|
117
|
+
z({
|
|
118
118
|
x: n,
|
|
119
119
|
y: r + d
|
|
120
120
|
}, s, c),
|
|
121
|
-
|
|
121
|
+
z({
|
|
122
122
|
x: n + o,
|
|
123
123
|
y: r + d
|
|
124
124
|
}, s, c)
|
|
125
|
-
].every((e) =>
|
|
125
|
+
].every((e) => V(e.x, e.y, t)) ? l = e : u = e;
|
|
126
126
|
}
|
|
127
127
|
return l;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Ne(e) {
|
|
130
130
|
var t;
|
|
131
|
-
return (t =
|
|
131
|
+
return (t = Ae(e)) == null ? e.rect : t;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Pe(e, t, n, r, i, a) {
|
|
134
134
|
var o;
|
|
135
135
|
if (t.length) {
|
|
136
|
-
let o =
|
|
136
|
+
let o = Ne(e), s = {
|
|
137
137
|
x: i > 0 ? o.min.x : o.max.x,
|
|
138
138
|
y: a > 0 ? o.min.y : o.max.y
|
|
139
139
|
}, c = /* @__PURE__ */ new Set(), l = null, u = Infinity;
|
|
@@ -142,7 +142,7 @@ function Ne(e, t, n, r, i, a) {
|
|
|
142
142
|
if (c.has(e)) continue;
|
|
143
143
|
c.add(e);
|
|
144
144
|
let o = t[0] + r * i, d = t[1] + r * a;
|
|
145
|
-
if (
|
|
145
|
+
if (V(o, d, n)) {
|
|
146
146
|
let e = Math.abs(o - s.x) + Math.abs(d - s.y);
|
|
147
147
|
e < u && (u = e, l = {
|
|
148
148
|
x: o,
|
|
@@ -153,7 +153,7 @@ function Ne(e, t, n, r, i, a) {
|
|
|
153
153
|
if (l) return l;
|
|
154
154
|
}
|
|
155
155
|
let s = i > 0 ? e.rect.min.x + r : e.rect.max.x - r, c = a > 0 ? e.rect.min.y + r : e.rect.max.y - r, l = (o = e.rotate) == null ? 0 : o;
|
|
156
|
-
return l ?
|
|
156
|
+
return l ? z({
|
|
157
157
|
x: s,
|
|
158
158
|
y: c
|
|
159
159
|
}, l, e.rect.center) : {
|
|
@@ -161,89 +161,89 @@ function Ne(e, t, n, r, i, a) {
|
|
|
161
161
|
y: c
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function H(e) {
|
|
165
165
|
return e && e !== "none" ? e : void 0;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Fe(e) {
|
|
168
168
|
var t;
|
|
169
|
-
let n =
|
|
170
|
-
return ((t = e.paths) == null ? void 0 : t.length) > 1 &&
|
|
169
|
+
let n = H(e.borderColor) || H(O.boothBorderColor) || O.colors.booths.default;
|
|
170
|
+
return ((t = e.paths) == null ? void 0 : t.length) > 1 && H(e.paths[e.paths.length - 1].color) || n;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Ie(e, t) {
|
|
173
173
|
var r;
|
|
174
|
-
let i =
|
|
175
|
-
|
|
176
|
-
let
|
|
177
|
-
let t = e ?
|
|
178
|
-
return Math.min(t > 0 ? t *
|
|
179
|
-
},
|
|
180
|
-
let e =
|
|
181
|
-
|
|
182
|
-
let n =
|
|
183
|
-
|
|
174
|
+
let i = Oe(t.title || t.name), a = Fe(t), o = T((0, ve.default)(a).hex()), c = window.devicePixelRatio || 1, l = S();
|
|
175
|
+
De.font = y(we, l);
|
|
176
|
+
let u = De.measureText(i).width, f = Math.ceil(u + Te * 2), p = (t.borderWidth || ie.borderWidth) / 2, m = f * Ee, h = 54 * Ee, g = t.rect.size.width, _ = t.rect.size.height, b = (e) => {
|
|
177
|
+
let t = e ? _ : g, n = e ? g : _;
|
|
178
|
+
return Math.min(t > 0 ? t * be / m : Infinity, n > 0 ? n * xe / h : Infinity);
|
|
179
|
+
}, x = ke(t), C = je(x), w = (r = t.rotate) == null ? 0 : r, E = 0, D, O, k, A = () => {
|
|
180
|
+
let e = Pe(t, x, C, p, E === 0 || E === 3 ? 1 : -1, E === 0 || E === 1 ? 1 : -1);
|
|
181
|
+
D = e.x, O = e.y;
|
|
182
|
+
let n = b(E === 1 || E === 3);
|
|
183
|
+
k = Me(x, C, D, O, m, h, n, w);
|
|
184
184
|
};
|
|
185
|
-
|
|
186
|
-
let
|
|
185
|
+
A();
|
|
186
|
+
let M = (e, t) => {
|
|
187
187
|
let n = e / 2, r = t / 2;
|
|
188
|
-
return new
|
|
189
|
-
x:
|
|
190
|
-
y:
|
|
191
|
-
},
|
|
192
|
-
x:
|
|
193
|
-
y:
|
|
188
|
+
return new j(z({
|
|
189
|
+
x: D + n,
|
|
190
|
+
y: O + r
|
|
191
|
+
}, w, {
|
|
192
|
+
x: D,
|
|
193
|
+
y: O
|
|
194
194
|
}), {
|
|
195
195
|
x: e,
|
|
196
196
|
y: t
|
|
197
|
-
},
|
|
198
|
-
},
|
|
199
|
-
let t = Math.min(e,
|
|
200
|
-
return
|
|
201
|
-
},
|
|
202
|
-
|
|
203
|
-
let
|
|
197
|
+
}, w);
|
|
198
|
+
}, N = (e) => {
|
|
199
|
+
let t = Math.min(e, k);
|
|
200
|
+
return M(m * t, h * t);
|
|
201
|
+
}, P = ae(l, e.fontUrls), F = te(M(1, 1), a);
|
|
202
|
+
F.hidden = !0, F.dim = !t.skipDim && void 0;
|
|
203
|
+
let I = s(ee([[i], []], o, 0, [P, P]), M(1, 1), [0, 0], {
|
|
204
204
|
horizontal: "center",
|
|
205
205
|
vertical: "center"
|
|
206
206
|
});
|
|
207
|
-
|
|
208
|
-
let
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
})),
|
|
207
|
+
I.hidden = !0, I.dim = !t.skipDim && void 0;
|
|
208
|
+
let re = () => !!(t.layer && !t.layer.visible), L = [];
|
|
209
|
+
L.push(n(() => t.skipDim, (t) => {
|
|
210
|
+
F.dim = !t && void 0, I.dim = !t && void 0, e.update(F, I);
|
|
211
|
+
})), L.push(n(() => {
|
|
212
212
|
var e, n;
|
|
213
213
|
return (e = (n = t.layer) == null ? void 0 : n.visible) == null || e;
|
|
214
214
|
}, (t) => {
|
|
215
|
-
|
|
215
|
+
F.hidden = !t, I.hidden = !t, e.update(F, I);
|
|
216
216
|
}));
|
|
217
|
-
let
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
let t = Math.min(e,
|
|
221
|
-
|
|
217
|
+
let R = (e) => {
|
|
218
|
+
F.shape = d(N(e)), F.hidden = re();
|
|
219
|
+
}, B = (e) => {
|
|
220
|
+
let t = Math.min(e, k);
|
|
221
|
+
I.lines[0].fontSize = Ce / c * t, I.bounds = d(N(e)), I.hidden = re();
|
|
222
222
|
};
|
|
223
|
-
return e.onPtScale(`badge-bg-${t.id}`, (e) => (
|
|
224
|
-
|
|
225
|
-
let n =
|
|
226
|
-
n !== void 0 && (
|
|
223
|
+
return e.onPtScale(`badge-bg-${t.id}`, (e) => (R(e), F)), e.onPtScale(`badge-text-${t.id}`, (e) => (B(e), I)), L.push(n(() => ne.mapSettings, ({ roll: n }) => {
|
|
224
|
+
v(n == null ? 0 : n) && e.onRoll(`badge-roll-${t.id}`, (t) => {
|
|
225
|
+
let n = oe(t, w);
|
|
226
|
+
n !== void 0 && (w += n, E = (E + (n > 0 ? 1 : 3)) % 4, A(), R(e.scale), B(e.scale), e.update(F, I));
|
|
227
227
|
});
|
|
228
228
|
}, { fireImmediately: !0 })), {
|
|
229
|
-
bg:
|
|
230
|
-
text:
|
|
229
|
+
bg: F,
|
|
230
|
+
text: I,
|
|
231
231
|
dispose: () => {
|
|
232
|
-
|
|
232
|
+
L.forEach((e) => e()), L.length = 0;
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Le(e, t, n) {
|
|
237
237
|
let r = [], i = [], a = [];
|
|
238
|
-
for (let t of n) if (t instanceof
|
|
239
|
-
hideExhibitorBoothNumber:
|
|
240
|
-
hideBoothBadges:
|
|
241
|
-
hideLogoInBooth:
|
|
238
|
+
for (let t of n) if (t instanceof b && ye({
|
|
239
|
+
hideExhibitorBoothNumber: L.hideExhibitorBoothNumber,
|
|
240
|
+
hideBoothBadges: L.hideBoothBadges,
|
|
241
|
+
hideLogoInBooth: ne.hideLogoInBooth,
|
|
242
242
|
noLabels: t.noLabels,
|
|
243
243
|
hasExhibitors: t.exhibitors.length > 0,
|
|
244
244
|
hasLogoInBooth: t.exhibitors.some((e) => e.logoInBooth && e.logo)
|
|
245
245
|
})) {
|
|
246
|
-
let { bg: n, text: o, dispose: s } =
|
|
246
|
+
let { bg: n, text: o, dispose: s } = Ie(e, t);
|
|
247
247
|
r.push(n), i.push(o), a.push(s);
|
|
248
248
|
}
|
|
249
249
|
let o = () => {
|
|
@@ -268,9 +268,9 @@ function Ie(e, t, n) {
|
|
|
268
268
|
}
|
|
269
269
|
//#endregion
|
|
270
270
|
//#region src/components/Map/drawing/config/config-markers.ts
|
|
271
|
-
var
|
|
272
|
-
function
|
|
273
|
-
let t = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = [], o = e.scene.rootLayer.children.find((e) => e.name ===
|
|
271
|
+
var Re = "_selected", ze = "markers";
|
|
272
|
+
function Be(e) {
|
|
273
|
+
let t = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = [], o = e.scene.rootLayer.children.find((e) => e.name === ze);
|
|
274
274
|
async function s(e) {
|
|
275
275
|
let t = [];
|
|
276
276
|
e.forEach((e) => {
|
|
@@ -291,109 +291,109 @@ function ze(e) {
|
|
|
291
291
|
t.push(l), c.src = i, c.crossOrigin = "anonymous";
|
|
292
292
|
}), await Promise.all(t);
|
|
293
293
|
}
|
|
294
|
-
let c = (e) => `marker-ptScaleHandlers-${e.id}`, l = (e) => `marker-rollHandlers-${e.id}`,
|
|
294
|
+
let c = (e) => `marker-ptScaleHandlers-${e.id}`, l = (e) => `marker-rollHandlers-${e.id}`, p = (t, n) => {
|
|
295
295
|
e.onPtScale(n, (e) => {
|
|
296
296
|
let { center: n, rotation: r } = t.bounds, { width: i, height: a } = t.source;
|
|
297
|
-
return t.bounds =
|
|
297
|
+
return t.bounds = d(m(n.x, n.y, i, a, e, r)), t;
|
|
298
298
|
});
|
|
299
|
-
},
|
|
299
|
+
}, h = (t, n) => {
|
|
300
300
|
e.onRoll(n, (e) => (t.bounds.rotation = e, t));
|
|
301
301
|
};
|
|
302
|
-
function
|
|
303
|
-
let t =
|
|
302
|
+
function g() {
|
|
303
|
+
let t = D.routeStore.markersData.markers;
|
|
304
304
|
if (!t.length) return;
|
|
305
305
|
a = [];
|
|
306
|
-
let n = e.scale, s =
|
|
306
|
+
let n = e.scale, s = E(e.angle);
|
|
307
307
|
t.forEach((e) => {
|
|
308
308
|
var t, o;
|
|
309
309
|
let c = r.get(e.icon);
|
|
310
310
|
if (!c) return;
|
|
311
|
-
let l = c.scale || window.devicePixelRatio,
|
|
312
|
-
if (!i.has(
|
|
313
|
-
let e =
|
|
314
|
-
i.set(
|
|
311
|
+
let l = c.scale || window.devicePixelRatio, d = e.icon;
|
|
312
|
+
if (!i.has(d)) {
|
|
313
|
+
let e = f(c.img, c.width, c.height, l);
|
|
314
|
+
i.set(d, e);
|
|
315
315
|
}
|
|
316
|
-
let
|
|
317
|
-
if (!i.has(
|
|
318
|
-
let e =
|
|
319
|
-
i.set(
|
|
316
|
+
let p = i.get(d), h = r.get(e.selectedIcon), g = e.selectedIcon;
|
|
317
|
+
if (!i.has(g)) {
|
|
318
|
+
let e = f(h.img, h.width, h.height, l);
|
|
319
|
+
i.set(g, e);
|
|
320
320
|
}
|
|
321
|
-
let
|
|
321
|
+
let _ = i.get(g), v = (t = (o = C.findLayer(e.z)) == null ? void 0 : o.visible) == null || t, y = m(e.x, e.y, p.width, p.height, n, s), b = m(e.x, e.y, _.width, _.height, n, s), x;
|
|
322
322
|
switch (e.position) {
|
|
323
323
|
case "lefttop":
|
|
324
|
-
|
|
324
|
+
x = [0, 0];
|
|
325
325
|
break;
|
|
326
326
|
case "centertop":
|
|
327
|
-
|
|
327
|
+
x = [.5, 0];
|
|
328
328
|
break;
|
|
329
329
|
case "centerbottom":
|
|
330
|
-
|
|
330
|
+
x = [.5, 1];
|
|
331
331
|
break;
|
|
332
|
-
default:
|
|
332
|
+
default: x = [.5, .5];
|
|
333
333
|
}
|
|
334
334
|
let S = {
|
|
335
|
-
...
|
|
336
|
-
hidden: !
|
|
337
|
-
origin:
|
|
335
|
+
...u(p, y, {
|
|
336
|
+
hidden: !v,
|
|
337
|
+
origin: x
|
|
338
338
|
}),
|
|
339
339
|
id: e.id,
|
|
340
340
|
scale: l
|
|
341
|
-
},
|
|
342
|
-
...
|
|
343
|
-
hidden: !(
|
|
344
|
-
origin:
|
|
341
|
+
}, w = {
|
|
342
|
+
...u(_, b, {
|
|
343
|
+
hidden: !(v && e.active),
|
|
344
|
+
origin: x
|
|
345
345
|
}),
|
|
346
|
-
id: `${e.id}${
|
|
346
|
+
id: `${e.id}${Re}`,
|
|
347
347
|
scale: l
|
|
348
348
|
};
|
|
349
|
-
a.push(S,
|
|
349
|
+
a.push(S, w);
|
|
350
350
|
}), o.children = a, a.forEach((e) => {
|
|
351
|
-
|
|
351
|
+
p(e, c(e)), h(e, l(e));
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function _() {
|
|
355
355
|
a.forEach((t) => {
|
|
356
356
|
e.ptScaleRegistry.unregisterByName(c(t)), e.rollRegistry.unregisterByName(l(t));
|
|
357
357
|
}), o.children = [], a = [];
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
let e =
|
|
359
|
+
function v() {
|
|
360
|
+
let e = D.routeStore.markersData.markers;
|
|
361
361
|
e.length && e.forEach((e) => {
|
|
362
362
|
var t, n;
|
|
363
|
-
let r = a.find((t) => t.id === e.id), i = a.find((t) => t.id === `${e.id}${
|
|
363
|
+
let r = a.find((t) => t.id === e.id), i = a.find((t) => t.id === `${e.id}${Re}`);
|
|
364
364
|
if (!r) return;
|
|
365
|
-
let o = (t = (n =
|
|
365
|
+
let o = (t = (n = C.findLayer(e.z)) == null ? void 0 : n.visible) == null || t;
|
|
366
366
|
e.active ? (r.hidden = !0, i.hidden = !(o && e.active)) : (r.hidden = !o, i.hidden = !0);
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
|
-
return t.push(n(() => [
|
|
370
|
-
if (!
|
|
371
|
-
|
|
369
|
+
return t.push(n(() => [D.routeStore.selectedMarkers, D.layerStore.visible], () => {
|
|
370
|
+
if (!D.routeStore.markersData.markers.length) {
|
|
371
|
+
_(), e.update(o);
|
|
372
372
|
return;
|
|
373
373
|
}
|
|
374
|
-
|
|
375
|
-
})), t.push(n(() =>
|
|
376
|
-
s(
|
|
377
|
-
|
|
374
|
+
v(), e.update(...a);
|
|
375
|
+
})), t.push(n(() => D.routeStore.markersData.markers, () => {
|
|
376
|
+
s(D.routeStore.markersData.icons).then(() => {
|
|
377
|
+
g(), e.update(o);
|
|
378
378
|
});
|
|
379
379
|
}, { fireImmediately: !0 })), function() {
|
|
380
380
|
t.forEach((e) => e()), t.length = 0;
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
for (let r of
|
|
385
|
-
let i =
|
|
383
|
+
function Ve(e, t, n) {
|
|
384
|
+
for (let r of D.routeStore.markersData.markers) {
|
|
385
|
+
let i = D.routeStore.markersData.icons.find((e) => e.name === r.icon);
|
|
386
386
|
if (!i) continue;
|
|
387
387
|
let a = i.width * n * devicePixelRatio, o = i.height * n * devicePixelRatio;
|
|
388
|
-
if (
|
|
389
|
-
let e =
|
|
388
|
+
if (He(e, t, r.x, r.y, a, o)) {
|
|
389
|
+
let e = D.layerStore.findLayer(r.z);
|
|
390
390
|
if (!e || e && e.visible) return r;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
return null;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
return
|
|
395
|
+
function He(e, t, n, r, i, a) {
|
|
396
|
+
return F.fromCenter({
|
|
397
397
|
x: n,
|
|
398
398
|
y: r
|
|
399
399
|
}, {
|
|
@@ -406,40 +406,40 @@ function Ve(e, t, n, r, i, a) {
|
|
|
406
406
|
}
|
|
407
407
|
//#endregion
|
|
408
408
|
//#region src/components/Map/drawing/config/config-all.ts
|
|
409
|
-
function
|
|
410
|
-
let { defaultLayer: t } =
|
|
409
|
+
function Ue(e) {
|
|
410
|
+
let { defaultLayer: t } = D.layerStore, { layers: n } = D.layerStore;
|
|
411
411
|
if (t) {
|
|
412
412
|
let e = [...n], r = n.indexOf(t);
|
|
413
413
|
e.splice(r, 1), n = [t, ...e];
|
|
414
414
|
}
|
|
415
|
-
let r = n.filter((e) => !e.rootParent).map((t) =>
|
|
415
|
+
let r = n.filter((e) => !e.rootParent).map((t) => I(t, e));
|
|
416
416
|
return Promise.all(r).then((t) => {
|
|
417
|
-
let n =
|
|
417
|
+
let n = l(o, [], {
|
|
418
418
|
dim: !1,
|
|
419
419
|
interactive: !0
|
|
420
|
-
}), r =
|
|
421
|
-
for (let e of t.flat())
|
|
422
|
-
let { layer:
|
|
420
|
+
}), r = l(P, [], { dim: !1 }), i = l(ze, []), a = l(N, [], { dim: !1 }), s = l(_, [], { dim: !1 }), u = l(c, [], { dim: !1 }), d = [], f = [];
|
|
421
|
+
for (let e of t.flat()) B(e.name) ? (e.dim = !1, f.push(e)) : d.push(e);
|
|
422
|
+
let { layer: p, cleanup: m } = Le(e, "root", D.boothStore.booths);
|
|
423
423
|
return {
|
|
424
424
|
layers: [
|
|
425
|
+
...d,
|
|
426
|
+
...p ? [p] : [],
|
|
425
427
|
...f,
|
|
426
|
-
...
|
|
427
|
-
...p,
|
|
428
|
-
...fe(),
|
|
428
|
+
...pe(),
|
|
429
429
|
i,
|
|
430
430
|
a,
|
|
431
431
|
r,
|
|
432
432
|
s,
|
|
433
433
|
n,
|
|
434
|
-
|
|
434
|
+
u
|
|
435
435
|
],
|
|
436
|
-
cleanup:
|
|
436
|
+
cleanup: m
|
|
437
437
|
};
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
440
|
//#endregion
|
|
441
441
|
//#region src/components/Map/traffic/UpdateQueue.ts
|
|
442
|
-
var
|
|
442
|
+
var U = /* @__PURE__ */ e(r(), 1), We = class {
|
|
443
443
|
constructor() {
|
|
444
444
|
this.queue = [], this.isProcessing = !1, this.rafId = null, this.CHUNK_SIZE = 100, this.TIME_BUDGET = 4;
|
|
445
445
|
}
|
|
@@ -481,7 +481,7 @@ var W = /* @__PURE__ */ e(r(), 1), Ue = class {
|
|
|
481
481
|
destroy() {
|
|
482
482
|
this.rafId !== null && (cancelAnimationFrame(this.rafId), this.rafId = null), this.queue = [], this.isProcessing = !1;
|
|
483
483
|
}
|
|
484
|
-
},
|
|
484
|
+
}, W = 49, Ge = `hsl(257, 76%, ${W}%)`, Ke = `hsl(339.903, 82%, ${W}%)`, qe = `hsl(257, 76%, ${Math.round(W * 1.82)}%)`, G = 4, Je = G, Ye = "U", Xe = "R", Ze = "S", Qe = "P", $e = class {
|
|
485
485
|
constructor() {
|
|
486
486
|
this._state = [[]], this.index = 0, this.pointHashSet = /* @__PURE__ */ new Set(), this.locked = !1, this.storageKey = "expofp_build_route_state", this._selected = 0;
|
|
487
487
|
}
|
|
@@ -520,10 +520,10 @@ var W = /* @__PURE__ */ e(r(), 1), Ue = class {
|
|
|
520
520
|
instruct() {
|
|
521
521
|
this.log(`How to Build a Route:
|
|
522
522
|
Add Point: Click on the map.
|
|
523
|
-
Apply Smoothing: Press ${
|
|
524
|
-
Apply Simplification: Press ${
|
|
525
|
-
Undo: Press ${
|
|
526
|
-
Enable/Disable Preview: Press ${
|
|
523
|
+
Apply Smoothing: Press ${Xe}.
|
|
524
|
+
Apply Simplification: Press ${Ze}.
|
|
525
|
+
Undo: Press ${Ye}.
|
|
526
|
+
Enable/Disable Preview: Press ${Qe}.
|
|
527
527
|
`, 16);
|
|
528
528
|
}
|
|
529
529
|
applyChaikinSmoothing(e, t, n) {
|
|
@@ -585,7 +585,7 @@ Enable/Disable Preview: Press ${Ze}.
|
|
|
585
585
|
let r = e.x, i = e.y, a = t.x, o = t.y, s = n.x, c = n.y;
|
|
586
586
|
return Math.abs((c - o) * r - (s - a) * i + s * o - c * a) / (Math.sqrt((c - o) ** 2 + (s - a) ** 2) || 1e-10);
|
|
587
587
|
}, r = (e, t, n, r) => {
|
|
588
|
-
let i =
|
|
588
|
+
let i = M({
|
|
589
589
|
p0: e,
|
|
590
590
|
p1: t
|
|
591
591
|
}, {
|
|
@@ -623,106 +623,106 @@ Enable/Disable Preview: Press ${Ze}.
|
|
|
623
623
|
this._selected = Math.max(0, Math.min(e, this.points.length - 1));
|
|
624
624
|
}
|
|
625
625
|
};
|
|
626
|
-
function
|
|
627
|
-
let n = (0,
|
|
626
|
+
function et({ enabled: e, rendererService: t }) {
|
|
627
|
+
let n = (0, U.useRef)(!1), r = (0, U.useRef)(), i = (0, U.useMemo)(() => p(G, Ge), []), a = (0, U.useMemo)(() => p(G, Ke), []), o = (0, U.useMemo)(() => new $e(), []), s = (0, U.useRef)(new We()), c = (0, U.useMemo)(() => {
|
|
628
628
|
if (!t.scene) return {};
|
|
629
629
|
let e = t.scene.rootLayer.children;
|
|
630
630
|
return {
|
|
631
|
-
linesLayer: e.find((e) => e.name ===
|
|
632
|
-
pointsLayer: e.find((e) => e.name ===
|
|
631
|
+
linesLayer: e.find((e) => e.name === ue),
|
|
632
|
+
pointsLayer: e.find((e) => e.name === de)
|
|
633
633
|
};
|
|
634
|
-
}, [t.scene]), l = (0,
|
|
634
|
+
}, [t.scene]), l = (0, U.useCallback)(() => {
|
|
635
635
|
if (!(t != null && t.renderer) || !c || !i || !a) return;
|
|
636
636
|
let { linesLayer: e, pointsLayer: l } = c;
|
|
637
637
|
if (!e || !l) return;
|
|
638
|
-
let u = o.points,
|
|
639
|
-
|
|
638
|
+
let u = o.points, f = n.current;
|
|
639
|
+
f ? l.children.length = 0 : l.children = u.map(({ x: e, y: t }, n) => {
|
|
640
640
|
let s = n == o.selected ? a : i;
|
|
641
641
|
return {
|
|
642
642
|
source: s,
|
|
643
|
-
bounds:
|
|
643
|
+
bounds: d(m(e, t, s.width, s.height, r.current))
|
|
644
644
|
};
|
|
645
645
|
});
|
|
646
|
-
let
|
|
646
|
+
let p = [];
|
|
647
647
|
for (let e = 1; e < u.length; e++) {
|
|
648
648
|
let t = u[e - 1], n = u[e];
|
|
649
|
-
|
|
649
|
+
p.push({
|
|
650
650
|
points: [t, n],
|
|
651
|
-
color:
|
|
652
|
-
width:
|
|
651
|
+
color: f ? Ge : qe,
|
|
652
|
+
width: Je
|
|
653
653
|
});
|
|
654
654
|
}
|
|
655
|
-
|
|
655
|
+
p.length ? e.children = p : e.children.length = 0, s.current.add(() => t.update(l, e)), o.instruct(), o.log(JSON.stringify(o.points));
|
|
656
656
|
}, [
|
|
657
657
|
t,
|
|
658
658
|
o,
|
|
659
659
|
c,
|
|
660
660
|
i,
|
|
661
661
|
a
|
|
662
|
-
]), u = (0,
|
|
662
|
+
]), u = (0, U.useCallback)((e) => {
|
|
663
663
|
let t = e.key.toUpperCase();
|
|
664
664
|
o.execute(() => {
|
|
665
665
|
switch (t) {
|
|
666
|
-
case
|
|
666
|
+
case Ye:
|
|
667
667
|
e.preventDefault(), o.undo(), n.current = !1, l();
|
|
668
668
|
break;
|
|
669
|
-
case
|
|
669
|
+
case Xe:
|
|
670
670
|
e.preventDefault(), o.applySmoothing(), n.current = !1, l();
|
|
671
671
|
break;
|
|
672
|
-
case
|
|
672
|
+
case Ze:
|
|
673
673
|
e.preventDefault(), o.applySimplification(), n.current = !1, l();
|
|
674
674
|
break;
|
|
675
|
-
case
|
|
675
|
+
case Qe:
|
|
676
676
|
e.preventDefault(), n.current = !n.current, l();
|
|
677
677
|
break;
|
|
678
678
|
}
|
|
679
679
|
});
|
|
680
|
-
}, [o, l]),
|
|
681
|
-
if (!
|
|
680
|
+
}, [o, l]), f = (0, U.useCallback)(({ ptScale: e, sceneId: n }) => {
|
|
681
|
+
if (!h(n) || !(t != null && t.renderer) || !c) return;
|
|
682
682
|
let { pointsLayer: i } = c;
|
|
683
683
|
i && (r.current = e, o.execute(() => {
|
|
684
684
|
let e = i.children, n = [];
|
|
685
|
-
for (let t of e) t.bounds =
|
|
685
|
+
for (let t of e) t.bounds = d(m(t.bounds.center.x, t.bounds.center.y, t.source.width, t.source.height, r.current)), n.push(t);
|
|
686
686
|
s.current.add(() => t.update(...n));
|
|
687
687
|
}));
|
|
688
688
|
}, [
|
|
689
689
|
t,
|
|
690
690
|
c,
|
|
691
691
|
o
|
|
692
|
-
]),
|
|
692
|
+
]), _ = (0, U.useCallback)(({ data: e }) => {
|
|
693
693
|
o.execute(() => {
|
|
694
|
-
let { point: t } =
|
|
694
|
+
let { point: t } = g(e);
|
|
695
695
|
o.add({
|
|
696
696
|
x: t.x,
|
|
697
697
|
y: t.y
|
|
698
698
|
}), o.select(o.points.length - 1), l();
|
|
699
699
|
});
|
|
700
700
|
}, [o, l]);
|
|
701
|
-
(0,
|
|
701
|
+
(0, U.useEffect)(() => {
|
|
702
702
|
let n = t.renderer;
|
|
703
703
|
if (!(!e || !n)) return r.current = t.scale, o.execute(() => {
|
|
704
704
|
o.restore(), l();
|
|
705
|
-
}), n.events.addEventListener("pointer:click",
|
|
706
|
-
window.removeEventListener("keyup", u), n.events.removeEventListener("pointer:click",
|
|
705
|
+
}), n.events.addEventListener("pointer:click", _), n.events.addEventListener("viewport:ptscale", f), window.addEventListener("keyup", u), () => {
|
|
706
|
+
window.removeEventListener("keyup", u), n.events.removeEventListener("pointer:click", _), n.events.removeEventListener("viewport:ptscale", f), s.current.destroy();
|
|
707
707
|
};
|
|
708
708
|
}, [
|
|
709
709
|
e,
|
|
710
710
|
t,
|
|
711
711
|
o,
|
|
712
712
|
l,
|
|
713
|
-
|
|
714
|
-
|
|
713
|
+
_,
|
|
714
|
+
f,
|
|
715
715
|
u
|
|
716
716
|
]);
|
|
717
717
|
}
|
|
718
718
|
//#endregion
|
|
719
719
|
//#region src/components/Map/traffic/useManageTraffic.ts
|
|
720
|
-
var
|
|
720
|
+
var K = 2, tt = K * 3.5, q = K * 12, nt = q * .7, rt = 8, it = "transport_locations", at = 150, J = "#a4aab6", ot = 1e3, st = 2e4, ct = 500;
|
|
721
721
|
function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i }) {
|
|
722
|
-
let o = (0,
|
|
723
|
-
(0,
|
|
724
|
-
let
|
|
725
|
-
async function
|
|
722
|
+
let o = (0, U.useRef)(window.devicePixelRatio), s = (0, U.useRef)(/* @__PURE__ */ new Map()), c = (0, U.useRef)(/* @__PURE__ */ new Map()), l = (0, U.useRef)(), u = (0, U.useRef)(), p = (0, U.useRef)(performance.now()), g = (0, U.useRef)(1), _ = (0, U.useRef)(new We()), v = (0, U.useRef)(/* @__PURE__ */ new Map()), y = (0, U.useRef)(), b = (0, U.useRef)(ot), x = (0, U.useRef)(/* @__PURE__ */ new Map()), S = (0, U.useRef)();
|
|
723
|
+
(0, U.useEffect)(() => {
|
|
724
|
+
let C;
|
|
725
|
+
async function w() {
|
|
726
726
|
if (!(!e || !n.scene)) try {
|
|
727
727
|
let e;
|
|
728
728
|
try {
|
|
@@ -737,18 +737,18 @@ function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i
|
|
|
737
737
|
}
|
|
738
738
|
if (!e || e != null && e.disabled || e != null && e.error) return;
|
|
739
739
|
o.current = ut(n.scale);
|
|
740
|
-
let i = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), l = n.scene.rootLayer.children,
|
|
740
|
+
let i = new Map(e.routes.map(({ id: e, color: t }) => [e, t])), l = n.scene.rootLayer.children, b = /* @__PURE__ */ new Map();
|
|
741
741
|
i.forEach((e) => {
|
|
742
|
-
|
|
743
|
-
radius:
|
|
742
|
+
b.set(e, pt({
|
|
743
|
+
radius: tt,
|
|
744
744
|
color: e,
|
|
745
745
|
scale: window.devicePixelRatio
|
|
746
746
|
}));
|
|
747
747
|
});
|
|
748
|
-
let
|
|
749
|
-
e.routes.slice(0,
|
|
750
|
-
|
|
751
|
-
let c =
|
|
748
|
+
let S = ge(), w = l.filter((e) => S.test(e.name)), E = _e(), O = l.filter((e) => E.test(e.name));
|
|
749
|
+
e.routes.slice(0, w.length).forEach(({ id: e, color: t, path: r, stops: i, hiddenPoints: a }, s) => {
|
|
750
|
+
v.current.set(e, r);
|
|
751
|
+
let c = w[s];
|
|
752
752
|
if (c) {
|
|
753
753
|
var l;
|
|
754
754
|
let e = new Map((l = a == null ? void 0 : a.map((e) => [xt(e), e])) == null ? [] : l);
|
|
@@ -757,60 +757,60 @@ function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i
|
|
|
757
757
|
e.has(xt(i)) || e.has(xt(a)) || c.children.push({
|
|
758
758
|
points: [i, a],
|
|
759
759
|
color: t,
|
|
760
|
-
width:
|
|
760
|
+
width: K
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
|
-
c.children.length &&
|
|
763
|
+
c.children.length && _.current.add(() => n.update(c));
|
|
764
764
|
}
|
|
765
|
-
let u =
|
|
765
|
+
let u = O[s];
|
|
766
766
|
if (u && i != null && i.length) {
|
|
767
|
-
let e =
|
|
767
|
+
let e = b.get(t);
|
|
768
768
|
i.forEach((t) => {
|
|
769
769
|
u.children.push({
|
|
770
770
|
source: e,
|
|
771
|
-
bounds:
|
|
771
|
+
bounds: d(m(t.x, t.y, e.width, e.height, o.current))
|
|
772
772
|
});
|
|
773
|
-
}), u.children.length &&
|
|
773
|
+
}), u.children.length && _.current.add(() => n.update(u));
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
|
-
let
|
|
777
|
-
|
|
776
|
+
let k = l.find((e) => e.name === le), A = /* @__PURE__ */ new Map();
|
|
777
|
+
y.current = (e) => {
|
|
778
778
|
try {
|
|
779
779
|
let { ptScale: t, sceneId: r } = dt(e);
|
|
780
|
-
if (!
|
|
780
|
+
if (!h(r)) return;
|
|
781
781
|
o.current = ut(t);
|
|
782
782
|
let i = [];
|
|
783
|
-
for (let e of
|
|
783
|
+
for (let e of O) {
|
|
784
784
|
let t = e.children;
|
|
785
|
-
for (let e of t) e.bounds =
|
|
785
|
+
for (let e of t) e.bounds = d(m(e.bounds.center.x, e.bounds.center.y, e.source.width, e.source.height, o.current, e.bounds.rotation)), i.push(e);
|
|
786
786
|
}
|
|
787
787
|
let a = [...s.current.values()];
|
|
788
|
-
for (let e of a) e.bounds =
|
|
789
|
-
|
|
788
|
+
for (let e of a) e.bounds = d(m(e.bounds.center.x, e.bounds.center.y, e.source.width, e.source.height, o.current, e.bounds.rotation));
|
|
789
|
+
_.current.add(() => n.update(...i, ...a));
|
|
790
790
|
} catch (e) {
|
|
791
791
|
console.error("ptscale", e);
|
|
792
792
|
}
|
|
793
|
-
}, n.renderer.events.addEventListener("viewport:ptscale",
|
|
793
|
+
}, n.renderer.events.addEventListener("viewport:ptscale", y.current), C = requestAnimationFrame(() => {
|
|
794
794
|
var e;
|
|
795
|
-
(e =
|
|
795
|
+
(e = y.current) == null || e.call(y, n.scale);
|
|
796
796
|
}), i.forEach((e, t) => {
|
|
797
|
-
|
|
797
|
+
A.set(t, mt({
|
|
798
798
|
id: t,
|
|
799
|
-
width:
|
|
800
|
-
height:
|
|
799
|
+
width: q,
|
|
800
|
+
height: q,
|
|
801
801
|
color: e,
|
|
802
802
|
scale: window.devicePixelRatio
|
|
803
803
|
}));
|
|
804
|
-
}),
|
|
804
|
+
}), A.set(J, mt({
|
|
805
805
|
id: "orphan",
|
|
806
|
-
width:
|
|
807
|
-
height:
|
|
808
|
-
color:
|
|
806
|
+
width: q,
|
|
807
|
+
height: q,
|
|
808
|
+
color: J,
|
|
809
809
|
scale: window.devicePixelRatio
|
|
810
810
|
}));
|
|
811
|
-
let
|
|
811
|
+
let j = null;
|
|
812
812
|
try {
|
|
813
|
-
|
|
813
|
+
j = f(await a(`${t}icons/bus-white.svg`), nt, nt, window.devicePixelRatio);
|
|
814
814
|
} catch (e) {
|
|
815
815
|
console.error(e);
|
|
816
816
|
}
|
|
@@ -818,10 +818,10 @@ function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i
|
|
|
818
818
|
try {
|
|
819
819
|
var t;
|
|
820
820
|
let r = JSON.parse(e.data);
|
|
821
|
-
if (r.type !==
|
|
821
|
+
if (r.type !== it) return;
|
|
822
822
|
let i = e.timeStamp || performance.now();
|
|
823
|
-
|
|
824
|
-
let a = Math.max((t =
|
|
823
|
+
g.current = Math.round(i - p.current), p.current = i;
|
|
824
|
+
let a = Math.max((t = g.current) == null ? ct : t, ct), l = c.current, u = s.current, f = k.children, h = _.current, y = !1;
|
|
825
825
|
r.data.forEach(({ id: e, x: t, y: r, route_id: i, hidden: s }) => {
|
|
826
826
|
if (l.has(e)) {
|
|
827
827
|
var c;
|
|
@@ -831,50 +831,50 @@ function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i
|
|
|
831
831
|
let t = u.get(e);
|
|
832
832
|
t.hidden = !0;
|
|
833
833
|
let r = u.get(Y(e));
|
|
834
|
-
r.hidden = !0,
|
|
834
|
+
r.hidden = !0, h.add(() => n.update(t, r));
|
|
835
835
|
return;
|
|
836
836
|
}
|
|
837
|
-
if (
|
|
838
|
-
let n =
|
|
837
|
+
if (x.current.set(e, performance.now()), !u.has(e)) {
|
|
838
|
+
let n = A.get(i) || A.get(J), a = {
|
|
839
839
|
id: e,
|
|
840
840
|
source: n,
|
|
841
|
-
bounds:
|
|
841
|
+
bounds: d(m(t, r, n.width, n.height, o.current, 0))
|
|
842
842
|
};
|
|
843
|
-
if (u.set(e, a),
|
|
843
|
+
if (u.set(e, a), j) {
|
|
844
844
|
let n = Y(e), i = {
|
|
845
845
|
id: n,
|
|
846
|
-
source:
|
|
847
|
-
bounds:
|
|
846
|
+
source: j,
|
|
847
|
+
bounds: d(m(t, r, j.width, j.height, o.current, 0))
|
|
848
848
|
};
|
|
849
|
-
|
|
850
|
-
} else
|
|
851
|
-
|
|
849
|
+
j.setAttribute("id", n), u.set(n, i), f.push(a, i);
|
|
850
|
+
} else f.push(a);
|
|
851
|
+
y = !0;
|
|
852
852
|
return;
|
|
853
853
|
}
|
|
854
|
-
let
|
|
854
|
+
let p = u.get(e), g = u.get(Y(e)), _ = p.bounds.center, b = yt(_, {
|
|
855
855
|
x: t,
|
|
856
856
|
y: r
|
|
857
|
-
},
|
|
858
|
-
if (
|
|
857
|
+
}, v.current.get(i));
|
|
858
|
+
if (b.reduce((e, t, n) => n === 0 ? e : e + ht(b[n - 1], t), 0) >= at || document.hidden) gt({
|
|
859
859
|
rendererService: n,
|
|
860
|
-
updateQueue:
|
|
861
|
-
vehicle:
|
|
862
|
-
vehicleFinery:
|
|
860
|
+
updateQueue: h,
|
|
861
|
+
vehicle: p,
|
|
862
|
+
vehicleFinery: g,
|
|
863
863
|
x: t,
|
|
864
864
|
y: r,
|
|
865
865
|
scale: o.current,
|
|
866
|
-
angle: ft(
|
|
866
|
+
angle: ft(p.bounds.center, {
|
|
867
867
|
x: t,
|
|
868
868
|
y: r
|
|
869
869
|
})
|
|
870
870
|
});
|
|
871
871
|
else {
|
|
872
|
-
let t = bt(
|
|
872
|
+
let t = bt(b, a, (e) => {
|
|
873
873
|
gt({
|
|
874
874
|
rendererService: n,
|
|
875
|
-
updateQueue:
|
|
876
|
-
vehicle:
|
|
877
|
-
vehicleFinery:
|
|
875
|
+
updateQueue: h,
|
|
876
|
+
vehicle: p,
|
|
877
|
+
vehicleFinery: g,
|
|
878
878
|
x: e.x,
|
|
879
879
|
y: e.y,
|
|
880
880
|
scale: o.current,
|
|
@@ -883,42 +883,42 @@ function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i
|
|
|
883
883
|
});
|
|
884
884
|
l.set(e, t);
|
|
885
885
|
}
|
|
886
|
-
}),
|
|
886
|
+
}), y && h.add(() => n.update(k));
|
|
887
887
|
} catch (e) {
|
|
888
888
|
console.error("handleSocketMessage", e);
|
|
889
889
|
}
|
|
890
|
-
},
|
|
890
|
+
}, T(), D(e.config ? (Number(e.config.vehicle_inactive_interval) || 20) * 1e3 : st);
|
|
891
891
|
} catch (e) {
|
|
892
892
|
console.warn(e);
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
|
-
|
|
896
|
-
function
|
|
895
|
+
w();
|
|
896
|
+
function T() {
|
|
897
897
|
var e, t;
|
|
898
898
|
((e = l.current) == null ? void 0 : e.readyState) === WebSocket.OPEN || ((t = l.current) == null ? void 0 : t.readyState) === WebSocket.CONNECTING || (l.current = new WebSocket(i), l.current.onmessage = u.current, l.current.onopen = () => {
|
|
899
|
-
|
|
899
|
+
b.current = ot;
|
|
900
900
|
}, l.current.onclose = () => {
|
|
901
|
-
navigator.onLine && (setTimeout(
|
|
901
|
+
navigator.onLine && (setTimeout(T, b.current), b.current = Math.min(b.current * 2, 3e4));
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
|
-
function
|
|
905
|
-
|
|
904
|
+
function E() {
|
|
905
|
+
T();
|
|
906
906
|
}
|
|
907
|
-
window.addEventListener("online",
|
|
908
|
-
function
|
|
909
|
-
clearInterval(
|
|
907
|
+
window.addEventListener("online", E);
|
|
908
|
+
function D(e) {
|
|
909
|
+
clearInterval(S.current), S.current = window.setInterval(() => {
|
|
910
910
|
let t = performance.now(), r = [], i = [];
|
|
911
|
-
|
|
911
|
+
x.current.forEach((n, a) => {
|
|
912
912
|
if (t - n < e) return;
|
|
913
913
|
let o = s.current.get(a);
|
|
914
914
|
o && (o.hidden = !0, i.push(o), r.push(a));
|
|
915
915
|
let c = Y(a), l = s.current.get(c);
|
|
916
916
|
l && (l.hidden = !0, i.push(l), r.push(c));
|
|
917
|
-
}), i.length &&
|
|
917
|
+
}), i.length && _.current.add(() => n.update(...i)), r.forEach((e) => x.current.delete(e));
|
|
918
918
|
}, e);
|
|
919
919
|
}
|
|
920
920
|
return () => {
|
|
921
|
-
|
|
921
|
+
y.current && n.renderer && n.renderer.events.removeEventListener("viewport:ptscale", y.current), C !== void 0 && cancelAnimationFrame(C), c.current.forEach((e) => e == null ? void 0 : e()), c.current.clear(), s.current.clear(), _.current.destroy(), window.removeEventListener("online", E), clearInterval(S.current);
|
|
922
922
|
};
|
|
923
923
|
}, [
|
|
924
924
|
e,
|
|
@@ -928,13 +928,13 @@ function lt({ permission: e, rendererService: n, dataJsonUrl: r, websocketUrl: i
|
|
|
928
928
|
]);
|
|
929
929
|
}
|
|
930
930
|
function ut(e) {
|
|
931
|
-
return Math.min(e || window.devicePixelRatio,
|
|
931
|
+
return Math.min(e || window.devicePixelRatio, rt);
|
|
932
932
|
}
|
|
933
933
|
function dt(e) {
|
|
934
934
|
return typeof e == "number" ? { ptScale: e } : e;
|
|
935
935
|
}
|
|
936
936
|
function ft(e, t) {
|
|
937
|
-
return
|
|
937
|
+
return A(e, t);
|
|
938
938
|
}
|
|
939
939
|
function pt({ radius: e, scale: t, color: n }) {
|
|
940
940
|
let r = document.createElement("canvas"), i = r.getContext("2d");
|
|
@@ -951,13 +951,13 @@ function mt({ id: e, width: t, height: n, color: r, scale: i }) {
|
|
|
951
951
|
return h.shadowColor = "rgba(16, 24, 40, 0.2)", h.shadowBlur = d / 2, h.beginPath(), h.arc(v, y, o, Math.PI, 0, !1), h.bezierCurveTo(v + o, y + s * .3, v + c * o, b, v, b), h.bezierCurveTo(v - c * o, b, v - o, y + s * .3, v - o, y), h.closePath(), h.fillStyle = r, h.fill(), h.strokeStyle = "#FFFFFF", h.lineWidth = a, h.stroke(), h.restore(), m;
|
|
952
952
|
}
|
|
953
953
|
function ht(e, t) {
|
|
954
|
-
return
|
|
954
|
+
return R(e, t);
|
|
955
955
|
}
|
|
956
956
|
function Y(e) {
|
|
957
957
|
return `${e}_finery`;
|
|
958
958
|
}
|
|
959
959
|
function gt({ rendererService: e, updateQueue: t, vehicle: n, vehicleFinery: r, x: i, y: a, scale: o, angle: s }) {
|
|
960
|
-
n.bounds =
|
|
960
|
+
n.bounds = d(m(i, a, n.source.width, n.source.height, o, s)), n.hidden = !1, r ? (r.bounds = d(m(i, a, r.source.width, r.source.height, o, E(e.angle))), r.hidden = !1, t.add(() => e.update(r, n))) : t.add(() => e.update(n));
|
|
961
961
|
}
|
|
962
962
|
function X(e, t, n) {
|
|
963
963
|
return {
|
|
@@ -998,7 +998,7 @@ function bt(e, t, n, r) {
|
|
|
998
998
|
if (e.length < 2) return () => {};
|
|
999
999
|
let i = null, a, o = [], s = 0;
|
|
1000
1000
|
for (let t = 0; t < e.length - 1; t++) {
|
|
1001
|
-
let n =
|
|
1001
|
+
let n = R(e[t], e[t + 1]);
|
|
1002
1002
|
o.push(n), s += n;
|
|
1003
1003
|
}
|
|
1004
1004
|
let c = (l) => {
|
|
@@ -1010,7 +1010,7 @@ function bt(e, t, n, r) {
|
|
|
1010
1010
|
n({
|
|
1011
1011
|
x: h.x + (g.x - h.x) * v,
|
|
1012
1012
|
y: h.y + (g.y - h.y) * v,
|
|
1013
|
-
angle:
|
|
1013
|
+
angle: A(h, g)
|
|
1014
1014
|
}), d < 1 ? a = requestAnimationFrame(c) : r && r();
|
|
1015
1015
|
};
|
|
1016
1016
|
return a = requestAnimationFrame(c), () => {
|
|
@@ -1074,18 +1074,18 @@ function Dt(e) {
|
|
|
1074
1074
|
//#region src/components/Map/booth-by-xy.ts
|
|
1075
1075
|
var Z = [], Q = /* @__PURE__ */ new Map(), $ = null, Ot = [];
|
|
1076
1076
|
function kt() {
|
|
1077
|
-
let e =
|
|
1077
|
+
let e = ie.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0);
|
|
1078
1078
|
if (Z = [], $ = null, Q = /* @__PURE__ */ new Map(), Ot = e.filter((e) => e.paths), !e.length) return;
|
|
1079
1079
|
let t = [], n = Infinity, r = Infinity, a = -Infinity, o = -Infinity;
|
|
1080
1080
|
for (let i of e) {
|
|
1081
|
-
let e = i.rotate ? new
|
|
1081
|
+
let e = i.rotate ? new j(i.rect.center, i.rect.size, i.rotate) : null, s = e ? e.bounds : i.rect;
|
|
1082
1082
|
t.push({
|
|
1083
1083
|
booth: i,
|
|
1084
1084
|
shape: e == null ? i.rect : e,
|
|
1085
1085
|
bounds: s
|
|
1086
1086
|
}), s.min.x < n && (n = s.min.x), s.min.y < r && (r = s.min.y), s.max.x > a && (a = s.max.x), s.max.y > o && (o = s.max.y);
|
|
1087
1087
|
}
|
|
1088
|
-
let s =
|
|
1088
|
+
let s = F.fromMinMax({
|
|
1089
1089
|
x: n,
|
|
1090
1090
|
y: r
|
|
1091
1091
|
}, {
|
|
@@ -1093,15 +1093,15 @@ function kt() {
|
|
|
1093
1093
|
y: o
|
|
1094
1094
|
}), c = Math.ceil(s.size.width / 2), l = Math.ceil(s.size.height / 2);
|
|
1095
1095
|
for (let e = 0; e < 2; e++) for (let n = 0; n < 2; n++) {
|
|
1096
|
-
let r = new
|
|
1096
|
+
let r = new F(s.min.x + e * c, s.min.y + n * l, c, l);
|
|
1097
1097
|
Z.push(r), Q.set(r, t.filter((e) => r.intersects(e.bounds)));
|
|
1098
1098
|
}
|
|
1099
1099
|
i.log("hover segmentToHitAreas", Q);
|
|
1100
1100
|
}
|
|
1101
1101
|
n(() => [
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1102
|
+
ie.booths,
|
|
1103
|
+
C.loaded,
|
|
1104
|
+
C.visible
|
|
1105
1105
|
], () => kt());
|
|
1106
1106
|
function At(e, t) {
|
|
1107
1107
|
let n = {
|
|
@@ -1114,12 +1114,12 @@ function At(e, t) {
|
|
|
1114
1114
|
let e = i.filter((e) => e.booth.visible && e.shape.containsPoint(n));
|
|
1115
1115
|
if (e.length) return (e.length > 1 ? e.sort((e, t) => e.booth.rect.area - t.booth.rect.area)[0] : e[0]).booth;
|
|
1116
1116
|
}
|
|
1117
|
-
for (let e of Ot) if (e.visible) for (let t of e.paths) for (let r of
|
|
1117
|
+
for (let e of Ot) if (e.visible) for (let t of e.paths) for (let r of w(t.index, C.mode === re.Default ? "" : e.layer.name)) {
|
|
1118
1118
|
let t = r.map((e) => ({
|
|
1119
1119
|
x: e[0],
|
|
1120
1120
|
y: e[1]
|
|
1121
1121
|
}));
|
|
1122
|
-
if (
|
|
1122
|
+
if (x.fromConvexRing(t).containsPoint(n)) return e;
|
|
1123
1123
|
}
|
|
1124
1124
|
return null;
|
|
1125
1125
|
}
|
|
@@ -1127,4 +1127,4 @@ function jt(e, t) {
|
|
|
1127
1127
|
return At(e, t);
|
|
1128
1128
|
}
|
|
1129
1129
|
//#endregion
|
|
1130
|
-
export { lt as a,
|
|
1130
|
+
export { lt as a, Be as c, Tt as i, Ve as l, St as n, et as o, wt as r, Ue as s, jt as t };
|