@expofp/floorplan 3.13.1 → 3.13.2
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-C5DLguTW.js} +6 -6
- package/dist/browser/{CookieConsent-CSTxsO7b.js → CookieConsent-CPXxoJkz.js} +8 -8
- package/dist/browser/{Debug-VJg8Kv3w.js → Debug-bxMz-HDF.js} +8 -8
- package/dist/browser/{Demo-DK7aO8n7.js → Demo-CGCZqU_8.js} +10 -10
- package/dist/browser/{Free-Dc9anWmM.js → Free-I-EGiu3o.js} +10 -10
- package/dist/browser/{Gallery-Dnm4hSmm.js → Gallery-Bce2fubu.js} +31 -25
- package/dist/browser/{GpsLoader-DQmIKYxp.js → GpsLoader-CnPH3rxE.js} +12 -12
- package/dist/browser/{KioskStore-Do9vKaRP.js → KioskStore-K0Ps7wq6.js} +4 -4
- package/dist/browser/{MaplibreAdapter-bY-ABtGS.js → MaplibreAdapter-DKa1N9-7.js} +85 -57
- package/dist/browser/{ModalContainer-DnYcW0A9.js → ModalContainer-BxCJTxBS.js} +11 -11
- package/dist/browser/{PermissionNotice-BfOksslN.js → PermissionNotice-BS53dDaS.js} +7 -7
- package/dist/browser/{SetKioskMode-vTpieU9t.js → SetKioskMode-P2g_TnCr.js} +10 -10
- package/dist/browser/{ShowKiosk-CdNxtqFI.js → ShowKiosk-Bz-7t-PL.js} +12 -12
- package/dist/browser/{TouchHand-B9X_pexY.js → TouchHand-Dm3c6gpk.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-Cwhfqk7r.js → ViewerMenuPanel-COyljU8V.js} +10 -10
- package/dist/browser/{add-debug-secret-listener-mWeM9pHG.js → add-debug-secret-listener-DQjjtobD.js} +1 -1
- package/dist/browser/{reset-all-settings-C4_ors4k.js → adopt-global-settings-DIJsf94E.js} +12 -17
- package/dist/browser/{boolean-editor-CGPZFexF.js → boolean-editor-D4Y66mgk.js} +46 -46
- package/dist/browser/{bootIntercom-CaST_jNX.js → bootIntercom-DUPbX22l.js} +3 -3
- package/dist/browser/{booth-by-xy-BO6naDgy.js → booth-by-xy-DKyMJwg9.js} +13 -13
- package/dist/browser/bundle.json +67 -70
- package/dist/browser/{classnames-ClEJC3j4.js → classnames-CTiheKEO.js} +2 -2
- package/dist/browser/{client-DXdbQp9r.js → client-B0g0Q0fu.js} +9 -9
- package/dist/browser/{components-Bowa21U1.js → components-DUbHmBQ6.js} +60 -53
- package/dist/browser/{debug-overlay-Y5npuuWR.js → debug-overlay-CKXL3Z9z.js} +470 -464
- package/dist/browser/{debug-ui-D1g5i_jy.js → debug-ui-D2GPuJSX.js} +7 -7
- package/dist/browser/{dist-Cn9LPy1P.js → dist-BFVoy_zB.js} +7 -7
- package/dist/browser/{dist-BSvcUdys.js → dist-CFY_dc-C.js} +5 -5
- package/dist/browser/{dist-aJ-8azal.js → dist-CZH-D_bo.js} +66 -67
- package/dist/browser/{efp-debug-init-Brk9OaSQ.js → efp-debug-init-pd2smy4A.js} +4 -4
- package/dist/browser/{enum-editor-BZ9LwkZ8.js → enum-editor-a07SOXXi.js} +5 -5
- package/dist/browser/{es5-XJHAF1nV.js → es5-jDwWZhmf.js} +2 -2
- package/dist/browser/{event-not-found-_rTvDWyj.js → event-not-found-CPqO_ew-.js} +1 -1
- package/dist/browser/{exports-DWUH8uau.js → exports-8JcxTO7_.js} +567 -566
- package/dist/browser/{favicon-5J-1eJZd.js → favicon-BhTDecsz.js} +1 -1
- package/dist/browser/{fetch-retry.umd-Br7VuO9v.js → fetch-retry.umd-BuEcG130.js} +2 -2
- package/dist/browser/{flex-B3O1z4v3.js → flex-FVc6l8VM.js} +17 -17
- package/dist/browser/{floorplan.loader-sk15sA3u.js → floorplan.loader-DM3BoMUa.js} +1372 -1298
- package/dist/browser/{floorplan.ready-B4ahF1S7.js → floorplan.ready-DQAk0-bE.js} +294 -294
- package/dist/browser/{fuse-Ci_KKUTa.js → fuse-hiNWVTid.js} +2 -2
- package/dist/browser/{i18n-99DQd2vS.js → i18n-DmUQ2csh.js} +2399 -2412
- package/dist/browser/index.js +36 -36
- package/dist/browser/{index.module-DAnhLbye.js → index.module-Ce5K5GHH.js} +6 -6
- package/dist/browser/{integrateKiosk-DZXpUrOj.js → integrateKiosk-DLY98yHT.js} +4 -4
- package/dist/browser/{is-webview-DpONzc0i.js → is-webview-DYW7jMPo.js} +1 -1
- package/dist/browser/{jsx-runtime-CaS3omHd.js → jsx-runtime-Cn7VZCRr.js} +4 -4
- package/dist/browser/{lib-BiZuekek.js → lib-DKxIjoGs.js} +155 -112
- package/dist/browser/{loadImage-CjXrDhKo.js → loadImage-CFRF6nKm.js} +5 -5
- package/dist/browser/{logDeviceInfo-BYL9Ek4m.js → logDeviceInfo-B2xD643p.js} +9 -9
- package/dist/browser/{main-C5obpH9n.js → main-BE7HSdfx.js} +1 -1
- package/dist/browser/{mobx-DUuRiBpm.js → mobx-Dss6V0uv.js} +5 -5
- package/dist/browser/{optional-boolean-editor-vmPQV7dq.js → optional-boolean-editor-BDWvD6R3.js} +4 -4
- package/dist/browser/{optional-enum-editor-CAafO0D2.js → optional-enum-editor-DzJSD274.js} +5 -5
- package/dist/browser/{optional-string-editor-CnDprvv4.js → optional-string-editor-DvQrsAvN.js} +5 -5
- package/dist/browser/{particles.min-Bw-lHwaG.js → particles.min-0GINFlmD.js} +2 -2
- package/dist/browser/{react-DIEnjHSI.js → react-CQIXbbli.js} +5 -5
- package/dist/browser/{react-dom-CK-QaYaJ.js → react-dom-DB3HP1L3.js} +6 -6
- package/dist/browser/{rolldown-runtime-Dfh5_zpq.js → rolldown-runtime-CBbNE2KV.js} +1 -1
- package/dist/browser/select-DkvD6Ont.js +1367 -0
- package/dist/browser/{settings-CkTeZAPn.js → settings-3RnELfMa.js} +3 -3
- package/dist/browser/{settings-item-Bdmu0-LD.js → settings-item-wgFS4pwq.js} +16 -16
- package/dist/browser/{store-C8eFtLML.js → store-Bh1UUDBZ.js} +2883 -2883
- package/dist/browser/{string-editor-CM26hetz.js → string-editor-DIG3V4Iv.js} +5 -5
- package/dist/browser/{text-field-CdM7a_e4.js → text-field-Ce1nLpTL.js} +25 -25
- package/dist/browser/{theme-Byin1YOk.js → theme-DE94e68B.js} +949 -946
- package/dist/browser/{ui-Bso8uSzX.js → ui-DKrc1LYz.js} +11 -11
- package/dist/browser/{useRenderTarget-C16k6iot.js → useRenderTarget-DwEjrRiD.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/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-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/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/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +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/store/BaseFilterStore.js +1 -1
- package/dist/esm/store/BookmarksStore.js +2 -2
- 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 -2
- package/dist/esm/store/UIState.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/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/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 +17 -17
- package/dist/browser/prop-types-Bw2U3Pyj.js +0 -57
- package/dist/browser/select-CGbkxHY8.js +0 -1360
|
@@ -1,29 +1,186 @@
|
|
|
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.13.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.13.2" };
|
|
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] = "f658045a-5be7-4ea4-a4b2-ddea9ab9caf3", e._sentryDebugIdIdentifier = "sentry-dbid-f658045a-5be7-4ea4-a4b2-ddea9ab9caf3");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./react-dom-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-
|
|
17
|
-
var b =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-CBbNE2KV.js";
|
|
10
|
+
import { t } from "./react-CQIXbbli.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-Cn7VZCRr.js";
|
|
12
|
+
import { t as r } from "./react-dom-DB3HP1L3.js";
|
|
13
|
+
import { C as i, E as a, O as o, T as s, _ as c, o as l, v as u, w as d } from "./flex-FVc6l8VM.js";
|
|
14
|
+
import { c as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dist-CZH-D_bo.js";
|
|
15
|
+
import { t as y } from "./classnames-CTiheKEO.js";
|
|
16
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-visually-hidden@1.2.3_@types+react-dom@19.2.3_@types+react@19.2.17__@ty_cffccd7838985066e8e1d993b5cb6017/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
17
|
+
var b = /* @__PURE__ */ e(r(), 1), x = /* @__PURE__ */ e(t(), 1), S = n(), C = Object.freeze({
|
|
18
|
+
position: "absolute",
|
|
19
|
+
border: 0,
|
|
20
|
+
width: 1,
|
|
21
|
+
height: 1,
|
|
22
|
+
padding: 0,
|
|
23
|
+
margin: -1,
|
|
24
|
+
overflow: "hidden",
|
|
25
|
+
clip: "rect(0, 0, 0, 0)",
|
|
26
|
+
whiteSpace: "nowrap",
|
|
27
|
+
wordWrap: "normal"
|
|
28
|
+
}), w = "VisuallyHidden", T = x.forwardRef((e, t) => /* @__PURE__ */ (0, S.jsx)(_.span, {
|
|
29
|
+
...e,
|
|
30
|
+
ref: t,
|
|
31
|
+
style: {
|
|
32
|
+
...C,
|
|
33
|
+
...e.style
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
36
|
+
T.displayName = w;
|
|
37
|
+
var E = T;
|
|
38
|
+
function D(e) {
|
|
39
|
+
let t = e + "CollectionProvider", [n, r] = h(t), [i, a] = n(t, {
|
|
40
|
+
collectionRef: { current: null },
|
|
41
|
+
itemMap: /* @__PURE__ */ new Map()
|
|
42
|
+
}), c = (e) => {
|
|
43
|
+
let { scope: t, children: n } = e, r = x.useRef(null), a = x.useRef(/* @__PURE__ */ new Map()).current;
|
|
44
|
+
return /* @__PURE__ */ (0, S.jsx)(i, {
|
|
45
|
+
scope: t,
|
|
46
|
+
itemMap: a,
|
|
47
|
+
collectionRef: r,
|
|
48
|
+
children: n
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
c.displayName = t;
|
|
52
|
+
let l = e + "CollectionSlot", u = s(l), d = x.forwardRef((e, t) => {
|
|
53
|
+
let { scope: n, children: r } = e, i = o(t, a(l, n).collectionRef);
|
|
54
|
+
return /* @__PURE__ */ (0, S.jsx)(u, {
|
|
55
|
+
ref: i,
|
|
56
|
+
children: r
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
d.displayName = l;
|
|
60
|
+
let f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = s(f), g = x.forwardRef((e, t) => {
|
|
61
|
+
let { scope: n, children: r, ...i } = e, s = x.useRef(null), c = o(t, s), l = a(f, n);
|
|
62
|
+
return x.useEffect(() => (l.itemMap.set(s, {
|
|
63
|
+
ref: s,
|
|
64
|
+
...i
|
|
65
|
+
}), () => void l.itemMap.delete(s))), /* @__PURE__ */ (0, S.jsx)(m, {
|
|
66
|
+
[p]: "",
|
|
67
|
+
ref: c,
|
|
68
|
+
children: r
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
g.displayName = f;
|
|
72
|
+
function _(t) {
|
|
73
|
+
let n = a(e + "CollectionConsumer", t);
|
|
74
|
+
return x.useCallback(() => {
|
|
75
|
+
let e = n.collectionRef.current;
|
|
76
|
+
if (!e) return [];
|
|
77
|
+
let t = Array.from(e.querySelectorAll(`[${p}]`));
|
|
78
|
+
return Array.from(n.itemMap.values()).sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current));
|
|
79
|
+
}, [n.collectionRef, n.itemMap]);
|
|
80
|
+
}
|
|
81
|
+
return [
|
|
82
|
+
{
|
|
83
|
+
Provider: c,
|
|
84
|
+
Slot: d,
|
|
85
|
+
ItemSlot: g
|
|
86
|
+
},
|
|
87
|
+
_,
|
|
88
|
+
r
|
|
89
|
+
];
|
|
90
|
+
}
|
|
91
|
+
//#endregion
|
|
92
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.17__@types+rea_aa16e910ed36715ab53744d79d83cb58/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
93
|
+
function O(e, t) {
|
|
94
|
+
return x.useReducer((e, n) => {
|
|
95
|
+
let r = t[e][n];
|
|
96
|
+
return r == null ? e : r;
|
|
97
|
+
}, e);
|
|
98
|
+
}
|
|
99
|
+
var k = (e) => {
|
|
100
|
+
let { present: t, children: n } = e, r = A(t), i = typeof n == "function" ? n({ present: r.isPresent }) : x.Children.only(n), a = o(r.ref, M(i));
|
|
101
|
+
return typeof n == "function" || r.isPresent ? x.cloneElement(i, { ref: a }) : null;
|
|
102
|
+
};
|
|
103
|
+
k.displayName = "Presence";
|
|
104
|
+
function A(e) {
|
|
105
|
+
let [t, n] = x.useState(), r = x.useRef(null), i = x.useRef(e), a = x.useRef("none"), [o, s] = O(e ? "mounted" : "unmounted", {
|
|
106
|
+
mounted: {
|
|
107
|
+
UNMOUNT: "unmounted",
|
|
108
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
109
|
+
},
|
|
110
|
+
unmountSuspended: {
|
|
111
|
+
MOUNT: "mounted",
|
|
112
|
+
ANIMATION_END: "unmounted"
|
|
113
|
+
},
|
|
114
|
+
unmounted: { MOUNT: "mounted" }
|
|
115
|
+
});
|
|
116
|
+
return x.useEffect(() => {
|
|
117
|
+
let e = j(r.current);
|
|
118
|
+
a.current = o === "mounted" ? e : "none";
|
|
119
|
+
}, [o]), g(() => {
|
|
120
|
+
let t = r.current, n = i.current;
|
|
121
|
+
if (n !== e) {
|
|
122
|
+
let r = a.current, o = j(t);
|
|
123
|
+
e ? s("MOUNT") : o === "none" || (t == null ? void 0 : t.display) === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
124
|
+
}
|
|
125
|
+
}, [e, s]), g(() => {
|
|
126
|
+
if (t) {
|
|
127
|
+
var e;
|
|
128
|
+
let n, o = (e = t.ownerDocument.defaultView) == null ? window : e, c = (e) => {
|
|
129
|
+
let a = j(r.current).includes(CSS.escape(e.animationName));
|
|
130
|
+
if (e.target === t && a && (s("ANIMATION_END"), !i.current)) {
|
|
131
|
+
let e = t.style.animationFillMode;
|
|
132
|
+
t.style.animationFillMode = "forwards", n = o.setTimeout(() => {
|
|
133
|
+
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = e);
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
}, l = (e) => {
|
|
137
|
+
e.target === t && (a.current = j(r.current));
|
|
138
|
+
};
|
|
139
|
+
return t.addEventListener("animationstart", l), t.addEventListener("animationcancel", c), t.addEventListener("animationend", c), () => {
|
|
140
|
+
o.clearTimeout(n), t.removeEventListener("animationstart", l), t.removeEventListener("animationcancel", c), t.removeEventListener("animationend", c);
|
|
141
|
+
};
|
|
142
|
+
} else s("ANIMATION_END");
|
|
143
|
+
}, [t, s]), {
|
|
144
|
+
isPresent: ["mounted", "unmountSuspended"].includes(o),
|
|
145
|
+
ref: x.useCallback((e) => {
|
|
146
|
+
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
147
|
+
}, [])
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function j(e) {
|
|
151
|
+
return (e == null ? void 0 : e.animationName) || "none";
|
|
152
|
+
}
|
|
153
|
+
function M(e) {
|
|
154
|
+
var t, n;
|
|
155
|
+
let r = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, i = r && "isReactWarning" in r && r.isReactWarning;
|
|
156
|
+
return i ? e.ref : (r = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, i = r && "isReactWarning" in r && r.isReactWarning, i ? e.props.ref : e.props.ref || e.ref);
|
|
157
|
+
}
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
160
|
+
var N = x.useId || (() => void 0), P = 0;
|
|
161
|
+
function ee(e) {
|
|
162
|
+
let [t, n] = x.useState(N());
|
|
163
|
+
return g(() => {
|
|
164
|
+
e || n((e) => e == null ? String(P++) : e);
|
|
22
165
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
23
166
|
}
|
|
24
167
|
//#endregion
|
|
25
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-
|
|
26
|
-
|
|
168
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-direction/dist/index.mjs
|
|
169
|
+
var te = x.createContext(void 0), ne = (e) => {
|
|
170
|
+
let { dir: t, children: n } = e;
|
|
171
|
+
return /* @__PURE__ */ (0, S.jsx)(te.Provider, {
|
|
172
|
+
value: t,
|
|
173
|
+
children: n
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
function re(e) {
|
|
177
|
+
let t = x.useContext(te);
|
|
178
|
+
return e || t || "ltr";
|
|
179
|
+
}
|
|
180
|
+
var ie = ne;
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
183
|
+
function F(e) {
|
|
27
184
|
let t = x.useRef(e);
|
|
28
185
|
return x.useEffect(() => {
|
|
29
186
|
t.current = e;
|
|
@@ -33,12 +190,12 @@ function T(e) {
|
|
|
33
190
|
}, []);
|
|
34
191
|
}
|
|
35
192
|
//#endregion
|
|
36
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.17_react@19.2.
|
|
37
|
-
function
|
|
193
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
194
|
+
function ae(e, t = (() => {
|
|
38
195
|
var e;
|
|
39
196
|
return (e = globalThis) == null ? void 0 : e.document;
|
|
40
197
|
})()) {
|
|
41
|
-
let n =
|
|
198
|
+
let n = F(e);
|
|
42
199
|
x.useEffect(() => {
|
|
43
200
|
let e = (e) => {
|
|
44
201
|
e.key === "Escape" && n(e);
|
|
@@ -47,72 +204,72 @@ function E(e, t = (() => {
|
|
|
47
204
|
}, [n, t]);
|
|
48
205
|
}
|
|
49
206
|
//#endregion
|
|
50
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.
|
|
51
|
-
var
|
|
207
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.17___113776a50f202f01d536c41c9ea5fb70/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
208
|
+
var oe = "DismissableLayer", se = "dismissableLayer.update", ce = "dismissableLayer.pointerDownOutside", le = "dismissableLayer.focusOutside", ue, de = x.createContext({
|
|
52
209
|
layers: /* @__PURE__ */ new Set(),
|
|
53
210
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
54
211
|
branches: /* @__PURE__ */ new Set()
|
|
55
|
-
}),
|
|
212
|
+
}), I = x.forwardRef((e, t) => {
|
|
56
213
|
var n, r;
|
|
57
|
-
let { disableOutsidePointerEvents: i = !1, onEscapeKeyDown: a, onPointerDownOutside:
|
|
58
|
-
let t = e.target, n = [...
|
|
59
|
-
!
|
|
60
|
-
},
|
|
214
|
+
let { disableOutsidePointerEvents: i = !1, onEscapeKeyDown: a, onPointerDownOutside: s, onFocusOutside: c, onInteractOutside: l, onDismiss: u, ...d } = e, f = x.useContext(de), [m, h] = x.useState(null), g = (n = m == null ? void 0 : m.ownerDocument) == null ? (r = globalThis) == null ? void 0 : r.document : n, [, v] = x.useState({}), y = o(t, (e) => h(e)), b = Array.from(f.layers), [C] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), w = b.indexOf(C), T = m ? b.indexOf(m) : -1, E = f.layersWithOutsidePointerEventsDisabled.size > 0, D = T >= w, O = pe((e) => {
|
|
215
|
+
let t = e.target, n = [...f.branches].some((e) => e.contains(t));
|
|
216
|
+
!D || n || (s == null || s(e), l == null || l(e), e.defaultPrevented || u == null || u());
|
|
217
|
+
}, g), k = me((e) => {
|
|
61
218
|
let t = e.target;
|
|
62
|
-
[...
|
|
63
|
-
},
|
|
64
|
-
return
|
|
65
|
-
T ===
|
|
66
|
-
},
|
|
67
|
-
if (
|
|
68
|
-
i &&
|
|
219
|
+
[...f.branches].some((e) => e.contains(t)) || (c == null || c(e), l == null || l(e), e.defaultPrevented || u == null || u());
|
|
220
|
+
}, g);
|
|
221
|
+
return ae((e) => {
|
|
222
|
+
T === f.layers.size - 1 && (a == null || a(e), !e.defaultPrevented && u && (e.preventDefault(), u()));
|
|
223
|
+
}, g), x.useEffect(() => {
|
|
224
|
+
if (m) return i && (f.layersWithOutsidePointerEventsDisabled.size === 0 && (ue = g.body.style.pointerEvents, g.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(m)), f.layers.add(m), he(), () => {
|
|
225
|
+
i && f.layersWithOutsidePointerEventsDisabled.size === 1 && (g.body.style.pointerEvents = ue);
|
|
69
226
|
};
|
|
70
227
|
}, [
|
|
71
|
-
|
|
72
|
-
|
|
228
|
+
m,
|
|
229
|
+
g,
|
|
73
230
|
i,
|
|
74
|
-
|
|
231
|
+
f
|
|
75
232
|
]), x.useEffect(() => () => {
|
|
76
|
-
|
|
77
|
-
}, [
|
|
233
|
+
m && (f.layers.delete(m), f.layersWithOutsidePointerEventsDisabled.delete(m), he());
|
|
234
|
+
}, [m, f]), x.useEffect(() => {
|
|
78
235
|
let e = () => v({});
|
|
79
|
-
return document.addEventListener(
|
|
80
|
-
}, []), /* @__PURE__ */ (0,
|
|
81
|
-
...
|
|
236
|
+
return document.addEventListener(se, e), () => document.removeEventListener(se, e);
|
|
237
|
+
}, []), /* @__PURE__ */ (0, S.jsx)(_.div, {
|
|
238
|
+
...d,
|
|
82
239
|
ref: y,
|
|
83
240
|
style: {
|
|
84
|
-
pointerEvents:
|
|
241
|
+
pointerEvents: E ? D ? "auto" : "none" : void 0,
|
|
85
242
|
...e.style
|
|
86
243
|
},
|
|
87
|
-
onFocusCapture:
|
|
88
|
-
onBlurCapture:
|
|
89
|
-
onPointerDownCapture:
|
|
244
|
+
onFocusCapture: p(e.onFocusCapture, k.onFocusCapture),
|
|
245
|
+
onBlurCapture: p(e.onBlurCapture, k.onBlurCapture),
|
|
246
|
+
onPointerDownCapture: p(e.onPointerDownCapture, O.onPointerDownCapture)
|
|
90
247
|
});
|
|
91
248
|
});
|
|
92
|
-
|
|
93
|
-
var
|
|
94
|
-
let n = x.useContext(
|
|
249
|
+
I.displayName = oe;
|
|
250
|
+
var L = "DismissableLayerBranch", fe = x.forwardRef((e, t) => {
|
|
251
|
+
let n = x.useContext(de), r = x.useRef(null), i = o(t, r);
|
|
95
252
|
return x.useEffect(() => {
|
|
96
253
|
let e = r.current;
|
|
97
254
|
if (e) return n.branches.add(e), () => {
|
|
98
255
|
n.branches.delete(e);
|
|
99
256
|
};
|
|
100
|
-
}, [n.branches]), /* @__PURE__ */ (0,
|
|
257
|
+
}, [n.branches]), /* @__PURE__ */ (0, S.jsx)(_.div, {
|
|
101
258
|
...e,
|
|
102
259
|
ref: i
|
|
103
260
|
});
|
|
104
261
|
});
|
|
105
|
-
|
|
106
|
-
function
|
|
262
|
+
fe.displayName = L;
|
|
263
|
+
function pe(e, t = (() => {
|
|
107
264
|
var e;
|
|
108
265
|
return (e = globalThis) == null ? void 0 : e.document;
|
|
109
266
|
})()) {
|
|
110
|
-
let n =
|
|
267
|
+
let n = F(e), r = x.useRef(!1), i = x.useRef(() => {});
|
|
111
268
|
return x.useEffect(() => {
|
|
112
269
|
let e = (e) => {
|
|
113
270
|
if (e.target && !r.current) {
|
|
114
271
|
let r = function() {
|
|
115
|
-
|
|
272
|
+
ge(ce, n, a, { discrete: !0 });
|
|
116
273
|
}, a = { originalEvent: e };
|
|
117
274
|
e.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = r, t.addEventListener("click", i.current, { once: !0 })) : r();
|
|
118
275
|
} else t.removeEventListener("click", i.current);
|
|
@@ -125,14 +282,14 @@ function ne(e, t = (() => {
|
|
|
125
282
|
};
|
|
126
283
|
}, [t, n]), { onPointerDownCapture: () => r.current = !0 };
|
|
127
284
|
}
|
|
128
|
-
function
|
|
285
|
+
function me(e, t = (() => {
|
|
129
286
|
var e;
|
|
130
287
|
return (e = globalThis) == null ? void 0 : e.document;
|
|
131
288
|
})()) {
|
|
132
|
-
let n =
|
|
289
|
+
let n = F(e), r = x.useRef(!1);
|
|
133
290
|
return x.useEffect(() => {
|
|
134
291
|
let e = (e) => {
|
|
135
|
-
e.target && !r.current &&
|
|
292
|
+
e.target && !r.current && ge(le, n, { originalEvent: e }, { discrete: !1 });
|
|
136
293
|
};
|
|
137
294
|
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
138
295
|
}, [t, n]), {
|
|
@@ -140,25 +297,25 @@ function re(e, t = (() => {
|
|
|
140
297
|
onBlurCapture: () => r.current = !1
|
|
141
298
|
};
|
|
142
299
|
}
|
|
143
|
-
function
|
|
144
|
-
let e = new CustomEvent(
|
|
300
|
+
function he() {
|
|
301
|
+
let e = new CustomEvent(se);
|
|
145
302
|
document.dispatchEvent(e);
|
|
146
303
|
}
|
|
147
|
-
function
|
|
304
|
+
function ge(e, t, n, { discrete: r }) {
|
|
148
305
|
let i = n.originalEvent.target, a = new CustomEvent(e, {
|
|
149
306
|
bubbles: !1,
|
|
150
307
|
cancelable: !0,
|
|
151
308
|
detail: n
|
|
152
309
|
});
|
|
153
|
-
t && i.addEventListener(e, t, { once: !0 }), r ?
|
|
310
|
+
t && i.addEventListener(e, t, { once: !0 }), r ? f(i, a) : i.dispatchEvent(a);
|
|
154
311
|
}
|
|
155
312
|
//#endregion
|
|
156
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.17__@types+
|
|
157
|
-
var
|
|
313
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.17__@types+_a3cbf07f72d00fee52cf5cc72db97422/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
314
|
+
var _e = "focusScope.autoFocusOnMount", ve = "focusScope.autoFocusOnUnmount", ye = {
|
|
158
315
|
bubbles: !1,
|
|
159
316
|
cancelable: !0
|
|
160
|
-
},
|
|
161
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...
|
|
317
|
+
}, be = "FocusScope", xe = x.forwardRef((e, t) => {
|
|
318
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...s } = e, [c, l] = x.useState(null), u = F(i), d = F(a), f = x.useRef(null), p = o(t, (e) => l(e)), m = x.useRef({
|
|
162
319
|
paused: !1,
|
|
163
320
|
pause() {
|
|
164
321
|
this.paused = !0;
|
|
@@ -170,19 +327,19 @@ var oe = "focusScope.autoFocusOnMount", se = "focusScope.autoFocusOnUnmount", ce
|
|
|
170
327
|
x.useEffect(() => {
|
|
171
328
|
if (r) {
|
|
172
329
|
let e = function(e) {
|
|
173
|
-
if (
|
|
330
|
+
if (m.paused || !c) return;
|
|
174
331
|
let t = e.target;
|
|
175
|
-
|
|
332
|
+
c.contains(t) ? f.current = t : R(f.current, { select: !0 });
|
|
176
333
|
}, t = function(e) {
|
|
177
|
-
if (
|
|
334
|
+
if (m.paused || !c) return;
|
|
178
335
|
let t = e.relatedTarget;
|
|
179
|
-
t !== null && (
|
|
336
|
+
t !== null && (c.contains(t) || R(f.current, { select: !0 }));
|
|
180
337
|
}, n = function(e) {
|
|
181
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
338
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && R(c);
|
|
182
339
|
};
|
|
183
340
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
184
341
|
let r = new MutationObserver(n);
|
|
185
|
-
return
|
|
342
|
+
return c && r.observe(c, {
|
|
186
343
|
childList: !0,
|
|
187
344
|
subtree: !0
|
|
188
345
|
}), () => {
|
|
@@ -191,58 +348,58 @@ var oe = "focusScope.autoFocusOnMount", se = "focusScope.autoFocusOnUnmount", ce
|
|
|
191
348
|
}
|
|
192
349
|
}, [
|
|
193
350
|
r,
|
|
194
|
-
|
|
195
|
-
|
|
351
|
+
c,
|
|
352
|
+
m.paused
|
|
196
353
|
]), x.useEffect(() => {
|
|
197
|
-
if (
|
|
198
|
-
|
|
354
|
+
if (c) {
|
|
355
|
+
Oe.add(m);
|
|
199
356
|
let e = document.activeElement;
|
|
200
|
-
if (!
|
|
201
|
-
let t = new CustomEvent(
|
|
202
|
-
|
|
357
|
+
if (!c.contains(e)) {
|
|
358
|
+
let t = new CustomEvent(_e, ye);
|
|
359
|
+
c.addEventListener(_e, u), c.dispatchEvent(t), t.defaultPrevented || (Se(je(we(c)), { select: !0 }), document.activeElement === e && R(c));
|
|
203
360
|
}
|
|
204
361
|
return () => {
|
|
205
|
-
|
|
206
|
-
let t = new CustomEvent(
|
|
207
|
-
|
|
362
|
+
c.removeEventListener(_e, u), setTimeout(() => {
|
|
363
|
+
let t = new CustomEvent(ve, ye);
|
|
364
|
+
c.addEventListener(ve, d), c.dispatchEvent(t), t.defaultPrevented || R(e == null ? document.body : e, { select: !0 }), c.removeEventListener(ve, d), Oe.remove(m);
|
|
208
365
|
}, 0);
|
|
209
366
|
};
|
|
210
367
|
}
|
|
211
368
|
}, [
|
|
212
|
-
|
|
369
|
+
c,
|
|
213
370
|
u,
|
|
214
371
|
d,
|
|
215
|
-
|
|
372
|
+
m
|
|
216
373
|
]);
|
|
217
|
-
let
|
|
218
|
-
if (!n && !r ||
|
|
374
|
+
let h = x.useCallback((e) => {
|
|
375
|
+
if (!n && !r || m.paused) return;
|
|
219
376
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
220
377
|
if (t && i) {
|
|
221
|
-
let t = e.currentTarget, [r, a] =
|
|
222
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
378
|
+
let t = e.currentTarget, [r, a] = Ce(t);
|
|
379
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && R(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && R(a, { select: !0 })) : i === t && e.preventDefault();
|
|
223
380
|
}
|
|
224
381
|
}, [
|
|
225
382
|
n,
|
|
226
383
|
r,
|
|
227
|
-
|
|
384
|
+
m.paused
|
|
228
385
|
]);
|
|
229
|
-
return /* @__PURE__ */ (0,
|
|
386
|
+
return /* @__PURE__ */ (0, S.jsx)(_.div, {
|
|
230
387
|
tabIndex: -1,
|
|
231
|
-
...
|
|
388
|
+
...s,
|
|
232
389
|
ref: p,
|
|
233
|
-
onKeyDown:
|
|
390
|
+
onKeyDown: h
|
|
234
391
|
});
|
|
235
392
|
});
|
|
236
|
-
|
|
237
|
-
function
|
|
393
|
+
xe.displayName = be;
|
|
394
|
+
function Se(e, { select: t = !1 } = {}) {
|
|
238
395
|
let n = document.activeElement;
|
|
239
|
-
for (let r of e) if (
|
|
396
|
+
for (let r of e) if (R(r, { select: t }), document.activeElement !== n) return;
|
|
240
397
|
}
|
|
241
|
-
function
|
|
242
|
-
let t =
|
|
243
|
-
return [
|
|
398
|
+
function Ce(e) {
|
|
399
|
+
let t = we(e);
|
|
400
|
+
return [Te(t, e), Te(t.reverse(), e)];
|
|
244
401
|
}
|
|
245
|
-
function
|
|
402
|
+
function we(e) {
|
|
246
403
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
247
404
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
248
405
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -250,10 +407,10 @@ function pe(e) {
|
|
|
250
407
|
for (; n.nextNode();) t.push(n.currentNode);
|
|
251
408
|
return t;
|
|
252
409
|
}
|
|
253
|
-
function
|
|
254
|
-
for (let n of e) if (!
|
|
410
|
+
function Te(e, t) {
|
|
411
|
+
for (let n of e) if (!Ee(n, { upTo: t })) return n;
|
|
255
412
|
}
|
|
256
|
-
function
|
|
413
|
+
function Ee(e, { upTo: t }) {
|
|
257
414
|
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
258
415
|
for (; e;) {
|
|
259
416
|
if (t !== void 0 && e === t) return !1;
|
|
@@ -262,161 +419,94 @@ function P(e, { upTo: t }) {
|
|
|
262
419
|
}
|
|
263
420
|
return !1;
|
|
264
421
|
}
|
|
265
|
-
function
|
|
422
|
+
function De(e) {
|
|
266
423
|
return e instanceof HTMLInputElement && "select" in e;
|
|
267
424
|
}
|
|
268
|
-
function
|
|
425
|
+
function R(e, { select: t = !1 } = {}) {
|
|
269
426
|
if (e && e.focus) {
|
|
270
427
|
let n = document.activeElement;
|
|
271
|
-
e.focus({ preventScroll: !0 }), e !== n &&
|
|
428
|
+
e.focus({ preventScroll: !0 }), e !== n && De(e) && t && e.select();
|
|
272
429
|
}
|
|
273
430
|
}
|
|
274
|
-
var
|
|
275
|
-
function
|
|
431
|
+
var Oe = ke();
|
|
432
|
+
function ke() {
|
|
276
433
|
let e = [];
|
|
277
434
|
return {
|
|
278
435
|
add(t) {
|
|
279
436
|
let n = e[0];
|
|
280
|
-
t !== n && (n == null || n.pause()), e =
|
|
437
|
+
t !== n && (n == null || n.pause()), e = Ae(e, t), e.unshift(t);
|
|
281
438
|
},
|
|
282
439
|
remove(t) {
|
|
283
440
|
var n;
|
|
284
|
-
e =
|
|
441
|
+
e = Ae(e, t), (n = e[0]) == null || n.resume();
|
|
285
442
|
}
|
|
286
443
|
};
|
|
287
444
|
}
|
|
288
|
-
function
|
|
445
|
+
function Ae(e, t) {
|
|
289
446
|
let n = [...e], r = n.indexOf(t);
|
|
290
447
|
return r !== -1 && n.splice(r, 1), n;
|
|
291
448
|
}
|
|
292
|
-
function
|
|
449
|
+
function je(e) {
|
|
293
450
|
return e.filter((e) => e.tagName !== "A");
|
|
294
451
|
}
|
|
295
452
|
//#endregion
|
|
296
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.2.17__@types+
|
|
297
|
-
var
|
|
453
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react_1cd611cea54337d47d51331c68dcb61b/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
454
|
+
var Me = "Portal", Ne = x.forwardRef((e, t) => {
|
|
298
455
|
var n;
|
|
299
|
-
let { container: r, ...i } = e, [
|
|
300
|
-
|
|
301
|
-
let
|
|
302
|
-
return
|
|
456
|
+
let { container: r, ...i } = e, [a, o] = x.useState(!1);
|
|
457
|
+
g(() => o(!0), []);
|
|
458
|
+
let s = r || a && ((n = globalThis) == null || (n = n.document) == null ? void 0 : n.body);
|
|
459
|
+
return s ? b.createPortal(/* @__PURE__ */ (0, S.jsx)(_.div, {
|
|
303
460
|
...i,
|
|
304
461
|
ref: t
|
|
305
|
-
}),
|
|
462
|
+
}), s) : null;
|
|
306
463
|
});
|
|
307
|
-
|
|
308
|
-
//#endregion
|
|
309
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.17__@types+rea_ed84e7f4276746b2c3b5c094541d596b/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
310
|
-
function Ce(e, t) {
|
|
311
|
-
return x.useReducer((e, n) => {
|
|
312
|
-
let r = t[e][n];
|
|
313
|
-
return r == null ? e : r;
|
|
314
|
-
}, e);
|
|
315
|
-
}
|
|
316
|
-
var we = (e) => {
|
|
317
|
-
let { present: t, children: n } = e, r = Te(t), i = typeof n == "function" ? n({ present: r.isPresent }) : x.Children.only(n), a = m(r.ref, De(i));
|
|
318
|
-
return typeof n == "function" || r.isPresent ? x.cloneElement(i, { ref: a }) : null;
|
|
319
|
-
};
|
|
320
|
-
we.displayName = "Presence";
|
|
321
|
-
function Te(e) {
|
|
322
|
-
let [t, n] = x.useState(), r = x.useRef(null), i = x.useRef(e), o = x.useRef("none"), [s, c] = Ce(e ? "mounted" : "unmounted", {
|
|
323
|
-
mounted: {
|
|
324
|
-
UNMOUNT: "unmounted",
|
|
325
|
-
ANIMATION_OUT: "unmountSuspended"
|
|
326
|
-
},
|
|
327
|
-
unmountSuspended: {
|
|
328
|
-
MOUNT: "mounted",
|
|
329
|
-
ANIMATION_END: "unmounted"
|
|
330
|
-
},
|
|
331
|
-
unmounted: { MOUNT: "mounted" }
|
|
332
|
-
});
|
|
333
|
-
return x.useEffect(() => {
|
|
334
|
-
let e = Ee(r.current);
|
|
335
|
-
o.current = s === "mounted" ? e : "none";
|
|
336
|
-
}, [s]), a(() => {
|
|
337
|
-
let t = r.current, n = i.current;
|
|
338
|
-
if (n !== e) {
|
|
339
|
-
let r = o.current, a = Ee(t);
|
|
340
|
-
e ? c("MOUNT") : a === "none" || (t == null ? void 0 : t.display) === "none" ? c("UNMOUNT") : c(n && r !== a ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
341
|
-
}
|
|
342
|
-
}, [e, c]), a(() => {
|
|
343
|
-
if (t) {
|
|
344
|
-
var e;
|
|
345
|
-
let n, a = (e = t.ownerDocument.defaultView) == null ? window : e, s = (e) => {
|
|
346
|
-
let o = Ee(r.current).includes(CSS.escape(e.animationName));
|
|
347
|
-
if (e.target === t && o && (c("ANIMATION_END"), !i.current)) {
|
|
348
|
-
let e = t.style.animationFillMode;
|
|
349
|
-
t.style.animationFillMode = "forwards", n = a.setTimeout(() => {
|
|
350
|
-
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = e);
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
}, l = (e) => {
|
|
354
|
-
e.target === t && (o.current = Ee(r.current));
|
|
355
|
-
};
|
|
356
|
-
return t.addEventListener("animationstart", l), t.addEventListener("animationcancel", s), t.addEventListener("animationend", s), () => {
|
|
357
|
-
a.clearTimeout(n), t.removeEventListener("animationstart", l), t.removeEventListener("animationcancel", s), t.removeEventListener("animationend", s);
|
|
358
|
-
};
|
|
359
|
-
} else c("ANIMATION_END");
|
|
360
|
-
}, [t, c]), {
|
|
361
|
-
isPresent: ["mounted", "unmountSuspended"].includes(s),
|
|
362
|
-
ref: x.useCallback((e) => {
|
|
363
|
-
r.current = e ? getComputedStyle(e) : null, n(e);
|
|
364
|
-
}, [])
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
function Ee(e) {
|
|
368
|
-
return (e == null ? void 0 : e.animationName) || "none";
|
|
369
|
-
}
|
|
370
|
-
function De(e) {
|
|
371
|
-
var t, n;
|
|
372
|
-
let r = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, i = r && "isReactWarning" in r && r.isReactWarning;
|
|
373
|
-
return i ? e.ref : (r = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, i = r && "isReactWarning" in r && r.isReactWarning, i ? e.props.ref : e.props.ref || e.ref);
|
|
374
|
-
}
|
|
464
|
+
Ne.displayName = Me;
|
|
375
465
|
//#endregion
|
|
376
|
-
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.17_react@19.2.
|
|
377
|
-
var
|
|
378
|
-
function
|
|
466
|
+
//#region ../../node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
467
|
+
var Pe = 0;
|
|
468
|
+
function Fe() {
|
|
379
469
|
x.useEffect(() => {
|
|
380
470
|
var e, t;
|
|
381
471
|
let n = document.querySelectorAll("[data-radix-focus-guard]");
|
|
382
|
-
return document.body.insertAdjacentElement("afterbegin", (e = n[0]) == null ?
|
|
383
|
-
|
|
472
|
+
return document.body.insertAdjacentElement("afterbegin", (e = n[0]) == null ? Ie() : e), document.body.insertAdjacentElement("beforeend", (t = n[1]) == null ? Ie() : t), Pe++, () => {
|
|
473
|
+
Pe === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((e) => e.remove()), Pe--;
|
|
384
474
|
};
|
|
385
475
|
}, []);
|
|
386
476
|
}
|
|
387
|
-
function
|
|
477
|
+
function Ie() {
|
|
388
478
|
let e = document.createElement("span");
|
|
389
479
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
390
480
|
}
|
|
391
481
|
//#endregion
|
|
392
482
|
//#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
393
|
-
var
|
|
394
|
-
return
|
|
483
|
+
var z = function() {
|
|
484
|
+
return z = Object.assign || function(e) {
|
|
395
485
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
396
486
|
return e;
|
|
397
|
-
},
|
|
487
|
+
}, z.apply(this, arguments);
|
|
398
488
|
};
|
|
399
|
-
function
|
|
489
|
+
function Le(e, t) {
|
|
400
490
|
var n = {};
|
|
401
491
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
402
492
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
403
493
|
return n;
|
|
404
494
|
}
|
|
405
|
-
function
|
|
495
|
+
function Re(e, t, n) {
|
|
406
496
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
|
|
407
497
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
408
498
|
}
|
|
409
499
|
//#endregion
|
|
410
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.17_react@19.2.
|
|
411
|
-
var
|
|
500
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.17_react@19.2.8/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
501
|
+
var ze = "right-scroll-bar-position", Be = "width-before-scroll-bar", Ve = "with-scroll-bars-hidden", He = "--removed-body-scroll-bar-size";
|
|
412
502
|
//#endregion
|
|
413
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.
|
|
414
|
-
function
|
|
503
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
504
|
+
function Ue(e, t) {
|
|
415
505
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
416
506
|
}
|
|
417
507
|
//#endregion
|
|
418
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.
|
|
419
|
-
function
|
|
508
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
509
|
+
function We(e, t) {
|
|
420
510
|
var n = (0, x.useState)(function() {
|
|
421
511
|
return {
|
|
422
512
|
value: e,
|
|
@@ -435,34 +525,34 @@ function Re(e, t) {
|
|
|
435
525
|
return n.callback = t, n.facade;
|
|
436
526
|
}
|
|
437
527
|
//#endregion
|
|
438
|
-
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.
|
|
439
|
-
var
|
|
440
|
-
function
|
|
441
|
-
var n =
|
|
528
|
+
//#region ../../node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
529
|
+
var Ge = typeof window < "u" ? x.useLayoutEffect : x.useEffect, Ke = /* @__PURE__ */ new WeakMap();
|
|
530
|
+
function qe(e, t) {
|
|
531
|
+
var n = We(t || null, function(t) {
|
|
442
532
|
return e.forEach(function(e) {
|
|
443
|
-
return
|
|
533
|
+
return Ue(e, t);
|
|
444
534
|
});
|
|
445
535
|
});
|
|
446
|
-
return
|
|
447
|
-
var t =
|
|
536
|
+
return Ge(function() {
|
|
537
|
+
var t = Ke.get(n);
|
|
448
538
|
if (t) {
|
|
449
539
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
450
540
|
r.forEach(function(e) {
|
|
451
|
-
i.has(e) ||
|
|
541
|
+
i.has(e) || Ue(e, null);
|
|
452
542
|
}), i.forEach(function(e) {
|
|
453
|
-
r.has(e) ||
|
|
543
|
+
r.has(e) || Ue(e, a);
|
|
454
544
|
});
|
|
455
545
|
}
|
|
456
|
-
|
|
546
|
+
Ke.set(n, e);
|
|
457
547
|
}, [e]), n;
|
|
458
548
|
}
|
|
459
549
|
//#endregion
|
|
460
|
-
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.17_react@19.2.
|
|
461
|
-
function
|
|
550
|
+
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.17_react@19.2.8/node_modules/use-sidecar/dist/es2015/medium.js
|
|
551
|
+
function Je(e) {
|
|
462
552
|
return e;
|
|
463
553
|
}
|
|
464
|
-
function
|
|
465
|
-
t === void 0 && (t =
|
|
554
|
+
function Ye(e, t) {
|
|
555
|
+
t === void 0 && (t = Je);
|
|
466
556
|
var n = [], r = !1;
|
|
467
557
|
return {
|
|
468
558
|
read: function() {
|
|
@@ -515,35 +605,35 @@ function Ue(e, t) {
|
|
|
515
605
|
}
|
|
516
606
|
};
|
|
517
607
|
}
|
|
518
|
-
function
|
|
608
|
+
function Xe(e) {
|
|
519
609
|
e === void 0 && (e = {});
|
|
520
|
-
var t =
|
|
521
|
-
return t.options =
|
|
610
|
+
var t = Ye(null);
|
|
611
|
+
return t.options = z({
|
|
522
612
|
async: !0,
|
|
523
613
|
ssr: !1
|
|
524
614
|
}, e), t;
|
|
525
615
|
}
|
|
526
616
|
//#endregion
|
|
527
|
-
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.17_react@19.2.
|
|
528
|
-
var
|
|
529
|
-
var t = e.sideCar, n =
|
|
617
|
+
//#region ../../node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.17_react@19.2.8/node_modules/use-sidecar/dist/es2015/exports.js
|
|
618
|
+
var Ze = function(e) {
|
|
619
|
+
var t = e.sideCar, n = Le(e, ["sideCar"]);
|
|
530
620
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
531
621
|
var r = t.read();
|
|
532
622
|
if (!r) throw Error("Sidecar medium not found");
|
|
533
|
-
return x.createElement(r,
|
|
623
|
+
return x.createElement(r, z({}, n));
|
|
534
624
|
};
|
|
535
|
-
|
|
536
|
-
function
|
|
537
|
-
return e.useMedium(t),
|
|
625
|
+
Ze.isSideCarExport = !0;
|
|
626
|
+
function Qe(e, t) {
|
|
627
|
+
return e.useMedium(t), Ze;
|
|
538
628
|
}
|
|
539
629
|
//#endregion
|
|
540
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.17_react@19.2.
|
|
541
|
-
var
|
|
630
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.17_react@19.2.8/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
631
|
+
var $e = Xe(), et = function() {}, tt = x.forwardRef(function(e, t) {
|
|
542
632
|
var n = x.useRef(null), r = x.useState({
|
|
543
|
-
onScrollCapture:
|
|
544
|
-
onWheelCapture:
|
|
545
|
-
onTouchMoveCapture:
|
|
546
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b =
|
|
633
|
+
onScrollCapture: et,
|
|
634
|
+
onWheelCapture: et,
|
|
635
|
+
onTouchMoveCapture: et
|
|
636
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, u = e.enabled, d = e.shards, f = e.sideCar, p = e.noRelative, m = e.noIsolation, h = e.inert, g = e.allowPinchZoom, _ = e.as, v = _ === void 0 ? "div" : _, y = e.gapMode, b = Le(e, [
|
|
547
637
|
"forwardProps",
|
|
548
638
|
"children",
|
|
549
639
|
"className",
|
|
@@ -557,9 +647,9 @@ var qe = We(), Je = function() {}, Ye = x.forwardRef(function(e, t) {
|
|
|
557
647
|
"allowPinchZoom",
|
|
558
648
|
"as",
|
|
559
649
|
"gapMode"
|
|
560
|
-
]), S = f, C =
|
|
650
|
+
]), S = f, C = qe([n, t]), w = z(z({}, b), i);
|
|
561
651
|
return x.createElement(x.Fragment, null, u && x.createElement(S, {
|
|
562
|
-
sideCar:
|
|
652
|
+
sideCar: $e,
|
|
563
653
|
removeScrollBar: l,
|
|
564
654
|
shards: d,
|
|
565
655
|
noRelative: p,
|
|
@@ -569,52 +659,52 @@ var qe = We(), Je = function() {}, Ye = x.forwardRef(function(e, t) {
|
|
|
569
659
|
allowPinchZoom: !!g,
|
|
570
660
|
lockRef: n,
|
|
571
661
|
gapMode: y
|
|
572
|
-
}), o ? x.cloneElement(x.Children.only(s),
|
|
662
|
+
}), o ? x.cloneElement(x.Children.only(s), z(z({}, w), { ref: C })) : x.createElement(v, z({}, w, {
|
|
573
663
|
className: c,
|
|
574
664
|
ref: C
|
|
575
665
|
}), s));
|
|
576
666
|
});
|
|
577
|
-
|
|
667
|
+
tt.defaultProps = {
|
|
578
668
|
enabled: !0,
|
|
579
669
|
removeScrollBar: !0,
|
|
580
670
|
inert: !1
|
|
581
|
-
},
|
|
582
|
-
fullWidth:
|
|
583
|
-
zeroRight:
|
|
671
|
+
}, tt.classNames = {
|
|
672
|
+
fullWidth: Be,
|
|
673
|
+
zeroRight: ze
|
|
584
674
|
};
|
|
585
675
|
//#endregion
|
|
586
676
|
//#region ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
677
|
+
var nt, rt = function() {
|
|
678
|
+
if (nt) return nt;
|
|
589
679
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
590
680
|
};
|
|
591
681
|
//#endregion
|
|
592
|
-
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.17_react@19.2.
|
|
593
|
-
function
|
|
682
|
+
//#region ../../node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.17_react@19.2.8/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
683
|
+
function it() {
|
|
594
684
|
if (!document) return null;
|
|
595
685
|
var e = document.createElement("style");
|
|
596
686
|
e.type = "text/css";
|
|
597
|
-
var t =
|
|
687
|
+
var t = rt();
|
|
598
688
|
return t && e.setAttribute("nonce", t), e;
|
|
599
689
|
}
|
|
600
|
-
function
|
|
690
|
+
function at(e, t) {
|
|
601
691
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
602
692
|
}
|
|
603
|
-
function
|
|
693
|
+
function ot(e) {
|
|
604
694
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
605
695
|
}
|
|
606
|
-
var
|
|
696
|
+
var st = function() {
|
|
607
697
|
var e = 0, t = null;
|
|
608
698
|
return {
|
|
609
699
|
add: function(n) {
|
|
610
|
-
e == 0 && (t =
|
|
700
|
+
e == 0 && (t = it()) && (at(t, n), ot(t)), e++;
|
|
611
701
|
},
|
|
612
702
|
remove: function() {
|
|
613
703
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
614
704
|
}
|
|
615
705
|
};
|
|
616
|
-
},
|
|
617
|
-
var e =
|
|
706
|
+
}, ct = function() {
|
|
707
|
+
var e = st();
|
|
618
708
|
return function(t, n) {
|
|
619
709
|
x.useEffect(function() {
|
|
620
710
|
return e.add(t), function() {
|
|
@@ -622,43 +712,43 @@ var tt = function() {
|
|
|
622
712
|
};
|
|
623
713
|
}, [t && n]);
|
|
624
714
|
};
|
|
625
|
-
},
|
|
626
|
-
var e =
|
|
715
|
+
}, lt = function() {
|
|
716
|
+
var e = ct();
|
|
627
717
|
return function(t) {
|
|
628
718
|
var n = t.styles, r = t.dynamic;
|
|
629
719
|
return e(n, r), null;
|
|
630
720
|
};
|
|
631
|
-
},
|
|
721
|
+
}, ut = {
|
|
632
722
|
left: 0,
|
|
633
723
|
top: 0,
|
|
634
724
|
right: 0,
|
|
635
725
|
gap: 0
|
|
636
|
-
},
|
|
726
|
+
}, dt = function(e) {
|
|
637
727
|
return parseInt(e || "", 10) || 0;
|
|
638
|
-
},
|
|
728
|
+
}, ft = function(e) {
|
|
639
729
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
640
730
|
return [
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
731
|
+
dt(n),
|
|
732
|
+
dt(r),
|
|
733
|
+
dt(i)
|
|
644
734
|
];
|
|
645
|
-
},
|
|
646
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
647
|
-
var t =
|
|
735
|
+
}, pt = function(e) {
|
|
736
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return ut;
|
|
737
|
+
var t = ft(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
648
738
|
return {
|
|
649
739
|
left: t[0],
|
|
650
740
|
top: t[1],
|
|
651
741
|
right: t[2],
|
|
652
742
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
653
743
|
};
|
|
654
|
-
},
|
|
744
|
+
}, mt = lt(), ht = "data-scroll-locked", gt = function(e, t, n, r) {
|
|
655
745
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
656
746
|
return n === void 0 && (n = "margin"), `
|
|
657
|
-
.${
|
|
747
|
+
.${Ve} {
|
|
658
748
|
overflow: hidden ${r};
|
|
659
749
|
padding-right: ${s}px ${r};
|
|
660
750
|
}
|
|
661
|
-
body[${
|
|
751
|
+
body[${ht}] {
|
|
662
752
|
overflow: hidden ${r};
|
|
663
753
|
overscroll-behavior: contain;
|
|
664
754
|
${[
|
|
@@ -675,122 +765,122 @@ var tt = function() {
|
|
|
675
765
|
].filter(Boolean).join("")}
|
|
676
766
|
}
|
|
677
767
|
|
|
678
|
-
.${
|
|
768
|
+
.${ze} {
|
|
679
769
|
right: ${s}px ${r};
|
|
680
770
|
}
|
|
681
771
|
|
|
682
|
-
.${
|
|
772
|
+
.${Be} {
|
|
683
773
|
margin-right: ${s}px ${r};
|
|
684
774
|
}
|
|
685
775
|
|
|
686
|
-
.${
|
|
776
|
+
.${ze} .${ze} {
|
|
687
777
|
right: 0 ${r};
|
|
688
778
|
}
|
|
689
779
|
|
|
690
|
-
.${
|
|
780
|
+
.${Be} .${Be} {
|
|
691
781
|
margin-right: 0 ${r};
|
|
692
782
|
}
|
|
693
783
|
|
|
694
|
-
body[${
|
|
695
|
-
${
|
|
784
|
+
body[${ht}] {
|
|
785
|
+
${He}: ${s}px;
|
|
696
786
|
}
|
|
697
787
|
`;
|
|
698
|
-
},
|
|
788
|
+
}, _t = function() {
|
|
699
789
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
700
790
|
return isFinite(e) ? e : 0;
|
|
701
|
-
},
|
|
791
|
+
}, vt = function() {
|
|
702
792
|
x.useEffect(function() {
|
|
703
|
-
return document.body.setAttribute(
|
|
704
|
-
var e =
|
|
705
|
-
e <= 0 ? document.body.removeAttribute(
|
|
793
|
+
return document.body.setAttribute(ht, (_t() + 1).toString()), function() {
|
|
794
|
+
var e = _t() - 1;
|
|
795
|
+
e <= 0 ? document.body.removeAttribute(ht) : document.body.setAttribute(ht, e.toString());
|
|
706
796
|
};
|
|
707
797
|
}, []);
|
|
708
|
-
},
|
|
798
|
+
}, yt = function(e) {
|
|
709
799
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
710
|
-
|
|
800
|
+
vt();
|
|
711
801
|
var a = x.useMemo(function() {
|
|
712
|
-
return
|
|
802
|
+
return pt(i);
|
|
713
803
|
}, [i]);
|
|
714
|
-
return x.createElement(
|
|
715
|
-
},
|
|
804
|
+
return x.createElement(mt, { styles: gt(a, !t, i, n ? "" : "!important") });
|
|
805
|
+
}, bt = !1;
|
|
716
806
|
if (typeof window < "u") try {
|
|
717
|
-
var
|
|
718
|
-
return
|
|
807
|
+
var xt = Object.defineProperty({}, "passive", { get: function() {
|
|
808
|
+
return bt = !0, !0;
|
|
719
809
|
} });
|
|
720
|
-
window.addEventListener("test",
|
|
810
|
+
window.addEventListener("test", xt, xt), window.removeEventListener("test", xt, xt);
|
|
721
811
|
} catch {
|
|
722
|
-
|
|
812
|
+
bt = !1;
|
|
723
813
|
}
|
|
724
|
-
var
|
|
814
|
+
var St = bt ? { passive: !1 } : !1, Ct = function(e) {
|
|
725
815
|
return e.tagName === "TEXTAREA";
|
|
726
|
-
},
|
|
816
|
+
}, wt = function(e, t) {
|
|
727
817
|
if (!(e instanceof Element)) return !1;
|
|
728
818
|
var n = window.getComputedStyle(e);
|
|
729
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
730
|
-
},
|
|
731
|
-
return
|
|
732
|
-
},
|
|
733
|
-
return
|
|
734
|
-
},
|
|
819
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !Ct(e) && n[t] === "visible");
|
|
820
|
+
}, Tt = function(e) {
|
|
821
|
+
return wt(e, "overflowY");
|
|
822
|
+
}, Et = function(e) {
|
|
823
|
+
return wt(e, "overflowX");
|
|
824
|
+
}, Dt = function(e, t) {
|
|
735
825
|
var n = t.ownerDocument, r = t;
|
|
736
826
|
do {
|
|
737
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
738
|
-
var i =
|
|
827
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), At(e, r)) {
|
|
828
|
+
var i = jt(e, r);
|
|
739
829
|
if (i[1] > i[2]) return !0;
|
|
740
830
|
}
|
|
741
831
|
r = r.parentNode;
|
|
742
832
|
} while (r && r !== n.body);
|
|
743
833
|
return !1;
|
|
744
|
-
},
|
|
834
|
+
}, Ot = function(e) {
|
|
745
835
|
return [
|
|
746
836
|
e.scrollTop,
|
|
747
837
|
e.scrollHeight,
|
|
748
838
|
e.clientHeight
|
|
749
839
|
];
|
|
750
|
-
},
|
|
840
|
+
}, kt = function(e) {
|
|
751
841
|
return [
|
|
752
842
|
e.scrollLeft,
|
|
753
843
|
e.scrollWidth,
|
|
754
844
|
e.clientWidth
|
|
755
845
|
];
|
|
756
|
-
},
|
|
757
|
-
return e === "v" ?
|
|
758
|
-
},
|
|
759
|
-
return e === "v" ?
|
|
760
|
-
},
|
|
846
|
+
}, At = function(e, t) {
|
|
847
|
+
return e === "v" ? Tt(t) : Et(t);
|
|
848
|
+
}, jt = function(e, t) {
|
|
849
|
+
return e === "v" ? Ot(t) : kt(t);
|
|
850
|
+
}, Mt = function(e, t) {
|
|
761
851
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
762
|
-
},
|
|
763
|
-
var a =
|
|
852
|
+
}, Nt = function(e, t, n, r, i) {
|
|
853
|
+
var a = Mt(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
764
854
|
do {
|
|
765
855
|
if (!s) break;
|
|
766
|
-
var p =
|
|
767
|
-
(m || h) &&
|
|
856
|
+
var p = jt(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
857
|
+
(m || h) && At(e, s) && (d += h, f += m);
|
|
768
858
|
var g = s.parentNode;
|
|
769
859
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
770
860
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
771
861
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
772
|
-
},
|
|
862
|
+
}, Pt = function(e) {
|
|
773
863
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
774
|
-
},
|
|
864
|
+
}, Ft = function(e) {
|
|
775
865
|
return [e.deltaX, e.deltaY];
|
|
776
|
-
},
|
|
866
|
+
}, It = function(e) {
|
|
777
867
|
return e && "current" in e ? e.current : e;
|
|
778
|
-
},
|
|
868
|
+
}, Lt = function(e, t) {
|
|
779
869
|
return e[0] === t[0] && e[1] === t[1];
|
|
780
|
-
},
|
|
870
|
+
}, Rt = function(e) {
|
|
781
871
|
return `
|
|
782
872
|
.block-interactivity-${e} {pointer-events: none;}
|
|
783
873
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
784
874
|
`;
|
|
785
|
-
},
|
|
786
|
-
function
|
|
787
|
-
var t = x.useRef([]), n = x.useRef([0, 0]), r = x.useRef(), i = x.useState(
|
|
875
|
+
}, zt = 0, Bt = [];
|
|
876
|
+
function Vt(e) {
|
|
877
|
+
var t = x.useRef([]), n = x.useRef([0, 0]), r = x.useRef(), i = x.useState(zt++)[0], a = x.useState(lt)[0], o = x.useRef(e);
|
|
788
878
|
x.useEffect(function() {
|
|
789
879
|
o.current = e;
|
|
790
880
|
}, [e]), x.useEffect(function() {
|
|
791
881
|
if (e.inert) {
|
|
792
882
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
793
|
-
var t =
|
|
883
|
+
var t = Re([e.lockRef.current], (e.shards || []).map(It), !0).filter(Boolean);
|
|
794
884
|
return t.forEach(function(e) {
|
|
795
885
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
796
886
|
}), function() {
|
|
@@ -806,28 +896,28 @@ function Nt(e) {
|
|
|
806
896
|
]);
|
|
807
897
|
var s = x.useCallback(function(e, t) {
|
|
808
898
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
809
|
-
var i =
|
|
899
|
+
var i = Pt(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
810
900
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
811
901
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
812
902
|
if (p && (p === u || p.contains(u))) return !1;
|
|
813
|
-
var m =
|
|
903
|
+
var m = Dt(d, u);
|
|
814
904
|
if (!m) return !0;
|
|
815
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
905
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = Dt(d, u)), !m) return !1;
|
|
816
906
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
817
907
|
var h = r.current || l;
|
|
818
|
-
return
|
|
908
|
+
return Nt(h, t, e, h === "h" ? s : c, !0);
|
|
819
909
|
}, []), c = x.useCallback(function(e) {
|
|
820
910
|
var n = e;
|
|
821
|
-
if (!(!
|
|
822
|
-
var r = "deltaY" in n ?
|
|
823
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
911
|
+
if (!(!Bt.length || Bt[Bt.length - 1] !== a)) {
|
|
912
|
+
var r = "deltaY" in n ? Ft(n) : Pt(n), i = t.current.filter(function(e) {
|
|
913
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && Lt(e.delta, r);
|
|
824
914
|
})[0];
|
|
825
915
|
if (i && i.should) {
|
|
826
916
|
n.cancelable && n.preventDefault();
|
|
827
917
|
return;
|
|
828
918
|
}
|
|
829
919
|
if (!i) {
|
|
830
|
-
var c = (o.current.shards || []).map(
|
|
920
|
+
var c = (o.current.shards || []).map(It).filter(Boolean).filter(function(e) {
|
|
831
921
|
return e.contains(n.target);
|
|
832
922
|
});
|
|
833
923
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -839,7 +929,7 @@ function Nt(e) {
|
|
|
839
929
|
delta: n,
|
|
840
930
|
target: r,
|
|
841
931
|
should: i,
|
|
842
|
-
shadowParent:
|
|
932
|
+
shadowParent: Ht(r)
|
|
843
933
|
};
|
|
844
934
|
t.current.push(a), setTimeout(function() {
|
|
845
935
|
t.current = t.current.filter(function(e) {
|
|
@@ -847,60 +937,60 @@ function Nt(e) {
|
|
|
847
937
|
});
|
|
848
938
|
}, 1);
|
|
849
939
|
}, []), u = x.useCallback(function(e) {
|
|
850
|
-
n.current =
|
|
940
|
+
n.current = Pt(e), r.current = void 0;
|
|
851
941
|
}, []), d = x.useCallback(function(t) {
|
|
852
|
-
l(t.type,
|
|
942
|
+
l(t.type, Ft(t), t.target, s(t, e.lockRef.current));
|
|
853
943
|
}, []), f = x.useCallback(function(t) {
|
|
854
|
-
l(t.type,
|
|
944
|
+
l(t.type, Pt(t), t.target, s(t, e.lockRef.current));
|
|
855
945
|
}, []);
|
|
856
946
|
x.useEffect(function() {
|
|
857
|
-
return
|
|
947
|
+
return Bt.push(a), e.setCallbacks({
|
|
858
948
|
onScrollCapture: d,
|
|
859
949
|
onWheelCapture: d,
|
|
860
950
|
onTouchMoveCapture: f
|
|
861
|
-
}), document.addEventListener("wheel", c,
|
|
862
|
-
|
|
951
|
+
}), document.addEventListener("wheel", c, St), document.addEventListener("touchmove", c, St), document.addEventListener("touchstart", u, St), function() {
|
|
952
|
+
Bt = Bt.filter(function(e) {
|
|
863
953
|
return e !== a;
|
|
864
|
-
}), document.removeEventListener("wheel", c,
|
|
954
|
+
}), document.removeEventListener("wheel", c, St), document.removeEventListener("touchmove", c, St), document.removeEventListener("touchstart", u, St);
|
|
865
955
|
};
|
|
866
956
|
}, []);
|
|
867
957
|
var p = e.removeScrollBar, m = e.inert;
|
|
868
|
-
return x.createElement(x.Fragment, null, m ? x.createElement(a, { styles:
|
|
958
|
+
return x.createElement(x.Fragment, null, m ? x.createElement(a, { styles: Rt(i) }) : null, p ? x.createElement(yt, {
|
|
869
959
|
noRelative: e.noRelative,
|
|
870
960
|
gapMode: e.gapMode
|
|
871
961
|
}) : null);
|
|
872
962
|
}
|
|
873
|
-
function
|
|
963
|
+
function Ht(e) {
|
|
874
964
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
875
965
|
return t;
|
|
876
966
|
}
|
|
877
967
|
//#endregion
|
|
878
|
-
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.17_react@19.2.
|
|
879
|
-
var
|
|
880
|
-
return x.createElement(
|
|
968
|
+
//#region ../../node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.17_react@19.2.8/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
969
|
+
var Ut = Qe($e, Vt), Wt = x.forwardRef(function(e, t) {
|
|
970
|
+
return x.createElement(tt, z({}, e, {
|
|
881
971
|
ref: t,
|
|
882
|
-
sideCar:
|
|
972
|
+
sideCar: Ut
|
|
883
973
|
}));
|
|
884
974
|
});
|
|
885
|
-
|
|
975
|
+
Wt.classNames = tt.classNames;
|
|
886
976
|
//#endregion
|
|
887
977
|
//#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
888
|
-
var
|
|
978
|
+
var Gt = function(e) {
|
|
889
979
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
890
|
-
},
|
|
891
|
-
return e && (e.host ||
|
|
892
|
-
},
|
|
980
|
+
}, Kt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), Jt = {}, Yt = 0, Xt = function(e) {
|
|
981
|
+
return e && (e.host || Xt(e.parentNode));
|
|
982
|
+
}, Zt = function(e, t) {
|
|
893
983
|
return t.map(function(t) {
|
|
894
984
|
if (e.contains(t)) return t;
|
|
895
|
-
var n =
|
|
985
|
+
var n = Xt(t);
|
|
896
986
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
897
987
|
}).filter(function(e) {
|
|
898
988
|
return !!e;
|
|
899
989
|
});
|
|
900
|
-
},
|
|
901
|
-
var i =
|
|
902
|
-
|
|
903
|
-
var a =
|
|
990
|
+
}, Qt = function(e, t, n, r) {
|
|
991
|
+
var i = Zt(t, Array.isArray(e) ? e : [e]);
|
|
992
|
+
Jt[n] || (Jt[n] = /* @__PURE__ */ new WeakMap());
|
|
993
|
+
var a = Jt[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
904
994
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
905
995
|
};
|
|
906
996
|
i.forEach(l);
|
|
@@ -908,166 +998,99 @@ var Lt = function(e) {
|
|
|
908
998
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
909
999
|
if (s.has(e)) u(e);
|
|
910
1000
|
else try {
|
|
911
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
912
|
-
|
|
1001
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Kt.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
1002
|
+
Kt.set(e, c), a.set(e, l), o.push(e), c === 1 && i && qt.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
913
1003
|
} catch (t) {
|
|
914
1004
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
915
1005
|
}
|
|
916
1006
|
});
|
|
917
1007
|
};
|
|
918
|
-
return u(t), s.clear(),
|
|
1008
|
+
return u(t), s.clear(), Yt++, function() {
|
|
919
1009
|
o.forEach(function(e) {
|
|
920
|
-
var t =
|
|
921
|
-
|
|
922
|
-
}),
|
|
1010
|
+
var t = Kt.get(e) - 1, i = a.get(e) - 1;
|
|
1011
|
+
Kt.set(e, t), a.set(e, i), t || (qt.has(e) || e.removeAttribute(r), qt.delete(e)), i || e.removeAttribute(n);
|
|
1012
|
+
}), Yt--, Yt || (Kt = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), Jt = {});
|
|
923
1013
|
};
|
|
924
|
-
},
|
|
1014
|
+
}, $t = function(e, t, n) {
|
|
925
1015
|
n === void 0 && (n = "data-aria-hidden");
|
|
926
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
927
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
1016
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Gt(e);
|
|
1017
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Qt(r, i, n, "aria-hidden")) : function() {
|
|
928
1018
|
return null;
|
|
929
1019
|
};
|
|
930
|
-
},
|
|
931
|
-
let { dir: t, children: n } = e;
|
|
932
|
-
return /* @__PURE__ */ (0, b.jsx)(Kt.Provider, {
|
|
933
|
-
value: t,
|
|
934
|
-
children: n
|
|
935
|
-
});
|
|
936
|
-
};
|
|
937
|
-
function Jt(e) {
|
|
938
|
-
let t = x.useContext(Kt);
|
|
939
|
-
return e || t || "ltr";
|
|
940
|
-
}
|
|
941
|
-
var Yt = qt;
|
|
942
|
-
function Xt(e) {
|
|
943
|
-
let t = e + "CollectionProvider", [n, r] = o(t), [i, a] = n(t, {
|
|
944
|
-
collectionRef: { current: null },
|
|
945
|
-
itemMap: /* @__PURE__ */ new Map()
|
|
946
|
-
}), s = (e) => {
|
|
947
|
-
let { scope: t, children: n } = e, r = x.useRef(null), a = x.useRef(/* @__PURE__ */ new Map()).current;
|
|
948
|
-
return /* @__PURE__ */ (0, b.jsx)(i, {
|
|
949
|
-
scope: t,
|
|
950
|
-
itemMap: a,
|
|
951
|
-
collectionRef: r,
|
|
952
|
-
children: n
|
|
953
|
-
});
|
|
954
|
-
};
|
|
955
|
-
s.displayName = t;
|
|
956
|
-
let c = e + "CollectionSlot", l = h(c), u = x.forwardRef((e, t) => {
|
|
957
|
-
let { scope: n, children: r } = e;
|
|
958
|
-
return /* @__PURE__ */ (0, b.jsx)(l, {
|
|
959
|
-
ref: m(t, a(c, n).collectionRef),
|
|
960
|
-
children: r
|
|
961
|
-
});
|
|
962
|
-
});
|
|
963
|
-
u.displayName = c;
|
|
964
|
-
let d = e + "CollectionItemSlot", f = "data-radix-collection-item", p = h(d), g = x.forwardRef((e, t) => {
|
|
965
|
-
let { scope: n, children: r, ...i } = e, o = x.useRef(null), s = m(t, o), c = a(d, n);
|
|
966
|
-
return x.useEffect(() => (c.itemMap.set(o, {
|
|
967
|
-
ref: o,
|
|
968
|
-
...i
|
|
969
|
-
}), () => void c.itemMap.delete(o))), /* @__PURE__ */ (0, b.jsx)(p, {
|
|
970
|
-
[f]: "",
|
|
971
|
-
ref: s,
|
|
972
|
-
children: r
|
|
973
|
-
});
|
|
974
|
-
});
|
|
975
|
-
g.displayName = d;
|
|
976
|
-
function _(t) {
|
|
977
|
-
let n = a(e + "CollectionConsumer", t);
|
|
978
|
-
return x.useCallback(() => {
|
|
979
|
-
let e = n.collectionRef.current;
|
|
980
|
-
if (!e) return [];
|
|
981
|
-
let t = Array.from(e.querySelectorAll(`[${f}]`));
|
|
982
|
-
return Array.from(n.itemMap.values()).sort((e, n) => t.indexOf(e.ref.current) - t.indexOf(n.ref.current));
|
|
983
|
-
}, [n.collectionRef, n.itemMap]);
|
|
984
|
-
}
|
|
985
|
-
return [
|
|
986
|
-
{
|
|
987
|
-
Provider: s,
|
|
988
|
-
Slot: u,
|
|
989
|
-
ItemSlot: g
|
|
990
|
-
},
|
|
991
|
-
_,
|
|
992
|
-
r
|
|
993
|
-
];
|
|
994
|
-
}
|
|
995
|
-
//#endregion
|
|
996
|
-
//#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
997
|
-
var Zt = [
|
|
1020
|
+
}, en = [
|
|
998
1021
|
"top",
|
|
999
1022
|
"right",
|
|
1000
1023
|
"bottom",
|
|
1001
1024
|
"left"
|
|
1002
|
-
],
|
|
1025
|
+
], B = Math.min, V = Math.max, tn = Math.round, nn = Math.floor, H = (e) => ({
|
|
1003
1026
|
x: e,
|
|
1004
1027
|
y: e
|
|
1005
|
-
}),
|
|
1028
|
+
}), rn = {
|
|
1006
1029
|
left: "right",
|
|
1007
1030
|
right: "left",
|
|
1008
1031
|
bottom: "top",
|
|
1009
1032
|
top: "bottom"
|
|
1010
1033
|
};
|
|
1011
|
-
function
|
|
1012
|
-
return
|
|
1034
|
+
function an(e, t, n) {
|
|
1035
|
+
return V(e, B(t, n));
|
|
1013
1036
|
}
|
|
1014
|
-
function
|
|
1037
|
+
function U(e, t) {
|
|
1015
1038
|
return typeof e == "function" ? e(t) : e;
|
|
1016
1039
|
}
|
|
1017
|
-
function
|
|
1040
|
+
function W(e) {
|
|
1018
1041
|
return e.split("-")[0];
|
|
1019
1042
|
}
|
|
1020
|
-
function
|
|
1043
|
+
function on(e) {
|
|
1021
1044
|
return e.split("-")[1];
|
|
1022
1045
|
}
|
|
1023
|
-
function
|
|
1046
|
+
function sn(e) {
|
|
1024
1047
|
return e === "x" ? "y" : "x";
|
|
1025
1048
|
}
|
|
1026
|
-
function
|
|
1049
|
+
function cn(e) {
|
|
1027
1050
|
return e === "y" ? "height" : "width";
|
|
1028
1051
|
}
|
|
1029
|
-
function
|
|
1052
|
+
function G(e) {
|
|
1030
1053
|
let t = e[0];
|
|
1031
1054
|
return t === "t" || t === "b" ? "y" : "x";
|
|
1032
1055
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return
|
|
1056
|
+
function ln(e) {
|
|
1057
|
+
return sn(G(e));
|
|
1035
1058
|
}
|
|
1036
|
-
function
|
|
1059
|
+
function un(e, t, n) {
|
|
1037
1060
|
n === void 0 && (n = !1);
|
|
1038
|
-
let r =
|
|
1039
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
1061
|
+
let r = on(e), i = ln(e), a = cn(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
1062
|
+
return t.reference[a] > t.floating[a] && (o = yn(o)), [o, yn(o)];
|
|
1040
1063
|
}
|
|
1041
|
-
function
|
|
1042
|
-
let t =
|
|
1064
|
+
function dn(e) {
|
|
1065
|
+
let t = yn(e);
|
|
1043
1066
|
return [
|
|
1044
|
-
|
|
1067
|
+
fn(e),
|
|
1045
1068
|
t,
|
|
1046
|
-
|
|
1069
|
+
fn(t)
|
|
1047
1070
|
];
|
|
1048
1071
|
}
|
|
1049
|
-
function
|
|
1072
|
+
function fn(e) {
|
|
1050
1073
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
1051
1074
|
}
|
|
1052
|
-
var
|
|
1053
|
-
function
|
|
1075
|
+
var pn = ["left", "right"], mn = ["right", "left"], hn = ["top", "bottom"], gn = ["bottom", "top"];
|
|
1076
|
+
function _n(e, t, n) {
|
|
1054
1077
|
switch (e) {
|
|
1055
1078
|
case "top":
|
|
1056
|
-
case "bottom": return n ? t ?
|
|
1079
|
+
case "bottom": return n ? t ? mn : pn : t ? pn : mn;
|
|
1057
1080
|
case "left":
|
|
1058
|
-
case "right": return t ?
|
|
1081
|
+
case "right": return t ? hn : gn;
|
|
1059
1082
|
default: return [];
|
|
1060
1083
|
}
|
|
1061
1084
|
}
|
|
1062
|
-
function
|
|
1063
|
-
let i =
|
|
1064
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
1085
|
+
function vn(e, t, n, r) {
|
|
1086
|
+
let i = on(e), a = _n(W(e), n === "start", r);
|
|
1087
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(fn)))), a;
|
|
1065
1088
|
}
|
|
1066
|
-
function
|
|
1067
|
-
let t =
|
|
1068
|
-
return
|
|
1089
|
+
function yn(e) {
|
|
1090
|
+
let t = W(e);
|
|
1091
|
+
return rn[t] + e.slice(t.length);
|
|
1069
1092
|
}
|
|
1070
|
-
function
|
|
1093
|
+
function bn(e) {
|
|
1071
1094
|
return {
|
|
1072
1095
|
top: 0,
|
|
1073
1096
|
right: 0,
|
|
@@ -1076,15 +1099,15 @@ function _n(e) {
|
|
|
1076
1099
|
...e
|
|
1077
1100
|
};
|
|
1078
1101
|
}
|
|
1079
|
-
function
|
|
1102
|
+
function xn(e) {
|
|
1080
1103
|
return typeof e == "number" ? {
|
|
1081
1104
|
top: e,
|
|
1082
1105
|
right: e,
|
|
1083
1106
|
bottom: e,
|
|
1084
1107
|
left: e
|
|
1085
|
-
} :
|
|
1108
|
+
} : bn(e);
|
|
1086
1109
|
}
|
|
1087
|
-
function
|
|
1110
|
+
function Sn(e) {
|
|
1088
1111
|
let { x: t, y: n, width: r, height: i } = e;
|
|
1089
1112
|
return {
|
|
1090
1113
|
width: r,
|
|
@@ -1099,8 +1122,8 @@ function yn(e) {
|
|
|
1099
1122
|
}
|
|
1100
1123
|
//#endregion
|
|
1101
1124
|
//#region ../../node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
1102
|
-
function
|
|
1103
|
-
let { reference: r, floating: i } = e, a =
|
|
1125
|
+
function Cn(e, t, n) {
|
|
1126
|
+
let { reference: r, floating: i } = e, a = G(t), o = ln(t), s = cn(o), c = W(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
1104
1127
|
switch (c) {
|
|
1105
1128
|
case "top":
|
|
1106
1129
|
p = {
|
|
@@ -1131,7 +1154,7 @@ function bn(e, t, n) {
|
|
|
1131
1154
|
y: r.y
|
|
1132
1155
|
};
|
|
1133
1156
|
}
|
|
1134
|
-
switch (
|
|
1157
|
+
switch (on(t)) {
|
|
1135
1158
|
case "start":
|
|
1136
1159
|
p[o] -= f * (n && l ? -1 : 1);
|
|
1137
1160
|
break;
|
|
@@ -1141,10 +1164,10 @@ function bn(e, t, n) {
|
|
|
1141
1164
|
}
|
|
1142
1165
|
return p;
|
|
1143
1166
|
}
|
|
1144
|
-
async function
|
|
1167
|
+
async function wn(e, t) {
|
|
1145
1168
|
var n;
|
|
1146
1169
|
t === void 0 && (t = {});
|
|
1147
|
-
let { x: r, y: i, platform: a, rects: o, elements: s, strategy: c } = e, { boundary: l = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: f = !1, padding: p = 0 } =
|
|
1170
|
+
let { x: r, y: i, platform: a, rects: o, elements: s, strategy: c } = e, { boundary: l = "clippingAncestors", rootBoundary: u = "viewport", elementContext: d = "floating", altBoundary: f = !1, padding: p = 0 } = U(t, e), m = xn(p), h = s[f ? d === "floating" ? "reference" : "floating" : d], g = Sn(await a.getClippingRect({
|
|
1148
1171
|
element: (n = await (a.isElement == null ? void 0 : a.isElement(h))) == null || n ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(s.floating)),
|
|
1149
1172
|
boundary: l,
|
|
1150
1173
|
rootBoundary: u,
|
|
@@ -1157,7 +1180,7 @@ async function xn(e, t) {
|
|
|
1157
1180
|
} : o.reference, v = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(s.floating)), y = await (a.isElement == null ? void 0 : a.isElement(v)) && await (a.getScale == null ? void 0 : a.getScale(v)) || {
|
|
1158
1181
|
x: 1,
|
|
1159
1182
|
y: 1
|
|
1160
|
-
}, b =
|
|
1183
|
+
}, b = Sn(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1161
1184
|
elements: s,
|
|
1162
1185
|
rect: _,
|
|
1163
1186
|
offsetParent: v,
|
|
@@ -1170,15 +1193,15 @@ async function xn(e, t) {
|
|
|
1170
1193
|
right: (b.right - g.right + m.right) / y.x
|
|
1171
1194
|
};
|
|
1172
1195
|
}
|
|
1173
|
-
var
|
|
1196
|
+
var Tn = 50, En = async (e, t, n) => {
|
|
1174
1197
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
1175
1198
|
...o,
|
|
1176
|
-
detectOverflow:
|
|
1199
|
+
detectOverflow: wn
|
|
1177
1200
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
1178
1201
|
reference: e,
|
|
1179
1202
|
floating: t,
|
|
1180
1203
|
strategy: i
|
|
1181
|
-
}), { x: u, y: d } =
|
|
1204
|
+
}), { x: u, y: d } = Cn(l, r, c), f = r, p = 0, m = {};
|
|
1182
1205
|
for (let n = 0; n < a.length; n++) {
|
|
1183
1206
|
let h = a[n];
|
|
1184
1207
|
if (!h) continue;
|
|
@@ -1199,11 +1222,11 @@ var Sn = 50, Cn = async (e, t, n) => {
|
|
|
1199
1222
|
u = v == null ? u : v, d = y == null ? d : y, m[g] = {
|
|
1200
1223
|
...m[g],
|
|
1201
1224
|
...b
|
|
1202
|
-
}, x && p <
|
|
1225
|
+
}, x && p < Tn && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
1203
1226
|
reference: e,
|
|
1204
1227
|
floating: t,
|
|
1205
1228
|
strategy: i
|
|
1206
|
-
}) : x.rects), {x: u, y: d} =
|
|
1229
|
+
}) : x.rects), {x: u, y: d} = Cn(l, f, c)), n = -1);
|
|
1207
1230
|
}
|
|
1208
1231
|
return {
|
|
1209
1232
|
x: u,
|
|
@@ -1212,18 +1235,18 @@ var Sn = 50, Cn = async (e, t, n) => {
|
|
|
1212
1235
|
strategy: i,
|
|
1213
1236
|
middlewareData: m
|
|
1214
1237
|
};
|
|
1215
|
-
},
|
|
1238
|
+
}, Dn = (e) => ({
|
|
1216
1239
|
name: "arrow",
|
|
1217
1240
|
options: e,
|
|
1218
1241
|
async fn(t) {
|
|
1219
|
-
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } =
|
|
1242
|
+
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = U(e, t) || {};
|
|
1220
1243
|
if (l == null) return {};
|
|
1221
|
-
let d =
|
|
1244
|
+
let d = xn(u), f = {
|
|
1222
1245
|
x: n,
|
|
1223
1246
|
y: r
|
|
1224
|
-
}, p =
|
|
1247
|
+
}, p = ln(i), m = cn(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
1225
1248
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
1226
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E =
|
|
1249
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = B(d[_], T), D = B(d[v], T), O = E, k = C - h[m] - D, A = C / 2 - h[m] / 2 + w, j = an(O, A, k), M = !c.arrow && on(i) != null && A !== j && a.reference[m] / 2 - (A < O ? E : D) - h[m] / 2 < 0, N = M ? A < O ? A - O : A - k : 0;
|
|
1227
1250
|
return {
|
|
1228
1251
|
[p]: f[p] + N,
|
|
1229
1252
|
data: {
|
|
@@ -1234,19 +1257,19 @@ var Sn = 50, Cn = async (e, t, n) => {
|
|
|
1234
1257
|
reset: M
|
|
1235
1258
|
};
|
|
1236
1259
|
}
|
|
1237
|
-
}),
|
|
1260
|
+
}), On = function(e) {
|
|
1238
1261
|
return e === void 0 && (e = {}), {
|
|
1239
1262
|
name: "flip",
|
|
1240
1263
|
options: e,
|
|
1241
1264
|
async fn(t) {
|
|
1242
1265
|
var n, r;
|
|
1243
|
-
let { placement: i, middlewareData: a, rects: o, initialPlacement: s, platform: c, elements: l } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: f, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: m = "none", flipAlignment: h = !0, ...g } =
|
|
1266
|
+
let { placement: i, middlewareData: a, rects: o, initialPlacement: s, platform: c, elements: l } = t, { mainAxis: u = !0, crossAxis: d = !0, fallbackPlacements: f, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: m = "none", flipAlignment: h = !0, ...g } = U(e, t);
|
|
1244
1267
|
if ((n = a.arrow) != null && n.alignmentOffset) return {};
|
|
1245
|
-
let _ =
|
|
1246
|
-
!f && S && x.push(...
|
|
1268
|
+
let _ = W(i), v = G(s), y = W(s) === s, b = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = f || (y || !h ? [yn(s)] : dn(s)), S = m !== "none";
|
|
1269
|
+
!f && S && x.push(...vn(s, h, m, b));
|
|
1247
1270
|
let C = [s, ...x], w = await c.detectOverflow(t, g), T = [], E = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
1248
1271
|
if (u && T.push(w[_]), d) {
|
|
1249
|
-
let e =
|
|
1272
|
+
let e = un(i, o, b);
|
|
1250
1273
|
T.push(w[e[0]], w[e[1]]);
|
|
1251
1274
|
}
|
|
1252
1275
|
if (E = [...E, {
|
|
@@ -1255,7 +1278,7 @@ var Sn = 50, Cn = async (e, t, n) => {
|
|
|
1255
1278
|
}], !T.every((e) => e <= 0)) {
|
|
1256
1279
|
var D, O;
|
|
1257
1280
|
let e = (((D = a.flip) == null ? void 0 : D.index) || 0) + 1, t = C[e];
|
|
1258
|
-
if (t && (!(d === "alignment" && v !==
|
|
1281
|
+
if (t && (!(d === "alignment" && v !== G(t)) || E.every((e) => G(e.placement) !== v || e.overflows[0] > 0))) return {
|
|
1259
1282
|
data: {
|
|
1260
1283
|
index: e,
|
|
1261
1284
|
overflows: E
|
|
@@ -1268,7 +1291,7 @@ var Sn = 50, Cn = async (e, t, n) => {
|
|
|
1268
1291
|
var k;
|
|
1269
1292
|
let e = (k = E.filter((e) => {
|
|
1270
1293
|
if (S) {
|
|
1271
|
-
let t =
|
|
1294
|
+
let t = G(e.placement);
|
|
1272
1295
|
return t === v || t === "y";
|
|
1273
1296
|
}
|
|
1274
1297
|
return !0;
|
|
@@ -1286,7 +1309,7 @@ var Sn = 50, Cn = async (e, t, n) => {
|
|
|
1286
1309
|
}
|
|
1287
1310
|
};
|
|
1288
1311
|
};
|
|
1289
|
-
function
|
|
1312
|
+
function kn(e, t) {
|
|
1290
1313
|
return {
|
|
1291
1314
|
top: e.top - t.height,
|
|
1292
1315
|
right: e.right - t.width,
|
|
@@ -1294,43 +1317,43 @@ function En(e, t) {
|
|
|
1294
1317
|
left: e.left - t.width
|
|
1295
1318
|
};
|
|
1296
1319
|
}
|
|
1297
|
-
function
|
|
1298
|
-
return
|
|
1320
|
+
function An(e) {
|
|
1321
|
+
return en.some((t) => e[t] >= 0);
|
|
1299
1322
|
}
|
|
1300
|
-
var
|
|
1323
|
+
var jn = function(e) {
|
|
1301
1324
|
return e === void 0 && (e = {}), {
|
|
1302
1325
|
name: "hide",
|
|
1303
1326
|
options: e,
|
|
1304
1327
|
async fn(t) {
|
|
1305
|
-
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } =
|
|
1328
|
+
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = U(e, t);
|
|
1306
1329
|
switch (i) {
|
|
1307
1330
|
case "referenceHidden": {
|
|
1308
|
-
let e =
|
|
1331
|
+
let e = kn(await r.detectOverflow(t, {
|
|
1309
1332
|
...a,
|
|
1310
1333
|
elementContext: "reference"
|
|
1311
1334
|
}), n.reference);
|
|
1312
1335
|
return { data: {
|
|
1313
1336
|
referenceHiddenOffsets: e,
|
|
1314
|
-
referenceHidden:
|
|
1337
|
+
referenceHidden: An(e)
|
|
1315
1338
|
} };
|
|
1316
1339
|
}
|
|
1317
1340
|
case "escaped": {
|
|
1318
|
-
let e =
|
|
1341
|
+
let e = kn(await r.detectOverflow(t, {
|
|
1319
1342
|
...a,
|
|
1320
1343
|
altBoundary: !0
|
|
1321
1344
|
}), n.floating);
|
|
1322
1345
|
return { data: {
|
|
1323
1346
|
escapedOffsets: e,
|
|
1324
|
-
escaped:
|
|
1347
|
+
escaped: An(e)
|
|
1325
1348
|
} };
|
|
1326
1349
|
}
|
|
1327
1350
|
default: return {};
|
|
1328
1351
|
}
|
|
1329
1352
|
}
|
|
1330
1353
|
};
|
|
1331
|
-
},
|
|
1332
|
-
async function
|
|
1333
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o =
|
|
1354
|
+
}, Mn = /*#__PURE__*/ new Set(["left", "top"]);
|
|
1355
|
+
async function Nn(e, t) {
|
|
1356
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = W(n), s = on(n), c = G(n) === "y", l = Mn.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = U(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
1334
1357
|
mainAxis: d,
|
|
1335
1358
|
crossAxis: 0,
|
|
1336
1359
|
alignmentAxis: null
|
|
@@ -1347,13 +1370,13 @@ async function An(e, t) {
|
|
|
1347
1370
|
y: p * u
|
|
1348
1371
|
};
|
|
1349
1372
|
}
|
|
1350
|
-
var
|
|
1373
|
+
var Pn = function(e) {
|
|
1351
1374
|
return e === void 0 && (e = 0), {
|
|
1352
1375
|
name: "offset",
|
|
1353
1376
|
options: e,
|
|
1354
1377
|
async fn(t) {
|
|
1355
1378
|
var n, r;
|
|
1356
|
-
let { x: i, y: a, placement: o, middlewareData: s } = t, c = await
|
|
1379
|
+
let { x: i, y: a, placement: o, middlewareData: s } = t, c = await Nn(t, e);
|
|
1357
1380
|
return o === ((n = s.offset) == null ? void 0 : n.placement) && (r = s.arrow) != null && r.alignmentOffset ? {} : {
|
|
1358
1381
|
x: i + c.x,
|
|
1359
1382
|
y: a + c.y,
|
|
@@ -1364,7 +1387,7 @@ var jn = function(e) {
|
|
|
1364
1387
|
};
|
|
1365
1388
|
}
|
|
1366
1389
|
};
|
|
1367
|
-
},
|
|
1390
|
+
}, Fn = function(e) {
|
|
1368
1391
|
return e === void 0 && (e = {}), {
|
|
1369
1392
|
name: "shift",
|
|
1370
1393
|
options: e,
|
|
@@ -1375,17 +1398,17 @@ var jn = function(e) {
|
|
|
1375
1398
|
x: t,
|
|
1376
1399
|
y: n
|
|
1377
1400
|
};
|
|
1378
|
-
} }, ...l } =
|
|
1401
|
+
} }, ...l } = U(e, t), u = {
|
|
1379
1402
|
x: n,
|
|
1380
1403
|
y: r
|
|
1381
|
-
}, d = await a.detectOverflow(t, l), f = W(
|
|
1404
|
+
}, d = await a.detectOverflow(t, l), f = G(W(i)), p = sn(f), m = u[p], h = u[f];
|
|
1382
1405
|
if (o) {
|
|
1383
1406
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
1384
|
-
m =
|
|
1407
|
+
m = an(n, m, r);
|
|
1385
1408
|
}
|
|
1386
1409
|
if (s) {
|
|
1387
1410
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
1388
|
-
h =
|
|
1411
|
+
h = an(n, h, r);
|
|
1389
1412
|
}
|
|
1390
1413
|
let g = c.fn({
|
|
1391
1414
|
...t,
|
|
@@ -1405,14 +1428,14 @@ var jn = function(e) {
|
|
|
1405
1428
|
};
|
|
1406
1429
|
}
|
|
1407
1430
|
};
|
|
1408
|
-
},
|
|
1431
|
+
}, In = function(e) {
|
|
1409
1432
|
return e === void 0 && (e = {}), {
|
|
1410
1433
|
options: e,
|
|
1411
1434
|
fn(t) {
|
|
1412
|
-
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } =
|
|
1435
|
+
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = U(e, t), u = {
|
|
1413
1436
|
x: n,
|
|
1414
1437
|
y: r
|
|
1415
|
-
}, d =
|
|
1438
|
+
}, d = G(i), f = sn(d), p = u[f], m = u[d], h = U(s, t), g = typeof h == "number" ? {
|
|
1416
1439
|
mainAxis: h,
|
|
1417
1440
|
crossAxis: 0
|
|
1418
1441
|
} : {
|
|
@@ -1426,7 +1449,7 @@ var jn = function(e) {
|
|
|
1426
1449
|
}
|
|
1427
1450
|
if (l) {
|
|
1428
1451
|
var _, v;
|
|
1429
|
-
let e = f === "y" ? "width" : "height", t =
|
|
1452
|
+
let e = f === "y" ? "width" : "height", t = Mn.has(W(i)), n = a.reference[d] - a.floating[e] + (t && ((_ = o.offset) == null ? void 0 : _[d]) || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : ((v = o.offset) == null ? void 0 : v[d]) || 0) - (t ? g.crossAxis : 0);
|
|
1430
1453
|
m < n ? m = n : m > r && (m = r);
|
|
1431
1454
|
}
|
|
1432
1455
|
return {
|
|
@@ -1435,18 +1458,18 @@ var jn = function(e) {
|
|
|
1435
1458
|
};
|
|
1436
1459
|
}
|
|
1437
1460
|
};
|
|
1438
|
-
},
|
|
1461
|
+
}, Ln = function(e) {
|
|
1439
1462
|
return e === void 0 && (e = {}), {
|
|
1440
1463
|
name: "size",
|
|
1441
1464
|
options: e,
|
|
1442
1465
|
async fn(t) {
|
|
1443
1466
|
var n, r;
|
|
1444
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } =
|
|
1467
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = U(e, t), u = await o.detectOverflow(t, l), d = W(i), f = on(i), p = G(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
1445
1468
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
1446
|
-
let v = h - u.top - u.bottom, y = m - u.left - u.right, b =
|
|
1469
|
+
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = B(h - u[g], v), x = B(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
1447
1470
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
1448
|
-
let e =
|
|
1449
|
-
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t :
|
|
1471
|
+
let e = V(u.left, 0), t = V(u.right, 0), n = V(u.top, 0), r = V(u.bottom, 0);
|
|
1472
|
+
p ? w = m - 2 * (e !== 0 || t !== 0 ? e + t : V(u.left, u.right)) : C = h - 2 * (n !== 0 || r !== 0 ? n + r : V(u.top, u.bottom));
|
|
1450
1473
|
}
|
|
1451
1474
|
await c({
|
|
1452
1475
|
...t,
|
|
@@ -1460,40 +1483,40 @@ var jn = function(e) {
|
|
|
1460
1483
|
};
|
|
1461
1484
|
//#endregion
|
|
1462
1485
|
//#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
1463
|
-
function
|
|
1486
|
+
function Rn() {
|
|
1464
1487
|
return typeof window < "u";
|
|
1465
1488
|
}
|
|
1466
|
-
function
|
|
1467
|
-
return
|
|
1489
|
+
function zn(e) {
|
|
1490
|
+
return Bn(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1468
1491
|
}
|
|
1469
|
-
function
|
|
1492
|
+
function K(e) {
|
|
1470
1493
|
var t;
|
|
1471
1494
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
1472
1495
|
}
|
|
1473
|
-
function
|
|
1496
|
+
function q(e) {
|
|
1474
1497
|
var t;
|
|
1475
|
-
return (t = (
|
|
1498
|
+
return (t = (Bn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1476
1499
|
}
|
|
1477
|
-
function
|
|
1478
|
-
return
|
|
1479
|
-
}
|
|
1480
|
-
function q(e) {
|
|
1481
|
-
return Fn() ? e instanceof Element || e instanceof G(e).Element : !1;
|
|
1500
|
+
function Bn(e) {
|
|
1501
|
+
return Rn() ? e instanceof Node || e instanceof K(e).Node : !1;
|
|
1482
1502
|
}
|
|
1483
1503
|
function J(e) {
|
|
1484
|
-
return
|
|
1504
|
+
return Rn() ? e instanceof Element || e instanceof K(e).Element : !1;
|
|
1485
1505
|
}
|
|
1486
|
-
function
|
|
1487
|
-
return
|
|
1506
|
+
function Y(e) {
|
|
1507
|
+
return Rn() ? e instanceof HTMLElement || e instanceof K(e).HTMLElement : !1;
|
|
1488
1508
|
}
|
|
1489
|
-
function
|
|
1490
|
-
|
|
1509
|
+
function Vn(e) {
|
|
1510
|
+
return !Rn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof K(e).ShadowRoot;
|
|
1511
|
+
}
|
|
1512
|
+
function Hn(e) {
|
|
1513
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Z(e);
|
|
1491
1514
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
1492
1515
|
}
|
|
1493
|
-
function
|
|
1494
|
-
return /^(table|td|th)$/.test(
|
|
1516
|
+
function Un(e) {
|
|
1517
|
+
return /^(table|td|th)$/.test(zn(e));
|
|
1495
1518
|
}
|
|
1496
|
-
function
|
|
1519
|
+
function Wn(e) {
|
|
1497
1520
|
try {
|
|
1498
1521
|
if (e.matches(":popover-open")) return !0;
|
|
1499
1522
|
} catch {}
|
|
@@ -1503,31 +1526,31 @@ function Vn(e) {
|
|
|
1503
1526
|
return !1;
|
|
1504
1527
|
}
|
|
1505
1528
|
}
|
|
1506
|
-
var
|
|
1507
|
-
function
|
|
1508
|
-
let t =
|
|
1509
|
-
return
|
|
1510
|
-
}
|
|
1511
|
-
function
|
|
1512
|
-
let t =
|
|
1513
|
-
for (;
|
|
1514
|
-
if (
|
|
1515
|
-
if (
|
|
1516
|
-
t =
|
|
1529
|
+
var Gn = /transform|translate|scale|rotate|perspective|filter/, Kn = /paint|layout|strict|content/, X = (e) => !!e && e !== "none", qn;
|
|
1530
|
+
function Jn(e) {
|
|
1531
|
+
let t = J(e) ? Z(e) : e;
|
|
1532
|
+
return X(t.transform) || X(t.translate) || X(t.scale) || X(t.rotate) || X(t.perspective) || !Xn() && (X(t.backdropFilter) || X(t.filter)) || Gn.test(t.willChange || "") || Kn.test(t.contain || "");
|
|
1533
|
+
}
|
|
1534
|
+
function Yn(e) {
|
|
1535
|
+
let t = Q(e);
|
|
1536
|
+
for (; Y(t) && !Zn(t);) {
|
|
1537
|
+
if (Jn(t)) return t;
|
|
1538
|
+
if (Wn(t)) return null;
|
|
1539
|
+
t = Q(t);
|
|
1517
1540
|
}
|
|
1518
1541
|
return null;
|
|
1519
1542
|
}
|
|
1520
|
-
function
|
|
1521
|
-
return
|
|
1543
|
+
function Xn() {
|
|
1544
|
+
return qn == null && (qn = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), qn;
|
|
1522
1545
|
}
|
|
1523
|
-
function
|
|
1524
|
-
return /^(html|body|#document)$/.test(
|
|
1546
|
+
function Zn(e) {
|
|
1547
|
+
return /^(html|body|#document)$/.test(zn(e));
|
|
1525
1548
|
}
|
|
1526
|
-
function
|
|
1527
|
-
return
|
|
1549
|
+
function Z(e) {
|
|
1550
|
+
return K(e).getComputedStyle(e);
|
|
1528
1551
|
}
|
|
1529
|
-
function
|
|
1530
|
-
return
|
|
1552
|
+
function Qn(e) {
|
|
1553
|
+
return J(e) ? {
|
|
1531
1554
|
scrollLeft: e.scrollLeft,
|
|
1532
1555
|
scrollTop: e.scrollTop
|
|
1533
1556
|
} : {
|
|
@@ -1535,102 +1558,102 @@ function Yn(e) {
|
|
|
1535
1558
|
scrollTop: e.scrollY
|
|
1536
1559
|
};
|
|
1537
1560
|
}
|
|
1538
|
-
function
|
|
1539
|
-
if (
|
|
1540
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
1541
|
-
return
|
|
1561
|
+
function Q(e) {
|
|
1562
|
+
if (zn(e) === "html") return e;
|
|
1563
|
+
let t = e.assignedSlot || e.parentNode || Vn(e) && e.host || q(e);
|
|
1564
|
+
return Vn(t) ? t.host : t;
|
|
1542
1565
|
}
|
|
1543
|
-
function
|
|
1544
|
-
let t =
|
|
1545
|
-
return
|
|
1566
|
+
function $n(e) {
|
|
1567
|
+
let t = Q(e);
|
|
1568
|
+
return Zn(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Y(t) && Hn(t) ? t : $n(t);
|
|
1546
1569
|
}
|
|
1547
|
-
function
|
|
1570
|
+
function er(e, t, n) {
|
|
1548
1571
|
var r;
|
|
1549
1572
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
1550
|
-
let i =
|
|
1573
|
+
let i = $n(e), a = i === ((r = e.ownerDocument) == null ? void 0 : r.body), o = K(i);
|
|
1551
1574
|
if (a) {
|
|
1552
|
-
let e =
|
|
1553
|
-
return t.concat(o, o.visualViewport || [],
|
|
1554
|
-
} else return t.concat(i,
|
|
1575
|
+
let e = tr(o);
|
|
1576
|
+
return t.concat(o, o.visualViewport || [], Hn(i) ? i : [], e && n ? er(e) : []);
|
|
1577
|
+
} else return t.concat(i, er(i, [], n));
|
|
1555
1578
|
}
|
|
1556
|
-
function
|
|
1579
|
+
function tr(e) {
|
|
1557
1580
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1558
1581
|
}
|
|
1559
1582
|
//#endregion
|
|
1560
1583
|
//#region ../../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
1561
|
-
function
|
|
1562
|
-
let t =
|
|
1584
|
+
function nr(e) {
|
|
1585
|
+
let t = Z(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Y(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = tn(n) !== a || tn(r) !== o;
|
|
1563
1586
|
return s && (n = a, r = o), {
|
|
1564
1587
|
width: n,
|
|
1565
1588
|
height: r,
|
|
1566
1589
|
$: s
|
|
1567
1590
|
};
|
|
1568
1591
|
}
|
|
1569
|
-
function
|
|
1570
|
-
return
|
|
1592
|
+
function rr(e) {
|
|
1593
|
+
return J(e) ? e : e.contextElement;
|
|
1571
1594
|
}
|
|
1572
|
-
function
|
|
1573
|
-
let t =
|
|
1574
|
-
if (!
|
|
1575
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
1595
|
+
function ir(e) {
|
|
1596
|
+
let t = rr(e);
|
|
1597
|
+
if (!Y(t)) return H(1);
|
|
1598
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = nr(t), o = (a ? tn(n.width) : n.width) / r, s = (a ? tn(n.height) : n.height) / i;
|
|
1576
1599
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
1577
1600
|
x: o,
|
|
1578
1601
|
y: s
|
|
1579
1602
|
};
|
|
1580
1603
|
}
|
|
1581
|
-
var
|
|
1582
|
-
function
|
|
1583
|
-
let t =
|
|
1584
|
-
return !
|
|
1604
|
+
var ar = /*#__PURE__*/ H(0);
|
|
1605
|
+
function or(e) {
|
|
1606
|
+
let t = K(e);
|
|
1607
|
+
return !Xn() || !t.visualViewport ? ar : {
|
|
1585
1608
|
x: t.visualViewport.offsetLeft,
|
|
1586
1609
|
y: t.visualViewport.offsetTop
|
|
1587
1610
|
};
|
|
1588
1611
|
}
|
|
1589
|
-
function
|
|
1590
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
1612
|
+
function sr(e, t, n) {
|
|
1613
|
+
return t === void 0 && (t = !1), !n || t && n !== K(e) ? !1 : t;
|
|
1591
1614
|
}
|
|
1592
|
-
function
|
|
1615
|
+
function cr(e, t, n, r) {
|
|
1593
1616
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
1594
|
-
let i = e.getBoundingClientRect(), a =
|
|
1595
|
-
t && (r ?
|
|
1596
|
-
let s =
|
|
1617
|
+
let i = e.getBoundingClientRect(), a = rr(e), o = H(1);
|
|
1618
|
+
t && (r ? J(r) && (o = ir(r)) : o = ir(e));
|
|
1619
|
+
let s = sr(a, n, r) ? or(a) : H(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
1597
1620
|
if (a) {
|
|
1598
|
-
let e =
|
|
1621
|
+
let e = K(a), t = r && J(r) ? K(r) : r, n = e, i = tr(n);
|
|
1599
1622
|
for (; i && r && t !== n;) {
|
|
1600
|
-
let e =
|
|
1601
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n =
|
|
1623
|
+
let e = ir(i), t = i.getBoundingClientRect(), r = Z(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
1624
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = K(i), i = tr(n);
|
|
1602
1625
|
}
|
|
1603
1626
|
}
|
|
1604
|
-
return
|
|
1627
|
+
return Sn({
|
|
1605
1628
|
width: u,
|
|
1606
1629
|
height: d,
|
|
1607
1630
|
x: c,
|
|
1608
1631
|
y: l
|
|
1609
1632
|
});
|
|
1610
1633
|
}
|
|
1611
|
-
function
|
|
1612
|
-
let n =
|
|
1613
|
-
return t ? t.left + n :
|
|
1634
|
+
function lr(e, t) {
|
|
1635
|
+
let n = Qn(e).scrollLeft;
|
|
1636
|
+
return t ? t.left + n : cr(q(e)).left + n;
|
|
1614
1637
|
}
|
|
1615
|
-
function
|
|
1638
|
+
function ur(e, t) {
|
|
1616
1639
|
let n = e.getBoundingClientRect();
|
|
1617
1640
|
return {
|
|
1618
|
-
x: n.left + t.scrollLeft -
|
|
1641
|
+
x: n.left + t.scrollLeft - lr(e, n),
|
|
1619
1642
|
y: n.top + t.scrollTop
|
|
1620
1643
|
};
|
|
1621
1644
|
}
|
|
1622
|
-
function
|
|
1623
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o =
|
|
1645
|
+
function dr(e) {
|
|
1646
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = q(r), s = t ? Wn(t.floating) : !1;
|
|
1624
1647
|
if (r === o || s && a) return n;
|
|
1625
1648
|
let c = {
|
|
1626
1649
|
scrollLeft: 0,
|
|
1627
1650
|
scrollTop: 0
|
|
1628
|
-
}, l =
|
|
1629
|
-
if ((d || !d && !a) && ((
|
|
1630
|
-
let e =
|
|
1631
|
-
l =
|
|
1651
|
+
}, l = H(1), u = H(0), d = Y(r);
|
|
1652
|
+
if ((d || !d && !a) && ((zn(r) !== "body" || Hn(o)) && (c = Qn(r)), d)) {
|
|
1653
|
+
let e = cr(r);
|
|
1654
|
+
l = ir(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
1632
1655
|
}
|
|
1633
|
-
let f = o && !d && !a ?
|
|
1656
|
+
let f = o && !d && !a ? ur(o, c) : H(0);
|
|
1634
1657
|
return {
|
|
1635
1658
|
width: n.width * l.x,
|
|
1636
1659
|
height: n.height * l.y,
|
|
@@ -1638,31 +1661,31 @@ function sr(e) {
|
|
|
1638
1661
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
1639
1662
|
};
|
|
1640
1663
|
}
|
|
1641
|
-
function
|
|
1664
|
+
function fr(e) {
|
|
1642
1665
|
return Array.from(e.getClientRects());
|
|
1643
1666
|
}
|
|
1644
|
-
function
|
|
1645
|
-
let t =
|
|
1646
|
-
return
|
|
1667
|
+
function pr(e) {
|
|
1668
|
+
let t = q(e), n = Qn(e), r = e.ownerDocument.body, i = V(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = V(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + lr(e), s = -n.scrollTop;
|
|
1669
|
+
return Z(r).direction === "rtl" && (o += V(t.clientWidth, r.clientWidth) - i), {
|
|
1647
1670
|
width: i,
|
|
1648
1671
|
height: a,
|
|
1649
1672
|
x: o,
|
|
1650
1673
|
y: s
|
|
1651
1674
|
};
|
|
1652
1675
|
}
|
|
1653
|
-
var
|
|
1654
|
-
function
|
|
1655
|
-
let n =
|
|
1676
|
+
var mr = 25;
|
|
1677
|
+
function hr(e, t) {
|
|
1678
|
+
let n = K(e), r = q(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
1656
1679
|
if (i) {
|
|
1657
1680
|
a = i.width, o = i.height;
|
|
1658
|
-
let e =
|
|
1681
|
+
let e = Xn();
|
|
1659
1682
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
1660
1683
|
}
|
|
1661
|
-
let l =
|
|
1684
|
+
let l = lr(r);
|
|
1662
1685
|
if (l <= 0) {
|
|
1663
1686
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
1664
|
-
o <=
|
|
1665
|
-
} else l <=
|
|
1687
|
+
o <= mr && (a -= o);
|
|
1688
|
+
} else l <= mr && (a += l);
|
|
1666
1689
|
return {
|
|
1667
1690
|
width: a,
|
|
1668
1691
|
height: o,
|
|
@@ -1670,8 +1693,8 @@ function dr(e, t) {
|
|
|
1670
1693
|
y: c
|
|
1671
1694
|
};
|
|
1672
1695
|
}
|
|
1673
|
-
function
|
|
1674
|
-
let n =
|
|
1696
|
+
function gr(e, t) {
|
|
1697
|
+
let n = cr(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Y(e) ? ir(e) : H(1);
|
|
1675
1698
|
return {
|
|
1676
1699
|
width: e.clientWidth * a.x,
|
|
1677
1700
|
height: e.clientHeight * a.y,
|
|
@@ -1679,13 +1702,13 @@ function fr(e, t) {
|
|
|
1679
1702
|
y: r * a.y
|
|
1680
1703
|
};
|
|
1681
1704
|
}
|
|
1682
|
-
function
|
|
1705
|
+
function _r(e, t, n) {
|
|
1683
1706
|
let r;
|
|
1684
|
-
if (t === "viewport") r =
|
|
1685
|
-
else if (t === "document") r =
|
|
1686
|
-
else if (
|
|
1707
|
+
if (t === "viewport") r = hr(e, n);
|
|
1708
|
+
else if (t === "document") r = pr(q(e));
|
|
1709
|
+
else if (J(t)) r = gr(t, n);
|
|
1687
1710
|
else {
|
|
1688
|
-
let n =
|
|
1711
|
+
let n = or(e);
|
|
1689
1712
|
r = {
|
|
1690
1713
|
x: t.x - n.x,
|
|
1691
1714
|
y: t.y - n.y,
|
|
@@ -1693,27 +1716,27 @@ function pr(e, t, n) {
|
|
|
1693
1716
|
height: t.height
|
|
1694
1717
|
};
|
|
1695
1718
|
}
|
|
1696
|
-
return
|
|
1719
|
+
return Sn(r);
|
|
1697
1720
|
}
|
|
1698
|
-
function
|
|
1699
|
-
let n =
|
|
1700
|
-
return n === t || !
|
|
1721
|
+
function vr(e, t) {
|
|
1722
|
+
let n = Q(e);
|
|
1723
|
+
return n === t || !J(n) || Zn(n) ? !1 : Z(n).position === "fixed" || vr(n, t);
|
|
1701
1724
|
}
|
|
1702
|
-
function
|
|
1725
|
+
function yr(e, t) {
|
|
1703
1726
|
let n = t.get(e);
|
|
1704
1727
|
if (n) return n;
|
|
1705
|
-
let r =
|
|
1706
|
-
for (;
|
|
1707
|
-
let t =
|
|
1708
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
1728
|
+
let r = er(e, [], !1).filter((e) => J(e) && zn(e) !== "body"), i = null, a = Z(e).position === "fixed", o = a ? Q(e) : e;
|
|
1729
|
+
for (; J(o) && !Zn(o);) {
|
|
1730
|
+
let t = Z(o), n = Jn(o);
|
|
1731
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Hn(o) && !n && vr(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Q(o);
|
|
1709
1732
|
}
|
|
1710
1733
|
return t.set(e, r), r;
|
|
1711
1734
|
}
|
|
1712
|
-
function
|
|
1713
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
1735
|
+
function br(e) {
|
|
1736
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Wn(t) ? [] : yr(t, this._c) : [].concat(n), r], o = _r(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
1714
1737
|
for (let e = 1; e < a.length; e++) {
|
|
1715
|
-
let n =
|
|
1716
|
-
s =
|
|
1738
|
+
let n = _r(t, a[e], i);
|
|
1739
|
+
s = V(n.top, s), c = B(n.right, c), l = B(n.bottom, l), u = V(n.left, u);
|
|
1717
1740
|
}
|
|
1718
1741
|
return {
|
|
1719
1742
|
width: c - u,
|
|
@@ -1722,27 +1745,27 @@ function gr(e) {
|
|
|
1722
1745
|
y: s
|
|
1723
1746
|
};
|
|
1724
1747
|
}
|
|
1725
|
-
function
|
|
1726
|
-
let { width: t, height: n } =
|
|
1748
|
+
function xr(e) {
|
|
1749
|
+
let { width: t, height: n } = nr(e);
|
|
1727
1750
|
return {
|
|
1728
1751
|
width: t,
|
|
1729
1752
|
height: n
|
|
1730
1753
|
};
|
|
1731
1754
|
}
|
|
1732
|
-
function
|
|
1733
|
-
let r =
|
|
1755
|
+
function Sr(e, t, n) {
|
|
1756
|
+
let r = Y(t), i = q(t), a = n === "fixed", o = cr(e, !0, a, t), s = {
|
|
1734
1757
|
scrollLeft: 0,
|
|
1735
1758
|
scrollTop: 0
|
|
1736
|
-
}, c =
|
|
1759
|
+
}, c = H(0);
|
|
1737
1760
|
function l() {
|
|
1738
|
-
c.x =
|
|
1761
|
+
c.x = lr(i);
|
|
1739
1762
|
}
|
|
1740
|
-
if (r || !r && !a) if ((
|
|
1741
|
-
let e =
|
|
1763
|
+
if (r || !r && !a) if ((zn(t) !== "body" || Hn(i)) && (s = Qn(t)), r) {
|
|
1764
|
+
let e = cr(t, !0, a, t);
|
|
1742
1765
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
1743
1766
|
} else i && l();
|
|
1744
1767
|
a && !r && i && l();
|
|
1745
|
-
let u = i && !r && !a ?
|
|
1768
|
+
let u = i && !r && !a ? ur(i, s) : H(0);
|
|
1746
1769
|
return {
|
|
1747
1770
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
1748
1771
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -1750,34 +1773,34 @@ function vr(e, t, n) {
|
|
|
1750
1773
|
height: o.height
|
|
1751
1774
|
};
|
|
1752
1775
|
}
|
|
1753
|
-
function
|
|
1754
|
-
return
|
|
1776
|
+
function Cr(e) {
|
|
1777
|
+
return Z(e).position === "static";
|
|
1755
1778
|
}
|
|
1756
|
-
function
|
|
1757
|
-
if (!
|
|
1779
|
+
function wr(e, t) {
|
|
1780
|
+
if (!Y(e) || Z(e).position === "fixed") return null;
|
|
1758
1781
|
if (t) return t(e);
|
|
1759
1782
|
let n = e.offsetParent;
|
|
1760
|
-
return
|
|
1761
|
-
}
|
|
1762
|
-
function
|
|
1763
|
-
let n =
|
|
1764
|
-
if (
|
|
1765
|
-
if (!
|
|
1766
|
-
let t =
|
|
1767
|
-
for (; t && !
|
|
1768
|
-
if (
|
|
1769
|
-
t =
|
|
1783
|
+
return q(e) === n && (n = n.ownerDocument.body), n;
|
|
1784
|
+
}
|
|
1785
|
+
function Tr(e, t) {
|
|
1786
|
+
let n = K(e);
|
|
1787
|
+
if (Wn(e)) return n;
|
|
1788
|
+
if (!Y(e)) {
|
|
1789
|
+
let t = Q(e);
|
|
1790
|
+
for (; t && !Zn(t);) {
|
|
1791
|
+
if (J(t) && !Cr(t)) return t;
|
|
1792
|
+
t = Q(t);
|
|
1770
1793
|
}
|
|
1771
1794
|
return n;
|
|
1772
1795
|
}
|
|
1773
|
-
let r =
|
|
1774
|
-
for (; r &&
|
|
1775
|
-
return r &&
|
|
1796
|
+
let r = wr(e, t);
|
|
1797
|
+
for (; r && Un(r) && Cr(r);) r = wr(r, t);
|
|
1798
|
+
return r && Zn(r) && Cr(r) && !Jn(r) ? n : r || Yn(e) || n;
|
|
1776
1799
|
}
|
|
1777
|
-
var
|
|
1778
|
-
let t = this.getOffsetParent ||
|
|
1800
|
+
var Er = async function(e) {
|
|
1801
|
+
let t = this.getOffsetParent || Tr, n = this.getDimensions, r = await n(e.floating);
|
|
1779
1802
|
return {
|
|
1780
|
-
reference:
|
|
1803
|
+
reference: Sr(e.reference, await t(e.floating), e.strategy),
|
|
1781
1804
|
floating: {
|
|
1782
1805
|
x: 0,
|
|
1783
1806
|
y: 0,
|
|
@@ -1786,26 +1809,26 @@ var Sr = async function(e) {
|
|
|
1786
1809
|
}
|
|
1787
1810
|
};
|
|
1788
1811
|
};
|
|
1789
|
-
function
|
|
1790
|
-
return
|
|
1791
|
-
}
|
|
1792
|
-
var
|
|
1793
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1794
|
-
getDocumentElement:
|
|
1795
|
-
getClippingRect:
|
|
1796
|
-
getOffsetParent:
|
|
1797
|
-
getElementRects:
|
|
1798
|
-
getClientRects:
|
|
1799
|
-
getDimensions:
|
|
1800
|
-
getScale:
|
|
1801
|
-
isElement:
|
|
1802
|
-
isRTL:
|
|
1812
|
+
function Dr(e) {
|
|
1813
|
+
return Z(e).direction === "rtl";
|
|
1814
|
+
}
|
|
1815
|
+
var Or = {
|
|
1816
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: dr,
|
|
1817
|
+
getDocumentElement: q,
|
|
1818
|
+
getClippingRect: br,
|
|
1819
|
+
getOffsetParent: Tr,
|
|
1820
|
+
getElementRects: Er,
|
|
1821
|
+
getClientRects: fr,
|
|
1822
|
+
getDimensions: xr,
|
|
1823
|
+
getScale: ir,
|
|
1824
|
+
isElement: J,
|
|
1825
|
+
isRTL: Dr
|
|
1803
1826
|
};
|
|
1804
|
-
function
|
|
1827
|
+
function kr(e, t) {
|
|
1805
1828
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
1806
1829
|
}
|
|
1807
|
-
function
|
|
1808
|
-
let n = null, r, i =
|
|
1830
|
+
function Ar(e, t) {
|
|
1831
|
+
let n = null, r, i = q(e);
|
|
1809
1832
|
function a() {
|
|
1810
1833
|
var e;
|
|
1811
1834
|
clearTimeout(r), (e = n) == null || e.disconnect(), n = null;
|
|
@@ -1814,9 +1837,9 @@ function Er(e, t) {
|
|
|
1814
1837
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
1815
1838
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
1816
1839
|
if (s || t(), !f || !p) return;
|
|
1817
|
-
let m =
|
|
1840
|
+
let m = nn(d), h = nn(i.clientWidth - (u + f)), g = nn(i.clientHeight - (d + p)), _ = nn(u), v = {
|
|
1818
1841
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
1819
|
-
threshold:
|
|
1842
|
+
threshold: V(0, B(1, c)) || 1
|
|
1820
1843
|
}, y = !0;
|
|
1821
1844
|
function b(t) {
|
|
1822
1845
|
let n = t[0].intersectionRatio;
|
|
@@ -1826,7 +1849,7 @@ function Er(e, t) {
|
|
|
1826
1849
|
o(!1, 1e-7);
|
|
1827
1850
|
}, 1e3);
|
|
1828
1851
|
}
|
|
1829
|
-
n === 1 && !
|
|
1852
|
+
n === 1 && !kr(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
1830
1853
|
}
|
|
1831
1854
|
try {
|
|
1832
1855
|
n = new IntersectionObserver(b, {
|
|
@@ -1840,13 +1863,13 @@ function Er(e, t) {
|
|
|
1840
1863
|
}
|
|
1841
1864
|
return o(!0), a;
|
|
1842
1865
|
}
|
|
1843
|
-
function
|
|
1866
|
+
function jr(e, t, n, r) {
|
|
1844
1867
|
r === void 0 && (r = {});
|
|
1845
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
1868
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = rr(e), u = i || a ? [...l ? er(l) : [], ...t ? er(t) : []] : [];
|
|
1846
1869
|
u.forEach((e) => {
|
|
1847
1870
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
1848
1871
|
});
|
|
1849
|
-
let d = l && s ?
|
|
1872
|
+
let d = l && s ? Ar(l, n) : null, f = -1, p = null;
|
|
1850
1873
|
o && (p = new ResizeObserver((e) => {
|
|
1851
1874
|
let [r] = e;
|
|
1852
1875
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -1854,11 +1877,11 @@ function Dr(e, t, n, r) {
|
|
|
1854
1877
|
(e = p) == null || e.observe(t);
|
|
1855
1878
|
})), n();
|
|
1856
1879
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
1857
|
-
let m, h = c ?
|
|
1880
|
+
let m, h = c ? cr(e) : null;
|
|
1858
1881
|
c && g();
|
|
1859
1882
|
function g() {
|
|
1860
|
-
let t =
|
|
1861
|
-
h && !
|
|
1883
|
+
let t = cr(e);
|
|
1884
|
+
h && !kr(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
1862
1885
|
}
|
|
1863
1886
|
return n(), () => {
|
|
1864
1887
|
var e;
|
|
@@ -1867,20 +1890,20 @@ function Dr(e, t, n, r) {
|
|
|
1867
1890
|
}), d == null || d(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
1868
1891
|
};
|
|
1869
1892
|
}
|
|
1870
|
-
var
|
|
1893
|
+
var Mr = Pn, Nr = Fn, Pr = On, Fr = Ln, Ir = jn, Lr = Dn, Rr = In, zr = (e, t, n) => {
|
|
1871
1894
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
1872
|
-
platform:
|
|
1895
|
+
platform: Or,
|
|
1873
1896
|
...n
|
|
1874
1897
|
}, a = {
|
|
1875
1898
|
...i.platform,
|
|
1876
1899
|
_c: r
|
|
1877
1900
|
};
|
|
1878
|
-
return
|
|
1901
|
+
return En(e, t, {
|
|
1879
1902
|
...i,
|
|
1880
1903
|
platform: a
|
|
1881
1904
|
});
|
|
1882
|
-
},
|
|
1883
|
-
function
|
|
1905
|
+
}, Br = typeof document < "u" ? x.useLayoutEffect : function() {};
|
|
1906
|
+
function Vr(e, t) {
|
|
1884
1907
|
if (e === t) return !0;
|
|
1885
1908
|
if (typeof e != typeof t) return !1;
|
|
1886
1909
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -1888,33 +1911,33 @@ function Lr(e, t) {
|
|
|
1888
1911
|
if (e && t && typeof e == "object") {
|
|
1889
1912
|
if (Array.isArray(e)) {
|
|
1890
1913
|
if (n = e.length, n !== t.length) return !1;
|
|
1891
|
-
for (r = n; r-- !== 0;) if (!
|
|
1914
|
+
for (r = n; r-- !== 0;) if (!Vr(e[r], t[r])) return !1;
|
|
1892
1915
|
return !0;
|
|
1893
1916
|
}
|
|
1894
1917
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
1895
1918
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
1896
1919
|
for (r = n; r-- !== 0;) {
|
|
1897
1920
|
let n = i[r];
|
|
1898
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
1921
|
+
if (!(n === "_owner" && e.$$typeof) && !Vr(e[n], t[n])) return !1;
|
|
1899
1922
|
}
|
|
1900
1923
|
return !0;
|
|
1901
1924
|
}
|
|
1902
1925
|
return e !== e && t !== t;
|
|
1903
1926
|
}
|
|
1904
|
-
function
|
|
1927
|
+
function Hr(e) {
|
|
1905
1928
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1906
1929
|
}
|
|
1907
|
-
function
|
|
1908
|
-
let n =
|
|
1930
|
+
function Ur(e, t) {
|
|
1931
|
+
let n = Hr(e);
|
|
1909
1932
|
return Math.round(t * n) / n;
|
|
1910
1933
|
}
|
|
1911
|
-
function
|
|
1934
|
+
function Wr(e) {
|
|
1912
1935
|
let t = x.useRef(e);
|
|
1913
|
-
return
|
|
1936
|
+
return Br(() => {
|
|
1914
1937
|
t.current = e;
|
|
1915
1938
|
}), t;
|
|
1916
1939
|
}
|
|
1917
|
-
function
|
|
1940
|
+
function Gr(e) {
|
|
1918
1941
|
e === void 0 && (e = {});
|
|
1919
1942
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = x.useState({
|
|
1920
1943
|
x: 0,
|
|
@@ -1924,24 +1947,24 @@ function Vr(e) {
|
|
|
1924
1947
|
middlewareData: {},
|
|
1925
1948
|
isPositioned: !1
|
|
1926
1949
|
}), [f, p] = x.useState(r);
|
|
1927
|
-
|
|
1950
|
+
Vr(f, r) || p(r);
|
|
1928
1951
|
let [m, h] = x.useState(null), [g, _] = x.useState(null), v = x.useCallback((e) => {
|
|
1929
|
-
e !==
|
|
1952
|
+
e !== w.current && (w.current = e, h(e));
|
|
1930
1953
|
}, []), y = x.useCallback((e) => {
|
|
1931
|
-
e !==
|
|
1932
|
-
}, []),
|
|
1933
|
-
if (!
|
|
1954
|
+
e !== T.current && (T.current = e, _(e));
|
|
1955
|
+
}, []), S = a || m, C = o || g, w = x.useRef(null), T = x.useRef(null), E = x.useRef(u), D = c != null, O = Wr(c), k = Wr(i), A = Wr(l), j = x.useCallback(() => {
|
|
1956
|
+
if (!w.current || !T.current) return;
|
|
1934
1957
|
let e = {
|
|
1935
1958
|
placement: t,
|
|
1936
1959
|
strategy: n,
|
|
1937
1960
|
middleware: f
|
|
1938
1961
|
};
|
|
1939
|
-
|
|
1962
|
+
k.current && (e.platform = k.current), zr(w.current, T.current, e).then((e) => {
|
|
1940
1963
|
let t = {
|
|
1941
1964
|
...e,
|
|
1942
|
-
isPositioned:
|
|
1965
|
+
isPositioned: A.current !== !1
|
|
1943
1966
|
};
|
|
1944
|
-
|
|
1967
|
+
M.current && !Vr(E.current, t) && (E.current = t, b.flushSync(() => {
|
|
1945
1968
|
d(t);
|
|
1946
1969
|
}));
|
|
1947
1970
|
});
|
|
@@ -1949,50 +1972,50 @@ function Vr(e) {
|
|
|
1949
1972
|
f,
|
|
1950
1973
|
t,
|
|
1951
1974
|
n,
|
|
1952
|
-
|
|
1953
|
-
|
|
1975
|
+
k,
|
|
1976
|
+
A
|
|
1954
1977
|
]);
|
|
1955
|
-
|
|
1956
|
-
l === !1 &&
|
|
1978
|
+
Br(() => {
|
|
1979
|
+
l === !1 && E.current.isPositioned && (E.current.isPositioned = !1, d((e) => ({
|
|
1957
1980
|
...e,
|
|
1958
1981
|
isPositioned: !1
|
|
1959
1982
|
})));
|
|
1960
1983
|
}, [l]);
|
|
1961
|
-
let
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
}), []),
|
|
1965
|
-
if (
|
|
1966
|
-
if (
|
|
1967
|
-
|
|
1984
|
+
let M = x.useRef(!1);
|
|
1985
|
+
Br(() => (M.current = !0, () => {
|
|
1986
|
+
M.current = !1;
|
|
1987
|
+
}), []), Br(() => {
|
|
1988
|
+
if (S && (w.current = S), C && (T.current = C), S && C) {
|
|
1989
|
+
if (O.current) return O.current(S, C, j);
|
|
1990
|
+
j();
|
|
1968
1991
|
}
|
|
1969
1992
|
}, [
|
|
1970
|
-
b,
|
|
1971
1993
|
S,
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1994
|
+
C,
|
|
1995
|
+
j,
|
|
1996
|
+
O,
|
|
1997
|
+
D
|
|
1975
1998
|
]);
|
|
1976
|
-
let
|
|
1977
|
-
reference:
|
|
1978
|
-
floating:
|
|
1999
|
+
let N = x.useMemo(() => ({
|
|
2000
|
+
reference: w,
|
|
2001
|
+
floating: T,
|
|
1979
2002
|
setReference: v,
|
|
1980
2003
|
setFloating: y
|
|
1981
|
-
}), [v, y]),
|
|
1982
|
-
reference:
|
|
1983
|
-
floating:
|
|
1984
|
-
}), [
|
|
2004
|
+
}), [v, y]), P = x.useMemo(() => ({
|
|
2005
|
+
reference: S,
|
|
2006
|
+
floating: C
|
|
2007
|
+
}), [S, C]), ee = x.useMemo(() => {
|
|
1985
2008
|
let e = {
|
|
1986
2009
|
position: n,
|
|
1987
2010
|
left: 0,
|
|
1988
2011
|
top: 0
|
|
1989
2012
|
};
|
|
1990
|
-
if (!
|
|
1991
|
-
let t =
|
|
2013
|
+
if (!P.floating) return e;
|
|
2014
|
+
let t = Ur(P.floating, u.x), r = Ur(P.floating, u.y);
|
|
1992
2015
|
return s ? {
|
|
1993
2016
|
...e,
|
|
1994
2017
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
1995
|
-
...
|
|
2018
|
+
...Hr(P.floating) >= 1.5 && { willChange: "transform" }
|
|
1996
2019
|
} : {
|
|
1997
2020
|
position: n,
|
|
1998
2021
|
left: t,
|
|
@@ -2001,25 +2024,25 @@ function Vr(e) {
|
|
|
2001
2024
|
}, [
|
|
2002
2025
|
n,
|
|
2003
2026
|
s,
|
|
2004
|
-
|
|
2027
|
+
P.floating,
|
|
2005
2028
|
u.x,
|
|
2006
2029
|
u.y
|
|
2007
2030
|
]);
|
|
2008
2031
|
return x.useMemo(() => ({
|
|
2009
2032
|
...u,
|
|
2010
|
-
update:
|
|
2011
|
-
refs:
|
|
2012
|
-
elements:
|
|
2033
|
+
update: j,
|
|
2034
|
+
refs: N,
|
|
2035
|
+
elements: P,
|
|
2013
2036
|
floatingStyles: ee
|
|
2014
2037
|
}), [
|
|
2015
2038
|
u,
|
|
2016
|
-
|
|
2017
|
-
M,
|
|
2039
|
+
j,
|
|
2018
2040
|
N,
|
|
2041
|
+
P,
|
|
2019
2042
|
ee
|
|
2020
2043
|
]);
|
|
2021
2044
|
}
|
|
2022
|
-
var
|
|
2045
|
+
var Kr = (e) => {
|
|
2023
2046
|
function t(e) {
|
|
2024
2047
|
return {}.hasOwnProperty.call(e, "current");
|
|
2025
2048
|
}
|
|
@@ -2028,194 +2051,194 @@ var Hr = (e) => {
|
|
|
2028
2051
|
options: e,
|
|
2029
2052
|
fn(n) {
|
|
2030
2053
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
2031
|
-
return r && t(r) ? r.current == null ? {} :
|
|
2054
|
+
return r && t(r) ? r.current == null ? {} : Lr({
|
|
2032
2055
|
element: r.current,
|
|
2033
2056
|
padding: i
|
|
2034
|
-
}).fn(n) : r ?
|
|
2057
|
+
}).fn(n) : r ? Lr({
|
|
2035
2058
|
element: r,
|
|
2036
2059
|
padding: i
|
|
2037
2060
|
}).fn(n) : {};
|
|
2038
2061
|
}
|
|
2039
2062
|
};
|
|
2040
|
-
},
|
|
2041
|
-
let n =
|
|
2063
|
+
}, qr = (e, t) => {
|
|
2064
|
+
let n = Mr(e);
|
|
2042
2065
|
return {
|
|
2043
2066
|
name: n.name,
|
|
2044
2067
|
fn: n.fn,
|
|
2045
2068
|
options: [e, t]
|
|
2046
2069
|
};
|
|
2047
|
-
},
|
|
2048
|
-
let n =
|
|
2070
|
+
}, Jr = (e, t) => {
|
|
2071
|
+
let n = Nr(e);
|
|
2049
2072
|
return {
|
|
2050
2073
|
name: n.name,
|
|
2051
2074
|
fn: n.fn,
|
|
2052
2075
|
options: [e, t]
|
|
2053
2076
|
};
|
|
2054
|
-
},
|
|
2055
|
-
fn:
|
|
2077
|
+
}, Yr = (e, t) => ({
|
|
2078
|
+
fn: Rr(e).fn,
|
|
2056
2079
|
options: [e, t]
|
|
2057
|
-
}),
|
|
2058
|
-
let n =
|
|
2080
|
+
}), Xr = (e, t) => {
|
|
2081
|
+
let n = Pr(e);
|
|
2059
2082
|
return {
|
|
2060
2083
|
name: n.name,
|
|
2061
2084
|
fn: n.fn,
|
|
2062
2085
|
options: [e, t]
|
|
2063
2086
|
};
|
|
2064
|
-
},
|
|
2065
|
-
let n =
|
|
2087
|
+
}, Zr = (e, t) => {
|
|
2088
|
+
let n = Fr(e);
|
|
2066
2089
|
return {
|
|
2067
2090
|
name: n.name,
|
|
2068
2091
|
fn: n.fn,
|
|
2069
2092
|
options: [e, t]
|
|
2070
2093
|
};
|
|
2071
|
-
},
|
|
2072
|
-
let n =
|
|
2094
|
+
}, Qr = (e, t) => {
|
|
2095
|
+
let n = Ir(e);
|
|
2073
2096
|
return {
|
|
2074
2097
|
name: n.name,
|
|
2075
2098
|
fn: n.fn,
|
|
2076
2099
|
options: [e, t]
|
|
2077
2100
|
};
|
|
2078
|
-
},
|
|
2079
|
-
let n =
|
|
2101
|
+
}, $r = (e, t) => {
|
|
2102
|
+
let n = Kr(e);
|
|
2080
2103
|
return {
|
|
2081
2104
|
name: n.name,
|
|
2082
2105
|
fn: n.fn,
|
|
2083
2106
|
options: [e, t]
|
|
2084
2107
|
};
|
|
2085
|
-
},
|
|
2108
|
+
}, ei = "Arrow", ti = x.forwardRef((e, t) => {
|
|
2086
2109
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
2087
|
-
return /* @__PURE__ */ (0,
|
|
2110
|
+
return /* @__PURE__ */ (0, S.jsx)(_.svg, {
|
|
2088
2111
|
...a,
|
|
2089
2112
|
ref: t,
|
|
2090
2113
|
width: r,
|
|
2091
2114
|
height: i,
|
|
2092
2115
|
viewBox: "0 0 30 10",
|
|
2093
2116
|
preserveAspectRatio: "none",
|
|
2094
|
-
children: e.asChild ? n : /* @__PURE__ */ (0,
|
|
2117
|
+
children: e.asChild ? n : /* @__PURE__ */ (0, S.jsx)("polygon", { points: "0,0 30,0 15,10" })
|
|
2095
2118
|
});
|
|
2096
2119
|
});
|
|
2097
|
-
|
|
2098
|
-
var
|
|
2120
|
+
ti.displayName = ei;
|
|
2121
|
+
var ni = ti, ri = "Popper", [ii, ai] = h(ri), [oi, si] = ii(ri), ci = (e) => {
|
|
2099
2122
|
let { __scopePopper: t, children: n } = e, [r, i] = x.useState(null);
|
|
2100
|
-
return /* @__PURE__ */ (0,
|
|
2123
|
+
return /* @__PURE__ */ (0, S.jsx)(oi, {
|
|
2101
2124
|
scope: t,
|
|
2102
2125
|
anchor: r,
|
|
2103
2126
|
onAnchorChange: i,
|
|
2104
2127
|
children: n
|
|
2105
2128
|
});
|
|
2106
2129
|
};
|
|
2107
|
-
|
|
2108
|
-
var
|
|
2109
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
2130
|
+
ci.displayName = ri;
|
|
2131
|
+
var li = "PopperAnchor", ui = x.forwardRef((e, t) => {
|
|
2132
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = si(li, n), s = x.useRef(null), c = o(t, s), l = x.useRef(null);
|
|
2110
2133
|
return x.useEffect(() => {
|
|
2111
2134
|
let e = l.current;
|
|
2112
|
-
l.current = (r == null ? void 0 : r.current) ||
|
|
2113
|
-
}), r ? null : /* @__PURE__ */ (0,
|
|
2135
|
+
l.current = (r == null ? void 0 : r.current) || s.current, e !== l.current && a.onAnchorChange(l.current);
|
|
2136
|
+
}), r ? null : /* @__PURE__ */ (0, S.jsx)(_.div, {
|
|
2114
2137
|
...i,
|
|
2115
|
-
ref:
|
|
2138
|
+
ref: c
|
|
2116
2139
|
});
|
|
2117
2140
|
});
|
|
2118
|
-
|
|
2119
|
-
var
|
|
2120
|
-
var n, r, i,
|
|
2121
|
-
let { __scopePopper:
|
|
2141
|
+
ui.displayName = li;
|
|
2142
|
+
var di = "PopperContent", [fi, pi] = ii(di), mi = x.forwardRef((e, t) => {
|
|
2143
|
+
var n, r, i, a, s, c, l, u;
|
|
2144
|
+
let { __scopePopper: d, side: f = "bottom", sideOffset: p = 0, align: m = "center", alignOffset: h = 0, arrowPadding: y = 0, avoidCollisions: b = !0, collisionBoundary: C = [], collisionPadding: w = 0, sticky: T = "partial", hideWhenDetached: E = !1, updatePositionStrategy: D = "optimized", onPlaced: O, ...k } = e, A = si(di, d), [j, M] = x.useState(null), N = o(t, (e) => M(e)), [P, ee] = x.useState(null), te = v(P), ne = (n = te == null ? void 0 : te.width) == null ? 0 : n, re = (r = te == null ? void 0 : te.height) == null ? 0 : r, ie = f + (m === "center" ? "" : "-" + m), ae = typeof w == "number" ? w : {
|
|
2122
2145
|
top: 0,
|
|
2123
2146
|
right: 0,
|
|
2124
2147
|
bottom: 0,
|
|
2125
2148
|
left: 0,
|
|
2126
2149
|
...w
|
|
2127
|
-
},
|
|
2128
|
-
padding:
|
|
2129
|
-
boundary:
|
|
2130
|
-
altBoundary:
|
|
2131
|
-
}, { refs:
|
|
2150
|
+
}, oe = Array.isArray(C) ? C : [C], se = oe.length > 0, ce = {
|
|
2151
|
+
padding: ae,
|
|
2152
|
+
boundary: oe.filter(vi),
|
|
2153
|
+
altBoundary: se
|
|
2154
|
+
}, { refs: le, floatingStyles: ue, placement: de, isPositioned: I, middlewareData: L } = Gr({
|
|
2132
2155
|
strategy: "fixed",
|
|
2133
|
-
placement:
|
|
2134
|
-
whileElementsMounted: (...e) =>
|
|
2135
|
-
elements: { reference:
|
|
2156
|
+
placement: ie,
|
|
2157
|
+
whileElementsMounted: (...e) => jr(...e, { animationFrame: D === "always" }),
|
|
2158
|
+
elements: { reference: A.anchor },
|
|
2136
2159
|
middleware: [
|
|
2137
|
-
|
|
2138
|
-
mainAxis:
|
|
2139
|
-
alignmentAxis:
|
|
2160
|
+
qr({
|
|
2161
|
+
mainAxis: p + re,
|
|
2162
|
+
alignmentAxis: h
|
|
2140
2163
|
}),
|
|
2141
|
-
|
|
2164
|
+
b && Jr({
|
|
2142
2165
|
mainAxis: !0,
|
|
2143
2166
|
crossAxis: !1,
|
|
2144
|
-
limiter:
|
|
2145
|
-
...
|
|
2167
|
+
limiter: T === "partial" ? Yr() : void 0,
|
|
2168
|
+
...ce
|
|
2146
2169
|
}),
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
...
|
|
2170
|
+
b && Xr({ ...ce }),
|
|
2171
|
+
Zr({
|
|
2172
|
+
...ce,
|
|
2150
2173
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
2151
2174
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
2152
2175
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
2153
2176
|
}
|
|
2154
2177
|
}),
|
|
2155
|
-
|
|
2156
|
-
element:
|
|
2178
|
+
P && $r({
|
|
2179
|
+
element: P,
|
|
2157
2180
|
padding: y
|
|
2158
2181
|
}),
|
|
2159
|
-
|
|
2160
|
-
arrowWidth:
|
|
2161
|
-
arrowHeight:
|
|
2182
|
+
yi({
|
|
2183
|
+
arrowWidth: ne,
|
|
2184
|
+
arrowHeight: re
|
|
2162
2185
|
}),
|
|
2163
|
-
|
|
2186
|
+
E && Qr({
|
|
2164
2187
|
strategy: "referenceHidden",
|
|
2165
|
-
...
|
|
2188
|
+
...ce
|
|
2166
2189
|
})
|
|
2167
2190
|
]
|
|
2168
|
-
}), [
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
}, [
|
|
2172
|
-
let
|
|
2173
|
-
return
|
|
2174
|
-
|
|
2175
|
-
}, [
|
|
2176
|
-
ref:
|
|
2191
|
+
}), [fe, pe] = bi(de), me = F(O);
|
|
2192
|
+
g(() => {
|
|
2193
|
+
I && (me == null || me());
|
|
2194
|
+
}, [I, me]);
|
|
2195
|
+
let he = (i = L.arrow) == null ? void 0 : i.x, ge = (a = L.arrow) == null ? void 0 : a.y, _e = ((s = L.arrow) == null ? void 0 : s.centerOffset) !== 0, [ve, ye] = x.useState();
|
|
2196
|
+
return g(() => {
|
|
2197
|
+
j && ye(window.getComputedStyle(j).zIndex);
|
|
2198
|
+
}, [j]), /* @__PURE__ */ (0, S.jsx)("div", {
|
|
2199
|
+
ref: le.setFloating,
|
|
2177
2200
|
"data-radix-popper-content-wrapper": "",
|
|
2178
2201
|
style: {
|
|
2179
|
-
...
|
|
2180
|
-
transform:
|
|
2202
|
+
...ue,
|
|
2203
|
+
transform: I ? ue.transform : "translate(0, -200%)",
|
|
2181
2204
|
minWidth: "max-content",
|
|
2182
|
-
zIndex:
|
|
2183
|
-
"--radix-popper-transform-origin": [(
|
|
2184
|
-
...((
|
|
2205
|
+
zIndex: ve,
|
|
2206
|
+
"--radix-popper-transform-origin": [(c = L.transformOrigin) == null ? void 0 : c.x, (l = L.transformOrigin) == null ? void 0 : l.y].join(" "),
|
|
2207
|
+
...((u = L.hide) == null ? void 0 : u.referenceHidden) && {
|
|
2185
2208
|
visibility: "hidden",
|
|
2186
2209
|
pointerEvents: "none"
|
|
2187
2210
|
}
|
|
2188
2211
|
},
|
|
2189
2212
|
dir: e.dir,
|
|
2190
|
-
children: /* @__PURE__ */ (0,
|
|
2191
|
-
scope:
|
|
2192
|
-
placedSide:
|
|
2193
|
-
onArrowChange:
|
|
2194
|
-
arrowX:
|
|
2195
|
-
arrowY:
|
|
2196
|
-
shouldHideArrow:
|
|
2197
|
-
children: /* @__PURE__ */ (0,
|
|
2198
|
-
"data-side":
|
|
2199
|
-
"data-align":
|
|
2200
|
-
...
|
|
2201
|
-
ref:
|
|
2213
|
+
children: /* @__PURE__ */ (0, S.jsx)(fi, {
|
|
2214
|
+
scope: d,
|
|
2215
|
+
placedSide: fe,
|
|
2216
|
+
onArrowChange: ee,
|
|
2217
|
+
arrowX: he,
|
|
2218
|
+
arrowY: ge,
|
|
2219
|
+
shouldHideArrow: _e,
|
|
2220
|
+
children: /* @__PURE__ */ (0, S.jsx)(_.div, {
|
|
2221
|
+
"data-side": fe,
|
|
2222
|
+
"data-align": pe,
|
|
2223
|
+
...k,
|
|
2224
|
+
ref: N,
|
|
2202
2225
|
style: {
|
|
2203
|
-
...
|
|
2204
|
-
animation:
|
|
2226
|
+
...k.style,
|
|
2227
|
+
animation: I ? void 0 : "none"
|
|
2205
2228
|
}
|
|
2206
2229
|
})
|
|
2207
2230
|
})
|
|
2208
2231
|
});
|
|
2209
2232
|
});
|
|
2210
|
-
|
|
2211
|
-
var
|
|
2233
|
+
mi.displayName = di;
|
|
2234
|
+
var hi = "PopperArrow", gi = {
|
|
2212
2235
|
top: "bottom",
|
|
2213
2236
|
right: "left",
|
|
2214
2237
|
bottom: "top",
|
|
2215
2238
|
left: "right"
|
|
2216
|
-
},
|
|
2217
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
2218
|
-
return /* @__PURE__ */ (0,
|
|
2239
|
+
}, _i = x.forwardRef(function(e, t) {
|
|
2240
|
+
let { __scopePopper: n, ...r } = e, i = pi(hi, n), a = gi[i.placedSide];
|
|
2241
|
+
return /* @__PURE__ */ (0, S.jsx)("span", {
|
|
2219
2242
|
ref: i.onArrowChange,
|
|
2220
2243
|
style: {
|
|
2221
2244
|
position: "absolute",
|
|
@@ -2236,7 +2259,7 @@ var di = "PopperArrow", fi = {
|
|
|
2236
2259
|
}[i.placedSide],
|
|
2237
2260
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
2238
2261
|
},
|
|
2239
|
-
children: /* @__PURE__ */ (0,
|
|
2262
|
+
children: /* @__PURE__ */ (0, S.jsx)(ni, {
|
|
2240
2263
|
...r,
|
|
2241
2264
|
ref: t,
|
|
2242
2265
|
style: {
|
|
@@ -2246,16 +2269,16 @@ var di = "PopperArrow", fi = {
|
|
|
2246
2269
|
})
|
|
2247
2270
|
});
|
|
2248
2271
|
});
|
|
2249
|
-
|
|
2250
|
-
function
|
|
2272
|
+
_i.displayName = hi;
|
|
2273
|
+
function vi(e) {
|
|
2251
2274
|
return e !== null;
|
|
2252
2275
|
}
|
|
2253
|
-
var
|
|
2276
|
+
var yi = (e) => ({
|
|
2254
2277
|
name: "transformOrigin",
|
|
2255
2278
|
options: e,
|
|
2256
2279
|
fn(t) {
|
|
2257
2280
|
var n, r, i, a, o;
|
|
2258
|
-
let { placement: s, rects: c, middlewareData: l } = t, u = ((n = l.arrow) == null ? void 0 : n.centerOffset) !== 0, d = u ? 0 : e.arrowWidth, f = u ? 0 : e.arrowHeight, [p, m] =
|
|
2281
|
+
let { placement: s, rects: c, middlewareData: l } = t, u = ((n = l.arrow) == null ? void 0 : n.centerOffset) !== 0, d = u ? 0 : e.arrowWidth, f = u ? 0 : e.arrowHeight, [p, m] = bi(s), h = {
|
|
2259
2282
|
start: "0%",
|
|
2260
2283
|
center: "50%",
|
|
2261
2284
|
end: "100%"
|
|
@@ -2266,36 +2289,16 @@ var hi = (e) => ({
|
|
|
2266
2289
|
} };
|
|
2267
2290
|
}
|
|
2268
2291
|
});
|
|
2269
|
-
function
|
|
2292
|
+
function bi(e) {
|
|
2270
2293
|
let [t, n = "center"] = e.split("-");
|
|
2271
2294
|
return [t, n];
|
|
2272
2295
|
}
|
|
2273
|
-
var _i =
|
|
2274
|
-
position: "absolute",
|
|
2275
|
-
border: 0,
|
|
2276
|
-
width: 1,
|
|
2277
|
-
height: 1,
|
|
2278
|
-
padding: 0,
|
|
2279
|
-
margin: -1,
|
|
2280
|
-
overflow: "hidden",
|
|
2281
|
-
clip: "rect(0, 0, 0, 0)",
|
|
2282
|
-
whiteSpace: "nowrap",
|
|
2283
|
-
wordWrap: "normal"
|
|
2284
|
-
}), Si = "VisuallyHidden", Ci = x.forwardRef((e, t) => /* @__PURE__ */ (0, b.jsx)(c.span, {
|
|
2285
|
-
...e,
|
|
2286
|
-
ref: t,
|
|
2287
|
-
style: {
|
|
2288
|
-
...xi,
|
|
2289
|
-
...e.style
|
|
2290
|
-
}
|
|
2291
|
-
}));
|
|
2292
|
-
Ci.displayName = Si;
|
|
2293
|
-
var wi = Ci, [Ti, Ei] = o("Tooltip", [ti]), Di = ti(), Oi = "TooltipProvider", ki = 700, Ai = "tooltip.open", [ji, Mi] = Ti(Oi), Ni = (e) => {
|
|
2296
|
+
var xi = ci, Si = ui, Ci = mi, wi = _i, [Ti, Ei] = h("Tooltip", [ai]), Di = ai(), Oi = "TooltipProvider", ki = 700, Ai = "tooltip.open", [ji, Mi] = Ti(Oi), Ni = (e) => {
|
|
2294
2297
|
let { __scopeTooltip: t, delayDuration: n = ki, skipDelayDuration: r = 300, disableHoverableContent: i = !1, children: a } = e, o = x.useRef(!0), s = x.useRef(!1), c = x.useRef(0);
|
|
2295
2298
|
return x.useEffect(() => {
|
|
2296
2299
|
let e = c.current;
|
|
2297
2300
|
return () => window.clearTimeout(e);
|
|
2298
|
-
}, []), /* @__PURE__ */ (0,
|
|
2301
|
+
}, []), /* @__PURE__ */ (0, S.jsx)(ji, {
|
|
2299
2302
|
scope: t,
|
|
2300
2303
|
isOpenDelayedRef: o,
|
|
2301
2304
|
delayDuration: n,
|
|
@@ -2315,45 +2318,45 @@ var wi = Ci, [Ti, Ei] = o("Tooltip", [ti]), Di = ti(), Oi = "TooltipProvider", k
|
|
|
2315
2318
|
};
|
|
2316
2319
|
Ni.displayName = Oi;
|
|
2317
2320
|
var Pi = "Tooltip", [Fi, Ii] = Ti(Pi), Li = (e) => {
|
|
2318
|
-
let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration:
|
|
2321
|
+
let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration: s } = e, c = Mi(Pi, e.__scopeTooltip), l = Di(t), [u, d] = x.useState(null), f = ee(), p = x.useRef(0), h = o == null ? c.disableHoverableContent : o, g = s == null ? c.delayDuration : s, _ = x.useRef(!1), [v, y] = m({
|
|
2319
2322
|
prop: r,
|
|
2320
|
-
defaultProp: i
|
|
2323
|
+
defaultProp: i != null && i,
|
|
2321
2324
|
onChange: (e) => {
|
|
2322
|
-
e ? (
|
|
2325
|
+
e ? (c.onOpen(), document.dispatchEvent(new CustomEvent(Ai))) : c.onClose(), a == null || a(e);
|
|
2323
2326
|
},
|
|
2324
2327
|
caller: Pi
|
|
2325
|
-
}),
|
|
2326
|
-
window.clearTimeout(
|
|
2328
|
+
}), b = x.useMemo(() => v ? _.current ? "delayed-open" : "instant-open" : "closed", [v]), C = x.useCallback(() => {
|
|
2329
|
+
window.clearTimeout(p.current), p.current = 0, _.current = !1, y(!0);
|
|
2330
|
+
}, [y]), w = x.useCallback(() => {
|
|
2331
|
+
window.clearTimeout(p.current), p.current = 0, y(!1);
|
|
2327
2332
|
}, [y]), T = x.useCallback(() => {
|
|
2328
|
-
window.clearTimeout(
|
|
2329
|
-
|
|
2330
|
-
window.clearTimeout(m.current), m.current = window.setTimeout(() => {
|
|
2331
|
-
_.current = !0, y(!0), m.current = 0;
|
|
2333
|
+
window.clearTimeout(p.current), p.current = window.setTimeout(() => {
|
|
2334
|
+
_.current = !0, y(!0), p.current = 0;
|
|
2332
2335
|
}, g);
|
|
2333
2336
|
}, [g, y]);
|
|
2334
2337
|
return x.useEffect(() => () => {
|
|
2335
|
-
|
|
2336
|
-
}, []), /* @__PURE__ */ (0,
|
|
2337
|
-
...
|
|
2338
|
-
children: /* @__PURE__ */ (0,
|
|
2338
|
+
p.current && (window.clearTimeout(p.current), p.current = 0);
|
|
2339
|
+
}, []), /* @__PURE__ */ (0, S.jsx)(xi, {
|
|
2340
|
+
...l,
|
|
2341
|
+
children: /* @__PURE__ */ (0, S.jsx)(Fi, {
|
|
2339
2342
|
scope: t,
|
|
2340
|
-
contentId:
|
|
2343
|
+
contentId: f,
|
|
2341
2344
|
open: v,
|
|
2342
|
-
stateAttribute:
|
|
2343
|
-
trigger:
|
|
2344
|
-
onTriggerChange:
|
|
2345
|
+
stateAttribute: b,
|
|
2346
|
+
trigger: u,
|
|
2347
|
+
onTriggerChange: d,
|
|
2345
2348
|
onTriggerEnter: x.useCallback(() => {
|
|
2346
|
-
|
|
2349
|
+
c.isOpenDelayedRef.current ? T() : C();
|
|
2347
2350
|
}, [
|
|
2348
|
-
|
|
2349
|
-
|
|
2351
|
+
c.isOpenDelayedRef,
|
|
2352
|
+
T,
|
|
2350
2353
|
C
|
|
2351
2354
|
]),
|
|
2352
2355
|
onTriggerLeave: x.useCallback(() => {
|
|
2353
|
-
h ?
|
|
2354
|
-
}, [
|
|
2356
|
+
h ? w() : (window.clearTimeout(p.current), p.current = 0);
|
|
2357
|
+
}, [w, h]),
|
|
2355
2358
|
onOpen: C,
|
|
2356
|
-
onClose:
|
|
2359
|
+
onClose: w,
|
|
2357
2360
|
disableHoverableContent: h,
|
|
2358
2361
|
children: n
|
|
2359
2362
|
})
|
|
@@ -2361,41 +2364,41 @@ var Pi = "Tooltip", [Fi, Ii] = Ti(Pi), Li = (e) => {
|
|
|
2361
2364
|
};
|
|
2362
2365
|
Li.displayName = Pi;
|
|
2363
2366
|
var Ri = "TooltipTrigger", zi = x.forwardRef((e, t) => {
|
|
2364
|
-
let { __scopeTooltip: n, ...r } = e, i = Ii(Ri, n), a = Mi(Ri, n),
|
|
2365
|
-
return x.useEffect(() => () => document.removeEventListener("pointerup",
|
|
2367
|
+
let { __scopeTooltip: n, ...r } = e, i = Ii(Ri, n), a = Mi(Ri, n), s = Di(n), c = o(t, x.useRef(null), i.onTriggerChange), l = x.useRef(!1), u = x.useRef(!1), d = x.useCallback(() => l.current = !1, []);
|
|
2368
|
+
return x.useEffect(() => () => document.removeEventListener("pointerup", d), [d]), /* @__PURE__ */ (0, S.jsx)(Si, {
|
|
2366
2369
|
asChild: !0,
|
|
2367
|
-
...
|
|
2368
|
-
children: /* @__PURE__ */ (0,
|
|
2370
|
+
...s,
|
|
2371
|
+
children: /* @__PURE__ */ (0, S.jsx)(_.button, {
|
|
2369
2372
|
"aria-describedby": i.open ? i.contentId : void 0,
|
|
2370
2373
|
"data-state": i.stateAttribute,
|
|
2371
2374
|
...r,
|
|
2372
|
-
ref:
|
|
2373
|
-
onPointerMove:
|
|
2374
|
-
e.pointerType !== "touch" && !
|
|
2375
|
+
ref: c,
|
|
2376
|
+
onPointerMove: p(e.onPointerMove, (e) => {
|
|
2377
|
+
e.pointerType !== "touch" && !u.current && !a.isPointerInTransitRef.current && (i.onTriggerEnter(), u.current = !0);
|
|
2375
2378
|
}),
|
|
2376
|
-
onPointerLeave:
|
|
2377
|
-
i.onTriggerLeave(),
|
|
2379
|
+
onPointerLeave: p(e.onPointerLeave, () => {
|
|
2380
|
+
i.onTriggerLeave(), u.current = !1;
|
|
2378
2381
|
}),
|
|
2379
|
-
onPointerDown:
|
|
2380
|
-
i.open && i.onClose(),
|
|
2382
|
+
onPointerDown: p(e.onPointerDown, () => {
|
|
2383
|
+
i.open && i.onClose(), l.current = !0, document.addEventListener("pointerup", d, { once: !0 });
|
|
2381
2384
|
}),
|
|
2382
|
-
onFocus:
|
|
2383
|
-
|
|
2385
|
+
onFocus: p(e.onFocus, () => {
|
|
2386
|
+
l.current || i.onOpen();
|
|
2384
2387
|
}),
|
|
2385
|
-
onBlur:
|
|
2386
|
-
onClick:
|
|
2388
|
+
onBlur: p(e.onBlur, i.onClose),
|
|
2389
|
+
onClick: p(e.onClick, i.onClose)
|
|
2387
2390
|
})
|
|
2388
2391
|
});
|
|
2389
2392
|
});
|
|
2390
2393
|
zi.displayName = Ri;
|
|
2391
2394
|
var Bi = "TooltipPortal", [Vi, Hi] = Ti(Bi, { forceMount: void 0 }), Ui = (e) => {
|
|
2392
2395
|
let { __scopeTooltip: t, forceMount: n, children: r, container: i } = e, a = Ii(Bi, t);
|
|
2393
|
-
return /* @__PURE__ */ (0,
|
|
2396
|
+
return /* @__PURE__ */ (0, S.jsx)(Vi, {
|
|
2394
2397
|
scope: t,
|
|
2395
2398
|
forceMount: n,
|
|
2396
|
-
children: /* @__PURE__ */ (0,
|
|
2399
|
+
children: /* @__PURE__ */ (0, S.jsx)(k, {
|
|
2397
2400
|
present: n || a.open,
|
|
2398
|
-
children: /* @__PURE__ */ (0,
|
|
2401
|
+
children: /* @__PURE__ */ (0, S.jsx)(Ne, {
|
|
2399
2402
|
asChild: !0,
|
|
2400
2403
|
container: i,
|
|
2401
2404
|
children: r
|
|
@@ -2406,62 +2409,62 @@ var Bi = "TooltipPortal", [Vi, Hi] = Ti(Bi, { forceMount: void 0 }), Ui = (e) =>
|
|
|
2406
2409
|
Ui.displayName = Bi;
|
|
2407
2410
|
var Wi = "TooltipContent", Gi = x.forwardRef((e, t) => {
|
|
2408
2411
|
let n = Hi(Wi, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...a } = e, o = Ii(Wi, e.__scopeTooltip);
|
|
2409
|
-
return /* @__PURE__ */ (0,
|
|
2412
|
+
return /* @__PURE__ */ (0, S.jsx)(k, {
|
|
2410
2413
|
present: r || o.open,
|
|
2411
|
-
children: o.disableHoverableContent ? /* @__PURE__ */ (0,
|
|
2414
|
+
children: o.disableHoverableContent ? /* @__PURE__ */ (0, S.jsx)(Xi, {
|
|
2412
2415
|
side: i,
|
|
2413
2416
|
...a,
|
|
2414
2417
|
ref: t
|
|
2415
|
-
}) : /* @__PURE__ */ (0,
|
|
2418
|
+
}) : /* @__PURE__ */ (0, S.jsx)(Ki, {
|
|
2416
2419
|
side: i,
|
|
2417
2420
|
...a,
|
|
2418
2421
|
ref: t
|
|
2419
2422
|
})
|
|
2420
2423
|
});
|
|
2421
2424
|
}), Ki = x.forwardRef((e, t) => {
|
|
2422
|
-
let n = Ii(Wi, e.__scopeTooltip), r = Mi(Wi, e.__scopeTooltip), i = x.useRef(null), a =
|
|
2423
|
-
|
|
2424
|
-
}, [
|
|
2425
|
+
let n = Ii(Wi, e.__scopeTooltip), r = Mi(Wi, e.__scopeTooltip), i = x.useRef(null), a = o(t, i), [s, c] = x.useState(null), { trigger: l, onClose: u } = n, d = i.current, { onPointerInTransitChange: f } = r, p = x.useCallback(() => {
|
|
2426
|
+
c(null), f(!1);
|
|
2427
|
+
}, [f]), m = x.useCallback((e, t) => {
|
|
2425
2428
|
let n = e.currentTarget, r = {
|
|
2426
2429
|
x: e.clientX,
|
|
2427
2430
|
y: e.clientY
|
|
2428
|
-
}, i = ea(r, $i(r, n.getBoundingClientRect())), a = ta(t.getBoundingClientRect());
|
|
2429
|
-
|
|
2430
|
-
}, [
|
|
2431
|
-
return x.useEffect(() => () =>
|
|
2432
|
-
if (
|
|
2433
|
-
let e = (e) =>
|
|
2434
|
-
return
|
|
2435
|
-
|
|
2431
|
+
}, i = ea(r, $i(r, n.getBoundingClientRect())), a = ta(t.getBoundingClientRect()), o = ra([...i, ...a]);
|
|
2432
|
+
c(o), f(!0);
|
|
2433
|
+
}, [f]);
|
|
2434
|
+
return x.useEffect(() => () => p(), [p]), x.useEffect(() => {
|
|
2435
|
+
if (l && d) {
|
|
2436
|
+
let e = (e) => m(e, d), t = (e) => m(e, l);
|
|
2437
|
+
return l.addEventListener("pointerleave", e), d.addEventListener("pointerleave", t), () => {
|
|
2438
|
+
l.removeEventListener("pointerleave", e), d.removeEventListener("pointerleave", t);
|
|
2436
2439
|
};
|
|
2437
2440
|
}
|
|
2438
2441
|
}, [
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2442
|
+
l,
|
|
2443
|
+
d,
|
|
2444
|
+
m,
|
|
2445
|
+
p
|
|
2443
2446
|
]), x.useEffect(() => {
|
|
2444
|
-
if (
|
|
2447
|
+
if (s) {
|
|
2445
2448
|
let e = (e) => {
|
|
2446
2449
|
let t = e.target, n = {
|
|
2447
2450
|
x: e.clientX,
|
|
2448
2451
|
y: e.clientY
|
|
2449
|
-
}, r = (
|
|
2450
|
-
r ?
|
|
2452
|
+
}, r = (l == null ? void 0 : l.contains(t)) || (d == null ? void 0 : d.contains(t)), i = !na(n, s);
|
|
2453
|
+
r ? p() : i && (p(), u());
|
|
2451
2454
|
};
|
|
2452
2455
|
return document.addEventListener("pointermove", e), () => document.removeEventListener("pointermove", e);
|
|
2453
2456
|
}
|
|
2454
2457
|
}, [
|
|
2455
|
-
c,
|
|
2456
|
-
u,
|
|
2457
|
-
o,
|
|
2458
2458
|
l,
|
|
2459
|
-
|
|
2460
|
-
|
|
2459
|
+
d,
|
|
2460
|
+
s,
|
|
2461
|
+
u,
|
|
2462
|
+
p
|
|
2463
|
+
]), /* @__PURE__ */ (0, S.jsx)(Xi, {
|
|
2461
2464
|
...e,
|
|
2462
2465
|
ref: a
|
|
2463
2466
|
});
|
|
2464
|
-
}), [qi, Ji] = Ti(Pi, { isInside: !1 }), Yi =
|
|
2467
|
+
}), [qi, Ji] = Ti(Pi, { isInside: !1 }), Yi = a("TooltipContent"), Xi = x.forwardRef((e, t) => {
|
|
2465
2468
|
let { __scopeTooltip: n, children: r, "aria-label": i, onEscapeKeyDown: a, onPointerDownOutside: o, ...s } = e, c = Ii(Wi, n), l = Di(n), { onClose: u } = c;
|
|
2466
2469
|
return x.useEffect(() => (document.addEventListener(Ai, u), () => document.removeEventListener(Ai, u)), [u]), x.useEffect(() => {
|
|
2467
2470
|
if (c.trigger) {
|
|
@@ -2471,14 +2474,14 @@ var Wi = "TooltipContent", Gi = x.forwardRef((e, t) => {
|
|
|
2471
2474
|
};
|
|
2472
2475
|
return window.addEventListener("scroll", e, { capture: !0 }), () => window.removeEventListener("scroll", e, { capture: !0 });
|
|
2473
2476
|
}
|
|
2474
|
-
}, [c.trigger, u]), /* @__PURE__ */ (0,
|
|
2477
|
+
}, [c.trigger, u]), /* @__PURE__ */ (0, S.jsx)(I, {
|
|
2475
2478
|
asChild: !0,
|
|
2476
2479
|
disableOutsidePointerEvents: !1,
|
|
2477
2480
|
onEscapeKeyDown: a,
|
|
2478
2481
|
onPointerDownOutside: o,
|
|
2479
2482
|
onFocusOutside: (e) => e.preventDefault(),
|
|
2480
2483
|
onDismiss: u,
|
|
2481
|
-
children: /* @__PURE__ */ (0,
|
|
2484
|
+
children: /* @__PURE__ */ (0, S.jsxs)(Ci, {
|
|
2482
2485
|
"data-state": c.stateAttribute,
|
|
2483
2486
|
...l,
|
|
2484
2487
|
...s,
|
|
@@ -2491,10 +2494,10 @@ var Wi = "TooltipContent", Gi = x.forwardRef((e, t) => {
|
|
|
2491
2494
|
"--radix-tooltip-trigger-width": "var(--radix-popper-anchor-width)",
|
|
2492
2495
|
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
2493
2496
|
},
|
|
2494
|
-
children: [/* @__PURE__ */ (0,
|
|
2497
|
+
children: [/* @__PURE__ */ (0, S.jsx)(Yi, { children: r }), /* @__PURE__ */ (0, S.jsx)(qi, {
|
|
2495
2498
|
scope: n,
|
|
2496
2499
|
isInside: !0,
|
|
2497
|
-
children: /* @__PURE__ */ (0,
|
|
2500
|
+
children: /* @__PURE__ */ (0, S.jsx)(E, {
|
|
2498
2501
|
id: c.contentId,
|
|
2499
2502
|
role: "tooltip",
|
|
2500
2503
|
children: i || r
|
|
@@ -2506,7 +2509,7 @@ var Wi = "TooltipContent", Gi = x.forwardRef((e, t) => {
|
|
|
2506
2509
|
Gi.displayName = Wi;
|
|
2507
2510
|
var Zi = "TooltipArrow", Qi = x.forwardRef((e, t) => {
|
|
2508
2511
|
let { __scopeTooltip: n, ...r } = e, i = Di(n);
|
|
2509
|
-
return Ji(Zi, n).isInside ? null : /* @__PURE__ */ (0,
|
|
2512
|
+
return Ji(Zi, n).isInside ? null : /* @__PURE__ */ (0, S.jsx)(wi, {
|
|
2510
2513
|
...i,
|
|
2511
2514
|
...r,
|
|
2512
2515
|
ref: t
|
|
@@ -2623,7 +2626,7 @@ function ia(e) {
|
|
|
2623
2626
|
}
|
|
2624
2627
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
2625
2628
|
}
|
|
2626
|
-
var aa = Ni, oa = /* @__PURE__ */ e(
|
|
2629
|
+
var aa = Ni, oa = /* @__PURE__ */ e(y());
|
|
2627
2630
|
function sa(e) {
|
|
2628
2631
|
switch (e) {
|
|
2629
2632
|
case "tomato":
|
|
@@ -2655,7 +2658,7 @@ function sa(e) {
|
|
|
2655
2658
|
}
|
|
2656
2659
|
}
|
|
2657
2660
|
//#endregion
|
|
2658
|
-
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2.
|
|
2661
|
+
//#region ../../node_modules/.pnpm/@radix-ui+themes@3.3.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2._5ea800d4e947acedb1fa1275f1697b17/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js
|
|
2659
2662
|
var ca = [
|
|
2660
2663
|
"inherit",
|
|
2661
2664
|
"light",
|
|
@@ -2667,7 +2670,7 @@ var ca = [
|
|
|
2667
2670
|
"105%",
|
|
2668
2671
|
"110%"
|
|
2669
2672
|
], $ = {
|
|
2670
|
-
...
|
|
2673
|
+
...i,
|
|
2671
2674
|
hasBackground: {
|
|
2672
2675
|
type: "boolean",
|
|
2673
2676
|
default: !0
|
|
@@ -2679,12 +2682,12 @@ var ca = [
|
|
|
2679
2682
|
},
|
|
2680
2683
|
accentColor: {
|
|
2681
2684
|
type: "enum",
|
|
2682
|
-
values:
|
|
2685
|
+
values: u,
|
|
2683
2686
|
default: "indigo"
|
|
2684
2687
|
},
|
|
2685
2688
|
grayColor: {
|
|
2686
2689
|
type: "enum",
|
|
2687
|
-
values:
|
|
2690
|
+
values: c,
|
|
2688
2691
|
default: "auto"
|
|
2689
2692
|
},
|
|
2690
2693
|
panelBackground: {
|
|
@@ -2694,7 +2697,7 @@ var ca = [
|
|
|
2694
2697
|
},
|
|
2695
2698
|
radius: {
|
|
2696
2699
|
type: "enum",
|
|
2697
|
-
values:
|
|
2700
|
+
values: l,
|
|
2698
2701
|
default: "medium"
|
|
2699
2702
|
},
|
|
2700
2703
|
scaling: {
|
|
@@ -2708,7 +2711,7 @@ function pa() {
|
|
|
2708
2711
|
if (e === void 0) throw Error("`useThemeContext` must be used within a `Theme`");
|
|
2709
2712
|
return e;
|
|
2710
2713
|
}
|
|
2711
|
-
var ma = x.forwardRef((e, t) => x.useContext(fa) === void 0 ? x.createElement(aa, { delayDuration: 200 }, x.createElement(
|
|
2714
|
+
var ma = x.forwardRef((e, t) => x.useContext(fa) === void 0 ? x.createElement(aa, { delayDuration: 200 }, x.createElement(ie, { dir: "ltr" }, x.createElement(ha, {
|
|
2712
2715
|
...e,
|
|
2713
2716
|
ref: t
|
|
2714
2717
|
}))) : x.createElement(ga, {
|
|
@@ -2750,30 +2753,30 @@ var ha = x.forwardRef((e, t) => {
|
|
|
2750
2753
|
ha.displayName = "ThemeRoot";
|
|
2751
2754
|
var ga = x.forwardRef((e, t) => {
|
|
2752
2755
|
var n, r, i, a, o, s;
|
|
2753
|
-
let c = x.useContext(fa), { asChild: l, isRoot: u, hasBackground:
|
|
2756
|
+
let c = x.useContext(fa), { asChild: l, isRoot: u, hasBackground: f, appearance: p = (n = c == null ? void 0 : c.appearance) == null ? $.appearance.default : n, accentColor: m = (r = c == null ? void 0 : c.accentColor) == null ? $.accentColor.default : r, grayColor: h = (i = c == null ? void 0 : c.resolvedGrayColor) == null ? $.grayColor.default : i, panelBackground: g = (a = c == null ? void 0 : c.panelBackground) == null ? $.panelBackground.default : a, radius: _ = (o = c == null ? void 0 : c.radius) == null ? $.radius.default : o, scaling: v = (s = c == null ? void 0 : c.scaling) == null ? $.scaling.default : s, onAppearanceChange: y = da, onAccentColorChange: b = da, onGrayColorChange: S = da, onPanelBackgroundChange: C = da, onRadiusChange: w = da, onScalingChange: T = da, ...E } = e, D = l ? d : "div", O = h === "auto" ? sa(m) : h, k = e.appearance === "light" || e.appearance === "dark", A = f === void 0 ? u || k : f;
|
|
2754
2757
|
return x.createElement(fa.Provider, { value: x.useMemo(() => ({
|
|
2755
|
-
appearance:
|
|
2756
|
-
accentColor:
|
|
2757
|
-
grayColor:
|
|
2758
|
+
appearance: p,
|
|
2759
|
+
accentColor: m,
|
|
2760
|
+
grayColor: h,
|
|
2758
2761
|
resolvedGrayColor: O,
|
|
2759
|
-
panelBackground:
|
|
2760
|
-
radius:
|
|
2761
|
-
scaling:
|
|
2762
|
-
onAppearanceChange:
|
|
2762
|
+
panelBackground: g,
|
|
2763
|
+
radius: _,
|
|
2764
|
+
scaling: v,
|
|
2765
|
+
onAppearanceChange: y,
|
|
2763
2766
|
onAccentColorChange: b,
|
|
2764
2767
|
onGrayColorChange: S,
|
|
2765
2768
|
onPanelBackgroundChange: C,
|
|
2766
2769
|
onRadiusChange: w,
|
|
2767
2770
|
onScalingChange: T
|
|
2768
2771
|
}), [
|
|
2769
|
-
f,
|
|
2770
2772
|
p,
|
|
2771
2773
|
m,
|
|
2772
|
-
O,
|
|
2773
2774
|
h,
|
|
2775
|
+
O,
|
|
2774
2776
|
g,
|
|
2775
2777
|
_,
|
|
2776
2778
|
v,
|
|
2779
|
+
y,
|
|
2777
2780
|
b,
|
|
2778
2781
|
S,
|
|
2779
2782
|
C,
|
|
@@ -2781,20 +2784,20 @@ var ga = x.forwardRef((e, t) => {
|
|
|
2781
2784
|
T
|
|
2782
2785
|
]) }, x.createElement(D, {
|
|
2783
2786
|
"data-is-root-theme": u ? "true" : "false",
|
|
2784
|
-
"data-accent-color":
|
|
2787
|
+
"data-accent-color": m,
|
|
2785
2788
|
"data-gray-color": O,
|
|
2786
2789
|
"data-has-background": A ? "true" : "false",
|
|
2787
|
-
"data-panel-background":
|
|
2788
|
-
"data-radius":
|
|
2789
|
-
"data-scaling":
|
|
2790
|
+
"data-panel-background": g,
|
|
2791
|
+
"data-radius": _,
|
|
2792
|
+
"data-scaling": v,
|
|
2790
2793
|
ref: t,
|
|
2791
2794
|
...E,
|
|
2792
2795
|
className: (0, oa.default)("radix-themes", {
|
|
2793
|
-
light:
|
|
2794
|
-
dark:
|
|
2796
|
+
light: p === "light",
|
|
2797
|
+
dark: p === "dark"
|
|
2795
2798
|
}, E.className)
|
|
2796
2799
|
}));
|
|
2797
2800
|
});
|
|
2798
2801
|
ga.displayName = "ThemeImpl";
|
|
2799
2802
|
//#endregion
|
|
2800
|
-
export {
|
|
2803
|
+
export { k as _, Ci as a, C as b, $t as c, Ne as d, xe as f, ee as g, re as h, wi as i, Wt as l, F as m, ma as n, xi as o, I as p, Si as r, ai as s, pa as t, Fe as u, D as v, E as y };
|