@expofp/floorplan
Version:
Interactive floor plan library for expos and events
18 lines (17 loc) • 681 B
JavaScript
//#region src/utils/loadImage.ts
(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.47.0" };
var t = new e.Error().stack;
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "60fbcfd0-5b55-4190-af80-e83161db74fe", e._sentryDebugIdIdentifier = "sentry-dbid-60fbcfd0-5b55-4190-af80-e83161db74fe");
} catch {}
})();
function e(e) {
return new Promise((t) => {
var n = new Image();
n.onerror = () => t(null), n.onload = () => t(n), n.crossOrigin = "anonymous", n.src = e;
});
}
//#endregion
export { e as t };