@expofp/floorplan 3.1.8 → 3.1.10
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/{CookieConsent-BWIz5A9p.js → CookieConsent-a87H4eyO.js} +353 -353
- package/dist/browser/{Debug-Dc-CpIuW.js → Debug-DfGh4_QN.js} +13 -13
- package/dist/browser/{Demo-C-gDoJHz.js → Demo-BIgIFx9e.js} +13 -13
- package/dist/browser/{Free-B_Nc0lBV.js → Free-DbdK3j8V.js} +15 -15
- package/dist/browser/{Gallery-NW3tpm3U.js → Gallery-BUX5_QPS.js} +59 -59
- package/dist/browser/{GpsLoader-BgtxLTgL.js → GpsLoader-BAvg4bWZ.js} +35 -35
- package/dist/browser/{KioskStore-O9lcbMgO.js → KioskStore-D3Kv90me.js} +4 -4
- package/dist/browser/{Mapbox-n8XdO_JZ.js → Mapbox-C8_3DKUv.js} +9 -9
- package/dist/browser/{SetKioskMode-BSrhzr-T.js → SetKioskMode-D1hL_tNu.js} +8 -8
- package/dist/browser/{ShowKiosk-ChdkT29W.js → ShowKiosk-Oz_Er2Hp.js} +10 -10
- package/dist/browser/{ThreeComponent-C9NgJy3L.js → ThreeComponent-DEeXwEr_.js} +16 -16
- package/dist/browser/{TouchHand-j9wM9VIW.js → TouchHand-CABdIRBU.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-B-eQvgxu.js → ViewerMenuPanel-BqpETBnQ.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-hyBkCStK.js → add-debug-secret-listener-DO7UiI9_.js} +1 -1
- package/dist/browser/boolean-editor-BmuDSLi6.js +158 -0
- package/dist/browser/{bootIntercom-CWJHIFsy.js → bootIntercom-CAMX7-bk.js} +1 -1
- package/dist/browser/browser-CdveV-Ch.js +198 -0
- package/dist/browser/bundle.json +62 -44
- package/dist/browser/{classnames-CV7GydgO.js → classnames-os-gPzrW.js} +3 -3
- package/dist/browser/{client-CW46IlZK.js → client-0ALI_KV4.js} +5 -5
- package/dist/browser/{data-BFFP23Yx.js → data-BjwxGiCn.js} +4 -4
- package/dist/browser/debug-namespaces-editor-KA5P5hW5.js +119 -0
- package/dist/browser/{debug-overlay-DK1IpDkH.js → debug-overlay-DeravwkZ.js} +1468 -1264
- package/dist/browser/{debug-ui-Bk_cgOg0.js → debug-ui-DO-qpxn5.js} +7 -7
- package/dist/browser/{dist-msXGDyJE.js → dist-y0f__WrL.js} +7 -7
- package/dist/browser/efp-debug-init-sGfP4q4G.js +41 -0
- package/dist/browser/{exports-CWJfbRRi.js → exports-eFca0lYR.js} +1 -1
- package/dist/browser/{favicon-Dx5hE2TC.js → favicon-CPsQUKVl.js} +1 -1
- package/dist/browser/{fetch-retry.umd--f_V0nbP.js → fetch-retry.umd-BAWDjKCA.js} +3 -3
- package/dist/browser/flex-ZLci6ROH.js +217 -0
- package/dist/browser/{flex-DayQlZNC.js → flex.props-25tq8dKa.js} +165 -368
- package/dist/browser/{floorplan.loader-ChwMFO3K.js → floorplan.loader-DIvwiYMb.js} +643 -643
- package/dist/browser/{floorplan.ready-DH6TL_BA.js → floorplan.ready-CKD9LSug.js} +214 -213
- package/dist/browser/{fuse-Cx2xVr92.js → fuse-BLrCecKQ.js} +3 -3
- package/dist/browser/index.html +0 -2
- package/dist/browser/index.js +14 -12
- package/dist/browser/{is-debug-DeMC2fj6.js → is-debug-DCLUqHh8.js} +654 -838
- package/dist/browser/{jsx-runtime-CeW-_L98.js → jsx-runtime-DlYXaiXZ.js} +3 -3
- package/dist/browser/{lib-ouUEfatK.js → lib-BDxYYOIt.js} +5 -5
- package/dist/browser/{main-C8DYHeS3.js → main-Dk9WLOfs.js} +1 -1
- package/dist/browser/mobx-Crec_zrD.js +24 -0
- package/dist/browser/{particles.min-CuOEuyDw.js → particles.min-CJwjn4Ff.js} +3 -3
- package/dist/browser/{prop-types-CkH4l5ny.js → prop-types-Dqb4sQlT.js} +3 -3
- package/dist/browser/{react-_GkslNER.js → react-DT3DrOuh.js} +3 -3
- package/dist/browser/{react-dom-Cq9do5W9.js → react-dom-DaXpOIBA.js} +4 -4
- package/dist/browser/register-debug-namespaces-setting-CDUqQrwu.js +27 -0
- package/dist/browser/reset-all-settings-BGD6O0Yi.js +15 -0
- package/dist/browser/{chunk-CmzsSKsP.js → rolldown-runtime-BDoRuuto.js} +1 -1
- package/dist/browser/{reset-all-settings-hgrZphbe.js → setting-registry-fKTgQ5tb.js} +3 -8
- package/dist/browser/{settings-BIMaTEyo.js → settings-BESfpH6w.js} +15 -14
- package/dist/browser/settings-item-CxX99BiC.js +67 -0
- package/dist/browser/{store-B0ML_owv.js → store-Ca0tjo_1.js} +5290 -5289
- package/dist/browser/ui-RnHaY1Kz.js +36 -0
- package/dist/esm/_misc_to_move/logBuildInfo.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/load.js +1 -1
- package/package.json +3 -3
- package/dist/browser/boolean-editor-CtepaQAf.js +0 -206
- package/dist/browser/mobx-BTzRLiLH.js +0 -24
- package/dist/browser/src-BGoCtwZn.js +0 -19
- package/dist/browser/ui-vdOqnu50.js +0 -33
- package/dist/esm/_misc_to_move/logBuildInfoImpl.d.ts +0 -2
- package/dist/esm/_misc_to_move/logBuildInfoImpl.js +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.10" };
|
|
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] = "ffe1525d-d230-4b34-98a6-4c6e7deb7815", e._sentryDebugIdIdentifier = "sentry-dbid-ffe1525d-d230-4b34-98a6-4c6e7deb7815");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./add-debug-secret-listener-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BDoRuuto.js";
|
|
10
|
+
import { t } from "./react-DT3DrOuh.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DlYXaiXZ.js";
|
|
12
|
+
import { t as r } from "./add-debug-secret-listener-DO7UiI9_.js";
|
|
13
13
|
//#region ../debug/src/lib/ui/side-button.tsx
|
|
14
14
|
var i = /* @__PURE__ */ e(t(), 1), a = n(), o = ({ onClick: e }) => /* @__PURE__ */ (0, a.jsx)("button", {
|
|
15
15
|
type: "button",
|
|
@@ -66,7 +66,7 @@ function s({ size: e = 18, strokeWidth: t = 3, ...n }) {
|
|
|
66
66
|
}
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region ../debug/src/lib/ui/debug-ui.tsx
|
|
69
|
-
var c = (0, i.lazy)(async () => ({ default: (await import("./debug-overlay-
|
|
69
|
+
var c = (0, i.lazy)(async () => ({ default: (await import("./debug-overlay-DeravwkZ.js")).DebugOverlay })), l = ".expofp-floorplan-default", u = (e) => {
|
|
70
70
|
var t;
|
|
71
71
|
let [n, s] = (0, i.useState)(e.open), [u, d] = e.useDebugButtonState(), f = (t = e.hostSelector) == null ? l : t;
|
|
72
72
|
return (0, i.useEffect)(() => r(() => {
|
|
@@ -1,17 +1,17 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.10" };
|
|
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] = "ac1ea271-4cde-4059-926b-6402fb6a3369", e._sentryDebugIdIdentifier = "sentry-dbid-ac1ea271-4cde-4059-926b-6402fb6a3369");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./
|
|
12
|
-
import { t as r } from "./
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BDoRuuto.js";
|
|
10
|
+
import { t } from "./react-DT3DrOuh.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DlYXaiXZ.js";
|
|
12
|
+
import { t as r } from "./react-dom-DaXpOIBA.js";
|
|
13
13
|
//#region ../../node_modules/.pnpm/react-virtuoso@4.18.3_react-dom@19.2.5_react@19.2.5__react@19.2.5/node_modules/react-virtuoso/dist/index.mjs
|
|
14
|
-
var i =
|
|
14
|
+
var i = n(), a = /* @__PURE__ */ e(t(), 1), o = /* @__PURE__ */ e(r(), 1), s = 0, c = 1, l = 2, u = 4;
|
|
15
15
|
function d(e) {
|
|
16
16
|
return () => e;
|
|
17
17
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region ../debug/src/lib/log-store.ts
|
|
2
|
+
(function() {
|
|
3
|
+
try {
|
|
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.1.10" };
|
|
6
|
+
var t = new e.Error().stack;
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a5b0e481-0196-4ebd-a14e-30d2096167fa", e._sentryDebugIdIdentifier = "sentry-dbid-a5b0e481-0196-4ebd-a14e-30d2096167fa");
|
|
8
|
+
} catch {}
|
|
9
|
+
})();
|
|
10
|
+
var e = 5e3, t = [], n = /* @__PURE__ */ new Set();
|
|
11
|
+
function r() {
|
|
12
|
+
return t;
|
|
13
|
+
}
|
|
14
|
+
function i(e) {
|
|
15
|
+
return n.add(e), () => {
|
|
16
|
+
n.delete(e);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function a(r) {
|
|
20
|
+
t = t.length >= e ? [...t.slice(1), r] : [...t, r], n.forEach((e) => e());
|
|
21
|
+
}
|
|
22
|
+
function o() {
|
|
23
|
+
t.length !== 0 && (t = [], n.forEach((e) => e()));
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region ../debug/src/lib/init-debug.tsx
|
|
27
|
+
if (typeof console < "u") {
|
|
28
|
+
let e = (e, t) => (...n) => {
|
|
29
|
+
a({
|
|
30
|
+
level: e,
|
|
31
|
+
args: n,
|
|
32
|
+
ts: Date.now()
|
|
33
|
+
}), t(...n);
|
|
34
|
+
}, t = console.log.bind(console), n = console.debug.bind(console), r = console.info.bind(console), i = console.warn.bind(console), o = console.error.bind(console);
|
|
35
|
+
console.log = e("log", t), console.debug = e("debug", n), console.info = e("info", r), console.warn = e("warn", i), console.error = e("error", o);
|
|
36
|
+
}
|
|
37
|
+
(typeof window < "u" || typeof document < "u") && import("./ui-RnHaY1Kz.js").then(({ renderDebugUi: e }) => {
|
|
38
|
+
e();
|
|
39
|
+
}).catch(() => {});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { r as n, i as r, o as t };
|
|
@@ -2,7 +2,7 @@
|
|
|
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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.10" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b056443-ab52-44a3-b782-756aadfea59e", e._sentryDebugIdIdentifier = "sentry-dbid-8b056443-ab52-44a3-b782-756aadfea59e");
|
|
8
8
|
} catch {}
|
|
@@ -2,7 +2,7 @@
|
|
|
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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.10" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
7
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9c534acb-984f-4831-95cd-16a8727c58ee", e._sentryDebugIdIdentifier = "sentry-dbid-9c534acb-984f-4831-95cd-16a8727c58ee");
|
|
8
8
|
} catch {}
|
|
@@ -1,12 +1,12 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.10" };
|
|
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] = "2ef0544c-6822-4618-b0d8-662f99974861", e._sentryDebugIdIdentifier = "sentry-dbid-2ef0544c-6822-4618-b0d8-662f99974861");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./
|
|
9
|
+
import { t as e } from "./rolldown-runtime-BDoRuuto.js";
|
|
10
10
|
//#region ../../node_modules/.pnpm/fetch-retry@6.0.0/node_modules/fetch-retry/dist/fetch-retry.umd.js
|
|
11
11
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
12
12
|
(function(n, r) {
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.1.10" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d19c2a22-7464-4ab9-918b-172da188eee9", e._sentryDebugIdIdentifier = "sentry-dbid-d19c2a22-7464-4ab9-918b-172da188eee9");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BDoRuuto.js";
|
|
10
|
+
import { t } from "./react-DT3DrOuh.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-DlYXaiXZ.js";
|
|
12
|
+
import { t as r } from "./react-dom-DaXpOIBA.js";
|
|
13
|
+
import { T as i, a, l as o, r as s, t as c, u as l } from "./flex.props-25tq8dKa.js";
|
|
14
|
+
import { t as u } from "./classnames-os-gPzrW.js";
|
|
15
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_004379973539b6d86227cd4562b544dc/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
16
|
+
var d = /* @__PURE__ */ e(t(), 1), f = /* @__PURE__ */ e(r(), 1), p = n(), m = [
|
|
17
|
+
"a",
|
|
18
|
+
"button",
|
|
19
|
+
"div",
|
|
20
|
+
"form",
|
|
21
|
+
"h2",
|
|
22
|
+
"h3",
|
|
23
|
+
"img",
|
|
24
|
+
"input",
|
|
25
|
+
"label",
|
|
26
|
+
"li",
|
|
27
|
+
"nav",
|
|
28
|
+
"ol",
|
|
29
|
+
"p",
|
|
30
|
+
"select",
|
|
31
|
+
"span",
|
|
32
|
+
"svg",
|
|
33
|
+
"ul"
|
|
34
|
+
].reduce((e, t) => {
|
|
35
|
+
let n = i(`Primitive.${t}`), r = d.forwardRef((e, r) => {
|
|
36
|
+
let { asChild: i, ...a } = e, o = i ? n : t;
|
|
37
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, p.jsx)(o, {
|
|
38
|
+
...a,
|
|
39
|
+
ref: r
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
return r.displayName = `Primitive.${t}`, {
|
|
43
|
+
...e,
|
|
44
|
+
[t]: r
|
|
45
|
+
};
|
|
46
|
+
}, {});
|
|
47
|
+
function h(e, t) {
|
|
48
|
+
e && f.flushSync(() => e.dispatchEvent(t));
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
52
|
+
function g(e, t) {
|
|
53
|
+
let n = d.createContext(t), r = (e) => {
|
|
54
|
+
let { children: t, ...r } = e, i = d.useMemo(() => r, Object.values(r));
|
|
55
|
+
return /* @__PURE__ */ (0, p.jsx)(n.Provider, {
|
|
56
|
+
value: i,
|
|
57
|
+
children: t
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
r.displayName = e + "Provider";
|
|
61
|
+
function i(r) {
|
|
62
|
+
let i = d.useContext(n);
|
|
63
|
+
if (i) return i;
|
|
64
|
+
if (t !== void 0) return t;
|
|
65
|
+
throw Error(`\`${r}\` must be used within \`${e}\``);
|
|
66
|
+
}
|
|
67
|
+
return [r, i];
|
|
68
|
+
}
|
|
69
|
+
function _(e, t = []) {
|
|
70
|
+
let n = [];
|
|
71
|
+
function r(t, r) {
|
|
72
|
+
let i = d.createContext(r), a = n.length;
|
|
73
|
+
n = [...n, r];
|
|
74
|
+
let o = (t) => {
|
|
75
|
+
var n;
|
|
76
|
+
let { scope: r, children: o, ...s } = t, c = (r == null || (n = r[e]) == null ? void 0 : n[a]) || i, l = d.useMemo(() => s, Object.values(s));
|
|
77
|
+
return /* @__PURE__ */ (0, p.jsx)(c.Provider, {
|
|
78
|
+
value: l,
|
|
79
|
+
children: o
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
o.displayName = t + "Provider";
|
|
83
|
+
function s(n, o) {
|
|
84
|
+
var s;
|
|
85
|
+
let c = (o == null || (s = o[e]) == null ? void 0 : s[a]) || i, l = d.useContext(c);
|
|
86
|
+
if (l) return l;
|
|
87
|
+
if (r !== void 0) return r;
|
|
88
|
+
throw Error(`\`${n}\` must be used within \`${t}\``);
|
|
89
|
+
}
|
|
90
|
+
return [o, s];
|
|
91
|
+
}
|
|
92
|
+
let i = () => {
|
|
93
|
+
let t = n.map((e) => d.createContext(e));
|
|
94
|
+
return function(n) {
|
|
95
|
+
let r = (n == null ? void 0 : n[e]) || t;
|
|
96
|
+
return d.useMemo(() => ({ [`__scope${e}`]: {
|
|
97
|
+
...n,
|
|
98
|
+
[e]: r
|
|
99
|
+
} }), [n, r]);
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
return i.scopeName = e, [r, v(i, ...t)];
|
|
103
|
+
}
|
|
104
|
+
function v(...e) {
|
|
105
|
+
let t = e[0];
|
|
106
|
+
if (e.length === 1) return t;
|
|
107
|
+
let n = () => {
|
|
108
|
+
let n = e.map((e) => ({
|
|
109
|
+
useScope: e(),
|
|
110
|
+
scopeName: e.scopeName
|
|
111
|
+
}));
|
|
112
|
+
return function(e) {
|
|
113
|
+
let r = n.reduce((t, { useScope: n, scopeName: r }) => {
|
|
114
|
+
let i = n(e)[`__scope${r}`];
|
|
115
|
+
return {
|
|
116
|
+
...t,
|
|
117
|
+
...i
|
|
118
|
+
};
|
|
119
|
+
}, {});
|
|
120
|
+
return d.useMemo(() => ({ [`__scope${t.scopeName}`]: r }), [r]);
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
return n.scopeName = t.scopeName, n;
|
|
124
|
+
}
|
|
125
|
+
typeof window < "u" && window.document && window.document.createElement;
|
|
126
|
+
function y(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
127
|
+
return function(r) {
|
|
128
|
+
if (e == null || e(r), n === !1 || !r.defaultPrevented) return t == null ? void 0 : t(r);
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
133
|
+
var b, x = (b = globalThis) != null && b.document ? d.useLayoutEffect : () => {}, S = d.useInsertionEffect || x;
|
|
134
|
+
function C({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
135
|
+
let [i, a, o] = w({
|
|
136
|
+
defaultProp: t,
|
|
137
|
+
onChange: n
|
|
138
|
+
}), s = e !== void 0, c = s ? e : i;
|
|
139
|
+
{
|
|
140
|
+
let t = d.useRef(e !== void 0);
|
|
141
|
+
d.useEffect(() => {
|
|
142
|
+
let e = t.current;
|
|
143
|
+
e !== s && console.warn(`${r} is changing from ${e ? "controlled" : "uncontrolled"} to ${s ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), t.current = s;
|
|
144
|
+
}, [s, r]);
|
|
145
|
+
}
|
|
146
|
+
return [c, d.useCallback((t) => {
|
|
147
|
+
if (s) {
|
|
148
|
+
let r = T(t) ? t(e) : t;
|
|
149
|
+
if (r !== e) {
|
|
150
|
+
var n;
|
|
151
|
+
(n = o.current) == null || n.call(o, r);
|
|
152
|
+
}
|
|
153
|
+
} else a(t);
|
|
154
|
+
}, [
|
|
155
|
+
s,
|
|
156
|
+
e,
|
|
157
|
+
a,
|
|
158
|
+
o
|
|
159
|
+
])];
|
|
160
|
+
}
|
|
161
|
+
function w({ defaultProp: e, onChange: t }) {
|
|
162
|
+
let [n, r] = d.useState(e), i = d.useRef(n), a = d.useRef(t);
|
|
163
|
+
return S(() => {
|
|
164
|
+
a.current = t;
|
|
165
|
+
}, [t]), d.useEffect(() => {
|
|
166
|
+
if (i.current !== n) {
|
|
167
|
+
var e;
|
|
168
|
+
(e = a.current) == null || e.call(a, n), i.current = n;
|
|
169
|
+
}
|
|
170
|
+
}, [n, i]), [
|
|
171
|
+
n,
|
|
172
|
+
r,
|
|
173
|
+
a
|
|
174
|
+
];
|
|
175
|
+
}
|
|
176
|
+
function T(e) {
|
|
177
|
+
return typeof e == "function";
|
|
178
|
+
}
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
181
|
+
function E(e) {
|
|
182
|
+
let [t, n] = d.useState(void 0);
|
|
183
|
+
return x(() => {
|
|
184
|
+
if (e) {
|
|
185
|
+
n({
|
|
186
|
+
width: e.offsetWidth,
|
|
187
|
+
height: e.offsetHeight
|
|
188
|
+
});
|
|
189
|
+
let t = new ResizeObserver((t) => {
|
|
190
|
+
if (!Array.isArray(t) || !t.length) return;
|
|
191
|
+
let r = t[0], i, a;
|
|
192
|
+
if ("borderBoxSize" in r) {
|
|
193
|
+
let e = r.borderBoxSize, t = Array.isArray(e) ? e[0] : e;
|
|
194
|
+
i = t.inlineSize, a = t.blockSize;
|
|
195
|
+
} else i = e.offsetWidth, a = e.offsetHeight;
|
|
196
|
+
n({
|
|
197
|
+
width: i,
|
|
198
|
+
height: a
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
return t.observe(e, { box: "border-box" }), () => t.unobserve(e);
|
|
202
|
+
} else n(void 0);
|
|
203
|
+
}, [e]), t;
|
|
204
|
+
}
|
|
205
|
+
//#endregion
|
|
206
|
+
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@19.2._c0b9fed6e211d5c83adcfe1ae3769049/node_modules/@radix-ui/themes/dist/esm/components/flex.js
|
|
207
|
+
var D = /* @__PURE__ */ e(u()), O = d.forwardRef((e, t) => {
|
|
208
|
+
let { className: n, asChild: r, as: i = "div", ...u } = l(e, c, s, o);
|
|
209
|
+
return d.createElement(r ? a : i, {
|
|
210
|
+
...u,
|
|
211
|
+
ref: t,
|
|
212
|
+
className: (0, D.default)("rt-Flex", n)
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
O.displayName = "Flex";
|
|
216
|
+
//#endregion
|
|
217
|
+
export { y as a, m as c, x as i, h as l, E as n, g as o, C as r, _ as s, O as t };
|