@boxcustodia/library 1.9.3 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +17 -17
- package/dist/index.es.js +370 -365
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -324,7 +324,7 @@ const W2 = (e, t) => {
|
|
|
324
324
|
"left-bottom"
|
|
325
325
|
], S = () => [...A(), Ae, $e], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], D = () => [Ae, $e, c], U = () => [Xi, "full", "auto", ...D()], Q = () => [Eo, "none", "subgrid", Ae, $e], O = () => ["auto", {
|
|
326
326
|
span: ["full", Eo, Ae, $e]
|
|
327
|
-
}, Eo, Ae, $e],
|
|
327
|
+
}, Eo, Ae, $e], W = () => [Eo, "auto", Ae, $e], V = () => ["auto", "min", "max", "fr", Ae, $e], k = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...D()], L = () => [Xi, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...D()], F = () => [e, Ae, $e], te = () => [...A(), Q0, Z0, {
|
|
328
328
|
position: [Ae, $e]
|
|
329
329
|
}], K = () => ["no-repeat", {
|
|
330
330
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -664,14 +664,14 @@ const W2 = (e, t) => {
|
|
|
664
664
|
* @see https://tailwindcss.com/docs/grid-column
|
|
665
665
|
*/
|
|
666
666
|
"col-start": [{
|
|
667
|
-
"col-start":
|
|
667
|
+
"col-start": W()
|
|
668
668
|
}],
|
|
669
669
|
/**
|
|
670
670
|
* Grid Column End
|
|
671
671
|
* @see https://tailwindcss.com/docs/grid-column
|
|
672
672
|
*/
|
|
673
673
|
"col-end": [{
|
|
674
|
-
"col-end":
|
|
674
|
+
"col-end": W()
|
|
675
675
|
}],
|
|
676
676
|
/**
|
|
677
677
|
* Grid Template Rows
|
|
@@ -692,14 +692,14 @@ const W2 = (e, t) => {
|
|
|
692
692
|
* @see https://tailwindcss.com/docs/grid-row
|
|
693
693
|
*/
|
|
694
694
|
"row-start": [{
|
|
695
|
-
"row-start":
|
|
695
|
+
"row-start": W()
|
|
696
696
|
}],
|
|
697
697
|
/**
|
|
698
698
|
* Grid Row End
|
|
699
699
|
* @see https://tailwindcss.com/docs/grid-row
|
|
700
700
|
*/
|
|
701
701
|
"row-end": [{
|
|
702
|
-
"row-end":
|
|
702
|
+
"row-end": W()
|
|
703
703
|
}],
|
|
704
704
|
/**
|
|
705
705
|
* Grid Auto Flow
|
|
@@ -713,14 +713,14 @@ const W2 = (e, t) => {
|
|
|
713
713
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
714
714
|
*/
|
|
715
715
|
"auto-cols": [{
|
|
716
|
-
"auto-cols":
|
|
716
|
+
"auto-cols": V()
|
|
717
717
|
}],
|
|
718
718
|
/**
|
|
719
719
|
* Grid Auto Rows
|
|
720
720
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
721
721
|
*/
|
|
722
722
|
"auto-rows": [{
|
|
723
|
-
"auto-rows":
|
|
723
|
+
"auto-rows": V()
|
|
724
724
|
}],
|
|
725
725
|
/**
|
|
726
726
|
* Gap
|
|
@@ -4827,7 +4827,7 @@ function A5() {
|
|
|
4827
4827
|
}
|
|
4828
4828
|
}
|
|
4829
4829
|
}
|
|
4830
|
-
var S = c, _ = d, $ = l, D = s, U = t, Q = f, O = n,
|
|
4830
|
+
var S = c, _ = d, $ = l, D = s, U = t, Q = f, O = n, W = w, V = g, k = r, z = i, I = o, L = p, F = !1;
|
|
4831
4831
|
function te(X) {
|
|
4832
4832
|
return F || (F = !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.")), K(X) || A(X) === c;
|
|
4833
4833
|
}
|
|
@@ -4867,7 +4867,7 @@ function A5() {
|
|
|
4867
4867
|
function oe(X) {
|
|
4868
4868
|
return A(X) === p;
|
|
4869
4869
|
}
|
|
4870
|
-
st.AsyncMode = S, st.ConcurrentMode = _, st.ContextConsumer = $, st.ContextProvider = D, st.Element = U, st.ForwardRef = Q, st.Fragment = O, st.Lazy =
|
|
4870
|
+
st.AsyncMode = S, st.ConcurrentMode = _, st.ContextConsumer = $, st.ContextProvider = D, st.Element = U, st.ForwardRef = Q, st.Fragment = O, st.Lazy = W, st.Memo = V, st.Portal = k, st.Profiler = z, st.StrictMode = I, st.Suspense = L, st.isAsyncMode = te, st.isConcurrentMode = K, st.isContextConsumer = ie, st.isContextProvider = G, st.isElement = Y, st.isForwardRef = ce, st.isFragment = ue, st.isLazy = pe, st.isMemo = ee, st.isPortal = ve, st.isProfiler = q, st.isStrictMode = ae, st.isSuspense = oe, st.isValidElementType = P, st.typeOf = A;
|
|
4871
4871
|
})()), st;
|
|
4872
4872
|
}
|
|
4873
4873
|
var vw;
|
|
@@ -5022,8 +5022,8 @@ function O5() {
|
|
|
5022
5022
|
objectOf: D,
|
|
5023
5023
|
oneOf: $,
|
|
5024
5024
|
oneOfType: U,
|
|
5025
|
-
shape:
|
|
5026
|
-
exact:
|
|
5025
|
+
shape: W,
|
|
5026
|
+
exact: V
|
|
5027
5027
|
};
|
|
5028
5028
|
function w(K, ie) {
|
|
5029
5029
|
return K === ie ? K !== 0 || 1 / K === 1 / ie : K !== K && ie !== ie;
|
|
@@ -5189,7 +5189,7 @@ function O5() {
|
|
|
5189
5189
|
(K || "React class") + ": " + ie + " type `" + G + "." + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + ce + "`."
|
|
5190
5190
|
);
|
|
5191
5191
|
}
|
|
5192
|
-
function
|
|
5192
|
+
function W(K) {
|
|
5193
5193
|
function ie(G, Y, ce, ue, pe) {
|
|
5194
5194
|
var ee = G[Y], ve = I(ee);
|
|
5195
5195
|
if (ve !== "object")
|
|
@@ -5206,7 +5206,7 @@ function O5() {
|
|
|
5206
5206
|
}
|
|
5207
5207
|
return E(ie);
|
|
5208
5208
|
}
|
|
5209
|
-
function
|
|
5209
|
+
function V(K) {
|
|
5210
5210
|
function ie(G, Y, ce, ue, pe) {
|
|
5211
5211
|
var ee = G[Y], ve = I(ee);
|
|
5212
5212
|
if (ve !== "object")
|
|
@@ -7051,12 +7051,12 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
7051
7051
|
r.current.value = G, $.emit();
|
|
7052
7052
|
}
|
|
7053
7053
|
}, [f]), yi(() => {
|
|
7054
|
-
_(6,
|
|
7054
|
+
_(6, V);
|
|
7055
7055
|
}, []);
|
|
7056
7056
|
let $ = v.useMemo(() => ({ subscribe: (G) => (s.current.add(G), () => s.current.delete(G)), snapshot: () => r.current, setState: (G, Y, ce) => {
|
|
7057
7057
|
var ue, pe, ee, ve;
|
|
7058
7058
|
if (!Object.is(r.current[G], Y)) {
|
|
7059
|
-
if (r.current[G] = Y, G === "search")
|
|
7059
|
+
if (r.current[G] = Y, G === "search") W(), Q(), _(1, O);
|
|
7060
7060
|
else if (G === "value") {
|
|
7061
7061
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
7062
7062
|
let q = document.getElementById(A);
|
|
@@ -7065,7 +7065,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
7065
7065
|
if (_(7, () => {
|
|
7066
7066
|
var q;
|
|
7067
7067
|
r.current.selectedItemId = (q = k()) == null ? void 0 : q.id, $.emit();
|
|
7068
|
-
}), ce || _(5,
|
|
7068
|
+
}), ce || _(5, V), ((pe = l.current) == null ? void 0 : pe.value) !== void 0) {
|
|
7069
7069
|
let q = Y ?? "";
|
|
7070
7070
|
(ve = (ee = l.current).onValueChange) == null || ve.call(ee, q);
|
|
7071
7071
|
return;
|
|
@@ -7081,12 +7081,12 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
7081
7081
|
Q(), $.emit();
|
|
7082
7082
|
}));
|
|
7083
7083
|
}, item: (G, Y) => (n.current.add(G), Y && (o.current.has(Y) ? o.current.get(Y).add(G) : o.current.set(Y, /* @__PURE__ */ new Set([G]))), _(3, () => {
|
|
7084
|
-
|
|
7084
|
+
W(), Q(), r.current.value || O(), $.emit();
|
|
7085
7085
|
}), () => {
|
|
7086
7086
|
i.current.delete(G), n.current.delete(G), r.current.filtered.items.delete(G);
|
|
7087
7087
|
let ce = k();
|
|
7088
7088
|
_(4, () => {
|
|
7089
|
-
|
|
7089
|
+
W(), ce?.getAttribute("id") === G && O(), $.emit();
|
|
7090
7090
|
});
|
|
7091
7091
|
}), group: (G) => (o.current.has(G) || o.current.set(G, /* @__PURE__ */ new Set()), () => {
|
|
7092
7092
|
i.current.delete(G), o.current.delete(G);
|
|
@@ -7124,7 +7124,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
7124
7124
|
let G = z().find((ce) => ce.getAttribute("aria-disabled") !== "true"), Y = G?.getAttribute(aa);
|
|
7125
7125
|
$.setState("value", Y || void 0);
|
|
7126
7126
|
}
|
|
7127
|
-
function
|
|
7127
|
+
function W() {
|
|
7128
7128
|
var G, Y, ce, ue;
|
|
7129
7129
|
if (!r.current.search || l.current.shouldFilter === !1) {
|
|
7130
7130
|
r.current.filtered.count = n.current.size;
|
|
@@ -7142,7 +7142,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
7142
7142
|
}
|
|
7143
7143
|
r.current.filtered.count = pe;
|
|
7144
7144
|
}
|
|
7145
|
-
function
|
|
7145
|
+
function V() {
|
|
7146
7146
|
var G, Y, ce;
|
|
7147
7147
|
let ue = k();
|
|
7148
7148
|
ue && (((G = ue.parentElement) == null ? void 0 : G.firstChild) === ue && ((ce = (Y = ue.closest(ts)) == null ? void 0 : Y.querySelector(a6)) == null || ce.scrollIntoView({ block: "nearest" })), ue.scrollIntoView({ block: "nearest" }));
|
|
@@ -7976,13 +7976,13 @@ function A6() {
|
|
|
7976
7976
|
value: !0
|
|
7977
7977
|
}), Gn.test = Gn.serialize = Gn.default = void 0;
|
|
7978
7978
|
var e = Zf();
|
|
7979
|
-
const t = "@@__IMMUTABLE_ITERABLE__@@", r = "@@__IMMUTABLE_LIST__@@", n = "@@__IMMUTABLE_KEYED__@@", o = "@@__IMMUTABLE_MAP__@@", i = "@@__IMMUTABLE_ORDERED__@@", s = "@@__IMMUTABLE_RECORD__@@", l = "@@__IMMUTABLE_SEQ__@@", c = "@@__IMMUTABLE_SET__@@", d = "@@__IMMUTABLE_STACK__@@", f = ($) => "Immutable." + $, p = ($) => "[" + $ + "]", h = " ", g = "…", w = ($, D, U, Q, O,
|
|
7979
|
+
const t = "@@__IMMUTABLE_ITERABLE__@@", r = "@@__IMMUTABLE_LIST__@@", n = "@@__IMMUTABLE_KEYED__@@", o = "@@__IMMUTABLE_MAP__@@", i = "@@__IMMUTABLE_ORDERED__@@", s = "@@__IMMUTABLE_RECORD__@@", l = "@@__IMMUTABLE_SEQ__@@", c = "@@__IMMUTABLE_SET__@@", d = "@@__IMMUTABLE_STACK__@@", f = ($) => "Immutable." + $, p = ($) => "[" + $ + "]", h = " ", g = "…", w = ($, D, U, Q, O, W, V) => ++Q > D.maxDepth ? p(f(V)) : f(V) + h + "{" + (0, e.printIteratorEntries)(
|
|
7980
7980
|
$.entries(),
|
|
7981
7981
|
D,
|
|
7982
7982
|
U,
|
|
7983
7983
|
Q,
|
|
7984
7984
|
O,
|
|
7985
|
-
|
|
7985
|
+
W
|
|
7986
7986
|
) + "}";
|
|
7987
7987
|
function b($) {
|
|
7988
7988
|
let D = 0;
|
|
@@ -8002,27 +8002,27 @@ function A6() {
|
|
|
8002
8002
|
}
|
|
8003
8003
|
};
|
|
8004
8004
|
}
|
|
8005
|
-
const E = ($, D, U, Q, O,
|
|
8006
|
-
const
|
|
8007
|
-
return ++Q > D.maxDepth ? p(
|
|
8005
|
+
const E = ($, D, U, Q, O, W) => {
|
|
8006
|
+
const V = f($._name || "Record");
|
|
8007
|
+
return ++Q > D.maxDepth ? p(V) : V + h + "{" + (0, e.printIteratorEntries)(
|
|
8008
8008
|
b($),
|
|
8009
8009
|
D,
|
|
8010
8010
|
U,
|
|
8011
8011
|
Q,
|
|
8012
8012
|
O,
|
|
8013
|
-
|
|
8013
|
+
W
|
|
8014
8014
|
) + "}";
|
|
8015
|
-
}, y = ($, D, U, Q, O,
|
|
8016
|
-
const
|
|
8017
|
-
return ++Q > D.maxDepth ? p(
|
|
8015
|
+
}, y = ($, D, U, Q, O, W) => {
|
|
8016
|
+
const V = f("Seq");
|
|
8017
|
+
return ++Q > D.maxDepth ? p(V) : $[n] ? V + h + "{" + // from Immutable collection of entries or from ECMAScript object
|
|
8018
8018
|
($._iter || $._object ? (0, e.printIteratorEntries)(
|
|
8019
8019
|
$.entries(),
|
|
8020
8020
|
D,
|
|
8021
8021
|
U,
|
|
8022
8022
|
Q,
|
|
8023
8023
|
O,
|
|
8024
|
-
|
|
8025
|
-
) : g) + "}" :
|
|
8024
|
+
W
|
|
8025
|
+
) : g) + "}" : V + h + "[" + ($._iter || // from Immutable collection of values
|
|
8026
8026
|
$._array || // from ECMAScript array
|
|
8027
8027
|
$._collection || // from ECMAScript collection in immutable v4
|
|
8028
8028
|
$._iterable ? (0, e.printIteratorValues)(
|
|
@@ -8031,22 +8031,22 @@ function A6() {
|
|
|
8031
8031
|
U,
|
|
8032
8032
|
Q,
|
|
8033
8033
|
O,
|
|
8034
|
-
|
|
8034
|
+
W
|
|
8035
8035
|
) : g) + "]";
|
|
8036
|
-
}, R = ($, D, U, Q, O,
|
|
8036
|
+
}, R = ($, D, U, Q, O, W, V) => ++Q > D.maxDepth ? p(f(V)) : f(V) + h + "[" + (0, e.printIteratorValues)(
|
|
8037
8037
|
$.values(),
|
|
8038
8038
|
D,
|
|
8039
8039
|
U,
|
|
8040
8040
|
Q,
|
|
8041
8041
|
O,
|
|
8042
|
-
|
|
8043
|
-
) + "]", P = ($, D, U, Q, O,
|
|
8042
|
+
W
|
|
8043
|
+
) + "]", P = ($, D, U, Q, O, W) => $[o] ? w(
|
|
8044
8044
|
$,
|
|
8045
8045
|
D,
|
|
8046
8046
|
U,
|
|
8047
8047
|
Q,
|
|
8048
8048
|
O,
|
|
8049
|
-
|
|
8049
|
+
W,
|
|
8050
8050
|
$[i] ? "OrderedMap" : "Map"
|
|
8051
8051
|
) : $[r] ? R(
|
|
8052
8052
|
$,
|
|
@@ -8054,7 +8054,7 @@ function A6() {
|
|
|
8054
8054
|
U,
|
|
8055
8055
|
Q,
|
|
8056
8056
|
O,
|
|
8057
|
-
|
|
8057
|
+
W,
|
|
8058
8058
|
"List"
|
|
8059
8059
|
) : $[c] ? R(
|
|
8060
8060
|
$,
|
|
@@ -8062,7 +8062,7 @@ function A6() {
|
|
|
8062
8062
|
U,
|
|
8063
8063
|
Q,
|
|
8064
8064
|
O,
|
|
8065
|
-
|
|
8065
|
+
W,
|
|
8066
8066
|
$[i] ? "OrderedSet" : "Set"
|
|
8067
8067
|
) : $[d] ? R(
|
|
8068
8068
|
$,
|
|
@@ -8070,9 +8070,9 @@ function A6() {
|
|
|
8070
8070
|
U,
|
|
8071
8071
|
Q,
|
|
8072
8072
|
O,
|
|
8073
|
-
|
|
8073
|
+
W,
|
|
8074
8074
|
"Stack"
|
|
8075
|
-
) : $[l] ? y($, D, U, Q, O,
|
|
8075
|
+
) : $[l] ? y($, D, U, Q, O, W) : E($, D, U, Q, O, W);
|
|
8076
8076
|
Gn.serialize = P;
|
|
8077
8077
|
const A = ($) => $ && ($[t] === !0 || $[s] === !0);
|
|
8078
8078
|
Gn.test = A;
|
|
@@ -8092,26 +8092,26 @@ function D6() {
|
|
|
8092
8092
|
var y = Symbol.for;
|
|
8093
8093
|
e = y("react.element"), t = y("react.portal"), r = y("react.fragment"), n = y("react.strict_mode"), o = y("react.profiler"), i = y("react.provider"), s = y("react.context"), l = y("react.forward_ref"), c = y("react.suspense"), d = y("react.suspense_list"), f = y("react.memo"), p = y("react.lazy"), h = y("react.block"), g = y("react.server.block"), w = y("react.fundamental"), b = y("react.debug_trace_mode"), E = y("react.legacy_hidden");
|
|
8094
8094
|
}
|
|
8095
|
-
function R(
|
|
8096
|
-
if (typeof
|
|
8097
|
-
var k =
|
|
8095
|
+
function R(V) {
|
|
8096
|
+
if (typeof V == "object" && V !== null) {
|
|
8097
|
+
var k = V.$$typeof;
|
|
8098
8098
|
switch (k) {
|
|
8099
8099
|
case e:
|
|
8100
|
-
switch (
|
|
8100
|
+
switch (V = V.type, V) {
|
|
8101
8101
|
case r:
|
|
8102
8102
|
case o:
|
|
8103
8103
|
case n:
|
|
8104
8104
|
case c:
|
|
8105
8105
|
case d:
|
|
8106
|
-
return
|
|
8106
|
+
return V;
|
|
8107
8107
|
default:
|
|
8108
|
-
switch (
|
|
8108
|
+
switch (V = V && V.$$typeof, V) {
|
|
8109
8109
|
case s:
|
|
8110
8110
|
case l:
|
|
8111
8111
|
case p:
|
|
8112
8112
|
case f:
|
|
8113
8113
|
case i:
|
|
8114
|
-
return
|
|
8114
|
+
return V;
|
|
8115
8115
|
default:
|
|
8116
8116
|
return k;
|
|
8117
8117
|
}
|
|
@@ -8121,35 +8121,35 @@ function D6() {
|
|
|
8121
8121
|
}
|
|
8122
8122
|
}
|
|
8123
8123
|
}
|
|
8124
|
-
var P = i, A = e, S = l, _ = r, $ = p, D = f, U = t, Q = o, O = n,
|
|
8125
|
-
return pt.ContextConsumer = s, pt.ContextProvider = P, pt.Element = A, pt.ForwardRef = S, pt.Fragment = _, pt.Lazy = $, pt.Memo = D, pt.Portal = U, pt.Profiler = Q, pt.StrictMode = O, pt.Suspense =
|
|
8124
|
+
var P = i, A = e, S = l, _ = r, $ = p, D = f, U = t, Q = o, O = n, W = c;
|
|
8125
|
+
return pt.ContextConsumer = s, pt.ContextProvider = P, pt.Element = A, pt.ForwardRef = S, pt.Fragment = _, pt.Lazy = $, pt.Memo = D, pt.Portal = U, pt.Profiler = Q, pt.StrictMode = O, pt.Suspense = W, pt.isAsyncMode = function() {
|
|
8126
8126
|
return !1;
|
|
8127
8127
|
}, pt.isConcurrentMode = function() {
|
|
8128
8128
|
return !1;
|
|
8129
|
-
}, pt.isContextConsumer = function(
|
|
8130
|
-
return R(
|
|
8131
|
-
}, pt.isContextProvider = function(
|
|
8132
|
-
return R(
|
|
8133
|
-
}, pt.isElement = function(
|
|
8134
|
-
return typeof
|
|
8135
|
-
}, pt.isForwardRef = function(
|
|
8136
|
-
return R(
|
|
8137
|
-
}, pt.isFragment = function(
|
|
8138
|
-
return R(
|
|
8139
|
-
}, pt.isLazy = function(
|
|
8140
|
-
return R(
|
|
8141
|
-
}, pt.isMemo = function(
|
|
8142
|
-
return R(
|
|
8143
|
-
}, pt.isPortal = function(
|
|
8144
|
-
return R(
|
|
8145
|
-
}, pt.isProfiler = function(
|
|
8146
|
-
return R(
|
|
8147
|
-
}, pt.isStrictMode = function(
|
|
8148
|
-
return R(
|
|
8149
|
-
}, pt.isSuspense = function(
|
|
8150
|
-
return R(
|
|
8151
|
-
}, pt.isValidElementType = function(
|
|
8152
|
-
return typeof
|
|
8129
|
+
}, pt.isContextConsumer = function(V) {
|
|
8130
|
+
return R(V) === s;
|
|
8131
|
+
}, pt.isContextProvider = function(V) {
|
|
8132
|
+
return R(V) === i;
|
|
8133
|
+
}, pt.isElement = function(V) {
|
|
8134
|
+
return typeof V == "object" && V !== null && V.$$typeof === e;
|
|
8135
|
+
}, pt.isForwardRef = function(V) {
|
|
8136
|
+
return R(V) === l;
|
|
8137
|
+
}, pt.isFragment = function(V) {
|
|
8138
|
+
return R(V) === r;
|
|
8139
|
+
}, pt.isLazy = function(V) {
|
|
8140
|
+
return R(V) === p;
|
|
8141
|
+
}, pt.isMemo = function(V) {
|
|
8142
|
+
return R(V) === f;
|
|
8143
|
+
}, pt.isPortal = function(V) {
|
|
8144
|
+
return R(V) === t;
|
|
8145
|
+
}, pt.isProfiler = function(V) {
|
|
8146
|
+
return R(V) === o;
|
|
8147
|
+
}, pt.isStrictMode = function(V) {
|
|
8148
|
+
return R(V) === n;
|
|
8149
|
+
}, pt.isSuspense = function(V) {
|
|
8150
|
+
return R(V) === c;
|
|
8151
|
+
}, pt.isValidElementType = function(V) {
|
|
8152
|
+
return typeof V == "string" || typeof V == "function" || V === r || V === o || V === b || V === n || V === c || V === d || V === E || typeof V == "object" && V !== null && (V.$$typeof === p || V.$$typeof === f || V.$$typeof === i || V.$$typeof === s || V.$$typeof === l || V.$$typeof === w || V.$$typeof === h || V[0] === g);
|
|
8153
8153
|
}, pt.typeOf = R, pt;
|
|
8154
8154
|
}
|
|
8155
8155
|
var mt = {};
|
|
@@ -8196,7 +8196,7 @@ function M6() {
|
|
|
8196
8196
|
}
|
|
8197
8197
|
}
|
|
8198
8198
|
}
|
|
8199
|
-
var S = s, _ = i, $ = e, D = l, U = r, Q = p, O = f,
|
|
8199
|
+
var S = s, _ = i, $ = e, D = l, U = r, Q = p, O = f, W = t, V = o, k = n, z = c, I = !1, L = !1;
|
|
8200
8200
|
function F(oe) {
|
|
8201
8201
|
return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
8202
8202
|
}
|
|
@@ -8236,7 +8236,7 @@ function M6() {
|
|
|
8236
8236
|
function ae(oe) {
|
|
8237
8237
|
return A(oe) === c;
|
|
8238
8238
|
}
|
|
8239
|
-
mt.ContextConsumer = S, mt.ContextProvider = _, mt.Element = $, mt.ForwardRef = D, mt.Fragment = U, mt.Lazy = Q, mt.Memo = O, mt.Portal =
|
|
8239
|
+
mt.ContextConsumer = S, mt.ContextProvider = _, mt.Element = $, mt.ForwardRef = D, mt.Fragment = U, mt.Lazy = Q, mt.Memo = O, mt.Portal = W, mt.Profiler = V, mt.StrictMode = k, mt.Suspense = z, mt.isAsyncMode = F, mt.isConcurrentMode = te, mt.isContextConsumer = K, mt.isContextProvider = ie, mt.isElement = G, mt.isForwardRef = Y, mt.isFragment = ce, mt.isLazy = ue, mt.isMemo = pe, mt.isPortal = ee, mt.isProfiler = ve, mt.isStrictMode = q, mt.isSuspense = ae, mt.isValidElementType = P, mt.typeOf = A;
|
|
8240
8240
|
})()), mt;
|
|
8241
8241
|
}
|
|
8242
8242
|
var Xw;
|
|
@@ -8487,7 +8487,7 @@ function k6() {
|
|
|
8487
8487
|
function O(q) {
|
|
8488
8488
|
return q.serialize != null;
|
|
8489
8489
|
}
|
|
8490
|
-
function
|
|
8490
|
+
function W(q, ae, oe, X, Ee, Oe) {
|
|
8491
8491
|
let Ze;
|
|
8492
8492
|
try {
|
|
8493
8493
|
Ze = O(q) ? q.serialize(ae, oe, X, Ee, Oe, k) : q.print(
|
|
@@ -8514,7 +8514,7 @@ function k6() {
|
|
|
8514
8514
|
);
|
|
8515
8515
|
return Ze;
|
|
8516
8516
|
}
|
|
8517
|
-
function
|
|
8517
|
+
function V(q, ae) {
|
|
8518
8518
|
for (let oe = 0; oe < q.length; oe++)
|
|
8519
8519
|
try {
|
|
8520
8520
|
if (q[oe].test(ae))
|
|
@@ -8525,9 +8525,9 @@ function k6() {
|
|
|
8525
8525
|
return null;
|
|
8526
8526
|
}
|
|
8527
8527
|
function k(q, ae, oe, X, Ee, Oe) {
|
|
8528
|
-
const Ze =
|
|
8528
|
+
const Ze = V(ae.plugins, q);
|
|
8529
8529
|
if (Ze !== null)
|
|
8530
|
-
return
|
|
8530
|
+
return W(Ze, q, ae, oe, X, Ee);
|
|
8531
8531
|
const $t = U(
|
|
8532
8532
|
q,
|
|
8533
8533
|
ae.printFunctionName,
|
|
@@ -8620,9 +8620,9 @@ function k6() {
|
|
|
8620
8620
|
}
|
|
8621
8621
|
function pe(q, ae) {
|
|
8622
8622
|
if (ae && (F(ae), ae.plugins)) {
|
|
8623
|
-
const X =
|
|
8623
|
+
const X = V(ae.plugins, q);
|
|
8624
8624
|
if (X !== null)
|
|
8625
|
-
return
|
|
8625
|
+
return W(X, q, ce(ae), "", 0, []);
|
|
8626
8626
|
}
|
|
8627
8627
|
const oe = U(
|
|
8628
8628
|
q,
|
|
@@ -9078,8 +9078,8 @@ function ES(e) {
|
|
|
9078
9078
|
isEmbeddedInLabel: R.isEmbeddedInLabel,
|
|
9079
9079
|
isReferenced: !1,
|
|
9080
9080
|
recursion: !0
|
|
9081
|
-
}), O = Tt(U) ? d(U).getPropertyValue("display") : "inline",
|
|
9082
|
-
P += "".concat(
|
|
9081
|
+
}), O = Tt(U) ? d(U).getPropertyValue("display") : "inline", W = O !== "inline" ? " " : "";
|
|
9082
|
+
P += "".concat(W).concat(Q).concat(W);
|
|
9083
9083
|
}), Tt(y) && l) {
|
|
9084
9084
|
var $ = d(y, "::after"), D = tx($);
|
|
9085
9085
|
P = "".concat(P, " ").concat(D);
|
|
@@ -9131,14 +9131,14 @@ function ES(e) {
|
|
|
9131
9131
|
if (O !== null)
|
|
9132
9132
|
return O;
|
|
9133
9133
|
} else if (t7(y)) {
|
|
9134
|
-
var
|
|
9135
|
-
if (V !== null)
|
|
9136
|
-
return V;
|
|
9137
|
-
}
|
|
9138
|
-
if (tf(y) && (y.type === "button" || y.type === "submit" || y.type === "reset")) {
|
|
9139
|
-
var W = g(y, "value");
|
|
9134
|
+
var W = g(y, "label");
|
|
9140
9135
|
if (W !== null)
|
|
9141
9136
|
return W;
|
|
9137
|
+
}
|
|
9138
|
+
if (tf(y) && (y.type === "button" || y.type === "submit" || y.type === "reset")) {
|
|
9139
|
+
var V = g(y, "value");
|
|
9140
|
+
if (V !== null)
|
|
9141
|
+
return V;
|
|
9142
9142
|
if (y.type === "submit")
|
|
9143
9143
|
return "Submit";
|
|
9144
9144
|
if (y.type === "reset")
|
|
@@ -13388,11 +13388,11 @@ function y8() {
|
|
|
13388
13388
|
XE = 1, Object.defineProperty(ys, "__esModule", {
|
|
13389
13389
|
value: !0
|
|
13390
13390
|
}), ys.default = void 0;
|
|
13391
|
-
var e = we(H7()), t = we(U7()), r = we(j7()), n = we(z7()), o = we(G7()), i = we(Y7()), s = we(X7()), l = we(Z7()), c = we(Q7()), d = we(J7()), f = we(e9()), p = we(t9()), h = we(r9()), g = we(n9()), w = we(o9()), b = we(i9()), E = we(a9()), y = we(s9()), R = we(l9()), P = we(u9()), A = we(c9()), S = we(d9()), _ = we(f9()), $ = we(p9()), D = we(m9()), U = we(h9()), Q = we(v9()), O = we(g9()),
|
|
13391
|
+
var e = we(H7()), t = we(U7()), r = we(j7()), n = we(z7()), o = we(G7()), i = we(Y7()), s = we(X7()), l = we(Z7()), c = we(Q7()), d = we(J7()), f = we(e9()), p = we(t9()), h = we(r9()), g = we(n9()), w = we(o9()), b = we(i9()), E = we(a9()), y = we(s9()), R = we(l9()), P = we(u9()), A = we(c9()), S = we(d9()), _ = we(f9()), $ = we(p9()), D = we(m9()), U = we(h9()), Q = we(v9()), O = we(g9()), W = we(b9()), V = we(y9()), k = we(w9()), z = we(x9()), I = we(E9()), L = we(C9()), F = we(R9()), te = we(P9()), K = we(S9()), ie = we(_9()), G = we(T9()), Y = we($9()), ce = we(A9()), ue = we(D9()), pe = we(M9()), ee = we(O9()), ve = we(N9()), q = we(I9()), ae = we(k9()), oe = we(L9()), X = we(q9()), Ee = we(F9()), Oe = we(B9()), Ze = we(K9()), $t = we(V9()), Et = we(W9()), qa = we(H9()), Oi = we(U9()), H = we(j9()), re = we(z9()), de = we(G9()), Ce = we(Y9()), xe = we(X9()), ye = we(Z9()), Me = we(Q9()), Ge = we(J9()), Qe = we(e8()), Jt = we(t8()), vn = we(r8()), yr = we(n8()), Ho = we(o8()), Mn = we(i8()), On = we(a8()), Uo = we(s8()), fo = we(l8()), jo = we(u8()), Ni = we(c8()), Ap = we(d8()), Dp = we(f8()), kc = we(p8()), Lc = we(m8()), Mp = we(h8()), Op = we(v8()), Np = we(g8()), Ip = we(b8());
|
|
13392
13392
|
function we(Ii) {
|
|
13393
13393
|
return Ii && Ii.__esModule ? Ii : { default: Ii };
|
|
13394
13394
|
}
|
|
13395
|
-
var kp = [["alert", e.default], ["alertdialog", t.default], ["application", r.default], ["article", n.default], ["banner", o.default], ["blockquote", i.default], ["button", s.default], ["caption", l.default], ["cell", c.default], ["checkbox", d.default], ["code", f.default], ["columnheader", p.default], ["combobox", h.default], ["complementary", g.default], ["contentinfo", w.default], ["definition", b.default], ["deletion", E.default], ["dialog", y.default], ["directory", R.default], ["document", P.default], ["emphasis", A.default], ["feed", S.default], ["figure", _.default], ["form", $.default], ["generic", D.default], ["grid", U.default], ["gridcell", Q.default], ["group", O.default], ["heading",
|
|
13395
|
+
var kp = [["alert", e.default], ["alertdialog", t.default], ["application", r.default], ["article", n.default], ["banner", o.default], ["blockquote", i.default], ["button", s.default], ["caption", l.default], ["cell", c.default], ["checkbox", d.default], ["code", f.default], ["columnheader", p.default], ["combobox", h.default], ["complementary", g.default], ["contentinfo", w.default], ["definition", b.default], ["deletion", E.default], ["dialog", y.default], ["directory", R.default], ["document", P.default], ["emphasis", A.default], ["feed", S.default], ["figure", _.default], ["form", $.default], ["generic", D.default], ["grid", U.default], ["gridcell", Q.default], ["group", O.default], ["heading", W.default], ["img", V.default], ["insertion", k.default], ["link", z.default], ["list", I.default], ["listbox", L.default], ["listitem", F.default], ["log", te.default], ["main", K.default], ["mark", ie.default], ["marquee", G.default], ["math", Y.default], ["menu", ce.default], ["menubar", ue.default], ["menuitem", pe.default], ["menuitemcheckbox", ee.default], ["menuitemradio", ve.default], ["meter", q.default], ["navigation", ae.default], ["none", oe.default], ["note", X.default], ["option", Ee.default], ["paragraph", Oe.default], ["presentation", Ze.default], ["progressbar", $t.default], ["radio", Et.default], ["radiogroup", qa.default], ["region", Oi.default], ["row", H.default], ["rowgroup", re.default], ["rowheader", de.default], ["scrollbar", Ce.default], ["search", xe.default], ["searchbox", ye.default], ["separator", Me.default], ["slider", Ge.default], ["spinbutton", Qe.default], ["status", Jt.default], ["strong", vn.default], ["subscript", yr.default], ["superscript", Ho.default], ["switch", Mn.default], ["tab", On.default], ["table", Uo.default], ["tablist", fo.default], ["tabpanel", jo.default], ["term", Ni.default], ["textbox", Ap.default], ["time", Dp.default], ["timer", kc.default], ["toolbar", Lc.default], ["tooltip", Mp.default], ["tree", Op.default], ["treegrid", Np.default], ["treeitem", Ip.default]], Lp = kp;
|
|
13396
13396
|
return ys.default = Lp, ys;
|
|
13397
13397
|
}
|
|
13398
13398
|
var Yl = {}, Xl = {}, ZE;
|
|
@@ -14703,11 +14703,11 @@ function iK() {
|
|
|
14703
14703
|
kC = 1, Object.defineProperty(Yl, "__esModule", {
|
|
14704
14704
|
value: !0
|
|
14705
14705
|
}), Yl.default = void 0;
|
|
14706
|
-
var e = Y(w8()), t = Y(x8()), r = Y(E8()), n = Y(C8()), o = Y(R8()), i = Y(P8()), s = Y(S8()), l = Y(_8()), c = Y(T8()), d = Y($8()), f = Y(A8()), p = Y(D8()), h = Y(M8()), g = Y(O8()), w = Y(N8()), b = Y(I8()), E = Y(k8()), y = Y(L8()), R = Y(q8()), P = Y(F8()), A = Y(B8()), S = Y(K8()), _ = Y(V8()), $ = Y(W8()), D = Y(H8()), U = Y(U8()), Q = Y(j8()), O = Y(z8()),
|
|
14706
|
+
var e = Y(w8()), t = Y(x8()), r = Y(E8()), n = Y(C8()), o = Y(R8()), i = Y(P8()), s = Y(S8()), l = Y(_8()), c = Y(T8()), d = Y($8()), f = Y(A8()), p = Y(D8()), h = Y(M8()), g = Y(O8()), w = Y(N8()), b = Y(I8()), E = Y(k8()), y = Y(L8()), R = Y(q8()), P = Y(F8()), A = Y(B8()), S = Y(K8()), _ = Y(V8()), $ = Y(W8()), D = Y(H8()), U = Y(U8()), Q = Y(j8()), O = Y(z8()), W = Y(G8()), V = Y(Y8()), k = Y(X8()), z = Y(Z8()), I = Y(Q8()), L = Y(J8()), F = Y(eK()), te = Y(tK()), K = Y(rK()), ie = Y(nK()), G = Y(oK());
|
|
14707
14707
|
function Y(pe) {
|
|
14708
14708
|
return pe && pe.__esModule ? pe : { default: pe };
|
|
14709
14709
|
}
|
|
14710
|
-
var ce = [["doc-abstract", e.default], ["doc-acknowledgments", t.default], ["doc-afterword", r.default], ["doc-appendix", n.default], ["doc-backlink", o.default], ["doc-biblioentry", i.default], ["doc-bibliography", s.default], ["doc-biblioref", l.default], ["doc-chapter", c.default], ["doc-colophon", d.default], ["doc-conclusion", f.default], ["doc-cover", p.default], ["doc-credit", h.default], ["doc-credits", g.default], ["doc-dedication", w.default], ["doc-endnote", b.default], ["doc-endnotes", E.default], ["doc-epigraph", y.default], ["doc-epilogue", R.default], ["doc-errata", P.default], ["doc-example", A.default], ["doc-footnote", S.default], ["doc-foreword", _.default], ["doc-glossary", $.default], ["doc-glossref", D.default], ["doc-index", U.default], ["doc-introduction", Q.default], ["doc-noteref", O.default], ["doc-notice",
|
|
14710
|
+
var ce = [["doc-abstract", e.default], ["doc-acknowledgments", t.default], ["doc-afterword", r.default], ["doc-appendix", n.default], ["doc-backlink", o.default], ["doc-biblioentry", i.default], ["doc-bibliography", s.default], ["doc-biblioref", l.default], ["doc-chapter", c.default], ["doc-colophon", d.default], ["doc-conclusion", f.default], ["doc-cover", p.default], ["doc-credit", h.default], ["doc-credits", g.default], ["doc-dedication", w.default], ["doc-endnote", b.default], ["doc-endnotes", E.default], ["doc-epigraph", y.default], ["doc-epilogue", R.default], ["doc-errata", P.default], ["doc-example", A.default], ["doc-footnote", S.default], ["doc-foreword", _.default], ["doc-glossary", $.default], ["doc-glossref", D.default], ["doc-index", U.default], ["doc-introduction", Q.default], ["doc-noteref", O.default], ["doc-notice", W.default], ["doc-pagebreak", V.default], ["doc-pagelist", k.default], ["doc-part", z.default], ["doc-preface", I.default], ["doc-prologue", L.default], ["doc-pullquote", F.default], ["doc-qna", te.default], ["doc-subtitle", K.default], ["doc-tip", ie.default], ["doc-toc", G.default]], ue = ce;
|
|
14711
14711
|
return Yl.default = ue, Yl;
|
|
14712
14712
|
}
|
|
14713
14713
|
var Iu = {}, ku = {}, LC;
|
|
@@ -14940,14 +14940,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14940
14940
|
var _ = S.value, $ = l(_), D;
|
|
14941
14941
|
try {
|
|
14942
14942
|
var U = function() {
|
|
14943
|
-
var O = D.value,
|
|
14943
|
+
var O = D.value, W = w.find(function(L) {
|
|
14944
14944
|
var F = c(L, 1), te = F[0];
|
|
14945
14945
|
return te === O;
|
|
14946
14946
|
});
|
|
14947
|
-
if (
|
|
14948
|
-
for (var
|
|
14947
|
+
if (W)
|
|
14948
|
+
for (var V = W[1], k = 0, z = Object.keys(V.props); k < z.length; k++) {
|
|
14949
14949
|
var I = z[k];
|
|
14950
|
-
Object.prototype.hasOwnProperty.call(P.props, I) || Object.assign(P.props, s({}, I,
|
|
14950
|
+
Object.prototype.hasOwnProperty.call(P.props, I) || Object.assign(P.props, s({}, I, V.props[I]));
|
|
14951
14951
|
}
|
|
14952
14952
|
};
|
|
14953
14953
|
for ($.s(); !(D = $.n()).done; )
|
|
@@ -15052,17 +15052,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15052
15052
|
function s(S, _) {
|
|
15053
15053
|
var $ = S == null ? null : typeof Symbol < "u" && S[Symbol.iterator] || S["@@iterator"];
|
|
15054
15054
|
if ($ != null) {
|
|
15055
|
-
var D = [], U = !0, Q = !1, O,
|
|
15055
|
+
var D = [], U = !0, Q = !1, O, W;
|
|
15056
15056
|
try {
|
|
15057
15057
|
for ($ = $.call(S); !(U = (O = $.next()).done) && (D.push(O.value), !(_ && D.length === _)); U = !0)
|
|
15058
15058
|
;
|
|
15059
|
-
} catch (
|
|
15060
|
-
Q = !0,
|
|
15059
|
+
} catch (V) {
|
|
15060
|
+
Q = !0, W = V;
|
|
15061
15061
|
} finally {
|
|
15062
15062
|
try {
|
|
15063
15063
|
!U && $.return != null && $.return();
|
|
15064
15064
|
} finally {
|
|
15065
|
-
if (Q) throw
|
|
15065
|
+
if (Q) throw W;
|
|
15066
15066
|
}
|
|
15067
15067
|
}
|
|
15068
15068
|
return D;
|
|
@@ -15087,19 +15087,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15087
15087
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
15088
15088
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
15089
15089
|
}
|
|
15090
|
-
var Q = !0, O = !1,
|
|
15090
|
+
var Q = !0, O = !1, W;
|
|
15091
15091
|
return { s: function() {
|
|
15092
15092
|
$ = $.call(S);
|
|
15093
15093
|
}, n: function() {
|
|
15094
15094
|
var k = $.next();
|
|
15095
15095
|
return Q = k.done, k;
|
|
15096
15096
|
}, e: function(k) {
|
|
15097
|
-
O = !0,
|
|
15097
|
+
O = !0, W = k;
|
|
15098
15098
|
}, f: function() {
|
|
15099
15099
|
try {
|
|
15100
15100
|
!Q && $.return != null && $.return();
|
|
15101
15101
|
} finally {
|
|
15102
|
-
if (O) throw
|
|
15102
|
+
if (O) throw W;
|
|
15103
15103
|
}
|
|
15104
15104
|
} };
|
|
15105
15105
|
}
|
|
@@ -15147,11 +15147,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15147
15147
|
var $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, D = c(p), U;
|
|
15148
15148
|
try {
|
|
15149
15149
|
for (D.s(); !(U = D.n()).done; ) {
|
|
15150
|
-
var Q = o(U.value, 2), O = Q[0],
|
|
15151
|
-
_.call($,
|
|
15150
|
+
var Q = o(U.value, 2), O = Q[0], W = Q[1];
|
|
15151
|
+
_.call($, W, O, p);
|
|
15152
15152
|
}
|
|
15153
|
-
} catch (
|
|
15154
|
-
D.e(
|
|
15153
|
+
} catch (V) {
|
|
15154
|
+
D.e(V);
|
|
15155
15155
|
} finally {
|
|
15156
15156
|
D.f();
|
|
15157
15157
|
}
|
|
@@ -15200,17 +15200,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15200
15200
|
function i(_, $) {
|
|
15201
15201
|
var D = _ == null ? null : typeof Symbol < "u" && _[Symbol.iterator] || _["@@iterator"];
|
|
15202
15202
|
if (D != null) {
|
|
15203
|
-
var U = [], Q = !0, O = !1,
|
|
15203
|
+
var U = [], Q = !0, O = !1, W, V;
|
|
15204
15204
|
try {
|
|
15205
|
-
for (D = D.call(_); !(Q = (
|
|
15205
|
+
for (D = D.call(_); !(Q = (W = D.next()).done) && (U.push(W.value), !($ && U.length === $)); Q = !0)
|
|
15206
15206
|
;
|
|
15207
15207
|
} catch (k) {
|
|
15208
|
-
O = !0,
|
|
15208
|
+
O = !0, V = k;
|
|
15209
15209
|
} finally {
|
|
15210
15210
|
try {
|
|
15211
15211
|
!Q && D.return != null && D.return();
|
|
15212
15212
|
} finally {
|
|
15213
|
-
if (O) throw
|
|
15213
|
+
if (O) throw V;
|
|
15214
15214
|
}
|
|
15215
15215
|
}
|
|
15216
15216
|
return U;
|
|
@@ -15235,19 +15235,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15235
15235
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
15236
15236
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
15237
15237
|
}
|
|
15238
|
-
var O = !0,
|
|
15238
|
+
var O = !0, W = !1, V;
|
|
15239
15239
|
return { s: function() {
|
|
15240
15240
|
D = D.call(_);
|
|
15241
15241
|
}, n: function() {
|
|
15242
15242
|
var z = D.next();
|
|
15243
15243
|
return O = z.done, z;
|
|
15244
15244
|
}, e: function(z) {
|
|
15245
|
-
|
|
15245
|
+
W = !0, V = z;
|
|
15246
15246
|
}, f: function() {
|
|
15247
15247
|
try {
|
|
15248
15248
|
!O && D.return != null && D.return();
|
|
15249
15249
|
} finally {
|
|
15250
|
-
if (
|
|
15250
|
+
if (W) throw V;
|
|
15251
15251
|
}
|
|
15252
15252
|
} };
|
|
15253
15253
|
}
|
|
@@ -15286,8 +15286,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
15286
15286
|
var D = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, U = l(f), Q;
|
|
15287
15287
|
try {
|
|
15288
15288
|
for (U.s(); !(Q = U.n()).done; ) {
|
|
15289
|
-
var O = n(Q.value, 2),
|
|
15290
|
-
$.call(D,
|
|
15289
|
+
var O = n(Q.value, 2), W = O[0], V = O[1];
|
|
15290
|
+
$.call(D, V, W, f);
|
|
15291
15291
|
}
|
|
15292
15292
|
} catch (k) {
|
|
15293
15293
|
U.e(k);
|
|
@@ -16536,9 +16536,9 @@ const VS = (e, t) => "Found multiple elements with the text of: " + t, uV = ma(g
|
|
|
16536
16536
|
if (((O = zr.roles.get(t)) == null ? void 0 : O.props["aria-expanded"]) === void 0)
|
|
16537
16537
|
throw new Error('"aria-expanded" is not supported on role "' + t + '".');
|
|
16538
16538
|
}
|
|
16539
|
-
const
|
|
16540
|
-
function
|
|
16541
|
-
return
|
|
16539
|
+
const W = /* @__PURE__ */ new WeakMap();
|
|
16540
|
+
function V(k) {
|
|
16541
|
+
return W.has(k) || W.set(k, FS(k)), W.get(k);
|
|
16542
16542
|
}
|
|
16543
16543
|
return Array.from(e.querySelectorAll(
|
|
16544
16544
|
// Only query elements that can be matched by the following filters
|
|
@@ -16581,7 +16581,7 @@ const VS = (e, t) => "Found multiple elements with the text of: " + t, uV = ma(g
|
|
|
16581
16581
|
}), k, o, (z) => z)).filter((k) => i === void 0 ? !0 : ro(CS(k, {
|
|
16582
16582
|
computedStyleSupportsPseudoElements: gt().computedStyleSupportsPseudoElements
|
|
16583
16583
|
}), k, i, (z) => z)).filter((k) => n === !1 ? gg(k, {
|
|
16584
|
-
isSubtreeInaccessible:
|
|
16584
|
+
isSubtreeInaccessible: V
|
|
16585
16585
|
}) === !1 : !0);
|
|
16586
16586
|
};
|
|
16587
16587
|
function nW(e) {
|
|
@@ -20971,7 +20971,7 @@ var Rj = Uu.exports, a1;
|
|
|
20971
20971
|
function Pj() {
|
|
20972
20972
|
return a1 || (a1 = 1, (function(e, t) {
|
|
20973
20973
|
(function() {
|
|
20974
|
-
var r, n = "4.17.21", o = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, f = "__lodash_placeholder__", p = 1, h = 2, g = 4, w = 1, b = 2, E = 1, y = 2, R = 4, P = 8, A = 16, S = 32, _ = 64, $ = 128, D = 256, U = 512, Q = 30, O = "...",
|
|
20974
|
+
var r, n = "4.17.21", o = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, f = "__lodash_placeholder__", p = 1, h = 2, g = 4, w = 1, b = 2, E = 1, y = 2, R = 4, P = 8, A = 16, S = 32, _ = 64, $ = 128, D = 256, U = 512, Q = 30, O = "...", W = 800, V = 16, k = 1, z = 2, I = 3, L = 1 / 0, F = 9007199254740991, te = 17976931348623157e292, K = NaN, ie = 4294967295, G = ie - 1, Y = ie >>> 1, ce = [
|
|
20975
20975
|
["ary", $],
|
|
20976
20976
|
["bind", E],
|
|
20977
20977
|
["bindKey", y],
|
|
@@ -23149,9 +23149,9 @@ function Pj() {
|
|
|
23149
23149
|
function d0(a) {
|
|
23150
23150
|
var u = 0, m = 0;
|
|
23151
23151
|
return function() {
|
|
23152
|
-
var x = WO(), T =
|
|
23152
|
+
var x = WO(), T = V - (x - m);
|
|
23153
23153
|
if (m = x, T > 0) {
|
|
23154
|
-
if (++u >=
|
|
23154
|
+
if (++u >= W)
|
|
23155
23155
|
return arguments[0];
|
|
23156
23156
|
} else
|
|
23157
23157
|
u = 0;
|
|
@@ -25315,7 +25315,7 @@ function _oe({
|
|
|
25315
25315
|
prop: g,
|
|
25316
25316
|
onChange: (Q) => {
|
|
25317
25317
|
if (!w) return;
|
|
25318
|
-
const O = e.find((
|
|
25318
|
+
const O = e.find((W) => W[t] === Q);
|
|
25319
25319
|
w?.(O?.[t], O);
|
|
25320
25320
|
},
|
|
25321
25321
|
defaultProp: b
|
|
@@ -25534,66 +25534,68 @@ const Fj = "dd/MM/yyyy", Ku = (e) => Ei(e) ? tr(e, Fj) : "", Bj = (e) => {
|
|
|
25534
25534
|
value: r,
|
|
25535
25535
|
onChange: n,
|
|
25536
25536
|
defaultValue: o,
|
|
25537
|
-
|
|
25538
|
-
|
|
25539
|
-
|
|
25540
|
-
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
|
|
25537
|
+
autoComplete: i,
|
|
25538
|
+
className: s,
|
|
25539
|
+
disabledDate: l,
|
|
25540
|
+
renderFooter: c,
|
|
25541
|
+
disabled: d,
|
|
25542
|
+
hideFooter: f,
|
|
25543
|
+
onBlur: p,
|
|
25544
|
+
...h
|
|
25545
|
+
} = e, [g, w] = bt({
|
|
25544
25546
|
prop: r,
|
|
25545
|
-
onChange: (
|
|
25547
|
+
onChange: (k) => n?.(k ?? null),
|
|
25546
25548
|
defaultProp: o ?? null
|
|
25547
25549
|
}), {
|
|
25548
|
-
inputValue:
|
|
25549
|
-
handleChange:
|
|
25550
|
-
handleBlur:
|
|
25551
|
-
handleKeyDown:
|
|
25552
|
-
clear:
|
|
25553
|
-
setFromExternalDate:
|
|
25550
|
+
inputValue: b,
|
|
25551
|
+
handleChange: E,
|
|
25552
|
+
handleBlur: y,
|
|
25553
|
+
handleKeyDown: R,
|
|
25554
|
+
clear: P,
|
|
25555
|
+
setFromExternalDate: A
|
|
25554
25556
|
} = Vj({
|
|
25555
|
-
date:
|
|
25556
|
-
onDateChange: (
|
|
25557
|
-
disabledDate:
|
|
25557
|
+
date: g ?? null,
|
|
25558
|
+
onDateChange: (k) => w(k),
|
|
25559
|
+
disabledDate: l
|
|
25558
25560
|
}), {
|
|
25559
|
-
open:
|
|
25560
|
-
setOpen:
|
|
25561
|
-
handleInputKeyDown:
|
|
25562
|
-
inputRef:
|
|
25563
|
-
} = Wj({ disabled:
|
|
25564
|
-
|
|
25565
|
-
},
|
|
25566
|
-
|
|
25567
|
-
},
|
|
25568
|
-
const
|
|
25569
|
-
|
|
25570
|
-
},
|
|
25571
|
-
/* @__PURE__ */ C(br, { variant: "ghost", onClick:
|
|
25561
|
+
open: S,
|
|
25562
|
+
setOpen: _,
|
|
25563
|
+
handleInputKeyDown: $,
|
|
25564
|
+
inputRef: D
|
|
25565
|
+
} = Wj({ disabled: d }), U = (k) => {
|
|
25566
|
+
R(k), $(k);
|
|
25567
|
+
}, Q = () => {
|
|
25568
|
+
A(null), P();
|
|
25569
|
+
}, O = () => {
|
|
25570
|
+
const k = /* @__PURE__ */ new Date();
|
|
25571
|
+
l?.(k) || A(k);
|
|
25572
|
+
}, W = () => /* @__PURE__ */ be("span", { className: "flex w-full p-1 justify-between", children: [
|
|
25573
|
+
/* @__PURE__ */ C(br, { variant: "ghost", onClick: Q, children: "Borrar" }),
|
|
25572
25574
|
/* @__PURE__ */ C(
|
|
25573
25575
|
br,
|
|
25574
25576
|
{
|
|
25575
25577
|
variant: "ghost",
|
|
25576
|
-
onClick:
|
|
25577
|
-
disabled:
|
|
25578
|
+
onClick: O,
|
|
25579
|
+
disabled: l?.(/* @__PURE__ */ new Date()),
|
|
25578
25580
|
children: "Hoy"
|
|
25579
25581
|
}
|
|
25580
25582
|
)
|
|
25581
|
-
] }),
|
|
25583
|
+
] }), V = () => f ? null : c ? c({
|
|
25582
25584
|
mode: "single",
|
|
25583
|
-
value:
|
|
25584
|
-
clear:
|
|
25585
|
-
selectToday:
|
|
25586
|
-
setValue: (
|
|
25587
|
-
const
|
|
25588
|
-
|
|
25589
|
-
}
|
|
25590
|
-
}) :
|
|
25585
|
+
value: g,
|
|
25586
|
+
clear: Q,
|
|
25587
|
+
selectToday: O,
|
|
25588
|
+
setValue: (k) => {
|
|
25589
|
+
const z = k && Ei(k) ? k : null;
|
|
25590
|
+
w(z), A(z);
|
|
25591
|
+
}
|
|
25592
|
+
}) : W();
|
|
25591
25593
|
return /* @__PURE__ */ be(
|
|
25592
25594
|
fp,
|
|
25593
25595
|
{
|
|
25594
25596
|
"data-slot": "date-picker",
|
|
25595
|
-
open:
|
|
25596
|
-
onOpenChange:
|
|
25597
|
+
open: S,
|
|
25598
|
+
onOpenChange: _,
|
|
25597
25599
|
children: [
|
|
25598
25600
|
/* @__PURE__ */ be(
|
|
25599
25601
|
"div",
|
|
@@ -25601,36 +25603,39 @@ const Fj = "dd/MM/yyyy", Ku = (e) => Ei(e) ? tr(e, Fj) : "", Bj = (e) => {
|
|
|
25601
25603
|
className: le(
|
|
25602
25604
|
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 items-center text-sm ring-offset-background placeholder:text-muted-foreground",
|
|
25603
25605
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
25604
|
-
!
|
|
25605
|
-
|
|
25606
|
+
!g && "text-muted-foreground",
|
|
25607
|
+
s,
|
|
25606
25608
|
"field-error"
|
|
25607
25609
|
),
|
|
25608
|
-
onClick: (
|
|
25609
|
-
|
|
25610
|
+
onClick: (k) => {
|
|
25611
|
+
k.target === k.currentTarget && D.current?.focus();
|
|
25610
25612
|
},
|
|
25611
25613
|
children: [
|
|
25612
25614
|
/* @__PURE__ */ C(
|
|
25613
25615
|
"input",
|
|
25614
25616
|
{
|
|
25615
25617
|
type: "text",
|
|
25616
|
-
value:
|
|
25617
|
-
onChange:
|
|
25618
|
-
onBlur:
|
|
25619
|
-
|
|
25620
|
-
|
|
25621
|
-
|
|
25622
|
-
|
|
25618
|
+
value: b,
|
|
25619
|
+
onChange: E,
|
|
25620
|
+
onBlur: (k) => {
|
|
25621
|
+
y(), p?.(k);
|
|
25622
|
+
},
|
|
25623
|
+
onKeyDown: U,
|
|
25624
|
+
placeholder: t ?? "DD/MM/YYYY",
|
|
25625
|
+
autoComplete: i ?? "off",
|
|
25626
|
+
disabled: d,
|
|
25627
|
+
className: "flex-1 min-w-0 bg-transparent outline-none text-start truncate pt-px",
|
|
25623
25628
|
"aria-label": t,
|
|
25624
|
-
ref:
|
|
25625
|
-
...
|
|
25629
|
+
ref: D,
|
|
25630
|
+
...h
|
|
25626
25631
|
}
|
|
25627
25632
|
),
|
|
25628
25633
|
/* @__PURE__ */ C(pp, { asChild: !0, "data-slot": "date-picker-trigger", children: /* @__PURE__ */ be(
|
|
25629
25634
|
"button",
|
|
25630
25635
|
{
|
|
25631
25636
|
type: "button",
|
|
25632
|
-
disabled:
|
|
25633
|
-
className: "flex items-center justify-center text-muted-foreground hover:text-foreground p-1",
|
|
25637
|
+
disabled: d,
|
|
25638
|
+
className: "flex shrink-0 items-center justify-center text-muted-foreground hover:text-foreground p-1",
|
|
25634
25639
|
children: [
|
|
25635
25640
|
/* @__PURE__ */ C(
|
|
25636
25641
|
qF,
|
|
@@ -25657,18 +25662,18 @@ const Fj = "dd/MM/yyyy", Ku = (e) => Ei(e) ? tr(e, Fj) : "", Bj = (e) => {
|
|
|
25657
25662
|
{
|
|
25658
25663
|
className: "border-none",
|
|
25659
25664
|
mode: "single",
|
|
25660
|
-
value:
|
|
25661
|
-
onChange: (
|
|
25662
|
-
if (!Ei(
|
|
25663
|
-
|
|
25665
|
+
value: g,
|
|
25666
|
+
onChange: (k) => {
|
|
25667
|
+
if (!Ei(k)) {
|
|
25668
|
+
A(null);
|
|
25664
25669
|
return;
|
|
25665
25670
|
}
|
|
25666
|
-
|
|
25671
|
+
l?.(k) || (A(k), _(!1));
|
|
25667
25672
|
},
|
|
25668
|
-
disabled:
|
|
25673
|
+
disabled: l
|
|
25669
25674
|
}
|
|
25670
25675
|
),
|
|
25671
|
-
/* @__PURE__ */ C("div", { className: "p-2", "data-slot": "date-picker-footer", children:
|
|
25676
|
+
/* @__PURE__ */ C("div", { className: "p-2", "data-slot": "date-picker-footer", children: V() })
|
|
25672
25677
|
]
|
|
25673
25678
|
}
|
|
25674
25679
|
)
|
|
@@ -26620,77 +26625,77 @@ var ra = (e) => Ut(e) && !Rf(e) ? e : {
|
|
|
26620
26625
|
const { ref: s, refs: l, required: c, maxLength: d, minLength: f, min: p, max: h, pattern: g, validate: w, name: b, valueAsNumber: E, mount: y } = e._f, R = Re(r, b);
|
|
26621
26626
|
if (!y || t.has(b))
|
|
26622
26627
|
return {};
|
|
26623
|
-
const P = l ? l[0] : s, A = (
|
|
26624
|
-
o && P.reportValidity && (P.setCustomValidity(Or(
|
|
26625
|
-
}, S = {}, _ = Dg(s), $ = Ec(s), D = _ || $, U = (E || Ag(s)) && Nt(s.value) && Nt(R) || Cf(s) && s.value === "" || R === "" || Array.isArray(R) && !R.length, Q = $g.bind(null, b, n, S), O = (
|
|
26626
|
-
const L =
|
|
26628
|
+
const P = l ? l[0] : s, A = (W) => {
|
|
26629
|
+
o && P.reportValidity && (P.setCustomValidity(Or(W) ? "" : W || ""), P.reportValidity());
|
|
26630
|
+
}, S = {}, _ = Dg(s), $ = Ec(s), D = _ || $, U = (E || Ag(s)) && Nt(s.value) && Nt(R) || Cf(s) && s.value === "" || R === "" || Array.isArray(R) && !R.length, Q = $g.bind(null, b, n, S), O = (W, V, k, z = Zn.maxLength, I = Zn.minLength) => {
|
|
26631
|
+
const L = W ? V : k;
|
|
26627
26632
|
S[b] = {
|
|
26628
|
-
type:
|
|
26633
|
+
type: W ? z : I,
|
|
26629
26634
|
message: L,
|
|
26630
26635
|
ref: s,
|
|
26631
|
-
...Q(
|
|
26636
|
+
...Q(W ? z : I, L)
|
|
26632
26637
|
};
|
|
26633
26638
|
};
|
|
26634
26639
|
if (i ? !Array.isArray(R) || !R.length : c && (!D && (U || Pr(R)) || Or(R) && !R || $ && !x_(l).isValid || _ && !C_(l).isValid)) {
|
|
26635
|
-
const { value:
|
|
26636
|
-
if (
|
|
26640
|
+
const { value: W, message: V } = Ir(c) ? { value: !!c, message: c } : ra(c);
|
|
26641
|
+
if (W && (S[b] = {
|
|
26637
26642
|
type: Zn.required,
|
|
26638
|
-
message:
|
|
26643
|
+
message: V,
|
|
26639
26644
|
ref: P,
|
|
26640
|
-
...Q(Zn.required,
|
|
26645
|
+
...Q(Zn.required, V)
|
|
26641
26646
|
}, !n))
|
|
26642
|
-
return A(
|
|
26647
|
+
return A(V), S;
|
|
26643
26648
|
}
|
|
26644
26649
|
if (!U && (!Pr(p) || !Pr(h))) {
|
|
26645
|
-
let
|
|
26650
|
+
let W, V;
|
|
26646
26651
|
const k = ra(h), z = ra(p);
|
|
26647
26652
|
if (!Pr(R) && !isNaN(R)) {
|
|
26648
26653
|
const I = s.valueAsNumber || R && +R;
|
|
26649
|
-
Pr(k.value) || (
|
|
26654
|
+
Pr(k.value) || (W = I > k.value), Pr(z.value) || (V = I < z.value);
|
|
26650
26655
|
} else {
|
|
26651
26656
|
const I = s.valueAsDate || new Date(R), L = (K) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + K), F = s.type == "time", te = s.type == "week";
|
|
26652
|
-
Ir(k.value) && R && (
|
|
26657
|
+
Ir(k.value) && R && (W = F ? L(R) > L(k.value) : te ? R > k.value : I > new Date(k.value)), Ir(z.value) && R && (V = F ? L(R) < L(z.value) : te ? R < z.value : I < new Date(z.value));
|
|
26653
26658
|
}
|
|
26654
|
-
if ((
|
|
26659
|
+
if ((W || V) && (O(!!W, k.message, z.message, Zn.max, Zn.min), !n))
|
|
26655
26660
|
return A(S[b].message), S;
|
|
26656
26661
|
}
|
|
26657
26662
|
if ((d || f) && !U && (Ir(R) || i && Array.isArray(R))) {
|
|
26658
|
-
const
|
|
26659
|
-
if ((k || z) && (O(k,
|
|
26663
|
+
const W = ra(d), V = ra(f), k = !Pr(W.value) && R.length > +W.value, z = !Pr(V.value) && R.length < +V.value;
|
|
26664
|
+
if ((k || z) && (O(k, W.message, V.message), !n))
|
|
26660
26665
|
return A(S[b].message), S;
|
|
26661
26666
|
}
|
|
26662
26667
|
if (g && !U && Ir(R)) {
|
|
26663
|
-
const { value:
|
|
26664
|
-
if (Rf(
|
|
26668
|
+
const { value: W, message: V } = ra(g);
|
|
26669
|
+
if (Rf(W) && !R.match(W) && (S[b] = {
|
|
26665
26670
|
type: Zn.pattern,
|
|
26666
|
-
message:
|
|
26671
|
+
message: V,
|
|
26667
26672
|
ref: s,
|
|
26668
|
-
...Q(Zn.pattern,
|
|
26673
|
+
...Q(Zn.pattern, V)
|
|
26669
26674
|
}, !n))
|
|
26670
|
-
return A(
|
|
26675
|
+
return A(V), S;
|
|
26671
26676
|
}
|
|
26672
26677
|
if (w) {
|
|
26673
26678
|
if (dn(w)) {
|
|
26674
|
-
const
|
|
26675
|
-
if (
|
|
26676
|
-
...
|
|
26677
|
-
...Q(Zn.validate,
|
|
26679
|
+
const W = await w(R, r), V = b1(W, P);
|
|
26680
|
+
if (V && (S[b] = {
|
|
26681
|
+
...V,
|
|
26682
|
+
...Q(Zn.validate, V.message)
|
|
26678
26683
|
}, !n))
|
|
26679
|
-
return A(
|
|
26684
|
+
return A(V.message), S;
|
|
26680
26685
|
} else if (Ut(w)) {
|
|
26681
|
-
let
|
|
26682
|
-
for (const
|
|
26683
|
-
if (!hr(
|
|
26686
|
+
let W = {};
|
|
26687
|
+
for (const V in w) {
|
|
26688
|
+
if (!hr(W) && !n)
|
|
26684
26689
|
break;
|
|
26685
|
-
const k = b1(await w[
|
|
26686
|
-
k && (
|
|
26690
|
+
const k = b1(await w[V](R, r), P, V);
|
|
26691
|
+
k && (W = {
|
|
26687
26692
|
...k,
|
|
26688
|
-
...Q(
|
|
26689
|
-
}, A(k.message), n && (S[b] =
|
|
26693
|
+
...Q(V, k.message)
|
|
26694
|
+
}, A(k.message), n && (S[b] = W));
|
|
26690
26695
|
}
|
|
26691
|
-
if (!hr(
|
|
26696
|
+
if (!hr(W) && (S[b] = {
|
|
26692
26697
|
ref: P,
|
|
26693
|
-
...
|
|
26698
|
+
...W
|
|
26694
26699
|
}, !n))
|
|
26695
26700
|
return S;
|
|
26696
26701
|
}
|
|
@@ -26872,9 +26877,9 @@ function wz(e = {}) {
|
|
|
26872
26877
|
re && (re._f.refs ? re._f.refs.every((de) => !Ph(de)) : !Ph(re._f.ref)) && ee(H);
|
|
26873
26878
|
}
|
|
26874
26879
|
l.unMount = /* @__PURE__ */ new Set();
|
|
26875
|
-
}, O = (H, re) => !t.disabled && (H && re && dt(i, H, re), !cn(K(), o)),
|
|
26880
|
+
}, O = (H, re) => !t.disabled && (H && re && dt(i, H, re), !cn(K(), o)), W = (H, re, de) => dv(H, l, {
|
|
26876
26881
|
...s.mount ? i : Nt(re) ? o : Ir(H) ? { [H]: re } : re
|
|
26877
|
-
}, de, re),
|
|
26882
|
+
}, de, re), V = (H) => Pg(Re(s.mount ? i : o, H, t.shouldUnregister ? Re(o, H, []) : [])), k = (H, re, de = {}) => {
|
|
26878
26883
|
const Ce = Re(n, H);
|
|
26879
26884
|
let xe = re;
|
|
26880
26885
|
if (Ce) {
|
|
@@ -26980,8 +26985,8 @@ function wz(e = {}) {
|
|
|
26980
26985
|
isValid: !1
|
|
26981
26986
|
}), de && de.shouldFocus && Ce && Ce.focus && Ce.focus();
|
|
26982
26987
|
}, ce = (H, re) => dn(H) ? h.state.subscribe({
|
|
26983
|
-
next: (de) => "values" in de && H(
|
|
26984
|
-
}) :
|
|
26988
|
+
next: (de) => "values" in de && H(W(void 0, re), de)
|
|
26989
|
+
}) : W(H, re, !0), ue = (H) => h.state.subscribe({
|
|
26985
26990
|
next: (re) => {
|
|
26986
26991
|
hz(H.name, re.name, H.exact) && mz(re, H.formState || f, Et, H.reRenderRoot) && H.callback({
|
|
26987
26992
|
values: { ...i },
|
|
@@ -27176,13 +27181,13 @@ function wz(e = {}) {
|
|
|
27176
27181
|
_subscribe: ue,
|
|
27177
27182
|
_runSchema: $,
|
|
27178
27183
|
_focusError: ae,
|
|
27179
|
-
_getWatch:
|
|
27184
|
+
_getWatch: W,
|
|
27180
27185
|
_getDirty: O,
|
|
27181
27186
|
_setValid: b,
|
|
27182
27187
|
_setFieldArray: y,
|
|
27183
27188
|
_setDisabledField: ve,
|
|
27184
27189
|
_setErrors: P,
|
|
27185
|
-
_getFieldArray:
|
|
27190
|
+
_getFieldArray: V,
|
|
27186
27191
|
_reset: Oe,
|
|
27187
27192
|
_resetDefaultValues: () => dn(t.defaultValues) && t.defaultValues().then((H) => {
|
|
27188
27193
|
Ze(H, t.resetOptions), h.state.next({
|
|
@@ -28709,7 +28714,7 @@ const $G = (e) => ({
|
|
|
28709
28714
|
}, g = kg(o), w = Ig(g), b = await s.getDimensions(d), E = g === "y", y = E ? "top" : "left", R = E ? "bottom" : "right", P = E ? "clientHeight" : "clientWidth", A = i.reference[w] + i.reference[g] - h[g] - i.floating[w], S = h[g] - i.reference[g], _ = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
|
|
28710
28715
|
let $ = _ ? _[P] : 0;
|
|
28711
28716
|
(!$ || !await (s.isElement == null ? void 0 : s.isElement(_))) && ($ = l.floating[P] || i.floating[w]);
|
|
28712
|
-
const D = A / 2 - S / 2, U = $ / 2 - b[w] / 2 - 1, Q = No(p[y], U), O = No(p[R], U),
|
|
28717
|
+
const D = A / 2 - S / 2, U = $ / 2 - b[w] / 2 - 1, Q = No(p[y], U), O = No(p[R], U), W = Q, V = $ - b[w] - O, k = $ / 2 - b[w] / 2 + D, z = vv(W, k, V), I = !c.arrow && Ma(o) != null && k !== z && i.reference[w] / 2 - (k < W ? Q : O) - b[w] / 2 < 0, L = I ? k < W ? k - W : k - V : 0;
|
|
28713
28718
|
return {
|
|
28714
28719
|
[g]: h[g] + L,
|
|
28715
28720
|
data: {
|
|
@@ -28758,7 +28763,7 @@ const $G = (e) => ({
|
|
|
28758
28763
|
placement: o,
|
|
28759
28764
|
overflows: U
|
|
28760
28765
|
}], !U.every((k) => k <= 0)) {
|
|
28761
|
-
var O,
|
|
28766
|
+
var O, W;
|
|
28762
28767
|
const k = (((O = i.flip) == null ? void 0 : O.index) || 0) + 1, z = $[k];
|
|
28763
28768
|
if (z)
|
|
28764
28769
|
return {
|
|
@@ -28770,12 +28775,12 @@ const $G = (e) => ({
|
|
|
28770
28775
|
placement: z
|
|
28771
28776
|
}
|
|
28772
28777
|
};
|
|
28773
|
-
let I = (
|
|
28778
|
+
let I = (W = Q.filter((L) => L.overflows[0] <= 0).sort((L, F) => L.overflows[1] - F.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
28774
28779
|
if (!I)
|
|
28775
28780
|
switch (g) {
|
|
28776
28781
|
case "bestFit": {
|
|
28777
|
-
var
|
|
28778
|
-
const L = (
|
|
28782
|
+
var V;
|
|
28783
|
+
const L = (V = Q.filter((F) => {
|
|
28779
28784
|
if (_) {
|
|
28780
28785
|
const te = Io(F.placement);
|
|
28781
28786
|
return te === R || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -28783,7 +28788,7 @@ const $G = (e) => ({
|
|
|
28783
28788
|
te === "y";
|
|
28784
28789
|
}
|
|
28785
28790
|
return !0;
|
|
28786
|
-
}).map((F) => [F.placement, F.overflows.filter((te) => te > 0).reduce((te, K) => te + K, 0)]).sort((F, te) => F[1] - te[1])[0]) == null ? void 0 :
|
|
28791
|
+
}).map((F) => [F.placement, F.overflows.filter((te) => te > 0).reduce((te, K) => te + K, 0)]).sort((F, te) => F[1] - te[1])[0]) == null ? void 0 : V[0];
|
|
28787
28792
|
L && (I = L);
|
|
28788
28793
|
break;
|
|
28789
28794
|
}
|
|
@@ -29026,8 +29031,8 @@ const OG = function(e) {
|
|
|
29026
29031
|
const R = b - f.top - f.bottom, P = w - f.left - f.right, A = No(b - f[E], R), S = No(w - f[y], P), _ = !t.middlewareData.shift;
|
|
29027
29032
|
let $ = A, D = S;
|
|
29028
29033
|
if ((r = t.middlewareData.shift) != null && r.enabled.x && (D = P), (n = t.middlewareData.shift) != null && n.enabled.y && ($ = R), _ && !h) {
|
|
29029
|
-
const Q = Nr(f.left, 0), O = Nr(f.right, 0),
|
|
29030
|
-
g ? D = w - 2 * (Q !== 0 || O !== 0 ? Q + O : Nr(f.left, f.right)) : $ = b - 2 * (
|
|
29034
|
+
const Q = Nr(f.left, 0), O = Nr(f.right, 0), W = Nr(f.top, 0), V = Nr(f.bottom, 0);
|
|
29035
|
+
g ? D = w - 2 * (Q !== 0 || O !== 0 ? Q + O : Nr(f.left, f.right)) : $ = b - 2 * (W !== 0 || V !== 0 ? W + V : Nr(f.top, f.bottom));
|
|
29031
29036
|
}
|
|
29032
29037
|
await c({
|
|
29033
29038
|
...t,
|
|
@@ -29602,7 +29607,7 @@ function lY(e) {
|
|
|
29602
29607
|
F !== _.current && (_.current = F, b(F));
|
|
29603
29608
|
}, []), P = v.useCallback((F) => {
|
|
29604
29609
|
F !== $.current && ($.current = F, y(F));
|
|
29605
|
-
}, []), A = i || w, S = s || E, _ = v.useRef(null), $ = v.useRef(null), D = v.useRef(f), U = c != null, Q = _h(c), O = _h(o),
|
|
29610
|
+
}, []), A = i || w, S = s || E, _ = v.useRef(null), $ = v.useRef(null), D = v.useRef(f), U = c != null, Q = _h(c), O = _h(o), W = _h(d), V = v.useCallback(() => {
|
|
29606
29611
|
if (!_.current || !$.current)
|
|
29607
29612
|
return;
|
|
29608
29613
|
const F = {
|
|
@@ -29617,13 +29622,13 @@ function lY(e) {
|
|
|
29617
29622
|
// but still mounted (such as when transitioning out). To ensure
|
|
29618
29623
|
// `isPositioned` will be `false` initially on the next open, avoid
|
|
29619
29624
|
// setting it to `true` when `open === false` (must be specified).
|
|
29620
|
-
isPositioned:
|
|
29625
|
+
isPositioned: W.current !== !1
|
|
29621
29626
|
};
|
|
29622
29627
|
k.current && !Tf(D.current, K) && (D.current = K, Ra.flushSync(() => {
|
|
29623
29628
|
p(K);
|
|
29624
29629
|
}));
|
|
29625
29630
|
});
|
|
29626
|
-
}, [h, t, r, O,
|
|
29631
|
+
}, [h, t, r, O, W]);
|
|
29627
29632
|
rf(() => {
|
|
29628
29633
|
d === !1 && D.current.isPositioned && (D.current.isPositioned = !1, p((F) => ({
|
|
29629
29634
|
...F,
|
|
@@ -29636,10 +29641,10 @@ function lY(e) {
|
|
|
29636
29641
|
}), []), rf(() => {
|
|
29637
29642
|
if (A && (_.current = A), S && ($.current = S), A && S) {
|
|
29638
29643
|
if (Q.current)
|
|
29639
|
-
return Q.current(A, S,
|
|
29640
|
-
|
|
29644
|
+
return Q.current(A, S, V);
|
|
29645
|
+
V();
|
|
29641
29646
|
}
|
|
29642
|
-
}, [A, S,
|
|
29647
|
+
}, [A, S, V, Q, U]);
|
|
29643
29648
|
const z = v.useMemo(() => ({
|
|
29644
29649
|
reference: _,
|
|
29645
29650
|
floating: $,
|
|
@@ -29671,11 +29676,11 @@ function lY(e) {
|
|
|
29671
29676
|
}, [r, l, I.floating, f.x, f.y]);
|
|
29672
29677
|
return v.useMemo(() => ({
|
|
29673
29678
|
...f,
|
|
29674
|
-
update:
|
|
29679
|
+
update: V,
|
|
29675
29680
|
refs: z,
|
|
29676
29681
|
elements: I,
|
|
29677
29682
|
floatingStyles: L
|
|
29678
|
-
}), [f,
|
|
29683
|
+
}), [f, V, z, I, L]);
|
|
29679
29684
|
}
|
|
29680
29685
|
const uY = (e) => {
|
|
29681
29686
|
function t(r) {
|
|
@@ -29926,11 +29931,11 @@ var Vg = "PopperContent", [kY, LY] = j_(Vg), Z_ = v.forwardRef(
|
|
|
29926
29931
|
updatePositionStrategy: g = "optimized",
|
|
29927
29932
|
onPlaced: w,
|
|
29928
29933
|
...b
|
|
29929
|
-
} = e, E = z_(Vg, r), [y, R] = v.useState(null), P = ze(t, (ee) => R(ee)), [A, S] = v.useState(null), _ = NY(A), $ = _?.width ?? 0, D = _?.height ?? 0, U = n + (i !== "center" ? "-" + i : ""), Q = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, O = Array.isArray(d) ? d : [d],
|
|
29934
|
+
} = e, E = z_(Vg, r), [y, R] = v.useState(null), P = ze(t, (ee) => R(ee)), [A, S] = v.useState(null), _ = NY(A), $ = _?.width ?? 0, D = _?.height ?? 0, U = n + (i !== "center" ? "-" + i : ""), Q = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, O = Array.isArray(d) ? d : [d], W = O.length > 0, V = {
|
|
29930
29935
|
padding: Q,
|
|
29931
29936
|
boundary: O.filter(FY),
|
|
29932
29937
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
29933
|
-
altBoundary:
|
|
29938
|
+
altBoundary: W
|
|
29934
29939
|
}, { refs: k, floatingStyles: z, placement: I, isPositioned: L, middlewareData: F } = lY({
|
|
29935
29940
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
29936
29941
|
strategy: "fixed",
|
|
@@ -29947,11 +29952,11 @@ var Vg = "PopperContent", [kY, LY] = j_(Vg), Z_ = v.forwardRef(
|
|
|
29947
29952
|
mainAxis: !0,
|
|
29948
29953
|
crossAxis: !1,
|
|
29949
29954
|
limiter: p === "partial" ? fY() : void 0,
|
|
29950
|
-
...
|
|
29955
|
+
...V
|
|
29951
29956
|
}),
|
|
29952
|
-
c && pY({ ...
|
|
29957
|
+
c && pY({ ...V }),
|
|
29953
29958
|
mY({
|
|
29954
|
-
...
|
|
29959
|
+
...V,
|
|
29955
29960
|
apply: ({ elements: ee, rects: ve, availableWidth: q, availableHeight: ae }) => {
|
|
29956
29961
|
const { width: oe, height: X } = ve.reference, Ee = ee.floating.style;
|
|
29957
29962
|
Ee.setProperty("--radix-popper-available-width", `${q}px`), Ee.setProperty("--radix-popper-available-height", `${ae}px`), Ee.setProperty("--radix-popper-anchor-width", `${oe}px`), Ee.setProperty("--radix-popper-anchor-height", `${X}px`);
|
|
@@ -29959,7 +29964,7 @@ var Vg = "PopperContent", [kY, LY] = j_(Vg), Z_ = v.forwardRef(
|
|
|
29959
29964
|
}),
|
|
29960
29965
|
A && vY({ element: A, padding: l }),
|
|
29961
29966
|
BY({ arrowWidth: $, arrowHeight: D }),
|
|
29962
|
-
h && hY({ strategy: "referenceHidden", ...
|
|
29967
|
+
h && hY({ strategy: "referenceHidden", ...V })
|
|
29963
29968
|
]
|
|
29964
29969
|
}), [te, K] = eT(I), ie = or(w);
|
|
29965
29970
|
Zt(() => {
|
|
@@ -30295,7 +30300,7 @@ var aX = v.forwardRef((e, t) => {
|
|
|
30295
30300
|
if (D.target === D.currentTarget && U && !y) {
|
|
30296
30301
|
const Q = new CustomEvent(Th, tX);
|
|
30297
30302
|
if (D.currentTarget.dispatchEvent(Q), !Q.defaultPrevented) {
|
|
30298
|
-
const O = A().filter((I) => I.focusable),
|
|
30303
|
+
const O = A().filter((I) => I.focusable), W = O.find((I) => I.active), V = O.find((I) => I.id === b), z = [W, V, ...O].filter(
|
|
30299
30304
|
Boolean
|
|
30300
30305
|
).map((I) => I.ref.current);
|
|
30301
30306
|
lT(z, f);
|
|
@@ -30507,14 +30512,14 @@ var Qr = "MenuContent", [EX, Ug] = Mi(Qr), vT = v.forwardRef(
|
|
|
30507
30512
|
onDismiss: g,
|
|
30508
30513
|
disableOutsideScroll: w,
|
|
30509
30514
|
...b
|
|
30510
|
-
} = e, E = Bo(Qr, r), y = Dc(Qr, r), R = Ac(r), P = dT(r), A = gX(r), [S, _] = v.useState(null), $ = v.useRef(null), D = ze(t, $, E.onContentChange), U = v.useRef(0), Q = v.useRef(""), O = v.useRef(0),
|
|
30515
|
+
} = e, E = Bo(Qr, r), y = Dc(Qr, r), R = Ac(r), P = dT(r), A = gX(r), [S, _] = v.useState(null), $ = v.useRef(null), D = ze(t, $, E.onContentChange), U = v.useRef(0), Q = v.useRef(""), O = v.useRef(0), W = v.useRef(null), V = v.useRef("right"), k = v.useRef(0), z = w ? $a : v.Fragment, I = w ? { as: PX, allowPinchZoom: !0 } : void 0, L = (te) => {
|
|
30511
30516
|
const K = Q.current + te, ie = A().filter((ee) => !ee.disabled), G = document.activeElement, Y = ie.find((ee) => ee.ref.current === G)?.textValue, ce = ie.map((ee) => ee.textValue), ue = LX(ce, K, Y), pe = ie.find((ee) => ee.textValue === ue)?.ref.current;
|
|
30512
30517
|
(function ee(ve) {
|
|
30513
30518
|
Q.current = ve, window.clearTimeout(U.current), ve !== "" && (U.current = window.setTimeout(() => ee(""), 1e3));
|
|
30514
30519
|
})(K), pe && setTimeout(() => pe.focus());
|
|
30515
30520
|
};
|
|
30516
30521
|
v.useEffect(() => () => window.clearTimeout(U.current), []), Kf();
|
|
30517
|
-
const F = v.useCallback((te) =>
|
|
30522
|
+
const F = v.useCallback((te) => V.current === W.current?.side && FX(te, W.current?.area), []);
|
|
30518
30523
|
return /* @__PURE__ */ C(
|
|
30519
30524
|
EX,
|
|
30520
30525
|
{
|
|
@@ -30540,7 +30545,7 @@ var Qr = "MenuContent", [EX, Ug] = Mi(Qr), vT = v.forwardRef(
|
|
|
30540
30545
|
),
|
|
30541
30546
|
pointerGraceTimerRef: O,
|
|
30542
30547
|
onPointerGraceIntentChange: v.useCallback((te) => {
|
|
30543
|
-
|
|
30548
|
+
W.current = te;
|
|
30544
30549
|
}, []),
|
|
30545
30550
|
children: /* @__PURE__ */ C(z, { ...I, children: /* @__PURE__ */ C(
|
|
30546
30551
|
mc,
|
|
@@ -30605,7 +30610,7 @@ var Qr = "MenuContent", [EX, Ug] = Mi(Qr), vT = v.forwardRef(
|
|
|
30605
30610
|
const K = te.target, ie = k.current !== te.clientX;
|
|
30606
30611
|
if (te.currentTarget.contains(K) && ie) {
|
|
30607
30612
|
const G = te.clientX > k.current ? "right" : "left";
|
|
30608
|
-
|
|
30613
|
+
V.current = G, k.current = te.clientX;
|
|
30609
30614
|
}
|
|
30610
30615
|
})
|
|
30611
30616
|
)
|
|
@@ -31899,7 +31904,7 @@ const fp = (e) => /* @__PURE__ */ C(aQ, { "data-slot": "popover", ...e }), pp =
|
|
|
31899
31904
|
"data-slot": "multi-select-tags",
|
|
31900
31905
|
children: [
|
|
31901
31906
|
E.slice(0, c).map((O) => {
|
|
31902
|
-
const
|
|
31907
|
+
const W = e.find((k) => k[r] === O), V = W?.icon;
|
|
31903
31908
|
return /* @__PURE__ */ be(
|
|
31904
31909
|
N1,
|
|
31905
31910
|
{
|
|
@@ -31908,8 +31913,8 @@ const fp = (e) => /* @__PURE__ */ C(aQ, { "data-slot": "popover", ...e }), pp =
|
|
|
31908
31913
|
closable: !0,
|
|
31909
31914
|
onClose: () => _(O),
|
|
31910
31915
|
children: [
|
|
31911
|
-
|
|
31912
|
-
|
|
31916
|
+
V && /* @__PURE__ */ C(V, { className: "h-4 w-4 mr-2" }),
|
|
31917
|
+
W && f?.(W)
|
|
31913
31918
|
]
|
|
31914
31919
|
},
|
|
31915
31920
|
O
|
|
@@ -32028,7 +32033,7 @@ const fp = (e) => /* @__PURE__ */ C(aQ, { "data-slot": "popover", ...e }), pp =
|
|
|
32028
32033
|
"all"
|
|
32029
32034
|
),
|
|
32030
32035
|
e.map((O) => {
|
|
32031
|
-
const
|
|
32036
|
+
const W = E.includes(O[r]);
|
|
32032
32037
|
return /* @__PURE__ */ be(
|
|
32033
32038
|
mf,
|
|
32034
32039
|
{
|
|
@@ -32036,7 +32041,7 @@ const fp = (e) => /* @__PURE__ */ C(aQ, { "data-slot": "popover", ...e }), pp =
|
|
|
32036
32041
|
onSelect: () => !O.disabled && _(O[r]),
|
|
32037
32042
|
className: le(
|
|
32038
32043
|
O.disabled ? "!bg-neutral-50 !text-neutral-400" : "cursor-pointer",
|
|
32039
|
-
!p &&
|
|
32044
|
+
!p && W && "!bg-accent !text-accent-foreground"
|
|
32040
32045
|
),
|
|
32041
32046
|
children: [
|
|
32042
32047
|
p && /* @__PURE__ */ C(
|
|
@@ -32044,7 +32049,7 @@ const fp = (e) => /* @__PURE__ */ C(aQ, { "data-slot": "popover", ...e }), pp =
|
|
|
32044
32049
|
{
|
|
32045
32050
|
className: le(
|
|
32046
32051
|
"mr-2 flex h-4 w-4 items-center justify-center rounded-sm border border-primary",
|
|
32047
|
-
|
|
32052
|
+
W ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
|
|
32048
32053
|
),
|
|
32049
32054
|
children: /* @__PURE__ */ C(lf, { className: "h-4 w-4" })
|
|
32050
32055
|
}
|
|
@@ -32517,7 +32522,7 @@ var _Q = m$, TQ = [" ", "Enter", "ArrowUp", "ArrowDown"], $Q = [" ", "Enter"], R
|
|
|
32517
32522
|
defaultProp: l,
|
|
32518
32523
|
onChange: c,
|
|
32519
32524
|
caller: Ri
|
|
32520
|
-
}), O = v.useRef(null),
|
|
32525
|
+
}), O = v.useRef(null), W = E ? w || !!E.closest("form") : !0, [V, k] = v.useState(/* @__PURE__ */ new Set()), z = Array.from(V).map((I) => I.props.value).join(";");
|
|
32521
32526
|
return /* @__PURE__ */ C(Pc, { ...b, children: /* @__PURE__ */ be(
|
|
32522
32527
|
DQ,
|
|
32523
32528
|
{
|
|
@@ -32554,7 +32559,7 @@ var _Q = m$, TQ = [" ", "Enter", "ArrowUp", "ArrowDown"], $Q = [" ", "Enter"], R
|
|
|
32554
32559
|
children: r
|
|
32555
32560
|
}
|
|
32556
32561
|
) }),
|
|
32557
|
-
|
|
32562
|
+
W ? /* @__PURE__ */ be(
|
|
32558
32563
|
F$,
|
|
32559
32564
|
{
|
|
32560
32565
|
"aria-hidden": !0,
|
|
@@ -32568,7 +32573,7 @@ var _Q = m$, TQ = [" ", "Enter", "ArrowUp", "ArrowDown"], $Q = [" ", "Enter"], R
|
|
|
32568
32573
|
form: w,
|
|
32569
32574
|
children: [
|
|
32570
32575
|
U === void 0 ? /* @__PURE__ */ C("option", { value: "" }) : null,
|
|
32571
|
-
Array.from(
|
|
32576
|
+
Array.from(V)
|
|
32572
32577
|
]
|
|
32573
32578
|
},
|
|
32574
32579
|
z
|
|
@@ -32688,24 +32693,24 @@ var an = 10, [C$, Wo] = Na(Pi), kQ = "SelectContentImpl", LQ = /* @__PURE__ */ f
|
|
|
32688
32693
|
...y
|
|
32689
32694
|
} = e, R = Vo(Pi, r), [P, A] = v.useState(null), [S, _] = v.useState(null), $ = ze(t, (ee) => A(ee)), [D, U] = v.useState(null), [Q, O] = v.useState(
|
|
32690
32695
|
null
|
|
32691
|
-
),
|
|
32696
|
+
), W = vp(r), [V, k] = v.useState(!1), z = v.useRef(!1);
|
|
32692
32697
|
v.useEffect(() => {
|
|
32693
32698
|
if (P) return vc(P);
|
|
32694
32699
|
}, [P]), Kf();
|
|
32695
32700
|
const I = v.useCallback(
|
|
32696
32701
|
(ee) => {
|
|
32697
|
-
const [ve, ...q] =
|
|
32702
|
+
const [ve, ...q] = W().map((X) => X.ref.current), [ae] = q.slice(-1), oe = document.activeElement;
|
|
32698
32703
|
for (const X of ee)
|
|
32699
32704
|
if (X === oe || (X?.scrollIntoView({ block: "nearest" }), X === ve && S && (S.scrollTop = 0), X === ae && S && (S.scrollTop = S.scrollHeight), X?.focus(), document.activeElement !== oe)) return;
|
|
32700
32705
|
},
|
|
32701
|
-
[
|
|
32706
|
+
[W, S]
|
|
32702
32707
|
), L = v.useCallback(
|
|
32703
32708
|
() => I([D, P]),
|
|
32704
32709
|
[I, D, P]
|
|
32705
32710
|
);
|
|
32706
32711
|
v.useEffect(() => {
|
|
32707
|
-
|
|
32708
|
-
}, [
|
|
32712
|
+
V && L();
|
|
32713
|
+
}, [V, L]);
|
|
32709
32714
|
const { onOpenChange: F, triggerPointerDownPosRef: te } = R;
|
|
32710
32715
|
v.useEffect(() => {
|
|
32711
32716
|
if (P) {
|
|
@@ -32729,7 +32734,7 @@ var an = 10, [C$, Wo] = Na(Pi), kQ = "SelectContentImpl", LQ = /* @__PURE__ */ f
|
|
|
32729
32734
|
};
|
|
32730
32735
|
}, [F]);
|
|
32731
32736
|
const [K, ie] = K$((ee) => {
|
|
32732
|
-
const ve =
|
|
32737
|
+
const ve = W().filter((oe) => !oe.disabled), q = ve.find((oe) => oe.ref.current === document.activeElement), ae = V$(ve, ee, q);
|
|
32733
32738
|
ae && setTimeout(() => ae.ref.current.focus());
|
|
32734
32739
|
}), G = v.useCallback(
|
|
32735
32740
|
(ee, ve, q) => {
|
|
@@ -32769,7 +32774,7 @@ var an = 10, [C$, Wo] = Na(Pi), kQ = "SelectContentImpl", LQ = /* @__PURE__ */ f
|
|
|
32769
32774
|
focusSelectedItem: L,
|
|
32770
32775
|
selectedItemText: Q,
|
|
32771
32776
|
position: n,
|
|
32772
|
-
isPositioned:
|
|
32777
|
+
isPositioned: V,
|
|
32773
32778
|
searchRef: K,
|
|
32774
32779
|
children: /* @__PURE__ */ C($a, { as: LQ, allowPinchZoom: !0, children: /* @__PURE__ */ C(
|
|
32775
32780
|
mc,
|
|
@@ -32814,7 +32819,7 @@ var an = 10, [C$, Wo] = Na(Pi), kQ = "SelectContentImpl", LQ = /* @__PURE__ */ f
|
|
|
32814
32819
|
onKeyDown: Te(y.onKeyDown, (ee) => {
|
|
32815
32820
|
const ve = ee.ctrlKey || ee.altKey || ee.metaKey;
|
|
32816
32821
|
if (ee.key === "Tab" && ee.preventDefault(), !ve && ee.key.length === 1 && ie(ee.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(ee.key)) {
|
|
32817
|
-
let ae =
|
|
32822
|
+
let ae = W().filter((oe) => !oe.disabled).map((oe) => oe.ref.current);
|
|
32818
32823
|
if (["ArrowUp", "End"].includes(ee.key) && (ae = ae.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(ee.key)) {
|
|
32819
32824
|
const oe = ee.target, X = ae.indexOf(oe);
|
|
32820
32825
|
ae = ae.slice(X + 1);
|
|
@@ -32855,7 +32860,7 @@ var qQ = "SelectItemAlignedPosition", P$ = v.forwardRef((e, t) => {
|
|
|
32855
32860
|
]);
|
|
32856
32861
|
l.style.minWidth = Oe + "px", l.style.right = Et + "px";
|
|
32857
32862
|
}
|
|
32858
|
-
const O = h(),
|
|
32863
|
+
const O = h(), W = window.innerHeight - an * 2, V = b.scrollHeight, k = window.getComputedStyle(d), z = parseInt(k.borderTopWidth, 10), I = parseInt(k.paddingTop, 10), L = parseInt(k.borderBottomWidth, 10), F = parseInt(k.paddingBottom, 10), te = z + I + V + F + L, K = Math.min(E.offsetHeight * 5, te), ie = window.getComputedStyle(b), G = parseInt(ie.paddingTop, 10), Y = parseInt(ie.paddingBottom, 10), ce = $.top + $.height / 2 - an, ue = W - ce, pe = E.offsetHeight / 2, ee = E.offsetTop + pe, ve = z + I + ee, q = te - ve;
|
|
32859
32864
|
if (ve <= ce) {
|
|
32860
32865
|
const oe = O.length > 0 && E === O[O.length - 1].ref.current;
|
|
32861
32866
|
l.style.bottom = "0px";
|
|
@@ -32875,7 +32880,7 @@ var qQ = "SelectItemAlignedPosition", P$ = v.forwardRef((e, t) => {
|
|
|
32875
32880
|
) + q;
|
|
32876
32881
|
l.style.height = Ee + "px", b.scrollTop = ve - ce + b.offsetTop;
|
|
32877
32882
|
}
|
|
32878
|
-
l.style.margin = `${an}px 0`, l.style.minHeight = K + "px", l.style.maxHeight =
|
|
32883
|
+
l.style.margin = `${an}px 0`, l.style.minHeight = K + "px", l.style.maxHeight = W + "px", n?.(), requestAnimationFrame(() => g.current = !0);
|
|
32879
32884
|
}
|
|
32880
32885
|
}, [
|
|
32881
32886
|
h,
|
|
@@ -35386,7 +35391,7 @@ function zd(e, t, r, n) {
|
|
|
35386
35391
|
]);
|
|
35387
35392
|
}
|
|
35388
35393
|
function sA(e, t) {
|
|
35389
|
-
let r = U1(e, t, "left"), n = U1(e, t, "top"), o = t.offsetWidth, i = t.offsetHeight, s = e.scrollLeft, l = e.scrollTop, { borderTopWidth: c, borderLeftWidth: d, scrollPaddingTop: f, scrollPaddingRight: p, scrollPaddingBottom: h, scrollPaddingLeft: g } = getComputedStyle(e), { scrollMarginTop: w, scrollMarginRight: b, scrollMarginBottom: E, scrollMarginLeft: y } = getComputedStyle(t), R = s + parseInt(d, 10), P = l + parseInt(c, 10), A = R + e.clientWidth, S = P + e.clientHeight, _ = parseInt(f, 10) || 0, $ = parseInt(h, 10) || 0, D = parseInt(p, 10) || 0, U = parseInt(g, 10) || 0, Q = parseInt(w, 10) || 0, O = parseInt(E, 10) || 0,
|
|
35394
|
+
let r = U1(e, t, "left"), n = U1(e, t, "top"), o = t.offsetWidth, i = t.offsetHeight, s = e.scrollLeft, l = e.scrollTop, { borderTopWidth: c, borderLeftWidth: d, scrollPaddingTop: f, scrollPaddingRight: p, scrollPaddingBottom: h, scrollPaddingLeft: g } = getComputedStyle(e), { scrollMarginTop: w, scrollMarginRight: b, scrollMarginBottom: E, scrollMarginLeft: y } = getComputedStyle(t), R = s + parseInt(d, 10), P = l + parseInt(c, 10), A = R + e.clientWidth, S = P + e.clientHeight, _ = parseInt(f, 10) || 0, $ = parseInt(h, 10) || 0, D = parseInt(p, 10) || 0, U = parseInt(g, 10) || 0, Q = parseInt(w, 10) || 0, O = parseInt(E, 10) || 0, W = parseInt(b, 10) || 0, V = parseInt(y, 10) || 0, k = r - V, z = r + o + W, I = n - Q, L = n + i + O, F = s + parseInt(d, 10) + U, te = A - D, K = l + parseInt(c, 10) + _, ie = S - $;
|
|
35390
35395
|
if ((k > F || z < te) && (k <= s + U ? s = k - parseInt(d, 10) - U : z > A - D && (s += z - A + D)), (I > K || L < ie) && (I <= P + _ ? l = I - parseInt(c, 10) - _ : L > S - $ && (l += L - S + $)), process.env.NODE_ENV === "test") {
|
|
35391
35396
|
e.scrollLeft = s, e.scrollTop = l;
|
|
35392
35397
|
return;
|
|
@@ -36022,56 +36027,56 @@ function db(e) {
|
|
|
36022
36027
|
isOverTarget: !1,
|
|
36023
36028
|
pointerType: null,
|
|
36024
36029
|
disposables: []
|
|
36025
|
-
}), { addGlobalListener: y, removeAllGlobalListeners: R } = Rp(), P = vr((O,
|
|
36026
|
-
let
|
|
36027
|
-
if (l ||
|
|
36030
|
+
}), { addGlobalListener: y, removeAllGlobalListeners: R } = Rp(), P = vr((O, W) => {
|
|
36031
|
+
let V = E.current;
|
|
36032
|
+
if (l || V.didFirePressStart) return !1;
|
|
36028
36033
|
let k = !0;
|
|
36029
|
-
if (
|
|
36030
|
-
let z = new Yd("pressstart",
|
|
36034
|
+
if (V.isTriggeringEvent = !0, n) {
|
|
36035
|
+
let z = new Yd("pressstart", W, O);
|
|
36031
36036
|
n(z), k = z.shouldStopPropagation;
|
|
36032
36037
|
}
|
|
36033
|
-
return r && r(!0),
|
|
36034
|
-
}), A = vr((O,
|
|
36038
|
+
return r && r(!0), V.isTriggeringEvent = !1, V.didFirePressStart = !0, b(!0), k;
|
|
36039
|
+
}), A = vr((O, W, V = !0) => {
|
|
36035
36040
|
let k = E.current;
|
|
36036
36041
|
if (!k.didFirePressStart) return !1;
|
|
36037
36042
|
k.didFirePressStart = !1, k.isTriggeringEvent = !0;
|
|
36038
36043
|
let z = !0;
|
|
36039
36044
|
if (o) {
|
|
36040
|
-
let I = new Yd("pressend",
|
|
36045
|
+
let I = new Yd("pressend", W, O);
|
|
36041
36046
|
o(I), z = I.shouldStopPropagation;
|
|
36042
36047
|
}
|
|
36043
|
-
if (r && r(!1), b(!1), t &&
|
|
36044
|
-
let I = new Yd("press",
|
|
36048
|
+
if (r && r(!1), b(!1), t && V && !l) {
|
|
36049
|
+
let I = new Yd("press", W, O);
|
|
36045
36050
|
t(I), z && (z = I.shouldStopPropagation);
|
|
36046
36051
|
}
|
|
36047
36052
|
return k.isTriggeringEvent = !1, z;
|
|
36048
|
-
}), S = vr((O,
|
|
36049
|
-
let
|
|
36053
|
+
}), S = vr((O, W) => {
|
|
36054
|
+
let V = E.current;
|
|
36050
36055
|
if (l) return !1;
|
|
36051
36056
|
if (i) {
|
|
36052
|
-
|
|
36053
|
-
let k = new Yd("pressup",
|
|
36054
|
-
return i(k),
|
|
36057
|
+
V.isTriggeringEvent = !0;
|
|
36058
|
+
let k = new Yd("pressup", W, O);
|
|
36059
|
+
return i(k), V.isTriggeringEvent = !1, k.shouldStopPropagation;
|
|
36055
36060
|
}
|
|
36056
36061
|
return !0;
|
|
36057
36062
|
}), _ = vr((O) => {
|
|
36058
|
-
let
|
|
36059
|
-
if (
|
|
36060
|
-
|
|
36061
|
-
for (let
|
|
36062
|
-
|
|
36063
|
+
let W = E.current;
|
|
36064
|
+
if (W.isPressed && W.target) {
|
|
36065
|
+
W.didFirePressStart && W.pointerType != null && A(oi(W.target, O), W.pointerType, !1), W.isPressed = !1, W.isOverTarget = !1, W.activePointerId = null, W.pointerType = null, R(), p || Ih(W.target);
|
|
36066
|
+
for (let V of W.disposables) V();
|
|
36067
|
+
W.disposables = [];
|
|
36063
36068
|
}
|
|
36064
36069
|
}), $ = vr((O) => {
|
|
36065
36070
|
f && _(O);
|
|
36066
36071
|
}), D = vr((O) => {
|
|
36067
36072
|
l || s?.(O);
|
|
36068
|
-
}), U = vr((O,
|
|
36073
|
+
}), U = vr((O, W) => {
|
|
36069
36074
|
if (!l && s) {
|
|
36070
|
-
let
|
|
36071
|
-
gA(
|
|
36075
|
+
let V = new MouseEvent("click", O);
|
|
36076
|
+
gA(V, W), s(cb(V));
|
|
36072
36077
|
}
|
|
36073
36078
|
}), Q = et(() => {
|
|
36074
|
-
let O = E.current,
|
|
36079
|
+
let O = E.current, W = {
|
|
36075
36080
|
onKeyDown(k) {
|
|
36076
36081
|
if (kh(k.nativeEvent, k.currentTarget) && _t(k.currentTarget, nt(k.nativeEvent))) {
|
|
36077
36082
|
var z;
|
|
@@ -36082,7 +36087,7 @@ function db(e) {
|
|
|
36082
36087
|
let L = k.currentTarget, F = (te) => {
|
|
36083
36088
|
kh(te, L) && !te.repeat && _t(L, nt(te)) && O.target && S(oi(O.target, te), "keyboard");
|
|
36084
36089
|
};
|
|
36085
|
-
y(lt(k.currentTarget), "keyup", xp(F,
|
|
36090
|
+
y(lt(k.currentTarget), "keyup", xp(F, V), !0);
|
|
36086
36091
|
}
|
|
36087
36092
|
I && k.stopPropagation(), k.metaKey && Si() && ((z = O.metaKeyEvents) === null || z === void 0 || z.set(k.key, k.nativeEvent));
|
|
36088
36093
|
} else k.key === "Meta" && (O.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
@@ -36100,7 +36105,7 @@ function db(e) {
|
|
|
36100
36105
|
O.ignoreEmulatedMouseEvents = !1, z && k.stopPropagation();
|
|
36101
36106
|
}
|
|
36102
36107
|
}
|
|
36103
|
-
},
|
|
36108
|
+
}, V = (k) => {
|
|
36104
36109
|
var z;
|
|
36105
36110
|
if (O.isPressed && O.target && kh(k, O.target)) {
|
|
36106
36111
|
var I;
|
|
@@ -36115,7 +36120,7 @@ function db(e) {
|
|
|
36115
36120
|
}
|
|
36116
36121
|
};
|
|
36117
36122
|
if (typeof PointerEvent < "u") {
|
|
36118
|
-
|
|
36123
|
+
W.onPointerDown = (I) => {
|
|
36119
36124
|
if (I.button !== 0 || !_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36120
36125
|
if (fte(I.nativeEvent)) {
|
|
36121
36126
|
O.pointerType = "virtual";
|
|
@@ -36129,7 +36134,7 @@ function db(e) {
|
|
|
36129
36134
|
"releasePointerCapture" in F && F.releasePointerCapture(I.pointerId), y(lt(I.currentTarget), "pointerup", k, !1), y(lt(I.currentTarget), "pointercancel", z, !1);
|
|
36130
36135
|
}
|
|
36131
36136
|
L && I.stopPropagation();
|
|
36132
|
-
},
|
|
36137
|
+
}, W.onMouseDown = (I) => {
|
|
36133
36138
|
if (_t(I.currentTarget, nt(I.nativeEvent)) && I.button === 0) {
|
|
36134
36139
|
if (d) {
|
|
36135
36140
|
let L = X1(I.target);
|
|
@@ -36137,11 +36142,11 @@ function db(e) {
|
|
|
36137
36142
|
}
|
|
36138
36143
|
I.stopPropagation();
|
|
36139
36144
|
}
|
|
36140
|
-
},
|
|
36145
|
+
}, W.onPointerUp = (I) => {
|
|
36141
36146
|
!_t(I.currentTarget, nt(I.nativeEvent)) || O.pointerType === "virtual" || I.button === 0 && !O.isPressed && S(I, O.pointerType || I.pointerType);
|
|
36142
|
-
},
|
|
36147
|
+
}, W.onPointerEnter = (I) => {
|
|
36143
36148
|
I.pointerId === O.activePointerId && O.target && !O.isOverTarget && O.pointerType != null && (O.isOverTarget = !0, P(oi(O.target, I), O.pointerType));
|
|
36144
|
-
},
|
|
36149
|
+
}, W.onPointerLeave = (I) => {
|
|
36145
36150
|
I.pointerId === O.activePointerId && O.target && O.isOverTarget && O.pointerType != null && (O.isOverTarget = !1, A(oi(O.target, I), O.pointerType, !1), $(I));
|
|
36146
36151
|
};
|
|
36147
36152
|
let k = (I) => {
|
|
@@ -36157,11 +36162,11 @@ function db(e) {
|
|
|
36157
36162
|
}, z = (I) => {
|
|
36158
36163
|
_(I);
|
|
36159
36164
|
};
|
|
36160
|
-
|
|
36165
|
+
W.onDragStart = (I) => {
|
|
36161
36166
|
_t(I.currentTarget, nt(I.nativeEvent)) && _(I);
|
|
36162
36167
|
};
|
|
36163
36168
|
} else if (process.env.NODE_ENV === "test") {
|
|
36164
|
-
|
|
36169
|
+
W.onMouseDown = (I) => {
|
|
36165
36170
|
if (I.button !== 0 || !_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36166
36171
|
if (O.ignoreEmulatedMouseEvents) {
|
|
36167
36172
|
I.stopPropagation();
|
|
@@ -36172,15 +36177,15 @@ function db(e) {
|
|
|
36172
36177
|
F && O.disposables.push(F);
|
|
36173
36178
|
}
|
|
36174
36179
|
y(lt(I.currentTarget), "mouseup", k, !1);
|
|
36175
|
-
},
|
|
36180
|
+
}, W.onMouseEnter = (I) => {
|
|
36176
36181
|
if (!_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36177
36182
|
let L = !0;
|
|
36178
36183
|
O.isPressed && !O.ignoreEmulatedMouseEvents && O.pointerType != null && (O.isOverTarget = !0, L = P(I, O.pointerType)), L && I.stopPropagation();
|
|
36179
|
-
},
|
|
36184
|
+
}, W.onMouseLeave = (I) => {
|
|
36180
36185
|
if (!_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36181
36186
|
let L = !0;
|
|
36182
36187
|
O.isPressed && !O.ignoreEmulatedMouseEvents && O.pointerType != null && (O.isOverTarget = !1, L = A(I, O.pointerType, !1), $(I)), L && I.stopPropagation();
|
|
36183
|
-
},
|
|
36188
|
+
}, W.onMouseUp = (I) => {
|
|
36184
36189
|
_t(I.currentTarget, nt(I.nativeEvent)) && !O.ignoreEmulatedMouseEvents && I.button === 0 && !O.isPressed && S(I, O.pointerType || "mouse");
|
|
36185
36190
|
};
|
|
36186
36191
|
let k = (I) => {
|
|
@@ -36192,12 +36197,12 @@ function db(e) {
|
|
|
36192
36197
|
O.target && O.target.contains(I.target) && O.pointerType != null || _(I), O.isOverTarget = !1;
|
|
36193
36198
|
}
|
|
36194
36199
|
};
|
|
36195
|
-
|
|
36200
|
+
W.onTouchStart = (I) => {
|
|
36196
36201
|
if (!_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36197
36202
|
let L = Hte(I.nativeEvent);
|
|
36198
36203
|
if (!L) return;
|
|
36199
36204
|
O.activePointerId = L.identifier, O.ignoreEmulatedMouseEvents = !0, O.isOverTarget = !0, O.isPressed = !0, O.target = I.currentTarget, O.pointerType = "touch", p || Z1(O.target), P(So(O.target, I), O.pointerType) && I.stopPropagation(), y(Xr(I.currentTarget), "scroll", z, !0);
|
|
36200
|
-
},
|
|
36205
|
+
}, W.onTouchMove = (I) => {
|
|
36201
36206
|
if (!_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36202
36207
|
if (!O.isPressed) {
|
|
36203
36208
|
I.stopPropagation();
|
|
@@ -36205,7 +36210,7 @@ function db(e) {
|
|
|
36205
36210
|
}
|
|
36206
36211
|
let L = rR(I.nativeEvent, O.activePointerId), F = !0;
|
|
36207
36212
|
L && nR(L, I.currentTarget) ? !O.isOverTarget && O.pointerType != null && (O.isOverTarget = !0, F = P(So(O.target, I), O.pointerType)) : O.isOverTarget && O.pointerType != null && (O.isOverTarget = !1, F = A(So(O.target, I), O.pointerType, !1), $(So(O.target, I))), F && I.stopPropagation();
|
|
36208
|
-
},
|
|
36213
|
+
}, W.onTouchEnd = (I) => {
|
|
36209
36214
|
if (!_t(I.currentTarget, nt(I.nativeEvent))) return;
|
|
36210
36215
|
if (!O.isPressed) {
|
|
36211
36216
|
I.stopPropagation();
|
|
@@ -36213,7 +36218,7 @@ function db(e) {
|
|
|
36213
36218
|
}
|
|
36214
36219
|
let L = rR(I.nativeEvent, O.activePointerId), F = !0;
|
|
36215
36220
|
L && nR(L, I.currentTarget) && O.pointerType != null ? (S(So(O.target, I), O.pointerType), F = A(So(O.target, I), O.pointerType), U(I.nativeEvent, O.target)) : O.isOverTarget && O.pointerType != null && (F = A(So(O.target, I), O.pointerType, !1)), F && I.stopPropagation(), O.isPressed = !1, O.activePointerId = null, O.isOverTarget = !1, O.ignoreEmulatedMouseEvents = !0, O.target && !p && Ih(O.target), R();
|
|
36216
|
-
},
|
|
36221
|
+
}, W.onTouchCancel = (I) => {
|
|
36217
36222
|
_t(I.currentTarget, nt(I.nativeEvent)) && (I.stopPropagation(), O.isPressed && _(So(O.target, I)));
|
|
36218
36223
|
};
|
|
36219
36224
|
let z = (I) => {
|
|
@@ -36225,11 +36230,11 @@ function db(e) {
|
|
|
36225
36230
|
altKey: !1
|
|
36226
36231
|
});
|
|
36227
36232
|
};
|
|
36228
|
-
|
|
36233
|
+
W.onDragStart = (I) => {
|
|
36229
36234
|
_t(I.currentTarget, nt(I.nativeEvent)) && _(I);
|
|
36230
36235
|
};
|
|
36231
36236
|
}
|
|
36232
|
-
return
|
|
36237
|
+
return W;
|
|
36233
36238
|
}, [
|
|
36234
36239
|
y,
|
|
36235
36240
|
l,
|
|
@@ -36248,22 +36253,22 @@ function db(e) {
|
|
|
36248
36253
|
if (!h || process.env.NODE_ENV === "test") return;
|
|
36249
36254
|
const O = lt(h.current);
|
|
36250
36255
|
if (!O || !O.head || O.getElementById(eR)) return;
|
|
36251
|
-
const
|
|
36252
|
-
|
|
36256
|
+
const W = O.createElement("style");
|
|
36257
|
+
W.id = eR, W.textContent = `
|
|
36253
36258
|
@layer {
|
|
36254
36259
|
[${tR}] {
|
|
36255
36260
|
touch-action: pan-x pan-y pinch-zoom;
|
|
36256
36261
|
}
|
|
36257
36262
|
}
|
|
36258
|
-
`.trim(), O.head.prepend(
|
|
36263
|
+
`.trim(), O.head.prepend(W);
|
|
36259
36264
|
}, [
|
|
36260
36265
|
h
|
|
36261
36266
|
]), Be(() => {
|
|
36262
36267
|
let O = E.current;
|
|
36263
36268
|
return () => {
|
|
36264
|
-
var
|
|
36265
|
-
p || Ih((
|
|
36266
|
-
for (let
|
|
36269
|
+
var W;
|
|
36270
|
+
p || Ih((W = O.target) !== null && W !== void 0 ? W : void 0);
|
|
36271
|
+
for (let V of O.disposables) V();
|
|
36267
36272
|
O.disposables = [];
|
|
36268
36273
|
};
|
|
36269
36274
|
}, [
|
|
@@ -37465,13 +37470,13 @@ function Cre(e) {
|
|
|
37465
37470
|
t.setFocused(!0), t.setFocusedKey(ie), ie == null && !p && n.current && Gr(n.current), t.collection.size > 0 && (U.current = !1, Q.current = !0);
|
|
37466
37471
|
}
|
|
37467
37472
|
});
|
|
37468
|
-
let O = Se(t.focusedKey),
|
|
37473
|
+
let O = Se(t.focusedKey), W = Se(null);
|
|
37469
37474
|
Be(() => {
|
|
37470
37475
|
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== O.current || Q.current) && w.current && n.current) {
|
|
37471
37476
|
let L = kf(), F = of(n, t.focusedKey);
|
|
37472
37477
|
if (!(F instanceof HTMLElement))
|
|
37473
37478
|
return;
|
|
37474
|
-
(L === "keyboard" || Q.current) && (
|
|
37479
|
+
(L === "keyboard" || Q.current) && (W.current && cancelAnimationFrame(W.current), W.current = requestAnimationFrame(() => {
|
|
37475
37480
|
w.current && (sA(w.current, F), L !== "virtual" && $o(F, {
|
|
37476
37481
|
containingElement: n.current
|
|
37477
37482
|
}));
|
|
@@ -37479,11 +37484,11 @@ function Cre(e) {
|
|
|
37479
37484
|
}
|
|
37480
37485
|
!p && t.isFocused && t.focusedKey == null && O.current != null && n.current && Gr(n.current), O.current = t.focusedKey, Q.current = !1;
|
|
37481
37486
|
}), Be(() => () => {
|
|
37482
|
-
|
|
37487
|
+
W.current && cancelAnimationFrame(W.current);
|
|
37483
37488
|
}, []), zd(n, "react-aria-focus-scope-restore", (L) => {
|
|
37484
37489
|
L.preventDefault(), t.setFocused(!0);
|
|
37485
37490
|
});
|
|
37486
|
-
let
|
|
37491
|
+
let V = {
|
|
37487
37492
|
onKeyDown: R,
|
|
37488
37493
|
onFocus: A,
|
|
37489
37494
|
onBlur: S,
|
|
@@ -37494,12 +37499,12 @@ function Cre(e) {
|
|
|
37494
37499
|
keyboardDelegate: r,
|
|
37495
37500
|
selectionManager: t
|
|
37496
37501
|
});
|
|
37497
|
-
f || (
|
|
37502
|
+
f || (V = Qt(k, V));
|
|
37498
37503
|
let z;
|
|
37499
37504
|
p || (z = t.focusedKey == null ? 0 : -1);
|
|
37500
37505
|
let I = bre(t.collection);
|
|
37501
37506
|
return {
|
|
37502
|
-
collectionProps: Qt(
|
|
37507
|
+
collectionProps: Qt(V, {
|
|
37503
37508
|
tabIndex: z,
|
|
37504
37509
|
"data-collection": I
|
|
37505
37510
|
})
|
|
@@ -37541,7 +37546,7 @@ function Rre(e) {
|
|
|
37541
37546
|
} : c && (w.onMouseDown = (K) => {
|
|
37542
37547
|
K.preventDefault();
|
|
37543
37548
|
});
|
|
37544
|
-
let b = r.isLink(n) && p === "override", E = d && e.UNSTABLE_itemBehavior === "action", y = r.isLink(n) && p !== "selection" && p !== "none", R = !c && r.canSelectItem(n) && !b && !E, P = (d || y) && !c, A = P && (r.selectionBehavior === "replace" ? !R : !R || r.isEmpty), S = P && R && r.selectionBehavior === "replace", _ = A || S, $ = Se(null), D = _ && R, U = Se(!1), Q = Se(!1), O = r.getItemProps(n),
|
|
37549
|
+
let b = r.isLink(n) && p === "override", E = d && e.UNSTABLE_itemBehavior === "action", y = r.isLink(n) && p !== "selection" && p !== "none", R = !c && r.canSelectItem(n) && !b && !E, P = (d || y) && !c, A = P && (r.selectionBehavior === "replace" ? !R : !R || r.isEmpty), S = P && R && r.selectionBehavior === "replace", _ = A || S, $ = Se(null), D = _ && R, U = Se(!1), Q = Se(!1), O = r.getItemProps(n), W = (K) => {
|
|
37545
37550
|
if (d) {
|
|
37546
37551
|
var ie;
|
|
37547
37552
|
d(), (ie = o.current) === null || ie === void 0 || ie.dispatchEvent(new CustomEvent("react-aria-item-action", {
|
|
@@ -37549,25 +37554,25 @@ function Rre(e) {
|
|
|
37549
37554
|
}));
|
|
37550
37555
|
}
|
|
37551
37556
|
y && o.current && h.open(o.current, K, O.href, O.routerOptions);
|
|
37552
|
-
},
|
|
37557
|
+
}, V = {
|
|
37553
37558
|
ref: o
|
|
37554
37559
|
};
|
|
37555
|
-
if (i ? (
|
|
37560
|
+
if (i ? (V.onPressStart = (K) => {
|
|
37556
37561
|
$.current = K.pointerType, U.current = D, K.pointerType === "keyboard" && (!_ || fR()) && g(K);
|
|
37557
|
-
}, f ? (
|
|
37562
|
+
}, f ? (V.onPressUp = A ? void 0 : (K) => {
|
|
37558
37563
|
K.pointerType === "mouse" && R && g(K);
|
|
37559
|
-
},
|
|
37564
|
+
}, V.onPress = A ? W : (K) => {
|
|
37560
37565
|
K.pointerType !== "keyboard" && K.pointerType !== "mouse" && R && g(K);
|
|
37561
|
-
}) :
|
|
37566
|
+
}) : V.onPress = (K) => {
|
|
37562
37567
|
if (A || S && K.pointerType !== "mouse") {
|
|
37563
37568
|
if (K.pointerType === "keyboard" && !dR()) return;
|
|
37564
|
-
|
|
37569
|
+
W(K);
|
|
37565
37570
|
} else K.pointerType !== "keyboard" && R && g(K);
|
|
37566
|
-
}) : (
|
|
37571
|
+
}) : (V.onPressStart = (K) => {
|
|
37567
37572
|
$.current = K.pointerType, U.current = D, Q.current = A, R && (K.pointerType === "mouse" && !A || K.pointerType === "keyboard" && (!P || fR())) && g(K);
|
|
37568
|
-
},
|
|
37569
|
-
(K.pointerType === "touch" || K.pointerType === "pen" || K.pointerType === "virtual" || K.pointerType === "keyboard" && _ && dR() || K.pointerType === "mouse" && Q.current) && (_ ?
|
|
37570
|
-
}), w["data-collection"] = yre(r.collection), w["data-key"] = n,
|
|
37573
|
+
}, V.onPress = (K) => {
|
|
37574
|
+
(K.pointerType === "touch" || K.pointerType === "pen" || K.pointerType === "virtual" || K.pointerType === "keyboard" && _ && dR() || K.pointerType === "mouse" && Q.current) && (_ ? W(K) : R && g(K));
|
|
37575
|
+
}), w["data-collection"] = yre(r.collection), w["data-key"] = n, V.preventFocusOnPress = s, s && (V = Qt(V, {
|
|
37571
37576
|
onPressStart(K) {
|
|
37572
37577
|
K.pointerType !== "touch" && (r.setFocused(!0), r.setFocusedKey(n));
|
|
37573
37578
|
},
|
|
@@ -37582,9 +37587,9 @@ function Rre(e) {
|
|
|
37582
37587
|
"onPress",
|
|
37583
37588
|
"onPressUp",
|
|
37584
37589
|
"onClick"
|
|
37585
|
-
]) O[K] && (
|
|
37586
|
-
let { pressProps: k, isPressed: z } = db(
|
|
37587
|
-
$.current === "mouse" && (K.stopPropagation(), K.preventDefault(),
|
|
37590
|
+
]) O[K] && (V[K] = xp(V[K], O[K]));
|
|
37591
|
+
let { pressProps: k, isPressed: z } = db(V), I = S ? (K) => {
|
|
37592
|
+
$.current === "mouse" && (K.stopPropagation(), K.preventDefault(), W(K));
|
|
37588
37593
|
} : void 0, { longPressProps: L } = sre({
|
|
37589
37594
|
isDisabled: !D,
|
|
37590
37595
|
onLongPress(K) {
|
|
@@ -39536,7 +39541,7 @@ function sne(e, t, r) {
|
|
|
39536
39541
|
I.currentNode = document.activeElement, (z.shiftKey ? I.previousNode() : I.nextNode()) && z.stopPropagation();
|
|
39537
39542
|
}
|
|
39538
39543
|
}
|
|
39539
|
-
}, O = ate(i.props),
|
|
39544
|
+
}, O = ate(i.props), W = $.hasAction ? O : {}, V = Qt(_, W, {
|
|
39540
39545
|
role: "row",
|
|
39541
39546
|
onKeyDownCapture: D,
|
|
39542
39547
|
onKeyDown: Q,
|
|
@@ -39552,7 +39557,7 @@ function sne(e, t, r) {
|
|
|
39552
39557
|
let { collection: z } = t, I = [
|
|
39553
39558
|
...z
|
|
39554
39559
|
];
|
|
39555
|
-
|
|
39560
|
+
V["aria-rowindex"] = I.find((L) => L.type === "section") ? [
|
|
39556
39561
|
...z.getKeys()
|
|
39557
39562
|
].filter((L) => {
|
|
39558
39563
|
var F;
|
|
@@ -39565,7 +39570,7 @@ function sne(e, t, r) {
|
|
|
39565
39570
|
};
|
|
39566
39571
|
return {
|
|
39567
39572
|
rowProps: {
|
|
39568
|
-
...Qt(
|
|
39573
|
+
...Qt(V, b)
|
|
39569
39574
|
},
|
|
39570
39575
|
gridCellProps: k,
|
|
39571
39576
|
descriptionProps: {
|
|
@@ -40589,16 +40594,16 @@ function $ne({ props: e, collection: t, treeRef: r }) {
|
|
|
40589
40594
|
...e,
|
|
40590
40595
|
isVirtualized: E,
|
|
40591
40596
|
layoutDelegate: y
|
|
40592
|
-
}, _, r), D, U, Q, O = !1,
|
|
40597
|
+
}, _, r), D, U, Q, O = !1, W = null, V = Se(null);
|
|
40593
40598
|
if (s && n) {
|
|
40594
40599
|
D = n.useDraggableCollectionState({
|
|
40595
40600
|
collection: _.collection,
|
|
40596
40601
|
selectionManager: _.selectionManager,
|
|
40597
|
-
preview: n.renderDragPreview ?
|
|
40602
|
+
preview: n.renderDragPreview ? V : void 0
|
|
40598
40603
|
}), n.useDraggableCollection({}, D, r);
|
|
40599
40604
|
let Y = n.DragPreview;
|
|
40600
|
-
|
|
40601
|
-
ref:
|
|
40605
|
+
W = n.renderDragPreview ? /* @__PURE__ */ ne.createElement(Y, {
|
|
40606
|
+
ref: V
|
|
40602
40607
|
}, n.renderDragPreview) : null;
|
|
40603
40608
|
}
|
|
40604
40609
|
let [k] = Fe(() => new Pne());
|
|
@@ -40729,7 +40734,7 @@ function $ne({ props: e, collection: t, treeRef: r }) {
|
|
|
40729
40734
|
persistedKeys: xne(_.selectionManager, n, U),
|
|
40730
40735
|
scrollRef: r,
|
|
40731
40736
|
renderDropIndicator: wne(n, U)
|
|
40732
|
-
}))), ie)),
|
|
40737
|
+
}))), ie)), W);
|
|
40733
40738
|
}
|
|
40734
40739
|
class uM extends La {
|
|
40735
40740
|
}
|
|
@@ -40769,7 +40774,7 @@ const Dne = /* @__PURE__ */ Yre(dM, (e, t, r) => {
|
|
|
40769
40774
|
key: r.key,
|
|
40770
40775
|
hasDragButton: !0
|
|
40771
40776
|
}, s));
|
|
40772
|
-
let D = null, U = Se(null), Q = Se(null), O = Se(null), { visuallyHiddenProps:
|
|
40777
|
+
let D = null, U = Se(null), Q = Se(null), O = Se(null), { visuallyHiddenProps: W } = vb();
|
|
40773
40778
|
l && i && (D = i.useDropIndicator({
|
|
40774
40779
|
target: {
|
|
40775
40780
|
type: "item",
|
|
@@ -40778,7 +40783,7 @@ const Dne = /* @__PURE__ */ Yre(dM, (e, t, r) => {
|
|
|
40778
40783
|
},
|
|
40779
40784
|
activateButtonRef: O
|
|
40780
40785
|
}, l, Q));
|
|
40781
|
-
let
|
|
40786
|
+
let V = s && s.isDragging(r.key), k = D?.isDropTarget, z = o.selectionManager.selectionMode, I = o.selectionManager.selectionBehavior, L = ne.useMemo(() => ({
|
|
40782
40787
|
...h,
|
|
40783
40788
|
isHovered: y,
|
|
40784
40789
|
isFocusVisible: R,
|
|
@@ -40791,7 +40796,7 @@ const Dne = /* @__PURE__ */ Yre(dM, (e, t, r) => {
|
|
|
40791
40796
|
state: o,
|
|
40792
40797
|
id: r.key,
|
|
40793
40798
|
allowsDragging: !!s,
|
|
40794
|
-
isDragging:
|
|
40799
|
+
isDragging: V,
|
|
40795
40800
|
isDropTarget: k
|
|
40796
40801
|
}), [
|
|
40797
40802
|
h,
|
|
@@ -40804,7 +40809,7 @@ const Dne = /* @__PURE__ */ Yre(dM, (e, t, r) => {
|
|
|
40804
40809
|
o,
|
|
40805
40810
|
r.key,
|
|
40806
40811
|
s,
|
|
40807
|
-
|
|
40812
|
+
V,
|
|
40808
40813
|
k,
|
|
40809
40814
|
I,
|
|
40810
40815
|
z
|
|
@@ -40861,14 +40866,14 @@ const Dne = /* @__PURE__ */ Yre(dM, (e, t, r) => {
|
|
|
40861
40866
|
}
|
|
40862
40867
|
}, /* @__PURE__ */ ne.createElement("div", {
|
|
40863
40868
|
role: "button",
|
|
40864
|
-
...
|
|
40869
|
+
...W,
|
|
40865
40870
|
...D.dropIndicatorProps,
|
|
40866
40871
|
ref: Q
|
|
40867
40872
|
}), c["aria-expanded"] != null ? (
|
|
40868
40873
|
// Button to allow touch screen reader users to expand the item while dragging.
|
|
40869
40874
|
/* @__PURE__ */ ne.createElement("div", {
|
|
40870
40875
|
role: "button",
|
|
40871
|
-
...
|
|
40876
|
+
...W,
|
|
40872
40877
|
id: ie,
|
|
40873
40878
|
"aria-label": f["aria-label"],
|
|
40874
40879
|
"aria-labelledby": `${ie} ${c.id}`,
|
|
@@ -40891,7 +40896,7 @@ const Dne = /* @__PURE__ */ Yre(dM, (e, t, r) => {
|
|
|
40891
40896
|
"data-pressed": h.isPressed || void 0,
|
|
40892
40897
|
"data-selection-mode": o.selectionManager.selectionMode === "none" ? void 0 : o.selectionManager.selectionMode,
|
|
40893
40898
|
"data-allows-dragging": !!s || void 0,
|
|
40894
|
-
"data-dragging":
|
|
40899
|
+
"data-dragging": V || void 0,
|
|
40895
40900
|
"data-drop-target": k || void 0
|
|
40896
40901
|
}, /* @__PURE__ */ ne.createElement("div", {
|
|
40897
40902
|
...d,
|
|
@@ -41286,7 +41291,7 @@ var Qn = Vne(), Wne = (e) => {
|
|
|
41286
41291
|
G && (te && I.push(te), K && I.push(K));
|
|
41287
41292
|
}
|
|
41288
41293
|
return I;
|
|
41289
|
-
},
|
|
41294
|
+
}, W = (k) => {
|
|
41290
41295
|
const z = O(R, k);
|
|
41291
41296
|
if (!Array.isArray(z)) return z;
|
|
41292
41297
|
const I = {}, L = e;
|
|
@@ -41299,7 +41304,7 @@ var Qn = Vne(), Wne = (e) => {
|
|
|
41299
41304
|
I[K] = L(I[K], te[K])(p);
|
|
41300
41305
|
}
|
|
41301
41306
|
return I;
|
|
41302
|
-
},
|
|
41307
|
+
}, V = (k) => {
|
|
41303
41308
|
if (d.length < 1) return null;
|
|
41304
41309
|
const z = {}, I = Q(null, k);
|
|
41305
41310
|
for (let L = 0; L < d.length; L++) {
|
|
@@ -41333,7 +41338,7 @@ var Qn = Vne(), Wne = (e) => {
|
|
|
41333
41338
|
const z = e;
|
|
41334
41339
|
for (const I in y)
|
|
41335
41340
|
k[I] = (L) => {
|
|
41336
|
-
const F =
|
|
41341
|
+
const F = W(L), te = V(L);
|
|
41337
41342
|
return z(
|
|
41338
41343
|
y[I],
|
|
41339
41344
|
D(I, L),
|