overview-components 1.0.76 → 1.0.78

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.
@@ -1,224 +1,224 @@
1
- import { offset as Z, flip as X, shift as tt, size as et, arrow as it, computePosition as ot } from "../../core/dist/floating-ui.core.js";
2
- import { createCoords as d, round as W, max as v, min as k, rectToClientRect as S } from "../../utils/dist/floating-ui.utils.js";
3
- import { isElement as g, getDocumentElement as y, getComputedStyle as a, isHTMLElement as w, getWindow as m, isTopLayer as F, getParentNode as O, isLastTraversableNode as E, isTableElement as nt, isContainingBlock as P, getContainingBlock as st, getNodeName as N, isOverflowElement as H, getNodeScroll as B, getOverflowAncestors as rt, getFrameElement as I, isWebKit as _ } from "../../utils/dist/floating-ui.utils.dom.js";
4
- function K(t) {
5
- const e = a(t);
6
- let o = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
7
- const n = w(t), r = n ? t.offsetWidth : o, s = n ? t.offsetHeight : i, c = W(o) !== r || W(i) !== s;
8
- return c && (o = r, i = s), {
9
- width: o,
10
- height: i,
1
+ import { offset as it, flip as nt, shift as ot, size as st, arrow as rt, computePosition as ct } from "../../core/dist/floating-ui.core.js";
2
+ import { createCoords as y, rectToClientRect as G, floor as z, max as E, round as D, min as V } from "../../utils/dist/floating-ui.utils.js";
3
+ import { getOverflowAncestors as $, isElement as v, getDocumentElement as R, getWindow as L, getFrameElement as U, getComputedStyle as b, isHTMLElement as O, isWebKit as J, isTopLayer as M, getParentNode as W, isLastTraversableNode as H, isTableElement as lt, isContainingBlock as Q, getContainingBlock as ft, getNodeName as S, isOverflowElement as _, getNodeScroll as N } from "../../utils/dist/floating-ui.utils.dom.js";
4
+ function Y(t) {
5
+ const e = b(t);
6
+ let i = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
7
+ const o = O(t), r = o ? t.offsetWidth : i, s = o ? t.offsetHeight : n, c = D(i) !== r || D(n) !== s;
8
+ return c && (i = r, n = s), {
9
+ width: i,
10
+ height: n,
11
11
  $: c
12
12
  };
13
13
  }
14
- function j(t) {
15
- return g(t) ? t : t.contextElement;
14
+ function k(t) {
15
+ return v(t) ? t : t.contextElement;
16
16
  }
17
- function T(t) {
18
- const e = j(t);
19
- if (!w(e))
20
- return d(1);
21
- const o = e.getBoundingClientRect(), {
22
- width: i,
23
- height: n,
17
+ function F(t) {
18
+ const e = k(t);
19
+ if (!O(e))
20
+ return y(1);
21
+ const i = e.getBoundingClientRect(), {
22
+ width: n,
23
+ height: o,
24
24
  $: r
25
- } = K(e);
26
- let s = (r ? W(o.width) : o.width) / i, c = (r ? W(o.height) : o.height) / n;
25
+ } = Y(e);
26
+ let s = (r ? D(i.width) : i.width) / n, c = (r ? D(i.height) : i.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
30
30
  };
31
31
  }
32
- const ct = /* @__PURE__ */ d(0);
33
- function q(t) {
34
- const e = m(t);
35
- return !_() || !e.visualViewport ? ct : {
32
+ const ut = /* @__PURE__ */ y(0);
33
+ function Z(t) {
34
+ const e = L(t);
35
+ return !J() || !e.visualViewport ? ut : {
36
36
  x: e.visualViewport.offsetLeft,
37
37
  y: e.visualViewport.offsetTop
38
38
  };
39
39
  }
40
- function ft(t, e, o) {
41
- return e === void 0 && (e = !1), !o || e && o !== m(t) ? !1 : e;
40
+ function ht(t, e, i) {
41
+ return e === void 0 && (e = !1), !i || e && i !== L(t) ? !1 : e;
42
42
  }
43
- function R(t, e, o, i) {
44
- e === void 0 && (e = !1), o === void 0 && (o = !1);
45
- const n = t.getBoundingClientRect(), r = j(t);
46
- let s = d(1);
47
- e && (i ? g(i) && (s = T(i)) : s = T(t));
48
- const c = ft(r, o, i) ? q(r) : d(0);
49
- let f = (n.left + c.x) / s.x, l = (n.top + c.y) / s.y, u = n.width / s.x, h = n.height / s.y;
43
+ function T(t, e, i, n) {
44
+ e === void 0 && (e = !1), i === void 0 && (i = !1);
45
+ const o = t.getBoundingClientRect(), r = k(t);
46
+ let s = y(1);
47
+ e && (n ? v(n) && (s = F(n)) : s = F(t));
48
+ const c = ht(r, i, n) ? Z(r) : y(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
50
  if (r) {
51
- const x = m(r), L = i && g(i) ? m(i) : i;
52
- let b = x, p = I(b);
53
- for (; p && i && L !== b; ) {
54
- const C = T(p), $ = p.getBoundingClientRect(), A = a(p), U = $.left + (p.clientLeft + parseFloat(A.paddingLeft)) * C.x, Y = $.top + (p.clientTop + parseFloat(A.paddingTop)) * C.y;
55
- f *= C.x, l *= C.y, u *= C.x, h *= C.y, f += U, l += Y, b = m(p), p = I(b);
51
+ const p = L(r), g = n && v(n) ? L(n) : n;
52
+ let x = p, a = U(x);
53
+ for (; a && n && g !== x; ) {
54
+ const w = F(a), d = a.getBoundingClientRect(), m = b(a), C = d.left + (a.clientLeft + parseFloat(m.paddingLeft)) * w.x, B = d.top + (a.clientTop + parseFloat(m.paddingTop)) * w.y;
55
+ l *= w.x, f *= w.y, u *= w.x, h *= w.y, l += C, f += B, x = L(a), a = U(x);
56
56
  }
57
57
  }
58
- return S({
58
+ return G({
59
59
  width: u,
60
60
  height: h,
61
- x: f,
62
- y: l
61
+ x: l,
62
+ y: f
63
63
  });
64
64
  }
65
- function V(t, e) {
66
- const o = B(t).scrollLeft;
67
- return e ? e.left + o : R(y(t)).left + o;
65
+ function q(t, e) {
66
+ const i = N(t).scrollLeft;
67
+ return e ? e.left + i : T(R(t)).left + i;
68
68
  }
69
- function G(t, e, o) {
70
- o === void 0 && (o = !1);
71
- const i = t.getBoundingClientRect(), n = i.left + e.scrollLeft - (o ? 0 : (
69
+ function X(t, e, i) {
70
+ i === void 0 && (i = !1);
71
+ const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - (i ? 0 : (
72
72
  // RTL <body> scrollbar.
73
- V(t, i)
74
- )), r = i.top + e.scrollTop;
73
+ q(t, n)
74
+ )), r = n.top + e.scrollTop;
75
75
  return {
76
- x: n,
76
+ x: o,
77
77
  y: r
78
78
  };
79
79
  }
80
- function lt(t) {
80
+ function at(t) {
81
81
  let {
82
82
  elements: e,
83
- rect: o,
84
- offsetParent: i,
85
- strategy: n
83
+ rect: i,
84
+ offsetParent: n,
85
+ strategy: o
86
86
  } = t;
87
- const r = n === "fixed", s = y(i), c = e ? F(e.floating) : !1;
88
- if (i === s || c && r)
89
- return o;
90
- let f = {
87
+ const r = o === "fixed", s = R(n), c = e ? M(e.floating) : !1;
88
+ if (n === s || c && r)
89
+ return i;
90
+ let l = {
91
91
  scrollLeft: 0,
92
92
  scrollTop: 0
93
- }, l = d(1);
94
- const u = d(0), h = w(i);
95
- if ((h || !h && !r) && ((N(i) !== "body" || H(s)) && (f = B(i)), w(i))) {
96
- const L = R(i);
97
- l = T(i), u.x = L.x + i.clientLeft, u.y = L.y + i.clientTop;
93
+ }, f = y(1);
94
+ const u = y(0), h = O(n);
95
+ if ((h || !h && !r) && ((S(n) !== "body" || _(s)) && (l = N(n)), O(n))) {
96
+ const g = T(n);
97
+ f = F(n), u.x = g.x + n.clientLeft, u.y = g.y + n.clientTop;
98
98
  }
99
- const x = s && !h && !r ? G(s, f, !0) : d(0);
99
+ const p = s && !h && !r ? X(s, l, !0) : y(0);
100
100
  return {
101
- width: o.width * l.x,
102
- height: o.height * l.y,
103
- x: o.x * l.x - f.scrollLeft * l.x + u.x + x.x,
104
- y: o.y * l.y - f.scrollTop * l.y + u.y + x.y
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
105
  };
106
106
  }
107
- function ut(t) {
107
+ function dt(t) {
108
108
  return Array.from(t.getClientRects());
109
109
  }
110
- function ht(t) {
111
- const e = y(t), o = B(t), i = t.ownerDocument.body, n = v(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = v(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
112
- let s = -o.scrollLeft + V(t);
113
- const c = -o.scrollTop;
114
- return a(i).direction === "rtl" && (s += v(e.clientWidth, i.clientWidth) - n), {
115
- width: n,
110
+ function gt(t) {
111
+ const e = R(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 + q(t);
113
+ const c = -i.scrollTop;
114
+ return b(n).direction === "rtl" && (s += E(e.clientWidth, n.clientWidth) - o), {
115
+ width: o,
116
116
  height: r,
117
117
  x: s,
118
118
  y: c
119
119
  };
120
120
  }
121
- function dt(t, e) {
122
- const o = m(t), i = y(t), n = o.visualViewport;
123
- let r = i.clientWidth, s = i.clientHeight, c = 0, f = 0;
124
- if (n) {
125
- r = n.width, s = n.height;
126
- const l = _();
127
- (!l || l && e === "fixed") && (c = n.offsetLeft, f = n.offsetTop);
121
+ function pt(t, e) {
122
+ const i = L(t), n = R(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 = J();
127
+ (!f || f && e === "fixed") && (c = o.offsetLeft, l = o.offsetTop);
128
128
  }
129
129
  return {
130
130
  width: r,
131
131
  height: s,
132
132
  x: c,
133
- y: f
133
+ y: l
134
134
  };
135
135
  }
136
- function gt(t, e) {
137
- const o = R(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, r = w(t) ? T(t) : d(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = n * r.x, l = i * r.y;
136
+ function wt(t, e) {
137
+ const i = T(t, !0, e === "fixed"), n = i.top + t.clientTop, o = i.left + t.clientLeft, r = O(t) ? F(t) : y(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = o * r.x, f = n * r.y;
138
138
  return {
139
139
  width: s,
140
140
  height: c,
141
- x: f,
142
- y: l
141
+ x: l,
142
+ y: f
143
143
  };
144
144
  }
145
- function z(t, e, o) {
146
- let i;
145
+ function K(t, e, i) {
146
+ let n;
147
147
  if (e === "viewport")
148
- i = dt(t, o);
148
+ n = pt(t, i);
149
149
  else if (e === "document")
150
- i = ht(y(t));
151
- else if (g(e))
152
- i = gt(e, o);
150
+ n = gt(R(t));
151
+ else if (v(e))
152
+ n = wt(e, i);
153
153
  else {
154
- const n = q(t);
155
- i = {
156
- x: e.x - n.x,
157
- y: e.y - n.y,
154
+ const o = Z(t);
155
+ n = {
156
+ x: e.x - o.x,
157
+ y: e.y - o.y,
158
158
  width: e.width,
159
159
  height: e.height
160
160
  };
161
161
  }
162
- return S(i);
162
+ return G(n);
163
163
  }
164
- function J(t, e) {
165
- const o = O(t);
166
- return o === e || !g(o) || E(o) ? !1 : a(o).position === "fixed" || J(o, e);
164
+ function tt(t, e) {
165
+ const i = W(t);
166
+ return i === e || !v(i) || H(i) ? !1 : b(i).position === "fixed" || tt(i, e);
167
167
  }
168
- function at(t, e) {
169
- const o = e.get(t);
170
- if (o)
171
- return o;
172
- let i = rt(t, []).filter((c) => g(c) && N(c) !== "body"), n = null;
173
- const r = a(t).position === "fixed";
174
- let s = r ? O(t) : t;
175
- for (; g(s) && !E(s); ) {
176
- const c = a(s), f = P(s);
177
- !f && c.position === "fixed" && (n = null), (r ? !f && !n : !f && c.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || H(s) && !f && J(t, s)) ? i = i.filter((u) => u !== s) : n = c, s = O(s);
168
+ function mt(t, e) {
169
+ const i = e.get(t);
170
+ if (i)
171
+ return i;
172
+ let n = $(t, [], !1).filter((c) => v(c) && S(c) !== "body"), o = null;
173
+ const r = b(t).position === "fixed";
174
+ let s = r ? W(t) : t;
175
+ for (; v(s) && !H(s); ) {
176
+ const c = b(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 && tt(t, s)) ? n = n.filter((u) => u !== s) : o = c, s = W(s);
178
178
  }
179
- return e.set(t, i), i;
179
+ return e.set(t, n), n;
180
180
  }
181
- function pt(t) {
181
+ function yt(t) {
182
182
  let {
183
183
  element: e,
184
- boundary: o,
185
- rootBoundary: i,
186
- strategy: n
184
+ boundary: i,
185
+ rootBoundary: n,
186
+ strategy: o
187
187
  } = t;
188
- const s = [...o === "clippingAncestors" ? F(e) ? [] : at(e, this._c) : [].concat(o), i], c = s[0], f = s.reduce((l, u) => {
189
- const h = z(e, u, n);
190
- return l.top = v(h.top, l.top), l.right = k(h.right, l.right), l.bottom = k(h.bottom, l.bottom), l.left = v(h.left, l.left), l;
191
- }, z(e, c, n));
188
+ const s = [...i === "clippingAncestors" ? M(e) ? [] : mt(e, this._c) : [].concat(i), n], c = s[0], l = s.reduce((f, u) => {
189
+ const h = K(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
+ }, K(e, c, o));
192
192
  return {
193
- width: f.right - f.left,
194
- height: f.bottom - f.top,
195
- x: f.left,
196
- y: f.top
193
+ width: l.right - l.left,
194
+ height: l.bottom - l.top,
195
+ x: l.left,
196
+ y: l.top
197
197
  };
198
198
  }
199
- function wt(t) {
199
+ function xt(t) {
200
200
  const {
201
201
  width: e,
202
- height: o
203
- } = K(t);
202
+ height: i
203
+ } = Y(t);
204
204
  return {
205
205
  width: e,
206
- height: o
206
+ height: i
207
207
  };
208
208
  }
209
- function yt(t, e, o) {
210
- const i = w(e), n = y(e), r = o === "fixed", s = R(t, !0, r, e);
209
+ function vt(t, e, i) {
210
+ const n = O(e), o = R(e), r = i === "fixed", s = T(t, !0, r, e);
211
211
  let c = {
212
212
  scrollLeft: 0,
213
213
  scrollTop: 0
214
214
  };
215
- const f = d(0);
216
- if (i || !i && !r)
217
- if ((N(e) !== "body" || H(n)) && (c = B(e)), i) {
218
- const x = R(e, !0, r, e);
219
- f.x = x.x + e.clientLeft, f.y = x.y + e.clientTop;
220
- } else n && (f.x = V(n));
221
- const l = n && !i && !r ? G(n, c) : d(0), u = s.left + c.scrollLeft - f.x - l.x, h = s.top + c.scrollTop - f.y - l.y;
215
+ const l = y(0);
216
+ if (n || !n && !r)
217
+ if ((S(e) !== "body" || _(o)) && (c = N(e)), n) {
218
+ const p = T(e, !0, r, e);
219
+ l.x = p.x + e.clientLeft, l.y = p.y + e.clientTop;
220
+ } else o && (l.x = q(o));
221
+ const f = o && !n && !r ? X(o, c) : y(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,
@@ -226,81 +226,165 @@ function yt(t, e, o) {
226
226
  height: s.height
227
227
  };
228
228
  }
229
- function D(t) {
230
- return a(t).position === "static";
229
+ function I(t) {
230
+ return b(t).position === "static";
231
231
  }
232
- function M(t, e) {
233
- if (!w(t) || a(t).position === "fixed")
232
+ function j(t, e) {
233
+ if (!O(t) || b(t).position === "fixed")
234
234
  return null;
235
235
  if (e)
236
236
  return e(t);
237
- let o = t.offsetParent;
238
- return y(t) === o && (o = o.ownerDocument.body), o;
237
+ let i = t.offsetParent;
238
+ return R(t) === i && (i = i.ownerDocument.body), i;
239
239
  }
240
- function Q(t, e) {
241
- const o = m(t);
242
- if (F(t))
243
- return o;
244
- if (!w(t)) {
245
- let n = O(t);
246
- for (; n && !E(n); ) {
247
- if (g(n) && !D(n))
248
- return n;
249
- n = O(n);
240
+ function et(t, e) {
241
+ const i = L(t);
242
+ if (M(t))
243
+ return i;
244
+ if (!O(t)) {
245
+ let o = W(t);
246
+ for (; o && !H(o); ) {
247
+ if (v(o) && !I(o))
248
+ return o;
249
+ o = W(o);
250
250
  }
251
- return o;
251
+ return i;
252
252
  }
253
- let i = M(t, e);
254
- for (; i && nt(i) && D(i); )
255
- i = M(i, e);
256
- return i && E(i) && D(i) && !P(i) ? o : i || st(t) || o;
253
+ let n = j(t, e);
254
+ for (; n && lt(n) && I(n); )
255
+ n = j(n, e);
256
+ return n && H(n) && I(n) && !Q(n) ? i : n || ft(t) || i;
257
257
  }
258
- const xt = async function(t) {
259
- const e = this.getOffsetParent || Q, o = this.getDimensions, i = await o(t.floating);
258
+ const bt = async function(t) {
259
+ const e = this.getOffsetParent || et, i = this.getDimensions, n = await i(t.floating);
260
260
  return {
261
- reference: yt(t.reference, await e(t.floating), t.strategy),
261
+ reference: vt(t.reference, await e(t.floating), t.strategy),
262
262
  floating: {
263
263
  x: 0,
264
264
  y: 0,
265
- width: i.width,
266
- height: i.height
265
+ width: n.width,
266
+ height: n.height
267
267
  }
268
268
  };
269
269
  };
270
- function mt(t) {
271
- return a(t).direction === "rtl";
270
+ function Rt(t) {
271
+ return b(t).direction === "rtl";
272
+ }
273
+ const Ot = {
274
+ convertOffsetParentRelativeRectToViewportRelativeRect: at,
275
+ getDocumentElement: R,
276
+ getClippingRect: yt,
277
+ getOffsetParent: et,
278
+ getElementRects: bt,
279
+ getClientRects: dt,
280
+ getDimensions: xt,
281
+ getScale: F,
282
+ isElement: v,
283
+ isRTL: Rt
284
+ };
285
+ function Ct(t, e) {
286
+ let i = null, n;
287
+ const o = R(t);
288
+ function r() {
289
+ var c;
290
+ clearTimeout(n), (c = i) == null || c.disconnect(), i = null;
291
+ }
292
+ function s(c, l) {
293
+ c === void 0 && (c = !1), l === void 0 && (l = 1), r();
294
+ const {
295
+ left: f,
296
+ top: u,
297
+ width: h,
298
+ height: p
299
+ } = t.getBoundingClientRect();
300
+ if (c || e(), !h || !p)
301
+ return;
302
+ const g = z(u), x = z(o.clientWidth - (f + h)), a = z(o.clientHeight - (u + p)), w = z(f), m = {
303
+ rootMargin: -g + "px " + -x + "px " + -a + "px " + -w + "px",
304
+ threshold: E(0, V(1, l)) || 1
305
+ };
306
+ let C = !0;
307
+ function B(P) {
308
+ const A = P[0].intersectionRatio;
309
+ if (A !== l) {
310
+ if (!C)
311
+ return s();
312
+ A ? s(!1, A) : n = setTimeout(() => {
313
+ s(!1, 1e-7);
314
+ }, 1e3);
315
+ }
316
+ C = !1;
317
+ }
318
+ try {
319
+ i = new IntersectionObserver(B, {
320
+ ...m,
321
+ // Handle <iframe>s
322
+ root: o.ownerDocument
323
+ });
324
+ } catch {
325
+ i = new IntersectionObserver(B, m);
326
+ }
327
+ i.observe(t);
328
+ }
329
+ return s(!0), r;
330
+ }
331
+ function Ft(t, e, i, n) {
332
+ n === void 0 && (n = {});
333
+ const {
334
+ ancestorScroll: o = !0,
335
+ ancestorResize: r = !0,
336
+ elementResize: s = typeof ResizeObserver == "function",
337
+ layoutShift: c = typeof IntersectionObserver == "function",
338
+ animationFrame: l = !1
339
+ } = n, f = k(t), u = o || r ? [...f ? $(f) : [], ...$(e)] : [];
340
+ u.forEach((d) => {
341
+ o && d.addEventListener("scroll", i, {
342
+ passive: !0
343
+ }), r && d.addEventListener("resize", i);
344
+ });
345
+ const h = f && c ? Ct(f, i) : null;
346
+ let p = -1, g = null;
347
+ s && (g = new ResizeObserver((d) => {
348
+ let [m] = d;
349
+ m && m.target === f && g && (g.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
350
+ var C;
351
+ (C = g) == null || C.observe(e);
352
+ })), i();
353
+ }), f && !l && g.observe(f), g.observe(e));
354
+ let x, a = l ? T(t) : null;
355
+ l && w();
356
+ function w() {
357
+ const d = T(t);
358
+ a && (d.x !== a.x || d.y !== a.y || d.width !== a.width || d.height !== a.height) && i(), a = d, x = requestAnimationFrame(w);
359
+ }
360
+ return i(), () => {
361
+ var d;
362
+ u.forEach((m) => {
363
+ o && m.removeEventListener("scroll", i), r && m.removeEventListener("resize", i);
364
+ }), h == null || h(), (d = g) == null || d.disconnect(), g = null, l && cancelAnimationFrame(x);
365
+ };
272
366
  }
273
- const Ct = {
274
- convertOffsetParentRelativeRectToViewportRelativeRect: lt,
275
- getDocumentElement: y,
276
- getClippingRect: pt,
277
- getOffsetParent: Q,
278
- getElementRects: xt,
279
- getClientRects: ut,
280
- getDimensions: wt,
281
- getScale: T,
282
- isElement: g,
283
- isRTL: mt
284
- }, Rt = Z, Lt = tt, bt = X, Wt = et, Et = it, Bt = (t, e, o) => {
285
- const i = /* @__PURE__ */ new Map(), n = {
286
- platform: Ct,
287
- ...o
367
+ const Wt = it, Bt = ot, zt = nt, Dt = st, Ht = rt, Nt = (t, e, i) => {
368
+ const n = /* @__PURE__ */ new Map(), o = {
369
+ platform: Ot,
370
+ ...i
288
371
  }, r = {
289
- ...n.platform,
290
- _c: i
372
+ ...o.platform,
373
+ _c: n
291
374
  };
292
- return ot(t, e, {
293
- ...n,
375
+ return ct(t, e, {
376
+ ...o,
294
377
  platform: r
295
378
  });
296
379
  };
297
380
  export {
298
- Et as arrow,
299
- Bt as computePosition,
300
- bt as flip,
301
- rt as getOverflowAncestors,
302
- Rt as offset,
303
- Ct as platform,
304
- Lt as shift,
305
- Wt as size
381
+ Ht as arrow,
382
+ Ft as autoUpdate,
383
+ Nt as computePosition,
384
+ zt as flip,
385
+ $ as getOverflowAncestors,
386
+ Wt as offset,
387
+ Ot as platform,
388
+ Bt as shift,
389
+ Dt as size
306
390
  };