@expofp/floorplan 3.45.5 → 3.45.7
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-c0Y1Vj6Z.js → Button-DoMPpOME.js} +5 -5
- package/dist/browser/{CookieConsent-CxKQhDgE.js → CookieConsent-VAXXLOXb.js} +7 -7
- package/dist/browser/{Debug-C10npb-W.js → Debug-C63GlheY.js} +7 -7
- package/dist/browser/{DebugTools-BYH_5luw.js → DebugTools-mVrHvXI6.js} +6 -6
- package/dist/browser/{Demo-uiGmObIR.js → Demo-BXkOcSI0.js} +9 -9
- package/dist/browser/{Free-YoFJ8DoQ.js → Free-DNAFCM7J.js} +10 -10
- package/dist/browser/{GalleryContainer-D0W5i6hN.js → GalleryContainer-D1NE6sjd.js} +11 -11
- package/dist/browser/{GpsLoader-jFNN9YWJ.js → GpsLoader-CBglwIpW.js} +13 -13
- package/dist/browser/{KioskStore-CH1a_6m4.js → KioskStore-CidgY5gq.js} +9 -9
- package/dist/browser/{LayerStore-pXZBW8KP.js → LayerStore-CkHJl9fw.js} +761 -744
- package/dist/browser/{MaplibreAdapter-DDXfQqpQ.js → MaplibreAdapter-BpgtcRzj.js} +17 -17
- package/dist/browser/{ModalContainer-DfkAhBpg.js → ModalContainer-Dx1hKEHL.js} +10 -10
- package/dist/browser/{PermissionNotice-Dfo2CE5b.js → PermissionNotice-BC2Hh6Dc.js} +6 -6
- package/dist/browser/{RouteStore-CM6Vq9s1.js → RouteStore-B8swHpbx.js} +9 -9
- package/dist/browser/{SetKioskMode-Dl93Q0wv.js → SetKioskMode-CPljhWHO.js} +11 -11
- package/dist/browser/{ShowKiosk-no_dFDp5.js → ShowKiosk-Cp4-kIC0.js} +10 -10
- package/dist/browser/{UIState-C4Ne83XZ.js → UIState-Bktc1gqT.js} +12 -12
- package/dist/browser/{ViewerMenuPanel-CXr6A_ya.js → ViewerMenuPanel-6RZTF4uE.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-DQW_4QYR.js → add-debug-secret-listener-Btw74X-A.js} +1 -1
- package/dist/browser/{adopt-global-settings-BKdkyodw.js → adopt-global-settings-BhlZMnJR.js} +9 -9
- package/dist/browser/{boolean-editor-BftDwfPM.js → boolean-editor-Blw57l8P.js} +9 -9
- package/dist/browser/{bootIntercom-CROavddr.js → bootIntercom-VJKzVHv-.js} +2 -2
- package/dist/browser/bundle.json +85 -85
- package/dist/browser/{camera-events-DMsQNnT6.js → camera-events-CGeSIpoO.js} +1 -1
- package/dist/browser/{classnames-BEzWCDOg.js → classnames-CdJLGw--.js} +2 -2
- package/dist/browser/{client-DS3yXAuR.js → client-Ddk4_hPo.js} +5 -5
- package/dist/browser/{components-mMyyFnog.js → components-B_JMadcX.js} +48 -48
- package/dist/browser/{create-live-plan-BW-Me7UX.js → create-live-plan-BlgtYarw.js} +13 -13
- package/dist/browser/{debug-context-Cj6Zb4cZ.js → debug-context-D121AhHU.js} +5 -5
- package/dist/browser/{debug-overlay-BTl2ZFvr.js → debug-overlay-eFHSKKar.js} +10 -10
- package/dist/browser/{debug-ui-C260KTxB.js → debug-ui-Bi1TdGKQ.js} +6 -6
- package/dist/browser/{dist-C_QXFSca.js → dist-B6lWm0ju.js} +6 -6
- package/dist/browser/{dist-BNC8yDCp.js → dist-D2cpArj8.js} +5 -5
- package/dist/browser/{dist-Dtc5p_fA.js → dist-tCut6z8G.js} +3 -3
- package/dist/browser/{efp-debug-init-BPvSrPaU.js → efp-debug-init-O1oP_JJm.js} +3 -3
- package/dist/browser/{enum-editor-DCnC5upf.js → enum-editor-BSbFq29p.js} +4 -4
- package/dist/browser/{es5-Cqws9iGQ.js → es5-C1EkARsD.js} +2 -2
- package/dist/browser/{event-head-BU0A69Q3.js → event-head-dbKPx63k.js} +1 -1
- package/dist/browser/{event-not-found-b03tcZjL.js → event-not-found-CZ8t4Uu6.js} +3 -3
- package/dist/browser/{event-scoped-cache-DI1_uyqp.js → event-scoped-cache-D_QACc1s.js} +2 -2
- package/dist/browser/{expofpUrl-BpegKBOH.js → expofpUrl-CwYzXtEI.js} +1 -1
- package/dist/browser/{exports-BtJyDpUj.js → exports-BYakE1aQ.js} +1 -1
- package/dist/browser/{favicon-OreqNesA.js → favicon-BHofuIQZ.js} +1 -1
- package/dist/browser/{fetch-retry.umd-JegjWdBo.js → fetch-retry.umd-BAbHkBot.js} +2 -2
- package/dist/browser/{flex-Cwa2rTgg.js → flex-B5JUG09k.js} +5 -5
- package/dist/browser/{floorplan.loader-CUxvnQRn.js → floorplan.loader-KTUSzO4z.js} +12 -12
- package/dist/browser/{floorplan.ready-CooEF7Eb.js → floorplan.ready-Dl6KhHdq.js} +23 -23
- package/dist/browser/{framing-rect-_1AyUoJ1.js → framing-rect-BQQmc5De.js} +235 -227
- package/dist/browser/{freeBanner-CMTJeoCn.js → freeBanner-BmPRrM12.js} +2 -2
- package/dist/browser/{fuse-CH0oYzgY.js → fuse-WFAQ7YoQ.js} +2 -2
- package/dist/browser/{i18n-BF_UPvar.js → i18n-Bh9SQDL_.js} +6 -6
- package/dist/browser/index.js +17 -17
- package/dist/browser/{index.module-DCIHG2vV.js → index.module-DCw3tKgG.js} +4 -4
- package/dist/browser/{init-ui-CUbtDDQG.js → init-ui-OB1XaCfO.js} +9 -9
- package/dist/browser/{integrateKiosk-rd__bS08.js → integrateKiosk-MOEJieFt.js} +5 -5
- package/dist/browser/{is-debug-CfxoI_aR.js → is-debug-BF3z8m5S.js} +4 -4
- package/dist/browser/{is-own-domain-BKurpvVa.js → is-own-domain-JIM5K3kS.js} +1 -1
- package/dist/browser/{is-webview-gvnowUxv.js → is-webview-CmVvfduU.js} +1 -1
- package/dist/browser/{jsx-runtime-bcCRPAgn.js → jsx-runtime-EdxeYdYp.js} +2 -2
- package/dist/browser/{kiosk-mode-D3GGs1LZ.js → kiosk-mode-ph5mhoKS.js} +3 -3
- package/dist/browser/{kiosk-record-B0R_DRiL.js → kiosk-record-CECrtPT6.js} +1 -1
- package/dist/browser/{kioskApi-CwcrGPV6.js → kioskApi-CnYlViWt.js} +7 -7
- package/dist/browser/{lib-DJxEHO9s.js → lib-DG_Vp0rr.js} +3 -3
- package/dist/browser/{loadImage-Zz0AMWId.js → loadImage-Ck1tWCp8.js} +1 -1
- package/dist/browser/{logDeviceInfo-DSX8aPeS.js → logDeviceInfo-BdzHHyxc.js} +9 -9
- package/dist/browser/{mobx-BGKjzU2r.js → mobx-Dyev0T49.js} +4 -4
- package/dist/browser/{mobx.module-Bt30ANK9.js → mobx.module-CkUy2egS.js} +1 -1
- package/dist/browser/{optional-boolean-editor-3neENMtF.js → optional-boolean-editor-CZR8wMg8.js} +3 -3
- package/dist/browser/{optional-enum-editor-B-120FyS.js → optional-enum-editor-CpvWFVd_.js} +4 -4
- package/dist/browser/{optional-string-editor-Be3sySiT.js → optional-string-editor-BnxMkNl0.js} +4 -4
- package/dist/browser/{particles.min-DvKYWsB4.js → particles.min-fy-7841X.js} +2 -2
- package/dist/browser/{react-dom-vftChjch.js → react-dom-DP4W4hYa.js} +3 -3
- package/dist/browser/{react-BWCnfqit.js → react-p4ksjiTO.js} +2 -2
- package/dist/browser/{rolldown-runtime-DpVbZPC8.js → rolldown-runtime-DpurJPpD.js} +1 -1
- package/dist/browser/{scene-CnRTU8KH.js → scene-Bw4Wosnm.js} +3 -3
- package/dist/browser/{scheduler-CDyii4fH.js → scheduler-DG833nPN.js} +2 -2
- package/dist/browser/{select-Bj4oVPB7.js → select-Bs8l_LXK.js} +10 -10
- package/dist/browser/{settings-DFvkXLq_.js → settings-C16fMCOb.js} +2 -2
- package/dist/browser/{settings-item-BE6DUEO_.js → settings-item-BNbUy2G4.js} +6 -6
- package/dist/browser/{store-BaKHzzZt.js → store-Dzf_E3lq.js} +2 -2
- package/dist/browser/{string-editor-DAsQiBLy.js → string-editor-HK0_YL0_.js} +4 -4
- package/dist/browser/{text-field-C2NqjlIt.js → text-field-BSQdGeXC.js} +5 -5
- package/dist/browser/{theme-BkTUHcSG.js → theme-J3Xyr2LB.js} +8 -8
- package/dist/browser/{ui-CiB3HJJP.js → ui-DqehmZc3.js} +13 -10
- package/dist/browser/{useRenderTarget-f59THmyw.js → useRenderTarget-DY4Qqe94.js} +4 -4
- package/dist/browser/{viewport-DynKkr6Y.js → viewport-DOMzAI6a.js} +3 -3
- package/dist/browser/{wayfinding-q1ymTx8A.js → wayfinding-BUxcbe0S.js} +5 -5
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/utils/loadLayerImages.d.ts +6 -11
- package/dist/esm/utils/loadLayerImages.js +1 -1
- package/package.json +10 -10
|
@@ -1,24 +1,24 @@
|
|
|
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.45.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.45.7" };
|
|
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] = "d1f301e5-26a6-4977-a47f-10a84ce8f6de", e._sentryDebugIdIdentifier = "sentry-dbid-d1f301e5-26a6-4977-a47f-10a84ce8f6de");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
10
|
-
import { C as n, E as r, J as i, K as a, L as o, N as s, Ot as c, P as l, Q as u, S as d, T as f, _ as p, g as m, l as h, q as g, s as _, x as v } from "./i18n-
|
|
11
|
-
import { s as y } from "./efp-debug-init-
|
|
12
|
-
import { t as b } from "./react-
|
|
13
|
-
import { t as x } from "./jsx-runtime-
|
|
14
|
-
import { a as S, i as C, o as w, t as T } from "./is-debug-
|
|
15
|
-
import { a as E, c as D, h as O, l as k, n as A, r as ee, u as te } from "./mobx.module-
|
|
16
|
-
import { t as j } from "./is-webview-
|
|
17
|
-
import { t as ne } from "./loadImage-
|
|
18
|
-
import { t as re } from "./scheduler-
|
|
19
|
-
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as de, D as fe, Dt as pe, E as me, Et as he, F as M, Ft as ge, G as _e, Gt as ve, H as ye, Ht as be, I as xe, It as Se, J as Ce, Jt as we, K as Te, Kt as Ee, L as De, Lt as Oe, M as ke, Mt as Ae, N as je, Nt as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, R as ze, Rt as Be, S as Ve, Sn as He, St as Ue, T as We, Tt as Ge, U as Ke, Ut as qe, V as Je, Vt as Ye, W as Xe, Wt as N, X as Ze, Xt as Qe, Y as $e, Yt as et, Z as tt, Zt as nt, _ as rt, _n as P, _t as it, a as at, an as ot, at as st, b as F, bn as ct, bt as I, cn as lt, ct as ut, d as dt, dn as ft, dt as pt, en as mt, et as ht, f as gt, fn as _t, ft as vt, g as yt, gn as bt, gt as xt, h as St, hn as Ct, ht as wt, i as Tt, in as Et, it as Dt, j as Ot, jt as kt, k as At, kt as jt, l as Mt, ln as Nt, lt as Pt, m as Ft, mn as It, mt as Lt, nn as Rt, nt as zt, o as Bt, on as Vt, ot as Ht, p as Ut, pn as Wt, pt as Gt, q as Kt, qt, r as Jt, rn as Yt, rt as Xt, s as Zt, sn as Qt, st as $t, tn as en, tt as tn, u as nn, un as rn, ut as an, v as on, vn as L, vt as sn, w as cn, wt as ln, x as un, xn as dn, xt as fn, y as pn, yn as mn, yt as hn, z as gn, zt as _n } from "./debug-context-
|
|
20
|
-
import { a as vn, d as yn, l as R, r as bn, t as xn, u as z } from "./store-
|
|
21
|
-
import { n as Sn, t as Cn } from "./event-scoped-cache-
|
|
9
|
+
import { r as e, t } from "./rolldown-runtime-DpurJPpD.js";
|
|
10
|
+
import { C as n, E as r, J as i, K as a, L as o, N as s, Ot as c, P as l, Q as u, S as d, T as f, _ as p, g as m, l as h, q as g, s as _, x as v } from "./i18n-Bh9SQDL_.js";
|
|
11
|
+
import { s as y } from "./efp-debug-init-O1oP_JJm.js";
|
|
12
|
+
import { t as b } from "./react-p4ksjiTO.js";
|
|
13
|
+
import { t as x } from "./jsx-runtime-EdxeYdYp.js";
|
|
14
|
+
import { a as S, i as C, o as w, t as T } from "./is-debug-BF3z8m5S.js";
|
|
15
|
+
import { a as E, c as D, h as O, l as k, n as A, r as ee, u as te } from "./mobx.module-CkUy2egS.js";
|
|
16
|
+
import { t as j } from "./is-webview-CmVvfduU.js";
|
|
17
|
+
import { t as ne } from "./loadImage-Ck1tWCp8.js";
|
|
18
|
+
import { t as re } from "./scheduler-DG833nPN.js";
|
|
19
|
+
import { $ as ie, $t as ae, A as oe, At as se, B as ce, Bt as le, C as ue, Ct as de, D as fe, Dt as pe, E as me, Et as he, F as M, Ft as ge, G as _e, Gt as ve, H as ye, Ht as be, I as xe, It as Se, J as Ce, Jt as we, K as Te, Kt as Ee, L as De, Lt as Oe, M as ke, Mt as Ae, N as je, Nt as Me, O as Ne, Ot as Pe, P as Fe, Pt as Ie, Q as Le, Qt as Re, R as ze, Rt as Be, S as Ve, Sn as He, St as Ue, T as We, Tt as Ge, U as Ke, Ut as qe, V as Je, Vt as Ye, W as Xe, Wt as N, X as Ze, Xt as Qe, Y as $e, Yt as et, Z as tt, Zt as nt, _ as rt, _n as P, _t as it, a as at, an as ot, at as st, b as F, bn as ct, bt as I, cn as lt, ct as ut, d as dt, dn as ft, dt as pt, en as mt, et as ht, f as gt, fn as _t, ft as vt, g as yt, gn as bt, gt as xt, h as St, hn as Ct, ht as wt, i as Tt, in as Et, it as Dt, j as Ot, jt as kt, k as At, kt as jt, l as Mt, ln as Nt, lt as Pt, m as Ft, mn as It, mt as Lt, nn as Rt, nt as zt, o as Bt, on as Vt, ot as Ht, p as Ut, pn as Wt, pt as Gt, q as Kt, qt, r as Jt, rn as Yt, rt as Xt, s as Zt, sn as Qt, st as $t, tn as en, tt as tn, u as nn, un as rn, ut as an, v as on, vn as L, vt as sn, w as cn, wt as ln, x as un, xn as dn, xt as fn, y as pn, yn as mn, yt as hn, z as gn, zt as _n } from "./debug-context-D121AhHU.js";
|
|
20
|
+
import { a as vn, d as yn, l as R, r as bn, t as xn, u as z } from "./store-Dzf_E3lq.js";
|
|
21
|
+
import { n as Sn, t as Cn } from "./event-scoped-cache-D_QACc1s.js";
|
|
22
22
|
//#region ../geometry/src/lib/angles.ts
|
|
23
23
|
function wn(e) {
|
|
24
24
|
return e * Math.PI / 180;
|
|
@@ -122,7 +122,7 @@ function Ln(e, t, n) {
|
|
|
122
122
|
//#region ../geometry/src/lib/mesh.ts
|
|
123
123
|
var Rn = class e {
|
|
124
124
|
constructor(e = [], t = []) {
|
|
125
|
-
this.isMesh = !0, this._vertices = [], this._indices = [], this._bounds = new
|
|
125
|
+
this.isMesh = !0, this._vertices = [], this._indices = [], this._bounds = new B(), this._planar = !0, this.set(e, t);
|
|
126
126
|
}
|
|
127
127
|
get vertices() {
|
|
128
128
|
return this._vertices;
|
|
@@ -156,10 +156,10 @@ var Rn = class e {
|
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
function zn(e) {
|
|
159
|
-
if (e.vertices.length === 0) return new
|
|
159
|
+
if (e.vertices.length === 0) return new B();
|
|
160
160
|
let t = Infinity, n = Infinity, r = -Infinity, i = -Infinity;
|
|
161
161
|
for (let a of e.vertices) t = Math.min(t, a.x), n = Math.min(n, a.y), r = Math.max(r, a.x), i = Math.max(i, a.y);
|
|
162
|
-
return
|
|
162
|
+
return B.fromMinMax({
|
|
163
163
|
x: t,
|
|
164
164
|
y: n
|
|
165
165
|
}, {
|
|
@@ -225,7 +225,7 @@ function Wn(e, t, n = zn(e).center, r) {
|
|
|
225
225
|
//#region ../geometry/src/lib/polygon.ts
|
|
226
226
|
var Gn = class e {
|
|
227
227
|
constructor(e = [], t = [], n = 0) {
|
|
228
|
-
this.isPolygon = !0, this._vertices = [], this._indices = [], this._elevation = void 0, this._bounds = new
|
|
228
|
+
this.isPolygon = !0, this._vertices = [], this._indices = [], this._elevation = void 0, this._bounds = new B(), this._elevation = n, this.set(e, t);
|
|
229
229
|
}
|
|
230
230
|
static fromConvexRing(t, n = 0) {
|
|
231
231
|
if (t.length < 3) return new e([], [], n);
|
|
@@ -369,7 +369,7 @@ function Zn(e) {
|
|
|
369
369
|
}
|
|
370
370
|
function Qn(e, t) {
|
|
371
371
|
let n = Jn(e), r = Math.abs(Math.cos(n)), i = Math.abs(Math.sin(n)), a = Math.abs(e.size.x), o = Math.abs(e.size.y), s = (a * r + o * i) / 2, c = (a * i + o * r) / 2, { x: l, y: u } = e.center;
|
|
372
|
-
return (t == null ? new
|
|
372
|
+
return (t == null ? new B() : t).set(l - s, u - c, l + s, u + c);
|
|
373
373
|
}
|
|
374
374
|
function $n(e) {
|
|
375
375
|
return Gn.fromConvexRing(Zn(e), Yn(e));
|
|
@@ -434,7 +434,7 @@ function or(e, t, n = kn) {
|
|
|
434
434
|
function* sr(e) {
|
|
435
435
|
for (let t of e) yield t.min, yield t.max;
|
|
436
436
|
}
|
|
437
|
-
var
|
|
437
|
+
var B = class e {
|
|
438
438
|
constructor(e = 0, t = 0, n = 0, r = 0) {
|
|
439
439
|
this.isBox = !0, this._min = new An(), this._max = new An(), this._center = new An(), this._size = new An(), this.set(e, t, e + n, t + r);
|
|
440
440
|
}
|
|
@@ -451,10 +451,10 @@ var cr = class e {
|
|
|
451
451
|
return this._size;
|
|
452
452
|
}
|
|
453
453
|
get area() {
|
|
454
|
-
return
|
|
454
|
+
return cr(this);
|
|
455
455
|
}
|
|
456
456
|
isEmpty() {
|
|
457
|
-
return
|
|
457
|
+
return lr(this);
|
|
458
458
|
}
|
|
459
459
|
static fromMinMax(t, n) {
|
|
460
460
|
return new e(t.x, t.y, n.x - t.x, n.y - t.y);
|
|
@@ -480,28 +480,28 @@ var cr = class e {
|
|
|
480
480
|
return new e(t.x.baseVal.value, t.y.baseVal.value, t.width.baseVal.value, t.height.baseVal.value);
|
|
481
481
|
}
|
|
482
482
|
intersects(e) {
|
|
483
|
-
return
|
|
483
|
+
return ur(this, e);
|
|
484
484
|
}
|
|
485
485
|
contains(e) {
|
|
486
|
-
return
|
|
486
|
+
return dr(this, e);
|
|
487
487
|
}
|
|
488
488
|
containsPoint(e) {
|
|
489
|
-
return
|
|
489
|
+
return fr(this, e);
|
|
490
490
|
}
|
|
491
491
|
equals(e) {
|
|
492
|
-
return
|
|
492
|
+
return pr(this, e);
|
|
493
493
|
}
|
|
494
494
|
intersection(e, t) {
|
|
495
|
-
return
|
|
495
|
+
return mr(this, e, t);
|
|
496
496
|
}
|
|
497
497
|
translate(e, t) {
|
|
498
|
-
return
|
|
498
|
+
return hr(this, e, t);
|
|
499
499
|
}
|
|
500
500
|
expand(e, t) {
|
|
501
|
-
return
|
|
501
|
+
return gr(this, e, t);
|
|
502
502
|
}
|
|
503
503
|
scale(e, t = this._center, n) {
|
|
504
|
-
return
|
|
504
|
+
return _r(this, e, t, n);
|
|
505
505
|
}
|
|
506
506
|
intersectLine(e) {
|
|
507
507
|
return or(e, this);
|
|
@@ -514,60 +514,60 @@ var cr = class e {
|
|
|
514
514
|
return this._min.set(i, a), this._max.set(o, s), this._center.set((i + o) / 2, (a + s) / 2), this._size.set(o - i, s - a), this;
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function cr(e) {
|
|
518
518
|
return (e.max.x - e.min.x) * (e.max.y - e.min.y);
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function lr(e) {
|
|
521
521
|
return e.min.x === e.max.x && e.min.y === e.max.y;
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function ur(e, t) {
|
|
524
524
|
return e.min.x <= t.max.x && e.max.x >= t.min.x && e.min.y <= t.max.y && e.max.y >= t.min.y;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function dr(e, t) {
|
|
527
527
|
return t.min.x >= e.min.x && t.max.x <= e.max.x && t.min.y >= e.min.y && t.max.y <= e.max.y;
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function fr(e, t) {
|
|
530
530
|
return t.x >= e.min.x && t.x <= e.max.x && t.y >= e.min.y && t.y <= e.max.y;
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function pr(e, t) {
|
|
533
533
|
return e.min.x === t.min.x && e.min.y === t.min.y && e.max.x === t.max.x && e.max.y === t.max.y;
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function mr(e, t, n) {
|
|
536
536
|
let r = Math.max(e.min.x, t.min.x), i = Math.max(e.min.y, t.min.y), a = Math.min(e.max.x, t.max.x), o = Math.min(e.max.y, t.max.y);
|
|
537
|
-
return a < r || o < i ? null : (n == null ? new
|
|
537
|
+
return a < r || o < i ? null : (n == null ? new B() : n).set(r, i, a, o);
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function hr(e, t, n) {
|
|
540
540
|
let r = typeof t == "number" ? t : t.x, i = typeof t == "number" ? t : t.y;
|
|
541
|
-
return (n == null ? new
|
|
541
|
+
return (n == null ? new B() : n).set(e.min.x + r, e.min.y + i, e.max.x + r, e.max.y + i);
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function gr(e, t, n) {
|
|
544
544
|
let r = typeof t == "number", i = r ? t : t.x, a = r ? t : t.y, o = e.min.x - i, s = e.max.x + i, c = e.min.y - a, l = e.max.y + a;
|
|
545
|
-
return s < o && (o = s = (o + s) / 2), l < c && (c = l = (c + l) / 2), (n == null ? new
|
|
545
|
+
return s < o && (o = s = (o + s) / 2), l < c && (c = l = (c + l) / 2), (n == null ? new B() : n).set(o, c, s, l);
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function _r(e, t, n = {
|
|
548
548
|
x: (e.min.x + e.max.x) / 2,
|
|
549
549
|
y: (e.min.y + e.max.y) / 2
|
|
550
550
|
}, r) {
|
|
551
551
|
let i = typeof t == "number" ? t : t.x, a = typeof t == "number" ? t : t.y;
|
|
552
|
-
return (r == null ? new
|
|
552
|
+
return (r == null ? new B() : r).set(n.x + (e.min.x - n.x) * i, n.y + (e.min.y - n.y) * a, n.x + (e.max.x - n.x) * i, n.y + (e.max.y - n.y) * a);
|
|
553
553
|
}
|
|
554
554
|
//#endregion
|
|
555
555
|
//#region ../geometry/src/index.ts
|
|
556
|
-
function
|
|
556
|
+
function vr(e) {
|
|
557
557
|
return "isBox" in e;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function yr(e) {
|
|
560
560
|
return "isRect" in e;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function br(e) {
|
|
563
563
|
return "isPolygon" in e;
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function xr(e) {
|
|
566
566
|
return "isMesh" in e;
|
|
567
567
|
}
|
|
568
568
|
//#endregion
|
|
569
569
|
//#region src/components/Map/camera.ts
|
|
570
|
-
function
|
|
570
|
+
function Sr(e) {
|
|
571
571
|
return {
|
|
572
572
|
get api() {
|
|
573
573
|
return e.current.api;
|
|
@@ -575,40 +575,40 @@ function Cr(e) {
|
|
|
575
575
|
state: () => e.current.state()
|
|
576
576
|
};
|
|
577
577
|
}
|
|
578
|
-
function
|
|
579
|
-
|
|
578
|
+
function Cr(e) {
|
|
579
|
+
Tr = e;
|
|
580
580
|
}
|
|
581
|
-
function
|
|
582
|
-
return
|
|
581
|
+
function wr() {
|
|
582
|
+
return Tr;
|
|
583
583
|
}
|
|
584
|
-
var
|
|
584
|
+
var Tr, Er = yn("data", () => c());
|
|
585
585
|
//#endregion
|
|
586
586
|
//#region src/data/fp-payloads.ts
|
|
587
|
-
function
|
|
587
|
+
function Dr() {
|
|
588
588
|
let e = c().fpSvgJsRef;
|
|
589
589
|
if (!e) throw Error("No drawing in the config (fpSvgJsRef is not set)");
|
|
590
590
|
return a(e);
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function Or(e) {
|
|
593
593
|
let t = c().fpSvgLayerJsRefs[e];
|
|
594
594
|
if (t && g(t)) return a(t);
|
|
595
|
-
let n =
|
|
595
|
+
let n = Dr();
|
|
596
596
|
if (e === "" || e === n.__fpDefaultLayer) return n;
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function kr(e = "") {
|
|
599
599
|
var t;
|
|
600
|
-
return (t =
|
|
600
|
+
return (t = Or(e)) == null ? void 0 : t.__fp;
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function Ar(e = "") {
|
|
603
603
|
var t;
|
|
604
|
-
return (t =
|
|
604
|
+
return (t = Or(e)) == null ? void 0 : t.__fpPaths;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function jr() {
|
|
607
607
|
var e;
|
|
608
608
|
let t = c().wfDataJsRef;
|
|
609
609
|
return !t || !g(t) || (e = a(t).__wfData) == null ? null : e;
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var Mr = {
|
|
612
612
|
svg: "http://www.w3.org/2000/svg",
|
|
613
613
|
xhtml: "http://www.w3.org/1999/xhtml",
|
|
614
614
|
xlink: "http://www.w3.org/1999/xlink",
|
|
@@ -617,134 +617,134 @@ var Nr = {
|
|
|
617
617
|
};
|
|
618
618
|
//#endregion
|
|
619
619
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js
|
|
620
|
-
function
|
|
620
|
+
function Nr(e) {
|
|
621
621
|
var t = e += "", n = t.indexOf(":");
|
|
622
|
-
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)),
|
|
623
|
-
space:
|
|
622
|
+
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Mr.hasOwnProperty(t) ? {
|
|
623
|
+
space: Mr[t],
|
|
624
624
|
local: e
|
|
625
625
|
} : e;
|
|
626
626
|
}
|
|
627
627
|
//#endregion
|
|
628
628
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js
|
|
629
|
-
function
|
|
629
|
+
function Pr(e) {
|
|
630
630
|
return function() {
|
|
631
631
|
var t = this.ownerDocument, n = this.namespaceURI;
|
|
632
632
|
return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Fr(e) {
|
|
636
636
|
return function() {
|
|
637
637
|
return this.ownerDocument.createElementNS(e.space, e.local);
|
|
638
638
|
};
|
|
639
639
|
}
|
|
640
|
-
function
|
|
641
|
-
var t =
|
|
642
|
-
return (t.local ?
|
|
640
|
+
function Ir(e) {
|
|
641
|
+
var t = Nr(e);
|
|
642
|
+
return (t.local ? Fr : Pr)(t);
|
|
643
643
|
}
|
|
644
644
|
//#endregion
|
|
645
645
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js
|
|
646
|
-
function
|
|
647
|
-
function
|
|
648
|
-
return e == null ?
|
|
646
|
+
function Lr() {}
|
|
647
|
+
function Rr(e) {
|
|
648
|
+
return e == null ? Lr : function() {
|
|
649
649
|
return this.querySelector(e);
|
|
650
650
|
};
|
|
651
651
|
}
|
|
652
652
|
//#endregion
|
|
653
653
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js
|
|
654
|
-
function
|
|
655
|
-
typeof e != "function" && (e =
|
|
654
|
+
function zr(e) {
|
|
655
|
+
typeof e != "function" && (e = Rr(e));
|
|
656
656
|
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
|
|
657
|
-
return new
|
|
657
|
+
return new Da(r, this._parents);
|
|
658
658
|
}
|
|
659
659
|
//#endregion
|
|
660
660
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js
|
|
661
|
-
function
|
|
661
|
+
function Br(e) {
|
|
662
662
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
663
663
|
}
|
|
664
664
|
//#endregion
|
|
665
665
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js
|
|
666
|
-
function
|
|
666
|
+
function Vr() {
|
|
667
667
|
return [];
|
|
668
668
|
}
|
|
669
|
-
function
|
|
670
|
-
return e == null ?
|
|
669
|
+
function Hr(e) {
|
|
670
|
+
return e == null ? Vr : function() {
|
|
671
671
|
return this.querySelectorAll(e);
|
|
672
672
|
};
|
|
673
673
|
}
|
|
674
674
|
//#endregion
|
|
675
675
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js
|
|
676
|
-
function
|
|
676
|
+
function Ur(e) {
|
|
677
677
|
return function() {
|
|
678
|
-
return
|
|
678
|
+
return Br(e.apply(this, arguments));
|
|
679
679
|
};
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
e = typeof e == "function" ?
|
|
681
|
+
function Wr(e) {
|
|
682
|
+
e = typeof e == "function" ? Ur(e) : Hr(e);
|
|
683
683
|
for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
|
|
684
|
-
return new
|
|
684
|
+
return new Da(r, i);
|
|
685
685
|
}
|
|
686
686
|
//#endregion
|
|
687
687
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js
|
|
688
|
-
function
|
|
688
|
+
function Gr(e) {
|
|
689
689
|
return function() {
|
|
690
690
|
return this.matches(e);
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Kr(e) {
|
|
694
694
|
return function(t) {
|
|
695
695
|
return t.matches(e);
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
698
|
//#endregion
|
|
699
699
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js
|
|
700
|
-
var
|
|
701
|
-
function
|
|
700
|
+
var qr = Array.prototype.find;
|
|
701
|
+
function Jr(e) {
|
|
702
702
|
return function() {
|
|
703
|
-
return
|
|
703
|
+
return qr.call(this.children, e);
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function Yr() {
|
|
707
707
|
return this.firstElementChild;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return this.select(e == null ?
|
|
709
|
+
function Xr(e) {
|
|
710
|
+
return this.select(e == null ? Yr : Jr(typeof e == "function" ? e : Kr(e)));
|
|
711
711
|
}
|
|
712
712
|
//#endregion
|
|
713
713
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js
|
|
714
|
-
var
|
|
715
|
-
function
|
|
714
|
+
var Zr = Array.prototype.filter;
|
|
715
|
+
function Qr() {
|
|
716
716
|
return Array.from(this.children);
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function $r(e) {
|
|
719
719
|
return function() {
|
|
720
|
-
return
|
|
720
|
+
return Zr.call(this.children, e);
|
|
721
721
|
};
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
return this.selectAll(e == null ?
|
|
723
|
+
function ei(e) {
|
|
724
|
+
return this.selectAll(e == null ? Qr : $r(typeof e == "function" ? e : Kr(e)));
|
|
725
725
|
}
|
|
726
726
|
//#endregion
|
|
727
727
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js
|
|
728
|
-
function
|
|
729
|
-
typeof e != "function" && (e =
|
|
728
|
+
function ti(e) {
|
|
729
|
+
typeof e != "function" && (e = Gr(e));
|
|
730
730
|
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
|
|
731
|
-
return new
|
|
731
|
+
return new Da(r, this._parents);
|
|
732
732
|
}
|
|
733
733
|
//#endregion
|
|
734
734
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js
|
|
735
|
-
function
|
|
735
|
+
function ni(e) {
|
|
736
736
|
return Array(e.length);
|
|
737
737
|
}
|
|
738
738
|
//#endregion
|
|
739
739
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js
|
|
740
|
-
function
|
|
741
|
-
return new
|
|
740
|
+
function ri() {
|
|
741
|
+
return new Da(this._enter || this._groups.map(ni), this._parents);
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function ii(e, t) {
|
|
744
744
|
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
745
745
|
}
|
|
746
|
-
|
|
747
|
-
constructor:
|
|
746
|
+
ii.prototype = {
|
|
747
|
+
constructor: ii,
|
|
748
748
|
appendChild: function(e) {
|
|
749
749
|
return this._parent.insertBefore(e, this._next);
|
|
750
750
|
},
|
|
@@ -760,71 +760,71 @@ ai.prototype = {
|
|
|
760
760
|
};
|
|
761
761
|
//#endregion
|
|
762
762
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js
|
|
763
|
-
function
|
|
763
|
+
function ai(e) {
|
|
764
764
|
return function() {
|
|
765
765
|
return e;
|
|
766
766
|
};
|
|
767
767
|
}
|
|
768
768
|
//#endregion
|
|
769
769
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js
|
|
770
|
-
function
|
|
771
|
-
for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new
|
|
770
|
+
function oi(e, t, n, r, i, a) {
|
|
771
|
+
for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new ii(e, a[o]);
|
|
772
772
|
for (; o < c; ++o) (s = t[o]) && (i[o] = s);
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function si(e, t, n, r, i, a, o) {
|
|
775
775
|
var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
|
|
776
776
|
for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
|
|
777
|
-
for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new
|
|
777
|
+
for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new ii(e, a[s]);
|
|
778
778
|
for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function ci(e) {
|
|
781
781
|
return e.__data__;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
784
|
-
if (!arguments.length) return Array.from(this,
|
|
785
|
-
var n = t ?
|
|
786
|
-
typeof e != "function" && (e =
|
|
783
|
+
function li(e, t) {
|
|
784
|
+
if (!arguments.length) return Array.from(this, ci);
|
|
785
|
+
var n = t ? si : oi, r = this._parents, i = this._groups;
|
|
786
|
+
typeof e != "function" && (e = ai(e));
|
|
787
787
|
for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
|
|
788
|
-
var u = r[l], d = i[l], f = d.length, p =
|
|
788
|
+
var u = r[l], d = i[l], f = d.length, p = ui(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
|
|
789
789
|
n(u, d, h, g, c[l] = Array(f), p, t);
|
|
790
790
|
for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
|
|
791
791
|
for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
|
|
792
792
|
y._next = b || null;
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
|
-
return o = new
|
|
795
|
+
return o = new Da(o, r), o._enter = s, o._exit = c, o;
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function ui(e) {
|
|
798
798
|
return typeof e == "object" && "length" in e ? e : Array.from(e);
|
|
799
799
|
}
|
|
800
800
|
//#endregion
|
|
801
801
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js
|
|
802
|
-
function
|
|
803
|
-
return new
|
|
802
|
+
function di() {
|
|
803
|
+
return new Da(this._exit || this._groups.map(ni), this._parents);
|
|
804
804
|
}
|
|
805
805
|
//#endregion
|
|
806
806
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js
|
|
807
|
-
function
|
|
807
|
+
function fi(e, t, n) {
|
|
808
808
|
var r = this.enter(), i = this, a = this.exit();
|
|
809
809
|
return typeof e == "function" ? (r = e(r), r && (r = r.selection())) : r = r.append(e + ""), t != null && (i = t(i), i && (i = i.selection())), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
|
|
810
810
|
}
|
|
811
811
|
//#endregion
|
|
812
812
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js
|
|
813
|
-
function
|
|
813
|
+
function pi(e) {
|
|
814
814
|
for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
|
|
815
815
|
for (; c < i; ++c) s[c] = n[c];
|
|
816
|
-
return new
|
|
816
|
+
return new Da(s, this._parents);
|
|
817
817
|
}
|
|
818
818
|
//#endregion
|
|
819
819
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js
|
|
820
|
-
function
|
|
820
|
+
function mi() {
|
|
821
821
|
for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
|
|
822
822
|
return this;
|
|
823
823
|
}
|
|
824
824
|
//#endregion
|
|
825
825
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js
|
|
826
|
-
function
|
|
827
|
-
e || (e =
|
|
826
|
+
function hi(e) {
|
|
827
|
+
e || (e = gi);
|
|
828
828
|
function t(t, n) {
|
|
829
829
|
return t && n ? e(t.__data__, n.__data__) : !t - !n;
|
|
830
830
|
}
|
|
@@ -832,25 +832,25 @@ function gi(e) {
|
|
|
832
832
|
for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
|
|
833
833
|
c.sort(t);
|
|
834
834
|
}
|
|
835
|
-
return new
|
|
835
|
+
return new Da(i, this._parents).order();
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function gi(e, t) {
|
|
838
838
|
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
839
839
|
}
|
|
840
840
|
//#endregion
|
|
841
841
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js
|
|
842
|
-
function
|
|
842
|
+
function _i() {
|
|
843
843
|
var e = arguments[0];
|
|
844
844
|
return arguments[0] = this, e.apply(null, arguments), this;
|
|
845
845
|
}
|
|
846
846
|
//#endregion
|
|
847
847
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js
|
|
848
|
-
function
|
|
848
|
+
function vi() {
|
|
849
849
|
return Array.from(this);
|
|
850
850
|
}
|
|
851
851
|
//#endregion
|
|
852
852
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js
|
|
853
|
-
function
|
|
853
|
+
function yi() {
|
|
854
854
|
for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
|
|
855
855
|
var o = r[i];
|
|
856
856
|
if (o) return o;
|
|
@@ -859,126 +859,126 @@ function bi() {
|
|
|
859
859
|
}
|
|
860
860
|
//#endregion
|
|
861
861
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js
|
|
862
|
-
function
|
|
862
|
+
function bi() {
|
|
863
863
|
let e = 0;
|
|
864
864
|
for (let t of this) ++e;
|
|
865
865
|
return e;
|
|
866
866
|
}
|
|
867
867
|
//#endregion
|
|
868
868
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js
|
|
869
|
-
function
|
|
869
|
+
function xi() {
|
|
870
870
|
return !this.node();
|
|
871
871
|
}
|
|
872
872
|
//#endregion
|
|
873
873
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js
|
|
874
|
-
function
|
|
874
|
+
function Si(e) {
|
|
875
875
|
for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
|
|
876
876
|
return this;
|
|
877
877
|
}
|
|
878
878
|
//#endregion
|
|
879
879
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js
|
|
880
|
-
function
|
|
880
|
+
function Ci(e) {
|
|
881
881
|
return function() {
|
|
882
882
|
this.removeAttribute(e);
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function wi(e) {
|
|
886
886
|
return function() {
|
|
887
887
|
this.removeAttributeNS(e.space, e.local);
|
|
888
888
|
};
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Ti(e, t) {
|
|
891
891
|
return function() {
|
|
892
892
|
this.setAttribute(e, t);
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function Ei(e, t) {
|
|
896
896
|
return function() {
|
|
897
897
|
this.setAttributeNS(e.space, e.local, t);
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function Di(e, t) {
|
|
901
901
|
return function() {
|
|
902
902
|
var n = t.apply(this, arguments);
|
|
903
903
|
n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
|
|
904
904
|
};
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function Oi(e, t) {
|
|
907
907
|
return function() {
|
|
908
908
|
var n = t.apply(this, arguments);
|
|
909
909
|
n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
|
-
function
|
|
913
|
-
var n =
|
|
912
|
+
function ki(e, t) {
|
|
913
|
+
var n = Nr(e);
|
|
914
914
|
if (arguments.length < 2) {
|
|
915
915
|
var r = this.node();
|
|
916
916
|
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
|
917
917
|
}
|
|
918
|
-
return this.each((t == null ? n.local ?
|
|
918
|
+
return this.each((t == null ? n.local ? wi : Ci : typeof t == "function" ? n.local ? Oi : Di : n.local ? Ei : Ti)(n, t));
|
|
919
919
|
}
|
|
920
920
|
//#endregion
|
|
921
921
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js
|
|
922
|
-
function
|
|
922
|
+
function Ai(e) {
|
|
923
923
|
return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
|
|
924
924
|
}
|
|
925
925
|
//#endregion
|
|
926
926
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js
|
|
927
|
-
function
|
|
927
|
+
function ji(e) {
|
|
928
928
|
return function() {
|
|
929
929
|
this.style.removeProperty(e);
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function Mi(e, t, n) {
|
|
933
933
|
return function() {
|
|
934
934
|
this.style.setProperty(e, t, n);
|
|
935
935
|
};
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function Ni(e, t, n) {
|
|
938
938
|
return function() {
|
|
939
939
|
var r = t.apply(this, arguments);
|
|
940
940
|
r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
|
|
941
941
|
};
|
|
942
942
|
}
|
|
943
|
-
function
|
|
944
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
943
|
+
function Pi(e, t, n) {
|
|
944
|
+
return arguments.length > 1 ? this.each((t == null ? ji : typeof t == "function" ? Ni : Mi)(e, t, n == null ? "" : n)) : Fi(this.node(), e);
|
|
945
945
|
}
|
|
946
|
-
function
|
|
947
|
-
return e.style.getPropertyValue(t) ||
|
|
946
|
+
function Fi(e, t) {
|
|
947
|
+
return e.style.getPropertyValue(t) || Ai(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
948
948
|
}
|
|
949
949
|
//#endregion
|
|
950
950
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js
|
|
951
|
-
function
|
|
951
|
+
function Ii(e) {
|
|
952
952
|
return function() {
|
|
953
953
|
delete this[e];
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Li(e, t) {
|
|
957
957
|
return function() {
|
|
958
958
|
this[e] = t;
|
|
959
959
|
};
|
|
960
960
|
}
|
|
961
|
-
function
|
|
961
|
+
function Ri(e, t) {
|
|
962
962
|
return function() {
|
|
963
963
|
var n = t.apply(this, arguments);
|
|
964
964
|
n == null ? delete this[e] : this[e] = n;
|
|
965
965
|
};
|
|
966
966
|
}
|
|
967
|
-
function
|
|
968
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
967
|
+
function zi(e, t) {
|
|
968
|
+
return arguments.length > 1 ? this.each((t == null ? Ii : typeof t == "function" ? Ri : Li)(e, t)) : this.node()[e];
|
|
969
969
|
}
|
|
970
970
|
//#endregion
|
|
971
971
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js
|
|
972
|
-
function
|
|
972
|
+
function Bi(e) {
|
|
973
973
|
return e.trim().split(/^|\s+/);
|
|
974
974
|
}
|
|
975
|
-
function
|
|
976
|
-
return e.classList || new
|
|
975
|
+
function Vi(e) {
|
|
976
|
+
return e.classList || new Hi(e);
|
|
977
977
|
}
|
|
978
|
-
function
|
|
979
|
-
this._node = e, this._names =
|
|
978
|
+
function Hi(e) {
|
|
979
|
+
this._node = e, this._names = Bi(e.getAttribute("class") || "");
|
|
980
980
|
}
|
|
981
|
-
|
|
981
|
+
Hi.prototype = {
|
|
982
982
|
add: function(e) {
|
|
983
983
|
this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
984
984
|
},
|
|
@@ -990,143 +990,143 @@ Ui.prototype = {
|
|
|
990
990
|
return this._names.indexOf(e) >= 0;
|
|
991
991
|
}
|
|
992
992
|
};
|
|
993
|
+
function Ui(e, t) {
|
|
994
|
+
for (var n = Vi(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
995
|
+
}
|
|
993
996
|
function Wi(e, t) {
|
|
994
|
-
for (var n =
|
|
997
|
+
for (var n = Vi(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
|
|
995
998
|
}
|
|
996
|
-
function Gi(e
|
|
997
|
-
|
|
999
|
+
function Gi(e) {
|
|
1000
|
+
return function() {
|
|
1001
|
+
Ui(this, e);
|
|
1002
|
+
};
|
|
998
1003
|
}
|
|
999
1004
|
function Ki(e) {
|
|
1000
1005
|
return function() {
|
|
1001
1006
|
Wi(this, e);
|
|
1002
1007
|
};
|
|
1003
1008
|
}
|
|
1004
|
-
function qi(e) {
|
|
1009
|
+
function qi(e, t) {
|
|
1005
1010
|
return function() {
|
|
1006
|
-
|
|
1011
|
+
(t.apply(this, arguments) ? Ui : Wi)(this, e);
|
|
1007
1012
|
};
|
|
1008
1013
|
}
|
|
1009
1014
|
function Ji(e, t) {
|
|
1010
|
-
|
|
1011
|
-
(t.apply(this, arguments) ? Wi : Gi)(this, e);
|
|
1012
|
-
};
|
|
1013
|
-
}
|
|
1014
|
-
function Yi(e, t) {
|
|
1015
|
-
var n = Vi(e + "");
|
|
1015
|
+
var n = Bi(e + "");
|
|
1016
1016
|
if (arguments.length < 2) {
|
|
1017
|
-
for (var r =
|
|
1017
|
+
for (var r = Vi(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
|
|
1018
1018
|
return !0;
|
|
1019
1019
|
}
|
|
1020
|
-
return this.each((typeof t == "function" ?
|
|
1020
|
+
return this.each((typeof t == "function" ? qi : t ? Gi : Ki)(n, t));
|
|
1021
1021
|
}
|
|
1022
1022
|
//#endregion
|
|
1023
1023
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js
|
|
1024
|
-
function
|
|
1024
|
+
function Yi() {
|
|
1025
1025
|
this.textContent = "";
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Xi(e) {
|
|
1028
1028
|
return function() {
|
|
1029
1029
|
this.textContent = e;
|
|
1030
1030
|
};
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Zi(e) {
|
|
1033
1033
|
return function() {
|
|
1034
1034
|
var t = e.apply(this, arguments);
|
|
1035
1035
|
this.textContent = t == null ? "" : t;
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1039
|
-
return arguments.length ? this.each(e == null ?
|
|
1038
|
+
function Qi(e) {
|
|
1039
|
+
return arguments.length ? this.each(e == null ? Yi : (typeof e == "function" ? Zi : Xi)(e)) : this.node().textContent;
|
|
1040
1040
|
}
|
|
1041
1041
|
//#endregion
|
|
1042
1042
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js
|
|
1043
|
-
function
|
|
1043
|
+
function $i() {
|
|
1044
1044
|
this.innerHTML = "";
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function ea(e) {
|
|
1047
1047
|
return function() {
|
|
1048
1048
|
this.innerHTML = e;
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function ta(e) {
|
|
1052
1052
|
return function() {
|
|
1053
1053
|
var t = e.apply(this, arguments);
|
|
1054
1054
|
this.innerHTML = t == null ? "" : t;
|
|
1055
1055
|
};
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1058
|
-
return arguments.length ? this.each(e == null ?
|
|
1057
|
+
function na(e) {
|
|
1058
|
+
return arguments.length ? this.each(e == null ? $i : (typeof e == "function" ? ta : ea)(e)) : this.node().innerHTML;
|
|
1059
1059
|
}
|
|
1060
1060
|
//#endregion
|
|
1061
1061
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js
|
|
1062
|
-
function
|
|
1062
|
+
function ra() {
|
|
1063
1063
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return this.each(
|
|
1065
|
+
function ia() {
|
|
1066
|
+
return this.each(ra);
|
|
1067
1067
|
}
|
|
1068
1068
|
//#endregion
|
|
1069
1069
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js
|
|
1070
|
-
function
|
|
1070
|
+
function aa() {
|
|
1071
1071
|
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1074
|
-
return this.each(
|
|
1073
|
+
function oa() {
|
|
1074
|
+
return this.each(aa);
|
|
1075
1075
|
}
|
|
1076
1076
|
//#endregion
|
|
1077
1077
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js
|
|
1078
|
-
function
|
|
1079
|
-
var t = typeof e == "function" ? e :
|
|
1078
|
+
function sa(e) {
|
|
1079
|
+
var t = typeof e == "function" ? e : Ir(e);
|
|
1080
1080
|
return this.select(function() {
|
|
1081
1081
|
return this.appendChild(t.apply(this, arguments));
|
|
1082
1082
|
});
|
|
1083
1083
|
}
|
|
1084
1084
|
//#endregion
|
|
1085
1085
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js
|
|
1086
|
-
function
|
|
1086
|
+
function ca() {
|
|
1087
1087
|
return null;
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1090
|
-
var n = typeof e == "function" ? e :
|
|
1089
|
+
function la(e, t) {
|
|
1090
|
+
var n = typeof e == "function" ? e : Ir(e), r = t == null ? ca : typeof t == "function" ? t : Rr(t);
|
|
1091
1091
|
return this.select(function() {
|
|
1092
1092
|
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
1095
|
//#endregion
|
|
1096
1096
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js
|
|
1097
|
-
function
|
|
1097
|
+
function ua() {
|
|
1098
1098
|
var e = this.parentNode;
|
|
1099
1099
|
e && e.removeChild(this);
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return this.each(
|
|
1101
|
+
function da() {
|
|
1102
|
+
return this.each(ua);
|
|
1103
1103
|
}
|
|
1104
1104
|
//#endregion
|
|
1105
1105
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js
|
|
1106
|
-
function
|
|
1106
|
+
function fa() {
|
|
1107
1107
|
var e = this.cloneNode(!1), t = this.parentNode;
|
|
1108
1108
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function pa() {
|
|
1111
1111
|
var e = this.cloneNode(!0), t = this.parentNode;
|
|
1112
1112
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1115
|
-
return this.select(e ?
|
|
1114
|
+
function ma(e) {
|
|
1115
|
+
return this.select(e ? pa : fa);
|
|
1116
1116
|
}
|
|
1117
1117
|
//#endregion
|
|
1118
1118
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js
|
|
1119
|
-
function
|
|
1119
|
+
function ha(e) {
|
|
1120
1120
|
return arguments.length ? this.property("__data__", e) : this.node().__data__;
|
|
1121
1121
|
}
|
|
1122
1122
|
//#endregion
|
|
1123
1123
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js
|
|
1124
|
-
function
|
|
1124
|
+
function ga(e) {
|
|
1125
1125
|
return function(t) {
|
|
1126
1126
|
e.call(this, t, this.__data__);
|
|
1127
1127
|
};
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function _a(e) {
|
|
1130
1130
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
1131
1131
|
var t = "", n = e.indexOf(".");
|
|
1132
1132
|
return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
|
|
@@ -1135,7 +1135,7 @@ function va(e) {
|
|
|
1135
1135
|
};
|
|
1136
1136
|
});
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function va(e) {
|
|
1139
1139
|
return function() {
|
|
1140
1140
|
var t = this.__on;
|
|
1141
1141
|
if (t) {
|
|
@@ -1144,9 +1144,9 @@ function ya(e) {
|
|
|
1144
1144
|
}
|
|
1145
1145
|
};
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1147
|
+
function ya(e, t, n) {
|
|
1148
1148
|
return function() {
|
|
1149
|
-
var r = this.__on, i, a =
|
|
1149
|
+
var r = this.__on, i, a = ga(t);
|
|
1150
1150
|
if (r) {
|
|
1151
1151
|
for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
|
|
1152
1152
|
this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
|
|
@@ -1162,8 +1162,8 @@ function ba(e, t, n) {
|
|
|
1162
1162
|
}, r ? r.push(i) : this.__on = [i];
|
|
1163
1163
|
};
|
|
1164
1164
|
}
|
|
1165
|
-
function
|
|
1166
|
-
var r =
|
|
1165
|
+
function ba(e, t, n) {
|
|
1166
|
+
var r = _a(e + ""), i, a = r.length, o;
|
|
1167
1167
|
if (arguments.length < 2) {
|
|
1168
1168
|
var s = this.node().__on;
|
|
1169
1169
|
if (s) {
|
|
@@ -1171,91 +1171,91 @@ function xa(e, t, n) {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
return;
|
|
1173
1173
|
}
|
|
1174
|
-
for (s = t ?
|
|
1174
|
+
for (s = t ? ya : va, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
1175
1175
|
return this;
|
|
1176
1176
|
}
|
|
1177
1177
|
//#endregion
|
|
1178
1178
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js
|
|
1179
|
-
function
|
|
1180
|
-
var r =
|
|
1179
|
+
function xa(e, t, n) {
|
|
1180
|
+
var r = Ai(e), i = r.CustomEvent;
|
|
1181
1181
|
typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function Sa(e, t) {
|
|
1184
1184
|
return function() {
|
|
1185
|
-
return
|
|
1185
|
+
return xa(this, e, t);
|
|
1186
1186
|
};
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Ca(e, t) {
|
|
1189
1189
|
return function() {
|
|
1190
|
-
return
|
|
1190
|
+
return xa(this, e, t.apply(this, arguments));
|
|
1191
1191
|
};
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1194
|
-
return this.each((typeof t == "function" ?
|
|
1193
|
+
function wa(e, t) {
|
|
1194
|
+
return this.each((typeof t == "function" ? Ca : Sa)(e, t));
|
|
1195
1195
|
}
|
|
1196
1196
|
//#endregion
|
|
1197
1197
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js
|
|
1198
|
-
function*
|
|
1198
|
+
function* Ta() {
|
|
1199
1199
|
for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
|
|
1200
1200
|
}
|
|
1201
1201
|
//#endregion
|
|
1202
1202
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js
|
|
1203
|
-
var
|
|
1204
|
-
function
|
|
1203
|
+
var Ea = [null];
|
|
1204
|
+
function Da(e, t) {
|
|
1205
1205
|
this._groups = e, this._parents = t;
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1208
|
-
return new
|
|
1207
|
+
function Oa() {
|
|
1208
|
+
return new Da([[document.documentElement]], Ea);
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function ka() {
|
|
1211
1211
|
return this;
|
|
1212
1212
|
}
|
|
1213
|
-
|
|
1214
|
-
constructor:
|
|
1215
|
-
select:
|
|
1216
|
-
selectAll:
|
|
1217
|
-
selectChild:
|
|
1218
|
-
selectChildren:
|
|
1219
|
-
filter:
|
|
1220
|
-
data:
|
|
1221
|
-
enter:
|
|
1222
|
-
exit:
|
|
1223
|
-
join:
|
|
1224
|
-
merge:
|
|
1225
|
-
selection:
|
|
1226
|
-
order:
|
|
1227
|
-
sort:
|
|
1228
|
-
call:
|
|
1229
|
-
nodes:
|
|
1230
|
-
node:
|
|
1231
|
-
size:
|
|
1232
|
-
empty:
|
|
1233
|
-
each:
|
|
1234
|
-
attr:
|
|
1235
|
-
style:
|
|
1236
|
-
property:
|
|
1237
|
-
classed:
|
|
1238
|
-
text:
|
|
1239
|
-
html:
|
|
1240
|
-
raise:
|
|
1241
|
-
lower:
|
|
1242
|
-
append:
|
|
1243
|
-
insert:
|
|
1244
|
-
remove:
|
|
1245
|
-
clone:
|
|
1246
|
-
datum:
|
|
1247
|
-
on:
|
|
1248
|
-
dispatch:
|
|
1249
|
-
[Symbol.iterator]:
|
|
1213
|
+
Da.prototype = Oa.prototype = {
|
|
1214
|
+
constructor: Da,
|
|
1215
|
+
select: zr,
|
|
1216
|
+
selectAll: Wr,
|
|
1217
|
+
selectChild: Xr,
|
|
1218
|
+
selectChildren: ei,
|
|
1219
|
+
filter: ti,
|
|
1220
|
+
data: li,
|
|
1221
|
+
enter: ri,
|
|
1222
|
+
exit: di,
|
|
1223
|
+
join: fi,
|
|
1224
|
+
merge: pi,
|
|
1225
|
+
selection: ka,
|
|
1226
|
+
order: mi,
|
|
1227
|
+
sort: hi,
|
|
1228
|
+
call: _i,
|
|
1229
|
+
nodes: vi,
|
|
1230
|
+
node: yi,
|
|
1231
|
+
size: bi,
|
|
1232
|
+
empty: xi,
|
|
1233
|
+
each: Si,
|
|
1234
|
+
attr: ki,
|
|
1235
|
+
style: Pi,
|
|
1236
|
+
property: zi,
|
|
1237
|
+
classed: Ji,
|
|
1238
|
+
text: Qi,
|
|
1239
|
+
html: na,
|
|
1240
|
+
raise: ia,
|
|
1241
|
+
lower: oa,
|
|
1242
|
+
append: sa,
|
|
1243
|
+
insert: la,
|
|
1244
|
+
remove: da,
|
|
1245
|
+
clone: ma,
|
|
1246
|
+
datum: ha,
|
|
1247
|
+
on: ba,
|
|
1248
|
+
dispatch: wa,
|
|
1249
|
+
[Symbol.iterator]: Ta
|
|
1250
1250
|
};
|
|
1251
1251
|
//#endregion
|
|
1252
1252
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js
|
|
1253
|
-
function
|
|
1254
|
-
return typeof e == "string" ? new
|
|
1253
|
+
function Aa(e) {
|
|
1254
|
+
return typeof e == "string" ? new Da([[document.querySelector(e)]], [document.documentElement]) : new Da([[e]], Ea);
|
|
1255
1255
|
}
|
|
1256
1256
|
//#endregion
|
|
1257
1257
|
//#region src/utils/extractMetaFromString.ts
|
|
1258
|
-
function
|
|
1258
|
+
function ja(e) {
|
|
1259
1259
|
let t = e.split("$$");
|
|
1260
1260
|
if (t.length !== 2) return {
|
|
1261
1261
|
text: e,
|
|
@@ -1276,35 +1276,35 @@ function Ma(e) {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
//#endregion
|
|
1278
1278
|
//#region src/data/svg.ts
|
|
1279
|
-
var
|
|
1280
|
-
function
|
|
1279
|
+
var Ma = Cn();
|
|
1280
|
+
function Na(e, t = "") {
|
|
1281
1281
|
var n;
|
|
1282
|
-
let r =
|
|
1282
|
+
let r = Ma().get(t);
|
|
1283
1283
|
if (r) return r;
|
|
1284
1284
|
let i = new DOMParser().parseFromString(e, "image/svg+xml").documentElement;
|
|
1285
1285
|
((n = i.firstChild) == null ? void 0 : n.tagName) === "parsererror" && w.error("Parsed svg with error: ", i);
|
|
1286
1286
|
let a = /* @__PURE__ */ new Map();
|
|
1287
|
-
return
|
|
1287
|
+
return Aa(i).selectAll("style").each(function() {
|
|
1288
1288
|
var e;
|
|
1289
1289
|
let t = (e = this.textContent) == null ? "" : e, n = /\.([a-z0-9.]+)\s*{[^}]*fill\s*:\s*([^};]+);[^}]*}/gi, r;
|
|
1290
1290
|
for (; (r = n.exec(t)) !== null;) {
|
|
1291
1291
|
let e = r[1], t = r[2];
|
|
1292
1292
|
a.set(e, t);
|
|
1293
1293
|
}
|
|
1294
|
-
}),
|
|
1294
|
+
}), Aa(i).selectAll("*[class]").each(function() {
|
|
1295
1295
|
let e = a.get(this.className.baseVal);
|
|
1296
1296
|
e !== void 0 && (this.style.fill = e);
|
|
1297
|
-
}),
|
|
1297
|
+
}), Ha(i), Ma().set(t, i), i;
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function Pa() {
|
|
1300
1300
|
var e;
|
|
1301
|
-
let t =
|
|
1302
|
-
n ? (o = new
|
|
1303
|
-
let c =
|
|
1301
|
+
let t = Na((e = kr()) == null ? "" : e), n = Dr().__viewbox, r = Aa(t).select("rect#VIEWBOX").node(), i = t.viewBox.baseVal, a = new B(i.x, i.y, i.width, i.height), o, s = !1;
|
|
1302
|
+
n ? (o = new B(n.x, n.y, n.width, n.height), s = !0, r == null || r.remove()) : r ? (o = B.fromSvg(r), s = !0, r.remove()) : o = a.scale(1.1), Aa(t).attr("width", a.size.width), Aa(t).attr("height", a.size.height), w.log("svgArea", o, "svgViewBox", a);
|
|
1303
|
+
let c = Dr().__fpLayersMode ? Aa(t).selectAll("[data-floor]").nodes().map((e) => {
|
|
1304
1304
|
var t;
|
|
1305
1305
|
return e.remove(), {
|
|
1306
1306
|
name: (t = e.dataset.floor) == null ? "" : t,
|
|
1307
|
-
rect:
|
|
1307
|
+
rect: B.fromSvg(e)
|
|
1308
1308
|
};
|
|
1309
1309
|
}).sort() : [];
|
|
1310
1310
|
return {
|
|
@@ -1313,18 +1313,18 @@ function Fa() {
|
|
|
1313
1313
|
floors: c
|
|
1314
1314
|
};
|
|
1315
1315
|
}
|
|
1316
|
-
var
|
|
1316
|
+
var Fa = Sn(Pa);
|
|
1317
|
+
function Ia() {
|
|
1318
|
+
return Fa().area;
|
|
1319
|
+
}
|
|
1317
1320
|
function La() {
|
|
1318
|
-
return
|
|
1321
|
+
return Fa().areaExplicit;
|
|
1319
1322
|
}
|
|
1320
1323
|
function Ra() {
|
|
1321
|
-
return
|
|
1322
|
-
}
|
|
1323
|
-
function za() {
|
|
1324
|
-
return Ia().floors;
|
|
1324
|
+
return Fa().floors;
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1327
|
-
let n =
|
|
1326
|
+
function za(e, t) {
|
|
1327
|
+
let n = Ba(e, t), r = n.positions.map((e) => [e[0], Math.abs(e[1])]), i = [];
|
|
1328
1328
|
for (let e of n.cells) i.push([
|
|
1329
1329
|
r[e[0]],
|
|
1330
1330
|
r[e[1]],
|
|
@@ -1332,25 +1332,25 @@ function Ba(e, t) {
|
|
|
1332
1332
|
]);
|
|
1333
1333
|
return i;
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function Ba(e, t = "") {
|
|
1336
1336
|
var n;
|
|
1337
|
-
let r = (n =
|
|
1337
|
+
let r = (n = Ar(t)) == null ? Ar() : n;
|
|
1338
1338
|
if (!r) throw Error(`No meshes for layer "${t}"`);
|
|
1339
1339
|
return r[e];
|
|
1340
1340
|
}
|
|
1341
|
-
function
|
|
1341
|
+
function Va(e = "") {
|
|
1342
1342
|
var t, n;
|
|
1343
|
-
|
|
1344
|
-
let r = typeof e == "string" ? e : (t = (n = e.rootParent) == null ? void 0 : n.name) == null ? e.name : t, i =
|
|
1343
|
+
Fa();
|
|
1344
|
+
let r = typeof e == "string" ? e : (t = (n = e.rootParent) == null ? void 0 : n.name) == null ? e.name : t, i = Ma().get(r);
|
|
1345
1345
|
if (i) return i;
|
|
1346
|
-
let a =
|
|
1347
|
-
return a ?
|
|
1346
|
+
let a = kr(r);
|
|
1347
|
+
return a ? Na(a, r) : Ma().get("");
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1350
|
-
|
|
1349
|
+
function Ha(e) {
|
|
1350
|
+
Aa(e).selectAll("[id], [data-name]").each(function() {
|
|
1351
1351
|
let e = {}, t = this.getAttribute("data-name");
|
|
1352
1352
|
if (t && t.includes("$$")) {
|
|
1353
|
-
let { meta: n } =
|
|
1353
|
+
let { meta: n } = ja(t);
|
|
1354
1354
|
e = {
|
|
1355
1355
|
...e,
|
|
1356
1356
|
...n
|
|
@@ -1358,7 +1358,7 @@ function Ua(e) {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
let n = this.getAttribute("id");
|
|
1360
1360
|
if (n && n.includes("$$")) {
|
|
1361
|
-
let { meta: t } =
|
|
1361
|
+
let { meta: t } = ja(n);
|
|
1362
1362
|
e = {
|
|
1363
1363
|
...e,
|
|
1364
1364
|
...t
|
|
@@ -1369,7 +1369,7 @@ function Ua(e) {
|
|
|
1369
1369
|
}
|
|
1370
1370
|
//#endregion
|
|
1371
1371
|
//#region src/tools/settings.ts
|
|
1372
|
-
var
|
|
1372
|
+
var Ua = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
1373
1373
|
var n = function(e) {
|
|
1374
1374
|
return r(e) && !i(e);
|
|
1375
1375
|
};
|
|
@@ -1437,7 +1437,7 @@ var Wa = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
1437
1437
|
return g(e, n, t);
|
|
1438
1438
|
}, {});
|
|
1439
1439
|
}, t.exports = g;
|
|
1440
|
-
})))(), 1),
|
|
1440
|
+
})))(), 1), Wa = class {
|
|
1441
1441
|
constructor() {
|
|
1442
1442
|
this.boothLabelColor = "#fff", this.boothBorderColor = "#fff", this.backgroundColor = "#ebebeb", this.boothBorderWidth = void 0, this.heatmapColors = [
|
|
1443
1443
|
"#FDE7C7",
|
|
@@ -1451,7 +1451,7 @@ var Wa = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
1451
1451
|
"#6C0022"
|
|
1452
1452
|
], this.maxZoom = void 0;
|
|
1453
1453
|
}
|
|
1454
|
-
},
|
|
1454
|
+
}, Ga = class extends Wa {
|
|
1455
1455
|
constructor(...e) {
|
|
1456
1456
|
super(...e), this.EXPO = c().expo, this.borderless = !1, this.wayfinding = !1, this.colors = { booths: {
|
|
1457
1457
|
default: "#41b6e7",
|
|
@@ -1468,18 +1468,18 @@ var Wa = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
|
1468
1468
|
} };
|
|
1469
1469
|
}
|
|
1470
1470
|
};
|
|
1471
|
-
function
|
|
1471
|
+
function Ka() {
|
|
1472
1472
|
var e;
|
|
1473
|
-
let t = new
|
|
1473
|
+
let t = new Ga();
|
|
1474
1474
|
t.EXPO.startsWith("sxsw2024") ? (t.colors.booths.selected = "#FF6400", t.colors.booths.seectedLight = "#808080") : t.EXPO === "whxdubai2026" ? (t.colors.booths.selected = "#2B66FE", t.maxZoom = 450) : t.EXPO === "whxlabs2026" ? t.colors.booths.selected = "#2B66FE" : (t.EXPO === "wineparis2026" || t.EXPO === "rdemo2025") && (t.maxZoom = 450);
|
|
1475
|
-
let n = window.__settings, r = (e =
|
|
1476
|
-
return t = (0,
|
|
1475
|
+
let n = window.__settings, r = (e = Dr().__fpSettings) == null ? {} : e;
|
|
1476
|
+
return t = (0, Ua.default)(t, n == null ? r : n), t = (0, Ua.default)(t, r), t.wayfinding = !!(!c().hideDirections && jr()), t;
|
|
1477
1477
|
}
|
|
1478
|
-
var
|
|
1478
|
+
var qa = yn("settings", Sn(Ka));
|
|
1479
1479
|
//#endregion
|
|
1480
1480
|
//#region src/utils/areLayersEnabled.ts
|
|
1481
1481
|
function Ja() {
|
|
1482
|
-
return !!
|
|
1482
|
+
return !!Dr().__fpLayers;
|
|
1483
1483
|
}
|
|
1484
1484
|
//#endregion
|
|
1485
1485
|
//#region src/components/Map/drawing/config/pin-geometry.ts
|
|
@@ -4052,7 +4052,7 @@ function Qo(e, t) {
|
|
|
4052
4052
|
...e.max,
|
|
4053
4053
|
z: 0
|
|
4054
4054
|
});
|
|
4055
|
-
return
|
|
4055
|
+
return B.fromMinMax(n, r);
|
|
4056
4056
|
}
|
|
4057
4057
|
var $o = {
|
|
4058
4058
|
x: 0,
|
|
@@ -6999,7 +6999,7 @@ var Ed = {
|
|
|
6999
6999
|
}, {
|
|
7000
7000
|
x: 0,
|
|
7001
7001
|
y: 0
|
|
7002
|
-
}), jd = new
|
|
7002
|
+
}), jd = new B();
|
|
7003
7003
|
//#endregion
|
|
7004
7004
|
//#region ../renderer/src/events/placement/grid.ts
|
|
7005
7005
|
function Md(e, t) {
|
|
@@ -7982,12 +7982,12 @@ var Pp = !1;
|
|
|
7982
7982
|
//#endregion
|
|
7983
7983
|
//#region ../renderer/src/debug/debug-chunk.ts
|
|
7984
7984
|
function Fp() {
|
|
7985
|
-
return Lp != null || (Lp = import("./DebugTools-
|
|
7985
|
+
return Lp != null || (Lp = import("./DebugTools-mVrHvXI6.js")), Lp;
|
|
7986
7986
|
}
|
|
7987
7987
|
async function Ip() {
|
|
7988
7988
|
await Fp();
|
|
7989
7989
|
}
|
|
7990
|
-
var Lp, Rp = (0, V.lazy)(() => import("./DebugTools-
|
|
7990
|
+
var Lp, Rp = (0, V.lazy)(() => import("./DebugTools-mVrHvXI6.js").then((e) => ({ default: e.DebugTools })));
|
|
7991
7991
|
function zp(e) {
|
|
7992
7992
|
let t = (0, Y.c)(7), n, r, i;
|
|
7993
7993
|
t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({debugEnabled: i, children: r, ...n} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i), i && (0, V.use)(Fp());
|
|
@@ -10110,7 +10110,7 @@ function Uv(e) {
|
|
|
10110
10110
|
//#endregion
|
|
10111
10111
|
//#region ../renderer/src/objects/containers/mesh-writes.ts
|
|
10112
10112
|
function Wv(e) {
|
|
10113
|
-
if (!
|
|
10113
|
+
if (!vr(e) && !yr(e)) return Xv.makeTranslation(0, 0, "elevation" in e ? e.elevation : 0);
|
|
10114
10114
|
let t = "elevation" in e ? e.elevation : 0, n = "rotation" in e ? e.rotation : 0;
|
|
10115
10115
|
return qv.set(e.center.x, e.center.y, t), Jv.setFromAxisAngle(ty, n), Yv.set(e.size.x, e.size.y, 1), Xv.compose(qv, Jv, Yv);
|
|
10116
10116
|
}
|
|
@@ -13709,7 +13709,7 @@ var AC = gt(class extends oe {
|
|
|
13709
13709
|
function jC(e, t) {
|
|
13710
13710
|
var n, r, i;
|
|
13711
13711
|
let a = t ? "solid" : "planar";
|
|
13712
|
-
if (
|
|
13712
|
+
if (vr(e) || yr(e)) return (n = FC[a]) == null ? FC[a] = MC(t) : n;
|
|
13713
13713
|
let o = PC.get(e);
|
|
13714
13714
|
return o || (o = {}, PC.set(e, o)), (i = (r = o)[a]) == null ? r[a] = NC(e, t) : i;
|
|
13715
13715
|
}
|
|
@@ -13729,7 +13729,7 @@ var PC = /* @__PURE__ */ new WeakMap(), FC = {}, IC = Math.PI / 6, LC = [
|
|
|
13729
13729
|
"translucent"
|
|
13730
13730
|
];
|
|
13731
13731
|
function RC(e) {
|
|
13732
|
-
return !
|
|
13732
|
+
return !xr(e.shape) || e.shape.isPlanar ? "planar" : Uv(e.color) ? "translucent" : "solid";
|
|
13733
13733
|
}
|
|
13734
13734
|
var zC = class extends ny {
|
|
13735
13735
|
constructor(e, t = "planar") {
|
|
@@ -19785,8 +19785,8 @@ var Sk = (fk = E({ keepAlive: !0 }), pk = E({ keepAlive: !0 }), mk = E({ keepAli
|
|
|
19785
19785
|
return new Map(this.booths.map((e) => [e.slug, e]));
|
|
19786
19786
|
}
|
|
19787
19787
|
get borderWidth() {
|
|
19788
|
-
if (
|
|
19789
|
-
if (
|
|
19788
|
+
if (qa.boothBorderWidth) return qa.boothBorderWidth;
|
|
19789
|
+
if (qa.EXPO === "groomexpo") return .4;
|
|
19790
19790
|
let e = this.booths.filter((e) => e.rect).map((e) => e.rect.size.width + e.rect.size.height);
|
|
19791
19791
|
return e.reduce((e, t) => e + t, 0) / e.length / 80;
|
|
19792
19792
|
}
|
|
@@ -19892,7 +19892,7 @@ function Ok() {
|
|
|
19892
19892
|
//#endregion
|
|
19893
19893
|
//#region src/engine/defs.ts
|
|
19894
19894
|
function kk(e, t) {
|
|
19895
|
-
return jk(
|
|
19895
|
+
return jk(B.fromSvg(e), t);
|
|
19896
19896
|
}
|
|
19897
19897
|
function Ak(e, t) {
|
|
19898
19898
|
if (!e) throw Error("Create ShapeDef: mesh is not provided");
|
|
@@ -19907,7 +19907,7 @@ function Ak(e, t) {
|
|
|
19907
19907
|
return jk(new Rn(n, r), t);
|
|
19908
19908
|
}
|
|
19909
19909
|
function jk(e, t = "#000") {
|
|
19910
|
-
if (!e || !(
|
|
19910
|
+
if (!e || !(vr(e) || yr(e) || br(e) || xr(e))) throw Error("Invalid shape definition");
|
|
19911
19911
|
return {
|
|
19912
19912
|
shape: e,
|
|
19913
19913
|
color: t
|
|
@@ -19954,7 +19954,7 @@ function Fk(e, t, n) {
|
|
|
19954
19954
|
};
|
|
19955
19955
|
}
|
|
19956
19956
|
function Ik(e, t, n) {
|
|
19957
|
-
let r = t instanceof
|
|
19957
|
+
let r = t instanceof B ? t : B.fromSvg(t);
|
|
19958
19958
|
return {
|
|
19959
19959
|
rootLayer: Fk("root", e),
|
|
19960
19960
|
background: n,
|
|
@@ -20080,7 +20080,7 @@ function nA(e) {
|
|
|
20080
20080
|
//#region src/utils/entity-storage.ts
|
|
20081
20081
|
var rA = Cn();
|
|
20082
20082
|
function iA(e) {
|
|
20083
|
-
return `${
|
|
20083
|
+
return `${qa.EXPO}-${e}`;
|
|
20084
20084
|
}
|
|
20085
20085
|
function aA(e) {
|
|
20086
20086
|
return e;
|
|
@@ -20167,9 +20167,9 @@ var pA = /* @__PURE__ */ e(Vo(), 1), mA = Cn();
|
|
|
20167
20167
|
function hA(e) {
|
|
20168
20168
|
mA().clear();
|
|
20169
20169
|
let t = [];
|
|
20170
|
-
for (let r of
|
|
20170
|
+
for (let r of Er.booths || []) {
|
|
20171
20171
|
var n;
|
|
20172
|
-
let { text: i, meta: a } =
|
|
20172
|
+
let { text: i, meta: a } = ja(r.name), o = r.special ? new Tk() : new wk();
|
|
20173
20173
|
Object.assign(o, r), o.meta = a, o.slug = Wk(o.name), mA().set(o.name.toLowerCase(), o), vA(o);
|
|
20174
20174
|
let s = o;
|
|
20175
20175
|
s.exhibitors = [];
|
|
@@ -20202,7 +20202,7 @@ function gA(e) {
|
|
|
20202
20202
|
});
|
|
20203
20203
|
}
|
|
20204
20204
|
function _A(e, t) {
|
|
20205
|
-
let n = t.name, { boothStore: r, layerStore: i } = e, a = [], o = Ja(), s =
|
|
20205
|
+
let n = t.name, { boothStore: r, layerStore: i } = e, a = [], o = Ja(), s = Aa(Va(t)).selectAll(`[data-layer='${n}'] > [data-tagname='efp-booth'], [data-layer='${n}'] > g[id^=b], [data-layer='${n}'] > rect[id^=b]`).nodes();
|
|
20206
20206
|
for (let t of s) {
|
|
20207
20207
|
var c;
|
|
20208
20208
|
let s = t.closest("svg > [data-layer]").getAttribute("data-layer");
|
|
@@ -20215,12 +20215,12 @@ function _A(e, t) {
|
|
|
20215
20215
|
continue;
|
|
20216
20216
|
}
|
|
20217
20217
|
let h = m.substring(1).toLowerCase(), g = mA().get(h), _ = g instanceof wk ? g : null, v = g instanceof Tk ? g : null;
|
|
20218
|
-
if (g ? a.push(g) : (w.error("SVG booth rect not found in the event data:", h), g = _ = new wk(), g.id = Vk(), g.name = h.toUpperCase(), g.slug = Wk(h), g.error = !0, g.exhibitors = [], mA().set(h, g), a.push(g)), g.layer = o ? i.layers.find((e) => e.name === s) : null, g.borderColor = (f == null ? void 0 : f.getAttribute("stroke")) || (f == null ? void 0 : f.style.stroke) ||
|
|
20218
|
+
if (g ? a.push(g) : (w.error("SVG booth rect not found in the event data:", h), g = _ = new wk(), g.id = Vk(), g.name = h.toUpperCase(), g.slug = Wk(h), g.error = !0, g.exhibitors = [], mA().set(h, g), a.push(g)), g.layer = o ? i.layers.find((e) => e.name === s) : null, g.borderColor = (f == null ? void 0 : f.getAttribute("stroke")) || (f == null ? void 0 : f.style.stroke) || qa.boothBorderColor || "#FFFFFF", g.borderWidth = parseFloat((f == null ? void 0 : f.getAttribute("stroke-width")) || (f == null ? void 0 : f.style.strokeWidth)), isNaN(g.borderWidth) && (g.borderWidth = r.borderWidth), !z.heatmap) g.labelColor = f == null ? void 0 : f.getAttribute("data-label-color");
|
|
20219
20219
|
else {
|
|
20220
20220
|
let t = e.heatmapStore.getTotalClicksByBooth(g), n = (0, pA.default)(e.heatmapStore.getColorByClicks(t));
|
|
20221
20221
|
g.labelColor = n.darken(.3).isLight() ? "#555" : "#fff";
|
|
20222
20222
|
}
|
|
20223
|
-
if (g.rect = f ?
|
|
20223
|
+
if (g.rect = f ? B.fromSvg(f) : null, g.elevation = parseFloat((c = f == null ? void 0 : f.dataset.elev) == null ? "" : c) || 0, g.noLabels = !!(f != null && f.dataset.nolabel) || (f == null ? void 0 : f.id.startsWith("no")), _) _.availColor = t.getAttribute("data-avail-color") || (f == null ? void 0 : f.getAttribute("data-avail-color")) || _.availColor, _.soldColor = t.getAttribute("data-sold-color") || (f == null ? void 0 : f.getAttribute("data-sold-color")) || _.soldColor, _.holdColor = t.getAttribute("data-hold-color") || (f == null ? void 0 : f.getAttribute("data-hold-color")) || _.holdColor, _.size = Er.dimensionless ? null : _.size || t.getAttribute("data-size"), _.status === "reserved" ? _.reserved = !0 : _.status === "onhold" && (_.onHold = !0);
|
|
20224
20224
|
else if (v) {
|
|
20225
20225
|
var l, u;
|
|
20226
20226
|
v.color = (parseInt((l = f.getAttribute("data-poi-type")) == null ? "" : l) > 0 ? (u = f.style) == null ? void 0 : u.fill : t.getAttribute("data-color") || f.getAttribute("data-color")) || v.color;
|
|
@@ -20244,13 +20244,13 @@ function _A(e, t) {
|
|
|
20244
20244
|
if (Math.abs(Tn(g.rotate)) > 180) {
|
|
20245
20245
|
g.rotate += wn(90);
|
|
20246
20246
|
let e = g.rect;
|
|
20247
|
-
g.rect = new
|
|
20247
|
+
g.rect = new B(e.center.x - e.size.height / 2, e.center.y - e.size.width / 2, e.size.height, e.size.width);
|
|
20248
20248
|
}
|
|
20249
20249
|
}
|
|
20250
20250
|
if (t.tagName === "g") {
|
|
20251
20251
|
g.paths = [], g.pathsWithRect = p;
|
|
20252
20252
|
let e = [];
|
|
20253
|
-
for (let r of
|
|
20253
|
+
for (let r of Aa(t).selectAll("path, rect").nodes()) if (r.tagName === "path") {
|
|
20254
20254
|
var d;
|
|
20255
20255
|
let t = r;
|
|
20256
20256
|
if (t.tagName !== "path") continue;
|
|
@@ -20259,14 +20259,14 @@ function _A(e, t) {
|
|
|
20259
20259
|
index: i,
|
|
20260
20260
|
color: t.style.fill,
|
|
20261
20261
|
unblinking: a
|
|
20262
|
-
}), f || e.push(...
|
|
20262
|
+
}), f || e.push(...za(i, n));
|
|
20263
20263
|
}
|
|
20264
20264
|
if (e.length) {
|
|
20265
20265
|
let t = e.flatMap((e) => e.map((e) => ({
|
|
20266
20266
|
x: e[0],
|
|
20267
20267
|
y: e[1]
|
|
20268
20268
|
})));
|
|
20269
|
-
g.rect =
|
|
20269
|
+
g.rect = B.fromPoints(t), g.noLabels = !0;
|
|
20270
20270
|
}
|
|
20271
20271
|
}
|
|
20272
20272
|
}
|
|
@@ -20275,7 +20275,7 @@ function _A(e, t) {
|
|
|
20275
20275
|
return f;
|
|
20276
20276
|
}
|
|
20277
20277
|
function vA(e) {
|
|
20278
|
-
|
|
20278
|
+
qa.EXPO === "cbresupplypartner" && e instanceof wk && !e.availColor && e.type && (e.type.indexOf("Premium A - 2m height restriction Passport") === -1 ? e.type.indexOf("No free-standing") === -1 ? e.type.endsWith("Passport") ? e.availColor = "#939393" : e.type.startsWith("Premium A - 2m") ? e.availColor = "#FF9E4E" : e.type.startsWith("Premium A - 4m") ? e.availColor = "#EA4335" : e.type.startsWith("Premium B - 2m") ? e.availColor = "#523BC0" : e.type.startsWith("Premium C - 2.4m") && (e.availColor = "#3ECC78") : e.availColor = "#BA3DC8" : e.availColor = "#939393");
|
|
20279
20279
|
}
|
|
20280
20280
|
//#endregion
|
|
20281
20281
|
//#region ../../node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.js
|
|
@@ -21030,7 +21030,7 @@ function _M(e, t, n) {
|
|
|
21030
21030
|
};
|
|
21031
21031
|
}
|
|
21032
21032
|
function vM(e, t) {
|
|
21033
|
-
var n =
|
|
21033
|
+
var n = Nr(e), r = n === "transform" ? Aj : dM;
|
|
21034
21034
|
return this.attrTween(e, typeof t == "function" ? (n.local ? _M : gM)(n, r, uM(this, "attr." + e, t)) : t == null ? (n.local ? pM : fM)(n) : (n.local ? hM : mM)(n, r, t));
|
|
21035
21035
|
}
|
|
21036
21036
|
//#endregion
|
|
@@ -21066,7 +21066,7 @@ function CM(e, t) {
|
|
|
21066
21066
|
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
|
21067
21067
|
if (t == null) return this.tween(n, null);
|
|
21068
21068
|
if (typeof t != "function") throw Error();
|
|
21069
|
-
var r =
|
|
21069
|
+
var r = Nr(e);
|
|
21070
21070
|
return this.tween(n, (r.local ? xM : SM)(r, t));
|
|
21071
21071
|
}
|
|
21072
21072
|
//#endregion
|
|
@@ -21129,7 +21129,7 @@ function NM(e) {
|
|
|
21129
21129
|
//#endregion
|
|
21130
21130
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.js
|
|
21131
21131
|
function PM(e) {
|
|
21132
|
-
typeof e != "function" && (e =
|
|
21132
|
+
typeof e != "function" && (e = Gr(e));
|
|
21133
21133
|
for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
|
|
21134
21134
|
return new lN(r, this._parents, this._name, this._id);
|
|
21135
21135
|
}
|
|
@@ -21176,7 +21176,7 @@ function BM() {
|
|
|
21176
21176
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js
|
|
21177
21177
|
function VM(e) {
|
|
21178
21178
|
var t = this._name, n = this._id;
|
|
21179
|
-
typeof e != "function" && (e =
|
|
21179
|
+
typeof e != "function" && (e = Rr(e));
|
|
21180
21180
|
for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, eM(l[f], t, n, f, l, rM(u, n)));
|
|
21181
21181
|
return new lN(a, this._parents, t, n);
|
|
21182
21182
|
}
|
|
@@ -21184,7 +21184,7 @@ function VM(e) {
|
|
|
21184
21184
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.js
|
|
21185
21185
|
function HM(e) {
|
|
21186
21186
|
var t = this._name, n = this._id;
|
|
21187
|
-
typeof e != "function" && (e =
|
|
21187
|
+
typeof e != "function" && (e = Hr(e));
|
|
21188
21188
|
for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
|
|
21189
21189
|
for (var f = e.call(u, u.__data__, d, c), p, m = rM(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && eM(p, t, n, h, f, m);
|
|
21190
21190
|
a.push(f), o.push(u);
|
|
@@ -21193,7 +21193,7 @@ function HM(e) {
|
|
|
21193
21193
|
}
|
|
21194
21194
|
//#endregion
|
|
21195
21195
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js
|
|
21196
|
-
var UM =
|
|
21196
|
+
var UM = Oa.prototype.constructor;
|
|
21197
21197
|
function WM() {
|
|
21198
21198
|
return new UM(this._groups, this._parents);
|
|
21199
21199
|
}
|
|
@@ -21202,7 +21202,7 @@ function WM() {
|
|
|
21202
21202
|
function GM(e, t) {
|
|
21203
21203
|
var n, r, i;
|
|
21204
21204
|
return function() {
|
|
21205
|
-
var a =
|
|
21205
|
+
var a = Fi(this, e), o = (this.style.removeProperty(e), Fi(this, e));
|
|
21206
21206
|
return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
|
|
21207
21207
|
};
|
|
21208
21208
|
}
|
|
@@ -21214,15 +21214,15 @@ function KM(e) {
|
|
|
21214
21214
|
function qM(e, t, n) {
|
|
21215
21215
|
var r, i = n + "", a;
|
|
21216
21216
|
return function() {
|
|
21217
|
-
var o =
|
|
21217
|
+
var o = Fi(this, e);
|
|
21218
21218
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
21219
21219
|
};
|
|
21220
21220
|
}
|
|
21221
21221
|
function JM(e, t, n) {
|
|
21222
21222
|
var r, i, a;
|
|
21223
21223
|
return function() {
|
|
21224
|
-
var o =
|
|
21225
|
-
return s == null && (c = s = (this.style.removeProperty(e),
|
|
21224
|
+
var o = Fi(this, e), s = n(this), c = s + "";
|
|
21225
|
+
return s == null && (c = s = (this.style.removeProperty(e), Fi(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
|
|
21226
21226
|
};
|
|
21227
21227
|
}
|
|
21228
21228
|
function YM(e, t) {
|
|
@@ -21331,12 +21331,12 @@ function lN(e, t, n, r) {
|
|
|
21331
21331
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
21332
21332
|
}
|
|
21333
21333
|
function uN(e) {
|
|
21334
|
-
return
|
|
21334
|
+
return Oa().transition(e);
|
|
21335
21335
|
}
|
|
21336
21336
|
function dN() {
|
|
21337
21337
|
return ++cN;
|
|
21338
21338
|
}
|
|
21339
|
-
var fN =
|
|
21339
|
+
var fN = Oa.prototype;
|
|
21340
21340
|
lN.prototype = uN.prototype = {
|
|
21341
21341
|
constructor: lN,
|
|
21342
21342
|
select: VM,
|
|
@@ -21397,7 +21397,7 @@ function _N(e) {
|
|
|
21397
21397
|
for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && eM(c, e, t, l, o, n || gN(c, t));
|
|
21398
21398
|
return new lN(r, this._parents, e, t);
|
|
21399
21399
|
}
|
|
21400
|
-
|
|
21400
|
+
Oa.prototype.interrupt = oM, Oa.prototype.transition = _N;
|
|
21401
21401
|
//#endregion
|
|
21402
21402
|
//#region ../../node_modules/.pnpm/d3-brush@3.0.0/node_modules/d3-brush/src/brush.js
|
|
21403
21403
|
var { abs: vN, max: yN, min: bN } = Math;
|
|
@@ -21470,7 +21470,7 @@ function TN(e) {
|
|
|
21470
21470
|
//#region src/store/init/init-layers.ts
|
|
21471
21471
|
var EN = 1e3;
|
|
21472
21472
|
function DN(e) {
|
|
21473
|
-
return e == null ||
|
|
21473
|
+
return e == null || vr(e) ? e : B.fromMinMax({
|
|
21474
21474
|
x: e.x1,
|
|
21475
21475
|
y: e.y1
|
|
21476
21476
|
}, {
|
|
@@ -21480,9 +21480,9 @@ function DN(e) {
|
|
|
21480
21480
|
}
|
|
21481
21481
|
function ON(e, t, n) {
|
|
21482
21482
|
let r = [], i = t;
|
|
21483
|
-
return
|
|
21484
|
-
let a = t.getAttribute("data-layer"), o = new
|
|
21485
|
-
o.name = t.getAttribute("data-layer"), o.visible = e.visible, o.description = t.getAttribute("data-layer-description") || a, o.frozen = t.getAttribute("data-layer-isfrozen") === "true", o.rect = e.rect, o.viewbox = e.viewbox, o.mode =
|
|
21483
|
+
return Aa(Va(e)).selectAll(`svg [data-layer="${e.name}"] > [data-layer]`).nodes().filter((e) => e.childNodes.length).forEach((t) => {
|
|
21484
|
+
let a = t.getAttribute("data-layer"), o = new XI();
|
|
21485
|
+
o.name = t.getAttribute("data-layer"), o.visible = e.visible, o.description = t.getAttribute("data-layer-description") || a, o.frozen = t.getAttribute("data-layer-isfrozen") === "true", o.rect = e.rect, o.viewbox = e.viewbox, o.mode = YI.Unset, o.rootParent = e.rootParent ? e.rootParent : e;
|
|
21486
21486
|
let s = ON(o, i, n);
|
|
21487
21487
|
i = s.priority + n, o.basePriority = i, s.layers.length && (o.childLayers = s.layers, r.push(...s.layers)), r.push(o);
|
|
21488
21488
|
}), {
|
|
@@ -21491,23 +21491,23 @@ function ON(e, t, n) {
|
|
|
21491
21491
|
};
|
|
21492
21492
|
}
|
|
21493
21493
|
function kN(e) {
|
|
21494
|
-
let { layerStore: t } = e, n =
|
|
21495
|
-
t.mode =
|
|
21496
|
-
let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode ===
|
|
21494
|
+
let { layerStore: t } = e, n = Dr().__fpLayers;
|
|
21495
|
+
t.mode = Dr().__fpLayersMode || JI.Default;
|
|
21496
|
+
let r = new URLSearchParams(window.location.search).get("layer"), i = (e, n) => r ? n.toLowerCase() === r.toLowerCase() : t.mode === JI.Default ? e.visible : e.mode == YI.TurnedOn, a = [], o = 0;
|
|
21497
21497
|
n ? n.forEach((e) => {
|
|
21498
21498
|
o += EN;
|
|
21499
|
-
let t = new
|
|
21500
|
-
t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect = DN(e.rect), t.viewbox = DN(e.viewbox), t.mode = e.mode ||
|
|
21501
|
-
}) :
|
|
21499
|
+
let t = new XI();
|
|
21500
|
+
t.name = e.name, t.description = e.description, t.frozen = e.frozen, t.visible = i(e, t.shortName), t.rect = DN(e.rect), t.viewbox = DN(e.viewbox), t.mode = e.mode || YI.Unset, t.basePriority = o, t.floorIndex = e.floorIndex, a.push(t);
|
|
21501
|
+
}) : Aa(Va()).selectAll("svg > [data-layer]").nodes().filter((e) => e.childNodes.length).forEach((e) => {
|
|
21502
21502
|
let t = e.getAttribute("data-layer");
|
|
21503
21503
|
if (!t.startsWith("WF")) {
|
|
21504
21504
|
var n;
|
|
21505
21505
|
o += EN;
|
|
21506
|
-
let r = new
|
|
21507
|
-
r.name = t, r.visible = !0, r.description = e.getAttribute("data-layer-description") || t, r.frozen = e.getAttribute("data-layer-isfrozen") === "true", r.rect = (n =
|
|
21506
|
+
let r = new XI();
|
|
21507
|
+
r.name = t, r.visible = !0, r.description = e.getAttribute("data-layer-description") || t, r.frozen = e.getAttribute("data-layer-isfrozen") === "true", r.rect = (n = Ra().filter((e) => e.name === r.name || e.name === r.description)[0]) == null ? void 0 : n.rect, r.mode = YI.Unset, r.basePriority = o, a.push(r);
|
|
21508
21508
|
}
|
|
21509
|
-
}), t.mode !==
|
|
21510
|
-
e.mode ===
|
|
21509
|
+
}), t.mode !== JI.Default && a.forEach((e) => {
|
|
21510
|
+
e.mode === YI.AlwaysHidden ? (e.frozen = !0, e.visible = !1) : e.mode === YI.AlwaysVisible ? e.frozen = e.visible = !0 : e.mode === YI.TurnedOff ? (e.frozen = !1, e.visible = !1) : e.mode === YI.TurnedOn && (e.frozen = !1, e.visible = !0);
|
|
21511
21511
|
});
|
|
21512
21512
|
try {
|
|
21513
21513
|
a.forEach((e) => {
|
|
@@ -21516,11 +21516,24 @@ function kN(e) {
|
|
|
21516
21516
|
} catch (e) {
|
|
21517
21517
|
console.warn(e);
|
|
21518
21518
|
}
|
|
21519
|
-
a = a.filter((e) => e.pathway || !e.frozen || e.frozen && e.visible), t.defaultLayer = a.find((e) => e.name ===
|
|
21519
|
+
a = a.filter((e) => e.pathway || !e.frozen || e.frozen && e.visible), t.defaultLayer = a.find((e) => e.name === Dr().__fpDefaultLayer), t.layers = [...t.layers, ...a];
|
|
21520
21520
|
}
|
|
21521
21521
|
//#endregion
|
|
21522
|
-
//#region src/utils/
|
|
21522
|
+
//#region src/utils/blob-image-size.ts
|
|
21523
21523
|
async function AN(e) {
|
|
21524
|
+
try {
|
|
21525
|
+
let t = await createImageBitmap(e), n = {
|
|
21526
|
+
width: t.width,
|
|
21527
|
+
height: t.height
|
|
21528
|
+
};
|
|
21529
|
+
return t.close(), n;
|
|
21530
|
+
} catch {
|
|
21531
|
+
return null;
|
|
21532
|
+
}
|
|
21533
|
+
}
|
|
21534
|
+
//#endregion
|
|
21535
|
+
//#region src/utils/loadBlob.ts
|
|
21536
|
+
async function jN(e) {
|
|
21524
21537
|
try {
|
|
21525
21538
|
let t = await fetch(e, {
|
|
21526
21539
|
mode: "cors",
|
|
@@ -21535,10 +21548,10 @@ async function AN(e) {
|
|
|
21535
21548
|
}
|
|
21536
21549
|
//#endregion
|
|
21537
21550
|
//#region src/utils/rasterize-svg.ts
|
|
21538
|
-
function
|
|
21551
|
+
function MN(e) {
|
|
21539
21552
|
return e.type.startsWith("image/svg+xml");
|
|
21540
21553
|
}
|
|
21541
|
-
async function
|
|
21554
|
+
async function NN(e) {
|
|
21542
21555
|
let t = URL.createObjectURL(e);
|
|
21543
21556
|
try {
|
|
21544
21557
|
let e = await ne(t);
|
|
@@ -21551,11 +21564,11 @@ async function MN(e) {
|
|
|
21551
21564
|
URL.revokeObjectURL(t);
|
|
21552
21565
|
}
|
|
21553
21566
|
}
|
|
21554
|
-
async function
|
|
21555
|
-
let t = await
|
|
21556
|
-
return t ?
|
|
21567
|
+
async function PN(e) {
|
|
21568
|
+
let t = await NN(e);
|
|
21569
|
+
return t ? FN(t) : null;
|
|
21557
21570
|
}
|
|
21558
|
-
function
|
|
21571
|
+
function FN(e) {
|
|
21559
21572
|
return new Promise((t) => {
|
|
21560
21573
|
try {
|
|
21561
21574
|
e.toBlob((e) => t(e), "image/png");
|
|
@@ -21566,44 +21579,70 @@ function PN(e) {
|
|
|
21566
21579
|
}
|
|
21567
21580
|
//#endregion
|
|
21568
21581
|
//#region src/utils/loadLayerImages.ts
|
|
21569
|
-
async function
|
|
21582
|
+
async function IN(e) {
|
|
21570
21583
|
let t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
21571
21584
|
let n = t.get(e);
|
|
21572
|
-
return n || (n =
|
|
21585
|
+
return n || (n = LN(e), t.set(e, n)), n;
|
|
21573
21586
|
};
|
|
21574
21587
|
return (await Promise.all(e.map(async (e) => {
|
|
21575
21588
|
var t, r, i;
|
|
21576
21589
|
let a = (t = e.getAttribute("xlink:href")) == null ? e.getAttribute("href") : t, o = a ? await n(a) : null;
|
|
21577
|
-
|
|
21578
|
-
|
|
21579
|
-
|
|
21580
|
-
|
|
21581
|
-
|
|
21582
|
-
height: e.height.animVal.value,
|
|
21583
|
-
angle: (r = (i = e.transform) == null || (i = i.animVal[0]) == null ? void 0 : i.angle) == null ? 0 : r
|
|
21584
|
-
},
|
|
21585
|
-
source: o,
|
|
21590
|
+
if (!o) return null;
|
|
21591
|
+
let s = BN(B.fromSvg(e), o.size), c = (r = (i = e.transform) == null || (i = i.animVal[0]) == null ? void 0 : i.angle) == null ? 0 : r;
|
|
21592
|
+
return {
|
|
21593
|
+
bounds: Xn.fromMinMax(s.min, s.max, wn(c)),
|
|
21594
|
+
source: o.source,
|
|
21586
21595
|
booth: null
|
|
21587
|
-
}
|
|
21596
|
+
};
|
|
21588
21597
|
}))).filter((e) => e !== null);
|
|
21589
21598
|
}
|
|
21590
|
-
async function IN(e) {
|
|
21591
|
-
let t = await AN(e);
|
|
21592
|
-
return t ? jN(t) ? NN(t) : t : null;
|
|
21593
|
-
}
|
|
21594
21599
|
async function LN(e) {
|
|
21595
21600
|
var t;
|
|
21596
|
-
let n =
|
|
21601
|
+
let n = await jN(e);
|
|
21602
|
+
if (!n) return null;
|
|
21603
|
+
let r = MN(n) ? await PN(n) : n;
|
|
21604
|
+
return r ? {
|
|
21605
|
+
source: r,
|
|
21606
|
+
size: (t = RN(e)) == null ? await AN(r) : t
|
|
21607
|
+
} : null;
|
|
21608
|
+
}
|
|
21609
|
+
function RN(e) {
|
|
21610
|
+
let t;
|
|
21611
|
+
try {
|
|
21612
|
+
({searchParams: t} = new URL(e));
|
|
21613
|
+
} catch {
|
|
21614
|
+
return null;
|
|
21615
|
+
}
|
|
21616
|
+
let n = Number(t.get("w")), r = Number(t.get("h"));
|
|
21617
|
+
return zN(n) && zN(r) ? {
|
|
21618
|
+
width: n,
|
|
21619
|
+
height: r
|
|
21620
|
+
} : null;
|
|
21621
|
+
}
|
|
21622
|
+
function zN(e) {
|
|
21623
|
+
return Number.isFinite(e) && e > 0;
|
|
21624
|
+
}
|
|
21625
|
+
function BN(e, t) {
|
|
21626
|
+
if (!(t != null && t.width) || !t.height || !e.size.width || !e.size.height) return e;
|
|
21627
|
+
let n = Math.min(e.size.width / t.width, e.size.height / t.height);
|
|
21628
|
+
return B.fromCenter(e.center, {
|
|
21629
|
+
x: t.width * n,
|
|
21630
|
+
y: t.height * n
|
|
21631
|
+
});
|
|
21632
|
+
}
|
|
21633
|
+
async function VN(e) {
|
|
21634
|
+
var t;
|
|
21635
|
+
let n = [], r = [], i = [], a = Aa(Va(e)).select(`[data-layer="${e.name}"]`), o = a.selectAll(":scope > *:not([data-tagname='efp-booth']):not(g[data-is-editable='false']) path, :scope > path").nodes(), s = a.selectAll(":scope g[data-layer] > g[data-is-editable='false'] path, :scope > g[data-is-editable='false'] path, :scope > path[data-tagname='ptext']").nodes(), c = R.layerStore.mode === JI.Default ? "" : ((t = e.rootParent) == null ? void 0 : t.name) || e.name;
|
|
21597
21636
|
for (let e of o) {
|
|
21598
21637
|
let t = +e.getAttribute("data-index"), r;
|
|
21599
|
-
e.tagName === "path" && t !== -1 ? r =
|
|
21638
|
+
e.tagName === "path" && t !== -1 ? r = HN({
|
|
21600
21639
|
color: e.style.fill,
|
|
21601
21640
|
index: t
|
|
21602
21641
|
}, c) : e.tagName === "rect" && (r = kk(e)), r && n.push(r);
|
|
21603
21642
|
}
|
|
21604
21643
|
for (let e of s) {
|
|
21605
21644
|
let t = +e.getAttribute("data-index"), n;
|
|
21606
|
-
e.tagName === "path" && t !== -1 ? n =
|
|
21645
|
+
e.tagName === "path" && t !== -1 ? n = HN({
|
|
21607
21646
|
color: e.style.fill,
|
|
21608
21647
|
index: t
|
|
21609
21648
|
}, c) : e.tagName === "rect" && (n = kk(e)), n && r.push(n);
|
|
@@ -21619,55 +21658,55 @@ async function LN(e) {
|
|
|
21619
21658
|
children: i.filter((e) => e.children.length)
|
|
21620
21659
|
});
|
|
21621
21660
|
}
|
|
21622
|
-
function
|
|
21661
|
+
function HN(e, t) {
|
|
21623
21662
|
if (e.index === -1 || Number.isNaN(e.index)) return;
|
|
21624
21663
|
(!e.color || e.color === "none") && (e.color = "transparent");
|
|
21625
|
-
let n = Ak(
|
|
21664
|
+
let n = Ak(Ba(parseInt(e.index.toString()), t), e.color);
|
|
21626
21665
|
return n.unblinking = e.unblinking, n;
|
|
21627
21666
|
}
|
|
21628
21667
|
//#endregion
|
|
21629
21668
|
//#region src/utils/is-mobile.ts
|
|
21630
|
-
var
|
|
21631
|
-
async function
|
|
21669
|
+
var UN = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/i.test(navigator.userAgent), WN = UN || j, GN = WN ? 8 : 512, KN = WN ? 100 : 0;
|
|
21670
|
+
async function qN(e, t) {
|
|
21632
21671
|
return (e.preferred ? await t(e.preferred) : null) || (e.fallback ? t(e.fallback) : null);
|
|
21633
21672
|
}
|
|
21634
|
-
async function
|
|
21673
|
+
async function JN(e, t, n, r) {
|
|
21635
21674
|
if (!e.size) return /* @__PURE__ */ new Map();
|
|
21636
21675
|
let i = Array.from(e.entries()), a = /* @__PURE__ */ new Map();
|
|
21637
21676
|
for (let e = 0; e < i.length; e += n) {
|
|
21638
|
-
let o = i.slice(e, e + n), s = await Promise.all(o.map(async ([e, n]) => [e, await
|
|
21677
|
+
let o = i.slice(e, e + n), s = await Promise.all(o.map(async ([e, n]) => [e, await qN(n, t)]));
|
|
21639
21678
|
for (let [e, t] of s) t && a.set(e, t);
|
|
21640
21679
|
r && await new Promise((e) => setTimeout(e, r));
|
|
21641
21680
|
}
|
|
21642
21681
|
return a;
|
|
21643
21682
|
}
|
|
21644
|
-
async function
|
|
21645
|
-
return
|
|
21683
|
+
async function YN(e, t = GN, n = KN) {
|
|
21684
|
+
return JN(e, ne, t, n);
|
|
21646
21685
|
}
|
|
21647
|
-
async function
|
|
21686
|
+
async function XN(e, t = GN, n = KN) {
|
|
21648
21687
|
let r = /* @__PURE__ */ new Map();
|
|
21649
|
-
return
|
|
21688
|
+
return JN(e, (e) => {
|
|
21650
21689
|
let t = r.get(e);
|
|
21651
|
-
return t || (t =
|
|
21690
|
+
return t || (t = jN(e), r.set(e, t)), t;
|
|
21652
21691
|
}, t, n);
|
|
21653
21692
|
}
|
|
21654
21693
|
//#endregion
|
|
21655
21694
|
//#region src/components/Maplibre/utils/poi-marker-hit-test.ts
|
|
21656
|
-
var
|
|
21695
|
+
var ZN = null, QN = {
|
|
21657
21696
|
set(e) {
|
|
21658
|
-
|
|
21697
|
+
ZN = e;
|
|
21659
21698
|
},
|
|
21660
21699
|
test(e, t) {
|
|
21661
|
-
return
|
|
21700
|
+
return ZN ? ZN(e, t) : !1;
|
|
21662
21701
|
}
|
|
21663
|
-
},
|
|
21702
|
+
}, $N = Sn(() => ({
|
|
21664
21703
|
segments: [],
|
|
21665
21704
|
segmentToHitAreas: /* @__PURE__ */ new Map(),
|
|
21666
21705
|
prevSegment: null,
|
|
21667
21706
|
boothsWithPaths: []
|
|
21668
21707
|
}));
|
|
21669
|
-
function
|
|
21670
|
-
let e = xn.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0), t =
|
|
21708
|
+
function eP() {
|
|
21709
|
+
let e = xn.booths.filter((e) => e.visible && e.rect && e.rect.size.width > 0 && e.rect.size.height > 0), t = $N();
|
|
21671
21710
|
if (t.segments = [], t.prevSegment = null, t.segmentToHitAreas = /* @__PURE__ */ new Map(), t.boothsWithPaths = e.filter((e) => e.paths), !e.length) return;
|
|
21672
21711
|
let n = [], r = Infinity, i = Infinity, a = -Infinity, o = -Infinity;
|
|
21673
21712
|
for (let t of e) {
|
|
@@ -21678,7 +21717,7 @@ function XN() {
|
|
|
21678
21717
|
bounds: s
|
|
21679
21718
|
}), s.min.x < r && (r = s.min.x), s.min.y < i && (i = s.min.y), s.max.x > a && (a = s.max.x), s.max.y > o && (o = s.max.y);
|
|
21680
21719
|
}
|
|
21681
|
-
let s =
|
|
21720
|
+
let s = B.fromMinMax({
|
|
21682
21721
|
x: r,
|
|
21683
21722
|
y: i
|
|
21684
21723
|
}, {
|
|
@@ -21686,20 +21725,20 @@ function XN() {
|
|
|
21686
21725
|
y: o
|
|
21687
21726
|
}), c = Math.ceil(s.size.width / 2), l = Math.ceil(s.size.height / 2);
|
|
21688
21727
|
for (let e = 0; e < 2; e++) for (let r = 0; r < 2; r++) {
|
|
21689
|
-
let i = new
|
|
21728
|
+
let i = new B(s.min.x + e * c, s.min.y + r * l, c, l);
|
|
21690
21729
|
t.segments.push(i), t.segmentToHitAreas.set(i, n.filter((e) => i.intersects(e.bounds)));
|
|
21691
21730
|
}
|
|
21692
21731
|
w.log("hover segmentToHitAreas", t.segmentToHitAreas);
|
|
21693
21732
|
}
|
|
21694
|
-
function
|
|
21733
|
+
function tP() {
|
|
21695
21734
|
dA(() => [
|
|
21696
21735
|
xn.booths,
|
|
21697
21736
|
vn.loaded,
|
|
21698
21737
|
vn.visible
|
|
21699
|
-
], () =>
|
|
21738
|
+
], () => eP(), { fireImmediately: !0 });
|
|
21700
21739
|
}
|
|
21701
|
-
function
|
|
21702
|
-
let n =
|
|
21740
|
+
function nP(e, t) {
|
|
21741
|
+
let n = $N(), r = {
|
|
21703
21742
|
x: e,
|
|
21704
21743
|
y: t
|
|
21705
21744
|
}, i;
|
|
@@ -21709,7 +21748,7 @@ function QN(e, t) {
|
|
|
21709
21748
|
let e = a.filter((e) => e.booth.visible && e.shape.containsPoint(r));
|
|
21710
21749
|
if (e.length) return (e.length > 1 ? e.sort((e, t) => e.booth.rect.area - t.booth.rect.area)[0] : e[0]).booth;
|
|
21711
21750
|
}
|
|
21712
|
-
for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of
|
|
21751
|
+
for (let e of n.boothsWithPaths) if (e.visible) for (let t of e.paths) for (let n of za(t.index, vn.mode === JI.Default ? "" : e.layer.name)) {
|
|
21713
21752
|
let t = n.map((e) => ({
|
|
21714
21753
|
x: e[0],
|
|
21715
21754
|
y: e[1]
|
|
@@ -21718,115 +21757,102 @@ function QN(e, t) {
|
|
|
21718
21757
|
}
|
|
21719
21758
|
return null;
|
|
21720
21759
|
}
|
|
21721
|
-
function
|
|
21722
|
-
return
|
|
21760
|
+
function rP(e, t) {
|
|
21761
|
+
return nP(e, t);
|
|
21723
21762
|
}
|
|
21724
21763
|
//#endregion
|
|
21725
21764
|
//#region src/components/Map/pointer.ts
|
|
21726
|
-
function
|
|
21727
|
-
|
|
21765
|
+
function iP(e) {
|
|
21766
|
+
_P = e;
|
|
21728
21767
|
}
|
|
21729
|
-
function
|
|
21730
|
-
|
|
21768
|
+
function aP(e) {
|
|
21769
|
+
gP = e;
|
|
21731
21770
|
}
|
|
21732
|
-
function
|
|
21733
|
-
for (let n of t)
|
|
21771
|
+
function oP(e, t) {
|
|
21772
|
+
for (let n of t) hP.set(n, e);
|
|
21734
21773
|
}
|
|
21735
|
-
function
|
|
21774
|
+
function sP(e) {
|
|
21736
21775
|
var t;
|
|
21737
|
-
return (t =
|
|
21776
|
+
return (t = hP.get(e)) == null ? null : t;
|
|
21738
21777
|
}
|
|
21739
|
-
function
|
|
21740
|
-
z.setKioskModeEnabled || (e.stopPropagation(), z.hoveredBooth =
|
|
21778
|
+
function cP(e) {
|
|
21779
|
+
z.setKioskModeEnabled || (e.stopPropagation(), z.hoveredBooth = fP(e.point, e.def));
|
|
21741
21780
|
}
|
|
21742
|
-
function
|
|
21781
|
+
function lP() {
|
|
21743
21782
|
z.setKioskModeEnabled || (z.hoveredBooth = null);
|
|
21744
21783
|
}
|
|
21745
|
-
function
|
|
21746
|
-
e.stopPropagation(),
|
|
21784
|
+
function uP(e) {
|
|
21785
|
+
e.stopPropagation(), pP(e.point, e.nativeEvent) && R.clickBooth(fP(e.point, e.def));
|
|
21747
21786
|
}
|
|
21748
|
-
function
|
|
21749
|
-
|
|
21787
|
+
function dP(e) {
|
|
21788
|
+
pP(e.point, e.nativeEvent) && R.clickBooth(fP(e.point));
|
|
21750
21789
|
}
|
|
21751
|
-
function
|
|
21752
|
-
return (t ?
|
|
21790
|
+
function fP(e, t) {
|
|
21791
|
+
return (t ? sP(t) : null) || rP(e.x, e.y);
|
|
21753
21792
|
}
|
|
21754
|
-
function
|
|
21793
|
+
function pP(e, t) {
|
|
21755
21794
|
if (!z.rootElement) return !1;
|
|
21756
|
-
if (
|
|
21757
|
-
let t = R.layerStore.layers.find((e) => e.visible && (e.mode ===
|
|
21795
|
+
if (mP(), _P == null || _P(e), z.overlayPosition === "bottom" && z.overlaySize === "full" && R.showMap(), z.onGetCoordsClick) {
|
|
21796
|
+
let t = R.layerStore.layers.find((e) => e.visible && (e.mode === YI.TurnedOn || e.mode === YI.TurnedOff));
|
|
21758
21797
|
z.onGetCoordsClick({
|
|
21759
21798
|
x: e.x,
|
|
21760
21799
|
y: e.y,
|
|
21761
21800
|
z: (t == null ? void 0 : t.name) || null
|
|
21762
21801
|
});
|
|
21763
21802
|
}
|
|
21764
|
-
if (z.setKioskModeEnabled ||
|
|
21803
|
+
if (z.setKioskModeEnabled || QN.test(t.clientX, t.clientY)) return !1;
|
|
21765
21804
|
if (z.onMarkerClick) {
|
|
21766
21805
|
var n;
|
|
21767
|
-
let t = (n =
|
|
21806
|
+
let t = (n = gP == null ? void 0 : gP(e.x, e.y)) == null ? null : n;
|
|
21768
21807
|
z.onMarkerClick(t);
|
|
21769
21808
|
}
|
|
21770
21809
|
return !0;
|
|
21771
21810
|
}
|
|
21772
|
-
function
|
|
21811
|
+
function mP() {
|
|
21773
21812
|
if (typeof window > "u") return;
|
|
21774
21813
|
let e = window.__resett;
|
|
21775
21814
|
e == null || e();
|
|
21776
21815
|
}
|
|
21777
|
-
var
|
|
21778
|
-
//#endregion
|
|
21779
|
-
//#region src/utils/blob-image-size.ts
|
|
21780
|
-
async function mP(e) {
|
|
21781
|
-
try {
|
|
21782
|
-
let t = await createImageBitmap(e), n = {
|
|
21783
|
-
width: t.width,
|
|
21784
|
-
height: t.height
|
|
21785
|
-
};
|
|
21786
|
-
return t.close(), n;
|
|
21787
|
-
} catch {
|
|
21788
|
-
return null;
|
|
21789
|
-
}
|
|
21790
|
-
}
|
|
21816
|
+
var hP = /* @__PURE__ */ new WeakMap(), gP, _P;
|
|
21791
21817
|
//#endregion
|
|
21792
21818
|
//#region src/components/Map/drawing/config/booth-logos.ts
|
|
21793
|
-
function
|
|
21819
|
+
function vP(e) {
|
|
21794
21820
|
return e.exhibitors.find((e) => e.logoInBooth && e.logo);
|
|
21795
21821
|
}
|
|
21796
|
-
function
|
|
21822
|
+
function yP(e) {
|
|
21797
21823
|
var t;
|
|
21798
|
-
let n = (t =
|
|
21824
|
+
let n = (t = vP(e)) == null ? void 0 : t.logoAspectRatio;
|
|
21799
21825
|
return typeof n == "number" && Number.isFinite(n) && n > 0 ? n : void 0;
|
|
21800
21826
|
}
|
|
21801
|
-
function
|
|
21827
|
+
function bP() {
|
|
21802
21828
|
let e = /* @__PURE__ */ new Map(), t = (t) => {
|
|
21803
21829
|
let n = e.get(t);
|
|
21804
|
-
return n || (n =
|
|
21830
|
+
return n || (n = xP(t), e.set(t, n)), n;
|
|
21805
21831
|
}, n = /* @__PURE__ */ new Map(), r = (e) => {
|
|
21806
21832
|
let t = n.get(e);
|
|
21807
|
-
return t || (t =
|
|
21833
|
+
return t || (t = SP(e), n.set(e, t)), t;
|
|
21808
21834
|
};
|
|
21809
21835
|
return async (e, n) => {
|
|
21810
21836
|
var i;
|
|
21811
21837
|
let a = await t(n);
|
|
21812
21838
|
if (!a) return null;
|
|
21813
|
-
let o = (i =
|
|
21839
|
+
let o = (i = yP(e)) == null ? await r(a) : i;
|
|
21814
21840
|
return o === null ? null : {
|
|
21815
21841
|
blob: a,
|
|
21816
21842
|
aspectRatio: o
|
|
21817
21843
|
};
|
|
21818
21844
|
};
|
|
21819
21845
|
}
|
|
21820
|
-
async function
|
|
21821
|
-
return
|
|
21846
|
+
async function xP(e) {
|
|
21847
|
+
return MN(e) ? PN(e) : e;
|
|
21822
21848
|
}
|
|
21823
|
-
async function
|
|
21824
|
-
let t = await
|
|
21849
|
+
async function SP(e) {
|
|
21850
|
+
let t = await AN(e);
|
|
21825
21851
|
return t != null && t.height ? t.width / t.height : null;
|
|
21826
21852
|
}
|
|
21827
21853
|
//#endregion
|
|
21828
21854
|
//#region ../../node_modules/.pnpm/color-parse@1.4.3/node_modules/color-parse/index.js
|
|
21829
|
-
var
|
|
21855
|
+
var CP = /* @__PURE__ */ t(((e, t) => {
|
|
21830
21856
|
var n = No();
|
|
21831
21857
|
t.exports = i;
|
|
21832
21858
|
var r = {
|
|
@@ -21894,7 +21920,7 @@ var bP = /* @__PURE__ */ t(((e, t) => {
|
|
|
21894
21920
|
alpha: a
|
|
21895
21921
|
};
|
|
21896
21922
|
}
|
|
21897
|
-
})),
|
|
21923
|
+
})), wP = /* @__PURE__ */ t(((e, t) => {
|
|
21898
21924
|
t.exports = {
|
|
21899
21925
|
name: "rgb",
|
|
21900
21926
|
min: [
|
|
@@ -21914,8 +21940,8 @@ var bP = /* @__PURE__ */ t(((e, t) => {
|
|
|
21914
21940
|
],
|
|
21915
21941
|
alias: ["RGB"]
|
|
21916
21942
|
};
|
|
21917
|
-
})),
|
|
21918
|
-
var n =
|
|
21943
|
+
})), TP = /* @__PURE__ */ t(((e, t) => {
|
|
21944
|
+
var n = wP();
|
|
21919
21945
|
t.exports = {
|
|
21920
21946
|
name: "hsl",
|
|
21921
21947
|
min: [
|
|
@@ -21957,8 +21983,8 @@ var bP = /* @__PURE__ */ t(((e, t) => {
|
|
|
21957
21983
|
l * 100
|
|
21958
21984
|
];
|
|
21959
21985
|
};
|
|
21960
|
-
})),
|
|
21961
|
-
var n =
|
|
21986
|
+
})), EP = /* @__PURE__ */ t(((e, t) => {
|
|
21987
|
+
var n = CP(), r = TP();
|
|
21962
21988
|
function i(e, t, n) {
|
|
21963
21989
|
return t < n ? e < t ? t : e > n ? n : e : e < n ? n : e > t ? t : e;
|
|
21964
21990
|
}
|
|
@@ -21983,23 +22009,23 @@ var bP = /* @__PURE__ */ t(((e, t) => {
|
|
|
21983
22009
|
return u[3] === 1 ? "rgb(" + u.slice(0, 3) + ")" : "rgba(" + u + ")";
|
|
21984
22010
|
};
|
|
21985
22011
|
}
|
|
21986
|
-
})),
|
|
21987
|
-
function
|
|
21988
|
-
return new URLSearchParams(u(window.location.search)).get(
|
|
22012
|
+
})), DP = "rt";
|
|
22013
|
+
function OP() {
|
|
22014
|
+
return new URLSearchParams(u(window.location.search)).get(DP);
|
|
21989
22015
|
}
|
|
21990
|
-
function
|
|
21991
|
-
let e =
|
|
21992
|
-
return e || (e = sessionStorage.getItem(
|
|
22016
|
+
function kP() {
|
|
22017
|
+
let e = OP();
|
|
22018
|
+
return e || (e = sessionStorage.getItem(DP)), e;
|
|
21993
22019
|
}
|
|
21994
|
-
function
|
|
22020
|
+
function AP(e, t) {
|
|
21995
22021
|
let n = new URL(e, "https://app.expofp.com/");
|
|
21996
22022
|
for (let [e, r] of Object.entries(t)) n.searchParams.set(e, r);
|
|
21997
22023
|
return n.href;
|
|
21998
22024
|
}
|
|
21999
22025
|
//#endregion
|
|
22000
22026
|
//#region src/store/ExhibitorStore.ts
|
|
22001
|
-
var
|
|
22002
|
-
function
|
|
22027
|
+
var jP, MP, NP, PP, FP, IP, LP, RP, zP, BP, VP, Q, HP, UP, WP;
|
|
22028
|
+
function GP(e, t, n, r) {
|
|
22003
22029
|
n && Object.defineProperty(e, t, {
|
|
22004
22030
|
enumerable: n.enumerable,
|
|
22005
22031
|
configurable: n.configurable,
|
|
@@ -22007,7 +22033,7 @@ function HP(e, t, n, r) {
|
|
|
22007
22033
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
22008
22034
|
});
|
|
22009
22035
|
}
|
|
22010
|
-
function
|
|
22036
|
+
function KP(e, t, n, r, i) {
|
|
22011
22037
|
var a = {};
|
|
22012
22038
|
return Object.keys(r).forEach(function(e) {
|
|
22013
22039
|
a[e] = r[e];
|
|
@@ -22015,11 +22041,11 @@ function UP(e, t, n, r, i) {
|
|
|
22015
22041
|
return r(e, t, n) || n;
|
|
22016
22042
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
22017
22043
|
}
|
|
22018
|
-
var
|
|
22044
|
+
var qP = /*#__PURE__*/ function(e) {
|
|
22019
22045
|
return e[e.Unasked = 0] = "Unasked", e[e.Accepted = 1] = "Accepted", e[e.Rejected = 2] = "Rejected", e[e.Undecided = 3] = "Undecided", e;
|
|
22020
|
-
}({}),
|
|
22046
|
+
}({}), JP = (LP = E({ keepAlive: !0 }), RP = E({ keepAlive: !0 }), zP = E({ keepAlive: !0 }), BP = E({ keepAlive: !0 }), VP = E({ keepAlive: !0 }), Q = class {
|
|
22021
22047
|
constructor(e) {
|
|
22022
|
-
this.rootStore = void 0, this.exhibitors = [], this.timeout = void 0,
|
|
22048
|
+
this.rootStore = void 0, this.exhibitors = [], this.timeout = void 0, GP(this, "highlightedByExternalIds", HP, this), GP(this, "rebookingStateChangeRequested", UP, this), GP(this, "rebookingStateSaved", WP, this), this.rootStore = e;
|
|
22023
22049
|
}
|
|
22024
22050
|
get exhibitorById() {
|
|
22025
22051
|
return new Map(this.exhibitors.map((e) => [e.id, e]));
|
|
@@ -22059,23 +22085,23 @@ var WP = /*#__PURE__*/ function(e) {
|
|
|
22059
22085
|
}
|
|
22060
22086
|
setRebookingState(e, t, n) {
|
|
22061
22087
|
clearTimeout(this.timeout), this.rebookingStateChangeRequested = !1, e.rebookingState = t, e.rebookingNote = n;
|
|
22062
|
-
let r =
|
|
22063
|
-
rt:
|
|
22088
|
+
let r = AP("api/v1/set-rebooking-state", {
|
|
22089
|
+
rt: kP(),
|
|
22064
22090
|
expoKey: this.rootStore.fp.eventId
|
|
22065
22091
|
});
|
|
22066
22092
|
fetch(r, {
|
|
22067
22093
|
method: "POST",
|
|
22068
22094
|
headers: { "Content-Type": "application/json" },
|
|
22069
22095
|
body: JSON.stringify({
|
|
22070
|
-
expoKey:
|
|
22096
|
+
expoKey: qa.EXPO,
|
|
22071
22097
|
exhibitorId: e.id,
|
|
22072
22098
|
rebookingState: t,
|
|
22073
22099
|
rebookingNote: n
|
|
22074
22100
|
})
|
|
22075
22101
|
}).then((t) => {
|
|
22076
|
-
t.ok && (this.rebookingStateSaved = !0), !t.ok && !T && (e.rebookingState =
|
|
22102
|
+
t.ok && (this.rebookingStateSaved = !0), !t.ok && !T && (e.rebookingState = qP.Unasked, this.rebookingStateSaved = !1);
|
|
22077
22103
|
}).catch(() => {
|
|
22078
|
-
e.rebookingState =
|
|
22104
|
+
e.rebookingState = qP.Unasked, this.rebookingStateSaved = !1;
|
|
22079
22105
|
}).finally(() => {
|
|
22080
22106
|
this.rebookingStateChangeRequested = !0, this.timeout = setTimeout(() => {
|
|
22081
22107
|
this.rebookingStateChangeRequested = !1;
|
|
@@ -22085,87 +22111,87 @@ var WP = /*#__PURE__*/ function(e) {
|
|
|
22085
22111
|
findExhibitor(e) {
|
|
22086
22112
|
return this.exhibitorByExternalId.get(e) || this.exhibitorByName.get(e.toLowerCase()) || this.exhibitorBySlug.get(e);
|
|
22087
22113
|
}
|
|
22088
|
-
},
|
|
22114
|
+
}, HP = KP(Q.prototype, "highlightedByExternalIds", [D], {
|
|
22089
22115
|
configurable: !0,
|
|
22090
22116
|
enumerable: !0,
|
|
22091
22117
|
writable: !0,
|
|
22092
22118
|
initializer: function() {
|
|
22093
22119
|
return [];
|
|
22094
22120
|
}
|
|
22095
|
-
}),
|
|
22121
|
+
}), UP = KP(Q.prototype, "rebookingStateChangeRequested", [D], {
|
|
22096
22122
|
configurable: !0,
|
|
22097
22123
|
enumerable: !0,
|
|
22098
22124
|
writable: !0,
|
|
22099
22125
|
initializer: function() {
|
|
22100
22126
|
return !1;
|
|
22101
22127
|
}
|
|
22102
|
-
}),
|
|
22128
|
+
}), WP = KP(Q.prototype, "rebookingStateSaved", [D], {
|
|
22103
22129
|
configurable: !0,
|
|
22104
22130
|
enumerable: !0,
|
|
22105
22131
|
writable: !0,
|
|
22106
22132
|
initializer: function() {
|
|
22107
22133
|
return !1;
|
|
22108
22134
|
}
|
|
22109
|
-
}),
|
|
22135
|
+
}), KP(Q.prototype, "exhibitorById", [LP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorById"), Q.prototype), KP(Q.prototype, "exhibitorByExternalId", [RP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorByExternalId"), Q.prototype), KP(Q.prototype, "exhibitorByName", [zP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorByName"), Q.prototype), KP(Q.prototype, "exhibitorBySlug", [BP], Object.getOwnPropertyDescriptor(Q.prototype, "exhibitorBySlug"), Q.prototype), KP(Q.prototype, "bookmarked", [E], Object.getOwnPropertyDescriptor(Q.prototype, "bookmarked"), Q.prototype), KP(Q.prototype, "visited", [E], Object.getOwnPropertyDescriptor(Q.prototype, "visited"), Q.prototype), KP(Q.prototype, "advertised", [VP], Object.getOwnPropertyDescriptor(Q.prototype, "advertised"), Q.prototype), KP(Q.prototype, "replaceBookmarked", [A], Object.getOwnPropertyDescriptor(Q.prototype, "replaceBookmarked"), Q.prototype), KP(Q.prototype, "replaceVisited", [A], Object.getOwnPropertyDescriptor(Q.prototype, "replaceVisited"), Q.prototype), KP(Q.prototype, "setRebookingState", [A], Object.getOwnPropertyDescriptor(Q.prototype, "setRebookingState"), Q.prototype), Q), YP = (jP = class {
|
|
22110
22136
|
constructor() {
|
|
22111
|
-
this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0,
|
|
22137
|
+
this.store = void 0, this.id = void 0, this.name = void 0, this.externalId = void 0, GP(this, "featured", MP, this), this.advertise = void 0, this.description = void 0, this.address = void 0, this.address2 = void 0, this.city = void 0, this.state = void 0, this.zip = void 0, this.country = void 0, this.phone1 = void 0, this.website = void 0, this.facebook = void 0, this.instagram = void 0, this.linkedin = void 0, this.twitter = void 0, this.googlePlus = void 0, this.xing = void 0, this.youtube = void 0, this.email = void 0, this.privateEmail = void 0, this.customButtonTitle = void 0, this.customButtonUrl = void 0, this.customButton2Title = void 0, this.customButton2Url = void 0, this.customButton3Title = void 0, this.customButton3Url = void 0, this.leadingImageUrl = void 0, this.leadingImageLinkUrl = void 0, this.videoUrl = void 0, this.order = void 0, this.logo = void 0, this.logoInBooth = void 0, this.logoAspectRatio = void 0, this.gallery = void 0, this.marketMaterials = void 0, this.slug = void 0, GP(this, "bookmarked", NP, this), GP(this, "visited", PP, this), GP(this, "rebookingState", FP, this), GP(this, "rebookingNote", IP, this), this.booths = void 0, this.categories = void 0, this.schedule = void 0, this.entity = { type: "exhibitor" };
|
|
22112
22138
|
}
|
|
22113
|
-
},
|
|
22139
|
+
}, MP = KP(jP.prototype, "featured", [D], {
|
|
22114
22140
|
configurable: !0,
|
|
22115
22141
|
enumerable: !0,
|
|
22116
22142
|
writable: !0,
|
|
22117
22143
|
initializer: null
|
|
22118
|
-
}),
|
|
22144
|
+
}), NP = KP(jP.prototype, "bookmarked", [D], {
|
|
22119
22145
|
configurable: !0,
|
|
22120
22146
|
enumerable: !0,
|
|
22121
22147
|
writable: !0,
|
|
22122
22148
|
initializer: null
|
|
22123
|
-
}),
|
|
22149
|
+
}), PP = KP(jP.prototype, "visited", [D], {
|
|
22124
22150
|
configurable: !0,
|
|
22125
22151
|
enumerable: !0,
|
|
22126
22152
|
writable: !0,
|
|
22127
22153
|
initializer: null
|
|
22128
|
-
}),
|
|
22154
|
+
}), FP = KP(jP.prototype, "rebookingState", [D], {
|
|
22129
22155
|
configurable: !0,
|
|
22130
22156
|
enumerable: !0,
|
|
22131
22157
|
writable: !0,
|
|
22132
22158
|
initializer: null
|
|
22133
|
-
}),
|
|
22159
|
+
}), IP = KP(jP.prototype, "rebookingNote", [D], {
|
|
22134
22160
|
configurable: !0,
|
|
22135
22161
|
enumerable: !0,
|
|
22136
22162
|
writable: !0,
|
|
22137
22163
|
initializer: null
|
|
22138
|
-
}),
|
|
22139
|
-
[
|
|
22164
|
+
}), jP), XP = {
|
|
22165
|
+
[qP.Unasked]: {
|
|
22140
22166
|
iconName: "icon-question-mark",
|
|
22141
22167
|
color: {
|
|
22142
22168
|
primary: "#8E99AB",
|
|
22143
22169
|
secondary: "#EAEFF9"
|
|
22144
22170
|
}
|
|
22145
22171
|
},
|
|
22146
|
-
[
|
|
22172
|
+
[qP.Accepted]: {
|
|
22147
22173
|
iconName: "icon-checkmark",
|
|
22148
22174
|
color: {
|
|
22149
22175
|
primary: "#32B175",
|
|
22150
22176
|
secondary: "#E4FFF2"
|
|
22151
22177
|
}
|
|
22152
22178
|
},
|
|
22153
|
-
[
|
|
22179
|
+
[qP.Rejected]: {
|
|
22154
22180
|
iconName: "icon-close",
|
|
22155
22181
|
color: {
|
|
22156
22182
|
primary: "#E1463C",
|
|
22157
22183
|
secondary: "#FFEDEB"
|
|
22158
22184
|
}
|
|
22159
22185
|
},
|
|
22160
|
-
[
|
|
22186
|
+
[qP.Undecided]: {
|
|
22161
22187
|
iconName: "icon-switch-horizontal",
|
|
22162
22188
|
color: {
|
|
22163
22189
|
primary: "#FABA27",
|
|
22164
22190
|
secondary: "#FFF7E5"
|
|
22165
22191
|
}
|
|
22166
22192
|
}
|
|
22167
|
-
},
|
|
22168
|
-
function
|
|
22193
|
+
}, ZP, QP;
|
|
22194
|
+
function $P(e, t, n, r) {
|
|
22169
22195
|
n && Object.defineProperty(e, t, {
|
|
22170
22196
|
enumerable: n.enumerable,
|
|
22171
22197
|
configurable: n.configurable,
|
|
@@ -22173,7 +22199,7 @@ function XP(e, t, n, r) {
|
|
|
22173
22199
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
22174
22200
|
});
|
|
22175
22201
|
}
|
|
22176
|
-
function
|
|
22202
|
+
function eF(e, t, n, r, i) {
|
|
22177
22203
|
var a = {};
|
|
22178
22204
|
return Object.keys(r).forEach(function(e) {
|
|
22179
22205
|
a[e] = r[e];
|
|
@@ -22181,23 +22207,23 @@ function ZP(e, t, n, r, i) {
|
|
|
22181
22207
|
return r(e, t, n) || n;
|
|
22182
22208
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
22183
22209
|
}
|
|
22184
|
-
var
|
|
22210
|
+
var tF = Cn(), nF = (ZP = class e {
|
|
22185
22211
|
constructor(e) {
|
|
22186
|
-
|
|
22212
|
+
$P(this, "selectBgAnimationPart", QP, this), rF(() => e.selected, (e) => this.selectBgAnimationPart = pN(e), 1e3, 8, !0);
|
|
22187
22213
|
}
|
|
22188
22214
|
static get(t) {
|
|
22189
|
-
let n =
|
|
22190
|
-
return n || (n = new e(t),
|
|
22215
|
+
let n = tF().get(t);
|
|
22216
|
+
return n || (n = new e(t), tF().set(t, n)), n;
|
|
22191
22217
|
}
|
|
22192
|
-
},
|
|
22218
|
+
}, QP = eF(ZP.prototype, "selectBgAnimationPart", [D], {
|
|
22193
22219
|
configurable: !0,
|
|
22194
22220
|
enumerable: !0,
|
|
22195
22221
|
writable: !0,
|
|
22196
22222
|
initializer: function() {
|
|
22197
22223
|
return 0;
|
|
22198
22224
|
}
|
|
22199
|
-
}),
|
|
22200
|
-
function
|
|
22225
|
+
}), ZP);
|
|
22226
|
+
function rF(e, t, n, r, i) {
|
|
22201
22227
|
let a = i ? s : o;
|
|
22202
22228
|
r % 2 == 1 && r++, S(k(e, () => {
|
|
22203
22229
|
if (e()) {
|
|
@@ -22223,12 +22249,12 @@ function eF(e, t, n, r, i) {
|
|
|
22223
22249
|
}
|
|
22224
22250
|
//#endregion
|
|
22225
22251
|
//#region src/components/Map/drawing/config/BoothDrawerBase.ts
|
|
22226
|
-
var
|
|
22252
|
+
var iF = class {
|
|
22227
22253
|
constructor(e) {
|
|
22228
|
-
this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape =
|
|
22254
|
+
this.booth = void 0, this.boothShape = void 0, this.booth = e, this.boothShape = nF.get(e);
|
|
22229
22255
|
}
|
|
22230
|
-
},
|
|
22231
|
-
function
|
|
22256
|
+
}, aF = /* @__PURE__ */ e(EP(), 1), oF, sF, cF;
|
|
22257
|
+
function lF(e, t, n, r, i) {
|
|
22232
22258
|
var a = {};
|
|
22233
22259
|
return Object.keys(r).forEach(function(e) {
|
|
22234
22260
|
a[e] = r[e];
|
|
@@ -22236,18 +22262,18 @@ function oF(e, t, n, r, i) {
|
|
|
22236
22262
|
return r(e, t, n) || n;
|
|
22237
22263
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
22238
22264
|
}
|
|
22239
|
-
function
|
|
22240
|
-
return new
|
|
22265
|
+
function uF(e) {
|
|
22266
|
+
return new pF(e);
|
|
22241
22267
|
}
|
|
22242
|
-
function
|
|
22268
|
+
function dF(e) {
|
|
22243
22269
|
if (e.length === 0) return null;
|
|
22244
22270
|
let t = e[0];
|
|
22245
22271
|
return e.every((e) => e === t) ? t : null;
|
|
22246
22272
|
}
|
|
22247
|
-
function
|
|
22273
|
+
function fF(e, t) {
|
|
22248
22274
|
let n = [];
|
|
22249
22275
|
for (let r of e) {
|
|
22250
|
-
let e =
|
|
22276
|
+
let e = HN({
|
|
22251
22277
|
index: r.index,
|
|
22252
22278
|
color: r.color,
|
|
22253
22279
|
unblinking: r.unblinking
|
|
@@ -22256,9 +22282,9 @@ function lF(e, t) {
|
|
|
22256
22282
|
}
|
|
22257
22283
|
return n;
|
|
22258
22284
|
}
|
|
22259
|
-
var
|
|
22285
|
+
var pF = (oF = E({ keepAlive: !0 }), sF = E({ keepAlive: !0 }), cF = class extends iF {
|
|
22260
22286
|
constructor(e) {
|
|
22261
|
-
if (super(e), e.paths) e.shapes =
|
|
22287
|
+
if (super(e), e.paths) e.shapes = fF(e.paths, R.layerStore.mode === JI.Default ? "" : e.layer.name).map((e) => {
|
|
22262
22288
|
let t = z.monochrome ? (0, pA.default)(e.color).grayscale().rgb().string() : this.getBoothColor().string();
|
|
22263
22289
|
return e.color === "transparent" ? e.color = t : e.defaultColor = e.color, e;
|
|
22264
22290
|
});
|
|
@@ -22285,10 +22311,10 @@ var uF = (rF = E({ keepAlive: !0 }), iF = E({ keepAlive: !0 }), aF = class exten
|
|
|
22285
22311
|
}
|
|
22286
22312
|
getBoothPathColor(e) {
|
|
22287
22313
|
if (z.heatmap) return this.getHeatmapColor();
|
|
22288
|
-
let t = this.booth, n =
|
|
22314
|
+
let t = this.booth, n = qa.colors.booths.selected, r = (0, pA.default)(this.poiHighlighted ? n : e).hsl();
|
|
22289
22315
|
if (t.selected) {
|
|
22290
22316
|
var i;
|
|
22291
|
-
if ((i =
|
|
22317
|
+
if ((i = Dr().__fpSettings) != null && i.fpVer) {
|
|
22292
22318
|
let e = this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart), t = (0, pA.default)(e === "none" ? n : e);
|
|
22293
22319
|
return z.monochrome ? t.grayscale() : t;
|
|
22294
22320
|
}
|
|
@@ -22306,51 +22332,51 @@ var uF = (rF = E({ keepAlive: !0 }), iF = E({ keepAlive: !0 }), aF = class exten
|
|
|
22306
22332
|
return e.hover ? t.darken(.2).alpha(t.alpha() * 1.5) : t;
|
|
22307
22333
|
}
|
|
22308
22334
|
get defaultColor() {
|
|
22309
|
-
let e = this.booth, t =
|
|
22310
|
-
if (e instanceof Tk) t = e.color ||
|
|
22335
|
+
let e = this.booth, t = qa.colors.booths.default;
|
|
22336
|
+
if (e instanceof Tk) t = e.color || qa.colors.booths.empty;
|
|
22311
22337
|
else if (e instanceof wk) {
|
|
22312
|
-
if (
|
|
22338
|
+
if (Er.isRebooking) {
|
|
22313
22339
|
var n, r;
|
|
22314
|
-
if (!((n = e.exhibitors) != null && n.length)) return qP
|
|
22315
|
-
let t =
|
|
22316
|
-
return t === null ? "#000000" :
|
|
22340
|
+
if (!((n = e.exhibitors) != null && n.length)) return XP[qP.Unasked].color.primary;
|
|
22341
|
+
let t = dF(((r = e.exhibitors) == null ? [] : r).map((e) => e.rebookingState));
|
|
22342
|
+
return t === null ? "#000000" : XP[t].color.primary;
|
|
22317
22343
|
}
|
|
22318
|
-
let i =
|
|
22344
|
+
let i = qa.colors.booths;
|
|
22319
22345
|
t = e.onHold ? e.holdColor || i.defaultHold : e.exhibitors.length || e.reserved ? e.soldColor || i.defaultSold : e.availColor || i.empty;
|
|
22320
22346
|
}
|
|
22321
22347
|
try {
|
|
22322
|
-
t === "none" && (t =
|
|
22348
|
+
t === "none" && (t = qa.colors.booths.default), (0, pA.default)(t);
|
|
22323
22349
|
} catch (e) {
|
|
22324
|
-
t =
|
|
22350
|
+
t = qa.colors.booths.default, console.error("Booth: defaultColor", e);
|
|
22325
22351
|
}
|
|
22326
22352
|
return t;
|
|
22327
22353
|
}
|
|
22328
22354
|
get selectedColorInterpolateFunc() {
|
|
22329
22355
|
var e, t;
|
|
22330
|
-
return (0,
|
|
22356
|
+
return (0, aF.default)([qa.colors.booths.seectedLight || ((0, pA.default)(this.booth.labelColor || qa.boothLabelColor).isLight() ? "#000" : "#fff"), z.selectedRoute ? qa == null || (e = qa.colors) == null || (e = e.booths) == null || (e = e.wayfinding) == null ? void 0 : e.selected : qa == null || (t = qa.colors) == null || (t = t.booths) == null ? void 0 : t.selected]);
|
|
22331
22357
|
}
|
|
22332
22358
|
getBoothColor() {
|
|
22333
22359
|
let e = this.booth;
|
|
22334
22360
|
if (z.heatmap) return this.getHeatmapColor();
|
|
22335
22361
|
let t;
|
|
22336
|
-
t = e.error ? "#f33" :
|
|
22362
|
+
t = e.error ? "#f33" : Er.isRebooking ? this.defaultColor : e.selected ? this.selectedColorInterpolateFunc(this.boothShape.selectBgAnimationPart) : this.poiHighlighted ? qa.colors.booths.selected : this.defaultColor;
|
|
22337
22363
|
let n;
|
|
22338
22364
|
try {
|
|
22339
22365
|
n = (0, pA.default)(t === "none" ? "#f33" : t);
|
|
22340
22366
|
} catch {
|
|
22341
22367
|
n = (0, pA.default)(this.defaultColor);
|
|
22342
22368
|
}
|
|
22343
|
-
return (e.hover && !e.selected || e.selected &&
|
|
22369
|
+
return (e.hover && !e.selected || e.selected && Er.isRebooking) && (n = n.darken(.2).alpha(n.alpha() * 1.5)), (z.monochrome || z.heatmapYah) && (n = n.grayscale()), n;
|
|
22344
22370
|
}
|
|
22345
|
-
},
|
|
22371
|
+
}, lF(cF.prototype, "defaultColor", [oF], Object.getOwnPropertyDescriptor(cF.prototype, "defaultColor"), cF.prototype), lF(cF.prototype, "selectedColorInterpolateFunc", [sF], Object.getOwnPropertyDescriptor(cF.prototype, "selectedColorInterpolateFunc"), cF.prototype), cF);
|
|
22346
22372
|
//#endregion
|
|
22347
22373
|
//#region src/components/Map/drawing/config/config-booth-bookmark.ts
|
|
22348
|
-
function
|
|
22349
|
-
if (!z.kiosk) return new
|
|
22374
|
+
function mF(e) {
|
|
22375
|
+
if (!z.kiosk) return new hF(e);
|
|
22350
22376
|
}
|
|
22351
|
-
var
|
|
22377
|
+
var hF = class extends iF {
|
|
22352
22378
|
constructor(e) {
|
|
22353
|
-
super(e), this.shape = void 0, this.bookmarkId = void 0, this.canvas = void 0, this.rect = void 0, this.padding = void 0, this.getShape = () => this.shape, this.padding = this.booth.borderWidth / 2, this.rect = new Xn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = mo(
|
|
22379
|
+
super(e), this.shape = void 0, this.bookmarkId = void 0, this.canvas = void 0, this.rect = void 0, this.padding = void 0, this.getShape = () => this.shape, this.padding = this.booth.borderWidth / 2, this.rect = new Xn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), this.canvas = mo(gF, devicePixelRatio), this.bookmarkId = `bookmark-${this.booth.id}`, this.shape = Mk(this.canvas, this.rect, { hidden: !e.bookmarked }), this.shape.onScale = ({ pixelSize: e }) => this.layOutBookmark(e), dA(() => [
|
|
22354
22380
|
e.bookmarked,
|
|
22355
22381
|
vn.layersLoaded,
|
|
22356
22382
|
this.booth.skipDim
|
|
@@ -22365,15 +22391,15 @@ var fF = class extends tF {
|
|
|
22365
22391
|
vn.layersLoaded && (this.shape.hidden = !e, this.shape.dim = this.booth.skipDim ? 0 : void 0, sd(this.shape));
|
|
22366
22392
|
}
|
|
22367
22393
|
layOutBookmark(e) {
|
|
22368
|
-
return this.shape.bounds = YO(this.rect, po(
|
|
22394
|
+
return this.shape.bounds = YO(this.rect, po(gF), this.padding, e), this.shape.hidden ? [] : [this.shape];
|
|
22369
22395
|
}
|
|
22370
|
-
},
|
|
22396
|
+
}, gF = 11;
|
|
22371
22397
|
//#endregion
|
|
22372
22398
|
//#region src/components/Map/drawing/config/config-booth-border.ts
|
|
22373
|
-
function
|
|
22374
|
-
if (
|
|
22399
|
+
function _F(e) {
|
|
22400
|
+
if (qa.EXPO !== "confex20" && !(e.poiType || e.borderColor === "none" || e.borderWidth === 0 && !xn.borderWidth || e.paths && !e.pathsWithRect)) return new vF(e);
|
|
22375
22401
|
}
|
|
22376
|
-
var
|
|
22402
|
+
var vF = class extends iF {
|
|
22377
22403
|
constructor(e) {
|
|
22378
22404
|
super(e), this.shape = void 0;
|
|
22379
22405
|
let t = this.booth.rect, { x: n, y: r } = t.center, { width: i, height: a } = t.size, o = e.borderWidth || xn.borderWidth, s = [], c = (t, i, a, o) => {
|
|
@@ -22407,44 +22433,44 @@ var hF = class extends tF {
|
|
|
22407
22433
|
if (z.heatmap) {
|
|
22408
22434
|
let t = bn.getHeatmapColorForBooth(e);
|
|
22409
22435
|
if (e.selected) {
|
|
22410
|
-
let e =
|
|
22436
|
+
let e = qa.colors.booths.selectedBorder;
|
|
22411
22437
|
return e ? (0, pA.default)(e) : t.darken(.4);
|
|
22412
22438
|
}
|
|
22413
22439
|
return e.hover ? t.darken(.3) : t.darken(.2);
|
|
22414
22440
|
}
|
|
22415
|
-
return (0, pA.default)((e.selected ?
|
|
22441
|
+
return (0, pA.default)((e.selected ? qa.colors.booths.selectedBorder : e.borderColor) || qa.colors.booths.default);
|
|
22416
22442
|
}
|
|
22417
22443
|
getShape() {
|
|
22418
22444
|
return this.shape;
|
|
22419
22445
|
}
|
|
22420
|
-
},
|
|
22421
|
-
function
|
|
22422
|
-
return
|
|
22446
|
+
}, yF = /[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/u;
|
|
22447
|
+
function bF(e) {
|
|
22448
|
+
return yF.test(e);
|
|
22423
22449
|
}
|
|
22424
22450
|
//#endregion
|
|
22425
22451
|
//#region src/components/Map/drawing/config/label-inset.ts
|
|
22426
|
-
var
|
|
22427
|
-
function
|
|
22428
|
-
let n =
|
|
22452
|
+
var xF = .05;
|
|
22453
|
+
function SF(e, t) {
|
|
22454
|
+
let n = xF * Math.min(t.width, t.height);
|
|
22429
22455
|
return e > 0 && n > 0 ? Math.min(e / 2, n) : 0;
|
|
22430
22456
|
}
|
|
22431
22457
|
//#endregion
|
|
22432
22458
|
//#region src/components/Map/drawing/config/config-booth-labels.ts
|
|
22433
|
-
function
|
|
22434
|
-
return
|
|
22459
|
+
function CF() {
|
|
22460
|
+
return qa.EXPO === "tqs2021" ? "#000" : qa.boothLabelColor;
|
|
22435
22461
|
}
|
|
22436
|
-
var
|
|
22437
|
-
function
|
|
22438
|
-
if (!(!(e instanceof wk) || e.noLabels)) return new
|
|
22462
|
+
var wF = UN || j, TF = (e) => e.replace(" ", "").substring(0, 4).replace(/[0-9]/g, "3").replace(/[A-Z]/gi, "A"), EF = document.createElement("canvas").getContext("2d");
|
|
22463
|
+
function DF(e) {
|
|
22464
|
+
if (!(!(e instanceof wk) || e.noLabels)) return new IF(e);
|
|
22439
22465
|
}
|
|
22440
|
-
function
|
|
22466
|
+
function OF(e) {
|
|
22441
22467
|
return Array.isArray(e) && e.length > 0 ? Math.max(...e.map((e) => e)) : typeof e == "number" ? e : -0;
|
|
22442
22468
|
}
|
|
22443
|
-
var
|
|
22469
|
+
var kF = () => {
|
|
22444
22470
|
var e, t;
|
|
22445
22471
|
return !!((e = z.selectedRoute) != null && e.from && (t = z.selectedRoute) != null && t.to);
|
|
22446
22472
|
};
|
|
22447
|
-
function
|
|
22473
|
+
function AF(e, t = [], n = "normal") {
|
|
22448
22474
|
let r = [
|
|
22449
22475
|
...t,
|
|
22450
22476
|
{
|
|
@@ -22460,33 +22486,33 @@ function DF(e, t = [], n = "normal") {
|
|
|
22460
22486
|
].find((t) => +t.weight === e && t.style === n);
|
|
22461
22487
|
return (r == null ? void 0 : r.url) || Ek;
|
|
22462
22488
|
}
|
|
22463
|
-
function
|
|
22489
|
+
function jF(e, t) {
|
|
22464
22490
|
return Number(getComputedStyle(document.body).getPropertyValue(e)) || t;
|
|
22465
22491
|
}
|
|
22466
|
-
function
|
|
22492
|
+
function MF() {
|
|
22467
22493
|
return {
|
|
22468
|
-
main:
|
|
22469
|
-
details:
|
|
22494
|
+
main: jF(d, 500),
|
|
22495
|
+
details: jF(f, 300)
|
|
22470
22496
|
};
|
|
22471
22497
|
}
|
|
22472
|
-
function
|
|
22498
|
+
function NF() {
|
|
22473
22499
|
return {
|
|
22474
|
-
main:
|
|
22475
|
-
details:
|
|
22500
|
+
main: jF(n, 500),
|
|
22501
|
+
details: jF(r, 300)
|
|
22476
22502
|
};
|
|
22477
22503
|
}
|
|
22478
|
-
function
|
|
22479
|
-
return
|
|
22504
|
+
function PF() {
|
|
22505
|
+
return MF().main;
|
|
22480
22506
|
}
|
|
22481
|
-
var
|
|
22507
|
+
var FF = "Details", IF = class extends iF {
|
|
22482
22508
|
constructor(e) {
|
|
22483
|
-
super(e), this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = 0, this.maxZoomDotVisible = 0, this.exh = [], this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = [[], []], this.lines = [[], []], this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = ["", ""], this.canvasRect = new Xn(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding =
|
|
22509
|
+
super(e), this.canvasRect = void 0, this.paddingScaled = void 0, this.padding = void 0, this.minZoomDotVisible = 0, this.maxZoomDotVisible = 0, this.exh = [], this.shapeLabel = void 0, this.shapeDot = void 0, this.fontSizes = [[], []], this.lines = [[], []], this.topLeftAlignment = void 0, this.centerAlignment = void 0, this.prefixes = void 0, this.fontUrls = ["", ""], this.canvasRect = new Xn(e.rect.center, e.rect.size, e.rotate, e.elevation), this.paddingScaled = [4, 4], this.padding = SF(e.borderWidth || xn.borderWidth, e.rect.size), this.topLeftAlignment = {
|
|
22484
22510
|
horizontal: z.rtl ? "right" : "left",
|
|
22485
22511
|
vertical: "top"
|
|
22486
22512
|
}, this.centerAlignment = {
|
|
22487
22513
|
horizontal: "center",
|
|
22488
22514
|
vertical: "center"
|
|
22489
|
-
}, this.prefixes =
|
|
22515
|
+
}, this.prefixes = wF ? [
|
|
22490
22516
|
{
|
|
22491
22517
|
fontSize: 7,
|
|
22492
22518
|
name: "XS",
|
|
@@ -22499,7 +22525,7 @@ var MF = "Details", NF = class extends tF {
|
|
|
22499
22525
|
},
|
|
22500
22526
|
{
|
|
22501
22527
|
fontSize: 16,
|
|
22502
|
-
name:
|
|
22528
|
+
name: FF,
|
|
22503
22529
|
short: !1
|
|
22504
22530
|
}
|
|
22505
22531
|
] : [
|
|
@@ -22525,10 +22551,10 @@ var MF = "Details", NF = class extends tF {
|
|
|
22525
22551
|
},
|
|
22526
22552
|
{
|
|
22527
22553
|
fontSize: 18,
|
|
22528
|
-
name:
|
|
22554
|
+
name: FF,
|
|
22529
22555
|
short: !1
|
|
22530
22556
|
}
|
|
22531
|
-
], !(e instanceof Tk) && (this.exh =
|
|
22557
|
+
], !(e instanceof Tk) && (this.exh = Er.hideExhibitors ? [] : Er.onlyFeaturedExhibitors ? e.exhibitors.filter((e) => e.featured) : e.exhibitors, wF && this.optimizationLevel() >= 3 && (this.prefixes = this.prefixes.filter((e) => e.name !== "S")), this.createLines(), this.calculateFontSizeFactors(), this.shapeLabel = Nk(Pk(this.lines, this.booth.labelColor || CF(), 0, this.fontUrls), new Xn(this.booth.rect.center, this.booth.rect.size, this.booth.rotate, this.booth.elevation), [...this.paddingScaled], {
|
|
22532
22558
|
horizontal: "left",
|
|
22533
22559
|
vertical: "top"
|
|
22534
22560
|
}), this.shapeLabel.onScale = ({ pixelSize: e }) => this.layOutLabel(e), this.getShapeDot(), dA(() => vn.layersLoaded && this.booth.skipDim === !0, (e) => {
|
|
@@ -22548,7 +22574,7 @@ var MF = "Details", NF = class extends tF {
|
|
|
22548
22574
|
layOutLabel(e) {
|
|
22549
22575
|
var t, n;
|
|
22550
22576
|
let r = (t = this.lines[1]) == null ? [] : t, i = (n = this.fontSizes[1]) == null ? [] : n;
|
|
22551
|
-
if (
|
|
22577
|
+
if (qa.EXPO !== "wineparis2026") {
|
|
22552
22578
|
let t = this.exh.length ? this.topLeftAlignment : r.length ? e < i[i.length - 1].scaleFactor ? this.topLeftAlignment : this.centerAlignment : this.topLeftAlignment;
|
|
22553
22579
|
this.shapeLabel.alignment = t;
|
|
22554
22580
|
}
|
|
@@ -22564,33 +22590,33 @@ var MF = "Details", NF = class extends tF {
|
|
|
22564
22590
|
}, n.center, n), this.shapeDot.hidden = !t, [this.shapeDot];
|
|
22565
22591
|
}
|
|
22566
22592
|
getShapeDot() {
|
|
22567
|
-
this.shapeDot = Lk(this.canvasRect, this.booth.labelColor ||
|
|
22593
|
+
this.shapeDot = Lk(this.canvasRect, this.booth.labelColor || CF()), this.shapeDot.hidden = !0, this.shapeDot.onScale = ({ pixelSize: e }) => this.layOutDot(e), this.maxZoomDotVisible = Math.min(this.canvasRect.size.x / zk, this.canvasRect.size.y / zk);
|
|
22568
22594
|
}
|
|
22569
22595
|
createLines() {
|
|
22570
|
-
let e = this.booth, t = [], n = [], r =
|
|
22596
|
+
let e = this.booth, t = [], n = [], r = wF && this.optimizationLevel() >= 3 ? 1 : 3;
|
|
22571
22597
|
if (this.exh.length) {
|
|
22572
22598
|
let i = e.exhibitors.filter((e) => e.order === 0), a = e.exhibitors.filter((e) => e.order);
|
|
22573
22599
|
if (i.length > 0) t.push(...i.map((e) => e.name));
|
|
22574
|
-
else if (
|
|
22600
|
+
else if (Er.onlyFeaturedExhibitors) t.push(...e.exhibitors.filter((e) => e.featured).map((e) => e.name));
|
|
22575
22601
|
else if (a.length > 0) {
|
|
22576
22602
|
t.push(...a.map((e) => e.name));
|
|
22577
22603
|
let n = e.exhibitors.filter((e) => e.order === void 0);
|
|
22578
22604
|
n.length > 0 && t.push(_("and {{moreCount}} more", { moreCount: n.length }));
|
|
22579
|
-
} else e.exhibitors.length > r ? t.push(`${e.exhibitors.length} ${
|
|
22605
|
+
} else e.exhibitors.length > r ? t.push(`${e.exhibitors.length} ${Er.exhibitorTermPlural}`) : t.push(...e.exhibitors.map((e) => e.name));
|
|
22580
22606
|
n.push(e.title || e.name);
|
|
22581
22607
|
} else {
|
|
22582
22608
|
let r = !!e.exhibitors.length;
|
|
22583
22609
|
t.push(e.title || e.name), e.onHold ? n.push(_("On Hold")) : e.reserved ? n.push(_("Reserved")) : r || n.push(...e.exhibitors.map((e) => e.name).sort((e, t) => e > t ? 1 : -1)), e.size && n.push(e.size.indexOf("/") > -1 ? e.size.substring(0, e.size.indexOf("/")).trim() : e.size), e.price && e.price !== "0" && !z.previewMode && n.push(e.price);
|
|
22584
22610
|
}
|
|
22585
22611
|
z.rtl && t.forEach((e, n) => {
|
|
22586
|
-
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""),
|
|
22612
|
+
(e.endsWith(".") || e.endsWith("!") || e.endsWith("?")) && (t[n] = t[n] + ""), bF(e) && (t[n] = t[n] + " ");
|
|
22587
22613
|
}), this.lines = [t, n];
|
|
22588
22614
|
}
|
|
22589
22615
|
calculateFontSizeFactors() {
|
|
22590
|
-
let e = this.lines[0], t, n = this.canvasRect, r = [], i = [], a = this.prefixes.slice(0, this.exh.length ? this.prefixes.length : this.prefixes.length - 1), { main: o, details: s } = this.exh.length ?
|
|
22616
|
+
let e = this.lines[0], t, n = this.canvasRect, r = [], i = [], a = this.prefixes.slice(0, this.exh.length ? this.prefixes.length : this.prefixes.length - 1), { main: o, details: s } = this.exh.length ? NF() : MF();
|
|
22591
22617
|
for (let { fontSize: c, short: l } of a) {
|
|
22592
|
-
let a = c, u = .9 * c, d = lo(a, o), f = lo(u, s), p =
|
|
22593
|
-
if (this.exh.length) t = l ? [] : this.lines[1], g = Math.max(...e.map((e) => this.measureText(e, d).width), ...t.map((e) => this.measureText(e, f).width)), m = Math.max(...e.map((e) => this.exh.length ? this.measureText(
|
|
22618
|
+
let a = c, u = .9 * c, d = lo(a, o), f = lo(u, s), p = Er.hideExhibitorBoothNumber || l, m, h, g, _;
|
|
22619
|
+
if (this.exh.length) t = l ? [] : this.lines[1], g = Math.max(...e.map((e) => this.measureText(e, d).width), ...t.map((e) => this.measureText(e, f).width)), m = Math.max(...e.map((e) => this.exh.length ? this.measureText(TF(e), d).width : this.measureText(TF(e), d).width + 3 + 3), ...t.map((e) => this.measureText(TF(e), f).width)), _ = a * e.length + u * t.length + (e.length + t.length) + 3, h = p ? _ / e.length : null;
|
|
22594
22620
|
else {
|
|
22595
22621
|
let t = e[0].replace(/[0-9]/g, "3").replace(/[A-Z]/g, "A");
|
|
22596
22622
|
g = this.measureText(t, d).width + 3 + 3, _ = a + 4;
|
|
@@ -22607,44 +22633,44 @@ var MF = "Details", NF = class extends tF {
|
|
|
22607
22633
|
});
|
|
22608
22634
|
}
|
|
22609
22635
|
if (!this.exh.length) {
|
|
22610
|
-
let e = r[r.length - 1], t = this.prefixes.find((e) => e.name ===
|
|
22636
|
+
let e = r[r.length - 1], t = this.prefixes.find((e) => e.name === FF);
|
|
22611
22637
|
t && (r.push({
|
|
22612
22638
|
scaleFactor: e.scaleFactor / 1.8,
|
|
22613
22639
|
value: t.fontSize,
|
|
22614
22640
|
lines: []
|
|
22615
22641
|
}), i.push({
|
|
22616
22642
|
scaleFactor: e.scaleFactor / 1.8,
|
|
22617
|
-
value: t.fontSize * (
|
|
22643
|
+
value: t.fontSize * (wF ? 1 : .9),
|
|
22618
22644
|
lines: []
|
|
22619
22645
|
}));
|
|
22620
22646
|
}
|
|
22621
22647
|
let c = Ok();
|
|
22622
|
-
this.fontUrls = [
|
|
22648
|
+
this.fontUrls = [AF(o, c), AF(s, c)], this.minZoomDotVisible = OF(r.map((e) => e.scaleFactor)), this.fontSizes = [r, i];
|
|
22623
22649
|
}
|
|
22624
22650
|
calcArea(e, t) {
|
|
22625
22651
|
return Math.floor(Math.max(0, e) * Math.max(0, t) / 1e3);
|
|
22626
22652
|
}
|
|
22627
22653
|
optimizationLevel() {
|
|
22628
|
-
return Math.min(
|
|
22654
|
+
return Math.min(Er.viewOptimizationLevel ? Er.viewOptimizationLevel : Math.floor(this.calcArea(this.canvasRect.size.x, this.canvasRect.size.y) / 5e3), 3);
|
|
22629
22655
|
}
|
|
22630
22656
|
measureText(e, t) {
|
|
22631
|
-
return
|
|
22657
|
+
return EF.font = t, EF.measureText(e);
|
|
22632
22658
|
}
|
|
22633
|
-
},
|
|
22659
|
+
}, LF = document.createElement("canvas").getContext("2d"), RF = class {
|
|
22634
22660
|
constructor(e, t, n) {
|
|
22635
|
-
this.maxMultilineFontSize = void 0, this.baseFontSize = void 0, this.fontSizes = void 0, this.ctx = void 0, this.spaceWidth = void 0, this.baseFontSize = this.maxMultilineFontSize = n, this.fontSizes = t, this.ctx =
|
|
22661
|
+
this.maxMultilineFontSize = void 0, this.baseFontSize = void 0, this.fontSizes = void 0, this.ctx = void 0, this.spaceWidth = void 0, this.baseFontSize = this.maxMultilineFontSize = n, this.fontSizes = t, this.ctx = LF, this.ctx.textAlign = "center", this.ctx.textBaseline = "alphabetic", this.ctx.font = e(this.baseFontSize), this.spaceWidth = this.ctx.measureText(" ").width;
|
|
22636
22662
|
}
|
|
22637
22663
|
getStepsForRect(e, t, n) {
|
|
22638
22664
|
let r = e.split(/\s+/), i = r.map((e) => this.ctx.measureText(e).width), a = [], o = Infinity, s = 0;
|
|
22639
22665
|
for (let e of this.fontSizes) {
|
|
22640
|
-
let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f =
|
|
22666
|
+
let c = e, l = e / this.baseFontSize, u = i.map((e) => e * l), d = this.spaceWidth * l, f = zF(u, d, e > this.maxMultilineFontSize ? 1 : Infinity).filter((e) => e);
|
|
22641
22667
|
for (let i = 0; i < f.length; i++) {
|
|
22642
22668
|
let l = f[i], p = l, m = i + 1, h = c * m, g = p / t, _ = h / n, v = Math.max(_, g);
|
|
22643
22669
|
if (v > o || m < s) continue;
|
|
22644
22670
|
o = v, s = m;
|
|
22645
|
-
let y =
|
|
22671
|
+
let y = HF(VF(l, m, u, d), u, d);
|
|
22646
22672
|
if (!y) continue;
|
|
22647
|
-
let b =
|
|
22673
|
+
let b = WF(y, r);
|
|
22648
22674
|
a.push({
|
|
22649
22675
|
scaleFactor: v,
|
|
22650
22676
|
value: e,
|
|
@@ -22655,12 +22681,12 @@ var MF = "Details", NF = class extends tF {
|
|
|
22655
22681
|
return a;
|
|
22656
22682
|
}
|
|
22657
22683
|
};
|
|
22658
|
-
function
|
|
22684
|
+
function zF(e, t, n) {
|
|
22659
22685
|
let r = [], i = 0, a = 1, o = Infinity, s;
|
|
22660
|
-
for (; (s =
|
|
22686
|
+
for (; (s = BF(o, e, t)) && s.length <= n;) a !== s.length && (r[a - 1] = i), a = s.length, i = Math.max(...s), o = i - 1;
|
|
22661
22687
|
return r[a - 1] = i, r;
|
|
22662
22688
|
}
|
|
22663
|
-
function
|
|
22689
|
+
function BF(e, t, n) {
|
|
22664
22690
|
let r = [], i = 0, a = -1;
|
|
22665
22691
|
function o() {
|
|
22666
22692
|
a++, i = 0;
|
|
@@ -22676,7 +22702,7 @@ function LF(e, t, n) {
|
|
|
22676
22702
|
}
|
|
22677
22703
|
return r;
|
|
22678
22704
|
}
|
|
22679
|
-
function
|
|
22705
|
+
function VF(e, t, n, r) {
|
|
22680
22706
|
return i(t, 0);
|
|
22681
22707
|
function i(e, t) {
|
|
22682
22708
|
let r = a(t), o = [];
|
|
@@ -22705,43 +22731,43 @@ function RF(e, t, n, r) {
|
|
|
22705
22731
|
}
|
|
22706
22732
|
}
|
|
22707
22733
|
}
|
|
22708
|
-
function
|
|
22734
|
+
function HF(e, t, n) {
|
|
22709
22735
|
let r = e.map((e) => ({
|
|
22710
22736
|
ll: e,
|
|
22711
|
-
dd:
|
|
22737
|
+
dd: UF(e.map((e) => e.map((e) => t[e]).reduce((e, t, r) => e + (r > 0 ? n : 0) + t), 0))
|
|
22712
22738
|
}));
|
|
22713
22739
|
return r.sort((e, t) => e.dd - t.dd), r.map((e) => e.ll)[0];
|
|
22714
22740
|
}
|
|
22715
|
-
function
|
|
22741
|
+
function UF(e) {
|
|
22716
22742
|
let t = e.length, n = e.reduce((e, t) => e + t) / t;
|
|
22717
22743
|
return Math.sqrt(e.map((e) => (e - n) ** 2).reduce((e, t) => e + t) / t);
|
|
22718
22744
|
}
|
|
22719
|
-
function
|
|
22745
|
+
function WF(e, t) {
|
|
22720
22746
|
return e.map((e) => e.map((e) => t[e]).reduce((e, t, n) => e + (n > 0 ? " " : "") + t), "");
|
|
22721
22747
|
}
|
|
22722
22748
|
//#endregion
|
|
22723
22749
|
//#region src/components/Map/drawing/config/config-booth-labels-special.ts
|
|
22724
|
-
var
|
|
22750
|
+
var GF = [
|
|
22725
22751
|
18,
|
|
22726
22752
|
16,
|
|
22727
22753
|
14,
|
|
22728
22754
|
12,
|
|
22729
22755
|
10,
|
|
22730
22756
|
7
|
|
22731
|
-
],
|
|
22732
|
-
function
|
|
22733
|
-
if (!(!(e instanceof Tk) || e.noLabels)) return new
|
|
22757
|
+
], KF = 14;
|
|
22758
|
+
function qF(e) {
|
|
22759
|
+
if (!(!(e instanceof Tk) || e.noLabels)) return new JF(e);
|
|
22734
22760
|
}
|
|
22735
|
-
var
|
|
22761
|
+
var JF = class extends IF {
|
|
22736
22762
|
constructor(e) {
|
|
22737
22763
|
super(e), this.steps = [], this.labelIsVertical = void 0, this.text = "";
|
|
22738
|
-
let t = this.booth.rect, n =
|
|
22739
|
-
x: -(t.size.width *
|
|
22740
|
-
y: -(t.size.height *
|
|
22764
|
+
let t = this.booth.rect, n = AF(Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-special-weight")) || Number(getComputedStyle(document.body).getPropertyValue("--expofp-booth-main-weight")) || 500, Ok()), r = t.expand({
|
|
22765
|
+
x: -(t.size.width * xF + this.padding),
|
|
22766
|
+
y: -(t.size.height * xF + this.padding)
|
|
22741
22767
|
});
|
|
22742
|
-
this.setText(), this.canvasRect = new Xn(r.center, r.size, e.rotate, e.elevation), this.setFactors(this.text), this.labelIsVertical = Math.abs(Math.abs(e.rotate) - Math.PI / 2) < .01, this.fontSizes = [this.steps, []], this.minZoomDotVisible =
|
|
22768
|
+
this.setText(), this.canvasRect = new Xn(r.center, r.size, e.rotate, e.elevation), this.setFactors(this.text), this.labelIsVertical = Math.abs(Math.abs(e.rotate) - Math.PI / 2) < .01, this.fontSizes = [this.steps, []], this.minZoomDotVisible = OF(this.steps.map((e) => e.scaleFactor)), this.shapeLabel = Nk([{
|
|
22743
22769
|
text: this.text,
|
|
22744
|
-
color: e.labelColor ||
|
|
22770
|
+
color: e.labelColor || qa.boothLabelColor,
|
|
22745
22771
|
fontUrl: n,
|
|
22746
22772
|
fontSize: 0
|
|
22747
22773
|
}], new Xn(r.center, r.size, e.rotate, e.elevation), [this.padding, this.padding], {
|
|
@@ -22776,47 +22802,47 @@ var GF = class extends NF {
|
|
|
22776
22802
|
}, n.center, n), this.shapeDot.hidden = !!t, [this.shapeDot];
|
|
22777
22803
|
}
|
|
22778
22804
|
setFactors(e) {
|
|
22779
|
-
this.steps = new
|
|
22805
|
+
this.steps = new RF(lo, GF, KF).getStepsForRect(e, this.canvasRect.size.x, this.canvasRect.size.y);
|
|
22780
22806
|
}
|
|
22781
22807
|
setText() {
|
|
22782
22808
|
let e = this.booth.title || this.booth.name, t = `Clicks: ${bn.getTotalClicksByBooth(this.booth)}`;
|
|
22783
22809
|
this.text = z.heatmap ? `${e} - ${t}` : e;
|
|
22784
22810
|
}
|
|
22785
|
-
},
|
|
22786
|
-
function
|
|
22787
|
-
return
|
|
22788
|
-
|
|
22811
|
+
}, YF = Cn();
|
|
22812
|
+
function XF(e, t) {
|
|
22813
|
+
return YF().set(e, t), () => {
|
|
22814
|
+
YF().get(e) === t && YF().delete(e);
|
|
22789
22815
|
};
|
|
22790
22816
|
}
|
|
22791
|
-
function
|
|
22792
|
-
return [...
|
|
22817
|
+
function ZF() {
|
|
22818
|
+
return [...YF().values()].map((e) => e());
|
|
22793
22819
|
}
|
|
22794
22820
|
//#endregion
|
|
22795
22821
|
//#region src/utils/getLogoUrl.ts
|
|
22796
|
-
function
|
|
22822
|
+
function QF(e) {
|
|
22797
22823
|
var t, n, r;
|
|
22798
|
-
let i =
|
|
22824
|
+
let i = $F();
|
|
22799
22825
|
return i === "tiny" ? (t = (n = e.tinyUrl) == null ? e.smallUrl : n) == null ? e.url : t : i === "small" ? (r = e.smallUrl) == null ? e.url : r : e.url;
|
|
22800
22826
|
}
|
|
22801
|
-
function
|
|
22802
|
-
if (
|
|
22827
|
+
function $F() {
|
|
22828
|
+
if (UN || j) return Er.viewOptimizationLevel ? Er.viewOptimizationLevel >= 5 ? "tiny" : "small" : void 0;
|
|
22803
22829
|
}
|
|
22804
|
-
function
|
|
22830
|
+
function eI(e) {
|
|
22805
22831
|
var t, n;
|
|
22806
22832
|
return wn((t = (n = e.transform) == null || (n = n.animVal[0]) == null ? void 0 : n.angle) == null ? 0 : t);
|
|
22807
22833
|
}
|
|
22808
|
-
function
|
|
22834
|
+
function tI(e) {
|
|
22809
22835
|
var t;
|
|
22810
|
-
let n =
|
|
22836
|
+
let n = B.fromSvg(e);
|
|
22811
22837
|
return {
|
|
22812
22838
|
url: (t = e.getAttribute("data-model-3d")) == null ? "" : t,
|
|
22813
|
-
bounds: Xn.fromMinMax(n.min, n.max,
|
|
22839
|
+
bounds: Xn.fromMinMax(n.min, n.max, eI(e))
|
|
22814
22840
|
};
|
|
22815
22841
|
}
|
|
22816
22842
|
//#endregion
|
|
22817
22843
|
//#region src/components/Map/drawing/config/loadBoothsImages.ts
|
|
22818
|
-
async function
|
|
22819
|
-
let e =
|
|
22844
|
+
async function nI() {
|
|
22845
|
+
let e = ZF();
|
|
22820
22846
|
await Promise.all(e.map(async (e) => {
|
|
22821
22847
|
let t = await e;
|
|
22822
22848
|
if (!(t != null && t.children.length)) return;
|
|
@@ -22824,30 +22850,30 @@ async function $F() {
|
|
|
22824
22850
|
n.children.push(...r), sd(n);
|
|
22825
22851
|
}));
|
|
22826
22852
|
}
|
|
22827
|
-
var
|
|
22828
|
-
function
|
|
22853
|
+
var rI = (e) => `${e}:images`, iI = (e) => `${e}:models`;
|
|
22854
|
+
function aI(e) {
|
|
22829
22855
|
let t = /* @__PURE__ */ new Map();
|
|
22830
22856
|
for (let r of e) {
|
|
22831
22857
|
var n;
|
|
22832
22858
|
if (!r.rect) continue;
|
|
22833
|
-
let e = (n =
|
|
22859
|
+
let e = (n = vP(r)) == null ? void 0 : n.logo;
|
|
22834
22860
|
e && t.set(r.id, {
|
|
22835
|
-
preferred:
|
|
22861
|
+
preferred: QF(e),
|
|
22836
22862
|
fallback: e.url
|
|
22837
22863
|
});
|
|
22838
22864
|
}
|
|
22839
22865
|
return t;
|
|
22840
22866
|
}
|
|
22841
|
-
function
|
|
22867
|
+
function oI(e) {
|
|
22842
22868
|
var t;
|
|
22843
|
-
let n =
|
|
22869
|
+
let n = Aa(Va(e)).select(`[data-layer="${e.name}"]`), r = (((t = Dr().__fpVersion) == null ? 0 : t) > 5 ? n.selectAll(":scope > image, :scope > g:not([data-layer]) image").nodes() : n.selectAll(":scope > g[data-is-editable='false'] image").nodes()).filter(Boolean), i = [], a = [];
|
|
22844
22870
|
for (let e of r) (e.hasAttribute("data-model-3d") ? a : i).push(e);
|
|
22845
22871
|
return {
|
|
22846
22872
|
icons: i,
|
|
22847
22873
|
models: a
|
|
22848
22874
|
};
|
|
22849
22875
|
}
|
|
22850
|
-
function
|
|
22876
|
+
function sI(e, t) {
|
|
22851
22877
|
let n = e.rect, r = n.size.width, i = n.size.height, a = i ? r / i : 1, o, s, c, l = .9;
|
|
22852
22878
|
a > t ? (s = i * l, o = s * t) : (o = r * l, s = o / t);
|
|
22853
22879
|
let u = e.rotate || 0;
|
|
@@ -22862,35 +22888,35 @@ function iI(e, t) {
|
|
|
22862
22888
|
}
|
|
22863
22889
|
//#endregion
|
|
22864
22890
|
//#region src/components/Map/drawing/config/config-booths.ts
|
|
22865
|
-
var
|
|
22866
|
-
function
|
|
22891
|
+
var cI = (0, Jc.default)("efp:booth-logos");
|
|
22892
|
+
function lI(e, t) {
|
|
22867
22893
|
return ((t) => {
|
|
22868
|
-
let n = e, r = [], i = [], a = [], o = [], s = [], c =
|
|
22894
|
+
let n = e, r = [], i = [], a = [], o = [], s = [], c = rI(n), l = {
|
|
22869
22895
|
name: c,
|
|
22870
22896
|
children: []
|
|
22871
22897
|
};
|
|
22872
22898
|
for (let e of t) {
|
|
22873
22899
|
var u, d, f, p;
|
|
22874
|
-
let t = (u =
|
|
22875
|
-
t && (r.push(...t),
|
|
22876
|
-
let n = (d =
|
|
22900
|
+
let t = (u = uF(e)) == null ? void 0 : u.getShape();
|
|
22901
|
+
t && (r.push(...t), oP(e, t));
|
|
22902
|
+
let n = (d = DF(e)) == null ? void 0 : d.getShape();
|
|
22877
22903
|
n && i.push(...n);
|
|
22878
|
-
let c = (f =
|
|
22879
|
-
if (c && a.push(...c), !
|
|
22904
|
+
let c = (f = qF(e)) == null ? void 0 : f.getShape();
|
|
22905
|
+
if (c && a.push(...c), !qa.borderless) {
|
|
22880
22906
|
var m;
|
|
22881
|
-
let t = (m =
|
|
22907
|
+
let t = (m = _F(e)) == null ? void 0 : m.getShape();
|
|
22882
22908
|
t && o.push(t);
|
|
22883
22909
|
}
|
|
22884
|
-
let l = (p =
|
|
22910
|
+
let l = (p = mF(e)) == null ? void 0 : p.getShape();
|
|
22885
22911
|
l && s.push(l);
|
|
22886
22912
|
}
|
|
22887
22913
|
let h = i.filter((e) => e.lines), g = a.filter((e) => e.lines), _ = i.filter((e) => e.source), v = a.filter((e) => e.source);
|
|
22888
22914
|
if (!z.hideLogoInBooth) {
|
|
22889
|
-
let e =
|
|
22890
|
-
|
|
22891
|
-
let t = await
|
|
22915
|
+
let e = aI(t), n = C();
|
|
22916
|
+
XF(c, async () => {
|
|
22917
|
+
let t = await XN(e, 350);
|
|
22892
22918
|
if (C() !== n) return;
|
|
22893
|
-
let r = [], i =
|
|
22919
|
+
let r = [], i = bP(), a = await Promise.all([...t].map(async ([e, t]) => {
|
|
22894
22920
|
let n = xn.boothById.get(e);
|
|
22895
22921
|
return [
|
|
22896
22922
|
e,
|
|
@@ -22901,14 +22927,14 @@ function oI(e, t) {
|
|
|
22901
22927
|
if (C() === n) {
|
|
22902
22928
|
for (let [e, t, n] of a) {
|
|
22903
22929
|
if (!t) {
|
|
22904
|
-
|
|
22930
|
+
cI("dropped a logo: no booth has id %s", e);
|
|
22905
22931
|
continue;
|
|
22906
22932
|
}
|
|
22907
22933
|
if (!n) {
|
|
22908
|
-
|
|
22934
|
+
cI("dropped the logo of booth %s: the image could not be read", e);
|
|
22909
22935
|
continue;
|
|
22910
22936
|
}
|
|
22911
|
-
let { blob: i, aspectRatio: a } = n, { bounds: o } =
|
|
22937
|
+
let { blob: i, aspectRatio: a } = n, { bounds: o } = sI(t, a), s = Mk(i, o), c = t.borderWidth || xn.borderWidth, l = t.rect.expand(-c), u = new Xn(l.center, l.size, t.rotate);
|
|
22912
22938
|
s.onRoll = ZO(s.bounds, u) ? ({ roll: e }) => tk(s, e) ? [s] : void 0 : ({ roll: e }) => $O(s, e) ? [s] : void 0, t.shapes.push(s), r.push(s);
|
|
22913
22939
|
}
|
|
22914
22940
|
return {
|
|
@@ -22939,7 +22965,7 @@ function oI(e, t) {
|
|
|
22939
22965
|
}
|
|
22940
22966
|
]
|
|
22941
22967
|
};
|
|
22942
|
-
dA(() => vn.layersLoaded &&
|
|
22968
|
+
dA(() => vn.layersLoaded && kF(), (e) => {
|
|
22943
22969
|
y.dim = e ? 0 : void 0, sd(y);
|
|
22944
22970
|
}, { fireImmediately: !0 });
|
|
22945
22971
|
let b = [];
|
|
@@ -22949,9 +22975,9 @@ function oI(e, t) {
|
|
|
22949
22975
|
{
|
|
22950
22976
|
name: `${e}boothBackground`,
|
|
22951
22977
|
children: r,
|
|
22952
|
-
onPointerMove:
|
|
22953
|
-
onPointerOut:
|
|
22954
|
-
onClick:
|
|
22978
|
+
onPointerMove: cP,
|
|
22979
|
+
onPointerOut: lP,
|
|
22980
|
+
onClick: uP
|
|
22955
22981
|
},
|
|
22956
22982
|
y,
|
|
22957
22983
|
l,
|
|
@@ -22973,7 +22999,7 @@ function oI(e, t) {
|
|
|
22973
22999
|
}
|
|
22974
23000
|
//#endregion
|
|
22975
23001
|
//#region src/components/Map/drawing/config/poi-pin-shape.ts
|
|
22976
|
-
var
|
|
23002
|
+
var uI = {
|
|
22977
23003
|
frame: {
|
|
22978
23004
|
width: 82,
|
|
22979
23005
|
height: 96
|
|
@@ -22991,7 +23017,7 @@ var sI = {
|
|
|
22991
23017
|
offsetY: 2,
|
|
22992
23018
|
blur: 4
|
|
22993
23019
|
}
|
|
22994
|
-
},
|
|
23020
|
+
}, dI = {
|
|
22995
23021
|
frame: {
|
|
22996
23022
|
width: 102,
|
|
22997
23023
|
height: 137
|
|
@@ -23010,7 +23036,7 @@ var sI = {
|
|
|
23010
23036
|
blur: 5
|
|
23011
23037
|
}
|
|
23012
23038
|
};
|
|
23013
|
-
function
|
|
23039
|
+
function fI(e, t, n) {
|
|
23014
23040
|
let r = t / e.bodyWidth * n, i = Math.ceil(e.frame.height * r), a = (e.tipApexY + e.strokeWidth / 2) * r;
|
|
23015
23041
|
return {
|
|
23016
23042
|
scale: r,
|
|
@@ -23019,7 +23045,7 @@ function lI(e, t, n) {
|
|
|
23019
23045
|
tipOffset: (i - a) / n
|
|
23020
23046
|
};
|
|
23021
23047
|
}
|
|
23022
|
-
function
|
|
23048
|
+
function pI(e) {
|
|
23023
23049
|
try {
|
|
23024
23050
|
return (0, pA.default)(e).darken(.41).desaturate(.4).hex();
|
|
23025
23051
|
} catch {
|
|
@@ -23028,8 +23054,8 @@ function uI(e) {
|
|
|
23028
23054
|
}
|
|
23029
23055
|
//#endregion
|
|
23030
23056
|
//#region src/components/Map/drawing/config/poi-pin.ts
|
|
23031
|
-
var
|
|
23032
|
-
function
|
|
23057
|
+
var mI = .6, hI = "#ffffff", gI = "rgba(0, 0, 0, 0.35)";
|
|
23058
|
+
function _I(e, t) {
|
|
23033
23059
|
let n = document.createElement("canvas");
|
|
23034
23060
|
n.width = t.canvasWidth, n.height = t.canvasHeight;
|
|
23035
23061
|
let r = n.getContext("2d");
|
|
@@ -23039,35 +23065,35 @@ function mI(e, t) {
|
|
|
23039
23065
|
path: new Path2D(e.outline)
|
|
23040
23066
|
};
|
|
23041
23067
|
}
|
|
23042
|
-
function
|
|
23043
|
-
e.shadowColor =
|
|
23068
|
+
function vI(e, t, n) {
|
|
23069
|
+
e.shadowColor = gI, e.shadowOffsetY = t.shadow.offsetY * n, e.shadowBlur = t.shadow.blur * n;
|
|
23044
23070
|
}
|
|
23045
|
-
function
|
|
23071
|
+
function yI(e) {
|
|
23046
23072
|
e.shadowColor = "transparent", e.shadowOffsetY = 0, e.shadowBlur = 0;
|
|
23047
23073
|
}
|
|
23048
|
-
function
|
|
23074
|
+
function bI(e) {
|
|
23049
23075
|
return e.getContext("2d").getImageData(0, 0, e.width, e.height);
|
|
23050
23076
|
}
|
|
23051
|
-
function
|
|
23052
|
-
let i =
|
|
23053
|
-
if (
|
|
23054
|
-
let t = 2 * i.head.innerRadius *
|
|
23055
|
-
r.globalCompositeOperation = "source-in", r.fillStyle =
|
|
23077
|
+
function xI(e, t, n, r) {
|
|
23078
|
+
let i = uI, a = fI(i, t, n), { canvas: s, ctx: c, path: l } = _I(i, a), { x: u, y: d } = i.head;
|
|
23079
|
+
if (vI(c, i, a.scale), c.fillStyle = hI, c.fill(l), yI(c), c.beginPath(), c.arc(u, d, i.head.innerRadius, 0, 2 * Math.PI), c.fillStyle = o, c.fillStyle = r, c.fill(), e) {
|
|
23080
|
+
let t = 2 * i.head.innerRadius * mI * a.scale, n = yo(e, t, t, 1), r = n.getContext("2d");
|
|
23081
|
+
r.globalCompositeOperation = "source-in", r.fillStyle = hI, r.fillRect(0, 0, n.width, n.height);
|
|
23056
23082
|
let o = n.width / a.scale, s = n.height / a.scale;
|
|
23057
23083
|
c.drawImage(n, u - o / 2, d - s / 2, o, s);
|
|
23058
23084
|
}
|
|
23059
|
-
return
|
|
23085
|
+
return bI(s);
|
|
23060
23086
|
}
|
|
23061
|
-
function
|
|
23062
|
-
let r =
|
|
23063
|
-
return
|
|
23087
|
+
function SI(e, t, n) {
|
|
23088
|
+
let r = dI, i = fI(r, e, t), { canvas: a, ctx: o, path: s } = _I(r, i), c = pI(n);
|
|
23089
|
+
return vI(o, r, i.scale), o.fillStyle = n, o.fill(s), yI(o), o.strokeStyle = c, o.lineWidth = r.strokeWidth, o.lineJoin = "round", o.stroke(s), o.beginPath(), o.arc(r.head.x, r.head.y, r.head.innerRadius, 0, 2 * Math.PI), o.fillStyle = c, o.fill(), bI(a);
|
|
23064
23090
|
}
|
|
23065
23091
|
//#endregion
|
|
23066
23092
|
//#region src/components/Map/drawing/config/config-outdoor-poi.ts
|
|
23067
|
-
var
|
|
23068
|
-
function
|
|
23093
|
+
var CI = (e) => !!e && e !== "transparent" && e !== "none";
|
|
23094
|
+
function wI(e) {
|
|
23069
23095
|
var t, n, r;
|
|
23070
|
-
let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(
|
|
23096
|
+
let i = ((t = e.paths) == null ? [] : t).map((e) => e.color).find(CI), a = ((n = e.shapes) == null ? [] : n).map((e) => e.color).find(CI), o = (r = i == null ? a : i) == null ? null : r;
|
|
23071
23097
|
if (!o) return null;
|
|
23072
23098
|
try {
|
|
23073
23099
|
return z.monochrome ? (0, pA.default)(o).grayscale().rgb().string() : o;
|
|
@@ -23075,13 +23101,13 @@ function xI(e) {
|
|
|
23075
23101
|
return o;
|
|
23076
23102
|
}
|
|
23077
23103
|
}
|
|
23078
|
-
function
|
|
23079
|
-
return
|
|
23104
|
+
function TI() {
|
|
23105
|
+
return Er.enableExperimentalOutdoorMarkers === !0;
|
|
23080
23106
|
}
|
|
23081
|
-
function
|
|
23107
|
+
function EI(e) {
|
|
23082
23108
|
return e.name.toLowerCase().startsWith(s.toLowerCase());
|
|
23083
23109
|
}
|
|
23084
|
-
async function
|
|
23110
|
+
async function DI(e) {
|
|
23085
23111
|
var t, n;
|
|
23086
23112
|
let r = R.poiMarkerStore.generation, i = window.devicePixelRatio || 1, a = [], s = new Map(((t = (n = R.poiTypeStore) == null ? void 0 : n.poiTypes) == null ? [] : t).map((e) => [e.id, e])), c = /* @__PURE__ */ new Map(), l = (e) => {
|
|
23087
23113
|
let t = c.get(e);
|
|
@@ -23098,49 +23124,40 @@ async function wI(e) {
|
|
|
23098
23124
|
x: u.x,
|
|
23099
23125
|
y: u.y
|
|
23100
23126
|
},
|
|
23101
|
-
icon:
|
|
23127
|
+
icon: xI(c, 40, i, (n = wI(e)) == null ? o : n)
|
|
23102
23128
|
});
|
|
23103
23129
|
})), R.poiMarkerStore.generation === r && R.poiMarkerStore.addMany(a);
|
|
23104
23130
|
}
|
|
23105
|
-
function
|
|
23106
|
-
return !
|
|
23131
|
+
function OI(e, t) {
|
|
23132
|
+
return !TI() || !EI(e) ? !1 : (R.maplibreStore.showMaplibre && DI(t.filter((e) => e.poiTypeId && e.rect)), !0);
|
|
23107
23133
|
}
|
|
23108
23134
|
//#endregion
|
|
23109
23135
|
//#region src/components/Map/drawing/config/config-load-layer.ts
|
|
23110
|
-
function
|
|
23136
|
+
function kI(e) {
|
|
23111
23137
|
return e.childLayers.length ? e.childLayers : ON(e, e.basePriority, 15).layers;
|
|
23112
23138
|
}
|
|
23113
|
-
async function
|
|
23139
|
+
async function AI(e, t) {
|
|
23114
23140
|
let n = [], r = _A(R, e);
|
|
23115
|
-
if (
|
|
23116
|
-
let i = await
|
|
23141
|
+
if (OI(e, r)) return e.loaded = !0, e.configured = !0, e.children = [], Fk(e.name, [], { hidden: !0 });
|
|
23142
|
+
let i = await VN(e), a = [], o = Qk(r, 350), s = xn.booths.filter((t) => t.rect && (!t.layer || t.layer === e || t.layer.childLayers.includes(e)) && t.exhibitors.find((e) => {
|
|
23117
23143
|
var t;
|
|
23118
23144
|
return !!e.logoInBooth && !!((t = e.logo) != null && t.url);
|
|
23119
23145
|
}) && !z.hideLogoInBooth), c = new Map(s.map((e) => [e, e.noLabels]));
|
|
23120
23146
|
s.forEach((e) => e.noLabels = !0), r.length && o.forEach((t, n) => {
|
|
23121
|
-
a.push(
|
|
23147
|
+
a.push(lI(`${e.name}:${p}:${n}`, t));
|
|
23122
23148
|
});
|
|
23123
23149
|
for (let [e, t] of c) e.noLabels = t;
|
|
23124
23150
|
e.loaded = !0;
|
|
23125
|
-
let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d =
|
|
23151
|
+
let l = i.children.find((e) => e.name === "bg"), u = i.children.find((e) => e.name === "fg"), d = rI(e.name), { icons: f, models: m } = oI(e), h = {
|
|
23126
23152
|
name: d,
|
|
23127
23153
|
children: []
|
|
23128
23154
|
}, g = {
|
|
23129
|
-
name:
|
|
23130
|
-
children: m.map(
|
|
23155
|
+
name: iI(e.name),
|
|
23156
|
+
children: m.map(tI)
|
|
23131
23157
|
};
|
|
23132
|
-
f.length &&
|
|
23133
|
-
let e = await
|
|
23134
|
-
for (let n of e)
|
|
23135
|
-
let { bounds: { x: e, y: r, height: i, angle: a, width: o }, source: s } = n, c = Xn.fromMinMax({
|
|
23136
|
-
x: e,
|
|
23137
|
-
y: r
|
|
23138
|
-
}, {
|
|
23139
|
-
x: e + o,
|
|
23140
|
-
y: r + i
|
|
23141
|
-
}, wn(a));
|
|
23142
|
-
t.push(Mk(s, c));
|
|
23143
|
-
}
|
|
23158
|
+
f.length && XF(d, async () => {
|
|
23159
|
+
let e = await IN(f), t = [];
|
|
23160
|
+
for (let { bounds: n, source: r } of e) t.push(Mk(r, n));
|
|
23144
23161
|
return {
|
|
23145
23162
|
layer: h,
|
|
23146
23163
|
children: t
|
|
@@ -23152,25 +23169,25 @@ async function DI(e, t) {
|
|
|
23152
23169
|
...u,
|
|
23153
23170
|
name: `${i.name}:fg`
|
|
23154
23171
|
}), f.length && n.push(h), g.children.length && n.push(g);
|
|
23155
|
-
let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) =>
|
|
23172
|
+
let _ = await Promise.all(e.childLayers.sort((e, t) => e.basePriority - t.basePriority).map((e) => AI(e, !0)));
|
|
23156
23173
|
return n.push(..._), e.children = n, e.configured = !0, Fk(e.name, n, { hidden: !t });
|
|
23157
23174
|
}
|
|
23158
|
-
async function
|
|
23175
|
+
async function jI(e) {
|
|
23159
23176
|
if (e.configured) return Fk(e.name, e.children, { hidden: !e.visible });
|
|
23160
|
-
if (R.layerStore.mode !==
|
|
23177
|
+
if (R.layerStore.mode !== JI.Default && !Ar(e.name) && !e.rootParent) try {
|
|
23161
23178
|
let t = c().fpSvgLayerJsRefs[e.name];
|
|
23162
23179
|
t && await i(t);
|
|
23163
23180
|
} catch (t) {
|
|
23164
23181
|
console.warn(`Layer data not loaded: ${e.name}`, t);
|
|
23165
23182
|
}
|
|
23166
|
-
let t =
|
|
23183
|
+
let t = kI(e);
|
|
23167
23184
|
t.length && (e.childLayers = t);
|
|
23168
23185
|
let { layers: n } = R.layerStore;
|
|
23169
|
-
return R.layerStore.layers = [...n, ...t.filter((e) => !n.some((t) => t.name === e.name))],
|
|
23186
|
+
return R.layerStore.layers = [...n, ...t.filter((e) => !n.some((t) => t.name === e.name))], AI(e, e.visible);
|
|
23170
23187
|
}
|
|
23171
23188
|
//#endregion
|
|
23172
23189
|
//#region src/utils/shortenName.ts
|
|
23173
|
-
function
|
|
23190
|
+
function MI(e) {
|
|
23174
23191
|
return typeof e == "string" ? e.split(" ").map((e) => {
|
|
23175
23192
|
let t = e.replace(/[^A-Z0-9+-]/gi, ""), n = t.match(/^[-+]?\d+$/);
|
|
23176
23193
|
return n ? n[0] : /^[A-Z]{2,4}$/.test(t) ? t : t.charAt(0).toUpperCase();
|
|
@@ -23178,8 +23195,8 @@ function kI(e) {
|
|
|
23178
23195
|
}
|
|
23179
23196
|
//#endregion
|
|
23180
23197
|
//#region src/store/LayerStore.ts
|
|
23181
|
-
var
|
|
23182
|
-
function
|
|
23198
|
+
var NI, PI, FI, II, LI, RI, zI, BI, $, VI, HI, UI, WI;
|
|
23199
|
+
function GI(e, t, n, r) {
|
|
23183
23200
|
n && Object.defineProperty(e, t, {
|
|
23184
23201
|
enumerable: n.enumerable,
|
|
23185
23202
|
configurable: n.configurable,
|
|
@@ -23187,7 +23204,7 @@ function HI(e, t, n, r) {
|
|
|
23187
23204
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
23188
23205
|
});
|
|
23189
23206
|
}
|
|
23190
|
-
function
|
|
23207
|
+
function KI(e, t, n, r, i) {
|
|
23191
23208
|
var a = {};
|
|
23192
23209
|
return Object.keys(r).forEach(function(e) {
|
|
23193
23210
|
a[e] = r[e];
|
|
@@ -23195,41 +23212,41 @@ function UI(e, t, n, r, i) {
|
|
|
23195
23212
|
return r(e, t, n) || n;
|
|
23196
23213
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
23197
23214
|
}
|
|
23198
|
-
var
|
|
23215
|
+
var qI = [
|
|
23199
23216
|
"money2020usa",
|
|
23200
23217
|
"rodion2",
|
|
23201
23218
|
"possible2025",
|
|
23202
23219
|
"2025virtuosotravelweek",
|
|
23203
23220
|
"zscalerskofy26",
|
|
23204
23221
|
"gamescom2025"
|
|
23205
|
-
],
|
|
23222
|
+
], JI = /*#__PURE__*/ function(e) {
|
|
23206
23223
|
return e[e.Default = 0] = "Default", e[e.Separated = 1] = "Separated", e[e.Radio = 2] = "Radio", e[e.CheckBox = 3] = "CheckBox", e;
|
|
23207
|
-
}({}),
|
|
23224
|
+
}({}), YI = /*#__PURE__*/ function(e) {
|
|
23208
23225
|
return e[e.Unset = 0] = "Unset", e[e.AlwaysVisible = 1] = "AlwaysVisible", e[e.AlwaysHidden = 2] = "AlwaysHidden", e[e.TurnedOn = 3] = "TurnedOn", e[e.TurnedOff = 4] = "TurnedOff", e;
|
|
23209
|
-
}({}),
|
|
23226
|
+
}({}), XI = (NI = class {
|
|
23210
23227
|
constructor() {
|
|
23211
|
-
this.basePriority = 0, this.name = "", this.description = "", this.frozen = !1, this.rect = null, this.viewbox = null, this.configured = !1, this.childLayers = [], this.rootParent = null, this.mode =
|
|
23228
|
+
this.basePriority = 0, this.name = "", this.description = "", this.frozen = !1, this.rect = null, this.viewbox = null, this.configured = !1, this.childLayers = [], this.rootParent = null, this.mode = YI.Unset, this.children = [], this.pathway = void 0, this.floorIndex = void 0, GI(this, "loaded", PI, this), GI(this, "visible", FI, this);
|
|
23212
23229
|
}
|
|
23213
23230
|
get shortName() {
|
|
23214
|
-
return
|
|
23231
|
+
return MI(this.description);
|
|
23215
23232
|
}
|
|
23216
|
-
},
|
|
23233
|
+
}, PI = KI(NI.prototype, "loaded", [D], {
|
|
23217
23234
|
configurable: !0,
|
|
23218
23235
|
enumerable: !0,
|
|
23219
23236
|
writable: !0,
|
|
23220
23237
|
initializer: function() {
|
|
23221
23238
|
return !1;
|
|
23222
23239
|
}
|
|
23223
|
-
}),
|
|
23240
|
+
}), FI = KI(NI.prototype, "visible", [D], {
|
|
23224
23241
|
configurable: !0,
|
|
23225
23242
|
enumerable: !0,
|
|
23226
23243
|
writable: !0,
|
|
23227
23244
|
initializer: function() {
|
|
23228
23245
|
return !1;
|
|
23229
23246
|
}
|
|
23230
|
-
}),
|
|
23247
|
+
}), NI), ZI = (II = E({ keepAlive: !0 }), LI = E({ keepAlive: !0 }), RI = E({ keepAlive: !0 }), zI = E({ keepAlive: !0 }), BI = E({ keepAlive: !0 }), $ = class {
|
|
23231
23248
|
constructor() {
|
|
23232
|
-
|
|
23249
|
+
GI(this, "layers", VI, this), GI(this, "defaultLayer", HI, this), GI(this, "mode", UI, this), GI(this, "layersLoaded", WI, this), this.updateVisibilityTimeout = 0, this.selectFloorTimeout = 0;
|
|
23233
23250
|
}
|
|
23234
23251
|
get visible() {
|
|
23235
23252
|
return this.layers.filter((e) => e.frozen || e.visible);
|
|
@@ -23242,25 +23259,25 @@ var WI = [
|
|
|
23242
23259
|
var t;
|
|
23243
23260
|
return (t = e.viewbox) == null ? e.rect : t;
|
|
23244
23261
|
}).filter((e) => !!e);
|
|
23245
|
-
return this.mode !==
|
|
23262
|
+
return this.mode !== JI.Radio || !e.length ? null : B.fromUnion(...e) || null;
|
|
23246
23263
|
}
|
|
23247
23264
|
get bounds() {
|
|
23248
23265
|
let e = this.visible.map((e) => {
|
|
23249
23266
|
var t;
|
|
23250
23267
|
return (t = e.viewbox) == null ? e.rect : t;
|
|
23251
23268
|
}).filter(Boolean);
|
|
23252
|
-
return e.length ?
|
|
23269
|
+
return e.length ? B.fromUnion(...e) : void 0;
|
|
23253
23270
|
}
|
|
23254
23271
|
get viewboxRectangle() {
|
|
23255
23272
|
let e = this.visible.filter((e) => !e.frozen).map((e) => e.viewbox).filter((e) => !!e);
|
|
23256
|
-
return e.length &&
|
|
23273
|
+
return e.length && B.fromUnion(...e) || null;
|
|
23257
23274
|
}
|
|
23258
23275
|
get pathwayLayers() {
|
|
23259
23276
|
return this.layers.filter((e) => e.pathway);
|
|
23260
23277
|
}
|
|
23261
23278
|
get floors() {
|
|
23262
23279
|
if (!Ja()) return [];
|
|
23263
|
-
let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(R.routeStore.layers.filter((e) => e && e.mode !==
|
|
23280
|
+
let e = new Set(this.layers.filter((e) => e && !e.frozen && !e.rootParent && !e.pathway).concat(R.routeStore.layers.filter((e) => e && e.mode !== YI.AlwaysHidden && e.mode !== YI.AlwaysVisible))), t = Array.from(e).reverse();
|
|
23264
23281
|
return t.map((e, n) => {
|
|
23265
23282
|
var r;
|
|
23266
23283
|
let i = R.routeStore.layers.length > 0 && R.routeStore.layers.indexOf(e) === -1, a = R.toursStore.tourLayers.length > 0 && R.toursStore.tourLayers.indexOf(e) === -1;
|
|
@@ -23280,10 +23297,10 @@ var WI = [
|
|
|
23280
23297
|
this.selectFloorTimeout = window.setTimeout(() => this.selectFloorTimeout = 0, 500);
|
|
23281
23298
|
let t = this.layers.find((t) => t.description === e.description);
|
|
23282
23299
|
if (!t) return;
|
|
23283
|
-
if (this.mode ===
|
|
23300
|
+
if (this.mode === JI.Radio) {
|
|
23284
23301
|
var n;
|
|
23285
23302
|
if (this.updateVisibility(t, !0), R.maplibreStore.showMaplibre) return;
|
|
23286
|
-
if ((n =
|
|
23303
|
+
if ((n = Dr().__fpSettings) != null && n.fpVer || qI.includes(qa.EXPO)) {
|
|
23287
23304
|
var r;
|
|
23288
23305
|
let e = (r = t.viewbox) == null ? t.rect : r;
|
|
23289
23306
|
R.uiState.moveToRect = e;
|
|
@@ -23301,14 +23318,14 @@ var WI = [
|
|
|
23301
23318
|
R.toursStore.stopTour();
|
|
23302
23319
|
}
|
|
23303
23320
|
updateVisibility(e, t) {
|
|
23304
|
-
if (this.mode ===
|
|
23305
|
-
let n = e instanceof
|
|
23321
|
+
if (this.mode === JI.Radio && !t) return;
|
|
23322
|
+
let n = e instanceof XI ? e : this.findLayer(e);
|
|
23306
23323
|
if (!n || n.visible === t) {
|
|
23307
23324
|
n && R.routeStore.currentRouteLayer !== n && (R.routeStore.currentRouteLayer = n);
|
|
23308
23325
|
return;
|
|
23309
23326
|
}
|
|
23310
|
-
|
|
23311
|
-
this.mode ===
|
|
23327
|
+
jI(n).then(() => {
|
|
23328
|
+
this.mode === JI.Radio && this.layers.filter((e) => !e.pathway).forEach((e) => {
|
|
23312
23329
|
e.name !== n.name && !e.frozen && e.visible && (e.visible = !1, e.childLayers.forEach((e) => {
|
|
23313
23330
|
e.visible = !1;
|
|
23314
23331
|
}));
|
|
@@ -23341,7 +23358,7 @@ var WI = [
|
|
|
23341
23358
|
try {
|
|
23342
23359
|
let t = this.findLayer(e);
|
|
23343
23360
|
if (!t) throw Error(`There is no pathway with this name. ${e}`);
|
|
23344
|
-
await
|
|
23361
|
+
await jI(t);
|
|
23345
23362
|
let n = this.getPathwayList();
|
|
23346
23363
|
te(() => {
|
|
23347
23364
|
n.forEach((t) => {
|
|
@@ -23362,32 +23379,32 @@ var WI = [
|
|
|
23362
23379
|
});
|
|
23363
23380
|
});
|
|
23364
23381
|
}
|
|
23365
|
-
},
|
|
23382
|
+
}, VI = KI($.prototype, "layers", [D], {
|
|
23366
23383
|
configurable: !0,
|
|
23367
23384
|
enumerable: !0,
|
|
23368
23385
|
writable: !0,
|
|
23369
23386
|
initializer: function() {
|
|
23370
23387
|
return [];
|
|
23371
23388
|
}
|
|
23372
|
-
}),
|
|
23389
|
+
}), HI = KI($.prototype, "defaultLayer", [D], {
|
|
23373
23390
|
configurable: !0,
|
|
23374
23391
|
enumerable: !0,
|
|
23375
23392
|
writable: !0,
|
|
23376
23393
|
initializer: null
|
|
23377
|
-
}),
|
|
23394
|
+
}), UI = KI($.prototype, "mode", [D], {
|
|
23378
23395
|
configurable: !0,
|
|
23379
23396
|
enumerable: !0,
|
|
23380
23397
|
writable: !0,
|
|
23381
23398
|
initializer: function() {
|
|
23382
|
-
return
|
|
23399
|
+
return JI.Default;
|
|
23383
23400
|
}
|
|
23384
|
-
}),
|
|
23401
|
+
}), WI = KI($.prototype, "layersLoaded", [D], {
|
|
23385
23402
|
configurable: !0,
|
|
23386
23403
|
enumerable: !0,
|
|
23387
23404
|
writable: !0,
|
|
23388
23405
|
initializer: function() {
|
|
23389
23406
|
return !1;
|
|
23390
23407
|
}
|
|
23391
|
-
}),
|
|
23408
|
+
}), KI($.prototype, "visible", [II], Object.getOwnPropertyDescriptor($.prototype, "visible"), $.prototype), KI($.prototype, "loaded", [LI], Object.getOwnPropertyDescriptor($.prototype, "loaded"), $.prototype), KI($.prototype, "rectangle", [RI], Object.getOwnPropertyDescriptor($.prototype, "rectangle"), $.prototype), KI($.prototype, "bounds", [zI], Object.getOwnPropertyDescriptor($.prototype, "bounds"), $.prototype), KI($.prototype, "viewboxRectangle", [BI], Object.getOwnPropertyDescriptor($.prototype, "viewboxRectangle"), $.prototype), KI($.prototype, "pathwayLayers", [E], Object.getOwnPropertyDescriptor($.prototype, "pathwayLayers"), $.prototype), KI($.prototype, "floors", [E], Object.getOwnPropertyDescriptor($.prototype, "floors"), $.prototype), KI($.prototype, "selectFloor", [A], Object.getOwnPropertyDescriptor($.prototype, "selectFloor"), $.prototype), KI($.prototype, "updateVisibility", [A], Object.getOwnPropertyDescriptor($.prototype, "updateVisibility"), $.prototype), KI($.prototype, "showPathWay", [A], Object.getOwnPropertyDescriptor($.prototype, "showPathWay"), $.prototype), KI($.prototype, "hidePathways", [A], Object.getOwnPropertyDescriptor($.prototype, "hidePathways"), $.prototype), $);
|
|
23392
23409
|
//#endregion
|
|
23393
|
-
export { Sk as $, Xn as $t, dA as A, lo as At, Gk as B,
|
|
23410
|
+
export { Sk as $, Xn as $t, dA as A, lo as At, Gk as B, Ia as Bt, QN as C, xo as Ct, TN as D, wo as Dt, kN as E, So as Et, Zk as F, Ya as Ft, Fk as G, Er as Gt, Xk as H, La as Ht, nA as I, Xa as It, Nk as J, Cr as Jt, Ik as K, Sr as Kt, Jk as L, Ja as Lt, cA as M, ro as Mt, lA as N, Qa as Nt, hA as O, so as Ot, tA as P, Za as Pt, Ck as Q, ir as Qt, Kk as R, qa as Rt, tP as S, Mo as St, UN as T, jo as Tt, Wk as U, Dr as Ut, Yk as V, za as Vt, Mk as W, jr as Wt, Ek as X, B as Xt, Pk as Y, vr as Yt, Ok as Z, fr as Zt, OP as _, Vo as _t, TI as a, wn as an, zO as at, aP as b, oo as bt, dI as c, Tn as cn, Nf as ct, PF as d, kf as dt, Gn as en, wk as et, AF as f, sd as ft, qP as g, Fc as gt, JP as h, Rc as ht, jI as i, Fn as in, XO as it, fA as j, vo as jt, uA as k, co as kt, fI as l, Of as lt, YP as m, Hc as mt, ZI as n, jn as nn, ek as nt, SI as o, En as on, RO as ot, XP as p, Bc as pt, jk as q, wr as qt, JI as r, Mn as rn, KO as rt, uI as s, Dn as sn, Ip as st, YI as t, An as tn, Tk as tt, nI as u, Df as ut, dP as v, uo as vt, YN as w, yo as wt, iP as x, fo as xt, mP as y, Co as yt, qk as z, Va as zt };
|