@expofp/floorplan 3.1.8 → 3.1.9
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-C4eKGuNJ.js} +353 -353
- package/dist/browser/{Debug-Dc-CpIuW.js → Debug-BK0h3ENt.js} +13 -13
- package/dist/browser/{Demo-C-gDoJHz.js → Demo-DKWnVx5b.js} +13 -13
- package/dist/browser/{Free-B_Nc0lBV.js → Free-CJhiGdSU.js} +15 -15
- package/dist/browser/{Gallery-NW3tpm3U.js → Gallery-DMfpZoE0.js} +59 -59
- package/dist/browser/{GpsLoader-BgtxLTgL.js → GpsLoader-DS9DXlBR.js} +35 -35
- package/dist/browser/{KioskStore-O9lcbMgO.js → KioskStore-CiEM9CMf.js} +4 -4
- package/dist/browser/{Mapbox-n8XdO_JZ.js → Mapbox-BBw_6HBr.js} +9 -9
- package/dist/browser/{SetKioskMode-BSrhzr-T.js → SetKioskMode-DgygnfNq.js} +8 -8
- package/dist/browser/{ShowKiosk-ChdkT29W.js → ShowKiosk-BclMWRLG.js} +10 -10
- package/dist/browser/{ThreeComponent-C9NgJy3L.js → ThreeComponent-CTQ2sWc-.js} +16 -16
- package/dist/browser/{TouchHand-j9wM9VIW.js → TouchHand-lZlKGKGH.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-B-eQvgxu.js → ViewerMenuPanel-fZCPm9TA.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-hyBkCStK.js → add-debug-secret-listener-jHGzZuWM.js} +1 -1
- package/dist/browser/boolean-editor-DNFYN4Sx.js +158 -0
- package/dist/browser/{bootIntercom-CWJHIFsy.js → bootIntercom-DWQX7Nxl.js} +1 -1
- package/dist/browser/browser-Dpy-Cy8d.js +198 -0
- package/dist/browser/bundle.json +62 -44
- package/dist/browser/{chunk-CmzsSKsP.js → chunk-BfzSeyLK.js} +1 -1
- package/dist/browser/{classnames-CV7GydgO.js → classnames-BW7mCZyh.js} +2 -2
- package/dist/browser/{client-CW46IlZK.js → client-Cn3Z9ang.js} +5 -5
- package/dist/browser/{data-BFFP23Yx.js → data-7hb4vDd3.js} +4 -4
- package/dist/browser/debug-namespaces-editor-CmUqG69-.js +119 -0
- package/dist/browser/{debug-overlay-DK1IpDkH.js → debug-overlay-B-e5Pbxg.js} +1468 -1264
- package/dist/browser/{debug-ui-Bk_cgOg0.js → debug-ui-DxiU8oSt.js} +7 -7
- package/dist/browser/{dist-msXGDyJE.js → dist-DD4WWKtK.js} +7 -7
- package/dist/browser/{exports-CWJfbRRi.js → exports-lQhByCca.js} +1 -1
- package/dist/browser/{favicon-Dx5hE2TC.js → favicon-VUxEiZxq.js} +1 -1
- package/dist/browser/{fetch-retry.umd--f_V0nbP.js → fetch-retry.umd-BDjT0rTs.js} +2 -2
- package/dist/browser/flex-SvJc8Gd0.js +217 -0
- package/dist/browser/{flex-DayQlZNC.js → flex.props-DnHjeP6T.js} +165 -368
- package/dist/browser/{floorplan.loader-ChwMFO3K.js → floorplan.loader-D1izAjdW.js} +643 -643
- package/dist/browser/{floorplan.ready-DH6TL_BA.js → floorplan.ready-DqeRjOqu.js} +214 -213
- package/dist/browser/{fuse-Cx2xVr92.js → fuse-ESGGgZWs.js} +2 -2
- package/dist/browser/index.js +70 -53
- package/dist/browser/{is-debug-DeMC2fj6.js → is-debug-C64aYlrH.js} +654 -838
- package/dist/browser/{jsx-runtime-CeW-_L98.js → jsx-runtime-v8j39o0i.js} +2 -2
- package/dist/browser/{lib-ouUEfatK.js → lib-DW2iYgnU.js} +5 -5
- package/dist/browser/log-store-l_zfzIvt.js +26 -0
- package/dist/browser/{main-C8DYHeS3.js → main-_sD237P5.js} +1 -1
- package/dist/browser/mobx-BWJGyD6x.js +24 -0
- package/dist/browser/{particles.min-CuOEuyDw.js → particles.min-9AV6GYes.js} +2 -2
- package/dist/browser/{prop-types-CkH4l5ny.js → prop-types-CJoAWh1g.js} +2 -2
- package/dist/browser/{react-_GkslNER.js → react-DBhCWCTi.js} +2 -2
- package/dist/browser/{react-dom-Cq9do5W9.js → react-dom-DRChqii1.js} +4 -4
- package/dist/browser/register-debug-namespaces-setting-Kg13ON9A.js +27 -0
- package/dist/browser/reset-all-settings-NSxrFuY5.js +15 -0
- package/dist/browser/{reset-all-settings-hgrZphbe.js → setting-registry-xuc0QrRD.js} +3 -8
- package/dist/browser/{settings-BIMaTEyo.js → settings-DLHiz1Aj.js} +15 -14
- package/dist/browser/settings-item-BT3bl2Bv.js +67 -0
- package/dist/browser/{store-B0ML_owv.js → store-BspVk_2u.js} +5290 -5289
- package/dist/browser/ui-fwuZcurI.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.9" };
|
|
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] = "524d23d9-688c-4e08-a0bc-c959005c369b", e._sentryDebugIdIdentifier = "sentry-dbid-524d23d9-688c-4e08-a0bc-c959005c369b");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
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 "./chunk-BfzSeyLK.js";
|
|
10
|
+
import { t } from "./react-DBhCWCTi.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-v8j39o0i.js";
|
|
12
|
+
import { t as r } from "./add-debug-secret-listener-jHGzZuWM.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-B-e5Pbxg.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.9" };
|
|
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] = "ad3e4167-6746-48f9-8193-766ea4f64717", e._sentryDebugIdIdentifier = "sentry-dbid-ad3e4167-6746-48f9-8193-766ea4f64717");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./
|
|
12
|
-
import { t as r } from "./
|
|
9
|
+
import { r as e } from "./chunk-BfzSeyLK.js";
|
|
10
|
+
import { t } from "./react-DBhCWCTi.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-v8j39o0i.js";
|
|
12
|
+
import { t as r } from "./react-dom-DRChqii1.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
|
}
|
|
@@ -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.9" };
|
|
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.9" };
|
|
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.9" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
6
|
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ab5948ba-95fd-4f5b-8120-c4c248a1de86", e._sentryDebugIdIdentifier = "sentry-dbid-ab5948ba-95fd-4f5b-8120-c4c248a1de86");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { t as e } from "./chunk-
|
|
9
|
+
import { t as e } from "./chunk-BfzSeyLK.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.9" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d758e01a-869e-4c2f-a830-84dc52336199", e._sentryDebugIdIdentifier = "sentry-dbid-d758e01a-869e-4c2f-a830-84dc52336199");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./chunk-BfzSeyLK.js";
|
|
10
|
+
import { t } from "./react-DBhCWCTi.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-v8j39o0i.js";
|
|
12
|
+
import { t as r } from "./react-dom-DRChqii1.js";
|
|
13
|
+
import { T as i, a, l as o, r as s, t as c, u as l } from "./flex.props-DnHjeP6T.js";
|
|
14
|
+
import { t as u } from "./classnames-BW7mCZyh.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 };
|