@expofp/floorplan 3.13.1 → 3.13.3
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-CKiBkbgb.js → Button-BDBNu2fN.js} +6 -6
- package/dist/browser/{CookieConsent-CSTxsO7b.js → CookieConsent-BU5tkx67.js} +8 -8
- package/dist/browser/{Debug-VJg8Kv3w.js → Debug-DOvyBeZ2.js} +8 -8
- package/dist/browser/{Demo-DK7aO8n7.js → Demo-13Pj5i8q.js} +10 -10
- package/dist/browser/{Free-Dc9anWmM.js → Free-DY2ixs1X.js} +10 -10
- package/dist/browser/{Gallery-Dnm4hSmm.js → Gallery-DSFy8OUt.js} +31 -25
- package/dist/browser/{GpsLoader-DQmIKYxp.js → GpsLoader-IUuZFKZB.js} +22 -22
- package/dist/browser/{KioskStore-Do9vKaRP.js → KioskStore-DCMfDTY0.js} +6 -6
- package/dist/browser/{MaplibreAdapter-bY-ABtGS.js → MaplibreAdapter-BuHDh2tN.js} +161 -133
- package/dist/browser/{ModalContainer-DnYcW0A9.js → ModalContainer-B66h-izv.js} +11 -11
- package/dist/browser/{PermissionNotice-BfOksslN.js → PermissionNotice-GLC80RiL.js} +7 -7
- package/dist/browser/{SetKioskMode-vTpieU9t.js → SetKioskMode-BbtKKH4m.js} +10 -10
- package/dist/browser/{ShowKiosk-CdNxtqFI.js → ShowKiosk-Bbc1ibvf.js} +12 -12
- package/dist/browser/{TouchHand-B9X_pexY.js → TouchHand-BnpCI_QP.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-Cwhfqk7r.js → ViewerMenuPanel-u4eof_k3.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-mWeM9pHG.js → add-debug-secret-listener-Dhk_JVpV.js} +1 -1
- package/dist/browser/{reset-all-settings-C4_ors4k.js → adopt-global-settings-D-DXuik1.js} +12 -17
- package/dist/browser/{boolean-editor-CGPZFexF.js → boolean-editor-Cr3udvWI.js} +46 -46
- package/dist/browser/{bootIntercom-CaST_jNX.js → bootIntercom-k9-F0coK.js} +3 -3
- package/dist/browser/{booth-by-xy-BO6naDgy.js → booth-by-xy-CfcPXRuo.js} +209 -209
- package/dist/browser/bundle.json +67 -70
- package/dist/browser/{classnames-ClEJC3j4.js → classnames-t9FqzaWX.js} +2 -2
- package/dist/browser/{client-DXdbQp9r.js → client-B_pxskYW.js} +9 -9
- package/dist/browser/{components-Bowa21U1.js → components-CUmWC2-D.js} +278 -271
- package/dist/browser/{debug-overlay-Y5npuuWR.js → debug-overlay-DDhRZgt_.js} +470 -464
- package/dist/browser/{debug-ui-D1g5i_jy.js → debug-ui-DxdcU6Kg.js} +7 -7
- package/dist/browser/{dist-BSvcUdys.js → dist-B8mNNnp7.js} +5 -5
- package/dist/browser/{dist-Cn9LPy1P.js → dist-CxhCCJRf.js} +7 -7
- package/dist/browser/{dist-aJ-8azal.js → dist-Pmi0eHka.js} +66 -67
- package/dist/browser/{efp-debug-init-Brk9OaSQ.js → efp-debug-init-Calw8mY0.js} +4 -4
- package/dist/browser/{enum-editor-BZ9LwkZ8.js → enum-editor-DCfrJJln.js} +5 -5
- package/dist/browser/{es5-XJHAF1nV.js → es5-DoQZDAdU.js} +2 -2
- package/dist/browser/{event-not-found-_rTvDWyj.js → event-not-found-ChDTsYTx.js} +1 -1
- package/dist/browser/{exports-DWUH8uau.js → exports-BX3S6XZB.js} +567 -566
- package/dist/browser/{favicon-5J-1eJZd.js → favicon-ClLPDK1r.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Br7VuO9v.js → fetch-retry.umd-DzzXpi7b.js} +2 -2
- package/dist/browser/{flex-B3O1z4v3.js → flex-DP6WjhG4.js} +17 -17
- package/dist/browser/{floorplan.loader-sk15sA3u.js → floorplan.loader-D69t3BAF.js} +1381 -1307
- package/dist/browser/{floorplan.ready-B4ahF1S7.js → floorplan.ready-CHXz-cFn.js} +326 -335
- package/dist/browser/{fuse-Ci_KKUTa.js → fuse-BVXtZz6P.js} +2 -2
- package/dist/browser/{i18n-99DQd2vS.js → i18n-C8efqjSJ.js} +2921 -2559
- package/dist/browser/index.js +37 -37
- package/dist/browser/{index.module-DAnhLbye.js → index.module-C2y2P6lx.js} +6 -6
- package/dist/browser/{integrateKiosk-DZXpUrOj.js → integrateKiosk-B6woh9vx.js} +4 -4
- package/dist/browser/{is-webview-DpONzc0i.js → is-webview-BBrFDwGV.js} +1 -1
- package/dist/browser/{jsx-runtime-CaS3omHd.js → jsx-runtime-BJiMhWCh.js} +4 -4
- package/dist/browser/{lib-BiZuekek.js → lib-Bp05Ar7H.js} +155 -112
- package/dist/browser/{loadImage-CjXrDhKo.js → loadImage-BSxtVhbw.js} +5 -5
- package/dist/browser/{logDeviceInfo-BYL9Ek4m.js → logDeviceInfo-CKYIqDka.js} +9 -9
- package/dist/browser/{main-C5obpH9n.js → main-R4AfkxbT.js} +1 -1
- package/dist/browser/{mobx-DUuRiBpm.js → mobx-DGLsaukl.js} +5 -5
- package/dist/browser/{optional-boolean-editor-vmPQV7dq.js → optional-boolean-editor-BU6xH2-y.js} +4 -4
- package/dist/browser/{optional-enum-editor-CAafO0D2.js → optional-enum-editor-DguPalWk.js} +5 -5
- package/dist/browser/{optional-string-editor-CnDprvv4.js → optional-string-editor-C9Ca_jfw.js} +5 -5
- package/dist/browser/{particles.min-Bw-lHwaG.js → particles.min-Cnu30bUy.js} +2 -2
- package/dist/browser/{react-DIEnjHSI.js → react-B3i5PHk_.js} +5 -5
- package/dist/browser/{react-dom-CK-QaYaJ.js → react-dom-DU4GDIrZ.js} +6 -6
- package/dist/browser/{rolldown-runtime-Dfh5_zpq.js → rolldown-runtime-G74B3CmN.js} +1 -1
- package/dist/browser/select-D0rZ3mga.js +1367 -0
- package/dist/browser/{settings-CkTeZAPn.js → settings-D13emDUN.js} +3 -3
- package/dist/browser/{settings-item-Bdmu0-LD.js → settings-item-DwnQYGKx.js} +16 -16
- package/dist/browser/{store-C8eFtLML.js → store-Dfx4YNDt.js} +4458 -4458
- package/dist/browser/{string-editor-CM26hetz.js → string-editor-BM5ehAvW.js} +5 -5
- package/dist/browser/{text-field-CdM7a_e4.js → text-field-BxSBiSG0.js} +25 -25
- package/dist/browser/{theme-Byin1YOk.js → theme-Dg-nn5Fm.js} +949 -946
- package/dist/browser/{ui-Bso8uSzX.js → ui-D9Ao87UU.js} +11 -11
- package/dist/browser/{useRenderTarget-C16k6iot.js → useRenderTarget-bA5k2RxM.js} +5 -5
- package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
- package/dist/esm/components/Bookmarks.d.ts +1 -1
- package/dist/esm/components/Bookmarks.js +1 -1
- package/dist/esm/components/Booth/Booth.js +1 -1
- package/dist/esm/components/Category.d.ts +1 -1
- package/dist/esm/components/Debug.d.ts +1 -1
- package/dist/esm/components/Debug.js +1 -1
- package/dist/esm/components/ErrorBoundary.d.ts +1 -1
- package/dist/esm/components/ErrorBoundary.js +1 -1
- package/dist/esm/components/Event.js +1 -1
- package/dist/esm/components/Exhibitor.d.ts +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/Filter.d.ts +1 -1
- package/dist/esm/components/Filter.js +1 -1
- package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +1 -1
- package/dist/esm/components/Gallery/GalleryPreLoader.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +1 -1
- package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
- package/dist/esm/components/Map/drawing/config/TextFitter.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-bg.d.ts +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
- package/dist/esm/components/Map/drawing/config/loadBoothsImages.js +1 -1
- package/dist/esm/components/Map/traffic/UpdateQueue.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +1 -1
- package/dist/esm/components/Menu.d.ts +1 -1
- package/dist/esm/components/Menu.js +1 -1
- package/dist/esm/components/ModalContainer.d.ts +4 -4
- package/dist/esm/components/RebookingNotesContainer.d.ts +1 -1
- package/dist/esm/components/RebookingRadioGroupContainer.d.ts +1 -1
- package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
- package/dist/esm/components/Schedule.js +1 -1
- package/dist/esm/components/Search.d.ts +1 -1
- package/dist/esm/components/Search.js +1 -1
- package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
- package/dist/esm/components/TourPoints.d.ts +1 -1
- package/dist/esm/components/Tours.js +1 -1
- package/dist/esm/components/Visited.d.ts +1 -1
- package/dist/esm/components/WayfindingTemplate.js +1 -1
- package/dist/esm/components/Ws.d.ts +1 -1
- package/dist/esm/constants.d.ts +0 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/data/svg.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/load-dev.d.ts +1 -1
- package/dist/esm/renderer/HandlerRegistry.js +1 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/services/URLFilterManager.js +1 -1
- package/dist/esm/services/url-dispatch.js +1 -1
- package/dist/esm/store/BaseFilterStore.js +1 -1
- package/dist/esm/store/BookmarksStore.js +2 -2
- package/dist/esm/store/BoothStore.d.ts +1 -1
- package/dist/esm/store/BoothStore.js +1 -1
- package/dist/esm/store/CategoryFilterStore.js +1 -1
- package/dist/esm/store/CategoryStore.d.ts +1 -1
- package/dist/esm/store/CategoryStore.js +1 -1
- package/dist/esm/store/EventStore.d.ts +2 -2
- package/dist/esm/store/EventStore.js +1 -1
- package/dist/esm/store/ExhibitorStore.d.ts +1 -1
- package/dist/esm/store/ExhibitorStore.js +1 -1
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/dist/esm/store/HeatmapStore.d.ts +1 -1
- package/dist/esm/store/HeatmapStore.js +1 -1
- package/dist/esm/store/IntercomStore.js +1 -1
- package/dist/esm/store/LayerStore.js +1 -1
- package/dist/esm/store/MaplibreStore.js +1 -1
- package/dist/esm/store/PoiTypeStore.js +1 -1
- package/dist/esm/store/RootStore.js +1 -1
- package/dist/esm/store/RoutePlannerStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/SessionsFilterStore.js +1 -1
- package/dist/esm/store/ShortcutRegistry.js +1 -1
- package/dist/esm/store/SpeakerFilterStore.js +1 -1
- package/dist/esm/store/SpeakerStore.d.ts +2 -2
- package/dist/esm/store/SpeakerStore.js +1 -1
- package/dist/esm/store/SubButtonRegistry.js +1 -1
- package/dist/esm/store/ToursStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +2 -3
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-booths.js +1 -1
- package/dist/esm/store/init/init-layers.js +1 -1
- package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -1
- package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
- package/dist/esm/store/providers/SpeakerShortcutProvider.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
- package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
- package/dist/esm/store/search-buttons/constants.d.ts +8 -8
- package/dist/esm/store/types.d.ts +6 -6
- package/dist/esm/tools/expofpUrl.d.ts +2 -2
- package/dist/esm/tools/logger.js +1 -1
- package/dist/esm/tools/settings.js +1 -1
- package/dist/esm/ui/Autocomplete/Autocomplete.js +1 -1
- package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
- package/dist/esm/ui/EventBadge/EventBadge.js +1 -1
- package/dist/esm/ui/Share/Share.js +1 -1
- package/dist/esm/utils/camera-map-settings.d.ts +2 -2
- package/dist/esm/utils/dimming.d.ts +1 -1
- package/dist/esm/utils/is-from-designer.d.ts +1 -1
- package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +1 -0
- package/dist/esm/utils/silence-mobx-react-lite-warning.js +1 -1
- package/package.json +23 -23
- package/dist/browser/prop-types-Bw2U3Pyj.js +0 -57
- package/dist/browser/select-CGbkxHY8.js +0 -1360
|
@@ -2,21 +2,21 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.13.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.13.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "cef384ce-153b-4f32-8d55-c89828f254c3", e._sentryDebugIdIdentifier = "sentry-dbid-cef384ce-153b-4f32-8d55-c89828f254c3");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { y as n } from "./i18n-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { t as a } from "./index.module-
|
|
15
|
-
import {
|
|
16
|
-
import { r as k } from "./mobx-
|
|
17
|
-
import { a as A, c as j, i as M, l as N, n as ee, o as te, r as ne, s as re, t as ie } from "./booth-by-xy-
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-G74B3CmN.js";
|
|
11
|
+
import { y as n } from "./i18n-C8efqjSJ.js";
|
|
12
|
+
import { t as r } from "./react-B3i5PHk_.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BJiMhWCh.js";
|
|
14
|
+
import { t as a } from "./index.module-C2y2P6lx.js";
|
|
15
|
+
import { Et as o, I as s, It as c, P as l, an as u, c as d, cn as f, d as p, en as m, gn as h, gt as g, in as _, jt as v, l as y, mn as b, nn as x, pt as S, rn as C, s as w, t as T, u as E, w as D, z as O } from "./store-Dfx4YNDt.js";
|
|
16
|
+
import { r as k } from "./mobx-DGLsaukl.js";
|
|
17
|
+
import { a as A, c as j, i as M, l as N, n as ee, o as te, r as ne, s as re, t as ie } from "./booth-by-xy-CfcPXRuo.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
19
|
-
var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(
|
|
19
|
+
var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(u(), 1), oe = (/* @__PURE__ */ t(((e, t) => {
|
|
20
20
|
(function(n, r) {
|
|
21
21
|
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.maplibregl = r());
|
|
22
22
|
})(e, (function() {
|
|
@@ -5348,7 +5348,8 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
5348
5348
|
n = n || e.type, i.push(e);
|
|
5349
5349
|
}
|
|
5350
5350
|
if (!n) throw Error("No output type");
|
|
5351
|
-
|
|
5351
|
+
let a = r && i.some(((e) => dt(r, e.type)));
|
|
5352
|
+
return new Sn(a ? U : n, i);
|
|
5352
5353
|
}
|
|
5353
5354
|
evaluate(e) {
|
|
5354
5355
|
let t, n = null, r = 0;
|
|
@@ -14699,8 +14700,8 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
14699
14700
|
_setPaintOverrides() {
|
|
14700
14701
|
for (let e of Cf.paint.overridableProperties) {
|
|
14701
14702
|
if (!Tf.hasPaintOverride(this.layout, e)) continue;
|
|
14702
|
-
let t = this.paint.get(e), n = new
|
|
14703
|
-
|
|
14703
|
+
let t = this.paint.get(e), n = new wf(t), r = new ai(n, t.property.specification), i = null;
|
|
14704
|
+
i = t.value.kind === "constant" || t.value.kind === "source" ? new ci("source", r) : new li("composite", r, t.value.zoomStops), this.paint._values[e] = new Ga(t.property, i, t.parameters);
|
|
14704
14705
|
}
|
|
14705
14706
|
}
|
|
14706
14707
|
_handleOverridablePaintPropertyUpdate(e, t, n) {
|
|
@@ -16608,8 +16609,8 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
16608
16609
|
let e = Bp(t, n);
|
|
16609
16610
|
switch (e.physicalStreamType) {
|
|
16610
16611
|
case Mp.PRESENT: {
|
|
16611
|
-
let r =
|
|
16612
|
-
f = i == null ?
|
|
16612
|
+
let r = ym(t, e.numValues, e.byteLength, n), a = new Vp(r, e.numValues);
|
|
16613
|
+
f = i == null ? a : i;
|
|
16613
16614
|
break;
|
|
16614
16615
|
}
|
|
16615
16616
|
case Mp.OFFSET:
|
|
@@ -16926,43 +16927,59 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
16926
16927
|
if (!s || s.type !== "logicalType" || s.logicalType !== 0) throw Error(`ID column must be a logical ID scalar type: ${r}`);
|
|
16927
16928
|
let c = s.longID ? 6 : 4, l = typeof a == "number" ? void 0 : a, u = Qp(i, a, e, n, c === 6 ? "int64" : "int32");
|
|
16928
16929
|
if (c === 4) switch (u) {
|
|
16929
|
-
case Ip.FLAT:
|
|
16930
|
+
case Ip.FLAT: {
|
|
16931
|
+
let t = Wp(e, n, i, 0, l);
|
|
16932
|
+
return new $f(r, t, a);
|
|
16933
|
+
}
|
|
16930
16934
|
case Ip.SEQUENCE: {
|
|
16931
16935
|
let t = Jp(e, n, i);
|
|
16932
16936
|
return new np(r, t[0], t[1], i.numRleValues);
|
|
16933
16937
|
}
|
|
16934
|
-
case Ip.CONST:
|
|
16938
|
+
case Ip.CONST: {
|
|
16939
|
+
let t = qp(e, n, i);
|
|
16940
|
+
return new rp(r, t, a, !1);
|
|
16941
|
+
}
|
|
16935
16942
|
}
|
|
16936
16943
|
switch (u) {
|
|
16937
|
-
case Ip.FLAT:
|
|
16938
|
-
|
|
16939
|
-
|
|
16940
|
-
|
|
16941
|
-
|
|
16942
|
-
|
|
16943
|
-
|
|
16944
|
-
|
|
16945
|
-
|
|
16944
|
+
case Ip.FLAT: {
|
|
16945
|
+
if (o) {
|
|
16946
|
+
let t = function(e, t, n) {
|
|
16947
|
+
return function(e, t) {
|
|
16948
|
+
switch (t.logicalLevelTechnique1) {
|
|
16949
|
+
case $.DELTA: return t.logicalLevelTechnique2 === $.RLE && (e = Op(e, t.runs, t.numRleValues)), function(e) {
|
|
16950
|
+
e[0] = Tp(e[0]);
|
|
16951
|
+
let t = e.length / 4 * 4, n = 1;
|
|
16952
|
+
if (t >= 4) for (; n < t - 4; n += 4) {
|
|
16953
|
+
let t = e[n + 1], r = e[n + 2], i = e[n + 3];
|
|
16954
|
+
e[n] = Tp(e[n]) + e[n - 1], e[n + 1] = Tp(t) + e[n], e[n + 2] = Tp(r) + e[n + 1], e[n + 3] = Tp(i) + e[n + 2];
|
|
16955
|
+
}
|
|
16956
|
+
for (; n !== e.length; ++n) e[n] = Tp(e[n]) + e[n - 1];
|
|
16957
|
+
}(e), e;
|
|
16958
|
+
case $.RLE: return function(e, t) {
|
|
16959
|
+
return Op(e, t.runs, t.numRleValues);
|
|
16960
|
+
}(e, t);
|
|
16961
|
+
case $.NONE: return e;
|
|
16962
|
+
default: throw Error(`The specified Logical level technique is not supported: ${t.logicalLevelTechnique1}`);
|
|
16946
16963
|
}
|
|
16947
|
-
|
|
16948
|
-
|
|
16949
|
-
|
|
16950
|
-
return
|
|
16951
|
-
}(e, t);
|
|
16952
|
-
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
|
|
16957
|
-
|
|
16958
|
-
return r;
|
|
16959
|
-
}(e, t, n.numValues), n);
|
|
16960
|
-
}(e, n, i), a) : new $p(r, Xp(e, n, i, l), a);
|
|
16964
|
+
}(function(e, t, n) {
|
|
16965
|
+
let r = new Float64Array(n);
|
|
16966
|
+
for (let i = 0; i < n; i++) r[i] = Sp(e, t);
|
|
16967
|
+
return r;
|
|
16968
|
+
}(e, t, n.numValues), n);
|
|
16969
|
+
}(e, n, i);
|
|
16970
|
+
return new ep(r, t, a);
|
|
16971
|
+
}
|
|
16972
|
+
let t = Xp(e, n, i, l);
|
|
16973
|
+
return new $p(r, t, a);
|
|
16974
|
+
}
|
|
16961
16975
|
case Ip.SEQUENCE: {
|
|
16962
16976
|
let t = Yp(e, n, i);
|
|
16963
16977
|
return new em(r, t[0], t[1], i.numRleValues);
|
|
16964
16978
|
}
|
|
16965
|
-
case Ip.CONST:
|
|
16979
|
+
case Ip.CONST: {
|
|
16980
|
+
let t = Zp(e, n, i);
|
|
16981
|
+
return new vm(r, t, a, !1);
|
|
16982
|
+
}
|
|
16966
16983
|
}
|
|
16967
16984
|
throw Error("Vector type not supported for id column.");
|
|
16968
16985
|
}
|
|
@@ -17333,8 +17350,8 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
17333
17350
|
for (let n = 0; n < e.length - 1; n++) {
|
|
17334
17351
|
let r = e[n], i = e[n + 1], a = r.dist(i);
|
|
17335
17352
|
if (c + a > l) {
|
|
17336
|
-
let u = (l - c) / a, d =
|
|
17337
|
-
return
|
|
17353
|
+
let u = (l - c) / a, d = xn.number(r.x, i.x, u), f = xn.number(r.y, i.y, u), p = new oh(d, f, i.angleTo(r), n);
|
|
17354
|
+
return p._round(), !o || sh(e, p, s, o, t) ? p : void 0;
|
|
17338
17355
|
}
|
|
17339
17356
|
c += a;
|
|
17340
17357
|
}
|
|
@@ -17672,7 +17689,11 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
17672
17689
|
let P = Object.keys(i.horizontal);
|
|
17673
17690
|
for (let r of P) {
|
|
17674
17691
|
let a = i.horizontal[r];
|
|
17675
|
-
|
|
17692
|
+
if (!D) {
|
|
17693
|
+
ie = _s(a.text);
|
|
17694
|
+
let e = c.layout.get("text-rotate").evaluate(x, {}, w);
|
|
17695
|
+
D = new yh(l, n, u, d, f, a, p, m, h, e);
|
|
17696
|
+
}
|
|
17676
17697
|
let s = a.positionedLines.length === 1;
|
|
17677
17698
|
if (N += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? P : [r], re, te, S, w), s) break;
|
|
17678
17699
|
}
|
|
@@ -26394,8 +26415,8 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
26394
26415
|
useSlerp: o.roll != s.roll
|
|
26395
26416
|
}), l && e.interpolatePadding(a, n.padding, r), n.around) t.w("Easing around a point is not supported under globe projection."), e.setLocationAtPoint(n.around, n.aroundPoint);
|
|
26396
26417
|
else {
|
|
26397
|
-
let t =
|
|
26398
|
-
e.setCenter(
|
|
26418
|
+
let t = (v > _ ? Math.min(2, x) : Math.max(.5, x)) ** (1 - r), n = En(i, y, b, r * t);
|
|
26419
|
+
e.setCenter(n.wrap());
|
|
26399
26420
|
}
|
|
26400
26421
|
if (u) {
|
|
26401
26422
|
let n = t.H.number(_, v, r) + Cn(0, e.center.lat);
|
|
@@ -29013,12 +29034,12 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
29013
29034
|
for (let r of n) {
|
|
29014
29035
|
let n = t.getTerrainMesh(r.tileID), d = e.renderToTexture.getTexture(r), f = t.getTerrainData(r.tileID);
|
|
29015
29036
|
a.activeTexture.set(o.TEXTURE0), o.bindTexture(o.TEXTURE_2D, d.texture);
|
|
29016
|
-
let p =
|
|
29037
|
+
let p = t.getMeshFrameDelta(s.zoom), m = s.calculateFogMatrix(r.tileID.toUnwrapped()), h = Hn(p, m, e.style.sky, s.pitch, i), g = s.getProjectionData({
|
|
29017
29038
|
overscaledTileID: r.tileID,
|
|
29018
29039
|
applyTerrainMatrix: !1,
|
|
29019
29040
|
applyGlobeMatrix: !0
|
|
29020
29041
|
});
|
|
29021
|
-
u.draw(a, o.TRIANGLES, l, J.disabled, c, K.backCCW,
|
|
29042
|
+
u.draw(a, o.TRIANGLES, l, J.disabled, c, K.backCCW, h, f, g, "terrain", n.vertexBuffer, n.indexBuffer, n.segments);
|
|
29022
29043
|
}
|
|
29023
29044
|
}
|
|
29024
29045
|
function Ji(e, n) {
|
|
@@ -31037,6 +31058,7 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
31037
31058
|
let l = n.touchPitch = new Ma(n);
|
|
31038
31059
|
this._add("touchPitch", l), e.interactive && e.touchPitch && n.touchPitch.enable(e.touchPitch);
|
|
31039
31060
|
let u = () => n.project(n.getCenter()), d = function({ enable: e, clickTolerance: n, aroundCenter: r = !0, minPixelCenterThreshold: i = 100, rotateDegreesPerPixelMoved: a = .8 }, o) {
|
|
31061
|
+
let s = new ba({ checkCorrectEvent: (e) => e.button === 0 && e.ctrlKey || e.button === 2 && !e.ctrlKey });
|
|
31040
31062
|
return new va({
|
|
31041
31063
|
clickTolerance: n,
|
|
31042
31064
|
move: (e, n) => {
|
|
@@ -31045,32 +31067,35 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
31045
31067
|
let c = (n.x - e.x) * a;
|
|
31046
31068
|
return r && n.y < s.y && (c = -c), { bearingDelta: c };
|
|
31047
31069
|
},
|
|
31048
|
-
moveStateManager:
|
|
31070
|
+
moveStateManager: s,
|
|
31049
31071
|
enable: e,
|
|
31050
31072
|
assignEvents: Ca
|
|
31051
31073
|
});
|
|
31052
31074
|
}(e, u), f = function({ enable: e, clickTolerance: t, pitchDegreesPerPixelMoved: n = -.5 }) {
|
|
31075
|
+
let r = new ba({ checkCorrectEvent: (e) => e.button === 0 && e.ctrlKey || e.button === 2 });
|
|
31053
31076
|
return new va({
|
|
31054
31077
|
clickTolerance: t,
|
|
31055
31078
|
move: (e, t) => ({ pitchDelta: (t.y - e.y) * n }),
|
|
31056
|
-
moveStateManager:
|
|
31079
|
+
moveStateManager: r,
|
|
31057
31080
|
enable: e,
|
|
31058
31081
|
assignEvents: Ca
|
|
31059
31082
|
});
|
|
31060
31083
|
}(e), p = function({ enable: e, clickTolerance: t, rollDegreesPerPixelMoved: n = .3 }, r) {
|
|
31084
|
+
let i = new ba({ checkCorrectEvent: (e) => e.button === 2 && e.ctrlKey });
|
|
31061
31085
|
return new va({
|
|
31062
31086
|
clickTolerance: t,
|
|
31063
31087
|
move: (e, t) => {
|
|
31064
31088
|
let i = r(), a = (t.x - e.x) * n;
|
|
31065
31089
|
return t.y < i.y && (a = -a), { rollDelta: a };
|
|
31066
31090
|
},
|
|
31067
|
-
moveStateManager:
|
|
31091
|
+
moveStateManager: i,
|
|
31068
31092
|
enable: e,
|
|
31069
31093
|
assignEvents: Ca
|
|
31070
31094
|
});
|
|
31071
31095
|
}(e, u);
|
|
31072
31096
|
n.dragRotate = new Ha(e, d, f, p), this._add("mouseRotate", d, ["mousePitch"]), this._add("mousePitch", f, ["mouseRotate", "mouseRoll"]), this._add("mouseRoll", p, ["mousePitch"]), e.interactive && e.dragRotate && n.dragRotate.enable();
|
|
31073
31097
|
let m = function({ enable: e, clickTolerance: t }) {
|
|
31098
|
+
let n = new ba({ checkCorrectEvent: (e) => e.button === 0 && !e.ctrlKey });
|
|
31074
31099
|
return new va({
|
|
31075
31100
|
clickTolerance: t,
|
|
31076
31101
|
move: (e, t) => ({
|
|
@@ -31078,7 +31103,7 @@ var P = /* @__PURE__ */ e(r(), 1), ae = /* @__PURE__ */ e(h(), 1), oe = (/* @__P
|
|
|
31078
31103
|
panDelta: t.sub(e)
|
|
31079
31104
|
}),
|
|
31080
31105
|
activateOnStart: !0,
|
|
31081
|
-
moveStateManager:
|
|
31106
|
+
moveStateManager: n,
|
|
31082
31107
|
enable: e,
|
|
31083
31108
|
assignEvents: Ca
|
|
31084
31109
|
});
|
|
@@ -34021,8 +34046,8 @@ Ue((e, t) => {
|
|
|
34021
34046
|
e.tileType === 1 || e.tileType === 6 ? console.error("Error: archive contains vector tiles, but leafletRasterLayer is for displaying raster tiles. See https://github.com/protomaps/PMTiles/tree/main/js for details.") : e.tileType === 2 ? r = "image/png" : e.tileType === 3 ? r = "image/jpeg" : e.tileType === 4 ? r = "image/webp" : e.tileType === 5 && (r = "image/avif");
|
|
34022
34047
|
}), n = !0), e.getZxy(t.z, t.x, t.y, s).then((e) => {
|
|
34023
34048
|
if (e) {
|
|
34024
|
-
let t = new Blob([e.data], { type: r });
|
|
34025
|
-
a.src =
|
|
34049
|
+
let t = new Blob([e.data], { type: r }), n = window.URL.createObjectURL(t);
|
|
34050
|
+
a.src = n;
|
|
34026
34051
|
} else a.style.display = "none";
|
|
34027
34052
|
a.cancel = void 0, i(void 0, a);
|
|
34028
34053
|
}).catch((e) => {
|
|
@@ -34606,7 +34631,7 @@ function Ot() {
|
|
|
34606
34631
|
}
|
|
34607
34632
|
}
|
|
34608
34633
|
function kt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: s }) {
|
|
34609
|
-
let
|
|
34634
|
+
let l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(a), p = (0, P.useRef)(o), m = (0, P.useRef)(s), h = (0, P.useRef)({
|
|
34610
34635
|
sceneDef: e,
|
|
34611
34636
|
geoConfig: t,
|
|
34612
34637
|
staticTransform: n,
|
|
@@ -34617,7 +34642,7 @@ function kt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34617
34642
|
f.current = a, p.current = o, m.current = s;
|
|
34618
34643
|
}), (0, P.useEffect)(() => {
|
|
34619
34644
|
var e, t;
|
|
34620
|
-
if (!
|
|
34645
|
+
if (!l.current) return;
|
|
34621
34646
|
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } = h.current, s = !1, g = { ...n };
|
|
34622
34647
|
g.rootLayer = { ...n.rootLayer };
|
|
34623
34648
|
let _ = n.rootLayer.children;
|
|
@@ -34635,7 +34660,7 @@ function kt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34635
34660
|
center: r.center,
|
|
34636
34661
|
zoom: r.zoom
|
|
34637
34662
|
}, y = ht(a.style), b = new oe.Map({
|
|
34638
|
-
container:
|
|
34663
|
+
container: l.current,
|
|
34639
34664
|
...v,
|
|
34640
34665
|
bearing: r.bearing,
|
|
34641
34666
|
pitch: (e = o == null ? void 0 : o.pitch) == null ? 30 : e,
|
|
@@ -34666,7 +34691,7 @@ function kt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34666
34691
|
onAdd(e, t) {
|
|
34667
34692
|
var n;
|
|
34668
34693
|
if (s) return;
|
|
34669
|
-
let r = new
|
|
34694
|
+
let r = new c({
|
|
34670
34695
|
canvas: b.getCanvas(),
|
|
34671
34696
|
gl: t
|
|
34672
34697
|
});
|
|
@@ -34705,7 +34730,7 @@ function kt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34705
34730
|
s = !0, b.off("style.load", C), b.off("styleimagemissing", x), (e = d.current) == null || e.dispose(), d.current = null, b.remove(), u.current = null;
|
|
34706
34731
|
};
|
|
34707
34732
|
}, []), /* @__PURE__ */ (0, gt.jsx)("div", {
|
|
34708
|
-
ref:
|
|
34733
|
+
ref: l,
|
|
34709
34734
|
style: {
|
|
34710
34735
|
position: "absolute",
|
|
34711
34736
|
top: 0,
|
|
@@ -34734,10 +34759,10 @@ function W(e, t, n) {
|
|
|
34734
34759
|
}
|
|
34735
34760
|
function Rt(e, t) {
|
|
34736
34761
|
let n = [
|
|
34737
|
-
|
|
34738
|
-
|
|
34739
|
-
|
|
34740
|
-
|
|
34762
|
+
l(e.min.x, e.min.y, t),
|
|
34763
|
+
l(e.max.x, e.min.y, t),
|
|
34764
|
+
l(e.max.x, e.max.y, t),
|
|
34765
|
+
l(e.min.x, e.max.y, t)
|
|
34741
34766
|
], r = n.map(([e]) => e), i = n.map(([, e]) => e);
|
|
34742
34767
|
return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
|
|
34743
34768
|
}
|
|
@@ -34758,7 +34783,7 @@ function zt(e = 0) {
|
|
|
34758
34783
|
function Bt() {
|
|
34759
34784
|
var e, t;
|
|
34760
34785
|
if (!(!(O == null || (e = O.properties) == null) && e.config)) return null;
|
|
34761
|
-
let n = O.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a =
|
|
34786
|
+
let n = O.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = s(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
|
|
34762
34787
|
return {
|
|
34763
34788
|
center: [r, i],
|
|
34764
34789
|
bearing: o,
|
|
@@ -34816,14 +34841,14 @@ function Vt(e, t, n, r = {}) {
|
|
|
34816
34841
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34817
34842
|
var G = d;
|
|
34818
34843
|
function Ht(e) {
|
|
34819
|
-
return
|
|
34844
|
+
return y(e, E(e, x));
|
|
34820
34845
|
}
|
|
34821
34846
|
function Ut(e, t, n) {
|
|
34822
34847
|
k(() => G.moveToBooths, (n) => {
|
|
34823
34848
|
let r = e.current;
|
|
34824
34849
|
if (!n || !r || !t) return;
|
|
34825
34850
|
let i = n.filter((e) => e.rect);
|
|
34826
|
-
i.length !== 0 && (Vt(r, Ht(
|
|
34851
|
+
i.length !== 0 && (Vt(r, Ht(f.fromUnion(...i.map((e) => e.rect))), t), G.moveToBooths = null);
|
|
34827
34852
|
}), k(() => G.moveToRect, (n) => {
|
|
34828
34853
|
let r = e.current;
|
|
34829
34854
|
!n || !r || !t || (Vt(r, n, t), G.moveToRect = null);
|
|
@@ -34835,13 +34860,13 @@ function Ut(e, t, n) {
|
|
|
34835
34860
|
duration: 500
|
|
34836
34861
|
}), G.zoomBy = null);
|
|
34837
34862
|
}), k(() => d.moveToLocation, (n) => {
|
|
34838
|
-
let r = e.current, i =
|
|
34863
|
+
let r = e.current, i = w.routeStore.currentPosition;
|
|
34839
34864
|
if (!n || !r || !i) return;
|
|
34840
34865
|
let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
|
|
34841
34866
|
if (s) c = [a, o];
|
|
34842
34867
|
else {
|
|
34843
34868
|
if (!t) return;
|
|
34844
|
-
c =
|
|
34869
|
+
c = l(i.x, i.y, t.gpsConfig);
|
|
34845
34870
|
}
|
|
34846
34871
|
r.flyTo({
|
|
34847
34872
|
center: c,
|
|
@@ -34854,12 +34879,12 @@ function Ut(e, t, n) {
|
|
|
34854
34879
|
let i = e.current;
|
|
34855
34880
|
if (!(!r || !i || !t)) {
|
|
34856
34881
|
if (!(d.list.type === "search" && !d.list.text)) {
|
|
34857
|
-
let { rect: e } =
|
|
34858
|
-
layerViewbox:
|
|
34859
|
-
explicitArea:
|
|
34860
|
-
layerRectangle:
|
|
34882
|
+
let { rect: e } = p({
|
|
34883
|
+
layerViewbox: w.layerStore.viewboxRectangle,
|
|
34884
|
+
explicitArea: C ? x : null,
|
|
34885
|
+
layerRectangle: w.layerStore.rectangle,
|
|
34861
34886
|
sceneDef: n,
|
|
34862
|
-
svgArea:
|
|
34887
|
+
svgArea: x
|
|
34863
34888
|
});
|
|
34864
34889
|
Vt(i, e, t);
|
|
34865
34890
|
}
|
|
@@ -34896,7 +34921,7 @@ function Xt(e, t, n = !1) {
|
|
|
34896
34921
|
}
|
|
34897
34922
|
function Zt() {
|
|
34898
34923
|
var e, t;
|
|
34899
|
-
let n = (e = (t =
|
|
34924
|
+
let n = (e = (t = w.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
34900
34925
|
return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : Wt;
|
|
34901
34926
|
}
|
|
34902
34927
|
//#endregion
|
|
@@ -34941,7 +34966,7 @@ function $t(e, t = /* @__PURE__ */ new Map()) {
|
|
|
34941
34966
|
return t;
|
|
34942
34967
|
}
|
|
34943
34968
|
function en(e) {
|
|
34944
|
-
return e != null && e.shape ?
|
|
34969
|
+
return e != null && e.shape ? T.booths.find((t) => {
|
|
34945
34970
|
var n;
|
|
34946
34971
|
return (n = t.shapes) == null ? void 0 : n.some((t) => t.shape === e.shape);
|
|
34947
34972
|
}) : null;
|
|
@@ -34950,7 +34975,7 @@ function en(e) {
|
|
|
34950
34975
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
34951
34976
|
function tn(e, t, n) {
|
|
34952
34977
|
let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
|
|
34953
|
-
k(() =>
|
|
34978
|
+
k(() => w.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
34954
34979
|
var a, o;
|
|
34955
34980
|
let s = e.scene;
|
|
34956
34981
|
if (!s) return;
|
|
@@ -34959,7 +34984,7 @@ function tn(e, t, n) {
|
|
|
34959
34984
|
defsByName: $t(s.rootLayer)
|
|
34960
34985
|
});
|
|
34961
34986
|
let c = r.current.defsByName, l = [];
|
|
34962
|
-
for (let e of
|
|
34987
|
+
for (let e of w.layerStore.layers) {
|
|
34963
34988
|
let t = c.get(e.name);
|
|
34964
34989
|
if (t != null && t.length) for (let n of t) {
|
|
34965
34990
|
let t = !e.visible;
|
|
@@ -34967,7 +34992,7 @@ function tn(e, t, n) {
|
|
|
34967
34992
|
}
|
|
34968
34993
|
}
|
|
34969
34994
|
l.length && e.update(...l);
|
|
34970
|
-
let u =
|
|
34995
|
+
let u = w.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
34971
34996
|
if (!u || i.current === u.name) return;
|
|
34972
34997
|
i.current = u.name;
|
|
34973
34998
|
let d = (o = u.viewbox) == null ? u.rect : o;
|
|
@@ -34982,17 +35007,17 @@ function rn(e, t) {
|
|
|
34982
35007
|
if (!e) return;
|
|
34983
35008
|
let n = ({ data: e }) => {
|
|
34984
35009
|
if (d.setKioskModeEnabled) return;
|
|
34985
|
-
let { point: t, defs: n } =
|
|
35010
|
+
let { point: t, defs: n } = v(e), r = ie(t.x, t.y), i = en(n[0]);
|
|
34986
35011
|
nn.hoveredBooth = r || i || null;
|
|
34987
35012
|
}, r = () => {
|
|
34988
35013
|
d.setKioskModeEnabled || (nn.hoveredBooth = null);
|
|
34989
35014
|
}, i = ({ data: e }) => {
|
|
34990
35015
|
var n, r;
|
|
34991
35016
|
if (!(d != null && d.rootElement)) return;
|
|
34992
|
-
(n = (r = window).__resett) == null || n.call(r), d.overlayPosition === "bottom" && d.overlaySize === "full" &&
|
|
34993
|
-
let { point: i, defs: a } =
|
|
35017
|
+
(n = (r = window).__resett) == null || n.call(r), d.overlayPosition === "bottom" && d.overlaySize === "full" && w.showMap();
|
|
35018
|
+
let { point: i, defs: a } = v(e), { x: o, y: s } = i;
|
|
34994
35019
|
if (d.onGetCoordsClick) {
|
|
34995
|
-
let e =
|
|
35020
|
+
let e = w.layerStore.layers.find((e) => e.visible && (e.mode === S.TurnedOn || e.mode === S.TurnedOff));
|
|
34996
35021
|
d.onGetCoordsClick({
|
|
34997
35022
|
x: o,
|
|
34998
35023
|
y: s,
|
|
@@ -35005,7 +35030,7 @@ function rn(e, t) {
|
|
|
35005
35030
|
d.onMarkerClick(e);
|
|
35006
35031
|
}
|
|
35007
35032
|
let c = ie(i.x, i.y), l = en(a[0]);
|
|
35008
|
-
|
|
35033
|
+
w.clickBooth(c || l || null);
|
|
35009
35034
|
}, a = () => {
|
|
35010
35035
|
var e, t;
|
|
35011
35036
|
return (e = (t = window).__resett) == null ? void 0 : e.call(t);
|
|
@@ -35020,7 +35045,7 @@ function rn(e, t) {
|
|
|
35020
35045
|
function an(e, t) {
|
|
35021
35046
|
(0, P.useEffect)(() => {
|
|
35022
35047
|
if (!e) return;
|
|
35023
|
-
let n = D(t,
|
|
35048
|
+
let n = D(t, w), r = j(t);
|
|
35024
35049
|
return () => {
|
|
35025
35050
|
n == null || n(), r == null || r();
|
|
35026
35051
|
};
|
|
@@ -35176,9 +35201,9 @@ function bn(e, t) {
|
|
|
35176
35201
|
var xn = "routes-api.expofp.com";
|
|
35177
35202
|
function Sn() {
|
|
35178
35203
|
n(() => {
|
|
35179
|
-
|
|
35204
|
+
w.layerStore.layers.forEach((e) => {
|
|
35180
35205
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35181
|
-
}),
|
|
35206
|
+
}), w.layerStore.layersLoaded = !1;
|
|
35182
35207
|
});
|
|
35183
35208
|
}
|
|
35184
35209
|
function Cn(e, t) {
|
|
@@ -35193,87 +35218,90 @@ function wn(e) {
|
|
|
35193
35218
|
}
|
|
35194
35219
|
var Tn = a(function({ viewMode: e }) {
|
|
35195
35220
|
var t;
|
|
35196
|
-
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null),
|
|
35197
|
-
let { rect: e } =
|
|
35198
|
-
layerViewbox:
|
|
35199
|
-
explicitArea:
|
|
35200
|
-
layerRectangle:
|
|
35221
|
+
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), s = w.rendererService, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), f = (0, P.useRef)(null), v = (0, P.useMemo)(() => Bt(), []), y = (0, P.useMemo)(() => {
|
|
35222
|
+
let { rect: e } = p({
|
|
35223
|
+
layerViewbox: w.layerStore.viewboxRectangle,
|
|
35224
|
+
explicitArea: C ? x : null,
|
|
35225
|
+
layerRectangle: w.layerStore.rectangle,
|
|
35201
35226
|
sceneDef: n,
|
|
35202
|
-
svgArea:
|
|
35227
|
+
svgArea: x
|
|
35203
35228
|
});
|
|
35204
35229
|
return e;
|
|
35205
|
-
}, [n]),
|
|
35206
|
-
center:
|
|
35207
|
-
bearing:
|
|
35208
|
-
zoom:
|
|
35209
|
-
bounds: Rt(
|
|
35230
|
+
}, [n]), S = (0, P.useMemo)(() => v ? {
|
|
35231
|
+
center: v.center,
|
|
35232
|
+
bearing: v.bearing,
|
|
35233
|
+
zoom: v.zoom,
|
|
35234
|
+
bounds: Rt(y, v.gpsConfig),
|
|
35210
35235
|
fitPadding: zt(0),
|
|
35211
35236
|
zoomAdjustment: At
|
|
35212
|
-
} : null, [
|
|
35237
|
+
} : null, [v, y]), T = (0, P.useMemo)(() => {
|
|
35213
35238
|
var e;
|
|
35214
|
-
return
|
|
35215
|
-
}, [
|
|
35239
|
+
return v ? J(v.gpsConfig, (e = m()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35240
|
+
}, [v]), E = (0, P.useMemo)(() => ({ ...e === "map2d" ? qt : Kt }), [e]), D = (0, P.useRef)(E), O = (0, P.useMemo)(() => Zt(), []), { mapDimAnimatorRef: k, venueDimAnimatorRef: j, handleMapDimLayerReady: M } = Qt(l, s);
|
|
35216
35241
|
(0, P.useEffect)(() => {
|
|
35217
|
-
if (!
|
|
35242
|
+
if (!v) return;
|
|
35218
35243
|
let e = !1;
|
|
35219
35244
|
Sn();
|
|
35220
|
-
let t = re(
|
|
35221
|
-
|
|
35245
|
+
let t = re(s).then((t) => {
|
|
35246
|
+
if (e) return;
|
|
35247
|
+
let n = o(t, x, (0, ae.default)(h.backgroundColor === "none" ? "#ebebeb" : h.backgroundColor).string());
|
|
35248
|
+
r(n);
|
|
35222
35249
|
}).catch((t) => {
|
|
35223
35250
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
35224
35251
|
}), n = k.current, i = j.current;
|
|
35225
35252
|
return () => {
|
|
35226
35253
|
var r;
|
|
35227
35254
|
e = !0, Sn();
|
|
35228
|
-
let o =
|
|
35229
|
-
t.finally(() =>
|
|
35255
|
+
let o = c.current;
|
|
35256
|
+
t.finally(() => s.disposeIfCurrent(o)), (r = u.current) == null || r.call(u), u.current = null, c.current = null, l.current = null, f.current = null, a(null), n == null || n.stop(), i == null || i.stop(), d.sceneDefReady = !1;
|
|
35230
35257
|
};
|
|
35231
35258
|
}, [
|
|
35232
|
-
|
|
35259
|
+
v,
|
|
35233
35260
|
k,
|
|
35234
|
-
|
|
35261
|
+
s,
|
|
35235
35262
|
j
|
|
35236
35263
|
]);
|
|
35237
35264
|
let N = (0, P.useCallback)((e, t, n, r) => {
|
|
35238
|
-
var i, o,
|
|
35239
|
-
|
|
35240
|
-
let
|
|
35265
|
+
var i, o, p, m;
|
|
35266
|
+
c.current = e, l.current = t, f.current = r, a(e), s.attach(e, n, r, T ? wn(T) : 1), Xt(t, D.current), (i = k.current) == null || i.setTarget(d.dimmed, { immediate: !0 }), (o = j.current) == null || o.setTarget(d.dimmed, { immediate: !0 }), (p = u.current) == null || p.call(u);
|
|
35267
|
+
let h = () => {
|
|
35241
35268
|
var e;
|
|
35242
|
-
|
|
35269
|
+
let n = t.getBearing() - ((e = v == null ? void 0 : v.bearing) == null ? 0 : e);
|
|
35270
|
+
Cn(s, b(n));
|
|
35243
35271
|
};
|
|
35244
|
-
t.on("rotate",
|
|
35245
|
-
t.off("rotate",
|
|
35246
|
-
},
|
|
35247
|
-
let
|
|
35248
|
-
|
|
35272
|
+
t.on("rotate", h), t.on("rotateend", h), u.current = () => {
|
|
35273
|
+
t.off("rotate", h), t.off("rotateend", h);
|
|
35274
|
+
}, g(s);
|
|
35275
|
+
let _ = s.ptScaleRegistry.invoke(s.scale || 1);
|
|
35276
|
+
_.length && s.update(..._), Cn(s, b(t.getBearing() - ((m = v == null ? void 0 : v.bearing) == null ? 0 : m))), w.layerStore.layersLoaded = !0, w.fp.onFpConfigured && w.fp.onFpConfigured(), d.sceneDefReady = !0, r();
|
|
35249
35277
|
}, [
|
|
35250
|
-
|
|
35278
|
+
s,
|
|
35251
35279
|
k,
|
|
35252
|
-
|
|
35280
|
+
T,
|
|
35253
35281
|
j
|
|
35254
35282
|
]);
|
|
35255
35283
|
(0, P.useEffect)(() => {
|
|
35256
|
-
D.current = E, Xt(
|
|
35257
|
-
}, [E]), rn(i,
|
|
35258
|
-
enabled:
|
|
35259
|
-
rendererService:
|
|
35284
|
+
D.current = E, Xt(l.current, E, !0);
|
|
35285
|
+
}, [E]), rn(i, s), an(i, s), tn(s, l, v), Ut(l, v, n), te({
|
|
35286
|
+
enabled: w.layerStore.layersLoaded && d.buildRoute,
|
|
35287
|
+
rendererService: s
|
|
35260
35288
|
});
|
|
35261
|
-
let ee = (t =
|
|
35289
|
+
let ee = (t = _.busRoutes) != null && t;
|
|
35262
35290
|
A({
|
|
35263
|
-
permission:
|
|
35264
|
-
rendererService:
|
|
35265
|
-
dataJsonUrl: `https://${xn}/v1/routes?expo=${
|
|
35266
|
-
websocketUrl: `wss://${xn}/locations?expo=${
|
|
35291
|
+
permission: w.layerStore.layersLoaded && ee,
|
|
35292
|
+
rendererService: s,
|
|
35293
|
+
dataJsonUrl: `https://${xn}/v1/routes?expo=${h.EXPO}`,
|
|
35294
|
+
websocketUrl: `wss://${xn}/locations?expo=${h.EXPO}`
|
|
35267
35295
|
});
|
|
35268
35296
|
let ne = (0, P.useCallback)((e) => {
|
|
35269
|
-
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e),
|
|
35297
|
+
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), w.maplibreStore.deactivateMaplibre();
|
|
35270
35298
|
}, []);
|
|
35271
|
-
if (!
|
|
35272
|
-
let ie = `${
|
|
35299
|
+
if (!v || !S || !T || !n) return null;
|
|
35300
|
+
let ie = `${S.center.join(",")}:${S.bearing}:${S.zoom}`;
|
|
35273
35301
|
return /* @__PURE__ */ (0, gt.jsx)(kt, {
|
|
35274
35302
|
sceneDef: n,
|
|
35275
|
-
geoConfig:
|
|
35276
|
-
staticTransform:
|
|
35303
|
+
geoConfig: S,
|
|
35304
|
+
staticTransform: T,
|
|
35277
35305
|
tileSource: O,
|
|
35278
35306
|
mapOptions: E,
|
|
35279
35307
|
onRendererReady: N,
|
|
@@ -2,20 +2,20 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
|
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
-
e.SENTRY_RELEASE = { id: "3.13.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.13.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9dd6058e-e504-46fa-a82a-b47b78bbdfd9", e._sentryDebugIdIdentifier = "sentry-dbid-9dd6058e-e504-46fa-a82a-b47b78bbdfd9");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
11
|
-
import { s as n } from "./i18n-
|
|
12
|
-
import { t as r } from "./react-
|
|
13
|
-
import { t as i } from "./jsx-runtime-
|
|
14
|
-
import { t as a } from "./react-dom-
|
|
15
|
-
import { t as o } from "./classnames-
|
|
16
|
-
import { t as s } from "./index.module-
|
|
17
|
-
import { t as c } from "./Button-
|
|
18
|
-
import { t as l } from "./useRenderTarget-
|
|
10
|
+
import { n as e, r as t } from "./rolldown-runtime-G74B3CmN.js";
|
|
11
|
+
import { s as n } from "./i18n-C8efqjSJ.js";
|
|
12
|
+
import { t as r } from "./react-B3i5PHk_.js";
|
|
13
|
+
import { t as i } from "./jsx-runtime-BJiMhWCh.js";
|
|
14
|
+
import { t as a } from "./react-dom-DU4GDIrZ.js";
|
|
15
|
+
import { t as o } from "./classnames-t9FqzaWX.js";
|
|
16
|
+
import { t as s } from "./index.module-C2y2P6lx.js";
|
|
17
|
+
import { t as c } from "./Button-BDBNu2fN.js";
|
|
18
|
+
import { t as l } from "./useRenderTarget-bA5k2RxM.js";
|
|
19
19
|
//#region src/ui/Modal/Modal.tsx
|
|
20
20
|
var u = /* @__PURE__ */ t(o(), 1), d = /* @__PURE__ */ t(r(), 1), f = /* @__PURE__ */ t(a(), 1), p = i(), m = 200, h = (e) => e.getClientRects().length > 0 && getComputedStyle(e).visibility !== "hidden", g = ({ open: e, className: t, variant: n = "default", title: r, ariaLabel: i, maxWidth: a, children: o, closeLabel: s, renderTarget: l, footerLeft: g = [], footerRight: _ = [], onClose: v }) => {
|
|
21
21
|
let y = (0, d.useRef)(null), b = (0, d.useRef)(null), x = (0, d.useId)(), [S, C] = (0, d.useState)(e), [w, T] = (0, d.useState)(e);
|