@bloomreach/react-banana-ui 1.1.0-next.2 → 1.1.0-next.4
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/README.md +8 -26
- package/dist/bloomreach-react-banana-ui.es.js +851 -852
- package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
- package/dist/bloomreach-react-banana-ui.umd.js +2 -2
- package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
- package/dist/fonts/inter-latin-100-normal.woff +0 -0
- package/dist/fonts/inter-latin-100-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-200-normal.woff +0 -0
- package/dist/fonts/inter-latin-200-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-300-normal.woff +0 -0
- package/dist/fonts/inter-latin-300-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-400-normal.woff +0 -0
- package/dist/fonts/inter-latin-400-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-500-normal.woff +0 -0
- package/dist/fonts/inter-latin-500-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-600-normal.woff +0 -0
- package/dist/fonts/inter-latin-600-normal.woff2 +0 -0
- package/dist/fonts/inter-latin-700-normal.woff +0 -0
- package/dist/fonts/inter-latin-700-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-100-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-100-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-200-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-200-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-300-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-300-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-400-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-400-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-500-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-500-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-600-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-600-normal.woff2 +0 -0
- package/dist/fonts/roboto-mono-latin-700-normal.woff +0 -0
- package/dist/fonts/roboto-mono-latin-700-normal.woff2 +0 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ var A5 = (e, t, n) => t in e ? I5(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var F = (e, t, n) => (A5(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
4
|
import { jsxs as re, jsx as l, Fragment as tt } from "react/jsx-runtime";
|
|
5
5
|
import * as o from "react";
|
|
6
|
-
import f1, { useLayoutEffect as m1, useEffect as nt, forwardRef as s, isValidElement as rt, cloneElement as ot, useRef as at, useState as
|
|
6
|
+
import f1, { useLayoutEffect as m1, useEffect as nt, forwardRef as s, isValidElement as rt, cloneElement as ot, useRef as at, useState as h0, useMemo as wt, Children as B0, createContext as p1, useContext as v1, useCallback as Et } from "react";
|
|
7
7
|
import * as d0 from "react-dom";
|
|
8
8
|
import T5, { createPortal as N5 } from "react-dom";
|
|
9
9
|
function J() {
|
|
@@ -74,7 +74,7 @@ function O5() {
|
|
|
74
74
|
if (bt)
|
|
75
75
|
return ee;
|
|
76
76
|
bt = 1;
|
|
77
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109,
|
|
77
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
78
78
|
function C(b) {
|
|
79
79
|
if (typeof b == "object" && b !== null) {
|
|
80
80
|
var Z = b.$$typeof;
|
|
@@ -82,7 +82,7 @@ function O5() {
|
|
|
82
82
|
case t:
|
|
83
83
|
switch (b = b.type, b) {
|
|
84
84
|
case d:
|
|
85
|
-
case
|
|
85
|
+
case h:
|
|
86
86
|
case r:
|
|
87
87
|
case i:
|
|
88
88
|
case a:
|
|
@@ -90,7 +90,7 @@ function O5() {
|
|
|
90
90
|
return b;
|
|
91
91
|
default:
|
|
92
92
|
switch (b = b && b.$$typeof, b) {
|
|
93
|
-
case
|
|
93
|
+
case u:
|
|
94
94
|
case f:
|
|
95
95
|
case w:
|
|
96
96
|
case p:
|
|
@@ -106,12 +106,12 @@ function O5() {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
function M(b) {
|
|
109
|
-
return C(b) ===
|
|
109
|
+
return C(b) === h;
|
|
110
110
|
}
|
|
111
|
-
return ee.AsyncMode = d, ee.ConcurrentMode =
|
|
111
|
+
return ee.AsyncMode = d, ee.ConcurrentMode = h, ee.ContextConsumer = u, ee.ContextProvider = c, ee.Element = t, ee.ForwardRef = f, ee.Fragment = r, ee.Lazy = w, ee.Memo = p, ee.Portal = n, ee.Profiler = i, ee.StrictMode = a, ee.Suspense = m, ee.isAsyncMode = function(b) {
|
|
112
112
|
return M(b) || C(b) === d;
|
|
113
113
|
}, ee.isConcurrentMode = M, ee.isContextConsumer = function(b) {
|
|
114
|
-
return C(b) ===
|
|
114
|
+
return C(b) === u;
|
|
115
115
|
}, ee.isContextProvider = function(b) {
|
|
116
116
|
return C(b) === c;
|
|
117
117
|
}, ee.isElement = function(b) {
|
|
@@ -133,7 +133,7 @@ function O5() {
|
|
|
133
133
|
}, ee.isSuspense = function(b) {
|
|
134
134
|
return C(b) === m;
|
|
135
135
|
}, ee.isValidElementType = function(b) {
|
|
136
|
-
return typeof b == "string" || typeof b == "function" || b === r || b ===
|
|
136
|
+
return typeof b == "string" || typeof b == "function" || b === r || b === h || b === i || b === a || b === m || b === g || typeof b == "object" && b !== null && (b.$$typeof === w || b.$$typeof === p || b.$$typeof === c || b.$$typeof === u || b.$$typeof === f || b.$$typeof === S || b.$$typeof === x || b.$$typeof === T || b.$$typeof === E);
|
|
137
137
|
}, ee.typeOf = C, ee;
|
|
138
138
|
}
|
|
139
139
|
var te = {};
|
|
@@ -148,10 +148,10 @@ var te = {};
|
|
|
148
148
|
var yt;
|
|
149
149
|
function _5() {
|
|
150
150
|
return yt || (yt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
151
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109,
|
|
151
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, h = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
152
152
|
function C(V) {
|
|
153
153
|
return typeof V == "string" || typeof V == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
154
|
-
V === r || V ===
|
|
154
|
+
V === r || V === h || V === i || V === a || V === m || V === g || typeof V == "object" && V !== null && (V.$$typeof === w || V.$$typeof === p || V.$$typeof === c || V.$$typeof === u || V.$$typeof === f || V.$$typeof === S || V.$$typeof === x || V.$$typeof === T || V.$$typeof === E);
|
|
155
155
|
}
|
|
156
156
|
function M(V) {
|
|
157
157
|
if (typeof V == "object" && V !== null) {
|
|
@@ -161,7 +161,7 @@ function _5() {
|
|
|
161
161
|
var We = V.type;
|
|
162
162
|
switch (We) {
|
|
163
163
|
case d:
|
|
164
|
-
case
|
|
164
|
+
case h:
|
|
165
165
|
case r:
|
|
166
166
|
case i:
|
|
167
167
|
case a:
|
|
@@ -170,7 +170,7 @@ function _5() {
|
|
|
170
170
|
default:
|
|
171
171
|
var gt = We && We.$$typeof;
|
|
172
172
|
switch (gt) {
|
|
173
|
-
case
|
|
173
|
+
case u:
|
|
174
174
|
case f:
|
|
175
175
|
case w:
|
|
176
176
|
case p:
|
|
@@ -185,15 +185,15 @@ function _5() {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
var b = d, Z =
|
|
188
|
+
var b = d, Z = h, A = u, L = c, _ = t, k = f, D = r, B = w, $ = p, O = n, R = i, y = a, I = m, P = !1;
|
|
189
189
|
function ae(V) {
|
|
190
190
|
return P || (P = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), N(V) || M(V) === d;
|
|
191
191
|
}
|
|
192
192
|
function N(V) {
|
|
193
|
-
return M(V) ===
|
|
193
|
+
return M(V) === h;
|
|
194
194
|
}
|
|
195
195
|
function H(V) {
|
|
196
|
-
return M(V) ===
|
|
196
|
+
return M(V) === u;
|
|
197
197
|
}
|
|
198
198
|
function W(V) {
|
|
199
199
|
return M(V) === c;
|
|
@@ -255,30 +255,30 @@ function $5() {
|
|
|
255
255
|
var i = new String("abc");
|
|
256
256
|
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
257
257
|
return !1;
|
|
258
|
-
for (var c = {},
|
|
259
|
-
c["_" + String.fromCharCode(
|
|
258
|
+
for (var c = {}, u = 0; u < 10; u++)
|
|
259
|
+
c["_" + String.fromCharCode(u)] = u;
|
|
260
260
|
var d = Object.getOwnPropertyNames(c).map(function(f) {
|
|
261
261
|
return c[f];
|
|
262
262
|
});
|
|
263
263
|
if (d.join("") !== "0123456789")
|
|
264
264
|
return !1;
|
|
265
|
-
var
|
|
265
|
+
var h = {};
|
|
266
266
|
return "abcdefghijklmnopqrst".split("").forEach(function(f) {
|
|
267
|
-
|
|
268
|
-
}), Object.keys(Object.assign({},
|
|
267
|
+
h[f] = f;
|
|
268
|
+
}), Object.keys(Object.assign({}, h)).join("") === "abcdefghijklmnopqrst";
|
|
269
269
|
} catch {
|
|
270
270
|
return !1;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
return y0 = a() ? Object.assign : function(i, c) {
|
|
274
|
-
for (var
|
|
275
|
-
|
|
276
|
-
for (var m in
|
|
277
|
-
t.call(
|
|
274
|
+
for (var u, d = r(i), h, f = 1; f < arguments.length; f++) {
|
|
275
|
+
u = Object(arguments[f]);
|
|
276
|
+
for (var m in u)
|
|
277
|
+
t.call(u, m) && (d[m] = u[m]);
|
|
278
278
|
if (e) {
|
|
279
|
-
|
|
280
|
-
for (var g = 0; g <
|
|
281
|
-
n.call(
|
|
279
|
+
h = e(u);
|
|
280
|
+
for (var g = 0; g < h.length; g++)
|
|
281
|
+
n.call(u, h[g]) && (d[h[g]] = u[h[g]]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
return d;
|
|
@@ -314,7 +314,7 @@ function D5() {
|
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
|
-
function a(i, c,
|
|
317
|
+
function a(i, c, u, d, h) {
|
|
318
318
|
if (process.env.NODE_ENV !== "production") {
|
|
319
319
|
for (var f in i)
|
|
320
320
|
if (r(i, f)) {
|
|
@@ -322,21 +322,21 @@ function D5() {
|
|
|
322
322
|
try {
|
|
323
323
|
if (typeof i[f] != "function") {
|
|
324
324
|
var g = Error(
|
|
325
|
-
(d || "React class") + ": " +
|
|
325
|
+
(d || "React class") + ": " + u + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
326
326
|
);
|
|
327
327
|
throw g.name = "Invariant Violation", g;
|
|
328
328
|
}
|
|
329
|
-
m = i[f](c, f, d,
|
|
329
|
+
m = i[f](c, f, d, u, null, t);
|
|
330
330
|
} catch (w) {
|
|
331
331
|
m = w;
|
|
332
332
|
}
|
|
333
333
|
if (m && !(m instanceof Error) && e(
|
|
334
|
-
(d || "React class") + ": type specification of " +
|
|
334
|
+
(d || "React class") + ": type specification of " + u + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
335
335
|
), m instanceof Error && !(m.message in n)) {
|
|
336
336
|
n[m.message] = !0;
|
|
337
|
-
var p =
|
|
337
|
+
var p = h ? h() : "";
|
|
338
338
|
e(
|
|
339
|
-
"Failed " +
|
|
339
|
+
"Failed " + u + " type: " + m.message + (p ?? "")
|
|
340
340
|
);
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -353,8 +353,8 @@ function k5() {
|
|
|
353
353
|
Zt = 1;
|
|
354
354
|
var e = E1(), t = $5(), n = it(), r = b1(), a = D5(), i = function() {
|
|
355
355
|
};
|
|
356
|
-
process.env.NODE_ENV !== "production" && (i = function(
|
|
357
|
-
var d = "Warning: " +
|
|
356
|
+
process.env.NODE_ENV !== "production" && (i = function(u) {
|
|
357
|
+
var d = "Warning: " + u;
|
|
358
358
|
typeof console < "u" && console.error(d);
|
|
359
359
|
try {
|
|
360
360
|
throw new Error(d);
|
|
@@ -364,10 +364,10 @@ function k5() {
|
|
|
364
364
|
function c() {
|
|
365
365
|
return null;
|
|
366
366
|
}
|
|
367
|
-
return M0 = function(
|
|
368
|
-
var
|
|
367
|
+
return M0 = function(u, d) {
|
|
368
|
+
var h = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
369
369
|
function m(N) {
|
|
370
|
-
var H = N && (
|
|
370
|
+
var H = N && (h && N[h] || N[f]);
|
|
371
371
|
if (typeof H == "function")
|
|
372
372
|
return H;
|
|
373
373
|
}
|
|
@@ -460,7 +460,7 @@ function k5() {
|
|
|
460
460
|
function M() {
|
|
461
461
|
function N(H, W, z, j, K) {
|
|
462
462
|
var Y = H[W];
|
|
463
|
-
if (!
|
|
463
|
+
if (!u(Y)) {
|
|
464
464
|
var G = y(Y);
|
|
465
465
|
return new E("Invalid " + j + " `" + K + "` of type " + ("`" + G + "` supplied to `" + z + "`, expected a single ReactElement."));
|
|
466
466
|
}
|
|
@@ -607,7 +607,7 @@ Valid keys: ` + JSON.stringify(Object.keys(N), null, " ")
|
|
|
607
607
|
case "object":
|
|
608
608
|
if (Array.isArray(N))
|
|
609
609
|
return N.every(O);
|
|
610
|
-
if (N === null ||
|
|
610
|
+
if (N === null || u(N))
|
|
611
611
|
return !0;
|
|
612
612
|
var H = m(N);
|
|
613
613
|
if (H) {
|
|
@@ -679,7 +679,7 @@ function U5() {
|
|
|
679
679
|
function n() {
|
|
680
680
|
}
|
|
681
681
|
return n.resetWarningCache = t, R0 = function() {
|
|
682
|
-
function r(c,
|
|
682
|
+
function r(c, u, d, h, f, m) {
|
|
683
683
|
if (m !== e) {
|
|
684
684
|
var g = new Error(
|
|
685
685
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -738,9 +738,9 @@ function y1(e, t, n, r, a) {
|
|
|
738
738
|
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
739
739
|
typeof window > "u")
|
|
740
740
|
return null;
|
|
741
|
-
let
|
|
741
|
+
let u;
|
|
742
742
|
const d = i.type;
|
|
743
|
-
return typeof d == "function" && !Y5(d) && (
|
|
743
|
+
return typeof d == "function" && !Y5(d) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${r} \`${c}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
744
744
|
}
|
|
745
745
|
const x1 = g1(U.element, y1);
|
|
746
746
|
x1.isRequired = g1(U.element.isRequired, y1);
|
|
@@ -886,8 +886,8 @@ function ln(e, t, n = void 0) {
|
|
|
886
886
|
(a) => {
|
|
887
887
|
r[a] = e[a].reduce((i, c) => {
|
|
888
888
|
if (c) {
|
|
889
|
-
const
|
|
890
|
-
|
|
889
|
+
const u = t(c);
|
|
890
|
+
u !== "" && i.push(u), n && n[c] && i.push(n[c]);
|
|
891
891
|
}
|
|
892
892
|
return i;
|
|
893
893
|
}, []).join(" ");
|
|
@@ -907,7 +907,7 @@ const Lt = (e) => e, cn = () => {
|
|
|
907
907
|
e = Lt;
|
|
908
908
|
}
|
|
909
909
|
};
|
|
910
|
-
}, sn = cn(),
|
|
910
|
+
}, sn = cn(), un = sn, hn = {
|
|
911
911
|
active: "active",
|
|
912
912
|
checked: "checked",
|
|
913
913
|
completed: "completed",
|
|
@@ -922,8 +922,8 @@ const Lt = (e) => e, cn = () => {
|
|
|
922
922
|
selected: "selected"
|
|
923
923
|
};
|
|
924
924
|
function R1(e, t, n = "Mui") {
|
|
925
|
-
const r =
|
|
926
|
-
return r ? `${n}-${r}` : `${
|
|
925
|
+
const r = hn[t];
|
|
926
|
+
return r ? `${n}-${r}` : `${un.generate(e)}-${t}`;
|
|
927
927
|
}
|
|
928
928
|
function dn(e, t, n = "Mui") {
|
|
929
929
|
const r = {};
|
|
@@ -972,10 +972,10 @@ function fn(e) {
|
|
|
972
972
|
internalRef: void 0
|
|
973
973
|
};
|
|
974
974
|
}
|
|
975
|
-
const c = Ce(J({}, a, r)),
|
|
975
|
+
const c = Ce(J({}, a, r)), u = Bt(r), d = Bt(a), h = t(c), f = Ft(h == null ? void 0 : h.className, n == null ? void 0 : n.className, i, a == null ? void 0 : a.className, r == null ? void 0 : r.className), m = J({}, h == null ? void 0 : h.style, n == null ? void 0 : n.style, a == null ? void 0 : a.style, r == null ? void 0 : r.style), g = J({}, h, n, d, u);
|
|
976
976
|
return f.length > 0 && (g.className = f), Object.keys(m).length > 0 && (g.style = m), {
|
|
977
977
|
props: g,
|
|
978
|
-
internalRef:
|
|
978
|
+
internalRef: h.ref
|
|
979
979
|
};
|
|
980
980
|
}
|
|
981
981
|
const mn = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
@@ -986,12 +986,12 @@ function Pt(e) {
|
|
|
986
986
|
externalSlotProps: r,
|
|
987
987
|
ownerState: a,
|
|
988
988
|
skipResolvingSlotProps: i = !1
|
|
989
|
-
} = e, c = f0(e, mn),
|
|
989
|
+
} = e, c = f0(e, mn), u = i ? {} : V5(r, a), {
|
|
990
990
|
props: d,
|
|
991
|
-
internalRef:
|
|
991
|
+
internalRef: h
|
|
992
992
|
} = fn(J({}, c, {
|
|
993
|
-
externalSlotProps:
|
|
994
|
-
})), f = Ie(
|
|
993
|
+
externalSlotProps: u
|
|
994
|
+
})), f = Ie(h, u == null ? void 0 : u.ref, (t = e.additionalProps) == null ? void 0 : t.ref);
|
|
995
995
|
return F5(n, J({}, d, {
|
|
996
996
|
ref: f
|
|
997
997
|
}), a);
|
|
@@ -1013,8 +1013,8 @@ function gn(e = {}) {
|
|
|
1013
1013
|
rootRef: a,
|
|
1014
1014
|
tabIndex: i,
|
|
1015
1015
|
to: c,
|
|
1016
|
-
type:
|
|
1017
|
-
} = e, d = o.useRef(), [
|
|
1016
|
+
type: u
|
|
1017
|
+
} = e, d = o.useRef(), [h, f] = o.useState(!1), {
|
|
1018
1018
|
isFocusVisibleRef: m,
|
|
1019
1019
|
onFocus: g,
|
|
1020
1020
|
onBlur: p,
|
|
@@ -1067,10 +1067,10 @@ function gn(e = {}) {
|
|
|
1067
1067
|
var y;
|
|
1068
1068
|
T((y = R == null ? void 0 : R.tagName) != null ? y : "");
|
|
1069
1069
|
}, []), B = Ie(D, a, w, d), $ = {};
|
|
1070
|
-
return i !== void 0 && ($.tabIndex = i), x === "BUTTON" ? ($.type =
|
|
1070
|
+
return i !== void 0 && ($.tabIndex = i), x === "BUTTON" ? ($.type = u ?? "button", n ? $["aria-disabled"] = t : $.disabled = t) : x !== "" && (!r && !c && ($.role = "button", $.tabIndex = i ?? 0), t && ($["aria-disabled"] = t, $.tabIndex = n ? i ?? 0 : -1)), {
|
|
1071
1071
|
getRootProps: (R = {}) => {
|
|
1072
1072
|
const y = J({}, Ce(e), Ce(R)), I = J({
|
|
1073
|
-
type:
|
|
1073
|
+
type: u
|
|
1074
1074
|
}, y, $, R, {
|
|
1075
1075
|
onBlur: M(y),
|
|
1076
1076
|
onClick: A(y),
|
|
@@ -1085,7 +1085,7 @@ function gn(e = {}) {
|
|
|
1085
1085
|
},
|
|
1086
1086
|
focusVisible: E,
|
|
1087
1087
|
setFocusVisible: S,
|
|
1088
|
-
active:
|
|
1088
|
+
active: h,
|
|
1089
1089
|
rootRef: B
|
|
1090
1090
|
};
|
|
1091
1091
|
}
|
|
@@ -1126,20 +1126,20 @@ function t0(e) {
|
|
|
1126
1126
|
disableRestoreFocus: a = !1,
|
|
1127
1127
|
getTabbable: i = xn,
|
|
1128
1128
|
isEnabled: c = Sn,
|
|
1129
|
-
open:
|
|
1130
|
-
} = e, d = o.useRef(!1),
|
|
1129
|
+
open: u
|
|
1130
|
+
} = e, d = o.useRef(!1), h = o.useRef(null), f = o.useRef(null), m = o.useRef(null), g = o.useRef(null), p = o.useRef(!1), w = o.useRef(null), E = Ie(t.ref, w), S = o.useRef(null);
|
|
1131
1131
|
o.useEffect(() => {
|
|
1132
|
-
!
|
|
1133
|
-
}, [n,
|
|
1134
|
-
if (!
|
|
1132
|
+
!u || !w.current || (p.current = !n);
|
|
1133
|
+
}, [n, u]), o.useEffect(() => {
|
|
1134
|
+
if (!u || !w.current)
|
|
1135
1135
|
return;
|
|
1136
1136
|
const C = ge(w.current);
|
|
1137
1137
|
return w.current.contains(C.activeElement) || (w.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
1138
1138
|
`)), w.current.setAttribute("tabIndex", "-1")), p.current && w.current.focus()), () => {
|
|
1139
1139
|
a || (m.current && m.current.focus && (d.current = !0, m.current.focus()), m.current = null);
|
|
1140
1140
|
};
|
|
1141
|
-
}, [
|
|
1142
|
-
if (!
|
|
1141
|
+
}, [u]), o.useEffect(() => {
|
|
1142
|
+
if (!u || !w.current)
|
|
1143
1143
|
return;
|
|
1144
1144
|
const C = ge(w.current), M = (A) => {
|
|
1145
1145
|
S.current = A, !(r || !c() || A.key !== "Tab") && C.activeElement === w.current && A.shiftKey && (d.current = !0, f.current && f.current.focus());
|
|
@@ -1151,7 +1151,7 @@ function t0(e) {
|
|
|
1151
1151
|
d.current = !1;
|
|
1152
1152
|
return;
|
|
1153
1153
|
}
|
|
1154
|
-
if (A.contains(C.activeElement) || r && C.activeElement !==
|
|
1154
|
+
if (A.contains(C.activeElement) || r && C.activeElement !== h.current && C.activeElement !== f.current)
|
|
1155
1155
|
return;
|
|
1156
1156
|
if (C.activeElement !== g.current)
|
|
1157
1157
|
g.current = null;
|
|
@@ -1160,7 +1160,7 @@ function t0(e) {
|
|
|
1160
1160
|
if (!p.current)
|
|
1161
1161
|
return;
|
|
1162
1162
|
let L = [];
|
|
1163
|
-
if ((C.activeElement ===
|
|
1163
|
+
if ((C.activeElement === h.current || C.activeElement === f.current) && (L = i(w.current)), L.length > 0) {
|
|
1164
1164
|
var _, k;
|
|
1165
1165
|
const D = !!((_ = S.current) != null && _.shiftKey && ((k = S.current) == null ? void 0 : k.key) === "Tab"), B = L[0], $ = L[L.length - 1];
|
|
1166
1166
|
typeof B != "string" && typeof $ != "string" && (D ? $.focus() : B.focus());
|
|
@@ -1174,7 +1174,7 @@ function t0(e) {
|
|
|
1174
1174
|
return () => {
|
|
1175
1175
|
clearInterval(Z), C.removeEventListener("focusin", b), C.removeEventListener("keydown", M, !0);
|
|
1176
1176
|
};
|
|
1177
|
-
}, [n, r, a, c,
|
|
1177
|
+
}, [n, r, a, c, u, i]);
|
|
1178
1178
|
const x = (C) => {
|
|
1179
1179
|
m.current === null && (m.current = C.relatedTarget), p.current = !0, g.current = C.target;
|
|
1180
1180
|
const M = t.props.onFocus;
|
|
@@ -1184,15 +1184,15 @@ function t0(e) {
|
|
|
1184
1184
|
};
|
|
1185
1185
|
return /* @__PURE__ */ re(o.Fragment, {
|
|
1186
1186
|
children: [/* @__PURE__ */ l("div", {
|
|
1187
|
-
tabIndex:
|
|
1187
|
+
tabIndex: u ? 0 : -1,
|
|
1188
1188
|
onFocus: T,
|
|
1189
|
-
ref:
|
|
1189
|
+
ref: h,
|
|
1190
1190
|
"data-testid": "sentinelStart"
|
|
1191
1191
|
}), /* @__PURE__ */ o.cloneElement(t, {
|
|
1192
1192
|
ref: E,
|
|
1193
1193
|
onFocus: x
|
|
1194
1194
|
}), /* @__PURE__ */ l("div", {
|
|
1195
|
-
tabIndex:
|
|
1195
|
+
tabIndex: u ? 0 : -1,
|
|
1196
1196
|
onFocus: T,
|
|
1197
1197
|
ref: f,
|
|
1198
1198
|
"data-testid": "sentinelEnd"
|
|
@@ -1267,9 +1267,9 @@ function Mn(e = {}) {
|
|
|
1267
1267
|
onBlur: a,
|
|
1268
1268
|
onChange: i,
|
|
1269
1269
|
onFocus: c,
|
|
1270
|
-
required:
|
|
1270
|
+
required: u = !1,
|
|
1271
1271
|
value: d,
|
|
1272
|
-
inputRef:
|
|
1272
|
+
inputRef: h
|
|
1273
1273
|
} = e, f = Cn();
|
|
1274
1274
|
let m, g, p, w, E;
|
|
1275
1275
|
if (f) {
|
|
@@ -1280,13 +1280,13 @@ function Mn(e = {}) {
|
|
|
1280
1280
|
`));
|
|
1281
1281
|
}
|
|
1282
1282
|
} else
|
|
1283
|
-
m = t, g = n, p = r, w =
|
|
1283
|
+
m = t, g = n, p = r, w = u, E = d;
|
|
1284
1284
|
const {
|
|
1285
1285
|
current: C
|
|
1286
1286
|
} = o.useRef(E != null), M = o.useCallback((R) => {
|
|
1287
1287
|
process.env.NODE_ENV !== "production" && R && R.nodeName !== "INPUT" && !R.focus && console.error(["MUI: You have provided a `slots.input` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
1288
1288
|
`));
|
|
1289
|
-
}, []), b = o.useRef(null), Z = Ie(b,
|
|
1289
|
+
}, []), b = o.useRef(null), Z = Ie(b, h, M), [A, L] = o.useState(!1);
|
|
1290
1290
|
o.useEffect(() => {
|
|
1291
1291
|
!f && g && A && (L(!1), a == null || a());
|
|
1292
1292
|
}, [f, g, A, a]);
|
|
@@ -1357,9 +1357,9 @@ const n0 = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
|
1357
1357
|
children: r,
|
|
1358
1358
|
container: a,
|
|
1359
1359
|
disablePortal: i = !1
|
|
1360
|
-
} = t, [c,
|
|
1360
|
+
} = t, [c, u] = o.useState(null), d = Ie(/* @__PURE__ */ o.isValidElement(r) ? r.ref : null, n);
|
|
1361
1361
|
if (Oe(() => {
|
|
1362
|
-
i ||
|
|
1362
|
+
i || u(Rn(a) || document.body);
|
|
1363
1363
|
}, [a, i]), Oe(() => {
|
|
1364
1364
|
if (c && !i)
|
|
1365
1365
|
return H0(n, c), () => {
|
|
@@ -1367,10 +1367,10 @@ const n0 = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
|
1367
1367
|
};
|
|
1368
1368
|
}, [n, c, i]), i) {
|
|
1369
1369
|
if (/* @__PURE__ */ o.isValidElement(r)) {
|
|
1370
|
-
const
|
|
1370
|
+
const h = {
|
|
1371
1371
|
ref: d
|
|
1372
1372
|
};
|
|
1373
|
-
return /* @__PURE__ */ o.cloneElement(r,
|
|
1373
|
+
return /* @__PURE__ */ o.cloneElement(r, h);
|
|
1374
1374
|
}
|
|
1375
1375
|
return /* @__PURE__ */ l(o.Fragment, {
|
|
1376
1376
|
children: r
|
|
@@ -1421,8 +1421,8 @@ function In(e) {
|
|
|
1421
1421
|
function Vt(e, t, n, r, a) {
|
|
1422
1422
|
const i = [t, n, ...r];
|
|
1423
1423
|
[].forEach.call(e.children, (c) => {
|
|
1424
|
-
const
|
|
1425
|
-
|
|
1424
|
+
const u = i.indexOf(c) === -1, d = !In(c);
|
|
1425
|
+
u && d && He(c, a);
|
|
1426
1426
|
});
|
|
1427
1427
|
}
|
|
1428
1428
|
function I0(e, t) {
|
|
@@ -1439,8 +1439,8 @@ function An(e, t) {
|
|
|
1439
1439
|
property: "padding-right",
|
|
1440
1440
|
el: r
|
|
1441
1441
|
}), r.style.paddingRight = `${Ht(r) + c}px`;
|
|
1442
|
-
const
|
|
1443
|
-
[].forEach.call(
|
|
1442
|
+
const u = ge(r).querySelectorAll(".mui-fixed");
|
|
1443
|
+
[].forEach.call(u, (d) => {
|
|
1444
1444
|
n.push({
|
|
1445
1445
|
value: d.style.paddingRight,
|
|
1446
1446
|
property: "padding-right",
|
|
@@ -1452,8 +1452,8 @@ function An(e, t) {
|
|
|
1452
1452
|
if (r.parentNode instanceof DocumentFragment)
|
|
1453
1453
|
i = ge(r).body;
|
|
1454
1454
|
else {
|
|
1455
|
-
const c = r.parentElement,
|
|
1456
|
-
i = (c == null ? void 0 : c.nodeName) === "HTML" &&
|
|
1455
|
+
const c = r.parentElement, u = Ve(r);
|
|
1456
|
+
i = (c == null ? void 0 : c.nodeName) === "HTML" && u.getComputedStyle(c).overflowY === "scroll" ? c : r;
|
|
1457
1457
|
}
|
|
1458
1458
|
n.push({
|
|
1459
1459
|
value: i.style.overflow,
|
|
@@ -1473,9 +1473,9 @@ function An(e, t) {
|
|
|
1473
1473
|
n.forEach(({
|
|
1474
1474
|
value: i,
|
|
1475
1475
|
el: c,
|
|
1476
|
-
property:
|
|
1476
|
+
property: u
|
|
1477
1477
|
}) => {
|
|
1478
|
-
i ? c.style.setProperty(
|
|
1478
|
+
i ? c.style.setProperty(u, i) : c.style.removeProperty(u);
|
|
1479
1479
|
});
|
|
1480
1480
|
};
|
|
1481
1481
|
}
|
|
@@ -1541,9 +1541,9 @@ function Pn(e) {
|
|
|
1541
1541
|
manager: a = Bn,
|
|
1542
1542
|
closeAfterTransition: i = !1,
|
|
1543
1543
|
onTransitionEnter: c,
|
|
1544
|
-
onTransitionExited:
|
|
1544
|
+
onTransitionExited: u,
|
|
1545
1545
|
children: d,
|
|
1546
|
-
onClose:
|
|
1546
|
+
onClose: h,
|
|
1547
1547
|
open: f,
|
|
1548
1548
|
rootRef: m
|
|
1549
1549
|
} = e, g = o.useRef({}), p = o.useRef(null), w = o.useRef(null), E = Ie(w, m), [S, x] = o.useState(!f), T = Fn(d);
|
|
@@ -1569,10 +1569,10 @@ function Pn(e) {
|
|
|
1569
1569
|
const D = (y) => (I) => {
|
|
1570
1570
|
var P;
|
|
1571
1571
|
(P = y.onKeyDown) == null || P.call(y, I), !(I.key !== "Escape" || I.which === 229 || // Wait until IME is settled.
|
|
1572
|
-
!L()) && (n || (I.stopPropagation(),
|
|
1572
|
+
!L()) && (n || (I.stopPropagation(), h && h(I, "escapeKeyDown")));
|
|
1573
1573
|
}, B = (y) => (I) => {
|
|
1574
1574
|
var P;
|
|
1575
|
-
(P = y.onClick) == null || P.call(y, I), I.target === I.currentTarget &&
|
|
1575
|
+
(P = y.onClick) == null || P.call(y, I), I.target === I.currentTarget && h && h(I, "backdropClick");
|
|
1576
1576
|
};
|
|
1577
1577
|
return {
|
|
1578
1578
|
getRootProps: (y = {}) => {
|
|
@@ -1599,7 +1599,7 @@ function Pn(e) {
|
|
|
1599
1599
|
const y = () => {
|
|
1600
1600
|
x(!1), c && c();
|
|
1601
1601
|
}, I = () => {
|
|
1602
|
-
x(!0),
|
|
1602
|
+
x(!0), u && u(), i && k();
|
|
1603
1603
|
};
|
|
1604
1604
|
return {
|
|
1605
1605
|
onEnter: At(y, d == null ? void 0 : d.props.onEnter),
|
|
@@ -1632,9 +1632,9 @@ const Vn = ["children", "closeAfterTransition", "container", "disableAutoFocus",
|
|
|
1632
1632
|
children: a,
|
|
1633
1633
|
closeAfterTransition: i = !1,
|
|
1634
1634
|
container: c,
|
|
1635
|
-
disableAutoFocus:
|
|
1635
|
+
disableAutoFocus: u = !1,
|
|
1636
1636
|
disableEnforceFocus: d = !1,
|
|
1637
|
-
disableEscapeKeyDown:
|
|
1637
|
+
disableEscapeKeyDown: h = !1,
|
|
1638
1638
|
disablePortal: f = !1,
|
|
1639
1639
|
disableRestoreFocus: m = !1,
|
|
1640
1640
|
disableScrollLock: g = !1,
|
|
@@ -1646,9 +1646,9 @@ const Vn = ["children", "closeAfterTransition", "container", "disableAutoFocus",
|
|
|
1646
1646
|
slots: T = {}
|
|
1647
1647
|
} = t, C = f0(t, Vn), M = J({}, t, {
|
|
1648
1648
|
closeAfterTransition: i,
|
|
1649
|
-
disableAutoFocus:
|
|
1649
|
+
disableAutoFocus: u,
|
|
1650
1650
|
disableEnforceFocus: d,
|
|
1651
|
-
disableEscapeKeyDown:
|
|
1651
|
+
disableEscapeKeyDown: h,
|
|
1652
1652
|
disablePortal: f,
|
|
1653
1653
|
disableRestoreFocus: m,
|
|
1654
1654
|
disableScrollLock: g,
|
|
@@ -1700,7 +1700,7 @@ const Vn = ["children", "closeAfterTransition", "container", "disableAutoFocus",
|
|
|
1700
1700
|
children: /* @__PURE__ */ re(R, J({}, y, {
|
|
1701
1701
|
children: [!p && I ? /* @__PURE__ */ l(I, J({}, P)) : null, /* @__PURE__ */ l(t0, {
|
|
1702
1702
|
disableEnforceFocus: d,
|
|
1703
|
-
disableAutoFocus:
|
|
1703
|
+
disableAutoFocus: u,
|
|
1704
1704
|
disableRestoreFocus: m,
|
|
1705
1705
|
isEnabled: _,
|
|
1706
1706
|
open: S,
|
|
@@ -1926,7 +1926,7 @@ function Ot(e, t, n) {
|
|
|
1926
1926
|
reference: r,
|
|
1927
1927
|
floating: a
|
|
1928
1928
|
} = e;
|
|
1929
|
-
const i = p0(t), c = ct(t),
|
|
1929
|
+
const i = p0(t), c = ct(t), u = lt(c), d = Re(t), h = i === "y", f = r.x + r.width / 2 - a.width / 2, m = r.y + r.height / 2 - a.height / 2, g = r[u] / 2 - a[u] / 2;
|
|
1930
1930
|
let p;
|
|
1931
1931
|
switch (d) {
|
|
1932
1932
|
case "top":
|
|
@@ -1961,10 +1961,10 @@ function Ot(e, t, n) {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
switch (ke(t)) {
|
|
1963
1963
|
case "start":
|
|
1964
|
-
p[c] -= g * (n &&
|
|
1964
|
+
p[c] -= g * (n && h ? -1 : 1);
|
|
1965
1965
|
break;
|
|
1966
1966
|
case "end":
|
|
1967
|
-
p[c] += g * (n &&
|
|
1967
|
+
p[c] += g * (n && h ? -1 : 1);
|
|
1968
1968
|
break;
|
|
1969
1969
|
}
|
|
1970
1970
|
return p;
|
|
@@ -1975,20 +1975,20 @@ const jn = async (e, t, n) => {
|
|
|
1975
1975
|
strategy: a = "absolute",
|
|
1976
1976
|
middleware: i = [],
|
|
1977
1977
|
platform: c
|
|
1978
|
-
} = n,
|
|
1979
|
-
let
|
|
1978
|
+
} = n, u = i.filter(Boolean), d = await (c.isRTL == null ? void 0 : c.isRTL(t));
|
|
1979
|
+
let h = await c.getElementRects({
|
|
1980
1980
|
reference: e,
|
|
1981
1981
|
floating: t,
|
|
1982
1982
|
strategy: a
|
|
1983
1983
|
}), {
|
|
1984
1984
|
x: f,
|
|
1985
1985
|
y: m
|
|
1986
|
-
} = Ot(
|
|
1987
|
-
for (let E = 0; E <
|
|
1986
|
+
} = Ot(h, r, d), g = r, p = {}, w = 0;
|
|
1987
|
+
for (let E = 0; E < u.length; E++) {
|
|
1988
1988
|
const {
|
|
1989
1989
|
name: S,
|
|
1990
1990
|
fn: x
|
|
1991
|
-
} =
|
|
1991
|
+
} = u[E], {
|
|
1992
1992
|
x: T,
|
|
1993
1993
|
y: C,
|
|
1994
1994
|
data: M,
|
|
@@ -2000,7 +2000,7 @@ const jn = async (e, t, n) => {
|
|
|
2000
2000
|
placement: g,
|
|
2001
2001
|
strategy: a,
|
|
2002
2002
|
middlewareData: p,
|
|
2003
|
-
rects:
|
|
2003
|
+
rects: h,
|
|
2004
2004
|
platform: c,
|
|
2005
2005
|
elements: {
|
|
2006
2006
|
reference: e,
|
|
@@ -2014,14 +2014,14 @@ const jn = async (e, t, n) => {
|
|
|
2014
2014
|
...M
|
|
2015
2015
|
}
|
|
2016
2016
|
}, b && w <= 50) {
|
|
2017
|
-
w++, typeof b == "object" && (b.placement && (g = b.placement), b.rects && (
|
|
2017
|
+
w++, typeof b == "object" && (b.placement && (g = b.placement), b.rects && (h = b.rects === !0 ? await c.getElementRects({
|
|
2018
2018
|
reference: e,
|
|
2019
2019
|
floating: t,
|
|
2020
2020
|
strategy: a
|
|
2021
2021
|
}) : b.rects), {
|
|
2022
2022
|
x: f,
|
|
2023
2023
|
y: m
|
|
2024
|
-
} = Ot(
|
|
2024
|
+
} = Ot(h, g, d)), E = -1;
|
|
2025
2025
|
continue;
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
@@ -2041,24 +2041,24 @@ async function L1(e, t) {
|
|
|
2041
2041
|
y: a,
|
|
2042
2042
|
platform: i,
|
|
2043
2043
|
rects: c,
|
|
2044
|
-
elements:
|
|
2044
|
+
elements: u,
|
|
2045
2045
|
strategy: d
|
|
2046
2046
|
} = e, {
|
|
2047
|
-
boundary:
|
|
2047
|
+
boundary: h = "clippingAncestors",
|
|
2048
2048
|
rootBoundary: f = "viewport",
|
|
2049
2049
|
elementContext: m = "floating",
|
|
2050
2050
|
altBoundary: g = !1,
|
|
2051
2051
|
padding: p = 0
|
|
2052
|
-
} = De(t, e), w = N1(p), S =
|
|
2053
|
-
element: (n = await (i.isElement == null ? void 0 : i.isElement(S))) == null || n ? S : S.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(
|
|
2054
|
-
boundary:
|
|
2052
|
+
} = De(t, e), w = N1(p), S = u[g ? m === "floating" ? "reference" : "floating" : m], x = a0(await i.getClippingRect({
|
|
2053
|
+
element: (n = await (i.isElement == null ? void 0 : i.isElement(S))) == null || n ? S : S.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(u.floating)),
|
|
2054
|
+
boundary: h,
|
|
2055
2055
|
rootBoundary: f,
|
|
2056
2056
|
strategy: d
|
|
2057
2057
|
})), T = m === "floating" ? {
|
|
2058
2058
|
...c.floating,
|
|
2059
2059
|
x: r,
|
|
2060
2060
|
y: a
|
|
2061
|
-
} : c.reference, C = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(
|
|
2061
|
+
} : c.reference, C = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u.floating)), M = await (i.isElement == null ? void 0 : i.isElement(C)) ? await (i.getScale == null ? void 0 : i.getScale(C)) || {
|
|
2062
2062
|
x: 1,
|
|
2063
2063
|
y: 1
|
|
2064
2064
|
} : {
|
|
@@ -2086,20 +2086,20 @@ const _t = (e) => ({
|
|
|
2086
2086
|
placement: a,
|
|
2087
2087
|
rects: i,
|
|
2088
2088
|
platform: c,
|
|
2089
|
-
elements:
|
|
2089
|
+
elements: u,
|
|
2090
2090
|
middlewareData: d
|
|
2091
2091
|
} = t, {
|
|
2092
|
-
element:
|
|
2092
|
+
element: h,
|
|
2093
2093
|
padding: f = 0
|
|
2094
2094
|
} = De(e, t) || {};
|
|
2095
|
-
if (
|
|
2095
|
+
if (h == null)
|
|
2096
2096
|
return {};
|
|
2097
2097
|
const m = N1(f), g = {
|
|
2098
2098
|
x: n,
|
|
2099
2099
|
y: r
|
|
2100
|
-
}, p = ct(a), w = lt(p), E = await c.getDimensions(
|
|
2100
|
+
}, p = ct(a), w = lt(p), E = await c.getDimensions(h), S = p === "y", x = S ? "top" : "left", T = S ? "bottom" : "right", C = S ? "clientHeight" : "clientWidth", M = i.reference[w] + i.reference[p] - g[p] - i.floating[w], b = g[p] - i.reference[p], Z = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(h));
|
|
2101
2101
|
let A = Z ? Z[C] : 0;
|
|
2102
|
-
(!A || !await (c.isElement == null ? void 0 : c.isElement(Z))) && (A =
|
|
2102
|
+
(!A || !await (c.isElement == null ? void 0 : c.isElement(Z))) && (A = u.floating[C] || i.floating[w]);
|
|
2103
2103
|
const L = M / 2 - b / 2, _ = A / 2 - E[w] / 2 - 1, k = Le(m[x], _), D = Le(m[T], _), B = k, $ = A - E[w] - D, O = A / 2 - E[w] / 2 + L, R = O0(B, O, $), y = !d.arrow && ke(a) != null && O != R && i.reference[w] / 2 - (O < B ? k : D) - E[w] / 2 < 0, I = y ? O < B ? O - B : O - $ : 0;
|
|
2104
2104
|
return {
|
|
2105
2105
|
[p]: g[p] + I,
|
|
@@ -2123,9 +2123,9 @@ const _t = (e) => ({
|
|
|
2123
2123
|
placement: a,
|
|
2124
2124
|
middlewareData: i,
|
|
2125
2125
|
rects: c,
|
|
2126
|
-
initialPlacement:
|
|
2126
|
+
initialPlacement: u,
|
|
2127
2127
|
platform: d,
|
|
2128
|
-
elements:
|
|
2128
|
+
elements: h
|
|
2129
2129
|
} = t, {
|
|
2130
2130
|
mainAxis: f = !0,
|
|
2131
2131
|
crossAxis: m = !0,
|
|
@@ -2137,9 +2137,9 @@ const _t = (e) => ({
|
|
|
2137
2137
|
} = De(e, t);
|
|
2138
2138
|
if ((n = i.arrow) != null && n.alignmentOffset)
|
|
2139
2139
|
return {};
|
|
2140
|
-
const x = Re(a), T = Re(
|
|
2141
|
-
!g && w !== "none" && M.push(...Wn(
|
|
2142
|
-
const b = [
|
|
2140
|
+
const x = Re(a), T = Re(u) === u, C = await (d.isRTL == null ? void 0 : d.isRTL(h.floating)), M = g || (T || !E ? [o0(u)] : kn(u));
|
|
2141
|
+
!g && w !== "none" && M.push(...Wn(u, E, w, C));
|
|
2142
|
+
const b = [u, ...M], Z = await L1(t, S), A = [];
|
|
2143
2143
|
let L = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
2144
2144
|
if (f && A.push(Z[x]), m) {
|
|
2145
2145
|
const B = Dn(a, c, C);
|
|
@@ -2171,7 +2171,7 @@ const _t = (e) => ({
|
|
|
2171
2171
|
break;
|
|
2172
2172
|
}
|
|
2173
2173
|
case "initialPlacement":
|
|
2174
|
-
O =
|
|
2174
|
+
O = u;
|
|
2175
2175
|
break;
|
|
2176
2176
|
}
|
|
2177
2177
|
if (a !== O)
|
|
@@ -2190,7 +2190,7 @@ async function qn(e, t) {
|
|
|
2190
2190
|
placement: n,
|
|
2191
2191
|
platform: r,
|
|
2192
2192
|
elements: a
|
|
2193
|
-
} = e, i = await (r.isRTL == null ? void 0 : r.isRTL(a.floating)), c = Re(n),
|
|
2193
|
+
} = e, i = await (r.isRTL == null ? void 0 : r.isRTL(a.floating)), c = Re(n), u = ke(n), d = p0(n) === "y", h = ["left", "top"].includes(c) ? -1 : 1, f = i && d ? -1 : 1, m = De(t, e);
|
|
2194
2194
|
let {
|
|
2195
2195
|
mainAxis: g,
|
|
2196
2196
|
crossAxis: p,
|
|
@@ -2205,11 +2205,11 @@ async function qn(e, t) {
|
|
|
2205
2205
|
alignmentAxis: null,
|
|
2206
2206
|
...m
|
|
2207
2207
|
};
|
|
2208
|
-
return
|
|
2208
|
+
return u && typeof w == "number" && (p = u === "end" ? w * -1 : w), d ? {
|
|
2209
2209
|
x: p * f,
|
|
2210
|
-
y: g *
|
|
2210
|
+
y: g * h
|
|
2211
2211
|
} : {
|
|
2212
|
-
x: g *
|
|
2212
|
+
x: g * h,
|
|
2213
2213
|
y: p * f
|
|
2214
2214
|
};
|
|
2215
2215
|
}
|
|
@@ -2241,7 +2241,7 @@ const Gn = function(e) {
|
|
|
2241
2241
|
} = t, {
|
|
2242
2242
|
mainAxis: i = !0,
|
|
2243
2243
|
crossAxis: c = !1,
|
|
2244
|
-
limiter:
|
|
2244
|
+
limiter: u = {
|
|
2245
2245
|
fn: (S) => {
|
|
2246
2246
|
let {
|
|
2247
2247
|
x,
|
|
@@ -2254,11 +2254,11 @@ const Gn = function(e) {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
},
|
|
2256
2256
|
...d
|
|
2257
|
-
} = De(e, t),
|
|
2257
|
+
} = De(e, t), h = {
|
|
2258
2258
|
x: n,
|
|
2259
2259
|
y: r
|
|
2260
2260
|
}, f = await L1(t, d), m = p0(Re(a)), g = T1(m);
|
|
2261
|
-
let p =
|
|
2261
|
+
let p = h[g], w = h[m];
|
|
2262
2262
|
if (i) {
|
|
2263
2263
|
const S = g === "y" ? "top" : "left", x = g === "y" ? "bottom" : "right", T = p + f[S], C = p - f[x];
|
|
2264
2264
|
p = O0(T, p, C);
|
|
@@ -2267,7 +2267,7 @@ const Gn = function(e) {
|
|
|
2267
2267
|
const S = m === "y" ? "top" : "left", x = m === "y" ? "bottom" : "right", T = w + f[S], C = w - f[x];
|
|
2268
2268
|
w = O0(T, w, C);
|
|
2269
2269
|
}
|
|
2270
|
-
const E =
|
|
2270
|
+
const E = u.fn({
|
|
2271
2271
|
...t,
|
|
2272
2272
|
[g]: p,
|
|
2273
2273
|
[m]: w
|
|
@@ -2285,7 +2285,7 @@ const Gn = function(e) {
|
|
|
2285
2285
|
function be(e) {
|
|
2286
2286
|
return F1(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
2287
2287
|
}
|
|
2288
|
-
function
|
|
2288
|
+
function ue(e) {
|
|
2289
2289
|
var t;
|
|
2290
2290
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
2291
2291
|
}
|
|
@@ -2294,16 +2294,16 @@ function ve(e) {
|
|
|
2294
2294
|
return (t = (F1(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
2295
2295
|
}
|
|
2296
2296
|
function F1(e) {
|
|
2297
|
-
return e instanceof Node || e instanceof
|
|
2297
|
+
return e instanceof Node || e instanceof ue(e).Node;
|
|
2298
2298
|
}
|
|
2299
2299
|
function le(e) {
|
|
2300
|
-
return e instanceof Element || e instanceof
|
|
2300
|
+
return e instanceof Element || e instanceof ue(e).Element;
|
|
2301
2301
|
}
|
|
2302
|
-
function
|
|
2303
|
-
return e instanceof HTMLElement || e instanceof
|
|
2302
|
+
function he(e) {
|
|
2303
|
+
return e instanceof HTMLElement || e instanceof ue(e).HTMLElement;
|
|
2304
2304
|
}
|
|
2305
2305
|
function $0(e) {
|
|
2306
|
-
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
2306
|
+
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ue(e).ShadowRoot;
|
|
2307
2307
|
}
|
|
2308
2308
|
function Ue(e) {
|
|
2309
2309
|
const {
|
|
@@ -2318,26 +2318,26 @@ function Xn(e) {
|
|
|
2318
2318
|
return ["table", "td", "th"].includes(be(e));
|
|
2319
2319
|
}
|
|
2320
2320
|
function st(e) {
|
|
2321
|
-
const t =
|
|
2321
|
+
const t = ut(), n = de(e);
|
|
2322
2322
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
2323
2323
|
}
|
|
2324
2324
|
function Qn(e) {
|
|
2325
2325
|
let t = Fe(e);
|
|
2326
|
-
for (;
|
|
2326
|
+
for (; he(t) && !v0(t); ) {
|
|
2327
2327
|
if (st(t))
|
|
2328
2328
|
return t;
|
|
2329
2329
|
t = Fe(t);
|
|
2330
2330
|
}
|
|
2331
2331
|
return null;
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function ut() {
|
|
2334
2334
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
2335
2335
|
}
|
|
2336
2336
|
function v0(e) {
|
|
2337
2337
|
return ["html", "body", "#document"].includes(be(e));
|
|
2338
2338
|
}
|
|
2339
2339
|
function de(e) {
|
|
2340
|
-
return
|
|
2340
|
+
return ue(e).getComputedStyle(e);
|
|
2341
2341
|
}
|
|
2342
2342
|
function g0(e) {
|
|
2343
2343
|
return le(e) ? {
|
|
@@ -2362,73 +2362,73 @@ function Fe(e) {
|
|
|
2362
2362
|
}
|
|
2363
2363
|
function B1(e) {
|
|
2364
2364
|
const t = Fe(e);
|
|
2365
|
-
return v0(t) ? e.ownerDocument ? e.ownerDocument.body : e.body :
|
|
2365
|
+
return v0(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : he(t) && Ue(t) ? t : B1(t);
|
|
2366
2366
|
}
|
|
2367
2367
|
function _e(e, t, n) {
|
|
2368
2368
|
var r;
|
|
2369
2369
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
2370
|
-
const a = B1(e), i = a === ((r = e.ownerDocument) == null ? void 0 : r.body), c =
|
|
2370
|
+
const a = B1(e), i = a === ((r = e.ownerDocument) == null ? void 0 : r.body), c = ue(a);
|
|
2371
2371
|
return i ? t.concat(c, c.visualViewport || [], Ue(a) ? a : [], c.frameElement && n ? _e(c.frameElement) : []) : t.concat(a, _e(a, [], n));
|
|
2372
2372
|
}
|
|
2373
2373
|
function P1(e) {
|
|
2374
2374
|
const t = de(e);
|
|
2375
2375
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
2376
|
-
const a =
|
|
2377
|
-
return
|
|
2376
|
+
const a = he(e), i = a ? e.offsetWidth : n, c = a ? e.offsetHeight : r, u = r0(n) !== i || r0(r) !== c;
|
|
2377
|
+
return u && (n = i, r = c), {
|
|
2378
2378
|
width: n,
|
|
2379
2379
|
height: r,
|
|
2380
|
-
$:
|
|
2380
|
+
$: u
|
|
2381
2381
|
};
|
|
2382
2382
|
}
|
|
2383
|
-
function
|
|
2383
|
+
function ht(e) {
|
|
2384
2384
|
return le(e) ? e : e.contextElement;
|
|
2385
2385
|
}
|
|
2386
2386
|
function Ne(e) {
|
|
2387
|
-
const t =
|
|
2388
|
-
if (!
|
|
2387
|
+
const t = ht(e);
|
|
2388
|
+
if (!he(t))
|
|
2389
2389
|
return Ee(1);
|
|
2390
2390
|
const n = t.getBoundingClientRect(), {
|
|
2391
2391
|
width: r,
|
|
2392
2392
|
height: a,
|
|
2393
2393
|
$: i
|
|
2394
2394
|
} = P1(t);
|
|
2395
|
-
let c = (i ? r0(n.width) : n.width) / r,
|
|
2396
|
-
return (!c || !Number.isFinite(c)) && (c = 1), (!
|
|
2395
|
+
let c = (i ? r0(n.width) : n.width) / r, u = (i ? r0(n.height) : n.height) / a;
|
|
2396
|
+
return (!c || !Number.isFinite(c)) && (c = 1), (!u || !Number.isFinite(u)) && (u = 1), {
|
|
2397
2397
|
x: c,
|
|
2398
|
-
y:
|
|
2398
|
+
y: u
|
|
2399
2399
|
};
|
|
2400
2400
|
}
|
|
2401
2401
|
const Jn = /* @__PURE__ */ Ee(0);
|
|
2402
2402
|
function H1(e) {
|
|
2403
|
-
const t =
|
|
2404
|
-
return !
|
|
2403
|
+
const t = ue(e);
|
|
2404
|
+
return !ut() || !t.visualViewport ? Jn : {
|
|
2405
2405
|
x: t.visualViewport.offsetLeft,
|
|
2406
2406
|
y: t.visualViewport.offsetTop
|
|
2407
2407
|
};
|
|
2408
2408
|
}
|
|
2409
2409
|
function er(e, t, n) {
|
|
2410
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
2410
|
+
return t === void 0 && (t = !1), !n || t && n !== ue(e) ? !1 : t;
|
|
2411
2411
|
}
|
|
2412
2412
|
function Ze(e, t, n, r) {
|
|
2413
2413
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
2414
|
-
const a = e.getBoundingClientRect(), i =
|
|
2414
|
+
const a = e.getBoundingClientRect(), i = ht(e);
|
|
2415
2415
|
let c = Ee(1);
|
|
2416
2416
|
t && (r ? le(r) && (c = Ne(r)) : c = Ne(e));
|
|
2417
|
-
const
|
|
2418
|
-
let d = (a.left +
|
|
2417
|
+
const u = er(i, n, r) ? H1(i) : Ee(0);
|
|
2418
|
+
let d = (a.left + u.x) / c.x, h = (a.top + u.y) / c.y, f = a.width / c.x, m = a.height / c.y;
|
|
2419
2419
|
if (i) {
|
|
2420
|
-
const g =
|
|
2420
|
+
const g = ue(i), p = r && le(r) ? ue(r) : r;
|
|
2421
2421
|
let w = g.frameElement;
|
|
2422
2422
|
for (; w && r && p !== g; ) {
|
|
2423
2423
|
const E = Ne(w), S = w.getBoundingClientRect(), x = de(w), T = S.left + (w.clientLeft + parseFloat(x.paddingLeft)) * E.x, C = S.top + (w.clientTop + parseFloat(x.paddingTop)) * E.y;
|
|
2424
|
-
d *= E.x,
|
|
2424
|
+
d *= E.x, h *= E.y, f *= E.x, m *= E.y, d += T, h += C, w = ue(w).frameElement;
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
2427
|
return a0({
|
|
2428
2428
|
width: f,
|
|
2429
2429
|
height: m,
|
|
2430
2430
|
x: d,
|
|
2431
|
-
y:
|
|
2431
|
+
y: h
|
|
2432
2432
|
});
|
|
2433
2433
|
}
|
|
2434
2434
|
function tr(e) {
|
|
@@ -2437,23 +2437,23 @@ function tr(e) {
|
|
|
2437
2437
|
offsetParent: n,
|
|
2438
2438
|
strategy: r
|
|
2439
2439
|
} = e;
|
|
2440
|
-
const a =
|
|
2440
|
+
const a = he(n), i = ve(n);
|
|
2441
2441
|
if (n === i)
|
|
2442
2442
|
return t;
|
|
2443
2443
|
let c = {
|
|
2444
2444
|
scrollLeft: 0,
|
|
2445
2445
|
scrollTop: 0
|
|
2446
|
-
},
|
|
2446
|
+
}, u = Ee(1);
|
|
2447
2447
|
const d = Ee(0);
|
|
2448
|
-
if ((a || !a && r !== "fixed") && ((be(n) !== "body" || Ue(i)) && (c = g0(n)),
|
|
2449
|
-
const
|
|
2450
|
-
|
|
2448
|
+
if ((a || !a && r !== "fixed") && ((be(n) !== "body" || Ue(i)) && (c = g0(n)), he(n))) {
|
|
2449
|
+
const h = Ze(n);
|
|
2450
|
+
u = Ne(n), d.x = h.x + n.clientLeft, d.y = h.y + n.clientTop;
|
|
2451
2451
|
}
|
|
2452
2452
|
return {
|
|
2453
|
-
width: t.width *
|
|
2454
|
-
height: t.height *
|
|
2455
|
-
x: t.x *
|
|
2456
|
-
y: t.y *
|
|
2453
|
+
width: t.width * u.x,
|
|
2454
|
+
height: t.height * u.y,
|
|
2455
|
+
x: t.x * u.x - c.scrollLeft * u.x + d.x,
|
|
2456
|
+
y: t.y * u.y - c.scrollTop * u.y + d.y
|
|
2457
2457
|
};
|
|
2458
2458
|
}
|
|
2459
2459
|
function nr(e) {
|
|
@@ -2465,36 +2465,36 @@ function V1(e) {
|
|
|
2465
2465
|
function rr(e) {
|
|
2466
2466
|
const t = ve(e), n = g0(e), r = e.ownerDocument.body, a = Me(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = Me(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
2467
2467
|
let c = -n.scrollLeft + V1(e);
|
|
2468
|
-
const
|
|
2468
|
+
const u = -n.scrollTop;
|
|
2469
2469
|
return de(r).direction === "rtl" && (c += Me(t.clientWidth, r.clientWidth) - a), {
|
|
2470
2470
|
width: a,
|
|
2471
2471
|
height: i,
|
|
2472
2472
|
x: c,
|
|
2473
|
-
y:
|
|
2473
|
+
y: u
|
|
2474
2474
|
};
|
|
2475
2475
|
}
|
|
2476
2476
|
function or(e, t) {
|
|
2477
|
-
const n =
|
|
2478
|
-
let i = r.clientWidth, c = r.clientHeight,
|
|
2477
|
+
const n = ue(e), r = ve(e), a = n.visualViewport;
|
|
2478
|
+
let i = r.clientWidth, c = r.clientHeight, u = 0, d = 0;
|
|
2479
2479
|
if (a) {
|
|
2480
2480
|
i = a.width, c = a.height;
|
|
2481
|
-
const
|
|
2482
|
-
(!
|
|
2481
|
+
const h = ut();
|
|
2482
|
+
(!h || h && t === "fixed") && (u = a.offsetLeft, d = a.offsetTop);
|
|
2483
2483
|
}
|
|
2484
2484
|
return {
|
|
2485
2485
|
width: i,
|
|
2486
2486
|
height: c,
|
|
2487
|
-
x:
|
|
2487
|
+
x: u,
|
|
2488
2488
|
y: d
|
|
2489
2489
|
};
|
|
2490
2490
|
}
|
|
2491
2491
|
function ar(e, t) {
|
|
2492
|
-
const n = Ze(e, !0, t === "fixed"), r = n.top + e.clientTop, a = n.left + e.clientLeft, i =
|
|
2492
|
+
const n = Ze(e, !0, t === "fixed"), r = n.top + e.clientTop, a = n.left + e.clientLeft, i = he(e) ? Ne(e) : Ee(1), c = e.clientWidth * i.x, u = e.clientHeight * i.y, d = a * i.x, h = r * i.y;
|
|
2493
2493
|
return {
|
|
2494
2494
|
width: c,
|
|
2495
|
-
height:
|
|
2495
|
+
height: u,
|
|
2496
2496
|
x: d,
|
|
2497
|
-
y:
|
|
2497
|
+
y: h
|
|
2498
2498
|
};
|
|
2499
2499
|
}
|
|
2500
2500
|
function $t(e, t, n) {
|
|
@@ -2523,12 +2523,12 @@ function ir(e, t) {
|
|
|
2523
2523
|
const n = t.get(e);
|
|
2524
2524
|
if (n)
|
|
2525
2525
|
return n;
|
|
2526
|
-
let r = _e(e, [], !1).filter((
|
|
2526
|
+
let r = _e(e, [], !1).filter((u) => le(u) && be(u) !== "body"), a = null;
|
|
2527
2527
|
const i = de(e).position === "fixed";
|
|
2528
2528
|
let c = i ? Fe(e) : e;
|
|
2529
2529
|
for (; le(c) && !v0(c); ) {
|
|
2530
|
-
const
|
|
2531
|
-
!d &&
|
|
2530
|
+
const u = de(c), d = st(c);
|
|
2531
|
+
!d && u.position === "fixed" && (a = null), (i ? !d && !a : !d && u.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || Ue(c) && !d && O1(e, c)) ? r = r.filter((f) => f !== c) : a = u, c = Fe(c);
|
|
2532
2532
|
}
|
|
2533
2533
|
return t.set(e, r), r;
|
|
2534
2534
|
}
|
|
@@ -2539,10 +2539,10 @@ function lr(e) {
|
|
|
2539
2539
|
rootBoundary: r,
|
|
2540
2540
|
strategy: a
|
|
2541
2541
|
} = e;
|
|
2542
|
-
const c = [...n === "clippingAncestors" ? ir(t, this._c) : [].concat(n), r],
|
|
2542
|
+
const c = [...n === "clippingAncestors" ? ir(t, this._c) : [].concat(n), r], u = c[0], d = c.reduce((h, f) => {
|
|
2543
2543
|
const m = $t(t, f, a);
|
|
2544
|
-
return
|
|
2545
|
-
}, $t(t,
|
|
2544
|
+
return h.top = Me(m.top, h.top), h.right = Le(m.right, h.right), h.bottom = Le(m.bottom, h.bottom), h.left = Me(m.left, h.left), h;
|
|
2545
|
+
}, $t(t, u, a));
|
|
2546
2546
|
return {
|
|
2547
2547
|
width: d.right - d.left,
|
|
2548
2548
|
height: d.bottom - d.top,
|
|
@@ -2554,38 +2554,38 @@ function cr(e) {
|
|
|
2554
2554
|
return P1(e);
|
|
2555
2555
|
}
|
|
2556
2556
|
function sr(e, t, n) {
|
|
2557
|
-
const r =
|
|
2558
|
-
let
|
|
2557
|
+
const r = he(t), a = ve(t), i = n === "fixed", c = Ze(e, !0, i, t);
|
|
2558
|
+
let u = {
|
|
2559
2559
|
scrollLeft: 0,
|
|
2560
2560
|
scrollTop: 0
|
|
2561
2561
|
};
|
|
2562
2562
|
const d = Ee(0);
|
|
2563
2563
|
if (r || !r && !i)
|
|
2564
|
-
if ((be(t) !== "body" || Ue(a)) && (
|
|
2565
|
-
const
|
|
2566
|
-
d.x =
|
|
2564
|
+
if ((be(t) !== "body" || Ue(a)) && (u = g0(t)), r) {
|
|
2565
|
+
const h = Ze(t, !0, i, t);
|
|
2566
|
+
d.x = h.x + t.clientLeft, d.y = h.y + t.clientTop;
|
|
2567
2567
|
} else
|
|
2568
2568
|
a && (d.x = V1(a));
|
|
2569
2569
|
return {
|
|
2570
|
-
x: c.left +
|
|
2571
|
-
y: c.top +
|
|
2570
|
+
x: c.left + u.scrollLeft - d.x,
|
|
2571
|
+
y: c.top + u.scrollTop - d.y,
|
|
2572
2572
|
width: c.width,
|
|
2573
2573
|
height: c.height
|
|
2574
2574
|
};
|
|
2575
2575
|
}
|
|
2576
2576
|
function Dt(e, t) {
|
|
2577
|
-
return !
|
|
2577
|
+
return !he(e) || de(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
2578
2578
|
}
|
|
2579
2579
|
function _1(e, t) {
|
|
2580
|
-
const n =
|
|
2581
|
-
if (!
|
|
2580
|
+
const n = ue(e);
|
|
2581
|
+
if (!he(e))
|
|
2582
2582
|
return n;
|
|
2583
2583
|
let r = Dt(e, t);
|
|
2584
2584
|
for (; r && Xn(r) && de(r).position === "static"; )
|
|
2585
2585
|
r = Dt(r, t);
|
|
2586
2586
|
return r && (be(r) === "html" || be(r) === "body" && de(r).position === "static" && !st(r)) ? n : r || Qn(e) || n;
|
|
2587
2587
|
}
|
|
2588
|
-
const
|
|
2588
|
+
const ur = async function(e) {
|
|
2589
2589
|
let {
|
|
2590
2590
|
reference: t,
|
|
2591
2591
|
floating: n,
|
|
@@ -2601,7 +2601,7 @@ const hr = async function(e) {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
};
|
|
2603
2603
|
};
|
|
2604
|
-
function
|
|
2604
|
+
function hr(e) {
|
|
2605
2605
|
return de(e).direction === "rtl";
|
|
2606
2606
|
}
|
|
2607
2607
|
const $1 = {
|
|
@@ -2609,12 +2609,12 @@ const $1 = {
|
|
|
2609
2609
|
getDocumentElement: ve,
|
|
2610
2610
|
getClippingRect: lr,
|
|
2611
2611
|
getOffsetParent: _1,
|
|
2612
|
-
getElementRects:
|
|
2612
|
+
getElementRects: ur,
|
|
2613
2613
|
getClientRects: nr,
|
|
2614
2614
|
getDimensions: cr,
|
|
2615
2615
|
getScale: Ne,
|
|
2616
2616
|
isElement: le,
|
|
2617
|
-
isRTL:
|
|
2617
|
+
isRTL: hr
|
|
2618
2618
|
};
|
|
2619
2619
|
function dr(e, t) {
|
|
2620
2620
|
let n = null, r;
|
|
@@ -2622,17 +2622,17 @@ function dr(e, t) {
|
|
|
2622
2622
|
function i() {
|
|
2623
2623
|
clearTimeout(r), n && n.disconnect(), n = null;
|
|
2624
2624
|
}
|
|
2625
|
-
function c(
|
|
2626
|
-
|
|
2625
|
+
function c(u, d) {
|
|
2626
|
+
u === void 0 && (u = !1), d === void 0 && (d = 1), i();
|
|
2627
2627
|
const {
|
|
2628
|
-
left:
|
|
2628
|
+
left: h,
|
|
2629
2629
|
top: f,
|
|
2630
2630
|
width: m,
|
|
2631
2631
|
height: g
|
|
2632
2632
|
} = e.getBoundingClientRect();
|
|
2633
|
-
if (
|
|
2633
|
+
if (u || t(), !m || !g)
|
|
2634
2634
|
return;
|
|
2635
|
-
const p = je(f), w = je(a.clientWidth - (
|
|
2635
|
+
const p = je(f), w = je(a.clientWidth - (h + m)), E = je(a.clientHeight - (f + g)), S = je(h), T = {
|
|
2636
2636
|
rootMargin: -p + "px " + -w + "px " + -E + "px " + -S + "px",
|
|
2637
2637
|
threshold: Me(0, Le(1, d)) || 1
|
|
2638
2638
|
};
|
|
@@ -2667,22 +2667,22 @@ function fr(e, t, n, r) {
|
|
|
2667
2667
|
ancestorScroll: a = !0,
|
|
2668
2668
|
ancestorResize: i = !0,
|
|
2669
2669
|
elementResize: c = typeof ResizeObserver == "function",
|
|
2670
|
-
layoutShift:
|
|
2670
|
+
layoutShift: u = typeof IntersectionObserver == "function",
|
|
2671
2671
|
animationFrame: d = !1
|
|
2672
|
-
} = r,
|
|
2672
|
+
} = r, h = ht(e), f = a || i ? [...h ? _e(h) : [], ..._e(t)] : [];
|
|
2673
2673
|
f.forEach((x) => {
|
|
2674
2674
|
a && x.addEventListener("scroll", n, {
|
|
2675
2675
|
passive: !0
|
|
2676
2676
|
}), i && x.addEventListener("resize", n);
|
|
2677
2677
|
});
|
|
2678
|
-
const m =
|
|
2678
|
+
const m = h && u ? dr(h, n) : null;
|
|
2679
2679
|
let g = -1, p = null;
|
|
2680
2680
|
c && (p = new ResizeObserver((x) => {
|
|
2681
2681
|
let [T] = x;
|
|
2682
|
-
T && T.target ===
|
|
2682
|
+
T && T.target === h && p && (p.unobserve(t), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
|
|
2683
2683
|
p && p.observe(t);
|
|
2684
2684
|
})), n();
|
|
2685
|
-
}),
|
|
2685
|
+
}), h && !d && p.observe(h), p.observe(t));
|
|
2686
2686
|
let w, E = d ? Ze(e) : null;
|
|
2687
2687
|
d && S();
|
|
2688
2688
|
function S() {
|
|
@@ -2785,9 +2785,9 @@ function vr(e) {
|
|
|
2785
2785
|
reference: i,
|
|
2786
2786
|
floating: c
|
|
2787
2787
|
} = {},
|
|
2788
|
-
transform:
|
|
2788
|
+
transform: u = !0,
|
|
2789
2789
|
whileElementsMounted: d,
|
|
2790
|
-
open:
|
|
2790
|
+
open: h
|
|
2791
2791
|
} = e, [f, m] = o.useState({
|
|
2792
2792
|
x: 0,
|
|
2793
2793
|
y: 0,
|
|
@@ -2820,11 +2820,11 @@ function vr(e) {
|
|
|
2820
2820
|
});
|
|
2821
2821
|
}, [g, t, n, k]);
|
|
2822
2822
|
Xe(() => {
|
|
2823
|
-
|
|
2823
|
+
h === !1 && L.current.isPositioned && (L.current.isPositioned = !1, m((y) => ({
|
|
2824
2824
|
...y,
|
|
2825
2825
|
isPositioned: !1
|
|
2826
2826
|
})));
|
|
2827
|
-
}, [
|
|
2827
|
+
}, [h]);
|
|
2828
2828
|
const B = o.useRef(!1);
|
|
2829
2829
|
Xe(() => (B.current = !0, () => {
|
|
2830
2830
|
B.current = !1;
|
|
@@ -2852,7 +2852,7 @@ function vr(e) {
|
|
|
2852
2852
|
if (!O.floating)
|
|
2853
2853
|
return y;
|
|
2854
2854
|
const I = kt(O.floating, f.x), P = kt(O.floating, f.y);
|
|
2855
|
-
return
|
|
2855
|
+
return u ? {
|
|
2856
2856
|
...y,
|
|
2857
2857
|
transform: "translate(" + I + "px, " + P + "px)",
|
|
2858
2858
|
...D1(O.floating) >= 1.5 && {
|
|
@@ -2863,7 +2863,7 @@ function vr(e) {
|
|
|
2863
2863
|
left: I,
|
|
2864
2864
|
top: P
|
|
2865
2865
|
};
|
|
2866
|
-
}, [n,
|
|
2866
|
+
}, [n, u, O.floating, f.x, f.y]);
|
|
2867
2867
|
return o.useMemo(() => ({
|
|
2868
2868
|
...f,
|
|
2869
2869
|
update: D,
|
|
@@ -2900,10 +2900,10 @@ const k1 = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
|
2900
2900
|
maxRows: a,
|
|
2901
2901
|
minRows: i = 1,
|
|
2902
2902
|
style: c,
|
|
2903
|
-
value:
|
|
2903
|
+
value: u
|
|
2904
2904
|
} = t, d = f0(t, gr), {
|
|
2905
|
-
current:
|
|
2906
|
-
} = o.useRef(
|
|
2905
|
+
current: h
|
|
2906
|
+
} = o.useRef(u != null), f = o.useRef(null), m = Ie(n, f), g = o.useRef(null), p = o.useRef(0), [w, E] = o.useState({
|
|
2907
2907
|
outerHeightStyle: 0
|
|
2908
2908
|
}), S = o.useCallback(() => {
|
|
2909
2909
|
const M = f.current, Z = Ve(M).getComputedStyle(M);
|
|
@@ -2962,13 +2962,13 @@ const k1 = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
|
2962
2962
|
T();
|
|
2963
2963
|
}), o.useEffect(() => {
|
|
2964
2964
|
p.current = 0;
|
|
2965
|
-
}, [
|
|
2965
|
+
}, [u]);
|
|
2966
2966
|
const C = (M) => {
|
|
2967
|
-
p.current = 0,
|
|
2967
|
+
p.current = 0, h || T(), r && r(M);
|
|
2968
2968
|
};
|
|
2969
2969
|
return /* @__PURE__ */ re(o.Fragment, {
|
|
2970
2970
|
children: [/* @__PURE__ */ l("textarea", J({
|
|
2971
|
-
value:
|
|
2971
|
+
value: u,
|
|
2972
2972
|
onChange: C,
|
|
2973
2973
|
ref: m,
|
|
2974
2974
|
rows: i,
|
|
@@ -3044,8 +3044,8 @@ var U1 = { exports: {} };
|
|
|
3044
3044
|
r.push(i);
|
|
3045
3045
|
else if (Array.isArray(i)) {
|
|
3046
3046
|
if (i.length) {
|
|
3047
|
-
var
|
|
3048
|
-
|
|
3047
|
+
var u = n.apply(null, i);
|
|
3048
|
+
u && r.push(u);
|
|
3049
3049
|
}
|
|
3050
3050
|
} else if (c === "object") {
|
|
3051
3051
|
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]")) {
|
|
@@ -3101,9 +3101,9 @@ const no = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3101
3101
|
oo.displayName = "ArrowKeyboardPreviousIcon";
|
|
3102
3102
|
const ao = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 18, fill: "currentColor", viewBox: "0 0 16 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M15 2.248a.75.75 0 0 0 0-1.5H1a.75.75 0 1 0 0 1.5h14Zm-3.97 5.28a.75.75 0 0 1-1.06 0l-1.22-1.22v10.19a.75.75 0 1 1-1.5 0V6.308l-1.22 1.22a.75.75 0 0 1-1.06-1.06l2.5-2.5a.748.748 0 0 1 .528-.22h.004c.191 0 .382.074.528.22l2.5 2.5a.75.75 0 0 1 0 1.06Z" })), io = s(ao), lo = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(io, {}) }));
|
|
3103
3103
|
lo.displayName = "ArrowKeyboardUpIcon";
|
|
3104
|
-
const co = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M1.74 7.47a.75.75 0 0 0 0 1.06l4.32 4.32a.75.75 0 1 0 1.06-1.06L4.082 8.75h8.747c.382 0 .692-.336.692-.75 0-.415-.31-.75-.692-.75H4.081l3.04-3.04a.75.75 0 0 0-1.06-1.06L1.74 7.47Z" })), so = s(co),
|
|
3105
|
-
|
|
3106
|
-
const
|
|
3104
|
+
const co = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M1.74 7.47a.75.75 0 0 0 0 1.06l4.32 4.32a.75.75 0 1 0 1.06-1.06L4.082 8.75h8.747c.382 0 .692-.336.692-.75 0-.415-.31-.75-.692-.75H4.081l3.04-3.04a.75.75 0 0 0-1.06-1.06L1.74 7.47Z" })), so = s(co), uo = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(so, {}) }));
|
|
3105
|
+
uo.displayName = "ArrowLeftIcon";
|
|
3106
|
+
const ho = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M13.3 8.53a.75.75 0 0 0 0-1.06L8.98 3.15a.75.75 0 0 0-1.06 1.06l3.039 3.04H2.212c-.382 0-.691.335-.691.75 0 .414.31.75.69.75h8.748l-3.04 3.04a.75.75 0 0 0 1.061 1.06l4.32-4.32Z" })), fo = s(ho), mo = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(fo, {}) }));
|
|
3107
3107
|
mo.displayName = "ArrowRightIcon";
|
|
3108
3108
|
const po = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8.05 2.22a.75.75 0 0 0-1.06 0L2.67 6.54A.75.75 0 1 0 3.73 7.6l3.04-3.04v8.748c0 .382.336.691.75.691.415 0 .75-.31.75-.691V4.56l3.04 3.04a.75.75 0 1 0 1.06-1.061L8.05 2.22Z" })), vo = s(po), go = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(vo, {}) }));
|
|
3109
3109
|
go.displayName = "ArrowUpIcon";
|
|
@@ -3137,9 +3137,9 @@ const r2 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3137
3137
|
a2.displayName = "ChatsIcon";
|
|
3138
3138
|
const i2 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8 1.75a6.25 6.25 0 1 0 0 12.5 6.25 6.25 0 0 0 0-12.5ZM.25 8a7.75 7.75 0 1 1 15.5 0A7.75 7.75 0 0 1 .25 8Z" }), /* @__PURE__ */ o.createElement("path", { d: "M11.461 5.408a.75.75 0 0 1 .131 1.053l-3.71 4.767a1.327 1.327 0 0 1-1.699.355 1.329 1.329 0 0 1-.454-.416l-1.343-1.92a.75.75 0 1 1 1.229-.86l1.22 1.743 3.573-4.59a.75.75 0 0 1 1.053-.132Zm-4.489 4.92-.002-.004.002.003Z" })), l2 = s(i2), c2 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(l2, {}) }));
|
|
3139
3139
|
c2.displayName = "CheckCircleIcon";
|
|
3140
|
-
const s2 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-4.408-1.539a.75.75 0 1 0-1.184-.921l-3.573 4.59-1.22-1.743a.75.75 0 1 0-1.23.86l1.344 1.92a1.328 1.328 0 0 0 1.672.453c.19-.091.354-.226.48-.392l3.711-4.767Z" })), W1 = s(s2),
|
|
3141
|
-
|
|
3142
|
-
const
|
|
3140
|
+
const s2 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-4.408-1.539a.75.75 0 1 0-1.184-.921l-3.573 4.59-1.22-1.743a.75.75 0 1 0-1.23.86l1.344 1.92a1.328 1.328 0 0 0 1.672.453c.19-.091.354-.226.48-.392l3.711-4.767Z" })), W1 = s(s2), u2 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(W1, {}) }));
|
|
3141
|
+
u2.displayName = "CheckFilledIcon";
|
|
3142
|
+
const h2 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M13.439 3.392a.75.75 0 0 1 .17 1.047l-6.186 8.583a1.732 1.732 0 0 1-.617.542 1.646 1.646 0 0 1-1.613-.052 1.747 1.747 0 0 1-.58-.574L2.37 9.478a.75.75 0 1 1 1.258-.815l2.247 3.465.009.015c.025.04.054.067.082.084a.154.154 0 0 0 .074.023.147.147 0 0 0 .073-.017.234.234 0 0 0 .083-.075l.006-.01 6.189-8.586a.75.75 0 0 1 1.047-.17Z" })), d2 = s(h2), z1 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(d2, {}) }));
|
|
3143
3143
|
z1.displayName = "CheckIcon";
|
|
3144
3144
|
const f2 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M11.461 5.408a.75.75 0 0 1 .131 1.053l-3.71 4.767a1.328 1.328 0 0 1-1.699.355 1.328 1.328 0 0 1-.453-.416l-1.344-1.92a.75.75 0 0 1 1.229-.86l1.22 1.743 3.574-4.59a.75.75 0 0 1 1.052-.132Zm-4.488 4.92-.003-.004.003.003Z" })), m2 = s(f2), p2 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(m2, {}) }));
|
|
3145
3145
|
p2.displayName = "CheckSmallIcon";
|
|
@@ -3177,9 +3177,9 @@ const na = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3177
3177
|
oa.displayName = "CloudCheckIcon";
|
|
3178
3178
|
const aa = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5.982.773a5.751 5.751 0 0 1 5.901 3.72 3.997 3.997 0 0 1 3.776.56 3.997 3.997 0 0 1 .143 6.283 4.001 4.001 0 0 1-1.63.808c-.344.081-.696.106-2.171.106a.75.75 0 0 1 0-1.5c1.525 0 1.688-.033 1.828-.066a2.5 2.5 0 1 0-1.995-4.49.75.75 0 0 1-1.163-.478 4.25 4.25 0 1 0-4.618 5.011.75.75 0 0 1-.155 1.492A5.75 5.75 0 0 1 5.982.773Z" }), /* @__PURE__ */ o.createElement("path", { d: "M9 9.75a.75.75 0 0 1 .75.75v4.19l1.22-1.22a.75.75 0 0 1 1.061 1.06l-2.5 2.5a.748.748 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.22 1.22V10.5A.75.75 0 0 1 9 9.75Z" })), ia = s(aa), la = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(ia, {}) }));
|
|
3179
3179
|
la.displayName = "CloudDownloadIcon";
|
|
3180
|
-
const ca = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M6.617 3.53a.75.75 0 1 0-1.06-1.06L1.263 6.763a1.75 1.75 0 0 0 0 2.474l4.294 4.294a.75.75 0 1 0 1.06-1.061L2.324 8.177a.25.25 0 0 1 0-.354l4.293-4.292Zm5.828-1.06a.75.75 0 1 0-1.06 1.06l4.293 4.293a.25.25 0 0 1 0 .354l-4.294 4.293a.75.75 0 0 0 1.061 1.06l4.294-4.293a1.75 1.75 0 0 0 0-2.474L12.444 2.47Z" })), sa = s(ca),
|
|
3181
|
-
|
|
3182
|
-
const
|
|
3180
|
+
const ca = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M6.617 3.53a.75.75 0 1 0-1.06-1.06L1.263 6.763a1.75 1.75 0 0 0 0 2.474l4.294 4.294a.75.75 0 1 0 1.06-1.061L2.324 8.177a.25.25 0 0 1 0-.354l4.293-4.292Zm5.828-1.06a.75.75 0 1 0-1.06 1.06l4.293 4.293a.25.25 0 0 1 0 .354l-4.294 4.293a.75.75 0 0 0 1.061 1.06l4.294-4.293a1.75 1.75 0 0 0 0-2.474L12.444 2.47Z" })), sa = s(ca), ua = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(sa, {}) }));
|
|
3181
|
+
ua.displayName = "CodeIcon";
|
|
3182
|
+
const ha = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M10.28 8.782a.75.75 0 1 0-1.06-1.06l-4.032 4.03a.75.75 0 1 0 1.06 1.061l4.032-4.031Z" }), /* @__PURE__ */ o.createElement("path", { d: "M10.563 1.898a3.917 3.917 0 1 1 5.54 5.54L14.842 8.7l1.261 1.261a.75.75 0 1 1-1.06 1.06l-1.262-1.26-4.397 4.398a4.554 4.554 0 0 1-2.574 1.288l-1.633.231-1.167 1.167a1.385 1.385 0 0 1-1.957 0l-.896-.896a1.385 1.385 0 0 1 0-1.956l1.169-1.168.232-1.634a4.554 4.554 0 0 1 1.287-2.574L8.241 4.22 6.979 2.96A.75.75 0 0 1 8.04 1.897L9.302 3.16l1.261-1.262Zm4.48 4.48a2.417 2.417 0 1 0-3.419-3.42L10.362 4.22l3.42 3.42 1.26-1.263Zm-10.138 3.3a3.054 3.054 0 0 0-.863 1.725l-.267 1.881a.75.75 0 0 1-.213.426L2.3 14.97l.731.732 1.262-1.261a.75.75 0 0 1 .425-.213l1.88-.266a3.057 3.057 0 0 0 1.726-.863l4.398-4.4L9.3 5.282 4.906 9.678Z" })), da = s(ha), fa = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(da, {}) }));
|
|
3183
3183
|
fa.displayName = "ColorPickerAltIcon";
|
|
3184
3184
|
const ma = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M13.333.75a3.917 3.917 0 0 0-2.77 1.148L9.302 3.159 8.04 1.898a.75.75 0 0 0-1.06 1.06L8.24 4.22 3.845 8.617a4.554 4.554 0 0 0-1.288 2.574l-.231 1.634-1.17 1.168a1.384 1.384 0 0 0 0 1.956l.897.897a1.384 1.384 0 0 0 1.956 0l1.167-1.168 1.634-.231a4.554 4.554 0 0 0 2.575-1.288L13.78 9.76l1.262 1.262a.75.75 0 1 0 1.06-1.06L14.842 8.7l1.261-1.262A3.917 3.917 0 0 0 13.333.75Zm.448 6.889L10.362 4.22l1.262-1.261a2.417 2.417 0 1 1 3.418 3.418L13.781 7.64Zm-4.48-2.358 3.42 3.419-4.398 4.399a3.057 3.057 0 0 1-1.726.863l-1.88.266a.75.75 0 0 0-.425.213l-1.262 1.26-.731-.731 1.263-1.261a.75.75 0 0 0 .213-.426l.266-1.88a3.054 3.054 0 0 1 .864-1.726L9.302 5.28Z" })), pa = s(ma), va = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(pa, {}) }));
|
|
3185
3185
|
va.displayName = "ColorPickerIcon";
|
|
@@ -3213,9 +3213,9 @@ const n7 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3213
3213
|
o7.displayName = "CustomersSegmentationIcon";
|
|
3214
3214
|
const a7 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5.502.75a.75.75 0 0 1 .75.75v1.25h3.5V1.5a.75.75 0 1 1 1.5 0v1.25h2.25c.967 0 1.75.784 1.75 1.75V6a.75.75 0 0 1-1.5 0V4.5a.25.25 0 0 0-.25-.25h-2.25V5a.75.75 0 0 1-1.5 0v-.75h-3.5V5a.75.75 0 0 1-1.5 0v-.75h-2.25a.25.25 0 0 0-.25.25v9c0 .139.112.25.25.25h3.499a.75.75 0 0 1 0 1.5H2.502a1.75 1.75 0 0 1-1.75-1.75v-9c0-.966.784-1.75 1.75-1.75h2.25V1.5a.75.75 0 0 1 .75-.75Zm6.874 9.313a.75.75 0 0 1 .75.75l-1.28 2.093-.002-.002a.748.748 0 0 1-.218-.528v-1.563a.75.75 0 0 1 .75-.75Z" }), /* @__PURE__ */ o.createElement("path", { d: "m13.126 10.813-1.28 2.093 1.953 1.953a.75.75 0 0 0 1.06-1.06l-1.733-1.734v-1.252Z" }), /* @__PURE__ */ o.createElement("path", { d: "M7.251 12.376a5.125 5.125 0 1 1 10.25 0 5.125 5.125 0 0 1-10.25 0Zm5.125-3.626a3.625 3.625 0 1 0 0 7.25 3.625 3.625 0 0 0 0-7.25Z" })), i7 = s(a7), l7 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(i7, {}) }));
|
|
3215
3215
|
l7.displayName = "DateTimeIcon";
|
|
3216
|
-
const c7 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M4.751 5.5a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 0 1.5h-8a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 1 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z" }), /* @__PURE__ */ o.createElement("path", { d: "m10.804 17.097.014-.007c.186-.085.358-.204.506-.352l5.415-5.415c.146-.146.264-.316.35-.5l.01-.025c.1-.222.152-.464.152-.711V2.5a1.75 1.75 0 0 0-1.75-1.75h-13A1.75 1.75 0 0 0 .751 2.5v13a1.75 1.75 0 0 0 1.75 1.75h7.586c.25 0 .494-.053.717-.153ZM2.324 2.324a.25.25 0 0 1 .177-.074h13a.25.25 0 0 1 .25.25v7.25h-4.25a1.75 1.75 0 0 0-1.75 1.75v4.25h-7.25a.25.25 0 0 1-.25-.25v-13a.25.25 0 0 1 .073-.176ZM14.69 11.25l-3.439 3.439V11.5a.25.25 0 0 1 .25-.25h3.19Z" })), s7 = s(c7),
|
|
3217
|
-
|
|
3218
|
-
const
|
|
3216
|
+
const c7 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M4.751 5.5a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 0 1.5h-8a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 1 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z" }), /* @__PURE__ */ o.createElement("path", { d: "m10.804 17.097.014-.007c.186-.085.358-.204.506-.352l5.415-5.415c.146-.146.264-.316.35-.5l.01-.025c.1-.222.152-.464.152-.711V2.5a1.75 1.75 0 0 0-1.75-1.75h-13A1.75 1.75 0 0 0 .751 2.5v13a1.75 1.75 0 0 0 1.75 1.75h7.586c.25 0 .494-.053.717-.153ZM2.324 2.324a.25.25 0 0 1 .177-.074h13a.25.25 0 0 1 .25.25v7.25h-4.25a1.75 1.75 0 0 0-1.75 1.75v4.25h-7.25a.25.25 0 0 1-.25-.25v-13a.25.25 0 0 1 .073-.176ZM14.69 11.25l-3.439 3.439V11.5a.25.25 0 0 1 .25-.25h3.19Z" })), s7 = s(c7), u7 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(s7, {}) }));
|
|
3217
|
+
u7.displayName = "DescriptionIcon";
|
|
3218
|
+
const h7 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M.751 11.5v-8A2.75 2.75 0 0 1 3.501.75h11a2.75 2.75 0 0 1 2.75 2.75v8a2.75 2.75 0 0 1-2.75 2.75h-2.614l.25 1.5H13a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1 0-1.5h.865l.25-1.5H3.5A2.75 2.75 0 0 1 .75 11.5Zm1.5-8v7.25h13.5V3.5c0-.69-.56-1.25-1.25-1.25h-11c-.69 0-1.25.56-1.25 1.25Zm12.25 9.25c.41 0 .772-.196 1-.5h-13c.228.304.591.5 1 .5h11Zm-6.864 1.5-.25 1.5h3.229l-.25-1.5h-2.73Z" })), d7 = s(h7), f7 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(d7, {}) }));
|
|
3219
3219
|
f7.displayName = "DesktopIcon";
|
|
3220
3220
|
const m7 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "m3.16 14.826.008.008.008.008A8.25 8.25 0 0 0 14.839 3.171l-.004-.004-.004-.004A8.25 8.25 0 0 0 3.16 14.826ZM2.25 9a6.75 6.75 0 0 1 10.964-5.273l-9.488 9.487A6.722 6.722 0 0 1 2.251 9Zm12.024-4.213a6.75 6.75 0 0 1-9.487 9.487l9.487-9.487Z" })), p7 = s(m7), v7 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(p7, {}) }));
|
|
3221
3221
|
v7.displayName = "DisabledIcon";
|
|
@@ -3251,7 +3251,7 @@ const oi = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3251
3251
|
ii.displayName = "ExperimentIcon";
|
|
3252
3252
|
const li = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M6.366.74a5.75 5.75 0 0 1 5.518 3.75 3.997 3.997 0 0 1 3.974.719 4 4 0 0 1-1.629 6.92.75.75 0 0 1-.364-1.456 2.5 2.5 0 1 0-2.03-4.481.75.75 0 0 1-1.164-.48 4.25 4.25 0 1 0-7.14 3.825.75.75 0 1 1-1.045 1.075A5.75 5.75 0 0 1 6.366.74Z" }), /* @__PURE__ */ o.createElement("path", { d: "M6.214 8.807a.748.748 0 0 0-.243.163l-2 2a.75.75 0 0 0 1.06 1.06l.72-.719v5.19a.75.75 0 0 0 1.5 0v-5.19l.72.72a.75.75 0 1 0 1.06-1.06l-2-2a.748.748 0 0 0-.817-.164Zm5.287-.057a.75.75 0 0 1 .75.75v5.19l.72-.72a.75.75 0 0 1 1.06 1.06l-2 2a.748.748 0 0 1-1.06 0l-2-2a.75.75 0 0 1 1.06-1.06l.72.72V9.5a.75.75 0 0 1 .75-.75Z" })), ci = s(li), si = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(ci, {}) }));
|
|
3253
3253
|
si.displayName = "ExposeIcon";
|
|
3254
|
-
const
|
|
3254
|
+
const ui = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 18, fill: "currentColor", viewBox: "0 0 17 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5.751 3.501a.75.75 0 0 0-1.5 0v1.25h-1.25a.75.75 0 0 0 0 1.5h1.25v1.25a.75.75 0 0 0 1.5 0v-1.25h1.25a.75.75 0 0 0 0-1.5h-1.25v-1.25Zm7.28 3.969a.75.75 0 0 1 0 1.062l-.97.97.97.969a.75.75 0 0 1-1.06 1.06l-.97-.97-.97.97a.75.75 0 0 1-1.06-1.06l.97-.97-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97a.75.75 0 0 1 1.06 0Zm-10.28 5.031a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 0 1.5H5.288a1 1 0 1 1-.074 0H3.501a.75.75 0 0 1-.75-.75Z" }), /* @__PURE__ */ o.createElement("path", { d: "M6.251 10.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" }), /* @__PURE__ */ o.createElement("path", { d: "M12.025.751c.457 0 .896.179 1.223.498l1.975 1.921a1.751 1.751 0 0 1 .528 1.253v11.078a1.75 1.75 0 0 1-1.75 1.75h-12a1.75 1.75 0 0 1-1.75-1.75v-13a1.75 1.75 0 0 1 1.75-1.75h10.024Zm0 1.5H2.002a.25.25 0 0 0-.25.25v13a.25.25 0 0 0 .25.25h12a.25.25 0 0 0 .25-.25V4.423a.251.251 0 0 0-.075-.178L12.2 2.323a.25.25 0 0 0-.175-.072Z" })), hi = s(ui), di = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(hi, {}) }));
|
|
3255
3255
|
di.displayName = "ExpressionIcon";
|
|
3256
3256
|
const fi = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 16, fill: "currentColor", viewBox: "0 0 17 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8.97 2.532a.723.723 0 0 0 .531.218h2.688L7.47 7.47a.752.752 0 0 0-.203.53c.01.198.083.37.219.516A.798.798 0 0 0 8 8.735a.752.752 0 0 0 .532-.203l4.718-4.719V6.5c0 .209.073.386.219.532A.723.723 0 0 0 14 7.25a.723.723 0 0 0 .532-.218.723.723 0 0 0 .218-.532V2a.723.723 0 0 0-.218-.53.723.723 0 0 0-.532-.22H9.5a.723.723 0 0 0-.531.22.723.723 0 0 0-.219.53c0 .209.073.386.219.532Z" }), /* @__PURE__ */ o.createElement("path", { d: "M6.533 1.47A.723.723 0 0 0 6 1.25H3c-.312 0-.604.079-.875.235-.27.156-.484.37-.64.64A1.717 1.717 0 0 0 1.25 3v10c0 .313.078.605.235.876.156.27.37.484.64.64.271.156.563.235.875.235h10c.313 0 .604-.079.875-.235a1.71 1.71 0 0 0 .64-.64c.157-.271.235-.563.235-.875v-3a.723.723 0 0 0-.218-.532A.723.723 0 0 0 14 9.25a.723.723 0 0 0-.531.22.723.723 0 0 0-.219.53v3a.256.256 0 0 1-.078.188.232.232 0 0 1-.172.063H3a.29.29 0 0 1-.187-.063A.29.29 0 0 1 2.75 13V3a.23.23 0 0 1 .063-.171A.256.256 0 0 1 3 2.75h3a.723.723 0 0 0 .532-.218A.723.723 0 0 0 6.75 2a.723.723 0 0 0-.218-.53Z" })), mi = s(fi), pi = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(mi, {}) }));
|
|
3257
3257
|
pi.displayName = "ExternalLinkIcon";
|
|
@@ -3287,7 +3287,7 @@ const ol = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3287
3287
|
il.displayName = "GraphStatsIcon";
|
|
3288
3288
|
const ll = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M2.501.749a1.75 1.75 0 0 0-1.75 1.75v4c0 .966.784 1.75 1.75 1.75h4a1.75 1.75 0 0 0 1.75-1.75v-4a1.75 1.75 0 0 0-1.75-1.75h-4Zm-.25 1.75a.25.25 0 0 1 .25-.25h4a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25h-4a.25.25 0 0 1-.25-.25v-4Zm.25 7.25a1.75 1.75 0 0 0-1.75 1.75v4c0 .966.784 1.75 1.75 1.75h4a1.75 1.75 0 0 0 1.75-1.75v-4a1.75 1.75 0 0 0-1.75-1.75h-4Zm-.25 1.75a.25.25 0 0 1 .25-.25h4a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25h-4a.25.25 0 0 1-.25-.25v-4Zm7.5-9c0-.967.784-1.75 1.75-1.75h4c.967 0 1.75.783 1.75 1.75v4a1.75 1.75 0 0 1-1.75 1.75h-4a1.75 1.75 0 0 1-1.75-1.75v-4Zm1.75-.25a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h4a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25h-4Zm0 7.5a1.75 1.75 0 0 0-1.75 1.75v4c0 .966.784 1.75 1.75 1.75h4a1.75 1.75 0 0 0 1.75-1.75v-4a1.75 1.75 0 0 0-1.75-1.75h-4Zm-.25 1.75a.25.25 0 0 1 .25-.25h4a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25h-4a.25.25 0 0 1-.25-.25v-4Z" })), cl = s(ll), sl = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(cl, {}) }));
|
|
3289
3289
|
sl.displayName = "GridAltIcon";
|
|
3290
|
-
const
|
|
3290
|
+
const ul = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M.751 2.499c0-.967.784-1.75 1.75-1.75h1c.967 0 1.75.783 1.75 1.75v1a1.75 1.75 0 0 1-1.75 1.75h-1a1.75 1.75 0 0 1-1.75-1.75v-1Zm1.75-.25a.25.25 0 0 0-.25.25v1c0 .138.112.25.25.25h1a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-1Zm4.25.25c0-.967.784-1.75 1.75-1.75h1c.967 0 1.75.783 1.75 1.75v1a1.75 1.75 0 0 1-1.75 1.75h-1a1.75 1.75 0 0 1-1.75-1.75v-1Zm1.75-.25a.25.25 0 0 0-.25.25v1c0 .138.112.25.25.25h1a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-1Zm6-1.5a1.75 1.75 0 0 0-1.75 1.75v1c0 .966.784 1.75 1.75 1.75h1a1.75 1.75 0 0 0 1.75-1.75v-1a1.75 1.75 0 0 0-1.75-1.75h-1Zm-.25 1.75a.25.25 0 0 1 .25-.25h1a.25.25 0 0 1 .25.25v1a.25.25 0 0 1-.25.25h-1a.25.25 0 0 1-.25-.25v-1Zm-13.5 6c0-.967.784-1.75 1.75-1.75h1c.967 0 1.75.783 1.75 1.75v1a1.75 1.75 0 0 1-1.75 1.75h-1a1.75 1.75 0 0 1-1.75-1.75v-1Zm1.75-.25a.25.25 0 0 0-.25.25v1c0 .138.112.25.25.25h1a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-1Zm6-1.5a1.75 1.75 0 0 0-1.75 1.75v1c0 .966.784 1.75 1.75 1.75h1a1.75 1.75 0 0 0 1.75-1.75v-1a1.75 1.75 0 0 0-1.75-1.75h-1Zm-.25 1.75a.25.25 0 0 1 .25-.25h1a.25.25 0 0 1 .25.25v1a.25.25 0 0 1-.25.25h-1a.25.25 0 0 1-.25-.25v-1Zm4.5 0c0-.967.784-1.75 1.75-1.75h1c.967 0 1.75.783 1.75 1.75v1a1.75 1.75 0 0 1-1.75 1.75h-1a1.75 1.75 0 0 1-1.75-1.75v-1Zm1.75-.25a.25.25 0 0 0-.25.25v1c0 .138.112.25.25.25h1a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-1Zm-12 4.499a1.75 1.75 0 0 0-1.75 1.75v1c0 .967.784 1.75 1.75 1.75h1a1.75 1.75 0 0 0 1.75-1.75v-1a1.75 1.75 0 0 0-1.75-1.75h-1Zm-.25 1.75a.25.25 0 0 1 .25-.25h1a.25.25 0 0 1 .25.25v1a.25.25 0 0 1-.25.25h-1a.25.25 0 0 1-.25-.25v-1Zm4.5 0c0-.966.784-1.75 1.75-1.75h1c.967 0 1.75.784 1.75 1.75v1a1.75 1.75 0 0 1-1.75 1.75h-1a1.75 1.75 0 0 1-1.75-1.75v-1Zm1.75-.25a.25.25 0 0 0-.25.25v1c0 .139.112.25.25.25h1a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-1Zm6-1.5a1.75 1.75 0 0 0-1.75 1.75v1c0 .967.784 1.75 1.75 1.75h1a1.75 1.75 0 0 0 1.75-1.75v-1a1.75 1.75 0 0 0-1.75-1.75h-1Zm-.25 1.75a.25.25 0 0 1 .25-.25h1a.25.25 0 0 1 .25.25v1a.25.25 0 0 1-.25.25h-1a.25.25 0 0 1-.25-.25v-1Z" })), hl = s(ul), dl = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(hl, {}) }));
|
|
3291
3291
|
dl.displayName = "GridIcon";
|
|
3292
3292
|
const fl = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 16, fill: "currentColor", viewBox: "0 0 17 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8.092 4.753a1.42 1.42 0 0 0-.69.13 1.189 1.189 0 0 0-.486.408.947.947 0 0 0-.165.528.75.75 0 1 1-1.5 0c0-.487.148-.958.419-1.363.27-.403.65-.723 1.093-.93a2.92 2.92 0 0 1 2.799.177c.41.264.743.632.952 1.07.21.44.283.928.21 1.409a2.49 2.49 0 0 1-.615 1.287 2.76 2.76 0 0 1-1.211.778.248.248 0 0 0-.121.079.105.105 0 0 0-.026.064V9a.75.75 0 1 1-1.5 0v-.609c0-.36.124-.705.342-.986.217-.279.515-.48.846-.586a1.26 1.26 0 0 0 .554-.352.991.991 0 0 0 .248-.511.919.919 0 0 0-.081-.537 1.115 1.115 0 0 0-.41-.454 1.38 1.38 0 0 0-.658-.212ZM8.001 11a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z" }), /* @__PURE__ */ o.createElement("path", { d: "M8.001.25a7.75 7.75 0 1 0 0 15.5 7.75 7.75 0 0 0 0-15.5ZM1.751 8a6.25 6.25 0 1 1 12.5 0 6.25 6.25 0 0 1-12.5 0Z" })), ml = s(fl), pl = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(ml, {}) }));
|
|
3293
3293
|
pl.displayName = "HelpIcon";
|
|
@@ -3325,7 +3325,7 @@ const oc = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3325
3325
|
ic.displayName = "LockIcon";
|
|
3326
3326
|
const lc = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M11.116 1.123c-.083.02-1.136.43-2.34.912-1.205.482-2.228.876-2.273.876-.045 0-.963-.353-2.039-.784-2.153-.861-2.066-.83-2.313-.866-.499-.075-1.024.212-1.258.687l-.097.197-.008 5.083c-.008 5.608-.02 5.227.181 5.636.116.237.446.584.667.702.167.089 4.298 1.744 4.44 1.779.05.012.17.033.268.047.356.052.484.01 2.868-.944 1.221-.488 2.25-.887 2.287-.887.036 0 .978.364 2.092.809 1.391.555 2.09.819 2.23.843.39.066.77-.066 1.056-.366.092-.096.203-.252.248-.348l.081-.173.008-5.07c.006-3.586-.002-5.116-.025-5.23-.09-.435-.455-.911-.86-1.124-.29-.151-4.236-1.724-4.458-1.776a1.847 1.847 0 0 0-.755-.003ZM4.06 3.563l1.702.68v4.689c0 2.579-.01 4.689-.023 4.689-.012 0-.77-.3-1.687-.663-1.154-.46-1.686-.686-1.733-.737l-.067-.073V7.496c0-4.417.003-4.65.052-4.632.03.01.82.325 1.756.699Zm6.712 3.964c0 3.706-.008 4.683-.038 4.706-.045.035-3.429 1.388-3.472 1.388-.02 0-.028-1.57-.023-4.688l.008-4.687 1.725-.695a75.81 75.81 0 0 1 1.762-.697c.03-.002.038.95.038 4.673Zm3.196-3.998c1.173.47 1.71.698 1.74.742.038.055.044.655.044 4.707 0 2.554-.01 4.643-.023 4.643-.012 0-.802-.312-1.754-.693l-1.733-.693V7.543c0-2.581.007-4.692.015-4.692s.778.305 1.711.678Z" })), cc = s(lc), sc = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(cc, {}) }));
|
|
3327
3327
|
sc.displayName = "MapIcon";
|
|
3328
|
-
const
|
|
3328
|
+
const uc = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 16, fill: "currentColor", viewBox: "0 0 17 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M4.809 2.276a.75.75 0 0 1 .844.353L8 6.739l2.35-4.11a.75.75 0 0 1 1.4.372v10.5a.75.75 0 1 1-1.5 0V5.825L8.653 8.623a.75.75 0 0 1-1.303 0L5.751 5.825v7.676a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .558-.725Z" })), hc = s(uc), dc = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(hc, {}) }));
|
|
3329
3329
|
dc.displayName = "MetricAltIcon";
|
|
3330
3330
|
const fc = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 16, fill: "currentColor", viewBox: "0 0 17 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M3.251 8a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 0 1.5h-8a.75.75 0 0 1-.75-.75Z" })), mc = s(fc), pc = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(mc, {}) }));
|
|
3331
3331
|
pc.displayName = "MinusIcon";
|
|
@@ -3361,7 +3361,7 @@ const os = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3361
3361
|
is.displayName = "ParagraphCenterAlignIcon";
|
|
3362
3362
|
const ls = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M.751 2a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5h-14A.75.75 0 0 1 .751 2Zm0 3a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12A.75.75 0 0 1 .751 5Zm.75 2.25a.75.75 0 0 0 0 1.5h15a.75.75 0 0 0 0-1.5h-15ZM.751 11a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5h14a.75.75 0 0 0 0-1.5h-14Z" })), cs = s(ls), ss = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(cs, {}) }));
|
|
3363
3363
|
ss.displayName = "ParagraphLeftAlignIcon";
|
|
3364
|
-
const
|
|
3364
|
+
const us = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M1.583 2a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5h-14a.75.75 0 0 1-.75-.75Zm2 3a.75.75 0 0 1 .75-.75h12a.75.75 0 0 1 0 1.5h-12a.75.75 0 0 1-.75-.75Zm-2.25 2.25a.75.75 0 1 0 0 1.5h15a.75.75 0 0 0 0-1.5h-15ZM3.583 11a.75.75 0 0 1 .75-.75h12a.75.75 0 1 1 0 1.5h-12a.75.75 0 0 1-.75-.75Zm-1.25 2.25a.75.75 0 1 0 0 1.5h14a.75.75 0 0 0 0-1.5h-14Z" })), hs = s(us), ds = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(hs, {}) }));
|
|
3365
3365
|
ds.displayName = "ParagraphRightAlignIcon";
|
|
3366
3366
|
const fs = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M15.03.97a.75.75 0 0 1 0 1.061l-13 13a.75.75 0 1 1-1.06-1.06l13-13a.75.75 0 0 1 1.06 0ZM9.75 12.501a2.75 2.75 0 1 1 5.5 0 2.75 2.75 0 0 1-5.5 0Zm2.75-1.25a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-9-10.5a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Zm-1.25 2.75a1.25 1.25 0 1 1 2.5 0 1.25 1.25 0 0 1-2.5 0Z" })), ms = s(fs), ps = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(ms, {}) }));
|
|
3367
3367
|
ps.displayName = "PercentageIcon";
|
|
@@ -3397,7 +3397,7 @@ const o3 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3397
3397
|
i3.displayName = "RenameAltIcon";
|
|
3398
3398
|
const l3 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M10.119 2.178a1.75 1.75 0 0 1 2.474 0l1.23 1.23a1.75 1.75 0 0 1 0 2.474L6.086 13.62a.75.75 0 0 1-.344.196l-3.556.912a.75.75 0 0 1-.913-.912l.912-3.556a.75.75 0 0 1 .196-.344l7.738-7.737Zm1.414 1.06a.25.25 0 0 0-.354 0l-.75.751 1.582 1.583.752-.75a.25.25 0 0 0 0-.354l-1.23-1.23ZM3.587 10.83l-.546 2.13 2.13-.547 5.78-5.78L9.368 5.05l-5.781 5.78Zm5.148 2.617a.735.735 0 0 0 0 1.47h6.035a.735.735 0 1 0 0-1.47H8.735Z" })), c3 = s(l3), s3 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(c3, {}) }));
|
|
3399
3399
|
s3.displayName = "RenameIcon";
|
|
3400
|
-
const
|
|
3400
|
+
const u3 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5 1.749a.75.75 0 0 1 .75.75v9.19l1.22-1.22a.75.75 0 1 1 1.06 1.06l-2.5 2.5a.748.748 0 0 1-1.06 0l-2.5-2.5a.75.75 0 0 1 1.06-1.06l1.22 1.22v-9.19a.75.75 0 0 1 .75-.75Zm5.713.057a.747.747 0 0 0-.243.163l-2.5 2.5a.75.75 0 0 0 1.06 1.06l1.22-1.22v9.19a.75.75 0 0 0 1.5 0v-9.19l1.22 1.22a.75.75 0 1 0 1.06-1.06l-2.5-2.5a.748.748 0 0 0-.817-.163Z" })), h3 = s(u3), d3 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(h3, {}) }));
|
|
3401
3401
|
d3.displayName = "ReorderIcon";
|
|
3402
3402
|
const f3 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 18, fill: "currentColor", viewBox: "0 0 16 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5 8.751a.723.723 0 0 1-.531-.219.705.705 0 0 1-.219-.515c0-.209.073-.386.219-.532A.7.7 0 0 1 5 7.251h6a.7.7 0 0 1 .531.234.723.723 0 0 1 .22.532c0 .198-.074.37-.22.515a.723.723 0 0 1-.53.219H5Zm0 2.5a.723.723 0 0 1-.531-.219.705.705 0 0 1-.219-.515c0-.209.073-.386.219-.532A.7.7 0 0 1 5 9.751h6a.7.7 0 0 1 .531.234.723.723 0 0 1 .22.532c0 .197-.074.37-.22.515a.723.723 0 0 1-.53.219H5Zm0 2.5a.723.723 0 0 1-.531-.219.705.705 0 0 1-.219-.515c0-.209.073-.386.219-.532A.7.7 0 0 1 5 12.251h6a.7.7 0 0 1 .531.234.723.723 0 0 1 .22.532c0 .197-.074.37-.22.515a.723.723 0 0 1-.53.219H5Zm5.5-9a.723.723 0 0 1-.531-.219.723.723 0 0 1-.219-.531 1.64 1.64 0 0 0-.234-.86 1.719 1.719 0 0 0-.64-.64A1.64 1.64 0 0 0 8 2.251a1.64 1.64 0 0 0-.875.25c-.27.156-.484.37-.64.64a1.64 1.64 0 0 0-.235.86.723.723 0 0 1-.218.531.723.723 0 0 1-.532.219H3a.256.256 0 0 0-.187.078.269.269 0 0 0-.063.172v10.5c0 .073.021.135.063.188A.291.291 0 0 0 3 15.75h10c.073 0 .13-.02.172-.063a.256.256 0 0 0 .078-.187V5a.24.24 0 0 0-.078-.172A.208.208 0 0 0 13 4.75h-2.5Zm2.5-1.5c.313 0 .604.083.875.25.271.156.485.37.64.64.157.261.235.547.235.86v10.5c0 .323-.078.62-.234.89-.156.261-.37.47-.64.626a1.727 1.727 0 0 1-.876.234H3c-.312 0-.604-.078-.875-.234a1.756 1.756 0 0 1-.64-.625 1.75 1.75 0 0 1-.235-.891v-10.5c0-.313.078-.599.235-.86.156-.27.37-.484.64-.64.271-.167.563-.25.875-.25h1.844c.115-.48.323-.906.625-1.281a3.211 3.211 0 0 1 1.125-.89A3.101 3.101 0 0 1 8 .75c.5 0 .969.11 1.407.328a3.07 3.07 0 0 1 1.109.89 3.1 3.1 0 0 1 .64 1.282H13Zm-5.75.25c0-.198.073-.37.219-.516A.7.7 0 0 1 8 2.751c.282 0 .516.099.703.297A.979.979 0 0 1 9 3.767c0 .27-.099.505-.297.703A.954.954 0 0 1 8 4.75c-.281 0-.52-.094-.718-.281A.988.988 0 0 1 7 3.767c0-.282.094-.521.282-.72A.979.979 0 0 1 8 2.752a.7.7 0 0 1 .532.234.723.723 0 0 1 .218.532c0 .198-.073.37-.218.515A.723.723 0 0 1 8 4.251a.723.723 0 0 1-.531-.219.723.723 0 0 1-.219-.531Z" })), m3 = s(f3), p3 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(m3, {}) }));
|
|
3403
3403
|
p3.displayName = "ReportIcon";
|
|
@@ -3433,8 +3433,8 @@ const r6 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3433
3433
|
a6.displayName = "ShareIcon";
|
|
3434
3434
|
const i6 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M2.088.001a.571.571 0 0 0-.553.457L.5 5.25C.5 6.216 1.261 7 2.2 7c.223 0 .435-.044.63-.124A1.75 1.75 0 0 0 3.9 5.25a1.75 1.75 0 0 0 1.07 1.626 1.653 1.653 0 0 0 1.26 0A1.75 1.75 0 0 0 7.3 5.25a1.75 1.75 0 0 0 1.07 1.626 1.653 1.653 0 0 0 1.26 0A1.75 1.75 0 0 0 10.7 5.25a1.75 1.75 0 0 0 1.07 1.626 1.653 1.653 0 0 0 1.26 0A1.75 1.75 0 0 0 14.1 5.25a1.75 1.75 0 0 0 1.07 1.626c.195.08.408.124.63.124.94 0 1.7-.784 1.7-1.75L16.465.458A.57.57 0 0 0 15.912 0H2.088Zm13.898 5.345c-.036.11-.13.155-.186.155-.07 0-.2-.07-.2-.25a1.5 1.5 0 0 0-3 0c0 .18-.13.25-.2.25s-.2-.07-.2-.25a1.5 1.5 0 0 0-3 0c0 .18-.13.25-.2.25s-.2-.07-.2-.25a1.5 1.5 0 1 0-3 0c0 .18-.13.25-.2.25s-.2-.07-.2-.25a1.5 1.5 0 1 0-3 0c0 .18-.13.25-.2.25-.056 0-.15-.045-.186-.155l.83-3.845h12.312l.83 3.845ZM2.5 7.751a.75.75 0 0 1 .75.75v5c0 .138.112.25.25.25h1.75v-2.75A2.75 2.75 0 0 1 8 8.251h2a2.75 2.75 0 0 1 2.75 2.75v2.75h1.75a.25.25 0 0 0 .25-.25v-5a.75.75 0 0 1 1.5 0v5a1.75 1.75 0 0 1-1.75 1.75h-11a1.75 1.75 0 0 1-1.75-1.75v-5a.75.75 0 0 1 .75-.75Zm8.75 6v-2.75c0-.69-.56-1.25-1.25-1.25H8c-.69 0-1.25.56-1.25 1.25v2.75h4.5Z" })), l6 = s(i6), c6 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(l6, {}) }));
|
|
3435
3435
|
c6.displayName = "ShopIcon";
|
|
3436
|
-
const s6 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M13.8 1.201a.71.71 0 0 1 1 0 .71.71 0 0 1 0 .99l-3.64 3.64h1.76a.7.7 0 1 1 0 1.4H9.47a.7.7 0 0 1-.7-.7v-3.45a.7.7 0 1 1 1.4 0v1.76l3.63-3.64Zm-7 7.62a.71.71 0 0 1 .38.38c.01.04.05.1.05.1a.965.965 0 0 1 0 .17v3.45a.7.7 0 1 1-1.4 0v-1.76l-3.63 3.63a.7.7 0 0 1-.5.21.67.67 0 0 1-.49-.2.69.69 0 0 1 0-1l3.63-3.58H3.08a.7.7 0 1 1 0-1.4h3.45a.965.965 0 0 1 .17 0h.1Z" })),
|
|
3437
|
-
|
|
3436
|
+
const s6 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M13.8 1.201a.71.71 0 0 1 1 0 .71.71 0 0 1 0 .99l-3.64 3.64h1.76a.7.7 0 1 1 0 1.4H9.47a.7.7 0 0 1-.7-.7v-3.45a.7.7 0 1 1 1.4 0v1.76l3.63-3.64Zm-7 7.62a.71.71 0 0 1 .38.38c.01.04.05.1.05.1a.965.965 0 0 1 0 .17v3.45a.7.7 0 1 1-1.4 0v-1.76l-3.63 3.63a.7.7 0 0 1-.5.21.67.67 0 0 1-.49-.2.69.69 0 0 1 0-1l3.63-3.58H3.08a.7.7 0 1 1 0-1.4h3.45a.965.965 0 0 1 .17 0h.1Z" })), u6 = s(s6), h6 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(u6, {}) }));
|
|
3437
|
+
h6.displayName = "ShrinkIcon";
|
|
3438
3438
|
const d6 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 18, fill: "currentColor", viewBox: "0 0 16 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5.323.779c-.21.028-.37.126-.462.283l-.074.126-.007 6.753c-.004 3.714-.016 6.753-.026 6.753-.01 0-.44-.419-.954-.932-.692-.691-.964-.946-1.053-.986-.258-.116-.514-.047-.768.207-.244.244-.318.519-.205.766.032.072.533.592 1.563 1.626.834.837 1.516 1.534 1.516 1.549 0 .066.204.226.375.293a.606.606 0 0 0 .313.058c.194-.018.462-.153.554-.278.041-.056.75-.781 1.572-1.609 1.165-1.173 1.51-1.535 1.555-1.633.122-.267.046-.538-.222-.792-.176-.166-.33-.241-.5-.241-.25-.002-.31.047-1.32 1.049l-.94.934v-6.68c0-7.503.018-6.871-.198-7.079-.159-.153-.403-.21-.719-.167Zm6.157.047a2.078 2.078 0 0 0-.902.45c-.39.328-.66.776-.768 1.274-.049.24-.05.37-.044 2.738.008 2.756-.004 2.578.183 2.764.116.116.243.164.48.181.35.026.602-.085.72-.316.077-.152.103-.417.104-1.083v-.593h1.517l.01.78c.006.753.01.784.067.894.17.316.682.426 1.067.229.131-.067.163-.099.232-.235l.081-.158.007-2.475c.007-2.355.005-2.487-.044-2.727a2.275 2.275 0 0 0-1.393-1.64c-.38-.141-.95-.177-1.317-.083Zm.846 1.494c.163.084.294.22.372.385.06.132.061.163.07 1.089l.01.954h-1.525l.001-.967c0-.915.003-.973.055-1.087a.807.807 0 0 1 .481-.424.905.905 0 0 1 .536.05Zm-2.073 7.467a.567.567 0 0 0-.303.161c-.115.115-.165.243-.182.469-.028.348.087.613.318.737.113.06.13.06 1.314.074.782.008 1.197.022 1.191.04-.005.014-.599.907-1.32 1.984a150.85 150.85 0 0 0-1.37 2.067c-.127.235-.17.55-.114.845.092.483.53.936 1.002 1.037.087.019.627.026 1.572.021l1.44-.008.113-.06c.231-.124.346-.389.318-.737-.017-.225-.067-.354-.18-.467-.176-.176-.157-.174-1.472-.189l-1.193-.013 1.383-2.067c1.328-1.984 1.385-2.074 1.427-2.259.023-.105.043-.256.043-.334 0-.603-.466-1.173-1.06-1.298-.164-.033-2.796-.037-2.927-.003Z" })), f6 = s(d6), m6 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(f6, {}) }));
|
|
3439
3439
|
m6.displayName = "SortIcon";
|
|
3440
3440
|
const p6 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 16, fill: "currentColor", viewBox: "0 0 18 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M15.03 1.47a.75.75 0 1 0-1.06 1.06l.721.72h-1.69c-.829 0-1.57.332-2.187.76-.617.43-1.151.987-1.583 1.518A13.053 13.053 0 0 0 8.056 7.25H1.5a.75.75 0 1 0 0 1.5h6.555a13.264 13.264 0 0 0 1.176 1.724c.432.531.966 1.088 1.583 1.518.616.428 1.358.759 2.186.759h1.688l-.718.718a.75.75 0 1 0 1.06 1.06l1.974-1.972a.748.748 0 0 0 .027-1.088l-2-2a.75.75 0 1 0-1.06 1.06l.72.722h-1.69c-.422 0-.868-.17-1.33-.49-.461-.322-.895-.764-1.276-1.233A11.563 11.563 0 0 1 9.355 8a11.736 11.736 0 0 1 1.04-1.527c.38-.469.815-.912 1.276-1.232.462-.322.908-.491 1.33-.491h1.688l-.719.718a.75.75 0 0 0 1.06 1.06l1.974-1.972a.748.748 0 0 0 .027-1.088l-2-2Z" })), v6 = s(p6), g6 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(v6, {}) }));
|
|
@@ -3469,8 +3469,8 @@ const r4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3469
3469
|
a4.displayName = "TabletLangscapeIcon";
|
|
3470
3470
|
const i4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 18, fill: "currentColor", viewBox: "0 0 16 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M1.748 13.557v1.944c0 .967.784 1.75 1.75 1.75h9a1.75 1.75 0 0 0 1.75-1.75v-13a1.75 1.75 0 0 0-1.75-1.75h-9a1.75 1.75 0 0 0-1.75 1.75v10.944a.759.759 0 0 0 0 .112Zm1.5-11.056a.25.25 0 0 1 .25-.25h9a.25.25 0 0 1 .25.25v10.25h-9.5V2.501Zm0 11.75h9.5v1.25a.25.25 0 0 1-.25.25h-9a.25.25 0 0 1-.25-.25v-1.25Z" })), l4 = s(i4), c4 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(l4, {}) }));
|
|
3471
3471
|
c4.displayName = "TabletPortraitIcon";
|
|
3472
|
-
const s4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 17, fill: "currentColor", viewBox: "0 0 16 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M10.037.251h4.004a1.71 1.71 0 0 1 1.71 1.71v4.004a2.67 2.67 0 0 1-.782 1.887l-7.398 7.399a1.71 1.71 0 0 1-2.417 0L.75 10.849a1.71 1.71 0 0 1 0-2.418l7.4-7.398c.5-.5 1.18-.782 1.887-.782ZM9.21 2.094 1.812 9.49a.21.21 0 0 0 0 .297l4.402 4.402a.21.21 0 0 0 .297 0l7.397-7.398c.22-.22.343-.517.343-.827V1.961a.21.21 0 0 0-.21-.21h-4.004c-.31 0-.608.123-.827.343Zm2.431 2.057a.21.21 0 1 0 0 .42.21.21 0 0 0 0-.42Zm-1.71.21a1.71 1.71 0 1 1 3.42 0 1.71 1.71 0 0 1-3.42 0Z" })),
|
|
3473
|
-
|
|
3472
|
+
const s4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 17, fill: "currentColor", viewBox: "0 0 16 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M10.037.251h4.004a1.71 1.71 0 0 1 1.71 1.71v4.004a2.67 2.67 0 0 1-.782 1.887l-7.398 7.399a1.71 1.71 0 0 1-2.417 0L.75 10.849a1.71 1.71 0 0 1 0-2.418l7.4-7.398c.5-.5 1.18-.782 1.887-.782ZM9.21 2.094 1.812 9.49a.21.21 0 0 0 0 .297l4.402 4.402a.21.21 0 0 0 .297 0l7.397-7.398c.22-.22.343-.517.343-.827V1.961a.21.21 0 0 0-.21-.21h-4.004c-.31 0-.608.123-.827.343Zm2.431 2.057a.21.21 0 1 0 0 .42.21.21 0 0 0 0-.42Zm-1.71.21a1.71 1.71 0 1 1 3.42 0 1.71 1.71 0 0 1-3.42 0Z" })), u4 = s(s4), h4 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(u4, {}) }));
|
|
3473
|
+
h4.displayName = "TagAltIcon";
|
|
3474
3474
|
const d4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M2.53 10.884a.25.25 0 0 1 0-.353l7.708-7.707a1.25 1.25 0 0 1 .883-.366m0 0h4.172a.25.25 0 0 1 .25.25v4.171c0 .332-.132.65-.366.884L7.47 15.47a.25.25 0 0 1-.354 0L2.53 10.884M11.121.958c-.729 0-1.428.29-1.944.805L1.47 9.47a1.75 1.75 0 0 0 0 2.475l4.586 4.586a1.75 1.75 0 0 0 2.474 0l7.708-7.708a2.75 2.75 0 0 0 .805-1.944V2.708a1.75 1.75 0 0 0-1.75-1.75H11.12Zm-.078 4.25a1.75 1.75 0 1 0 3.5 0 1.75 1.75 0 0 0-3.5 0Zm1.75-.25a.25.25 0 1 1 0 .5.25.25 0 0 1 0-.5Z" })), f4 = s(d4), m4 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(f4, {}) }));
|
|
3475
3475
|
m4.displayName = "TagIcon";
|
|
3476
3476
|
const p4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 17, fill: "currentColor", viewBox: "0 0 16 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M2.5 3.251a.75.75 0 0 1 .75-.75h9.5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-.75.75H8.5v4.25a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1-.75-.75v-9.5Zm4.5.75H4v8h3v-8Zm1.5 3H12v-3H8.5v3Z" }), /* @__PURE__ */ o.createElement("path", { d: "M0 1.751C0 .785.785.001 1.75.001h12.5c.967 0 1.75.784 1.75 1.75v8.5a.75.75 0 0 1-.219.53l-5 5a.75.75 0 0 1-.53.22h-8.5A1.75 1.75 0 0 1 0 14.251v-12.5Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.113.25.25.25H9.5v-3.25c0-.966.784-1.75 1.75-1.75h3.25v-7.75a.25.25 0 0 0-.25-.25H1.75Zm11.69 9.5h-2.19a.25.25 0 0 0-.25.25v2.19L13.44 11Z" })), v4 = s(p4), g4 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(v4, {}) }));
|
|
@@ -3499,30 +3499,30 @@ const q4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www
|
|
|
3499
3499
|
K4.displayName = "UnlinkIcon";
|
|
3500
3500
|
const X4 = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 17, fill: "currentColor", viewBox: "0 0 16 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M10.75 10.001a.75.75 0 0 0-1.5 0v2a.75.75 0 0 0 1.5 0v-2Z" }), /* @__PURE__ */ o.createElement("path", { d: "M4.5 1.751a2.75 2.75 0 0 0-2.75 2.75v2.5a.75.75 0 0 1-1.5 0v-2.5a4.25 4.25 0 0 1 8.5 0v1.75H14c.967 0 1.75.784 1.75 1.75v6a1.75 1.75 0 0 1-1.75 1.75H6a1.75 1.75 0 0 1-1.75-1.75v-6c0-.966.784-1.75 1.75-1.75h1.25v-1.75a2.75 2.75 0 0 0-2.75-2.75Zm1.5 6a.25.25 0 0 0-.25.25v6c0 .138.112.25.25.25h8a.25.25 0 0 0 .25-.25v-6a.25.25 0 0 0-.25-.25H6Z" })), Q4 = s(X4), J4 = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(Q4, {}) }));
|
|
3501
3501
|
J4.displayName = "UnlockIcon";
|
|
3502
|
-
const
|
|
3503
|
-
|
|
3504
|
-
const
|
|
3505
|
-
|
|
3506
|
-
const
|
|
3507
|
-
|
|
3508
|
-
const
|
|
3509
|
-
|
|
3510
|
-
const
|
|
3511
|
-
|
|
3512
|
-
const
|
|
3513
|
-
|
|
3514
|
-
const
|
|
3515
|
-
|
|
3516
|
-
const
|
|
3517
|
-
|
|
3518
|
-
const
|
|
3519
|
-
|
|
3520
|
-
const
|
|
3521
|
-
|
|
3522
|
-
const
|
|
3523
|
-
|
|
3524
|
-
const
|
|
3525
|
-
|
|
3502
|
+
const eu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 18, fill: "currentColor", viewBox: "0 0 16 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M14.751.668a.75.75 0 0 1 .75.75v15a.75.75 0 0 1-1.5 0v-15a.75.75 0 0 1 .75-.75ZM.59 3.065a.75.75 0 0 1 1.015-.309l9.647 5.147a.75.75 0 0 1 .177.13 1.25 1.25 0 0 1 0 1.769.75.75 0 0 1-.177.131L1.604 15.08a.75.75 0 1 1-.706-1.324l9.069-4.838L.898 4.08a.75.75 0 0 1-.309-1.015Z" })), tu = s(eu), nu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(tu, {}) }));
|
|
3503
|
+
nu.displayName = "UntilNowAltIcon";
|
|
3504
|
+
const ru = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 17, fill: "currentColor", viewBox: "0 0 18 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8.47 1.97a.748.748 0 0 1 1.062 0l3 3a.75.75 0 1 1-1.061 1.062l-1.72-1.72v6.19a.75.75 0 0 1-1.5 0v-6.19l-1.72 1.72a.75.75 0 0 1-1.06-1.061l3-3Z" }), /* @__PURE__ */ o.createElement("path", { d: "M2.251 10.501a.75.75 0 0 0-1.5 0v1a2.75 2.75 0 0 0 2.75 2.75h11a2.75 2.75 0 0 0 2.75-2.75v-1a.75.75 0 0 0-1.5 0v1c0 .69-.56 1.25-1.25 1.25h-11c-.69 0-1.25-.56-1.25-1.25v-1Z" })), ou = s(ru), au = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(ou, {}) }));
|
|
3505
|
+
au.displayName = "UploadIcon";
|
|
3506
|
+
const iu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M14.031 5.03a2.25 2.25 0 1 0-1.06-1.06l-1.264 1.263a3.235 3.235 0 0 0-1.706-.483 3.245 3.245 0 0 0-2.608 1.31L5.686 5.036a2.25 2.25 0 1 0-.824 1.255l1.935 1.161a3.272 3.272 0 0 0 .437 2.254l-3.263 3.263a2.25 2.25 0 1 0 1.06 1.06l3.264-3.262c.291.18.613.315.956.396v1.715a2.251 2.251 0 1 0 1.5 0v-1.715a3.245 3.245 0 0 0 1.517-.835l.565.565a2.253 2.253 0 0 0 2.168 2.857 2.25 2.25 0 1 0-1.286-4.097l-.63-.629a3.235 3.235 0 0 0-.318-2.73l1.264-1.263Zm.97-2.78a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5ZM8.358 7.394a1.75 1.75 0 1 1 .442 1.88.765.765 0 0 0-.073-.074 1.744 1.744 0 0 1-.369-1.806ZM4.125 4.916a.75.75 0 1 1-1.247-.83.75.75 0 0 1 1.247.83ZM3 14.25a.747.747 0 0 1 .75.75.75.75 0 1 1-.75-.75Zm11.25-2.75a.746.746 0 0 1 .75-.75.75.75 0 1 1-.75.75ZM10 14.25a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Z" })), lu = s(iu), cu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(lu, {}) }));
|
|
3507
|
+
cu.displayName = "UsagesIcon";
|
|
3508
|
+
const su = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 17, fill: "currentColor", viewBox: "0 0 16 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M5 2.751a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Zm-3.75 2.25a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM12 7.751a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-2.25.75a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0ZM6 10.751a4.25 4.25 0 0 0-4.25 4.25.75.75 0 0 1-1.5 0 5.75 5.75 0 0 1 8.05-5.27.75.75 0 1 1-.6 1.375 4.25 4.25 0 0 0-1.7-.355Zm6 2a2.25 2.25 0 0 0-2.25 2.25.75.75 0 0 1-1.5 0 3.75 3.75 0 0 1 7.5 0 .75.75 0 0 1-1.5 0 2.25 2.25 0 0 0-2.25-2.25Z" })), uu = s(su), hu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(uu, {}) }));
|
|
3509
|
+
hu.displayName = "UsersIcon";
|
|
3510
|
+
const du = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M2.77.774a.75.75 0 0 1 .556.59c.11.594.212.913.365 1.103.101.125.298.284.897.284h.005a3.267 3.267 0 0 1 3.23 2.954l7.595 8.79a1.671 1.671 0 0 1-2.362 2.351l-.003-.002L4.296 9.24C2.428 9.108 1.301 7.697.914 6.117.513 4.475.844 2.48 2.003 1.033a.75.75 0 0 1 .768-.26Zm3.05 3.995a1.767 1.767 0 0 0-1.235-.518c-.899 0-1.593-.26-2.063-.844-.02-.025-.04-.05-.059-.077a4.625 4.625 0 0 0-.091 2.43c.27 1.108.94 1.851 1.923 1.974l2.017-2.018a1.767 1.767 0 0 0-.491-.947Zm-.132 3.693 8.346 7.246v.001a.171.171 0 0 0 .243-.24L7.048 7.102l-1.36 1.36Z" }), /* @__PURE__ */ o.createElement("path", { d: "m13.995 7.896 1.6-1.6a1.405 1.405 0 0 1-.184 1.538L13.27 9.97a.75.75 0 0 0 1.06 1.062l2.16-2.156a2.902 2.902 0 0 0 .177-3.688 2.75 2.75 0 0 0-4.137-3.606l-3.6 3.6a.75.75 0 0 0-.03 1.029l2.665 2.992a.75.75 0 0 0 1.09.032l1.327-1.327.006-.006.006-.006Zm.48-5.62a1.25 1.25 0 0 1 .885 2.134l-1.901 1.901-1.768-1.768 1.9-1.9a1.25 1.25 0 0 1 .885-.367Zm-2.077 5.096-.24.24-1.666-1.87.138-.138 1.768 1.768Zm-8.608 2.95a.75.75 0 0 1 1.052-.008l2.876 2.781a.75.75 0 0 1 .008 1.07l-.888.888a1.75 1.75 0 0 1-1.825.41L4.01 16.468a.75.75 0 0 1-1.061 0l-.177-.177-.74.742A.75.75 0 1 1 .97 15.97l.74-.741-.176-.177a.75.75 0 0 1 0-1.061l1.003-1.004a1.75 1.75 0 0 1 .411-1.824l.841-.842Zm.043 4.2-.354-.353-.353.353.353.354.354-.354Zm1.768-.457a.25.25 0 0 0 .176-.073l.35-.349-1.797-1.738-.32.32a.25.25 0 0 0-.005.348l.005.005 1.414 1.414.005.005a.25.25 0 0 0 .172.068Z" })), fu = s(du), mu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(fu, {}) }));
|
|
3511
|
+
mu.displayName = "VisualIcon";
|
|
3512
|
+
const pu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 17, fill: "currentColor", viewBox: "0 0 18 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M6.501 4.251a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5Zm-.25 1.75a.25.25 0 1 1 .5 0 .25.25 0 0 1-.5 0Zm4 4a1.75 1.75 0 1 1 3.5 0 1.75 1.75 0 0 1-3.5 0Zm1.75-.25a.25.25 0 1 0 0 .5.25.25 0 0 0 0-.5Zm.03-3.719a.75.75 0 1 0-1.06-1.061l-5 5a.75.75 0 0 0 1.06 1.06l5-5Z" }), /* @__PURE__ */ o.createElement("path", { d: "M2.501 2.251a1.75 1.75 0 0 0-1.75 1.75v2c0 .414.336.75.75.75a1.25 1.25 0 0 1 0 2.5.75.75 0 0 0-.75.75v2a1.75 1.75 0 0 0 1.75 1.75h13a1.75 1.75 0 0 0 1.75-1.75v-2a.75.75 0 0 0-.75-.75 1.25 1.25 0 0 1 0-2.5.75.75 0 0 0 .75-.75v-2a1.75 1.75 0 0 0-1.75-1.75h-13Zm-.177 1.573a.25.25 0 0 1 .177-.073h13a.25.25 0 0 1 .25.25v1.354a2.75 2.75 0 0 0 0 5.292v1.354a.25.25 0 0 1-.25.25h-13a.25.25 0 0 1-.25-.25v-1.354a2.75 2.75 0 0 0 0-5.292V4.001a.25.25 0 0 1 .073-.177Z" })), vu = s(pu), gu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(vu, {}) }));
|
|
3513
|
+
gu.displayName = "VoucherIcon";
|
|
3514
|
+
const wu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 17, fill: "currentColor", viewBox: "0 0 16 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M7.751 4.751a.75.75 0 0 0-.75.75v2.5a.748.748 0 0 0 .22.53l3.124 3.126a.75.75 0 1 0 1.061-1.06L8.501 7.69V5.5a.75.75 0 0 0-.75-.75Z" }), /* @__PURE__ */ o.createElement("path", { d: "M8.001.251a7.75 7.75 0 1 0 0 15.5 7.75 7.75 0 0 0 0-15.5Zm-6.25 7.75a6.25 6.25 0 1 1 12.5 0 6.25 6.25 0 0 1-12.5 0Z" })), Eu = s(wu), bu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(Eu, {}) }));
|
|
3515
|
+
bu.displayName = "WaitIcon";
|
|
3516
|
+
const yu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M7.501.751a.75.75 0 0 1 .75.75v1.25l4.328-.002a1.75 1.75 0 0 1 1.254.529l2.91 2.99a1.75 1.75 0 0 1 0 2.467l-2.91 2.988a1.751 1.751 0 0 1-1.254.528H8.25v4.25a.75.75 0 0 1-1.5 0v-4.25H2.5a1.75 1.75 0 0 1-1.75-1.75v-6a1.75 1.75 0 0 1 1.75-1.75h4.25V1.5A.75.75 0 0 1 7.5.75Zm0 3.5h-5a.25.25 0 0 0-.25.25v6a.25.25 0 0 0 .25.25H12.58a.253.253 0 0 0 .18-.075l2.92-2.998a.25.25 0 0 0 0-.354l-.008-.007-2.912-2.992a.252.252 0 0 0-.18-.076l-5.038.001a.762.762 0 0 1-.04.001Z" })), xu = s(yu), Su = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(xu, {}) }));
|
|
3517
|
+
Su.displayName = "WalkthroughsIcon";
|
|
3518
|
+
const Cu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", viewBox: "0 0 16 16", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M15.413 13.333 9.18 1.433a1.333 1.333 0 0 0-2.362 0l-6.232 11.9a1.333 1.333 0 0 0 1.182 1.952H14.23a1.333 1.333 0 0 0 1.182-1.952Zm-8.08-7.718a.667.667 0 0 1 1.334 0v4a.667.667 0 0 1-1.334 0v-4Zm.7 7.674h-.018A1.019 1.019 0 0 1 7 12.309a.984.984 0 0 1 .965-1.02h.019a1.018 1.018 0 0 1 .954 1.362.983.983 0 0 1-.905.638Z" })), t5 = s(Cu), Mu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(t5, {}) }));
|
|
3519
|
+
Mu.displayName = "WarningFillIcon";
|
|
3520
|
+
const Ru = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 17, height: 17, fill: "currentColor", viewBox: "0 0 17 17", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8.001 1.751a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5Zm2.404 3.938a3.25 3.25 0 1 0-4.808 0l-1.6 3.6A3.25 3.25 0 1 0 6.713 13H9.29a3.25 3.25 0 1 0 2.715-3.712l-1.6-3.6Zm-1.261.856 1.47 3.31c-.56.4-.99.976-1.206 1.646H6.595a3.257 3.257 0 0 0-1.208-1.647l1.471-3.31a3.243 3.243 0 0 0 2.286 0ZM3.5 10.75a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5Zm9 0a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5Z" })), Zu = s(Ru), Iu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(Zu, {}) }));
|
|
3521
|
+
Iu.displayName = "WebhookIcon";
|
|
3522
|
+
const Au = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M2.34.78c-.687.09-1.263.57-1.492 1.244l-.082.242v5.715c0 5.44.003 5.724.055 5.908.15.528.5.944.983 1.171.385.18.382.18 2.982.18 1.497.001 2.41-.01 2.48-.029.282-.079.444-.296.468-.628.028-.396-.14-.698-.433-.78-.077-.02-.892-.032-2.433-.032-2.494 0-2.459.002-2.568-.154-.045-.063-.049-.43-.049-4.218V5.251h13.496l.01 1.492c.01 1.374.014 1.503.065 1.62.111.255.32.368.68.368.368 0 .577-.118.68-.384.051-.133.054-.313.054-3.096V2.296l-.07-.225a1.862 1.862 0 0 0-1.19-1.223l-.24-.082L9.121.762C5.483.76 2.431.768 2.341.78Zm13.247 1.507c.15.068.164.146.164.833v.631h-13.5l.001-.638c.001-.68.013-.743.152-.82.101-.056 13.061-.062 13.183-.006Zm-5.533 7.031c-.62.167-1.12.687-1.25 1.3-.064.3-.062 4.964.002 5.268.123.586.597 1.092 1.2 1.283l.21.067h2.79c3.104 0 2.92.011 3.33-.205.23-.122.573-.466.695-.696.215-.406.205-.257.205-3.059 0-2.743.004-2.665-.173-3.045-.12-.258-.5-.643-.764-.776-.372-.188-.29-.183-3.323-.182-2.313.002-2.786.01-2.922.045Zm5.556 1.458c.144.076.14-.004.14 2.48l.001 2.348-.074.073-.073.074h-5.213l-.072-.077-.073-.078-.009-2.255c-.005-1.24 0-2.3.01-2.356a.374.374 0 0 1 .09-.172l.071-.072h2.57c1.894 0 2.584.01 2.632.035Z" })), Tu = s(Au), Nu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(Tu, {}) }));
|
|
3523
|
+
Nu.displayName = "WeblayerIcon";
|
|
3524
|
+
const Lu = (e, t) => /* @__PURE__ */ o.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, fill: "currentColor", viewBox: "0 0 18 18", ref: t, ...e }, /* @__PURE__ */ o.createElement("path", { d: "M8.178 2.226a5.381 5.381 0 0 1 6.278-.815.75.75 0 0 1 .171 1.189l-2.4 2.4a.25.25 0 0 0 0 .353l.533.534a.25.25 0 0 0 .354 0l2.367-2.364a.75.75 0 0 1 1.2.194 5.383 5.383 0 0 1-6.63 7.479L4.514 16.73a1.778 1.778 0 0 1-2.517 0l-.727-.727a1.778 1.778 0 0 1 0-2.516L6.81 7.95a5.382 5.382 0 0 1 1.367-5.725Zm4.575.127a3.882 3.882 0 0 0-4.38 5.451.75.75 0 0 1-.146.854l-5.895 5.891a.278.278 0 0 0 0 .394l.727.728a.279.279 0 0 0 .395 0l5.89-5.89a.75.75 0 0 1 .854-.147 3.884 3.884 0 0 0 5.492-4.2l-1.516 1.514a1.75 1.75 0 0 1-2.474 0l-.533-.534a1.75 1.75 0 0 1 0-2.475l1.586-1.586Z" })), Fu = s(Lu), Bu = s((e, t) => /* @__PURE__ */ l(v, { ...e, ref: t, children: /* @__PURE__ */ l(Fu, {}) }));
|
|
3525
|
+
Bu.displayName = "WrenchIcon";
|
|
3526
3526
|
function D0(e) {
|
|
3527
3527
|
let t = e.activeElement;
|
|
3528
3528
|
for (; ((n = t) == null || (n = n.shadowRoot) == null ? void 0 : n.activeElement) != null; ) {
|
|
@@ -3551,7 +3551,7 @@ function n5() {
|
|
|
3551
3551
|
const e = navigator.userAgentData;
|
|
3552
3552
|
return e != null && e.platform ? e.platform : navigator.platform;
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3554
|
+
function Pu() {
|
|
3555
3555
|
const e = navigator.userAgentData;
|
|
3556
3556
|
return e && Array.isArray(e.brands) ? e.brands.map((t) => {
|
|
3557
3557
|
let {
|
|
@@ -3561,18 +3561,18 @@ function Ph() {
|
|
|
3561
3561
|
return n + "/" + r;
|
|
3562
3562
|
}).join(" ") : navigator.userAgent;
|
|
3563
3563
|
}
|
|
3564
|
-
function
|
|
3565
|
-
return !
|
|
3564
|
+
function Hu(e) {
|
|
3565
|
+
return !Vu() && e.width === 0 && e.height === 0 || e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
|
|
3566
3566
|
e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0;
|
|
3567
3567
|
}
|
|
3568
3568
|
function r5() {
|
|
3569
3569
|
return /apple/i.test(navigator.vendor);
|
|
3570
3570
|
}
|
|
3571
|
-
function
|
|
3571
|
+
function Vu() {
|
|
3572
3572
|
const e = /android/i;
|
|
3573
|
-
return e.test(n5()) || e.test(
|
|
3573
|
+
return e.test(n5()) || e.test(Pu());
|
|
3574
3574
|
}
|
|
3575
|
-
function
|
|
3575
|
+
function Ou() {
|
|
3576
3576
|
return n5().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
|
|
3577
3577
|
}
|
|
3578
3578
|
function o5(e, t) {
|
|
@@ -3582,18 +3582,18 @@ function o5(e, t) {
|
|
|
3582
3582
|
function Te(e) {
|
|
3583
3583
|
return (e == null ? void 0 : e.ownerDocument) || document;
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3585
|
+
function _u(e) {
|
|
3586
3586
|
return "composedPath" in e ? e.composedPath()[0] : e.target;
|
|
3587
3587
|
}
|
|
3588
|
-
const $
|
|
3589
|
-
function
|
|
3590
|
-
return
|
|
3588
|
+
const $u = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
3589
|
+
function Du(e) {
|
|
3590
|
+
return he(e) && e.matches($u);
|
|
3591
3591
|
}
|
|
3592
3592
|
/*!
|
|
3593
3593
|
* tabbable 6.2.0
|
|
3594
3594
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
3595
3595
|
*/
|
|
3596
|
-
var
|
|
3596
|
+
var ku = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], k0 = /* @__PURE__ */ ku.join(","), a5 = typeof Element > "u", $e = a5 ? function() {
|
|
3597
3597
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, c0 = !a5 && Element.prototype.getRootNode ? function(e) {
|
|
3598
3598
|
var t;
|
|
3599
3599
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -3604,23 +3604,23 @@ var kh = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3604
3604
|
n === void 0 && (n = !0);
|
|
3605
3605
|
var a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), i = a === "" || a === "true", c = i || n && t && e(t.parentNode);
|
|
3606
3606
|
return c;
|
|
3607
|
-
},
|
|
3607
|
+
}, Uu = function(t) {
|
|
3608
3608
|
var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
3609
3609
|
return r === "" || r === "true";
|
|
3610
|
-
},
|
|
3610
|
+
}, Wu = function(t, n, r) {
|
|
3611
3611
|
if (s0(t))
|
|
3612
3612
|
return [];
|
|
3613
3613
|
var a = Array.prototype.slice.apply(t.querySelectorAll(k0));
|
|
3614
3614
|
return n && $e.call(t, k0) && a.unshift(t), a = a.filter(r), a;
|
|
3615
|
-
},
|
|
3615
|
+
}, zu = function e(t, n, r) {
|
|
3616
3616
|
for (var a = [], i = Array.from(t); i.length; ) {
|
|
3617
3617
|
var c = i.shift();
|
|
3618
3618
|
if (!s0(c, !1))
|
|
3619
3619
|
if (c.tagName === "SLOT") {
|
|
3620
|
-
var
|
|
3621
|
-
r.flatten ? a.push.apply(a,
|
|
3620
|
+
var u = c.assignedElements(), d = u.length ? u : c.children, h = e(d, !0, r);
|
|
3621
|
+
r.flatten ? a.push.apply(a, h) : a.push({
|
|
3622
3622
|
scopeParent: c,
|
|
3623
|
-
candidates:
|
|
3623
|
+
candidates: h
|
|
3624
3624
|
});
|
|
3625
3625
|
} else {
|
|
3626
3626
|
var f = $e.call(c, k0);
|
|
@@ -3643,30 +3643,30 @@ var kh = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3643
3643
|
}, l5 = function(t) {
|
|
3644
3644
|
if (!t)
|
|
3645
3645
|
throw new Error("No node provided");
|
|
3646
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
3647
|
-
},
|
|
3646
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Uu(t)) && !i5(t) ? 0 : t.tabIndex;
|
|
3647
|
+
}, ju = function(t, n) {
|
|
3648
3648
|
var r = l5(t);
|
|
3649
3649
|
return r < 0 && n && !i5(t) ? 0 : r;
|
|
3650
|
-
},
|
|
3650
|
+
}, Yu = function(t, n) {
|
|
3651
3651
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
3652
3652
|
}, c5 = function(t) {
|
|
3653
3653
|
return t.tagName === "INPUT";
|
|
3654
|
-
},
|
|
3654
|
+
}, qu = function(t) {
|
|
3655
3655
|
return c5(t) && t.type === "hidden";
|
|
3656
|
-
},
|
|
3656
|
+
}, Gu = function(t) {
|
|
3657
3657
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
|
|
3658
3658
|
return r.tagName === "SUMMARY";
|
|
3659
3659
|
});
|
|
3660
3660
|
return n;
|
|
3661
|
-
},
|
|
3661
|
+
}, Ku = function(t, n) {
|
|
3662
3662
|
for (var r = 0; r < t.length; r++)
|
|
3663
3663
|
if (t[r].checked && t[r].form === n)
|
|
3664
3664
|
return t[r];
|
|
3665
|
-
},
|
|
3665
|
+
}, Xu = function(t) {
|
|
3666
3666
|
if (!t.name)
|
|
3667
3667
|
return !0;
|
|
3668
|
-
var n = t.form || c0(t), r = function(
|
|
3669
|
-
return n.querySelectorAll('input[type="radio"][name="' +
|
|
3668
|
+
var n = t.form || c0(t), r = function(u) {
|
|
3669
|
+
return n.querySelectorAll('input[type="radio"][name="' + u + '"]');
|
|
3670
3670
|
}, a;
|
|
3671
3671
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
3672
3672
|
a = r(window.CSS.escape(t.name));
|
|
@@ -3676,26 +3676,26 @@ var kh = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3676
3676
|
} catch (c) {
|
|
3677
3677
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", c.message), !1;
|
|
3678
3678
|
}
|
|
3679
|
-
var i =
|
|
3679
|
+
var i = Ku(a, t.form);
|
|
3680
3680
|
return !i || i === t;
|
|
3681
|
-
},
|
|
3681
|
+
}, Qu = function(t) {
|
|
3682
3682
|
return c5(t) && t.type === "radio";
|
|
3683
|
-
},
|
|
3684
|
-
return
|
|
3685
|
-
},
|
|
3683
|
+
}, Ju = function(t) {
|
|
3684
|
+
return Qu(t) && !Xu(t);
|
|
3685
|
+
}, eh = function(t) {
|
|
3686
3686
|
var n, r = t && c0(t), a = (n = r) === null || n === void 0 ? void 0 : n.host, i = !1;
|
|
3687
3687
|
if (r && r !== t) {
|
|
3688
|
-
var c,
|
|
3689
|
-
for (i = !!((c = a) !== null && c !== void 0 && (
|
|
3690
|
-
var
|
|
3691
|
-
r = c0(a), a = (
|
|
3688
|
+
var c, u, d;
|
|
3689
|
+
for (i = !!((c = a) !== null && c !== void 0 && (u = c.ownerDocument) !== null && u !== void 0 && u.contains(a) || t != null && (d = t.ownerDocument) !== null && d !== void 0 && d.contains(t)); !i && a; ) {
|
|
3690
|
+
var h, f, m;
|
|
3691
|
+
r = c0(a), a = (h = r) === null || h === void 0 ? void 0 : h.host, i = !!((f = a) !== null && f !== void 0 && (m = f.ownerDocument) !== null && m !== void 0 && m.contains(a));
|
|
3692
3692
|
}
|
|
3693
3693
|
}
|
|
3694
3694
|
return i;
|
|
3695
3695
|
}, zt = function(t) {
|
|
3696
3696
|
var n = t.getBoundingClientRect(), r = n.width, a = n.height;
|
|
3697
3697
|
return r === 0 && a === 0;
|
|
3698
|
-
},
|
|
3698
|
+
}, th = function(t, n) {
|
|
3699
3699
|
var r = n.displayCheck, a = n.getShadowRoot;
|
|
3700
3700
|
if (getComputedStyle(t).visibility === "hidden")
|
|
3701
3701
|
return !0;
|
|
@@ -3704,22 +3704,22 @@ var kh = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3704
3704
|
return !0;
|
|
3705
3705
|
if (!r || r === "full" || r === "legacy-full") {
|
|
3706
3706
|
if (typeof a == "function") {
|
|
3707
|
-
for (var
|
|
3708
|
-
var d = t.parentElement,
|
|
3707
|
+
for (var u = t; t; ) {
|
|
3708
|
+
var d = t.parentElement, h = c0(t);
|
|
3709
3709
|
if (d && !d.shadowRoot && a(d) === !0)
|
|
3710
3710
|
return zt(t);
|
|
3711
|
-
t.assignedSlot ? t = t.assignedSlot : !d &&
|
|
3711
|
+
t.assignedSlot ? t = t.assignedSlot : !d && h !== t.ownerDocument ? t = h.host : t = d;
|
|
3712
3712
|
}
|
|
3713
|
-
t =
|
|
3713
|
+
t = u;
|
|
3714
3714
|
}
|
|
3715
|
-
if (
|
|
3715
|
+
if (eh(t))
|
|
3716
3716
|
return !t.getClientRects().length;
|
|
3717
3717
|
if (r !== "legacy-full")
|
|
3718
3718
|
return !0;
|
|
3719
3719
|
} else if (r === "non-zero-area")
|
|
3720
3720
|
return zt(t);
|
|
3721
3721
|
return !1;
|
|
3722
|
-
},
|
|
3722
|
+
}, nh = function(t) {
|
|
3723
3723
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
3724
3724
|
for (var n = t.parentElement; n; ) {
|
|
3725
3725
|
if (n.tagName === "FIELDSET" && n.disabled) {
|
|
@@ -3733,48 +3733,48 @@ var kh = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3733
3733
|
n = n.parentElement;
|
|
3734
3734
|
}
|
|
3735
3735
|
return !1;
|
|
3736
|
-
},
|
|
3736
|
+
}, rh = function(t, n) {
|
|
3737
3737
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
3738
3738
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
3739
3739
|
// note related to `candidateSelectors`)
|
|
3740
|
-
s0(n) ||
|
|
3741
|
-
|
|
3740
|
+
s0(n) || qu(n) || th(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
3741
|
+
Gu(n) || nh(n));
|
|
3742
3742
|
}, jt = function(t, n) {
|
|
3743
|
-
return !(
|
|
3744
|
-
},
|
|
3743
|
+
return !(Ju(n) || l5(n) < 0 || !rh(t, n));
|
|
3744
|
+
}, oh = function(t) {
|
|
3745
3745
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
3746
3746
|
return !!(isNaN(n) || n >= 0);
|
|
3747
|
-
},
|
|
3747
|
+
}, ah = function e(t) {
|
|
3748
3748
|
var n = [], r = [];
|
|
3749
3749
|
return t.forEach(function(a, i) {
|
|
3750
|
-
var c = !!a.scopeParent,
|
|
3751
|
-
d === 0 ? c ? n.push.apply(n,
|
|
3750
|
+
var c = !!a.scopeParent, u = c ? a.scopeParent : a, d = ju(u, c), h = c ? e(a.candidates) : u;
|
|
3751
|
+
d === 0 ? c ? n.push.apply(n, h) : n.push(u) : r.push({
|
|
3752
3752
|
documentOrder: i,
|
|
3753
3753
|
tabIndex: d,
|
|
3754
3754
|
item: a,
|
|
3755
3755
|
isScope: c,
|
|
3756
|
-
content:
|
|
3756
|
+
content: h
|
|
3757
3757
|
});
|
|
3758
|
-
}), r.sort(
|
|
3758
|
+
}), r.sort(Yu).reduce(function(a, i) {
|
|
3759
3759
|
return i.isScope ? a.push.apply(a, i.content) : a.push(i.content), a;
|
|
3760
3760
|
}, []).concat(n);
|
|
3761
3761
|
}, s5 = function(t, n) {
|
|
3762
3762
|
n = n || {};
|
|
3763
3763
|
var r;
|
|
3764
|
-
return n.getShadowRoot ? r =
|
|
3764
|
+
return n.getShadowRoot ? r = zu([t], n.includeContainer, {
|
|
3765
3765
|
filter: jt.bind(null, n),
|
|
3766
3766
|
flatten: !1,
|
|
3767
3767
|
getShadowRoot: n.getShadowRoot,
|
|
3768
|
-
shadowRootFilter:
|
|
3769
|
-
}) : r =
|
|
3768
|
+
shadowRootFilter: oh
|
|
3769
|
+
}) : r = Wu(t, n.includeContainer, jt.bind(null, n)), ah(r);
|
|
3770
3770
|
};
|
|
3771
|
-
const
|
|
3772
|
-
function
|
|
3771
|
+
const ih = o[/* @__PURE__ */ "useInsertionEffect".toString()], lh = ih || ((e) => e());
|
|
3772
|
+
function ch(e) {
|
|
3773
3773
|
const t = o.useRef(() => {
|
|
3774
3774
|
if (process.env.NODE_ENV !== "production")
|
|
3775
3775
|
throw new Error("Cannot call an event handler while rendering.");
|
|
3776
3776
|
});
|
|
3777
|
-
return
|
|
3777
|
+
return lh(() => {
|
|
3778
3778
|
t.current = e;
|
|
3779
3779
|
}), o.useCallback(function() {
|
|
3780
3780
|
for (var n = arguments.length, r = new Array(n), a = 0; a < n; a++)
|
|
@@ -3783,19 +3783,19 @@ function cu(e) {
|
|
|
3783
3783
|
}, []);
|
|
3784
3784
|
}
|
|
3785
3785
|
var me = typeof document < "u" ? m1 : nt;
|
|
3786
|
-
function
|
|
3787
|
-
return
|
|
3786
|
+
function u0() {
|
|
3787
|
+
return u0 = Object.assign ? Object.assign.bind() : function(e) {
|
|
3788
3788
|
for (var t = 1; t < arguments.length; t++) {
|
|
3789
3789
|
var n = arguments[t];
|
|
3790
3790
|
for (var r in n)
|
|
3791
3791
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
3792
3792
|
}
|
|
3793
3793
|
return e;
|
|
3794
|
-
},
|
|
3794
|
+
}, u0.apply(this, arguments);
|
|
3795
3795
|
}
|
|
3796
|
-
let A0 = !1,
|
|
3797
|
-
const Yt = () => "floating-ui-" +
|
|
3798
|
-
function
|
|
3796
|
+
let A0 = !1, sh = 0;
|
|
3797
|
+
const Yt = () => "floating-ui-" + sh++;
|
|
3798
|
+
function uh() {
|
|
3799
3799
|
const [e, t] = o.useState(() => A0 ? Yt() : void 0);
|
|
3800
3800
|
return me(() => {
|
|
3801
3801
|
e == null && t(Yt());
|
|
@@ -3803,7 +3803,7 @@ function hu() {
|
|
|
3803
3803
|
A0 || (A0 = !0);
|
|
3804
3804
|
}, []), e;
|
|
3805
3805
|
}
|
|
3806
|
-
const
|
|
3806
|
+
const hh = o[/* @__PURE__ */ "useId".toString()], w0 = hh || uh, dh = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
3807
3807
|
let {
|
|
3808
3808
|
context: {
|
|
3809
3809
|
placement: r,
|
|
@@ -3815,9 +3815,9 @@ const uu = o[/* @__PURE__ */ "useId".toString()], w0 = uu || hu, du = /* @__PURE
|
|
|
3815
3815
|
}
|
|
3816
3816
|
},
|
|
3817
3817
|
width: c = 14,
|
|
3818
|
-
height:
|
|
3818
|
+
height: u = 7,
|
|
3819
3819
|
tipRadius: d = 0,
|
|
3820
|
-
strokeWidth:
|
|
3820
|
+
strokeWidth: h = 0,
|
|
3821
3821
|
staticOffset: f,
|
|
3822
3822
|
stroke: m,
|
|
3823
3823
|
d: g,
|
|
@@ -3831,50 +3831,50 @@ const uu = o[/* @__PURE__ */ "useId".toString()], w0 = uu || hu, du = /* @__PURE
|
|
|
3831
3831
|
const S = w0();
|
|
3832
3832
|
if (!a)
|
|
3833
3833
|
return null;
|
|
3834
|
-
|
|
3835
|
-
const x =
|
|
3834
|
+
h *= 2;
|
|
3835
|
+
const x = h / 2, T = c / 2 * (d / -8 + 1), C = u / 2 * d / 4, [M, b] = r.split("-"), Z = $1.isRTL(a), A = !!g, L = M === "top" || M === "bottom", _ = f && b === "end" ? "bottom" : "top";
|
|
3836
3836
|
let k = f && b === "end" ? "right" : "left";
|
|
3837
3837
|
f && Z && (k = b === "end" ? "left" : "right");
|
|
3838
|
-
const D = (i == null ? void 0 : i.x) != null ? f || i.x : "", B = (i == null ? void 0 : i.y) != null ? f || i.y : "", $ = g || "M0,0" + (" H" + c) + (" L" + (c - T) + "," + (
|
|
3838
|
+
const D = (i == null ? void 0 : i.x) != null ? f || i.x : "", B = (i == null ? void 0 : i.y) != null ? f || i.y : "", $ = g || "M0,0" + (" H" + c) + (" L" + (c - T) + "," + (u - C)) + (" Q" + c / 2 + "," + u + " " + T + "," + (u - C)) + " Z", O = {
|
|
3839
3839
|
top: A ? "rotate(180deg)" : "",
|
|
3840
3840
|
left: A ? "rotate(90deg)" : "rotate(-90deg)",
|
|
3841
3841
|
bottom: A ? "" : "rotate(180deg)",
|
|
3842
3842
|
right: A ? "rotate(-90deg)" : "rotate(90deg)"
|
|
3843
3843
|
}[M];
|
|
3844
|
-
return /* @__PURE__ */ o.createElement("svg",
|
|
3844
|
+
return /* @__PURE__ */ o.createElement("svg", u0({}, E, {
|
|
3845
3845
|
"aria-hidden": !0,
|
|
3846
3846
|
ref: n,
|
|
3847
|
-
width: A ? c : c +
|
|
3847
|
+
width: A ? c : c + h,
|
|
3848
3848
|
height: c,
|
|
3849
|
-
viewBox: "0 0 " + c + " " + (
|
|
3849
|
+
viewBox: "0 0 " + c + " " + (u > c ? u : c),
|
|
3850
3850
|
style: {
|
|
3851
3851
|
position: "absolute",
|
|
3852
3852
|
pointerEvents: "none",
|
|
3853
3853
|
[k]: D,
|
|
3854
3854
|
[_]: B,
|
|
3855
|
-
[M]: L || A ? "100%" : "calc(100% - " +
|
|
3855
|
+
[M]: L || A ? "100%" : "calc(100% - " + h / 2 + "px)",
|
|
3856
3856
|
transform: "" + O + (p ?? ""),
|
|
3857
3857
|
...w
|
|
3858
3858
|
}
|
|
3859
|
-
}),
|
|
3859
|
+
}), h > 0 && /* @__PURE__ */ o.createElement("path", {
|
|
3860
3860
|
clipPath: "url(#" + S + ")",
|
|
3861
3861
|
fill: "none",
|
|
3862
3862
|
stroke: m,
|
|
3863
|
-
strokeWidth:
|
|
3863
|
+
strokeWidth: h + (g ? 0 : 1),
|
|
3864
3864
|
d: $
|
|
3865
3865
|
}), /* @__PURE__ */ o.createElement("path", {
|
|
3866
|
-
stroke:
|
|
3866
|
+
stroke: h && !g ? E.fill : "none",
|
|
3867
3867
|
d: $
|
|
3868
3868
|
}), /* @__PURE__ */ o.createElement("clipPath", {
|
|
3869
3869
|
id: S
|
|
3870
3870
|
}, /* @__PURE__ */ o.createElement("rect", {
|
|
3871
3871
|
x: -x,
|
|
3872
3872
|
y: x * (A ? -1 : 1),
|
|
3873
|
-
width: c +
|
|
3873
|
+
width: c + h,
|
|
3874
3874
|
height: c
|
|
3875
3875
|
})));
|
|
3876
3876
|
});
|
|
3877
|
-
function
|
|
3877
|
+
function fh() {
|
|
3878
3878
|
const e = /* @__PURE__ */ new Map();
|
|
3879
3879
|
return {
|
|
3880
3880
|
emit(t, n) {
|
|
@@ -3890,10 +3890,10 @@ function fu() {
|
|
|
3890
3890
|
}
|
|
3891
3891
|
};
|
|
3892
3892
|
}
|
|
3893
|
-
const
|
|
3893
|
+
const mh = /* @__PURE__ */ o.createContext(null), ph = /* @__PURE__ */ o.createContext(null), ft = () => {
|
|
3894
3894
|
var e;
|
|
3895
|
-
return ((e = o.useContext(
|
|
3896
|
-
},
|
|
3895
|
+
return ((e = o.useContext(mh)) == null ? void 0 : e.id) || null;
|
|
3896
|
+
}, u5 = () => o.useContext(ph);
|
|
3897
3897
|
function E0(e) {
|
|
3898
3898
|
return "data-floating-ui-" + e;
|
|
3899
3899
|
}
|
|
@@ -3907,7 +3907,7 @@ const Gt = /* @__PURE__ */ E0("safe-polygon");
|
|
|
3907
3907
|
function T0(e, t, n) {
|
|
3908
3908
|
return n && !o5(n) ? 0 : typeof e == "number" ? e : e == null ? void 0 : e[t];
|
|
3909
3909
|
}
|
|
3910
|
-
function
|
|
3910
|
+
function vh(e, t) {
|
|
3911
3911
|
t === void 0 && (t = {});
|
|
3912
3912
|
const {
|
|
3913
3913
|
open: n,
|
|
@@ -3916,24 +3916,24 @@ function vu(e, t) {
|
|
|
3916
3916
|
events: i,
|
|
3917
3917
|
elements: {
|
|
3918
3918
|
domReference: c,
|
|
3919
|
-
floating:
|
|
3919
|
+
floating: u
|
|
3920
3920
|
},
|
|
3921
3921
|
refs: d
|
|
3922
3922
|
} = e, {
|
|
3923
|
-
enabled:
|
|
3923
|
+
enabled: h = !0,
|
|
3924
3924
|
delay: f = 0,
|
|
3925
3925
|
handleClose: m = null,
|
|
3926
3926
|
mouseOnly: g = !1,
|
|
3927
3927
|
restMs: p = 0,
|
|
3928
3928
|
move: w = !0
|
|
3929
|
-
} = t, E =
|
|
3929
|
+
} = t, E = u5(), S = ft(), x = qt(m), T = qt(f), C = o.useRef(), M = o.useRef(), b = o.useRef(), Z = o.useRef(), A = o.useRef(!0), L = o.useRef(!1), _ = o.useRef(() => {
|
|
3930
3930
|
}), k = o.useCallback(() => {
|
|
3931
3931
|
var O;
|
|
3932
3932
|
const R = (O = a.current.openEvent) == null ? void 0 : O.type;
|
|
3933
3933
|
return (R == null ? void 0 : R.includes("mouse")) && R !== "mousedown";
|
|
3934
3934
|
}, [a]);
|
|
3935
3935
|
o.useEffect(() => {
|
|
3936
|
-
if (!
|
|
3936
|
+
if (!h)
|
|
3937
3937
|
return;
|
|
3938
3938
|
function O(R) {
|
|
3939
3939
|
let {
|
|
@@ -3944,17 +3944,17 @@ function vu(e, t) {
|
|
|
3944
3944
|
return i.on("openchange", O), () => {
|
|
3945
3945
|
i.off("openchange", O);
|
|
3946
3946
|
};
|
|
3947
|
-
}, [
|
|
3948
|
-
if (!
|
|
3947
|
+
}, [h, i]), o.useEffect(() => {
|
|
3948
|
+
if (!h || !x.current || !n)
|
|
3949
3949
|
return;
|
|
3950
3950
|
function O(y) {
|
|
3951
3951
|
k() && r(!1, y, "hover");
|
|
3952
3952
|
}
|
|
3953
|
-
const R = Te(
|
|
3953
|
+
const R = Te(u).documentElement;
|
|
3954
3954
|
return R.addEventListener("mouseleave", O), () => {
|
|
3955
3955
|
R.removeEventListener("mouseleave", O);
|
|
3956
3956
|
};
|
|
3957
|
-
}, [
|
|
3957
|
+
}, [u, n, r, h, x, a, k]);
|
|
3958
3958
|
const D = o.useCallback(function(O, R, y) {
|
|
3959
3959
|
R === void 0 && (R = !0), y === void 0 && (y = "hover");
|
|
3960
3960
|
const I = T0(T.current, "close", C.current);
|
|
@@ -3968,7 +3968,7 @@ function vu(e, t) {
|
|
|
3968
3968
|
}
|
|
3969
3969
|
}, [d]);
|
|
3970
3970
|
return o.useEffect(() => {
|
|
3971
|
-
if (!
|
|
3971
|
+
if (!h)
|
|
3972
3972
|
return;
|
|
3973
3973
|
function O() {
|
|
3974
3974
|
return a.current.openEvent ? ["click", "mousedown"].includes(a.current.openEvent.type) : !1;
|
|
@@ -3985,7 +3985,7 @@ function vu(e, t) {
|
|
|
3985
3985
|
if (O())
|
|
3986
3986
|
return;
|
|
3987
3987
|
_.current();
|
|
3988
|
-
const ae = Te(
|
|
3988
|
+
const ae = Te(u);
|
|
3989
3989
|
if (clearTimeout(Z.current), x.current) {
|
|
3990
3990
|
n || clearTimeout(M.current), b.current = x.current({
|
|
3991
3991
|
...e,
|
|
@@ -4002,7 +4002,7 @@ function vu(e, t) {
|
|
|
4002
4002
|
};
|
|
4003
4003
|
return;
|
|
4004
4004
|
}
|
|
4005
|
-
(C.current === "touch" ? !l0(
|
|
4005
|
+
(C.current === "touch" ? !l0(u, P.relatedTarget) : !0) && D(P);
|
|
4006
4006
|
}
|
|
4007
4007
|
function I(P) {
|
|
4008
4008
|
O() || x.current == null || x.current({
|
|
@@ -4017,30 +4017,30 @@ function vu(e, t) {
|
|
|
4017
4017
|
}
|
|
4018
4018
|
if (le(c)) {
|
|
4019
4019
|
const P = c;
|
|
4020
|
-
return n && P.addEventListener("mouseleave", I),
|
|
4020
|
+
return n && P.addEventListener("mouseleave", I), u == null || u.addEventListener("mouseleave", I), w && P.addEventListener("mousemove", R, {
|
|
4021
4021
|
once: !0
|
|
4022
4022
|
}), P.addEventListener("mouseenter", R), P.addEventListener("mouseleave", y), () => {
|
|
4023
|
-
n && P.removeEventListener("mouseleave", I),
|
|
4023
|
+
n && P.removeEventListener("mouseleave", I), u == null || u.removeEventListener("mouseleave", I), w && P.removeEventListener("mousemove", R), P.removeEventListener("mouseenter", R), P.removeEventListener("mouseleave", y);
|
|
4024
4024
|
};
|
|
4025
4025
|
}
|
|
4026
|
-
}, [c,
|
|
4026
|
+
}, [c, u, h, e, g, p, w, D, B, $, r, n, E, T, x, a]), me(() => {
|
|
4027
4027
|
var O;
|
|
4028
|
-
if (
|
|
4029
|
-
const y = Te(
|
|
4030
|
-
if (y.setAttribute(Gt, ""), y.style.pointerEvents = "none", L.current = !0, le(c) &&
|
|
4028
|
+
if (h && n && (O = x.current) != null && O.__options.blockPointerEvents && k()) {
|
|
4029
|
+
const y = Te(u).body;
|
|
4030
|
+
if (y.setAttribute(Gt, ""), y.style.pointerEvents = "none", L.current = !0, le(c) && u) {
|
|
4031
4031
|
var R;
|
|
4032
4032
|
const I = c, P = E == null || (R = E.nodesRef.current.find((ae) => ae.id === S)) == null || (R = R.context) == null ? void 0 : R.elements.floating;
|
|
4033
|
-
return P && (P.style.pointerEvents = ""), I.style.pointerEvents = "auto",
|
|
4034
|
-
I.style.pointerEvents = "",
|
|
4033
|
+
return P && (P.style.pointerEvents = ""), I.style.pointerEvents = "auto", u.style.pointerEvents = "auto", () => {
|
|
4034
|
+
I.style.pointerEvents = "", u.style.pointerEvents = "";
|
|
4035
4035
|
};
|
|
4036
4036
|
}
|
|
4037
4037
|
}
|
|
4038
|
-
}, [
|
|
4038
|
+
}, [h, n, S, u, c, E, x, a, k]), me(() => {
|
|
4039
4039
|
n || (C.current = void 0, B(), $());
|
|
4040
4040
|
}, [n, B, $]), o.useEffect(() => () => {
|
|
4041
4041
|
B(), clearTimeout(M.current), clearTimeout(Z.current), $();
|
|
4042
|
-
}, [
|
|
4043
|
-
if (!
|
|
4042
|
+
}, [h, c, B, $]), o.useMemo(() => {
|
|
4043
|
+
if (!h)
|
|
4044
4044
|
return {};
|
|
4045
4045
|
function O(R) {
|
|
4046
4046
|
C.current = R.pointerType;
|
|
@@ -4064,9 +4064,9 @@ function vu(e, t) {
|
|
|
4064
4064
|
}
|
|
4065
4065
|
}
|
|
4066
4066
|
};
|
|
4067
|
-
}, [
|
|
4067
|
+
}, [h, p, n, r, D]);
|
|
4068
4068
|
}
|
|
4069
|
-
const
|
|
4069
|
+
const h5 = () => ({
|
|
4070
4070
|
getShadowRoot: !0,
|
|
4071
4071
|
displayCheck: (
|
|
4072
4072
|
// JSDOM does not support the `tabbable` library. To solve this we can
|
|
@@ -4076,27 +4076,27 @@ const u5 = () => ({
|
|
|
4076
4076
|
)
|
|
4077
4077
|
});
|
|
4078
4078
|
function d5(e, t) {
|
|
4079
|
-
const n = s5(e,
|
|
4079
|
+
const n = s5(e, h5());
|
|
4080
4080
|
t === "prev" && n.reverse();
|
|
4081
4081
|
const r = n.indexOf(D0(Te(e)));
|
|
4082
4082
|
return n.slice(r + 1)[0];
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4084
|
+
function gh() {
|
|
4085
4085
|
return d5(document.body, "next");
|
|
4086
4086
|
}
|
|
4087
|
-
function
|
|
4087
|
+
function wh() {
|
|
4088
4088
|
return d5(document.body, "prev");
|
|
4089
4089
|
}
|
|
4090
4090
|
function N0(e, t) {
|
|
4091
4091
|
const n = t || e.currentTarget, r = e.relatedTarget;
|
|
4092
4092
|
return !r || !l0(n, r);
|
|
4093
4093
|
}
|
|
4094
|
-
function
|
|
4095
|
-
s5(e,
|
|
4094
|
+
function Eh(e) {
|
|
4095
|
+
s5(e, h5()).forEach((n) => {
|
|
4096
4096
|
n.dataset.tabindex = n.getAttribute("tabindex") || "", n.setAttribute("tabindex", "-1");
|
|
4097
4097
|
});
|
|
4098
4098
|
}
|
|
4099
|
-
function
|
|
4099
|
+
function bh(e) {
|
|
4100
4100
|
e.querySelectorAll("[data-tabindex]").forEach((n) => {
|
|
4101
4101
|
const r = n.dataset.tabindex;
|
|
4102
4102
|
delete n.dataset.tabindex, r ? n.setAttribute("tabindex", r) : n.removeAttribute("tabindex");
|
|
@@ -4115,9 +4115,9 @@ const f5 = {
|
|
|
4115
4115
|
top: 0,
|
|
4116
4116
|
left: 0
|
|
4117
4117
|
};
|
|
4118
|
-
let
|
|
4118
|
+
let yh;
|
|
4119
4119
|
function Kt(e) {
|
|
4120
|
-
e.key === "Tab" && (e.target, clearTimeout(
|
|
4120
|
+
e.key === "Tab" && (e.target, clearTimeout(yh));
|
|
4121
4121
|
}
|
|
4122
4122
|
const Xt = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
4123
4123
|
const [r, a] = o.useState();
|
|
@@ -4133,14 +4133,14 @@ const Xt = /* @__PURE__ */ o.forwardRef(function(t, n) {
|
|
|
4133
4133
|
[E0("focus-guard")]: "",
|
|
4134
4134
|
style: f5
|
|
4135
4135
|
};
|
|
4136
|
-
return /* @__PURE__ */ o.createElement("span",
|
|
4136
|
+
return /* @__PURE__ */ o.createElement("span", u0({}, t, i));
|
|
4137
4137
|
}), m5 = /* @__PURE__ */ o.createContext(null);
|
|
4138
|
-
function
|
|
4138
|
+
function xh(e) {
|
|
4139
4139
|
let {
|
|
4140
4140
|
id: t,
|
|
4141
4141
|
root: n
|
|
4142
4142
|
} = e === void 0 ? {} : e;
|
|
4143
|
-
const [r, a] = o.useState(null), i = w0(), c =
|
|
4143
|
+
const [r, a] = o.useState(null), i = w0(), c = Ch(), u = o.useMemo(() => ({
|
|
4144
4144
|
id: t,
|
|
4145
4145
|
root: n,
|
|
4146
4146
|
portalContext: c,
|
|
@@ -4148,16 +4148,16 @@ function xu(e) {
|
|
|
4148
4148
|
}), [t, n, c, i]), d = o.useRef();
|
|
4149
4149
|
return me(() => () => {
|
|
4150
4150
|
r == null || r.remove();
|
|
4151
|
-
}, [r,
|
|
4152
|
-
if (d.current ===
|
|
4151
|
+
}, [r, u]), me(() => {
|
|
4152
|
+
if (d.current === u)
|
|
4153
4153
|
return;
|
|
4154
|
-
d.current =
|
|
4154
|
+
d.current = u;
|
|
4155
4155
|
const {
|
|
4156
|
-
id:
|
|
4156
|
+
id: h,
|
|
4157
4157
|
root: f,
|
|
4158
4158
|
portalContext: m,
|
|
4159
4159
|
uniqueId: g
|
|
4160
|
-
} =
|
|
4160
|
+
} = u, p = h ? document.getElementById(h) : null, w = E0("portal");
|
|
4161
4161
|
if (p) {
|
|
4162
4162
|
const E = document.createElement("div");
|
|
4163
4163
|
E.id = g, E.setAttribute(w, ""), p.appendChild(E), a(E);
|
|
@@ -4165,23 +4165,23 @@ function xu(e) {
|
|
|
4165
4165
|
let E = f || (m == null ? void 0 : m.portalNode);
|
|
4166
4166
|
E && !le(E) && (E = E.current), E = E || document.body;
|
|
4167
4167
|
let S = null;
|
|
4168
|
-
|
|
4168
|
+
h && (S = document.createElement("div"), S.id = h, E.appendChild(S));
|
|
4169
4169
|
const x = document.createElement("div");
|
|
4170
4170
|
x.id = g, x.setAttribute(w, ""), E = S || E, E.appendChild(x), a(x);
|
|
4171
4171
|
}
|
|
4172
|
-
}, [
|
|
4172
|
+
}, [u]), r;
|
|
4173
4173
|
}
|
|
4174
|
-
function
|
|
4174
|
+
function Sh(e) {
|
|
4175
4175
|
let {
|
|
4176
4176
|
children: t,
|
|
4177
4177
|
id: n,
|
|
4178
4178
|
root: r = null,
|
|
4179
4179
|
preserveTabOrder: a = !0
|
|
4180
4180
|
} = e;
|
|
4181
|
-
const i =
|
|
4181
|
+
const i = xh({
|
|
4182
4182
|
id: n,
|
|
4183
4183
|
root: r
|
|
4184
|
-
}), [c,
|
|
4184
|
+
}), [c, u] = o.useState(null), d = o.useRef(null), h = o.useRef(null), f = o.useRef(null), m = o.useRef(null), g = (
|
|
4185
4185
|
// The FocusManager and therefore floating element are currently open/
|
|
4186
4186
|
// rendered.
|
|
4187
4187
|
!!c && // Guards are only for non-modal focus management.
|
|
@@ -4192,7 +4192,7 @@ function Su(e) {
|
|
|
4192
4192
|
if (!i || !a || c != null && c.modal)
|
|
4193
4193
|
return;
|
|
4194
4194
|
function p(w) {
|
|
4195
|
-
i && N0(w) && (w.type === "focusin" ?
|
|
4195
|
+
i && N0(w) && (w.type === "focusin" ? bh : Eh)(i);
|
|
4196
4196
|
}
|
|
4197
4197
|
return i.addEventListener("focusin", p, !0), i.addEventListener("focusout", p, !0), () => {
|
|
4198
4198
|
i.removeEventListener("focusin", p, !0), i.removeEventListener("focusout", p, !0);
|
|
@@ -4201,11 +4201,11 @@ function Su(e) {
|
|
|
4201
4201
|
value: o.useMemo(() => ({
|
|
4202
4202
|
preserveTabOrder: a,
|
|
4203
4203
|
beforeOutsideRef: d,
|
|
4204
|
-
afterOutsideRef:
|
|
4204
|
+
afterOutsideRef: h,
|
|
4205
4205
|
beforeInsideRef: f,
|
|
4206
4206
|
afterInsideRef: m,
|
|
4207
4207
|
portalNode: i,
|
|
4208
|
-
setFocusManagerState:
|
|
4208
|
+
setFocusManagerState: u
|
|
4209
4209
|
}), [a, i])
|
|
4210
4210
|
}, g && i && /* @__PURE__ */ o.createElement(Xt, {
|
|
4211
4211
|
"data-type": "outside",
|
|
@@ -4215,7 +4215,7 @@ function Su(e) {
|
|
|
4215
4215
|
var w;
|
|
4216
4216
|
(w = f.current) == null || w.focus();
|
|
4217
4217
|
} else {
|
|
4218
|
-
const E =
|
|
4218
|
+
const E = wh() || (c == null ? void 0 : c.refs.domReference.current);
|
|
4219
4219
|
E == null || E.focus();
|
|
4220
4220
|
}
|
|
4221
4221
|
}
|
|
@@ -4224,22 +4224,22 @@ function Su(e) {
|
|
|
4224
4224
|
style: f5
|
|
4225
4225
|
}), i && /* @__PURE__ */ N5(t, i), g && i && /* @__PURE__ */ o.createElement(Xt, {
|
|
4226
4226
|
"data-type": "outside",
|
|
4227
|
-
ref:
|
|
4227
|
+
ref: h,
|
|
4228
4228
|
onFocus: (p) => {
|
|
4229
4229
|
if (N0(p, i)) {
|
|
4230
4230
|
var w;
|
|
4231
4231
|
(w = m.current) == null || w.focus();
|
|
4232
4232
|
} else {
|
|
4233
|
-
const E =
|
|
4233
|
+
const E = gh() || (c == null ? void 0 : c.refs.domReference.current);
|
|
4234
4234
|
E == null || E.focus(), c != null && c.closeOnFocusOut && (c == null || c.onOpenChange(!1, p.nativeEvent));
|
|
4235
4235
|
}
|
|
4236
4236
|
}
|
|
4237
4237
|
}));
|
|
4238
4238
|
}
|
|
4239
|
-
const
|
|
4239
|
+
const Ch = () => o.useContext(m5);
|
|
4240
4240
|
let U0;
|
|
4241
4241
|
process.env.NODE_ENV !== "production" && (U0 = /* @__PURE__ */ new Set());
|
|
4242
|
-
function
|
|
4242
|
+
function Mh(e) {
|
|
4243
4243
|
var t;
|
|
4244
4244
|
e === void 0 && (e = {});
|
|
4245
4245
|
const {
|
|
@@ -4253,26 +4253,26 @@ function Mu(e) {
|
|
|
4253
4253
|
if ((i = e.elements) != null && i.reference && !le(e.elements.reference)) {
|
|
4254
4254
|
var c;
|
|
4255
4255
|
if (!((c = U0) != null && c.has(L))) {
|
|
4256
|
-
var
|
|
4257
|
-
(
|
|
4256
|
+
var u;
|
|
4257
|
+
(u = U0) == null || u.add(L), console.error(L);
|
|
4258
4258
|
}
|
|
4259
4259
|
}
|
|
4260
4260
|
}
|
|
4261
|
-
const [d,
|
|
4261
|
+
const [d, h] = o.useState(null), f = ((t = e.elements) == null ? void 0 : t.reference) || d, m = vr(e), g = u5(), p = ft() != null, w = ch((L, _, k) => {
|
|
4262
4262
|
L && (S.current.openEvent = _), x.emit("openchange", {
|
|
4263
4263
|
open: L,
|
|
4264
4264
|
event: _,
|
|
4265
4265
|
reason: k,
|
|
4266
4266
|
nested: p
|
|
4267
4267
|
}), r == null || r(L, _, k);
|
|
4268
|
-
}), E = o.useRef(null), S = o.useRef({}), x = o.useState(() =>
|
|
4268
|
+
}), E = o.useRef(null), S = o.useRef({}), x = o.useState(() => fh())[0], T = w0(), C = o.useCallback((L) => {
|
|
4269
4269
|
const _ = le(L) ? {
|
|
4270
4270
|
getBoundingClientRect: () => L.getBoundingClientRect(),
|
|
4271
4271
|
contextElement: L
|
|
4272
4272
|
} : L;
|
|
4273
4273
|
m.refs.setReference(_);
|
|
4274
4274
|
}, [m.refs]), M = o.useCallback((L) => {
|
|
4275
|
-
(le(L) || L === null) && (E.current = L,
|
|
4275
|
+
(le(L) || L === null) && (E.current = L, h(L)), (le(m.refs.reference.current) || m.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
|
|
4276
4276
|
// `null` to support `positionReference` + an unstable `reference`
|
|
4277
4277
|
// callback ref.
|
|
4278
4278
|
L !== null && !le(L)) && m.refs.setReference(L);
|
|
@@ -4305,7 +4305,7 @@ function Mu(e) {
|
|
|
4305
4305
|
elements: Z
|
|
4306
4306
|
}), [m, b, Z, A]);
|
|
4307
4307
|
}
|
|
4308
|
-
function
|
|
4308
|
+
function Rh(e, t) {
|
|
4309
4309
|
t === void 0 && (t = {});
|
|
4310
4310
|
const {
|
|
4311
4311
|
open: n,
|
|
@@ -4314,18 +4314,18 @@ function Ru(e, t) {
|
|
|
4314
4314
|
refs: i,
|
|
4315
4315
|
elements: {
|
|
4316
4316
|
floating: c,
|
|
4317
|
-
domReference:
|
|
4317
|
+
domReference: u
|
|
4318
4318
|
}
|
|
4319
4319
|
} = e, {
|
|
4320
4320
|
enabled: d = !0,
|
|
4321
|
-
visibleOnly:
|
|
4321
|
+
visibleOnly: h = !0
|
|
4322
4322
|
} = t, f = o.useRef(!1), m = o.useRef(), g = o.useRef(!0);
|
|
4323
4323
|
return o.useEffect(() => {
|
|
4324
4324
|
if (!d)
|
|
4325
4325
|
return;
|
|
4326
|
-
const p =
|
|
4326
|
+
const p = ue(u);
|
|
4327
4327
|
function w() {
|
|
4328
|
-
!n &&
|
|
4328
|
+
!n && he(u) && u === D0(Te(u)) && (f.current = !0);
|
|
4329
4329
|
}
|
|
4330
4330
|
function E() {
|
|
4331
4331
|
g.current = !0;
|
|
@@ -4333,7 +4333,7 @@ function Ru(e, t) {
|
|
|
4333
4333
|
return p.addEventListener("blur", w), p.addEventListener("keydown", E, !0), () => {
|
|
4334
4334
|
p.removeEventListener("blur", w), p.removeEventListener("keydown", E, !0);
|
|
4335
4335
|
};
|
|
4336
|
-
}, [c,
|
|
4336
|
+
}, [c, u, n, d]), o.useEffect(() => {
|
|
4337
4337
|
if (!d)
|
|
4338
4338
|
return;
|
|
4339
4339
|
function p(w) {
|
|
@@ -4350,7 +4350,7 @@ function Ru(e, t) {
|
|
|
4350
4350
|
}, []), o.useMemo(() => d ? {
|
|
4351
4351
|
reference: {
|
|
4352
4352
|
onPointerDown(p) {
|
|
4353
|
-
|
|
4353
|
+
Hu(p.nativeEvent) || (g.current = !1);
|
|
4354
4354
|
},
|
|
4355
4355
|
onMouseLeave() {
|
|
4356
4356
|
f.current = !1;
|
|
@@ -4358,15 +4358,15 @@ function Ru(e, t) {
|
|
|
4358
4358
|
onFocus(p) {
|
|
4359
4359
|
if (f.current)
|
|
4360
4360
|
return;
|
|
4361
|
-
const w =
|
|
4362
|
-
if (
|
|
4361
|
+
const w = _u(p.nativeEvent);
|
|
4362
|
+
if (h && le(w))
|
|
4363
4363
|
try {
|
|
4364
|
-
if (r5() &&
|
|
4364
|
+
if (r5() && Ou())
|
|
4365
4365
|
throw Error();
|
|
4366
4366
|
if (!w.matches(":focus-visible"))
|
|
4367
4367
|
return;
|
|
4368
4368
|
} catch {
|
|
4369
|
-
if (!g.current && !
|
|
4369
|
+
if (!g.current && !Du(w))
|
|
4370
4370
|
return;
|
|
4371
4371
|
}
|
|
4372
4372
|
r(!0, p.nativeEvent, "focus");
|
|
@@ -4375,12 +4375,12 @@ function Ru(e, t) {
|
|
|
4375
4375
|
f.current = !1;
|
|
4376
4376
|
const w = p.relatedTarget, E = le(w) && w.hasAttribute(E0("focus-guard")) && w.getAttribute("data-type") === "outside";
|
|
4377
4377
|
m.current = window.setTimeout(() => {
|
|
4378
|
-
const S = D0(
|
|
4379
|
-
!w && S ===
|
|
4378
|
+
const S = D0(u ? u.ownerDocument : document);
|
|
4379
|
+
!w && S === u || l0(i.floating.current, w) || l0(u, w) || E || r(!1, p.nativeEvent, "focus");
|
|
4380
4380
|
});
|
|
4381
4381
|
}
|
|
4382
4382
|
}
|
|
4383
|
-
} : {}, [d,
|
|
4383
|
+
} : {}, [d, h, u, i, r]);
|
|
4384
4384
|
}
|
|
4385
4385
|
const Qt = "active", Jt = "selected";
|
|
4386
4386
|
function L0(e, t, n) {
|
|
@@ -4389,7 +4389,7 @@ function L0(e, t, n) {
|
|
|
4389
4389
|
if (a && e) {
|
|
4390
4390
|
const {
|
|
4391
4391
|
[Qt]: c,
|
|
4392
|
-
[Jt]:
|
|
4392
|
+
[Jt]: u,
|
|
4393
4393
|
...d
|
|
4394
4394
|
} = e;
|
|
4395
4395
|
i = d;
|
|
@@ -4400,26 +4400,26 @@ function L0(e, t, n) {
|
|
|
4400
4400
|
},
|
|
4401
4401
|
...i,
|
|
4402
4402
|
...t.map((c) => {
|
|
4403
|
-
const
|
|
4404
|
-
return typeof
|
|
4405
|
-
}).concat(e).reduce((c,
|
|
4406
|
-
let [
|
|
4407
|
-
if (!(a && [Qt, Jt].includes(
|
|
4408
|
-
if (
|
|
4409
|
-
if (r.has(
|
|
4403
|
+
const u = c ? c[n] : null;
|
|
4404
|
+
return typeof u == "function" ? e ? u(e) : null : u;
|
|
4405
|
+
}).concat(e).reduce((c, u) => (u && Object.entries(u).forEach((d) => {
|
|
4406
|
+
let [h, f] = d;
|
|
4407
|
+
if (!(a && [Qt, Jt].includes(h)))
|
|
4408
|
+
if (h.indexOf("on") === 0) {
|
|
4409
|
+
if (r.has(h) || r.set(h, []), typeof f == "function") {
|
|
4410
4410
|
var m;
|
|
4411
|
-
(m = r.get(
|
|
4411
|
+
(m = r.get(h)) == null || m.push(f), c[h] = function() {
|
|
4412
4412
|
for (var g, p = arguments.length, w = new Array(p), E = 0; E < p; E++)
|
|
4413
4413
|
w[E] = arguments[E];
|
|
4414
|
-
return (g = r.get(
|
|
4414
|
+
return (g = r.get(h)) == null ? void 0 : g.map((S) => S(...w)).find((S) => S !== void 0);
|
|
4415
4415
|
};
|
|
4416
4416
|
}
|
|
4417
4417
|
} else
|
|
4418
|
-
c[
|
|
4418
|
+
c[h] = f;
|
|
4419
4419
|
}), c), {})
|
|
4420
4420
|
};
|
|
4421
4421
|
}
|
|
4422
|
-
function
|
|
4422
|
+
function Zh(e) {
|
|
4423
4423
|
e === void 0 && (e = []);
|
|
4424
4424
|
const t = e, n = o.useCallback(
|
|
4425
4425
|
(i) => L0(i, e, "reference"),
|
|
@@ -4444,8 +4444,8 @@ function Zu(e) {
|
|
|
4444
4444
|
getItemProps: a
|
|
4445
4445
|
}), [n, r, a]);
|
|
4446
4446
|
}
|
|
4447
|
-
const
|
|
4448
|
-
function
|
|
4447
|
+
const Ih = /* @__PURE__ */ new Map([["select", "listbox"], ["combobox", "listbox"], ["label", !1]]);
|
|
4448
|
+
function Ah(e, t) {
|
|
4449
4449
|
var n;
|
|
4450
4450
|
t === void 0 && (t = {});
|
|
4451
4451
|
const {
|
|
@@ -4454,17 +4454,17 @@ function Au(e, t) {
|
|
|
4454
4454
|
} = e, {
|
|
4455
4455
|
enabled: i = !0,
|
|
4456
4456
|
role: c = "dialog"
|
|
4457
|
-
} = t,
|
|
4457
|
+
} = t, u = (n = Ih.get(c)) != null ? n : c, d = w0(), f = ft() != null;
|
|
4458
4458
|
return o.useMemo(() => {
|
|
4459
4459
|
if (!i)
|
|
4460
4460
|
return {};
|
|
4461
4461
|
const m = {
|
|
4462
4462
|
id: a,
|
|
4463
|
-
...
|
|
4464
|
-
role:
|
|
4463
|
+
...u && {
|
|
4464
|
+
role: u
|
|
4465
4465
|
}
|
|
4466
4466
|
};
|
|
4467
|
-
return
|
|
4467
|
+
return u === "tooltip" || c === "label" ? {
|
|
4468
4468
|
reference: {
|
|
4469
4469
|
["aria-" + (c === "label" ? "labelledby" : "describedby")]: r ? a : void 0
|
|
4470
4470
|
},
|
|
@@ -4472,15 +4472,15 @@ function Au(e, t) {
|
|
|
4472
4472
|
} : {
|
|
4473
4473
|
reference: {
|
|
4474
4474
|
"aria-expanded": r ? "true" : "false",
|
|
4475
|
-
"aria-haspopup":
|
|
4475
|
+
"aria-haspopup": u === "alertdialog" ? "dialog" : u,
|
|
4476
4476
|
"aria-controls": r ? a : void 0,
|
|
4477
|
-
...
|
|
4477
|
+
...u === "listbox" && {
|
|
4478
4478
|
role: "combobox"
|
|
4479
4479
|
},
|
|
4480
|
-
...
|
|
4480
|
+
...u === "menu" && {
|
|
4481
4481
|
id: d
|
|
4482
4482
|
},
|
|
4483
|
-
...
|
|
4483
|
+
...u === "menu" && f && {
|
|
4484
4484
|
role: "menuitem"
|
|
4485
4485
|
},
|
|
4486
4486
|
...c === "select" && {
|
|
@@ -4492,7 +4492,7 @@ function Au(e, t) {
|
|
|
4492
4492
|
},
|
|
4493
4493
|
floating: {
|
|
4494
4494
|
...m,
|
|
4495
|
-
...
|
|
4495
|
+
...u === "menu" && {
|
|
4496
4496
|
"aria-labelledby": d
|
|
4497
4497
|
}
|
|
4498
4498
|
},
|
|
@@ -4524,9 +4524,9 @@ function Au(e, t) {
|
|
|
4524
4524
|
return {};
|
|
4525
4525
|
}
|
|
4526
4526
|
};
|
|
4527
|
-
}, [i, c,
|
|
4527
|
+
}, [i, c, u, r, a, d, f]);
|
|
4528
4528
|
}
|
|
4529
|
-
function
|
|
4529
|
+
function Th(e, t) {
|
|
4530
4530
|
const [n, r] = o.useState(e);
|
|
4531
4531
|
return e && !n && r(!0), o.useEffect(() => {
|
|
4532
4532
|
if (!e) {
|
|
@@ -4535,7 +4535,7 @@ function Tu(e, t) {
|
|
|
4535
4535
|
}
|
|
4536
4536
|
}, [e, t]), n;
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4538
|
+
function Nh(e, t) {
|
|
4539
4539
|
t === void 0 && (t = {});
|
|
4540
4540
|
const {
|
|
4541
4541
|
open: n,
|
|
@@ -4544,10 +4544,10 @@ function Nu(e, t) {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
} = e, {
|
|
4546
4546
|
duration: a = 250
|
|
4547
|
-
} = t, c = (typeof a == "number" ? a : a.close) || 0, [
|
|
4547
|
+
} = t, c = (typeof a == "number" ? a : a.close) || 0, [u, d] = o.useState(!1), [h, f] = o.useState("unmounted"), m = Th(n, c);
|
|
4548
4548
|
return me(() => {
|
|
4549
|
-
|
|
4550
|
-
}, [
|
|
4549
|
+
u && !m && f("unmounted");
|
|
4550
|
+
}, [u, m]), me(() => {
|
|
4551
4551
|
if (r)
|
|
4552
4552
|
if (n) {
|
|
4553
4553
|
f("initial");
|
|
@@ -4561,7 +4561,7 @@ function Nu(e, t) {
|
|
|
4561
4561
|
d(!0), f("close");
|
|
4562
4562
|
}, [n, r]), {
|
|
4563
4563
|
isMounted: m,
|
|
4564
|
-
status:
|
|
4564
|
+
status: h
|
|
4565
4565
|
};
|
|
4566
4566
|
}
|
|
4567
4567
|
function e1(e) {
|
|
@@ -4571,9 +4571,9 @@ function e1(e) {
|
|
|
4571
4571
|
});
|
|
4572
4572
|
};
|
|
4573
4573
|
}
|
|
4574
|
-
const
|
|
4574
|
+
const Lh = 50, Fh = 200;
|
|
4575
4575
|
const mt = s((e, t) => {
|
|
4576
|
-
const { children: n, className: r, title: a, placement: i = "top", disablePortal: c = !1, portalRoot:
|
|
4576
|
+
const { children: n, className: r, title: a, placement: i = "top", disablePortal: c = !1, portalRoot: u, ...d } = e, h = at(null), [f, m] = h0(!1), { refs: g, floatingStyles: p, context: w } = Mh({
|
|
4577
4577
|
whileElementsMounted: fr,
|
|
4578
4578
|
placement: i,
|
|
4579
4579
|
open: f,
|
|
@@ -4582,9 +4582,9 @@ const mt = s((e, t) => {
|
|
|
4582
4582
|
Gn(10),
|
|
4583
4583
|
Yn(),
|
|
4584
4584
|
Kn(),
|
|
4585
|
-
pr({ element:
|
|
4585
|
+
pr({ element: h })
|
|
4586
4586
|
]
|
|
4587
|
-
}), E =
|
|
4587
|
+
}), E = vh(w, { delay: { open: Lh, close: Fh } }), S = Rh(w), x = Ah(w, { role: "tooltip" }), { isMounted: T, status: C } = Nh(w), { getReferenceProps: M, getFloatingProps: b } = Zh([
|
|
4588
4588
|
x,
|
|
4589
4589
|
E,
|
|
4590
4590
|
S
|
|
@@ -4604,57 +4604,57 @@ const mt = s((e, t) => {
|
|
|
4604
4604
|
...b(),
|
|
4605
4605
|
ref: A,
|
|
4606
4606
|
style: { ...p },
|
|
4607
|
-
className: oe("
|
|
4608
|
-
children: T && /* @__PURE__ */ re("div", { className: oe("
|
|
4607
|
+
className: oe("rbui-tooltip", r),
|
|
4608
|
+
children: T && /* @__PURE__ */ re("div", { className: oe("rbui-tooltip__inner", `rbui-tooltip__inner--${C}`), children: [
|
|
4609
4609
|
a,
|
|
4610
|
-
/* @__PURE__ */ l(
|
|
4610
|
+
/* @__PURE__ */ l(dh, { ref: h, context: w, className: "rbui-tooltip__arrow" })
|
|
4611
4611
|
] })
|
|
4612
4612
|
}
|
|
4613
4613
|
);
|
|
4614
4614
|
return /* @__PURE__ */ re(tt, { children: [
|
|
4615
4615
|
L,
|
|
4616
|
-
f && (c ? _ : /* @__PURE__ */ l(
|
|
4616
|
+
f && (c ? _ : /* @__PURE__ */ l(Sh, { id: typeof u == "string" ? u : void 0, root: typeof u != "string" ? u : void 0, children: _ }))
|
|
4617
4617
|
] });
|
|
4618
4618
|
});
|
|
4619
4619
|
mt.displayName = "Tooltip";
|
|
4620
|
-
const
|
|
4621
|
-
"
|
|
4622
|
-
...n ? ["
|
|
4623
|
-
...r ? ["
|
|
4624
|
-
...a ? ["
|
|
4620
|
+
const Bh = ({ type: e, color: t, active: n, disabled: r, loading: a, hasIcons: i }) => e === "primary" && (t === "default" || t === "alternative") ? [
|
|
4621
|
+
"rbui-button-primary",
|
|
4622
|
+
...n ? ["rbui-button-primary--active"] : [],
|
|
4623
|
+
...r ? ["rbui-button-primary--disabled"] : [],
|
|
4624
|
+
...a ? ["rbui-button-primary--loading"] : []
|
|
4625
4625
|
] : e === "primary" && t === "danger" ? [
|
|
4626
|
-
"
|
|
4627
|
-
...n ? ["
|
|
4628
|
-
...r ? ["
|
|
4629
|
-
...a ? ["
|
|
4626
|
+
"rbui-button-primary-danger",
|
|
4627
|
+
...n ? ["rbui-button-primary-danger--active"] : [],
|
|
4628
|
+
...r ? ["rbui-button-primary-danger--disabled"] : [],
|
|
4629
|
+
...a ? ["rbui-button-primary-danger--loading"] : []
|
|
4630
4630
|
] : e === "secondary" && (t === "default" || t === "alternative") ? [
|
|
4631
|
-
"
|
|
4632
|
-
...n ? ["
|
|
4633
|
-
...r ? ["
|
|
4634
|
-
...a ? ["
|
|
4631
|
+
"rbui-button-secondary",
|
|
4632
|
+
...n ? ["rbui-button-secondary--active"] : [],
|
|
4633
|
+
...r ? ["rbui-button-secondary--disabled"] : [],
|
|
4634
|
+
...a ? ["rbui-button-secondary--loading"] : []
|
|
4635
4635
|
] : e === "secondary" && t === "danger" ? [
|
|
4636
|
-
"
|
|
4637
|
-
...n ? ["
|
|
4638
|
-
...r ? ["
|
|
4639
|
-
...a ? ["
|
|
4636
|
+
"rbui-button-secondary-danger",
|
|
4637
|
+
...n ? ["rbui-button-secondary-danger--active"] : [],
|
|
4638
|
+
...r ? ["rbui-button-secondary-danger--disabled"] : [],
|
|
4639
|
+
...a ? ["rbui-button-secondary-danger--loading"] : []
|
|
4640
4640
|
] : e === "tertiary" && t === "default" ? [
|
|
4641
|
-
"
|
|
4642
|
-
...n ? ["
|
|
4643
|
-
...r ? ["
|
|
4644
|
-
...a ? ["
|
|
4645
|
-
...i ? ["
|
|
4641
|
+
"rbui-button-tertiary",
|
|
4642
|
+
...n ? ["rbui-button-tertiary--active"] : [],
|
|
4643
|
+
...r ? ["rbui-button-tertiary--disabled"] : [],
|
|
4644
|
+
...a ? ["rbui-button-tertiary--loading"] : [],
|
|
4645
|
+
...i ? ["rbui-button-tertiary--has-icons"] : []
|
|
4646
4646
|
] : e === "tertiary" && t === "danger" ? [
|
|
4647
|
-
"
|
|
4648
|
-
...n ? ["
|
|
4649
|
-
...r ? ["
|
|
4650
|
-
...a ? ["
|
|
4651
|
-
...i ? ["
|
|
4647
|
+
"rbui-button-tertiary-danger",
|
|
4648
|
+
...n ? ["rbui-button-tertiary-danger--active"] : [],
|
|
4649
|
+
...r ? ["rbui-button-tertiary-danger--disabled"] : [],
|
|
4650
|
+
...a ? ["rbui-button-tertiary-danger--loading"] : [],
|
|
4651
|
+
...i ? ["rbui-button-tertiary-danger--has-icons"] : []
|
|
4652
4652
|
] : e === "tertiary" && t === "alternative" ? [
|
|
4653
|
-
"
|
|
4654
|
-
...n ? ["
|
|
4655
|
-
...r ? ["
|
|
4656
|
-
...a ? ["
|
|
4657
|
-
...i ? ["
|
|
4653
|
+
"rbui-button-tertiary-alternative",
|
|
4654
|
+
...n ? ["rbui-button-tertiary-alternative--active"] : [],
|
|
4655
|
+
...r ? ["rbui-button-tertiary-alternative--disabled"] : [],
|
|
4656
|
+
...a ? ["rbui-button-tertiary-alternative--loading"] : [],
|
|
4657
|
+
...i ? ["rbui-button-tertiary-alternative--has-icons"] : []
|
|
4658
4658
|
] : [], ye = s((e, t) => {
|
|
4659
4659
|
const {
|
|
4660
4660
|
children: n,
|
|
@@ -4662,9 +4662,9 @@ const Bu = ({ type: e, color: t, active: n, disabled: r, loading: a, hasIcons: i
|
|
|
4662
4662
|
color: a = "default",
|
|
4663
4663
|
disabled: i = !1,
|
|
4664
4664
|
endIcon: c,
|
|
4665
|
-
htmlType:
|
|
4665
|
+
htmlType: u = "button",
|
|
4666
4666
|
loading: d = !1,
|
|
4667
|
-
loadingText:
|
|
4667
|
+
loadingText: h,
|
|
4668
4668
|
onClick: f,
|
|
4669
4669
|
startIcon: m,
|
|
4670
4670
|
tooltip: g,
|
|
@@ -4672,7 +4672,7 @@ const Bu = ({ type: e, color: t, active: n, disabled: r, loading: a, hasIcons: i
|
|
|
4672
4672
|
...w
|
|
4673
4673
|
} = e, { getRootProps: E, active: S, focusVisible: x } = gn({
|
|
4674
4674
|
...e,
|
|
4675
|
-
type:
|
|
4675
|
+
type: u,
|
|
4676
4676
|
rootRef: t
|
|
4677
4677
|
});
|
|
4678
4678
|
function T(L) {
|
|
@@ -4681,33 +4681,35 @@ const Bu = ({ type: e, color: t, active: n, disabled: r, loading: a, hasIcons: i
|
|
|
4681
4681
|
const C = E({
|
|
4682
4682
|
onClick: T,
|
|
4683
4683
|
...w
|
|
4684
|
-
}), M = !!m || !!c, b = !n && (m && !c || c && !m), Z = oe("
|
|
4685
|
-
"
|
|
4686
|
-
"
|
|
4687
|
-
"
|
|
4688
|
-
"
|
|
4689
|
-
},
|
|
4690
|
-
"
|
|
4684
|
+
}), M = !!m || !!c, b = !n && (m && !c || c && !m), Z = oe("rbui-button", r, {
|
|
4685
|
+
"rbui-button--focus-visible": x,
|
|
4686
|
+
"rbui-button--disabled": i,
|
|
4687
|
+
"rbui-button--icon-only": b && !(d && h),
|
|
4688
|
+
"rbui-button--loading": d
|
|
4689
|
+
}, Bh({ type: p, color: a, active: S, disabled: i, loading: d, hasIcons: M })), A = oe("rbui-button__loader", {
|
|
4690
|
+
"rbui-button__loader--short": h || b
|
|
4691
4691
|
});
|
|
4692
4692
|
return /* @__PURE__ */ l(mt, { title: g, children: /* @__PURE__ */ re("button", { ...C, className: Z, children: [
|
|
4693
|
-
m && !d && /* @__PURE__ */ l("span", { role: "img", className: "
|
|
4694
|
-
d && /* @__PURE__ */ l("span", { role: "progressbar", className: A, children: /* @__PURE__ */ l(J1, { className: "
|
|
4695
|
-
d &&
|
|
4693
|
+
m && !d && /* @__PURE__ */ l("span", { role: "img", className: "rbui-button__start-icon", children: m }),
|
|
4694
|
+
d && /* @__PURE__ */ l("span", { role: "progressbar", className: A, children: /* @__PURE__ */ l(J1, { className: "rbui-button__spinner" }) }),
|
|
4695
|
+
d && h,
|
|
4696
4696
|
!d && n,
|
|
4697
|
-
c && !d && /* @__PURE__ */ l("span", { role: "img", className: "
|
|
4697
|
+
c && !d && /* @__PURE__ */ l("span", { role: "img", className: "rbui-button__end-icon", children: c })
|
|
4698
4698
|
] }) });
|
|
4699
4699
|
});
|
|
4700
4700
|
ye.displayName = "Button";
|
|
4701
|
-
const
|
|
4702
|
-
var
|
|
4703
|
-
const { children: n, className: r, disabled: a, type: i = "secondary", ...c } = e,
|
|
4704
|
-
|
|
4701
|
+
const Ph = (e) => e === "primary" ? "rbui-button-group--primary" : e === "tertiary" ? "rbui-button-group--tertiary" : "rbui-button-group--secondary", Hh = (e, t) => e && t ? "" : e ? "rbui-button-group__button--first" : t ? "rbui-button-group__button--last" : "rbui-button-group__button--middle", p5 = s((e, t) => {
|
|
4702
|
+
var h;
|
|
4703
|
+
const { children: n, className: r, disabled: a, type: i = "secondary", ...c } = e, u = oe(r, "rbui-button-group", Ph(i), {
|
|
4704
|
+
"rbui-button-group--disabled": a
|
|
4705
|
+
}), d = B0.count(n);
|
|
4706
|
+
return /* @__PURE__ */ l("div", { role: "group", className: u, "aria-disabled": a, ref: t, ...c, children: (h = B0.map(n, (f, m) => {
|
|
4705
4707
|
if (!rt(f))
|
|
4706
4708
|
return;
|
|
4707
4709
|
const g = m === 0, p = m === d - 1, w = f.props.disabled ?? a, E = oe(
|
|
4708
|
-
"
|
|
4709
|
-
{ "
|
|
4710
|
-
|
|
4710
|
+
"rbui-button-group__button",
|
|
4711
|
+
{ "rbui-button-group__button--disabled": w },
|
|
4712
|
+
Hh(g, p),
|
|
4711
4713
|
f.props.className
|
|
4712
4714
|
);
|
|
4713
4715
|
return ot(f, {
|
|
@@ -4716,23 +4718,23 @@ const Pu = (e) => e === "primary" ? "br-button-group--primary" : e === "tertiary
|
|
|
4716
4718
|
disabled: w,
|
|
4717
4719
|
className: E
|
|
4718
4720
|
});
|
|
4719
|
-
})) == null ? void 0 :
|
|
4721
|
+
})) == null ? void 0 : h.filter(Boolean) });
|
|
4720
4722
|
});
|
|
4721
4723
|
p5.displayName = "ButtonGroup";
|
|
4722
|
-
function
|
|
4724
|
+
function Vh(e, t) {
|
|
4723
4725
|
const {
|
|
4724
4726
|
children: n,
|
|
4725
4727
|
className: r,
|
|
4726
4728
|
color: a = "default",
|
|
4727
4729
|
disabled: i,
|
|
4728
4730
|
onClick: c,
|
|
4729
|
-
selected:
|
|
4731
|
+
selected: u,
|
|
4730
4732
|
type: d = "secondary",
|
|
4731
|
-
value:
|
|
4733
|
+
value: h,
|
|
4732
4734
|
...f
|
|
4733
|
-
} = e, m = oe("
|
|
4734
|
-
"
|
|
4735
|
-
"
|
|
4735
|
+
} = e, m = oe("rbui-toggle-button", {
|
|
4736
|
+
"rbui-toggle-button--disabled": i,
|
|
4737
|
+
"rbui-toggle-button--selected": u
|
|
4736
4738
|
}, r);
|
|
4737
4739
|
return /* @__PURE__ */ l(
|
|
4738
4740
|
ye,
|
|
@@ -4742,36 +4744,36 @@ function Vu(e, t) {
|
|
|
4742
4744
|
type: d,
|
|
4743
4745
|
color: a,
|
|
4744
4746
|
disabled: i,
|
|
4745
|
-
"aria-pressed":
|
|
4746
|
-
onClick: (g) => c == null ? void 0 : c(g,
|
|
4747
|
+
"aria-pressed": u,
|
|
4748
|
+
onClick: (g) => c == null ? void 0 : c(g, h),
|
|
4747
4749
|
ref: t,
|
|
4748
4750
|
children: n
|
|
4749
4751
|
}
|
|
4750
4752
|
);
|
|
4751
4753
|
}
|
|
4752
|
-
const
|
|
4753
|
-
|
|
4754
|
+
const Oh = s(Vh);
|
|
4755
|
+
Oh.displayName = "ToggleButton";
|
|
4754
4756
|
function t1(e, t) {
|
|
4755
4757
|
return t === void 0 || e === void 0 ? !1 : Array.isArray(t) ? t.indexOf(e) >= 0 : e === t;
|
|
4756
4758
|
}
|
|
4757
|
-
function
|
|
4758
|
-
const { children: n, className: r, disabled: a, onChange: i, value: c, multiple:
|
|
4759
|
+
function _h(e, t) {
|
|
4760
|
+
const { children: n, className: r, disabled: a, onChange: i, value: c, multiple: u = !1 } = e, d = (g, p) => {
|
|
4759
4761
|
t1(p, c) || i == null || i(g, p);
|
|
4760
|
-
},
|
|
4762
|
+
}, h = (g, p) => {
|
|
4761
4763
|
let w = [];
|
|
4762
4764
|
Array.isArray(c) && (w = [...c]);
|
|
4763
4765
|
const E = w.indexOf(p);
|
|
4764
4766
|
E >= 0 ? w.splice(E, 1) : w.push(p), i == null || i(g, w);
|
|
4765
|
-
}, f = oe(r, "
|
|
4767
|
+
}, f = oe(r, "rbui-toggle-button-group"), m = B0.map(n, (g) => rt(g) ? ot(g, {
|
|
4766
4768
|
disabled: a || g.props.disabled,
|
|
4767
4769
|
selected: t1(g.props.value, c),
|
|
4768
|
-
onClick:
|
|
4770
|
+
onClick: u ? h : d
|
|
4769
4771
|
}) : g);
|
|
4770
4772
|
return /* @__PURE__ */ l(p5, { className: f, ref: t, ...e, children: m });
|
|
4771
4773
|
}
|
|
4772
|
-
const $
|
|
4773
|
-
$
|
|
4774
|
-
const
|
|
4774
|
+
const $h = s(_h);
|
|
4775
|
+
$h.displayName = "ToggleButtonGroup";
|
|
4776
|
+
const Dh = {
|
|
4775
4777
|
error: (e) => /* @__PURE__ */ l(K1, { ...e }),
|
|
4776
4778
|
info: (e) => /* @__PURE__ */ l(X1, { ...e }),
|
|
4777
4779
|
success: (e) => /* @__PURE__ */ l(W1, { ...e }),
|
|
@@ -4785,58 +4787,55 @@ function B8(e) {
|
|
|
4785
4787
|
icon: a,
|
|
4786
4788
|
onClose: i,
|
|
4787
4789
|
role: c = "alert",
|
|
4788
|
-
type:
|
|
4790
|
+
type: u = "info"
|
|
4789
4791
|
} = e;
|
|
4790
|
-
return /* @__PURE__ */ re("div", { className: oe(`
|
|
4791
|
-
a !== !1 ? /* @__PURE__ */ l("div", { className: `
|
|
4792
|
-
/* @__PURE__ */ re("div", { className: "
|
|
4792
|
+
return /* @__PURE__ */ re("div", { className: oe(`rbui-alert rbui-alert--${u}`, r), role: c, children: [
|
|
4793
|
+
a !== !1 ? /* @__PURE__ */ l("div", { className: `rbui-alert__icon rbui-alert__icon--${u}`, children: a || Dh[u]() }) : null,
|
|
4794
|
+
/* @__PURE__ */ re("div", { className: "rbui-alert__content", children: [
|
|
4793
4795
|
n,
|
|
4794
|
-
t ? /* @__PURE__ */ l("div", { className: "
|
|
4796
|
+
t ? /* @__PURE__ */ l("div", { className: "rbui-alert__actions", children: t }) : null
|
|
4795
4797
|
] }),
|
|
4796
|
-
i ? (
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
onClick: () => i()
|
|
4806
|
-
}
|
|
4807
|
-
)
|
|
4798
|
+
i ? /* @__PURE__ */ l(
|
|
4799
|
+
ye,
|
|
4800
|
+
{
|
|
4801
|
+
type: "tertiary",
|
|
4802
|
+
"aria-label": "Close",
|
|
4803
|
+
className: "rbui-alert__close",
|
|
4804
|
+
startIcon: /* @__PURE__ */ l(G1, {}),
|
|
4805
|
+
onClick: () => i()
|
|
4806
|
+
}
|
|
4808
4807
|
) : null
|
|
4809
4808
|
] });
|
|
4810
4809
|
}
|
|
4811
4810
|
function P8(e) {
|
|
4812
4811
|
const { children: t, className: n } = e;
|
|
4813
|
-
return /* @__PURE__ */ l("div", { className: oe("
|
|
4812
|
+
return /* @__PURE__ */ l("div", { className: oe("rbui-alert-title", n), children: t });
|
|
4814
4813
|
}
|
|
4815
4814
|
const v5 = p1(null);
|
|
4816
4815
|
function g5() {
|
|
4817
4816
|
return v1(v5);
|
|
4818
4817
|
}
|
|
4819
|
-
const
|
|
4818
|
+
const kh = s((e, t) => {
|
|
4820
4819
|
const { open: n, className: r, ...a } = e;
|
|
4821
4820
|
return /* @__PURE__ */ l(
|
|
4822
4821
|
"div",
|
|
4823
4822
|
{
|
|
4824
|
-
className: oe({ "
|
|
4823
|
+
className: oe({ "rbui-modal__backdrop": n }, r),
|
|
4825
4824
|
ref: t,
|
|
4826
4825
|
...a
|
|
4827
4826
|
}
|
|
4828
4827
|
);
|
|
4829
|
-
}),
|
|
4828
|
+
}), Uh = s((e, t) => {
|
|
4830
4829
|
const {
|
|
4831
4830
|
open: n,
|
|
4832
4831
|
children: r,
|
|
4833
4832
|
width: a = "sm",
|
|
4834
4833
|
role: i = "dialog",
|
|
4835
4834
|
className: c,
|
|
4836
|
-
onClose:
|
|
4835
|
+
onClose: u,
|
|
4837
4836
|
...d
|
|
4838
|
-
} = e,
|
|
4839
|
-
|
|
4837
|
+
} = e, h = () => {
|
|
4838
|
+
u == null || u();
|
|
4840
4839
|
};
|
|
4841
4840
|
return /* @__PURE__ */ l(v5.Provider, { value: e, children: /* @__PURE__ */ l(
|
|
4842
4841
|
A1,
|
|
@@ -4844,16 +4843,16 @@ const ku = s((e, t) => {
|
|
|
4844
4843
|
ref: t,
|
|
4845
4844
|
role: i,
|
|
4846
4845
|
"aria-modal": "true",
|
|
4847
|
-
className: oe("
|
|
4846
|
+
className: oe("rbui-modal", c),
|
|
4848
4847
|
open: n,
|
|
4849
|
-
onClose:
|
|
4850
|
-
slots: { backdrop: vn(
|
|
4848
|
+
onClose: h,
|
|
4849
|
+
slots: { backdrop: vn(kh) },
|
|
4851
4850
|
...d,
|
|
4852
|
-
children: /* @__PURE__ */ l("div", { className: oe("
|
|
4851
|
+
children: /* @__PURE__ */ l("div", { className: oe("rbui-modal__wrapper", `rbui-modal__wrapper--${a}`), children: r })
|
|
4853
4852
|
}
|
|
4854
4853
|
) });
|
|
4855
4854
|
});
|
|
4856
|
-
|
|
4855
|
+
Uh.displayName = "Modal";
|
|
4857
4856
|
function w5(e) {
|
|
4858
4857
|
const {
|
|
4859
4858
|
className: t,
|
|
@@ -4868,7 +4867,7 @@ function w5(e) {
|
|
|
4868
4867
|
}, className: t, children: n });
|
|
4869
4868
|
}
|
|
4870
4869
|
w5.displayName = "ModalCloseButton";
|
|
4871
|
-
const
|
|
4870
|
+
const Wh = s((e, t) => {
|
|
4872
4871
|
const {
|
|
4873
4872
|
children: n,
|
|
4874
4873
|
className: r,
|
|
@@ -4877,79 +4876,79 @@ const Wu = s((e, t) => {
|
|
|
4877
4876
|
if (i === null)
|
|
4878
4877
|
throw new Error("ModalHeader must be used within a ModalContext.Provider");
|
|
4879
4878
|
const { onClose: c } = i;
|
|
4880
|
-
return /* @__PURE__ */ re("div", { ...a, ref: t, className: oe("
|
|
4881
|
-
/* @__PURE__ */ l("div", { className: "
|
|
4882
|
-
c && /* @__PURE__ */ l(w5, { className: "
|
|
4879
|
+
return /* @__PURE__ */ re("div", { ...a, ref: t, className: oe("rbui-modal__header", r), children: [
|
|
4880
|
+
/* @__PURE__ */ l("div", { className: "rbui-modal__header-section", children: n }),
|
|
4881
|
+
c && /* @__PURE__ */ l(w5, { className: "rbui-modal__header-close", startIcon: /* @__PURE__ */ l(dt, {}) })
|
|
4883
4882
|
] });
|
|
4884
4883
|
});
|
|
4885
|
-
|
|
4886
|
-
const
|
|
4884
|
+
Wh.displayName = "ModalHeader";
|
|
4885
|
+
const zh = s((e, t) => {
|
|
4887
4886
|
const {
|
|
4888
4887
|
className: n,
|
|
4889
4888
|
children: r,
|
|
4890
4889
|
...a
|
|
4891
4890
|
} = e;
|
|
4892
|
-
return /* @__PURE__ */ l("div", { ...a, ref: t, className: oe("
|
|
4891
|
+
return /* @__PURE__ */ l("div", { ...a, ref: t, className: oe("rbui-modal__header-title", n), children: r });
|
|
4893
4892
|
});
|
|
4894
|
-
|
|
4895
|
-
const
|
|
4893
|
+
zh.displayName = "ModalHeaderTitle";
|
|
4894
|
+
const jh = s((e, t) => {
|
|
4896
4895
|
const {
|
|
4897
4896
|
children: n,
|
|
4898
4897
|
padding: r = "narrow",
|
|
4899
4898
|
className: a,
|
|
4900
4899
|
...i
|
|
4901
4900
|
} = e;
|
|
4902
|
-
return /* @__PURE__ */ l("div", { ...i, ref: t, className: oe("
|
|
4901
|
+
return /* @__PURE__ */ l("div", { ...i, ref: t, className: oe("rbui-modal__body", `rbui-modal__body--${r}`, a), children: n });
|
|
4903
4902
|
});
|
|
4904
|
-
|
|
4905
|
-
const
|
|
4903
|
+
jh.displayName = "ModalBody";
|
|
4904
|
+
const Yh = s((e, t) => {
|
|
4906
4905
|
const {
|
|
4907
4906
|
children: n,
|
|
4908
4907
|
className: r,
|
|
4909
4908
|
...a
|
|
4910
4909
|
} = e;
|
|
4911
|
-
return /* @__PURE__ */ l("div", { ...a, ref: t, className: oe("
|
|
4910
|
+
return /* @__PURE__ */ l("div", { ...a, ref: t, className: oe("rbui-modal__footer", r), children: n });
|
|
4912
4911
|
});
|
|
4913
|
-
|
|
4914
|
-
const
|
|
4912
|
+
Yh.displayName = "ModalFooter";
|
|
4913
|
+
const qh = s((e, t) => {
|
|
4915
4914
|
const {
|
|
4916
4915
|
className: n,
|
|
4917
4916
|
children: r,
|
|
4918
4917
|
...a
|
|
4919
4918
|
} = e;
|
|
4920
|
-
return /* @__PURE__ */ l("div", { ...a, ref: t, className: oe("
|
|
4919
|
+
return /* @__PURE__ */ l("div", { ...a, ref: t, className: oe("rbui-modal__footer--actions", n), children: r });
|
|
4921
4920
|
});
|
|
4922
|
-
|
|
4921
|
+
qh.displayName = "ModalFooterActions";
|
|
4923
4922
|
const n1 = () => /* @__PURE__ */ l("span", { children: " " }), E5 = s((e, t) => {
|
|
4924
|
-
const { className: n, control: r, controlId: a, error: i, fullWidth: c, helperText:
|
|
4923
|
+
const { className: n, control: r, controlId: a, error: i, fullWidth: c, helperText: u, label: d, metadata: h, tooltip: f, ...m } = e;
|
|
4925
4924
|
return /* @__PURE__ */ re(
|
|
4926
4925
|
"div",
|
|
4927
4926
|
{
|
|
4928
4927
|
...m,
|
|
4929
|
-
className: oe("
|
|
4930
|
-
"
|
|
4931
|
-
"
|
|
4928
|
+
className: oe("rbui-base-field", n, {
|
|
4929
|
+
"rbui-base-field--error": i,
|
|
4930
|
+
"rbui-base-field--full-width": c
|
|
4932
4931
|
}),
|
|
4933
4932
|
ref: t,
|
|
4934
4933
|
children: [
|
|
4935
|
-
(d ||
|
|
4936
|
-
d && /* @__PURE__ */ re("label", { className: "
|
|
4934
|
+
(d || h) && /* @__PURE__ */ re("div", { className: "rbui-base-field__label-row", children: [
|
|
4935
|
+
d && /* @__PURE__ */ re("label", { className: "rbui-base-field__label", htmlFor: a, children: [
|
|
4937
4936
|
d === " " ? n1() : d,
|
|
4938
|
-
f && /* @__PURE__ */ l(mt, { title: f, children: /* @__PURE__ */ l(Q1, { className: "
|
|
4937
|
+
f && /* @__PURE__ */ l(mt, { title: f, children: /* @__PURE__ */ l(Q1, { className: "rbui-base-field__icon" }) })
|
|
4939
4938
|
] }),
|
|
4940
|
-
|
|
4939
|
+
h && /* @__PURE__ */ l("span", { className: "rbui-base-field__metadata", children: h })
|
|
4941
4940
|
] }),
|
|
4942
4941
|
r,
|
|
4943
|
-
|
|
4942
|
+
u && /* @__PURE__ */ l("span", { className: "rbui-base-field__helper", children: u === " " ? n1() : u })
|
|
4944
4943
|
]
|
|
4945
4944
|
}
|
|
4946
4945
|
);
|
|
4947
4946
|
});
|
|
4948
|
-
function
|
|
4947
|
+
function Gh({
|
|
4949
4948
|
onEnter: e,
|
|
4950
4949
|
onLeave: t
|
|
4951
4950
|
} = {}) {
|
|
4952
|
-
const [n, r] =
|
|
4951
|
+
const [n, r] = h0(!1), a = Et(() => {
|
|
4953
4952
|
r(!0), e == null || e();
|
|
4954
4953
|
}, [e]), i = Et(() => {
|
|
4955
4954
|
r(!1), t == null || t();
|
|
@@ -4962,13 +4961,13 @@ function Gu({
|
|
|
4962
4961
|
}
|
|
4963
4962
|
};
|
|
4964
4963
|
}
|
|
4965
|
-
function
|
|
4964
|
+
function Kh(e, t) {
|
|
4966
4965
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
4967
4966
|
}
|
|
4968
|
-
function
|
|
4967
|
+
function Xh(...e) {
|
|
4969
4968
|
return f1.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
4970
4969
|
e.forEach((n) => {
|
|
4971
|
-
|
|
4970
|
+
Kh(n, t);
|
|
4972
4971
|
});
|
|
4973
4972
|
}, e);
|
|
4974
4973
|
}
|
|
@@ -4979,9 +4978,9 @@ const pt = s((e, t) => {
|
|
|
4979
4978
|
clearable: a,
|
|
4980
4979
|
defaultValue: i,
|
|
4981
4980
|
disabled: c,
|
|
4982
|
-
error:
|
|
4981
|
+
error: u,
|
|
4983
4982
|
inputProps: d = {},
|
|
4984
|
-
leftElement:
|
|
4983
|
+
leftElement: h,
|
|
4985
4984
|
maxRows: f,
|
|
4986
4985
|
minRows: m,
|
|
4987
4986
|
multiline: g,
|
|
@@ -4994,16 +4993,16 @@ const pt = s((e, t) => {
|
|
|
4994
4993
|
rightElement: C,
|
|
4995
4994
|
value: M,
|
|
4996
4995
|
...b
|
|
4997
|
-
} = e, Z = M == null, A = at(null), L =
|
|
4996
|
+
} = e, Z = M == null, A = at(null), L = Xh(A, t), [_, k] = h0(Z ? i : ""), D = Z ? _ : M;
|
|
4998
4997
|
nt(() => {
|
|
4999
4998
|
E == null || E((D == null ? void 0 : D.length) ?? 0);
|
|
5000
4999
|
}, [D, E]);
|
|
5001
5000
|
const B = (W) => {
|
|
5002
5001
|
k(W.target.value), w == null || w(W);
|
|
5003
|
-
}, { hovered: $, handlers: O } =
|
|
5002
|
+
}, { hovered: $, handlers: O } = Gh(), { getInputProps: R, getRootProps: y, focused: I } = Mn({
|
|
5004
5003
|
defaultValue: i,
|
|
5005
5004
|
disabled: c,
|
|
5006
|
-
error:
|
|
5005
|
+
error: u,
|
|
5007
5006
|
inputRef: L,
|
|
5008
5007
|
onBlur: p,
|
|
5009
5008
|
onChange: B,
|
|
@@ -5024,51 +5023,51 @@ const pt = s((e, t) => {
|
|
|
5024
5023
|
{
|
|
5025
5024
|
"aria-label": "Clear",
|
|
5026
5025
|
type: "tertiary",
|
|
5027
|
-
className: oe("
|
|
5028
|
-
"
|
|
5026
|
+
className: oe("rbui-base-input__clear-button", {
|
|
5027
|
+
"rbui-base-input__clear-button--hidden": c || x || !D
|
|
5029
5028
|
}),
|
|
5030
5029
|
onMouseDown: (z) => z.preventDefault(),
|
|
5031
5030
|
startIcon: /* @__PURE__ */ l(dt, {}),
|
|
5032
5031
|
onClick: P
|
|
5033
5032
|
}
|
|
5034
|
-
), N = oe("
|
|
5035
|
-
"
|
|
5036
|
-
"
|
|
5037
|
-
"
|
|
5038
|
-
"
|
|
5039
|
-
"
|
|
5040
|
-
"
|
|
5033
|
+
), N = oe("rbui-base-input", r, {
|
|
5034
|
+
"rbui-base-input--disabled": c,
|
|
5035
|
+
"rbui-base-input--error": u,
|
|
5036
|
+
"rbui-base-input--focused": I,
|
|
5037
|
+
"rbui-base-input--hovered": $,
|
|
5038
|
+
"rbui-base-input--readonly": x,
|
|
5039
|
+
"rbui-base-input--required": T
|
|
5041
5040
|
}), H = R({
|
|
5042
5041
|
...d,
|
|
5043
|
-
className: oe("
|
|
5044
|
-
"
|
|
5045
|
-
"
|
|
5046
|
-
"
|
|
5042
|
+
className: oe("rbui-base-input__input", d.className, {
|
|
5043
|
+
"rbui-base-input__input--multiline": g,
|
|
5044
|
+
"rbui-base-input__input--has-right": a || C,
|
|
5045
|
+
"rbui-base-input__input--has-left": h
|
|
5047
5046
|
}),
|
|
5048
5047
|
...b,
|
|
5049
5048
|
readOnly: x
|
|
5050
5049
|
});
|
|
5051
5050
|
return /* @__PURE__ */ re("div", { className: N, ...y(), ...O, children: [
|
|
5052
|
-
|
|
5051
|
+
h && /* @__PURE__ */ l("span", { className: "rbui-base-input__element", children: h }),
|
|
5053
5052
|
g && (n ? /* @__PURE__ */ l(k1, { ...H, minRows: m, maxRows: f }) : /* @__PURE__ */ l("textarea", { ...H, rows: m })),
|
|
5054
5053
|
!g && /* @__PURE__ */ l("input", { ...H }),
|
|
5055
|
-
(C || a) && /* @__PURE__ */ re("span", { className: "
|
|
5054
|
+
(C || a) && /* @__PURE__ */ re("span", { className: "rbui-base-input__element", children: [
|
|
5056
5055
|
a && ae(),
|
|
5057
5056
|
C
|
|
5058
5057
|
] })
|
|
5059
5058
|
] });
|
|
5060
5059
|
});
|
|
5061
5060
|
pt.displayName = "BaseInput";
|
|
5062
|
-
const b5 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`,
|
|
5061
|
+
const b5 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`, Qh = s((e, t) => {
|
|
5063
5062
|
const {
|
|
5064
5063
|
className: n,
|
|
5065
5064
|
clearable: r,
|
|
5066
5065
|
defaultValue: a,
|
|
5067
5066
|
disabled: i,
|
|
5068
5067
|
error: c,
|
|
5069
|
-
helperText:
|
|
5068
|
+
helperText: u,
|
|
5070
5069
|
inputProps: d,
|
|
5071
|
-
label:
|
|
5070
|
+
label: h,
|
|
5072
5071
|
leftElement: f,
|
|
5073
5072
|
name: m,
|
|
5074
5073
|
onBlur: g,
|
|
@@ -5082,7 +5081,7 @@ const b5 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`, Qu = s((e, t) => {
|
|
|
5082
5081
|
value: M,
|
|
5083
5082
|
id: b,
|
|
5084
5083
|
...Z
|
|
5085
|
-
} = e, A = b ?? (d == null ? void 0 : d.id) ?? b5("
|
|
5084
|
+
} = e, A = b ?? (d == null ? void 0 : d.id) ?? b5("rbui-input-field-id"), L = {
|
|
5086
5085
|
clearable: r,
|
|
5087
5086
|
defaultValue: a,
|
|
5088
5087
|
disabled: i,
|
|
@@ -5104,7 +5103,7 @@ const b5 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`, Qu = s((e, t) => {
|
|
|
5104
5103
|
E5,
|
|
5105
5104
|
{
|
|
5106
5105
|
...Z,
|
|
5107
|
-
className: oe("
|
|
5106
|
+
className: oe("rbui-input-field", n),
|
|
5108
5107
|
control: /* @__PURE__ */ l(
|
|
5109
5108
|
pt,
|
|
5110
5109
|
{
|
|
@@ -5114,23 +5113,23 @@ const b5 = (e) => `${e}-${Math.round(Math.random() * 1e3)}`, Qu = s((e, t) => {
|
|
|
5114
5113
|
),
|
|
5115
5114
|
controlId: A,
|
|
5116
5115
|
error: c,
|
|
5117
|
-
helperText:
|
|
5118
|
-
label:
|
|
5116
|
+
helperText: u,
|
|
5117
|
+
label: h,
|
|
5119
5118
|
tooltip: C
|
|
5120
5119
|
}
|
|
5121
5120
|
);
|
|
5122
5121
|
});
|
|
5123
|
-
|
|
5124
|
-
const
|
|
5122
|
+
Qh.displayName = "InputField";
|
|
5123
|
+
const Jh = s((e, t) => {
|
|
5125
5124
|
const {
|
|
5126
5125
|
autoSize: n,
|
|
5127
5126
|
className: r,
|
|
5128
5127
|
counter: a,
|
|
5129
5128
|
defaultValue: i,
|
|
5130
5129
|
disabled: c,
|
|
5131
|
-
error:
|
|
5130
|
+
error: u,
|
|
5132
5131
|
helperText: d,
|
|
5133
|
-
id:
|
|
5132
|
+
id: h,
|
|
5134
5133
|
label: f,
|
|
5135
5134
|
maxCount: m,
|
|
5136
5135
|
maxRows: g,
|
|
@@ -5147,16 +5146,16 @@ const Ju = s((e, t) => {
|
|
|
5147
5146
|
tooltip: A,
|
|
5148
5147
|
value: L,
|
|
5149
5148
|
..._
|
|
5150
|
-
} = e, k =
|
|
5149
|
+
} = e, k = h ?? (Z == null ? void 0 : Z.id) ?? b5("rbui-text-field-id"), D = {
|
|
5151
5150
|
autoSize: n,
|
|
5152
5151
|
defaultValue: i,
|
|
5153
5152
|
disabled: c,
|
|
5154
|
-
error:
|
|
5153
|
+
error: u,
|
|
5155
5154
|
id: k,
|
|
5156
5155
|
inputProps: {
|
|
5157
5156
|
...Z,
|
|
5158
|
-
className: oe("
|
|
5159
|
-
"
|
|
5157
|
+
className: oe("rbui-text-field__textarea", Z == null ? void 0 : Z.className, {
|
|
5158
|
+
"rbui-text-field__textarea--resizable": b
|
|
5160
5159
|
})
|
|
5161
5160
|
},
|
|
5162
5161
|
maxRows: g,
|
|
@@ -5169,12 +5168,12 @@ const Ju = s((e, t) => {
|
|
|
5169
5168
|
readOnly: C,
|
|
5170
5169
|
required: M,
|
|
5171
5170
|
value: L
|
|
5172
|
-
}, [B, $] =
|
|
5171
|
+
}, [B, $] = h0(0);
|
|
5173
5172
|
return /* @__PURE__ */ l(
|
|
5174
5173
|
E5,
|
|
5175
5174
|
{
|
|
5176
5175
|
..._,
|
|
5177
|
-
className: oe("
|
|
5176
|
+
className: oe("rbui-text-field", r),
|
|
5178
5177
|
control: /* @__PURE__ */ l(
|
|
5179
5178
|
pt,
|
|
5180
5179
|
{
|
|
@@ -5185,15 +5184,15 @@ const Ju = s((e, t) => {
|
|
|
5185
5184
|
}
|
|
5186
5185
|
),
|
|
5187
5186
|
controlId: k,
|
|
5188
|
-
error:
|
|
5187
|
+
error: u,
|
|
5189
5188
|
helperText: d,
|
|
5190
5189
|
label: f,
|
|
5191
|
-
metadata: a && /* @__PURE__ */ l("span", { className: "
|
|
5190
|
+
metadata: a && /* @__PURE__ */ l("span", { className: "rbui-text-field__counter", children: `${B}${m ? `/${m}` : ""}` }),
|
|
5192
5191
|
tooltip: A
|
|
5193
5192
|
}
|
|
5194
5193
|
);
|
|
5195
5194
|
});
|
|
5196
|
-
|
|
5195
|
+
Jh.displayName = "TextField";
|
|
5197
5196
|
const y5 = p1(null);
|
|
5198
5197
|
function b0() {
|
|
5199
5198
|
return v1(y5);
|
|
@@ -5222,8 +5221,8 @@ function r8(e, t) {
|
|
|
5222
5221
|
width: 0,
|
|
5223
5222
|
height: 0
|
|
5224
5223
|
};
|
|
5225
|
-
let { top: n, right: r, bottom: a, left: i, width: c, height:
|
|
5226
|
-
return t && (t.left && (i -= t.left, c += t.left), t.right && (r += t.right, c += t.right), t.top && (n -= t.top,
|
|
5224
|
+
let { top: n, right: r, bottom: a, left: i, width: c, height: u } = e;
|
|
5225
|
+
return t && (t.left && (i -= t.left, c += t.left), t.right && (r += t.right, c += t.right), t.top && (n -= t.top, u += t.top), t.bottom && (a += t.bottom, u += t.bottom)), { x: i, y: n, top: n, right: r, bottom: a, left: i, width: c, height: u };
|
|
5227
5226
|
}
|
|
5228
5227
|
const r1 = "__modal_root__";
|
|
5229
5228
|
function o1(e) {
|
|
@@ -5479,10 +5478,10 @@ function c8(e) {
|
|
|
5479
5478
|
};
|
|
5480
5479
|
}
|
|
5481
5480
|
function we(e) {
|
|
5482
|
-
var t, n, r, a, i, c,
|
|
5481
|
+
var t, n, r, a, i, c, u, d;
|
|
5483
5482
|
try {
|
|
5484
|
-
const
|
|
5485
|
-
return (t =
|
|
5483
|
+
const h = e;
|
|
5484
|
+
return (t = h.stopPropagation) == null || t.call(h), (n = h.preventDefault) == null || n.call(h), h.nativeEvent && ((a = (r = h.nativeEvent).stopImmediatePropagation) == null || a.call(r), (c = (i = h.nativeEvent).stopPropagation) == null || c.call(i), (d = (u = h.nativeEvent).preventDefault) == null || d.call(u)), !1;
|
|
5486
5485
|
} catch {
|
|
5487
5486
|
return !1;
|
|
5488
5487
|
}
|
|
@@ -5496,10 +5495,10 @@ function q(e, t, n) {
|
|
|
5496
5495
|
if (n)
|
|
5497
5496
|
return s1(n) ? n() : n;
|
|
5498
5497
|
}
|
|
5499
|
-
const s8 = "__tooltip__",
|
|
5498
|
+
const s8 = "__tooltip__", u8 = "__dropdown__";
|
|
5500
5499
|
let Ge = null;
|
|
5501
5500
|
const Ae = [];
|
|
5502
|
-
class
|
|
5501
|
+
class u1 extends o.Component {
|
|
5503
5502
|
constructor() {
|
|
5504
5503
|
super(...arguments);
|
|
5505
5504
|
F(this, "container", o.createRef());
|
|
@@ -5518,11 +5517,11 @@ class h1 extends o.Component {
|
|
|
5518
5517
|
var r, a, i;
|
|
5519
5518
|
if (this.props.bounds && this.isTopQueued) {
|
|
5520
5519
|
const { customModalRootId: c } = this.props;
|
|
5521
|
-
let { customModalRoot:
|
|
5522
|
-
if (c && (
|
|
5520
|
+
let { customModalRoot: u = Ge } = this.props;
|
|
5521
|
+
if (c && (u = document.getElementById(c)), this.props.dismissTestOnContainer) {
|
|
5523
5522
|
if (W0(this.container.current, n.target) && n.target !== this.container.current)
|
|
5524
5523
|
return;
|
|
5525
|
-
} else if (W0(
|
|
5524
|
+
} else if (W0(u, n.target) && n.target !== this.container.current)
|
|
5526
5525
|
return;
|
|
5527
5526
|
(((r = this.topQueuedItem) == null ? void 0 : r[1].size) || 0) <= 1 && we(n), (i = (a = this.props).onClose) == null || i.call(a, n), this.removeQueueId();
|
|
5528
5527
|
}
|
|
@@ -5555,7 +5554,7 @@ class h1 extends o.Component {
|
|
|
5555
5554
|
}
|
|
5556
5555
|
get modalId() {
|
|
5557
5556
|
const { customModalRootId: n } = this.props;
|
|
5558
|
-
return n ||
|
|
5557
|
+
return n || u8;
|
|
5559
5558
|
}
|
|
5560
5559
|
// eslint-disable-next-line class-methods-use-this
|
|
5561
5560
|
get topQueuedItem() {
|
|
@@ -5590,9 +5589,9 @@ class h1 extends o.Component {
|
|
|
5590
5589
|
bounds: a,
|
|
5591
5590
|
customModalRoot: i = Ge,
|
|
5592
5591
|
coverBounds: c,
|
|
5593
|
-
width:
|
|
5592
|
+
width: u = 0,
|
|
5594
5593
|
maxWidth: d,
|
|
5595
|
-
height:
|
|
5594
|
+
height: h,
|
|
5596
5595
|
dropUp: f,
|
|
5597
5596
|
dropLeft: m,
|
|
5598
5597
|
dropRight: g,
|
|
@@ -5604,12 +5603,12 @@ class h1 extends o.Component {
|
|
|
5604
5603
|
if (a) {
|
|
5605
5604
|
if (!i)
|
|
5606
5605
|
return setTimeout(() => this.forceUpdate(), 200), null;
|
|
5607
|
-
let x = Math.max(
|
|
5606
|
+
let x = Math.max(u || 0, 0) || n || 0, T = h || r || Number.NaN;
|
|
5608
5607
|
const C = n || 0;
|
|
5609
5608
|
let M, b, Z, A;
|
|
5610
|
-
S ? f ? b = !0 : m ? A = !0 : g ? Z = !0 : M = !0 : f ? (T < 0 && (T = a.top - 1),
|
|
5609
|
+
S ? f ? b = !0 : m ? A = !0 : g ? Z = !0 : M = !0 : f ? (T < 0 && (T = a.top - 1), u < 0 && (x = a.width), b = a.top + (c ? a.height : 0) > T, M = !b && window.innerHeight - a.bottom + (c ? a.height : 0) > T, Z = !M && !b && C < window.innerWidth - a.right, A = !M && !b && !Z && C < a.left) : m ? (T < 0 && (T = window.innerHeight - 1), u < 0 && (x = a.left - 1), A = !M && !b && !Z && C < a.left, b = !A && a.top + (c ? a.height : 0) > T, M = !A && !b && window.innerHeight - a.bottom + (c ? a.height : 0) > T, Z = !A && !M && !b && C < window.innerWidth - a.right) : g ? (T < 0 && (T = window.innerHeight - 1), u < 0 && (x = window.innerWidth - a.right - 1), Z = !M && !b && !A && C < window.innerWidth - a.right, A = !M && !b && !Z && C < a.left, M = !A && !Z && !b && window.innerHeight - a.bottom + (c ? a.height : 0) > T, b = !A && !Z && !M && a.top + (c ? a.height : 0) > T) : (T < 0 && (T = window.innerHeight - a.bottom - 1), u < 0 && (x = a.width), M = window.innerHeight - a.bottom + (c ? a.height : 0) > T, b = !M && a.top + (c ? a.height : 0) > T, Z = !M && !b && C < window.innerWidth - a.right, A = !M && !b && !Z && C < a.left);
|
|
5611
5610
|
let L = (M || b) && a.left > window.innerWidth / 2;
|
|
5612
|
-
E && (L = !1), x && (x = Math.min(x || 0, window.innerWidth)), c && !
|
|
5611
|
+
E && (L = !1), x && (x = Math.min(x || 0, window.innerWidth)), c && !u && (x = Math.min(0, window.innerWidth)), d && (x = Math.min(x, d));
|
|
5613
5612
|
const _ = Math.min(T, window.innerHeight) + 1 || 0, k = M ? Math.max(c ? a.top : a.bottom, 0) : b ? Math.min(
|
|
5614
5613
|
a.top - _ + (c ? a.height : 0),
|
|
5615
5614
|
window.innerHeight - _
|
|
@@ -5644,11 +5643,11 @@ class h1 extends o.Component {
|
|
|
5644
5643
|
return w ? this.renderContent() : null;
|
|
5645
5644
|
}
|
|
5646
5645
|
}
|
|
5647
|
-
const { min:
|
|
5646
|
+
const { min: h8, max: d8 } = Math;
|
|
5648
5647
|
function f8(e, t, n) {
|
|
5649
|
-
return
|
|
5648
|
+
return h8(d8(e, t), n);
|
|
5650
5649
|
}
|
|
5651
|
-
function
|
|
5650
|
+
function h1(e, t, n) {
|
|
5652
5651
|
n = f8(n, 0, 1);
|
|
5653
5652
|
const r = n < 0.5 ? 4 * n * n * n : (n - 1) * (2 * n - 2) * (2 * n - 2) + 1;
|
|
5654
5653
|
return (t - e) * r + e;
|
|
@@ -5707,17 +5706,17 @@ class p8 extends o.Component {
|
|
|
5707
5706
|
});
|
|
5708
5707
|
F(this, "animateScrollOnce", (n, r) => {
|
|
5709
5708
|
let a = 0;
|
|
5710
|
-
const i = this.props.autoScrollDuration || 170, c = (
|
|
5709
|
+
const i = this.props.autoScrollDuration || 170, c = (u) => {
|
|
5711
5710
|
var p;
|
|
5712
5711
|
if (!this.container.current || !this.content.current || !this.wrapper.current)
|
|
5713
5712
|
return;
|
|
5714
|
-
const d = this.container.current.getBoundingClientRect(),
|
|
5713
|
+
const d = this.container.current.getBoundingClientRect(), h = (p = this.wrapper.current) == null ? void 0 : p.getBoundingClientRect(), f = this.getScrollMetrics(d, h);
|
|
5715
5714
|
if (!this.container.current)
|
|
5716
5715
|
return;
|
|
5717
|
-
a || (a =
|
|
5718
|
-
const m = (
|
|
5719
|
-
|
|
5720
|
-
|
|
5716
|
+
a || (a = u);
|
|
5717
|
+
const m = (u - a) / i, g = [
|
|
5718
|
+
h1(n[0], r[0], m),
|
|
5719
|
+
h1(n[1], r[1], m)
|
|
5721
5720
|
];
|
|
5722
5721
|
this.content.current.scrollLeft = Math.max(
|
|
5723
5722
|
Math.min(g[0] || 0, f.scrollSpace[0]),
|
|
@@ -5728,12 +5727,12 @@ class p8 extends o.Component {
|
|
|
5728
5727
|
), this.setState({
|
|
5729
5728
|
top: [this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
5730
5729
|
bounds: d,
|
|
5731
|
-
contentBounds:
|
|
5732
|
-
}), this.props.onScroll && d &&
|
|
5730
|
+
contentBounds: h
|
|
5731
|
+
}), this.props.onScroll && d && h && this.container.current && this.props.onScroll(
|
|
5733
5732
|
[this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
5734
5733
|
f.scrollSpace,
|
|
5735
5734
|
d,
|
|
5736
|
-
|
|
5735
|
+
h,
|
|
5737
5736
|
!0
|
|
5738
5737
|
), this.state.animating && m < 1 && (this.animateScrollId = requestAnimationFrame(c));
|
|
5739
5738
|
};
|
|
@@ -5778,7 +5777,7 @@ class p8 extends o.Component {
|
|
|
5778
5777
|
if (r && (this.setState((a) => ({ top: a.top, isOpen: !1 })), (Math.abs(this.touch.inertia[0]) > 0 || Math.abs(this.touch.inertia[1]) > 0) && this.content.current)) {
|
|
5779
5778
|
const { bounds: a, contentBounds: i } = this.state, { current: c } = this.content;
|
|
5780
5779
|
cancelAnimationFrame(this.touch.animation);
|
|
5781
|
-
const
|
|
5780
|
+
const u = () => {
|
|
5782
5781
|
c.scrollLeft += this.touch.inertia[0], c.scrollTop += this.touch.inertia[1];
|
|
5783
5782
|
const d = this.getScrollMetrics();
|
|
5784
5783
|
c.scrollLeft = Math.min(
|
|
@@ -5791,9 +5790,9 @@ class p8 extends o.Component {
|
|
|
5791
5790
|
d.scrollSpace,
|
|
5792
5791
|
a,
|
|
5793
5792
|
i
|
|
5794
|
-
), this.touch.inertia[0] *= 0.95, this.touch.inertia[1] *= 0.95, Math.abs(this.touch.inertia[0]) > 1e-3 || Math.abs(this.touch.inertia[1]) > 1e-3 ? requestAnimationFrame(
|
|
5793
|
+
), this.touch.inertia[0] *= 0.95, this.touch.inertia[1] *= 0.95, Math.abs(this.touch.inertia[0]) > 1e-3 || Math.abs(this.touch.inertia[1]) > 1e-3 ? requestAnimationFrame(u) : this.touch.animation = -1;
|
|
5795
5794
|
};
|
|
5796
|
-
this.touch.animation = requestAnimationFrame(
|
|
5795
|
+
this.touch.animation = requestAnimationFrame(u);
|
|
5797
5796
|
}
|
|
5798
5797
|
});
|
|
5799
5798
|
F(this, "handleTouchMove", (n) => {
|
|
@@ -5801,43 +5800,43 @@ class p8 extends o.Component {
|
|
|
5801
5800
|
return;
|
|
5802
5801
|
const { bounds: r, contentBounds: a, isOpen: i } = this.state;
|
|
5803
5802
|
let c = null;
|
|
5804
|
-
for (let d = 0,
|
|
5803
|
+
for (let d = 0, h = n.touches.length; d < h && (c = n.touches.item(d), !(c && c.identifier === this.touch.id)); ++d)
|
|
5805
5804
|
;
|
|
5806
5805
|
if (!c)
|
|
5807
5806
|
return;
|
|
5808
5807
|
this.content.current.scrollLeft += this.touch.position[0] - c.pageX, this.content.current.scrollTop += this.touch.position[1] - c.pageY, this.touch.inertia[0] = this.touch.position[0] - c.pageX, this.touch.inertia[1] = this.touch.position[1] - c.pageY, this.props.allowTouchInertia || (this.touch.inertia = [0, 0]), this.touch.position = [c.pageX, c.pageY];
|
|
5809
|
-
const
|
|
5808
|
+
const u = this.getScrollMetrics();
|
|
5810
5809
|
this.content.current.scrollLeft = Math.min(
|
|
5811
5810
|
this.content.current.scrollLeft,
|
|
5812
|
-
|
|
5811
|
+
u.scrollSpace[0]
|
|
5813
5812
|
), this.content.current.scrollTop = Math.min(
|
|
5814
5813
|
this.content.current.scrollTop,
|
|
5815
|
-
|
|
5814
|
+
u.scrollSpace[1]
|
|
5816
5815
|
), this.setState({
|
|
5817
5816
|
top: [this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
5818
5817
|
animating: !1
|
|
5819
5818
|
}), this.props.onScroll && r && a && this.props.onScroll(
|
|
5820
5819
|
[this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
5821
|
-
|
|
5820
|
+
u.scrollSpace,
|
|
5822
5821
|
r,
|
|
5823
5822
|
a
|
|
5824
|
-
), i && r && (
|
|
5823
|
+
), i && r && (u.barRatio[0] < 1 || u.barRatio[1] < 1) && we(n), cancelAnimationFrame(this.touch.animation);
|
|
5825
5824
|
});
|
|
5826
5825
|
F(this, "handleWheel", (n) => {
|
|
5827
5826
|
if (!(n.currentTarget instanceof HTMLDivElement) || this.props.preventWheel || !this.content.current)
|
|
5828
5827
|
return !1;
|
|
5829
|
-
const { bounds: r, contentBounds: a, isOpen: i } = this.state, c = vt(n),
|
|
5828
|
+
const { bounds: r, contentBounds: a, isOpen: i } = this.state, c = vt(n), u = this.content.current.scrollLeft + c.pixelX, d = this.content.current.scrollTop - c.pixelY, h = this.getScrollMetrics(), f = Math.min(u, h.scrollSpace[0]), m = Math.min(d, h.scrollSpace[1]);
|
|
5830
5829
|
if (this.content.current.scrollLeft = f, this.content.current.scrollTop = m, this.setState({
|
|
5831
5830
|
top: [f, m],
|
|
5832
5831
|
animating: !1
|
|
5833
5832
|
}), this.props.onScroll && r && a && this.props.onScroll(
|
|
5834
5833
|
[f, m],
|
|
5835
|
-
|
|
5834
|
+
h.scrollSpace,
|
|
5836
5835
|
r,
|
|
5837
5836
|
a
|
|
5838
|
-
), i && r && (
|
|
5837
|
+
), i && r && (h.barRatio[0] < 1 || h.barRatio[1] < 1))
|
|
5839
5838
|
if (this.props.allowScrollFlowThrough) {
|
|
5840
|
-
if (Math.floor(f) < Math.floor(
|
|
5839
|
+
if (Math.floor(f) < Math.floor(h.scrollSpace[0]) && Math.floor(f) > 0 || Math.floor(m) < Math.floor(h.scrollSpace[1]) && Math.floor(m) > 0)
|
|
5841
5840
|
return n.preventDefault(), we(n), !1;
|
|
5842
5841
|
} else
|
|
5843
5842
|
return n.preventDefault(), we(n), !1;
|
|
@@ -5848,13 +5847,13 @@ class p8 extends o.Component {
|
|
|
5848
5847
|
i.scrollSpace[0] / i.barSpace[0],
|
|
5849
5848
|
i.scrollSpace[1] / i.barSpace[1]
|
|
5850
5849
|
];
|
|
5851
|
-
let
|
|
5850
|
+
let u = [n.nativeEvent.clientX, n.nativeEvent.clientY];
|
|
5852
5851
|
this.setState({
|
|
5853
5852
|
isDragging: !0,
|
|
5854
5853
|
animating: !1
|
|
5855
5854
|
});
|
|
5856
|
-
const { pointerId: d, currentTarget:
|
|
5857
|
-
|
|
5855
|
+
const { pointerId: d, currentTarget: h } = n;
|
|
5856
|
+
h.setPointerCapture(d);
|
|
5858
5857
|
const f = (g) => {
|
|
5859
5858
|
if ("which" in g) {
|
|
5860
5859
|
if (!g.which) {
|
|
@@ -5865,8 +5864,8 @@ class p8 extends o.Component {
|
|
|
5865
5864
|
m();
|
|
5866
5865
|
return;
|
|
5867
5866
|
}
|
|
5868
|
-
const p = [g.clientX, g.clientY], w = [p[0] -
|
|
5869
|
-
if (
|
|
5867
|
+
const p = [g.clientX, g.clientY], w = [p[0] - u[0], p[1] - u[1]];
|
|
5868
|
+
if (u = p, this.content.current) {
|
|
5870
5869
|
const E = this.content.current.scrollLeft + w[0] * c[0];
|
|
5871
5870
|
this.content.current.scrollLeft = Math.min(
|
|
5872
5871
|
E,
|
|
@@ -5885,24 +5884,24 @@ class p8 extends o.Component {
|
|
|
5885
5884
|
a
|
|
5886
5885
|
);
|
|
5887
5886
|
}, m = () => {
|
|
5888
|
-
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", m),
|
|
5887
|
+
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", m), h.removeEventListener("mouseup", m), h.releasePointerCapture(d), this.setState({
|
|
5889
5888
|
isDragging: !1
|
|
5890
5889
|
});
|
|
5891
5890
|
};
|
|
5892
|
-
document.addEventListener("mousemove", f), document.addEventListener("mouseup", m),
|
|
5891
|
+
document.addEventListener("mousemove", f), document.addEventListener("mouseup", m), h.addEventListener("mouseup", m);
|
|
5893
5892
|
});
|
|
5894
5893
|
F(this, "handleVerticalBarDown", (n) => {
|
|
5895
5894
|
const { bounds: r, contentBounds: a } = this.state, i = this.getScrollMetrics(), c = [
|
|
5896
5895
|
i.scrollSpace[0] / i.barSpace[0],
|
|
5897
5896
|
i.scrollSpace[1] / i.barSpace[1]
|
|
5898
5897
|
];
|
|
5899
|
-
let
|
|
5898
|
+
let u = [n.nativeEvent.clientX, n.nativeEvent.clientY];
|
|
5900
5899
|
this.setState({
|
|
5901
5900
|
isDragging: !0,
|
|
5902
5901
|
animating: !1
|
|
5903
5902
|
});
|
|
5904
|
-
const { pointerId: d, currentTarget:
|
|
5905
|
-
|
|
5903
|
+
const { pointerId: d, currentTarget: h } = n;
|
|
5904
|
+
h.setPointerCapture(d);
|
|
5906
5905
|
const f = (g) => {
|
|
5907
5906
|
if ("which" in g) {
|
|
5908
5907
|
if (!g.which) {
|
|
@@ -5913,8 +5912,8 @@ class p8 extends o.Component {
|
|
|
5913
5912
|
m();
|
|
5914
5913
|
return;
|
|
5915
5914
|
}
|
|
5916
|
-
const p = [g.clientX, g.clientY], w = [p[0] -
|
|
5917
|
-
if (
|
|
5915
|
+
const p = [g.clientX, g.clientY], w = [p[0] - u[0], p[1] - u[1]];
|
|
5916
|
+
if (u = p, this.content.current) {
|
|
5918
5917
|
const E = this.content.current.scrollTop + w[1] * c[1];
|
|
5919
5918
|
this.content.current.scrollTop = Math.min(
|
|
5920
5919
|
E,
|
|
@@ -5933,11 +5932,11 @@ class p8 extends o.Component {
|
|
|
5933
5932
|
a
|
|
5934
5933
|
);
|
|
5935
5934
|
}, m = () => {
|
|
5936
|
-
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", m),
|
|
5935
|
+
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", m), h.removeEventListener("mouseup", m), h.releasePointerCapture(d), this.setState({
|
|
5937
5936
|
isDragging: !1
|
|
5938
5937
|
});
|
|
5939
5938
|
};
|
|
5940
|
-
document.addEventListener("mousemove", f), document.addEventListener("mouseup", m),
|
|
5939
|
+
document.addEventListener("mousemove", f), document.addEventListener("mouseup", m), h.addEventListener("mouseup", m);
|
|
5941
5940
|
});
|
|
5942
5941
|
}
|
|
5943
5942
|
getSnapshotBeforeUpdate(n) {
|
|
@@ -5963,32 +5962,32 @@ class p8 extends o.Component {
|
|
|
5963
5962
|
const { bounds: n, contentBounds: r } = this.state, { onScroll: a, autoScrollDuration: i, scrollHeight: c } = this.props;
|
|
5964
5963
|
if ((!n || this.childrenChanged) && this.wrapper.current && this.content.current && this.container.current) {
|
|
5965
5964
|
this.childrenChanged = !1, this.isUpdatingChildren = !0;
|
|
5966
|
-
const
|
|
5965
|
+
const h = this.container.current.getBoundingClientRect(), f = this.wrapper.current.getBoundingClientRect();
|
|
5967
5966
|
if (a) {
|
|
5968
5967
|
const m = this.getScrollMetrics();
|
|
5969
5968
|
a(
|
|
5970
5969
|
[this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
5971
5970
|
m.scrollSpace,
|
|
5972
|
-
|
|
5971
|
+
h,
|
|
5973
5972
|
f
|
|
5974
5973
|
);
|
|
5975
5974
|
}
|
|
5976
5975
|
this.setState({
|
|
5977
|
-
bounds:
|
|
5976
|
+
bounds: h,
|
|
5978
5977
|
contentBounds: f
|
|
5979
5978
|
});
|
|
5980
5979
|
}
|
|
5981
5980
|
if (n && r && this.wrapper.current && this.container.current) {
|
|
5982
|
-
const
|
|
5983
|
-
(
|
|
5984
|
-
bounds:
|
|
5981
|
+
const h = this.container.current.getBoundingClientRect(), f = this.wrapper.current.getBoundingClientRect();
|
|
5982
|
+
(h.width !== n.width || h.height !== n.height || f.width !== r.width || f.height !== r.height) && this.setState({
|
|
5983
|
+
bounds: h,
|
|
5985
5984
|
contentBounds: f
|
|
5986
5985
|
});
|
|
5987
5986
|
}
|
|
5988
|
-
const { scrollToOnce:
|
|
5989
|
-
if (
|
|
5990
|
-
const
|
|
5991
|
-
this.scrolledToOnce =
|
|
5987
|
+
const { scrollToOnce: u } = this.props;
|
|
5988
|
+
if (u !== void 0 && Number.isNaN(u[0]) && Number.isNaN(u[1]) && (u[0] = 0, u[1] = 0), n && r && this.content.current && this.container.current && this.scrolledToOnce !== u) {
|
|
5989
|
+
const h = this.container.current.getBoundingClientRect(), f = (d = this.wrapper.current) == null ? void 0 : d.getBoundingClientRect();
|
|
5990
|
+
this.scrolledToOnce = u || [0, 0];
|
|
5992
5991
|
const m = this.scrolledToOnce;
|
|
5993
5992
|
let g = [
|
|
5994
5993
|
this.content.current.scrollLeft,
|
|
@@ -5996,26 +5995,26 @@ class p8 extends o.Component {
|
|
|
5996
5995
|
];
|
|
5997
5996
|
if (i === 0 && (g = this.scrolledToOnce, this.content.current.scrollLeft = g[0], this.content.current.scrollTop = g[1]), this.setState({
|
|
5998
5997
|
top: g,
|
|
5999
|
-
bounds:
|
|
5998
|
+
bounds: h,
|
|
6000
5999
|
contentBounds: f,
|
|
6001
6000
|
animating: !0
|
|
6002
6001
|
}), window.cancelAnimationFrame(this.animateScrollId), i !== 0 && (this.animateScrollId = requestAnimationFrame(
|
|
6003
6002
|
this.animateScrollOnce(g, m)
|
|
6004
|
-
)), a &&
|
|
6005
|
-
const p = this.getScrollMetrics(
|
|
6003
|
+
)), a && h && f && this.container.current) {
|
|
6004
|
+
const p = this.getScrollMetrics(h, f);
|
|
6006
6005
|
a(
|
|
6007
6006
|
[this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
6008
6007
|
p.scrollSpace,
|
|
6009
|
-
|
|
6008
|
+
h,
|
|
6010
6009
|
f
|
|
6011
6010
|
);
|
|
6012
6011
|
}
|
|
6013
6012
|
} else if (n && r && this.content.current && this.currentScrollHeight !== c && a) {
|
|
6014
6013
|
this.currentScrollHeight = c;
|
|
6015
|
-
const
|
|
6014
|
+
const h = this.getScrollMetrics();
|
|
6016
6015
|
a(
|
|
6017
6016
|
[this.content.current.scrollLeft, this.content.current.scrollTop],
|
|
6018
|
-
|
|
6017
|
+
h.scrollSpace,
|
|
6019
6018
|
n,
|
|
6020
6019
|
r
|
|
6021
6020
|
);
|
|
@@ -6037,20 +6036,20 @@ class p8 extends o.Component {
|
|
|
6037
6036
|
getScrollMetrics(n, r) {
|
|
6038
6037
|
let { bounds: a, contentBounds: i } = this.state;
|
|
6039
6038
|
a = n || a, i = r || i;
|
|
6040
|
-
const c = [0, 0],
|
|
6041
|
-
return a && i && (
|
|
6039
|
+
const c = [0, 0], u = [1, 1], d = [0, 0], h = [0, 0];
|
|
6040
|
+
return a && i && (u[0] = a.width / i.width, c[0] = u[0] * a.width, c[0] = Math.max(c[0], 30), c[0] = Math.min(c[0], a.width)), u[0] < 1 && a && i && (d[0] = a.width - c[0], h[0] = i.width - a.width), a && i && (u[1] = a.height / i.height, c[1] = u[1] * a.height, c[1] = Math.max(c[1], 30), c[1] = Math.min(c[1], a.height)), u[1] < 1 && a && i && (d[1] = a.height - c[1], h[1] = i.height - a.height), {
|
|
6042
6041
|
barSizes: c,
|
|
6043
|
-
barRatio:
|
|
6042
|
+
barRatio: u,
|
|
6044
6043
|
barSpace: d,
|
|
6045
|
-
scrollSpace:
|
|
6044
|
+
scrollSpace: h
|
|
6046
6045
|
};
|
|
6047
6046
|
}
|
|
6048
6047
|
render() {
|
|
6049
6048
|
var T, C, M, b, Z;
|
|
6050
6049
|
const { isOpen: n, isDragging: r, bounds: a, top: i, regionWidth: c } = this.state, {
|
|
6051
|
-
className:
|
|
6050
|
+
className: u,
|
|
6052
6051
|
contentClassName: d,
|
|
6053
|
-
containerProps:
|
|
6052
|
+
containerProps: h,
|
|
6054
6053
|
contentProps: f,
|
|
6055
6054
|
children: m,
|
|
6056
6055
|
scrollHeight: g,
|
|
@@ -6096,10 +6095,10 @@ class p8 extends o.Component {
|
|
|
6096
6095
|
/* @__PURE__ */ re(
|
|
6097
6096
|
"div",
|
|
6098
6097
|
{
|
|
6099
|
-
className: ie("ScrollRegion", w,
|
|
6100
|
-
...
|
|
6098
|
+
className: ie("ScrollRegion", w, u),
|
|
6099
|
+
...h,
|
|
6101
6100
|
ref: this.container,
|
|
6102
|
-
style:
|
|
6101
|
+
style: h == null ? void 0 : h.style,
|
|
6103
6102
|
onMouseOver: () => {
|
|
6104
6103
|
this.setState({ top: i, isOpen: !0 }), this.forceUpdate();
|
|
6105
6104
|
},
|
|
@@ -6221,15 +6220,15 @@ class y8 extends o.Component {
|
|
|
6221
6220
|
});
|
|
6222
6221
|
F(this, "animateScrollOnce", (n, r) => {
|
|
6223
6222
|
let a = 0;
|
|
6224
|
-
const i = this.props.autoScrollDuration || 170, c = (
|
|
6223
|
+
const i = this.props.autoScrollDuration || 170, c = (u) => {
|
|
6225
6224
|
var w;
|
|
6226
6225
|
if (!this.container.current || !this.content.current)
|
|
6227
6226
|
return;
|
|
6228
|
-
const { horizontal: d } = this.props,
|
|
6227
|
+
const { horizontal: d } = this.props, h = this.container.current.getBoundingClientRect(), f = (w = this.content.current) == null ? void 0 : w.getBoundingClientRect(), m = this.getScrollMetrics(h, f);
|
|
6229
6228
|
if (!this.container.current)
|
|
6230
6229
|
return;
|
|
6231
|
-
a || (a =
|
|
6232
|
-
const g = (
|
|
6230
|
+
a || (a = u);
|
|
6231
|
+
const g = (u - a) / i, p = E8(n, r, g);
|
|
6233
6232
|
d ? this.container.current.scrollLeft = Math.max(
|
|
6234
6233
|
Math.min(p || 0, m.scrollSpace),
|
|
6235
6234
|
0
|
|
@@ -6240,12 +6239,12 @@ class y8 extends o.Component {
|
|
|
6240
6239
|
d ? this.container.current.scrollLeft : this.container.current.scrollTop
|
|
6241
6240
|
), this.setState({
|
|
6242
6241
|
top: d ? this.container.current.scrollLeft : this.container.current.scrollTop,
|
|
6243
|
-
bounds:
|
|
6242
|
+
bounds: h,
|
|
6244
6243
|
contentBounds: f
|
|
6245
|
-
}), this.props.onScroll &&
|
|
6244
|
+
}), this.props.onScroll && h && f && this.container.current && this.props.onScroll(
|
|
6246
6245
|
d ? this.container.current.scrollLeft : this.container.current.scrollTop,
|
|
6247
6246
|
m.scrollSpace,
|
|
6248
|
-
|
|
6247
|
+
h,
|
|
6249
6248
|
f,
|
|
6250
6249
|
!0
|
|
6251
6250
|
), this.state.animating && g < 1 && (this.animateScrollId = requestAnimationFrame(c));
|
|
@@ -6290,21 +6289,21 @@ class y8 extends o.Component {
|
|
|
6290
6289
|
}
|
|
6291
6290
|
}
|
|
6292
6291
|
if (a && (this.setState((i) => ({ top: i.top, isOpen: !1 })), Math.abs(this.touch.inertia) > 0 && this.container.current)) {
|
|
6293
|
-
const { bounds: i, contentBounds: c } = this.state, { current:
|
|
6292
|
+
const { bounds: i, contentBounds: c } = this.state, { current: u } = this.container;
|
|
6294
6293
|
cancelAnimationFrame(this.touch.animation);
|
|
6295
6294
|
const d = () => {
|
|
6296
|
-
r ?
|
|
6297
|
-
const
|
|
6298
|
-
r ?
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
) :
|
|
6302
|
-
r ?
|
|
6295
|
+
r ? u.scrollLeft += this.touch.inertia : u.scrollTop += this.touch.inertia;
|
|
6296
|
+
const h = this.getScrollMetrics();
|
|
6297
|
+
r ? u.scrollLeft = Math.min(
|
|
6298
|
+
u.scrollLeft,
|
|
6299
|
+
h.scrollSpace
|
|
6300
|
+
) : u.scrollTop = Math.min(u.scrollTop, h.scrollSpace), this.positionScrollBar(
|
|
6301
|
+
r ? u.scrollLeft : u.scrollTop
|
|
6303
6302
|
), this.setState({
|
|
6304
|
-
top: r ?
|
|
6303
|
+
top: r ? u.scrollLeft : u.scrollTop
|
|
6305
6304
|
}), this.props.onScroll && i && c && this.props.onScroll(
|
|
6306
|
-
r ?
|
|
6307
|
-
|
|
6305
|
+
r ? u.scrollLeft : u.scrollTop,
|
|
6306
|
+
h.scrollSpace,
|
|
6308
6307
|
i,
|
|
6309
6308
|
c
|
|
6310
6309
|
), this.touch.inertia *= 0.95, Math.abs(this.touch.inertia) > 1e-3 ? requestAnimationFrame(d) : this.touch.animation = -1;
|
|
@@ -6316,12 +6315,12 @@ class y8 extends o.Component {
|
|
|
6316
6315
|
if (!(n.currentTarget instanceof HTMLDivElement))
|
|
6317
6316
|
return;
|
|
6318
6317
|
const { horizontal: r } = this.props, { bounds: a, contentBounds: i, isOpen: c } = this.state;
|
|
6319
|
-
let
|
|
6320
|
-
for (let
|
|
6318
|
+
let u = null;
|
|
6319
|
+
for (let h = 0, f = n.touches.length; h < f && (u = n.touches.item(h), !(u && u.identifier === this.touch.id)); ++h)
|
|
6321
6320
|
;
|
|
6322
|
-
if (!
|
|
6321
|
+
if (!u)
|
|
6323
6322
|
return;
|
|
6324
|
-
r ? n.currentTarget.scrollLeft += this.touch.y -
|
|
6323
|
+
r ? n.currentTarget.scrollLeft += this.touch.y - u.pageX : n.currentTarget.scrollTop += this.touch.y - u.pageY, this.touch.inertia = this.touch.y - u.pageY, this.props.allowTouchInertia || (this.touch.inertia = 0), this.touch.y = r ? u.pageX : u.pageY;
|
|
6325
6324
|
const d = this.getScrollMetrics();
|
|
6326
6325
|
r ? n.currentTarget.scrollLeft = Math.min(
|
|
6327
6326
|
n.currentTarget.scrollLeft,
|
|
@@ -6344,13 +6343,13 @@ class y8 extends o.Component {
|
|
|
6344
6343
|
F(this, "handleWheel", (n) => {
|
|
6345
6344
|
if (!(n.currentTarget instanceof HTMLDivElement) || this.props.preventWheel)
|
|
6346
6345
|
return;
|
|
6347
|
-
const { horizontal: r } = this.props, { bounds: a, contentBounds: i, isOpen: c } = this.state,
|
|
6346
|
+
const { horizontal: r } = this.props, { bounds: a, contentBounds: i, isOpen: c } = this.state, u = vt(n);
|
|
6348
6347
|
if (r) {
|
|
6349
|
-
if (this.props.onlyHorizontalWheel && Math.abs(
|
|
6348
|
+
if (this.props.onlyHorizontalWheel && Math.abs(u.pixelX) < Math.abs(u.pixelY))
|
|
6350
6349
|
return;
|
|
6351
|
-
n.currentTarget.scrollLeft +=
|
|
6350
|
+
n.currentTarget.scrollLeft += u.pixelX, n.currentTarget.scrollLeft -= u.pixelY;
|
|
6352
6351
|
} else
|
|
6353
|
-
n.currentTarget.scrollTop -=
|
|
6352
|
+
n.currentTarget.scrollTop -= u.pixelY;
|
|
6354
6353
|
const d = this.getScrollMetrics();
|
|
6355
6354
|
r ? n.currentTarget.scrollLeft = Math.min(
|
|
6356
6355
|
n.currentTarget.scrollLeft,
|
|
@@ -6371,14 +6370,14 @@ class y8 extends o.Component {
|
|
|
6371
6370
|
), c && a && d.barRatio < 1 && (this.props.allowScrollFlowThrough ? Math.floor(n.currentTarget.scrollTop) < Math.floor(d.scrollSpace) && Math.floor(n.currentTarget.scrollTop) > 0 && we(n) : we(n));
|
|
6372
6371
|
});
|
|
6373
6372
|
F(this, "handleBarDown", (n) => {
|
|
6374
|
-
const { horizontal: r } = this.props, { bounds: a, contentBounds: i } = this.state, c = this.getScrollMetrics(),
|
|
6373
|
+
const { horizontal: r } = this.props, { bounds: a, contentBounds: i } = this.state, c = this.getScrollMetrics(), u = c.scrollSpace / c.barSpace;
|
|
6375
6374
|
let d = r ? n.nativeEvent.clientX : n.nativeEvent.clientY;
|
|
6376
6375
|
this.setState({
|
|
6377
6376
|
isDragging: !0,
|
|
6378
6377
|
animating: !1
|
|
6379
6378
|
});
|
|
6380
|
-
const { pointerId:
|
|
6381
|
-
f.setPointerCapture(
|
|
6379
|
+
const { pointerId: h, currentTarget: f } = n;
|
|
6380
|
+
f.setPointerCapture(h);
|
|
6382
6381
|
const m = (p) => {
|
|
6383
6382
|
if ("which" in p) {
|
|
6384
6383
|
if (!p.which) {
|
|
@@ -6390,7 +6389,7 @@ class y8 extends o.Component {
|
|
|
6390
6389
|
return;
|
|
6391
6390
|
}
|
|
6392
6391
|
const w = r ? p.clientX : p.clientY, E = w - d;
|
|
6393
|
-
d = w, this.container.current && (r ? this.container.current.scrollLeft += E *
|
|
6392
|
+
d = w, this.container.current && (r ? this.container.current.scrollLeft += E * u : this.container.current.scrollTop += E * u, r ? this.container.current.scrollLeft = Math.min(
|
|
6394
6393
|
this.container.current.scrollLeft,
|
|
6395
6394
|
c.scrollSpace
|
|
6396
6395
|
) : this.container.current.scrollTop = Math.min(
|
|
@@ -6407,7 +6406,7 @@ class y8 extends o.Component {
|
|
|
6407
6406
|
i
|
|
6408
6407
|
);
|
|
6409
6408
|
}, g = () => {
|
|
6410
|
-
document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", g), f.removeEventListener("mouseup", g), f.releasePointerCapture(
|
|
6409
|
+
document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", g), f.removeEventListener("mouseup", g), f.releasePointerCapture(h), this.setState({
|
|
6411
6410
|
isDragging: !1
|
|
6412
6411
|
});
|
|
6413
6412
|
};
|
|
@@ -6433,8 +6432,8 @@ class y8 extends o.Component {
|
|
|
6433
6432
|
), this.container.current.addEventListener("touchend", this.handleTouchEnd));
|
|
6434
6433
|
}
|
|
6435
6434
|
componentDidUpdate() {
|
|
6436
|
-
var
|
|
6437
|
-
const { horizontal: n, onScroll: r, autoScrollDuration: a, scrollHeight: i } = this.props, { bounds: c, contentBounds:
|
|
6435
|
+
var h;
|
|
6436
|
+
const { horizontal: n, onScroll: r, autoScrollDuration: a, scrollHeight: i } = this.props, { bounds: c, contentBounds: u } = this.state;
|
|
6438
6437
|
if ((!c || this.childrenChanged) && this.content.current && this.container.current) {
|
|
6439
6438
|
this.childrenChanged = !1, this.isUpdatingChildren = !0;
|
|
6440
6439
|
const f = this.container.current.getBoundingClientRect(), m = this.content.current.getBoundingClientRect();
|
|
@@ -6452,16 +6451,16 @@ class y8 extends o.Component {
|
|
|
6452
6451
|
contentBounds: m
|
|
6453
6452
|
});
|
|
6454
6453
|
}
|
|
6455
|
-
if (c &&
|
|
6454
|
+
if (c && u && this.content.current && this.container.current) {
|
|
6456
6455
|
const f = this.container.current.getBoundingClientRect(), m = this.content.current.getBoundingClientRect();
|
|
6457
|
-
(f.width !== c.width || f.height !== c.height || m.width !==
|
|
6456
|
+
(f.width !== c.width || f.height !== c.height || m.width !== u.width || m.height !== u.height) && this.setState({
|
|
6458
6457
|
bounds: f,
|
|
6459
6458
|
contentBounds: m
|
|
6460
6459
|
});
|
|
6461
6460
|
}
|
|
6462
6461
|
let { scrollTopOnce: d } = this.props;
|
|
6463
|
-
if (d !== void 0 && Number.isNaN(d) && (d = 0), c &&
|
|
6464
|
-
const f = this.container.current.getBoundingClientRect(), m = (
|
|
6462
|
+
if (d !== void 0 && Number.isNaN(d) && (d = 0), c && u && this.container.current && this.scrolledToOnce !== d) {
|
|
6463
|
+
const f = this.container.current.getBoundingClientRect(), m = (h = this.content.current) == null ? void 0 : h.getBoundingClientRect();
|
|
6465
6464
|
this.scrolledToOnce = d || 0;
|
|
6466
6465
|
const g = this.scrolledToOnce;
|
|
6467
6466
|
let p = n ? this.container.current.scrollLeft : this.container.current.scrollTop;
|
|
@@ -6481,14 +6480,14 @@ class y8 extends o.Component {
|
|
|
6481
6480
|
m
|
|
6482
6481
|
);
|
|
6483
6482
|
}
|
|
6484
|
-
} else if (c &&
|
|
6483
|
+
} else if (c && u && this.container.current && this.currentScrollHeight !== i && r) {
|
|
6485
6484
|
this.currentScrollHeight = i;
|
|
6486
6485
|
const f = this.getScrollMetrics();
|
|
6487
6486
|
r(
|
|
6488
6487
|
n ? this.container.current.scrollLeft : this.container.current.scrollTop,
|
|
6489
6488
|
f.scrollSpace,
|
|
6490
6489
|
c,
|
|
6491
|
-
|
|
6490
|
+
u
|
|
6492
6491
|
);
|
|
6493
6492
|
}
|
|
6494
6493
|
}
|
|
@@ -6508,11 +6507,11 @@ class y8 extends o.Component {
|
|
|
6508
6507
|
const { horizontal: a } = this.props;
|
|
6509
6508
|
let { bounds: i, contentBounds: c } = this.state;
|
|
6510
6509
|
i = n || i, c = r || c;
|
|
6511
|
-
let
|
|
6512
|
-
return a ? (i && c && (d = i.width / c.width,
|
|
6513
|
-
barHeight:
|
|
6510
|
+
let u = 0, d = 1, h = 0, f = 0;
|
|
6511
|
+
return a ? (i && c && (d = i.width / c.width, u = d * i.width, u = Math.max(u, 30), u = Math.min(u, i.width)), d < 1 && i && c && (h = i.width - u, f = c.width - i.width)) : (i && c && (d = i.height / c.height, u = d * i.height, u = Math.max(u, 30), u = Math.min(u, i.height)), d < 1 && i && c && (h = i.height - u, f = c.height - i.height)), {
|
|
6512
|
+
barHeight: u,
|
|
6514
6513
|
barRatio: d,
|
|
6515
|
-
barSpace:
|
|
6514
|
+
barSpace: h,
|
|
6516
6515
|
scrollSpace: f
|
|
6517
6516
|
};
|
|
6518
6517
|
}
|
|
@@ -6522,8 +6521,8 @@ class y8 extends o.Component {
|
|
|
6522
6521
|
return;
|
|
6523
6522
|
const { side: a = 0, horizontal: i } = this.props;
|
|
6524
6523
|
let c = n;
|
|
6525
|
-
const
|
|
6526
|
-
c += n /
|
|
6524
|
+
const u = this.getScrollMetrics();
|
|
6525
|
+
c += n / u.scrollSpace * u.barSpace, i ? (r.style.left = `${c}px`, r.style.top = q(
|
|
6527
6526
|
a === 1,
|
|
6528
6527
|
"0px",
|
|
6529
6528
|
r.style.top
|
|
@@ -6544,9 +6543,9 @@ class y8 extends o.Component {
|
|
|
6544
6543
|
render() {
|
|
6545
6544
|
const { isOpen: n, isDragging: r, bounds: a, top: i } = this.state, {
|
|
6546
6545
|
className: c,
|
|
6547
|
-
contentClassName:
|
|
6546
|
+
contentClassName: u,
|
|
6548
6547
|
containerProps: d,
|
|
6549
|
-
contentProps:
|
|
6548
|
+
contentProps: h,
|
|
6550
6549
|
children: f,
|
|
6551
6550
|
scrollHeight: m,
|
|
6552
6551
|
side: g = 0,
|
|
@@ -6619,14 +6618,14 @@ class y8 extends o.Component {
|
|
|
6619
6618
|
className: ie(
|
|
6620
6619
|
"ScrollView__Content",
|
|
6621
6620
|
q(p, "ScrollView--horizontal-content"),
|
|
6622
|
-
|
|
6621
|
+
u
|
|
6623
6622
|
),
|
|
6624
6623
|
style: {
|
|
6625
6624
|
height: m,
|
|
6626
6625
|
flex: `1 1 ${m}px`,
|
|
6627
6626
|
minHeight: m
|
|
6628
6627
|
},
|
|
6629
|
-
...
|
|
6628
|
+
...h,
|
|
6630
6629
|
children: f
|
|
6631
6630
|
}
|
|
6632
6631
|
),
|
|
@@ -6705,7 +6704,7 @@ class x8 extends o.Component {
|
|
|
6705
6704
|
this.handleScroll(n[1], r[1], a, i);
|
|
6706
6705
|
});
|
|
6707
6706
|
F(this, "handleScroll", (n, r, a, i) => {
|
|
6708
|
-
const { rowSize: c, total:
|
|
6707
|
+
const { rowSize: c, total: u, onScroll: d, onRange: h } = this.props;
|
|
6709
6708
|
let f = -1, m = -1;
|
|
6710
6709
|
if (Be(c))
|
|
6711
6710
|
f = Math.floor(n / c) - 1, m = Math.floor((n + a.height) / c) + 1;
|
|
@@ -6719,9 +6718,9 @@ class x8 extends o.Component {
|
|
|
6719
6718
|
w = this.rowTop[E];
|
|
6720
6719
|
m = E + 1;
|
|
6721
6720
|
}
|
|
6722
|
-
f = Math.min(Math.max(f, 0),
|
|
6721
|
+
f = Math.min(Math.max(f, 0), u - 1), m = Math.min(Math.max(m, 0), u - 1);
|
|
6723
6722
|
const { startIndex: g, endIndex: p } = this.state;
|
|
6724
|
-
(f !== g || m !== p) && (
|
|
6723
|
+
(f !== g || m !== p) && (h == null || h(f, m, u, m === u - 1), this.setState({
|
|
6725
6724
|
startIndex: f,
|
|
6726
6725
|
endIndex: m
|
|
6727
6726
|
})), d && d(n, r, a, i);
|
|
@@ -6748,8 +6747,8 @@ class x8 extends o.Component {
|
|
|
6748
6747
|
const r = Array.from(this.measuring.keys()), a = n || 0;
|
|
6749
6748
|
r.sort();
|
|
6750
6749
|
let i = 0;
|
|
6751
|
-
for (let c = 0,
|
|
6752
|
-
const d = r[c],
|
|
6750
|
+
for (let c = 0, u = r.length; c < u; ++c) {
|
|
6751
|
+
const d = r[c], h = r[c + 1] || this.rowTop.length - 1;
|
|
6753
6752
|
if (d === this.rowTop.length - 1) {
|
|
6754
6753
|
const E = this.measuring.get(d);
|
|
6755
6754
|
if (!E || !E.current)
|
|
@@ -6763,7 +6762,7 @@ class x8 extends o.Component {
|
|
|
6763
6762
|
continue;
|
|
6764
6763
|
const p = g.current.getBoundingClientRect();
|
|
6765
6764
|
i = f + p.height + a - m, this.willMeasure.delete(d);
|
|
6766
|
-
for (let E = d + 1; E <=
|
|
6765
|
+
for (let E = d + 1; E <= h; ++E)
|
|
6767
6766
|
this.rowTop[E] += i;
|
|
6768
6767
|
}
|
|
6769
6768
|
this.measuring.clear(), this.forceUpdate();
|
|
@@ -6809,31 +6808,31 @@ class x8 extends o.Component {
|
|
|
6809
6808
|
const { startIndex: r, endIndex: a } = this.state, { rowSize: i, total: c } = this.props;
|
|
6810
6809
|
if (!n)
|
|
6811
6810
|
return null;
|
|
6812
|
-
const
|
|
6811
|
+
const u = [];
|
|
6813
6812
|
let d;
|
|
6814
|
-
Be(i) ? d = (
|
|
6815
|
-
for (let
|
|
6816
|
-
const f = d(
|
|
6813
|
+
Be(i) ? d = (h) => h * i : d = (h) => this.rowTop[h];
|
|
6814
|
+
for (let h = r; h <= a && h < c; ++h) {
|
|
6815
|
+
const f = d(h);
|
|
6817
6816
|
let m;
|
|
6818
|
-
this.willMeasure.has(
|
|
6817
|
+
this.willMeasure.has(h) && !this.measuring.has(h) && (m = o.createRef(), this.measuring.set(h, m));
|
|
6819
6818
|
const g = {
|
|
6820
6819
|
position: "absolute",
|
|
6821
6820
|
width: "100%",
|
|
6822
6821
|
left: 0,
|
|
6823
6822
|
top: f
|
|
6824
6823
|
}, p = n({
|
|
6825
|
-
index:
|
|
6824
|
+
index: h,
|
|
6826
6825
|
style: {},
|
|
6827
|
-
isEnd:
|
|
6826
|
+
isEnd: h === a || h === c - 1,
|
|
6828
6827
|
rowStyle: g
|
|
6829
6828
|
});
|
|
6830
6829
|
if (!p || !o.isValidElement(p))
|
|
6831
6830
|
return null;
|
|
6832
|
-
|
|
6833
|
-
/* @__PURE__ */ l("div", { className: "ListView__Row", ref: m, style: g, children: p },
|
|
6831
|
+
u.push(
|
|
6832
|
+
/* @__PURE__ */ l("div", { className: "ListView__Row", ref: m, style: g, children: p }, h)
|
|
6834
6833
|
);
|
|
6835
6834
|
}
|
|
6836
|
-
return
|
|
6835
|
+
return u;
|
|
6837
6836
|
}
|
|
6838
6837
|
render() {
|
|
6839
6838
|
const {
|
|
@@ -6842,12 +6841,12 @@ class x8 extends o.Component {
|
|
|
6842
6841
|
className: a,
|
|
6843
6842
|
containerProps: i,
|
|
6844
6843
|
total: c,
|
|
6845
|
-
scrollToOnce:
|
|
6844
|
+
scrollToOnce: u,
|
|
6846
6845
|
autoScrollDuration: d,
|
|
6847
|
-
useScrollRegion:
|
|
6846
|
+
useScrollRegion: h,
|
|
6848
6847
|
emptyLabel: f
|
|
6849
6848
|
} = this.props;
|
|
6850
|
-
return c <= 0 ? /* @__PURE__ */ l("div", { className: ie("ListView", "ListView--empty", a), children: /* @__PURE__ */ l("div", { className: "ListView__Empty", children: f }) }) :
|
|
6849
|
+
return c <= 0 ? /* @__PURE__ */ l("div", { className: ie("ListView", "ListView--empty", a), children: /* @__PURE__ */ l("div", { className: "ListView__Empty", children: f }) }) : h ? /* @__PURE__ */ l(
|
|
6851
6850
|
p8,
|
|
6852
6851
|
{
|
|
6853
6852
|
ref: this.container,
|
|
@@ -6873,7 +6872,7 @@ class x8 extends o.Component {
|
|
|
6873
6872
|
...i,
|
|
6874
6873
|
style: this.scrollStyle
|
|
6875
6874
|
},
|
|
6876
|
-
scrollTopOnce:
|
|
6875
|
+
scrollTopOnce: u,
|
|
6877
6876
|
autoScrollDuration: d,
|
|
6878
6877
|
onScroll: this.handleScroll,
|
|
6879
6878
|
children: this.renderListItems(r)
|
|
@@ -6946,14 +6945,14 @@ class S8 extends o.Component {
|
|
|
6946
6945
|
this.windowBlurred = !0;
|
|
6947
6946
|
});
|
|
6948
6947
|
F(this, "handleClick", (n) => {
|
|
6949
|
-
var c,
|
|
6948
|
+
var c, u;
|
|
6950
6949
|
const { disabled: r } = this.props, { dropdownBounds: a } = this.state;
|
|
6951
6950
|
this.windowBlurred = !1, !(r || !a8(
|
|
6952
6951
|
n.target,
|
|
6953
6952
|
"Selection__Content"
|
|
6954
6953
|
)) && (document.activeElement !== this.selectRef.current ? (this.stopBlur = !0, setTimeout(() => {
|
|
6955
6954
|
this.stopBlur = !1;
|
|
6956
|
-
}, 10), (c = this.selectRef.current) == null || c.focus()) : a ? (
|
|
6955
|
+
}, 10), (c = this.selectRef.current) == null || c.focus()) : a ? (u = this.selectRef.current) == null || u.blur() : this.handleOpen());
|
|
6957
6956
|
});
|
|
6958
6957
|
F(this, "handleOpen", () => {
|
|
6959
6958
|
const { disabled: n, dropdownPadding: r, onOpen: a } = this.props;
|
|
@@ -7007,11 +7006,11 @@ class S8 extends o.Component {
|
|
|
7007
7006
|
* Handles the user's input into the Quick Search bar
|
|
7008
7007
|
*/
|
|
7009
7008
|
F(this, "handleSearch", (n) => {
|
|
7010
|
-
var c,
|
|
7009
|
+
var c, u;
|
|
7011
7010
|
const { disabled: r, onSearch: a } = this.props;
|
|
7012
7011
|
if (r)
|
|
7013
7012
|
return;
|
|
7014
|
-
const i = (
|
|
7013
|
+
const i = (u = (c = n.target) == null ? void 0 : c.value) == null ? void 0 : u.toLocaleLowerCase();
|
|
7015
7014
|
this.setState({
|
|
7016
7015
|
searchValue: i
|
|
7017
7016
|
}), a == null || a(i);
|
|
@@ -7020,8 +7019,8 @@ class S8 extends o.Component {
|
|
|
7020
7019
|
this.stopBlur = !0;
|
|
7021
7020
|
});
|
|
7022
7021
|
F(this, "handleRange", async (n, r, a, i) => {
|
|
7023
|
-
const { hasMore: c, onLoadMore:
|
|
7024
|
-
i && !this.willLoadMore && c && (this.willLoadMore = !0, await (
|
|
7022
|
+
const { hasMore: c, onLoadMore: u, options: d } = this.props;
|
|
7023
|
+
i && !this.willLoadMore && c && (this.willLoadMore = !0, await (u == null ? void 0 : u(d)), this.willLoadMore = !1);
|
|
7025
7024
|
});
|
|
7026
7025
|
F(this, "handleMouseDown", (n) => {
|
|
7027
7026
|
const { dropdownBounds: r } = this.state, { dropdownBounds: a } = this.props;
|
|
@@ -7049,12 +7048,12 @@ class S8 extends o.Component {
|
|
|
7049
7048
|
} = this.props;
|
|
7050
7049
|
if (i != null)
|
|
7051
7050
|
return i;
|
|
7052
|
-
const { internalValue: c } = this.state,
|
|
7053
|
-
return ((d = n.find((
|
|
7051
|
+
const { internalValue: c } = this.state, u = a ?? c ?? r;
|
|
7052
|
+
return ((d = n.find((h) => h.value === u)) == null ? void 0 : d.label) || "";
|
|
7054
7053
|
}
|
|
7055
7054
|
get valueIndex() {
|
|
7056
7055
|
const { options: n, defaultValue: r, value: a } = this.props, { internalValue: i } = this.state, c = a || i || r;
|
|
7057
|
-
return n.findIndex((
|
|
7056
|
+
return n.findIndex((u) => u.value === c) || 0;
|
|
7058
7057
|
}
|
|
7059
7058
|
/**
|
|
7060
7059
|
* Retrieves the list of options that should be displayed. This takes into
|
|
@@ -7071,9 +7070,9 @@ class S8 extends o.Component {
|
|
|
7071
7070
|
disabled: a,
|
|
7072
7071
|
error: i,
|
|
7073
7072
|
label: c,
|
|
7074
|
-
mode:
|
|
7073
|
+
mode: u = Pe.FIELD_INLINE,
|
|
7075
7074
|
placeholder: d,
|
|
7076
|
-
onArrowClick:
|
|
7075
|
+
onArrowClick: h,
|
|
7077
7076
|
valueLabel: f
|
|
7078
7077
|
} = this.props, { hovered: m, focused: g, dropdownBounds: p } = this.state, { valueLabel: w } = this;
|
|
7079
7078
|
return /* @__PURE__ */ l(tt, { children: /* @__PURE__ */ re(
|
|
@@ -7091,7 +7090,7 @@ class S8 extends o.Component {
|
|
|
7091
7090
|
q(i, "Selection--error"),
|
|
7092
7091
|
q(c, "Selection--has-label"),
|
|
7093
7092
|
"Selection--single-row",
|
|
7094
|
-
|
|
7093
|
+
u,
|
|
7095
7094
|
q(a, Pe.DISABLED)
|
|
7096
7095
|
),
|
|
7097
7096
|
ref: this.headerRef,
|
|
@@ -7122,7 +7121,7 @@ class S8 extends o.Component {
|
|
|
7122
7121
|
"Selection__DecalRight",
|
|
7123
7122
|
q(r, "Selection--up")
|
|
7124
7123
|
),
|
|
7125
|
-
onClick:
|
|
7124
|
+
onClick: h,
|
|
7126
7125
|
role: "button",
|
|
7127
7126
|
tabIndex: 0,
|
|
7128
7127
|
children: /* @__PURE__ */ l(j1, {})
|
|
@@ -7139,14 +7138,14 @@ class S8 extends o.Component {
|
|
|
7139
7138
|
dropdownBounds: a,
|
|
7140
7139
|
hasMore: i,
|
|
7141
7140
|
hasSearch: c,
|
|
7142
|
-
isLoading:
|
|
7141
|
+
isLoading: u,
|
|
7143
7142
|
mode: d = Pe.FIELD_INLINE,
|
|
7144
|
-
rowDisplayCount:
|
|
7143
|
+
rowDisplayCount: h = 5,
|
|
7145
7144
|
value: f
|
|
7146
7145
|
} = this.props, { internalValue: m } = this.state, g = f ?? m ?? r, p = this.options, { dropdownBounds: w } = this.state;
|
|
7147
7146
|
return q(w || a, (E) => q(
|
|
7148
7147
|
n,
|
|
7149
|
-
() => o.isValidElement(n) ? n.type ===
|
|
7148
|
+
() => o.isValidElement(n) ? n.type === u1 ? o.cloneElement(n, {
|
|
7150
7149
|
...n.props,
|
|
7151
7150
|
bounds: E,
|
|
7152
7151
|
width: Math.max(200, E.width),
|
|
@@ -7162,7 +7161,7 @@ class S8 extends o.Component {
|
|
|
7162
7161
|
}
|
|
7163
7162
|
}) : (console.warn("Custom dropdown menu is invalid"), null),
|
|
7164
7163
|
/* @__PURE__ */ l(
|
|
7165
|
-
|
|
7164
|
+
u1,
|
|
7166
7165
|
{
|
|
7167
7166
|
bounds: E,
|
|
7168
7167
|
width: Math.max(200, E.width),
|
|
@@ -7174,12 +7173,12 @@ class S8 extends o.Component {
|
|
|
7174
7173
|
{
|
|
7175
7174
|
className: ie(
|
|
7176
7175
|
"Selection__Panel",
|
|
7177
|
-
q(
|
|
7176
|
+
q(u, "Selection__Loader")
|
|
7178
7177
|
),
|
|
7179
7178
|
children: [
|
|
7180
7179
|
q(c, () => this.renderSearch()),
|
|
7181
7180
|
q(
|
|
7182
|
-
|
|
7181
|
+
u,
|
|
7183
7182
|
/* @__PURE__ */ l("div", { className: "Selection__LoaderContainer", children: /* @__PURE__ */ l(d1, { size: J0.SMALL }) }),
|
|
7184
7183
|
/* @__PURE__ */ l(
|
|
7185
7184
|
x8,
|
|
@@ -7187,7 +7186,7 @@ class S8 extends o.Component {
|
|
|
7187
7186
|
className: "Selection__List",
|
|
7188
7187
|
total: p.length + (i ? 1 : 0),
|
|
7189
7188
|
rowSize: 36,
|
|
7190
|
-
rowDisplayCount:
|
|
7189
|
+
rowDisplayCount: h,
|
|
7191
7190
|
scrollToOnce: Math.max(this.valueIndex - 2, 0) * 36,
|
|
7192
7191
|
onRange: i ? this.handleRange : void 0,
|
|
7193
7192
|
children: ({ index: S, style: x, isEnd: T }) => {
|
|
@@ -7263,9 +7262,9 @@ class S8 extends o.Component {
|
|
|
7263
7262
|
defaultValue: a,
|
|
7264
7263
|
value: i,
|
|
7265
7264
|
options: c,
|
|
7266
|
-
mode:
|
|
7265
|
+
mode: u = Pe.FIELD_INLINE,
|
|
7267
7266
|
size: d,
|
|
7268
|
-
children:
|
|
7267
|
+
children: h,
|
|
7269
7268
|
disabled: f,
|
|
7270
7269
|
selectProps: m
|
|
7271
7270
|
} = this.props, { internalValue: g } = this.state, p = i || g || a;
|
|
@@ -7275,7 +7274,7 @@ class S8 extends o.Component {
|
|
|
7275
7274
|
ref: this.container,
|
|
7276
7275
|
className: ie(
|
|
7277
7276
|
"Selection",
|
|
7278
|
-
|
|
7277
|
+
u,
|
|
7279
7278
|
d,
|
|
7280
7279
|
q(f, Pe.DISABLED),
|
|
7281
7280
|
n
|
|
@@ -7293,7 +7292,7 @@ class S8 extends o.Component {
|
|
|
7293
7292
|
children: c.map((w) => /* @__PURE__ */ l("option", { value: w.value, "aria-label": w.value }, w.value))
|
|
7294
7293
|
}
|
|
7295
7294
|
),
|
|
7296
|
-
q(
|
|
7295
|
+
q(h === void 0, this.renderHeader()),
|
|
7297
7296
|
this.renderDropdown()
|
|
7298
7297
|
]
|
|
7299
7298
|
}
|
|
@@ -7339,21 +7338,21 @@ function R8({ value: e }) {
|
|
|
7339
7338
|
const t = b0();
|
|
7340
7339
|
if (!t)
|
|
7341
7340
|
throw new Error("PaginationNavigationItem must be used within a PaginationContext.Provider");
|
|
7342
|
-
const { page: n, onPageChange: r } = t, a = typeof e == "number", i = a ? (e + 1).toLocaleString() : e, c = e === et || n === e,
|
|
7341
|
+
const { page: n, onPageChange: r } = t, a = typeof e == "number", i = a ? (e + 1).toLocaleString() : e, c = e === et || n === e, u = n === e, d = () => {
|
|
7343
7342
|
if (a)
|
|
7344
|
-
return
|
|
7345
|
-
},
|
|
7343
|
+
return u ? `Current page, page ${i}` : `Go to page ${i}`;
|
|
7344
|
+
}, h = () => {
|
|
7346
7345
|
typeof e == "number" && (r == null || r(e));
|
|
7347
7346
|
};
|
|
7348
7347
|
return /* @__PURE__ */ l(
|
|
7349
7348
|
ye,
|
|
7350
7349
|
{
|
|
7351
7350
|
type: "tertiary",
|
|
7352
|
-
"aria-current":
|
|
7351
|
+
"aria-current": u ? !0 : void 0,
|
|
7353
7352
|
"aria-label": d(),
|
|
7354
|
-
className: oe("
|
|
7353
|
+
className: oe("rbui-pagination__navigation-item", { "rbui-pagination__navigation-item__selected": u }),
|
|
7355
7354
|
disabled: c,
|
|
7356
|
-
onClick:
|
|
7355
|
+
onClick: h,
|
|
7357
7356
|
children: i
|
|
7358
7357
|
}
|
|
7359
7358
|
);
|
|
@@ -7369,8 +7368,8 @@ function Z8() {
|
|
|
7369
7368
|
a == null || a(n + 1);
|
|
7370
7369
|
}, c = () => {
|
|
7371
7370
|
a == null || a(n - 1);
|
|
7372
|
-
},
|
|
7373
|
-
return /* @__PURE__ */ l("nav", { role: "navigation", "aria-label": "Pagination Navigation", className: "
|
|
7371
|
+
}, u = M8(n, Math.ceil(t / r));
|
|
7372
|
+
return /* @__PURE__ */ l("nav", { role: "navigation", "aria-label": "Pagination Navigation", className: "rbui-pagination__navigation", children: /* @__PURE__ */ re("ul", { children: [
|
|
7374
7373
|
/* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(
|
|
7375
7374
|
ye,
|
|
7376
7375
|
{
|
|
@@ -7381,7 +7380,7 @@ function Z8() {
|
|
|
7381
7380
|
children: /* @__PURE__ */ l(Y1, {})
|
|
7382
7381
|
}
|
|
7383
7382
|
) }),
|
|
7384
|
-
|
|
7383
|
+
u.map((d, h) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(R8, { value: d }) }, `rbui-pagination-${d}-${h}`)),
|
|
7385
7384
|
/* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(
|
|
7386
7385
|
ye,
|
|
7387
7386
|
{
|
|
@@ -7399,7 +7398,7 @@ function I8() {
|
|
|
7399
7398
|
if (!e)
|
|
7400
7399
|
throw new Error("PaginationSummary must be used within a PaginationContext.Provider");
|
|
7401
7400
|
const { count: t, page: n, itemsPerPage: r } = e, a = n * r + 1, i = Math.min((n + 1) * r, t);
|
|
7402
|
-
return /* @__PURE__ */ re("div", { className: "
|
|
7401
|
+
return /* @__PURE__ */ re("div", { className: "rbui-pagination__summary", children: [
|
|
7403
7402
|
"Showing",
|
|
7404
7403
|
" ",
|
|
7405
7404
|
a.toLocaleString(),
|
|
@@ -7422,12 +7421,12 @@ const A8 = s((e, t) => {
|
|
|
7422
7421
|
page: a,
|
|
7423
7422
|
itemsPerPage: i,
|
|
7424
7423
|
itemsPerPageOptions: c,
|
|
7425
|
-
onPageChange:
|
|
7424
|
+
onPageChange: u,
|
|
7426
7425
|
onItemsPerPageChange: d,
|
|
7427
|
-
...
|
|
7426
|
+
...h
|
|
7428
7427
|
} = e;
|
|
7429
|
-
return n < 1 ? null : /* @__PURE__ */ l(y5.Provider, { value: e, children: /* @__PURE__ */ re("div", { ...
|
|
7430
|
-
/* @__PURE__ */ re("div", { className: "
|
|
7428
|
+
return n < 1 ? null : /* @__PURE__ */ l(y5.Provider, { value: e, children: /* @__PURE__ */ re("div", { ...h, className: oe("rbui-pagination", r), ref: t, children: [
|
|
7429
|
+
/* @__PURE__ */ re("div", { className: "rbui-pagination__left", children: [
|
|
7431
7430
|
/* @__PURE__ */ l(C8, {}),
|
|
7432
7431
|
/* @__PURE__ */ l(I8, {})
|
|
7433
7432
|
] }),
|
|
@@ -7452,7 +7451,7 @@ export {
|
|
|
7452
7451
|
to as ArrowKeyboardNextIcon,
|
|
7453
7452
|
oo as ArrowKeyboardPreviousIcon,
|
|
7454
7453
|
lo as ArrowKeyboardUpIcon,
|
|
7455
|
-
|
|
7454
|
+
uo as ArrowLeftIcon,
|
|
7456
7455
|
mo as ArrowRightIcon,
|
|
7457
7456
|
go as ArrowUpIcon,
|
|
7458
7457
|
bo as AxisIcon,
|
|
@@ -7472,7 +7471,7 @@ export {
|
|
|
7472
7471
|
n2 as ChatIcon,
|
|
7473
7472
|
a2 as ChatsIcon,
|
|
7474
7473
|
c2 as CheckCircleIcon,
|
|
7475
|
-
|
|
7474
|
+
u2 as CheckFilledIcon,
|
|
7476
7475
|
z1 as CheckIcon,
|
|
7477
7476
|
p2 as CheckSmallIcon,
|
|
7478
7477
|
w2 as ChevronDownFillIcon,
|
|
@@ -7492,7 +7491,7 @@ export {
|
|
|
7492
7491
|
ta as CloseSmallIcon,
|
|
7493
7492
|
oa as CloudCheckIcon,
|
|
7494
7493
|
la as CloudDownloadIcon,
|
|
7495
|
-
|
|
7494
|
+
ua as CodeIcon,
|
|
7496
7495
|
fa as ColorPickerAltIcon,
|
|
7497
7496
|
va as ColorPickerIcon,
|
|
7498
7497
|
Ea as ColumnsIcon,
|
|
@@ -7510,7 +7509,7 @@ export {
|
|
|
7510
7509
|
t7 as CustomersFilterIcon,
|
|
7511
7510
|
o7 as CustomersSegmentationIcon,
|
|
7512
7511
|
l7 as DateTimeIcon,
|
|
7513
|
-
|
|
7512
|
+
u7 as DescriptionIcon,
|
|
7514
7513
|
f7 as DesktopIcon,
|
|
7515
7514
|
v7 as DisabledIcon,
|
|
7516
7515
|
E7 as DivideIcon,
|
|
@@ -7557,7 +7556,7 @@ export {
|
|
|
7557
7556
|
Q1 as InfoFilledIcon,
|
|
7558
7557
|
Nl as InfoIcon,
|
|
7559
7558
|
Bl as InfoSmallIcon,
|
|
7560
|
-
|
|
7559
|
+
Qh as InputField,
|
|
7561
7560
|
Vl as InternetIcon,
|
|
7562
7561
|
$l as KeyIcon,
|
|
7563
7562
|
Ul as LayoutIcon,
|
|
@@ -7577,13 +7576,13 @@ export {
|
|
|
7577
7576
|
Tc as MobilePushIcon,
|
|
7578
7577
|
Fc as MobileSmsIcon,
|
|
7579
7578
|
Hc as MobileTextMessageIcon,
|
|
7580
|
-
|
|
7581
|
-
|
|
7579
|
+
Uh as Modal,
|
|
7580
|
+
jh as ModalBody,
|
|
7582
7581
|
w5 as ModalCloseButton,
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7582
|
+
Yh as ModalFooter,
|
|
7583
|
+
qh as ModalFooterActions,
|
|
7584
|
+
Wh as ModalHeader,
|
|
7585
|
+
zh as ModalHeaderTitle,
|
|
7587
7586
|
_c as MoveIcon,
|
|
7588
7587
|
kc as NegationIcon,
|
|
7589
7588
|
zc as NotificationIcon,
|
|
@@ -7630,7 +7629,7 @@ export {
|
|
|
7630
7629
|
n6 as SettingsIcon,
|
|
7631
7630
|
a6 as ShareIcon,
|
|
7632
7631
|
c6 as ShopIcon,
|
|
7633
|
-
|
|
7632
|
+
h6 as ShrinkIcon,
|
|
7634
7633
|
m6 as SortIcon,
|
|
7635
7634
|
g6 as SplitFlowIcon,
|
|
7636
7635
|
b6 as SqlIcon,
|
|
@@ -7648,15 +7647,15 @@ export {
|
|
|
7648
7647
|
n4 as SwapIcon,
|
|
7649
7648
|
a4 as TabletLangscapeIcon,
|
|
7650
7649
|
c4 as TabletPortraitIcon,
|
|
7651
|
-
|
|
7650
|
+
h4 as TagAltIcon,
|
|
7652
7651
|
m4 as TagIcon,
|
|
7653
7652
|
g4 as TemplateIcon,
|
|
7654
7653
|
b4 as TextBoldIcon,
|
|
7655
|
-
|
|
7654
|
+
Jh as TextField,
|
|
7656
7655
|
S4 as TextItalicIcon,
|
|
7657
7656
|
R4 as TextStyleIcon,
|
|
7658
|
-
|
|
7659
|
-
$
|
|
7657
|
+
Oh as ToggleButton,
|
|
7658
|
+
$h as ToggleButtonGroup,
|
|
7660
7659
|
mt as Tooltip,
|
|
7661
7660
|
A4 as TragetIcon,
|
|
7662
7661
|
L4 as TransferIcon,
|
|
@@ -7667,17 +7666,17 @@ export {
|
|
|
7667
7666
|
Y4 as UndoIcon,
|
|
7668
7667
|
K4 as UnlinkIcon,
|
|
7669
7668
|
J4 as UnlockIcon,
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7669
|
+
nu as UntilNowAltIcon,
|
|
7670
|
+
au as UploadIcon,
|
|
7671
|
+
cu as UsagesIcon,
|
|
7672
|
+
hu as UsersIcon,
|
|
7673
|
+
mu as VisualIcon,
|
|
7674
|
+
gu as VoucherIcon,
|
|
7675
|
+
bu as WaitIcon,
|
|
7676
|
+
Su as WalkthroughsIcon,
|
|
7677
|
+
Mu as WarningFillIcon,
|
|
7678
|
+
Iu as WebhookIcon,
|
|
7679
|
+
Nu as WeblayerIcon,
|
|
7680
|
+
Bu as WrenchIcon
|
|
7682
7681
|
};
|
|
7683
7682
|
//# sourceMappingURL=bloomreach-react-banana-ui.es.js.map
|