react-luminus-components 1.0.6 → 1.1.0

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/.vite/manifest.json +43 -44
  2. package/dist/{HomeDashboard.module-BI8obEZ_.js → HomeDashboard.module-GdCYxlBo.js} +19 -19
  3. package/dist/{HomeDashboard.module-CuVVnp4t.mjs → HomeDashboard.module-PqWrW_dw.mjs} +559 -545
  4. package/dist/{Modal-DsY3WNWM.mjs → Modal-DrtyXbaq.mjs} +18 -18
  5. package/dist/{Modal-DmUjIS_Q.js → Modal-oJGeA42s.js} +1 -1
  6. package/dist/SimpleTooltip-CGAr8ryR.js +1 -0
  7. package/dist/{SimpleTooltip-C8wTRZNZ.mjs → SimpleTooltip-DzBpmL4l.mjs} +255 -239
  8. package/dist/components/BnfTableValueFormats/UserAvatarValueFormat/UserAvatarValueFormat.d.ts +3 -0
  9. package/dist/components/BnfTableValueFormats/index.d.ts +1 -0
  10. package/dist/components/Buttons/ContextButton/ContextButton.d.ts +13 -0
  11. package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +14 -0
  12. package/dist/components/Buttons/index.d.ts +3 -0
  13. package/dist/components/Dropdown/Dropdown.d.ts +8 -0
  14. package/dist/components/Dropdown/comps/DropdownItem/DropdownItem.d.ts +9 -0
  15. package/dist/components/Dropdown/comps/DropdownToggle/DropdownToggle.d.ts +7 -0
  16. package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +10 -0
  17. package/dist/components/Dropdown/comps/index.d.ts +4 -0
  18. package/dist/components/Dropdown/index.d.ts +2 -0
  19. package/dist/components/Form/SelectInput/SelectInput.d.ts +2 -1
  20. package/dist/components/HookForm/index.d.ts +0 -1
  21. package/dist/components/UserAvatar/index.d.ts +0 -1
  22. package/dist/components/common/ApiFileDownloadButton/ApiFileDownloadButton.d.ts +2 -3
  23. package/dist/contexts.cjs.js +1 -1
  24. package/dist/contexts.es.js +3 -3
  25. package/dist/{hasClass-DABt6TfW.js → hasClass-BPLafgqP.js} +5 -5
  26. package/dist/{hasClass-D3KZs5y_.mjs → hasClass-Cywenry0.mjs} +20 -27
  27. package/dist/hooks.cjs.js +1 -1
  28. package/dist/hooks.es.js +3 -3
  29. package/dist/layout/SideMenu/MenuItem/MenuItem.d.ts +2 -1
  30. package/dist/layout/SideMenu/SideMenu.d.ts +2 -1
  31. package/dist/layout.cjs.js +1 -1
  32. package/dist/layout.es.js +85 -156
  33. package/dist/main.cjs.js +1 -1
  34. package/dist/main.d.ts +5 -2
  35. package/dist/main.es.js +866 -833
  36. package/dist/models/prop-types/HookFormSelectInputProps.d.ts +1 -0
  37. package/dist/style.css +1 -1
  38. package/dist/{useConfirm-Yw2xz-A-.mjs → useConfirm-1NsG8u3o.mjs} +1 -1
  39. package/dist/{useConfirm-CQCMwQlb.js → useConfirm-BnuvVu7T.js} +1 -1
  40. package/package.json +1 -1
  41. package/dist/SimpleTooltip-HYwwaCn4.js +0 -1
  42. package/dist/components/UserAvatar/UserAvatarDropdown/UserAvatarDropdown.d.ts +0 -7
  43. /package/dist/components/{HookForm → Buttons}/FloatingSubmit/FloatingFormSubmit.d.ts +0 -0
  44. /package/dist/components/{UserAvatar → Dropdown/comps}/UserAvatarToggle/UserAvatarToggle.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as K from "react";
2
- import Q, { useRef as V, useState as Be, useCallback as N, useMemo as De, useEffect as he, cloneElement as ur } from "react";
3
- import { h as lr, j as T, e as ye } from "./HomeDashboard.module-CuVVnp4t.mjs";
4
- import { _ as fr, g as Ct, j as dr, i as Fe, h as Ce, o as Tt, l as fe, k as pr, p as ut, q as Ke, f as lt, r as vr, n as ne, v as $t, m as ft, z as hr, F as dt, A as _e, P as mr } from "./hasClass-D3KZs5y_.mjs";
2
+ import Z, { useRef as I, useState as Be, useCallback as z, useMemo as De, useEffect as he, cloneElement as ur } from "react";
3
+ import { h as lr, j as T, e as ye } from "./HomeDashboard.module-PqWrW_dw.mjs";
4
+ import { _ as fr, b as Ct, f as dr, e as Ve, d as Ce, o as Tt, l as fe, i as pr, j as ut, k as qe, a as lt, r as vr, g as ne, m as $t, h as ft, q as hr, F as dt, v as ke, P as mr } from "./hasClass-Cywenry0.mjs";
5
5
  import gr from "react-dom";
6
6
  var St = {
7
7
  color: void 0,
@@ -9,7 +9,7 @@ var St = {
9
9
  className: void 0,
10
10
  style: void 0,
11
11
  attr: void 0
12
- }, pt = Q.createContext && /* @__PURE__ */ Q.createContext(St), yr = ["attr", "size", "title"];
12
+ }, pt = Z.createContext && /* @__PURE__ */ Z.createContext(St), yr = ["attr", "size", "title"];
13
13
  function wr(e, t) {
14
14
  if (e == null)
15
15
  return {};
@@ -80,12 +80,12 @@ function Er(e, t) {
80
80
  return (t === "string" ? String : Number)(e);
81
81
  }
82
82
  function Bt(e) {
83
- return e && e.map((t, r) => /* @__PURE__ */ Q.createElement(t.tag, $e({
83
+ return e && e.map((t, r) => /* @__PURE__ */ Z.createElement(t.tag, $e({
84
84
  key: r
85
85
  }, t.attr), Bt(t.child)));
86
86
  }
87
- function te(e) {
88
- return (t) => /* @__PURE__ */ Q.createElement(jr, Te({
87
+ function k(e) {
88
+ return (t) => /* @__PURE__ */ Z.createElement(jr, Te({
89
89
  attr: $e({}, e.attr)
90
90
  }, t), Bt(e.child));
91
91
  }
@@ -96,7 +96,7 @@ function jr(e) {
96
96
  size: i,
97
97
  title: o
98
98
  } = e, u = wr(e, yr), s = i || r.size || "1em", a;
99
- return r.className && (a = r.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */ Q.createElement("svg", Te({
99
+ return r.className && (a = r.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */ Z.createElement("svg", Te({
100
100
  stroke: "currentColor",
101
101
  fill: "currentColor",
102
102
  strokeWidth: "0"
@@ -108,49 +108,61 @@ function jr(e) {
108
108
  height: s,
109
109
  width: s,
110
110
  xmlns: "http://www.w3.org/2000/svg"
111
- }), o && /* @__PURE__ */ Q.createElement("title", null, o), e.children);
111
+ }), o && /* @__PURE__ */ Z.createElement("title", null, o), e.children);
112
112
  };
113
- return pt !== void 0 ? /* @__PURE__ */ Q.createElement(pt.Consumer, null, (r) => t(r)) : t(St);
113
+ return pt !== void 0 ? /* @__PURE__ */ Z.createElement(pt.Consumer, null, (r) => t(r)) : t(St);
114
114
  }
115
115
  function ui(e) {
116
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
116
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
117
117
  }
118
118
  function li(e) {
119
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
119
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(e);
120
120
  }
121
121
  function fi(e) {
122
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
122
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z" }, child: [] }] })(e);
123
123
  }
124
124
  function di(e) {
125
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
125
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
126
126
  }
127
127
  function pi(e) {
128
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }, child: [] }] })(e);
128
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
129
129
  }
130
130
  function vi(e) {
131
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
131
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
132
132
  }
133
133
  function hi(e) {
134
- return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
134
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
135
+ }
136
+ function mi(e) {
137
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
138
+ }
139
+ function gi(e) {
140
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" }, child: [] }] })(e);
141
+ }
142
+ function yi(e) {
143
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }, child: [] }] })(e);
144
+ }
145
+ function wi(e) {
146
+ return k({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
135
147
  }
136
- function ke() {
137
- return ke = Object.assign ? Object.assign.bind() : function(e) {
148
+ function Fe() {
149
+ return Fe = Object.assign ? Object.assign.bind() : function(e) {
138
150
  for (var t = 1; t < arguments.length; t++) {
139
151
  var r = arguments[t];
140
152
  for (var n in r)
141
153
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
142
154
  }
143
155
  return e;
144
- }, ke.apply(this, arguments);
156
+ }, Fe.apply(this, arguments);
145
157
  }
146
158
  function ht(e) {
147
159
  return "default" + e.charAt(0).toUpperCase() + e.substr(1);
148
160
  }
149
- function Pr(e) {
150
- var t = Ar(e, "string");
161
+ function Mr(e) {
162
+ var t = Pr(e, "string");
151
163
  return typeof t == "symbol" ? t : String(t);
152
164
  }
153
- function Ar(e, t) {
165
+ function Pr(e, t) {
154
166
  if (typeof e != "object" || e === null)
155
167
  return e;
156
168
  var r = e[Symbol.toPrimitive];
@@ -163,30 +175,30 @@ function Ar(e, t) {
163
175
  return (t === "string" ? String : Number)(e);
164
176
  }
165
177
  function Lt(e, t, r) {
166
- var n = V(e !== void 0), i = Be(t), o = i[0], u = i[1], s = e !== void 0, a = n.current;
167
- return n.current = s, !s && a && o !== t && u(t), [s ? e : o, N(function(l) {
178
+ var n = I(e !== void 0), i = Be(t), o = i[0], u = i[1], s = e !== void 0, a = n.current;
179
+ return n.current = s, !s && a && o !== t && u(t), [s ? e : o, z(function(l) {
168
180
  for (var c = arguments.length, p = new Array(c > 1 ? c - 1 : 0), h = 1; h < c; h++)
169
181
  p[h - 1] = arguments[h];
170
182
  r && r.apply(void 0, [l].concat(p)), u(l);
171
183
  }, [r])];
172
184
  }
173
- function mi(e, t) {
185
+ function bi(e, t) {
174
186
  return Object.keys(t).reduce(function(r, n) {
175
- var i, o = r, u = o[ht(n)], s = o[n], a = fr(o, [ht(n), n].map(Pr)), l = t[n], c = Lt(s, u, e[l]), p = c[0], h = c[1];
176
- return ke({}, a, (i = {}, i[n] = p, i[l] = h, i));
187
+ var i, o = r, u = o[ht(n)], s = o[n], a = fr(o, [ht(n), n].map(Mr)), l = t[n], c = Lt(s, u, e[l]), p = c[0], h = c[1];
188
+ return Fe({}, a, (i = {}, i[n] = p, i[l] = h, i));
177
189
  }, e);
178
190
  }
179
- const Ve = 2 ** 31 - 1;
191
+ const _e = 2 ** 31 - 1;
180
192
  function Ht(e, t, r) {
181
193
  const n = r - Date.now();
182
- e.current = n <= Ve ? setTimeout(t, n) : setTimeout(() => Ht(e, t, r), Ve);
194
+ e.current = n <= _e ? setTimeout(t, n) : setTimeout(() => Ht(e, t, r), _e);
183
195
  }
184
- function Mr() {
185
- const e = Ct(), t = V();
196
+ function Ar() {
197
+ const e = Ct(), t = I();
186
198
  return dr(() => clearTimeout(t.current)), De(() => {
187
199
  const r = () => clearTimeout(t.current);
188
200
  function n(i, o = 0) {
189
- e() && (r(), o <= Ve ? t.current = setTimeout(i, o) : Ht(t, i, Date.now() + o));
201
+ e() && (r(), o <= _e ? t.current = setTimeout(i, o) : Ht(t, i, Date.now() + o));
190
202
  }
191
203
  return {
192
204
  set: n,
@@ -258,17 +270,17 @@ function de(e, t) {
258
270
  }
259
271
  function Rr(e) {
260
272
  const t = Ct();
261
- return [e[0], N((r) => {
273
+ return [e[0], z((r) => {
262
274
  if (t())
263
275
  return e[1](r);
264
276
  }, [t, e[1]])];
265
277
  }
266
- var $ = "top", W = "bottom", z = "right", S = "left", qe = "auto", we = [$, W, z, S], ie = "start", me = "end", Dr = "clippingParents", Nt = "viewport", le = "popper", Cr = "reference", yt = /* @__PURE__ */ we.reduce(function(e, t) {
278
+ var $ = "top", N = "bottom", W = "right", S = "left", Ke = "auto", we = [$, N, W, S], ie = "start", me = "end", Dr = "clippingParents", zt = "viewport", le = "popper", Cr = "reference", yt = /* @__PURE__ */ we.reduce(function(e, t) {
267
279
  return e.concat([t + "-" + ie, t + "-" + me]);
268
- }, []), Wt = /* @__PURE__ */ [].concat(we, [qe]).reduce(function(e, t) {
280
+ }, []), Nt = /* @__PURE__ */ [].concat(we, [Ke]).reduce(function(e, t) {
269
281
  return e.concat([t, t + "-" + ie, t + "-" + me]);
270
- }, []), Tr = "beforeRead", $r = "read", Sr = "afterRead", Br = "beforeMain", Lr = "main", Hr = "afterMain", Nr = "beforeWrite", Wr = "write", zr = "afterWrite", Fr = [Tr, $r, Sr, Br, Lr, Hr, Nr, Wr, zr];
271
- function _(e) {
282
+ }, []), Tr = "beforeRead", $r = "read", Sr = "afterRead", Br = "beforeMain", Lr = "main", Hr = "afterMain", zr = "beforeWrite", Nr = "write", Wr = "afterWrite", Vr = [Tr, $r, Sr, Br, Lr, Hr, zr, Nr, Wr];
283
+ function F(e) {
272
284
  return e.split("-")[0];
273
285
  }
274
286
  function H(e) {
@@ -280,11 +292,11 @@ function H(e) {
280
292
  }
281
293
  return e;
282
294
  }
283
- function ee(e) {
295
+ function te(e) {
284
296
  var t = H(e).Element;
285
297
  return e instanceof t || e instanceof Element;
286
298
  }
287
- function k(e) {
299
+ function _(e) {
288
300
  var t = H(e).HTMLElement;
289
301
  return e instanceof t || e instanceof HTMLElement;
290
302
  }
@@ -294,21 +306,21 @@ function Xe(e) {
294
306
  var t = H(e).ShadowRoot;
295
307
  return e instanceof t || e instanceof ShadowRoot;
296
308
  }
297
- var Z = Math.max, Se = Math.min, oe = Math.round;
309
+ var ee = Math.max, Se = Math.min, oe = Math.round;
298
310
  function Ie() {
299
311
  var e = navigator.userAgentData;
300
312
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
301
313
  return t.brand + "/" + t.version;
302
314
  }).join(" ") : navigator.userAgent;
303
315
  }
304
- function zt() {
316
+ function Wt() {
305
317
  return !/^((?!chrome|android).)*safari/i.test(Ie());
306
318
  }
307
319
  function ae(e, t, r) {
308
320
  t === void 0 && (t = !1), r === void 0 && (r = !1);
309
321
  var n = e.getBoundingClientRect(), i = 1, o = 1;
310
- t && k(e) && (i = e.offsetWidth > 0 && oe(n.width) / e.offsetWidth || 1, o = e.offsetHeight > 0 && oe(n.height) / e.offsetHeight || 1);
311
- var u = ee(e) ? H(e) : window, s = u.visualViewport, a = !zt() && r, l = (n.left + (a && s ? s.offsetLeft : 0)) / i, c = (n.top + (a && s ? s.offsetTop : 0)) / o, p = n.width / i, h = n.height / o;
322
+ t && _(e) && (i = e.offsetWidth > 0 && oe(n.width) / e.offsetWidth || 1, o = e.offsetHeight > 0 && oe(n.height) / e.offsetHeight || 1);
323
+ var u = te(e) ? H(e) : window, s = u.visualViewport, a = !Wt() && r, l = (n.left + (a && s ? s.offsetLeft : 0)) / i, c = (n.top + (a && s ? s.offsetTop : 0)) / o, p = n.width / i, h = n.height / o;
312
324
  return {
313
325
  width: p,
314
326
  height: h,
@@ -329,7 +341,7 @@ function Ye(e) {
329
341
  height: n
330
342
  };
331
343
  }
332
- function Ft(e, t) {
344
+ function Vt(e, t) {
333
345
  var r = t.getRootNode && t.getRootNode();
334
346
  if (e.contains(t))
335
347
  return !0;
@@ -343,23 +355,23 @@ function Ft(e, t) {
343
355
  }
344
356
  return !1;
345
357
  }
346
- function q(e) {
358
+ function X(e) {
347
359
  return e ? (e.nodeName || "").toLowerCase() : null;
348
360
  }
349
- function I(e) {
361
+ function U(e) {
350
362
  return H(e).getComputedStyle(e);
351
363
  }
352
- function _r(e) {
353
- return ["table", "td", "th"].indexOf(q(e)) >= 0;
364
+ function kr(e) {
365
+ return ["table", "td", "th"].indexOf(X(e)) >= 0;
354
366
  }
355
- function X(e) {
356
- return ((ee(e) ? e.ownerDocument : (
367
+ function Y(e) {
368
+ return ((te(e) ? e.ownerDocument : (
357
369
  // $FlowFixMe[prop-missing]
358
370
  e.document
359
371
  )) || window.document).documentElement;
360
372
  }
361
373
  function Le(e) {
362
- return q(e) === "html" ? e : (
374
+ return X(e) === "html" ? e : (
363
375
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
364
376
  // $FlowFixMe[incompatible-return]
365
377
  // $FlowFixMe[prop-missing]
@@ -367,23 +379,23 @@ function Le(e) {
367
379
  e.parentNode || // DOM Element detected
368
380
  (Xe(e) ? e.host : null) || // ShadowRoot detected
369
381
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
370
- X(e)
382
+ Y(e)
371
383
  );
372
384
  }
373
385
  function wt(e) {
374
- return !k(e) || // https://github.com/popperjs/popper-core/issues/837
375
- I(e).position === "fixed" ? null : e.offsetParent;
386
+ return !_(e) || // https://github.com/popperjs/popper-core/issues/837
387
+ U(e).position === "fixed" ? null : e.offsetParent;
376
388
  }
377
- function kr(e) {
389
+ function Fr(e) {
378
390
  var t = /firefox/i.test(Ie()), r = /Trident/i.test(Ie());
379
- if (r && k(e)) {
380
- var n = I(e);
391
+ if (r && _(e)) {
392
+ var n = U(e);
381
393
  if (n.position === "fixed")
382
394
  return null;
383
395
  }
384
396
  var i = Le(e);
385
- for (Xe(i) && (i = i.host); k(i) && ["html", "body"].indexOf(q(i)) < 0; ) {
386
- var o = I(i);
397
+ for (Xe(i) && (i = i.host); _(i) && ["html", "body"].indexOf(X(i)) < 0; ) {
398
+ var o = U(i);
387
399
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || t && o.willChange === "filter" || t && o.filter && o.filter !== "none")
388
400
  return i;
389
401
  i = i.parentNode;
@@ -391,21 +403,21 @@ function kr(e) {
391
403
  return null;
392
404
  }
393
405
  function be(e) {
394
- for (var t = H(e), r = wt(e); r && _r(r) && I(r).position === "static"; )
406
+ for (var t = H(e), r = wt(e); r && kr(r) && U(r).position === "static"; )
395
407
  r = wt(r);
396
- return r && (q(r) === "html" || q(r) === "body" && I(r).position === "static") ? t : r || kr(e) || t;
408
+ return r && (X(r) === "html" || X(r) === "body" && U(r).position === "static") ? t : r || Fr(e) || t;
397
409
  }
398
410
  function Ge(e) {
399
411
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
400
412
  }
401
413
  function pe(e, t, r) {
402
- return Z(e, Se(t, r));
414
+ return ee(e, Se(t, r));
403
415
  }
404
- function Vr(e, t, r) {
416
+ function _r(e, t, r) {
405
417
  var n = pe(e, t, r);
406
418
  return n > r ? r : n;
407
419
  }
408
- function _t() {
420
+ function kt() {
409
421
  return {
410
422
  top: 0,
411
423
  right: 0,
@@ -413,10 +425,10 @@ function _t() {
413
425
  left: 0
414
426
  };
415
427
  }
416
- function kt(e) {
417
- return Object.assign({}, _t(), e);
428
+ function Ft(e) {
429
+ return Object.assign({}, kt(), e);
418
430
  }
419
- function Vt(e, t) {
431
+ function _t(e, t) {
420
432
  return t.reduce(function(r, n) {
421
433
  return r[n] = e, r;
422
434
  }, {});
@@ -424,25 +436,25 @@ function Vt(e, t) {
424
436
  var Ir = function(t, r) {
425
437
  return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
426
438
  placement: r.placement
427
- })) : t, kt(typeof t != "number" ? t : Vt(t, we));
439
+ })) : t, Ft(typeof t != "number" ? t : _t(t, we));
428
440
  };
429
441
  function Ur(e) {
430
- var t, r = e.state, n = e.name, i = e.options, o = r.elements.arrow, u = r.modifiersData.popperOffsets, s = _(r.placement), a = Ge(s), l = [S, z].indexOf(s) >= 0, c = l ? "height" : "width";
442
+ var t, r = e.state, n = e.name, i = e.options, o = r.elements.arrow, u = r.modifiersData.popperOffsets, s = F(r.placement), a = Ge(s), l = [S, W].indexOf(s) >= 0, c = l ? "height" : "width";
431
443
  if (!(!o || !u)) {
432
- var p = Ir(i.padding, r), h = Ye(o), d = a === "y" ? $ : S, v = a === "y" ? W : z, g = r.rects.reference[c] + r.rects.reference[a] - u[a] - r.rects.popper[c], f = u[a] - r.rects.reference[a], y = be(o), m = y ? a === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, O = g / 2 - f / 2, w = p[d], x = m - h[c] - p[v], b = m / 2 - h[c] / 2 + O, E = pe(w, b, x), P = a;
433
- r.modifiersData[n] = (t = {}, t[P] = E, t.centerOffset = E - b, t);
444
+ var p = Ir(i.padding, r), h = Ye(o), d = a === "y" ? $ : S, v = a === "y" ? N : W, g = r.rects.reference[c] + r.rects.reference[a] - u[a] - r.rects.popper[c], f = u[a] - r.rects.reference[a], y = be(o), m = y ? a === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, O = g / 2 - f / 2, w = p[d], x = m - h[c] - p[v], b = m / 2 - h[c] / 2 + O, E = pe(w, b, x), M = a;
445
+ r.modifiersData[n] = (t = {}, t[M] = E, t.centerOffset = E - b, t);
434
446
  }
435
447
  }
436
- function Kr(e) {
448
+ function qr(e) {
437
449
  var t = e.state, r = e.options, n = r.element, i = n === void 0 ? "[data-popper-arrow]" : n;
438
- i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) || Ft(t.elements.popper, i) && (t.elements.arrow = i));
450
+ i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) || Vt(t.elements.popper, i) && (t.elements.arrow = i));
439
451
  }
440
- const qr = {
452
+ const Kr = {
441
453
  name: "arrow",
442
454
  enabled: !0,
443
455
  phase: "main",
444
456
  fn: Ur,
445
- effect: Kr,
457
+ effect: qr,
446
458
  requires: ["popperOffsets"],
447
459
  requiresIfExists: ["preventOverflow"]
448
460
  };
@@ -473,25 +485,25 @@ function bt(e) {
473
485
  d = f.x, g = f.y;
474
486
  var y = u.hasOwnProperty("x"), m = u.hasOwnProperty("y"), O = S, w = $, x = window;
475
487
  if (l) {
476
- var b = be(r), E = "clientHeight", P = "clientWidth";
477
- if (b === H(r) && (b = X(r), I(b).position !== "static" && s === "absolute" && (E = "scrollHeight", P = "scrollWidth")), b = b, i === $ || (i === S || i === z) && o === me) {
478
- w = W;
479
- var A = p && b === x && x.visualViewport ? x.visualViewport.height : (
488
+ var b = be(r), E = "clientHeight", M = "clientWidth";
489
+ if (b === H(r) && (b = Y(r), U(b).position !== "static" && s === "absolute" && (E = "scrollHeight", M = "scrollWidth")), b = b, i === $ || (i === S || i === W) && o === me) {
490
+ w = N;
491
+ var P = p && b === x && x.visualViewport ? x.visualViewport.height : (
480
492
  // $FlowFixMe[prop-missing]
481
493
  b[E]
482
494
  );
483
- g -= A - n.height, g *= a ? 1 : -1;
495
+ g -= P - n.height, g *= a ? 1 : -1;
484
496
  }
485
- if (i === S || (i === $ || i === W) && o === me) {
486
- O = z;
497
+ if (i === S || (i === $ || i === N) && o === me) {
498
+ O = W;
487
499
  var j = p && b === x && x.visualViewport ? x.visualViewport.width : (
488
500
  // $FlowFixMe[prop-missing]
489
- b[P]
501
+ b[M]
490
502
  );
491
503
  d -= j - n.width, d *= a ? 1 : -1;
492
504
  }
493
505
  }
494
- var M = Object.assign({
506
+ var A = Object.assign({
495
507
  position: s
496
508
  }, l && Xr), B = c === !0 ? Yr({
497
509
  x: d,
@@ -502,13 +514,13 @@ function bt(e) {
502
514
  };
503
515
  if (d = B.x, g = B.y, a) {
504
516
  var R;
505
- return Object.assign({}, M, (R = {}, R[w] = m ? "0" : "", R[O] = y ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", R));
517
+ return Object.assign({}, A, (R = {}, R[w] = m ? "0" : "", R[O] = y ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", R));
506
518
  }
507
- return Object.assign({}, M, (t = {}, t[w] = m ? g + "px" : "", t[O] = y ? d + "px" : "", t.transform = "", t));
519
+ return Object.assign({}, A, (t = {}, t[w] = m ? g + "px" : "", t[O] = y ? d + "px" : "", t.transform = "", t));
508
520
  }
509
521
  function Gr(e) {
510
522
  var t = e.state, r = e.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, o = r.adaptive, u = o === void 0 ? !0 : o, s = r.roundOffsets, a = s === void 0 ? !0 : s, l = {
511
- placement: _(t.placement),
523
+ placement: F(t.placement),
512
524
  variation: se(t.placement),
513
525
  popper: t.elements.popper,
514
526
  popperRect: t.rects.popper,
@@ -536,17 +548,17 @@ const Jr = {
536
548
  fn: Gr,
537
549
  data: {}
538
550
  };
539
- var Ae = {
551
+ var Pe = {
540
552
  passive: !0
541
553
  };
542
554
  function Qr(e) {
543
555
  var t = e.state, r = e.instance, n = e.options, i = n.scroll, o = i === void 0 ? !0 : i, u = n.resize, s = u === void 0 ? !0 : u, a = H(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
544
556
  return o && l.forEach(function(c) {
545
- c.addEventListener("scroll", r.update, Ae);
546
- }), s && a.addEventListener("resize", r.update, Ae), function() {
557
+ c.addEventListener("scroll", r.update, Pe);
558
+ }), s && a.addEventListener("resize", r.update, Pe), function() {
547
559
  o && l.forEach(function(c) {
548
- c.removeEventListener("scroll", r.update, Ae);
549
- }), s && a.removeEventListener("resize", r.update, Ae);
560
+ c.removeEventListener("scroll", r.update, Pe);
561
+ }), s && a.removeEventListener("resize", r.update, Pe);
550
562
  };
551
563
  }
552
564
  const Zr = {
@@ -564,7 +576,7 @@ var en = {
564
576
  bottom: "top",
565
577
  top: "bottom"
566
578
  };
567
- function Me(e) {
579
+ function Ae(e) {
568
580
  return e.replace(/left|right|bottom|top/g, function(t) {
569
581
  return en[t];
570
582
  });
@@ -586,13 +598,13 @@ function Je(e) {
586
598
  };
587
599
  }
588
600
  function Qe(e) {
589
- return ae(X(e)).left + Je(e).scrollLeft;
601
+ return ae(Y(e)).left + Je(e).scrollLeft;
590
602
  }
591
603
  function rn(e, t) {
592
- var r = H(e), n = X(e), i = r.visualViewport, o = n.clientWidth, u = n.clientHeight, s = 0, a = 0;
604
+ var r = H(e), n = Y(e), i = r.visualViewport, o = n.clientWidth, u = n.clientHeight, s = 0, a = 0;
593
605
  if (i) {
594
606
  o = i.width, u = i.height;
595
- var l = zt();
607
+ var l = Wt();
596
608
  (l || !l && t === "fixed") && (s = i.offsetLeft, a = i.offsetTop);
597
609
  }
598
610
  return {
@@ -603,8 +615,8 @@ function rn(e, t) {
603
615
  };
604
616
  }
605
617
  function nn(e) {
606
- var t, r = X(e), n = Je(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, o = Z(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), u = Z(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -n.scrollLeft + Qe(e), a = -n.scrollTop;
607
- return I(i || r).direction === "rtl" && (s += Z(r.clientWidth, i ? i.clientWidth : 0) - o), {
618
+ var t, r = Y(e), n = Je(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, o = ee(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), u = ee(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -n.scrollLeft + Qe(e), a = -n.scrollTop;
619
+ return U(i || r).direction === "rtl" && (s += ee(r.clientWidth, i ? i.clientWidth : 0) - o), {
608
620
  width: o,
609
621
  height: u,
610
622
  x: s,
@@ -612,11 +624,11 @@ function nn(e) {
612
624
  };
613
625
  }
614
626
  function Ze(e) {
615
- var t = I(e), r = t.overflow, n = t.overflowX, i = t.overflowY;
627
+ var t = U(e), r = t.overflow, n = t.overflowX, i = t.overflowY;
616
628
  return /auto|scroll|overlay|hidden/.test(r + i + n);
617
629
  }
618
630
  function It(e) {
619
- return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : k(e) && Ze(e) ? e : It(Le(e));
631
+ return ["html", "body", "#document"].indexOf(X(e)) >= 0 ? e.ownerDocument.body : _(e) && Ze(e) ? e : It(Le(e));
620
632
  }
621
633
  function ve(e, t) {
622
634
  var r;
@@ -640,23 +652,23 @@ function on(e, t) {
640
652
  return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
641
653
  }
642
654
  function xt(e, t, r) {
643
- return t === Nt ? Ue(rn(e, r)) : ee(t) ? on(t, r) : Ue(nn(X(e)));
655
+ return t === zt ? Ue(rn(e, r)) : te(t) ? on(t, r) : Ue(nn(Y(e)));
644
656
  }
645
657
  function an(e) {
646
- var t = ve(Le(e)), r = ["absolute", "fixed"].indexOf(I(e).position) >= 0, n = r && k(e) ? be(e) : e;
647
- return ee(n) ? t.filter(function(i) {
648
- return ee(i) && Ft(i, n) && q(i) !== "body";
658
+ var t = ve(Le(e)), r = ["absolute", "fixed"].indexOf(U(e).position) >= 0, n = r && _(e) ? be(e) : e;
659
+ return te(n) ? t.filter(function(i) {
660
+ return te(i) && Vt(i, n) && X(i) !== "body";
649
661
  }) : [];
650
662
  }
651
663
  function sn(e, t, r, n) {
652
664
  var i = t === "clippingParents" ? an(e) : [].concat(t), o = [].concat(i, [r]), u = o[0], s = o.reduce(function(a, l) {
653
665
  var c = xt(e, l, n);
654
- return a.top = Z(c.top, a.top), a.right = Se(c.right, a.right), a.bottom = Se(c.bottom, a.bottom), a.left = Z(c.left, a.left), a;
666
+ return a.top = ee(c.top, a.top), a.right = Se(c.right, a.right), a.bottom = Se(c.bottom, a.bottom), a.left = ee(c.left, a.left), a;
655
667
  }, xt(e, u, n));
656
668
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
657
669
  }
658
670
  function Ut(e) {
659
- var t = e.reference, r = e.element, n = e.placement, i = n ? _(n) : null, o = n ? se(n) : null, u = t.x + t.width / 2 - r.width / 2, s = t.y + t.height / 2 - r.height / 2, a;
671
+ var t = e.reference, r = e.element, n = e.placement, i = n ? F(n) : null, o = n ? se(n) : null, u = t.x + t.width / 2 - r.width / 2, s = t.y + t.height / 2 - r.height / 2, a;
660
672
  switch (i) {
661
673
  case $:
662
674
  a = {
@@ -664,13 +676,13 @@ function Ut(e) {
664
676
  y: t.y - r.height
665
677
  };
666
678
  break;
667
- case W:
679
+ case N:
668
680
  a = {
669
681
  x: u,
670
682
  y: t.y + t.height
671
683
  };
672
684
  break;
673
- case z:
685
+ case W:
674
686
  a = {
675
687
  x: t.x + t.width,
676
688
  y: s
@@ -704,21 +716,21 @@ function Ut(e) {
704
716
  }
705
717
  function ge(e, t) {
706
718
  t === void 0 && (t = {});
707
- var r = t, n = r.placement, i = n === void 0 ? e.placement : n, o = r.strategy, u = o === void 0 ? e.strategy : o, s = r.boundary, a = s === void 0 ? Dr : s, l = r.rootBoundary, c = l === void 0 ? Nt : l, p = r.elementContext, h = p === void 0 ? le : p, d = r.altBoundary, v = d === void 0 ? !1 : d, g = r.padding, f = g === void 0 ? 0 : g, y = kt(typeof f != "number" ? f : Vt(f, we)), m = h === le ? Cr : le, O = e.rects.popper, w = e.elements[v ? m : h], x = sn(ee(w) ? w : w.contextElement || X(e.elements.popper), a, c, u), b = ae(e.elements.reference), E = Ut({
719
+ var r = t, n = r.placement, i = n === void 0 ? e.placement : n, o = r.strategy, u = o === void 0 ? e.strategy : o, s = r.boundary, a = s === void 0 ? Dr : s, l = r.rootBoundary, c = l === void 0 ? zt : l, p = r.elementContext, h = p === void 0 ? le : p, d = r.altBoundary, v = d === void 0 ? !1 : d, g = r.padding, f = g === void 0 ? 0 : g, y = Ft(typeof f != "number" ? f : _t(f, we)), m = h === le ? Cr : le, O = e.rects.popper, w = e.elements[v ? m : h], x = sn(te(w) ? w : w.contextElement || Y(e.elements.popper), a, c, u), b = ae(e.elements.reference), E = Ut({
708
720
  reference: b,
709
721
  element: O,
710
722
  strategy: "absolute",
711
723
  placement: i
712
- }), P = Ue(Object.assign({}, O, E)), A = h === le ? P : b, j = {
713
- top: x.top - A.top + y.top,
714
- bottom: A.bottom - x.bottom + y.bottom,
715
- left: x.left - A.left + y.left,
716
- right: A.right - x.right + y.right
717
- }, M = e.modifiersData.offset;
718
- if (h === le && M) {
719
- var B = M[i];
724
+ }), M = Ue(Object.assign({}, O, E)), P = h === le ? M : b, j = {
725
+ top: x.top - P.top + y.top,
726
+ bottom: P.bottom - x.bottom + y.bottom,
727
+ left: x.left - P.left + y.left,
728
+ right: P.right - x.right + y.right
729
+ }, A = e.modifiersData.offset;
730
+ if (h === le && A) {
731
+ var B = A[i];
720
732
  Object.keys(j).forEach(function(R) {
721
- var C = [z, W].indexOf(R) >= 0 ? 1 : -1, D = [$, W].indexOf(R) >= 0 ? "y" : "x";
733
+ var C = [W, N].indexOf(R) >= 0 ? 1 : -1, D = [$, N].indexOf(R) >= 0 ? "y" : "x";
722
734
  j[R] += B[D] * C;
723
735
  });
724
736
  }
@@ -726,7 +738,7 @@ function ge(e, t) {
726
738
  }
727
739
  function cn(e, t) {
728
740
  t === void 0 && (t = {});
729
- var r = t, n = r.placement, i = r.boundary, o = r.rootBoundary, u = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, l = a === void 0 ? Wt : a, c = se(n), p = c ? s ? yt : yt.filter(function(v) {
741
+ var r = t, n = r.placement, i = r.boundary, o = r.rootBoundary, u = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, l = a === void 0 ? Nt : a, c = se(n), p = c ? s ? yt : yt.filter(function(v) {
730
742
  return se(v) === c;
731
743
  }) : we, h = p.filter(function(v) {
732
744
  return l.indexOf(v) >= 0;
@@ -738,65 +750,65 @@ function cn(e, t) {
738
750
  boundary: i,
739
751
  rootBoundary: o,
740
752
  padding: u
741
- })[_(g)], v;
753
+ })[F(g)], v;
742
754
  }, {});
743
755
  return Object.keys(d).sort(function(v, g) {
744
756
  return d[v] - d[g];
745
757
  });
746
758
  }
747
759
  function un(e) {
748
- if (_(e) === qe)
760
+ if (F(e) === Ke)
749
761
  return [];
750
- var t = Me(e);
762
+ var t = Ae(e);
751
763
  return [Ot(e), t, Ot(t)];
752
764
  }
753
765
  function ln(e) {
754
766
  var t = e.state, r = e.options, n = e.name;
755
767
  if (!t.modifiersData[n]._skip) {
756
- for (var i = r.mainAxis, o = i === void 0 ? !0 : i, u = r.altAxis, s = u === void 0 ? !0 : u, a = r.fallbackPlacements, l = r.padding, c = r.boundary, p = r.rootBoundary, h = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, g = r.allowedAutoPlacements, f = t.options.placement, y = _(f), m = y === f, O = a || (m || !v ? [Me(f)] : un(f)), w = [f].concat(O).reduce(function(re, U) {
757
- return re.concat(_(U) === qe ? cn(t, {
758
- placement: U,
768
+ for (var i = r.mainAxis, o = i === void 0 ? !0 : i, u = r.altAxis, s = u === void 0 ? !0 : u, a = r.fallbackPlacements, l = r.padding, c = r.boundary, p = r.rootBoundary, h = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, g = r.allowedAutoPlacements, f = t.options.placement, y = F(f), m = y === f, O = a || (m || !v ? [Ae(f)] : un(f)), w = [f].concat(O).reduce(function(re, q) {
769
+ return re.concat(F(q) === Ke ? cn(t, {
770
+ placement: q,
759
771
  boundary: c,
760
772
  rootBoundary: p,
761
773
  padding: l,
762
774
  flipVariations: v,
763
775
  allowedAutoPlacements: g
764
- }) : U);
765
- }, []), x = t.rects.reference, b = t.rects.popper, E = /* @__PURE__ */ new Map(), P = !0, A = w[0], j = 0; j < w.length; j++) {
766
- var M = w[j], B = _(M), R = se(M) === ie, C = [$, W].indexOf(B) >= 0, D = C ? "width" : "height", L = ge(t, {
767
- placement: M,
776
+ }) : q);
777
+ }, []), x = t.rects.reference, b = t.rects.popper, E = /* @__PURE__ */ new Map(), M = !0, P = w[0], j = 0; j < w.length; j++) {
778
+ var A = w[j], B = F(A), R = se(A) === ie, C = [$, N].indexOf(B) >= 0, D = C ? "width" : "height", L = ge(t, {
779
+ placement: A,
768
780
  boundary: c,
769
781
  rootBoundary: p,
770
782
  altBoundary: h,
771
783
  padding: l
772
- }), F = C ? R ? z : S : R ? W : $;
773
- x[D] > b[D] && (F = Me(F));
774
- var Oe = Me(F), Y = [];
775
- if (o && Y.push(L[B] <= 0), s && Y.push(L[F] <= 0, L[Oe] <= 0), Y.every(function(re) {
784
+ }), V = C ? R ? W : S : R ? N : $;
785
+ x[D] > b[D] && (V = Ae(V));
786
+ var Oe = Ae(V), G = [];
787
+ if (o && G.push(L[B] <= 0), s && G.push(L[V] <= 0, L[Oe] <= 0), G.every(function(re) {
776
788
  return re;
777
789
  })) {
778
- A = M, P = !1;
790
+ P = A, M = !1;
779
791
  break;
780
792
  }
781
- E.set(M, Y);
793
+ E.set(A, G);
782
794
  }
783
- if (P)
784
- for (var xe = v ? 3 : 1, He = function(U) {
795
+ if (M)
796
+ for (var xe = v ? 3 : 1, He = function(q) {
785
797
  var ue = w.find(function(je) {
786
- var G = E.get(je);
787
- if (G)
788
- return G.slice(0, U).every(function(Ne) {
789
- return Ne;
798
+ var J = E.get(je);
799
+ if (J)
800
+ return J.slice(0, q).every(function(ze) {
801
+ return ze;
790
802
  });
791
803
  });
792
804
  if (ue)
793
- return A = ue, "break";
805
+ return P = ue, "break";
794
806
  }, ce = xe; ce > 0; ce--) {
795
807
  var Ee = He(ce);
796
808
  if (Ee === "break")
797
809
  break;
798
810
  }
799
- t.placement !== A && (t.modifiersData[n]._skip = !0, t.placement = A, t.reset = !0);
811
+ t.placement !== P && (t.modifiersData[n]._skip = !0, t.placement = P, t.reset = !0);
800
812
  }
801
813
  }
802
814
  const fn = {
@@ -821,7 +833,7 @@ function Et(e, t, r) {
821
833
  };
822
834
  }
823
835
  function jt(e) {
824
- return [$, z, W, S].some(function(t) {
836
+ return [$, W, N, S].some(function(t) {
825
837
  return e[t] >= 0;
826
838
  });
827
839
  }
@@ -849,10 +861,10 @@ const pn = {
849
861
  fn: dn
850
862
  };
851
863
  function vn(e, t, r) {
852
- var n = _(e), i = [S, $].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, t, {
864
+ var n = F(e), i = [S, $].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, t, {
853
865
  placement: e
854
866
  })) : r, u = o[0], s = o[1];
855
- return u = u || 0, s = (s || 0) * i, [S, z].indexOf(n) >= 0 ? {
867
+ return u = u || 0, s = (s || 0) * i, [S, W].indexOf(n) >= 0 ? {
856
868
  x: s,
857
869
  y: u
858
870
  } : {
@@ -861,7 +873,7 @@ function vn(e, t, r) {
861
873
  };
862
874
  }
863
875
  function hn(e) {
864
- var t = e.state, r = e.options, n = e.name, i = r.offset, o = i === void 0 ? [0, 0] : i, u = Wt.reduce(function(c, p) {
876
+ var t = e.state, r = e.options, n = e.name, i = r.offset, o = i === void 0 ? [0, 0] : i, u = Nt.reduce(function(c, p) {
865
877
  return c[p] = vn(p, t.rects, o), c;
866
878
  }, {}), s = u[t.placement], a = s.x, l = s.y;
867
879
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = u;
@@ -898,29 +910,29 @@ function bn(e) {
898
910
  rootBoundary: l,
899
911
  padding: p,
900
912
  altBoundary: c
901
- }), y = _(t.placement), m = se(t.placement), O = !m, w = Ge(y), x = wn(w), b = t.modifiersData.popperOffsets, E = t.rects.reference, P = t.rects.popper, A = typeof g == "function" ? g(Object.assign({}, t.rects, {
913
+ }), y = F(t.placement), m = se(t.placement), O = !m, w = Ge(y), x = wn(w), b = t.modifiersData.popperOffsets, E = t.rects.reference, M = t.rects.popper, P = typeof g == "function" ? g(Object.assign({}, t.rects, {
902
914
  placement: t.placement
903
- })) : g, j = typeof A == "number" ? {
904
- mainAxis: A,
905
- altAxis: A
915
+ })) : g, j = typeof P == "number" ? {
916
+ mainAxis: P,
917
+ altAxis: P
906
918
  } : Object.assign({
907
919
  mainAxis: 0,
908
920
  altAxis: 0
909
- }, A), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, B = {
921
+ }, P), A = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, B = {
910
922
  x: 0,
911
923
  y: 0
912
924
  };
913
925
  if (b) {
914
926
  if (o) {
915
- var R, C = w === "y" ? $ : S, D = w === "y" ? W : z, L = w === "y" ? "height" : "width", F = b[w], Oe = F + f[C], Y = F - f[D], xe = d ? -P[L] / 2 : 0, He = m === ie ? E[L] : P[L], ce = m === ie ? -P[L] : -E[L], Ee = t.elements.arrow, re = d && Ee ? Ye(Ee) : {
927
+ var R, C = w === "y" ? $ : S, D = w === "y" ? N : W, L = w === "y" ? "height" : "width", V = b[w], Oe = V + f[C], G = V - f[D], xe = d ? -M[L] / 2 : 0, He = m === ie ? E[L] : M[L], ce = m === ie ? -M[L] : -E[L], Ee = t.elements.arrow, re = d && Ee ? Ye(Ee) : {
916
928
  width: 0,
917
929
  height: 0
918
- }, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : _t(), ue = U[C], je = U[D], G = pe(0, E[L], re[L]), Ne = O ? E[L] / 2 - xe - G - ue - j.mainAxis : He - G - ue - j.mainAxis, nr = O ? -E[L] / 2 + xe + G + je + j.mainAxis : ce + G + je + j.mainAxis, We = t.elements.arrow && be(t.elements.arrow), ir = We ? w === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, et = (R = M == null ? void 0 : M[w]) != null ? R : 0, or = F + Ne - et - ir, ar = F + nr - et, tt = pe(d ? Se(Oe, or) : Oe, F, d ? Z(Y, ar) : Y);
919
- b[w] = tt, B[w] = tt - F;
930
+ }, q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : kt(), ue = q[C], je = q[D], J = pe(0, E[L], re[L]), ze = O ? E[L] / 2 - xe - J - ue - j.mainAxis : He - J - ue - j.mainAxis, nr = O ? -E[L] / 2 + xe + J + je + j.mainAxis : ce + J + je + j.mainAxis, Ne = t.elements.arrow && be(t.elements.arrow), ir = Ne ? w === "y" ? Ne.clientTop || 0 : Ne.clientLeft || 0 : 0, et = (R = A == null ? void 0 : A[w]) != null ? R : 0, or = V + ze - et - ir, ar = V + nr - et, tt = pe(d ? Se(Oe, or) : Oe, V, d ? ee(G, ar) : G);
931
+ b[w] = tt, B[w] = tt - V;
920
932
  }
921
933
  if (s) {
922
- var rt, sr = w === "x" ? $ : S, cr = w === "x" ? W : z, J = b[x], Pe = x === "y" ? "height" : "width", nt = J + f[sr], it = J - f[cr], ze = [$, S].indexOf(y) !== -1, ot = (rt = M == null ? void 0 : M[x]) != null ? rt : 0, at = ze ? nt : J - E[Pe] - P[Pe] - ot + j.altAxis, st = ze ? J + E[Pe] + P[Pe] - ot - j.altAxis : it, ct = d && ze ? Vr(at, J, st) : pe(d ? at : nt, J, d ? st : it);
923
- b[x] = ct, B[x] = ct - J;
934
+ var rt, sr = w === "x" ? $ : S, cr = w === "x" ? N : W, Q = b[x], Me = x === "y" ? "height" : "width", nt = Q + f[sr], it = Q - f[cr], We = [$, S].indexOf(y) !== -1, ot = (rt = A == null ? void 0 : A[x]) != null ? rt : 0, at = We ? nt : Q - E[Me] - M[Me] - ot + j.altAxis, st = We ? Q + E[Me] + M[Me] - ot - j.altAxis : it, ct = d && We ? _r(at, Q, st) : pe(d ? at : nt, Q, d ? st : it);
935
+ b[x] = ct, B[x] = ct - Q;
924
936
  }
925
937
  t.modifiersData[n] = B;
926
938
  }
@@ -939,30 +951,30 @@ function xn(e) {
939
951
  };
940
952
  }
941
953
  function En(e) {
942
- return e === H(e) || !k(e) ? Je(e) : xn(e);
954
+ return e === H(e) || !_(e) ? Je(e) : xn(e);
943
955
  }
944
956
  function jn(e) {
945
957
  var t = e.getBoundingClientRect(), r = oe(t.width) / e.offsetWidth || 1, n = oe(t.height) / e.offsetHeight || 1;
946
958
  return r !== 1 || n !== 1;
947
959
  }
948
- function Pn(e, t, r) {
960
+ function Mn(e, t, r) {
949
961
  r === void 0 && (r = !1);
950
- var n = k(t), i = k(t) && jn(t), o = X(t), u = ae(e, i, r), s = {
962
+ var n = _(t), i = _(t) && jn(t), o = Y(t), u = ae(e, i, r), s = {
951
963
  scrollLeft: 0,
952
964
  scrollTop: 0
953
965
  }, a = {
954
966
  x: 0,
955
967
  y: 0
956
968
  };
957
- return (n || !n && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
958
- Ze(o)) && (s = En(t)), k(t) ? (a = ae(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : o && (a.x = Qe(o))), {
969
+ return (n || !n && !r) && ((X(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
970
+ Ze(o)) && (s = En(t)), _(t) ? (a = ae(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : o && (a.x = Qe(o))), {
959
971
  x: u.left + s.scrollLeft - a.x,
960
972
  y: u.top + s.scrollTop - a.y,
961
973
  width: u.width,
962
974
  height: u.height
963
975
  };
964
976
  }
965
- function An(e) {
977
+ function Pn(e) {
966
978
  var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
967
979
  e.forEach(function(o) {
968
980
  t.set(o.name, o);
@@ -981,9 +993,9 @@ function An(e) {
981
993
  r.has(o.name) || i(o);
982
994
  }), n;
983
995
  }
984
- function Mn(e) {
985
- var t = An(e);
986
- return Fr.reduce(function(r, n) {
996
+ function An(e) {
997
+ var t = Pn(e);
998
+ return Vr.reduce(function(r, n) {
987
999
  return r.concat(t.filter(function(i) {
988
1000
  return i.phase === n;
989
1001
  }));
@@ -1011,12 +1023,12 @@ function Dn(e) {
1011
1023
  return t[r];
1012
1024
  });
1013
1025
  }
1014
- var Pt = {
1026
+ var Mt = {
1015
1027
  placement: "bottom",
1016
1028
  modifiers: [],
1017
1029
  strategy: "absolute"
1018
1030
  };
1019
- function At() {
1031
+ function Pt() {
1020
1032
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
1021
1033
  t[r] = arguments[r];
1022
1034
  return !t.some(function(n) {
@@ -1025,13 +1037,13 @@ function At() {
1025
1037
  }
1026
1038
  function Cn(e) {
1027
1039
  e === void 0 && (e = {});
1028
- var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, i = t.defaultOptions, o = i === void 0 ? Pt : i;
1040
+ var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, i = t.defaultOptions, o = i === void 0 ? Mt : i;
1029
1041
  return function(s, a, l) {
1030
1042
  l === void 0 && (l = o);
1031
1043
  var c = {
1032
1044
  placement: "bottom",
1033
1045
  orderedModifiers: [],
1034
- options: Object.assign({}, Pt, o),
1046
+ options: Object.assign({}, Mt, o),
1035
1047
  modifiersData: {},
1036
1048
  elements: {
1037
1049
  reference: s,
@@ -1044,10 +1056,10 @@ function Cn(e) {
1044
1056
  setOptions: function(y) {
1045
1057
  var m = typeof y == "function" ? y(c.options) : y;
1046
1058
  g(), c.options = Object.assign({}, o, c.options, m), c.scrollParents = {
1047
- reference: ee(s) ? ve(s) : s.contextElement ? ve(s.contextElement) : [],
1059
+ reference: te(s) ? ve(s) : s.contextElement ? ve(s.contextElement) : [],
1048
1060
  popper: ve(a)
1049
1061
  };
1050
- var O = Mn(Dn([].concat(n, c.options.modifiers)));
1062
+ var O = An(Dn([].concat(n, c.options.modifiers)));
1051
1063
  return c.orderedModifiers = O.filter(function(w) {
1052
1064
  return w.enabled;
1053
1065
  }), v(), d.update();
@@ -1060,9 +1072,9 @@ function Cn(e) {
1060
1072
  forceUpdate: function() {
1061
1073
  if (!h) {
1062
1074
  var y = c.elements, m = y.reference, O = y.popper;
1063
- if (At(m, O)) {
1075
+ if (Pt(m, O)) {
1064
1076
  c.rects = {
1065
- reference: Pn(m, be(O), c.options.strategy === "fixed"),
1077
+ reference: Mn(m, be(O), c.options.strategy === "fixed"),
1066
1078
  popper: Ye(O)
1067
1079
  }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(j) {
1068
1080
  return c.modifiersData[j.name] = Object.assign({}, j.data);
@@ -1072,11 +1084,11 @@ function Cn(e) {
1072
1084
  c.reset = !1, w = -1;
1073
1085
  continue;
1074
1086
  }
1075
- var x = c.orderedModifiers[w], b = x.fn, E = x.options, P = E === void 0 ? {} : E, A = x.name;
1087
+ var x = c.orderedModifiers[w], b = x.fn, E = x.options, M = E === void 0 ? {} : E, P = x.name;
1076
1088
  typeof b == "function" && (c = b({
1077
1089
  state: c,
1078
- options: P,
1079
- name: A,
1090
+ options: M,
1091
+ name: P,
1080
1092
  instance: d
1081
1093
  }) || c);
1082
1094
  }
@@ -1094,7 +1106,7 @@ function Cn(e) {
1094
1106
  g(), h = !0;
1095
1107
  }
1096
1108
  };
1097
- if (!At(s, a))
1109
+ if (!Pt(s, a))
1098
1110
  return d;
1099
1111
  d.setOptions(l).then(function(f) {
1100
1112
  !h && l.onFirstUpdate && l.onFirstUpdate(f);
@@ -1123,7 +1135,7 @@ function Cn(e) {
1123
1135
  };
1124
1136
  }
1125
1137
  const Tn = Cn({
1126
- defaultModifiers: [pn, yn, Jr, Zr, mn, fn, On, qr]
1138
+ defaultModifiers: [pn, yn, Jr, Zr, mn, fn, On, Kr]
1127
1139
  }), $n = ["enabled", "placement", "strategy", "modifiers"];
1128
1140
  function Sn(e, t) {
1129
1141
  if (e == null)
@@ -1171,17 +1183,17 @@ const Bn = {
1171
1183
  }
1172
1184
  }
1173
1185
  }, Hn = [];
1174
- function Nn(e, t, r = {}) {
1186
+ function zn(e, t, r = {}) {
1175
1187
  let {
1176
1188
  enabled: n = !0,
1177
1189
  placement: i = "bottom",
1178
1190
  strategy: o = "absolute",
1179
1191
  modifiers: u = Hn
1180
1192
  } = r, s = Sn(r, $n);
1181
- const a = V(u), l = V(), c = N(() => {
1193
+ const a = I(u), l = I(), c = z(() => {
1182
1194
  var f;
1183
1195
  (f = l.current) == null || f.update();
1184
- }, []), p = N(() => {
1196
+ }, []), p = z(() => {
1185
1197
  var f;
1186
1198
  (f = l.current) == null || f.forceUpdate();
1187
1199
  }, []), [h, d] = Rr(Be({
@@ -1236,10 +1248,10 @@ function Nn(e, t, r = {}) {
1236
1248
  };
1237
1249
  }, [n, e, t]), h;
1238
1250
  }
1239
- var Wn = process.env.NODE_ENV !== "production", Kt = function() {
1251
+ var Nn = process.env.NODE_ENV !== "production", qt = function() {
1240
1252
  };
1241
- if (Wn) {
1242
- var zn = function(t, r) {
1253
+ if (Nn) {
1254
+ var Wn = function(t, r) {
1243
1255
  var n = arguments.length;
1244
1256
  r = new Array(n > 1 ? n - 1 : 0);
1245
1257
  for (var i = 1; i < n; i++)
@@ -1253,7 +1265,7 @@ if (Wn) {
1253
1265
  } catch {
1254
1266
  }
1255
1267
  };
1256
- Kt = function(e, t, r) {
1268
+ qt = function(e, t, r) {
1257
1269
  var n = arguments.length;
1258
1270
  r = new Array(n > 2 ? n - 2 : 0);
1259
1271
  for (var i = 2; i < n; i++)
@@ -1262,16 +1274,16 @@ if (Wn) {
1262
1274
  throw new Error(
1263
1275
  "`warning(condition, format, ...args)` requires a warning message argument"
1264
1276
  );
1265
- e || zn.apply(null, [t].concat(r));
1277
+ e || Wn.apply(null, [t].concat(r));
1266
1278
  };
1267
1279
  }
1268
- var Fn = Kt;
1269
- const qt = /* @__PURE__ */ lr(Fn), Mt = () => {
1280
+ var Vn = qt;
1281
+ const Kt = /* @__PURE__ */ lr(Vn), At = () => {
1270
1282
  };
1271
- function _n(e) {
1283
+ function kn(e) {
1272
1284
  return e.button === 0;
1273
1285
  }
1274
- function kn(e) {
1286
+ function Fn(e) {
1275
1287
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1276
1288
  }
1277
1289
  const Re = (e) => e && ("current" in e ? e.current : e), Rt = {
@@ -1279,16 +1291,16 @@ const Re = (e) => e && ("current" in e ? e.current : e), Rt = {
1279
1291
  mouseup: "mousedown",
1280
1292
  pointerup: "pointerdown"
1281
1293
  };
1282
- function Vn(e, t = Mt, {
1294
+ function _n(e, t = At, {
1283
1295
  disabled: r,
1284
1296
  clickTrigger: n = "click"
1285
1297
  } = {}) {
1286
- const i = V(!1), o = V(!1), u = N((l) => {
1298
+ const i = I(!1), o = I(!1), u = z((l) => {
1287
1299
  const c = Re(e);
1288
- qt(!!c, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), i.current = !c || kn(l) || !_n(l) || !!Fe(c, l.target) || o.current, o.current = !1;
1300
+ Kt(!!c, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), i.current = !c || Fn(l) || !kn(l) || !!Ve(c, l.target) || o.current, o.current = !1;
1289
1301
  }, [e]), s = Ce((l) => {
1290
1302
  const c = Re(e);
1291
- c && Fe(c, l.target) && (o.current = !0);
1303
+ c && Ve(c, l.target) && (o.current = !0);
1292
1304
  }), a = Ce((l) => {
1293
1305
  i.current || t(l);
1294
1306
  });
@@ -1307,7 +1319,7 @@ function Vn(e, t = Mt, {
1307
1319
  a(m);
1308
1320
  });
1309
1321
  let y = [];
1310
- return "ontouchstart" in p.documentElement && (y = [].slice.call(p.body.children).map((m) => fe(m, "mousemove", Mt))), () => {
1322
+ return "ontouchstart" in p.documentElement && (y = [].slice.call(p.body.children).map((m) => fe(m, "mousemove", At))), () => {
1311
1323
  v == null || v(), g(), f(), y.forEach((m) => m());
1312
1324
  };
1313
1325
  }, [e, r, n, u, s, a]);
@@ -1321,7 +1333,7 @@ function In(e) {
1321
1333
  function Un(e = {}) {
1322
1334
  return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
1323
1335
  }
1324
- function Kn({
1336
+ function qn({
1325
1337
  enabled: e,
1326
1338
  enableEvents: t,
1327
1339
  placement: r,
@@ -1365,14 +1377,14 @@ function Kn({
1365
1377
  }))
1366
1378
  });
1367
1379
  }
1368
- const qn = () => {
1380
+ const Kn = () => {
1369
1381
  };
1370
1382
  function Xn(e, t, {
1371
1383
  disabled: r,
1372
1384
  clickTrigger: n
1373
1385
  } = {}) {
1374
- const i = t || qn;
1375
- Vn(e, i, {
1386
+ const i = t || Kn;
1387
+ _n(e, i, {
1376
1388
  disabled: r,
1377
1389
  clickTrigger: n
1378
1390
  });
@@ -1405,7 +1417,7 @@ const Xt = /* @__PURE__ */ K.forwardRef((e, t) => {
1405
1417
  popperConfig: u = {},
1406
1418
  transition: s,
1407
1419
  runTransition: a
1408
- } = e, [l, c] = ut(), [p, h] = ut(), d = Ke(c, t), v = lt(e.container), g = lt(e.target), [f, y] = Be(!e.show), m = Nn(g, l, Kn({
1420
+ } = e, [l, c] = ut(), [p, h] = ut(), d = qe(c, t), v = lt(e.container), g = lt(e.target), [f, y] = Be(!e.show), m = zn(g, l, qn({
1409
1421
  placement: i,
1410
1422
  enableEvents: !!e.show,
1411
1423
  containerPadding: o || 5,
@@ -1415,8 +1427,8 @@ const Xt = /* @__PURE__ */ K.forwardRef((e, t) => {
1415
1427
  popperConfig: u
1416
1428
  }));
1417
1429
  e.show && f && y(!1);
1418
- const O = (...M) => {
1419
- y(!0), e.onExited && e.onExited(...M);
1430
+ const O = (...A) => {
1431
+ y(!0), e.onExited && e.onExited(...A);
1420
1432
  }, w = e.show || !f;
1421
1433
  if (Xn(l, e.onHide, {
1422
1434
  disabled: !e.rootClose || e.rootCloseDisabled,
@@ -1427,8 +1439,8 @@ const Xt = /* @__PURE__ */ K.forwardRef((e, t) => {
1427
1439
  onExit: x,
1428
1440
  onExiting: b,
1429
1441
  onEnter: E,
1430
- onEntering: P,
1431
- onEntered: A
1442
+ onEntering: M,
1443
+ onEntered: P
1432
1444
  } = e;
1433
1445
  let j = e.children(Object.assign({}, m.attributes.popper, {
1434
1446
  style: m.styles.popper,
@@ -1452,8 +1464,8 @@ const Xt = /* @__PURE__ */ K.forwardRef((e, t) => {
1452
1464
  onExiting: b,
1453
1465
  onExited: O,
1454
1466
  onEnter: E,
1455
- onEntering: P,
1456
- onEntered: A
1467
+ onEntering: M,
1468
+ onEntered: P
1457
1469
  }), v ? /* @__PURE__ */ gr.createPortal(j, v) : null;
1458
1470
  });
1459
1471
  Xt.displayName = "Overlay";
@@ -1572,7 +1584,7 @@ const tr = Object.assign(er, {
1572
1584
  TOOLTIP_OFFSET: [0, 6]
1573
1585
  });
1574
1586
  function Zn(e) {
1575
- const t = V(null), r = ne(void 0, "popover"), n = ne(void 0, "tooltip"), i = De(() => ({
1587
+ const t = I(null), r = ne(void 0, "popover"), n = ne(void 0, "tooltip"), i = De(() => ({
1576
1588
  name: "offset",
1577
1589
  options: {
1578
1590
  offset: () => {
@@ -1596,7 +1608,7 @@ function ei(e, t) {
1596
1608
  } = e, {
1597
1609
  ref: n
1598
1610
  } = t;
1599
- e.ref = r.__wrapped || (r.__wrapped = (i) => r(_e(i))), t.ref = n.__wrapped || (n.__wrapped = (i) => n(_e(i)));
1611
+ e.ref = r.__wrapped || (r.__wrapped = (i) => r(ke(i))), t.ref = n.__wrapped || (n.__wrapped = (i) => n(ke(i)));
1600
1612
  }
1601
1613
  const rr = /* @__PURE__ */ K.forwardRef(({
1602
1614
  children: e,
@@ -1607,7 +1619,7 @@ const rr = /* @__PURE__ */ K.forwardRef(({
1607
1619
  show: o = !1,
1608
1620
  ...u
1609
1621
  }, s) => {
1610
- const a = V({}), [l, c] = Be(null), [p, h] = Zn(u.offset), d = Ke(s, p), v = t === !0 ? dt : t || void 0, g = Ce((f) => {
1622
+ const a = I({}), [l, c] = Be(null), [p, h] = Zn(u.offset), d = qe(s, p), v = t === !0 ? dt : t || void 0, g = Ce((f) => {
1611
1623
  c(f), r == null || r.onFirstUpdate == null || r.onFirstUpdate(f);
1612
1624
  });
1613
1625
  return hr(() => {
@@ -1639,7 +1651,7 @@ const rr = /* @__PURE__ */ K.forwardRef(({
1639
1651
  placement: b,
1640
1652
  outOfBoundaries: (m == null || (w = m.state) == null || (x = w.modifiersData.hide) == null ? void 0 : x.isReferenceHidden) || !1,
1641
1653
  strategy: r.strategy
1642
- }), P = !!l;
1654
+ }), M = !!l;
1643
1655
  return typeof e == "function" ? e({
1644
1656
  ...f,
1645
1657
  placement: b,
@@ -1649,13 +1661,13 @@ const rr = /* @__PURE__ */ K.forwardRef(({
1649
1661
  },
1650
1662
  popper: E,
1651
1663
  arrowProps: y,
1652
- hasDoneInitialMeasure: P
1664
+ hasDoneInitialMeasure: M
1653
1665
  }) : /* @__PURE__ */ K.cloneElement(e, {
1654
1666
  ...f,
1655
1667
  placement: b,
1656
1668
  arrowProps: y,
1657
1669
  popper: E,
1658
- hasDoneInitialMeasure: P,
1670
+ hasDoneInitialMeasure: M,
1659
1671
  className: ye(e.props.className, !t && O && "show"),
1660
1672
  style: {
1661
1673
  ...e.props.style,
@@ -1675,7 +1687,7 @@ function ri(e) {
1675
1687
  }
1676
1688
  function Dt(e, t, r) {
1677
1689
  const [n] = t, i = n.currentTarget, o = n.relatedTarget || n.nativeEvent[r];
1678
- (!o || o !== i) && !Fe(i, o) && e(...t);
1690
+ (!o || o !== i) && !Ve(i, o) && e(...t);
1679
1691
  }
1680
1692
  mr.oneOf(["click", "hover", "focus"]);
1681
1693
  const ni = ({
@@ -1691,13 +1703,13 @@ const ni = ({
1691
1703
  flip: l = a && a.indexOf("auto") !== -1,
1692
1704
  ...c
1693
1705
  }) => {
1694
- const p = V(null), h = Ke(p, r.ref), d = Mr(), v = V(""), [g, f] = Lt(i, o, u), y = ri(s), {
1706
+ const p = I(null), h = qe(p, r.ref), d = Ar(), v = I(""), [g, f] = Lt(i, o, u), y = ri(s), {
1695
1707
  onFocus: m,
1696
1708
  onBlur: O,
1697
1709
  onClick: w
1698
1710
  } = typeof r != "function" ? K.Children.only(r).props : {}, x = (D) => {
1699
- h(_e(D));
1700
- }, b = N(() => {
1711
+ h(ke(D));
1712
+ }, b = z(() => {
1701
1713
  if (d.clear(), v.current = "show", !y.show) {
1702
1714
  f(!0);
1703
1715
  return;
@@ -1705,7 +1717,7 @@ const ni = ({
1705
1717
  d.set(() => {
1706
1718
  v.current === "show" && f(!0);
1707
1719
  }, y.show);
1708
- }, [y.show, f, d]), E = N(() => {
1720
+ }, [y.show, f, d]), E = z(() => {
1709
1721
  if (d.clear(), v.current = "hide", !y.hide) {
1710
1722
  f(!1);
1711
1723
  return;
@@ -1713,20 +1725,20 @@ const ni = ({
1713
1725
  d.set(() => {
1714
1726
  v.current === "hide" && f(!1);
1715
1727
  }, y.hide);
1716
- }, [y.hide, f, d]), P = N((...D) => {
1728
+ }, [y.hide, f, d]), M = z((...D) => {
1717
1729
  b(), m == null || m(...D);
1718
- }, [b, m]), A = N((...D) => {
1730
+ }, [b, m]), P = z((...D) => {
1719
1731
  E(), O == null || O(...D);
1720
- }, [E, O]), j = N((...D) => {
1732
+ }, [E, O]), j = z((...D) => {
1721
1733
  f(!g), w == null || w(...D);
1722
- }, [w, f, g]), M = N((...D) => {
1734
+ }, [w, f, g]), A = z((...D) => {
1723
1735
  Dt(b, D, "fromElement");
1724
- }, [b]), B = N((...D) => {
1736
+ }, [b]), B = z((...D) => {
1725
1737
  Dt(E, D, "toElement");
1726
1738
  }, [E]), R = e == null ? [] : [].concat(e), C = {
1727
1739
  ref: x
1728
1740
  };
1729
- return R.indexOf("click") !== -1 && (C.onClick = j), R.indexOf("focus") !== -1 && (C.onFocus = P, C.onBlur = A), R.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && qt(R.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), C.onMouseOver = M, C.onMouseOut = B), /* @__PURE__ */ T.jsxs(T.Fragment, {
1741
+ return R.indexOf("click") !== -1 && (C.onClick = j), R.indexOf("focus") !== -1 && (C.onFocus = M, C.onBlur = P), R.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && Kt(R.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), C.onMouseOver = A, C.onMouseOut = B), /* @__PURE__ */ T.jsxs(T.Fragment, {
1730
1742
  children: [typeof r == "function" ? r(C) : /* @__PURE__ */ ur(r, C), /* @__PURE__ */ T.jsx(ti, {
1731
1743
  ...c,
1732
1744
  show: g,
@@ -1738,22 +1750,26 @@ const ni = ({
1738
1750
  children: t
1739
1751
  })]
1740
1752
  });
1741
- }, ii = ni, gi = ({ text: e, placement: t, children: r }) => /* @__PURE__ */ T.jsx(ii, { placement: t, overlay: /* @__PURE__ */ T.jsx(tr, { className: "luminus-tooltip", children: e }), children: r });
1753
+ }, ii = ni, Oi = ({ text: e, placement: t, children: r }) => /* @__PURE__ */ T.jsx(ii, { placement: t, overlay: /* @__PURE__ */ T.jsx(tr, { className: "luminus-tooltip", children: e }), children: r });
1742
1754
  export {
1743
- pi as M,
1755
+ mi as M,
1744
1756
  ii as O,
1745
1757
  Qn as P,
1746
- gi as S,
1758
+ Oi as S,
1747
1759
  tr as T,
1748
- vi as a,
1749
- hi as b,
1750
- di as c,
1751
- li as d,
1752
- fi as e,
1753
- Vn as f,
1754
- mi as g,
1755
- ui as h,
1756
- Kn as m,
1757
- Nn as u,
1758
- qt as w
1760
+ hi as a,
1761
+ li as b,
1762
+ fi as c,
1763
+ vi as d,
1764
+ di as e,
1765
+ pi as f,
1766
+ yi as g,
1767
+ gi as h,
1768
+ _n as i,
1769
+ bi as j,
1770
+ ui as k,
1771
+ wi as l,
1772
+ qn as m,
1773
+ zn as u,
1774
+ Kt as w
1759
1775
  };