@oneclick.dev/cms-core-modules 0.0.81 → 0.0.83

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 (44) hide show
  1. package/dist/{ContentEditor-4e80zFyn.js → ContentEditor-CRFkD4tE.js} +33 -33
  2. package/dist/{ContentEditor-Dk-iDEjl.mjs → ContentEditor-CxKirDdL.mjs} +2861 -2854
  3. package/dist/{Create-DtFzwxn_.mjs → Create-CsqVYhPO.mjs} +1 -1
  4. package/dist/{Create-CRn2sMHp.js → Create-ip0MnS0o.js} +1 -1
  5. package/dist/{DateFormatter-DfIwyrnF.mjs → DateFormatter-CvOfaUnU.mjs} +137 -134
  6. package/dist/DateFormatter-ls6HfWpS.js +1 -0
  7. package/dist/{Detail-BwDnY42G.mjs → Detail-CbLk1v37.mjs} +1 -1
  8. package/dist/{Detail-Bxi7lG9x.js → Detail-RMXFuSRQ.js} +1 -1
  9. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-Ds7z0qeH.mjs → NewReservationDialog.vue_vue_type_script_setup_true_lang-CDc8MIq2.mjs} +1 -1
  10. package/dist/{NewReservationDialog.vue_vue_type_script_setup_true_lang-C5YczjNb.js → NewReservationDialog.vue_vue_type_script_setup_true_lang-StaNp-3y.js} +1 -1
  11. package/dist/{Overview-pCO_47Zt.js → Overview-B2bFNGhH.js} +1 -1
  12. package/dist/{Overview-CuCQgqVp.mjs → Overview-Cczt_dcE.mjs} +1 -1
  13. package/dist/{SeoHealth-EZzDmPDM.js → SeoHealth-DFZ0LLBH.js} +1 -1
  14. package/dist/{SeoHealth-CC0rW1AG.mjs → SeoHealth-ZpvB7CS2.mjs} +1 -1
  15. package/dist/{TableView-Ccp2Vkhr.mjs → TableView-BUPPcHUW.mjs} +28927 -28623
  16. package/dist/{TableView-DD3y_PZ3.js → TableView-CksiPsTL.js} +152 -152
  17. package/dist/{agenda-XqvbrU72.mjs → agenda-Cl3s_FIE.mjs} +2 -2
  18. package/dist/{agenda-wNFDKn0G.js → agenda-rlFma_wn.js} +1 -1
  19. package/dist/{exceptions-wEQEVzIs.js → exceptions-BA3PsW4n.js} +1 -1
  20. package/dist/{exceptions-CLgeeUSy.mjs → exceptions-DQPSFSj7.mjs} +1 -1
  21. package/dist/floating-ui.dom-B9WYoHj2.js +1 -0
  22. package/dist/{floating-ui.dom-BO2Hr6mz.mjs → floating-ui.dom-fpIfhXTZ.mjs} +400 -401
  23. package/dist/{index-DTzdHh6g.js → index-CBC9dWZ9.js} +1 -1
  24. package/dist/{index-DYpruS-A-D38FBcI3.mjs → index-DYpruS-A-Cw57iwdY.mjs} +2 -3
  25. package/dist/{index-DYpruS-A-CA2jEOA3.js → index-DYpruS-A-DwDXo9Tq.js} +5 -5
  26. package/dist/{index-N0NoDEsI.mjs → index-YOOlBEZB.mjs} +2 -2
  27. package/dist/index.cjs.js +1 -1
  28. package/dist/index.mjs +38 -24
  29. package/dist/orders-DZzdsHOW.mjs +397 -0
  30. package/dist/orders-tP4WdF5q.js +1 -0
  31. package/dist/server-handlers.cjs.js +1 -1
  32. package/dist/server-handlers.mjs +334 -293
  33. package/dist/src/appointments/server.d.ts +1 -1
  34. package/dist/src/contentManager/config.d.ts +28 -0
  35. package/dist/src/contentManager/index.d.ts +28 -0
  36. package/dist/src/contentManager/server.d.ts +7 -0
  37. package/dist/src/googleAnalytics/server.d.ts +1 -1
  38. package/dist/src/products/server.d.ts +1 -1
  39. package/dist/src/server-handlers.d.ts +1 -0
  40. package/package.json +3 -2
  41. package/dist/DateFormatter-C9qfmQnP.js +0 -1
  42. package/dist/floating-ui.dom-CAr9LGoC.js +0 -1
  43. package/dist/orders-Bqa3Z3tH.mjs +0 -356
  44. package/dist/orders-D5GJOZXN.js +0 -1
@@ -1,59 +1,56 @@
1
- const Dt = ["top", "right", "bottom", "left"], vt = ["start", "end"], bt = /* @__PURE__ */ Dt.reduce((t, e) => t.concat(e, e + "-" + vt[0], e + "-" + vt[1]), []), $ = Math.min, L = Math.max, ot = Math.round, nt = Math.floor, X = (t) => ({
1
+ const Ft = ["top", "right", "bottom", "left"], Rt = ["start", "end"], At = /* @__PURE__ */ Ft.reduce((t, e) => t.concat(e, e + "-" + Rt[0], e + "-" + Rt[1]), []), V = Math.min, L = Math.max, it = Math.round, ot = Math.floor, X = (t) => ({
2
2
  x: t,
3
3
  y: t
4
- }), Xt = {
4
+ }), Yt = {
5
5
  left: "right",
6
6
  right: "left",
7
7
  bottom: "top",
8
8
  top: "bottom"
9
- }, jt = {
10
- start: "end",
11
- end: "start"
12
9
  };
13
- function ut(t, e, n) {
14
- return L(t, $(e, n));
10
+ function mt(t, e, n) {
11
+ return L(t, V(e, n));
15
12
  }
16
13
  function _(t, e) {
17
14
  return typeof t == "function" ? t(e) : t;
18
15
  }
19
- function k(t) {
16
+ function B(t) {
20
17
  return t.split("-")[0];
21
18
  }
22
- function V(t) {
19
+ function H(t) {
23
20
  return t.split("-")[1];
24
21
  }
25
- function mt(t) {
22
+ function gt(t) {
26
23
  return t === "x" ? "y" : "x";
27
24
  }
28
- function ht(t) {
25
+ function pt(t) {
29
26
  return t === "y" ? "height" : "width";
30
27
  }
31
- const Yt = /* @__PURE__ */ new Set(["top", "bottom"]);
32
28
  function N(t) {
33
- return Yt.has(k(t)) ? "y" : "x";
29
+ const e = t[0];
30
+ return e === "t" || e === "b" ? "y" : "x";
34
31
  }
35
- function gt(t) {
36
- return mt(N(t));
32
+ function wt(t) {
33
+ return gt(N(t));
37
34
  }
38
- function Mt(t, e, n) {
35
+ function Bt(t, e, n) {
39
36
  n === void 0 && (n = !1);
40
- const o = V(t), i = gt(t), s = ht(i);
37
+ const o = H(t), i = wt(t), s = pt(i);
41
38
  let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
42
- return e.reference[s] > e.floating[s] && (r = st(r)), [r, st(r)];
39
+ return e.reference[s] > e.floating[s] && (r = rt(r)), [r, rt(r)];
43
40
  }
44
41
  function qt(t) {
45
- const e = st(t);
46
- return [it(t), e, it(e)];
42
+ const e = rt(t);
43
+ return [st(t), e, st(e)];
47
44
  }
48
- function it(t) {
49
- return t.replace(/start|end/g, (e) => jt[e]);
45
+ function st(t) {
46
+ return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
50
47
  }
51
- const At = ["left", "right"], Ot = ["right", "left"], Ut = ["top", "bottom"], Kt = ["bottom", "top"];
48
+ const Ot = ["left", "right"], Ct = ["right", "left"], Ut = ["top", "bottom"], Kt = ["bottom", "top"];
52
49
  function Gt(t, e, n) {
53
50
  switch (t) {
54
51
  case "top":
55
52
  case "bottom":
56
- return n ? e ? Ot : At : e ? At : Ot;
53
+ return n ? e ? Ct : Ot : e ? Ot : Ct;
57
54
  case "left":
58
55
  case "right":
59
56
  return e ? Ut : Kt;
@@ -62,12 +59,13 @@ function Gt(t, e, n) {
62
59
  }
63
60
  }
64
61
  function Jt(t, e, n, o) {
65
- const i = V(t);
66
- let s = Gt(k(t), n === "start", o);
67
- return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(it)))), s;
62
+ const i = H(t);
63
+ let s = Gt(B(t), n === "start", o);
64
+ return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(st)))), s;
68
65
  }
69
- function st(t) {
70
- return t.replace(/left|right|bottom|top/g, (e) => Xt[e]);
66
+ function rt(t) {
67
+ const e = B(t);
68
+ return Yt[e] + t.slice(e.length);
71
69
  }
72
70
  function Qt(t) {
73
71
  return {
@@ -78,7 +76,7 @@ function Qt(t) {
78
76
  ...t
79
77
  };
80
78
  }
81
- function pt(t) {
79
+ function xt(t) {
82
80
  return typeof t != "number" ? Qt(t) : {
83
81
  top: t,
84
82
  right: t,
@@ -86,7 +84,7 @@ function pt(t) {
86
84
  left: t
87
85
  };
88
86
  }
89
- function J(t) {
87
+ function Q(t) {
90
88
  const {
91
89
  x: e,
92
90
  y: n,
@@ -104,23 +102,23 @@ function J(t) {
104
102
  y: n
105
103
  };
106
104
  }
107
- function Rt(t, e, n) {
105
+ function St(t, e, n) {
108
106
  let {
109
107
  reference: o,
110
108
  floating: i
111
109
  } = t;
112
- const s = N(e), r = gt(e), c = ht(r), a = k(e), u = s === "y", d = o.x + o.width / 2 - i.width / 2, l = o.y + o.height / 2 - i.height / 2, m = o[c] / 2 - i[c] / 2;
110
+ const s = N(e), r = wt(e), c = pt(r), a = B(e), d = s === "y", u = o.x + o.width / 2 - i.width / 2, l = o.y + o.height / 2 - i.height / 2, m = o[c] / 2 - i[c] / 2;
113
111
  let f;
114
112
  switch (a) {
115
113
  case "top":
116
114
  f = {
117
- x: d,
115
+ x: u,
118
116
  y: o.y - i.height
119
117
  };
120
118
  break;
121
119
  case "bottom":
122
120
  f = {
123
- x: d,
121
+ x: u,
124
122
  y: o.y + o.height
125
123
  };
126
124
  break;
@@ -142,12 +140,12 @@ function Rt(t, e, n) {
142
140
  y: o.y
143
141
  };
144
142
  }
145
- switch (V(e)) {
143
+ switch (H(e)) {
146
144
  case "start":
147
- f[r] -= m * (n && u ? -1 : 1);
145
+ f[r] -= m * (n && d ? -1 : 1);
148
146
  break;
149
147
  case "end":
150
- f[r] += m * (n && u ? -1 : 1);
148
+ f[r] += m * (n && d ? -1 : 1);
151
149
  break;
152
150
  }
153
151
  return f;
@@ -163,15 +161,15 @@ async function Zt(t, e) {
163
161
  elements: c,
164
162
  strategy: a
165
163
  } = t, {
166
- boundary: u = "clippingAncestors",
167
- rootBoundary: d = "viewport",
164
+ boundary: d = "clippingAncestors",
165
+ rootBoundary: u = "viewport",
168
166
  elementContext: l = "floating",
169
167
  altBoundary: m = !1,
170
168
  padding: f = 0
171
- } = _(e, t), h = pt(f), p = c[m ? l === "floating" ? "reference" : "floating" : l], w = J(await s.getClippingRect({
169
+ } = _(e, t), h = xt(f), p = c[m ? l === "floating" ? "reference" : "floating" : l], w = Q(await s.getClippingRect({
172
170
  element: (n = await (s.isElement == null ? void 0 : s.isElement(p))) == null || n ? p : p.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
173
- boundary: u,
174
- rootBoundary: d,
171
+ boundary: d,
172
+ rootBoundary: u,
175
173
  strategy: a
176
174
  })), x = l === "floating" ? {
177
175
  x: o,
@@ -184,84 +182,84 @@ async function Zt(t, e) {
184
182
  } : {
185
183
  x: 1,
186
184
  y: 1
187
- }, A = J(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
185
+ }, R = Q(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
188
186
  elements: c,
189
187
  rect: x,
190
188
  offsetParent: y,
191
189
  strategy: a
192
190
  }) : x);
193
191
  return {
194
- top: (w.top - A.top + h.top) / v.y,
195
- bottom: (A.bottom - w.bottom + h.bottom) / v.y,
196
- left: (w.left - A.left + h.left) / v.x,
197
- right: (A.right - w.right + h.right) / v.x
192
+ top: (w.top - R.top + h.top) / v.y,
193
+ bottom: (R.bottom - w.bottom + h.bottom) / v.y,
194
+ left: (w.left - R.left + h.left) / v.x,
195
+ right: (R.right - w.right + h.right) / v.x
198
196
  };
199
197
  }
200
- const te = async (t, e, n) => {
198
+ const te = 50, ee = async (t, e, n) => {
201
199
  const {
202
200
  placement: o = "bottom",
203
201
  strategy: i = "absolute",
204
202
  middleware: s = [],
205
203
  platform: r
206
- } = n, c = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
207
- let u = await r.getElementRects({
204
+ } = n, c = r.detectOverflow ? r : {
205
+ ...r,
206
+ detectOverflow: Zt
207
+ }, a = await (r.isRTL == null ? void 0 : r.isRTL(e));
208
+ let d = await r.getElementRects({
208
209
  reference: t,
209
210
  floating: e,
210
211
  strategy: i
211
212
  }), {
212
- x: d,
213
+ x: u,
213
214
  y: l
214
- } = Rt(u, o, a), m = o, f = {}, h = 0;
215
- for (let p = 0; p < c.length; p++) {
216
- var g;
215
+ } = St(d, o, a), m = o, f = 0;
216
+ const h = {};
217
+ for (let g = 0; g < s.length; g++) {
218
+ const p = s[g];
219
+ if (!p)
220
+ continue;
217
221
  const {
218
222
  name: w,
219
223
  fn: x
220
- } = c[p], {
224
+ } = p, {
221
225
  x: y,
222
226
  y: v,
223
- data: A,
224
- reset: O
227
+ data: R,
228
+ reset: A
225
229
  } = await x({
226
- x: d,
230
+ x: u,
227
231
  y: l,
228
232
  initialPlacement: o,
229
233
  placement: m,
230
234
  strategy: i,
231
- middlewareData: f,
232
- rects: u,
233
- platform: {
234
- ...r,
235
- detectOverflow: (g = r.detectOverflow) != null ? g : Zt
236
- },
235
+ middlewareData: h,
236
+ rects: d,
237
+ platform: c,
237
238
  elements: {
238
239
  reference: t,
239
240
  floating: e
240
241
  }
241
242
  });
242
- d = y ?? d, l = v ?? l, f = {
243
- ...f,
244
- [w]: {
245
- ...f[w],
246
- ...A
247
- }
248
- }, O && h <= 50 && (h++, typeof O == "object" && (O.placement && (m = O.placement), O.rects && (u = O.rects === !0 ? await r.getElementRects({
243
+ u = y ?? u, l = v ?? l, h[w] = {
244
+ ...h[w],
245
+ ...R
246
+ }, A && f < te && (f++, typeof A == "object" && (A.placement && (m = A.placement), A.rects && (d = A.rects === !0 ? await r.getElementRects({
249
247
  reference: t,
250
248
  floating: e,
251
249
  strategy: i
252
- }) : O.rects), {
253
- x: d,
250
+ }) : A.rects), {
251
+ x: u,
254
252
  y: l
255
- } = Rt(u, m, a)), p = -1);
253
+ } = St(d, m, a)), g = -1);
256
254
  }
257
255
  return {
258
- x: d,
256
+ x: u,
259
257
  y: l,
260
258
  placement: m,
261
259
  strategy: i,
262
- middlewareData: f
260
+ middlewareData: h
263
261
  };
264
- }, ee = (t) => ({
262
+ }, ne = (t) => ({
265
263
  name: "arrow",
266
264
  options: t,
267
265
  async fn(e) {
@@ -274,35 +272,35 @@ const te = async (t, e, n) => {
274
272
  elements: c,
275
273
  middlewareData: a
276
274
  } = e, {
277
- element: u,
278
- padding: d = 0
275
+ element: d,
276
+ padding: u = 0
279
277
  } = _(t, e) || {};
280
- if (u == null)
278
+ if (d == null)
281
279
  return {};
282
- const l = pt(d), m = {
280
+ const l = xt(u), m = {
283
281
  x: n,
284
282
  y: o
285
- }, f = gt(i), h = ht(f), g = await r.getDimensions(u), p = f === "y", w = p ? "top" : "left", x = p ? "bottom" : "right", y = p ? "clientHeight" : "clientWidth", v = s.reference[h] + s.reference[f] - m[f] - s.floating[h], A = m[f] - s.reference[f], O = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(u));
286
- let R = O ? O[y] : 0;
287
- (!R || !await (r.isElement == null ? void 0 : r.isElement(O))) && (R = c.floating[y] || s.floating[h]);
288
- const B = v / 2 - A / 2, T = R / 2 - g[h] / 2 - 1, b = $(l[w], T), S = $(l[x], T), P = b, E = R - g[h] - S, C = R / 2 - g[h] / 2 + B, H = ut(P, C, E), W = !a.arrow && V(i) != null && C !== H && s.reference[h] / 2 - (C < P ? b : S) - g[h] / 2 < 0, D = W ? C < P ? C - P : C - E : 0;
283
+ }, f = wt(i), h = pt(f), g = await r.getDimensions(d), p = f === "y", w = p ? "top" : "left", x = p ? "bottom" : "right", y = p ? "clientHeight" : "clientWidth", v = s.reference[h] + s.reference[f] - m[f] - s.floating[h], R = m[f] - s.reference[f], A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
284
+ let O = A ? A[y] : 0;
285
+ (!O || !await (r.isElement == null ? void 0 : r.isElement(A))) && (O = c.floating[y] || s.floating[h]);
286
+ const W = v / 2 - R / 2, T = O / 2 - g[h] / 2 - 1, b = V(l[w], T), C = V(l[x], T), P = b, E = O - g[h] - C, S = O / 2 - g[h] / 2 + W, $ = mt(P, S, E), k = !a.arrow && H(i) != null && S !== $ && s.reference[h] / 2 - (S < P ? b : C) - g[h] / 2 < 0, D = k ? S < P ? S - P : S - E : 0;
289
287
  return {
290
288
  [f]: m[f] + D,
291
289
  data: {
292
- [f]: H,
293
- centerOffset: C - H - D,
294
- ...W && {
290
+ [f]: $,
291
+ centerOffset: S - $ - D,
292
+ ...k && {
295
293
  alignmentOffset: D
296
294
  }
297
295
  },
298
- reset: W
296
+ reset: k
299
297
  };
300
298
  }
301
299
  });
302
- function ne(t, e, n) {
303
- return (t ? [...n.filter((i) => V(i) === t), ...n.filter((i) => V(i) !== t)] : n.filter((i) => k(i) === i)).filter((i) => t ? V(i) === t || (e ? it(i) !== i : !1) : !0);
300
+ function oe(t, e, n) {
301
+ return (t ? [...n.filter((i) => H(i) === t), ...n.filter((i) => H(i) !== t)] : n.filter((i) => B(i) === i)).filter((i) => t ? H(i) === t || (e ? st(i) !== i : !1) : !0);
304
302
  }
305
- const oe = function(t) {
303
+ const ie = function(t) {
306
304
  return t === void 0 && (t = {}), {
307
305
  name: "autoPlacement",
308
306
  options: t,
@@ -313,56 +311,56 @@ const oe = function(t) {
313
311
  middlewareData: r,
314
312
  placement: c,
315
313
  platform: a,
316
- elements: u
314
+ elements: d
317
315
  } = e, {
318
- crossAxis: d = !1,
316
+ crossAxis: u = !1,
319
317
  alignment: l,
320
- allowedPlacements: m = bt,
318
+ allowedPlacements: m = At,
321
319
  autoAlignment: f = !0,
322
320
  ...h
323
- } = _(t, e), g = l !== void 0 || m === bt ? ne(l || null, f, m) : m, p = await a.detectOverflow(e, h), w = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, x = g[w];
321
+ } = _(t, e), g = l !== void 0 || m === At ? oe(l || null, f, m) : m, p = await a.detectOverflow(e, h), w = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, x = g[w];
324
322
  if (x == null)
325
323
  return {};
326
- const y = Mt(x, s, await (a.isRTL == null ? void 0 : a.isRTL(u.floating)));
324
+ const y = Bt(x, s, await (a.isRTL == null ? void 0 : a.isRTL(d.floating)));
327
325
  if (c !== x)
328
326
  return {
329
327
  reset: {
330
328
  placement: g[0]
331
329
  }
332
330
  };
333
- const v = [p[k(x)], p[y[0]], p[y[1]]], A = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
331
+ const v = [p[B(x)], p[y[0]], p[y[1]]], R = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
334
332
  placement: x,
335
333
  overflows: v
336
- }], O = g[w + 1];
337
- if (O)
334
+ }], A = g[w + 1];
335
+ if (A)
338
336
  return {
339
337
  data: {
340
338
  index: w + 1,
341
- overflows: A
339
+ overflows: R
342
340
  },
343
341
  reset: {
344
- placement: O
342
+ placement: A
345
343
  }
346
344
  };
347
- const R = A.map((b) => {
348
- const S = V(b.placement);
349
- return [b.placement, S && d ? (
345
+ const O = R.map((b) => {
346
+ const C = H(b.placement);
347
+ return [b.placement, C && u ? (
350
348
  // Check along the mainAxis and main crossAxis side.
351
349
  b.overflows.slice(0, 2).reduce((P, E) => P + E, 0)
352
350
  ) : (
353
351
  // Check only the mainAxis.
354
352
  b.overflows[0]
355
353
  ), b.overflows];
356
- }).sort((b, S) => b[1] - S[1]), T = ((i = R.filter((b) => b[2].slice(
354
+ }).sort((b, C) => b[1] - C[1]), T = ((i = O.filter((b) => b[2].slice(
357
355
  0,
358
356
  // Aligned placements should not check their opposite crossAxis
359
357
  // side.
360
- V(b[0]) ? 2 : 3
361
- ).every((S) => S <= 0))[0]) == null ? void 0 : i[0]) || R[0][0];
358
+ H(b[0]) ? 2 : 3
359
+ ).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) || O[0][0];
362
360
  return T !== c ? {
363
361
  data: {
364
362
  index: w + 1,
365
- overflows: A
363
+ overflows: R
366
364
  },
367
365
  reset: {
368
366
  placement: T
@@ -370,7 +368,7 @@ const oe = function(t) {
370
368
  } : {};
371
369
  }
372
370
  };
373
- }, ie = function(t) {
371
+ }, se = function(t) {
374
372
  return t === void 0 && (t = {}), {
375
373
  name: "flip",
376
374
  options: t,
@@ -382,9 +380,9 @@ const oe = function(t) {
382
380
  rects: r,
383
381
  initialPlacement: c,
384
382
  platform: a,
385
- elements: u
383
+ elements: d
386
384
  } = e, {
387
- mainAxis: d = !0,
385
+ mainAxis: u = !0,
388
386
  crossAxis: l = !0,
389
387
  fallbackPlacements: m,
390
388
  fallbackStrategy: f = "bestFit",
@@ -394,57 +392,57 @@ const oe = function(t) {
394
392
  } = _(t, e);
395
393
  if ((n = s.arrow) != null && n.alignmentOffset)
396
394
  return {};
397
- const w = k(i), x = N(c), y = k(c) === c, v = await (a.isRTL == null ? void 0 : a.isRTL(u.floating)), A = m || (y || !g ? [st(c)] : qt(c)), O = h !== "none";
398
- !m && O && A.push(...Jt(c, g, h, v));
399
- const R = [c, ...A], B = await a.detectOverflow(e, p), T = [];
395
+ const w = B(i), x = N(c), y = B(c) === c, v = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), R = m || (y || !g ? [rt(c)] : qt(c)), A = h !== "none";
396
+ !m && A && R.push(...Jt(c, g, h, v));
397
+ const O = [c, ...R], W = await a.detectOverflow(e, p), T = [];
400
398
  let b = ((o = s.flip) == null ? void 0 : o.overflows) || [];
401
- if (d && T.push(B[w]), l) {
402
- const C = Mt(i, r, v);
403
- T.push(B[C[0]], B[C[1]]);
399
+ if (u && T.push(W[w]), l) {
400
+ const S = Bt(i, r, v);
401
+ T.push(W[S[0]], W[S[1]]);
404
402
  }
405
403
  if (b = [...b, {
406
404
  placement: i,
407
405
  overflows: T
408
- }], !T.every((C) => C <= 0)) {
409
- var S, P;
410
- const C = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, H = R[C];
411
- if (H && (!(l === "alignment" ? x !== N(H) : !1) || // We leave the current main axis only if every placement on that axis
406
+ }], !T.every((S) => S <= 0)) {
407
+ var C, P;
408
+ const S = (((C = s.flip) == null ? void 0 : C.index) || 0) + 1, $ = O[S];
409
+ if ($ && (!(l === "alignment" ? x !== N($) : !1) || // We leave the current main axis only if every placement on that axis
412
410
  // overflows the main axis.
413
411
  b.every((M) => N(M.placement) === x ? M.overflows[0] > 0 : !0)))
414
412
  return {
415
413
  data: {
416
- index: C,
414
+ index: S,
417
415
  overflows: b
418
416
  },
419
417
  reset: {
420
- placement: H
418
+ placement: $
421
419
  }
422
420
  };
423
- let W = (P = b.filter((D) => D.overflows[0] <= 0).sort((D, M) => D.overflows[1] - M.overflows[1])[0]) == null ? void 0 : P.placement;
424
- if (!W)
421
+ let k = (P = b.filter((D) => D.overflows[0] <= 0).sort((D, M) => D.overflows[1] - M.overflows[1])[0]) == null ? void 0 : P.placement;
422
+ if (!k)
425
423
  switch (f) {
426
424
  case "bestFit": {
427
425
  var E;
428
426
  const D = (E = b.filter((M) => {
429
- if (O) {
427
+ if (A) {
430
428
  const q = N(M.placement);
431
429
  return q === x || // Create a bias to the `y` side axis due to horizontal
432
430
  // reading directions favoring greater width.
433
431
  q === "y";
434
432
  }
435
433
  return !0;
436
- }).map((M) => [M.placement, M.overflows.filter((q) => q > 0).reduce((q, It) => q + It, 0)]).sort((M, q) => M[1] - q[1])[0]) == null ? void 0 : E[0];
437
- D && (W = D);
434
+ }).map((M) => [M.placement, M.overflows.filter((q) => q > 0).reduce((q, jt) => q + jt, 0)]).sort((M, q) => M[1] - q[1])[0]) == null ? void 0 : E[0];
435
+ D && (k = D);
438
436
  break;
439
437
  }
440
438
  case "initialPlacement":
441
- W = c;
439
+ k = c;
442
440
  break;
443
441
  }
444
- if (i !== W)
442
+ if (i !== k)
445
443
  return {
446
444
  reset: {
447
- placement: W
445
+ placement: k
448
446
  }
449
447
  };
450
448
  }
@@ -452,7 +450,7 @@ const oe = function(t) {
452
450
  }
453
451
  };
454
452
  };
455
- function St(t, e) {
453
+ function Lt(t, e) {
456
454
  return {
457
455
  top: t.top - e.height,
458
456
  right: t.right - e.width,
@@ -460,10 +458,10 @@ function St(t, e) {
460
458
  left: t.left - e.width
461
459
  };
462
460
  }
463
- function Ct(t) {
464
- return Dt.some((e) => t[e] >= 0);
461
+ function Tt(t) {
462
+ return Ft.some((e) => t[e] >= 0);
465
463
  }
466
- const se = function(t) {
464
+ const re = function(t) {
467
465
  return t === void 0 && (t = {}), {
468
466
  name: "hide",
469
467
  options: t,
@@ -480,11 +478,11 @@ const se = function(t) {
480
478
  const r = await o.detectOverflow(e, {
481
479
  ...s,
482
480
  elementContext: "reference"
483
- }), c = St(r, n.reference);
481
+ }), c = Lt(r, n.reference);
484
482
  return {
485
483
  data: {
486
484
  referenceHiddenOffsets: c,
487
- referenceHidden: Ct(c)
485
+ referenceHidden: Tt(c)
488
486
  }
489
487
  };
490
488
  }
@@ -492,11 +490,11 @@ const se = function(t) {
492
490
  const r = await o.detectOverflow(e, {
493
491
  ...s,
494
492
  altBoundary: !0
495
- }), c = St(r, n.floating);
493
+ }), c = Lt(r, n.floating);
496
494
  return {
497
495
  data: {
498
496
  escapedOffsets: c,
499
- escaped: Ct(c)
497
+ escaped: Tt(c)
500
498
  }
501
499
  };
502
500
  }
@@ -506,8 +504,8 @@ const se = function(t) {
506
504
  }
507
505
  };
508
506
  };
509
- function Ft(t) {
510
- const e = $(...t.map((s) => s.left)), n = $(...t.map((s) => s.top)), o = L(...t.map((s) => s.right)), i = L(...t.map((s) => s.bottom));
507
+ function Wt(t) {
508
+ const e = V(...t.map((s) => s.left)), n = V(...t.map((s) => s.top)), o = L(...t.map((s) => s.right)), i = L(...t.map((s) => s.bottom));
511
509
  return {
512
510
  x: e,
513
511
  y: n,
@@ -515,16 +513,16 @@ function Ft(t) {
515
513
  height: i - n
516
514
  };
517
515
  }
518
- function re(t) {
516
+ function ce(t) {
519
517
  const e = t.slice().sort((i, s) => i.y - s.y), n = [];
520
518
  let o = null;
521
519
  for (let i = 0; i < e.length; i++) {
522
520
  const s = e[i];
523
521
  !o || s.y - o.y > o.height / 2 ? n.push([s]) : n[n.length - 1].push(s), o = s;
524
522
  }
525
- return n.map((i) => J(Ft(i)));
523
+ return n.map((i) => Q(Wt(i)));
526
524
  }
527
- const ce = function(t) {
525
+ const le = function(t) {
528
526
  return t === void 0 && (t = {}), {
529
527
  name: "inline",
530
528
  options: t,
@@ -538,34 +536,34 @@ const ce = function(t) {
538
536
  } = e, {
539
537
  padding: c = 2,
540
538
  x: a,
541
- y: u
542
- } = _(t, e), d = Array.from(await (s.getClientRects == null ? void 0 : s.getClientRects(o.reference)) || []), l = re(d), m = J(Ft(d)), f = pt(c);
539
+ y: d
540
+ } = _(t, e), u = Array.from(await (s.getClientRects == null ? void 0 : s.getClientRects(o.reference)) || []), l = ce(u), m = Q(Wt(u)), f = xt(c);
543
541
  function h() {
544
- if (l.length === 2 && l[0].left > l[1].right && a != null && u != null)
545
- return l.find((p) => a > p.left - f.left && a < p.right + f.right && u > p.top - f.top && u < p.bottom + f.bottom) || m;
542
+ if (l.length === 2 && l[0].left > l[1].right && a != null && d != null)
543
+ return l.find((p) => a > p.left - f.left && a < p.right + f.right && d > p.top - f.top && d < p.bottom + f.bottom) || m;
546
544
  if (l.length >= 2) {
547
545
  if (N(n) === "y") {
548
- const b = l[0], S = l[l.length - 1], P = k(n) === "top", E = b.top, C = S.bottom, H = P ? b.left : S.left, W = P ? b.right : S.right, D = W - H, M = C - E;
546
+ const b = l[0], C = l[l.length - 1], P = B(n) === "top", E = b.top, S = C.bottom, $ = P ? b.left : C.left, k = P ? b.right : C.right, D = k - $, M = S - E;
549
547
  return {
550
548
  top: E,
551
- bottom: C,
552
- left: H,
553
- right: W,
549
+ bottom: S,
550
+ left: $,
551
+ right: k,
554
552
  width: D,
555
553
  height: M,
556
- x: H,
554
+ x: $,
557
555
  y: E
558
556
  };
559
557
  }
560
- const p = k(n) === "left", w = L(...l.map((b) => b.right)), x = $(...l.map((b) => b.left)), y = l.filter((b) => p ? b.left === x : b.right === w), v = y[0].top, A = y[y.length - 1].bottom, O = x, R = w, B = R - O, T = A - v;
558
+ const p = B(n) === "left", w = L(...l.map((b) => b.right)), x = V(...l.map((b) => b.left)), y = l.filter((b) => p ? b.left === x : b.right === w), v = y[0].top, R = y[y.length - 1].bottom, A = x, O = w, W = O - A, T = R - v;
561
559
  return {
562
560
  top: v,
563
- bottom: A,
564
- left: O,
565
- right: R,
566
- width: B,
561
+ bottom: R,
562
+ left: A,
563
+ right: O,
564
+ width: W,
567
565
  height: T,
568
- x: O,
566
+ x: A,
569
567
  y: v
570
568
  };
571
569
  }
@@ -586,12 +584,12 @@ const ce = function(t) {
586
584
  }
587
585
  };
588
586
  }, kt = /* @__PURE__ */ new Set(["left", "top"]);
589
- async function le(t, e) {
587
+ async function fe(t, e) {
590
588
  const {
591
589
  placement: n,
592
590
  platform: o,
593
591
  elements: i
594
- } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = k(n), c = V(n), a = N(n) === "y", u = kt.has(r) ? -1 : 1, d = s && a ? -1 : 1, l = _(e, t);
592
+ } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = B(n), c = H(n), a = N(n) === "y", d = kt.has(r) ? -1 : 1, u = s && a ? -1 : 1, l = _(e, t);
595
593
  let {
596
594
  mainAxis: m,
597
595
  crossAxis: f,
@@ -606,11 +604,11 @@ async function le(t, e) {
606
604
  alignmentAxis: l.alignmentAxis
607
605
  };
608
606
  return c && typeof h == "number" && (f = c === "end" ? h * -1 : h), a ? {
609
- x: f * d,
610
- y: m * u
607
+ x: f * u,
608
+ y: m * d
611
609
  } : {
612
- x: m * u,
613
- y: f * d
610
+ x: m * d,
611
+ y: f * u
614
612
  };
615
613
  }
616
614
  const ae = function(t) {
@@ -624,7 +622,7 @@ const ae = function(t) {
624
622
  y: s,
625
623
  placement: r,
626
624
  middlewareData: c
627
- } = e, a = await le(e, t);
625
+ } = e, a = await fe(e, t);
628
626
  return r === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
629
627
  x: i + a.x,
630
628
  y: s + a.y,
@@ -635,7 +633,7 @@ const ae = function(t) {
635
633
  };
636
634
  }
637
635
  };
638
- }, fe = function(t) {
636
+ }, ue = function(t) {
639
637
  return t === void 0 && (t = {}), {
640
638
  name: "shift",
641
639
  options: t,
@@ -660,19 +658,19 @@ const ae = function(t) {
660
658
  };
661
659
  }
662
660
  },
663
- ...u
664
- } = _(t, e), d = {
661
+ ...d
662
+ } = _(t, e), u = {
665
663
  x: n,
666
664
  y: o
667
- }, l = await s.detectOverflow(e, u), m = N(k(i)), f = mt(m);
668
- let h = d[f], g = d[m];
665
+ }, l = await s.detectOverflow(e, d), m = N(B(i)), f = gt(m);
666
+ let h = u[f], g = u[m];
669
667
  if (r) {
670
668
  const w = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", y = h + l[w], v = h - l[x];
671
- h = ut(y, h, v);
669
+ h = mt(y, h, v);
672
670
  }
673
671
  if (c) {
674
672
  const w = m === "y" ? "top" : "left", x = m === "y" ? "bottom" : "right", y = g + l[w], v = g - l[x];
675
- g = ut(y, g, v);
673
+ g = mt(y, g, v);
676
674
  }
677
675
  const p = a.fn({
678
676
  ...e,
@@ -692,7 +690,7 @@ const ae = function(t) {
692
690
  };
693
691
  }
694
692
  };
695
- }, ue = function(t) {
693
+ }, de = function(t) {
696
694
  return t === void 0 && (t = {}), {
697
695
  options: t,
698
696
  fn(e) {
@@ -705,12 +703,12 @@ const ae = function(t) {
705
703
  } = e, {
706
704
  offset: c = 0,
707
705
  mainAxis: a = !0,
708
- crossAxis: u = !0
709
- } = _(t, e), d = {
706
+ crossAxis: d = !0
707
+ } = _(t, e), u = {
710
708
  x: n,
711
709
  y: o
712
- }, l = N(i), m = mt(l);
713
- let f = d[m], h = d[l];
710
+ }, l = N(i), m = gt(l);
711
+ let f = u[m], h = u[l];
714
712
  const g = _(c, e), p = typeof g == "number" ? {
715
713
  mainAxis: g,
716
714
  crossAxis: 0
@@ -720,13 +718,13 @@ const ae = function(t) {
720
718
  ...g
721
719
  };
722
720
  if (a) {
723
- const y = m === "y" ? "height" : "width", v = s.reference[m] - s.floating[y] + p.mainAxis, A = s.reference[m] + s.reference[y] - p.mainAxis;
724
- f < v ? f = v : f > A && (f = A);
721
+ const y = m === "y" ? "height" : "width", v = s.reference[m] - s.floating[y] + p.mainAxis, R = s.reference[m] + s.reference[y] - p.mainAxis;
722
+ f < v ? f = v : f > R && (f = R);
725
723
  }
726
- if (u) {
724
+ if (d) {
727
725
  var w, x;
728
- const y = m === "y" ? "width" : "height", v = kt.has(k(i)), A = s.reference[l] - s.floating[y] + (v && ((w = r.offset) == null ? void 0 : w[l]) || 0) + (v ? 0 : p.crossAxis), O = s.reference[l] + s.reference[y] + (v ? 0 : ((x = r.offset) == null ? void 0 : x[l]) || 0) - (v ? p.crossAxis : 0);
729
- h < A ? h = A : h > O && (h = O);
726
+ const y = m === "y" ? "width" : "height", v = kt.has(B(i)), R = s.reference[l] - s.floating[y] + (v && ((w = r.offset) == null ? void 0 : w[l]) || 0) + (v ? 0 : p.crossAxis), A = s.reference[l] + s.reference[y] + (v ? 0 : ((x = r.offset) == null ? void 0 : x[l]) || 0) - (v ? p.crossAxis : 0);
727
+ h < R ? h = R : h > A && (h = A);
730
728
  }
731
729
  return {
732
730
  [m]: f,
@@ -734,7 +732,7 @@ const ae = function(t) {
734
732
  };
735
733
  }
736
734
  };
737
- }, de = function(t) {
735
+ }, me = function(t) {
738
736
  return t === void 0 && (t = {}), {
739
737
  name: "size",
740
738
  options: t,
@@ -748,23 +746,23 @@ const ae = function(t) {
748
746
  } = e, {
749
747
  apply: a = () => {
750
748
  },
751
- ...u
752
- } = _(t, e), d = await r.detectOverflow(e, u), l = k(i), m = V(i), f = N(i) === "y", {
749
+ ...d
750
+ } = _(t, e), u = await r.detectOverflow(e, d), l = B(i), m = H(i), f = N(i) === "y", {
753
751
  width: h,
754
752
  height: g
755
753
  } = s.floating;
756
754
  let p, w;
757
755
  l === "top" || l === "bottom" ? (p = l, w = m === (await (r.isRTL == null ? void 0 : r.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (w = l, p = m === "end" ? "top" : "bottom");
758
- const x = g - d.top - d.bottom, y = h - d.left - d.right, v = $(g - d[p], x), A = $(h - d[w], y), O = !e.middlewareData.shift;
759
- let R = v, B = A;
760
- if ((n = e.middlewareData.shift) != null && n.enabled.x && (B = y), (o = e.middlewareData.shift) != null && o.enabled.y && (R = x), O && !m) {
761
- const b = L(d.left, 0), S = L(d.right, 0), P = L(d.top, 0), E = L(d.bottom, 0);
762
- f ? B = h - 2 * (b !== 0 || S !== 0 ? b + S : L(d.left, d.right)) : R = g - 2 * (P !== 0 || E !== 0 ? P + E : L(d.top, d.bottom));
756
+ const x = g - u.top - u.bottom, y = h - u.left - u.right, v = V(g - u[p], x), R = V(h - u[w], y), A = !e.middlewareData.shift;
757
+ let O = v, W = R;
758
+ if ((n = e.middlewareData.shift) != null && n.enabled.x && (W = y), (o = e.middlewareData.shift) != null && o.enabled.y && (O = x), A && !m) {
759
+ const b = L(u.left, 0), C = L(u.right, 0), P = L(u.top, 0), E = L(u.bottom, 0);
760
+ f ? W = h - 2 * (b !== 0 || C !== 0 ? b + C : L(u.left, u.right)) : O = g - 2 * (P !== 0 || E !== 0 ? P + E : L(u.top, u.bottom));
763
761
  }
764
762
  await a({
765
763
  ...e,
766
- availableWidth: B,
767
- availableHeight: R
764
+ availableWidth: W,
765
+ availableHeight: O
768
766
  });
769
767
  const T = await r.getDimensions(c.floating);
770
768
  return h !== T.width || g !== T.height ? {
@@ -775,83 +773,83 @@ const ae = function(t) {
775
773
  }
776
774
  };
777
775
  };
778
- function rt() {
776
+ function ct() {
779
777
  return typeof window < "u";
780
778
  }
781
- function Z(t) {
782
- return Bt(t) ? (t.nodeName || "").toLowerCase() : "#document";
779
+ function tt(t) {
780
+ return $t(t) ? (t.nodeName || "").toLowerCase() : "#document";
783
781
  }
784
782
  function F(t) {
785
783
  var e;
786
784
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
787
785
  }
788
- function Y(t) {
786
+ function j(t) {
789
787
  var e;
790
- return (e = (Bt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
788
+ return (e = ($t(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
791
789
  }
792
- function Bt(t) {
793
- return rt() ? t instanceof Node || t instanceof F(t).Node : !1;
790
+ function $t(t) {
791
+ return ct() ? t instanceof Node || t instanceof F(t).Node : !1;
794
792
  }
795
793
  function z(t) {
796
- return rt() ? t instanceof Element || t instanceof F(t).Element : !1;
794
+ return ct() ? t instanceof Element || t instanceof F(t).Element : !1;
797
795
  }
798
- function j(t) {
799
- return rt() ? t instanceof HTMLElement || t instanceof F(t).HTMLElement : !1;
796
+ function Y(t) {
797
+ return ct() ? t instanceof HTMLElement || t instanceof F(t).HTMLElement : !1;
800
798
  }
801
- function Lt(t) {
802
- return !rt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof F(t).ShadowRoot;
799
+ function Pt(t) {
800
+ return !ct() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof F(t).ShadowRoot;
803
801
  }
804
- const me = /* @__PURE__ */ new Set(["inline", "contents"]);
805
- function et(t) {
802
+ function nt(t) {
806
803
  const {
807
804
  overflow: e,
808
805
  overflowX: n,
809
806
  overflowY: o,
810
807
  display: i
811
808
  } = I(t);
812
- return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !me.has(i);
809
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && i !== "inline" && i !== "contents";
813
810
  }
814
- const he = /* @__PURE__ */ new Set(["table", "td", "th"]);
815
- function ge(t) {
816
- return he.has(Z(t));
811
+ function he(t) {
812
+ return /^(table|td|th)$/.test(tt(t));
817
813
  }
818
- const pe = [":popover-open", ":modal"];
819
- function ct(t) {
820
- return pe.some((e) => {
821
- try {
822
- return t.matches(e);
823
- } catch {
824
- return !1;
825
- }
826
- });
814
+ function lt(t) {
815
+ try {
816
+ if (t.matches(":popover-open"))
817
+ return !0;
818
+ } catch {
819
+ }
820
+ try {
821
+ return t.matches(":modal");
822
+ } catch {
823
+ return !1;
824
+ }
827
825
  }
828
- const we = ["transform", "translate", "scale", "rotate", "perspective"], xe = ["transform", "translate", "scale", "rotate", "perspective", "filter"], ye = ["paint", "layout", "strict", "content"];
829
- function wt(t) {
830
- const e = xt(), n = z(t) ? I(t) : t;
831
- return we.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || xe.some((o) => (n.willChange || "").includes(o)) || ye.some((o) => (n.contain || "").includes(o));
826
+ const ge = /transform|translate|scale|rotate|perspective|filter/, pe = /paint|layout|strict|content/, K = (t) => !!t && t !== "none";
827
+ let ut;
828
+ function yt(t) {
829
+ const e = z(t) ? I(t) : t;
830
+ return K(e.transform) || K(e.translate) || K(e.scale) || K(e.rotate) || K(e.perspective) || !vt() && (K(e.backdropFilter) || K(e.filter)) || ge.test(e.willChange || "") || pe.test(e.contain || "");
832
831
  }
833
- function ve(t) {
832
+ function we(t) {
834
833
  let e = U(t);
835
- for (; j(e) && !Q(e); ) {
836
- if (wt(e))
834
+ for (; Y(e) && !Z(e); ) {
835
+ if (yt(e))
837
836
  return e;
838
- if (ct(e))
837
+ if (lt(e))
839
838
  return null;
840
839
  e = U(e);
841
840
  }
842
841
  return null;
843
842
  }
844
- function xt() {
845
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
843
+ function vt() {
844
+ return ut == null && (ut = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), ut;
846
845
  }
847
- const be = /* @__PURE__ */ new Set(["html", "body", "#document"]);
848
- function Q(t) {
849
- return be.has(Z(t));
846
+ function Z(t) {
847
+ return /^(html|body|#document)$/.test(tt(t));
850
848
  }
851
849
  function I(t) {
852
850
  return F(t).getComputedStyle(t);
853
851
  }
854
- function lt(t) {
852
+ function ft(t) {
855
853
  return z(t) ? {
856
854
  scrollLeft: t.scrollLeft,
857
855
  scrollTop: t.scrollTop
@@ -861,138 +859,138 @@ function lt(t) {
861
859
  };
862
860
  }
863
861
  function U(t) {
864
- if (Z(t) === "html")
862
+ if (tt(t) === "html")
865
863
  return t;
866
864
  const e = (
867
865
  // Step into the shadow DOM of the parent of a slotted node.
868
866
  t.assignedSlot || // DOM Element detected.
869
867
  t.parentNode || // ShadowRoot detected.
870
- Lt(t) && t.host || // Fallback.
871
- Y(t)
868
+ Pt(t) && t.host || // Fallback.
869
+ j(t)
872
870
  );
873
- return Lt(e) ? e.host : e;
871
+ return Pt(e) ? e.host : e;
874
872
  }
875
- function Wt(t) {
873
+ function Nt(t) {
876
874
  const e = U(t);
877
- return Q(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : j(e) && et(e) ? e : Wt(e);
875
+ return Z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Y(e) && nt(e) ? e : Nt(e);
878
876
  }
879
- function tt(t, e, n) {
877
+ function et(t, e, n) {
880
878
  var o;
881
879
  e === void 0 && (e = []), n === void 0 && (n = !0);
882
- const i = Wt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = F(i);
880
+ const i = Nt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = F(i);
883
881
  if (s) {
884
- const c = dt(r);
885
- return e.concat(r, r.visualViewport || [], et(i) ? i : [], c && n ? tt(c) : []);
886
- }
887
- return e.concat(i, tt(i, [], n));
882
+ const c = ht(r);
883
+ return e.concat(r, r.visualViewport || [], nt(i) ? i : [], c && n ? et(c) : []);
884
+ } else
885
+ return e.concat(i, et(i, [], n));
888
886
  }
889
- function dt(t) {
887
+ function ht(t) {
890
888
  return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
891
889
  }
892
890
  function Ht(t) {
893
891
  const e = I(t);
894
892
  let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
895
- const i = j(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = ot(n) !== s || ot(o) !== r;
893
+ const i = Y(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = it(n) !== s || it(o) !== r;
896
894
  return c && (n = s, o = r), {
897
895
  width: n,
898
896
  height: o,
899
897
  $: c
900
898
  };
901
899
  }
902
- function yt(t) {
900
+ function bt(t) {
903
901
  return z(t) ? t : t.contextElement;
904
902
  }
905
- function G(t) {
906
- const e = yt(t);
907
- if (!j(e))
903
+ function J(t) {
904
+ const e = bt(t);
905
+ if (!Y(e))
908
906
  return X(1);
909
907
  const n = e.getBoundingClientRect(), {
910
908
  width: o,
911
909
  height: i,
912
910
  $: s
913
911
  } = Ht(e);
914
- let r = (s ? ot(n.width) : n.width) / o, c = (s ? ot(n.height) : n.height) / i;
912
+ let r = (s ? it(n.width) : n.width) / o, c = (s ? it(n.height) : n.height) / i;
915
913
  return (!r || !Number.isFinite(r)) && (r = 1), (!c || !Number.isFinite(c)) && (c = 1), {
916
914
  x: r,
917
915
  y: c
918
916
  };
919
917
  }
920
- const Ae = /* @__PURE__ */ X(0);
921
- function Nt(t) {
918
+ const xe = /* @__PURE__ */ X(0);
919
+ function Vt(t) {
922
920
  const e = F(t);
923
- return !xt() || !e.visualViewport ? Ae : {
921
+ return !vt() || !e.visualViewport ? xe : {
924
922
  x: e.visualViewport.offsetLeft,
925
923
  y: e.visualViewport.offsetTop
926
924
  };
927
925
  }
928
- function Oe(t, e, n) {
926
+ function ye(t, e, n) {
929
927
  return e === void 0 && (e = !1), !n || e && n !== F(t) ? !1 : e;
930
928
  }
931
- function K(t, e, n, o) {
929
+ function G(t, e, n, o) {
932
930
  e === void 0 && (e = !1), n === void 0 && (n = !1);
933
- const i = t.getBoundingClientRect(), s = yt(t);
931
+ const i = t.getBoundingClientRect(), s = bt(t);
934
932
  let r = X(1);
935
- e && (o ? z(o) && (r = G(o)) : r = G(t));
936
- const c = Oe(s, n, o) ? Nt(s) : X(0);
937
- let a = (i.left + c.x) / r.x, u = (i.top + c.y) / r.y, d = i.width / r.x, l = i.height / r.y;
933
+ e && (o ? z(o) && (r = J(o)) : r = J(t));
934
+ const c = ye(s, n, o) ? Vt(s) : X(0);
935
+ let a = (i.left + c.x) / r.x, d = (i.top + c.y) / r.y, u = i.width / r.x, l = i.height / r.y;
938
936
  if (s) {
939
937
  const m = F(s), f = o && z(o) ? F(o) : o;
940
- let h = m, g = dt(h);
938
+ let h = m, g = ht(h);
941
939
  for (; g && o && f !== h; ) {
942
- const p = G(g), w = g.getBoundingClientRect(), x = I(g), y = w.left + (g.clientLeft + parseFloat(x.paddingLeft)) * p.x, v = w.top + (g.clientTop + parseFloat(x.paddingTop)) * p.y;
943
- a *= p.x, u *= p.y, d *= p.x, l *= p.y, a += y, u += v, h = F(g), g = dt(h);
940
+ const p = J(g), w = g.getBoundingClientRect(), x = I(g), y = w.left + (g.clientLeft + parseFloat(x.paddingLeft)) * p.x, v = w.top + (g.clientTop + parseFloat(x.paddingTop)) * p.y;
941
+ a *= p.x, d *= p.y, u *= p.x, l *= p.y, a += y, d += v, h = F(g), g = ht(h);
944
942
  }
945
943
  }
946
- return J({
947
- width: d,
944
+ return Q({
945
+ width: u,
948
946
  height: l,
949
947
  x: a,
950
- y: u
948
+ y: d
951
949
  });
952
950
  }
953
951
  function at(t, e) {
954
- const n = lt(t).scrollLeft;
955
- return e ? e.left + n : K(Y(t)).left + n;
952
+ const n = ft(t).scrollLeft;
953
+ return e ? e.left + n : G(j(t)).left + n;
956
954
  }
957
- function Vt(t, e) {
955
+ function _t(t, e) {
958
956
  const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - at(t, n), i = n.top + e.scrollTop;
959
957
  return {
960
958
  x: o,
961
959
  y: i
962
960
  };
963
961
  }
964
- function Re(t) {
962
+ function ve(t) {
965
963
  let {
966
964
  elements: e,
967
965
  rect: n,
968
966
  offsetParent: o,
969
967
  strategy: i
970
968
  } = t;
971
- const s = i === "fixed", r = Y(o), c = e ? ct(e.floating) : !1;
969
+ const s = i === "fixed", r = j(o), c = e ? lt(e.floating) : !1;
972
970
  if (o === r || c && s)
973
971
  return n;
974
972
  let a = {
975
973
  scrollLeft: 0,
976
974
  scrollTop: 0
977
- }, u = X(1);
978
- const d = X(0), l = j(o);
979
- if ((l || !l && !s) && ((Z(o) !== "body" || et(r)) && (a = lt(o)), j(o))) {
980
- const f = K(o);
981
- u = G(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
975
+ }, d = X(1);
976
+ const u = X(0), l = Y(o);
977
+ if ((l || !l && !s) && ((tt(o) !== "body" || nt(r)) && (a = ft(o)), l)) {
978
+ const f = G(o);
979
+ d = J(o), u.x = f.x + o.clientLeft, u.y = f.y + o.clientTop;
982
980
  }
983
- const m = r && !l && !s ? Vt(r, a) : X(0);
981
+ const m = r && !l && !s ? _t(r, a) : X(0);
984
982
  return {
985
- width: n.width * u.x,
986
- height: n.height * u.y,
987
- x: n.x * u.x - a.scrollLeft * u.x + d.x + m.x,
988
- y: n.y * u.y - a.scrollTop * u.y + d.y + m.y
983
+ width: n.width * d.x,
984
+ height: n.height * d.y,
985
+ x: n.x * d.x - a.scrollLeft * d.x + u.x + m.x,
986
+ y: n.y * d.y - a.scrollTop * d.y + u.y + m.y
989
987
  };
990
988
  }
991
- function Se(t) {
989
+ function be(t) {
992
990
  return Array.from(t.getClientRects());
993
991
  }
994
- function Ce(t) {
995
- const e = Y(t), n = lt(t), o = t.ownerDocument.body, i = L(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = L(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
992
+ function Re(t) {
993
+ const e = j(t), n = ft(t), o = t.ownerDocument.body, i = L(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = L(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
996
994
  let r = -n.scrollLeft + at(t);
997
995
  const c = -n.scrollTop;
998
996
  return I(o).direction === "rtl" && (r += L(e.clientWidth, o.clientWidth) - i), {
@@ -1002,20 +1000,20 @@ function Ce(t) {
1002
1000
  y: c
1003
1001
  };
1004
1002
  }
1005
- const Tt = 25;
1006
- function Le(t, e) {
1007
- const n = F(t), o = Y(t), i = n.visualViewport;
1003
+ const Et = 25;
1004
+ function Ae(t, e) {
1005
+ const n = F(t), o = j(t), i = n.visualViewport;
1008
1006
  let s = o.clientWidth, r = o.clientHeight, c = 0, a = 0;
1009
1007
  if (i) {
1010
1008
  s = i.width, r = i.height;
1011
- const d = xt();
1012
- (!d || d && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
1009
+ const u = vt();
1010
+ (!u || u && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
1013
1011
  }
1014
- const u = at(o);
1015
- if (u <= 0) {
1016
- const d = o.ownerDocument, l = d.body, m = getComputedStyle(l), f = d.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, h = Math.abs(o.clientWidth - l.clientWidth - f);
1017
- h <= Tt && (s -= h);
1018
- } else u <= Tt && (s += u);
1012
+ const d = at(o);
1013
+ if (d <= 0) {
1014
+ const u = o.ownerDocument, l = u.body, m = getComputedStyle(l), f = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, h = Math.abs(o.clientWidth - l.clientWidth - f);
1015
+ h <= Et && (s -= h);
1016
+ } else d <= Et && (s += d);
1019
1017
  return {
1020
1018
  width: s,
1021
1019
  height: r,
@@ -1023,26 +1021,25 @@ function Le(t, e) {
1023
1021
  y: a
1024
1022
  };
1025
1023
  }
1026
- const Te = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1027
- function Pe(t, e) {
1028
- const n = K(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = j(t) ? G(t) : X(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, a = i * s.x, u = o * s.y;
1024
+ function Oe(t, e) {
1025
+ const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = Y(t) ? J(t) : X(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, a = i * s.x, d = o * s.y;
1029
1026
  return {
1030
1027
  width: r,
1031
1028
  height: c,
1032
1029
  x: a,
1033
- y: u
1030
+ y: d
1034
1031
  };
1035
1032
  }
1036
- function Pt(t, e, n) {
1033
+ function Dt(t, e, n) {
1037
1034
  let o;
1038
1035
  if (e === "viewport")
1039
- o = Le(t, n);
1036
+ o = Ae(t, n);
1040
1037
  else if (e === "document")
1041
- o = Ce(Y(t));
1038
+ o = Re(j(t));
1042
1039
  else if (z(e))
1043
- o = Pe(e, n);
1040
+ o = Oe(e, n);
1044
1041
  else {
1045
- const i = Nt(t);
1042
+ const i = Vt(t);
1046
1043
  o = {
1047
1044
  x: e.x - i.x,
1048
1045
  y: e.y - i.y,
@@ -1050,44 +1047,46 @@ function Pt(t, e, n) {
1050
1047
  height: e.height
1051
1048
  };
1052
1049
  }
1053
- return J(o);
1050
+ return Q(o);
1054
1051
  }
1055
- function $t(t, e) {
1052
+ function zt(t, e) {
1056
1053
  const n = U(t);
1057
- return n === e || !z(n) || Q(n) ? !1 : I(n).position === "fixed" || $t(n, e);
1054
+ return n === e || !z(n) || Z(n) ? !1 : I(n).position === "fixed" || zt(n, e);
1058
1055
  }
1059
- function Ee(t, e) {
1056
+ function Ce(t, e) {
1060
1057
  const n = e.get(t);
1061
1058
  if (n)
1062
1059
  return n;
1063
- let o = tt(t, [], !1).filter((c) => z(c) && Z(c) !== "body"), i = null;
1060
+ let o = et(t, [], !1).filter((c) => z(c) && tt(c) !== "body"), i = null;
1064
1061
  const s = I(t).position === "fixed";
1065
1062
  let r = s ? U(t) : t;
1066
- for (; z(r) && !Q(r); ) {
1067
- const c = I(r), a = wt(r);
1068
- !a && c.position === "fixed" && (i = null), (s ? !a && !i : !a && c.position === "static" && !!i && Te.has(i.position) || et(r) && !a && $t(t, r)) ? o = o.filter((d) => d !== r) : i = c, r = U(r);
1063
+ for (; z(r) && !Z(r); ) {
1064
+ const c = I(r), a = yt(r);
1065
+ !a && c.position === "fixed" && (i = null), (s ? !a && !i : !a && c.position === "static" && !!i && (i.position === "absolute" || i.position === "fixed") || nt(r) && !a && zt(t, r)) ? o = o.filter((u) => u !== r) : i = c, r = U(r);
1069
1066
  }
1070
1067
  return e.set(t, o), o;
1071
1068
  }
1072
- function De(t) {
1069
+ function Se(t) {
1073
1070
  let {
1074
1071
  element: e,
1075
1072
  boundary: n,
1076
1073
  rootBoundary: o,
1077
1074
  strategy: i
1078
1075
  } = t;
1079
- const r = [...n === "clippingAncestors" ? ct(e) ? [] : Ee(e, this._c) : [].concat(n), o], c = r[0], a = r.reduce((u, d) => {
1080
- const l = Pt(e, d, i);
1081
- return u.top = L(l.top, u.top), u.right = $(l.right, u.right), u.bottom = $(l.bottom, u.bottom), u.left = L(l.left, u.left), u;
1082
- }, Pt(e, c, i));
1076
+ const r = [...n === "clippingAncestors" ? lt(e) ? [] : Ce(e, this._c) : [].concat(n), o], c = Dt(e, r[0], i);
1077
+ let a = c.top, d = c.right, u = c.bottom, l = c.left;
1078
+ for (let m = 1; m < r.length; m++) {
1079
+ const f = Dt(e, r[m], i);
1080
+ a = L(f.top, a), d = V(f.right, d), u = V(f.bottom, u), l = L(f.left, l);
1081
+ }
1083
1082
  return {
1084
- width: a.right - a.left,
1085
- height: a.bottom - a.top,
1086
- x: a.left,
1087
- y: a.top
1083
+ width: d - l,
1084
+ height: u - a,
1085
+ x: l,
1086
+ y: a
1088
1087
  };
1089
1088
  }
1090
- function Me(t) {
1089
+ function Le(t) {
1091
1090
  const {
1092
1091
  width: e,
1093
1092
  height: n
@@ -1097,23 +1096,23 @@ function Me(t) {
1097
1096
  height: n
1098
1097
  };
1099
1098
  }
1100
- function Fe(t, e, n) {
1101
- const o = j(e), i = Y(e), s = n === "fixed", r = K(t, !0, s, e);
1099
+ function Te(t, e, n) {
1100
+ const o = Y(e), i = j(e), s = n === "fixed", r = G(t, !0, s, e);
1102
1101
  let c = {
1103
1102
  scrollLeft: 0,
1104
1103
  scrollTop: 0
1105
1104
  };
1106
1105
  const a = X(0);
1107
- function u() {
1106
+ function d() {
1108
1107
  a.x = at(i);
1109
1108
  }
1110
1109
  if (o || !o && !s)
1111
- if ((Z(e) !== "body" || et(i)) && (c = lt(e)), o) {
1112
- const f = K(e, !0, s, e);
1110
+ if ((tt(e) !== "body" || nt(i)) && (c = ft(e)), o) {
1111
+ const f = G(e, !0, s, e);
1113
1112
  a.x = f.x + e.clientLeft, a.y = f.y + e.clientTop;
1114
- } else i && u();
1115
- s && !o && i && u();
1116
- const d = i && !o && !s ? Vt(i, c) : X(0), l = r.left + c.scrollLeft - a.x - d.x, m = r.top + c.scrollTop - a.y - d.y;
1113
+ } else i && d();
1114
+ s && !o && i && d();
1115
+ const u = i && !o && !s ? _t(i, c) : X(0), l = r.left + c.scrollLeft - a.x - u.x, m = r.top + c.scrollTop - a.y - u.y;
1117
1116
  return {
1118
1117
  x: l,
1119
1118
  y: m,
@@ -1121,39 +1120,39 @@ function Fe(t, e, n) {
1121
1120
  height: r.height
1122
1121
  };
1123
1122
  }
1124
- function ft(t) {
1123
+ function dt(t) {
1125
1124
  return I(t).position === "static";
1126
1125
  }
1127
- function Et(t, e) {
1128
- if (!j(t) || I(t).position === "fixed")
1126
+ function Mt(t, e) {
1127
+ if (!Y(t) || I(t).position === "fixed")
1129
1128
  return null;
1130
1129
  if (e)
1131
1130
  return e(t);
1132
1131
  let n = t.offsetParent;
1133
- return Y(t) === n && (n = n.ownerDocument.body), n;
1132
+ return j(t) === n && (n = n.ownerDocument.body), n;
1134
1133
  }
1135
- function _t(t, e) {
1134
+ function It(t, e) {
1136
1135
  const n = F(t);
1137
- if (ct(t))
1136
+ if (lt(t))
1138
1137
  return n;
1139
- if (!j(t)) {
1138
+ if (!Y(t)) {
1140
1139
  let i = U(t);
1141
- for (; i && !Q(i); ) {
1142
- if (z(i) && !ft(i))
1140
+ for (; i && !Z(i); ) {
1141
+ if (z(i) && !dt(i))
1143
1142
  return i;
1144
1143
  i = U(i);
1145
1144
  }
1146
1145
  return n;
1147
1146
  }
1148
- let o = Et(t, e);
1149
- for (; o && ge(o) && ft(o); )
1150
- o = Et(o, e);
1151
- return o && Q(o) && ft(o) && !wt(o) ? n : o || ve(t) || n;
1147
+ let o = Mt(t, e);
1148
+ for (; o && he(o) && dt(o); )
1149
+ o = Mt(o, e);
1150
+ return o && Z(o) && dt(o) && !yt(o) ? n : o || we(t) || n;
1152
1151
  }
1153
- const ke = async function(t) {
1154
- const e = this.getOffsetParent || _t, n = this.getDimensions, o = await n(t.floating);
1152
+ const Pe = async function(t) {
1153
+ const e = this.getOffsetParent || It, n = this.getDimensions, o = await n(t.floating);
1155
1154
  return {
1156
- reference: Fe(t.reference, await e(t.floating), t.strategy),
1155
+ reference: Te(t.reference, await e(t.floating), t.strategy),
1157
1156
  floating: {
1158
1157
  x: 0,
1159
1158
  y: 0,
@@ -1162,71 +1161,71 @@ const ke = async function(t) {
1162
1161
  }
1163
1162
  };
1164
1163
  };
1165
- function Be(t) {
1164
+ function Ee(t) {
1166
1165
  return I(t).direction === "rtl";
1167
1166
  }
1168
- const We = {
1169
- convertOffsetParentRelativeRectToViewportRelativeRect: Re,
1170
- getDocumentElement: Y,
1171
- getClippingRect: De,
1172
- getOffsetParent: _t,
1173
- getElementRects: ke,
1174
- getClientRects: Se,
1175
- getDimensions: Me,
1176
- getScale: G,
1167
+ const De = {
1168
+ convertOffsetParentRelativeRectToViewportRelativeRect: ve,
1169
+ getDocumentElement: j,
1170
+ getClippingRect: Se,
1171
+ getOffsetParent: It,
1172
+ getElementRects: Pe,
1173
+ getClientRects: be,
1174
+ getDimensions: Le,
1175
+ getScale: J,
1177
1176
  isElement: z,
1178
- isRTL: Be
1177
+ isRTL: Ee
1179
1178
  };
1180
- function zt(t, e) {
1179
+ function Xt(t, e) {
1181
1180
  return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1182
1181
  }
1183
- function He(t, e) {
1182
+ function Me(t, e) {
1184
1183
  let n = null, o;
1185
- const i = Y(t);
1184
+ const i = j(t);
1186
1185
  function s() {
1187
1186
  var c;
1188
1187
  clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
1189
1188
  }
1190
1189
  function r(c, a) {
1191
1190
  c === void 0 && (c = !1), a === void 0 && (a = 1), s();
1192
- const u = t.getBoundingClientRect(), {
1193
- left: d,
1191
+ const d = t.getBoundingClientRect(), {
1192
+ left: u,
1194
1193
  top: l,
1195
1194
  width: m,
1196
1195
  height: f
1197
- } = u;
1196
+ } = d;
1198
1197
  if (c || e(), !m || !f)
1199
1198
  return;
1200
- const h = nt(l), g = nt(i.clientWidth - (d + m)), p = nt(i.clientHeight - (l + f)), w = nt(d), y = {
1199
+ const h = ot(l), g = ot(i.clientWidth - (u + m)), p = ot(i.clientHeight - (l + f)), w = ot(u), y = {
1201
1200
  rootMargin: -h + "px " + -g + "px " + -p + "px " + -w + "px",
1202
- threshold: L(0, $(1, a)) || 1
1201
+ threshold: L(0, V(1, a)) || 1
1203
1202
  };
1204
1203
  let v = !0;
1205
- function A(O) {
1206
- const R = O[0].intersectionRatio;
1207
- if (R !== a) {
1204
+ function R(A) {
1205
+ const O = A[0].intersectionRatio;
1206
+ if (O !== a) {
1208
1207
  if (!v)
1209
1208
  return r();
1210
- R ? r(!1, R) : o = setTimeout(() => {
1209
+ O ? r(!1, O) : o = setTimeout(() => {
1211
1210
  r(!1, 1e-7);
1212
1211
  }, 1e3);
1213
1212
  }
1214
- R === 1 && !zt(u, t.getBoundingClientRect()) && r(), v = !1;
1213
+ O === 1 && !Xt(d, t.getBoundingClientRect()) && r(), v = !1;
1215
1214
  }
1216
1215
  try {
1217
- n = new IntersectionObserver(A, {
1216
+ n = new IntersectionObserver(R, {
1218
1217
  ...y,
1219
1218
  // Handle <iframe>s
1220
1219
  root: i.ownerDocument
1221
1220
  });
1222
1221
  } catch {
1223
- n = new IntersectionObserver(A, y);
1222
+ n = new IntersectionObserver(R, y);
1224
1223
  }
1225
1224
  n.observe(t);
1226
1225
  }
1227
1226
  return r(!0), s;
1228
1227
  }
1229
- function Ne(t, e, n, o) {
1228
+ function Fe(t, e, n, o) {
1230
1229
  o === void 0 && (o = {});
1231
1230
  const {
1232
1231
  ancestorScroll: i = !0,
@@ -1234,59 +1233,59 @@ function Ne(t, e, n, o) {
1234
1233
  elementResize: r = typeof ResizeObserver == "function",
1235
1234
  layoutShift: c = typeof IntersectionObserver == "function",
1236
1235
  animationFrame: a = !1
1237
- } = o, u = yt(t), d = i || s ? [...u ? tt(u) : [], ...tt(e)] : [];
1238
- d.forEach((w) => {
1236
+ } = o, d = bt(t), u = i || s ? [...d ? et(d) : [], ...e ? et(e) : []] : [];
1237
+ u.forEach((w) => {
1239
1238
  i && w.addEventListener("scroll", n, {
1240
1239
  passive: !0
1241
1240
  }), s && w.addEventListener("resize", n);
1242
1241
  });
1243
- const l = u && c ? He(u, n) : null;
1242
+ const l = d && c ? Me(d, n) : null;
1244
1243
  let m = -1, f = null;
1245
1244
  r && (f = new ResizeObserver((w) => {
1246
1245
  let [x] = w;
1247
- x && x.target === u && f && (f.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
1246
+ x && x.target === d && f && e && (f.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
1248
1247
  var y;
1249
1248
  (y = f) == null || y.observe(e);
1250
1249
  })), n();
1251
- }), u && !a && f.observe(u), f.observe(e));
1252
- let h, g = a ? K(t) : null;
1250
+ }), d && !a && f.observe(d), e && f.observe(e));
1251
+ let h, g = a ? G(t) : null;
1253
1252
  a && p();
1254
1253
  function p() {
1255
- const w = K(t);
1256
- g && !zt(g, w) && n(), g = w, h = requestAnimationFrame(p);
1254
+ const w = G(t);
1255
+ g && !Xt(g, w) && n(), g = w, h = requestAnimationFrame(p);
1257
1256
  }
1258
1257
  return n(), () => {
1259
1258
  var w;
1260
- d.forEach((x) => {
1259
+ u.forEach((x) => {
1261
1260
  i && x.removeEventListener("scroll", n), s && x.removeEventListener("resize", n);
1262
1261
  }), l?.(), (w = f) == null || w.disconnect(), f = null, a && cancelAnimationFrame(h);
1263
1262
  };
1264
1263
  }
1265
- const Ve = ae, $e = oe, _e = fe, ze = ie, Ie = de, Xe = se, je = ee, Ye = ce, qe = ue, Ue = (t, e, n) => {
1264
+ const Be = ae, We = ie, ke = ue, $e = se, Ne = me, He = re, Ve = ne, _e = le, ze = de, Ie = (t, e, n) => {
1266
1265
  const o = /* @__PURE__ */ new Map(), i = {
1267
- platform: We,
1266
+ platform: De,
1268
1267
  ...n
1269
1268
  }, s = {
1270
1269
  ...i.platform,
1271
1270
  _c: o
1272
1271
  };
1273
- return te(t, e, {
1272
+ return ee(t, e, {
1274
1273
  ...i,
1275
1274
  platform: s
1276
1275
  });
1277
1276
  };
1278
1277
  export {
1279
- je as a,
1280
- Ne as b,
1281
- Ue as c,
1282
- Ie as d,
1283
- $e as e,
1284
- ze as f,
1285
- Z as g,
1286
- Xe as h,
1287
- Bt as i,
1288
- Ye as j,
1289
- qe as l,
1290
- Ve as o,
1291
- _e as s
1278
+ Ve as a,
1279
+ Fe as b,
1280
+ Ie as c,
1281
+ Ne as d,
1282
+ We as e,
1283
+ $e as f,
1284
+ tt as g,
1285
+ He as h,
1286
+ $t as i,
1287
+ _e as j,
1288
+ ze as l,
1289
+ Be as o,
1290
+ ke as s
1292
1291
  };