@anoki/fse-ui 1.0.771 → 1.0.772
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/components/ui/EditorialWidget/EditorialWidget.css +1 -1
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs233.js +2 -0
- package/dist/index.cjs233.js.map +1 -0
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +2 -0
- package/dist/index.cjs398.js.map +1 -0
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs407.js +2 -0
- package/dist/index.cjs407.js.map +1 -0
- package/dist/index.cjs408.js +2 -0
- package/dist/index.cjs408.js.map +1 -0
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs410.js.map +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/index.cjs435.js +2 -0
- package/dist/index.cjs435.js.map +1 -0
- package/dist/{index.cjs414.js → index.cjs436.js} +2 -2
- package/dist/{index.cjs414.js.map → index.cjs436.js.map} +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +2 -0
- package/dist/index.cjs441.js.map +1 -0
- package/dist/index.cjs442.js +2 -0
- package/dist/index.cjs442.js.map +1 -0
- package/dist/index.cjs443.js +2 -0
- package/dist/index.cjs443.js.map +1 -0
- package/dist/index.cjs444.js +2 -0
- package/dist/index.cjs444.js.map +1 -0
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs6.js +1 -1
- package/dist/index.cjs7.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.es10.js +2 -2
- package/dist/index.es134.js +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es137.js +1 -1
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es150.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es185.js +1 -1
- package/dist/index.es186.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es231.js +27 -2
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es233.js +5 -0
- package/dist/index.es233.js.map +1 -0
- package/dist/index.es241.js +1 -1
- package/dist/index.es249.js +7 -7
- package/dist/index.es252.js +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es260.js +8 -8
- package/dist/index.es270.js +1 -1
- package/dist/index.es274.js +1 -1
- package/dist/index.es276.js +13 -13
- package/dist/index.es283.js +1 -1
- package/dist/index.es288.js +1 -1
- package/dist/index.es295.js +1 -1
- package/dist/index.es301.js +1 -1
- package/dist/index.es302.js +1 -1
- package/dist/index.es303.js +7 -7
- package/dist/index.es342.js +4 -4
- package/dist/index.es381.js +1 -1
- package/dist/index.es385.js +1 -1
- package/dist/index.es389.js +1 -1
- package/dist/index.es390.js +1 -1
- package/dist/index.es396.js +7 -2
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +27 -2
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +71 -0
- package/dist/index.es398.js.map +1 -0
- package/dist/index.es399.js +51 -6
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es400.js +33 -26
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +617 -63
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +10 -51
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es404.js +13 -620
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es407.js +9 -0
- package/dist/index.es407.js.map +1 -0
- package/dist/index.es408.js +28 -0
- package/dist/index.es408.js.map +1 -0
- package/dist/index.es409.js +68 -5
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es410.js +14 -24
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +2 -69
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +2 -4
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es416.js +5 -5
- package/dist/index.es417.js +134 -14
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es418.js +13 -134
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +13 -216
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +7 -12
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +48 -179
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +53 -10
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es435.js +7 -0
- package/dist/index.es435.js.map +1 -0
- package/dist/{index.es414.js → index.es436.js} +4 -4
- package/dist/{index.es414.js.map → index.es436.js.map} +1 -1
- package/dist/index.es437.js +7 -11
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +213 -200
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +178 -19
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es440.js +10 -396
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +15 -0
- package/dist/index.es441.js.map +1 -0
- package/dist/index.es442.js +208 -0
- package/dist/index.es442.js.map +1 -0
- package/dist/index.es443.js +25 -0
- package/dist/index.es443.js.map +1 -0
- package/dist/index.es444.js +400 -0
- package/dist/index.es444.js.map +1 -0
- package/dist/index.es457.js +1 -1
- package/dist/index.es458.js +1 -1
- package/dist/index.es463.js +11 -21
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +26 -11
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +4 -27
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +22 -4
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es473.js +2 -2
- package/dist/index.es476.js +3 -3
- package/dist/index.es479.js +9 -9
- package/dist/index.es489.js +4 -2
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +3 -2
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +2 -3
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +4 -2
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +4 -3
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +3 -4
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +2 -6
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es58.js +1 -1
- package/dist/index.es6.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es9.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs232.js +0 -2
- package/dist/index.cjs232.js.map +0 -1
- package/dist/index.cjs403.js +0 -2
- package/dist/index.cjs403.js.map +0 -1
- package/dist/index.cjs405.js +0 -2
- package/dist/index.cjs405.js.map +0 -1
- package/dist/index.cjs406.js +0 -2
- package/dist/index.cjs406.js.map +0 -1
- package/dist/index.cjs413.js +0 -2
- package/dist/index.cjs413.js.map +0 -1
- package/dist/index.cjs415.js +0 -2
- package/dist/index.cjs415.js.map +0 -1
- package/dist/index.cjs423.js +0 -2
- package/dist/index.cjs423.js.map +0 -1
- package/dist/index.cjs424.js +0 -2
- package/dist/index.cjs424.js.map +0 -1
- package/dist/index.cjs425.js +0 -2
- package/dist/index.cjs425.js.map +0 -1
- package/dist/index.es232.js +0 -30
- package/dist/index.es232.js.map +0 -1
- package/dist/index.es403.js +0 -37
- package/dist/index.es403.js.map +0 -1
- package/dist/index.es405.js +0 -14
- package/dist/index.es405.js.map +0 -1
- package/dist/index.es406.js +0 -18
- package/dist/index.es406.js.map +0 -1
- package/dist/index.es413.js +0 -57
- package/dist/index.es413.js.map +0 -1
- package/dist/index.es415.js +0 -11
- package/dist/index.es415.js.map +0 -1
- package/dist/index.es423.js +0 -53
- package/dist/index.es423.js.map +0 -1
- package/dist/index.es424.js +0 -12
- package/dist/index.es424.js.map +0 -1
- package/dist/index.es425.js +0 -18
- package/dist/index.es425.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -0,0 +1,208 @@
|
|
1
|
+
import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, limitShift as X, arrow as L } from "./index.es444.js";
|
2
|
+
import { autoUpdate as me, platform as pe } from "./index.es444.js";
|
3
|
+
import * as f from "react";
|
4
|
+
import { useLayoutEffect as Y, useEffect as Z } from "react";
|
5
|
+
import * as b from "react-dom";
|
6
|
+
var w = typeof document < "u" ? Y : Z;
|
7
|
+
function R(e, t) {
|
8
|
+
if (e === t)
|
9
|
+
return !0;
|
10
|
+
if (typeof e != typeof t)
|
11
|
+
return !1;
|
12
|
+
if (typeof e == "function" && e.toString() === t.toString())
|
13
|
+
return !0;
|
14
|
+
let n, r, s;
|
15
|
+
if (e && t && typeof e == "object") {
|
16
|
+
if (Array.isArray(e)) {
|
17
|
+
if (n = e.length, n !== t.length) return !1;
|
18
|
+
for (r = n; r-- !== 0; )
|
19
|
+
if (!R(e[r], t[r]))
|
20
|
+
return !1;
|
21
|
+
return !0;
|
22
|
+
}
|
23
|
+
if (s = Object.keys(e), n = s.length, n !== Object.keys(t).length)
|
24
|
+
return !1;
|
25
|
+
for (r = n; r-- !== 0; )
|
26
|
+
if (!{}.hasOwnProperty.call(t, s[r]))
|
27
|
+
return !1;
|
28
|
+
for (r = n; r-- !== 0; ) {
|
29
|
+
const p = s[r];
|
30
|
+
if (!(p === "_owner" && e.$$typeof) && !R(e[p], t[p]))
|
31
|
+
return !1;
|
32
|
+
}
|
33
|
+
return !0;
|
34
|
+
}
|
35
|
+
return e !== e && t !== t;
|
36
|
+
}
|
37
|
+
function A(e) {
|
38
|
+
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
39
|
+
}
|
40
|
+
function v(e, t) {
|
41
|
+
const n = A(e);
|
42
|
+
return Math.round(t * n) / n;
|
43
|
+
}
|
44
|
+
function E(e) {
|
45
|
+
const t = f.useRef(e);
|
46
|
+
return w(() => {
|
47
|
+
t.current = e;
|
48
|
+
}), t;
|
49
|
+
}
|
50
|
+
function re(e) {
|
51
|
+
e === void 0 && (e = {});
|
52
|
+
const {
|
53
|
+
placement: t = "bottom",
|
54
|
+
strategy: n = "absolute",
|
55
|
+
middleware: r = [],
|
56
|
+
platform: s,
|
57
|
+
elements: {
|
58
|
+
reference: p,
|
59
|
+
floating: q
|
60
|
+
} = {},
|
61
|
+
transform: k = !0,
|
62
|
+
whileElementsMounted: D,
|
63
|
+
open: x
|
64
|
+
} = e, [i, O] = f.useState({
|
65
|
+
x: 0,
|
66
|
+
y: 0,
|
67
|
+
strategy: n,
|
68
|
+
placement: t,
|
69
|
+
middlewareData: {},
|
70
|
+
isPositioned: !1
|
71
|
+
}), [M, B] = f.useState(r);
|
72
|
+
R(M, r) || B(r);
|
73
|
+
const [U, V] = f.useState(null), [W, G] = f.useState(null), _ = f.useCallback((o) => {
|
74
|
+
o !== a.current && (a.current = o, V(o));
|
75
|
+
}, []), C = f.useCallback((o) => {
|
76
|
+
o !== d.current && (d.current = o, G(o));
|
77
|
+
}, []), u = p || U, l = q || W, a = f.useRef(null), d = f.useRef(null), y = f.useRef(i), H = D != null, S = E(D), P = E(s), F = E(x), g = f.useCallback(() => {
|
78
|
+
if (!a.current || !d.current)
|
79
|
+
return;
|
80
|
+
const o = {
|
81
|
+
placement: t,
|
82
|
+
strategy: n,
|
83
|
+
middleware: M
|
84
|
+
};
|
85
|
+
P.current && (o.platform = P.current), I(a.current, d.current, o).then((h) => {
|
86
|
+
const m = {
|
87
|
+
...h,
|
88
|
+
// The floating element's position may be recomputed while it's closed
|
89
|
+
// but still mounted (such as when transitioning out). To ensure
|
90
|
+
// `isPositioned` will be `false` initially on the next open, avoid
|
91
|
+
// setting it to `true` when `open === false` (must be specified).
|
92
|
+
isPositioned: F.current !== !1
|
93
|
+
};
|
94
|
+
$.current && !R(y.current, m) && (y.current = m, b.flushSync(() => {
|
95
|
+
O(m);
|
96
|
+
}));
|
97
|
+
});
|
98
|
+
}, [M, t, n, P, F]);
|
99
|
+
w(() => {
|
100
|
+
x === !1 && y.current.isPositioned && (y.current.isPositioned = !1, O((o) => ({
|
101
|
+
...o,
|
102
|
+
isPositioned: !1
|
103
|
+
})));
|
104
|
+
}, [x]);
|
105
|
+
const $ = f.useRef(!1);
|
106
|
+
w(() => ($.current = !0, () => {
|
107
|
+
$.current = !1;
|
108
|
+
}), []), w(() => {
|
109
|
+
if (u && (a.current = u), l && (d.current = l), u && l) {
|
110
|
+
if (S.current)
|
111
|
+
return S.current(u, l, g);
|
112
|
+
g();
|
113
|
+
}
|
114
|
+
}, [u, l, g, S, H]);
|
115
|
+
const j = f.useMemo(() => ({
|
116
|
+
reference: a,
|
117
|
+
floating: d,
|
118
|
+
setReference: _,
|
119
|
+
setFloating: C
|
120
|
+
}), [_, C]), c = f.useMemo(() => ({
|
121
|
+
reference: u,
|
122
|
+
floating: l
|
123
|
+
}), [u, l]), z = f.useMemo(() => {
|
124
|
+
const o = {
|
125
|
+
position: n,
|
126
|
+
left: 0,
|
127
|
+
top: 0
|
128
|
+
};
|
129
|
+
if (!c.floating)
|
130
|
+
return o;
|
131
|
+
const h = v(c.floating, i.x), m = v(c.floating, i.y);
|
132
|
+
return k ? {
|
133
|
+
...o,
|
134
|
+
transform: "translate(" + h + "px, " + m + "px)",
|
135
|
+
...A(c.floating) >= 1.5 && {
|
136
|
+
willChange: "transform"
|
137
|
+
}
|
138
|
+
} : {
|
139
|
+
position: n,
|
140
|
+
left: h,
|
141
|
+
top: m
|
142
|
+
};
|
143
|
+
}, [n, k, c.floating, i.x, i.y]);
|
144
|
+
return f.useMemo(() => ({
|
145
|
+
...i,
|
146
|
+
update: g,
|
147
|
+
refs: j,
|
148
|
+
elements: c,
|
149
|
+
floatingStyles: z
|
150
|
+
}), [i, g, j, c, z]);
|
151
|
+
}
|
152
|
+
const ee = (e) => {
|
153
|
+
function t(n) {
|
154
|
+
return {}.hasOwnProperty.call(n, "current");
|
155
|
+
}
|
156
|
+
return {
|
157
|
+
name: "arrow",
|
158
|
+
options: e,
|
159
|
+
fn(n) {
|
160
|
+
const {
|
161
|
+
element: r,
|
162
|
+
padding: s
|
163
|
+
} = typeof e == "function" ? e(n) : e;
|
164
|
+
return r && t(r) ? r.current != null ? L({
|
165
|
+
element: r.current,
|
166
|
+
padding: s
|
167
|
+
}).fn(n) : {} : r ? L({
|
168
|
+
element: r,
|
169
|
+
padding: s
|
170
|
+
}).fn(n) : {};
|
171
|
+
}
|
172
|
+
};
|
173
|
+
}, fe = (e, t) => ({
|
174
|
+
...J(e),
|
175
|
+
options: [e, t]
|
176
|
+
}), oe = (e, t) => ({
|
177
|
+
...K(e),
|
178
|
+
options: [e, t]
|
179
|
+
}), se = (e, t) => ({
|
180
|
+
...X(e),
|
181
|
+
options: [e, t]
|
182
|
+
}), ie = (e, t) => ({
|
183
|
+
...N(e),
|
184
|
+
options: [e, t]
|
185
|
+
}), ue = (e, t) => ({
|
186
|
+
...Q(e),
|
187
|
+
options: [e, t]
|
188
|
+
}), le = (e, t) => ({
|
189
|
+
...T(e),
|
190
|
+
options: [e, t]
|
191
|
+
}), ce = (e, t) => ({
|
192
|
+
...ee(e),
|
193
|
+
options: [e, t]
|
194
|
+
});
|
195
|
+
export {
|
196
|
+
ce as arrow,
|
197
|
+
me as autoUpdate,
|
198
|
+
I as computePosition,
|
199
|
+
ie as flip,
|
200
|
+
le as hide,
|
201
|
+
se as limitShift,
|
202
|
+
fe as offset,
|
203
|
+
pe as platform,
|
204
|
+
oe as shift,
|
205
|
+
ue as size,
|
206
|
+
re as useFloating
|
207
|
+
};
|
208
|
+
//# sourceMappingURL=index.es442.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es442.js","sources":["../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","useLayoutEffect","useEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":";;;;;AAMA,IAAIA,IAAQ,OAAO,WAAa,MAAcC,IAAkBC;AAIhE,SAASC,EAAUC,GAAGC,GAAG;AACvB,MAAID,MAAMC;AACR,WAAO;AAET,MAAI,OAAOD,KAAM,OAAOC;AACtB,WAAO;AAET,MAAI,OAAOD,KAAM,cAAcA,EAAE,eAAeC,EAAE;AAChD,WAAO;AAET,MAAIC,GACAC,GACAC;AACJ,MAAIJ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@ -0,0 +1,25 @@
|
|
1
|
+
import * as n from "react";
|
2
|
+
import { Primitive as p } from "./index.es400.js";
|
3
|
+
import { j as o } from "./index.es216.js";
|
4
|
+
var v = "Arrow", e = n.forwardRef((r, i) => {
|
5
|
+
const { children: t, width: s = 10, height: a = 5, ...m } = r;
|
6
|
+
return /* @__PURE__ */ o.jsx(
|
7
|
+
p.svg,
|
8
|
+
{
|
9
|
+
...m,
|
10
|
+
ref: i,
|
11
|
+
width: s,
|
12
|
+
height: a,
|
13
|
+
viewBox: "0 0 30 10",
|
14
|
+
preserveAspectRatio: "none",
|
15
|
+
children: r.asChild ? t : /* @__PURE__ */ o.jsx("polygon", { points: "0,0 30,0 15,10" })
|
16
|
+
}
|
17
|
+
);
|
18
|
+
});
|
19
|
+
e.displayName = v;
|
20
|
+
var h = e;
|
21
|
+
export {
|
22
|
+
e as Arrow,
|
23
|
+
h as Root
|
24
|
+
};
|
25
|
+
//# sourceMappingURL=index.es443.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es443.js","sources":["../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":";;;AAIA,IAAIA,IAAO,SACPC,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACpD,QAAM,EAAE,UAAAC,GAAU,OAAAC,IAAQ,IAAI,QAAAC,IAAS,GAAG,GAAGC,EAAU,IAAKL;AAC5D,SAAuBM,gBAAAA,EAAG;AAAA,IACxBC,EAAU;AAAA,IACV;AAAA,MACE,GAAGF;AAAA,MACH,KAAKJ;AAAA,MACL,OAAAE;AAAA,MACA,QAAAC;AAAA,MACA,SAAS;AAAA,MACT,qBAAqB;AAAA,MACrB,UAAUJ,EAAM,UAAUE,IAA2BI,gBAAAA,EAAG,IAAC,WAAW,EAAE,QAAQ,iBAAkB,CAAA;AAAA,IACtG;AAAA,EACG;AACH,CAAC;AACDR,EAAM,cAAcD;AACjB,IAACW,IAAOV;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,400 @@
|
|
1
|
+
import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, limitShift as ft, computePosition as ut, arrow as ht } from "./index.es453.js";
|
2
|
+
import { createCoords as m, round as A, max as E, min as V, rectToClientRect as J, floor as D } from "./index.es454.js";
|
3
|
+
import { isElement as v, getDocumentElement as O, getOverflowAncestors as $, getComputedStyle as R, isHTMLElement as b, getWindow as L, isTopLayer as S, getParentNode as W, isLastTraversableNode as H, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getFrameElement as K, isWebKit as Y } from "./index.es455.js";
|
4
|
+
function Z(t) {
|
5
|
+
const e = R(t);
|
6
|
+
let i = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
7
|
+
const o = b(t), r = o ? t.offsetWidth : i, s = o ? t.offsetHeight : n, c = A(i) !== r || A(n) !== s;
|
8
|
+
return c && (i = r, n = s), {
|
9
|
+
width: i,
|
10
|
+
height: n,
|
11
|
+
$: c
|
12
|
+
};
|
13
|
+
}
|
14
|
+
function q(t) {
|
15
|
+
return v(t) ? t : t.contextElement;
|
16
|
+
}
|
17
|
+
function F(t) {
|
18
|
+
const e = q(t);
|
19
|
+
if (!b(e))
|
20
|
+
return m(1);
|
21
|
+
const i = e.getBoundingClientRect(), {
|
22
|
+
width: n,
|
23
|
+
height: o,
|
24
|
+
$: r
|
25
|
+
} = Z(e);
|
26
|
+
let s = (r ? A(i.width) : i.width) / n, c = (r ? A(i.height) : i.height) / o;
|
27
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
28
|
+
x: s,
|
29
|
+
y: c
|
30
|
+
};
|
31
|
+
}
|
32
|
+
const gt = /* @__PURE__ */ m(0);
|
33
|
+
function X(t) {
|
34
|
+
const e = L(t);
|
35
|
+
return !Y() || !e.visualViewport ? gt : {
|
36
|
+
x: e.visualViewport.offsetLeft,
|
37
|
+
y: e.visualViewport.offsetTop
|
38
|
+
};
|
39
|
+
}
|
40
|
+
function pt(t, e, i) {
|
41
|
+
return e === void 0 && (e = !1), !i || e && i !== L(t) ? !1 : e;
|
42
|
+
}
|
43
|
+
function T(t, e, i, n) {
|
44
|
+
e === void 0 && (e = !1), i === void 0 && (i = !1);
|
45
|
+
const o = t.getBoundingClientRect(), r = q(t);
|
46
|
+
let s = m(1);
|
47
|
+
e && (n ? v(n) && (s = F(n)) : s = F(t));
|
48
|
+
const c = pt(r, i, n) ? X(r) : m(0);
|
49
|
+
let l = (o.left + c.x) / s.x, f = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
|
50
|
+
if (r) {
|
51
|
+
const p = L(r), a = n && v(n) ? L(n) : n;
|
52
|
+
let y = p, g = K(y);
|
53
|
+
for (; g && n && a !== y; ) {
|
54
|
+
const w = F(g), d = g.getBoundingClientRect(), x = R(g), C = d.left + (g.clientLeft + parseFloat(x.paddingLeft)) * w.x, B = d.top + (g.clientTop + parseFloat(x.paddingTop)) * w.y;
|
55
|
+
l *= w.x, f *= w.y, u *= w.x, h *= w.y, l += C, f += B, y = L(g), g = K(y);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
return J({
|
59
|
+
width: u,
|
60
|
+
height: h,
|
61
|
+
x: l,
|
62
|
+
y: f
|
63
|
+
});
|
64
|
+
}
|
65
|
+
function k(t, e) {
|
66
|
+
const i = N(t).scrollLeft;
|
67
|
+
return e ? e.left + i : T(O(t)).left + i;
|
68
|
+
}
|
69
|
+
function tt(t, e, i) {
|
70
|
+
i === void 0 && (i = !1);
|
71
|
+
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - (i ? 0 : (
|
72
|
+
// RTL <body> scrollbar.
|
73
|
+
k(t, n)
|
74
|
+
)), r = n.top + e.scrollTop;
|
75
|
+
return {
|
76
|
+
x: o,
|
77
|
+
y: r
|
78
|
+
};
|
79
|
+
}
|
80
|
+
function wt(t) {
|
81
|
+
let {
|
82
|
+
elements: e,
|
83
|
+
rect: i,
|
84
|
+
offsetParent: n,
|
85
|
+
strategy: o
|
86
|
+
} = t;
|
87
|
+
const r = o === "fixed", s = O(n), c = e ? S(e.floating) : !1;
|
88
|
+
if (n === s || c && r)
|
89
|
+
return i;
|
90
|
+
let l = {
|
91
|
+
scrollLeft: 0,
|
92
|
+
scrollTop: 0
|
93
|
+
}, f = m(1);
|
94
|
+
const u = m(0), h = b(n);
|
95
|
+
if ((h || !h && !r) && ((M(n) !== "body" || _(s)) && (l = N(n)), b(n))) {
|
96
|
+
const a = T(n);
|
97
|
+
f = F(n), u.x = a.x + n.clientLeft, u.y = a.y + n.clientTop;
|
98
|
+
}
|
99
|
+
const p = s && !h && !r ? tt(s, l, !0) : m(0);
|
100
|
+
return {
|
101
|
+
width: i.width * f.x,
|
102
|
+
height: i.height * f.y,
|
103
|
+
x: i.x * f.x - l.scrollLeft * f.x + u.x + p.x,
|
104
|
+
y: i.y * f.y - l.scrollTop * f.y + u.y + p.y
|
105
|
+
};
|
106
|
+
}
|
107
|
+
function mt(t) {
|
108
|
+
return Array.from(t.getClientRects());
|
109
|
+
}
|
110
|
+
function yt(t) {
|
111
|
+
const e = O(t), i = N(t), n = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = E(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
112
|
+
let s = -i.scrollLeft + k(t);
|
113
|
+
const c = -i.scrollTop;
|
114
|
+
return R(n).direction === "rtl" && (s += E(e.clientWidth, n.clientWidth) - o), {
|
115
|
+
width: o,
|
116
|
+
height: r,
|
117
|
+
x: s,
|
118
|
+
y: c
|
119
|
+
};
|
120
|
+
}
|
121
|
+
function xt(t, e) {
|
122
|
+
const i = L(t), n = O(t), o = i.visualViewport;
|
123
|
+
let r = n.clientWidth, s = n.clientHeight, c = 0, l = 0;
|
124
|
+
if (o) {
|
125
|
+
r = o.width, s = o.height;
|
126
|
+
const f = Y();
|
127
|
+
(!f || f && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
|
128
|
+
}
|
129
|
+
return {
|
130
|
+
width: r,
|
131
|
+
height: s,
|
132
|
+
x: c,
|
133
|
+
y: l
|
134
|
+
};
|
135
|
+
}
|
136
|
+
function vt(t, e) {
|
137
|
+
const i = T(t, !0, e === "fixed"), n = i.top + t.clientTop, o = i.left + t.clientLeft, r = b(t) ? F(t) : m(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = o * r.x, f = n * r.y;
|
138
|
+
return {
|
139
|
+
width: s,
|
140
|
+
height: c,
|
141
|
+
x: l,
|
142
|
+
y: f
|
143
|
+
};
|
144
|
+
}
|
145
|
+
function j(t, e, i) {
|
146
|
+
let n;
|
147
|
+
if (e === "viewport")
|
148
|
+
n = xt(t, i);
|
149
|
+
else if (e === "document")
|
150
|
+
n = yt(O(t));
|
151
|
+
else if (v(e))
|
152
|
+
n = vt(e, i);
|
153
|
+
else {
|
154
|
+
const o = X(t);
|
155
|
+
n = {
|
156
|
+
x: e.x - o.x,
|
157
|
+
y: e.y - o.y,
|
158
|
+
width: e.width,
|
159
|
+
height: e.height
|
160
|
+
};
|
161
|
+
}
|
162
|
+
return J(n);
|
163
|
+
}
|
164
|
+
function et(t, e) {
|
165
|
+
const i = W(t);
|
166
|
+
return i === e || !v(i) || H(i) ? !1 : R(i).position === "fixed" || et(i, e);
|
167
|
+
}
|
168
|
+
function Rt(t, e) {
|
169
|
+
const i = e.get(t);
|
170
|
+
if (i)
|
171
|
+
return i;
|
172
|
+
let n = $(t, [], !1).filter((c) => v(c) && M(c) !== "body"), o = null;
|
173
|
+
const r = R(t).position === "fixed";
|
174
|
+
let s = r ? W(t) : t;
|
175
|
+
for (; v(s) && !H(s); ) {
|
176
|
+
const c = R(s), l = Q(s);
|
177
|
+
!l && c.position === "fixed" && (o = null), (r ? !l && !o : !l && c.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || _(s) && !l && et(t, s)) ? n = n.filter((u) => u !== s) : o = c, s = W(s);
|
178
|
+
}
|
179
|
+
return e.set(t, n), n;
|
180
|
+
}
|
181
|
+
function Ot(t) {
|
182
|
+
let {
|
183
|
+
element: e,
|
184
|
+
boundary: i,
|
185
|
+
rootBoundary: n,
|
186
|
+
strategy: o
|
187
|
+
} = t;
|
188
|
+
const s = [...i === "clippingAncestors" ? S(e) ? [] : Rt(e, this._c) : [].concat(i), n], c = s[0], l = s.reduce((f, u) => {
|
189
|
+
const h = j(e, u, o);
|
190
|
+
return f.top = E(h.top, f.top), f.right = V(h.right, f.right), f.bottom = V(h.bottom, f.bottom), f.left = E(h.left, f.left), f;
|
191
|
+
}, j(e, c, o));
|
192
|
+
return {
|
193
|
+
width: l.right - l.left,
|
194
|
+
height: l.bottom - l.top,
|
195
|
+
x: l.left,
|
196
|
+
y: l.top
|
197
|
+
};
|
198
|
+
}
|
199
|
+
function bt(t) {
|
200
|
+
const {
|
201
|
+
width: e,
|
202
|
+
height: i
|
203
|
+
} = Z(t);
|
204
|
+
return {
|
205
|
+
width: e,
|
206
|
+
height: i
|
207
|
+
};
|
208
|
+
}
|
209
|
+
function Ct(t, e, i) {
|
210
|
+
const n = b(e), o = O(e), r = i === "fixed", s = T(t, !0, r, e);
|
211
|
+
let c = {
|
212
|
+
scrollLeft: 0,
|
213
|
+
scrollTop: 0
|
214
|
+
};
|
215
|
+
const l = m(0);
|
216
|
+
function f() {
|
217
|
+
l.x = k(o);
|
218
|
+
}
|
219
|
+
if (n || !n && !r)
|
220
|
+
if ((M(e) !== "body" || _(o)) && (c = N(e)), n) {
|
221
|
+
const a = T(e, !0, r, e);
|
222
|
+
l.x = a.x + e.clientLeft, l.y = a.y + e.clientTop;
|
223
|
+
} else o && f();
|
224
|
+
r && !n && o && f();
|
225
|
+
const u = o && !n && !r ? tt(o, c) : m(0), h = s.left + c.scrollLeft - l.x - u.x, p = s.top + c.scrollTop - l.y - u.y;
|
226
|
+
return {
|
227
|
+
x: h,
|
228
|
+
y: p,
|
229
|
+
width: s.width,
|
230
|
+
height: s.height
|
231
|
+
};
|
232
|
+
}
|
233
|
+
function I(t) {
|
234
|
+
return R(t).position === "static";
|
235
|
+
}
|
236
|
+
function G(t, e) {
|
237
|
+
if (!b(t) || R(t).position === "fixed")
|
238
|
+
return null;
|
239
|
+
if (e)
|
240
|
+
return e(t);
|
241
|
+
let i = t.offsetParent;
|
242
|
+
return O(t) === i && (i = i.ownerDocument.body), i;
|
243
|
+
}
|
244
|
+
function it(t, e) {
|
245
|
+
const i = L(t);
|
246
|
+
if (S(t))
|
247
|
+
return i;
|
248
|
+
if (!b(t)) {
|
249
|
+
let o = W(t);
|
250
|
+
for (; o && !H(o); ) {
|
251
|
+
if (v(o) && !I(o))
|
252
|
+
return o;
|
253
|
+
o = W(o);
|
254
|
+
}
|
255
|
+
return i;
|
256
|
+
}
|
257
|
+
let n = G(t, e);
|
258
|
+
for (; n && at(n) && I(n); )
|
259
|
+
n = G(n, e);
|
260
|
+
return n && H(n) && I(n) && !Q(n) ? i : n || dt(t) || i;
|
261
|
+
}
|
262
|
+
const Lt = async function(t) {
|
263
|
+
const e = this.getOffsetParent || it, i = this.getDimensions, n = await i(t.floating);
|
264
|
+
return {
|
265
|
+
reference: Ct(t.reference, await e(t.floating), t.strategy),
|
266
|
+
floating: {
|
267
|
+
x: 0,
|
268
|
+
y: 0,
|
269
|
+
width: n.width,
|
270
|
+
height: n.height
|
271
|
+
}
|
272
|
+
};
|
273
|
+
};
|
274
|
+
function Tt(t) {
|
275
|
+
return R(t).direction === "rtl";
|
276
|
+
}
|
277
|
+
const Et = {
|
278
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: wt,
|
279
|
+
getDocumentElement: O,
|
280
|
+
getClippingRect: Ot,
|
281
|
+
getOffsetParent: it,
|
282
|
+
getElementRects: Lt,
|
283
|
+
getClientRects: mt,
|
284
|
+
getDimensions: bt,
|
285
|
+
getScale: F,
|
286
|
+
isElement: v,
|
287
|
+
isRTL: Tt
|
288
|
+
};
|
289
|
+
function nt(t, e) {
|
290
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
291
|
+
}
|
292
|
+
function Ft(t, e) {
|
293
|
+
let i = null, n;
|
294
|
+
const o = O(t);
|
295
|
+
function r() {
|
296
|
+
var c;
|
297
|
+
clearTimeout(n), (c = i) == null || c.disconnect(), i = null;
|
298
|
+
}
|
299
|
+
function s(c, l) {
|
300
|
+
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
301
|
+
const f = t.getBoundingClientRect(), {
|
302
|
+
left: u,
|
303
|
+
top: h,
|
304
|
+
width: p,
|
305
|
+
height: a
|
306
|
+
} = f;
|
307
|
+
if (c || e(), !p || !a)
|
308
|
+
return;
|
309
|
+
const y = D(h), g = D(o.clientWidth - (u + p)), w = D(o.clientHeight - (h + a)), d = D(u), C = {
|
310
|
+
rootMargin: -y + "px " + -g + "px " + -w + "px " + -d + "px",
|
311
|
+
threshold: E(0, V(1, l)) || 1
|
312
|
+
};
|
313
|
+
let B = !0;
|
314
|
+
function P(U) {
|
315
|
+
const z = U[0].intersectionRatio;
|
316
|
+
if (z !== l) {
|
317
|
+
if (!B)
|
318
|
+
return s();
|
319
|
+
z ? s(!1, z) : n = setTimeout(() => {
|
320
|
+
s(!1, 1e-7);
|
321
|
+
}, 1e3);
|
322
|
+
}
|
323
|
+
z === 1 && !nt(f, t.getBoundingClientRect()) && s(), B = !1;
|
324
|
+
}
|
325
|
+
try {
|
326
|
+
i = new IntersectionObserver(P, {
|
327
|
+
...C,
|
328
|
+
// Handle <iframe>s
|
329
|
+
root: o.ownerDocument
|
330
|
+
});
|
331
|
+
} catch {
|
332
|
+
i = new IntersectionObserver(P, C);
|
333
|
+
}
|
334
|
+
i.observe(t);
|
335
|
+
}
|
336
|
+
return s(!0), r;
|
337
|
+
}
|
338
|
+
function Dt(t, e, i, n) {
|
339
|
+
n === void 0 && (n = {});
|
340
|
+
const {
|
341
|
+
ancestorScroll: o = !0,
|
342
|
+
ancestorResize: r = !0,
|
343
|
+
elementResize: s = typeof ResizeObserver == "function",
|
344
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
345
|
+
animationFrame: l = !1
|
346
|
+
} = n, f = q(t), u = o || r ? [...f ? $(f) : [], ...$(e)] : [];
|
347
|
+
u.forEach((d) => {
|
348
|
+
o && d.addEventListener("scroll", i, {
|
349
|
+
passive: !0
|
350
|
+
}), r && d.addEventListener("resize", i);
|
351
|
+
});
|
352
|
+
const h = f && c ? Ft(f, i) : null;
|
353
|
+
let p = -1, a = null;
|
354
|
+
s && (a = new ResizeObserver((d) => {
|
355
|
+
let [x] = d;
|
356
|
+
x && x.target === f && a && (a.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
357
|
+
var C;
|
358
|
+
(C = a) == null || C.observe(e);
|
359
|
+
})), i();
|
360
|
+
}), f && !l && a.observe(f), a.observe(e));
|
361
|
+
let y, g = l ? T(t) : null;
|
362
|
+
l && w();
|
363
|
+
function w() {
|
364
|
+
const d = T(t);
|
365
|
+
g && !nt(g, d) && i(), g = d, y = requestAnimationFrame(w);
|
366
|
+
}
|
367
|
+
return i(), () => {
|
368
|
+
var d;
|
369
|
+
u.forEach((x) => {
|
370
|
+
o && x.removeEventListener("scroll", i), r && x.removeEventListener("resize", i);
|
371
|
+
}), h == null || h(), (d = a) == null || d.disconnect(), a = null, l && cancelAnimationFrame(y);
|
372
|
+
};
|
373
|
+
}
|
374
|
+
const At = ot, Ht = st, Nt = rt, It = ct, Vt = lt, $t = ht, St = ft, Mt = (t, e, i) => {
|
375
|
+
const n = /* @__PURE__ */ new Map(), o = {
|
376
|
+
platform: Et,
|
377
|
+
...i
|
378
|
+
}, r = {
|
379
|
+
...o.platform,
|
380
|
+
_c: n
|
381
|
+
};
|
382
|
+
return ut(t, e, {
|
383
|
+
...o,
|
384
|
+
platform: r
|
385
|
+
});
|
386
|
+
};
|
387
|
+
export {
|
388
|
+
$t as arrow,
|
389
|
+
Dt as autoUpdate,
|
390
|
+
Mt as computePosition,
|
391
|
+
Nt as flip,
|
392
|
+
$ as getOverflowAncestors,
|
393
|
+
Vt as hide,
|
394
|
+
St as limitShift,
|
395
|
+
At as offset,
|
396
|
+
Et as platform,
|
397
|
+
Ht as shift,
|
398
|
+
It as size
|
399
|
+
};
|
400
|
+
//# sourceMappingURL=index.es444.js.map
|