stone-kit 0.0.1079 → 0.0.1080

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,12 +1,12 @@
1
1
  import { jsx as xe } from "react/jsx-runtime";
2
- import wt, { forwardRef as Vn, cloneElement as sn, useState as ot, useLayoutEffect as In, useEffect as Ot, useRef as Et, useCallback as lt, useMemo as Hn } from "react";
2
+ import wt, { forwardRef as In, cloneElement as sn, useState as at, useLayoutEffect as Vn, useEffect as Ot, useRef as Et, useCallback as $e, useMemo as Hn } from "react";
3
3
  import { c as dt } from "../../index-YnD2EP-S.js";
4
4
  import { createPortal as Wn } from "react-dom";
5
- import { TooltipIcon as Vt } from "../Icons/TooltipIcon.js";
6
- var U = "top", G = "bottom", K = "right", F = "left", Lt = "auto", Ue = [U, G, K, F], De = "start", Ie = "end", _n = "clippingParents", un = "viewport", $e = "popper", Un = "reference", It = /* @__PURE__ */ Ue.reduce(function(e, t) {
7
- return e.concat([t + "-" + De, t + "-" + Ie]);
8
- }, []), cn = /* @__PURE__ */ [].concat(Ue, [Lt]).reduce(function(e, t) {
9
- return e.concat([t, t + "-" + De, t + "-" + Ie]);
5
+ import { TooltipIcon as It } from "../Icons/TooltipIcon.js";
6
+ var U = "top", G = "bottom", K = "right", F = "left", Lt = "auto", Fe = [U, G, K, F], De = "start", He = "end", _n = "clippingParents", un = "viewport", ke = "popper", Un = "reference", Vt = /* @__PURE__ */ Fe.reduce(function(e, t) {
7
+ return e.concat([t + "-" + De, t + "-" + He]);
8
+ }, []), cn = /* @__PURE__ */ [].concat(Fe, [Lt]).reduce(function(e, t) {
9
+ return e.concat([t, t + "-" + De, t + "-" + He]);
10
10
  }, []), Fn = "beforeRead", qn = "read", zn = "afterRead", Yn = "beforeMain", Xn = "main", Gn = "afterMain", Kn = "beforeWrite", Jn = "write", Qn = "afterWrite", Zn = [Fn, qn, zn, Yn, Xn, Gn, Kn, Jn, Qn];
11
11
  function te(e) {
12
12
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -79,7 +79,7 @@ const pn = {
79
79
  function ee(e) {
80
80
  return e.split("-")[0];
81
81
  }
82
- var he = Math.max, st = Math.min, Ce = Math.round;
82
+ var he = Math.max, ut = Math.min, Ce = Math.round;
83
83
  function xt() {
84
84
  var e = navigator.userAgentData;
85
85
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -93,13 +93,13 @@ function Se(e, t, n) {
93
93
  t === void 0 && (t = !1), n === void 0 && (n = !1);
94
94
  var r = e.getBoundingClientRect(), o = 1, a = 1;
95
95
  t && X(e) && (o = e.offsetWidth > 0 && Ce(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Ce(r.height) / e.offsetHeight || 1);
96
- var c = ge(e) ? z(e) : window, p = c.visualViewport, s = !fn() && n, l = (r.left + (s && p ? p.offsetLeft : 0)) / o, f = (r.top + (s && p ? p.offsetTop : 0)) / a, b = r.width / o, E = r.height / a;
96
+ var c = ge(e) ? z(e) : window, p = c.visualViewport, s = !fn() && n, l = (r.left + (s && p ? p.offsetLeft : 0)) / o, f = (r.top + (s && p ? p.offsetTop : 0)) / a, O = r.width / o, x = r.height / a;
97
97
  return {
98
- width: b,
99
- height: E,
98
+ width: O,
99
+ height: x,
100
100
  top: f,
101
- right: l + b,
102
- bottom: f + E,
101
+ right: l + O,
102
+ bottom: f + x,
103
103
  left: l,
104
104
  x: l,
105
105
  y: f
@@ -140,7 +140,7 @@ function pe(e) {
140
140
  e.document
141
141
  )) || window.document).documentElement;
142
142
  }
143
- function ct(e) {
143
+ function pt(e) {
144
144
  return te(e) === "html" ? e : (
145
145
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
146
146
  // $FlowFixMe[incompatible-return]
@@ -163,7 +163,7 @@ function rr(e) {
163
163
  if (r.position === "fixed")
164
164
  return null;
165
165
  }
166
- var o = ct(e);
166
+ var o = pt(e);
167
167
  for (jt(o) && (o = o.host); X(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
168
168
  var a = se(o);
169
169
  if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
@@ -172,7 +172,7 @@ function rr(e) {
172
172
  }
173
173
  return null;
174
174
  }
175
- function Fe(e) {
175
+ function qe(e) {
176
176
  for (var t = z(e), n = Ht(e); n && nr(n) && se(n).position === "static"; )
177
177
  n = Ht(n);
178
178
  return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || rr(e) || t;
@@ -180,11 +180,11 @@ function Fe(e) {
180
180
  function Nt(e) {
181
181
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
182
182
  }
183
- function ke(e, t, n) {
184
- return he(e, st(t, n));
183
+ function Be(e, t, n) {
184
+ return he(e, ut(t, n));
185
185
  }
186
186
  function ir(e, t, n) {
187
- var r = ke(e, t, n);
187
+ var r = Be(e, t, n);
188
188
  return r > n ? n : r;
189
189
  }
190
190
  function dn() {
@@ -206,12 +206,12 @@ function mn(e, t) {
206
206
  var or = function(t, n) {
207
207
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
208
208
  placement: n.placement
209
- })) : t, vn(typeof t != "number" ? t : mn(t, Ue));
209
+ })) : t, vn(typeof t != "number" ? t : mn(t, Fe));
210
210
  };
211
211
  function ar(e) {
212
212
  var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, c = n.modifiersData.popperOffsets, p = ee(n.placement), s = Nt(p), l = [F, K].indexOf(p) >= 0, f = l ? "height" : "width";
213
213
  if (!(!a || !c)) {
214
- var b = or(o.padding, n), E = Pt(a), h = s === "y" ? U : F, w = s === "y" ? G : K, m = n.rects.reference[f] + n.rects.reference[s] - c[s] - n.rects.popper[f], y = c[s] - n.rects.reference[s], D = Fe(a), L = D ? s === "y" ? D.clientHeight || 0 : D.clientWidth || 0 : 0, N = m / 2 - y / 2, i = b[h], x = L - E[f] - b[w], d = L / 2 - E[f] / 2 + N, P = ke(i, d, x), k = s;
214
+ var O = or(o.padding, n), x = Pt(a), m = s === "y" ? U : F, b = s === "y" ? G : K, y = n.rects.reference[f] + n.rects.reference[s] - c[s] - n.rects.popper[f], w = c[s] - n.rects.reference[s], g = qe(a), D = g ? s === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, N = y / 2 - w / 2, i = O[m], T = D - x[f] - O[b], d = D / 2 - x[f] / 2 + N, P = Be(i, d, T), k = s;
215
215
  n.modifiersData[r] = (t = {}, t[k] = P, t.centerOffset = P - d, t);
216
216
  }
217
217
  }
@@ -245,48 +245,48 @@ function pr(e, t) {
245
245
  };
246
246
  }
247
247
  function Wt(e) {
248
- var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, c = e.offsets, p = e.position, s = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, b = e.isFixed, E = c.x, h = E === void 0 ? 0 : E, w = c.y, m = w === void 0 ? 0 : w, y = typeof f == "function" ? f({
249
- x: h,
250
- y: m
248
+ var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, c = e.offsets, p = e.position, s = e.gpuAcceleration, l = e.adaptive, f = e.roundOffsets, O = e.isFixed, x = c.x, m = x === void 0 ? 0 : x, b = c.y, y = b === void 0 ? 0 : b, w = typeof f == "function" ? f({
249
+ x: m,
250
+ y
251
251
  }) : {
252
- x: h,
253
- y: m
252
+ x: m,
253
+ y
254
254
  };
255
- h = y.x, m = y.y;
256
- var D = c.hasOwnProperty("x"), L = c.hasOwnProperty("y"), N = F, i = U, x = window;
255
+ m = w.x, y = w.y;
256
+ var g = c.hasOwnProperty("x"), D = c.hasOwnProperty("y"), N = F, i = U, T = window;
257
257
  if (l) {
258
- var d = Fe(n), P = "clientHeight", k = "clientWidth";
259
- if (d === z(n) && (d = pe(n), se(d).position !== "static" && p === "absolute" && (P = "scrollHeight", k = "scrollWidth")), d = d, o === U || (o === F || o === K) && a === Ie) {
258
+ var d = qe(n), P = "clientHeight", k = "clientWidth";
259
+ if (d === z(n) && (d = pe(n), se(d).position !== "static" && p === "absolute" && (P = "scrollHeight", k = "scrollWidth")), d = d, o === U || (o === F || o === K) && a === He) {
260
260
  i = G;
261
- var A = b && d === x && x.visualViewport ? x.visualViewport.height : (
261
+ var C = O && d === T && T.visualViewport ? T.visualViewport.height : (
262
262
  // $FlowFixMe[prop-missing]
263
263
  d[P]
264
264
  );
265
- m -= A - r.height, m *= s ? 1 : -1;
265
+ y -= C - r.height, y *= s ? 1 : -1;
266
266
  }
267
- if (o === F || (o === U || o === G) && a === Ie) {
267
+ if (o === F || (o === U || o === G) && a === He) {
268
268
  N = K;
269
- var C = b && d === x && x.visualViewport ? x.visualViewport.width : (
269
+ var S = O && d === T && T.visualViewport ? T.visualViewport.width : (
270
270
  // $FlowFixMe[prop-missing]
271
271
  d[k]
272
272
  );
273
- h -= C - r.width, h *= s ? 1 : -1;
273
+ m -= S - r.width, m *= s ? 1 : -1;
274
274
  }
275
275
  }
276
276
  var M = Object.assign({
277
277
  position: p
278
278
  }, l && cr), $ = f === !0 ? pr({
279
- x: h,
280
- y: m
279
+ x: m,
280
+ y
281
281
  }, z(n)) : {
282
- x: h,
283
- y: m
282
+ x: m,
283
+ y
284
284
  };
285
- if (h = $.x, m = $.y, s) {
285
+ if (m = $.x, y = $.y, s) {
286
286
  var R;
287
- return Object.assign({}, M, (R = {}, R[i] = L ? "0" : "", R[N] = D ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", R));
287
+ return Object.assign({}, M, (R = {}, R[i] = D ? "0" : "", R[N] = g ? "0" : "", R.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", R));
288
288
  }
289
- return Object.assign({}, M, (t = {}, t[i] = L ? m + "px" : "", t[N] = D ? h + "px" : "", t.transform = "", t));
289
+ return Object.assign({}, M, (t = {}, t[i] = D ? y + "px" : "", t[N] = g ? m + "px" : "", t.transform = "", t));
290
290
  }
291
291
  function fr(e) {
292
292
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, c = a === void 0 ? !0 : a, p = n.roundOffsets, s = p === void 0 ? !0 : p, l = {
@@ -318,17 +318,17 @@ const lr = {
318
318
  fn: fr,
319
319
  data: {}
320
320
  };
321
- var rt = {
321
+ var it = {
322
322
  passive: !0
323
323
  };
324
324
  function dr(e) {
325
325
  var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, c = r.resize, p = c === void 0 ? !0 : c, s = z(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
326
326
  return a && l.forEach(function(f) {
327
- f.addEventListener("scroll", n.update, rt);
328
- }), p && s.addEventListener("resize", n.update, rt), function() {
327
+ f.addEventListener("scroll", n.update, it);
328
+ }), p && s.addEventListener("resize", n.update, it), function() {
329
329
  a && l.forEach(function(f) {
330
- f.removeEventListener("scroll", n.update, rt);
331
- }), p && s.removeEventListener("resize", n.update, rt);
330
+ f.removeEventListener("scroll", n.update, it);
331
+ }), p && s.removeEventListener("resize", n.update, it);
332
332
  };
333
333
  }
334
334
  const vr = {
@@ -346,7 +346,7 @@ var mr = {
346
346
  bottom: "top",
347
347
  top: "bottom"
348
348
  };
349
- function at(e) {
349
+ function st(e) {
350
350
  return e.replace(/left|right|bottom|top/g, function(t) {
351
351
  return mr[t];
352
352
  });
@@ -398,15 +398,15 @@ function $t(e) {
398
398
  return /auto|scroll|overlay|hidden/.test(n + o + r);
399
399
  }
400
400
  function hn(e) {
401
- return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : X(e) && $t(e) ? e : hn(ct(e));
401
+ return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : X(e) && $t(e) ? e : hn(pt(e));
402
402
  }
403
- function Be(e, t) {
403
+ function Ie(e, t) {
404
404
  var n;
405
405
  t === void 0 && (t = []);
406
406
  var r = hn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = z(r), c = o ? [a].concat(a.visualViewport || [], $t(r) ? r : []) : r, p = t.concat(c);
407
407
  return o ? p : (
408
408
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
409
- p.concat(Be(ct(c)))
409
+ p.concat(Ie(pt(c)))
410
410
  );
411
411
  }
412
412
  function Tt(e) {
@@ -425,7 +425,7 @@ function Ut(e, t, n) {
425
425
  return t === un ? Tt(gr(e, n)) : ge(t) ? br(t, n) : Tt(yr(pe(e)));
426
426
  }
427
427
  function wr(e) {
428
- var t = Be(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && X(e) ? Fe(e) : e;
428
+ var t = Ie(pt(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && X(e) ? qe(e) : e;
429
429
  return ge(r) ? t.filter(function(o) {
430
430
  return ge(o) && ln(o, r) && te(o) !== "body";
431
431
  }) : [];
@@ -433,7 +433,7 @@ function wr(e) {
433
433
  function Or(e, t, n, r) {
434
434
  var o = t === "clippingParents" ? wr(e) : [].concat(t), a = [].concat(o, [n]), c = a[0], p = a.reduce(function(s, l) {
435
435
  var f = Ut(e, l, r);
436
- return s.top = he(f.top, s.top), s.right = st(f.right, s.right), s.bottom = st(f.bottom, s.bottom), s.left = he(f.left, s.left), s;
436
+ return s.top = he(f.top, s.top), s.right = ut(f.right, s.right), s.bottom = ut(f.bottom, s.bottom), s.left = he(f.left, s.left), s;
437
437
  }, Ut(e, c, r));
438
438
  return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
439
439
  }
@@ -477,92 +477,92 @@ function gn(e) {
477
477
  case De:
478
478
  s[l] = s[l] - (t[f] / 2 - n[f] / 2);
479
479
  break;
480
- case Ie:
480
+ case He:
481
481
  s[l] = s[l] + (t[f] / 2 - n[f] / 2);
482
482
  break;
483
483
  }
484
484
  }
485
485
  return s;
486
486
  }
487
- function He(e, t) {
487
+ function We(e, t) {
488
488
  t === void 0 && (t = {});
489
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, c = a === void 0 ? e.strategy : a, p = n.boundary, s = p === void 0 ? _n : p, l = n.rootBoundary, f = l === void 0 ? un : l, b = n.elementContext, E = b === void 0 ? $e : b, h = n.altBoundary, w = h === void 0 ? !1 : h, m = n.padding, y = m === void 0 ? 0 : m, D = vn(typeof y != "number" ? y : mn(y, Ue)), L = E === $e ? Un : $e, N = e.rects.popper, i = e.elements[w ? L : E], x = Or(ge(i) ? i : i.contextElement || pe(e.elements.popper), s, f, c), d = Se(e.elements.reference), P = gn({
489
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, c = a === void 0 ? e.strategy : a, p = n.boundary, s = p === void 0 ? _n : p, l = n.rootBoundary, f = l === void 0 ? un : l, O = n.elementContext, x = O === void 0 ? ke : O, m = n.altBoundary, b = m === void 0 ? !1 : m, y = n.padding, w = y === void 0 ? 0 : y, g = vn(typeof w != "number" ? w : mn(w, Fe)), D = x === ke ? Un : ke, N = e.rects.popper, i = e.elements[b ? D : x], T = Or(ge(i) ? i : i.contextElement || pe(e.elements.popper), s, f, c), d = Se(e.elements.reference), P = gn({
490
490
  reference: d,
491
491
  element: N,
492
492
  placement: o
493
- }), k = Tt(Object.assign({}, N, P)), A = E === $e ? k : d, C = {
494
- top: x.top - A.top + D.top,
495
- bottom: A.bottom - x.bottom + D.bottom,
496
- left: x.left - A.left + D.left,
497
- right: A.right - x.right + D.right
493
+ }), k = Tt(Object.assign({}, N, P)), C = x === ke ? k : d, S = {
494
+ top: T.top - C.top + g.top,
495
+ bottom: C.bottom - T.bottom + g.bottom,
496
+ left: T.left - C.left + g.left,
497
+ right: C.right - T.right + g.right
498
498
  }, M = e.modifiersData.offset;
499
- if (E === $e && M) {
499
+ if (x === ke && M) {
500
500
  var $ = M[o];
501
- Object.keys(C).forEach(function(R) {
502
- var j = [K, G].indexOf(R) >= 0 ? 1 : -1, O = [U, G].indexOf(R) >= 0 ? "y" : "x";
503
- C[R] += $[O] * j;
501
+ Object.keys(S).forEach(function(R) {
502
+ var j = [K, G].indexOf(R) >= 0 ? 1 : -1, E = [U, G].indexOf(R) >= 0 ? "y" : "x";
503
+ S[R] += $[E] * j;
504
504
  });
505
505
  }
506
- return C;
506
+ return S;
507
507
  }
508
508
  function Er(e, t) {
509
509
  t === void 0 && (t = {});
510
- var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, c = n.padding, p = n.flipVariations, s = n.allowedAutoPlacements, l = s === void 0 ? cn : s, f = Le(r), b = f ? p ? It : It.filter(function(w) {
511
- return Le(w) === f;
512
- }) : Ue, E = b.filter(function(w) {
513
- return l.indexOf(w) >= 0;
510
+ var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, c = n.padding, p = n.flipVariations, s = n.allowedAutoPlacements, l = s === void 0 ? cn : s, f = Le(r), O = f ? p ? Vt : Vt.filter(function(b) {
511
+ return Le(b) === f;
512
+ }) : Fe, x = O.filter(function(b) {
513
+ return l.indexOf(b) >= 0;
514
514
  });
515
- E.length === 0 && (E = b);
516
- var h = E.reduce(function(w, m) {
517
- return w[m] = He(e, {
518
- placement: m,
515
+ x.length === 0 && (x = O);
516
+ var m = x.reduce(function(b, y) {
517
+ return b[y] = We(e, {
518
+ placement: y,
519
519
  boundary: o,
520
520
  rootBoundary: a,
521
521
  padding: c
522
- })[ee(m)], w;
522
+ })[ee(y)], b;
523
523
  }, {});
524
- return Object.keys(h).sort(function(w, m) {
525
- return h[w] - h[m];
524
+ return Object.keys(m).sort(function(b, y) {
525
+ return m[b] - m[y];
526
526
  });
527
527
  }
528
528
  function xr(e) {
529
529
  if (ee(e) === Lt)
530
530
  return [];
531
- var t = at(e);
531
+ var t = st(e);
532
532
  return [_t(e), t, _t(t)];
533
533
  }
534
534
  function Tr(e) {
535
535
  var t = e.state, n = e.options, r = e.name;
536
536
  if (!t.modifiersData[r]._skip) {
537
- for (var o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !0 : c, s = n.fallbackPlacements, l = n.padding, f = n.boundary, b = n.rootBoundary, E = n.altBoundary, h = n.flipVariations, w = h === void 0 ? !0 : h, m = n.allowedAutoPlacements, y = t.options.placement, D = ee(y), L = D === y, N = s || (L || !w ? [at(y)] : xr(y)), i = [y].concat(N).reduce(function(ne, J) {
537
+ for (var o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !0 : c, s = n.fallbackPlacements, l = n.padding, f = n.boundary, O = n.rootBoundary, x = n.altBoundary, m = n.flipVariations, b = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, w = t.options.placement, g = ee(w), D = g === w, N = s || (D || !b ? [st(w)] : xr(w)), i = [w].concat(N).reduce(function(ne, J) {
538
538
  return ne.concat(ee(J) === Lt ? Er(t, {
539
539
  placement: J,
540
540
  boundary: f,
541
- rootBoundary: b,
541
+ rootBoundary: O,
542
542
  padding: l,
543
- flipVariations: w,
544
- allowedAutoPlacements: m
543
+ flipVariations: b,
544
+ allowedAutoPlacements: y
545
545
  }) : J);
546
- }, []), x = t.rects.reference, d = t.rects.popper, P = /* @__PURE__ */ new Map(), k = !0, A = i[0], C = 0; C < i.length; C++) {
547
- var M = i[C], $ = ee(M), R = Le(M) === De, j = [U, G].indexOf($) >= 0, O = j ? "width" : "height", I = He(t, {
546
+ }, []), T = t.rects.reference, d = t.rects.popper, P = /* @__PURE__ */ new Map(), k = !0, C = i[0], S = 0; S < i.length; S++) {
547
+ var M = i[S], $ = ee(M), R = Le(M) === De, j = [U, G].indexOf($) >= 0, E = j ? "width" : "height", V = We(t, {
548
548
  placement: M,
549
549
  boundary: f,
550
- rootBoundary: b,
551
- altBoundary: E,
550
+ rootBoundary: O,
551
+ altBoundary: x,
552
552
  padding: l
553
- }), V = j ? R ? K : F : R ? G : U;
554
- x[O] > d[O] && (V = at(V));
555
- var B = at(V), W = [];
556
- if (a && W.push(I[$] <= 0), p && W.push(I[V] <= 0, I[B] <= 0), W.every(function(ne) {
553
+ }), I = j ? R ? K : F : R ? G : U;
554
+ T[E] > d[E] && (I = st(I));
555
+ var B = st(I), W = [];
556
+ if (a && W.push(V[$] <= 0), p && W.push(V[I] <= 0, V[B] <= 0), W.every(function(ne) {
557
557
  return ne;
558
558
  })) {
559
- A = M, k = !1;
559
+ C = M, k = !1;
560
560
  break;
561
561
  }
562
562
  P.set(M, W);
563
563
  }
564
564
  if (k)
565
- for (var H = w ? 3 : 1, fe = function(J) {
565
+ for (var H = b ? 3 : 1, fe = function(J) {
566
566
  var re = i.find(function(ye) {
567
567
  var ie = P.get(ye);
568
568
  if (ie)
@@ -571,12 +571,12 @@ function Tr(e) {
571
571
  });
572
572
  });
573
573
  if (re)
574
- return A = re, "break";
574
+ return C = re, "break";
575
575
  }, Q = H; Q > 0; Q--) {
576
576
  var le = fe(Q);
577
577
  if (le === "break") break;
578
578
  }
579
- t.placement !== A && (t.modifiersData[r]._skip = !0, t.placement = A, t.reset = !0);
579
+ t.placement !== C && (t.modifiersData[r]._skip = !0, t.placement = C, t.reset = !0);
580
580
  }
581
581
  }
582
582
  const Ar = {
@@ -606,19 +606,19 @@ function qt(e) {
606
606
  });
607
607
  }
608
608
  function Dr(e) {
609
- var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, c = He(t, {
609
+ var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, c = We(t, {
610
610
  elementContext: "reference"
611
- }), p = He(t, {
611
+ }), p = We(t, {
612
612
  altBoundary: !0
613
- }), s = Ft(c, r), l = Ft(p, o, a), f = qt(s), b = qt(l);
613
+ }), s = Ft(c, r), l = Ft(p, o, a), f = qt(s), O = qt(l);
614
614
  t.modifiersData[n] = {
615
615
  referenceClippingOffsets: s,
616
616
  popperEscapeOffsets: l,
617
617
  isReferenceHidden: f,
618
- hasPopperEscaped: b
618
+ hasPopperEscaped: O
619
619
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
620
620
  "data-popper-reference-hidden": f,
621
- "data-popper-escaped": b
621
+ "data-popper-escaped": O
622
622
  });
623
623
  }
624
624
  const Cr = {
@@ -641,8 +641,8 @@ function Sr(e, t, n) {
641
641
  };
642
642
  }
643
643
  function Lr(e) {
644
- var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, c = cn.reduce(function(f, b) {
645
- return f[b] = Sr(b, t.rects, a), f;
644
+ var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, c = cn.reduce(function(f, O) {
645
+ return f[O] = Sr(O, t.rects, a), f;
646
646
  }, {}), p = c[t.placement], s = p.x, l = p.y;
647
647
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += s, t.modifiersData.popperOffsets.y += l), t.modifiersData[r] = c;
648
648
  }
@@ -672,34 +672,34 @@ function Rr(e) {
672
672
  return e === "x" ? "y" : "x";
673
673
  }
674
674
  function Mr(e) {
675
- var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !1 : c, s = n.boundary, l = n.rootBoundary, f = n.altBoundary, b = n.padding, E = n.tether, h = E === void 0 ? !0 : E, w = n.tetherOffset, m = w === void 0 ? 0 : w, y = He(t, {
675
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !1 : c, s = n.boundary, l = n.rootBoundary, f = n.altBoundary, O = n.padding, x = n.tether, m = x === void 0 ? !0 : x, b = n.tetherOffset, y = b === void 0 ? 0 : b, w = We(t, {
676
676
  boundary: s,
677
677
  rootBoundary: l,
678
- padding: b,
678
+ padding: O,
679
679
  altBoundary: f
680
- }), D = ee(t.placement), L = Le(t.placement), N = !L, i = Nt(D), x = Rr(i), d = t.modifiersData.popperOffsets, P = t.rects.reference, k = t.rects.popper, A = typeof m == "function" ? m(Object.assign({}, t.rects, {
680
+ }), g = ee(t.placement), D = Le(t.placement), N = !D, i = Nt(g), T = Rr(i), d = t.modifiersData.popperOffsets, P = t.rects.reference, k = t.rects.popper, C = typeof y == "function" ? y(Object.assign({}, t.rects, {
681
681
  placement: t.placement
682
- })) : m, C = typeof A == "number" ? {
683
- mainAxis: A,
684
- altAxis: A
682
+ })) : y, S = typeof C == "number" ? {
683
+ mainAxis: C,
684
+ altAxis: C
685
685
  } : Object.assign({
686
686
  mainAxis: 0,
687
687
  altAxis: 0
688
- }, A), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, $ = {
688
+ }, C), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, $ = {
689
689
  x: 0,
690
690
  y: 0
691
691
  };
692
692
  if (d) {
693
693
  if (a) {
694
- var R, j = i === "y" ? U : F, O = i === "y" ? G : K, I = i === "y" ? "height" : "width", V = d[i], B = V + y[j], W = V - y[O], H = h ? -k[I] / 2 : 0, fe = L === De ? P[I] : k[I], Q = L === De ? -k[I] : -P[I], le = t.elements.arrow, ne = h && le ? Pt(le) : {
694
+ var R, j = i === "y" ? U : F, E = i === "y" ? G : K, V = i === "y" ? "height" : "width", I = d[i], B = I + w[j], W = I - w[E], H = m ? -k[V] / 2 : 0, fe = D === De ? P[V] : k[V], Q = D === De ? -k[V] : -P[V], le = t.elements.arrow, ne = m && le ? Pt(le) : {
695
695
  width: 0,
696
696
  height: 0
697
- }, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dn(), re = J[j], ye = J[O], ie = ke(0, P[I], ne[I]), be = N ? P[I] / 2 - H - ie - re - C.mainAxis : fe - ie - re - C.mainAxis, ue = N ? -P[I] / 2 + H + ie + ye + C.mainAxis : Q + ie + ye + C.mainAxis, we = t.elements.arrow && Fe(t.elements.arrow), ze = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, je = (R = M?.[i]) != null ? R : 0, Ye = V + be - je - ze, Xe = V + ue - je, Pe = ke(h ? st(B, Ye) : B, V, h ? he(W, Xe) : W);
698
- d[i] = Pe, $[i] = Pe - V;
697
+ }, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dn(), re = J[j], ye = J[E], ie = Be(0, P[V], ne[V]), be = N ? P[V] / 2 - H - ie - re - S.mainAxis : fe - ie - re - S.mainAxis, ue = N ? -P[V] / 2 + H + ie + ye + S.mainAxis : Q + ie + ye + S.mainAxis, we = t.elements.arrow && qe(t.elements.arrow), Ye = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, je = (R = M?.[i]) != null ? R : 0, Xe = I + be - je - Ye, Ge = I + ue - je, Pe = Be(m ? ut(B, Xe) : B, I, m ? he(W, Ge) : W);
698
+ d[i] = Pe, $[i] = Pe - I;
699
699
  }
700
700
  if (p) {
701
- var Ne, Ge = i === "x" ? U : F, Ke = i === "x" ? G : K, oe = d[x], ce = x === "y" ? "height" : "width", Re = oe + y[Ge], de = oe - y[Ke], Me = [U, F].indexOf(D) !== -1, Je = (Ne = M?.[x]) != null ? Ne : 0, Qe = Me ? Re : oe - P[ce] - k[ce] - Je + C.altAxis, Ze = Me ? oe + P[ce] + k[ce] - Je - C.altAxis : de, et = h && Me ? ir(Qe, oe, Ze) : ke(h ? Qe : Re, oe, h ? Ze : de);
702
- d[x] = et, $[x] = et - oe;
701
+ var Ne, Ke = i === "x" ? U : F, Je = i === "x" ? G : K, oe = d[T], ce = T === "y" ? "height" : "width", Re = oe + w[Ke], de = oe - w[Je], Me = [U, F].indexOf(g) !== -1, Qe = (Ne = M?.[T]) != null ? Ne : 0, Ze = Me ? Re : oe - P[ce] - k[ce] - Qe + S.altAxis, et = Me ? oe + P[ce] + k[ce] - Qe - S.altAxis : de, tt = m && Me ? ir(Ze, oe, et) : Be(m ? Ze : Re, oe, m ? et : de);
702
+ d[T] = tt, $[T] = tt - oe;
703
703
  }
704
704
  t.modifiersData[r] = $;
705
705
  }
@@ -720,13 +720,13 @@ function kr(e) {
720
720
  function Br(e) {
721
721
  return e === z(e) || !X(e) ? Rt(e) : kr(e);
722
722
  }
723
- function Vr(e) {
723
+ function Ir(e) {
724
724
  var t = e.getBoundingClientRect(), n = Ce(t.width) / e.offsetWidth || 1, r = Ce(t.height) / e.offsetHeight || 1;
725
725
  return n !== 1 || r !== 1;
726
726
  }
727
- function Ir(e, t, n) {
727
+ function Vr(e, t, n) {
728
728
  n === void 0 && (n = !1);
729
- var r = X(t), o = X(t) && Vr(t), a = pe(t), c = Se(e, o, n), p = {
729
+ var r = X(t), o = X(t) && Ir(t), a = pe(t), c = Se(e, o, n), p = {
730
730
  scrollLeft: 0,
731
731
  scrollTop: 0
732
732
  }, s = {
@@ -818,18 +818,18 @@ function Fr(e) {
818
818
  },
819
819
  attributes: {},
820
820
  styles: {}
821
- }, b = [], E = !1, h = {
821
+ }, O = [], x = !1, m = {
822
822
  state: f,
823
- setOptions: function(D) {
824
- var L = typeof D == "function" ? D(f.options) : D;
825
- m(), f.options = Object.assign({}, a, f.options, L), f.scrollParents = {
826
- reference: ge(p) ? Be(p) : p.contextElement ? Be(p.contextElement) : [],
827
- popper: Be(s)
823
+ setOptions: function(g) {
824
+ var D = typeof g == "function" ? g(f.options) : g;
825
+ y(), f.options = Object.assign({}, a, f.options, D), f.scrollParents = {
826
+ reference: ge(p) ? Ie(p) : p.contextElement ? Ie(p.contextElement) : [],
827
+ popper: Ie(s)
828
828
  };
829
829
  var N = Wr(Ur([].concat(r, f.options.modifiers)));
830
830
  return f.orderedModifiers = N.filter(function(i) {
831
831
  return i.enabled;
832
- }), w(), h.update();
832
+ }), b(), m.update();
833
833
  },
834
834
  // Sync update – it will always be executed, even if not necessary. This
835
835
  // is useful for low frequency updates where sync behavior simplifies the
@@ -837,26 +837,26 @@ function Fr(e) {
837
837
  // For high frequency updates (e.g. `resize` and `scroll` events), always
838
838
  // prefer the async Popper#update method
839
839
  forceUpdate: function() {
840
- if (!E) {
841
- var D = f.elements, L = D.reference, N = D.popper;
842
- if (Yt(L, N)) {
840
+ if (!x) {
841
+ var g = f.elements, D = g.reference, N = g.popper;
842
+ if (Yt(D, N)) {
843
843
  f.rects = {
844
- reference: Ir(L, Fe(N), f.options.strategy === "fixed"),
844
+ reference: Vr(D, qe(N), f.options.strategy === "fixed"),
845
845
  popper: Pt(N)
846
- }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(C) {
847
- return f.modifiersData[C.name] = Object.assign({}, C.data);
846
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(S) {
847
+ return f.modifiersData[S.name] = Object.assign({}, S.data);
848
848
  });
849
849
  for (var i = 0; i < f.orderedModifiers.length; i++) {
850
850
  if (f.reset === !0) {
851
851
  f.reset = !1, i = -1;
852
852
  continue;
853
853
  }
854
- var x = f.orderedModifiers[i], d = x.fn, P = x.options, k = P === void 0 ? {} : P, A = x.name;
854
+ var T = f.orderedModifiers[i], d = T.fn, P = T.options, k = P === void 0 ? {} : P, C = T.name;
855
855
  typeof d == "function" && (f = d({
856
856
  state: f,
857
857
  options: k,
858
- name: A,
859
- instance: h
858
+ name: C,
859
+ instance: m
860
860
  }) || f);
861
861
  }
862
862
  }
@@ -865,40 +865,40 @@ function Fr(e) {
865
865
  // Async and optimistically optimized update – it will not be executed if
866
866
  // not necessary (debounced to run at most once-per-tick)
867
867
  update: _r(function() {
868
- return new Promise(function(y) {
869
- h.forceUpdate(), y(f);
868
+ return new Promise(function(w) {
869
+ m.forceUpdate(), w(f);
870
870
  });
871
871
  }),
872
872
  destroy: function() {
873
- m(), E = !0;
873
+ y(), x = !0;
874
874
  }
875
875
  };
876
876
  if (!Yt(p, s))
877
- return h;
878
- h.setOptions(l).then(function(y) {
879
- !E && l.onFirstUpdate && l.onFirstUpdate(y);
877
+ return m;
878
+ m.setOptions(l).then(function(w) {
879
+ !x && l.onFirstUpdate && l.onFirstUpdate(w);
880
880
  });
881
- function w() {
882
- f.orderedModifiers.forEach(function(y) {
883
- var D = y.name, L = y.options, N = L === void 0 ? {} : L, i = y.effect;
881
+ function b() {
882
+ f.orderedModifiers.forEach(function(w) {
883
+ var g = w.name, D = w.options, N = D === void 0 ? {} : D, i = w.effect;
884
884
  if (typeof i == "function") {
885
- var x = i({
885
+ var T = i({
886
886
  state: f,
887
- name: D,
888
- instance: h,
887
+ name: g,
888
+ instance: m,
889
889
  options: N
890
890
  }), d = function() {
891
891
  };
892
- b.push(x || d);
892
+ O.push(T || d);
893
893
  }
894
894
  });
895
895
  }
896
- function m() {
897
- b.forEach(function(y) {
898
- return y();
899
- }), b = [];
896
+ function y() {
897
+ O.forEach(function(w) {
898
+ return w();
899
+ }), O = [];
900
900
  }
901
- return h;
901
+ return m;
902
902
  };
903
903
  }
904
904
  var qr = [vr, Nr, lr, pn, jr, Ar, $r, ur, Cr], zr = /* @__PURE__ */ Fr({
@@ -959,7 +959,7 @@ function Qr(e) {
959
959
  function Zr(e) {
960
960
  return e.split("-")[0];
961
961
  }
962
- function ut(e) {
962
+ function ct(e) {
963
963
  return [].slice.call(e);
964
964
  }
965
965
  function Kt(e) {
@@ -970,7 +970,7 @@ function Kt(e) {
970
970
  function Ve() {
971
971
  return document.createElement("div");
972
972
  }
973
- function We(e) {
973
+ function _e(e) {
974
974
  return ["Element", "Fragment"].some(function(t) {
975
975
  return kt(e, t);
976
976
  });
@@ -985,7 +985,7 @@ function ni(e) {
985
985
  return !!(e && e._tippy && e._tippy.reference === e);
986
986
  }
987
987
  function ri(e) {
988
- return We(e) ? [e] : ei(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
988
+ return _e(e) ? [e] : ei(e) ? ct(e) : Array.isArray(e) ? e : ct(document.querySelectorAll(e));
989
989
  }
990
990
  function mt(e, t) {
991
991
  e.forEach(function(n) {
@@ -1007,8 +1007,8 @@ function oi(e, t) {
1007
1007
  var a = o.popperRect, c = o.popperState, p = o.props, s = p.interactiveBorder, l = Zr(c.placement), f = c.modifiersData.offset;
1008
1008
  if (!f)
1009
1009
  return !0;
1010
- var b = l === "bottom" ? f.top.y : 0, E = l === "top" ? f.bottom.y : 0, h = l === "right" ? f.left.x : 0, w = l === "left" ? f.right.x : 0, m = a.top - r + b > s, y = r - a.bottom - E > s, D = a.left - n + h > s, L = n - a.right - w > s;
1011
- return m || y || D || L;
1010
+ var O = l === "bottom" ? f.top.y : 0, x = l === "top" ? f.bottom.y : 0, m = l === "right" ? f.left.x : 0, b = l === "left" ? f.right.x : 0, y = a.top - r + O > s, w = r - a.bottom - x > s, g = a.left - n + m > s, D = n - a.right - b > s;
1011
+ return y || w || g || D;
1012
1012
  });
1013
1013
  }
1014
1014
  function ht(e, t, n) {
@@ -1078,21 +1078,21 @@ function Tn(e) {
1078
1078
  "color: #a6a095;"
1079
1079
  ];
1080
1080
  }
1081
- var _e;
1081
+ var Ue;
1082
1082
  process.env.NODE_ENV !== "production" && li();
1083
1083
  function li() {
1084
- _e = /* @__PURE__ */ new Set();
1084
+ Ue = /* @__PURE__ */ new Set();
1085
1085
  }
1086
1086
  function ae(e, t) {
1087
- if (e && !_e.has(t)) {
1087
+ if (e && !Ue.has(t)) {
1088
1088
  var n;
1089
- _e.add(t), (n = console).warn.apply(n, Tn(t));
1089
+ Ue.add(t), (n = console).warn.apply(n, Tn(t));
1090
1090
  }
1091
1091
  }
1092
1092
  function At(e, t) {
1093
- if (e && !_e.has(t)) {
1093
+ if (e && !Ue.has(t)) {
1094
1094
  var n;
1095
- _e.add(t), (n = console).error.apply(n, Tn(t));
1095
+ Ue.add(t), (n = console).error.apply(n, Tn(t));
1096
1096
  }
1097
1097
  }
1098
1098
  function di(e) {
@@ -1229,13 +1229,13 @@ function Dt(e, t) {
1229
1229
  }
1230
1230
  function nn(e) {
1231
1231
  var t = Ve();
1232
- return e === !0 ? t.className = bn : (t.className = wn, We(e) ? t.appendChild(e) : Dt(t, e)), t;
1232
+ return e === !0 ? t.className = bn : (t.className = wn, _e(e) ? t.appendChild(e) : Dt(t, e)), t;
1233
1233
  }
1234
1234
  function rn(e, t) {
1235
- We(t.content) ? (Dt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Dt(e, t.content) : e.textContent = t.content);
1235
+ _e(t.content) ? (Dt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Dt(e, t.content) : e.textContent = t.content);
1236
1236
  }
1237
1237
  function Ct(e) {
1238
- var t = e.firstElementChild, n = ut(t.children);
1238
+ var t = e.firstElementChild, n = ct(t.children);
1239
1239
  return {
1240
1240
  box: t,
1241
1241
  content: n.find(function(r) {
@@ -1264,9 +1264,9 @@ function Sn(e) {
1264
1264
  };
1265
1265
  }
1266
1266
  Sn.$$tippy = !0;
1267
- var bi = 1, it = [], gt = [];
1267
+ var bi = 1, ot = [], gt = [];
1268
1268
  function wi(e, t) {
1269
- var n = tn(e, Object.assign({}, q, Dn(Kt(t)))), r, o, a, c = !1, p = !1, s = !1, l = !1, f, b, E, h = [], w = Xt(Ye, n.interactiveDebounce), m, y = bi++, D = null, L = Qr(n.plugins), N = {
1269
+ var n = tn(e, Object.assign({}, q, Dn(Kt(t)))), r, o, a, c = !1, p = !1, s = !1, l = !1, f, O, x, m = [], b = Xt(Xe, n.interactiveDebounce), y, w = bi++, g = null, D = Qr(n.plugins), N = {
1270
1270
  // Is the instance currently enabled?
1271
1271
  isEnabled: !0,
1272
1272
  // Is the tippy currently showing and not transitioning out?
@@ -1279,89 +1279,89 @@ function wi(e, t) {
1279
1279
  isShown: !1
1280
1280
  }, i = {
1281
1281
  // properties
1282
- id: y,
1282
+ id: w,
1283
1283
  reference: e,
1284
1284
  popper: Ve(),
1285
- popperInstance: D,
1285
+ popperInstance: g,
1286
1286
  props: n,
1287
1287
  state: N,
1288
- plugins: L,
1288
+ plugins: D,
1289
1289
  // methods
1290
- clearDelayTimeouts: Qe,
1291
- setProps: Ze,
1292
- setContent: et,
1290
+ clearDelayTimeouts: Ze,
1291
+ setProps: et,
1292
+ setContent: tt,
1293
1293
  show: Nn,
1294
1294
  hide: Rn,
1295
1295
  hideWithInteractivity: Mn,
1296
1296
  enable: Me,
1297
- disable: Je,
1297
+ disable: Qe,
1298
1298
  unmount: $n,
1299
1299
  destroy: kn
1300
1300
  };
1301
1301
  if (!n.render)
1302
1302
  return process.env.NODE_ENV !== "production" && At(!0, "render() function has not been supplied."), i;
1303
- var x = n.render(i), d = x.popper, P = x.onUpdate;
1303
+ var T = n.render(i), d = T.popper, P = T.onUpdate;
1304
1304
  d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
1305
- var k = L.map(function(u) {
1305
+ var k = D.map(function(u) {
1306
1306
  return u.fn(i);
1307
- }), A = e.hasAttribute("aria-expanded");
1308
- return we(), H(), V(), B("onCreate", [i]), n.showOnCreate && Re(), d.addEventListener("mouseenter", function() {
1307
+ }), C = e.hasAttribute("aria-expanded");
1308
+ return we(), H(), I(), B("onCreate", [i]), n.showOnCreate && Re(), d.addEventListener("mouseenter", function() {
1309
1309
  i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1310
1310
  }), d.addEventListener("mouseleave", function() {
1311
- i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && j().addEventListener("mousemove", w);
1311
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && j().addEventListener("mousemove", b);
1312
1312
  }), i;
1313
- function C() {
1313
+ function S() {
1314
1314
  var u = i.props.touch;
1315
1315
  return Array.isArray(u) ? u : [u, 0];
1316
1316
  }
1317
1317
  function M() {
1318
- return C()[0] === "hold";
1318
+ return S()[0] === "hold";
1319
1319
  }
1320
1320
  function $() {
1321
1321
  var u;
1322
1322
  return !!((u = i.props.render) != null && u.$$tippy);
1323
1323
  }
1324
1324
  function R() {
1325
- return m || e;
1325
+ return y || e;
1326
1326
  }
1327
1327
  function j() {
1328
1328
  var u = R().parentNode;
1329
1329
  return u ? ii(u) : document;
1330
1330
  }
1331
- function O() {
1331
+ function E() {
1332
1332
  return Ct(d);
1333
1333
  }
1334
- function I(u) {
1334
+ function V(u) {
1335
1335
  return i.state.isMounted && !i.state.isVisible || Z.isTouch || f && f.type === "focus" ? 0 : vt(i.props.delay, u ? 0 : 1, q.delay);
1336
1336
  }
1337
- function V(u) {
1337
+ function I(u) {
1338
1338
  u === void 0 && (u = !1), d.style.pointerEvents = i.props.interactive && !u ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
1339
1339
  }
1340
- function B(u, v, g) {
1341
- if (g === void 0 && (g = !0), k.forEach(function(T) {
1342
- T[u] && T[u].apply(T, v);
1343
- }), g) {
1344
- var S;
1345
- (S = i.props)[u].apply(S, v);
1340
+ function B(u, v, h) {
1341
+ if (h === void 0 && (h = !0), k.forEach(function(A) {
1342
+ A[u] && A[u].apply(A, v);
1343
+ }), h) {
1344
+ var L;
1345
+ (L = i.props)[u].apply(L, v);
1346
1346
  }
1347
1347
  }
1348
1348
  function W() {
1349
1349
  var u = i.props.aria;
1350
1350
  if (u.content) {
1351
- var v = "aria-" + u.content, g = d.id, S = Ae(i.props.triggerTarget || e);
1352
- S.forEach(function(T) {
1353
- var _ = T.getAttribute(v);
1351
+ var v = "aria-" + u.content, h = d.id, L = Ae(i.props.triggerTarget || e);
1352
+ L.forEach(function(A) {
1353
+ var _ = A.getAttribute(v);
1354
1354
  if (i.state.isVisible)
1355
- T.setAttribute(v, _ ? _ + " " + g : g);
1355
+ A.setAttribute(v, _ ? _ + " " + h : h);
1356
1356
  else {
1357
- var Y = _ && _.replace(g, "").trim();
1358
- Y ? T.setAttribute(v, Y) : T.removeAttribute(v);
1357
+ var Y = _ && _.replace(h, "").trim();
1358
+ Y ? A.setAttribute(v, Y) : A.removeAttribute(v);
1359
1359
  }
1360
1360
  });
1361
1361
  }
1362
1362
  }
1363
1363
  function H() {
1364
- if (!(A || !i.props.aria.expanded)) {
1364
+ if (!(C || !i.props.aria.expanded)) {
1365
1365
  var u = Ae(i.props.triggerTarget || e);
1366
1366
  u.forEach(function(v) {
1367
1367
  i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === R() ? "true" : "false") : v.removeAttribute("aria-expanded");
@@ -1369,16 +1369,16 @@ function wi(e, t) {
1369
1369
  }
1370
1370
  }
1371
1371
  function fe() {
1372
- j().removeEventListener("mousemove", w), it = it.filter(function(u) {
1373
- return u !== w;
1372
+ j().removeEventListener("mousemove", b), ot = ot.filter(function(u) {
1373
+ return u !== b;
1374
1374
  });
1375
1375
  }
1376
1376
  function Q(u) {
1377
1377
  if (!(Z.isTouch && (s || u.type === "mousedown"))) {
1378
1378
  var v = u.composedPath && u.composedPath()[0] || u.target;
1379
1379
  if (!(i.props.interactive && Qt(d, v))) {
1380
- if (Ae(i.props.triggerTarget || e).some(function(g) {
1381
- return Qt(g, v);
1380
+ if (Ae(i.props.triggerTarget || e).some(function(h) {
1381
+ return Qt(h, v);
1382
1382
  })) {
1383
1383
  if (Z.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1384
1384
  return;
@@ -1413,36 +1413,36 @@ function wi(e, t) {
1413
1413
  be(u, v);
1414
1414
  }
1415
1415
  function be(u, v) {
1416
- var g = O().box;
1417
- function S(T) {
1418
- T.target === g && (ht(g, "remove", S), v());
1416
+ var h = E().box;
1417
+ function L(A) {
1418
+ A.target === h && (ht(h, "remove", L), v());
1419
1419
  }
1420
1420
  if (u === 0)
1421
1421
  return v();
1422
- ht(g, "remove", b), ht(g, "add", S), b = S;
1423
- }
1424
- function ue(u, v, g) {
1425
- g === void 0 && (g = !1);
1426
- var S = Ae(i.props.triggerTarget || e);
1427
- S.forEach(function(T) {
1428
- T.addEventListener(u, v, g), h.push({
1429
- node: T,
1422
+ ht(h, "remove", O), ht(h, "add", L), O = L;
1423
+ }
1424
+ function ue(u, v, h) {
1425
+ h === void 0 && (h = !1);
1426
+ var L = Ae(i.props.triggerTarget || e);
1427
+ L.forEach(function(A) {
1428
+ A.addEventListener(u, v, h), m.push({
1429
+ node: A,
1430
1430
  eventType: u,
1431
1431
  handler: v,
1432
- options: g
1432
+ options: h
1433
1433
  });
1434
1434
  });
1435
1435
  }
1436
1436
  function we() {
1437
1437
  M() && (ue("touchstart", je, {
1438
1438
  passive: !0
1439
- }), ue("touchend", Xe, {
1439
+ }), ue("touchend", Ge, {
1440
1440
  passive: !0
1441
1441
  })), Jr(i.props.trigger).forEach(function(u) {
1442
1442
  if (u !== "manual")
1443
1443
  switch (ue(u, je), u) {
1444
1444
  case "mouseenter":
1445
- ue("mouseleave", Xe);
1445
+ ue("mouseleave", Ge);
1446
1446
  break;
1447
1447
  case "focus":
1448
1448
  ue(pi ? "focusout" : "blur", Pe);
@@ -1453,36 +1453,36 @@ function wi(e, t) {
1453
1453
  }
1454
1454
  });
1455
1455
  }
1456
- function ze() {
1457
- h.forEach(function(u) {
1458
- var v = u.node, g = u.eventType, S = u.handler, T = u.options;
1459
- v.removeEventListener(g, S, T);
1460
- }), h = [];
1456
+ function Ye() {
1457
+ m.forEach(function(u) {
1458
+ var v = u.node, h = u.eventType, L = u.handler, A = u.options;
1459
+ v.removeEventListener(h, L, A);
1460
+ }), m = [];
1461
1461
  }
1462
1462
  function je(u) {
1463
- var v, g = !1;
1463
+ var v, h = !1;
1464
1464
  if (!(!i.state.isEnabled || Ne(u) || p)) {
1465
- var S = ((v = f) == null ? void 0 : v.type) === "focus";
1466
- f = u, m = u.currentTarget, H(), !i.state.isVisible && ti(u) && it.forEach(function(T) {
1467
- return T(u);
1468
- }), u.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? g = !0 : Re(u), u.type === "click" && (c = !g), g && !S && de(u);
1465
+ var L = ((v = f) == null ? void 0 : v.type) === "focus";
1466
+ f = u, y = u.currentTarget, H(), !i.state.isVisible && ti(u) && ot.forEach(function(A) {
1467
+ return A(u);
1468
+ }), u.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Re(u), u.type === "click" && (c = !h), h && !L && de(u);
1469
1469
  }
1470
1470
  }
1471
- function Ye(u) {
1472
- var v = u.target, g = R().contains(v) || d.contains(v);
1473
- if (!(u.type === "mousemove" && g)) {
1474
- var S = ce().concat(d).map(function(T) {
1475
- var _, Y = T._tippy, Oe = (_ = Y.popperInstance) == null ? void 0 : _.state;
1471
+ function Xe(u) {
1472
+ var v = u.target, h = R().contains(v) || d.contains(v);
1473
+ if (!(u.type === "mousemove" && h)) {
1474
+ var L = ce().concat(d).map(function(A) {
1475
+ var _, Y = A._tippy, Oe = (_ = Y.popperInstance) == null ? void 0 : _.state;
1476
1476
  return Oe ? {
1477
- popperRect: T.getBoundingClientRect(),
1477
+ popperRect: A.getBoundingClientRect(),
1478
1478
  popperState: Oe,
1479
1479
  props: n
1480
1480
  } : null;
1481
1481
  }).filter(Boolean);
1482
- oi(S, u) && (fe(), de(u));
1482
+ oi(L, u) && (fe(), de(u));
1483
1483
  }
1484
1484
  }
1485
- function Xe(u) {
1485
+ function Ge(u) {
1486
1486
  var v = Ne(u) || i.props.trigger.indexOf("click") >= 0 && c;
1487
1487
  if (!v) {
1488
1488
  if (i.props.interactive) {
@@ -1498,29 +1498,29 @@ function wi(e, t) {
1498
1498
  function Ne(u) {
1499
1499
  return Z.isTouch ? M() !== u.type.indexOf("touch") >= 0 : !1;
1500
1500
  }
1501
- function Ge() {
1502
- Ke();
1503
- var u = i.props, v = u.popperOptions, g = u.placement, S = u.offset, T = u.getReferenceClientRect, _ = u.moveTransition, Y = $() ? Ct(d).arrow : null, Oe = T ? {
1504
- getBoundingClientRect: T,
1505
- contextElement: T.contextElement || R()
1501
+ function Ke() {
1502
+ Je();
1503
+ var u = i.props, v = u.popperOptions, h = u.placement, L = u.offset, A = u.getReferenceClientRect, _ = u.moveTransition, Y = $() ? Ct(d).arrow : null, Oe = A ? {
1504
+ getBoundingClientRect: A,
1505
+ contextElement: A.contextElement || R()
1506
1506
  } : e, Bt = {
1507
1507
  name: "$$tippy",
1508
1508
  enabled: !0,
1509
1509
  phase: "beforeWrite",
1510
1510
  requires: ["computeStyles"],
1511
- fn: function(tt) {
1512
- var Ee = tt.state;
1511
+ fn: function(nt) {
1512
+ var Ee = nt.state;
1513
1513
  if ($()) {
1514
- var Bn = O(), ft = Bn.box;
1515
- ["placement", "reference-hidden", "escaped"].forEach(function(nt) {
1516
- nt === "placement" ? ft.setAttribute("data-placement", Ee.placement) : Ee.attributes.popper["data-popper-" + nt] ? ft.setAttribute("data-" + nt, "") : ft.removeAttribute("data-" + nt);
1514
+ var Bn = E(), lt = Bn.box;
1515
+ ["placement", "reference-hidden", "escaped"].forEach(function(rt) {
1516
+ rt === "placement" ? lt.setAttribute("data-placement", Ee.placement) : Ee.attributes.popper["data-popper-" + rt] ? lt.setAttribute("data-" + rt, "") : lt.removeAttribute("data-" + rt);
1517
1517
  }), Ee.attributes.popper = {};
1518
1518
  }
1519
1519
  }
1520
1520
  }, ve = [{
1521
1521
  name: "offset",
1522
1522
  options: {
1523
- offset: S
1523
+ offset: L
1524
1524
  }
1525
1525
  }, {
1526
1526
  name: "preventOverflow",
@@ -1550,17 +1550,17 @@ function wi(e, t) {
1550
1550
  padding: 3
1551
1551
  }
1552
1552
  }), ve.push.apply(ve, v?.modifiers || []), i.popperInstance = zr(Oe, d, Object.assign({}, v, {
1553
- placement: g,
1554
- onFirstUpdate: E,
1553
+ placement: h,
1554
+ onFirstUpdate: x,
1555
1555
  modifiers: ve
1556
1556
  }));
1557
1557
  }
1558
- function Ke() {
1558
+ function Je() {
1559
1559
  i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1560
1560
  }
1561
1561
  function oe() {
1562
- var u = i.props.appendTo, v, g = R();
1563
- i.props.interactive && u === On || u === "parent" ? v = g.parentNode : v = En(u, [g]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ge(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && u === q.appendTo && g.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1562
+ var u = i.props.appendTo, v, h = R();
1563
+ i.props.interactive && u === On || u === "parent" ? v = h.parentNode : v = En(u, [h]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ke(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && u === q.appendTo && h.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1564
1564
 
1565
1565
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1566
1566
 
@@ -1569,12 +1569,12 @@ function wi(e, t) {
1569
1569
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1570
1570
  }
1571
1571
  function ce() {
1572
- return ut(d.querySelectorAll("[data-tippy-root]"));
1572
+ return ct(d.querySelectorAll("[data-tippy-root]"));
1573
1573
  }
1574
1574
  function Re(u) {
1575
1575
  i.clearDelayTimeouts(), u && B("onTrigger", [i, u]), J();
1576
- var v = I(!0), g = C(), S = g[0], T = g[1];
1577
- Z.isTouch && S === "hold" && T && (v = T), v ? r = setTimeout(function() {
1576
+ var v = V(!0), h = S(), L = h[0], A = h[1];
1577
+ Z.isTouch && L === "hold" && A && (v = A), v ? r = setTimeout(function() {
1578
1578
  i.show();
1579
1579
  }, v) : i.show();
1580
1580
  }
@@ -1584,7 +1584,7 @@ function wi(e, t) {
1584
1584
  return;
1585
1585
  }
1586
1586
  if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(u.type) >= 0 && c)) {
1587
- var v = I(!1);
1587
+ var v = V(!1);
1588
1588
  v ? o = setTimeout(function() {
1589
1589
  i.state.isVisible && i.hide();
1590
1590
  }, v) : a = requestAnimationFrame(function() {
@@ -1595,46 +1595,46 @@ function wi(e, t) {
1595
1595
  function Me() {
1596
1596
  i.state.isEnabled = !0;
1597
1597
  }
1598
- function Je() {
1598
+ function Qe() {
1599
1599
  i.hide(), i.state.isEnabled = !1;
1600
1600
  }
1601
- function Qe() {
1601
+ function Ze() {
1602
1602
  clearTimeout(r), clearTimeout(o), cancelAnimationFrame(a);
1603
1603
  }
1604
- function Ze(u) {
1604
+ function et(u) {
1605
1605
  if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("setProps")), !i.state.isDestroyed) {
1606
- B("onBeforeUpdate", [i, u]), ze();
1607
- var v = i.props, g = tn(e, Object.assign({}, v, Kt(u), {
1606
+ B("onBeforeUpdate", [i, u]), Ye();
1607
+ var v = i.props, h = tn(e, Object.assign({}, v, Kt(u), {
1608
1608
  ignoreAttributes: !0
1609
1609
  }));
1610
- i.props = g, we(), v.interactiveDebounce !== g.interactiveDebounce && (fe(), w = Xt(Ye, g.interactiveDebounce)), v.triggerTarget && !g.triggerTarget ? Ae(v.triggerTarget).forEach(function(S) {
1611
- S.removeAttribute("aria-expanded");
1612
- }) : g.triggerTarget && e.removeAttribute("aria-expanded"), H(), V(), P && P(v, g), i.popperInstance && (Ge(), ce().forEach(function(S) {
1613
- requestAnimationFrame(S._tippy.popperInstance.forceUpdate);
1610
+ i.props = h, we(), v.interactiveDebounce !== h.interactiveDebounce && (fe(), b = Xt(Xe, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Ae(v.triggerTarget).forEach(function(L) {
1611
+ L.removeAttribute("aria-expanded");
1612
+ }) : h.triggerTarget && e.removeAttribute("aria-expanded"), H(), I(), P && P(v, h), i.popperInstance && (Ke(), ce().forEach(function(L) {
1613
+ requestAnimationFrame(L._tippy.popperInstance.forceUpdate);
1614
1614
  })), B("onAfterUpdate", [i, u]);
1615
1615
  }
1616
1616
  }
1617
- function et(u) {
1617
+ function tt(u) {
1618
1618
  i.setProps({
1619
1619
  content: u
1620
1620
  });
1621
1621
  }
1622
1622
  function Nn() {
1623
1623
  process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("show"));
1624
- var u = i.state.isVisible, v = i.state.isDestroyed, g = !i.state.isEnabled, S = Z.isTouch && !i.props.touch, T = vt(i.props.duration, 0, q.duration);
1625
- if (!(u || v || g || S) && !R().hasAttribute("disabled") && (B("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1626
- if (i.state.isVisible = !0, $() && (d.style.visibility = "visible"), V(), J(), i.state.isMounted || (d.style.transition = "none"), $()) {
1627
- var _ = O(), Y = _.box, Oe = _.content;
1624
+ var u = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, L = Z.isTouch && !i.props.touch, A = vt(i.props.duration, 0, q.duration);
1625
+ if (!(u || v || h || L) && !R().hasAttribute("disabled") && (B("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1626
+ if (i.state.isVisible = !0, $() && (d.style.visibility = "visible"), I(), J(), i.state.isMounted || (d.style.transition = "none"), $()) {
1627
+ var _ = E(), Y = _.box, Oe = _.content;
1628
1628
  mt([Y, Oe], 0);
1629
1629
  }
1630
- E = function() {
1630
+ x = function() {
1631
1631
  var ve;
1632
1632
  if (!(!i.state.isVisible || l)) {
1633
1633
  if (l = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, $() && i.props.animation) {
1634
- var pt = O(), tt = pt.box, Ee = pt.content;
1635
- mt([tt, Ee], T), Jt([tt, Ee], "visible");
1634
+ var ft = E(), nt = ft.box, Ee = ft.content;
1635
+ mt([nt, Ee], A), Jt([nt, Ee], "visible");
1636
1636
  }
1637
- W(), H(), Gt(gt, i), (ve = i.popperInstance) == null || ve.forceUpdate(), B("onMount", [i]), i.props.animation && $() && ie(T, function() {
1637
+ W(), H(), Gt(gt, i), (ve = i.popperInstance) == null || ve.forceUpdate(), B("onMount", [i]), i.props.animation && $() && ie(A, function() {
1638
1638
  i.state.isShown = !0, B("onShown", [i]);
1639
1639
  });
1640
1640
  }
@@ -1643,30 +1643,30 @@ function wi(e, t) {
1643
1643
  }
1644
1644
  function Rn() {
1645
1645
  process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hide"));
1646
- var u = !i.state.isVisible, v = i.state.isDestroyed, g = !i.state.isEnabled, S = vt(i.props.duration, 1, q.duration);
1647
- if (!(u || v || g) && (B("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1648
- if (i.state.isVisible = !1, i.state.isShown = !1, l = !1, c = !1, $() && (d.style.visibility = "hidden"), fe(), re(), V(!0), $()) {
1649
- var T = O(), _ = T.box, Y = T.content;
1650
- i.props.animation && (mt([_, Y], S), Jt([_, Y], "hidden"));
1646
+ var u = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, L = vt(i.props.duration, 1, q.duration);
1647
+ if (!(u || v || h) && (B("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1648
+ if (i.state.isVisible = !1, i.state.isShown = !1, l = !1, c = !1, $() && (d.style.visibility = "hidden"), fe(), re(), I(!0), $()) {
1649
+ var A = E(), _ = A.box, Y = A.content;
1650
+ i.props.animation && (mt([_, Y], L), Jt([_, Y], "hidden"));
1651
1651
  }
1652
- W(), H(), i.props.animation ? $() && ye(S, i.unmount) : i.unmount();
1652
+ W(), H(), i.props.animation ? $() && ye(L, i.unmount) : i.unmount();
1653
1653
  }
1654
1654
  }
1655
1655
  function Mn(u) {
1656
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), j().addEventListener("mousemove", w), Gt(it, w), w(u);
1656
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), j().addEventListener("mousemove", b), Gt(ot, b), b(u);
1657
1657
  }
1658
1658
  function $n() {
1659
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ce().forEach(function(u) {
1659
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Je(), ce().forEach(function(u) {
1660
1660
  u._tippy.unmount();
1661
1661
  }), d.parentNode && d.parentNode.removeChild(d), gt = gt.filter(function(u) {
1662
1662
  return u !== i;
1663
1663
  }), i.state.isMounted = !1, B("onHidden", [i]));
1664
1664
  }
1665
1665
  function kn() {
1666
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), ze(), delete e._tippy, i.state.isDestroyed = !0, B("onDestroy", [i]));
1666
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), Ye(), delete e._tippy, i.state.isDestroyed = !0, B("onDestroy", [i]));
1667
1667
  }
1668
1668
  }
1669
- function qe(e, t) {
1669
+ function ze(e, t) {
1670
1670
  t === void 0 && (t = {});
1671
1671
  var n = q.plugins.concat(t.plugins || []);
1672
1672
  process.env.NODE_ENV !== "production" && (di(e), Cn(t, n)), ui();
@@ -1674,7 +1674,7 @@ function qe(e, t) {
1674
1674
  plugins: n
1675
1675
  }), o = ri(e);
1676
1676
  if (process.env.NODE_ENV !== "production") {
1677
- var a = We(r.content), c = o.length > 1;
1677
+ var a = _e(r.content), c = o.length > 1;
1678
1678
  ae(a && c, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
1679
1679
 
1680
1680
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
@@ -1686,11 +1686,11 @@ function qe(e, t) {
1686
1686
  var f = l && wi(l, r);
1687
1687
  return f && s.push(f), s;
1688
1688
  }, []);
1689
- return We(e) ? p[0] : p;
1689
+ return _e(e) ? p[0] : p;
1690
1690
  }
1691
- qe.defaultProps = q;
1692
- qe.setDefaultProps = hi;
1693
- qe.currentInput = Z;
1691
+ ze.defaultProps = q;
1692
+ ze.setDefaultProps = hi;
1693
+ ze.currentInput = Z;
1694
1694
  Object.assign({}, pn, {
1695
1695
  effect: function(t) {
1696
1696
  var n = t.state, r = {
@@ -1708,7 +1708,7 @@ Object.assign({}, pn, {
1708
1708
  Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
1709
1709
  }
1710
1710
  });
1711
- qe.setDefaultProps({
1711
+ ze.setDefaultProps({
1712
1712
  render: Sn
1713
1713
  });
1714
1714
  function Ln(e, t) {
@@ -1763,7 +1763,7 @@ function xi(e, t) {
1763
1763
  })
1764
1764
  });
1765
1765
  }
1766
- var yt = jn ? In : Ot;
1766
+ var yt = jn ? Vn : Ot;
1767
1767
  function Ti(e) {
1768
1768
  var t = Et();
1769
1769
  return t.current || (t.current = typeof e == "function" ? e() : e), t.current;
@@ -1800,39 +1800,39 @@ var Ai = {
1800
1800
  };
1801
1801
  function Di(e) {
1802
1802
  function t(n) {
1803
- var r = n.children, o = n.content, a = n.visible, c = n.singleton, p = n.render, s = n.reference, l = n.disabled, f = l === void 0 ? !1 : l, b = n.ignoreAttributes, E = b === void 0 ? !0 : b;
1803
+ var r = n.children, o = n.content, a = n.visible, c = n.singleton, p = n.render, s = n.reference, l = n.disabled, f = l === void 0 ? !1 : l, O = n.ignoreAttributes, x = O === void 0 ? !0 : O;
1804
1804
  n.__source, n.__self;
1805
- var h = Ln(n, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]), w = a !== void 0, m = c !== void 0, y = ot(!1), D = y[0], L = y[1], N = ot({}), i = N[0], x = N[1], d = ot(), P = d[0], k = d[1], A = Ti(function() {
1805
+ var m = Ln(n, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]), b = a !== void 0, y = c !== void 0, w = at(!1), g = w[0], D = w[1], N = at({}), i = N[0], T = N[1], d = at(), P = d[0], k = d[1], C = Ti(function() {
1806
1806
  return {
1807
1807
  container: on(),
1808
1808
  renders: 1
1809
1809
  };
1810
- }), C = Object.assign({
1811
- ignoreAttributes: E
1812
- }, h, {
1813
- content: A.container
1810
+ }), S = Object.assign({
1811
+ ignoreAttributes: x
1812
+ }, m, {
1813
+ content: C.container
1814
1814
  });
1815
- w && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(j) {
1816
- C[j] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + j + "` prop in", "controlled mode (`visible` prop)"].join(" "));
1817
- }), C.trigger = "manual", C.hideOnClick = !1), m && (f = !0);
1818
- var M = C, $ = C.plugins || [];
1819
- p && (M = Object.assign({}, C, {
1820
- plugins: m && c.data != null ? [].concat($, [{
1815
+ b && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(j) {
1816
+ S[j] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + j + "` prop in", "controlled mode (`visible` prop)"].join(" "));
1817
+ }), S.trigger = "manual", S.hideOnClick = !1), y && (f = !0);
1818
+ var M = S, $ = S.plugins || [];
1819
+ p && (M = Object.assign({}, S, {
1820
+ plugins: y && c.data != null ? [].concat($, [{
1821
1821
  fn: function() {
1822
1822
  return {
1823
- onTrigger: function(I, V) {
1823
+ onTrigger: function(V, I) {
1824
1824
  var B = c.data.children.find(function(W) {
1825
1825
  var H = W.instance;
1826
- return H.reference === V.currentTarget;
1826
+ return H.reference === I.currentTarget;
1827
1827
  });
1828
- I.state.$$activeSingletonInstance = B.instance, k(B.content);
1828
+ V.state.$$activeSingletonInstance = B.instance, k(B.content);
1829
1829
  }
1830
1830
  };
1831
1831
  }
1832
1832
  }]) : $,
1833
1833
  render: function() {
1834
1834
  return {
1835
- popper: A.container
1835
+ popper: C.container
1836
1836
  };
1837
1837
  }
1838
1838
  }));
@@ -1840,26 +1840,26 @@ function Di(e) {
1840
1840
  return yt(function() {
1841
1841
  var j = s;
1842
1842
  s && s.hasOwnProperty("current") && (j = s.current);
1843
- var O = e(j || A.ref || on(), Object.assign({}, M, {
1844
- plugins: [Ai].concat(C.plugins || [])
1843
+ var E = e(j || C.ref || on(), Object.assign({}, M, {
1844
+ plugins: [Ai].concat(S.plugins || [])
1845
1845
  }));
1846
- return A.instance = O, f && O.disable(), a && O.show(), m && c.hook({
1847
- instance: O,
1846
+ return C.instance = E, f && E.disable(), a && E.show(), y && c.hook({
1847
+ instance: E,
1848
1848
  content: o,
1849
1849
  props: M,
1850
1850
  setSingletonContent: k
1851
- }), L(!0), function() {
1852
- O.destroy(), c?.cleanup(O);
1851
+ }), D(!0), function() {
1852
+ E.destroy(), c?.cleanup(E);
1853
1853
  };
1854
1854
  }, R), yt(function() {
1855
1855
  var j;
1856
- if (A.renders === 1) {
1857
- A.renders++;
1856
+ if (C.renders === 1) {
1857
+ C.renders++;
1858
1858
  return;
1859
1859
  }
1860
- var O = A.instance;
1861
- O.setProps(xi(O.props, M)), (j = O.popperInstance) == null || j.forceUpdate(), f ? O.disable() : O.enable(), w && (a ? O.show() : O.hide()), m && c.hook({
1862
- instance: O,
1860
+ var E = C.instance;
1861
+ E.setProps(xi(E.props, M)), (j = E.popperInstance) == null || j.forceUpdate(), f ? E.disable() : E.enable(), b && (a ? E.show() : E.hide()), y && c.hook({
1862
+ instance: E,
1863
1863
  content: o,
1864
1864
  props: M,
1865
1865
  setSingletonContent: k
@@ -1867,20 +1867,20 @@ function Di(e) {
1867
1867
  }), yt(function() {
1868
1868
  var j;
1869
1869
  if (p) {
1870
- var O = A.instance;
1871
- O.setProps({
1872
- popperOptions: Object.assign({}, O.props.popperOptions, {
1873
- modifiers: [].concat((((j = O.props.popperOptions) == null ? void 0 : j.modifiers) || []).filter(function(I) {
1874
- var V = I.name;
1875
- return V !== "$$tippyReact";
1870
+ var E = C.instance;
1871
+ E.setProps({
1872
+ popperOptions: Object.assign({}, E.props.popperOptions, {
1873
+ modifiers: [].concat((((j = E.props.popperOptions) == null ? void 0 : j.modifiers) || []).filter(function(V) {
1874
+ var I = V.name;
1875
+ return I !== "$$tippyReact";
1876
1876
  }), [{
1877
1877
  name: "$$tippyReact",
1878
1878
  enabled: !0,
1879
1879
  phase: "beforeWrite",
1880
1880
  requires: ["computeStyles"],
1881
- fn: function(V) {
1882
- var B, W = V.state, H = (B = W.modifiersData) == null ? void 0 : B.hide;
1883
- (i.placement !== W.placement || i.referenceHidden !== H?.isReferenceHidden || i.escaped !== H?.hasPopperEscaped) && x({
1881
+ fn: function(I) {
1882
+ var B, W = I.state, H = (B = W.modifiersData) == null ? void 0 : B.hide;
1883
+ (i.placement !== W.placement || i.referenceHidden !== H?.isReferenceHidden || i.escaped !== H?.hasPopperEscaped) && T({
1884
1884
  placement: W.placement,
1885
1885
  referenceHidden: H?.isReferenceHidden,
1886
1886
  escaped: H?.hasPopperEscaped
@@ -1891,15 +1891,15 @@ function Di(e) {
1891
1891
  });
1892
1892
  }
1893
1893
  }, [i.placement, i.referenceHidden, i.escaped].concat(R)), /* @__PURE__ */ wt.createElement(wt.Fragment, null, r ? /* @__PURE__ */ sn(r, {
1894
- ref: function(O) {
1895
- A.ref = O, St(r.ref, O);
1894
+ ref: function(E) {
1895
+ C.ref = E, St(r.ref, E);
1896
1896
  }
1897
- }) : null, D && /* @__PURE__ */ Wn(p ? p(Oi(i), P, A.instance) : o, A.container));
1897
+ }) : null, g && /* @__PURE__ */ Wn(p ? p(Oi(i), P, C.instance) : o, C.container));
1898
1898
  }
1899
1899
  return t;
1900
1900
  }
1901
1901
  var Ci = (function(e, t) {
1902
- return /* @__PURE__ */ Vn(function(r, o) {
1902
+ return /* @__PURE__ */ In(function(r, o) {
1903
1903
  var a = r.children, c = Ln(r, ["children"]);
1904
1904
  return (
1905
1905
  // If I spread them separately here, Babel adds the _extends ponyfill for
@@ -1911,11 +1911,11 @@ var Ci = (function(e, t) {
1911
1911
  }) : null)
1912
1912
  );
1913
1913
  });
1914
- }), Si = /* @__PURE__ */ Ci(/* @__PURE__ */ Di(qe));
1915
- const Li = "_tooltip_11o2j_12", ji = "_icon_11o2j_24", bt = {
1914
+ }), Si = /* @__PURE__ */ Ci(/* @__PURE__ */ Di(ze));
1915
+ const Li = "_tooltip_c2qrc_12", ji = "_icon_c2qrc_25", bt = {
1916
1916
  tooltip: Li,
1917
1917
  icon: ji
1918
- }, Pi = 14, Ni = 100, Ri = 200, Ii = ({
1918
+ }, Pi = 14, Ni = 100, Ri = 200, Vi = ({
1919
1919
  text: e,
1920
1920
  className: t,
1921
1921
  iconClassName: n,
@@ -1923,31 +1923,43 @@ const Li = "_tooltip_11o2j_12", ji = "_icon_11o2j_24", bt = {
1923
1923
  placement: o = "top",
1924
1924
  offset: a = [0, 8]
1925
1925
  }) => {
1926
- const c = Et(null), p = Et(!1), [s, l] = ot(!1);
1926
+ const c = Et(null), p = Et(!1), [s, l] = at(!1);
1927
1927
  Ot(() => {
1928
- const m = window.matchMedia("(hover: none)"), y = () => l(m.matches);
1929
- return y(), m.addEventListener("change", y), () => m.removeEventListener("change", y);
1928
+ const g = window.matchMedia("(hover: none)"), D = () => l(g.matches);
1929
+ return D(), g.addEventListener("change", D), () => g.removeEventListener("change", D);
1930
1930
  }, []);
1931
- const f = lt(() => {
1931
+ const f = $e(() => {
1932
1932
  p.current || c.current?.hide();
1933
- }, []), b = lt((m) => {
1934
- c.current = m, p.current = !0, setTimeout(() => {
1933
+ }, []), O = $e((g) => {
1934
+ c.current = g, p.current = !0, setTimeout(() => {
1935
1935
  p.current = !1;
1936
1936
  }, Ni), window.addEventListener("scroll", f, { passive: !0, capture: !0 });
1937
- }, [f]), E = lt(() => {
1937
+ }, [f]), x = $e(() => {
1938
1938
  window.removeEventListener("scroll", f, { capture: !0 });
1939
1939
  }, [f]);
1940
1940
  Ot(() => () => {
1941
1941
  window.removeEventListener("scroll", f, { capture: !0 });
1942
1942
  }, [f]);
1943
- const h = Hn(
1944
- () => /* @__PURE__ */ xe("div", { className: dt(bt.tooltip, t), children: e }),
1945
- [e, t]
1943
+ const m = $e((g) => {
1944
+ g.stopPropagation(), g.preventDefault();
1945
+ }, []), b = $e((g) => {
1946
+ g.stopPropagation(), g.preventDefault();
1947
+ }, []), y = Hn(
1948
+ () => /* @__PURE__ */ xe(
1949
+ "div",
1950
+ {
1951
+ className: dt(bt.tooltip, t),
1952
+ onClick: b,
1953
+ onMouseDown: b,
1954
+ children: e
1955
+ }
1956
+ ),
1957
+ [e, t, b]
1946
1958
  ), w = s ? "click" : "mouseenter focus";
1947
1959
  return e ? /* @__PURE__ */ xe(
1948
1960
  Si,
1949
1961
  {
1950
- content: h,
1962
+ content: y,
1951
1963
  placement: o,
1952
1964
  offset: a,
1953
1965
  delay: s ? 0 : [Ri, 0],
@@ -1960,13 +1972,13 @@ const Li = "_tooltip_11o2j_12", ji = "_icon_11o2j_24", bt = {
1960
1972
  trigger: w,
1961
1973
  hideOnClick: !s,
1962
1974
  interactive: s,
1963
- onClickOutside: s ? (m) => m.hide() : void 0,
1975
+ onClickOutside: s ? (g) => g.hide() : void 0,
1964
1976
  animation: !1,
1965
1977
  arrow: !1,
1966
1978
  zIndex: Pi,
1967
1979
  appendTo: () => document.body,
1968
- onShow: b,
1969
- onHide: E,
1980
+ onShow: O,
1981
+ onHide: x,
1970
1982
  children: /* @__PURE__ */ xe(
1971
1983
  "div",
1972
1984
  {
@@ -1974,8 +1986,8 @@ const Li = "_tooltip_11o2j_12", ji = "_icon_11o2j_24", bt = {
1974
1986
  "aria-label": e,
1975
1987
  tabIndex: 0,
1976
1988
  className: dt(bt.icon, n),
1977
- onClick: (m) => m.stopPropagation(),
1978
- children: r ?? /* @__PURE__ */ xe(Vt, {})
1989
+ onClick: m,
1990
+ children: r ?? /* @__PURE__ */ xe(It, {})
1979
1991
  }
1980
1992
  )
1981
1993
  }
@@ -1984,10 +1996,10 @@ const Li = "_tooltip_11o2j_12", ji = "_icon_11o2j_24", bt = {
1984
1996
  {
1985
1997
  className: dt(bt.icon, n),
1986
1998
  "aria-hidden": !0,
1987
- children: r ?? /* @__PURE__ */ xe(Vt, {})
1999
+ children: r ?? /* @__PURE__ */ xe(It, {})
1988
2000
  }
1989
2001
  );
1990
2002
  };
1991
2003
  export {
1992
- Ii as Tooltip
2004
+ Vi as Tooltip
1993
2005
  };