UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

28 lines (27 loc) 1.27 kB
(function() { try { var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}; e.SENTRY_RELEASE = { id: "3.7.8" }; var t = new e.Error().stack; t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "563c6710-ec64-4ba7-ab90-ff0ca293abca", e._sentryDebugIdIdentifier = "sentry-dbid-563c6710-ec64-4ba7-ab90-ff0ca293abca"); } catch {} })(); import "./rolldown-runtime-YBAZwyzS.js"; import { t as e } from "./react-Di3Pmpio.js"; import { t } from "./jsx-runtime-C8yjdFgZ.js"; import "./i18n-BEer1tI4.js"; import { n } from "./Button-C4gPbjAY.js"; import { ct as r, lt as i, o as a } from "./store-DTwRqruF.js"; import { n as o } from "./mobx-BLgYz-7U.js"; import { t as s } from "./KioskStore-BgcP9UvT.js"; import { t as c } from "./TouchHand-D9gZTA6M.js"; e(); var l = t(), u = n(() => (o(() => { if (localStorage.getItem("kiosk") === "0") return; let e = s.restoreData(); if (e) return r(e, !0), i(e), a.setResetCameraFn(() => s.resetCamera()), () => { a.uiState.setKioskData(null), a.uiState.resetMapSettings(), s.resetCamera(); }; }), a.uiState.kiosk && a.uiState.inIdle ? /* @__PURE__ */ (0, l.jsx)(c, {}) : null)); //#endregion export { u as default };