react-ecosistema-unp 0.7.3 → 0.8.15-react-19
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.
- package/dist/Anchor-D8f6vg0T.js +40 -0
- package/dist/Bootstrap-Bjgu14O1.js +1136 -0
- package/dist/Button-DD8y8HBa.js +78 -0
- package/dist/Button-t4PJaubx.js +33 -0
- package/dist/{NotificacionUsuario-uif1f5Yt.js → NotificacionUsuario-BQ655oML.js} +371 -401
- package/dist/TabContext-CdjYJzMB.js +125 -0
- package/dist/accessibility/barra-accesibilidad/BarraAccesibilidad.js +52 -0
- package/dist/accessibility.js +1 -1
- package/dist/assets/BarraAccesibilidad.css +1 -1
- package/dist/assets/Bootstrap.css +1 -1
- package/dist/assets/Breadcrumb.css +1 -0
- package/dist/assets/ContenedorTarjeta.css +1 -0
- package/dist/assets/ContenidoModal.css +1 -1
- package/dist/assets/Encabezado.css +1 -1
- package/dist/assets/IconoTabla.css +1 -0
- package/dist/assets/Logo.css +1 -0
- package/dist/assets/MenuLateral.css +1 -1
- package/dist/assets/Modal.css +1 -1
- package/dist/assets/NotificacionUsuario.css +1 -1
- package/dist/assets/SeccionTarjeta.css +1 -0
- package/dist/assets/SeccionTarjetaLectura.css +1 -0
- package/dist/assets/TabVentana.css +1 -1
- package/dist/assets/Tabla.css +1 -1
- package/dist/assets/Tarjeta.css +1 -1
- package/dist/assets/TarjetaInfo.css +1 -0
- package/dist/assets/TarjetaLectura.css +1 -0
- package/dist/assets/TarjetaListado.css +1 -0
- package/dist/auth/hooks/useFinalizarSesion.js +7 -7
- package/dist/index-PYPwtOs4.js +55 -0
- package/dist/lib/accessibility/barra-accesibilidad/BarraAccesibilidad.d.ts +2 -0
- package/dist/lib/accessibility.d.ts +1 -1
- package/dist/lib/shared/breadcrumb/Breadcrumb.d.ts +11 -0
- package/dist/lib/shared.d.ts +3 -4
- package/dist/lib/tables/{components → tabla-registros/buscador}/Buscador.d.ts +1 -1
- package/dist/lib/tables/tabla-registros/contenido-modal/ContenidoModal.d.ts +18 -0
- package/dist/lib/tables/{components → tabla-registros/encabezado}/EncabezadoTabla.d.ts +1 -1
- package/dist/lib/tables/tabla-registros/icono-tabla/IconoTabla.d.ts +14 -0
- package/dist/lib/tables.d.ts +2 -1
- package/dist/lib/ui/logo/Logo.d.ts +14 -0
- package/dist/lib/ui/{components → paginador}/Paginador.d.ts +3 -1
- package/dist/lib/ui/{components → tarjeta/contenedor-tarjeta}/ContenedorTarjeta.d.ts +0 -1
- package/dist/lib/ui/tarjeta/seccion-tarjeta/SeccionTarjeta.d.ts +8 -0
- package/dist/lib/ui/{components → tarjeta/tarjeta-agregar}/TarjetaAgregar.d.ts +2 -1
- package/dist/lib/ui/tarjeta-info/TarjetaInfo.d.ts +9 -0
- package/dist/lib/ui/tarjeta-lectura/TarjetaLectura.d.ts +22 -0
- package/dist/lib/ui/tarjeta-lectura/seccion-tarjeta-lectura/SeccionTarjetaLectura.d.ts +7 -0
- package/dist/lib/ui/tarjeta-listado/TarjetaListado.d.ts +14 -0
- package/dist/lib/ui.d.ts +13 -8
- package/dist/logo_escudo_blanco-DaOI8SGq.js +4 -0
- package/dist/shared/breadcrumb/Breadcrumb.js +69 -0
- package/dist/shared/{components → menu-lateral}/MenuLateral.js +37 -36
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +5 -0
- package/dist/shared/ventana-lienzo/VentanaLienzo.js +22 -0
- package/dist/shared/{components → ventana-tabs}/TabVentana.js +1 -1
- package/dist/shared/{components → ventana-tabs}/VentanaTabs.js +22 -22
- package/dist/shared.js +4 -6
- package/dist/tables/{components → tabla-registros}/TablaRegistros.js +3 -3
- package/dist/tables/{components → tabla-registros/buscador}/Buscador.js +6 -6
- package/dist/tables/tabla-registros/contenido-modal/ContenidoModal.js +57 -0
- package/dist/{ui/components/ContenidoModal.js → tables/tabla-registros/contenido-modal/ContenidoModalv0.1.js} +2 -2
- package/dist/tables/tabla-registros/encabezado/EncabezadoTabla.js +30 -0
- package/dist/tables/tabla-registros/icono-tabla/IconoTabla.js +68 -0
- package/dist/tables/{components → tabla-registros/modal}/Modal.js +1 -1
- package/dist/tables/{components → tabla-registros/tabla}/Tabla.js +19 -19
- package/dist/tables.js +3 -1
- package/dist/ui/encabezado/Encabezado.js +15 -0
- package/dist/ui/logo/Logo.js +12 -0
- package/dist/ui/paginador/Paginador.js +66 -0
- package/dist/ui/{components → subtitulo}/Subtitulo.js +2 -2
- package/dist/ui/{components → tarjeta}/Tarjeta.js +21 -21
- package/dist/ui/tarjeta/contenedor-tarjeta/ContenedorTarjeta.js +15 -0
- package/dist/ui/tarjeta/seccion-tarjeta/SeccionTarjeta.js +7 -0
- package/dist/ui/{components → tarjeta/tarjeta-agregar}/TarjetaAgregar.js +8 -9
- package/dist/ui/tarjeta-info/TarjetaInfo.js +42 -0
- package/dist/ui/tarjeta-lectura/TarjetaLectura.js +66 -0
- package/dist/ui/tarjeta-lectura/seccion-tarjeta-lectura/SeccionTarjetaLectura.js +9 -0
- package/dist/ui/tarjeta-listado/TarjetaListado.js +40 -0
- package/dist/ui.js +23 -13
- package/dist/useEventCallback-Bfo0-hwZ.js +16 -0
- package/dist/utils/components/ProtectedRoute.js +6 -6
- package/dist/utils/components/UserRoute.js +4 -4
- package/package.json +13 -15
- package/dist/Bootstrap-alDYHlwa.js +0 -19871
- package/dist/Button-Gn1tKaoW.js +0 -106
- package/dist/TabContext-BvNFEruk.js +0 -138
- package/dist/accessibility/components/BarraAccesibilidad.js +0 -52
- package/dist/assets/IconoTipoSolicitud.css +0 -1
- package/dist/index-DHX2gxCC.js +0 -27
- package/dist/lib/accessibility/components/BarraAccesibilidad.d.ts +0 -2
- package/dist/lib/shared/components/LoadingPage.d.ts +0 -3
- package/dist/lib/ui/components/IconoTipoSolicitud.d.ts +0 -7
- package/dist/shared/components/LoadingPage.js +0 -16
- package/dist/shared/components/NotificacionUsuario.js +0 -5
- package/dist/shared/components/VentanaLienzo.js +0 -16
- package/dist/tables/components/EncabezadoTabla.js +0 -24
- package/dist/ui/components/ContenedorTarjeta.js +0 -7
- package/dist/ui/components/Encabezado.js +0 -14
- package/dist/ui/components/IconoTipoSolicitud.js +0 -59
- package/dist/ui/components/Paginador.js +0 -56
- /package/dist/lib/{tables/assets → assets}/animations/isLoading.json.d.ts +0 -0
- /package/dist/lib/{tables/assets → assets}/animations/noData.json.d.ts +0 -0
- /package/dist/lib/{tables/assets → assets}/animations/noInfo.json.d.ts +0 -0
- /package/dist/lib/shared/{components → menu-lateral}/MenuLateral.d.ts +0 -0
- /package/dist/lib/shared/{components → notificacion-usuario}/NotificacionUsuario.d.ts +0 -0
- /package/dist/lib/shared/{components → ventana-lienzo}/VentanaLienzo.d.ts +0 -0
- /package/dist/lib/shared/{components → ventana-tabs}/TabVentana.d.ts +0 -0
- /package/dist/lib/shared/{components → ventana-tabs}/VentanaTabs.d.ts +0 -0
- /package/dist/lib/tables/{components → tabla-registros}/TablaRegistros.d.ts +0 -0
- /package/dist/lib/{ui/components/ContenidoModal.d.ts → tables/tabla-registros/contenido-modal/ContenidoModalv0.1.d.ts} +0 -0
- /package/dist/lib/tables/{components → tabla-registros/modal}/Modal.d.ts +0 -0
- /package/dist/lib/tables/{components → tabla-registros/tabla}/Tabla.d.ts +0 -0
- /package/dist/lib/ui/{components → encabezado}/Encabezado.d.ts +0 -0
- /package/dist/lib/ui/{components → subtitulo}/Subtitulo.d.ts +0 -0
- /package/dist/lib/ui/{components → tarjeta}/Tarjeta.d.ts +0 -0
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { jsx as j, Fragment as
|
|
1
|
+
import { jsx as j, Fragment as Nt, jsxs as bn } from "react/jsx-runtime";
|
|
2
2
|
import { G as xn } from "./iconBase-LROS5hdG.js";
|
|
3
|
-
import { g as On, u as
|
|
4
|
-
import * as
|
|
5
|
-
import { useRef as H, useState as
|
|
6
|
-
import { _ as $n,
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { g as On, u as G, c as J, d as En } from "./ThemeProvider-DwZMEupk.js";
|
|
4
|
+
import * as S from "react";
|
|
5
|
+
import { useRef as H, useState as Ke, useCallback as _, useEffect as X, useReducer as Dn, useMemo as Me, useContext as k, createContext as Cn, useLayoutEffect as Pn } from "react";
|
|
6
|
+
import { _ as $n, o as An, l as Ae, $ as Rn, S as Te, m as Ne, c as jn, a as Mn, b as Tn, u as ze, T as Nn } from "./TabContext-CdjYJzMB.js";
|
|
7
|
+
import { u as Z } from "./useEventCallback-Bfo0-hwZ.js";
|
|
8
|
+
import { w as St } from "./warning-b8Ghk8WQ.js";
|
|
9
|
+
import { B as It } from "./Button-DD8y8HBa.js";
|
|
10
|
+
import { A as kt } from "./Anchor-D8f6vg0T.js";
|
|
11
|
+
import { B as Sn } from "./Button-t4PJaubx.js";
|
|
9
12
|
import './assets/NotificacionUsuario.css';function Ve() {
|
|
10
13
|
return Ve = Object.assign ? Object.assign.bind() : function(e) {
|
|
11
14
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -15,10 +18,10 @@ import './assets/NotificacionUsuario.css';function Ve() {
|
|
|
15
18
|
return e;
|
|
16
19
|
}, Ve.apply(null, arguments);
|
|
17
20
|
}
|
|
18
|
-
var Fe,
|
|
19
|
-
function
|
|
20
|
-
if (
|
|
21
|
-
|
|
21
|
+
var Fe, pt;
|
|
22
|
+
function In() {
|
|
23
|
+
if (pt) return Fe;
|
|
24
|
+
pt = 1;
|
|
22
25
|
var e = function(t, n, r, o, i, f, s, u) {
|
|
23
26
|
if (process.env.NODE_ENV !== "production" && n === void 0)
|
|
24
27
|
throw new Error("invariant requires an error message argument");
|
|
@@ -41,16 +44,16 @@ function kn() {
|
|
|
41
44
|
};
|
|
42
45
|
return Fe = e, Fe;
|
|
43
46
|
}
|
|
44
|
-
var
|
|
45
|
-
const
|
|
46
|
-
function
|
|
47
|
+
var kn = In();
|
|
48
|
+
const vt = /* @__PURE__ */ On(kn);
|
|
49
|
+
function mt(e) {
|
|
47
50
|
return "default" + e.charAt(0).toUpperCase() + e.substr(1);
|
|
48
51
|
}
|
|
49
|
-
function
|
|
50
|
-
var t =
|
|
52
|
+
function Bn(e) {
|
|
53
|
+
var t = Ln(e, "string");
|
|
51
54
|
return typeof t == "symbol" ? t : String(t);
|
|
52
55
|
}
|
|
53
|
-
function
|
|
56
|
+
function Ln(e, t) {
|
|
54
57
|
if (typeof e != "object" || e === null) return e;
|
|
55
58
|
var n = e[Symbol.toPrimitive];
|
|
56
59
|
if (n !== void 0) {
|
|
@@ -60,98 +63,65 @@ function Wn(e, t) {
|
|
|
60
63
|
}
|
|
61
64
|
return String(e);
|
|
62
65
|
}
|
|
63
|
-
function
|
|
64
|
-
var r = H(e !== void 0), o =
|
|
66
|
+
function Wn(e, t, n) {
|
|
67
|
+
var r = H(e !== void 0), o = Ke(t), i = o[0], f = o[1], s = e !== void 0, u = r.current;
|
|
65
68
|
return r.current = s, !s && u && i !== t && f(t), [s ? e : i, _(function(c) {
|
|
66
69
|
for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), v = 1; v < a; v++)
|
|
67
70
|
l[v - 1] = arguments[v];
|
|
68
71
|
n && n.apply(void 0, [c].concat(l)), f(c);
|
|
69
72
|
}, [n])];
|
|
70
73
|
}
|
|
71
|
-
function
|
|
74
|
+
function Hn(e, t) {
|
|
72
75
|
return Object.keys(t).reduce(function(n, r) {
|
|
73
|
-
var o, i = n, f = i[
|
|
76
|
+
var o, i = n, f = i[mt(r)], s = i[r], u = $n(i, [mt(r), r].map(Bn)), c = t[r], a = Wn(s, f, e[c]), l = a[0], v = a[1];
|
|
74
77
|
return Ve({}, u, (o = {}, o[r] = l, o[c] = v, o));
|
|
75
78
|
}, e);
|
|
76
79
|
}
|
|
77
|
-
function
|
|
80
|
+
function Fn(e) {
|
|
78
81
|
const t = H(e);
|
|
79
82
|
return X(() => {
|
|
80
83
|
t.current = e;
|
|
81
84
|
}, [e]), t;
|
|
82
85
|
}
|
|
83
|
-
function
|
|
84
|
-
const t =
|
|
86
|
+
function Un(e) {
|
|
87
|
+
const t = Fn(e);
|
|
85
88
|
return _(function(...n) {
|
|
86
89
|
return t.current && t.current(...n);
|
|
87
90
|
}, [t]);
|
|
88
91
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
92
|
+
function Vn() {
|
|
93
|
+
return Ke(null);
|
|
91
94
|
}
|
|
92
|
-
function
|
|
93
|
-
const o =
|
|
95
|
+
function qn(e, t, n, r = !1) {
|
|
96
|
+
const o = Z(n);
|
|
94
97
|
X(() => {
|
|
95
98
|
const i = typeof e == "function" ? e() : e;
|
|
96
99
|
return i.addEventListener(t, o, r), () => i.removeEventListener(t, o, r);
|
|
97
100
|
}, [e]);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function _n() {
|
|
100
103
|
const e = H(!0), t = H(() => e.current);
|
|
101
104
|
return X(() => (e.current = !0, () => {
|
|
102
105
|
e.current = !1;
|
|
103
106
|
}), []), t.current;
|
|
104
107
|
}
|
|
105
|
-
function
|
|
108
|
+
function Kn(e) {
|
|
106
109
|
const t = H(null);
|
|
107
110
|
return X(() => {
|
|
108
111
|
t.current = e;
|
|
109
112
|
}), t.current;
|
|
110
113
|
}
|
|
111
|
-
|
|
112
|
-
function
|
|
113
|
-
|
|
114
|
-
var n = {};
|
|
115
|
-
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
116
|
-
if (t.indexOf(r) >= 0) continue;
|
|
117
|
-
n[r] = e[r];
|
|
118
|
-
}
|
|
119
|
-
return n;
|
|
120
|
-
}
|
|
121
|
-
function Gn(e) {
|
|
122
|
-
return !e || e.trim() === "#";
|
|
123
|
-
}
|
|
124
|
-
const Xe = /* @__PURE__ */ N.forwardRef((e, t) => {
|
|
125
|
-
let {
|
|
126
|
-
onKeyDown: n
|
|
127
|
-
} = e, r = Yn(e, Xn);
|
|
128
|
-
const [o] = Sn(Object.assign({
|
|
129
|
-
tagName: "a"
|
|
130
|
-
}, r)), i = Y((f) => {
|
|
131
|
-
o.onKeyDown(f), n == null || n(f);
|
|
132
|
-
});
|
|
133
|
-
return Gn(r.href) || r.role === "button" ? /* @__PURE__ */ j("a", Object.assign({
|
|
134
|
-
ref: t
|
|
135
|
-
}, r, o, {
|
|
136
|
-
onKeyDown: i
|
|
137
|
-
})) : /* @__PURE__ */ j("a", Object.assign({
|
|
138
|
-
ref: t
|
|
139
|
-
}, r, {
|
|
140
|
-
onKeyDown: n
|
|
141
|
-
}));
|
|
142
|
-
});
|
|
143
|
-
Xe.displayName = "Anchor";
|
|
144
|
-
var Jn = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
145
|
-
function ht(e, t) {
|
|
146
|
-
return Jn(e.querySelectorAll(t));
|
|
114
|
+
var zn = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
115
|
+
function gt(e, t) {
|
|
116
|
+
return zn(e.querySelectorAll(t));
|
|
147
117
|
}
|
|
148
|
-
function
|
|
118
|
+
function Xn() {
|
|
149
119
|
const [, e] = Dn((t) => t + 1, 0);
|
|
150
120
|
return e;
|
|
151
121
|
}
|
|
152
|
-
const Ie = /* @__PURE__ */
|
|
153
|
-
var
|
|
154
|
-
function
|
|
122
|
+
const Ie = /* @__PURE__ */ S.createContext(null);
|
|
123
|
+
var ht = Object.prototype.hasOwnProperty;
|
|
124
|
+
function wt(e, t, n) {
|
|
155
125
|
for (n of e.keys())
|
|
156
126
|
if (he(n, t)) return n;
|
|
157
127
|
}
|
|
@@ -170,14 +140,14 @@ function he(e, t) {
|
|
|
170
140
|
if (e.size !== t.size)
|
|
171
141
|
return !1;
|
|
172
142
|
for (r of e)
|
|
173
|
-
if (o = r, o && typeof o == "object" && (o =
|
|
143
|
+
if (o = r, o && typeof o == "object" && (o = wt(t, o), !o) || !t.has(o)) return !1;
|
|
174
144
|
return !0;
|
|
175
145
|
}
|
|
176
146
|
if (n === Map) {
|
|
177
147
|
if (e.size !== t.size)
|
|
178
148
|
return !1;
|
|
179
149
|
for (r of e)
|
|
180
|
-
if (o = r[0], o && typeof o == "object" && (o =
|
|
150
|
+
if (o = r[0], o && typeof o == "object" && (o = wt(t, o), !o) || !he(r[1], t.get(o)))
|
|
181
151
|
return !1;
|
|
182
152
|
return !0;
|
|
183
153
|
}
|
|
@@ -196,25 +166,25 @@ function he(e, t) {
|
|
|
196
166
|
if (!n || typeof e == "object") {
|
|
197
167
|
r = 0;
|
|
198
168
|
for (n in e)
|
|
199
|
-
if (
|
|
169
|
+
if (ht.call(e, n) && ++r && !ht.call(t, n) || !(n in t) || !he(e[n], t[n])) return !1;
|
|
200
170
|
return Object.keys(t).length === r;
|
|
201
171
|
}
|
|
202
172
|
}
|
|
203
173
|
return e !== e && t !== t;
|
|
204
174
|
}
|
|
205
|
-
function
|
|
206
|
-
const t =
|
|
175
|
+
function Yn(e) {
|
|
176
|
+
const t = _n();
|
|
207
177
|
return [e[0], _((n) => {
|
|
208
178
|
if (t())
|
|
209
179
|
return e[1](n);
|
|
210
180
|
}, [t, e[1]])];
|
|
211
181
|
}
|
|
212
|
-
var B = "top", U = "bottom", V = "right", L = "left",
|
|
182
|
+
var B = "top", U = "bottom", V = "right", L = "left", Xe = "auto", Oe = [B, U, V, L], ce = "start", be = "end", Gn = "clippingParents", Bt = "viewport", ge = "popper", Jn = "reference", yt = /* @__PURE__ */ Oe.reduce(function(e, t) {
|
|
213
183
|
return e.concat([t + "-" + ce, t + "-" + be]);
|
|
214
|
-
}, []), Lt = /* @__PURE__ */ [].concat(Oe, [
|
|
184
|
+
}, []), Lt = /* @__PURE__ */ [].concat(Oe, [Xe]).reduce(function(e, t) {
|
|
215
185
|
return e.concat([t, t + "-" + ce, t + "-" + be]);
|
|
216
|
-
}, []),
|
|
217
|
-
function
|
|
186
|
+
}, []), Qn = "beforeRead", Zn = "read", er = "afterRead", tr = "beforeMain", nr = "main", rr = "afterMain", or = "beforeWrite", ir = "write", ar = "afterWrite", sr = [Qn, Zn, er, tr, nr, rr, or, ir, ar];
|
|
187
|
+
function K(e) {
|
|
218
188
|
return e.split("-")[0];
|
|
219
189
|
}
|
|
220
190
|
function F(e) {
|
|
@@ -234,21 +204,21 @@ function z(e) {
|
|
|
234
204
|
var t = F(e).HTMLElement;
|
|
235
205
|
return e instanceof t || e instanceof HTMLElement;
|
|
236
206
|
}
|
|
237
|
-
function
|
|
207
|
+
function Ye(e) {
|
|
238
208
|
if (typeof ShadowRoot > "u")
|
|
239
209
|
return !1;
|
|
240
210
|
var t = F(e).ShadowRoot;
|
|
241
211
|
return e instanceof t || e instanceof ShadowRoot;
|
|
242
212
|
}
|
|
243
213
|
var ie = Math.max, Se = Math.min, fe = Math.round;
|
|
244
|
-
function
|
|
214
|
+
function qe() {
|
|
245
215
|
var e = navigator.userAgentData;
|
|
246
216
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
247
217
|
return t.brand + "/" + t.version;
|
|
248
218
|
}).join(" ") : navigator.userAgent;
|
|
249
219
|
}
|
|
250
220
|
function Wt() {
|
|
251
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
221
|
+
return !/^((?!chrome|android).)*safari/i.test(qe());
|
|
252
222
|
}
|
|
253
223
|
function le(e, t, n) {
|
|
254
224
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
@@ -266,7 +236,7 @@ function le(e, t, n) {
|
|
|
266
236
|
y: a
|
|
267
237
|
};
|
|
268
238
|
}
|
|
269
|
-
function
|
|
239
|
+
function Ge(e) {
|
|
270
240
|
var t = le(e), n = e.offsetWidth, r = e.offsetHeight;
|
|
271
241
|
return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
|
|
272
242
|
x: e.offsetLeft,
|
|
@@ -279,7 +249,7 @@ function Ht(e, t) {
|
|
|
279
249
|
var n = t.getRootNode && t.getRootNode();
|
|
280
250
|
if (e.contains(t))
|
|
281
251
|
return !0;
|
|
282
|
-
if (n &&
|
|
252
|
+
if (n && Ye(n)) {
|
|
283
253
|
var r = t;
|
|
284
254
|
do {
|
|
285
255
|
if (r && e.isSameNode(r))
|
|
@@ -292,10 +262,10 @@ function Ht(e, t) {
|
|
|
292
262
|
function ee(e) {
|
|
293
263
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
294
264
|
}
|
|
295
|
-
function
|
|
265
|
+
function Y(e) {
|
|
296
266
|
return F(e).getComputedStyle(e);
|
|
297
267
|
}
|
|
298
|
-
function
|
|
268
|
+
function ur(e) {
|
|
299
269
|
return ["table", "td", "th"].indexOf(ee(e)) >= 0;
|
|
300
270
|
}
|
|
301
271
|
function te(e) {
|
|
@@ -311,25 +281,25 @@ function ke(e) {
|
|
|
311
281
|
// $FlowFixMe[prop-missing]
|
|
312
282
|
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
313
283
|
e.parentNode || // DOM Element detected
|
|
314
|
-
(
|
|
284
|
+
(Ye(e) ? e.host : null) || // ShadowRoot detected
|
|
315
285
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
316
286
|
te(e)
|
|
317
287
|
);
|
|
318
288
|
}
|
|
319
|
-
function
|
|
289
|
+
function bt(e) {
|
|
320
290
|
return !z(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
321
|
-
|
|
291
|
+
Y(e).position === "fixed" ? null : e.offsetParent;
|
|
322
292
|
}
|
|
323
|
-
function
|
|
324
|
-
var t = /firefox/i.test(
|
|
293
|
+
function cr(e) {
|
|
294
|
+
var t = /firefox/i.test(qe()), n = /Trident/i.test(qe());
|
|
325
295
|
if (n && z(e)) {
|
|
326
|
-
var r =
|
|
296
|
+
var r = Y(e);
|
|
327
297
|
if (r.position === "fixed")
|
|
328
298
|
return null;
|
|
329
299
|
}
|
|
330
300
|
var o = ke(e);
|
|
331
|
-
for (
|
|
332
|
-
var i =
|
|
301
|
+
for (Ye(o) && (o = o.host); z(o) && ["html", "body"].indexOf(ee(o)) < 0; ) {
|
|
302
|
+
var i = Y(o);
|
|
333
303
|
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
|
|
334
304
|
return o;
|
|
335
305
|
o = o.parentNode;
|
|
@@ -337,17 +307,17 @@ function pr(e) {
|
|
|
337
307
|
return null;
|
|
338
308
|
}
|
|
339
309
|
function Ee(e) {
|
|
340
|
-
for (var t = F(e), n =
|
|
341
|
-
n =
|
|
342
|
-
return n && (ee(n) === "html" || ee(n) === "body" &&
|
|
310
|
+
for (var t = F(e), n = bt(e); n && ur(n) && Y(n).position === "static"; )
|
|
311
|
+
n = bt(n);
|
|
312
|
+
return n && (ee(n) === "html" || ee(n) === "body" && Y(n).position === "static") ? t : n || cr(e) || t;
|
|
343
313
|
}
|
|
344
|
-
function
|
|
314
|
+
function Je(e) {
|
|
345
315
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
346
316
|
}
|
|
347
317
|
function we(e, t, n) {
|
|
348
318
|
return ie(e, Se(t, n));
|
|
349
319
|
}
|
|
350
|
-
function
|
|
320
|
+
function fr(e, t, n) {
|
|
351
321
|
var r = we(e, t, n);
|
|
352
322
|
return r > n ? n : r;
|
|
353
323
|
}
|
|
@@ -367,48 +337,48 @@ function Vt(e, t) {
|
|
|
367
337
|
return n[r] = e, n;
|
|
368
338
|
}, {});
|
|
369
339
|
}
|
|
370
|
-
var
|
|
340
|
+
var lr = function(t, n) {
|
|
371
341
|
return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
|
|
372
342
|
placement: n.placement
|
|
373
343
|
})) : t, Ut(typeof t != "number" ? t : Vt(t, Oe));
|
|
374
344
|
};
|
|
375
|
-
function
|
|
376
|
-
var t, n = e.state, r = e.name, o = e.options, i = n.elements.arrow, f = n.modifiersData.popperOffsets, s =
|
|
345
|
+
function dr(e) {
|
|
346
|
+
var t, n = e.state, r = e.name, o = e.options, i = n.elements.arrow, f = n.modifiersData.popperOffsets, s = K(n.placement), u = Je(s), c = [L, V].indexOf(s) >= 0, a = c ? "height" : "width";
|
|
377
347
|
if (!(!i || !f)) {
|
|
378
|
-
var l =
|
|
379
|
-
n.modifiersData[r] = (t = {}, t[
|
|
348
|
+
var l = lr(o.padding, n), v = Ge(i), d = u === "y" ? B : L, m = u === "y" ? U : V, g = n.rects.reference[a] + n.rects.reference[u] - f[u] - n.rects.popper[a], p = f[u] - n.rects.reference[u], x = Ee(i), y = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, b = g / 2 - p / 2, h = l[d], w = y - v[a] - l[m], E = y / 2 - v[a] / 2 + b, D = we(h, E, w), C = u;
|
|
349
|
+
n.modifiersData[r] = (t = {}, t[C] = D, t.centerOffset = D - E, t);
|
|
380
350
|
}
|
|
381
351
|
}
|
|
382
|
-
function
|
|
352
|
+
function pr(e) {
|
|
383
353
|
var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
|
|
384
354
|
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Ht(t.elements.popper, o) && (t.elements.arrow = o));
|
|
385
355
|
}
|
|
386
|
-
const
|
|
356
|
+
const vr = {
|
|
387
357
|
name: "arrow",
|
|
388
358
|
enabled: !0,
|
|
389
359
|
phase: "main",
|
|
390
|
-
fn:
|
|
391
|
-
effect:
|
|
360
|
+
fn: dr,
|
|
361
|
+
effect: pr,
|
|
392
362
|
requires: ["popperOffsets"],
|
|
393
363
|
requiresIfExists: ["preventOverflow"]
|
|
394
364
|
};
|
|
395
365
|
function de(e) {
|
|
396
366
|
return e.split("-")[1];
|
|
397
367
|
}
|
|
398
|
-
var
|
|
368
|
+
var mr = {
|
|
399
369
|
top: "auto",
|
|
400
370
|
right: "auto",
|
|
401
371
|
bottom: "auto",
|
|
402
372
|
left: "auto"
|
|
403
373
|
};
|
|
404
|
-
function
|
|
374
|
+
function gr(e, t) {
|
|
405
375
|
var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
|
|
406
376
|
return {
|
|
407
377
|
x: fe(n * o) / o || 0,
|
|
408
378
|
y: fe(r * o) / o || 0
|
|
409
379
|
};
|
|
410
380
|
}
|
|
411
|
-
function
|
|
381
|
+
function xt(e) {
|
|
412
382
|
var t, n = e.popper, r = e.popperRect, o = e.placement, i = e.variation, f = e.offsets, s = e.position, u = e.gpuAcceleration, c = e.adaptive, a = e.roundOffsets, l = e.isFixed, v = f.x, d = v === void 0 ? 0 : v, m = f.y, g = m === void 0 ? 0 : m, p = typeof a == "function" ? a({
|
|
413
383
|
x: d,
|
|
414
384
|
y: g
|
|
@@ -419,8 +389,8 @@ function Ot(e) {
|
|
|
419
389
|
d = p.x, g = p.y;
|
|
420
390
|
var x = f.hasOwnProperty("x"), y = f.hasOwnProperty("y"), b = L, h = B, w = window;
|
|
421
391
|
if (c) {
|
|
422
|
-
var E = Ee(n), D = "clientHeight",
|
|
423
|
-
if (E === F(n) && (E = te(n),
|
|
392
|
+
var E = Ee(n), D = "clientHeight", C = "clientWidth";
|
|
393
|
+
if (E === F(n) && (E = te(n), Y(E).position !== "static" && s === "absolute" && (D = "scrollHeight", C = "scrollWidth")), E = E, o === B || (o === L || o === V) && i === be) {
|
|
424
394
|
h = U;
|
|
425
395
|
var A = l && E === w && w.visualViewport ? w.visualViewport.height : (
|
|
426
396
|
// $FlowFixMe[prop-missing]
|
|
@@ -432,41 +402,41 @@ function Ot(e) {
|
|
|
432
402
|
b = V;
|
|
433
403
|
var R = l && E === w && w.visualViewport ? w.visualViewport.width : (
|
|
434
404
|
// $FlowFixMe[prop-missing]
|
|
435
|
-
E[
|
|
405
|
+
E[C]
|
|
436
406
|
);
|
|
437
407
|
d -= R - r.width, d *= u ? 1 : -1;
|
|
438
408
|
}
|
|
439
409
|
}
|
|
440
410
|
var O = Object.assign({
|
|
441
411
|
position: s
|
|
442
|
-
}, c &&
|
|
412
|
+
}, c && mr), P = a === !0 ? gr({
|
|
443
413
|
x: d,
|
|
444
414
|
y: g
|
|
445
415
|
}, F(n)) : {
|
|
446
416
|
x: d,
|
|
447
417
|
y: g
|
|
448
418
|
};
|
|
449
|
-
if (d =
|
|
419
|
+
if (d = P.x, g = P.y, u) {
|
|
450
420
|
var $;
|
|
451
421
|
return Object.assign({}, O, ($ = {}, $[h] = y ? "0" : "", $[b] = x ? "0" : "", $.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", $));
|
|
452
422
|
}
|
|
453
423
|
return Object.assign({}, O, (t = {}, t[h] = y ? g + "px" : "", t[b] = x ? d + "px" : "", t.transform = "", t));
|
|
454
424
|
}
|
|
455
|
-
function
|
|
425
|
+
function hr(e) {
|
|
456
426
|
var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, f = i === void 0 ? !0 : i, s = n.roundOffsets, u = s === void 0 ? !0 : s, c = {
|
|
457
|
-
placement:
|
|
427
|
+
placement: K(t.placement),
|
|
458
428
|
variation: de(t.placement),
|
|
459
429
|
popper: t.elements.popper,
|
|
460
430
|
popperRect: t.rects.popper,
|
|
461
431
|
gpuAcceleration: o,
|
|
462
432
|
isFixed: t.options.strategy === "fixed"
|
|
463
433
|
};
|
|
464
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper,
|
|
434
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, xt(Object.assign({}, c, {
|
|
465
435
|
offsets: t.modifiersData.popperOffsets,
|
|
466
436
|
position: t.options.strategy,
|
|
467
437
|
adaptive: f,
|
|
468
438
|
roundOffsets: u
|
|
469
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow,
|
|
439
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, xt(Object.assign({}, c, {
|
|
470
440
|
offsets: t.modifiersData.arrow,
|
|
471
441
|
position: "absolute",
|
|
472
442
|
adaptive: !1,
|
|
@@ -475,17 +445,17 @@ function xr(e) {
|
|
|
475
445
|
"data-popper-placement": t.placement
|
|
476
446
|
});
|
|
477
447
|
}
|
|
478
|
-
const
|
|
448
|
+
const wr = {
|
|
479
449
|
name: "computeStyles",
|
|
480
450
|
enabled: !0,
|
|
481
451
|
phase: "beforeWrite",
|
|
482
|
-
fn:
|
|
452
|
+
fn: hr,
|
|
483
453
|
data: {}
|
|
484
454
|
};
|
|
485
455
|
var Re = {
|
|
486
456
|
passive: !0
|
|
487
457
|
};
|
|
488
|
-
function
|
|
458
|
+
function yr(e) {
|
|
489
459
|
var t = e.state, n = e.instance, r = e.options, o = r.scroll, i = o === void 0 ? !0 : o, f = r.resize, s = f === void 0 ? !0 : f, u = F(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
490
460
|
return i && c.forEach(function(a) {
|
|
491
461
|
a.addEventListener("scroll", n.update, Re);
|
|
@@ -495,16 +465,16 @@ function Er(e) {
|
|
|
495
465
|
}), s && u.removeEventListener("resize", n.update, Re);
|
|
496
466
|
};
|
|
497
467
|
}
|
|
498
|
-
const
|
|
468
|
+
const br = {
|
|
499
469
|
name: "eventListeners",
|
|
500
470
|
enabled: !0,
|
|
501
471
|
phase: "write",
|
|
502
472
|
fn: function() {
|
|
503
473
|
},
|
|
504
|
-
effect:
|
|
474
|
+
effect: yr,
|
|
505
475
|
data: {}
|
|
506
476
|
};
|
|
507
|
-
var
|
|
477
|
+
var xr = {
|
|
508
478
|
left: "right",
|
|
509
479
|
right: "left",
|
|
510
480
|
bottom: "top",
|
|
@@ -512,29 +482,29 @@ var Pr = {
|
|
|
512
482
|
};
|
|
513
483
|
function je(e) {
|
|
514
484
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
515
|
-
return
|
|
485
|
+
return xr[t];
|
|
516
486
|
});
|
|
517
487
|
}
|
|
518
|
-
var
|
|
488
|
+
var Or = {
|
|
519
489
|
start: "end",
|
|
520
490
|
end: "start"
|
|
521
491
|
};
|
|
522
|
-
function
|
|
492
|
+
function Ot(e) {
|
|
523
493
|
return e.replace(/start|end/g, function(t) {
|
|
524
|
-
return
|
|
494
|
+
return Or[t];
|
|
525
495
|
});
|
|
526
496
|
}
|
|
527
|
-
function
|
|
497
|
+
function Qe(e) {
|
|
528
498
|
var t = F(e), n = t.pageXOffset, r = t.pageYOffset;
|
|
529
499
|
return {
|
|
530
500
|
scrollLeft: n,
|
|
531
501
|
scrollTop: r
|
|
532
502
|
};
|
|
533
503
|
}
|
|
534
|
-
function
|
|
535
|
-
return le(te(e)).left +
|
|
504
|
+
function Ze(e) {
|
|
505
|
+
return le(te(e)).left + Qe(e).scrollLeft;
|
|
536
506
|
}
|
|
537
|
-
function
|
|
507
|
+
function Er(e, t) {
|
|
538
508
|
var n = F(e), r = te(e), o = n.visualViewport, i = r.clientWidth, f = r.clientHeight, s = 0, u = 0;
|
|
539
509
|
if (o) {
|
|
540
510
|
i = o.width, f = o.height;
|
|
@@ -544,30 +514,30 @@ function $r(e, t) {
|
|
|
544
514
|
return {
|
|
545
515
|
width: i,
|
|
546
516
|
height: f,
|
|
547
|
-
x: s +
|
|
517
|
+
x: s + Ze(e),
|
|
548
518
|
y: u
|
|
549
519
|
};
|
|
550
520
|
}
|
|
551
|
-
function
|
|
552
|
-
var t, n = te(e), r =
|
|
553
|
-
return
|
|
521
|
+
function Dr(e) {
|
|
522
|
+
var t, n = te(e), r = Qe(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = ie(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), f = ie(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), s = -r.scrollLeft + Ze(e), u = -r.scrollTop;
|
|
523
|
+
return Y(o || n).direction === "rtl" && (s += ie(n.clientWidth, o ? o.clientWidth : 0) - i), {
|
|
554
524
|
width: i,
|
|
555
525
|
height: f,
|
|
556
526
|
x: s,
|
|
557
527
|
y: u
|
|
558
528
|
};
|
|
559
529
|
}
|
|
560
|
-
function
|
|
561
|
-
var t =
|
|
530
|
+
function et(e) {
|
|
531
|
+
var t = Y(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
|
|
562
532
|
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
563
533
|
}
|
|
564
|
-
function
|
|
565
|
-
return ["html", "body", "#document"].indexOf(ee(e)) >= 0 ? e.ownerDocument.body : z(e) &&
|
|
534
|
+
function qt(e) {
|
|
535
|
+
return ["html", "body", "#document"].indexOf(ee(e)) >= 0 ? e.ownerDocument.body : z(e) && et(e) ? e : qt(ke(e));
|
|
566
536
|
}
|
|
567
537
|
function ye(e, t) {
|
|
568
538
|
var n;
|
|
569
539
|
t === void 0 && (t = []);
|
|
570
|
-
var r =
|
|
540
|
+
var r = qt(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i = F(r), f = o ? [i].concat(i.visualViewport || [], et(r) ? r : []) : r, s = t.concat(f);
|
|
571
541
|
return o ? s : (
|
|
572
542
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
573
543
|
s.concat(ye(ke(f)))
|
|
@@ -581,28 +551,28 @@ function _e(e) {
|
|
|
581
551
|
bottom: e.y + e.height
|
|
582
552
|
});
|
|
583
553
|
}
|
|
584
|
-
function
|
|
554
|
+
function Cr(e, t) {
|
|
585
555
|
var n = le(e, !1, t === "fixed");
|
|
586
556
|
return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
587
557
|
}
|
|
588
|
-
function
|
|
589
|
-
return t === Bt ? _e(
|
|
558
|
+
function Et(e, t, n) {
|
|
559
|
+
return t === Bt ? _e(Er(e, n)) : ae(t) ? Cr(t, n) : _e(Dr(te(e)));
|
|
590
560
|
}
|
|
591
|
-
function
|
|
592
|
-
var t = ye(ke(e)), n = ["absolute", "fixed"].indexOf(
|
|
561
|
+
function Pr(e) {
|
|
562
|
+
var t = ye(ke(e)), n = ["absolute", "fixed"].indexOf(Y(e).position) >= 0, r = n && z(e) ? Ee(e) : e;
|
|
593
563
|
return ae(r) ? t.filter(function(o) {
|
|
594
564
|
return ae(o) && Ht(o, r) && ee(o) !== "body";
|
|
595
565
|
}) : [];
|
|
596
566
|
}
|
|
597
|
-
function
|
|
598
|
-
var o = t === "clippingParents" ?
|
|
599
|
-
var a =
|
|
567
|
+
function $r(e, t, n, r) {
|
|
568
|
+
var o = t === "clippingParents" ? Pr(e) : [].concat(t), i = [].concat(o, [n]), f = i[0], s = i.reduce(function(u, c) {
|
|
569
|
+
var a = Et(e, c, r);
|
|
600
570
|
return u.top = ie(a.top, u.top), u.right = Se(a.right, u.right), u.bottom = Se(a.bottom, u.bottom), u.left = ie(a.left, u.left), u;
|
|
601
|
-
},
|
|
571
|
+
}, Et(e, f, r));
|
|
602
572
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
603
573
|
}
|
|
604
574
|
function _t(e) {
|
|
605
|
-
var t = e.reference, n = e.element, r = e.placement, o = r ?
|
|
575
|
+
var t = e.reference, n = e.element, r = e.placement, o = r ? K(r) : null, i = r ? de(r) : null, f = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, u;
|
|
606
576
|
switch (o) {
|
|
607
577
|
case B:
|
|
608
578
|
u = {
|
|
@@ -634,7 +604,7 @@ function _t(e) {
|
|
|
634
604
|
y: t.y
|
|
635
605
|
};
|
|
636
606
|
}
|
|
637
|
-
var c = o ?
|
|
607
|
+
var c = o ? Je(o) : null;
|
|
638
608
|
if (c != null) {
|
|
639
609
|
var a = c === "y" ? "height" : "width";
|
|
640
610
|
switch (i) {
|
|
@@ -650,29 +620,29 @@ function _t(e) {
|
|
|
650
620
|
}
|
|
651
621
|
function xe(e, t) {
|
|
652
622
|
t === void 0 && (t = {});
|
|
653
|
-
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, i = n.strategy, f = i === void 0 ? e.strategy : i, s = n.boundary, u = s === void 0 ?
|
|
623
|
+
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, i = n.strategy, f = i === void 0 ? e.strategy : i, s = n.boundary, u = s === void 0 ? Gn : s, c = n.rootBoundary, a = c === void 0 ? Bt : c, l = n.elementContext, v = l === void 0 ? ge : l, d = n.altBoundary, m = d === void 0 ? !1 : d, g = n.padding, p = g === void 0 ? 0 : g, x = Ut(typeof p != "number" ? p : Vt(p, Oe)), y = v === ge ? Jn : ge, b = e.rects.popper, h = e.elements[m ? y : v], w = $r(ae(h) ? h : h.contextElement || te(e.elements.popper), u, a, f), E = le(e.elements.reference), D = _t({
|
|
654
624
|
reference: E,
|
|
655
625
|
element: b,
|
|
656
626
|
strategy: "absolute",
|
|
657
627
|
placement: o
|
|
658
|
-
}),
|
|
628
|
+
}), C = _e(Object.assign({}, b, D)), A = v === ge ? C : E, R = {
|
|
659
629
|
top: w.top - A.top + x.top,
|
|
660
630
|
bottom: A.bottom - w.bottom + x.bottom,
|
|
661
631
|
left: w.left - A.left + x.left,
|
|
662
632
|
right: A.right - w.right + x.right
|
|
663
633
|
}, O = e.modifiersData.offset;
|
|
664
634
|
if (v === ge && O) {
|
|
665
|
-
var
|
|
635
|
+
var P = O[o];
|
|
666
636
|
Object.keys(R).forEach(function($) {
|
|
667
637
|
var M = [V, U].indexOf($) >= 0 ? 1 : -1, I = [B, U].indexOf($) >= 0 ? "y" : "x";
|
|
668
|
-
R[$] +=
|
|
638
|
+
R[$] += P[I] * M;
|
|
669
639
|
});
|
|
670
640
|
}
|
|
671
641
|
return R;
|
|
672
642
|
}
|
|
673
|
-
function
|
|
643
|
+
function Ar(e, t) {
|
|
674
644
|
t === void 0 && (t = {});
|
|
675
|
-
var n = t, r = n.placement, o = n.boundary, i = n.rootBoundary, f = n.padding, s = n.flipVariations, u = n.allowedAutoPlacements, c = u === void 0 ? Lt : u, a = de(r), l = a ? s ?
|
|
645
|
+
var n = t, r = n.placement, o = n.boundary, i = n.rootBoundary, f = n.padding, s = n.flipVariations, u = n.allowedAutoPlacements, c = u === void 0 ? Lt : u, a = de(r), l = a ? s ? yt : yt.filter(function(m) {
|
|
676
646
|
return de(m) === a;
|
|
677
647
|
}) : Oe, v = l.filter(function(m) {
|
|
678
648
|
return c.indexOf(m) >= 0;
|
|
@@ -684,32 +654,32 @@ function Nr(e, t) {
|
|
|
684
654
|
boundary: o,
|
|
685
655
|
rootBoundary: i,
|
|
686
656
|
padding: f
|
|
687
|
-
})[
|
|
657
|
+
})[K(g)], m;
|
|
688
658
|
}, {});
|
|
689
659
|
return Object.keys(d).sort(function(m, g) {
|
|
690
660
|
return d[m] - d[g];
|
|
691
661
|
});
|
|
692
662
|
}
|
|
693
|
-
function
|
|
694
|
-
if (
|
|
663
|
+
function Rr(e) {
|
|
664
|
+
if (K(e) === Xe)
|
|
695
665
|
return [];
|
|
696
666
|
var t = je(e);
|
|
697
|
-
return [
|
|
667
|
+
return [Ot(e), t, Ot(t)];
|
|
698
668
|
}
|
|
699
|
-
function
|
|
669
|
+
function jr(e) {
|
|
700
670
|
var t = e.state, n = e.options, r = e.name;
|
|
701
671
|
if (!t.modifiersData[r]._skip) {
|
|
702
|
-
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !0 : f, u = n.fallbackPlacements, c = n.padding, a = n.boundary, l = n.rootBoundary, v = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d, g = n.allowedAutoPlacements, p = t.options.placement, x =
|
|
703
|
-
return ue.concat(
|
|
704
|
-
placement:
|
|
672
|
+
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !0 : f, u = n.fallbackPlacements, c = n.padding, a = n.boundary, l = n.rootBoundary, v = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d, g = n.allowedAutoPlacements, p = t.options.placement, x = K(p), y = x === p, b = u || (y || !m ? [je(p)] : Rr(p)), h = [p].concat(b).reduce(function(ue, Q) {
|
|
673
|
+
return ue.concat(K(Q) === Xe ? Ar(t, {
|
|
674
|
+
placement: Q,
|
|
705
675
|
boundary: a,
|
|
706
676
|
rootBoundary: l,
|
|
707
677
|
padding: c,
|
|
708
678
|
flipVariations: m,
|
|
709
679
|
allowedAutoPlacements: g
|
|
710
|
-
}) :
|
|
711
|
-
}, []), w = t.rects.reference, E = t.rects.popper, D = /* @__PURE__ */ new Map(),
|
|
712
|
-
var O = h[R],
|
|
680
|
+
}) : Q);
|
|
681
|
+
}, []), w = t.rects.reference, E = t.rects.popper, D = /* @__PURE__ */ new Map(), C = !0, A = h[0], R = 0; R < h.length; R++) {
|
|
682
|
+
var O = h[R], P = K(O), $ = de(O) === ce, M = [B, U].indexOf(P) >= 0, I = M ? "width" : "height", T = xe(t, {
|
|
713
683
|
placement: O,
|
|
714
684
|
boundary: a,
|
|
715
685
|
rootBoundary: l,
|
|
@@ -717,44 +687,44 @@ function Sr(e) {
|
|
|
717
687
|
padding: c
|
|
718
688
|
}), W = M ? $ ? V : L : $ ? U : B;
|
|
719
689
|
w[I] > E[I] && (W = je(W));
|
|
720
|
-
var pe = je(W),
|
|
721
|
-
if (i &&
|
|
690
|
+
var pe = je(W), q = [];
|
|
691
|
+
if (i && q.push(T[P] <= 0), s && q.push(T[W] <= 0, T[pe] <= 0), q.every(function(ue) {
|
|
722
692
|
return ue;
|
|
723
693
|
})) {
|
|
724
|
-
A = O,
|
|
694
|
+
A = O, C = !1;
|
|
725
695
|
break;
|
|
726
696
|
}
|
|
727
|
-
D.set(O,
|
|
697
|
+
D.set(O, q);
|
|
728
698
|
}
|
|
729
|
-
if (
|
|
730
|
-
for (var
|
|
731
|
-
var me = h.find(function(
|
|
732
|
-
var ne = D.get(
|
|
699
|
+
if (C)
|
|
700
|
+
for (var N = m ? 3 : 1, se = function(Q) {
|
|
701
|
+
var me = h.find(function(Pe) {
|
|
702
|
+
var ne = D.get(Pe);
|
|
733
703
|
if (ne)
|
|
734
|
-
return ne.slice(0,
|
|
704
|
+
return ne.slice(0, Q).every(function(Le) {
|
|
735
705
|
return Le;
|
|
736
706
|
});
|
|
737
707
|
});
|
|
738
708
|
if (me)
|
|
739
709
|
return A = me, "break";
|
|
740
|
-
}, ve =
|
|
741
|
-
var
|
|
742
|
-
if (
|
|
710
|
+
}, ve = N; ve > 0; ve--) {
|
|
711
|
+
var Ce = se(ve);
|
|
712
|
+
if (Ce === "break") break;
|
|
743
713
|
}
|
|
744
714
|
t.placement !== A && (t.modifiersData[r]._skip = !0, t.placement = A, t.reset = !0);
|
|
745
715
|
}
|
|
746
716
|
}
|
|
747
|
-
const
|
|
717
|
+
const Mr = {
|
|
748
718
|
name: "flip",
|
|
749
719
|
enabled: !0,
|
|
750
720
|
phase: "main",
|
|
751
|
-
fn:
|
|
721
|
+
fn: jr,
|
|
752
722
|
requiresIfExists: ["offset"],
|
|
753
723
|
data: {
|
|
754
724
|
_skip: !1
|
|
755
725
|
}
|
|
756
726
|
};
|
|
757
|
-
function
|
|
727
|
+
function Dt(e, t, n) {
|
|
758
728
|
return n === void 0 && (n = {
|
|
759
729
|
x: 0,
|
|
760
730
|
y: 0
|
|
@@ -770,12 +740,12 @@ function Ct(e) {
|
|
|
770
740
|
return e[t] >= 0;
|
|
771
741
|
});
|
|
772
742
|
}
|
|
773
|
-
function
|
|
743
|
+
function Tr(e) {
|
|
774
744
|
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, f = xe(t, {
|
|
775
745
|
elementContext: "reference"
|
|
776
746
|
}), s = xe(t, {
|
|
777
747
|
altBoundary: !0
|
|
778
|
-
}), u =
|
|
748
|
+
}), u = Dt(f, r), c = Dt(s, o, i), a = Ct(u), l = Ct(c);
|
|
779
749
|
t.modifiersData[n] = {
|
|
780
750
|
referenceClippingOffsets: u,
|
|
781
751
|
popperEscapeOffsets: c,
|
|
@@ -786,15 +756,15 @@ function kr(e) {
|
|
|
786
756
|
"data-popper-escaped": l
|
|
787
757
|
});
|
|
788
758
|
}
|
|
789
|
-
const
|
|
759
|
+
const Nr = {
|
|
790
760
|
name: "hide",
|
|
791
761
|
enabled: !0,
|
|
792
762
|
phase: "main",
|
|
793
763
|
requiresIfExists: ["preventOverflow"],
|
|
794
|
-
fn:
|
|
764
|
+
fn: Tr
|
|
795
765
|
};
|
|
796
|
-
function
|
|
797
|
-
var r =
|
|
766
|
+
function Sr(e, t, n) {
|
|
767
|
+
var r = K(e), o = [L, B].indexOf(r) >= 0 ? -1 : 1, i = typeof n == "function" ? n(Object.assign({}, t, {
|
|
798
768
|
placement: e
|
|
799
769
|
})) : n, f = i[0], s = i[1];
|
|
800
770
|
return f = f || 0, s = (s || 0) * o, [L, V].indexOf(r) >= 0 ? {
|
|
@@ -805,20 +775,20 @@ function Lr(e, t, n) {
|
|
|
805
775
|
y: s
|
|
806
776
|
};
|
|
807
777
|
}
|
|
808
|
-
function
|
|
778
|
+
function Ir(e) {
|
|
809
779
|
var t = e.state, n = e.options, r = e.name, o = n.offset, i = o === void 0 ? [0, 0] : o, f = Lt.reduce(function(a, l) {
|
|
810
|
-
return a[l] =
|
|
780
|
+
return a[l] = Sr(l, t.rects, i), a;
|
|
811
781
|
}, {}), s = f[t.placement], u = s.x, c = s.y;
|
|
812
782
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += c), t.modifiersData[r] = f;
|
|
813
783
|
}
|
|
814
|
-
const
|
|
784
|
+
const kr = {
|
|
815
785
|
name: "offset",
|
|
816
786
|
enabled: !0,
|
|
817
787
|
phase: "main",
|
|
818
788
|
requires: ["popperOffsets"],
|
|
819
|
-
fn:
|
|
789
|
+
fn: Ir
|
|
820
790
|
};
|
|
821
|
-
function
|
|
791
|
+
function Br(e) {
|
|
822
792
|
var t = e.state, n = e.name;
|
|
823
793
|
t.modifiersData[n] = _t({
|
|
824
794
|
reference: t.rects.reference,
|
|
@@ -827,23 +797,23 @@ function Fr(e) {
|
|
|
827
797
|
placement: t.placement
|
|
828
798
|
});
|
|
829
799
|
}
|
|
830
|
-
const
|
|
800
|
+
const Lr = {
|
|
831
801
|
name: "popperOffsets",
|
|
832
802
|
enabled: !0,
|
|
833
803
|
phase: "read",
|
|
834
|
-
fn:
|
|
804
|
+
fn: Br,
|
|
835
805
|
data: {}
|
|
836
806
|
};
|
|
837
|
-
function
|
|
807
|
+
function Wr(e) {
|
|
838
808
|
return e === "x" ? "y" : "x";
|
|
839
809
|
}
|
|
840
|
-
function
|
|
810
|
+
function Hr(e) {
|
|
841
811
|
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !1 : f, u = n.boundary, c = n.rootBoundary, a = n.altBoundary, l = n.padding, v = n.tether, d = v === void 0 ? !0 : v, m = n.tetherOffset, g = m === void 0 ? 0 : m, p = xe(t, {
|
|
842
812
|
boundary: u,
|
|
843
813
|
rootBoundary: c,
|
|
844
814
|
padding: l,
|
|
845
815
|
altBoundary: a
|
|
846
|
-
}), x =
|
|
816
|
+
}), x = K(t.placement), y = de(t.placement), b = !y, h = Je(x), w = Wr(h), E = t.modifiersData.popperOffsets, D = t.rects.reference, C = t.rects.popper, A = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
847
817
|
placement: t.placement
|
|
848
818
|
})) : g, R = typeof A == "number" ? {
|
|
849
819
|
mainAxis: A,
|
|
@@ -851,48 +821,48 @@ function Kr(e) {
|
|
|
851
821
|
} : Object.assign({
|
|
852
822
|
mainAxis: 0,
|
|
853
823
|
altAxis: 0
|
|
854
|
-
}, A), O = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
824
|
+
}, A), O = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = {
|
|
855
825
|
x: 0,
|
|
856
826
|
y: 0
|
|
857
827
|
};
|
|
858
828
|
if (E) {
|
|
859
829
|
if (i) {
|
|
860
|
-
var $, M = h === "y" ? B : L, I = h === "y" ? U : V, T = h === "y" ? "height" : "width", W = E[h], pe = W + p[M],
|
|
830
|
+
var $, M = h === "y" ? B : L, I = h === "y" ? U : V, T = h === "y" ? "height" : "width", W = E[h], pe = W + p[M], q = W - p[I], N = d ? -C[T] / 2 : 0, se = y === ce ? D[T] : C[T], ve = y === ce ? -C[T] : -D[T], Ce = t.elements.arrow, ue = d && Ce ? Ge(Ce) : {
|
|
861
831
|
width: 0,
|
|
862
832
|
height: 0
|
|
863
|
-
},
|
|
864
|
-
E[h] =
|
|
833
|
+
}, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ft(), me = Q[M], Pe = Q[I], ne = we(0, D[T], ue[T]), Le = b ? D[T] / 2 - N - ne - me - R.mainAxis : se - ne - me - R.mainAxis, vn = b ? -D[T] / 2 + N + ne + Pe + R.mainAxis : ve + ne + Pe + R.mainAxis, We = t.elements.arrow && Ee(t.elements.arrow), mn = We ? h === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, ot = ($ = O == null ? void 0 : O[h]) != null ? $ : 0, gn = W + Le - ot - mn, hn = W + vn - ot, it = we(d ? Se(pe, gn) : pe, W, d ? ie(q, hn) : q);
|
|
834
|
+
E[h] = it, P[h] = it - W;
|
|
865
835
|
}
|
|
866
836
|
if (s) {
|
|
867
|
-
var
|
|
868
|
-
E[w] =
|
|
837
|
+
var at, wn = h === "x" ? B : L, yn = h === "x" ? U : V, re = E[w], $e = w === "y" ? "height" : "width", st = re + p[wn], ut = re - p[yn], He = [B, L].indexOf(x) !== -1, ct = (at = O == null ? void 0 : O[w]) != null ? at : 0, ft = He ? st : re - D[$e] - C[$e] - ct + R.altAxis, lt = He ? re + D[$e] + C[$e] - ct - R.altAxis : ut, dt = d && He ? fr(ft, re, lt) : we(d ? ft : st, re, d ? lt : ut);
|
|
838
|
+
E[w] = dt, P[w] = dt - re;
|
|
869
839
|
}
|
|
870
|
-
t.modifiersData[r] =
|
|
840
|
+
t.modifiersData[r] = P;
|
|
871
841
|
}
|
|
872
842
|
}
|
|
873
|
-
const
|
|
843
|
+
const Fr = {
|
|
874
844
|
name: "preventOverflow",
|
|
875
845
|
enabled: !0,
|
|
876
846
|
phase: "main",
|
|
877
|
-
fn:
|
|
847
|
+
fn: Hr,
|
|
878
848
|
requiresIfExists: ["offset"]
|
|
879
849
|
};
|
|
880
|
-
function
|
|
850
|
+
function Ur(e) {
|
|
881
851
|
return {
|
|
882
852
|
scrollLeft: e.scrollLeft,
|
|
883
853
|
scrollTop: e.scrollTop
|
|
884
854
|
};
|
|
885
855
|
}
|
|
886
|
-
function
|
|
887
|
-
return e === F(e) || !z(e) ?
|
|
856
|
+
function Vr(e) {
|
|
857
|
+
return e === F(e) || !z(e) ? Qe(e) : Ur(e);
|
|
888
858
|
}
|
|
889
|
-
function
|
|
859
|
+
function qr(e) {
|
|
890
860
|
var t = e.getBoundingClientRect(), n = fe(t.width) / e.offsetWidth || 1, r = fe(t.height) / e.offsetHeight || 1;
|
|
891
861
|
return n !== 1 || r !== 1;
|
|
892
862
|
}
|
|
893
|
-
function
|
|
863
|
+
function _r(e, t, n) {
|
|
894
864
|
n === void 0 && (n = !1);
|
|
895
|
-
var r = z(t), o = z(t) &&
|
|
865
|
+
var r = z(t), o = z(t) && qr(t), i = te(t), f = le(e, o, n), s = {
|
|
896
866
|
scrollLeft: 0,
|
|
897
867
|
scrollTop: 0
|
|
898
868
|
}, u = {
|
|
@@ -900,14 +870,14 @@ function Yr(e, t, n) {
|
|
|
900
870
|
y: 0
|
|
901
871
|
};
|
|
902
872
|
return (r || !r && !n) && ((ee(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
903
|
-
|
|
873
|
+
et(i)) && (s = Vr(t)), z(t) ? (u = le(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = Ze(i))), {
|
|
904
874
|
x: f.left + s.scrollLeft - u.x,
|
|
905
875
|
y: f.top + s.scrollTop - u.y,
|
|
906
876
|
width: f.width,
|
|
907
877
|
height: f.height
|
|
908
878
|
};
|
|
909
879
|
}
|
|
910
|
-
function
|
|
880
|
+
function Kr(e) {
|
|
911
881
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
912
882
|
e.forEach(function(i) {
|
|
913
883
|
t.set(i.name, i);
|
|
@@ -926,15 +896,15 @@ function Gr(e) {
|
|
|
926
896
|
n.has(i.name) || o(i);
|
|
927
897
|
}), r;
|
|
928
898
|
}
|
|
929
|
-
function
|
|
930
|
-
var t =
|
|
931
|
-
return
|
|
899
|
+
function zr(e) {
|
|
900
|
+
var t = Kr(e);
|
|
901
|
+
return sr.reduce(function(n, r) {
|
|
932
902
|
return n.concat(t.filter(function(o) {
|
|
933
903
|
return o.phase === r;
|
|
934
904
|
}));
|
|
935
905
|
}, []);
|
|
936
906
|
}
|
|
937
|
-
function
|
|
907
|
+
function Xr(e) {
|
|
938
908
|
var t;
|
|
939
909
|
return function() {
|
|
940
910
|
return t || (t = new Promise(function(n) {
|
|
@@ -944,7 +914,7 @@ function Qr(e) {
|
|
|
944
914
|
})), t;
|
|
945
915
|
};
|
|
946
916
|
}
|
|
947
|
-
function
|
|
917
|
+
function Yr(e) {
|
|
948
918
|
var t = e.reduce(function(n, r) {
|
|
949
919
|
var o = n[r.name];
|
|
950
920
|
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
@@ -956,27 +926,27 @@ function Zr(e) {
|
|
|
956
926
|
return t[n];
|
|
957
927
|
});
|
|
958
928
|
}
|
|
959
|
-
var
|
|
929
|
+
var Pt = {
|
|
960
930
|
placement: "bottom",
|
|
961
931
|
modifiers: [],
|
|
962
932
|
strategy: "absolute"
|
|
963
933
|
};
|
|
964
|
-
function
|
|
934
|
+
function $t() {
|
|
965
935
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
966
936
|
t[n] = arguments[n];
|
|
967
937
|
return !t.some(function(r) {
|
|
968
938
|
return !(r && typeof r.getBoundingClientRect == "function");
|
|
969
939
|
});
|
|
970
940
|
}
|
|
971
|
-
function
|
|
941
|
+
function Gr(e) {
|
|
972
942
|
e === void 0 && (e = {});
|
|
973
|
-
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, i = o === void 0 ?
|
|
943
|
+
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, i = o === void 0 ? Pt : o;
|
|
974
944
|
return function(s, u, c) {
|
|
975
945
|
c === void 0 && (c = i);
|
|
976
946
|
var a = {
|
|
977
947
|
placement: "bottom",
|
|
978
948
|
orderedModifiers: [],
|
|
979
|
-
options: Object.assign({},
|
|
949
|
+
options: Object.assign({}, Pt, i),
|
|
980
950
|
modifiersData: {},
|
|
981
951
|
elements: {
|
|
982
952
|
reference: s,
|
|
@@ -992,7 +962,7 @@ function eo(e) {
|
|
|
992
962
|
reference: ae(s) ? ye(s) : s.contextElement ? ye(s.contextElement) : [],
|
|
993
963
|
popper: ye(u)
|
|
994
964
|
};
|
|
995
|
-
var b =
|
|
965
|
+
var b = zr(Yr([].concat(r, a.options.modifiers)));
|
|
996
966
|
return a.orderedModifiers = b.filter(function(h) {
|
|
997
967
|
return h.enabled;
|
|
998
968
|
}), m(), d.update();
|
|
@@ -1005,10 +975,10 @@ function eo(e) {
|
|
|
1005
975
|
forceUpdate: function() {
|
|
1006
976
|
if (!v) {
|
|
1007
977
|
var x = a.elements, y = x.reference, b = x.popper;
|
|
1008
|
-
if (
|
|
978
|
+
if ($t(y, b)) {
|
|
1009
979
|
a.rects = {
|
|
1010
|
-
reference:
|
|
1011
|
-
popper:
|
|
980
|
+
reference: _r(y, Ee(b), a.options.strategy === "fixed"),
|
|
981
|
+
popper: Ge(b)
|
|
1012
982
|
}, a.reset = !1, a.placement = a.options.placement, a.orderedModifiers.forEach(function(R) {
|
|
1013
983
|
return a.modifiersData[R.name] = Object.assign({}, R.data);
|
|
1014
984
|
});
|
|
@@ -1017,10 +987,10 @@ function eo(e) {
|
|
|
1017
987
|
a.reset = !1, h = -1;
|
|
1018
988
|
continue;
|
|
1019
989
|
}
|
|
1020
|
-
var w = a.orderedModifiers[h], E = w.fn, D = w.options,
|
|
990
|
+
var w = a.orderedModifiers[h], E = w.fn, D = w.options, C = D === void 0 ? {} : D, A = w.name;
|
|
1021
991
|
typeof E == "function" && (a = E({
|
|
1022
992
|
state: a,
|
|
1023
|
-
options:
|
|
993
|
+
options: C,
|
|
1024
994
|
name: A,
|
|
1025
995
|
instance: d
|
|
1026
996
|
}) || a);
|
|
@@ -1030,7 +1000,7 @@ function eo(e) {
|
|
|
1030
1000
|
},
|
|
1031
1001
|
// Async and optimistically optimized update – it will not be executed if
|
|
1032
1002
|
// not necessary (debounced to run at most once-per-tick)
|
|
1033
|
-
update:
|
|
1003
|
+
update: Xr(function() {
|
|
1034
1004
|
return new Promise(function(p) {
|
|
1035
1005
|
d.forceUpdate(), p(a);
|
|
1036
1006
|
});
|
|
@@ -1039,7 +1009,7 @@ function eo(e) {
|
|
|
1039
1009
|
g(), v = !0;
|
|
1040
1010
|
}
|
|
1041
1011
|
};
|
|
1042
|
-
if (
|
|
1012
|
+
if (!$t(s, u))
|
|
1043
1013
|
return d;
|
|
1044
1014
|
d.setOptions(c).then(function(p) {
|
|
1045
1015
|
!v && c.onFirstUpdate && c.onFirstUpdate(p);
|
|
@@ -1067,10 +1037,10 @@ function eo(e) {
|
|
|
1067
1037
|
return d;
|
|
1068
1038
|
};
|
|
1069
1039
|
}
|
|
1070
|
-
const
|
|
1071
|
-
defaultModifiers: [
|
|
1072
|
-
}),
|
|
1073
|
-
function
|
|
1040
|
+
const Jr = Gr({
|
|
1041
|
+
defaultModifiers: [Nr, Lr, wr, br, kr, Mr, Fr, vr]
|
|
1042
|
+
}), Qr = ["enabled", "placement", "strategy", "modifiers"];
|
|
1043
|
+
function Zr(e, t) {
|
|
1074
1044
|
if (e == null) return {};
|
|
1075
1045
|
var n = {};
|
|
1076
1046
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -1079,13 +1049,13 @@ function ro(e, t) {
|
|
|
1079
1049
|
}
|
|
1080
1050
|
return n;
|
|
1081
1051
|
}
|
|
1082
|
-
const
|
|
1052
|
+
const eo = {
|
|
1083
1053
|
name: "applyStyles",
|
|
1084
1054
|
enabled: !1,
|
|
1085
1055
|
phase: "afterWrite",
|
|
1086
1056
|
fn: () => {
|
|
1087
1057
|
}
|
|
1088
|
-
},
|
|
1058
|
+
}, to = {
|
|
1089
1059
|
name: "ariaDescribedBy",
|
|
1090
1060
|
enabled: !0,
|
|
1091
1061
|
phase: "afterWrite",
|
|
@@ -1116,21 +1086,21 @@ const oo = {
|
|
|
1116
1086
|
r.setAttribute("aria-describedby", i ? `${i},${n.id}` : n.id);
|
|
1117
1087
|
}
|
|
1118
1088
|
}
|
|
1119
|
-
},
|
|
1120
|
-
function
|
|
1089
|
+
}, no = [];
|
|
1090
|
+
function ro(e, t, n = {}) {
|
|
1121
1091
|
let {
|
|
1122
1092
|
enabled: r = !0,
|
|
1123
1093
|
placement: o = "bottom",
|
|
1124
1094
|
strategy: i = "absolute",
|
|
1125
|
-
modifiers: f =
|
|
1126
|
-
} = n, s =
|
|
1095
|
+
modifiers: f = no
|
|
1096
|
+
} = n, s = Zr(n, Qr);
|
|
1127
1097
|
const u = H(f), c = H(), a = _(() => {
|
|
1128
1098
|
var p;
|
|
1129
1099
|
(p = c.current) == null || p.update();
|
|
1130
1100
|
}, []), l = _(() => {
|
|
1131
1101
|
var p;
|
|
1132
1102
|
(p = c.current) == null || p.forceUpdate();
|
|
1133
|
-
}, []), [v, d] =
|
|
1103
|
+
}, []), [v, d] = Yn(Ke({
|
|
1134
1104
|
placement: o,
|
|
1135
1105
|
update: a,
|
|
1136
1106
|
forceUpdate: l,
|
|
@@ -1164,14 +1134,14 @@ function so(e, t, n = {}) {
|
|
|
1164
1134
|
!c.current || !r || c.current.setOptions({
|
|
1165
1135
|
placement: o,
|
|
1166
1136
|
strategy: i,
|
|
1167
|
-
modifiers: [...g, m,
|
|
1137
|
+
modifiers: [...g, m, eo]
|
|
1168
1138
|
});
|
|
1169
1139
|
}, [i, o, m, r, g]), X(() => {
|
|
1170
1140
|
if (!(!r || e == null || t == null))
|
|
1171
|
-
return c.current =
|
|
1141
|
+
return c.current = Jr(e, t, Object.assign({}, s, {
|
|
1172
1142
|
placement: o,
|
|
1173
1143
|
strategy: i,
|
|
1174
|
-
modifiers: [...g,
|
|
1144
|
+
modifiers: [...g, to, m]
|
|
1175
1145
|
})), () => {
|
|
1176
1146
|
c.current != null && (c.current.destroy(), c.current = void 0, d((p) => Object.assign({}, p, {
|
|
1177
1147
|
attributes: {},
|
|
@@ -1182,34 +1152,34 @@ function so(e, t, n = {}) {
|
|
|
1182
1152
|
};
|
|
1183
1153
|
}, [r, e, t]), v;
|
|
1184
1154
|
}
|
|
1185
|
-
function
|
|
1155
|
+
function At(e, t) {
|
|
1186
1156
|
if (e.contains) return e.contains(t);
|
|
1187
1157
|
if (e.compareDocumentPosition) return e === t || !!(e.compareDocumentPosition(t) & 16);
|
|
1188
1158
|
}
|
|
1189
|
-
const
|
|
1159
|
+
const Rt = () => {
|
|
1190
1160
|
};
|
|
1191
|
-
function
|
|
1161
|
+
function oo(e) {
|
|
1192
1162
|
return e.button === 0;
|
|
1193
1163
|
}
|
|
1194
|
-
function
|
|
1164
|
+
function io(e) {
|
|
1195
1165
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
1196
1166
|
}
|
|
1197
|
-
const Ue = (e) => e && ("current" in e ? e.current : e),
|
|
1167
|
+
const Ue = (e) => e && ("current" in e ? e.current : e), jt = {
|
|
1198
1168
|
click: "mousedown",
|
|
1199
1169
|
mouseup: "mousedown",
|
|
1200
1170
|
pointerup: "pointerdown"
|
|
1201
1171
|
};
|
|
1202
|
-
function
|
|
1172
|
+
function ao(e, t = Rt, {
|
|
1203
1173
|
disabled: n,
|
|
1204
1174
|
clickTrigger: r = "click"
|
|
1205
1175
|
} = {}) {
|
|
1206
1176
|
const o = H(!1), i = H(!1), f = _((c) => {
|
|
1207
1177
|
const a = Ue(e);
|
|
1208
|
-
|
|
1209
|
-
}, [e]), s =
|
|
1178
|
+
St(!!a, "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"), o.current = !a || io(c) || !oo(c) || !!At(a, c.target) || i.current, i.current = !1;
|
|
1179
|
+
}, [e]), s = Z((c) => {
|
|
1210
1180
|
const a = Ue(e);
|
|
1211
|
-
a &&
|
|
1212
|
-
}), u =
|
|
1181
|
+
a && At(a, c.target) ? i.current = !0 : i.current = !1;
|
|
1182
|
+
}), u = Z((c) => {
|
|
1213
1183
|
o.current || t(c);
|
|
1214
1184
|
});
|
|
1215
1185
|
X(() => {
|
|
@@ -1217,7 +1187,7 @@ function fo(e, t = jt, {
|
|
|
1217
1187
|
if (n || e == null) return;
|
|
1218
1188
|
const l = An(Ue(e)), v = l.defaultView || window;
|
|
1219
1189
|
let d = (c = v.event) != null ? c : (a = v.parent) == null ? void 0 : a.event, m = null;
|
|
1220
|
-
|
|
1190
|
+
jt[r] && (m = Ae(l, jt[r], s, !0));
|
|
1221
1191
|
const g = Ae(l, r, f, !0), p = Ae(l, r, (y) => {
|
|
1222
1192
|
if (y === d) {
|
|
1223
1193
|
d = void 0;
|
|
@@ -1226,21 +1196,21 @@ function fo(e, t = jt, {
|
|
|
1226
1196
|
u(y);
|
|
1227
1197
|
});
|
|
1228
1198
|
let x = [];
|
|
1229
|
-
return "ontouchstart" in l.documentElement && (x = [].slice.call(l.body.children).map((y) => Ae(y, "mousemove",
|
|
1199
|
+
return "ontouchstart" in l.documentElement && (x = [].slice.call(l.body.children).map((y) => Ae(y, "mousemove", Rt))), () => {
|
|
1230
1200
|
m == null || m(), g(), p(), x.forEach((y) => y());
|
|
1231
1201
|
};
|
|
1232
1202
|
}, [e, n, r, f, s, u]);
|
|
1233
1203
|
}
|
|
1234
|
-
function
|
|
1204
|
+
function so(e) {
|
|
1235
1205
|
const t = {};
|
|
1236
1206
|
return Array.isArray(e) ? (e == null || e.forEach((n) => {
|
|
1237
1207
|
t[n.name] = n;
|
|
1238
1208
|
}), t) : e || t;
|
|
1239
1209
|
}
|
|
1240
|
-
function
|
|
1210
|
+
function uo(e = {}) {
|
|
1241
1211
|
return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
|
|
1242
1212
|
}
|
|
1243
|
-
function
|
|
1213
|
+
function co({
|
|
1244
1214
|
enabled: e,
|
|
1245
1215
|
enableEvents: t,
|
|
1246
1216
|
placement: n,
|
|
@@ -1252,12 +1222,12 @@ function vo({
|
|
|
1252
1222
|
popperConfig: u = {}
|
|
1253
1223
|
}) {
|
|
1254
1224
|
var c, a, l, v, d;
|
|
1255
|
-
const m =
|
|
1225
|
+
const m = so(u.modifiers);
|
|
1256
1226
|
return Object.assign({}, u, {
|
|
1257
1227
|
placement: n,
|
|
1258
1228
|
enabled: e,
|
|
1259
1229
|
strategy: i ? "fixed" : u.strategy,
|
|
1260
|
-
modifiers:
|
|
1230
|
+
modifiers: uo(Object.assign({}, m, {
|
|
1261
1231
|
eventListeners: {
|
|
1262
1232
|
enabled: t,
|
|
1263
1233
|
options: (c = m.eventListeners) == null ? void 0 : c.options
|
|
@@ -1284,8 +1254,8 @@ function vo({
|
|
|
1284
1254
|
}))
|
|
1285
1255
|
});
|
|
1286
1256
|
}
|
|
1287
|
-
const
|
|
1288
|
-
function
|
|
1257
|
+
const fo = ["children", "usePopper"];
|
|
1258
|
+
function lo(e, t) {
|
|
1289
1259
|
if (e == null) return {};
|
|
1290
1260
|
var n = {};
|
|
1291
1261
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -1294,10 +1264,10 @@ function go(e, t) {
|
|
|
1294
1264
|
}
|
|
1295
1265
|
return n;
|
|
1296
1266
|
}
|
|
1297
|
-
const
|
|
1267
|
+
const po = () => {
|
|
1298
1268
|
};
|
|
1299
|
-
function
|
|
1300
|
-
const t = k(Ie), [n, r] =
|
|
1269
|
+
function Kt(e = {}) {
|
|
1270
|
+
const t = k(Ie), [n, r] = Vn(), o = H(!1), {
|
|
1301
1271
|
flip: i,
|
|
1302
1272
|
offset: f,
|
|
1303
1273
|
rootCloseEvent: s,
|
|
@@ -1315,7 +1285,7 @@ function qt(e = {}) {
|
|
|
1315
1285
|
setMenu: p,
|
|
1316
1286
|
menuElement: x,
|
|
1317
1287
|
toggleElement: y
|
|
1318
|
-
} = t || {}, b =
|
|
1288
|
+
} = t || {}, b = ro(y, x, co({
|
|
1319
1289
|
placement: c || g || "bottom-start",
|
|
1320
1290
|
enabled: v,
|
|
1321
1291
|
enableEvents: l ?? d,
|
|
@@ -1325,7 +1295,7 @@ function qt(e = {}) {
|
|
|
1325
1295
|
arrowElement: n,
|
|
1326
1296
|
popperConfig: a
|
|
1327
1297
|
})), h = Object.assign({
|
|
1328
|
-
ref: p ||
|
|
1298
|
+
ref: p || po,
|
|
1329
1299
|
"aria-labelledby": y == null ? void 0 : y.id
|
|
1330
1300
|
}, b.attributes.popper, {
|
|
1331
1301
|
style: b.styles.popper
|
|
@@ -1341,7 +1311,7 @@ function qt(e = {}) {
|
|
|
1341
1311
|
style: b.styles.arrow
|
|
1342
1312
|
}) : {}
|
|
1343
1313
|
};
|
|
1344
|
-
return
|
|
1314
|
+
return ao(x, m, {
|
|
1345
1315
|
clickTrigger: s,
|
|
1346
1316
|
disabled: !d
|
|
1347
1317
|
}), [h, w];
|
|
@@ -1350,11 +1320,11 @@ function zt(e) {
|
|
|
1350
1320
|
let {
|
|
1351
1321
|
children: t,
|
|
1352
1322
|
usePopper: n = !0
|
|
1353
|
-
} = e, r =
|
|
1354
|
-
const [o, i] =
|
|
1323
|
+
} = e, r = lo(e, fo);
|
|
1324
|
+
const [o, i] = Kt(Object.assign({}, r, {
|
|
1355
1325
|
usePopper: n
|
|
1356
1326
|
}));
|
|
1357
|
-
return /* @__PURE__ */ j(
|
|
1327
|
+
return /* @__PURE__ */ j(Nt, {
|
|
1358
1328
|
children: t(o, i)
|
|
1359
1329
|
});
|
|
1360
1330
|
}
|
|
@@ -1362,19 +1332,19 @@ zt.displayName = "DropdownMenu";
|
|
|
1362
1332
|
const Xt = (e) => {
|
|
1363
1333
|
var t;
|
|
1364
1334
|
return ((t = e.getAttribute("role")) == null ? void 0 : t.toLowerCase()) === "menu";
|
|
1365
|
-
},
|
|
1335
|
+
}, Mt = () => {
|
|
1366
1336
|
};
|
|
1367
1337
|
function Yt() {
|
|
1368
1338
|
const e = Rn(), {
|
|
1369
1339
|
show: t = !1,
|
|
1370
|
-
toggle: n =
|
|
1340
|
+
toggle: n = Mt,
|
|
1371
1341
|
setToggle: r,
|
|
1372
1342
|
menuElement: o
|
|
1373
1343
|
} = k(Ie) || {}, i = _((s) => {
|
|
1374
1344
|
n(!t, s);
|
|
1375
1345
|
}, [t, n]), f = {
|
|
1376
1346
|
id: e,
|
|
1377
|
-
ref: r ||
|
|
1347
|
+
ref: r || Mt,
|
|
1378
1348
|
onClick: i,
|
|
1379
1349
|
"aria-expanded": !!t
|
|
1380
1350
|
};
|
|
@@ -1387,22 +1357,22 @@ function Gt({
|
|
|
1387
1357
|
children: e
|
|
1388
1358
|
}) {
|
|
1389
1359
|
const [t, n] = Yt();
|
|
1390
|
-
return /* @__PURE__ */ j(
|
|
1360
|
+
return /* @__PURE__ */ j(Nt, {
|
|
1391
1361
|
children: e(t, n)
|
|
1392
1362
|
});
|
|
1393
1363
|
}
|
|
1394
1364
|
Gt.displayName = "DropdownToggle";
|
|
1395
|
-
const
|
|
1396
|
-
|
|
1397
|
-
const
|
|
1365
|
+
const tt = /* @__PURE__ */ S.createContext(null);
|
|
1366
|
+
tt.displayName = "NavContext";
|
|
1367
|
+
const vo = "data-rr-ui-", mo = "rrUi";
|
|
1398
1368
|
function Be(e) {
|
|
1399
|
-
return `${
|
|
1369
|
+
return `${vo}${e}`;
|
|
1400
1370
|
}
|
|
1401
|
-
function
|
|
1402
|
-
return `${
|
|
1371
|
+
function Bo(e) {
|
|
1372
|
+
return `${mo}${e}`;
|
|
1403
1373
|
}
|
|
1404
|
-
const
|
|
1405
|
-
function
|
|
1374
|
+
const go = ["eventKey", "disabled", "onClick", "active", "as"];
|
|
1375
|
+
function ho(e, t) {
|
|
1406
1376
|
if (e == null) return {};
|
|
1407
1377
|
var n = {};
|
|
1408
1378
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -1418,11 +1388,11 @@ function Jt({
|
|
|
1418
1388
|
disabled: r,
|
|
1419
1389
|
onClick: o
|
|
1420
1390
|
}) {
|
|
1421
|
-
const i = k(
|
|
1391
|
+
const i = k(Te), f = k(tt), {
|
|
1422
1392
|
activeKey: s
|
|
1423
|
-
} = f || {}, u =
|
|
1393
|
+
} = f || {}, u = Ne(e, t), c = n == null && e != null ? Ne(s) === u : n;
|
|
1424
1394
|
return [{
|
|
1425
|
-
onClick:
|
|
1395
|
+
onClick: Z((l) => {
|
|
1426
1396
|
r || (o == null || o(l), i && !l.isPropagationStopped() && i(u, l));
|
|
1427
1397
|
}),
|
|
1428
1398
|
"aria-disabled": r || void 0,
|
|
@@ -1432,14 +1402,14 @@ function Jt({
|
|
|
1432
1402
|
isActive: c
|
|
1433
1403
|
}];
|
|
1434
1404
|
}
|
|
1435
|
-
const Qt = /* @__PURE__ */
|
|
1405
|
+
const Qt = /* @__PURE__ */ S.forwardRef((e, t) => {
|
|
1436
1406
|
let {
|
|
1437
1407
|
eventKey: n,
|
|
1438
1408
|
disabled: r,
|
|
1439
1409
|
onClick: o,
|
|
1440
1410
|
active: i,
|
|
1441
|
-
as: f =
|
|
1442
|
-
} = e, s =
|
|
1411
|
+
as: f = It
|
|
1412
|
+
} = e, s = ho(e, go);
|
|
1443
1413
|
const [u] = Jt({
|
|
1444
1414
|
key: n,
|
|
1445
1415
|
href: s.href,
|
|
@@ -1452,13 +1422,13 @@ const Qt = /* @__PURE__ */ N.forwardRef((e, t) => {
|
|
|
1452
1422
|
}, u));
|
|
1453
1423
|
});
|
|
1454
1424
|
Qt.displayName = "DropdownItem";
|
|
1455
|
-
const Zt = /* @__PURE__ */
|
|
1425
|
+
const Zt = /* @__PURE__ */ Cn(jn ? window : void 0);
|
|
1456
1426
|
Zt.Provider;
|
|
1457
|
-
function
|
|
1427
|
+
function wo() {
|
|
1458
1428
|
return k(Zt);
|
|
1459
1429
|
}
|
|
1460
1430
|
function Tt() {
|
|
1461
|
-
const e =
|
|
1431
|
+
const e = Xn(), t = H(null), n = _((r) => {
|
|
1462
1432
|
t.current = r, e();
|
|
1463
1433
|
}, [e]);
|
|
1464
1434
|
return [t, n];
|
|
@@ -1473,13 +1443,13 @@ function De({
|
|
|
1473
1443
|
placement: f = "bottom-start",
|
|
1474
1444
|
children: s
|
|
1475
1445
|
}) {
|
|
1476
|
-
const u =
|
|
1446
|
+
const u = wo(), [c, a] = Mn(t, e, r), [l, v] = Tt(), d = l.current, [m, g] = Tt(), p = m.current, x = Kn(c), y = H(null), b = H(!1), h = k(Te), w = _((O, P, $ = P == null ? void 0 : P.type) => {
|
|
1477
1447
|
a(O, {
|
|
1478
|
-
originalEvent:
|
|
1448
|
+
originalEvent: P,
|
|
1479
1449
|
source: $
|
|
1480
1450
|
});
|
|
1481
|
-
}, [a]), E =
|
|
1482
|
-
n == null || n(O,
|
|
1451
|
+
}, [a]), E = Z((O, P) => {
|
|
1452
|
+
n == null || n(O, P), w(!1, P, "select"), P.isPropagationStopped() || h == null || h(O, P);
|
|
1483
1453
|
}), D = Me(() => ({
|
|
1484
1454
|
toggle: w,
|
|
1485
1455
|
placement: f,
|
|
@@ -1490,66 +1460,66 @@ function De({
|
|
|
1490
1460
|
setToggle: g
|
|
1491
1461
|
}), [w, f, c, d, p, v, g]);
|
|
1492
1462
|
d && x && !c && (b.current = d.contains(d.ownerDocument.activeElement));
|
|
1493
|
-
const
|
|
1463
|
+
const C = Z(() => {
|
|
1494
1464
|
p && p.focus && p.focus();
|
|
1495
|
-
}), A =
|
|
1465
|
+
}), A = Z(() => {
|
|
1496
1466
|
const O = y.current;
|
|
1497
|
-
let
|
|
1498
|
-
if (
|
|
1467
|
+
let P = i;
|
|
1468
|
+
if (P == null && (P = l.current && Xt(l.current) ? "keyboard" : !1), P === !1 || P === "keyboard" && !/^key.+$/.test(O))
|
|
1499
1469
|
return;
|
|
1500
|
-
const $ =
|
|
1470
|
+
const $ = gt(l.current, o)[0];
|
|
1501
1471
|
$ && $.focus && $.focus();
|
|
1502
1472
|
});
|
|
1503
1473
|
X(() => {
|
|
1504
|
-
c ? A() : b.current && (b.current = !1,
|
|
1505
|
-
}, [c, b,
|
|
1474
|
+
c ? A() : b.current && (b.current = !1, C());
|
|
1475
|
+
}, [c, b, C, A]), X(() => {
|
|
1506
1476
|
y.current = null;
|
|
1507
1477
|
});
|
|
1508
|
-
const R = (O,
|
|
1478
|
+
const R = (O, P) => {
|
|
1509
1479
|
if (!l.current) return null;
|
|
1510
|
-
const $ =
|
|
1511
|
-
let M = $.indexOf(O) +
|
|
1480
|
+
const $ = gt(l.current, o);
|
|
1481
|
+
let M = $.indexOf(O) + P;
|
|
1512
1482
|
return M = Math.max(0, Math.min(M, $.length)), $[M];
|
|
1513
1483
|
};
|
|
1514
|
-
return
|
|
1515
|
-
var
|
|
1484
|
+
return qn(_(() => u.document, [u]), "keydown", (O) => {
|
|
1485
|
+
var P, $;
|
|
1516
1486
|
const {
|
|
1517
1487
|
key: M
|
|
1518
|
-
} = O, I = O.target, T = (
|
|
1488
|
+
} = O, I = O.target, T = (P = l.current) == null ? void 0 : P.contains(I), W = ($ = m.current) == null ? void 0 : $.contains(I);
|
|
1519
1489
|
if (/input|textarea/i.test(I.tagName) && (M === " " || M !== "Escape" && T || M === "Escape" && I.type === "search") || !T && !W || M === "Tab" && (!l.current || !c))
|
|
1520
1490
|
return;
|
|
1521
1491
|
y.current = O.type;
|
|
1522
|
-
const
|
|
1492
|
+
const q = {
|
|
1523
1493
|
originalEvent: O,
|
|
1524
1494
|
source: O.type
|
|
1525
1495
|
};
|
|
1526
1496
|
switch (M) {
|
|
1527
1497
|
case "ArrowUp": {
|
|
1528
|
-
const
|
|
1529
|
-
|
|
1498
|
+
const N = R(I, -1);
|
|
1499
|
+
N && N.focus && N.focus(), O.preventDefault();
|
|
1530
1500
|
return;
|
|
1531
1501
|
}
|
|
1532
1502
|
case "ArrowDown":
|
|
1533
1503
|
if (O.preventDefault(), !c)
|
|
1534
|
-
a(!0,
|
|
1504
|
+
a(!0, q);
|
|
1535
1505
|
else {
|
|
1536
|
-
const
|
|
1537
|
-
|
|
1506
|
+
const N = R(I, 1);
|
|
1507
|
+
N && N.focus && N.focus();
|
|
1538
1508
|
}
|
|
1539
1509
|
return;
|
|
1540
1510
|
case "Tab":
|
|
1541
|
-
|
|
1511
|
+
Tn(I.ownerDocument, "keyup", (N) => {
|
|
1542
1512
|
var se;
|
|
1543
|
-
(
|
|
1513
|
+
(N.key === "Tab" && !N.target || !((se = l.current) != null && se.contains(N.target))) && a(!1, q);
|
|
1544
1514
|
}, {
|
|
1545
1515
|
once: !0
|
|
1546
1516
|
});
|
|
1547
1517
|
break;
|
|
1548
1518
|
case "Escape":
|
|
1549
|
-
M === "Escape" && (O.preventDefault(), O.stopPropagation()), a(!1,
|
|
1519
|
+
M === "Escape" && (O.preventDefault(), O.stopPropagation()), a(!1, q);
|
|
1550
1520
|
break;
|
|
1551
1521
|
}
|
|
1552
|
-
}), /* @__PURE__ */ j(
|
|
1522
|
+
}), /* @__PURE__ */ j(Te.Provider, {
|
|
1553
1523
|
value: E,
|
|
1554
1524
|
children: /* @__PURE__ */ j(Ie.Provider, {
|
|
1555
1525
|
value: D,
|
|
@@ -1561,45 +1531,45 @@ De.displayName = "Dropdown";
|
|
|
1561
1531
|
De.Menu = zt;
|
|
1562
1532
|
De.Toggle = Gt;
|
|
1563
1533
|
De.Item = Qt;
|
|
1564
|
-
const
|
|
1565
|
-
|
|
1566
|
-
const en = /* @__PURE__ */
|
|
1534
|
+
const nt = /* @__PURE__ */ S.createContext({});
|
|
1535
|
+
nt.displayName = "DropdownContext";
|
|
1536
|
+
const en = /* @__PURE__ */ S.forwardRef(({
|
|
1567
1537
|
className: e,
|
|
1568
1538
|
bsPrefix: t,
|
|
1569
1539
|
as: n = "hr",
|
|
1570
1540
|
role: r = "separator",
|
|
1571
1541
|
...o
|
|
1572
|
-
}, i) => (t =
|
|
1542
|
+
}, i) => (t = G(t, "dropdown-divider"), /* @__PURE__ */ j(n, {
|
|
1573
1543
|
ref: i,
|
|
1574
|
-
className:
|
|
1544
|
+
className: J(e, t),
|
|
1575
1545
|
role: r,
|
|
1576
1546
|
...o
|
|
1577
1547
|
})));
|
|
1578
1548
|
en.displayName = "DropdownDivider";
|
|
1579
|
-
const tn = /* @__PURE__ */
|
|
1549
|
+
const tn = /* @__PURE__ */ S.forwardRef(({
|
|
1580
1550
|
className: e,
|
|
1581
1551
|
bsPrefix: t,
|
|
1582
1552
|
as: n = "div",
|
|
1583
1553
|
role: r = "heading",
|
|
1584
1554
|
...o
|
|
1585
|
-
}, i) => (t =
|
|
1555
|
+
}, i) => (t = G(t, "dropdown-header"), /* @__PURE__ */ j(n, {
|
|
1586
1556
|
ref: i,
|
|
1587
|
-
className:
|
|
1557
|
+
className: J(e, t),
|
|
1588
1558
|
role: r,
|
|
1589
1559
|
...o
|
|
1590
1560
|
})));
|
|
1591
1561
|
tn.displayName = "DropdownHeader";
|
|
1592
|
-
const nn = /* @__PURE__ */
|
|
1562
|
+
const nn = /* @__PURE__ */ S.forwardRef(({
|
|
1593
1563
|
bsPrefix: e,
|
|
1594
1564
|
className: t,
|
|
1595
1565
|
eventKey: n,
|
|
1596
1566
|
disabled: r = !1,
|
|
1597
1567
|
onClick: o,
|
|
1598
1568
|
active: i,
|
|
1599
|
-
as: f =
|
|
1569
|
+
as: f = kt,
|
|
1600
1570
|
...s
|
|
1601
1571
|
}, u) => {
|
|
1602
|
-
const c =
|
|
1572
|
+
const c = G(e, "dropdown-item"), [a, l] = Jt({
|
|
1603
1573
|
key: n,
|
|
1604
1574
|
href: s.href,
|
|
1605
1575
|
disabled: r,
|
|
@@ -1610,31 +1580,31 @@ const nn = /* @__PURE__ */ N.forwardRef(({
|
|
|
1610
1580
|
...s,
|
|
1611
1581
|
...a,
|
|
1612
1582
|
ref: u,
|
|
1613
|
-
className:
|
|
1583
|
+
className: J(t, c, l.isActive && "active", r && "disabled")
|
|
1614
1584
|
});
|
|
1615
1585
|
});
|
|
1616
1586
|
nn.displayName = "DropdownItem";
|
|
1617
|
-
const rn = /* @__PURE__ */
|
|
1587
|
+
const rn = /* @__PURE__ */ S.forwardRef(({
|
|
1618
1588
|
className: e,
|
|
1619
1589
|
bsPrefix: t,
|
|
1620
1590
|
as: n = "span",
|
|
1621
1591
|
...r
|
|
1622
|
-
}, o) => (t =
|
|
1592
|
+
}, o) => (t = G(t, "dropdown-item-text"), /* @__PURE__ */ j(n, {
|
|
1623
1593
|
ref: o,
|
|
1624
|
-
className:
|
|
1594
|
+
className: J(e, t),
|
|
1625
1595
|
...r
|
|
1626
1596
|
})));
|
|
1627
1597
|
rn.displayName = "DropdownItemText";
|
|
1628
|
-
const
|
|
1598
|
+
const yo = typeof global < "u" && // @ts-ignore
|
|
1629
1599
|
global.navigator && // @ts-ignore
|
|
1630
|
-
global.navigator.product === "ReactNative",
|
|
1631
|
-
|
|
1632
|
-
const on = /* @__PURE__ */
|
|
1600
|
+
global.navigator.product === "ReactNative", bo = typeof document < "u", xo = bo || yo ? Pn : X, rt = /* @__PURE__ */ S.createContext(null);
|
|
1601
|
+
rt.displayName = "InputGroupContext";
|
|
1602
|
+
const on = /* @__PURE__ */ S.createContext(null);
|
|
1633
1603
|
on.displayName = "NavbarContext";
|
|
1634
1604
|
function an(e, t) {
|
|
1635
1605
|
if (process.env.NODE_ENV === "production") return e;
|
|
1636
1606
|
const n = _((r) => {
|
|
1637
|
-
r == null || !r.isReactComponent || (process.env.NODE_ENV !== "production" ?
|
|
1607
|
+
r == null || !r.isReactComponent || (process.env.NODE_ENV !== "production" ? vt(!1, `${t} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`) : vt(!1));
|
|
1638
1608
|
}, [t]);
|
|
1639
1609
|
return ze(n, e);
|
|
1640
1610
|
}
|
|
@@ -1643,7 +1613,7 @@ function sn(e, t, n) {
|
|
|
1643
1613
|
let l = e ? f : i;
|
|
1644
1614
|
return t === "up" ? l = e ? o : r : t === "end" ? l = e ? a : c : t === "start" ? l = e ? u : s : t === "down-centered" ? l = "bottom" : t === "up-centered" && (l = "top"), l;
|
|
1645
1615
|
}
|
|
1646
|
-
const un = /* @__PURE__ */
|
|
1616
|
+
const un = /* @__PURE__ */ S.forwardRef(({
|
|
1647
1617
|
bsPrefix: e,
|
|
1648
1618
|
className: t,
|
|
1649
1619
|
align: n,
|
|
@@ -1658,27 +1628,27 @@ const un = /* @__PURE__ */ N.forwardRef(({
|
|
|
1658
1628
|
...a
|
|
1659
1629
|
}, l) => {
|
|
1660
1630
|
let v = !1;
|
|
1661
|
-
const d = k(on), m =
|
|
1631
|
+
const d = k(on), m = G(e, "dropdown-menu"), {
|
|
1662
1632
|
align: g,
|
|
1663
1633
|
drop: p,
|
|
1664
1634
|
isRTL: x
|
|
1665
|
-
} = k(
|
|
1635
|
+
} = k(nt);
|
|
1666
1636
|
n = n || g;
|
|
1667
|
-
const y = k(
|
|
1637
|
+
const y = k(rt), b = [];
|
|
1668
1638
|
if (n)
|
|
1669
1639
|
if (typeof n == "object") {
|
|
1670
1640
|
const O = Object.keys(n);
|
|
1671
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
1672
|
-
const
|
|
1673
|
-
v = $ === "start", b.push(`${m}-${
|
|
1641
|
+
if (process.env.NODE_ENV !== "production" && St(O.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), O.length) {
|
|
1642
|
+
const P = O[0], $ = n[P];
|
|
1643
|
+
v = $ === "start", b.push(`${m}-${P}-${$}`);
|
|
1674
1644
|
}
|
|
1675
1645
|
} else n === "end" && (v = !0);
|
|
1676
1646
|
const h = sn(v, p, x), [w, {
|
|
1677
1647
|
hasShown: E,
|
|
1678
1648
|
popper: D,
|
|
1679
|
-
show:
|
|
1649
|
+
show: C,
|
|
1680
1650
|
toggle: A
|
|
1681
|
-
}] =
|
|
1651
|
+
}] = Kt({
|
|
1682
1652
|
flip: o,
|
|
1683
1653
|
rootCloseEvent: r,
|
|
1684
1654
|
show: i,
|
|
@@ -1687,10 +1657,10 @@ const un = /* @__PURE__ */ N.forwardRef(({
|
|
|
1687
1657
|
popperConfig: u,
|
|
1688
1658
|
placement: h
|
|
1689
1659
|
});
|
|
1690
|
-
if (w.ref = ze(an(l, "DropdownMenu"), w.ref),
|
|
1691
|
-
|
|
1692
|
-
}, [
|
|
1693
|
-
typeof s != "string" && (w.show =
|
|
1660
|
+
if (w.ref = ze(an(l, "DropdownMenu"), w.ref), xo(() => {
|
|
1661
|
+
C && (D == null || D.update());
|
|
1662
|
+
}, [C]), !E && !f && !y) return null;
|
|
1663
|
+
typeof s != "string" && (w.show = C, w.close = () => A == null ? void 0 : A(!1), w.align = n);
|
|
1694
1664
|
let R = a.style;
|
|
1695
1665
|
return D != null && D.placement && (R = {
|
|
1696
1666
|
...a.style,
|
|
@@ -1702,30 +1672,30 @@ const un = /* @__PURE__ */ N.forwardRef(({
|
|
|
1702
1672
|
...(b.length || d) && {
|
|
1703
1673
|
"data-bs-popper": "static"
|
|
1704
1674
|
},
|
|
1705
|
-
className:
|
|
1675
|
+
className: J(t, m, C && "show", v && `${m}-end`, c && `${m}-${c}`, ...b)
|
|
1706
1676
|
});
|
|
1707
1677
|
});
|
|
1708
1678
|
un.displayName = "DropdownMenu";
|
|
1709
|
-
const cn = /* @__PURE__ */
|
|
1679
|
+
const cn = /* @__PURE__ */ S.forwardRef(({
|
|
1710
1680
|
bsPrefix: e,
|
|
1711
1681
|
split: t,
|
|
1712
1682
|
className: n,
|
|
1713
1683
|
childBsPrefix: r,
|
|
1714
1684
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
1715
|
-
as: o =
|
|
1685
|
+
as: o = Sn,
|
|
1716
1686
|
...i
|
|
1717
1687
|
}, f) => {
|
|
1718
|
-
const s =
|
|
1688
|
+
const s = G(e, "dropdown-toggle"), u = k(Ie);
|
|
1719
1689
|
r !== void 0 && (i.bsPrefix = r);
|
|
1720
1690
|
const [c] = Yt();
|
|
1721
1691
|
return c.ref = ze(c.ref, an(f, "DropdownToggle")), /* @__PURE__ */ j(o, {
|
|
1722
|
-
className:
|
|
1692
|
+
className: J(n, s, t && `${s}-split`, (u == null ? void 0 : u.show) && "show"),
|
|
1723
1693
|
...c,
|
|
1724
1694
|
...i
|
|
1725
1695
|
});
|
|
1726
1696
|
});
|
|
1727
1697
|
cn.displayName = "DropdownToggle";
|
|
1728
|
-
const fn = /* @__PURE__ */
|
|
1698
|
+
const fn = /* @__PURE__ */ S.forwardRef((e, t) => {
|
|
1729
1699
|
const {
|
|
1730
1700
|
bsPrefix: n,
|
|
1731
1701
|
drop: r = "down",
|
|
@@ -1740,11 +1710,11 @@ const fn = /* @__PURE__ */ N.forwardRef((e, t) => {
|
|
|
1740
1710
|
navbar: l,
|
|
1741
1711
|
autoClose: v = !0,
|
|
1742
1712
|
...d
|
|
1743
|
-
} =
|
|
1713
|
+
} = Hn(e, {
|
|
1744
1714
|
show: "onToggle"
|
|
1745
|
-
}), m = k(
|
|
1715
|
+
}), m = k(rt), g = G(n, "dropdown"), p = En(), x = (D) => v === !1 ? D === "click" : v === "inside" ? D !== "rootClose" : v === "outside" ? D !== "select" : !0, y = Un((D, C) => {
|
|
1746
1716
|
var A;
|
|
1747
|
-
!((A =
|
|
1717
|
+
!((A = C.originalEvent) == null || (A = A.target) == null) && A.classList.contains("dropdown-toggle") && C.source === "mousedown" || (C.originalEvent.currentTarget === document && (C.source !== "keydown" || C.originalEvent.key === "Escape") && (C.source = "rootClose"), x(C.source) && (u == null || u(D, C)));
|
|
1748
1718
|
}), h = sn(f === "end", r, p), w = Me(() => ({
|
|
1749
1719
|
align: f,
|
|
1750
1720
|
drop: r,
|
|
@@ -1757,7 +1727,7 @@ const fn = /* @__PURE__ */ N.forwardRef((e, t) => {
|
|
|
1757
1727
|
end: "dropend",
|
|
1758
1728
|
start: "dropstart"
|
|
1759
1729
|
};
|
|
1760
|
-
return /* @__PURE__ */ j(
|
|
1730
|
+
return /* @__PURE__ */ j(nt.Provider, {
|
|
1761
1731
|
value: w,
|
|
1762
1732
|
children: /* @__PURE__ */ j(De, {
|
|
1763
1733
|
placement: h,
|
|
@@ -1769,7 +1739,7 @@ const fn = /* @__PURE__ */ N.forwardRef((e, t) => {
|
|
|
1769
1739
|
children: m ? d.children : /* @__PURE__ */ j(a, {
|
|
1770
1740
|
...d,
|
|
1771
1741
|
ref: t,
|
|
1772
|
-
className:
|
|
1742
|
+
className: J(i, o && "show", E[r])
|
|
1773
1743
|
})
|
|
1774
1744
|
})
|
|
1775
1745
|
});
|
|
@@ -1782,8 +1752,8 @@ const oe = Object.assign(fn, {
|
|
|
1782
1752
|
ItemText: rn,
|
|
1783
1753
|
Divider: en,
|
|
1784
1754
|
Header: tn
|
|
1785
|
-
}),
|
|
1786
|
-
function
|
|
1755
|
+
}), Oo = ["as", "active", "eventKey"];
|
|
1756
|
+
function Eo(e, t) {
|
|
1787
1757
|
if (e == null) return {};
|
|
1788
1758
|
var n = {};
|
|
1789
1759
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -1800,7 +1770,7 @@ function ln({
|
|
|
1800
1770
|
role: o,
|
|
1801
1771
|
disabled: i
|
|
1802
1772
|
}) {
|
|
1803
|
-
const f = k(
|
|
1773
|
+
const f = k(Te), s = k(tt), u = k(Nn);
|
|
1804
1774
|
let c = n;
|
|
1805
1775
|
const a = {
|
|
1806
1776
|
role: o
|
|
@@ -1810,39 +1780,39 @@ function ln({
|
|
|
1810
1780
|
const l = s.getControllerId(e ?? null), v = s.getControlledId(e ?? null);
|
|
1811
1781
|
a[Be("event-key")] = e, a.id = l || r, c = n == null && e != null ? s.activeKey === e : n, (c || !(u != null && u.unmountOnExit) && !(u != null && u.mountOnEnter)) && (a["aria-controls"] = v);
|
|
1812
1782
|
}
|
|
1813
|
-
return a.role === "tab" && (a["aria-selected"] = c, c || (a.tabIndex = -1), i && (a.tabIndex = -1, a["aria-disabled"] = !0)), a.onClick =
|
|
1783
|
+
return a.role === "tab" && (a["aria-selected"] = c, c || (a.tabIndex = -1), i && (a.tabIndex = -1, a["aria-disabled"] = !0)), a.onClick = Z((l) => {
|
|
1814
1784
|
i || (t == null || t(l), e != null && f && !l.isPropagationStopped() && f(e, l));
|
|
1815
1785
|
}), [a, {
|
|
1816
1786
|
isActive: c
|
|
1817
1787
|
}];
|
|
1818
1788
|
}
|
|
1819
|
-
const
|
|
1789
|
+
const Do = /* @__PURE__ */ S.forwardRef((e, t) => {
|
|
1820
1790
|
let {
|
|
1821
|
-
as: n =
|
|
1791
|
+
as: n = It,
|
|
1822
1792
|
active: r,
|
|
1823
1793
|
eventKey: o
|
|
1824
|
-
} = e, i =
|
|
1794
|
+
} = e, i = Eo(e, Oo);
|
|
1825
1795
|
const [f, s] = ln(Object.assign({
|
|
1826
|
-
key:
|
|
1796
|
+
key: Ne(o, i.href),
|
|
1827
1797
|
active: r
|
|
1828
1798
|
}, i));
|
|
1829
1799
|
return f[Be("active")] = s.isActive, /* @__PURE__ */ j(n, Object.assign({}, i, f, {
|
|
1830
1800
|
ref: t
|
|
1831
1801
|
}));
|
|
1832
1802
|
});
|
|
1833
|
-
|
|
1834
|
-
const dn = /* @__PURE__ */
|
|
1803
|
+
Do.displayName = "NavItem";
|
|
1804
|
+
const dn = /* @__PURE__ */ S.forwardRef(({
|
|
1835
1805
|
bsPrefix: e,
|
|
1836
1806
|
className: t,
|
|
1837
|
-
as: n =
|
|
1807
|
+
as: n = kt,
|
|
1838
1808
|
active: r,
|
|
1839
1809
|
eventKey: o,
|
|
1840
1810
|
disabled: i = !1,
|
|
1841
1811
|
...f
|
|
1842
1812
|
}, s) => {
|
|
1843
|
-
e =
|
|
1813
|
+
e = G(e, "nav-link");
|
|
1844
1814
|
const [u, c] = ln({
|
|
1845
|
-
key:
|
|
1815
|
+
key: Ne(o, f.href),
|
|
1846
1816
|
active: r,
|
|
1847
1817
|
disabled: i,
|
|
1848
1818
|
...f
|
|
@@ -1852,11 +1822,11 @@ const dn = /* @__PURE__ */ N.forwardRef(({
|
|
|
1852
1822
|
...u,
|
|
1853
1823
|
ref: s,
|
|
1854
1824
|
disabled: i,
|
|
1855
|
-
className:
|
|
1825
|
+
className: J(t, e, i && "disabled", c.isActive && "active")
|
|
1856
1826
|
});
|
|
1857
1827
|
});
|
|
1858
1828
|
dn.displayName = "NavLink";
|
|
1859
|
-
const pn = /* @__PURE__ */
|
|
1829
|
+
const pn = /* @__PURE__ */ S.forwardRef(({
|
|
1860
1830
|
id: e,
|
|
1861
1831
|
title: t,
|
|
1862
1832
|
children: n,
|
|
@@ -1870,11 +1840,11 @@ const pn = /* @__PURE__ */ N.forwardRef(({
|
|
|
1870
1840
|
menuVariant: a,
|
|
1871
1841
|
...l
|
|
1872
1842
|
}, v) => {
|
|
1873
|
-
const d =
|
|
1843
|
+
const d = G(void 0, "nav-item");
|
|
1874
1844
|
return /* @__PURE__ */ bn(oe, {
|
|
1875
1845
|
ref: v,
|
|
1876
1846
|
...l,
|
|
1877
|
-
className:
|
|
1847
|
+
className: J(o, d),
|
|
1878
1848
|
children: [/* @__PURE__ */ j(oe.Toggle, {
|
|
1879
1849
|
id: e,
|
|
1880
1850
|
eventKey: null,
|
|
@@ -1893,21 +1863,21 @@ const pn = /* @__PURE__ */ N.forwardRef(({
|
|
|
1893
1863
|
});
|
|
1894
1864
|
});
|
|
1895
1865
|
pn.displayName = "NavDropdown";
|
|
1896
|
-
const
|
|
1866
|
+
const Co = Object.assign(pn, {
|
|
1897
1867
|
Item: oe.Item,
|
|
1898
1868
|
ItemText: oe.ItemText,
|
|
1899
1869
|
Divider: oe.Divider,
|
|
1900
1870
|
Header: oe.Header
|
|
1901
1871
|
});
|
|
1902
|
-
function
|
|
1872
|
+
function Po(e) {
|
|
1903
1873
|
return xn({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z" }, child: [] }] })(e);
|
|
1904
1874
|
}
|
|
1905
|
-
const
|
|
1906
|
-
marginTop: "
|
|
1875
|
+
const Lo = () => /* @__PURE__ */ j("div", { className: "position-absolute top-0 end-0", style: {
|
|
1876
|
+
marginTop: "6px"
|
|
1907
1877
|
}, children: /* @__PURE__ */ j(
|
|
1908
|
-
|
|
1878
|
+
Co,
|
|
1909
1879
|
{
|
|
1910
|
-
title: /* @__PURE__ */ j(
|
|
1880
|
+
title: /* @__PURE__ */ j(Po, { className: "icono-notificaciones" }),
|
|
1911
1881
|
align: "end",
|
|
1912
1882
|
children: /* @__PURE__ */ j("div", { style: {
|
|
1913
1883
|
fontWeight: "400",
|
|
@@ -1916,14 +1886,14 @@ const Wo = () => /* @__PURE__ */ j("div", { className: "position-absolute top-0
|
|
|
1916
1886
|
}
|
|
1917
1887
|
) });
|
|
1918
1888
|
export {
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1889
|
+
Do as N,
|
|
1890
|
+
tt as a,
|
|
1891
|
+
Bo as b,
|
|
1922
1892
|
dn as c,
|
|
1923
1893
|
Be as d,
|
|
1924
|
-
|
|
1894
|
+
Hn as e,
|
|
1925
1895
|
on as f,
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1896
|
+
Lo as g,
|
|
1897
|
+
gt as q,
|
|
1898
|
+
Xn as u
|
|
1929
1899
|
};
|