@anoki/fse-ui 1.0.526 → 1.0.527

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.
Files changed (255) hide show
  1. package/dist/index.cjs106.js +1 -1
  2. package/dist/index.cjs16.js +1 -1
  3. package/dist/index.cjs18.js +1 -1
  4. package/dist/index.cjs208.js +1 -1
  5. package/dist/index.cjs212.js +1 -1
  6. package/dist/index.cjs213.js +1 -1
  7. package/dist/index.cjs219.js +1 -1
  8. package/dist/index.cjs230.js +1 -1
  9. package/dist/index.cjs238.js +1 -1
  10. package/dist/index.cjs24.js +1 -1
  11. package/dist/index.cjs247.js +1 -1
  12. package/dist/index.cjs25.js +1 -1
  13. package/dist/index.cjs257.js +1 -1
  14. package/dist/index.cjs259.js +2 -2
  15. package/dist/index.cjs259.js.map +1 -1
  16. package/dist/index.cjs26.js +1 -1
  17. package/dist/index.cjs27.js +1 -1
  18. package/dist/index.cjs296.js +1 -1
  19. package/dist/index.cjs30.js +1 -1
  20. package/dist/index.cjs309.js +1 -1
  21. package/dist/index.cjs316.js +2 -2
  22. package/dist/index.cjs317.js +9 -9
  23. package/dist/index.cjs32.js +1 -1
  24. package/dist/index.cjs324.js +1 -1
  25. package/dist/index.cjs324.js.map +1 -1
  26. package/dist/index.cjs325.js +2 -0
  27. package/dist/index.cjs325.js.map +1 -0
  28. package/dist/index.cjs326.js +2 -0
  29. package/dist/index.cjs326.js.map +1 -0
  30. package/dist/index.cjs327.js +1 -1
  31. package/dist/index.cjs327.js.map +1 -1
  32. package/dist/index.cjs328.js +1 -1
  33. package/dist/index.cjs328.js.map +1 -1
  34. package/dist/index.cjs329.js +1 -1
  35. package/dist/index.cjs329.js.map +1 -1
  36. package/dist/index.cjs330.js +1 -1
  37. package/dist/index.cjs330.js.map +1 -1
  38. package/dist/index.cjs331.js +1 -1
  39. package/dist/index.cjs331.js.map +1 -1
  40. package/dist/index.cjs334.js +1 -1
  41. package/dist/index.cjs334.js.map +1 -1
  42. package/dist/index.cjs335.js +1 -1
  43. package/dist/index.cjs335.js.map +1 -1
  44. package/dist/index.cjs336.js +1 -1
  45. package/dist/index.cjs336.js.map +1 -1
  46. package/dist/index.cjs337.js +1 -1
  47. package/dist/index.cjs337.js.map +1 -1
  48. package/dist/index.cjs338.js +1 -1
  49. package/dist/index.cjs338.js.map +1 -1
  50. package/dist/index.cjs339.js +1 -1
  51. package/dist/index.cjs339.js.map +1 -1
  52. package/dist/index.cjs340.js +1 -1
  53. package/dist/index.cjs340.js.map +1 -1
  54. package/dist/index.cjs341.js +1 -1
  55. package/dist/index.cjs341.js.map +1 -1
  56. package/dist/index.cjs342.js +1 -1
  57. package/dist/index.cjs342.js.map +1 -1
  58. package/dist/index.cjs343.js +1 -1
  59. package/dist/index.cjs343.js.map +1 -1
  60. package/dist/index.cjs344.js +1 -1
  61. package/dist/index.cjs344.js.map +1 -1
  62. package/dist/index.cjs345.js +1 -1
  63. package/dist/index.cjs345.js.map +1 -1
  64. package/dist/index.cjs346.js +1 -1
  65. package/dist/index.cjs346.js.map +1 -1
  66. package/dist/index.cjs347.js +1 -1
  67. package/dist/index.cjs347.js.map +1 -1
  68. package/dist/index.cjs348.js +1 -1
  69. package/dist/index.cjs348.js.map +1 -1
  70. package/dist/index.cjs349.js +1 -1
  71. package/dist/index.cjs349.js.map +1 -1
  72. package/dist/index.cjs35.js +1 -1
  73. package/dist/index.cjs350.js +1 -1
  74. package/dist/index.cjs351.js +1 -1
  75. package/dist/index.cjs352.js +1 -1
  76. package/dist/index.cjs353.js +1 -1
  77. package/dist/{index.cjs362.js → index.cjs365.js} +1 -1
  78. package/dist/{index.cjs362.js.map → index.cjs365.js.map} +1 -1
  79. package/dist/{index.cjs363.js → index.cjs366.js} +2 -2
  80. package/dist/{index.cjs363.js.map → index.cjs366.js.map} +1 -1
  81. package/dist/{index.cjs364.js → index.cjs367.js} +1 -1
  82. package/dist/{index.cjs364.js.map → index.cjs367.js.map} +1 -1
  83. package/dist/index.cjs37.js +1 -1
  84. package/dist/index.cjs373.js +1 -1
  85. package/dist/index.cjs375.js +1 -1
  86. package/dist/index.cjs376.js +1 -1
  87. package/dist/index.cjs377.js +1 -1
  88. package/dist/index.cjs377.js.map +1 -1
  89. package/dist/index.cjs379.js +1 -1
  90. package/dist/index.cjs380.js +38 -1
  91. package/dist/index.cjs380.js.map +1 -1
  92. package/dist/index.cjs381.js +1 -38
  93. package/dist/index.cjs381.js.map +1 -1
  94. package/dist/index.cjs382.js +1 -1
  95. package/dist/index.cjs382.js.map +1 -1
  96. package/dist/index.cjs383.js +1 -1
  97. package/dist/index.cjs383.js.map +1 -1
  98. package/dist/index.cjs384.js +1 -1
  99. package/dist/index.cjs384.js.map +1 -1
  100. package/dist/index.cjs387.js +1 -1
  101. package/dist/index.cjs387.js.map +1 -1
  102. package/dist/index.cjs388.js +1 -1
  103. package/dist/index.cjs388.js.map +1 -1
  104. package/dist/index.cjs389.js +1 -1
  105. package/dist/index.cjs389.js.map +1 -1
  106. package/dist/index.cjs390.js +1 -1
  107. package/dist/index.cjs390.js.map +1 -1
  108. package/dist/index.cjs394.js +1 -1
  109. package/dist/index.cjs394.js.map +1 -1
  110. package/dist/index.cjs397.js +1 -1
  111. package/dist/index.cjs397.js.map +1 -1
  112. package/dist/index.cjs399.js +1 -1
  113. package/dist/index.cjs400.js +1 -1
  114. package/dist/index.cjs403.js +1 -1
  115. package/dist/index.cjs403.js.map +1 -1
  116. package/dist/index.cjs405.js +1 -1
  117. package/dist/index.cjs47.js +1 -1
  118. package/dist/index.cjs68.js +1 -1
  119. package/dist/index.cjs69.js +1 -1
  120. package/dist/index.es106.js +17 -17
  121. package/dist/index.es16.js +18 -18
  122. package/dist/index.es161.js +1 -1
  123. package/dist/index.es163.js +2 -2
  124. package/dist/index.es164.js +24 -24
  125. package/dist/index.es171.js +1 -1
  126. package/dist/index.es18.js +22 -22
  127. package/dist/index.es208.js +22 -22
  128. package/dist/index.es212.js +25 -25
  129. package/dist/index.es213.js +10 -10
  130. package/dist/index.es219.js +8 -8
  131. package/dist/index.es230.js +14 -14
  132. package/dist/index.es238.js +1 -1
  133. package/dist/index.es24.js +4 -4
  134. package/dist/index.es247.js +1 -1
  135. package/dist/index.es25.js +38 -38
  136. package/dist/index.es257.js +32 -32
  137. package/dist/index.es259.js +22 -22
  138. package/dist/index.es259.js.map +1 -1
  139. package/dist/index.es26.js +21 -21
  140. package/dist/index.es27.js +2 -2
  141. package/dist/index.es296.js +13 -13
  142. package/dist/index.es30.js +6 -6
  143. package/dist/index.es309.js +3 -3
  144. package/dist/index.es316.js +20 -20
  145. package/dist/index.es317.js +91 -91
  146. package/dist/index.es32.js +4 -4
  147. package/dist/index.es324.js +7 -15
  148. package/dist/index.es324.js.map +1 -1
  149. package/dist/index.es325.js +30 -0
  150. package/dist/index.es325.js.map +1 -0
  151. package/dist/index.es326.js +71 -0
  152. package/dist/index.es326.js.map +1 -0
  153. package/dist/index.es327.js +29 -6
  154. package/dist/index.es327.js.map +1 -1
  155. package/dist/index.es328.js +32 -26
  156. package/dist/index.es328.js.map +1 -1
  157. package/dist/index.es329.js +617 -63
  158. package/dist/index.es329.js.map +1 -1
  159. package/dist/index.es330.js +10 -29
  160. package/dist/index.es330.js.map +1 -1
  161. package/dist/index.es331.js +15 -33
  162. package/dist/index.es331.js.map +1 -1
  163. package/dist/index.es334.js +10 -5
  164. package/dist/index.es334.js.map +1 -1
  165. package/dist/index.es335.js +52 -24
  166. package/dist/index.es335.js.map +1 -1
  167. package/dist/index.es336.js +43 -66
  168. package/dist/index.es336.js.map +1 -1
  169. package/dist/index.es337.js +7 -10
  170. package/dist/index.es337.js.map +1 -1
  171. package/dist/index.es338.js +120 -48
  172. package/dist/index.es338.js.map +1 -1
  173. package/dist/index.es339.js +14 -45
  174. package/dist/index.es339.js.map +1 -1
  175. package/dist/index.es340.js +134 -7
  176. package/dist/index.es340.js.map +1 -1
  177. package/dist/index.es341.js +206 -113
  178. package/dist/index.es341.js.map +1 -1
  179. package/dist/index.es342.js +13 -14
  180. package/dist/index.es342.js.map +1 -1
  181. package/dist/index.es343.js +60 -126
  182. package/dist/index.es343.js.map +1 -1
  183. package/dist/index.es344.js +163 -203
  184. package/dist/index.es344.js.map +1 -1
  185. package/dist/index.es345.js +50 -14
  186. package/dist/index.es345.js.map +1 -1
  187. package/dist/index.es346.js +9 -178
  188. package/dist/index.es346.js.map +1 -1
  189. package/dist/index.es347.js +3 -49
  190. package/dist/index.es347.js.map +1 -1
  191. package/dist/index.es348.js +6 -9
  192. package/dist/index.es348.js.map +1 -1
  193. package/dist/index.es349.js +25 -4
  194. package/dist/index.es349.js.map +1 -1
  195. package/dist/index.es35.js +14 -14
  196. package/dist/index.es350.js +1 -1
  197. package/dist/index.es351.js +8 -8
  198. package/dist/index.es352.js +1 -1
  199. package/dist/index.es353.js +126 -126
  200. package/dist/{index.es362.js → index.es365.js} +1 -1
  201. package/dist/{index.es362.js.map → index.es365.js.map} +1 -1
  202. package/dist/{index.es363.js → index.es366.js} +12 -12
  203. package/dist/{index.es363.js.map → index.es366.js.map} +1 -1
  204. package/dist/{index.es364.js → index.es367.js} +1 -1
  205. package/dist/{index.es364.js.map → index.es367.js.map} +1 -1
  206. package/dist/index.es37.js +6 -6
  207. package/dist/index.es373.js +1 -1
  208. package/dist/index.es375.js +5 -5
  209. package/dist/index.es376.js +1 -1
  210. package/dist/index.es377.js +97 -97
  211. package/dist/index.es378.js +6 -6
  212. package/dist/index.es379.js +42 -42
  213. package/dist/index.es380.js +69 -65
  214. package/dist/index.es380.js.map +1 -1
  215. package/dist/index.es381.js +8 -68
  216. package/dist/index.es381.js.map +1 -1
  217. package/dist/index.es382.js +14 -9
  218. package/dist/index.es382.js.map +1 -1
  219. package/dist/index.es383.js +62 -14
  220. package/dist/index.es383.js.map +1 -1
  221. package/dist/index.es384.js +64 -61
  222. package/dist/index.es384.js.map +1 -1
  223. package/dist/index.es387.js +11 -21
  224. package/dist/index.es387.js.map +1 -1
  225. package/dist/index.es388.js +26 -11
  226. package/dist/index.es388.js.map +1 -1
  227. package/dist/index.es389.js +4 -27
  228. package/dist/index.es389.js.map +1 -1
  229. package/dist/index.es390.js +22 -4
  230. package/dist/index.es390.js.map +1 -1
  231. package/dist/index.es394.js +2 -2
  232. package/dist/index.es394.js.map +1 -1
  233. package/dist/index.es397.js +34 -34
  234. package/dist/index.es397.js.map +1 -1
  235. package/dist/index.es399.js +2 -2
  236. package/dist/index.es399.js.map +1 -1
  237. package/dist/index.es400.js +8 -8
  238. package/dist/index.es403.js +2 -2
  239. package/dist/index.es403.js.map +1 -1
  240. package/dist/index.es47.js +2 -2
  241. package/dist/index.es5.js +4 -4
  242. package/dist/index.es65.js +44 -44
  243. package/dist/index.es68.js +25 -25
  244. package/dist/index.es69.js +23 -23
  245. package/dist/index.es98.js +12 -12
  246. package/package.json +1 -1
  247. package/dist/index.cjs332.js +0 -2
  248. package/dist/index.cjs332.js.map +0 -1
  249. package/dist/index.cjs333.js +0 -2
  250. package/dist/index.cjs333.js.map +0 -1
  251. package/dist/index.es332.js +0 -625
  252. package/dist/index.es332.js.map +0 -1
  253. package/dist/index.es333.js +0 -14
  254. package/dist/index.es333.js.map +0 -1
  255. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
@@ -3,42 +3,42 @@ import { ArrowRight as o } from "./index.es128.js";
3
3
  const j = ({
4
4
  href: a,
5
5
  asLink: i = "a",
6
- isExternal: r = !1,
6
+ isExternal: n = !1,
7
7
  fs: l = "6",
8
- children: n,
8
+ children: r,
9
9
  className: c = "",
10
- onClick: m,
11
- type: d = "button",
10
+ onClick: d,
11
+ type: m = "button",
12
12
  asButton: f,
13
13
  ...s
14
14
  }) => {
15
- const t = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${((p) => `fs-${p}`)(l)} ${c}`;
15
+ const t = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${((h) => `fs-${h}`)(l)} ${c}`;
16
16
  if (f)
17
17
  return /* @__PURE__ */ e.jsxs(
18
18
  "button",
19
19
  {
20
20
  className: `bg-transparent border-none ${t}`,
21
- onClick: m,
22
- type: d,
21
+ onClick: d,
22
+ type: m,
23
23
  ...s,
24
24
  children: [
25
- n,
25
+ r,
26
26
  /* @__PURE__ */ e.jsx(o, { color: "primary", width: 24, height: 24 })
27
27
  ]
28
28
  }
29
29
  );
30
- const h = i;
30
+ const u = i;
31
31
  return /* @__PURE__ */ e.jsxs(
32
- h,
32
+ u,
33
33
  {
34
34
  className: t,
35
35
  href: a,
36
- target: r ? "_blank" : void 0,
37
- rel: r ? "noreferrer noopener" : void 0,
36
+ target: n ? "_blank" : void 0,
37
+ rel: n ? "noreferrer noopener" : void 0,
38
38
  ...s,
39
39
  children: [
40
- n,
41
- r && /* @__PURE__ */ e.jsxs("span", { className: "visually-hidden", children: [
40
+ r,
41
+ n && /* @__PURE__ */ e.jsxs("span", { className: "visually-hidden", children: [
42
42
  " ",
43
43
  "(si apre in una nuova finestra)"
44
44
  ] }),
@@ -1,5 +1,5 @@
1
1
  import * as r from "react";
2
- import { useCallbackRef as s } from "./index.es337.js";
2
+ import { useCallbackRef as s } from "./index.es334.js";
3
3
  function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
4
  const t = s(n);
5
5
  r.useEffect(() => {
@@ -1,4 +1,4 @@
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.es353.js";
1
+ import { computePosition as I, offset as J, shift as K, flip as N, size as Q, hide as T, arrow as L, limitShift as X } from "./index.es353.js";
2
2
  import { autoUpdate as me, platform as pe } from "./index.es353.js";
3
3
  import * as f from "react";
4
4
  import { useLayoutEffect as Y, useEffect as Z } from "react";
@@ -34,11 +34,11 @@ function R(e, t) {
34
34
  }
35
35
  return e !== e && t !== t;
36
36
  }
37
- function A(e) {
37
+ function q(e) {
38
38
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
39
39
  }
40
- function v(e, t) {
41
- const n = A(e);
40
+ function A(e, t) {
41
+ const n = q(e);
42
42
  return Math.round(t * n) / n;
43
43
  }
44
44
  function E(e) {
@@ -56,7 +56,7 @@ function re(e) {
56
56
  platform: s,
57
57
  elements: {
58
58
  reference: p,
59
- floating: q
59
+ floating: v
60
60
  } = {},
61
61
  transform: k = !0,
62
62
  whileElementsMounted: D,
@@ -74,7 +74,7 @@ function re(e) {
74
74
  o !== a.current && (a.current = o, V(o));
75
75
  }, []), C = f.useCallback((o) => {
76
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(() => {
77
+ }, []), u = p || U, l = v || 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
78
  if (!a.current || !d.current)
79
79
  return;
80
80
  const o = {
@@ -128,11 +128,11 @@ function re(e) {
128
128
  };
129
129
  if (!c.floating)
130
130
  return o;
131
- const h = v(c.floating, i.x), m = v(c.floating, i.y);
131
+ const h = A(c.floating, i.x), m = A(c.floating, i.y);
132
132
  return k ? {
133
133
  ...o,
134
134
  transform: "translate(" + h + "px, " + m + "px)",
135
- ...A(c.floating) >= 1.5 && {
135
+ ...q(c.floating) >= 1.5 && {
136
136
  willChange: "transform"
137
137
  }
138
138
  } : {
@@ -1,5 +1,5 @@
1
1
  import * as n from "react";
2
- import { Primitive as p } from "./index.es331.js";
2
+ import { Primitive as p } from "./index.es328.js";
3
3
  import { j as o } from "./index.es180.js";
4
4
  var v = "Arrow", e = n.forwardRef((r, i) => {
5
5
  const { children: t, width: s = 10, height: a = 5, ...m } = r;
@@ -1,13 +1,13 @@
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.es377.js";
2
- import { createCoords as m, round as A, max as E, min as V, rectToClientRect as J, floor as D } from "./index.es378.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.es379.js";
1
+ import { offset as ot, shift as st, flip as rt, size as ct, hide as lt, computePosition as ft, arrow as ut, limitShift as ht } from "./index.es377.js";
2
+ import { createCoords as m, rectToClientRect as J, round as A, floor as D, max as E, min as V } from "./index.es378.js";
3
+ import { getOverflowAncestors as $, isElement as v, getWindow as L, getFrameElement as K, getComputedStyle as R, getDocumentElement as O, isHTMLElement as b, isWebKit as Q, isTopLayer as S, getNodeName as M, isOverflowElement as _, getNodeScroll as N, getParentNode as W, isLastTraversableNode as H, isTableElement as dt, isContainingBlock as Y, getContainingBlock as at } from "./index.es379.js";
4
4
  function Z(t) {
5
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,
6
+ let n = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
7
+ const o = b(t), r = o ? t.offsetWidth : n, s = o ? t.offsetHeight : i, c = A(n) !== r || A(i) !== s;
8
+ return c && (n = r, i = s), {
9
+ width: n,
10
+ height: i,
11
11
  $: c
12
12
  };
13
13
  }
@@ -18,12 +18,12 @@ function F(t) {
18
18
  const e = q(t);
19
19
  if (!b(e))
20
20
  return m(1);
21
- const i = e.getBoundingClientRect(), {
22
- width: n,
21
+ const n = e.getBoundingClientRect(), {
22
+ width: i,
23
23
  height: o,
24
24
  $: r
25
25
  } = Z(e);
26
- let s = (r ? A(i.width) : i.width) / n, c = (r ? A(i.height) : i.height) / o;
26
+ let s = (r ? A(n.width) : n.width) / i, c = (r ? A(n.height) : n.height) / o;
27
27
  return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
28
28
  x: s,
29
29
  y: c
@@ -32,26 +32,26 @@ function F(t) {
32
32
  const gt = /* @__PURE__ */ m(0);
33
33
  function X(t) {
34
34
  const e = L(t);
35
- return !Y() || !e.visualViewport ? gt : {
35
+ return !Q() || !e.visualViewport ? gt : {
36
36
  x: e.visualViewport.offsetLeft,
37
37
  y: e.visualViewport.offsetTop
38
38
  };
39
39
  }
40
- function pt(t, e, i) {
41
- return e === void 0 && (e = !1), !i || e && i !== L(t) ? !1 : e;
40
+ function pt(t, e, n) {
41
+ return e === void 0 && (e = !1), !n || e && n !== L(t) ? !1 : e;
42
42
  }
43
- function T(t, e, i, n) {
44
- e === void 0 && (e = !1), i === void 0 && (i = !1);
43
+ function T(t, e, n, i) {
44
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
45
45
  const o = t.getBoundingClientRect(), r = q(t);
46
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);
47
+ e && (i ? v(i) && (s = F(i)) : s = F(t));
48
+ const c = pt(r, n, i) ? X(r) : m(0);
49
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
50
  if (r) {
51
- const p = L(r), a = n && v(n) ? L(n) : n;
51
+ const p = L(r), d = i && v(i) ? L(i) : i;
52
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;
53
+ for (; g && i && d !== y; ) {
54
+ const w = F(g), a = g.getBoundingClientRect(), x = R(g), C = a.left + (g.clientLeft + parseFloat(x.paddingLeft)) * w.x, B = a.top + (g.clientTop + parseFloat(x.paddingTop)) * w.y;
55
55
  l *= w.x, f *= w.y, u *= w.x, h *= w.y, l += C, f += B, y = L(g), g = K(y);
56
56
  }
57
57
  }
@@ -63,15 +63,15 @@ function T(t, e, i, n) {
63
63
  });
64
64
  }
65
65
  function k(t, e) {
66
- const i = N(t).scrollLeft;
67
- return e ? e.left + i : T(O(t)).left + i;
66
+ const n = N(t).scrollLeft;
67
+ return e ? e.left + n : T(O(t)).left + n;
68
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 : (
69
+ function tt(t, e, n) {
70
+ n === void 0 && (n = !1);
71
+ const i = t.getBoundingClientRect(), o = i.left + e.scrollLeft - (n ? 0 : (
72
72
  // RTL <body> scrollbar.
73
- k(t, n)
74
- )), r = n.top + e.scrollTop;
73
+ k(t, i)
74
+ )), r = i.top + e.scrollTop;
75
75
  return {
76
76
  x: o,
77
77
  y: r
@@ -80,38 +80,38 @@ function tt(t, e, i) {
80
80
  function wt(t) {
81
81
  let {
82
82
  elements: e,
83
- rect: i,
84
- offsetParent: n,
83
+ rect: n,
84
+ offsetParent: i,
85
85
  strategy: o
86
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;
87
+ const r = o === "fixed", s = O(i), c = e ? S(e.floating) : !1;
88
+ if (i === s || c && r)
89
+ return n;
90
90
  let l = {
91
91
  scrollLeft: 0,
92
92
  scrollTop: 0
93
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;
94
+ const u = m(0), h = b(i);
95
+ if ((h || !h && !r) && ((M(i) !== "body" || _(s)) && (l = N(i)), b(i))) {
96
+ const d = T(i);
97
+ f = F(i), u.x = d.x + i.clientLeft, u.y = d.y + i.clientTop;
98
98
  }
99
99
  const p = s && !h && !r ? tt(s, l, !0) : m(0);
100
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
101
+ width: n.width * f.x,
102
+ height: n.height * f.y,
103
+ x: n.x * f.x - l.scrollLeft * f.x + u.x + p.x,
104
+ y: n.y * f.y - l.scrollTop * f.y + u.y + p.y
105
105
  };
106
106
  }
107
107
  function mt(t) {
108
108
  return Array.from(t.getClientRects());
109
109
  }
110
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), {
111
+ const e = O(t), n = N(t), i = t.ownerDocument.body, o = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
112
+ let s = -n.scrollLeft + k(t);
113
+ const c = -n.scrollTop;
114
+ return R(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - o), {
115
115
  width: o,
116
116
  height: r,
117
117
  x: s,
@@ -119,11 +119,11 @@ function yt(t) {
119
119
  };
120
120
  }
121
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;
122
+ const n = L(t), i = O(t), o = n.visualViewport;
123
+ let r = i.clientWidth, s = i.clientHeight, c = 0, l = 0;
124
124
  if (o) {
125
125
  r = o.width, s = o.height;
126
- const f = Y();
126
+ const f = Q();
127
127
  (!f || f && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
128
128
  }
129
129
  return {
@@ -134,7 +134,7 @@ function xt(t, e) {
134
134
  };
135
135
  }
136
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;
137
+ const n = T(t, !0, e === "fixed"), i = n.top + t.clientTop, o = n.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 = i * r.y;
138
138
  return {
139
139
  width: s,
140
140
  height: c,
@@ -142,50 +142,50 @@ function vt(t, e) {
142
142
  y: f
143
143
  };
144
144
  }
145
- function j(t, e, i) {
146
- let n;
145
+ function j(t, e, n) {
146
+ let i;
147
147
  if (e === "viewport")
148
- n = xt(t, i);
148
+ i = xt(t, n);
149
149
  else if (e === "document")
150
- n = yt(O(t));
150
+ i = yt(O(t));
151
151
  else if (v(e))
152
- n = vt(e, i);
152
+ i = vt(e, n);
153
153
  else {
154
154
  const o = X(t);
155
- n = {
155
+ i = {
156
156
  x: e.x - o.x,
157
157
  y: e.y - o.y,
158
158
  width: e.width,
159
159
  height: e.height
160
160
  };
161
161
  }
162
- return J(n);
162
+ return J(i);
163
163
  }
164
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);
165
+ const n = W(t);
166
+ return n === e || !v(n) || H(n) ? !1 : R(n).position === "fixed" || et(n, e);
167
167
  }
168
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;
169
+ const n = e.get(t);
170
+ if (n)
171
+ return n;
172
+ let i = $(t, [], !1).filter((c) => v(c) && M(c) !== "body"), o = null;
173
173
  const r = R(t).position === "fixed";
174
174
  let s = r ? W(t) : t;
175
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);
176
+ const c = R(s), l = Y(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)) ? i = i.filter((u) => u !== s) : o = c, s = W(s);
178
178
  }
179
- return e.set(t, n), n;
179
+ return e.set(t, i), i;
180
180
  }
181
181
  function Ot(t) {
182
182
  let {
183
183
  element: e,
184
- boundary: i,
185
- rootBoundary: n,
184
+ boundary: n,
185
+ rootBoundary: i,
186
186
  strategy: o
187
187
  } = t;
188
- const s = [...i === "clippingAncestors" ? S(e) ? [] : Rt(e, this._c) : [].concat(i), n], c = s[0], l = s.reduce((f, u) => {
188
+ const s = [...n === "clippingAncestors" ? S(e) ? [] : Rt(e, this._c) : [].concat(n), i], c = s[0], l = s.reduce((f, u) => {
189
189
  const h = j(e, u, o);
190
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
191
  }, j(e, c, o));
@@ -199,26 +199,26 @@ function Ot(t) {
199
199
  function bt(t) {
200
200
  const {
201
201
  width: e,
202
- height: i
202
+ height: n
203
203
  } = Z(t);
204
204
  return {
205
205
  width: e,
206
- height: i
206
+ height: n
207
207
  };
208
208
  }
209
- function Ct(t, e, i) {
210
- const n = b(e), o = O(e), r = i === "fixed", s = T(t, !0, r, e);
209
+ function Ct(t, e, n) {
210
+ const i = b(e), o = O(e), r = n === "fixed", s = T(t, !0, r, e);
211
211
  let c = {
212
212
  scrollLeft: 0,
213
213
  scrollTop: 0
214
214
  };
215
215
  const l = m(0);
216
- if (n || !n && !r)
217
- if ((M(e) !== "body" || _(o)) && (c = N(e)), n) {
216
+ if (i || !i && !r)
217
+ if ((M(e) !== "body" || _(o)) && (c = N(e)), i) {
218
218
  const p = T(e, !0, r, e);
219
219
  l.x = p.x + e.clientLeft, l.y = p.y + e.clientTop;
220
220
  } else o && (l.x = k(o));
221
- const f = o && !n && !r ? tt(o, c) : m(0), u = s.left + c.scrollLeft - l.x - f.x, h = s.top + c.scrollTop - l.y - f.y;
221
+ const f = o && !i && !r ? tt(o, c) : m(0), u = s.left + c.scrollLeft - l.x - f.x, h = s.top + c.scrollTop - l.y - f.y;
222
222
  return {
223
223
  x: u,
224
224
  y: h,
@@ -234,13 +234,13 @@ function G(t, e) {
234
234
  return null;
235
235
  if (e)
236
236
  return e(t);
237
- let i = t.offsetParent;
238
- return O(t) === i && (i = i.ownerDocument.body), i;
237
+ let n = t.offsetParent;
238
+ return O(t) === n && (n = n.ownerDocument.body), n;
239
239
  }
240
- function it(t, e) {
241
- const i = L(t);
240
+ function nt(t, e) {
241
+ const n = L(t);
242
242
  if (S(t))
243
- return i;
243
+ return n;
244
244
  if (!b(t)) {
245
245
  let o = W(t);
246
246
  for (; o && !H(o); ) {
@@ -248,22 +248,22 @@ function it(t, e) {
248
248
  return o;
249
249
  o = W(o);
250
250
  }
251
- return i;
251
+ return n;
252
252
  }
253
- let n = G(t, e);
254
- for (; n && at(n) && I(n); )
255
- n = G(n, e);
256
- return n && H(n) && I(n) && !Q(n) ? i : n || dt(t) || i;
253
+ let i = G(t, e);
254
+ for (; i && dt(i) && I(i); )
255
+ i = G(i, e);
256
+ return i && H(i) && I(i) && !Y(i) ? n : i || at(t) || n;
257
257
  }
258
258
  const Lt = async function(t) {
259
- const e = this.getOffsetParent || it, i = this.getDimensions, n = await i(t.floating);
259
+ const e = this.getOffsetParent || nt, n = this.getDimensions, i = await n(t.floating);
260
260
  return {
261
261
  reference: Ct(t.reference, await e(t.floating), t.strategy),
262
262
  floating: {
263
263
  x: 0,
264
264
  y: 0,
265
- width: n.width,
266
- height: n.height
265
+ width: i.width,
266
+ height: i.height
267
267
  }
268
268
  };
269
269
  };
@@ -274,7 +274,7 @@ const Et = {
274
274
  convertOffsetParentRelativeRectToViewportRelativeRect: wt,
275
275
  getDocumentElement: O,
276
276
  getClippingRect: Ot,
277
- getOffsetParent: it,
277
+ getOffsetParent: nt,
278
278
  getElementRects: Lt,
279
279
  getClientRects: mt,
280
280
  getDimensions: bt,
@@ -282,15 +282,15 @@ const Et = {
282
282
  isElement: v,
283
283
  isRTL: Tt
284
284
  };
285
- function nt(t, e) {
285
+ function it(t, e) {
286
286
  return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
287
287
  }
288
288
  function Ft(t, e) {
289
- let i = null, n;
289
+ let n = null, i;
290
290
  const o = O(t);
291
291
  function r() {
292
292
  var c;
293
- clearTimeout(n), (c = i) == null || c.disconnect(), i = null;
293
+ clearTimeout(i), (c = n) == null || c.disconnect(), n = null;
294
294
  }
295
295
  function s(c, l) {
296
296
  c === void 0 && (c = !1), l === void 0 && (l = 1), r();
@@ -298,12 +298,12 @@ function Ft(t, e) {
298
298
  left: u,
299
299
  top: h,
300
300
  width: p,
301
- height: a
301
+ height: d
302
302
  } = f;
303
- if (c || e(), !p || !a)
303
+ if (c || e(), !p || !d)
304
304
  return;
305
- const y = D(h), g = D(o.clientWidth - (u + p)), w = D(o.clientHeight - (h + a)), d = D(u), C = {
306
- rootMargin: -y + "px " + -g + "px " + -w + "px " + -d + "px",
305
+ const y = D(h), g = D(o.clientWidth - (u + p)), w = D(o.clientHeight - (h + d)), a = D(u), C = {
306
+ rootMargin: -y + "px " + -g + "px " + -w + "px " + -a + "px",
307
307
  threshold: E(0, V(1, l)) || 1
308
308
  };
309
309
  let B = !0;
@@ -312,70 +312,70 @@ function Ft(t, e) {
312
312
  if (z !== l) {
313
313
  if (!B)
314
314
  return s();
315
- z ? s(!1, z) : n = setTimeout(() => {
315
+ z ? s(!1, z) : i = setTimeout(() => {
316
316
  s(!1, 1e-7);
317
317
  }, 1e3);
318
318
  }
319
- z === 1 && !nt(f, t.getBoundingClientRect()) && s(), B = !1;
319
+ z === 1 && !it(f, t.getBoundingClientRect()) && s(), B = !1;
320
320
  }
321
321
  try {
322
- i = new IntersectionObserver(P, {
322
+ n = new IntersectionObserver(P, {
323
323
  ...C,
324
324
  // Handle <iframe>s
325
325
  root: o.ownerDocument
326
326
  });
327
327
  } catch {
328
- i = new IntersectionObserver(P, C);
328
+ n = new IntersectionObserver(P, C);
329
329
  }
330
- i.observe(t);
330
+ n.observe(t);
331
331
  }
332
332
  return s(!0), r;
333
333
  }
334
- function Dt(t, e, i, n) {
335
- n === void 0 && (n = {});
334
+ function Dt(t, e, n, i) {
335
+ i === void 0 && (i = {});
336
336
  const {
337
337
  ancestorScroll: o = !0,
338
338
  ancestorResize: r = !0,
339
339
  elementResize: s = typeof ResizeObserver == "function",
340
340
  layoutShift: c = typeof IntersectionObserver == "function",
341
341
  animationFrame: l = !1
342
- } = n, f = q(t), u = o || r ? [...f ? $(f) : [], ...$(e)] : [];
343
- u.forEach((d) => {
344
- o && d.addEventListener("scroll", i, {
342
+ } = i, f = q(t), u = o || r ? [...f ? $(f) : [], ...$(e)] : [];
343
+ u.forEach((a) => {
344
+ o && a.addEventListener("scroll", n, {
345
345
  passive: !0
346
- }), r && d.addEventListener("resize", i);
346
+ }), r && a.addEventListener("resize", n);
347
347
  });
348
- const h = f && c ? Ft(f, i) : null;
349
- let p = -1, a = null;
350
- s && (a = new ResizeObserver((d) => {
351
- let [x] = d;
352
- x && x.target === f && a && (a.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
348
+ const h = f && c ? Ft(f, n) : null;
349
+ let p = -1, d = null;
350
+ s && (d = new ResizeObserver((a) => {
351
+ let [x] = a;
352
+ x && x.target === f && d && (d.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
353
353
  var C;
354
- (C = a) == null || C.observe(e);
355
- })), i();
356
- }), f && !l && a.observe(f), a.observe(e));
354
+ (C = d) == null || C.observe(e);
355
+ })), n();
356
+ }), f && !l && d.observe(f), d.observe(e));
357
357
  let y, g = l ? T(t) : null;
358
358
  l && w();
359
359
  function w() {
360
- const d = T(t);
361
- g && !nt(g, d) && i(), g = d, y = requestAnimationFrame(w);
360
+ const a = T(t);
361
+ g && !it(g, a) && n(), g = a, y = requestAnimationFrame(w);
362
362
  }
363
- return i(), () => {
364
- var d;
363
+ return n(), () => {
364
+ var a;
365
365
  u.forEach((x) => {
366
- o && x.removeEventListener("scroll", i), r && x.removeEventListener("resize", i);
367
- }), h == null || h(), (d = a) == null || d.disconnect(), a = null, l && cancelAnimationFrame(y);
366
+ o && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
367
+ }), h == null || h(), (a = d) == null || a.disconnect(), d = null, l && cancelAnimationFrame(y);
368
368
  };
369
369
  }
370
- const At = ot, Ht = st, Nt = rt, It = ct, Vt = lt, $t = ht, St = ft, Mt = (t, e, i) => {
371
- const n = /* @__PURE__ */ new Map(), o = {
370
+ const At = ot, Ht = st, Nt = rt, It = ct, Vt = lt, $t = ut, St = ht, Mt = (t, e, n) => {
371
+ const i = /* @__PURE__ */ new Map(), o = {
372
372
  platform: Et,
373
- ...i
373
+ ...n
374
374
  }, r = {
375
375
  ...o.platform,
376
- _c: n
376
+ _c: i
377
377
  };
378
- return ut(t, e, {
378
+ return ft(t, e, {
379
379
  ...o,
380
380
  platform: r
381
381
  });
@@ -25,4 +25,4 @@ export {
25
25
  c as __rest,
26
26
  l as __spreadArray
27
27
  };
28
- //# sourceMappingURL=index.es362.js.map
28
+ //# sourceMappingURL=index.es365.js.map